From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: acomber Newsgroups: gmane.emacs.help Subject: Re: Use text in emacs buffer to populate command window Date: Mon, 18 Feb 2013 10:47:28 -0800 (PST) Message-ID: <1361213248281-278652.post@n5.nabble.com> References: <1361211922783-278645.post@n5.nabble.com> <87a9r1lb7k.fsf@gmail.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 1361213263 3586 80.91.229.3 (18 Feb 2013 18:47:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2013 18:47:43 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 18 19:48:06 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 1U7Vkv-00060s-Hg for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 19:48:01 +0100 Original-Received: from localhost ([::1]:51209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Vkb-00061g-LD for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 13:47:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7VkQ-00060w-Hb for Help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 13:47:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7VkP-0000cj-H6 for Help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 13:47:30 -0500 Original-Received: from sam.nabble.com ([216.139.236.26]:39734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7VkP-0000cZ-Co for Help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 13:47:29 -0500 Original-Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U7VkO-0007pC-Go for Help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 10:47:28 -0800 In-Reply-To: <87a9r1lb7k.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 216.139.236.26 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:89152 Archived-At: Thanks for the tip about m-n. I have used m-p in the past - so should have thought of that. 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? -- View this message in context: http://emacs.1067599.n5.nabble.com/Use-text-in-emacs-buffer-to-populate-command-window-tp278645p278652.html Sent from the Emacs - Help mailing list archive at Nabble.com.