[exmh] "2nd Editor command"
Kevin Cosgrove <[email protected]> Mon, 24 Oct 2005 15:00:35 -0700
| Newsgroups | gmane.mail.exmh.devel,gmane.mail.exmh.user |
|---|---|
| Message-ID | <[email protected]> |
I have my 2nd editor command exmh preference set to:
"exmh-async /usr/bin/xterm +sb -e /bin/vi" (without the quotes).
When I highlight a message and edit the message exmh fires up sedit.
Then I choose "alternate editor" from the "more..." menu. At that
exmh pops up window very quickly, too quickly to read what's in it,
and then drops me into a nearly empty sedit window, which says
"Cannot open /login/kevinc/Mail/drafts/26" in it. That's pretty odd,
because the path is wrong. I wasn't editing a message in the
"drafts" folder. I was editing a message in the "inbox" folder.
exmh spews the following into the xterm where I started exmh in the
first place:
Error in startup script: can't read "exmh(26,action)": no such element in array
while executing
"set sedit($t,$svar) $exmh($evar)"
(procedure "SeditSetIsigHeader" line 5)
invoked from within
"SeditSetIsigHeader $t CompType isigc $ctype"
(procedure "SeditSetIsigHeaders" line 3)
invoked from within
"SeditSetIsigHeaders $t "$id,action""
(procedure "Sedit_Start" line 197)
invoked from within
"Sedit_Start $mhProfile(path)/$mhProfile(draft-folder)/$draftID"
(procedure "Edit_Dialog" line 5)
invoked from within
"Edit_Dialog $draftID"
(procedure "EditDialog" line 2)
invoked from within
"EditDialog 26"
invoked from within
"send $exmh EditDialog $draftm"
(file "/login/kevinc/.Linux/2.4.21-32.0.1.EL/i686/bin/exmh-async" line 29)
I tried the "alternate editor" from the new sedit window. This time
I got an error pop-up window, which says:
can't read "exmh(26,action)": no such element in array
while executing
"string compare $exmh($id,action) dist"
(procedure "SeditFormatMail" line 30)
invoked from within
"SeditFormatMail $t $out $isigw"
invoked from within
"if [catch {
SeditMsg $t "Saving message..."
set out [open $draft w]
if {([string compare $sedit($t,format) "Never"] != 0)} {
SeditFormatMail $..."
(procedure "SeditSave" line 3)
invoked from within
"SeditSave $draft $t SeditNuke"
(procedure "SeditAlternate" line 2)
invoked from within
"SeditAlternate {/login/kevinc/Mail/drafts/26} {.sedit26.f.t}"
invoked from within
".sedit26.but.more.m invoke active"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke active]"
(procedure "tk::MenuInvoke" line 47)
invoked from within
"tk::MenuInvoke .sedit26.but.more.m 1"
(command bound to event)
This is really odd.
I'm using exmh 2.7.0 (06/18/2004) and wish 8.4.5 on Redhat Linux
Enterprise 3.0.
Does anyone have any idea what might be going wrong here?
Thanks...
--
Kevin