From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Kroos Subject: Re: add entries to *emphasis-alist Date: Sun, 19 Aug 2012 14:53:09 +0200 Message-ID: <20120819125309.GA14590@Vostro> References: <20120817122605.GA6624@desktop> <80vcghuyvn.fsf@somewhere.org> <5815.1345233035@alphaville> <20120819110109.GA6210@Vostro> <87vcgfm7rx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="QTprm0S8XgL7H0Dt" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T354g-0001UZ-8v for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 08:57:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T354e-0001Th-Ac for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 08:57:50 -0400 Received: from mailout01.t-online.de ([194.25.134.80]:33630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T354e-0001TA-14 for emacs-orgmode@gnu.org; Sun, 19 Aug 2012 08:57:48 -0400 Content-Disposition: inline In-Reply-To: <87vcgfm7rx.fsf@gmail.com> 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 --QTprm0S8XgL7H0Dt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Well, sorry.. Before sending the mail I read the documentation on http://orgmode.org/worg/org-contribute.html#sec-4 regarding correct submission of patches... and did it wrong. So just for the records, here it is again. Hopefully, if I can contribute a `real' patch someday, the format will be right ;) Regards, philipp On Sun, Aug 19, 2012 at 01:38:10PM +0200, Nicolas Goaziou wrote: > Hello, > > Philipp Kroos writes: > > > It worked using customize, thanks. And thanks for the explanation, Nick. > > At least my approach to set the value would not work at all without an > > explicit call to org-set-emph-re, since it relied on the variable being > > already defined. > > It might be of minor interest, anyway, I've attached a patch-suggestion > > that would clearify the usage sufficiently, at least for me... > > At some point, emphasis markers will be hard-coded anyway. Though, it > will be easy to change their meaning during the export process. > > > Regards, > > -- > Nicolas Goaziou > --QTprm0S8XgL7H0Dt Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="0001-Minor-change-of-documentation.patch" Content-Transfer-Encoding: quoted-printable =46rom 6bd616854ccb981693c2178c5a9c0378cf3954aa Mon Sep 17 00:00:00 2001 =46rom: Philipp Kroos Date: Sun, 19 Aug 2012 14:34:56 +0200 Subject: [PATCH] Minor change of documentation * lisp/org.el org-emphasis-alist: Clearified the documentation The value is not changeable with a setq-form, the customization-interface should be used. The change describes that. TINYCHANGE --- lisp/org.el | 4 +++- 1 Datei ge=E4ndert, 3 Zeilen hinzugef=FCgt(+), 1 Zeile entfernt(-) diff --git a/lisp/org.el b/lisp/org.el index 3bf338d..c70d94d 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -3770,7 +3770,9 @@ characters, the face to be used by font-lock for high= lighting in Org-mode Emacs buffers, and the HTML tags to be used for this. For LaTeX export, see the variable `org-export-latex-emphasis-alist'. For DocBook export, see the variable `org-export-docbook-emphasis-alist'. -Use customize to modify this, or restart Emacs after changing it." +The value of org-emphasis-alist is used to calculate a regular expression +during startup; changing it manually may not have an effect. +You should use customize to modify this. Otherwise, see `org-set-emph-re'." :group 'org-appearance :set 'org-set-emph-re :type '(repeat --=20 1.7.11.4 --QTprm0S8XgL7H0Dt--