GNU bug report logs - #32599
25.2; Feature request: input PUA characters by name

Previous Next

Package: emacs;

Reported by: jsbien <at> mimuw.edu.pl

Date: Fri, 31 Aug 2018 06:53:02 UTC

Severity: wishlist

Tags: moreinfo

Found in version 25.2

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

Bug is archived. No further changes may be made.

Full log


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

From: Janusz S. Bień <jsbien <at> mimuw.edu.pl>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 32599 <at> debbugs.gnu.org
Subject: Re: bug#32599: 25.2; Feature request: input PUA characters by name
Date: Tue, 26 Apr 2022 15:44:06 +0200
On Tue, Apr 26 2022 at 15:37 +02, Lars Ingebrigtsen wrote:
> Janusz S. Bień <jsbien <at> mimuw.edu.pl> writes:
>
>>> That can be done today by just adding elements to the `ucs-names' hash
>>> table.
>>
>> Which Emacs version do you mean by "today"?
>
> Since about 2008.
>
>> What do you mean by "just adding"?
>>
>> What about an example, e.g. U+F159 LATIN ABBREVIATION SIGN SMALL DE?
>
> (unless ucs-names
>   (ucs-names))
> (setf (gethash "LATIN ABBREVIATION SIGN SMALL DE" ucs-names) #xF159)

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument hash-table-p nil)
  puthash("LATIN ABBREVIATION SIGN SMALL DE" 61785 nil)
  (let* ((v ucs-names)) (puthash "LATIN ABBREVIATION SIGN SMALL DE" 61785 v))
  (progn (let* ((v ucs-names)) (puthash "LATIN ABBREVIATION SIGN SMALL DE" 61785 v)))
  eval((progn (let* ((v ucs-names)) (puthash "LATIN ABBREVIATION SIGN SMALL DE" 61785 v))) t)
  elisp--eval-last-sexp(t)
  eval-last-sexp(t)
  eval-print-last-sexp(nil)
  funcall-interactively(eval-print-last-sexp nil)
  call-interactively(eval-print-last-sexp nil nil)
  command-execute(eval-print-last-sexp)
--8<---------------cut here---------------end--------------->8---

GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24,
cairo version 1.16.0) compiled locally.

JSB

-- 
             ,   
Janusz S. Bien
emeryt (emeritus)
https://sites.google.com/view/jsbien




This bug report was last modified 3 years and 108 days ago.

Previous Next


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