emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: delete-selection-mode


From: Juri Linkov
Subject: Re: delete-selection-mode
Date: Thu, 18 Mar 2010 23:06:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

> I take advantage of this kitchen-sink thread to propose we mark
> pc-selection-mode obsolete:

There is also lisp/s-region.el that could be marked obsolete.

> as far as I know, in Emacs-23 it does not do
> anything more than delete-selection-mode does (since the shift-arrow
> selection part of its featureset is now provided by default anyway).

It does something more:

  In addition, certain other PC bindings are imitated (to avoid this, set
  the variable `pc-select-selection-keys-only' to t after loading pc-select.el
  but before calling PC Selection mode):

    F6           other-window
    DELETE       delete-char
    C-DELETE     kill-line
    M-DELETE     kill-word
    C-M-DELETE   kill-sexp
    C-BACKSPACE  backward-kill-word
    M-BACKSPACE  undo"
    ;; FIXME: bring pc-bindings-mode here ?

Note the last line.  It suggests that these bindings could be moved
in the opposite direction - from pc-select.el back to pc-mode.el
(pc-bindings-mode).

After that, it seems pc-select.el is no more than delete-selection-mode
and shift-arrow.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]