GNU bug report logs - #5197
23.1; (elisp) Character Sets

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 12 Dec 2009 16:55:06 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5197 in the body.
You can then email your comments to 5197 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5197; Package emacs. (Sat, 12 Dec 2009 16:55:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 12 Dec 2009 16:55:07 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 23.1; (elisp) Character Sets
Date: Sat, 12 Dec 2009 08:35:41 -0800
emacs -Q
Go to (elisp)Character Sets
 
1. "The character set `unicode' includes all the characters whose
Emacs code points are in the range `0..10FFFF'."
 
The previous sections in the Non-ASCII major section use decimal
notation for characters and character ranges. When a character-range
value is returned from a function and printed by the read-eval-print
loop, it is written in decimal notation.
 
The notation used should be consistent.
 
2. Description of `map-charset-chars':
 
2a. All that is said about argument ARG is this:
"The second argument is the optional argument ARG."
That's useless. It seems not to respect the reader.
 
2b. "optional arguments FROM-CODE and TO-CODE limit that to the range
of characters". These should presumably be FROM and TO, not FROM-CODE
and TO-CODE.

In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-29 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'
 





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5197; Package emacs. (Sat, 12 Dec 2009 17:50:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 12 Dec 2009 17:50:04 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <5197 <at> debbugs.gnu.org>, <bug-gnu-emacs <at> gnu.org>
Subject: RE: bug#5197: 23.1; (elisp) Character Sets
Date: Sat, 12 Dec 2009 09:42:03 -0800
> emacs -Q
> Go to (elisp)Character Sets
>  
> 1. "The character set `unicode' includes all the characters whose
> Emacs code points are in the range `0..10FFFF'."
>  
> The previous sections in the Non-ASCII major section use decimal
> notation for characters and character ranges.

I was mistaken about this part. It seems that sometimes hex is used and
sometimes decimal is used. When a cons (MIN . MAX) range is mentioned, for
instance, decimal notation is used.

> When a character-range
> value is returned from a function and printed by the read-eval-print
> loop, it is written in decimal notation.
>  
> The notation used should be consistent.

Perhaps, for this part of the bug report, the suggestion should be to just
mention explicitly which number base is being used in the current context.

It's pretty obvious if you see `F' that hex is used, but it is not so obvious
when the digits could be either decimal or hex.





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5197; Package emacs. (Sat, 12 Dec 2009 17:50:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 12 Dec 2009 17:50:06 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5197; Package emacs. (Sat, 02 Jan 2010 18:57:01 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 5197 <at> debbugs.gnu.org
Subject: Re: 23.1; (elisp) Character Sets
Date: Sat, 02 Jan 2010 13:55:56 -0500
> 1. "The character set `unicode' includes all the characters whose
> Emacs code points are in the range `0..10FFFF'."

> The previous sections in the Non-ASCII major section use decimal
> notation for characters and character ranges. When a character-range
> value is returned from a function and printed by the read-eval-print
> loop, it is written in decimal notation.

> The notation used should be consistent.

I've changed this to use hex throughout (since that is what Unicode
uses).  Thanks.

> 2. Description of `map-charset-chars':
>
> 2a. All that is said about argument ARG is this:
> "The second argument is the optional argument ARG."
> That's useless. It seems not to respect the reader.

If you read properly, this is referring to the second argument passed to
FUNCTION.  I tweaked it a little to make this clearer.

> 2b. "optional arguments FROM-CODE and TO-CODE limit that to the range
> of characters". These should presumably be FROM and TO, not FROM-CODE
> and TO-CODE.

No, the arguments should be FROM-CODE and TO-CODE.  Thanks.




bug closed, send any further explanations to "Drew Adams" <drew.adams <at> oracle.com> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Sat, 02 Jan 2010 18:57:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <bug-gnu-emacs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 31 Jan 2010 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 144 days ago.

Previous Next


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