From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: budu Newsgroups: gmane.emacs.help Subject: Debian 5.0 Emacs package missing undo and strange behavior. Date: Thu, 16 Apr 2009 13:26:13 -0700 (PDT) Organization: http://groups.google.com Message-ID: <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 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239914512 17145 80.91.229.12 (16 Apr 2009 20:41:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Apr 2009 20:41:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 16 22:43:11 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 1LuYQN-0005hs-0s for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Apr 2009 22:43:07 +0200 Original-Received: from localhost ([127.0.0.1]:37955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuYOx-0004Id-TE for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Apr 2009 16:41:39 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!postnews.google.com!a7g2000yqk.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 216.218.40.146 Original-X-Trace: posting.google.com 1239913576 20709 127.0.0.1 (16 Apr 2009 20:26:16 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 16 Apr 2009 20:26:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a7g2000yqk.googlegroups.com; posting-host=216.218.40.146; posting-account=dC21OQoAAABW9bHlIPp6ckh_M-fDoV_Y User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729), gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:168510 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:63783 Archived-At: 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