From mboxrd@z Thu Jan 1 00:00:00 1970 From: phillip.lord@newcastle.ac.uk (Phillip Lord) Subject: Re: Lentic.0.6 and org mode Date: Fri, 16 Jan 2015 11:01:57 +0000 Message-ID: <87r3uvm1ju.fsf@newcastle.ac.uk> References: <87iogfyd7p.fsf@newcastle.ac.uk> <87y4p482f2.fsf@newcastle.ac.uk> <87wq4n3cgk.fsf@newcastle.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YC4fC-0001Ey-El for emacs-orgmode@gnu.org; Fri, 16 Jan 2015 06:02:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YC4f9-0000dK-3o for emacs-orgmode@gnu.org; Fri, 16 Jan 2015 06:02:02 -0500 Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:49552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YC4f8-0000d7-Uo for emacs-orgmode@gnu.org; Fri, 16 Jan 2015 06:01:59 -0500 In-Reply-To: (Alan Schmitt's message of "Fri, 16 Jan 2015 11:15:59 +0100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alan Schmitt Cc: emacs-orgmode@gnu.org Alan Schmitt writes: > I gave this a try and it works well. > >> Can I ask, why do you want to kill the buffer? Why not just bury it? > > Because otherwise I get this the next time I start lentic for the same > file: > > A buffer is visiting /Users/schmitta/tmp/lentic_test.org; proceed? (y or n) y > > and I get yet another buffer. Oh, yeah, that. This needs fixing. In general you don't need to create a new buffer, just do `lentic-mode-move-lentic-window' (C-c,h or "here" in the menu item) or `lentic-mode-swap-lentic-windows' (C-c,s and supposed to be in the menu, but I've just found it's bugged!). Personally, I do (define-key lentic-mode-map [f1] 'lentic-mode-move-lentic-window) which lets me switch backward and forward in the same window very quickly. I will probably remove "create" at some point -- "here" and "swap" should just create if necessary. Phil