From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Newsgroups: gmane.emacs.devel Subject: Re: How to get a fixed search string into the editable area of an isearch. Date: Wed, 1 Jun 2016 05:07:23 +0000 (UTC) Message-ID: References: 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 1464757675 2715 80.91.229.3 (1 Jun 2016 05:07:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2016 05:07:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 01 07:07:47 2016 Return-path: Envelope-to: ged-emacs-devel@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 1b7yNe-0000NG-TQ for ged-emacs-devel@m.gmane.org; Wed, 01 Jun 2016 07:07:47 +0200 Original-Received: from localhost ([::1]:39698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7yNd-0002F9-TT for ged-emacs-devel@m.gmane.org; Wed, 01 Jun 2016 01:07:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7yNX-0002Ez-QD for emacs-devel@gnu.org; Wed, 01 Jun 2016 01:07:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7yNU-0006kr-GJ for emacs-devel@gnu.org; Wed, 01 Jun 2016 01:07:39 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:46839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7yNU-0006kl-9p for emacs-devel@gnu.org; Wed, 01 Jun 2016 01:07:36 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b7yNP-0000Bj-GU for emacs-devel@gnu.org; Wed, 01 Jun 2016 07:07:31 +0200 Original-Received: from 217-197-180-127.pool.digikabel.hu ([217.197.180.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Jun 2016 07:07:31 +0200 Original-Received: from adatgyujto by 217-197-180-127.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Jun 2016 07:07:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 12 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 217.197.180.127 (Mozilla/5.0 (Windows NT 6.3; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:204165 Archived-At: Robert Weiner gmail.com> writes: > I have a need for a command that starts an isearch with > a specific string in the editable area How about this: (progn (setq unread-command-events (append unread-command-events '(?t ?e ?s ?t))) (isearch-forward))