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 20:43:05 +0200 Message-ID: <83vb7a8pxi.fsf@gnu.org> References: <<<660d1a46-fd5a-460f-8f26-50ba9a52cc60@default>>> <<<83mvsmadhv.fsf@gnu.org>>> <<940d59ef-c3d6-42df-ba0c-602cc154d431@default>> <<834meua953.fsf@gnu.org>> <68435980-44a2-4d33-8f64-8fbbdedb4a4e@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1451846663 14126 80.91.229.3 (3 Jan 2016 18:44:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 18:44:23 +0000 (UTC) Cc: 22296-done@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 19:44:12 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 1aFndT-0000yA-6t for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 19:44:11 +0100 Original-Received: from localhost ([::1]:42531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFndS-0004cv-JN for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 13:44:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFndO-0004bm-2x for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 13:44:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFndK-0002NR-Ts for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 13:44:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFndK-0002NM-QD for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 13:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aFndK-0002lQ-Lf for bug-gnu-emacs@gnu.org; Sun, 03 Jan 2016 13:44:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jan 2016 18:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 22296 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 22296@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 22296-done@debbugs.gnu.org id=D22296.145184659610545 (code D ref 22296); Sun, 03 Jan 2016 18:44:02 +0000 Original-Received: (at 22296-done) by debbugs.gnu.org; 3 Jan 2016 18:43:16 +0000 Original-Received: from localhost ([127.0.0.1]:36872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFncZ-0002k1-MW for submit@debbugs.gnu.org; Sun, 03 Jan 2016 13:43:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47349) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aFncX-0002jn-RK for 22296-done@debbugs.gnu.org; Sun, 03 Jan 2016 13:43:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFncP-0002J3-Hd for 22296-done@debbugs.gnu.org; Sun, 03 Jan 2016 13:43:08 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFncP-0002Ix-E7; Sun, 03 Jan 2016 13:43:05 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2552 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aFncO-00005f-KQ; Sun, 03 Jan 2016 13:43:05 -0500 In-reply-to: <68435980-44a2-4d33-8f64-8fbbdedb4a4e@default> (message from Drew Adams on Sun, 3 Jan 2016 10:00:46 -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:111159 Archived-At: > Date: Sun, 3 Jan 2016 10:00:46 -0800 (PST) > From: Drew Adams > Cc: 22296@debbugs.gnu.org > > > > 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. > > Really? The fact that you (apparently) can no longer specify that > a given command is handled by killing the region? The fact that > there is a new possible value for the property (what is it for)? > > How is a user supposed to understand how to use d-s-mode if these > things are not documented - either in a doc string or in a manual? How did they understand this before? This bug report says "please document changes to delete-selection-mode". I have shown that what was documented before was updated. You now say that its previous documentation was insufficient, which is an entirely different issue. > And we no longer announce deprecations? Except in code comments? Most of the deprecations are indeed never announced in NEWS, you see them when the byte compiler emits a warning to that effect. > Anyway, I've reported the problems I see. Do with the information > what you will. I did.