all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: patch for Dired second header line info
Date: Sun, 02 Mar 2008 19:57:38 +0200	[thread overview]
Message-ID: <87zlth7zwh.fsf@jurta.org> (raw)
In-Reply-To: <002901c87c8d$c299c730$0600a8c0@us.oracle.com> (Drew Adams's message of "Sun, 2 Mar 2008 09:49:26 -0800")

>> > Sorry, it didn't appear to me that the number of listed
>> > files would be useful too.  But we can display both numbers on
>> > the same line using the traditional notation "listed/total"...
>>
>> Good idea. Go for it. And perhaps that will obviate the need
>> for `files listed' instead of `files'.
>
> Attached: patch for this. The text is now:
>
>   files 420/694 space used 19646 available 56456000

The string `total' is the standard string printed by `ls' so maybe we
should keep it.  Also what do you think about further compacting
this line as:

total files 420/694 space 19646/56456000

or using the same function in `size-indication-mode' that displays the
size in the mode line in human-readable format:

total files 420/694 space 19KB/56MB

Also we could add a tooltip explaining what these numbers mean if they
are not obvious.

> Meaning: 420 files shown now, out of 694 total in the directory. Subdirs are
> treated the same way.

In your patch maybe better to move dired functionality to dired.el or
dired-aux.el and rename `count-dired-files' to `dired-count-files'.

-- 
Juri Linkov
http://www.jurta.org/emacs/




  reply	other threads:[~2008-03-02 17:57 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-01  1:03 patch for Dired second header line info Drew Adams
2008-03-01 13:31 ` Richard Stallman
2008-03-01 16:31   ` Drew Adams
2008-03-01 23:09     ` Richard Stallman
2008-03-02  2:55 ` Juri Linkov
2008-03-02  8:05   ` Drew Adams
2008-03-02 14:36     ` Juri Linkov
2008-03-02 16:27       ` Drew Adams
2008-03-02 17:49         ` Drew Adams
2008-03-02 17:57           ` Juri Linkov [this message]
2008-03-02 18:56             ` Drew Adams
2008-03-02 19:06               ` Drew Adams
2008-03-03  0:47                 ` Drew Adams
2008-03-03 18:27             ` Richard Stallman
2008-03-03 21:45               ` Stefan Monnier
2008-03-03 22:29                 ` Drew Adams
2008-03-04 17:38                   ` Richard Stallman
2008-03-04 19:44                     ` Drew Adams
2008-03-04 22:28                       ` Drew Adams
2008-03-05 21:33                       ` Richard Stallman
2008-03-03 18:27           ` Richard Stallman
2008-03-03 19:01             ` Drew Adams
2008-03-02 17:56         ` Juri Linkov

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=87zlth7zwh.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@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.