From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#25428: 25.1; Incorrect doc string for `delete-selection-mode' Date: Wed, 16 Aug 2017 22:24:15 -0400 Message-ID: <874lt7ylrk.fsf@users.sourceforge.net> References: <87efsbrm9u.fsf@moondust.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1502936596 6111 195.159.176.226 (17 Aug 2017 02:23:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 17 Aug 2017 02:23:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: 25428@debbugs.gnu.org To: nljlistbox2@gmail.com (N. Jackson) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 17 04:23:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diASe-0000xz-Ut for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Aug 2017 04:23:05 +0200 Original-Received: from localhost ([::1]:46843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diASl-0000JY-Cw for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Aug 2017 22:23:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1diASf-0000J9-Dn for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 22:23:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1diASc-0005wX-A7 for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 22:23:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33088) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1diASc-0005wT-6A for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 22:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1diASb-0003L3-UR for bug-gnu-emacs@gnu.org; Wed, 16 Aug 2017 22:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Aug 2017 02:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25428 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25428-submit@debbugs.gnu.org id=B25428.150293656612795 (code B ref 25428); Thu, 17 Aug 2017 02:23:01 +0000 Original-Received: (at 25428) by debbugs.gnu.org; 17 Aug 2017 02:22:46 +0000 Original-Received: from localhost ([127.0.0.1]:41769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diASM-0003KI-9N for submit@debbugs.gnu.org; Wed, 16 Aug 2017 22:22:46 -0400 Original-Received: from mail-io0-f193.google.com ([209.85.223.193]:37817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1diASK-0003K1-Nu for 25428@debbugs.gnu.org; Wed, 16 Aug 2017 22:22:44 -0400 Original-Received: by mail-io0-f193.google.com with SMTP id c74so3317923iod.4 for <25428@debbugs.gnu.org>; Wed, 16 Aug 2017 19:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=jqRubkmg/cdGyvmYDi78q84v3Kt4qrfp3xoIuVUhlGw=; b=ChX5jlVsz0rxhJRs1hpJcVIQ5Z95IjbIxKNYDdFq89XtnFcJI/0iy4rqx06lZYk/bG u2VpuFDyqjS6xkhXpWwCq2sC/6s4ANV5RhA/bOV03jSFY+jh19nIhq6y3qnOYXek7kae v2uMsnXSC8zqiJf7cj38IgEh1+UtJahYs+eDiodxx+Wbvm8/VOBWTZ5KSdyxmNlNwPpP 9IVBW8UOemZ7ev9llbPJU4yos7srFWpZ9nAGEm0O5dTVf8zZlnp4WsRBU5bdQs9slxX3 CClguPZtkJVoVnj9dGJxta1CV1AhJGnDTjVfWy00IpZYWu/vUVPzStT+1EOZpj6BFv0G 8oXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=jqRubkmg/cdGyvmYDi78q84v3Kt4qrfp3xoIuVUhlGw=; b=CYkx+NZ0w4K1VETvHSEaDvNi0FrFy5hYQGSf3jSgtDJJXpCU3/H+nt6zP0cx6lxNS1 +jTdEeXDM7+SnbH+avxju6VjKPLfYNsmBxlzRDE4ufJihKYp0FAC0pBVdPxejq/wL0hh jeMtjiBjEuLLkO1lT3HNZwJ6AoBRdcdiJNlrbr8sPjnYiVEfY4x3WxPnWQb02IM/9jsg 3wyHXUrlIEv2noGKgZI54q+yWTJicWwS+IosPjx9vjfTF8Y/zL2iDQU98o2n5pcJBHIp +3hFN1SZHd+dzzsABXAoa8PezcrvfQyOG3vPG9C2/gUC9kZUq6xHYQPaVlngpTzDbQmP FGhA== X-Gm-Message-State: AHYfb5h/7ZX4VMY2rZrWXCckOQTlF8RW/ND4r0QQSGXDjCq7pD9wvJB7 sb59hsxBjKyIx8Ea X-Received: by 10.107.132.233 with SMTP id o102mr3788902ioi.214.1502936559062; Wed, 16 Aug 2017 19:22:39 -0700 (PDT) Original-Received: from zony ([45.2.119.49]) by smtp.googlemail.com with ESMTPSA id m44sm249430iti.0.2017.08.16.19.22.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Aug 2017 19:22:37 -0700 (PDT) In-Reply-To: <87efsbrm9u.fsf@moondust.localdomain> (N. Jackson's message of "Wed, 16 Aug 2017 21:55:09 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135854 Archived-At: nljlistbox2@gmail.com (N. Jackson) writes: > [Temporary minor rant: Personally it seems absurd to me that a > `nil' argument doesn't turn a minor mode off; and that calling the > minor mode function with no argument doesn't toggle it. But that > is all history of course.] There is a good reason to have it like that: it allows doing (add-hook 'some-hook #'the-minor-mode) Rather than having to do (add-hook 'some-hook (lambda () (the-minor-mode +1))) or (defun turn-on-the-minor-mode () (the-minor-mode +1)) (add-hook 'some-hook #'turn-on-the-minor-mode)