From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: custom emacs org-emphasis-alist breaks EXPORT, help ;-) ? Date: Fri, 4 Oct 2013 10:50:59 +0300 Message-ID: References: <87r4c1mrh1.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf301cbd5c2c685004e7e590c2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VS0AA-0007W0-9J for emacs-orgmode@gnu.org; Fri, 04 Oct 2013 03:51:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VS0A8-0002UH-Te for emacs-orgmode@gnu.org; Fri, 04 Oct 2013 03:51:02 -0400 In-Reply-To: <87r4c1mrh1.fsf@bzg.ath.cx> 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: Bastien Cc: org mode --20cf301cbd5c2c685004e7e590c2 Content-Type: text/plain; charset=ISO-8859-1 Thx Bastien! i look at it but it seemed highly complex (im an academic and dont know much (well nothing tbh :) ) about programming. is there a simple way of defining these like the GUI for org-emphasis-alist (i used customize-variables ) as you said i just want to highlight (BG/FG) specific areas/lines. any help would be greatly appreciated! best guys Itai On Fri, Oct 4, 2013 at 10:21 AM, Bastien wrote: > Hi Xebar, > > Xebar Saram writes: > > > so after struggling for weeks to figure out why i always get an error > > when exporting i finally nailed the issue: org-emphasis-alist. i have > > alot of them (see below) and use them in orgmode quite often. is this > > a bug or if you want to use the exporter you should avoid using > > org-emphasis-alist? > > You use org-emphasis-alist to do simple highlighting, right? > > In that case, using you should better use `font-lock-add-keywords'. > > See http://www.emacswiki.org/emacs/AddKeywords for details. > > HTH, > > -- > Bastien > --20cf301cbd5c2c685004e7e590c2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thx Bastien!

i look at it but it seemed= highly complex (im an academic and dont know much (well nothing tbh :) ) a= bout programming. is there a simple way of defining these like the GUI for= =A0org-emphasis-alist=A0 (i used customize-variables=A0)=A0=A0
as you said i just want to highlight (BG/FG) specific areas/lines.
any help would be greatly appreciated!

best= guys

Itai


On Fri, Oct 4, 2013 at 10:21 AM, Bastien= <bzg= @gnu.org> wrote:
Hi Xebar,

Xebar Saram <zeltakc@gmail.com&= gt; writes:

> so after struggling for weeks to figure out why i always get an error<= br> > when exporting i finally nailed the issue: org-emphasis-alist. i have<= br> > alot of them (see below) and use them in orgmode quite often. is this<= br> > a bug or if you want to use the exporter you should avoid using
> org-emphasis-alist?

You use org-emphasis-alist to do simple highlighting, right?

In that case, using you should better use `font-lock-add-keywords'.

See http://www.emacswiki.org/emacs/AddKeywords for details.

HTH,

--
=A0Bastien

--20cf301cbd5c2c685004e7e590c2--