unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Nikolaj Schumacher <me@nschum.de>
To: joao <joao@teaser.fr>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Mouse press events (on mode line, etc) when programming a new major mode
Date: Mon, 08 Sep 2008 12:23:13 +0200	[thread overview]
Message-ID: <m24p4rszqm.fsf@nschum.de> (raw)
In-Reply-To: <m3tzctuz7f.fsf@teaser.fr> (joao@teaser.fr's message of "Sat\, 06 Sep 2008 16\:27\:16 +0200")

joao <joao@teaser.fr> 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




      reply	other threads:[~2008-09-08 10:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-06 14:27 Mouse press events (on mode line, etc) when programming a new major mode joao
2008-09-08 10:23 ` Nikolaj Schumacher [this message]

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=m24p4rszqm.fsf@nschum.de \
    --to=me@nschum.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joao@teaser.fr \
    /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).