www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - D version of MicroEmacs

reply Walter Bright <newshound2 digitalmars.com> writes:
https://github.com/DigitalMars/med

It's a fairly rote translation from C, not taking advantage of D. I'd like to 
upgrade it to using ranges, etc. It would make a nice base for someone who
feels 
like creating their own IDE.


The C version is here:

https://github.com/DigitalMars/me

Yes, I use this editor every day, as it works identically on Windows, Linux, 
OSX, FreeBSD, DOS (!), etc., and is easy to port.
Aug 19 2012
next sibling parent reply "Bernard Helyer" <b.helyer gmail.com> writes:
The windows version has always flickered something fierce for me, 
no idea why.

How well does it handle large files? (Like, several gigabytes 
large).
Aug 19 2012
parent Walter Bright <newshound2 digitalmars.com> writes:
On 8/19/2012 3:07 PM, Bernard Helyer wrote:
 The windows version has always flickered something fierce for me, no idea why.
Hmm. Never happens to me.
 How well does it handle large files? (Like, several gigabytes large).
Badly. For one thing, it's a 32 bit program and tries to do everything in memory.
Aug 19 2012
prev sibling parent reply "MattCoder" <mattcoder hotmail.com> writes:
I'm trying to build this on Windows, but:

[ With dmd version 2.057 ]

C:\med>make -fwin32.mak DMD=dmd
dmd -c -g display
display.d(860): Error: function display.vtputs called with 
argument types:
         ((string,int))
matches both:
         display.vtputs(const(char[]) s, int startcol)
and:
         display.vtputs(const(dchar[]) s, int startcol)
display.d(866): Error: function display.vtputs called with 
argument types:
         ((string,int))
matches both:
         display.vtputs(const(char[]) s, int startcol)
and:
         display.vtputs(const(dchar[]) s, int startcol)

--- errorlevel 1


[ With dmd version 2.060 ]

C:\med2>make -fwin32.mak DMD=dmd
dmd -c -g ed

dmd -c -g basic
C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(530): Error: 
undefined identifier WIN32_FILE_ATTRIBUTE_DATA

--- errorlevel 1


Any clues?
Aug 19 2012
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 8/19/2012 3:58 PM, MattCoder wrote:
 I'm trying to build this on Windows, but:

 [ With dmd version 2.057 ]
Use 2.060.
 [ With dmd version 2.060 ]

 C:\med2>make -fwin32.mak DMD=dmd
 dmd -c -g ed

 dmd -c -g basic
 C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(530): Error: undefined
 identifier WIN32_FILE_ATTRIBUTE_DATA

 --- errorlevel 1


 Any clues?
WIN32_FILE_ATTRIBUTE_DATA is defined in druntime\import\core\sys\windows\windows.d
Aug 19 2012
parent "MattCoder" <mattcoder hotmail.com> writes:
On Sunday, 19 August 2012 at 23:45:12 UTC, Walter Bright wrote:
 WIN32_FILE_ATTRIBUTE_DATA is defined in

 druntime\import\core\sys\windows\windows.d
It worked! Thanks.
Aug 19 2012