Re: [O] Export results of code literal blocks (Jekyll directory structure) xpost emacs.stackexchange

2017-06-30 Thread Nicolas Goaziou
Hello, Jeremy Reeve writes: >> "We have a squeaker today, class. Isn't he cute?" > > That comment was totally inappropriate for a public mailing list. Of course! Hence the double quotes and the indentation. It is actually a quote from the Whiplash movie. It illustrates how unwelcoming can a

[O] Capture template 'C': nil

2017-06-30 Thread Alan Schmitt
Hello, I'm having a problem with a capture template called from org-protocol, both with old and new style links. Here is the template ("C" "capture CWN through org protocol" item (file "next-cwn.org") "- %?%:description\n %:link\n\n") When I use it on a page, it directly adds the entry to

Re: [O] keybindings again...

2017-06-30 Thread Jean-Christophe Helary
> On Jun 30, 2017, at 14:27, Nicolas Goaziou wrote: >> It would be nice if the org manual mentioned that too, and give >> alternative keybindings for use in the terminal because that's >> extremely confusing. > > It does: (info "(org) TTY keys"). Thank you for the pointer. Although I don't thi

Re: [O] keybindings again...

2017-06-30 Thread Jean-Christophe Helary
Eli and Yuri, Thank you *so much* for the thorough explanations. Now I know. After having finally understood how git was working I was going back to my list of things to do for/with emacs and got frustrated by that shortcut that kept not working... Jean-Christophe > On Jun 30, 2017, at 15:17,

Re: [O] keybindings again...

2017-06-30 Thread Jean-Christophe Helary
> On Jun 30, 2017, at 14:27, Nicolas Goaziou wrote: > >> It would be nice if the org manual mentioned that too, and give >> alternative keybindings for use in the terminal because that's >> extremely confusing. > > It does: (info "(org) TTY keys"). The alternative to M-S-RET is C-c C-x M = C-c

Re: [O] keybindings again...

2017-06-30 Thread Nicolas Goaziou
Jean-Christophe Helary writes: > The alternative to M-S-RET is C-c C-x M = C-c C-x S-m > > Why set an alternative like this when ESC RET S- does exactly > the same thing and is way shorter/more practical ? "practical" is in the eye of the beholder. For example, I can type "C-c C-x M" without

Re: [O] Capture template 'C': nil

2017-06-30 Thread Mario Martelli
Hi, > Here is the template > > ("C" "capture CWN through org protocol" item (file "next-cwn.org") > "- %?%:description\n %:link\n\n") > > When I use it on a page, it directly adds the entry to the file, without > going through the capture interface, and it adds an extra %? in the > text. Tr

Re: [O] keybindings again...

2017-06-30 Thread Jean-Christophe Helary
> On Jun 30, 2017, at 17:14, Nicolas Goaziou wrote: >> So, I have a few suggestions to improve that part of the documentation: >> 1) add a list of preset keys in the manual >> 2) add a line about speed keys in the compact guide >> >> That's something I could do if the idea is accepted. > > Sur

[O] capture templates and ^{prompt}

2017-06-30 Thread Jean-Christophe Helary
I'm looking for a way to use the string acquired by prompt in a second location in the template, like: * TODO %^{prompt} [/] :sometag:\n** TODO (value of ^{prompt} comes here) :someothertag:\n What's the best way to get that "value of ^{prompt}" ? Jean-Christophe

Re: [O] capture templates and ^{prompt}

2017-06-30 Thread numbch...@gmail.com
Check out the docstring of variable `org-capture-templates`. There is a doc like this: ``` %\1 ... %\N Insert the text entered at the nth %^{prompt}, where N is a number, starting from 1. ``` Maybe this is what you want? [stardiviner] GPG key ID: 47C32433 IRC(freeenod

Re: [O] capture templates and ^{prompt}

2017-06-30 Thread Jean-Christophe Helary
Ooops, yes, that was totally under my nose :) Thank you very much. Jean-Christophe > On Jun 30, 2017, at 18:18, numbch...@gmail.com wrote: > > Check out the docstring of variable `org-capture-templates`. > There is a doc like this: > ``` > %\1 ... %\N Insert the text entered at the nth %^{promp

Re: [O] Capture template 'C': nil

2017-06-30 Thread Alan Schmitt
"MM" == Mario Martelli writes: MM> Try to use ‘entry’ instead of ‘item’ Unfortunately I need an item. It used to work, unfortunately it no longer does. MM> “C” is usually bound to “Customise org-capture-templates”. Probably MM> it’s better to choose another key. Thank you for the suggestion. I

Re: [O] capture templates and ^{prompt}

2017-06-30 Thread Jean-Christophe Helary
* TODO %^{prompt} [/]\n** TODO %\1 %^{prompt} %^t\n gives * TODO stuff [/] ** TODO %^A stuff Why is that ? Jean-Christophe

Re: [O] capture templates and ^{prompt}

2017-06-30 Thread Nicolas Goaziou
Jean-Christophe Helary writes: > * TODO %^{prompt} [/]\n** TODO %\1 %^{prompt} %^t\n > > gives > > * TODO stuff [/] > > ** TODO %^A stuff > > Why is that ? In a string, backslash needs to be escaped

Re: [O] keybindings again...

2017-06-30 Thread Michael Ax
Also $ xmodmap .. if you should see an empty row in the output, and a whole bunch of things clustered on the last line, then .. write an ~/.Xmodmap to free up caps-lock and to have it act as the Hyper_L key. two more lines move that modifier into the free row and you get an easy to hit on ac

[O] Android sync client

2017-06-30 Thread Gour
Hello, I've tried for some time to use Taskwarrior due to potentially working Android client, but recently it stopped working and, moreover, orgmode's recurring capabilities are simple superior in comparison with Taskwarrior's, so I'm back to orgmode... Now, I wonder which syncing client can you

Re: [O] Capture template stopped working: nil

2017-06-30 Thread Florian Lindner
Hey Nicolas, hey Bastien, might you give a hint why ("j" "Journal" item (file+datetree "journal.org") "%?\n%i" :kill-buffer t) which still gives the same error: org-capture: Capture template ‘j’: nil Thanks a lot, Florian Am 25.06.2017 um 21:23 schrieb Florian Lindner: > Am 25.06.2017 um

Re: [O] Android sync client

2017-06-30 Thread Michael Ax
git-annex! On 06/30/2017 12:15 PM, Gour wrote: Hello, I've tried for some time to use Taskwarrior due to potentially working Android client, but recently it stopped working and, moreover, orgmode's recurring capabilities are simple superior in comparison with Taskwarrior's, so I'm back to orgmo

Re: [O] Capture template 'C': nil

2017-06-30 Thread Mario Martelli
> MM> Try to use ‘entry’ instead of ‘item’ > > Unfortunately I need an item. It used to work, unfortunately it no > longer does. I was probably to quick by changing ‘item’ to ‘entry’. I tried your template once again. And it turned out that the file must be existent. ("c" "capture

[O] Info info info

2017-06-30 Thread Michael Ax
$ cat /usr/share/info/dir|grep "\*"|wc -l = 309 I got past the cruel joke that was the garbled mess called the info dir on debian. I integrated the non-free files and those for userland and kernel things from places I don't even remember. I appreciate the steam-powered look and hackishness in

Re: [O] capture templates and ^{prompt}

2017-06-30 Thread Jean-Christophe Helary
> On Jun 30, 2017, at 18:47, Nicolas Goaziou wrote: > > Jean-Christophe Helary writes: > >> * TODO %^{prompt} [/]\n** TODO %\1 %^{prompt} %^t\n >> >> gives >> >> * TODO stuff [/] >> >> ** TODO %^

Re: [O] Capture template stopped working: nil

2017-06-30 Thread Alan Schmitt
Hello, "FL" == Florian Lindner writes: FL> Hey Nicolas, hey Bastien, FL> might you give a hint why FL> ("j" "Journal" item FL> (file+datetree "journal.org") FL> "%?\n%i" :kill-buffer t) FL> which still gives the same error: org-capture: Capture template ‘j’: nil I'm having the same probl

Re: [O] Capture template 'C': nil

2017-06-30 Thread Alan Schmitt
"MM" == Mario Martelli writes: MM> I tried your template once again. And it turned out that the file must be existent. MM> ("c" "capture CWN through org protocol" item (file "~/org/notes.org") MM> "- %?%:description\n %:link\n\n") MM> Does work for me. So giving a path to fil

Re: [O] org-protocol documentation

2017-06-30 Thread Mario Martelli
Hi, > I’ll start with a fresh approach and try to bring up a short manual in > org.texi. I created a pretty short documentation of org-protocol. It’s still mainly copied from the old documentation. But distilled :) It might be an idea to link to the old documentation at worg. I know that it

Re: [O] Capture template stopped working: nil

2017-06-30 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > Bastien Guerry writes: > >> May I ask you why `eval' in the code base is problematic? > > Because 1. it is hideous, 2. it doesn't cope well with lexical > binding. Can you provide with an example on how `eval' can lead to trouble due to lexical binding for

Re: [O] Capture template stopped working: nil

2017-06-30 Thread Nicolas Goaziou
Hello, Florian Lindner writes: > might you give a hint why > > ("j" "Journal" item > (file+datetree "journal.org") > "%?\n%i" :kill-buffer t) > > which still gives the same error: org-capture: Capture template ‘j’: > nil Fixed. Thank you. Regards, -- Nicolas Goaziou

[O] BUG: ox-latex export pdf options issue

2017-06-30 Thread Robert Klein
Hi, The Latex \hypersetup options like to be on their own line and hate when the closing } intrudes on them. Patch which puts the closing brace in its place below. Best regards Robert diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index ec4b49585f8..474f9b6e9c4 100644 --- a/lisp/ox-latex.e

[O] org-copy-visible not working?

2017-06-30 Thread Loris Bennett
Hi, with Org mode version 9.0.8 (9.0.8-elpaplus @ /home/loris/.emacs.d/elpa/org-plus-contrib-20170606/) and GNU Emacs 25.1.1, org-copy-visible does not work as I expect. Given * Org copy visible ** Bits and bobs if I fold to * Org copy visible ** Bits... mark the visible two lines, do org-co

Re: [O] Using org-mode via vSSH on iPad

2017-06-30 Thread Peter Davis
Ok, now I'm having a worse problem. Trying to get HTML output in a buffer on my Mac, I'm getting this error: apply: Wrong type argument: listp, #("The Age of Wonder, Part II" 0 26 (:parent (#0))) Any guesses what might cause this? It seems to be dying on this line: #+title: The Age of Wonder,

[O] Is doc/org-version.tex generation broken?

2017-06-30 Thread Dale
Hi! a8d007db15 starts generating doc/org-version.{tex,inc}, but on my OS X system this ends up creating broken files with (I believe) vertical tab characters in them. On HEAD this morning: $ make card [...] PDFLATEX=pdftex texi2pdf --batch --clean --expand orgcard.tex This is pdfTeX, Version 3.1

Re: [O] Is doc/org-version.tex generation broken?

2017-06-30 Thread Michael Ax
\v is the text-mode equivalent of 'vee' or \check{o}. file a question/bug at gmake's home? http://github.com/renozao/pkgmaker/issues || Is this something screwed up in my environment or are others seeing this as well?

Re: [O] Using org-mode via vSSH on iPad

2017-06-30 Thread Michael Ax
> apply: Wrong type argument: listp, #("The Age of Wonder, Part II" 0 26 (:parent (#0))) another set of parens perhaps? >Then, does anyone know a way to copy the contents of the vSSH app display to the iPad clipboard does (setq mouse-drag-copy-region t) work?

Re: [O] Is doc/org-version.tex generation broken?

2017-06-30 Thread Kyle Meyer
Dale writes: > a8d007db15 starts generating doc/org-version.{tex,inc}, Unimportant to the rest of this issue, but that commit only started generating doc/org-version.tex. The generation of doc/org-version.inc wasn't modified. > but on my OS X system this ends up creating broken files with (I >

[O] causing work by pasting links

2017-06-30 Thread Michael Ax
* before i paste a link i type [[ * [[|]] this leaves the point right there. then i paste and now i want to press [ to write my notes. when i do, * [[http://link[|]]] i get a completely unexpected reaction. you know what i mean, yes? * [[http://link][|]] is what i'd like to see. an

[O] making work by pasting code and examples

2017-06-30 Thread Michael Ax
when i paste blog content mixing text & code i usually want to wrap bits of the paste in an org-structure-template. i do it by - mark a region - cut the region - type i would like it to check the lossage and be smart about wrapping itself around the stuff i mean.

Re: [O] Android sync client

2017-06-30 Thread Eric S Fraga
On Friday, 30 Jun 2017 at 10:15, Gour wrote: > Now, I wonder which syncing client can you recommend for Android > phones? What type of information do you specifically want to sync? -- : Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-551-g92e8c8 signature.asc Description: PGP signature

Re: [O] Android sync client

2017-06-30 Thread Gour
On Fri, 30 Jun 2017 16:03:01 +0100 Eric S Fraga wrote: > What type of information do you specifically want to sync? Mostly/only tasks (TODO/NEXT items) appearing in my Agenda view…I’ll try to make org-caldav working for calendar entries… Sincerely, Gour -- The senses are so strong and impetu

[O] org-tags-column 'portability'

2017-06-30 Thread Michael Ax
org-tags-column usually does the right thing. i have it set to -65 and that works great in portrait mode. i'd like it be sticky (sometimes), that is, to chop of and dominate headlines and never get moved. i'd like it to be width rather than position based so that it works with chinese and propo

Re: [O] BUG: ox-latex export pdf options issue

2017-06-30 Thread Robert Klein
Please disregard this. \hypersetup works as it is. I had a +text+ title which put a \sout{} in the pdftitle. That caused a error message about too many }'s from the pdflatex. This I mistook to mean the closing brace of \hypersetup. Sorry about the fuss. Best regards, Robert On Thu, 29 Jun 2

[O] advising org-open

2017-06-30 Thread Michael Ax
0:50am monday i get a new weekly org template linked to the prior week. my org-link-frame-setup contains 'open-file' and that allows me to click through the past. sometimes i want open-file-in-other-window, sometimes in another frame. neither the prefix argument nor modifier keys seem to carry

Re: [O] Using org-mode via vSSH on iPad

2017-06-30 Thread Peter Davis
Thanks, Michael. Replies below ... On Fri, Jun 30, 2017, at 10:16 AM, Michael Ax wrote: > > apply: Wrong type argument: listp, #("The Age of Wonder, Part II" 0 > > 26 (:parent (#0)))> another set of parens perhaps? > I just copied what was in the *Messages* buffer. I tried the sequence C-c C-

[O] [Chris Kauffman] Re: include org-table-move-single-cell.el in org mode

2017-06-30 Thread Uwe Brauer
Hi I found swapping of cells very useful and came across some code written by Chris Kauffman, which proved to be very helpful and considerably shorted by workflow. https://cs.gmu.edu/~kauffman/software/org-table-move-single-cell.el Chris agreed that his code could be included in the orgmode

Re: [O] Is doc/org-version.tex generation broken?

2017-06-30 Thread Kyle Meyer
Kyle Meyer writes: > Dale writes: [...] >> Is this something screwed up in my environment or are others seeing this as >> well? > > I'm guessing that I should rewrite the command in a more portable way. > Not sure what that is offhand. Can you verify that the below change works on your system

Re: [O] org-copy-visible not working?

2017-06-30 Thread Kyle Meyer
Loris Bennett writes: > with Org mode version 9.0.8 (9.0.8-elpaplus @ > /home/loris/.emacs.d/elpa/org-plus-contrib-20170606/) and GNU Emacs > 25.1.1, org-copy-visible does not work as I expect. [...] > * Org copy visible > ** Bits... > > mark the visible two lines, do org-copy-visible, yank int

[O] Org now failing on HTML export

2017-06-30 Thread Peter Davis
I've been using org 9.0.7/GNU Emacs 25.1.1 on Mac OS X for a while, and successfully exporting HTML to copy and paste into my blog. However, in the last day or so, this started failing. I'm unaware of having changed anything in my configuration. The error is ... Here's the entire file I'm usi

Re: [O] making work by pasting code and examples

2017-06-30 Thread Kaushal Modi
On Fri, Jun 30, 2017 at 10:59 AM Michael Ax wrote: > when i paste blog content mixing text & code i usually want to wrap bits > of the paste in an org-structure-template. > > i do it by > - mark a region > - cut the region > - type - paste the region > > i would like to not cut and paste. > > an

Re: [O] making work by pasting code and examples

2017-06-30 Thread Kaushal Modi
On Fri, Jun 30, 2017 at 2:28 PM Kaushal Modi wrote: Here's a working link: https://github.com/kaushalmodi/.emacs.d/blob/5acb3a4db737df85d1cd7d70c56232ec8a40e8b4/setup-files/setup-org.el#L1121-L1229 (pasted link to an unpublished commit by mistake earlier) -- Kaushal Modi

Re: [O] Org now failing on HTML export

2017-06-30 Thread Kaushal Modi
On Fri, Jun 30, 2017 at 2:07 PM Peter Davis wrote: > > I've been using org 9.0.7/GNU Emacs 25.1.1 on Mac OS X for a while, and > successfully exporting HTML to copy and paste into my blog. > However, in the last day or so, this started failing. I'm unaware of > having changed anything in my confi

Re: [O] Org now failing on HTML export

2017-06-30 Thread Peter Davis
Kaushal Modi writes: > On Fri, Jun 30, 2017 at 2:07 PM Peter Davis wrote: > > I've been using org 9.0.7/GNU Emacs 25.1.1 on Mac OS X for a while, and > successfully exporting HTML to copy and paste into my blog. > However, in the last day or so, this started failing. I'm unaware of having >

Re: [O] causing work by pasting links

2017-06-30 Thread Kaushal Modi
On Fri, Jun 30, 2017 at 10:46 AM Michael Ax wrote: > * before i paste a link i type [[ > * [[|]] this leaves the point right there. > That's not the default behavior. You probably have some auto-bracket-closing minor mode enabled. > then i paste and now i want to press [ to write my

Re: [O] causing work by pasting links

2017-06-30 Thread Michael Ax
you're right of course. now i'm debating if i'm sorry to have taken your time or just awed by the screengrab! maybe a bit of both. thanks for the reminder to get that thing under control! m On 06/30/2017 09:01 PM, Kaushal Modi wrote: On Fri, Jun 30, 2017 at 10:46 AM Michael Ax

Re: [O] causing work by pasting links

2017-06-30 Thread Kaushal Modi
On Fri, Jun 30, 2017 at 3:44 PM Michael Ax wrote: > you're right of course. now i'm debating if i'm sorry to have taken your > time or just awed by the screengrab! > maybe a bit of both. thanks for the reminder to get that thing under > control! m > Well, no need to be sorry :) I'm glad I coul

Re: [O] Org now failing on HTML export

2017-06-30 Thread Michael Ax
>> You have the classic case of mixed Org installations, would be my guess. > Aha! I think you've hit the nail on the head. Aha.. ran into this last night also, discovering then that i had both (require 'org) AND (require 'org-plus-contrib) in use, breaking capture. (rewriting my init to use-pac

Re: [O] making work by pasting code and examples

2017-06-30 Thread Michael Ax
definitely awed now. will investigate - ty m On 06/30/2017 08:33 PM, Kaushal Modi wrote: On Fri, Jun 30, 2017 at 2:28 PM Kaushal Modi > wrote: Here's a working link: https://github.com/kaushalmodi/.emacs.d/blob/5acb3a4db737df85d1cd7d70c56232ec8a40e8b4/setup-files

Re: [O] keybindings again...

2017-06-30 Thread Emanuel Berg
Jean-Christophe Helary wrote: > Thank you for the pointer. Although I don't > think I ever used a teletypewriter in my life > :) Maybe sometimes in the 21st century we'll > have to think about a change in > terminology... In computers, but also in just any brand of engineering (and other areas as

[O] org babel, ess, R

2017-06-30 Thread Vikas Rawal
When I press C-c' in an R code block to open an edit buffer with ess, on my computer, it splits the screen into two side-by-side windows, with the new window on the right showing the edit buffer, and the window on the left showing the original file. I would like to change this behaviour in two way

Re: [O] org babel, ess, R

2017-06-30 Thread Vikas Rawal
> > When I press C-c' in an R code block to open an edit buffer with ess, on my > computer, it splits the screen into two side-by-side windows, with the new > window on the right showing the edit buffer, and the window on the left > showing the original file. > > I would like to change this b

Re: [O] Is doc/org-version.tex generation broken?

2017-06-30 Thread Dale
On Fri, Jun 30, 2017 at 12:29 PM, Kyle Meyer wrote: > Kyle Meyer writes: > [...] > Can you verify that the below change works on your system? > > Thanks. > > -- >8 -- > Subject: [PATCH] doc/Makefile: Use printf to generate org-version.tex > > * doc/Makefile (org-version.tex): Use printf instead