Re: [BUG] Org parser error when removing latex preview [9.6.15 (release_9.6.15 @ /gnu/store/gnvv2a1nxfbibkm1wdxdv6bd6mhk4cf8-emacs-29.3/share/emacs/29.3/lisp/org/)]

2024-04-13 Thread General discussions about Org-mode.
> Then, it looks like a duplicate of > https://list.orgmode.org/orgmode/caedgbw4gmfmpt4-w6edrh7poapd5drarbtusfulrq7vbvtu...@mail.gmail.com/ > > There is no bug on the latest development version of Org mode (main). Sure! Thank you for pointing it out and helping with the resolution. -- Anush

Re: [BUG] Org parser error when removing latex preview [9.6.15 (release_9.6.15 @ /gnu/store/gnvv2a1nxfbibkm1wdxdv6bd6mhk4cf8-emacs-29.3/share/emacs/29.3/lisp/org/)]

2024-04-13 Thread General discussions about Org-mode.
> I did the following: > > 1. Save your file to /tmp/ > 2. rm -rf /tmp/ltximg > 3. emacs-29 --version > GNU Emacs 29.3 > Copyright (C) 2024 Free Software Foundation, Inc. > > 4. emacs-29 -Q > 5. C-x C-f /tmp/tmp.org > 6. C-n > 7. C-c C-x C-l > 8. C-c C-x C-l > 9. I do not observe any warnings

Re: [BUG] Org parser error when removing latex preview [9.6.15 (release_9.6.15 @ /gnu/store/gnvv2a1nxfbibkm1wdxdv6bd6mhk4cf8-emacs-29.3/share/emacs/29.3/lisp/org/)]

2024-04-12 Thread General discussions about Org-mode.
> From: Ihor Radchenko > Date: Fri, 12 Apr 2024 18:24:17 + > > Anush V via "General discussions about Org-mode." > writes: > >> Below are the steps to replicate the issue: >> >> Start emacs by running "emacs --no-init". >> >

[BUG] Org parser error when removing latex preview [9.6.15 (release_9.6.15 @ /gnu/store/gnvv2a1nxfbibkm1wdxdv6bd6mhk4cf8-emacs-29.3/share/emacs/29.3/lisp/org/)]

2024-04-11 Thread General discussions about Org-mode.
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.

[BUG] Org parser error Invalid search bound (wrong side of point) [9.7 (9.7-??-7a6bb0904 @ /Users/dougheadley/.config/emacs/.local/straight/build-29.2/org/)]

2024-02-16 Thread General discussions about Org-mode.
using org-ai seemed to cause this bug.  I wouldn't have recieved this error otherwise. Never filed a bug report before.  Please ignore if this seems incomplete. ⛔ Warning (org-element): org-element--cache: Org parser error in 2024-02-14.org::898. Resetting. The error was: (error "Invalid

Re: problems with templates and ID in properties

2024-02-02 Thread General discussions about Org-mode.
> Thanks for you answer > So that cannot be changed, do I understand correctly. > Thanks for trying it out, I suspect it is then my setting, I just looked > up the org-mode-hook > And I can't find any suspicious. I will try to eyeball my org-add-ons > files. > What command/variable could

Re: problems with templates and ID in properties

2024-02-02 Thread General discussions about Org-mode.
> Uwe Brauer writes: Thanks for you answer > This is expected. As per `org-capture-templates' docstring, "entry" > capture type inserts top-level entries into files: >entry an Org node, with a headline. Will be filed >as the child of the

Re: org-->latex and beamer, avoid blocks

2024-01-18 Thread General discussions about Org-mode.
>>> "FE" == Fraga, Eric writes: > On Thursday, 18 Jan 2024 at 16:40, Uwe Brauer via "General discussions > about Org-mode." wrote: >> Any suggestion how to tell the converter not convert >> >> *** First step >> >> To a b

export to latex (article) but with multicolums

2024-01-18 Thread General discussions about Org-mode.
Hello According to https://orgmode.org/worg/exporters/beamer/tutorial.html It is possible to have multicolumns in beamer. Now I am writing a bilingual text, and would have each language in a column. Is there any similar configuration possible for exporting to LaTeX (article)? Thanks and

org-->latex and beamer, avoid blocks

2024-01-18 Thread General discussions about Org-mode.
Hi I have a longer documents with a lot of graphics, and the following setting: #+OPTIONS: H:2 So that ** Introduction Will be converted to a frame, while if converted to LaTeX (article) it will be converted to a subsection. Now I also have subsubsections like *** First step

Re: problem with https://orgmode.org/manual/Results-of-Evaluation.html

2024-01-16 Thread General discussions about Org-mode.
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer via "General discussions about Org-mode." > writes: >> #+NAME: many-cols >> | a | b | c | >> | d | e | f | >> | g | h | i | >> >> #+NAME: hline-please >>

Re: problem with https://orgmode.org/manual/Results-of-Evaluation.html

2024-01-15 Thread General discussions about Org-mode.
> Uwe Brauer via "General discussions about Org-mode." > writes: > No, this is because you customized `org-src-preserve-indentation' or > `org-edit-src-content-indentation', while the provided example only > works with default indentation settings. Python is sensitive

problem with https://orgmode.org/manual/Results-of-Evaluation.html

2024-01-15 Thread General discussions about Org-mode.
Hi I tried to use the examples of the above link #+NAME: many-cols | a | b | c | |---+---+---| | d | e | f | |---+---+---| | g | h | i | #+NAME: no-hline #+BEGIN_SRC python :var tab=many-cols :hlines no return tab #+END_SRC Now already the first failed: , | | File "", line 4 |

org-table add hlines when import from csv, and regionwise

2024-01-14 Thread General discussions about Org-mode.
Hi Does anybody know about the following enhancements: 1. When importing from CSV all rows in the org table get a hline 2. Marking a some rows in a table, should then allow to insert htlines to each row in the marked region. Thanks Uwe Brauer -- I strongly condemn Hamas

Re: Real-time, granular synchronization of .org files across devices?

2024-01-06 Thread General discussions about Org-mode.
> I use nextcloud to sync my org files, i.e. I have my own nextcloud > instance to sync my files between different computers > (laptop/PC/work/home). There are occasional file conflicts which have to > be solved, but rarely. Files are synchronised immediately on save (if > the devices are

Re: Real-time, granular synchronization of .org files across devices?

2024-01-06 Thread General discussions about Org-mode.
> Single threading is not an issue. In fact, Emacs already has > https://code.librehq.com/qhong/crdt.el that provides live collaborative > editing. In theory, you might even make crdt.el work on your phone with > the new official Emacs Android port. Might be tricky though. That's really

Real-time, granular synchronization of .org files across devices?

2024-01-04 Thread General discussions about Org-mode.
Hi, I've been using Emacs+Org Mode on my Linux and Android devices for some time now and have been encountering some little synchronization issues that have made it difficult for me to use Org as a task manager. I've encountered no big issues regarding long documents or note writing, but due to

[PATCH] Add org-after-note-stored-hook

2024-01-02 Thread General discussions about Org-mode.
Hello, I've been archiving tasks automatically using `org-after-todo-state-change-hook' but I've been recently bit with a note (entering a todo state configured with '@') being placed where the task was before its archival. This patch aims to offer a way to defer the archival after the note is

[BUG] Warnings pop-ups in the org buffer [9.6.13 ( @ /home/soumya/.emacs.d/elpa/org-9.6.13/)]

2023-12-15 Thread General discussions about Org-mode.
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.

[BUG] Parser error: Invalid search bound (wrong side of point) [9.7 (9.7-??-e90a8a69a @ /home/user/.emacs.d/.local/straight/build-29.1/org/)]

2023-10-17 Thread General discussions about Org-mode.
Hello, I ran `C-c C-x C-l` to create a LaTeX preview of the following inline fragment in an Org document: $\text{CaCo}_3$, and this bug happened. This is my first bug report so let me know if anything else is necessary. - Lorenzo

[BUG] tikz latex figures don't render properly in the html output. [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]

2023-09-18 Thread General discussions about Org-mode.
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.

[BUG] org-element--cache: Org parser error (error "rx '**' range error") [9.7 (9.7-??-d6f3aed7b @ /Users/fbartik/.config/emacs/.local/straight/build-29.1/org/)]

2023-08-24 Thread General discussions about Org-mode.
Hi, I'm very new to Emacs and org and I'm running into this issue when I start Emacs from scratch and reload my last session. The error I get looks like this and there are multiples on each start: Warning (org-element-cache): org-element--cache: Org parser error in config.el::5943.

[PATCH] org.el: Respect org-extend-today-until in timestamps with ++

2023-08-16 Thread General discussions about Org-mode.
* org.el (org-auto-repeat-maybe): Changed org-auto-repeat-maybe, so that switching a repeating todo with a timestamp of the form <… ++…> respects `org-extend-today-until'. --- lisp/org.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index

[PATCH] org.el: Respect org-extend-today-until in timestamps with ++

2023-08-13 Thread General discussions about Org-mode.
* org.el (org-auto-repeat-maybe): Changed org-auto-repeat-maybe, so that switching a repeating todo with a timestamp of the form <… ++…> respects `org-extend-today-until'. --- lisp/org.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index

Re: Add a Chinese version to index.org of orgmode.org

2023-08-08 Thread General discussions about Org-mode.
Hello Ihor, Lux and all, On Aug 8, 2023, at 14:55, Ihor Radchenko wrote: > > lux writes: > >> Hi >> To facilitate Chinese users' understanding of Org Mode, I have >> translated index.org into Simplified Chinese. Please review it. > > Thanks! > However, we already have another, more

[Pre-PATCH v2] Add the capability to specify lexical scope in tangled files (was: Add new :lexical header argument)

2023-07-13 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Evgenii Klimov writes: > >> * lisp/ob-core.el (org-babel-common-header-args-w-values): Add new >> :lexical header argument. > > A short note: ob-emacs-lisp already defines :lexical header arg. See > org-babel-header-args:emacs-lisp. Thanks for pointing it out. Updated

Re: [orgweb/zh-CN] [DRAFT PATCH v7] Tentative zh-CN translation

2023-06-13 Thread General discussions about Org-mode.
On Jun 13, 2023, at 20:02, Ihor Radchenko wrote: > > Ruijie Yu writes: > >> -Worried about aligning free text tables? >> -Org mode does it in a single keystroke -- =tab=. >> +担心无法在文本表格中对齐?你只需按一个键 - =tab=​。 > > May I know the purpose of adding extra "-"?

[BUG] org-agenda-custom-commands with org-agenda-category-filter-preset not working [9.6.4 (release_9.6.4-9-g8eb209 @ /usr/local/share/emacs/29.0.90/lisp/org/)]

2023-06-06 Thread General discussions about Org-mode.
In every work related org-file, I set the category like this: #+CATEGORY: work I then use org-agenda-custom-commands like those below to show work related content or not work related content. This works in Org version 9.5.5/Emacs 28.2, but in Org version 9.6.4/Emacs 29.0.90, both

[PATCH] org-manual: Mark up nil as ~nil~ [9.6.6 (release_9.6.6 @ /home/blc/.local/share/emacs/30.0.50/lisp/org/)]

2023-06-01 Thread General discussions about Org-mode.
In emacs.git I noticed some occurrences of 'nil' in the generated doc/misc/org.texi were not marked up as @code. Is this TRT? (I already have an Emacs CA on file.) >From 69ee9636fb2cd52efe8c11ca5877c83fb984a9ea Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Thu, 1 Jun 2023

Re: [FR] Please add environment variable substitution in `org-display-inline-images'

2023-05-28 Thread General discussions about Org-mode.
Pan Xie writes: > So my proposal of the code change would be (find "pxie" in the codes): Thanks for proposing a change. It would be best if you produced a patch file from this :) But someone with a bit more free time could do that as well. This is just FYI, and by no means a big deal, but

Re: [PATCH] org-id: implement arbitrary cross-file references

2023-05-27 Thread General discussions about Org-mode.
Thanks for the patch. Some in-line comments below. Sergei Kosyrev writes: > From f712fa57a90c68d3d9066b10f49822ea0337b923 Mon Sep 17 00:00:00 2001 > From: Kosyrev Serge > Date: Thu, 25 May 2023 19:30:01 +0800 > Subject: [PATCH] org-id: implement arbitrary cross-file references > > * Table

Re: It's possible, to translate the org-mode website into Spanish?

2023-05-11 Thread General discussions about Org-mode.
Antonio Simón writes: > Greetings from Spain. > > I'm a newbie in the FOSS world and a big fan of Emacs and org-mode in which > I'm taking my first steps. > > I have seen that the Org mode page is available in several languages, and > Spanish is not one of them. > > I was thinking of

Re: refiling heading onto itself

2023-05-10 Thread General discussions about Org-mode.
Oliver Epper writes: > When choosing the very same heading that is going to be refiled as its target > the message buffer states success but the heading is gone. This is > version 9.5.5 of org-mode with emacs 28.2 > > -*- mode: org -*- > * one > * two > * three > > Try refiling two and choose

Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2023-05-09 Thread General discussions about Org-mode.
Timothy writes: > Hi Ihor, > >>> As a result of this issue (plus other issues with xelatex), I’m >>> considering adding an option to specify different LaTeX compilers for >>> previews and exports, with the default option continuing to be >>> the value of `org-latex-compiler’. >> >> I am not

Re: Help using org-entities or arternatives.

2023-05-09 Thread General discussions about Org-mode.
Ypo writes: > Hi > > Is it possible to, each time I write "" to be subsituted by "[...]" ? > > I can't do it using abbrev, and I don't know how to do it using org-entities. > > I use it to yank quotes, for example, I write: > > "Like other editors, Emacs has commands to search for

Re: An Org-mode-based blogging engine?

2023-05-08 Thread General discussions about Org-mode.
Hello Marcin, I’m on mobile, so please excuse my brevity and top-posting. Did you check the org website? I remember from my orgweb translation that there is one particular page which outlines all the different tools that integrate org with blogging. Maybe those will give you some

Re: org mode to github markdown

2023-05-07 Thread General discussions about Org-mode.
Uwe Brauer writes: > There seems no export backend for (github) markdown I think you are looking for "ox-gfm". I can find it via [search engine] and on melpa. -- Best, RY

Re: [PATCH] Add tests for ob-haskell (GHCi)

2023-05-07 Thread General discussions about Org-mode.
Minor remarks below regarding the patchset. Bruno Barbier writes: > From 9ef867cd2cf89e77b5c5a5a7090fd37b1702e06a Mon Sep 17 00:00:00 2001 > From: Bruno BARBIER > Date: Fri, 18 Nov 2022 20:14:20 +0100 > Subject: [PATCH 01/13] ob-haskell: Add tests for GHCi > >

Re: [ANN] lisp/ob-tangle-sync.el

2023-05-02 Thread General discussions about Org-mode.
Mehmet Tekman writes: > Hello again, sorry for the delay - I had some holiday time off > that couldn't wait ;-) > > I've modified the ob-tangle.el file for the main tangling and > detangling functions. Most importantly, both functions can now > exchange information from the source Org mode

Re: [Need Help] Error to evaluate "mpv" command in inline src block

2023-04-29 Thread General discussions about Org-mode.
stardiviner writes: > I have example Org file like bellowing. > > Here is the testing Org content: > > #+begin_src org > ,* 《枕刀歌》 > :PROPERTIES: > :DATE: [2021-05-13 Thu 20:09] > :Douban: https://movie.douban.com/subject/35350794/ > :DIR: 枕刀歌 > :EVAL: src_sh{mpv "枕刀歌/《枕刀歌》SE05

Re: [ANN] lisp/ob-tangle-sync.el

2023-04-28 Thread General discussions about Org-mode.
Mehmet Tekman writes: > Ruijie Yu writes: > >> Great idea! Some inline comments below. >> >> You only need to say #'expand-file-name instead of the quoted lambda. >> Also, you need to set the variable, otherwise the variable >> `org-babel-tangle-sync-files' is undefined. >> >> What I have

Re: [ANN] lisp/ob-tangle-sync.el

2023-04-26 Thread General discussions about Org-mode.
Mehmet Tekman writes: > Dear fellow org-users, > > I would like to contribute some a new library into org-mode, which > performs automatic synchronization between tangled files and their > org-mode source blocks via a global minor mode > `org-babel-tangle-sync-mode' which uses the

Re: "Indent headline data" is indenting non-headline-data

2023-04-26 Thread General discussions about Org-mode.
"\"James Harkins\" " writes: > I just discovered a strange auto-indentation behavior. Org 9.5.2. > > I'm currently using org to draft a paper. > > I have set org-adapt-indentation to "adapt indentation for headline data > lines." > > Now I have (just stealing some body text): > > ``` > *

Re: [PATCH] before emit an error message, try to load the babel language

2023-04-25 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu writes: > >>> 1. `setopt' already triggers loading when variable is set. It is just >>>`setq', often used in place of `setopt', that does not trigger >>>loading/unloading. >> >> Speaking of which, since we now (or are about to?) depend on compat, we

Re: [DRAFT PATCH v6] Decouple LANG= and testing (was: Test failure due to LANG)

2023-04-25 Thread General discussions about Org-mode.
Ruijie Yu via "General discussions about Org-mode." writes: > Ihor Radchenko writes: > >> (let ((org-time-stamp-formats '("%Y-%m-%d" . "%Y-%m-%d %H:%M"))) >> (org-element-timestamp-interpreter timestamp nil)) > > Thanks for th

Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG)

2023-04-25 Thread General discussions about Org-mode.
Ihor Radchenko writes: >> +(defun org-columns--substring-below-width (string start width) >> + "Similar to `substring', but use `string-width' to check width. > > This is not really similar to `substring' as `substring' has totally > different third argument. Addressed in v6 -- see my update

Re: [PATCH] before emit an error message, try to load the babel language

2023-04-25 Thread General discussions about Org-mode.
Ihor Radchenko writes: > lin Sun writes: > >> Thanks for the comment. >> If we switch to the `add-variable-watcher', it seems we'll load the >> ob-LANG in the callback immediately. >> The previous change can lazyly load the babel languages until the user >> tries to evaluate the source block.

Re: [DRAFT PATCH v5] Decouple LANG= and testing (was: Test failure due to LANG)

2023-04-25 Thread General discussions about Org-mode.
Ihor Radchenko writes: > (let ((org-time-stamp-formats '("%Y-%m-%d" . "%Y-%m-%d %H:%M"))) > (org-element-timestamp-interpreter timestamp nil)) Thanks for the pointer. I have made this into a macro and redid my changes accordingly. Please also let me know if more work should be dedicated

Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG)

2023-04-23 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu writes: > >>> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63029 >> >> From my understanding of Eli's response, org-colview is at fault here, by >> calling `length' instead of `string-width' in >> `org-columns-add-ellipses'. Changing this function call

Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG)

2023-04-23 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu writes: > (format "%-5.5s |" "1234…") returns different results for different locales, causing `test-org-colview/columns-width' to break. >>> >>> What are these different results? >> >> In CJK locales such as zh_CN and ja_JA, the

Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG)

2023-04-23 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu via "General discussions about Org-mode." > writes: > >> Something very troublesome for me is `test-org-clock/clocktable/lang' on >> zh_CN.UTF-8. What I noticed is that when I run this test in batch mode >> (one of the t

Re: How to disable org-persist in a given file?

2023-04-23 Thread General discussions about Org-mode.
Gustavo Barros writes: >> You can use `org-persist-before-write-hook' to disable writing >> selectively. > > Thanks! That's the one. Though it would be nice if a variable existed > for the purpose. `(add-hook 'org-persist-before-write-hook (lambda > ( _args) t) nil t)' is not our average file

[BUG] LANG=fr_FR.UTF-8 org-clock "not at timestamp"

2023-04-23 Thread General discussions about Org-mode.
Hello, I am investigating test failures with LANG=fr_FR.UTF-8 amongst some other locales. I noticed that the test `test-org-clok/org-clock-timestamps-change' in testing/lisp/test-org-clock.el around line 92 failed with "not at timestamp", which I presume reveals a genuine bug. To simplify, here

Re: [DRAFT PATCH v4] Decouple LANG= and testing (was: Test failure due to LANG)

2023-04-23 Thread General discussions about Org-mode.
Axel Kielhorn writes: >> Am 23.04.2023 um 03:47 schrieb Ruijie Yu via General discussions about >> Org-mode. : >> >> >> Ruijie Yu via "General discussions about Org-mode." >> writes: >> >>> Axel Kielhorn writes: >>>

Where can I find the full specification of a timestamp?

2023-04-22 Thread General discussions about Org-mode.
Hello, In the process of trying to fix all non-default-locale-related test failures, I ran into a weird-looking timestamp somewhere around testing/lisp/test-org.el:5969, in test `test-org/deadline': <2021-07-20 -1d> I couldn't find relevant information from the info page on the first try (by

Re: [DRAFT PATCH v3] Decouple LANG= and testing (was: Test failure due to LANG)

2023-04-22 Thread General discussions about Org-mode.
Ruijie Yu via "General discussions about Org-mode." writes: > Axel Kielhorn writes: > >> With this patch I get: >>FAILED test-org-clock/clock-drawer-dwim arrayp >>FAILED test-org-clok/org-clock-timestamps-change arrayp >> >> Axel >

Re: [orgweb/zh-CN] [DRAFT PATCH v7] Tentative zh-CN translation

2023-04-22 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu writes: > >>> May I know why you use comment here and in similar places? This >>> @@comment:...@@ thing is a bit of a hack as it is actually representing >>> inline export snippet to non-existent "comment" export backend. >>> >>> I am not sure why this has

Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG)

2023-04-22 Thread General discussions about Org-mode.
Axel Kielhorn writes: >> Am 22.04.2023 um 15:01 schrieb Ruijie Yu via General discussions about >> Org-mode. : >> >> >> Ruijie Yu via "General discussions about Org-mode." >> writes: >> >>> Ruijie Yu via "General discussio

Re: [orgweb/zh-CN] [DRAFT PATCH v7] Tentative zh-CN translation

2023-04-22 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu writes: > >> Anyways, attached at the end of this message are all the commits in >> master..v7. As usual, it is also available on >> https://git.sr.ht/~ruijieyu/orgweb/log/translate/zh-CN--v7. > > Thanks! > >> Subject: [PATCH 04/16] Update preamble files

Re: [DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG)

2023-04-22 Thread General discussions about Org-mode.
Ruijie Yu writes: > Here is an updated patch (replacing the first iteration). This should > hopefully fix both test failures that Axel found. Once this is > confirmed good, I will look at the test failures of the other languages > to see what I can do. > > [2. text/x-patch; >

[DRAFT PATCH v2] Decouple LANG= and testing (was: Test failure due to LANG)

2023-04-22 Thread General discussions about Org-mode.
Ruijie Yu via "General discussions about Org-mode." writes: > Ruijie Yu via "General discussions about Org-mode." > writes: > >> Ruijie Yu via "General discussions about Org-mode." >> writes: >> >>> Axel Kielhor

Re: Test failure due to LANG

2023-04-22 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Axel Kielhorn writes: > >> I’m building org with LANG=de. >> As a result I get two failed tests: >> >> ... >> "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Thu 06:00]--[2022-11-03 Thu 06:01] => >> 0:01\n:END:\n" #( >> "* Foo\n:LOGBOOK:\nCLOCK: [2022-11-03 Do

Re: Test failure due to LANG

2023-04-22 Thread General discussions about Org-mode.
Ruijie Yu via "General discussions about Org-mode." writes: > Ruijie Yu via "General discussions about Org-mode." > writes: > >> Axel Kielhorn writes: >> >>> Hello! >>> >>> I’m building org with LANG=de. >>> A

Re: Test failure due to LANG

2023-04-22 Thread General discussions about Org-mode.
Ruijie Yu via "General discussions about Org-mode." writes: > Axel Kielhorn writes: > >> Hello! >> >> I’m building org with LANG=de. >> As a result I get two failed tests: > > Reproducible using "LANG=zh_CN.UTF-8". In fact, I got more

Re: Test failure due to LANG

2023-04-22 Thread General discussions about Org-mode.
Axel Kielhorn writes: > Hello! > > I’m building org with LANG=de. > As a result I get two failed tests: Reproducible using "LANG=zh_CN.UTF-8". In fact, I got more failed tests in my testing. I think the OP's two test failures are due to hardcoded English expected result, whereas the

Re: [PATCH] before emit an error message, try to load the babel language

2023-04-22 Thread General discussions about Org-mode.
lin Sun writes: > Hi, > The function `org-babel-execute-src-block' will emit an error message > if the language is not loaded. > > Before the error message, the patch will give a try to load the > associated babel language. > > Why does the language exist in the `lang org-babel-load-languages'

Re: [orgweb/zh-CN] [DRAFT PATCH v7] Tentative zh-CN translation

2023-04-20 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu writes: > >>> -org-mode-parser >>> +/org-mode-parser/ >>> >>> This probably belongs to the English version as well. >> >> Should the English version change belong to a new commit, unrelated to >> the translation patchset? Or would I just modify it in the

Re: Major mode of orgweb/publish.sh?

2023-04-20 Thread General discussions about Org-mode.
Bastien Guerry writes: > Ihor Radchenko writes: > >>> Converted the `load' into `require' because it allows someone working on a >>> local >>> repo to `eval-buffer' successfully, given that the individual installs these >>> dependencies from GNU/NonGNU Elpa. Previously, due to the

Re: [BUG] org-latex-packages-alist type specification [9.6.3 (release_9.6.3-2-gf2949d @ /usr/local/share/emacs/29.0.90/lisp/org/)]

2023-04-20 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu writes: > >>> Compiler list may also be nil. >> >> This should be covered by the repeat case? Unless you want to be explicit >> about this, in which case you can wrap it in a choice, whose first choice >> being (const :tag “description” nil), and the second

Re: [BUG] ob-js "SyntaxError: Unexpected end of input" when code block ends with comment

2023-04-17 Thread General discussions about Org-mode.
Happy to help and thanks for fixing it so quickly:) Best regards, -- Salah  Apr 17, 2023 at 12:10 by yanta...@posteo.net: > sgherdao--- via "General discussions about Org-mode." > writes: > >> The following code snippet fails to execute >> >> #+begin

[BUG] ob-js "SyntaxError: Unexpected end of input" when code block ends with comment

2023-04-17 Thread General discussions about Org-mode.
Hello, I would like to report a bug, I am using the following versions GNU Emacs 28.2 Org mode version 9.6.1 Node v19.9.0 The following code snippet fails to execute #+begin_src js console.log("Hello Friends!"); // -> logs "Hello Friends" #+end_src I encounter the following error message:

Re: [orgweb/zh-CN] [DRAFT PATCH] Tentative zh-CN translation

2023-04-16 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu writes: > >>> Series of commits is ok. >> >> I have decided to push the changes to an unlisted cloned project on >> sourcehut (https://sr.ht/~ruijieyu/orgweb), since otherwise I would have >> to generate the patchset in every iteration, and attach the files

Re: [orgweb/zh-CN] [DRAFT PATCH] Tentative zh-CN translation

2023-04-16 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu via "General discussions about Org-mode." > writes: > >> I underwent a (painfully long) process of git magickery so that each >> "translation" commit only _translates_ a file, instead of adds a brand >> new file

Re: [orgweb/zh-CN] [DRAFT PATCH] Tentative zh-CN translation

2023-04-16 Thread General discussions about Org-mode.
Hanno Perrey writes: >>> I have decided to push the changes to an unlisted cloned project on >>> sourcehut (https://sr.ht/~ruijieyu/orgweb), since otherwise I would have >>> to generate the patchset in every iteration, and attach the files to >>> emails _one by one_ on mu4e. Let me know if

Re: [orgweb/zh-CN] [DRAFT PATCH] Tentative zh-CN translation

2023-04-15 Thread General discussions about Org-mode.
Hello, This is a new iteration: https://git.sr.ht/~ruijieyu/orgweb/log/translate/zh-CN--v5 for the zh-CN translation. Well, it says v5 because it went through some internal iterations, and I pushed too soon before soon discovering that something else needed to be changed. I want to keep all

Re: Major mode of orgweb/publish.sh?

2023-04-14 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu via "General discussions about Org-mode." > writes: > >> Major mode was erronously set to shell-script-mode because of the empty line. > > There is no error there. The line in question is inline stdin redirect > in shell. &

Re: Major mode of orgweb/publish.sh?

2023-04-14 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu via "General discussions about Org-mode." > writes: > >> What is the expected major mode for orgweb/publish.sh? When I open it, >> I see it is in `shell-script-mode'. This is what I see in >> orgweb/publish.

Re: Major mode of orgweb/publish.sh?

2023-04-14 Thread General discussions about Org-mode.
Ruijie Yu writes: >> Hello, >> >> What is the expected major mode for orgweb/publish.sh? When I open it, >> I see it is in `shell-script-mode'. This is what I see in >> orgweb/publish.sh: >> >> --8<---cut here---start->8--- >> #!/usr/bin/env sh >> >> ":" ;

Re: Major mode of orgweb/publish.sh?

2023-04-14 Thread General discussions about Org-mode.
Ruijie Yu via "General discussions about Org-mode." writes: > Hello, > > What is the expected major mode for orgweb/publish.sh? When I open it, > I see it is in `shell-script-mode'. This is what I see in > orgweb/publish.sh: > > --8<---cut here-

Major mode of orgweb/publish.sh?

2023-04-14 Thread General discussions about Org-mode.
Hello, What is the expected major mode for orgweb/publish.sh? When I open it, I see it is in `shell-script-mode'. This is what I see in orgweb/publish.sh: --8<---cut here---start->8--- #!/usr/bin/env sh ":" ; exec emacs --quick --script "$0" -- "$@" # -*-

Re: [BUG] org-latex-packages-alist type specification [9.6.3 (release_9.6.3-2-gf2949d @ /usr/local/share/emacs/29.0.90/lisp/org/)]

2023-04-13 Thread General discussions about Org-mode.
> On Apr 13, 2023, at 19:23, Ihor Radchenko wrote: > > Ruijie Yu via "General discussions about Org-mode." > writes: > >> From 0be8702357ddf699c5ff1814a5fa57a6443b10de Mon Sep 17 00:00:00 2001 >> From: Ruijie Yu >> Date: Thu, 13 Apr 2023 13:14:36

Re: [BUG] org-latex-packages-alist type specification [9.6.3 (release_9.6.3-2-gf2949d @ /usr/local/share/emacs/29.0.90/lisp/org/)]

2023-04-12 Thread General discussions about Org-mode.
Gustavo Barros writes: > Hi All, > > I'm testing here the new pretest for Emacs 29, and I noticed a small > problem in the type specification of the `org-latex-packages-alist' > defcustom. > > The docstring states that each element of the alist is composed of up > to four elements, but the type

#o544 is user rw?

2023-04-12 Thread General discussions about Org-mode.
I'm looking at this `defcustom', and its docstring looks wrong. It says that #o544 corresponds to "u=rw,g=r,o=r", but shouldn't it be "u=rx,g=r,o=r"? Something is wrong, unless there is another definition of permissions that I'm not aware of. --8<---cut

Re: [orgweb/zh-CN] [DRAFT PATCH] Tentative zh-CN translation

2023-04-11 Thread General discussions about Org-mode.
Hello Ihor, Thanks for your response. I made some changes accordingly, which can be found here: https://git.sr.ht/~ruijieyu/orgweb/tree/translate/zh-CN--v2 . More responses inline below. Ihor Radchenko writes: > Ruijie Yu via "General discussions about Org-mode.&qu

[orgweb/zh_CN] [DRAFT PATCH] Tentative zh_CN translation

2023-04-10 Thread General discussions about Org-mode.
Hello, This is a tentative patchset for orgweb zh_CN translation. However, some questions remain before I can finalize the translation, see below. Note that they are not of any particular order -- just the order in which they appeared in my mind when I composed this message. - General * How

BUG: Org babel can't return a cons cell

2023-04-06 Thread General discussions about Org-mode.
Hello, I've found a bug in org-babel. The simple code #+begin_src scheme (cons 1 2) #+end_src Produces an error: #+begin_quote Debugger entered--Lisp error: (wrong-type-argument listp 2) org-babel-scheme--table-or-string("(1 . 2)") org-babel-execute:scheme("(cons 1 2)" ((:colname-names)

Re: [Q] How to italicize without introducing a space?

2023-03-29 Thread General discussions about Org-mode.
"Dr. Arne Babenhauserheide" writes: > [...] > You could try using a ZERO WIDTH SPACE around the expression [...] Thank you Arne and Steven. I have tried to just insert the zero width space, and it seems to work very well (at least on HTML export, which is the only backend that orgweb wants,

[Q] How to italicize without introducing a space?

2023-03-28 Thread General discussions about Org-mode.
Hello, I am working on a piece of CJK text, which requires italicization. --8<---cut here---start->8--- 任何一个章节可以通过增加例如 =TODO= 或者 =HOLD= 等关键词来被设置成 /待办/ 。 --8<---cut here---end--->8--- Note the spaces before and after the

Re: [FR] Do not resolve relative "file" paths

2023-03-27 Thread General discussions about Org-mode.
Ihor Radchenko writes: > [...] > You can customize `org-link-file-path-type'. Thank you, this is exactly what I needed. It is even able to convert my previous absolute paths back to relative paths, which is great. -- Best, RY

[FR] Do not resolve relative "file" paths

2023-03-27 Thread General discussions about Org-mode.
Both Emacs and Org are on recent master commits. Repro: --8<---cut here---start->8--- $ cd $(mktemp -d) $ mkdir 1 $ touch 2 $ emacs -L /org/lisp/ -Q 1/3.org M-: emacs-repository-version RET "db7e95531ac36ae842787b6c5f2859d0642c78cc" M-x org-version RET

Re: orgmode website contributions to translations? -- Was: It's possible, to translate the org-mode website into Spanish?

2023-03-24 Thread General discussions about Org-mode.
Bastien Guerry writes: > Ihor Radchenko writes: > >> The main issue with non-English translations is maintenance. As you >> noticed, English and non-English pages are already out of sync. > > Anyone willing to help with orgmode.org website can get access to the > https://git.sr.ht/~bzg/orgweb

Re: orgmode website contributions to translations? -- Was: It's possible, to translate the org-mode website into Spanish?

2023-03-24 Thread General discussions about Org-mode.
Ihor Radchenko writes: > Ruijie Yu writes: > >> I can help translate to zh_CN occasionally, seeing that the repo is not >> updated too frequently. Although I might need some pointers on how to >> start a new translation, and how sourcehut works. :) > > Just clone the repo from

Re: [RFC] Limit inline image width by default (was: feature request: easy embedding of images)

2023-03-23 Thread General discussions about Org-mode.
Small nit, in case you are about to install it. > +It the actual width is too wide, limit it according to > +~org-image-max-width~. "It" -> "If". -- Best, RY

Re: 1 character fix to make ob-haskell compatible with table outputs

2023-03-21 Thread General discussions about Org-mode.
Oh, great to hear it's fixed!

Re: org-agenda on Mac M1

2023-03-16 Thread General discussions about Org-mode.
Henrik Frisk writes: > When I run org-agenda I get the sub menu but if I hit 'a' emacs hangs, > though I can get it back if I hit C-g. [...] > > I have no experience in debugging, but I tried to run debug-on-error > with org-agenda and I got the following, which is not so helpful (to > me): > >

1 character fix to make ob-haskell compatible with table outputs

2023-03-14 Thread General discussions about Org-mode.
Just change the `[` and `]` to `(` and `)` respectively. List of lists aren't parsed correctly by ob-haskell, but tuples of tuples are. That means this code change I just tested works: (defun org-babel-haskell-var-to-haskell (var) "Convert an elisp value VAR into a haskell variable. The

Re: bi-lingual text

2023-03-11 Thread General discussions about Org-mode.
Uwe Brauer writes: > Hi > > I would like to have a sort of side by side, paragraph based, > representation of text in two languages, say Spanish and English, best > would be org based of course. > > It does not to have to be anything fancy like inter-linear, I could use > a simple table but

Re: [SOLVED] Re: [FEATURE request] hope `org-agenda-custom-commands` can support propertiezed-text.

2023-03-07 Thread General discussions about Org-mode.
stardiviner writes: > [...] >> Does `("c" ,(format ...) ...) work? > > This macro-style expanded string works. I'm curious why have to be expanded? The reason is that org does not expect to run arbitrary sexp (in your case, the (format ...) expression); instead with the backtick and unquote,

Re: org-roam: how to have links un-opened

2023-02-21 Thread General discussions about Org-mode.
"Fraga, Eric" writes: > Hello all, > > I'm using org-roam for notes and it's working very nicely. There is > just one thing I would like to adjust. The org-roam buffer has all > backlink entries "open" and I would like the default view to be with the > individual links listed but not opened.

Re: I want minus-key to give me `-' only

2023-02-20 Thread General discussions about Org-mode.
Colin Baxter writes: > In an org-mode buffer, I notice a depression of the minus-key `-' now > also gives an under-bar. I find this very annoying. I never insert the > subsequent letter `—' whatever it's called, and I do not want it. How do > I remove this "feature" such that a depression of

  1   2   3   >