Questions tagged [customization]

50 questions
25
votes
5 answers

How to disable line wrapping in Spacemacs?

I have limited emacs experience. Tried to find a solution to disable line wrapping in Spacemacs but couldn't find any. The solution to this problem in Vim is to execute set nowrap. But it's not working in Spacemacs. Any solution to this would be…
Vamsee
  • 353
  • 1
  • 3
  • 5
12
votes
1 answer

Why is defgroup useful?

I'm reading the ido source and see: (defgroup ido nil "Switch between files using substrings." :group 'extensions :group 'convenience :version "22.1" :link '(emacs-commentary-link :tag "Commentary" "ido.el") :link '(emacs-library-link :tag…
djechlin
  • 923
  • 8
  • 21
12
votes
2 answers

Emacs always ask to trust colour theme at startup

My Emacs always prompts me if it should trust selected colour theme or not. I always answer y and y to trust and remember my choice. I'm loading colour theme manually: (load-theme 'my-favourite-theme) I suppose this is because easy customizations…
Geradlus_RU
  • 625
  • 7
  • 17
6
votes
1 answer

How to customize emacs toolbar?

Let say I want to add a Toolbar icon to emacs which when clicked should "Select all" text in the current window. We know for selecting text we can use M-x mark-whole-buffer. How can I use this command to make emacs toolbar icon?
Eka
  • 173
  • 1
  • 7
6
votes
1 answer

How do I customize the way Emacs prints out certain keys and key sequences?

For example, I want Control key to be displayed not as C but as ⎈ (U+2388 HELM SYMBOL) in the minibuffer. Trying to personalize my Emacs and display all function keys as ISO symbols. And sequences to be displayed as something like ⎈ + x, ⎈ + f. Is…
GUEST
  • 63
  • 2
5
votes
2 answers

Customizing the line separating windows

After % emacs -q (split-window-right) (scroll-bar-mode 0) (fringe-mode 0) there is still a pixel-wide line separating the two windows. What is this line called, and how can I change its width and colour? Can I replace it with a character such as…
Toothrot
  • 3,204
  • 1
  • 12
  • 30
4
votes
0 answers

How to modify the standard value of an customization option

Assume a library has some customizable option my-option with a list of values: (unintern "my-option" obarray) (defcustom my-option '(first second third) "Option with a list of values." :type '(repeat symbol) :group 'my-group) (provide…
Tobias
  • 32,569
  • 1
  • 34
  • 75
4
votes
2 answers

Cherry-pick columns to display in Dired or Dired+

I would like to customize the amount of detail displayed in Dired. Basically I would like to cherry-pick the "columns" to display. More precisely, I would like to hide the "owner group" information. So instead of this: drwxrwxrwx 1 fgeorges…
Florent Georges
  • 203
  • 1
  • 7
4
votes
2 answers

Shifting Emacs Theme from one Computer to Another

I am a little new to emacs and have managed to get the color theme to my liking. However, I want to be able to use the same theme on a different machine and have been struggling to get it to work. I used M-x color-theme-print, to extract the…
mark_ub
  • 41
  • 2
4
votes
1 answer

Different fonts for different Emacs' windows

Usually I have two windows vertical split layout when using Emacs. I'm curious is it possible to change default font size for one of them? Typically, I use 14 points font height with 80 columns limit, when windows have same width this gives no line…
Geradlus_RU
  • 625
  • 7
  • 17
4
votes
1 answer

Is it possible to fill Emacs' window background using CSS rules?

Is there some way to fill background of Emacs' windows (not frames) using some CSS rules rather than one solid color? Solid color fill is very unnatural for eyes (at least of mine). There is an amazing cicada principle1 in the wild, and it will be…
Geradlus_RU
  • 625
  • 7
  • 17
3
votes
3 answers

Which key prefix is left for user defined bindings?

C-h b shows the key bindings. But I can not see, which prefix is left for my own functions. Is any prefix reserved for user bindings?
ceving
  • 1,308
  • 1
  • 14
  • 28
3
votes
1 answer

php-mode overwrites c-basic-offset customization, how can I set it to my preferred value?

GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) PHP-Mode: https://github.com/emacs-php/php-mode, Version: 1.21.1 I customized c-basic-offset to 2. When I open a php-File, php-mode is automatically invoked (by (add-to-list…
Andreas H
  • 61
  • 4
3
votes
1 answer

How to "swap" only the numerical row of a keyboard inside Emacs?

My question is: when I am editing (La)TeX code, regularly I need to type the famous dollar signs in order to put mathematical code ($x^2+y^2=z^2$), a very frequent thing indeed. Therefore, I would like to change the keyboard input inside Emacs…
3
votes
2 answers

Can I set a custom face conditionally?

Apparently the correct way to set the default font is the following: (custom-set-faces '(default ((t (:family "Raize" :foundry "raster" :slant normal :weight normal :height 120 :width normal))))) But it's not portable, that means I…
Daniele
  • 637
  • 1
  • 5
  • 14
1
2 3 4