From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: c-fill-paragrpah for code, not just comments Date: Fri, 14 Dec 2018 09:35:03 +0200 Message-ID: <83ftv0h87s.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1544772817 23208 195.159.176.226 (14 Dec 2018 07:33:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Dec 2018 07:33:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 14 08:33:33 2018 Return-path: Envelope-to: geh-help-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 1gXhyV-0005vA-RS for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Dec 2018 08:33:31 +0100 Original-Received: from localhost ([::1]:59814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXi0c-0005Ma-Ek for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Dec 2018 02:35:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXi06-0005KP-P1 for help-gnu-emacs@gnu.org; Fri, 14 Dec 2018 02:35:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXi01-00085L-Pn for help-gnu-emacs@gnu.org; Fri, 14 Dec 2018 02:35:10 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXi01-00085F-Kq for help-gnu-emacs@gnu.org; Fri, 14 Dec 2018 02:35:05 -0500 Original-Received: from [176.228.60.248] (port=2542 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gXi01-00026M-6Y for help-gnu-emacs@gnu.org; Fri, 14 Dec 2018 02:35:05 -0500 In-reply-to: (message from Ken Goldman on Thu, 13 Dec 2018 16:28:20 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118992 Archived-At: > From: Ken Goldman > Date: Thu, 13 Dec 2018 16:28:20 -0500 > > Subject says it - I want to fill the code as well as comments. How > would I do that? What do you mean by "fill the code"? Source code cannot in general be arbitrarily broken between lines, so it's not the same as filling text in comments. If you want to reindent it, then mark the region and type "C-M-\", but I'm not sure this is what you want.