unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: michael@cadilhac.name (Michaël Cadilhac)
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Fontification in ' *' buffers.
Date: Mon, 27 Aug 2007 09:25:01 +0200	[thread overview]
Message-ID: <878x7xo2wi.fsf@cadilhac.name> (raw)
In-Reply-To: <jwvfy25k3he.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 27 Aug 2007 00:27:26 -0400")


[-- Attachment #1.1: Type: text/plain, Size: 1208 bytes --]

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>> 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.
Beside, the minibuffer has a buffer-undo-list, nop?  (Well, it could be
a benefit, in fact, because the M-x could be a font-lock property and be
disabled by g-f-l-m, as it was asked IIRC).

-- 
 |   Michaël `Micha' Cadilhac       |    Le second degré,                    |
 |   http://michael.cadilhac.name   |       c'est un peu                     |
 |   JID/MSN:                       |   le verlan sémantique.                |
 `----  michael.cadilhac@gmail.com  |                                   -  --'

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2007-08-27  7:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-23 17:16 Fontification in ' *' buffers Michaël Cadilhac
2007-08-26 19:26 ` Michaël Cadilhac
2007-08-27  4:27   ` Stefan Monnier
2007-08-27  7:25     ` Michaël Cadilhac [this message]
2007-08-27 14:17       ` Stefan Monnier
2007-08-27 14:46         ` Michaël Cadilhac
2007-08-27 20:13           ` Stefan Monnier
2007-08-31 13:33           ` Michaël Cadilhac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878x7xo2wi.fsf@cadilhac.name \
    --to=michael@cadilhac.name \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).