[PATCH v2 07/38] org-at-heading-p: Accept optional argument* lisp/org.el (org-at-heading-p): Use second argument to allow

2022-04-20 Thread Ihor Radchenko
* lisp/org.el (org-at-heading-p): Use second argument to allow checking for visible headings. Note that by default, unlike `outline-on-heading-p', `org-at-heading-p' returns non-nil for invisible headings. Passing second argument is just like `(outline-on-heading-p)'. (org-indent-line): *

[PATCH v2 10/38] Implement link folding* lisp/ol.el (org-link--link-folding-spec):

2022-04-20 Thread Ihor Radchenko
* lisp/ol.el (org-link--link-folding-spec): (org-link--description-folding-spec): New variables controlling link folding settings. (org-link--reveal-maybe): Handle revealing folded links. (org-link-descriptive-ensure): Implement `org-link-descriptive' support with org-fold.

[PATCH v2 26/38] Rename remaining org-force-cycle-archived

2022-04-20 Thread Anders Johansson
--- lisp/org-cycle.el | 2 +- lisp/org-keys.el | 4 ++-- lisp/org.el | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/org-cycle.el b/lisp/org-cycle.el index d2fcc356c..df0a3761a 100644 --- a/lisp/org-cycle.el +++ b/lisp/org-cycle.el @@ -811,7 +811,7 @@ (defun

[PATCH v2 36/38] org-macs.el: Fix fontification checks take 2---

2022-04-20 Thread Ihor Radchenko
--- lisp/org-macs.el | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lisp/org-macs.el b/lisp/org-macs.el index c71bb4094..9e24e315a 100644 --- a/lisp/org-macs.el +++ b/lisp/org-macs.el @@ -1192,7 +1192,8 @@ (defun org-buffer-substring-fontified (beg end)

[PATCH v2 20/38] Add org-fold-related tests---

2022-04-20 Thread Ihor Radchenko
--- testing/lisp/test-ol.el | 24 + testing/lisp/test-org-list.el | 73 ++ testing/lisp/test-org.el | 177 +++--- 3 files changed, 238 insertions(+), 36 deletions(-) diff --git a/testing/lisp/test-ol.el b/testing/lisp/test-ol.el index

[PATCH v2 19/38] Restore old visibility behaviour of org-refile---

2022-04-20 Thread Ihor Radchenko
--- lisp/org-refile.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-refile.el b/lisp/org-refile.el index 6f2b019ad..e87c3e9a9 100644 --- a/lisp/org-refile.el +++ b/lisp/org-refile.el @@ -547,6 +547,7 @@ (defun org-refile ( arg default-buffer rfloc msg)

[PATCH v2 35/38] test-ol/org-toggle-link-display: Fix compatibility with old Emacs

2022-04-20 Thread Ihor Radchenko
* testing/lisp/test-ol.el (test-ol/org-toggle-link-display): Use back-compatible `org-xor' instead of `xor'. --- testing/lisp/test-ol.el | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/testing/lisp/test-ol.el b/testing/lisp/test-ol.el index 343631623..429bb52ee

Re: [PATCH v2 00/38] Final call for comments: Merge org-fold feature branch

2022-04-20 Thread Bastien
Hi Ihor, thanks for your work on this. Ihor Radchenko writes: > This is the final version of the patch. I am going to merge it this > weekend. If there are any comments, please send them ASAP. One glitch: in an agenda view with an agenda item that has a link, changing the todo state will make

[PATCH v2 17/38] org-compat: Work around some third-party packages using outline-* functions

2022-04-20 Thread Ihor Radchenko
--- lisp/org-compat.el | 72 +- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/lisp/org-compat.el b/lisp/org-compat.el index 3e8f49f0a..f599e246e 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -1330,11 +1330,81 @@ (defvar

[PATCH v2 28/38] org-string-width: Handle undefined behaviour in older Emacs

2022-04-20 Thread Ihor Radchenko
* lisp/org-macs.el (org-string-width): Force older Emacs treating invisible text with ellipsis as zero-width. Newer Emacs versions do exactly this. --- lisp/org-macs.el | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lisp/org-macs.el b/lisp/org-macs.el index

[PATCH v2 34/38] org-link-make-string: Throw error when both LINK and DESCRIPTION are empty

2022-04-20 Thread Ihor Radchenko
This behaviour is expected according to `test-ol/make-string'. --- lisp/ol.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ol.el b/lisp/ol.el index 86f55d7cf..22eaae8fb 100644 --- a/lisp/ol.el +++ b/lisp/ol.el @@ -999,7 +999,9 @@ (defun org-link-make-string (link

[PATCH v2 12/38] org-fold: Handle indirect buffer visibility---

2022-04-20 Thread Ihor Radchenko
--- lisp/org-capture.el | 5 - lisp/org.el | 8 +++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 1324ffab4..068e3eda2 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1171,7 +1171,10 @@ (defun

[PATCH v2 23/38] Backport contributed commits---

2022-04-20 Thread Ihor Radchenko
--- lisp/org-cycle.el | 2 +- lisp/org-fold-core.el | 2 +- lisp/org-keys.el | 4 ++-- lisp/org.el | 6 ++ 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/lisp/org-cycle.el b/lisp/org-cycle.el index df0a3761a..d2fcc356c 100644 --- a/lisp/org-cycle.el +++

[PATCH v2 32/38] test-org/string-width: Add tests for strings with prefix properties

2022-04-20 Thread Ihor Radchenko
--- testing/lisp/test-org-macs.el | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/testing/lisp/test-org-macs.el b/testing/lisp/test-org-macs.el index 6a7ccea3c..05cef1281 100644 --- a/testing/lisp/test-org-macs.el +++ b/testing/lisp/test-org-macs.el @@ -65,7 +65,11 @@

[PATCH] ol: Fix org-link-search

2022-04-20 Thread tony aldon
Hey everyone, If I'm not wrong, name defined after #+NAME: should be match first before trying a fuzzy search in the function `org-link-search`. You can find the patch in attachment (hope it feat in Tiny changes [though I also sent a request today for the FSF agreement]). Have a nice day. Tony

[PATCH v2 16/38] Obsolete old function names that are now in org-fold---

2022-04-20 Thread Ihor Radchenko
--- lisp/org-compat.el | 88 ++ 1 file changed, 88 insertions(+) diff --git a/lisp/org-compat.el b/lisp/org-compat.el index ed2ae62f4..3e8f49f0a 100644 --- a/lisp/org-compat.el +++ b/lisp/org-compat.el @@ -267,6 +267,11 @@

[PATCH v2 25/38] Fix bug in org-get-headingFixes #26, where fontification could make the matching and extraction of heading

2022-04-20 Thread Anders Johansson
Fixes #26, where fontification could make the matching and extraction of heading components fail. --- lisp/org.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 0f31e7794..ff17bf001 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -6167,8

[PATCH v2 30/38] org-fold-show-set-visibility: Fix edge case when folded region is at BOB

2022-04-20 Thread Ihor Radchenko
--- lisp/org-fold.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-fold.el b/lisp/org-fold.el index a16ee0f9b..d5a21cbcb 100644 --- a/lisp/org-fold.el +++ b/lisp/org-fold.el @@ -840,7 +840,7 @@ (defun org-fold-show-set-visibility--text-properties (detail)

[PATCH v2 37/38] org-fold-core-fontify-region: Fix cases when fontification is not registered

2022-04-20 Thread Ihor Radchenko
* lisp/org-fold-core.el (org-fold-core-fontify-region): Handle FORCE argument better. Skip unnecessary code parts when FORCE is non-nil. Assign `fontified' text property manually in the actually fontified regions. We cannot just supply correct return value since jit-lock does not allow piecewise

[PATCH v2 38/38] org-agenda.el: Re-enable native compilation* lisp/org-agenda.el: Re-enable native compilation as it does not

2022-04-20 Thread Ihor Radchenko
* lisp/org-agenda.el: Re-enable native compilation as it does not cause any issues with agenda rendering without other custom changes not included in this branch. --- lisp/org-agenda.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones

2022-04-20 Thread Max Nikulin
On 17/04/2022 08:58, Paul Eggert wrote: Thanks, I installed that and then installed the attached, which merges that with some documentation improvements that I drafted based on this thread. Thank you for further editing of docs. Please, fix a typo. diff --git a/doc/lispref/os.texi

[PATCH v2 06/38] org-macs: New function org-find-text-property-region---

2022-04-20 Thread Ihor Radchenko
--- lisp/org-macs.el | 32 +--- lisp/org.el | 7 ++- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/lisp/org-macs.el b/lisp/org-macs.el index a09115e7c..6161a7bfc 100644 --- a/lisp/org-macs.el +++ b/lisp/org-macs.el @@ -728,7 +728,7 @@

[PATCH v2 08/38] org-string-width: Reimplement to work with new folding

2022-04-20 Thread Ihor Radchenko
* lisp/org-macs.el (org--string-from-props): Removed since it is no longer needed. (org-string-width): Updated to use `window-text-pixel-size'. --- lisp/org-macs.el | 121 ++- 1 file changed, 57 insertions(+), 64 deletions(-) diff --git

[PATCH v2 29/38] org-string-width: Work around `window-pixel-width' bug in old Emacs

2022-04-20 Thread Ihor Radchenko
--- lisp/org-macs.el | 188 --- 1 file changed, 129 insertions(+), 59 deletions(-) diff --git a/lisp/org-macs.el b/lisp/org-macs.el index e56a234d3..a1d514d50 100644 --- a/lisp/org-macs.el +++ b/lisp/org-macs.el @@ -893,73 +893,143 @@ (defun

[PATCH v2 13/38] Fix subtle differences between overlays and invisible text properties

2022-04-20 Thread Ihor Radchenko
* lisp/org-clock.el (org-clock-in): (org-clock-find-position): (org-clock-out): * lisp/org.el (org-add-planning-info): (org-scan-tags): (org-global-tags-completion-table): (org-make-tags-matcher): (org-tags-expand): (org--property-local-values): (org-read-date-analyze):

[PATCH v2 11/38] Implement overlay- and text-property-based versions of some functions

2022-04-20 Thread Ihor Radchenko
--- lisp/org-element.el| 54 - lisp/org-fold.el | 5 +- lisp/org-inlinetask.el | 26 ++- lisp/org-list.el | 74 ++- lisp/org-macs.el | 54 - lisp/org.el| 469 + 6 files changed, 585 insertions(+), 97

[PATCH v2 33/38] org--string-from-props: Fix handling folds in Emacs <28

2022-04-20 Thread Ihor Radchenko
* lisp/org-macs.el (org--string-from-props): Respect `char-property-alias-alist' when querying for `invisible' text property. --- lisp/org-macs.el | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lisp/org-macs.el b/lisp/org-macs.el index 5e6728101..c71bb4094 100644 ---

[PATCH v2 21/38] org-manual: Update to new org-fold function names---

2022-04-20 Thread Ihor Radchenko
--- doc/org-manual.org | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 14fea0f2b..af54dc4e8 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -501,11 +501,11 @@ *** Global and local cycling Switch back

[PATCH v2 14/38] Support extra org-fold optimisations for huge buffers

2022-04-20 Thread Ihor Radchenko
--- lisp/org.el | 26 ++ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index ca0a99681..f5936b67c 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5788,6 +5788,7 @@ (defun org-unfontify-region (beg end _maybe_loudly)

[PATCH v2 22/38] ORG-NEWS: Add list of changes---

2022-04-20 Thread Ihor Radchenko
--- etc/ORG-NEWS | 104 +++ 1 file changed, 104 insertions(+) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 4f1309ecc..5b934fe96 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -40,6 +40,105 @@ The cache state is saved between Emacs sessions.

[PATCH v2 31/38] org-fold-core: Fix fontification inside folded regions

2022-04-20 Thread Ihor Radchenko
* lisp/org-fold-core.el (org-fold-core-initialize): Declare `org-fold-core-fontified' text property for font-lock. (org-fold-core--force-fontification): New variable controlling forced fontification inside folded regions. (org-fold-core-fontify-region): Fix cases when BEG is inside folded region.

Re: [PATCH v2 00/38] Final call for comments: Merge org-fold feature branch

2022-04-20 Thread Bastien
Ihor Radchenko writes: > Bastien writes: > >> One glitch: in an agenda view with an agenda item that has a link, >> changing the todo state will make all parts of the link visible. >> >> Let me know if you need a more detail recipe to reproduce the bug. > > Recipe would be helpftul. I was

[PATCH v2 09/38] Rename old function call to use org-fold---

2022-04-20 Thread Ihor Radchenko
--- lisp/ob-core.el | 14 ++-- lisp/ob-lilypond.el | 4 +- lisp/ob-ref.el| 4 +- lisp/ol.el| 13 ++-- lisp/org-agenda.el| 43 +-- lisp/org-archive.el | 12 +-- lisp/org-capture.el | 2 +-

[PATCH v2 18/38] Move `org-buffer-list' to org-macs.el---

2022-04-20 Thread Ihor Radchenko
--- lisp/org-macs.el | 38 ++ lisp/org.el | 38 -- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/lisp/org-macs.el b/lisp/org-macs.el index 42a91781b..188168cdc 100644 --- a/lisp/org-macs.el +++

[PATCH v2 27/38] Fix org-fold--hide-drawers--overlays---

2022-04-20 Thread Ihor Radchenko
--- lisp/org-fold.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-fold.el b/lisp/org-fold.el index e48a528bf..a16ee0f9b 100644 --- a/lisp/org-fold.el +++ b/lisp/org-fold.el @@ -714,7 +714,7 @@ (defun org-fold--hide-drawers--overlays (begin end) "Hide all drawers

[PATCH v2 24/38] Fix typo: delete-duplicates → delete-dups

2022-04-20 Thread Anders Johansson
--- lisp/org-fold-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-fold-core.el b/lisp/org-fold-core.el index 6ea374498..121c6b5c4 100644 --- a/lisp/org-fold-core.el +++ b/lisp/org-fold-core.el @@ -592,7 +592,7 @@ (defun

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones

2022-04-20 Thread Max Nikulin
On 19/04/2022 09:02, Paul Eggert wrote: Here are the main points I see about making timestamps work better in Org mode, and related patches to how Emacs handles timestamps. * Max would like encode-time to treat a list (SS MM HH DD MM ) as if it were (SS MM HH DD MM nil -1 nil),

Re: [PATCH v2 00/38] Final call for comments: Merge org-fold feature branch

2022-04-20 Thread Ihor Radchenko
Bastien writes: > One glitch: in an agenda view with an agenda item that has a link, > changing the todo state will make all parts of the link visible. > > Let me know if you need a more detail recipe to reproduce the bug. Recipe would be helpftul. I was unable to reproduce using * TODO this

[PATCH v2 03/38] Separate cycling functions from org.el into new library: org-cycle

2022-04-20 Thread Ihor Radchenko
--- lisp/org-cycle.el | 818 ++ 1 file changed, 818 insertions(+) create mode 100644 lisp/org-cycle.el diff --git a/lisp/org-cycle.el b/lisp/org-cycle.el new file mode 100644 index 0..df0a3761a --- /dev/null +++ b/lisp/org-cycle.el @@ -0,0

[PATCH v2 01/38] Add org-fold-core: new folding engine---

2022-04-20 Thread Ihor Radchenko
--- lisp/org-fold-core.el | 1490 + 1 file changed, 1490 insertions(+) create mode 100644 lisp/org-fold-core.el diff --git a/lisp/org-fold-core.el b/lisp/org-fold-core.el new file mode 100644 index 0..121c6b5c4 --- /dev/null +++

Re: [BUG] (org-agenda-files) after restrict agenda to a file [9.5.2 (9.5.2-gfbff08 @ /home/ignacio/.emacs.d/elpa/org-9.5.2/)]

2022-04-20 Thread Ihor Radchenko
Ignacio Casso writes: > After restricting the agenda to a file for a single agenda command, with > 'C-c a < a', and exiting the agenda with 'x', (org-agenda-files) still > returns that file instead of the original list of agenda files. This can > be easily solved using the UNRESTRICTED optional

[PATCH v2 04/38] Remove functions from org.el that are now moved elsewhere

2022-04-20 Thread Ihor Radchenko
--- lisp/org.el | 1272 ++- 1 file changed, 40 insertions(+), 1232 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 2353c6594..855f0813d 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -1179,90 +1179,6 @@ (defgroup org-structure nil :tag

Re: Release 9.5.3

2022-04-20 Thread Bastien Guerry
Hi Sébastien, Sébastien Gendre writes: > Where can we found the release notes of this version ? Bugfix releases don't have release notes, only major releases. See https://orgmode.org/worg/org-maintenance.html for details on what to expect on releases. -- Bastien

Re: [PATCH] oc-basic: Detect malformed bibtex bibliographies

2022-04-20 Thread Bruce D'Arcus
On Wed, Apr 20, 2022 at 8:28 AM Ihor Radchenko wrote: > > There is an edge case triggering infinite loop in oc-basic. > > It is caused by bibtex-map-entries (used in > org-cite-basic--parse-bibtex) when ran on a malformed bibtex buffer [1]. > > The proposed patch validates the bibtex buffer

Re: [PATCH] oc-basic: Detect malformed bibtex bibliographies

2022-04-20 Thread John Kitchin
I would see if you can cache the result and not do it more than needed; it can add a performance issue on large files. John --- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA

[PATCH v2 02/38] Separate folding functions from org.el into new library: org-fold

2022-04-20 Thread Ihor Radchenko
--- lisp/org-fold.el | 1135 ++ 1 file changed, 1135 insertions(+) create mode 100644 lisp/org-fold.el diff --git a/lisp/org-fold.el b/lisp/org-fold.el new file mode 100644 index 0..52717fd86 --- /dev/null +++ b/lisp/org-fold.el @@ -0,0

[PATCH v2 05/38] Disable native-comp in agendaIt caused cryptic bugs in the past.

2022-04-20 Thread Ihor Radchenko
It caused cryptic bugs in the past. --- lisp/org-agenda.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index a09b53563..b55e00803 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -1,4 +1,4 @@ -;;; org-agenda.el --- Dynamic

[PATCH v2 15/38] Alias new org-fold functions to their old shorter names

2022-04-20 Thread Ihor Radchenko
--- lisp/org.el | 8 1 file changed, 8 insertions(+) diff --git a/lisp/org.el b/lisp/org.el index f5936b67c..2608865da 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -99,6 +99,14 @@ (require 'org-table) (require 'org-fold) (require 'org-cycle) +(defvaralias 'org-hide-block-startup

Re: [BUG] Off-by-one error in width of Agenda window?

2022-04-20 Thread N. Jackson
At 12:01 +0800 on Wednesday 2022-04-20, Ihor Radchenko wrote: > > "N. Jackson" writes: > >> It seems that Org maybe should be using window-max-chars-per-line >> rather than window-width. >> >> [Unfortunately w-m-c-p-l is not a drop in replacement for >> window-width; it doesn't just fix the

Re: [PATCH] oc-basic: Detect malformed bibtex bibliographies

2022-04-20 Thread Ihor Radchenko
John Kitchin writes: > I would see if you can cache the result and not do it more than needed; it > can add a performance issue on large files. The results of parsing are already cached. See 7ddc5b57c. With this patch, I'd expect 2x performance degradation on (1) first time Org opens the

[PATCH v2 00/38] Final call for comments: Merge org-fold feature branch

2022-04-20 Thread Ihor Radchenko
This is the final version of the patch. I am going to merge it this weekend. If there are any comments, please send them ASAP. This version is basically the same as previous, but (1) Rebased onto current main; (2) org-agenda.el can be native compiled; (3) Fixed some edge cases with fontification.

Re: Release 9.5.3

2022-04-20 Thread Sébastien Gendre
Nice, thanks everyone for all the work. 殺 Where can we found the release notes of this version ? Le 20 avril 2022 08:28:15 GMT+02:00, Bastien a écrit : >Hi all, > >Org 9.5.3, a bug fix release, is out. Enjoy! > >Since Org 9.5.4 is expected to be merged with Emacs 28.2, only >critical bug fixes

[BUG] (org-agenda-files) after restrict agenda to a file [9.5.2 (9.5.2-gfbff08 @ /home/ignacio/.emacs.d/elpa/org-9.5.2/)]

2022-04-20 Thread Ignacio Casso
Hello, After restricting the agenda to a file for a single agenda command, with 'C-c a < a', and exiting the agenda with 'x', (org-agenda-files) still returns that file instead of the original list of agenda files. This can be easily solved using the UNRESTRICTED optional argument in

[PATCH] oc-basic: Detect malformed bibtex bibliographies

2022-04-20 Thread Ihor Radchenko
There is an edge case triggering infinite loop in oc-basic. It is caused by bibtex-map-entries (used in org-cite-basic--parse-bibtex) when ran on a malformed bibtex buffer [1]. The proposed patch validates the bibtex buffer before processing and throws an error if issues are found.

Re: [PATCH] Re: No mathematics in Texinfo exports

2022-04-20 Thread Rudolf Adamkovič
Hello everyone, My patch (from almost a month ago) has yet to appear at https://updates.orgmode.org Any ideas what to do? Could someone review it? Thank you! Rudy +++ The original message below. +++ Rudolf Adamkovič writes: > Rudolf Adamkovič writes: > >> […], or do I have to tackle the

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones

2022-04-20 Thread Eli Zaretskii
> Date: Wed, 20 Apr 2022 12:23:43 -0700 > Cc: maniku...@gmail.com, emacs-orgmode@gnu.org, 54...@debbugs.gnu.org, > bug-gnu...@gnu.org > From: Paul Eggert > > On 4/20/22 12:14, Eli Zaretskii wrote: > > Sorry, my bad. The result is the same, but I do get printouts. What > > do you want to know

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones

2022-04-20 Thread Paul Eggert
On 4/20/22 12:14, Eli Zaretskii wrote: Sorry, my bad. The result is the same, but I do get printouts. What do you want to know or see from there? I want to see what the current_timespec's resolution is, which we should be able to tell from the debugging output. For example, on my Solaris 10

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones

2022-04-20 Thread Eli Zaretskii
> Date: Wed, 20 Apr 2022 12:01:27 -0700 > Cc: maniku...@gmail.com, emacs-orgmode@gnu.org, 54...@debbugs.gnu.org, > bug-gnu...@gnu.org > From: Paul Eggert > > > I get the same result, and moreover I see no differences between this > > and the previous tarball, and no printouts in

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones

2022-04-20 Thread Paul Eggert
On 4/20/22 08:07, Max Nikulin wrote: I have not checked if mktime is a part of POSIX and C standard. mktime is part of both the C standard and POSIX. POSIX extends the C standard by saying that time_t is an integer type (the C standard allows time_t to be a floating-point type) and that

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones

2022-04-20 Thread Eli Zaretskii
> Date: Wed, 20 Apr 2022 11:19:29 -0700 > Cc: maniku...@gmail.com, emacs-orgmode@gnu.org, 54...@debbugs.gnu.org, > Gnulib bugs > From: Paul Eggert > > > Thanks, the test-gettime-res test says "gettime_res returned 625000 > > ns", which is a strange number: it doesn't fit any MS-Windows

WG: ox-html: exporting LaTeX-environments

2022-04-20 Thread Vitus Schäfftlein
[Bump] Dear Thibault, dear list, thanks for your fast answer, Thibault! I am happy to have convinced you of dropping the extra \n's. The patch you addressed works fine for the asterisk issue: Only those environments get an extra asterisk which are in org-latex-math-environments-re.

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones

2022-04-20 Thread Paul Eggert
On 4/20/22 09:56, Max Nikulin wrote: A typo: double "a". Thanks, fixed in the attached which I installed in master. If I get your idea correctly then "January, 31" + "1 month" should be more impressive as impossible date. Thanks, good idea; also in the attached patch. I can not figure

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones

2022-04-20 Thread Paul Eggert
On 4/20/22 12:30, Eli Zaretskii wrote: I see the time samples change in jumps of 15 msec. Could you give the first part of the output? I would like to see what the the samples are jumping from and to, and how often they jump. Something like the following is what I'd hope to see from the

Fix M-j with default fill-prefix value

2022-04-20 Thread Javier Olaechea
org-comment-line-break-function does not handle fill-prefix being set to nil, which is the default value for fill-prefix. This means that pressing M-j inside an org-mode buffer in a vanilla installation of Emacs results in an error. From looking at other callers of

Re: Maintenance Request

2022-04-20 Thread Edouard Debry
Thanks for offering to maintain 'ox-latex.el'. One of the thing that could be improved is the generation of svg images through tikz. Currently, unless I am mistaken, it does not work well. I had to tweak 'ox-latex.el' to make it work again. I did post a question about this on the mailing list.

[PATCH] org-agenda: Use `window-max-chars-per-line' instead of `window-width'

2022-04-20 Thread Ihor Radchenko
"N. Jackson" writes: > No, I'm not saying Org shouldn't use window-max-chars-per-line -- > rather the opposite in fact. I'm just saying it maybe needs to be > thought about carefully first. Indeed. There is no point using w-m-c-p-l when we actually need the full window size with fringes. > If

Re: [PATCH] ol: Fix org-link-search

2022-04-20 Thread Ihor Radchenko
tony aldon writes: > If I'm not wrong, name defined after #+NAME: should be match first > before trying a fuzzy search in the function `org-link-search`. > ... > - (name (org-element-property :name element))) > + (name (org-element-property :value

Re: Fwd: Re: Emacs master: different (ugly) font in org-mode [Windows, macOS]

2022-04-20 Thread Bastien
Ihor Radchenko writes: > I do not think that you need to prepare a separate patch. Reverting is > easy. Fixed by reverting in Org 9.5.3, thanks! -- Bastien

Release 9.5.3

2022-04-20 Thread Bastien
Hi all, Org 9.5.3, a bug fix release, is out. Enjoy! Since Org 9.5.4 is expected to be merged with Emacs 28.2, only critical bug fixes should go to the bugfix branch now. Thanks, -- Bastien

Re: Maintenance Request

2022-04-20 Thread Bastien
Hi Daniel, Daniel Fleischer writes: > I would like to maintain the 'ox-latex.el' file. It's one of the many > files created by Nicolas but few of the files that are not maintained > (by him). I have a long experience (14) with latex and relatively long > experience with org->latex. Sorry for

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones

2022-04-20 Thread Eli Zaretskii
> Date: Tue, 19 Apr 2022 15:22:29 -0700 > Cc: maniku...@gmail.com, emacs-orgmode@gnu.org, 54...@debbugs.gnu.org > From: Paul Eggert > > On 4/18/22 22:50, Eli Zaretskii wrote: > >> * admin/merge-gnulib (GNULIB_MODULES): Add gettime-res. > >> * lib/gettime-res.c: New file, copied from Gnulib. > >>