Re: [BUG] "\fC" macro in ox-man.el [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.2/lisp/org/)]

2025-01-19 Thread onf
On Sun Jan 19, 2025 at 8:43 AM CET, Ihor Radchenko wrote: > "G. Branden Robinson" writes: > >> What about \fC\f[CR]Lorem\fP\fP? > > > > Unreliable. As onf pointed out, not only is the font selection not > > backed up by a stack, but it the identity of "the previous font" is not > > well-defined i

Re: [BUG] "\fC" macro in ox-man.el [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.2/lisp/org/)]

2025-01-19 Thread Ihor Radchenko
"onf" writes: >> I am wondering if the situations like the above should be caught by >> groff linter. Currently, they seem not. > > They actually are: > ... > troff::2: warning: cannot select font 'C' > One two three four. Sorry, I was not clear. What I meant is \fBbold \fIitalic\fP\fP --

Re: New Heading Parsing and org-vcard

2025-01-19 Thread Jonas Damm
I tried that already, it did not work. I tried using the debugging but the I could not understand the output. Ihor Radchenko writes: > Jonas Damm writes: > >> Reading here: https://orgmode.org/Changes.html makes me believe breaking >> changes in orgmode made the seemingly unmaintained org-vcard

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2025-01-19 Thread Ihor Radchenko
[ moving back to emacs-orgmode list only ] Tor-björn Claesson writes: > Excellent! I'll finish the citation follower prototype, so we know what > kind of shape we are aiming for:) It looks like we got no more ideas other than what have been already discussed. So, my tentative plan is the fol

Re: New Heading Parsing and org-vcard

2025-01-19 Thread resource1
I lost org-vcard functionality too when I last upgraded org-mode. I've been using the export function built in to org-contacts in the meantime, but it's pretty bare bones. Given the number of people who try and live in Emacs I'm surprise the loss of contact support hasn't impacted more user

Re: [BUG] "\fC" macro in ox-man.el [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.2/lisp/org/)]

2025-01-19 Thread onf
On Sun Jan 19, 2025 at 3:04 PM CET, Ihor Radchenko wrote: > "onf" writes: > >> I am wondering if the situations like the above should be caught by > >> groff linter. Currently, they seem not. > > > > They actually are: > > ... > > troff::2: warning: cannot select font 'C' > > One two three fou

Re: [BUG] "\fC" macro in ox-man.el [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.2/lisp/org/)]

2025-01-19 Thread onf
On Sun Jan 19, 2025 at 5:38 PM CET, onf wrote: > On Sun Jan 19, 2025 at 3:04 PM CET, Ihor Radchenko wrote: > > "onf" writes: > > >> I am wondering if the situations like the above should be caught by > > >> groff linter. Currently, they seem not. > > > > > > They actually are: > > > ... > > > tr

Re: Link preview generation with new link preview property

2025-01-19 Thread Björn Bidar
Ihor Radchenko writes: > Björn Bidar writes: > >>> IMHO, it would be best to pass image file name/raw image data to >>> `org-link-preview-image-data', not an image object and call >>> `org--create-inline-image' from inside `org-link-preview-image-data'. >>> That way, we can automatically obey Or

Re: New Heading Parsing and org-vcard

2025-01-19 Thread Ihor Radchenko
Jonas Damm writes: > I tried that already, it did not work. I tried using the debugging but > the I could not understand the output. Then, you can share your debugging results, so that we have a chance to help. Or, indeed, you can come back to earlier version of Org mode. -- Ihor Radchenko //

Re: [Patch]: Ignore search option when org-lint local file link

2025-01-19 Thread Lei Zhe
Sorry, it was [[attachment:example.pdf::2]]. The lint for [[file:example.pdf::2]] is fine, since org-element-context returns the raw path without the search option. However, this is not the case for [[attachment:example.pdf::2]]. On Sun, Jan 19, 2025 at 5:57 PM Ihor Radchenko wrote: > > Lei Zhe

ox-reveal

2025-01-19 Thread Sébastien Gendre
Hello. I use ox-reveal and I have a strange behavior: When exporting a full Org document, with headings, I obtain a HTML document with only the title slide. Nothing more. Ox-reveal is not provided by the Org-mode project, so I don't know if it can be discussed on this mailing list. But I don't kn

Re: [Patch]: Ignore search option when org-lint local file link

2025-01-19 Thread Ihor Radchenko
Lei Zhe writes: > Sorry, it was [[attachment:example.pdf::2]]. > The lint for [[file:example.pdf::2]] is fine, since > org-element-context returns the raw path without the search option. > However, this is not the case for [[attachment:example.pdf::2]]. I can reproduce this one. Applied, onto bu

Re: [PATCH] put `org-attach-after-change-hook` at the end of org-attach

2025-01-19 Thread Ihor Radchenko
Ihor Radchenko writes: > Instead, it might make more sense to pass the information about file > changes (if available) to the hook itself directly. > For example, we may obsolete `org-attach-after-change-hook' and introduce > `org-attach-after-change-functions'. Then, we pass attachment dir + >

Re: ox-reveal

2025-01-19 Thread Ihor Radchenko
Sébastien Gendre writes: > Ox-reveal is not provided by the Org-mode project, so I don't know if it > can be discussed on this mailing list. But I don't know where to ask. It can be discussed, but you may get more answers at https://github.com/yjwen/org-reveal - that's where melpa points to (see

Re: ob-haskell support for haskell-ts-mode?

2025-01-19 Thread Ihor Radchenko
Pranshu Sharma via "General discussions about Org-mode." writes: > Can we also remove the requirment of haskell-mode to run code? AFAIU, it is not strictly required, unless you need session support. If you do not use sessions, things should work without haskell-mode. -- Ihor Radchenko // yanta

[DISCUSSION] Contributing policy for WORG

2025-01-19 Thread Ihor Radchenko
Hi, Corwin recently noticed that our https://orgmode.org/worg/worg-about.html page is not very consistent about whom and how should contribute to WORG. One part of that page suggests to "Create an account on Sourcehut" and then push changes freely, while another part suggests going through the ma

Re: [BUG] org-element-interpret-data does not preserve blank lines after elements

2025-01-19 Thread Ihor Radchenko
chris writes: > I'm reporting a potential bug in the `org-element-interpret-data` function of > Org mode. > > *Description:* > > When using `org-element-interpret-data` as the reciprocal of `org-element- > parse-buffer`, I've noticed that blank lines before elements are preserved, > but > blan

Re: ob-haskell support for haskell-ts-mode?

2025-01-19 Thread General discussions about Org-mode.
On 19 January 2025 1:52:28 pm GMT+05:30, Ihor Radchenko wrote: >Pranshu Sharma via "General discussions about Org-mode." > writes: > >> Can we also remove the requirment of haskell-mode to run code? > >AFAIU, it is not strictly required, unless you need session support. >If you do not use session

Re: ob-haskell support for haskell-ts-mode?

2025-01-19 Thread General discussions about Org-mode.
On 19 January 2025 3:45:05 pm GMT+05:30, Ihor Radchenko wrote: >Pranshu writes: > >> I think being able to customise the run-haskell function and the haskell >> buffer name should be enough, since they both use comit > >No, it is not. >We use `haskell-mode', `run-haskell', `inferior-haskell-loa

Re: [PATCH] ob-sql: session + sql.el w/o prompt

2025-01-19 Thread Phil Estival
* [2025-01-17 Fri 06:58 +0100] Ihor Radchenko Phil Estival writes: Is there any specific reason why you are seemingly re-implementing what `sql-product-interactive' does? May we re-use it instead? Yes. When opening a new connection `sql-product-interactive' will systematically ask for input

Re: ox-reveal

2025-01-19 Thread Sébastien Gendre
Ihor Radchenko writes: > It can be discussed, but you may get more answers at > https://github.com/yjwen/org-reveal - that's where melpa points to (see > https://melpa.org/#/ox-reveal) Ah, when I searched on DuckDuckGo for ox-reveal, I got another one with no "Issue" section. https://github.com/h

Re: [PATCH] Fix ox-icalendar export of diary timestamps

2025-01-19 Thread Jack Kamm
Ihor Radchenko writes: >> +To export active timestamps only without diary timestamps, users can >> +set ~org-export-with-timestamps~ and ~org-icalendar-with-timestamps~ >> +to ~active-exclude-diary~. > > Maybe you can emphasize more that "without diary timestamp" is the old > behavior. We often u

Re: [BUG] org-link-preview-file emits image not supported in daemon [9.8-pre (release_9.7.10-127-g07dd3b @ /home/bidar/.local/etc/emacs/lib/org/lisp/)]

2025-01-19 Thread Björn Bidar
Ihor Radchenko writes: > Björn Bidar writes: > >> Can preview be generated without a frame be open, so that when the user >> visits the file after the first frame has been opened it is there. > > Do you mean asking whether Emacs can generate graphics when running as > daemon? AFAIK, no. All the

Re: [O] Rackspace is sponsoring orgmode.org hosting

2025-01-19 Thread Ihor Radchenko
Marcin Borkowski writes: > What about a feed aggregator, bringing together org-related posts from > various blogs? Something similar to http://texample.net/community/ in > TeX world. Now, we have something similar at https://orgmode.org/ ("Project heartbeat"). For actual RSS aggregator, there i

Re: ob-haskell support for haskell-ts-mode?

2025-01-19 Thread General discussions about Org-mode.
On 19 January 2025 2:57:20 pm GMT+05:30, Ihor Radchenko wrote: >Pranshu writes: > >>>AFAIU, it is not strictly required, unless you need session support. >>>If you do not use sessions, things should work without haskell-mode. >> >> When I tried to run code normally, without session, it still req

[Patch]: Ignore search option when org-lint local file link

2025-01-19 Thread Lei Zhe
For the link [[file:example.pdf::2]], org-lint identifies it as an invalid link. This patch aims to address the issue. 0001-Check-local-file-link-ignoring-path-option.patch Description: Binary data

Re: [Patch]: Ignore search option when org-lint local file link

2025-01-19 Thread Ihor Radchenko
Lei Zhe writes: > For the link [[file:example.pdf::2]], org-lint identifies it as an invalid > link. > This patch aims to address the issue. I am unable to reproduce this problem. M-x org-lint does not show any warning after I change the link to point to an existing file. I tested on the lates

Re: ob-haskell support for haskell-ts-mode?

2025-01-19 Thread General discussions about Org-mode.
On 19 January 2025 3:32:33 pm GMT+05:30, Ihor Radchenko wrote: >Pranshu writes: > >> Just uninstall haskell mode, restart emacs, execute babel haskell code block >> without session and see what happens. > >Ok. I see what happens. haskell-mode is not required only in a single >scenario - when :c

Re: New Heading Parsing and org-vcard

2025-01-19 Thread Jonas Damm
I downgraded org mode to make it work. However other things were broken by that, so went back to 9.7.20. I tried to reproduce the error, but for some reason org-vcard works now. If i can reproduce the error, i will message again. Thanks! Ihor Radchenko writes: > Jonas Damm writes: > >> I tried

Re: [BUG] Warning (org-element): org-element--cache: Org parser error in Tmp.org::47694. Resetting. [9.7.18 (9.7.18-1463ab @ /home/tk/.emacs.d/elpa/org-9.7.18/)]

2025-01-19 Thread Torben Knudsen
Once I newer received any errors but since the last year or so I have received some but not a lot and I newer seen any effect of them. Maybe it is since I had ubuntu 24.04. Torben Knudsen Automation and Control Aalborg University From: Ihor Radchenko Sent: Satu