From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#13810: 24.3.50; Docstring of `newline' is confusing Date: Mon, 25 Feb 2013 14:18:59 +0100 Message-ID: <87k3pwsf98.fsf@rosalinde.fritz.box> References: <20130225180309.53675e52a9cffc46b2478578@gmail.com> <87y5ecshu5.fsf@rosalinde.fritz.box> <20130225204806.e306ddd2a7cc317dd370d019@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361799594 1971 80.91.229.3 (25 Feb 2013 13:39:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Feb 2013 13:39:54 +0000 (UTC) Cc: 13810@debbugs.gnu.org To: Xue Fuqiao Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 25 14:40:17 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U9yHp-0006UU-8F for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Feb 2013 14:40:09 +0100 Original-Received: from localhost ([::1]:32775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9yHU-00046h-K0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Feb 2013 08:39:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9yHO-00045b-9V for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2013 08:39:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9yHG-0000Yp-O9 for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2013 08:39:42 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9xxi-000235-Om for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2013 08:19:22 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U9xzJ-00085H-N9 for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2013 08:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Feb 2013 13:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13810 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13810-submit@debbugs.gnu.org id=B13810.136179844431051 (code B ref 13810); Mon, 25 Feb 2013 13:21:01 +0000 Original-Received: (at 13810) by debbugs.gnu.org; 25 Feb 2013 13:20:44 +0000 Original-Received: from localhost ([127.0.0.1]:49067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9xz1-00084m-TQ for submit@debbugs.gnu.org; Mon, 25 Feb 2013 08:20:44 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:57520) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U9xyz-00084f-Pd for 13810@debbugs.gnu.org; Mon, 25 Feb 2013 08:20:42 -0500 Original-Received: from mailout-de.gmx.net ([10.1.76.12]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0M6hNy-1V6LL63msO-00wXjS for <13810@debbugs.gnu.org>; Mon, 25 Feb 2013 14:19:00 +0100 Original-Received: (qmail invoked by alias); 25 Feb 2013 13:19:00 -0000 Original-Received: from i59F56285.versanet.de (EHLO rosalinde.fritz.box) [89.245.98.133] by mail.gmx.net (mp012) with SMTP; 25 Feb 2013 14:19:00 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19mOFU8c1ZmHPO0LHmawBiiskCO8MgZ2O2eRBlCuV hXYo8Aa28S19x6 In-Reply-To: <20130225204806.e306ddd2a7cc317dd370d019@gmail.com> (Xue Fuqiao's message of "Mon, 25 Feb 2013 20:48:06 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:71781 Archived-At: On Mon, 25 Feb 2013 20:48:06 +0800 Xue Fuqiao wrote: > On Mon, 25 Feb 2013 13:23:14 +0100 > Stephen Berman wrote: > >> On Mon, 25 Feb 2013 18:03:09 +0800 Xue Fuqiao wrote: >> > In the doc string of the function `newline': >> > Insert a newline, and move to left margin of the new line if it's >> > blank. >> > To reproduce this bug: >> > >> > emacs -Q >> > M-< >> > M-: (newline) RET >> > A new line appears, but the point doesn't move to left margin of the >> > first line. >> I think you misread the doc string: point should -- and does -- move to >> the left margin of the *new* line. > > You mean the *new* line is the second line (now)? It just occurred to me that your confusion was probably due to thinking of the newline character (C-j, line feed, "\n"), which is inserted at the end of the line before the new line. In the doc string the two words "new line" unambiguously refer to the line after the inserted newline character that results from calling newline, but the first word "newline" should perhaps be replaced by "newline character" or "line feed". Steve Berman