Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111878 - preview-latex makes emacs desktop restoration fail
Summary: preview-latex makes emacs desktop restoration fail
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Emacs project
URL: http://lists.gnu.org/archive/html/bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-08 07:51 UTC by Lars Petersen
Modified: 2006-11-06 05:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Petersen 2005-11-08 07:51:40 UTC
When you save several latex-mode buffers with the emacs command 'desktop-save'  
and later restart emacs, only one of the LaTeX buffers is loaded, whereas for  
all others, an error message ('1 buffer restored, ... buffers failed to  
restore') is issued. I experienced this with both preview-latex-0.8.1 and 
0.9.1. 

Reproducible: Always
Steps to Reproduce:
1. Start emacs with preview-latex enabled, i.e., (require 'preview) in 
your .emacs 
2. Load two or more *.tex files in latex-mode. 
3. Type M-x desktop-save RET. 
4. Quit emacs 
5. Restart emacs in the same directory 
 
Actual Results:  
One of the *.tex files is restored, the others are not. An error message 
appears. 

Expected Results:  
All buffers should be reloaded in latex-mode. 

The bug as well as a patch have been reported to, and apparently approved by,  
David Kastrup, author/maintainer of preview-latex. You can find it here:  
  
http://lists.gnu.org/archive/html/bug-auctex/2005-04/msg00006.html  
  
The patch uploaded by Ralf Angeli in that post fixed the problem for me.  
Unless you want to wait for a newer release of preview-latex, where this patch  
will probably already be included, you might consider incorporating it in your  
preview-latex-0.{8,9}.1.ebuilds.
Comment 1 Christian Schlotter 2006-01-17 07:53:15 UTC
preview-latex is now part of AUCTeX.  I guess this bug can be closed as soon as auctex-11.81 goes stable.
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-06 05:39:31 UTC
As it is an upstream issue, I close this bug, but I also open up a stabilisation bug for the newer AUCTeX