Re: [O] markup text with leading, trailing spaces

2015-02-13 Thread hymie!
In our last episode, the evil Dr. Lacto had captured our hero, jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo), who said: >hymie! writes: > >> I'd like to be able to have a series of commands in my raw org >> file that I can copy-n-paste into my shell window. But I also >> like to expo

Re: [O] Orgmode → ODT: Certain chars break export

2015-02-13 Thread Rasmus
torys.ander...@gmail.com (Tory S. Anderson) writes: > There is a helpful wiki page now that you found XML; it even mentions > my specific character.[1] The main source seems to be at the w3.org > spec.[2] I don't understand unicode well enough to propose a solution. For now you could use a org-e

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-13 Thread Nicolas Goaziou
Rasmus writes: > I insert a newline before I even call cdlatex. If point moved _after calling cdlatex_ you know it worked. Otherwise, you just remove the newline. > I fail to see the relevant of your example. I want to know why: > >-i1 > X -i2 > > => C-j > >-i1 > > -i2 > > I.e.

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-13 Thread Rasmus
Rasmus writes: > Hi, > > Nicolas Goaziou writes: > >>> I don't feel strongly about it. Anyway, I like this better. Cdlatex is, >>> um, "opinionated" about is insertion of newlines. >> >> I still think it is better to split line. Your behaviour just requires >> a C-e before calling the function

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-13 Thread Rasmus
Hi, Nicolas Goaziou writes: >> I don't feel strongly about it. Anyway, I like this better. Cdlatex is, >> um, "opinionated" about is insertion of newlines. > > I still think it is better to split line. Your behaviour just requires > a C-e before calling the function. I agree that the "simpler

Re: [O] markup text with leading, trailing spaces

2015-02-13 Thread Jorge A. Alfaro-Murillo
hymie! writes: I'd like to be able to have a series of commands in my raw org file that I can copy-n-paste into my shell window. But I also like to export my org files to HTML so that I can make ePubs and keep them in my iPad. And this #+BEGIN_SRC command1 command2 command3 #+END_SR

Re: [O] Exporting a given file (not buffer)

2015-02-13 Thread Sebastien Vauban
Marcin Borkowski wrote: > I need a function, which – given an org file's name – opens it silently, > exports to a file, and closes. > > I can write it myself, but maybe such a function already exists? It > seems that `org-export-to-file' exports the current buffer, so I could > make a new buffer,

[O] Exporting a given file (not buffer)

2015-02-13 Thread Marcin Borkowski
Hello fellow Orgers, I need a function, which – given an org file's name – opens it silently, exports to a file, and closes. I can write it myself, but maybe such a function already exists? It seems that `org-export-to-file' exports the current buffer, so I could make a new buffer, `insert-file-

Re: [O] [patch] better(?) indention for cdlatex-environment

2015-02-13 Thread Nicolas Goaziou
Rasmus writes: > Nicolas Goaziou writes: > >> I don't see how it is desirable. The logical behaviour is to split the >> line, unless, of course, docstring clearly specifies this. > > I don't feel strongly about it. Anyway, I like this better. Cdlatex is, > um, "opinionated" about is insertion

Re: [O] Org Babel code blocks in COMMENT subtrees gets executed!?

2015-02-13 Thread Sebastien Vauban
Hello Nicolas, Nicolas Goaziou wrote: > Sebastien Vauban writes: > >> Save this as and Org file, and press C-c C-v C-e... >> >> * Intro >> >> #+begin_src emacs-lisp >> (print "Foo") >> #+end_src >> >> * COMMENT Method >> >> #+begin_src emacs-lisp >> (print "Bar") >> #+end_src >> >> ^ I don't think

[O] markup text with leading, trailing spaces

2015-02-13 Thread hymie!
Greetings. My next SNAFU involves mark-up text. I'd like to be able to have a series of commands in my raw org file that I can copy-n-paste into my shell window. But I also like to export my org files to HTML so that I can make ePubs and keep them in my iPad. So while I strongly prefer the expo

Re: [O] Org Babel code blocks in COMMENT subtrees gets executed!?

2015-02-13 Thread Nicolas Goaziou
Hello, Sebastien Vauban writes: > Save this as and Org file, and press C-c C-v C-e... > > * Intro > > #+begin_src emacs-lisp > (print "Foo") > #+end_src > > * COMMENT Method > > #+begin_src emacs-lisp > (print "Bar") > #+end_src > > ^ I don't think we should have blocks in COMMENT trees execut

Re: [O] org-time-stamp adds "repeater" where there is none.

2015-02-13 Thread Nicolas Goaziou
Hello, Nicolas Richard writes: > Consider the following line: > > <2015-02-13 ven.> (10h-13h) > > Hiting C-c . RET with point on the timestamp gives > <2015-02-13 ven. -13h> (10h-13h) > > which is not expected. It should now be fixed. > Please consider the patch below Thank you for the patch.

Re: [O] Colon in block name?

2015-02-13 Thread Nick Dokos
"Loris Bennett" writes: > Hi, > > I want to export to LaTeX and refer to tables and code blocks as in the > example below. However a name with a colon, such as 'tab:my_data' used > as a variable for a source block fails: > > org-babel-ref-resolve: Reference 'my_data' not found in this buffer >

Re: [O] Colon in block name?

2015-02-13 Thread Eric S Fraga
On Friday, 13 Feb 2015 at 13:36, Loris Bennett wrote: > Stefan Nobis writes: > >> "Loris Bennett" writes: >> >>> The above was attached with Gnus 'C-c RET f', MIME type 'text/x-org'. >> >> But you attached it as inline, so the same problems could arise. To be >> sure to transfer the file unmodifi

Re: [O] closing column mode for beamer export

2015-02-13 Thread Nick Dokos
Eric S Fraga writes: >> Beamer export has the :B_columns: tag for exactly this purpose. > > Indeed and thanks for highlight this as I had forgotten about this > property. I find it less æsthetically pleasing. YMMV, of course. The > beauty of org is that there are so many ways of accomplishing

Re: [O] Orgmode → ODT: Certain chars break export

2015-02-13 Thread Tory S. Anderson
There is a helpful wiki page now that you found XML; it even mentions my specific character.[1] The main source seems to be at the w3.org spec.[2] Rasmus writes: > torys.ander...@gmail.com (Tory S. Anderson) writes: > >> From a user perspective just stripping the characters seems best to >> me,

[O] Babel blocks get unindented when making changes outside the blocks

2015-02-13 Thread Mark Edgington
Hello all, Given the following code: - BEGIN CODE - * some headline - blah - blah - blah - blah - blah #+begin_src octave first line if (num <= 2) stuff end #+end_src - blah # some comments # more comments 1. item 1

[O] navigating org-clock-in recent work list

2015-02-13 Thread Tory S. Anderson
As per a recent discussion on the mailing list, I'm using the following to enable persistence and extended length of the clock history: --8<---cut here---start->8--- ;; Org clock-in (org-clock-persistence-insinuate) (setq org-clock-persist t) ;;; * Orgmode Modu

Re: [O] Orgmode → ODT: Certain chars break export

2015-02-13 Thread Rasmus
torys.ander...@gmail.com (Tory S. Anderson) writes: > From a user perspective just stripping the characters seems best to > me, but finding out what the characters seems obnoxious. But maybe there is a valid way to represent such characters in XML? At the very least entities must be replaced be

[O] org-time-stamp adds "repeater" where there is none.

2015-02-13 Thread Nicolas Richard
Consider the following line: <2015-02-13 ven.> (10h-13h) Hiting C-c . RET with point on the timestamp gives <2015-02-13 ven. -13h> (10h-13h) which is not expected. Please consider the patch below >From 688851438f363eaa86dcfe2acfb779d6c22adc16 Mon Sep 17 00:00:00 2001 From: Nicolas Richard Da

Re: [O] Orgmode → ODT: Certain chars break export

2015-02-13 Thread Tory S. Anderson
>From a user perspective just stripping the characters seems best to me, but >finding out what the characters seems obnoxious. Neither a quick search nor >skimming the ODT doc specification[1][2] seem to give any insight into a set >of illegal characters. Does elisp have anything similar to Java

Re: [O] tasks, clocks, and notes

2015-02-13 Thread hymie
That is perfect! Thank you! --hymie!http://lactose.homelinux.net/~hymie hy...@lactose.homelinux.net My fitbit says I've walked 1582 steps today (as of 08:54). Subhan Michael Tindall writes: >Try >'(org-log-note-clock-out t) > >This gives you something like this: >* WORK break >This is my

Re: [O] How to include time when generating timestamp for DEADLINE/SCHEDULE

2015-02-13 Thread Charles Millar
On 02/13/2015 08:14 AM, Charles Millar wrote: On 02/12/2015 07:37 PM, Yuri Niyazov wrote: PS It is clear that you can *both* select the correct date using calendar, and *then* type in the time while still in the calendar selector, right? On Thu, Feb 12, 2015 at 5:36 PM, Yuri Niyazov wrote:

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-13 Thread Nicolas Goaziou
Hello, Christian Moe writes: > Would it make sense to be able to link to a footnote label? Rationale: > > 1. If a footnote definition is already meaningfully labeled, a dedicated > target is redundant. > > 2. Since you can link to named tables, source blocks etc., users might > expect to be able

Re: [O] ODT export: Issues with `org-export-footnote-first-reference-p'

2015-02-13 Thread Nicolas Goaziou
Vaidheeswaran C writes: > Allow me to revisit this thread in a week or 10 days so that I can > > 1. take a look at ODF standard. > > 2. dig in to LibreOffice discussion lists to see whether such >instances have ever surfaced (and how they were dealt with). > > Until then, please keep the patc

Re: [O] How to include time when generating timestamp for DEADLINE/SCHEDULE

2015-02-13 Thread Charles Millar
On 02/12/2015 07:37 PM, Yuri Niyazov wrote: PS It is clear that you can *both* select the correct date using calendar, and *then* type in the time while still in the calendar selector, right? On Thu, Feb 12, 2015 at 5:36 PM, Yuri Niyazov wrote: On Thu, Feb 12, 2015 at 4:16 PM, Subhan Michael

Re: [O] [org-drill] Suggestion to fix the drop of org-end-of-meta-data-and-drawers

2015-02-13 Thread Nicolas Goaziou
Hello, Marco Wahl writes: > AFAICT a possible fix is: > > #v+ > diff --git a/contrib/lisp/org-drill.el b/contrib/lisp/org-drill.el > index a0d33aa..8154904 100644 > --- a/contrib/lisp/org-drill.el > +++ b/contrib/lisp/org-drill.el > @@ -1708,7 +1708,7 @@ Note: does not actually alter the item."

Re: [O] Colon in block name?

2015-02-13 Thread Loris Bennett
Stefan Nobis writes: > "Loris Bennett" writes: > >> The above was attached with Gnus 'C-c RET f', MIME type 'text/x-org'. > > But you attached it as inline, so the same problems could arise. To be > sure to transfer the file unmodified, choose "attachment" as > disposition. Thanks for that expl

Re: [O] Colon in block name?

2015-02-13 Thread Stefan Nobis
"Loris Bennett" writes: > The above was attached with Gnus 'C-c RET f', MIME type 'text/x-org'. But you attached it as inline, so the same problems could arise. To be sure to transfer the file unmodified, choose "attachment" as disposition. > Reading with Gnus, I don't see any blank lines betwe

Re: [O] org-carddav [was: Re: ANN: org-vcard. Export/import vCards. Backwards-compatible with org-contacts.el.]

2015-02-13 Thread Rasmus
Alexis writes: > If someone familiar with the source of url-http.el reviewed this, and > amended its code along the lines i suggested in my bug report - even if > only in the Emacs master branch - i would happily resume working on > org-carddav. :-) You might have a better chance finding that so

Re: [O] Orgmode → ODT: Certain chars break export

2015-02-13 Thread Rasmus
torys.ander...@gmail.com (Tory S. Anderson) writes: > While we're on the topic of ODT export problems: I was in the process > of converting PDF to Text to Org to ODT/DocX and discovered that > certain characters seem to break exported odt documents, which fail > with a line and col number. So far

[O] Org Babel code blocks in COMMENT subtrees gets executed!?

2015-02-13 Thread Sebastien Vauban
Save this as and Org file, and press C-c C-v C-e... --8<---cut here---start->8--- * Intro #+begin_src emacs-lisp (print "Foo") #+end_src * COMMENT Method #+begin_src emacs-lisp (print "Bar") #+end_src ^ I don't think we should have blocks in COMMENT trees ex

[O] Orgmode → ODT: Certain chars break export

2015-02-13 Thread Tory S. Anderson
While we're on the topic of ODT export problems: I was in the process of converting PDF to Text to Org to ODT/DocX and discovered that certain characters seem to break exported odt documents, which fail with a line and col number. So far the only one I know for sure is the " " (Char: C-l (12, #o

Re: [O] Colon in block name?

2015-02-13 Thread Loris Bennett
"Loris Bennett" writes: > Eric S Fraga writes: > >> On Friday, 13 Feb 2015 at 08:49, Loris Bennett wrote: >> >> [...] >> >>> In my ECM and in my original posting there are no empty lines between >>> the table information and the actual table (see attached screenshot of >>> my original ECM). How

Re: [O] Colon in block name?

2015-02-13 Thread Loris Bennett
Eric S Fraga writes: > On Friday, 13 Feb 2015 at 08:49, Loris Bennett wrote: > > [...] > >> In my ECM and in my original posting there are no empty lines between >> the table information and the actual table (see attached screenshot of >> my original ECM). However, I can see that in your quoted

[O] org-carddav [was: Re: ANN: org-vcard. Export/import vCards. Backwards-compatible with org-contacts.el.]

2015-02-13 Thread Alexis
On Wed 21 January 2015, Rasmus wrote: > Gour writes: > >> On Sub, 2014-08-02 at 11:12 +1000, Alexis wrote: >> >>> 2. Using org-vcard as a library, create org-carddav (which i hope to >>> start working on shortly) in order to be able to synchronise contacts >>> stored in Org with arbitrary CardDA

Re: [O] Colon in block name?

2015-02-13 Thread Eric S Fraga
On Friday, 13 Feb 2015 at 08:49, Loris Bennett wrote: [...] > In my ECM and in my original posting there are no empty lines between > the table information and the actual table (see attached screenshot of > my original ECM). However, I can see that in your quoted version above > there is one. U

Re: [O] [PATCH]: BUG fix and Add header-args property to source block info

2015-02-13 Thread Rainer M Krug
Sebastien Vauban writes: > Rainer M Krug wrote: >> what do you mean by ECM? > > http://orgmode.org/worg/org-faq.html#ecm Ah - learned something. Merci beaucoup, Rainer > > Best regards, > Seb -- Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 signature.asc Description: PGP signature

Re: [O] [PATCH]: BUG fix and Add header-args property to source block info

2015-02-13 Thread Sebastien Vauban
Rainer M Krug wrote: > what do you mean by ECM? http://orgmode.org/worg/org-faq.html#ecm Best regards, Seb -- Sebastien Vauban

Re: [O] [PATCH]: BUG fix and Add header-args property to source block info

2015-02-13 Thread Rainer M Krug
Nicolas Goaziou writes: > Rainer M Krug writes: > >> I think I will skip the bonus points this time - sorry. > > OK. You may also send me a couple of ECM, so I can turn them into tests. Sorry - what do you mean by ECM? > >> I would be very grateful if you could submit the patch without a test.

Re: [O] How to obtain the list of files included in HTML export?

2015-02-13 Thread Sebastien Vauban
Marcin Borkowski wrote: > the subject pretty much says it all. Apart from the HTML file itself > there might be inlined images and bitmaps of equations. Since I'd > like to make my customized exporter create a self-contained zip file, > I need the list of all files comprising the generated web pa

Re: [O] closing column mode for beamer export

2015-02-13 Thread Eric S Fraga
On Friday, 13 Feb 2015 at 02:09, James Harkins wrote: [...] > Again, this is a hack. I was weaned on IBM S/370 assembler language so hack is what I do ;-) > Beamer export has the :B_columns: tag for exactly this purpose. Indeed and thanks for highlight this as I had forgotten about this proper

Re: [O] Announcement: org-one-to-many

2015-02-13 Thread Sebastien Vauban
Hello Marcin, Marcin Borkowski wrote: > so I've got this little library of mine, called org-one-to-many, which > can split an Org file into pieces, modifying internal links so that they > still point to the same place (even if now in another file). > > But I have a problem with it. I would like t

[O] (org-use-fast-tag-selection (quote auto)) - problem with TAB Completion and non ASCII tag selection characters [\200]

2015-02-13 Thread Shavkat Rustamov
I have ​ one ​ persistent tag ​ ​ set with a key character like this: '(org-tag-persistent-alist (quote (("a" . 97 There are no file based #+TAGS in any of org files. I also like to have access to all tags in all files, so I set this up: (org-complete-tags-always-offer-all-agenda-tags t) Fi