From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: interaction between org-latex-custom-lang-environments and name when exporting to latex Date: Fri, 20 Nov 2015 11:41:24 +0100 Message-ID: <877fld3qcr.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzj8Y-0002b2-4W for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 05:41:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zzj8T-0005s5-5P for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 05:41:50 -0500 Received: from plane.gmane.org ([80.91.229.3]:45803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zzj8S-0005rx-Ur for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 05:41:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zzj8N-0003lW-3y for emacs-orgmode@gnu.org; Fri, 20 Nov 2015 11:41:39 +0100 Received: from 62.80.108.15 ([62.80.108.15]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2015 11:41:39 +0100 Received: from rasmus by 62.80.108.15 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Nov 2015 11:41:39 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Alan Schmitt writes: > I was wondering if someone had been able to reproduce this, and if so > should I file it as a bug? Sure. It's how org-latex-src-block handles custom environments (see "Case 2."). At the moment this is hardcoded. Perhaps the second element of org-latex-custom-lang-environments should allow a format string, so that an element could be something like, (emacs-lisp "\begin{common-lisp-code}[myoptions, label=%l] %s \end{common-lisp-code}") (modulus escaping). WDYT? Rasmus -- If you can mix business and politics wonderful things can happen!