Re: [PATCH] Re: Better support optional weekday in Org mode timestamps

2025-04-26 Thread Jens Schmidt
e007831a35b5d Mon Sep 17 00:00:00 2001 From: Jens Schmidt Date: Sat, 26 Apr 2025 21:33:46 +0200 Subject: [PATCH] Improve support for weekday-less timestamps * lisp/org.el (org-ts-regexp1, org-timestamp-formats): Doc fixes. (org-timestamp-change): Test for presence of optional groups befo

Compiling a single lisp/*.el Org source, executing a single testing/lisp/*.el Org test in the Org Git repo

2025-04-26 Thread Jens Schmidt
Suppose my cwd is at the top-level of the Org Git repo. - How would I byte-compile a single Org source? Any make target available for that? I use this to byte-compile "org.el" after changes: ~/work/emacs-master/src/emacs --batch -L lisp --eval '(byte-compile-file "lisp/org.el")' but

Re: [PATCH] Re: Better support optional weekday in Org mode timestamps

2025-04-21 Thread Jens Schmidt
[ Readding tomás since this thread got more high-level again ... ] On 2025-04-20 13:27, Ihor Radchenko wrote: > Looks reasonable. Thanks. More or less by chance I let Org's ERT tests run with `org-timestamp-formats' set to `("%Y-%m-%d" . "%Y-%m-%d %H:%M")'. (I do not intend to do anything like

Re: Use of #+include: inside list with breaking change?

2025-03-30 Thread Jens Lechtenboerger
On 2025-03-29, Ihor Radchenko wrote: > Jens Lechtenboerger writes: > >> I want to use the keyword #+include: inside lists to embed source >> code for HTML export (`C-c C-e h h'), like so: >> >> * foo >> - A list >> #+include: bar.txt src text &

Re: Optional weekday in Org mode timestamps

2025-03-29 Thread Jens Schmidt
Bump ... On 2025-03-21 22:42, Jens Schmidt wrote: > [Moving to emacs-orgmode - I hope it is OK to keep tomás on CC.] > > Hi Ihor, > > the following statement of yours on emacs-devel caught my eye: > > On 2025-03-03 19:31, Ihor Radchenko wrote: > >> FYI, weekd

Use of #+include: inside list with breaking change?

2025-03-26 Thread Jens Lechtenboerger
xport...) Is there a way to achieve the old behavior? Best wishes, Jens

Optional weekday in Org mode timestamps

2025-03-21 Thread Jens Schmidt
[Moving to emacs-orgmode - I hope it is OK to keep tomás on CC.] Hi Ihor, the following statement of yours on emacs-devel caught my eye: On 2025-03-03 19:31, Ihor Radchenko wrote: > FYI, weekday is optional. It also adapts to the language settings. What exactly do you mean by "optional" here?

Re: [PATCH] Enable makeindex with org-publish-use-timestamps-flag

2025-03-05 Thread Jens Lechtenboerger
On 2025-03-02, Ihor Radchenko wrote: > Jens Lechtenboerger writes: > The whole idea of transient cache does not work, I think. I reverted the > commit introducing it. > >> Subject: [PATCH] ox-publish.el: Enable makeindex with >> org-publish-use-timestamps-flag > &g

[PATCH] Enable makeindex with org-publish-use-timestamps-flag (was: Bug? Option :makeindex does not work with org-publish-use-timestamps-flag)

2025-02-26 Thread Jens Lechtenboerger
On 2025-02-23, Ihor Radchenko wrote: > Jens Lechtenboerger writes: > >> I publish with the default value for org-publish-use-timestamps-flag >> (set to t) and I use ":makeindex t" to create a keyword index. >> >> Then, files that are skipped during export

Bug? Option :makeindex does not work with org-publish-use-timestamps-flag

2025-02-19 Thread Jens Lechtenboerger
guess that the problem/challenge is that org-publish-collect-index only places index terms into a transient cache, not into files. Is there an option that I am missing, or is this a bug? What do you think? Best wishes, Jens smime.p7s Description: S/MIME cryptographic signature

Re: Add org-src-is-fontify-buffer-p (patch attached)

2025-01-18 Thread Jens Schmidt
On 2025-01-18 12:38, Ihor Radchenko wrote: > Ship Mints writes: > >> Yes, could do, and nothing needed by org-mode or markdown-mode. Could also >> test for buffer-file-name nil. Or test both. Let's recommend that simpler >> approach and I will rescind my markdown PR in favor of this simpler >> s

Re: [PATCH] * lisp/org/ox.el (org-export-dictionary): Update German entries

2024-10-06 Thread Jens Schmidt
Minor copy-and-paste issue: The language code for "See figure" is still on "et", not "de". Plus minor consistency issues: The ordering of the language codes "de" => "et" is not always consistent. If that bothers you ... On 2024-10-05 17:13, Philip Kaludercic wrote: > > Hi, I have noticed that

Re: Proposal: Change publication timestamps

2024-09-15 Thread Jens Lechtenboerger
On 2024-08-25, Jens Lechtenboerger wrote: > On 2024-08-15, Ihor Radchenko wrote: > >> The patch looks reasonable. >> Applied, onto main. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=38d1bc67b2 > > Great, thanks! > >> Ideally, it wou

Re: Proposal: Change publication timestamps

2024-08-25 Thread Jens Lechtenboerger
On 2024-08-15, Ihor Radchenko wrote: > Jens Lechtenboerger writes: > >>> See "14.4 Triggering Publication" section of Org mode manual: >>> >>>Org uses timestamps to track when a file has changed. The above >>> functions normall

Proposal: Change publication timestamps (was: Publishing cache)

2024-08-12 Thread Jens Lechtenboerger
On 2024-06-14, Ihor Radchenko wrote: > Jens Lechtenboerger writes: > >> Jumping in here, I do not understand the publishing cache. Some of >> my org documents are re-published every time, while others are only >> re-published after changes. What is checked where?

[BUG] Emphasized text in *HEADLINE link target leaks through invisible text [9.8-pre (release_9.7.6-107-gf21415 @ /home/jschmidt/work/org-mode/lisp/)]

2024-07-16 Thread Jens Schmidt
Open the following Org mode document in a "make vanilla" Emacs: - snip - * foo =bar= baz * FOO BAR BAZ [[*foo =bar= baz][Link Title]] - snip - For me that document renders like this: ---

[BUG] org-indent-line edge case in empty Org mode buffer [9.8-pre (release_9.7.6-107-gf21415 @ /home/jschmidt/work/org-mode/lisp/)]

2024-07-16 Thread Jens Schmidt
The following sequence of commands: make vanilla M-x org-mode RET M-x erase-buffer RET SPC M-: (setq org-adapt-indentation 'headline-data) M-x org-indent-line RET results in: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) org-indent-line() funcall-

Re: Please document the caching and its user options

2024-06-14 Thread Jens Lechtenboerger
tion to the > previously existing image cache, publishing cache, ID cache, clock > cache, etc. Jumping in here, I do not understand the publishing cache. Some of my org documents are re-published every time, while others are only re-published after changes. What is checked where? Best wishes,

[BUG] Org export fails on $k$-ary

2024-04-04 Thread Jens Lechtenboerger
6.15 and with 9.7-pre (release_9.6.24-1336-gc8d133 @ ...). Recipe: emacs -Q (add-to-list 'load-path "~/src/org-mode/lisp") Then export an Org buffer/file with the above line: C-c C-e h h C-c C-e l l Best wishes, Jens smime.p7s Description: S/MIME cryptographic signature

Re: [Bug] org-in-src-block-p returns t when not in source block

2023-11-28 Thread Jens Schmidt
ght that this probably would not always work ... or did I misunderstand something here? Thanks Jens Here is the lossage corresponding to my test case, just in case: C-s ;; isearch-forward #;; isearch-printing-char +;; is

How to get the inner boundaries of a block

2023-11-27 Thread Jens Schmidt
ng, though. Thanks Jens

Re: Gantt Chart with org-mode

2023-11-04 Thread Jens Neuhalfen
Maybe a bit more than just gant: https://taskjuggler.org/ and https://orgmode.org/worg/exporters/taskjuggler/ox-taskjuggler.html > On 4. Nov 2023, at 13:33, Heime wrote: > >  > Can one construct a Gantt Chart with org-mode ? >

[BUG] org-comment-dwim does not work with temporary Transient Mark mode [9.7-pre (release_9.6.10-902-g41ff56 @ /home/jschmidt/work/org-mode/lisp/)]

2023-10-26 Thread Jens Schmidt
* Reproducer Save the following files: - /tmp/test.org - #+begin_src bash foo bar baz #+end_src - /tmp/test.org - - /tmp/test.el - (transient-ma

Support for buffer-column-aligned tables in Org?

2023-10-25 Thread Jens Schmidt
Is there any kind of support (also by non-core extensions) for tables in Org that are entirely organized along buffer columns? Some magic (= clever heuristics) that recognizes the following as a table with four columns, the first three left-aligned, the last right-aligned: <6>

Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-29 Thread Jens Lechtenboerger
ong? Best wishes Jens smime.p7s Description: S/MIME cryptographic signature

Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-28 Thread Jens Lechtenboerger
. Maybe I'm missing relevant backend options. IMHO, Coqui-AI TTS [2] and Microsoft SpeechT5 [3] are far superior. Best wishes Jens [1] https://gitlab.com/oer/emacs-reveal/-/wikis/Sample-TTS-results [2] https://github.com/coqui-ai/TTS/ [3] https://huggingface.co/microsoft/speecht5_tts

Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread Jens Lechtenboerger
Thank you for the additional pointers! I still need to check out promising combinations of those approaches, also options for MBROLA (which is not free, but applies a custom AGPL-3.0-but-not-be-sold license to the voices). ADRIANE is certainly fascinating. Best wishes Jens On 2023-09-11

Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-11 Thread Jens Lechtenboerger
On 2023-09-10, Christian Thäter wrote: > On Sun, 10 Sep 2023 16:39:26 +0200 > Jens Lechtenboerger wrote: > >> On 2023-09-10, Ihor Radchenko wrote: >> >> > Jens Lechtenboerger writes: >> > >> >> does someone here produce audio via Text-To

Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-10 Thread Jens Lechtenboerger
On 2023-09-10, Ihor Radchenko wrote: > Jens Lechtenboerger writes: > >> does someone here produce audio via Text-To-Speech (TTS) from Org >> sources? I plan to do that in the context of emacs-reveal to >> generate voice-over for reveal.js presentations, with open questi

Re: Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-10 Thread Jens Lechtenboerger
for the reply. In my case (GNU/Linux), I guess that the usual text-to-speech engine is espeak. I find its speech quality to be disappointing (much worse than the language models that I mentioned earlier). I am looking for (near-) human quality... Best wishes Jens

Suggestions for Text-To-Speech (TTS) from Org sources?

2023-09-09 Thread Jens Lechtenboerger
? Best wishes Jens [1] https://gitlab.com/oer/emacs-reveal/-/issues/20 [2] https://github.com/coqui-ai/TTS/ [3] https://huggingface.co/microsoft/speecht5_tts [4] https://github.com/suno-ai/bark [5] https://github.com/rhasspy/gruut [6] https://www.w3.org/TR/speech-synthesis11/

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-09-03 Thread Jens Schmidt
On 2023-09-03 08:53, Ihor Radchenko wrote: > Jens Schmidt writes: > >> Implemented in the next version of the patch, please check. >> > > Applied, onto main. Thanks!

Re: [RFC] Quoting property names in tag/property matches

2023-09-02 Thread Jens Schmidt
On 2023-09-02 09:10, Ihor Radchenko wrote: > Jens Schmidt writes: >> - Even if we made "&" mandatory, it would not really solve the quoting >> problem, since the parser is rather hacky and other quoting and >> context issues would still be there. > >

Re: Redoing the current tag/property parser in a real grammar [was: Re: [RFC] Quoting property names in tag/property matches]

2023-09-02 Thread Jens Schmidt
On 2023-09-02 09:10, Ihor Radchenko wrote: > Jens Schmidt writes: >> This all calls for a proper parser, based on peg or bovine or whatever. >> Hopefully that parser would still keep backward compatibility, but >> that's probably wishful thinking. > > Backward c

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-09-01 Thread Jens Schmidt
On 2023-08-27 09:43, Ihor Radchenko wrote: > Samuel Loury writes: > >> IMHO, "-tag&-todo=TODO" is totally ok. I even imagine we could say that >> & and | are forbidden to say anything else than AND and OR and people >> would be ok with that. > > Actually, explicit & or | might be an easier way

Re: [DISCUSSION] May we recognize everything like [[protocol:uri]] as a non-fuzzy link?

2023-09-01 Thread Jens Lechtenboerger
wikipedia.org/wiki/Cache_(computing)][Caching]] In both cases, the part before the first colon is certainly no protocol. Besides, concerning wording in this discussion: A URIs may or may not embed a protocol. It contains a scheme, then a colon, then a scheme-specific part, see [2]. Best wishes Jen

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-08-31 Thread Jens Schmidt
On 2023-08-31 10:08, Ihor Radchenko wrote: > Jens Schmidt writes: > >>> Implemented in the next version of the patch, please check. >> >> Gentle ping ... > > I was waiting for your comment on > https://list.orgmode.org/orgmode/874jklhqw2.fsf@localhost/ Ah,

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-08-30 Thread Jens Schmidt
On 2023-08-26 14:54, Jens Schmidt wrote: > On 2023-08-26 14:22, Ihor Radchenko wrote: >> Looks good to me. > > Implemented in the next version of the patch, please check. Gentle ping ...

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-08-26 Thread Jens Schmidt
On 2023-08-26 14:22, Ihor Radchenko wrote: > Jens Schmidt writes: >> #+begin_example >> boss\-prio="C" >> boss\:prio="C" >> boss\\prio="C" >> #+end_example > > Looks good to me. Implemented in the next version of the patch,

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-08-26 Thread Jens Schmidt
On 2023-08-26 14:00, Ihor Radchenko wrote: > Jens Schmidt writes: >> On 2023-08-26 12:16, Ihor Radchenko wrote: >>> This actually feels rather cubersome. >> >> [...] I can >> provide a simpler example in the manual, but that's probably not >>

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-08-26 Thread Jens Schmidt
On 2023-08-26 12:16, Ihor Radchenko wrote: > Jens Schmidt writes: >> #+begin_example >> -+-long-and-twisted-property-name-="foo" >> +\-long\=and\\twisted\:property\.name\*="foo" >> #+end_example > > This actually feels rather cubersome.

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-08-25 Thread Jens Schmidt
On 2023-08-24 10:52, Jens Schmidt wrote: > On 2023-08-24 09:32, Ihor Radchenko wrote: >> I prefer (B). And we will need to allow escaping of the "\" itself. Like >> \\. > > OK. Since backslash is not used yet in the rest of the regexp, (B) > should

Re: [BUG] "make check" reports a failure on test-org/insert-heading @ d5ee33f (this time with Emacs 29)

2023-08-24 Thread Jens Schmidt
On 2023-08-24 14:24, Ihor Radchenko wrote: > Jens Schmidt writes: > >> Would you mind if I added a test that explicitly and with some nice >> error message tests for that condition? I.e. if some unwary user >> strips off trailing whitespace in test-org.el, that t

Re: [BUG] "make check" reports a failure on test-org/insert-heading @ d5ee33f (this time with Emacs 29)

2023-08-24 Thread Jens Schmidt
On 2023-08-24 13:41, Ihor Radchenko wrote: > Jens Schmidt writes: > >> Seems the insert-heading-issue is still struggling, this time during >> a "make check" @ d5ee33fed8dd80d3f9f9811d86a73827fde80780 using Emacs 29: >> ... >>FAILED 998/1094 t

[BUG] "make check" reports a failure on test-org/insert-heading @ d5ee33f (this time with Emacs 29)

2023-08-24 Thread Jens Schmidt
Seems the insert-heading-issue is still struggling, this time during a "make check" @ d5ee33fed8dd80d3f9f9811d86a73827fde80780 using Emacs 29: Test test-org/insert-heading condition: (ert-test-failed ((should (equal "* 1\n** 1.1\n** 1.2\n*\n* 2" (org-test-with-temp-te

Re: [BUG] Compilation warnings when making main @ d5ee33fed8dd80d3f9f9811d86a73827fde80780

2023-08-24 Thread Jens Schmidt
On 2023-08-24 13:18, Ihor Radchenko wrote: > Jens Schmidt writes: > >> Compiling /home/jschmidt/work/org-mode/lisp/org-element-ast.el... >> >> In org-element--properties-mapc: >> org-element-ast.el:628:25:Warning: ‘not’ called with 3 args, but requires 1 >&g

[BUG] Compilation warnings when making main @ d5ee33fed8dd80d3f9f9811d86a73827fde80780

2023-08-24 Thread Jens Schmidt
Compiling /home/jschmidt/work/org-mode/lisp/org-cycle.el... Compiling /home/jschmidt/work/org-mode/lisp/org-datetree.el... Compiling /home/jschmidt/work/org-mode/lisp/org-duration.el... Compiling /home/jschmidt/work/org-mode/lisp/org-element-ast.el... In org-element--properties-mapc: org-element-a

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-08-24 Thread Jens Schmidt
On 2023-08-24 09:32, Ihor Radchenko wrote: > Jens Schmidt writes: >> Some obvious choice would be a simpler single backslash >> >> (B) "\-" => "-" > > I prefer (B). And we will need to allow escaping of the "\" itself. Like &g

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-08-23 Thread Jens Schmidt
On 2023-08-23 16:00, Jens Schmidt wrote: > Given the property name syntax in > > https://orgmode.org/worg/org-syntax.html#Node_Properties > > the subre in `org-make-tags-matcher' to match property names > should then look similar to > > &quo

Re: [RFC] Quoting property names in tag/property matches [Was: [BUG?] Matching tags: & operator no more implicit between tags and special property]

2023-08-23 Thread Jens Schmidt
> On 2023-08-23 12:31, Ihor Radchenko wrote: > >> Jens, we got an edge case with "-", after all. >> >> What is happening here is that the new parser >> (https://orgmode.org/list/9132e58f-d89e-f7df-bbe4-43d53a236...@vodafonemail.de) >> treats the

Re: [BUG?] Matching tags: & operator no more implicit between tags and special property

2023-08-23 Thread Jens Schmidt
On 2023-08-23 12:31, Ihor Radchenko wrote: > Jens, we got an edge case with "-", after all. > > What is happening here is that the new parser > (https://orgmode.org/list/9132e58f-d89e-f7df-bbe4-43d53a236...@vodafonemail.de) > treats the above match string as > >

Re: [BUG?] Matching tags: & operator no more implicit between tags and special property

2023-08-23 Thread Jens Schmidt
Thanks for the detailed report! On 2023-08-23 09:57, Samuel Loury wrote: > The following tags query used to implicitly behave as a AND > "-tag-TODO=\"TODO\"". > Before commit f689eb44f175fbbdc4e8ef0ad6f5201b10863438, this showed only > "nothing", as expected. That was my short-sighted attempt

Re: Or probably just fix the org-ctags hook functions?

2023-08-11 Thread Jens Schmidt
On 2023-08-11 23:48, Ihor Radchenko wrote: - If you run into this issue, the real pain is to understand what's going on, since org-ctags might get loaded in surprising ways. So probably we should make that easier. The quick fix is unsetting `help-enable-completion-autoload'. Unfort

Re: Or probably just fix the org-ctags hook functions?

2023-08-11 Thread Jens Schmidt
On 2023-08-11 19:01, Nick Dokos wrote: Sure, but we should not reject Jens' proposal just because of this argument. We can use the suggestions to improve org-ctags itself, after it is explicitly loaded. Absolutely. My disagreement was only with the part that I quoted, in particula

Re: Or probably just fix the org-ctags hook functions? (was: Should we accept breaking changes ...)

2023-08-09 Thread Jens Schmidt
On 2023-08-08 10:48, Ihor Radchenko wrote: The situation is a bit more complex. To make it even more complex, here a different point of view. Sorry, I don't have any earlier mails ready I could reply to ... * TL;DR Probably the problem is not the side-effects done by loading =org-ctags=, b

Re: [BUG] `org-open-at-point' surprisingly asks for tags table [9.7-pre (release_9.6.7-640-ga18ebc @ /home/jschmidt/work/org-mode/lisp/)]

2023-08-08 Thread Jens Schmidt
Sorry, just followed that recent side-effect-thread to the root https://list.orgmode.org/orgmode/87o7omg4ie@alphaville.usersys.redhat.com/ and found that everything already got documented. It was that thread that triggered my bug report as an example of a particular nasty side effect.

[BUG] `org-open-at-point' surprisingly asks for tags table [9.7-pre (release_9.6.7-640-ga18ebc @ /home/jschmidt/work/org-mode/lisp/)]

2023-08-08 Thread Jens Schmidt
make EMACS=../emacs-master/src/emacs vanilla Create a new Org-mode buffer with the following contents: -- <> [[test][test link]] -- Position point on the link then type C-c C-o: Point jumps to the l

Re: org-agenda queries for absent properties

2023-08-07 Thread Jens Schmidt
ume that "gv" means "getter value" and be done with it. Updated patch attached.From 6e98356dfaf3466288398ff4ecee7fd147c32a20 Mon Sep 17 00:00:00 2001 From: Jens Schmidt Date: Sun, 6 Aug 2023 16:38:04 +0200 Subject: [PATCH] org-make-tags-matcher: Add starred property operators, fix quotin

Re: org-agenda queries for absent properties

2023-08-06 Thread Jens Schmidt
On 2023-08-06 11:19, Jens Schmidt wrote: I will also add tests for matching property names having minuses and then we can see how it goes. Went well. With a property name regexp "\\(?5:[[:alnum:]_-]+\\)" and the following Org file -

Re: org-agenda queries for absent properties

2023-08-06 Thread Jens Schmidt
On 2023-08-06 09:55, Ihor Radchenko wrote: But from here it gets more intersting: - The code uses subre "-" in property names to (supposedly) allow for inclusion of minus characters in property names, which (probably) could be confused with term negation. Not probably. It is know

Re: org-agenda queries for absent properties

2023-08-05 Thread Jens Schmidt
it is added to Emacs) rely upon peg.el for parsing. Given the fact that we have to discuss issues like those above, I heartily agree. > https://yhetil.org/emacs-devel/875yvtbbn3@ericabrahamsen.net/ Arthouse thread: Interesting plot, surprising sidelines, not everything comprehensible, (un

Re: org-agenda queries for absent properties

2023-08-01 Thread Jens Schmidt
On 2023-07-31 08:45, Ihor Radchenko wrote: If you are up to a job of adding this to `org-make-tags-matcher' and not breaking things, you can try. Depends a bit on the required collateral changes: Updating ORG-NEWS and doc/org-guide.org should be no problem. Doing a naive grep-based search I

org-agenda queries for absent properties

2023-07-30 Thread Jens Schmidt
The following was initially meant as bug report until I understood that it's actually some sort of feature ... Consider the following todo list: todos.org * TODO relax * TODO do this :PROPERTIES: :patchday: 202302 :END: * TODO do that :PROPERTIES: :pat

Re: [BUG] Issues in ol-gnus when storing links in nnvirtual and nnselect articles [9.7-pre (release_9.6.7-570-gd6f3ae.dirty @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-30 Thread Jens Schmidt
look right now? From 74d5c1f5caf4ce425eb888340c2115276b4ddf8a Mon Sep 17 00:00:00 2001 From: Jens Schmidt Date: Sun, 30 Jul 2023 17:51:27 +0200 Subject: [PATCH] ol-gnus.el: Fix issue when storing links from Gnus article buffers * lisp/ol-gnus.el (org-gnus-store-link): Switch to `gnus-summary

Minimal Gnus setup for test purposes

2023-07-26 Thread Jens Schmidt
In the context of some ol-gnus bug I created a minimal Gnus setup. Ihor wanted to have a look at it, so here it is. To use: - create an empty directory /foo/bar/baz and say unzip -qd /foo/bar/baz gnus-minimal-test.zip - if you want to use the nnselect backend based on notmuch (haven't t

Re: [BUG] Issues in ol-gnus when storing links in nnvirtual and nnselect articles [9.7-pre (release_9.6.7-570-gd6f3ae.dirty @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-26 Thread Jens Schmidt
On 2023-07-26 18:04, Ihor Radchenko wrote: This is not a proper email address and name. Should I use Jens Schmidt ? Sorry, forgot to maintain that yet in my org-mode clone. Will do. May you please add TINYCHANGE cookie to commit message. I do not see you having a copyright status in our

Re: Subscript entity in the name of files or some advise for alternatives

2023-07-25 Thread Jens Schmidt
On 2023-07-25 01:08, Ypo wrote: Why did you try that variable instead of "org-pretty-entities-include-sub-superscripts"? To be honest: Because I haven't read your mail properly and because I didn't know about "pretty entities". I just noticed the subscripting done on such_file_names in Org H

Re: Subscript entity in the name of files or some advise for alternatives

2023-07-24 Thread Jens Schmidt
On 2023-07-24 21:12, Ypo wrote: I wanted it, because I usually use (_) to divide words when naming my_files, and that looks ugly in Orgmode. I had that problem myself recently. Do `org-use-sub-superscripts' and its companion `org-export-with-sub-superscripts' help in your case? See also .

Re: [BUG] Issues in ol-gnus when storing links in nnvirtual and nnselect articles [9.7-pre (release_9.6.7-570-gd6f3ae.dirty @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-24 Thread Jens Schmidt
Uh, I had technical issues and did not get all mails as I expected. Cobbling things together in one big reply now, with references and quotes hopelessly broken ... hope you can sort it out. Anyway, thanks to Eric for chiming in. > Ideally, it would be nice to have tests, though I have no clue ho

Re: [BUG] Issues in ol-gnus when storing links in nnvirtual and nnselect articles [9.7-pre (release_9.6.7-570-gd6f3ae.dirty @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-23 Thread Jens Schmidt
On 2023-07-23 12:26, Max Nikulin wrote: Is nnselect a real NNTP group or is it some instance existing solely in user's configuration? Like nnvirtual and nnir, nnselect exists only in user's configuration, yes. All these three backends are "wrapper backends" that keep track of the original me

Re: [BUG] Issues in ol-gnus when storing links in nnvirtual and nnselect articles [9.7-pre (release_9.6.7-570-gd6f3ae.dirty @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-22 Thread Jens Schmidt
On 2023-07-22 15:48, Ihor Radchenko wrote: I am not familiar with Gnus, but looking at the code, may it be that a Gnus article is open when Gnus summary buffer is not? Theoretically yes, if you actively and malignantly kill the summary buffer, for example. In practice and through Gnus key b

[BUG] Issues in ol-gnus when storing links in nnvirtual and nnselect articles [9.7-pre (release_9.6.7-570-gd6f3ae.dirty @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-22 Thread Jens Schmidt
Tags: patch `org-store-link' has a number of related issues when storing links from article buffers related to nnvirtual, nnselect, or nnir groups. I describe them here in prose without providing a full repro case, which would be somewhat difficult to set up. Just let me know if you think you n

Re: [BUG] SPACE jumps to tag in header line after hidden emphasis marker [9.7-pre (release_9.6.7-562-g5b6268 @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-20 Thread Jens Schmidt
On 2023-07-18 10:13, Ihor Radchenko wrote: No, it is space. In particular, it is `org--align-tags-here' + some bug in Emacs that screws up column computation. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64696 FWIW the third test yields ■ Warning (emacs): Test #3:: ’word’ is hidden apply

Re: [BUG] SPACE jumps to tag in header line after hidden emphasis marker [9.7-pre (release_9.6.7-562-g5b6268 @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-19 Thread Jens Schmidt
On 2023-07-19 09:10, Ihor Radchenko wrote: I see no good way to address this quickly, so I re-added stickiness to the opening emphasis marker, as you suggested. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=724135dda Follow-ups: 1. https://debbugs.gnu.org/cgi/bugreport.cgi?b

Re: [BUG] SPACE jumps to tag in header line after hidden emphasis marker [9.7-pre (release_9.6.7-562-g5b6268 @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-18 Thread Jens Schmidt
[Resent with correct identity to make this visible on the list as well - sorry for the hassle.] On 2023-07-18 10:13, Ihor Radchenko wrote: Confirmed. Thanks for caring about this so quickly ... https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64696 ... and for the discussion with Eli & co.

[BUG] SPACE jumps to tag in header line after hidden emphasis marker [9.7-pre (release_9.6.7-562-g5b6268 @ /home/jschmidt/work/org-mode/lisp/)]

2023-07-17 Thread Jens Schmidt
[emacs-29]$ ./src/emacs -Q -L ~jschmidt/work/org-mode/lisp/ (org-version nil t) "Org mode version 9.7-pre (release_9.6.7-562-g5b6268 @ /home/jschmidt/work/org-mode/lisp/)" (setq org-hide-emphasis-markers t) t ;; assume test.org being absent in cwd C-x 4 f ;; find-file-other-window t

Re: How to tell `org-html-link' to create a link with some HTML class?

2023-06-19 Thread Jens Lechtenboerger
le? Dear Marcin, yes, that’s possible, ":attr_html" is read in `org-html-link'. You have to set that in your code, see [1] for an example for classes in my reveal.js backend. Briefly, with `elem' being the link, I use this: `(org-element-put-property elem :attr_html (list new

Re: Where does headline data end for the purpose of `org-adapt-indentation´ == ´headline-data

2023-06-14 Thread Jens Schmidt
On 2023-06-09 09:34, Ihor Radchenko wrote: Emacs master tracks the latest stable Org release. OK, so I cobbled up Org main with branch emacs-29. ./src/emacs -Q M-x org-version Org mode version 9.7-pre (release_9.6.6-408-g9082fa @ ...) (setq org-adapt-indentation 'headline-data) Paste the

Re: [POLL] Add command names to key bindings in Org Guide? (was: Suggestion: for each listed keybinding, also name the command)

2023-05-05 Thread Jens Neuhalfen
way around is not possible. Just like a phone book. The numbers (key bindings) are shorter, yes. But good luck trying to find 555-12346 when you remember 555-12345. BR Jens

Re: [BUG] Filling in source blocks fills by region, not paragraph [9.5.5 (release_9.5.5/master)]

2023-05-03 Thread Jens Schmidt
Forget about that one, it is already fixed in master. I had the wrong load path and used actually 9.5.5 and not org-mode cloned from master, as intended.

Re: Unicode problem with export of literal contents

2023-02-21 Thread Jens Lechtenboerger
On 2023-02-20, Bruno Barbier wrote: > Jens Lechtenboerger writes: > >> On 2023-02-20, Bruno Barbier wrote: >> >> However, if I use insert-file-contents-literally with a unicode >> file, I do *not* have to set the coding-system-for-write. This just >&g

Re: Unicode problem with export of literal contents

2023-02-20 Thread Jens Lechtenboerger
icode.org") (secure-hash 'md5 (current-buffer))) In the context of Org export, secure-hash seems to require a coding system. Why? Best wishes Jens smime.p7s Description: S/MIME cryptographic signature

Re: Unicode problem with export of literal contents

2023-02-20 Thread Jens Lechtenboerger
On 2023-02-17, Ihor Radchenko wrote: > Jens Lechtenboerger writes: >> Also, when I call secure-hash on the literal buffer-string, no >> problem arises. > > Org is calling secure-hash on buffer. Calling on buffer-string would > require unnecessary memory allocation to c

Re: Unicode problem with export of literal contents

2023-02-20 Thread Jens Lechtenboerger
want to be sure to use the file contents in unchanged form, as promised by insert-file-contents-literally. For now, I copied part of the code from insert-file-contents-literally to avoid after-insert processing and file handlers. I still do not understand what is happening differently in my ca

Re: Unicode problem with export of literal contents

2023-02-17 Thread Jens Lechtenboerger
On 2023-02-17, Ihor Radchenko wrote: > Jens Lechtenboerger writes: > >> With Org 9.6.1 from Emacs master, I get the following warning, and I >> am asked to select a coding system: >> >>> These default coding systems were tried to encode the following >>

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 stri

Unicode problem with export of literal contents

2023-02-16 Thread Jens Lechtenboerger
s 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? Best wishes Jens

Re: Syntax question: What is BORDER in 4.17. Text Markup?

2022-12-07 Thread Jens Lechtenboerger
On 2022-12-07, Timothy wrote: > Hi Jens, > >> Actually, what about this? Get rid of both, BORDER and BODY, and >> specify CONTENTS as follows: >> “Either a string (when MARKER represents code or verbatim) or a >> series of objects from the standard set, not spanning

Re: Syntax question: What is BORDER in 4.17. Text Markup?

2022-12-06 Thread Jens Lechtenboerger
On 2022-12-07, Jens Lechtenboerger wrote: > On 2022-12-07, Max Nikulin wrote: > >> On 07/12/2022 01:28, Jens Lechtenboerger wrote: >>> Hi there, >>> the syntax for Text Markup such as *bold* at [1] specifies >>> PRE MARKER CONTENTS MARKER POST with

Re: Syntax question: What is BORDER in 4.17. Text Markup?

2022-12-06 Thread Jens Lechtenboerger
On 2022-12-07, Max Nikulin wrote: > On 07/12/2022 01:28, Jens Lechtenboerger wrote: >> Hi there, >> the syntax for Text Markup such as *bold* at [1] specifies >> PRE MARKER CONTENTS MARKER POST with >> CONTENTS as BORDER BODY BORDER and >> BORDER as “Any non-whit

Syntax question: What is BORDER in 4.17. Text Markup?

2022-12-06 Thread Jens Lechtenboerger
, e.g., in the two strings “*x*” and “~*~”? Are single characters forbidden? Best wishes Jens [1] https://orgmode.org/worg/org-syntax.html#Emphasis_Markers

Re: index for HTML export

2022-07-14 Thread Jens Lechtenboerger
On 2022-07-14, Fraga, Eric wrote: > On Thursday, 14 Jul 2022 at 08:13, Jens Lechtenboerger wrote: >> (list "index-terms" > > [...] > >> :preparation-function 'oer-reveal--add-advice-link >> :completion-function 'oer-reveal--

Re: index for HTML export

2022-07-13 Thread Jens Lechtenboerger
x27;("index-terms.org") :exclude ".*" :preparation-function 'oer-reveal--add-advice-link :completion-function 'oer-reveal--remove-advice-link :publishing-function '(org-html-publish-to-html) :publishing-directory "./public") So, do you see theindex.org and theindex.inc? Do you publish the former? Best wishes Jens

Re: Publish to HTML and LaTeX/PDF with cross-file links?

2022-06-16 Thread Jens Lechtenboerger
On 2022-06-16, at 09:55, Tim Cross wrote: > Jens Lechtenboerger writes: > >> [...] >> More precisely: For HTML export, a link like >> [[file:foo.org::#custom-id][elsewhere]] turns into a hyperlink to >> “foo.html#custom-id”, which is what I want. >> &

Publish to HTML and LaTeX/PDF with cross-file links?

2022-06-14 Thread Jens Lechtenboerger
). Is this (easily) possible? Best wishes Jens [1] https://orgmode.org/manual/Publishing-links.html#Publishing-links

Re: Cannot clone org-mode's git repository

2021-10-03 Thread Jens Lechtenboerger
updated the entire image (in particular, with a new version of ca-certificates). Hopefully this helps: https://stackoverflow.com/questions/35821245/github-server-certificate-verification-failed/35824116#35824116 Best wishes Jens

Re: Help requested: Support for basic Org mode support in tools outside of Emacs

2021-08-03 Thread Jens Neuhalfen
Hi on iOS the (really amazing) git client „working copy“ has support for org rendering Jens > On 3. Aug 2021, at 11:32, Karl Voit wrote: > > Hi, > > I'm collecting information on basic Org mode support in tools that > are not Emacs. > > I already have: GitHub

Re: Dynamic block tables: adding prefix of "id:" to %ID

2021-07-25 Thread Jens Neuhalfen
ault" . "not there")) (("colname" . "link") ("entry" . "CUSTOM_ID") ("map" . (lambda (value) (if value (format "[[#%s][%s]]" value value) "" (("colname" . "linked item") ("

Re: [wip-cite-new] Merging tomorrow?

2021-07-08 Thread Jens Neuhalfen
actually achieved. Cheers Jens > On 8. Jul 2021, at 02:18, Nicolas Goaziou wrote: > > Hello, > > I think the "wip-cite-new" branch is in good shape now. As > a consequence, I'd like to merge it tomorrow. > > It is documented, but the documentatio

Re: modify citation links in a derived HTML backend

2021-07-04 Thread Jens Lechtenboerger
HTML export functionality? I guess that basic support should go into ox-html, while small modifications could than take care of specifics for reveal.js presentations... Best wishes Jens smime.p7s Description: S/MIME cryptographic signature

  1   2   >