GNU bug report logs -
#9790
Cleaning up nobreak-char-display
Previous Next
Reported by: Chong Yidong <cyd <at> gnu.org>
Date: Wed, 19 Oct 2011 00:25:01 UTC
Severity: normal
Tags: wontfix
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 9790 in the body.
You can then email your comments to 9790 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9790
; Package
emacs
.
(Wed, 19 Oct 2011 00:25:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Chong Yidong <cyd <at> gnu.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 19 Oct 2011 00:25:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
See emacs-devel discussion at
http://lists.gnu.org/archive/html/emacs-devel/2011-10/msg00747.html
After Emacs 24.1, we should clean up the nobreak-char-display mechanism.
The highlighted chars should be in a variable, not hardcoded. The name
`nobreak-char-display' should probably be changed. Also, we should
figure out how to deal with the different Unicode space characters.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9790
; Package
emacs
.
(Mon, 07 Dec 2020 17:40:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 9790 <at> debbugs.gnu.org (full text, mbox):
Chong Yidong <cyd <at> gnu.org> writes:
> After Emacs 24.1, we should clean up the nobreak-char-display mechanism.
> The highlighted chars should be in a variable, not hardcoded. The name
> `nobreak-char-display' should probably be changed. Also, we should
> figure out how to deal with the different Unicode space characters.
The latter was fixed earlier this year, I think?
As for having the former in a variable -- is that warranted? It would
mean slowing redisplay down a bit, I guess? I don't know whether that's
worth it.
Any opinions?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9790
; Package
emacs
.
(Tue, 08 Dec 2020 09:11:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 9790 <at> debbugs.gnu.org (full text, mbox):
>> After Emacs 24.1, we should clean up the nobreak-char-display mechanism.
>> The highlighted chars should be in a variable, not hardcoded. The name
>> `nobreak-char-display' should probably be changed. Also, we should
>> figure out how to deal with the different Unicode space characters.
>
> The latter was fixed earlier this year, I think?
>
> As for having the former in a variable -- is that warranted? It would
> mean slowing redisplay down a bit, I guess? I don't know whether that's
> worth it.
>
> Any opinions?
To address specific needs for highlighting Unicode space characters,
in bug#44236 I resorted to the GNU ELPA package 'markchars' that has
the variable 'markchars-nobreak-space-pattern' with a list of
Unicode space characters.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9790
; Package
emacs
.
(Tue, 08 Dec 2020 14:19:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 9790 <at> debbugs.gnu.org (full text, mbox):
Juri Linkov <juri <at> linkov.net> writes:
>>> After Emacs 24.1, we should clean up the nobreak-char-display mechanism.
>>> The highlighted chars should be in a variable, not hardcoded. The name
>>> `nobreak-char-display' should probably be changed. Also, we should
>>> figure out how to deal with the different Unicode space characters.
>>
>> The latter was fixed earlier this year, I think?
>>
>> As for having the former in a variable -- is that warranted? It would
>> mean slowing redisplay down a bit, I guess? I don't know whether that's
>> worth it.
>>
>> Any opinions?
>
> To address specific needs for highlighting Unicode space characters,
> in bug#44236 I resorted to the GNU ELPA package 'markchars' that has
> the variable 'markchars-nobreak-space-pattern' with a list of
> Unicode space characters.
So if there's a package that does provide this functionality, then we
don't really need to have it in-core, either (since it doesn't seem like
this is a feature tons of people crave), and I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) wontfix.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 08 Dec 2020 14:19:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
9790 <at> debbugs.gnu.org and Chong Yidong <cyd <at> gnu.org>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 08 Dec 2020 14:19:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#9790
; Package
emacs
.
(Tue, 08 Dec 2020 16:26:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 9790 <at> debbugs.gnu.org (full text, mbox):
Various posts in this thread essentially propose different blanket approaches, i.e., paint something with a broad brush. Some want such brushwork in some contexts; others don't.
What's needed, I think, are (1) a fine-grained mechanism to control which chars get highlighted and how and where/when, (2) default applications of that mechanism to specific contexts, and (3) user ability to control things.
No broad brushwork will be satisfactory, I think. I think some form of #1 is the starting point - without that, I don't see a good solution.
I mentioned my library `highlight-chars.el', which provides support for #1: ways to highlight any set of chars, and control where/when/whether that's done. Maybe take a look at what it offers, as food for thought or even perhaps reuse?
https://www.emacswiki.org/emacs/download/highlight-chars.el
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 06 Jan 2021 12:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 224 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.