M-x all-things-emacs

Entries Tagged as 'quick'

Newbie Tip: transient-mark-mode

February 20th, 2007 by Ryan McGeary · 152 Comments

Setting a mark (C-SPC) is probably the most frequent command I use besides basic navigation. The mark not only acts as a saved jump-to point, but it also sets the region. A region is what other editors might call a selection. By default, emacs does not highlight the active region, so it requires a bit […]

[

Tags:newbie · quick · tips

Quick Tip: Defining Mode Specific Key Bindings

February 10th, 2007 by Rob Christie · 127 Comments

Many times I use global key mappings for commands that I use every day. For example, I build java projects daily using ant, so I have the following in my .emacs: (global-set-key [f5] ‘jde-build) Less frequently, I use the C-c C-v C-. which is the default key binding for the command jde-complete. Both commands are […]

[

Tags:elisp · java · quick · ruby · tips

Quick Tip: dired-recursive-deletes

February 8th, 2007 by Ryan McGeary · 146 Comments

By default, dired only deletes empty directories. You know the drill. Put your point on the directory, D, y (yes), “file-error Removing directory directory not empty,” (slam fist on table). Doh! Fortunately, dired supports deleting directories recursively. Add this to your .emacs: (setq dired-recursive-deletes ‘top) The dired-recursive-deletes variable decides whether recursive deletes are allowed. This […]

[

Tags:dired · quick · tips

Quick Tip: visible-bell

February 6th, 2007 by Ryan McGeary · 116 Comments

This one is personal preference, but I find it annoying when emacs beeps on errors. I like knowing when something bad/unexpected happened, but the beep is too much when the sound is on and useless when muted. Add this to your .emacs to enable a visual alert cue that flashes the frame instead: (setq visible-bell […]

[

Tags:quick · tips