* bug#23365: 25.0.93; org-mode fails on export with include
@ 2016-04-24 21:41 Phillip Lord
2016-04-26 15:54 ` Kaushal Modi
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: Phillip Lord @ 2016-04-24 21:41 UTC (permalink / raw)
To: 23365
Emacs fails in org-mode when exporting; testing from current head.
The error is reproducible with emacs -q. Create the following two files.
==== main.org
* Section A
#+include: "a.org"
====
==== a.org
** Section of A
Here is some text
====
Now run C-cC-e h h
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
file-exists-p(nil)
org-check-agenda-file(nil)
org-agenda-prepare-buffers((nil))
org-map-entries(#[nil "\300\301 !\207" [org-reduced-level org-current-level] 2])
org-export--prepare-file-contents("/home/phillord/scratch/temp-org/a.org" nil 0 2)
org-export-expand-include-keyword()
org-export-as(html nil nil nil (:output-file "./main.html"))
org-export-to-file(html "./main.html" nil nil nil nil nil)
org-html-export-to-html(nil nil nil nil)
org-export-dispatch(nil)
funcall-interactively(org-export-dispatch nil)
call-interactively(org-export-dispatch nil nil)
command-execute(org-export-dispatch)
The error comes from org-map-entries and is not specific to HTML output;
it happens with LaTeX also.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#23365: 25.0.93; org-mode fails on export with include
2016-04-24 21:41 bug#23365: 25.0.93; org-mode fails on export with include Phillip Lord
@ 2016-04-26 15:54 ` Kaushal Modi
2016-04-26 15:54 ` Kaushal Modi
` (2 subsequent siblings)
3 siblings, 0 replies; 11+ messages in thread
From: Kaushal Modi @ 2016-04-26 15:54 UTC (permalink / raw)
To: 23365, Stefan Monnier
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
This has been fixed in the org-mode git:
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=44c8cd7136e3fcd1e6bfa08895cac437b7a691fa
@Stefan: I am copying you on this as the above commit that fixes this in
org-mode git was related to a backport commit from emacs git:
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=ef9637030456b153fd834f4c9202a9264d5ef18d
So probably the same 44c8cd fix has to be applied to the org.el in
emacs-25/master branches too?
--
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 813 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#23365: 25.0.93; org-mode fails on export with include
2016-04-24 21:41 bug#23365: 25.0.93; org-mode fails on export with include Phillip Lord
2016-04-26 15:54 ` Kaushal Modi
@ 2016-04-26 15:54 ` Kaushal Modi
2016-04-28 21:14 ` Phillip Lord
2016-04-28 21:14 ` Phillip Lord
3 siblings, 0 replies; 11+ messages in thread
From: Kaushal Modi @ 2016-04-26 15:54 UTC (permalink / raw)
To: 23365, Stefan Monnier
[-- Attachment #1: Type: text/plain, Size: 483 bytes --]
This has been fixed in the org-mode git:
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=44c8cd7136e3fcd1e6bfa08895cac437b7a691fa
@Stefan: I am copying you on this as the above commit that fixes this in
org-mode git was related to a backport commit from emacs git:
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=ef9637030456b153fd834f4c9202a9264d5ef18d
So probably the same 44c8cd fix has to be applied to the org.el in
emacs-25/master branches too?
--
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 813 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#23365: 25.0.93; org-mode fails on export with include
2016-04-24 21:41 bug#23365: 25.0.93; org-mode fails on export with include Phillip Lord
2016-04-26 15:54 ` Kaushal Modi
2016-04-26 15:54 ` Kaushal Modi
@ 2016-04-28 21:14 ` Phillip Lord
2016-04-28 21:33 ` bug#23365: [O] " Kaushal Modi
2016-04-28 21:33 ` Kaushal Modi
2016-04-28 21:14 ` Phillip Lord
3 siblings, 2 replies; 11+ messages in thread
From: Phillip Lord @ 2016-04-28 21:14 UTC (permalink / raw)
To: 23365
phillip.lord@russet.org.uk (Phillip Lord) writes:
> Emacs fails in org-mode when exporting; testing from current head.
>
I've checked this a little further -- the current org mode on ELPA does
not fail in the same way -- org-map-entries has changed the call from:
(org-agenda-prepare-buffers
(list (buffer-file-name (current-buffer))))
to:
(org-agenda-prepare-buffers
(and buffer-file-name (list buffer-file-name)))
which fixes the problem.
Is org-mode in core going to be updated before 25.1?
Phil
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#23365: 25.0.93; org-mode fails on export with include
2016-04-24 21:41 bug#23365: 25.0.93; org-mode fails on export with include Phillip Lord
` (2 preceding siblings ...)
2016-04-28 21:14 ` Phillip Lord
@ 2016-04-28 21:14 ` Phillip Lord
3 siblings, 0 replies; 11+ messages in thread
From: Phillip Lord @ 2016-04-28 21:14 UTC (permalink / raw)
To: 23365
phillip.lord@russet.org.uk (Phillip Lord) writes:
> Emacs fails in org-mode when exporting; testing from current head.
>
I've checked this a little further -- the current org mode on ELPA does
not fail in the same way -- org-map-entries has changed the call from:
(org-agenda-prepare-buffers
(list (buffer-file-name (current-buffer))))
to:
(org-agenda-prepare-buffers
(and buffer-file-name (list buffer-file-name)))
which fixes the problem.
Is org-mode in core going to be updated before 25.1?
Phil
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#23365: [O] bug#23365: 25.0.93; org-mode fails on export with include
2016-04-28 21:14 ` Phillip Lord
@ 2016-04-28 21:33 ` Kaushal Modi
2016-04-28 21:33 ` Kaushal Modi
1 sibling, 0 replies; 11+ messages in thread
From: Kaushal Modi @ 2016-04-28 21:33 UTC (permalink / raw)
To: phillip.lord, 23365
[-- Attachment #1: Type: text/plain, Size: 641 bytes --]
On Thu, Apr 28, 2016 at 5:16 PM Phillip Lord <phillip.lord@russet.org.uk>
wrote:
> I've checked this a little further -- the current org mode on ELPA does
> not fail in the same way -- org-map-entries has changed the call from:
>
> (org-agenda-prepare-buffers
> (list (buffer-file-name (current-buffer))))
>
> to:
>
> (org-agenda-prepare-buffers
> (and buffer-file-name (list buffer-file-name)))
>
> which fixes the problem.
>
That's what I said :)
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23365#8
> Is org-mode in core going to be updated before 25.1?
Copying the org-mode ML for this.
--
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 1283 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: bug#23365: 25.0.93; org-mode fails on export with include
2016-04-28 21:14 ` Phillip Lord
2016-04-28 21:33 ` bug#23365: [O] " Kaushal Modi
@ 2016-04-28 21:33 ` Kaushal Modi
2016-04-29 6:51 ` Rasmus
2016-04-29 6:51 ` Rasmus
1 sibling, 2 replies; 11+ messages in thread
From: Kaushal Modi @ 2016-04-28 21:33 UTC (permalink / raw)
To: Phillip Lord, 23365, emacs-org list
[-- Attachment #1: Type: text/plain, Size: 641 bytes --]
On Thu, Apr 28, 2016 at 5:16 PM Phillip Lord <phillip.lord@russet.org.uk>
wrote:
> I've checked this a little further -- the current org mode on ELPA does
> not fail in the same way -- org-map-entries has changed the call from:
>
> (org-agenda-prepare-buffers
> (list (buffer-file-name (current-buffer))))
>
> to:
>
> (org-agenda-prepare-buffers
> (and buffer-file-name (list buffer-file-name)))
>
> which fixes the problem.
>
That's what I said :)
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23365#8
> Is org-mode in core going to be updated before 25.1?
Copying the org-mode ML for this.
--
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 1283 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#23365: 25.0.93; org-mode fails on export with include
2016-04-28 21:33 ` Kaushal Modi
2016-04-29 6:51 ` Rasmus
@ 2016-04-29 6:51 ` Rasmus
1 sibling, 0 replies; 11+ messages in thread
From: Rasmus @ 2016-04-29 6:51 UTC (permalink / raw)
Cc: 23365
The following message is a courtesy copy of an article
that has been posted to gmane.emacs.orgmode as well.
Kaushal Modi <kaushal.modi@gmail.com> writes:
>> Is org-mode in core going to be updated before 25.1?
>
>
> Copying the org-mode ML for this.
AFAIU, by the time we were ready to merge 8.3, upstream preferred to keep
8.2.
My understanding is that the 8.2-series is not really maintained any
longer, and I don’t know that it contains any promises of forward
comparability. I guess "backporting" the required changes to Emacs-core
would be the easiest way forward.
Rasmus
--
This message is brought to you by the department of redundant departments
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: bug#23365: 25.0.93; org-mode fails on export with include
2016-04-28 21:33 ` Kaushal Modi
@ 2016-04-29 6:51 ` Rasmus
2016-04-30 14:11 ` Phillip Lord
2016-04-30 14:11 ` Phillip Lord
2016-04-29 6:51 ` Rasmus
1 sibling, 2 replies; 11+ messages in thread
From: Rasmus @ 2016-04-29 6:51 UTC (permalink / raw)
To: emacs-orgmode; +Cc: 23365
Kaushal Modi <kaushal.modi@gmail.com> writes:
>> Is org-mode in core going to be updated before 25.1?
>
>
> Copying the org-mode ML for this.
AFAIU, by the time we were ready to merge 8.3, upstream preferred to keep
8.2.
My understanding is that the 8.2-series is not really maintained any
longer, and I don’t know that it contains any promises of forward
comparability. I guess "backporting" the required changes to Emacs-core
would be the easiest way forward.
Rasmus
--
This message is brought to you by the department of redundant departments
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#23365: 25.0.93; org-mode fails on export with include
2016-04-29 6:51 ` Rasmus
2016-04-30 14:11 ` Phillip Lord
@ 2016-04-30 14:11 ` Phillip Lord
1 sibling, 0 replies; 11+ messages in thread
From: Phillip Lord @ 2016-04-30 14:11 UTC (permalink / raw)
To: Rasmus; +Cc: 23365
Rasmus <rasmus@gmx.us> writes:
> The following message is a courtesy copy of an article
> that has been posted to gmane.emacs.orgmode as well.
>
> Kaushal Modi <kaushal.modi@gmail.com> writes:
>
>>> Is org-mode in core going to be updated before 25.1?
>>
>>
>> Copying the org-mode ML for this.
>
> AFAIU, by the time we were ready to merge 8.3, upstream preferred to keep
> 8.2.
>
> My understanding is that the 8.2-series is not really maintained any
> longer, and I don’t know that it contains any promises of forward
> comparability. I guess "backporting" the required changes to Emacs-core
> would be the easiest way forward.
Done! Thanks for the feedback.
Phil
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#23365: 25.0.93; org-mode fails on export with include
2016-04-29 6:51 ` Rasmus
@ 2016-04-30 14:11 ` Phillip Lord
2016-04-30 14:11 ` Phillip Lord
1 sibling, 0 replies; 11+ messages in thread
From: Phillip Lord @ 2016-04-30 14:11 UTC (permalink / raw)
To: Rasmus; +Cc: 23365
Rasmus <rasmus@gmx.us> writes:
> The following message is a courtesy copy of an article
> that has been posted to gmane.emacs.orgmode as well.
>
> Kaushal Modi <kaushal.modi@gmail.com> writes:
>
>>> Is org-mode in core going to be updated before 25.1?
>>
>>
>> Copying the org-mode ML for this.
>
> AFAIU, by the time we were ready to merge 8.3, upstream preferred to keep
> 8.2.
>
> My understanding is that the 8.2-series is not really maintained any
> longer, and I don’t know that it contains any promises of forward
> comparability. I guess "backporting" the required changes to Emacs-core
> would be the easiest way forward.
Done! Thanks for the feedback.
Phil
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-04-30 14:12 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-24 21:41 bug#23365: 25.0.93; org-mode fails on export with include Phillip Lord
2016-04-26 15:54 ` Kaushal Modi
2016-04-26 15:54 ` Kaushal Modi
2016-04-28 21:14 ` Phillip Lord
2016-04-28 21:33 ` bug#23365: [O] " Kaushal Modi
2016-04-28 21:33 ` Kaushal Modi
2016-04-29 6:51 ` Rasmus
2016-04-30 14:11 ` Phillip Lord
2016-04-30 14:11 ` Phillip Lord
2016-04-29 6:51 ` Rasmus
2016-04-28 21:14 ` Phillip Lord
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.