emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fontification in ' *' buffers.


From: Stefan Monnier
Subject: Re: Fontification in ' *' buffers.
Date: Mon, 27 Aug 2007 10:17:25 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>>>> I may more or less understand why buffers which names start with a space
>>>> are not fontified, but I happen to have downloaded files misnamed with
>>>> one of those leading spaces, and was surprised that the fontification
>>>> wasn't made.
>>>> 
>>>> This is a minor issue, but shouldn't we check if we're in a file before?
>> 
>>> This is a nobody-has-a-strong-opinion-on-this kind of concern?
>> 
>> I think so, yes.  Maybe it should check buffer-undo-list rather than
>> buffer-file-name, tho.

> Why?  I think space-led buffers are only created with C-x C-f, it'd be
> kind of pervert for a person to just create such a buffer.

space-led buffers are expected to be temporary/internal buffers: when
created they have buffer-undo-list set to t and they do not show up
in C-x b's completion.
But maybe you're right.  It was just an idea.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]