[O] export to html stuck in loop scanning for org IDs

2015-07-23 Thread Bruce Gilstrap
Hello,

Until today, I had been running org-mode version 8.2.10 in GNU Emacs 24.3.1
on Windows 7 Ultimate (Service Pack 1). In an attempt to work around a
problem with this version of org-mode, I updated org-mode to the latest
daily snapshot (version 8.3beta). This fixed my previous problem but
introduced another.

When I attempt to export to HTML, the process gets stuck in a loop scanning
for IDs. The entry in the *Message* buffer reads 680 unique files scanned
for IDs [2 times] where the number of times varies with how long I let it
run before pressing C-g.

This happens consistently with one file that I successfully exported last
Friday under 8.2.10 but does not happen at all with some other files. So
far, I have been unable to isolate exactly what it is about this file that
causes the export to get stuck in this loop. I can do the legwork to track
it down if someone more knowledgeable about the exporter can point me in
the right direction. It seems obvious that it has something to do with IDs,
but the files that still export properly contain IDs, too, so the issue
isn't as simple as the existence of IDs in the file.

Here are the last few lines in the *Messages* buffer, in case they might be
helpful:

org-babel-exp process R at line 5400...
executing R code block...
Code block evaluation complete.
org-babel-exp process html at line 7062...
680 unique files scanned for IDs [2 times]
Quit

Thanks,
Bruce


[O] Exporting Org Agenda - todo.txt and todo.txt - Org Files + Suggestion/Feature request.

2015-07-23 Thread Tim O'Callaghan
Hi

I have a request and a suggestion.

Request:
Does anyone else out there generate todo.txt files[1] from
org/org-agenda? If you do, how do you do it. Or if not, do you have a
good idea about how if it can be approximated in an agenda
configuration?

Suggestion/Feature request:
An org-import mode/file format. The use case is about changing heading
states, properties, contexts, contents in a corpus of org documents
like the corpus represented by org-agenda-files, by importing file(s)
external to the document corpus.

The basic idea is a well defined reverse of an export/agenda. At the
moment i know of no explicitly defined mechanism for org data importing,
making sync/round-tripping between other systems a tedious task. If
there was an 'official' mechanism for importing from an external
source, then people can focus on what to integrate with rather than
how to integrate.

The easiest way to think about this is a kind of patch file format
that uses headline instead of line numbers to anchor the changes. The
emacs workflow i
imagine, should be something like patch, with ediff for the broken
patches.

Rationale:
I've moved to a todotxt file a form of 'shared agenda' for myself and
others i work with. Rather than needing emacs and my org-file corpus
everywhere, I can sync and share a single todo.txt. The todo.txt
contains our next actions/todos, decoupling the requirement that
everyone else has to use emacs too. The  use their own system and we
maintain the the tasks together in the shared todotxt file. I also use
the original todo.txt bash script to give me an agenda in my shell,
and now it is also in my favourite pomodoro app clockwork tomato[2].

Tim.
[1] (http://todotxt.com)
[2] 
(https://play.google.com/store/apps/details?id=net.phlam.android.clockworktomatohl=en)



Re: [O] Capture-like browser plugin?

2015-07-23 Thread Loris Bennett
Peter Davis p...@pfdstudio.com writes:

 Frequently when I'm doing a Web search and find pages I like, I want
 to save a link to the page, along with the title and perhaps a few
 notes. Something like org-mode's capture would be great, but I'd like
 to initiate it from a browser. I imaging hitting a plugin button on
 the the browser's toolbar to open emacs via emacsclient, and
 essentially do a capture with the link and whatever text I care to
 enter.

 Has anyone seen or heard of or written something like this?

 Thanks!
 -pd


You probably want to look at this:

http://orgmode.org/worg/org-contrib/org-protocol.html

I have capture set up for the Conkeror browser.

Cheers,

Loris

-- 
This signature is currently under construction.




Re: [O] Capture-like browser plugin?

2015-07-23 Thread Jonathan Leech-Pepin
Hello Peter,

On 23 July 2015 at 10:18, Peter Davis p...@pfdstudio.com wrote:


 Frequently when I'm doing a Web search and find pages I like, I want to
 save a link to the page, along with the title and perhaps a
 few notes. Something like org-mode's capture would be great, but I'd like
 to initiate it from a browser. I imaging hitting a plugin
 button on the the browser's toolbar to open emacs via emacsclient, and
 essentially do a capture with the link and whatever text I
 care to enter.

 Has anyone seen or heard of or written something like this?


You want to take a look at [[org-protocol][
http://orgmode.org/worg/org-contrib/org-protocol.html]].  It can do more or
less exactly
what you're describing (with even additional options/features depending on
how you configure the template and the browser-side options.

Regards,
Jon


 Thanks!
 -pd




Re: [O] Capture-like browser plugin?

2015-07-23 Thread Daniele Pizzolli
On Thu, Jul 23 2015, Peter Davis wrote:

 Frequently when I'm doing a Web search and find pages I like, I want
 to save a link to the page, along with the title and perhaps a few
 notes. Something like org-mode's capture would be great, but I'd like
 to initiate it from a browser. I imaging hitting a plugin button on
 the the browser's toolbar to open emacs via emacsclient, and
 essentially do a capture with the link and whatever text I care to
 enter.


 Has anyone seen or heard of or written something like this?

Hello,
if you use firefox, see:

https://addons.mozilla.org/it/firefox/addon/org-mode-capture/

The latest version convert html links to org-links (disclaimer: it is my
little contribution).

You described what org-capure does so well that I am surprised you where
not able to find it!

Some weeks ago something similar for chrome was announced here in the
list.  You may want to search into the archives.

Best,
Daniele



[O] Capture-like browser plugin?

2015-07-23 Thread Peter Davis

Frequently when I'm doing a Web search and find pages I like, I want to save a 
link to the page, along with the title and perhaps a
few notes. Something like org-mode's capture would be great, but I'd like to 
initiate it from a browser. I imaging hitting a plugin
button on the the browser's toolbar to open emacs via emacsclient, and 
essentially do a capture with the link and whatever text I
care to enter.

Has anyone seen or heard of or written something like this?

Thanks!
-pd



Re: [O] Capture-like browser plugin?

2015-07-23 Thread Peter Davis

Wow! Thanks for the quick and helpful responses! I should have known this would 
be a solved problem.

Cheers!
-pd



Re: [O] Capture-like browser plugin?

2015-07-23 Thread Cook, Malcolm
 Frequently when I'm doing a Web search and find pages I like, I want to save
 a link to the page, along with the title and perhaps a few notes. Something
 like org-mode's capture would be great, but I'd like to initiate it from a
 browser. I imaging hitting a plugin button on the the browser's toolbar to
 open emacs via emacsclient, and essentially do a capture with the link and
 whatever text I care to enter.
 
 Has anyone seen or heard of or written something like this?

Sure.

Depending on your web browser, there are plugins to populate the clipboard with 
a link formatted according to a template variously as plain text, markdown, 
html, media-wiki, or (with configuration) org-mode.  

I use chrome and am happy with Create Link 
https://chrome.google.com/webstore/detail/create-link/gcmghdmnkfdbncmnmlkkglmnnhagajbm?hl=en-US

Firefox similarly has Make Link: 
https://addons.mozilla.org/en-US/firefox/addon/make-link/

~Malcolm

 
 Thanks!
 -pd




Re: [O] Plotting with gnuplot

2015-07-23 Thread Thomas S . Dye

Michael Welle mwe012...@gmx.net writes:

 Hello,

 Thomas S. Dye t...@tsdye.com writes:

 Michael Welle mwe012...@gmx.net writes:

 Hello,

 Thomas S. Dye t...@tsdye.com writes:

 Aloha Michael,

 Does the :session header argument help?
 I tried it with no success, mostly because I used it wrong I guess ;). I
 tried :session, :session t, :session nil and :session {foo|bar}. But
 :session none seems to work.

 With two code blocks, use :session foo for one and :session bar for the
 other.  Does your problem persist?
 yepp, that was the idea. But no success.

The documentation in ob-doc-gnuplot doesn't mention sessions.  I think
it would be well to note the current behavior.

I see in ob-gnuplot that The current `gnuplot-mode' doesn't provide
support for multiple sessions which presumably cripples the behavior of
the :session header argument.

Can an ob-gnuplot user summarize the behavior of :session with gnuplot
source blocks?

All the best,
Tom

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



Re: [O] PROPERTIES drawer inserted within LOGBOOK drawer during org-capture

2015-07-23 Thread Bruce Gilstrap
Indeed, I cannot reproduce the problem in the most recent daily snapshot
(org-version = 8.3beta).

Thanks,
Bruce

On Mon, Jul 20, 2015 at 4:07 PM, Nicolas Goaziou m...@nicolasgoaziou.fr
wrote:

 Hello,

 Bruce Gilstrap br...@gilstraps.org writes:

  I am running org-mode version 8.2.10 in GNU Emacs 24.3.1 on Windows 7
  Ultimate (Service Pack 1). When I invoke org-capture while the cursor is
 on
  or under a TODO headline that does not have a PROPERTIES drawer, org
  inserts a PROPERTIES drawer and an ID key-value pair, like so:

 Could you update Org to development version and try it again? This might
 be fixed already.


 Regards,

 --
 Nicolas Goaziou



Re: [O] Exporting Org Agenda - todo.txt and todo.txt - Org Files + Suggestion/Feature request.

2015-07-23 Thread Jorge A. Alfaro-Murillo

Tim O'Callaghan writes:

Does anyone else out there generate todo.txt files[1] from 
org/org-agenda? If you do, how do you do it. Or if not, do you 
have a good idea about how if it can be approximated in an 
agenda configuration?


You could write your own export back-end 
(http://orgmode.org/worg/dev/org-export-reference.html). 
Alternatively, you could modify org-agenda-custom-commands and use 
C-x C-w to save the agenda view to a file.


Best,
--
Jorge.




Re: [O] exclusion of internal links in exported LaTeX

2015-07-23 Thread Eric S Fraga
On Thursday, 23 Jul 2015 at 12:15, Lei Zhe wrote:
 Dear orgers,

 I read the export option part in org manual, but i could not find the
 option for excluding the internal links for LaTeX export.
 Is there any other idea to do this?

I am not sure how to exclude the links but you can hide them by changing
the colours used by the hyperref package.  See the manual and use
something along the lines of

#+latex_header: \hypersetup{hyperfootnotes=false,colorlinks=false}

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.1, Org release_8.3beta-1229-ge900eb



Re: [O] bug: orgtbl-to-tsv: premature end of table

2015-07-23 Thread Andreas Leha
Hi all,

Charles C. Berry ccbe...@ucsd.edu writes:
 On Wed, 22 Jul 2015, Nicolas Goaziou wrote:

 Hello,

 Charles C. Berry ccbe...@ucsd.edu writes:

 Not a bug IMO.

 Notwithstanding the R issue, I think trimming the output of a radio
 table is a bit aggressive. We cannot know if trailing (and leading)
 spaces are significant in the output format the user defined.

 I removed the trimming part in commit
 bf37cd09b128b4431e1dd1a538fbcc4be3615042.

 Let me know if you disagree with that change.

 I don't think the change broke anything that wasn't already broken.

 And my diagnosis was wrong - I was confused by a problem that remains:

 `org-babel-R-assign-elisp' is broken. Ragged rows in a table are filled 
 with  in each missing field; `org-table-to-lisp' returns a list of lists 
 of common length.

 `org-babel-R-assign-elisp' inspects that list to see if any element vary 
 in length. But they do not, and therefore `max' and `min' in the let* 
 varlist are equal and later on `ob-R-transfer-variable-table-with-header' 
 is always used.

 I think lom pik's example would not have failed had max and min differed 
 as `ob-R-transfer-variable-table-without-header' would have been used 
 instead.

 R src blocks ought to render missing elements due to ragged rows in a 
 table as NA, but this isnt the current behavior for this table:

 #+NAME: tbl-ragged
 | 1 | 2 | a |

 | 8 | 9 |   |

 It seems like the fix for this would be to prune any  at the ends of 
 lists in the value arg when beginning  `org-babel-R-assign-elisp'.

 But I am tired, so I'll defer trying this till another time.

 Best,

 Chuck

Thank you all for looking into this.  I have seen this as well and the
manual work-around (to put sth into the last cell) was getting really
annoying -- especially if the table was auto-generated by sth else.

While looking at handling tables, could I suggest to switch to csv
instead of tsv for the table passing?  I still see issues with tables
not separated.  (This happens only in preview (C-c C-v v) and not when
executing the block.)  I never had time to track this down, but I get
caught now and then.  Using csv should be more robust in this regard.

Thanks,
Andreas