From unknown Tue Aug 19 23:09:38 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14973 <14973@debbugs.gnu.org> To: bug#14973 <14973@debbugs.gnu.org> Subject: Status: Unfill for Emacs Reply-To: bug#14973 <14973@debbugs.gnu.org> Date: Wed, 20 Aug 2025 06:09:38 +0000 retitle 14973 Unfill for Emacs reassign 14973 emacs submitter 14973 Xue Fuqiao severity 14973 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 28 02:36:17 2013 Received: (at submit) by debbugs.gnu.org; 28 Jul 2013 06:36:18 +0000 Received: from localhost ([127.0.0.1]:53853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3KaW-0002Pe-Nh for submit@debbugs.gnu.org; Sun, 28 Jul 2013 02:36:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42669) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3KaU-0002PA-Dp for submit@debbugs.gnu.org; Sun, 28 Jul 2013 02:36:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3KaO-0003sS-Ai for submit@debbugs.gnu.org; Sun, 28 Jul 2013 02:36:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3KaO-0003sB-7t for submit@debbugs.gnu.org; Sun, 28 Jul 2013 02:36:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3KaN-0002go-A5 for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 02:36:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3KaM-0003rk-Bo for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 02:36:07 -0400 Received: from mail-ob0-x22e.google.com ([2607:f8b0:4003:c01::22e]:57599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3KaM-0003rg-6x for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 02:36:06 -0400 Received: by mail-ob0-f174.google.com with SMTP id wd6so3972748obb.19 for ; Sat, 27 Jul 2013 23:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=g1hQZQXpz31Kb6HuRJDDRo6VA++YYO+42pIEStZOH14=; b=ufWpRKE5FPd6Cu8yZj08/Imnn58hPOy7Z3sQHTOQBUjaFRz8v9RHH6Yl2tdFFv0RiO 6TR0n5lKUJbrs9iDJmSqbKBjq0IpNnOd+ge/YZ6JLs8Aas4+ZvB9Tvg04RU0b0M6GUiy VRED4bwcOFGweDY2yZSwctJM0CyMtl+49wzCmMsIoTX5gvrpSN+lmdYaSAqNaf2v7u93 +lkj4wM+91wXg3zDn+1BaRCVeV27I6MVIIxLhbg5bE5scfBEGx2UQnfJ3Lun4kb33JmH 2bZe9KyKLSMyeQ63/lLALsY0ODYLF+s0++UXUGoocz/D/De6agdnB//xzL0zUvjLOcwJ TvSg== MIME-Version: 1.0 X-Received: by 10.43.152.210 with SMTP id kx18mr20936991icc.39.1374993365201; Sat, 27 Jul 2013 23:36:05 -0700 (PDT) Received: by 10.42.28.3 with HTTP; Sat, 27 Jul 2013 23:36:05 -0700 (PDT) Date: Sun, 28 Jul 2013 14:36:05 +0800 Message-ID: Subject: Unfill for Emacs From: Xue Fuqiao To: bug-gnu-emacs Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) tags patch There are fill-{paragraph, column}, but I didn't find an unfill command, can we add them (maybe in fill.el)? (defun unfill-paragraph () "Replace newline characters in current paragraph by single spaces. This command does the inverse of `fill-paragraph'." (interactive) (let ((fill-column most-positive-fixnum)) (fill-paragraph nil))) (defun unfill-region (beg end) "Replace newline characters in region by single spaces. If called non-interactively, BEG and END are the beginning and end of the text to unfill. This command does the inverse of `fill-region'." (interactive "r") (let ((fill-column most-positive-fixnum)) (fill-region beg end))) -- Best regards, Xue Fuqiao. http://www.gnu.org/software/emacs/ From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 28 10:28:41 2013 Received: (at 14973) by debbugs.gnu.org; 28 Jul 2013 14:28:41 +0000 Received: from localhost ([127.0.0.1]:54448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3Rxh-0004mq-4W for submit@debbugs.gnu.org; Sun, 28 Jul 2013 10:28:41 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:20849) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3Rxe-0004ma-NS for 14973@debbugs.gnu.org; Sun, 28 Jul 2013 10:28:39 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r6SESWo6019660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 28 Jul 2013 14:28:32 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r6SESVDI002622 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 28 Jul 2013 14:28:32 GMT Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r6SESV9N005772; Sun, 28 Jul 2013 14:28:31 GMT MIME-Version: 1.0 Message-ID: <1f8050e2-42ce-44b8-a2fa-72b2d8e88254@default> Date: Sun, 28 Jul 2013 07:28:29 -0700 (PDT) From: Drew Adams To: Xue Fuqiao , 14973@debbugs.gnu.org Subject: RE: bug#14973: Unfill for Emacs References: In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 14973 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) Just one terminology point: what you describe and implement is not unfilling. These are fill commands, not unfill commands. Unfilling is the inverse of filling. Unfilling undoes the last filling operation on the same region or whatever. It restores contiguous whitespace chars that were collapsed, etc. What you have instead might be called "join lines" or "remove line breaks". But even those names do not accurately characterize it, because it also fills: it insists on the kind of whitespace separation imposed by filling: no contiguous whitespace chars (except possibly indentation and after sentence ends). That does not mean that this could not be useful. But we might not want to falsely advertise what it does. The best characterization of what this code does is "fill as one line". (But even that assumes a line length less than `most-positive-fixnum'.) And that is my suggestion: `fill-paragraph-as-one-line' `fill-region-as-one-line' From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 28 10:54:22 2013 Received: (at 14973) by debbugs.gnu.org; 28 Jul 2013 14:54:22 +0000 Received: from localhost ([127.0.0.1]:54507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3SMY-0005pc-1K for submit@debbugs.gnu.org; Sun, 28 Jul 2013 10:54:22 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:37591) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3SMS-0005pF-Lp for 14973@debbugs.gnu.org; Sun, 28 Jul 2013 10:54:18 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MQN00J00IOSMM00@a-mtaout20.012.net.il> for 14973@debbugs.gnu.org; Sun, 28 Jul 2013 17:53:53 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MQN00JS6IPTCF80@a-mtaout20.012.net.il>; Sun, 28 Jul 2013 17:53:53 +0300 (IDT) Date: Sun, 28 Jul 2013 17:53:58 +0300 From: Eli Zaretskii Subject: Re: bug#14973: Unfill for Emacs In-reply-to: X-012-Sender: halo1@inter.net.il To: Xue Fuqiao Message-id: <834nbezqex.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14973 Cc: 14973@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sun, 28 Jul 2013 14:36:05 +0800 > From: Xue Fuqiao > > There are fill-{paragraph, column}, but I didn't find an unfill command, > can we add them (maybe in fill.el)? > > (defun unfill-paragraph () > "Replace newline characters in current paragraph by single spaces. > > This command does the inverse of `fill-paragraph'." > (interactive) > (let ((fill-column most-positive-fixnum)) > (fill-paragraph nil))) You need a special command to replace one character by another? From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 28 11:06:57 2013 Received: (at 14973) by debbugs.gnu.org; 28 Jul 2013 15:06:57 +0000 Received: from localhost ([127.0.0.1]:54516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3SYi-0006Ic-FQ for submit@debbugs.gnu.org; Sun, 28 Jul 2013 11:06:56 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:24485) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3SYf-0006ID-UC for 14973@debbugs.gnu.org; Sun, 28 Jul 2013 11:06:54 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r6SF6lPM006386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 28 Jul 2013 15:06:48 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r6SF6kjX027443 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 28 Jul 2013 15:06:47 GMT Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r6SF6k9M001636; Sun, 28 Jul 2013 15:06:46 GMT MIME-Version: 1.0 Message-ID: Date: Sun, 28 Jul 2013 08:06:44 -0700 (PDT) From: Drew Adams To: Eli Zaretskii , Xue Fuqiao Subject: RE: bug#14973: Unfill for Emacs References: <> <<834nbezqex.fsf@gnu.org>> In-Reply-To: <<834nbezqex.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 14973 Cc: 14973@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) > > There are fill-{paragraph, column}, but I didn't find an unfill command= , > > can we add them (maybe in fill.el)? > > > > (defun unfill-paragraph () > > "Replace newline characters in current paragraph by single spaces. >=20 > You need a special command to replace one character by another? A user might not *need* that, provided s?he were knowledgeable wrt replacement commands or wrt Lisp. But a user might *want* that. The question is whether such commands should be added to Emacs, as a convenience. I have no opinion about that. But if they are added then I would prefer that the command names reflect better what the commands do (see my previous comment). From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 28 11:15:04 2013 Received: (at submit) by debbugs.gnu.org; 28 Jul 2013 15:15:05 +0000 Received: from localhost ([127.0.0.1]:54525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3Sga-0006cM-Mm for submit@debbugs.gnu.org; Sun, 28 Jul 2013 11:15:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55628) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3SgX-0006ba-Bx for submit@debbugs.gnu.org; Sun, 28 Jul 2013 11:15:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3SgO-0006YE-PB for submit@debbugs.gnu.org; Sun, 28 Jul 2013 11:14:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:60772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3SgO-0006YA-M3 for submit@debbugs.gnu.org; Sun, 28 Jul 2013 11:14:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3SgM-00010x-5m for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 11:14:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3SgJ-0006Xi-MU for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 11:14:50 -0400 Received: from [2a02:2498:e000:20::61:2] (port=57987 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3SgJ-0006UK-EB for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2013 11:14:47 -0400 Received: by saturn.ch.ristopher.com (Postfix, from userid 0) id A5F7A203E4; Sun, 28 Jul 2013 16:14:44 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ch.ristopher.com; s=mail; t=1375024484; bh=Zv2fA/TgAHszBzLTnvvGaL+34v3G8DZ76mkBczqHwMQ=; h=From:To:Subject:In-Reply-To:Message-ID:References:MIME-Version: Content-Type:Date; b=F+3Lw9PK1ATvQJPzAt/xk1wNTSgX0IqdwlXaWMfLrIIGkGbN5qOvjLuD5xXmNuxmE rtjpmqF5SL5Szu6MVsHghIRWPp0khvUFdR86lB0Wzq227DPY9HiorBNpMjOQfjPEFR 1tFhkdGiFpN3Q5dY2tGw7iaddkmPregGGt90Gmdo= From: Christopher Schmidt To: bug-gnu-emacs@gnu.org Subject: Re: bug#14973: Unfill for Emacs In-Reply-To: <834nbezqex.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 28 Jul 2013 17:53:58 +0300") Message-ID: <87ppu24sy3@ch.ristopher.com> References: <834nbezqex.fsf@gnu.org> Mail-Followup-To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain Date: Sun, 28 Jul 2013 16:14:44 +0100 (BST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > You need a special command to replace one character by another? The command does more than that, e.g. it honours sentence-end-double-space. I do not think there is any need to add this command to vanilla Emacs. Just use set-fill-column (C-x f). Christopher From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 28 12:58:13 2013 Received: (at 14973) by debbugs.gnu.org; 28 Jul 2013 16:58:13 +0000 Received: from localhost ([127.0.0.1]:54618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3UIO-0001oL-Ue for submit@debbugs.gnu.org; Sun, 28 Jul 2013 12:58:13 -0400 Received: from mail-pa0-f41.google.com ([209.85.220.41]:48881) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3UIL-0001ny-B2 for 14973@debbugs.gnu.org; Sun, 28 Jul 2013 12:58:10 -0400 Received: by mail-pa0-f41.google.com with SMTP id bj1so3385077pad.14 for <14973@debbugs.gnu.org>; Sun, 28 Jul 2013 09:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=OxLnDkpGY7G96YFfo8R9Kvv9GA1XZX1Uv/DNLl1f9uY=; b=mU0gzdem9R2cD+GdMu+DGgQCPkiYhQEyUjyBfmTBFBocg9/dxYznUd2UGkmdc/Xh0e Apvt1ktpvK7O9YVkZ8TB4RW1Fj7sSjPVcTpPyZhtueLR8r2QLzdBGaNpWd/vsbZRRBSm i9OjZpRBQRg4IcdTc+E/RVMifAYfLU0pJMsBQ+q/mdbze/ZHkhWxAHNGXaxqsBisiGGX 8nwdvm2RyP9H6004r/nJ/UAjXLt3+fElixO0jO8NdwPo8gg+msu08uDq/xaAsinae51j y2tkyvFnRJi5SndfN+ycdzWkU3JjQzTNHPQFmSLnCO5sicUxNiHDLFmN+v8QwY+S9x7Q sAQQ== X-Received: by 10.68.227.65 with SMTP id ry1mr63135747pbc.147.1375030683087; Sun, 28 Jul 2013 09:58:03 -0700 (PDT) Received: from debian-6.05 ([115.241.106.158]) by mx.google.com with ESMTPSA id qg10sm72147270pbb.2.2013.07.28.09.57.59 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sun, 28 Jul 2013 09:58:02 -0700 (PDT) From: Jambunathan K To: Drew Adams Subject: Re: bug#14973: Unfill for Emacs References: > <834nbezqex.fsf@gnu.org>> Date: Sun, 28 Jul 2013 22:29:47 +0530 In-Reply-To: (Drew Adams's message of "Sun, 28 Jul 2013 08:06:44 -0700 (PDT)") Message-ID: <877ggay60s.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14973 Cc: Xue Fuqiao , Eli Zaretskii , 14973@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) >> You need a special command to replace one character by another? This is what I use for deleting newlines and thus create "long" lines. Seem to work well for me. ,---- | M-^ runs the command delete-indentation, which is an interactive | compiled Lisp function in `simple.el'. | | It is bound to M-^. | | (delete-indentation &optional ARG) | | Join this line to previous and fix up whitespace at join. | If there is a fill prefix, delete it from the beginning of this line. | With argument, join this line to following line. `---- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 28 14:31:40 2013 Received: (at 14973) by debbugs.gnu.org; 28 Jul 2013 18:31:40 +0000 Received: from localhost ([127.0.0.1]:54722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3Vkp-0005v7-N8 for submit@debbugs.gnu.org; Sun, 28 Jul 2013 14:31:39 -0400 Received: from mail-qc0-f171.google.com ([209.85.216.171]:36688) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V3Vko-0005uh-2v for 14973@debbugs.gnu.org; Sun, 28 Jul 2013 14:31:38 -0400 Received: by mail-qc0-f171.google.com with SMTP id n1so2495996qcw.30 for <14973@debbugs.gnu.org>; Sun, 28 Jul 2013 11:31:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :x-gm-message-state; bh=YprKf2+jm4RPDR+PPbh/xfUJ86ivI+3PxQo+0MOyQBQ=; b=crqVapigO945Lisji8H6u9rybxyI0rGqWCc6dwjyG/+cNB2oFYijRVk5DYRUJKwReE waLyMkxuTX/TBSVnocne4vyGfQpgOcaPvU7M4gkW2Xd5Jl0I/6X3jizNrOxpr12K/SpB MG4BbI/756SAS/hmyNhAx6tS22RGHapyd0JLgVtmaQtLfvx7RNk1D5ktqt3sfhzc1PUQ /CIHrCmjr0leMZZQxcCHqF8vv49wvh5XhPNnElvcaLDa65SBBjBv0FAykmT65Uf3CTRA y4aoi61sif1PksFbSMu9vz90fLExi1tgZRAUs3aq88WRBM35ouGz29yvvQ1s/nOiXdwR r2TQ== X-Received: by 10.224.22.195 with SMTP id o3mr40252027qab.90.1375036292317; Sun, 28 Jul 2013 11:31:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.38.162 with HTTP; Sun, 28 Jul 2013 11:31:02 -0700 (PDT) In-Reply-To: <877ggay60s.fsf@gmail.com> References: <834nbezqex.fsf@gnu.org> <877ggay60s.fsf@gmail.com> From: Josh Date: Sun, 28 Jul 2013 11:31:02 -0700 X-Google-Sender-Auth: ecq4ZukqFQfv7owceLy_VVuPcow Message-ID: Subject: Re: bug#14973: Unfill for Emacs To: Jambunathan K Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkbUUPezl1MFQD/TFq4tfvv8VCPAwCkI/FivUT+riNVwaAMLvsr7wxMoSdt67/l3Rv5UmKC X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14973 Cc: Xue Fuqiao , 14973@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Sun, Jul 28, 2013 at 9:59 AM, Jambunathan K wrote: > >>> You need a special command to replace one character by another? > > This is what I use for deleting newlines and thus create "long" lines. > Seem to work well for me. > > ,---- > | M-^ runs the command delete-indentation, which is an interactive > | compiled Lisp function in `simple.el'. > | > | It is bound to M-^. > | > | (delete-indentation &optional ARG) > | > | Join this line to previous and fix up whitespace at join. > | If there is a fill prefix, delete it from the beginning of this line. > | With argument, join this line to following line. > `---- Perhaps it would make sense to extend delete-indentation to apply to active regions in the same way as commands like replace-string, whitespace-cleanup, etc. This could make "unfilling" a paragraph as simple as M-h M-^, perhaps with an intervening C-n to move point to the desired position. Alternatively, a bare negative prefix argument (M-- M-^) could trigger that behavior without need of an active region. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 26 12:25:49 2022 Received: (at 14973) by debbugs.gnu.org; 26 Jan 2022 17:25:49 +0000 Received: from localhost ([127.0.0.1]:53370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCm3J-0006GS-94 for submit@debbugs.gnu.org; Wed, 26 Jan 2022 12:25:49 -0500 Received: from quimby.gnus.org ([95.216.78.240]:50084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCm3H-0006GB-Nm for 14973@debbugs.gnu.org; Wed, 26 Jan 2022 12:25:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=rogi3YwQ3uwsSO9AlxdZ6fYp12Du6pGtWZHXhtIf6Dw=; b=T0MTo479fDiAE7AWQO2ic8lyKF cMlBG8deNckqvUJKp5ZZo5Hry2gjdPHyvPAqanGICtsKVAT9SZUs4P9QXK21gcsHdQVQh9YL10xgM Mlf+kkSUEesKHBdD8Ai0WRptzDTZBmnB6gBzfPr/aFROl5tCawh7X7HavCQazsZ4rX/4=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCm35-0004Dg-Iq; Wed, 26 Jan 2022 18:25:39 +0100 From: Lars Ingebrigtsen To: Josh Subject: Re: bug#14973: Unfill for Emacs References: <834nbezqex.fsf@gnu.org> <877ggay60s.fsf@gmail.com> X-Now-Playing: Nina Simone's _Little Girl Blue_: "He Needs Me" Date: Wed, 26 Jan 2022 18:25:33 +0100 In-Reply-To: (josh@foxtail.org's message of "Sun, 28 Jul 2013 11:31:02 -0700") Message-ID: <87ee4upfxu.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Josh writes: > Perhaps it would make sense to extend delete-indentation to apply to > active regions in the same way as commands like replace-string, > whitespace-cleanup, etc. This could make "unfilling" a paragr [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 14973 Cc: Xue Fuqiao , Jambunathan K , Drew Adams , 14973@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Josh writes: > Perhaps it would make sense to extend delete-indentation to apply to > active regions in the same way as commands like replace-string, > whitespace-cleanup, etc. This could make "unfilling" a paragraph as > simple as M-h M-^, perhaps with an intervening C-n to move point to > the desired position. (I'm going through old bug reports that unfortunately weren't resolved at the time.) Looks like the command was changed to work just like this in: commit 0cd250e9583deb1e1f4d8dae2ec44c4f7c13efa6 Author: Basil L. Contovounesios AuthorDate: Wed Mar 27 15:13:25 2019 +0000 Fix recently extended delete-indentation behavior So I think this covers the proposed new commands, and I'm therefore closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 26 12:25:55 2022 Received: (at control) by debbugs.gnu.org; 26 Jan 2022 17:25:55 +0000 Received: from localhost ([127.0.0.1]:53373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCm3O-0006Gl-GB for submit@debbugs.gnu.org; Wed, 26 Jan 2022 12:25:55 -0500 Received: from quimby.gnus.org ([95.216.78.240]:50098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCm3N-0006GL-8g for control@debbugs.gnu.org; Wed, 26 Jan 2022 12:25:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DPnwD1Y4HWWT4OGk/7/aNl11xMHER+24kTGe1Wu+zsw=; b=UY8RVSKrWd5mIVZtp/nbrEaosT gSiU+FadHVbHS2reB7j6SI0JQug2XzdZElTO3nyV4ZGUobdyenKGRr2DQV6xhWM/rjApH2IksRVBG sMAfvrsc0dvUucDi1UgfdbL7dX1s2TKpKrAw7YCxv3zbaaL2N3WPOgSHbyZZAVqySBIg=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCm3F-0004Dp-7x for control@debbugs.gnu.org; Wed, 26 Jan 2022 18:25:47 +0100 Date: Wed, 26 Jan 2022 18:25:44 +0100 Message-Id: <87czkepfxj.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #14973 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 14973 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 14973 quit From unknown Tue Aug 19 23:09:38 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 24 Feb 2022 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator