GNU bug report logs - #18786
(error "Attempt to modify read-only object" (("\\.txz\\'" . tar-mode))) on adding mode

Previous Next

Package: emacs;

Reported by: Boyan Penkov <boyan.penkov <at> gmail.com>

Date: Tue, 21 Oct 2014 13:42:02 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#18786: closed ((error "Attempt to modify read-only object"
 (("\\.txz\\'" . tar-mode))) on adding mode)
Date: Tue, 21 Oct 2014 18:03:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 21 Oct 2014 14:02:37 -0400
with message-id <jwv38ah47z4.fsf-monnier+emacsbugs <at> gnu.org>
and subject line Re: bug#18786: (error "Attempt to modify read-only object" (("\\.txz\\'" . tar-mode))) on adding mode
has caused the debbugs.gnu.org bug report #18786,
regarding (error "Attempt to modify read-only object" (("\\.txz\\'" . tar-mode))) on adding mode
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
18786: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18786
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Boyan Penkov <boyan.penkov <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: (error "Attempt to modify read-only object" (("\\.txz\\'" .
 tar-mode))) on adding mode
Date: Tue, 21 Oct 2014 09:34:10 -0400
Hey folks,

I have a bunch of stuff like: 

    (nconc auto-mode-alist '(("\\.ctl" . scheme-mode))))

in my .emacs.  

When I launch emacs, the complaint is:

error: Attempt to modify read-only object, ((\.txz\' . tar-mode))

Clearing all the auto-mode-alist additions clears this error, by pulling them out of the .emacs.  Can anybody explain what is going on?

This has emerged after upgrading last night to 24.4 using both http://emacsformacosx.com/ and compiling for myself via homebrew.  I’m on Mac OS 10.10 Yosemite.

Please let me know how to help debug this.

Cheers!

--
Boyan Penkov
www.boyanpenkov.com



[Message part 3 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 18786-done <at> debbugs.gnu.org
Subject: Re: bug#18786: (error "Attempt to modify read-only object"
 (("\\.txz\\'" . tar-mode))) on adding mode
Date: Tue, 21 Oct 2014 14:02:37 -0400
> Thanks for the pointer!

You're welcome, closed,


        Stefan


This bug report was last modified 10 years and 271 days ago.

Previous Next


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