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 1117 - 1146 of 2695   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#1117 From: Meino Christian Cramer <Meino.Cramer@...>
Date: Sun Jun 13, 2004 1:43 pm
Subject: Re: ME problems on Fedora Core 2
Meino.Cramer@...
Send Email Send Email
 
From: Salman Khilji <salmankhilji@...>
Subject: Re: [jasspa] ME problems on Fedora Core 2
Date: Fri, 11 Jun 2004 09:33:38 -0700 (PDT)

Hi,

  ...this is just like a shot in the dark...but...

  A few weeks ago I had a similiar problem with a program stating, that
  it could not find any pty...(I tink it was the tool "screen"...).

  I solved the problem in compiling a new kernel which supports
  both the legacy BSDlike PTY support
  (config help text says:

      Legacy (BSD) PTY support (LEGACY_PTYS)

      A pseudo terminal (PTY) is a software device consisting of two
      halves: a master and a slave. The slave device behaves identical to
      a physical terminal; the master device is used by a process to
      read data from and write data to the slave, thereby emulating a
      terminal. Typical programs for the master side are telnet servers
      and xterms.

      Linux has traditionally used the BSD-like names /dev/ptyxx
      for masters and /dev/ttyxx for slaves of pseudo
      terminals. This scheme has a number of problems, including
      security. This option enables these legacy devices; on most
      systems, it is safe to say N.

  )

  and the modern Unix98 PTYs.

  ..or, in other words...

  ME uses the old style "BSD STYLE LEGACY PTYs"...and on kernels of
  distros this (old and security risky( fearture is switched off....

  Therefore ME hangs in searching for something, which does not exists anymore...

  Keep hacking!
  Meino

>
> --- Steven Phillips <bill@...> wrote:
> > Salman,
> >
> > Do you know when this problem was introduced? i.e.
> > did all the 2004 RC
> > releases also have the problem? Does an early
> > version of ME still work without
> > this problem? i.e. can you eliminate environment
> > changes etc. Does this happen
> > in console mode or XTerm or both?
>
>
> It happens on both XTerm console and X GUI.  The same
> version of ME ran fine on SuSE 8.0 with the 2.4
> kernel.  FC2 has kernel 2.6.
>
>
> >
> > Has anyone else seen this problem? Is this unique to
> > FC2?
> >
>
>
> Okay I found a fix!!!!  It was really hard setting a
> beakpoint in the debugger while ME was hung.  The
> problem was that I could issue the 'rgrep' command and
> immediately switch to the debugger window since ME was
> taking all the resources---the debugger window would
> come to the top only once ME was "unhung" and the
> problem was long gone.  I ended up giving ME the
> lowest priority on the system.  Once I did this, I was
> able to issue the 'rgrep' command and had gdb stop the
> process during which it was hung.  I found out that
> the ME was hung in function allocatePty() in spawn.c @
> line 1236.  When I stepped thru the code, I found out
> that following if statement:
>
> if(stat((char *)ptyName,&stb) < 0)
>
> at line 1290 was failing on all pty devices.  The
> function ended up returning -1.  I don't know what
> this pty stuff is.  So I changed the function to:
>
> static int
> allocatePty(meUByte *ptyName)
> {
>   return -1;
>   ...
>   ...
> }
>
> After this ME is fast and does not hang up.  I think
> we should find out why stat is failing, but I don't
> have any experience on this topic.  Any suggestions?
>
> Salman
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/
>
>
>
> __________________________________________________________________________
>
> 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.
>
>
>
> Yahoo! Groups Links
>
>
>
>
>

#1118 From: Steven Phillips <bill@...>
Date: Sun Jun 13, 2004 6:05 pm
Subject: Re[2]: ME problems on Fedora Core 2
bill@...
Send Email Send Email
 
That looks about spot on, Salman's 'fix' should allow programs like grep or
find to run in ME but ishell (a unix shell within ME) is unlikely to work as
the shell requires proper Job and terminal control which means it needs the
pseudo terminal. So does anyone have any docs on the new style PTYs? Is there
a system call to allocate one or is it simply a different naming convension?

Steve

> Subject: [jasspa] ME problems on Fedora Core 2
> From: Meino Christian Cramer <Meino.Cramer@...>
> Date: Sunday, June 13, 2004, 2:43:03 PM
> To: jasspa@yahoogroups.com, salmankhilji@...
> From: Salman Khilji <salmankhilji@...>
> Subject: Re: [jasspa] ME problems on Fedora Core 2
> Date: Fri, 11 Jun 2004 09:33:38 -0700 (PDT)

> Hi,

>  ...this is just like a shot in the dark...but...

>  A few weeks ago I had a similiar problem with a program stating, that
>  it could not find any pty...(I tink it was the tool "screen"...).

>  I solved the problem in compiling a new kernel which supports
>  both the legacy BSDlike PTY support
>  (config help text says:

>      Legacy (BSD) PTY support (LEGACY_PTYS)

>      A pseudo terminal (PTY) is a software device consisting of two
>      halves: a master and a slave. The slave device behaves identical to
>      a physical terminal; the master device is used by a process to
>      read data from and write data to the slave, thereby emulating a
>      terminal. Typical programs for the master side are telnet servers
>      and xterms.

>      Linux has traditionally used the BSD-like names /dev/ptyxx
>      for masters and /dev/ttyxx for slaves of pseudo
>      terminals. This scheme has a number of problems, including
>      security. This option enables these legacy devices; on most
>      systems, it is safe to say N.

>  )

>  and the modern Unix98 PTYs.

>  ..or, in other words...

>  ME uses the old style "BSD STYLE LEGACY PTYs"...and on kernels of
>  distros this (old and security risky( fearture is switched off....

>  Therefore ME hangs in searching for something, which does not exists
anymore...

>  Keep hacking!
>  Meino

>>
>> --- Steven Phillips <bill@...> wrote:
>> > Salman,
>> >
>> > Do you know when this problem was introduced? i.e.
>> > did all the 2004 RC
>> > releases also have the problem? Does an early
>> > version of ME still work without
>> > this problem? i.e. can you eliminate environment
>> > changes etc. Does this happen
>> > in console mode or XTerm or both?
>>
>>
>> It happens on both XTerm console and X GUI.  The same
>> version of ME ran fine on SuSE 8.0 with the 2.4
>> kernel.  FC2 has kernel 2.6.
>>
>>
>> >
>> > Has anyone else seen this problem? Is this unique to
>> > FC2?
>> >
>>
>>
>> Okay I found a fix!!!!  It was really hard setting a
>> beakpoint in the debugger while ME was hung.  The
>> problem was that I could issue the 'rgrep' command and
>> immediately switch to the debugger window since ME was
>> taking all the resources---the debugger window would
>> come to the top only once ME was "unhung" and the
>> problem was long gone.  I ended up giving ME the
>> lowest priority on the system.  Once I did this, I was
>> able to issue the 'rgrep' command and had gdb stop the
>> process during which it was hung.  I found out that
>> the ME was hung in function allocatePty() in spawn.c @
>> line 1236.  When I stepped thru the code, I found out
>> that following if statement:
>>
>> if(stat((char *)ptyName,&stb) < 0)
>>
>> at line 1290 was failing on all pty devices.  The
>> function ended up returning -1.  I don't know what
>> this pty stuff is.  So I changed the function to:
>>
>> static int
>> allocatePty(meUByte *ptyName)
>> {
>>   return -1;
>>   ...
>>   ...
>> }
>>
>> After this ME is fast and does not hang up.  I think
>> we should find out why stat is failing, but I don't
>> have any experience on this topic.  Any suggestions?
>>
>> Salman
>>
>>
>>
>>
>> __________________________________
>> Do you Yahoo!?
>> Friends.  Fun.  Try the all-new Yahoo! Messenger.
>> http://messenger.yahoo.com/
>>
>>
>>
>> __________________________________________________________________________
>>
>> 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.
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>



> __________________________________________________________________________

> 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.



> Yahoo! Groups Links

#1119 From: Steven Phillips <bill@...>
Date: Sun Jun 13, 2004 10:22 pm
Subject: Re: Regex \sC class unsupported in 04/03/01?
bill@...
Send Email Send Email
 
ME currently supports just 'w' for word chars and ' ' or '-' for white spaces.
I have to say that I've not needed any others, are there any we are really
missing out on?

Steve

> Subject: [jasspa] Regex \sC class unsupported in 04/03/01?
> From: Thomas Hundt <thundt@...>
> Date: Thursday, May 20, 2004, 5:34:23 PM
> To: "JASSPA MicroEmacs Mailing List (W)" <jasspa@yahoogroups.com>
> When I try to use the \sC regular expression token, I get errors like
> "[Regex Error: Unsupported class (\sC)]" (this one when doing a
> search-and-replace).

> I never used \sC before, but thought I'd give it a try; I was trying to
> match parentheses characters.  (I've since figured out one can just use
> them as-is.  I always get confused; in Perl and egrep one must escape
> them.)  I'm not clear on just what \sC is useful for.  And the
> documentation is not explicit: What forms of \sC are available?  \sw,
> \s-, \s( -- what else?  (Obviously not a-z, if "w" means "word".)

> Regards,

> -Th

#1120 From: Meino Christian Cramer <Meino.Cramer@...>
Date: Mon Jun 14, 2004 5:43 am
Subject: Re: ME problems on Fedora Core 2
Meino.Cramer@...
Send Email Send Email
 
From: Steven Phillips <bill@...>
Subject: Re[2]: [jasspa] ME problems on Fedora Core 2
Date: Sun, 13 Jun 2004 19:05:40 +0100

Unfortunately I am no kernel hacker.
But my be you will find, what you are looking for, in the
"Documentation" subtree of a current linux kernel source tree ?

Keep hacking!
  Meino



> That looks about spot on, Salman's 'fix' should allow programs like grep or
> find to run in ME but ishell (a unix shell within ME) is unlikely to work as
> the shell requires proper Job and terminal control which means it needs the
> pseudo terminal. So does anyone have any docs on the new style PTYs? Is there
> a system call to allocate one or is it simply a different naming convension?
>
> Steve
>
> > Subject: [jasspa] ME problems on Fedora Core 2
> > From: Meino Christian Cramer <Meino.Cramer@...>
> > Date: Sunday, June 13, 2004, 2:43:03 PM
> > To: jasspa@yahoogroups.com, salmankhilji@...
> > From: Salman Khilji <salmankhilji@...>
> > Subject: Re: [jasspa] ME problems on Fedora Core 2
> > Date: Fri, 11 Jun 2004 09:33:38 -0700 (PDT)
>
> > Hi,
>
> >  ...this is just like a shot in the dark...but...
>
> >  A few weeks ago I had a similiar problem with a program stating, that
> >  it could not find any pty...(I tink it was the tool "screen"...).
>
> >  I solved the problem in compiling a new kernel which supports
> >  both the legacy BSDlike PTY support
> >  (config help text says:
>
> >      Legacy (BSD) PTY support (LEGACY_PTYS)
>
> >      A pseudo terminal (PTY) is a software device consisting of two
> >      halves: a master and a slave. The slave device behaves identical to
> >      a physical terminal; the master device is used by a process to
> >      read data from and write data to the slave, thereby emulating a
> >      terminal. Typical programs for the master side are telnet servers
> >      and xterms.
>
> >      Linux has traditionally used the BSD-like names /dev/ptyxx
> >      for masters and /dev/ttyxx for slaves of pseudo
> >      terminals. This scheme has a number of problems, including
> >      security. This option enables these legacy devices; on most
> >      systems, it is safe to say N.
>
> >  )
>
> >  and the modern Unix98 PTYs.
>
> >  ..or, in other words...
>
> >  ME uses the old style "BSD STYLE LEGACY PTYs"...and on kernels of
> >  distros this (old and security risky( fearture is switched off....
>
> >  Therefore ME hangs in searching for something, which does not exists
anymore...
>
> >  Keep hacking!
> >  Meino
>
> >>
> >> --- Steven Phillips <bill@...> wrote:
> >> > Salman,
> >> >
> >> > Do you know when this problem was introduced? i.e.
> >> > did all the 2004 RC
> >> > releases also have the problem? Does an early
> >> > version of ME still work without
> >> > this problem? i.e. can you eliminate environment
> >> > changes etc. Does this happen
> >> > in console mode or XTerm or both?
> >>
> >>
> >> It happens on both XTerm console and X GUI.  The same
> >> version of ME ran fine on SuSE 8.0 with the 2.4
> >> kernel.  FC2 has kernel 2.6.
> >>
> >>
> >> >
> >> > Has anyone else seen this problem? Is this unique to
> >> > FC2?
> >> >
> >>
> >>
> >> Okay I found a fix!!!!  It was really hard setting a
> >> beakpoint in the debugger while ME was hung.  The
> >> problem was that I could issue the 'rgrep' command and
> >> immediately switch to the debugger window since ME was
> >> taking all the resources---the debugger window would
> >> come to the top only once ME was "unhung" and the
> >> problem was long gone.  I ended up giving ME the
> >> lowest priority on the system.  Once I did this, I was
> >> able to issue the 'rgrep' command and had gdb stop the
> >> process during which it was hung.  I found out that
> >> the ME was hung in function allocatePty() in spawn.c @
> >> line 1236.  When I stepped thru the code, I found out
> >> that following if statement:
> >>
> >> if(stat((char *)ptyName,&stb) < 0)
> >>
> >> at line 1290 was failing on all pty devices.  The
> >> function ended up returning -1.  I don't know what
> >> this pty stuff is.  So I changed the function to:
> >>
> >> static int
> >> allocatePty(meUByte *ptyName)
> >> {
> >>   return -1;
> >>   ...
> >>   ...
> >> }
> >>
> >> After this ME is fast and does not hang up.  I think
> >> we should find out why stat is failing, but I don't
> >> have any experience on this topic.  Any suggestions?
> >>
> >> Salman
> >>
> >>
> >>
> >>
> >> __________________________________
> >> Do you Yahoo!?
> >> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> >> http://messenger.yahoo.com/
> >>
> >>
> >>
> >> __________________________________________________________________________
> >>
> >> 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.
> >>
> >>
> >>
> >> Yahoo! Groups Links
> >>
> >>
> >>
> >>
> >>
>
>
>
> > __________________________________________________________________________
>
> > 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.
>
>
>
> > Yahoo! Groups Links
>
>
>
>
>
>
>
>
> __________________________________________________________________________
>
> 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.
>
>
>
> Yahoo! Groups Links
>
>
>
>
>

#1121 From: "salmankhilji" <salmankhilji@...>
Date: Mon Jun 14, 2004 12:37 pm
Subject: Re: ME problems on Fedora Core 2
salmankhilji
Send Email Send Email
 
--- In jasspa@yahoogroups.com, Steven Phillips <bill@j...> wrote:
> That looks about spot on, Salman's 'fix' should allow programs like
grep or
> find to run in ME but ishell (a unix shell within ME) is unlikely to
work as
> the shell requires proper Job and terminal control which means it
needs the
> pseudo terminal. So does anyone have any docs on the new style PTYs?
Is there
> a system call to allocate one or is it simply a different naming
convension?
>

Would it help if I post the result of

cd /dev
ls -l pt*

The results are rather long which is why I don't want to post it here

Salman

#1122 From: "salmankhilji" <salmankhilji@...>
Date: Tue Jun 22, 2004 1:17 pm
Subject: Help with my macro
salmankhilji
Send Email Send Email
 
To convert tabs to spaces in batch to a collection of files, I created
a macro named untabify.emf and put it in $HOME/.jasspa/

The contents of the macro are:

define-macro start-up
     delete-other-windows
     !while ¬ &seq $buffer-bname "*scratch*"
         ml-write &spr "Processing [%s]" $buffer-fname
         tabs-to-spaces
         save-buffer
         delete-buffer $buffer-bname
     !done
     exit-emacs
!emacro

This is basically a copy of the dos2unix macro that ships with ME.
However, this does not work.  ME complains that it does not know the
tabs-to-spaces macro.  I have to copy the macro definition into
untabify.emf.  Is there a way to not have to copy the macro definition
and have ME somehow know the existence of other macros within a file
like untabify.emf or dos2unix.emf?

Salman

#1123 From: "Phillips, Steven" <sphillips@...>
Date: Tue Jun 22, 2004 1:26 pm
Subject: RE: Help with my macro
sphillips@...
Send Email Send Email
 
Salman,

If you look in me.emf you will see a long list of define-macro-file lines, these
do what you are try to do. You need a line like the following:

     define-macro-file format tabs-to-spaces

These lines are like a prototype, rather than loading all the macro files to
fully define all commands (which would really slow down start-up) it creates the
command as undinied with a pointer to where to get the definition.

The alternative technique would be to simply execute the format.emf file, i.e.

     execute-file "format"

Which will full define the macro straight away,

Steve

> -----Original Message-----
> From: salmankhilji [mailto:salmankhilji@...]
> Sent: 22 June 2004 14:18
> To: jasspa@yahoogroups.com
> Subject: [jasspa] Help with my macro
>
>
> To convert tabs to spaces in batch to a collection of files, I created
> a macro named untabify.emf and put it in $HOME/.jasspa/
>
> The contents of the macro are:
>
> define-macro start-up
>     delete-other-windows
>     !while ¬ &seq $buffer-bname "*scratch*"
>         ml-write &spr "Processing [%s]" $buffer-fname
>         tabs-to-spaces
>         save-buffer
>         delete-buffer $buffer-bname
>     !done
>     exit-emacs
> !emacro
>
> This is basically a copy of the dos2unix macro that ships with ME.
> However, this does not work.  ME complains that it does not know the
> tabs-to-spaces macro.  I have to copy the macro definition into
> untabify.emf.  Is there a way to not have to copy the macro definition
> and have ME somehow know the existence of other macros within a file
> like untabify.emf or dos2unix.emf?
>
> Salman
>
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
> Now with Pop-Up Blocker. Get it for free!
> http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/89EolB/TM
> --------------------------------------------------------------
> ------~->
>
> ______________________________________________________________
> ____________
>
> 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.
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>

#1124 From: Jon Green <jon@...>
Date: Tue Jun 22, 2004 1:30 pm
Subject: Re: Help with my macro
bigfatmrmoose
Send Email Send Email
 
salmankhilji wrote:
> To convert tabs to spaces in batch to a collection of files, I created
> a macro named untabify.emf and put it in $HOME/.jasspa/
>
> The contents of the macro are:
>
> define-macro start-up
>     delete-other-windows
>     !while ¬ &seq $buffer-bname "*scratch*"
>         ml-write &spr "Processing [%s]" $buffer-fname
>         tabs-to-spaces
>         save-buffer
>         delete-buffer $buffer-bname
>     !done
>     exit-emacs
> !emacro
>
> This is basically a copy of the dos2unix macro that ships with ME.
> However, this does not work.  ME complains that it does not know the
> tabs-to-spaces macro.  I have to copy the macro definition into
> untabify.emf.  Is there a way to not have to copy the macro definition
> and have ME somehow know the existence of other macros within a file
> like untabify.emf or dos2unix.emf?
>
> Salman
>

When you run as startup then none of the macros are known.
You need to declare where it is - much the same as an extern in C.
Add the following to the file:-

define-macro-file format tabs-to-spaces

This tells me that tabs-to-spaces may be found in the file format.emf

Jon.

#1125 From: Meino Christian Cramer <Meino.Cramer@...>
Date: Wed Jun 23, 2004 10:04 am
Subject: ALT-ESC-ALTGR "madness"
Meino.Cramer@...
Send Email Send Email
 
Hi,

  The user setup for my ME installation is set for

	  ALT -> Main Menu : N
	  ALT -> Esc       : Y

  This way, I can go to the command line pressing ALT-x directly.

  Unfortunately on my keyboard layout (german) some essentials like
  "\{[]}¸~@|`µ" are reachable only via ALTGR - <key>.

  Now ME interprets ALTGR (right ALT) as  CTL-C and I will be beamed
  directly into the command line with a CTRL-C prefix.

  To get (for example) a "\" I have to press ALTGR-\-\.

  What did I wrong in the configuration ?

  Is there a way to avoid the mechanism described above and remain the
  funtionality of ALT-x intact ?

  Kind regards,
  Meino

#1126 From: Sakari Tanhua <stanhua@...>
Date: Wed Jun 23, 2004 4:13 pm
Subject: Re: ALT-ESC-ALTGR "madness"
sakaritanhua
Send Email Send Email
 
Hi Meino,

>  Now ME interprets ALTGR (right ALT) as  CTL-C and I will be beamed
>  directly into the command line with a CTRL-C prefix.

I recently upgraded from XFree86 4.3 to XOrg X11R6.7.0 and encountered this
very same problem with finnish keyboard layout, which is pretty similar to
the german one. In 4.3 I had such settings that AltGr produced Mode_switch
keysym, but in X11R6.7.0 it produces ISO_Level3_Shift, and this is what
triggers the problem.

I took a look at ME's sources, and in unixterm.c on line 1749 the
Mode_switch is "handled", i.e. it's ignored. The problem was solved by
adding a similar case statement for ISO_Level3_Shift:

#ifdef XK_Mode_switch
                 case XK_Mode_switch:
                 case XK_ISO_Level3_Shift:  /* this line added */

And that's it. Now AltGr works like it's supposed to.

Sakari

#1127 From: Meino Christian Cramer <Meino.Cramer@...>
Date: Wed Jun 23, 2004 7:50 pm
Subject: Re: ALT-ESC-ALTGR "madness"
Meino.Cramer@...
Send Email Send Email
 
From: Sakari Tanhua <stanhua@...>
Subject: Re: [jasspa] ALT-ESC-ALTGR "madness"
Date: Wed, 23 Jun 2004 19:13:05 +0300

Hi Sakari,

  thank you very much for your very fast and help ful reply !!!

  I am using XFree 4.4.0

  I will patch me me sources and then.... TADA!  :O)

  By the way: I first used MicroEmacs on my Atari 1989  (or so...?) ... it was
  the Daniel Lawrence (?) edition then...

  I am happy to have it on my Linux box again...but I am missing a
  language file set (syntax, indentation and highlightning) for the
  Ruby programming language (do you know Ruby?) ...

  Thank you very much for your help, Sakari! :O)

  Keep hacking!
  Meino



> Hi Meino,
>
> >  Now ME interprets ALTGR (right ALT) as  CTL-C and I will be beamed
> >  directly into the command line with a CTRL-C prefix.
>
> I recently upgraded from XFree86 4.3 to XOrg X11R6.7.0 and encountered this
> very same problem with finnish keyboard layout, which is pretty similar to
> the german one. In 4.3 I had such settings that AltGr produced Mode_switch
> keysym, but in X11R6.7.0 it produces ISO_Level3_Shift, and this is what
> triggers the problem.
>
> I took a look at ME's sources, and in unixterm.c on line 1749 the
> Mode_switch is "handled", i.e. it's ignored. The problem was solved by
> adding a similar case statement for ISO_Level3_Shift:
>
> #ifdef XK_Mode_switch
>                 case XK_Mode_switch:
>                 case XK_ISO_Level3_Shift:  /* this line added */
>
> And that's it. Now AltGr works like it's supposed to.
>
> Sakari
>
>
>
> __________________________________________________________________________
>
> 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.
>
>
>
> Yahoo! Groups Links
>
>
>
>
>

#1128 From: Meino Christian Cramer <Meino.Cramer@...>
Date: Fri Jun 25, 2004 6:50 am
Subject: Somehow "unknown user" effects
Meino.Cramer@...
Send Email Send Email
 
Hi,

  I got a "problem with ME" -- and the "'s are for "I dont know, who is
  guilty for that".

  I am using XFree 4.4.0 and IceWM 1.2.14 on Linux 2.6.7

  When starting xterm/rxvt from the menu of IceWM's taskbar and then
  firing up ME from rxvt/xterm there is no problem: ME finds its user
  related configuration files in $HOME/me/. and everything is
  wonderful.

  BUT:
  When starting ME directly from that menu it comes up in white on
  black (instead my preferred "blue hue") and and there is a message in
  the "command line" of ME saying "Failed to load file me" (the menu
  bar at the top is also missing....).

  Other programs started from that menu "know" my $HOME and "who I am"
  ;) (for example, when doing and "Open..." from a "File" menu entry of
  such programms I have r/w access to my own $HOME directory at once --
  I am not "beamed" elsewhere.

  I dont know, what is happening here...whether IceWM has a problem or
  ME get confused or...

  Does anyone know a trick to avoid such problems?

  Thank you very much in advance for any help !

  Have a nice weekend!
  Meino

#1129 From: "Phillips, Steven" <sphillips@...>
Date: Fri Jun 25, 2004 7:07 am
Subject: RE: Somehow "unknown user" effects
sphillips@...
Send Email Send Email
 
Meino,

For your user files to be in '~/me' you must be using some customisation
environment variable, in ME 2004 this could be one of $MEPATH, $MEUSERPATH or
possibly $MEINSTALLPATH, the setting of $MENAME can also cause this. The most
likely cause of this problem is the setting of one or more of these env.
variables, is it possible that the variable is set when you run an xterm but not
when your IceWM is run? i.e. the window manager has not got this variable set so
when it runs ME directly ME will not be configured properly?

If so there are at least 3 solutions to this:

	 Rather that running ME directly from IceWM, create a simple script that sets
the missing env. var. first.

	 Get the missing $ME..PATH variable set before IceWM is run.

	 Remove the need for this variable to be set. In ME 2004 if no env. vars are set
ME looks for its system setup files in any of the following directories:

		 /opt/jasspa:/usr/share/jasspa:/usr/local/jasspa

	 And looks for your user setup files in ~/.jasspa so you could try installing
the macros into /opt/jasspa/macros, renaming ~/me to ~/.jasspa and remove any
$ME.... env. variable.

Steve

> -----Original Message-----
> From: Meino Christian Cramer [mailto:Meino.Cramer@...]
> Sent: 25 June 2004 07:50
> To: jasspa@yahoogroups.com
> Subject: [jasspa] Somehow "unknown user" effects
>
>
> Hi,
>
>  I got a "problem with ME" -- and the "'s are for "I dont know, who is
>  guilty for that".
>
>  I am using XFree 4.4.0 and IceWM 1.2.14 on Linux 2.6.7
>
>  When starting xterm/rxvt from the menu of IceWM's taskbar and then
>  firing up ME from rxvt/xterm there is no problem: ME finds its user
>  related configuration files in $HOME/me/. and everything is
>  wonderful.
>
>  BUT:
>  When starting ME directly from that menu it comes up in white on
>  black (instead my preferred "blue hue") and and there is a message in
>  the "command line" of ME saying "Failed to load file me" (the menu
>  bar at the top is also missing....).
>
>  Other programs started from that menu "know" my $HOME and "who I am"
>  ;) (for example, when doing and "Open..." from a "File" menu entry of
>  such programms I have r/w access to my own $HOME directory at once --
>  I am not "beamed" elsewhere.
>
>  I dont know, what is happening here...whether IceWM has a problem or
>  ME get confused or...
>
>  Does anyone know a trick to avoid such problems?
>
>  Thank you very much in advance for any help !
>
>  Have a nice weekend!
>  Meino
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> Yahoo! Domains - Claim yours for only $14.70
> http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/89EolB/TM
> --------------------------------------------------------------
> ------~->
>
> ______________________________________________________________
> ____________
>
> 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.
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>

#1130 From: Jon Green <jon@...>
Date: Fri Jun 25, 2004 7:29 am
Subject: Re: Somehow "unknown user" effects
bigfatmrmoose
Send Email Send Email
 
Phillips, Steven wrote:

> Meino,
>
> For your user files to be in '~/me' you must be using some customisation
environment variable, in ME 2004 this could be one of $MEPATH, $MEUSERPATH or
possibly $MEINSTALLPATH, the setting of $MENAME can also cause this. The most
likely cause of this problem is the setting of one or more of these env.
variables, is it possible that the variable is set when you run an xterm but not
when your IceWM is run? i.e. the window manager has not got this variable set so
when it runs ME directly ME will not be configured properly?
>
> If so there are at least 3 solutions to this:
>
>  Rather that running ME directly from IceWM, create a simple script that sets
the missing env. var. first.
>
>  Get the missing $ME..PATH variable set before IceWM is run.
>
>  Remove the need for this variable to be set. In ME 2004 if no env. vars are
set ME looks for its system setup files in any of the following directories:
>
> 	 /opt/jasspa:/usr/share/jasspa:/usr/local/jasspa
>
>  And looks for your user setup files in ~/.jasspa so you could try installing
the macros into /opt/jasspa/macros, renaming ~/me to ~/.jasspa and remove any
$ME.... env. variable.
>
> Steve
>

Also ....

If you are not allowed to write to the system directories
then you can place the standard macros in ~/.jasspa/macros.
Your private macros and config would be placed in ~/.jasspa.
The search order in the user local directory is:

~/.jasspa:~/.jasspa/company:~/.jasspa/spelling:~/.jasspa/macros

The spelling dictionaries obviously live in ~/.jasspa/spelling.

With a layout like this then you do not need to set any
environment variables.

Jon.

#1131 From: Meino Christian Cramer <Meino.Cramer@...>
Date: Fri Jun 25, 2004 8:20 am
Subject: Re: Somehow "unknown user" effects
Meino.Cramer@...
Send Email Send Email
 
From: "Phillips, Steven" <sphillips@...>
Subject: RE: [jasspa] Somehow "unknown user" effects
Date: Fri, 25 Jun 2004 03:07:02 -0400

Hi,

  thank you very much for these hints !

  I build a script ("mecall") which sets all needed env.-variables and
  now ME knows itsself again :)

  Great!

  Kind regards and have a nice weekend,
  Meino

> Meino,
>
> For your user files to be in '~/me' you must be using some customisation
environment variable, in ME 2004 this could be one of $MEPATH, $MEUSERPATH or
possibly $MEINSTALLPATH, the setting of $MENAME can also cause this. The most
likely cause of this problem is the setting of one or more of these env.
variables, is it possible that the variable is set when you run an xterm but not
when your IceWM is run? i.e. the window manager has not got this variable set so
when it runs ME directly ME will not be configured properly?
>
> If so there are at least 3 solutions to this:
>
>  Rather that running ME directly from IceWM, create a simple script that sets
the missing env. var. first.
>
>  Get the missing $ME..PATH variable set before IceWM is run.
>
>  Remove the need for this variable to be set. In ME 2004 if no env. vars are
set ME looks for its system setup files in any of the following directories:
>
> 	 /opt/jasspa:/usr/share/jasspa:/usr/local/jasspa
>
>  And looks for your user setup files in ~/.jasspa so you could try installing
the macros into /opt/jasspa/macros, renaming ~/me to ~/.jasspa and remove any
$ME.... env. variable.
>
> Steve

> Also ....
>
> If you are not allowed to write to the system directories
> then you can place the standard macros in ~/.jasspa/macros.
> Your private macros and config would be placed in ~/.jasspa.
> The search order in the user local directory is:
>
> ~/.jasspa:~/.jasspa/company:~/.jasspa/spelling:~/.jasspa/macros
>
> The spelling dictionaries obviously live in ~/.jasspa/spelling.
>
> With a layout like this then you do not need to set any
> environment variables.
>
> Jon.


> > -----Original Message-----
> > From: Meino Christian Cramer [mailto:Meino.Cramer@...]
> > Sent: 25 June 2004 07:50
> > To: jasspa@yahoogroups.com
> > Subject: [jasspa] Somehow "unknown user" effects
> >
> >
> > Hi,
> >
> >  I got a "problem with ME" -- and the "'s are for "I dont know, who is
> >  guilty for that".
> >
> >  I am using XFree 4.4.0 and IceWM 1.2.14 on Linux 2.6.7
> >
> >  When starting xterm/rxvt from the menu of IceWM's taskbar and then
> >  firing up ME from rxvt/xterm there is no problem: ME finds its user
> >  related configuration files in $HOME/me/. and everything is
> >  wonderful.
> >
> >  BUT:
> >  When starting ME directly from that menu it comes up in white on
> >  black (instead my preferred "blue hue") and and there is a message in
> >  the "command line" of ME saying "Failed to load file me" (the menu
> >  bar at the top is also missing....).
> >
> >  Other programs started from that menu "know" my $HOME and "who I am"
> >  ;) (for example, when doing and "Open..." from a "File" menu entry of
> >  such programms I have r/w access to my own $HOME directory at once --
> >  I am not "beamed" elsewhere.
> >
> >  I dont know, what is happening here...whether IceWM has a problem or
> >  ME get confused or...
> >
> >  Does anyone know a trick to avoid such problems?
> >
> >  Thank you very much in advance for any help !
> >
> >  Have a nice weekend!
> >  Meino
> >
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> > --------------------~-->
> > Yahoo! Domains - Claim yours for only $14.70
> > http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/89EolB/TM
> > --------------------------------------------------------------
> > ------~->
> >
> > ______________________________________________________________
> > ____________
> >
> > 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.
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
>
>
>
> __________________________________________________________________________
>
> 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.
>
>
>
> Yahoo! Groups Links
>
>
>
>
>

#1132 From: Meino Christian Cramer <Meino.Cramer@...>
Date: Wed Jun 30, 2004 4:31 am
Subject: rsor colors
Meino.Cramer@...
Send Email Send Email
 
Hi,

  It would be very convenient to switch the cursor color when cwitching
  between insert and overwrite mode.

  ANother thing I want to change is the color of the status bar from
  inverse (white chars on black ground) to normal (black chars on
  white) since inverse video is hardly to recognize on my monitor.

  Is it possible and....hrmmm...how?

  Thank you very much fo rany help in advance -- as always! :O)

  Keep hacking!
  Meino

#1133 From: Meino Christian Cramer <Meino.Cramer@...>
Date: Wed Jul 7, 2004 6:01 am
Subject: Digging through the system files
Meino.Cramer@...
Send Email Send Email
 
Hi,

  while digging through the files, which come with the Jasspa
  Microemacs distribution, I found the following "construction", which
  not clear to me:

  <n> <macro>.....


  For some macros the <n> is explained the manual.

  But -- for example -- for "define-macro-file" I cannot find an explanation.

  What does -- for example -- mean:

  0 define-macro-file .....  ???

  Is there some "global" explanation for those <n>, and all (rare)
  extra explanation for <n> for some macros are exceptions? If yes:
  Where can I find that "global explanation" ?

  Thank you very much for any help in advance! :O)

  Meino

#1134 From: "Phillips, Steven" <sphillips@...>
Date: Wed Jul 7, 2004 6:53 am
Subject: RE: Digging through the system files
sphillips@...
Send Email Send Email
 
Meino,

The argument <n> for define-macro-file has the same effect as the argument for
define-macro. An argument of 0 is used to avoid polluting the command list with
commands the user should not execute/use directly, for example, type 'esc x if
tab' this completes to ifill-paragraph even through this macro uses the macros
ifill-para1 & ifill-para2. Without this feature 'if tab' would only complete to
'ifill-para' and the user wondering what the other 2 commands do...

Steve

> -----Original Message-----
> From: Meino Christian Cramer [mailto:Meino.Cramer@...]
> Sent: 07 July 2004 07:02
> To: jasspa@yahoogroups.com
> Subject: [jasspa] Digging through the system files
>
>
> Hi,
>
>  while digging through the files, which come with the Jasspa
>  Microemacs distribution, I found the following "construction", which
>  not clear to me:
>
>  <n> <macro>.....
>
>
>  For some macros the <n> is explained the manual.
>
>  But -- for example -- for "define-macro-file" I cannot find
> an explanation.
>
>  What does -- for example -- mean:
>
>  0 define-macro-file .....  ???
>
>  Is there some "global" explanation for those <n>, and all (rare)
>  extra explanation for <n> for some macros are exceptions? If yes:
>  Where can I find that "global explanation" ?
>
>  Thank you very much for any help in advance! :O)
>
>  Meino
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
> Now with Pop-Up Blocker. Get it for free!
> http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/89EolB/TM
> --------------------------------------------------------------
> ------~->
>
> ______________________________________________________________
> ____________
>
> 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.
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>

#1135 From: Meino Christian Cramer <Meino.Cramer@...>
Date: Wed Jul 7, 2004 7:27 am
Subject: Re: Digging through the system files
Meino.Cramer@...
Send Email Send Email
 
From: "Phillips, Steven" <sphillips@...>
Subject: RE: [jasspa] Digging through the system files
Date: Wed, 7 Jul 2004 02:53:49 -0400

Hi Steve,

  thank you a lot for the info ! :)

  I thought of this but then I found "ascii-time" as well explained in
  the manual (and therefore I thought it would be visible to the user)
  as declared ("defined","set" ot whatever english word is correct.. ;)
  sorry) in the "0 define-macro-file utils.emf"-statement in me.emf,
  and therefore it would be not visible to the user.

  At this point I did no what I should believe:   ;)
  The manual, the file me.emf or my own thought about the "0" in front
  of "define-macro-file".

  You see: YOur answer has helped me out of a lot confusion... :) :O) ;-) X-)

  Meino

> Meino,
>
> The argument <n> for define-macro-file has the same effect as the argument for
define-macro. An argument of 0 is used to avoid polluting the command list with
commands the user should not execute/use directly, for example, type 'esc x if
tab' this completes to ifill-paragraph even through this macro uses the macros
ifill-para1 & ifill-para2. Without this feature 'if tab' would only complete to
'ifill-para' and the user wondering what the other 2 commands do...
>
> Steve
>
> > -----Original Message-----
> > From: Meino Christian Cramer [mailto:Meino.Cramer@...]
> > Sent: 07 July 2004 07:02
> > To: jasspa@yahoogroups.com
> > Subject: [jasspa] Digging through the system files
> >
> >
> > Hi,
> >
> >  while digging through the files, which come with the Jasspa
> >  Microemacs distribution, I found the following "construction", which
> >  not clear to me:
> >
> >  <n> <macro>.....
> >
> >
> >  For some macros the <n> is explained the manual.
> >
> >  But -- for example -- for "define-macro-file" I cannot find
> > an explanation.
> >
> >  What does -- for example -- mean:
> >
> >  0 define-macro-file .....  ???
> >
> >  Is there some "global" explanation for those <n>, and all (rare)
> >  extra explanation for <n> for some macros are exceptions? If yes:
> >  Where can I find that "global explanation" ?
> >
> >  Thank you very much for any help in advance! :O)
> >
> >  Meino
> >
> >
> >
> >
> > ------------------------ Yahoo! Groups Sponsor
> > --------------------~-->
> > Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
> > Now with Pop-Up Blocker. Get it for free!
> > http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/89EolB/TM
> > --------------------------------------------------------------
> > ------~->
> >
> > ______________________________________________________________
> > ____________
> >
> > 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.
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
>
>
>
> __________________________________________________________________________
>
> 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.
>
>
>
> Yahoo! Groups Links
>
>
>
>
>

#1136 From: Meino Christian Cramer <Meino.Cramer@...>
Date: Tue Jul 20, 2004 10:55 pm
Subject: write-region or save-region
Meino.Cramer@...
Send Email Send Email
 
HI,

  is there a save-region or write-region macro out there anywhere?

  I tried to write one myself but I failed to get asking for a file to
  write to and error handling in case of target file do exist
  working...

  Thank you very much in advance for any help/macro ;) :O)

  Keep Microemacsing! X-)
  Meino

#1137 From: Jon Green <jon@...>
Date: Tue Jul 27, 2004 10:39 am
Subject: Patched Images Available
bigfatmrmoose
Send Email Send Email
 
A limited set of patches for the 20040301 release
have been posted to www.jasspa.com which includes
the latest fixes to the source and macros. They
are included in the normal download page.

Jon.

#1138 From: first last <prelude_2_murder@...>
Date: Tue Jul 27, 2004 4:45 pm
Subject: HTML tag matching
prelude_2_mu...
Send Email Send Email
 
Hi everyone.

For a while I have been looking for an editor that would hightlight
unmatched html tags (to no avail). Then I thought that ME would be the
ideal one.

Would it be possible to:
1. Show unmatched tags in a different colour (error colour?). So if you
have <td> and no </td> it would display the <td> in a different colour?

2. Make ME show matching tags. IE: if I have <td>...lots of text (a few
screenfuls) and I type (go over) </td> it would go back and show the
opening <td>, the same way as it does for {} in C and so on.

It could recognise the tags (IE only match td to /td and so on) or just
match the first tag it finds. As far as it recognises self-closed tags
(<br/> or <br />) it should be alright.

Ideally there would be a macro/command to do the same from the opening
tag.

Would that be possible? It would be a great selling point for ME, as I
said I haven't found any Linux editors that do that.

Thanks

Gabriel





___________________________________________________________ALL-NEW Yahoo!
Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com

#1139 From: Thomas Hundt <thundt@...>
Date: Tue Jul 27, 2004 6:40 pm
Subject: Re: HTML tag matching
thundt
Send Email Send Email
 
[Gabriel]
  > For a while I have been looking for an editor that would hightlight
  > unmatched html tags (to no avail).
  > Would it be possible to:
  > 1. Show unmatched tags in a different colour (error colour?). So if you
  > have <td> and no </td> it would display the <td> in a different colour?

I think in XML you are *required* to match (close) tags strictly; in
HTML you can get away with leaving a lot of them out (e.g., </td> before
a </tr>).  So this sort of thing would be useful for XML mode.

A nifty extra added feature would be a command that closed the most
recent open tag.  E.g., after a <td> you hit the key and it types the
</td> for you.  Wouldn't that be fun ;-)

-Th

#1140 From: first last <prelude_2_murder@...>
Date: Tue Jul 27, 2004 7:15 pm
Subject: Re: HTML tag matching
prelude_2_mu...
Send Email Send Email
 
HTML does not require you to close the tags, but it is recommended (and
required in XHTML).

What many editors do is closing the closest tag as soon as you type </,
no keypress required, can it get any easier than that?

--- Thomas Hundt <thundt@...> wrote:
---------------------------------
[Gabriel]
  > For a while I have been looking for an editor that would hightlight
  > unmatched html tags (to no avail).
  > Would it be possible to:
  > 1. Show unmatched tags in a different colour (error colour?). So if
you
  > have <td> and no </td> it would display the <td> in a different
colour?

I think in XML you are *required* to match (close) tags strictly; in
HTML you can get away with leaving a lot of them out (e.g., </td>
before
a </tr>).  So this sort of thing would be useful for XML mode.

A nifty extra added feature would be a command that closed the most
recent open tag.  E.g., after a <td> you hit the key and it types the
</td> for you.  Wouldn't that be fun ;-)

-Th



__________________________________________________________________________

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.





Yahoo! Groups Sponsor  ADVERTISEMENT


---------------------------------
Yahoo! Groups Links

    To visit your group on the web, go to:
http://groups.yahoo.com/group/jasspa/

    To unsubscribe from this group, send an email to:
jasspa-unsubscribe@yahoogroups.com

    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.






___________________________________________________________ALL-NEW Yahoo!
Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com

#1141 From: "Phillips, Steven" <sphillips@...>
Date: Wed Jul 28, 2004 1:24 pm
Subject: RE: HTML tag matching
sphillips@...
Send Email Send Email
 
Gabriel,

I have found that reformatting the html/asp/js file using ME's indentation is
the best way of quickly finding a missing important tag, as a result I have
added <span> and others to the list of indented tags.

ME does not current support the hilighting of specific sections of text in a
buffer, it relies on either temporary screen-pokes which would mean that the
missing tags would have to be all visible, or by using a hilight which would
probably involve inserting start and end tokens into the buffer - not good.

A 'find-next-unmatched-tag' command could easily be written (probably utilizing
the existing html-goto-matching-tag command) and I also like the '</' idea...
may add this if I get the time.

Steve

> -----Original Message-----
> From: first last [mailto:prelude_2_murder@...]
> Sent: 27 July 2004 20:16
> To: jasspa@yahoogroups.com
> Subject: Re: [jasspa] HTML tag matching
>
>
> HTML does not require you to close the tags, but it is
> recommended (and
> required in XHTML).
>
> What many editors do is closing the closest tag as soon as
> you type </,
> no keypress required, can it get any easier than that?
>
> --- Thomas Hundt <thundt@...> wrote:
> ---------------------------------
> [Gabriel]
>  > For a while I have been looking for an editor that would hightlight
>  > unmatched html tags (to no avail).
>  > Would it be possible to:
>  > 1. Show unmatched tags in a different colour (error colour?). So if
> you
>  > have <td> and no </td> it would display the <td> in a different
> colour?
>
> I think in XML you are *required* to match (close) tags strictly; in
> HTML you can get away with leaving a lot of them out (e.g., </td>
> before
> a </tr>).  So this sort of thing would be useful for XML mode.
>
> A nifty extra added feature would be a command that closed the most
> recent open tag.  E.g., after a <td> you hit the key and it types the
> </td> for you.  Wouldn't that be fun ;-)
>
> -Th
>
>
>
> ______________________________________________________________
> ____________
>
> 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.
>
>
>
>
>
> Yahoo! Groups Sponsor  ADVERTISEMENT
>
>
> ---------------------------------
> Yahoo! Groups Links
>
>    To visit your group on the web, go to:
> http://groups.yahoo.com/group/jasspa/
>
>    To unsubscribe from this group, send an email to:
> jasspa-unsubscribe@yahoogroups.com
>
>    Your use of Yahoo! Groups is subject to the Yahoo! Terms
> of Service.
>
>
>
>
>
>
> ___________________________________________________________ALL
> -NEW Yahoo! Messenger - all new features - even more fun!
http://uk.messenger.yahoo.com



__________________________________________________________________________

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.



Yahoo! Groups Links

#1142 From: "Phillips, Steven" <sphillips@...>
Date: Wed Jul 28, 2004 1:39 pm
Subject: RE: HTML tag matching
sphillips@...
Send Email Send Email
 
Following macro does what its name suggests, hope you find it useful.

Steve

define-macro html-find-next-unmatched-tag
     !if ¬ &seq @wc "<"
         !force html-backward-tag
         !if ¬ &seq @wc "<"
             html-forward-tag
         !endif
     !endif
     !repeat
         set-variable #l0 $window-line
         set-variable #l1 $window-col
         html-goto-matching-tag
         !if &and &equ #l0 $window-line &equ #l1 $window-col
             ml-write "[No matching tag found]"
             !abort
         !endif
         set-variable $window-line #l0
         set-variable $window-col #l1
         !force html-forward-tag
         !if ¬ &seq @wc "<"
             !force html-forward-tag
         !endif
     !until ¬ &seq @wc "<"
     end-of-buffer
     ml-write "[No unmatched tag found]"
!emacro

> -----Original Message-----
> From: Phillips, Steven
> Sent: 28 July 2004 14:24
> To: jasspa@yahoogroups.com
> Subject: RE: [jasspa] HTML tag matching
>
>
> Gabriel,
>
> I have found that reformatting the html/asp/js file using
> ME's indentation is the best way of quickly finding a missing
> important tag, as a result I have added <span> and others to
> the list of indented tags.
>
> ME does not current support the hilighting of specific
> sections of text in a buffer, it relies on either temporary
> screen-pokes which would mean that the missing tags would
> have to be all visible, or by using a hilight which would
> probably involve inserting start and end tokens into the
> buffer - not good.
>
> A 'find-next-unmatched-tag' command could easily be written
> (probably utilizing the existing html-goto-matching-tag
> command) and I also like the '</' idea... may add this if I
> get the time.
>
> Steve
>
> > -----Original Message-----
> > From: first last [mailto:prelude_2_murder@...]
> > Sent: 27 July 2004 20:16
> > To: jasspa@yahoogroups.com
> > Subject: Re: [jasspa] HTML tag matching
> >
> >
> > HTML does not require you to close the tags, but it is
> > recommended (and
> > required in XHTML).
> >
> > What many editors do is closing the closest tag as soon as
> > you type </,
> > no keypress required, can it get any easier than that?
> >
> > --- Thomas Hundt <thundt@...> wrote:
> > ---------------------------------
> > [Gabriel]
> >  > For a while I have been looking for an editor that would
> hightlight
> >  > unmatched html tags (to no avail).
> >  > Would it be possible to:
> >  > 1. Show unmatched tags in a different colour (error
> colour?). So if
> > you
> >  > have <td> and no </td> it would display the <td> in a different
> > colour?
> >
> > I think in XML you are *required* to match (close) tags
> strictly; in
> > HTML you can get away with leaving a lot of them out (e.g., </td>
> > before
> > a </tr>).  So this sort of thing would be useful for XML mode.
> >
> > A nifty extra added feature would be a command that closed the most
> > recent open tag.  E.g., after a <td> you hit the key and it
> types the
> > </td> for you.  Wouldn't that be fun ;-)
> >
> > -Th
> >
> >
> >
> > ______________________________________________________________
> > ____________
> >
> > 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.
> >
> >
> >
> >
> >
> > Yahoo! Groups Sponsor  ADVERTISEMENT
> >
> >
> > ---------------------------------
> > Yahoo! Groups Links
> >
> >    To visit your group on the web, go to:
> > http://groups.yahoo.com/group/jasspa/
> >
> >    To unsubscribe from this group, send an email to:
> > jasspa-unsubscribe@yahoogroups.com
> >
> >    Your use of Yahoo! Groups is subject to the Yahoo! Terms
> > of Service.
> >
> >
> >
> >
> >
> >
> > ___________________________________________________________ALL
> > -NEW Yahoo! Messenger - all new features - even more fun!
> http://uk.messenger.yahoo.com
>
>
>
> ______________________________________________________________
> ____________
>
> 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.
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~-->
> Yahoo! Domains - Claim yours for only $14.70
> http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/89EolB/TM
> --------------------------------------------------------------
> ------~->
>
> ______________________________________________________________
> ____________
>
> 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.
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>

#1143 From: Jon Green <jon@...>
Date: Wed Jul 28, 2004 1:42 pm
Subject: Fedora Linux (Kernel 2.6)
bigfatmrmoose
Send Email Send Email
 
A binary package for Fedora Linux has been published
on www.jasspa.com. This resolves the issues with
the pty setup under Linux Kernel 2.6.

Jon.

#1144 From: first last <prelude_2_murder@...>
Date: Wed Jul 28, 2004 4:33 pm
Subject: RE: HTML tag matching
prelude_2_mu...
Send Email Send Email
 
Thank you very much for the macro. It really does the job. Could you
please include on the next release?

Regarding the other solution (restyle buffer) the problem is that php
pages do not always indent properly.

An example of html that does not indent right:
                       <span><? overLib::popup('<img src="img/info.gif"
align="absmiddle" border="0">',
                        "Family: Constitutes two adults (under 61 years)
travelling with unlimited dependent children plus two non-family
children (single trip only) under 18 years at departure date. Dependent
students in full time education under 25 years can be included as
children (go FREE) on annual multi-trip travel insurance. Children and
students cannot travel independently on family insurance. <br /> <br />
Single Parent Family: When only one parent (under 61 years) travels
with unlimited dependent children, under 18 years at departure date. No
non-family children and Students allowed. Children cannot travel
independently on family insurance.",
                        "CAPTION, 'Family Policy', WIDTH, 460, OFFSETX,
10, OFFSETY, -100") ?>

The above code resets the indentation to 0 (don't ask me why, I am
sorry but I don't know enough about me macros to find out).

Apart from that thanks very much. The macro will help me a lot.

Gabriel





___________________________________________________________ALL-NEW Yahoo!
Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com

#1145 From: first last <prelude_2_murder@...>
Date: Sat Aug 7, 2004 10:26 am
Subject: Weird character
prelude_2_mu...
Send Email Send Email
 
Hi. I have found a slight annoyance with ME on Gentoo 2004-2. I am
using pewkm and so I can join frames in tabs, and have mapped windows
(Mod4) + l to next tab. On ME. as soon as as I press the windows key I
get an accented character (ë), so I can't use that method. It only
happens on me.

Could it be possible to avoid this behavoiur? Is it a bug in ME or in
xorgs keyboard handling?

I am using xorg with 105 keyboard with gb layout.

Thanks

Gabriel





___________________________________________________________ALL-NEW Yahoo!
Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com

#1146 From: Jon Green <jon@...>
Date: Sat Aug 7, 2004 10:40 am
Subject: Re: Weird character
bigfatmrmoose
Send Email Send Email
 
first last wrote:
> Hi. I have found a slight annoyance with ME on Gentoo 2004-2. I am
> using pewkm and so I can join frames in tabs, and have mapped windows
> (Mod4) + l to next tab. On ME. as soon as as I press the windows key I
> get an accented character (ë), so I can't use that method. It only
> happens on me.
>
> Could it be possible to avoid this behavoiur? Is it a bug in ME or in
> xorgs keyboard handling?
>
> I am using xorg with 105 keyboard with gb layout.
>
> Thanks
>
> Gabriel
>
>

Gabriel,

	 Below are a selection of previous psotings on bad keys
	 and translations methods. You should be able to map
	 (or get rid of) the key using one of the following
	 methods. Once you know what the key sequence is then
	 it is fairly easy to map it out or translate it to
	 something more useful.

Regards
Jon

--
From: 04/01/14

M-x describe-key

Then hit the key giving you a problem.
Will display the key code that it received.

If there are multiple keys being sent in then
use:

M-x list-variables

and find the variable $recent-keys this
will show you all of the keys that
have come in recently. Trouble with
$recent-keys is that you have to type
keys to get to it. What I normally is
temporarily bind list variables to
a key i.e.

M-x global-bind-key<CR>
global bind:list-variables<CR>
to:<f9>

The binding should now be set up, now enter
the following sequence of keys.

<f9> - should get variable list with new binding.
<duff key> - strike duff key once
<f9> - should update the variable list

Your duff key codes will be between the two f9's
in the variable $recent-keys.

If there are multiple characters received then
use translate-key to turn them into nothing or
somethiong else. Could also use translate-key
to turn a single key into nothing - I think this
works - if it does translate key is better than
the void binding to get rid of the key.

--
From: 04/01/14

If you do not want it then globally bind it to "void"

i.e.

global-bind-key void "<key code>"

--
From: 04/01/17

Fix one key at a time, first find out what the
key is  to find out the key code and then use
translate-key to fix it. The standard key board
translations that we do are in the file "keyboard.emf"
so you can use this as an example of how to
translate a key i.e.

translate-key "<from codes>" "<to codes>"

If you want to get rid of a key then use

global-bind-key void "<duff key>"

Add the translations and global bindings
to your <user>.emf file so they are run
at startup. If you use a single common
<user>.emf across all platforms then
use the $platform variable
to determine the platform and decide
what translations to apply similar to
keyboard.emf.

>
>
>
> ___________________________________________________________ALL-NEW Yahoo!
Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com
>
>
>
> __________________________________________________________________________
>
> 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.
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>

Messages 1117 - 1146 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