From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Fontification in ' *' buffers. Date: Mon, 27 Aug 2007 10:17:25 -0400 Message-ID: References: <87k5rm2mt8.fsf@cadilhac.name> <871wdqp06t.fsf@cadilhac.name> <878x7xo2wi.fsf@cadilhac.name> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188224338 7019 80.91.229.12 (27 Aug 2007 14:18:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Aug 2007 14:18:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 27 16:18:55 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IPfQb-0005UZ-1P for ged-emacs-devel@m.gmane.org; Mon, 27 Aug 2007 16:18:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IPfQa-0001dY-FX for ged-emacs-devel@m.gmane.org; Mon, 27 Aug 2007 10:18:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IPfQW-0001dT-PY for emacs-devel@gnu.org; Mon, 27 Aug 2007 10:18:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IPfQU-0001dH-LZ for emacs-devel@gnu.org; Mon, 27 Aug 2007 10:18:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IPfQU-0001dE-I4 for emacs-devel@gnu.org; Mon, 27 Aug 2007 10:18:46 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IPfQU-0003Pq-9t for emacs-devel@gnu.org; Mon, 27 Aug 2007 10:18:46 -0400 Original-Received: from ceviche.home (vpn-132-204-232-147.acd.umontreal.ca [132.204.232.147]) by chene.dit.umontreal.ca (8.13.7/8.13.7) with ESMTP id l7REIi0N028869 for ; Mon, 27 Aug 2007 10:18:44 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id ED85DB41AC; Mon, 27 Aug 2007 10:17:25 -0400 (EDT) In-Reply-To: <878x7xo2wi.fsf@cadilhac.name> (=?iso-8859-1?Q?=22Micha=EBl?= Cadilhac"'s message of "Mon\, 27 Aug 2007 09\:25\:01 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-NAI-Spam-Score: -2.5 X-NAI-Spam-Rules: 2 Rules triggered BAYES_00=-2.5, HAS_X_HELO=0 X-Detected-Kernel: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77289 Archived-At: >>>> 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