auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Reftex (auctex?) and clone-indirect-buffer


From: Igor Sosa Mayor
Subject: Re: [AUCTeX] Reftex (auctex?) and clone-indirect-buffer
Date: Fri, 12 Dec 2014 12:57:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Tassilo Horn <address@hidden> writes:

> The problem is that in an indirect buffer, `buffer-file-name' is nil and
> the function of the same name also returns nil but reftex requires that
> it returns a file name.  (I have no idea why indirect buffers don't have
> the file association of their base buffer...)
>
> It's possible to check if we're in an indirect buffer and if so use the
> base buffer's buffer-file-name, so reftex could be made functional in
> indirect buffers.  But I'm currently not sure about possible
> consequences.
>
> For the time being, you can use this piece of advice which makes
> `buffer-file-name' return the base buffer's buffer-file-name in buffers
> where reftex is active.

thanks! I will give it a try!

-- 
:: Igor Sosa Mayor     :: address@hidden ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/      ::
:: jabberid: rogorido  ::                            ::




reply via email to

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