* dired-details-hide
@ 2013-07-11 16:44 daniel
2013-07-11 16:51 ` dired-details-hide Jambunathan K
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: daniel @ 2013-07-11 16:44 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
hi
there is a nice function dired-details-hide that hides the detail columns
from a Dired buffer.
Anyone found a way to call it automatically whenever I create a new Dired
buffer?
hint: cannot do that just with a major-mode-hook or something that is
called when the buffer is created, because in the case of Find-dired, the
buffer content is added asynchronously.
Is the solution in dired-details+.el?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: dired-details-hide
2013-07-11 16:44 dired-details-hide daniel
@ 2013-07-11 16:51 ` Jambunathan K
2013-07-11 16:57 ` dired-details-hide daniel
2013-07-11 21:23 ` dired-details-hide Drew Adams
[not found] ` <mailman.877.1373577834.12400.help-gnu-emacs@gnu.org>
2 siblings, 1 reply; 9+ messages in thread
From: Jambunathan K @ 2013-07-11 16:51 UTC (permalink / raw)
To: daniel; +Cc: help-gnu-emacs@gnu.org
daniel <idnael@gmail.com> writes:
> hi
> there is a nice function dired-details-hide that hides the detail columns
> from a Dired buffer.
>
> Anyone found a way to call it automatically whenever I create a new Dired
> buffer?
>
> hint: cannot do that just with a major-mode-hook or something that is
> called when the buffer is created, because in the case of Find-dired, the
> buffer content is added asynchronously.
>
> Is the solution in dired-details+.el?
I don't use dired-details+.el. I rely on what comes with Emacs itself.
Add this hook
(add-hook 'dired-mode-hook 'dired-hide-details-mode)
When details are hidden, the dired buffer no longer looks like a dired
buffer. So I give it a special face, as below.
(custom-set-variables
'(buffer-face-mode-face (quote (:background "light gray"))))
(add-hook 'dired-mode-hook 'buffer-face-mode)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: dired-details-hide
2013-07-11 16:51 ` dired-details-hide Jambunathan K
@ 2013-07-11 16:57 ` daniel
2013-07-11 17:18 ` dired-details-hide Jambunathan K
0 siblings, 1 reply; 9+ messages in thread
From: daniel @ 2013-07-11 16:57 UTC (permalink / raw)
To: Jambunathan K; +Cc: help-gnu-emacs@gnu.org
2013/7/11 Jambunathan K <kjambunathan@gmail.com>
>
>
>
>
>
> daniel <idnael@gmail.com> writes:
>
> > hi
> > there is a nice function dired-details-hide that hides the detail columns
> > from a Dired buffer.
> >
> > Anyone found a way to call it automatically whenever I create a new Dired
> > buffer?
> >
>
> Add this hook
>
> (add-hook 'dired-mode-hook 'dired-hide-details-mode)
>
>
And don't have the function dired-hide-detailt-mode. I have Emacs 24.2.1
...
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: dired-details-hide
2013-07-11 16:57 ` dired-details-hide daniel
@ 2013-07-11 17:18 ` Jambunathan K
2013-07-11 17:30 ` dired-details-hide daniel
0 siblings, 1 reply; 9+ messages in thread
From: Jambunathan K @ 2013-07-11 17:18 UTC (permalink / raw)
To: daniel; +Cc: help-gnu-emacs@gnu.org
daniel <idnael@gmail.com> writes:
> Add this hook
>
> (add-hook 'dired-mode-hook 'dired-hide-details-mode)
This is a Emacs-24.4 thing.
> And don't have the function dired-hide-detailt-mode. I have Emacs
> 24.2.1 ...
(add-hook 'dired-mode-hook 'dired-details-hide)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: dired-details-hide
2013-07-11 17:18 ` dired-details-hide Jambunathan K
@ 2013-07-11 17:30 ` daniel
0 siblings, 0 replies; 9+ messages in thread
From: daniel @ 2013-07-11 17:30 UTC (permalink / raw)
To: Jambunathan K; +Cc: help-gnu-emacs@gnu.org
2013/7/11 Jambunathan K <kjambunathan@gmail.com>
>
> This is a Emacs-24.4 thing.
>
>
Nice to know that Emacs is always improving!
thanks for the information Jambunathan!
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: dired-details-hide
2013-07-11 16:44 dired-details-hide daniel
2013-07-11 16:51 ` dired-details-hide Jambunathan K
@ 2013-07-11 21:23 ` Drew Adams
[not found] ` <mailman.877.1373577834.12400.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 9+ messages in thread
From: Drew Adams @ 2013-07-11 21:23 UTC (permalink / raw)
To: daniel, help-gnu-emacs
> there is a nice function dired-details-hide that hides the detail columns
> from a Dired buffer.
>
> Anyone found a way to call it automatically whenever I create a new Dired
> buffer?
>
> hint: cannot do that just with a major-mode-hook or something that is
> called when the buffer is created, because in the case of Find-dired, the
> buffer content is added asynchronously.
>
> Is the solution in dired-details+.el?
Yes. That is exactly what I do: start Emacs with Dired details hidden.
By default, the last state (details hidden or not) is remembered and used subsequently.
Just load dired-details+.el; it loads dired-details.el.
Works in any Emacs version.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: dired-details-hide
[not found] ` <mailman.877.1373577834.12400.help-gnu-emacs@gnu.org>
@ 2013-07-12 9:18 ` Emanuel Berg
2013-07-12 10:26 ` dired-details-hide Jambunathan K
2013-07-12 15:54 ` dired-details-hide Drew Adams
0 siblings, 2 replies; 9+ messages in thread
From: Emanuel Berg @ 2013-07-12 9:18 UTC (permalink / raw)
To: help-gnu-emacs
Drew Adams <drew.adams@oracle.com> writes:
> Just load dired-details+.el; it loads dired-details.el. Works
> in any Emacs version.
I can't load either of those on 23.4.1. Do I have to get them
somewhere first? There is no hit in the Debian "Sid" repositories
what I can see.
--
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: dired-details-hide
2013-07-12 9:18 ` dired-details-hide Emanuel Berg
@ 2013-07-12 10:26 ` Jambunathan K
2013-07-12 15:54 ` dired-details-hide Drew Adams
1 sibling, 0 replies; 9+ messages in thread
From: Jambunathan K @ 2013-07-12 10:26 UTC (permalink / raw)
To: Emanuel Berg; +Cc: help-gnu-emacs
Emanuel Berg <embe8573@student.uu.se> writes:
> Drew Adams <drew.adams@oracle.com> writes:
>
>> Just load dired-details+.el; it loads dired-details.el. Works
>> in any Emacs version.
>
> I can't load either of those on 23.4.1. Do I have to get them
> somewhere first? There is no hit in the Debian "Sid" repositories
> what I can see.
Search for it in emacswiki.org
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: dired-details-hide
2013-07-12 9:18 ` dired-details-hide Emanuel Berg
2013-07-12 10:26 ` dired-details-hide Jambunathan K
@ 2013-07-12 15:54 ` Drew Adams
1 sibling, 0 replies; 9+ messages in thread
From: Drew Adams @ 2013-07-12 15:54 UTC (permalink / raw)
To: Emanuel Berg, help-gnu-emacs
> > Just load dired-details+.el; it loads dired-details.el. Works
> > in any Emacs version.
>
> I can't load either of those on 23.4.1. Do I have to get them
> somewhere first? There is no hit in the Debian "Sid" repositories
> what I can see.
Code:
http://www.emacswiki.org/emacs-en/download/dired-details%2b.el
http://www.emacswiki.org/emacs/download/dired-details.el
Information:
http://www.emacswiki.org/emacs/DiredDetails
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-07-12 15:54 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-11 16:44 dired-details-hide daniel
2013-07-11 16:51 ` dired-details-hide Jambunathan K
2013-07-11 16:57 ` dired-details-hide daniel
2013-07-11 17:18 ` dired-details-hide Jambunathan K
2013-07-11 17:30 ` dired-details-hide daniel
2013-07-11 21:23 ` dired-details-hide Drew Adams
[not found] ` <mailman.877.1373577834.12400.help-gnu-emacs@gnu.org>
2013-07-12 9:18 ` dired-details-hide Emanuel Berg
2013-07-12 10:26 ` dired-details-hide Jambunathan K
2013-07-12 15:54 ` dired-details-hide Drew Adams
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.