Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2025-02-09 Thread Paul Stansell
> > Looks like the cache was not right. > Maybe some kind of race condition. > ... but > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=7999433067 > supposed to fix such case. So, I am confused. > > May you please check which Org commit you are on? > I'm using the following versio

Re: [DISCUSSION] Contributing policy for WORG

2025-02-09 Thread Bastien Guerry
Hi Ihor, Ihor Radchenko writes: > Bastien Guerry writes: > >> At some point, RMS asked for Worg content to be released under the GNU >> FDL, which is now the case. I think it would make sense to release it >> under *both* the GNU FDL and CC-by-SA 4.0. Perhaps it would also make >> sense to ask

Re: [DISCUSSION] Contributing policy for WORG

2025-02-09 Thread Bastien Guerry
Ihor Radchenko writes: > I know for sure that git workflow scares off some users. So does email > workflow. > That's why I started thinking about alternatives. I agree that the current workflow for Worg contribution is not inclusive enough, experimentation for finding good alternatives is reall

Try gollum wiki to serve WORG (was: [DISCUSSION] Contributing policy for WORG)

2025-02-09 Thread Ihor Radchenko
Bastien Guerry writes: >>> What about gollum? >>> >>> https://github.com/gollum/gollum >>> >>> From what I understand, it would provide a way to let users modify Org >>> files by editing them from a web interface (without Git knowledge), on >>> top of rendering the .org files as HTML pages. >> >>

Re: I'm giving a FOSDEM talk on Org Mode

2025-02-09 Thread Robert Love
Has anyone successfully watched this? It has very intermittent sound, cutting out frequently then stoping for many minutes. I don’t see the referenced QR code. > On Feb 6, 2025, at 4:19 PM, Amy Grinn wrote: > > Amy Grinn mailto:grinn@gmail.com>> writes: > >> Hello all, >> >> I hope

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2025-02-09 Thread Paul Stansell
> > One weird thing in the above warning is //. Is // really what you see? > If you mean the "//" in the following line: Warning (emacs): Emacs reader failed to read data in "~/.cache/org-persist//gc-lock.eld". The error was: "End of file during parsing" then I would say that it is what I'm real

Re: Bug: octave newline not printed when using :session [9.8-pre (release_9.7.18-205-g0ce4f3)]

2025-02-09 Thread Paul Stansell
> > I am afraid that not stripping the newlines will lead to other bugs > popping up. > Okay, thanks for that info.

Re: [BUG] org-gnus-follow-link tries to select dead frame [9.8-pre (release_9.7.15-163-g3ff21c.dirty @ /home/bidar/.local/etc/emacs/lib/org/lisp/)]

2025-02-09 Thread Björn Bidar
Sorry only saw the message now. Ihor Radchenko writes: > Björn Bidar writes: > * Preconditions - gnus-other-frame-object is a dead frame >>> >>> May you please describe when `gnus-other-frame-object' could become a >>> dead frame? >> >> I assume when the frame that is in the object

[BUG] "#+STARTUP: hideblocks" not always working as expected [9.8-pre (release_9.7.18-205-g0ce4f3 @ ~/.emacs.d/org-mode-git/lisp/)

2025-02-09 Thread Paul Stansell
Hello, There seems to be some inconsistency in the effect of using "#+STARTUP: hideblocks". I have attached 3 org files to illustrate the differences. All org files are the same except for their "#+STARTUP:" directives. bug1.org :: On opening this file, the content of Section is displayed and t

Re: Try gollum wiki to serve WORG

2025-02-09 Thread Bastien Guerry
Thanks for the report! Ihor Radchenko writes: > At least, looking at > https://github.com/xwmx/pandoc-ruby/blob/master/lib/pandoc-ruby.rb > (366LOC), I do not see why we cannot change it to use emacs instead of > pandoc to render html. It would be interesting indeed. Can you share pictures of

Re: Noisy and unreliable (de-)tangling

2025-02-09 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Actually, I found a problem: If I add a new Emacs Lisp code block to my > literate Emacs configuration, Emacs launches with a blank screen, > asking: > > Buffer ... modified; kill anyway? (yes, no, save and then kill, ?): I am not sure if it is expected or not. > It

Re: Common Lisp weird Babel's results.

2025-02-09 Thread Ihor Radchenko
Héctor Galbis Sanchis writes: > I noticed that some snippets are not printing the results as I expected. > > From this snippet: > > #+begin_src lisp :results value > (values "Hello") > #+end_src > > The results are: > > #+RESULTS: > : Hello > > But it should be: > > #+RESULTS: > : "Hello" Org

Re: [BUG] Fontification error when unknown or missing lang

2025-02-09 Thread Ihor Radchenko
Aitenate writes: > There appears to be a minor bug with fontification and certain block > configurations. > > The following example block results in a fontification error. > > #+begin_example > <-- two spaces followed by a tab > #+end_example > > It looks like org-src-font-lock-fontify-bloc

Re: [PATCH]: make ox-latex obey global export title/author settings

2025-02-09 Thread Ihor Radchenko
"Pedro A. Aranda" writes: > Second patch attached as promised... > ... These two patches are very similar. Maybe you can simply merge them together? Especially the ORG-NEWS record. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support

Re: Common Lisp weird Babel's results.

2025-02-09 Thread Héctor Galbis Sanchis
I guess I need to hack a bit org-babel-execute:lisp to suit my needs. Thaks for the answer anyway!! El dom, 9 feb 2025 a las 16:07, Ihor Radchenko () escribió: > Héctor Galbis Sanchis writes: > > > I noticed that some snippets are not printing the results as I expected. > > > > From this snippe

Re: Common Lisp weird Babel's results.

2025-02-09 Thread Ihor Radchenko
Héctor Galbis Sanchis writes: > I guess I need to hack a bit org-babel-execute:lisp to suit my needs. For you example with multiple values, I'd appreciate it if you shared you hacking. I do not program in CL, and it would be nice to get this fixed by a person who actually knows CL. -- Ihor Rad

Re: [BUG] Delay cookies of the form "--1d" are not handled properly [9.6.15 (release_9.6.15 @ /opt/homebrew/Cellar/emacs-plus@29/29.4/share/emacs/29.4/lisp/org/)]

2025-02-09 Thread Ihor Radchenko
Alejandro Pérez Carballo writes: > With point on an entry containing a scheduled timestamp like “<2025-01-22 Wed > +1d --1d>”, calling `(org-entry-put nil "SCHEDULED" (org-entry-get nil > "SCHEDULED"))' results in the removal of the delay cookie "--1d". This > doesn’t happen if there is no rep

Re: Named fields in formulas

2025-02-09 Thread Ihor Radchenko
Julien Cubizolles writes: > According to the manual > (https://orgmode.org/manual/Advanced-features.html), named fields in > formula should be referred to by $name when a formula is assigned to > them > >> ‘^’ This row defines names for the fields above the row. With such a >> definition, any for

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2025-02-09 Thread Ihor Radchenko
Paul Stansell writes: > On opening an org file in emacs I received the warnings in the attached > file. > ... > org-element-cache diagnostics(scratch.org): Loading persistent cache for > ~/scratch.org > ... Looks like the cache was not right. Maybe some kind of race condition. ... but https:/

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2025-02-09 Thread Ihor Radchenko
Paul Stansell writes: > It's quite rare, but I'm still receiving these warnings: > > Warning (emacs): Emacs reader failed to read data in > "~/.cache/org-persist//gc-lock.eld". The error was: "End of file during > parsing" > > Is there anything else you'd like me to try? One weird thing in the a

Re: Try gollum wiki to serve WORG

2025-02-09 Thread Bastien Guerry
Ihor Radchenko writes: >> Can you share pictures of the resulting instance? or maybe a live link? > > See the attached. 'loving it so far! > I have no idea about setting up a server manually, so no live links. Could someone else help with that? -- Bastien Guerry

Re: Cannot yank media when image come from Gnome screenshot

2025-02-09 Thread Ihor Radchenko
Visuwesh writes: >> One way to check for pgtk is checking the result of >> (window-system). Or checking whether `pgtk-backend-display-class' is >> `fboundp'. > > I don't think we should use (window-system) since the return value is > FRAME dependent: if Someone™ opens a terminal frame first and l

Re: [BUG] org-cycle-show-empty-lines doesn't show empty lines at end of file [9.7.19 (9.7.19-5a4686 @ /home/aragaer/.config/emacs/elpa/org-9.7.19/)]

2025-02-09 Thread Ihor Radchenko
Ilya Konovalov writes: > The `org-cycle-show-empty-lines` has a comment saying that it should > never hide empty lines at the end of the file. In practice it does hide > those empty lines. It seems that the issue is that > `outline-end-of-heading` only goes to the end of heading and the > followi

Re: [PATCH]: make ox-latex obey global export title/author settings

2025-02-09 Thread Ihor Radchenko
"Pedro A. Aranda" writes: > + (unless (plist-get info :with-author) > + (setq template (replace-regexp-in-string "%a" "" template))) > + (unless (plist-get info :with-title) > + ;; Replace title *and* subtitle > + (setq template (replace-regexp-in-str

Re: [BUG] Latex exporter should consider export settings [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2025-02-09 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >> + (unless (plist-get info :with-creator) >> + ;; Replace creator >> + (setq template (replace-regexp-in-string "%c" "" template))) > FTMB, let’s wait for Ihor’s reaction to this and discuss the pdfcreator part. > > The s

Re: `org-do-latex-and-related' performance issues

2025-02-09 Thread Ihor Radchenko
Benjamin Slade writes: > I had `org-highlight-latex-and-related' set to `'(latex script))' and > found that this (which triggers the running of > `org-do-latex-and-related' ) seems to incur quite significant > performance hits, especially with large Org files. (Even moreso, I > think, if they hav

Re: [BUG] org-element-cache getting invalid search bound [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2025-02-09 Thread Ihor Radchenko
Ihor Radchenko writes: > WANG Yizhen writes: > >> Yes, I can confirm the problem persists with the latest stable release >> of Org. > > Ok. > As a next step, may you run M-x toggle-debug-on-error > and then do whatever it takes to trigger the error? > Then, Emacs should display a full backtrace

Re: [DISCUSSION] Contributing policy for WORG

2025-02-09 Thread Ihor Radchenko
Bastien Guerry writes: > At some point, RMS asked for Worg content to be released under the GNU > FDL, which is now the case. I think it would make sense to release it > under *both* the GNU FDL and CC-by-SA 4.0. Perhaps it would also make > sense to ask contributors to agree not to copy content

Re: [DISCUSSION] Contributing policy for WORG

2025-02-09 Thread Ihor Radchenko
jman writes: > Joseph Turner writes: > >> Thanks for the suggestion! I imagine such a command would do this: > (...) > > I am not a Worg contributor but such workflow would definitively scare me off. > > Just out of curiosity: what is wrong with a git workflow to contribute to > Worg? I know

Re: [PATCH] The function `org-link-preview-region` should detect whether already has overlay.

2025-02-09 Thread Ihor Radchenko
stardiviner writes: > When headline cycle expanding on STATE is `subtree` in function > `org-cycle-display-link-previews`, assume I have org-mode content like > bellowing: > ... > The first two links will be previewed twice. (I use package > "org-link-beautify.el" which display icon on link. Then

Re: [BUG] Links in code block can't be opened [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2025-02-09 Thread Ihor Radchenko
Juha Autero writes: > URLs in code blocks is shown as links, but they cannot be opened. > Instead result of code block is opened. > > For example with code block like this: > > #+begin_src shell > # This is an example of URL https://orgmode.org/ > # > echo "test" > #+end_src > > URL is mark

Re: [PATCH]: make ox-latex obey global export title/author settings

2025-02-09 Thread Pedro Andres Aranda Gutierrez
Great idea! Let's finish the ToC fix before /PA On Sun, 9 Feb 2025 at 16:30, Ihor Radchenko wrote: > "Pedro A. Aranda" writes: > > > + (unless (plist-get info :with-author) > > + (setq template (replace-regexp-in-string "%a" "" template))) > > + (unless (plist-get info

Re: [BUG] org-table-duration-custom-format has wrong type spec [9.7.11 (release_9.7.11 @ /home/tbb/code/emacs/emacs/lisp/org/)]

2025-02-09 Thread Ihor Radchenko
Mauro Aranda writes: > After emacs -Q: > M-x customize-group RET org-table-calculation > Navigate to the Org Table Duration Custom Format and expand it. > Action the Value Menu, and choose any option. > Error: widget-apply: Wrong type argument: char-or-string-p, 'minutes > > Looks like the :type

Re: org code highlight w/ single quote

2025-02-09 Thread Ihor Radchenko
Jason Hemann writes: > On at least Org mode version 9.8-pre (release_9.7.20-241-g3218d3), the > following snippet is highlighted with org-code face. > > ~'~, plain ~foo~ Confirmed. > I suspect that behavior is incorrect. When I export, say, to HTML, the output > looks like I would expect—name

Re: Org mode version 9.8-pre (9.8-pre-n/a-gc2d57d @ /home/n/.emacs.d/elpaca/builds/org/); org-babel-execute:emacs-lisp relies on pp's implicit return value

2025-02-09 Thread Ihor Radchenko
No Wayman writes: > A recent commit on Emacs master branch changes the return value of > pp: > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d3311499339fab0371cb7502a1e2481fbcd2c65d > The function does not document a stable return value, either. > > This causes babel emacs-lisp source b

Re: [BUG] Cannot tangle src block in capture buffer [9.7.6]

2025-02-09 Thread Ihor Radchenko
Derek Chen-Becker writes: > I submitted my assignment form this week, but I'm not sure how long it > takes for that to get processed. 5 working days in theory, but they may take longer in practice as there is, AFAIK, a single guy handling all these assignments. I suggest to wait up to 1 month an

Re: Problems using completion with group of tags and regexp

2025-02-09 Thread Ihor Radchenko
gnu--- via "General discussions about Org-mode." writes: > If I use a group of tags, like #+TAGS: [ ORG : {.+ORG} ], when I use C-c C-c > for autocompletion, it gives me strange candidates. For example, it doesn't > offer the tags I'm using in the buffer, and instead, it offers others like: > :

Re: Bug: octave newline not printed when using :session [9.8-pre (release_9.7.18-205-g0ce4f3)]

2025-02-09 Thread Ihor Radchenko
Paul Stansell writes: > The attached org file gives an example of output from an octave code block > that is unexpected and inconsistent. The problem is that disp("\n") does > not print a new line. The problem only occurs when the ":session" header > is used. Blank lines are problematic. Comin