• 0 Posts
  • 30 Comments
Joined 1 year ago
cake
Cake day: October 8th, 2023

help-circle




  • I don’t use use-package, but I’ve seen a lot of questions from users who do use it but don’t understand how to use it, or what it’s going to expand to, or what the things that it expands to actually do. My conclusion has been that for some users it introduces as many problems as it solves. I think those users would be better off if they learned how to manage their config without it first, and only considered use-package after understanding the more fundamental building blocks upon which it is built.

    It’s certainly not something you need to use, in any case. It’s clearly an invaluable system to many users, but if you don’t get along with it, don’t use it.










  • 7890yuiop@alien.topBtoEmacs@communick.newsEmacs on XQuartz
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    For details, see etc/PROBLEMS

    I trust you did that.

    * Crash bugs
     
    ** When Emacs is compiled with Gtk+, closing a display kills Emacs.
     
    There is a long-standing bug in GTK that prevents it from recovering
    from disconnects: https://gitlab.gnome.org/GNOME/gtk/issues/221
     
    Thus, for instance, when Emacs is run as a server on a text terminal,
    and an X frame is created, and the X server for that frame crashes or
    exits unexpectedly, Emacs must exit to prevent a GTK error that would
    result in an endless loop.
     
    If you need Emacs to be able to recover from closing displays, compile
    it with the Lucid toolkit instead of GTK.
    

    Which means using ./configure --with-x-toolkit=lucid when building Emacs from source.

    If you’re not currently building Emacs from source then that will be a new adventure, but if you keep a log of everything you needed to do on your system to achieve that then you’ll have a record (which you could always convet to an executable script) for building it in future without any hassle.




  • Interesting. I’m still just guessing, but I notice that you’re using relative line numbers which means that there’s a potential difference between the amount of space needed to show the relative line number vs the absolute line number, and that might explain the shift in display. Can you reproduce this when using absolute line numbers? If not, that seems to narrow down the trigger scenario, which will be helpful information for an upstream bug report.