![](/img/trans.png)
[英]Emacs Dired: Retain lines instead of dired-do-kill-lines?
[英]workflow/usecase for dired-do-redisplay in emacs?
文檔字符串( Ch f
)清楚地說明了該命令的用途,我認為:
,----
| `dired-do-redisplay` is an interactive autoloaded compiled Lisp function
| in `dired-aux.el`.
|
| It is bound to l.
|
| `(dired-do-redisplay &optional ARG TEST-FOR-SUBDIR)`
|
| Redisplay all marked (or next `ARG`) files.
| If on a subdir line, redisplay that subdirectory. In that case,
| a prefix arg lets you edit the `ls' switches used for the new listing.
|
| Dired remembers switches specified with a prefix arg, so that reverting
| the buffer will not reset them. However, using `dired-undo` to re-insert
| or delete subdirectories can bypass this machinery. Hence, you sometimes
| may have to reset some subdirectory switches after a `dired-undo`.
| You can reset all subdirectory switches to the default using
| `M-x dired-reset-subdir-switches`.
| See Info node `(emacs)Subdir switches` for more details.
`----
例如,Dired 顯示不會自動更新以反映 Emacs 之外的更改(除非您設置了自動恢復選項)。 此命令實際上僅還原某些文件或子目錄列表的列表。 對於子目錄列表,它允許您提供不同的ls
開關,因此您可以使用這些指定的開關重新列出。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.