From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Defaults for set-variable Date: Wed, 19 Oct 2005 18:43:18 +0300 Organization: JURTA Message-ID: <874q7drhbu.fsf@jurta.org> References: <87br1o5f6s.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129742320 28692 80.91.229.2 (19 Oct 2005 17:18:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2005 17:18:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 19 19:18:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESHYN-0006Ms-GI for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2005 19:16:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESHYM-0006uK-N6 for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2005 13:16:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESGp0-0005Sa-7C for emacs-devel@gnu.org; Wed, 19 Oct 2005 12:29:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESGoy-0005Ry-Nq for emacs-devel@gnu.org; Wed, 19 Oct 2005 12:29:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESGox-0005RT-Of for emacs-devel@gnu.org; Wed, 19 Oct 2005 12:29:43 -0400 Original-Received: from [194.126.101.114] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ESGox-0006y8-3S; Wed, 19 Oct 2005 12:29:43 -0400 Original-Received: from mail.neti.ee (80-235-35-28-dsl.mus.estpak.ee [80.235.35.28]) by Relayhost1.neti.ee (Postfix) with ESMTP id 7B8B3189F; Wed, 19 Oct 2005 19:29:45 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Mon, 17 Oct 2005 17:58:23 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:44332 Archived-At: > The change is ok, but please don't bother mentioning it in NEWS. > It is below the threshold for mentioning there. NEWS is already > so big as to be inconvenient for the users, so lowering that > threshold would be unfortunate. Then what about documenting it in the Emacs manual? Customization always inserts the old value into editable fields in the customization buffer (though, not as a Lisp expression that set-variable reads), so I think this is a useful thing for users to know that set-variable can provide the old value for editing too, via M-n: Index: man/custom.texi =================================================================== RCS file: /cvsroot/emacs/emacs/man/custom.texi,v retrieving revision 1.90 diff -c -r1.90 custom.texi *** man/custom.texi 5 Sep 2005 11:52:21 -0000 1.90 --- man/custom.texi 19 Oct 2005 07:27:38 -0000 *************** *** 790,796 **** The most convenient way to set a specific user option variable is with @kbd{M-x set-variable}. This reads the variable name with the minibuffer (with completion), and then reads a Lisp expression for the ! new value using the minibuffer a second time. For example, @example M-x set-variable @key{RET} fill-column @key{RET} 75 @key{RET} --- 790,797 ---- The most convenient way to set a specific user option variable is with @kbd{M-x set-variable}. This reads the variable name with the minibuffer (with completion), and then reads a Lisp expression for the ! new value using the minibuffer a second time (you can insert the old ! value into the minibuffer for editing via @kbd{M-n}). For example, @example M-x set-variable @key{RET} fill-column @key{RET} 75 @key{RET} -- Juri Linkov http://www.jurta.org/emacs/