[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bongo-devel] Re: Marks

From: Daniel Brockman
Subject: Re: [bongo-devel] Re: Marks
Date: Mon, 12 Feb 2007 18:23:54 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux)

address@hidden (Daniel Jensen) writes:

> Daniel Brockman <address@hidden> writes:
>> Then `U' would push and `C-u U' pop?
> I don't think it is a good idea to mix unmarking with a stack growing
> behind the scenes, that's messy. Better to let the user manage this
> stack separately. How about `* k', `* y' and `* w', kind of like in
> Gnus? That is, if we want the stack after all.

But what about things like `e'?  If that doesn't push the
set to the stack before unmarking, I think the usefulness of
the mark stack is reduced significantly.

How about something simple like this:

The `* *' command toggles between a set of marks and the
empty set of marks.  (I think this is a good keybinding
because (a) it is easy to type; (b) its semantics are in
some way similar to `C-x C-x'; and (c) in Ibuffer, the `* *'
command unmarks everything, which is clearly similar.)

Specifically, if there is an active set of marks, then `* *'
saves that set (replacing any previously saved set) and then
unmarks all tracks.  If there is no active set of marks,
then `* *' restores the last saved set, if any.

Commands that unmark all tracks as a side effect (like `e')
would first save the set as `* *' would.

This way, `* *' will be a sort of toggling command.

What do you think?

>> Dired doesn't define `* i' at all, so I guess `* t' was
>> their first choice.  On the other hand, Gnus has this,
>>    `M P i'
>>         Invert the list of process marked articles
>>         (`gnus-uu-invert-processable').
>> and I think `invert' is a better term than `toggle'.
> Invert it is, then. If we go with the stack commands, it is also
> consistent with that in the Gnus-wannabe way.

I don't know why, but I kind of like monkeying after Gnus.
Everyone knows Gnus is cool.  You know.  Right?

Note:  This still has not been implemented.  We should probably
       implement it or file a feature request in the tracker.

Daniel Brockman <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]