unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>, 34474@debbugs.gnu.org
Subject: bug#34474: Save last search string between sessions
Date: Thu, 14 Feb 2019 15:10:50 +0000 (UTC)	[thread overview]
Message-ID: <1cfa467f-283a-4934-9cd9-68b0b8d96cd2@default> (raw)
In-Reply-To: <87imxn406w.fsf@jidanni.org>

> 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.





  parent reply	other threads:[~2019-02-14 15:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-14  1:40 bug#34474: Save last search string between sessions 積丹尼 Dan Jacobson
2019-02-14  8:54 ` Robert Pluim
2019-02-14 15:10 ` Drew Adams [this message]
2019-02-15 17:14   ` 積丹尼 Dan Jacobson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1cfa467f-283a-4934-9cd9-68b0b8d96cd2@default \
    --to=drew.adams@oracle.com \
    --cc=34474@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).