From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.help Subject: Re: outline-minor-mode for fortran Date: Fri, 28 May 2021 18:23:41 +0000 Message-ID: <871r9q7m4y.fsf@icterid> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33422"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: ludvig-faddeev@gmx.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 28 20:27:28 2021 Return-path: Envelope-to: geh-help-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 1lmhCi-0008R6-9u for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 28 May 2021 20:27:28 +0200 Original-Received: from localhost ([::1]:60014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmhCh-0007I1-Am for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 28 May 2021 14:27:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmh9C-0004hV-2p for help-gnu-emacs@gnu.org; Fri, 28 May 2021 14:23:50 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:57507) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmh99-0004Hj-LE for help-gnu-emacs@gnu.org; Fri, 28 May 2021 14:23:49 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id F14362400E5 for ; Fri, 28 May 2021 20:23:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1622226224; bh=uPsTCii4X09kCVvZOTXs5QNvZiTxLM8SpsE35hVNUD4=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=fZkogwE/ZkxrhozsaKRLgqYvjo4fV38+lj/Db8R5AyR7kqg4/3R2PXz8VP8xQFq9D 7u4l5vRX63fnB3KsJUdHPRBQZ5BUJjcEj9N1kzbLm63PfmJhOElrEyjqRMWvCagbqL IMIHNOnSdZOSwmLCT0DEHcpY53xAlND2ec0k2cVx4ZXpuusSD5yV7/0FyZM2mPAuXo vkZlO0BtiLHliUDH4mfsWAVvnlFGkCb6cvlYB7pIC0M3gn3LtAELkr9Q7Y3rOtrIuW Qemn3tiq3Gaq/oSIZufVpfVxxA7zQP71y3VzA1du4xEBnr07O8f63R/+CAugPa/RoE ysuW2YNV5S/yA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FsCk716vJz9rxF; Fri, 28 May 2021 20:23:43 +0200 (CEST) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=mutual; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: (ludvig-faddeev@gmx.com's message of "Fri, 28 May 2021 19:41:59 +0200") Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:130276 Archived-At: ludvig-faddeev@gmx.com writes: > Can one use outline-minor-mode for fortran and what is used to define > headings? I have never really used fortran-mode, but would this work (add-hook 'fortran-mode-hook (lambda () (setq-local outline-regexp fortran-start-prog-re))) Basically every line that starts with "program", "subroutine, etc. is seen as a outline-header. -- Philip K.