From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.bugs Subject: bug#35052: [PATCH] `tex-current-defun-name' matches the wrong title Date: Sun, 31 Mar 2019 22:29:43 +0200 Message-ID: <86o95q3hzc.fsf@gnu.org> References: <86h8bk85rp.fsf@gnu.org> <834l7ji08s.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="181887"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 Cc: 35052@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 31 22:32:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hAh7o-000lCx-Al for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Mar 2019 22:32:16 +0200 Original-Received: from localhost ([127.0.0.1]:54224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAh7m-0003O9-QA for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Mar 2019 16:32:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAh7b-0003JN-Hx for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 16:32:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hAh7a-0002Mb-Oo for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 16:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53211) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hAh7a-0002MU-Im for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 16:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hAh7a-0003p5-FA for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 16:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Arash Esbati Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Mar 2019 20:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35052 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 35052-submit@debbugs.gnu.org id=B35052.155406430314671 (code B ref 35052); Sun, 31 Mar 2019 20:32:02 +0000 Original-Received: (at 35052) by debbugs.gnu.org; 31 Mar 2019 20:31:43 +0000 Original-Received: from localhost ([127.0.0.1]:38522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAh7H-0003oZ-Iq for submit@debbugs.gnu.org; Sun, 31 Mar 2019 16:31:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAh7G-0003oM-Gz for 35052@debbugs.gnu.org; Sun, 31 Mar 2019 16:31:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAh7B-0001us-87 for 35052@debbugs.gnu.org; Sun, 31 Mar 2019 16:31:37 -0400 Original-Received: from p4fe3e65b.dip0.t-ipconnect.de ([79.227.230.91]:50384 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1hAh7A-0004dB-DR; Sun, 31 Mar 2019 16:31:36 -0400 In-Reply-To: <834l7ji08s.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 31 Mar 2019 17:31:31 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:156989 Archived-At: Eli Zaretskii writes: > 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. Thanks for your response. You are right, the behavior in Texinfo mode is the same, but I think the better implementation is in `lisp-current-defun-name' which I tried to follow. I don't use TeX mode either, so I'm fine if you say "keep it as is" and we close this one. 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. Best, Arash