8000 Fix dired-omit-mode · Issue #101 · sunrise-commander/sunrise-commander · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Fix dired-omit-mode #101
Open
Open
@lassik

Description

@lassik

According to the git log (git log --stat -p -G sr-omit-mode) there used to be an sr-omit-mode function. That function was a light wrapper around dired-omit-mode. The wrapper was later removed and dired-omit-mode is now being used directly.

However, sunrise-tree.el still has its own sunrise-tree-omit-mode command. Trying to enable dired-omit-mode interactively by doing M-x dired-omit-mode while in sunrise-tree-mode raises an exception, so that is probably not the intended way and we need a wrapper function. However, I can't get dired-omit-mode to work with the wrapper either: the dired-omit-files regexp has no effect, and the exact same files are shown with and without omitting.

Further, sunrise-buttons.el contains a key binding of the sunrise-omit-mode (was sr-omit-mode) that doesn't exist anymore. Should that binding now use dired-omit-mode, or should it be sensitive to whether or not sunrise-tree-mode is active?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0