unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: help-gnu-emacs@gnu.org
Subject: Re: saveplace and friends
Date: Tue, 09 Aug 2016 15:11:13 +0000	[thread overview]
Message-ID: <871t1you3y.fsf@mat.ucm.es> (raw)
In-Reply-To: 83y446gf2x.fsf@gnu.org



    > The default should work just fine.  What Uwe needs is turn on the
    > mode:

    >   (require 'saveplace)
    >   (save-place-mode 1)

    > Emacs has long ago switched away from the policy of having a mode turn
    > on just by loading a file.  Nowadays, users need to actually turn on
    > the mode.

Right, it seems that

(require 'saveplace)
(if (fboundp #'save-place-mode)
  (save-place-mode +1)
  (setq-default save-place t))

Does the trick, which is a more complicated version of what you
proposed. Sorry for the noise, but the emacswiki needs an upgrade.


https://www.emacswiki.org/emacs/SavePlace




  parent reply	other threads:[~2016-08-09 15:11 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
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 [this message]
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=871t1you3y.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --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).