From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52007: 26.3; Doc of `define-globalized-minor-mode' and global(ized) minor modes Date: Sun, 21 Nov 2021 08:41:13 +0200 Message-ID: <83czmuroxi.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22254"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52007-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 21 07:42:35 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mogYd-0005b6-Af for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Nov 2021 07:42:35 +0100 Original-Received: from localhost ([::1]:39830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mogYb-0000s2-2h for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Nov 2021 01:42:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mogY6-0000rQ-84 for bug-gnu-emacs@gnu.org; Sun, 21 Nov 2021 01:42:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mogY5-0000Wk-WD for bug-gnu-emacs@gnu.org; Sun, 21 Nov 2021 01:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mogY5-0006R3-UG for bug-gnu-emacs@gnu.org; Sun, 21 Nov 2021 01:42:01 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Nov 2021 06:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 52007 X-GNU-PR-Package: emacs Mail-Followup-To: 52007@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 52007-done@debbugs.gnu.org id=D52007.163747687624661 (code D ref 52007); Sun, 21 Nov 2021 06:42:01 +0000 Original-Received: (at 52007-done) by debbugs.gnu.org; 21 Nov 2021 06:41:16 +0000 Original-Received: from localhost ([127.0.0.1]:44015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mogXM-0006Ph-9C for submit@debbugs.gnu.org; Sun, 21 Nov 2021 01:41:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mogXK-0006PU-G8 for 52007-done@debbugs.gnu.org; Sun, 21 Nov 2021 01:41:14 -0500 Original-Received: from [2001:470:142:3::e] (port=43114 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mogXF-0000Jt-35; Sun, 21 Nov 2021 01:41:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=7k9nbx2579yKkBV0tWPCAdVNcIrczgkAfu4hvVaN5d0=; b=Wgo3/ZDLG3h1aZxjFBEu WB/oqqIxuRC6AlClfG/5UQzLEdCINUyIJNKwHvAIRrxPq2LErZvc+60eBZsWSQnvVfGRCY3RDzDhh lJuxniFtnBCOECuJIBGJ6O40HOSrLVHsJPQVJALnbTeAbR7HFKMsTdBE7uLUskqTHBkeLSQaTzDpP +kF9t+GXCdc71ueWScNCfC72xobWPECMO0i1hzuurKs5tqkRMZM/bjx2UO42jKKhHsfKmJNi8K9Kf Zc0uNFenwrGPu5sxZK0usPya2Gx5UsbzBb72l+CA8dOWHXEYT3OhQe2XoN3fTbj0nByRKxbdJAVo5 kXPTw6TCzoPdBA==; Original-Received: from [87.69.77.57] (port=1494 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mogXE-0003HO-O5; Sun, 21 Nov 2021 01:41:09 -0500 In-Reply-To: (message from Drew Adams on Sat, 20 Nov 2021 22:44:23 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220531 Archived-At: > From: Drew Adams > Date: Sat, 20 Nov 2021 22:44:23 +0000 > > The doc for a globalized minor mode `foo-mode' says this: > > With prefix ARG, enable Global-Foo mode if ARG is positive; > otherwise, disable it. If called from Lisp, enable the mode if > ARG is omitted or nil. You are looking at an old Emacs. Emacs 28 says: With prefix ARG, enable Global Display-Line-Numbers mode if ARG is positive; otherwise, disable it. If called from Lisp, toggle the mode if ARG is ‘toggle’. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number. So this is already fixed, and I'm closing this bug.