From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Fiano Subject: Bug capturing to a file while visiting buffer and auto-revert-mode active Date: Fri, 30 Sep 2016 18:25:13 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1143d2f070f6c1053dc111f7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq6F3-0008EE-2h for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 18:25:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bq6F1-0003kW-4E for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 18:25:16 -0400 Received: from mail-it0-x230.google.com ([2607:f8b0:4001:c0b::230]:38207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bq6F0-0003k8-VR for emacs-orgmode@gnu.org; Fri, 30 Sep 2016 18:25:15 -0400 Received: by mail-it0-x230.google.com with SMTP id o19so47676559ito.1 for ; Fri, 30 Sep 2016 15:25:14 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --001a1143d2f070f6c1053dc111f7 Content-Type: text/plain; charset=UTF-8 If you visit an empty file buffer (0 bytes), turn auto-revert-mode on, and capture something to this file, it will appear as if the buffer is still empty. The cursor appears to be on an empty first line, but in reality, the rest of the file contents are off screen and you must scroll up to see them. Alternatively, manually calling revert-buffer will shift the view so the file contents are displayed. It seems like auto-revert-mode and org-capturing are not playing nice together. It took me a few hours to realize that the buffer indeed was modified, but you had to scroll up to see that it was. --001a1143d2f070f6c1053dc111f7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
If you visit an empty file buffer (0 bytes), turn auto-rev= ert-mode on, and capture something to this file, it will appear as if the b= uffer is still empty. The cursor appears to be on an empty first line, but = in reality, the rest of the file contents are off screen and you must scrol= l up to see them. Alternatively, manually calling revert-buffer will shift = the view so the file contents are displayed. It seems like auto-revert-mode= and org-capturing are not playing nice together. It took me a few hours to= realize that the buffer indeed was modified, but you had to scroll up to s= ee that it was.
--001a1143d2f070f6c1053dc111f7--