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

Full log


View this message in rfc822 format

From: Dan Jacobson <jidanni <at> jidanni.org>
To: 78575 <at> debbugs.gnu.org
Subject: bug#78575: 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 24 days ago.

Previous Next


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