/[emacs]/emacs/man/dired-x.texi
ViewVC logotype

Diff of /emacs/man/dired-x.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10.8.3 by miles, Thu Apr 29 10:59:11 2004 UTC revision 1.10.8.4 by miles, Tue Jul 6 09:44:45 2004 UTC
# Line 270  initialization file @file{default.el} in Line 270  initialization file @file{default.el} in
270  (add-hook 'dired-mode-hook  (add-hook 'dired-mode-hook
271            (lambda ()            (lambda ()
272              ;; Set dired-x buffer-local variables here.  For example:              ;; Set dired-x buffer-local variables here.  For example:
273              ;; (setq dired-omit-files-p t)              ;; (dired-omit-mode 1)
274              ))              ))
275  @end example  @end example
276    
# Line 394  Marked files are never omitted. Line 394  Marked files are never omitted.
394  @table @kbd  @table @kbd
395  @item M-o  @item M-o
396  @kindex M-o  @kindex M-o
397  @findex dired-omit-toggle  @findex dired-omit-mode
398  (@code{dired-omit-toggle}) Toggle between displaying and omitting  (@code{dired-omit-mode}) Toggle between displaying and omitting
399  ``uninteresting'' files.  With a prefix argument, just mark  ``uninteresting'' files.
400  the files, but don't actually omit them.  @item M-O
401    @kindex M-O
402    @findex dired-mark-omitted
403    (@code{dired-mark-omitted}) Mark ``uninteresting'' files.
404  @end table  @end table
405    
406  @noindent  @noindent
407  In order to make Dired Omit work you first need to load @file{dired-x.el}  In order to make Dired Omit work you first need to load @file{dired-x.el}
408  inside @code{dired-load-hook} (@pxref{Installation}) and then set  inside @code{dired-load-hook} (@pxref{Installation}) and then evaluate
409  @code{dired-omit-files-p} in some way (@pxref{Omitting Variables}).  @code{(dired-omit-mode 1)} in some way (@pxref{Omitting Variables}).
410    
411  @ifinfo  @ifinfo
412  @menu  @menu
# Line 423  The following variables can be used to c Line 426  The following variables can be used to c
426    
427  @table @code  @table @code
428    
429  @vindex dired-omit-files-p  @vindex dired-omit-mode
430  @item dired-omit-files-p  @item dired-omit-mode
431    
432  Default: @code{nil}  Default: @code{nil}
433    
# Line 432  Default: @code{nil} Line 435  Default: @code{nil}
435  If non-@code{nil}, ``uninteresting'' files are not listed.  If non-@code{nil}, ``uninteresting'' files are not listed.
436  Uninteresting files are those whose files whose names match regexp  Uninteresting files are those whose files whose names match regexp
437  @code{dired-omit-files}, plus those ending with extensions in  @code{dired-omit-files}, plus those ending with extensions in
438  @code{dired-omit-extensions}.  @kbd{M-o} (@code{dired-omit-toggle})  @code{dired-omit-extensions}.  @kbd{M-o} (@code{dired-omit-mode})
439  toggles its value, which is buffer-local.  Put  toggles its value, which is buffer-local.  Put
440    
441  @example  @example
442  (setq dired-omit-files-p t)  (dired-omit-mode 1)
443  @end example  @end example
444    
445  @noindent  @noindent
# Line 449  Local Variables and put Line 452  Local Variables and put
452    
453  @example  @example
454  Local Variables:  Local Variables:
455  dired-omit-files-p: t  dired-omit-mode: t
456  End:  End:
457  @end example  @end example
458    
# Line 473  the directory listing (@pxref{Local Vari Line 476  the directory listing (@pxref{Local Vari
476  Default: @code{"^#\\|\\.$"}  Default: @code{"^#\\|\\.$"}
477    
478  Files whose names match this buffer-local regexp will not be displayed.  Files whose names match this buffer-local regexp will not be displayed.
479  This only has effect when @code{dired-omit-files-p}'s value is @code{t}.  This only has effect when @code{dired-omit-mode}'s value is @code{t}.
480    
481  The default value omits the special directories @file{.} and @file{..}  and  The default value omits the special directories @file{.} and @file{..}  and
482  autosave files (plus other files ending in @file{.}) (@pxref{Omitting Examples}).  autosave files (plus other files ending in @file{.}) (@pxref{Omitting Examples}).
# Line 604  For example, if the user puts Line 607  For example, if the user puts
607  @example  @example
608  Local Variables:  Local Variables:
609  dired-actual-switches: "-lat"  dired-actual-switches: "-lat"
610  dired-omit-files-p: t  dired-omit-mode: t
611  End:  End:
612  @end example  @end example
613    

Legend:
Removed from v.1.10.8.3  
changed lines
  Added in v.1.10.8.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26