[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-AUCTeX] bug#19178: [no label inserted] (was: bug#19178: 11.88; 11.8
From: |
Uwe Brauer |
Subject: |
[Bug-AUCTeX] bug#19178: [no label inserted] (was: bug#19178: 11.88; 11.88 Xemacs 11.88 problem with env and labels) |
Date: |
Tue, 25 Nov 2014 15:52:39 +0100 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) XEmacs/21.5-b33 (linux) |
> Hi Uwe,
> 2014-11-25 15:11 GMT+01:00 Uwe Brauer <address@hidden>:
> 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)
This seems not to work. Here is my new setting:
(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 'environment)
(newline-and-indent)))
(LaTeX-insert-environment "rem")
(and (LaTeX-label environment 'environment)
(newline-and-indent))))
However the following gets inserted:
\begin{rem}[Blabla]
\end{rem}
That is NO label.
- [Bug-AUCTeX] bug#19178: 11.88; 11.88 Xemacs 11.88 problem with env and labels, Uwe Brauer, 2014/11/25
- [Bug-AUCTeX] bug#19178: 11.88; 11.88 Xemacs 11.88 problem with env and labels, Mosè Giordano, 2014/11/25
- Message not available
- [Bug-AUCTeX] bug#19178: [no label inserted] (was: bug#19178: 11.88; 11.88 Xemacs 11.88 problem with env and labels),
Uwe Brauer <=
- bug#19178: [no label inserted] (was: bug#19178: 11.88; 11.88 Xemacs 11.88 problem with env and labels), Mosè Giordano, 2014/11/25
- bug#19178: closed (Re: bug#19178: 11.88; 11.88 Xemacs 11.88 problem with env and labels), Mosè Giordano, 2014/11/25
- bug#19178: closed (Re: bug#19178: 11.88; 11.88 Xemacs 11.88 problem with env and labels), Uwe Brauer, 2014/11/25
- bug#19178: [no label inserted], Uwe Brauer, 2014/11/25
- bug#19178: closed (Re: bug#19178: 11.88; 11.88 Xemacs 11.88 problem with env and labels), Uwe Brauer, 2014/11/26