GNU bug report logs - #33553
Document negatively listing fonts for character range

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Thu, 29 Nov 2018 22:53:01 UTC

Severity: wishlist

Done: 積丹尼 Dan Jacobson <jidanni <at> jidanni.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 33553 in the body.
You can then email your comments to 33553 AT debbugs.gnu.org in the normal way.

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#33553; Package emacs. (Thu, 29 Nov 2018 22:53:01 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. (Thu, 29 Nov 2018 22:53: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: Document negatively listing fonts for character range
Date: Fri, 30 Nov 2018 06:50:12 +0800
(info "(emacs) Modifying Fontsets")
shows how to

+ Use a certain font for a certain range of characters

+ Prohibit a certain font for all characters

But it doesn't show how to

+ Prohibit a certain font for a certain range of characters

So to prohibit a certain font for just one character, the user must
prohibit it for all characters.

Or he must hardwire some other arbitrary font to be used for that one
character, he can not just say don't use a certain font for that
character.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#33553; Package emacs. (Fri, 30 Nov 2018 07:20:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 33553 <at> debbugs.gnu.org
Subject: Re: bug#33553: Document negatively listing fonts for character range
Date: Fri, 30 Nov 2018 09:19:38 +0200
> From: 積丹尼 Dan Jacobson
> 	<jidanni <at> jidanni.org>
> Date: Fri, 30 Nov 2018 06:50:12 +0800
> 
> (info "(emacs) Modifying Fontsets")
> shows how to
> 
> + Use a certain font for a certain range of characters
> 
> + Prohibit a certain font for all characters
> 
> But it doesn't show how to
> 
> + Prohibit a certain font for a certain range of characters

That's because there is no way.  You must instead use another font for
that range of characters.

> So to prohibit a certain font for just one character, the user must
> prohibit it for all characters.

No.

> Or he must hardwire some other arbitrary font to be used for that one
> character, he can not just say don't use a certain font for that
> character.

Yes.  Why is that a problem?

I'm not sure I understand what exactly is the bug you would like to be
fixed here?  There's no documentation bug, AFAICT, as the
documentation describes the facilities we have.




Reply sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
You have taken responsibility. (Fri, 30 Nov 2018 07:48:02 GMT) Full text and rfc822 format available.

Notification sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
bug acknowledged by developer. (Fri, 30 Nov 2018 07:48:02 GMT) Full text and rfc822 format available.

Message #13 received at 33553-done <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 33553-done <at> debbugs.gnu.org
Subject: Re: bug#33553: Document negatively listing fonts for character range
Date: Fri, 30 Nov 2018 15:47:36 +0800
>>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
EZ> There's no documentation bug, AFAICT, as the
EZ> documentation describes the facilities we have.

OK, closing.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#33553; Package emacs. (Fri, 30 Nov 2018 22:46:02 GMT) Full text and rfc822 format available.

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

From: Richard Stallman <rms <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 33553 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#33553: Document negatively listing fonts for character range
Date: Fri, 30 Nov 2018 17:45:29 -0500
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > + Prohibit a certain font for a certain range of characters

  > That's because there is no way.  You must instead use another font for
  > that range of characters.

Is there a null font, that one could specify for that range of characters
and thus prevent use of any other font?

-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#33553; Package emacs. (Fri, 30 Nov 2018 23:20:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: Richard Stallman <rms <at> gnu.org>
Cc: 33553 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#33553: Document negatively listing fonts for character range
Date: Sat, 01 Dec 2018 07:19:00 +0800
>>>>> "rr" == Richard Stallman <rms <at> gnu.org> writes:

>> > + Prohibit a certain font for a certain range of characters

>> That's because there is no way.  You must instead use another font for
>> that range of characters.

rr> Is there a null font, that one could specify for that range of characters
rr> and thus prevent use of any other font?

All I know is often a user is trying to communicate through their .emacs that
they don't want to use a certain font for a certain range(s) of
characters, so please give them the power to do that.

Don't force them to have to specify what other font should be used,
and don't force them to ban that whole font completely.

I had to say
      (set-fontset-font "fontset-default" #x20AC "AR PL UKai TW MBE"); To see EURO SIGN "€"
because
      (add-to-list 'face-ignored-fonts "eten-fixed-medium-r-normal");  Wrecks Chinese
was serious overkill, in
https://www.jidanni.org/comp/configuration/.emacs




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#33553; Package emacs. (Sat, 01 Dec 2018 08:05:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: rms <at> gnu.org
Cc: 33553 <at> debbugs.gnu.org, jidanni <at> jidanni.org
Subject: Re: bug#33553: Document negatively listing fonts for character range
Date: Sat, 01 Dec 2018 10:03:42 +0200
> From: Richard Stallman <rms <at> gnu.org>
> Cc: jidanni <at> jidanni.org, 33553 <at> debbugs.gnu.org
> Date: Fri, 30 Nov 2018 17:45:29 -0500
> 
>   > > + Prohibit a certain font for a certain range of characters
> 
>   > That's because there is no way.  You must instead use another font for
>   > that range of characters.
> 
> Is there a null font, that one could specify for that range of characters
> and thus prevent use of any other font?

Yes, there is: use nil for the FONT-SPEC argument.  But AFAIU, that's
not what was requested, since doing that will always display those
characters as boxes with hex code.  What was requested is to have a
feature that will disable the use of just one specific font for a
particular range of characters, thereby forcing Emacs to use some
other font for that range.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 29 Dec 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 180 days ago.

Previous Next


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