New answers tagged


visual-line-mode only affects the display, whereas fill-column is about limiting the length of actual lines in the text. Currently in Emacs you cannot control the visual wrapping other than by controlling your window's size. This said, you can automate the control of the window's size. E.g. with packages such as


Another nice mode for emacs for HTML & other web related work is the aptly-named web-mode. You can learn about it here:


These worked for me: (global-set-key (kbd "<home>") 'beginning-of-line) (global-set-key (kbd "<end>") 'end-of-line)


You can just evaluate (face-attribute 'default :font) To evaluate a sexp, do M-:, type/paste the above sexp in there and hit enter.


If you are one of the unfortunate people like me that could not get xmodmap to switch right Alt with right Ctrl, then maybe this will help. If you press right Alt and e and you get é then this solution is for you (needs improvement). Run this in the terminal (check your keycodes with xev): xmodmap -e "keycode 108 = Alt_R Meta_R Alt_R Meta_R" then put ...


The original poster is on a computer with an OS X operating system, which comes with an older version of Emacs that is pre-installed -- located at /usr/bin/emacs. The newer pre-built version of Emacs that the original poster downloaded from contains everything inside of a packaged folder called, which the OP stated was ...


Note that emacs -Q will start emacs without any init files. So the difference between emacs and emacs -Q may be due to a system-wide init file. To test for just a personal init file use emacs -q (that's a lower case q rather than an upper case Q). And one of the answers on that other question tells you about how to locate your init file: type C-h v user-...

Top 50 recent answers are included