GNU bug report logs - #19178
11.88; 11.88 Xemacs 11.88 problem with env and labels

Previous Next

Package: auctex;

Reported by: Uwe Brauer <oub <at> mat.ucm.es>

Date: Tue, 25 Nov 2014 14:13:01 UTC

Severity: normal

Merged with 19199

Found in version 11.88

Done: Mosè Giordano <mose <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 19178-done <at> debbugs.gnu.org (full text, mbox):

From: Mosè Giordano <mose <at> gnu.org>
To: 19178-done <at> debbugs.gnu.org
Subject: Re: bug#19178: 11.88; 11.88 Xemacs 11.88 problem with env and labels
Date: Tue, 25 Nov 2014 15:29:59 +0100
Hi Uwe,

2014-11-25 15:11 GMT+01:00 Uwe Brauer <oub <at> mat.ucm.es>:
>
>
> Hello
>
> I used for years the following function
>
> (defun LaTeX-rem-insert (environment)   ;Version:1.20
>   (if (y-or-n-p
>            (format "Do you want a title "))
>           (let ((title (read-input " Title: ")))
>                 (LaTeX-insert-environment "rem" (concat "[" title "]"))
>                 (and (LaTeX-label environment)
>                          (newline-and-indent)))
>     (LaTeX-insert-environment "rem")
>     (and (LaTeX-label environment)
>        (newline-and-indent))))
>
> Which worked till version 11.87, however in 11.88 an error is triggered
> which I attach below.

This is not a bug: `LaTeX-label' now has two arguments, the label to
be inserted and the type, either environment or section, so you have
to replace your call to `LaTeX-label' with
    (LaTeX-label environment 'environment)

Bye,
Mosè




This bug report was last modified 10 years and 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.