[Geany-devel] [PATCH 08/19] When closing tab, return to the document at the top of the MRU list

Jiří Techet techet at xxxxx
Wed Aug 4 23:59:42 UTC 2010

This is a pretty frequent work pattern of mine:

1. Editing file A
2. Searching for function and opening file B
3. Closing file B because I just wanted to look at the function definition
4. Without this patch I get to the file following the B's tab (which
is just a random file) but my brain expects that I get to A

I know it's possible to kind of simulate the behaviour I want with
the "next to current" placement option but I really don't see a single
advantage of having tabs closed in sequential order. This is also
why I didn't make this behaviour optional. But maybe I miss some
use case of tabs being closed sequentially - just tell me.

Signed-off-by: Jiří Techet <techet at gmail.com>
 src/keybindings.c |   10 ++++++++++
 src/notebook.c    |    9 ---------
 2 files changed, 10 insertions(+), 9 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-When-closing-tab-return-to-the-document-at-the-top-o.patch
Type: text/x-patch
Size: 1369 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100805/cc4ebf93/attachment.bin>

More information about the Devel mailing list