From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Using org-entities to escape symbols Date: Tue, 10 May 2016 11:02:31 -1000 Message-ID: References: <3f18c497-dae3-1cf4-8c48-d7efab07a766@autistici.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Eo1-0003sH-GZ for emacs-orgmode@gnu.org; Tue, 10 May 2016 17:03:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0Eny-0006j8-5s for emacs-orgmode@gnu.org; Tue, 10 May 2016 17:03:01 -0400 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:46521) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1b0Enx-0006fp-SP for emacs-orgmode@gnu.org; Tue, 10 May 2016 17:02:58 -0400 In-reply-to: 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" To: John Kitchin Cc: emacs-orgmode@gnu.org, drymer , Kaushal Modi Aloha John, Nice! I had to (require 's) in order to evaluate the function (s-starts-with?). All the best, Tom John Kitchin writes: > you might find this approach helpful: > http://kitchingroup.cheme.cmu.edu/blog/2015/11/21/Insert-org-entities-into-org-mode-with-helm/ > > drymer writes: > >> Hi >> I didn't explain myself. It inserts four *, as it didn't find the >> entity. I'm using emacs 24.5.3 and org-mode 8.34, which is the maint >> branch. I've also tried with plain emacs without configuration. >> >> Kaushal Modi: >>>> >>>> On Tue, May 10, 2016 at 3:28 PM drymer wrote: >>>> >>>>> I evaluated the >>>>> functions, and supposedly it should something like \ast when executing >>>>> C-u *, but it doesn't happen. >>>>> >>>> >>> I reread your initial email.. so look like you see nothing getting inserted >>> when in do "C-u *"? That is odd. >>> >>> Can you do the following and see if things work as intended? If they do, >>> then there's something conflicting with your config: >>> >>> 1. Launch emacs -Q >>> 2. Paste the whole code block from >>> http://emacs.stackexchange.com/a/16746/115 to the *scratch* buffer and >>> evaluate it. >>> 3. Do C-x b something.org >>> 4. M-x org-mode >>> 5. Hit "C-u *" >>> 6. You should see an asterisk being displayed, which is actually a >>> prettified version of "\ast{}" which is what actually got inserted. >>> >>> Also, please report your emacs and org-mode versions. I am using the latest >>> build of emacs-25 branch from git and the latest build of org-mode master >>> branch git. >>> -- Thomas S. Dye http://www.tsdye.com