Questions tagged [customize]

Use this tag for questions about modifying a particular action or task within Emacs.

Filter by
Sorted by
Tagged with
0
votes
2answers
291 views

Emacs and plugins [closed]

I am a vim user for about 2 years and a feel a little out of place here. :) I've also used emacs and very much fond of it, but I am comfortable with vim and getting to the same level in emacs will be ...
3
votes
1answer
1k views

org-mode latex and pdf export custom title

I'm using the latest org-plus-contrib package from the org ELPA archive under emacs 24.5 (Linux and OSX). I needed to have a custom title which includes a logo PNG in documents I export from org to ...
6
votes
3answers
351 views

Avoid following link when using org-return-follows-link and point is at end of line

The option org-return-follows-link is wonderfully convenient except when the point is at the end of the line where the intention is usually to insert a carriage return. What's the best way to change ...
3
votes
2answers
361 views

Display all setq possibilities

When I install a new package, more often than not there are variables that I can set - to customise the package. I love customisations, which is why I use Emacs in the first place. For example, I ...
1
vote
1answer
72 views

How to sync customize interface with external config file?

I would like to have an interface in customize for a package I'm writing. Whenever I set the values it should update an external config file, too. So the values should be saved in the emacs custom ...
2
votes
1answer
185 views

How to make the init file compatible with X and console at the same time?

I have customized the .emacs file a little to suit my taste, and it works fine when run in its own window. But when I try to run it in my terminal using the command emacs -nw, it throws up the ...
4
votes
1answer
111 views

how to not save duplicate information in Customize?

On a fresh install of emacs, I loaded my personal init files with all my custom lisp code. Then I changed one setting using the Customize interface and saved my changes. But in the custom.el file, ...
2
votes
2answers
1k views

How to enable ido-completing-read correctly

So there is ido-completing-read that seems perfect to assign to completing-read-function. There is no customization interface though. How is the user supposed to enable ido-completing-read for all ...
6
votes
1answer
2k views

How do you change the text cursor height and thickness?

I would like to change the shape of the cursor to something like the following image: It's a bit taller and thicker than the default one. How do I do that?
0
votes
2answers
902 views

whitespace-mode doesn't show the space characters

I need to see the space characters but I can't set it for the life of me. I went to customize the Whitespace Display Mapping and this is what I found. Notice that the mapping for the space is set to ...
3
votes
2answers
1k views

How can I override initial-buffer-choice if I specify a filename at command line?

In my .emacs file I have the following line in custom-set-variables: '(initial-buffer-choice "~/Programming/C++/<some project I'm working on>") This works great. However, I use emacs to edit ...
0
votes
0answers
78 views

Variable-pitch font has stopped rendering correctly

For some reason, variable-pitch fonts have stopped rendering correctly. They previously worked fine, but something seems to have changed (though nothing in my .emacs has changed). I am using OS X 10....
7
votes
1answer
2k views

Create a file link in org-mode that accepts spaces in the text

My org file looks something like this: * Space Radiation ** Gamma Ray Info - file://Library\March 2015\Gamma Ray Radiation Fundamentals.pdf - some notes However the title has spaces so the ...
0
votes
1answer
42 views

What is the “customize” feature associated with defcustom and used in projectile.el?

Asking this question because it's really hard to Google "emacs customize" and get to the feature. From the defcustom documentation: You can specify variables using defcustom so that you and ...
1
vote
1answer
853 views

How can I insert a link from one org file into another?

This is probably simple and I've been trying to develop some lisp skills but I'm completely stumped. What I'm trying to do is insert a link in one file every time a TODO state change occurs (probably ...
1
vote
2answers
175 views

how to disable vertical auto-centering of cursor [duplicate]

I recently had my Ubuntu Linux upgraded to 14.04, and my emacs got upgraded to 24.3.1 in the process. I noticed that it scrolls by itself. I finally realized that it automatically centers the cursor ...
3
votes
2answers
853 views

How can I disable “q” in normal state in evil for some modes?

I'm using Spacemacs. I noticed that in help-mode, q quits, which is exactly what I want. However, in certain other modes, customize-mode, for example, q is bound to evil-record-macro. (I set it to ...
1
vote
1answer
828 views

Why is emacs saying my theme is undefined?

I'm pretty new to emacs customization and lisp, so I don't really know how to debug this problem. I'm trying to install a custom theme. Here's a link to the .el file. The theme's load-path is set ...
9
votes
1answer
2k views

How can I add a new colon-command to Evil?

evil-mode introduces vim-style colon commands (such as :wq to save and close). I have a few commands (such as kill-buffer, org-babel-tangle) that I'd like to be able to run through this instead of ...
10
votes
2answers
3k views

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)...
2
votes
0answers
424 views

.dir-locals.el isn't recognized

I am working on a project that includes some configuration in .dir-locals.el: ((c++-mode . ((compile-command . "cd ../../\; ./build.sh")))) This gets picked up just fine for me and sets the ...
0
votes
2answers
148 views

Is there a way to modify or redefine a type of org-link locally?

I am searching for the best strategy to define custom behaviour for file: org-links locally to a buffer. Is there a way to modify or redefine this type of org-link ?
5
votes
1answer
2k views

Where is the default color / custom theme defined?

When you start Emacs with emacs -Q, there appears to be some sort of default color scheme. Where are these colors defined? The default theme does not show up with M-x customize, nor can I find it in ...
1
vote
1answer
896 views

Use spaces instead of tabs with use-package

This is more or less a question of putting the answer from Make web-mode always indent with spaces into the use-package declaration. I want to set tab indent to 2 spaces, and use the spaces ...
4
votes
1answer
988 views

Enable any outline mode for markdown

First of all, from http://www.emacswiki.org/emacs/AllOut: Allout outline mode is part of GnuEmacs. Allout outline mode provides extensive outline formatting and manipulation beyond standard ...
0
votes
1answer
448 views

Remove linebreak arrow and move last word to next line

When I write text in the emacs editor and the text reaches the right border of the program, emacs continues on the next line and puts an arrow on both sides of its borders. I want to know if its ...
3
votes
3answers
196 views

Running out of L:/ etters: shortcut for path needed

I'm working with files which are stored on a server. The structure on the server is: //SBS/share/path/to/somewhere/2007/ //SBS/share/path/to/somewhere/2008/ //SBS/share/path/to/somewhere/2009/ ... //...
0
votes
1answer
111 views

How to redefine the allout prefix keybinding

The allout mode document says, We recommend customizing allout-command-prefix to use just \C-c as the command prefix, if the allout bindings don't conflict with any personal bindings you have ...
5
votes
1answer
112 views

Specify the order in which `defcustom`s are presented in the Customize UI?

I have an Emacs mode. It has a defgroup and a number of defcustoms. Let's say: (defgroup some-group nil "Some group" :prefix "prefix-" :group 'languages) (defcustom some-option-1 t "Option 1"...
0
votes
1answer
42 views

How can I keep Customize value menus from running too long to select?

I've been trying to set org-babel-load-languages using Customize in Cocoa Emacs 24.4 (and using Emacs in a text console). When I click INS then Choice: Value Menu, I get a widget-choose buffer with ...
9
votes
1answer
7k views

How can I prevent GNU Emacs from splitting windows on startup?

Whenever I try to open an existing file with GNU Emacs, the window always split horizontally so as to show two buffers: one buffer containing the file and the GNU Emacs buffer. How can I set up Emacs ...
1
vote
1answer
720 views

js2-mode customizations not applying

No matter what I do, the customizations I apply to js2-mode are not going into effect. The mode is on and working, but with default settings. I've tried changing the default-tab-width to 2 and ...
6
votes
2answers
361 views

What does customize: Set for Current Session do?

I have a variable that I want to switch between two different values and have it apply for the whole session. I'm able to do this using M-x customize-variable and picking "Set for Current Session". ...
0
votes
1answer
548 views

Emacs ZNC-ERC: How to make Customize save my preferences for all sessions

I am setting up my ERC client to connect to my ZNC IRC proxy server, and I am following this Emacs wiki. At the following step: ;; Configure M-x customize-group znc RET I am in the Emacs customize ...
7
votes
2answers
122 views

How can I make customize use single quote for quotation?

Is it possible to teach customize to save its variables using single quote ' instead of quote? Example: … '(package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("...
5
votes
2answers
858 views

Detecting variable changed outside customize

I have used "Customize" to set a value for semantic-lex-c-preprocessor-symbol-file. However, after loading up .emacs, this isn't the value I see. On opening up the "Customize" menu for this variable, ...
20
votes
2answers
4k views

How can I get undo behavior in Evil similar to Vim's?

The default undo behavior in Evil is too coarse-grained because it considers anything taking place between entering insert mode and leaving it as one edit operation. When you enter a whole paragraph ...
10
votes
1answer
1k views

How to customize syntax highlight for just a given mode

I would like to change the syntax highlighting in my lua-mode.el without affecting other major modes. Just as an example, I would like "key words" like if, then, else to be in bold and blue typeface ...
7
votes
5answers
986 views

Highlight \n and %s “inside” strings

Is it possible for Emacs to highlight backslash escape (e.g. \n) and format keyword (e.g. %s) inside string, without messing up current modes' faces? Like this:
9
votes
3answers
2k views

Dired: only reuse buffer for directories

To prevent creation of a buffer every single time I enter a directory in dired I use this: (put 'dired-find-alternate-file 'disabled nil) My problem now is that when I visit a file from dired ...
1
vote
1answer
189 views

Emacs dot files & packages List for user switching from sublime and not founding a starter kit tailored for them [closed]

I'm trying to be able to answer to "sublime users" using a curated list of package, if not a working emacs config (like prelude or starter-kit does), but couldn't find any list or dotfiles for that on ...
1
vote
2answers
248 views

Choosing files and directories from widgets

I'm looking for the most convenient way to set up a Customize options page to enter a set of directories and then select one of those directories and one file in the selected directory (if possible, ...
5
votes
1answer
315 views

In table-mode, how do I change the face used for cells?

If I make a table (with M-x table-insert), the background color is a dark blue, and the text color is a light grey. I'd like to make the face different, but I'm not sure what face I need to change. ...
9
votes
2answers
1k views

Can I change the background color of the inactive minibuffer?

I tried it with the following settings: (add-hook 'minibuffer-setup-hook (lambda () (make-local-variable 'face-remapping-alist) (add-to-list 'face-remapping-alist '(default (:...
11
votes
2answers
1k views

Make Buffer List take focus?

How can I make it so that when I press C-xC-b to access the Buffer List that that buffer automatically takes focus instead of having to switch to it manually with C-xo? I can't find a variable that ...
9
votes
2answers
2k views

How can I fill the entire line number bar with a custom background color?

In the screenshot below I have simply set the background of the linum face to some color, however there is a blank region at the end of the buffer and there are gaps between the lines when line ...
17
votes
3answers
2k views

Set column widths in `ibuffer`

Is there a way to customize the widths of the columns in ibuffer? Specifically, I want to widen the Name column to be able to read more of the buffer names before they get truncated. I have tried ...
15
votes
5answers
8k views

How to Change size of split screen emacs windows?

If I have Emacs split horizontally and on top I'm editing elisp code and on the bottom I am in the shell. By default, Emacs makes the two windows equal in size, but I'd like the shell buffer smaller. ...
31
votes
2answers
20k views

How to change the cursor type and color?

I would like to change the cursor, like in Terminal, from the block to the I-Beam cursor. From this: To this: How would I do this? Also, on a side note, how do I change the color of the cursor?
17
votes
3answers
716 views

describe-face character not under / unreachable by the cursor

I like using a combination of describe-face and customize-face to adjust the appearance of my working environment. Sometime this workflow fails when I want to change the face of a location I can not ...

1 2 3
4