From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Newsgroups: gmane.emacs.help Subject: Re: basic question: going back to dired Date: Tue, 22 Jul 2008 04:01:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5676c5ec-3a07-4a26-ba41-9c2ff6a82f09@e53g2000hsa.googlegroups.com> References: <66d0c5e3-95d3-4c9b-a602-273375d6cf1f@j22g2000hsf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1216726893 14750 80.91.229.12 (22 Jul 2008 11:41:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Jul 2008 11:41:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 22 13:42:18 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KLGG0-000505-Qw for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Jul 2008 13:42:16 +0200 Original-Received: from localhost ([127.0.0.1]:42248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLGF7-0001sY-Km for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Jul 2008 07:41:21 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!e53g2000hsa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 24.6.97.120 Original-X-Trace: posting.google.com 1216724487 15547 127.0.0.1 (22 Jul 2008 11:01:27 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 22 Jul 2008 11:01:27 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: e53g2000hsa.googlegroups.com; posting-host=24.6.97.120; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_4_11; en) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:160440 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55789 Archived-At: Xah wrote: > (global-set-key (kbd "C-w") 'kill-this-buffer) ; close > > This will let you press Ctrl+w to close the current file. PS i forgot to mention, that Ctrl+w is emacs default shortcut to copy text. So, if you set Close to Ctrl+w, then you should find another key for Copy. You can set emacs to Copy by Ctrl+c, by going to the menu =E2=80=9COptions=E2=80=A3C-x/C-c/C-v Cut and Paste (CUA)=E2=80=9D, Then use= menu =E2=80=9COptions=E2=80=A3Save Options=E2=80=9D. For some details about these, see: http://xahlee.org/emacs/emacs_make_modern.html Xah =E2=88=91 http://xahlee.org/ =E2=98=84