From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: [Accepted] org-protocol default template should be nil Date: Thu, 2 Sep 2010 16:46:20 +0200 (CEST) Message-ID: <20100902144620.B0AF649FF3@myhost.localdomain> References: <878w3m2ua3.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=56172 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrBCm-0003Fa-8D for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 10:56:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrB3T-00072e-4j for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 10:46:20 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:47582) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrB3S-00072T-W6 for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 10:46:19 -0400 Received: by wyb36 with SMTP id 36so422965wyb.0 for ; Thu, 02 Sep 2010 07:46:18 -0700 (PDT) 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@gnu.org 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 > X-Patchwork-Id: 249 > Message-Id: <878w3m2ua3.fsf@gmx.de> > 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. > 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) >