this post was submitted on 13 Nov 2023
1 points (100.0% liked)

Emacs

313 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

I do use desktop-mode to restore my tab and window layouts and loaded buffers. I also switch workplaces regulary and use different monitor layouts with different scaling factors.

It would be great to use dekstop save mode without saving/restoring frame postion and size.

I am aware of desktop-restore-frames but unlike it's name, at least on Emacs 29, setting this to #f also doesn't restore tab configuration and window layouts what I don't want.

top 2 comments
sorted by: hot top controversial new old
[–] 00-11@alien.top 1 points 1 year ago (1 children)

FWIW, setting something to #f in Emacs Lisp means you're setting it to TRUE, not FALSE. Elisp is not Scheme.

[–] JohnDoe365@alien.top 1 points 1 year ago

Oh, you caught a complete noob. Anyway, the point stands, disabling it through configuration also disables window layouts and tab configuration, something I like to keep