comparison lisp/dired-x.el @ 22177:306578297d44

(dired-guess-shell-alist-default): Handle .tgz files. Handle .pdf files.
author Richard M. Stallman <rms@gnu.org>
date Thu, 21 May 1998 20:41:38 +0000
parents eefd01920e56
children 3c7216baafaf
comparison
equal deleted inserted replaced
22176:050c1872b04b 22177:306578297d44
944 ;; Optional conversion to gzip format. 944 ;; Optional conversion to gzip format.
945 '(concat "znew" (if dired-guess-shell-gzip-quiet " -q") 945 '(concat "znew" (if dired-guess-shell-gzip-quiet " -q")
946 " " dired-guess-shell-znew-switches)) 946 " " dired-guess-shell-znew-switches))
947 947
948 ;; gzip'ed archives 948 ;; gzip'ed archives
949 (list "\\.tar\\.g?z$" 949 (list "\\.t\\(ar\\.\\)g?z$"
950 '(if dired-guess-shell-gnutar 950 '(if dired-guess-shell-gnutar
951 (concat dired-guess-shell-gnutar " zxvf") 951 (concat dired-guess-shell-gnutar " zxvf")
952 (concat "gunzip -qc * | tar xvf -")) 952 (concat "gunzip -qc * | tar xvf -"))
953 ;; Optional decompression. 953 ;; Optional decompression.
954 '(concat "gunzip" (if dired-guess-shell-gzip-quiet " -q" ""))) 954 '(concat "gunzip" (if dired-guess-shell-gzip-quiet " -q" "")))
985 '("\\.jpg$" "xv") 985 '("\\.jpg$" "xv")
986 '("\\.fig$" "xfig") ; edit fig pictures 986 '("\\.fig$" "xfig") ; edit fig pictures
987 '("\\.out$" "xgraph") ; for plotting purposes. 987 '("\\.out$" "xgraph") ; for plotting purposes.
988 '("\\.tex$" "latex" "tex") 988 '("\\.tex$" "latex" "tex")
989 '("\\.texi\\(nfo\\)?$" "makeinfo" "texi2dvi") 989 '("\\.texi\\(nfo\\)?$" "makeinfo" "texi2dvi")
990 '("\\.pdf$" "acroread") ; edit PDF files
990 991
991 ;; Some other popular archivers. 992 ;; Some other popular archivers.
992 '("\\.zoo$" "zoo x//") 993 '("\\.zoo$" "zoo x//")
993 '("\\.zip$" "unzip") 994 '("\\.zip$" "unzip")
994 '("\\.lzh$" "lharc x") 995 '("\\.lzh$" "lharc x")