[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: Win32 editor helper

From: Simon McClenahan <smcclenahan_at_healthcompartners.com>
Date: 2004-05-12 17:53:43 CEST

Thanks for the tip. The extra files I was seeing was due to my misunderstanding of jedit.exe

FYI, I decided not to configure the editor-cmd wrapper script, but chose to configure the EDITOR environment variable instead. For those of you wanting to use jEdit, set your EDITOR environment variable or helper script to something like the following:

java -jar "C:\Program Files\jEdit 4.2pre12\jedit.jar" -wait -newplainview

-- Simon

-----Original Message-----
From: Branko Cibej [mailto:brane@xbc.nu]
Sent: Tuesday, May 11, 2004 9:34 PM
To: Simon McClenahan
Cc: Subversion Users (E-mail)
Subject: Re: Win32 editor helper

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

--------------------------
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
Received on Wed May 12 17:54:27 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.