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


in reply to Re: Cross-platform development: editors
in thread Cross-platform development: editors

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"

  • Comment on Re^2: Cross-platform development: editors

Replies are listed 'Best First'.
Re^3: Cross-platform development: editors
by RollyGuy (Chaplain) on Nov 17, 2004 at 14:43 UTC
    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.
        There is something called tramp which allows you to use ssh instead of ftp. I've had problems sometimes though when copying+pasting large chunks of text from one remote machine to another, though; it seems to leave off some of the text...