unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34720: 26.1; Reverting a GPG buffer moves all markers to the end of the file
@ 2019-03-03 15:28 Ian Dunn
  2019-07-09 16:33 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 18+ messages in thread
From: Ian Dunn @ 2019-03-03 15:28 UTC (permalink / raw)
  To: 34720


When I use `revert-buffer' on a buffer for a file encrypted with GnuPG, every marker in the buffer is moved to the end of the buffer.  A normal file restores markers to their original positions after reverting.

To replicate:

1. Open a GnuPG encrypted file
2. Run the following:
   (setq test-marker (make-marker))
   (move-marker test-marker (point-marker))
   ;; test-marker points to `point'
3. Revert the buffer
   ;; test-marker now points to the end of the buffer

-- 
Ian Dunn





^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-08-30 12:19 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-03 15:28 bug#34720: 26.1; Reverting a GPG buffer moves all markers to the end of the file Ian Dunn
2019-07-09 16:33 ` Lars Ingebrigtsen
2019-08-26  7:20   ` Lars Ingebrigtsen
2019-08-26  7:59     ` Eli Zaretskii
2019-08-26  8:14       ` Lars Ingebrigtsen
2019-08-26  9:42         ` Eli Zaretskii
2019-08-27  7:14           ` Lars Ingebrigtsen
2019-08-27  8:00             ` Eli Zaretskii
2019-08-27  8:23               ` Lars Ingebrigtsen
2019-08-27  8:41                 ` Eli Zaretskii
2019-08-27  9:05                   ` Lars Ingebrigtsen
2019-08-27  9:17                     ` Eli Zaretskii
2019-08-27  9:15                   ` Lars Ingebrigtsen
2019-08-27 10:20                     ` Eli Zaretskii
2019-08-30  9:48                       ` Lars Ingebrigtsen
2019-08-30 10:21                         ` Lars Ingebrigtsen
2019-08-30 12:19                         ` Eli Zaretskii
2019-08-27  8:37               ` Lars Ingebrigtsen

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