all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
Subject: [PATCH] left-fringe for speedbar
Date: Sun, 13 Nov 2005 11:15:38 +1300	[thread overview]
Message-ID: <17270.27018.323474.12554@kahikatea.snap.net.nz> (raw)


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?

Nick



*** 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	other threads:[~2005-11-12 22:15 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-12 22:15 Nick Roberts [this message]
2005-11-12 23:27 ` [PATCH] left-fringe for speedbar Drew Adams
2005-11-13  0:47   ` Nick Roberts
2005-11-13  2:44     ` Miles Bader
2005-11-13  2:57       ` Nick Roberts
2005-11-13  3:19         ` Miles Bader
2005-11-13  4:36           ` Nick Roberts
2005-11-13  6:06             ` Miles Bader
2005-11-14  4:54       ` Richard M. Stallman
2005-11-14 20:07         ` Nick Roberts
2005-11-14 23:08           ` Kim F. Storm
2005-11-15  2:09             ` Nick Roberts
2005-11-15  9:47               ` Kim F. Storm
2005-11-15 12:37                 ` GUD icons [was: Re: [PATCH] left-fringe for speedbar] Nick Roberts
2005-11-15 15:25                   ` Kim F. Storm
2005-11-15 22:49                     ` GUD icons Nick Roberts
2005-11-15 23:06                       ` Kim F. Storm
2005-11-16  0:16                         ` Nick Roberts
2005-11-16  0:20                         ` Andreas Schwab
2005-11-15 18:07           ` [PATCH] left-fringe for speedbar Richard M. Stallman
2005-11-15 23:00             ` Nick Roberts
2005-11-13  3:13     ` Drew Adams
2005-11-13  4:02       ` Nick Roberts
2005-11-13  2:53 ` Nick Roberts
2005-11-13 20:40   ` Kim F. Storm
2005-11-13 22:26     ` Nick Roberts
2005-11-14  0:20       ` Kim F. Storm
2005-11-14  1:26         ` Nick Roberts
2005-11-14 14:16           ` Kim F. Storm
2005-11-14 19:57             ` Nick Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17270.27018.323474.12554@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.