From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Customize html formatting tags for export Date: Thu, 29 Jan 2015 12:10:48 +0100 Message-ID: <87y4oldeq9.fsf@wmi.amu.edu.pl> References: <877fw6wsdm.fsf@gmail.com> <878ugmei20.fsf@wmi.amu.edu.pl> <8761bpvotz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGmzx-0003XA-CB for emacs-orgmode@gnu.org; Thu, 29 Jan 2015 06:10:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGmzt-0004WD-Am for emacs-orgmode@gnu.org; Thu, 29 Jan 2015 06:10:57 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:47376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGmzt-0004Vs-3q for emacs-orgmode@gnu.org; Thu, 29 Jan 2015 06:10:53 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 7C2744AD70 for ; Thu, 29 Jan 2015 12:10:52 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FdzdV09DXn40 for ; Thu, 29 Jan 2015 12:10:52 +0100 (CET) Received: from localhost (unknown [150.254.81.143]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 55BE14AD6D for ; Thu, 29 Jan 2015 12:10:52 +0100 (CET) In-reply-to: <8761bpvotz.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: orgmode list On 2015-01-29, at 11:55, Tory S. Anderson wrote: > Thanks. With that info I did this: > > --8<---------------cut here---------------start------------->8--- > ;; convert =C-x=a to C-x, *awesome* to awesome > (setq org-html-text-markup-alist '((bold . "%s") ; *text* > (code . "%s") ; ~text~ > (italic . "%s") ; /text/ > (strike-through . "%s") ; +text+ > (underline . "%s") ; _text_ > (verbatim . "%s"))) ; =text= > --8<---------------cut here---------------end--------------->8--- > > It seems to work great! I failed finding a way to make this just a buffer local change (e.g. only when I'm writing in my tech blog org file), but I can live with that. While we are at dirty hacks: did you try make-local-variable (which see)? Hth, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University