From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Modern Conventions for Emacs Lisp files? Date: Sat, 13 Apr 2013 23:06:59 -0400 Message-ID: References: <87hajhswdh.fsf@gmail.com> <87y5csu7ml.fsf@gmail.com> <87hajgu5bp.fsf@gmail.com> <87li8m3sny.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1365908821 16338 80.91.229.3 (14 Apr 2013 03:07:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Apr 2013 03:07:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thorsten Jolitz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 14 05:07:05 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1URDHU-0002xr-UW for ged-emacs-devel@m.gmane.org; Sun, 14 Apr 2013 05:07:05 +0200 Original-Received: from localhost ([::1]:45500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URDHU-0003WO-D4 for ged-emacs-devel@m.gmane.org; Sat, 13 Apr 2013 23:07:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URDHR-0003Vr-BY for emacs-devel@gnu.org; Sat, 13 Apr 2013 23:07:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URDHQ-0000hR-Dx for emacs-devel@gnu.org; Sat, 13 Apr 2013 23:07:01 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:43940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URDHQ-0000hM-9z for emacs-devel@gnu.org; Sat, 13 Apr 2013 23:07:00 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxIEd/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IPAS-Result: Av4EABK/CFFFxIEd/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBsEtkQoDpHqBXoMT X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="7361293" Original-Received: from 69-196-129-29.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.196.129.29]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 13 Apr 2013 23:06:56 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 90259AE0BC; Sat, 13 Apr 2013 23:06:59 -0400 (EDT) In-Reply-To: <87li8m3sny.fsf@gmail.com> (Thorsten Jolitz's message of "Sun, 14 Apr 2013 01:41:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158895 Archived-At: > I modified 'outshine.el', 'outorg.el' and 'navi-mode.el' so that they > now deal with the special case of "oldschool" elisp headers (";;;+"). I see that the lines that match "^(" aren't treated as "deepest headers", as they are in outline-minor-mode. Since the format of those headers is very different, it might not be easy to support them, of course. > I tried this on several arbitrary .el files from Emacs itself and from > Org-mode, and it worked. Testing several files revealed that many Elisp > libraries did not make much use of outline structuring, Indeed, which is why it's not worth the trouble introducing a new convention. Stefan