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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1527 in the body.
You can then email your comments to 1527 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report stored:
bug#1527; Package emacs. Full text and rfc822 format available.

Message #3 received at quiet <at> emacsbugs.donarmstrong.com (full text, mbox):

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




Reply sent to Juanma Barranquero <lekktu <at> gmail.com>:
You have taken responsibility. (Tue, 24 Feb 2009 16:20:04 GMT) Full text and rfc822 format available.

Notification sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
bug acknowledged by developer. (Tue, 24 Feb 2009 16:20:04 GMT) Full text and rfc822 format available.

Message #8 received at 1527-done <at> emacsbugs.donarmstrong.com (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 25 Mar 2009 14:24:05 GMT) Full text and rfc822 format available.

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.