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 issues Date: Wed, 23 Jan 2008 01:39:14 +0000 Message-ID: <47969AC2.80903@gnu.org> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201052387 9375 80.91.229.12 (23 Jan 2008 01:39:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jan 2008 01:39:47 +0000 (UTC) Cc: lennart.borgman@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 23 02:40:06 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 1JHUaw-0004nU-PB for ged-emacs-devel@m.gmane.org; Wed, 23 Jan 2008 02:40:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHUaW-0005uN-US for ged-emacs-devel@m.gmane.org; Tue, 22 Jan 2008 20:39:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHUaT-0005tP-7P for emacs-devel@gnu.org; Tue, 22 Jan 2008 20:39:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHUaS-0005tC-0s for emacs-devel@gnu.org; Tue, 22 Jan 2008 20:39:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHUaR-0005t9-RO for emacs-devel@gnu.org; Tue, 22 Jan 2008 20:39:31 -0500 Original-Received: from mk-outboundfilter-4.mail.uk.tiscali.com ([212.74.114.32]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JHUaN-00024a-TN; Tue, 22 Jan 2008 20:39:28 -0500 Original-X-Trace: 16059095/mk-outboundfilter-2.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAIIplkdTQxds/2dsb2JhbAAIkWCbLQ X-IP-Direction: OUT Original-Received: from i-83-67-23-108.freedom2surf.net (HELO [127.0.0.1]) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Jan 2008 01:39:26 +0000 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:87345 Archived-At: Eli Zaretskii wrote: > Perhaps the only thing we should do is > disable the default value of printer-name set by lpr.el. > I've done that, which should improve things for users of SMB networked printers, as well as avoiding the lockup for users who do not have a printer configured on an LPT port. Edge cases do still exist though. Someone may have a printer configured on LPT1, but it is switched off or disconnected. They will still experience the lockup. Also printing to IPP networked (and I presume other connections that present fake port names, like USB) printer results in a file being created in C:/, perhaps we can catch this in direct-print-region-function by checking if printer-name starts with "IP_" or "USB", and give a warning that the user will need to use an external application to print to that printer. If Dhuvra finishes his helper application, we could configure that as the default print application, since it will give the ability to print on USB and non-SMB networked printers as well as any printers that do not accept plain text over the wire.