Da: Sebastien Vauban
Inviato: Venerdì 20 Aprile 2012 22:24
> Bastien wrote:
>> If there is an equivalent of `which' on windows let me know,
> Not that I know
the command where [1][2]
cheers,
Giovanni
[1]
http://stackoverflow.com/questions/304319/is-there-an-equivalent-of-which-on-windows
"Sebastien Vauban"
writes:
> Why not replacing it simply by `executable-find': I don't see what it
> adds to it? I would not say so if it was some upper abstraction, but
> I do feel they're simply the same.
Actually `executable-find' is faster and already available, so yes, I
removed ̀org-pro
Sebastien Vauban writes:
> Why not replacing it simply by `executable-find': I don't see what it
> adds to it? I would not say so if it was some upper abstraction, but
> I do feel they're simply the same.
In principle, executable-find should (only) be used if the program in
question is called dir
Hi
"Sebastien Vauban"
writes:
> Hi Bastien,
>
> Bastien wrote:
>> "Sebastien Vauban" writes:
>>
The name `org-program-exists' is actually misleading, it should be
`org-executable-call' instead, while still checking if the executable
exists before calling it.
>>>
>>> Nope, the nam
Hi Bastien,
Bastien wrote:
> "Sebastien Vauban" writes:
>
>>> The name `org-program-exists' is actually misleading, it should be
>>> `org-executable-call' instead, while still checking if the executable
>>> exists before calling it.
>>
>> Nope, the name is not misleading. The documentation string
Hi Sébastien,
"Sebastien Vauban" writes:
>> The name `org-program-exists' is actually misleading, it should be
>> `org-executable-call' instead, while still checking if the executable exists
>> before calling it.
>
> Nope, the name is not misleading. The documentation string is false -- what I
>
Hi Bastien,
Bastien wrote:
> "Sebastien Vauban" writes:
>
>> While browsing the Org code, I've found the function `org-program-exists':
>>
>> #+begin_src emacs-lisp
>> (defun org-program-exists (program-name)
>> "Checks whenever we can locate program and launch it."
>> (if (member syste
Hi Sébastien,
"Sebastien Vauban" writes:
> While browsing the Org code, I've found the function `org-program-exists':
>
> #+begin_src emacs-lisp
> (defun org-program-exists (program-name)
> "Checks whenever we can locate program and launch it."
> (if (member system-type '(gnu/linux dar
Hello,
While browsing the Org code, I've found the function `org-program-exists':
#+begin_src emacs-lisp
(defun org-program-exists (program-name)
"Checks whenever we can locate program and launch it."
(if (member system-type '(gnu/linux darwin))
(= 0 (call-process "which" nil ni