From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Minor gotcha with org-agenda-files Date: Sun, 23 Jan 2011 11:53:43 +0100 Message-ID: References: <87ipxgg15u.fsf@pinto.chemeng.ucl.ac.uk> <87lj2clyru.fsf@ucl.ac.uk> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=37324 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgxZu-00063n-T4 for emacs-orgmode@gnu.org; Sun, 23 Jan 2011 05:53:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PgxZt-0001Yn-Cc for emacs-orgmode@gnu.org; Sun, 23 Jan 2011 05:53:50 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:59005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PgxZt-0001YT-4O for emacs-orgmode@gnu.org; Sun, 23 Jan 2011 05:53:49 -0500 Received: by ewy27 with SMTP id 27so1456654ewy.0 for ; Sun, 23 Jan 2011 02:53:47 -0800 (PST) In-Reply-To: <87lj2clyru.fsf@ucl.ac.uk> 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: Eric S Fraga Cc: emacs-orgmode@gnu.org, Tommy Kelly On Jan 23, 2011, at 11:06 AM, Eric S Fraga wrote: > suvayu ali writes: > >> Hi Tommy and Eric, >> >> On Sat, Jan 22, 2011 at 8:59 PM, Eric S Fraga >> wrote: >>> Tommy Kelly writes: >>> >>>> suvayu ali writes: >>>> >>>>> This is nothing org specific. Its how customise works. This is the >>>>> reason people are encouraged to _not_ mix customise with setq. I >>>>> for >>>>> example use customise for everything except org settings. >>>> >>>> Ah but hang on. >>>> >>>> First, is it reasonable to consider it obvious (I mean, it wasn't >>>> to me) >>>> that using C-c [ invokes customize? >>>> >>>> Second, even if it is reasonable, isn't it the case that customize >>>> offers a temporary change of variables? You have to explicitly >>>> ask it to >>>> make the change permanent, no? >>> >>> It would indeed be friendlier if this were done here as well. >>> >> >> I am not familiar with how to interface ui with customize so I don't >> know whether its possible or not, but there are many instances in >> emacs where this is done as standard practice. For example marking >> certain file local variables as safe, or turning on some special >> behaviour when invoked for the first time (e.g. side scrolling). >> However I do recall all of these prompts the user whether they want >> to >> keep the settings temporary or make it permanent. So I would say >> its a >> Request for Feature Enhancement / Bug rather than a mere >> documentation >> bug. > > Yes, I think this is the key aspect: all other instances of commands > in > Emacs modifying the .emacs file, that I am aware of, indicate they are > about to do so although sometimes in a roundabout kind of way > (e.g. "make this change permanent"). > > So, can we have a feature request for this? A simple y-or-n-p type > prompt would suffice. I can follow the arguments here. However: The problem I see is that if you do this command a few times and reply "n", but then, during the same session, you add another file and say "y", then also the previous, supposedly "non-permanent" changes will become permanent because they are in that same variable org-agenda-files. To cleanly implement adding files only for a session and to independently add a file to the permanent set would require more complex changes to the agenda file list stuff. What I usually do it I want to work temporarily with a file is restricting to that file with `C-c C-x <'. Then I work only with that file, which is usually good enough until I switch back to my more permanent list. If we add a query, but I would like to be able to turn that query off. - Carsten > > -- > Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode