From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hugh Wolf Newsgroups: gmane.emacs.help Subject: Re: C-x C-w on mac (carbon) emacs Date: Thu, 16 Oct 2003 17:09:37 GMT Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <34zjb.72$lK3.21@news.level3.com> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1066324627 23907 80.91.224.253 (16 Oct 2003 17:17:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2003 17:17:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 16 19:17:05 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AABkH-0000XZ-00 for ; Thu, 16 Oct 2003 19:17:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AABj8-0007ZM-Gg for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Oct 2003 13:15:54 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!news.level3.com.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.8.0 (Darwin) Original-Lines: 31 Original-NNTP-Posting-Host: 128.89.72.53 Original-X-Trace: news.level3.com 1066324177 128.89.72.53 (Thu, 16 Oct 2003 17:09:37 GMT) Original-NNTP-Posting-Date: Thu, 16 Oct 2003 17:09:37 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:117315 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13245 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13245 On 2003-10-16, Barry Margolin wrote: > It sounds to me like he has C-w mapped to do the same thing as Cmd-w, which > conventionally closes the current window. I'm not sure what you mean by 'mapped' -- mapped by what? OSX lets you select keyboard layouts but it doesn't let you remap individual key sequences. As far as emacs is concerned Cmd is either Alt or Meta, depending on the user's preferences. Of course a-w and m-w could be bound to some elisp function that has arbitrarily weird side-effects. But the OP would have had to have done that himself. As for Cmd-w, you're right that this conventionally closes the currently selected window. But not in emacs, which by definition is the selected window at the time. Cmd-w will never be grabbed by any other applications, again unless some non-standard third-party tool is installed -- in which case it's just as likely that he has it configured to grab Ctrl-w. All in all, this theory doesn't seem to provide any explanations. The single most likely reason the OP is having trouble is that he's running a year-old build of a cvs snapshot, built by someone other than him with unknown configuration options in an unknown environment. Probably this will all go away if he rebuilds it himself from the current sources.