GNU bug report logs - #78575
html-href-anchor vs "?"

Previous Next

Package: emacs;

Reported by: Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 24 May 2025 02:55:02 UTC

Severity: normal

To reply to this bug, email your comments to 78575 AT debbugs.gnu.org.

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#78575; Package emacs. (Sat, 24 May 2025 02:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 24 May 2025 02:55:02 GMT) Full text and rfc822 format available.

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

From: Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: html-href-anchor vs "?"
Date: Sat, 24 May 2025 10:54:20 +0800
C-c C-c h runs the command html-href-anchor (found in mhtml-mode-map),
which is an interactive native-comp-function in ‘sgml-mode.el’.

Alas URLs often contain "?", e.g.,
https://play.google.com/store/apps/developer?id=Goder+Hsu&hl=en
and when pasted in via wayland or xwindows, the "?" will silently get
eaten, only to be discovered when a reader reports a 404 error months
later, if ever.

Yes, "just use C-q ?" you might say. But there is no way to insert the
C-q in the middle of a paste.

Therefore, "?" in this case should no longer be special. C-h should do
the role "?" has here.

(Another problem is & needs to become &amp;.)

emacs-version "30.1"




This bug report was last modified today.

Previous Next


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