emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: emacs-orgmode@gnu.org, drymer <drymer@autistici.org>,
	Kaushal Modi <kaushal.modi@gmail.com>
Subject: Re: Using org-entities to escape symbols
Date: Tue, 10 May 2016 11:02:31 -1000	[thread overview]
Message-ID: <m2post62zc.fsf@tsdye.com> (raw)
In-Reply-To: <m2eg99zmbz.fsf@andrew.cmu.edu>

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 <drymer@autistici.org> 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

  reply	other threads:[~2016-05-10 21:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-10 19:26 Using org-entities to escape symbols drymer
2016-05-10 19:38 ` Kaushal Modi
2016-05-10 19:53   ` Kaushal Modi
2016-05-10 20:25     ` drymer
2016-05-10 20:31       ` John Kitchin
2016-05-10 21:02         ` Thomas S. Dye [this message]
2016-05-10 20:33       ` Kaushal Modi
2016-05-10 21:24         ` drymer
2016-05-10 21:46           ` Kaushal Modi
2016-05-10 22:16             ` drymer
2016-05-10 22:51               ` Kaushal Modi
2016-05-10 23:00                 ` Kaushal Modi
2016-05-10 23:22                   ` Kaushal Modi
2016-05-11  5:14                   ` drymer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2post62zc.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=drymer@autistici.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    --cc=kaushal.modi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).