From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: w32 does not have emacsclient/server - getting paper size Date: Sat, 16 Jul 2005 11:58:09 +0100 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> <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 1121513819 12306 80.91.229.2 (16 Jul 2005 11:36:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Jul 2005 11:36:59 +0000 (UTC) Cc: Lennart Borgman , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 16 13:36:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dtkxt-00078s-Rq for ged-emacs-devel@m.gmane.org; Sat, 16 Jul 2005 13:36:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dtkzj-0002Ur-BC for ged-emacs-devel@m.gmane.org; Sat, 16 Jul 2005 07:38:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DtkvE-0000hp-7d for emacs-devel@gnu.org; Sat, 16 Jul 2005 07:33:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DtkpZ-0008Of-Rp for emacs-devel@gnu.org; Sat, 16 Jul 2005 07:27:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DtkpX-0007rr-Rm for emacs-devel@gnu.org; Sat, 16 Jul 2005 07:27:40 -0400 Original-Received: from [194.106.33.237] (helo=outmail.freedom2surf.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DtkWT-0006fz-Km; Sat, 16 Jul 2005 07:07:58 -0400 Original-Received: from wanchan.jasonrumney.net (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail.freedom2surf.net (8.12.10/8.12.10) with ESMTP id j6GAxAch007458; Sat, 16 Jul 2005 11:59:10 +0100 Original-Received: from TONKOTSU-RAMEN (tonkotsu-ramen.jasonrumney.net [10.0.0.28]) by wanchan.jasonrumney.net (Postfix) with ESMTP id F1CDFDDDF8; Sat, 16 Jul 2005 11:59:35 +0100 (BST) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Sat, 16 Jul 2005 13:00:11 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) 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:40997 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40997 Eli Zaretskii writes: >> Date: Fri, 15 Jul 2005 23:39:44 +0200 >> From: Lennart Borgman >> Cc: Emacs Devel >> >> Paper size is one I remember right now. Another is the location of >> Ghostscript. > > How about adding some code to `openp' so that, on w32 platforms, it > would look for the program/file in the Registry, in addition to the > list of directories it gets as its argument? Where do you look? This is the first time I have ever heard of looking for a path in the registry. You'd need to have a mapping of known programs to where they store their registry key telling you where their path is. There is no standard for doing this!