From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Sharon Kimble Newsgroups: gmane.emacs.help Subject: How to get 'replace-string' to access the key-ring? Date: Wed, 09 Jan 2019 12:06:40 +0000 Message-ID: <87k1jeghm7.fsf@skimble.plus.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1547035535 16174 195.159.176.226 (9 Jan 2019 12:05:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2019 12:05:35 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 09 13:05:31 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghCbu-000407-Ne for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jan 2019 13:05:26 +0100 Original-Received: from localhost ([127.0.0.1]:44918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghCe1-00005p-3h for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jan 2019 07:07:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghCdI-00005N-CE for help-gnu-emacs@gnu.org; Wed, 09 Jan 2019 07:06:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghCdH-0007Kg-JO for help-gnu-emacs@gnu.org; Wed, 09 Jan 2019 07:06:52 -0500 Original-Received: from avasout03.plus.net ([84.93.230.244]:43543) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ghCdH-0007Iu-DE for help-gnu-emacs@gnu.org; Wed, 09 Jan 2019 07:06:51 -0500 Original-Received: from london.london ([46.208.39.106]) by smtp with ESMTPA id hCdBgSU1Y2DTnhCdCghwfP; Wed, 09 Jan 2019 12:06:46 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=SPhsqtnH c=1 sm=1 tr=0 a=AnMLlVAnYZ6K9oi4JOqo1A==:117 a=AnMLlVAnYZ6K9oi4JOqo1A==:17 a=LlzXLoV6AAAA:8 a=iI7HsYTVAAAA:8 a=bAHfVwKlAAAA:8 a=Y6qjoVHtU_gV1XNkCPMA:9 a=1JiRW9E4xQTZlBAg:21 a=kn3xK2BRJwZ0H_6s:21 a=DELtGQRNeMxpoSClpe0A:9 a=FfaGCDsud1wA:10 a=diwpeB1DDhFXqWA7J4Up:22 a=KxyM1Xthmv57RbWRIpnN:22 a=fjrkRJ71zQ2jzMzczd-K:22 X-AUTH: skimble@:2500 X-CMAE-Envelope: MS4wfA+/Hg9Zp7mw/er9dYjrtUs9dPNz5Znama8O783tAEEJDoAEUSK7dSxgtp68SaKPKA8NqclhFSmwsFe9C+xDLDxNqhzSIqN5Nr5+CXfjdjIBTXBptxBP r93oRoso3j203MFwwUdKt6ZaIQ1ERgVHERyxNcQof+qc1S/DFBx6jQ+wAQZevPJpGOG+CYMdijmoIw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 84.93.230.244 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119098 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable How can I make 'replace-string' to access the kill-ring so that I have a ch= oice 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 =2D but I can't find any way of accessing the kill-ring so that I can choos= e what text, or whatever, to search and replace for. Its probably something quite simple but its got me stumped at the moment, a= nd I can't find a solution on the web using google. Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk DrugFacts =3D https://www.drugfacts.org.uk Debian 9.5, fluxbox 1.3.7, emacs 26.1.91, org 9.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAlw149AACgkQNoGAGQr4 g1t1qg/+MubOr54ilfLUJANonpDPNcVy+W/HQd7MMoz35p803k65HhsOG3Povyls fW8dTM6BPElSPJaddevlfuBPvRlEUlbitLeCVDgV7oRdbu+gpf6emZwb1gsuCpc9 jkYHW+hzNy1WAAy1Djwh8sdBP5glNOiz/gVVCKMEBBirA/JZbbMa7E7ZLwukvVJ8 e5CswgYqVi756WFFjCctml17mzzlEDwkB/az2UqKpVUgCLSWcMAYrWfgfrk2UfOd RtQhDCwc+QZT76lXs1XqT1aCA+ul6b57cSKh1QhzMVgIh3OeJJiM/ztogmJSChd0 cg1Sv2aRV4iTVXBUb39UMho+z6hv1DFa6K59LHxWdn23Xh4tRAww/hXgXZSI2lNR 9f4jXCrG6oqQe8v2Of+YD2txtDV5bJsN2e3cblqtwEbb0S019RlG6e9JyndO5ret qe4jjVwxh7b/bcHrYSqI6S+IJh4kagr06tG8239/CD68hSfoMLvTxIdeUG9E2LbX iB7CQGwMLdtDdzlkwTZeVr3Nd836lp2rqqYya1hiXEvhio62bZiL+e8ikG+mrP5+ K05GQW4sEG7wSvZtACv4mQUYXPBTA9RtK6ZiT8t8XAAepaOEvCAiYCVz3qK3JNUq 5lGVjJPs7XLY+nUU2u7LPm1b/ek8+YAtr1u83uK0DJRFNYNQhfE= =szme -----END PGP SIGNATURE----- --=-=-=--