* how to enter ==
@ 2014-04-01 1:52 Rustom Mody
2014-04-01 2:04 ` briangpowell .
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Rustom Mody @ 2014-04-01 1:52 UTC (permalink / raw)
To: emacs-orgmode
If I enter code inline that has an == that is taken as an escape for code
So how to enter '==' literally
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how to enter ==
2014-04-01 1:52 how to enter == Rustom Mody
@ 2014-04-01 2:04 ` briangpowell .
2014-04-01 2:31 ` Rustom Mody
2014-04-02 9:41 ` Eric S Fraga
2014-07-26 4:38 ` stardiviner
2 siblings, 1 reply; 10+ messages in thread
From: briangpowell . @ 2014-04-01 2:04 UTC (permalink / raw)
To: Rustom Mody; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
* One thing that may work:
= ^H=
** In emacs that would be: = Cqh=
** In vi that would be = Cvh=
*** i.e. you enter a "Cntrl-h"--the literal control character ^H--which is
literally: "BackSpace"
--this may not work in this case; but, it works in a lot of strange cases.
* Could also make a variable: export EQUALS="="; etc.
On Mon, Mar 31, 2014 at 9:52 PM, Rustom Mody <rustompmody@gmail.com> wrote:
> If I enter code inline that has an == that is taken as an escape for code
> So how to enter '==' literally
>
>
[-- Attachment #2: Type: text/html, Size: 1033 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how to enter ==
2014-04-01 2:04 ` briangpowell .
@ 2014-04-01 2:31 ` Rustom Mody
2014-04-01 3:03 ` Rustom Mody
0 siblings, 1 reply; 10+ messages in thread
From: Rustom Mody @ 2014-04-01 2:31 UTC (permalink / raw)
To: briangpowell .; +Cc: emacs-orgmode
On Tue, Apr 1, 2014 at 7:34 AM, briangpowell . <briangpowellms@gmail.com> wrote:
> * One thing that may work:
>
> = ^H=
>
> ** In emacs that would be: = Cqh=
>
> ** In vi that would be = Cvh=
>
> *** i.e. you enter a "Cntrl-h"--the literal control character ^H--which is
> literally: "BackSpace"
>
> --this may not work in this case; but, it works in a lot of strange cases.
This doesn't work
>
> * Could also make a variable: export EQUALS="="; etc.
I dont understand -- are you recommending an org-macro?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how to enter ==
2014-04-01 2:31 ` Rustom Mody
@ 2014-04-01 3:03 ` Rustom Mody
0 siblings, 0 replies; 10+ messages in thread
From: Rustom Mody @ 2014-04-01 3:03 UTC (permalink / raw)
To: briangpowell .; +Cc: emacs-orgmode
On Tue, Apr 1, 2014 at 8:01 AM, Rustom Mody <rustompmody@gmail.com> wrote:
> On Tue, Apr 1, 2014 at 7:34 AM, briangpowell . <briangpowellms@gmail.com> wrote:
>> * One thing that may work:
>>
>> = ^H=
>>
>> ** In emacs that would be: = Cqh=
>>
>> ** In vi that would be = Cvh=
>>
>> *** i.e. you enter a "Cntrl-h"--the literal control character ^H--which is
>> literally: "BackSpace"
>>
>> --this may not work in this case; but, it works in a lot of strange cases.
>
> This doesn't work
>
>>
>> * Could also make a variable: export EQUALS="="; etc.
>
> I dont understand -- are you recommending an org-macro?
For the time being I am getting along with
==
in place of ==
ie two side-by-side FULL WIDTH EQUALS SIGN
Not very nice looking though...
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how to enter ==
2014-04-01 1:52 how to enter == Rustom Mody
2014-04-01 2:04 ` briangpowell .
@ 2014-04-02 9:41 ` Eric S Fraga
2014-04-02 11:08 ` Rustom Mody
2014-07-26 4:38 ` stardiviner
2 siblings, 1 reply; 10+ messages in thread
From: Eric S Fraga @ 2014-04-02 9:41 UTC (permalink / raw)
To: Rustom Mody; +Cc: emacs-orgmode
On Tuesday, 1 Apr 2014 at 02:52, Rustom Mody wrote:
> If I enter code inline that has an == that is taken as an escape for code
> So how to enter '==' literally
How about ~==~?
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.5h-660-gef207f
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how to enter ==
2014-04-02 9:41 ` Eric S Fraga
@ 2014-04-02 11:08 ` Rustom Mody
2014-04-02 13:09 ` Eric S Fraga
0 siblings, 1 reply; 10+ messages in thread
From: Rustom Mody @ 2014-04-02 11:08 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 314 bytes --]
On Wed, Apr 2, 2014 at 3:11 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> On Tuesday, 1 Apr 2014 at 02:52, Rustom Mody wrote:
> > If I enter code inline that has an == that is taken as an escape for code
> > So how to enter '==' literally
>
> How about ~==~?
>
>
In that case the full ~==~ appears on export :-(
[-- Attachment #2: Type: text/html, Size: 774 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how to enter ==
2014-04-02 11:08 ` Rustom Mody
@ 2014-04-02 13:09 ` Eric S Fraga
2014-04-02 14:28 ` Rustom Mody
0 siblings, 1 reply; 10+ messages in thread
From: Eric S Fraga @ 2014-04-02 13:09 UTC (permalink / raw)
To: Rustom Mody; +Cc: emacs-orgmode
On Wednesday, 2 Apr 2014 at 12:08, Rustom Mody wrote:
> On Wed, Apr 2, 2014 at 3:11 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
>
>> On Tuesday, 1 Apr 2014 at 02:52, Rustom Mody wrote:
>> > If I enter code inline that has an == that is taken as an escape for code
>> > So how to enter '==' literally
>>
>> How about ~==~?
>>
>>
> In that case the full ~==~ appears on export :-(
ummm, it doesn't for me but I guess you have the == within a larger code
segment? Maybe post an example? What version of org are you using?
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.5h-660-gef207f
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how to enter ==
2014-04-02 13:09 ` Eric S Fraga
@ 2014-04-02 14:28 ` Rustom Mody
2014-04-03 13:22 ` Eric S Fraga
0 siblings, 1 reply; 10+ messages in thread
From: Rustom Mody @ 2014-04-02 14:28 UTC (permalink / raw)
To: Rustom Mody, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]
On Wed, Apr 2, 2014 at 6:39 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> On Wednesday, 2 Apr 2014 at 12:08, Rustom Mody wrote:
> > On Wed, Apr 2, 2014 at 3:11 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> >
> >> On Tuesday, 1 Apr 2014 at 02:52, Rustom Mody wrote:
> >> > If I enter code inline that has an == that is taken as an escape for
> code
> >> > So how to enter '==' literally
> >>
> >> How about ~==~?
> >>
> >>
> > In that case the full ~==~ appears on export :-(
>
> ummm, it doesn't for me but I guess you have the == within a larger code
> segment? Maybe post an example? What version of org are you using?
>
>
Heres a file
----------
#+TITLE: Python for Unicode
#+OPTIONS: toc:nil
* Collections
However there is a catch: =⦃1,2,3⦄ ~==~ ⦃1,2,3,1,2⦄= \\
Remember that in python =set([1,2,3,1,2]) ~==~ set([1,2,3])= \\
----------
And now do C-c C-e h o
Do not the tilde's remain?
org-version: 8.2.5e
emacs started with -Q (except for putting this in the path)
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.5h-660-gef207f
>
--
http://www.the-magus.in
http://blog.languager.org
[-- Attachment #2: Type: text/html, Size: 2164 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how to enter ==
2014-04-02 14:28 ` Rustom Mody
@ 2014-04-03 13:22 ` Eric S Fraga
0 siblings, 0 replies; 10+ messages in thread
From: Eric S Fraga @ 2014-04-03 13:22 UTC (permalink / raw)
To: Rustom Mody; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 136 bytes --]
Ah, I see. The easy solution is to use ~ instead of = in any code
segment, as in the attached example of yours that I have modified.
[-- Attachment #2: t.org --]
[-- Type: text/x-org, Size: 192 bytes --]
#+TITLE: Python for Unicode
#+OPTIONS: toc:nil
* Collections
However there is a catch: ~⦃1,2,3⦄ == ⦃1,2,3,1,2⦄~ \\
Remember that in python ~set([1,2,3,1,2]) == set([1,2,3])~ \\
[-- Attachment #3: Type: text/plain, Size: 78 bytes --]
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.2.5h-660-gef207f
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: how to enter ==
2014-04-01 1:52 how to enter == Rustom Mody
2014-04-01 2:04 ` briangpowell .
2014-04-02 9:41 ` Eric S Fraga
@ 2014-07-26 4:38 ` stardiviner
2 siblings, 0 replies; 10+ messages in thread
From: stardiviner @ 2014-07-26 4:38 UTC (permalink / raw)
To: Rustom Mody; +Cc: emacs-orgmode
You should use Org-mode Symbols.
~\ equal~ (without space hehind ~\~). If you have string behind it, you
should append ~{}~, like this: ~\ equal{}test~ (without space too).
Rustom Mody <rustompmody@gmail.com> writes:
> If I enter code inline that has an == that is taken as an escape for code
> So how to enter '==' literally
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2014-07-26 4:41 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01 1:52 how to enter == Rustom Mody
2014-04-01 2:04 ` briangpowell .
2014-04-01 2:31 ` Rustom Mody
2014-04-01 3:03 ` Rustom Mody
2014-04-02 9:41 ` Eric S Fraga
2014-04-02 11:08 ` Rustom Mody
2014-04-02 13:09 ` Eric S Fraga
2014-04-02 14:28 ` Rustom Mody
2014-04-03 13:22 ` Eric S Fraga
2014-07-26 4:38 ` stardiviner
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).