Re: Off-topic Emacs Talk (Was: Re: Undo across saves)

New Message Reply Date view Thread view Subject view Author view

From: Al Chou (Al_Chou@cyberdude.com)
Date: 29 Aug 99, 06:13 EST


From: Al Chou <Al_Chou@cyberdude.com>
Subject:      Re: Off-topic Emacs Talk (Was: Re: Undo across saves)

>>>>>> "Al" == Al Chou <Al_Chou@CYBERDUDE.COM> writes:
>
>
>Al> Not to be snide, but wasn't "undo" (C-_ or C-x u) or "yank"
>Al> (C-y) enough to retrieve what you had just killed?
>
>Of course it was, but ten years ago, when I first started using
>Emacs, Emacs didn't tell you about key bindings for functions you
>invoked with M-x.  Since I found having my work disappear rather
>startling, I thought it might be nice to know what keys I'd
>accidentally pressed in order to avoid pressing them in the
>future.

Ah, that makes sense.


>Al> I realize that the syntax for binding keys in Emacs isn't as
>Al> clear as it is in Alpha, but those functions could be bound
>Al> to the key combinations you like, thus saving a lot of
>Al> extraneous typing.
>
>Actually, I think it's far easier to bind keys in Emacs than in
>Alpha.  For one thing, you know what you're binding because you
>state it up front, instead of specifying a bunch of modifiers
>that don't correspond in any obvious way to the keys they
>represent.  Compare:
>
>Alpha                         Emacs
>===========================   ============================================
>Bind 0x33      backSpace      (global-set-key [DEL] 'delete-backward-char)
>Bind 'T' <zoc> twiddleWords   (global-set-key "M-t" 'transpose-words)
>Bind 'T' <zc>  twiddle        (global-set-key "C-t" 'transpose-chars)

I was just pointing out that instead of typing out the M-x function names,
you could bind them to keys.  But obviously you already knew that. <g>


>(That's all I'm going to say on the language war front.  If you
>want more, check out <http://icemcfd.com/tcl/comparison.html>,
>which seems to cover pretty much all of the bases you can
>imagine.)

Thanks for the tip. :)


>   I don't want to read it on the Web.  I don't like using computers.
>    -- Third-year computing science student on the first day of class.
>+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
>   C.M. Connelly               c@eskimo.com                   SHC, DS

Bloody scary quote....



Al

--
Al_Chou@CyberDude.com

        Get answers to Mac questions at the Mac-Mgrs home page:
                        http://www.mac-mgrs.org/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by das@users.sourceforge.net with hypermail 2b29 on 31 Mar 01, 11:51 EST