emacs-devel
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: Re: w32 does not have emacsclient/server - getting paper size
Date: Sat, 16 Jul 2005 12:54:47 +0300

> Date: Fri, 15 Jul 2005 19:55:13 +0200
> From: Lennart Borgman <address@hidden>
> Cc: Emacs Devel <address@hidden>
> 
> I can for sure be more specific. Paper size on w32 must be fetched from 
> the windows Registry because it is stored there. All major applications 
> on w32 I know of does this.

Here's one plan to attack and solve this problem:

Step 1: Design a Lisp-level API for using the paper size.  This API
should be useful on all supported platforms.  If necessary, discuss
the design here and implement any corrections/suggestions.

Step 2: Implement the API support for the w32 port.  If that needs to
read the Registry, do that in w32-specific files.  (Jason already
said, and I agree, that this doesn't require a general-purpose
facility to read the Registry.  In fact, Emacs already does read the
Registry in several places without having such a GP facility.)

Step 3: Ask experts for other platforms to implement the same
functionality for their configurations.  Better yet, if you have
enough knowledge and/or help from those experts, implement it
yourself, as part of adding this new API.

If the functionality is useful, I don't see why this plan would fail
or be met with resistance.  Do you?




reply via email to

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