[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add file-locals and dir-locals
From: |
Juri Linkov |
Subject: |
Re: Add file-locals and dir-locals |
Date: |
Sat, 08 Aug 2009 14:28:33 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu) |
> > As not frequently used commands, it's not difficult for the user
> > to select the necessary command using completions for M-x:
> >
> > M-x add-file-local-variable RET
> > M-x add-file-local-variable-prop-line RET
> > M-x add-dir-local-variable RET
>
> These are nice and useful, but do they need to be in files.el?
> files.el is in the dumped image, and these functions are not going to be
> used all the often, so putting them in a separate file seems more in
> line with the way they will be used. WDYT?
I completely agree.
The usual convention for a file with additional functionality is to add
the prefix "-x" to the file name. This means creating a new file with the
name "files-x.el" and putting here all code that should not be in the
dumped image.
--
Juri Linkov
http://www.jurta.org/emacs/
Re: Add file-locals and dir-locals, Dan Nicolaescu, 2009/08/08
- Re: Add file-locals and dir-locals,
Juri Linkov <=
- Re: Add file-locals and dir-locals, Stefan Monnier, 2009/08/08
- Re: Add file-locals and dir-locals, Juri Linkov, 2009/08/08
- Re: Add file-locals and dir-locals, Leo, 2009/08/08
- Re: Add file-locals and dir-locals, Juri Linkov, 2009/08/08
- RE: Add file-locals and dir-locals, Drew Adams, 2009/08/08
- Re: Add file-locals and dir-locals, Eli Zaretskii, 2009/08/08
- Re: Add file-locals and dir-locals, Stephen J. Turnbull, 2009/08/09
Re: Add file-locals and dir-locals, Stefan Monnier, 2009/08/08