108
outdisruptionisdeterminedbythedatadependenciesreflectedinthecausalorderingof
changes,notbytheirtemporalorderofcreation.
Itis,ofcourse,possibletoremoveanychangefromachangeset,butiftheresultisto
beminimallyconsistent,otherchangesmayalsoneedtoberemoved.Ingeneral,undoinga
changealsorequiresundoingallcausallygreaterchanges,sothattheresultwillalsobe
minimallyconsistent.Justasmaintainingminimalconsistencyimposessomelimitationson
merge,thisimposessomelimitationsonundo.Theremovalofchangesalsoremovesad-
dressesfromtheaddressspaceofaP-sequence,andthisisaratherworseproblem,because
itaffectsPalimpsest’sabilitytohandlehypertextlinksandotherpersistentselections.Per-
sistentselectionsshouldnotbeinvalidatedbytheremoveofachange(evenonethatitis
casuallydependenton).
Thisisonecasewherethenotionofatotalchangesetcomesinhandy,asdiscussedat
thebeginningofthischapter.Inessence,persistentselections,suchashypertextanchors,
shouldbemodeledasrangesintheP-sequencecorrespondingtoallknownchanges.Itis
thenpossibletotracethepositionsandsourcesofrangesintheglobaladdressspaceinany
versionsofinterest,simplybyfindingthepositionsoftheendpointsoftheselectionineach
oftherelevantversions.ThestabilityofthePalimpsestaddressorderingallowsacorre-
spondingpositiontobefound,bycomparing(intheglobalchangeset)thepersistentad-
dressesoftheselection,withtheaddressesintheP-sequencesofinterest.
Mosttheoreticalworkonundohasconsideredthemeaningoftheuserinterfaceaction
“undo.”Thishastendedtokeepthefocusdirectlyonwhathappensinalinearsequenceof
actionsthatincludesoperationslikeundoandredo.In(Dix,Mancinietal.1997)the
authorsobservethatmuchoftheconfusionthatsurroundsundoisaconsequenceofthe
factthatitisameta-command.Itdoesnothaveasingledirecteffectwithinanapplication,
butonlyindirectonethatchangesthecommandhistoryinaparticularway.Inthisuser-
interfacesense,Palimpsestdoesnotactuallyprovideormodelanundofacility,sincethe
109
notionofsequencesofuseractionsisnotmodeled.Itdoesprovideametafacilitywithwhich
alargenumberofdifferentundostrategiescanbebuilt.In(AbowdandDix1992),the
authorsnotethatsomeimplementationsofundo,inordertomeetuserexpectations,actu-
allycreateandexecutenewactionsthatcreateinterfacesstatesthatauserwillperceiveas
the“undoing”ofaparticulareffect.WhilethePalimpsestmodelprovidesawaytoexamine
theconsequencesofagivenoperation’sneverhavingoccurred,thesameformof“pseudo-
inverse”strategyisstillavailable.Forsomeapplicationsitmaywellbethatdeletingthetext
createdbyanunwantedinsertionisbetterthanundoingtheinsertion(alongwithwanted
changesthatarecausallygreater).ThePalimpsestmodelofferspowerfulbuilt-inundoop-
tionsbutdoesnotinitselfprescribeapolicyforapplicationundofacilities.
5.4 Summary
InthissectionweexaminedsomeissuesintheapplicationofthePalimpsestmodelto
versionmanagementandundo.WereviewedtheimplicationsofPalimpsest-stylechangeori-
entededitingfordistributedsystemsimplementation,andtheutilityofpersistentaddress-
inginhandlingfine-grainedlinkanchormaintenanceforhypertextsystems.
Previous Page Next Page