From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: w32 does not have emacsclient/server - getting paper size Date: Sat, 16 Jul 2005 00:00:55 +0200 Message-ID: <857jfrrap4.fsf@lola.goethe.zz> 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> <42D82D20.2030505@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1121465336 14132 80.91.229.2 (15 Jul 2005 22:08:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Jul 2005 22:08:56 +0000 (UTC) Cc: Emacs Devel , Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 16 00:08:55 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DtYMH-0007xx-Uo for ged-emacs-devel@m.gmane.org; Sat, 16 Jul 2005 00:08:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DtYO5-0008Aw-3g for ged-emacs-devel@m.gmane.org; Fri, 15 Jul 2005 18:10:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DtYLM-0007Uz-Ku for emacs-devel@gnu.org; Fri, 15 Jul 2005 18:07:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DtYLK-0007Tf-7F for emacs-devel@gnu.org; Fri, 15 Jul 2005 18:07:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DtYLJ-0007NG-A3 for emacs-devel@gnu.org; Fri, 15 Jul 2005 18:07:37 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DtYNC-0006FE-Uf for emacs-devel@gnu.org; Fri, 15 Jul 2005 18:09:35 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DtYBZ-0006qP-60; Fri, 15 Jul 2005 17:57:33 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id B988D1C40B64; Sat, 16 Jul 2005 00:00:55 +0200 (CEST) Original-To: Lennart Borgman In-Reply-To: <42D82D20.2030505@student.lu.se> (Lennart Borgman's message of "Fri, 15 Jul 2005 23:39:44 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:40960 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40960 Lennart Borgman 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