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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 2606 - 2642 of 2695   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#2606 From: Christof Boeckler <microemacs@...>
Date: Thu Sep 30, 2010 4:57 pm
Subject: DEB packages up for adoption
microemacs@...
Send Email Send Email
 
Hi to all on the list!

It has been very quiet from my side in the last year(s). Sorry for that,
but I have been too busy.

As some of you (esp. Jon and Steve) have noticed, my Debian and Ubuntu
packages are heavily outdated these days. Although I still use ME from
time to time, I spend my time in other programms (read IDEs not text
editors) and with other things, for which me is of no use.

Thus I give up my debian packages for adoption. Feel free to copy and
improve them as you like. I hope someone can host a similar but more up
to date APT repository than my one at
http://jamesie.de/microemacs/index.en.html

I know I should have made this step much earlier and apologize for not
responding to some of your attempts.
Last: thanks a lot for all efforts you put into JASSPA ME!! It is a
brilliant example for an open source project!

Cheers
         Christof

#2612 From: "Jonathan B. Bayer" <jbayer@...>
Date: Mon Oct 4, 2010 1:25 am
Subject: Spam again on the list
linuxgurugamer
Send Email Send Email
 
Hello Jasspa,

this user:   jassem333@yahoogroups.com
is sending spam.


JBB
---
Jonathan B. Bayer

mailto:jbayer@...

#2613 From: "jasspa" <jasspa@...>
Date: Mon Oct 4, 2010 12:52 pm
Subject: Re: Spam again on the list
jasspa
Send Email Send Email
 
Thanks

Banned and killed.
I may be forced to moderate all messages at this rate.

Regards
Jon

>
> this user:   jassem333@yahoogroups.com
> is sending spam.
>
>
> JBB
> ---
> Jonathan B. Bayer

#2614 From: "Jonathan B. Bayer" <jbayer@...>
Date: Mon Oct 4, 2010 2:31 pm
Subject: Re: Re: Spam again on the list
linuxgurugamer
Send Email Send Email
 
Hello jasspa,

Thank you.

Try moderating the new users first.  That seems to work well for some other lists I'm on .



JBB

Monday, October 4, 2010, 8:52:58 AM, you wrote:


  
Thanks

Banned and killed. 
I may be forced to moderate all messages at this rate. 

Regards
Jon


> this user: jassem333@yahoogroups.com
> is sending spam.


> JBB
> ---
> Jonathan B. Bayer






JBB
---
Jonathan B. Bayer

mailto:jbayer@...

#2615 From: Jeremy Cowgar <jeremy@...>
Date: Mon Oct 4, 2010 4:48 pm
Subject: Re: Spam again on the list
cp200205
Send Email Send Email
 
Another spammer.

x.usa10@...

Jon said: "I may be forced to moderate all messages at this rate. "

May try, as Jonathan suggested, moderating new users, I'd think that
would be a bit easier but just guessing.

Jeremy

#2616 From: "cp200205" <jeremy@...>
Date: Tue Nov 2, 2010 3:33 am
Subject: Re: Overwrite Selection
cp200205
Send Email Send Email
 
I guess I am back to this same wish. If text is selected and I type, can the
selected text be automatically deleted?

Jeremy

--- In jasspa@yahoogroups.com, Thomas Hundt <thundt@...> wrote:
>
> Yes, I know what you mean.  Windows apps get you used to doing stuff
> like that.  Hitting ^W is not possible?  (I think you can do it even
> after you've typed something and noticed that your selection has become
> un-highlighted and has started being pushed to the right by your new
> text.  Just because an area is no longer highlighted does not mean it is
> not still selected.)
>
> If you really do want this, I guess the question for MicroEmacs is, how
> is it supposed to know when to do this auto-killing behavior.  Whenever
> something is selected, and the selection is highlighted, and you hit a
> self-insert key (i.e., not a navigational or command one)?  It could be
> called "windows notepad mode".
>
> -Th
>
>
>
> Jeremy Cowgar wrote:
> > Is it possible to configure MicroEmacs to overwrite what is currently
> > selected? I have gotten into the habbit of doing things like Shift-Home,
> > Hello, World! By default, MicroEmacs un-selects the text and where ever the
> > cursor is, starts entering the text I enter.
> >
> > I would like it to remove the text on first key stroke. Is that possible?
> >
> > Jeremy
>

#2617 From: "Jeremy Cowgar" <jeremy@...>
Date: Tue Nov 2, 2010 8:10 am
Subject: Help with eTML mode
cp200205
Send Email Send Email
 

I am a core developer with the Euphoria team (http://www.openeuphoria.org) and over the past few years have “perfected” (loose use of the word J) a Euphoria mode that supports all the new features of v4.0 that will be going RC1 on Nov 8th. Now, the entire Euphoria website is written in, of course, Euphoria. We have what we call eTML, Euphoria Template Markup Language. It’s no different than ASP or any other number of web template systems. The Euphoria mode has full indentation support as we as highlighting support. I am able to highlight Euphoria code inside of the eTML files but I am not able to get indentation to work. I would absolutely love to be able to use Tools > Reformat Buffer on our eTML scripts when I am editing them.

 

I have followed closely the hkasp.emf file trying to make this work but after about 6 hours, I’m giving up. I am sure it’s something simple that I am missing. I was just really hoping to solve the problem. Can someone help me figure out what’s wrong with my hketml.emf file?

 

The hkeuphoria.emf file is: http://rapideuphoria.svn.sourceforge.net/viewvc/rapideuphoria/tools/editors/microemacs/hkeuphoria.emf?revision=3778

 

The hketml.emf file is: http://rapideuphoria.svn.sourceforge.net/viewvc/rapideuphoria/tools/editors/microemacs/hketml.emf?revision=3778

 

An example that should highlight (periods added for indentation)

 

<html>

<%

…./* Dummy Test */

....if TRUE then

……..do_something()

….end if

%>

</html>

 

The file name should be something  like test.etml . You can place the code into a file named test.ex and see that it indents properly there but in the etml file it’s just flat, no indentation.

 

Thank you for any help.

 

Jeremy Cowgar

OpenEuphoria

 


#2618 From: Steven Phillips <bill@...>
Date: Tue Nov 2, 2010 9:26 am
Subject: Re: Help with eTML mode
bill@...
Send Email Send Email
 
This is one for me, I should be able to get this working but it may take me a little time...

Steve

Jeremy Cowgar wrote:
 

I am a core developer with the Euphoria team (http://www.openeuphoria.org) and over the past few years have “perfected” (loose use of the word J) a Euphoria mode that supports all the new features of v4.0 that will be going RC1 on Nov 8th. Now, the entire Euphoria website is written in, of course, Euphoria. We have what we call eTML, Euphoria Template Markup Language. It’s no different than ASP or any other number of web template systems. The Euphoria mode has full indentation support as we as highlighting support. I am able to highlight Euphoria code inside of the eTML files but I am not able to get indentation to work. I would absolutely love to be able to use Tools > Reformat Buffer on our eTML scripts when I am editing them.

 

I have followed closely the hkasp.emf file trying to make this work but after about 6 hours, I’m giving up. I am sure it’s something simple that I am missing. I was just really hoping to solve the problem. Can someone help me figure out what’s wrong with my hketml.emf file?

 

The hkeuphoria.emf file is: http://rapideuphoria.svn.sourceforge.net/viewvc/rapideuphoria/tools/editors/microemacs/hkeuphoria.emf?revision=3778

 

The hketml.emf file is: http://rapideuphoria.svn.sourceforge.net/viewvc/rapideuphoria/tools/editors/microemacs/hketml.emf?revision=3778

 

An example that should highlight (periods added for indentation)

 

<html>

<%

…./* Dummy Test */

....if TRUE then

……..do_something()

….end if

%>

</html>

 

The file name should be something  like test.etml . You can place the code into a file named test.ex and see that it indents properly there but in the etml file it’s just flat, no indentation.

 

Thank you for any help.

 

Jeremy Cowgar

OpenEuphoria

 


#2619 From: Steven Phillips <bill@...>
Date: Tue Nov 2, 2010 9:24 am
Subject: Re: Re: Overwrite Selection
bill@...
Send Email Send Email
 
Is this to work with just the 'MS Shift Region' feature (i.e. holding down the shift key to define the require selection to be overwritten)? with the mouse? with a region defined by set-mark (esc space)?  or a combination of all three?

The MS shift region may be possible without a huge impact, likewise the mouse if MS Shift was enabled, but trying to implement this with support for a general set-mark could be awkward to say the least.

Steve

cp200205 wrote:
 

I guess I am back to this same wish. If text is selected and I type, can the selected text be automatically deleted?

Jeremy

--- In jasspa@yahoogroups.com, Thomas Hundt <thundt@...> wrote:
>
> Yes, I know what you mean. Windows apps get you used to doing stuff
> like that. Hitting ^W is not possible? (I think you can do it even
> after you've typed something and noticed that your selection has become
> un-highlighted and has started being pushed to the right by your new
> text. Just because an area is no longer highlighted does not mean it is
> not still selected.)
>
> If you really do want this, I guess the question for MicroEmacs is, how
> is it supposed to know when to do this auto-killing behavior. Whenever
> something is selected, and the selection is highlighted, and you hit a
> self-insert key (i.e., not a navigational or command one)? It could be
> called "windows notepad mode".
>
> -Th
>
>
>
> Jeremy Cowgar wrote:
> > Is it possible to configure MicroEmacs to overwrite what is currently
> > selected? I have gotten into the habbit of doing things like Shift-Home,
> > Hello, World! By default, MicroEmacs un-selects the text and where ever the
> > cursor is, starts entering the text I enter.
> >
> > I would like it to remove the text on first key stroke. Is that possible?
> >
> > Jeremy
>


#2620 From: "Jeremy Cowgar" <jeremy@...>
Date: Tue Nov 2, 2010 2:19 pm
Subject: RE: Re: Overwrite Selection
cp200205
Send Email Send Email
 

Yes, just MS shift region.

 

Jeremy

 

From: jasspa@yahoogroups.com [mailto:jasspa@yahoogroups.com] On Behalf Of Steven Phillips
Sent: Tuesday, November 02, 2010 5:25 AM
To: jasspa@yahoogroups.com
Subject: Re: [jasspa] Re: Overwrite Selection

 

 

Is this to work with just the 'MS Shift Region' feature (i.e. holding down the shift key to define the require selection to be overwritten)? with the mouse? with a region defined by set-mark (esc space)?  or a combination of all three?

The MS shift region may be possible without a huge impact, likewise the mouse if MS Shift was enabled, but trying to implement this with support for a general set-mark could be awkward to say the least.

Steve

cp200205 wrote:

 

I guess I am back to this same wish. If text is selected and I type, can the selected text be automatically deleted?

Jeremy

--- In jasspa@yahoogroups.com, Thomas Hundt <thundt@...> wrote:
>
> Yes, I know what you mean. Windows apps get you used to doing stuff
> like that. Hitting ^W is not possible? (I think you can do it even
> after you've typed something and noticed that your selection has become
> un-highlighted and has started being pushed to the right by your new
> text. Just because an area is no longer highlighted does not mean it is
> not still selected.)
>
> If you really do want this, I guess the question for MicroEmacs is, how
> is it supposed to know when to do this auto-killing behavior. Whenever
> something is selected, and the selection is highlighted, and you hit a
> self-insert key (i.e., not a navigational or command one)? It could be
> called "windows notepad mode".
>
> -Th
>
>
>
> Jeremy Cowgar wrote:
> > Is it possible to configure MicroEmacs to overwrite what is currently
> > selected? I have gotten into the habbit of doing things like Shift-Home,
> > Hello, World! By default, MicroEmacs un-selects the text and where ever the
> > cursor is, starts entering the text I enter.
> >
> > I would like it to remove the text on first key stroke. Is that possible?
> >
> > Jeremy
>


#2621 From: "Jeremy Cowgar" <jeremy@...>
Date: Tue Nov 2, 2010 5:08 pm
Subject: RE: Help with eTML mode
cp200205
Send Email Send Email
 

I think a fresh start this morning help. I now have it working. I made several other non-related changes but as near as I can tell this is the diff that made all the magic start to happen:

 

     !if &exist .indent.euscript

         indent .hilight.etmltag t "<%" .indent.euscript

         indent .hilight.etmltag t "%>" .hilight.etml

        

-        indent .hilight.etml x "^<%" 0 .indent.euscript

-        indent .hilight.etml x ".<%" t .indent.euscript

+        indent .hilight.etml x "<%" t .indent.euscript

         indent .indent.euscript w "%>" -t 0

     !endif

 

The latest files can be retrieved from: http://rapideuphoria.svn.sourceforge.net/viewvc/rapideuphoria/tools/editors/microemacs/?diff_format=u if anyone is interested.

 

I am sure that these will not be the last revisions before Euphoria 4.0 goes final. I know that MicroEmacs ships with a Euphoria mode already, hkeupor, but when these revisions are done to the above files the above files will be much better than the hkeupor and up-to-date with Euphoria 4.0.

 

I’ll let the list know when the above files have reached a stable/final state.

 

Thanks for your help and the great editor!

 

Jeremy

 

From: jasspa@yahoogroups.com [mailto:jasspa@yahoogroups.com] On Behalf Of Steven Phillips
Sent: Tuesday, November 02, 2010 5:26 AM
To: jasspa@yahoogroups.com
Subject: Re: [jasspa] Help with eTML mode

 

 

This is one for me, I should be able to get this working but it may take me a little time...

Steve

Jeremy Cowgar wrote:

 

I am a core developer with the Euphoria team (http://www.openeuphoria.org) and over the past few years have “perfected” (loose use of the word J) a Euphoria mode that supports all the new features of v4.0 that will be going RC1 on Nov 8th. Now, the entire Euphoria website is written in, of course, Euphoria. We have what we call eTML, Euphoria Template Markup Language. It’s no different than ASP or any other number of web template systems. The Euphoria mode has full indentation support as we as highlighting support. I am able to highlight Euphoria code inside of the eTML files but I am not able to get indentation to work. I would absolutely love to be able to use Tools > Reformat Buffer on our eTML scripts when I am editing them.

 

I have followed closely the hkasp.emf file trying to make this work but after about 6 hours, I’m giving up. I am sure it’s something simple that I am missing. I was just really hoping to solve the problem. Can someone help me figure out what’s wrong with my hketml.emf file?

 

The hkeuphoria.emf file is: http://rapideuphoria.svn.sourceforge.net/viewvc/rapideuphoria/tools/editors/microemacs/hkeuphoria.emf?revision=3778

 

The hketml.emf file is: http://rapideuphoria.svn.sourceforge.net/viewvc/rapideuphoria/tools/editors/microemacs/hketml.emf?revision=3778

 

An example that should highlight (periods added for indentation)

 

<html>

<%

…./* Dummy Test */

....if TRUE then

……..do_something()

….end if

%>

</html>

 

The file name should be something  like test.etml . You can place the code into a file named test.ex and see that it indents properly there but in the etml file it’s just flat, no indentation.

 

Thank you for any help.

 

Jeremy Cowgar

OpenEuphoria

 


#2622 From: "Jeremy Cowgar" <jeremy@...>
Date: Tue Nov 2, 2010 8:20 pm
Subject: Adding tags to indent in HTML mode?
cp200205
Send Email Send Email
 

I would like to add additional indents to HTML tags. I created, in Jeremy.emf:

 

define-macro my-fhook-html

        indent #l1 n “<p” t

        indent #l1 o “</p>” -t

!emacro

 

I was thinking that would cause the HTML mode to include paragraph tags but that doesn’t seem to be the case. How can this be accomplished?

 

Thanks,

 

Jeremy

 


#2623 From: Steven Phillips <bill@...>
Date: Wed Dec 8, 2010 11:07 am
Subject: Re: Re: Overwrite Selection
bill@...
Send Email Send Email
 
Jeremy,

Can you please try out the following patch, below is a diff and attached is the complete emf file, I suggest you keep your current version just in case there is a problem. I may have missed an input key or two, please let me know if I have.

Also while doing this I noticed a fundamental difference between ME's shift region and the standard - if you shift a region and then move (i.e. let go of the shift and then press a cursor key) ME's shift region implementation still copies the region to the kill buffer whereas on windows you must use C-c to copy it into the cut/paste buffer. I guess I was thinking nore of Unix style mouse behaviour when I implemented this rather than a true MS region interface. Should this be changed or does this quirk suit ME?

Steve

*** msshift.emf    29 Aug 2009 17:47:39 -0000    2.12
--- msshift.emf    8 Dec 2010 10:58:55 -0000
***************
*** 27,39 ****
      !endif
      ; restore the input function so this only gets called once!
      set-variable $buffer-input .msshift.input
!     ; only treat delete and backspace specially
!     !if &lfi "|backward-delete-char|forward-delete-char|kill-region|" @cc
          set-variable .status "1"
          -1 yank
!         kill-region
          !return
!     !elif &lfi "|kill-rectangle|" @cc
          set-variable .status "1"
          -1 yank
          execute-named-command @cc
--- 27,38 ----
    !endif
    ; restore the input function so this only gets called once!
    set-variable $buffer-input .msshift.input
!   !if &lfi "|backward-delete-char|forward-delete-char|" @cc
      set-variable .status "1"
      -1 yank
!     -1 kill-region
      !return
!   !elif &lfi "|kill-region|kill-rectangle|" @cc
      set-variable .status "1"
      -1 yank
      execute-named-command @cc
***************
*** 41,52 ****
      !elif &seq "copy-region" @cc
          set-variable .status "1"
          !return
!     !elif &seq "yank" @cc
!         set-variable .status "1"
          -1 yank
          -1 kill-region
-         yank
-         !return
      !elif &seq "mouse-event" @cc
          set-variable .mouse-event.msshift 3
      !elif &set #l0 &sin "mouse-pick-" @cck
--- 40,51 ----
    !elif &seq "copy-region" @cc
      set-variable .status "1"
      !return
!   !elif &lfi "|yank|newline|" @cc
!     -1 yank
!     -1 kill-region
!   !elif &seq @cck @cc
      -1 yank
      -1 kill-region
    !elif &seq "mouse-event" @cc
      set-variable .mouse-event.msshift 3
    !elif &set #l0 &sin "mouse-pick-" @cck


Jeremy Cowgar wrote:
 

Yes, just MS shift region.

 

Jeremy

 

From: jasspa@yahoogroups.com [mailto:jasspa@yahoogroups.com] On Behalf Of Steven Phillips
Sent: Tuesday, November 02, 2010 5:25 AM
To: jasspa@yahoogroups.com
Subject: Re: [jasspa] Re: Overwrite Selection

 

 

Is this to work with just the 'MS Shift Region' feature (i.e. holding down the shift key to define the require selection to be overwritten)? with the mouse? with a region defined by set-mark (esc space)?  or a combination of all three?

The MS shift region may be possible without a huge impact, likewise the mouse if MS Shift was enabled, but trying to implement this with support for a general set-mark could be awkward to say the least.

Steve

cp200205 wrote:

 

I guess I am back to this same wish. If text is selected and I type, can the selected text be automatically deleted?

Jeremy

--- In jasspa@yahoogroups.com, Thomas Hundt <thundt@...> wrote:
>
> Yes, I know what you mean. Windows apps get you used to doing stuff
> like that. Hitting ^W is not possible? (I think you can do it even
> after you've typed something and noticed that your selection has become
> un-highlighted and has started being pushed to the right by your new
> text. Just because an area is no longer highlighted does not mean it is
> not still selected.)
>
> If you really do want this, I guess the question for MicroEmacs is, how
> is it supposed to know when to do this auto-killing behavior. Whenever
> something is selected, and the selection is highlighted, and you hit a
> self-insert key (i.e., not a navigational or command one)? It could be
> called "windows notepad mode".
>
> -Th
>
>
>
> Jeremy Cowgar wrote:
> > Is it possible to configure MicroEmacs to overwrite what is currently
> > selected? I have gotten into the habbit of doing things like Shift-Home,
> > Hello, World! By default, MicroEmacs un-selects the text and where ever the
> > cursor is, starts entering the text I enter.
> >
> > I would like it to remove the text on first key stroke. Is that possible?
> >
> > Jeremy
>


1 of 1 File(s)


#2624 From: "igcain" <igcain@...>
Date: Thu Jan 27, 2011 8:58 pm
Subject: Passing value of varaiable from command line to the start-up macro
igcain
Send Email Send Email
 
Hi there

I want to invoke the ne editor such that when it starts it goes to a specified
line of text ready for over typing.  My start-up macro in ne.emf looks something
like;

define-macro start-up
   19 buffer-mode "over"
   !force search-buffer "M" "MONTH= "
   end-of-line
!macro

unfortunately my start-up macro (as currently written) only ever goes to the
string constant "MONTH= ".  But what I really would like to do is execute the
command line with;

ne -vVarName="MONTH= " somefile

where VarName can be substituted for any string that happens to be present in
the file to be ediited.  Only thing is how do I reference the variable VarName
within the start-up macro?

Any help, much appreciated
Ian

#2625 From: Jon Green <jon@...>
Date: Thu Jan 27, 2011 11:09 pm
Subject: Re: Passing value of varaiable from command line to the start-up macro
bigfatmrmoose
Send Email Send Email
 
On 27/01/2011 20:58, igcain wrote:
> Hi there
>
> I want to invoke the ne editor such that when it starts it goes to a specified
line of text ready for over typing.  My start-up macro in ne.emf looks something
like;
>
> define-macro start-up
>    19 buffer-mode "over"
>    !force search-buffer "M" "MONTH= "
>    end-of-line
> !macro
>
> unfortunately my start-up macro (as currently written) only ever goes to the
string constant "MONTH= ".  But what I really would like to do is execute the
command line with;
>
> ne -vVarName="MONTH= " somefile
>
> where VarName can be substituted for any string that happens to be present in
the file to be ediited.  Only thing is how do I reference the variable VarName
within the start-up macro?
>
> Any help, much appreciated
> Ian
>

Hi Ian,

VarName needs to be a MicroEmacs variable i.e. $foo so you will do:

ne -v"$foo=MONTH= " somefile

Then in your start-up macro you reference the variable $foo.

search-buffer "M" $foo

You will need to be careful about how you quote the argument on the command
line if there are any special characters or spaces. This will depend on the
operating system you are using.

Before you test the start-up macro probably best to play with starting the
editor with the variable setting on the command line and checking that the
variable is coming through correctly with a

esc-x describe-variable $foo

This will show you the variable value. If it is OK then you can work on the
start-up.

Regards
Jon

#2626 From: Jon Green <jon@...>
Date: Thu Jan 27, 2011 11:03 pm
Subject: Re: Passing value of varaiable from command line to the start-up macro
bigfatmrmoose
Send Email Send Email
 
On 27/01/2011 20:58, igcain wrote:
> Hi there
>
> I want to invoke the ne editor such that when it starts it goes to a specified
line of text ready for over typing.  My start-up macro in ne.emf looks something
like;
>
> define-macro start-up
>    19 buffer-mode "over"
>    !force search-buffer "M" "MONTH= "
>    end-of-line
> !macro
>
> unfortunately my start-up macro (as currently written) only ever goes to the
string constant "MONTH= ".  But what I really would like to do is execute the
command line with;
>
> ne -vVarName="MONTH= " somefile
>
> where VarName can be substituted for any string that happens to be present in
the file to be ediited.  Only thing is how do I reference the variable VarName
within the start-up macro?
>
> Any help, much appreciated
> Ian
>

Hi Ian,

VarName needs to be a MicroEmacs variable i.e. $foo so you will do:

ne -v"$foo=MONTH= " somefile

Then in your start-up macro you reference the variable $foo.

search-buffer "M" $foo

You will need to be careful about how you quote the argument on the command
line if there are any special characters or spaces. This will depend on the
operating system you are using.

Before you test the start-up macro probably best to play with starting the
editor with the variable setting on the command line and checking that the
variable is coming through correctly with a

esc-x describe-variable $foo

This will show you the variable value. If it is OK then you can work on the
start-up.

Regards
Jon

#2627 From: "igcain" <igcain@...>
Date: Fri Jan 28, 2011 5:36 pm
Subject: Re: Passing value of varaiable from command line to the start-up macro
igcain
Send Email Send Email
 
--- In jasspa@yahoogroups.com, Jon Green <jon@...> wrote:
>
> On 27/01/2011 20:58, igcain wrote:
> > Hi there
> >
> > I want to invoke the ne editor such that when it starts it goes to a
specified line of text ready for over typing.  My start-up macro in ne.emf looks
something like;
> >
> > define-macro start-up
> >    19 buffer-mode "over"
> >    !force search-buffer "M" "MONTH= "
> >    end-of-line
> > !macro
> >
> > unfortunately my start-up macro (as currently written) only ever goes to the
string constant "MONTH= ".  But what I really would like to do is execute the
command line with;
> >
> > ne -vVarName="MONTH= " somefile
> >
> > where VarName can be substituted for any string that happens to be present
in the file to be ediited.  Only thing is how do I reference the variable
VarName within the start-up macro?
> >
> > Any help, much appreciated
> > Ian
> >
>
> Hi Ian,
>
> VarName needs to be a MicroEmacs variable i.e. $foo so you will do:
>
> ne -v"$foo=MONTH= " somefile
>
> Then in your start-up macro you reference the variable $foo.
>
> search-buffer "M" $foo
>
> You will need to be careful about how you quote the argument on the command
> line if there are any special characters or spaces. This will depend on the
> operating system you are using.
>
> Before you test the start-up macro probably best to play with starting the
> editor with the variable setting on the command line and checking that the
> variable is coming through correctly with a
>
> esc-x describe-variable $foo
>
> This will show you the variable value. If it is OK then you can work on the
> start-up.
>
> Regards
> Jon
>
Jon

thanks for the reply.  One question how do I know which variable I can use?

Ian

#2628 From: Jon Green <jon@...>
Date: Fri Jan 28, 2011 11:28 pm
Subject: Re: Re: Passing value of varaiable from command line to the start-up macro
bigfatmrmoose
Send Email Send Email
 
On 28/01/2011 17:36, igcain wrote:
>
> --- In jasspa@yahoogroups.com, Jon Green<jon@...>  wrote:
>> On 27/01/2011 20:58, igcain wrote:
>>> Hi there
>>>
>>> I want to invoke the ne editor such that when it starts it goes to a
specified line of text ready for over typing.  My start-up macro in ne.emf looks
something like;
>>>
>>> define-macro start-up
>>>     19 buffer-mode "over"
>>>     !force search-buffer "M" "MONTH= "
>>>     end-of-line
>>> !macro
>>>
>>> unfortunately my start-up macro (as currently written) only ever goes to the
string constant "MONTH= ".  But what I really would like to do is execute the
command line with;
>>>
>>> ne -vVarName="MONTH= " somefile
>>>
>>> where VarName can be substituted for any string that happens to be present
in the file to be ediited.  Only thing is how do I reference the variable
VarName within the start-up macro?
>>>
>>> Any help, much appreciated
>>> Ian
>>>
>> Hi Ian,
>>
>> VarName needs to be a MicroEmacs variable i.e. $foo so you will do:
>>
>> ne -v"$foo=MONTH= " somefile
>>
>> Then in your start-up macro you reference the variable $foo.
>>
>> search-buffer "M" $foo
>>
>> You will need to be careful about how you quote the argument on the command
>> line if there are any special characters or spaces. This will depend on the
>> operating system you are using.
>>
>> Before you test the start-up macro probably best to play with starting the
>> editor with the variable setting on the command line and checking that the
>> variable is coming through correctly with a
>>
>> esc-x describe-variable $foo
>>
>> This will show you the variable value. If it is OK then you can work on the
>> start-up.
>>
>> Regards
>> Jon
>>
> Jon
>
> thanks for the reply.  One question how do I know which variable I can use?
>
> Ian
>
Hi Ian,

You can use any variable that is *NOT* listed in

esc-x list-variables

These are ME's variables that are used by macros.
Also avoid any environment variable (i.e. $DISPLAY as used on UNIX).

So something like $arg1 would be a sensible choice i.e.
-v$arg1=This -v$arg2=and -v$arg3=that

Regards
Jon.

#2629 From: "igcain" <igcain@...>
Date: Sat Jan 29, 2011 9:58 am
Subject: Re: Passing value of varaiable from command line to the start-up macro
igcain
Send Email Send Email
 
--- In jasspa@yahoogroups.com, Jon Green <jon@...> wrote:
>
> On 28/01/2011 17:36, igcain wrote:
> >
> > --- In jasspa@yahoogroups.com, Jon Green<jon@>  wrote:
> >> On 27/01/2011 20:58, igcain wrote:
> >>> Hi there
> >>>
> >>> I want to invoke the ne editor such that when it starts it goes to a
specified line of text ready for over typing.  My start-up macro in ne.emf looks
something like;
> >>>
> >>> define-macro start-up
> >>>     19 buffer-mode "over"
> >>>     !force search-buffer "M" "MONTH= "
> >>>     end-of-line
> >>> !macro
> >>>
> >>> unfortunately my start-up macro (as currently written) only ever goes to
the string constant "MONTH= ".  But what I really would like to do is execute
the command line with;
> >>>
> >>> ne -vVarName="MONTH= " somefile
> >>>
> >>> where VarName can be substituted for any string that happens to be present
in the file to be ediited.  Only thing is how do I reference the variable
VarName within the start-up macro?
> >>>
> >>> Any help, much appreciated
> >>> Ian
> >>>
> >> Hi Ian,
> >>
> >> VarName needs to be a MicroEmacs variable i.e. $foo so you will do:
> >>
> >> ne -v"$foo=MONTH= " somefile
> >>
> >> Then in your start-up macro you reference the variable $foo.
> >>
> >> search-buffer "M" $foo
> >>
> >> You will need to be careful about how you quote the argument on the command
> >> line if there are any special characters or spaces. This will depend on the
> >> operating system you are using.
> >>
> >> Before you test the start-up macro probably best to play with starting the
> >> editor with the variable setting on the command line and checking that the
> >> variable is coming through correctly with a
> >>
> >> esc-x describe-variable $foo
> >>
> >> This will show you the variable value. If it is OK then you can work on the
> >> start-up.
> >>
> >> Regards
> >> Jon
> >>
> > Jon
> >
> > thanks for the reply.  One question how do I know which variable I can use?
> >
> > Ian
> >
> Hi Ian,
>
> You can use any variable that is *NOT* listed in
>
> esc-x list-variables
>
> These are ME's variables that are used by macros.
> Also avoid any environment variable (i.e. $DISPLAY as used on UNIX).
>
> So something like $arg1 would be a sensible choice i.e.
> -v$arg1=This -v$arg2=and -v$arg3=that
>
> Regards
> Jon.
>
Thanks for the advice Jon.  Unfortunately $arg1 doesn't work all I get is "arg1:
Undefined variable" when I use the command line
ne -v$arg1="Hello" greeting.dat

Do you think  the fact I am using nanoEmacs is an issue?

#2630 From: Jon Green <jon@...>
Date: Sat Jan 29, 2011 7:03 pm
Subject: Re: Re: Passing value of varaiable from command line to the start-up macro
bigfatmrmoose
Send Email Send Email
 
On 29/01/2011 09:58, igcain wrote:
>
>
> --- In jasspa@yahoogroups.com, Jon Green<jon@...>  wrote:
>>
>> On 28/01/2011 17:36, igcain wrote:
>>>
>>> --- In jasspa@yahoogroups.com, Jon Green<jon@>   wrote:
>>>> On 27/01/2011 20:58, igcain wrote:
>>>>> Hi there
>>>>>
>>>>> I want to invoke the ne editor such that when it starts it goes to a
specified line of text ready for over typing.  My start-up macro in ne.emf looks
something like;
>>>>>
>>>>> define-macro start-up
>>>>>      19 buffer-mode "over"
>>>>>      !force search-buffer "M" "MONTH= "
>>>>>      end-of-line
>>>>> !macro
>>>>>
>>>>> unfortunately my start-up macro (as currently written) only ever goes to
the string constant "MONTH= ".  But what I really would like to do is execute
the command line with;
>>>>>
>>>>> ne -vVarName="MONTH= " somefile
>>>>>
>>>>> where VarName can be substituted for any string that happens to be present
in the file to be ediited.  Only thing is how do I reference the variable
VarName within the start-up macro?
>>>>>
>>>>> Any help, much appreciated
>>>>> Ian
>>>>>
>>>> Hi Ian,
>>>>
>>>> VarName needs to be a MicroEmacs variable i.e. $foo so you will do:
>>>>
>>>> ne -v"$foo=MONTH= " somefile
>>>>
>>>> Then in your start-up macro you reference the variable $foo.
>>>>
>>>> search-buffer "M" $foo
>>>>
>>>> You will need to be careful about how you quote the argument on the command
>>>> line if there are any special characters or spaces. This will depend on the
>>>> operating system you are using.
>>>>
>>>> Before you test the start-up macro probably best to play with starting the
>>>> editor with the variable setting on the command line and checking that the
>>>> variable is coming through correctly with a
>>>>
>>>> esc-x describe-variable $foo
>>>>
>>>> This will show you the variable value. If it is OK then you can work on the
>>>> start-up.
>>>>
>>>> Regards
>>>> Jon
>>>>
>>> Jon
>>>
>>> thanks for the reply.  One question how do I know which variable I can use?
>>>
>>> Ian
>>>
>> Hi Ian,
>>
>> You can use any variable that is *NOT* listed in
>>
>> esc-x list-variables
>>
>> These are ME's variables that are used by macros.
>> Also avoid any environment variable (i.e. $DISPLAY as used on UNIX).
>>
>> So something like $arg1 would be a sensible choice i.e.
>> -v$arg1=This -v$arg2=and -v$arg3=that
>>
>> Regards
>> Jon.
>>
> Thanks for the advice Jon.  Unfortunately $arg1 doesn't work all I get is
"arg1: Undefined variable" when I use the command line
> ne -v$arg1="Hello" greeting.dat
>
> Do you think  the fact I am using nanoEmacs is an issue?
>

Hi Ian,

Should not be a problem. Problem is what O/S you are running.
So I am running on Sun Solaris at the moment and I can do:

orac% ne -v'$arg1=Hello'

ne runs up as normal

Then I can do a

esc-x describe-variable $arg1

and it is says "Hello" which is what I expect because that is what I passed.

On UNIX then I have to protect the $arg1 from the shell (zsh in my case) so I
have protected it with single quotes which stops the shell from expanding it.

If I do *NOT* quote it then the command shell complains i.e.

orac% ne -v$arg1=Hello
ne Error: Cannot set variable [] from the command-line

My best guess is that this is probably what you are seeing. So I think you are
currently fighting with your command shell and not ne. Protect the string with
a single quote pair (on UNIX/Linux/BSD), possibly it is a double quotes pair on
Windows (do not quote me on Windows as I am not an expert and a infrequent
user).

I have to admit that I do not use "ne" at all now as it does not carry all of
the baggage that I need, specifically the directory listing stuff. The only
time I have really used ne in the past is in bringing up systems where I need
an editor quickly and can FTP/HTTP the image onto the machine or where I need
to admin a system but do not want to install any packages. Given that disk
space memory is not such a problem these days then I much prefer the fully
featured "me" with UK/US spelling dictionaries installed and use the Zero
install image (http://www.jasspa.com/zeroinst.html) with a customised macro
file bundle which includes the spelling dictionaries and my extended file
template macros. The end result is that the file is much bigger but I still
have a single executable image "me" that I do not need to install and can just
run. Even on something like the EEE-PC where disk space is tight then I still
find the zero install image better. On such a space constrained device it uses
a much smaller footprint than a standard me install with the macro files
individually separately installed because the archive extension uses
compression and you do not suffer from the disk block size losses of each
individual small file.

Regards
Jon.

#2631 From: "igcain" <igcain@...>
Date: Sun Jan 30, 2011 9:00 am
Subject: Re: Passing value of varaiable from command line to the start-up macro
igcain
Send Email Send Email
 
--- In jasspa@yahoogroups.com, Jon Green <jon@...> wrote:
>
> On 29/01/2011 09:58, igcain wrote:
> >
> >
> > --- In jasspa@yahoogroups.com, Jon Green<jon@>  wrote:
> >>
> >> On 28/01/2011 17:36, igcain wrote:
> >>>
> >>> --- In jasspa@yahoogroups.com, Jon Green<jon@>   wrote:
> >>>> On 27/01/2011 20:58, igcain wrote:
> >>>>> Hi there
> >>>>>
> >>>>> I want to invoke the ne editor such that when it starts it goes to a
specified line of text ready for over typing.  My start-up macro in ne.emf looks
something like;
> >>>>>
> >>>>> define-macro start-up
> >>>>>      19 buffer-mode "over"
> >>>>>      !force search-buffer "M" "MONTH= "
> >>>>>      end-of-line
> >>>>> !macro
> >>>>>
> >>>>> unfortunately my start-up macro (as currently written) only ever goes to
the string constant "MONTH= ".  But what I really would like to do is execute
the command line with;
> >>>>>
> >>>>> ne -vVarName="MONTH= " somefile
> >>>>>
> >>>>> where VarName can be substituted for any string that happens to be
present in the file to be ediited.  Only thing is how do I reference the
variable VarName within the start-up macro?
> >>>>>
> >>>>> Any help, much appreciated
> >>>>> Ian
> >>>>>
> >>>> Hi Ian,
> >>>>
> >>>> VarName needs to be a MicroEmacs variable i.e. $foo so you will do:
> >>>>
> >>>> ne -v"$foo=MONTH= " somefile
> >>>>
> >>>> Then in your start-up macro you reference the variable $foo.
> >>>>
> >>>> search-buffer "M" $foo
> >>>>
> >>>> You will need to be careful about how you quote the argument on the
command
> >>>> line if there are any special characters or spaces. This will depend on
the
> >>>> operating system you are using.
> >>>>
> >>>> Before you test the start-up macro probably best to play with starting
the
> >>>> editor with the variable setting on the command line and checking that
the
> >>>> variable is coming through correctly with a
> >>>>
> >>>> esc-x describe-variable $foo
> >>>>
> >>>> This will show you the variable value. If it is OK then you can work on
the
> >>>> start-up.
> >>>>
> >>>> Regards
> >>>> Jon
> >>>>
> >>> Jon
> >>>
> >>> thanks for the reply.  One question how do I know which variable I can
use?
> >>>
> >>> Ian
> >>>
> >> Hi Ian,
> >>
> >> You can use any variable that is *NOT* listed in
> >>
> >> esc-x list-variables
> >>
> >> These are ME's variables that are used by macros.
> >> Also avoid any environment variable (i.e. $DISPLAY as used on UNIX).
> >>
> >> So something like $arg1 would be a sensible choice i.e.
> >> -v$arg1=This -v$arg2=and -v$arg3=that
> >>
> >> Regards
> >> Jon.
> >>
> > Thanks for the advice Jon.  Unfortunately $arg1 doesn't work all I get is
"arg1: Undefined variable" when I use the command line
> > ne -v$arg1="Hello" greeting.dat
> >
> > Do you think  the fact I am using nanoEmacs is an issue?
> >
>
> Hi Ian,
>
> Should not be a problem. Problem is what O/S you are running.
> So I am running on Sun Solaris at the moment and I can do:
>
> orac% ne -v'$arg1=Hello'
>
> ne runs up as normal
>
> Then I can do a
>
> esc-x describe-variable $arg1
>
> and it is says "Hello" which is what I expect because that is what I passed.
>
> On UNIX then I have to protect the $arg1 from the shell (zsh in my case) so I
> have protected it with single quotes which stops the shell from expanding it.
>
> If I do *NOT* quote it then the command shell complains i.e.
>
> orac% ne -v$arg1=Hello
> ne Error: Cannot set variable [] from the command-line
>
> My best guess is that this is probably what you are seeing. So I think you are
> currently fighting with your command shell and not ne. Protect the string with
> a single quote pair (on UNIX/Linux/BSD), possibly it is a double quotes pair
on
> Windows (do not quote me on Windows as I am not an expert and a infrequent
user).
>
> I have to admit that I do not use "ne" at all now as it does not carry all of
> the baggage that I need, specifically the directory listing stuff. The only
> time I have really used ne in the past is in bringing up systems where I need
> an editor quickly and can FTP/HTTP the image onto the machine or where I need
> to admin a system but do not want to install any packages. Given that disk
> space memory is not such a problem these days then I much prefer the fully
> featured "me" with UK/US spelling dictionaries installed and use the Zero
> install image (http://www.jasspa.com/zeroinst.html) with a customised macro
> file bundle which includes the spelling dictionaries and my extended file
> template macros. The end result is that the file is much bigger but I still
> have a single executable image "me" that I do not need to install and can just
> run. Even on something like the EEE-PC where disk space is tight then I still
> find the zero install image better. On such a space constrained device it uses
> a much smaller footprint than a standard me install with the macro files
> individually separately installed because the archive extension uses
> compression and you do not suffer from the disk block size losses of each
> individual small file.
>
> Regards
> Jon.
>
Jon

The single quotes did it! (can't think why I hadn't tried that before)

Thanks for all the help.

Ian

#2634 From: Jon Green <jon@...>
Date: Wed Feb 23, 2011 8:18 pm
Subject: Sorry spam!
jng614
Send Email Send Email
 
The spam poster has been removed as have messages.
Jon.

#2635 From: Jeremy Cowgar <jeremy@...>
Date: Wed May 4, 2011 2:30 pm
Subject: A Task Timer for MicroEmacs - blog post
cp200205
Send Email Send Email
 
#2636 From: "cp200205" <jeremy@...>
Date: Wed May 4, 2011 4:44 pm
Subject: Re: Overwrite Selection
cp200205
Send Email Send Email
 
Steve,

I am terribly sorry! I have not gotten an email from the Jasspa group since
11/02/2010 for some reason. I need to look at the mail logs and figure out what
went wrong. I did not see this (or any other message past that date) until I
posted one this morning. When I saw it didn't come in I came to the web
interface to see if it actually posted and now see all sorts of other messages I
have not got.

Anyway, I did apply the patch just now and it seems to be working great. About
the copying of the region to the clipboard. I personally like that. I didn't
catch on that it was doing that. However it is not the way the MS-shift stuff
works in Microsoft. So... can it be the way it works in MicroEmacs? As I said, I
personally like it that way but I'm probably not the only one using it. I guess
it matters how much MicroEmacs wants to emulate the MS shift stuff. That's your
call.

Jeremy

--- In jasspa@yahoogroups.com, Steven Phillips <bill@...> wrote:
>
> Jeremy,
>
> Can you please try out the following patch, below is a diff and attached
> is the complete emf file, I suggest you keep your current version just
> in case there is a problem. I may have missed an input key or two,
> please let me know if I have.
>
> Also while doing this I noticed a fundamental difference between ME's
> shift region and the standard - if you shift a region and then move
> (i.e. let go of the shift and then press a cursor key) ME's shift region
> implementation still copies the region to the kill buffer whereas on
> windows you must use C-c to copy it into the cut/paste buffer. I guess I
> was thinking nore of Unix style mouse behaviour when I implemented this
> rather than a true MS region interface. Should this be changed or does
> this quirk suit ME?
>
> Steve

#2637 From: Steven Phillips <bill@...>
Date: Thu May 5, 2011 9:26 am
Subject: Re: Re: Overwrite Selection
bill@...
Send Email Send Email
 
I also think it should be left as is - Windows uses C-x, C-c & C-v for copy buffer manipulation, all of these key bindings are used in ME for other things so ME's shift region support cannot be the same as Windows and if the user has to press 'esc w' once they have defined the 'shift region' what does this gain over the standard way of doing it? Not a lot.

Steve

cp200205 wrote:
 

Steve,

I am terribly sorry! I have not gotten an email from the Jasspa group since 11/02/2010 for some reason. I need to look at the mail logs and figure out what went wrong. I did not see this (or any other message past that date) until I posted one this morning. When I saw it didn't come in I came to the web interface to see if it actually posted and now see all sorts of other messages I have not got.

Anyway, I did apply the patch just now and it seems to be working great. About the copying of the region to the clipboard. I personally like that. I didn't catch on that it was doing that. However it is not the way the MS-shift stuff works in Microsoft. So... can it be the way it works in MicroEmacs? As I said, I personally like it that way but I'm probably not the only one using it. I guess it matters how much MicroEmacs wants to emulate the MS shift stuff. That's your call.

Jeremy

--- In jasspa@yahoogroups.com, Steven Phillips <bill@...> wrote:
>
> Jeremy,
>
> Can you please try out the following patch, below is a diff and attached
> is the complete emf file, I suggest you keep your current version just
> in case there is a problem. I may have missed an input key or two,
> please let me know if I have.
>
> Also while doing this I noticed a fundamental difference between ME's
> shift region and the standard - if you shift a region and then move
> (i.e. let go of the shift and then press a cursor key) ME's shift region
> implementation still copies the region to the kill buffer whereas on
> windows you must use C-c to copy it into the cut/paste buffer. I guess I
> was thinking nore of Unix style mouse behaviour when I implemented this
> rather than a true MS region interface. Should this be changed or does
> this quirk suit ME?
>
> Steve


#2638 From: "cp200205" <jeremy@...>
Date: Fri May 6, 2011 3:22 am
Subject: Smart Home Macro
cp200205
Send Email Send Email
 
I just wrote a smart home macro. When executing it will move the cursor to the
first non-blank location in the current line. If the cursor was already there,
however, it then moves the cursor to the first column. An example, assuming . is
leading space and ^ is the cursor:

....John^Doe    : execute smart-home and it will become:
....^John Doe   : execute smart-home again and it becomes:
^....John Doe   : execute again and it becomes:
....^John Doe   : each hit cycles between the two locations.

The source is included here and also available from my dotmicroemacs github repo
(as well as other macros and my configs):
https://github.com/jcowgar/dotmicroemacs

======== BEGIN ========
; Go to the first non-blank character on the current line. If already there,
; go to column 1
define-macro smart-home
     set-variable #l1 $window-acol

     beginning-of-line

     !repeat
         !force forward-char
         !if $status
             !if ¬ &sin @wc " \t"
                 set-variable #l0 1
             !endif
         !else
             set-variable #l0 1
         !endif
     !until #l0

     !if &equal $window-acol #l1
         beginning-of-line
     !end
!emacro
global-bind-key smart-home "home"
======== END ========

Jeremy Cowgar
http://jeremy.cowgar.com

#2639 From: "cp200205" <jeremy@...>
Date: Fri May 6, 2011 11:51 am
Subject: Re: Smart Home Macro
cp200205
Send Email Send Email
 
I made the macro more complex than necessary. Below is a simpler version with a
few qwirks fixed...

==== BEGIN ====
; Go to the first non-blank character on the current line. If already there,
; go to column 1
define-macro smart-home
     set-variable #l0 $window-acol

     beginning-of-line

     !while &sin @wc " \t"
         !force forward-char
     !done

     !if &equal $window-acol #l0
         beginning-of-line
     !end
!emacro
==== END ====

You can get the updated version on my github repo with other items as well,
https://github.com/jcowgar/dotmicroemacs

Jeremy

#2640 From: "vae_ik" <ilijak@...>
Date: Mon May 9, 2011 7:18 am
Subject: Re: Smart Home Macro
vae_ik
Send Email Send Email
 
Hi

There is a macro with such functionality in MicroEmacs distribution already.
Look for contrib/bol_eol.emf

Regards
Ilija



--- In jasspa@yahoogroups.com, "cp200205" <jeremy@...> wrote:
>
> I just wrote a smart home macro. When executing it will move the cursor to the
first non-blank location in the current line. If the cursor was already there,
however, it then moves the cursor to the first column. An example, assuming . is
leading space and ^ is the cursor:
>
> ....John^Doe    : execute smart-home and it will become:
> ....^John Doe   : execute smart-home again and it becomes:
> ^....John Doe   : execute again and it becomes:
> ....^John Doe   : each hit cycles between the two locations.
>
> The source is included here and also available from my dotmicroemacs github
repo (as well as other macros and my configs):
https://github.com/jcowgar/dotmicroemacs
>
> ======== BEGIN ========
> ; Go to the first non-blank character on the current line. If already there,
> ; go to column 1
> define-macro smart-home
>     set-variable #l1 $window-acol
>
>     beginning-of-line
>
>     !repeat
>         !force forward-char
>         !if $status
>             !if ¬ &sin @wc " \t"
>                 set-variable #l0 1
>             !endif
>         !else
>             set-variable #l0 1
>         !endif
>     !until #l0
>
>     !if &equal $window-acol #l1
>         beginning-of-line
>     !end
> !emacro
> global-bind-key smart-home "home"
> ======== END ========
>
> Jeremy Cowgar
> http://jeremy.cowgar.com
>

#2641 From: "cp200205" <jeremy@...>
Date: Thu May 12, 2011 2:33 pm
Subject: Re: Smart Home Macro
cp200205
Send Email Send Email
 
Opps :-/ Didn't intentionally reinvent the wheel.

Jeremy

--- In jasspa@yahoogroups.com, "vae_ik" <ilijak@...> wrote:
>
>
> Hi
>
> There is a macro with such functionality in MicroEmacs distribution already.
Look for contrib/bol_eol.emf
>

#2642 From: "cp200205" <jeremy@...>
Date: Thu May 12, 2011 3:22 pm
Subject: Go Mode for MicroEmacs... going into main Go repo
cp200205
Send Email Send Email
 
Hello,

I have written a mode for MicroEmacs for the Go language. I have a request to
place it into Go's main repository. I would like a second pair of eyes to go
over things if someone would. I showed a screen shot of MicroEmacs and quite a
few people were pretty excited about it.

http://jeremy.cowgar.com/files/microemacs-go.png

One existing problem I have right now is that the syntax highlighting is doing
so case insensitive but Go is a case sensitive language. Gotta get that fixed.
Other than that problem, does anyone see an issue or something that should be
changed?

https://github.com/jcowgar/dotmicroemacs/blob/master/hkgo.emf

Thanks for any input,

Jeremy

Messages 2606 - 2642 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