You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Simon McClenahan <sm...@healthcompartners.com> on 2004/05/11 19:50:40 UTC

Win32 editor helper

I'm editing my Subversion config file on Win32 and trying to get jEdit to work.

[helpers]
editor-cmd = "C:\Program Files\jEdit 4.2pre11\jedit.exe" -noserver -wait

editor-cmd = C:\Progra~1\JEDIT4~1.2PR\jedit.exe -noserver -wait

Anyone gotten editor-cmd to work where the executable contains spaces, needs to block the svn command (unlike notepad.exe) and requires command-line arguments, specifically for jEdit on Windows? Using one of the above my editor opens new files called "-noserver" and "-nowait" too.


cheers,
	Simon

--------------------------
NOTE:  This message and any included attachments are from HealthCom Partners, LLC and are intended only for the addressee(s). The information contained herein may include trade secrets or privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you received this message in error, or have reason to believe you are not authorized to receive it, please promptly delete this message and notify the sender by e-mail.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Win32 editor helper

Posted by Branko Čibej <br...@xbc.nu>.
Simon McClenahan wrote:

>I'm editing my Subversion config file on Win32 and trying to get jEdit to work.
>
>[helpers]
>editor-cmd = "C:\Program Files\jEdit 4.2pre11\jedit.exe" -noserver -wait
>
>editor-cmd = C:\Progra~1\JEDIT4~1.2PR\jedit.exe -noserver -wait
>
>Anyone gotten editor-cmd to work where the executable contains spaces, needs to block the svn command (unlike notepad.exe) and requires command-line arguments, specifically for jEdit on Windows? Using one of the above my editor opens new files called "-noserver" and "-nowait" too.
>  
>
You can't put editor arguments in the config file. Instead, you write a 
wrapper batch file, e.g., containing:

    @"C:\Program Files\jEdit 4.2pre11\jedit.exe" -noserver -wait "%1"

and put the path to that file into the config file. There should be no 
problem having spaces in the path.

-- Brane



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org