Gnus development mailing list
 help / color / mirror / Atom feed
* "Really reply by mail to article author" for gmane groups
@ 2007-11-12 18:02 Dan Nicolaescu
  2007-11-12 18:38 ` Reiner Steib
  0 siblings, 1 reply; 7+ messages in thread
From: Dan Nicolaescu @ 2007-11-12 18:02 UTC (permalink / raw)
  To: ding


Hi,

I read emacs-devel@gnu.org through gmane. After gnus got upgraded in
emacs CVS when I do "S W" on an article in gmane.emacs.devel this
question is asked "Really reply by mail to article author?". 
This does not happen with emacs-22.1. I did not change any settings.

Can the old default of not asking this question be restored?

Thanks

       --dan



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Really reply by mail to article author" for gmane groups
  2007-11-12 18:02 "Really reply by mail to article author" for gmane groups Dan Nicolaescu
@ 2007-11-12 18:38 ` Reiner Steib
  2007-11-12 19:27   ` Dan Nicolaescu
  0 siblings, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2007-11-12 18:38 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: ding

On Mon, Nov 12 2007, Dan Nicolaescu wrote:

> I read emacs-devel@gnu.org through gmane. After gnus got upgraded in
> emacs CVS when I do "S W" on an article in gmane.emacs.devel this
> question is asked "Really reply by mail to article author?". 
> This does not happen with emacs-22.1. I did not change any settings.

The default of `gnus-confirm-mail-reply-to-news' has changed: 

-(defcustom gnus-confirm-mail-reply-to-news gnus-novice-user
+(defcustom gnus-confirm-mail-reply-to-news (and gnus-novice-user
+						(not gnus-expert-user))

Probably you have set both, `gnus-novice-user' and `gnus-expert-user'
to nil.

> Can the old default of not asking this question be restored?

You could also customize `gnus-confirm-mail-reply-to-news' to be a
regexp or a function to exclude Gmane groups.

,----[ <f1> v gnus-confirm-mail-reply-to-news RET ]
| gnus-confirm-mail-reply-to-news is a variable defined in `gnus-msg.el'.
| Its value is t
| 
| Documentation:
| If non-nil, Gnus requests confirmation when replying to news.
| This is done because new users often reply by mistake when reading
| news.
| This can also be a function receiving the group name as the only
| parameter, which should return non-nil if a confirmation is needed; or
| a regexp, in which case a confirmation is asked for if the group name
| matches the regexp.
| 
| You can customize this variable.
| 
| This variable was introduced, or its default value was changed, in
| version 23.0 of Emacs.
`----

(I have adjusted the custom version now in Gnus trunk.)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Really reply by mail to article author" for gmane groups
  2007-11-12 18:38 ` Reiner Steib
@ 2007-11-12 19:27   ` Dan Nicolaescu
  2007-11-12 21:16     ` Reiner Steib
  0 siblings, 1 reply; 7+ messages in thread
From: Dan Nicolaescu @ 2007-11-12 19:27 UTC (permalink / raw)
  To: ding

Reiner Steib <reinersteib+gmane@imap.cc> writes:

  > On Mon, Nov 12 2007, Dan Nicolaescu wrote:
  > 
  > > I read emacs-devel@gnu.org through gmane. After gnus got upgraded in
  > > emacs CVS when I do "S W" on an article in gmane.emacs.devel this
  > > question is asked "Really reply by mail to article author?". 
  > > This does not happen with emacs-22.1. I did not change any settings.
  > 
  > The default of `gnus-confirm-mail-reply-to-news' has changed: 
  > 
  > -(defcustom gnus-confirm-mail-reply-to-news gnus-novice-user
  > +(defcustom gnus-confirm-mail-reply-to-news (and gnus-novice-user
  > +						(not gnus-expert-user))
  > 
  > Probably you have set both, `gnus-novice-user' and `gnus-expert-user'
  > to nil.

I don't set any of those. 

The default is actually nil in 22.1. 

  > > Can the old default of not asking this question be restored?
  > 
  > You could also customize `gnus-confirm-mail-reply-to-news' to be a
  > regexp or a function to exclude Gmane groups.

Thanks, I can certainly do that. The question is what is the best
default. Should the users see an extra question in 23.1?



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Really reply by mail to article author" for gmane groups
  2007-11-12 19:27   ` Dan Nicolaescu
@ 2007-11-12 21:16     ` Reiner Steib
  2007-11-24 22:20       ` Reiner Steib
  0 siblings, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2007-11-12 21:16 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: ding

On Mon, Nov 12 2007, Dan Nicolaescu wrote:

> Reiner Steib <reinersteib+gmane@imap.cc> writes:
>   > The default of `gnus-confirm-mail-reply-to-news' has changed: 
[...]
> The default is actually nil in 22.1. 

You are right.  The above diff was only the most recent change.  The
diff to Emacs 22 is:

-(defcustom gnus-confirm-mail-reply-to-news nil
+(defcustom gnus-confirm-mail-reply-to-news (and gnus-novice-user
+                                               (not gnus-expert-user))

> The question is what is the best default. Should the users see an
> extra question in 23.1?

The rationale for the current default is that if the user is a novice
and not a Gnus expert (see the doc string of `gnus-expert-user'), he
should be warned.  This sounds plausible.  But I'm not sure if using
`S W' in Gmane groups has been considered there.  Probably the default
should be nil for (very) wide replies.  What do people think?

[I don't have time to implement this during the next week.]

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Really reply by mail to article author" for gmane groups
  2007-11-12 21:16     ` Reiner Steib
@ 2007-11-24 22:20       ` Reiner Steib
  2007-12-08 14:20         ` Reiner Steib
  0 siblings, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2007-11-24 22:20 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: ding

On Mon, Nov 12 2007, Reiner Steib wrote:

> The rationale for the current default is that if the user is a novice
> and not a Gnus expert (see the doc string of `gnus-expert-user'), he
> should be warned.  This sounds plausible.  But I'm not sure if using
> `S W' in Gmane groups has been considered there.  Probably the default
> should be nil for (very) wide replies.  What do people think?

I have installed the following change in Gnus trunk:

--- gnus-msg.el	12 Nov 2007 19:36:53 +0100	7.61
+++ gnus-msg.el	24 Nov 2007 23:19:20 +0100	
@@ -1101,7 +1101,10 @@
 		       ((functionp gnus-confirm-mail-reply-to-news)
 			(funcall gnus-confirm-mail-reply-to-news gnus-newsgroup-name))
 		       (t gnus-confirm-mail-reply-to-news)))
-	    (y-or-n-p "Really reply by mail to article author? "))
+	    (if (or wide very-wide)
+		t ;; Ignore gnus-confirm-mail-reply-to-news for wide and very
+		  ;; wide replies.
+	      (y-or-n-p "Really reply by mail to article author? "))))
     (let* ((article
 	    (if (listp (car yank))
 		(caar yank)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Really reply by mail to article author" for gmane groups
  2007-11-24 22:20       ` Reiner Steib
@ 2007-12-08 14:20         ` Reiner Steib
  2007-12-08 18:25           ` Dan Nicolaescu
  0 siblings, 1 reply; 7+ messages in thread
From: Reiner Steib @ 2007-12-08 14:20 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: ding

On Sat, Nov 24 2007, Reiner Steib wrote:

> On Mon, Nov 12 2007, Reiner Steib wrote:
>> The rationale for the current default is that if the user is a novice
>> and not a Gnus expert (see the doc string of `gnus-expert-user'), he
>> should be warned.  This sounds plausible.  But I'm not sure if using
>> `S W' in Gmane groups has been considered there.  Probably the default
>> should be nil for (very) wide replies.  What do people think?
>
> I have installed the following change in Gnus trunk:
>
> --- gnus-msg.el	12 Nov 2007 19:36:53 +0100	7.61
> +++ gnus-msg.el	24 Nov 2007 23:19:20 +0100	
> @@ -1101,7 +1101,10 @@
>  		       ((functionp gnus-confirm-mail-reply-to-news)
>  			(funcall gnus-confirm-mail-reply-to-news gnus-newsgroup-name))
>  		       (t gnus-confirm-mail-reply-to-news)))
> -	    (y-or-n-p "Really reply by mail to article author? "))
> +	    (if (or wide very-wide)
> +		t ;; Ignore gnus-confirm-mail-reply-to-news for wide and very
> +		  ;; wide replies.
> +	      (y-or-n-p "Really reply by mail to article author? "))))
>      (let* ((article
>  	    (if (listp (car yank))
>  		(caar yank)

Dan, does it solve your problem?  If so, could you please remove the
item from FOR-RELEASE in Emacs?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: "Really reply by mail to article author" for gmane groups
  2007-12-08 14:20         ` Reiner Steib
@ 2007-12-08 18:25           ` Dan Nicolaescu
  0 siblings, 0 replies; 7+ messages in thread
From: Dan Nicolaescu @ 2007-12-08 18:25 UTC (permalink / raw)
  To: ding

Reiner Steib <reinersteib+gmane@imap.cc> writes:

  > On Sat, Nov 24 2007, Reiner Steib wrote:
  > 
  > > On Mon, Nov 12 2007, Reiner Steib wrote:
  > >> The rationale for the current default is that if the user is a novice
  > >> and not a Gnus expert (see the doc string of `gnus-expert-user'), he
  > >> should be warned.  This sounds plausible.  But I'm not sure if using
  > >> `S W' in Gmane groups has been considered there.  Probably the default
  > >> should be nil for (very) wide replies.  What do people think?
  > >
  > > I have installed the following change in Gnus trunk:
  > >
  > > --- gnus-msg.el	12 Nov 2007 19:36:53 +0100	7.61
  > > +++ gnus-msg.el	24 Nov 2007 23:19:20 +0100	
  > > @@ -1101,7 +1101,10 @@
  > >  		       ((functionp gnus-confirm-mail-reply-to-news)
  > >  			(funcall gnus-confirm-mail-reply-to-news gnus-newsgroup-name))
  > >  		       (t gnus-confirm-mail-reply-to-news)))
  > > -	    (y-or-n-p "Really reply by mail to article author? "))
  > > +	    (if (or wide very-wide)
  > > +		t ;; Ignore gnus-confirm-mail-reply-to-news for wide and very
  > > +		  ;; wide replies.
  > > +	      (y-or-n-p "Really reply by mail to article author? "))))
  > >      (let* ((article
  > >  	    (if (listp (car yank))
  > >  		(caar yank)
  > 
  > Dan, does it solve your problem?  

It does. Thanks!

  > If so, could you please remove the
  > item from FOR-RELEASE in Emacs?

Done.



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-12-08 18:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-12 18:02 "Really reply by mail to article author" for gmane groups Dan Nicolaescu
2007-11-12 18:38 ` Reiner Steib
2007-11-12 19:27   ` Dan Nicolaescu
2007-11-12 21:16     ` Reiner Steib
2007-11-24 22:20       ` Reiner Steib
2007-12-08 14:20         ` Reiner Steib
2007-12-08 18:25           ` Dan Nicolaescu

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).