GNU bug report logs - #79401
sgml-tag jumbles attribute and value into the same history list

Previous Next

Package: emacs;

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

Date: Sun, 7 Sep 2025 13:32:01 UTC

Severity: wishlist

To reply to this bug, email your comments to 79401 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#79401; Package emacs. (Sun, 07 Sep 2025 13:32: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. (Sun, 07 Sep 2025 13:32: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: sgml-tag jumbles attribute and value into the same history list
Date: Sun, 07 Sep 2025 21:31:03 +0800
 C-c C-o     ;; sgml-tag
 b           ;; self-insert-command
 l           ;; self-insert-command
 o           ;; self-insert-command
 TAB         ;; minibuffer-complete #blockquote
 RET         ;; exit-minibuffer
 c           ;; self-insert-command
 l           ;; self-insert-command
 a           ;; self-insert-command
 s           ;; self-insert-command
 s           ;; self-insert-command
 RET         ;; exit-minibuffer
 m           ;; self-insert-command
 m           ;; self-insert-command
 m           ;; self-insert-command
 RET         ;; exit-minibuffer
 ESC p       ;; previous-history-element
(Or say we started over with C-c C-o... same thing.)

At this point we should see "class".
But instead we see mmm.

In other words,
we have just made a
<blockquote class="mmm">
so the attribute is "class"
and the value is "mmm".
Each needs to be remembered separately,
not jumbled together.

The next time we make a blockquote, we then can directly go to the
"<blockquote class=" stage. As we certainly do not intend to create
"<blockquote mmm=" !

emacs-version "30.1"




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79401; Package emacs. (Sat, 13 Sep 2025 09:04:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dan Jacobson <jidanni <at> jidanni.org>
Cc: 79401 <at> debbugs.gnu.org
Subject: Re: bug#79401: sgml-tag jumbles attribute and value into the same
 history list
Date: Sat, 13 Sep 2025 12:02:39 +0300
severity 79401 wishlist
thanks

> From: Dan Jacobson <jidanni <at> jidanni.org>
> Date: Sun, 07 Sep 2025 21:31:03 +0800
> 
>  C-c C-o     ;; sgml-tag
>  b           ;; self-insert-command
>  l           ;; self-insert-command
>  o           ;; self-insert-command
>  TAB         ;; minibuffer-complete #blockquote
>  RET         ;; exit-minibuffer
>  c           ;; self-insert-command
>  l           ;; self-insert-command
>  a           ;; self-insert-command
>  s           ;; self-insert-command
>  s           ;; self-insert-command
>  RET         ;; exit-minibuffer
>  m           ;; self-insert-command
>  m           ;; self-insert-command
>  m           ;; self-insert-command
>  RET         ;; exit-minibuffer
>  ESC p       ;; previous-history-element
> (Or say we started over with C-c C-o... same thing.)
> 
> At this point we should see "class".
> But instead we see mmm.
> 
> In other words,
> we have just made a
> <blockquote class="mmm">
> so the attribute is "class"
> and the value is "mmm".
> Each needs to be remembered separately,
> not jumbled together.
> 
> The next time we make a blockquote, we then can directly go to the
> "<blockquote class=" stage. As we certainly do not intend to create
> "<blockquote mmm=" !
> 
> emacs-version "30.1"

Patches to implement this enhancement request will be welcome.

I'm not a frequent user of SGML modes, but IMO whether there are
separate histories should be a user option, not an unconditional
behavior.




Severity set to 'wishlist' from 'normal' Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 13 Sep 2025 09:04:03 GMT) Full text and rfc822 format available.

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.