Re: Properly handle defaults in org-set-property

2023-02-02 Thread Janek F
--- Ihor Radchenko schrieb am Donnerstag, 2. Februar 2023 um 12:14: > Janek F xer...@pm.me writes: > > > That is exactly what I use, as you can see in my dotfiles: > > https://code.ftt.gmbh/janek/dotfiles/src/branch/main/.config/doom/config.el#L293 > > > > But it leads t

Re: Properly handle defaults in org-set-property

2023-02-01 Thread Janek F
: > Janek F xer...@pm.me writes: > > > As discussed in > > https://emacs.stackexchange.com/questions/71774/pass-default-value-to-org-set-property/71777, > > providing a default to org-set-property does not always work. > > > > It calls `org-read-property-value`,

Properly handle defaults in org-set-property

2022-09-16 Thread Janek F
As discussed in https://emacs.stackexchange.com/questions/71774/pass-default-value-to-org-set-property/71777, providing a default to org-set-property does not always work. It calls `org-read-property-value`, which only uses the supplied default value if it can compute a list of allowed values f

Re: [BUG] org-attach-id-ts-folder-format fails on customized IDs [9.6 (9.6-??-2e9999783)]

2022-08-12 Thread Janek F
o consider all edge cases. It simply should not error out on ids in a different format. --- Original Message --- Max Nikulin schrieb am Freitag, 12. August 2022 um 17:35: > On 21/07/2022 02:12, Janek F wrote: > > > However I tend to customize IDs for important files by

Re: [PATCH] Re: [BUG] org-attach-id-ts-folder-format fails on customized IDs [9.6 (9.6-??-2e9999783)]

2022-08-02 Thread Janek F
(format "%s/%s" (substring id 0 2) (if (> (seq-length id) 2) (substring id 2) id)) ) (setq org-attach-id-to-path-function-list '(xf/org-attach-id-folder-format)) --- Original Message --- Ihor Radchenko schrieb am Samstag, 23. Juli 2022 u

image-file-name-regexp: Wrong type argument: characterp

2022-08-02 Thread Janek F
Hello, I wanted to mark certain filenames as images and added this to my config.el: (add-to-list 'image-file-name-regexps "/preview/") But when I run `org-toggle-inline-images` now, I get the following error. image-file-name-regexp: Wrong type argument: characterp, "/preview/" Even though it s

[BUG] org-attach-id-ts-folder-format fails on customized IDs [9.6 (9.6-??-2e9999783)]

2022-07-20 Thread Janek F
When setting org-id-method to 'ts or 'org, org-attach seems to use org-attach-id-ts-folder-format to create its hierarchy. However I tend to customize IDs for important files by hand, causing any attempt to use org-attach on that file to fail if the ID is shorter than six characters:     org-atta

[BUG] Markdown export broken without toc and with broken links [9.6 (9.6-??-e9da29b)]

2022-07-20 Thread Janek F
Hello, With the following configuration (on top of vanilla Doom, but that doesn't seem to be related), when trying to export to Markdown an org-mode file with broken links, the export omits all content under headlines: (setq org-export-with-toc nil org-export-with-broken-links 't) For Ex

Scrolling through features on website doesn't work properly

2020-04-05 Thread Janek F
Hey, Trying to scroll through the features of org mode on https://orgmode.org/features.html# with the buttons didn't work for me, neither on Firefox nor Chromium. On other subpages, such as https://orgmode.org/#docs, it did work. Regards, Janek