> Date: Fri, 15 Jul 2005 19:55:13 +0200
> From: Lennart Borgman <[EMAIL PROTECTED]>
> Cc: Emacs Devel <emacs-devel@gnu.org>
> 
> 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?


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to