From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode Date: Thu, 18 Mar 2010 23:06:23 +0200 Organization: JURTA Message-ID: <87mxy5fhzk.fsf@mail.jurta.org> References: <87ocitw2dl.fsf@stupidchicken.com> <201003130001.o2D01FFQ003489@godzilla.ics.uci.edu> <87vdd1yqe4.fsf@stupidchicken.com> <87eijjzrkd.fsf_-_@mail.jurta.org> <8BDB38B3CCBC481CB014CB3DA9FA1948@us.oracle.com> <87y6hq39rk.fsf_-_@mail.jurta.org> <9B30E5E474524F4092443C23D37B92CC@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1268947138 26836 80.91.229.12 (18 Mar 2010 21:18:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Mar 2010 21:18:58 +0000 (UTC) Cc: 'Chong Yidong' , Drew Adams , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 18 22:18:53 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NsN7E-0001yo-QN for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 22:18:53 +0100 Original-Received: from localhost ([127.0.0.1]:56598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsN7D-0003pb-H4 for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 17:18:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsN78-0003pW-JD for emacs-devel@gnu.org; Thu, 18 Mar 2010 17:18:46 -0400 Original-Received: from [140.186.70.92] (port=53417 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsN77-0003pM-85 for emacs-devel@gnu.org; Thu, 18 Mar 2010 17:18:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NsN74-0000J8-Ao for emacs-devel@gnu.org; Thu, 18 Mar 2010 17:18:43 -0400 Original-Received: from smtp-out2.starman.ee ([85.253.0.4]:49409 helo=mx2.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NsN74-0000J0-3K for emacs-devel@gnu.org; Thu, 18 Mar 2010 17:18:42 -0400 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.94.132.cable.starman.ee [82.131.94.132]) by mx2.starman.ee (Postfix) with ESMTP id 28BAD3F406B; Thu, 18 Mar 2010 23:18:34 +0200 (EET) In-Reply-To: (Stefan Monnier's message of "Wed, 17 Mar 2010 21:38:18 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:122219 Archived-At: > 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/