Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Benjamin Rutt <rutt+news@cis.ohio-state.edu>
Subject: Re: Feature idea: gnus-summary-novice-warn-if-repying-to-nntp-group
Date: Fri, 10 May 2002 10:05:52 -0400	[thread overview]
Message-ID: <wc3k7qcrtbz.fsf@gamma.cis.ohio-state.edu> (raw)
In-Reply-To: <7w4rhgb773.fsf@i19.ruc.dk>

Niels Langager Ellegaard <gnalle@ruc.dk> writes:

> When replying to usenet articles I sometimes (by mistake) press "r"
> instead of "f". So I write an e-mail instead of a followup. I am going
> to rebing the r button so that it gives me a warning if I reply to the
> author in an nntp group. However I would like to propose that Lars (or
> some similar guru) includes the following variable in gnus.
>   
> gnus-summary-novice-warn-if-repying-to-nntp-group-p
>
> The idea is that whenever this variable was set to non-nil the program
> should warn the user, if the user tries to reply to the author of an
> article in an nntp group.

Good idea.  I agree, there should be a user variable you could enable
to warn you on such occasions.  Until that happens, you can use the
following advice in your ~/.gnus:

(defadvice gnus-summary-reply (around reply-in-news activate)
  "Prompts before allowing a reply to a Usenet article."
  (interactive)
  (if (or (not (gnus-news-group-p gnus-newsgroup-name))	; short-circuit
          (y-or-n-p "Really reply by mail to article author? "))
      ad-do-it
    (message "Reply aborted.")))

BTW, I'd recommend always using 'F' or 'f' for responding to any
article, whether it's mail or news.  That approach works great for me.
When you really want to use 'R', you can use it for replying by mail
to a usenet article (I rarely need to do so).
-- 
Benjamin


      reply	other threads:[~2002-05-10 14:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-10 10:58 Niels Langager Ellegaard
2002-05-10 14:05 ` Benjamin Rutt [this message]

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=wc3k7qcrtbz.fsf@gamma.cis.ohio-state.edu \
    --to=rutt+news@cis.ohio-state.edu \
    /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).