[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setting point
From: |
Lars Ingebrigtsen |
Subject: |
Setting point |
Date: |
Fri, 13 Apr 2018 21:56:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
If you're in an Emacs with *scratch* not displayed, this is a noop:
(progn (set-buffer (get-buffer "*scratch*")) (goto-char (point-max)))
When you switch to *scratch*, point will be wherever it used to be.
I don't think Emacs has always behaved this way? It changed perhaps
5-10 years ago?
Anyway, how do you set point in buffers these days? :-)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Setting point,
Lars Ingebrigtsen <=
- Re: Setting point, Eli Zaretskii, 2018/04/13
- Re: Setting point, Lars Ingebrigtsen, 2018/04/13
- Re: Setting point, Lars Ingebrigtsen, 2018/04/13
- Re: Setting point, Stefan Monnier, 2018/04/13
- Re: Setting point, Lars Ingebrigtsen, 2018/04/13
- Re: Setting point, Stefan Monnier, 2018/04/13
- Re: Setting point, Lars Ingebrigtsen, 2018/04/13
- Re: Setting point, Eli Zaretskii, 2018/04/14