[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (setq sgml-transformation 'upcase) has no effect
From: |
Stefan Monnier |
Subject: |
Re: (setq sgml-transformation 'upcase) has no effect |
Date: |
Thu, 17 May 2007 10:13:55 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
>> From textmodes/sgml-mode.el:
> ================
> If you like upcased tags, put (setq sgml-transformation-function 'upcase)
> in your `.emacs' file.
> ================
> To reproduce the problem:
> emacs -Q
> C-x C-f a.html RET
> M-x set-variable RET sgml-transformation-function RET upcase RET
> C-c C-t small RET
> what appears in the buffer is
> <small></small>
> rather than the expected
> <SMALL></SMALL>
> As far as I remember, this is an old bug.
What bug?
You didn't set it in your .emacs as the doc you quoted suggests, did you?
If you want the new feature of being able to change thde upcasing behavior
on-the-fly, then use M-x set-variable RET skeleton-transformation-function
RET upcase RET instead.
Stefan