GNU bug report logs - #6576
documentation `string-to-char' is incorrect

Previous Next

Package: emacs;

Reported by: MON KEY <monkey <at> sandpframing.com>

Date: Tue, 6 Jul 2010 21:35:01 UTC

Severity: minor

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Cc: monkey <at> sandpframing.com, schwab <at> linux-m68k.org, 6576 <at> debbugs.gnu.org
Subject: bug#6576: documentation `string-to-char' is incorrect
Date: Thu, 14 Jul 2011 18:59:45 +0300
> From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
> Cc: schwab <at> linux-m68k.org,  monkey <at> sandpframing.com,  6576 <at> debbugs.gnu.org
> Date: Thu, 14 Jul 2011 16:06:34 +0200
> 
> >     A multibyte character is handled correctly.
> 
> I understand why it is there, because (presumably) in the olden times,
> this wasn't always true?
> 
> But I think that line can be deleted, too.

If you delete it, how would users know what does this function do with
unibyte strings?  What numerical value will it return when passed a
unibyte string?




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

Previous Next


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