all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: fringe and mouse in emacs 22.1
Date: Thu, 18 Oct 2007 20:30:40 -0400	[thread overview]
Message-ID: <jwv3aw854l2.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: ff5eis$tb1$1@f4n35.wfunet.wfu.edu

> I recently updated from emacs 21.4 to 22.1.  There's one change
> I don't like and I'm wondering if I can revert it via ~/.emacs
> somehow.

> That is (a) I like having a non-zero fringe, but (b) I don't like
> the way the mouse pointer behaves differently in the fringe in
> 22.1.

> I'm mostly editing C source and TeX files, and I want to be able
> to select lines of text with a mouse drag.  This was easy in 21.4,
> but now I find I have to be very particular about the initial
> pointer position to do this: too far to the left and I'm into
> the fringe, where mouse-down-plus-motion does not initiate
> drag-selection (the mouse just swipes uselessly); too far to the
> right and I miss the first character(s) on the line.

> So what I'd like to do is enforce the old behavior: in the
> left fringe, mouse-down-plus-motion starts drag-selection.

> Thanks for any suggestions.

I'd suggest you try

  (define-key function-key-map [left-fringe down-mouse-1] 'down-mouse-1)


-- Stefan

  parent reply	other threads:[~2007-10-19  0:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-17 16:51 fringe and mouse in emacs 22.1 Allin Cottrell
2007-10-17 23:12 ` Johan Bockgård
2007-10-18 20:01 ` Eli Zaretskii
2007-10-19  0:30 ` Stefan Monnier [this message]
2007-10-20 13:11   ` Allin Cottrell

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

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

  git send-email \
    --in-reply-to=jwv3aw854l2.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.