unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18786: (error "Attempt to modify read-only object" (("\\.txz\\'" . tar-mode))) on adding mode
@ 2014-10-21 13:34 Boyan Penkov
  2014-10-21 15:20 ` Andreas Schwab
  2014-10-21 16:39 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Boyan Penkov @ 2014-10-21 13:34 UTC (permalink / raw)
  To: 18786

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






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-21 18:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-21 13:34 bug#18786: (error "Attempt to modify read-only object" (("\\.txz\\'" . tar-mode))) on adding mode Boyan Penkov
2014-10-21 15:20 ` Andreas Schwab
2014-10-21 15:46   ` Boyan Penkov
2014-10-21 16:39 ` Stefan Monnier
     [not found]   ` <9D69294C-9454-4E64-90A8-90AA7FAD076B@gmail.com>
2014-10-21 18:02     ` Stefan Monnier

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).