<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 1, 2013 at 12:32 PM, Peter Flynn <span dir="ltr"><<a href="mailto:peter@silmaril.ie" target="_blank">peter@silmaril.ie</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">On 10/01/2013 07:04 PM, Wes James wrote:<br>
> I was trying to learn some commands in emacs and a cheat sheet I have<br>
> said to use M-delete to delete a word. I tried that and nothing was<br>
> happening. After a few tries I noticed that a number of work spaces I<br>
> had were gone. I then tried M-backspace and that is what I really<br>
> wanted. M in my case was the Alt key so Alt-delete means delete a<br>
> work space ;)<br>
<br>
</div></div>Emacs unfortunately suffers from having inherited some antique settings<br>
from early Unix keyboards, where DEL and BSP were either conflated or<br>
one of them was actually missing.<br>
<br>
The Meta key is usually Esc, so M-delete means press Esc and then press<br>
DEL (one after the other, not together).<br>
<br>
Alt can have radically different effects depending on your keyboard<br>
mapping. I hardly ever use Alt in Emacs (the exception being C-v to page<br>
down and Alt-v to page up), because it's used for so much other system<br>
control.<br>
<br>
My .emacs always starts with<br>
<br>
(global-unset-key [backspace] )<br>
(global-set-key [backspace] 'delete-backward-char)<br>
(global-unset-key [delete] )<br>
(global-set-key [delete] 'delete-char)<br></blockquote><div><br></div><div>Thanks for these. I'm might try them. <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
to make certain that BSP and DEL *on their own* do what they are<br>
expected to do (nowadays; many older Unix hackers prefer DEL to perform<br>
a destructive backspace).<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
I can confirm (on this Dell Latitude D610 laptop running Xubuntu 13.04)<br>
that Alt-DEL really does delete a workspace, starting from the RH end.<br>
This is truly unwanted behaviour, so I suggest you remap it in your<br>
.emacs file to something less destructive.</div></blockquote><div><br> <snip><br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
<span class=""><font color="#888888"><br>
///Peter</font></span></div></blockquote><div><br></div><div>I also ended up going in to the terminal settings and disabling the shortcut commands. Alt-F, etc., I'd rather use these in emacs than for menus.<br><br>Thanks,<br>
<br>Wes <br></div></div></div></div>