help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any easy way to disable mouse behavior that can change to other buff


From: anhnmncb
Subject: Re: Any easy way to disable mouse behavior that can change to other buffers?
Date: Sat, 15 Nov 2008 09:23:01 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix)

Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

> anhnmncb wrote:
>> I want to disable the ability of mouse clicking on modeline which can
>> make buffer switching,
>
> Wild guess:
>
> (setq mode-line-input-method-map nil)
> (setq mode-line-coding-system-map nil)
> (setq mode-line-major-mode-keymap nil)
> (setq mode-line-minor-mode-keymap nil)
> (setq mode-line-buffer-identification-keymap nil)
> (setq mode-line-mode-menu nil)
>
>> and the buffer list menu popped up by Ctrl-<left
>> mouse>.
>
> (global-unset-key (kbd "<C-down-mouse-1>"))

None works here except <C-down-mouse-1>, I think emacs as an OS lacks a
function that can lock itself after a paticular time, so I don't need to
be afraid the exposure privary(Like someone switch buffer to my diary, I
open it all the time with emacs).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]