Hongyi Zhao <[email protected]> writes:

> Then I try to test auctex with the following LaTeX sample file:
>
> %% LaTeX sample file
> \documentclass{paper}
> \usepackage{hyperref}
> \begin{document}
> See
> \href{http://www.fulviofrisone.com/attachments/article/480/Ballentine%20L.%20Quantum%20mechanics%20-%20a%20modern%20development%20(1998)(T)(673s).pdf}{page
> 98}
> \end{document}
> %% LaTeX sample file ends here
>
> When I put the point after the `{page 98}' and hit RET, the LaTeX file
> will be automatically completed into the following:

RET doesn't suffice for me but when I fill that paragraph, I get the
same symptom.

> Any hints for this problem?

That's because the URL contains % and therefore looks like a "code
comment" to auctex, e.g.

  \some\latex{code}% And some comment bla bla bla bla...

which would be properly filled as

  \some\latex{code}% And some comment bla bla bla
                   % ...bla...

Of course, here it is wrong.

I don't see what we could do here, unfortunately.  But please file a bug
report (M-x TeX-submit-bug-report RET).

Bye,
Tassilo

Reply via email to