[Re] External Editor 0.5 Problem win98 Zope
Hi Casey, I registered the .dtml for the editor "E:\EditPlus\editplus.exe" but with no effect. So I changed the ZopeEdit.ini: ---- snip (I tried with and without "" no change) editor = "E:\EditPlus\editplus.exe" ----- snip [meta-type:DTML Document] extension=.dtml [meta-type:DTML Method] extension=.dtml [meta-type:Script (Python)] extension=.py [meta-type:Page Template] extension=.pt --- snip this is the content of the last zopeedit traceback file (but they aren't generated everytime it fails because there were only two of them and I tried often): Traceback (most recent call last): File "<string>", line 732, in ? IndexError: list index out of range Thanks a lot for your effords, Elena You wrote: If you are trying to edit dtml or zpt objects, you may need to register the .dtml and .pt file extensions with Windows or alternately specify the editor in the ZopeEdit.ini file. Also, look in you temp directory for zopeedit traceback files. If you see one or more, send the most recent one to me and I will look into it for you. hth, -Casey
[Elena Schulz]
I registered the .dtml for the editor "E:\EditPlus\editplus.exe" but with
no
effect. So I changed the ZopeEdit.ini:
---- snip
(I tried with and without "" no change) editor = "E:\EditPlus\editplus.exe"
Depending on how the strings are processed you might need to double the backslashes or alternatively declare the strings to be "raw": editor = "E:\\EditPlus\\editplus.exe" or editor = r"E:\EditPlus\editplus.exe" This would apply if they are just normal python statements, since the "\" character is an escape character in python. Cheers, Tom P
That's not it. My ZopeEdit.ini looks like this: # Uncomment and specify an editor value to override the editor # specified by the operating system editor = C:\cygwin\usr\local\bin\i686-pc-cygwin\gnuclient.exe #editor = C:\cygwin\usr\local\bin\i686-pc-cygwin\xemacs.exe #editor = Notepad.exe #editor = C:\cygwin\bin\vim.exe Each of these options has worked for me. Her problem is something else. I did have a problem where after several uses, gnuclient wouldn't start up but I doubt that is related. Rebooting Windows fixed the problem for a while. I just upgraded to .5 so I don't know yet if I still have the problem. For my money, the ftp access via xemacs is much easier to use than the ExternalEditor. I'm impressed by EE and it's cool, but it just doesn't work well for me.
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Thomas B. Passin Sent: Friday, August 23, 2002 10:59 AM To: zope@zope.org Subject: Re: [Zope] [Re] External Editor 0.5 Problem win98 Zope
[Elena Schulz]
I registered the .dtml for the editor
"E:\EditPlus\editplus.exe" but with no
effect. So I changed the ZopeEdit.ini:
---- snip
(I tried with and without "" no change) editor = "E:\EditPlus\editplus.exe"
Depending on how the strings are processed you might need to double the backslashes or alternatively declare the strings to be "raw":
editor = "E:\\EditPlus\\editplus.exe"
or
editor = r"E:\EditPlus\editplus.exe"
This would apply if they are just normal python statements, since the "\" character is an escape character in python.
Cheers,
Tom P
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Friday 23 August 2002 02:10 pm, Charlie Reiman wrote: [snip]
For my money, the ftp access via xemacs is much easier to use than the ExternalEditor. I'm impressed by EE and it's cool, but it just doesn't work well for me.
Anything I can do to improve it for you or is it more of a paradigm thing? -Casey
No, no. As my last girlfriend said to me, "It's not you, it's me." EE fires off the editing on the same machine as my browsing, which is not where my primary emacs runs. I'm essentially using windows as an X terminal, with the additional task of running my browsers. If I ran my browser under unix, it would be pretty handy. The emacs I have installed on Windows is just for experimentation. If there was a way to make the helper app or gnuclient load up the buffer under my Unix Xemacs from my Windows browser, that would be pretty sweet (I do seem to remember someone did this with gnuclient once but it's been a long time since I saw that). And it would be so complicated that I can't imagine it working as reliably as FTP. Beyond that, having dired available on Zope is pretty sweet. There are times when I want to edit three or four files in a row. Emacs pops back to the dired buffer when I'm done editing the file, making it easy to edit the next one. Doing that with ZMI and EE would involve several mouse clicks, scrolls, http transfers, and hand movements that I can avoid with emacs. EE is a really great product. But us Emacs users get pretty stuck in our ways.* * Author does not speak for all Emacs users.
-----Original Message----- From: Casey Duncan [mailto:casey@zope.com] Sent: Friday, August 23, 2002 12:00 PM To: Charlie Reiman; Thomas B. Passin; zope@zope.org Subject: Re: [Zope] [Re] External Editor 0.5 Problem win98 Zope
On Friday 23 August 2002 02:10 pm, Charlie Reiman wrote: [snip]
For my money, the ftp access via xemacs is much easier to use than the ExternalEditor. I'm impressed by EE and it's cool, but it just doesn't work well for me.
Anything I can do to improve it for you or is it more of a paradigm thing?
-Casey
participants (4)
-
Casey Duncan -
Charlie Reiman -
Elena Schulz -
Thomas B. Passin