trying to fix

This commit is contained in:
Chris Cochrun 2022-01-03 12:41:35 -06:00
parent fa407dfeb6
commit e013d7569e
22945 changed files with 447936 additions and 0 deletions

View file

@ -0,0 +1 @@
<!-- 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&#39;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&#39;t reopen the files that were opened when I exited it.</p> <p>Thanks.</p> </div><!-- SC_ON --> &#32; submitted by &#32; <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> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/raekv4/why_is_there_this_gtk_warning_and_not_loading/">[comments]</a></span>