GNU bug report logs -
#35052
[PATCH] `tex-current-defun-name' matches the wrong title
Previous Next
Reported by: Arash Esbati <arash <at> gnu.org>
Date: Sat, 30 Mar 2019 20:32:02 UTC
Severity: normal
Tags: patch
Done: Arash Esbati <arash <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#35052: [PATCH] `tex-current-defun-name' matches the wrong title
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 35052 <at> debbugs.gnu.org.
--
35052: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35052
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Arash Esbati <arash <at> gnu.org>
>> Cc: 35052 <at> debbugs.gnu.org
>> Date: Sun, 31 Mar 2019 22:29:43 +0200
>>
>> While we're at it: "bug#34790: LaTeX mode \href bug" is actually an
>> AUCTeX issue which is already resolved. I didn't want to close it as
>> I'm not a regular in this list (not even sure if I could do it). Can
>> you please close that report as well? TIA.
>
> You can always close a bug by sending email to
> NNNN-done <at> debbugs.gnu.org, where NNNN is the bug number.
I wasn't sure if *I*'m allowed to that. I've closed #34790 and I'm
closing this one as well. Again, thanks for your attention.
Best, Arash
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Hi all,
please consider this LaTeX file with the latex-mode provided by Emacs
(not AUCTeX).
--8<---------------cut here---------------start------------->8---
\documentclass{article}
\begin{document}
\section{Emacs}
\subsection*[Emacs is the extensible, customizable, self-documenting
real-time display editor]{Emacs is the extensible, customizable,
self-documenting real-time display editor}
\end{document}
--8<---------------cut here---------------end--------------->8---
In that buffer, eval (goto-char 68) and hit `C-x 4 a'. Emacs enters the
first section (section{Emacs}) into the ChangeLog buffer. I think
`tex-current-defun-name' could be more cautious like
`lisp-current-defun-name' is. A possible patch is attached. I will add
something like this also to AUCTeX since it currently doesn't set
`add-log-current-defun-function' at all.
Any comments welcome.
Best, Arash
[0001-Match-the-correct-sectioning-command.patch (text/x-patch, attachment)]
This bug report was last modified 6 years and 111 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.