GNU bug report logs - #27623
save-place-local-mode bug

Previous Next

Package: emacs;

Reported by: Gary Cheng <garycheng12 <at> gmail.com>

Date: Sat, 8 Jul 2017 18:05:02 UTC

Severity: minor

To reply to this bug, email your comments to 27623 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#27623; Package emacs. (Sat, 08 Jul 2017 18:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gary Cheng <garycheng12 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 08 Jul 2017 18:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gary Cheng <garycheng12 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: save-place-local-mode bug
Date: Sat, 8 Jul 2017 14:02:31 -0400
[Message part 1 (text/plain, inline)]
In order to save point position for only certain files,
`save-place-local-mode` is used on the desired file. However, point
position is not restored on next emacs session, unless save-place-mode is
enabled. Enabling save-place-mode means point position is enabled for all
files, which is not desired.

So save-place-local-mode is not serving its intended purpose and at the
moment there doesn't seem to be a way to enable save-place only for desired
files.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27623; Package emacs. (Sat, 08 Jul 2017 18:21:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gary Cheng <garycheng12 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: save-place-local-mode bug
Date: Sat, 8 Jul 2017 14:03:04 -0400
[Message part 1 (text/plain, inline)]
Relevant Reddit thread:
https://www.reddit.com/r/emacs/comments/6lz3dt/noob_using_saveplace_only_for_certain_files/

On Sat, Jul 8, 2017 at 2:02 PM, Gary Cheng <garycheng12 <at> gmail.com> wrote:

> In order to save point position for only certain files,
> `save-place-local-mode` is used on the desired file. However, point
> position is not restored on next emacs session, unless save-place-mode is
> enabled. Enabling save-place-mode means point position is enabled for all
> files, which is not desired.
>
> So save-place-local-mode is not serving its intended purpose and at the
> moment there doesn't seem to be a way to enable save-place only for desired
> files.
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27623; Package emacs. (Mon, 10 Aug 2020 17:10:02 GMT) Full text and rfc822 format available.

Message #11 received at 27623 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Gary Cheng <garycheng12 <at> gmail.com>, 27623 <at> debbugs.gnu.org
Subject: Re: bug#27623: save-place-local-mode bug
Date: Mon, 10 Aug 2020 10:09:46 -0700
Hi Stefan,

Gary Cheng <garycheng12 <at> gmail.com> writes:

> Relevant Reddit thread:
> https://www.reddit.com/r/emacs/comments/6lz3dt/noob_using_saveplace_only_for_certain_files/
>
> On Sat, Jul 8, 2017 at 2:02 PM, Gary Cheng <garycheng12 <at> gmail.com> wrote:
>
>  In order to save point position for only certain files,
>  `save-place-local-mode` is used on the desired file. However, point
>  position is not restored on next emacs session, unless
>  save-place-mode is enabled. Enabling save-place-mode means point
>  position is enabled for all files, which is not desired.
>
>  So save-place-local-mode is not serving its intended purpose and at
>  the moment there doesn't seem to be a way to enable save-place only
>  for desired files.

Since you added save-place-local-mode in commit fde0cd1adc0, do you have
any thoughts on the above?

Best regards,
Stefan Kangas




This bug report was last modified 4 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.