From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vasilij Schneidermann Newsgroups: gmane.emacs.bugs Subject: bug#45325: 27.1; [PATCH] Correct position commentary in ETAGS.EBNF Date: Sat, 19 Dec 2020 18:13:56 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="k53ZvbKjY58LMgIh" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6570"; mail-complaints-to="usenet@ciao.gmane.io" To: 45325@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 19 18:15:30 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kqfpJ-0001bG-Ss for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 18:15:29 +0100 Original-Received: from localhost ([::1]:59402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqfpI-0001tx-Um for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Dec 2020 12:15:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqfot-0001tQ-2t for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 12:15:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59732) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqfos-0008Ts-Q0 for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 12:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqfos-0005ry-LU for bug-gnu-emacs@gnu.org; Sat, 19 Dec 2020 12:15:02 -0500 X-Loop: help-debbugs@gnu.org 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 X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160839805322473 (code B ref -1); Sat, 19 Dec 2020 17:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Dec 2020 17:14:13 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Content-Disposition: inline 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196398 Archived-At: --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--