unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Format of directories list in dired
Date: Mon, 6 Feb 2006 15:37:27 -0800	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICCEEODCAA.drew.adams@oracle.com> (raw)
In-Reply-To: <2790470.post@talk.nabble.com>

  Please send your dired-x.el in  sed.nivo [a_t_]  gmail [dot] com
  In my Emacs 'C-h k M-o' displayes
  M-o runs the command dired-omit-toggle
     which is an interactive compiled Lisp function in `dired-x'.
  (dired-omit-toggle &optional FLAG)
  .....

  I try '(dired-omit-mode 1)' , but
  Symbol's function definition is void: dired-omit-mode
  And '(dired-omit-toggle 1)' don't make any effect.

Sorry about that. In Emacs 22 it's `dired-omit-mode', and it works as I
described.

In your version of Emacs, see the Commentary of file dired-x.el, which says
this:

;; INSTALLATION: In your ~/.emacs,
;;
;; (add-hook 'dired-load-hook
;;           (function (lambda ()
;;                       (load "dired-x")
;;                       ;; Set global variables here.  For example:
;;                       ;; (setq dired-guess-shell-gnutar "gtar")
;;                       )))
;; (add-hook 'dired-mode-hook
;;           (function (lambda ()
;;                       ;; Set buffer-local variables here.  For example:
;;                       ;; (setq dired-omit-files-p t)
;;                       )))
;;
;; At load time dired-x.el will install itself, redefine some functions, and
;; bind some dired keys.  *Please* see the info pages for more details.

The question you are asking is answered by the second `add-hook': set
`dired-omit-files-p' to t.

      reply	other threads:[~2006-02-06 23:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-05 21:51 Format of directories list in dired sednivo (sent by Nabble.com)
2006-02-05 22:23 ` Drew Adams
2006-02-05 23:29   ` sednivo (sent by Nabble.com)
2006-02-05 23:39   ` sednivo (sent by Nabble.com)
2006-02-06  0:00     ` Drew Adams
2006-02-06  8:36       ` sednivo (sent by Nabble.com)
2006-02-06  8:46         ` sednivo (sent by Nabble.com)
2006-02-06  8:51         ` Henrik Enberg
2006-02-06  8:52       ` sednivo (sent by Nabble.com)
2006-02-06 19:38         ` Drew Adams
2006-02-06 21:40           ` sednivo (sent by Nabble.com)
2006-02-06 23:37             ` Drew Adams [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DNEMKBNJBGPAOPIJOOICCEEODCAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).