Gnus development mailing list
 help / color / mirror / Atom feed
From: Benjamin Rutt <rutt+news@cis.ohio-state.edu>
Subject: Re: patches add variable `gnus-confirm-mail-reply-to-news'
Date: Tue, 21 May 2002 13:11:55 -0400	[thread overview]
Message-ID: <wc3adqt1l44.fsf@gamma.cis.ohio-state.edu> (raw)
In-Reply-To: <iluznytll7y.fsf@latte.josefsson.org>

Simon Josefsson <jas@extundo.com> writes:

> Oops, I didn't read it carefully.  What about making the default to on
> then, and allow the user to never be queried about it in the future
> ("Don't ask me again")?  People who usually never R to usenet posts
> might find the question useful, and leave it enabled, and other people
> are only annoyed once.

This sounds reasonable.  I'm not exactly sure how to implement this
though.  It reminds me of back when I first used `narrow-to-region'
and it asked me whether I wanted to enable the command permanently.
It doesn't look like I could directly apply novice.el's enable-command
etc. to do this, since there's no command in this case.  (I don't
think we'd want to require confirmation to simply run
gnus-summary-reply).

Maybe the variable `gnus-confirm-mail-reply-to-news' should default to
'ask.  Then, whenever the variable is used, if it has the value 'ask,
then you pose the question "Don't ask me again?" as you suggested.  If
it has the value nil or t, then just use it.

Does anyone know how to use customize to programmatically set a value
and then make it permanent (i.e. save it to the user's `custom-file')?
I think that would be the best approach to take.
-- 
Benjamin



  reply	other threads:[~2002-05-21 17:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-21  2:41 Benjamin Rutt
2002-05-21  9:36 ` Simon Josefsson
2002-05-21 10:46   ` Kai Großjohann
2002-05-21 12:49     ` Simon Josefsson
2002-05-21 17:11       ` Benjamin Rutt [this message]
2002-05-21 17:19         ` Benjamin Rutt
2002-05-22  8:52       ` Russ Allbery
2002-05-22  9:10         ` Simon Josefsson
2002-05-22 21:44           ` Benjamin Rutt
2002-05-23 21:36           ` Benjamin Rutt
2002-05-26 16:22           ` Raymond Scholz
2002-05-26 19:11             ` Simon Josefsson
2002-10-16 15:31               ` Raymond Scholz
2002-06-09  9:45 ` Thomas Skogestad

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