Skip to content

tex argument handling gets "error skipping s-expressions at point" if argument looks like a URL and includes "list" #674

@boyland

Description

@boyland

The problem is that tex arguments that have a certain form cause ispell to crash with a "Error skipping s-expressions"

Here's how to duplicate the error. Put the following a buffer (say for test.tex):

Hello

\url{https://lists.nongnu.org/archive/html/emacs-devel/2024-08/msg00955.html}

\foo{xtp:foolissy.com}

\foo{xtp:foolisty.com}

\foo{foolisty.com}

Bye

Then run "ispell-buffer". It will give errors on the \url argument and the second \foo argument. By error, I mean that it prints "Error skipping s-expressions at point N" and then beeps and waits a second or two and then continues.

It ignores the first call of \foo (not sure if that is a bug or not -- I don't care) and
It (correctly) finds a spelling error on the third \foo argument.

With some testing, It appears that the bug is activated if a tex argument looks like a URL (has name "colon" text "dot" name) and includes the letters "list" in this order.

Version: @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.8.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions