From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: w32 does not have emacsclient/server - getting paper size Date: Sat, 16 Jul 2005 12:54:47 +0300 Message-ID: References: <42D75F2C.3040303@student.lu.se> <85zmso79mt.fsf@lola.goethe.zz> <42D7AA3E.7040508@student.lu.se> <85ll48tfct.fsf@lola.goethe.zz> <42D7B125.6030102@student.lu.se> <854qawt85l.fsf@lola.goethe.zz> <42D7EB78.9050901@student.lu.se> <85ll48rnzt.fsf@lola.goethe.zz> <42D7F881.2080302@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1121507844 32506 80.91.229.2 (16 Jul 2005 09:57:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Jul 2005 09:57:24 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 16 11:57:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DtjPM-0000OV-Gl for ged-emacs-devel@m.gmane.org; Sat, 16 Jul 2005 11:56:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DtjRB-0004L3-PF for ged-emacs-devel@m.gmane.org; Sat, 16 Jul 2005 05:58:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DtjQ4-0003sz-Jg for emacs-devel@gnu.org; Sat, 16 Jul 2005 05:57:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DtjQ3-0003sf-Tl for emacs-devel@gnu.org; Sat, 16 Jul 2005 05:57:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DtjQ3-0003sa-N8 for emacs-devel@gnu.org; Sat, 16 Jul 2005 05:57:15 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DtjWA-0002sX-Ho for emacs-devel@gnu.org; Sat, 16 Jul 2005 06:03:34 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-54-157.inter.net.il [80.230.54.157]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id BWA87199 (AUTH halo1); Sat, 16 Jul 2005 12:54:47 +0300 (IDT) Original-To: Lennart Borgman In-reply-to: <42D7F881.2080302@student.lu.se> (message from Lennart Borgman on Fri, 15 Jul 2005 19:55:13 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40987 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40987 > Date: Fri, 15 Jul 2005 19:55:13 +0200 > From: Lennart Borgman > Cc: Emacs Devel > > 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?