From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: Mouse press events (on mode line, etc) when programming a new major mode Date: Mon, 08 Sep 2008 12:23:13 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220869433 12273 80.91.229.12 (8 Sep 2008 10:23:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 10:23:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: joao Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 08 12:24:49 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KcdvL-0006bc-Bz for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Sep 2008 12:24:47 +0200 Original-Received: from localhost ([127.0.0.1]:43337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcduK-0005zI-NI for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Sep 2008 06:23:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kcdtu-0005z9-0Y for help-gnu-emacs@gnu.org; Mon, 08 Sep 2008 06:23:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kcdtt-0005yo-Af for help-gnu-emacs@gnu.org; Mon, 08 Sep 2008 06:23:17 -0400 Original-Received: from [199.232.76.173] (port=39651 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kcdtt-0005yl-2R for help-gnu-emacs@gnu.org; Mon, 08 Sep 2008 06:23:17 -0400 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:40345) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kcdts-00033n-Kh for help-gnu-emacs@gnu.org; Mon, 08 Sep 2008 06:23:17 -0400 Original-Received: from thursday (BAH0767.bah.pppool.de [77.135.7.103]) by dd18200.kasserver.com (Postfix) with ESMTP id 5037B1801D3EA; Mon, 8 Sep 2008 12:23:17 +0200 (CEST) In-Reply-To: (joao@teaser.fr's message of "Sat\, 06 Sep 2008 16\:27\:16 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2.50 (darwin) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57332 Archived-At: joao wrote: > I am programming a new major mode, and I'm having trouble redefining some of > the usual mouse actions : > > - when I split the windows side-by-side, and my window is on the left, > I can no longer drag the vertical separator between windows, to change > window size This doesn't work at all in my Emacs (Carbon backend), so I can't help you here. But I don't think that this can be modified per-buffer. > - when I split the windows above and below, and my window is above, I can no > longer drag the mode line to change window size You'd need to locally modify the mode line (`mode-line-format') to not include its keymap properties. But I'd advise against such invasive action, unless you have a very good reason for it. regards, Nikolaj Schumacher