Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: info-gnus-english@gnu.org
Subject: Re: Sort groups in topic descending by name
Date: Mon, 08 Dec 2014 02:44:05 +0100	[thread overview]
Message-ID: <87r3wa29wa.fsf@debian.uxu> (raw)
In-Reply-To: <mailman.15481.1417997314.1147.info-gnus-english@gnu.org>

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

       reply	other threads:[~2014-12-08  1:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.15481.1417997314.1147.info-gnus-english@gnu.org>
2014-12-08  1:44 ` Emanuel Berg [this message]
2014-12-07 23:14 Nikolaus Rath

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=87r3wa29wa.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=info-gnus-english@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.
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).