From 70ee5ed100ed2c7f3247330ee73bdc5677607911 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 23 Aug 2008 03:16:58 +0000 Subject: [PATCH] (dired-guess-shell-alist-default): Add .mp3 and .ogg. (dired-guess-shell-alist-user): Doc fix. (Bug#417). --- lisp/ChangeLog | 5 +++++ lisp/dired-x.el | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 117f9519909..99b2afb2a2c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-08-23 Glenn Morris + + * dired-x.el (dired-guess-shell-alist-default): Add .mp3 and .ogg. + (dired-guess-shell-alist-user): Doc fix. (Bug#417). + 2008-08-23 Chong Yidong * subr.el (temp-buffer-show-hook): Doc fix. diff --git a/lisp/dired-x.el b/lisp/dired-x.el index a23b90118b7..5495d649132 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el @@ -1,7 +1,7 @@ ;;; dired-x.el --- extra Dired functionality -*-byte-compile-dynamic: t;-*- -;; Copyright (C) 1993, 1994, 1997, 2001, 2002, 2003, 2004, -;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +;; Copyright (C) 1993, 1994, 1997, 2001, 2002, 2003, 2004, 2005, 2006, +;; 2007, 2008 Free Software Foundation, Inc. ;; Author: Sebastian Kremer ;; Lawrence R. Dodd @@ -1062,6 +1062,8 @@ dired." '("\\.dvi$" "xdvi" "dvips") ; preview and printing '("\\.au$" "play") ; play Sun audiofiles '("\\.mpe?g$\\|\\.avi$" "xine -p") + '("\\.ogg$" "ogg123") + '("\\.mp3$" "mpg123") '("\\.wav$" "play") '("\\.uu$" "uudecode") ; for uudecoded files '("\\.hqx$" "mcvert") @@ -1121,6 +1123,9 @@ to a string. If several COMMANDs are given, the first one will be the default and the rest will be added temporarily to the history and can be retrieved with \\[previous-history-element] (M-p) . +The variable `dired-guess-shell-case-fold-search' controls whether +REGEXP is matched case-sensitively. + You can set this variable in your ~/.emacs. For example, to add rules for `.foo' and `.bar' files, write -- 2.39.5