Latest News
A common problem facing emacs users is to replace a certain sequence of characters in a buffer with either a newline or tab or something else equally awkward. The solution is relatively simple.
Invoke search and place as normal (M-%), enter the text to be replaced, enter the replacing character using the following chart:
- Newline(\n): C-qC-j
- Tab(\t): C-qC-i
- Carriage return(\r): C-qC-m
See the pattern? C-q is an escape sequence and C-[char] is the position in the alphabet of the ASCII offset of the replacement character. OK, perhaps that's a little tangled. But now you know.
About this blog
The taskboy blog is a exploration of computer technology by Joe Johnston. Topics of posts include practical examples Perl, PHP, Python and Java as well as book reviews, industry insights and miscellaneous good stuff.
Current Status
Watching _Brass Latern_. Ah IF, your coyness is your charm.
Posted: Sun Sep 05 16:02:15 +0000 2010
Latest Feedbag
- Grain Sack Doubles Up As A Water Purifier Kit
- BMW Takes Internet Car Reveals To A Weird New Level
- Monocolumn: Imelda Marcos, Mark 2
- Zoodles Brings Kid-Friendly Browser To Android Phones
- Context Optional Helps Brands Run Location-Based Promotions On Facebook Places
- Eric Schmidt: Were Already Fast..Fast Is About To Get Faster
- Coulomb Wins $15 Million To Roll Out Electric Vehicle Charging Stations Across America
- Ping Is Apples iTunes For Everything
- A 'new normal' for oil and natural gas prices?
- Kim Clijsters to face Venus Williams in US Open semis
Generated: 09:45 on 08/Sep/2010
Recent posts
- Very quick git primer for basic functionality
- Tips for spammers: don't insult me
- CakePHP vs. Symfony: a quick note
- Creating events for Yahoo and Google calendars
- SANs on a budget: iSCSI under Ubuntu
- iPad, iTouch and Kindle: Which is the better mousetrap?
- Rise of the Ad-Hocracy, Part II
- Rise of the Ad-Hocracy, Part I
- Small Hiatus
