unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to clear a register
Date: Tue, 20 Jan 2009 11:56:25 -0600	[thread overview]
Message-ID: <87wscpeu9i.fsf@newsguy.com> (raw)
In-Reply-To: 87prii4880.fsf@free.fr

Asgeir <asgeir@free.fr> writes:

> Do you really need to clear a register ?
> You can just override your register saving another information in it.
> But effectively, (info "(emacs)registers") does not show any function to
> clear a register. It must be useless, therefore.

Yeah... I see it is useless... I did mention that I saw no way to
overwrite a register, but of course there is.

Harry wrote:
>> I see how (using a prefix arg) I can delete a region from the source
>> when its sent to a register but no way to mess with what is inside a
>> register.  Don't even see a way to overwrite a register.

I'd gotten hungup on using C-x <left|right>  which of course.. appends
to a register... not realizing I could use C-x r s to overwrite a
register.

Sorry for the line noise.





  reply	other threads:[~2009-01-20 17:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5315.1232429190.26697.help-gnu-emacs@gnu.org>
2009-01-20  9:50 ` How to clear a register Asgeir
2009-01-20 17:56   ` Harry Putnam [this message]
     [not found]   ` <mailman.5379.1232474199.26697.help-gnu-emacs@gnu.org>
2009-01-21  1:18     ` Xah Lee
2009-01-20  5:26 Harry P
2009-01-20 11:34 ` Bastien
2009-01-20 17:57   ` Harry Putnam
     [not found] ` <mailman.5336.1232451298.26697.help-gnu-emacs@gnu.org>
2009-01-20 16:59   ` Asgeir

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=87wscpeu9i.fsf@newsguy.com \
    --to=reader@newsguy.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.
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).