From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: obsolete functions found during the build process Date: Sat, 12 Aug 2017 13:13:01 -0700 Message-ID: <87fucwilyq.fsf@ericabrahamsen.net> References: <1E2AEF85-800D-4F85-BF29-F08720F8226F@gmail.com> <837ey9jhs7.fsf@gnu.org> <515a773e-e961-a09a-67d8-79b5acc674ad@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502568853 10616 195.159.176.226 (12 Aug 2017 20:14:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2017 20:14:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 12 22:14:07 2017 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 1dgcnJ-00028m-SI for ged-emacs-devel@m.gmane.org; Sat, 12 Aug 2017 22:14:01 +0200 Original-Received: from localhost ([::1]:49230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgcnQ-0001ib-BK for ged-emacs-devel@m.gmane.org; Sat, 12 Aug 2017 16:14:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgcmh-0001iK-KN for emacs-devel@gnu.org; Sat, 12 Aug 2017 16:13:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgcme-0002eF-E4 for emacs-devel@gnu.org; Sat, 12 Aug 2017 16:13:23 -0400 Original-Received: from [195.159.176.226] (port=35340 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgcme-0002c2-7W for emacs-devel@gnu.org; Sat, 12 Aug 2017 16:13:20 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dgcmQ-0007Wp-9l for emacs-devel@gnu.org; Sat, 12 Aug 2017 22:13:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:V7Lv6aSEMo1vo6UooggjD/8CCQo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:217499 Archived-At: Paul Eggert writes: > Eli Zaretskii wrote: >> In some cases, the use of the obsolete function is justified, though. > > > Is there some way for code to say "I know this function is obsolete, > but the call is justified so don't warn about it"? That would be > helpful, so that compiles could be clean and so that people would be > more likely to pay attention to any stray warnings that do crop up. Maybe the `with-no-warnings' macro? Eric