From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: dired listg & dired-sort-menu.el Date: Fri, 28 Jun 2013 22:09:08 -0400 Organization: Still searching... Message-ID: <87d2r5k6rf.fsf@newsguy.com> References: <8761xc50qi.fsf@newsguy.com> <403b022b-f534-491a-a40c-cec5bfbdcf8e@default> <87bo6zqmwf.fsf@newsguy.com> <55519210-5f13-43b5-b6ff-396fd1f4769c@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372471869 19620 80.91.229.3 (29 Jun 2013 02:11:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Jun 2013 02:11:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 29 04:11:09 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uskd3-0006n0-JJ for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Jun 2013 04:11:09 +0200 Original-Received: from localhost ([::1]:39290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uskd3-000455-5G for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Jun 2013 22:11:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uskcs-00044o-Ku for help-gnu-emacs@gnu.org; Fri, 28 Jun 2013 22:10:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uskcp-0003E4-Uq for help-gnu-emacs@gnu.org; Fri, 28 Jun 2013 22:10:58 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:34251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uskcp-0003Dw-OS for help-gnu-emacs@gnu.org; Fri, 28 Jun 2013 22:10:55 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uskco-0006Va-0h for help-gnu-emacs@gnu.org; Sat, 29 Jun 2013 04:10:54 +0200 Original-Received: from z65-50-57-227.ips.direcpath.com ([65.50.57.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Jun 2013 04:10:54 +0200 Original-Received: from reader by z65-50-57-227.ips.direcpath.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Jun 2013 04:10:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: z65-50-57-227.ips.direcpath.com User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:AePUbmYrB66nc8j/NC3mPYe4ITM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91837 Archived-At: Drew Adams writes: Sorry to keep pounding away on this Harry wrote: >> I had already googled up code to hide dot files > Drew responded: > Yes, Dired Omit is good for that. But `dired-omit-mode' is the > supported name now, instead of `dired-omit-files-p'. It is probably > better to use this to turn it on, instead of just setting the mode > variable: > > (dired-omit-mode 1) > I find a bit of peculiarity on this too. If I have (dired-omit-mode 1) (setq dired-omit-files (concat dired-omit-files "\\|^\\..+$")) Dired opens with the dot files still visible (Yes they can be toggled to hidden) But if I have: (setq-default dired-omit-files-p t) (setq dired-omit-files (concat dired-omit-files "\\|^\\..+$")) Then Dired opens with dot files hidden (Which is what I wanted). And of they can be toggled showing.