From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#18086: 24.4.50; NEWS entry for `kill-region' Date: Thu, 24 Jul 2014 00:21:57 +0200 Message-ID: <878unjyauy.fsf@rosalinde.fritz.box> References: <2099c598-0d39-441d-92f8-f3bbc570a08b@default> <3236f48c-0797-49ca-ab5e-17a90c7e4e1d@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1406154212 31436 80.91.229.3 (23 Jul 2014 22:23:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Jul 2014 22:23:32 +0000 (UTC) Cc: 18086@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 24 00:23:22 2014 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 1XA4wT-0001iI-RB for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jul 2014 00:23:22 +0200 Original-Received: from localhost ([::1]:47191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XA4wT-0004lQ-Cn for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Jul 2014 18:23:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XA4wG-0004cv-5x for bug-gnu-emacs@gnu.org; Wed, 23 Jul 2014 18:23:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XA4wB-0002qX-Cy for bug-gnu-emacs@gnu.org; Wed, 23 Jul 2014 18:23:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XA4wB-0002qP-9H for bug-gnu-emacs@gnu.org; Wed, 23 Jul 2014 18:23:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XA4wA-0001Yg-Ie for bug-gnu-emacs@gnu.org; Wed, 23 Jul 2014 18:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Jul 2014 22:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18086 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18086-submit@debbugs.gnu.org id=B18086.14061541305833 (code B ref 18086); Wed, 23 Jul 2014 22:23:02 +0000 Original-Received: (at 18086) by debbugs.gnu.org; 23 Jul 2014 22:22:10 +0000 Original-Received: from localhost ([127.0.0.1]:35967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XA4vJ-0001Vy-D7 for submit@debbugs.gnu.org; Wed, 23 Jul 2014 18:22:09 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:50034) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XA4vF-0001VB-79 for 18086@debbugs.gnu.org; Wed, 23 Jul 2014 18:22:06 -0400 Original-Received: from rosalinde.fritz.box ([89.245.113.152]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Lxgnf-1WQs2P1GiR-017BWJ; Thu, 24 Jul 2014 00:21:58 +0200 In-Reply-To: <3236f48c-0797-49ca-ab5e-17a90c7e4e1d@default> (Drew Adams's message of "Wed, 23 Jul 2014 09:16:56 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) X-Provags-ID: V03:K0:pUeKUF1+S5lXdNbwaGBahxheCuFt75FRdSxwk85IsiLKvoOyy1L zlY3oerhbySmFexnu2C4mNn+VgPSh6E+if2RqQZ9YJXVvjReT6NvPvRs4Ug1J/B8Mw8L7Ls DfL1OOSgE+0K/Vy6XUGtsW3xT3oD+LbxvhGzuz5rsM+ri34C4qW2KrUyytxs7TZ21Myo7Xi W3mdmoZbprxlQyWMtsPGg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:91766 Archived-At: On Wed, 23 Jul 2014 09:16:56 -0700 (PDT) Drew Adams wrote: >> From the beginning, and forever prior to Emacs 24.4, `kill-region' had >> this signature: (kill-region BEG END). That includes Emacs 24.3. >> >> Starting with Emacs 24.4, this is the signature: >> (kill-region BEG END &optional REGION) >> >> 1. This change should be called out in NEWS. >> >> 2. Instead, there is this entry in NEWS for Emacs 24.4, under >> "Incompatible Lisp changes in Emacs 24.4": >> >> ** `kill-region' has lost its `yank-handler' optional argument. >> >> This is incomprehensible. It never had a `yank-handler' optional >> argument. > > I was apparently wrong about that last statement (and so too about > the first statement, that in 24.3 the function accepted only two args). > > [However, I do not really understand, and have no time to research > this now: in Emacs 24.3, emacs -Q, `C-h f kill-region' does NOT > show parameter YANK-HANDLER. But in the 24.3 source file simple.el, > YANK-HANDLER is present. Perhaps the simple.elc distributed by GNU > is older than the addition of YANK-HANDLER to simple.el?] 24.3 was released March 11, 2013, but the yank-handler argument was obsoleted much earlier: 2010-11-18 Stefan Monnier * simple.el (kill-new, kill-append, kill-region): * comint.el (comint-kill-region): Make the yank-handler argument obsolete. Perhaps that's why the help in 24.3 doesn't show it. > The NEWS entry should state not that the YANK-HANDLER parameter > was removed but that it was replaced by the REGION parameter etc. > > And of course there SHOULD have been a NEWS entry for 24.3, > stating that parameter YANK-HANDLER was added. If it is not too > late, that should be added now. Without it, mention of YANK-HANDLER > in the 24.4 entry makes no sense. It's in NEWS.22: *** The functions `kill-new', `kill-append', and `kill-region' now have an optional argument to specify the `yank-handler' text property to put on the killed text. (However, 22.1 was released June 2, 2007, while the yank-handler parameter was added much earlier: 2003-01-18 Kim F. Storm * simple.el (kill-new, kill-append, kill-region): New optional parameter yank-handler. This was even before the release of 21.3 on March 24, 2003, though it was probably in feature freeze then. So it could have been added to the NEWS of 21.4, released on Feb 6, 2005; but, if memory serves, that was a security release with no new features.) Steve Berman