www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Emacs D Mode version 2.0.6 released

reply Russel Winder <russel winder.org.uk> writes:
The title says it all really.

Version 2.0.6 has been released. Hopefully Arch, MacPorts, Debian,
Fedora, etc. will look to package this.

Alternatively for Emacs 24+ folk use packaging, put MELPA in the path
and get the latest version from GitHub automatically. That's
2.0.7-SNAPSHOT now :-)
=20
--=20
Russel.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder ekiga.n=
et
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
Jul 22 2013
next sibling parent "bsd" <slackovsky gmail.com> writes:
On Monday, 22 July 2013 at 10:40:05 UTC, Russel Winder wrote:
 The title says it all really.

 Version 2.0.6 has been released. Hopefully Arch, MacPorts, 
 Debian,
 Fedora, etc. will look to package this.

 Alternatively for Emacs 24+ folk use packaging, put MELPA in 
 the path
 and get the latest version from GitHub automatically. That's
 2.0.7-SNAPSHOT now :-)
 
Thanks very much for this.
Jul 23 2013
prev sibling next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 7/22/2013 3:39 AM, Russel Winder wrote:
 The title says it all really.
Need linky!
Jul 23 2013
next sibling parent "John Colvin" <john.loughran.colvin gmail.com> writes:
On Tuesday, 23 July 2013 at 21:59:21 UTC, Walter Bright wrote:
 On 7/22/2013 3:39 AM, Russel Winder wrote:
 The title says it all really.
Need linky!
https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode
Jul 23 2013
prev sibling parent Russel Winder <russel winder.org.uk> writes:
Walter,

On Tue, 2013-07-23 at 14:59 -0700, Walter Bright wrote:
 On 7/22/2013 3:39 AM, Russel Winder wrote:
 The title says it all really.
=20 Need linky!
Did John Colvin's reply suffice? --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jul 25 2013
prev sibling parent reply finalpatch <fengli gmail.com> writes:
Russel Winder <russel winder.org.uk> writes:

 The title says it all really.

 Version 2.0.6 has been released. Hopefully Arch, MacPorts, Debian,
 Fedora, etc. will look to package this.

 Alternatively for Emacs 24+ folk use packaging, put MELPA in the path
 and get the latest version from GitHub automatically. That's
 2.0.7-SNAPSHOT now :-)
There are a few things not fontified correctly in my Emacs (24.3.50.1 git master of 2013-6-12). I just checked with the latest github version and they are still not fixed: * The first member variable or function name under a protection level label (public/protected/private etc.) is not fontified. * Types with namespaces (.) or are template instances(!) are not fontified. * auto/immutable variables are not fontified with the correct face. They should be in variable face but are displaced in type name face instead. I have a hacked version in my site-lisp directory that fixes most of these issues for me but because I'm not familiar with the CC-mode codebase my solutions are very rough and hacky. -- finalpatch
Jul 31 2013
parent reply Russel Winder <russel winder.org.uk> writes:
On Wed, 2013-07-31 at 23:01 +1000, finalpatch wrote:
[=E2=80=A6]
 There are a few things not fontified correctly in my Emacs (24.3.50.1
 git master of 2013-6-12).  I just checked with the latest github version
 and they are still not fixed:
=20
 * The first member variable or function name under a protection level
   label (public/protected/private etc.) is not fontified.
=20
 * Types with namespaces (.) or are template instances(!) are not
   fontified.
=20
 * auto/immutable variables are not fontified with the correct face. They
   should be in variable face but are displaced in type name face
   instead.
=20
 I have a hacked version in my site-lisp directory that fixes most of
 these issues for me but because I'm not familiar with the CC-mode
 codebase my solutions are very rough and hacky.
The way to progress this is for you to to clone the GitHub repository on GitHub, clone it locally to your machines, create a feature branch with your proposed changes, push them to your GitHub clone and then submit a pull request via GitHub. I and others can then try things out and see if the pull request can be merged into master. The one thing that still worries me about all the E-Lisp stuff =E2=80=93 no= unit tests :-( Thanks. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Aug 01 2013
parent reply "finalpatch" <fengli gmail.com> writes:
Hi Russel,

I'm not proposing my changes to be merged into master because I 
know they are merely workarounds rather than proper fixes (eg. 
font-lock-add-keywords).

On Thursday, 1 August 2013 at 08:07:28 UTC, Russel Winder wrote:
 The way to progress this is for you to to clone the GitHub 
 repository on
 GitHub, clone it locally to your machines, create a feature 
 branch with
 your proposed changes, push them to your GitHub clone and then 
 submit a
 pull request via GitHub.  I and others can then try things out 
 and see
 if the pull request can be merged into master.

 The one thing that still worries me about all the E-Lisp stuff 
 – no unit
 tests :-(

 Thanks.
Aug 01 2013
parent reply Russel Winder <russel winder.org.uk> writes:
On Thu, 2013-08-01 at 16:32 +0200, finalpatch wrote:
 Hi Russel,
=20
 I'm not proposing my changes to be merged into master because I=20
 know they are merely workarounds rather than proper fixes (eg.=20
 font-lock-add-keywords).
Development on this is event driven. Having an event of a hack fix, may lead to investigation and thence a proper fix! Basically it would be good to see something that solves the problem as input to trying to find the "proper solution". --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Aug 01 2013
parent reply "finalpatch" <fengli gmail.com> writes:
On Thursday, 1 August 2013 at 19:01:19 UTC, Russel Winder wrote:
 On Thu, 2013-08-01 at 16:32 +0200, finalpatch wrote:
 Hi Russel,
 
 I'm not proposing my changes to be merged into master because 
 I know they are merely workarounds rather than proper fixes 
 (eg. font-lock-add-keywords).
Development on this is event driven. Having an event of a hack fix, may lead to investigation and thence a proper fix! Basically it would be good to see something that solves the problem as input to trying to find the "proper solution".
I have opened a pull request on github. The changes are: * Fix auto/immutable variable face * Move 'template' to c-class-decl-kwds * Add imenu support * Fix fontification of the first declariation after a protection level label
Aug 03 2013
parent Russel Winder <russel winder.org.uk> writes:
On Sat, 2013-08-03 at 14:38 +0200, finalpatch wrote:
[=E2=80=A6]
 I have opened a pull request on github.
=20
 The changes are:
=20
 * Fix auto/immutable variable face
 * Move 'template' to c-class-decl-kwds
 * Add imenu support
 * Fix fontification of the first declariation after a protection=20
 level label
People using Emacs should note that an extension of this pull request got merged into the mainline a few hours ago. I am hoping that people using Emacs 24 are using the d-mode package from MELPA and that it has been updated =E2=80=93 it should pick up master/HEAD = from GitHub. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Aug 06 2013