Re: [O] Help testing orgmode connection to interactive web environment

2015-08-22 Thread Bill Burdick
On Sun, Aug 23, 2015 at 9:24 AM Peter Salazar  wrote:

> In Chrome:
>
> The show/hide button doesn't seem to do anything.
> Clicking CLICKING THIS LINK gives "elisp links not supported."
> Edits don't seem to stick.
>

Thanks for the feedback, Peter!

Elisp is not supported because it's not connected to your Emacs -- we
haven't published the connection mode to Melpa yet because we wanted some
people to look it over first before I made an actual announcement.

I just put instructions on how to get leisure-connection-mode for Emacs
into the doc.  Until we publish the Melpa package, you can just clone the
GitHub repository if you want to connect to emacs.  The instructions go
over this in more detail.

Show/Hide just toggles visibility for top-level headlines that have the
hidden property set to true and in this document, the only hidden "slide"
(i.e. top-level headline) is the last one, which contains some settings, so
you have to be at the very bottom of the doc to see it that slide show up.

By changes not sticking, do you mean if you refresh the document they
disappear?  This is true because it's just loading a static web page.  If
you pop up Leisure from Emacs, it will be connected to what is in the
buffer, so your changes will persist.  When collaboration works again,
changes will be mirrored to other collaborators (the older version has
collaboration but the new version does not, yet).  For storage, we'll use
OAuth to hook up to GitHub, Dropbox, Google Drive, etc., as we get the
connectors implemented.


-- Bill


On Sat, Aug 22, 2015 at 4:42 PM, Bill Burdick 
> wrote:
>
>> Sorry -- I should have mentioned that it only supports Chromium/Chrome at
>> the moment!
>>
>> On Sat, Aug 22, 2015 at 11:04 PM David A. Gershman <
>> gersh...@dagertech.net> wrote:
>>
>>> I'm not sure what is supposed to happen, but I went to the link, allowed
>>> Javascript for the textcraft.org domain (via NoScript), and still just
>>> got a blue screen with the title "Loading Leisure..."...nothing else
>>> happened.
>>>
>>> I'm running Debian Jessie w/Iceweasel 38.2.0 (repository supplied).
>>>
>>>
>>> On 08/22/2015 07:49 AM, Bill Burdick wrote:
>>> > Hi there!
>>> >
>>> > I'm working on an open-source web-based platform for interactive
>>> > editable documents that uses orgmode format, called Leisure.  I have
>>> > minor mode that connects it to Emacs orgmode buffers so that edits are
>>> > mirrored between them.
>>> >
>>> > I've been working on this for quite a while and I'm putting together
>>> > an announcement document but I still wouldn't call it robust or
>>> > complete, yet.
>>> >
>>> > My goal is to put together a video and make an announcement soon but I
>>> > want to make sure I have covered a "reasonable amount" of orgmode and
>>> > also have a "reasonable amount" of neato functionality, so I'm looking
>>> > for brave souls who:
>>> >
>>> > - use orgmode regularly
>>> > - want an editable web representation that updates as they edit in
>>> Emacs
>>> > - won't mind some exciting adventures
>>> > - don't mind dirtying their hands with software that's still a bit
>>> buggy
>>> >
>>> > Anyone think they might be interested in helping me test this thing
>>> > and giving me their impressions?
>>> >
>>> > If you'd like to see what I have, so far, you can view the rough,
>>> > unpolished version of my Emacs-to-Leisure document (subject to drastic
>>> > change).  At this point, this link is in flux so your mileage may vary:
>>> >
>>> > http://textcraft.org/newLeisure/?load=elisp/README.org
>>> >
>>> >
>>> > -- Bill Burdick
>>>
>>>
>>>
>


Re: [O] Help testing orgmode connection to interactive web environment

2015-08-22 Thread Peter Salazar
In Chrome:

The show/hide button doesn't seem to do anything.
Clicking CLICKING THIS LINK gives "elisp links not supported."
Edits don't seem to stick.


On Sat, Aug 22, 2015 at 4:42 PM, Bill Burdick 
wrote:

> Sorry -- I should have mentioned that it only supports Chromium/Chrome at
> the moment!
>
> On Sat, Aug 22, 2015 at 11:04 PM David A. Gershman 
> wrote:
>
>> I'm not sure what is supposed to happen, but I went to the link, allowed
>> Javascript for the textcraft.org domain (via NoScript), and still just
>> got a blue screen with the title "Loading Leisure..."...nothing else
>> happened.
>>
>> I'm running Debian Jessie w/Iceweasel 38.2.0 (repository supplied).
>>
>>
>> On 08/22/2015 07:49 AM, Bill Burdick wrote:
>> > Hi there!
>> >
>> > I'm working on an open-source web-based platform for interactive
>> > editable documents that uses orgmode format, called Leisure.  I have
>> > minor mode that connects it to Emacs orgmode buffers so that edits are
>> > mirrored between them.
>> >
>> > I've been working on this for quite a while and I'm putting together
>> > an announcement document but I still wouldn't call it robust or
>> > complete, yet.
>> >
>> > My goal is to put together a video and make an announcement soon but I
>> > want to make sure I have covered a "reasonable amount" of orgmode and
>> > also have a "reasonable amount" of neato functionality, so I'm looking
>> > for brave souls who:
>> >
>> > - use orgmode regularly
>> > - want an editable web representation that updates as they edit in Emacs
>> > - won't mind some exciting adventures
>> > - don't mind dirtying their hands with software that's still a bit buggy
>> >
>> > Anyone think they might be interested in helping me test this thing
>> > and giving me their impressions?
>> >
>> > If you'd like to see what I have, so far, you can view the rough,
>> > unpolished version of my Emacs-to-Leisure document (subject to drastic
>> > change).  At this point, this link is in flux so your mileage may vary:
>> >
>> > http://textcraft.org/newLeisure/?load=elisp/README.org
>> >
>> >
>> > -- Bill Burdick
>>
>>
>>


[O] Bug: Displaying timeline for .org-file and then switching to including inactive timestamps will not include old and future inactive timestamps [8.3.1 (8.3.1-16-gf6aa53-elpa @ /Users/cube/.emacs.d/

2015-08-22 Thread Jakub Szypulka

Background: Open an org-file with only inactive timestamps. Execute
"C-c a L" to show the timeline for it. The timeline will be empty,
and only show the heading for today's date. This is correct. Now press
"v [" in order to include inactive timestamps in the timeline.

---

Expected result: the timeline will include all inactive timestamps,
including past and future ones.

---

Actual result: the timeline will only include inactive timestamps for today,
but not past or future ones. Furthermore, it will not allow the user to execute 
any
date-changing shortcuts such as "b" or "f".

---

Thanks a lot in advance for having a look!

Cheers
Jakub

Emacs  : GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
 of 2015-04-10 on builder10-9.porkrind.org
Package: Org-mode version 8.3.1 (8.3.1-16-gf6aa53-elpa @ 
/Users/cube/.emacs.d/elpa/org-20150810/)



Re: [O] Is Worg updating?

2015-08-22 Thread Thomas S . Dye

Achim Gratz  writes:

> Thomas S. Dye writes:
>> Let's add this link to the footnote, then.  I don't understand the
>> implications of including selected contrib files in the installation
>> using the build system.  Is it the case that using this process means
>> that it is possible to use org-babel-do-load-languages to load, e.g.,
>> ob-oz, which is in contrib?
>
> Yes, these files get installed like all the other in-core files and you
> shouldn't need to set up anything special as long as there are no
> further external dependencies (which you would need to deal with by
> customization initially).

Done.  Thanks.

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] Is Worg updating?

2015-08-22 Thread Achim Gratz
Thomas S. Dye writes:
> Let's add this link to the footnote, then.  I don't understand the
> implications of including selected contrib files in the installation
> using the build system.  Is it the case that using this process means
> that it is possible to use org-babel-do-load-languages to load, e.g.,
> ob-oz, which is in contrib?

Yes, these files get installed like all the other in-core files and you
shouldn't need to set up anything special as long as there are no
further external dependencies (which you would need to deal with by
customization initially).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs




Re: [O] Is Worg updating?

2015-08-22 Thread Thomas S . Dye

Achim Gratz  writes:

> Thomas S. Dye writes:
>> I recently pushed a change to the Babel languages table on Worg, but it
>> doesn't show up.  Magit didn't complain about the push, so I'm thinking
>> Worg might not be updating?
>
> Press $ in the magit buffer to see what the post-commit hook sent back.

Unfortunately, the magit process buffer disappeared when I restarted
emacs to register the fake org package.

> BTW, looking at the footnote you edited, it seems I should remind
> everyone of the proper way to deal with contrib/
>
> http://orgmode.org/worg/dev/org-build-system.html#sec-4-1-2

Let's add this link to the footnote, then.  I don't understand the
implications of including selected contrib files in the installation
using the build system.  Is it the case that using this process means
that it is possible to use org-babel-do-load-languages to load, e.g.,
ob-oz, which is in contrib?

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] Help testing orgmode connection to interactive web environment

2015-08-22 Thread Bill Burdick
Sorry -- I should have mentioned that it only supports Chromium/Chrome at
the moment!

On Sat, Aug 22, 2015 at 11:04 PM David A. Gershman 
wrote:

> I'm not sure what is supposed to happen, but I went to the link, allowed
> Javascript for the textcraft.org domain (via NoScript), and still just
> got a blue screen with the title "Loading Leisure..."...nothing else
> happened.
>
> I'm running Debian Jessie w/Iceweasel 38.2.0 (repository supplied).
>
>
> On 08/22/2015 07:49 AM, Bill Burdick wrote:
> > Hi there!
> >
> > I'm working on an open-source web-based platform for interactive
> > editable documents that uses orgmode format, called Leisure.  I have
> > minor mode that connects it to Emacs orgmode buffers so that edits are
> > mirrored between them.
> >
> > I've been working on this for quite a while and I'm putting together
> > an announcement document but I still wouldn't call it robust or
> > complete, yet.
> >
> > My goal is to put together a video and make an announcement soon but I
> > want to make sure I have covered a "reasonable amount" of orgmode and
> > also have a "reasonable amount" of neato functionality, so I'm looking
> > for brave souls who:
> >
> > - use orgmode regularly
> > - want an editable web representation that updates as they edit in Emacs
> > - won't mind some exciting adventures
> > - don't mind dirtying their hands with software that's still a bit buggy
> >
> > Anyone think they might be interested in helping me test this thing
> > and giving me their impressions?
> >
> > If you'd like to see what I have, so far, you can view the rough,
> > unpolished version of my Emacs-to-Leisure document (subject to drastic
> > change).  At this point, this link is in flux so your mileage may vary:
> >
> > http://textcraft.org/newLeisure/?load=elisp/README.org
> >
> >
> > -- Bill Burdick
>
>
>


Re: [O] HTML Export, CSS Styling

2015-08-22 Thread David A. Gershman
Thank you (and to Nicolas Goaziou and Scott Randby as well)!!!  After
going through so many docs, blogs, articles, etc., I must have just
skimmed over that first paragraph.  And, although it was not something
I've looked for, thanks for the quick intro to Macros!  That's something
new I'll now be reading up on until I have a headache. :)

Thank again!

On 08/22/2015 12:50 AM, Christian Moe wrote:
> Hi,
>
> See the first paragraph of the section "Quoting HTML tags" in the
> manual.
>
> In your example, you could do:
>
> This is the paragraph body that will allow *bold* or /italic/ or
> even _underline_, but what if I want only @@html:@@THIS@@html:@@ word to have styling?  Such as making
> it red to indicate importance?
>
> For repeat use and/or export of special styling to other backends than
> ODT, you may want to simplify things a bit with macros.
>
> Use e.g. this in the document head:
>
> #+MACRO: red @@html:@@$1@@html:@@
>
> (reload the document or do C-c C-c on the above line to make Org notice
> you've added it). Then you can do 
>
> I want not only {{{red(THIS)}}} word to have styling, but
> {{{red(THESE\, TOO)}}}.
>
> Note that commas separate arguments to macros, so you need to
> backslash-escape any commas appearing in the styled text, as in the
> above example.
>
> Going further, you can use a macro with two arguments to have a choice
> of colors:
>
> #+MACRO: color @@html:@@$2@@html:@@
>
> I want {{{color(red, THIS)}}} word to be colored red, but
> {{{color(green, THIS ONE)}}}? to be green.
>
> where the first argument (before the unescaped comma) is a color keyword
> or code CSS can recognize.
>
> (As an alternative to macros, some people define their own link types
> with concomitant export functions just for styling text and hiding all
> the necessary brackets out of sight. Requires elisp, offends purist
> views of what links should mean, and is bad for document
> portability. Originally my idea, I'm afraid.)
>
> Hope this helps,
>
> Christian
>
> David A. Gershman writes:
>
>> I've been reading all evening about HTML exporting, style sheets, etc. 
>> Maybe I've been inundated with information, but I haven't been able to
>> determine an answer to my question: can text in the middle of a
>> paragraph by styled?  For example:
>>
>> * Heading 1
>>This is the paragraph body that will allow *bold*
>>or /italic/ or even _underline_, but what if I want
>>only THIS word to have styling?  Such as making it
>>red to indicate importance?
>>
>>
>> I'm working on lecture notes and I was planning on a  tag
>> so I can set the color and, ultimately, a 'title' attribute for a
>> definition when hovered.  However, I'm only finding the "#+HTML" feature
>> within org which seems to need to be on a line of its own.  Howver, the
>> export would convert:
>>
>>   This is the paragraph body that will allow *bold*
>>or /italic/ or even _underline_, but what if I want
>>only
>> #+HTML: THIS
>>word to have...
>>
>> to 3 different paragraphs:
>>
>>This is the paragraph body that will allow *bold*
>>or /italic/ or even _underline_, but what if I want
>>only
>>THIS
>>word to have...
>>
>> Am I missing something or is "in-line styling" just not a feature within
>> Org (yet?)?
>>
>> Thanks!
>>
>> --David




Re: [O] Is Worg updating?

2015-08-22 Thread David A. Gershman
I found that "proper" way while recently updating my own org install. 
However, I did notice "ob-ditaa" is part of the org package now, but it
seems to point to $EMACS_PATH/contrib/scripts.

Did I miss some instruction as to how/where to specify the installation
of "contrib/scripts/{files}" via the /make install/ general method?

Thanks!

P.S. My current solution was to manually copy it.

On 08/22/2015 12:29 PM, Achim Gratz wrote:
> Thomas S. Dye writes:
>> I recently pushed a change to the Babel languages table on Worg, but it
>> doesn't show up.  Magit didn't complain about the push, so I'm thinking
>> Worg might not be updating?
> Press $ in the magit buffer to see what the post-commit hook sent back.
>
> BTW, looking at the footnote you edited, it seems I should remind
> everyone of the proper way to deal with contrib/
>
> http://orgmode.org/worg/dev/org-build-system.html#sec-4-1-2
>
>
> Regards,
> Achim.



Re: [O] Help testing orgmode connection to interactive web environment

2015-08-22 Thread David A. Gershman
I'm not sure what is supposed to happen, but I went to the link, allowed
Javascript for the textcraft.org domain (via NoScript), and still just
got a blue screen with the title "Loading Leisure..."...nothing else
happened.

I'm running Debian Jessie w/Iceweasel 38.2.0 (repository supplied).


On 08/22/2015 07:49 AM, Bill Burdick wrote:
> Hi there!
>
> I'm working on an open-source web-based platform for interactive
> editable documents that uses orgmode format, called Leisure.  I have
> minor mode that connects it to Emacs orgmode buffers so that edits are
> mirrored between them.
>
> I've been working on this for quite a while and I'm putting together
> an announcement document but I still wouldn't call it robust or
> complete, yet.
>
> My goal is to put together a video and make an announcement soon but I
> want to make sure I have covered a "reasonable amount" of orgmode and
> also have a "reasonable amount" of neato functionality, so I'm looking
> for brave souls who:
>
> - use orgmode regularly
> - want an editable web representation that updates as they edit in Emacs
> - won't mind some exciting adventures
> - don't mind dirtying their hands with software that's still a bit buggy
>
> Anyone think they might be interested in helping me test this thing
> and giving me their impressions?
>
> If you'd like to see what I have, so far, you can view the rough,
> unpolished version of my Emacs-to-Leisure document (subject to drastic
> change).  At this point, this link is in flux so your mileage may vary:
>
> http://textcraft.org/newLeisure/?load=elisp/README.org  
>
>
> -- Bill Burdick




Re: [O] Is Worg updating?

2015-08-22 Thread Achim Gratz
Thomas S. Dye writes:
> I recently pushed a change to the Babel languages table on Worg, but it
> doesn't show up.  Magit didn't complain about the push, so I'm thinking
> Worg might not be updating?

Press $ in the magit buffer to see what the post-commit hook sent back.

BTW, looking at the footnote you edited, it seems I should remind
everyone of the proper way to deal with contrib/

http://orgmode.org/worg/dev/org-build-system.html#sec-4-1-2


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

DIY Stuff:
http://Synth.Stromeko.net/DIY.html




[O] Is Worg updating?

2015-08-22 Thread Thomas S . Dye
Aloha all,

I recently pushed a change to the Babel languages table on Worg, but it
doesn't show up.  Magit didn't complain about the push, so I'm thinking
Worg might not be updating?

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] Stable releases

2015-08-22 Thread Thomas S . Dye

Achim Gratz  writes:

> Thomas S. Dye writes:
>> However, the package manager doesn't (yet) recognize this package and
>> when I download ob-* packages, org-2015* is also downloaded.
>
> Did you restart Emacs?  The package files need not be byte-compiled (and
> shouldn't, IMHO).

No, but when I did that just now everything worked as expected.

Many thanks!

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] Stable releases

2015-08-22 Thread Achim Gratz
Thomas S. Dye writes:
> However, the package manager doesn't (yet) recognize this package and
> when I download ob-* packages, org-2015* is also downloaded.

Did you restart Emacs?  The package files need not be byte-compiled (and
shouldn't, IMHO).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs




Re: [O] Stable releases

2015-08-22 Thread Thomas S . Dye

Thomas S. Dye  writes:

> Achim Gratz  writes:
>
>> Thomas S. Dye writes:
>>> Excellent.  Thanks!  Would it be useful to distribute org-21991231 on
>>> elpa?
>>
>> No, not at all…  Unless you want to make sure that noone ever gets an
>> update until the next millenium starts.
>
> No, I don't want that.  Thanks for the explanation.  I'm satisfied
> knowing I won't inadvertently download Org mode from elpa again, at
> least until several months after my 247th birthday :)

Oops, I spoke too soon.  I created the org-21991231 folder where all the
other emacs packages are installed, added org-pkg.el with the line you
suggested, and byte-compiled to org-pkg.elc.

However, the package manager doesn't (yet) recognize this package and
when I download ob-* packages, org-2015* is also downloaded.

Also, org-21991231 doesn't show up in the package manager.

Is there a registration step?

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] Stable releases

2015-08-22 Thread Thomas S . Dye

Achim Gratz  writes:

> Thomas S. Dye writes:
>> Excellent.  Thanks!  Would it be useful to distribute org-21991231 on
>> elpa?
>
> No, not at all…  Unless you want to make sure that noone ever gets an
> update until the next millenium starts.

No, I don't want that.  Thanks for the explanation.  I'm satisfied
knowing I won't inadvertently download Org mode from elpa again, at
least until several months after my 247th birthday :)

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] Stable releases

2015-08-22 Thread Achim Gratz
Thomas S. Dye writes:
> Excellent.  Thanks!  Would it be useful to distribute org-21991231 on
> elpa?

No, not at all…  Unless you want to make sure that noone ever gets an
update until the next millenium starts.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds




Re: [O] Stable releases

2015-08-22 Thread Thomas S . Dye
Aloha Achim,

Achim Gratz  writes:

> Thomas S. Dye writes:
>> I do have a technical question that you or someone else on the list
>> might be able to answer for me.  When I downloaded the Babel languages
>> from melpa just now, the elpa version of Org mode was also downloaded
>> and installed, even though I didn't ask for it.  Why is this?
>
> Although you don't say which package you tried, I would guess that the
> "org" package is specified as a dependency, likely with some minimum
> version.

I tried the ob-* packages and I'm not sure which one(s) might have
triggered this.

>
>> Can it be disabled? Must the elpa Org mode be installed and activated
>> in order for the Org mode packages to work?
>
> From the point of package manager anything installed from the outside
> doesn't exist.  You can fake that in various way, for instance by
> creating a package directory "org-21991231" and putting an org-pkg.el
> with
>
> (define-package "org" "21991231" "Fake Org package for dependency resolution" 
> 'nil)
>
> in it.

Excellent.  Thanks!  Would it be useful to distribute org-21991231 on
elpa?

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] Stable releases

2015-08-22 Thread Achim Gratz
Thomas S. Dye writes:
> I do have a technical question that you or someone else on the list
> might be able to answer for me.  When I downloaded the Babel languages
> from melpa just now, the elpa version of Org mode was also downloaded
> and installed, even though I didn't ask for it.  Why is this?

Although you don't say which package you tried, I would guess that the
"org" package is specified as a dependency, likely with some minimum
version.

> Can it be disabled? Must the elpa Org mode be installed and activated
> in order for the Org mode packages to work?

>From the point of package manager anything installed from the outside
doesn't exist.  You can fake that in various way, for instance by
creating a package directory "org-21991231" and putting an org-pkg.el
with

(define-package "org" "21991231" "Fake Org package for dependency resolution" 
'nil)

in it.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs




Re: [O] Stable releases

2015-08-22 Thread Thomas S . Dye

Suvayu Ali  writes:

> Hi Tom,
>
> On Thu, Aug 20, 2015 at 01:56:43PM -1000, Thomas S. Dye wrote:
>> 
>> Bastien  writes:
>> 
>> > Hi Rasmus,
>> >
>> > Rasmus  writes:
>> >
>> >> One data point: I can absolutely not be bothered using anything that is
>> >> not at least in contrib.
>> >
>> > Just out of curiosity: don't you use the Emacs package system at all?
>> >
>> > I used not to use it, but thanks to recent improvements, I find it
>> > quite good now -- and I would not mind using Org packages from there.
>> 
>> The package system appears to be quite popular in the Org mode world.
>
> The summary you provide below is very impressive, thanks for compiling
> it. It would be a nice addition to worg, with a date attached to it of
> course!  It's bound to go stale at some point :-p.
>
> However I would like to point out, the documentation for many of these
> extensions is rather spreadout and thin.  So I agree with Rasmus, as in,
> contrib is much more accessible, but I think it also encourages authors
> to contribute documentation on worg (after all it's in the official
> repository).  That said, I'm not sure why some of the extensions, like
> ox-reveal, are _not_ in contrib.  AFAIU, it's quite mature.

Rasmus' ranking of org mode sources interested me, so I tried to satisfy
my curiosity is all.  I hope you didn't think I was disagreeing with his
decision not to be bothered using Org mode packages.  I certainly
understand it.  I made the same decision wrt the elpa version of Org
mode after struggling with mixed installations--life is too short!

I do have a technical question that you or someone else on the list
might be able to answer for me.  When I downloaded the Babel languages
from melpa just now, the elpa version of Org mode was also downloaded
and installed, even though I didn't ask for it.  Why is this?  Can it be
disabled? Must the elpa Org mode be installed and activated in order for
the Org mode packages to work?

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] HTML Export, CSS Styling

2015-08-22 Thread Scott Randby

On 08/22/2015 12:13 AM, David A. Gershman wrote:

I've been reading all evening about HTML exporting, style sheets, etc.
Maybe I've been inundated with information, but I haven't been able to
determine an answer to my question: can text in the middle of a
paragraph by styled?  For example:

* Heading 1
This is the paragraph body that will allow *bold*
or /italic/ or even _underline_, but what if I want
only THIS word to have styling?  Such as making it
red to indicate importance?


I'm working on lecture notes and I was planning on a  tag
so I can set the color and, ultimately, a 'title' attribute for a
definition when hovered.  However, I'm only finding the "#+HTML" feature
within org which seems to need to be on a line of its own.  Howver, the
export would convert:

   This is the paragraph body that will allow *bold*
or /italic/ or even _underline_, but what if I want
only
 #+HTML: THIS
word to have...

to 3 different paragraphs:

This is the paragraph body that will allow *bold*
or /italic/ or even _underline_, but what if I want
only
THIS
word to have...

Am I missing something or is "in-line styling" just not a feature within
Org (yet?)?


I use inline styling all the time with code like this: @@html:id="con">interest@@


I set the properties of con in a stylesheet, but they can also be put 
into the org file directly.


Scott Randby



Thanks!

--David






[O] Help testing orgmode connection to interactive web environment

2015-08-22 Thread Bill Burdick
Hi there!

I'm working on an open-source web-based platform for interactive editable
documents that uses orgmode format, called Leisure.  I have minor mode that
connects it to Emacs orgmode buffers so that edits are mirrored between
them.

I've been working on this for quite a while and I'm putting together an
announcement document but I still wouldn't call it robust or complete, yet.

My goal is to put together a video and make an announcement soon but I want
to make sure I have covered a "reasonable amount" of orgmode and also have
a "reasonable amount" of neato functionality, so I'm looking for brave
souls who:

- use orgmode regularly
- want an editable web representation that updates as they edit in Emacs
- won't mind some exciting adventures
- don't mind dirtying their hands with software that's still a bit buggy

Anyone think they might be interested in helping me test this thing and
giving me their impressions?

If you'd like to see what I have, so far, you can view the rough,
unpolished version of my Emacs-to-Leisure document (subject to drastic
change).  At this point, this link is in flux so your mileage may vary:

http://textcraft.org/newLeisure/?load=elisp/README.org


-- Bill Burdick


[O] export options and exporting subtrees

2015-08-22 Thread Eric Abrahamsen
I'm not sure why I've never noticed this issue before, but...

Is it intentional that, when exporting a subtree, EXPORT_OPTIONS lines
at the top of the file (or EXPORT_OPTIONS properties on parent
headlines) are ignored? I have `org-use-property-inheritance' set to t.

I'm not wrong that that's what happens, am I? I found this a bit
surprising, but I guess I could understand why it might happen. Is it
intentional?

Thanks,
Eric




Re: [O] HTML Export, CSS Styling

2015-08-22 Thread Christian Moe
Hi,

See the first paragraph of the section "Quoting HTML tags" in the
manual.

In your example, you could do:

This is the paragraph body that will allow *bold* or /italic/ or
even _underline_, but what if I want only @@html:@@THIS@@html:@@ word to have styling?  Such as making
it red to indicate importance?

For repeat use and/or export of special styling to other backends than
ODT, you may want to simplify things a bit with macros.

Use e.g. this in the document head:

#+MACRO: red @@html:@@$1@@html:@@

(reload the document or do C-c C-c on the above line to make Org notice
you've added it). Then you can do 

I want not only {{{red(THIS)}}} word to have styling, but
{{{red(THESE\, TOO)}}}.

Note that commas separate arguments to macros, so you need to
backslash-escape any commas appearing in the styled text, as in the
above example.

Going further, you can use a macro with two arguments to have a choice
of colors:

#+MACRO: color @@html:@@$2@@html:@@
   
I want {{{color(red, THIS)}}} word to be colored red, but
{{{color(green, THIS ONE)}}}? to be green.

where the first argument (before the unescaped comma) is a color keyword
or code CSS can recognize.

(As an alternative to macros, some people define their own link types
with concomitant export functions just for styling text and hiding all
the necessary brackets out of sight. Requires elisp, offends purist
views of what links should mean, and is bad for document
portability. Originally my idea, I'm afraid.)

Hope this helps,

Christian

David A. Gershman writes:

> I've been reading all evening about HTML exporting, style sheets, etc. 
> Maybe I've been inundated with information, but I haven't been able to
> determine an answer to my question: can text in the middle of a
> paragraph by styled?  For example:
>
> * Heading 1
>This is the paragraph body that will allow *bold*
>or /italic/ or even _underline_, but what if I want
>only THIS word to have styling?  Such as making it
>red to indicate importance?
>
>
> I'm working on lecture notes and I was planning on a  tag
> so I can set the color and, ultimately, a 'title' attribute for a
> definition when hovered.  However, I'm only finding the "#+HTML" feature
> within org which seems to need to be on a line of its own.  Howver, the
> export would convert:
>
>   This is the paragraph body that will allow *bold*
>or /italic/ or even _underline_, but what if I want
>only
> #+HTML: THIS
>word to have...
>
> to 3 different paragraphs:
>
>This is the paragraph body that will allow *bold*
>or /italic/ or even _underline_, but what if I want
>only
>THIS
>word to have...
>
> Am I missing something or is "in-line styling" just not a feature within
> Org (yet?)?
>
> Thanks!
>
> --David




Re: [O] HTML Export, CSS Styling

2015-08-22 Thread Nicolas Goaziou
Hello,

"David A. Gershman"  writes:

> I've been reading all evening about HTML exporting, style sheets, etc. 
> Maybe I've been inundated with information, but I haven't been able to
> determine an answer to my question: can text in the middle of a
> paragraph by styled?  For example:
>
> * Heading 1
>This is the paragraph body that will allow *bold*
>or /italic/ or even _underline_, but what if I want
>only THIS word to have styling?  Such as making it
>red to indicate importance?
>
>
> I'm working on lecture notes and I was planning on a  tag
> so I can set the color and, ultimately, a 'title' attribute for a
> definition when hovered.  However, I'm only finding the "#+HTML" feature
> within org which seems to need to be on a line of its own.  Howver, the
> export would convert:
>
>   This is the paragraph body that will allow *bold*
>or /italic/ or even _underline_, but what if I want
>only
> #+HTML: THIS
>word to have...
>
> to 3 different paragraphs:
>
>This is the paragraph body that will allow *bold*
>or /italic/ or even _underline_, but what if I want
>only
>THIS
>word to have...

Inline HTML code require export snippets, e.g.,

  This is the paragraph body that will allow *bold* or /italic/ or even
  _underline_, but what if I want only @@html:@@THIS@@html:
  @@ word to have...


Regards,

-- 
Nicolas Goaziou



[O] 3 thanks (was: Re: Bug: Capturing to datetree with inactive timestamp messes up level of heading)

2015-08-22 Thread Gregor Zattler
Hi Nicolas,
* Nicolas Goaziou  [22. Aug. 2015]:
> Gregor Zattler  writes:
>> customizing org to add timestamps in datetrees via …
>> (org-datetree-add-timestamp (quote inactive) nil nil "Add an
>> inactive time stamp when create a datetree entry.")… and
>> activating a minimal capture template which captures to a
>> datetree results in:
>>
>> a)
>>
>> * 2015  
>> ** 2015-08 August   
>> *** 2015-08-19 Mittwoch 
>> [2015-08-19 Mi] 
>> ** actual entry heading of captured item
>>
>> The heading of the newly captured item is at level 2 instead at
>> level 4.  I consider this to be a bug.  A second capture item to
>> the same day is correctly created at level 4 (and bevor the first
>> captured item which does not belong to the same (or any) day in
>> the datetree).
> 
> Fixed. Thank you.

Thanks.
>> 2)
> This is a different feature. Since it belongs to the captured entry, the
> timestamp should be defined in your capture template (e.g. "%t"
> placeholder) instead.

Thanks.
>> 3)
> See above. You can use "%T".

Thanks again.

Ciao, Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-