GNU bug report logs - #16160
[PATCH] define-derived-mode clobbers syntax tables

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Mon, 16 Dec 2013 11:14:02 UTC

Severity: normal

Tags: confirmed

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Daniel Colascione <dancol <at> dancol.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 16160 <at> debbugs.gnu.org
Subject: Re: bug#16160: [PATCH] define-derived-mode clobbers syntax tables
Date: Mon, 16 Dec 2013 18:17:55 -0800
On 12/16/2013 11:17 AM, Stefan Monnier wrote:
>> 1) Visit shell script with comments. See comments fontified properly.
>> 2) M-x find-library sh-script RET
>> 3) M-x eval-buffer
>> 4) Return to shell script buffer
>> 5) C-x C-v RET
>> 6) Observe that comments are no longer fontified as comments.
>
> I can't reproduce it, starting from "emacs -Q".

I can't repro it either now, with or without -Q. That was odd. I know 
what I saw, and I know that my patch resolved the problem in that 
instance of Emacs, but I have no idea how defvar was clobbering that 
variable. I was able to repro it over an dover again though. I can only 
conclude that Emacs was punishing me for my many sins.

If I see it again, I'll try to hook Emacs up to a debugger. In the 
meantime, let's avoid changing fundamental infrastructure before a 
feature freeze.




This bug report was last modified 8 years and 166 days ago.

Previous Next


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