Skip to main content
Share Your Experience: Take the 2024 Developer Survey
4 votes
Accepted

Problem with packages when emacs is run as a daemon

I have had similar issues in the past, and they have always been due to differences in the environment between my interactive shell and the startup scripts. I solved this by ensuring Emacs is always ...
Peder Klingenberg's user avatar
2 votes

Set an Elisp var on the command line and read it in the init file

As I did not get the top voted answer to work (I suppose I have to write additional code to read out the defvar variable) I use environment variables First I did create a wrapper batch or bash file: ...
1u1u's user avatar
  • 21
2 votes

emacs starts in extremely tiny window

I faced similar problem with emacsclient. I have Gnome keyboard shortcuts to open certain buffers, and after some upgrade Emacs was opening in a tiny window. To workaround it I'm calling emacsclient ...
rcheleguini's user avatar
2 votes

emacs starts in extremely tiny window

Add this line to your Emacs' configuration file (located at ~/.emacs.d/init.el), it should maximize any new frame open : (add-to-list 'default-frame-alist '(fullscreen . maximized)) Or if you want ...
Thibault Cimic's user avatar
2 votes

emacs starts in extremely tiny window

I'm facing similar problems and posted my experience on https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67654 but no progress on this, it's frustrating. the workaround that works for me is (add-to-list '...
Paul Zinn-Justin's user avatar
2 votes

How do I start non-GUI Emacs on the commandline?

emacs -nw will do that. man emacs says: -nw, --no-window-system Tell Emacs not to create a graphical frame. If you use this switch when invoking Emacs from an xterm(1) window, ...
Geremia's user avatar
  • 171
1 vote
Accepted

How can Emacs evaluate a variable before adding to a list?

[Not an answer: just an attempt at elucidating what is going on.] AFAICT, there is no reason for using backquote/comma here: that's useful when you want to quote some expression so that it does not ...
NickD's user avatar
  • 30.5k
1 vote

emacs starts in extremely tiny window

Started happening to me recently as well (recent debian, wayland, gnome). Super annoying. I added this to .emacs to fix it: (add-hook 'after-make-frame-functions (lambda (frame) (...
user2501488's user avatar
1 vote
Accepted

Load default.el configured by libraries but not the user's init.el

C-hig (emacs)Init File says: ‘default.el’ ... is loaded whenever you start Emacs (except when you specify ‘-q’). But your init file, if any, is loaded first; if it sets ‘inhibit-default-init’ non-‘...
phils's user avatar
  • 51.5k
1 vote

Customize startup screen text

To make arbitrary changes to the main text of the fancy splash screen: M-x find-variable RET fancy-startup-text RET Copy the definition of fancy-startup-text (M-hM-w ought to do it). Paste this into ...
phils's user avatar
  • 51.5k

Only top scored, non community-wiki answers of a minimum length are eligible