Re: [O] Moving and resetting attachments

2017-06-07 Thread Florian Lindner
Am 02.06.2017 um 11:19 schrieb Eric Abrahamsen:> Florian Lindner writes: > >> Am 01.06.2017 um 06:39 schrieb Eric Abrahamsen: >>> Florian Lindner writes: >>> Hello, two questions about moving attachments to org files: C-c C-a a attaches a file and stores it under ./data/

Re: [O] Bug: Beamer example (info node 12.8.6) fails to compile [9.0.7 (9.0.7-elpa @ /Users/gtomas/.emacs.d/elpa/org-20170515/)]

2017-06-07 Thread Nicolas Goaziou
Hello, Gil Tomás writes: > When copying the example provided in org-mode info node 12.8.6 to an org > buffer, and then seeking to compile it into a pdf with the beamer > exporter (C-c C-e l O), the following error message is printed into the > minibuffer: > > apply: Wrong type argument: listp, #

[O] insert cell inside an org-mode table?

2017-06-07 Thread Sharon Kimble
I maintain my 'DrugFacts' website in mediawiki. I write my article in org-mode, export to mediawiki, correct the citations, then cut and paste into my mediawiki page. And it all works very well. But the front-page is a right swine! Here is the first two rows of my mediawiki front-page - --8<---

Re: [O] Custom keymaps on org blocks

2017-06-07 Thread John Kitchin
Grant Rettke writes: > On Mon, Jun 5, 2017 at 4:53 PM, John Kitchin wrote: >> Is there any interest in having custom keymaps on org blocks? >> >> The idea I had is to have the option to make the major-mode keymaps be >> active on the src blocks. > > You want Polymode: https://github.com/vspinu/p

Re: [O] Custom keymaps on org blocks

2017-06-07 Thread John Kitchin
Nicolas Goaziou writes: > Hello, > > John Kitchin writes: > >> Is there any interest in having custom keymaps on org blocks? >> >> The idea I had is to have the option to make the major-mode keymaps be >> active on the src blocks. > > There is already `org-babel-do-key-sequence-in-edit-buffer',

Re: [O] Custom keymaps on org blocks

2017-06-07 Thread Nicolas Goaziou
Hello, John Kitchin writes: > For once in a while uses this works, but this isn't really a solution > for key-bindings that are composable, e.g. in lispy. There you can use > single key-presses to navigate, rearrange, insert code, etc... > > Also it adds three chords to every key-binding out of

Re: [O] Custom keymaps on org blocks

2017-06-07 Thread John Kitchin
I can see that. There are plenty of cases that certainly would not work, e.g. in a Python block it would be a mistake to run a command that sends the buffer to the interpreter! In the example I provided, you can see I also had to "preserve" a few org-bindings so you could still do C-c ' to get to t

Re: [O] insert cell inside an org-mode table?

2017-06-07 Thread John Kitchin
I don't totally understand what you want to do. You can insert a row or column into a table. org-table-insert-column org-table-insert-row Are you trying to do something different than that? John --- Professor John Kitchin Doherty Hall A207F Department of

Re: [O] No operator defined for property header-args

2017-06-07 Thread Kevin Foley
Ah okay it's my misunderstanding then. I'm trying to refresh the local setup to apply a different set of header args to that tree. After some research it looks like I should just be calling org-mode-restart. Does that seem correct? Thanks, Kevin On Tue, Jun 6, 2017 at 8:13 AM Nicolas Goaziou

[O] Minor addition to Speed Keys info node

2017-06-07 Thread Kaushal Modi
Hello, Here is a patch with some info added to make Speed Keys more accessible to users (inspired by [1]). >From 43ff4c3da12a8ce0333c65372ab8ba51964e7a2a Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Wed, 7 Jun 2017 11:34:39 -0400 Subject: [PATCH] Mention org-speed-command-help in Speed Keys

Re: [O] Minor addition to Speed Keys info node

2017-06-07 Thread Kaushal Modi
The patch is rebased off the maint branch. On Wed, Jun 7, 2017 at 11:39 AM Kaushal Modi wrote: > Hello, > > Here is a patch with some info added to make Speed Keys more accessible to > users (inspired by [1]). > -- Kaushal Modi

[O] order of evaluation upon export: macros are evaluated too soon

2017-06-07 Thread Eric S Fraga
Hello all, I have a document with this (ECM) structure: #+begin_src org ,#+macro: item I{{{n(i)}}}@@latex:}%@@ ,#+options: toc:nil num:nil ,* {{{item()}}} Some topic ,* {{{item()}}} Another topic :noexport: ,* {{{item()}}} A final one #+end_src I would

Re: [O] No operator defined for property header-args

2017-06-07 Thread Nicolas Goaziou
Hello, Kevin Foley writes: > Ah okay it's my misunderstanding then. I'm trying to refresh the local > setup to apply a different set of header args to that tree. > > After some research it looks like I should just be calling > org-mode-restart. Does that seem correct? I don't think you need t

Re: [O] Minor addition to Speed Keys info node

2017-06-07 Thread Nicolas Goaziou
Hello, Kaushal Modi writes: > +Org comes with a pre-defined list of Speed Keys. To add or modify Speed > +Keys, customize the variable, @code{org-speed-commands-user}. For more > +details, see the variable's docstring. With Speed Keys activated, @kbd{M-x > +org-speed-command-help} or @kbd{?}

Re: [O] Minor addition to Speed Keys info node

2017-06-07 Thread Kaushal Modi
On Wed, Jun 7, 2017 at 12:21 PM Nicolas Goaziou wrote: > @kbd{?}---when cursor is at the beginning of an Org headline---shows > currently active Speed Keys,... > > > Org +headline) shows currently active Speed Keys, including the > > user-defined ones. > > Otherwise, LGTM. > Thanks. I was unawar

Re: [O] Minor addition to Speed Keys info node

2017-06-07 Thread Kaushal Modi
One minor iteration.. I think below reads with a better flow.. WDYT? @kbd{M-x org-speed-command-help}, or @kbd{?} when cursor is at the beginning of an Org headline, shows currently .. Here's the full patch: >From 5886b6f7fe82858ae49b55d409d1baf20942dae8 Mon Sep 17 00:00:00 2001 From: Kaushal Mo

Re: [O] order of evaluation upon export: macros are evaluated too soon

2017-06-07 Thread Charles C. Berry
On Wed, 7 Jun 2017, Eric S Fraga wrote: Hello all, I have a document with this (ECM) structure: #+begin_src org ,#+macro: item I{{{n(i)}}}@@latex:}%@@ ,#+options: toc:nil num:nil ,* {{{item()}}} Some topic ,* {{{item()}}} Another topic :noexport: ,* {{{it

Re: [O] order of evaluation upon export: macros are evaluated too soon

2017-06-07 Thread Nicolas Goaziou
Hello, "Charles C. Berry" writes: > Maybe implement somethng like this: > > #+BEGIN_SRC emacs-lisp >(defun n-noexport (x y) > (let ((tags (nth 5 (org-heading-components >(unless (and tags > (string-match ":noexport:" tags)) > (org-macro--counter-increm

Re: [O] Minor addition to Speed Keys info node

2017-06-07 Thread Nicolas Goaziou
Kaushal Modi writes: > One minor iteration.. I think below reads with a better flow.. WDYT? [...] @vindex org-use-speed-commands > +By default, Org has Speed Keys disabled. To activate Speed Keys, set the > +variable @code{org-use-speed-commands} to a non-nil value. To trigger a > +Speed Key,

Re: [O] Minor addition to Speed Keys info node

2017-06-07 Thread Kaushal Modi
On Wed, Jun 7, 2017 at 4:21 PM Nicolas Goaziou wrote: > @vindex org-use-speed-commands > > +By default, Org has Speed Keys disabled. To activate Speed Keys, set > the > > +variable @code{org-use-speed-commands} to a non-nil value. To trigger a > > +Speed Key, the cursor must be at the beginning

Re: [O] Minor addition to Speed Keys info node

2017-06-07 Thread Kaushal Modi
On Wed, Jun 7, 2017 at 4:44 PM Kaushal Modi wrote: > Did you mean that I need to move those tags closer to where those vars are > actually referenced in that node? > Seems like that was the intention. Also as I am referring to the org-speed-command-help function for the first time in the manual

Re: [O] Minor addition to Speed Keys info node

2017-06-07 Thread Nicolas Goaziou
Kaushal Modi writes: > On Wed, Jun 7, 2017 at 4:44 PM Kaushal Modi wrote: > >> Did you mean that I need to move those tags closer to where those vars are >> actually referenced in that node? >> > > Seems like that was the intention. Correct. >Also as I am referring to the org-speed-command-hel

Re: [O] Minor addition to Speed Keys info node

2017-06-07 Thread Kaushal Modi
On Wed, Jun 7, 2017 at 5:34 PM Nicolas Goaziou wrote: > > +By default, Org has Speed Keys disabled. To activate Speed Keys, set > the > > +variable @code{org-use-speed-commands} to a non-nil value. > > I overlooked this one: non-@code{nil} > Fixed :) > > I think you can push this, or we are g

Re: [O] Minor addition to Speed Keys info node

2017-06-07 Thread Nicolas Goaziou
Kaushal Modi writes: > Thanks! I just pushed to the maint branch for the very first time (using > magit on Termux on Nexus 6p!); also merged that to master. (That also > merged your last commit on maint into master. Hope that is fine.) Congratulations, and thank you. > For future, should I refr

Re: [O] Custom keymaps on org blocks

2017-06-07 Thread Grant Rettke
On Wed, Jun 7, 2017 at 7:49 AM, John Kitchin wrote: > Grant Rettke writes: > >> You want Polymode: https://github.com/vspinu/polymode > > I have never been able to get polymode to work. Do have an incantation > that works? I forgot that I set it up for R markdown files. But it did work on my mach

Re: [O] Custom keymaps on org blocks

2017-06-07 Thread Grant Rettke
On Wed, Jun 7, 2017 at 8:50 AM, John Kitchin wrote: > On the other hand, there are times when I am working on a document that has > a lot of short code blocks, e.g. for lecture notes or blog posts, where it > is sufficiently tedious to me to switch in and out of the special edit mode These bindin

Re: [O] No operator defined for property header-args

2017-06-07 Thread Kevin Foley
You're right, I thought because a refresh was needed for #+PROPERTY: it was also needed for property blocks. Thanks for your help. Thanks, Kevin Foley On Wed, Jun 7, 2017 at 12:20 PM, Nicolas Goaziou wrote: > Hello, > > Kevin Foley writes: > > > Ah okay it's my misunderstanding then. I'm try

[O] org-link-minor-mode.el broken by recent org maint

2017-06-07 Thread Samuel Wales
org-link-minor-mode broken by recent maint. both links and tses. anybody else? cannot bisect but these seem suspicious by name: 439fcfb * Fix link fontification 2d29269 * Fix link fontification -- The Kafka Pandemic: The disease DOES progress. MANY peop

Re: [O] org-link-minor-mode.el broken by recent org maint

2017-06-07 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > org-link-minor-mode broken by recent maint. both links and tses. I don't know what is `org-link-minor-mode'. Regards, -- Nicolas Goaziou