Re: [BUG] ob-sql should escape the password [9.7.3 (9.7.3-2f1844 @ /home/andrea/.emacs.d/elpa/org-9.7.3/)]

2024-06-06 Thread Phil
* [2024-06-07 00:58] Andrea: org-babel-execute:sql. This function extracts the password to connect to your database of choice as dbpassword. It then uses it like this: (format "PGPASSWORD=%s " dbpassword) If the password contains an & character, the execution of a block fails. I

Re: [BUG] org-lint: Spurious warning from 'misplaced-heading lint-checker [9.7.2 (release_N/A-N/A-88dd2c @ /home/user/.emacs.d/elpa/org-9.7.2/)]

2024-06-06 Thread Suhail Singh
Ihor Radchenko writes: > "Suhail Singh" writes: > >> When there is, say, an "example" result block that is indented (i.e., >> the entire block including the delimiters is indented) and it contains >> some asterisks in the middle, org-lint considers it to be a possible >> case of

Re: [PATCH] Add support for shortdoc link type

2024-06-06 Thread Bruno Cardoso
On 2024-06-06, 11:53 +, Ihor Radchenko wrote: > > Thanks! > Applied, onto main, with amendments. > I re-worded the manual and news entries, moved the news entry to new > features, addressed compiler warnings, and added a FIXME marking the > Emacs version check for removal when we drop Emacs

[BUG] ob-sql should escape the password [9.7.3 (9.7.3-2f1844 @ /home/andrea/.emacs.d/elpa/org-9.7.3/)]

2024-06-06 Thread Andrea
Hello there, thanks for Org Mode! ob-sql.el has a function org-babel-execute:sql. This function extracts the password to connect to your database of choice as dbpassword. It then uses it like this: (if dbpassword (format "PGPASSWORD=%s " dbpassword) "") If the password

Agenda export to ics file

2024-06-06 Thread John Helly
Aloha. I'm a long-time user of emacs, org-mode for about 10 years but cannot figure out how to export DEADLINE events from org-agenda to org-icalendar-export-to-ics. I've found references to setting the org-icalendar-use-deadline variable but haven't yet found the successful incantation to

Re: [ANN] Org mode 9.7 is out

2024-06-06 Thread Juergen Fenn
Am 06.06.24 um 17:17 Uhr schrieb Ihor Radchenko: > Juergen Fenn writes: > >> Am 06.06.24 um 08:20 Uhr schrieb Visuwesh: >>> Thanks for the analysis. Given that Alan says GNUStep cannot handle >>> non-text clipboard items, I cannot propose anything myself. It would be >>> nice if a Mac user

Re: [BUG] org-lint: Spurious warning by 'suspicious-language-in-src-block [9.7.2 (release_N/A-N/A-88dd2c @ /home/user/.emacs.d/elpa/org-9.7.2/)]

2024-06-06 Thread Ihor Radchenko
Suhail Singh writes: > Ihor Radchenko writes: > >> Indeed. But I wanted to nudge you to do a bit better :) > > "Better" here is subjective and we have a difference in opinion, which > is okay. While I am not motivated to submit such an alternative patch, > I also am not aware of any common

Re: ob-sql-mode/session

2024-06-06 Thread Ihor Radchenko
Phil writes: > Yes, it is. The re-wiring will need to federate > and differentiate some command-line options > without them clashing. Of course it's easier to > get it operational on databases one is used to work > with. > I'll be testing further these new functions in real > conditions before,

Re: [BUG] org-capture: %\N template expansion

2024-06-06 Thread Ihor Radchenko
Bruno Cardoso writes: > On 2024-06-05, 11:29 +, Ihor Radchenko wrote: > >> See the attached tentative patch. >> >> I introduced a new placeholder - %\*N. It refers to _all_ the prompts, >> unlike %\N. If you have better ideas about syntax, please share. >> > > Thank you, Ihor! I tested it

Re: [ANN] Org mode 9.7 is out

2024-06-06 Thread Ihor Radchenko
Juergen Fenn writes: > Am 06.06.24 um 08:20 Uhr schrieb Visuwesh: >> Thanks for the analysis. Given that Alan says GNUStep cannot handle >> non-text clipboard items, I cannot propose anything myself. It would be >> nice if a Mac user can write a report and send it to the Emacs >> developers.

Re: Very slow getting tags for completion after 9.7 upgrade

2024-06-06 Thread Ihor Radchenko
Christian Moe writes: > After upgrading to 9.7 (still on Emacs 27.1), I'm seeing very long waits > when trying to use tag completion in large files, whether with C-c C-q, > %^g in capture templates or running (org-get-buffer-tags) directly. This > applies both to 9.7.1 and 9.7.2 (on two

Re: [ANN] Org mode 9.7 is out

2024-06-06 Thread Juergen Fenn
Am 06.06.24 um 08:20 Uhr schrieb Visuwesh: > Thanks for the analysis. Given that Alan says GNUStep cannot handle > non-text clipboard items, I cannot propose anything myself. It would be > nice if a Mac user can write a report and send it to the Emacs > developers. Perhaps Juergen can do it?

Re: [PATCH] Add support for shortdoc link type

2024-06-06 Thread Ihor Radchenko
Bruno Cardoso writes: > The attached patch is now rebased to new Org version. Thanks! Applied, onto main, with amendments. I re-worded the manual and news entries, moved the news entry to new features, addressed compiler warnings, and added a FIXME marking the Emacs version check for removal

Re: Structure templates moving point

2024-06-06 Thread Ihor Radchenko
Psionic K writes: > Sorry, I didn't intend to keep digging. I would need to debug the buffer > display behavior to find out why frames were being created to make a > reproduction. Ok. Feel free to submit a more detailed bug report if you find a time to create a reproducer. For now, there is

Re: Structure templates moving point

2024-06-06 Thread Psionic K
Sorry, I didn't intend to keep digging. I would need to debug the buffer display behavior to find out why frames were being created to make a reproduction. The fallbacks I removed from `display-buffer-fallback-actions' were the ones that create frames. On Thu, Jun 6, 2024 at 7:18 PM Ihor

Re: Structure templates moving point

2024-06-06 Thread Ihor Radchenko
Psionic K writes: > I made some changes to my buffer display settings. When the structure > template choice interface does not fall back to creating a frame, it > does not exhibit the errant point behavior. > > In any case, after creating the comment block, the point should > probably move

Re: Structure templates moving point

2024-06-06 Thread Psionic K
I made some changes to my buffer display settings. When the structure template choice interface does not fall back to creating a frame, it does not exhibit the errant point behavior. In any case, after creating the comment block, the point should probably move inside the block like it does for

Re: Doubt about writing before PROPERTIES

2024-06-06 Thread Ihor Radchenko
Kepa writes: > I would like to know if this "syntax" is ok or if I shouldn't write anything > in the first line after a headline: > > EXAMPLE 1: > > ** PROY CLIENT > DEADLINE: <2024-07-03 mi.> (26 weeks excluding week 52, ready) > :PROPERTIES: This will happen to work, but I do not recommend.

Doubt about writing before PROPERTIES

2024-06-06 Thread Kepa
Hi I would like to know if this "syntax" is ok or if I shouldn't write anything in the first line after a headline: EXAMPLE 1: ** PROY CLIENT DEADLINE: <2024-07-03 mi.> (26 weeks excluding week 52, ready) :PROPERTIES: :DIR: c:/CLIENT :END: ETC *** ETC EXAMPLE 2: ** PROY CLIENT

Very slow getting tags for completion after 9.7 upgrade

2024-06-06 Thread Christian Moe
Hi, After upgrading to 9.7 (still on Emacs 27.1), I'm seeing very long waits when trying to use tag completion in large files, whether with C-c C-q, %^g in capture templates or running (org-get-buffer-tags) directly. This applies both to 9.7.1 and 9.7.2 (on two different machines with similar

Re: [ANN] Org mode 9.7 is out

2024-06-06 Thread Visuwesh
[புதன் ஜூன் 05, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >> BTW, we might have similar problems in Windows too. See this thread in >> emacs-devel when yank-media was initially added: >> https://yhetil.org/emacs-devel/837ddk9tc8@gnu.org > > Looking at that thread, I see >