From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Bug: export failed when using footnotes inside src blocks [7.7] Date: Sat, 30 Jul 2011 05:00:44 -0400 Message-ID: <7790.1312016444@alphaville.dokosmarshall.org> References: <4E33BF33.2050508@htlwrn.ac.at> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn5Pg-0008PQ-I8 for emacs-orgmode@gnu.org; Sat, 30 Jul 2011 05:00:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qn5Pd-0007lT-TF for emacs-orgmode@gnu.org; Sat, 30 Jul 2011 05:00:52 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:24189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qn5Pd-0007lF-PZ for emacs-orgmode@gnu.org; Sat, 30 Jul 2011 05:00:49 -0400 In-Reply-To: Message from =?us-ascii?Q?=3D=3FUTF-8=3FB=3FR8O8bnRlciBLb2xvd?= =?us-ascii?Q?XNlaw=3D=3D=3F=3D?= of "Sat\, 30 Jul 2011 10\:22\:11 +0200." <4E33BF33.2050508@htlwrn.ac.at> 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: =?us-ascii?Q?=3D=3FUTF-8=3FB=3FR8O8bnRlciBLb2xvdXNlaw=3D=3D=3F=3D?= Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org G=C3=BCnter Kolousek wrote: >=20 > Hi, using footnotes i.e. [2] inside #+begin_src #+end_src causes errors > during export using orgmode 7.7 and tip. >=20 > G=C3=BCnter >=20 > ... >=20 > * Test > foo > #+begin_src python > lst =3D [-1, -2, 2, -3, -4] >=20 > for x in lst[:]: > if x < 0: > lst.remove(x) >=20 > print(lst) # [2] <- does not work! > #+end_src >=20 Are you saying that this worked in some earlier version and is not working in 7.7 and tip?=20 Or that you only tried it in 7.7 and tip, found that it is not working and reported it as a bug? If the former, which version was it working in? If the latter, it might very well be the case that org-mode just does not support this: whether that's a bug or a feature is in the eye of the beholder. Personally, I'd be surprised if this ever worked.[fn:1] Whether it can be made to work is another matter - but then it is not a bug report, it is a feature request. It makes a difference because it would require different methods of attacking the problem: in the first case, I'd bisect the commits to find out who broke it; in the second case, I would know it's new functionality and would just try to implement it without breaking anything else and I wouldn't go hunting for a culprit.[fn:2] Nick Footnotes: [fn:1] ... but I could be wrong. [fn:2] Note that the "I" in this paragraph is purely rhetorical.