Release 9.6
Hi all, Org 9.6 a major release, is out, and will be available from GNU ELPA in a few hours. The release notes are published on https://orgmode.org/Changes.html. On top of the many small and big enhancements against 9.5, here are some changes you might want to be aware of: - Org tests are now regularily run: https://git.sr.ht/~bzg/org-mode-tests/ Thanks to Christian Köstlin for helping us setting this! We are looking for someone to maintain this repository. - Because Org is more than Emacs org-mode, and in order to help people working on Org parsers/tools, we made an effort to expose the syntax for .org files: https://orgmode.org/worg/org-syntax.html Thanks a lot to Tim (TEC) for his work on this! - Worg is a good place to advertize useful Org packages: if you want write access to Worg, please create an account on https://sr.ht and send me your username. (Patches can be sent with no account.) To help track orphan Org projects, there is now a dedicated page: https://orgmode.org/worg/org-orphanage.html Let's work from there to provide more useful information on the Org ecosystem in general. - If you enjoy using Org, please consider supporting contributors via https://liberapay.com/org-mode/ If you contribute to the Org ecosystem in any way (not just code), you are welcome to join the list of people who share donations, do let us know (don't be shy). Thanks to *everyone* who continues to make this list a nice and useful place for Orgers of the World. Last but not least: thanks to Ihor his truly amazing work and for being the de facto maintainer. Enjoy! -- Bastien
Re: Adding #+name to result block in babel
Hi Henrik, On Tue, Nov 29, 2022 at 2:11 AM Henrik Frisk wrote: > Hi, > > Maybe I'm missing something obvious but is it possible to have a name be > added to the result block such as running: > > #+begin_src shell > echo "Hello" > #+end_src > > results in > > #+RESULTS: > #+name: my_result > : Hello > > Thank you! > Name your block, like this: #+name: my_result #+begin_src sh echo hello #+end_src When you evaluate it, you'll get this: #+name: my_result #+begin_src sh echo hello #+end_src #+RESULTS: my_result : hello Then you can use the result like this: #+begin_src sh :var value=my_result echo $value #+end_src #+RESULTS: : hello -- Bill
Re: Images generated by R code blocks do not display
I tried git bisect and, if I did it right, the problem may have started here: commit 46b71f910844c14d8db1feb54c07de26d101cc05 Author: stardiviner Date: Tue Oct 4 12:36:32 2022 +0800 org.el: Support auto display inline images when cycling * lisp/org.el (org-toggle-inline-images): Support region. (org-display-inline-images): Fix refresh argument logic. (org-remove-inline-images): Support region. ... Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada
Adding #+name to result block in babel
Hi, Maybe I'm missing something obvious but is it possible to have a name be added to the result block such as running: #+begin_src shell echo "Hello" #+end_src results in #+RESULTS: #+name: my_result : Hello Thank you!
Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages
Hi On 27 Nov 2022, Ihor Radchenko wrote: Contributions for other languages are also welcome. For Portuguese, I'd use the following: ("pt" "Arquivo" "N" "Data e hora" "Título" "Hora" "TODOS" "Hora total" "Hora do arquivo" "Resumo das horas em") -- Jonathan
Re: Images generated by R code blocks do not display
On 25 November 2022, Ihor Radchenko wrote: 1. cd /path/to/org/repo 2. git checkout main 3. make repro 4. M-: (require 'ob-shell) 5. Open the following org file #+begin_src sh :results graphics file :file /tmp/colour.png convert -size 300x300 xc:#002b36 /tmp/colour.png #+end_src 6. Move point to the source block and C-c C-c yes 7. C-c C-x C-v 8. Observe the 300x300 image appearing 9. Edit the source code to 500x300 10. C-c C-c yes 11. Image disappears 12. C-c C-x C-v 13. Observe what appears to be the old 300x300 image 14. Move the cursor to the image 15. Observe the correct 500x300 appearing while the cursor is on it!! Could you please confirm? Confirmed! Just as Jeremie did also. I'd seen this image-switching behaviour before and hadn't been able to recreate it with a simple example, but there it is. "This is very strange," indeed. I don't know if this is useful, but: 16. Edit source code back to 300x300 17. C-c C-c yes 18. Image disappears 19. C-c C-x C-v 20. 300x300 image appears (a new one? or the first one?) 21. Move the cursor to the image 22. The now incorrect 500x300 appears while the cursor is on it, same as 15 Bill -- William Denton https://www.miskatonic.org/ Librarian, artist and licensed private investigator. Toronto, Canada
To convert and simplify units in tables (was:LIterate programming with calc (help))
#+TBLFM: $s=uconvert($W*$l/$Z,kg / cm^2)::$cs=uconvert($s_lim/$s, ) where uconvert is defined as: (defmath uconvert (v u) "Convert value V to compatible unit U." (math-convert-units v u)) But no luck, "cs" result is an ERROR. Is it feasible to get a value for "cs" with no units? Ok, it is enough to add any unit to uconvert, for example: $cs=uconvert($s_lim/$s,m). That simplifies units in adimensional parameters. Best regards ;D
Re: [BUG] Clipboard text pasted in two windows with a cloned buffer [9.6-pre ( @ /home/chomwitt/.config/emacs/elpa/org-9.6pre0.20221110.85807/)]
On Mon, 28 Nov 2022 10:28:41 + Alexandros Prekates wrote: I come across another case : WINDOW A -- WINDOW B - * FOO1 * FOO1 ** goo2 ** goo2 ** zoo2 ** zoo2 bla [[ <--- starting a link bla WINDOW A -- WINDOW B - * FOO1 * FOO1 ** goo2 ** goo2 ** zoo2 ** zoo2...http://foo bla [[http://foo <--- pasting a url bla > > > Expected Behavior: > Having a frame with two windows that have cloned versions of the same > buffer (created with M-x clone-indirect-buffer) if i paste a clipboard > text AT THE END of a expanded subheader in one window like in this > example: > WINDOW A -- > * FOO1 > ** goo2 > ** zoo2 > bla > bla > MOOO <-- pasted text > > I expect in the other window with the cloned buffer in a folded state > to see: > WINDOW B -- > * FOO1 > MOOO > > or to see > > * FOO1 // in which case i guess MOOO is considered text belonging > // to a folded header . > // Although i guess i'm not sure HOW as a user would > // tell org to differentiate between those two cases. > > Observer behavior: > WINDOW A -- > * FOO1 > ** goo2 > ** zoo2 > bla > bla > MOOO <-- pasted text > > WINDOW B -- > * FOO1..MOOO > > or if unfolded: > > * FOO1 > ** goo2 > ** zoo2..MOOO > > > > > > > > > > Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.24, cairo version 1.16.0) of 2021-03-28, modified by Debian > Package: Org mode version 9.6-pre ( @ > /home/chomwitt/.config/emacs/elpa/org-9.6pre0.20221110.85807/) > > current state: > == > (setq > org-src-mode-hook '(org-src-babel-configure-edit-buffer >org-src-mode-configure-edit-buffer) > org-link-shell-confirm-function 'yes-or-no-p > org-metadown-hook '(org-babel-pop-to-session-maybe) > org-persist-before-write-hook > '(org-element--cache-persist-before-write) org-mode-hook '(#[0 > "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2] #[0 > "\300\301\302\303\304$\207" [add-hook change-major-mode-hook > org-fold-show-all append local] 5] #[0 "\300\301\302\303\304$\207" > [add-hook change-major-mode-hook > org-babel-show-result-all append local] > 5] >org-babel-result-hide-spec org-babel-hide-all-hashes) > org-archive-hook '(org-attach-archive-delete-maybe) > org-persist-before-read-hook > '(org-element--cache-persist-before-read) > org-confirm-elisp-link-function 'yes-or-no-p > org-startup-with-inline-images t org-agenda-before-write-hook > '(org-agenda-add-entry-text) org-metaup-hook > '(org-babel-load-in-session-maybe) org-persist-after-read-hook > '(org-element--cache-persist-after-read) > org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 > "\n\n(fn ENTRY)"] org-babel-pre-tangle-hook '(save-buffer) > org-tab-first-hook '(org-babel-hide-result-toggle-maybe > org-babel-header-arg-expand) org-cycle-tab-first-hook > '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) > org-agenda-loop-over-headlines-in-active-region nil > org-fold-core-isearch-open-function 'org-fold--isearch-reveal > org-occur-hook '(org-first-headline-recenter) org-cycle-hook > '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines > org-cycle-optimize-window-after-visibility-change > org-cycle-display-inline-images) org-speed-command-hook > '(org-speed-command-activate org-babel-speed-command-activate) > org-export-before-parsing-hook '(org-attach-expand-links) > org-confirm-shell-link-function 'yes-or-no-p org-link-parameters > '(("attachment" :follow org-attach-follow :complete > org-attach-complete-link) ("id" :follow org-id-open) > ("eww" :follow org-eww-open :store > org-eww-store-link) ("rmail" :follow org-rmail-open :store > org-rmail-store-link) ("mhe" :follow org-mhe-open :store > org-mhe-store-link) ("irc" :follow org-irc-visit :store > org-irc-store-link :export org-irc-export) > ("info" :follow org-info-open :export > org-info-export :store org-info-store-link :insert-description > org-info-description-as-command) > ("gnus" :follow org-gnus-open :store > org-gnus-store-link) ("docview" :follow org-docview-open :export > org-docview-export :store org-docview-store-link) > ("bibtex" :follow org-bibtex-open :store > org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export > org-bbdb-export :complete org-bbdb-complete-link :store > org-bbdb-store-link) ("w3m" :store org-w3m-store-link) > ("doi" :follow org-link-doi-open :export > org-link-doi-export) ("file+sys")
[BUG] Clipboard text pasted in two windows with a cloned buffer [9.6-pre ( @ /home/chomwitt/.config/emacs/elpa/org-9.6pre0.20221110.85807/)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. Expected Behavior: Having a frame with two windows that have cloned versions of the same buffer (created with M-x clone-indirect-buffer) if i paste a clipboard text AT THE END of a expanded subheader in one window like in this example: WINDOW A -- * FOO1 ** goo2 ** zoo2 bla bla MOOO <-- pasted text I expect in the other window with the cloned buffer in a folded state to see: WINDOW B -- * FOO1 MOOO or to see * FOO1 // in which case i guess MOOO is considered text belonging // to a folded header . // Although i guess i'm not sure HOW as a user would // tell org to differentiate between those two cases. Observer behavior: WINDOW A -- * FOO1 ** goo2 ** zoo2 bla bla MOOO <-- pasted text WINDOW B -- * FOO1..MOOO or if unfolded: * FOO1 ** goo2 ** zoo2..MOOO Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-03-28, modified by Debian Package: Org mode version 9.6-pre ( @ /home/chomwitt/.config/emacs/elpa/org-9.6pre0.20221110.85807/) current state: == (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-persist-before-write-hook '(org-element--cache-persist-before-write) org-mode-hook '(#[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-fold-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-archive-hook '(org-attach-archive-delete-maybe) org-persist-before-read-hook '(org-element--cache-persist-before-read) org-confirm-elisp-link-function 'yes-or-no-p org-startup-with-inline-images t org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-persist-after-read-hook '(org-element--cache-persist-after-read) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-agenda-loop-over-headlines-in-active-region nil org-fold-core-isearch-open-function 'org-fold--isearch-reveal org-occur-hook '(org-first-headline-recenter) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-cycle-optimize-window-after-visibility-change org-cycle-display-inline-images) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-export-before-parsing-hook '(org-attach-expand-links) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link :insert-description org-info-description-as-command) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-doi-export) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("https" :follow #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("http"
Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages
>>> '(("en" "File" "L" "Timestamp" "Headline" "Time" "ALL" >>> "Total time" "File time" "Clock summary at") >>> ("es" "Archivo" "N" "Fecha y hora" "Tarea" "Tiempo" "TODO" >>> "Tiempo total" "Tiempo archivo" "Clock summary at") >> >> I don't know what "L" or "N" are. > > "L" is supposed to refer to heading "Level". OK. If "L" would be an abbreviation to "Level", "N" would be the right abbreviation of the correct translation "Nivel". > "Clock summary at" will be used as title: > > #+TITLE: Clock summary at [2022-11-28] Then the translation looks OK. Nevertheless, it sounds cranky. If there is an example of what the title has below it, it might be easier to judge. Perhaps the manual or another link has an example where it shows that title on a generated document. I have not found it in my search. > I am attaching a patch according to your suggestions. Under your name. > Let me know if everything looks OK. That is nice! > Thanks for the help! Thank you for your patience and all your work. :-) >>> P.S. I am taking this opportunity with an easy help request to see how >>> many people would be interested to contribute non-code. >> >> Finally something that I can contribute to! :-D > > In theory, we tried to list ways to help that do not involve code in > https://orgmode.org/worg/org-contribute.html#org27513d8 It looks appropriate. But it is different to see a general description (as in that link) than a small task to help with (as was with this task). The later is more motivating! > Though it is hard to say how visible that page is from > https://orgmode.org/. (It is "Contribute" link on top). I do think that the "Contribute" link on top is accessible. > More things also require translation in `org-export-dictionary'. That sounds long Is there something concrete which is important to help with? I can destinate about 2 hours per week. Maybe a little more.