From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Colin Fraizer" Subject: Re: Capture feature suggestion: place the mark from a template Date: Wed, 25 Apr 2012 05:22:21 -0400 Message-ID: <010e01cd22c4$ec144c20$c43ce460$@cfraizer.com> References: <00da01cd2207$7cfe04b0$76fa0e10$@cfraizer.com> <346CDE65-110E-4447-AF59-1F314016A7AA@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMyQq-0004cX-Fd for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 05:22:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMyQl-0005IE-Oj for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 05:22:40 -0400 Received: from caibbdcaaaaf.dreamhost.com ([208.113.200.5]:42702 helo=homiemail-a42.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMyQl-0005Hy-By for emacs-orgmode@gnu.org; Wed, 25 Apr 2012 05:22:35 -0400 In-Reply-To: <346CDE65-110E-4447-AF59-1F314016A7AA@gmail.com> Content-Language: en-us List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: 'Carsten Dominik' Cc: emacs-orgmode@gnu.org Nick Dokos wrote: >Maybe - but in this particular case, you could just go to the end of the >buffer with M-> (end-of-buffer), right? Yeah. I could just do that. (Blushing with embarrassment. :-) >And there might be a problem with your proposal: if I push a bunch of >marks during the capture, what happens after the capture is done? Are >they still on the stack? If so, should they be? I guess I was mostly thinking of capture using indirect buffers, which have their own marks and mark rings, right? Does ":unnarrowed" use the actual buffer instead of an indirect one? If so, I can see a couple options (and we've already established that there are lots of options I don't see): - If you don't like capture to set the mark, don't set it. :-) - Arrange for clean-up in the case of org-capture-kill and (maybe?) org-capture-finalize. Carsten Dominik wrote: >You could also use a prompt for the headline. Or we could allow several %? >in the buffer, with a simple key to jump to the next one and delete it..... Yeah, I could do that too. I don't know why I didn't consider that. I guess because I'm so used to the "pop-up" nature of the capture window. I'm not sure I would like/use the "multiple %?" approach. Another reason I can imagine for wanting to place the mark with capture is to define the region. (Being old, I'm somewhat ambivalent about this new-fangled "light-up" "active" region. :-) I can imagine wanting to place the mark and point (with %?), typing some stuff, and then wanting to M-w (kill-ring-save) that text. --Colin