Re: [BUG] org-agenda-prepare-buffers does not save restrictions

2022-07-10 Thread Ihor Radchenko
Al Haji-Ali writes: > On 09/07/2022, Ihor Radchenko wrote: >> Two more comments. > Attached is the updated patch. Thanks! Applied onto main via bc33c0133. > PS: I noticed that the `org-timer.el` example in > https://orgmode.org/worg/org-contribute.html > has a single space between sentences. Ot

Re: [BUG] org-agenda-prepare-buffers does not save restrictions

2022-07-10 Thread Al Haji-Ali
On 09/07/2022, Ihor Radchenko wrote: > Two more comments. Attached is the updated patch. PS: I noticed that the `org-timer.el` example in https://orgmode.org/worg/org-contribute.html has a single space between sentences. Other examples on the page seem fine though. Best regards, -- Al >From fc

Re: [BUG] org-agenda-prepare-buffers does not save restrictions

2022-07-08 Thread Ihor Radchenko
Al Haji-Ali writes: > On 08/07/2022, Ihor Radchenko wrote: >> Could you please create a proper patch > > See attached. I made a further change to use `with-current-buffer` instead of > `set-buffer+save-excursion`. Thanks! Two more comments. > * lisp/org.el (org-agenda-prepare-buffers): Call > `

Re: [BUG] org-agenda-prepare-buffers does not save restrictions

2022-07-08 Thread Al Haji-Ali
On 08/07/2022, Ihor Radchenko wrote: > Could you please create a proper patch See attached. I made a further change to use `with-current-buffer` instead of `set-buffer+save-excursion`. Best regards, -- Al >From 398fee0c235c53399cd8cc481f9e732f64ae88cb Mon Sep 17 00:00:00 2001 From: Al Haji-Ali

Re: [BUG] org-agenda-prepare-buffers does not save restrictions

2022-07-07 Thread Ihor Radchenko
Al Haji-Ali writes: > I am not sure if this has been reported before, of if the behaviour is > intended. But to reproduce this "bug": > - Open an org file from the agenda. > - Restrict to some headline > - Execute the following command: > > (with-temp-buffer > (org-agenda-prepare-buffers (org-

[BUG] org-agenda-prepare-buffers does not save restrictions

2022-07-07 Thread Al Haji-Ali
I am not sure if this has been reported before, of if the behaviour is intended. But to reproduce this "bug": - Open an org file from the agenda. - Restrict to some headline - Execute the following command: (with-temp-buffer (org-agenda-prepare-buffers (org-agenda-files t))) - The restriction