http://www.perlmonks.org?node_id=408239


in reply to Cross-platform development: editors

What's missing in emacs ?
As I don't require / need Project or CVS support, or have access to a Mac, I can't really comment on those parts, although I'm sure something exists, at least for CVS and/or Subversion (PCL-CVS ?)

For syntax highlighting I prefer cperl-mode (auto-indenting, highlighting, electric parens and other goodies)
And for folding, folding.el is really useful. This is actually the setup I'm using, for home (Linux only) and office (Win32 only). When I find something interesting, all I need to do is send over my .emacs & the necessary libs (or their links), and it simply works. As for your note on Komodo, it is more than sluggish, be it on Win32 or Linux.
Update:
Subversion's links page points to an emacs backend here
I'm pretty sure there's something similar for vim, as there is for Eclipse also.
Update 2:
I actually forgot emacs' "JDE", which requires ede for projects.
HTH
--
Olivier

Replies are listed 'Best First'.
Re^2: Cross-platform development: editors
by strat (Canon) on Nov 17, 2004 at 08:58 UTC

    btw: for emacs, there exists (as well as for vi) some dot-files which help you with the configuration. So I use a adapted .emacs based on the one from Steve Ackermann you can download from www.dotfiles.com - editors - emacs - Win32 Perl configuration for NT Emacs v20.5.1. If you adopt some paths, you can also use it for linux/unix. If you are interested in my enhancements, just tell me and I'll send you my .emacs

    Best regards,
    perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

      In addition to the previously mentioned virtues of Emacs, I use another feature that I don't commonly find in other editors. Emacs allows you to transparently (through ftp, I belive) edit files on other machines. If you are doing so much cross-development work, then you must be logging into different machines to edit the files you need.

      To use this mode, type "Ctrl-x f" to bring up the find file prompt. At the prompt, enter something like the following:
      Find file: /user@machinename:/directory/on/remote/machine

      This will prompt you for a password and open the directory on the remote machine. You can also open files directly, but I find it most useful to use Emacs' directory mode.

      Enjoy!

      Edit: Changed "Meta" to "Ctrl" as johnnywang commented on below
        Wow, that's wonderful, I just tried it, works great! (BTW, usually "Ctrl-x f" brings the find file prompt, and don't forget the starting "/"). It uses ftp underneath, so make sure the other system is running ftp.
Re: Cross-platform development: editors
by benizi (Hermit) on Jun 03, 2005 at 17:42 UTC

    There's a more standard "folding" mode: outline-mode (and luckily: outline-minor-mode). It takes a bit of setup, but I got it working pretty well using the advice found at: emacswiki.org

    Important steps (the Wiki explains in detail):

    • Set cperl-mode/perl-mode up to also use outline-minor-mode
    • Change the awful (C-c '@' C-etc.) keybindings of outline-minor-mode
    • Set up a good outline-regexp and outline-level