[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file
From: |
Ralf Angeli |
Subject: |
Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file |
Date: |
Wed, 20 Dec 2006 23:49:25 +0100 |
* David Kastrup (2006-12-20) writes:
> Ralf Angeli <address@hidden> writes:
>
>> Now when I check `pd-folding-done-p' with `C-h v', the local value I
>> can see when using `C-h v' in the LaTeX buffer is not there. Does
>> anybody have an idea why?
>
> (defun VirTeX-common-initialization ()
> "Perform basic initialization."
> (kill-all-local-variables)
Ah, right. Thanks for the help.
Then the following should work:
(setq pd-folding-done-p nil)
(make-variable-buffer-local 'pd-folding-done-p)
(put 'pd-folding-done-p 'permanent-local t)
(add-hook 'LaTeX-mode-hook (lambda ()
(unless pd-folding-done-p
(TeX-fold-mode 1)
(TeX-fold-buffer)
(setq pd-folding-done-p t))))
After that folding still behaves strange because an opened figure
environment does not get folded once you leave it with `C-p' or
`C-n'. It works more reliable with `C-f' and `C-b'. I'll try to have
a look at that ...
--
Ralf
- [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file, Patrick Drechsler, 2006/12/13
- Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file, Ralf Angeli, 2006/12/16
- Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file, Patrick Drechsler, 2006/12/20
- Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file, Ralf Angeli, 2006/12/20
- Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file, David Kastrup, 2006/12/20
- Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file,
Ralf Angeli <=
- Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file, Ralf Angeli, 2006/12/20
- Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file, David Kastrup, 2006/12/21
- Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file, Ralf Angeli, 2006/12/21
- Re: [Bug-AUCTeX] 11.83; folding, fontification and noweb ie Rnw file, David Kastrup, 2006/12/21