all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] left-fringe for speedbar
Date: Mon, 14 Nov 2005 11:26:50 +1300	[thread overview]
Message-ID: <17271.48554.199488.298170@kahikatea.snap.net.nz> (raw)
In-Reply-To: <m3oe4onuwx.fsf@kfs-l.imdomain.dk>

 > Would it work to test explicitly for speedbar mode?
 > 
 > ([break]	menu-item "Set Breakpoint" gud-break
 >                 :enable (not gud-running)
 >                 :visible (not (or (eq major-mode 'speedbar-mode) 
 > 				  (and (memq gud-minor-mode '(gdbmi gdba))
 > 				       (> (car (window-fringes)) 0)))))

No I don't think so.  When there is more than one frame the tool-bar of the
frame without focus is not determined by the buffer local values of the
selected window but by those of the window that becomes selected if that frame
is given focus (the function frame-selected-window hints at this concept as
it can have frame as an argument).

Try this: 

1) Put the GUD buffer in full frame (with fringes).
2) Do C-x 5 2 to generate an identical frame.
3) M-x set-fringe-style RET none so that one frame has no fringes.
4) Click alternately on each frame.
5) The extra icons disappear and appear _simultaneously_ on both frames
   depending on whether the fringes are present on the frame with focus or not.

Ideally the extra icons should be present in the frame with fringes and not
in the frame without them.

Nick

  reply	other threads:[~2005-11-13 22:26 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-12 22:15 [PATCH] left-fringe for speedbar Nick Roberts
2005-11-12 23:27 ` 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 [this message]
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=17271.48554.199488.298170@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=emacs-devel@gnu.org \
    /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.