From: Sharon Kimble <boudiccas@skimble.plus.com>
To: help-gnu-emacs@gnu.org
Subject: How to get 'replace-string' to access the key-ring?
Date: Wed, 09 Jan 2019 12:06:40 +0000 [thread overview]
Message-ID: <87k1jeghm7.fsf@skimble.plus.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 709 bytes --]
How can I make 'replace-string' to access the kill-ring so that I have a choice of whatever is in the kill-ring please?
Currently I have this in my config -
#+BEGIN_SRC emacs-lisp
(global-set-key (kbd "M-s-x") 'replace-string)
#+END_SRC
- but I can't find any way of accessing the kill-ring so that I can choose what text, or whatever, to search and replace for.
Its probably something quite simple but its got me stumped at the moment, and I can't find a solution on the web using google.
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 9.5, fluxbox 1.3.7, emacs 26.1.91, org 9.2
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next reply other threads:[~2019-01-09 12:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-09 12:06 Sharon Kimble [this message]
2019-01-09 12:46 ` How to get 'replace-string' to access the key-ring? Robert Pluim
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=87k1jeghm7.fsf@skimble.plus.com \
--to=boudiccas@skimble.plus.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).