From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: customize-set-(value|variable) [was: apropos commandsforcommands, user options, all functions, all variables] Date: Mon, 12 Nov 2007 11:23:00 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1194895401 4075 80.91.229.12 (12 Nov 2007 19:23:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2007 19:23:21 +0000 (UTC) To: , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 12 20:23:25 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IresX-0008RR-69 for ged-emacs-devel@m.gmane.org; Mon, 12 Nov 2007 20:23:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IresK-0006Qi-Ru for ged-emacs-devel@m.gmane.org; Mon, 12 Nov 2007 14:23:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IresH-0006QT-KO for emacs-devel@gnu.org; Mon, 12 Nov 2007 14:23:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IresE-0006Mr-UG for emacs-devel@gnu.org; Mon, 12 Nov 2007 14:23:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IresE-0006Mo-QT for emacs-devel@gnu.org; Mon, 12 Nov 2007 14:23:06 -0500 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IresE-0006cd-Dn for emacs-devel@gnu.org; Mon, 12 Nov 2007 14:23:06 -0500 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id lACJN31M000615; Mon, 12 Nov 2007 12:23:03 -0700 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id lACBhOh9032225; Mon, 12 Nov 2007 12:23:02 -0700 Original-Received: from dhcp-4op11-4op12-west-130-35-178-158.us.oracle.com by acsmt351.oracle.com with ESMTP id 3361294161194895378; Mon, 12 Nov 2007 11:22:58 -0800 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:83073 Archived-At: > An interactive function that provides completion and a degree of > type checking is much, much handier than using `setq' with `M-:'. > > Why would you use M-: (eval-expression) each time you want to evaluate > an expression rather than write it in a .emacs file? In such a file, > you only need to write it once. = When did I stop beating my wife? I don't use `M-:' each time I want to evaluate an expression. I do use an init file. Why do you assume otherwise? I also use `M-:' sometimes. So what? Why would I write each expression I want to evaluate in .emacs, just to be able to evaluate it using C-x C-e? There is no one way to use Emacs. I think `customize-set-value', Customize, and completion are all handy at times. You presumably prefer to write only Lisp, and only in files or *scratch*. Vive la difference - Emacs has room for us all. > To check it, I place point after it and run the command eval-last-sexp > (`C-x C-e') which I find easier to evoke than M-:. (On my keyboard a > colon requires me to press a shift key.) After I have written the > expression right, I leave it in my .emacs file. Yes, and? Did someone say you shouldn't do that? Nothing stops you from doing all your customization in .emacs. This discussion is about interacting with custom.el features. You're not proposing that we remove Customize, `custom-file', `defcustom', and all the rest, are you? Their existence doesn't prevent anyone from ignoring them and using .emacs for everything. > In my .emacs file I have completion with the command > lisp-complete-symbol. My hat is old. My teeth are gold. I have a bird I like to hold. (One Fish Two Fish - T. Seuss Geisel) No relation to the present discussion of using completion with custom. > For temporary expressions, like (format "%c" ?\x8b8) > and (ascii-display) I use the *scratch* buffer. (That is > what is in it now.) I use .emacs, *scratch*, and other, temporary and permanent Lisp files too. I use C-x C-e et compagnie as well. They are all wonderful fellows. So what?