GNU bug report logs - #13206
24.3.50; FR: insert-char must(?) show characters visually in completion buffer

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Mon, 17 Dec 2012 13:40:03 UTC

Severity: wishlist

Found in version 24.3.50

Done: Jambunathan K <kjambunathan <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jambunathan K <kjambunathan <at> gmail.com>
Subject: bug#13206: closed (Re: bug#13206: 24.3.50; FR: insert-char
 must(?) show characters visually in completion buffer)
Date: Fri, 15 Nov 2013 04:45:06 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#13206: 24.3.50; FR: insert-char must(?) show characters visually in completion buffer

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 13206 <at> debbugs.gnu.org.

-- 
13206: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13206
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jambunathan K <kjambunathan <at> gmail.com>
To: 13206-done <at> debbugs.gnu.org
Subject: Re: bug#13206: 24.3.50;
 FR: insert-char must(?) show characters visually in completion buffer
Date: Fri, 15 Nov 2013 10:14:29 +0530
OP here.  Closed.

[Message part 3 (message/rfc822, inline)]
From: Jambunathan K <kjambunathan <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50;
	FR: insert-char must(?) show characters visually in completion buffer
Date: Mon, 17 Dec 2012 19:10:34 +0530
[Message part 4 (text/plain, inline)]
(My NIC card went down during earlier sent.  Apologies if it results in
duplicate bug)

It will be wonderful if ucs-insert shows the characters visually in the
completion buffer.

Here is a proof-of-concept.  Install an annotation function. 

    (setq completion-extra-properties
          (list :annotation-function 'annotate-ucs-names))

    (defun annotate-ucs-names (name)
      (format "(%s)" (char-to-string (cdr (assoc-string name (ucs-names) t)))))

M-x insert-char RET will give screenshot 1.  Note the presence of
characters visually next to char names.  I would have wised to place the
the glyphs come before the description.

Now let us install a small /hack/ to minibuffer as shown below. The
result is as shown in screenshot 2, which I would much prefer.
(Ofcourse, the insertion itself wouldn't work)

Following two things emerge from this experiment.

    1. Annotation may go infront of the candidate.
    2. Annotation may provide a substitution for visual feedback etc etc.

[minibuffer-hack.diff (text/x-diff, attachment)]
[1-insert-char-with-annotations.png (image/png, attachment)]
[2-insert-char-with-substitution.png (image/png, attachment)]
[Message part 8 (text/plain, inline)]

In GNU Emacs 24.3.50.5 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2012-12-15 on debian-6.05
Bzr revision: 111244 eliz <at> gnu.org-20121215133821-ie5ujd9ogv3tw34f
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t

This bug report was last modified 11 years and 194 days ago.

Previous Next


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