From unknown Sat Aug 09 14:05:12 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#21618 <21618@debbugs.gnu.org> To: bug#21618 <21618@debbugs.gnu.org> Subject: Status: Warning (bytecomp): misplaced interactive spec Reply-To: bug#21618 <21618@debbugs.gnu.org> Date: Sat, 09 Aug 2025 21:05:12 +0000 retitle 21618 Warning (bytecomp): misplaced interactive spec reassign 21618 emacs submitter 21618 Philippe Vaucher severity 21618 normal tag 21618 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 05 09:35:03 2015 Received: (at submit) by debbugs.gnu.org; 5 Oct 2015 13:35:03 +0000 Received: from localhost ([127.0.0.1]:54939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zj5uw-0007RP-EC for submit@debbugs.gnu.org; Mon, 05 Oct 2015 09:35:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38148) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zj5ur-0007R3-7C for submit@debbugs.gnu.org; Mon, 05 Oct 2015 09:34:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zj5ui-0007K4-9Q for submit@debbugs.gnu.org; Mon, 05 Oct 2015 09:34:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj5ui-0007K0-6O for submit@debbugs.gnu.org; Mon, 05 Oct 2015 09:34:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj5ug-0004Fd-SA for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 09:34:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zj5uc-0007Ja-4D for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 09:34:46 -0400 Received: from mail-ob0-x232.google.com ([2607:f8b0:4003:c01::232]:35358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zj5ub-0007JU-UW for bug-gnu-emacs@gnu.org; Mon, 05 Oct 2015 09:34:42 -0400 Received: by obbzf10 with SMTP id zf10so128346073obb.2 for ; Mon, 05 Oct 2015 06:34:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=XLDAdSoOBhYt0KOHTjNlp96cfQpAC/wOBMHKVHoODcE=; b=QB/mcSsrw44UfyQT8OVd5IMOccamcv9PPxDvnB5c8Inc69bHrQCKkXo38oL6aOKNje 5MqFVTlE8n4JlOHHzkob2to+uLvUNEvuiSDz4B+EL9N520BRI7u9MMzG5PXHPAWJQnpG AZkxXNZ34DqmUX5nHuYXZruq9y1/puIGDtGmQpTpQoeS/CRTJZ1UgttnmAOiixlG/2Cf +lBsYDLoiAd+sG8pGZpxeRKmA58HN+mpYSjq32GRfxZUuoBe1/CUQgFapqG0/qk5p9BX Ov85d0bWQ+uIUMwOhy4K8ZTOmrHXbYUuti5oxc5i5ps0gbmg+5VMB6MKAiz7tPO5bFhd x1lg== X-Received: by 10.60.123.2 with SMTP id lw2mr18103550oeb.2.1444052080970; Mon, 05 Oct 2015 06:34:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.209.201 with HTTP; Mon, 5 Oct 2015 06:34:11 -0700 (PDT) From: Philippe Vaucher Date: Mon, 5 Oct 2015 15:34:11 +0200 Message-ID: Subject: Warning (bytecomp): misplaced interactive spec To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=047d7b5d424052d23b05215b9324 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --047d7b5d424052d23b05215b9324 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I'm using Emacs snapshot from https://launchpad.net/~ubuntu-elisp/+archive/ubuntu/ppa on ubuntu 15.04, which at the moment is "GNU Emacs 25.0.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.14.13) of 2015-10-05." Whenever I start emacs I get the following warning: Warning (bytecomp): misplaced interactive spec: =E2=80=98(interactive (let = ((args (find-tag-interactive "[PCRE] Find tag regexp: " t))) (list (rxt-pcre-to-elisp (nth 0 args)) (nth 1 args) (nth 2 args))))=E2=80=99 The function it refers to looks well defined: (defadvice find-tag-regexp (before pcre-mode first (regexp &optional next-p other-window) disable) "Read regexp using PCRE syntax and convert to Elisp equivalent." "Perform `find-tag-regexp' using emulated PCRE regexp syntax." (interactive (let ((args (find-tag-interactive "[PCRE] Find tag regexp: " t))) (list (rxt-pcre-to-elisp (nth 0 args)) (nth 1 args) (nth 2 args))))) The code I'm refering to is https://github.com/joddie/pcre2el/blob/master/pcre2el.el#L967 What is funny is that there is another `defadvice' that follows almost exactly the same pattern right before this one and the other one doesn't trigger the warning. This made me do some research and basically I think the problem is in `find-tag-regexp': (defun find-tag-regexp (regexp &optional next-p other-window) "(snip doc)" (declare (obsolete xref-find-apropos "25.1")) (interactive (find-tag-interactive "Find tag regexp: " t)) ;; We go through find-tag-other-window to do all the display hair there. (funcall (if other-window 'find-tag-other-window 'find-tag) regexp next-p t)) As you can see, it starts with a `declare' form instead of the `interactive' form, and I think it confuses the `defadvice'. Tell me if you need more information. Thanks in advance, Philippe --047d7b5d424052d23b05215b9324 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I'm using Emacs snapshot fro= m=C2=A0= https://launchpad.net/~ubuntu-elisp/+archive/ubuntu/ppa on ubuntu 15.04= , which at the moment is "GNU Emacs 25.0.50.2 (x86_64-pc-linux-gnu, GT= K+ Version 3.14.13) of 2015-10-05."

Whenever I = start emacs I get the following warning:

Warn= ing (bytecomp): misplaced interactive spec: =E2=80=98(interactive (let ((ar= gs (find-tag-interactive "[PCRE] Find tag regexp: " t))) (list (r= xt-pcre-to-elisp (nth 0 args)) (nth 1 args) (nth 2 args))))=E2=80=99
<= /div>

The function it refers to looks well defined= :

(defadvice find-tag-regexp
=C2=A0= (before pcre-mode first (regexp &optional next-p other-window) disable= )
=C2=A0 "Read regexp using PCRE syntax and convert to Elisp= equivalent."
=C2=A0 "Perform `find-tag-regexp' usi= ng emulated PCRE regexp syntax."
=C2=A0 (interactive
=C2=A0 =C2=A0(let ((args (find-tag-interactive "[PCRE] Find tag reg= exp: " t)))
=C2=A0 =C2=A0 =C2=A0(list (rxt-pcre-to-elisp (nt= h 0 args))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(nth 1 args) = (nth 2 args)))))

The code I'm refering t= o is=C2=A0https://github.com/joddie/pcre2el/blob/master/pcre2el.el#L967<= /div>

What is funny is that there is another `defadvice&= #39; that follows almost exactly the same pattern right before this one and= the other one doesn't trigger the warning.

Th= is made me do some research and basically I think the problem is in `find-t= ag-regexp':

(defun find-tag-regexp (regex= p &optional next-p other-window)
=C2=A0 "(snip doc)"= ;
=C2=A0 (declare (obsolete xref-find-apropos "25.1"))<= /div>
=C2=A0 (interactive (find-tag-interactive "Find tag regexp: = " t))
=C2=A0 ;; We go through find-tag-other-window to do al= l the display hair there.
=C2=A0 (funcall (if other-window 'f= ind-tag-other-window 'find-tag)
=C2=A0 regexp next-p t))

<= div>
As you can see, it starts with a `declare' form inst= ead of the `interactive' form, and I think it confuses the `defadvice&#= 39;.

Tell me if you need more information.

Thanks in advance,
Philippe

--047d7b5d424052d23b05215b9324-- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 05 20:30:15 2015 Received: (at control) by debbugs.gnu.org; 6 Oct 2015 00:30:15 +0000 Received: from localhost ([127.0.0.1]:55643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjG91-0007Hx-Co for submit@debbugs.gnu.org; Mon, 05 Oct 2015 20:30:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48883) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjG8z-0007Hg-3G for control@debbugs.gnu.org; Mon, 05 Oct 2015 20:30:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjG8y-0001xV-1U for control@debbugs.gnu.org; Mon, 05 Oct 2015 20:30:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjG8x-0001xQ-UP for control@debbugs.gnu.org; Mon, 05 Oct 2015 20:30:11 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZjG8x-0007gM-JH for control@debbugs.gnu.org; Mon, 05 Oct 2015 20:30:11 -0400 Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 05 Oct 2015 20:30:11 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) block 19759 by 21618 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 05 20:56:44 2015 Received: (at 21618) by debbugs.gnu.org; 6 Oct 2015 00:56:44 +0000 Received: from localhost ([127.0.0.1]:55650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjGYd-00011K-Tg for submit@debbugs.gnu.org; Mon, 05 Oct 2015 20:56:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55135) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjGYc-00011D-6v for 21618@debbugs.gnu.org; Mon, 05 Oct 2015 20:56:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjGQd-00017l-PF for 21618@debbugs.gnu.org; Mon, 05 Oct 2015 20:49:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjGQ9-0000z3-G7; Mon, 05 Oct 2015 20:47:57 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZjGQ7-0000tw-Ok; Mon, 05 Oct 2015 20:47:56 -0400 From: Glenn Morris To: Philippe Vaucher Subject: Re: bug#21618: Warning (bytecomp): misplaced interactive spec References: X-Spook: BART Project Monarch rail gun Drug war La Familia X-Ran: Fnmu?t`Li~KQfXHHA`DO$&1M3k6t-Rqc~>j6s11pcivL}xkIeI!y(]&34qKkr1}A4cRWye X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 05 Oct 2015 20:47:55 -0400 In-Reply-To: (Philippe Vaucher's message of "Mon, 5 Oct 2015 15:34:11 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 21618 Cc: 21618@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) I could not reproduce that (there was no recipe from emacs -Q). Doesn't your defadvice have a duplicate doc-string though? Anyway, while trying I noticed that in current master: emacs -Q M-x find-tag-reg TAB -> [no match] whereas in 24.5 it works fine. Same story with eg "mail-complete". May or may not be related, but definitely needs fixing. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 06 02:08:42 2015 Received: (at 21618) by debbugs.gnu.org; 6 Oct 2015 06:08:42 +0000 Received: from localhost ([127.0.0.1]:55827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjLQY-0008Hs-Ap for submit@debbugs.gnu.org; Tue, 06 Oct 2015 02:08:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37831) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjLQX-0008Hl-2P for 21618@debbugs.gnu.org; Tue, 06 Oct 2015 02:08:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjLQW-0002dv-5e for 21618@debbugs.gnu.org; Tue, 06 Oct 2015 02:08:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjLQV-0002d2-35; Tue, 06 Oct 2015 02:08:39 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZjLQT-0006GR-Hh; Tue, 06 Oct 2015 02:08:37 -0400 From: Glenn Morris To: Philippe Vaucher Subject: Re: bug#21618: Warning (bytecomp): misplaced interactive spec References: X-Spook: Ermes nuclear George W. Bush SSL H1N1 Plague Gangs AK-47 X-Ran: 1YmHD;i'rG."{S)CINW>giY$&up+?XZ0|Il#R.b[p[XC)*r{ufM*bhSb[p7jiN"C6}YRC# X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 06 Oct 2015 02:08:37 -0400 In-Reply-To: (Glenn Morris's message of "Mon, 05 Oct 2015 20:47:55 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 21618 Cc: 21618@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Glenn Morris wrote: > emacs -Q > M-x find-tag-reg TAB > -> [no match] > > whereas in 24.5 it works fine. > > Same story with eg "mail-complete". Oh, apparently read-extended-command explicitly excludes obsolete commands now. Seems like a recipe for confusion to me. (d94bc77ec77d) From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 06 02:09:18 2015 Received: (at control) by debbugs.gnu.org; 6 Oct 2015 06:09:18 +0000 Received: from localhost ([127.0.0.1]:55831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjLR8-0008J9-L6 for submit@debbugs.gnu.org; Tue, 06 Oct 2015 02:09:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38088) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjLR7-0008J1-85 for control@debbugs.gnu.org; Tue, 06 Oct 2015 02:09:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjLR6-0002qY-MZ for control@debbugs.gnu.org; Tue, 06 Oct 2015 02:09:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjLR6-0002qT-Ja for control@debbugs.gnu.org; Tue, 06 Oct 2015 02:09:16 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZjLR6-0006N3-4k for control@debbugs.gnu.org; Tue, 06 Oct 2015 02:09:16 -0400 Subject: control message for bug 19759 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 06 Oct 2015 02:09:16 -0400 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) unblock 19759 by 21618 From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 06 03:12:29 2015 Received: (at 21618) by debbugs.gnu.org; 6 Oct 2015 07:12:29 +0000 Received: from localhost ([127.0.0.1]:55886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjMQG-0002tL-Vw for submit@debbugs.gnu.org; Tue, 06 Oct 2015 03:12:29 -0400 Received: from mail-ob0-f180.google.com ([209.85.214.180]:35548) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjMQF-0002tD-8H for 21618@debbugs.gnu.org; Tue, 06 Oct 2015 03:12:27 -0400 Received: by obbzf10 with SMTP id zf10so147315298obb.2 for <21618@debbugs.gnu.org>; Tue, 06 Oct 2015 00:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=FdLuc5lH9n+9s8d0KWgcBcBJHEyT2Q7UoCJ5FVnP0xc=; b=aOUlFGoF0bCUlUcn9AEiWy5KbOEfCx8fgRhhETWAyC8jgxP/JsyWz1Hfq5x/kctgTY gNilwqCIRdAJZp8Nj8OIJUBdI+WAbgBvsjLfLhSQiX7/VXKDz/uWliTQkxDmgmTC7Nbc 6pOYB//9zUMbdbpyXENl7piKkCWHlwcKymgyHHfvL8WdMalaA/zodlFYeY3w2znZHBox e4QuHM8wPIUdLwfLXAC7WjA4FE3MHQexwy53I3uriYxp1C89aGwGlfCWagI0sTSKQrBc Lq/8vzW+bH43mJF4eHh5rhnni5G5Tsj432N+vJfZp4SSvc6FJvJUYK6QPwkxC0BZXUOS Vg7A== X-Received: by 10.182.114.132 with SMTP id jg4mr18670201obb.31.1444115546854; Tue, 06 Oct 2015 00:12:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.209.201 with HTTP; Tue, 6 Oct 2015 00:11:57 -0700 (PDT) In-Reply-To: References: From: Philippe Vaucher Date: Tue, 6 Oct 2015 09:11:57 +0200 Message-ID: Subject: Re: bug#21618: Warning (bytecomp): misplaced interactive spec To: Glenn Morris Content-Type: multipart/alternative; boundary=001a11c329a22f5b6805216a5a52 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21618 Cc: 21618@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11c329a22f5b6805216a5a52 Content-Type: text/plain; charset=UTF-8 I could not reproduce that (there was no recipe from emacs -Q). > Doesn't your defadvice have a duplicate doc-string though? > Thanks for your answer. Here's an "emacs -Q" way of reproducing: wget https://raw.githubusercontent.com/joddie/pcre2el/master/pcre2el.el emacs -Q pcre2el.el --eval '(progn (load-library "etags")(eval-buffer)(pcre-mode)(switch-to-buffer "*Compile-Log*"))' This should switch you to the buffer with the warning. Thanks, Philippe --001a11c329a22f5b6805216a5a52 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


I could not reproduce that (there was no recipe from e= macs -Q).
Doesn't your defadvice have a duplicate doc-string though?

Thanks for your answer. Here's an "emacs -= Q" way of reproducing:

ema= cs -Q pcre2el.el --eval '(progn (load-library "etags")(eval-b= uffer)(pcre-mode)(switch-to-buffer "*Compile-Log*"))'

This should switch you to the buffer with the warning= .

Thanks,
Philippe
--001a11c329a22f5b6805216a5a52-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 06 08:39:26 2015 Received: (at 21618) by debbugs.gnu.org; 6 Oct 2015 12:39:26 +0000 Received: from localhost ([127.0.0.1]:56078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjRWg-0003Ui-Ee for submit@debbugs.gnu.org; Tue, 06 Oct 2015 08:39:26 -0400 Received: from mail-ob0-f178.google.com ([209.85.214.178]:33052) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjRWe-0003Ua-Ua for 21618@debbugs.gnu.org; Tue, 06 Oct 2015 08:39:25 -0400 Received: by obbbh8 with SMTP id bh8so152593471obb.0 for <21618@debbugs.gnu.org>; Tue, 06 Oct 2015 05:39:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=JDEjg7uSXU/PS4XiGPwz7jIcHcLtFDZZXnX5YZdRwj4=; b=Jp9liELSpGepl1TDvCl5J5nkDBqkLLosfq6wDrmQB+bPBhtK+6PWjy6tjVK3PZLqau zmygTl1I300ZikbH5Tte2ZZCUG1Caebw8HV2UwNgcEAJmRoqATkwmYUPiQ3DwMOVHn2d j5CJq4perOhedReW7/mjU+BEjB0dKuveWNcQZKpguX7C5jnH4BAoCNkYnxhavytJ/cj+ b/dddRS4b+QAedRb/v/M9k907eQ1BFDH6s97eK5m8LyY/1djSjRxe1HERJPcs/YujDEO L209ja/VNqWpBKAOmCJv6T4f0rlUARvSV8jiqUqOOYuyZVdC6EznjrEGgjXFoKfN2oQg TCpw== X-Received: by 10.182.204.4 with SMTP id ku4mr18246293obc.82.1444135164287; Tue, 06 Oct 2015 05:39:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.209.201 with HTTP; Tue, 6 Oct 2015 05:38:54 -0700 (PDT) In-Reply-To: References: From: Philippe Vaucher Date: Tue, 6 Oct 2015 14:38:54 +0200 Message-ID: Subject: Re: bug#21618: Warning (bytecomp): misplaced interactive spec To: Glenn Morris Content-Type: multipart/alternative; boundary=e89a8ff2528a79a1b505216eeb9f X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21618 Cc: 21618@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --e89a8ff2528a79a1b505216eeb9f Content-Type: text/plain; charset=UTF-8 > > Doesn't your defadvice have a duplicate doc-string though? > Hey, you're right! If I fix the "double string" typo then the warning goes away. Thanks for noticing, as far as I'm concerned this problem is solved... maybe the warning could be more explicit tho. Philippe --e89a8ff2528a79a1b505216eeb9f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Doesn't your defadvice have a duplicate doc-= string though?

Hey, you're right! I= f I fix the "double string" typo then the warning goes away.

Thanks for noticing, as far as I'm concerned this = problem is solved... maybe the warning could be more explicit tho.
Philippe=C2=A0
--e89a8ff2528a79a1b505216eeb9f-- From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 06 12:38:49 2015 Received: (at control) by debbugs.gnu.org; 6 Oct 2015 16:38:49 +0000 Received: from localhost ([127.0.0.1]:57307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjVGK-0002Pk-M5 for submit@debbugs.gnu.org; Tue, 06 Oct 2015 12:38:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56506) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZjVGJ-0002PV-Cp for control@debbugs.gnu.org; Tue, 06 Oct 2015 12:38:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZjVGD-0006GA-QU for control@debbugs.gnu.org; Tue, 06 Oct 2015 12:38:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([208.118.235.10]:44192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZjVGD-0006G6-NK for control@debbugs.gnu.org; Tue, 06 Oct 2015 12:38:41 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ZjVGD-0001Iw-E6 for control@debbugs.gnu.org; Tue, 06 Oct 2015 12:38:41 -0400 Subject: control message for bug 21618 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 06 Oct 2015 12:38:41 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.10 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tag 21618 notabug close 21618 From unknown Sat Aug 09 14:05:12 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 04 Nov 2015 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator