From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44908 Path: main.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.gnus.general Subject: Re: patches add variable `gnus-confirm-mail-reply-to-news' Date: Tue, 21 May 2002 13:11:55 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1022001205 19057 127.0.0.1 (21 May 2002 17:13:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 21 May 2002 17:13:25 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17ADCO-0004xF-00 for ; Tue, 21 May 2002 19:13:25 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17ADBK-00021j-00; Tue, 21 May 2002 12:12:18 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 21 May 2002 12:12:37 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA10037 for ; Tue, 21 May 2002 12:12:26 -0500 (CDT) Original-Received: (qmail 28579 invoked by alias); 21 May 2002 17:12:02 -0000 Original-Received: (qmail 28574 invoked from network); 21 May 2002 17:12:02 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 21 May 2002 17:12:02 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 17ADP1-0002ct-00 for ; Tue, 21 May 2002 19:26:27 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 26 Original-NNTP-Posting-Host: gamma.cis.ohio-state.edu Original-X-Trace: quimby.gnus.org 1022001987 10097 164.107.112.13 (21 May 2002 17:26:27 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 21 May 2002 17:26:27 GMT Mail-Copies-To: nobody X-Face: (&zE&hBC"G~kYNV6dt5#[X'%{!h5@/oUyc`CRNn#d6e2qi%~4N.?_ys_bQ3&7.* 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