--- Begin Message ---
Subject: |
30.0.60; Dired freeze with dired-movement-style = t |
Date: |
Tue, 25 Jun 2024 09:16:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>From `emacs -Q`:
1. Type `M-: (setq dired-movement-style t) RET`
2. Open any directory in Dired.
3. Type `p` three times.
Dired freezes when reaching the top of the directory list.
The NEWS entry says:
When non-nil, make 'dired-next-line', 'dired-previous-line',
'dired-next-dirline', 'dired-prev-dirline' skip empty lines.
I noticed only later that the only supported non-nil values are `cycle`
and `bounded`.
Perhaps the NEWS entry could be clarified, or perhaps the value of
`dired-movement-style` could be more forgiving (such as making `t` the
same as `cycle`, or just fall back to the default behavior instead of
freezing).
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#71770: 30.0.60; Dired freeze with dired-movement-style = t |
Date: |
Thu, 27 Jun 2024 12:44:33 +0300 |
> Date: Tue, 25 Jun 2024 09:16:31 +0200
> From: Simen Heggestøyl via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> >From `emacs -Q`:
>
> 1. Type `M-: (setq dired-movement-style t) RET`
> 2. Open any directory in Dired.
> 3. Type `p` three times.
>
> Dired freezes when reaching the top of the directory list.
>
> The NEWS entry says:
>
> When non-nil, make 'dired-next-line', 'dired-previous-line',
> 'dired-next-dirline', 'dired-prev-dirline' skip empty lines.
>
> I noticed only later that the only supported non-nil values are `cycle`
> and `bounded`.
>
> Perhaps the NEWS entry could be clarified, or perhaps the value of
> `dired-movement-style` could be more forgiving (such as making `t` the
> same as `cycle`, or just fall back to the default behavior instead of
> freezing).
Thanks, I went with the latter (t is now treated as 'bounded'). Fixed
on the emacs-30 branch.
And with that, I'm closing this bug.
--- End Message ---