[Top][All Lists]

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

[Orgmode] [Patch] org-protocol default template should be nil

From: Sebastian Rose
Subject: [Orgmode] [Patch] org-protocol default template should be nil
Date: Wed, 01 Sep 2010 02:15:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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.

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)



reply via email to

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