bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34720: 26.1; Reverting a GPG buffer moves all markers to the end of


From: Ian Dunn
Subject: bug#34720: 26.1; Reverting a GPG buffer moves all markers to the end of the file
Date: Sun, 03 Mar 2019 10:28:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]