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#18652: 25.0.50; [PATCH] Add fresh-line Date: Wed, 08 Oct 2014 10:08:44 +0300 Message-ID: <83zjd7jawz.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1412752166 15932 80.91.229.3 (8 Oct 2014 07:09:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2014 07:09:26 +0000 (UTC) Cc: 18652@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 08 09:09:18 2014 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 1XblN8-0006s4-6D for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Oct 2014 09:09:18 +0200 Original-Received: from localhost ([::1]:34572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XblN7-0007Fy-Kp for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Oct 2014 03:09:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XblMy-0007Fq-O7 for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2014 03:09:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XblMs-0001uV-QR for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2014 03:09:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XblMs-0001uP-Ms for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2014 03:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XblMr-0002zn-Ru for bug-gnu-emacs@gnu.org; Wed, 08 Oct 2014 03:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Oct 2014 07:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18652 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 18652-submit@debbugs.gnu.org id=B18652.141275211711475 (code B ref 18652); Wed, 08 Oct 2014 07:09:01 +0000 Original-Received: (at 18652) by debbugs.gnu.org; 8 Oct 2014 07:08:37 +0000 Original-Received: from localhost ([127.0.0.1]:37311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XblMS-0002z0-Hz for submit@debbugs.gnu.org; Wed, 08 Oct 2014 03:08:36 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:55092) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XblMP-0002yr-Q5 for 18652@debbugs.gnu.org; Wed, 08 Oct 2014 03:08:35 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0ND40040063QZ100@a-mtaout23.012.net.il> for 18652@debbugs.gnu.org; Wed, 08 Oct 2014 10:08:32 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ND4004UC6I7ZG00@a-mtaout23.012.net.il>; Wed, 08 Oct 2014 10:08:32 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:94273 > From: Leo Liu > Date: Wed, 08 Oct 2014 13:08:57 +0800 > Cc: 18652@debbugs.gnu.org > > +@defun fresh-line &optional stream I can't say I care much for this name. How about add-newline, or ensure-newline or some such? > +@cindex fresh line in print > +This function outputs a newline to @var{stream} unless already at the > +beginning of a line. Return @code{t} if a newline is printed. Signal "At beginning of a line" needs explanation, I think. Also, our convention is to have 2 spaces between sentences. Finally, the style in the manual is to say "function returns" or "it returns" and "signals", instead of "return" and "signal". Thanks.