From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs/lisp/org org.el ChangeLog Date: Tue, 01 Sep 2009 12:17:37 -0400 Message-ID: References: <76C0349A-EAD8-42DF-9E74-970F3B238EF9@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251822179 9014 80.91.229.12 (1 Sep 2009 16:22:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Sep 2009 16:22:59 +0000 (UTC) Cc: Emacs developers To: Carsten Dominik Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 01 18:22:52 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 1MiW88-0006rp-GC for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2009 18:22:48 +0200 Original-Received: from localhost ([127.0.0.1]:45884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiW87-0001gd-Ql for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2009 12:22:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiW3K-0006mA-59 for emacs-devel@gnu.org; Tue, 01 Sep 2009 12:17:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiW3F-0006hh-6n for emacs-devel@gnu.org; Tue, 01 Sep 2009 12:17:49 -0400 Original-Received: from [199.232.76.173] (port=49263 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiW3F-0006hQ-03 for emacs-devel@gnu.org; Tue, 01 Sep 2009 12:17:45 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:56477) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MiW3E-0007GA-Bx for emacs-devel@gnu.org; Tue, 01 Sep 2009 12:17:44 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n81GHcub004874; Tue, 1 Sep 2009 12:17:38 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 08B843A3A5; Tue, 1 Sep 2009 12:17:37 -0400 (EDT) In-Reply-To: <76C0349A-EAD8-42DF-9E74-970F3B238EF9@gmail.com> (Carsten Dominik's message of "Tue, 1 Sep 2009 08:49:39 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3353=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:114948 Archived-At: > 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. > 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). Stefan