unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "andrés ramírez" <rrandresf@gmail.com>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: 41745@debbugs.gnu.org, dgutov@yandex.ru
Subject: bug#41745: 28.0.50; problem with json file and which-function on pretest an master
Date: Sun, 07 Jun 2020 16:44:33 +0000	[thread overview]
Message-ID: <86wo4iq0zy.fsf@gmail.com> (raw)
In-Reply-To: <87eeqr3w0d.fsf@tcd.ie>

Hi Basil.

>>>>> "Basil" == Basil L Contovounesios <contovob@tcd.ie> 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





  parent reply	other threads:[~2020-06-07 16:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-07  4:12 bug#41745: 28.0.50; problem with json file and which-function on pretest an master Andrés Ramírez
2020-06-07 12:23 ` Basil L. Contovounesios
2020-06-07 13:49   ` Dmitry Gutov
2020-06-07 15:17     ` Basil L. Contovounesios
2020-06-07 16:53       ` andrés ramírez
2020-06-07 16:44   ` andrés ramírez [this message]
2020-06-07 18:17     ` Basil L. Contovounesios
2020-06-07 18:56       ` andrés ramírez
2020-06-07 19:11         ` Basil L. Contovounesios
2020-06-07 19:28           ` andrés ramírez
2020-06-07 20:34             ` Basil L. Contovounesios
2020-06-07 20:20           ` Dmitry Gutov
2020-06-07 20:34             ` Basil L. Contovounesios
2020-06-07 20:44               ` Dmitry Gutov
2022-02-20 14:15           ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86wo4iq0zy.fsf@gmail.com \
    --to=rrandresf@gmail.com \
    --cc=41745@debbugs.gnu.org \
    --cc=contovob@tcd.ie \
    --cc=dgutov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).