auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Re: ESS, AUCTeX, S/Rweave (noweb) and mode switching


From: Brett Presnell
Subject: Re: [AUCTeX] Re: ESS, AUCTeX, S/Rweave (noweb) and mode switching
Date: Sat, 08 Mar 2008 13:21:09 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Michael Hoffman <address@hidden> writes:

> I recommend this instead as it will not deactivate the mark when
> changing modes:
>
>   (add-hook 'noweb-select-doc-mode-hook
>             '(lambda ()
>                ; avoid infinite loops
>                (unless (boundp 'in-noweb-select-doc-mode-hook)
>                  (let* ((in-noweb-select-doc-mode-hook t)
>                         ; don't deactivate the mark when changing modes
>                         (deactivate-mark))
>                    (TeX-normal-mode t)))))
>
> I do not have any problem with the Noweb menu disappearing.

Thanks for the quick response Michael.  FTR, I tried your code, but I
still have the problems as with my less careful version.  It is
interesting (but frustrating) to hear that you do not have any problem
with the Noweb menu disappearing.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]