From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joao Newsgroups: gmane.emacs.help Subject: Mouse press events (on mode line, etc) when programming a new major mode Date: Sat, 06 Sep 2008 16:27:16 +0200 Organization: http://domainepublic.org Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220722670 26712 80.91.229.12 (6 Sep 2008 17:37:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Sep 2008 17:37:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 06 19:38:45 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 1Kc1kC-0003EW-JC for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Sep 2008 19:38:44 +0200 Original-Received: from localhost ([127.0.0.1]:46967 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kc1jC-0007i4-Qg for geh-help-gnu-emacs@m.gmane.org; Sat, 06 Sep 2008 13:37:42 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed4-a.proxad.net!nnrp12-2.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:MJxIGX2gyM1xSlFkVVvR4vOAqLw= Original-Lines: 22 Original-NNTP-Posting-Date: 06 Sep 2008 16:31:23 MEST Original-NNTP-Posting-Host: 82.230.80.148 Original-X-Trace: 1220711483 news-3.free.fr 13090 82.230.80.148:57691 Original-X-Complaints-To: abuse@proxad.net Original-Xref: news.stanford.edu gnu.emacs.help:161973 X-Mailman-Approved-At: Sat, 06 Sep 2008 13:34:06 -0400 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:57320 Archived-At: Hi all, 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 - 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 I created a keymap with make-sparse-keymap, and I've added a few commands. I can catch a mouse click inside my window, but how do I handle the above cases ? Thanks, Joao -- Joao Moreira de Sa Coutinho joao@teaser.fr