Macaulay2 / M2-emacs

Macaulay2 emacs files
GNU General Public License v3.0
5 stars 3 forks source link

No input prompt after calling infoHelp when no info page available #56

Closed d-torrance closed 5 months ago

d-torrance commented 5 months ago

This is a minor bug I think I introduced in #51. Suppose a documentation node exists, but there isn't a corresponding info page, perhaps because we haven't installed the package yet. And suppose we try to call infoHelp for this node:

i1 : newPackage "Foo"

o1 = Foo

o1 : Package

i2 : document {Key => "foo"}

o2 = HashTable{Description => {}        }
               DocumentTag => Foo :: foo
               "filename" => stdio
               Key => foo
               "linenum" => 3

o2 : HashTable

i3 : infoHelp foo

Emacs raises an error (error in process filter: Info file ‘foo’ does not exist; consider installing it) and we never get an i4 : prompt.