From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/427 Path: news.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.gnus.user Subject: Re: Feature idea: gnus-summary-novice-warn-if-repying-to-nntp-group Date: Fri, 10 May 2002 10:05:52 -0400 Organization: The Ohio State University Dept. of Computer and Info. Science Message-ID: References: <7w4rhgb773.fsf@i19.ruc.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138667404 6853 80.91.229.2 (31 Jan 2006 00:30:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:30:04 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:27:34 2006 Original-Path: quimby.gnus.org!news.ccs.neu.edu!news.dfci.harvard.edu!news.cis.ohio-state.edu!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: gamma.cis.ohio-state.edu Mail-Copies-To: nobody X-Face: (&zE&hBC"G~kYNV6dt5#[X'%{!h5@/oUyc`CRNn#d6e2qi%~4N.?_ys_bQ3&7.* Niels Langager Ellegaard 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