From: Drew Adams <drew.adams@oracle.com>
To: "Lars Ingebrigtsen" <larsi@gnus.org>,
"積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 6491@debbugs.gnu.org
Subject: bug#6491: 24.0.50; list-buffers should not throw away marks
Date: Fri, 18 Oct 2019 04:30:45 +0000 (UTC) [thread overview]
Message-ID: <941e77a7-3d7e-4423-985a-59f1c292384d@default> (raw)
In-Reply-To: <87eezak91x.fsf@gnus.org>
> > Docstring ""v runs the command Buffer-menu-select (found in
> > Buffer-menu-mode-map),""
> > doesn't even mention it throws away the marks.
>
> No, but it's common (in some modes)
Which ones? Maybe they should change, to take
advantage of the other (superior ;-)) behavior.
Do they have a notion of updating - does `g'
update them in some way? Or does it just reset
them?
A file listing is a perfect case for having `g'
update - sync with the world outside the buffer
state. That you can do that but keep other
aspects of the buffer state is a plus.
Maybe the modes you have in mind do not have
any notion of updating, so `g' just does a
total reset? If not, they might be candidates
for upgrading to the Dired-like behavior. ;-)
> to first mark a bunch of stuff, and
> then when you execute the command on those marked things, the marks are
> cleared so that you can then mark some other things and do some stuff
> on them.
That's only useful when it's necessary because
no one provided an alternative. And it's only
necessary if the mode doesn't have a simple
way to clear the marks on demand. (`M-DEL RET'
in Dired.)
Separating clearing marks from syncing the buffer
is a plus. There's no good reason to hard-couple
the two - unless reverting does no updating, i.e.,
unless it's essentially just clearing marks.
> Dired is one mode that doesn't work like that, but it's not the only
> mode in Emacs.
It's not the only one, but it's a good one. And
it's clearly the closest one to the behavior of
`list-buffers'.
next prev parent reply other threads:[~2019-10-18 4:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-22 9:51 bug#6491: 24.0.50; list-buffers should not throw away marks jidanni
2011-07-13 23:33 ` Lars Magne Ingebrigtsen
2011-07-13 23:58 ` Drew Adams
2011-07-16 20:19 ` Lars Magne Ingebrigtsen
2019-10-13 20:58 ` Lars Ingebrigtsen
2019-10-18 3:11 ` 積丹尼 Dan Jacobson
2019-10-18 3:48 ` Lars Ingebrigtsen
2019-10-18 4:30 ` Drew Adams [this message]
2019-10-18 5:44 ` 積丹尼 Dan Jacobson
2020-08-07 10:56 ` Lars Ingebrigtsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=941e77a7-3d7e-4423-985a-59f1c292384d@default \
--to=drew.adams@oracle.com \
--cc=6491@debbugs.gnu.org \
--cc=jidanni@jidanni.org \
--cc=larsi@gnus.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).