From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#25357: 25.1; Doc for `cursor-sensor-mode' (and modes generally) Date: Wed, 4 Jan 2017 13:56:08 -0500 Message-ID: References: <9ad8b225-73da-4533-a676-b0f8e84e54ca@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1483556308 6164 195.159.176.226 (4 Jan 2017 18:58:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Jan 2017 18:58:28 +0000 (UTC) Cc: 25357@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 04 19:58:22 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 1cOqlN-0000In-6h for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jan 2017 19:58:17 +0100 Original-Received: from localhost ([::1]:40985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOqlR-0007dK-88 for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Jan 2017 13:58:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOqkD-0006f6-CX for bug-gnu-emacs@gnu.org; Wed, 04 Jan 2017 13:57:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOqkA-0006V3-Ac for bug-gnu-emacs@gnu.org; Wed, 04 Jan 2017 13:57:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54247) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cOqkA-0006Uz-7T for bug-gnu-emacs@gnu.org; Wed, 04 Jan 2017 13:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cOqk9-0005WT-PY for bug-gnu-emacs@gnu.org; Wed, 04 Jan 2017 13:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Jan 2017 18:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25357 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25357-submit@debbugs.gnu.org id=B25357.148355617521168 (code B ref 25357); Wed, 04 Jan 2017 18:57:01 +0000 Original-Received: (at 25357) by debbugs.gnu.org; 4 Jan 2017 18:56:15 +0000 Original-Received: from localhost ([127.0.0.1]:41413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cOqjP-0005VM-GW for submit@debbugs.gnu.org; Wed, 04 Jan 2017 13:56:15 -0500 Original-Received: from mail-oi0-f48.google.com ([209.85.218.48]:32821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cOqjO-0005V7-5w for 25357@debbugs.gnu.org; Wed, 04 Jan 2017 13:56:14 -0500 Original-Received: by mail-oi0-f48.google.com with SMTP id 128so358904985oig.0 for <25357@debbugs.gnu.org>; Wed, 04 Jan 2017 10:56:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=4wzeQh7TMgcJw8XuJLdytcoERAd81GPS7t1252XDZJ0=; b=szvfFXZLgxWClKaVUYobpnG9V0uRHrt7r12Qg/gSqiCRycgb2jNQM2ueIfoZvgDSm7 +oaLLKY8y7MKky8uaE3Byvl74crUmNlxu3+gyJa4Of48+z8rgzPiKYdnnkr7BOeDn451 YH9GRtGmjomJt9aZHXdUlRvnPczj5lytPPGHZ7oSlh9IW4aItEJ+oydbyeHatR3sCmNc E6ry0Cw+IaBiRKfJK/X+pHk1X5A2e31djkPzH6U0hERpj9FY8I635elzh/+3Os8dEa2F WfQiNtG55hGEhc02ZaN3Vjt+nbhjf97YW55QekViRP5ZaXMQsWOu0wRzV7NYg/lV97AH mShg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=4wzeQh7TMgcJw8XuJLdytcoERAd81GPS7t1252XDZJ0=; b=t82RQtt+s0uCS2ITcTzEKqvfSGQnGyzTZVvnggJwqZcl1DQb1sjHL11zBRsUC5wPzS MqfjumjzCmkESJd4AjNGsSD0Bf5PHgAtCweX/+6i4wVYCOYe+10HPlMD2R51CbQmtt0d exYk5VfdQVxnVnric5g/sOE2yVgL3P1g2yGeatJrT1hVHZwaLOuNrLipkvnDgHFTicDf 1xZy06K+o65RePlAXQN0uW9cJImEqMGR01yAYETgbj6WOYo5OLOIRxuxh4kOu5/HR/1l E2rnYs+qQBY+ggwh7JecFKKaDO/+3bonWyU2aYh36tL/nWjvzpxFvBGB3HAHmIdhu2Z5 7ZUg== X-Gm-Message-State: AIkVDXIyFxk+MtYD7Y098U4hkkAtSTQelti1xDug5uC1PF6GDyUtaV9gSs8xlsR4+15jTiDGJRhA5/RtWnqZ3g== X-Received: by 10.157.35.98 with SMTP id k31mr29092750otd.109.1483556168478; Wed, 04 Jan 2017 10:56:08 -0800 (PST) Original-Received: by 10.157.45.104 with HTTP; Wed, 4 Jan 2017 10:56:08 -0800 (PST) In-Reply-To: <9ad8b225-73da-4533-a676-b0f8e84e54ca@default> X-Google-Sender-Auth: DjqQ9QlvhAVKYHpJYKpXBK_BU_k 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:127748 Archived-At: On Wed, Jan 4, 2017 at 1:07 PM, Drew Adams wrote: >> > More generally, I do not see, in either the Emacs or the Elisp manuals, >> > anywhere where we explain the argument to a major mode, telling you how >> > to turn the mode on/off from Lisp. >> >> It's mentioned in "Minor Modes" in the user manual. > > But it's a major mode... I tried `i' for major mode etc. > Why do you think it's a major mode? cursor-sensor.el has: (define-minor-mode cursor-sensor-mode ...