auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] reftex: visiting files


From: Ralf Angeli
Subject: Re: [AUCTeX] reftex: visiting files
Date: Mon, 25 Jan 2010 21:53:06 +0100

* Rasmus Villemoes (2010-01-25) writes:

> When using, for example, the "C-c =" feature or M-x
> reftex-search-document, files which are part of the current document
> are automatically opened if they don't already have a buffer. This is
> of course great, but I was wondering if there was a way to configure
> reftex so that the files are opened in read-only mode if the buffer in
> which the command was issued is read-only.

This cannot be configured.  (RefTeX simply calls `find-file-noselect'
when opening a file from the table of contents, for example.)  I don't
know how you made the original buffer read-only, but couldn't you do the
same with the files opened from the toc or with `reftex-search-document'?

-- 
Ralf




reply via email to

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