[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired listg & dired-sort-menu.el
From: |
Harry Putnam |
Subject: |
Re: dired listg & dired-sort-menu.el |
Date: |
Fri, 28 Jun 2013 22:09:08 -0400 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.0.92 (gnu/linux) |
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.