38
votes
Accepted
How to change the frame title from `emacs@host` to visited file name
The file name as frame name
(setq-default frame-title-format '("%f"))
The file name and the major mode as frame name (my conf)
(setq-default frame-title-format '("%f [%m]")...
9
votes
How to change the frame title from `emacs@host` to visited file name
Make emacs' window title show path of the current file:
(setq-default frame-title-format
'(:eval
(format "%s@%s: %s %s"
(or (file-remote-...
4
votes
Emacs 26.1 RC1 display issues over SSH/X11 with xming/vcxsrv
Emacs 26 by default switches on double buffering for X servers when it finds the Xdbe header on the build machine. (See Emacs 26 release notes at the GitHub mirror.) Some X servers don’t support this. ...
4
votes
Accepted
Can I take vector (SVG) screenshots of Emacs?
It's possible in Cairo builds, which are now the default on GNU/Linux!
(x-export-frames FRAMES TYPE)
Return image data of FRAMES in TYPE format.
FRAMES should be nil (the selected frame), a frame, or ...
3
votes
Command to invoke menu-bar's open-file?
find-file uses the minibuffer or the GTK+ dialog depending on what next-read-file-uses-dialog-p returns. So you can force the dialog by overriding this function:
(defun vf-find-file-with-dialog ()
(...
2
votes
Can I take vector (SVG) screenshots of Emacs?
According to the documentation Gtk+ widgets in Emacs are:
menus,
dialogs,
tool bars and
scroll bars
Buffers are rendered by Emacs itself. Neither the buffer nor the lines in a buffer are Gtk+ ...
2
votes
Accepted
The status of Xwidgets and webkitgtk?
Originally the feature relied on webkit1gtk, this made it unacceptable for distributions as it continued to accumulate security vulnerabilities that didn't get patched. Some even got rid of the ...
1
vote
Can the menubar and scrollbar be customized?
Barring any other answers, which are endemic to Emacs, I actually found one way to change the theme per app:
GTK_THEME=<your_theme> emacs
This will launch Emacs with the specified theme, ...
1
vote
Accepted
Emacs transparent after fresh install
Welcome Soap!
This seems unrelated to Emacs. I guess it could be related to your window manager (AwesomeWM), some kind of X11 compositor like Compton or the configuration files associated with those.
...
1
vote
Emacs 24.3 and 26.3 scrollbars refuses to move up if not moved up immediately, on various OS's and X-servers
Aha, I figured it out. It's a new feature (or "feature", depending on your outlook) of Gtk 3. I haven't found any mention of it in the documentation yet, but here's an article from a Gtk ...
1
vote
Preload problem: Emacs as daemon in X
Don't use all those options at once; some of them are doing incompatible things:
--debug-init loads emacs, and stops with a stack trace if it encounters a problem. If it's in daemon mode, you won't ...
1
vote
Accepted
Cannot generate previews with latex-preview
I have the exact same problem, error message and symptoms on a system running Arch Linux (kernel 5.3.7-arch1-1-ARCH), texlive 2019, Emacs 26.3 (build 1) and auctex 12.1.2. Everything is updated ...
1
vote
Accepted
How to avoid a dialog box for input (e.g. "Open File" behavior)?
I'm not sure what you're asking, but maybe this is it.
If option use-dialog-box is non-nil, and if you use the mouse to invoke a command that asks you for some input such as a file name, then Emacs ...
1
vote
Command to invoke menu-bar's open-file?
You ask about initiation of the selection by M-x. I don't know whether there is a simple way to cause use of the dialog box even when you do not use a menu or tool-bar button (typically initiated with ...
1
vote
Accepted
Emacs hang after installing GTK3 in windows 7
Oh, I just saw the "Answer your question" Button. So I copy the above solution in my comments here.
To use gtk3 with emacs under microsoft windows (7 at least): One has to use the image ports from ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
gtk3 × 24x11 × 3
key-bindings × 2
fonts × 2
themes × 2
customize × 2
start-up × 2
find-file × 2
emacs26 × 2
rendering × 2
auctex × 1
debugging × 1
microsoft-windows × 1
frames × 1
faces × 1
ssh × 1
elpy × 1
doom × 1
linux × 1
mouse × 1
preview-latex × 1
bash × 1
input-method × 1
emacs-daemon × 1
gui-emacs × 1