Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Sort groups in topic descending by name
       [not found] <mailman.15481.1417997314.1147.info-gnus-english@gnu.org>
@ 2014-12-08  1:44 ` Emanuel Berg
  0 siblings, 0 replies; 2+ messages in thread
From: Emanuel Berg @ 2014-12-08  1:44 UTC (permalink / raw)
  To: info-gnus-english

Nikolaus Rath <Nikolaus@rath.org> writes:

> I would like to sort the groups in one topic by
> descending name, and in another topic by ascending
> name.
>
> It sounds simply

No - it sounds complicated and unnecessary :)

> G S a in the group buffer always sorts all groups,
> even if I first set the process mark on one topic.

The docs doesn't say anything about mark in Emacs 24.4
(and `gnus-version' 5.13):

    (gnus-group-sort-groups-by-alphabet &optional REVERSE)

    Sort the group buffer alphabetically by group name.
    If REVERSE, sort in reverse order.

> C-u G S a sorts by descending name, but the
> documentation says this should happen when I give it
> a symbolic, rather than numeric prefix.

Perhaps we have different documentations because what
I see is the above. It doesn't say anything about the
influence of the numeric argument (which it should, I
think, even though it is a common interface in the
Emacs world).

> M-i is supposed to give me a symbolic prefix, but is
> actually bound to tab-to-tab-stop.

Yes - your docs are creative. But check out
`gnus-symbolic-argument' if (?) you need that:

    (gnus-symbolic-argument &optional ARG)

    Read a symbolic argument and a command, and then
    execute command.

> G P a does, as far as I can tell, nothing at all, no
> matter if I mark some groups and if I give it a
> prefix.

It does something for me on `C-u G P a'.

Here is a good opportunity to develop your jedi-master
skills because it seems both the numeric and the
symbolic prefixes are at play:

    (gnus-group-sort-selected-groups-by-alphabet
    &optional N REVERSE)

    Sort the group buffer alphabetically by group
    name. Obeys the process/prefix convention. If
    REVERSE (the symbolic prefix), sort in reverse
    order.

"Obeys the process/prefix convention." :)

--
underground experts united

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

* Sort groups in topic descending by name
@ 2014-12-07 23:14 Nikolaus Rath
  0 siblings, 0 replies; 2+ messages in thread
From: Nikolaus Rath @ 2014-12-07 23:14 UTC (permalink / raw)
  To: info-gnus-english

Hello,

I would like to sort the groups in one topic by descending name, and in
another topic by ascending name.

It sounds simply, but I just can't figure it out.

G S a in the group buffer always sorts all groups, even if I first set
the process mark on one topic.

C-u G S a sorts by descending name, but the documentation says this
should happen when I give it a symbolic, rather than numeric prefix.

M-i is supposed to give me a symbolic prefix, but is actually bound to
tab-to-tab-stop.

G P a does, as far as I can tell, nothing at all, no matter if I mark
some groups and if I give it a prefix.

Can someone give me a hint?


Thanks!
-Nikolaus
-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

end of thread, other threads:[~2014-12-08  1:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.15481.1417997314.1147.info-gnus-english@gnu.org>
2014-12-08  1:44 ` Sort groups in topic descending by name Emanuel Berg
2014-12-07 23:14 Nikolaus Rath

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 NNTP newsgroup(s).