[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: ersatz autosave...?



 Carl:

 Your modification works. The only thing that I notice is that
 when the save takes place in a footnote, the screen flickers
 (maybe "refreshes itself" would be a better way of describing
 what happens) for a second or so. This does not happen when in
 the body of a text. I don't know if autosv can be brought to
 function exactly as in the text, maybe not..., but if it could
 it would be nice.

 As for using the JM(,2,.,e,f,) command, ...yes, I've been using
 it for some time. You may remember that I "complained" that my
 cursor was jumping all about when I existed a footnote, often
 to the point of moving to a footnote five or six footnotes away
 from where I was working, and you, at the time, suggested a remedy.
 Well, I've been relying on the remedy ever since. It is the same
 remedy that you suggest below. I've place it on the Ctrl-z key,
 which I believe you may have suggested.

 Again, many thanks for the corrective below, and if the "refreshing"
 of the screen problem in the footnote cannot be overcome, that's ok.

 M.

------
On Sun, 6 Mar 2005, Carl Distefano wrote:

>
> Reply to note from "M.W. Poirier"  Sat, 05
> Mar 2005 12:25:02 -0400 (EDT)
>
> > If I am working in a footnote when it decides to save, it
> > saves, but it also jumps out of the footnote to the main text.
> > Is there a way to prevent it from jumping out of the note,
> > since I would like to be the one to decide whether I want to
> > leave the note or not?
>
> Point well taken, Maben. I've revised Ersatz so as to modify this
> behavior. To install the modification, issue NABFRM DG,$A,
> delete the existing frame $A from your DLG file, and CoPy in the
> frame below (after DECODEing, of course). Do NOT SAve or STore the
> DLG file; rather, issue LOADHELP to reLOAD it. Then ABort
> the DLG file. You're done.
>
> There is one extrinsic requirement. When you display a footnote or
> other embedded command for editing, you MUST use U2 frame EF to open
> and close the editing window; do not use native func EF! (Native
> func EF doesn't restore the cursor position correctly when you leave
> the editing window.) To edit a foonote, put the cursor on the
> footnote number, then issue EF. Or, if you use a key to go
> into footnotes, substitute JM(,2,.,e,f,) for EF in the KBD file
> assignment. To close the footnote window, issue EF to
> retain your changes, or hit EScape to discard changes.
>
> Let me know, please, whether this works.
>
> XPLeNCODE v2.0
> b-gin [UNTITLED]
> {{;5$A}} Ersatz Autosave [CLD rev. 3/6/05][cr|lf]{002}{<}IF{<
> }VA$WS{>}<>1!"["{238}{<}VA$FP{>}==0{>}{<}EX{>}{<}EI{>};*;[cr|
> lf]{<}SV99,Autosave_Mins_Between_Saves{>}[JM_]2.RegData[Q2_]{
> <}SX51,{<}IS99{>}{>};*;[cr|lf]{<}IF{<}VA|791{>}<1!"|"{238}{<}
> VA@791{>}<0{>}{<}SX791,{<}VA$WN{>}{>}{<}SX791,{<}IS791{>}+"|0
> "{>}{<}EI{>}{<}IF{<}VA{021}51{>}<1{>}{<}SX51,1{>}{<}EI{>}{<}S
> U52,{>}{<}IF{<}VA$MT{>}<1{>}{<}SU52,[BX_]d mt=0[Q2_]{>}[BX_]d
> mt=1[Q2_]{<}EI{>}{<}SX53,{<}VA$TM{>}{>}{<}GT52{>}{<}SX52,{<}
> VA@53:1{>}{>}{<}SX53,{<}VA@53:2{>}{>}{<}SX52,60*{<}PV52{>}+{<
> }PV53{>}{>}{<}SX53,{<}VA@791|1{>}{>}{<}SX54,{<}VA@791|2{>}{>}
> {<}IF{<}VA$TX{>}<1!{<}VA$SM{>}>0{>}{<}LB*a{>}{<}SV51,{>}{<}IF
> {<}VA$MG{>}<>""{>}{<}SX51,{<}VA$MG{>}{>}{<}EI{>}{<}PR@51{>}{<
> }EX{>}{<}EI{>}{<}IF{<}VA$WN{>}<>{<}PV53{>}!@abs({<}PV52{>}-{<
> }PV54{>})>{<}PV51{>}-1{>};*;[cr|lf];*;[cr|lf];*; SAve procedu
> re (can be replaced with customized code)[cr|lf];*; Substitut
> e "{<}GL*b{>}" for "{<}EX{>}" or "{<}EX1{>}" in replacement c
> ode[cr|lf];*;[cr|lf];*; SAve procedure[cr|lf];*; Use EF ey> to edit footnotes & other embedded commands![cr|lf]{<}SV5
> 3,{>}{<}IF{<}VA$TW{>}>0{>}{<}SX54,{<}CP{>}{>}{<}SX55,{<}VA$DT
> {>}{>}[DX_][JM_]2.ef[Q2_]{<}SV53,[JM_]2.ef[Q2_]{<}SX50,{<}PV5
> 5{>}{>}[JM_]2.setdt[Q2_]{<}SX50,{<}PV54{>}{>}[JM_]2.ReJuMP[Q2
> _]{>}{<}EI{>}[BX_]sa[Q2_][BX_]wait[Q2_]{<}IF{<}VA|53{>}>0{>}{
> <}PV53{>}{<}EI{>};*;[cr|lf];*;[cr|lf]{<}LB*b{>}{<}SX791,{<}PV
> 52{>}{>}{<}SX52,{<}VA$WN{>}{>}{<}SX791,{<}IS52{>}+"|"+{<}IS79
> 1{>}{>}{<}EI{>}{<}GL*a{>}{002}[cr|lf][cr|lf]
> -nd
> XPLeNCODE
>
> --
> Carl Distefano
> cld@xxxxxxxx
>
>