[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Naming internal functions (was: Modern Conventions for Emacs Lisp files?
From: |
Christopher Schmidt |
Subject: |
Naming internal functions (was: Modern Conventions for Emacs Lisp files?) |
Date: |
Mon, 8 Apr 2013 21:55:18 +0100 (BST) |
Stefan Monnier <address@hidden> writes:
> I'd be happy to refine/extend/tweak the existing conventions, but
> switching to different ones would be a lot more problematic.
I would like to propose a tweak to the prefix convention.
(info "(elisp)Coding Conventions")
Let's separate package and name of internal functions or variables with
two consecutive dashes.
There are some packages which implement that already, such as epg or cl.
In my opinion, this makes understanding code a lot easier and one does
know instantly whether a function or variable is safe for use by
external packages.
Christopher
- Re: Modern Conventions for Emacs Lisp files?, (continued)
- Re: Modern Conventions for Emacs Lisp files?, Bastien, 2013/04/09
- Re: Modern Conventions for Emacs Lisp files?, Thorsten Jolitz, 2013/04/13
- Re: Modern Conventions for Emacs Lisp files?, Stefan Monnier, 2013/04/13
- Re: Modern Conventions for Emacs Lisp files?, Stefan Monnier, 2013/04/13
- Re: Modern Conventions for Emacs Lisp files?, Thorsten Jolitz, 2013/04/14
- Re: Modern Conventions for Emacs Lisp files?, Thorsten Jolitz, 2013/04/15
- Re: Modern Conventions for Emacs Lisp files?, Eli Zaretskii, 2013/04/15
- Re: Modern Conventions for Emacs Lisp files?, Thorsten Jolitz, 2013/04/15
- Re: Modern Conventions for Emacs Lisp files?, Stefan Monnier, 2013/04/15
- Re: Modern Conventions for Emacs Lisp files?, Bastien, 2013/04/15
- Naming internal functions (was: Modern Conventions for Emacs Lisp files?),
Christopher Schmidt <=
- Re: Naming internal functions, Stefan Monnier, 2013/04/08
- Re: Naming internal functions, Christopher Schmidt, 2013/04/15
- Re: Naming internal functions, Eli Zaretskii, 2013/04/15
- Re: Naming internal functions, Christopher Schmidt, 2013/04/15
- Re: Naming internal functions, Eli Zaretskii, 2013/04/15
- Re: Naming internal functions, Christopher Schmidt, 2013/04/15
- Re: Naming internal functions, xfq, 2013/04/15
Re: Modern Conventions for Emacs Lisp files?, Pascal J. Bourguignon, 2013/04/08