From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Becker Subject: Re: Quote blocks face Date: Tue, 12 May 2009 22:09:49 +0100 Message-ID: References: <87zldizbjj.fsf@z.nozav.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1241876922==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3zEZ-0005s9-MY for emacs-orgmode@gnu.org; Tue, 12 May 2009 17:09:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3zEV-0005rk-5e for emacs-orgmode@gnu.org; Tue, 12 May 2009 17:09:55 -0400 Received: from [199.232.76.173] (port=59478 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3zEV-0005rh-0a for emacs-orgmode@gnu.org; Tue, 12 May 2009 17:09:51 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:58376) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3zEU-0008C4-ES for emacs-orgmode@gnu.org; Tue, 12 May 2009 17:09:50 -0400 Received: by ewy6 with SMTP id 6so337197ewy.42 for ; Tue, 12 May 2009 14:09:49 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org, Julien Barnier --===============1241876922== Content-Type: multipart/alternative; boundary=0015174c0f12df6cfa0469bd834d --0015174c0f12df6cfa0469bd834d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I have managed to do multiple-line fontification in Emacs (and I think in org) using hi-lock mode: M-x hi-lock-face-buffer RET italic RET But I can't for the life of me get that regex back which could span multiple lines. I was sure I grouped '.' and the newline character somehow, but I can't reclaim it. Maybe someone else has an idea. If you get it figured out, you can then write the hi-lock regexp's into your file, and set things up so that they get read every time the file is loaded (with or without confirmation). It worked for me in a limited trial but I'm not sure how hi-lock would interact with org over the long haul. It certainly has the potential to slow things down, but I never noticed it. Scot --0015174c0f12df6cfa0469bd834d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have managed to do multiple-line fontification in Emacs (and I think in o= rg) using hi-lock mode:
M-x hi-lock-face-buffer <REGEX> RET
it= alic RET

But I can't for the life of me get that regex back which could span multiple lines.=A0 I was sure I grouped '.' and the newline charact= er somehow, but I can't reclaim it.=A0 Maybe someone else has an idea.=A0 =

If you get it figured out, you can then write the hi-lock regexp's into your file, and set things up so that they get read every time the file is loaded (with or without confirmation).

It worked for me in a limited trial but I'm not sure how hi-lock would interact with org over the long haul.=A0 It certainly has the potential to slow things down, but I never noticed it.

Scot



--0015174c0f12df6cfa0469bd834d-- --===============1241876922== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1241876922==--