jed-users mailing list

[2015 Date Index] [2015 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [jed-users] Is jed-users still active?


I use Jed quite a bit for batch scripts. Yours is the first message I have received since joining this list. While I like jed, I have to admit NONE of the doc seems to have even the faintest connection with the version of jed shipping with Mint 17. Few, if any, of the sites and links which turn up Jed tricks and configuration scripts turn ones up which actually function. While I have been able to get Home key to go to beginning of line and End key to go to end, not one of the recommended methods of getting <ctrl><Home> to goto top of buffer or <ctrl><End> to go to bottom work with this version.

Not that it has much relevance to your question, but this is what I have for a .jedrc file.

require ("keydefs");
%require ("wmark.sl");
setkey ("bol", Key_Home);
setkey ("eol", Key_End);
setkey ("beg_of_buffer", Key_Ctrl_Home);
setkey ("end_of_buffer", Key_Ctrl_End);

USE_TABS = 0;
TAB_DEFAULT = 4;
WRAP = 0;



On 01/23/2015 09:50 AM, R. Stewart Ellis wrote:
The last post I received was on Oct. 25 2014.  I went to John's site and
the last message in the archive agreed with that.

I suffered a catastrophic software system failure and lost all of my
files from my home ubuntu box, including my most recent .jedrc.  I have
installed a new boot disk and loaded ubuntu 14.04.1 with Jed 0.99.19U
and am trying to get it configured the way I am used to.  I came
to jed from jove rather than emacs and had a few mods that I made to
keybindings so I could more easily go back and forth.  I have been able
to get most of the setkey statements working the way I want, but I can't
remember or figure out how to bind "\er" to a function that does global
search and replace. I was able to

   setkey("query_replace_match",     "\eq");

to get a query and replace, but I have done "help apropos" on replace and
none of the functions or commands that are reported seem to have the
desired behavior.  For example    setkey("replace",     "\er");

causes "Stack Underflow Error" when I try the key combination, which I
suspect means it is a low-level function that needs to be called by a
slang routine.  When I try "re_replace" I am told it is undefined.
cua_replace_cmd works but is a query replace function, as is
replace_cmd.

Is there already a straight global replace command that I am missing?
I did do '...jed/lib$ grep global *.sl|grep replace' and did not find
anything.

If there is not I guess I will try to write one.



--
Roland Hughes, President
Logikal Solutions
(630)-205-1593 - cell
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com

_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


[2015 date index] [2015 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]