From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22296: 25.1.50; Document changes to `delete-selection-mode' Date: Sun, 03 Jan 2016 19:02:48 +0200 Message-ID: <834meua953.fsf@gnu.org> References: <<660d1a46-fd5a-460f-8f26-50ba9a52cc60@default>> <<83mvsmadhv.fsf@gnu.org>> <940d59ef-c3d6-42df-ba0c-602cc154d431@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1451840598 22025 80.91.229.3 (3 Jan 2016 17:03:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 17:03:18 +0000 (UTC) Cc: 22296@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 03 18:03:08 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aFm3f-0005NV-TS for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 18:03:08 +0100 Original-Received: from localhost ([::1]:42329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFm3f-0006xx-6q for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 12:03:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFm3b-0006wD-Ap for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 12:03:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFm3a-0006JR-5U for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 12:03:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFm3a-0006JN-2i for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 12:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aFm3Z-0000Mi-UR for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 12:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jan 2016 17:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22296 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22296-submit@debbugs.gnu.org id=B22296.14518405791395 (code B ref 22296); Sun, 03 Jan 2016 17:03:01 +0000 Original-Received: (at 22296) by debbugs.gnu.org; 3 Jan 2016 17:02:59 +0000 Original-Received: from localhost ([127.0.0.1]:36836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFm3X-0000MQ-3P for submit@debbugs.gnu.org; Sun, 03 Jan 2016 12:02:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54174) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFm3V-0000MC-68 for 22296@debbugs.gnu.org; Sun, 03 Jan 2016 12:02:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFm3M-0006Ie-R7 for 22296@debbugs.gnu.org; Sun, 03 Jan 2016 12:02:51 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFm3M-0006Ia-Nw; Sun, 03 Jan 2016 12:02:48 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2488 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aFm3M-0003oh-2I; Sun, 03 Jan 2016 12:02:48 -0500 In-reply-to: <940d59ef-c3d6-42df-ba0c-602cc154d431@default> (message from Drew Adams on Sun, 3 Jan 2016 08:24:35 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111156 Archived-At: > Date: Sun, 3 Jan 2016 08:24:35 -0800 (PST) > From: Drew Adams > Cc: 22296@debbugs.gnu.org > > > If you know about other changes (that are not bugfixes), please name > > them. > > Frankly, I do not understand all of the changes I see in the code > since 24.3. There are a boatload of them. `diff' the Emacs 25 > version against the 24.3 version. You don't get to complain about the v25 version until you see its NEWS complete. We aren't there yet. But yes, I did look at all the changes in that file since 24.3 release, and all I saw was the one mentioned, and a couple of bugfixes. That is all. > 1. It "can now be used without transient mark mode" is misleading. > > You could always turn off t-m-mode (after turning d-s-mode on) > and still use d-s-mode. (But you might have been surprised to see > stuff disappear because you didn't notice what was in the region.) > > The changes for this seem to be: (1) d-s-mode does not automatically > turn on t-m-mode now, and (2) d-s-mode does NOT have any effect unless > you turn on t-m-mode temporarily. IOW, d-s-mode works now only with > temporary t-m-mode; it no longer works with a non-active region. > (And yes, this is a good change.) NEWS is not a manual, it only gives summary of the changes. If you think the 2 manuals don't describe enough of the current behavior, feel free to submit bug reports about specific deficiencies. > 2. d-s-mode now supports rectangular regions (?). I don't know what you are talking about, please give an example that didn't work earlier. (AFAIK, it always supported rectangles in conjunction with CUA mode, but maybe I'm mistaken.) > 3. Command `delete-selection-repeat-replace-region' was added. > It seems to be bound, so far, only in CUA mode (to `M-v'). > Not real clear to me what this is about/for. Read the commentary to the changeset. It was a bugfix related to CUA features that used to work previously. > 4. Apparently you can no longer specify `kill' as the d-s behavior: > (put 'some-command 'delete-selection 'kill). Well, it's still > supported for now, but `kill' has been removed from the file-header > Commentary, and the code comments say that it is deprecated. > > Why is this? Where is this deprecation documented? Why > shouldn't a user or a library still be able to override a > `delete-selection' setting for a given command, to specify > it as `kill'? Not clear to me what this is about. > > 5. There is an additional, undocumented (why?) possible value > for `delete-selection', which you can apparently put on a > command's symbol: `delete-selection-uses-region-p'. Please > consider documenting this (e.g., not just mentioning it in NEWS). > > 6. The default delete-selection behavior for multiple commands > has apparently changed. For example, `open-line' now has the > default behavior and not the `kill' behavior. Likewise, unloading > (`delsel-unload-function') deals with a different command list. We never documented any of this, and I see no reason to do so now.