unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] left-fringe for speedbar
Date: Sun, 13 Nov 2005 21:40:30 +0100	[thread overview]
Message-ID: <m3oe4onuwx.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <17270.43696.230430.614277@kahikatea.snap.net.nz> (Nick Roberts's message of "Sun, 13 Nov 2005 15:53:36 +1300")

Nick Roberts <nickrob@snap.net.nz> writes:

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

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)))))


-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2005-11-13 20:40 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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m3oe4onuwx.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).