From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Re: [PATCH] Make the latex export preprocessor rewrite #+INDEX to \index. Date: Thu, 28 Apr 2011 10:23:23 -0500 Message-ID: <4DB9866B.2080107@real-time.com> References: <1303991243-30731-1-git-send-email-rpgoldman@sift.info> <1303991243-30731-2-git-send-email-rpgoldman@sift.info> <10844.1303994001@alphaville.dokosmarshall.org> Reply-To: rpgoldman@real-time.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFT42-0005Z4-MC for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 11:23:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFT41-0007Eu-N8 for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 11:23:34 -0400 Received: from mpls.sift.info ([75.146.46.193]:38214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFT41-0007D3-HE for emacs-orgmode@gnu.org; Thu, 28 Apr 2011 11:23:33 -0400 In-Reply-To: <10844.1303994001@alphaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, rpgoldman@sift.info On 4/28/11 Apr 28 -7:33 AM, Nick Dokos wrote: > rpgoldman@sift.info wrote: > >> From: Robert P. Goldman >> >> --- >> lisp/org-latex.el | 13 +++++++++++++ >> 1 files changed, 13 insertions(+), 0 deletions(-) >> ... > > Very nice! Did a small test and it works as advertised. > > Suggestion: maybe add an "I" easy template for it? This can be done > per-user of course, so it is not strictly necessary and easy templates > are experimental anyway, but it might be a good idea to reserve the "I" > for this. Actually, it might be better to reserve "i" for this and > shift the include to "I", since there will only be a few includes but > potentially hundreds of index entries in a file. I'm not sure that this is feasible. I tried doing this and as far as I can tell the template matching is not case-sensitive. I could wrap the string-match there in a (let ((case-fold-search nil)) ...) but I'd like some advice from a core maintainer before doing this (I'll check in on IRC, too). I've got a patch ready if that's the right way to go. cheers, r