Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Glyn Millington <wistanswick@linuxmail.org>
Subject: Re: How to redefine keys?
Date: Mon, 21 Feb 2005 00:16:39 +0000	[thread overview]
Message-ID: <87psyurcm0.fsf@nowhere.org> (raw)
In-Reply-To: <m34qg6c3s0.fsf@colina.demon.co.uk>

Colin Paul Adams <colin@colina.demon.co.uk> writes:

> Although I have been using gnus for many years, I have not been able
> to rid myself of the habit of always using the r or R keys, even
> though I often should be using the f or F keys.
>
> Taking a hint from the FAQ, I tried adding the following to my .gnus
> file:
>
> (define-key gnus-summary-mode-map "r" gnus-summary-followup)
> (define-key gnus-summary-mode-map "R" gnus-summary-followup-with-original)
>
> but I get any error about the symbol gnus-summary-followup not being
> defined.
>
> What's the best way to go about doing this?


An alternative approach - putting this in your .gnus will make Gnus
check whether you _really_ want to send an e-mail in reply instead of
following up



;; prompt for mail replies to newsgroups!!!!!
(defadvice gnus-summary-reply (around reply-in-news activate)
   (interactive)
   (when (or (not (gnus-news-group-p gnus-newsgroup-name))
             (y-or-n-p "REALLY reply with a personal mail? "))
     ad-do-it))



hth

Glyn


  parent reply	other threads:[~2005-02-21  0:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-20 21:36 Colin Paul Adams
2005-02-20 23:10 ` Jesper Harder
2005-02-21  0:16 ` Glyn Millington [this message]
2005-02-21  8:19   ` Matt N. Jones
     [not found]   ` <cvc5sn$kgs$1@news.sap-ag.de>
2005-02-21 11:12     ` Glyn Millington

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=87psyurcm0.fsf@nowhere.org \
    --to=wistanswick@linuxmail.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).