[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Re: preserving images, and image contrast
From: |
David Kastrup |
Subject: |
Re: [AUCTeX] Re: preserving images, and image contrast |
Date: |
Thu, 02 Jun 2005 19:50:33 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Richard Lewis <address@hidden> writes:
> Ralf Angeli <address@hidden> writes:
>
>>> 1. Currently, when I kill emacs, all the preview images (and IIRC,
>>> the .efmt file too), are deleted. I have customized the auto-cache
>>> variable to be on, but I suppose the cache is only on a per-session
>>> basis? Is there a way to make previe-latex not delete all those
>>> images at the end of the session? If the previews are up-to-date (or
>>> even reasonably so) at the end of the session, I'd like a way to
>>> reuse them at the next start-up, instead of going through the whole
>>> thing again.
>>
>> desktop.el
>
> This works when exit-emacs is called with latex buffers opened.
>
> It would be even cooler if subsequently visited files had existing
> preview sessions restored. Or even a separate command to load
> previews from disk instead of regenerating them (eg something like
> revert-buffer removes the previews even if the file had not changed)
desktop.el is intended for restoring the state of a buffer. Use
desktop-save and desktop-read for restoring your projects. After
using desktop-save, you can kill a buffer without previews getting
removed.
If you think that you want an interface that will selectively work on
single files, it makes much more sense to make this a feature request
for desktop.el rather than ask for preview-latex implementing trickery
to bypass desktop.el.
Probably desktop.el should get a possibility of marking a buffer as
load-on-demand, restoring it when it actually gets loaded, the way
saveplace.el works.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- [AUCTeX] preserving images, and image contrast, Rajneesh Hegde, 2005/06/02
- Re: [AUCTeX] preserving images, and image contrast, Jan-Ake Larsson, 2005/06/02
- Re: [AUCTeX] preserving images, and image contrast, David Kastrup, 2005/06/02
- Re: [AUCTeX] preserving images, and image contrast, Jan-Ake Larsson, 2005/06/02
- Re: [AUCTeX] preserving images, and image contrast, Rajneesh Hegde, 2005/06/05
- Re: [AUCTeX] preserving images, and image contrast, David Kastrup, 2005/06/05
- [AUCTeX] Re: preserving images, and image contrast, Rajneesh Hegde, 2005/06/07
Re: [AUCTeX] preserving images, and image contrast, Ralf Angeli, 2005/06/02