From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6576: documentation `string-to-char' is incorrect Date: Thu, 14 Jul 2011 18:59:45 +0300 Message-ID: <83mxggetu6.fsf@gnu.org> References: <83630r934x.fsf@gnu.org> <834ogb8txc.fsf@gnu.org> <83y6dn74lv.fsf@gnu.org> <83wrt770rf.fsf@gnu.org> <83pqldef1r.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1310661072 29147 80.91.229.12 (14 Jul 2011 16:31:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 16:31:12 +0000 (UTC) Cc: monkey@sandpframing.com, schwab@linux-m68k.org, 6576@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 14 18:31:08 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhOob-0005Q5-Rd for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 18:31:05 +0200 Original-Received: from localhost ([::1]:53488 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhOoa-0005PT-Sz for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 12:31:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhOIi-0005ng-5p for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 11:58:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhOId-0003pd-Hl for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 11:58:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhOId-0003pU-5D for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 11:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhOIc-0003Ys-AO; Thu, 14 Jul 2011 11:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2011 15:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6576 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6576-submit@debbugs.gnu.org id=B6576.131065906913672 (code B ref 6576); Thu, 14 Jul 2011 15:58:02 +0000 Original-Received: (at 6576) by debbugs.gnu.org; 14 Jul 2011 15:57:49 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhOIO-0003YS-1h for submit@debbugs.gnu.org; Thu, 14 Jul 2011 11:57:48 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhOIM-0003YG-Aw for 6576@debbugs.gnu.org; Thu, 14 Jul 2011 11:57:46 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LOB00300YSKF900@a-mtaout20.012.net.il> for 6576@debbugs.gnu.org; Thu, 14 Jul 2011 18:57:40 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.156.102]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LOB0022QZ02UFB0@a-mtaout20.012.net.il>; Thu, 14 Jul 2011 18:57:40 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 14 Jul 2011 11:58:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49032 Archived-At: > From: Lars Magne Ingebrigtsen > Cc: schwab@linux-m68k.org, monkey@sandpframing.com, 6576@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?