From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#34474: Save last search string between sessions Date: Thu, 14 Feb 2019 09:40:23 +0800 Message-ID: <87imxn406w.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="93871"; mail-complaints-to="usenet@blaine.gmane.org" To: 34474@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 14 04:42:26 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gu7uq-000OHV-SL for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Feb 2019 04:42:24 +0100 Original-Received: from localhost ([127.0.0.1]:39290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gu7up-0004WY-T7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Feb 2019 22:42:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gu7qg-00017Z-TV for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2019 22:38:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gu7qe-0003Ug-QS for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2019 22:38:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gu7qc-0003S9-2K for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2019 22:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gu7qb-0007Z3-T0 for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2019 22:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Feb 2019 03:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34474 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155011542828982 (code B ref -1); Thu, 14 Feb 2019 03:38:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Feb 2019 03:37:08 +0000 Original-Received: from localhost ([127.0.0.1]:47556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gu7pj-0007XN-Rv for submit@debbugs.gnu.org; Wed, 13 Feb 2019 22:37:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gu7ph-0007Wj-3B for submit@debbugs.gnu.org; Wed, 13 Feb 2019 22:37:06 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:42128) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gu7pb-0002Eh-Ko for submit@debbugs.gnu.org; Wed, 13 Feb 2019 22:36:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gu7pa-0008B3-II for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2019 22:36:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gu7bA-0005JF-Sm for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2019 22:22:06 -0500 Original-Received: from lavender.maple.relay.mailchannels.net ([23.83.214.99]:26191) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gu7b6-0005BJ-WD for bug-gnu-emacs@gnu.org; Wed, 13 Feb 2019 22:22:02 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id CC7425033CB for ; Thu, 14 Feb 2019 03:21:47 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (unknown [100.96.20.98]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 9434B5033E8 for ; Thu, 14 Feb 2019 03:21:47 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Thu, 14 Feb 2019 03:21:47 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Plucky-Versed: 7246386c6149589b_1550114507697_128056966 X-MC-Loop-Signature: 1550114507696:3618421832 X-MC-Ingress-Time: 1550114507696 Original-Received: from pdx1-sub0-mail-a6.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTP id 30A1F80BA1 for ; Wed, 13 Feb 2019 19:21:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=MLJIY5SVCY5GWfpWWYAUlfccO5w=; b=ibidZeQbHvBuj2t5 wC/NZ6EWe4XfA6Yi2Lp6JPbDMZ6km6dyZoiWG2zl/ojL3nYOFH8wh+xHpeUuTXYa NpDL4fJD3z3XiqoeDD6Ko6bsPDQ8QJrFqGUvyhMRyDBstMSx8CVKd6Yydd/qEJ5i HLcOpgCD9P0QDHlP5pMnf4RQTuk= Original-Received: from jidanni.org (36-234-96-203.dynamic-ip.hinet.net [36.234.96.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTPSA id CDD0E80B9B for ; Wed, 13 Feb 2019 19:21:46 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a6 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledruddtgedgheejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepfeeirddvfeegrdeliedrvddtfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpeefiedrvdefgedrleeirddvtdefpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpeeg X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155411 Archived-At: You know just the other day I was reading (info "(emacs) Repeat Isearch") and thinking, oh the mighty emacs, doesn't even have an option to save the last search string between session, like the puny less(1) can. Let's see, you could save it in .emacs.d/* somewhere. (Yes, I'm sure somebody has already implemented this as an add-on.) (Sure, you might say well then also save the last yank area too, etc. but I didn't say that.) Ah yes, say goodbye to every morning: "I-search: [No previous search string]" (which by the way doesn't show up in *Messages*)