Hi Steve, Thanks for the answer on setting tab width. ... That's what I want to do ... Indent (or unindent) all lines in region by x spaces. Rick. ...
585
un_x
Feb 22, 2002 1:20 pm
you can make a rectangular selection of a column and copy it. or you can pipe the buffer region thru sed or whatever. ... Or are you...
586
un_x
Feb 22, 2002 1:33 pm
bol ^[ [ H HOME (xterm) eol ^[ [ F END (xterm) pgup ^[ [ I PGUP (xterm) ...
587
un_x
Feb 22, 2002 4:09 pm
it would be nice (maybe more normalized) if the search functions didn't turn off marked regions. often you may start a mark and then do a text search to find...
588
un_x
Feb 22, 2002 4:31 pm
i think it would be nice if "query-replace-string" gave you a "Rest" option in addition to "Yes" and "No". that is nice in the case you have a lot of...
589
Rick Owen
rickowen
Feb 22, 2002 4:41 pm
Valid responses are: Y - Yes N - No I - Inc L - Last ! - Do Rest U - Undo ^G - Abort . - Abort Back Rick. ... ===== "And the only reason a road is good, as...
590
thundt
Feb 22, 2002 5:30 pm
Check out 'set-position39; and 'goto-position'. May give you part of what you want. -Th...
591
thundt
Feb 22, 2002 7:01 pm
Here are a couple of simple macros to shove lines back and forth, by one "soft tab stop" (in my case I always use 4 spaces; this should probably come from a...
592
thundt
Feb 22, 2002 7:15 pm
Here is a macro to 'clean39; just ONE line: ;------------------------------------------------------------ ; trim-line: get rid of whitespace at end of line ...
593
un_x
Feb 23, 2002 2:34 am
oh cool :) maybe the [YNIL!U.] should be put in the replace prompt then? thanks!...
594
un_x
Feb 23, 2002 2:37 am
i think those macros would be of use in solving the problem if there was a way to detect if a mark had been set or not. AFAIK, you can't detect a set mark ......
595
un_x
Feb 23, 2002 2:44 am
fill-paragraph macro doesn't seem to work in email, where text has ">" bullets AFAIK. is there anyway to format a paragraph in email format? ie, respecting...
596
Bruno Sabin
beulo
Feb 23, 2002 3:08 am
Hello un_x, they are if you press the "?" key -- Kind regards, Bruno _________________________________________________________________ Bruno Sabin...
597
Rick Owen
rickowen
Feb 23, 2002 12:58 pm
Greetings, I wish I knew more about the script language and I wouldn't have to ask these questions. In the case of both macros, they only work on the current...
598
Jon Green
jon@...
Feb 23, 2002 4:03 pm
Looking at the macros (without running them) they are looping in @# - this is the numeric argument given to the call. Hence Esc-24 Esc-x shove-over will...
599
Jon Green
jon@...
Feb 23, 2002 4:23 pm
Here is an alternative macro for you. Called "shove-over-region" which is probably what you are looking for:- define-macro shove-over-region set-variable #l0...
600
Jon Green
jon@...
Feb 23, 2002 4:32 pm
While I remember. If you are processing a file that has indent defined (i.e. 'C' HTML or some of the standard templates that are supplied) then you can use the...
601
Steven Phillips
sphillips@...
Feb 25, 2002 1:09 pm
The '>'s must be removed first, a macro could be written to copy the current paragraph to a temp buffer, remove the "^> *" and fill the paragraph and then re...
602
Steven Phillips
sphillips@...
Feb 25, 2002 1:26 pm
ME only supports a single global hilight region, the $show-region variable can be used so make this region hilighting more persistent, but as soon as you...
603
thundt
Feb 26, 2002 3:01 am
Y'all might find this useful. Say I find something "interesting" in a logfile, and want to mark it to stand out. So I hit C-x l and it highlights that line,...
604
thundt
Feb 26, 2002 3:08 am
One thing that can be handy is a simple macro to insert a quote char at BOL and then advance to the next line. So to quote a paragraph of 16 lines you type ^U...
605
un_x
Feb 26, 2002 3:09 am
if i define a quoted strings "i am quoted" to be GREEN in my hilighting scheme, then i see quoted text in GREEN. if i scroll a page a text containing some...
606
Kludszuweit Dr, Arne ...
akludszu@...
Feb 26, 2002 8:33 am
I want to move the selected area from emacs into the standard input of an perlscript and the output should replace the selected area (like a filter) It would...
607
thundt
Feb 27, 2002 1:32 am
Here's what I would do (no macro for this yet): 1. cut region to scratch buffer 2. 'filter-buffer' with command of your choice 3. copy resulting buffer back to...
608
Steven Phillips
sphillips@...
Feb 27, 2002 7:59 am
This is exactly what I was going to suggest and having managed to dig the macro out, here is a filter-region command, Steve...
609
Kludszuweit Dr, Arne ...
akludszu@...
Feb 27, 2002 8:46 am
It works fantastic !!!!! So as ist is !! It works also with the 4nt / 4dos executable extensions If I say in 4dos / 4nt set .pl=perl.exe and i have a filter...
610
Steven Phillips
sphillips@...
Feb 27, 2002 9:30 am
There's just no pleasing some!...
611
Kludszuweit Dr, Arne ...
akludszu@...
Feb 27, 2002 10:12 am
Thanks it works Because it is so an fundamental command can you include this to the nano emacs ? I think at least set-position is not available in nanoemacs ...
612
Steven Phillips
sphillips@...
Feb 27, 2002 6:50 pm
You might like to look at the right mouse button menu's Hilight Line feature which does this, it also has access to a very useful search 'n' hilight feature...
613
Steven Phillips
sphillips@...
Feb 27, 2002 7:09 pm
I think this 'mark set detection' code does work, the problem is that the mark is being set behind your back, for instance if you create a new buffer called...