From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: [Patch] org-protocol default template should be nil Date: Wed, 01 Sep 2010 02:15:48 +0200 Message-ID: <878w3m2ua3.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=39854 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oqazk-0000wj-Ss for emacs-orgmode@gnu.org; Tue, 31 Aug 2010 20:16:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oqazf-0001pC-Mj for emacs-orgmode@gnu.org; Tue, 31 Aug 2010 20:16:04 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:56598 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Oqazf-0001ot-B1 for emacs-orgmode@gnu.org; Tue, 31 Aug 2010 20:15:59 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode mailing list --=-=-= 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. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=org-protocol-default-template-key-nil.patch 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) --=-=-= Thanks, Sebastian --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --=-=-=--