unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#71770: 30.0.60; Dired freeze with dired-movement-style = t
@ 2024-06-25  7:16 Simen Heggestøyl via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-06-27  9:44 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Simen Heggestøyl via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-06-25  7:16 UTC (permalink / raw)
  To: 71770

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).





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#71770: 30.0.60; Dired freeze with dired-movement-style = t
  2024-06-25  7:16 bug#71770: 30.0.60; Dired freeze with dired-movement-style = t Simen Heggestøyl via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-06-27  9:44 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-06-27  9:44 UTC (permalink / raw)
  To: Simen Heggestøyl; +Cc: 71770-done

> 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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-27  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-25  7:16 bug#71770: 30.0.60; Dired freeze with dired-movement-style = t Simen Heggestøyl via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-06-27  9:44 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).