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

2021-03-24 Thread Loris Bennett
"Loris Bennett" writes: > Kyle Meyer writes: > >> 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 >>> >>

Re: [PATCH] Apply emacs manual css to org pages

2021-03-24 Thread Bastien
Hi, Kyle Meyer writes: >> # How to create the HTML file >> -TEXI2HTML = makeinfo --html --number-sections >> +TEXI2HTML = makeinfo --html --number-sections --css-ref >> "https://www.gnu.org/software/emacs/manual.css"; I made this change and tested it online, the HTML Org manual now looks like

Bug: Hole in `org-html-format-drawer-function' variable documentation [9.4.4 (9.4.4-21-g61336f-elpaplus @ /home/jmazon/.emacs.d/elpa/org-plus-contrib-20210208/)]

2021-03-24 Thread Jean-Baptiste Mazon
Hello, The documentation for customizable variable `org-html-format-drawer-function' currently reads as such: Function called to format a drawer in HTML code. The function must accept two parameters: NAME the drawer name,

emacs27 and let: Symbol’s value as variable is void: org-table-header-line-p

2021-03-24 Thread Santiago Mejia
Hi All, I just did a clean install of Xubuntu 20.04. I also installed emacs27 (from this repository:ppa:kelleyk/emacs) When I try to export any snippet from org-mode by calling org-export-dispatch, my freshly installed emacs complains: "let: Symbol’s value as variable is void: org-table-header-

org-adapt-indentation not honored prior to Org 9.4?

2021-03-24 Thread Mike Kupfer
Over the weekend I upgraded my Emacs from 27.1 (Org 9.3) to 27.2-rc2 (Org 9.4). I noticed that Org mode behaves differently, even with "emacs -Q". In 27.1, if I visit foo.org and type "* header RET", point is put in the first column. In 27.2, point is put in column 3. AFAIK, I'm not using elect

Re: Exam LaTeX class

2021-03-24 Thread 陈贤文
Dear Christine (and CC list), Thank you! On 2021-03-19 10:13, Christine Köhn wrote: Here is one way to do the latex part. You could pass a jobname to latex. I have this \IfEndWith*{\jobname}{withsolution}{% \usepackage{todonotes} \printanswers }{\usepackage[disable]{todonotes}} in a myexam

Re: [PATCH] Re: Bug: Plain https links with brackets are not recognised [9.4.4 (release_9.4.4-625-g763c7a @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-03-24 Thread Maxim Nikulin
On 19/03/2021 22:07, Ihor Radchenko wrote: Maxim Nikulin writes: I could not guess how to benchmark font-lock. I have tried to open file (to get everything loaded), kill the buffer, I usually just use profiler-start/open buffer/profiler-report. However, there is also https://github.com/Lindyd

Re: Bug: Plain https links with brackets are not recognised [9.4.4 (release_9.4.4-625-g763c7a @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-03-24 Thread Nicolas Goaziou
Hello, Ihor Radchenko writes: > I have a https link like "https://doi.org/10.1016/0160-791x(79)90023-x". > If I put this link into an org file (using emacs -Q or Org mode master), > only "https://doi.org/10.1016/0160-791x(79)" part of the link is treated > as a link. I guess, it should not happe

Re: Bug: Plain https links with brackets are not recognised [9.4.4 (release_9.4.4-625-g763c7a @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-03-24 Thread Ihor Radchenko
Nicolas Goaziou writes: > Actually, this is (was?) intentional. By forbidding parenthesis in > a plain URL, you allow one to type, e.g., (https://orgmode.org), which > is, IMO, a more frequent need than having to deal with parenthesis in > the URL. The patch correctly recognises situations like t

Re: Exam LaTeX class

2021-03-24 Thread Diego Zamboni
Hi Xianwen, I think the easiest way to conditionally include text in the preamble of the document would be by including a file which can be empty sometimes, and contain the appropriate text when needed. For example, you could have something like this in your Org file: #+include: ./printanswers.or

Re: wip-cite status question and feedback

2021-03-24 Thread Bruce D'Arcus
I know Bastien and Nicolas are less active on the list these days, but does anyone know what the plan is with the wip-cite branch? My understanding is the syntax work that Nicolas did was done enough that it was ready for testing, and that the remaining questions were really what more needed to be

Re: [PATCH] Re: Bug: Plain https links with brackets are not recognised [9.4.4 (release_9.4.4-625-g763c7a @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-03-24 Thread Ihor Radchenko
Maxim Nikulin writes: > Example for #+STARTUP: overview: > > org-activate-links 560 0.028971085 5.173...e-05 > > For content number of calls is 410, without special settings (all) 120, > let me remind that it is for 10 find-file invocations. Another example > > org-activate-links 410

Re: Bug: Plain https links with brackets are not recognised [9.4.4 (release_9.4.4-625-g763c7a @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-03-24 Thread Ihor Radchenko
Updated version of the patch. Ihor Radchenko writes: > Nicolas Goaziou writes: >> Actually, this is (was?) intentional. By forbidding parenthesis in >> a plain URL, you allow one to type, e.g., (https://orgmode.org), which >> is, IMO, a more frequent need than having to deal with parenthesis in

Re: org-adapt-indentation not honored prior to Org 9.4?

2021-03-24 Thread TRS-80
On 2021-03-22 15:37, Mike Kupfer wrote: Over the weekend I upgraded my Emacs from 27.1 (Org 9.3) to 27.2-rc2 (Org 9.4). I noticed that Org mode behaves differently, even with "emacs -Q". In 27.1, if I visit foo.org and type "* header RET", point is put in the first column. In 27.2, point is pu

Re: emacs27 and let: Symbol’s value as variable is void: org-table-header-line-p

2021-03-24 Thread TRS-80
On 2021-03-23 19:57, Santiago Mejia wrote: Hi All, I just did a clean install of Xubuntu 20.04. I also installed emacs27 (from this repository:ppa:kelleyk/emacs) When I try to export any snippet from org-mode by calling org-export-dispatch, my freshly installed emacs complains: "let: Symbol’s

Re: org-adapt-indentation not honored prior to Org 9.4?

2021-03-24 Thread Maxim Nikulin
On 24/03/2021 21:08, TRS-80 wrote: On 2021-03-22 15:37, Mike Kupfer wrote: In 27.1, if I visit foo.org and type "* header RET", point is put in the first column.  In 27.2, point is put in column 3. You are not alone, mate.  We discussed this not too long ago in the following thread: There we

Re: Bug: Org manual, 16.15.2 The ‘capture’ protocol, possible error [9.4.4 (release_9.4.4 @ /home/admin/Programming/Software/emacs/lisp/org/)]

2021-03-24 Thread Maxim Nikulin
On 21/03/2021 14:04, Jean Louis wrote: > emacsclient org-protocol://capture?template=X?url=URL?title=TITLE?body=BODY Certainly extra question marks should be replaced by "&". emacsclient 'org-protocol://capture?template=X&url=URL&title=TITLE&body=BODY' However I am in doubts if such

Re: wip-cite status question and feedback

2021-03-24 Thread M . ‘quintus’ Gülker
Am 24. März 2021 um 09:22 Uhr -0400 schrieb Bruce D'Arcus: > Anyone know anything else? Not really. I would just like to say that I am eagerly watching this thread and am earnestly curious about what will happen to wip-cite. A proper cite system for org would be such a useful feature. -quintus

Bug: 9.4.4 - ob-sql inserts page break (^L) in first cell of results table and truncates some column names

2021-03-24 Thread Niall Dooley
Using ob-sql for the first time. It works great and I no longer need to deal with the ugly output from the SQL command line. However, I noted that after submitting a query the first cell (first column name) of the results table includes a page break (^L). I use the purcell/page-break-lines packa

MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-24 Thread Uwe Brauer
Hi Does anybody know how to achieve the traditional binding of C-space to set-mark-command on MacOS (for emacsformacos)? Shift arrow down works, but will not work for a lot of features in org mode. Thanks Uwe Brauer

Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-24 Thread Tim Cross
Uwe Brauer writes: > Hi > > Does anybody know how to achieve the traditional binding of > C-space to set-mark-command on MacOS (for emacsformacos)? > > Shift arrow down works, but will not work for a lot of features in org > mode. > Have you verified c-space is not being used by the macOS UI

Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-24 Thread Diego Zamboni
I have seen differences in this behavior depending on the Emacs build. The emacs-mac port (https://github.com/railwaycat/homebrew-emacsmacport) seems to intercept certain Mac-specific keybindings such as C-space and C-M-space and gives them their "Mac meaning", e.g. to bring up Spotlight or the sym

Re: MacOS (emacsformacosx) c-spc, does not run set-mark-command

2021-03-24 Thread Tim Cross
Diego Zamboni writes: > I have seen differences in this behavior depending on the Emacs build. The > emacs-mac port (https://github.com/railwaycat/homebrew-emacsmacport) > seems to intercept certain Mac-specific keybindings such as C-space and > C-M-space and gives them their "Mac meaning", e

Re: [PATCH] Update example :publishing-function names in manual

2021-03-24 Thread Kyle Meyer
Greg Minshall writes: > --- > doc/org-manual.org | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Thanks. Pushed (d15639944), adding a changelog entry.

Re: Bug: Hole in `org-html-format-drawer-function' variable documentation [9.4.4 (9.4.4-21-g61336f-elpaplus @ /home/jmazon/.emacs.d/elpa/org-plus-contrib-20210208/)]

2021-03-24 Thread Kyle Meyer
Jean-Baptiste Mazon writes: > The documentation for customizable variable > `org-html-format-drawer-function' currently reads as such: [...] > For example, the variable could be set to the following function > in order to mimic default behavior: > > The default value simply returns the value of CO

Re: emacs27 and let: Symbol’s value as variable is void: org-table-header-line-p

2021-03-24 Thread Kyle Meyer
Santiago Mejia writes: > Hi All, > > I just did a clean install of Xubuntu 20.04. I also installed emacs27 > (from this repository:ppa:kelleyk/emacs) > > When I try to export any snippet from org-mode by calling > org-export-dispatch, my freshly installed emacs complains: > > "let: Symbol’s value

Re: [PATCH] org.el (org-do-latex-and-related): Fix duplicate 'latex-and-related faces

2021-03-24 Thread Kyle Meyer
Sébastien Miquel writes: > With the current org-do-latex-and-related function, fontification of > a region before a LaTeX fragment repeatedly adds the > 'org-latex-and-related face to the fragment. > > You can reproduce with an org buffer with the following content. [...] > The attached patch fixe