Skip to content

Code corrupted in SEdit #1708

@pamoroso

Description

@pamoroso

Over the past week or so, in two cases SEdit apparently corrupted the code of functions I was editing. Here is what happened in both cases.

After editing a Common Lisp function for some time, I executed the Done command by pressing Ctrl-X in SEdit. Then at a XCL Exec I called the function to test it but the calls didn't seem to do anything despite the function containing several expressions. However, the still open SEdit showed the full code.

In the first occurrence of the issue I saved the program with MAKEFILE, examined the file with SEE, and only the first one or two sexps showed up in the function. I can't remember how many sexps.

The issue happened a second time when editing this function of Insphex:

corrupted-sedit-code

This is what the function looked like shortly before and after the corruption. I took the screenshot after pressing Ctrl-X in SEdit and evaluating a few test calls. The calls returned just the docstring and did nothing else. Printing the function with PP at an Exec confirmed the function contained only the docstring despite SEdit still showing the full code as in the screenshot

Both times I didn't lose any work and retyping the code was just a minor inconvenience, as the functions were short and I had taken screenshots. And in both cases I'm positive I didn't delete any code or do anything that could result in the code being changed.

I can't reproduce the issue, so this is a heads up in case you notice anything unusual. I use Medley Online 2024-04-22 02:03:43.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions