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


Message #11 received at 18786 <at> debbugs.gnu.org (full text, mbox):

From: Boyan Penkov <boyan.penkov <at> gmail.com>
To: Andreas Schwab <schwab <at> suse.de>
Cc: 18786 <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 11:46:34 -0400
[Message part 1 (text/plain, inline)]
--
Boyan Penkov
www.boyanpenkov.com

> On Oct 21, 2014, at 11:20 AM, Andreas Schwab <schwab <at> suse.de> wrote:
> 
> Boyan Penkov <boyan.penkov <at> gmail.com> writes:
> 
>> I have a bunch of stuff like: 
>> 
>>    (nconc auto-mode-alist '(("\\.ctl" . scheme-mode))))
>> 
>> in my .emacs.  
> 
> Don't use destructive functions unless you know what you are doing.

Yeah, predictably, emacs is fine and I’m the idiot: nconc’s have been replaced with add-to-list, documentation read and lesson learned.

Thanks for the pointer!

> 
> Andreas.
> 
> -- 
> Andreas Schwab, SUSE Labs, schwab <at> suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."

[Message part 2 (text/html, inline)]

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

Previous Next


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