From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.help Subject: Re: custom: how do I augment an option? Date: Wed, 05 Sep 2012 15:18:03 -0400 Organization: disorganization Message-ID: <87ehmgcm8k.fsf@gnu.org> References: <87zk5473qz.fsf@gnu.org> Reply-To: sds@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346872707 8866 80.91.229.3 (5 Sep 2012 19:18:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Sep 2012 19:18:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 05 21:18:29 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T9L7I-0005MN-TX for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Sep 2012 21:18:25 +0200 Original-Received: from localhost ([::1]:60462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9L7F-0004p2-VT for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Sep 2012 15:18:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9L7A-0004ou-Sj for help-gnu-emacs@gnu.org; Wed, 05 Sep 2012 15:18:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9L7A-00008I-4g for help-gnu-emacs@gnu.org; Wed, 05 Sep 2012 15:18:16 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:43400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9L79-00008D-Tn for help-gnu-emacs@gnu.org; Wed, 05 Sep 2012 15:18:16 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1T9L7A-00059d-An for help-gnu-emacs@gnu.org; Wed, 05 Sep 2012 21:18:16 +0200 Original-Received: from 74.113.160.197 ([74.113.160.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Sep 2012 21:18:16 +0200 Original-Received: from sds by 74.113.160.197 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Sep 2012 21:18:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 74.113.160.197 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Cancel-Lock: sha1:emU4fAuTLLjIMUK7NG7srdh7SUY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:86662 Archived-At: > * Sam Steingold [2012-09-05 13:56:20 -0400]: > > (custom-set-variables > '(message-syntax-checks (adjoin '(long-lines . disabled) > message-syntax-checks > :key 'equal))) > will evaluate `message-syntax-checks' too early: The "solution" is --8<---------------cut here---------------start------------->8--- (custom-set-variables '(message-syntax-checks (adjoin '(long-lines . disabled) (eval (car (get 'message-syntax-checks 'standard-value))) :test 'equal))) --8<---------------cut here---------------end--------------->8--- which uses `eval' on top of `adjoin'. So, what is the official method? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000 http://www.childpsy.net/ http://dhimmi.com http://jihadwatch.org http://honestreporting.com http://iris.org.il http://thereligionofpeace.com Save your burned out bulbs for me, I'm building my own dark room.