Re: [O] Fontification error

2017-02-16 Thread Thomas S. Dye
Aloha Sébastien,

Sébastien Le Maguer writes:

> Hello,
>
> I do have the same problem but I think it might be more a theme issues than 
> an org-mode one. I try to find a minimal example but @Thomas, are you using a 
> specific theme ?

I forgot to answer your question.  I have reproduced the problem with
alect-themes and zenburn-theme, so I don't think it is triggered by a
specific theme.

All the best,
Tom

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



[O] Editing the taskreport plan width value in taskjuggler taskreport output

2017-02-16 Thread Rob Stewart
Hi,

The contents of the exported TaskJuggler .tjp file includes:

# A traditional Gantt chart with a project overview.
taskreport plan "" {
  headline "Project Plan"
  columns bsi, name, start, end, effort, chart
  loadunit shortauto
  hideresource 1
}

This renders HTML with a fairly narrow Gannt chart on wide screens.

To widen the rendered Gannt chart, I modify the .tjp file manually using {
width 1000 }, i.e.:

  columns bsi, name, start, end, effort, chart { width 1000 }

Is there a way to set an option at the top of my org file, to manipulate
the "columns... " line in the taskreport { .. } ?

Thanks,

--
Rob


Re: [O] Why is Org PDF LaTeX Output not readonly?

2017-02-16 Thread Eric S Fraga
On Thursday, 16 Feb 2017 at 14:48, Nick Dokos wrote:

[...]

> I don't understand this: why is it easier if the buffer is read-only?
> Don't you still have to do M-x kill-buffer?

IIUC, it's not so much read-only as a special mode where a single 'q'
will bury the buffer (or delete it, maybe).  Sort of like docview or
what read-only views give.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8


signature.asc
Description: PGP signature


Re: [O] latex preview table environment

2017-02-16 Thread Jeremie Juste
Hello,

Thanks for replying

> For me, the preview shows both tables. My org-preview-latex-default-process
> is set to imagemagick.

my org-preview-latex-default-process variable is set to imagemagick as
well.

Interesting..., I wonder why the tabular would work but not the table
environment







Re: [O] latex preview table environment

2017-02-16 Thread Nick Dokos
Jeremie Juste  writes:

> Hello,
>
> I would like to preview easily latex table environment. I noticed that
> org-toggle-latex-fragment shows the latex-preview for the tabular
> environment but not for the table environment.
>

For me, the preview shows both tables. My org-preview-latex-default-process
is set to imagemagick.

>
> \begin{center}
>   
>   \begin{tabular}{ l | c | r }
>   
> \hline
>   
> 1 & 2 & 3 \\ \hline 
> 4 & 5 & 6 \\ \hline 
> 7 & 8 & 9 \\  
>   
> \hline
>   
>   \end{tabular}   
>   
> \end{center} 
>
>
>
> \begin{table}
> \begin{center}
>   
>   \begin{tabular}{ l | c | r }
>   
> \hline
>   
> 1 & 2 & 3 \\ \hline 
> 4 & 5 & 6 \\ \hline 
> 7 & 8 & 9 \\  
>   
> \hline
>   
>   \end{tabular}   
>   
> \end{center} 
> \end{table} 
>

-- 
Nick




Re: [O] modify/edit a org-time-stamp

2017-02-16 Thread Eric S Fraga
On Thursday, 16 Feb 2017 at 15:42, Uwe Brauer wrote:
> I found out that  org-toggle-time-stamp-overlays is a very good
> solution, I toggle the overlay off, edit and toggle it on.

Ah, of course org would have such a solution.  I didn't even think that
would be possible.  Sigh.

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8


signature.asc
Description: PGP signature


Re: [O] exclude_tags stoppped working at 9.0.5 release?

2017-02-16 Thread Nick Dokos
Nick Dokos  writes:

> Leslie Watter  writes:
>
>
>> ** First Section
>>
>> At 1st 
>>
>> ***                                                               :professor:
>> This should not appear on t.pdf
>> ---
>>
> You might try running org-lint.

Actually, I don't think org-lint detects empty headlines.

-- 
Nick




Re: [O] Fontification error

2017-02-16 Thread Thomas S. Dye

Aloha Sébastien,

Sébastien Le Maguer writes:

> Hello,
>
> I do have the same problem but I think it might be more a theme issues than 
> an org-mode one. I try to find a minimal example but @Thomas, are you using a 
> specific theme ?
>
> Kind regards,
> Sébastien
> On Mon, Feb 13 2017 (18:21), Nicolas Goaziou  wrote:
>
>> Hello,
>>
>> "Thomas S. Dye"  writes:
>>
>>> I get fontification error messages when loading Org mode files since
>>> upgrading this morning.
>>>
>>> org-mode fontification error in # at 685
>>>
>>> Org mode version 9.0.5 (9.0.5-elpaplus @
>>> /Users/dk/.emacs.d/elpa/org-plus-contrib-20170210/)
>>>
>>> Let me know if you have questions.
>>
>> I cannot reproduce it. Could you provide an ECM?
>>
>> Regards,

The problem here has to do with org-src-fontify-natively. If I set that
nil, then the fontification errors go away.

There is no problem with emacs -Q, so I'm guessing another package is
causing the problem.  I don't have an ECM yet.  I'm using spacemacs,
which loads many packages, so tracking down the problem is likely to be
difficult.

All the best,
Tom

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



[O] latex preview table environment

2017-02-16 Thread Jeremie Juste

Hello,

I would like to preview easily latex table environment. I noticed that
org-toggle-latex-fragment shows the latex-preview for the tabular
environment but not for the table environment.

Would it be possible to find a to do that?
I tried to tweak org-latex-options in the following way in the hope
that the org-format latex would use only the tabular environment but it
did not work as expected. 

 (setq org-format-latex-options '(:foreground default :background default 
:scale 1.4 :html-foreground "Black" :html-background "Transparent" :html-scale 
1.0 :matchers ("begin{.*[^table]}" "end{.*[^le]}" "$1" "$" "$$" "\\(" "\\[")))


Do you have any suggestions?

Best wishes,
Jeremie


\begin{center}  

  \begin{tabular}{ l | c | r }  

\hline  

1 & 2 & 3 \\ \hline 
4 & 5 & 6 \\ \hline 
7 & 8 & 9 \\

\hline  

  \end{tabular} 

\end{center} 



\begin{table}
\begin{center}  

  \begin{tabular}{ l | c | r }  

\hline  

1 & 2 & 3 \\ \hline 
4 & 5 & 6 \\ \hline 
7 & 8 & 9 \\

\hline  

  \end{tabular} 

\end{center} 
\end{table} 






Re: [O] exclude_tags stoppped working at 9.0.5 release?

2017-02-16 Thread Nick Dokos
Leslie Watter  writes:


> ** First Section
>
> At 1st 
>
> ***                                                               :professor:
> This should not appear on t.pdf
> ---
>
You might try running org-lint. I believe that empty headlines are
illegal. In particular, this works:

--8<---cut here---start->8---
** First Section

At 1st

*** professorial exclusion  
   :professor:
This should not appear on t.pdf
--8<---cut here---end--->8---

-- 
Nick




[O] exclude_tags stoppped working at 9.0.5 release?

2017-02-16 Thread Leslie Watter
Hi Folks,

Sorry if it is a duplicate, I've sent this a few days ago and didn't see it
appear on the list.

I've been dealing with an issue here. Does the '#+EXCLUDE_TAGS' still works
on release 9.0.5 ?

I used the following org-mode file to test the export to latex, only the
subtree.

t.org
* exclude tags test
:PROPERTIES:
:EXPORT_FILE_NAME: t.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:

#+TAGS: alunos professor
#+EXCLUDE_TAGS: professor

** First Section

At 1st

***
:professor:
This should not appear on t.pdf
---

And it's not working: (

I've searched logs, changelog but no mention to removal of these feature.

What I've done? Point cursor on the :PROPERTIES: line and export only the
subtree to latex and open it  =>  C-c C-e C-s lo

Any hint? Any help is welcome.

Cheers,

LEslie




-- 
Leslie H. Watter


Re: [O] Fontification error

2017-02-16 Thread Sébastien Le Maguer
Hello,

I do have the same problem but I think it might be more a theme issues than an 
org-mode one. I try to find a minimal example but @Thomas, are you using a 
specific theme ?

Kind regards,
Sébastien
On Mon, Feb 13 2017 (18:21), Nicolas Goaziou  wrote:

> Hello,
>
> "Thomas S. Dye"  writes:
>
>> I get fontification error messages when loading Org mode files since
>> upgrading this morning.
>>
>> org-mode fontification error in # at 685
>>
>> Org mode version 9.0.5 (9.0.5-elpaplus @
>> /Users/dk/.emacs.d/elpa/org-plus-contrib-20170210/)
>>
>> Let me know if you have questions.
>
> I cannot reproduce it. Could you provide an ECM?
>
> Regards,


--
Dr. Sébastien Le Maguer
Postdoctorate researcher

Saarland University
Campus C7.4 - room 2.03
D-66123 Saarbrücken
Germany

phone : +49-681-302-70030
Mail: slemag...@coli.uni-saarland.de
website :  http://www.coli.uni-saarland.de/~slemaguer/



[O] exclude_tags stoppped working at 9.0.5 release?

2017-02-16 Thread Leslie Watter
Hi Folks,

Sorry if it is a duplicate, I've sent this a few days ago and didn't see it
appear on the list.

I've been dealing with an issue here. Does the '#+EXCLUDE_TAGS' still works
on release 9.0.5 ?

I used the following org-mode file to test the export to latex, only the
subtree.

t.org
* exclude tags test
:PROPERTIES:
:EXPORT_FILE_NAME: t.pdf
:EXPORT_OPTIONS: toc:nil tags:nil <:nil ^:nil
:EXPORT_AUTHOR:
:EXPORT_DATE:
:END:

#+TAGS: alunos professor
#+EXCLUDE_TAGS: professor

** First Section

At 1st

***
:professor:
This should not appear on t.pdf
---

And it's not working: (

I've searched logs, changelog but no mention to removal of these feature.

What I've done? Point cursor on the :PROPERTIES: line and export only the
subtree to latex and open it  =>  C-c C-e C-s lo

Any hint? Any help is welcome.

Cheers,

LEslie


-- 
Leslie H. Watter

-- 
Leslie H. Watter


Re: [O] org-annotate/collaboration?

2017-02-16 Thread Uwe Brauer

   > Uwe Brauer  writes:

   > I think I could easily convince people to use an online system, or one
   > that works in Markdown (which would be nice). The killer is the history
   > tracking: everyone's used to Track Changes, and it would take a real
   > revolution to dislodge them from that.


Another idea would be to use https://www.authorea.com/ which uses latex.
I had a look it was not for me, but it allows via a git plugin to use an
external editor and to push and to pull. I have not looked into its
track change functionality but may be it is worth a try.


   > Even I, the supposedly technical one, screw up git regularly.

Interesting, I chose mercurial and never had a problem. When I had a
look at authorea I thought about switching from RCS to git but found it
to difficult for, mercurial was much easier and has a git plugin which
works nicely.
Mercurial also as an annotate functionality (supported by emacs) which
is nice and comes close to a change track (but of course it is linewise
not wordwise).

Uwe 




Re: [O] Org-capture fails in Org 9.05

2017-02-16 Thread Jay Iyer
Thank you for pointing out the error source.  Capture is functional now.
-jay

On Wed, Feb 15, 2017 at 11:23 PM, Nicolas Goaziou 
wrote:

> Hello,
>
> Jay Iyer  writes:
>
>
> > new Mac and encountered an error that prevents org-capture to complete
> the
> > refiling step.  I have attached a backtrace here for your review.
> > Please let me know if this is an installation error of some kind and how
> I
> > can fix it.
> >
> > ps: highly satisfied Org-moder for 4+ years now, haven't touched any
> other
> > organizer all that time!
> > Debugger entered--Lisp error: (void-function org-inhibit-invisibility)
>
> This function doesn't exist in the Org code base.
>
> >   (org-inhibit-invisibility)
>
> [...]
>
> >   wicked/org-update-checkbox-count(nil)
>
> You might want to look into this extension.
>
> Regards,
>
> --
> Nicolas Goaziou
>


Re: [O] modify/edit a org-time-stamp

2017-02-16 Thread Uwe Brauer

   > Uwe Brauer  writes:

   > If I had known about custom time formats, maybe I *would* have pointed
   > that out to you ;-), but I didn't (I've never used them): it was Bingo
   >  who divined the cause of your problem.

Right. I hit the reply message on the wrong message, sorry Bingo and
thanks again.




[O] ob-async

2017-02-16 Thread Ken Mankoff
An RSS feed I follow mentioned ob-async here:
https://github.com/astahlman/ob-async

I haven't seen it mentioned on the list yet. Perhaps others would be
interested in asynchronous Babel processing. I've seen the feature
requested often on this list.

  -k.


Re: [O] Why is Org PDF LaTeX Output not readonly?

2017-02-16 Thread Florian Lindner
Am 16.02.2017 um 14:47 schrieb Eric S Fraga:
> On Thursday, 16 Feb 2017 at 08:33, Florian Lindner wrote:
>> It would be much easier to close it quickly this way and it would be
>> consistent with other buffers that serve the same
>> purpose, like the beforementioned Auctex output buffer.
> 
> It would indeed be easier.  The buffer is created in org-latex-compile
> and I guess it would be the case of setting the mode for the buffer?
> Beyond my level of elisp expertise however.

There is with-output-to-temp-buffer with redirects the output to a temp buffer 
that behaves like a help window and shows
that buffer Using this function however makes only sense, when org mode 
defaults to displaying the latex output in case
something goes wrong. Which, imo would be as sensible default too.

Changing that is also way beyond my elisp knowlege.

Best,
Florian





[O] org-revert-all-org-buffers always prompts

2017-02-16 Thread Alan Schmitt
Hello,

I use `org-revert-all-org-buffers` in the recommended way (after calling
`org-save-all-org-buffers`), so I would expect that I would not be asked
confirmation as no org buffer is unsaved, as is said in the function
description:
"Prompt for confirmation when there are unsaved changes."

Unfortunately the code does not do this:

  (unless (yes-or-no-p "Revert all Org buffers from their files? ")
(user-error "Abort"))

i.e., there is no check for unsaved changes, and so I have a prompt in
the middle of some code, interrupting my function.

Is there a way to disable the prompt?

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2017-01: 406.13, 2016-01: 402.52


signature.asc
Description: PGP signature


Re: [O] modify/edit a org-time-stamp

2017-02-16 Thread Uwe Brauer
>>> "Eric" == Eric S Fraga  writes:

   > On Thursday, 16 Feb 2017 at 11:18, Uwe Brauer wrote:
   >> Thanks very much for pointing this out to me.  This is precisely my
   >> situation. I see what I can do, maybe I turn customization off.

   > I ended up turning customisation of timestamp presentation off as it was
   > just too annoying for just this reason.  Pity but understandable as the
   > customisations allowed are too general to provide a consistent interface
   > for adjustments, I would guess.

I found out that  org-toggle-time-stamp-overlays is a very good
solution, I toggle the overlay off, edit and toggle it on.





Re: [O] modify/edit a org-time-stamp

2017-02-16 Thread Nick Dokos
Uwe Brauer  writes:

>> On February 15, 2017 4:06:03 AM GMT+05:30, Nick Dokos  
> wrote:
>
>> If custom time format is specified, the time field is not editable in
>> the usual ways like S-up, S-down, or text editing. See if symptoms are
>> like http://orgmode.org/org.html#Custom-time-format.
>
> Thanks very much for pointing this out to me.  This is precisely my
> situation. I see what I can do, maybe I turn customization off.
>

If I had known about custom time formats, maybe I *would* have pointed
that out to you ;-), but I didn't (I've never used them): it was Bingo
 who divined the cause of your problem.

-- 
Nick




Re: [O] Why is Org PDF LaTeX Output not readonly?

2017-02-16 Thread Nick Dokos
Florian Lindner  writes:

> Am 15.02.2017 um 17:37 schrieb Eric S Fraga:
>> On Wednesday, 15 Feb 2017 at 16:07, Florian Lindner wrote:
>>> The exported PDF opens in okular (xdg-open) and I'm perfectly happy with 
>>> it. I think we're talking about different
>>> things. I mean the buffer that contains the output of the latex command and 
>>> potential error message, looking like:
>> 
>> Oh, sorry, I misunderstood.  Well, as Nick says, does it really matter
>> as editing it won't affect anything?
>> 
>> Funnily enough, I never see this buffer unless I go looking for
>> it.  Maybe there's an org setting that causes this buffer to be
>> displayed or not?  I cannot see one.
>
> It would be much easier to close it quickly this way

I don't understand this: why is it easier if the buffer is read-only?
Don't you still have to do M-x kill-buffer?

> and it would be consistent with other buffers that serve the same
> purpose, like the beforementioned Auctex output buffer.
>
> For me, it would just the right thing.
>

OK - that I can understand.

-- 
Nick




Re: [O] Why is Org PDF LaTeX Output not readonly?

2017-02-16 Thread Eric S Fraga
On Thursday, 16 Feb 2017 at 08:33, Florian Lindner wrote:
> It would be much easier to close it quickly this way and it would be
> consistent with other buffers that serve the same
> purpose, like the beforementioned Auctex output buffer.

It would indeed be easier.  The buffer is created in org-latex-compile
and I guess it would be the case of setting the mode for the buffer?
Beyond my level of elisp expertise however.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8


signature.asc
Description: PGP signature


Re: [O] modify/edit a org-time-stamp

2017-02-16 Thread Eric S Fraga
On Thursday, 16 Feb 2017 at 11:18, Uwe Brauer wrote:
> Thanks very much for pointing this out to me.  This is precisely my
> situation. I see what I can do, maybe I turn customization off.

I ended up turning customisation of timestamp presentation off as it was
just too annoying for just this reason.  Pity but understandable as the
customisations allowed are too general to provide a consistent interface
for adjustments, I would guess.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8


signature.asc
Description: PGP signature


Re: [O] modify/edit a org-time-stamp

2017-02-16 Thread Uwe Brauer

   > On February 15, 2017 4:06:03 AM GMT+05:30, Nick Dokos  
wrote:

   > If custom time format is specified, the time field is not editable in
   > the usual ways like S-up, S-down, or text editing. See if symptoms are
   > like http://orgmode.org/org.html#Custom-time-format.

Thanks very much for pointing this out to me.  This is precisely my
situation. I see what I can do, maybe I turn customization off.

Uwe 





Re: [O] Why is Org PDF LaTeX Output not readonly?

2017-02-16 Thread Florian Lindner
Am 15.02.2017 um 17:37 schrieb Eric S Fraga:
> On Wednesday, 15 Feb 2017 at 16:07, Florian Lindner wrote:
>> The exported PDF opens in okular (xdg-open) and I'm perfectly happy with it. 
>> I think we're talking about different
>> things. I mean the buffer that contains the output of the latex command and 
>> potential error message, looking like:
> 
> Oh, sorry, I misunderstood.  Well, as Nick says, does it really matter
> as editing it won't affect anything?
> 
> Funnily enough, I never see this buffer unless I go looking for
> it.  Maybe there's an org setting that causes this buffer to be
> displayed or not?  I cannot see one.

It would be much easier to close it quickly this way and it would be consistent 
with other buffers that serve the same
purpose, like the beforementioned Auctex output buffer.

For me, it would just the right thing.

Florian