From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: AW: delete-selection-mode Date: Thu, 18 Mar 2010 11:36:08 +0900 Message-ID: <87pr32pd9j.fsf@catnip.gol.com> References: <87ocitw2dl.fsf@stupidchicken.com> <201003130001.o2D01FFQ003489@godzilla.ics.uci.edu> <87vdd1yqe4.fsf@stupidchicken.com> <87eijjzrkd.fsf_-_@mail.jurta.org> <874okf8dep.fsf@lola.goethe.zz> <7697A57B1AD9104F993CDF6A5B69430C0A70E50872@CORPMAIL08.corp.capgemini.com> <4BA0CDF9.40707@online.de> <76682E4761EA432EB929E5E199B0F92A@us.oracle.com> <87wrxb57e1.fsf@lola.goethe.zz> <87sk7z571u.fsf@lola.goethe.zz> <81674B067AF84670A2EDDB0178E0C0CC@us.oracle.com> <877hpa68ys.fsf@lola.goethe.zz> <874oke4kor.fsf@stupidchicken.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1268879794 20486 80.91.229.12 (18 Mar 2010 02:36:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Mar 2010 02:36:34 +0000 (UTC) Cc: Chong Yidong , David Kastrup , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 18 03:36:29 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 1Ns5b3-0002p5-0p for ged-emacs-devel@m.gmane.org; Thu, 18 Mar 2010 03:36:29 +0100 Original-Received: from localhost ([127.0.0.1]:38901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ns5b1-0007cL-1q for ged-emacs-devel@m.gmane.org; Wed, 17 Mar 2010 22:36:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ns5as-0007aZ-NZ for emacs-devel@gnu.org; Wed, 17 Mar 2010 22:36:18 -0400 Original-Received: from [140.186.70.92] (port=58476 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ns5ar-0007Zj-2m for emacs-devel@gnu.org; Wed, 17 Mar 2010 22:36:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ns5ap-00043v-S3 for emacs-devel@gnu.org; Wed, 17 Mar 2010 22:36:16 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:56932) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ns5an-000437-1Z; Wed, 17 Mar 2010 22:36:13 -0400 Original-Received: from 218.231.253.174.eo.eaccess.ne.jp ([218.231.253.174] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1Ns5ak-0005C0-1Y; Thu, 18 Mar 2010 11:36:10 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 2310BDF23; Thu, 18 Mar 2010 11:36:09 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: (Stefan Monnier's message of "Wed, 17 Mar 2010 21:54:58 -0400") Original-Lines: 23 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:122131 Archived-At: Stefan Monnier writes: > This will be a good occasion to get rid of the butt-ugly and > bug-inducing code that implements the feature now. And it will provide > the DEL part of delete-selection-mode. > > I'd be happy to also provide the self-insert behavior of > delete-selection-mode, but at least this intermediate step sounds very > good to me. > > The implementation should keep an eye towards generalizing it to > self-insertion keys (i.e. maybe it should just use the code from > delete-selection-mode). That all sounds perfect. The "DEL deletes" functionality seems the main thing; a mode which only did that would probably be fine, and solve 95% of the muscle-memory- from-other-apps issues. -Miles -- Liberty, n. One of imagination's most precious possessions.