copy init-dired.el from deepin-emacs, omit files match regex like '.#'