[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] left-fringe for speedbar

From: Nick Roberts
Subject: [PATCH] left-fringe for speedbar
Date: Sun, 13 Nov 2005 11:15:38 +1300

In gud.el I've made visibility of some tool bar buttons e.g the unintuitive
break and clear buttons, conditional on the fringe (these operations can be
done in the fringe, if present).  Unfortunately window-fringes uses the
selected window and not the one that determines the tool-bar, when multiple
frames are used:

    ([break]    menu-item "Set Breakpoint" gud-break
                  :enable (not gud-running)
                  :visible (not (and (memq gud-minor-mode '(gdbmi gdba))
                      (> (car (window-fringes 0))))))

This means that the extra buttons appear every time the speedbar is selected.

The speedbar is a key part of gdba for watch expressions so I'd like to put
the left-fringe back.  Are there any objections?


*** speedbar.el 16 Oct 2005 19:01:20 +1300      1.73
--- speedbar.el 13 Nov 2005 10:59:21 +1300      
*** 270,276 ****
                                       (menu-bar-lines . 0)
                                       (tool-bar-lines . 0)
                                       (unsplittable . t)
-                                      (left-fringe . 0)
    "*Parameters to use when creating the speedbar frame in Emacs.
  Any parameter supported by a frame may be added.  The parameter `height'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]