Tom Pierce's Blog : Let the geek times roll.
Updated: 6/20/04; 3:13:05 PM.

 

Subscribe to "Tom Pierce's Blog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Wednesday, June 4, 2003

SCO SCO SCO!. Still more links on SCO's assorted allegations of copyright infringement. They say they're going to sue Novell. Software analysts refuse to be part of the hoax ... [Slashdot]

Don't SCO away mad, just SCO away.  Sorry, I had to.


12:14:15 PM    comment []

I've hacked together an Emacs function that I find pretty useful.  I often find myself formatting lines of data and trying to put them into a comma separated list.  I usually do some kind of regex search and replace which leaves me with lines of data with a comma at the end.  Then, I have to collapse all that data onto one line.  Usually I do this by going to the end of the list and then removing the line boundaries by holding down M-^.  This gets old, and tries my patience on long lists.  So, I hacked together the following function that would remove all the line boundaries in a region:

(defun remove-line-boundary-in-region (beginning end)
  (interactive "r")
  (save-excursion
    (goto-char end)
    (while (not (eq (point) beginning))
      (delete-indentation))))


10:37:01 AM    comment []

© Copyright 2004 Tom Pierce.



Click here to visit the Radio UserLand website.

 


June 2003
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
May   Jul

Search

[sgl dagger]
How this works

Emacs Sources
 tsql-indent.el
 user-add-sql-folding-marks
 remove-line-boundary-in-region
 convert-camel-to-underscore

My Subscriptions
 Funny
 KM