From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#30035: 27.0.50; stream of messages about =?UTF-8?Q?=E2=80=98semantic-flex=E2=80=99?= Date: Tue, 09 Jan 2018 13:57:27 -0500 Message-ID: <7ushbe3lns.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1515524182 18457 195.159.176.226 (9 Jan 2018 18:56:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 9 Jan 2018 18:56:22 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 30035@debbugs.gnu.org To: sds@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 09 19:56:18 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1eYz4D-0003uy-6g for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jan 2018 19:56:09 +0100 Original-Received: from localhost ([::1]:40936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYz6C-0007T6-PJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jan 2018 13:58:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYz63-0007QT-1y for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2018 13:58:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYz62-00033M-8I for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2018 13:58:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYz62-00033B-5s for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2018 13:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eYz61-0004Jf-V0 for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2018 13:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jan 2018 18:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30035 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30035-submit@debbugs.gnu.org id=B30035.151552425716413 (code B ref 30035); Tue, 09 Jan 2018 18:58:01 +0000 Original-Received: (at 30035) by debbugs.gnu.org; 9 Jan 2018 18:57:37 +0000 Original-Received: from localhost ([127.0.0.1]:49883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYz5d-0004Gc-GP for submit@debbugs.gnu.org; Tue, 09 Jan 2018 13:57:37 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYz5c-0004Fx-7b for 30035@debbugs.gnu.org; Tue, 09 Jan 2018 13:57:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYz5W-0002cl-22 for 30035@debbugs.gnu.org; Tue, 09 Jan 2018 13:57:31 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYz5U-0002bX-Ji; Tue, 09 Jan 2018 13:57:28 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1eYz5T-0004eF-FC; Tue, 09 Jan 2018 13:57:27 -0500 X-Spook: Coast Guard Fort Hancock Law enforcement Avian Metro Cain X-Ran: lkU&IVor;?&nxS6.cic"dm`jLZB*5BJBV-k{8+b~|Jzn6\:'~gP+x%2nAfr;[ep?[S\?cs X-Hue: red X-Attribution: GM In-Reply-To: (Glenn Morris's message of "Tue, 09 Jan 2018 13:39:44 -0500") 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" Xref: news.gmane.org gmane.emacs.bugs:141943 Archived-At: Anyway, I guess the following works around it. AFAICS, this code is unchanged since Cedet was added to Emacs. commit 34b41e3 (HEAD, origin/emacs-26, emacs-26) Date: Tue Jan 9 13:54:11 2018 -0500 Quieten semantic normal usage * lisp/cedet/semantic/lex.el (semantic-flex): Mark obsolete at compile time in the normal way, not at run-time. (Bug#30035) diff --git a/lisp/cedet/semantic/lex.el b/lisp/cedet/semantic/lex.el index 9a35dd8..3a8b0c7 100644 --- a/lisp/cedet/semantic/lex.el +++ b/lisp/cedet/semantic/lex.el @@ -471,6 +471,7 @@ semantic-lex-types ;;; Lexical Analyzer framework settings ;; +;; FIXME change to non-obsolete default. (defvar semantic-lex-analyzer 'semantic-flex "The lexical analyzer used for a given buffer. See `semantic-lex' for documentation. @@ -1857,7 +1858,7 @@ semantic-flex scanning, use `narrow-to-region'. The last argument, LENGTH specifies that `semantic-flex' should only return LENGTH tokens." - (message "`semantic-flex' is an obsolete function. Use `define-lex' to create lexers.") + (declare (obsolete define-lex "23.2")) (if (not semantic-flex-keywords-obarray) (setq semantic-flex-keywords-obarray [ nil ])) (let ((ts nil)