* undo: changes outside of visible portion of buffer @ 2014-04-19 8:07 Eric Abrahamsen 2014-04-19 8:41 ` Eli Zaretskii 0 siblings, 1 reply; 5+ messages in thread From: Eric Abrahamsen @ 2014-04-19 8:07 UTC (permalink / raw) To: help-gnu-emacs I'm trying to undo a fairly large chunk of text deletion, and emacs is telling me: undo-more: Changes to be undone are outside visible portion of buffer I get this no matter where I scroll in the buffer -- it's only about three screenfuls. I had undo-tree-mode active when I did the deletion, but I get the same error whether it's active or no. I'd like this text back, and I don't care if it's not visible! I can't find any switches that might allow me to circumvent the error -- what options do I have here? emacs-version: "24.3.1" Thanks, Eric ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: undo: changes outside of visible portion of buffer 2014-04-19 8:07 undo: changes outside of visible portion of buffer Eric Abrahamsen @ 2014-04-19 8:41 ` Eli Zaretskii 2014-04-19 8:56 ` Eric Abrahamsen 0 siblings, 1 reply; 5+ messages in thread From: Eli Zaretskii @ 2014-04-19 8:41 UTC (permalink / raw) To: help-gnu-emacs > From: Eric Abrahamsen <eric@ericabrahamsen.net> > Date: Sat, 19 Apr 2014 16:07:26 +0800 > > I'm trying to undo a fairly large chunk of text deletion, and emacs is > telling me: > > undo-more: Changes to be undone are outside visible portion of buffer > > I get this no matter where I scroll in the buffer -- it's only about > three screenfuls. I had undo-tree-mode active when I did the deletion, > but I get the same error whether it's active or no. > > I'd like this text back, and I don't care if it's not visible! I can't > find any switches that might allow me to circumvent the error -- what > options do I have here? I think "visible" here means the narrowed region, not visible on display. Do you have any kind of narrowing in that buffer? If so, try "M-x widen RET". ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: undo: changes outside of visible portion of buffer 2014-04-19 8:41 ` Eli Zaretskii @ 2014-04-19 8:56 ` Eric Abrahamsen 2014-04-19 11:35 ` Eli Zaretskii 0 siblings, 1 reply; 5+ messages in thread From: Eric Abrahamsen @ 2014-04-19 8:56 UTC (permalink / raw) To: help-gnu-emacs Eli Zaretskii <eliz@gnu.org> writes: >> From: Eric Abrahamsen <eric@ericabrahamsen.net> >> Date: Sat, 19 Apr 2014 16:07:26 +0800 >> >> I'm trying to undo a fairly large chunk of text deletion, and emacs is >> telling me: >> >> undo-more: Changes to be undone are outside visible portion of buffer >> >> I get this no matter where I scroll in the buffer -- it's only about >> three screenfuls. I had undo-tree-mode active when I did the deletion, >> but I get the same error whether it's active or no. >> >> I'd like this text back, and I don't care if it's not visible! I can't >> find any switches that might allow me to circumvent the error -- what >> options do I have here? > > I think "visible" here means the narrowed region, not visible on > display. Do you have any kind of narrowing in that buffer? If so, > try "M-x widen RET". After I sent the message I had the same idea, and tried "widen", but it didn't do anything. It was an emacs-lisp buffer, other minor modes in effect were Magit auto revert, Paredit, ElDoc, Auto Complete, and Undo Tree. I don't ever use narrowing manually, and I don't think any of those minor modes would have done it automatically, so I don't know what was going on. I think you must be right, though, that the error was referring to narrowing. After looking at the undo code, I did eventually get the text back (or most of it) from pending-undo-list, though. Hmm, I couldn't retrieve the five or six most recent lines -- I wonder if I accidentally narrowed something before I typed those... E ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: undo: changes outside of visible portion of buffer 2014-04-19 8:56 ` Eric Abrahamsen @ 2014-04-19 11:35 ` Eli Zaretskii 2014-04-19 13:40 ` Eric Abrahamsen 0 siblings, 1 reply; 5+ messages in thread From: Eli Zaretskii @ 2014-04-19 11:35 UTC (permalink / raw) To: help-gnu-emacs > From: Eric Abrahamsen <eric@ericabrahamsen.net> > Date: Sat, 19 Apr 2014 16:56:39 +0800 > > > I think "visible" here means the narrowed region, not visible on > > display. Do you have any kind of narrowing in that buffer? If so, > > try "M-x widen RET". > > After I sent the message I had the same idea, and tried "widen", but it > didn't do anything. It was an emacs-lisp buffer, other minor modes in > effect were Magit auto revert, Paredit, ElDoc, Auto Complete, and Undo > Tree. I don't ever use narrowing manually, and I don't think any of > those minor modes would have done it automatically, so I don't know what > was going on. I think you must be right, though, that the error was > referring to narrowing. Maybe you should look into those modes and see if they don't impose narrowing behind your back. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: undo: changes outside of visible portion of buffer 2014-04-19 11:35 ` Eli Zaretskii @ 2014-04-19 13:40 ` Eric Abrahamsen 0 siblings, 0 replies; 5+ messages in thread From: Eric Abrahamsen @ 2014-04-19 13:40 UTC (permalink / raw) To: help-gnu-emacs Eli Zaretskii <eliz@gnu.org> writes: >> From: Eric Abrahamsen <eric@ericabrahamsen.net> >> Date: Sat, 19 Apr 2014 16:56:39 +0800 >> >> > I think "visible" here means the narrowed region, not visible on >> > display. Do you have any kind of narrowing in that buffer? If so, >> > try "M-x widen RET". >> >> After I sent the message I had the same idea, and tried "widen", but it >> didn't do anything. It was an emacs-lisp buffer, other minor modes in >> effect were Magit auto revert, Paredit, ElDoc, Auto Complete, and Undo >> Tree. I don't ever use narrowing manually, and I don't think any of >> those minor modes would have done it automatically, so I don't know what >> was going on. I think you must be right, though, that the error was >> referring to narrowing. > > Maybe you should look into those modes and see if they don't impose > narrowing behind your back. I'll take a look, thanks. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-04-19 13:40 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-04-19 8:07 undo: changes outside of visible portion of buffer Eric Abrahamsen 2014-04-19 8:41 ` Eli Zaretskii 2014-04-19 8:56 ` Eric Abrahamsen 2014-04-19 11:35 ` Eli Zaretskii 2014-04-19 13:40 ` Eric Abrahamsen
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).