Re: [O] org-program-exists vs executable-find

2012-06-14 Thread Giovanni Ridolfi
Da: Sebastien Vauban wxhgmqzgw...@spammotel.com 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]

Re: [O] org-program-exists vs executable-find

2012-04-28 Thread Bastien
Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org 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

Re: [O] org-program-exists vs executable-find

2012-04-21 Thread Achim Gratz
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

Re: [O] org-program-exists vs executable-find

2012-04-20 Thread Bastien
Hi Sébastien, Sebastien Vauban wxhgmqzgw...@spammotel.com 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

Re: [O] org-program-exists vs executable-find

2012-04-20 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com 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

Re: [O] org-program-exists vs executable-find

2012-04-20 Thread Martyn Jago
Hi Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Bastien, Bastien wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: The name `org-program-exists' is actually misleading, it should be `org-executable-call' instead, while still checking if the executable exists before

[O] org-program-exists vs executable-find

2012-04-18 Thread Sebastien Vauban
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 nil

Re: [O] org-program-exists vs executable-find

2012-04-18 Thread Bastien
Hi Sébastien, Sebastien Vauban wxhgmqzgw...@spammotel.com 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

Re: [O] org-program-exists vs executable-find

2012-04-18 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: Sebastien Vauban wxhgmqzgw...@spammotel.com 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