|
From: | Daniel Colascione |
Subject: | bug#16160: [PATCH] define-derived-mode clobbers syntax tables |
Date: | Fri, 20 Dec 2013 13:45:43 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
Actually... On 12/16/2013 06:17 PM, Daniel Colascione wrote:
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.
The repro steps are incorrect. Try these: 1) emacs -Q 2) visit a shell script 3) M-x find-library sh-script RET 4) C-s define-derived-mode RET 5) C-M-x 6) switch to your shell script buffer 7) C-x C-v8) Observe that the shell script is fontified incorrectly; the syntax table is now clobbered.
[Prev in Thread] | Current Thread | [Next in Thread] |