[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Multi-line input
From: |
Drew Adams |
Subject: |
RE: Multi-line input |
Date: |
Fri, 5 Dec 2014 15:02:19 -0800 (PST) |
> On a graphics window, C-M and RET can be distinguished.
> Maybe it is possible to make C-q C-m insert ^M and make
> C-q RET insert newline.
Huh? Why a newline? Control J *is* a newline char.
Instead of treating that as an aberration or some secret
incantation, we should (and we do, for the most part)
simply make the Control J <=> newline relationship, and
hence `C-q C-j' for insertion, known from the outset.
Emacs users, like GNU/Linux users in general, should be
aware of this, if they make explicit use of newline chars.
You can distinguish the key `C-m' from the key `<return>',
but you cannot distinguish the character Control M from
the character CR (carriage return) - by definition.