From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carsten Dominik Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs/lisp/org org.el ChangeLog Date: Wed, 2 Sep 2009 11:32:08 +0200 Message-ID: <6E35F7BC-62C1-47DD-981C-84CE53296A5A@gmail.com> References: <76C0349A-EAD8-42DF-9E74-970F3B238EF9@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1251883988 12279 80.91.229.12 (2 Sep 2009 09:33:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2009 09:33:08 +0000 (UTC) Cc: Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 02 11:33:01 2009 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 1MimD7-0005yn-2n for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2009 11:33:01 +0200 Original-Received: from localhost ([127.0.0.1]:46179 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MimD5-0004H5-Ns for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2009 05:32:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MimCX-0003tZ-Tp for emacs-devel@gnu.org; Wed, 02 Sep 2009 05:32:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MimCQ-0003mh-Sl for emacs-devel@gnu.org; Wed, 02 Sep 2009 05:32:23 -0400 Original-Received: from [199.232.76.173] (port=43788 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MimCQ-0003mI-00 for emacs-devel@gnu.org; Wed, 02 Sep 2009 05:32:18 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:17244) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MimCP-0007H4-K5 for emacs-devel@gnu.org; Wed, 02 Sep 2009 05:32:17 -0400 Original-Received: from mail-ew0-f211.google.com ([209.85.219.211]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MimCO-0001Xb-Vz for emacs-devel@gnu.org; Wed, 02 Sep 2009 05:32:17 -0400 Original-Received: by ewy7 with SMTP id 7so547219ewy.31 for ; Wed, 02 Sep 2009 02:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=SN9x26qoOeRVKPeBXjY0OdtUwNpLuDTJvRiB4365/jY=; b=Ylkk58vkbCB46YbMxtwjoUIZiSctalqtz5H09e4Z/jtuhiC5xHMbL0NjtLW1kKio15 o9cjEAtN+YAmFDs+IcGDKwfP3ZZThjDWo5lbZWLiZ7+ZWrXXEet4GBNDG1HuZUg1Durp zIveJnW67N7XFE0B4GBldhZG9iM/3uPLylV+k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=WrQDwt6sTyaE+hWa2n//y6+s1NKHosQSlkhjdT6WUw2SfTa7VnKf2a3sjnc6sM0xxP Nu0M6rVdBbyG6ZOwGXXe2NCMT6DebEhMSZ5f92nUSXzZAgE78mXqNB03mUtwwASyMClw gLRwT40CWJ67LdfsvCtVAAKYDx7SkGb3JlvC4= Original-Received: by 10.210.65.9 with SMTP id n9mr7718558eba.17.1251883931795; Wed, 02 Sep 2009 02:32:11 -0700 (PDT) Original-Received: from ?192.168.1.15? (dc5146846e.adsl.wanadoo.nl [81.70.132.110]) by mx.google.com with ESMTPS id 28sm87890eyg.25.2009.09.02.02.32.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Sep 2009 02:32:10 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.936) X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:114981 Archived-At: On Sep 1, 2009, at 6:17 PM, Stefan Monnier wrote: >> I have my default-major-mode set to `org-mode'. > >> In the function where you placed your comment, I am calling >> customize-save-variable. IIRC, it happened to me that my custom >> file did not have a .el extension, and that, when the custom file >> was visited in order to write the modified variable, org-mode >> was selected for that file and messed it up, somehow. > >> I don't know if this could still happen, but I believe >> this was the issue, and to be safe I scoped a the default >> value for default-major-mode into that call. > >> What do you want me to do about it? > > Report a bug for it. I will, if that happens to me again. > >> Remove it and hope for the best, or explain it in a commentary? > > I don't have any strong opinion on it (other than the fact that > default-major-mode should be replaced by (default-value 'major-mode), > which is a bit more troublesome in let), but if you keep it, then > please > add a comment explaining that it's a workaround for a bug in cutomize > (or somesuch). OK, I got rid of this in my development version, and I will push my changes to Emacs soon. - Carsten > > > Stefan