New answers tagged

0

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 https://github.com/joostkremers/visual-fill-...


0

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


-1

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


0

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


0

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 ...


1

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 https://emacsformacosx.com/ contains everything inside of a packaged folder called Emacs.app, which the OP stated was ...


2

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