[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dired: Make directory-listing-before-filename-regexp Customizable

From: Herbert Euler
Subject: Dired: Make directory-listing-before-filename-regexp Customizable
Date: Thu, 23 Mar 2006 11:33:12 +0800


These days I solved a dired problem raised by filename matching
in dired.  The problem happens in Emacs 21.4, and it's because
dired-move-to-filename-regexp doesn't match the real format, so
dired-move-to-filename doesn't get the matching, and the user
finally is told 'No file on this line'.

Although dired in Emacs Unicode 2 CVS becomes better in prompting
the user to check 'directory-listing-before-filename-regexp', I do
think make 'directory-listing-before-filename-regexp' and some
similar variables customizable through Customize would improve
dired's user interface.

Now that the predefined variable can't be correct everywhere,
and it's becoming more complex (I take several minutes to understand
where a sub-regexp stops), why not giving a default one and let
user decide it when this default one fails?  The user defined value
may be clearer.  For user doesn't (e)lisp, Customize could be a
good interface.

Guanpeng Xu

Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]