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 748 - 777 of 2695   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#748 From: "balaclavabob2" <balaclavabob2@...>
Date: Fri Oct 3, 2003 8:48 pm
Subject: hippie-expand from GNU Emacs
balaclavabob2
Send Email Send Email
 
Hello,

Is there any macro in microemacs which mimics the GNU Emacs hippie-expand?

hippie-expand is like an autocomplete while typing within a buffer.

For example:

int blah1, blah2, blah3;

Now if I typed 'b' and then activated 'hippie-expand' I would get
'blah1' then if I pressed it again I would get 'blah2' instead.

This is SO useful when using long variable names and if it is not
included it shouldn't be to hard to make a macro for it?

I don't have the time or the patience to make/test a macro todo this.

Bob

#749 From: Jon Green <jon@...>
Date: Fri Oct 3, 2003 9:56 pm
Subject: Re: hippie-expand from GNU Emacs
bigfatmrmoose
Send Email Send Email
 
balaclavabob2 wrote:
> Hello,
>
> Is there any macro in microemacs which mimics the GNU Emacs hippie-expand?
>
> hippie-expand is like an autocomplete while typing within a buffer.
>
> For example:
>
> int blah1, blah2, blah3;
>
> Now if I typed 'b' and then activated 'hippie-expand' I would get
> 'blah1' then if I pressed it again I would get 'blah2' instead.
>
> This is SO useful when using long variable names and if it is not
> included it shouldn't be to hard to make a macro for it?
>
> I don't have the time or the patience to make/test a macro todo this.
>
> Bob
>

Hi Bob,

	 I'm not familier with hippie-expand. At the moment there
	 is an auto look-back expansion which kind of does
	 what you are looking for.

	 Assuming that you are running the latest release 12/02
	 then:

		 M-x user-setup
		 Goto "General"
		 And on the "Abbrev Expansion" then enable
		 "Lookbk" (I usually enable "Dic't" as well).
		 Then "Save" and "Current"

	 <esc><esc> bound to "expand-abbrev-handle" (if you want
	 to re-bind) will then look back, match and then expand
	 whatever it finds that matches the starting string at
	 the cursor.

	 i.e.

	 elephant
	 giraffe
	 kangaroo

	 ele<esc><esc> -> elephant

	 May be with a little tweeking to the macros then we could
	 give you the previous occurence etc. as per hippe, but it
	 is not doing this at the moment.

	 Other useful thing may be...

	 There is also the "occur" macro (right mouse option
	 may also be bound to S-F7). This opens another
	 window and finds occurences which can be quite useful
	 in moving around the file or simply copying out of
	 the window.

	 See how you go with these, if you've some more
	 suggestions of what we could do then get back to us.

Regards
Jon.

#750 From: "Phillips, Steven" <sphillips@...>
Date: Mon Oct 6, 2003 7:57 am
Subject: RE: hippie-expand from GNU Emacs
sphillips@...
Send Email Send Email
 
It looks like Emacs's hippie-expand is very similar to ME's expand-abbrev-handle
in that it tries different methods to get an expansion. The behaviour described
below is the 'try-expand-dabbrev' part of it which is similar to ME's
expand-look-back command. The ability to search back further if executed again
is a useful extension which I'll try to implement, not sure when though,

Steve

-----Original Message-----
From: Jon Green [mailto:jon@...]
Sent: 03 October 2003 22:57
To: jasspa@yahoogroups.com
Subject: Re: [jasspa] hippie-expand from GNU Emacs


balaclavabob2 wrote:
> Hello,
>
> Is there any macro in microemacs which mimics the GNU Emacs hippie-expand?
>
> hippie-expand is like an autocomplete while typing within a buffer.
>
> For example:
>
> int blah1, blah2, blah3;
>
> Now if I typed 'b' and then activated 'hippie-expand' I would get
> 'blah1' then if I pressed it again I would get 'blah2' instead.
>
> This is SO useful when using long variable names and if it is not
> included it shouldn't be to hard to make a macro for it?
>
> I don't have the time or the patience to make/test a macro todo this.
>
> Bob
>

Hi Bob,

	 I'm not familier with hippie-expand. At the moment there
	 is an auto look-back expansion which kind of does
	 what you are looking for.

	 Assuming that you are running the latest release 12/02
	 then:

		 M-x user-setup
		 Goto "General"
		 And on the "Abbrev Expansion" then enable
		 "Lookbk" (I usually enable "Dic't" as well).
		 Then "Save" and "Current"

	 <esc><esc> bound to "expand-abbrev-handle" (if you want
	 to re-bind) will then look back, match and then expand
	 whatever it finds that matches the starting string at
	 the cursor.

	 i.e.

	 elephant
	 giraffe
	 kangaroo

	 ele<esc><esc> -> elephant

	 May be with a little tweeking to the macros then we could
	 give you the previous occurence etc. as per hippe, but it
	 is not doing this at the moment.

	 Other useful thing may be...

	 There is also the "occur" macro (right mouse option
	 may also be bound to S-F7). This opens another
	 window and finds occurences which can be quite useful
	 in moving around the file or simply copying out of
	 the window.

	 See how you go with these, if you've some more
	 suggestions of what we could do then get back to us.

Regards
Jon.



__________________________________________________________________________

This is an unmoderated list. JASSPA is not responsible for the content of
any material posted to this list.

To unsubscribe, send a mail message to

     mailto:jasspa-unsubscribe@yahoogroups.com

or visit http://groups.yahoo.com/group/jasspa and
modify your account settings manually.




Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#751 From: "balaclavabob2" <balaclavabob2@...>
Date: Tue Oct 7, 2003 12:35 pm
Subject: Thanks "Phillips, Steven" and "bigfatmrmoose" for hippie-expand
balaclavabob2
Send Email Send Email
 
Thanks for your response, I am now one step closer to making
Microemacs my primary editor.

#752 From: "balaclavabob2" <balaclavabob2@...>
Date: Tue Oct 7, 2003 12:42 pm
Subject: detecting new data types
balaclavabob2
Send Email Send Email
 
Hello,

I was curious if it was possible to get microemacs to auto detect new
data types or how I would go about getting microemacs to accept new
data  types.

I am interested in making it so when I declare a new struct in C,
microemacs highlights it for me.

eg:

typedef struct(
int a;
int b;
} blah;

blah var1;
blah var2;

Now 'int' is a different color than 'a' but 'blah' and 'var1' are the
same.

All help would be apperciated.
Regards,
BoB

#753 From: "Phillips, Steven" <sphillips@...>
Date: Tue Oct 7, 2003 12:47 pm
Subject: RE: detecting new data types
sphillips@...
Send Email Send Email
 
BoB,

Simply add lines like the following to your 'myc.emf' file (create a new one in
the same place as your history file (<user>.erf) if you do not already have
one), ME will then auto load this file when the hkc.emf file is loaded (use
execute-buffer 'myc.emf' if already loaded). This works for all standard file
types.

Steve

     hilight .hilight.c 1 "meTRUE"         .scheme.prepro
     hilight .hilight.c 1 "meFALSE"        .scheme.prepro
     hilight .hilight.c 1 "meABORT"        .scheme.prepro
     hilight .hilight.c 1 "meUByte"        .scheme.type
     hilight .hilight.c 1 "meInt"          .scheme.type
     hilight .hilight.c 1 "meLine"         .scheme.type

-----Original Message-----
From: balaclavabob2 [mailto:balaclavabob2@...]
Sent: 07 October 2003 13:42
To: jasspa@yahoogroups.com
Subject: [jasspa] detecting new data types


Hello,

I was curious if it was possible to get microemacs to auto detect new
data types or how I would go about getting microemacs to accept new
data  types.

I am interested in making it so when I declare a new struct in C,
microemacs highlights it for me.

eg:

typedef struct(
int a;
int b;
} blah;

blah var1;
blah var2;

Now 'int' is a different color than 'a' but 'blah' and 'var1' are the
same.

All help would be apperciated.
Regards,
BoB



__________________________________________________________________________

This is an unmoderated list. JASSPA is not responsible for the content of
any material posted to this list.

To unsubscribe, send a mail message to

     mailto:jasspa-unsubscribe@yahoogroups.com

or visit http://groups.yahoo.com/group/jasspa and
modify your account settings manually.




Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#754 From: "balaclavabob2" <balaclavabob2@...>
Date: Tue Oct 7, 2003 1:32 pm
Subject: Re: detecting new data types
balaclavabob2
Send Email Send Email
 
Woah, "Phillips, Steven" I am impressed.
it took you 5 mins to respond.
I HAVE NEVER EVER had a responce that did what it was suppose todo so
quickly.

--- In jasspa@yahoogroups.com, "Phillips, Steven" <sphillips@p...> wrote:
> BoB,
>
> Simply add lines like the following to your 'myc.emf' file (create a
new one in the same place as your history file (<user>.erf) if you do
not already have one), ME will then auto load this file when the
hkc.emf file is loaded (use execute-buffer 'myc.emf' if already
loaded). This works for all standard file types.
>
> Steve
>
>     hilight .hilight.c 1 "meTRUE"         .scheme.prepro
>     hilight .hilight.c 1 "meFALSE"        .scheme.prepro
>     hilight .hilight.c 1 "meABORT"        .scheme.prepro
>     hilight .hilight.c 1 "meUByte"        .scheme.type
>     hilight .hilight.c 1 "meInt"          .scheme.type
>     hilight .hilight.c 1 "meLine"         .scheme.type
>
> -----Original Message-----
> From: balaclavabob2 [mailto:balaclavabob2@y...]
> Sent: 07 October 2003 13:42
> To: jasspa@yahoogroups.com
> Subject: [jasspa] detecting new data types
>
>
> Hello,
>
> I was curious if it was possible to get microemacs to auto detect new
> data types or how I would go about getting microemacs to accept new
> data  types.
>
> I am interested in making it so when I declare a new struct in C,
> microemacs highlights it for me.
>
> eg:
>
> typedef struct(
> int a;
> int b;
> } blah;
>
> blah var1;
> blah var2;
>
> Now 'int' is a different color than 'a' but 'blah' and 'var1' are the
> same.
>
> All help would be apperciated.
> Regards,
> BoB
>
>
>
>
__________________________________________________________________________
>
> This is an unmoderated list. JASSPA is not responsible for the
content of
> any material posted to this list.
>
> To unsubscribe, send a mail message to
>
>     mailto:jasspa-unsubscribe@yahoogroups.com
>
> or visit http://groups.yahoo.com/group/jasspa and
> modify your account settings manually.
>
>
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/

#755 From: "balaclavabob2" <balaclavabob2@...>
Date: Tue Oct 7, 2003 1:52 pm
Subject: kde kpart rewrite?
balaclavabob2
Send Email Send Email
 
Hello,

I have been dwelling over this for the past few months now on how good
it would be if gideon (latest development of kdevelop) had emacs
keybindings. I came across kvim which allows for a vim session to be
embedded within gideon, but the project had a few problems with
interfacing with kde, as vim wasn't written to be used this way. They
created a interface called 'kpart' which is what vim used to interface
with the kde.

Since microemacs is written in C and the source is quite easy to
comprehend (was looking at it a few days ago) I was wondering if
anyone would be interested in writing a proper kde version of emacs
based off microemacs (maybe using kwrite frame work) or even just a
kpart interface for microemacs to kde.

As I believe microemacs is the best implementation of emacs I've used
so far (easiest to setup and use in BOTH windows and linux,
documentation is easy to navigate etc.)

Regards,
BoB

#756 From: first last <prelude_2_murder@...>
Date: Thu Oct 9, 2003 1:12 pm
Subject: Multi language highlights
prelude_2_mu...
Send Email Send Email
 
Hi everyone. I have added JavaScript highlight in HTML and JSP (HTML +
JavaScript + Java) to the highlight options.

The JavaScript one it's based on the Java one but including the DOM
elements and methods for highlighting. It is called from the html mode
(I have modified it so <script> without language also does JS).

The JSP one is based on the modified HTML, with the vb hooks changed to
Java.

None of them do indentation right and I don't know how to fix them.

I have put a file with all of the macros that come with microemacs on a
server for everyone who wishes to try. It will create a directory
called "microemacs" with the linux binary and the macros (no .etfs, as
I have them modified).

The file is in
http://www.businessincubator.co.uk/testing/gabriel/microemacs.tar.gz

Hope someone finds them useful.

Gabriel

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

#757 From: "Phillips, Steven" <sphillips@...>
Date: Fri Oct 10, 2003 7:48 am
Subject: RE: Multi language highlights
sphillips@...
Send Email Send Email
 
Gabriel,

I have lately been working on the HTML-VB combination (asp pages) and I've
created a solution to the indent problem.  ME can now detect the script changes
and do the appropriate thing (in a way that is similar to the hilighting).

I will try to incorporate your JSP support into ME and into this new indentation
framework.

Thanks for this submission,

Steve

-----Original Message-----
From: first last [mailto:prelude_2_murder@...]
Sent: 09 October 2003 14:12
To: jasspa@yahoogroups.com
Subject: [jasspa] Multi language highlights


Hi everyone. I have added JavaScript highlight in HTML and JSP (HTML +
JavaScript + Java) to the highlight options.

The JavaScript one it's based on the Java one but including the DOM
elements and methods for highlighting. It is called from the html mode
(I have modified it so <script> without language also does JS).

The JSP one is based on the modified HTML, with the vb hooks changed to
Java.

None of them do indentation right and I don't know how to fix them.

I have put a file with all of the macros that come with microemacs on a
server for everyone who wishes to try. It will create a directory
called "microemacs" with the linux binary and the macros (no .etfs, as
I have them modified).

The file is in
http://www.businessincubator.co.uk/testing/gabriel/microemacs.tar.gz

Hope someone finds them useful.

Gabriel

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk


__________________________________________________________________________

This is an unmoderated list. JASSPA is not responsible for the content of
any material posted to this list.

To unsubscribe, send a mail message to

     mailto:jasspa-unsubscribe@yahoogroups.com

or visit http://groups.yahoo.com/group/jasspa and
modify your account settings manually.




Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#758 From: "Phillips, Steven" <sphillips@...>
Date: Mon Oct 27, 2003 9:14 am
Subject: RE: hippie-expand from GNU Emacs
sphillips@...
Send Email Send Email
 
Bob,

Attached is an improved version of the abbreviation handler which has
'hippie-expand' style behaviour (calling expand-abbrev-handle (esc esc) multiple
times will make it look back further).

This version of abbrev.emf works well on my latest version of ME and I believe
it will work on all recent releases but I would still back-up your version of
this file in case it does not work.

Let me know if this fits the bill,

Steve

-----Original Message-----
From: balaclavabob2 [mailto:balaclavabob2@...]
Sent: 03 October 2003 21:48
To: jasspa@yahoogroups.com
Subject: [jasspa] hippie-expand from GNU Emacs


Hello,

Is there any macro in microemacs which mimics the GNU Emacs hippie-expand?

hippie-expand is like an autocomplete while typing within a buffer.

For example:

int blah1, blah2, blah3;

Now if I typed 'b' and then activated 'hippie-expand' I would get
'blah1' then if I pressed it again I would get 'blah2' instead.

This is SO useful when using long variable names and if it is not
included it shouldn't be to hard to make a macro for it?

I don't have the time or the patience to make/test a macro todo this.

Bob



__________________________________________________________________________

This is an unmoderated list. JASSPA is not responsible for the content of
any material posted to this list.

To unsubscribe, send a mail message to

     mailto:jasspa-unsubscribe@yahoogroups.com

or visit http://groups.yahoo.com/group/jasspa and
modify your account settings manually.




Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#759 From: "ajacs1" <bs@...>
Date: Tue Nov 4, 2003 8:38 pm
Subject: rebind set-mark to Ctrl-space
ajacs1
Send Email Send Email
 
Hi.  i'm new to MicroEmacs, and I'm attempting to rebind my set mark
from "esc space" to ctrl-space to match up with the "full" emacs
installations I'm used to.  I've tried adding this line to my me.emf file:

global-bind-key set-mark                 "C-space"

No error is returned when I launch me, but it still doesn't work; when
I do ctrl-space, the message line just reports "\x00".  I tried
changing the above line to:

global-bind-key set-mark                 "\x00"

and an error was reported on startup in the message line.

Is there in fact any way to rebind that particular combination?  Thanks.

-Larry Miller

#760 From: Jon Green <jon@...>
Date: Wed Nov 5, 2003 12:59 am
Subject: Re: rebind set-mark to Ctrl-space
bigfatmrmoose
Send Email Send Email
 
ajacs1 wrote:
> Hi.  i'm new to MicroEmacs, and I'm attempting to rebind my set mark
> from "esc space" to ctrl-space to match up with the "full" emacs
> installations I'm used to.  I've tried adding this line to my me.emf file:
>
> global-bind-key set-mark                 "C-space"
>

C-space should be bound to set-mark by default if you are
using a recent release. I've just checked the NanoEmacs
version and it is set in this as well which means that
the binding is hard coded. The syntax you have above is
correct but you should not need to define it.
The 02/12 release should include this binding by default.

I assume that you are not really editing "me.emf" as
supplied but mean <logname>.emf, i.e. your private
profile. If you have been editing the standard
macro files I suggest that you re-install the originals
and start again with your private profile start-up
file.

Would be useful to know what platform you are on
and what version of software you are using. The command
"M-x about" will show the version information like:-

MicroEmacs 03 - Date 03/10/01 - sunos

Global Status:
   # buffers : 16
....

Regards
Jon.


> No error is returned when I launch me, but it still doesn't work; when
> I do ctrl-space, the message line just reports "\x00".  I tried
> changing the above line to:
>
> global-bind-key set-mark                 "\x00"
>
> and an error was reported on startup in the message line.
>
> Is there in fact any way to rebind that particular combination?  Thanks.
>
> -Larry Miller
>
>
>
> __________________________________________________________________________
>
> This is an unmoderated list. JASSPA is not responsible for the content of
> any material posted to this list.
>
> To unsubscribe, send a mail message to
>
>     mailto:jasspa-unsubscribe@yahoogroups.com
>
> or visit http://groups.yahoo.com/group/jasspa and
> modify your account settings manually.
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>

#761 From: Jon Green <jon@...>
Date: Sun Nov 16, 2003 6:11 pm
Subject: New color scheme "Brownie"
bigfatmrmoose
Send Email Send Email
 
Hi,

	 Getting fed up with the "Blue Hue" and "Sherwood Forest"
	 color schemes. Attached is a new one called "Brownie".

	 To install then update the "schemes.emf" file with
	 the one provided and copy "schemeb.emf" to
	 the macros directory. Once installed restart me
	 and use "M-x user-setup" to select the new color
	 scheme.

	 If you install the files in your local user directory
	 then they will over-ride those in the system directory
	 without modifying the original files.

Regards
Jon.
; -!- emf -!-
; This is part of the JASSPA MicroEmacs macro files
; Copyright (C) 2000-2002 JASSPA (www.jasspa.com)
; See the file me.emf for copying and conditions.
;
; Created:     Fri Feb 2 2001
; Synopsis:    List of screen color schemes
; Authors:     Steven Phillips
;
set-variable .scheme.scheme-names "|Default White on Black|Basic Black on
Cream|Black on Cream|Sandy Shores|Sherwood Forest|Brownie|Blue Hue|Plain Black
on Cream|Plain White on Black|Black on Grey|MS Dev-Studio Colors|Termcap
(black)|"
set-variable .scheme.scheme-files
"|schemed|schemebc|schemej|schemevi|schemesf|schemeb|schemebh|schemepl|schemepd|\
schemel|schememd|schemetb|"
; Generated color scheme file for JASSPA MicroEmacs
; Copyright (C) 1999-2002 JASSPA (www.jasspa.com)
; See the file me.emf for copying and conditions.
; Description: Brownie
set-variable .hilight.flags 7
; Create the colors first
add-color &set .col0 0 242 218 180
add-color &set .col1 1 0 0 0
add-color &set .col2 2 160 0 0
add-color &set .col3 3 0 120 0
add-color &set .col4 4 200 200 0
add-color &set .col5 5 30 30 255
add-color &set .col6 6 255 255 255
add-color &set .col7 7 75 75 75
add-color &set .col8 8 50 114 160
add-color &set .col9 9 145 34 18
add-color &set .col10 10 0 255 255
add-color &set .col11 11 255 255 0
add-color &set .col12 12 0 0 255
add-color &set .col13 13 174 83 0
add-color &set .col14 14 184 134 11
add-color &set .col15 15 0 255 0
add-color &set .col16 16 0 0 255
add-color &set .col17 17 154 0 154
add-color &set .col18 18 0 200 200
add-color &set .col19 19 187 242 247
add-color &set .col20 20 0 0 200
add-color &set .col21 21 245 229 203
add-color &set .col22 22 255 239 213
add-color &set .col23 23 238 220 130
add-color &set .col24 24 80 100 80
add-color &set .col25 25 240 210 210
add-color &set .col26 26 240 180 180
add-color &set .col27 27 252 131 155
add-color &set .col28 28 169 255 209
add-color &set .col29 29 249 254 156
add-color &set .col30 30 152 198 254
add-color &set .col31 31 233 215 253
; Set the required cursor-color
set-variable $cursor-color .col1
; Create the color schemes
; Standard
add-color-scheme $global-scheme .col1 .col22 .col1 .col21 .col1 .col23 .col1
.col23 0 8 0 8 0 8 0 8
add-color-scheme $ml-scheme .col1 .col22 .col1 .col21 .col1 .col23 .col1 .col23
0 8 0 8 0 8 0 8
add-color-scheme $mode-line-scheme .col14 .col0 .col6 .col14 .col4 .col1 .col4
.col1 0 8 0 8 0 8 0 8
add-color-scheme $scroll-bar-scheme .col0 .col14 .col0 .col14 .col14 .col0
.col14 .col4 0 8 0 8 0 8 0 8
add-color-scheme $trunc-scheme .col9 .col22 .col9 .col21 .col9 .col23 .col9
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dmf .col1 .col30 .col1 .col28 .col1 .col27 .col1 .col23
0 8 0 8 0 8 0 8
add-color-scheme .scheme.no1 .col3 .col22 .col3 .col21 .col3 .col23 .col3 .col23
0 8 0 8 0 8 0 8
add-color-scheme .scheme.no2 .col8 .col22 .col8 .col21 .col8 .col23 .col8 .col23
0 8 0 8 0 8 0 8
; OSD
add-color-scheme $osd-scheme .col1 .col0 .col3 .col0 .col1 .col4 .col3 .col4 0 8
0 0 0 8 1 9
add-color-scheme .scheme.osd-entry .col1 .col21 .col1 .col22 .col1 .col4 .col1
.col4 0 8 0 8 0 8 0 8
add-color-scheme .scheme.osd-ebtt .col0 .col14 .col3 .col14 .col1 .col4 .col3
.col4 0 8 1 9 0 8 1 9
add-color-scheme .scheme.osd-dbtt .col7 .col22 .col3 .col22 .col1 .col22 .col3
.col22 0 8 0 8 0 8 0 8
add-color-scheme .scheme.osd-title .col6 .col14 .col0 .col14 .col6 .col14 .col0
.col14 0 8 0 8 0 8 0 8
add-color-scheme .scheme.osd-child .col3 .col22 .col3 .col21 .col3 .col23 .col3
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.osd-sbar .col14 .col22 .col22 .col14 .col14 .col21
.col21 .col14 0 8 0 8 0 8 0 8
; Programming Langs
add-color-scheme .scheme.prepro .col14 .col22 .col14 .col21 .col14 .col23 .col14
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.function .col1 .col22 .col1 .col21 .col1 .col23 .col1
.col23 17 25 17 25 17 25 17 25
add-color-scheme .scheme.keyword .col16 .col22 .col16 .col21 .col16 .col23
.col16 .col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.type .col17 .col22 .col17 .col21 .col17 .col23 .col17
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.operator .col27 .col22 .col27 .col21 .col27 .col23
.col27 .col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.variable .col8 .col22 .col8 .col21 .col8 .col23 .col8
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.constant .col1 .col22 .col1 .col21 .col1 .col23 .col1
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.comment .col3 .col22 .col3 .col21 .col3 .col23 .col3
.col23 2 10 2 10 2 10 2 10
add-color-scheme .scheme.string .col2 .col22 .col2 .col21 .col2 .col23 .col2
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.quote .col2 .col22 .col2 .col21 .col2 .col23 .col2
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.error .col2 .col22 .col2 .col21 .col2 .col23 .col2
.col23 16 24 16 24 16 24 16 24
; Formatted Text
add-color-scheme .scheme.header .col2 .col22 .col2 .col21 .col2 .col23 .col2
.col23 1 9 1 9 1 9 1 9
add-color-scheme .scheme.link .col17 .col22 .col17 .col21 .col17 .col23 .col17
.col23 16 24 16 24 16 24 16 24
add-color-scheme .scheme.bold .col7 .col22 .col7 .col21 .col7 .col23 .col7
.col23 1 9 1 9 1 9 1 9
add-color-scheme .scheme.italic .col9 .col22 .col9 .col21 .col9 .col23 .col9
.col23 2 10 2 10 2 10 2 10
add-color-scheme .scheme.under .col1 .col22 .col1 .col21 .col1 .col23 .col1
.col23 16 24 16 24 16 24 16 24
add-color-scheme .scheme.bold-italic .col1 .col22 .col1 .col21 .col1 .col23
.col1 .col23 3 11 3 11 3 11 3 11
add-color-scheme .scheme.bold-under .col1 .col22 .col1 .col21 .col1 .col23 .col1
.col23 17 25 17 25 17 25 17 25
add-color-scheme .scheme.italic-under .col1 .col22 .col1 .col21 .col1 .col23
.col1 .col23 18 26 18 26 18 26 18 26
add-color-scheme .scheme.bold-italic-under .col1 .col22 .col1 .col21 .col1
.col23 .col1 .col23 19 27 19 27 19 27 19 27
add-color-scheme .scheme.spell-error .col2 .col22 .col2 .col21 .col2 .col23
.col2 .col23 16 24 16 24 16 24 16 24
; Directory Listings
add-color-scheme .scheme.file .col3 .col22 .col3 .col21 .col3 .col23 .col3
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.select .col9 .col22 .col9 .col21 .col27 .col4 .col27
.col4 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir .col20 .col22 .col20 .col21 .col20 .col23 .col20
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir-select .col17 .col22 .col17 .col21 .col17 .col23
.col17 .col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir-slink .col9 .col22 .col9 .col21 .col9 .col23 .col9
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir-tree .col1 .col22 .col1 .col21 .col24 .col23 .col24
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir-open .col6 .col3 .col6 .col3 .col6 .col3 .col6
.col3 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir-closed .col6 .col5 .col6 .col5 .col6 .col5 .col6
.col5 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir-uknown .col6 .col2 .col6 .col2 .col6 .col2 .col6
.col2 0 8 0 8 0 8 0 8
; Line Schemes
add-color-scheme .scheme.hide .col14 .col22 .col14 .col21 .col14 .col4 .col14
.col4 0 8 0 8 0 8 0 8
add-color-scheme .scheme.fold-close .col1 .col25 .col1 .col26 .col1 .col25 .col1
.col26 0 8 0 8 0 8 0 8
add-color-scheme .scheme.fold-open .col1 .col28 .col7 .col28 .col1 .col3 .col7
.col3 0 8 0 8 0 8 0 8
add-color-scheme .scheme.trace .col1 .col28 .col7 .col28 .col1 .col3 .col7 .col3
0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlwhite .col1 .col6 .col7 .col6 .col1 .col23 .col7
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlblack .col0 .col1 .col6 .col1 .col0 .col7 .col6 .col7
0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlred .col7 .col27 .col1 .col27 .col0 .col9 .col6 .col9
0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlgreen .col1 .col28 .col7 .col28 .col1 .col3 .col7
.col3 0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlyellow .col1 .col29 .col1 .col29 .col1 .col11 .col1
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlblue .col1 .col30 .col7 .col30 .col0 .col16 .col6
.col16 0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlmagenta .col1 .col31 .col7 .col31 .col0 .col17 .col6
.col17 0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlcyan .col1 .col19 .col7 .col19 .col1 .col18 .col7
.col18 0 8 0 8 0 8 0 8
; Graphical Diff
add-color-scheme .scheme.gdfchange .col1 .col11 .col7 .col11 .col1 .col11 .col7
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.gdfadd .col1 .col10 .col7 .col10 .col1 .col10 .col7
.col10 0 8 0 8 0 8 0 8
add-color-scheme .scheme.gdfpad .col1 .col23 .col7 .col23 .col1 .col23 .col7
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.gdfsel .col1 .col3 .col7 .col3 .col1 .col3 .col7 .col3
0 8 0 8 0 8 0 8
add-color-scheme .scheme.gdfselpad .col22 .col12 .col6 .col12 .col22 .col12
.col6 .col12 0 8 0 8 0 8 0 8
add-color-scheme .scheme.gdfrej .col1 .col27 .col7 .col27 .col1 .col27 .col7
.col27 0 8 0 8 0 8 0 8
add-color-scheme .scheme.gdfrejpad .col21 .col9 .col6 .col9 .col21 .col9 .col6
.col9 0 8 0 8 0 8 0 8
; Games
add-color-scheme .scheme.cardback .col3 .col12 .col3 .col12 .col28 .col12 .col3
.col12 0 8 0 8 0 8 0 8
add-color-scheme .scheme.cardfore .col1 .col0 .col2 .col0 .col29 .col17 .col19
.col16 0 8 0 8 0 8 0 8
add-color-scheme .scheme.mjg1 .col18 .col20 .col20 .col20 .col7 .col18 .col7
.col3 0 8 0 8 0 8 0 8
add-color-scheme .scheme.mjg2 .col7 .col4 .col7 .col2 .col7 .col0 .col7 .col0 0
8 0 8 0 8 0 8
add-color-scheme .scheme.mi1 .col20 .col20 .col18 .col20 .col3 .col11 .col3
.col4 0 8 0 8 0 8 0 8
add-color-scheme .scheme.mi2 .col4 .col11 .col15 .col20 .col1 .col11 .col1 .col4
0 8 0 8 0 8 0 8
add-color-scheme .scheme.mi3 .col0 .col3 .col0 .col2 .col2 .col11 .col2 .col4 0
8 0 8 0 8 0 8
add-color-scheme .scheme.met-back .col6 .col16 .col6 .col12 .col11 .col16 .col11
.col16 0 8 0 8 0 8 0 8
add-color-scheme .scheme.met-fore1 .col6 .col16 .col6 .col16 .col6 .col16 .col6
.col16 0 8 0 8 0 8 0 8
add-color-scheme .scheme.met-fore2 .col18 .col16 .col18 .col16 .col19 .col16
.col10 .col16 0 8 0 8 0 8 0 8

#762 From: Jon Green <jon@...>
Date: Sun Nov 16, 2003 9:35 pm
Subject: Another colour scheme ...
bigfatmrmoose
Send Email Send Email
 
If Brownie was a little dull then try this one,
called it "Lemon Jelly". Same method of install
as previous one and includes the Brownie scheme.

Probably not to everbodys taste !

Jon.
; Generated color scheme file for JASSPA MicroEmacs
; Copyright (C) 1999-2002 JASSPA (www.jasspa.com)
; See the file me.emf for copying and conditions.
; Description: Lemon Jelly
set-variable .hilight.flags 7
; Create the colors first
add-color &set .col0 0 165 185 220
add-color &set .col1 1 0 0 0
add-color &set .col2 2 160 0 0
add-color &set .col3 3 0 120 0
add-color &set .col4 4 232 213 1
add-color &set .col5 5 30 30 255
add-color &set .col6 6 255 255 255
add-color &set .col7 7 75 75 75
add-color &set .col8 8 50 114 160
add-color &set .col9 9 145 34 18
add-color &set .col10 10 0 255 255
add-color &set .col11 11 255 255 0
add-color &set .col12 12 0 0 255
add-color &set .col13 13 174 83 0
add-color &set .col14 14 242 121 0
add-color &set .col15 15 0 245 0
add-color &set .col16 16 0 0 255
add-color &set .col17 17 154 0 154
add-color &set .col18 18 0 200 200
add-color &set .col19 19 187 242 247
add-color &set .col20 20 0 0 200
add-color &set .col21 21 243 243 174
add-color &set .col22 22 253 253 184
add-color &set .col23 23 140 162 168
add-color &set .col24 24 80 100 80
add-color &set .col25 25 240 210 210
add-color &set .col26 26 240 180 180
add-color &set .col27 27 252 131 155
add-color &set .col28 28 169 255 209
add-color &set .col29 29 249 254 156
add-color &set .col30 30 152 198 254
add-color &set .col31 31 233 215 253
add-color &set .col32 32 253 234 0
add-color &set .col33 33 235 235 235
; Set the required cursor-color
set-variable $cursor-color .col2
; Create the color schemes
; Standard
add-color-scheme $global-scheme .col1 .col22 .col1 .col21 .col1 .col11 .col1
.col11 0 8 0 8 0 8 0 8
add-color-scheme $ml-scheme .col1 .col22 .col1 .col22 .col1 .col23 .col1 .col23
0 8 0 8 0 8 0 8
add-color-scheme $mode-line-scheme .col11 .col5 .col11 .col2 .col1 .col24 .col1
.col1 0 8 0 8 0 8 0 8
add-color-scheme $scroll-bar-scheme .col5 .col11 .col2 .col11 .col24 .col4
.col24 .col4 0 8 0 8 0 8 0 8
add-color-scheme $trunc-scheme .col9 .col22 .col9 .col21 .col9 .col11 .col9
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dmf .col1 .col30 .col1 .col28 .col1 .col27 .col1 .col23
0 8 0 8 0 8 0 8
add-color-scheme .scheme.no1 .col16 .col22 .col16 .col21 .col16 .col11 .col16
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.no2 .col3 .col22 .col3 .col21 .col3 .col11 .col3 .col11
0 8 0 8 0 8 0 8
; OSD
add-color-scheme $osd-scheme .col1 .col15 .col5 .col15 .col1 .col11 .col5 .col11
0 8 1 1 0 8 1 9
add-color-scheme .scheme.osd-entry .col24 .col22 .col24 .col22 .col1 .col11
.col1 .col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.osd-ebtt .col1 .col32 .col3 .col32 .col1 .col11 .col3
.col11 0 8 1 9 0 8 1 9
add-color-scheme .scheme.osd-dbtt .col7 .col32 .col2 .col32 .col1 .col32 .col2
.col32 0 8 0 8 0 8 0 8
add-color-scheme .scheme.osd-title .col11 .col16 .col11 .col16 .col6 .col1
.col24 .col1 0 8 0 8 0 8 0 8
add-color-scheme .scheme.osd-child .col3 .col22 .col3 .col21 .col3 .col21 .col3
.col21 0 8 0 8 0 8 0 8
add-color-scheme .scheme.osd-sbar .col11 .col5 .col5 .col11 .col24 .col22 .col24
.col6 0 8 0 8 0 8 0 8
; Programming Langs
add-color-scheme .scheme.prepro .col13 .col22 .col13 .col21 .col13 .col11 .col13
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.function .col20 .col22 .col16 .col21 .col20 .col11
.col16 .col11 16 24 16 24 16 24 16 24
add-color-scheme .scheme.keyword .col16 .col22 .col16 .col21 .col16 .col11
.col16 .col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.type .col2 .col22 .col2 .col21 .col2 .col11 .col2
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.operator .col13 .col22 .col13 .col21 .col13 .col11
.col13 .col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.variable .col3 .col22 .col3 .col21 .col3 .col11 .col3
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.constant .col1 .col22 .col1 .col21 .col1 .col11 .col1
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.comment .col8 .col22 .col8 .col21 .col8 .col11 .col8
.col11 2 10 2 10 2 10 2 10
add-color-scheme .scheme.string .col17 .col22 .col17 .col21 .col17 .col11 .col17
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.quote .col17 .col22 .col17 .col21 .col17 .col11 .col17
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.error .col2 .col22 .col2 .col21 .col2 .col11 .col2
.col11 16 24 16 24 16 24 16 24
; Formatted Text
add-color-scheme .scheme.header .col2 .col22 .col2 .col21 .col2 .col23 .col2
.col23 1 9 1 9 1 9 1 9
add-color-scheme .scheme.link .col17 .col22 .col17 .col21 .col17 .col23 .col17
.col23 16 24 16 24 16 24 16 24
add-color-scheme .scheme.bold .col7 .col22 .col7 .col21 .col7 .col23 .col7
.col23 1 9 1 9 1 9 1 9
add-color-scheme .scheme.italic .col9 .col22 .col9 .col21 .col9 .col23 .col9
.col23 2 10 2 10 2 10 2 10
add-color-scheme .scheme.under .col1 .col22 .col1 .col21 .col1 .col23 .col1
.col23 16 24 16 24 16 24 16 24
add-color-scheme .scheme.bold-italic .col1 .col22 .col1 .col21 .col1 .col23
.col1 .col23 3 11 3 11 3 11 3 11
add-color-scheme .scheme.bold-under .col1 .col22 .col1 .col21 .col1 .col23 .col1
.col23 17 25 17 25 17 25 17 25
add-color-scheme .scheme.italic-under .col1 .col22 .col1 .col21 .col1 .col23
.col1 .col23 18 26 18 26 18 26 18 26
add-color-scheme .scheme.bold-italic-under .col1 .col22 .col1 .col21 .col1
.col23 .col1 .col23 19 27 19 27 19 27 19 27
add-color-scheme .scheme.spell-error .col2 .col22 .col2 .col21 .col2 .col23
.col2 .col23 0 8 0 8 0 8 0 8
; Directory Listings
add-color-scheme .scheme.file .col5 .col22 .col5 .col21 .col5 .col11 .col5
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.select .col18 .col22 .col18 .col21 .col5 .col11 .col5
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir .col17 .col22 .col17 .col21 .col17 .col11 .col17
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir-select .col17 .col22 .col17 .col21 .col17 .col23
.col17 .col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir-slink .col9 .col22 .col9 .col21 .col9 .col11 .col9
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir-tree .col24 .col22 .col24 .col21 .col24 .col11
.col24 .col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir-open .col0 .col8 .col0 .col8 .col0 .col8 .col0
.col8 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir-closed .col0 .col2 .col0 .col2 .col0 .col2 .col0
.col2 0 8 0 8 0 8 0 8
add-color-scheme .scheme.dir-uknown .col11 .col12 .col11 .col16 .col11 .col16
.col11 .col16 0 8 0 8 0 8 0 8
; Line Schemes
add-color-scheme .scheme.hide .col23 .col22 .col23 .col21 .col22 .col23 .col21
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.fold-close .col1 .col25 .col1 .col26 .col1 .col25 .col1
.col26 0 8 0 8 0 8 0 8
add-color-scheme .scheme.fold-open .col1 .col28 .col7 .col28 .col1 .col3 .col7
.col3 0 8 0 8 0 8 0 8
add-color-scheme .scheme.trace .col1 .col28 .col7 .col28 .col1 .col3 .col7 .col3
0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlwhite .col1 .col6 .col7 .col6 .col1 .col33 .col7
.col33 0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlblack .col0 .col1 .col6 .col1 .col0 .col7 .col6 .col7
0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlred .col7 .col27 .col1 .col27 .col33 .col9 .col6
.col9 0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlgreen .col1 .col15 .col7 .col15 .col33 .col3 .col6
.col3 0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlyellow .col1 .col11 .col1 .col11 .col33 .col4 .col6
.col4 0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlblue .col1 .col30 .col7 .col30 .col33 .col16 .col6
.col16 0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlmagenta .col1 .col31 .col7 .col31 .col33 .col17 .col6
.col17 0 8 0 8 0 8 0 8
add-color-scheme .scheme.hlcyan .col1 .col19 .col7 .col19 .col1 .col18 .col7
.col18 0 8 0 8 0 8 0 8
; Graphical Diff
add-color-scheme .scheme.gdfchange .col1 .col11 .col7 .col11 .col1 .col11 .col7
.col11 0 8 0 8 0 8 0 8
add-color-scheme .scheme.gdfadd .col1 .col10 .col7 .col10 .col1 .col10 .col7
.col10 0 8 0 8 0 8 0 8
add-color-scheme .scheme.gdfpad .col1 .col23 .col7 .col23 .col1 .col23 .col7
.col23 0 8 0 8 0 8 0 8
add-color-scheme .scheme.gdfsel .col6 .col3 .col6 .col3 .col6 .col3 .col6 .col3
0 8 0 8 0 8 0 8
add-color-scheme .scheme.gdfselpad .col22 .col12 .col6 .col12 .col22 .col12
.col6 .col12 0 8 0 8 0 8 0 8
add-color-scheme .scheme.gdfrej .col1 .col27 .col7 .col27 .col1 .col27 .col7
.col27 0 8 0 8 0 8 0 8
add-color-scheme .scheme.gdfrejpad .col21 .col9 .col6 .col9 .col21 .col9 .col6
.col9 0 8 0 8 0 8 0 8
; Games
add-color-scheme .scheme.cardback .col3 .col12 .col3 .col12 .col28 .col12 .col3
.col12 0 8 0 8 0 8 0 8
add-color-scheme .scheme.cardfore .col1 .col0 .col2 .col0 .col29 .col17 .col19
.col16 0 8 0 8 0 8 0 8
add-color-scheme .scheme.mjg1 .col18 .col20 .col20 .col20 .col7 .col18 .col7
.col3 0 8 0 8 0 8 0 8
add-color-scheme .scheme.mjg2 .col7 .col4 .col7 .col2 .col7 .col0 .col7 .col0 0
8 0 8 0 8 0 8
add-color-scheme .scheme.mi1 .col20 .col20 .col18 .col20 .col3 .col11 .col3
.col4 0 8 0 8 0 8 0 8
add-color-scheme .scheme.mi2 .col4 .col11 .col15 .col20 .col1 .col11 .col1 .col4
0 8 0 8 0 8 0 8
add-color-scheme .scheme.mi3 .col0 .col3 .col0 .col2 .col2 .col11 .col2 .col4 0
8 0 8 0 8 0 8
add-color-scheme .scheme.met-back .col19 .col16 .col3 .col16 .col10 .col16 .col2
.col16 0 8 0 8 0 8 0 8
add-color-scheme .scheme.met-fore1 .col29 .col16 .col4 .col16 .col31 .col16
.col17 .col16 0 8 0 8 0 8 0 8
add-color-scheme .scheme.met-fore2 .col3 .col16 .col3 .col16 .col19 .col16
.col10 .col16 0 8 0 8 0 8 0 8
; -!- emf -!-
; This is part of the JASSPA MicroEmacs macro files
; Copyright (C) 2000-2002 JASSPA (www.jasspa.com)
; See the file me.emf for copying and conditions.
;
; Created:     Fri Feb 2 2001
; Synopsis:    List of screen color schemes
; Authors:     Steven Phillips
;
set-variable .scheme.scheme-names "|Default White on Black|Basic Black on
Cream|Black on Cream|Sandy Shores|Sherwood Forest|Brownie|Lemon Jelly|Blue
Hue|Plain Black on Cream|Plain White on Black|Black on Grey|MS Dev-Studio
Colors|Termcap (black)|"
set-variable .scheme.scheme-files
"|schemed|schemebc|schemej|schemevi|schemesf|schemeb|schemelj|schemebh|schemepl|\
schemepd|schemel|schememd|schemetb|"

#763 From: "James Supancic" <arrummzen@...>
Date: Sun Nov 23, 2003 10:00 pm
Subject: Getting the menu on a bizzar Japanese terminel?
arrummzen@...
Send Email Send Email
 
I have a Japanese Termenel and I want to run Microemacs on it. All the
output works fine, but because there is no ‘`’ key or ‘F1' key, I can’t
access the menu. Is there anyway I can map some other key like
shift+backspace (I never use that) to the menu?

Thank you for your time,
James S Supancic III

_________________________________________________________________
Groove on the latest from the hot new rock groups!  Get downloads, videos,
and more here.  http://special.msn.com/entertainment/wiredformusic.armx

#764 From: bill@...
Date: Sun Nov 23, 2003 11:52 pm
Subject: Re: Getting the menu on a bizzar Japanese terminel?
bill@...
Send Email Send Email
 
James,

In me.emf you will find the following key binding line:

	 0xa0000 global-bind-key osd              "f1"

This is the line which binds the opening of the main menu to the f1 key, simply
replace
f1 with another key, e.g. "C-x C-o" or "esc m" (I doubt S-backspace would work
correctly
on a terminal that doesn't support f1).

You should then copy this line to your own Setup File (see user-setup Start-Up)
so if
and when you up-grade the binding is not lost.

Steve

On 23 Nov 2003 at 22:00, James Supancic wrote:

> I have a Japanese Termenel and I want to run Microemacs on it. All the
> output works fine, but because there is no ‘`’ key or ‘F1' key, I can’t
> access the menu. Is there anyway I can map some other key like
> shift+backspace (I never use that) to the menu?
>
> Thank you for your time,
> James S Supancic III
>
> _________________________________________________________________
> Groove on the latest from the hot new rock groups!  Get downloads, videos,
> and more here.  http://special.msn.com/entertainment/wiredformusic.armx
>
>
> __________________________________________________________________________
>
> This is an unmoderated list. JASSPA is not responsible for the content of
> any material posted to this list.
>
> To unsubscribe, send a mail message to
>
>     mailto:jasspa-unsubscribe@yahoogroups.com
>
> or visit http://groups.yahoo.com/group/jasspa and
> modify your account settings manually.
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>

#765 From: "James Supancic" <arrummzen@...>
Date: Sun Nov 23, 2003 11:59 pm
Subject: Re: Getting the menu on a bizzar Japanese terminel?
arrummzen@...
Send Email Send Email
 
Were would I find me.emf? This is a generica Linux system, it just has a
strange input system.
Thank you for your time,
Arrummzen


>From: bill@...
>Reply-To: jasspa@yahoogroups.com
>To: jasspa@yahoogroups.com
>Subject: Re: [jasspa] Getting the menu on a bizzar Japanese terminel?
>Date: Sun, 23 Nov 2003 23:52:11 -0000
>MIME-Version: 1.0
>X-Originating-IP: 195.92.193.20
>Received: from n13.grp.scd.yahoo.com ([66.218.66.68]) by
>mc5-f12.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Sun, 23 Nov 2003
>15:55:58 -0800
>Received: from [66.218.67.197] by n13.grp.scd.yahoo.com with NNFMP; 23 Nov
>2003 23:55:31 -0000
>Received: (qmail 48601 invoked from network); 23 Nov 2003 23:55:26 -0000
>Received: from unknown (66.218.66.166)  by m4.grp.scd.yahoo.com with QMQP;
>23 Nov 2003 23:55:26 -0000
>Received: from unknown (HELO tmailm1.svr.pol.co.uk) (195.92.193.20)  by
>mta5.grp.scd.yahoo.com with SMTP; 23 Nov 2003 23:55:26 -0000
>Received: from modem-98.cortizone.dialup.pol.co.uk ([62.136.86.98]
>helo=foobar)by tmailm1.svr.pol.co.uk with esmtp (Exim 4.14)id
>1AO44X-0003Pd-8wfor jasspa@yahoogroups.com; Sun, 23 Nov 2003 23:55:21 +0000
>X-Message-Info: JGTYoYF78jF28DtfCXg6QlcO6r3d/sFU
>X-eGroups-Return:
>sentto-1188037-511-1069631728-arrummzen=hotmail.com@...
>X-Sender: bill@...
>X-Apparently-To: jasspa@yahoogroups.com
>Message-ID: <3FC1482B.23902.4D8BF85E@localhost>
>Priority: normal
>In-reply-to: <BAY9-F19AvFNCr6RTja0000962f@...>
>X-mailer: Pegasus Mail for Windows (v4.02a)
>Mailing-List: list jasspa@yahoogroups.com; contact
>jasspa-owner@yahoogroups.com
>Delivered-To: mailing list jasspa@yahoogroups.com
>Precedence: bulk
>List-Unsubscribe: <mailto:jasspa-unsubscribe@yahoogroups.com>
>Return-Path:
>sentto-1188037-511-1069631728-arrummzen=hotmail.com@...
>X-OriginalArrivalTime: 23 Nov 2003 23:55:58.0772 (UTC)
>FILETIME=[57770740:01C3B21D]
>
>James,
>
>In me.emf you will find the following key binding line:
>
> 0xa0000 global-bind-key osd              "f1"
>
>This is the line which binds the opening of the main menu to the f1 key,
>simply replace
>f1 with another key, e.g. "C-x C-o" or "esc m" (I doubt S-backspace would
>work correctly
>on a terminal that doesn't support f1).
>
>You should then copy this line to your own Setup File (see user-setup
>Start-Up) so if
>and when you up-grade the binding is not lost.
>
>Steve
>
>On 23 Nov 2003 at 22:00, James Supancic wrote:
>
> > I have a Japanese Termenel and I want to run Microemacs on it. All the
> > output works fine, but because there is no ‘`’ key or ‘F1' key, I can’t
> > access the menu. Is there anyway I can map some other key like
> > shift+backspace (I never use that) to the menu?
> >
> > Thank you for your time,
> > James S Supancic III
> >
> > _________________________________________________________________
> > Groove on the latest from the hot new rock groups!  Get downloads,
>videos,
> > and more here.  http://special.msn.com/entertainment/wiredformusic.armx
> >
> >
> >
>__________________________________________________________________________
> >
> > This is an unmoderated list. JASSPA is not responsible for the content
>of
> > any material posted to this list.
> >
> > To unsubscribe, send a mail message to
> >
> >     mailto:jasspa-unsubscribe@yahoogroups.com
> >
> > or visit http://groups.yahoo.com/group/jasspa and
> > modify your account settings manually.
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
>http://docs.yahoo.com/info/terms/
> >
> >
>
>

_________________________________________________________________
Set yourself up for fun at home!  Get tips on home entertainment equipment,
video game reviews, and more here.
http://special.msn.com/home/homeent.armx

#766 From: "Phillips, Steven" <sphillips@...>
Date: Mon Nov 24, 2003 8:01 am
Subject: RE: Getting the menu on a bizzar Japanese terminel?
sphillips@...
Send Email Send Email
 
me.emf is the main start-up configuration file for MicroEmacs, you will find it
in the ME macros directory. Alternatively use user-setup to create and edit your
own Setup File and copy this global-bind-key line into it.

Steve

-----Original Message-----
From: James Supancic [mailto:arrummzen@...]
Sent: 24 November 2003 00:00
To: jasspa@yahoogroups.com
Cc: bill@...
Subject: Re: [jasspa] Getting the menu on a bizzar Japanese terminel?


Were would I find me.emf? This is a generica Linux system, it just has a
strange input system.
Thank you for your time,
Arrummzen


>From: bill@...
>Reply-To: jasspa@yahoogroups.com
>To: jasspa@yahoogroups.com
>Subject: Re: [jasspa] Getting the menu on a bizzar Japanese terminel?
>Date: Sun, 23 Nov 2003 23:52:11 -0000
>MIME-Version: 1.0
>X-Originating-IP: 195.92.193.20
>Received: from n13.grp.scd.yahoo.com ([66.218.66.68]) by
>mc5-f12.hotmail.com with Microsoft SMTPSVC(5.0.2195.6713); Sun, 23 Nov 2003
>15:55:58 -0800
>Received: from [66.218.67.197] by n13.grp.scd.yahoo.com with NNFMP; 23 Nov
>2003 23:55:31 -0000
>Received: (qmail 48601 invoked from network); 23 Nov 2003 23:55:26 -0000
>Received: from unknown (66.218.66.166)  by m4.grp.scd.yahoo.com with QMQP;
>23 Nov 2003 23:55:26 -0000
>Received: from unknown (HELO tmailm1.svr.pol.co.uk) (195.92.193.20)  by
>mta5.grp.scd.yahoo.com with SMTP; 23 Nov 2003 23:55:26 -0000
>Received: from modem-98.cortizone.dialup.pol.co.uk ([62.136.86.98]
>helo=foobar)by tmailm1.svr.pol.co.uk with esmtp (Exim 4.14)id
>1AO44X-0003Pd-8wfor jasspa@yahoogroups.com; Sun, 23 Nov 2003 23:55:21 +0000
>X-Message-Info: JGTYoYF78jF28DtfCXg6QlcO6r3d/sFU
>X-eGroups-Return:
>sentto-1188037-511-1069631728-arrummzen=hotmail.com@...
>X-Sender: bill@...
>X-Apparently-To: jasspa@yahoogroups.com
>Message-ID: <3FC1482B.23902.4D8BF85E@localhost>
>Priority: normal
>In-reply-to: <BAY9-F19AvFNCr6RTja0000962f@...>
>X-mailer: Pegasus Mail for Windows (v4.02a)
>Mailing-List: list jasspa@yahoogroups.com; contact
>jasspa-owner@yahoogroups.com
>Delivered-To: mailing list jasspa@yahoogroups.com
>Precedence: bulk
>List-Unsubscribe: <mailto:jasspa-unsubscribe@yahoogroups.com>
>Return-Path:
>sentto-1188037-511-1069631728-arrummzen=hotmail.com@...
>X-OriginalArrivalTime: 23 Nov 2003 23:55:58.0772 (UTC)
>FILETIME=[57770740:01C3B21D]
>
>James,
>
>In me.emf you will find the following key binding line:
>
> 0xa0000 global-bind-key osd              "f1"
>
>This is the line which binds the opening of the main menu to the f1 key,
>simply replace
>f1 with another key, e.g. "C-x C-o" or "esc m" (I doubt S-backspace would
>work correctly
>on a terminal that doesn't support f1).
>
>You should then copy this line to your own Setup File (see user-setup
>Start-Up) so if
>and when you up-grade the binding is not lost.
>
>Steve
>
>On 23 Nov 2003 at 22:00, James Supancic wrote:
>
> > I have a Japanese Termenel and I want to run Microemacs on it. All the
> > output works fine, but because there is no '`' key or 'F1' key, I can't
> > access the menu. Is there anyway I can map some other key like
> > shift+backspace (I never use that) to the menu?
> >
> > Thank you for your time,
> > James S Supancic III
> >
> > _________________________________________________________________
> > Groove on the latest from the hot new rock groups!  Get downloads,
>videos,
> > and more here.  http://special.msn.com/entertainment/wiredformusic.armx
> >
> >
> >
>__________________________________________________________________________
> >
> > This is an unmoderated list. JASSPA is not responsible for the content
>of
> > any material posted to this list.
> >
> > To unsubscribe, send a mail message to
> >
> >     mailto:jasspa-unsubscribe@yahoogroups.com
> >
> > or visit http://groups.yahoo.com/group/jasspa and
> > modify your account settings manually.
> >
> >
> >
> >
> > Your use of Yahoo! Groups is subject to
>http://docs.yahoo.com/info/terms/
> >
> >
>
>

_________________________________________________________________
Set yourself up for fun at home!  Get tips on home entertainment equipment,
video game reviews, and more here.
http://special.msn.com/home/homeent.armx


__________________________________________________________________________

This is an unmoderated list. JASSPA is not responsible for the content of
any material posted to this list.

To unsubscribe, send a mail message to

     mailto:jasspa-unsubscribe@yahoogroups.com

or visit http://groups.yahoo.com/group/jasspa and
modify your account settings manually.




Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#767 From: "salmankhilji" <salmankhilji@...>
Date: Sat Dec 6, 2003 3:56 pm
Subject: How to add Qt keywords and string-rectangle
salmankhilji
Send Email Send Email
 
In Qt, in addition to having the following standard

public:
protected:
private:

keywords, you also have

public slots:
protected slots:
private slots:

If I issue the command restyle-buffer, then these do not get indented
right---they get the same columnar treatment as my member functions.
Can someone please tell me what I have to do to get this right.

I am using XEmacs right now.  There is a command where you can
vertically select a column and then issue a string-rectangle
command.  After asking you what the text you want to add, XEmacs then
inserts that word along the whole vertical line.  How do you do this
in MicroEmacs?

#768 From: Jon Green <jon@...>
Date: Sat Dec 6, 2003 4:48 pm
Subject: Re: How to add Qt keywords and string-rectangle
bigfatmrmoose
Send Email Send Email
 
salmankhilji wrote:
> In Qt, in addition to having the following standard
>
> public:
> protected:
> private:
>
> keywords, you also have
>
> public slots:
> protected slots:
> private slots:
>
> If I issue the command restyle-buffer, then these do not get indented
> right---they get the same columnar treatment as my member functions.
> Can someone please tell me what I have to do to get this right.

Some problems have been reported with the C++
re-styling which have been fixed in the
up and coming '04 release. Would be useful
if you could send an example file to
"support" at jasspa.com so that the re-style
can be checked (or return to me directly).

As a work around then select a region and
then issue a hilight-region command. Not ideal
but is really all I can suggest.

>
> I am using XEmacs right now.  There is a command where you can
> vertically select a column and then issue a string-rectangle
> command.  After asking you what the text you want to add, XEmacs then
> inserts that word along the whole vertical line.  How do you do this
> in MicroEmacs?

There is no such command as this but .... we can make one !
The following attachment should do what you want if I have
interpreted your comment correctly. Any issues then get back
to me or modify yourself.

To test:-

Load the .emf a buffer and then "M-x execute-buffer" to
load the macro. Then "M-x string-rectangle" to execute
once you have selected a region. The insertion column
is the column at the start of the region with the
lowest line number. (i.e. uppermost line of region).

To always load:-

Add the macro to your "user.emf" such
that it is executed on start up.

Regards
Jon.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;  Author        : $Author$
;  Created By    : Jon Green
;  Created       : Sat Dec 6 16:12:15 2003
;  Last Modified : <031206.1638>
;
;  Description
;
;  Notes
;
;  History
;
;  Copyright (c) 2003 Jon Green.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; string-rectangle; With a region selected across multiple lines then
; the user is prompted for a string. The string is inserted at the
; same horizonatal position on all lines.
define-macro string-rectangle
      0 show-region
      !if &equ &band $result 5 5
          !if ¬ &band $result 2
              3 show-region
          !endif
          set-position "\x81"
          -2 show-region
          set-variable #l1 $window-line
          set-variable #l3 $window-col
          2 show-region
          set-variable #l2 $window-line
          set-variable #l4 $window-col
          ; If the lines are equal then quit now.
          !if &equ #l1 #l2
              ; Failed - Reactivate the region that is active.
              goto-position "\x81"
              !force 4 show-region
              !abort
          !endif
          ; Compute the top line.
          !if &gre #l1 #l2
              ; Swap lines
              set-variable #l0 #l2
              set-variable #l2 #l1
              set-variable #l1 #l0

              ; Swap columns
              set-variable #l0 #l4
              set-variable #l4 #l3
              set-variable #l3 #l0
          !else
              -2 show-region
          !endif
          ; Get the string to insert
          !force set-variable #l6 @ml "String ? "
          !if ¬ $status
              ; Failed - Reactivate the region that is active.
              goto-position "\x81"
              !force 4 show-region
              !abort
          !endif
          ; Fill all of the lines in the region
          ; from the first column.
          !repeat
              ; Move to the column
              beginning-of-line
              !while &les $window-col #l3
                  !if ¬ &seq @wc "\n"
                      forward-char
                  !else
                      insert-string " "
                  !endif
              !done
              ; Insert the string
              insert-string #l6
              !force forward-line
              set-variable #l1 &add #l1 1
          !until &gre #l1 #l2
          ; Knock off all of the region stuff
          ; and resume first position.
          !force -3 show-region
          !force  3 show-region
          !force -1 show-region
          goto-position "\x81"
          !return
      !endif
      !abort
!emacro

#769 From: Jon Green <jon@...>
Date: Sat Dec 6, 2003 5:19 pm
Subject: Re: How to add Qt keywords and string-rectangle
bigfatmrmoose
Send Email Send Email
 
Jon Green wrote:
> salmankhilji wrote:
>
>>In Qt, in addition to having the following standard
>>
>>public:
>>protected:
>>private:
>>
>>keywords, you also have
>>
>>public slots:
>>protected slots:
>>private slots:
>>
>>If I issue the command restyle-buffer, then these do not get indented
>>right---they get the same columnar treatment as my member functions.
>>Can someone please tell me what I have to do to get this right.
>
>
> Some problems have been reported with the C++
> re-styling which have been fixed in the
> up and coming '04 release. Would be useful
> if you could send an example file to
> "support" at jasspa.com so that the re-style
> can be checked (or return to me directly).
>
> As a work around then select a region and
> then issue a hilight-region command. Not ideal

Opps! "restyle-region" is the command.

Jon.

> but is really all I can suggest.
>

#770 From: "salmankhilji" <salmankhilji@...>
Date: Sun Dec 7, 2003 5:31 am
Subject: A few more improvements requested
salmankhilji
Send Email Send Email
 
Thanks Jon...your string-rectangle works as I expected.

Before I can divorce XEmacs for its slow performance, I would like two
more features:

1)  When I issue a make command in XEmacs, the make commands are
executec in "real-time".  I see the commands are they are running.
Also each make command is colored....the command itself is in green.
Any errors appear in red....warnings from gcc appear in orange.  If an
error occurs during the build I can move my cursor on the error line
and hit return.  XEmacs then opens that file with error on the line
where the error occured.  Alternatively I can do "C-x ~" to cycle thru
the errors and warnings during the build.  MicroEmacs kinda "hangs up"
and displays the results of the build after all the build commands are
completed.

I am using "Esc !" to get to the place where it aks me what command to
run and then I issue the "make" command.

2)  If I issue an rgrep command, it asks me all the questions and then
displays the results of the grep, but if I move my cursor over one of
the results and hit <enter> nothing happens.  In XEmacs, I can jump to
the file and line number where the keyword was found.



Salman

#771 From: "salmankhilji" <salmankhilji@...>
Date: Sun Dec 7, 2003 8:15 pm
Subject: Re: A few more improvements requested
salmankhilji
Send Email Send Email
 
Sorry, I figure out some of these myself.

For 1)  You use the <compile> command instead of the <pipe> command.
Colorizing the make output would still be a big plus+

For 2)  You move your mouse cursor BEFORE the item and then Issue:

C-x `

Salman

#772 From: "salmankhilji" <salmankhilji@...>
Date: Sun Dec 7, 2003 8:22 pm
Subject: How to search forward for selection
salmankhilji
Send Email Send Email
 
I had someone give me a macro in XEmacs that searches forwards or
backwards for the current selected word.  So it works like:

1) C-space to mark
2) C and right arrow to select the word
3) C-s to start searching forwards for the selected word.

In MicroEmacs I don't have this macro.  What I have to do is:

1) C-space to mark
2) C and right arrow to select the word
3) Esc w to copy
4) C-s to invoke the search command
5) C-y to yank the word in the mini buffer
6) C-s to start searching

Can someone please give me a MicroEmacs mico that does it in fewer steps.

Salman

#773 From: "salmankhilji" <salmankhilji@...>
Date: Sun Dec 7, 2003 8:26 pm
Subject: More C++ formatting problems
salmankhilji
Send Email Send Email
 
I am using the Dec 2002 release on Linux.  I have a C++ constructor like:

AnalogClock::AnalogClock( QWidget *parent, const char *name )
     : QWidget( parent, name )
{
     time = QTime::currentTime();  // get current time
     QTimer *internalTimer = new QTimer( this ); // create internal
}



If I issue the restyle region command, I get this:

AnalogClock::AnalogClock( QWidget *parent, const char *name )
: QWidget( parent, name )
{
     time = QTime::currentTime();  // get current time
     QTimer *internalTimer = new QTimer( this ); // create internal
}



Notice that the ": QWidget" constructor initialization list is take to
the beginning of the line.  It is preferable in C++ to indent the
constructor initialization list a little bit---like it was before
restyle region.

Has this been fixed in the latest release?

Salman

#774 From: "Phillips, Steven" <sphillips@...>
Date: Mon Dec 8, 2003 8:12 am
Subject: RE: How to search forward for selection
sphillips@...
Send Email Send Email
 
The best way to do this is:

	 C-s invoke search
	 C-w insert the next word/space into search string
	 C-s start search

To search for the next 2 words use:

	 C-s invoke search
	 C-w insert the next word into search string
	 C-w insert the next space into search string
	 C-w insert the 2nd word into search string
	 C-s start search

Steve

-----Original Message-----
From: salmankhilji [mailto:salmankhilji@...]
Sent: 07 December 2003 20:22
To: jasspa@yahoogroups.com
Subject: [jasspa] How to search forward for selection


I had someone give me a macro in XEmacs that searches forwards or
backwards for the current selected word.  So it works like:

1) C-space to mark
2) C and right arrow to select the word
3) C-s to start searching forwards for the selected word.

In MicroEmacs I don't have this macro.  What I have to do is:

1) C-space to mark
2) C and right arrow to select the word
3) Esc w to copy
4) C-s to invoke the search command
5) C-y to yank the word in the mini buffer
6) C-s to start searching

Can someone please give me a MicroEmacs mico that does it in fewer steps.

Salman




__________________________________________________________________________

This is an unmoderated list. JASSPA is not responsible for the content of
any material posted to this list.

To unsubscribe, send a mail message to

     mailto:jasspa-unsubscribe@yahoogroups.com

or visit http://groups.yahoo.com/group/jasspa and
modify your account settings manually.




Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

#775 From: "salmankhilji" <salmankhilji@...>
Date: Mon Dec 8, 2003 6:59 pm
Subject: Yet Another C/C++ reformat problem
salmankhilji
Send Email Send Email
 
I inherited some code from someone and right in the middle of a C++
member function was the definition of a C macro.  The definitino was:

void
Fgu_Widget::funcPaging( PageCmd cmd, int zSel, int tSel )
{
     OverlayType *ovly;
     int i, j;
     int currZIdx = -1;
     int currTIdx = -1;

#  define refresh() {\
     gui_check_for_edit(TRUE);\
     ACset_page_no(ovly->page_no);\
     store_selected_curves();\
     redraw_work_screen(TRUE);\
     coordinate_dialog_popup(FALSE);\
     j=0;\
     do {\
         for (i=0; i<ACnumber_of_breakpoints(AC_Zdim)-1; i++)\
             if ((ACnumber_of_breakpoints(AC_Zdim)*
j+i)==ACget_page_no())\
                 break;\
         if ((ACnumber_of_breakpoints(AC_Zdim)*j+i)==ACget_page_no())\
             break;\
         j++;\
     } while (j<ACnumber_of_breakpoints(AC_Tdim));\
     if (ACnumber_of_breakpoints(AC_Zdim))\
         currZIdx = i;\
     if (ACnumber_of_breakpoints(AC_Tdim))\
         currTIdx = j;\
     }

     .......
     .......
     .......
}

If I run the reformat-region command (in the Dec 2002 version), then
the very last line of the macro---i.e the lonely "}" moves to the very
first column.  I think it should stay in the 4th column as it was
previously.

Salman

#776 From: Jon Green <jon@...>
Date: Mon Dec 8, 2003 10:21 pm
Subject: Re: Yet Another C/C++ reformat problem
bigfatmrmoose
Send Email Send Email
 
salmankhilji wrote:
> I inherited some code from someone and right in the middle of a C++
> member function was the definition of a C macro.  The definitino was:
>
> void
> Fgu_Widget::funcPaging( PageCmd cmd, int zSel, int tSel )
> {
>     OverlayType *ovly;
>     int i, j;
>     int currZIdx = -1;
>     int currTIdx = -1;
>
> #  define refresh() {\
>     gui_check_for_edit(TRUE);\
>     ACset_page_no(ovly->page_no);\
>     store_selected_curves();\
>     redraw_work_screen(TRUE);\
>     coordinate_dialog_popup(FALSE);\
>     j=0;\
>     do {\
>         for (i=0; i<ACnumber_of_breakpoints(AC_Zdim)-1; i++)\
>             if ((ACnumber_of_breakpoints(AC_Zdim)*
> j+i)==ACget_page_no())\
>                 break;\
>         if ((ACnumber_of_breakpoints(AC_Zdim)*j+i)==ACget_page_no())\
>             break;\
>         j++;\
>     } while (j<ACnumber_of_breakpoints(AC_Tdim));\
>     if (ACnumber_of_breakpoints(AC_Zdim))\
>         currZIdx = i;\
>     if (ACnumber_of_breakpoints(AC_Tdim))\
>         currTIdx = j;\
>     }
>
>     .......
>     .......
>     .......
> }
>
> If I run the reformat-region command (in the Dec 2002 version), then
> the very last line of the macro---i.e the lonely "}" moves to the very
> first column.  I think it should stay in the 4th column as it was
> previously.
>
> Salman
>

I think I would class this as an implementation
problem rather than formating problem !

Jon.

#777 From: Jon Green <jon@...>
Date: Tue Dec 9, 2003 12:33 am
Subject: Re: More C++ formatting problems
bigfatmrmoose
Send Email Send Email
 
salmankhilji wrote:
> I am using the Dec 2002 release on Linux.  I have a C++ constructor like:
>
> AnalogClock::AnalogClock( QWidget *parent, const char *name )
>     : QWidget( parent, name )
> {
>     time = QTime::currentTime();  // get current time
>     QTimer *internalTimer = new QTimer( this ); // create internal
> }
>
>
>
> If I issue the restyle region command, I get this:
>
> AnalogClock::AnalogClock( QWidget *parent, const char *name )
> : QWidget( parent, name )
> {
>     time = QTime::currentTime();  // get current time
>     QTimer *internalTimer = new QTimer( this ); // create internal
> }
>
>
>
> Notice that the ": QWidget" constructor initialization list is take to
> the beginning of the line.  It is preferable in C++ to indent the
> constructor initialization list a little bit---like it was before
> restyle region.
>
> Has this been fixed in the latest release?
>

No it was not, but it is now.
Thanks
Jon.

>
> Salman
>

Messages 748 - 777 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