Thanks for the help. I tried to close the bug report myself, as I noticed there 
were more recent ways to do what I wanted that did work with the new AUCTeX, so 
yes, do please close the bug report.

Best,

Richard


> On Jan 20, 2021, at 2:08 AM, Tassilo Horn <[email protected]> wrote:
> 
> Ikumi Keita <[email protected]> writes:
> 
>>> You are right, see (info "(auctex) Changes").  I think the following
>>> definition should work in auctex 13:
>>> (defun skim-make-url ()
>>>  (concat
>>>   (TeX-current-line)
>>>   " \""
>>>   (expand-file-name (TeX-active-master (TeX-output-extension) t)
>>>                  (file-name-directory (TeX-master-file)))
>>>   "\" \"" (TeX-active-master t) "\""))
>> 
>> Doesn't this make difference at region typeset?  The original
>> `(buffer-file-name)' returns the (La)TeX file name such as "mydoc.tex"
>> while `(TeX-active-master t)' returns "_region_" at C-c C-r.
> 
> Yes, you are right.  So Richard, this should be equivalent to what
> you've user previously:
> 
> (defun skim-make-url ()
>  (concat
>   (TeX-current-line)
>   " \""
>   (expand-file-name (TeX-active-master (TeX-output-extension) t)
>                    (file-name-directory (TeX-master-file)))
>   "\" \"" (buffer-file-name) "\""))
> 
> Please report back if it works so that we can close the bug accordingly.
> 
> Bye,
> Tassilo




_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to