Re: [O] excluding whole trees on export when subtrees have "select" tags present

2017-01-11 Thread Eric S Fraga
On Wednesday, 11 Jan 2017 at 20:26, Nicolas Goaziou wrote: > This is what select tags do, but the tree starts at top-level. Any tree > that _contains_ a select tag is exported as a whole. See > `org-export--selected-trees'. Yes. > You want to use select tags to get parts of trees, i.e.

Re: [O] [feature request] more informative error message when calling an undefined src block

2017-01-11 Thread Eric S Fraga
On Wednesday, 11 Jan 2017 at 20:02, Nicolas Goaziou wrote: > Eric S Fraga writes: > >> This ECM may appear contrived but, when working with a large document, >> it is easy to comment out or exclude sections that, it turns out, have >> material within that is referenced from

Re: [O] REPEAT_TO_STATE file-wide property is not working

2017-01-11 Thread Young-whan
Actually, I've tried 9.0.3, but it's as same as before. hmm... On Wed, Jan 11, 2017 at 10:51 PM, Young-whan wrote: > Mine is like this: > > GNU Emacs 25.1.1 (x86_64-apple-darwin16.4.0, NS appkit-1504.77 Version > 10.12.3 (Build 16D17a)) of 2017-01-09 > Org-mode version

Re: [O] REPEAT_TO_STATE file-wide property is not working

2017-01-11 Thread Young-whan
Mine is like this: GNU Emacs 25.1.1 (x86_64-apple-darwin16.4.0, NS appkit-1504.77 Version 10.12.3 (Build 16D17a)) of 2017-01-09 Org-mode version 8.2.10 (release_8.2.10 @ /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/) I've tried the bare configuration ( -q option ), but it's same.

[O] Syncing methods for org files and org-mobile.el

2017-01-11 Thread Sean Escriva
Greetings fellow Org users, I'm the current maintainer for MobileOrg iOS[1] and am interested to get feedback from any org-mobile users. What do you use to sync org files across different machines, how could the current org-mobile workflow be improved (if at all)? We're actively working to get a

Re: [O] %( in capture template

2017-01-11 Thread Samuel Wales
hi nicolas, thank you for the fix. quick testing seems to show that it works much better. will keep evaluating it. i had thought it was my own lack of understanding. there is one problem. when i select a few paragraphs in firefox using org-capture extension, they get captured as one long

Re: [O] format-time-string for a time range

2017-01-11 Thread Joon Ro
I'm sorry I misspoke. With ("<%b %d (%a)>" . "<%b %d (%a) %I:%M%p>"), it correctly exports [2016-05-10 Tue 13:00-16:00] into May 10 (Tue) 01:00PM–May 10 (Tue) 04:00PM. However, is there any way to skip the second (the same) date and get May 10 (Tue) 01:00PM–04:00PM instead? Best, Joon

[O] format-time-string for a time range

2017-01-11 Thread Joon Ro
Hi, I'm trying to specify org-time-stamp-custom-formats for a time range. For example, [2016-05-10 Tue 13:00-16:00] Is there any way to specify this? Currently I'm using ("<%b %d (%a)>" . "<%b %d (%a) %I:%M%p>"), which results in May 10 (Tue) 01:00PM. I have not been able to find symbols

Re: [O] [org-ref] how to tweak display of links and entries

2017-01-11 Thread Christian Wittern
Dear John, Thanks for your answer. On 01/11/2017 10:33 PM, John Kitchin wrote: There is not a way to hook or define a format for this that I know of. For helm-bibtex, you might be able to redefine or advise bibtex-completion-apa-format-authors to handle that. Well, thanks, I'll investigate

Re: [O] excluding whole trees on export when subtrees have "select" tags present

2017-01-11 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > On Tuesday, 10 Jan 2017 at 14:27, John Kitchin wrote: >> This does not sound right to me. >> >> This org file: >> >> #+BEGIN_SRC org >> ,#+select_tags: wanted >> ,#+exclude_tags: notwanted >> >> ,* headline

[O] org-mime: improve handling of cc & bcc

2017-01-11 Thread Matt Price
I have been having some trouble with org-mime & mu4e (iv cc & bcc are empty, then buffer creation fails), and this patch seems to have fixed it. Not 100% sure that this is really the origin of the problem but it fixed an issue for me. diff --git a/contrib/lisp/org-mime.el

Re: [O] [feature request] more informative error message when calling an undefined src block

2017-01-11 Thread Nicolas Goaziou
Eric S Fraga writes: > This ECM may appear contrived but, when working with a large document, > it is easy to comment out or exclude sections that, it turns out, have > material within that is referenced from elsewhere. This is difficult to > track down when exporting. If

Re: [O] [feature request] more informative error message when calling an undefined src block

2017-01-11 Thread Eric S Fraga
On Tuesday, 10 Jan 2017 at 12:26, Nicolas Goaziou wrote: [...] > Could you provide an ECM? Yes, of course: #+begin_src org ,* Simple illustration of nil link error message In table [[mytable]], there are some numbers ,** the table

Re: [O] Org mode clockview links failing with spaces

2017-01-11 Thread Shawn Way
I'll do so this evening. Unfortunately, work is interfering with my "work". Shawn Way, PE -Original Message- From: Nicolas Goaziou [mailto:m...@nicolasgoaziou.fr] Sent: Wednesday, January 11, 2017 5:29 AM To: Shawn Way Cc: emacs-orgmode@gnu.org Subject: Re: Org mode

Re: [O] excluding whole trees on export when subtrees have "select" tags present

2017-01-11 Thread Eric S Fraga
On Tuesday, 10 Jan 2017 at 14:27, John Kitchin wrote: > This does not sound right to me. > > This org file: > > #+BEGIN_SRC org > ,#+select_tags: wanted > ,#+exclude_tags: notwanted > > ,* headline:notwanted: > some text > > ,** subhead 1 >

[O] org-get-heading and COMMENT

2017-01-11 Thread Matt Price
I see that (org-get-heading t t) executed on a heading like: * COMMENT Heading Title returns: COMMENT Heading Title Should there be a third switch, something like NO-COMMENT? Or should I maybe be using the org-element API instead? I'm just trying to generate custom id's from headline text +

Re: [O] org-capture exists with "Capture abort: (wrong type argument...)"

2017-01-11 Thread Simao
Ok I found out the problem. I was using the following hook: (defun sm-mozilla-text-hook () (when (string-match (expand-file-name "~/.mozilla/firefox") (buffer-file-name)) (longlines-mode 1))) (add-hook 'text-mode-hook 'sm-mozilla-text-hook) But for the capture buffer, buffer-file-name

Re: [O] [OT] buffer or frame locale color-theme settings?

2017-01-11 Thread Rasmus
Hi, Matt Price writes: > Shoot, I've just updated my emacs and and I guess I can no longer set > frame-local color themes, a it says in NEWS: > > ** Some obsolete functions, variables, and faces have been removed: > *** make-variable-frame-local. Variables cannot be

Re: [O] org-capture exists with "Capture abort: (wrong type argument...)"

2017-01-11 Thread Simao
I was using the version bundled with emacs 25. I upgraded to org 9.0.3 and I still get the same problem. Is there a way to get a better trace or something? On Wed, Jan 11, 2017, at 15:50, Nicolas Goaziou wrote: > Simao writes: > > > Ah that's what you meant. Yeah but I am

Re: [O] Using code block function as formula in tables

2017-01-11 Thread Nicolas Goaziou
Hello, Roland Everaert writes: > Is it possible to call a code block from a table field as it is a formula? > > I have tried the following syntax from a field in a table, but none of them > is interpreted as expected: > > - #+CALL: function(parameters) > -

Re: [O] org-capture exists with "Capture abort: (wrong type argument...)"

2017-01-11 Thread Nicolas Goaziou
Simao writes: > Ah that's what you meant. Yeah but I am activating org-mode for org.txt > files: > > (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) > (add-to-list 'auto-mode-alist '("\\.org.txt$" . org-mode)) > > And if I open the journal file it indeed has org-mode active.

[O] [OT] buffer or frame locale color-theme settings?

2017-01-11 Thread Matt Price
Shoot, I've just updated my emacs and and I guess I can no longer set frame-local color themes, a it says in NEWS: ** Some obsolete functions, variables, and faces have been removed: *** make-variable-frame-local. Variables cannot be frame-local any more. Does anyone else rely on multiple color

Re: [O] org-capture exists with "Capture abort: (wrong type argument...)"

2017-01-11 Thread Simao
Ah that's what you meant. Yeah but I am activating org-mode for org.txt files: (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) (add-to-list 'auto-mode-alist '("\\.org.txt$" . org-mode)) And if I open the journal file it indeed has org-mode active. Thanks On Wed, Jan 11, 2017, at 12:10,

Re: [O] strange results with org-map-entries

2017-01-11 Thread Matt Price
On Tue, Jan 10, 2017 at 7:34 PM, Matt Price wrote: > > > On Tue, Jan 10, 2017 at 6:58 PM, Nicolas Goaziou > wrote: > >> Hello, >> >> Matt Price writes: >> >> > What's going on here? Can anyone else reproduce this? I'm seeing it on

Re: [O] [org-ref] how to tweak display of links and entries

2017-01-11 Thread John Kitchin
Christian Wittern writes: > Hi Org, especially Org-ref users, > > I have seen a number of org-ref related questions here recently, so I guess > it is OK to ask here. > > I am trying to move to a more sophisticated bibliography format involving > some new field types recently added to biblatex.

[O] Using code block function as formula in tables

2017-01-11 Thread Roland Everaert
Hi, Is it possible to call a code block from a table field as it is a formula? I have tried the following syntax from a field in a table, but none of them is interpreted as expected: - #+CALL: function(parameters) - call_function(parameters) The goal is to use the result of the call in other

Re: [O] Org mode clockview links failing with spaces

2017-01-11 Thread Nicolas Goaziou
Hello, Shawn Way writes: > A pop up window appears asking the question: > > No match - Create this as a new heading? I cannot reproduce it. Could you double-check with a bare configuration? Regards, -- Nicolas Goaziou

Re: [O] org-capture exists with "Capture abort: (wrong type argument...)"

2017-01-11 Thread Nicolas Goaziou
Simao writes: > I only changed the location of the journal file. Worse, you changed the extension, which means the major mode used after opening the file is different. > org-mode actually creates the file and the right heading: > > * 2017 > ** 2017-01 January > *** 2017-01-11

Re: [O] org-capture exists with "Capture abort: (wrong type argument...)"

2017-01-11 Thread Simao
Hi, Thanks for your reply. I only changed the location of the journal file. org-mode actually creates the file and the right heading: * 2017 ** 2017-01 January *** 2017-01-11 Wednesday But then this error is thrown. What do you mean the file is not in org mode? How do I add it to org mode?

Re: [O] Bug? org-agenda-to-appt returns `Args out of range: 1, 1`

2017-01-11 Thread Nicolas Goaziou
Hello, Xebar Saram writes: > just reporting what seems like a bug after last org update > when i run the command > > `org-agenda-to-appt ` > > it returns > > `Args out of range: 1, 1` > > can anyone confirm? I cannot. Could you provide an ECM? Thank you. Regards, --

Re: [O] org-capture exists with "Capture abort: (wrong type argument...)"

2017-01-11 Thread Nicolas Goaziou
Hello, Simao writes: > I am trying to run `org-capture` to capture a journal entry but > `org-capture` always aborts with the following trace: > > Debugger entered--Lisp error: (error "Capture abort: > (wrong-type-argument stringp nil)") > signal(error ("Capture abort:

Re: [O] %( in capture template

2017-01-11 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > here are the entries: > > ("p" "Protocol p" entry > (file+headline "/home/org/executive--a.org" "xyzzy-remember") > "%(alpha-org-protocol-string \"%:link\" \"%:description\" > \"%i\")" :prepend t :immediate-finish t

Re: [O] HTML export for math markup

2017-01-11 Thread Eric S Fraga
On Tuesday, 10 Jan 2017 at 13:12, Lawrence Bottorff wrote: > Yes, I tested all my header lines and found that was the 'offender." > It got there on someone's suggestion it was needed for proper TikZ. Or > was it bibtex? Or does a ton of pngs come if you choose Latex preview? > No time for further