Re: [bug] select TODO items and unexpected behaviour

2020-06-28 Thread Kyle Meyer
Mario Frasca writes: > On 28/06/2020 01:32, Kyle Meyer wrote: >> Thanks for reporting. Looks like org-todo's call to org-map-entries has >> been broken since its introduction in 7.8.05. Should be fixed with >> 8a2eb7d1b. > > 3ed035ce3 > > with this patch, you don't need to locally redefine the

Re: [bug] select TODO items and unexpected behaviour

2020-06-28 Thread Kyle Meyer
[ Please don't drop the list in your replies. ] Mario Frasca writes: > if we were using self-evaluating symbols, the issue would vanish, and > the code might result easier to read. The "loop over headline" code in org-todo needs to be able to handle every argument that org-todo accepts,

Re: [bug] select TODO items and unexpected behaviour

2020-06-28 Thread Mario Frasca
On 28/06/2020 01:32, Kyle Meyer wrote: Thanks for reporting. Looks like org-todo's call to org-map-entries has been broken since its introduction in 7.8.05. Should be fixed with 8a2eb7d1b. 3ed035ce3 with this patch, you don't need to locally redefine the

Re: [bug] select TODO items and unexpected behaviour

2020-06-28 Thread Mario Frasca
the "somehow", I can confirm it happened in the same session.  it was left like that when I ran toggle-debug-on-error and landed in the debugger. I also noticed that the behaviour on the selection is only implemented for some actions, not all. if you select items, then S- (to raise

Re: [bug] select TODO items and unexpected behaviour

2020-06-28 Thread Kyle Meyer
Mario Frasca writes: > this behaviour comes after somehow my > `org-loop-over-headlines-in-active-region' became nil. Perhaps not the "somehow" but the default value of this option is different between the last release and master. It changed from nil to t in e360cd8f3 (Change the default

Re: [bug] select TODO items and unexpected behaviour

2020-06-27 Thread Russell Adams
On Sat, Jun 27, 2020 at 04:16:53PM -0500, Mario Frasca wrote: > when I select subsequent TODO items, whole lines, and I do M-, > they get demoted by one star, so something like > > * header > * a1 > * a2 > * a3 > * header > > after I hit M- will become > > * header > ** a1 > ** a2 > ** a3 > *

Re: [bug] select TODO items and unexpected behaviour

2020-06-27 Thread Mario Frasca
if I change those 'right and 'left, to :right and :left, the handling them over and over as symbols will not start confusing them as variables, and keep them as symbols. On 27/06/2020 16:43, Mario Frasca wrote: this behaviour comes after somehow my `org-loop-over-headlines-in-active-region'

Re: [bug] select TODO items and unexpected behaviour

2020-06-27 Thread Mario Frasca
this behaviour comes after somehow my `org-loop-over-headlines-in-active-region' became nil. if I set it back to t, I get the message "Symbol's value as variable is void: right". I had enabled debugging, and my guess is that this might have left the value of

[bug] select TODO items and unexpected behaviour

2020-06-27 Thread Mario Frasca
when I select subsequent TODO items, whole lines, and I do M-, they get demoted by one star, so something like * header * a1 * a2 * a3 * header after I hit M- will become * header ** a1 ** a2 ** a3 * header which is what I expected, even if I would not expect the region to be deactivated.