From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#6576: documentation `string-to-char' is incorrect Date: Thu, 14 Jul 2011 15:00:17 +0200 Message-ID: References: <83630r934x.fsf@gnu.org> <834ogb8txc.fsf@gnu.org> <83y6dn74lv.fsf@gnu.org> <83wrt770rf.fsf@gnu.org> <83pqldef1r.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310649407 16008 80.91.229.12 (14 Jul 2011 13:16:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 13:16:47 +0000 (UTC) Cc: monkey@sandpframing.com, schwab@linux-m68k.org, 6576@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 14 15:16:42 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 1QhLmQ-0008P9-NW for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 15:16:38 +0200 Original-Received: from localhost ([::1]:52678 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhLmP-00046j-EK for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 09:16:37 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhLaK-0001OA-WF for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 09:04:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhLaG-000840-90 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 09:04:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhLaF-00083s-QD for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 09:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhLaE-0000S3-PV; Thu, 14 Jul 2011 09:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen 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 13:04: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.13106486121688 (code B ref 6576); Thu, 14 Jul 2011 13:04:02 +0000 Original-Received: (at 6576) by debbugs.gnu.org; 14 Jul 2011 13:03:32 +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 1QhLZg-0000R3-4S for submit@debbugs.gnu.org; Thu, 14 Jul 2011 09:03:32 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhLZU-0000QX-Eo for 6576@debbugs.gnu.org; Thu, 14 Jul 2011 09:03:20 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhLZG-0005Xr-M7; Thu, 14 Jul 2011 15:03:02 +0200 In-Reply-To: <83pqldef1r.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Jul 2011 06:06:56 +0300") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUBAQNRHyYEBAUAAAFY XG4CAgQBAgPDvbcMBwoCAgLJIrQxAAACbElEQVQ4jWVUPYvcMBAVHE4vEJzLoCDwdkvEBVQaBL5y 0aFCXZoLpFwwuF6RQmXAKDD/Nm+k/eC4AYM8T28+pDcSWeuplDwVPemiSw74KzlPIk8adnBxYlzr GPTEmwW7DVXdbdrYVu+9ABrIphBjBBA+AJroQJRqTG7owLKtohiKZBIAioZeroBvANV9t5ZcjKk+ GNnsjuB31nFARF88m9BIu9uG0P6dpPISn1co10RyHIlRK9nUq//DfUT6Zoncbl9ssxqM1lzuvted HDJxLpgL6B/AAR74bU2dQDXoxkAHMICxE2psQNGxAuFyHVNQx2AYmLKJqB+emv42yvHEpya83/yy fTZxW6yfgdWv12MAe7suFgC+FDlK6W/WrgOAfy0SwIVPiD3bsnVgHS+zmscRPC9nufS4DGx+BmUs lxZu8XPPcZbqrDqgvOrBQEJVcF74rMeL6oX69bmVe5alXcIoZ25H8fqsAMyyG3j+/qNaqDtwN8U5 bo7x4ZfzM4DCKZT8YChD+NZxqxMNPA5G5KzNDlUT4d7MSRyfBpbxJCYd+WrtSxqgF8EXNbC+hc7Q MuTx4ws2np6O9ihiByAr168WDmEF+zuQdg4FXRlQHAcK4cogCIX3w4bhFDCLkXNAI+D+4wAQeHjD EDYADLv3/dA3okFWpgEJesbQxHeew9MJfYQGoAtUBcovJgnxBIWCLEKqNb7xPMNt4vvXOCBSmEQ4 YCrfQNHBIMRPfIEfAYGiXDKUWOFw/uYCDAM6Y5arOfCwIBwDvAcMrEx7MVjjuiXmZ4dHzeBXtwcI HhALXqEi8OIEfnia5dKczPgPd5FSJEFcq9AAAAAASUVORK5CYII= X-Now-Playing: Depeche Mode's _Stripped_: "Black day" X-Hashcash: 1:23:110714:schwab@linux-m68k.org::66alXSSNupNpyoWS:0000000000000000000000000000000000000000B51n X-Hashcash: 1:23:110714:6576@debbugs.gnu.org::4KFgJKeU/ZAyOehw:00000000000000000000000000000000000000000MC2/ X-Hashcash: 1:23:110714:monkey@sandpframing.com::/2XwhppGt3iods4n:00000000000000000000000000000000000001oP53 X-Hashcash: 1:23:110714:eliz@gnu.org::KKL3lNzC7aLbpmK2:00001y8F0 X-MailScanner-ID: 1QhLZG-0005Xr-M7 MailScanner-NULL-Check: 1311253383.31528@Esj9qxZ9hbpjTpjHKhpn1Q X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 14 Jul 2011 09:04: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:48985 Archived-At: Eli Zaretskii writes: >> But after checking it in, I started wondering whether this doc string >> really makes sense. The function returns an Emacs character, and it >> would be rather weird if all functions that take or return an Emacs >> character goes through that entire explanation. > > Which other functions would need this? `char-after', `aref' on a string, `following-char'... Basically anything that returns a character. >> Is there a specific reason this particular function deserves this >> detailed explanation? > > If you can suggest a better one that takes care of the original bug > report, please show your suggestion. I think "close, notabug" would have taken care of the bug report. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/