auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] reftex-untie-multifile-symbols


From: Ralf Angeli
Subject: [AUCTeX-devel] reftex-untie-multifile-symbols
Date: Tue, 30 Dec 2008 23:44:43 +0100

Hi,

the referencing style settings are now stored in
`reftex-docstruct-symbol' in order to make them specific to and
available for all files of a document.  However, non-permanent settings
made during an Emacs session are not cleared when RefTeX is reset.

Because the function `reftex-tie-multifile-symbols' is used to
initialize some of the properties put on the symbol behind
`reftex-docstruct-symbol' (the index macros and now also the referencing
styles), I thought the function `reftex-untie-multifile-symbols' would
be the way to get rid of the old settings.  But the function only sets
`reftex-docstruct-symbol' to nil.  If `reftex-tie-multifile-symbols' is
called again, the old symbol associated with the master file will be
tied again to `reftex-docstruct-symbol', i.e. the old settings are back.

Should `reftex-untie-multifile-symbols' perhaps also remove the entry in
`reftex-master-index-list' associated with the current master file?

Note that the function is currently not used anywhere, but as mentioned
above it might be useful when resetting the mode.

-- 
Ralf





reply via email to

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