From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: cautionary tale: avoid creating/using a macro called "title" Date: Thu, 22 Mar 2018 12:12:58 +0000 Message-ID: <87370s8g1h.fsf@gmail.com> References: <87y3iuh82n.fsf@gmail.com> <87po3y5jaw.fsf@gnu.org> <87vadp7kvc.fsf@delle7240.chemeng.ucl.ac.uk> <87k1u4wlsx.fsf@gnu.org> <87woy48nyc.fsf@ucl.ac.uk> <87d0zwv41o.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eyz5e-000098-7J for emacs-orgmode@gnu.org; Thu, 22 Mar 2018 08:13:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eyz5b-0004pl-11 for emacs-orgmode@gnu.org; Thu, 22 Mar 2018 08:13:06 -0400 In-Reply-To: <87d0zwv41o.fsf@gnu.org> (Bastien's message of "Thu, 22 Mar 2018 10:43:31 +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: Bastien Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thursday, 22 Mar 2018 at 10:43, Bastien wrote: > I hate to suggest this, but could there be something wrong in your > installation? Hi Bastien, don't hesitate at all to suggest this! There's always that possibility. :-( I don't think I have a mixed installation although I'm not sure how to verify this. Now, the really interesting thing is that if I use emacs -Q and try exporting the file with the version of org that comes with the latest emacs snapshot, GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.29) o= f 2018-03-18, unofficial emacs-snapshot build: http://emacs.secretsauce.net Org mode version 9.1.6 (release_9.1.6-50-g96b33f @ /usr/share/emacs/27.0= .50/lisp/org/) the export works!=20=20 If I emacs -Q and make sure the load path points to the git version of org, it doesn't work. When I do so, I have=20 Org mode version 9.1.6 (release_9.1.6-341-g3a4fd3 @ /home/ucecesf/git/o= rg-mode/lisp/) and git status says: =2D-8<---------------cut here---------------start------------->8--- On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean =2D-8<---------------cut here---------------end--------------->8--- I do not understand why the org version is not 9.1.8. What does your say? >> In any case, no worries as simply changing the macro name (& subsequent >> use) to titlecontents or similar does the job. > > Well, even if the workaround works, I think we should prevent Org from > crashing here. Indeed, but I am stuck as to how to proceed. Suggestions welcome, of course! Thanks, eric =2D-=20 Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-341-g3a4fd3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWrOdygAKCRDIkZPY//z2 fV3mAJ4qTSTxZICHh4EY+5llGBINNN98IQCfSbOt47mEuhSYW9dGPs7Chb6RKJ8= =hRRa -----END PGP SIGNATURE----- --=-=-=--