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 issues Date: Mon, 21 Jan 2008 06:25:18 +0200 Message-ID: References: <200801192020.m0JKKUWl017748@sallyv1.ics.uci.edu> <200801201710.m0KHAoKn021472@sallyv1.ics.uci.edu> <479388A9.9010600@gmail.com> <200801201755.m0KHtuDH003880@sallyv1.ics.uci.edu> <47938D58.4010809@gmail.com> <200801201820.m0KIKxtW012230@sallyv1.ics.uci.edu> <47939341.6010903@gmail.com> <4793C620.2000500@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1200889538 6918 80.91.229.12 (21 Jan 2008 04:25:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2008 04:25:38 +0000 (UTC) Cc: dann@ics.uci.edu, lennart.borgman@gmail.com, emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 05:25:57 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JGoEO-0006tl-7s for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 05:25:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGoDy-0002jg-Iu for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 23:25:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGoDt-0002gL-UJ for emacs-devel@gnu.org; Sun, 20 Jan 2008 23:25:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGoDs-0002dn-CD for emacs-devel@gnu.org; Sun, 20 Jan 2008 23:25:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGoDs-0002dg-9n for emacs-devel@gnu.org; Sun, 20 Jan 2008 23:25:24 -0500 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JGoDo-0003BV-JI; Sun, 20 Jan 2008 23:25:20 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-46-33.inter.net.il [84.228.46.33]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id JZE39593 (AUTH halo1); Mon, 21 Jan 2008 06:25:01 +0200 (IST) In-reply-to: <4793C620.2000500@gnu.org> (message from Jason Rumney on Sun, 20 Jan 2008 22:07:28 +0000) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:87187 Archived-At: > Date: Sun, 20 Jan 2008 22:07:28 +0000 > From: Jason Rumney > CC: "Lennart Borgman (gmail)" , > dann@ics.uci.edu, dhruvakm@gmail.com, emacs-devel@gnu.org > > I am confused by all the code we have for printing these days. There is > a function default-printer-name, which would seem to offer a big > improvement on what we have now. It is used in dos-w32.el in functions > called from printing.el, but the code in printing.el does not seem to be > involved in the standard ps-print-* or print-* commands. In what version of Emacs are you looking? In EMACS_22_BASE, dos-w32.el sets up print-region-function to invoke direct-print-region-function, which uses default-printer-name, and print-region-function is called from lpr.el. Similarly with ps-print and ps-print-region-function. Perhaps the only thing we should do is disable the default value of printer-name set by lpr.el.