From: kgold@watson.ibm.com (kgold)
Subject: Re: kill-region and white space
Date: 1 Sep 2004 18:47:48 GMT [thread overview]
Message-ID: <41361954_2@news1.prserv.net> (raw)
In-Reply-To: 4135F5F1.8090803@yahoo.com
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> Instead, there are
> 2 utility functions that try be intelligent about what the user is
> selecting depending on where the mouse clicks occur: mouse-start-end
> and mouse-skip-word. So I think you could advise mouse-skip-word like
> this:
>
> (defadvice mouse-skip-word (after trailing-whitespace activate)
> "Skip trailing whitespace at a word boundary when going forward."
> (if (and (> (ad-get-arg 0) 0) (looking-at "\\>"))
> (skip-syntax-forward " ")))
That was it. I'm a happy mouse-clicker. Thanks.
prev parent reply other threads:[~2004-09-01 18:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-30 18:18 kill-region and white space kgold
2004-08-31 15:14 ` Kevin Rodgers
2004-09-01 13:31 ` kgold
2004-09-01 16:16 ` Kevin Rodgers
2004-09-01 18:47 ` kgold [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=41361954_2@news1.prserv.net \
--to=kgold@watson.ibm.com \
/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).