emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Sebastian Rose <sebastian_rose@gmx.de>
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [Patch] Kill capture-template selection buffer after C-g
Date: Sat, 26 Jun 2010 07:18:52 +0200	[thread overview]
Message-ID: <8C49BAEC-86E3-4276-9388-FF947B18CE33@gmail.com> (raw)
In-Reply-To: <87mxuibwg1.fsf@gmx.de>

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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

      reply	other threads:[~2010-06-26  5:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-25 22:04 [Patch] Kill capture-template selection buffer after C-g Sebastian Rose
2010-06-26  5:18 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8C49BAEC-86E3-4276-9388-FF947B18CE33@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sebastian_rose@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).