From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#46734: make new function: gnus-article-squeeze-space Date: Wed, 24 Feb 2021 17:25:29 +0100 Message-ID: <87mtvt8mbq.fsf@gnus.org> References: <87ft1nyljc.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14779"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46734@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 24 17:26:34 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEwzi-0003hl-3M for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Feb 2021 17:26:34 +0100 Original-Received: from localhost ([::1]:46188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEwzh-0001Nl-5W for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Feb 2021 11:26:33 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEwzG-0001H8-40 for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2021 11:26:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEwzB-0005Ir-UR for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2021 11:26:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEwzB-0000Jg-RG for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2021 11:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Feb 2021 16:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46734 X-GNU-PR-Package: emacs Original-Received: via spool by 46734-submit@debbugs.gnu.org id=B46734.16141839441179 (code B ref 46734); Wed, 24 Feb 2021 16:26:01 +0000 Original-Received: (at 46734) by debbugs.gnu.org; 24 Feb 2021 16:25:44 +0000 Original-Received: from localhost ([127.0.0.1]:35641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEwyt-0000Ix-Ki for submit@debbugs.gnu.org; Wed, 24 Feb 2021 11:25:43 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:43794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEwyo-0000Id-LZ for 46734@debbugs.gnu.org; Wed, 24 Feb 2021 11:25:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=xR01H8iEwIky52VtfJ89hVSav8qrywfkNeVwjfvrpv0=; b=YNdXINwMikBdu79TzRYZaV5LtS OcmVZp5b2PjzbW7tfO+2i6OiCf7rH1f6V4PafPpD3U+44ejTlojw5BJCTeSr11mPBl3+c1XtYVVEC vWbNP+gGqUk4+gWtvfLkT8jtcXa3WrUgyK+ROVEjOAL+A0vJOv8Escf+YwyM85T7igpg=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lEwyg-0005eR-N4; Wed, 24 Feb 2021 17:25:33 +0100 X-Now-Playing: Eats Tapes's _Still Works_: "Cue My Tam Or Ban Me" In-Reply-To: <87ft1nyljc.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Tue, 23 Feb 2021 21:13:27 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200729 Archived-At: =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > We read > > =E2=80=98W E s=E2=80=99 > Remove all white space from the beginning of all lines of the > article body (=E2=80=98gnus-article-strip-leading-space=E2=80=99). > > =E2=80=98W E e=E2=80=99 > Remove all white space from the end of all lines of the article > body (=E2=80=98gnus-article-strip-trailing-space=E2=80=99). > > OK, maybe add gnus-article-squeeze-space function, > that would turn e.g., > A B > into > A B Messages with excessive white space at the start and end of lines are common, which is why those two commands were added. Excessive space in the middle of text isn't. Closing. (And you can use the `W w' command if you want reformatting.) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no