1 line
1.8 KiB
Plaintext
1 line
1.8 KiB
Plaintext
<!-- SC_OFF --><div class="md"><p>In NixOS, I have installed emacs:</p> <pre><code>$ emacs --version GNU Emacs 27.2 Copyright (C) 2021 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GNU Emacs under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. </code></pre> <p>What does it mean when I start its daemon:</p> <pre><code>$ emacs --daemon Warning: due to a long standing Gtk+ bug https://gitlab.gnome.org/GNOME/gtk/issues/221 Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. Warning (initialization): An error occurred while loading ‘/home/t/.emacs.d/init.el’: File is missing: Cannot open load file, No such file or directory, go-mode-autoloads To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the ‘--debug-init’ option to view a complete error backtrace. Starting Emacs daemon. </code></pre> <p>?</p> <p>I also feel that ~/.emacs.d/init.el isn't executed when I start the emacs, because I added <code>(desktop-save-mode 1)</code> in it, and when I exit and start emacs daemon again, it doesn't reopen the files that were opened when I exited it.</p> <p>Thanks.</p> </div><!-- SC_ON -->   submitted by   <a href="https://www.reddit.com/user/timlee126"> /u/timlee126 </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/raekv4/why_is_there_this_gtk_warning_and_not_loading/">[link]</a></span>   <span><a href="https://www.reddit.com/r/emacs/comments/raekv4/why_is_there_this_gtk_warning_and_not_loading/">[comments]</a></span> |