GNU bug report logs - #52918
29.0.50; to make use of ucd/Unihan_Readings.txt for kDefinition entry

Previous Next

Package: emacs;

Reported by: Van Ly <van.ly <at> sdf.org>

Date: Fri, 31 Dec 2021 17:56:01 UTC

Severity: wishlist

Found in version 29.0.50

Full log


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

From: Van Ly <van.ly <at> sdf.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 52918 <at> debbugs.gnu.org
Subject: Re: bug#52918: 29.0.50; to make use of ucd/Unihan_Readings.txt for
 kDefinition entry
Date: Tue, 25 Jul 2023 18:18:20 GMT
> Date: Tue, 25 Jul 2023 18:44:01 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > Date: Sun, 23 Jan 2022 13:40:23 +0200
> > From: Eli Zaretskii <eliz <at> gnu.org>
> 

 <Time passes...>

> 
> > Date: Tue, 25 Jul 2023 14:47:52 GMT
> > From: Van Ly <van.ly <at> sdf.org>
> > 
> > I have since done the paperwork and was prompted to get this done or
> > close the bug report seeing the configure script for 29.1 on line
> > 2761 has the option to generate a smaller sized Japanese dictionary.
> > 
> > The awk script I have since misplaced but it should be somewhere in
> > the bug report if details have not been purged beyond 12 months.
> 
> Details were not purged, but please look at the past discussions of
> this bug and tell where in it should we look for the Awk script.
> 

The patch is located at X and the Awk script in there looks as follows

 1  BEGIN {
 2      FS="       "
 3      printf("(defvar readings-table\n\
 4         (make-char-table 'readings-table nil)\n\
 5         \"Char table of definitions for East Asian characters.\")\n")
 6  }
 7  /^#/ { next }
 8  /kDefinition/ {
 9      sub(/^../, "#x", $1)
10      printf("(aset readings-table %s \"%s\")\n", $1, $3)
11  }
12
13  # Local Variables:
14  # indent-tabs-mode: t
15  # tab-width: 8
16  # End:

 X
    https://lists.gnu.org/archive/html/bug-gnu-emacs/2022-01/msg01393.html




This bug report was last modified 2 years and 18 days ago.

Previous Next


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