From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#17569: 24.4.50; doc of "wrapper hooks" Date: Sat, 24 May 2014 08:57:52 -0700 (PDT) Message-ID: <20d1abe2-d443-4668-8d9f-807936d1cd39@default> References: <<6907e1e1-e802-45cd-adad-917290420cf6@default>> <<9pmwe8t8qq.fsf@fencepost.gnu.org>> <<17297117-eeea-4bca-a9a3-a08cd966d1fb@default>> <> <<6bad204d-c3d7-4630-aa7f-1a09288f6ad4@default>> <<83ppj3jjfq.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1400947407 8794 80.91.229.3 (24 May 2014 16:03:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 May 2014 16:03:27 +0000 (UTC) Cc: 17569@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 24 18:03:19 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 1WoEPl-0003X2-U2 for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 May 2014 18:03:18 +0200 Original-Received: from localhost ([::1]:48466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoEPl-0008N6-8A for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 May 2014 12:03:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoELn-0002g8-Uo for bug-gnu-emacs@gnu.org; Sat, 24 May 2014 11:59:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoELf-0002ku-6r for bug-gnu-emacs@gnu.org; Sat, 24 May 2014 11:59:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoELf-0002kp-3g for bug-gnu-emacs@gnu.org; Sat, 24 May 2014 11:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WoELe-0008Cs-C5 for bug-gnu-emacs@gnu.org; Sat, 24 May 2014 11:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 May 2014 15:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17569 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17569-submit@debbugs.gnu.org id=B17569.140094708631473 (code B ref 17569); Sat, 24 May 2014 15:59:02 +0000 Original-Received: (at 17569) by debbugs.gnu.org; 24 May 2014 15:58:06 +0000 Original-Received: from localhost ([127.0.0.1]:59222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WoEKj-0008BZ-Jm for submit@debbugs.gnu.org; Sat, 24 May 2014 11:58:05 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:20117) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WoEKh-0008B2-AG for 17569@debbugs.gnu.org; Sat, 24 May 2014 11:58:04 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s4OFvuGF029426 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 24 May 2014 15:57:57 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s4OFvrNc022963 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 May 2014 15:57:55 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s4OFvrmN005458; Sat, 24 May 2014 15:57:53 GMT In-Reply-To: <<83ppj3jjfq.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] 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:89454 Archived-At: > > And what about a function, such as `filter-buffer-substring', > > whose implementation and doc string makes use of such a var? > > What is being recommended now for someone who wants the > > functionality of `filter-buffer-substring' - just roll your own? >=20 > Using obsolete variables or functions doesn't automatically make their > users obsolete. It just means they need to be fixed by changing their > implementation to use the alternative non-obsolete replacements. > Therefore, there's no need to stop using those APIs that use obsolete > vars. Yes, we know that. And you'll notice that I didn't say anything about the many callers of `filter-buffer-substring' or about code that uses `filter-buffer-substring-functions'. However, I see now that I was mistaken about `filter-buffer-substring' using obsolete variable `filter-buffer-substring-functions'. It uses the replacement function `filter-buffer-substring-function' (no `s') instead. That was my main concern: what was being recommended as a replacement for `filter-buffer-substring'. I see now that it is not being made obsolete by making `filter-buffer-substring-functions' obsolete.