From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Use text in emacs buffer to populate command window Date: Mon, 18 Feb 2013 10:54:33 -0800 Message-ID: <07E080147E104C45AA6EFFD90C07B5B6@us.oracle.com> References: <1361211922783-278645.post@n5.nabble.com><87a9r1lb7k.fsf@gmail.com> <1361213248281-278652.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361213687 8124 80.91.229.3 (18 Feb 2013 18:54:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2013 18:54:47 +0000 (UTC) To: "'acomber'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 18 19:55:09 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U7Vro-0001P1-Oh for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 19:55:08 +0100 Original-Received: from localhost ([::1]:56552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7VrU-0000vg-TB for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 13:54:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7VrN-0000vX-5e for Help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 13:54:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7VrK-0002kG-KR for Help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 13:54:41 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:37803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7VrK-0002k6-Cj for Help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 13:54:38 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r1IIsY3N024388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 18 Feb 2013 18:54:35 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r1IIsYHv013244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 18 Feb 2013 18:54:34 GMT Original-Received: from abhmt120.oracle.com (abhmt120.oracle.com [141.146.116.72]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r1IIsYeL027729; Mon, 18 Feb 2013 12:54:34 -0600 Original-Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 18 Feb 2013 10:54:34 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <1361213248281-278652.post@n5.nabble.com> Thread-Index: Ac4OCG2ACeb1A5h6S32DGMNJ7HdhlAAAHvHQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89153 Archived-At: > But a problem I have is eg if I have marked the text: > xyzfunction returned true Then use m-x highlight-regexp > then m-n (or m-p) I can cycle through the history (which is > good) but for the current selection for some reason I only > get the last word - true. Would be great to get all text > I selected. Any ideas? How are you getting it? Did you try `C-y'? (You need to use `M-w' first, to put the selected text in the kill ring.)