all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Debian 5.0 Emacs package missing undo and strange behavior.
Date: Thu, 16 Apr 2009 22:20:17 -0500	[thread overview]
Message-ID: <aZ-dneXhiL_waHrUnZ2dnUVZ_h6dnZ2d@sysmatrix.net> (raw)
In-Reply-To: <52a146ec-8b25-4422-9e33-01fb74b6bde0@a7g2000yqk.googlegroups.com>

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 <ret> C-/ <ret> undo <ret>

should work. C-/ = hold down Control key and press slash

Ed


  reply	other threads:[~2009-04-17  3:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-16 20:26 Debian 5.0 Emacs package missing undo and strange behavior budu
2009-04-17  3:20 ` B. T. Raven [this message]
2009-04-17 13:32   ` budu
2009-04-17 13:07 ` Nikolaj Schumacher
     [not found] ` <mailman.5525.1239973690.31690.help-gnu-emacs@gnu.org>
2009-04-17 13:33   ` budu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aZ-dneXhiL_waHrUnZ2dnUVZ_h6dnZ2d@sysmatrix.net \
    --to=nihil@nihilo.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.