delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/25/01:47:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
From: Bengt Larsson <lists DOT cygwin2 AT bengtl DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Mg3a - a version of Mg2a developed on Cygwin
Date: Fri, 25 Feb 2011 07:47:32 +0100
Reply-To: cygwin AT cygwin DOT com
Message-ID: <pdjem6l4cur446iaf95kilv0243bq1gpdc@4ax.com>
References: <35i9m6pt07r66fib882etg5tgirkr413co AT 4ax DOT com> <0105D5C1E0353146B1B222348B0411A209DAA0FF98 AT NIHMLBX02 DOT nih DOT gov> <fklam6ptp2uu7o029pkng8e4vc953fnfme AT 4ax DOT com> <ijmam6h3u1vq8nepvdlfo3hcb5feoeihav AT 4ax DOT com> <20110224085617 DOT GM9392 AT calimero DOT vinschen DOT de> <4nccm61h5q3f207me4u69qfk6i0vqrd2f2 AT 4ax DOT com> <20110224111447 DOT GS9392 AT calimero DOT vinschen DOT de> <AANLkTikXi=ncTNxV_8ncsyY6B3Y=apu8AdBCaucmsi+8 AT mail DOT gmail DOT com> <nh9dm65vgeo9qve0rf4gb1e4rhggcmn51a AT 4ax DOT com> <4D6712C7 DOT 2040901 AT laposte DOT net>
In-Reply-To: <4D6712C7.2040901@laposte.net>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Cyrille Lefevre wrote:

Thanks for your informed criticism. But I haven't suggested it should be
delivered with Cygwin.

>make install should copy mg to /bin instead of /docs/Command, 

Yup

>copy 
>documentation files in /usr/share/doc/mg3a and samples (dot files)
>in /us/share/doc/mg3a/examples

Yes. Thanks.

>
>v2$ echo $LANG
>en_US.UTF-8
>
>v2$ mg
>M-x emacs-version
>Mg 2a (formerly MicroGnuEmacs)

Ah. Thanks.

>
>s/2/3/ no ?
>
>v2$ mg
>^H a RET
>apropos: Segmentation fault
>uh!

Old bug. Menitioned in the old documentation. Incredibly hairy code.

>
>sigh, no ^X d (aka dired mode) by default !

True. I never use it. I kind of philosophically disagree with it.

>well, I've tried w/o NO_DIRED and d_makename() needs to be rewritten
>a lot to handle dynamic comlumns sizing of gnu ls :-(

It was good that it worked at all :-)

There is also a NO_BACKUP #define. I don't guarantee what happens if you
remove it.

>to compile w/o NO_DIRED, in function fbackupfile in file fileio.c, replace :
>char *malloc();
>by
>#define rename renamefile

Helpful. Thanks.

>
>^Z doesn't suspend !

I know. The very old code did this for a BSD system. But I have never
figured out how to do this portably on a more modern system. Mentioned
in the documentation.

>
>^X ^F doesn't complete :-(

That would be a nice feature.

>
>no M-T (transpose-words)

Hmm. Could be added I guess.
>
>M-x something say [Ambiguous] w/o listing possible solutions

OK. It never did, actually. Of course we don't have to do everything
Emacs did.

>
>about defines :
>-DNO_BACKUP may be replaced by -DMAKEBACKUP=0, so, it is disabled by 
>default and may be enable using (make-backup-files) if needed.
>as suggested, -DLF_DEFAULT should be defined

If it were distributed with Cygwin I would certainly define LF_DEFAULT.
I wouldn't do it all on my own, but certainly if it's a condition.

>-DNOTAB seems to work fine but no-tab-mode and nobom must be switched in 
>keymap.c

OH! Thanks. Fixed.

>-DPREFIXREGION seems to work fine
>-DREGEX seems to work fine

I haven't touched those.

>-DSCROLLBYONE seems to work fine

OK. That was more thorough than I asked for ;-) But very helpful.
Thanks.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019