Re: source blocks mangled when edited

2021-05-31 Thread Michael Gauland
On 31/05/21 4:21 pm, Samuel Wales wrote: > idk if this will help as you probably know all of it already. butg > you asked for any help so here goes. i run maint, not master or any > emacs versions. weird that you are missing 3 cols? Switching to the maint branch didn't change anything, but I fou

Re: source blocks mangled when edited

2021-05-31 Thread Sébastien Miquel
Hi Michael, Michael Gauland writes: The file has two identical source blocks. The first generally behaves fine, though some lines get extra indentation. The second suffers more serious distortions. For example, the first line changes from "digraph G {" to "aph G {". I'm unable to reproduce wi

Re: source blocks mangled when edited

2021-05-31 Thread Michael Gauland
On 31/05/21 8:15 pm, Sébastien Miquel wrote: > The relevant functions are `org-edit-src-exit` and perhaps > `org-src--contents-for-write-back`. > > Can you instrument these functions to see what's happening ? Is > `org-src--contents-for-write-back` populating the buffer correctly ? > Does the `repl

Re: source blocks mangled when edited

2021-05-31 Thread Sébastien Miquel
Michael Gauland writes: I didn't instrument the functions, but found that there are two places that test '(if (version< emacs-version "26.1"...'. If I change that to use "version<=", the problem goes away (I'm still running 26.1). I don't know whether this is the right fix (the underlying problem

Re: source blocks mangled when edited

2021-05-31 Thread Michael Gauland
On 31/05/21 9:42 pm, Sébastien Miquel wrote: > There must be an issue with the `replace-buffer-contents` calls. Can > you call `trace-function` on `replace-buffer-contents` and trigger the > behaviour again to see what it returns ? > This is all the *trace-output* buffer shows: =

An attempt to convert Elfeed entries (with parameters) to Org trees

2021-05-31 Thread Juan Manuel Macías
Hi all, I like to keep up to date with new LaTeX packages that are being uploaded to CTAN and I'm subscribed to the CTAN news feed. I always use Elfeed to check my subscriptions, but it occurred to me to write a function (with org-map-entries) to be able to pass Elfeed entries (with certain parame

import xls(x) into org on MacOS

2021-05-31 Thread Uwe Brauer
Hi I am usually using Ubuntu 16.04, but for the coming days, I have to use a MacBook, running 10.15 and fink installed. I usually convert xls(x) to org, using '(org-odt-convert-process "gnumeric") '(org-odt-convert-processes '(("gnumeric" "/usr/bin/ssconvert %i %o"))) But gnumeric does not

Re: How to hide *Org Links* buffer when insert new links?

2021-05-31 Thread Ihor Radchenko
Shiyao MA writes: > Hi, > > When insert org links with org-insert-link, an Org Links buffer is created. > > How can I hide it? You cannot prevent it from being created. It is hard-coded. However, you should be able to prevent Emacs from showing the buffer window by modifying your display-buffer-

Re: [bug] org-agenda-set-tags does not append tags to headline but at cursor

2021-05-31 Thread Ihor Radchenko
Jakob Schöttl writes: > Reproduce: > ... > The tags are not appended to the task's headline but to the line the > cursor was. I tried with Org 9.4.4 and with current master. I cannot reproduce. Can you try to repeat your steps from emacs -Q? Best, Ihor

Re: Bug: Reclocking errors out if org-log-note-clock-out is t [9.4.6 (9.4.6-gab9f2a @ /gnu/store/2pny4z6mbi2aybgzzxz0yrzkds7hbpmq-emacs-org-9.4.6/share/emacs/site-lisp/org-9.4.6/)]

2021-05-31 Thread Ihor Radchenko
"Jorge P. de Morais Neto" writes: > - Expected behavior: Org should clock in the first heading, then clock > out from it, prompt for a note, and clock in the second heading (in > batch mode, Emacs should print some clocking messages and then exit > successfully). > - What happens: Org error

Re: [bug] org-agenda-set-tags does not append tags to headline but at cursor

2021-05-31 Thread Jakob Schöttl
Am 31.05.21 um 15:17 schrieb Ihor Radchenko: Jakob Schöttl writes: Reproduce: ... The tags are not appended to the task's headline but to the line the cursor was. I tried with Org 9.4.4 and with current master. I cannot reproduce. Can you try to repeat your steps from emacs -Q? Thanks fo

Re: [oc-csl] testing status

2021-05-31 Thread András Simonyi
Dear All, (what follows is a copy of my reply to the corresponding citeproc-el issue) I think I managed to track this down. First of all, the issue doesn't affect html and latex Org exports, which use the html and latex output of citeproc-el directly; the problematic behavior occurs only when cit

Re: [oc-csl] testing status

2021-05-31 Thread Bruce D'Arcus
On Mon, May 31, 2021 at 10:33 AM András Simonyi wrote: > > Dear All, > > (what follows is a copy of my reply to the corresponding citeproc-el issue) > I think I managed to track this down. First of all, the issue doesn't > affect html and latex Org exports, which use the html and latex output > o

Re: [PATCH] org-table.el: Fix usage of user-error

2021-05-31 Thread Utkarsh Singh
Ping! -- Utkarsh Singh http://utkarshsingh.xyz

Re: [bug] org-agenda-set-tags does not append tags to headline but at cursor

2021-05-31 Thread Ihor Radchenko
Jakob Schöttl writes: > I checked again, C-c C-q in org-agenda is definitely mapped to > org-agenda-set-tags. Can the reason be a certain minor mode in the org > or org-agenda buffer? I'm having evil mode, for example. Do you have > another tipp for debugging? You can try to bisect your confi

Re: TMIO Pre-release, request for feedback

2021-05-31 Thread John Corless
Timothy, Thanks for your work on this. I think it is an excellent resource. Best regards, John On Sun, May 30, 2021 at 12:36 PM Timothy wrote: > Hi Everyone, > > As we arrive at the end of May, I'm about to publish the 3rd issue of > /This Month in Org/. I thought I'd share the current draf

Re: [wip-cite-new] Initial implementation of `csl' citation processor

2021-05-31 Thread András Simonyi
Dear All, On Sat, 29 May 2021 at 18:22, Nicolas Goaziou wrote: > Here's another proposal: > > `org-cite-export-processor' is now an alist, where keys are export > back-ends or t, which is the default key. > > '((latex biblatex bibstyle citestyle) > (beamer natbib nil nil) > (my-latex n

Re: [org-cite, oc-csl] print_bibliography options

2021-05-31 Thread András Simonyi
Dear All, I think a useful default/baseline for handling the occurrence of multiple #+print_bibliography keywords would be to implement the "chapter use case", which, for each #+print_bibliography, would collect only the citations occurring after to previous #+print_bibliography (if there is one)

Re: Texinfo exporter fails to export M-x helm-documentation

2021-05-31 Thread Jonas Bernoulli
Nicolas Goaziou writes: > The problem is that you are explicitly requesting a level of headlines > without providing a sectioning command for them. By default > `org-texinfo-classes' stops at level 4. > > Anyway, this should be fixed. Thank you. You did that in f99f26306c57d2342069880eac4dca324d

[PATCH] org-mac-link.el: Change homepage.

2021-05-31 Thread Aimé Bertrand
Hi, would like to move the homepage. See attached patch. Thanx. Salut Aimé Bertrand >From 1b95d433f03dd8fdb151874340c82bd801d9dcfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aim=C3=A9=20Bertrand?= Date: Mon, 31 May 2021 23:04:55 +0200 Subject: [PATCH] org-mac-link.el: Change homepage. * lisp/or

Re: [org-cite, oc-csl] print_bibliography options

2021-05-31 Thread Bruce D'Arcus
On Mon, May 31, 2021 at 2:11 PM András Simonyi wrote: > > Dear All, > > I think a useful default/baseline for handling the occurrence of > multiple #+print_bibliography keywords would be to implement the > "chapter use case", which, for each #+print_bibliography, would > collect only the citation

Re: [wip-cite-new] Initial implementation of `csl' citation processor

2021-05-31 Thread Bruce D'Arcus
On Sun, May 30, 2021 at 4:20 PM Nicolas Goaziou wrote: > > Would you have this nil by default, or is there a reasonable default > > you could set? > > I wrote "oc-basic" to be a reasonable, albeit very limited, default. > I just need to make it grow JSON support first. It might not line up with

Re: Bug: Failed to render org file during first load on buffer emacs 27.1 windows binaries [9.3 (release_9.3 @ c:/ProgramFilesh/emacs-27.1-x86_64/share/emacs/27.1/lisp/org/)]

2021-05-31 Thread Aaron Rea
Hello everyone, I wanted to thank you guys for your guidance. I was able to trace the issue through the debugger this far (27.2 binaries): * org-mode() * apply(#f(compiled-function () (interactive nil) #) nil) * #f(compiled-function () (interactive nil) #) nil) () * org-load-mo

An org-latex face

2021-05-31 Thread Léo Ackermann
Hi, When it comes to preview inline LaTeX fragments within org-mode, the org package applies the `org-block` face. It would be nice to *treat inline latex block specially*, to make integration of the those preview-block easier when surrounded by plaintext. This feature would allow to have a theme

Re: import xls(x) into org on MacOS

2021-05-31 Thread Uwe Brauer
>>> "JJ" == Jeremie Juste writes: Hello Jeremie > Hello Uwe, > If you have python or R at hand you might want to go for this option. > In R you would so something like. Thanks, I first tried out the python solution, so I installed 1. Xlsx2csv that works fine for xlsx fine but not, as the

Re: An org-latex face

2021-05-31 Thread Sébastien Miquel
Hi Léo, Léo Ackermann writes: When it comes to preview inline LaTeX fragments within org-mode, the org package applies the `org-block` face. It would be nice to *treat inline latex block specially*, to make integration of the those preview-block easier when surrounded by plaintext. This featu

bug#12972: 24.3.50; Move `org-open-file' and associated code out of Org mode

2021-05-31 Thread Lars Ingebrigtsen
"Drew Adams" writes: > IIUC, `org-open-file' and its associated code, such as `org-file-apps', > `org-default-apps', and `org-apps-regexp-alist', have nothing > particularly to do with Org mode. They constitute general-purpose code > for opening files using associated programs. Code that uses t