GNU bug report logs - #68632
[PATCH] Downcase host name to match URL parsing behavior

Previous Next

Package: emacs;

Reported by: Brad Howes <bradhowes <at> mac.com>

Date: Sun, 21 Jan 2024 10:36:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68632 in the body.
You can then email your comments to 68632 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#68632; Package emacs. (Sun, 21 Jan 2024 10:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brad Howes <bradhowes <at> mac.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 21 Jan 2024 10:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brad Howes <bradhowes <at> mac.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Downcase host name to match URL parsing behavior
Date: Sun, 21 Jan 2024 11:05:26 +0100
[Message part 1 (text/plain, inline)]
Tags: patch

Tags: patch

Tags: patch


When using `comint-osc-process-output' to track directory changes, there
can be a failure to match host names due to inconsistent behavior
between `url-generic-parse-url' and `ansi-osc-directory-tracker. The
former applies `downcase' to the result extracted from the URL but the
latter does not.


In GNU Emacs 29.1 (build 1, aarch64-apple-darwin21.6.0, NS
appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2023-08-17 built on
armbob.lan
Windowing system distributor 'Apple', version 10.3.2487
System Description:  macOS 14.2.1

Configured using:
'configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules 'CFLAGS=-DFD_SETSIZE=10000
-DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=no'

[0001-Downcase-host-name-to-match-URL-parsing-behavior.patch (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]


Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 27 Jan 2024 10:34:02 GMT) Full text and rfc822 format available.

Notification sent to Brad Howes <bradhowes <at> mac.com>:
bug acknowledged by developer. (Sat, 27 Jan 2024 10:34:02 GMT) Full text and rfc822 format available.

Message #10 received at 68632-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Brad Howes <bradhowes <at> mac.com>
Cc: 68632-done <at> debbugs.gnu.org
Subject: Re: bug#68632: [PATCH] Downcase host name to match URL parsing
 behavior
Date: Sat, 27 Jan 2024 12:33:07 +0200
> Date: Sun, 21 Jan 2024 11:05:26 +0100
> From:  Brad Howes via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> When using `comint-osc-process-output' to track directory changes, there
> can be a failure to match host names due to inconsistent behavior
> between `url-generic-parse-url' and `ansi-osc-directory-tracker. The
> former applies `downcase' to the result extracted from the URL but the
> latter does not.

Thanks, installed on the master branch, and closing the bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 24 Feb 2024 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.