Re: Bug: crash exporing to html [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)]

2021-03-21 Thread Greg Minshall
Kyle Meyer wrote: > At the very least, the failure message should be informative in this > situation (a call referencing an unknown name). I've pushed a commit > (5450d6420) to improve the error reporting. thanks!

Re: source blocks DAG evaluation

2021-03-21 Thread Thomas S. Dye
Aloha c4to, I would be tempted to use noweb expansion here. #+name: libB #+begin_src scheme :results none :noweb yes <> (define greetings (string-append hi ", " "to all the people!")) #+end_src #+begin_src scheme :session example :results output :noweb yes <> (display greetings) #+end_src

Re: trivial software engineering'ish question: switching org's

2021-03-21 Thread Gustav Wikström
Straight.el is worth looking into for this. Has served me well for similar use cases. BR Gustav Get Outlook for iOS From: Emacs-orgmode on behalf of Tim Cross Sent: Sunday, March 21, 2021 10:35:00 PM To: emacs-orgmode@gnu.org Subject:

source blocks DAG evaluation

2021-03-21 Thread c4t0
Hi, Is it possible to have a dependency hierarchy of source blocks? i.e.: in C, if you use libA from a compilation unit and that library needs libB, you don't need to include it in main.c -> main.c #include "libB.h" -> libB.c #include "libA.h" you don't need to: -> main.c #include "libB.h"

Re: trivial software engineering'ish question: switching org's

2021-03-21 Thread Anthony Cowley
> On Mar 21, 2021, at 1:46 PM, Greg Minshall wrote: > > hi. i occasionally want to switch from the org package to a git > version, then back again. and, i want to avoid the dread "mixed > installation". > > i'm wondering is there a way people do this other than simply >

Re: trivial software engineering'ish question: switching org's

2021-03-21 Thread Tim Cross
Greg Minshall writes: > hi. i occasionally want to switch from the org package to a git > version, then back again. and, i want to avoid the dread "mixed > installation". > > i'm wondering is there a way people do this other than simply > installing/deleting the package version? > As I

Re: [PATCH] org-src.el Do not ask to revert unmodified buffers

2021-03-21 Thread Kyle Meyer
Thanks for the patch. pillule writes: > Hi, it is asked to the user if we want to revert changes when > re-entering in a org-source buffer. > Even if the buffer have no modifications. Hmm, that description seems to be focusing on the prompt's parenthetical note. When

Re: [PATCH] Prefer HTTPS to HTTP for links to gnu.org

2021-03-21 Thread Kyle Meyer
Stefan Kangas writes: > Thanks. Here's a followup patch that converts most remaining http-links > to https. All of them have been manually tested to avoid breakage. Great, thank you. Pushed (2e1c98415).

Re: [PATCH] Prefer HTTPS to HTTP for links to gnu.org

2021-03-21 Thread Stefan Kangas
Kyle Meyer writes: > Pushed (8cc992f7b). Thanks. Here's a followup patch that converts most remaining http-links to https. All of them have been manually tested to avoid breakage. From 0f5a6cd7dcd540daf529a23da6a59a31f2723e87 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 21 Mar

Re: [PATCH] Prefer HTTPS to HTTP for links to gnu.org

2021-03-21 Thread Kyle Meyer
Stefan Kangas writes: > The attached patch updates all links to gnu.org to use https instead of > http. Pushed (8cc992f7b). > (Such a change was made in Emacs itself already in 2017.) Yep, I believe those came into Org's tree with ff0dcf52a (Backport commit bc511a64f from Emacs, 2017-09-13)

Re: Bug: crash exporing to html [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)]

2021-03-21 Thread Kyle Meyer
Greg Minshall writes: > one line in why.org: > > call_find-orgs() > > > then > > emacs -Q > > > then > > C-e h h > > > then > > Debugger entered--Lisp error: (wrong-type-argument consp nil) > org-babel-exp-code(nil lob) > org-babel-exp-do-export(nil lob) >

trivial software engineering'ish question: switching org's

2021-03-21 Thread Greg Minshall
hi. i occasionally want to switch from the org package to a git version, then back again. and, i want to avoid the dread "mixed installation". i'm wondering is there a way people do this other than simply installing/deleting the package version? cheers, Greg

Re: Using lexical-binding

2021-03-21 Thread Greg Minshall
Kyle, > Hmm, given that the lexical-binding change to ob-core was back in Org > 9.0 (November 2016), it seems like dynamic scoping wasn't really being > relied on (or, if it was, downstream code has already been adjusted). > In my view it'd be better to stick with lexical scoping for these >

Re: Invalid function: org-preserve-local-variables

2021-03-21 Thread Kyle Meyer
Loris Bennett writes: > Hi, > > I'm running > > Org mode version 9.4.4 (9.4.4-25-g3a522a-elpaplus @ > /home/loris/.emacs.d/elpa/org-plus-contrib-20210222/) > > and today I encountered the following error when refiling > > org-refile: Invalid function: org-preserve-local-variables > > Despite

Re: Using lexical-binding

2021-03-21 Thread Kyle Meyer
Greg Minshall writes: > Kyle, > > thanks. i see. i wondered why the talk was all about agendas. > > since, in my (brand new, experimenting) use of > =org-babel-map-src-blocks=, i'm calling a function, and that function is > trying to de-reference, e.g., =beg-block=, i get an error. Thanks for

Re: org-capture-template: table lines including newline of sorts

2021-03-21 Thread Maxim Nikulin
On 15/03/2021 03:41, Uwe Brauer wrote: On 2021-03-13 02:24, Uwe Brauer wrote: Do you need to add more pipes to keep the table structure on the line after the newline? I don't think so. I am afraid, then you should significantly modify implementation for table-line capture type. Your

bug#44824: [PATCH] org.el: Avoid xdg-open silent failure

2021-03-21 Thread Kyle Meyer
Maxim Nikulin writes: > I hope, I have addressed other your comments in the updated patch. > > commit 5eca7764d94dd46b9f9a7792d1b786a3f03b20b6 > Author: Max Nikulin > Date: Wed Feb 17 16:35:58 2021 + > > org.el: Avoid xdg-open silent failure Thanks. A note for future patches: your

Re: Where has the manual on one html page gone?

2021-03-21 Thread Russell Adams
On Sun, Mar 21, 2021 at 09:54:48AM +0100, Christine Köhn wrote: > Here's why I prefer the one page manual: > > I can search it easily. Sometimes I do not find what I'm looking for > where I would expect it to be. Also, searching is convenient way to find > out if something *is not* in the manual.

Re: greedy substitution in org-open-file

2021-03-21 Thread Maxim Nikulin
On 13/02/2021 11:38, Kyle Meyer wrote: +(defun org--open-file-format-spec (format specification) + (with-temp-buffer +(insert format) +(goto-char (point-min)) +(while (search-forward "%" nil t) + (cond ((eq (char-after) ?%) + (delete-char 1)) +

Re: [patch suggestion] Mitigating the poor Emacs performance on huge org files: Do not use overlays for PROPERTY and LOGBOOK drawers

2021-03-21 Thread Ihor Radchenko
Hello, This is another update about the status of the patch. I am mostly happy with the current state of the code, got rid of most of the bugs, and did not get any new bug reports in github for a while. I would like to start the process of applying the patch on master. As a first step, I would

Re: Where has the manual on one html page gone?

2021-03-21 Thread Christine Köhn
Here's why I prefer the one page manual: I can search it easily. Sometimes I do not find what I'm looking for where I would expect it to be. Also, searching is convenient way to find out if something *is not* in the manual. I'm used to reading and searching in a browser. For me, it's easier to

Re: Syntax Proposal: Multi-line Table Cells/Text Wrapping

2021-03-21 Thread Juan Manuel Macías
Hi Samuel, Samuel Wales writes: > i like that. such an org edit special type feature could efven in > principle work for a column or a row all at once. I like the idea of being able to edit rows or columns as well... As I mentioned in a previous message, I made this rudimentary proof of

Bug: org-protocol-protocol-alist: needs better description, not mentioning key/value [9.4.4 (release_9.4.4 @ /home/admin/Programming/Software/emacs/lisp/org/)]

2021-03-21 Thread Jean Louis
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.