Tabs, Whitespaces, and Highlighting in Emacs – for the Python Programmer

If you’re a python programmer, you probably know all about the troubles mixing tabs and spaces can cause. I have searched far and wide, and have collected some really useful configurations for setting up the perfect Emacs configuration for Python. What it does: Insert spaces instead of tabs when indenting Sets indent to 4 spaces …

Continue reading ‘Tabs, Whitespaces, and Highlighting in Emacs – for the Python Programmer’ »

Use browser forward / back keys to switch emacs buffers and frames

Put the below in your ~/.emacs: ;; make thinkpad browser keys navigate buffers (setq w32-pass-multimedia-buttons-to-system nil) (global-set-key (kbd “<browser-forward>”) ‘next-buffer) (global-set-key (kbd “<browser-back>”) ‘previous-buffer) (global-set-key [C-XF86Forward] ‘next-multiframe-window) (global-set-key [C-XF86Back] ‘previous-multiframe-window) On my x220 this allows the browser forward & back keys (above right & left cursor keys) to be used to switch buffer and combined …

Continue reading ‘Use browser forward / back keys to switch emacs buffers and frames’ »

emacs-nav – Emacs mode for filesystem navigation – Google Project Hosting

Nav is a lightweight solution for Emacs users who want something like TextMate’s file browser, or the Eclipse project view. Unlike these two, Nav only shows the contents of a single directory at a time. Nav can be run painlessly in terminals, where Speedbar either fails on its attempt to make a new frame or …

Continue reading ‘emacs-nav – Emacs mode for filesystem navigation – Google Project Hosting’ »