From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Format of directories list in dired Date: Mon, 6 Feb 2006 15:37:27 -0800 Message-ID: References: <2790470.post@talk.nabble.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1139269075 19866 80.91.229.2 (6 Feb 2006 23:37:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2006 23:37:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 07 00:37:53 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F6FvV-00078q-GT for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Feb 2006 00:37:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F6Fyq-0002XQ-4F for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Feb 2006 18:41:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F6Fyh-0002XL-AI for help-gnu-emacs@gnu.org; Mon, 06 Feb 2006 18:41:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F6Fyf-0002X9-N8 for Help-gnu-emacs@gnu.org; Mon, 06 Feb 2006 18:41:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F6Fyf-0002X6-Iy for Help-gnu-emacs@gnu.org; Mon, 06 Feb 2006 18:41:01 -0500 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1F6FyI-0002n9-7I for Help-gnu-emacs@gnu.org; Mon, 06 Feb 2006 18:40:38 -0500 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.186.50]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id k16NbTSH000434 for ; Mon, 6 Feb 2006 16:37:30 -0700 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k16NbTJN029755 for ; Mon, 6 Feb 2006 16:37:29 -0700 Original-Received: from dradamslap (dradams-lap.us.oracle.com [130.35.177.126]) by rgmsgw301.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k16NbTP2029747 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Mon, 6 Feb 2006 16:37:29 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <2790470.post@talk.nabble.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33047 Archived-At: 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.