GNU bug report logs - #20499
[PROPOSED PATCH] C-x 8 shorthands for curved quotes, Euro, etc.

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Mon, 4 May 2015 01:15:03 UTC

Severity: wishlist

Tags: patch

Merged with 16082

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: rms <at> gnu.org, 20499 <at> debbugs.gnu.org
Subject: Re: bug#20499: [PROPOSED PATCH] C-x 8 shorthands for curved quotes,
 Euro, etc.
Date: Sat, 09 May 2015 10:59:36 +0300
> Date: Fri, 8 May 2015 13:18:40 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
> Cc: 20499 <at> debbugs.gnu.org
> 
> > > We could set up a way to test whether a code point can be
> > > displayed, and skip scripts that can't be displayed.
> > 
> > Alas, we don't know which cannot be displayed until we've tried and
> > failed.
> 
> Where is this try-and-fail done?  Is it only in C code, or is
> there some Lisp function (predicate) that you can call to tell
> you whether a given char can be displayed in a given (e.g. the
> current) font.

These two are not alternatives, they can (and do) live together.

The search for a suitable font is mostly in C, but we do have a
capability to test from Lisp whether a given character can be
displayed: 'char-displayable-p'.  If you are interested in a specific
font, you can use 'font-get-glyphs' for a similar info.




This bug report was last modified 4 years and 344 days ago.

Previous Next


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