In order to change your cursor or caret, what you want to do is:
Open your .emacs file and this line of code:
(setq-default cursor-type 'bar)
And to change the color:
Of course, you can change #ffffff to any hexadecimal color.
C-x- (shrink-window-if-larger-than-buffer) to shrink a window to fit its content.
C-x+ (balance-windows) to make windows the same heights and widths.
C-x^ (enlarge-window) to increase height by 1 line, or the prefix arg value. A negative arg shrinks the window. Example: C-u - 3 C-x ^
As @Sigma's answer mentions, you need to customize ibuffer-formats. The docstring gives a lot of details about how to modify it by hand, and also notes that you can use the customize machinery to tinker with it. If you prefer the elisp approach, you can adapt the default settings to your taste, with the numbers after the name component of the list ...
If you put the links in a file using org-mode (e.g. ending in .org), you can create links like this by:
[[file:d:/path/to/filename with spaces]]
I'm assuming you are on Windows, and this works for on Windows 8, Emacs 24.4.1.
JeanPierre's answer will work fine if you want to use different word wrapping per type of document.
If you want all your documents word-wrapped, use the following:
in your ~/.emacs or ~/.emacs.d/init.el file.
You can customize that value via the menus as well, by going to "Options->Customize Emacs->All Settings Matching..." ...
Cursor type can be set for a given buffer (using buffer-local variable cursor-type), as indicated in the answer by @King. (That answer uses setq-default to set the default value for all buffers.)
Or it can be set for a given frame, as frame parameter cursor-type.
You can set it the default cursor type for all frames by adding it to option default-frame-...
Whether Lisp objects are printed using ' and #' is controlled by print-quoted.
See section Output Variables of the Emacs Lisp manual.
(advice-add 'custom-save-all :around
(let ((print-quoted t))
tells customize to use ' instead of (quote ...) and #' instead of (function ...).
Since @shosti pointed out that Evil considers deviation from Vim behavior as bugs, I filed a bug and one of the authors of Evil added a new possible value for evil-want-fine-undo:
(setq evil-want-fine-undo 'fine)
With this setting, you get new undo units when moving the cursor in insert mode, but replace operations are undone in one step. As far as I can ...
Your init.el file probably contains a snippet like this:
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
Amongst many other things, this snippet is ...
The official way of doing this is demonstrated in evil-maps.el.
Therefore, creating a new ex command is very simple:
(evil-ex-define-cmd "b[utterfly]" 'butterfly)
You'll want to either use this after enabling Evil or alternatively after loading the respective file:
'(evil-ex-define-cmd "b[utterfly]" 'butterfly))
Doing this ...
You can replace the command list-buffers which is run with C-x C-b to a function that does what you want. In this case buffer-menu-other-window opens the buffers list in another window with focus. Adding the following snippet to your init file should remap C-x C-b to the new function.
(define-key global-map [remap list-buffers] 'buffer-menu-other-window)
There are 4 regions where text may be displayed in Emacs, here is what
you can do to inspect each of them.
The mode-line: See the value of mode-line-format.
The header-line: See the value of header-line-format.
Buffer: If the face is in a region of the buffer you can't reach, see the value of (buffer-string).
Minibuffer: If point is currently in the ...
Faces are global so changing its attributes anywhere changes it
everywhere, as you've noticed. To change it locally, make a copy of
the face, change the attributes in the copy and then use a mode hook
to locally set the old face to the copy on a per-buffer basis. The
sample below does it for font-lock-comment-face, but the same
incantation will work for ...
For best results and to avoid gotchas, do not use setq to set option values. Get in the habit of doing one of the following instead:
Use M-x customize OPTION, where OPTION is the option name. Change the value and save your change.
Use custom-set-variables or customize-set-variable or customize-set-value in your custom-file (preferably) or in your init file ...
As you noticed, the menu entry says "Line Wrapping in This Buffer" so this is not something that is saved by "Save Options".
To enable visual-line-mode in all your latex documents, add the following in your init file (~/.emacs or ~/.emacs.d/init.el):
(add-hook 'LaTeX-mode-hook #'visual-line-mode)
This ensures the function visual-line-mode (aka "word wrap")...
??? is displayed if which-func-mode (or which-function-mode in Emacs 25) can't determine the name of the current function. To customize it, modify the variable which-func-unknown, which is the "String to display in the mode line when current function is unknown."
(setq which-func-unknown "∅")
Its default value is "???".
I do not know about using the mouse, but I've often found it's easiest for me to run list-faces-display and then just i-search for what the face is likely called or visually scan for text that looks the same.
I would also recommend checking out either the windresize package from ELPA, or the windsize package from MELPA.
With windresize, you can do M-x windresize and then use the arrow keys to move window borders easily, hitting ENTER when you're done.
An alternative is to switch to ibuffer, which does not share this problem.
ibuffer is part of GNU Emacs, so on recent versions of Emacs you should just need to add
(global-set-key (kbd "C-x C-b") 'ibuffer)
to your init file.
Any change to the variable is equivalent here, so just M-x set-variable or (setq THE-VAR A-NEW-VALUE) is sufficient.
The function called when you click Set for Current Session is custom-variable-set. (Well, actually it is more complicated - it boils down to calling either the value of (get SYMBOL 'custom-set), where SYMBOL is the option symbol or function ...
For variety, here's a solution using the :around advice.
Copy the below test snippet to the *scratch* buffer and evaluate the progn form.
(defvar last-enabled-foo nil)
(setq last-enabled-foo nil)
(defun enable-foo (foo)
(message "last-enabled-foo = %S" last-enabled-foo))
(defun adv/enable-foo (orig-fun &rest args)
Since you want "To better distinguish between focused window", you can use other ways to do that instead of just changing the active window's fringe color.
I combine three ways to better distinguish between active and inactive windows.
Use different colors of mode line for the active and inactive windows.
Highlight the current line where the point is in ...
.dir-locals.el does not care about the meaning of the variables that it sets, nor does it assume their values are lists (they do not have to be.) So it does not perform any merge or other processing. The only thing that's been taken into account is precedence which is described in the documentation you have linked to.
The values are interpreted as-is, emacs ...
minibuffer-setup-hook is used only when the minibuffer is set up, i.e., activated, not when it is deactivated.
minibuffer-exit-hook takes effect when the minibuffer is exited. There is also minibuffer-inactive-mode-hook.
But although those do initiate the color change (as shown by adding (debug) at the beginning of the hook function, and then stepping ...
The problem here is that there’s no face to control the appearance of
the margins. You can display text in the margin using overlays (that’s
what linum-mode does) but, like any text in Emacs, it’s constrained
to the limits of the buffer. So you can’t have any control over the
margin display beyond the last line of the buffer.
What you can do, ...
Others will no doubt add more info to help answer this.
I'll mention a few things that come to mind.
`M-x customize-changed' shows you a Customize buffer that tells you about stuff that has changed since a given Emacs version:
Customize all settings whose meanings have changed in Emacs itself.
This includes new user options and faces, and new ...
The answer to your question is: Yes, you won't hear about the new and exciting modules. But you can write:
(setq foo (remq 'c foo))
to remove c from foo. Or clone the repository and use standard version control tools for making any changes to the source you want.
You can customize ibuffer-formats, which allows you to define amongst other things the width of the columns.
It also allows you to define several formats, which is convenient for the stuff that you don't want to always display.