From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: reading compile.el, modifying settings Date: Fri, 06 May 2011 09:13:44 +0200 Message-ID: <87bozgjo7r.fsf@member.fsf.org> References: <1933055643.48627.1304431423078.JavaMail.root@aksu.oays-ds.com> <87zkn1ui7y.fsf@member.fsf.org> <87sjstufp9.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1304666052 18510 80.91.229.12 (6 May 2011 07:14:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 May 2011 07:14:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 06 09:14:08 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QIFEl-0006CC-DJ for geh-help-gnu-emacs@m.gmane.org; Fri, 06 May 2011 09:14:07 +0200 Original-Received: from localhost ([::1]:37861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIFEk-0005cA-QQ for geh-help-gnu-emacs@m.gmane.org; Fri, 06 May 2011 03:14:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIFEe-0005bo-Un for help-gnu-emacs@gnu.org; Fri, 06 May 2011 03:14:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QIFEd-0001uU-WD for help-gnu-emacs@gnu.org; Fri, 06 May 2011 03:14:00 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:50947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIFEd-0001uN-PL for help-gnu-emacs@gnu.org; Fri, 06 May 2011 03:13:59 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QIFEa-00066c-DG for help-gnu-emacs@gnu.org; Fri, 06 May 2011 09:13:56 +0200 Original-Received: from 178-27-29-99-dynip.superkabel.de ([178.27.29.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 May 2011 09:13:56 +0200 Original-Received: from tassilo by 178-27-29-99-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 May 2011 09:13:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 178-27-29-99-dynip.superkabel.de User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:1tvwusg2CDBjPBifUaxoEDPZoT4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80941 Archived-At: Sam Steingold writes: Hi Sam, >> ,---- >> | ;; foo is not defined before >> | (setq foo 17) >> | ;; now load its defcustom >> | (defcustom foo 111 >> | "Bla bla") >> | ;; still has my value plus the props of the defcustom >> | (cons foo (symbol-plist 'foo)) >> | ==> (17 standard-value (111) custom-requests nil variable-documentation >> | "Bla bla") >> `---- > > that's my point - a custom variable is much more than just a > symbol-value. Yes, and my point is that setq does no harm either. > I wonder, however, if my solution solves Paul's problem. Ditto. >> My emacs is highly customized in plain lisp only, so that I can >> comment what I do and structure it according to my likings. > > Mine too - and I use custom-set-variables for all custom vars in > ~/.emacs. And, of course, both setq and custom-set-variables are > "plain lisp". Sure, with plain list I've meant any lisp not beginning with custom-*. ;-) But assuming you are right, why don't the docs state anything about that users should use `custom-set-variables'? And why is there no `setc' macro for users preferring customization in lisp for setting variables, which expands to a `custom-set-variables' form for defcustoms? (info "(emacs)Init Examples") setqs custom variables quite happily... Bye, Tassilo