Re: Async Python src block behavior with :dir header property

2024-02-13 Thread Nasser Alkmim
Excellent job Ihor and Jack. On the same note, it would be convenient to have a hook to run after the async execution returns the output. Similar to 'org-babel-after-execute-hook'. So I could, for instance, redisplay the inline image previews. Is there an easy way to do that? -- Nasser Alkmim

[PATCH] org-agenda: Make sure skipping warning/delay days never increases their number

2024-02-13 Thread Tim Ruffing
Hello, The attached patch fixes the following bug: * Have a scheduled item that has also has a deadline with a cusom prewarning cookie, e.g. <... -3d>. * Set `org-agenda-skip-deadline-prewarning-if-scheduled' to 7 Then in the agenda, the item is shown already 7 days before the deadline (ins

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2024-02-13 Thread Max Nikulin
On 12/02/2024 19:36, Ihor Radchenko wrote: Max Nikulin writes: I believe, there are enough issues with mailcap implementation in Emacs, but do we have some alternative? [...] I have been digging more on this issue recently, and I have found that Carsten once attempted to tweak this default t

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2024-02-13 Thread Ihor Radchenko
Max Nikulin writes: >> I have been digging more on this issue recently, and I have found that >> Carsten once attempted to tweak this default to use xdg-mime: > > Have you faced another issue with mailcap? Frankly speaking, I am unsure > what particular issues we are going to address (file type,

Re: Extra paragraphs incorrectly spawning when ":end:" appears.

2024-02-13 Thread Ihor Radchenko
Ihor Radchenko writes: > "Tom Alexander" writes: > >> This test document should have 1 paragraph but org-mode is parsing it as 2: >> ``` >> foo >> :end: >> baz >> ``` >> >> which parses as: >> ``` >> (section >> (paragraph "foo\n") >> (paragraph ":end:\nbaz\n") >> ) >> ``` > > The docum

Re: Org-cite/Citar cannot recognize neither biblatex nor natbib

2024-02-13 Thread Ihor Radchenko
Alessandro Bertulli writes: > I think I spotted the problem. It's difficult to be sure, but > apparently, since version 4.31, latexmk automatically detects and run > biber as a citation engine (see this post > https://tex.stackexchange.com/a/231351/259874). In fact, in the latexmk > man page, it

Re: Retaking AUTO for \usepackage{fontenc}

2024-02-13 Thread Juan Manuel Macías
Pedro Andres Aranda Gutierrez writes: > Hi, > > Next step, @all, please help me filling up the list of codings vs. > languages. I currently am somehow confident of the following: > > greek -> LGR > russian -> T2A The information is in the encguide PDF (you can run texdoc fontenc or texdoc encguid

Re: [BUG] Org may fetch remote content without asking user consent

2024-02-13 Thread Ihor Radchenko
Max Nikulin writes: > On 08/02/2024 22:07, Ihor Radchenko wrote: >> >> `org--safe-remote-resource-p' checks the containing Org file as well, in >> addition to #+included URL. > > If my reading of the code is correct then it considers > /ssh:host:org/include.org as safe if file:///ssh:host:org/t

Re: [patch] Add two new header args to LaTeX block

2024-02-13 Thread Ihor Radchenko
Juan Manuel Macías writes: >> Moreover, it would be nice to unify handling .png and imagemagick >> branches of the code. > > I agree. In any case, I still think that the coexistence of two methods > to convert to images, when one of the methods has a scheme so different > from the rest, becomes d

Re: [PATCH] org-agenda: Make sure skipping warning/delay days never increases their number

2024-02-13 Thread Ihor Radchenko
Tim Ruffing writes: > The attached patch fixes the following bug: > > * Have a scheduled item that has also has a deadline with a cusom >prewarning cookie, e.g. <... -3d>. > * Set `org-agenda-skip-deadline-prewarning-if-scheduled' to 7 > > Then in the agenda, the item is shown already 7 day

Re: [patch] ox.latex.el: Add missing character warnings

2024-02-13 Thread Ihor Radchenko
Juan Manuel Macías writes: When I try the patch with a simple file like Hello. 你好。 I do not see any warnings or errors indicated. >> >> I did >> ... > > I have done the same, on a clean Emacs init. Warning appears. > > And in *Messages*: > > PDF file produced with warning

Re: Async Python src block behavior with :dir header property

2024-02-13 Thread Ihor Radchenko
Nasser Alkmim writes: > On the same note, it would be convenient to have a hook to run after the > async execution returns the output. Similar to > 'org-babel-after-execute-hook'. So I could, for instance, redisplay the > inline image previews. Is there an easy way to do that? Maybe we can ad

Re: [BUG] org-clock-in opens buffers for all agenda files

2024-02-13 Thread jman
I am a bit confused and I am probably missing some context. The documentation of `org-clock-auto-clock-resolution` states: "When to automatically resolve open clocks found in Org buffers." and the options are "Never", "Always", "When no clock is running". I think I understand the idea behind

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2024-02-13 Thread Max Nikulin
On 13/02/2024 18:27, Ihor Radchenko wrote: Max Nikulin writes: I am mostly going to address user confusion about mailcap XDG configuration and so xdg-open behavior is often confusing to users as well, especially in the cases of KDE and no DE. In GNOME it is alleviated by a step with the appl

interaction of fontified calendar entries and org-read-date

2024-02-13 Thread John Kitchin
I am trying to debug something in org-read-date. If I run this code: (let* ((mark-calendar (lambda () (calendar-mark-visible-date (read (format-time-string "(%m %d %Y)")) 'font-lock-warning-face))) (calendar-today-visible-hook)) (add-hook 'calendar-today-visible-hook mark-calendar)

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2024-02-13 Thread Max Nikulin
On 13/02/2024 22:44, Max Nikulin wrote: (info "emacs-mailcap") (info "emacs-mime")

Re: [PATCH] org-agenda: Make sure skipping warning/delay days never increases their number

2024-02-13 Thread Tim Ruffing
Added a test. > Please do not remove arguments from the public functions. This may > break > code outside Org mode. > Hm, sure, I assumed it's okay for this niche thing. Can we deprecate the argument somehow? Best, Tim From b886446be8ea02f38d9be6cccf6899d6de396d06 Mon Sep 17 00:00:00 2001 From:

Best way to extract info from C files?

2024-02-13 Thread Stefano Ghirlanda
Hi all! I'm trying to build a simple code documentation tool for org-mode, so I'm looking for ways to get information from C files (to begin with, ideally it will be easy to add other languages). Things like function prototypes, struct definitions, etc. What would be the best tool for this? My sea

Re: [patch] ox.latex.el: Add missing character warnings

2024-02-13 Thread Juan Manuel Macías
Ihor Radchenko writes: > Probably something to do with my Texlive technically having Chinese > support. > > I am getting > > ! Package inputenc Error: Unicode character 你 (U+4F60) > (inputenc)not set up for use with LaTeX. > > See the inputenc package documentation for explanation.

Re: Best way to extract info from C files?

2024-02-13 Thread Stefano Ghirlanda
And I have just learned about org-ctags from another post on the list... Would that be an option? On Tue, Feb 13, 2024 at 7:58 AM Stefano Ghirlanda wrote: > > Hi all! > > I'm trying to build a simple code documentation tool for org-mode, so > I'm looking for ways to get information from C files (

Re: Retaking AUTO for \usepackage{fontenc}

2024-02-13 Thread Pedro Andres Aranda Gutierrez
Hi Juan, neither do I, This is why I'm asking for people to tell me what they use ;-) best, /PA On Tue, 13 Feb 2024 at 12:57, Juan Manuel Macías wrote: > Pedro Andres Aranda Gutierrez writes: > > > Hi, > > > > Next step, @all, please help me filling up the list of codings vs. > > languages. I

Re: Retaking AUTO for \usepackage{fontenc}

2024-02-13 Thread Juan Manuel Macías
Pedro Andres Aranda Gutierrez writes: > neither do I, This is why I'm asking for people to tell me what they > use ;-) The babel ini files (why hadn't I thought of this before :-): look in the babel ini files: /tex/generic/babel/locale/ There you have all the information by language. For examp

Re: Best way to extract info from C files?

2024-02-13 Thread Jude DaShiell
Study sed once you get a script going correctly and you pass sed several files you'll love the speed it uses to get the work done. While I was working I managed to break 106 different files. I figured with no mistakes I could fix them in two weeks manually and no mistakes never happens on manual

Re: [patch] Add two new header args to LaTeX block

2024-02-13 Thread Juan Manuel Macías
Ihor Radchenko writes: > Juan Manuel Macías writes: > >>> Moreover, it would be nice to unify handling .png and imagemagick >>> branches of the code. >> >> I agree. In any case, I still think that the coexistence of two methods >> to convert to images, when one of the methods has a scheme so diff

[BUG] Warning: The error was: (error "Invalid search bound (wrong side of point)") [9.6.15 (release_9.6.15 @ z:/emacs-i686/share/emacs/29.2/lisp/org/)]

2024-02-13 Thread Ypo
I got a warning, which asked to be reported. Not sure why it happened, I think it was when I refreshed calfw calendar: https://pastebin.com/1C88sLdt Best

Re: Help: How to change faces of words between parenthesis

2024-02-13 Thread William Denton
On Sunday, February 11th, 2024 at 08:57, Ypo wrote: > Could it be possible to change the color of words between parentheses? > > For example, in: > > "mejorar su bienestar psicológico (Cronin et al., 2012; Molero, Fuster, > Jetten y Moriano, 2011; Outten, Schmitt, García y Branscombe, 2009; >