Questions tagged «kill-buffer»

6
如何重新打开刚刚终止的缓冲区,如Firefox浏览器中的CSt?
有时我不小心杀死了一个缓冲区并想重新打开它,就像CSt在Firefox中撤消已关闭的选项卡一样,但是Emacs中没有内置命令,defun undo-kill-buffer在http://www.emacswiki.org/RecentFiles中: (defun undo-kill-buffer (arg) "Re-open the last buffer killed. With ARG, re-open the nth buffer." (interactive "p") (let ((recently-killed-list (copy-sequence recentf-list)) (buffer-files-list (delq nil (mapcar (lambda (buf) (when (buffer-file-name buf) (expand-file-name (buffer-file-name buf)))) (buffer-list))))) (mapc (lambda (buf-file) (setq recently-killed-list (delq buf-file recently-killed-list))) buffer-files-list) (find-file (if arg (nth arg recently-killed-list) …

2
终止进程缓冲区而未确认?
我C-x C-k一定要kill-this-buffer。但是,当我进入运行诸如Python或MySQL之类的进程的缓冲区时,我是否C-x C-k会询问 缓冲区“ * Python *”具有正在运行的进程;杀死它(是或否)? 未经确认如何杀死进程缓冲区?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.