From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Suggestion with bad patch for org-remember-templates Date: Mon, 5 Jan 2009 19:41:09 +0100 Message-ID: <94C56E04-418A-4121-AC31-9F2FCD6D8EB4@uva.nl> References: <20090103184536.GA2267@yog-sothoth.mohorovi.cc> <744DA4F1-2D49-41BC-B2DD-209F97812DA0@uva.nl> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJuO4-0001od-Cj for emacs-orgmode@gnu.org; Mon, 05 Jan 2009 13:41:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LJuO2-0001oR-To for emacs-orgmode@gnu.org; Mon, 05 Jan 2009 13:41:15 -0500 Received: from [199.232.76.173] (port=42981 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJuO2-0001oO-OP for emacs-orgmode@gnu.org; Mon, 05 Jan 2009 13:41:14 -0500 Received: from ey-out-1920.google.com ([74.125.78.146]:22817) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LJuO2-0001fY-7n for emacs-orgmode@gnu.org; Mon, 05 Jan 2009 13:41:14 -0500 Received: by ey-out-1920.google.com with SMTP id 4so897568eyg.24 for ; Mon, 05 Jan 2009 10:41:13 -0800 (PST) In-Reply-To: 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: Wes Hardaker Cc: emacs-orgmode list On Jan 5, 2009, at 5:31 PM, Wes Hardaker wrote: >>>>>> On Sun, 4 Jan 2009 08:23:04 +0100, Carsten Dominik >>>>> > said: > > CD> I think it would be better not to use the remember buffer for > this, > CD> but another, dedicated, temporary buffer. > > Why would it matter though? You're already opening and displaying > it... Granted, you could stop doing that. > > The only benefit to using another buffer is if the person canceled the > request (ctrl-g) in mid-selection then the original contents of the > remember buffer would be unaltered. There are more reasons why it matters. It is possible to make setup that will pop up the remember buffer in a different/new frame, but you might still want to have the template selection in your current frame. Also, it is allowed to call org-remember again in an existing remember buffer, to apply a new template to the existing context. Most of all, it is much cleaner this way. A dispatcher splash screen is by definition a one-off temporary buffer. Creating and displaying temporary buffer is very cheap and easily done, and it is the standard way to do this kind of stuff. I have reasonably strong feelings about this, because at the beginning of my career, I did work with legacy computer codes which where done in the old days when dynamic allocation was not possible and computer memory was small, so people would write programs where the same vector was used for different purposes, in different locations of the program... :-) > -- > "In the bathtub of history the truth is harder to hold than the soap, > and much more difficult to find." -- Terry Pratchett I do love this citation in your signature...... - Carsten