tag:blogger.com,1999:blog-2304251215826746968.post7084151842004142391..comments2023-08-25T07:40:19.012-07:00Comments on Life Is Too Short For Bad Code: Emacs Tip #36: Abort the minibuffer when using the mouseahttp://www.blogger.com/profile/03202031495623868181noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-2304251215826746968.post-52734689182375651182014-03-07T11:36:22.326-08:002014-03-07T11:36:22.326-08:00"he chances of the user understanding (or eve..."he chances of the user understanding (or even really wanting) recursive minibuffers is IMO slight to none."<br /><br />Yes. I've been using Emacs and predecessors since before it was called Emacs, and was implemented in ITS TECO.<br /><br />I googled "emacs minibuffer annoying" to get here. In my case, it was because enable-recursive-minibuffers was set. Disabling it the http://bobkerns.typepad.comnoreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-18704025517843721312012-07-19T05:48:53.843-07:002012-07-19T05:48:53.843-07:00Now for the million-dollar question: how do you an...Now for the million-dollar question: how do you answer the minibuffer (or dialog) question on your desktop when you're sitting at your laptop and have done "ssh desktop emacsclient"? <br /><br />(When I do this, emacsclient just hangs until I walk over to my desktop and answer the question.)fssadasdhttps://www.blogger.com/profile/07789694406162150813noreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-585520127714844362011-10-25T20:15:08.304-07:002011-10-25T20:15:08.304-07:00@Anonymous The chances of the user understanding (...@Anonymous The chances of the user understanding (or even really wanting) recursive minibuffers is IMO slight to none. But that is certainly a possibility.ahttps://www.blogger.com/profile/03202031495623868181noreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-37926884313366636222011-10-25T18:31:26.905-07:002011-10-25T18:31:26.905-07:00Provided the user understands the concept of recur...Provided the user understands the concept of recursive minibuffers, you can eliminate any associated confusion if you enable minibuffer-depth-indicate-mode as well.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-49870761613386394532011-07-05T09:42:26.371-07:002011-07-05T09:42:26.371-07:00@Anonymous Sure you can use C-x o, but the point ...@Anonymous Sure you can use <b>C-x o</b>, but the point was that the person didn't want to...ahttps://www.blogger.com/profile/03202031495623868181noreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-59376897630999150842011-07-02T08:23:02.872-07:002011-07-02T08:23:02.872-07:00there is one command C-x o i.e. CTRL+x followed b...there is one command C-x o i.e. CTRL+x followed by o<br />This will change you through minibuffer to buffer to frame to everything that is on screen sequentially. It is like TAB.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-19843748196122049722010-05-06T08:18:12.598-07:002010-05-06T08:18:12.598-07:00"And heaven forbid they click in the minibuff..."And heaven forbid they click in the minibuffer, type C-g and get back to the window configuration they were looking at when they started that command, which was ... 15 minutes ago"<br /><br />YES. I've made that exact mistake before, it drives me crazyMichael Mrozekhttps://www.blogger.com/profile/08593850922533973503noreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-77966927492641525372010-05-01T15:35:25.403-07:002010-05-01T15:35:25.403-07:00@Georg I'll add that.@Georg I'll add that.ahttps://www.blogger.com/profile/03202031495623868181noreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-90059475183246975552010-05-01T03:08:12.073-07:002010-05-01T03:08:12.073-07:00IMO checking for an active recursive edit is too l...IMO checking for an active recursive edit is too lax -- that function will also e.g. quit the Elisp Debugger when changing windows with the mouse.<br /><br />Maybe <b>(and (>= (recursion-depth) 1) (active-minibuffer-window))</b> would be acceptable?Georg Brandlhttps://www.blogger.com/profile/14973145408214215809noreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-67513144518061935122010-04-28T14:44:34.733-07:002010-04-28T14:44:34.733-07:00@YHVH There's no built-in way to return focus ...@YHVH There's no built-in way to return focus to the minibuffer, but there is a solution (already posted). Check <a href="http://superuser.com/questions/132225/how-to-get-back-to-an-active-minibuffer-prompt-in-emacs-without-the-mouse/132454#132454" rel="nofollow">it out</a>.ahttps://www.blogger.com/profile/03202031495623868181noreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-57569373398275161622010-04-28T14:20:02.747-07:002010-04-28T14:20:02.747-07:00Is there a key binding to focus the minibuffer? Th...Is there a key binding to focus the minibuffer? There is a discussion on superuser<br />http://superuser.com/questions/132225/how-to-get-back-to-an-active-minibuffer-prompt-in-emacs-without-the-mouseYHVHhttps://www.blogger.com/profile/14215885528038343253noreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-62870980588960411992010-04-28T13:59:21.491-07:002010-04-28T13:59:21.491-07:00@cyd Right, I should have mentioned recursive-mini...@cyd Right, I should have mentioned recursive-minibuffers in my post ... I've found that it's more confusing to the (beginning) users. Will update post with my thoughts on recursive minibuffers.ahttps://www.blogger.com/profile/03202031495623868181noreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-51001946238700908872010-04-28T13:41:52.087-07:002010-04-28T13:41:52.087-07:00Consider using recursive minibuffers:
(setq enab...Consider using recursive minibuffers:<br /><br /> (setq enable-recursive-minibuffers t)Unknownhttps://www.blogger.com/profile/15001680589193432049noreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-42604051828665739212010-04-28T13:41:35.528-07:002010-04-28T13:41:35.528-07:00@jz C-g only works when the focus is inside the mi...@jz C-g only works when the focus is inside the minibuffer. When the focus is in another buffer, C-g does nothing to the minibuffer.ahttps://www.blogger.com/profile/03202031495623868181noreply@blogger.comtag:blogger.com,1999:blog-2304251215826746968.post-61900065556406445632010-04-28T13:31:49.709-07:002010-04-28T13:31:49.709-07:00Have you considered using C-g?Have you considered using C-g?Jefferyhttps://www.blogger.com/profile/13699429341499768983noreply@blogger.com