emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien Guerry <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: [Accepted] org-protocol default template should be nil
Date: Thu,  2 Sep 2010 16:46:20 +0200 (CEST)	[thread overview]
Message-ID: <20100902144620.B0AF649FF3@myhost.localdomain> (raw)
In-Reply-To: 878w3m2ua3.fsf@gmx.de

Patch 249 (http://patchwork.newartisans.com/patch/249/) is now "Accepted".

Maintainer comment: none

This relates to the following submission:

http://mid.gmane.org/%3C878w3m2ua3.fsf%40gmx.de%3E

Here is the original message containing the patch:

> Content-Type: text/plain; charset="utf-8"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Subject: [Orgmode] org-protocol default template should be nil
> Date: Wed, 01 Sep 2010 05:15:48 -0000
> From: Sebastian Rose <sebastian_rose@gmx.de>
> X-Patchwork-Id: 249
> Message-Id: <878w3m2ua3.fsf@gmx.de>
> To: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
> 
> Hi Carsten,
> 
> 
> this little patch fixes an issue Richard brought up.
> 
> We always used the "w" template as the default for `org-remember' and
> also used it for `org-capture' for historical reasons.
> 
> Unfortunately, this breaks, if the user has no "w" template defined.
> 
> The patch below simply set's the custom variable
> `org-protocol-default-template-key' to nil, so the interactive template
> selection is used by default.  This works for both, remember an capture.
> 
> I will adjust the docs, once the patch is applied.
> Thanks,
> 
>   Sebastian
> 
> 
> diff --git a/lisp/org-protocol.el b/lisp/org-protocol.el
> index 3f240fd..21f28e7 100644
> --- a/lisp/org-protocol.el
> +++ b/lisp/org-protocol.el
> @@ -260,7 +260,7 @@ Here is an example:
>    :group 'org-protocol
>    :type '(alist))
>  
> -(defcustom org-protocol-default-template-key "w"
> +(defcustom org-protocol-default-template-key nil
>    "The default org-remember-templates key to use."
>    :group 'org-protocol
>    :type 'string)
> 

  parent reply	other threads:[~2010-09-02 14:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-01  0:15 [Patch] org-protocol default template should be nil Sebastian Rose
2010-09-01  5:10 ` Richard Riley
2010-09-01  6:38   ` David Maus
2010-09-02 14:46 ` Bastien Guerry [this message]
2010-09-02 14:51 ` Bastien
2010-09-02 23:53   ` Sebastian Rose

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=20100902144620.B0AF649FF3@myhost.localdomain \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /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).