Re: bug#59882: Multiple versions of Org in load-path problem

2023-02-20 Thread Richard Stallman
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > >> I don't run Debian or Ubuntu anymore. However, I do recall that debian > >>

Re: feature request: easy embedding of images

2023-02-20 Thread Jude DaShiell
To help accessibility it would be useful when an image was dragged into org-mode if the user got prompted for an image description that gets associated with the image in org-mode. Some images are art work and those should get alt="" tags if a user fails to provide a description but only after

Re: feature request: easy embedding of images

2023-02-20 Thread Daniel Fleischer
Alexis Gallagher [2023-02-18 Sat 16:22] wrote: > This is a feature request — or failing that, a request for advice on a > settings configuration which could produce this > functionality now. Russell mentioned a package and pointed to the image issues related to Emacs, not Org. I want to

Re: feature request: easy embedding of images

2023-02-20 Thread Russell Adams
On Sat, Feb 18, 2023 at 04:22:33PM -0800, Alexis Gallagher wrote: > Hello, my fellow org-mode lovers, > > This is a feature request — or failing that, a request for advice on > a settings configuration which could produce this functionality now. Have you looked at org-attach-screenshot?

Re: RFC on implementation adding buttons beside headings

2023-02-20 Thread Bruno Barbier
pareto optimal writes: > I found the only way to place the button where I wanted was to insert > some blank space after the heading. Is that expected and best practice > or is there some other way to do it? FWIW, instead of inserting some blank spaces, you could overlay existing characters,

[BUG] C-S-up/down on first timestamp in clock malfunctioning [9.6.1 (release_N/A-N/A-747e60 @ /Users/[]/.emacs.d/elpa/org-9.6.1.0.20230218.123114/)]

2023-02-20 Thread sting . startup-0y
Consider: * Test :LOGBOOK: CLOCK: [2023-02-19 Sun 22:30]--[2023-02-20 Mon 00:35] => 2:05 :END: Hitting C-S-up/down in the first time stamp does not preserver duration, and can lead to negative durations, which "break" the clock. The same keystrokes work as intended in the second timestamp.

org-latex foreground color in svg is controlled by org-latex-and-related

2023-02-20 Thread Wei-Ting Lin
Recently I found the foreground color of the latex-preview in org-mode is controlled by "org-latex-and-related". There is another option called "org-format-latex-options", which can also set the foreground color, but it has no effect for the svg output. I don't know if this behavior is by design

feature request: easy embedding of images

2023-02-20 Thread Alexis Gallagher
Hello, my fellow org-mode lovers, This is a feature request — or failing that, a request for advice on a settings configuration which could produce this functionality now. I wish org-mode had the ability to attach images to notes, display them inline, and have that work well. By “work well” I

Re: Unicode problem with export of literal contents

2023-02-20 Thread Bruno Barbier
Jens Lechtenboerger writes: > On 2023-02-20, Bruno Barbier wrote: > > However, if I use insert-file-contents-literally with a unicode > file, I do *not* have to set the coding-system-for-write. This just > works: > >(with-temp-buffer > (insert-file-contents-literally

Re: Links to external targets with (or despite) org-ref

2023-02-20 Thread John Kitchin
The quickest thing might be to remove the store properties on the ref links. This should do it. #+BEGIN_SRC emacs-lisp (cl-loop for reflink in '("ref" "pageref" "nameref" "eqref" "autoref" "cref" "Cref" "crefrange" "Crefrange") do (setf (cdr (assoc reflink org-link-parameters))

Re: [PATCH] Introduce "export features"

2023-02-20 Thread Timothy
Hi All, Following some feedback I’ve received from a few people (including off-list), here’s a v2 set of patches. Notably, I’ve now got a draft manual entry (see the last patch attached), which should go a long way to better explaining what this is without asking you to wade through all the code

Re: [PATCH] Async evaluation in ob-shell

2023-02-20 Thread Matt
On Mon, 20 Feb 2023 06:24:52 -0500 Ihor Radchenko wrote --- > Why not simply doing the `should' test when the > `test-ob-shell/uuid-regex' match fails? Instead of returning `t'. Then, > we will not need to use advise. Great point. I had originally used advice to avoid a loop.

Re: [PATCH] org-element-timestamp-interpreter: Return daterange anyway, if DATERANGE is non-nil

2023-02-20 Thread Ilya Chernyshov
You suggest to split timestamp types active/inactive-range to active/inactive-timerange, active/inactive-daterange? On February 20, 2023 6:07:19 PM GMT+07:00, Ihor Radchenko wrote: >Ilya Chernyshov writes: > >> So, an option is needed that controls whether to return a >> daterange >> (even

[O] Injecting properties with noweb

2023-02-20 Thread Ken Mankoff
Hello, Is it possible to set variables using Org Babel inside screen, which does not support ":var" header args? I'd actually lke a double-nested screen over ssh, and the ability to re-use Babel code blocks under different headings, using header args or PROPERTIES to change variables. That is,

Help needed with subtree export

2023-02-20 Thread Alain . Cochard
I only recently discovered subtree export, which I thought would be better suited for me, but I have trouble to switch. Consider the following file: #+SELECT_TAGS: export conditional #+EXCLUDE_TAGS: #+OPTIONS: toc:nil title:nil author:nil date:nil tags:nil * I :export: ** 1

Re: [RFC] Backend vs. back-end (was: 2 'echo' bash instructions produce a table)

2023-02-20 Thread Alain . Cochard
Ihor Radchenko writes on Mon 20 Feb 2023 10:07: > I looked further, and the situation is not as simple. > https://grammarhow.com/backend-back-end-or-back-end/, for example, > claims that only "back-end" is grammatically correct. > > I am now thinking to do the following: > 1. Use "backend"

Re: Multiple noweb-ref

2023-02-20 Thread Ihor Radchenko
Théo Maxime Tyburn writes: > What I would like to have, when I expand `<>` is to get all the blocks > under A, and when I expand `<>` I get all the blocks under B. For > now when I expand `<>` I only get the blocks under A that are not under > B. > > Is there a way to do this with the current

Re: clock reports, group/rollup by tags, properties?

2023-02-20 Thread Ihor Radchenko
Robert Nikander writes: > If I use `:scope agenda`, I get a column called “File” that is used as the > top “group by” in the query. I don’t see a way to change that. > > I’d like to see my time divided by different criteria, like the type of work, > which I would define using properties or

Re: [PATCH] oc-natbib: Provide a fallback bibliography style

2023-02-20 Thread Ihor Radchenko
Ihor Radchenko writes: > From f27e5b4f66b7e703f9b2fdaa5c1b5d756d38fd33 Mon Sep 17 00:00:00 2001 > Message-Id: > > From: Ihor Radchenko > Date: Wed, 25 Jan 2023 18:02:49 +0300 > Subject: [PATCH] oc-natbib: Provide a fallback bibliography style Applied, onto main.

Re: RFC on implementation adding buttons beside headings

2023-02-20 Thread Ihor Radchenko
[ Adding Org ML back to CC ] pareto optimal writes: > Do you mean something like extending https://github.com/alphapapa/org-sidebar > to have these instead of directly in the org document? A bit different. What I have in mind is something like (defun yant/insert-interative-button (text

Re: [PATCH] Async evaluation in ob-shell

2023-02-20 Thread Ihor Radchenko
Matt writes: > +(advice-add > + 'ob-shell-async-chunk-callback > + :filter-return > + (lambda ( r) > + (let ((result (car r))) > + (should (string= result "1\n2\n")) ; expect value > + result)) > + `((name . ,session-name))) > ... > +

Re: [PATCH] org-element-timestamp-interpreter: Return daterange anyway, if DATERANGE is non-nil

2023-02-20 Thread Ihor Radchenko
Ilya Chernyshov writes: > So, an option is needed that controls whether to return a > daterange > (even it's possible to return a timerange) or a timerange (if the > dates > in the range are equal). > > I wrote a patch that handles this problem, could you please review > the > code and give

Re: [ANN] orgtbl-fit

2023-02-20 Thread Ihor Radchenko
tbanelwebmin writes: >>> Examples & documentation can be read here: >>> https://github.com/tbanel/orgtblfit/blob/main/README.org >> Interesting. >> Could it be somehow integrated with TBLFM formulas? >> I imagine something like >> >> ? +?*year +?*passengers +?*(year-2016)*passengers >> >> , when

Re: Unicode problem with export of literal contents

2023-02-20 Thread Jens Lechtenboerger
On 2023-02-20, Bruno Barbier wrote: > If you're always using utf-8, here is a way to force it so that > secure-hash can compute the hash. This should work: > >(with-temp-buffer > (let ((coding-system-for-write 'utf-8)) > (insert "Lechtenb\303\266rger") > (secure-hash

Re: [RFC] Backend vs. back-end (was: 2 'echo' bash instructions produce a table)

2023-02-20 Thread Ihor Radchenko
Ihor Radchenko writes: > I am looking at https://techterms.com/definition/backend, and it looks > like "backend" is the correct word we need to use here. Am I missing > something? I looked further, and the situation is not as simple. https://grammarhow.com/backend-back-end-or-back-end/, for

Re: bug with org-agenda? Doesn't list matches for last entry in #+TODO

2023-02-20 Thread Ihor Radchenko
Kevin Layer writes: > I don't see items for @ERRANDS when #+TODO is defined like this: > > #+TODO: @NOW @NEXT @WIP @PENDING @ERRANDS The last item is considered "DONE". See 5.2.5 Setting up keywords for individual files section of the manual. -- Ihor Radchenko // yantar92, Org mode

Re: Unicode problem with export of literal contents

2023-02-20 Thread Bruno Barbier
Jens Lechtenboerger writes: > On 2023-02-17, Bruno Barbier wrote: > >> Here is a way to reproduce that doesn't use org, in case it might help >> to manully fix your encoding issue: >> >>(with-temp-buffer >> (insert "Lechtenb\303\266rger") >> (let ((buffer-file-name

Re: Unicode problem with export of literal contents

2023-02-20 Thread Jens Lechtenboerger
On 2023-02-17, Ihor Radchenko wrote: > Jens Lechtenboerger writes: >> Also, when I call secure-hash on the literal buffer-string, no >> problem arises. > > Org is calling secure-hash on buffer. Calling on buffer-string would > require unnecessary memory allocation to create the string. I can

Re: I want minus-key to give me `-' only

2023-02-20 Thread Colin Baxter
> Colin Baxter writes: > In an org-mode buffer, I notice a depression of the minus-key `-' > now also gives an under-bar. I find this very annoying. I never > insert the subsequent letter `—️' whatever it's called, and I do > not want it. How do I remove this "feature" such

Re: Unicode problem with export of literal contents

2023-02-20 Thread Jens Lechtenboerger
On 2023-02-17, Bruno Barbier wrote: > Here is a way to reproduce that doesn't use org, in case it might help > to manully fix your encoding issue: > >(with-temp-buffer > (insert "Lechtenb\303\266rger") > (let ((buffer-file-name (make-temp-file "mailtest"))) >

Re: I want minus-key to give me `-' only

2023-02-20 Thread General discussions about Org-mode.
Colin Baxter writes: > In an org-mode buffer, I notice a depression of the minus-key `-' now > also gives an under-bar. I find this very annoying. I never insert the > subsequent letter `—' whatever it's called, and I do not want it. How do > I remove this "feature" such that a depression of

I want minus-key to give me `-' only

2023-02-20 Thread Colin Baxter
In an org-mode buffer, I notice a depression of the minus-key `-' now also gives an under-bar. I find this very annoying. I never insert the subsequent letter `—' whatever it's called, and I do not want it. How do I remove this "feature" such that a depression of the minus-key will give me