New answers tagged emacs
Most likely the Emacs you're running was compiled without X support. As an example, the default Emacs binary in /usr/bin on Mac OS X was definitely built without X support. To check your binary, start Emacs and then in the *scratch* buffer type (featurep 'x) and then hit ctrl-J. A response of "t" means you have X support, "nil" means you don't.
Menu should be generated from the $XDG_DATA_DIRS/applications/*.desktop files, where $XDG_DATA_DIRS usually points to at least one directory: /usr/share. Each file describes several menu entry's properties such as its name, program to be run, icon, categories, etc. This file should be generated during program installation, so probably something went wrong ...
I understand this is a few years back...This worked for me just moments ago in Fedora 21, changing line 2 to: (setq inferior-lisp-program "sbcl")
Yes, just run: (font-lock-mode 0) Or interactively, you can toggle this behavior with M-x font-lock-mode. More information is here: https://www.gnu.org/software/emacs/manual/html_node/emacs/Font-Lock.html#Font-Lock If you want to customize just the comment face, then you can do this with M-x customize. Click on Faces, then Font lock, then Font lock ...
A slight variant on the above answer, to copy the path to your kill ring instead of placing it into your buffer (useful for read only files): (defun filename () "Copy the full path of the current buffer." (interactive) (kill-new (buffer-file-name (window-buffer (minibuffer-selected-window)))))
There's a project for X on Linux-based systems that does what you are asking, called at-home-modifier, designed to keep your fingers at the home row (hence the name). The example given in their instructions is to map the space key to shift: If the space key is used alone, it's a space; if used with another key, it's shift. They also say that "Any pairs of ...
Thanks to this excellent site (specifically this post) I realized the markdown-mode package is now available via Emacs Lisp Package Archive (ELPA). Performed the below steps to install markdown-mode: Follow the instructions in this post, to configure emacs to connect to the package archive at melpa.org. Run M-x list-packages to list all packages ...
I'm no elisp expert, but this works. Or ask on emacs.stackexchange. (defun foo (ch lst) (when lst (if (string-match-p ch (car (car lst))) (cdr (car lst)) (foo ch (cdr lst)))))
There's an answer over on emacs.stackexchange that links to the appropriate paragraph in the emacs wiki. Simply edit your init file, usually ~/.emacs for gnu emacs, and add the lines (add-to-list 'default-frame-alist '(font . FONT )) (set-face-attribute 'default t :font FONT ) where you need to replace FONT by the name and size of your chosen font, eg ...
Top 50 recent answers are included