From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xavier Maillard Subject: Re: Define org-capture-templates with variables via customize Date: Sat, 04 Apr 2015 23:54:41 +0200 Message-ID: <867ftr7e5a.fsf@kcals2.maillard.im> References: <86oanbxh56.fsf@kcals2.maillard.im> <87sicm35h6.fsf@alphaville.usersys.redhat.com> <87r3s5xngy.fsf@nicolasgoaziou.fr> <864moz3xk7.fsf@kcals2.maillard.im> <87ego2x4iq.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeW1e-00070j-1J for emacs-orgmode@gnu.org; Sat, 04 Apr 2015 17:54:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YeW1a-0000I8-QR for emacs-orgmode@gnu.org; Sat, 04 Apr 2015 17:54:45 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:36547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YeW1a-0000I4-My for emacs-orgmode@gnu.org; Sat, 04 Apr 2015 17:54:42 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D4CAF20772 for ; Sat, 4 Apr 2015 17:54:38 -0400 (EDT) In-reply-to: <87ego2x4iq.fsf@nicolasgoaziou.fr> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Nick Dokos , emacs-orgmode@gnu.org Nicolas Goaziou writes: > Xavier Maillard writes: > >> Nicolas Goaziou writes: >> >>> Hello, >>> >>> Nick Dokos writes: >>> >>>> Trying to just read Xavier's email message in Gnus, I get the following >>>> backtrace (with unprintable characters replaced by periods) - to me, this >>>> looks like a bug somewhere, but not sure where: >>>> >>>> Debugger entered--Lisp error: (error "Before first headline at position 114 in buffer *fontification*<2>") >>> >>> Fixed in c1a744659d2b44c067ecb195b3e5d51e837bddd1. Thank you. >> >> Glad you fixed that bug. Now that I am visible, is there any way to achieve what I need >> ? :D > > I don't think so. You are trying to mix two different concepts. > Customize is self-contained and generally helps users to avoid Elisp. > OTOH when you're defining a new variable, you embrace Elisp. I do embrace Elisp from time to time but I do not want to clutter my init files :) Ok, sounds like there is something I can /hack/ to permit such thing then. Update: I finally got it running as I wanted to through an ugly hack. Regards -- Xavier.