[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: w32 does not have emacsclient/server - getting paper size

From: David Kastrup
Subject: Re: w32 does not have emacsclient/server - getting paper size
Date: Sat, 16 Jul 2005 00:00:55 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Lennart Borgman <address@hidden> writes:

> I see no reason why Emacs should be able to edit the w32 Registry,
> but reading it would be very convenient. It should not be seen as
> giving Emacs extra features on w32. Rather it is another way to
> accomplish the same thing that are already easily accomplished on
> unix like systems. (At least I believe that this is the state.)
> Paper size is one I remember right now. Another is the location of
> Ghostscript. If Emacs could read the registry then such things would
> be easy to get by just writing some elisp code for it. Am I not
> right assuming that these things are already easy to get on unix
> like systems?

I don't see that Emacs has an interface into the locale in general
which would be required for reading the papersize setting.  And the
usual way for GhostScript is just to look for "gs" in the exec path.
Since the process shell does that already, "gs" is usually used as the
default command.  There is no separate database to search for such
information.  That's what PATH is for.

So if one built a general interface into stuff like the paper size,
and then filled it with life also on the free systems, doing the same
on w32 would not violate any policies.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]