From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Why is Org PDF LaTeX Output not readonly? Date: Fri, 17 Feb 2017 13:35:48 +0100 Message-ID: <87bmu1ataz.fsf@nicolasgoaziou.fr> References: <87o9y3pm8m.fsf@ucl.ac.uk> <878tp7o1fd.fsf@ucl.ac.uk> <79bb378e94514fd7b377b77b3301f404@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> <87efyymemk.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cehla-0004lx-Ds for emacs-orgmode@gnu.org; Fri, 17 Feb 2017 07:36:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cehlU-0003ow-FW for emacs-orgmode@gnu.org; Fri, 17 Feb 2017 07:36:01 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:58493) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cehlU-0003nQ-9C for emacs-orgmode@gnu.org; Fri, 17 Feb 2017 07:35:56 -0500 In-Reply-To: (Florian Lindner's message of "Thu, 16 Feb 2017 17:09:27 +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" To: Florian Lindner Cc: emacs-orgmode@gnu.org Hello, Florian Lindner writes: > Am 16.02.2017 um 14:47 schrieb Eric S Fraga: >> On Thursday, 16 Feb 2017 at 08:33, Florian Lindner wrote: >>> It would be much easier to close it quickly this way and it would be >>> consistent with other buffers that serve the same >>> purpose, like the beforementioned Auctex output buffer. >> >> It would indeed be easier. The buffer is created in org-latex-compile >> and I guess it would be the case of setting the mode for the buffer? >> Beyond my level of elisp expertise however. > > There is with-output-to-temp-buffer with redirects the output to a temp buffer that behaves like a help window and shows > that buffer Using this function however makes only sense, when org mode defaults to displaying the latex output in case > something goes wrong. Which, imo would be as sensible default too. > > Changing that is also way beyond my elisp knowlege. In development version, Org now switches compilation buffers to `compilation-mode'. Thank you. Regards, -- Nicolas Goaziou