unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Ulrich Mueller <ulm@gentoo.org>
Cc: 17702@debbugs.gnu.org
Subject: bug#17702: 24.3; insert-char no longer inserts "bell" control character
Date: Thu, 5 Jun 2014 10:53:40 -0700 (PDT)	[thread overview]
Message-ID: <6fc8f878-80aa-452f-9272-78a6c58cc37b@default> (raw)
In-Reply-To: <<83oay75qhu.fsf@gnu.org>>

[-- Attachment #1: Type: text/plain, Size: 1216 bytes --]

> > In Emacs 24.3, typing C-x 8 RET bell RET
> > results in character #x1f541 being inserted (which on my system is
> > displayed as a box with text 01F 514 inside).
> >
> > I would expect the command to insert character #x7 (ASCII BEL
> > character, C-g) instead
> 
> That's because U+1F541 has "BELL" as its 'name' property, whereas
> u+0007 has "BELL" as its 'old-name' property.  Emacs completion picks
> only one from these 2 duplicate candidates.
> 
> Perhaps some completion guru could find a way to allow multiple
> candidates with the same name in this case.

FWIW, this is the case with Icicles. See the attached screenshots,
which show, as candidates whose names match the minibuffer input
`bell', seven candidates for substring matching (`S-TAB') and four
candidates for prefix matching (`TAB'). You can see that two of the
chars have exactly the same name, `BELL', with Unicode code points
1F514 and 7.

You can choose a candidate (e.g. the one with code point 7) by
clicking it with the mouse or cycling to it and hitting `RET'.

(The actual chars are also shown, following the code points, but
the default font displays most of these chars as boxes enclosing
the code point).

[-- Attachment #2: throw-icy-bell-char-prefix-only.png --]
[-- Type: image/png, Size: 18254 bytes --]

[-- Attachment #3: throw-icy-bell-char.png --]
[-- Type: image/png, Size: 21599 bytes --]

       reply	other threads:[~2014-06-05 17:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<21392.31505.332595.525782@a1i15.kph.uni-mainz.de>
     [not found] ` <<83oay75qhu.fsf@gnu.org>
2014-06-05 17:53   ` Drew Adams [this message]
2014-06-05 14:13 bug#17702: 24.3; insert-char no longer inserts "bell" control character Ulrich Mueller
2014-06-05 15:24 ` Eli Zaretskii
2014-06-05 16:08   ` Ulrich Mueller
2014-06-05 17:38     ` Eli Zaretskii
2014-06-05 21:26       ` Ulrich Mueller
2014-06-05 22:38         ` Josh
2014-06-06  6:30           ` Eli Zaretskii
2014-06-06 14:27             ` Stefan Monnier
2014-06-05 17:05   ` Stefan Monnier
2014-06-05 17:35     ` Eli Zaretskii
2014-06-05 20:11 ` Josh

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=6fc8f878-80aa-452f-9272-78a6c58cc37b@default \
    --to=drew.adams@oracle.com \
    --cc=17702@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=ulm@gentoo.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 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).