Re: [O] make test hangs (master)

2016-02-02 Thread Achim Gratz
Erik Hetzner writes:
> It turns out the issue is my prompt, that is, the value of the =PS1= 
> environment
> variable, which contains a lambda (λ, U+03BB). I suspect the following will 
> fail
> for all:
>
>   $ PS1="λ " emacs -Q --batch -L lisp/ -L testing/ -L testing/lisp -l 
> lisp/org.el -l lisp/org-id.el -l testing/org-test.el --eval "(progn 
> (org-reload) (setq org-confirm-babel-evaluate nil) 
> (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) 
> (shell . t) (org . t" -f org-test-run-batch-tests
>   …
>  passed   70/443  test-ob-shell/dont-insert-spaces-on-expanded-bodies
>   [ hangs here ]

FWIW, I can't reproduce it.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada




Re: [O] make test hangs (master)

2016-02-02 Thread Erik Hetzner
Hi Nicolas,

On Tue, 02 Feb 2016 09:49:10 -0800,
Nicolas Goaziou  wrote:
>
> Hello,
>
> Erik Hetzner  writes:
>
> > […]
> >
> >   [ hangs here ]
>
> FWIW, I cannot reproduce it.

Thank you for trying. It’s consistent on my machine, but may be an interaction
with other environment variables. If anyone else encounters the issue, at least
they will have this thread to reference.

best, Erik

--
Sent from my free software system .



Re: [O] Problem with org-babel-detangle

2016-02-02 Thread Nicolas Goaziou
Hello,

Titus von der Malsburg  writes:

> If I open the org-buffer and the tangled files side by side, and then
> detangle, both windows show the org-buffer afterwards.  I think
> detangling should leave the buffers alone.  Perhaps there is a misplaced
> save-excursion somewhere?

I cannot reproduce it, but I assume it comes from your
`org-src-window-setup' setting. For some
reason,`org-babel-tangle-jump-to-org' calls `org-src-switch-to-buffer'.

Regards,

-- 
Nicolas Goaziou



Re: [O] Refile is not using IDO

2016-02-02 Thread Nicolas Goaziou
Hello,

Vitalie Spinu  writes:

> That makes sense, but why is org-completion-use-ido and all the references
> pointing to it is still there?

I forgot to remove them. Now done in master.
>
>> I cannot tell, I don't use IDO. 
>
> What do yo use if not a secret? Helm?

Helm, indeed.

> Something is resetting in refile. I will investigate.

Thank you.


Regards,

-- 
Nicolas Goaziou



Re: [O] missing fancy character when using org-bullets

2016-02-02 Thread Grant Rettke
https://github.com/rolandwalker/unicode-fonts helps Emacs use all
available fonts' characters.


Sincerely,

Grant Rettke


On Tue, Feb 2, 2016 at 9:51 AM, Bingo UV  wrote:
> On Tue, 2 Feb 2016 15:22:09 +0100
> Giacomo M  wrote:
>
>> Dear all,
>> at work I have Windows 7, at home Windows 10. I use the same emacs
>> configuration, and Consolas as the default font face.
>> I indulge myself using org-bullets. At work it works. At home the
>> pretty symbol for 3-rd level outlines is missing. An empty rectangle
>> is showing instead. Other symbols, like those for the first two
>> levels headlines or things like \lambda, work.
>>
>> Did anybody experience anything similar?
>>
>> Thanks,
>>
>> Giacomo
>>
>
> Yes, I faced it too - on CentOS 6.5. I moved to Debian stable to get
> rid of the problem, I couldn't find any other solution.
>



Re: [O] Bug: Commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258 breaking org-drill [8.3.3 (release_8.3.3-725-gdd15fe @ /usr/share/emacs/site-lisp/org/)]

2016-02-02 Thread Nicolas Goaziou
Hello,

Michael Strey  writes:

> After reverting the mentioned commit, org-drill is working like expected again
> and the function call:
>
> (org-make-tags-matcher "")
>
> evaluates to:
>
> ("" lambda (todo tags-list level)
>   (and (member todo org-not-done-keywords) (and t t)))
>
> In HEAD it evaluates to:
>
> ("" lambda (todo tags-list level)
>   (and (member todo org-not-done-keywords) nil))
>
Hopefully fixed in master. Could you confirm it?

Thank you.


Regards,

-- 
Nicolas Goaziou



Re: [O] ob-stan.el is empty.

2016-02-02 Thread Nicolas Goaziou
Hello,

Toshiaki Ara  writes:

> I use org-20160118 (ELPA).
>
> However, an error occurred when "(require 'ob-stan)" was executed.
> because lisp/ob-stan.el is empty (0 byte).

"ob-stan.el" belongs to development branch. However ELPA releases are
made from the stable branch.

Regards,

-- 
Nicolas Goaziou



Re: [O] Bug: Commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258 breaking org-drill [8.3.3 (release_8.3.3-725-gdd15fe @ /usr/share/emacs/site-lisp/org/)]

2016-02-02 Thread Michael Strey
On Di, 2016-02-02 at 17:58, Nicolas Goaziou wrote:

[...]

> Could you provide an ECM?

Well, yes, maybe, but I would like to avoid this effort.

After reverting the mentioned commit, org-drill is working like expected again
and the function call:

(org-make-tags-matcher "")

evaluates to:

("" lambda (todo tags-list level)
  (and (member todo org-not-done-keywords) (and t t)))

In HEAD it evaluates to:

("" lambda (todo tags-list level)
  (and (member todo org-not-done-keywords) nil))

Hope that helps.  If not, I will go and make my homework with the ECM.

Best regards
-- 
Michael Strey
http://www.strey.biz * https://twitter.com/michaelstrey



Re: [O] ob-stan.el is empty.

2016-02-02 Thread Toshiaki Ara
> Hello,
> 
> Toshiaki Ara  writes:
> 
>> I use org-20160118 (ELPA).
>>
>> However, an error occurred when "(require 'ob-stan)" was executed.
>> because lisp/ob-stan.el is empty (0 byte).
> 
> "ob-stan.el" belongs to development branch. However ELPA releases are
> made from the stable branch.
> 
> Regards,
> 
> -- 
> Nicolas Goaziou
> 

Thank you.
I understand.

Regards,

Toshiaki Ara





Re: [O] Problem with org-babel-detangle

2016-02-02 Thread Titus von der Malsburg

On 2016-02-02 Tue 14:29, Nicolas Goaziou wrote:
> Hello,
>
> Titus von der Malsburg  writes:
>
>> If I open the org-buffer and the tangled files side by side, and then
>> detangle, both windows show the org-buffer afterwards.  I think
>> detangling should leave the buffers alone.  Perhaps there is a misplaced
>> save-excursion somewhere?
>
> I cannot reproduce it, but I assume it comes from your
> `org-src-window-setup' setting.

Hm, I haven’t changed the value of `org-src-window-setup' from its
default (which is `reorganize-frame').  I will look into it.

  Titus

> For some
> reason,`org-babel-tangle-jump-to-org' calls `org-src-switch-to-buffer'.
>
> Regards,



signature.asc
Description: PGP signature


Re: [O] ox-tufte-latex

2016-02-02 Thread Rasmus

Mojn Tom,

I'm pretty invested in KOMA-Script but this is a great as a lot of 
people really appreciate the Tufte package.


Thomas S. Dye  writes:

I've cobbled together an exporter for the Tufte LaTeX classes, 
which I'd like to contribute to Org mode contrib/.


My initial beef with your code it that it seems, from skimming the 
code, to replicate a lot of functions from ox-latex.  This means 
that when ox-latex.el updates, we might have to backport the 
changes into ox-tufte-latex.  It’s already some work keeping 
ox-beamer and ox-latex up to date (e.g. I added a some feature to 
ox-latex and only realized much later that I hadn’t added it to 
ox-beamer).


E.g. org-tufte-latex--inline-image is very much alike 
org-latex--inline-image.


I don’t know to what extend it would be possible to minimize 
replication.  Perhaps you already did this and perhaps my comments 
are merely following from the fact that I did not study your patch 
appropriately (I’m traveling ATM).


Another question is, what features would we need to make more 
flexible in ox-latex in order to obsolete your class or reduce it 
to an element in org-latex-classes?  Is there some areas where 
it’s lacking for the purpose of "tufing" ox-latex output?


In any I’m very happy that you are working on this.  I hope the 
above is not discouraging; that’s at least not what it’s meant to 
be.


Thanks,
Rasmus


--
Vote for Dick Taid in an election near you!




Re: [O] ox-tufte-latex

2016-02-02 Thread Thomas S . Dye
Aloha Rasmus,

You've got it exactly right.  I read through ox-latex.el, found the
functions I wanted to change, copied them to ox-tufte-latex.el and added
a few lines of code here and there (using babel and noweb chunks).

It would indeed be easy to modify ox-latex.el so it supports the
non-standard commands of the Tufte LaTeX package.  I can send patches to
that effect, if you like.  Ox-latex would need to recognize a few new
LaTeX attributes and export marginfigure, marginnote, and sidenote
commands.  I hijacked footnote for sidenote, so this would probably need
some work to recognize when one or the other was needed.

The reason I originally decided not to suggest patches to ox-latex.el
is that the Tufte LaTeX package is a bit cranky and I was unsure of its
future. I thought it might be better to leave ox-latex to the more
stable and mature LaTeX packages.  I hadn't thought about backporting,
etc.

hth,
Tom


Rasmus  writes:

> Mojn Tom,
>
> I'm pretty invested in KOMA-Script but this is a great as a lot of 
> people really appreciate the Tufte package.
>
> Thomas S. Dye  writes:
>
>> I've cobbled together an exporter for the Tufte LaTeX classes, 
>> which I'd like to contribute to Org mode contrib/.
>
> My initial beef with your code it that it seems, from skimming the 
> code, to replicate a lot of functions from ox-latex.  This means 
> that when ox-latex.el updates, we might have to backport the 
> changes into ox-tufte-latex.  It’s already some work keeping 
> ox-beamer and ox-latex up to date (e.g. I added a some feature to 
> ox-latex and only realized much later that I hadn’t added it to 
> ox-beamer).
>
> E.g. org-tufte-latex--inline-image is very much alike 
> org-latex--inline-image.
>
> I don’t know to what extend it would be possible to minimize 
> replication.  Perhaps you already did this and perhaps my comments 
> are merely following from the fact that I did not study your patch 
> appropriately (I’m traveling ATM).
>
> Another question is, what features would we need to make more 
> flexible in ox-latex in order to obsolete your class or reduce it 
> to an element in org-latex-classes?  Is there some areas where 
> it’s lacking for the purpose of "tufing" ox-latex output?
>
> In any I’m very happy that you are working on this.  I hope the 
> above is not discouraging; that’s at least not what it’s meant to 
> be.
>
> Thanks,
> Rasmus


-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] MobileOrg does not sync with local Android calendar

2016-02-02 Thread Ramon Diaz-Uriarte



On Mon, 01-02-2016, at 17:35, Karl Voit  wrote:
> * Ramon Diaz-Uriarte  wrote:
>>
>> On Mon, 01-02-2016, at 14:20, Karl Voit  wrote:
>>
 The calendar name is set to "org-calendar" (I think that is the
 default, since I do not recall ever having changed/set it). 
>>>
>>> Mine is "Org". But in my calendar app, there is no "Org" calendar,
>>> just three others.
>>
>> No idea why that happens.
>>
>>> Whenever I choose an existing calendar within MobileOrg preferences,
>>> it stays at the non-existing "Org" calendar. I guess this is the
>>> reason why there is no data sync to my calendar.
>>
>> No idea what is happening there.
>
> Okay. A little bit confused now:
>
> When I checked MobileOrg a couple of minutes ago, I did see some
> (not all!) Org-mode events for the first time. Only scheduled
> things, no events with time-slots. I did not check any further.
>
> I recognized, that MobileOrg settings is showing me the previously
> selected existing calendar.
>
> In calendar, I noticed that sync was activated. Gr. I hate it,
> when something silently leaks my private data to the public cloud!
>
> After I disabled the sync-checkboxes for my three calendars, the
> Org-mode events were gone again.
>
> Quite disappointing, the whole story.


Karl, I am sorry I can provide no additional help here and that the whole
thing is frustrating. I've been using mobile-org for several years without
much tweaking and, yes, enabling (not happily) the syncing of calendar with
Google's cloud. That said, sometimes (for reasons I don't understand)
things do not work fully (the calendar is not updated completely, events
are missing, events get duplicated, etc). So this is not always 100%
reliable.

As for Android's calendar syncing with Google's cloud, and after reading
Brian van den Broek's and Bingo UV's comments about Offline Calendar, I
think I'll be trying that so I can get rid of the cloud.


Best,

R.


-- 
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid 
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdia...@gmail.com
   ramon.d...@iib.uam.es

http://ligarto.org/rdiaz



Re: [O] references to arbitrary labels in org and export to latex

2016-02-02 Thread Loris Bennett
Hi Christian,

Christian Wittern  writes:

> Dear orgmoders,
>
> I am writing a document with a lot of web references.  I would like to
> bundle them at the end in the same way this is usually done with
> bibliographic references, but separately.  To reference them in the text, I
> tried someting like [[url:mandoku-en]] and I have a
> #+LABEL: url:mandoku-en
> at the place where the URL is.  This does not work as expected and the
> exporter complains about a missing link to url:mandoku.  Does anybody have
> an idea about how to solve this?
>
> Christian

This was discussed in the following thread:

https://lists.gnu.org/archive/html/emacs-orgmode/2015-02/msg00382.html

It seems you can't use 'url:mandoku-en' because of the colon, so you
would have to use something like 'url;mandoku-en' instead.

HTH

Loris

-- 
This signature is currently under construction.




Re: [O] "atomic knowledge" modeling tool

2016-02-02 Thread Eric S Fraga
Hi Luke,

thanks for the very comprehensive answer.  I can now see where you are
heading.  And it's a laudable direction.

But not for me because of one fundamental property of org: "it's all
text".

I've been in this business a very *long* time and, if I've learnt
anything at all, it's that formats come and go but text remains [1].  If
I have any issue with what org or emacs are doing, I *know* that I can
open up the file in vim, say, and have all my content available.  Or I
can M-x text-mode RET in emacs and I can see everything as well.

YMMV, of course :-)

Thanks again,
eric

Footnotes: 
[1]  well, I did start with EBCDIC, moved to US-ASCII and now use UTF-8...

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3.3-449-gd85ff3



Re: [O] org-beamer-select-environment fails

2016-02-02 Thread Julien Cubizolles
Eric S Fraga  writes:

> On Monday,  1 Feb 2016 at 14:56, Julien Cubizolles wrote:
>> There is something wrong with org-beamer-select-environment. It fails
>> with:
>
> I just tried this and it works fine for me.  Maybe tell us a bit more
> about your setup, such as what version of org?  And maybe include a
> small example?

Just a test.org file with

--8<---cut here---start->8---
* test
--8<---cut here---end--->8---

Calling org-beamer-select-environment triggers the problem. I've tried
with Org-mode version 8.2.10 (release_8.2.10 @
/usr/share/emacs/25.1.50/lisp/org/) (emacs -Q) and with Org-mode version
8.3.3 (8.3.3-43-g0b97a5-elpa @ /home/wilk/.emacs.d/elpa/org-20160201/)

Since I was not having this problem previously, I guess it must have to
do with a new version of Emacs (GNU Emacs 25.1.50.2
(x86_64-pc-linux-gnu, GTK+ Version 3.16.7) of 2016-01-31)

Julien.



[O] missing fancy character when using org-bullets

2016-02-02 Thread Giacomo M

Dear all,
at work I have Windows 7, at home Windows 10. I use the same emacs 
configuration, and Consolas as the default font face.
I indulge myself using org-bullets. At work it works. At home the pretty 
symbol for 3-rd level outlines is missing. An empty rectangle is showing 
instead. Other symbols, like those for the first two levels headlines or 
things like \lambda, work.


Did anybody experience anything similar?

Thanks,

Giacomo



Re: [O] "atomic knowledge" modeling tool

2016-02-02 Thread luke call

On 02/02/16 00:23, Robert Klein wrote:
> So I have to actually pay for export (C-c C-e in org-mode and more
> formats to export to), searching (C-s and C-r in emacs,
> probably more in org-mode) and /maybe/ recent bugfixes? And probably 
> no Emacs shortcut keys.


All features are in the free/open code; really everything is in github
under a Free license.  (If anyone provides the least assistance to the
project, even just some feedback and joins the announcements list, I'll
currently send them the compiled full binary upon request, as the web
site indicates.)


As your 'product' is
not relevant to org-mode []


I mentioned OM here only because I thought it of interest to
org-mode users, which it evidently was to at least two who thanked me,
and I answered their questions, in order not to be rude to them.


If you have to offer a exporter for org-mode exporting stuff to your
product you're very welcome to present it here.


Org-mode can save to outlines AFAIK.  Import of text outlines
(with possible manual adjustments) works in OM. Thanks for mentioning
it.

You're right that anything else now should probably best be on the
www.onemodel.org mailing lists.



Re: [O] ox-tufte-latex

2016-02-02 Thread Eric S Fraga
Hi Thomas,

thanks for this.  I look forward to seeing the tutorial on Worg!  I can
see using this format for "working" documents with colleagues (yes, I do
have some that use LaTeX and even org in one or two cases).
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3.3-449-gd85ff3



Re: [O] Bug: global todo list is not populated with TODOs with timestamp [8.3.3 (release_8.3.3-509-gc17fcc)]

2016-02-02 Thread Nicolas Goaziou
Hello,

Vitalie Spinu  writes:

> In my understanding this is a bug. Global todo list must display all entries. 
> Or
> not?

See `org-agenda-todo-ignore-with-date'.

Regards,

-- 
Nicolas Goaziou



Re: [O] org-beamer-select-environment fails

2016-02-02 Thread Nicolas Goaziou
Hello,

Julien Cubizolles  writes:

> Eric S Fraga  writes:
>
>> On Monday,  1 Feb 2016 at 14:56, Julien Cubizolles wrote:
>>> There is something wrong with org-beamer-select-environment. It fails
>>> with:
>>
>> I just tried this and it works fine for me.  Maybe tell us a bit more
>> about your setup, such as what version of org?  And maybe include a
>> small example?
>
> Just a test.org file with
>
> * test
>
> Calling org-beamer-select-environment triggers the problem. I've tried
> with Org-mode version 8.2.10 (release_8.2.10 @
> /usr/share/emacs/25.1.50/lisp/org/) (emacs -Q) and with Org-mode version
> 8.3.3 (8.3.3-43-g0b97a5-elpa @ /home/wilk/.emacs.d/elpa/org-20160201/)
>
> Since I was not having this problem previously, I guess it must have to
> do with a new version of Emacs (GNU Emacs 25.1.50.2
> (x86_64-pc-linux-gnu, GTK+ Version 3.16.7) of 2016-01-31)

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou



Re: [O] Bug: Commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258 breaking org-drill [8.3.3 (release_8.3.3-725-gdd15fe @ /usr/share/emacs/site-lisp/org/)]

2016-02-02 Thread Nicolas Goaziou
Hello,

Michael Strey  writes:

> When starting an org-drill session, I expect the answer to the question
> to be hidden.  Since my last update, I see question and answer at the
> same time.
>
> I tracked the problem down to commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258.
>
> In function org-drill-hide-subheadings-if the following call of 
> org-map-entries is
> used:
>
> (org-map-entries
>(lambda ()
>  (when (and (not (outline-invisible-p))
> (> (org-current-level) drill-entry-level))
>(when (or (/= (org-current-level) (1+ drill-entry-level))
> (funcall test))
>  (hide-subtree))
>(push (point) drill-sections)))
>"" 'tree)

Could you provide an ECM?

Regards,

-- 
Nicolas Goaziou



Re: [O] MobileOrg does not sync with local Android calendar

2016-02-02 Thread Bingo UV
On Mon, 1 Feb 2016 12:31:33 -0800
Brian van den Broek  wrote:


> 
> I use an app (from the Play Store) called Offline Calendar. It makes
> Google calendars that do not sync. I have mobile org write to a
> calendar it creates and never sync calendars on my phone or tablet.
> It works on my nexus 7 and my Moto G. It also worked on the Nexus 4
> and an ancient 2.x Android Samsung phone.
> 
> Best,
> 
> Brian vdB

Yes, I just want to chip in here and say that synchronizing with the
google cloud is not necessary at all for mobileorg calendar integration
to work. I use the same application (in fact from F-droid) to create
local non-cloud calendars and mobileorg uses it nicely.



Re: [O] Stackoverflow in regexp matcher

2016-02-02 Thread Nick Dokos
"Loris Bennett"  writes:

> Hi,
>
> On refreshing the #+TAGS via 'C-c C-c' I'm am getting the following error
>
> Stackoverflow in regexp matcher
>

Not "Stack overflow in ..."? I searched for Stackoverflow both in the
org-mode directory and the emacs source directory (but I'm not up to
date with either so I might have missed a recent change): I didn't find
anything.

I found the similar

./src/search.c:  error ("Stack overflow in regexp matcher");

> I have tried bisecting the file, but the problem does not seem to be
> caused by a specific part.  Instead it just seems to occur at a fairly
> random point once the file becomes long enough.
>
> The file is a beamer presentation with 1375 lines.  If I add
>
> * 0123456789
>
> to the end of the file (or insert it at some other point), I can still
> refresh.  If I add
>
> * 0123456789
> 0
>
> I get "Stackoverflow in regexp matcher".
>
> Does anyone have any ideas how to proceed here?
>

M-x toggle-debug-on-error RET

try to reproduce and send the backtrace (if any).

--
Nick







Re: [O] missing fancy character when using org-bullets

2016-02-02 Thread Bingo UV
On Tue, 2 Feb 2016 15:22:09 +0100
Giacomo M  wrote:

> Dear all,
> at work I have Windows 7, at home Windows 10. I use the same emacs 
> configuration, and Consolas as the default font face.
> I indulge myself using org-bullets. At work it works. At home the
> pretty symbol for 3-rd level outlines is missing. An empty rectangle
> is showing instead. Other symbols, like those for the first two
> levels headlines or things like \lambda, work.
> 
> Did anybody experience anything similar?
> 
> Thanks,
> 
> Giacomo
> 

Yes, I faced it too - on CentOS 6.5. I moved to Debian stable to get
rid of the problem, I couldn't find any other solution.



[O] Refile is not using IDO

2016-02-02 Thread Vitalie Spinu

Hi,

I cannot get IDO working with refile anymore. The following change seem to be
relevant:

 
@@ -12008,12 +11980,11 @@ this is used for the GOTO interface."
   (unless org-refile-target-table
 (user-error "No refile targets"))
   (let* ((cbuf (current-buffer))
-	 (partial-completion-mode nil)
 	 (cfn (buffer-file-name (buffer-base-buffer cbuf)))
 	 (cfunc (if (and org-refile-use-outline-path
 			 org-outline-path-complete-in-steps)
-		'org-olpath-completing-read
-		  'org-icompleting-read))
+		#'org-olpath-completing-read
+		  #'completing-read))
 	 (extra (if org-refile-use-outline-path "/" ""))
 	 (cbnex (concat (buffer-name) extra))
 	 (filename (and cfn (expand-file-name cfn)))



And presumably obsoleted ido completion. I don't see anything mentioned in
org-completion-use-ido, tough.

How do I activate ido with refile now?

Thanks,

  Vitalie


[O] Bug: global todo list is not populated with TODOs with timestamp [8.3.3 (release_8.3.3-509-gc17fcc)]

2016-02-02 Thread Vitalie Spinu

I have a template like this in my `org-capture-templates`:

   ("a" "Agenda" entry
 (file+headline (concat org-directory "_TODO.org") "AGENDA")
 "** TODO %?\n   %^t \n   %i\n"
 ;; :clock-in t
 :prepend t
 :clock-resume t)

Which produces entries like:

  ** TODO blabla
   <2016-02-02 Tue>


The problem is that org-agenda -> org-todo-list ignores such entries. If I
delete the time stamp the entry starts appearing in the global todo list.

I tracked it down to 
org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item:

╭ #5467 ─ org-mode/lisp/org-agenda.el ──
│ (when (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item 
end)
│   (goto-char (1+ beg))
│   (or org-agenda-todo-list-sublevels (org-end-of-subtree 'invisible))
│   (throw :skip nil)))
╰ #5470 ─


In my understanding this is a bug. Global todo list must display all entries. Or
not?


Thanks,

  Vitalie



Emacs  : GNU Emacs 25.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.7)
 of 2016-01-21
Package: Org-mode version 8.3.3 (release_8.3.3-509-gc17fcc @ 
/home/vspinu/VC/org-mode/lisp/)



Re: [O] Refile is not using IDO

2016-02-02 Thread Vitalie Spinu

Sorry, forgot to mention the commit of the change:

fdbf44156060297a0536b79a198fba13619b1d9b
Author: Nicolas Goaziou 
AuthorDate: Tue Dec 22 14:49:23 2015 +0100
Commit: Nicolas Goaziou 
CommitDate: Sun Jan 10 21:16:29 2016 +0100

Parent: 5964b71 Update copyright years for master-only files
Containing: master
Follows:release_8.3.3 (424)

Obsolete `org-icompleting-read' and `org-completing-read-no-i'



[O] Bug: Commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258 breaking org-drill [8.3.3 (release_8.3.3-725-gdd15fe @ /usr/share/emacs/site-lisp/org/)]

2016-02-02 Thread Michael Strey


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.


When starting an org-drill session, I expect the answer to the question
to be hidden.  Since my last update, I see question and answer at the
same time.

I tracked the problem down to commit 2520fd654a65fe607a8ca726d7fc8fb5be07d258.

In function org-drill-hide-subheadings-if the following call of org-map-entries 
is
used:

(org-map-entries
   (lambda ()
 (when (and (not (outline-invisible-p))
(> (org-current-level) drill-entry-level))
   (when (or (/= (org-current-level) (1+ drill-entry-level))
(funcall test))
 (hide-subtree))
   (push (point) drill-sections)))
   "" 'tree)


Emacs  : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6)
 of 2015-09-10 on foutrelis
Package: Org-mode version 8.3.3 (release_8.3.3-725-gdd15fe @ 
/usr/share/emacs/site-lisp/org/)
-- 
Michael Strey
http://www.strey.biz * https://twitter.com/michaelstrey



Re: [O] My sync setup for Org-mode files and more: unison, git (was: Require feedback on an idea: move to a central server all my org file and edit from there?)

2016-02-02 Thread Tim O'Callaghan
Hi,

My setup uses Dropbox and encfs. It is the best cross platform
solution for managing this problem i have come across. I used to use
git repos, unison, ssh tunneling, etc, but Dropbox beats them all
hands down, and i can use it with a free account.

- Windows - Dropbox + boxcryptor classic
- Andoid - Dropbox + android Boxcryptor classic or cryptonite
- Linux/Macos - Dropbox + encfs

I created a script to automount and manage encfs and possible
conflicts on the encrypted filesystem from my bash command line. You
can find the script here:
https://github.com/timoc/encfsbox

I've been using this setup for a few years now and it auto-syncs all
of my org files, research material etc (and git repositories) securely
between multiple hosts.
I also use it to securely share org-files and working support material
with others,

The only caveat is to add this line (or add a org-mode hook) to the
top of your org file, so that if an org file is open elsewhere when
you edit your dropbox it will get auto-reloaded by emacs:

# -*- mode: org; mode:auto-revert; -*-

Dropbox manages conflict detection between the various hosts. I have
very  rarely had any conflicts between hosts. If you use my enfsbox
script it will automatically tell you if it encounters conflicts in
the encrypted files, and you can call it with the C parameter to move
the conflicted file into the encfs filesystem so you can perform a
merge.

Hope this helps.

Tim.
P.S. if you like this idea, and want to create a Dropbox account,
please use this link: https://db.tt/d1zHZ92
It donates extra dropbox storage to me, for which i will tidy-up and
publish my multi-dropbox account version and accept feature requests
via github :)

On 25 January 2016 at 16:42, Karl Voit  wrote:
> Hi!
>
> * Xebar Saram  wrote:
>>
>> I keep syncing (via git,unison etc) all my org files all the time between 4
>> machines and i just had enough :) im not (and probably never will be)
>> disciplined enough to properly save and close all my 100's of buffer before
>> i leave each machine each time and im always faced with conflict/merging
>> hell..
>
> I do have privacy concerns since my most precious data is all
> managed via Org-mode.
>
> My system with four machines (1x Win7, 3x Linux) is:
>
> - home desktop:
>   - gitwatch + auto-commit: committing all changes when I save a
> file (or a file gets synced)
>   - unison over ssh: sync with my own root-server via 10min cron-job
>
> - root server:
>   - just providing data and sync services
>   - no Emacs processing
>
> - home notebook:
>   - unison over ssh to root server (10min cron-job)
>
> - work (Win7):
>   - manual unison sync in the morning & evening
>
> Since I close Emacs when I'm done working on a machine, I avoid
> merge hell so far.
>
> I never forget to sync because Org is very important to me and the
> sync jobs don't just sync Org-mode files but my whole core data-set
> of several hundreds megabytes. I tend to use this functionality also
> for "high-frequency" backup of my most important data.
>
> --
> mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
>> get Memacs from https://github.com/novoid/Memacs <
>
> https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
>
>



Re: [O] backend for todo.txt format (todotxt.com)

2016-02-02 Thread Tim O'Callaghan
Coming late to this discussion - Its great to find out about
org-todotxt.el, I shall start playing with it straight away.

For what its worth, my setup uses the todo.txt command line app as a
capture tool, with the todo.txt kept in a Dropbox folder. On my phone
i use the outstanding Clockwork Tomato (a pomodoro timer), which can
read and write local todo.txt format files, and automatically
synchronise the changes with a todo.txt on Dropbox.
https://play.google.com/store/apps/details?id=net.phlam.android.clockworktomato

It was a feature request of mine a while back noted under ' Task
lists, editable from any text editor through Dropbox'. As it has
multiple profiles, it can sync with multiple todo.txt files, which is
handy for shared task lists etc.

I use CWT on my android phone to examine/modify my outstanding
todo.txt tasks, and to track time associated with them, mark them as
done etc. I also use it for habit tracking. It can export the task
logfiles too, but i have yet to use them for anything.

On 19 January 2016 at 07:20, Kyle Meyer  wrote:
> Stefan Huchler  writes:
>
>> Kyle Meyer  writes:
>>
>>> if-let has been define in Emacs's subr-x.el since c08f8be (New if-let,
>>> when-let, thread-first and thread-last macros., 2014-06-30).
>
> Sorry, I know nothing about org-todotxt.el and haven't been following
> this discussion.  I just knew where if-let was.
>
> --
> Kyle
>



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

2016-02-02 Thread Nicolas Goaziou
Hello,

Sébastien Brisard  writes:

> Oh really? It does work, though. I use this feature on my blog to link
> to bibrefs that are in another page. Links like
>
>  [[file:../pages/references.org::#TARI2008][Tariel et al., 2008]]
>
> get exported correctly. Only, the HTML target name is orgtargetXX.
> Which means that if I add a new bibliographic reference in the
> references.org file, I need to reexport the whole website, rather than
> the pages that have changed.
>
> But, if I understand correctly, I should not be using this kind of
> links anyway?

If you do, you're on your own. We cannot ensure this will always work.

> Yeah, I have explored a solution using custom IDs. They don't work
> with lists, though (I use description lists for my references). Then I
> need to define every new bib entry as a header. It's doable, and if
> you confirm that what I do at the moment should not be working at all,
> then I will switch to this option.

You could insert your own targets with #+HTML or @@html:...@@
directives, e.g.,

  #+HTML: 
  Text

Another option is to implement `org-latex-prefer-user-labels' for HTML
back-end, if you want to.


Regards,

-- 
Nicolas Goaziou



Re: [O] Refile is not using IDO

2016-02-02 Thread Nicolas Goaziou
Hello,

Vitalie Spinu  writes:

> I cannot get IDO working with refile anymore. The following change seem to be
> relevant:
>
> @@ -12008,12 +11980,11 @@ this is used for the GOTO interface."
>(unless org-refile-target-table
>  (user-error "No refile targets"))
>(let* ((cbuf (current-buffer))
> -  (partial-completion-mode nil)
>(cfn (buffer-file-name (buffer-base-buffer cbuf)))
>(cfunc (if (and org-refile-use-outline-path
>org-outline-path-complete-in-steps)
> - 'org-olpath-completing-read
> -   'org-icompleting-read))
> + #'org-olpath-completing-read
> +   #'completing-read))
>(extra (if org-refile-use-outline-path "/" ""))
>(cbnex (concat (buffer-name) extra))
>(filename (and cfn (expand-file-name cfn)))
>
>
>
>
> And presumably obsoleted ido completion. I don't see anything mentioned in
> org-completion-use-ido, tough.

The idea behind this patch is that IDO completion should be handled by
IDO, not Org. IOW, Org uses `completing-read' and IDO does its magic,
e.g., by setting `completing-read-function'.

> How do I activate ido with refile now?

I cannot tell, I don't use IDO. In the worst case, you can always
replace `completing-read-function' with `ido-completing-read'. I assume
there is some setting in IDO allowing to do it automatically.


Regards,

-- 
Nicolas Goaziou



Re: [O] make test hangs (master)

2016-02-02 Thread Nicolas Goaziou
Hello,

Erik Hetzner  writes:

> It turns out the issue is my prompt, that is, the value of the =PS1= 
> environment
> variable, which contains a lambda (λ, U+03BB). I suspect the following will 
> fail
> for all:
>
>   $ PS1="λ " emacs -Q --batch -L lisp/ -L testing/ -L testing/lisp -l 
> lisp/org.el -l lisp/org-id.el -l testing/org-test.el --eval "(progn 
> (org-reload) (setq org-confirm-babel-evaluate nil) 
> (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) 
> (shell . t) (org . t" -f org-test-run-batch-tests
>   …
>  passed   70/443  test-ob-shell/dont-insert-spaces-on-expanded-bodies
>   [ hangs here ]

FWIW, I cannot reproduce it.

Regards,

-- 
Nicolas Goaziou



Re: [O] Refile is not using IDO

2016-02-02 Thread Vitalie Spinu

> The idea behind this patch is that IDO completion should be handled by
> IDO, not Org. IOW, Org uses `completing-read' and IDO does its magic,
> e.g., by setting `completing-read-function'.

That makes sense, but why is org-completion-use-ido and all the references
pointing to it is still there?

>> How do I activate ido with refile now?

> I cannot tell, I don't use IDO. 

What do yo use if not a secret? Helm? 

> In the worst case, you can always replace `completing-read-function' with
> `ido-completing-read'. 

It's already there - completing-read-ido-ubiquitous.

After another look, it's not a problem with org-refile-get-location. The
following works:

  (with-current-buffer (get-buffer-create " *dummy.org")
(setq default-directory org-directory)
(org-refile-get-location "Clock"))

Something is resetting in refile. I will investigate.


Thanks,

  Vitalie



Re: [O] Bug: global todo list is not populated with TODOs with timestamp [8.3.3 (release_8.3.3-509-gc17fcc)]

2016-02-02 Thread Vitalie Spinu


>> On Tue, Feb 02 2016 17:33, Nicolas Goaziou wrote:

> Hello,

> Vitalie Spinu  writes:

>> In my understanding this is a bug. Global todo list must display all 
>> entries. Or
>> not?

> See `org-agenda-todo-ignore-with-date'.

That was it. Thanks!



[O] orgmode display in grep buffers

2016-02-02 Thread Christian Wittern
Hi orgmoders,

I frequently grep in org-mode files.  Sometimes, especially when the hit is
on a line with links, the display is long and ugly.  Would it be possible to
tell grep to display the lines using orgmode syntax? Switching the grep
buffers to orgmode does not work, the connection to the hit gets lost.

All the best,

Christian

-- 
Christian Wittern, Kyoto



[O] bug#22472: 25.0.50; org-mode: latex fragments can't be un-rendered after a revert

2016-02-02 Thread Bastien Guerry
Hi Dima,

Dima Kogan  writes:

> 3. C-c C-x C-l
>
>This renders the latex fragment to show the equation graphically. It
>also tells the user (in the mini-buffer) that C-c C-c will remove the
>rendering, and go back to text

Latest stable version from Org does not use C-c C-c to remove the
rendering.

> 4. M-x revert-buffer
>
>At this point I would expect the render to revert to text, but it
>doesn't. This isn't necessarily a bug. However...

(Why would reverting the buffer unrender the LaTeX fragment if the
text file hasn't change?)

> 5. C-c C-c
>
>Here I ask emacs to un-render the fragment, but it does nothing. If
>#4 isn't a bug, then this is definitely a bug.

AFAIK C-c C-c is not used to remove the rendering anymore.

Any chance you can test with the stable Org from GNU ELPA?

Thanks,

-- 
 Bastien





Re: [O] orgmode display in grep buffers

2016-02-02 Thread Bastien Guerry
Hi Christian,

Christian Wittern  writes:

> I frequently grep in org-mode files.  Sometimes, especially when the hit is
> on a line with links, the display is long and ugly.  Would it be possible to
> tell grep to display the lines using orgmode syntax? Switching the grep
> buffers to orgmode does not work, the connection to the hit gets
> lost.

An indirect solution, but https://github.com/pinard/org-grep might do
the job for you.

-- 
 Bastien



[O] bug#22399: org-mode fontification

2016-02-02 Thread Kyle Meyer
Bastien Guerry  writes:

> Hi Stefan and Kyle,
>
> Stefan Monnier  writes:
>
>>> No, I don't have commit rights.  I'll update the Org side, but, for
>>> issues that were introduced in the Emacs tree post 24.5, I don't know if
>>> it's preferable to also update Emacs instead of waiting for the changes
>>> to come over with a full sync.
>>
>> Looks like there's no Org people following this, so I installed it into
>> emacs-25 (IOW it should be fixed in the next (25.0.91) pretest).
>
> Thanks for installing this -- Kyle, do you confirm you installed the
> change in Org's git repo?

Yes, in a4edee4.

-- 
Kyle





[O] references to arbitrary labels in org and export to latex

2016-02-02 Thread Christian Wittern
Dear orgmoders,

I am writing a document with a lot of web references.  I would like to
bundle them at the end in the same way this is usually done with
bibliographic references, but separately.  To reference them in the text, I
tried someting like [[url:mandoku-en]] and I have a
#+LABEL: url:mandoku-en
at the place where the URL is.  This does not work as expected and the
exporter complains about a missing link to url:mandoku.  Does anybody have
an idea about how to solve this?

Christian
-- 
Christian Wittern, Kyoto



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

2016-02-02 Thread Sébastien Brisard
Hello again,

>
> > Oh really? It does work, though. I use this feature on my blog to link
> > to bibrefs that are in another page. Links like
> >
> >  [[file:../pages/references.org::#TARI2008][Tariel et al., 2008]]
> >
> > get exported correctly. Only, the HTML target name is orgtargetXX.
> > Which means that if I add a new bibliographic reference in the
> > references.org file, I need to reexport the whole website, rather than
> > the pages that have changed.
> >
> > But, if I understand correctly, I should not be using this kind of
> > links anyway?
>
> If you do, you're on your own. We cannot ensure this will always work.
>

Fair enough. I did not realize that, I will no longer this feature, then.

>
> > Yeah, I have explored a solution using custom IDs. They don't work
> > with lists, though (I use description lists for my references). Then I
> > need to define every new bib entry as a header. It's doable, and if
> > you confirm that what I do at the moment should not be working at all,
> > then I will switch to this option.
>
> You could insert your own targets with #+HTML or @@html:...@@
> directives, e.g.,
>
>   #+HTML: 
>   Text
>

I'd rather use a "pure org" option. My solution is as follows. Replace
all description list items, like

  - <>
[[http://www.ing.unitn.it/~bigoni/paper/eigenvalues.pdf][Bigoni and
Zaccaria (1994)]] :: D. Bigoni and D. Zaccaria, /On the eigenvalues of
the acoustic tensor in elastoplasticity/, European Journal of
Mechanics - A/Solids 13(5):621-638, 1994

With headings

* [[http://www.ing.unitn.it/~bigoni/paper/eigenvalues.pdf][Bigoni and
Zaccaria (1994)]]
  :PROPERTIES:
  :CUSTOM_ID: BIGO1994
  :HTML_CONTAINER_CLASS: sb-bib
  :END:

The trick being to use HTML_CONTAINER_CLASS to tune the appearance of
these headings from the CSS file. Although a bit more verbose, this
solution exports links correctly.

>
> Another option is to implement `org-latex-prefer-user-labels' for HTML
> back-end, if you want to.
>

... Which is way beyond my elisp capabilities!!!

Anyway, thanks for this very helpful answer. Orgmode is great!

Best regards,
Sébastien




Re: [O] Stackoverflow in regexp matcher

2016-02-02 Thread Loris Bennett
Hi Nick,

Nick Dokos  writes:

> "Loris Bennett"  writes:
>
>> Hi,
>>
>> On refreshing the #+TAGS via 'C-c C-c' I'm am getting the following error
>>
>> Stackoverflow in regexp matcher
>>
>
> Not "Stack overflow in ..."? I searched for Stackoverflow both in the
> org-mode directory and the emacs source directory (but I'm not up to
> date with either so I might have missed a recent change): I didn't find
> anything.

Sorry, "Stack overflow".

> I found the similar
>
> ./src/search.c:  error ("Stack overflow in regexp matcher");
>
>> I have tried bisecting the file, but the problem does not seem to be
>> caused by a specific part.  Instead it just seems to occur at a fairly
>> random point once the file becomes long enough.
>>
>> The file is a beamer presentation with 1375 lines.  If I add
>>
>> * 0123456789
>>
>> to the end of the file (or insert it at some other point), I can still
>> refresh.  If I add
>>
>> * 0123456789
>> 0
>>
>> I get "Stackoverflow in regexp matcher".
>>
>> Does anyone have any ideas how to proceed here?
>>
>
> M-x toggle-debug-on-error RET
>
> try to reproduce and send the backtrace (if any).

I got the following error when I opened the file this morning:

File mode specification error: (error "Stack overflow in regexp matcher")

I then toggled debugging and did 'C-c C-c' on the #+TAGS line and got
the following backtrace:

Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
  re-search-forward("^[^%]*usepackage.*{biblatex}" nil t)
  reftex-using-biblatex-p()
  reftex-locate-bibliography-files("/home/loris/git/doc.git/")
  byte-code("\306\307  
#\211\204\310!\211\203\311!\n\204%\312D\fB\313\314\315\"\210\212\316\317\"\210\320\n\321=?\"\211@q\210\311
 \322D\fB\323 
A\324\216\325B!\210\315C\212\214~\210\326b\210\327D\315\321#\203\272\326\225\203\260E\203\242\330\331!\331\332O\333\230\204\242\334\335!\203\236\334\336!\203\236\337
 F\340\216\335 *E\235\206\232\337 F\341\216\336 
*E\235?\202\237\321\203U\342\330\326!G#\fB\202U\343\225\203\376\331\224G`Sf\344=\203\304\345u\210H!\211I\203U\346I8JKJ^KJKU\203\362\316\347\350JL\"@\351I8#\210I\fBIM\202U\332\225\203\330\332!N\352\315\353\354O\"\"\204U\355N\f
  
#\202U\356\225\2030\357\315\321\"\210\360\321B\fB\202U\361\225\203fP\203U\362!\211Q\203UQA@\211RS\235\203VS\210\202]RSBS)Q\fB\202U\363\225\203\263\212\330\363!T\363\225b\210\337
 
F\364\216\365\366T!!*U\367TV\"A@\211W\203\231\331\225b\210\202\240\363\225b\210\370
 \210\342UG\315\211%\211X\fB-\202U\371\372!\210\202U\373 
!\211Y\203\312\374YB\fB\326b\210\327\375\315\321#\203\333\376B\fB\326b\210\327\377\315\321#\203\370\201Z\330\201[!\330\343!E\fB\202\336\201\\D\fB.\201]@!\207"
 [file master-dir file-found buf docstruct reftex-keep-temporary-buffers 
reftex-locate-file "tex" reftex-get-buffer-visiting buffer-file-name file-error 
throw exit nil message "Scanning file %s" reftex-get-file-buffer-force t bof 
syntax-table ((set-syntax-table saved-syntax)) set-syntax-table 1 
re-search-forward reftex-match-string 0 7 "label{" fboundp TeX-current-macro 
LaTeX-current-environment match-data ((byte-code "\301\302\"\207" 
[save-match-data-internal set-match-data evaporate] 3)) ((byte-code 
"\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) 
reftex-label-info 3 92 -1 5 "Scanning %s %s ..." rassoc 6 delq mapcar #[(x) 
"\302   \"\207" [x include-file string-match] 3] reftex-parse-from-file 9 
reftex-init-section-numbers appendix 10 ...] 7)
  reftex-parse-from-file("/home/loris/git/doc.git/hpc-workshop.org" nil 
"/home/loris/git/doc.git/")
  reftex-do-parse(1 nil)
  reftex-access-scan-info((16))
  reftex-parse-all()
  (and (buffer-file-name) (file-exists-p (buffer-file-name)) (setq TeX-master 
t) (reftex-parse-all))
  org-mode-reftex-setup()
  run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook 
org-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook text-mode-hook 
outline-mode-hook org-mode-hook))
  run-mode-hooks(org-mode-hook)
  org-mode()
  org-mode-restart()
  org-ctrl-c-ctrl-c(nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)
  command-execute(org-ctrl-c-ctrl-c)

Cheers,

Loris

-- 
This signature is currently under construction.




Re: [O] missing fancy character when using org-bullets

2016-02-02 Thread Rasmus

Hi,

Bingo UV  writes:

at work I have Windows 7, at home Windows 10. I use the same 
emacs  configuration, and Consolas as the default font face.  I 
indulge myself using org-bullets. At work it works. At home the 
pretty symbol for 3-rd level outlines is missing. An empty 
rectangle is showing instead. Other symbols, like those for the 
first two levels headlines or things like \lambda, work.   Did 
anybody experience anything similar? 


Yes, I faced it too - on CentOS 6.5. I moved to Debian stable to 
get rid of the problem, I couldn't find any other solution. 


You can specify ranges with set-fontset-font, e.g.

   (set-fontset-font "fontset-default" 'greek (font-spec :family 
   "Fira Mono") nil 'prepend)
   (set-fontset-font "fontset-default" '(#x1f601 . #x1f567) 
   "Symbola")


You can also ignore certain fonts,

   (setq face-ignored-fonts '("Latin Modern Math"))

Hope it helps,
Rasmus

--
When in doubt, do it!




Re: [O] ox-tufte-latex

2016-02-02 Thread Lawrence Bottorff
I found this ,
but I'm not getting it to work. I assume it's outdated? Will wait for this
new effort of yours, Mr. Dye. this

works
as straight latex on my system, so I know tufte-latex is good to go. Thanks
for the effort.

LB

On Wed, Feb 3, 2016 at 1:35 AM, Thomas S. Dye  wrote:

> Aloha Rasmus,
>
> You've got it exactly right.  I read through ox-latex.el, found the
> functions I wanted to change, copied them to ox-tufte-latex.el and added
> a few lines of code here and there (using babel and noweb chunks).
>
> It would indeed be easy to modify ox-latex.el so it supports the
> non-standard commands of the Tufte LaTeX package.  I can send patches to
> that effect, if you like.  Ox-latex would need to recognize a few new
> LaTeX attributes and export marginfigure, marginnote, and sidenote
> commands.  I hijacked footnote for sidenote, so this would probably need
> some work to recognize when one or the other was needed.
>
> The reason I originally decided not to suggest patches to ox-latex.el
> is that the Tufte LaTeX package is a bit cranky and I was unsure of its
> future. I thought it might be better to leave ox-latex to the more
> stable and mature LaTeX packages.  I hadn't thought about backporting,
> etc.
>
> hth,
> Tom
>
>
> Rasmus  writes:
>
> > Mojn Tom,
> >
> > I'm pretty invested in KOMA-Script but this is a great as a lot of
> > people really appreciate the Tufte package.
> >
> > Thomas S. Dye  writes:
> >
> >> I've cobbled together an exporter for the Tufte LaTeX classes,
> >> which I'd like to contribute to Org mode contrib/.
> >
> > My initial beef with your code it that it seems, from skimming the
> > code, to replicate a lot of functions from ox-latex.  This means
> > that when ox-latex.el updates, we might have to backport the
> > changes into ox-tufte-latex.  It’s already some work keeping
> > ox-beamer and ox-latex up to date (e.g. I added a some feature to
> > ox-latex and only realized much later that I hadn’t added it to
> > ox-beamer).
> >
> > E.g. org-tufte-latex--inline-image is very much alike
> > org-latex--inline-image.
> >
> > I don’t know to what extend it would be possible to minimize
> > replication.  Perhaps you already did this and perhaps my comments
> > are merely following from the fact that I did not study your patch
> > appropriately (I’m traveling ATM).
> >
> > Another question is, what features would we need to make more
> > flexible in ox-latex in order to obsolete your class or reduce it
> > to an element in org-latex-classes?  Is there some areas where
> > it’s lacking for the purpose of "tufing" ox-latex output?
> >
> > In any I’m very happy that you are working on this.  I hope the
> > above is not discouraging; that’s at least not what it’s meant to
> > be.
> >
> > Thanks,
> > Rasmus
>
>
> --
> Thomas S. Dye
> http://www.tsdye.com
>
>


[O] Stackoverflow in regexp matcher

2016-02-02 Thread Loris Bennett
Hi,

On refreshing the #+TAGS via 'C-c C-c' I'm am getting the following error

Stackoverflow in regexp matcher

I have tried bisecting the file, but the problem does not seem to be
caused by a specific part.  Instead it just seems to occur at a fairly
random point once the file becomes long enough.

The file is a beamer presentation with 1375 lines.  If I add

* 0123456789

to the end of the file (or insert it at some other point), I can still
refresh.  If I add

* 0123456789
0

I get "Stackoverflow in regexp matcher".

Does anyone have any ideas how to proceed here?

Cheers,

Loris

-- 
This signature is currently under construction.