Re: [O] emailing agenda view

2014-09-15 Thread Eric Abrahamsen
Ken  writes:

> Is there anyway to email the agenda view to a list f recipients?

You can do C-x C-w to write the agenda to a file, and then email that
file to people. It would take hardly any elisp to tie those things
together...




[O] [BUG] gnuplot with dates from a table dosn't work anymore

2014-09-15 Thread Thomas Holst
Hi,

after a pull from this weekend generating plots with gnuplot does not
work anymore. It was working perfectly before the pull. I get an error
message saying:

  org-babel-gnuplot-quote-timestamp-field: Wrong type argument: stringp, nil

Here is the sample table and babel code:

#+TBLNAME: GewichtSep2014
|   | Date|   Kg |  $\Delta$ |
|---+-+--+--|
| # | <2014-09-10 Mi> | 90.0 |  0.0 |
| # | <2014-09-11 Do> | 89.7 |  0.3 |
| # | <2014-09-12 Fr> | 88.4 |  1.3 |
| # | <2014-09-13 Sa> | 86.9 |  1.5 |
| # | <2014-09-14 So> | 86.4 |  0.5 |
| # | <2014-09-15 Mo> | 87.0 | -0.6 |
|---+-+--+--|
| # | |  3.0 |   [] |
#+TBLFM: $4=@-1$3-$3;%.1f::@8$3=(@I - @II-1);%.1f::@8$4=""

#+begin_src gnuplot :var data=GewichtSep2014[2:-3,1:-2] :exports code :file 
GewSep2014.png :session :hlines no
  reset
  cd "~/git/org-priv"
  set title "Example"
  set xdata time
  set timefmt "%Y-%m-%d:%H:%M:%S"
  set format x "%d.%m."
  set yrange [80:]
  set xtics nomirror
  set ytics nomirror
  set xtics "2014-09-10:0:0:0", 7*86400  # Datum muss in timefmt sein, Abstand 
in Sekunden
  plot data using 1:2 with lines lt rgb "blue" title "Gewicht", 84.0 with dots 
lt rgb "red" notitle
#+end_src

I have git bisected this and it turned out that:

  9209aa3 | * org-table: Use "ox.el" internally for radio tables by
  Nicolas

is the commit which produces the error.

Thanks for looking into this

-- 
Mit freundlichen Grüßen / Best regards 

Thomas Holst 
DGS-EC/ESE4

Tel.   +49 (711) 811-40681
PC-Fax +49 (711) 811-5182208



Re: [O] Selected export depending on back-end

2014-09-15 Thread James Harkins
Lars Tveito  ifi.uio.no> writes:

> I am writing a compendium in org, and want to be able to generate slides
> from the same org file.
> 
> I'd like to be able to mark some sections for exporting if I'm
> generating slides, and for other formats (like LaTeX and HTML) export
> everything as normal. It would also be nice if I could change the
> #+OPTIONS according to what I'm exporting to.

This worg page doesn't cover exactly the same requirements, but it's closely 
related. Perhaps some of it might give you some hints.

http://orgmode.org/worg/exporters/beamer/beamer-dual-format.html

It doesn't go as far as selecting subtrees independently depending on backend. 
It does show how to include text in the article layout that is omitted from 
the slideshow layout.

A caveat (in general, not only for my approach): the Beamer exporter uses org 
markup somewhat differently from the "normal" LaTeX exporter. I'd be surprised 
(or impressed!) if you found a way to use the same markup for both the LaTeX 
and Beamer exporters. Very simple markup may be OK; anything complicated may 
be rough.

hjh




[O] user-error: Not at a block -- how to debug?

2014-09-15 Thread Eric S Fraga
Hello,

all of a sudden, for one of my (rather large) org files, I get an error:

 user-error: Not at a block

I note that this error message appears in three places in
org.el.  However, I cannot figure out why this is being incurred and
debug-on-error does not get invoked when this error occurs.

Can anybody please suggest how to debug this?  I have tried going
through the file but nothing is obviously wrong with the
structure.  Annoyingly, this error stops org-mode-hook from executing so
my environment is not what I expect.

Thanks,
eric

  
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-360-ge17ee8


signature.asc
Description: PGP signature


Re: [O] org-ref "no key found"

2014-09-15 Thread Julian M. Burgos
Excellent! Many thanks... now it works like a charm.

John Kitchin writes:

> No problem. Thanks for the tips to replicate this. It was pretty helpful
> in solving the problem (and thanks again to Nick who pointed me towards
> edebug-defun a while ago!)
>
> I think I have fixed this. The problem was org-ref was not finding a key
> that exists in a file. the way that is done all over org-ref is to
> insert the contents of the bibfile in temp buffer, and then use
> bibtex-search-entry on that buffer. It works like a charm usually, but
> not in the replicated steps you have below. once it works once, though,
> it seems to always work. 
>
> Anyway, I think it is fixed now. there is a new version at
> https://github.com/jkitchin/jmax/blob/master/org/org-ref.org
>
> Thanks for reporting the bug!
>
> "Julian M. Burgos"  writes:
>
>> Hi John,
>>
>> I am resending this... I think it did not went through the previous
>> time.
>>
>> I think I can replicate the org-ref bug now (if it is a bug).  This is
>> the situation:
>>
>> a) If I open emacs, load a file that already has some link, and click on
>> the link (or place the cursor on it and press enter) I get the "no key
>> found" message and I cannot open the notes file (I get a "Wrong type
>> argument: stringp, nil"), although the link to the pdf file works.  If I
>> open more than one file, links do not work in any of them.  At this
>> point if I check the value of the "org-ref-default-bibliography"
>> variable, I get the correct path and filename of my .bib file.
>>
>> b) If I insert a new citation (using Ctrl-]) in any of the documents,
>> links work as they should in all documents (this is, I get the title and
>> I can open the notes file).
>>>
>> I should say that I am not using the org-ref-insert-bibliography-link
>> function, because I use biblatex and I prefer to insert the Latex
>> \printbibliography command.  But if use it and insert the bibliography
>> link, the behaviour does not change.
>>
>> This is what I have in my .emacs file that is related to RefTex and
>> org-ref:
>>
>> --
>> ;; Load RefTex
>> (add-hook 'LaTeX-mode-hook 'turn-on-reftex)   ; with AUCTeX LaTeX mode
>> (autoload 'reftex-mode "reftex" "RefTeX Minor Mode" t)
>> (autoload 'turn-on-reftex  "reftex" "RefTeX Minor Mode" nil)
>> (autoload 'reftex-citation "reftex-cite" "Make citation" nil)
>> (autoload 'reftex-index-phrase-mode "reftex-index" "Phrase mode" t)
>> (add-hook 'LaTeX-mode-hook 'turn-on-reftex)   ; with AUCTeX LaTeX mode
>> (add-hook 'latex-mode-hook 'turn-on-reftex)   ; with Emacs latex mode
>>
>> ;; Make RefTeX faster
>> (setq reftex-enable-partial-scans t)
>> (setq reftex-save-parse-info t)
>> (setq reftex-use-multiple-selection-buffers t)
>> (setq reftex-plug-into-AUCTeX t)
>>
>> (setq reftex-default-bibliography 
>> '("/home/julian/Documents/Refs/BibTex/references.bib"))
>> (setq reftex-sort-bibtex-matches "author")   ; Sort entries found in BibTex 
>> database 
>> (setq bibtex-dialect "biblatex")
>>
>> --
>> (require 'org-ref)
>>
>> (setq org-ref-bibliography-notes "/home/julian/Documents/org files/notes.org"
>>   org-ref-default-bibliography 
>> '("/home/julian/Documents/Refs/BibTex/references.bib")
>>   org-ref-pdf-directory "/home/julian/Documents/Refs/")
>>  (setq org-ref-default-citation-link "parencite")
>>  
>> --
>>
>> Below I am sending you very simple .org and .bib files that (in my computer)
>> reproduce this behaviour.  In this file I did use
>> org-ref-insert-bibliography-link.  Let me know if I can give you any other 
>> information.  
>>
>> All the best,
>>
>> Julian
>>
>> --Start trial.org file 
>> 
>>
>> * Trial
>> Some references
>> parencite:Brown2011a,Hobbs2006
>>
>> bibliography:~/Documents/trial.bib
>>
>> --End trial.org file 
>> -
>>
>>
>> --Start trial.bib file 
>> 
>>
>> Article{Brown2011a,
>>   Title= {Quantitative approaches in climate change 
>> ecology},
>>   Author   = {Brown, C.J. and Schoeman, D.S. and Sydeman, 
>> W.J. and Brander, K. and Buckley, L.B. and Burrows, M. and Duarte, C.M. and 
>> Moore, P.J. and Pandolfi, J.M. and Poloczanska, E. and others},
>>   Journaltitle = {Global Change Biology},
>>   Year = {2011},
>>
>>   Crossref = {burnhm},
>>   File = {:Brown2011a.pdf:PDF},
>>   Publisher= {Wiley Online Library}
>> }
>>
>> @Article{Hobbs2006,
>>   Title= {Alternatives to statistical hypothesis testing 
>> in ecology: a guide to self teaching},

Re: [O] user-error: Not at a block -- how to debug?

2014-09-15 Thread Thorsten Jolitz
Eric S Fraga  writes:

Hello,

> all of a sudden, for one of my (rather large) org files, I get an error:
>
>  user-error: Not at a block
>
> I note that this error message appears in three places in
> org.el.  However, I cannot figure out why this is being incurred and
> debug-on-error does not get invoked when this error occurs.
>
> Can anybody please suggest how to debug this?  I have tried going
> through the file but nothing is obviously wrong with the
> structure.  Annoyingly, this error stops org-mode-hook from executing so
> my environment is not what I expect.

Just guessing: you do some visibility cycling when opening up the
org-buffer (open in overview or so)?

Maybe edebug `org-hide-block-toggle`? Seems the most likely candidate
for me ...

-- 
cheers,
Thorsten




Re: [O] user-error: Not at a block -- how to debug?

2014-09-15 Thread Eric S Fraga

A quick follow-up:  if I remove the line

  #+startup: hideblocks

From the file, I can at least open the file as normal.  There must be
something wrong in one of my blocks but the file is 0.5MB in size.  I've
tried bisecting but haven't tracked it down yet.

It would be great if the user-error message would indicate a line number
or a headline or something to help debug!

thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-360-ge17ee8


signature.asc
Description: PGP signature


Re: [O] user-error: Not at a block -- how to debug?

2014-09-15 Thread Andrea Rossetti
Eric S Fraga  ucl.ac.uk> writes:
> 
>  user-error: Not at a block
> ...
> 
> Can anybody please suggest how to debug this?
Does this work?

M-x debug-on-entry RET user-error RET 





[O] Cooperating with oneself using the cloud?

2014-09-15 Thread Martin Schöön
One of the things I use org-mode for is making and maintaining TODO-lists.
I do this at home and at work and I want the org-files of interest to be
available and up-to-date at home and at work. The work-related org-file can
not be publicly available for obvious reasons.

I have emailed these files back and forth. This works but it isn't
fool-proof (sometimes I forget) and I think there should be a less clumsy
way to do this.

I have tried a  free and secure web-dav service. They are closing down and
it also was a bit on the clumsy side since I never got their windows client
to work at work. (Linux at home using cadaver.)

I have seen Git being mentioned in this context in these nooks of the
woods. That should work if I can find a free Git repository allowing me to
keep files secret. I have looked at a few but have not seen (key word!)
clear information on this.

Options like BitTorrent Sync work really well but only if both computers
run simultaneous which is not the case.

Other options? Dropboxish services that keep prying eyes at bay?

-- 
Martin Schöön

http://hem.bredband.net/b262106/index.html


Re: [O] user-error: Not at a block -- how to debug?

2014-09-15 Thread Eric S Fraga
On Monday, 15 Sep 2014 at 12:32, Thorsten Jolitz wrote:
> Eric S Fraga  writes:

[...]

> Just guessing: you do some visibility cycling when opening up the
> org-buffer (open in overview or so)?

Spot on!

> Maybe edebug `org-hide-block-toggle`? Seems the most likely candidate
> for me ...

Luckily, even though the file is large, the number of "blocks" is
relatively small so I have narrowed down the problem: column view blocks
are not understood by org any longer!  Removing them (I had three)
removes the problem.

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-360-ge17ee8


signature.asc
Description: PGP signature


Re: [O] Cooperating with oneself using the cloud?

2014-09-15 Thread Phil Mason
Hi Martin,



> That should work if I can find a free Git repository allowing me to keep 
> files secret.



I use the free private repos from https://bitbucket.org/ to do something very 
similar to what you require.



All the best



Phil



Re: [O] org-ref "no key found"

2014-09-15 Thread Julian M. Burgos
John, another issue...a really minor one, and I am not sure if it is
org-ref related.  When I open the notes file, the org faces are not
applied evenly.  In particular, 

a) Text after #TITLE: or #AUTHOR appears as regular text.  If I use M-x
describe face, I get "default".  If modify in any way the face changes
to "org-document-info" as it should be.

b) Within the heading of each reference, the "TODO" statement appears
with the same face as the rest of the heading (org-level-2 face).

c) Links to pdf files appear like this, with default face:
 
[[cite:Collie2000]] [[file:/home/julian/Documents/Refs/Collie2000.pdf][pdf]]

And not as clickable links 
cite:Collie2000 pdf (underlined, in blue, with org-link face)

Again, as soon as I change anything the org-link face is applied and I
get a clickable link.

Of all this, the pdf links are the real issue, as they are
non-functional until I edit them.

Strangely, :PROPERTIES: and :END: appear in their correct face.  Also,
if I "fix" the faces (editing the text or pressing enter so I get the
right faces) and close the notes files, I get the same wriong faces when I
reopen the file.

Does this makes sense?  Do you know what could be the issue?
Many thanks again,

Julian


Julian M. Burgos writes:

> Excellent! Many thanks... now it works like a charm.
>
> John Kitchin writes:
>
>> No problem. Thanks for the tips to replicate this. It was pretty helpful
>> in solving the problem (and thanks again to Nick who pointed me towards
>> edebug-defun a while ago!)
>>
>> I think I have fixed this. The problem was org-ref was not finding a key
>> that exists in a file. the way that is done all over org-ref is to
>> insert the contents of the bibfile in temp buffer, and then use
>> bibtex-search-entry on that buffer. It works like a charm usually, but
>> not in the replicated steps you have below. once it works once, though,
>> it seems to always work. 
>>
>> Anyway, I think it is fixed now. there is a new version at
>> https://github.com/jkitchin/jmax/blob/master/org/org-ref.org
>>
>> Thanks for reporting the bug!
>>
>> "Julian M. Burgos"  writes:
>>
>>> Hi John,
>>>
>>> I am resending this... I think it did not went through the previous
>>> time.
>>>
>>> I think I can replicate the org-ref bug now (if it is a bug).  This is
>>> the situation:
>>>
>>> a) If I open emacs, load a file that already has some link, and click on
>>> the link (or place the cursor on it and press enter) I get the "no key
>>> found" message and I cannot open the notes file (I get a "Wrong type
>>> argument: stringp, nil"), although the link to the pdf file works.  If I
>>> open more than one file, links do not work in any of them.  At this
>>> point if I check the value of the "org-ref-default-bibliography"
>>> variable, I get the correct path and filename of my .bib file.
>>>
>>> b) If I insert a new citation (using Ctrl-]) in any of the documents,
>>> links work as they should in all documents (this is, I get the title and
>>> I can open the notes file).

>>> I should say that I am not using the org-ref-insert-bibliography-link
>>> function, because I use biblatex and I prefer to insert the Latex
>>> \printbibliography command.  But if use it and insert the bibliography
>>> link, the behaviour does not change.
>>>
>>> This is what I have in my .emacs file that is related to RefTex and
>>> org-ref:
>>>
>>> --
>>> ;; Load RefTex
>>> (add-hook 'LaTeX-mode-hook 'turn-on-reftex)   ; with AUCTeX LaTeX mode
>>> (autoload 'reftex-mode "reftex" "RefTeX Minor Mode" t)
>>> (autoload 'turn-on-reftex  "reftex" "RefTeX Minor Mode" nil)
>>> (autoload 'reftex-citation "reftex-cite" "Make citation" nil)
>>> (autoload 'reftex-index-phrase-mode "reftex-index" "Phrase mode" t)
>>> (add-hook 'LaTeX-mode-hook 'turn-on-reftex)   ; with AUCTeX LaTeX mode
>>> (add-hook 'latex-mode-hook 'turn-on-reftex)   ; with Emacs latex mode
>>>
>>> ;; Make RefTeX faster
>>> (setq reftex-enable-partial-scans t)
>>> (setq reftex-save-parse-info t)
>>> (setq reftex-use-multiple-selection-buffers t)
>>> (setq reftex-plug-into-AUCTeX t)
>>>
>>> (setq reftex-default-bibliography 
>>> '("/home/julian/Documents/Refs/BibTex/references.bib"))
>>> (setq reftex-sort-bibtex-matches "author")   ; Sort entries found in BibTex 
>>> database 
>>> (setq bibtex-dialect "biblatex")
>>>
>>> --
>>> (require 'org-ref)
>>>
>>> (setq org-ref-bibliography-notes "/home/julian/Documents/org 
>>> files/notes.org"
>>>   org-ref-default-bibliography 
>>> '("/home/julian/Documents/Refs/BibTex/references.bib")
>>>   org-ref-pdf-directory "/home/julian/Documents/Refs/")
>>>  (setq org-ref-default-citation-link "parencite")
>>>  
>>> --
>>>
>>> Below I am sending you very simple .org and .bib files that (in

Re: [O] Cooperating with oneself using the cloud?

2014-09-15 Thread Eric Abrahamsen
Martin Schöön  writes:

> One of the things I use org-mode for is making and maintaining
> TODO-lists. I do this at home and at work and I want the org-files of
> interest to be available and up-to-date at home and at work. The
> work-related org-file can not be publicly available for obvious
> reasons.
>
> I have emailed these files back and forth. This works but it isn't
> fool-proof (sometimes I forget) and I think there should be a less
> clumsy way to do this.
>
> I have tried a  free and secure web-dav service. They are closing
> down and it also was a bit on the clumsy side since I never got their
> windows client to work at work. (Linux at home using cadaver.)
>
> I have seen Git being mentioned in this context in these nooks of the
> woods. That should work if I can find a free Git repository allowing
> me to keep files secret. I have looked at a few but have not seen
> (key word!) clear information on this.
>
> Options like BitTorrent Sync work really well but only if both
> computers run simultaneous which is not the case.
>
> Other options? Dropboxish services that keep prying eyes at bay?

At some point you might consider renting a little server space -- you
have to pay, but it's awfully useful for many things.

Another option would be getting a mini home server that sits in a closet
and is always on. That solves the BitTorrent Sync problem, and you'll
suddenly find it's good for a bunch of other stuff as well: backups,
music, printing, other torrents, LAN filesharing...

Both options are annoying in their own way, but once you've got
something up and running, you'll be pleased!

E




Re: [O] user-error: Not at a block -- how to debug?

2014-09-15 Thread Nicolas Goaziou
Hello,

Eric S Fraga  writes:

> Luckily, even though the file is large, the number of "blocks" is
> relatively small so I have narrowed down the problem: column view blocks
> are not understood by org any longer!  Removing them (I had three)
> removes the problem.

This should be fixed. Thank you for reporting it.


Regards,

-- 
Nicolas Goaziou



Re: [O] [BUG] gnuplot with dates from a table dosn't work anymore

2014-09-15 Thread Nicolas Goaziou
Hello,

Thomas Holst  writes:

> after a pull from this weekend generating plots with gnuplot does not
> work anymore. It was working perfectly before the pull. I get an error
> message saying:
>
>   org-babel-gnuplot-quote-timestamp-field: Wrong type argument: stringp, nil
>
> Here is the sample table and babel code:
>
> #+TBLNAME: GewichtSep2014
> |   | Date|   Kg |  $\Delta$ |
> |---+-+--+--|
> | # | <2014-09-10 Mi> | 90.0 |  0.0 |
> | # | <2014-09-11 Do> | 89.7 |  0.3 |
> | # | <2014-09-12 Fr> | 88.4 |  1.3 |
> | # | <2014-09-13 Sa> | 86.9 |  1.5 |
> | # | <2014-09-14 So> | 86.4 |  0.5 |
> | # | <2014-09-15 Mo> | 87.0 | -0.6 |
> |---+-+--+--|
> | # | |  3.0 |   [] |
> #+TBLFM: $4=@-1$3-$3;%.1f::@8$3=(@I - @II-1);%.1f::@8$4=""
>
> #+begin_src gnuplot :var data=GewichtSep2014[2:-3,1:-2] :exports code :file 
> GewSep2014.png :session :hlines no
>   reset
>   cd "~/git/org-priv"
>   set title "Example"
>   set xdata time
>   set timefmt "%Y-%m-%d:%H:%M:%S"
>   set format x "%d.%m."
>   set yrange [80:]
>   set xtics nomirror
>   set ytics nomirror
>   set xtics "2014-09-10:0:0:0", 7*86400  # Datum muss in timefmt sein, 
> Abstand in Sekunden
>   plot data using 1:2 with lines lt rgb "blue" title "Gewicht", 84.0 with 
> dots lt rgb "red" notitle
> #+end_src

It should be fixed. Thank you for reporting it.


Regards,

-- 
Nicolas Goaziou



[O] Emacs StackExchange Site

2014-09-15 Thread Ken Mankoff

Some on this list might be interested to know there is a proposal to
create a StackExchange site specifically for Emacs.

https://area51.stackexchange.com/proposals/76571/emacs

  -k.



[O] Export filters question

2014-09-15 Thread Fabrice Popineau
Hi,

This is probably a very basic question,
but what is the right way to access properties of the element in a filter ?

Admit I want to define my own filter:

(defun my-latex-filter-headline (text backend info)
 ... )

And I want to access the relative level of the current headline. How should
I do it?

Thanks for your help,

Fabrice


[O] bug#18401: 24.4.50; emerge-files fails for org files

2014-09-15 Thread Bastien
Hi Detlev,

Detlev Zundel  writes:

> org-overview: `recenter'ing a window that does not display
> current-buffer.

This will be fixed in the next Org merge into Emacs.

I'm slowly (but surely) getting there.

-- 
 Bastien





Re: [O] Cooperating with oneself using the cloud?

2014-09-15 Thread Bruno Bigras
- Maybe http://git-annex.branchable.com/assistant/ (it seems the xmpp
feature is not activated on Windows right now but it could be the best
tool soon)

- Maybe https://github.com/joeyh/git-remote-gcrypt with a free
bitbucket private repo. (this is a fork maintained by joeyh, the
git-annex assistant creator)

- Spideroak (non-free) has a dropbox like folder but the data is
supposed to be encrypted.

2014-09-15 6:59 GMT-04:00 Martin Schöön :
> One of the things I use org-mode for is making and maintaining TODO-lists. I
> do this at home and at work and I want the org-files of interest to be
> available and up-to-date at home and at work. The work-related org-file can
> not be publicly available for obvious reasons.
>
> I have emailed these files back and forth. This works but it isn't
> fool-proof (sometimes I forget) and I think there should be a less clumsy
> way to do this.
>
> I have tried a  free and secure web-dav service. They are closing down and
> it also was a bit on the clumsy side since I never got their windows client
> to work at work. (Linux at home using cadaver.)
>
> I have seen Git being mentioned in this context in these nooks of the woods.
> That should work if I can find a free Git repository allowing me to keep
> files secret. I have looked at a few but have not seen (key word!) clear
> information on this.
>
> Options like BitTorrent Sync work really well but only if both computers run
> simultaneous which is not the case.
>
> Other options? Dropboxish services that keep prying eyes at bay?
>
> --
> Martin Schöön
>
> http://hem.bredband.net/b262106/index.html



Re: [O] Export filters question

2014-09-15 Thread Nicolas Goaziou
Hello,

Fabrice Popineau  writes:

> This is probably a very basic question,
> but what is the right way to access properties of the element in a filter ?
>
> Admit I want to define my own filter:
>
> (defun my-latex-filter-headline (text backend info)
>  ... )
>
> And I want to access the relative level of the current headline. How should
> I do it?

Short answer. You can't.

Long answer. Actually, `info' contains the full parse tree (plist-get
info :parse-tree) so you could be able to retrieve the headline
currently being exported (since export results are cached
in :exported-data, an untested idea would be to walk the tree with
`org-element-map' and find the last headline without an entry in the
cache). It is also probably bound to `data' per dynamic binding, but
I wouldn't count on that as it might change in the future.

Since filters are meant for tweaking generated output, the information
you're looking after is not readily accessible at this level. Your
request makes sense, but I think you really want to write a derived
back-end with a custom headline transcoder instead.


Regards,

-- 
Nicolas Goaziou



Re: [O] user-error: Not at a block -- how to debug?

2014-09-15 Thread Eric S Fraga
Nicolas,

again, thanks for fixing this bug but I wonder if you would mind
thinking about the approach to error handling.  The user error handling
was short-circuiting the normal file handling, in particular some of the
hooks and other processing that would have been expected to be
invoked.  In this case, I had used recentf to visit the file.  Because
of the user error, the buffer wouldn't appear at all.  Likewise,
projectile processing was being terminated.  Both aspects caused me some
confusion, to say the least...

Is there an alternative means of raising an error or warning without
terminating normal processing?

thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-265-g7cf7e4


signature.asc
Description: PGP signature


Re: [O] user-error: Not at a block -- how to debug?

2014-09-15 Thread Eric S Fraga
On Monday, 15 Sep 2014 at 10:53, Andrea Rossetti wrote:
> Eric S Fraga  ucl.ac.uk> writes:
>> 
>>  user-error: Not at a block
>
>> ...
>> 
>> Can anybody please suggest how to debug this?
> Does this work?
>
> M-x debug-on-entry RET user-error RET 

Thanks for the suggestion.  Next time!
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-265-g7cf7e4


signature.asc
Description: PGP signature


[O] Babel support for Processing-language

2014-09-15 Thread Jarmo Hurri

Greetings fellow org-fans!

I have already designed a couple of programming courses, and am now
considering getting involved in a new one. This one will be aimed at
young novices. I have decided that I only want to do this if the
programming language used is very visual.

The two options I have considered are Processing and Asymptote. Both
have their pros and cons, but Processing has the great advantage of more
or less direct support for animations. Animations can be done with
Asymptote, but it is pretty cumbersome, and you can not see the results
immediately. Animations would be a great way to lure youngsters into
programming. I run one Java course where the kids go nuts when they can
get something moving on the screen; for that course I have written an
underlying "game engine" myself.

Another condition I have set for the project is the ability to write the
material using org-mode. If I can not interleave writing, code and
results babel-style then I am just not interested. I have written one R
course using makefiles, and it's just a pain to do for anyone who has
seen what org is capable of.

So, finally, to the point. I would very much like to see support for the
Processing-language in org-mode. Supporting editing the language seems
straightforward, since there already is an Emacs-mode for Processing 2:

https://github.com/ptrv/processing2-emacs

I just installed Processing 2 and the Emacs mode in Fedora 20 and they
work together like a charm.

However, I have _no idea_ what kind of work supporting output capture of
both static mode (image) and active mode (animation) would
require. Ideally, Babel support for Processing output would mean that in
the case of
1. an animation 
   - HTML export it would export the entire animation
   - PDF export it would export, e.g., the first frame from the
 animation
2. a static picture, the picture would be exported.

I think I might be asking for a lot. I am willing to work on this, but I
don't know what kind of an approach I should take. The command-line
support for Processing 2 (the program 'processing-java') runs the output
in a separate window. Would I have to capture the output of the window
with something like ffmpeg? Sounds like a huge hassle.

My questions would be:
I. Is anybody currently working on Processing 2 support in Babel?
II. Anybody interested?
III. Any other ideas? On this topic? ;-)

All the best,

Jarmo




Re: [O] user-error: Not at a block -- how to debug?

2014-09-15 Thread Eric S Fraga
On Monday, 15 Sep 2014 at 13:35, Nicolas Goaziou wrote:
> Hello,
>
> Eric S Fraga  writes:
>
>> Luckily, even though the file is large, the number of "blocks" is
>> relatively small so I have narrowed down the problem: column view blocks
>> are not understood by org any longer!  Removing them (I had three)
>> removes the problem.
>
> This should be fixed. Thank you for reporting it.

Thanks!

Is there any chance of improving the error reporting to give some
minimal context?

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-265-g7cf7e4


signature.asc
Description: PGP signature


Re: [O] user-error: Not at a block -- how to debug?

2014-09-15 Thread Nicolas Goaziou
Eric S Fraga  writes:

> Is there an alternative means of raising an error or warning without
> terminating normal processing?

In this case, no error should be thrown.

"hideblocks" startup options triggers `org-hide-block-all', which, in
turn, calls `org-hide-block-toggle-maybe', which is the safe version of
`org-hide-block-toggle'.

Unfortunately, `org-hide-block-toggle-maybe' wasn't very safe. I fixed
it too.


Regards,

-- 
Nicolas Goaziou



[O] bug#18401: 24.4.50; emerge-files fails for org files

2014-09-15 Thread Detlev Zundel
Hi Bastien,

> Hi Detlev,
>
> Detlev Zundel  writes:
>
>> org-overview: `recenter'ing a window that does not display
>> current-buffer.
>
> This will be fixed in the next Org merge into Emacs.

Thanks.

> I'm slowly (but surely) getting there.

Thanks for your efforts, I really appreciate it.

Best wishes
  Detlev

-- 
"Milk?" called Reg. "Er, please." "One lump or two?" "One, please." "Sugar?"

Dirk Gently's Holistic Detective Agency, Douglas Adams





[O] You don't like the HTML export; well, that could change!

2014-09-15 Thread Fabrice Niessen
Hello,

I'm announcing the release of Bigblow, a CSS + JS theme for the Org HTML
exports.

To use it in your own files, adding these lines should make it:

--8<---cut here---start->8---
#+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/css/htmlize.css"/>
#+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/css/bigblow.css"/>
#+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/css/hideshow.css"/>
#+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/jquery-1.11.0.min.js";>
#+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/jquery-ui-1.10.2.min.js";>
#+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/jquery.localscroll-min.js";>
#+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/jquery.scrollTo-1.4.3.1-min.js";>
#+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/jquery.zclip.min.js";>
#+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/bigblow.js";>
#+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/hideshow.js";>
--8<---cut here---end--->8---

If you clone my repo from GitHub [1], it can become as easy as adding
just one line:

--8<---cut here---start->8---
#+SETUPFILE: path/to/Git/repo/setup/bigblow-pirilampo.setup
--8<---cut here---end--->8---

(PS- It would be very nice if we could add http references here!  Then,
there would even be no need to copy the files locally...)

Test it on your files, or look at the video I posted on YouTube to see
what it looks like:

  https://www.youtube.com/watch?v=DnSGSiXYuOk

Best regards,
Fabrice

PPS- I will still make some changes in a couple of days, like renaming
 the files so that they have a version number, but that I'll warn
 you when I'll get this done.

[1] https://github.com/fniessen/org-html-themes

-- 
Fabrice Niessen
Leuven, Belgium
http://www.pirilampo.org/




Re: [O] Babel support for Processing-language

2014-09-15 Thread Nick Dokos
Jarmo Hurri  writes:

> ...
> I just installed Processing 2 and the Emacs mode in Fedora 20 and they
> work together like a charm.
>
> However, I have _no idea_ what kind of work supporting output capture of
> both static mode (image) and active mode (animation) would
> require. Ideally, Babel support for Processing output would mean that in
> the case of
> 1. an animation 
>- HTML export it would export the entire animation
>- PDF export it would export, e.g., the first frame from the
>  animation
> 2. a static picture, the picture would be exported.
>
> I think I might be asking for a lot. I am willing to work on this, but I
> don't know what kind of an approach I should take. The command-line
> support for Processing 2 (the program 'processing-java') runs the output
> in a separate window. Would I have to capture the output of the window
> with something like ffmpeg? Sounds like a huge hassle.
>

Here's a possible starting point in your research:

  http://orgmode.org/worg/org-contrib/babel/languages.html#develop

My next step would be to find an ob-.el that is as similar
as possible to what Processing does and what I'd want to achieve
and go from there. The link above mentions ob-template.el which
might be a good beginning too.

It's probably best to leave animations for last, but if the animation
can be stored in a file, then having a link that will play the file
seems like an easy thing to do.

All this is untainted by any knowledge of Processing, let alone any kind
of hands-on testing or actual practice, so treat it with the appropriate
size grain (boulder?) of salt.

Nick





Re: [O] You don't like the HTML export; well, that could change!

2014-09-15 Thread Ista Zahn
Hi Fabrice,

Very very nice, I enjoy it a lot. If you are accepting feature
requests, the only thing I really miss is "Next" section link at the
bottom.

Best,
Ista

On Mon, Sep 15, 2014 at 2:58 PM, Fabrice Niessen  wrote:
> Hello,
>
> I'm announcing the release of Bigblow, a CSS + JS theme for the Org HTML
> exports.
>
> To use it in your own files, adding these lines should make it:
>
> --8<---cut here---start->8---
> #+HTML_HEAD:  href="http://www.pirilampo.org/styles/bigblow/css/htmlize.css"/>
> #+HTML_HEAD:  href="http://www.pirilampo.org/styles/bigblow/css/bigblow.css"/>
> #+HTML_HEAD:  href="http://www.pirilampo.org/styles/bigblow/css/hideshow.css"/>
> #+HTML_HEAD:  src="http://www.pirilampo.org/styles/bigblow/js/jquery-1.11.0.min.js";>
> #+HTML_HEAD:  src="http://www.pirilampo.org/styles/bigblow/js/jquery-ui-1.10.2.min.js";>
> #+HTML_HEAD:  src="http://www.pirilampo.org/styles/bigblow/js/jquery.localscroll-min.js";>
> #+HTML_HEAD:  src="http://www.pirilampo.org/styles/bigblow/js/jquery.scrollTo-1.4.3.1-min.js";>
> #+HTML_HEAD:  src="http://www.pirilampo.org/styles/bigblow/js/jquery.zclip.min.js";>
> #+HTML_HEAD:  src="http://www.pirilampo.org/styles/bigblow/js/bigblow.js";>
> #+HTML_HEAD:  src="http://www.pirilampo.org/styles/bigblow/js/hideshow.js";>
> --8<---cut here---end--->8---
>
> If you clone my repo from GitHub [1], it can become as easy as adding
> just one line:
>
> --8<---cut here---start->8---
> #+SETUPFILE: path/to/Git/repo/setup/bigblow-pirilampo.setup
> --8<---cut here---end--->8---
>
> (PS- It would be very nice if we could add http references here!  Then,
> there would even be no need to copy the files locally...)
>
> Test it on your files, or look at the video I posted on YouTube to see
> what it looks like:
>
>   https://www.youtube.com/watch?v=DnSGSiXYuOk
>
> Best regards,
> Fabrice
>
> PPS- I will still make some changes in a couple of days, like renaming
>  the files so that they have a version number, but that I'll warn
>  you when I'll get this done.
>
> [1] https://github.com/fniessen/org-html-themes
>
> --
> Fabrice Niessen
> Leuven, Belgium
> http://www.pirilampo.org/
>
>



Re: [O] You don't like the HTML export; well, that could change!

2014-09-15 Thread Fabrice Niessen
Hi Ista,

Ista Zahn wrote:
> Very very nice, I enjoy it a lot.

Thanks.

> If you are accepting feature requests, the only thing I really miss is
> "Next" section link at the bottom.

Of course, I accept change requests (or, better, patches ;-)). Though,
I cannot commit ATM to make them soon, even if it does look simple for
this one.

You can safely open an issue about it on GitHub.

Best regards,
Fabrice

-- 
Fabrice Niessen
Leuven, Belgium
http://www.pirilampo.org/



Re: [O] Cooperating with oneself using the cloud?

2014-09-15 Thread Thierry Banel
You may try the :crypt: tag like that:
* My ToDo List:crypt:
** TODO Buy bread
** TODO Call my friend
** DONE Send an email to my customer

Everything under the node marked as :crypt: will be encrypted upon saving.
You need to setup GnuPG on all your computers with your key
(there are versions for all platforms).

Type C-c C-r  (org-reveal) to decrypt.

Then Dropbox and the like becomes an option.

Have fun

Le 15/09/2014 12:59, Martin Schöön a écrit :
> One of the things I use org-mode for is making and maintaining
> TODO-lists. I do this at home and at work and I want the org-files of
> interest to be available and up-to-date at home and at work. The
> work-related org-file can not be publicly available for obvious reasons.
>
> I have emailed these files back and forth. This works but it isn't
> fool-proof (sometimes I forget) and I think there should be a less
> clumsy way to do this.
>
> I have tried a  free and secure web-dav service. They are closing down
> and it also was a bit on the clumsy side since I never got their
> windows client to work at work. (Linux at home using cadaver.)
>
> I have seen Git being mentioned in this context in these nooks of the
> woods. That should work if I can find a free Git repository allowing
> me to keep files secret. I have looked at a few but have not seen (key
> word!) clear information on this.
>
> Options like BitTorrent Sync work really well but only if both
> computers run simultaneous which is not the case.
>
> Other options? Dropboxish services that keep prying eyes at bay?
>
> -- 
> Martin Schöön
>
> http://hem.bredband.net/b262106/index.html




Re: [O] org-mode-hook not called when entering org files

2014-09-15 Thread Nick Dokos
hob...@poukram.net (Rémi Letot) writes:

> Nick Dokos  writes:
>
>> hob...@poukram.net (Rémi Letot) writes:
>>
>>> all org seems to work fine, but for some reason org-mode-hook is not
>>> called when I open an org file...
>>>
>>
>> That's very unlikely: the hook is run using a general emacs mechanism,
>> so if it were broken, a *lot* of things would be broken.
>>
>> You can check with
>>
>> (setq org-mode-hook nil)
>> (add-hook 'org-mode-hook (function (lambda () (message "RL - my
>> org-mode-hook ran this"
>
> emacs -Q, copied your instructions in scratch buffer and C-x C-e them
> both, then opened my test.org file, and nothing happened.
>

Not sure where you get your org-mode, but unless you are using the
org-mode that was bundled with your emacs, this may not be enough:
you might have to do some org-mode initialization (hence the suggestion
for a minimal .emacs file below).

> Tried in another emacs -Q to set up a basic org-crypt using scratch:
>
> (require 'org-crypt)
> (org-crypt-use-before-save-magic)
>
> C-x C-e on both, then opened a test.org. org-mode-hook is as it should,
> but before-save-hook is nil.
>

My advice would be to leave org-crypt to one side until you can get the
simpler test above to pass.

> Now I noticed a message that I have received for some times when I open
> an org file:
>
> File mode specification error: (error "`recenter'ing a window that does
> not display current-buffer.")
>
> I didn't notice it before since it has happened for quite some times and
> didn't appear to cause any problem, but could it be the cause of this
> problem ?
>
>>
>> perhaps in a minimal .emacs, and then opening a foo.org file (assuming
>> your auto-mode-alist is set up correctly).
>
> auto-mode-alist does include org-mode for org files.
>
> Any idea ? is the error message that I receive a possible cause ?
>

Yes, it might: Eric Fraga reported a problem where an error that's
caught causes buffer initialization to not run the hook:

http://thread.gmane.org/gmane.emacs.orgmode/90711

That *might* happen with your error too, although I cannot find the error
message either in current org-mode or current-emacs. Maybe I'm looking
in the wrong place, but which version of org-mode and which version of
emacs are you running?

-- 
Nick




Re: [O] org-mode-hook not called when entering org files

2014-09-15 Thread Nick Dokos
hob...@poukram.net (Rémi Letot) writes:

> ...
> File mode specification error: (error "`recenter'ing a window that does
> not display current-buffer.")
>
> I didn't notice it before since it has happened for quite some times and
> didn't appear to cause any problem, but could it be the cause of this
> problem ?
>
>>
>> perhaps in a minimal .emacs, and then opening a foo.org file (assuming
>> your auto-mode-alist is set up correctly).
>
> auto-mode-alist does include org-mode for org files.
>
> Any idea ? is the error message that I receive a possible cause ?
>

One more thing: see

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17724

Earlier today, Bastien said that that is on his radar: it might fix
your problem when it lands.

--
Nick






Re: [O] emailing agenda view

2014-09-15 Thread Ken
John Kitchin  writes:

> Ken  writes:
>
>
> Here is a function to email the buffer:
>
> (defun email-buffer ()
>   "Send region as the body of an email."
>   (interactive)
>   (let ((content (buffer-string)))
> (compose-mail)
> (message-goto-body)
> (insert content)
> (message-goto-to)))
>
> Just run that from your agenda, and then fill in email addresses and
> subject, and send.
>
Thank you for your response. I definitely give this a try.

Ken

--
Your supervisor is thinking about you.



Re: [O] emailing agenda view

2014-09-15 Thread Ken
Eric Abrahamsen  writes:

> Ken  writes:
>
>> Is there anyway to email the agenda view to a list f recipients?
>
> You can do C-x C-w to write the agenda to a file, and then email that
> file to people. It would take hardly any elisp to tie those things
> together...
>
>
>
Thank you for your response!

Ken

-- 
Man is the only animal that blushes -- or needs to.
-- Mark Twain



Re: [O] You don't like the HTML export; well, that could change!

2014-09-15 Thread Mehul Sanghvi
This is awesome !! I tried it out and liked it.  About the only things I
would change
are the fonts being used and the font-size.  Oh and the colour scheme since
I
prefer slightly darker colours :)

Otherwise this works out just fine for publishing one project per file.
 Not sure how it
will work with one project spread out over multiple files.  Or a site with
multiple sub-projects.

Though I think those are more Orgmode related, rather than CSS related.

Regardless, this looks awesome, at least to a non-CSS, non-HTML person like
myself.


cheers,

  mehul


p.s.   Links to the images you are using for things like (info, tip, etc.)
are relative so they wont work
in the case where I am using the HTML_HEAD method to add the theme.



On Mon, Sep 15, 2014 at 2:58 PM, Fabrice Niessen 
wrote:

> Hello,
>
> I'm announcing the release of Bigblow, a CSS + JS theme for the Org HTML
> exports.
>
> To use it in your own files, adding these lines should make it:
>
> --8<---cut here---start->8---
> #+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/css/htmlize.css"/>
> #+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/css/bigblow.css"/>
> #+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/css/hideshow.css"/>
> #+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/jquery-1.11.0.min.js";>
> #+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/jquery-ui-1.10.2.min.js
> ">
> #+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/jquery.localscroll-min.js
> ">
> #+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/jquery.scrollTo-1.4.3.1-min.js
> ">
> #+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/jquery.zclip.min.js";>
> #+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/bigblow.js";>
> #+HTML_HEAD: http://www.pirilampo.org/styles/bigblow/js/hideshow.js";>
> --8<---cut here---end--->8---
>
> If you clone my repo from GitHub [1], it can become as easy as adding
> just one line:
>
> --8<---cut here---start->8---
> #+SETUPFILE: path/to/Git/repo/setup/bigblow-pirilampo.setup
> --8<---cut here---end--->8---
>
> (PS- It would be very nice if we could add http references here!  Then,
> there would even be no need to copy the files locally...)
>
> Test it on your files, or look at the video I posted on YouTube to see
> what it looks like:
>
>   https://www.youtube.com/watch?v=DnSGSiXYuOk
>
> Best regards,
> Fabrice
>
> PPS- I will still make some changes in a couple of days, like renaming
>  the files so that they have a version number, but that I'll warn
>  you when I'll get this done.
>
> [1] https://github.com/fniessen/org-html-themes
>
> --
> Fabrice Niessen
> Leuven, Belgium
> http://www.pirilampo.org/
>
>
>


-- 
Mehul N. Sanghvi
email: mehul.sang...@gmail.com


Re: [O] org-ref "no key found"

2014-09-15 Thread John Kitchin

If you look in your messages do you see something like jit-lock errors?
I do not recall exactly what the errors are but the ones I have seen
that resemble what you describe have jit in them. 

I saw this recently in an ELPA version (maybe around Sept 1), and it went away 
when I updated
the ELPA org version to the most recent one.


"Julian M. Burgos"  writes:

> John, another issue...a really minor one, and I am not sure if it is
> org-ref related.  When I open the notes file, the org faces are not
> applied evenly.  In particular, 
>
> a) Text after #TITLE: or #AUTHOR appears as regular text.  If I use M-x
> describe face, I get "default".  If modify in any way the face changes
> to "org-document-info" as it should be.
>
> b) Within the heading of each reference, the "TODO" statement appears
> with the same face as the rest of the heading (org-level-2 face).
>
> c) Links to pdf files appear like this, with default face:
>  
> [[cite:Collie2000]] [[file:/home/julian/Documents/Refs/Collie2000.pdf][pdf]]
>
> And not as clickable links 
> cite:Collie2000 pdf (underlined, in blue, with org-link face)
>
> Again, as soon as I change anything the org-link face is applied and I
> get a clickable link.
>
> Of all this, the pdf links are the real issue, as they are
> non-functional until I edit them.
>
> Strangely, :PROPERTIES: and :END: appear in their correct face.  Also,
> if I "fix" the faces (editing the text or pressing enter so I get the
> right faces) and close the notes files, I get the same wriong faces when I
> reopen the file.
>
> Does this makes sense?  Do you know what could be the issue?
> Many thanks again,
>
> Julian
>
>
> Julian M. Burgos writes:
>
>> Excellent! Many thanks... now it works like a charm.
>>
>> John Kitchin writes:
>>
>>> No problem. Thanks for the tips to replicate this. It was pretty helpful
>>> in solving the problem (and thanks again to Nick who pointed me towards
>>> edebug-defun a while ago!)
>>>
>>> I think I have fixed this. The problem was org-ref was not finding a key
>>> that exists in a file. the way that is done all over org-ref is to
>>> insert the contents of the bibfile in temp buffer, and then use
>>> bibtex-search-entry on that buffer. It works like a charm usually, but
>>> not in the replicated steps you have below. once it works once, though,
>>> it seems to always work. 
>>>
>>> Anyway, I think it is fixed now. there is a new version at
>>> https://github.com/jkitchin/jmax/blob/master/org/org-ref.org
>>>
>>> Thanks for reporting the bug!
>>>
>>> "Julian M. Burgos"  writes:
>>>
 Hi John,

 I am resending this... I think it did not went through the previous
 time.

 I think I can replicate the org-ref bug now (if it is a bug).  This is
 the situation:

 a) If I open emacs, load a file that already has some link, and click on
 the link (or place the cursor on it and press enter) I get the "no key
 found" message and I cannot open the notes file (I get a "Wrong type
 argument: stringp, nil"), although the link to the pdf file works.  If I
 open more than one file, links do not work in any of them.  At this
 point if I check the value of the "org-ref-default-bibliography"
 variable, I get the correct path and filename of my .bib file.

 b) If I insert a new citation (using Ctrl-]) in any of the documents,
 links work as they should in all documents (this is, I get the title and
 I can open the notes file).
>
 I should say that I am not using the org-ref-insert-bibliography-link
 function, because I use biblatex and I prefer to insert the Latex
 \printbibliography command.  But if use it and insert the bibliography
 link, the behaviour does not change.

 This is what I have in my .emacs file that is related to RefTex and
 org-ref:

 --
 ;; Load RefTex
 (add-hook 'LaTeX-mode-hook 'turn-on-reftex)   ; with AUCTeX LaTeX mode
 (autoload 'reftex-mode "reftex" "RefTeX Minor Mode" t)
 (autoload 'turn-on-reftex  "reftex" "RefTeX Minor Mode" nil)
 (autoload 'reftex-citation "reftex-cite" "Make citation" nil)
 (autoload 'reftex-index-phrase-mode "reftex-index" "Phrase mode" t)
 (add-hook 'LaTeX-mode-hook 'turn-on-reftex)   ; with AUCTeX LaTeX mode
 (add-hook 'latex-mode-hook 'turn-on-reftex)   ; with Emacs latex mode

 ;; Make RefTeX faster
 (setq reftex-enable-partial-scans t)
 (setq reftex-save-parse-info t)
 (setq reftex-use-multiple-selection-buffers t)
 (setq reftex-plug-into-AUCTeX t)

 (setq reftex-default-bibliography 
 '("/home/julian/Documents/Refs/BibTex/references.bib"))
 (setq reftex-sort-bibtex-matches "author")   ; Sort entries found in 
 BibTex database 
 (setq bibtex-dialect "biblatex")

 --

Re: [O] [BUG] gnuplot with dates from a table dosn't work anymore

2014-09-15 Thread Thomas Holst
Hi Nicolas

· Nicolas Goaziou  wrote:
> Thomas Holst  writes:
>
>> after a pull from this weekend generating plots with gnuplot does not
>> work anymore. It was working perfectly before the pull. I get an error
>> message saying:
>>
>>   org-babel-gnuplot-quote-timestamp-field: Wrong type argument: stringp, nil
>>
[ ... sinp ...]

> It should be fixed. Thank you for reporting it.

thank you for the quick fix. It works like a charm.
-- 
Mit freundlichen Grüßen / Best regards 

Thomas Holst