Re: [O] Org-lint and #+call lines

2015-04-27 Thread Thomas S. Dye
Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> So, I decided to track wip-lint. Now, the linting stops with this >> error: >> >> , >> | Org linting process starting... >> | let: Wron

Re: [O] Org-lint and #+call lines

2015-04-27 Thread Nicolas Goaziou
> Is org-lint supposed to catch :results output graphics? It catches :results output graphic Is it :results output graphics Regards,

Re: [O] Error when using org-ctrl-c-ctrl-c to add tags

2015-04-27 Thread Rasmus
Ken Mankoff writes: > I'm still experiencing this bug, although with a slightly different error > message. When "C-c C-c" on a headline, I see: > > org-set-tags: Wrong type argument: listp, org-tags-completion-function Do you see this from emacs -q? If not, how can I get to the state where this

Re: [O] Tangled Latex code gives error

2015-04-27 Thread Andreas Leha
Hi Lawrence, Lawrence Bottorff writes: > I'm following the Latex howto of org-mode babel. Here's the snippet > from the howto I've got in a separate .org file (see bottom of howto > page): > > #+LATEX_HEADER: \usepackage{tikz} > > First execute the second code block, to define the convenience mac

Re: [O] Source code evaluation problem

2015-04-27 Thread Eric S Fraga
On Saturday, 25 Apr 2015 at 18:35, Damian Bernardini wrote: > After a reinstallation I forgot to do make autoloads. > Now, it's working perfectly. > It was my mistake, sorry and thank you for your help. No problem; it happens to all of us at some point... Glad that you sorted it out. -- : Eric S

Re: [O] Tangled Latex code gives error

2015-04-27 Thread Eric S Fraga
On Sunday, 26 Apr 2015 at 19:20, Lawrence Bottorff wrote: > I'm following the Latex howto of org-mode babel. Here's the snippet from > the howto I've got in a separate .org file (see bottom of howto page): [...] > My real confusion starts when I try to tangle the babel code blocks. The > C-c C-v

Re: [O] Marking/highlighting text temporarily

2015-04-27 Thread John Kitchin
This might be a case where having a link type that supports attributes would come in handy. Then you could use these like PDF comments. In the list of PDF comments in Adobe Acrobat for example, there is a checkbox you can use to check them off when you are done with one. Of course, you have to stor

Re: [O] Marking/highlighting text temporarily

2015-04-27 Thread Marcin Borkowski
On 2015-04-27, at 12:27, John Kitchin wrote: > This might be a case where having a link type that supports attributes > would come in handy. Then you could use these like PDF comments. In the > list of PDF comments in Adobe Acrobat for example, there is a checkbox you > can use to check them off

Re: [O] custom agenda view not possible?

2015-04-27 Thread Alan Schmitt
Hello, On 2015-04-27 04:21, Traycer Bullet writes: > I'm transitioning from a web-based to-do list, and one thing I rely on is > viewing recently CREATED or CLOSED tasks, e.g. within the last 2 days. My hope > is to recreate this with a custom agenda view, but I haven't been able to find > the c

Re: [O] Org-lint and #+call lines

2015-04-27 Thread Nicolas Goaziou
Nicolas Goaziou writes: >> Is org-lint supposed to catch :results output graphics? > > It catches > > :results output graphic > > Is it > > :results output graphics Nevermind. I realized allowed values and combinations are already known to Babel, so I improved the checker.

Re: [O] Tangled Latex code gives error

2015-04-27 Thread Lawrence Bottorff
I'm attracted to the tangle option because the normal latex export seems to take everything in my .org file, e.g., * Introduction LaTeX is a document markup language and a document preparation system for the TeX typesetting program. #+BEGIN_LaTeX \begin{eqnarray*} \hat{f}(x) & \propto & \sum_{\nu

Re: [O] Error when using org-ctrl-c-ctrl-c to add tags

2015-04-27 Thread Ken Mankoff
On 2015-04-27 at 04:26, Rasmus wrote: > Ken Mankoff writes: > >> I'm still experiencing this bug, although with a slightly different error >> message. When "C-c C-c" on a headline, I see: >> >> org-set-tags: Wrong type argument: listp, org-tags-completion-function > > Do you see this from emacs -

Re: [O] Marking/highlighting text temporarily

2015-04-27 Thread Eric Abrahamsen
Marcin Borkowski writes: > On 2015-04-27, at 12:27, John Kitchin wrote: > >> This might be a case where having a link type that supports attributes >> would come in handy. Then you could use these like PDF comments. In the >> list of PDF comments in Adobe Acrobat for example, there is a checkbox

Re: [O] Marking/highlighting text temporarily

2015-04-27 Thread John Kitchin
Emacs anticipated this need and can help formulate comments specifically for the NSA :) https://www.gnu.org/software/emacs/manual/html_node/emacs/Mail-Amusements.html John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mel

Re: [O] Marking/highlighting text temporarily

2015-04-27 Thread Eric Abrahamsen
John Kitchin writes: > Emacs anticipated this need and can help formulate comments > specifically for the NSA :) > https://www.gnu.org/software/emacs/manual/html_node/emacs/Mail-Amusements.html Well that's pretty amazing. > On Mon, Apr 27, 2015 at 8:37 AM, Eric Abrahamsen > wrote: > > > Ma

Re: [O] org-latex question

2015-04-27 Thread Vikas Rawal
> >> In the document (manuscript of a book) that I am working, ALT_TITLE now >> works in most cases. However, ALT_TITLE does not work for headlines in >> Appendices, which come after >> >> \begin{appendices} > > Are you sure the problem isn't on the LaTeX side? Where does the > appendices

[O] navigate between source code blocks

2015-04-27 Thread Zhihao Ding
Dear Org experts, I’ve got a simple question: how to speed up jumping between code blocks? My org file grows larger every day with more and more source code blocks. I find myself spending increasing amount of time finding the right code blocks to go to. Could anyone suggest a method to incr

[O] #+LINK abbrevs possible in #+INCLUDEs ?

2015-04-27 Thread Detlef Steuer
Hi! Emacs and git in today´s fresh version. I have two files: file1.org: #+LINK: HOME http://example.de * My Homepage You can find my homepage [[HOME][here]] #+INCLUDE: file2.org file2.org #+LINK: HOME2 http://other.example.de

Re: [O] Conditional .gitignore for org-mode files

2015-04-27 Thread Richard Lawrence
Hi David, David Dynerman writes: > Sorry in advance, this might be more of a git question than an org-mode > question, but I thought someone on this list might know the answer. > > Is it possible to conditionally gitignore certain files based on files > that are being tracked? > > What I'd like

Re: [O] Conditional .gitignore for org-mode files

2015-04-27 Thread Samuel Loury
Dear David, David Dynerman writes: > What I'd like is something like the following gitignore logic: > > if filename.org is tracked by git: >ignore filename.tex, filename.html > > If this isn't possible, does anyone have any nice setups for ignoring > exported versions of org-mode files? The

Re: [O] Org-lint and #+call lines

2015-04-27 Thread Thomas S. Dye
Nicolas Goaziou writes: > I realized allowed values and combinations are already known to Babel, > so I improved the checker. Looks good. Org-lint raises many more warnings now. Thanks, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] [RFC] Org linting library

2015-04-27 Thread Doug Lewan
> -Original Message- > On > Behalf Of Nicolas Goaziou > Sent: Sunday, 2015 April 19 09:32 > To: Org Mode List > Subject: [O] [RFC] Org linting library > > Hello, > > The following library implements linting for Org syntax. The sole > public > function is `org-lint', which see. > Nicolas

Re: [O] org-latex question

2015-04-27 Thread Nicolas Goaziou
Hello, Vikas Rawal writes: > I am sorry, it has nothing to do with appendices. Although I am not > able to exactly figure out where the problem is, I have an example > file where ALT_TITLE gets exported only for one headline and not for > the others. Please see the attached org and and latex fil

Re: [O] org-latex question

2015-04-27 Thread Nick Dokos
Vikas Rawal writes: >> >>> In the document (manuscript of a book) that I am working, ALT_TITLE >>> now works in most cases. However, ALT_TITLE does not work for >>> headlines in Appendices, which come after >>> >>> \begin{appendices} >> >> Are you sure the problem isn't on the LaTeX side? Wh

Re: [O] #+LINK abbrevs possible in #+INCLUDEs ?

2015-04-27 Thread Nicolas Goaziou
Hello, Detlef Steuer writes: > I have two files: > > file1.org: > > #+LINK: HOME http://example.de > > * My Homepage You can find my homepage [[HOME][here]] > > #+INCLUDE: file2.org > > > file2.org > #+LINK: HOME2 http://other.exampl

[O] BUG: named time references problem in formula

2015-04-27 Thread Daniele Pizzolli
Hello, according to [[info:org#References]] (see Named references) is possible to use a property in formulas. This generally works, but not when the property is a time value as defined in [[info:org#Durations%20and%20time%20values]]. Please have a look at the following ECM: * test table with con

Re: [O] Bug: Priority #B in Agenda causes invalid face reference [8.2.1 (8.2.1-15-ge5cecc-elpa @ /Users/Paul/.emacs.d/elpa/org-20131021/)]

2015-04-27 Thread Renato
I'm using release_8.2.10 and experienced the same problem. The problem seems to be the function org-agenda-fontify-priorities which calls: (org-face-from-face-or-color 'priority nil (cdr (assoc p org-priority-faces))) which expects a face to inherit f

Re: [O] #+LINK abbrevs possible in #+INCLUDEs ?

2015-04-27 Thread Detlef Steuer
> Hello, > > Detlef Steuer writes: > > > I have two files: > > > > file1.org: > > > > #+LINK: HOME http://example.de > > > > * My Homepage You can find my homepage [[HOME][here]] > > > > #+INCLUDE: file2.org > > > > > > file2.org > >

[O] Latex export or Latex tangle? Best practice?

2015-04-27 Thread Lawrence Bottorff
In a previous post I was getting at the issue of whether I should just do regular export or use latex "code blocks" for what I wanted in a final document. What I want is the ability to create a big, rambling, annotated org file -- with "keeper" stuff inside the latex babel blocks -- then tangle the

[O] [BUG?] Blank line required between text and short caption

2015-04-27 Thread Jacob Gerlach
Hello, Is it required by org syntax to separate short captions from body text? In the following example: * ECM Some text that introduces this table. #+CAPTION[Short caption]: #+CAPTION: Longer caption | Foo | Latex export

Re: [O] Latex export or Latex tangle? Best practice?

2015-04-27 Thread Ista Zahn
I would use LaTeX code blocks when I need to write something in LaTeX that isn't easy to write in org mode, not to distinguish what is a note and what is part of the draft. For that I recommend comments, e.g., ### Start example ### * Section 1 ** COMMENT Some rough draft notes to myself yadda y

Re: [O] #+LINK abbrevs possible in #+INCLUDEs ?

2015-04-27 Thread Nicolas Goaziou
Detlef Steuer writes: > The real file2.org is somewhat big and would be scanned completely, > wouldn't it? Only special keywords are parsed. The advantage of SETUPFILE is that it works even outside of export. >> Set-up (e.g., link abbreviations) is not refreshed after expanding >> INCLUDE keyw

Re: [O] [BUG?] Blank line required between text and short caption

2015-04-27 Thread Nicolas Goaziou
Hello, Jacob Gerlach writes: > Is it required by org syntax to separate short captions from body text? > > In the following example: > > * ECM > Some text that introduces this table. > #+CAPTION[Short caption]: > #+CAPTION: Longer caption > | Foo | >

[O] [PATCH] TINYCHANGE Allow attaching SVG images by default in exported ODT documents

2015-04-27 Thread Vicente Vera
Hello list. The patch below changes org-odt-inline-image-rules value, thus allowing exported ODT documents to include SVG images by default. From 991f4add7c644902bd6bcd2a5b9eb01e1ea5ade9 Mon Sep 17 00:00:00 2001 From: Vicente Vera Parra Date: Mon, 27 Apr 2015 18:02:22 -0300 Subject: [PATCH] ox-od

Re: [O] Target and link text normalised to `orgtargetn'

2015-04-27 Thread Rasmus
Nicolas Goaziou writes: >> Here's an updated patch. > > Thank you. Some comments follow. Pushed with your recommendations. Thanks. -- May the Force be with you

Re: [O] [bug, org] footnote-action broken with narrowed buffer

2015-04-27 Thread Rasmus
Nicolas Goaziou writes: >> Wouldn't it only find definition in the same file? If you use a popup >> indirect buffer narrowed to the footnote-definition in question I don't >> think these problems can exist. In any case, this would seem similar to >> the way ob handles code blocks. > > Good idea.

Re: [O] Target and link text normalised to `orgtargetn'

2015-04-27 Thread Nicolas Goaziou
Rasmus writes: > Pushed with your recommendations. Thanks. Thank you. Regards,

Re: [O] [bug, org] footnote-action broken with narrowed buffer

2015-04-27 Thread Nicolas Goaziou
Rasmus writes: > I added this to org.texi. OK. > Note, C-c ' will fail in the following example 'cause the fn definition > does not have contents-end. I started to try fix this but feel free to > beat me to it. I likely will not have time to look more into it until the > weekend. > > foo[fn:1

Re: [O] [PATCH] TINYCHANGE Allow attaching SVG images by default in exported ODT documents

2015-04-27 Thread Rasmus
Vicente Vera writes: > The patch below changes org-odt-inline-image-rules value, thus > allowing exported ODT documents to include SVG images by default. I pushed your change. Thanks! Rasmus -- If you can mix business and politics wonderful things can happen!

Re: [O] [bug, org] footnote-action broken with narrowed buffer

2015-04-27 Thread Nicolas Goaziou
Rasmus writes: > Would it make sense to allow this to hook into org-footnote-action? What do you mean by hooking it into `org-footnote-action'? To replace default action with this? This is not possible ATM because it doesn't handle inline footnotes at all (this requires some work in "org-src.el

Re: [O] [bug, org] footnote-action broken with narrowed buffer

2015-04-27 Thread Rasmus
Nicolas Goaziou writes: >> Would it make sense to allow this to hook into org-footnote-action? > > What do you mean by hooking it into `org-footnote-action'? To replace > default action with this? To have a defcustom that let you choose preferred method. Whether the default should be changed I

Re: [O] Marking/highlighting text temporarily

2015-04-27 Thread John Kitchin
Hi Eric, I added some functions in the attachment. they colorize the comments, add an org-comment menu to the org-menu, and some functions for pop to and delete comments from the list mode, and a hydra for commands to insert comments. Do you want to get this up on github to facilitate developing i

Re: [O] [BUG?] Blank line required between text and short caption

2015-04-27 Thread Jacob Gerlach
On Mon, Apr 27, 2015 at 4:29 PM, Nicolas Goaziou wrote: > No, it is a genuine bug from parser. This should be fixed in > eb77fed33fa0306ebed2224f7895b688320847b2. Confirmed that it is fixed. Thank you. Regards, Jake

Re: [O] Marking/highlighting text temporarily

2015-04-27 Thread Eric Abrahamsen
John Kitchin writes: > Hi Eric, > > I added some functions in the attachment. they colorize the comments, > add an org-comment menu to the org-menu, and some functions for pop to > and delete comments from the list mode, and a hydra for commands to > insert comments. Do you want to get this up on

Re: [O] Latex export or Latex tangle? Best practice?

2015-04-27 Thread Charles C. Berry
On Mon, 27 Apr 2015, Lawrence Bottorff wrote: In a previous post I was getting at the issue of whether I should just do regular export or use latex "code blocks" for what I wanted in a final document. What I want is the ability to create a big, rambling, annotated org file -- with "keeper" stuff

Re: [O] Org-lint and #+call lines

2015-04-27 Thread Thomas S. Dye
Nicolas Goaziou writes: > Nicolas Goaziou writes: > >>> Is org-lint supposed to catch :results output graphics? >> >> It catches >> >> :results output graphic >> >> Is it >> >> :results output graphics > > Nevermind. > > I realized allowed values and combinations are already known to Babel, >

Re: [O] org-latex question

2015-04-27 Thread Vikas Rawal
> > [fn:3] aksjd kajshd kahsd > > Fixed in 88ea2ced0e38646d393e038bc81d6a0d45b8dcd6. Thank you. > > > The second and third headings are getting exported as: \subsection*[Heading 2]{Heading 2\footnote{aksjdlkjaslkjd}} I do not think the * should be there. Vikas

Re: [O] org-latex question

2015-04-27 Thread Vikas Rawal
> You have num:2, so subsubsections are not TOC'ed, so they don't get > the alternative. If you set it to 3, all should work. > That is what we have been discussing. There are situations where you do not want a headline to appear in TOC, but still want the ALT_TITLE used. It is now possible in org

Re: [O] `org-get-category' and `org-entry-get' do not return the same value

2015-04-27 Thread Samuel Loury
Dear Nicolas, Nicolas Goaziou writes: > Samuel Loury writes: > >> I use the version cd6fa4c15e8e35afa6beb9e89ad3723fb82df091 (git sha) of >> org-mode. >> >> Let's say I have a file looking like this: >> >> #+CATEGORY: c >> * foo >> :PROPERTIES: >> :CATEGORY: a >> :END: >> ** bar >>:PRO