From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode Date: Tue, 23 Mar 2010 20:47:48 -0400 Message-ID: References: <87ocih158i.fsf@catnip.gol.com> <874ok7bhse.fsf@lola.goethe.zz> <87fx3r10ec.fsf@stupidchicken.com> <87d3yv7zzy.fsf@lola.goethe.zz> <87634n0xnn.fsf@stupidchicken.com> <87fx3rc5p0.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269391751 30098 80.91.229.12 (24 Mar 2010 00:49:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Mar 2010 00:49:11 +0000 (UTC) Cc: Juri Linkov , Chong Yidong , David Kastrup , emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 24 01:49:06 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 1NuEmI-0001Hn-Tb for ged-emacs-devel@m.gmane.org; Wed, 24 Mar 2010 01:48:59 +0100 Original-Received: from localhost ([127.0.0.1]:59726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuEmH-0007OE-UA for ged-emacs-devel@m.gmane.org; Tue, 23 Mar 2010 20:48:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NuElH-00078h-CR for emacs-devel@gnu.org; Tue, 23 Mar 2010 20:47:55 -0400 Original-Received: from [140.186.70.92] (port=45482 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NuElG-00078X-6z for emacs-devel@gnu.org; Tue, 23 Mar 2010 20:47:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NuElF-0002SV-32 for emacs-devel@gnu.org; Tue, 23 Mar 2010 20:47:53 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:56809 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NuElB-0002S6-Q8; Tue, 23 Mar 2010 20:47:49 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAFv+qEvO+IPa/2dsb2JhbACbJnS/FYR9BIsZ X-IronPort-AV: E=Sophos;i="4.51,298,1267419600"; d="scan'208";a="58929760" Original-Received: from 206-248-131-218.dsl.teksavvy.com (HELO ceviche.home) ([206.248.131.218]) by ironport2-out.pppoe.ca with ESMTP; 23 Mar 2010 20:47:48 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id C1BA0660BF; Tue, 23 Mar 2010 20:47:48 -0400 (EDT) In-Reply-To: (Lennart Borgman's message of "Tue, 23 Mar 2010 23:07:35 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:122582 Archived-At: >>> What do you think about marking commands that should delete the active >>> region with a new interactive character (like "^" is used to call >>> `handle-shift-selection'), so e.g. a new function `handle-delete-region' >>> could delete the active region before running a command? >> Sounds very good, indeed, > To me it looks a bit inflexible. Wouldn't it be better with something > that later could be customized? We've been through that already when implementing the shift-selection code. Stefan