[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: if both .emacs and .emacs.elc,which one emacs load?
From: |
Piet van Oostrum |
Subject: |
Re: if both .emacs and .emacs.elc,which one emacs load? |
Date: |
25 May 2003 15:30:07 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>>>>> "Eli Zaretskii" <eliz@elta.co.il> (EZ) wrote:
>> From: Niels Freimann <nfreimann@firemail.de>
>> Reply-To: nfreimann@firemail.de
>> Date: Sat, 24 May 2003 13:00:08 +0200
>>
>> ... however it works on:
>> -linux
>> -cygwin (windows)
>> -native windows
>> no matter its a tty or x11 (motif,gtk2)
EZ> The Windows port allows the init file to be called _emacs; some
EZ> Windows users think (incorrectly) that file names with leading dots
EZ> are not allowed. Your code will fail for such users.
EZ> Is it so hard to make an allowance for "_emacs" that you are so
EZ> motivated to reject my suggestion?
Make after-save-hook local in that buffer and the test can disappear.
For example, I have:
;;; Local Variables:
;;; after-save-hook: ((lambda () (byte-compile-file buffer-file-name)))
;;; End:
--
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum@hccnet.nl
- if both .emacs and .emacs.elc,which one emacs load?, Xiong Guanglei, 2003/05/23
- Re: if both .emacs and .emacs.elc,which one emacs load?, Benjamin Rutt, 2003/05/23
- Re: if both .emacs and .emacs.elc,which one emacs load?, Niels Freimann, 2003/05/24
- Re: if both .emacs and .emacs.elc,which one emacs load?, Eli Zaretskii, 2003/05/24
- Re: if both .emacs and .emacs.elc,which one emacs load?, Niels Freimann, 2003/05/24
- Re: if both .emacs and .emacs.elc,which one emacs load?, Eli Zaretskii, 2003/05/24
- Message not available
- Re: if both .emacs and .emacs.elc,which one emacs load?, Peter J. Acklam, 2003/05/25
- Re: if both .emacs and .emacs.elc,which one emacs load?, Kai Großjohann, 2003/05/25
- Re: if both .emacs and .emacs.elc,which one emacs load?, Peter J. Acklam, 2003/05/25
- Re: if both .emacs and .emacs.elc,which one emacs load?, Eli Zaretskii, 2003/05/25
- Message not available
- Re: if both .emacs and .emacs.elc,which one emacs load?,
Piet van Oostrum <=
Re: if both .emacs and .emacs.elc,which one emacs load?, Bruce Ingalls, 2003/05/24
Message not available
Re: if both .emacs and .emacs.elc,which one emacs load?, Rob Thorpe, 2003/05/28
Re: if both .emacs and .emacs.elc,which one emacs load?, kgold, 2003/05/28