emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
  • [parent not found: <4FF14504.10609@os.inf.tu-dresden.de>]
  • [parent not found: <20120625113529.GA15913@c3po.home>]
  • * bug#11774: Emacs 24.3: newline-and-indent has two undo boundaries
           [not found] <20120624212755.GA14501@c3po.home>
                       ` (2 preceding siblings ...)
           [not found] ` <20120625113529.GA15913@c3po.home>
    @ 2014-11-03 19:25 ` Samuel Wales
      3 siblings, 0 replies; 15+ messages in thread
    From: Samuel Wales @ 2014-11-03 19:25 UTC (permalink / raw)
      To: 11774, monnier; +Cc: Bastien, 11774-done, Martin Pohlack, Toby Cubitt
    
    Reporting as suggested by Stefan.
    
    In order to bunch up undos by 1 instead of the hardcoded 20, I do this:
    
      (add-hook 'post-self-insert-hook #'undo-boundary 'append)
    
    This or advice used to work, then around Emacs 24.1 it stopped
    working.  Stefan patched it in 24.3.  It now works in most cases.  The
    history is in this Debian bug:
    
      Re: [O] bug#11774: bug#11774: org-mode causes undo boundaries to be lost
    
    I use undo-tree 0.6.6.  The bug also occurs with it turned off.
    
    When I press RET when it is bound to newline-and-indent, the newline
    and the indentation are undone separately.  I expected the RET to be
    undone.
    
    This is a minor issue for me, but might point to other cases.
    
    Thanks.
    
    Samuel
    
    ^ permalink raw reply	[flat|nested] 15+ messages in thread
  • [parent not found: <20120703095729.GA6651@c3po>]

    end of thread, other threads:[~2014-11-03 19:26 UTC | newest]
    
    Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
    -- links below jump to the message on this page --
         [not found] <20120624212755.GA14501@c3po.home>
         [not found] ` <20120624215241.GA6205@c3po.home>
    2012-06-25 11:35   ` bug#11774: org-mode causes undo boundaries to be lost Toby Cubitt
         [not found] ` <4FF14504.10609@os.inf.tu-dresden.de>
    2012-07-03  9:57   ` bug#11774: " Toby Cubitt
         [not found] ` <20120625113529.GA15913@c3po.home>
    2012-07-02  6:51   ` Martin Pohlack
    2012-07-03 18:33   ` Martin Pohlack
    2014-11-03 19:25 ` bug#11774: Emacs 24.3: newline-and-indent has two undo boundaries Samuel Wales
         [not found] <20120703095729.GA6651@c3po>
    2012-07-03 15:18 ` bug#11774: bug#11774: org-mode causes undo boundaries to be lost Martin Pohlack
         [not found] ` <4FF30D50.8010009@os.inf.tu-dresden.de>
    2012-07-03 17:29   ` Stefan Monnier
    2012-07-03 18:13     ` bug#11774: " Samuel Wales
         [not found]     ` <CAJcAo8t4wj-8mje2=QEKY275QXyxwkotBCftZmOVQZAsMAt7Hg@mail.gmail.com>
    2012-07-03 22:57       ` Stefan Monnier
         [not found]       ` <jwvfw984ftk.fsf-monnier+emacs@gnu.org>
    2012-07-04  0:18         ` Samuel Wales
         [not found]         ` <CAJcAo8ujDHZU2xiPh8hnaXgO1m_-cf2tcA6B_LWj-3YczJRzAA@mail.gmail.com>
    2012-07-04  0:24           ` bug#11774: " Samuel Wales
    2012-07-04  9:40           ` Toby Cubitt
    2012-07-18 13:21           ` Stefan Monnier
    2012-08-01 14:26             ` Bastien
         [not found]             ` <CAJcAo8ux9Dw5Nu6x0jm59mWFaLWFG6SSeMs9dju-Jgy5nWkUcA@mail.gmail.com>
    2014-11-03 14:35               ` Stefan Monnier
    

    Code repositories for project(s) associated with this public inbox
    
    	https://git.savannah.gnu.org/cgit/emacs/org-mode.git
    
    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).