From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: help-gnu-emacs@gnu.org
Subject: Re: Is transient-mark-mode for newbies?
Date: Fri, 12 Oct 2007 10:36:15 +0200 [thread overview]
Message-ID: <yoij1wc0afwg.fsf@remote4.student.chalmers.se> (raw)
In-Reply-To: uy7e8remy.fsf@gmail.com
Mathias Dahl <brakjoller@gmail.com> writes:
> Well, that's the thing, I don't want to have to do any of those
> tricks, C-g, M-w or whatever, to get rid of it. I guess I want it to
> magically guess when I want it active, and that is quite hard. So I
> keep transient-mark-mode off.
I use temporary transient mark mode for mark commands
(progn
'#1=((after transient-mark activate)
"Activate Transient Mark mode temporarily."
(setq transient-mark-mode 'only))
(defadvice mark-sexp . #1#)
(defadvice mark-word . #1#)
(defadvice mark-paragraph . #1#)
(defadvice mark-defun . #1#)
(defadvice mark-end-of-sentence . #1#)
(defadvice mark-page . #1#)
(defadvice mark-whole-buffer . #1#)
(defadvice LaTeX-mark-environment . #1#)
(defadvice LaTeX-mark-section . #1#))
The mark commands set the mark at a place away from point, and
highlighting shows more clearly what's going on. Especially in Emacs 22,
where repeating a mark command extends the region.
--
Johan Bockgård
next prev parent reply other threads:[~2007-10-12 8:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1954.1192116594.18990.help-gnu-emacs@gnu.org>
2007-10-11 18:09 ` Is transient-mark-mode for newbies? Mathias Dahl
2007-10-11 19:02 ` Eric Hanchrow
2007-10-11 20:36 ` Harald Hanche-Olsen
2007-10-12 7:11 ` Mathias Dahl
2007-10-12 8:36 ` Johan Bockgård [this message]
2007-10-15 15:21 ` Mathias Dahl
2007-10-15 16:17 ` Tassilo Horn
2007-10-17 18:31 ` Stefan Monnier
2007-10-17 23:28 ` Johan Bockgård
[not found] ` <mailman.1957.1192129728.18990.help-gnu-emacs@gnu.org>
2007-10-12 7:16 ` Mathias Dahl
2007-10-11 13:32 weber
2007-10-11 14:47 ` Bastien
2007-10-11 15:28 ` Drew Adams
2007-10-12 3:11 ` Barry Margolin
2007-10-12 7:54 ` Johan Bockgård
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=yoij1wc0afwg.fsf@remote4.student.chalmers.se \
--to=bojohan+news@dd.chalmers.se \
--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.