Re: [O] table alignment with org-pretty-entities turned on

2016-09-05 Thread Nicolas Goaziou
Hello,

jsj  writes:

> To make it clear, the behavior I reported can be reproduced with a clean init 
> file with just org loaded.
>
> I put the table
>
> | a  | b | c |
> |+---+---|
> | \alpha |   |   |
>
> in an org file, toggle pretty entities by C-c C-x \, then C-c C-c to realign 
> the table. The result I get is
>
> | a  | b | c |
> |+---+---|
> | α |   |   |
>
>
> If I try the same thing for 
>
> | a| b | c |
> |--+---+---|
> | \alpha \beta |   |   |
>
> I get
>
> | a | b | c |
> |---+---+---|
> | α β |   |   |
>
> Is it just me or you can reproduce the same behavior?

I cannot reproduce it.

However, I fixed an alignment bug in tables recently. Does updating Org
solve your issue?

Regards,

-- 
Nicolas Goaziou



Re: [O] mailing list search given problems with gmane?

2016-09-05 Thread Eric S Fraga
On Tuesday,  6 Sep 2016 at 01:48, Grant Rettke wrote:
> On Mon, Sep 5, 2016 at 10:50 AM, Eric S Fraga  wrote:
>> do we have any alternative means to search the mailing list given the
>> current problems with gmane?
>
> https://lists.gnu.org/archive/html/emacs-orgmode/

Thanks!
I would be lost without access to the mailing list. 
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.5-1070-g190476



[O] Restrict include to some backend

2016-09-05 Thread Fabrice Popineau
Hi,

Maybe there is an obvious answer but I wonder how to restrict
including a file to some backend. The following doesn't work:

#+begin_export latex
#+include foo.py src python
#+end_export

(Not that I expected it to actually work, but it shows the goal)
Any idea ? Thanks for your help.

Fabrice


Re: [O] mailing list search given problems with gmane?

2016-09-05 Thread Grant Rettke
On Mon, Sep 5, 2016 at 10:50 AM, Eric S Fraga  wrote:
> do we have any alternative means to search the mailing list given the
> current problems with gmane?

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



[O] undo undoes too much

2016-09-05 Thread Samuel Wales
recent maint.

in agenda i add a tag to a task, then doneify it.

i go to the outline.  i do undo-tree-undo.

both the adding of the tag and the logbook entry get undone.

i expected that only the logbook entry would get undone.



[O] mailing list search given problems with gmane?

2016-09-05 Thread Eric S Fraga
Dear all,

do we have any alternative means to search the mailing list given the
current problems with gmane?

Thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.5-1070-g190476



Re: [O] There is no line to end here at LaTeX org-ref export

2016-09-05 Thread John Kitchin
that does explain why I couldn't reproduce what you see. I have
org-export-preserve-breaks set to nil. I didn't even know about that
one! Glad to hear you figured it out.


Florian Lindner writes:

> Am 02.09.2016 um 15:12 schrieb Eric S Fraga:
>> Can you post an actual org test file as an attachment?  And also the
>> resulting LaTeX file on export?
>
> Hey,
>
> sorry for the late reply. I tried to reproduce the problem firstly using 
> emacs -Q but it worked like that.
>
> After some bisect debugging I found out that setting
>
> (setq org-latex-pdf-process '("latexmk -f -pdf %f"))
>
> triggered the error.
>
> But the usual latex process also causes the error, but gives the error message
>
> Processing LaTeX file ./test2.tex...
> PDF file produced with errors.
>
> and continues. You have no errors using that snippet? Can you compile ther 
> resulting tex file using auctex or the
> latexmk command above? And why does latexmk -f does not continue despite the 
> error? That's what the -f option should do?
> I want to use latexmk to include also bibtex generation.
>
> Ok, after some debugging and bisecting my .emacs, org-export-preserve-breaks 
> t seems to cause the faulty export.
>
> Best,
> Florian


-- 
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



Re: [O] There is no line to end here at LaTeX org-ref export

2016-09-05 Thread Florian Lindner
Am 02.09.2016 um 15:12 schrieb Eric S Fraga:
> Can you post an actual org test file as an attachment?  And also the
> resulting LaTeX file on export?

Hey,

sorry for the late reply. I tried to reproduce the problem firstly using emacs 
-Q but it worked like that.

After some bisect debugging I found out that setting

(setq org-latex-pdf-process '("latexmk -f -pdf %f"))

triggered the error.

But the usual latex process also causes the error, but gives the error message

Processing LaTeX file ./test2.tex...
PDF file produced with errors.

and continues. You have no errors using that snippet? Can you compile ther 
resulting tex file using auctex or the
latexmk command above? And why does latexmk -f does not continue despite the 
error? That's what the -f option should do?
I want to use latexmk to include also bibtex generation.

Ok, after some debugging and bisecting my .emacs, org-export-preserve-breaks t 
seems to cause the faulty export.

Best,
Florian









Re: [O] Can't store link in mu4e

2016-09-05 Thread Brett Presnell

Nicolas Goaziou  writes:

> Brett Presnell  writes:
>
>> I'll report this to the mu developer in case he isn't already aware of
>> the upcoming change in org mode.  I wonder if org-mu4e.el wouldn't be
>> better maintained as a part of org (like org-gnus.el and org-mew.el)
>> rather than as a part of mu4e.
>
> "org-new.el" is not part of Org, but belongs to third-party "contrib/"
> directory.
> 
> Besides, mu4e, AFAIK, is not part part of Emacs.

Yes, I realized before I contacted the mu developer that I should have
said "as part of contrib", like org-mew.el, org-notmuch.el, org-vm.el,
and org-wl.el (and unlike org-gnus.el, org-mhe.el, and org-rmail.el,
which correspond to email clients distributed with emacs).  I suppose
that the contrib stuff wouldn't be installed in a standard installation
of org, but I thought that it might give the mu developer a way to
attach org-mu4e.el to the relevant version of org.  Maybe this is a bad
idea, but he already includes org-mu4e.el and org-old-mu4e.el, and now
he's going to need to add another I guess, which seems suboptimal.

> It may make sense to distribute it through GNU Elpa instead of packaging
> it with mu4e itself, tho.

That's a thought.

Irrelevant aside: It's remarkable to me how important emacs has been to
my life.  For example, since 1990 I have used, in order, rmail, mhe, vm,
gnus, and now mu4e, each for at least several years before switching to
the next.  I probably used gnus the longest (I had also used it in the
1980s and early 1990s to read usenet), and I only switched to mu4e
because: (1) my work email was moved to MS Exchange whose IMAP server
was practically unusable with gnus's IMAP implementation; and (2) my
work responsibilities changed so that I needed to be able to search
quickly through a ton of email, which mu is very good at.  The changed
work responsibilities also forced me to finally get more serious about
org, and creating links to email messages and using org-capture to
create TODOs that link back to email messages is an important part of
that.

Maybe this is a good time to thank everyone who has contributed to org
mode.  While I'll admit to some occassional frustrations, it's a great
tool and I don't know what I would have done without it over the past
few years.  Thanks for making it.



Re: [O] [PATCH] org-mime supports emacs24

2016-09-05 Thread Nicolas Goaziou
Hello,

chen bin  writes:

> I agree with you, maybe pointing to project is the better solution.

There is an "org-mime" on Marmelade already. It doesn't seem to be your
project, tho. It could be useful to add yours to any ELPA and have the
previous one removed so as to avoid confusion.

I'll remove org-mime.el from contrib as soon as yours is readily
available, if no one objects.

Regards,

-- 
Nicolas Goaziou



Re: [O] Can't store link in mu4e

2016-09-05 Thread Nicolas Goaziou
Hello,

Brett Presnell  writes:


> I'll report this to the mu developer in case he isn't already aware of
> the upcoming change in org mode.  I wonder if org-mu4e.el wouldn't be
> better maintained as a part of org (like org-gnus.el and org-mew.el)
> rather than as a part of mu4e.

"org-new.el" is not part of Org, but belongs to third-party "contrib/"
directory.

Besides, mu4e, AFAIK, is not part part of Emacs.

It may make sense to distribute it through GNU Elpa instead of packaging
it with mu4e itself, tho.


Regards,

-- 
Nicolas Goaziou



Re: [O] table/calc: subscr() fails with date

2016-09-05 Thread Karl Voit
* Nicolas Goaziou  wrote:
> Hello,

Hello Nicolas,

> Karl Voit  writes:
>
>> I've found a bug when using subscr() to get the value of the previous
>> row. With the following date values, it fails and I don't have an idea
>> why:
>>
>> | date   | previous date  |
>> |+|
>> | [2015-08-21 Fri 16.57] ||
>
> There is a typo above.

Dammit!

I swear I thought of a typo by myself and I overlooked it a couple
of times. Embarrassing :-|

> The fact that inactive time stamps are turned into active ones is
> because Calc only handles the latter. So all inactive time stamps are
> turned into active ones prior to evaluation.

Thanks for clarifying this one as well. I thought so but it's better
to get it acknowledged by a pro ;-)

-- 
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] org-publish-after-publishing-hook

2016-09-05 Thread Michael Welle
Hello,

I found the problem. The publishing function must return the file name,
which it should do... except there was a bug in it. I used something
like (fboundp 'foo) as a condition and foo is a variable. I wonder how
that ever did something useful...

Sorry for the noise
hmw



[O] org-publish-after-publishing-hook

2016-09-05 Thread Michael Welle
Hello,

I have a hook like follows:

(defun foo (in out)
  (message "o-p-a-p-h in: '%s' out: '%s'" in out))

(add-hook 'org-publish-after-publishing-hook 'foo)


Now I publish a project that is defined in org-publish-project-alist
as follows:

("web-static"
 :base-directory "~/work/ORG/web"
 :publishing-directory "~/public_html/webtest1"
 :base-extension "css\\|gif"
 :recursive t
 :publishing-function org-publish-attachment
 )

The hook triggers and foo is called with two parameters, as expected.


Now a different project:

("bbdbv3"
 :base-directory "~/work/doc/bbdbv3"
 :base-extension "org"
 :publishing-directory "~/public_html/webtest1/bbdbv3"
 :recursive nil
 :publishing-function hmw/org-publish-project
 :headline-levels 4
 :auto-preamble nil
 :auto-sitemap nil
 :html-preamble nil
 :html-postamble nil
 :html-head-include-scripts nil
 :html-head-include-default-style nil
 :html-head ""
 )

This time foo is called with the out parameter set to nil. That
behaviour changed between April and now I think. Any hints?

Regards
hmw