unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 'Ehud Karni' <ehud@unix.mvs.co.il>,
	'David De La Harpe Golden' <david.delaharpe.golden@gmail.com>,
	'Emacs-Devel' <emacs-devel@gnu.org>
Subject: Re: yank-secondary
Date: Tue, 06 May 2008 21:55:08 -0400	[thread overview]
Message-ID: <jwv7ie6j2ur.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <000901c8af91$67d4d7e0$0200a8c0@us.oracle.com> (Drew Adams's message of "Tue, 6 May 2008 08:54:01 -0700")

> Dunno if anyone tried the code I sent, but I've since combined the three
> commands in one, `yank-secondary-or-swap-w-region':

> * no prefix arg:    yank-secondary
> * prefix arg >= 0:  primary-to-secondary
> * prefix arg < 0:   secondary-to-primary

Why not just either yank and swap primary<->secondary?
Also it can just be called secondary-dwim.


        Stefan




  reply	other threads:[~2008-05-07  1:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-11 18:59 FW: yank-secondary Drew Adams
2008-05-04 23:15 ` yank-secondary Drew Adams
2008-05-06 15:54   ` yank-secondary Drew Adams
2008-05-07  1:55     ` Stefan Monnier [this message]
2008-05-07  2:40       ` yank-secondary Drew Adams
2008-05-07  3:15         ` yank-secondary Stefan Monnier
2008-05-07  6:27           ` yank-secondary Drew Adams
2008-05-07 15:01             ` yank-secondary Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2008-01-30 21:41 yank-secondary 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

  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=jwv7ie6j2ur.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=david.delaharpe.golden@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=ehud@unix.mvs.co.il \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).