From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode as default Date: Mon, 17 Sep 2018 02:34:52 +0300 Organization: LINKOV.NET Message-ID: <87va75ggo3.fsf@mail.linkov.net> References: <83k1nxvm5j.fsf@gnu.org> <877ejxsm18.fsf@toy.adminart.net> <87r2i5308w.fsf@gmail.com> <8336ulv2le.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1537141100 26265 195.159.176.226 (16 Sep 2018 23:38:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2018 23:38:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 17 01:38:16 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g1gcJ-0006kC-Th for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2018 01:38:16 +0200 Original-Received: from localhost ([::1]:33001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1geQ-0000II-ER for ged-emacs-devel@m.gmane.org; Sun, 16 Sep 2018 19:40:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1gdA-0000F7-FE for emacs-devel@gnu.org; Sun, 16 Sep 2018 19:39:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1gcv-0007IO-KW for emacs-devel@gnu.org; Sun, 16 Sep 2018 19:38:58 -0400 Original-Received: from pop.dreamhost.com ([64.90.62.162]:57624 helo=pdx1-sub0-mail-a8.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g1gcv-0007Dp-Bi for emacs-devel@gnu.org; Sun, 16 Sep 2018 19:38:53 -0400 Original-Received: from pdx1-sub0-mail-a8.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a8.g.dreamhost.com (Postfix) with ESMTP id 64E028069E; Sun, 16 Sep 2018 16:38:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=xK6NMAw+fjSFlc0r/F+0UuYgWQA=; b= lzIsxYaSZ8NXMjB6io1FYQk/jvdRlVx+DH+ffUuEK9pjMDREzQug0mVCg4vB2Y4R /OpCOCD2oXMpL+6/EMYM5D+lfHfcbFI1OuM3iq1UNNwQWFmDLt9qByNrvgC6cA5T EKiJP9hOnM2CzcQ3tcFoHXEYmTTVk3nBKz29LZrtD2w= Original-Received: from localhost.linkov.net (m91-129-107-237.cust.tele2.ee [91.129.107.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a8.g.dreamhost.com (Postfix) with ESMTPSA id A665A7E446; Sun, 16 Sep 2018 16:38:51 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a8 X-DH-BACKEND: pdx1-sub0-mail-a8 In-Reply-To: (Stefan Monnier's message of "Fri, 07 Sep 2018 10:22:55 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.90.62.162 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229873 Archived-At: > But before that I'd appreciate if we could improve its implementation so > it doesn't rely on pre-command-hook. Reimplementing delete-selection-mode to be more like shift-select-mode will also require to get rid of putting 'delete-selection props on command symbols, and like shift-translated commands have a `^' character in the `interactive' spec, delete-selection-mode might require a separate character. Hopefully, these types of commands are mutual exclusive, so their disjoint sets won't cause conflicting interactive specs.