From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Bikeshedding go! Why is unbound? Date: Thu, 13 Jan 2011 16:15:26 -0500 Message-ID: References: <87sjx7z7w4.fsf@telefonica.net> <83pqsbmf6j.fsf@gnu.org> <87k4ijz07h.fsf@telefonica.net> <2460D97DEA4047B3B9DF92C4A80981EF@us.oracle.com> <57BF13882D6E494286547F293FE9D03B@us.oracle.com> <87lj2pfo81.fsf@wanadoo.es> <87tyhcel25.fsf@wanadoo.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294953348 3181 80.91.229.12 (13 Jan 2011 21:15:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 13 Jan 2011 21:15:48 +0000 (UTC) Cc: Stuart Hacking , emacs-devel@gnu.org, Lennart Borgman , Drew Adams , Deniz Dogan To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 13 22:15:41 2011 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.69) (envelope-from ) id 1PdUWC-0001qm-Vh for ged-emacs-devel@m.gmane.org; Thu, 13 Jan 2011 22:15:41 +0100 Original-Received: from localhost ([127.0.0.1]:41309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdUWB-0000ZZ-Qs for ged-emacs-devel@m.gmane.org; Thu, 13 Jan 2011 16:15:39 -0500 Original-Received: from [140.186.70.92] (port=39822 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdUW2-0000Y4-EM for emacs-devel@gnu.org; Thu, 13 Jan 2011 16:15:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdUW1-0000gi-Gy for emacs-devel@gnu.org; Thu, 13 Jan 2011 16:15:30 -0500 Original-Received: from tomts13-srv.bellnexxia.net ([209.226.175.34]:38116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdUW1-0000gR-6b for emacs-devel@gnu.org; Thu, 13 Jan 2011 16:15:29 -0500 Original-Received: from toip4.srvr.bell.ca ([209.226.175.87]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20110113211527.BPEH19531.tomts13-srv.bellnexxia.net@toip4.srvr.bell.ca> for ; Thu, 13 Jan 2011 16:15:27 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnwOAAv0Lk1GHsfC/2dsb2JhbACkPg10vGqFTASEaA Original-Received: from bas1-montreal07-1176422338.dsl.bell.ca (HELO ceviche.home) ([70.30.199.194]) by toip4.srvr.bell.ca with ESMTP; 13 Jan 2011 16:15:27 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id E8B7D660BB; Thu, 13 Jan 2011 16:15:26 -0500 (EST) In-Reply-To: <87tyhcel25.fsf@wanadoo.es> (=?iso-8859-1?Q?=22=D3scar?= Fuentes"'s message of "Thu, 13 Jan 2011 19:05:22 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Solaris 8 (1) 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:134496 Archived-At: >>> When Alt-F4 is delegated to Windows, it generates events for closing the >>> active window. >> Thanks. So the right thing to do here is to change Emacs so it delegates >> the Alt-F4 to the standard Windows routine that turns it into a WM_CLOSE. >> Patch welcome, > Binding Alt-F4 to a function such as handle-delete-frame will do > fine. That's far easier than dealing with the Windows API from the C > sources. It's likely to end up approximating the right behavior, and lead to more reports. E.g. should it bind A-f4 or M-f4? Stefan