From unknown Thu Jun 19 14:03:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78575 <78575@debbugs.gnu.org> To: bug#78575 <78575@debbugs.gnu.org> Subject: Status: html-href-anchor vs "?" Reply-To: bug#78575 <78575@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:03:27 +0000 retitle 78575 html-href-anchor vs "?" reassign 78575 emacs submitter 78575 Dan Jacobson severity 78575 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri May 23 22:54:41 2025 Received: (at submit) by debbugs.gnu.org; 24 May 2025 02:54:41 +0000 Received: from localhost ([127.0.0.1]:54227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIf20-0000kM-Oz for submit@debbugs.gnu.org; Fri, 23 May 2025 22:54:41 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58408) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIf1x-0000jY-VI for submit@debbugs.gnu.org; Fri, 23 May 2025 22:54:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uIf1s-0004J4-0N for bug-gnu-emacs@gnu.org; Fri, 23 May 2025 22:54:32 -0400 Received: from iguana.tulip.relay.mailchannels.net ([23.83.218.253]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uIf1q-0004O1-2o for bug-gnu-emacs@gnu.org; Fri, 23 May 2025 22:54:31 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 01068433B4 for ; Sat, 24 May 2025 02:54:26 +0000 (UTC) Received: from pdx1-sub0-mail-a206.dreamhost.com (100-124-32-162.trex-nlb.outbound.svc.cluster.local [100.124.32.162]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 71ED742AAF for ; Sat, 24 May 2025 02:54:25 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1748055265; a=rsa-sha256; cv=none; b=oX4X2hXOfjr9eF/qypjvZlG+EpBGQSwmNPNZ14/SeXp83+euaDMTOhw6++31ylXukiD9LO ScvtpOToxbkJInsu+5LPVCJZ6/HNRna0wolHxESFpAnksC2G5o5eS8Cy7E8f5rFu2iD+Ds ctk64WuDUhQ69knaa3mO0A8kXRljdqinJ8G7KI6oRi8NaH9IR1JUgTqn3P5IKRl01PkbNl 496M36s8xmI2unWN0uCtXUrzfvTB+gAh0aeAU3PR3C67CjeKboZBu5fY6zw73+RzYIABaB ILN/AQxUNhrxCbMOSupSsxdWvwXoMR6KHP7tECrD9BFnEaTCQ8PDMdhJhyqIQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1748055265; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=qjBaHrUKBQ5fKJeVoPrEQFP7AltPOEeNigWGwo/a3jY=; b=lIqOLXPZBGjozoSSYMZtbJcW+7ntLLE5AZkhGXt7lvfJVfPHohFarBE0LDLFM7fG7UEyBV AqNJc7hDMDLPXSyKMR0sZoNOzgAx4MChpcDzjHLYlJ88YVQ9biaVHy9Eomi8EClpgWpP5z CFWepNMo4SUdnvhzrxlkjHliyDShQL8cAIZaIdt4SsBfqM48s9otQ2VariGRKv21r+lvMb cecscKdSTFFD6iKiRWk48d1UKEmvheaxmRl5FTAe+Rk6XcXIBGBD7Z7ARrxs5PqhnfotZb H1wsIiXrgwpRFY8Mn2wVFFRGA4Do9ZcPgGqnAlr8acYlRQb5Tgdnn5YKTXUChg== ARC-Authentication-Results: i=1; rspamd-766f9cfddb-csmgf; auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@jidanni.org X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Celery-Reign: 0994d44772b5f158_1748055265676_2221598098 X-MC-Loop-Signature: 1748055265676:751463818 X-MC-Ingress-Time: 1748055265676 Received: from pdx1-sub0-mail-a206.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.124.32.162 (trex/7.0.3); Sat, 24 May 2025 02:54:25 +0000 Received: from jidanni.org (36-233-211-64.dynamic-ip.hinet.net [36.233.211.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a206.dreamhost.com (Postfix) with ESMTPSA id 4b467P1wtRzF2 for ; Fri, 23 May 2025 19:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1748055265; bh=qjBaHrUKBQ5fKJeVoPrEQFP7AltPOEeNigWGwo/a3jY=; h=From:To:Subject:Date:Content-Type:Content-Transfer-Encoding; b=lcIq3t1YYyclGZla6WcAzIo/d1AWOhBPBYHDBPf9RVGXjqkaHYvDdgYZOy3IPj30k my7oaTzT3sGZDrwRwbY4h93HXWDzFFSAzVR53uPfbqG0dUNYaT3euYc862vrTtrtgJ 9O6n2HfNaSx3HpQBB+K1k6Fb9o569DsjtV4FCCTSPKDjbZIqggk1dnPgThoH2YNkbC Nbu/iI0TWXtPM4JvrzW6766a6annoZcDZLSXdbD+0rYhhYZ+JBDT+Z+3R6EMI1zPip U0TVOnjQH9ZC85sa31waBmqa0r5Bz//T7JZPN83aTPpRrueOu+Qsi8mSAcsu2SmsH5 YhF4pTs8pES1Q== Received: from jidanni by jidanni.org with local (Exim 4.96) (envelope-from ) id 1uIf1g-0000Ss-1i for bug-gnu-emacs@gnu.org; Sat, 24 May 2025 10:54:20 +0800 From: Dan Jacobson To: bug-gnu-emacs@gnu.org Subject: html-href-anchor vs "?" Date: Sat, 24 May 2025 10:54:20 +0800 Message-ID: <875xhqg1lv.3.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=23.83.218.253; envelope-from=jidanni@jidanni.org; helo=iguana.tulip.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit 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.1 (/) 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 &.) emacs-version "30.1"