From: "james" <james.kingston@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: save buffer contents without moving mark/point?
Date: 26 Feb 2007 11:43:56 -0800 [thread overview]
Message-ID: <1172519036.643530.210210@s48g2000cws.googlegroups.com> (raw)
In-Reply-To: <mailman.130.1172517269.7795.help-gnu-emacs@gnu.org>
On Feb 26, 1:14 pm, Thomas L Roche <tlro...@us.ibm.com> wrote:
> I'm looking for a {function, key binding} with semantics like windows
> C-a, i.e. that will select the current contents of the buffer
> (preferably respecting narrowing) and save it to the kill ring without
> killing (like copy-region-as-kill).
(defun my-select-all ()
(interactive)
(copy-region-as-kill (point-min) (point-max)))
next prev parent reply other threads:[~2007-02-26 19:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200702261706.l1QH6WiM031013@e36.co.us.ibm.com>
2007-02-26 19:14 ` save buffer contents without moving mark/point? Thomas L Roche
2007-02-26 19:53 ` Tom Rauchenwald
[not found] ` <mailman.130.1172517269.7795.help-gnu-emacs@gnu.org>
2007-02-26 19:43 ` james [this message]
2007-02-26 23:41 ` B. T. Raven
2007-02-27 7:02 ` Mathias Dahl
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=1172519036.643530.210210@s48g2000cws.googlegroups.com \
--to=james.kingston@gmail.com \
--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.