dired-hacks icon indicating copy to clipboard operation
dired-hacks copied to clipboard

Failed to narrow after recovering from invisibility

Open dvzubarev opened this issue 8 years ago • 0 comments

Hi, I use emacs 24.5.1 with spacemacs 0.105.9 on Ubuntu 15.10. Steps to reproduce. 0. use (setq dired-narrow-exit-action 'dired-narrow-find-file)

  1. filter some directory out
  2. restore this directory
  3. select this directory and hit enter I got an empty screen and stay in the same directory. I have found that (dired-utils-goto-line dired-narrow--current-file) returns nil, so I thought that this caused by the remained properties. I replaced (remove-text-properties (point-min) (point-max) '(invisible)) (here) with (set-text-properties (point-min) (point-max) '()) and it seems working now, but I do not know whether it is a good solution.

dvzubarev avatar Feb 06 '16 14:02 dvzubarev