From: "Davis Herring" <herring@lanl.gov>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: Emacs-Devel <emacs-devel@gnu.org>
Subject: Re: C-x home/end to select buffer before/after point?
Date: Mon, 24 Sep 2007 10:42:47 -0700 (PDT) [thread overview]
Message-ID: <46517.128.165.123.18.1190655767.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <DHEEKFAFJEFOJHLCFPFDGEEJCBAA.drew.adams@oracle.com>
> (defun mark-buffer-before-point (reversep)
> "Select the part of the buffer before point.
> With a prefix argument, select the part after point."
> (interactive "P")
> (mark-buffer-after-point t))
M-< C-x C-x
> (defun mark-buffer-after-point (reversep)
> "Select the part of the buffer after point.
> With a prefix argument, select the part before point."
> (interactive "P")
> (push-mark (if reversep (point-min) (point-max)) nil t)
> (setq deactivate-mark nil))
M-> C-x C-x
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.
next prev parent reply other threads:[~2007-09-24 17:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-24 17:28 C-x home/end to select buffer before/after point? Drew Adams
2007-09-24 17:42 ` Davis Herring [this message]
2007-09-24 18:41 ` Drew Adams
2007-09-24 19:10 ` Davis Herring
2007-09-24 21:08 ` Drew Adams
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=46517.128.165.123.18.1190655767.squirrel@webmail.lanl.gov \
--to=herring@lanl.gov \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@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.