Questions tagged [frame-parameters]

8 questions
3
votes
1 answer

How to include name of current tab and its buffer in the frame title?

I would like the title my frames to show ": ". Presently, frame-title-format has its default value of %b, which shows only the name of the buffer in the selected window. There does not appear to be a…
midas0441
  • 304
  • 1
  • 7
2
votes
1 answer

emacs starts in extremely tiny window

Emacs has been starting up in an extremely small window for some reason. The text size is normal, but the window is something like 3 lines tall x 10 chars wide. Of course I can use my mouse and just resize the window, after which it works totally…
xdavidliu
  • 143
  • 8
2
votes
3 answers

Save/Restore Position and Size of Last Closed Frame

Say there're 3 frames Fa Fb Fc. Then I closed Fa Fc, Emacs needs to remember nothing; instead, Fb is the one that needs to be saved its parameters, because it's the only frame on the desktop. Then I close Fb; now Fb is the last closed frame and…
shynur
  • 4,065
  • 1
  • 3
  • 23
2
votes
1 answer

How does Emacs decide whether a frame's background-mode is light or dark, and how can I affect the decision?

I am finding that in some cases (e.g. when TERM=xterm-16color), the expression (frame-parameter nil 'background-mode) ...evaluates to light when it is in fact a dark background. How does Emacs decide the value of a frame's background-mode at…
kjo
  • 3,145
  • 14
  • 42
1
vote
1 answer

Setting position of initial frame from user defined values

I would like to set the frame position of the initial frame, by letting the user position the frame where he wants. I can then save the cons cell in a variable which will then be used for set-frame-position. Have started part of the…
Dilna
  • 1,173
  • 3
  • 10
0
votes
0 answers

emacsclient popup frame is hidden when no window is shown

I am trying to use emacs as a popup selector with fuzzy matching, it only works when the focus is on a window or a panel, the frame doesn't pop up when all windows are minimised, and the desktop area is clicked, ie. when focus is on the desktop. The…
godblessfq
  • 1,177
  • 8
  • 21
0
votes
2 answers

Customisation for comment delimiter colour based on light or dark theme

I would like to adapt the emacs customisation for comment delimiter colour to change according to light or dark background. How is this customarily done? (defun annot () "Customisation for comments" (set-face-attribute 'font-lock-comment-face…
Dilna
  • 1,173
  • 3
  • 10
0
votes
1 answer

Why don't my frame titles update?

I run Emacs 27.1 on my MacOS MBP and use desktop-mode. After starting emacs (with frames re-created by the desktop restore), the frame titles are wrong and seem to remain wrong until I do something like evaluate (set-for 0) in each frame. Anyone…
Colin Fraizer
  • 740
  • 4
  • 12