GNU bug report logs -
#61666
HTML tag selection/matching doesn't work with default Emacs mhtml-mode
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61666 in the body.
You can then email your comments to 61666 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-hyperbole <at> gnu.org
:
bug#61666
; Package
hyperbole
.
(Tue, 21 Feb 2023 02:18:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
John Cummings <john <at> rootabega.net>
:
New bug report received and forwarded. Copy sent to
bug-hyperbole <at> gnu.org
.
(Tue, 21 Feb 2023 02:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I was able to recreate this problem on
Emacs 28.2 (debian bookworm)
Hyperbole version either 8.0.0 or 8.0.1pre0.20230217.74322
Emacs major mode: mhtml-mode
Expected behaviors:
Using the Hyperbole action key (M-RET), hui-select-goto-matching-delimiter (C-c .), or hui-select-thing (C-c RET), with an HTML tag pair, will perform the corresponding actions on the entire tag pair.
Actual behaviors:
The tag pair is not recognized; instead each tag in the pair is just treated like a plain sexp delimited by its angle brackets.
Cause:
It looks like a simple cause - mhtml-mode is not in hui-select-markup-modes by default. But mhtml-mode is the default major mode for .html files, going at least as far back as some Emacs 26 versions, at least in Debian/Ubuntu builds. Adding it to this list made things work as expected.
Information forwarded
to
bug-hyperbole <at> gnu.org
:
bug#61666
; Package
hyperbole
.
(Tue, 21 Feb 2023 05:51:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 61666 <at> debbugs.gnu.org (full text, mbox):
Thanks, John. We’ll get this resolved soon.
-- Bob
> On Feb 20, 2023, at 9:18 PM, John Cummings <john <at> rootabega.net> wrote:
>
> I was able to recreate this problem on
> Emacs 28.2 (debian bookworm)
> Hyperbole version either 8.0.0 or 8.0.1pre0.20230217.74322
> Emacs major mode: mhtml-mode
>
> Expected behaviors:
> Using the Hyperbole action key (M-RET), hui-select-goto-matching-delimiter (C-c .), or hui-select-thing (C-c RET), with an HTML tag pair, will perform the corresponding actions on the entire tag pair.
>
> Actual behaviors:
> The tag pair is not recognized; instead each tag in the pair is just treated like a plain sexp delimited by its angle brackets.
>
> Cause:
> It looks like a simple cause - mhtml-mode is not in hui-select-markup-modes by default. But mhtml-mode is the default major mode for .html files, going at least as far back as some Emacs 26 versions, at least in Debian/Ubuntu builds. Adding it to this list made things work as expected.
>
>
>
>
> _______________________________________________
> Bug-hyperbole mailing list
> Bug-hyperbole <at> gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-hyperbole
Information forwarded
to
bug-hyperbole <at> gnu.org
:
bug#61666
; Package
hyperbole
.
(Wed, 01 Mar 2023 03:57:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 61666 <at> debbugs.gnu.org (full text, mbox):
Hi John:
This issue has been resolved in the latest pre-release of Hyperbole
available from the elpa-devel package archive. Thanks for reporting
it. -- rsw
Robert Weiner <rsw <at> gnu.org> writes:
> Thanks, John. We’ll get this resolved soon.
>
> -- Bob
>
>> On Feb 20, 2023, at 9:18 PM, John Cummings <john <at> rootabega.net> wrote:
>>
>> I was able to recreate this problem on
>> Emacs 28.2 (debian bookworm)
>> Hyperbole version either 8.0.0 or 8.0.1pre0.20230217.74322
>> Emacs major mode: mhtml-mode
>>
>> Expected behaviors:
>> Using the Hyperbole action key (M-RET), hui-select-goto-matching-delimiter (C-c .), or hui-select-thing (C-c RET), with an HTML tag pair, will perform the corresponding actions on the entire tag pair.
>>
>> Actual behaviors:
>> The tag pair is not recognized; instead each tag in the pair is just treated like a plain sexp delimited by its angle brackets.
>>
>> Cause:
>> It looks like a simple cause - mhtml-mode is not in hui-select-markup-modes by default. But mhtml-mode is the default major mode for .html files, going at least as far back as some Emacs 26 versions, at least in Debian/Ubuntu builds. Adding it to this list made things work as expected.
>>
>>
>>
>>
>> _______________________________________________
>> Bug-hyperbole mailing list
>> Bug-hyperbole <at> gnu.org
>> https://lists.gnu.org/mailman/listinfo/bug-hyperbole
bug closed, send any further explanations to
61666 <at> debbugs.gnu.org and John Cummings <john <at> rootabega.net>
Request was from
Robert Weiner <rsw <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 01 Mar 2023 04:01:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 29 Mar 2023 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 45 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.