unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Any easy way to disable mouse behavior that can change to other buffers?
Date: Fri, 14 Nov 2008 06:46:45 -0700	[thread overview]
Message-ID: <gfjvg3$5fc$1@ger.gmane.org> (raw)
In-Reply-To: <87myg38ygg.fsf@sina.com>

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>"))

-- 
Kevin Rodgers
Denver, Colorado, USA





  parent reply	other threads:[~2008-11-14 13:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13  7:55 Any easy way to disable mouse behavior that can change to other buffers? anhnmncb
2008-11-13  8:44 ` Andy Stewart
2008-11-13 14:58   ` anhnmncb
2008-11-14  0:27     ` Andy Stewart
2008-11-14 13:46     ` Kevin Rodgers [this message]
2008-11-15  1:23       ` anhnmncb
  -- strict thread matches above, loose matches on Subject: below --
2008-11-14 14:01 martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gfjvg3$5fc$1@ger.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).