From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: Debian 5.0 Emacs package missing undo and strange behavior. Date: Thu, 16 Apr 2009 22:20:17 -0500 Message-ID: References: <52a146ec-8b25-4422-9e33-01fb74b6bde0@a7g2000yqk.googlegroups.com> 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 1239939655 8245 80.91.229.12 (17 Apr 2009 03:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Apr 2009 03:40:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 17 05:42:15 2009 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 1Luexy-0007lf-TL for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Apr 2009 05:42:15 +0200 Original-Received: from localhost ([127.0.0.1]:33036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuewZ-0001e8-T1 for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Apr 2009 23:40:47 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!backlog2.nntp.dca.giganews.com!nntp.sysmatrix.net!news.sysmatrix.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 16 Apr 2009 22:20:12 -0500 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Original-Newsgroups: gnu.emacs.help In-Reply-To: <52a146ec-8b25-4422-9e33-01fb74b6bde0@a7g2000yqk.googlegroups.com> Original-Lines: 33 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 12.73.128.176 Original-X-Trace: sv3-w0u7H3crsuQZKB/iABieB4Z7A453gbBamfGVpQae0V+fUrLIbPfQuMXOvlO+EWS5iTZ7HmGb6D6nyow!/zwHLJNjYljH8fL3loP1nljrshin5q/Xi9qIeNTDFXYv3l+BoDwvQSAYrO186Zg0AZSp5d2Osvh/!fQb8bIUMd9nonghiMUpm+h+/5wOaczA= Original-X-Complaints-To: abuse@sysmatrix.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 X-Original-Bytes: 2512 Original-Xref: news.stanford.edu gnu.emacs.help:168513 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:63786 Archived-At: budu wrote: > Hi, I was just configuring a new server at my job and was tired of > using vi or nano ;-), so I decided to install Emacs. While trying to > set up a basic .emacs file, a very strange problem happened. First, > the C-/ shortcut for undo doesn't work, but then I don't know how to > put it back. I've tried (global-set-key [C-slash] 'undo) and (global- > set-key "\C-/" 'undo), both doesn't work. > > The weird thing is, when evaluating the incorrect global-set-key > above, the debugger show up as usual, but then, all the text after the > cursor disappear, like if it were erased. Still it isn't when > reopening the file! Maybe it got to do with screen. What do you think? > > BTW, can someone point me to some documentation about how defining > keyboard shortcuts works, there's many syntax available and I'm always > confused each time I mess with them. I've searched for it for quite > some time, yet never found anything comprehensive. > > Thanks > > - budu Here's some info: http://www.nongnu.org/emacs-tiny-tools/keybindings/index-body.html Does C-_ work as undo? M-x global-set-key C-/ undo should work. C-/ = hold down Control key and press slash Ed