From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#27230: eldoc doc Date: Tue, 6 Jun 2017 23:19:46 +0300 Message-ID: References: <282e174a-e9c0-6bec-32f5-ed9d772e5e1d@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1496780417 3129 195.159.176.226 (6 Jun 2017 20:20:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Jun 2017 20:20:17 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Thunderbird/54.0 To: "Charles A. Roelli" , 27230@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 06 22:20:13 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 1dIKxZ-0000TM-57 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Jun 2017 22:20:13 +0200 Original-Received: from localhost ([::1]:39978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIKxd-0001j9-0F for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Jun 2017 16:20:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIKxS-0001gi-Sz for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2017 16:20:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIKxO-0007of-SQ for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2017 16:20:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57241) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIKxO-0007oB-OC for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2017 16:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dIKxO-0003aE-Bt for bug-gnu-emacs@gnu.org; Tue, 06 Jun 2017 16:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Jun 2017 20:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27230 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27230-submit@debbugs.gnu.org id=B27230.149678039713758 (code B ref 27230); Tue, 06 Jun 2017 20:20:02 +0000 Original-Received: (at 27230) by debbugs.gnu.org; 6 Jun 2017 20:19:57 +0000 Original-Received: from localhost ([127.0.0.1]:59918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIKxJ-0003Zq-KA for submit@debbugs.gnu.org; Tue, 06 Jun 2017 16:19:57 -0400 Original-Received: from mail-wm0-f41.google.com ([74.125.82.41]:35928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIKxH-0003Zc-QQ for 27230@debbugs.gnu.org; Tue, 06 Jun 2017 16:19:56 -0400 Original-Received: by mail-wm0-f41.google.com with SMTP id 7so105186113wmo.1 for <27230@debbugs.gnu.org>; Tue, 06 Jun 2017 13:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=I4LCeo4Fhs5Y7qdkVPS86crTj59vHC5dgrc9kgyPBV0=; b=dy6FPLnqmFGa2CG6hdjho7U/MQ3vvMeArWQTh2wu/YyVr3FOiY4MVEl2zxZsx56JtH 2VnatbS7Wod7osrDDdrfDP0DpqZ6Qx/q3VsIpM9bHz5s607VnhQy3/wZaPM5Yyq8NX4G YOxIX7xzAfwlJv17OmN+tiGN5rp3Nq0EqTDYAwQg1d2Kx+hsKZr9cx66bSYQA3VSFjCR Viqyreyq6CkrI6l27dVhBBP+URgoqGLdYpVIAqwZUh31rr2lml78Nts7YTBJrLFYOpj7 fBeVatoWx+z3qNt43jnKq2jKWxrSnMoFSp5iPZIj3i2ztsKnIDD6jvE2JGEC6X/FUjIT SSsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=I4LCeo4Fhs5Y7qdkVPS86crTj59vHC5dgrc9kgyPBV0=; b=dl5lQpxfBvLEGsZ++ky/XvlS2gSOnJIjcReks1NvQ8OYTpYUKKvK/pOK+c2e7teHJz oUK4qpDtK+G+XgqUCiz4y9njN2vx6IyixZ8Zxh3JwvnkC2/0Rx3pWpnO+TW0wDzoDmO2 kU2waW/QhiAljEFFRWj2tkkJGJbaYhlpaXWS1vIkpunUaO0aj4yp7+8CUhWSafaDBQbe tthCtHt54AoI1ZDqt1x3P//c7pvKgweePY45gajOTnQiBp3KUgq8xYXWp+HKAn7KznSe uvZSVZr/OxRq8H80DnDdBUbekS6JDdCjp0HHFFBvXliWh/5QMQfxWk1hta1EygVB1Ti8 QY7A== X-Gm-Message-State: AODbwcCa3PqxUSruLFbNgUmoyLGgu6OPs5DSAKCFGK/w7nsQg4iQm3Y1 NgcfEim1XgEHVb9MUsk= X-Received: by 10.28.135.82 with SMTP id j79mr13724119wmd.10.1496780389914; Tue, 06 Jun 2017 13:19:49 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id x37sm61677591wrb.42.2017.06.06.13.19.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Jun 2017 13:19:48 -0700 (PDT) In-Reply-To: Content-Language: en-US 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:133351 Archived-At: On 6/6/17 9:33 PM, Charles A. Roelli wrote: > I'm confused about how the command `define-globalized-minor-mode' > defines will handle buffers that already have the minor mode turned > on. Indeed, the docstring is a bit ambiguous. Maybe you want to improve the documentation of the said function, or the auto-generated docstring that it puts on the created minor modes. > Say buffers A and B have simple `eldoc-mode' switched on, and > buffers C and D don't (and global-eldoc-mode is off). If I then > switch global-eldoc-mode on, is every buffer's value of eldoc-mode > now /on/, or do the values get toggled instead (leaving A and B off, C > and D on)? Not toggled, of course. On everywhere (where appropriate). > And after that, if I toggle global-eldoc-mode off again, > are the previous values remembered and restored, or does every buffer > now have eldoc-mode switched off? Not remembered, no. Off everywhere.