Register a domain and help support LQ
Go Back > Blogs
User Name



Emacs rectangle search/replace

Posted 08-21-2016 at 07:43 PM by flshope

I use Emacs to write code occasionally, mostly Fortran. A common thing I need to do is search and replace everywhere in a region confined to a rectangle within the text. An example is altering an existing code from Fortran 77 format to Fortran 90, specifically changing all of the Cs in column one (indicating comments) to !s. In Emacs terminology, this is a rectangle of width 1 character and as high as the number of lines in the code.

I have had difficulty figuring out how to do this...
Posted in Uncategorized
Views 157 Comments 0 flshope is offline

Day < 5...

Posted 03-25-2009 at 11:14 PM by thebusker


Been tackling this Linux beast for some days now, and I have settled on Debian.

I don't have sound and I don't have internet, but I have Linux. It's a start.

This whole thing began as some sort of immersion therapy attempt to learn C. Got myself a K&R, a Debian Distro and have just downloaded Emacs with my *cough* Vista box.

The plan is to work my way through K&R, get my audio and net up with some help from LQ,,...
LQ Newbie
Posted in Uncategorized
Views 2137 Comments 0 thebusker is offline


All times are GMT -5. The time now is 09:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration