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: Boyan Penkov <boyan.penkov <at> gmail.com>
Subject: bug#18786: closed (Re: bug#18786: (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 bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 18786 <at> debbugs.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: 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

[Message part 3 (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




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

Previous Next


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