GNU bug report logs - #1527
scroll-bar-mode should use define-minor-mode

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Wed, 10 Dec 2008 03:15:04 UTC

Severity: minor

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Juanma Barranquero <lekktu <at> gmail.com>
Subject: bug#1527: marked as done (scroll-bar-mode should use 
 define-minor-mode)
Date: Tue, 24 Feb 2009 16:20:04 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 24 Feb 2009 17:11:39 +0100
with message-id <f7ccd24b0902240811g51b18f4fr1d317a593bb06367 <at> mail.gmail.com>
and subject line Re: 22.2.50; doc strings: menu-bar-mode scroll-bar-mode tool-bar-mode
has caused the Emacs bug report #1527,
regarding scroll-bar-mode should use define-minor-mode
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
1527: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1527
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: quiet <at> debbugs.gnu.org
Subject: scroll-bar-mode should use define-minor-mode
Date: Sun, 27 Apr 2008 21:43:24 -0400
Severity: minor

[ resent from
  http://lists.gnu.org/archive/html/emacs-devel/2008-04/msg01951.html ]

>> | (scroll-bar-mode &optional flag)
>> | [...]
>> | With a numeric argument, if the argument is negative,
>> | turn off scroll bars; otherwise, turn on scroll bars.

> Actually, `(scroll-bar-mode 0)' does turn on the mode.

Does it?  Sounds like a bug.  Could someone make it use
define-minor-mode to avoid such inconsistency.


        Stefan


[Message part 3 (message/rfc822, inline)]
From: Juanma Barranquero <lekktu <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 1527-done <at> debbugs.gnu.org
Subject: Re: 22.2.50; doc strings: menu-bar-mode scroll-bar-mode tool-bar-mode
Date: Tue, 24 Feb 2009 17:11:39 +0100
On Mon, Apr 28, 2008 at 02:43, Stefan Monnier <monnier <at> iro.umontreal.ca> wrote:

>> Actually, `(scroll-bar-mode 0)' does turn on the mode.
>
> Does it?  Sounds like a bug.

Fixed.

> Could someone make it use
> define-minor-mode to avoid such inconsistency.

scroll-bar-mode is not well suited to define-minor-mode, because the
controlling variable is tri-state.

    Juanma


This bug report was last modified 16 years and 90 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.