From unknown Mon Jun 23 06:03:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21454: 25.0.50; `parse-colon-path' fails with paths containing consecutive directory separators Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Sep 2015 11:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21454@debbugs.gnu.org Cc: "C. Calancha" X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144188357021814 (code B ref -1); Thu, 10 Sep 2015 11:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Sep 2015 11:12:50 +0000 Received: from localhost ([127.0.0.1]:54549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZZzmb-0005fm-N8 for submit@debbugs.gnu.org; Thu, 10 Sep 2015 07:12:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41206) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZZzmZ-0005fc-0e for submit@debbugs.gnu.org; Thu, 10 Sep 2015 07:12:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZzmX-00045I-CM for submit@debbugs.gnu.org; Thu, 10 Sep 2015 07:12:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59437) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZzmX-00045E-9S for submit@debbugs.gnu.org; Thu, 10 Sep 2015 07:12:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZzmV-0005no-Qc for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2015 07:12:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZzmR-000444-O2 for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2015 07:12:43 -0400 Received: from calancha-ilc.kek.jp ([130.87.234.234]:58174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZzmR-000430-7P for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2015 07:12:39 -0400 Received: by calancha-ilc.kek.jp (Postfix, from userid 500) id 6497DB79B; Thu, 10 Sep 2015 20:15:42 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by calancha-ilc.kek.jp (Postfix) with ESMTP id 4E4B7B798; Thu, 10 Sep 2015 20:15:42 +0900 (JST) Date: Thu, 10 Sep 2015 20:15:42 +0900 (JST) From: Tino Calancha X-X-Sender: calancha@calancha-ilc.kek.jp Message-ID: User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="1468197610-1601033166-1441883742=:22763" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.0 (----) --1468197610-1601033166-1441883742=:22763 Content-Type: text/plain; format=flowed; charset=US-ASCII Implementation use `substitute-in-file-name' which substitute environment variables but also drop all in front of consecutive directory separators (up to the last of those dir. separators). The documentation of `parse-colon-path' dont mention about that behaviour. In unix systems there is no difference between: I) /foo//bar/baz II) /foo/bar/baz `substitute-in-file-name' would translate I) into: /bar/baz In case path to parse contains an environment variable: FOO=/foo/bar BAZ=/foo/bar/ A) path="$FOO/bin" ; works (FOO is a directory file name) B) path="$BAZ/bin" ; fails (FOO is not a directory file name) Observed same behaviour on this fuction in emacs versions: 19, 20, 21, 22, 23, 24 and 25. Attached patch calls `substitute-env-in-file-name' instead of `substitute-in-file-name' and it returns same values for inputs I) and II) or A) and B). ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In *scratch* buffer after started session with: emacs -Q (let* ((foo "/foo/bar//baz/:/qux/quux/corge//")) ; '//' (setenv "FOO" foo) (parse-colon-path (getenv "FOO"))) ("/baz/" "/") (let ((foo "/foo/bar/baz/qux/:/quux/corge/:/grault/graply/waldo")) ; `ok' (setenv "FOO" foo) (parse-colon-path "$FOO")) ("/foo/bar/baz/qux/:/quux/corge/:/grault/graply/waldo/") (let ((foo "/foo/bar/baz/qux/:/quux/corge/:/grault/graply/waldo/")) ; end with '/' and `parse-colon-path' add another (setenv "FOO" foo) (parse-colon-path "$FOO")) ("/") (let ((foo "/foo/bar/baz/qux/:/quux/corge/:/grault/graply/waldo/")) ; `getenv' makes it work somehow (setenv "FOO" foo) (parse-colon-path (getenv "FOO"))) ("/foo/bar/baz/qux/" "/quux/corge/" "/grault/graply/waldo/") (let ((foo "/foo/bar/baz//qux/:/quux/corge/:/grault/garply/waldo/")) ; `getenv' dont help with '//' (setenv "FOO" foo) (parse-colon-path (getenv "FOO"))) ("/qux/" "/quux/corge/" "/grault/garply/waldo/") (let ((foo "/foo/bar/baz//qux/:/quux/corge/:/grault/garply/waldo")) ; '//' (setenv "FOO" foo) (parse-colon-path "$FOO")) ("/qux/:/quux/corge/:/grault/garply/waldo/") (let* ((foo "/foo/bar") ; `ok' foo not end with '/' (bar "$FOO/baz/qux/:/quux/corge/")) (setenv "FOO" foo) (setenv "BAR" bar) (parse-colon-path (getenv "BAR"))) ("/foo/bar/baz/qux/" "/quux/corge/") (let* ((foo "/foo/bar/") ; foo ends with '/' (bar "$FOO/baz/qux/:/quux/corge/")) (setenv "FOO" foo) (setenv "BAR" bar) (parse-colon-path (getenv "BAR"))) ("/baz/qux/" "/quux/corge/") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) of 2015-09-10 Repository revision: f962c5d6472804f788cdd54631bcc46aab5f59ce Windowing system distributor 'Scientific Linux', version 11.0.11500000 System Description: Scientific Linux release 6.7 (Carbon) Configured using: 'configure --without-makeinfo --with-gif=no' Configured features: XPM JPEG TIFF PNG IMAGEMAGICK SOUND DBUS GCONF NOTIFY LIBSELINUX LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 Important settings: value of $LANG: en_US.utf8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-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 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. is undefined Quit completing-read-default: Command attempted to use minibuffer while in minibuffer user-error: Beginning of history; no preceding item Quit [2 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 80421 12421) (symbols 48 18940 0) (miscs 40 39 110) (strings 32 12495 3997) (string-bytes 1 361986) (vectors 16 11158) (vector-slots 8 408984 7901) (floats 8 131 123) (intervals 56 192 0) (buffers 976 12) (heap 1024 26696 621)) --1468197610-1601033166-1441883742=:22763 Content-Type: text/plain; charset=US-ASCII; name=files.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=files.patch LS0tIGZpbGVzLmVsCTIwMTUtMDktMTAgMTk6MzE6MDYuNTY5NjUwOTYyICsw OTAwDQorKysgZmlsZXNfcGF0Y2hlZC5lbAkyMDE1LTA5LTEwIDIwOjAxOjAw LjMwMzY1MDc0OCArMDkwMA0KQEAgLTY2Nyw3ICs2NjcsOCBAQA0KICAgIlZh bHVlIG9mIHRoZSBDRFBBVEggZW52aXJvbm1lbnQgdmFyaWFibGUsIGFzIGEg bGlzdC4NCiBOb3QgYWN0dWFsbHkgc2V0IHVwIHVudGlsIHRoZSBmaXJzdCB0 aW1lIHlvdSB1c2UgaXQuIikNCiANCi0oZGVmdW4gcGFyc2UtY29sb24tcGF0 aCAoc2VhcmNoLXBhdGgpDQorKHJlcXVpcmUgJ2VudikNCisoZGVmdW4gbXlw YXJzZS1jb2xvbi1wYXRoMiAoc2VhcmNoLXBhdGgpDQogICAiRXhwbG9kZSBh IHNlYXJjaCBwYXRoIGludG8gYSBsaXN0IG9mIGRpcmVjdG9yeSBuYW1lcy4N CiBEaXJlY3RvcmllcyBhcmUgc2VwYXJhdGVkIGJ5IGBwYXRoLXNlcGFyYXRv cicgKHdoaWNoIGlzIGNvbG9uIGluDQogR05VIGFuZCBVbml4IHN5c3RlbXMp LiAgU3Vic3RpdHV0ZSBlbnZpcm9ubWVudCB2YXJpYWJsZXMgaW50byB0aGUN CkBAIC02NzUsMTAgKzY3NiwxMiBAQA0KIGEgbGVhZGluZyBvciB0cmFpbGlu ZyBzZXBhcmF0b3IsIG9yIHR3byBhZGphY2VudCBzZXBhcmF0b3JzKSwgcmV0 dXJuDQogbmlsIChtZWFuaW5nIGBkZWZhdWx0LWRpcmVjdG9yeScpIGFzIHRo ZSBhc3NvY2lhdGVkIGxpc3QgZWxlbWVudC4iDQogICAod2hlbiAoc3RyaW5n cCBzZWFyY2gtcGF0aCkNCi0gICAgKG1hcGNhciAobGFtYmRhIChmKQ0KLQkg ICAgICAoaWYgKGVxdWFsICIiIGYpIG5pbA0KLQkJKHN1YnN0aXR1dGUtaW4t ZmlsZS1uYW1lIChmaWxlLW5hbWUtYXMtZGlyZWN0b3J5IGYpKSkpDQotCSAg ICAoc3BsaXQtc3RyaW5nIHNlYXJjaC1wYXRoIHBhdGgtc2VwYXJhdG9yKSkp KQ0KKyAgICAobGV0KiAoKHBhdGgtbGlzdCAgICAgICAgKG1hcGNhciAnc3Vi c3RpdHV0ZS1lbnYtdmFycyAoc3BsaXQtc3RyaW5nIHNlYXJjaC1wYXRoIHBh dGgtc2VwYXJhdG9yKSkpDQorICAgICAgICAgICAoc2VhcmNoLXBhdGgtc3Vi ICAobWFwY29uY2F0ICdpZGVudGl0eSBwYXRoLWxpc3QgcGF0aC1zZXBhcmF0 b3IpKSkNCisgICAgICAobWFwY2FyIChsYW1iZGEgKGYpDQorICAgICAgICAg ICAgICAgIChpZiAoZXF1YWwgIiIgZikgbmlsDQorICAgICAgICAgICAgICAg ICAgKGV4cGFuZC1maWxlLW5hbWUgKGZpbGUtbmFtZS1hcy1kaXJlY3Rvcnkg ZikpKSkNCisgICAgICAgICAgICAgIChzcGxpdC1zdHJpbmcgc2VhcmNoLXBh dGgtc3ViIHBhdGgtc2VwYXJhdG9yKSkpKSkNCiANCiAoZGVmdW4gY2QtYWJz b2x1dGUgKGRpcikNCiAgICJDaGFuZ2UgY3VycmVudCBkaXJlY3RvcnkgdG8g Z2l2ZW4gYWJzb2x1dGUgZmlsZSBuYW1lIERJUi4iDQo= --1468197610-1601033166-1441883742=:22763-- From unknown Mon Jun 23 06:03:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21454: (no subject) References: In-Reply-To: Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Sep 2015 12:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21454@debbugs.gnu.org Cc: "C. Calancha" Received: via spool by 21454-submit@debbugs.gnu.org id=B21454.14418891313440 (code B ref 21454); Thu, 10 Sep 2015 12:46:01 +0000 Received: (at 21454) by debbugs.gnu.org; 10 Sep 2015 12:45:31 +0000 Received: from localhost ([127.0.0.1]:54618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Za1EI-0000tQ-Dv for submit@debbugs.gnu.org; Thu, 10 Sep 2015 08:45:31 -0400 Received: from calancha-ilc.kek.jp ([130.87.234.234]:51722) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Za1EF-0000tG-IR for 21454@debbugs.gnu.org; Thu, 10 Sep 2015 08:45:28 -0400 Received: by calancha-ilc.kek.jp (Postfix, from userid 500) id 18F0DB799; Thu, 10 Sep 2015 21:48:32 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by calancha-ilc.kek.jp (Postfix) with ESMTP id 0341942F; Thu, 10 Sep 2015 21:48:32 +0900 (JST) Date: Thu, 10 Sep 2015 21:48:31 +0900 (JST) From: Tino Calancha X-X-Sender: calancha@calancha-ilc.kek.jp Message-ID: User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="1468197610-1176952358-1441889312=:23072" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Previous patch renamed `parse-colon-path' with a different name. Attached the patch using the right name. --- files.el 2015-09-10 19:31:06.569650962 +0900 +++ files_patched.el 2015-09-10 21:42:02.045650024 +0900 @@ -667,6 +667,7 @@ "Value of the CDPATH environment variable, as a list. Not actually set up until the first time you use it.") [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (f92capac[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Previous patch renamed `parse-colon-path' with a different name. Attached the patch using the right name. --- files.el 2015-09-10 19:31:06.569650962 +0900 +++ files_patched.el 2015-09-10 21:42:02.045650024 +0900 @@ -667,6 +667,7 @@ "Value of the CDPATH environment variable, as a list. Not actually set up until the first time you use it.") [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (f92capac[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject --1468197610-1176952358-1441889312=:23072 Content-Type: text/plain; format=flowed; charset=US-ASCII Previous patch renamed `parse-colon-path' with a different name. Attached the patch using the right name. --1468197610-1176952358-1441889312=:23072 Content-Type: text/plain; charset=US-ASCII; name=files.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=files.patch LS0tIGZpbGVzLmVsCTIwMTUtMDktMTAgMTk6MzE6MDYuNTY5NjUwOTYyICsw OTAwDQorKysgZmlsZXNfcGF0Y2hlZC5lbAkyMDE1LTA5LTEwIDIxOjQyOjAy LjA0NTY1MDAyNCArMDkwMA0KQEAgLTY2Nyw2ICs2NjcsNyBAQA0KICAgIlZh bHVlIG9mIHRoZSBDRFBBVEggZW52aXJvbm1lbnQgdmFyaWFibGUsIGFzIGEg bGlzdC4NCiBOb3QgYWN0dWFsbHkgc2V0IHVwIHVudGlsIHRoZSBmaXJzdCB0 aW1lIHlvdSB1c2UgaXQuIikNCiANCisocmVxdWlyZSAnZW52KQ0KIChkZWZ1 biBwYXJzZS1jb2xvbi1wYXRoIChzZWFyY2gtcGF0aCkNCiAgICJFeHBsb2Rl IGEgc2VhcmNoIHBhdGggaW50byBhIGxpc3Qgb2YgZGlyZWN0b3J5IG5hbWVz Lg0KIERpcmVjdG9yaWVzIGFyZSBzZXBhcmF0ZWQgYnkgYHBhdGgtc2VwYXJh dG9yJyAod2hpY2ggaXMgY29sb24gaW4NCkBAIC02NzUsMTAgKzY3NiwxMiBA QA0KIGEgbGVhZGluZyBvciB0cmFpbGluZyBzZXBhcmF0b3IsIG9yIHR3byBh ZGphY2VudCBzZXBhcmF0b3JzKSwgcmV0dXJuDQogbmlsIChtZWFuaW5nIGBk ZWZhdWx0LWRpcmVjdG9yeScpIGFzIHRoZSBhc3NvY2lhdGVkIGxpc3QgZWxl bWVudC4iDQogICAod2hlbiAoc3RyaW5ncCBzZWFyY2gtcGF0aCkNCi0gICAg KG1hcGNhciAobGFtYmRhIChmKQ0KLQkgICAgICAoaWYgKGVxdWFsICIiIGYp IG5pbA0KLQkJKHN1YnN0aXR1dGUtaW4tZmlsZS1uYW1lIChmaWxlLW5hbWUt YXMtZGlyZWN0b3J5IGYpKSkpDQotCSAgICAoc3BsaXQtc3RyaW5nIHNlYXJj aC1wYXRoIHBhdGgtc2VwYXJhdG9yKSkpKQ0KKyAgICAobGV0KiAoKHBhdGgt bGlzdCAgICAgICAgKG1hcGNhciAnc3Vic3RpdHV0ZS1lbnYtdmFycyAoc3Bs aXQtc3RyaW5nIHNlYXJjaC1wYXRoIHBhdGgtc2VwYXJhdG9yKSkpDQorICAg ICAgICAgICAoc2VhcmNoLXBhdGgtc3ViICAobWFwY29uY2F0ICdpZGVudGl0 eSBwYXRoLWxpc3QgcGF0aC1zZXBhcmF0b3IpKSkNCisgICAgICAobWFwY2Fy IChsYW1iZGEgKGYpDQorICAgICAgICAgICAgICAgIChpZiAoZXF1YWwgIiIg ZikgbmlsDQorICAgICAgICAgICAgICAgICAgKGV4cGFuZC1maWxlLW5hbWUg KGZpbGUtbmFtZS1hcy1kaXJlY3RvcnkgZikpKSkNCisgICAgICAgICAgICAg IChzcGxpdC1zdHJpbmcgc2VhcmNoLXBhdGgtc3ViIHBhdGgtc2VwYXJhdG9y KSkpKSkNCiANCiAoZGVmdW4gY2QtYWJzb2x1dGUgKGRpcikNCiAgICJDaGFu Z2UgY3VycmVudCBkaXJlY3RvcnkgdG8gZ2l2ZW4gYWJzb2x1dGUgZmlsZSBu YW1lIERJUi4iDQo= --1468197610-1176952358-1441889312=:23072-- From unknown Mon Jun 23 06:03:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21454: 25.0.93; `parse-colon-path' over dirs with 2 consecutive dir sep References: In-Reply-To: Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Apr 2016 17:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21454@debbugs.gnu.org Cc: patchwork@newartisans.com, tino.calancha@gmail.com Received: via spool by 21454-submit@debbugs.gnu.org id=B21454.14615187337942 (code B ref 21454); Sun, 24 Apr 2016 17:26:02 +0000 Received: (at 21454) by debbugs.gnu.org; 24 Apr 2016 17:25:33 +0000 Received: from localhost ([127.0.0.1]:45202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auNmm-000242-Mf for submit@debbugs.gnu.org; Sun, 24 Apr 2016 13:25:32 -0400 Received: from calancha-ilc.kek.jp ([130.87.234.234]:35138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auNkg-00020n-MO for 21454@debbugs.gnu.org; Sun, 24 Apr 2016 13:23:23 -0400 Received: by calancha-ilc.kek.jp (Postfix, from userid 500) id 63EA072D6; Mon, 25 Apr 2016 02:26:30 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by calancha-ilc.kek.jp (Postfix) with ESMTP id 45A71421C; Mon, 25 Apr 2016 02:26:30 +0900 (JST) Date: Mon, 25 Apr 2016 02:26:30 +0900 (JST) From: Tino Calancha X-X-Sender: calancha@calancha-ilc.kek.jp Message-ID: User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="1468197610-2121233049-1461518790=:17821" X-Spam-Score: 1.0 (+) X-Mailman-Approved-At: Sun, 24 Apr 2016 13:25:30 -0400 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: 1.0 (+) --1468197610-2121233049-1461518790=:17821 Content-Type: text/plain; format=flowed; charset=US-ASCII There are 2 typos in previous report: >B) path="$BAZ/bin" ; fails (FOO is not a directory file name) Should be: B) path="$BAZ/bin" ; fails (BAZ is not a directory file name) >let ((foo "/foo/bar/baz/qux/:/quux/corge/:/grault/graply/waldo")) ; `ok' > (setenv "FOO" foo) > (parse-colon-path "$FOO")) >("/foo/bar/baz/qux/:/quux/corge/:/grault/graply/waldo/") It's _not_ ok: `parse-colon-path' returns list with 1 element (don't split on ':'). New patch applied over previous tests returns: ("/foo/bar/baz/" "/qux/quux/corge/") ("/foo/bar/baz/qux/" "/quux/corge/" "/grault/graply/waldo/") ("/foo/bar/baz/qux/" "/quux/corge/" "/grault/graply/waldo/") ("/foo/bar/baz/qux/" "/quux/corge/" "/grault/graply/waldo/") ("/foo/bar/baz/qux/" "/quux/corge/" "/grault/garply/waldo/") ("/foo/bar/baz/qux/" "/quux/corge/" "/grault/garply/waldo/") ("/foo/bar/baz/qux/" "/quux/corge/") ("/foo/bar/baz/qux/" "/quux/corge/") In GNU Emacs 25.0.93.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.30) of 2016-04-25 built on calancha-pc Repository revision: 0cd2e923dba8d8c7128b0c084ce6af22069e8db5 --1468197610-2121233049-1461518790=:17821 Content-Type: text/plain; charset=US-ASCII; name=files.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=files.patch ZGlmZiAtLWdpdCBhL2xpc3AvZmlsZXMuZWwgYi9saXNwL2ZpbGVzLmVsDQpp bmRleCA1Y2RkMzg0Li43ZDkyNTM1IDEwMDY0NA0KLS0tIGEvbGlzcC9maWxl cy5lbA0KKysrIGIvbGlzcC9maWxlcy5lbA0KQEAgLTY3NSwxMCArNjc1LDE0 IEBAIHBhcnNlLWNvbG9uLXBhdGgNCiBhIGxlYWRpbmcgb3IgdHJhaWxpbmcg c2VwYXJhdG9yLCBvciB0d28gYWRqYWNlbnQgc2VwYXJhdG9ycyksIHJldHVy bg0KIG5pbCAobWVhbmluZyBgZGVmYXVsdC1kaXJlY3RvcnknKSBhcyB0aGUg YXNzb2NpYXRlZCBsaXN0IGVsZW1lbnQuIg0KICAgKHdoZW4gKHN0cmluZ3Ag c2VhcmNoLXBhdGgpDQotICAgIChtYXBjYXIgKGxhbWJkYSAoZikNCi0JICAg ICAgKGlmIChlcXVhbCAiIiBmKSBuaWwNCi0JCShzdWJzdGl0dXRlLWluLWZp bGUtbmFtZSAoZmlsZS1uYW1lLWFzLWRpcmVjdG9yeSBmKSkpKQ0KLQkgICAg KHNwbGl0LXN0cmluZyBzZWFyY2gtcGF0aCBwYXRoLXNlcGFyYXRvcikpKSkN CisgICAgKGxldCAoKHBhdGggKG1hcGNvbmNhdCAnaWRlbnRpdHkNCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAobWFwY2FyICdzdWJzdGl0dXRlLWVu di12YXJzDQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAo c3BsaXQtc3RyaW5nIHNlYXJjaC1wYXRoIHBhdGgtc2VwYXJhdG9yKSkNCisg ICAgICAgICAgICAgICAgICAgICAgICAgICBwYXRoLXNlcGFyYXRvcikpKQ0K KyAgICAgIChtYXBjYXIgKGxhbWJkYSAoZikNCisgICAgICAgICAgICAgICAg KGlmIChlcXVhbCAiIiBmKSBuaWwNCisgICAgICAgICAgICAgICAgICAoZmls ZS1uYW1lLWFzLWRpcmVjdG9yeSAoZXhwYW5kLWZpbGUtbmFtZSBmKSkpKQ0K KyAgICAgICAgICAgICAgKHNwbGl0LXN0cmluZyBwYXRoIHBhdGgtc2VwYXJh dG9yKSkpKSkNCiANCiAoZGVmdW4gY2QtYWJzb2x1dGUgKGRpcikNCiAgICJD aGFuZ2UgY3VycmVudCBkaXJlY3RvcnkgdG8gZ2l2ZW4gYWJzb2x1dGUgZmls ZSBuYW1lIERJUi4iDQo= --1468197610-2121233049-1461518790=:17821-- From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 25 18:14:42 2016 Received: (at control) by debbugs.gnu.org; 25 Apr 2016 22:14:42 +0000 Received: from localhost ([127.0.0.1]:46982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auom9-0003Ya-Vx for submit@debbugs.gnu.org; Mon, 25 Apr 2016 18:14:42 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:48899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auom7-0003YI-J1 for control@debbugs.gnu.org; Mon, 25 Apr 2016 18:14:39 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1auom5-0000QA-2p for control@debbugs.gnu.org; Tue, 26 Apr 2016 00:14:38 +0200 Date: Tue, 26 Apr 2016 00:14:36 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #21454 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (/) tags 21454 patch From unknown Mon Jun 23 06:03:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21454: 25.1.50; `parse-colon-path' fails with file names containing multiple consecutive "/" References: In-Reply-To: Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Sep 2016 08:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 21454@debbugs.gnu.org Cc: tino.calancha@gmail.com Received: via spool by 21454-submit@debbugs.gnu.org id=B21454.147375694130839 (code B ref 21454); Tue, 13 Sep 2016 08:56:02 +0000 Received: (at 21454) by debbugs.gnu.org; 13 Sep 2016 08:55:41 +0000 Received: from localhost ([127.0.0.1]:58194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjjVF-00081K-7D for submit@debbugs.gnu.org; Tue, 13 Sep 2016 04:55:41 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjjVD-000816-3a for 21454@debbugs.gnu.org; Tue, 13 Sep 2016 04:55:39 -0400 Received: by mail-pf0-f196.google.com with SMTP id z84so1002162pfi.2 for <21454@debbugs.gnu.org>; Tue, 13 Sep 2016 01:55:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:user-agent:mime-version; bh=uF7MRGIR5RuztRMrJLbNmY+IPbw08VYZYTToRfW3TNY=; b=xJ6r43Xe0chbh1XmjpeSSnU55STmTeWhucuYfh4qy+j1vh6tlem6Gg9mOdjAZGw51H GQS0zJyJx1LYCxNwcbKvYF+2RMgT6ECDH1EKllmQi4Zv4CSkGaij7eHUpcZWK0maktfj iNFl7a4nxQdtJk+Dy5TKDlRErhn65T4gnTFV58K4rS/Tbua7sakVQYPkUKu0vDWngWlt B5HLFmHB5k37jWpuU7h7Tx/OxJOscu7+P4E071e8I+yHMDS8GfxRqZAERiPCbH00uIum 1lNK8AkrY58Fkum5tXpu4/6FKVBSK81f7GgdaXzZaxIae2Bn1Q8/ju8ye1wD8FrGgi0t mWpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:message-id:user-agent :mime-version; bh=uF7MRGIR5RuztRMrJLbNmY+IPbw08VYZYTToRfW3TNY=; b=QKfWMABWGDEESoO3S1D3FBc6Q+A/257XDGVi7AZ2Ae3FbOSgU8F6qgRvn6J7rLl3Io b4S/7Qxz+bVweVmL07/ilTdHf233+fugKoH0ngT3cJRSFHQjh6v3IRQl70NN5RXQCOYC CVNCfHKQaYNSVBiVK6kf1Fn3dSRRT0Hj9fJ4i3RKA8swz8sEf+SGdn0xzf3vYeot0/95 PDrU3l/BABe7cytUWMVyL5KyQxMWpnhPurveO5gQgwtHf4Ay17m6+bw4GLwYvnXvxMvj CdKoDso6tHhb2JdyD6RA6xKQCw7zIeUKOoECgCblTeaI1dRRldUWFn0usi5nHnGpzmmf g8Zg== X-Gm-Message-State: AE9vXwPppYPTAX6j2rt7GnUnXPnW+jOZEvGt12FqZLJEh3mFVJURC0HiI2n5jnh8ddJTIA== X-Received: by 10.98.213.68 with SMTP id d65mr30723304pfg.112.1473756933321; Tue, 13 Sep 2016 01:55:33 -0700 (PDT) Received: from calancha-pc (57.92.100.220.dy.bbexcite.jp. [220.100.92.57]) by smtp.gmail.com with ESMTPSA id y184sm29552356pfg.94.2016.09.13.01.55.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Sep 2016 01:55:32 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Tue, 13 Sep 2016 17:55:30 +0900 (JST) X-X-Sender: calancha@calancha-pc Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: -0.7 (/) 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.7 (/) A new patch handling multiple "/" in front of a dir as it was done before: collapse multiple "/" in front of the directory. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >From c363eee16029566be565ef37bec7952fdb630bb1 Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Tue, 13 Sep 2016 17:40:55 +0900 Subject: [PATCH] parse-colon-path: Handle a dir with 2 consecutive dir separator Do not truncate /foo//bar to /bar/ * lisp/files.el (parse-colon-path): Use substitute-env-vars and expand-file-name instead of substitute-in-file-name (Bug#21454). --- lisp/files.el | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/lisp/files.el b/lisp/files.el index 4bd708d..79e5abf 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -672,10 +672,17 @@ parse-colon-path a leading or trailing separator, or two adjacent separators), return nil (meaning `default-directory') as the associated list element." (when (stringp search-path) - (mapcar (lambda (f) - (if (equal "" f) nil - (substitute-in-file-name (file-name-as-directory f)))) - (split-string search-path path-separator)))) + (let ((spath (substitute-env-vars search-path))) + (mapcar (lambda (f) + (if (equal "" f) nil + (let ((dir (expand-file-name (file-name-as-directory f)))) + ;; Previous implementation used `substitute-in-file-name' + ;; which collapse multiple "/" in front. Do the same for + ;; backward compatibility. + (while (and (char-equal ?/ (aref dir 0)) + (char-equal ?/ (aref dir 1))) + (setq dir (substring dir 1))) dir))) + (split-string spath path-separator))))) (defun cd-absolute (dir) "Change current directory to given absolute file name DIR." -- 2.9.3 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.21.5) of 2016-09-13 Repository revision: ead76c4603f2c4a1761ab8a7dd5cf6f56e782fb2 From unknown Mon Jun 23 06:03:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21454: 25.1.50; `parse-colon-path' fails with file names containing multiple consecutive "/" Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Sep 2016 09:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Tino Calancha Cc: 21454@debbugs.gnu.org Received: via spool by 21454-submit@debbugs.gnu.org id=B21454.1473758192345 (code B ref 21454); Tue, 13 Sep 2016 09:17:01 +0000 Received: (at 21454) by debbugs.gnu.org; 13 Sep 2016 09:16:32 +0000 Received: from localhost ([127.0.0.1]:58198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjjpP-00005V-WE for submit@debbugs.gnu.org; Tue, 13 Sep 2016 05:16:32 -0400 Received: from mx2.suse.de ([195.135.220.15]:36682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjjpN-00005M-IE for 21454@debbugs.gnu.org; Tue, 13 Sep 2016 05:16:30 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 70A99ACBE; Tue, 13 Sep 2016 09:16:28 +0000 (UTC) From: Andreas Schwab References: X-Yow: As a FAD follower, my BEVERAGE choices are rich and fulfilling! Date: Tue, 13 Sep 2016 11:16:28 +0200 In-Reply-To: (Tino Calancha's message of "Tue, 13 Sep 2016 17:55:30 +0900 (JST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.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: -4.6 (----) On Sep 13 2016, Tino Calancha wrote: > diff --git a/lisp/files.el b/lisp/files.el > index 4bd708d..79e5abf 100644 > --- a/lisp/files.el > +++ b/lisp/files.el > @@ -672,10 +672,17 @@ parse-colon-path > a leading or trailing separator, or two adjacent separators), return > nil (meaning `default-directory') as the associated list element." > (when (stringp search-path) > - (mapcar (lambda (f) > - (if (equal "" f) nil > - (substitute-in-file-name (file-name-as-directory f)))) > - (split-string search-path path-separator)))) > + (let ((spath (substitute-env-vars search-path))) > + (mapcar (lambda (f) > + (if (equal "" f) nil > + (let ((dir (expand-file-name (file-name-as-directory > f)))) > + ;; Previous implementation used > `substitute-in-file-name' > + ;; which collapse multiple "/" in front. Do the same > for > + ;; backward compatibility. > + (while (and (char-equal ?/ (aref dir 0)) > + (char-equal ?/ (aref dir 1))) > + (setq dir (substring dir 1))) dir))) aref signals an error if dir is too short. You can also avoid the loop if you write it as (if (string-match "\\`/+" dir) (substring dir (1- (match-end 0))) dir). Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From unknown Mon Jun 23 06:03:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21454: 25.1.50; `parse-colon-path' fails with file names containing multiple consecutive "/" Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Sep 2016 09:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Andreas Schwab Cc: 21454@debbugs.gnu.org, Tino Calancha Received: via spool by 21454-submit@debbugs.gnu.org id=B21454.14737596242571 (code B ref 21454); Tue, 13 Sep 2016 09:41:02 +0000 Received: (at 21454) by debbugs.gnu.org; 13 Sep 2016 09:40:24 +0000 Received: from localhost ([127.0.0.1]:58215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjkCV-0000fO-Kw for submit@debbugs.gnu.org; Tue, 13 Sep 2016 05:40:23 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:34364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjkCT-0000f6-Va for 21454@debbugs.gnu.org; Tue, 13 Sep 2016 05:40:22 -0400 Received: by mail-pa0-f46.google.com with SMTP id wk8so6296133pab.1 for <21454@debbugs.gnu.org>; Tue, 13 Sep 2016 02:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=MR8Agy0mY9Gp0pgpaaM8XB38+yUjwqrM3YhjA5LFb8Y=; b=ePg+LlAaPaFEvajh2nj6o9cZYk9Ml9u4y9YgnnXdbcmqmBbLyK0DRW2t7UFhIFFwZx 5+pI9fl+EXGWEwqCDpx/HZzEXijjyF+T5j9SSSy/fxWqcyYk6QOCfQYkDcjzwzut+QYs fUqE30rWQ6aGja17db02sA+0YkRZ4pGmLbhVrl4ESb2E30eefti0aP8YIx9H/8P48Ufu Hjo6qoTDI05VY6ZMz/ytnnibtUFPjU+aVXXNrrsvJoPjI+JJPryQ5ySxl5rtLPNTy+Ls LQyFFpWqgbqX5WguD/4xLHNYhc9AUZUM6y+EbVKokIL6hTgy/g27qi8/oBJFsHlT/G1A rAMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=MR8Agy0mY9Gp0pgpaaM8XB38+yUjwqrM3YhjA5LFb8Y=; b=Vh0imN/BT5kp/K4ntN1YBplgSQ7dmHCzET064KY84P+7aY2pY9wXckeOIBhrzaaq9x 0D8gu8ao3CJAb846xLqmM76pFKkG0Y2bBr7VjiBJk3PbR7vQXAkVnxISs1YLcHis6SJf ToxS0Gc5U5EPIAnFSNAnNiZNxJxAQIwUsoxiruWa1uv3XIgi6sEcNbf36cvMi+sBHvQK xXzdIMZ8IX6+NJOlC1BGYldS9AzTBK4mICg9GsPe+7zDJdI8MZvts6ILT9yq/YGingYr zoOv1HNNbkWifFS0htuWFpVh433XnM9SikDwvHUlX9EXcIgrz8RuFILmZ+6eR4hnaObi 9lWg== X-Gm-Message-State: AE9vXwPhmdD9c7n7hFGbo11eDpkF8TLA+2gRfuEikjAhUGyNUSVDVgysrjtVJnNEI5ZGLA== X-Received: by 10.66.249.74 with SMTP id ys10mr42483464pac.29.1473759615948; Tue, 13 Sep 2016 02:40:15 -0700 (PDT) Received: from calancha-pc (57.92.100.220.dy.bbexcite.jp. [220.100.92.57]) by smtp.gmail.com with ESMTPSA id o5sm29882570pfb.9.2016.09.13.02.40.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Sep 2016 02:40:15 -0700 (PDT) From: Tino Calancha X-Google-Original-From: Tino Calancha Date: Tue, 13 Sep 2016 18:40:12 +0900 (JST) X-X-Sender: calancha@calancha-pc In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: -0.7 (/) 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.7 (/) On Tue, 13 Sep 2016, Andreas Schwab wrote: > On Sep 13 2016, Tino Calancha wrote: > >> + ;; backward compatibility. >> + (while (and (char-equal ?/ (aref dir 0)) >> + (char-equal ?/ (aref dir 1))) >> + (setq dir (substring dir 1))) dir))) > aref signals an error if dir is too short. You can also avoid the loop > if you write it as (if (string-match "\\`/+" dir) (substring > dir (1- (match-end 0))) dir). Indeed. Thank you very much! Here is the new patch: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >From 9adbc52a3b7a744fddc6f6692d53bc6617d5892c Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Tue, 13 Sep 2016 18:34:29 +0900 Subject: [PATCH] parse-colon-path: Handle a dir with 2 consecutive dir separator Do not truncate /foo//bar to /bar/ * lisp/files.el (parse-colon-path): Use substitute-env-vars and expand-file-name instead of substitute-in-file-name (Bug#21454). --- lisp/files.el | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lisp/files.el b/lisp/files.el index 4bd708d..7b84ae5 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -672,10 +672,16 @@ parse-colon-path a leading or trailing separator, or two adjacent separators), return nil (meaning `default-directory') as the associated list element." (when (stringp search-path) - (mapcar (lambda (f) - (if (equal "" f) nil - (substitute-in-file-name (file-name-as-directory f)))) - (split-string search-path path-separator)))) + (let ((spath (substitute-env-vars search-path))) + (mapcar (lambda (f) + (if (equal "" f) nil + (let ((dir (expand-file-name (file-name-as-directory f)))) + ;; Previous implementation used `substitute-in-file-name' + ;; which collapse multiple "/" in front. Do the same for + ;; backward compatibility. + (if (string-match "\\`/+" dir) + (substring dir (1- (match-end 0))) dir)))) + (split-string spath path-separator))))) (defun cd-absolute (dir) "Change current directory to given absolute file name DIR." -- 2.9.3 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.21.5) of 2016-09-13 Repository revision: ead76c4603f2c4a1761ab8a7dd5cf6f56e782fb2 From unknown Mon Jun 23 06:03:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21454: 25.1.50; `parse-colon-path' fails with file names containing multiple consecutive "/" Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Aug 2017 01:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Tino Calancha Cc: Andreas Schwab , 21454@debbugs.gnu.org Received: via spool by 21454-submit@debbugs.gnu.org id=B21454.150414170411180 (code B ref 21454); Thu, 31 Aug 2017 01:09:01 +0000 Received: (at 21454) by debbugs.gnu.org; 31 Aug 2017 01:08:24 +0000 Received: from localhost ([127.0.0.1]:35531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnDy3-0002uG-Va for submit@debbugs.gnu.org; Wed, 30 Aug 2017 21:08:24 -0400 Received: from mail-io0-f193.google.com ([209.85.223.193]:36442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnDy2-0002u4-JW for 21454@debbugs.gnu.org; Wed, 30 Aug 2017 21:08:22 -0400 Received: by mail-io0-f193.google.com with SMTP id 2so2617626ion.3 for <21454@debbugs.gnu.org>; Wed, 30 Aug 2017 18:08:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=q1yK719SE2d+lc+FJdy4c5jaRerX6/1OpM48fe/J6I0=; b=TmNH88a5GRSeX3ccOhHcXxWWfFOigBobuhnNucXvF8OcdFEbDT2+f/JLda6MWSeZ9h qfRLweziIuEjzFE6TJmGQuUxlqN58ZWReAZW2k698+yezqH6K0r77gP94aeH9/JgCnVV P9+LKtE85qBzqCpXEe5bAW9l7qXPTyyefMntZHIwAhxhF+wkIY+AdbEN15C/FuDz9kb+ R87jtjQ3RBsXZMw6eHBoWhxsoPEVm8/5jrl0UPjTd3/9XCMtBleLND2yG2i/HDzMv12S 747ol6lI4stWDEQCeUCjZOsqvOCU7AnEDhholOWFc1U304KRT9V8SVv0lNmU3ay+0PKZ UUSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=q1yK719SE2d+lc+FJdy4c5jaRerX6/1OpM48fe/J6I0=; b=t49eVB2haU8AIoRG9oVzQovGZp3CEcK6kCYO7z6RsQXCCVftjGx4d83qUDWwzVUlAB ikIrt3AkwtLerknKZqcC2JizJMp9PFNhx9Ph3XO+Yq1DqatQ3HJRbZOUS6pTl29qIgAh KwJ+4GFhfbNg0/xzBT0QNG5qQAjVSaui1Lua51TAHHDAsl0P4ia/N80w5LkK0ZHq4jMt kopC6Mj/YxlK0lNWvHmBUYRVShu69XDQPHDdp70/naN1NKYGIAAVT/gmUkF4OOuFR7eD 6K4NOGm5DuI6AHUuskjSyp0uPOMa1RoCQAXx0y8FSebSF8WEBvj6niM+7b8vrHBL7KRu brHQ== X-Gm-Message-State: AHPjjUhg+AyOVSGEIJkyngLxL3bxIR8rOyQzrvVedoQbUoLig9i3sXYF ec27zbmTBSlmjj4F X-Received: by 10.107.170.166 with SMTP id g38mr2375845ioj.215.1504141696891; Wed, 30 Aug 2017 18:08:16 -0700 (PDT) Received: from zony ([45.2.119.49]) by smtp.googlemail.com with ESMTPSA id k79sm88731itb.3.2017.08.30.18.08.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Aug 2017 18:08:16 -0700 (PDT) From: npostavs@users.sourceforge.net References: Date: Wed, 30 Aug 2017 21:09:57 -0400 In-Reply-To: (Tino Calancha's message of "Tue, 13 Sep 2016 18:40:12 +0900 (JST)") Message-ID: <87pobc7day.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.1 (--) 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.1 (--) Tino Calancha writes: > Indeed. Thank you very much! > Here is the new patch: I guess this could be pushed? From unknown Mon Jun 23 06:03:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21454: 25.1.50; `parse-colon-path' fails with file names containing multiple consecutive "/" Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Jun 2019 15:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Tino Calancha Cc: Andreas Schwab , 21454@debbugs.gnu.org Received: via spool by 21454-submit@debbugs.gnu.org id=B21454.156147653524820 (code B ref 21454); Tue, 25 Jun 2019 15:29:02 +0000 Received: (at 21454) by debbugs.gnu.org; 25 Jun 2019 15:28:55 +0000 Received: from localhost ([127.0.0.1]:33243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfnNO-0006SE-AS for submit@debbugs.gnu.org; Tue, 25 Jun 2019 11:28:54 -0400 Received: from quimby.gnus.org ([80.91.231.51]:51396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfnNM-0006S5-7j for 21454@debbugs.gnu.org; Tue, 25 Jun 2019 11:28:52 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hfnNH-0001Lt-0Z; Tue, 25 Jun 2019 17:28:49 +0200 From: Lars Ingebrigtsen References: Date: Tue, 25 Jun 2019 17:28:46 +0200 In-Reply-To: (Tino Calancha's message of "Tue, 13 Sep 2016 18:40:12 +0900 (JST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Tino Calancha writes: > Do not truncate /foo//bar to /bar/ > * lisp/files.el (parse-colon-path): Use substitute-env-vars and > expand-file-name instead of substitute-in-file-name (Bug#21454). Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.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: -1.0 (-) Tino Calancha writes: > Do not truncate /foo//bar to /bar/ > * lisp/files.el (parse-colon-path): Use substitute-env-vars and > expand-file-name instead of substitute-in-file-name (Bug#21454). The bug report was slightly unclear, but I think the taste case was (parse-colon-path "/foo//bar/baz") => ("/bar/baz/") and that being a mistake? But I'm not sure it is -- In Emacs, if you do that in, say, find-file, you'll end up in /bar/baz, and that's by design. But I may have misread what this was about... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Mon Jun 23 06:03:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21454: 25.1.50; `parse-colon-path' fails with file names containing multiple consecutive "/" Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Jun 2019 16:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lars Ingebrigtsen Cc: 21454@debbugs.gnu.org, Tino Calancha Received: via spool by 21454-submit@debbugs.gnu.org id=B21454.156148018023969 (code B ref 21454); Tue, 25 Jun 2019 16:30:02 +0000 Received: (at 21454) by debbugs.gnu.org; 25 Jun 2019 16:29:40 +0000 Received: from localhost ([127.0.0.1]:33384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfoKB-0006EX-Le for submit@debbugs.gnu.org; Tue, 25 Jun 2019 12:29:39 -0400 Received: from mx2.suse.de ([195.135.220.15]:53872 helo=mx1.suse.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfoK9-0006ED-UX for 21454@debbugs.gnu.org; Tue, 25 Jun 2019 12:29:38 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 07628AECD; Tue, 25 Jun 2019 16:29:32 +0000 (UTC) From: Andreas Schwab References: X-Yow: YOW!! Up ahead! It's a DONUT HUT!! Date: Tue, 25 Jun 2019 18:29:31 +0200 In-Reply-To: (Lars Ingebrigtsen's message of "Tue, 25 Jun 2019 17:28:46 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) 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 (---) On Jun 25 2019, Lars Ingebrigtsen wrote: > Tino Calancha writes: > >> Do not truncate /foo//bar to /bar/ >> * lisp/files.el (parse-colon-path): Use substitute-env-vars and >> expand-file-name instead of substitute-in-file-name (Bug#21454). > > The bug report was slightly unclear, but I think the taste case was > > (parse-colon-path "/foo//bar/baz") > => ("/bar/baz/") > > and that being a mistake? But I'm not sure it is -- In Emacs, if you do > that in, say, find-file, you'll end up in /bar/baz, and that's by > design. For file names coming from outside the double slash should not be special. For example, `emacs foo//bar' visits the file `foo/bar', not `/bar'. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From unknown Mon Jun 23 06:03:33 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21454: 25.1.50; `parse-colon-path' fails with file names containing multiple consecutive "/" Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Aug 2020 12:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Andreas Schwab Cc: 21454@debbugs.gnu.org, Tino Calancha Received: via spool by 21454-submit@debbugs.gnu.org id=B21454.159723686330986 (code B ref 21454); Wed, 12 Aug 2020 12:55:02 +0000 Received: (at 21454) by debbugs.gnu.org; 12 Aug 2020 12:54:23 +0000 Received: from localhost ([127.0.0.1]:43226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5qGs-00083h-Ra for submit@debbugs.gnu.org; Wed, 12 Aug 2020 08:54:23 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5qGq-00083P-R5 for 21454@debbugs.gnu.org; Wed, 12 Aug 2020 08:54:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vq2wVJu6O99ejCXhna98+iM5rwITOlBjdAnR6tHUmeU=; b=eC0grRD+4JsU4pnTSXUydB37bV eDqeKvViyK13+4CQRBIYs+XaBPS1jsWMd3awC2rYPni16gcXFg4FsZ/2APHbnZctiRpIJTb2WWDMs AgDdU8BbkhoCebddcp9mKIg9ungllxypYIAHeZZf1QhqV60nEFn/V30LtoejMZz51bnU=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5qGh-0000qR-5X; Wed, 12 Aug 2020 14:54:14 +0200 From: Lars Ingebrigtsen References: Date: Wed, 12 Aug 2020 14:54:09 +0200 In-Reply-To: (Andreas Schwab's message of "Tue, 25 Jun 2019 18:29:31 +0200") Message-ID: <87bljgm3da.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: > On Jun 25 2019, Lars Ingebrigtsen wrote: > >> Tino Calancha writes: >> >>> Do not truncate /foo//bar to /bar/ >>> * lisp/files.el (parse-colon-path): Use s [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.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: -1.0 (-) Andreas Schwab writes: > On Jun 25 2019, Lars Ingebrigtsen wrote: > >> Tino Calancha writes: >> >>> Do not truncate /foo//bar to /bar/ >>> * lisp/files.el (parse-colon-path): Use substitute-env-vars and >>> expand-file-name instead of substitute-in-file-name (Bug#21454). >> >> The bug report was slightly unclear, but I think the taste case was >> >> (parse-colon-path "/foo//bar/baz") >> => ("/bar/baz/") >> >> and that being a mistake? But I'm not sure it is -- In Emacs, if you do >> that in, say, find-file, you'll end up in /bar/baz, and that's by >> design. > > For file names coming from outside the double slash should not be > special. For example, `emacs foo//bar' visits the file `foo/bar', not > `/bar'. Makes sense. I've now applied this patch to Emacs 28 (and adjusted the test that expected :failure). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 12 08:54:29 2020 Received: (at control) by debbugs.gnu.org; 12 Aug 2020 12:54:29 +0000 Received: from localhost ([127.0.0.1]:43229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5qGz-00083z-2B for submit@debbugs.gnu.org; Wed, 12 Aug 2020 08:54:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5qGx-00083g-Tj for control@debbugs.gnu.org; Wed, 12 Aug 2020 08:54:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MfNjpx6rYACRNVsAL5GxxSnSoDL4oo1oSFteAkcsiOk=; b=vOLRqQtQBaB+BGtR+AiJIJHNTb Bcf6ToQa8LVrnyiV66RvAvTlhm3OcUWNABDj/s3xic6vFJNS2kFvl8PNQnOQQnp4bEFwTjPi9O9Qw I7xenZwlzXW3ltnTVvABQitPF4OZXsJq8trKkk1Jh3vppQU5HBp9YORrL6YOfm3tySlA=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5qGq-0000qa-5r for control@debbugs.gnu.org; Wed, 12 Aug 2020 14:54:22 +0200 Date: Wed, 12 Aug 2020 14:54:19 +0200 Message-Id: <87a6z0m3d0.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21454 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 21454 fixed close 21454 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) tags 21454 fixed close 21454 28.1 quit