what is the purpose of "This link has already been stored"?

2023-06-27 Thread Samuel Wales
in maint and bugfix i frequently do org-store-link on a heading that has a properties drawer with an id in it. my intent is to store it so that i can paste the link later with org-insert-link. i frequently get "This link has already been stored". perhaps this is meant to teach me that i can

Re: Preserving non breaking spaces in HTML export (maybe other?)

2023-06-27 Thread Max Nikulin
On 27/06/2023 18:14, Étienne Deparis wrote: Oh, very sorry, actually it effectively leaves the spaces as this in the output file. I was confused by Firefox, who makes the replacement  (interpret non-breaking spaces UTF-8 char as breaking, and replace them by regular space when copy/pasting

Re: Preserving non breaking spaces in HTML export (maybe other?)

2023-06-27 Thread Max Nikulin
On 27/06/2023 18:14, Étienne Deparis wrote: Oh, very sorry, actually it effectively leaves the spaces as this in the output file. I was confused by Firefox, who makes the replacement  (interpret non-breaking spaces UTF-8 char as breaking, and replace them by regular space when copy/pasting

Re: [BUG] Warning (org-element-cache) [9.6.4 ( @, /nix/store/k8k0vpylhia0i8f95i8wxqgqkswijgz5-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6.4/)]

2023-06-27 Thread Ihor Radchenko
"Peter J. Jones" writes: >> Are you using some kind of non-standard auto-revert package or settings >> for auto-revert-mode? > > No, just standard auto-revert-mode. > > As I mentioned previously, I run multiple Emacs daemons. This happens > when I change an org file in one daemon instance and

Re: [BUG] Warning (org-element-cache) [9.6.4 ( @, /nix/store/k8k0vpylhia0i8f95i8wxqgqkswijgz5-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6.4/)]

2023-06-27 Thread Peter J. Jones
On Tue, 27 Jun 2023 03:38:34 -0700, Ihor Radchenko wrote: > Something is changing the buffer while bypassing > `before-change-functions'/`after-change-functions'. > > Are you using some kind of non-standard auto-revert package or settings > for auto-revert-mode? No, just standard

Re: org-todo-state-tags-triggers not working with regexp?

2023-06-27 Thread Ihor Radchenko
Ypo writes: > I have tried gptel inside emacs (I'm sorry, but I need to tell it) and I > got this code: > > #+begin_src emacs-lisp > (defun my-org-trigger-function (state) >   "Remove all tags when state changes to 'DONE'" >   (when (string= state "DONE") > ... > (add-hook 'org-trigger-hook

Re: Preserving non breaking spaces in HTML export (maybe other?)

2023-06-27 Thread Ihor Radchenko
Étienne Deparis writes: >>> - spaces to be replaced by their HTML entity (either or >>> ) >> >> You can achieve it using space entities. > > I’m not sure to understand your proposal: directly write > into my > org document? You can write \nbsp{}. See

Re: org-todo-state-tags-triggers not working with regexp?

2023-06-27 Thread Ypo
Hi, Ihor. I have tried gptel inside emacs (I'm sorry, but I need to tell it) and I got this code: #+begin_src emacs-lisp (defun my-org-trigger-function (state)   "Remove all tags when state changes to 'DONE'"   (when (string= state "DONE")     (org-toggle-tag nil 'remove))) (add-hook

Re: Preserving non breaking spaces in HTML export (maybe other?)

2023-06-27 Thread Étienne Deparis
mar. 27 juin 2023 à 12:54, yanta...@posteo.net a écrit : I cannot reproduce. Oh, very sorry, actually it effectively leaves the spaces as this in the output file. I was confused by Firefox, who makes the replacement  (interpret non-breaking spaces UTF-8 char as breaking, and replace

Re: How to install org-protocol

2023-06-27 Thread Ypo
I think it's OK, since I was abble to do it ;D Windows setup El 26/06/2023 a las 12:27, Max Nikulin escribió: Do you have any suggestions concerning the configuration recipe on Worg?

Re: How to export to the simplest possible HTML?

2023-06-27 Thread Max Nikulin
On 08/06/2023 22:18, Thomas Redelberger wrote: http://web222.webclient5.de/doc/swdev/emacs/orgmode/html At this page: #+BIND: org-html-viewport nil I do not need viewport information in the HTML. On 26/06/2023 02:56, Marcin Borkowski wrote: Do you mean this?

Re: Preserving non breaking spaces in HTML export (maybe other?)

2023-06-27 Thread Ihor Radchenko
Étienne Deparis writes: > Ceci est un exemple : > > N’est-il pas interessant ? > ... > ... > However, after export all those spaces have disapeared. I cannot > find > where in the code this replacement is made, thus if one know > better how > the exporter run here, it would be great to

Preserving non breaking spaces in HTML export (maybe other?)

2023-06-27 Thread Étienne Deparis
Hi, If I’m not wrong, I think I just came across a little issue while using HTML export in org mode. As a french writer, we use a lot of non-breaking spaces¹ in various situation. For exemple before double column or question mark: Ceci est un exemple : N’est-il pas interessant ? ¹

Re: [BUG] Warning (org-element-cache) [9.6.4 ( @, /nix/store/k8k0vpylhia0i8f95i8wxqgqkswijgz5-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6.4/)]

2023-06-27 Thread Ihor Radchenko
"Peter J. Jones" writes: >> Thanks, but may you also share the warning text? It contains information >> about what exactly is wrong. > ... > Warning (org-element-cache): org-element--cache: Warning(rfa.org): > Unregistered buffer modifications detected (91281 != 91441). Resetting. > If this

Re: [BUG] Source block indentation does not work properly for yaml-mode [9.6.6 ( @ /home/user/.emacs.d/elpa/org-9.6.6/)]

2023-06-27 Thread Sébastien Miquel
Ihor Radchenko writes: This is not a problem. We can just apply appropriate 'display property in `org-src-font-lock-fontify-block', manually replacing the tab with appropriate number of spaces (as in the origin buffer). Ok, that works, thanks. Here are two patches, the first that removes the