分页: 1 / 1

emacs23讨厌的ido退出提示。

发表于 : 2010-04-11 5:38
mikeandmore
emacs23启用ido以后,每次退出都会问update headers in .ido.last
这个问题。我试图解决,发现不行。似乎他的代码里面写死了。

今天用一个很暴力的方法搞定的。
(remove-hook 'kill-emacs-hook 'ido-kill-emacs-hook)

干脆让emacs退出的时候无视掉ido。当前没有什么太大问题,不知以后 :em02

Re: emacs23讨厌的ido退出提示。

发表于 : 2010-04-11 14:02
davyzhu
I don't have such problem, only use ido-switch-buffer.
So, how do you configure ido? And is there a way to auto update .ido.last?

Re: emacs23讨厌的ido退出提示。

发表于 : 2010-04-12 0:43
mikeandmore
davyzhu 写了:I don't have such problem, only use ido-switch-buffer.
So, how do you configure ido? And is there a way to auto update .ido.last?
ido-save-history

Re: emacs23讨厌的ido退出提示。

发表于 : 2010-04-12 10:41
davyzhu
mikeandmore 写了:
davyzhu 写了:I don't have such problem, only use ido-switch-buffer.
So, how do you configure ido? And is there a way to auto update .ido.last?
ido-save-history
You mean you call this command when quit Emacs?

Re: emacs23讨厌的ido退出提示。

发表于 : 2010-04-14 12:19
mikeandmore
哦,没看到auto update...
似乎不可以。。。 :em20