Re: [O] member-ignore-case: Wrong type argument: stringp, nil

2016-10-18 Thread Vikas Rawal
> 
>>> On 12-Oct-2016, at 9:10 am, Vikas Rawal  
>>> wrote:
>>> 
>>> Wrong type argument: stringp, nil
>> 
>> 
>> Debug gives me this:
>> 
>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> 
> I guess this is a cache bug. Try M-x org-element-cache-reset in a buffer
> where the error happens. Does it disappear?
> 

You are perhaps right. M-x org-element-cache-reset did not solve the problem 
but restarting emacs did.

Thanks.

Vikas




[O] [PATCH] Clarify documentation for the %\1, .., %\N template expansion

2016-10-18 Thread Stig Brautaset

Hello! I failed to understand this part of the template expansion, and
I'm hoping you will consider this an improvement. I mistook the %\n for
a newline and glossed over the description. I'm hoping this makes it
clearer that it's a sequence of placeholders.

I haven't signed the CLA, but I'm hoping this change is small enough for
that not to be necessary. (Although I don't have a problem with signing
the CLA if you prefer that.)

diff --git a/contrib/orgmanual.org b/contrib/orgmanual.org
index 8b8ae1e..5a7904d 100644
--- a/contrib/orgmanual.org
+++ b/contrib/orgmanual.org
@@ -7060,10 +7060,10 @@ here:
   ~%^{prompt|default|completion2|completion3...}~.  The arrow keys access
   a prompt-specific history.
 
-- %\n ::
+- %\1, %\2, ..., %\N ::
 
-  Insert the text entered at the nth %^{PROMPT}, where ~n~ is
-  a number, starting from 1.
+  Insert the text entered at the Nth %^{PROMPT}, where ~N~ is
+  a number starting from 1.
 
 - %? ::  
 
-- 
2.8.4 (Apple Git-73)





Re: [O] Bug: Fix no-byte-compile in org-pkg.el [8.3.6 (8.3.6-7-g4d7d52-elpa @ /home/thierry/.emacs.d/elpa/org-20161017/)]

2016-10-18 Thread Nicolas Goaziou
Hello,

Thierry Volpiatto  writes:

> Actually in org-pkg.el, the local setting of `no-byte-compile` have no
> effect, please use:
>
> ;; Local Variables:
> ;; no-byte-compile: t
> ;; End:
>
> at end of file to avoid warning when package is compiled.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] Bug: org-agenda-skip-scheduled-if-deadline-is-shown is ignored [8.3.6 (release_8.3.6-1226-ge4d4c6 @ /home/luke/elisp/org-mode/lisp/)

2016-10-18 Thread Nicolas Goaziou
Hello,

Luke  writes:

> Setting org-agenda-skip-scheduled-if-deadline-is-shown to a non-nil
> value in a custom agenda command seems to have no effect. Items that
> were scheduled three days ago and have a deadline yesterday still
> appear twice in the agenda.
>
> If I checkout tags/release_8.3.6 this bug does not seem to appear (the
> "Scheduled" entry is missing from the agenda, as expected). I'm
> guessing it's been introduced since then.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] org-eldoc and shell

2016-10-18 Thread Fabrice Popineau
2016-10-18 13:47 GMT+02:00 Aaron Ecay :

> Hi Fabrice,
>
> shell-mode is a shell emulation mode – what you get when you type M-x
> shell.


But shell-mode is working and I get a cmd.exe prompt (because I'm using
Windows).


> You should use sh (or bash, as applicable) in the header line of
> your src blocks.
>
> Ok! I understand now the problem I have seen in debugging this.
And it seems to work ok with both sh and bash.

Thanks for your help.

Fabrice


Re: [O] Graphics to HTML, LaTeX/PDF and DocBook?

2016-10-18 Thread Peter Davis
On Tue, Oct 18, 2016, at 11:13 AM, Eduardo Mercovich wrote:
> Hi Peter.
> 
> [...]
> > [...] However, LaTeX's \includesvg{} seems unable to find the .pdf_tex
> > file.
> > Interestingly, I managed to get the document to output to PDF by
> > manually running the inkscape command on each of the svg files. org-mode
> > seems to be trying to do this, but for some reason it's not working. 
> > Now, however, my text doesn't fit in the boxes. I wonder if there's a
> > way to make it all \footnotesize in the .pdf_tex files.
> 
> I'm outside that league, I'm sorry that I can't help... can you
> "intercept" somehow the middle results to help to diagnose the causes?
> 

Thanks, Eduardo. Perhaps I can get more feedback, but I don't have time
to investigate further right now. If I find anything further, I'll post
here.

Thank you.

-pd

-- 
  Peter Davis
  www.techcurmudgeon.com



Re: [O] code blocks: update cache hash on export

2016-10-18 Thread Charles C. Berry

On Tue, 18 Oct 2016, Ulrich J. Herter wrote:


Hi everybody!

Two questions I'd like to ask the Org-community:

??

First:
When I export my document, the source blocks with outdated cache hashes
run, but no new hashes are put in the document.


Right. The exporter runs in a buffer copy, so the original is not modified.



I would like to have the hashes updated when the run on export, so next
time I export the don't need to be evaluated. This would save a lot
quite some time!

Is there a switch I missed, or any way to get this behaviour?


Run org-babel-execute-buffer (or org-babel-execute-subtree) before you 
export.





Second:
Is there a function to get the hash of a #+CALL:-block? C-c C-v a ()
doesn't work there.



`org-babel-current-result-hash' does this. It is not interactive, so if 
you want to query the value interactively, you need


 M-: (org-babel-current-result-hash)

with point in the CALL line. Or roll it into an interactive function of 
your own.


`org-ctrl-c-ctrl-c' will get the value if point is just before the hash.

HTH,

Chuck



[O] timestamp variables

2016-10-18 Thread George Dowding
Hi,

I'm trying to create some TODOs in different projects with deadlines based
on different software releases. My initial thought would be to use a
variable to set the deadlines. The reason being that planned deadline
sometimes slips to a later date and I would like to update the deadline in
one place.

I'm open to organize things differently, but this example should show what
I a m getting at.

Right now, this is what I'm doing

* proj1
** TODO bug1
   DEADLINE: <2017-01-31 Tue>
** TODO bug2
   DEADLINE: <2017-01-31 Tue>
** TODO bug3
   DEADLINE: <2017-02-01 Wed>
* proj2
** TODO feat1
   DEADLINE: <2017-01-31 Tue>
** TODO feat2
   DEADLINE: <2017-03-01 Wed>
** TODO feat3
   DEADLINE: <2017-06-01 Thu>

But I would like to do something like this so that I can keep the project
work together and update the release deadlines in one place as they change.

* releases
** foo
   DEADLINE: <2017-01-31 Tue>
** foo.1
   DEADLINE: <2017-03-01 Wed>
** bar
   DEADLINE: <2017-06-01 Thu>
* proj1
** TODO bug1
   DEADLINE: 
** TODO bug2
   DEADLINE: 
** TODO bug3
   DEADLINE: 
* proj2
** TODO feat1
   DEADLINE: 
** TODO feat2
   DEADLINE: 
** TODO feat3
   DEADLINE: 

Thanks,
George


Re: [O] [ox-html] Why are dedicated targets automatically renamed?

2016-10-18 Thread D. C. Toedt
I'm late to this thread but found it in researching a similar problem.  I
use designated targets to create a permanently-named internal HTML anchor
that I can use in providing a precisely-targeted complete URL that points
to a specific paragraph (as opposed to a section).  Example:  In the file
index.org, the org-mode dedicated target  <> should export to
HTML as: http://www.example.com/index.html#ThisTarget.  The name #ThisTarget
needs to be permanent because the document in question is a work in
progress.

Based on Nicolas's suggestion (downthread) about using #+HTML: or @@html: ,
I did a couple of quickie macros to create  anchors and links, but
that's a pain and clutters up the on-screen display in org-mode.
​​

​--D. C.​



D. C. Toedt III
Attorney & neutral arbitrator   —
tech contracts & IP
*(My last name is pronounced "Tate")*
O: +1 (713) 364-6545   C: +1 (713) 516-8968
​​

d...@toedt.com@dctoedt 
​
Skype: dctoedt
​

www.OnContracts.com/About 
​​


Unless expressly stated otherwise,
this message is not intended to serve
as assent to an agreement or other document,
even if attached to this message.


Re: [O] Graphics to HTML, LaTeX/PDF and DocBook?

2016-10-18 Thread Eduardo Mercovich
Hi Peter.

[...]
> [...] However, LaTeX's \includesvg{} seems unable to find the .pdf_tex
> file.
> Interestingly, I managed to get the document to output to PDF by
> manually running the inkscape command on each of the svg files. org-mode
> seems to be trying to do this, but for some reason it's not working. 
> Now, however, my text doesn't fit in the boxes. I wonder if there's a
> way to make it all \footnotesize in the .pdf_tex files.

I'm outside that league, I'm sorry that I can't help... can you
"intercept" somehow the middle results to help to diagnose the causes?


-- 
eduardo mercovich 

 Donde se cruzan tus talentos 
 con las necesidades del mundo, 
 ahí está tu vocación.



[O] code blocks: update cache hash on export

2016-10-18 Thread Ulrich J. Herter
Hi everybody!

Two questions I'd like to ask the Org-community: 

First:
When I export my document, the source blocks with outdated cache hashes
 run, but no new hashes are put in the document.

I would like to have the hashes updated when the run on export, so next
time I export the don't need to be evaluated. This would save a lot
quite some time!

Is there a switch I missed, or any way to get this behaviour?


Second:
Is there a function to get the hash of a #+CALL:-block? C-c C-v a ()
doesn't work there.


Thanks a lot,
Ulrich



Re: [O] org-eldoc and shell

2016-10-18 Thread Aaron Ecay
Hi Fabrice,

shell-mode is a shell emulation mode – what you get when you type M-x
shell.  You should use sh (or bash, as applicable) in the header line of
your src blocks.

-- 
Aaron Ecay



[O] Bug: Fix no-byte-compile in org-pkg.el [8.3.6 (8.3.6-7-g4d7d52-elpa @ /home/thierry/.emacs.d/elpa/org-20161017/)]

2016-10-18 Thread Thierry Volpiatto


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Actually in org-pkg.el, the local setting of `no-byte-compile` have no
effect, please use:

;; Local Variables:
;; no-byte-compile: t
;; End:

at end of file to avoid warning when package is compiled.

Thanks.

Emacs  : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
 of 2016-06-27 on dell-14z
Package: Org-mode version 8.3.6 (8.3.6-7-g4d7d52-elpa @ 
/home/thierry/.emacs.d/elpa/org-20161017/)
-- 
Thierry