[wellylug] Take a hint

michael at diaspora.gen.nz michael at diaspora.gen.nz
Wed Sep 8 20:25:57 NZST 2004


Ewen McNeill writes:
>Gosh, another[0] stunningly unfortunate choice on behalf of the GNU
>project: ctrl-S (XOFF) 

>[0] Using ctrl-H -- typically bound to the backspace key on many
>    terminals/virtual terminal setups -- as the default binding for
>    "help" in emacs was also a pretty unfortunate choice.

You've answered your own question there.  In my Emacs window, C-h k
C-s gives:

    C-s runs the command isearch-forward
       which is an interactive compiled Lisp function in `isearch'.
       (isearch-forward &optional REGEXP-P NO-RECURSIVE-EDIT)

and C-h k C-r strangely enough gives:

    C-r runs the command isearch-backward
       which is an interactive compiled Lisp function in `isearch'.
       (isearch-backward &optional REGEXP-P NO-RECURSIVE-EDIT)

The bindings in bash aren't known as 'Emacs bindings' for nothing.

I'd also note that C-s and C-h as Emacs bindings likely predate terminals
that use XON/XOFF flow control, or C-h as the 'delete and move cursor
back one space' key; these sort of Emacs bindings date from the early
70s, ISTR.

(Emacs user, and not ashamed of it.  'Eight megs and constantly swapping'
seems pretty light in these days of Mozilla; Emacs is currently using
7720KB of memory, Mozilla just after starting 23520KB.  I'll claim that
elisp is nicer than Javascript, too.)
    -- michael.




More information about the wellylug mailing list