As in topic, emacs normally open files in instant, but when autosave (#filename#) exists, it takes about 1 sec to open file.

Any idea how to fix this without disabling autosaves? It doesn’t seem to be config problem since same happens with -Q flag.

  • materus@alien.topOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Yes, that’s it. I got answer for bug report:

    "This is a feature: we let the user see the message and wait for 1 sec
    after showing it, to make sure this particular message is not
    immediately replaced by some others.  From after-find-file:

          (when (and warn msg)
            (message “%s” msg)
            (or not-serious (sit-for 1 t))))
                            ^^^^^^^^^^^^^
    (The value of not-serious is nil in this case.)

    This is not a bug."

    • noooit@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Wow, this is really dumb in a single threaded event driven code base. I hope they replace with some popup or equivalent.