From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#34474: Save last search string between sessions Date: Thu, 14 Feb 2019 15:10:50 +0000 (UTC) Message-ID: <1cfa467f-283a-4934-9cd9-68b0b8d96cd2@default> References: <87imxn406w.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="40732"; mail-complaints-to="usenet@blaine.gmane.org" To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , 34474@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 14 16:12:49 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 1guIgz-000AUl-8J for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Feb 2019 16:12:49 +0100 Original-Received: from localhost ([127.0.0.1]:49945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guIgx-0002WM-UZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Feb 2019 10:12:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guIgl-0002Vt-U9 for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2019 10:12:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guIgE-00035d-OM for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2019 10:12:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49030) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guIgE-00035K-Jh for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2019 10:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1guIgE-0003Cq-B6 for bug-gnu-emacs@gnu.org; Thu, 14 Feb 2019 10:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Feb 2019 15:12: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.155015706312239 (code B ref 34474); Thu, 14 Feb 2019 15:12:02 +0000 Original-Received: (at 34474) by debbugs.gnu.org; 14 Feb 2019 15:11:03 +0000 Original-Received: from localhost ([127.0.0.1]:48311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guIfH-0003BL-7j for submit@debbugs.gnu.org; Thu, 14 Feb 2019 10:11:03 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:40770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1guIfD-0003Ai-24 for 34474@debbugs.gnu.org; Thu, 14 Feb 2019 10:10:59 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x1EF3gxD004564; Thu, 14 Feb 2019 15:10:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=pZ/+b8/LAm/iOv70Q0YbNSJt444gvkueCU0IrGYM0hk=; b=jyuRKWWnfj1Y91qOnGF0qvl2DyVQh2+vt73aZXwvBkcYw6wfweWxQ9fwCWg1B4cojOQV ylLA0QnRUZkdwtGsgMbkdXmcjUtY3zVxzmXnUeObQEbZ1rq4I9O4XyQjK8N9dI8qeQeL reF6bht+AWDeASuUQM5KgHS4WPtsY4FNBd/7N82+ZwIy9KNm8zmapgiKnJumUurChy9F cIEfLk3EGODiVaxAQUI9OvIn7df5b6JXiT6nbQWRhhCbX3ybuBC9HdIQhHF3hDstqtD+ 4bFVTUGUk+0sWyHNovmqmi5PRiG2zWwf5/v/hFdtsJNw3HBXbqBZBnsxuTXK0ddcBhyG 1w== Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2130.oracle.com with ESMTP id 2qhrekrht7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 14 Feb 2019 15:10:53 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x1EFAqZg020922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 14 Feb 2019 15:10:52 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x1EFApft014429; Thu, 14 Feb 2019 15:10:51 GMT In-Reply-To: <87imxn406w.fsf@jidanni.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4810.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9166 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=670 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902140106 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:155417 Archived-At: > Emacs doesn't even have an option to save > the last search string between session (`desktop.el' is overkill for this. But if you're using it anyway then sure, it will do this too.) Use library `savehist.el'. Just customize option `savehist-additional-variables' to include both `search-ring' and `regexp-search-ring.