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: Fri, 26 Mar 2010 09:02:17 +0200 Organization: JURTA Message-ID: <87iq8jpvxr.fsf@mail.jurta.org> References: <87r5nf8s7q.fsf@siart.de> <87pr2ygbii.fsf@lola.goethe.zz> <87tys9180s.fsf@catnip.gol.com> <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> <9C89B664FF0146C087C358EB51E0DE4C@us.oracle.com> <877hp2jvdm.fsf@mail.jurta.org> <878w9h9gx5.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 1269587570 5186 80.91.229.12 (26 Mar 2010 07:12:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 26 Mar 2010 07:12:50 +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 Fri Mar 26 08:12:40 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 1Nv3ih-0004zm-MJ for ged-emacs-devel@m.gmane.org; Fri, 26 Mar 2010 08:12:40 +0100 Original-Received: from localhost ([127.0.0.1]:44368 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nv3ig-0002xS-SB for ged-emacs-devel@m.gmane.org; Fri, 26 Mar 2010 03:12:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nv3g0-0001Ci-B7 for emacs-devel@gnu.org; Fri, 26 Mar 2010 03:09:52 -0400 Original-Received: from [140.186.70.92] (port=40049 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nv3fp-00015K-SK for emacs-devel@gnu.org; Fri, 26 Mar 2010 03:09:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nv3fg-0004EJ-RH for emacs-devel@gnu.org; Fri, 26 Mar 2010 03:09:41 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3]:41157 helo=mx1.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nv3fg-0004Dq-9A for emacs-devel@gnu.org; Fri, 26 Mar 2010 03:09:32 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.30.101.cable.starman.ee [82.131.30.101]) by mx1.starman.ee (Postfix) with ESMTP id DF48B3F40CB; Fri, 26 Mar 2010 09:09:24 +0200 (EET) In-Reply-To: (Stefan Monnier's message of "Thu, 25 Mar 2010 13:44:51 -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:122695 Archived-At: >>> Just as for shift-select-mode, I'd rather not use symbol properties to >>> put this information, because it's a property of the command, not of >>> its name. >> This means introducing 4 new `interactive' code letters for: > > Of course not. We can do it without any letter at all (use the Lisp > form of `interactive' specification), or with just one letter (with an > argument specifying which kind of d-s-m applies). I.e. this is > a non-issue. I think without any letter is better than trying to find suitable letters whose mnemonics is not obvious. (interactive (list (progn (handle-delete-region 'supersede) current-prefix-arg))) is not hard to use for a few commands. Wouldn't it be even better to allow using symbols in the interactive spec? Something like (combining symbols and existing letters): (interactive '(delete-region-supersede "p")) -- Juri Linkov http://www.jurta.org/emacs/