From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.help Subject: Re: c-fill-paragrpah for code, not just comments Date: Sun, 16 Dec 2018 21:56:27 +0100 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1544994470 28254 195.159.176.226 (16 Dec 2018 21:07:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2018 21:07:50 +0000 (UTC) Cc: help-gnu-emacs To: kgoldman@us.ibm.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 16 22:07:46 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 1gYddZ-0007ET-Dp for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Dec 2018 22:07:45 +0100 Original-Received: from localhost ([::1]:43773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYdfg-0005oj-8f for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Dec 2018 16:09:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYdf3-0005Hf-7L for help-gnu-emacs@gnu.org; Sun, 16 Dec 2018 16:09:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYdSp-0002zu-6R for help-gnu-emacs@gnu.org; Sun, 16 Dec 2018 15:56:39 -0500 Original-Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]:42313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gYdSp-0002zF-1E for help-gnu-emacs@gnu.org; Sun, 16 Dec 2018 15:56:39 -0500 Original-Received: by mail-ot1-x330.google.com with SMTP id v23so10345294otk.9 for ; Sun, 16 Dec 2018 12:56:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FgDnMgxgzrzb3bX6Xlrcphv4FuO5p5p0TArXIxZ8LW8=; b=iogGJ8a8B6HK9Lq4VjA8fwrzjKo0DrTzuFQxyl3BCcJR7SzmdPYqgZ/ulCxTSGI7+L 51Mh0lvDjC7w7utnxy1JqFwSiFBK7EM76OHWJMr2/tDeBJFTldFYhRkCJj/kpQbFLPhS J/PxypxWt7nLG2U8WhDQhaoB+AQHasYcObT4omrUljzTtz6wWA0dQByJsP0UKx+QZCCw m1cQKMZbMMl/xNDacHj5VrXLaduGY0v8WV9mE7QHEU/6BgAZyP9ZfYOOyz+BJy8+rQSC Rk1A2QWrQQrZ2GjPkfTzyMQEGVgUJRHr0lXNvSr8bWO7z4IGvzGHfL6JW5XykD/C42nQ u3LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FgDnMgxgzrzb3bX6Xlrcphv4FuO5p5p0TArXIxZ8LW8=; b=g2FP4MFKU5yDeZOJ/JlAik4ugrfF1sAramWDNsoTfjyHJb6paxHu8bEum3GKSJ7a9w RtmURaYQL5w8fDrR8BIfA+f3lN6za07stUQxoywKz+spJMMdu8DG0VZz5Zblgyn7SlGL 43cniP57AEBSPH0OTuBnEKK+B//Ng6RdbZFCWhIZEfD4OZ1itViNl145yz9ovLLBHpag ZepXZ+Bswux/Z8Cx/ZUJ1TRMLBjrA7QN//ob2l5aMuNKUwUTezfKouWRdChQX24iyMs0 7NEjDSKXwQr21IpdSZk5Z3yBKxXeRNLa5wWi5VELtcbVxvLwC0+OPDW7fqv3oBPRl24G zu/Q== X-Gm-Message-State: AA+aEWZOqIiEwen4aohsgTaSk1ty/AOGjcvaj4qC4cdu1pxNdSzous+4 G4ja9FLAKlGbya1Ee+LywbZe91DZlSkm6JjIO2Y= X-Google-Smtp-Source: AFSGD/Vpch17dzDcNYqMIahqcAIFMZmP+Cysn94hfeOk3Xd+X0EJ0mUqKYWYFeY/Cl9YxxOiG2TeKQx2ri3EOaQKzk4= X-Received: by 2002:a9d:60cf:: with SMTP id b15mr7579757otk.144.1544993798201; Sun, 16 Dec 2018 12:56:38 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::330 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:118999 Archived-At: Am Do., 13. Dez. 2018 um 22:30 Uhr schrieb Ken Goldman : > > Subject says it - I want to fill the code as well as comments. How > would I do that? If this is for C/C++ code, I'd recommend to use ClangFormat, it has an Emacs integration: https://clang.llvm.org/docs/ClangFormat.html#emacs-integration