Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

jasspa · JASSPA's MicroEmacs

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 127
  • Category: Cyberculture
  • Founded: Jul 7, 1999
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 286 - 315 of 2695   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#286 From: Jon Green <jnaught@...>
Date: Wed Jun 28, 2000 5:38 pm
Subject: Re: Add/Change Meta key C
jnaught@...
Send Email Send Email
 
Ah, it's suddenly all become clear ..... after looking at
my portable I've just relaised what FN key is !!

OK, I have just ckecked this key out on my portable by using
the MS-DEV "spy" utility. It certainly does not generate a windows
message when the key is pressed this means that it is not visible
on it's own.

This is actually what I expected. The FN key provides a key
modification within the keyboard device itself hence pressing
"FN K" => "Numeric Pad 2", the translated key is what appears
to the outside world from the keyboard.

So I'm afraid "No can do" the key is not visible to Windows
as a stand alone key. I'm not aware of any software
that allows this key to be accessed - may be somebody else
does ??

Regards
Jon.

<SNIP>
--
______________________________________________________________________

Jon Green                                           J.D.Naughton-Green
Project Manager

SAMSUNG Electronics Ltd
Samsung Electronics Research Institute (Audio / Visual Labs)
_______________________________________________________________________

#287 From: "Bastian Kruse" <W3KRUS01@...>
Date: Thu Jul 6, 2000 10:45 am
Subject: problem: pressing z,u or t leads to starting of genereting conte
W3KRUS01@...
Send Email Send Email
 
Hello,

Sometimes if I press a z, u or t (or r, 6,7 and 8) the generating
contents list function is started und the cursor starts to jump
between my *.tex file und the new opened window.
I don´t know the exact reason for this. There are times it happens
every time I press one of the named keys. On the other hand most of
the time this is no problem at all.
Working under dos.
Is there a way to disable the generating contents list function or
what else should I do to solve this problem ?
Thanks !

   Bastian

-----------------------------------------------------
Bastian Kruse    w3krus01@...

#288 From: Jon Green <jnaught@...>
Date: Thu Jul 6, 2000 2:11 pm
Subject: Re: problem: pressing z,u or t leads to starting of genereting conte
jnaught@...
Send Email Send Email
 
The bindings for Latex are defined in hklatex.emf.

As far as I can make out f6, f7, f8 are bound to
list generating functions. You may have created
your own bindings. You can check the active
bindings by

	 M-x describe-bindings

Do this in the tex buffer, this will show you what
the key bindings are. The local buffer ones are
listed at the top.

As for z, u, t, r - I do not see these
anywhere ??

To unbind any of the bindings then create
a "mylatex.emf" in your user directory
with the following:-

define-macro my-fook-latex
	 !force buffer-unbind-key "f7"  ; Unbind latex-list-section
	 !force buffer-unbind-key "f8"  ; Unbind latext-list-label
!emacro

Note that the !force is there incase it fails when
not bound.

Hope that helps
Jon.


Bastian Kruse wrote:
>
> Hello,
>
> Sometimes if I press a z, u or t (or r, 6,7 and 8) the generating
> contents list function is started und the cursor starts to jump
> between my *.tex file und the new opened window.
> I don´t know the exact reason for this. There are times it happens
> every time I press one of the named keys. On the other hand most of
> the time this is no problem at all.
> Working under dos.
> Is there a way to disable the generating contents list function or
> what else should I do to solve this problem ?
> Thanks !
>
>   Bastian

#289 From: Steven Phillips <stevenp@...>
Date: Thu Jul 6, 2000 2:42 pm
Subject: Re: problem: pressing z,u or t leads to starting of genereting conte
stevenp@...
Send Email Send Email
 
Bastian

If this  problem  persists, can you:

1) Reproduce  the  problem
2) Execute list-variables (C-h v) straight after
3) Mail me the  contents of the  resultant  *variables*  buffer  giving me the
    letter which triggered the list command.

It may help me (ME  developer)  if you could do this anyway so that I can find
out what is going wrong.

Thanks,

Steve

Note: For those  interested  in knowing  why I need a variable  dump, the main
variables  are the buffer ones which give the file hooks etc and  $recent-keys
which  lists the last 100 keys (in reverse  order),  hopefully I can rerun the
last 100 keys and reproduce the problem.

> Subject: Re: [jasspa] problem: pressing z,u or t leads to starting of
genereting  conte
> From: Jon Green <jnaught@...>
> Date: Thu, 06 Jul 2000 14:11:20 +0000
> To: jasspa@egroups.com
>
> The bindings for Latex are defined in hklatex.emf.
>
> As far as I can make out f6, f7, f8 are bound to
> list generating functions. You may have created
> your own bindings. You can check the active
> bindings by
>
>  M-x describe-bindings
>
> Do this in the tex buffer, this will show you what
> the key bindings are. The local buffer ones are
> listed at the top.
>
> As for z, u, t, r - I do not see these
> anywhere ??
>
> To unbind any of the bindings then create
> a "mylatex.emf" in your user directory
> with the following:-
>
> define-macro my-fook-latex
>  !force buffer-unbind-key "f7"  ; Unbind latex-list-section
>  !force buffer-unbind-key "f8"  ; Unbind latext-list-label
> !emacro
>
> Note that the !force is there incase it fails when
> not bound.
>
> Hope that helps
> Jon.
>
>
> Bastian Kruse wrote:
> >
> > Hello,
> >
> > Sometimes if I press a z, u or t (or r, 6,7 and 8) the generating
> > contents list function is started und the cursor starts to jump
> > between my *.tex file und the new opened window.
> > I don´t know the exact reason for this. There are times it happens
> > every time I press one of the named keys. On the other hand most of
> > the time this is no problem at all.
> > Working under dos.
> > Is there a way to disable the generating contents list function or
> > what else should I do to solve this problem ?
> > Thanks !
> >
> >   Bastian
>
> ------------------------------------------------------------------------
> Where do sports heroes like Derek Jeter, Mia Hamm,
> Vince Carter and Peyton Manning hang out? Where else?
> Click now and find ‘em all here!
> http://click.egroups.com/1/6211/11/_/6009/_/962892364/
> ------------------------------------------------------------------------
>
> __________________________________________________________________________
>
>
>
> This is an unmoderated list. JASSPA is not responsible for the content of
>
> any material posted to this list.
>
>
>
>
>
>

#290 From: Thomas Hundt <thundt@...>
Date: Mon Jul 17, 2000 7:21 pm
Subject: Mouse Right-Clicking
thundt@...
Send Email Send Email
 
Gents,

I've been using the right-clicking to cut and paste lately, and wonder if you
might consider, for the future, making the right button able to select an item
from the dropdown list (in addition to the current left).  I.e., the way MS does
it, you can right-click on something, get a context menu, and then use the same
mouse button to pick the action (right-pick).  The way ME does it, you can
right-click to get the menu, but then you have to left-pick to execute
something.

Thanks

-Th

p.s. I used the tcl-mode for the first time yesterday, and boy was it ever
helpful!! :-) :-) :-)

#291 From: jirko@...
Date: Sun Jul 23, 2000 11:36 pm
Subject: Re: Re: Suse-Linux and melinux
jirko@...
Send Email Send Email
 
Hi

I had this problem too when I first installed MicroEmacs on my Debian system
about 8 or 9 month ago. Seems as if some of the current Linux distros consider
libtermcap deprecated.

Anyway I almost forgot about that, until I recently installed the me00 beta.
This time I decided to look for a better solution than the simple change in the
makefile. So I tried a more complex change :-).

I have attached a version of linux200.gmk that - together with the also attached
test.c - should be able to determine if curses/libtermcap is to be used or if
libncurses/terminfo is the thing to go for. Simply copy them into the source
directory of MicroEmacs and ./build it.
Probably you JASSPA guys want to add that to the distro.

I have only tested it on my non-termcap system, so someone should check
if it really works on systems with libtermcap installed.

regards

Jirko



> Yep -- I found out why termcap was missing -- libtermcap is its own package,
> not installed by default for a "standard" system -- in "series a" (Linux Base
> System) of SuSE. It's one of a handful of (obsolete) items not installed
> normally.

> And even then, as you and Detlef noted, they put it in
> /usr/lib/termcap/libtermcap.so, so you have to change the
> linux200.gmk file (add -L/usr/lib/termcap to LDFLAGS).
> And they call this "progress". :-)
>
> The X libs don't install by default, either (which I think is weird) -- the
> package for that is called xdevel (under series x).
>
> -Th

#292 From: "David E. Edwards" <forjeuk@...>
Date: Fri Aug 11, 2000 10:00 am
Subject: Help!
forjeuk@...
Send Email Send Email
 
Aaagh.  A house move, 2 system rebuilds and two months without using
jasspa and I'm lost - also lost all of my personal settings so I'm
rebuilding my "userid".emf file.
Now I'm getting a little confused.  There are a couple of things that
I need help understanding.
In hkdoc.emf, there's a statement that looks for my-fhook-doc macro
and executes it if found.  I put this in my "userid".emf, but unless I
do an add-file-hook in my "userid".emf, the settings do not work.
does this mean that I should add the my-fhook-doc macro to hkdoc.emf
instead?
Also in hkdoc.emf there is a force execute of mydoc - which I take to
reference a file mydoc.emf.
What is the best way to use mydoc.emf / my-fhook-doc?
Also, if I make changes to "userid".emf, can I reload it or do I have
to exit jasspa and restart?
Thanks in advance
Dave E.
dedwards@...

#293 From: Steven Phillips <stevenp@...>
Date: Fri Aug 11, 2000 10:35 am
Subject: Re: Help!
stevenp@...
Send Email Send Email
 
> Subject: [jasspa] Help!
> From: "David E. Edwards" <forjeuk@...>
> Date: Fri, 11 Aug 2000 11:00:44 +0100
> To: <jasspa@egroups.com>
>
> Aaagh.  A house move, 2 system rebuilds and two months without using
> jasspa and I'm lost - also lost all of my personal settings so I'm
> rebuilding my "userid".emf file.
> Now I'm getting a little confused.  There are a couple of things that
> I need help understanding.
> In hkdoc.emf, there's a statement that looks for my-fhook-doc macro
> and executes it if found.  I put this in my "userid".emf, but unless I
> do an add-file-hook in my "userid".emf, the settings do not work.
> does this mean that I should add the my-fhook-doc macro to hkdoc.emf
> instead?
> Also in hkdoc.emf there is a force execute of mydoc - which I take to
> reference a file mydoc.emf.
> What is the best way to use mydoc.emf / my-fhook-doc?

Create a mydoc.emf  file  (preferably in the same directory as  "userid".emf),
put you  my-fhook-doc  macro  into this file (with any other  chances  such as
additional hilighting etc), save the file and restart ME.

When you first load a doc file the macro file  hkdoc.emf is executed,  this in
turn executes mydoc.emf if it exists (which it now does). Then ME executes the
macro  fhook-doc  in the new doc  buffer,  which in turn  executes  the  macro
my-fhook-doc if it exists. Simple.....

> Also, if I make changes to "userid".emf, can I reload it or do I have
> to exit jasspa and restart?

You can either use commands  execute-buffer  or  execute-file to 'reload' just
"userid".emf,  or better still use  user-setup  (main menu Help -> User Setup)
and use the Current button which will  re-initialise the whole setup (remember
to save changed buffers first).

Also  note  that  existing  buffers,  such as your  doc  buffer,  will  not be
re-initialised. You will been to use  execute-buffer/execute-file on hkdoc.emf
to re-initialise the buffer setup macros, i.e. fhook-doc and my-fhook-doc etc,
and then  execute the command  fhook-doc in the doc buffer.  (Perhaps I should
change the functionality behind the User Setup Current button to do this...).

Steve

#294 From: Thomas Hundt <thundt@...>
Date: Sun Aug 20, 2000 5:59 pm
Subject: 3/22 release - colors weird (menubar)
thundt@...
Send Email Send Email
 
I'm trying out the 3/22 beta (or is it alpha? :-) release, and the colors
of the menu at the top (grey on black) and the modeline (black on white)
are not what I'm used to -- n.b. I use the black on cream color scheme.

-Th

#295 From: Thomas Hundt <thundt@...>
Date: Sun Aug 20, 2000 6:56 pm
Subject: Crypto -- again
thundt@...
Send Email Send Email
 
I've been running the 3/22/00 release, in the hopes that perhaps the crypto
functionality has been made easier to use... but it doesn't seem to be.
There's still no way at all to open an encrypted file from the shell prompt
without having it come up scrambled.  I did find the 'find-cfile' command
to open such a file once in the program, so that is helpful.  (Just so you
know, what I usually do is set up icons to open various files, including
some that are encrypted.  With pre-Jasspa versions, one could use a '-k'
flag on the commandline to specify an encryption key... this is not totally
safe, esp. on Unix machines.)

A nice behavior would be to detect an encrypted file (given on the
commandline) upon load, and prompt the user for a key, and then open the
file.  It would be OK if this were done via file extension (e.g., '.txc').
I have been doing some experimenting in my .emf files but haven't gotten
this to work yet.

Thanks

-Th

#296 From: Jon Green <jnaught@...>
Date: Mon Aug 21, 2000 9:26 am
Subject: Re: Crypto -- again
jnaught@...
Send Email Send Email
 
I was thinking about this some time ago (then forgot about it).
I came to the conclusion that a header was required in the file
to indicate encryption, the extension on the file does not change.
Hence the file is automatically decrypted (or user prompted) then
the appropriate hilighting is applied based on the extension as
per a regular file.

Jon.

Thomas Hundt wrote:
>
> I've been running the 3/22/00 release, in the hopes that perhaps the crypto
> functionality has been made easier to use... but it doesn't seem to be.
> There's still no way at all to open an encrypted file from the shell prompt
> without having it come up scrambled.  I did find the 'find-cfile' command
> to open such a file once in the program, so that is helpful.  (Just so you
> know, what I usually do is set up icons to open various files, including
> some that are encrypted.  With pre-Jasspa versions, one could use a '-k'
> flag on the commandline to specify an encryption key... this is not totally
> safe, esp. on Unix machines.)
>
> A nice behavior would be to detect an encrypted file (given on the
> commandline) upon load, and prompt the user for a key, and then open the
> file.  It would be OK if this were done via file extension (e.g., '.txc').
> I have been doing some experimenting in my .emf files but haven't gotten
> this to work yet.
>
> Thanks
>
> -Th
>

#297 From: Steven Phillips <stevenp@...>
Date: Tue Aug 22, 2000 11:37 am
Subject: Re: 3/22 release - colors weird (menubar)
stevenp@...
Send Email Send Email
 
> Subject: [jasspa] 3/22 release - colors weird (menubar)
> From: Thomas Hundt <thundt@...>
> Date: Sun, 20 Aug 2000 10:59:04 -0700
> To: JASSPA MicroEmacs Mailing List <jasspa@egroups.com>
>
> I'm trying out the 3/22 beta (or is it alpha? :-) release, and the colors
> of the menu at the top (grey on black) and the modeline (black on white)
> are not what I'm used to -- n.b. I use the black on cream color scheme.
>
> -Th

I think this is caused by my changes,  originally  ME's color and font  scheme
settings were  independent as the font settings were only used by unix Termcap
support. In this newer version Windows and Xterm interfaces also support fonts
so the color and fonts are now used together.

How does this relate?  Before if you set the color scheme to be black on white
and the font to be reverse  (for  termcap) the color was still black on white.
Now however you will get white on black!

You should find that you have a local copy of schemej.emf  (the black on cream
scheme - the scheme editor saves changes  locally). The easiest solution is to
remove  the  local  copy so the new  release  version  is used,  then redo any
changes made.

If you have  created  you own  schemes  and you need them  porting  to the new
version then forward them to me and I work out the best way to do this.

Steve

#298 From: Jon Green <jnaught@...>
Date: Tue Aug 22, 2000 1:08 pm
Subject: Re: Re: 3/22 release - colors weird (menubar)
jnaught@...
Send Email Send Email
 
Steve,

	 I sent Thomas a new schemej.emf - this fixes the problems.
	 When the release was made this scheme may of had the reverse
	 video and bold problems following scheme bit position changes.

Regards
Jon

Steven Phillips wrote:
>
> > Subject: [jasspa] 3/22 release - colors weird (menubar)
> > From: Thomas Hundt <thundt@...>
> > Date: Sun, 20 Aug 2000 10:59:04 -0700
> > To: JASSPA MicroEmacs Mailing List <jasspa@egroups.com>
> >
> > I'm trying out the 3/22 beta (or is it alpha? :-) release, and the colors
> > of the menu at the top (grey on black) and the modeline (black on white)
> > are not what I'm used to -- n.b. I use the black on cream color scheme.
> >
> > -Th
>
> I think this is caused by my changes,  originally  ME's color and font  scheme
> settings were  independent as the font settings were only used by unix Termcap
> support. In this newer version Windows and Xterm interfaces also support fonts
> so the color and fonts are now used together.
>
> How does this relate?  Before if you set the color scheme to be black on white
> and the font to be reverse  (for  termcap) the color was still black on white.
> Now however you will get white on black!
>
> You should find that you have a local copy of schemej.emf  (the black on cream
> scheme - the scheme editor saves changes  locally). The easiest solution is to
> remove  the  local  copy so the new  release  version  is used,  then redo any
> changes made.
>
> If you have  created  you own  schemes  and you need them  porting  to the new
> version then forward them to me and I work out the best way to do this.
>
> Steve
>

#299 From: Steven Phillips <stevenp@...>
Date: Wed Aug 23, 2000 4:37 pm
Subject: Re: Crypto -- again
stevenp@...
Send Email Send Email
 
> Subject: [jasspa] Crypto -- again
> From: Thomas Hundt <thundt@...>
> Date: Sun, 20 Aug 2000 11:56:30 -0700
> To: JASSPA MicroEmacs Mailing List <jasspa@egroups.com>
>
> I've been running the 3/22/00 release, in the hopes that perhaps the crypto
> functionality has been made easier to use... but it doesn't seem to be.
> There's still no way at all to open an encrypted file from the shell prompt
> without having it come up scrambled.  I did find the 'find-cfile' command
> to open such a file once in the program, so that is helpful.  (Just so you
> know, what I usually do is set up icons to open various files, including
> some that are encrypted.  With pre-Jasspa versions, one could use a '-k'
> flag on the commandline to specify an encryption key... this is not totally
> safe, esp. on Unix machines.)
>
> A nice behavior would be to detect an encrypted file (given on the
> commandline) upon load, and prompt the user for a key, and then open the
> file.  It would be OK if this were done via file extension (e.g., '.txc').
> I have been doing some experimenting in my .emf files but haven't gotten
> this to work yet.

I have put the -k option back in, I have also enabled it to optionally specify
the key as well, i.e. "-kMyPassword", if the key is not given then you will be
prompted  within ME when the file is loaded.

Note  that -k  MyPassword  does not  work, it will  assume  MyPassword  is the
crypted  file.  Also  the  passing  of  the  key  is  not   supported  by  the
client-server and only -b or -c is supported by the client-server, not both.

This will be in the next release, coming soon I hope.

Steve

#300 From: Thomas Hundt <thundt@...>
Date: Wed Sep 13, 2000 9:49 pm
Subject: Greediness of regexp '+', '*' operators
thundt@...
Send Email Send Email
 
When used in isearch-forward or query-replace-string regular expressions, the
'+' and '*' quantifiers will match as many characters as possible, apparently
stopping at a newline.

For example, I wanted to remove the FONT tags in the html below, by doing a
query-replace-string of "<FONT.+>" with "".  But ME went and matched not what I
wanted ("<FONT FACE="Verdana, MS Sans Serif, Geneva" SIZE="-1">") but the whole
rest of the line, too: "<FONT FACE="Verdana, MS Sans Serif, Geneva"
SIZE="-1"><B>Mixed Drinks/Liquor</B></FONT></NOBR></TD>".  The "+" matched as
many characters as possible.  Some people call this "greediness".

This is a problem not just in ME, but crops up in various places.  One way of
dealing with it (seen in TCL and Perl) is a "?" qualifier used after the "*" or
"+" to tell it to act in non-greedy fashion, i.e., to match as few characters as
possible.  I think it would be nice if ME had something like this.

[example html code]
<TD><NOBR><FONT FACE="Verdana, MS Sans Serif, Geneva" SIZE="-1"><B>Mixed
Drinks/Liquor</B></FONT></NOBR></TD>
<TD><NOBR><FONT FACE="Verdana, MS Sans Serif, Geneva"
SIZE="-1"><B>Wine</B></FONT></NOBR></TD>
<TD><NOBR><FONT FACE="Verdana, MS Sans Serif, Geneva"
SIZE="-1"><B>Beer</B></FONT></NOBR></TD>
</TR>


-Th

#301 From: Jon <jon@...>
Date: Wed Sep 13, 2000 10:58 pm
Subject: Re: Greediness of regexp '+', '*' operators
jon@...
Send Email Send Email
 
We had a lot of discussion about this (myself + Steve) when
the new RE engine was developed. The old behaviour was the
minimal set as you pointed out below, which did appear to
be a little more logical (I had actually modified the search
to this behaviour years ago). However it is very confusing when
you move to other packages when the search has the same syntax
and you get different results. For this reason it was more prudent
to be conforment with other packages which basically means that
your RE must be unambiguous hence for the search below then one
would use:-

"<FONT[^>]*>"

In fact the old shortened search actually used to fail more
because it used to bail out earlier. One could specify a
RE that was quite clearly within a line and would
not find it because it never looked far enough (OK - I admit
the old search engine was flawed).

I would also point out that when you specify the shortened
RE you also sometimes do not get what you want. In the
same way that you are getting "too much" matching
below, with the shortened RE you sometimes do not
"get enough". So to be honest I think you have just
made the RE syntax a little bigger and now have 2 problems
instead of one !! (One also has to bear in mind that the
search engine is a real hairy piece of code and is not
to be messed with lightly).

So, I've kind of made up my mind the greedy RE is better -
you just have to be a little bit more specific as to what
you want. Steve's new RE engine is now real fast and works
a treat for incremental searches with '*'s and '+'s
present (used to be dead slow).

Well that's the end of my ramblings !!

Jon.

Thomas Hundt wrote:
>
>
> When used in isearch-forward or query-replace-string regular expressions, the
'+' and '*' quantifiers will match as many characters as possible, apparently
stopping at a newline.
>
> For example, I wanted to remove the FONT tags in the html below, by doing a
query-replace-string of "<FONT.+>" with "".  But ME went and matched not what I
wanted ("<FONT FACE="Verdana, MS Sans Serif, Geneva" SIZE="-1">") but the whole
rest of the line, too: "<FONT FACE="Verdana, MS Sans Serif, Geneva"
SIZE="-1"><B>Mixed Drinks/Liquor</B></FONT></NOBR></TD>".  The "+" matched as
many characters as possible.  Some people call this "greediness".
>
> This is a problem not just in ME, but crops up in various places.  One way of
dealing with it (seen in TCL and Perl) is a "?" qualifier used after the "*" or
"+" to tell it to act in non-greedy fashion, i.e., to match as few characters as
possible.  I think it would be nice if ME had something like this.
>
> [example html code]
> <TD><NOBR><FONT FACE="Verdana, MS Sans Serif, Geneva" SIZE="-1"><B>Mixed
Drinks/Liquor</B></FONT></NOBR></TD>
> <TD><NOBR><FONT FACE="Verdana, MS Sans Serif, Geneva"
SIZE="-1"><B>Wine</B></FONT></NOBR></TD>
> <TD><NOBR><FONT FACE="Verdana, MS Sans Serif, Geneva"
SIZE="-1"><B>Beer</B></FONT></NOBR></TD>
> </TR>
>
> -Th
>
> __________________________________________________________________________
>
> This is an unmoderated list. JASSPA is not responsible for the content of
>
> any material posted to this list.

#302 From: "Detlef Groth" <dgroth@...>
Date: Thu Sep 14, 2000 9:52 am
Subject: Re: MicroEmacs for 8086
dgroth@...
Send Email Send Email
 
Hello,
<snip>
> As for windows CE. I have got access to the developer
> kit. I would not imagine that a port to CE would
> be that difficult - does anybody have a requirement
> for this ??
>
> Regards
> Jon.

Yes, I have now a requirement for a small me-executable on windows
ce,
providing the most neccessary stuff. It would be great to live
without
all these ebook readers, notetakers, adressbooks and so on and to do
all inside me also here.

I dont have visual-c, so I can't use the special ms-sdk for win-ce I
suppose, so if Jon can do the job, this would be very great.
I know there is the old uemacs for windows-ce also, but why leave a
winning horse.

Thanks,

Detlef

#303 From: bill@...
Date: Thu Sep 21, 2000 8:15 pm
Subject: New release
bill@...
Send Email Send Email
 
Dear ME users,

We're at last  coming  to a new  release,  we are  aiming  for near the end of
October.

So this is a last request for any bugs, annoyances or feature requests. If you
have any  please  either  mail me on the above  email  address or through  the
normal channels.

Steve

#304 From: Jon <jon@...>
Date: Thu Sep 21, 2000 11:48 pm
Subject: Re: New release
jon@...
Send Email Send Email
 
Well done Steve - gone and committed us now !!

I'll try and get the Windows installer up and
running again for this release. I've received
a few complaints about not having an up-to-date
Install Shield for Windows.

Jon.

bill@... wrote:
>
> Dear ME users,
>
> We're at last  coming  to a new  release,  we are  aiming  for near the end of
> October.
>
> So this is a last request for any bugs, annoyances or feature requests. If you
> have any  please  either  mail me on the above  email  address or through  the
> normal channels.
>
> Steve

#305 From: Jörgen Jägermon <jorgen_jagermon@...>
Date: Fri Nov 3, 2000 2:33 pm
Subject: MicroEmacs siz vs functionality
jorgen_jagermon@...
Send Email Send Email
 
Hi there.

I'm using MicroEmacs on a daily basis and would like to find out, ways
to or documentation about
HOW-TO recompile MicroEmacs with my own choice of options.

For example can I remove the menu "Insert" and the underlying
functionality, the question goes for i.e "Format", "Execute" and
"Tools".

In other words eventhough MicroEmacs is much lighter than Emacs, I would
(and maybe someothers) to make it even lighter and slimmer, into only an
editor.
Is it possible to give MicroEmacs the possibility to support a package
view where one could choose between all or some of the packages.

I don't use ME for emails, calendar, insertions, formatting, etc.

	 Best regards Jörgen J., Stockholm, Sweden.
--
Jörgen Jägermon (SC/JöJ)       	 E-mail: jorgen_jagermon@...
Mixed Signal EDA support             Tel   : +46 (0)8 580 24 522
MITEL Medical Semiconductor BU       Fax   : +46 (0)8 580 20 190
Bruttovägen 1, Box 520               Web   : http://www.mitelsemi.com
SE-175 26 Järfälla, SWEDEN                   http://www.mitel.se

#306 From: bill@...
Date: Wed Nov 15, 2000 1:20 am
Subject: Re: MicroEmacs siz vs functionality
bill@...
Send Email Send Email
 
Jorgen,

Sorry  for the  delay in  replying  (I've  just  become a Dad and I'm over the
moon).


This is a largely  unexplored area and not documented - but possible. You will
need a recent release (one with MEOSD defined in emain.h - more on that later)
but there are a few things to bare in mind first.

ME is designed to have a very  powerful  macro  language  and a very small (as
small as  possible)  but very  flexible  core.  All  whizzy  features  such as
emailing,  calenders,  many of the format  commands etc are simply macros (emf
files in the macro  directory)  and are  therefore not a fixed part of ME. For
example,  there is only one  built in spell  command  'spell', it has a really
horrible, unusable  interface which is not designed to be used directly by the
user. As a result the code (in  spell.c) is only 2200 lines of code (3% of the
source). All the gui's are implemented as macros in spell.emf and dictionaries
in the *.edf files and if you don't use them they are not loaded!

So as the 'Insert'  menu is only created when the main menu is opened and each
of the  macros  called  from the  insert  menu are only  loaded  when they are
executed,  removing  the menu  will not have as big an effect as you may think
and many of the commands are base functionality which simply cannot be removed
(i.e. insert-file, execute-buffer).

I think there are two reasons for cutting down the size of ME:

1.  Save disk space

     Switching  off all  compilable  features  of ME will only reduce the image
     size by 25% (i.e. win32 binary is typically  about 400Kb it can be reduced
     to  about  300Kb)  which  is not very  significant.  Doing  this  also has
     drawbacks such as a non-tested  version, unexpected side effects etc. This
     is not to be recommended.

     More  significant and safer savings can be made by removing unused runtime
     files, e.g. the on-line  help file (me.ehf  currently  1505Kb and rising),
     any dictionary  files (*.edf typically 500Kb each). Remove any macro files
     (*.emf) you don't use, this is a slower  process but  currently  there are
     1470Kb of macro files some of which are just silly games etc.

2.  Save run-time memory

     Again  switching off all features will save 25% of the initial memory used
     but if you don't use features  like  spelling, the help, email etc that is
     about all you will save and of course you have the same disadvantages. But
     assuming you are making sure that these features  aren't used and you need
     to save memory then drastic action is required

There are two approaches to reducing the memory (and disk space) being used:

1.  Create a new macro environment

     This is the  simplest  and  safest  approach  (changing  the ME  binary by
     disabling  features may introduce bugs and nasty side effects - its making
     me nervous just thing about it).

     Create a new  empty ME  macros  directory  and just copy the  initialising
     me.emf file across, edit it and remove  anything  that you don't think you
     need, you can  remove all the "Do I need to do this?"  lines as well. Then
     run up ME, it will  probably  complain but it will tell you the line thats
     failed - remove  it??? Once its up and  running  use it, what do you miss?
     Find out what  line  sets it up in me.emf  and any of the macro  files you
     need and copy those across and try again.

     Alternatively create your own me.emf from scratch - may be quicker.

     Its a bit hit and miss but is safe (should have no nasty side effects) and
     will  drastically  reduce  the disk  usage and should  greatly  reduce the
     memory usage.

2.  Compile out unwanted ME features.

     I  recommend  doing  this only  after  doing step 1 and more  savings  are
     required.  The binary you will produce will not have been tested and while
     I will help with any problems you have I can't promise I can fix them.

     In an editor (ME  hopefully  :-) edit the source file emain.h near the top
     you will find 'MicroEmacs  Configuration options', the following twenty or
     so #defines enable various ME features, by simply  changing the '1' to '0'
     will switch the feature off, i.e. changing:

             #define MEOSD   1       /* enable OSD functionality */

     to:

             #define MEOSD   0       /* enable OSD functionality */

     will disable osd (all the menus and dialogs). But this means that any call
     to osd will fail which means that many macros will no longer work (in fact
     most things  won't,  me.emf sets up the main menu, hkc.emf  creates a menu
     and a help dialog etc), all these will have to be removed.

     Disabling  some  features  will have some  unexpected  side  effects, e.g.
     disabling  HILIGHT  will also  disable  the ident  command  as it uses the
     hilighting code.

     Hence if you can reduce  your  requirements  by doing step 1 first you may
     reduce some of the time and frustration doing this step.

     Note that when a feature  is  disabled  the  associated  commands  are not
     'removed',  they  can  still  be  executed  producing  the  error  message
     "[Command  not  available]".  This is  because  ME uses a fast hash  table
     command  lookup for better  macro  performance  and so commands  cannot be
     simply removed.

Hope this  helps and if you have any  suggestions  on how to improve  this, or
documentation on how to do this please send them my way,

Steve

> Subject: [jasspa] MicroEmacs siz vs functionality
> From: =?iso-8859-1?Q?J=F6rgen=20J=E4germon?= <jorgen_jagermon@...>
> Date: Fri, 03 Nov 2000 15:33:23 +0100
> To: jasspa@egroups.com
>
> Hi there.
>
> I'm using MicroEmacs on a daily basis and would like to find out, ways
> to or documentation about
> HOW-TO recompile MicroEmacs with my own choice of options.
>
> For example can I remove the menu "Insert" and the underlying
> functionality, the question goes for i.e "Format", "Execute" and
> "Tools".
>
> In other words eventhough MicroEmacs is much lighter than Emacs, I would
> (and maybe someothers) to make it even lighter and slimmer, into only an
> editor.
> Is it possible to give MicroEmacs the possibility to support a package
> view where one could choose between all or some of the packages.
>
> I don't use ME for emails, calendar, insertions, formatting, etc.
>
>  Best regards Jörgen J., Stockholm, Sweden.
> --
> Jörgen Jägermon (SC/JöJ)         E-mail: jorgen_jagermon@...
> Mixed Signal EDA support             Tel   : +46 (0)8 580 24 522
> MITEL Medical Semiconductor BU       Fax   : +46 (0)8 580 20 190
> Bruttovägen 1, Box 520               Web   : http://www.mitelsemi.com
> SE-175 26 Järfälla, SWEDEN                   http://www.mitel.se
>
>
> __________________________________________________________________________
>
>
>
> This is an unmoderated list. JASSPA is not responsible for the content of
>
> any material posted to this list.
>
>
>
>
>
>

#307 From: "Detlef Groth" <dgroth@...>
Date: Wed Dec 13, 2000 1:44 pm
Subject: java-class/function-tree
dgroth@...
Send Email Send Email
 
Hello,
almost christmas....,

I am trying to build a tree of java-classes and it's function
for easy navigating.
Until no I only get the functions because:

  !force search-forward "^    [a-zA-Z].*\(.*\){"

only get's the function's
like:
public void paint(Graphics g){
etc.

I tried to get eigther a function or a class like
!force search-forward "(^    [a-zA-Z].*\(.*\){\| *class)"
but it does not work.

Any suggestions ?

Best regards, Detlef

My code altogether:

define-macro list-java-functions
     ;set-variable $debug 1
     set-variable .buffer $buffer-bname
     delete-other-windows
     ; erase old-contents
     find-buffer &cat &cat "*" .buffer "functions*"
     split-window-horizontally
     25 shrink-window-horizontally
     set-variable :mouse-word-select "find-java-function"

     set-variable $buffer-hilight .hilight.java
     screen-update
     beginning-of-buffer
     set-mark
     end-of-buffer
     exchange-point-and-mark
     kill-region
     next-window-find-buffer .buffer
     set-alpha-mark "p"
     beginning-of-buffer
     !force search-forward "^    [a-zA-Z].*\(.*\){"
     !while $status
         beginning-of-line
         4 forward-char
         set-mark
         end-of-line
         exchange-point-and-mark
         copy-region
         set-variable .function @y
         -1 yank
         set-variable .line $window-line
         next-window-find-buffer &cat &cat "*" .buffer "functions*"
         execute-string &cat &cat &cat "" .function "\t\t\t  Line:"
.line
         insert-newline
         next-window-find-buffer .buffer
         !force search-forward "^    [a-zA-Z].*\(.*\){"
     !done
     goto-alpha-mark "p"
!emacro

define-macro find-java-function
     ;  set-variable $debug 1
     search-forward "Line:"
     set-mark
     forward-word
     exchange-point-and-mark
     copy-region
     set-variable #l0 @y
     -1 yank
     next-window
     #l0 goto-line
     recenter
!emacro

buffer-bind-key "list-java-functions" "f7"

#308 From: "Jasspa " <jasspa@...>
Date: Wed Dec 13, 2000 4:29 pm
Subject: Re: java-class/function-tree
jasspa@...
Send Email Send Email
 
Try being more specific in the search i.e.

^[ \t]*[a-zA-Z0-9_]+[ \t]*([^)]*)[ \t]*{

There are too many ".*"'s. The above was taken from the
command line so you need to macro it up a bit.

Regards
Jon.

--- In jasspa@egroups.com, "Detlef Groth" <dgroth@g...> wrote:
> Hello,
> almost christmas....,
>
> I am trying to build a tree of java-classes and it's function
> for easy navigating.
> Until no I only get the functions because:
>
>  !force search-forward "^    [a-zA-Z].*\(.*\){"
>
> only get's the function's
> like:
> public void paint(Graphics g){
> etc.
>
> I tried to get eigther a function or a class like
> !force search-forward "(^    [a-zA-Z].*\(.*\){\| *class)"
> but it does not work.
>
> Any suggestions ?
>
> Best regards, Detlef
>
> My code altogether:
>
> define-macro list-java-functions
>     ;set-variable $debug 1
>     set-variable .buffer $buffer-bname
>     delete-other-windows
>     ; erase old-contents
>     find-buffer &cat &cat "*" .buffer "functions*"
>     split-window-horizontally
>     25 shrink-window-horizontally
>     set-variable :mouse-word-select "find-java-function"
>
>     set-variable $buffer-hilight .hilight.java
>     screen-update
>     beginning-of-buffer
>     set-mark
>     end-of-buffer
>     exchange-point-and-mark
>     kill-region
>     next-window-find-buffer .buffer
>     set-alpha-mark "p"
>     beginning-of-buffer
>     !force search-forward "^    [a-zA-Z].*\(.*\){"
>     !while $status
>         beginning-of-line
>         4 forward-char
>         set-mark
>         end-of-line
>         exchange-point-and-mark
>         copy-region
>         set-variable .function @y
>         -1 yank
>         set-variable .line $window-line
>         next-window-find-buffer &cat &cat "*" .buffer "functions*"
>         execute-string &cat &cat &cat "" .function "\t\t\t  Line:"
> .line
>         insert-newline
>         next-window-find-buffer .buffer
>         !force search-forward "^    [a-zA-Z].*\(.*\){"
>     !done
>     goto-alpha-mark "p"
> !emacro
>
> define-macro find-java-function
>     ;  set-variable $debug 1
>     search-forward "Line:"
>     set-mark
>     forward-word
>     exchange-point-and-mark
>     copy-region
>     set-variable #l0 @y
>     -1 yank
>     next-window
>     #l0 goto-line
>     recenter
> !emacro
>
> buffer-bind-key "list-java-functions" "f7"

#309 From: Detlef Groth <dgroth@...>
Date: Thu Dec 14, 2000 8:58 am
Subject: Re: Re: java-class/function-tree
dgroth@...
Send Email Send Email
 
Jasspa wrote:

> Try being more specific in the search i.e.
>
> ^[ \t]*[a-zA-Z0-9_]+[ \t]*([^)]*)[ \t]*{
>
> There are too many ".*"'s. The above was taken from the
> command line so you need to macro it up a bit.
>
> Regards
> Jon.

Okay a new version is the following:
"^[ \t]*[a-zA-Z0-9_ ]*\([a-zA-Z0-9_ ,]*\){"
see:

define-macro list-java-functions
  ;   set-variable $debug 1
     set-variable .buffer $buffer-bname
     delete-other-windows
     ; erase old-contents
     find-buffer &cat &cat "*" .buffer "functions*"
     split-window-horizontally
     25 shrink-window-horizontally
     set-variable :mouse-word-select "find-java-function"
     set-variable $buffer-hilight .hilight.java
     screen-update
     beginning-of-buffer
     set-mark
     end-of-buffer
     exchange-point-and-mark
     kill-region
     next-window-find-buffer .buffer
; now search for functions
     set-alpha-mark "p"
     beginning-of-buffer
     set-variable .searchstring "^[ \t]*[a-zA-Z0-9_ ]*\([a-zA-Z0-9_ ,]*\){" ;
for easier updates of two places
      !force search-forward .searchstring
     !while $status
         beginning-of-line
         4 forward-char
         set-mark
         end-of-line
         exchange-point-and-mark
         copy-region
         set-variable .function @y
         -1 yank
         set-variable .line $window-line
         next-window-find-buffer &cat &cat "*" .buffer "functions*"
         execute-string &cat &cat &cat "" .function "\t\t\t  Line:" .line
         insert-newline
         next-window-find-buffer .buffer
         !force search-forward .searchstring
     !done
     goto-alpha-mark "p"
!emacro

but what is with classes:
see:
class Flag extends java.applet.Applet
{
     int x ; int y ;
     int $size = 30 ;
     Image flagImage ;;
     Flag(int x, int y, Image flagImage){ // constructor
         this.x = x ;
         this.y = y ;
         this.flagImage = flagImage;
     }
     void drawFlag(Graphics g){
         g.drawRoundRect(x,y,$size+4,$size+4,10,10);
         g.drawRoundRect(x-1,y-1,$size+6,$size+6,11,11);
         g.drawImage(flagImage,x+2,y+2, $size, $size, this);
     }
     boolean isClicked(int x_evt, int y_evt){
         if (x_evt > x && x_evt < (x+$size) && y_evt > y && y_evt < (y+$size)){

             return true ;
         }else return false ;
     }
}
I get something like:
Flag(int x, int y, Image flagImage){     Line:231
void drawFlag(Graphics g){     Line:236
boolean isClicked(int x_evt, int y_evt){     Line:241

but i want that:

class Flag extends java.applet.Applet
Flag(int x, int y, Image flagImage){     Line:231
void drawFlag(Graphics g){     Line:236
boolean isClicked(int x_evt, int y_evt){     Line:241

so I have to provide two(!) search-stringes in one expression using the `|'
operator like
in the following short perl-program:
# can be used in tools, but requires perl !!
# variables
my $file = $ARGV[0];
# Main
open (JAVA, "$file");
while (<JAVA>){
     if (/^[ \t]*[a-zA-Z0-9_ ]+\([a-zA-Z0-9_ ,]*\){|^[a-zA-Z0-9_ ]*class
[a-zA-Z0-9_ .]*/){ #}
         print ;
     }
}
if compiled into a *toc* window I have what I wan't, but how to do this  with
a ME-search-string
searching for two strings the `\|' failed....

Any suggestions ?
   regards,
Detlef

my hktoc.emf:
define-macro find-line
   beginning-of-line
  set-mark
  end-of-line
  exchange-point-and-mark
  copy-region
  set-variable #l0 @y
  -1 yank
  next-window
  set-alpha-mark "p"
  beginning-of-buffer
  !force search-forward #l0
     !if $status
         ml-write "Here it is !!!"
         recenter
     !else
         ml-write "Sorry not found ..."
         goto-alpha-mark "p"
     !endif
!emacro
define-macro fhook-toc
     set-variable :mouse-word-select find-line
     ; execute user extensions if enabled
!emacro

ml-write "[toc file hook loaded]"

; load in user extensions if found
!force execute-file "mytoc"

#310 From: jirko@...
Date: Fri Dec 15, 2000 1:34 am
Subject: Re: Re: java-class/function-tree
jirko@...
Send Email Send Email
 
Try using this:

         "^[ \t]*class\\|^[ \t]*[a-zA-Z0-9_ ]*([a-zA-Z0-9_ ,]*){"

You need to double the '\' before the '|', otherwise it is ignored. See the
help on "set-variable".

Also you should think about the "4 forward-char" a few lines below, because it
cuts of the first four characters if your function or your class definition
starts on the beginning of the line.

regards

Jirko



On 14-Dec-2000 Detlef Groth wrote:
>
>
> Jasspa wrote:
>
>> Try being more specific in the search i.e.
>>
>> ^[ \t]*[a-zA-Z0-9_]+[ \t]*([^)]*)[ \t]*{
>>
>> There are too many ".*"'s. The above was taken from the
>> command line so you need to macro it up a bit.
>>
>> Regards
>> Jon.
>
> Okay a new version is the following:
> "^[ \t]*[a-zA-Z0-9_ ]*\([a-zA-Z0-9_ ,]*\){"
> see:
>
> define-macro list-java-functions
>  ;   set-variable $debug 1
>     set-variable .buffer $buffer-bname
>     delete-other-windows
>     ; erase old-contents
>     find-buffer &cat &cat "*" .buffer "functions*"
>     split-window-horizontally
>     25 shrink-window-horizontally
>     set-variable :mouse-word-select "find-java-function"
>     set-variable $buffer-hilight .hilight.java
>     screen-update
>     beginning-of-buffer
>     set-mark
>     end-of-buffer
>     exchange-point-and-mark
>     kill-region
>     next-window-find-buffer .buffer
> ; now search for functions
>     set-alpha-mark "p"
>     beginning-of-buffer
>     set-variable .searchstring "^[ \t]*[a-zA-Z0-9_ ]*\([a-zA-Z0-9_ ,]*\){" ;
> for easier updates of two places
>      !force search-forward .searchstring
>     !while $status
>         beginning-of-line
>         4 forward-char
>         set-mark
>         end-of-line
>         exchange-point-and-mark
>         copy-region
>         set-variable .function @y
>         -1 yank
>         set-variable .line $window-line
>         next-window-find-buffer &cat &cat "*" .buffer "functions*"
>         execute-string &cat &cat &cat "" .function "\t\t\t  Line:" .line
>         insert-newline
>         next-window-find-buffer .buffer
>         !force search-forward .searchstring
>     !done
>     goto-alpha-mark "p"
> !emacro
>
> but what is with classes:
> see:
> class Flag extends java.applet.Applet
> {
>     int x ; int y ;
>     int $size = 30 ;
>     Image flagImage ;;
>     Flag(int x, int y, Image flagImage){ // constructor
>         this.x = x ;
>         this.y = y ;
>         this.flagImage = flagImage;
>     }
>     void drawFlag(Graphics g){
>         g.drawRoundRect(x,y,$size+4,$size+4,10,10);
>         g.drawRoundRect(x-1,y-1,$size+6,$size+6,11,11);
>         g.drawImage(flagImage,x+2,y+2, $size, $size, this);
>     }
>     boolean isClicked(int x_evt, int y_evt){
>         if (x_evt > x && x_evt < (x+$size) && y_evt > y && y_evt <
> (y+$size)){
>
>             return true ;
>         }else return false ;
>     }
> }
> I get something like:
> Flag(int x, int y, Image flagImage){     Line:231
> void drawFlag(Graphics g){     Line:236
> boolean isClicked(int x_evt, int y_evt){     Line:241
>
> but i want that:
>
> class Flag extends java.applet.Applet
> Flag(int x, int y, Image flagImage){     Line:231
> void drawFlag(Graphics g){     Line:236
> boolean isClicked(int x_evt, int y_evt){     Line:241
>
> so I have to provide two(!) search-stringes in one expression using the `|'
> operator like
> in the following short perl-program:
># can be used in tools, but requires perl !!
># variables
> my $file = $ARGV[0];
># Main
> open (JAVA, "$file");
> while (<JAVA>){
>     if (/^[ \t]*[a-zA-Z0-9_ ]+\([a-zA-Z0-9_ ,]*\){|^[a-zA-Z0-9_ ]*class
> [a-zA-Z0-9_ .]*/){ #}
>         print ;
>     }
> }
> if compiled into a *toc* window I have what I wan't, but how to do this  with
> a ME-search-string
> searching for two strings the `\|' failed....
>
> Any suggestions ?
>   regards,
> Detlef
>
> my hktoc.emf:
> define-macro find-line
>   beginning-of-line
>  set-mark
>  end-of-line
>  exchange-point-and-mark
>  copy-region
>  set-variable #l0 @y
>  -1 yank
>  next-window
>  set-alpha-mark "p"
>  beginning-of-buffer
>  !force search-forward #l0
>     !if $status
>         ml-write "Here it is !!!"
>         recenter
>     !else
>         ml-write "Sorry not found ..."
>         goto-alpha-mark "p"
>     !endif
> !emacro
> define-macro fhook-toc
>     set-variable :mouse-word-select find-line
>     ; execute user extensions if enabled
> !emacro
>
> ml-write "[toc file hook loaded]"
>
> ; load in user extensions if found
> !force execute-file "mytoc"
>
>
>
>
> __________________________________________________________________________
>
>
>
> This is an unmoderated list. JASSPA is not responsible for the content of
>
> any material posted to this list.

#311 From: Detlef Groth <dgroth@...>
Date: Fri Dec 15, 2000 9:12 am
Subject: Re: Re: java-class/function-tree
dgroth@...
Send Email Send Email
 
"^[ \t]*[a-zA-Z0-9_ ]*\([a-zA-Z0-9_ ,]*\){\\|\\Wclass "  !!!
                                '----------a  space !      '-------- two \\s
sounds like a programmers poem.
Thanks all, the trick was simply `\\|',
it is `|' in perl and it's competitors
it is `\|' in the microemacs-commandline,
it is `\\|' in the microemacs-macro.

I got the followong tree :
public class Start2 extends java.applet.Applet implements Runnable      Line:2
     public void init(){     Line:39
     public void start(){     Line:77
     public void stop(){     Line:84
     public void run(){     Line:89
             while(true){     Line:110 // waiting for input not a function ..
     public void paint(Graphics g){     Line:144
     public void update(Graphics g){     Line:188
     public void drawSlogans(){     Line:191
     public boolean mouseDown(Event evt, int x, int y){     Line:208
     void show(String text){     Line:235
class Flag extends java.applet.Applet      Line:240
     Flag(int x, int y, Image flagImage){     Line:245
     void drawFlag(Graphics g){     Line:250
     boolean isClicked(int x_evt, int y_evt){     Line:255
class Button extends java.applet.Applet      Line:261
     Button(int x, int y, int modus){     Line:266
     void drawButton(Graphics g){     Line:271
     boolean isClicked(int x_evt, int y_evt){     Line:286

what is almost that what I want. Of course this depends much on your coding
style
regarding the {}-brackets. Up to now I missed the javatags.emf. Did I miss a new
release ?

Follows the `final' release....

define-macro list-java-functions
  ;   set-variable $debug 1
     set-variable .buffer $buffer-bname
     delete-other-windows
     find-buffer &cat &cat "*" .buffer "functions*"
     split-window-horizontally
     25 shrink-window-horizontally
     ; to simple click the function
     set-variable :mouse-word-select "find-java-function"
     set-variable $buffer-hilight .hilight.java
     screen-update
      ; erase old-contents
     beginning-of-buffer
     set-mark
     end-of-buffer
     exchange-point-and-mark
     kill-region
     next-window-find-buffer .buffer
     set-alpha-mark "p"
     beginning-of-buffer
     ; declare what to find
     set-variable .searchstring "^[ \t]*[a-zA-Z0-9_ ]*\([a-zA-Z0-9_
,]*\){\\|\\Wclass "
     !force search-forward .searchstring
     !while $status ; if found put into the *function*-buffer
         beginning-of-line
         set-mark
         end-of-line
         exchange-point-and-mark
         copy-region
         end-of-line
         set-variable .function @y
         -1 yank
         set-variable .line $window-line
         next-window-find-buffer &cat &cat "*" .buffer "functions*"
         execute-string &cat &cat &cat "" .function "\t\t\t  Line:" .line
         insert-newline
         next-window-find-buffer .buffer
         !force search-forward .searchstring
     !done
     goto-alpha-mark "p"
!emacro

define-macro find-java-function
     search-forward "Line:"
     set-mark
     forward-word
     exchange-point-and-mark
     copy-region
     set-variable #l0 @y
     -1 yank
     next-window
     #l0 goto-line
     recenter
!emacro

buffer-bind-key "list-java-functions" "f7"

Best regards,
Detlef

#312 From: Jon <jon@...>
Date: Wed Dec 20, 2000 1:18 am
Subject: Windows Development kit - Free Borland Debugger now available.
jon@...
Send Email Send Email
 
I see that Borland are offering both a free compiler
and debugger for Windows now (http://www.inprise.com
- follow download links). Tbe ME alpha release supports
a BCC 5.5 build, but the debugger was not available
when I ported ME so I do not know what it is like.

Has anybody used this debugger yet ??

Regards
Jon.

#313 From: "Pedro Gomes" <GomeZ@...>
Date: Thu Dec 21, 2000 1:19 am
Subject: Re: Windows Development kit - Free Borland Debugger now available.
GomeZ@...
Send Email Send Email
 
--- In jasspa@egroups.com, Jon <jon@j...> wrote:
> I see that Borland are offering both a free compiler
> and debugger for Windows now (http://www.inprise.com
> - follow download links). Tbe ME alpha release supports
> a BCC 5.5 build, but the debugger was not available
> when I ported ME so I do not know what it is like.
>
> Has anybody used this debugger yet ??
>
> Regards
> Jon.

Hello Jon,

I dont wanna mistake you, but I think it's
the well known Borland (aka Inprise) console
type debugger they adopted for some time now.

I personally dont have any experience with it,
but I do prefer the MS integrated debugger.

Regards

Pedro Gomes

#314 From: Detlef Groth <dgroth@...>
Date: Fri Dec 22, 2000 12:32 pm
Subject: Universal(!)function tree-builder
dgroth@...
Send Email Send Email
 
Hello,

I wish everyone a mery christmas.

As a special gift follows the modification of the java-tree-builder.
The function is now put into my user.emf-file, but the search string is
defined in myjava.emf, also search-strings are defined in myemf.emf and
so on so you can build navigation trees for almost every programming
languages:

myemf.emf:
set-variable :searchstring "^define-macro "
buffer-bind-key "list-functions" "f7"

myjava.emf:
set-variable :searchstring "^[ \t]*[a-zA-Z0-9_ ]*\([a-zA-Z0-9_
,]*\){\\|\\Wclass "
buffer-bind-key "list-functions" "f7"

myperl.emf
set-variable :searchstring "^sub "
buffer-bind-key "list-functions" "f7"

and so on...

now user.emf:
define-macro list-functions
  set-variable .buffer $buffer-bname
  set-variable .buffer-hilight $buffer-hilight ; for keeping proper
hilight-scheme
     delete-other-windows
     find-buffer &cat &cat "*" .buffer "functions*"
     split-window-horizontally
     25 shrink-window-horizontally
     ; to simple click the function
     set-variable :mouse-word-select "find-function"
     set-variable $buffer-hilight .buffer-hilight
     screen-update
      ; erase old-contents
     beginning-of-buffer
     set-mark
     end-of-buffer
     exchange-point-and-mark
     kill-region
     next-window-find-buffer .buffer
     set-alpha-mark "p"
     beginning-of-buffer
      !force search-forward :searchstring ; must be declared in
my...emf-files
     !while $status ; if found put into the *function*-buffer
         beginning-of-line
         set-mark
         end-of-line
         exchange-point-and-mark
         copy-region
         end-of-line
         set-variable .function @y
         -1 yank
         set-variable .line $window-line
         next-window-find-buffer &cat &cat "*" .buffer "functions*"
         execute-string &cat &cat &cat "" .function "\t\t\t  Line:" .line

         insert-newline
         next-window-find-buffer .buffer
         !force search-forward :searchstring
     !done
     goto-alpha-mark "p"
!emacro

define-macro find-function
     search-forward "Line:"
     set-mark
     forward-word
     exchange-point-and-mark
     copy-region
     set-variable #l0 @y
     -1 yank
     next-window
     #l0 goto-line
     recenter
!emacro

regards,
Detlef

#315 From: Martin_Doering@...
Date: Fri Jan 19, 2001 2:30 pm
Subject: New User
Martin_Doering@...
Send Email Send Email
 
Hello, Jasspas!


I'm new to me (this means MicroEmacs, not myself). I never did use an Emacs
ever before and want to congratulate JASSPA and the other authors to this
nice small editor. I use the current MicroEmacs 00 - Date 00/01/26 on
win32, HP-UX and Linux.

I found it very useful to have such things like a graphical diff etc. and
also the mode dependent Tools menu is very nice. The only thing is, that I
have to figure out all the keybindings. I would like a more cua
(Windows/Mac/Motif) like style, not so much the old emacs like keys, even
1000 people told me, that it is better for fast wrting (I never wrote
fast).

Till now I used FTE, which unfortunately seems not to be developed any
further. Also I like to have an extension language. Is there a tutorial for
me beginners, how to program for it? I have to say, that I can not read
this language on the first look, like I would with Python, C or Pascal.

Also I like all the pseudo-graphicle dialogs, boxes, filebrowsers etc. And
the best thing: It seems, that I can open and close files and windows, and
don't have to concentrate on buffers, like I would on XEmacs/FSF Emacs.
This is more my style.

Is there some still existing macro to make me as windowish as it can be? I
would like to introduce this editor to all our developers. They normally
use NEdit. But I think me is more flexible, even it does not look as
familar to them, as NEdit does.

--------------------------------------------------------------------------------\
------------------------

Martin Döring

Messages 286 - 315 of 2695   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help