From: Eli Zaretskii <eliz@gnu.org>
To: Arash Esbati <arash@gnu.org>
Cc: 35052@debbugs.gnu.org
Subject: bug#35052: [PATCH] `tex-current-defun-name' matches the wrong title
Date: Sun, 31 Mar 2019 17:31:31 +0300 [thread overview]
Message-ID: <834l7ji08s.fsf@gnu.org> (raw)
In-Reply-To: <86h8bk85rp.fsf@gnu.org> (message from Arash Esbati on Sat, 30 Mar 2019 21:30:02 +0100)
> From: Arash Esbati <arash@gnu.org>
> Date: Sat, 30 Mar 2019 21:30:02 +0100
>
> --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 don't use TeX mode, so I don't really mind, but please note that the
current behavior is consistent with Texinfo mode's equivalent: it also
detects only the @node in which point is located.
next prev parent reply other threads:[~2019-03-31 14:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-30 20:30 bug#35052: [PATCH] `tex-current-defun-name' matches the wrong title Arash Esbati
2019-03-31 14:31 ` Eli Zaretskii [this message]
2019-03-31 20:29 ` Arash Esbati
2019-04-01 4:09 ` Eli Zaretskii
2019-04-01 19:21 ` Arash Esbati
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=834l7ji08s.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=35052@debbugs.gnu.org \
--cc=arash@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.