Interlisp / medley

The main repo for the Medley Interlisp project. Wiki, Issues are here. Other repositories include maiko (the VM implementation) and Interlisp.github.io (web site sources)
https://Interlisp.org
MIT License
376 stars 19 forks source link

NoteCards File Browser alters input when recomputing new pattern #1876

Open pamoroso opened 2 weeks ago

pamoroso commented 2 weeks ago

Describe the bug

In the NoteCards File Browser, when I recompute to connect to the new pattern {DSK}<home>paolo>il>webcard>*.notefile;*, the browser accepts and displays a pattern that differs from the input by 2 missing characters and a capitalized extension, i.e. {DSK}<home>paolo>il>webcard.NOTEFILE;* is shown.

This results in no matching files to be found even if present and I have to edit the pattern again to fix it.

To Reproduce

Steps to reproduce the behavior:

  1. on Linux, make sure the directory ~/il/webcard/ exists
  2. launch Medley
  3. click NOTECARDS
  4. with the File Browser, execute the Recompute > New Pattern menu command
  5. edit the suggested pattern to look like {DSK}<home>paolo>il>webcard>*.notefile;*, i.e. delete notefiles and type webcard

Expected behavior

The File Browser connects to the pattern {DSK}<home>paolo>il>webcard>*.notefile;*.

Screenshots

The default NoteCards File Browser pattern:

fb-recompute1

The pattern after Recompute > New Pattern:

fb-recompute2

The pattern after editing:

fb-recompute3

The resulting pattern:

fb-recompute4

Context (please complete the following information):

Additional context

The issue occurs only with the NoteCards File Browser and the webcard directory.