GNU bug report logs - #41745
28.0.50; problem with json file and which-function on pretest an master

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Andrés Ramírez <rrandresf@HIDDEN>; dated Sun, 7 Jun 2020 04:13:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 41745 <at> debbugs.gnu.org:


Received: (at 41745) by debbugs.gnu.org; 7 Jun 2020 19:28:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 07 15:28:24 2020
Received: from localhost ([127.0.0.1]:54957 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ji0y0-0000cV-Lm
	for submit <at> debbugs.gnu.org; Sun, 07 Jun 2020 15:28:24 -0400
Received: from mail-qt1-f177.google.com ([209.85.160.177]:33806)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rrandresf@HIDDEN>) id 1ji0xy-0000cG-LR
 for 41745 <at> debbugs.gnu.org; Sun, 07 Jun 2020 15:28:23 -0400
Received: by mail-qt1-f177.google.com with SMTP id u17so13090199qtq.1
 for <41745 <at> debbugs.gnu.org>; Sun, 07 Jun 2020 12:28:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:in-reply-to:organization:references:date
 :message-id:mime-version;
 bh=ptXL6sM/vHlW4v0Uji87p6zkqbhYphFpERRLsSI2MxU=;
 b=HDIsBdFL2xB/JXEGQhX26PcWY8lWgE2E4ROnMZuKH1NyussDivaZ7PfJQbcFzAhiOX
 pqj4m6CizVexoNNjClEvYHKYssODLIAcDErWZ8IaAXIPYkWlVNbViQDIixsdwctmMZ9f
 Zzqv8aeNOeIT2gRvW7Q/sTYGeZe29XdbikfITN1vh6NPFsQD5z2cHF1ZohfMcZli9KwS
 qbh3WtVgUuaXML3E+aNPvCIYl2bJ4NmTtzEoRUNCQCQTVVJOH96Ud88XKskuSB2ckny6
 8akW+tLtxu+o9rrrz7i7NUFzPMRD9/IzNFH91Z7zLPh2G+8SMrf/o8h3ZBocarJUM/H9
 PifA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:in-reply-to:organization
 :references:date:message-id:mime-version;
 bh=ptXL6sM/vHlW4v0Uji87p6zkqbhYphFpERRLsSI2MxU=;
 b=W6QRHRo5LyYxMvcIMO8vzLOruesvwggHqhxNg1Pac/BqVapvzeIxuNlLMhO8pOkD9Y
 x+U9NgmjGCDeS2gV4mCHttcvonDzzFB5FXS4HYhodzTYKRhAVufdD7M1BD521inGKCaj
 +elCKlFIZ73FFfPSr7DrRPkC04ptjHsxamygF8Dacpf2PNp0UmQuDGIdtAus4aR5BTz3
 0GyCdWewU6i55GjCrMaQYSo0mZt/WWuak5AbuAkZ5mK2GhrkUkRP3VhJbPD0n16CdxUG
 AJvYhlmNSXrUI/TpRZGCP4eLxSKF5WQNpNIUmEZU56JtxaeLv0SxbgIWsYspWg4qmeog
 ZZcA==
X-Gm-Message-State: AOAM533eb0/h1qXPqWA01jibaGNiKCIXrE0JI2TTjCxwVpJ3j/n5yvWL
 oztraCKwDpX3u9pfo5PThmM=
X-Google-Smtp-Source: ABdhPJzzYeKEpF1qzmE/Gfs91U9Ncke5ETc/AfRY0py0idQ6k0T+ur7ljEzVFI2xVxY9pamiaV3DvA==
X-Received: by 2002:aed:3f55:: with SMTP id q21mr20110650qtf.190.1591558097085; 
 Sun, 07 Jun 2020 12:28:17 -0700 (PDT)
Received: from sacsa.n800.arm.processor.yandex.fm ([190.236.255.173])
 by smtp.gmail.com with ESMTPSA id z4sm5865945qtu.33.2020.06.07.12.28.15
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 07 Jun 2020 12:28:16 -0700 (PDT)
From: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= <rrandresf@HIDDEN>
To: "Basil L. Contovounesios" <contovob@HIDDEN>
Subject: Re: bug#41745: 28.0.50; problem with json file and which-function
 on pretest an master
In-Reply-To: <87mu5epu6b.fsf@HIDDEN>
Organization: bien.comun.org
References: <86tuznms4b.fsf@HIDDEN> <87eeqr3w0d.fsf@HIDDEN>
 <86wo4iq0zy.fsf@HIDDEN> <87y2oy2125.fsf@HIDDEN>
 <86tuzmpuwb.fsf@HIDDEN> <87mu5epu6b.fsf@HIDDEN>
X-Attribution: INKA
Date: Sun, 07 Jun 2020 19:28:12 +0000
Message-ID: <86sgf6ptf7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 41745
Cc: 41745 <at> debbugs.gnu.org, dgutov@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi. Basil.

>>>>> "Basil" == Basil L Contovounesios <contovob@HIDDEN> writes:


    Basil> If it's not a syntax that js-mode officially supports, then the fact that it worked in
    Basil> 26.3 is just a happy coincidence, and not something that has to be maintained.

Right. You have a point.

    Basil> Unless you or someone else can confirm that this is supported syntax, I don't see a bug
    Basil> here.  The reason I'm not sure is because I'm not familiar with js-mode and the different
    Basil> flavours of JS-like syntax that are meant to be supported.

Then I see two paths:

1. Dismiss the bug support. Because this is a feature not a bug.
2. Find a way to inhibit it. Cos It just triggers a message when doing
the bacward-delete-char. Perhaps with a var.

Thanks for working on this. Feel free to close this report in case of number 1.

Best Regards and sorry for the noise




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#41745; Package emacs. Full text available.

Message received at 41745 <at> debbugs.gnu.org:


Received: (at 41745) by debbugs.gnu.org; 7 Jun 2020 19:12:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 07 15:12:05 2020
Received: from localhost ([127.0.0.1]:54897 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ji0iD-00009W-C4
	for submit <at> debbugs.gnu.org; Sun, 07 Jun 2020 15:12:05 -0400
Received: from mail-wr1-f49.google.com ([209.85.221.49]:45623)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contovob@HIDDEN>) id 1ji0iB-000092-T6
 for 41745 <at> debbugs.gnu.org; Sun, 07 Jun 2020 15:12:04 -0400
Received: by mail-wr1-f49.google.com with SMTP id c3so15069718wru.12
 for <41745 <at> debbugs.gnu.org>; Sun, 07 Jun 2020 12:12:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tcd-ie.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=SSQfIaRRnckgR4IZPTLzKaSbSPdHcLwThheT2XiQ55c=;
 b=XtxFeLSvFQ4re0x7VeFiCXWQd7OvOXLucuJv51tkUoHyT/um++OUFG62oAZq7qkf2D
 XqaCjSHE3uriMbSWaBk9EFCp1G5BUshs1bDzSoByDxx2A1ugME4u/UIbQ6FRTDiLgYAK
 5DpNnQv9oAOKkusUw/qZBkx5grBBtDIMFOAokuCaWFgO5h5DugRAc1iXqwL6w1kEJw5g
 ximkBLnTv0wMr5bn75mj8UbbJHM59Qg9P3rES6P2+ZUuxi1UAMK9OCAAy4ObTmu4Adsx
 hxwrE4ocMiY//CYvQqBLo84MXkr3Vdat72g49Z1oAC712W25yFibmJqq30vPIq1cYtFI
 X9xQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=SSQfIaRRnckgR4IZPTLzKaSbSPdHcLwThheT2XiQ55c=;
 b=omnCYeDkbJxBXgKGsw7bY06JXkhhfo9og+VENKeelzY6K6omkVQispNODUKGd1yENL
 3HmExEhRX7x8Znmx3iQJtrMkB3vKabInEopSy8ox+KP78WRPdFBq/TQRkXmrWPpFthHm
 LY3eNPyXttvUL0dxO5W6yHnFfqJWpvgAMPNSbK42/yg/hPFulCxfNEu8KkjeS3uL1KdG
 8KVfZuW/oSc947nwYzpP0yTBDn7XoO8I9S21N1L9pV1ZPtxAF6xVXN3tcCexNccXSgcH
 lqMivoMYK4Ua9+SBEc1yyqF46H/Q8AIp8UBimpZEM4vX21KPoA0VZb5qbXENefmRHF8w
 NmKA==
X-Gm-Message-State: AOAM531GFfnDWNtNWaIp03xXq8P9NkjsQEzuMBPIifGL8jIq6g2VAx/U
 DGwhgIDEGabCs0MukKVAMdT28w==
X-Google-Smtp-Source: ABdhPJw+YygeqQj7mENIDfYTzDh3BQjzii7skgr13k+cIEib/M0GrUnMoamqOakmLqhCiGUIWrvd/g==
X-Received: by 2002:a5d:6085:: with SMTP id w5mr19688691wrt.322.1591557118136; 
 Sun, 07 Jun 2020 12:11:58 -0700 (PDT)
Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2])
 by smtp.gmail.com with ESMTPSA id 30sm21218556wrd.47.2020.06.07.12.11.57
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 07 Jun 2020 12:11:57 -0700 (PDT)
From: "Basil L. Contovounesios" <contovob@HIDDEN>
To: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= <rrandresf@HIDDEN>
Subject: Re: bug#41745: 28.0.50; problem with json file and which-function
 on pretest an master
References: <86tuznms4b.fsf@HIDDEN> <87eeqr3w0d.fsf@HIDDEN>
 <86wo4iq0zy.fsf@HIDDEN> <87y2oy2125.fsf@HIDDEN>
 <86tuzmpuwb.fsf@HIDDEN>
Date: Sun, 07 Jun 2020 20:11:56 +0100
In-Reply-To: <86tuzmpuwb.fsf@HIDDEN> (=?utf-8?Q?=22andr=C3=A9s_ram?=
 =?utf-8?Q?=C3=ADrez=22's?= message of "Sun,
 07 Jun 2020 18:56:20 +0000")
Message-ID: <87mu5epu6b.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 41745
Cc: 41745 <at> debbugs.gnu.org, dgutov@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

andr=C3=A9s ram=C3=ADrez <rrandresf@HIDDEN> writes:

>>>>>> "Basil" =3D=3D Basil L Contovounesios <contovob@HIDDEN> writes:
>
>     Basil> So it's a custom syntax?  Then why do you expect js-mode to su=
pport it?
>
> Because It was working on the previous version 26.3.

If it's not a syntax that js-mode officially supports, then the fact
that it worked in 26.3 is just a happy coincidence, and not something
that has to be maintained.

Unless you or someone else can confirm that this is supported syntax, I
don't see a bug here.  The reason I'm not sure is because I'm not
familiar with js-mode and the different flavours of JS-like syntax that
are meant to be supported.

--=20
Basil




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#41745; Package emacs. Full text available.

Message received at 41745 <at> debbugs.gnu.org:


Received: (at 41745) by debbugs.gnu.org; 7 Jun 2020 18:56:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 07 14:56:34 2020
Received: from localhost ([127.0.0.1]:54871 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ji0TB-0008C5-Tk
	for submit <at> debbugs.gnu.org; Sun, 07 Jun 2020 14:56:34 -0400
Received: from mail-qt1-f178.google.com ([209.85.160.178]:44307)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rrandresf@HIDDEN>) id 1ji0T8-0008Bo-BM
 for 41745 <at> debbugs.gnu.org; Sun, 07 Jun 2020 14:56:32 -0400
Received: by mail-qt1-f178.google.com with SMTP id c12so12983728qtq.11
 for <41745 <at> debbugs.gnu.org>; Sun, 07 Jun 2020 11:56:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:in-reply-to:organization:references:date
 :message-id:mime-version;
 bh=Op0F9x2Yyi063JxqHLqWODdh5Q5+2zr9g6+Z/7IYDOI=;
 b=I7Hzg+8AIVywKK6D5+X2WKMdT+6UlJJ0cdkYL8v/xLaZtaKgqJu+9AAbBBtdcSzN0G
 G+y1VYvhMMOSkasvXn2ZmZ3BEtXAJ17WRAmECHWbyGkDpaanmoq5q0qQG/HD0L/otHTB
 WuKS1nZ96fqZDr5OsNAkg12nP5vjPn1q7z1UJJFn65+GIoF9MAYIx7hL9Y+i/OvRXZep
 I5ZrVkFx2Teitr6gav5w5fnnXXR2f6AyBkZSo19rhTngiZIZOlnyf4WMiw+AFR6fjTOK
 JKS1LRy+8MEtFsHsFeNUYMIvZp+CWaEN+netvIG4fBPEBtMuP/Ech4d88VNeL81v7F7s
 t4Cg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:in-reply-to:organization
 :references:date:message-id:mime-version;
 bh=Op0F9x2Yyi063JxqHLqWODdh5Q5+2zr9g6+Z/7IYDOI=;
 b=Xvy7Qmx13JAAnuDfIIFGh2fUkVoQzYS0dRVzl0FedOK5ezQOizND03k+rk5Vu3gcLj
 Ah1g7O1wtvx3wkK8jETkNxEwkInBd3EWirNCVdjYQRnd4bNvA95f5fG0VQmNVE8hnhyB
 YSHo0hiE1VOBUT3gOWxx69QwczBU5cydw40Mr7oa5cd9/C9me/tuntdzTdQX/5UwB+7g
 2t47Yj5ZeRSCkmBnvgHD1P2PvQIpSDB8hrFpuI3YQqMVUyYz5vK8nGFTjZUbnTmUr9uU
 HSSpMCZ5Ofesl9nTZUkkq9+dWOMTAUykwYI1yLxzbj8vo/Qc9GhATp4bLqqfBPDwt4vx
 L5wQ==
X-Gm-Message-State: AOAM531u3q3c+3gKOcqZeqJFOlCn4Uq+s9zJyOHz8Nvg7TrkBXC8kLl2
 N3diCBRAqJUD9zP1JM5TtZY=
X-Google-Smtp-Source: ABdhPJz5A56dvEQCGz9+CgC+/Sz10J/PSdO7POva1Cx0AsSy2gVoCHOxYsLmU30kTDeafk75b5z46g==
X-Received: by 2002:ac8:34d0:: with SMTP id x16mr20421654qtb.300.1591556184812; 
 Sun, 07 Jun 2020 11:56:24 -0700 (PDT)
Received: from sacsa.n800.arm.processor.yandex.fm ([190.236.255.173])
 by smtp.gmail.com with ESMTPSA id g13sm4899531qki.95.2020.06.07.11.56.22
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 07 Jun 2020 11:56:24 -0700 (PDT)
From: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= <rrandresf@HIDDEN>
To: "Basil L. Contovounesios" <contovob@HIDDEN>
Subject: Re: bug#41745: 28.0.50; problem with json file and which-function
 on pretest an master
In-Reply-To: <87y2oy2125.fsf@HIDDEN>
Organization: bien.comun.org
References: <86tuznms4b.fsf@HIDDEN> <87eeqr3w0d.fsf@HIDDEN>
 <86wo4iq0zy.fsf@HIDDEN> <87y2oy2125.fsf@HIDDEN>
X-Attribution: INKA
Date: Sun, 07 Jun 2020 18:56:20 +0000
Message-ID: <86tuzmpuwb.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 41745
Cc: 41745 <at> debbugs.gnu.org, dgutov@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Basil.
>>>>> "Basil" == Basil L Contovounesios <contovob@HIDDEN> writes:


    Basil> So it's a custom syntax?  Then why do you expect js-mode to support it?

Because It was working on the previous version 26.3.

Best Regards




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#41745; Package emacs. Full text available.

Message received at 41745 <at> debbugs.gnu.org:


Received: (at 41745) by debbugs.gnu.org; 7 Jun 2020 18:17:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 07 14:17:19 2020
Received: from localhost ([127.0.0.1]:54850 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jhzr9-00056G-U7
	for submit <at> debbugs.gnu.org; Sun, 07 Jun 2020 14:17:19 -0400
Received: from mail-wm1-f51.google.com ([209.85.128.51]:54296)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contovob@HIDDEN>) id 1jhzr8-00055x-18
 for 41745 <at> debbugs.gnu.org; Sun, 07 Jun 2020 14:17:15 -0400
Received: by mail-wm1-f51.google.com with SMTP id g10so13151539wmh.4
 for <41745 <at> debbugs.gnu.org>; Sun, 07 Jun 2020 11:17:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tcd-ie.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=Ukz5FR0vzruZzUYLDwoThJHkkTGTo0oAeoDs9+A1zRQ=;
 b=I/jtQMkpP/pHfFUL5nzyNHq3C7vlTSoUnxdykIMWrZ1fBTeHbusHxEimwv0TqZEnxI
 sFtKFkDs8h1cYqyWGGZnw0t7bMWpoSom/unrpTzNvp3xt48oKgH/j4Ck2GjD5S4NXHEP
 tRlP4n5YgOXPZEBuzryu/sV1JiZ+4K5IqH7vXTn+AzOOiB1qlyxVo7XcMZfbrdt1Z6Yd
 wr0T2fqe3LFhnn91HutLxzcV7f4YvoJMht3frFniPSMrjjVq1zbsLlFpubTMb9R7QxtY
 VGS/muuHilXYvHrNv2jfJnK4wRIJV7hEVF1S5Ag95ifCsxd8CfquXNIir60PHMvPh28C
 UquA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=Ukz5FR0vzruZzUYLDwoThJHkkTGTo0oAeoDs9+A1zRQ=;
 b=j37KFC6Dvqok48snLmLf1YuRKDr8ulxXIph3qyVdC18DjvcOZMdqhoXvCen3Nl+C8o
 tbioLHqHOhOwHOwMk6apuxd1d0rwWrn8qSNhfelvPct3einKc6t8Hom/LZiVpl1/pfPH
 6CmjPalacK1ovP9VzvyYDcV8Gx6gWZElmOqnTlrVY/SxFKbqxhc+4aq8V5H+AK95FNwP
 SmW7/DgEW7Cvy6JJjKuMwkpzy4PuFAEHPK3Mp8CR1BnhGHKsnL6tKYE3zekArF6ntLNX
 I5J0+renhFe8O6TUDCvBKEZaJiYD+iEr8BMCV+K4soR+LhZO031p5Bfs//QwQjm5RUCv
 bs8w==
X-Gm-Message-State: AOAM532gmgfbmGqTO0NovwhrM0NX9AXsWXvyJFR9B21SlnIsNPoTnfQ5
 dox2zmwRPzeNEdum8Bi4TvRCoQ==
X-Google-Smtp-Source: ABdhPJyEgUwMpXveSbCtcWSgJLcIjYm5eAkaY6mMoHBwReCPk5LjWl7XQjIrq1nA33Nu9hIANvmx2w==
X-Received: by 2002:a1c:6884:: with SMTP id
 d126mr12810316wmc.121.1591553828197; 
 Sun, 07 Jun 2020 11:17:08 -0700 (PDT)
Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2])
 by smtp.gmail.com with ESMTPSA id c6sm20993698wro.92.2020.06.07.11.17.07
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 07 Jun 2020 11:17:07 -0700 (PDT)
From: "Basil L. Contovounesios" <contovob@HIDDEN>
To: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= <rrandresf@HIDDEN>
Subject: Re: bug#41745: 28.0.50; problem with json file and which-function
 on pretest an master
References: <86tuznms4b.fsf@HIDDEN> <87eeqr3w0d.fsf@HIDDEN>
 <86wo4iq0zy.fsf@HIDDEN>
Date: Sun, 07 Jun 2020 19:17:06 +0100
In-Reply-To: <86wo4iq0zy.fsf@HIDDEN> (=?utf-8?Q?=22andr=C3=A9s_ram?=
 =?utf-8?Q?=C3=ADrez=22's?= message of "Sun,
 07 Jun 2020 16:44:33 +0000")
Message-ID: <87y2oy2125.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 41745
Cc: 41745 <at> debbugs.gnu.org, dgutov@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

andr=C3=A9s ram=C3=ADrez <rrandresf@HIDDEN> writes:

>>>>>> "Basil" =3D=3D Basil L Contovounesios <contovob@HIDDEN> writes:
>
>     Basil> I'm confused; are these the entire contents of the file sale_l=
ine_grammar.json that is
>     Basil> mentioned in the backtrace?
>
> Yes. It is the entire content.
>
>     Basil> Is this some sort of templating syntax that is replaced with
>     Basil> valid JSON later on?
>
> Yes. It is. I have a parser(yacc|bison) that does the job.

So it's a custom syntax?  Then why do you expect js-mode to support it?

--=20
Basil




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#41745; Package emacs. Full text available.

Message received at 41745 <at> debbugs.gnu.org:


Received: (at 41745) by debbugs.gnu.org; 7 Jun 2020 16:53:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 07 12:53:58 2020
Received: from localhost ([127.0.0.1]:54822 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jhyYX-000371-SL
	for submit <at> debbugs.gnu.org; Sun, 07 Jun 2020 12:53:58 -0400
Received: from mail-qt1-f179.google.com ([209.85.160.179]:40797)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rrandresf@HIDDEN>) id 1jhyYV-00036o-LO
 for 41745 <at> debbugs.gnu.org; Sun, 07 Jun 2020 12:53:56 -0400
Received: by mail-qt1-f179.google.com with SMTP id i16so12842170qtr.7
 for <41745 <at> debbugs.gnu.org>; Sun, 07 Jun 2020 09:53:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:in-reply-to:organization:references:date
 :message-id:mime-version;
 bh=6+wlkbWdM8+0Bx30v9Ei/30ZuHPztLBTwo8JwzV2NzM=;
 b=gPPdmez0xZAhbpRFkuEpJwB3UHzlvRKvROppwWIBE5GHIstLfz9yfmwH4PeT2Cwmss
 d5/oCU0n1UpBasPFwjN13uszMagEBgF6DZeQA7zKYIYawVIPGfc2+jH2sGgK2tvS6abW
 foElBUIoae1HOuD6AqlFqrFWmzKADTKB++p0LbqA9+OJVGuQ0FRHzLb9Q9ClxZHk3xME
 SylIUnScebUMlFUWVBZvbmRTTM296BYW1jRN0JJ2ColhRvDxxOWnnET3/SHWGOGjULni
 /Dr5SFXU3h1VW97xCexQxJHqXNNkJLfIAw7teUN+/bk2He2l1vc2GmG1rsZbY4E5fhOT
 Hicg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:in-reply-to:organization
 :references:date:message-id:mime-version;
 bh=6+wlkbWdM8+0Bx30v9Ei/30ZuHPztLBTwo8JwzV2NzM=;
 b=JZSOmHQWB36QCbhNA8pkZDvaJ54Ko4qf9PaLCjEOVNEMCRyDI81Gjqj+tZDhXW9nbn
 WWXrc28yXkbi/39TNgeRpjhsyBdY1dOr9is6JWe8bRB5vBMGPzLvB7aeFVWACgTawf+7
 b287LchSi0fvNYwS8sMD9dZdLR/Rs5sIvxM3k13IGBiZat5V64P/7SxAZTVnQZlmQbKK
 KHsSh4gNl5ILsag/Mh0S/Mae81rQQASb8Mk/N9CHoU2X19AxEcuoMtWPinotSgi6THhh
 EAJ45G2Xp96aLynN711evw3rcV04RwNtWEwaYImwRvJUB4c23EGFa2XYbywnc/yr5P+d
 mysg==
X-Gm-Message-State: AOAM530W8L5f5RjeXgOIrIYdwHcXnSPZE4Sarb/YjJTr6B1jF081/5jY
 ha/2UZDHiMLmVmfErE2Av8mSLnb0
X-Google-Smtp-Source: ABdhPJw8Ck4QDcqZjXMKqZLP+DaLvIqfYSXiiuHcCG9S3He8FWq4o8JaZh9RqOA1yc867eUHTtCXDQ==
X-Received: by 2002:ac8:11d:: with SMTP id e29mr20132902qtg.182.1591548829809; 
 Sun, 07 Jun 2020 09:53:49 -0700 (PDT)
Received: from sacsa.n800.arm.processor.yandex.fm ([190.236.255.173])
 by smtp.gmail.com with ESMTPSA id i14sm4690379qkl.105.2020.06.07.09.53.47
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 07 Jun 2020 09:53:48 -0700 (PDT)
From: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= <rrandresf@HIDDEN>
To: "Basil L. Contovounesios" <contovob@HIDDEN>
Subject: Re: bug#41745: 28.0.50; problem with json file and which-function
 on pretest an master
In-Reply-To: <875zc252i0.fsf@HIDDEN>
Organization: bien.comun.org
References: <86tuznms4b.fsf@HIDDEN> <87eeqr3w0d.fsf@HIDDEN>
 <e9e514af-4cff-9138-2c46-883e3d4af02d@HIDDEN>
 <875zc252i0.fsf@HIDDEN>
X-Attribution: INKA
Date: Sun, 07 Jun 2020 16:53:45 +0000
Message-ID: <86v9k2q0km.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 41745
Cc: 41745 <at> debbugs.gnu.org, Dmitry Gutov <dgutov@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Basil. Hi Dmitry.

>>>>> "Basil" == Basil L Contovounesios <contovob@HIDDEN> writes:

    Basil> Dmitry Gutov <dgutov@HIDDEN> writes:
    >> On 07.06.2020 15:23, Basil L. Contovounesios wrote:
    >>> I'm confused; are these the entire contents of the file sale_line_grammar.json that is
    >>> mentioned in the backtrace?  Is this some sort of templating syntax that is replaced with
    >>> valid JSON later on?
    >> 
    >> That is indeed a bit surprising to see in a JSON file. But if it worked before...

    Basil> That's not saying enough, because it could be that some external code does not support
    Basil> Emacs 27+ properly.

Actually I have a bash script for testing my dot emacs without any
external package:
--8<---------------cut here---------------start------------->8---
emacs --no-bitmap-icon -Q --eval " (progn (defvar
my-cli-not-init-pkgs-flag t \"v=how emacs start\") (load
\"~/.emacs.d/init.el\") )"
--8<---------------cut here---------------end--------------->8---

See the result (with external packages isolated):
--8<---------------cut here---------------start------------->8---
http://0x0.st/iVZu.png
--8<---------------cut here---------------end--------------->8---

Best Regards




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#41745; Package emacs. Full text available.

Message received at 41745 <at> debbugs.gnu.org:


Received: (at 41745) by debbugs.gnu.org; 7 Jun 2020 16:44:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 07 12:44:45 2020
Received: from localhost ([127.0.0.1]:54811 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jhyPc-0002sx-O2
	for submit <at> debbugs.gnu.org; Sun, 07 Jun 2020 12:44:44 -0400
Received: from mail-qv1-f46.google.com ([209.85.219.46]:35816)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rrandresf@HIDDEN>) id 1jhyPa-0002sk-No
 for 41745 <at> debbugs.gnu.org; Sun, 07 Jun 2020 12:44:43 -0400
Received: by mail-qv1-f46.google.com with SMTP id g11so766235qvs.2
 for <41745 <at> debbugs.gnu.org>; Sun, 07 Jun 2020 09:44:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:in-reply-to:organization:references:date
 :message-id:mime-version;
 bh=/Mi4jbGVHmv+31mc+ioG2rdIqY00CFHGVq0lpueaDoo=;
 b=eJaxPWE9uQ9/8lk4K2nBpBCSdvANBEhYgqoAzq/fSt6Dw6u4dnLgA3qvVoX9isbtN9
 OQwVPhcXkqpg8o3VtB75mosI/d+TZniggl2x3FYeS+Gm/fKMJMqLM5eYKitb/tp33XsX
 n9bdIld+YLnlocI/R3NwA8x59gSJ/K4WBo3S1dEQjQck2tsJuQ5HdbqVl9UJOIr328LP
 GFAPUBt3hUJmhbl88RFJxxhasIPu0IpcfciWqaCtS+pqAoV+M0gz5SpOFKYNAiO9BKx9
 aQ3gGG7AQmbMkhDPtAjzMLU5lUv+GuthB5hlKTy966zSNKs510BBs6FknE38q5zj2/RC
 Br0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:in-reply-to:organization
 :references:date:message-id:mime-version;
 bh=/Mi4jbGVHmv+31mc+ioG2rdIqY00CFHGVq0lpueaDoo=;
 b=Sal79U8EmduiBrdamu0r+69OLre39tTNzx04bbHeqQ95D9m+a+w2+zg2/dFgnuzs7t
 K97u7ZHCcJB7rOdhCy44SIbnNgjjUnYDhC3BWIn02HOkHpXkYDCE/M1esaBKNkWq1IoM
 pqQ1Ng0GmDef0A46DeBowEAZUu3LjUXQA9+Xab4H9cSJ5n3tZc1zs1dwX3QLG1EL3D7I
 vpcDX1yTKwASEjfohVuKvFJKwkAdEglnqDmMRCwo/R+xMYaYHqvlNXmawOWttrAEVWBG
 obhRGCNLo2dT9s5jOwyal6pr7xKKAAJTg3Gy1Qm87NWeWdIJdHh/bV2WmtjnxonnOVFl
 OWng==
X-Gm-Message-State: AOAM532T5SHaaMrPI3agTHvTtuSi58Z+NRjkQlER9YgqV8lKeBctmOp2
 xa5Z05lmYVQQrfB051/QyJo=
X-Google-Smtp-Source: ABdhPJxqQTKytdXf/fXS3KSHgeycGRkm6odzVJmdedF1S3btQwDA5qi0No/eojTc4JSLA2J831NWYg==
X-Received: by 2002:ad4:46af:: with SMTP id br15mr5400562qvb.178.1591548277129; 
 Sun, 07 Jun 2020 09:44:37 -0700 (PDT)
Received: from sacsa.n800.arm.processor.yandex.fm ([190.236.255.173])
 by smtp.gmail.com with ESMTPSA id s201sm5017103qka.8.2020.06.07.09.44.35
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 07 Jun 2020 09:44:36 -0700 (PDT)
From: =?utf-8?Q?andr=C3=A9s_ram=C3=ADrez?= <rrandresf@HIDDEN>
To: "Basil L. Contovounesios" <contovob@HIDDEN>
Subject: Re: bug#41745: 28.0.50; problem with json file and which-function
 on pretest an master
In-Reply-To: <87eeqr3w0d.fsf@HIDDEN>
Organization: bien.comun.org
References: <86tuznms4b.fsf@HIDDEN>
	<87eeqr3w0d.fsf@HIDDEN>
X-Attribution: INKA
Date: Sun, 07 Jun 2020 16:44:33 +0000
Message-ID: <86wo4iq0zy.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 41745
Cc: 41745 <at> debbugs.gnu.org, dgutov@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Basil.

>>>>> "Basil" == Basil L Contovounesios <contovob@HIDDEN> writes:


    Basil> Could you try commenting-out parts of your configuration, perhaps by recursively
    Basil> bisecting it, to narrow down which parts of it give rise to the error?

Yes. I Could. And probably I am goint to do so. I the meanttime I just
change to fundamental-mode or visit-file-literally. 

    Basil> I'm confused; are these the entire contents of the file sale_line_grammar.json that is
    Basil> mentioned in the backtrace?

Yes. It is the entire content.

    Basil> Is this some sort of templating syntax that is replaced with
    Basil> valid JSON later on?

Yes. It is. I have a parser(yacc|bison) that does the job.

    Basil>If so, this issue is more about js-mode or whichever other major
    Basil> mode you may be using, rather than JSON.  What does C-h v major-mode RET tell you when
    Basil> you're visiting this file?

--8<---------------cut here---------------start------------->8---
http://0x0.st/iVZc.png
--8<---------------cut here---------------end--------------->8---

    Basil> I tried the following with both emacs-27 and master and didn't run into any errors:

    Basil> 0. emacs -Q 1. C-x C-f /tmp/sale_line_grammar.json RET 2. M-> 3. M-x delete-backward-char
    Basil> RET 4. C-x z z z z z z z z

Thanks fro trying it.

Best




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#41745; Package emacs. Full text available.

Message received at 41745 <at> debbugs.gnu.org:


Received: (at 41745) by debbugs.gnu.org; 7 Jun 2020 15:17:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 07 11:17:53 2020
Received: from localhost ([127.0.0.1]:54606 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jhx3Z-0006nn-C1
	for submit <at> debbugs.gnu.org; Sun, 07 Jun 2020 11:17:53 -0400
Received: from mail-wr1-f48.google.com ([209.85.221.48]:39416)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contovob@HIDDEN>) id 1jhx3X-0006nX-3E
 for 41745 <at> debbugs.gnu.org; Sun, 07 Jun 2020 11:17:52 -0400
Received: by mail-wr1-f48.google.com with SMTP id t18so14716406wru.6
 for <41745 <at> debbugs.gnu.org>; Sun, 07 Jun 2020 08:17:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tcd-ie.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=aGGqbYnattUmnPTJUSIrO+Vvt4wYsIB5MEBRFrKhVCI=;
 b=MkGotfp+OyEs10CxmC1aZucKzautTHyHS6XjfPN6/2FXMMwCf0r03GtQaBCzQwd2EM
 YgU9o310Bt/5aKDown9JBL1wXkUHxk/ZUCXsFRdS7k2Xd7czIHn6hqHyoEtZUe7oDbfb
 GElMrWJPFJNeqLKA7kxssSaB/EeRKt/ub7MysAptj8dpiISpyNZWvEzYkRqrU9uJAdnN
 7NYjQuwX1szbVsIhZ7iByY9vHBV/RHqI3oEgtJdZUIgP/WMLC0OAxWCc3oNT4CEMX3XX
 ZQk4xr13uw7VnI8LX7AF7jZHcQaH2hYUZls9gRxtPSDgHCuGAA90DOOCfDHWC0ndr/5x
 /Lhw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=aGGqbYnattUmnPTJUSIrO+Vvt4wYsIB5MEBRFrKhVCI=;
 b=Pr5nXhPqp8tVnBLN8aw2fZbo0hMsFI0cxffAgfbTv5nXCRFcWkOFTAlSTtxZN2Dzw6
 kJTbSsVVVUFZ1gS9hyw10tsh/g1+svRnXYRSMzyTzkeUWu/XVnX5u7saymZgd+merUT1
 OnI//s+4CHdHtkSEvwAXJVkrgFn3HYXDj96exCICJZDwle9jCqrbgA2CDqWdYJFN2Yrz
 9w9vBB17DWwh/QYo8qa/YCUjia300wZ1xOdfWdGDUb4NlP1078oMl8LbDYrTjDgTn0pa
 aUqJPT7v9TTa0dAHVaVJS50Ue6+yCRyZygkMZBgYjA6CVONz+HfpQQ4UKqu0mMo414Vk
 uzvQ==
X-Gm-Message-State: AOAM530n62OqWqxxBsS7541m3TvTn43V1Iq4xxCHQCXvCHIq5A9UqCz8
 oh8yHqTvQZezcekHVEtV6Q6GpQ==
X-Google-Smtp-Source: ABdhPJxzzBW3K1zfAvnq04MXjxml4+xGw3XtxKjcHx0lfhUgwWpsa9lBBSazjZfklw0lKGU9eeKaLw==
X-Received: by 2002:a5d:630f:: with SMTP id i15mr18870566wru.309.1591543065159; 
 Sun, 07 Jun 2020 08:17:45 -0700 (PDT)
Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2])
 by smtp.gmail.com with ESMTPSA id k21sm21235015wrd.24.2020.06.07.08.17.44
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 07 Jun 2020 08:17:44 -0700 (PDT)
From: "Basil L. Contovounesios" <contovob@HIDDEN>
To: Dmitry Gutov <dgutov@HIDDEN>
Subject: Re: bug#41745: 28.0.50; problem with json file and which-function
 on pretest an master
References: <86tuznms4b.fsf@HIDDEN> <87eeqr3w0d.fsf@HIDDEN>
 <e9e514af-4cff-9138-2c46-883e3d4af02d@HIDDEN>
Date: Sun, 07 Jun 2020 16:17:43 +0100
In-Reply-To: <e9e514af-4cff-9138-2c46-883e3d4af02d@HIDDEN> (Dmitry Gutov's
 message of "Sun, 7 Jun 2020 16:49:13 +0300")
Message-ID: <875zc252i0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 41745
Cc: =?utf-8?Q?Andr=C3=A9s_Ram=C3=ADrez?= <rrandresf@HIDDEN>,
 41745 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Dmitry Gutov <dgutov@HIDDEN> writes:

> On 07.06.2020 15:23, Basil L. Contovounesios wrote:
>> I'm confused; are these the entire contents of the file
>> sale_line_grammar.json that is mentioned in the backtrace?  Is this some
>> sort of templating syntax that is replaced with valid JSON later on?
>
> That is indeed a bit surprising to see in a JSON file. But if it worked
> before...

That's not saying enough, because it could be that some external code
does not support Emacs 27+ properly.

>> If
>> so, this issue is more about js-mode or whichever other major mode you
>> may be using, rather than JSON.
>
> Emacs associates js-mode with .json files. json-mode is in ELPA only.

I know, but details about which modes are in use are missing from the
bug report.

-- 
Basil




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#41745; Package emacs. Full text available.

Message received at 41745 <at> debbugs.gnu.org:


Received: (at 41745) by debbugs.gnu.org; 7 Jun 2020 13:49:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 07 09:49:23 2020
Received: from localhost ([127.0.0.1]:53505 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jhvfv-0004Ov-GU
	for submit <at> debbugs.gnu.org; Sun, 07 Jun 2020 09:49:23 -0400
Received: from mail-wm1-f52.google.com ([209.85.128.52]:34408)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raaahh@HIDDEN>) id 1jhvft-0004Oj-QP
 for 41745 <at> debbugs.gnu.org; Sun, 07 Jun 2020 09:49:22 -0400
Received: by mail-wm1-f52.google.com with SMTP id u26so12403164wmn.1
 for <41745 <at> debbugs.gnu.org>; Sun, 07 Jun 2020 06:49:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:subject:to:cc:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=/hhfpk2RAtrRKdcDZPg/LklEAzQ2TL0clI/5z1ER0h0=;
 b=N2j5cAnGXby/QkZaBlDYbS5B/tfm2PM6ChJUIKqkCVuyPDqqj7gpnHoXpOmflA4Kpz
 sqlk5TGZ7SJiswXdOm4anmscwCvSwlgQ8jGY5vvLAABPk0d9RgJdzSAPyvvP+F3Wnsr9
 34VTm79PQ9BdJUorgFKliBm7M5X6dOE+oQlIVtvjEarBrjX4BZFFN9tw5fmXO+GjTlGn
 x++40SJOuquebf7ErtQUoQWd4UFX9iMzcV0pcBQWFWcKRdoLl0NGCv4SBN7U22cdQouQ
 98BcHpNcm3GYxXZwWPwKuv0NXV3Q8Pgz4+B6fvhO8E6SxQOELBWXS659uDXr2f+Cp7TJ
 fdOg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:subject:to:cc:references:from:message-id
 :date:user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=/hhfpk2RAtrRKdcDZPg/LklEAzQ2TL0clI/5z1ER0h0=;
 b=Bi4s6/hgvRR5DBl70+AYBKJHBGNrYxylgWC2YCcWChijGjml9omtoG4JPYydNOiv+X
 FUJeSE2LrAZblv/3rZs9CyECgiiWWkzEx4LjzdOt2ZW4n1+Ty4mPzcfoYWyKqb3Ylbzv
 ZTH/h9kSEhFbIZdMTWswvKDOTWKK2WXL+oeIgpSxGjTZFBdxNvzng9tB6HGxanp3h4De
 cHupCZ0SIZlc2bJd9soqMBCpOv7giX6r0LMVFxs4b+X9cpm8EcXietWCVsiFXGYNQqgv
 m7isC7CXp4w8NOnrMOtMLy3xzu28klKT4CGUx0Ff1UDI04tjlrBpG/MGo6/Ycq3Bvjpp
 BmYA==
X-Gm-Message-State: AOAM532IulD047WCkJFuyDWRuCz1aqPoCHl9KliBCurWhfJwed0F3rmw
 ZN2FdZDa7qEffoqc8hVYbLKpjI54
X-Google-Smtp-Source: ABdhPJz9BXg5JR3CaiaRHXe6kew4swLgJUO8AddpGVN/XqPqfvwI8m3/Z0Cwk7Nv9Fk6H61nRdqwKg==
X-Received: by 2002:a1c:4c8:: with SMTP id 191mr11603534wme.14.1591537755838; 
 Sun, 07 Jun 2020 06:49:15 -0700 (PDT)
Received: from [192.168.0.3] ([66.205.73.129])
 by smtp.googlemail.com with ESMTPSA id p16sm21659826wru.27.2020.06.07.06.49.14
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sun, 07 Jun 2020 06:49:15 -0700 (PDT)
Subject: Re: bug#41745: 28.0.50; problem with json file and which-function on
 pretest an master
To: "Basil L. Contovounesios" <contovob@HIDDEN>,
 =?UTF-8?Q?Andr=c3=a9s_Ram=c3=adrez?= <rrandresf@HIDDEN>
References: <86tuznms4b.fsf@HIDDEN> <87eeqr3w0d.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <e9e514af-4cff-9138-2c46-883e3d4af02d@HIDDEN>
Date: Sun, 7 Jun 2020 16:49:13 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.8.0
MIME-Version: 1.0
In-Reply-To: <87eeqr3w0d.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 41745
Cc: 41745 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

On 07.06.2020 15:23, Basil L. Contovounesios wrote:
> I'm confused; are these the entire contents of the file
> sale_line_grammar.json that is mentioned in the backtrace?  Is this some
> sort of templating syntax that is replaced with valid JSON later on?

That is indeed a bit surprising to see in a JSON file. But if it worked 
before...

> If
> so, this issue is more about js-mode or whichever other major mode you
> may be using, rather than JSON.

Emacs associates js-mode with .json files. json-mode is in ELPA only.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#41745; Package emacs. Full text available.

Message received at 41745 <at> debbugs.gnu.org:


Received: (at 41745) by debbugs.gnu.org; 7 Jun 2020 12:23:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 07 08:23:24 2020
Received: from localhost ([127.0.0.1]:53456 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jhuKh-0002HI-Rx
	for submit <at> debbugs.gnu.org; Sun, 07 Jun 2020 08:23:24 -0400
Received: from mail-wr1-f50.google.com ([209.85.221.50]:43368)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contovob@HIDDEN>) id 1jhuKf-0002H1-Tt
 for 41745 <at> debbugs.gnu.org; Sun, 07 Jun 2020 08:23:22 -0400
Received: by mail-wr1-f50.google.com with SMTP id l10so14436433wrr.10
 for <41745 <at> debbugs.gnu.org>; Sun, 07 Jun 2020 05:23:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tcd-ie.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=mVkYnMPJrWR57q24Ck+9KL2hOJa85BoaM0D8Xy+xO+0=;
 b=j7WFErffxlxjU3erEtNk9Cr0Ymd/Ss/4EUtBq258dy1eWlluHNjiggjFMPyVD1R7RQ
 7ywMDM+4naY9Bx1KUlGtHf39j9930LvixpxYS840Cv+RzYmc1SB4x0hDbmNYr6hWI/lG
 dek9GrgAntUUsRkO0sELIwXQUUDfm6dm7a9UpIHJqy+vajFZJR4zfTmxKwDdL6vE3Wxw
 +1YOLQnpu4ZqECCPQGR9ZtaJnc8Zajs+zjqesON8L1sUfZjQBD5pS3dsmeOoLszBNYdF
 vCQzgmNBGm03E14fMoYFKszVtdNYuKDxyLIVpLk/iv4ETlAG+6sG14RzTcv+Q615l8RG
 BVkQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=mVkYnMPJrWR57q24Ck+9KL2hOJa85BoaM0D8Xy+xO+0=;
 b=qfS4Hh+4jgMJj/rAvDyjifPzbWTzJb47NYqCogSnijP/2vgn8JZBReg0GY/l6ZyAWK
 LhLal0dPLJFCIJ5SgUZJ1scOA49PyUVsssXX04/z0dtSt88cQLEEctlSOUTtpJNElc+C
 0vgRnuNp6n5TQa6l5cgGOV/T8v5+ql1IAMAVN3KPMpG/Tq1989giEj5WvtCpe06r74qa
 Izy808pN1sL16e4COYhouX1/BF6CedI4w4ChWG8tA6MC1kT8bkQsRWEXwbV+pkfDEPPJ
 3NZMVdunt3O3WovO+2aVmesic6o8ELoWEUlnbiazx9ikVq/ru21WoW+P7q8b9vvH333g
 OuYA==
X-Gm-Message-State: AOAM530iSzb9pxU23Hsb0S8LQFycWM1AOL7ljbDAqUUiw0zGjzAEhpne
 MymMNi9ppyQ+nStqh1gbXgzjUA==
X-Google-Smtp-Source: ABdhPJx+PVBCaTDcaSGtZijfrNXmlL9VYA6bGbDdOjPn3ltNvZFSt1lYgfnKO/biDu20d1x96QDv6Q==
X-Received: by 2002:adf:ed51:: with SMTP id u17mr17462412wro.285.1591532595986; 
 Sun, 07 Jun 2020 05:23:15 -0700 (PDT)
Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e])
 by smtp.gmail.com with ESMTPSA id s5sm19352304wme.37.2020.06.07.05.23.15
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 07 Jun 2020 05:23:15 -0700 (PDT)
From: "Basil L. Contovounesios" <contovob@HIDDEN>
To: =?utf-8?Q?Andr=C3=A9s_Ram=C3=ADrez?= <rrandresf@HIDDEN>
Subject: Re: bug#41745: 28.0.50; problem with json file and which-function
 on pretest an master
References: <86tuznms4b.fsf@HIDDEN>
Date: Sun, 07 Jun 2020 13:23:14 +0100
In-Reply-To: <86tuznms4b.fsf@HIDDEN> (=?utf-8?Q?=22Andr=C3=A9s_Ram?=
 =?utf-8?Q?=C3=ADrez=22's?= message of "Sun,
 07 Jun 2020 04:12:20 +0000")
Message-ID: <87eeqr3w0d.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 41745
Cc: 41745 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Andr=C3=A9s Ram=C3=ADrez <rrandresf@HIDDEN> writes:

> I have an issue after opening a json file with pretest.  Going to end
> of file with M-> then M-x backward-delete-char. I get this:
>
> Debugger entered--Lisp error: (cl-assertion-failed ((or (=3D (point-min) =
(point-max)) (eq js--last-parse-pos (point))) nil))
>   cl--assertion-failed((or (=3D (point-min) (point-max)) (eq js--last-par=
se-pos (point))))
>   js--imenu-create-index()
>   imenu--make-index-alist(t)
>   which-function()
>   which-func-update-1(#<window 3 on sale_line_grammar.json>)
>   which-func-update()
>   apply(which-func-update nil)
>   timer-event-handler([t 0 0 500000 t which-func-update nil idle 0])
>
> I have tried to do the same with emacs -Q (But. I was not able of
> reproducing it).

Could you try commenting-out parts of your configuration, perhaps by
recursively bisecting it, to narrow down which parts of it give rise to
the error?

> Also I have tested the same with emacs26.3. And everything works ok.
>
> So my personal conclusion is that this is a regression (related to which-=
func.el).

That depends on who is causing the problem - it could be a third-party
package that you have installed, for example.  Until there is a clear
reproduction recipe it's hard to know for sure.

> So. I have not been able of reproducing it with emacs -Q. If needed I
> could share my dot emacs files.
>
> Just in Case this is the content of the file that causes the issue:
>
> //  TODO: code the #else; analize  it {before document better the keyword=
s}
> #if ( ${saleline.is_service()} =3D=3D 0 )
> ${saleline.supplier()}/${saleline.subcategory()}/${saleline.color()}/${sa=
leline.size()}/${saleline.name()}/${saleline.unit()}
> #end
> #if ( ${saleline.is_service()} =3D=3D "1" )
> ${saleline.supplier()}/${saleline.subcategory()}/${saleline.name()}
> #end

I'm confused; are these the entire contents of the file
sale_line_grammar.json that is mentioned in the backtrace?  Is this some
sort of templating syntax that is replaced with valid JSON later on?  If
so, this issue is more about js-mode or whichever other major mode you
may be using, rather than JSON.  What does C-h v major-mode RET tell you
when you're visiting this file?

I tried the following with both emacs-27 and master and didn't run into
any errors:

0. emacs -Q
1. C-x C-f /tmp/sale_line_grammar.json RET
2. M->
3. M-x delete-backward-char RET
4. C-x z z z z z z z z

--=20
Basil




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#41745; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Jun 2020 04:12:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 07 00:12:32 2020
Received: from localhost ([127.0.0.1]:53109 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jhmfg-0002d7-0D
	for submit <at> debbugs.gnu.org; Sun, 07 Jun 2020 00:12:32 -0400
Received: from lists.gnu.org ([209.51.188.17]:39686)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rrandresf@HIDDEN>) id 1jhmff-0002d0-0A
 for submit <at> debbugs.gnu.org; Sun, 07 Jun 2020 00:12:31 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35708)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rrandresf@HIDDEN>)
 id 1jhmfe-0005DJ-Rc
 for bug-gnu-emacs@HIDDEN; Sun, 07 Jun 2020 00:12:30 -0400
Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:44059)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <rrandresf@HIDDEN>)
 id 1jhmfd-0005lH-KM
 for bug-gnu-emacs@HIDDEN; Sun, 07 Jun 2020 00:12:30 -0400
Received: by mail-qk1-x72c.google.com with SMTP id c14so14058975qka.11
 for <bug-gnu-emacs@HIDDEN>; Sat, 06 Jun 2020 21:12:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=d6JiououQ2UoITEtAbOiZAsrKcO9++MuT3qEhriZnMI=;
 b=ZDwx1VERKBA4yY7Nb/DKqaOTwpKW+lE+1aDf79fCwOiF/G/X8hhKfuz5XVWr2zWkG7
 FRfJsCAOEerYqsjF0tXHvIAwxi0BoWGsjZvej62C9+1W9Mai4uQbNeh3isOD22tnNLtt
 DMB6FqQm5rwjAItjuSndeQhNJFFkOHHzNEXMehOrz4PdeSUg23jay+5wAN5/jvjnlGtP
 IVxiFsKgmKqyXrtLV+7Ic5i+O9aXtZmIweA0B2A0tatcpN6lCqLVVG48HnJ+OyJqUmq+
 cjKIvaLrDHmQXo2MeZ3xXzspEW60J5cpjkVOmQNIjFbvW5UI/VDoCTh0ldzokkaW56Xo
 Ifrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=d6JiououQ2UoITEtAbOiZAsrKcO9++MuT3qEhriZnMI=;
 b=JqRNRjYk4XVhK/q3AFqXu5m5+ho2HaS19LijjYxhvsQCY67LWm7PQVdoLKuc8ICahh
 N2LM/dg7mh6D5JUr6u2/RQ++k6FOIRidkc70kVpjEEpBbiij9TKJhN7zsnJegQ4J2TJE
 A+Xt7jdXVIt6mWl8HUMkMTf7Boq8u4kWqOTHpXqc+9iDSliOcE11ZQO2BJs7Nv3e+Xz2
 j7eSTZqeuiTchPbj3U8MO66BQvK3lGWmbJHndWWGUZAgNhDgWKJ70Q+Ap8BuAwGASbG8
 2b4GSpGN1rJzkfynFt1CbGzN3TCFgQPgE51lXnlBcjKhUKRUyomjTLxBy2/9SDE6bE9w
 hEcg==
X-Gm-Message-State: AOAM532hQFPKZa6SSe6OufT96UpgQnYrgulw/soZg8GxbNSxyDeepqAj
 KNu3z2YZe74/8zQ2YbIjiXNCbHna
X-Google-Smtp-Source: ABdhPJw+wfEhwJH2GM21/pt+XbpQs/0K/jvMpIBNdjdZ4gEvc4Nu1JjxZVurMPPoIfouq4DZQz8eGg==
X-Received: by 2002:ae9:df86:: with SMTP id t128mr16336579qkf.29.1591503147480; 
 Sat, 06 Jun 2020 21:12:27 -0700 (PDT)
Received: from sacsa.n800.arm.processor.yandex.fm ([190.236.255.173])
 by smtp.gmail.com with ESMTPSA id s52sm4475566qtb.3.2020.06.06.21.12.26
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 06 Jun 2020 21:12:26 -0700 (PDT)
From: =?utf-8?Q?Andr=C3=A9s_Ram=C3=ADrez?= <rrandresf@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50; problem with json file and which-function on pretest an
 master
Date: Sun, 07 Jun 2020 04:12:20 +0000
Message-ID: <86tuznms4b.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::72c;
 envelope-from=rrandresf@HIDDEN; helo=mail-qk1-x72c.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001,
 URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


Hi.

I have an issue after opening a json file with pretest.  Going to end of file with M-> then M-x backward-delete-char. I get
this:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (cl-assertion-failed ((or (= (point-min) (point-max)) (eq js--last-parse-pos (point))) nil))
  cl--assertion-failed((or (= (point-min) (point-max)) (eq js--last-parse-pos (point))))
  js--imenu-create-index()
  imenu--make-index-alist(t)
  which-function()
  which-func-update-1(#<window 3 on sale_line_grammar.json>)
  which-func-update()
  apply(which-func-update nil)
  timer-event-handler([t 0 0 500000 t which-func-update nil idle 0])
--8<---------------cut here---------------end--------------->8---

I have tried to do the same with emacs -Q (But. I was not able of
reproducing it).

Also I have tested the same with emacs26.3. And everything works ok.

So my personal conclusion is that this is a regression (related to which-func.el).

So. I have not been able of reproducing it with emacs -Q. If needed I
could share my dot emacs files.

Just in Case this is the content of the file that causes the issue:

--8<---------------cut here---------------start------------->8---
//  TODO: code the #else; analize  it {before document better the keywords}
#if ( ${saleline.is_service()} == 0 )
${saleline.supplier()}/${saleline.subcategory()}/${saleline.color()}/${saleline.size()}/${saleline.name()}/${saleline.unit()}
#end
#if ( ${saleline.is_service()} == "1" )
${saleline.supplier()}/${saleline.subcategory()}/${saleline.name()}
#end
--8<---------------cut here---------------end--------------->8---

Best Regards



In GNU Emacs 28.0.50 (build 2, armv7l-unknown-linux-gnueabihf, GTK+ Version 3.24.20, cairo version 1.17.3)
Repository revision: a69ef94e22716f9cbb7cf8d78b89e7be4a4c60eb
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Arch Linux ARM

Recent messages:
Loading /home/olla/.emacs.d/init.el (source)...done
Loading /home/olla/.emacs.d/elpa/god-mode/god-mode.el (source)...done
Loading /home/olla/.emacs.d/elpa/avy/avy.el (source)...done
Loading /home/olla/.emacs.d/elpa/ace-window/ace-window.el (source)...done
Loading /home/olla/.emacs.d/my-noexternals.el (source)...
Created wl link.
loading my-noexternal not dot file
restoring gc-cons-threshold after startup
Loading /home/olla/.emacs.d/my-noexternals.el (source)...done
Package cl is deprecated

Configured using:
 'configure '--program-transform-name=s/^ctags$/ctags.emacs/'
 --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/usr/share --with-x-toolkit=gtk --mandir=/usr/share/man
 --pdfdir=/usr/share/doc/emacs --with-modules --with-xft --without-gconf
 --without-gsettings --with-imagemagick --without-xwidgets --without-pop
 --with-gameuser=:games --disable-build-details 'CFLAGS=-march=armv7-a
 -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong
 -fno-plt -g3 -Og
 -fdebug-prefix-map=/home/user/abs/emacs-gtk-85715/src=/usr/src/debug'
 CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO IMAGEMAGICK SOUND GPM DBUS GLIB NOTIFY
INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON
PDUMPER LCMS2 GMP

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  display-time-mode: t
  which-function-mode: t
  savehist-mode: t
  show-paren-mode: t
  erc-track-mode: t
  erc-match-mode: t
  erc-autojoin-mode: t
  erc-fill-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs
text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils tron-theme add-log my-noexternals server
time org-wl org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro
org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color
org-list org-faces org-entities time-date noutline outline org-version
ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat org-macs
org-loaddefs find-func cal-menu calendar cal-loaddefs sm-c-mode derived
pcase smie netrc ace-window avy ring god-mode emms-get-lyrics mbsync rx
my-misc-setup ido which-func savehist paren vc-git diff-mode easy-mmode
em-alias em-smart esh-mode esh-cmd esh-ext esh-opt esh-proc esh-io
esh-arg esh-module esh-groups esh-util my-erc-setup erc-services
erc-networks erc-track erc-match erc-sasl cl erc-menu erc-join erc-fill
erc-stamp erc-goodies erc erc-backend erc-compat format-spec auth-source
cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json
subr-x map seq byte-opt gv bytecomp byte-compile cconv pp erc-loaddefs
my-defuns-setup imenu thingatpt info-look info google-c-style gtags
cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs edmacro kmacro cl-loaddefs cl-lib jka-compr
advice lemacs-public tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting font-render-setting cairo move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 8 194069 156217)
 (symbols 24 20498 1)
 (strings 16 63580 8303)
 (string-bytes 1 2150082)
 (vectors 8 27826)
 (vector-slots 4 327386 154564)
 (floats 8 101 627)
 (intervals 28 316 0)
 (buffers 576 10))




Acknowledgement sent to Andrés Ramírez <rrandresf@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#41745; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 7 Jun 2020 19:30:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.