From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#19424: 23.4; incorrect byte-compiler warning for `mode-line-format' Date: Sat, 30 Apr 2016 18:31:18 +0200 Message-ID: <87d1p7kqi1.fsf@gnus.org> References: <4626f753-5d8d-4a12-9a06-02aa4b001435@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462033964 7641 80.91.229.3 (30 Apr 2016 16:32:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Apr 2016 16:32:44 +0000 (UTC) Cc: 19424@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 30 18:32:34 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 1awXoo-0002pu-Gy for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 18:32:34 +0200 Original-Received: from localhost ([::1]:58964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awXoh-0007Yt-IS for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 12:32:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awXoX-0007KM-6a for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 12:32:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awXoL-0000MH-Fw for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 12:32:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awXoL-0000LG-CH for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 12:32:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awXoI-0005M7-0n for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 12:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Apr 2016 16:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19424 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19424-submit@debbugs.gnu.org id=B19424.146203388318804 (code B ref 19424); Sat, 30 Apr 2016 16:32:01 +0000 Original-Received: (at 19424) by debbugs.gnu.org; 30 Apr 2016 16:31:23 +0000 Original-Received: from localhost ([127.0.0.1]:58109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awXnf-0004t3-22 for submit@debbugs.gnu.org; Sat, 30 Apr 2016 12:31:23 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:58324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awXnd-0004rU-Gx for 19424@debbugs.gnu.org; Sat, 30 Apr 2016 12:31:21 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1awXna-0004Jx-MC; Sat, 30 Apr 2016 18:31:20 +0200 In-Reply-To: <4626f753-5d8d-4a12-9a06-02aa4b001435@default> (Drew Adams's message of "Sun, 21 Dec 2014 09:23:30 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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" Xref: news.gmane.org gmane.emacs.bugs:117378 Archived-At: Drew Adams writes: > This is the warning: > > Warning: `default-mode-line-format' is an obsolete variable > (as of Emacs 23.2); use `mode-line-format' instead. > > That is incorrect and useless. Clearly, you cannot use > `mode-line-format' in place of `default-mode-line-format'. > > The warning should instead say something like this, based on the doc > string: > > Warning: `default-mode-line-format' is an obsolete variable > (as of Emacs 23.2); use `(default-value 'mode-line-format)' instead. Now fixed. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no