unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Josh <josh@foxtail.org>
To: Thorsten Jolitz <tjolitz@gmail.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Modern conventions for structuring Emacs Lisp libraries
Date: Sun, 6 Oct 2013 12:31:40 -0700	[thread overview]
Message-ID: <CANdFEAG0Cs2moTJ4B6YgVV5pxo7WFGSe+sefJsYgRjcGdahP3g@mail.gmail.com> (raw)
In-Reply-To: <87vc1ae1on.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1715 bytes --]

On Sun, Oct 6, 2013 at 10:42 AM, Thorsten Jolitz <tjolitz@gmail.com> wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
> >> as a second take on this topic, I would like to make the attached
> >> proposal for improving the conventions for structuring Emacs Lisp
> >> source-code files:

When picking up discussions like this one that have been dormant for
many months it is helpful to follow up to the original thread or provide a
link to the earlier discussion to make it easier for people to refresh
their memories or acquaint themselves with where the discussion left
off: http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00263.html

> >> 2.2.1 Last Line Pathology
> >> -------------------------
> >
> > This is a very minor issue, I think.  It's trivil to fix it by simply
> > ignoring any "trailing header".
> Can't the existing tools be modified to accept both, a trailing header
> or a trailing comment? It might seem like a very minor issue, but its a
> symptom for a not so minor issue - incorrect headline tree-structure.

Most of your arguments seem to be predicated on the incorrect assumption
that "^;;; Text" can /only/ indicate a first-level headline.  The manual
page at (info "(elisp) Comment Tips") begins with the text "We recommend
these conventions for comments:" and goes on to describe several uses
for comments of the above form, of which headlines are but one.  Using
such comments in any of these ways is perfectly legitimate, not an
indication of "pathology" or even incorrect.  That same manual page also
describes how to cause outline-minor-mode to refrain from considering
certain of these comments as headings, namely to follow the semicolons
by two or more spaces.

[-- Attachment #2: Type: text/html, Size: 2188 bytes --]

  parent reply	other threads:[~2013-10-06 19:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-05 13:31 Modern conventions for structuring Emacs Lisp libraries Thorsten Jolitz
2013-10-05 16:52 ` Richard Stallman
2013-10-06 16:40   ` Thorsten Jolitz
2013-10-06 18:04     ` Stefan Monnier
2013-10-07  0:36     ` Xue Fuqiao
2013-10-05 16:52 ` Richard Stallman
2013-10-05 19:18   ` Daniel Colascione
2013-10-06  8:20     ` legalese haters club Stephen J. Turnbull
2013-10-06 19:21     ` Modern conventions for structuring Emacs Lisp libraries Richard Stallman
2013-10-06 16:51   ` Thorsten Jolitz
2013-10-06 18:07     ` Stefan Monnier
2013-10-06  0:42 ` Stefan Monnier
2013-10-06  3:20   ` Xue Fuqiao
2013-10-06  4:47     ` Drew Adams
2013-10-06 17:42   ` Thorsten Jolitz
2013-10-06 18:13     ` Stefan Monnier
2013-10-06 19:31     ` Josh [this message]
2013-10-06 19:58       ` Pascal J. Bourguignon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANdFEAG0Cs2moTJ4B6YgVV5pxo7WFGSe+sefJsYgRjcGdahP3g@mail.gmail.com \
    --to=josh@foxtail.org \
    --cc=emacs-devel@gnu.org \
    --cc=tjolitz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).