From unknown Sun Aug 17 00:58:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45325: 27.1; [PATCH] Correct position commentary in ETAGS.EBNF Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Dec 2020 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45325 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 45325@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160839805322473 (code B ref -1); Sat, 19 Dec 2020 17:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Dec 2020 17:14:13 +0000 Received: from localhost ([127.0.0.1]:43042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqfo5-0005qP-17 for submit@debbugs.gnu.org; Sat, 19 Dec 2020 12:14:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:53544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqfo2-0005qG-0B for submit@debbugs.gnu.org; Sat, 19 Dec 2020 12:14:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqfo1-0001me-Qp for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 12:14:09 -0500 Received: from mout-p-101.mailbox.org ([2001:67c:2050::465:101]:65412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1kqfnz-0008PE-G9 for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 12:14:09 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4CyslY1Y6rzQlMH for ; Sat, 19 Dec 2020 18:14:01 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id wC2gArC7E5Ov for ; Sat, 19 Dec 2020 18:13:57 +0100 (CET) Date: Sat, 19 Dec 2020 18:13:56 +0100 From: Vasilij Schneidermann Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k53ZvbKjY58LMgIh" Content-Disposition: inline X-MBO-SPAM-Probability: X-Rspamd-Score: -8.17 / 15.00 / 15.00 X-Rspamd-Queue-Id: 3DA761711 X-Rspamd-UID: 52c1e9 Received-SPF: pass client-ip=2001:67c:2050::465:101; envelope-from=mail@vasilij.de; helo=mout-p-101.mailbox.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --k53ZvbKjY58LMgIh Content-Type: multipart/mixed; boundary="XhGCVTnD7iArNYly" Content-Disposition: inline --XhGCVTnD7iArNYly Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've looked into the etags format and have been happy to discover that there is actually a specification for it. There is a bug in a comment though suggesting a position is the char position followed by the line position, however it seems to be the other way around. I've looked a bit more in the grammar, but other than that it seems to be fine. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cair= o version 1.17.3) of 2020-08-28 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Arch Linux Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --with-x-toolkit=3Dgtk3 --with-xft --with-wide-int --with-modules --with-cairo --with-harfbuzz 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_MESSAGES:=20 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 45038 9719) (symbols 48 6003 1) (strings 32 15474 1855) (string-bytes 1 504110) (vectors 16 10091) (vector-slots 8 130017 12348) (floats 8 19 39) (intervals 56 196 0) (buffers 1000 11)) --XhGCVTnD7iArNYly Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-Correct-argument-order-in-comment.patch" Content-Transfer-Encoding: quoted-printable =46rom 1c91dcfdd9ad3cdd6fc2cc5e798f4a878ef5f929 Mon Sep 17 00:00:00 2001 =46rom: Vasilij Schneidermann Date: Sat, 19 Dec 2020 17:57:50 +0100 Subject: [PATCH] Correct argument order in comment * etc/ETAGS.EBNF (position): Correct comment --- etc/ETAGS.EBNF | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/ETAGS.EBNF b/etc/ETAGS.EBNF index 80deb16218..04db4e3dc8 100644 --- a/etc/ETAGS.EBNF +++ b/etc/ETAGS.EBNF @@ -52,7 +52,7 @@ pattern ::=3D regstring /* a tag pattern */ =20 tagname ::=3D regchar regstring /* a tag name */ =20 -position ::=3D realposition | "," /* charpos,linepos */ +position ::=3D realposition | "," /* linepos,charpos */ =20 realposition ::=3D "," unsint | unsint "," | unsint "," unsint =20 --=20 2.29.2 --XhGCVTnD7iArNYly-- --k53ZvbKjY58LMgIh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEE0dAcySl3bqM8O17WFmfJg6zCifoFAl/eNMwACgkQFmfJg6zC ifoiWQf/bKap/rdX0cUXA528xBGOukpAdMEZpgGfxJM9/d5G9DhEOU0ISwfOZyJk j3+37ygkNwA5IAdxvIl6DnbCXd/rsPNZxrmItIzuLy55iGNJNaBqMUTdCskO3uIP k4jwVHhvCUzNjnMEU5LrBNdf5X9qD+vCulK4VoUnzJG2Gaz3v49yFwIYnsdRb9dG 8wpgNY3TDjg3rp+mz7fRBbsw+k3GXdawjEghthdGVRI9gOp4bVhhNu2ysnLf+/0g 46Q5OBYwCS3P2K0KF//5Pa01OuSdPsZVJqYSR4nH0bBXef8jq5h+03qtgUYzfrO/ EQAi5uZNlLpr2w1hTtH6hnzEYwmdCg== =Q/6y -----END PGP SIGNATURE----- --k53ZvbKjY58LMgIh-- From unknown Sun Aug 17 00:58:34 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vasilij Schneidermann Subject: bug#45325: closed (Re: bug#45325: 27.1; [PATCH] Correct position commentary in ETAGS.EBNF) Message-ID: References: <83eejlu1xb.fsf@gnu.org> X-Gnu-PR-Message: they-closed 45325 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 45325@debbugs.gnu.org Date: Sat, 19 Dec 2020 17:44:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1608399842-25331-1" This is a multi-part message in MIME format... ------------=_1608399842-25331-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45325: 27.1; [PATCH] Correct position commentary in ETAGS.EBNF 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 45325@debbugs.gnu.org. --=20 45325: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45325 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1608399842-25331-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 45325-done) by debbugs.gnu.org; 19 Dec 2020 17:43:57 +0000 Received: from localhost ([127.0.0.1]:43080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqgGr-0006aB-8M for submit@debbugs.gnu.org; Sat, 19 Dec 2020 12:43:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqgGp-0006Zw-2F for 45325-done@debbugs.gnu.org; Sat, 19 Dec 2020 12:43:55 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58820) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqgGi-0003zl-Qn; Sat, 19 Dec 2020 12:43:48 -0500 Received: from [176.228.60.248] (port=2431 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kqgGi-0006XD-5i; Sat, 19 Dec 2020 12:43:48 -0500 Date: Sat, 19 Dec 2020 19:43:28 +0200 Message-Id: <83eejlu1xb.fsf@gnu.org> From: Eli Zaretskii To: Vasilij Schneidermann In-Reply-To: (message from Vasilij Schneidermann on Sat, 19 Dec 2020 18:13:56 +0100) Subject: Re: bug#45325: 27.1; [PATCH] Correct position commentary in ETAGS.EBNF References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45325-done Cc: 45325-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 19 Dec 2020 18:13:56 +0100 > From: Vasilij Schneidermann > > I've looked into the etags format and have been happy to discover that > there is actually a specification for it. There is a bug in a comment > though suggesting a position is the char position followed by the line > position, however it seems to be the other way around. I've looked a bit > more in the grammar, but other than that it seems to be fine. Thanks, installed on the release branch, and closing the bug. > * etc/ETAGS.EBNF (position): Correct comment Please in the future end sentences in the log message with a period (I fixed this one). ------------=_1608399842-25331-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Dec 2020 17:14:13 +0000 Received: from localhost ([127.0.0.1]:43042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqfo5-0005qP-17 for submit@debbugs.gnu.org; Sat, 19 Dec 2020 12:14:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:53544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqfo2-0005qG-0B for submit@debbugs.gnu.org; Sat, 19 Dec 2020 12:14:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqfo1-0001me-Qp for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 12:14:09 -0500 Received: from mout-p-101.mailbox.org ([2001:67c:2050::465:101]:65412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1kqfnz-0008PE-G9 for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 12:14:09 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4CyslY1Y6rzQlMH for ; Sat, 19 Dec 2020 18:14:01 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id wC2gArC7E5Ov for ; Sat, 19 Dec 2020 18:13:57 +0100 (CET) Date: Sat, 19 Dec 2020 18:13:56 +0100 From: Vasilij Schneidermann To: bug-gnu-emacs@gnu.org Subject: 27.1; [PATCH] Correct position commentary in ETAGS.EBNF Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k53ZvbKjY58LMgIh" Content-Disposition: inline X-MBO-SPAM-Probability: X-Rspamd-Score: -8.17 / 15.00 / 15.00 X-Rspamd-Queue-Id: 3DA761711 X-Rspamd-UID: 52c1e9 Received-SPF: pass client-ip=2001:67c:2050::465:101; envelope-from=mail@vasilij.de; helo=mout-p-101.mailbox.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --k53ZvbKjY58LMgIh Content-Type: multipart/mixed; boundary="XhGCVTnD7iArNYly" Content-Disposition: inline --XhGCVTnD7iArNYly Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've looked into the etags format and have been happy to discover that there is actually a specification for it. There is a bug in a comment though suggesting a position is the char position followed by the line position, however it seems to be the other way around. I've looked a bit more in the grammar, but other than that it seems to be fine. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cair= o version 1.17.3) of 2020-08-28 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Arch Linux Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --with-x-toolkit=3Dgtk3 --with-xft --with-wide-int --with-modules --with-cairo --with-harfbuzz 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fno-plt' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_MESSAGES:=20 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 45038 9719) (symbols 48 6003 1) (strings 32 15474 1855) (string-bytes 1 504110) (vectors 16 10091) (vector-slots 8 130017 12348) (floats 8 19 39) (intervals 56 196 0) (buffers 1000 11)) --XhGCVTnD7iArNYly Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-Correct-argument-order-in-comment.patch" Content-Transfer-Encoding: quoted-printable =46rom 1c91dcfdd9ad3cdd6fc2cc5e798f4a878ef5f929 Mon Sep 17 00:00:00 2001 =46rom: Vasilij Schneidermann Date: Sat, 19 Dec 2020 17:57:50 +0100 Subject: [PATCH] Correct argument order in comment * etc/ETAGS.EBNF (position): Correct comment --- etc/ETAGS.EBNF | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/ETAGS.EBNF b/etc/ETAGS.EBNF index 80deb16218..04db4e3dc8 100644 --- a/etc/ETAGS.EBNF +++ b/etc/ETAGS.EBNF @@ -52,7 +52,7 @@ pattern ::=3D regstring /* a tag pattern */ =20 tagname ::=3D regchar regstring /* a tag name */ =20 -position ::=3D realposition | "," /* charpos,linepos */ +position ::=3D realposition | "," /* linepos,charpos */ =20 realposition ::=3D "," unsint | unsint "," | unsint "," unsint =20 --=20 2.29.2 --XhGCVTnD7iArNYly-- --k53ZvbKjY58LMgIh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEE0dAcySl3bqM8O17WFmfJg6zCifoFAl/eNMwACgkQFmfJg6zC ifoiWQf/bKap/rdX0cUXA528xBGOukpAdMEZpgGfxJM9/d5G9DhEOU0ISwfOZyJk j3+37ygkNwA5IAdxvIl6DnbCXd/rsPNZxrmItIzuLy55iGNJNaBqMUTdCskO3uIP k4jwVHhvCUzNjnMEU5LrBNdf5X9qD+vCulK4VoUnzJG2Gaz3v49yFwIYnsdRb9dG 8wpgNY3TDjg3rp+mz7fRBbsw+k3GXdawjEghthdGVRI9gOp4bVhhNu2ysnLf+/0g 46Q5OBYwCS3P2K0KF//5Pa01OuSdPsZVJqYSR4nH0bBXef8jq5h+03qtgUYzfrO/ EQAi5uZNlLpr2w1hTtH6hnzEYwmdCg== =Q/6y -----END PGP SIGNATURE----- --k53ZvbKjY58LMgIh-- ------------=_1608399842-25331-1-- From unknown Sun Aug 17 00:58:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45325: 27.1; [PATCH] Correct position commentary in ETAGS.EBNF Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Dec 2020 21:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45325 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: eliz@gnu.org, 45325@debbugs.gnu.org, mail@vasilij.de Received: via spool by 45325-submit@debbugs.gnu.org id=B45325.160841375130691 (code B ref 45325); Sat, 19 Dec 2020 21:36:02 +0000 Received: (at 45325) by debbugs.gnu.org; 19 Dec 2020 21:35:51 +0000 Received: from localhost ([127.0.0.1]:43317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqjtG-0007yx-K0 for submit@debbugs.gnu.org; Sat, 19 Dec 2020 16:35:50 -0500 Received: from smtp-clients2.isti.cnr.it ([146.48.28.37]:58310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqjtD-0007yn-Go for 45325@debbugs.gnu.org; Sat, 19 Dec 2020 16:35:49 -0500 Received: from tucano.isti.cnr.it (tucano.isti.cnr.it [146.48.81.102]) (Authenticated sender: pot) by smtp-clients2.isti.cnr.it (Postfix) with ESMTPSA id B2D19B0820; Sat, 19 Dec 2020 22:35:45 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at smtp-out.isti.cnr.it Received: from pot by tucano.isti.cnr.it with local (Exim 4.94) (envelope-from ) id 1kqjtB-00Bs3V-6w; Sat, 19 Dec 2020 22:35:45 +0100 From: Francesco =?UTF-8?Q?Potort=C3=AC?= Date: Sat, 19 Dec 2020 22:35:45 +0100 In-Reply-To: <83eejlu1xb.fsf@gnu.org> (eliz@gnu.org) References: <83eejlu1xb.fsf@gnu.org> Organization: X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 Message-Id: X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) >> Date: Sat, 19 Dec 2020 18:13:56 +0100 >> From: Vasilij Schneidermann >> >> I've looked into the etags format and have been happy to discover that >> there is actually a specification for it. There is a bug in a comment >> though suggesting a position is the char position followed by the line >> position, however it seems to be the other way around. I've looked a bit >> more in the grammar, but other than that it seems to be fine. Wow. Discovered 18 years after being written!