Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: info-gnus-english@gnu.org
Subject: Re: C-c C-f is not bound in Article buffer
Date: Tue, 11 Sep 2007 14:58:11 +0900	[thread overview]
Message-ID: <b4m1wd5rbf0.fsf@jpl.org> (raw)
In-Reply-To: <m2bqcajppj.fsf@cam.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

>>>>> Leo wrote:

> The key binding C-c C-f to the command `gnus-summary-mail-forward' is
> not available in the Article buffer. I wonder if this is a bug.

I'm not sure it is a bug, but `gnus-summary-mail-forward' seems
to have been designed for invoking in the summary buffer, not in
the article buffer (even if currently it looks possible to run
from the article buffer).  Actually the `S o m' command which is
typed in the article buffer runs `gnus-summary-mail-forward' in
the summary buffer.  However, the way that the `S o m' command
uses cannot be applied to the `C-c C-f' command[1].  That might
be the reason it hasn't been provided so far.

An easy way to achieve it is:


[-- Attachment #2: Type: application/emacs-lisp, Size: 84 bytes --]

[-- Attachment #3: Type: text/plain, Size: 144 bytes --]


But this will become unusable if the key sequence `S o m' in
`gnus-summary-mode-map' is changed in the future (or by a user).
Another way is:


[-- Attachment #4: Type: application/emacs-lisp, Size: 374 bytes --]

[-- Attachment #5: Type: text/plain, Size: 859 bytes --]


But it looks to me superfluous.  I don't think both are very good.
If anything, isn't it better to get used to the commands beginning
with S? ;-)

[1]
Gnus provides the `gnus-article-read-summary-keys' function for
the summary commands in which each of command is assigned to two
or more keys.  For instance, the `S' key in the article buffer is
bound to it.  If a user types `S o m' in the article buffer, Gnus
moves to the summary buffer that is associated with the article
buffer at the time when the `S' key is pressed.  And then it
reads remaining keys, looks up the summary command which is bound
to that key sequence, and invokes the command.  The reason this
way cannot be used for the `C-c C-f' keys is that the `C-c' key
is a prefix command, which is used with some commands that are
not the summary commands, so it cannot be bound to `g-a-r-s-k'.

[-- Attachment #6: Type: text/plain, Size: 161 bytes --]

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

  reply	other threads:[~2007-09-11  5:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-10 19:16 Leo
2007-09-11  5:58 ` Katsumi Yamaoka [this message]
2007-09-11  7:24   ` Leo

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=b4m1wd5rbf0.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --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).