From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.devel Subject: Re: Modern Conventions for Emacs Lisp files? Date: Mon, 08 Apr 2013 21:47:46 +0200 Message-ID: <87y5csu7ml.fsf@gmail.com> References: <87hajhswdh.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1365450478 27734 80.91.229.3 (8 Apr 2013 19:47:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Apr 2013 19:47:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 08 21:48:01 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 1UPI2r-0007ge-CL for ged-emacs-devel@m.gmane.org; Mon, 08 Apr 2013 21:48:01 +0200 Original-Received: from localhost ([::1]:48549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPI2r-00012A-0y for ged-emacs-devel@m.gmane.org; Mon, 08 Apr 2013 15:48:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPI2l-00011y-KY for emacs-devel@gnu.org; Mon, 08 Apr 2013 15:47:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPI2k-0000Db-BH for emacs-devel@gnu.org; Mon, 08 Apr 2013 15:47:55 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPI2k-0000DW-4v for emacs-devel@gnu.org; Mon, 08 Apr 2013 15:47:54 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UPI2j-0007Zm-7g for emacs-devel@gnu.org; Mon, 08 Apr 2013 21:47:53 +0200 Original-Received: from g231225015.adsl.alicedsl.de ([92.231.225.15]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Apr 2013 21:47:53 +0200 Original-Received: from tjolitz by g231225015.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Apr 2013 21:47:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 67 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: g231225015.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:yqfVoAqlIMKdSX3XQZEW+3okp7Y= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:158777 Archived-At: Stefan Monnier writes: >> 1. File structuring with outcommented Org-mode headlines (;; * Headline) > > There is already a standard for that: > > ;;; Headline > ;;;; SubHeadline > ;;;;; SubSubHeadline > > outline-minor-mode understands it. ok, lets put it like this: I wanted to let fellow Emacs/Org-mode users know that they can have the same thing in Org-mode style now. And since 'outshine.el' and 'outorg.el' simply comment and uncomment Org-mode headlines, it works in other modes too: ,-------------- | LaTeX | % * Headline | | PicoLisp | ## * Headline | | etc. `-------------- The headline is calculated from the comment-syntax of the major-mode and the Org-mode headline syntax. >> 2. Meta information not as free text anymore but as Org-mode properties, >> maybe like this: >> ,--------------------------------------------------------- >> | * navi-mode.el --- major-mode for easy buffer-navigation >> | :PROPERTIES: >> | :copyright: Thorsten Jolitz >> | :copyright-years: 2013 >> | :version: 0.9 >> | :licence: GPL 2 or later (free software) >> | :licence-url: http://www.gnu.org/licenses/ >> | :part-of-emacs: no >> | :author: Thorsten Jolitz >> | :author_email: tjolitz AT gmail DOT com >> | :inspiration: occur-mode org-mode >> | :keywords: emacs outline lisp >> | :END: >> `--------------------------------------------------------- > > There is already a non-free-text section with such meta-info, > manipulated with lisp-mnt.el functions. It looks like > > ;; Author: Chinua Achebe > ;; Maintainer: FSF > ;; Package: emacs > > It's not the same format, but that shouldn't be a major issue. Ok, again I probably wanted to let fellow Emacs/Org-mode users know that they can now quickly open their elisp comment-sections in temporary Org-mode edit buffers (with outorg.el) and thus effortlessly use the special Org-mode stuff like table-editing and property-drawers in their Emacs Lisp comment headers. -- cheers, Thorsten