no this is not windows-centric thinking.
it's just that a command to simply delete the entire line is far more useful
than C-k = kill to end of line. It's especially useful in cutting blocks of
lines and moving them -- just kill-whole-line repeatedly until you get your
lines cut, then move and paste, voila!
However, C-k to kill to end is also useful, so in the current
about-to-be-released scheme, C-shift-k [should be M-shift-k for tty compliance]
does "historical-kill-line" i.e. kill-line ignoring the kill-whole-line
variable
[remember it has another value of 't' which kills the whole line but only at the
beginning], and you can set kill-whole-line = always to get C-k to just kill the
damn line.
Every other editor on earth has a "kill whole line" command -- including vi.
those tex users are going to be a small minority of xemacs users.
changing key bindings inevitably upsets someone. rather than do this, i tried
to get around it with another setting, which is just a mess -- even more people
who have to set a non-default to get useful behavior, etc. this new scheme is
clean, works well by default, no more messy variables, and i think it will make
many more people happy than annoyed, and those who are annoyed can either just
learn the new keystroke or fix it trivially -- i'll even provide a menu option
for this.
"Stephen J. Turnbull" wrote:
>>>>> "Ben" == Ben Wing <ben(a)666.com> writes:
Ben> -- remove kill-whole-line = always.
Do you mean just the value, or the whole variable?
I have a slight preference for having the variable go away and use a
different function to get the behavior change (it looks like that is
what you're proposing, since k-w-l doesn't seem to be fboundp), but
that is personal opinion only.
Ben> -- C-k continues as "kill to end of line".
Ben> -- define M-k as kill-whole-line.
Ben> -- move the current, vastly underused,
This is false, again speaking personally only. I use that binding
heavily (in fact, that and the sexp movement commands are the only
ones I use enough to have learned to always use the Meta key for if
it's available; others meta bindings I often use ESC <key> still).
This is a very common gesture when editing text for me, more so than
C-k, actually.
Ben> binding of M-k (kill-sentence) to M-shift-k. this is still
Ben> usable under tty's, as well.
I don't have a problem with that as default (I'll just change it back
in .emacs), but I suspect you will find that in general people who
spend more time editing TeX than they do Lisp will be upset.
If, as I suspect, this is Windows-centric thinking, you should at
least add it to the when-running-ms-windows part of sample.emacs.
We need EmacsKeyCaps.el, or at least `swap-bindings' (with a custom
interface)!
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."
--
ben
I'm sometimes slow in getting around to reading my mail, so if you
want to reach me faster, call 520-661-6661.
See
http://www.666.com/ben/chronic-pain/ for the hell I've been
through.