unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Dired-omit-mode: print dirname of omitted files
@ 2023-07-18  4:30 Vladimir Nikishkin
  2023-07-18  8:03 ` Robert Pluim
  2023-07-18 16:38 ` [External] : " Drew Adams
  0 siblings, 2 replies; 3+ messages in thread
From: Vladimir Nikishkin @ 2023-07-18  4:30 UTC (permalink / raw)
  To: help-gnu-emacs

Hello, everyone

I have many dired buffes open, and I use dired-omit-mode with the
dired-omit-verbose variable set to true.

In the *Messages* buffer I am seeing "omitted X lines", which is nice: I
don't see useless file in dired, but I do know that they exist. However.
This works nicely when there is _one_ dired buffer. Where there are
many, and especially when they are auto-reverted, the *Messages* buffer
is full of "X lines omitted" messages, and I don't know which buffers
they are coming from.

I would suggest to modify the message like:
(buffer-name): Omitted X lines.

Should be a fairly simple change, could someone familiar with dired's
source make it?

Thanks everyone!

-- 
Your sincerely,
Vladimir Nikishkin (MiEr, lockywolf)
(Laptop)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Dired-omit-mode: print dirname of omitted files
  2023-07-18  4:30 Dired-omit-mode: print dirname of omitted files Vladimir Nikishkin
@ 2023-07-18  8:03 ` Robert Pluim
  2023-07-18 16:38 ` [External] : " Drew Adams
  1 sibling, 0 replies; 3+ messages in thread
From: Robert Pluim @ 2023-07-18  8:03 UTC (permalink / raw)
  To: Vladimir Nikishkin; +Cc: help-gnu-emacs

>>>>> On Tue, 18 Jul 2023 12:30:53 +0800, Vladimir Nikishkin <lockywolf@gmail.com> said:

    Vladimir> Hello, everyone
    Vladimir> I have many dired buffes open, and I use dired-omit-mode with the
    Vladimir> dired-omit-verbose variable set to true.

    Vladimir> In the *Messages* buffer I am seeing "omitted X lines", which is nice: I
    Vladimir> don't see useless file in dired, but I do know that they exist. However.
    Vladimir> This works nicely when there is _one_ dired buffer. Where there are
    Vladimir> many, and especially when they are auto-reverted, the *Messages* buffer
    Vladimir> is full of "X lines omitted" messages, and I don't know which buffers
    Vladimir> they are coming from.

    Vladimir> I would suggest to modify the message like:
    Vladimir> (buffer-name): Omitted X lines.

    Vladimir> Should be a fairly simple change, could someone familiar with dired's
    Vladimir> source make it?

You can use 'M-x report-emacs-bug' to request enhancements, not just
bug fixes.

Robert
-- 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [External] : Dired-omit-mode: print dirname of omitted files
  2023-07-18  4:30 Dired-omit-mode: print dirname of omitted files Vladimir Nikishkin
  2023-07-18  8:03 ` Robert Pluim
@ 2023-07-18 16:38 ` Drew Adams
  1 sibling, 0 replies; 3+ messages in thread
From: Drew Adams @ 2023-07-18 16:38 UTC (permalink / raw)
  To: Vladimir Nikishkin, help-gnu-emacs@gnu.org

> I have many dired buffes open, and I use dired-omit-mode with the
> dired-omit-verbose variable set to true.
> 
> In the *Messages* buffer I am seeing "omitted X lines", which is nice: I
> don't see useless file in dired, but I do know that they exist. However.
> This works nicely when there is _one_ dired buffer. Where there are
> many, and especially when they are auto-reverted, the *Messages* buffer
> is full of "X lines omitted" messages, and I don't know which buffers
> they are coming from.
> 
> I would suggest to modify the message like:
> (buffer-name): Omitted X lines.
> 
> Should be a fairly simple change, could someone familiar with dired's
> source make it?

Good idea.  I've done this now in Dired+

https://www.emacswiki.org/emacs/DiredPlus



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-18 16:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-18  4:30 Dired-omit-mode: print dirname of omitted files Vladimir Nikishkin
2023-07-18  8:03 ` Robert Pluim
2023-07-18 16:38 ` [External] : " Drew Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).