From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nikolai Weibull Newsgroups: gmane.emacs.devel Subject: Filling paragraphs in m4 mode Date: Thu, 24 Aug 2017 11:02:35 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1503565381 1169 195.159.176.226 (24 Aug 2017 09:03:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 Aug 2017 09:03:01 +0000 (UTC) To: Emacs Developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 24 11:02:56 2017 Return-path: Envelope-to: ged-emacs-devel@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 1dko2P-0008KG-5o for ged-emacs-devel@m.gmane.org; Thu, 24 Aug 2017 11:02:53 +0200 Original-Received: from localhost ([::1]:47350 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dko2W-0008Vc-1d for ged-emacs-devel@m.gmane.org; Thu, 24 Aug 2017 05:03:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dko2H-0008VJ-Mm for emacs-devel@gnu.org; Thu, 24 Aug 2017 05:02:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dko2C-000226-7K for emacs-devel@gnu.org; Thu, 24 Aug 2017 05:02:45 -0400 Original-Received: from disu.se ([71.19.156.204]:42638) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dko2B-00021U-UQ for emacs-devel@gnu.org; Thu, 24 Aug 2017 05:02:40 -0400 Original-Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by disu.se (Postfix) with ESMTPSA id EB2E6C031 for ; Thu, 24 Aug 2017 11:02:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=disu.se; s=mail; t=1503565353; bh=ckqbAm9IOPt3t/vdkbbSiV0xrrdISeB98TDaKFNxHsY=; l=357; h=From:Date:Subject:To:From; b=ysR82t5cgGBC9igGOfUhMndLhYDlwmbbd/epeqR+scudxYqEi42ixKJOyqOc1NuTl PgvZSwLDiKgbS84J1GKtPCKHV1RD3pda8YaKNXEwUyQGbG/p1vwW98nlhNuNI4HcGQ JyEHZfGZSRKOacaNZMa/xv+pUjmpZCz2fSbQ8kLg= Original-Received: by mail-wm0-f53.google.com with SMTP id x128so225364wmg.1 for ; Thu, 24 Aug 2017 02:02:37 -0700 (PDT) X-Gm-Message-State: AHYfb5gi1eTWLhe29x15LpTp6pKOrQ/w+3QqJ0nQc3foac2iktpTL2fh Wbcbc5okAdUxgGU6rVdYahSTjg07Ug== X-Received: by 10.80.137.146 with SMTP id g18mr56426edg.125.1503565356388; Thu, 24 Aug 2017 02:02:36 -0700 (PDT) Original-Received: by 10.80.183.131 with HTTP; Thu, 24 Aug 2017 02:02:35 -0700 (PDT) X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 71.19.156.204 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217753 Archived-At: Hi! M4 mode basically has two comments. One is the dnl variant and one is the # variant. Only the # variant is currently handled by the default fill-paragraph functionality. How would I go about handling the dnl variant as well? (I activate auto-fill-mode with comment-auto-fill-only-comments set in my prog-mode buffers.) Thanks! Nikolai