From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#25941: 26.0.50; Different code behavior between using the auto-compiled and evaled versions Date: Thu, 09 Mar 2017 16:31:26 +0000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113ef44a78daa2054a4ec7a2 X-Trace: blaine.gmane.org 1489077144 31794 195.159.176.226 (9 Mar 2017 16:32:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Mar 2017 16:32:24 +0000 (UTC) To: 25941@debbugs.gnu.org, Vibhav Pant , Oleh Krehel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 09 17:32:15 2017 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 1cm0z5-00072p-PV for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 17:32:12 +0100 Original-Received: from localhost ([::1]:35075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm0zB-0000j0-RG for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 11:32:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm0yz-0000im-C2 for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2017 11:32:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cm0yw-0005Ct-6r for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2017 11:32:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cm0yw-0005Cn-3J for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2017 11:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cm0yv-00040x-TR for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2017 11:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Mar 2017 16:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25941 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25941-submit@debbugs.gnu.org id=B25941.148907710615409 (code B ref 25941); Thu, 09 Mar 2017 16:32:01 +0000 Original-Received: (at 25941) by debbugs.gnu.org; 9 Mar 2017 16:31:46 +0000 Original-Received: from localhost ([127.0.0.1]:47919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm0yf-00040T-OU for submit@debbugs.gnu.org; Thu, 09 Mar 2017 11:31:45 -0500 Original-Received: from mail-ua0-f182.google.com ([209.85.217.182]:33544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm0ye-00040E-4j for 25941@debbugs.gnu.org; Thu, 09 Mar 2017 11:31:44 -0500 Original-Received: by mail-ua0-f182.google.com with SMTP id u30so86959557uau.0 for <25941@debbugs.gnu.org>; Thu, 09 Mar 2017 08:31:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=U0AhDRHIXpWfiehmft003gPtiNGWamtdN/b0hpfC8y8=; b=bcGdm+F2zHrCZaiNJ4D0/OW6gnXHleJS5ctWKy7CiX1abwqwiSerfSJBS2IASgmZhd VYwkrXtnTVG+IJdpxUIVH/IoRqxljNtyko8FbWd6mr8VCuGoP9MoOUaODfHhJqEucZUJ 2b3G+91PRDsePkLVHh4WeYdOW1A9zgJDNlGEFlSdakarbViOf4gYiH2qKg43yNhcv5Ir qc6xdRwy7Qf+wIXvhbeBz+3os67MvD063d0J+zicDmOsFFLDAVaQ+/9aYkbQdN0XJBG7 ZOWEJwBF6ovb/0Vpwo5PR1iV1dL9wLrxUijXzi9p9/jQD7+j0wm7TGnNKCoWSAk2OtVA HiyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=U0AhDRHIXpWfiehmft003gPtiNGWamtdN/b0hpfC8y8=; b=MmG9HcVK84wpm/mEaiZW8kWzryCB79NP+4Bsu3GFkpBgttPKDZYverAV/SF1wZLUE3 sk9JUKUBet3XzFJNOuiaFlWYV76AvkZB6DBNxwpSZ8dhjwvqlnkGjXT98Ky31kLULFAq YMySnt5IVmNS/z6bodFDN0Z9J4g/5+hVMasYAYaZrLnoPERRy36mZ9p1EdyGTAYEewH3 9yJIHJOgttkBt2fbxa7MDQzCndFOtdNKagRelkMEjGFutYoi2ZyHFlYnMaIzvlXiuWKa NkD020uqU/MATWBijRfK0hW/EhmjYKXeBn05Cn3qvxY63eft9fxvY5MkeU9WSMTP2Z9f G+qw== X-Gm-Message-State: AMke39mQdCCoAbVRj5ezvAqksdfkV+WEp3XDZCmf5ATLztxgNl9x/2S2gKrNAXai3XS8Az7bCmGcP5U0Nvl5gA== X-Received: by 10.31.41.76 with SMTP id p73mr7357771vkp.94.1489077098041; Thu, 09 Mar 2017 08:31:38 -0800 (PST) In-Reply-To: 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:130375 Archived-At: --001a113ef44a78daa2054a4ec7a2 Content-Type: text/plain; charset=UTF-8 Hi Vibhav, This issue seems to be related to the switch bytecode change. Can you please review it. The code snippet in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25941#5 returns t on emacs 25.2 but nil on emacs master. That is messing up the avy-goto-line function (avy package). avy--process does contain the cond form which is affected by the switch bytecode change. If I delete the .elc, the issue goes away. On Fri, Mar 3, 2017 at 7:12 AM Kaushal Modi wrote: > Here's a set of updates that could probably help trace the problem: > > - I rebuilt emacs from master using make bootstrap, but the problem > persists. > - I see the problem when I do "M-x avy-goto-line 10" but not when I do > "M-: (avy-goto-line 10)". So the bug triggers only during interactive > execution? > > A workaround for now is to delete the avy.elc file. > > Does the avy--process code not work well with the recently byte compiler > incompatibility in the master branch? > -- > > Kaushal Modi > -- Kaushal Modi --001a113ef44a78daa2054a4ec7a2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Vibhav,=C2=A0

This issue seems to be= related to the switch bytecode change.

Can you pl= ease review it.

The code snippet in=C2=A0https://debbug= s.gnu.org/cgi/bugreport.cgi?bug=3D25941#5=C2=A0returns t on emacs 25.2 = but nil on emacs master. That is messing up the avy-goto-line function (avy= package).

avy--process does contain the cond form= which is affected by the switch bytecode change.

= If I delete the .elc, the issue goes away.

On Fri, Mar 3, 2017 at 7:12 AM Kaushal Modi <kaushal.modi@gmail.com> wrote:
= Here's a set of updates that could probably help trace the problem:
- I rebuilt emacs from master using make bootstrap, but the problem persis= ts.
- I see the problem when I do "M-x a= vy-goto-line 10" but not when I do "M-: (avy-goto-line 10)".= So the bug triggers only during interactive execution?

A workaro= und for now is to delete the avy.elc file.
Does the avy--process = code not work well with the recently byte compiler incompatibility in the m= aster branch?
--

Kaushal Modi

--

Kaushal Modi

--001a113ef44a78daa2054a4ec7a2--