From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: `looking-back' strange warning Date: Thu, 01 Oct 2015 08:25:59 +0200 Message-ID: <87eghfumtk.fsf@gnu.org> References: <560B9C7F.2060301@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1443700980 23929 80.91.229.3 (1 Oct 2015 12:03:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 12:03:00 +0000 (UTC) Cc: help-gnu-emacs To: Andreas =?utf-8?Q?R=C3=B6hler?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 01 14:02:53 2015 Return-path: Envelope-to: geh-help-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 1ZhcZT-0001Vb-71 for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 14:02:47 +0200 Original-Received: from localhost ([::1]:49247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhcZN-0001te-H9 for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 08:02:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhXJc-0004DI-UU for help-gnu-emacs@gnu.org; Thu, 01 Oct 2015 02:26:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhXJZ-0007sG-QZ for help-gnu-emacs@gnu.org; Thu, 01 Oct 2015 02:26:04 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:49210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhXJZ-0007qL-Lp for help-gnu-emacs@gnu.org; Thu, 01 Oct 2015 02:26:01 -0400 Original-Received: from thinkpad-t440p (dhcp145.uni-koblenz.de [141.26.71.145]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 893BC1A831E; Thu, 1 Oct 2015 08:26:00 +0200 (CEST) Mail-Followup-To: Andreas =?utf-8?Q?R=C3=B6hler?= , help-gnu-emacs In-Reply-To: <560B9C7F.2060301@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6h\?\= \=\?utf-8\?Q\?ler\=22's\?\= message of "Wed, 30 Sep 2015 10:25:35 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 141.26.64.15 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107412 Archived-At: Andreas R=C3=B6hler writes: > M-x `byte-compile-file' warns: > > ... Warning: looking-back called with 1 argument, but > requires 2-3 > > While its definition: > > (defun looking-back (regexp &optional limit greedy) > > Docu bug? No, its definition contains (declare (advertised-calling-convention (regexp limit &optional greedy) "25.1")) and that's what creates the warnings. You can still use it without LIMIT but you should not. This probably means that in Emacs 33, LIMIT will become a mandatory argument. Bye, Tassilo