From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug capturing to a file while visiting buffer and auto-revert-mode active Date: Sat, 08 Oct 2016 16:00:49 +0200 Message-ID: <878ttzkkj2.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bssBM-0007eG-Ej for emacs-orgmode@gnu.org; Sat, 08 Oct 2016 10:00:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bssBG-00013K-Fx for emacs-orgmode@gnu.org; Sat, 08 Oct 2016 10:00:55 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bssBG-00013E-9n for emacs-orgmode@gnu.org; Sat, 08 Oct 2016 10:00:50 -0400 In-Reply-To: (Michael Fiano's message of "Fri, 30 Sep 2016 18:25:13 -0400") 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: Michael Fiano Cc: emacs-orgmode@gnu.org Hello, Michael Fiano writes: > 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. Could you provide a more precise ECM? E.g., the capture template you use... Regards, -- Nicolas Goaziou