From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: "Font-lock is limited to text matching" is a myth Date: Wed, 12 Aug 2009 02:06:46 +0900 Message-ID: <87ocqm8el5.fsf@uwakimon.sk.tsukuba.ac.jp> References: <7b501d5c0908091634ndfba631vd9db6502db301097@mail.gmail.com> <200908101335.24002.danc@merrillprint.com> <87my67s8mr.fsf@randomsample.de> <1249942011.29022.15.camel@projectile.siege-engine.com> <1249955428.29022.186.camel@projectile.siege-engine.com> <9c768dc60908102347v57bdf38ara9fe2179f68c07e4@mail.gmail.com> <42D4C5C5-E702-4E30-AB95-A016280F20C7@merrillpress.com> <87r5vipgbs.fsf@catnip.gol.com> <87skfy8htw.fsf@uwakimon.sk.tsukuba.ac.jp> <87hbweny1h.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250010480 32243 80.91.229.12 (11 Aug 2009 17:08:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2009 17:08:00 +0000 (UTC) Cc: Daniel Colascione , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 11 19:07:52 2009 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 1MaupE-0002nN-BX for ged-emacs-devel@m.gmane.org; Tue, 11 Aug 2009 19:07:52 +0200 Original-Received: from localhost ([127.0.0.1]:47581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaupC-0003x8-PO for ged-emacs-devel@m.gmane.org; Tue, 11 Aug 2009 13:07:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MaugD-0007lr-Od for emacs-devel@gnu.org; Tue, 11 Aug 2009 12:58:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Maug9-0007kR-3C for emacs-devel@gnu.org; Tue, 11 Aug 2009 12:58:33 -0400 Original-Received: from [199.232.76.173] (port=50780 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Maug8-0007kM-Tr for emacs-devel@gnu.org; Tue, 11 Aug 2009 12:58:28 -0400 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]:56472) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Maug6-0001wF-Tp; Tue, 11 Aug 2009 12:58:27 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id 4BA538212; Wed, 12 Aug 2009 01:58:25 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 4619B1A27DB; Wed, 12 Aug 2009 02:06:47 +0900 (JST) In-Reply-To: <87hbweny1h.fsf@catnip.gol.com> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" 5bbff3553494+ XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:114078 Archived-At: Miles Bader writes: > "Stephen J. Turnbull" writes: > > To me, in theory, to the extent that "fontification" means "syntax > > highlighting", syntax is almost entirely about position in the token > > stream, rather than the text composing the token (even keywords, which > > in many languages are a syntax error if they are in the wrong > > position). > > However, being able to add properties to strings, and paste them into > buffer (and display them as messages, and ...) is _very_ useful. True. But that's just saying "copying text properties is useful *when adding text*". I didn't think that's what Daniel meant; AIUI, he was referring to syntax highlighting of *existing* text in the buffer; and that is the context where I think overlays are more natural.