From: "Lennart Borgman" <lennart.borgman.073@student.lu.se>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: External programs and resources
Date: Fri, 3 Sep 2004 01:27:10 +0200 [thread overview]
Message-ID: <001a01c49144$ed587ee0$0200a8c0@sedrcw11488> (raw)
In-Reply-To: jwvzn48ilxz.fsf-monnier+emacs@gnu.org
----- Original Message -----
From: "Stefan Monnier" <monnier@iro.umontreal.ca>
> > I have not been able to find a common entrypoint for external resources
from
> > Emacs. I would for example appreciate if there was only one place where
the
> > path to a program like Ghostview was entered.
>
> > I would suggest that customization of things like this should be in one
or
> > several lisp modules that could be used by other modules.
>
> It might be a good idea, but since packages are developed separately by
> manny people who don't know each other, it's not always so easy
(especially
> because you also still want to be able to specify different values
> sometimes, because you might sometimes want to use one version of `gv' for
> one package and another for some other package).
Maybe this can be resolved rather easily, at least in principle. The
organisation could perhaps be like this:
- A common elisp module (ext-prog.el?) where for each external program used
by emacs there is a "defcustom" variable for its path. If not set this could
be initialized by executable-find perhaps.
- If a lisp module is using an external program listed in "ext-prog.el" it
can use the corresponding variable.
- If this module however want to give the possibility to use another version
of the program than the one pointed to by the "ext-prog.el" variable it can
define a function that uses a NON-"defcustom" variable defined in this
package
if it is set, otherwise the "ext-prog.el" variable. (I think it would be
confusing to have the second, module-specific variable defcustom too.)
- A customization group, maybe named "external-programs"?
> In the short term, the best we can do is find those redundant
customizations
> and unify them. Which ones were you thinking of?
At the moment I was only thinking of Ghostview and it relatives.
- Lennart
next prev parent reply other threads:[~2004-09-02 23:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-01 22:21 External programs and resources Lennart Borgman
2004-09-02 18:10 ` Stefan Monnier
2004-09-02 23:27 ` Lennart Borgman [this message]
2004-09-04 3:29 ` Richard Stallman
2004-09-05 22:16 ` Lennart Borgman
2004-09-04 12:08 ` Alex Schroeder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001a01c49144$ed587ee0$0200a8c0@sedrcw11488' \
--to=lennart.borgman.073@student.lu.se \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.