August 4, 2008

Emacs: Caps lock as M-x

August 4, 2008 - Categories: emacs

Inspired by Lennart Borgman’s recent post on help.gnu.emacs about binding Caps Lock to M-x on Microsoft Windows, I set my system up with the Linux equivalent.

To make Caps Lock a shortcut for M-x, add the following lines to your ~/.emacs:

(if (eq window-system 'x)
    (shell-command "xmodmap -e 'clear Lock' -e 'keycode 66 = F13'"))
(global-set-key [f13] 'execute-extended-command)

OpenOffice.org: Replacing dingbats

August 4, 2008 - Categories: geek

I _really_ should have blogged this when I first wrote it. That would’ve saved me time writing it again!

Sub ReplaceDingbats(optional doc)
	oDocument = IIf(IsMissing(doc), ThisComponent, doc)
	oSearchDesc = oDocument.createSearchDescriptor	
	for i = 1 to 9 
		oSearchDesc.searchString = "(;; )?\(" + i + "\)"
		oSearchDesc.searchRegularExpression = true
		mFound = oDocument.findFirst(oSearchDesc)
		do while not isNull(mFound)
			mFound.string = chr(&HF08B + i)
			mFound.CharFontName = "Wingdings"
			mFound = oDocument.findNext(mFound.End, oSearchDesc)
		loop
	next i
End Sub

It’s a macro for OpenOffice.org – replaces the widgets I use in formatting the book chapter…

Emacs and Gnus: zomg, new chapter out the door!

August 4, 2008 - Categories: emacs, wickedcoolemacs

So I _finally_ pulled everything together and got my Gnus chapter out the door. Hooray, hooray, hooray!

Disclaimers: It’s rough, it probably makes a few assumptions about whatever version of Emacs I’m running, it’s probably missing your favorite tips (and I’d love to add them!), and it probably has typos. Meep. But it’s out there!

Hooray, hooray, hooray!

Next step: write about web-browsing in Emacs…

Finding something worth talking about

August 4, 2008 - Categories: presentation, speaking

"I don’t know what I’d talk about," people often tell me when I encourage them to think of topics for conferences and events. "I don’t know what to write about," they say when I encourage them to blog. "I’m not an expert. I don’t know anything."

I get that imposter feeling as much as anyone else. I wonder what I know and why people are interested. I worry that the next presentation, the next article is when I’ll be unmasked as just another newbie. Sometimes I think that my enthusiasm is the main reason why people listen, because they already know everything I’m saying. I hate wasting time by not adding anything new.

You might recognize these things as reasons that stop you from standing up and speaking. Before you can think of improving your presentation skills or even becoming comfortable in front of the crowd, you need to find your _why_–your reason to speak, something worth talking about.

I struggle with this every time I see a call for participation or come across a conference I want to attend. These questions are helpful:

The next time an opportunity to share comes up–a call for participation, an educational community meeting–ask yourself:

Chances are that you’ll find something you want to share. Good luck and have fun!