unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33553: Document negatively listing fonts for character range
@ 2018-11-29 22:50 積丹尼 Dan Jacobson
  2018-11-30  7:19 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: 積丹尼 Dan Jacobson @ 2018-11-29 22:50 UTC (permalink / raw)
  To: 33553

(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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#33553: Document negatively listing fonts for character range
  2018-11-29 22:50 bug#33553: Document negatively listing fonts for character range 積丹尼 Dan Jacobson
@ 2018-11-30  7:19 ` Eli Zaretskii
  2018-11-30  7:47   ` 積丹尼 Dan Jacobson
  2018-11-30 22:45   ` Richard Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Eli Zaretskii @ 2018-11-30  7:19 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 33553

> From: 積丹尼 Dan Jacobson
> 	<jidanni@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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#33553: Document negatively listing fonts for character range
  2018-11-30  7:19 ` Eli Zaretskii
@ 2018-11-30  7:47   ` 積丹尼 Dan Jacobson
  2018-11-30 22:45   ` Richard Stallman
  1 sibling, 0 replies; 6+ messages in thread
From: 積丹尼 Dan Jacobson @ 2018-11-30  7:47 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 33553-done

>>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:
EZ> There's no documentation bug, AFAICT, as the
EZ> documentation describes the facilities we have.

OK, closing.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#33553: Document negatively listing fonts for character range
  2018-11-30  7:19 ` Eli Zaretskii
  2018-11-30  7:47   ` 積丹尼 Dan Jacobson
@ 2018-11-30 22:45   ` Richard Stallman
  2018-11-30 23:19     ` 積丹尼 Dan Jacobson
  2018-12-01  8:03     ` Eli Zaretskii
  1 sibling, 2 replies; 6+ messages in thread
From: Richard Stallman @ 2018-11-30 22:45 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 33553, jidanni

[[[ 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)







^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#33553: Document negatively listing fonts for character range
  2018-11-30 22:45   ` Richard Stallman
@ 2018-11-30 23:19     ` 積丹尼 Dan Jacobson
  2018-12-01  8:03     ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: 積丹尼 Dan Jacobson @ 2018-11-30 23:19 UTC (permalink / raw)
  To: Richard Stallman; +Cc: 33553

>>>>> "rr" == Richard Stallman <rms@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#33553: Document negatively listing fonts for character range
  2018-11-30 22:45   ` Richard Stallman
  2018-11-30 23:19     ` 積丹尼 Dan Jacobson
@ 2018-12-01  8:03     ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2018-12-01  8:03 UTC (permalink / raw)
  To: rms; +Cc: 33553, jidanni

> From: Richard Stallman <rms@gnu.org>
> Cc: jidanni@jidanni.org, 33553@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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-12-01  8:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-29 22:50 bug#33553: Document negatively listing fonts for character range 積丹尼 Dan Jacobson
2018-11-30  7:19 ` Eli Zaretskii
2018-11-30  7:47   ` 積丹尼 Dan Jacobson
2018-11-30 22:45   ` Richard Stallman
2018-11-30 23:19     ` 積丹尼 Dan Jacobson
2018-12-01  8:03     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).