Re: Best way to represent a directory tree in Org-mode

2025-04-04 Thread Jean Louis
* Sébastien Gendre [2025-03-30 22:55]: > > Exemple of LaTeX verbatim that lose its special chars when exported to > PDF: > > \begin{verbatim} > /test > ├── file-a > ├── file-b > └── file-c > \end{verbatim} here below is version that works: - #+TITLE: Testing #+

Re: Feature discussion: Search field and local search engine

2025-04-04 Thread Sébastien Gendre
A third solution would be to add a search feature to Org-mode, that could be used from Org-mode and exported in HTML. I think it could be done in 3 steps. # Step 1: Search feature in Org-mode only This step would add the feature of searching files and items in Org-mode files. This search coul

Re: Re

2025-04-04 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > For lualatex you don't need the \fontspec package. > > #+LATEX_COMPILER: lualatex > #+LATEX_HEADER: \setmonofont{DejaVu Sans Mono} % or another monospace font > with Unicode support We should really provide some way to select fonts for lualatex and xelatex

Fold persistence for org and others

2025-04-04 Thread Jacob Fong
Hello friends. I've created a small package that persists folds made by a number of different modes, including org-mode. It supports overlay-based folding as well as the newer text prop style. It may be of interest here. https://github.com/jcfk/savefold.el Best, Jacob

Re: Search tools for Org (Re: Graph of writing)

2025-04-04 Thread Dr. Arne Babenhauserheide
Max Nikulin writes: > On 03/04/2025 15:15, Mayuresh Kathe wrote: >> Would you be in a position to suggest a search tool (inside Emacs) for >> going through my content produced and managed via Orgmode and/or Roam? >> Something like Google search, but only limited to my local information? helm-org

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-04 Thread Karthik Chikmagalur
> Let’s start the discussion. We need feedback on this. > > Pros and Contras of moving on to using lualatex as default compiler. Another vote for NOT changing the default from pdflatex. In the upcoming LaTeX preview feature rewrite, previews using lualatex are 10-50x slower than previews with pdf

[BUG?] in pcomplete???

2025-04-04 Thread Pedro Andres Aranda Gutierrez
Hi, when working on the font stuff I have started noticing that (pcomplete-completiosn-at-point) is apparently not providing completions for the #+LATEX... directives, as oppposed to #STARTUP, #+OPTIONS,, #+BEGIN_... and #END_... Is this a bug or just a perception of mine? Thx, /PA -- Fragen sind

Possible bug with speed commands, macros and flyspell-mode (was: One big file or multiple small ones)

2025-04-04 Thread Rens Oliemans
Ihor Radchenko writes: > I am unable to reproduce neither with the latest main nor with Emacs 30. That is strange, I am able to reproduce as well, at least after activating (flyspell-mode). Both on current main: Org mode version 9.8-pre (release_9.7.26-6-gac9bd5 @ /home/rens/Projects/org/org

Re: Search tools for Org (Re: Graph of writing)

2025-04-04 Thread Mayuresh Kathe
Mr Nikulin, thanks for sharing this information. ~Mayuresh From: Maxim Nikulin on behalf of Max Nikulin Sent: 04 April 2025 08:16 PM To: Mayuresh Kathe; emacs-orgmode@gnu.org Subject: Search tools for Org (Re: Graph of writing) On 03/04/2025 15:15, Ma

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-04 Thread Pedro Andres Aranda Gutierrez
Hi Arne, Thanks a lot. Really cool. My only concern is that it means adding a non-standard package to the TeX. I had no problems, but some people may struggle with the instructions ;-) Best, /PA > El 3 abr 2025, a las 23:13, Dr. Arne Babenhauserheide > escribió: > > Pedro Andres Aranda Gutie

Re: [FR] org-babel-n-tangle

2025-04-04 Thread Lei Zhe
> how can users of `org-babel-tangle-single-block' figure out which variant of > the return value is to expect? It returns the correct relative or absolute link that users can expect when :tangle is a single path, while it returns an absolute link when :tangle is a list. It’s a tradeoff, though, b

Search tools for Org (Re: Graph of writing)

2025-04-04 Thread Max Nikulin
On 03/04/2025 15:15, Mayuresh Kathe wrote: Would you be in a position to suggest a search tool (inside Emacs) for going through my content produced and managed via Orgmode and/or Roam? Something like Google search, but only limited to my local information? I have never tried the following tool

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-04 Thread Pedro Andres Aranda Gutierrez
Hi Colin sorry that you find it "a push" and "bizarre". There is nothing of that sort... I was just trying to probe for arguments (pros and cons, hence [DISCUSSION]) to learn what the situation is "outside my bubble". I too have org-latex-compiler set to lualatex for some time ;-) Cheers, /PA On

Question about getting properties of org entry

2025-04-04 Thread Doerthous
Hi all, For getting properties of an org entry by ID, I currently (org 9.7) use (org-entry-get (org-id-find ID t) PROP), but `org-id-find' seems too slow. So I wonder this there any recommended ways to do this job? or, maybe we can cache also the marker returned by `org-id-find' in `org-id-locat

Re: Best way to represent a directory tree in Org-mode

2025-04-04 Thread Leo Butler
On Sun, Mar 30 2025, Jean Louis wrote: > * Sébastien Gendre [2025-03-30 22:55]: >> >> Exemple of LaTeX verbatim that lose its special chars when exported to >> PDF: >> >> \begin{verbatim} >> /test >> ├── file-a >> ├── file-b >> └── file-c >> \end{verbatim} > > here below is version that works:

Graph of writing

2025-04-04 Thread Mayuresh Kathe
Is there any means to introduce the graph oriented features like in https://obsidian.md/ to handle various nodes in a map? Best, ~Mayuresh

Re: [DISCUSSION] Setting LuaLaTeX as default when exporting to LaTeX/PDF

2025-04-04 Thread Rohit Patnaik
Oops, my mistake. I was actually calling `luatex' instead of `lualatex'. The document compiles fine with `lualatex'. However, noted, it did take noticeably longer. Thanks, Rohit

Re: Re

2025-04-04 Thread tbanelwebmin
On 25-03-31 18:37, Ihor Radchenko wrote: We should really provide some way to select fonts for lualatex and xelatex automatically... `x-list-fonts' should give us a way to check if a given font is available and we can assemble a list of common fonts that might be used. `font-has-char-p' can chec

Parsing of incomplete LaTeX environments

2025-04-04 Thread Karthik Chikmagalur
org-element parses the following (correctly) as a `latex-environment' element: \begin{align} x = 1 \end{align} As verified by placing the cursor anywhere in that text block and calling (org-element-context). If I delete the last line, so it looks like \begin{align} x = 1 And now place the curs

Borrowing the syntax highlighter from an a other mode

2025-04-04 Thread Phil Estival
Hello, I've been working with SQL Procedural Languages lately and I would like to known if it's possible to distinguish, inside of source blocks, the syntax coloring from the interpreter the source is to be run with. For instance, pl/python is run in sql-mode, what it is, (add-to-list 'org-sr

Re: [BUG] Got error opening existing org file in emacs 30.1 [9.7.11 (release_9.7.11 @ /usr/share/emacs/30.1/lisp/org/)]

2025-04-04 Thread Ihor Radchenko
Steinar Bang writes: >> Ihor Radchenko : > >> What about the attached? > > Hm... seems to be working from a brief test. > > Applied with "patch -p1" on top of currrent org-mode git HEAD and then > ran "make autoloads" and then started a fresh emacs with > emacs ~/git/bang-bompom/README.org

Re: Last line LaTeX environments fontified incorrectly

2025-04-04 Thread Ihor Radchenko
Rudolf Adamkovič writes: > I recently reported a bug to Modus Themes [1] about the face of the last > line of LaTeX environments not extending to the edge of the window. > > Turns out, the problem is in Org or Emacs, not Modus Themes. > > REPRODUCTION STEPS: > ... May you try the attached patch?