[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: multi-level undo



Emacspeak has to redefine the self-insert commands to make
character echo work -- this is how it has always been. I suspect
those redefined commands need to be updated to work  with how
modern undo works.  


>>>>> "Tim" == Tim Cross <theophilusx@xxxxxxxxxxx> writes:
    Tim> That made no difference for me. Was the first thing I
    Tim> tried. Here is the recipe I'm using.
    Tim> 
    Tim> Run emacs with emacspeak
    Tim> 
    Tim> Open a buffer called undo.txt
    Tim> 
    Tim> Type the following, noting the blank line between each
    Tim> line
    Tim> 
    Tim> ---------------------------------------- This is line 1
    Tim> 
    Tim> This is line 2
    Tim> 
    Tim> This is line 3
    Tim> 
    Tim> This is line 4
    Tim> --------------------------------------------------
    Tim> 
    Tim> With the cursor at the end, just following 4, type C-/
    Tim> 
    Tim> With emacspeak running, the cursor jumps to the end of
    Tim> line 3 and deletes the contents from the cursor (now
    Tim> just after the 3) to the end (i.e. following the 4 in
    Tim> line 4). Then, hitting C-/ again, the deleted text is
    Tim> restored, however, the cursor is not moved - it stays on
    Tim> the line which says, this is line 3. Hitting C-/ again
    Tim> deletes all text from the cursor to the end of the
    Tim> buffer i.e. the blank line and the line which says This
    Tim> is line 4. Hitting C-/ again restores the delted
    Tim> text. Subsequent C-/ just cycles between these two
    Tim> states.
    Tim> 
    Tim> Now, doing the same without emacspeak loaded is very
    Tim> different.
    Tim> 
    Tim> With the same input file, place the cursor at the end of
    Tim> the last line, following the 4. Hit C-/ deletes the line
    Tim> the cursor is on - leaving the cursor at the beginning
    Tim> of the line. Hitting C-/ a seond time moves the cursor
    Tim> to the end of the line which says This is line 3,
    Tim> deleting the blank line. Hitting C-/ again deletes the
    Tim> line the cursor is on and leaves the cursor at the
    Tim> beginning of the line. Hitting C-/ again moves the
    Tim> cursor to the end of the line which says This is line 2,
    Tim> leaving the cursor just after the 2 and deletes the
    Tim> following blank line. Hitting it again deletes the line
    Tim> the cursor is on, leaving it at the beginning of the
    Tim> line an hitting it again, moves the cursor to the end of
    Tim> the first line, just after the 1 and deletes the blank
    Tim> line. Hitting it one last time and your back at the
    Tim> beginning with the buffer the way it was before you
    Tim> typed the first line of text.
    Tim> 
    Tim> Tim
    Tim> 
    Tim> 
    Tim> 
    Tim> 
    Tim> 
    Tim> On 20 May 2012 12:53, Jason White <jason@xxxxxxxxxxx>
    Tim> wrote:
    >> Try M-x undo-only and see if that restores previous
    >> changes. It works for me.
    >> 
    >> -----------------------------------------------------------------------------
    >> To unsubscribe from the emacspeak list or change your
    >> address on the emacspeak list send mail to
    >> "emacspeak-request@xxxxxxxxxxx" with a subject of
    >> "unsubscribe" or "help".
    >> 
    Tim> 
    Tim> 
    Tim> 
    Tim> -- Tim Cross
    Tim> 
    Tim> -----------------------------------------------------------------------------
    Tim> To unsubscribe from the emacspeak list or change your
    Tim> address on the emacspeak list send mail to
    Tim> "emacspeak-request@xxxxxxxxxxx" with a subject of
    Tim> "unsubscribe" or "help".

-- 
Best Regards,
--raman

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog