From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Questions about exporting: subtitle, level formating, custom highlight markers error Date: Wed, 29 Jul 2015 21:51:37 +0200 Message-ID: <87vbd2214m.fsf@mbork.pl> References: <55B4DAEC.7030805@laposte.net> <87egjugfry.fsf@ucl.ac.uk> <55B63847.5050101@laposte.net> <871tftprsd.fsf@ucl.ac.uk> <55B769D0.8060306@laposte.net> <87y4i01o89.fsf@ucl.ac.uk> <55B787FC.5050409@laposte.net> <55B92A33.3040607@laposte.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKXOV-0000Rz-Kw for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 15:52:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKXOQ-0001n9-HZ for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 15:52:03 -0400 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:51515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKXOQ-0001my-AK for emacs-orgmode@gnu.org; Wed, 29 Jul 2015 15:51:58 -0400 In-reply-to: <55B92A33.3040607@laposte.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org, John Kitchin On 2015-07-29, at 21:32, Xiha wrote: > Hi John, > > Yes, highlight-regexp looks good and simple, when I apply it manually t= o=20 > the buffer. No need even to define a new face as the default hi-yellow=20 > is what I want. > > But: (how) can I call highlight-regexp from my .emacs file so that it=20 > automatically applies to every Org buffer? Or must it be called on a pe= r=20 > buffer basis? Just putting (highlight-regexp "=C2=B7[^=C2=B7]*=C2=B7") = in my .emacs, as=20 > well as (global-hi-lock-mode 1) because Emacs throws a warning=20 > otherwise, didn't work. C-h v org-mode-hook RET Hth, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University