From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Lentic.0.6 and org mode Date: Thu, 15 Jan 2015 18:24:44 +0100 Message-ID: References: <87iogfyd7p.fsf@newcastle.ac.uk> <87y4p482f2.fsf@newcastle.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBoAC-0000db-Re for emacs-orgmode@gnu.org; Thu, 15 Jan 2015 12:24:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBoA8-0000OL-QX for emacs-orgmode@gnu.org; Thu, 15 Jan 2015 12:24:56 -0500 Received: from mx1.polytechnique.org ([129.104.30.34]:35718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBoA8-0000O1-KT for emacs-orgmode@gnu.org; Thu, 15 Jan 2015 12:24:52 -0500 In-Reply-To: <87y4p482f2.fsf@newcastle.ac.uk> (Phillip Lord's message of "Thu, 15 Jan 2015 15:54:41 +0000") 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: Phillip Lord Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2015-01-15 15:54, phillip.lord@newcastle.ac.uk (Phillip Lord) writes: > Good. If you find any examples which fail, I'd be happy to look. It's not really failing, but I don't know how to put the end of file markers so that lentic likes it. For instance: =2D-8<---------------cut here---------------start------------->8--- ;;; lentic_test --- testing it ;;; Commentary: ;; this is a test ;;; Code: ;; a comment ;; ** a subsection ;; #+begin_src emacs-lisp (message "foo") ;; #+end_src ;; #+begin_src emacs-lisp (provide 'lentic_test) ;; #+end_src ;; # Local Variables: ;; # lentic-init: lentic-orgel-org-init ;; # End: ;;; lentic_test.el ends here =2D-8<---------------cut here---------------end--------------->8--- The last line is not nicely typeset. >> By the way, what is the correct way of exiting lentic mode? For the >> moment I kill the buffer and the window, but it would be nice to have >> a function that exits lentic. > > At the moment, killing one or the other lentic buffers does the job. > Lentic checks for the killed buffer and all should be good. An "exit > lentic" command might be nice, indeed. It could close all lentic buffers > except the first (currently lentic only supports one buffer, but > eventually it should support many). But killing the buffer works fine > also. Right now it's a three steps process: =2D kill the buffer =2D confirm the kill as it's modified (the "org" buffer) =2D close the window This is why I think a lentic-exit command would be great. Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJUt/fhAAoJEAQNCjtO0uXHCosIAIpNY7paSRlScmM9QnLsA2PS k+S2IvX018P3ix7ajddBO3GGI14h/p+Q9ZPWp69y3pvSffRV9MzC4FmXEg39fQaJ OtTfj80sYJQpGwc1o7S8PHYxVPccjD8b3mSuTDpdI0Ef3umns8Tx2tc4IjiL1Zj8 su/6WWSOjWNwEIFnm0xsg1Ws/Q17AxsSZSWQL40tzqdCbQ87IOc8OycjeORsSUzK pUYKNM1uwbz8P7OAbfDILkiY+WPxg7C6JnyLUOeILGtKGfTvShCjK4n+2L4xikQH c6u9qbPe9lH1Q69T9eYKCSQa1UyQ1W4rrl1sIKknL/cGRc+WZQDkkhLL5vI7Mm4= =E/o0 -----END PGP SIGNATURE----- --=-=-=--