From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Shahid Newsgroups: gmane.emacs.bugs Subject: bug#10754: define-minor-mode and doc of derived mode Date: Sun, 17 Jun 2018 15:55:46 +0000 Message-ID: <87fu1lv24d.fsf@gmail.com> References: <87po12g7x4.fsf@gmail.com> <0edf0759-1044-4c6f-b70a-addebc9078f8@default> <87in6trm00.fsf@gmail.com> <83y3ffypek.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529250908 5591 195.159.176.226 (17 Jun 2018 15:55:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 17 Jun 2018 15:55:08 +0000 (UTC) User-Agent: mu4e 1.1.0; emacs 27.0.50 Cc: 10754@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 17 17:55:04 2018 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 1fUa1A-0001G4-2K for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jun 2018 17:55:04 +0200 Original-Received: from localhost ([::1]:55636 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUa3H-0004nE-07 for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Jun 2018 11:57:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUa37-0004n5-ON for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2018 11:57:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUa34-0004yo-Mw for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2018 11:57:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46130) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUa34-0004yg-JF for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2018 11:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fUa34-0002nX-CZ for bug-gnu-emacs@gnu.org; Sun, 17 Jun 2018 11:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: John Shahid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Jun 2018 15:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10754 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10754-submit@debbugs.gnu.org id=B10754.152925096210667 (code B ref 10754); Sun, 17 Jun 2018 15:57:02 +0000 Original-Received: (at 10754) by debbugs.gnu.org; 17 Jun 2018 15:56:02 +0000 Original-Received: from localhost ([127.0.0.1]:54026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUa26-0002lv-09 for submit@debbugs.gnu.org; Sun, 17 Jun 2018 11:56:02 -0400 Original-Received: from mail-qt0-f170.google.com ([209.85.216.170]:36425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUa22-0002lO-LV for 10754@debbugs.gnu.org; Sun, 17 Jun 2018 11:56:00 -0400 Original-Received: by mail-qt0-f170.google.com with SMTP id o9-v6so13234221qtp.3 for <10754@debbugs.gnu.org>; Sun, 17 Jun 2018 08:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=/BGHZy0ftxnzOgQZ+Rc+dysWBWOLml+403SOt6UE1W0=; b=nwl0oqIToP+FaMnujDLH+vDRFHn3hMgDKzQJ6fpQmXQp4P0mXOnfRn+8nrUhG9C7gS w+2KzqglF0FQpZ8G3M6CS4hqUnPKHzWjyUEKns5Is7sYsLzgwGONI9e5g4sg9qwrwTOS qN+Mn0ECxYordUBqj0CgDKyRYWD6BO84/pdOPc6bclJigkHJzJG+LrE0UpkiDhio47V1 JCMcHimehg8w56yfuP/cYZBkRRpil+vCwkWqjWmqfAaU/PI96GIwGzUQ1Pq/XGSi2dE9 kHERob1w7Kf1bQxzlthQu/MmWxcdMa7pKQ/D8KnViHac2AS34je9nWRX68PC2ahzvAwl Bfuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=/BGHZy0ftxnzOgQZ+Rc+dysWBWOLml+403SOt6UE1W0=; b=MRR4TQl4kd5yrpTIDtBXuDxr8X+Uhl82ByJ8mld1b7LCwgIiaZcQ4/DaaVfFsau4Dc 2rtdEtM5WgKse7P2Hk3ij4mfeN2xORkIr5byYnyM0ZYGOM599625yG+Hm/8jbV9lsMqH C6qh0vigvApf0TDzFWVX/U3cRPYIZQmN1oMFbUlDdCRc2l2xGyaloXoJd07iYRdhl7Ry CeLvRphWHC1o/aqZbn+40sDrsFnNl2HUN5p+nw1PRkdNbvqfM2OIvVmy1sAyr/NyYrjo hErwS7ek0SspeVajFn+5Y6OQ222TeOscLp2ZZp5K+1DHCmtYUXRVlzzxc0cw0wu5unlM 2wCQ== X-Gm-Message-State: APt69E1n31HOb0I5JJkdDnqajOrk6nNGyvoxKcbvyb9VnrJJbtZpLQzO BfIaNG64ACjVV+lTpp4ZhvA= X-Google-Smtp-Source: ADUXVKJlqTp4y894/MpPfqUbQ1ZzcuOUhHyMVgVDl9ICaWjBzXK+lJhWqx/7umq13b48eZ9Jnc+xSQ== X-Received: by 2002:a0c:ada5:: with SMTP id w34-v6mr8105320qvc.58.1529250952924; Sun, 17 Jun 2018 08:55:52 -0700 (PDT) Original-Received: from dee925c335f3 (cpe-184-152-55-93.nyc.res.rr.com. [184.152.55.93]) by smtp.gmail.com with ESMTPSA id h184-v6sm8881149qkd.80.2018.06.17.08.55.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Jun 2018 08:55:51 -0700 (PDT) In-reply-to: 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:147581 Archived-At: Stefan Monnier writes: >> Stefan, WDYT about this? > > Fine by me (tho I'd replace "will be replaced by a docstring explaining" > with "will be replaced by a paragraph explaining"). Sounds good. I can make this minor edit and audit the rest of the minor modes. I just thought of an alternative approach. Instead of interpolating the docstring we could append the extra argument description to the docstring ? We can add an optional arg to `define-minor-mode'. -js