Re: Unicode problem with export of literal contents

2023-02-16 Thread Jens Lechtenboerger
Hi Bruno, On 2023-02-17, Bruno Barbier wrote: > Hi Jens, > > Jens Lechtenboerger writes: > >> ... >> Note that I insert contents literally because I do not want >> ‘find-file-hook’, automatic uncompression, etc. (which are avoided >> according to the doc string of

Re: [PATCH] Allow customizing commands affected by `org-fold-catch-invisible-edits' (was: Should we extend org-catch-invisible-edits to more interactive commands? (was: Catching invisible edits: probl

2023-02-16 Thread Alain . Cochard
Ihor Radchenko writes on Thu 16 Feb 2023 15:06: > As the docstring states, the check is performed at point. Checking > the actual modifications would be rather tricky. It might be done, > but there are so many caveats that the code will be fragile. OK, too bad. Thanks for trying. --

Re: New Org (from main) and slow clocking

2023-02-16 Thread Marcin Borkowski
On 2023-02-17, at 07:51, Marcin Borkowski wrote: > Hi all, > > I have just updated my Org (from the main branch, Org mode version > 9.6.1, release_9.6.1-253-g74eb0f), and I noticed an issue with clocking. > I have an "ongoing" task which already accumulated 7000+ clock entries, > and clocking

New Org (from main) and slow clocking

2023-02-16 Thread Marcin Borkowski
Hi all, I have just updated my Org (from the main branch, Org mode version 9.6.1, release_9.6.1-253-g74eb0f), and I noticed an issue with clocking. I have an "ongoing" task which already accumulated 7000+ clock entries, and clocking in takes close to 90 seconds. It was instantaneous before

Re: Not all reftex commands within latex block generate appropriate message

2023-02-16 Thread Alain . Cochard
Ihor Radchenko writes on Thu 16 Feb 2023 13:00: > I'd say that it is reftex bug. It is generally expected that major > modes do work in non-file buffers in Emacs. Thanks. I have sent a message to bug-auc...@gnu.org. -- EOST (École et Observatoire des Sciences de la Terre) ITE (Institut

Re: Unicode problem with export of literal contents

2023-02-16 Thread Bruno Barbier
Hi Jens, Jens Lechtenboerger writes: > ... > Note that I insert contents literally because I do not want > ‘find-file-hook’, automatic uncompression, etc. (which are avoided > according to the doc string of insert-file-contents-literally). > > Could the old behavior be restored? By using

Re: Link type in org-mode, but with org-roam ?

2023-02-16 Thread Jean Louis
* Clément Payard [2023-02-16 13:16]: >  First of all, thank you for your answer. > > Sorry, I am not a researcher :(. I'm just a modest student with a passion > for emacs, org-mode and PKM environment. So I'm not a big thing ^^. But I > think I have a working brain and good ideas... so here I

Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]

2023-02-16 Thread Jean Louis
* Ihor Radchenko [2023-02-15 23:38]: > Bruno BEAUFILS writes: > > > When using the org-latex-export-to-pdf on any foo.org file I get the > > foo.pdf file produced the right way but I also get the foo.tex file. > > > > I think that the whole point of exporting to pdf is only to get the pdf > >

Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]

2023-02-16 Thread Jean Louis
* Bruno BEAUFILS [2023-02-15 21:52]: > When using the org-latex-export-to-pdf on any foo.org file I get the > foo.pdf file produced the right way but I also get the foo.tex file. > > I think that the whole point of exporting to pdf is only to get the pdf > file, avoiding the need to keep the

Re: [Bug] 'org-font-lock-extra-keywords' appear next to the parent heading when its subtree is folded.

2023-02-16 Thread Philipp Kiefer
Hi Ihor, Sorry for the delay, but I had to weed out my init.el to make sure none of the settings were interfering with the problem I was describing. Please find attached a sample Org file with the bug description and steps to reproduce the issue at the bottom of the file. (Also pasting it

Re: Template for ob- packages?

2023-02-16 Thread Thomas S. Dye
Aloha Lawrence, Galaxy Being writes: Is there a generic starter template for writing an ob- package, some sort of example code? ⨽ Lawrence Bottorff Grand Marais, MN, USA borg...@gmail.com Yes, see org-contrib/babel/ob-template.el on Worg. All the best, Tom -- Thomas S. Dye

Re: Template for ob- packages?

2023-02-16 Thread Matt
On Thu, 16 Feb 2023 16:10:51 -0500 Galaxy Being wrote --- > Is there a generic starter template for writing an ob- package, some sort of > example code? Yes: https://git.sr.ht/~bzg/worg/tree/master/item/org-contrib/babel/ob-template.el When I started learned Babel, I took notes

Template for ob- packages?

2023-02-16 Thread Galaxy Being
Is there a generic starter template for writing an ob- package, some sort of example code? ⨽ Lawrence Bottorff Grand Marais, MN, USA borg...@gmail.com

Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]

2023-02-16 Thread Bruno BEAUFILS
On Thu, Feb 16, 2023 at 07:47:19PM +0100, Hanno Perrey wrote: > This is just an (semi-)educated guess as I do not have Emacs in > front of me right now, but I would expect the org-latex-compile > would only be called when actually compiling the LaTeX code that is > to say producing the PDF. As

Re: Timestamp and timestamp range definitions

2023-02-16 Thread Ilya Chernyshov
Ihor Radchenko writes: Updating the manual will make more sense. Would you mind writing a patch? Of course. >From da84673301de7e9453cb359536235d8ce56399f1 Mon Sep 17 00:00:00 2001 From: Ilya Chernyshov Date: Fri, 17 Feb 2023 01:23:27 +0700 Subject: [PATCH] org-manual.org: Update timestamp

Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]

2023-02-16 Thread Hanno Perrey
Bruno BEAUFILS skrev: (16 februari 2023 15:24:37 CET) >I thought that when creating latex file it should also remove the >produced latex which could be a majour problem. > >In fact it does not, which I do not understand why when looking at the >code of org-latex-compile. I am surely missing

Re: [POLL] Proposed syntax for timestamps with time zone info (was: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda)

2023-02-16 Thread Jean Louis
* Ihor Radchenko [2023-02-15 18:17]: > Jean Louis writes: > > > That is not same case as Ihor, when he designated it as > > > > 2030-02-09 12:00 -0800 @UTC > > because there are no offsets @UTC time zone. > > I do not recall providing such example. May you point me to the message > where you

Re: [POLL] Proposed syntax for timestamps with time zone info (was: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda)

2023-02-16 Thread Jean Louis
* Thomas S. Dye [2023-02-14 19:50]: > > What Ihor proposed is time stamp like: > > > > 2023-02-14 Tue 12:00:00 +0800 @UTC > > > > Though I just say when we put "UTC" that means normally "UTC time > > zone" and such has no prefix that is positive or negative, can be > > zero. > > Sigh. UTC is

Re: [PATCH] Allow customizing commands affected by `org-fold-catch-invisible-edits' (was: Should we extend org-catch-invisible-edits to more interactive commands? (was: Catching invisible edits: probl

2023-02-16 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > However, I could not have it work for my case so far. I tried to add > "(undo . insert)", "(undo . delete-backward)" and "(undo . delete)" to > 'org-fold-catch-invisible-edits-commands', one by one and together, > and all values of

[BUG] Recurrent error about timer running Pomodoro extension. [9.6 (9.6-??-bed47b4 @ /home/bill/.emacs.d/.local/straight/build-28.1/org/)]

2023-02-16 Thread Bill McKelvie
I was running a Pomodoro timer from my professional development log and kept getting an error. Emacs would slow down so that there would be a delay between pressing a key and the character appearing on screen. Shutting down and restarting helps for a while but the error then recurs. The error

[BUG] org-indent and display text property not preserving column when moving

2023-02-16 Thread Darius Foo
Hi, I've encountered what seems like a bug with org-indent. When I move the cursor using the arrow keys on lines with the display text property set, its column isn't preserved, jumping ahead or back by a fixed amount. This issue actually came up with org-modern, but I'm minimized it to the

[BUG] [9.6 (9.6-??-971eb6885 @ /home/abucz/.emacs.d/.local/straight/build-28.2/org/)]

2023-02-16 Thread Matthew Czuba
To: emacs-orgmode@gnu.org Subject: [BUG] [9.6 (9.6-??-971eb6885 @ /home/abucz/.emacs.d/.local/straight/build-28.2/org/)] From: Matthew Czuba --text follows this line-- Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a

Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]

2023-02-16 Thread Bruno BEAUFILS
On Thu, Feb 16, 2023 at 01:20:36PM +0100, Hanno wrote: > which likely change after the export. It might be just my ingrained > routines speaking All replies I received let me discover that this is clearly a question of habits and routines for some of us :-) > Fair enough. Just out of curiosity:

Re: Not all reftex commands within latex block generate appropriate message

2023-02-16 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > Fraga, Eric writes on Wed 15 Feb 2023 12:30: > > > I think this is indeed likely to be the reason. > > Thanks for the confirmation. I was hoping that someone can arrange so > that the self explanatory message is shown each time, not the cryptic > one :-) I'd

Re: Link type in org-mode, but with org-roam ?

2023-02-16 Thread Ihor Radchenko
Cletip Cletip writes: > As you know, external links can be of the form "X:path", where X equals id, > file, gnus etc. Note: Org-roam stores all types of links. > So we can make the following type of links: > [[A:B][description]] > where > - A is the id of a note known by org-roam > - B is the id

Re: Emphasis issues with special blocks and latex

2023-02-16 Thread Ihor Radchenko
User Name writes: > I am having several issues with the fontification of emphasis markers in > org-special-blocks and inside latex equations in my org-files. > > I have changed `org-emphasis-regexp-components` to be the following... I advice against playing with this variable. It only affects

Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]

2023-02-16 Thread Hanno
Bruno BEAUFILS skrev: (16 februari 2023 11:15:31 CET) >You just still can export the original source file and convert it to >latex if needed. That is true of course, but it is an extra step. I would need to remember it when creating the PDF as I export often from my notes which likely change

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

2023-02-16 Thread Max Nikulin
On 15/02/2023 05:53, Gregor Zattler wrote: * Tim Cross [2023-02-04; 07:01 +11]: I don't run Debian or Ubuntu anymore. However, I do recall that debian does use a modified Emacs startup which is not part of the standard Emacs distribution. They do this to enable the ability to have multiple

[FR] Fontifying src-blocks with no language specified

2023-02-16 Thread carsten
Fontifying src-blocks with a missing language would allow being able to theme src-blocks without having the unthemed text of languages fallback to whatever color the src-blocks are set to. I envision this could be done with an empty string in org-src-block-faces. See the below example where

Unicode problem with export of literal contents

2023-02-16 Thread Jens Lechtenboerger
Hi there, consider this piece code, where unicode-file.org contains umlauts (say, just the word “Lechtenbörger”): (org-export-string-as (with-temp-buffer (insert-file-contents-literally "unicode-file.org") (buffer-string)) 'html t) With Org 9.6.1 from Emacs master, I get the following

Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]

2023-02-16 Thread Alain . Cochard
Bruno BEAUFILS writes on Thu 16 Feb 2023 11:03: > OK but you still can do this by just export the file to LaTeX > (buffer or file) when needed. In general, I want to see the final result, if only to check that it is correct latex (as far as I can see, any crap is happily transformed into a

Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]

2023-02-16 Thread Bruno BEAUFILS
On Wed, Feb 15, 2023 at 08:37:51PM +, Ihor Radchenko wrote: > The problem with LaTeX export is that it is not always possible to know > if the process truly finished without errors or not. How so? > I guess we might make this a user options, if more people are > interested. I personnaly

Re: bug#61546: [PATCH] Fix some org functionality breaking upon changing `calendar-buffer'

2023-02-16 Thread Ihor Radchenko
Thuna writes: >> If not, you will need to add TINYCHANGE cookie to the commit >> message. See https://orgmode.org/worg/org-contribute.html#first-patch > That is a bit of an issue. Do org contributions and emacs contributions > count towards the same 15 LoC limit? If so, I have already

Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]

2023-02-16 Thread Bruno BEAUFILS
On Thu, Feb 16, 2023 at 06:54:16AM +0100, Hanno Perrey wrote: > I see the export to PDF as a shortcut only and appreciate having the > .tex file besides it. As the TeX file is the most reliable way to > regenerate the exact PDF again later again (even on other peoples' > machines without Emacs

Re: Bug: org-latex-export-to-pdf does not remove .tex file [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]

2023-02-16 Thread Bruno BEAUFILS
On Wed, Feb 15, 2023 at 09:52:52PM +0100, alain.coch...@unistra.fr wrote: > Sometimes I select a part of the .tex and send it to someone who does > not use Org mode, for inclusion into his own tex file. One can also > think about doing things that are not (yet) possible with Org mode (or > that