Emacs behind HTTP proxy
For w3m, this setting has worked for me: (setq url-proxy-services ‘((“no_proxy” . “work\\.com”) (“http” . “proxy.work.com:911”)))
For w3m, this setting has worked for me: (setq url-proxy-services ‘((“no_proxy” . “work\\.com”) (“http” . “proxy.work.com:911”)))
See some of the suggestions on the Emacs Wiki: Emacs Wiki: Smooth Scrolling (setq scroll-step 1 scroll-conservatively 10000)
Add the following to your $HOME/.emacs: (setq inhibit-startup-screen t) The next time you start Emacs, the welcome screen shouldn’t appear. If you already have Emacs open with the welcome screen, you can kill it with C-x k (Control-x, then k).
As per comments to Aaron Miller’s answer, here is an overview of what happens when a mode function is called (with an explanation of derived modes); how calling a mode manually differs from Emacs calling it automatically; and where after-change-major-mode-hook and hack-local-variables fit into this, in the context of the following suggested code: (add-hook ‘after-change-major-mode-hook … Read more
Trough some time of using Emacs I figured that even though I can alter the basic functionality, it usually doesn’t pay off much in terms of efficiency. In fact, after I did it several times, I came to regret it and undid it. This is not true all of the time, some keybindings are really … Read more
function (aka #’) is used to quote functions, whereas quote (aka ‘) is used to quote data. Now, in Emacs-Lisp a symbol whose function cell is a function is itself a function, so #’symbol is just the same as ‘symbol in practice (tho the intention is different, the first making it clear that one is … Read more
[Edit from non-author: this is from 2010, and the process has been significantly simplified since May 2011. I’ll add a post to this answer with my setup notes as of Feb 2012.] You’ll need to put together a few pieces: Emacs, SLIME (which works perfectly well with Clojure — see swank-clojure), swank-clojure (the Clojure implementation … Read more
Folding is generally unnecessary with emacs, as it has tools that explicitly implement the actions people do manually when folding code. Most people have good success with simple incremental searches. See “foo” mentioned somewhere? Type C-sfoo, find the definition, press enter, read it, and then press C-x C-x to go back to where you were. … Read more
Put this in your .emacs file: ;; Toggle window dedication (defun toggle-window-dedicated () “Toggle whether the current active window is dedicated or not” (interactive) (message (if (let (window (get-buffer-window (current-buffer))) (set-window-dedicated-p window (not (window-dedicated-p window)))) “Window ‘%s’ is dedicated” “Window ‘%s’ is normal”) (current-buffer))) Then bind it to some key – I use the Pause … Read more
You’ll have to be specific as to what you mean by “the rest”. Except for the object inspector (that I”m aware of), emacs does all the above quite easily: editor (obvious) compiler – just run M-x compile and enter your compile command. From there on, you can just M-x compile and use the default. Emacs … Read more