emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modern Conventions for Emacs Lisp files?


From: Stefan Monnier
Subject: Re: Modern Conventions for Emacs Lisp files?
Date: Mon, 08 Apr 2013 09:22:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> 1. File structuring with outcommented Org-mode headlines (;; * Headline)

There is already a standard for that:

   ;;; Headline
   ;;;; SubHeadline
   ;;;;; SubSubHeadline

outline-minor-mode understands it.
   
> 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 <address@hidden>
   ;; Maintainer: FSF
   ;; Package: emacs

It's not the same format, but that shouldn't be a major issue.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]