From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29949: 26.0.90; doc of `picture-mode-exit' and `picture-mode' Date: Tue, 02 Jan 2018 21:38:03 +0200 Message-ID: <831sj8caqs.fsf@gnu.org> References: <706e6966-d849-420a-be4c-a3b70d204cd7@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1514922223 9220 195.159.176.226 (2 Jan 2018 19:43:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 2 Jan 2018 19:43:43 +0000 (UTC) Cc: 29949@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 02 20:43:39 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWSTC-0001XC-BV for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jan 2018 20:43:30 +0100 Original-Received: from localhost ([::1]:53089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWSVA-0003PN-M3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jan 2018 14:45:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWSOv-00058l-Rh for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2018 14:39:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWSOs-0001lh-Ob for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2018 14:39:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53005) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWSOs-0001lN-Ld for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2018 14:39:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eWSOs-0005ck-Bx for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2018 14:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Jan 2018 19:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29949 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29949-submit@debbugs.gnu.org id=B29949.151492189721564 (code B ref 29949); Tue, 02 Jan 2018 19:39:02 +0000 Original-Received: (at 29949) by debbugs.gnu.org; 2 Jan 2018 19:38:17 +0000 Original-Received: from localhost ([127.0.0.1]:33453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWSO9-0005bk-7w for submit@debbugs.gnu.org; Tue, 02 Jan 2018 14:38:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWSO7-0005bW-SU for 29949@debbugs.gnu.org; Tue, 02 Jan 2018 14:38:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWSNz-0001IS-Lk for 29949@debbugs.gnu.org; Tue, 02 Jan 2018 14:38:10 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWSNz-0001IO-Hu; Tue, 02 Jan 2018 14:38:07 -0500 Original-Received: from [176.228.60.248] (port=1327 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eWSNz-0006JL-1v; Tue, 02 Jan 2018 14:38:07 -0500 In-reply-to: <706e6966-d849-420a-be4c-a3b70d204cd7@default> (message from Drew Adams on Tue, 2 Jan 2018 09:34:57 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:141717 Archived-At: > Date: Tue, 2 Jan 2018 09:34:57 -0800 (PST) > From: Drew Adams > > 1. The doc string of `picture-mode-exit' should mention the prefix arg > (not just arg). Fixed, thanks. > 2. Both doc strings incorrectly give the impression that a line that has > only whitespace (e.g. space chars) is NOT stripped of its whitespace > chars if you provide an argument. > > The command functions correctly, which is to strip all such lines except > the one with point. The whitespace preceding point on its line is not > stripped when you use a prefix arg. This is the only whitespace that is > not stripped when you use a prefix arg. I see nothing like what you describe. The behavior I see is exactly what the doc strings say: trailing whitespace is removed, unless the exit command is invoked with C-u. Empty lines are treated as any other trailing whitespace, i.e. removed in their entirety.