From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Emacs hangs with badly defined multi characters key hierarchy in org-capture-templates [9.0 (9.0-dist @ /cygdrive/c/Users/re/.emacs.d/site-lisp/org-9.0/lisp/)] Date: Mon, 30 Jan 2017 23:43:50 +0100 Message-ID: <87r33kp3rt.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYKg2-0005E9-NV for emacs-orgmode@gnu.org; Mon, 30 Jan 2017 17:44:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYKfx-00063B-PP for emacs-orgmode@gnu.org; Mon, 30 Jan 2017 17:43:58 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:33753) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cYKfx-000637-Iu for emacs-orgmode@gnu.org; Mon, 30 Jan 2017 17:43:53 -0500 In-Reply-To: (Roland Everaert's message of "Fri, 27 Jan 2017 14:16:06 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Roland Everaert Cc: emacs-orgmode Hello, Roland Everaert writes: > When using multicharacters keys, if a key definition entry is missing, > emacs hangs and must be killed. > > Example of an offending org-capture-templates definition: > > (setq org-capture-templates > '(("t" "Todo" entry (file+headline "~/somefile.org" "T=C3=A2ches") > "* TODO %?\n %i\n" :clock-in t :clock-resume t) > ("l" "Mail" entry (file+datetree "~/somefile.org" "Divers") > "* EMAIL %?\n %i\n" :clock-in t :clock-resume t) > ("fm" "some Menu - level 2") > ("fmm" "template defintion - level 3 " entry (file+olp "~/somefile.or= g" > "Level 1" "level 2") > "* MEETING %?\n %i\n" :clock-in t :clock-resume t) > ("fmt" "another template definition - level 3" entry (file+olp "~/ > somefile.org" "Level 1" "level 2") > "*** TODO %?\n %i\n" :clock-in t :clock-resume t))) > > The definition of the "f" key is missing. Fixed. Thank you. Regards, --=20 Nicolas Goaziou