unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link from org-plus-contrib
@ 2020-04-18  7:14 Sébastien Miquel
  2020-04-23  8:28 ` bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link Daniel Kraus
  2020-04-24 16:01 ` bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link from org-plus-contrib Andrea Corallo
  0 siblings, 2 replies; 9+ messages in thread
From: Sébastien Miquel @ 2020-04-18  7:14 UTC (permalink / raw)
  To: 40694

With a minimal init.el to allow (use-package org :ensure 
org-plus-contrib), and once it is natively compiled, calling 
org-insert-link doesn't prompt for a description.

Describe function reports that org-insert-link is native compiled Lisp 
function in ‘ol.el’.

Manually evaluating the source in ol.el restores the correct behaviour: 
org-insert-link prompts for a link, then for a description.






^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link
  2020-04-18  7:14 bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link from org-plus-contrib Sébastien Miquel
@ 2020-04-23  8:28 ` Daniel Kraus
  2020-04-23  9:53   ` Andrea Corallo
  2020-04-23 22:02   ` Andrea Corallo
  2020-04-24 16:01 ` bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link from org-plus-contrib Andrea Corallo
  1 sibling, 2 replies; 9+ messages in thread
From: Daniel Kraus @ 2020-04-23  8:28 UTC (permalink / raw)
  To: 40694

Hi,

I just want to mention that I experience a similar problem with `org-refile`.
Where I get: `org-get-outline-path: Invalid function: org-with-wide-buffer`

After evaluating `org-refile.el` manually it works fine.

BTW, thanks for the native-comp branch. Only running it since a few days
but very happy so far. I run it with 200+ packages and the only "bug"
I found so far is this and a missing eieio require in the jupyter
package where it worked before native compilation but not after.
Adding that require fixed it: https://github.com/dzop/emacs-jupyter/pull/248

Thanks,
  Daniel





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link
  2020-04-23  8:28 ` bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link Daniel Kraus
@ 2020-04-23  9:53   ` Andrea Corallo
  2020-04-23 22:02   ` Andrea Corallo
  1 sibling, 0 replies; 9+ messages in thread
From: Andrea Corallo @ 2020-04-23  9:53 UTC (permalink / raw)
  To: Daniel Kraus; +Cc: 40694

Daniel Kraus <daniel@kraus.my> writes:

> Hi,
>
> I just want to mention that I experience a similar problem with `org-refile`.
> Where I get: `org-get-outline-path: Invalid function: org-with-wide-buffer`
>
> After evaluating `org-refile.el` manually it works fine.
>
> BTW, thanks for the native-comp branch. Only running it since a few days
> but very happy so far. I run it with 200+ packages and the only "bug"
> I found so far is this and a missing eieio require in the jupyter
> package where it worked before native compilation but not after.
> Adding that require fixed it: https://github.com/dzop/emacs-jupyter/pull/248
>
> Thanks,
>   Daniel

Hi Daniel,

thanks happy to hear works well for you!

I'll get to look into this bug presumably this weekend.

Thanks

  Andrea

-- 
akrl@sdf.org





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link
  2020-04-23  8:28 ` bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link Daniel Kraus
  2020-04-23  9:53   ` Andrea Corallo
@ 2020-04-23 22:02   ` Andrea Corallo
  2020-04-23 22:22     ` Daniel Kraus
  1 sibling, 1 reply; 9+ messages in thread
From: Andrea Corallo @ 2020-04-23 22:02 UTC (permalink / raw)
  To: Daniel Kraus; +Cc: 40694

Daniel Kraus <daniel@kraus.my> writes:

> Hi,
>
> I just want to mention that I experience a similar problem with `org-refile`.
> Where I get: `org-get-outline-path: Invalid function: org-with-wide-buffer`
>
> After evaluating `org-refile.el` manually it works fine.

Hi Daniel,

taking a look I think your bug was already signaled here as a
native-comp bug but in reality is a bug in the org side and as so has
been reported there.

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

I think is still not solved tho taking a quick look to the repo.

  Andrea

-- 
akrl@sdf.org





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link
  2020-04-23 22:02   ` Andrea Corallo
@ 2020-04-23 22:22     ` Daniel Kraus
  2020-04-24  7:43       ` Andrea Corallo
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Kraus @ 2020-04-23 22:22 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 40694

Hi!

Andrea Corallo <akrl@sdf.org> writes:

> taking a look I think your bug was already signaled here as a
> native-comp bug

I'm not subscribed to this bug mailing list and somehow I have
a hard time browsing and searching with debbugs to look for already
existing bugs :(

> but in reality is a bug in the org side and as so has been
> reported there.
> https://lists.gnu.org/archive/html/emacs-orgmode/2020-04/msg00095.html

Thanks for investigating. Now I can patch my local version until
upstream is fixed.

I just found one more broken package. https://github.com/silex/docker.el/

Like with jupyter and org, I guess this is simply an error
in the package and not your code but I can't figure out what's wrong.

When calling any docker function (like `docker-containers`)
it calls this macro https://github.com/silex/docker.el/blob/08745207332d940130a2357eb5c5e00fd88bd6af/docker-utils.el#L102-L107
and then I get:

docker-run-docker: Invalid function: docker-utils-with-sudo

Thank you very much,
  Daniel





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link
  2020-04-23 22:22     ` Daniel Kraus
@ 2020-04-24  7:43       ` Andrea Corallo
  2020-05-06 12:27         ` Daniel Kraus
  0 siblings, 1 reply; 9+ messages in thread
From: Andrea Corallo @ 2020-04-24  7:43 UTC (permalink / raw)
  To: Daniel Kraus; +Cc: 40694

Daniel Kraus <daniel@kraus.my> writes:

> Hi!
>
> Andrea Corallo <akrl@sdf.org> writes:
>
>> taking a look I think your bug was already signaled here as a
>> native-comp bug
>
> I'm not subscribed to this bug mailing list and somehow I have
> a hard time browsing and searching with debbugs to look for already
> existing bugs :(

Sure was not a remark :)

>> but in reality is a bug in the org side and as so has been
>> reported there.
>> https://lists.gnu.org/archive/html/emacs-orgmode/2020-04/msg00095.html
>
> Thanks for investigating. Now I can patch my local version until
> upstream is fixed.
>
> I just found one more broken package. https://github.com/silex/docker.el/
>
> Like with jupyter and org, I guess this is simply an error
> in the package and not your code but I can't figure out what's wrong.
>
> When calling any docker function (like `docker-containers`)
> it calls this macro https://github.com/silex/docker.el/blob/08745207332d940130a2357eb5c5e00fd88bd6af/docker-utils.el#L102-L107
> and then I get:
>
> docker-run-docker: Invalid function: docker-utils-with-sudo
>
> Thank you very much,
>   Daniel

To a quick look I think in docker-core.el is missing a
'(require 'docker-utils)'.

Thanks

  Andrea


-- 
akrl@sdf.org





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link from org-plus-contrib
  2020-04-18  7:14 bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link from org-plus-contrib Sébastien Miquel
  2020-04-23  8:28 ` bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link Daniel Kraus
@ 2020-04-24 16:01 ` Andrea Corallo
  1 sibling, 0 replies; 9+ messages in thread
From: Andrea Corallo @ 2020-04-24 16:01 UTC (permalink / raw)
  To: Sébastien Miquel; +Cc: 40694-done

Sébastien Miquel <sebastien.miquel@posteo.eu> writes:

> With a minimal init.el to allow (use-package org :ensure
> org-plus-contrib), and once it is natively compiled, calling
> org-insert-link doesn't prompt for a description.
>
> Describe function reports that org-insert-link is native compiled Lisp
> function in ‘ol.el’.
>
> Manually evaluating the source in ol.el restores the correct
> behaviour: org-insert-link prompts for a link, then for a description.

Hi Sébastien,

3ac3ba22be fix the issue for me, closing.

Thanks for the bug report.

  Andrea

-- 
akrl@sdf.org





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link
  2020-04-24  7:43       ` Andrea Corallo
@ 2020-05-06 12:27         ` Daniel Kraus
  2020-05-06 13:05           ` Andrea Corallo
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Kraus @ 2020-05-06 12:27 UTC (permalink / raw)
  To: Andrea Corallo; +Cc: 40694

Hi Andrea!

Just wanted to give a quick update that the org bug is
fixed for me with the latest org from the org git repo.


Unrelated, I just noticed that `treemacs-magit.el` from the
treemacs package is not compiling. The log output is:

libgccjit.so: error: gcc_jit_block_end_with_jump: adding to terminated block: bb_29 (already terminated by: if (local19 == d_reloc[(long long)36]) goto bb_27; else goto bb_27;)
Internal native compiler error: "/home/daniel/.emacs.d/lib/treemacs/src/extra/treemacs-magit.el", "failing to compile function", treemacs-magit--simple-git-mode-update, "gcc_jit_block_end_with_jump: adding to terminated block: bb_29 (already terminated by: if (local19 == d_reloc[(long long)36]) goto bb_27; else goto bb_27;)"

Not sure if I should create a new issue for it.

Thanks,
  Daniel





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link
  2020-05-06 12:27         ` Daniel Kraus
@ 2020-05-06 13:05           ` Andrea Corallo
  0 siblings, 0 replies; 9+ messages in thread
From: Andrea Corallo @ 2020-05-06 13:05 UTC (permalink / raw)
  To: Daniel Kraus; +Cc: 40694

Daniel Kraus <daniel@kraus.my> writes:

> Hi Andrea!
>
> Just wanted to give a quick update that the org bug is
> fixed for me with the latest org from the org git repo.
>

Hi Daniel,

> Unrelated, I just noticed that `treemacs-magit.el` from the
> treemacs package is not compiling. The log output is:
>
> libgccjit.so: error: gcc_jit_block_end_with_jump: adding to terminated
> block: bb_29 (already terminated by: if (local19 == d_reloc[(long
> long)36]) goto bb_27; else goto bb_27;)
> Internal native compiler error:
> "/home/daniel/.emacs.d/lib/treemacs/src/extra/treemacs-magit.el",
> "failing to compile function", treemacs-magit--simple-git-mode-update,
> "gcc_jit_block_end_with_jump: adding to terminated block: bb_29
> (already terminated by: if (local19 == d_reloc[(long long)36]) goto
> bb_27; else goto bb_27;)"
>
> Not sure if I should create a new issue for it.

Yes please.

Thanks for the feedback.

  Andrea

-- 
akrl@sdf.org





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-06 13:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-18  7:14 bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link from org-plus-contrib Sébastien Miquel
2020-04-23  8:28 ` bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link Daniel Kraus
2020-04-23  9:53   ` Andrea Corallo
2020-04-23 22:02   ` Andrea Corallo
2020-04-23 22:22     ` Daniel Kraus
2020-04-24  7:43       ` Andrea Corallo
2020-05-06 12:27         ` Daniel Kraus
2020-05-06 13:05           ` Andrea Corallo
2020-04-24 16:01 ` bug#40694: 28.0.50; [feature/native-comp] Different behavior of org-insert-link from org-plus-contrib Andrea Corallo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).