all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: dired listg & dired-sort-menu.el
Date: Fri, 28 Jun 2013 22:09:08 -0400	[thread overview]
Message-ID: <87d2r5k6rf.fsf@newsguy.com> (raw)
In-Reply-To: 55519210-5f13-43b5-b6ff-396fd1f4769c@default

Drew Adams <drew.adams@oracle.com> 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.




      parent reply	other threads:[~2013-06-29  2:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-17 13:24 dired listg & dired-sort-menu.el Harry Putnam
2013-06-17 14:25 ` Drew Adams
2013-06-21 19:33   ` Harry Putnam
2013-06-21 21:08     ` Drew Adams
2013-06-29  1:51       ` Harry Putnam
2013-06-29  3:02         ` Drew Adams
2013-06-29 16:16           ` Harry Putnam
2013-06-29  2:09       ` Harry Putnam [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

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

  git send-email \
    --in-reply-to=87d2r5k6rf.fsf@newsguy.com \
    --to=reader@newsguy.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.