Re: [O] Error during org-export

2017-10-29 Thread Gian-Maria Daffré
On Sat, 2017-10-28 at 20:27 +0100, Eric S Fraga wrote:
> On Saturday, 28 Oct 2017 at 16:58, Gian-Maria Daffré wrote:
> 
> [...]
> 
> > If it helps, some additional information:
> > 
> > 
> > Emacs  : GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version
> > 3.22.11)
> >  of 2017-09-15, modified by Debian
> > Package: Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @
> > /home/giammi/.emacs.d/elpa/org-20171023/)
> 
> The point I was trying to make is that for Emacs to find that version
> of
> org (version 9.1.2 from elpa), you must have some initialisation,
> e.g. (package-initialize) or equivalent.  If your .emacs is empty,
> how
> does Emacs find this version of org?  I don't think Emacs 25.1.1
> comes
> with org 9.1.2.  Does it?  What does "M-x org-version RET" give if
> you
> do this with emacs -Q?
> 
> Also, maybe see what is in the directory ~/.emacs.d/ ?

This helped a lot...

emacs -Q
Org-mode version 8.2.10 (release_8.2.10 @
/usr/share/emacs/25.1/lisp/org/)

emacs gives me
Org mode version 9.1.2 (9.1.2-22-ga2a034-elpa @
/home/giammi/.emacs.d/elpa/org-20171023/)

I deinstalled all org packages and installed again.

It seems that installing org-evil and org-caldav installed also version
9.1.2 of org-mode as a (maybe) dependency. Don't know...

If I have these 2 packages removed again (plus the dependency org-mode
9.1.2), then emacs gives me version 8.2.10 and everything works
perfect.

Just as further information. I had org-evil and org-caldav installed
for more than a year - never had this issue.

Thanks very much for your help.

Best,
Giammi

 




Re: [O] table align error

2017-10-29 Thread Nicolas Goaziou
Hello,

thomas  writes:

> OK, I found it - orgmode 9.1 seems to be incompatible with emacs 24.3.
> Switched to 25, that fixed it.

The change you are referring to belong to Org 9.2, not Org 9.1.

Org mode 9.2 is supposed to be compatible with Emacs 24.3, so I fixed
this issue.

Regards,

-- 
Nicolas Goaziou



Re: [O] table align error

2017-10-29 Thread thomas

Hi Nicolas,

thank you for the clarification!

- thomas


On 29.10.2017 09:17, Nicolas Goaziou wrote:

Hello,

thomas  writes:


OK, I found it - orgmode 9.1 seems to be incompatible with emacs 24.3.
Switched to 25, that fixed it.

The change you are referring to belong to Org 9.2, not Org 9.1.

Org mode 9.2 is supposed to be compatible with Emacs 24.3, so I fixed
this issue.

Regards,






Re: [O] asymmetry between org-backward-sentence and org-forward-sentence around headings

2017-10-29 Thread Mat Vibrys
Nicolas,
works correct now.

Thank You for the fix,
Mat

On Sun, Oct 8, 2017 at 10:37 AM, Nicolas Goaziou 
wrote:

> Hello,
>
> Mat Vibrys  writes:
>
> > Sorry,
> > my example contents does not seem to be proper. Dots are missing after
> all
> > the bodyX. correct one looks like following:
> >
> > * head1
> >
> >   body1.
> >
> > * head2
> >
> >   body2.
> >
> > * head3
> >
> >   body3.
> >
> > calling `org-forward-sentence' from  goes to , while it
> should
> > to to somewhere after head2 and before body2. Calling
> > `org-backward-sentence' from  goes before body2 and after head2,
> > which is correct.
>
> Fixed. Thank you.
>
> Regards,
>
> --
> Nicolas Goaziou
>


Re: [O] Error during org-export

2017-10-29 Thread Eric S Fraga
On Sunday, 29 Oct 2017 at 08:57, Gian-Maria Daffré wrote:

[...]

> This helped a lot...

Glad I could help.  However, your original problem still remains.  You
should be able to export using the latest version of org
(i.e. 9.1.2).  It would seem that your configuration is making reference
to the default version of org *before* you ask for the new version.

I find that you need to have your package-initialize as the first thing
in your .emacs to ensure that the new version of org takes
precedence.  Have you tried doing this with v9.1.2 installed?

-- 
: Eric S Fraga via Emacs 27.0.50, Org release_9.1.2-117-g5b2b8f


signature.asc
Description: PGP signature


Re: [O] Deprecating BBDB 2.x support [in EUDC] for Emacs 26.1

2017-10-29 Thread Roland Winkler
On Sat, Oct 28 2017, Thomas Fitzsimmons wrote:
> For EUDC in the Emacs 26.1 release, I'd like to deprecate backward
> compatibility support for BBDB versions less than 3, and then
> subsequently remove that support, maybe as soon as Emacs 27.1.  Doing so
> would simplify eudcb-bbdb.el and allow it to take advantage of new
> features that Roland has been adding in BBDB 3.x, like UUIDs.

I am cross-posting this to the org-mode mailing list.  If there is more
to be said about the following from the perspective of org-mode, let's
continue the discussion on that list only.

I believe org mode interacts with BBDB, too.  Yet I know little to
nothing about the details.  From the org-mode perspective, is there a
similar issue with BBDB 2 vs. BBDB 3, as mentioned by Thomas about EUDC?

The long-term goal is to make at least the core of BBDB 3 part of GNU
Emacs to provide a more coherent framework for other packages like EUDC
and Org mode, see

https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01888.html

Are there any thoughts about this from the org community?

Here I am thinking also about the code in BBDB: my re-write of BBDB
mostly focused on BBDB "by itself" and its interface with MUAs like
Gnus, Rmail, etc.  Is there anything you would like to see to facilitate
the interaction of BBDB with other packages like Org mode (or EUDC)?

Roland




Re: [O] Bug: Missing agenda files file causes org to fail [9.1.2 (9.1.2-22-ga2a034-elpaplus)]

2017-10-29 Thread Allen Li
On Sat, Oct 28, 2017 at 1:44 AM, Nicolas Goaziou  wrote:
> Hello,
>
> Allen Li  writes:
>
>> If org-agenda-files is set to a file through customize.el and that
>> file is missing, Org will fail to load at all.
>
> I cannot reproduce it. Could you provide the error message and a recipe?

1. emacs -Q
2. Evaluate in *scratch* buffer:

(custom-set-variables
 '(org-agenda-files "~/some-nonexistent-file"))

3. Open up any Org file: C-x f ~/tmp.org

4. Error appears in minibuffer: File mode specification error:
(file-error Opening input file No such file or directory
/home/bob/some-nonexistent-file)

5. Type

* asdf

6. Type M-RET, get error org-heading-components: Wrong type argument:
stringp, nil  This is because org.el was loaded partially (I think).

Other symptoms of partial loading: #+STARTUP does not have a face,
some other commands (but not all) result in errors

>
> Regards,
>
> --
> Nicolas Goaziou



Re: [O] Bug: Missing agenda files file causes org to fail [9.1.2 (9.1.2-22-ga2a034-elpaplus)]

2017-10-29 Thread Nicolas Goaziou
Hello,

Allen Li  writes:

> 1. emacs -Q
> 2. Evaluate in *scratch* buffer:
>
> (custom-set-variables
>  '(org-agenda-files "~/some-nonexistent-file"))
>
> 3. Open up any Org file: C-x f ~/tmp.org
>
> 4. Error appears in minibuffer: File mode specification error:
> (file-error Opening input file No such file or directory
> /home/bob/some-nonexistent-file)
>
> 5. Type
>
> * asdf
>
> 6. Type M-RET, get error org-heading-components: Wrong type argument:
> stringp, nil  This is because org.el was loaded partially (I think).

> Other symptoms of partial loading: #+STARTUP does not have a face,
> some other commands (but not all) result in errors

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou0x80A93738