jed-users mailing list

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

Re: jed 0.99-17 looks good


On Tue, Nov 23, 2004 at 10:12:39PM -0500, John E. Davis wrote:
> Dave Kuhlman <dkuhlman@xxxxxxxxxxxxxxx> wrote:
> >Yesterday, I compiled and started using Jed B0.99.17-49U.  Here are
> >a few comments:
> 
> Thanks for the feedback.
> 
> >1. When I first started using it, I saw this message.
> >
> >       Excess junk left on stack by .../.jedrc
> >
> >   A little editing in my .jedrc eliminated it.  I'm not an Slang
> >   expert.  It took some groping fix this.  It would be helpful if
> >   someone could give a few comments on what SLang statements are
> >   likely to cause that message.
> 
> The main offenders that I have seen have involved the use of the
> right, left, up, and down functions instead of the go_* versions.
> 

Good to know.  Thanks.

I also found that filelist.sl (which I downloaded from Jed modes on
11/22/04) produces this message.  In a separate message Paul
Boekholt <paul@xxxxxxxxxxxx> mentioned that
enable_dfa_syntax_for_mode() leaves something on the stack.  His
hint made fixing filelist.sl easy.  Perhaps John Davis will make a
change to enable_dfa_syntax_for_mode().  Or, here is a patch:

=========================================================
--- filelist.sl.orig    2004-11-24 08:27:19.000000000 -0800
+++ filelist.sl 2004-11-24 08:24:11.000000000 -0800
@@ -424,7 +424,7 @@
 }
 dfa_set_init_callback(&setup_dfa_callback, mode);
 %%% DFA_CACHE_END %%%
-enable_dfa_syntax_for_mode(mode);
+() = enable_dfa_syntax_for_mode(mode);
 #endif

 static define mc_bindings()
=========================================================

> [...]
> >3. isearch now seems to be always case sensitive, even though I
> >   have CASE_SEARCH set to zero.  Is there something weird on my
> >   machine or has someone else also noticed this?
> 
> The value of CASE_SEARCH is now local to the current buffer. You
> should use CASE_SEARCH_DEAULT in your .jedrc to control the default.
> It appears that isearch.sl will perform a case-sensitive search if the
> search string contains upper-case characters.
> 

Hmm. I added Both CASE_SEARCH_DEAULT and CASE_SEARCH are zero, but when I
search for "def", it does not find "Def".

And, the problem seems to be below the level of isearch.sl.  I
tried:

    ^X ESC fsearch("def");

and it does not find "Def".  Next step, look at the source code for
fsearch().  But, if no one else has noticed this, then maybe it's
something wrong in my .jedrc.  I'll try the default jed.rc in the
distribution.

...

Nope.  I replaced my .jedrc with jed.rc from the distribution. 
Search is still case sensitive.  I'll look at the source for
fsearch() later.

> Thanks again,
> 
> --John

You're welcome.  And, thanks for a great editor.

Dave

-- 
Dave Kuhlman
http://www.rexx.com/~dkuhlman

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


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