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: Sat, 16 Feb 2019 01:14:26 +0800 Message-ID: <87sgwpdle5.fsf@jidanni.org> References: <87imxn406w.fsf@jidanni.org> <1cfa467f-283a-4934-9cd9-68b0b8d96cd2@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="113888"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34474@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 15 18:21:36 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 1guhB5-000TOl-V4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Feb 2019 18:21:32 +0100 Original-Received: from localhost ([127.0.0.1]:43672 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guhB4-00012V-Jv for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Feb 2019 12:21:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guh4u-0004aA-UT for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2019 12:15:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guh4r-00064u-Dm for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2019 12:15:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50476) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guh4o-00063W-GX for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2019 12:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1guh4o-0007jV-7n for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2019 12:15:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87imxn406w.fsf@jidanni.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: Fri, 15 Feb 2019 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34474 X-GNU-PR-Package: emacs Original-Received: via spool by 34474-submit@debbugs.gnu.org id=B34474.155025087629673 (code B ref 34474); Fri, 15 Feb 2019 17:15:02 +0000 Original-Received: (at 34474) by debbugs.gnu.org; 15 Feb 2019 17:14:36 +0000 Original-Received: from localhost ([127.0.0.1]:49757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guh4O-0007iX-6X for submit@debbugs.gnu.org; Fri, 15 Feb 2019 12:14:36 -0500 Original-Received: from bonobo.maple.relay.mailchannels.net ([23.83.214.22]:3006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guh4M-0007iM-AA for 34474@debbugs.gnu.org; Fri, 15 Feb 2019 12:14:35 -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 5DC19283636; Fri, 15 Feb 2019 17:14:32 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a80.g.dreamhost.com (unknown [100.96.26.166]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E977B28343D; Fri, 15 Feb 2019 17:14:31 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a80.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); Fri, 15 Feb 2019 17:14:32 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Wipe-Cure: 7ec4c5c273d407d7_1550250872051_1828027873 X-MC-Loop-Signature: 1550250872051:1388906177 X-MC-Ingress-Time: 1550250872050 Original-Received: from pdx1-sub0-mail-a80.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a80.g.dreamhost.com (Postfix) with ESMTP id 829CE807D5; Fri, 15 Feb 2019 09:14:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=pQ+PFPY2GDtyFNWwEbio2CMDeKE=; b=kx6QcfZzQzrsM wq/IIx/qywKKoGFYUssprOFH/OJ1uN7+cIXrVls5edv4SGwqE/SG6SLmI9jPLgkd TtLrMjoE0OWbqGhux7nHQQtR75Lqh9pbs6yDnGcL8A0jU1Yor3VN+4dZa9Ud8jYe Ksh6kj6Jpy6MGtxr4jyxuoC7H830HE= Original-Received: from jidanni.org (114-41-34-44.dynamic-ip.hinet.net [114.41.34.44]) (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-a80.g.dreamhost.com (Postfix) with ESMTPSA id B9610807DF; Fri, 15 Feb 2019 09:14:30 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a80 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledruddtjedgleekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhffffkgggtsehttdertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepuddugedrgedurdefgedrgeegnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddugedrgedurdefgedrgeegpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepfeeggeejgeesuggvsggsuhhgshdrghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt 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:155438 Archived-At: >>>>> "DA" == Drew Adams writes: DA> (`desktop.el' is overkill for this. But if you're DA> using it anyway then sure, it will do this too.) DA> Use library `savehist.el'. Just customize option DA> `savehist-additional-variables' to include both DA> `search-ring' and `regexp-search-ring. OK, be sure to make a note about this/these in (info "(emacs) Repeat Isearch"). Thanks.