Created attachment 351540 [details] d-mode-2.0.6_pre20121224.ebuild It would be nice to have an Emacs mode for D in Gentoo. There is a project to that effect on github, mentioned in several other places so it appears to be the canonical choice. The last commit was half a year ago, and a comment indicates the file as "Version: 2.0.6-SNAPSHOT". If we go with that version, it should probably be called d-mode-2.0.6_pre20121224 and the file be taken from https://raw.github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/281ea8f93e92548cddde3b2c872ee216f64ebfad/d-mode.el Otherwise, the last official release (as found in a file on launchpad, and a tag on github) would be 2.0.5. The file for that can be grabbed from https://raw.github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/2.0.5/d-mode.el But since the modifications to the 2.0.6-SNAPSHOT seem useful to me, I'd prefer to go with that prerelease. Particularly since we'll have to roll an archive for these in any case. At least looking at other simple elisp modes, it seems as though most of them ship a compressed el file, not an uncompressed one. If you'd prefer this on sunrise, please let me know. But I think the ebuild is simple enough that adding it directly should be possible, and would avoid the hassle of having to create an archive on some other web server for this. D-related overlays like the ldc overlay might be places for this ebuild as well, but since dmd-bin is in main portage, I see no reason to not have d-mode there as well.
Created attachment 351542 [details] 50d-mode-gentoo.el Content of this file was derived from a comment in d-mode.el itself.
Hm, this looks straight-forward. But could you ask upstream for a proper 2.0.6 release, please?
(In reply to Ulrich Müller from comment #2) > But could you ask upstream for a proper 2.0.6 release, please? https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/issues/6
(In reply to Ulrich Müller from comment #2) > But could you ask upstream for a proper 2.0.6 release, please? Upstream released 2.0.6: https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/releases/tag/2.0.6 https://launchpad.net/emacs-d-mode/+announcement/11779 Do you need a new ebuild?
(In reply to Martin von Gagern from comment #4) > Upstream released 2.0.6: > https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/releases/tag/2.0.6 > https://launchpad.net/emacs-d-mode/+announcement/11779 Good. > Do you need a new ebuild? I think I can manage without. ;)
Committed to CVS. Thank you for the contribution.