[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /lib/cpp not found in c-mode
From: |
Stefan Monnier |
Subject: |
Re: /lib/cpp not found in c-mode |
Date: |
Sun, 08 May 2005 17:18:44 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> Actually, looking at the definition of executable-find, I'm surprised it
>> doesn't use locate-file.
> IIRC, executable-find was in existence longe before you added
> locate-file.
Yes, what I meant was that I was surprised I didn't change executable-find
back when I added locate-file (especially since I had added exec-suffixes
not that long before IIRC).
>> The new code is nothing else than a call to locate-file and I'd argue
>> that Eli's change from executable-find to locate-file is a bad idea and
>> instead we should simply move executable-find from executable.el to
>> subr.el.
> Well, if you are going to use integer values as the last arg to
> locate-file (which is deprecated usage, as the doc string says), why
> not call locate-file-internal directly and save a few cycles?
I could but the intention of using an integer arg wasn't to speed things up
but to more closely match the behavior of call-process and start-process.
> Also, I think this should go into files.el, not subr.el, since
> locate-file is in files.el.
Good point.
Stefan
- Re: /lib/cpp not found in c-mode, (continued)
- Re: /lib/cpp not found in c-mode, Eli Zaretskii, 2005/05/06
- Re: /lib/cpp not found in c-mode, Nick Roberts, 2005/05/07
- Re: /lib/cpp not found in c-mode, Eli Zaretskii, 2005/05/08
- Re: /lib/cpp not found in c-mode, Nick Roberts, 2005/05/08
- Re: /lib/cpp not found in c-mode, Richard Stallman, 2005/05/08
- Re: /lib/cpp not found in c-mode, Eli Zaretskii, 2005/05/08
- Re: /lib/cpp not found in c-mode, Richard Stallman, 2005/05/08
- Re: /lib/cpp not found in c-mode, Stefan Monnier, 2005/05/08
- Re: /lib/cpp not found in c-mode, Eli Zaretskii, 2005/05/08
- Re: /lib/cpp not found in c-mode, Eli Zaretskii, 2005/05/08
- Re: /lib/cpp not found in c-mode,
Stefan Monnier <=
- Re: /lib/cpp not found in c-mode, Eli Zaretskii, 2005/05/06
- Re: /lib/cpp not found in c-mode, Nick Roberts, 2005/05/06