all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: rms@gnu.org, 20499@debbugs.gnu.org
Subject: bug#20499: C-x 8 shorthands for curved quotes, Euro, etc.
Date: Sat, 09 May 2015 11:22:09 +0300	[thread overview]
Message-ID: <838ucyp3da.fsf@gnu.org> (raw)
In-Reply-To: <d928574e-1bee-4b53-bcd9-1d57fb7afa9b@default>

> Date: Fri, 8 May 2015 17:03:53 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> Cc: 20499@debbugs.gnu.org
> 
> I understand that Richard would like a help buffer that groups
> multiple glyphs together in blocks or in categories of various kinds.
> 
> I don't have that to offer, but maybe this would help in a different
> way: library `apu.el' provides apropos help for Unicode chars.
> 
> Command `apropos-unicode' shows you the Unicode chars that match
> an apropos pattern you specify: a regexp or a space-separated list
> of words.  The chars whose names match are shown in a help buffer,
> along with the names and code points (decimal and hex).

I hope I've succeeded to explain in my previous messages that just
matching the name against a regexp is not enough: you will most of the
time get a lot of candidates.  IOW, it's not focused enough, and the
reason is that the name of a character doesn't tell enough about the
character to be able to filter them only based on their names.

What we need is selection of candidates based on the character
attributes, and their language/script/block.  This could, of course,
use the completion/apropos infrastructure, but the completion
predicates must be smarter, and we should have a suitable UI for the
user to specify her partial knowledge of the characters she is after.

If you or someone else wants to work on this, I can provide advice as
to how to use Unicode character properties for such filtering.

> * Add an option of patterns to exclude from matches, to exclude
>   things like `TAG' and `VARIATION SELECTOR'.

The UI cannot be in these technical terms, because the user will most
probably fail to understand what that means for the search results.
E.g., it's quite probable that someone who wants an emoji characters
_will_ want the VARIATION SELECTOR included, but how many users will
understand that excluding it will not allow them to specify emoji
style of certain characters?

> * Be able to easily match a base char.  You can do this OK now
>   using a regexp such as ` \(BASE-CHAR \|$\)', but maybe there
>   is a better way.

I suggested the Custom-style interface using widgets.

> Is there a good way to exclude chars whose glyphs are essentially
> (apparently) whitespace, e.g., `MUSICAL SYMBOL END TIE'?

I'm not sure "mostly whitespace" is a good specification for those.  I
suppose someone who wants musical symbols will want this one as well.

> Is there a way to exclude chars that cannot be shown in the current
> font?  (Asked previously.)

Answered previously.





  reply	other threads:[~2015-05-09  8:22 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-04  1:13 bug#20499: [PROPOSED PATCH] C-x 8 shorthands for curved quotes, Euro, etc Paul Eggert
2015-05-04 14:22 ` Eli Zaretskii
2015-05-04 15:20   ` bug#16082: " Ivan Shmakov
2015-05-04 15:41     ` bug#20499: " Eli Zaretskii
2015-05-04 16:12       ` Ivan Shmakov
2015-05-04 16:31         ` Eli Zaretskii
2015-05-04 18:12           ` bug#20499: " Ivan Shmakov
2015-05-04 18:29             ` Eli Zaretskii
2015-05-04 22:00     ` bug#20499: bug#16082: bug#20499: [PROPOSED PATCH] " Stefan Monnier
2015-05-04 16:11   ` Paul Eggert
2015-05-04 16:15 ` Richard Stallman
2015-05-04 16:34   ` Eli Zaretskii
2015-05-04 16:48     ` Ivan Shmakov
2015-05-04 17:03       ` Eli Zaretskii
2015-05-04 17:40         ` bug#20499: " Ivan Shmakov
2015-05-04 22:00           ` Stefan Monnier
2015-05-05 14:38       ` bug#20499: [PROPOSED PATCH] " Richard Stallman
2015-05-05 14:49         ` Ted Zlatanov
2015-05-05 15:32           ` Eli Zaretskii
2015-05-05 16:05             ` bug#20499: " Ivan Shmakov
2015-05-05 15:31         ` bug#20499: [PROPOSED PATCH] " Eli Zaretskii
2015-05-05 16:20           ` bug#20499: " Ivan Shmakov
2015-05-05 16:42             ` Eli Zaretskii
2015-05-06 13:09             ` Richard Stallman
2015-05-06 15:33               ` Eli Zaretskii
     [not found]             ` <<E1Ypz4X-0002JA-R0@fencepost.gnu.org>
2015-05-09  0:03               ` Drew Adams
2015-05-09  8:22                 ` Eli Zaretskii [this message]
2015-05-06 13:09           ` bug#20499: [PROPOSED PATCH] " Richard Stallman
2015-05-06 16:27             ` Eli Zaretskii
2015-05-07 22:22               ` Richard Stallman
2015-05-08  5:48                 ` Eli Zaretskii
2015-05-08 18:46                   ` Richard Stallman
2015-05-08 18:46                   ` Richard Stallman
2015-05-09  7:44                     ` Eli Zaretskii
2015-05-09 14:17                       ` Richard Stallman
2015-05-09 14:36                         ` Eli Zaretskii
2015-05-08 20:18               ` Drew Adams
2015-05-09  7:59                 ` Eli Zaretskii
2015-05-04 18:40   ` Paul Eggert
2015-05-05  6:03     ` Paul Eggert
2015-05-06 22:20       ` bug#20499: " Ivan Shmakov
2015-05-07  4:05         ` Eli Zaretskii
2015-05-07  7:14           ` Ivan Shmakov
2015-05-07 14:33             ` Eli Zaretskii
2015-05-07  7:53       ` bug#20499: [PROPOSED PATCH] " Paul Eggert
2015-05-07 10:00         ` bug#20499: " Ivan Shmakov
2015-05-07 14:44           ` Eli Zaretskii
2015-05-07 17:03         ` bug#20499: [PROPOSED PATCH] " Stefan Monnier
2015-05-11  0:51           ` Paul Eggert
2015-05-11  2:25             ` Stefan Monnier
2015-05-11  1:28 ` bug#20499: [PROPOSED PATCH] C-x 8 shorthands for curved quotes, , " Paul Eggert
2015-05-11 14:54   ` Eli Zaretskii
2015-05-11 15:52     ` Stefan Monnier
2015-05-11 16:16       ` Eli Zaretskii
2015-05-11 18:48     ` Paul Eggert
2015-05-11 19:10       ` Eli Zaretskii
2015-05-12  8:56     ` Richard Stallman
2015-05-12 16:13       ` Eli Zaretskii
2019-06-26 15:12         ` bug#16082: " Lars Ingebrigtsen
2020-08-13  8:49           ` Lars Ingebrigtsen
2015-05-11 18:27   ` Richard Stallman
2015-05-11  1:55 ` bug#20499: C-x 8 shorthands for curved quotes, " Paul Eggert
     [not found] <"<1430701990-31993-1-git-send-email-eggert"@cs.ucla.edu>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838ucyp3da.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20499@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.