Re: Suggestion: Link to Diary docs (was Re: Limiting a repeating timestamp) ?

2023-04-10 Thread David Masterson
Ihor Radchenko writes: > David Masterson writes: > >> Could I suggest adding a link to the Diary documentation in Emacs that >> discusses what a "diary sexp-style timestamp" looks like? Perhaps put it >> in 8.1 Timestamps? > > Sure. Done, on bugfix. >

[BUG] [ox-odt] Added leading spaces

2023-04-10 Thread Damien Cassou
Hi, in commit bb40848458512fc26ffa47d20807e3cd0211ccad (first released with 9.6), Ihor fixed a bug in ox-odt reported by András. This fix changed the behavior of this code: (let* ((src "a") (dest (org-odt-plain-text src nil))) (message "%S length-src=%d

Re: org-mode for code comments?

2023-04-10 Thread Ihor Radchenko
Robert Nikander writes: > I searched the internet and this doesn’t seem to exist. I would like to have > something like the opposite of code blocks. I could edit a code file, and the > comments would be in org-mode. I happen to be using C++ and lsp-mode at the > moment. You can use built-in

org-mode for code comments?

2023-04-10 Thread Robert Nikander
Hi, I searched the internet and this doesn’t seem to exist. I would like to have something like the opposite of code blocks. I could edit a code file, and the comments would be in org-mode. I happen to be using C++ and lsp-mode at the moment. // This C++ comment is all org mode. The font

[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

Re: Suggestion: Link to Diary docs (was Re: Limiting a repeating timestamp) ?

2023-04-10 Thread Ihor Radchenko
David Masterson writes: > Could I suggest adding a link to the Diary documentation in Emacs that > discusses what a "diary sexp-style timestamp" looks like? Perhaps put it > in 8.1 Timestamps? Sure. Done, on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=56dd046d --

Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el

2023-04-10 Thread Ihor Radchenko
Max Nikulin writes: >> What about creating org-assert-version.el file that will contain >> something like >> >> (if (fboundp 'org-assert-version) >> (org-assert-version) >> (warn "")) >> >> Then, instead of (org-assert-version) call, we can put >> (load "org-assert-version.el") in Org

Re: [FR] Don't hardcode checker functions prefix in org-lint

2023-04-10 Thread Gustavo Barros
Hi All, On Tue, 10 Nov 2020 at 17:22, Gustavo Barros wrote: > This is a small feature request for `org-lint' not to hardcode the > checker functions' prefix, as it currently does. > > [...] > > However, `org-lint' hardcodes the prefix of the checker functions to its > own prefix, so that to

Re: [BUG] org-element-cache warnings [9.6.1 ( @ d:/.emacs.d/elpa/org-9.6.1/)]

2023-04-10 Thread Ihor Radchenko
Vladimir Alexiev writes: > When I save a particular file > https://github.com/Accord-Project/bsdd/blob/main/README-bug.org, > I get this warning (and request to post a bug): > > Warning (org-element-cache): org-element--cache: Org parser error in > README.org::1092. Resetting. > The error was:

[BUG] org-element-cache warnings [9.6.1 ( @ d:/.emacs.d/elpa/org-9.6.1/)]

2023-04-10 Thread Vladimir Alexiev
When I save a particular file https://github.com/Accord-Project/bsdd/blob/main/README-bug.org, I get this warning (and request to post a bug): Warning (org-element-cache): org-element--cache: Org parser error in README.org::1092. Resetting. The error was: (error "Invalid search bound (wrong side

Re: What is a week?

2023-04-10 Thread Tim Landscheidt
Max Nikulin wrote: > […] > So at least some people expect 7, not 0. I would say, both > variants should be acceptable. > P.S. It seems, there is no way to get in Emacs first_weekday from locale(5) But there is calendar-week-start-day which I would expect affected Emacs users to have

Re: What is a week?

2023-04-10 Thread Max Nikulin
On 10/04/2023 14:46, Ihor Radchenko wrote: 0bca49801eac749b6adf39b176b9455566faac85 Author: Bastien Guerry org-clock.el: Implement a new parameter :wstart to define the week start day - (setq diff (+ (* -7 shift) (if (= dow 0) 6 (1- dow))) + (setq diff (+ (* -7 shift) (if (= dow

Re: What is a week?

2023-04-10 Thread Ihor Radchenko
Marcin Borkowski writes: >> Assume it's Sunday. I create a clock table with :wstart 0 and >> thisweek - and apparently my clock table starts 7 days ago. >> >> Now it's Monday. I create a clock table with :wstart 1 and thisweek - >> and my clock table starts today. >> >> What is the logic

Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el

2023-04-10 Thread Max Nikulin
On 09/04/2023 15:29, Ihor Radchenko wrote: Max Nikulin writes: I would consider adding to ELPA README and Org manual something like: If compiling of ELPA packages causes a lot of warnings related to `org-assert-version' then delete just installed Org package, start new Emacs session ensuring

Re: What is a week?

2023-04-10 Thread Jude DaShiell
One of the iso standards has weeks starting on Monday. -- Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Mon, 10 Apr 2023, Marcin Borkowski wrote: > > On 2023-04-10, at 05:35, Marcin Borkowski