unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: saveplace and friends
Date: Tue, 09 Aug 2016 15:04:23 +0000	[thread overview]
Message-ID: <CAFyQvY3-wtHxwZqrjdOsdHMYHS7tzeShZUXA+FiAUJZyTDLhqQ@mail.gmail.com> (raw)
In-Reply-To: <87shuec7y6.fsf@mat.ucm.es>

save-place-mode enabling has changed in emacs 25.x

From the NEWS file:

** The way to turn on and off 'save-place' mode has changed.
It is no longer sufficient to load the saveplace library and set
'save-place' non-nil.  Instead, use the two new minor modes:
'save-place-mode' turns on saving last place in every file, and
'save-place-local-mode' does that only for the file in whose buffer it
is invoked.  The 'save-place' variable is now an obsolete alias for
'save-place-mode', which replaces it, and 'toggle-save-place' is an
obsolete alias for the new 'save-place-local-mode' command.


Here is how I enable it:

      (save-place-mode 1)






On Tue, Aug 9, 2016, 10:56 AM Uwe Brauer <oub@mat.ucm.es> wrote:

> >>> "Alexis" == Alexis  <flexibeast@gmail.com> writes:
>
>     > Uwe Brauer <oub@mat.ucm.es> writes:
>
>     >> I tried out
>     >>
>     >> (require 'saveplace)
>     >> (setq-default save-place t)
>     >>
>     >> But it did not work neither.
>
>     > `saveplace` works for me .... Have you also set the value of the
>     > variable `save-place-file`?
> I have this setting
>
> (require 'saveplace)
> (setq-default save-place t)
> (setq save-place-file "~/.emacs.d/saved-places")
>
> But it seems that nothing is saved in .emacs.d
>
> Looks like a bug to me.
>
>     > Alexis.
>
>
>
>
> --

Kaushal Modi


  reply	other threads:[~2016-08-09 15:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-09  7:51 saveplace and friends Uwe Brauer
2016-08-09 12:36 ` Narendra Joshi
2016-08-09 14:52   ` Uwe Brauer
2016-08-09 13:31 ` Alexis
2016-08-09 14:50   ` Uwe Brauer
2016-08-09 15:04     ` Kaushal Modi [this message]
2016-08-09 15:05     ` Eli Zaretskii
2016-08-09 15:03   ` Eli Zaretskii
2016-08-09 15:07     ` Stefan Monnier
2016-08-09 15:16       ` Uwe Brauer
2016-08-09 16:57         ` Stefan Monnier
2016-08-09 15:11     ` Uwe Brauer
2016-08-09 18:59 ` Jude DaShiell
2016-08-10 14:24   ` Eli Zaretskii

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=CAFyQvY3-wtHxwZqrjdOsdHMYHS7tzeShZUXA+FiAUJZyTDLhqQ@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=help-gnu-emacs@gnu.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.
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).