From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Thu, 29 Nov 2007 10:18:09 -0800 Subject: [sup-talk] [PATCH] mode.focus not called when buffer killed In-Reply-To: <1196351158-sup-2243@spooky.local> References: <1196201559-sup-3731@spooky.local> <1196270440-sup-7754@south> <1196351158-sup-2243@spooky.local> Message-ID: <1196360200-sup-5728@south> Excerpts from Grant Hollingworth's message of Thu Nov 29 07:50:36 -0800 2007: > I noticed that you used 'focus_on buf' instead of 'focus_on > @buffers.last'. I assumed that if @buffers.last.force_to_top? was > true, that you'd want to focus on the last buffer instead of the one > just moved to @buffers[-2]. Or do you just want to make sure that the > force_to_top buffer stays at the end of @buffers? Nope, you're correct. Focus should stay on the force_to_top? buffer, regardless of whether something was deleted underneath it. I had tried a couple different variations and didn't clean up properly. Thanks again! -- William