From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: strange behaviour when customising org-agenda-custom-commands Date: Sun, 30 Dec 2007 19:47:07 +0000 Message-ID: <20071230194707.GG20947@atlantic.linksys.moosehall> References: <20071108005556.GU13544@atlantic.linksys.moosehall> <20071208183046.GC15129@atlantic.linksys.moosehall> <20071210112539.GH15129@atlantic.linksys.moosehall> <20071217140115.GF13112@atlantic.linksys.moosehall> <20071108005556.GU13544@atlantic.linksys.moosehall> <20071208183046.GC15129@atlantic.linksys.moosehall> <20071210112539.GH15129@atlantic.linksys.moosehall> Reply-To: Adam Spiers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J947s-0003qe-3J for emacs-orgmode@gnu.org; Sun, 30 Dec 2007 14:47:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J947q-0003p8-77 for emacs-orgmode@gnu.org; Sun, 30 Dec 2007 14:47:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J947p-0003op-TT for emacs-orgmode@gnu.org; Sun, 30 Dec 2007 14:47:09 -0500 Received: from mail.beimborn.com ([70.84.38.100]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J947p-0000O1-G6 for emacs-orgmode@gnu.org; Sun, 30 Dec 2007 14:47:09 -0500 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id lBUJl8UZ011827 for ; Sun, 30 Dec 2007 13:47:08 -0600 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id lBUJl7Og011821 for emacs-orgmode@gnu.org; Sun, 30 Dec 2007 19:47:07 GMT Content-Disposition: inline In-Reply-To: <20071217140115.GF13112@atlantic.linksys.moosehall> <20071210112539.GH15129@atlantic.linksys.moosehall> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode mailing list [moving thread to the list in case anyone else can shed light] Adam Spiers wrote: > On Mon, Dec 17, 2007 at 01:49:49PM +0100, Carsten Dominik wrote: > > On Dec 10, 2007 12:25 PM, Adam Spiers wrote: > > > On Sat, Dec 08, 2007 at 06:30:46PM +0000, Adam Spiers wrote: > > > > On Tue, Nov 13, 2007 at 12:38:06PM +0100, Carsten Dominik wrote: > > > > > On 8Nov2007, at 1:55 AM, Adam Spiers wrote: > > > > > > I haven't figured out how to reproduce this reliably yet, but there > > > > > > seems to be a bug in 5.13h where when customizing > > > > > > org-agenda-custom-commands, sometimes during a Set or Save (not sure > > > > > > which) all the prefix key documentation entries vanish. Any ideas why > > > > > > this would happen? > > > > > > > > > > any more constraints on this? > > > > > > > > Not yet sorry - when I find time to finishing customization of > > > > org-agenda-custom-commands off, I'll try to debug it more fully and > > > > let you know. > > > > > > I think I may have figured it out as being a general issue with emacs > > > custom mode. If you edit a custom variable as a lisp expression, then > > > change back to normal view without doing "Set for Current Session" > > > then it loses all the changes you made to the elisp sexp. Can you > > > reproduce that? > > > > I don't even need to check, this is how customize is supposed to work. > > Before using set for current session, nothing changes internally, and > > when you switch to a different view, th current internal value is used > > to produce the view. > > Yep, I should have guessed from the wording "Show Saved Lisp > Expression". I'm pretty sure this is what caused the loss of config, > but if I see it still happening I'll let you know. Thanks. Argh, it just happened again with 5.17a! And it was definitely only (and all) the prefix key documentation entries which vanished, such as ("#" . "TODOs by priority") Additionally I have been most careful to regularly save customizations since the discussion above, so I'm now sure that there is a bug somewhere after all; I just don't know how to trigger it. Is the defcustom definition for prefix key documentation definitely correct?