all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: 蔡君琦 <caijq4ever@163.com>
To: "Simen Heggestøyl" <simenheg@gmail.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, 21488-done@debbugs.gnu.org
Subject: bug#21488: json-pretty-print-buffer works,but...
Date: Wed, 14 Oct 2015 18:16:41 +0800 (CST)	[thread overview]
Message-ID: <b7658de.16d2b.15065da1128.Coremail.caijq4ever@163.com> (raw)
In-Reply-To: <1444758571.2130.0@smtp.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1140 bytes --]

1. I'm sure this error comes from json.el.


2. I restart emacs with the 'emacs -Q' option, and emacs shows this buffer: 



3. I find this error comes from commit 6aa04a5(https://github.com/emacs-mirror/emacs/blob/6aa04a5570b50a68665e69231f3e36b2a4625f40/lisp/json.el). Please check it. 

在 2015-10-14 01:49:31,"Simen Heggestøyl" <simenheg@gmail.com> 写道:
On Fri, Oct 9, 2015 at 11:38 AM, 蔡君琦 <caijq4ever@163.com> wrote:
Hi,
I copy json.el from github(https://github.com/emacs-mirror/emacs/tree/master/lisp/json.el), override local json.el and compile it.
After I restart emacs, and emacs shows this error in startup:
---
Warning (initialization): An error occurred while loading `c:/Users/caijunqi/AppData/Roaming/.emacs.d/init.el':

error: Attempt to modify read-only object, (error)

Hi again,


I'm not sure what that error comes from. Can you produce a backtrace?


It looks like the crash happens in your init file. Can you reproduce it
starting from 'emacs -Q'?


Also, I'm unsure whether it has to do with with the commit that fixed
this bug. Could you test with a version of json.el pre commit 6b663751?


-- Simen

[-- Attachment #1.2: Type: text/html, Size: 2354 bytes --]

[-- Attachment #2: 截图1.png --]
[-- Type: image/png, Size: 31676 bytes --]

  reply	other threads:[~2015-10-14 10:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-15 16:00 bug#21488: json-pretty-print-buffer works,but Junqi Cai
2015-09-16  1:13 ` Stefan Monnier
2015-10-03 13:42   ` Simen Heggestøyl
2015-10-03 17:54     ` Stefan Monnier
2015-10-03 19:32       ` Simen Heggestøyl
2015-10-03 21:01         ` Stefan Monnier
2015-10-03 21:58           ` Simen Heggestøyl
2015-10-09  9:38             ` 蔡君琦
2015-10-13 17:49               ` Simen Heggestøyl
2015-10-14 10:16                 ` 蔡君琦 [this message]
2015-10-17 13:25                   ` Simen Heggestøyl
2015-10-19  2:11                     ` bug#21488: " 蔡君琦

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

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

  git send-email \
    --in-reply-to=b7658de.16d2b.15065da1128.Coremail.caijq4ever@163.com \
    --to=caijq4ever@163.com \
    --cc=21488-done@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=simenheg@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.