emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [Patch] Kill capture-template selection buffer after C-g


From: Carsten Dominik
Subject: Re: [Orgmode] [Patch] Kill capture-template selection buffer after C-g
Date: Sat, 26 Jun 2010 07:18:52 +0200

Applied, with modification, thanks

- Carsten

On Jun 26, 2010, at 12:04 AM, Sebastian Rose wrote:


`C-c c' brings up the template selection.  If you press `C-g' to quit
capturing, the buffer is not deleted.  Instead the old window
configuration is restored and the buffer is the second on the buffer
stack.  `C-x b' switches to the selection buffer again surprisingly.


The appended patch fixes this issue. Carsten: this patch depends on the
currently undocumented return value of
`org-switch-to-buffer-other-window' (the newly created buffer).  I'd
suggest to either document it (see the second patch) or alter the patch:

  (setq buffer (get-buffer "*Org Select*"))


<org-mks.el-kill-Org-Select-buffer.patch><org.el-document-return- value-of-function.patch>

Best wishes

 Sebastian


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten






reply via email to

[Prev in Thread] Current Thread [Next in Thread]