Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*layers/+spacemacs/spacemacs-editing/packages.el: Enhance the dired sorting #16814

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sunlin7
Copy link
Contributor

@sunlin7 sunlin7 commented Feb 4, 2025

Hi,

There is a file sorting bug when browsering a dir, reproducing steps with dotspacemacs-distribution 'spacemacs (not spacemacs-base):

  1. $ touch /tmp/a; sleep 1; touch /tmp/b # create two files in shell, and b is newer than a
  2. $ emacs -nw --eval '(custom-set-variables (quote (dired-listing-switches "-alt")))' /tmp/ # start emacs and show /tmp/ in dired
  3. press s, hydra-dired-quick-sort menu will popup, we remember the files orders in dired buffer (the dired-actual-switches is -al --sort=extension now)
  4. press t on the hydra menu, the files in dired has no changes (the dired-actual-switches is -al -t now)

With this patch, behavior follow previous steps will be more naturally on step 3 and step 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant