Emacs Lisp缓冲区失焦功能? [英] Emacs Lisp Buffer out of focus function?

查看:124
本文介绍了Emacs Lisp缓冲区失焦功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有没有一个emacs的lisp函数可以让我知道一个缓冲区是否超出焦点?



也可以摆脱语法 *可能完成的* 缓冲区。的 *消息* 缓冲区以及?我没有找到一个可以杀死它的功能。

解决方案

与第二个问题相关,以消除消息缓冲区。如果您使用 ido-mode (每个人都应该使用它),您可以隐藏 *消息* 缓冲区列表中的以下elisp缓冲区:

 (require'ido)
(setq ido-ignore-缓冲区(^ \ * Messages\ *))


Is there an emacs lisp function that will allow me to tell if a buffer is out of focus?

I am trying to write a hook that will get rid of the semantics *possible completion's* buffer right after it is out of focus.

Also is it possible to get rid of the *Messages* Buffer as well? I haven't found a function that would kill it.

解决方案

Related to your second question, Also is it possible to get rid of the Messages Buffer as well. If you're using ido-mode (and everyone should be using it!), you can hide the *Messages* buffer from the buffer listing with the following elisp:

(require 'ido)
(setq ido-ignore-buffers '("^\*Messages\*"))

这篇关于Emacs Lisp缓冲区失焦功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆