From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 19 11:11:40 2018 Received: (at submit) by debbugs.gnu.org; 19 Jul 2018 15:11:41 +0000 Received: from localhost ([127.0.0.1]:48425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgAag-0000wQ-Kx for submit@debbugs.gnu.org; Thu, 19 Jul 2018 11:11:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgAae-0000wA-H2 for submit@debbugs.gnu.org; Thu, 19 Jul 2018 11:11:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgAaY-0005pp-Gi for submit@debbugs.gnu.org; Thu, 19 Jul 2018 11:11:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35648) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fgAaY-0005pg-D2 for submit@debbugs.gnu.org; Thu, 19 Jul 2018 11:11:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgAaW-0002Y8-Pg for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2018 11:11:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgAaT-0005o5-Ke for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2018 11:11:28 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:46076) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fgAaT-0005nd-BR for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2018 11:11:25 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6JF4gDd086545 for ; Thu, 19 Jul 2018 15:11:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=eOQMQFnKeK4ECShYUyxaqRoIcL0rpgmFvYVQi59QCTc=; b=oNqUMUaW4SOdAJGPIfNUk001NKKUgMVjNa/E3zADU0TD2muqehINx3G2FCQXj9/FKMLF FtITh+VD/K3As4LK4RwnEvmVfPBBUsxuR5U+k/D7Ce6SQk/lDtKPUk/ASnCvFgdD6wYs eh3mF1EPLqQfsXhBB3zqs9x4AW7/r/n2Q6hdJlQiYZWCRb6f0FaeXeu9a7qbm+wDDTRJ V8AEB3qYjbKAi3LuHlmhrQC4ZqG+67ICWpCYFhfijPENg5Ao6AJrlai+BCRkQccFfOQN bRN5SqWHudTCKoOezfveviV/bD6mV2DkDFkeLLNl9prFrRtfWNTOawbs5bXMNOLgEDyr WA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2k9ykc7jc4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 19 Jul 2018 15:11:22 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w6JFBM9j016494 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 19 Jul 2018 15:11:22 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w6JFBLxe023956 for ; Thu, 19 Jul 2018 15:11:21 GMT MIME-Version: 1.0 Message-ID: Date: Thu, 19 Jul 2018 08:10:57 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 26; `subword-mode' doc string shows empty key-binding list X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4717.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8958 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=923 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807190161 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) emacs -Q C-h f subword-mode You see this at the end of buffer *Help*: key binding --- ------- It's not just about this appearing before the library is loaded. Loading the library does not populate the list of keys and their bindings. You always get such a heading, with no keys shown. In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30 Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 19 20:59:02 2018 Received: (at 32212) by debbugs.gnu.org; 20 Jul 2018 00:59:02 +0000 Received: from localhost ([127.0.0.1]:48653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgJl8-00079R-7E for submit@debbugs.gnu.org; Thu, 19 Jul 2018 20:59:02 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:35285) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgJl6-000792-Ci; Thu, 19 Jul 2018 20:59:00 -0400 Received: by mail-it0-f66.google.com with SMTP id q20-v6so12483579ith.0; Thu, 19 Jul 2018 17:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=iyXt4Mt2Up9hPxiCBwFbxJHXcaO5o8R88cJfBQYkyWA=; b=Dxhv0ImWSpDF5cWKaG1ibXYBsjASZqgHuuWV18nk25e5LOU9cjiCyO2/3wkCR2HEGV 0+1wf0IuOqluT27cais0j3rv4vApeoIhA2tlqJeCw2a9SfzZibthyn1RV/auJLB3PsJm ck2IJjGvvXc/uf5Tix08sQfAJjcoROXKMfEksOuFagqf7nXFu0dLHo1yOeiD76qc1Q5m 2SOrzO2TACr8USNjtGd7oRRSs5f2OcfN6VQpAbEGqh6G1RZ/IpZzMSHOgu62GuezGxeI P3/+soJ+JQIdlQxEp25/QbdDTHA5XbqM9kGliwJ0gnJ4YdTlw5qmTwWAuj78WMV1KFeG XXbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=iyXt4Mt2Up9hPxiCBwFbxJHXcaO5o8R88cJfBQYkyWA=; b=EngZFWC9LssMvIqG2Opg2ZOtAqlS96/AbQAhj8SlHprh4l0RNyRLGBHGWeWkLcf1P3 UAYw9ckzX3fifiQcuoAalyYdPt52BWAr0VBf8gXqUYPPpBuI/mM4vXBYaa5cLqWTJYZ5 3h/G++tefsdJynF3jmHxLIMokG1+uYWQ6Gmcvz0PEx01YeOq3bUguWUUtNVowX3loOi+ lHuAXlJtXnXJrwVmu6PLWGqhTbKiJSIkHwIzQIBBjZ4nBd7qXAASK84ICusQAZ/eBVS6 fY23TuwJpAUGjTS9iE9xqd2BDhiwG8LUlSwUmuu5LyMzneGjuqOntOwtksalRijT+pJ/ DEaw== X-Gm-Message-State: AOUpUlFkAOah+qFDVi35p5TP6/GIGdFJn6/f6W9AXfqpCzX5X0oOgx5A 3V8ygeFA+lMg1CUHt2RO8TkJe9HR X-Google-Smtp-Source: AAOMgpcOFtqP6Sv1Q/ErLJbnR66nl2U1T7Ewzp2eWD4W/v8g2e7nI6asERaE+Ct6m/tITVt4Zbtarw== X-Received: by 2002:a02:97ef:: with SMTP id v44-v6mr11784687jaj.126.1532048334451; Thu, 19 Jul 2018 17:58:54 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id v137-v6sm1534582ita.2.2018.07.19.17.58.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Jul 2018 17:58:53 -0700 (PDT) From: Noam Postavsky To: Drew Adams Subject: Re: bug#32212: 26; `subword-mode' doc string shows empty key-binding list References: Date: Thu, 19 Jul 2018 20:58:52 -0400 In-Reply-To: (Drew Adams's message of "Thu, 19 Jul 2018 08:10:57 -0700 (PDT)") Message-ID: <87effy7mer.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 32212 Cc: 32212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) found 32212 25.1 severity 32212 minor tags 32212 + confirmed quit Drew Adams writes: > emacs -Q > > C-h f subword-mode > > You see this at the end of buffer *Help*: > > key binding > --- ------- > > > It's not just about this appearing before the library is loaded. > Loading the library does not populate the list of keys and their > bindings. You always get such a heading, with no keys shown. Seems to be a regression in 25.1, in 24.5 I see key binding --- ------- Prefix Command subword-backward-kill subword-backward subword-capitalize subword-downcase subword-forward subword-kill subword-left subword-mark subword-right subword-transpose subword-upcase From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 03:01:19 2018 Received: (at 32212) by debbugs.gnu.org; 20 Jul 2018 07:01:19 +0000 Received: from localhost ([127.0.0.1]:48745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgPPi-00031l-Ok for submit@debbugs.gnu.org; Fri, 20 Jul 2018 03:01:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgPPf-00031W-ML for 32212@debbugs.gnu.org; Fri, 20 Jul 2018 03:01:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgPPV-00025n-L8 for 32212@debbugs.gnu.org; Fri, 20 Jul 2018 03:01:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgPPV-00025h-Gv; Fri, 20 Jul 2018 03:01:05 -0400 Received: from [176.228.60.248] (port=2504 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fgPPT-0000Mh-MB; Fri, 20 Jul 2018 03:01:04 -0400 Date: Fri, 20 Jul 2018 10:01:04 +0300 Message-Id: <83tvou1jdb.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: <87effy7mer.fsf@gmail.com> (message from Noam Postavsky on Thu, 19 Jul 2018 20:58:52 -0400) Subject: Re: bug#32212: 26; `subword-mode' doc string shows empty key-binding list References: <87effy7mer.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32212 Cc: 32212@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Noam Postavsky > Date: Thu, 19 Jul 2018 20:58:52 -0400 > Cc: 32212@debbugs.gnu.org > > > emacs -Q > > > > C-h f subword-mode > > > > You see this at the end of buffer *Help*: > > > > key binding > > --- ------- > > > > > > It's not just about this appearing before the library is loaded. > > Loading the library does not populate the list of keys and their > > bindings. You always get such a heading, with no keys shown. > > > Seems to be a regression in 25.1, in 24.5 I see > > key binding > --- ------- > > Prefix Command > > subword-backward-kill ISTR that the implementation changed radically, so perhaps this is the (unintended) consequence. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 20 04:38:28 2018 Received: (at 32212) by debbugs.gnu.org; 20 Jul 2018 08:38:28 +0000 Received: from localhost ([127.0.0.1]:48781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgQvk-0005Fr-Jx for submit@debbugs.gnu.org; Fri, 20 Jul 2018 04:38:28 -0400 Received: from mout.gmx.net ([212.227.17.20]:33471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgQvi-0005Fd-Pb for 32212@debbugs.gnu.org; Fri, 20 Jul 2018 04:38:27 -0400 Received: from rosalinde ([178.6.211.58]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MW9TR-1fVEcV2K9B-00XHOP; Fri, 20 Jul 2018 10:38:18 +0200 From: Stephen Berman To: Eli Zaretskii Subject: Re: bug#32212: 26; `subword-mode' doc string shows empty key-binding list References: <87effy7mer.fsf@gmail.com> <83tvou1jdb.fsf@gnu.org> Date: Fri, 20 Jul 2018 10:38:17 +0200 In-Reply-To: <83tvou1jdb.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 20 Jul 2018 10:01:04 +0300") Message-ID: <87r2jyjo92.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:a6D/vJgHdWDtksFjq7yKPsX9CSe5lIw0ot1LnLNNJZ79gTLVG+s VBkN+vS+uYULHlvYUPY1bAIttXkwWCf1ZXsZ4DHSXSS51WMUSm0sGhV4V3C6TemVz/HtwzG sfkM8oBmUIXJLNFotiuUuKtEqLJtTEHEV3etT4qNSwRxZkDFZ2+eOxzuTTJ8IvC04zbeCmP 0/U3CDtNCnYUG3jdDfu3Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:i+F4kZ3ESl4=:/qB/2udcVhHM0FTFGk1vzi Cerv04hwcQQHJ1obL+OYuvYKxbyCwHFf8R8T8PigbUr8/djivWp0uaFS9CguJlV5aYfecJC5Q WtsIP5NOHgzmweFvvVG4BOxj2XzjlBTXr+sbPtv9eiZprNoc2SyBEYkvGHZML3NMv3lUYQJtQ WkUapq8DojWJq5Hmkp8WnFaty9lDatr5SGbWAk2TlQhhlNqC8rwB1o2ONh3LvcT+0UqReY8Ya g8uO56OSIPa2Y3qyGizfqufjht1e6p/1uMFuybtTDwS4dhacqo6GoeXqnIIyCVIm4WTWT79ts U/tdu1EwOyWQI5sJHqzM8UWB0cdhH90DciCY9BSlosPEOV+zw4+5tmCrut/F88cpNCh7ic6rq BOoH2ZMc6K9HXuwfK4HURgHUQ4x4cLjLs1DWlF2/bEhj35xoWqw5OQmOO7euw1UBgAJw41vIF M+hJesOLzrCmgok+lhN2pNO/8WGCnRYa73qYV0aQsaJngU52p9cMahs5Fy4Br5QsfLMlQZh8I rUXXHwHJeJ9zPmmhW9ktbxeFCDi5JNlBLAfte1J1kum92yoF81ssda/8FCjcxg6vCH11JGDAp A9K3cZDHjY1up2EL5e49BboCoXJ3qDEVxiHhW2ADE9HBVM6a1iadrhahoCYGa5h0uO0I1X5dt zg1dd6ReIE8iNeLhSM8LQtxXYItv5W/bGKHBqTYRdp6305v8935LuHvHXdsp0HWitlkGgRXZ0 nbJvIjxE3GZF8Pjdx1KQtfGFxvcxiVCcnRAMBiWbdFEBogHylN+B7Z2sTbTzY8H7eS0L88Ll4 H6JlQ1m X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32212 Cc: Noam Postavsky , 32212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Fri, 20 Jul 2018 10:01:04 +0300 Eli Zaretskii wrote: >> From: Noam Postavsky >> Date: Thu, 19 Jul 2018 20:58:52 -0400 >> Cc: 32212@debbugs.gnu.org >> >> > emacs -Q >> > >> > C-h f subword-mode >> > >> > You see this at the end of buffer *Help*: >> > >> > key binding >> > --- ------- >> > >> > >> > It's not just about this appearing before the library is loaded. >> > Loading the library does not populate the list of keys and their >> > bindings. You always get such a heading, with no keys shown. >> >> >> Seems to be a regression in 25.1, in 24.5 I see >> >> key binding >> --- ------- >> >> Prefix Command >> >> subword-backward-kill > > ISTR that the implementation changed radically, so perhaps this is the > (unintended) consequence. Maybe due to this change: commit 6ddc44225e743e2b2a0d5c192f50aefd7a4a915b Author: Daniel Colascione Date: Sun Mar 23 00:36:26 2014 -0700 Merge capitalized-words-mode and subword-mode diff --git a/lisp/progmodes/subword.el b/lisp/progmodes/subword.el --- a/lisp/progmodes/subword.el +++ b/lisp/progmodes/subword.el @@ -104,12 +82,6 @@ (defvar subword-mode-map - (let ((map (make-sparse-keymap))) - (dolist (cmd '(forward-word backward-word mark-word kill-word - backward-kill-word transpose-words - capitalize-word upcase-word downcase-word - left-word right-word)) - (let ((othercmd (let ((name (symbol-name cmd))) - (string-match "\\([[:alpha:]-]+\\)-word[s]?" name) - (intern (concat "subword-" (match-string 1 name)))))) - (define-key map (vector 'remap cmd) othercmd))) - map) + ;; We originally remapped motion keys here, but now use Emacs core + ;; hooks. Leave this keymap around so that user additions to it + ;; keep working. + (make-sparse-keymap) "Keymap used in `subword-mode' minor mode.") Steve Berman From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 22 16:23:00 2018 Received: (at 32212) by debbugs.gnu.org; 22 Jul 2018 20:23:00 +0000 Received: from localhost ([127.0.0.1]:52718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhKse-0004xe-G4 for submit@debbugs.gnu.org; Sun, 22 Jul 2018 16:23:00 -0400 Received: from mail-io0-f174.google.com ([209.85.223.174]:40861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhKsd-0004xK-5Y; Sun, 22 Jul 2018 16:22:59 -0400 Received: by mail-io0-f174.google.com with SMTP id l14-v6so13930625iob.7; Sun, 22 Jul 2018 13:22:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=6zXUsrmsU82y6WA5qMHCj0Z5cH+Q5zYfSRyW9Lv1QGg=; b=EfUUwC4txKWM9LyAT7Dhlt/O/ccaehl/i/riLVW7XfMZfmC8foHdeoc5gQaqu1qCci ltaGyv5p2BGFve0bF3LArgaTAntihfi3FUz8eG84XdK2mNGi94hz1QvXUxQaVMjFkQCC GW9pcEnbPz4Z9huq5WZLMz7xO4D2e0h5yui/bRePBQ3ANKqy3y63JRL5qIfTvcEuSaSB MZVxaMJFdbsWIVubYu92Eu7DBN3f2kvCYFkJW2HxqdJ+/AeSjebr5HjTw+ieIOplOC/t 05OT57vCedCVwlKkbLrm19ueuPE8PuV19ZtFM8AYA5IdRTly2iF+3yKmrKMRJ4i3tQ6F BpvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=6zXUsrmsU82y6WA5qMHCj0Z5cH+Q5zYfSRyW9Lv1QGg=; b=czbLSZT4M6Gco+k9J5L2LbkZGZvPe5pQ0sanLTDhzYiODQimExG//qKmHILi9iPhMG pqp9xeG3/aHZ1lYdL8iqLM+SiDhliDwzDYWqVDZI4IWdZ/kja4tV5Gbit2WYzAu6KDlX lB/vBAh+BU9U3S13e8M7LSSrhDvCtUzPw7QbIWvb8CKDyWpeGemvbj59W4Zz7Ukd+pWV Y9A83K/eAQBUagH4Zfjt1YsjUtuWCjBBUsK7b4JV3iAbfum1vIYtVnLwKa6g1LOaAQtW v3Jy83atgjzUZDNbuAB3WMN4LctXlqelQDO9QX7Eu0mNUMCOnMFDTA7OmvuvsTXaLMef ji8A== X-Gm-Message-State: AOUpUlE8rn65OYHaU9wNcwlf8aKjLzsnQ+roBgbRolNpgBl3JnwYfgt7 MeMuyVz7fE8BuNPL2t3SJdZ3NR9v X-Google-Smtp-Source: AAOMgpcKWxrfW9EniDw4FM1NqcaJz9CmLc/D965UBCHF7jpXp6v9NGim4ghoxaVN0AKPjqbXFk1hMQ== X-Received: by 2002:a6b:8e07:: with SMTP id q7-v6mr7934136iod.169.1532290973559; Sun, 22 Jul 2018 13:22:53 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id z67-v6sm3844403itg.25.2018.07.22.13.22.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 22 Jul 2018 13:22:52 -0700 (PDT) From: Noam Postavsky To: Stephen Berman Subject: Re: bug#32212: 26; `subword-mode' doc string shows empty key-binding list References: <87effy7mer.fsf@gmail.com> <83tvou1jdb.fsf@gnu.org> <87r2jyjo92.fsf@gmx.net> Date: Sun, 22 Jul 2018 16:22:51 -0400 In-Reply-To: <87r2jyjo92.fsf@gmx.net> (Stephen Berman's message of "Fri, 20 Jul 2018 10:38:17 +0200") Message-ID: <874lgr58bo.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32212 Cc: Eli Zaretskii , 32212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain tags 32212 + patch quit Stephen Berman writes: > Maybe due to this change: > (defvar subword-mode-map > - (let ((map (make-sparse-keymap))) > - (dolist (cmd '(forward-word backward-word mark-word kill-word > - backward-kill-word transpose-words > - capitalize-word upcase-word downcase-word > - left-word right-word)) > - (let ((othercmd (let ((name (symbol-name cmd))) > - (string-match "\\([[:alpha:]-]+\\)-word[s]?" name) > - (intern (concat "subword-" (match-string 1 name)))))) > - (define-key map (vector 'remap cmd) othercmd))) > - map) > + ;; We originally remapped motion keys here, but now use Emacs core > + ;; hooks. Leave this keymap around so that user additions to it > + ;; keep working. > + (make-sparse-keymap) Aha, then we should just remove it from the docstring, right? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Omit-keymap-from-subword-mode-docstring-Bug-32212.patch Content-Description: patch >From 6fd80dcf0fc6261de80c130fb535ad334858cbf3 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Sun, 22 Jul 2018 16:15:43 -0400 Subject: [PATCH] Omit keymap from subword-mode docstring (Bug#32212) * lisp/progmodes/subword.el (subword-mode): Remove listing of subword-mode-map bindings, since it is empty as of 2014-03-23 "Merge capitalized-words-mode and subword-mode". --- lisp/progmodes/subword.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/progmodes/subword.el b/lisp/progmodes/subword.el index cbaa273a7a..c09ba37c85 100644 --- a/lisp/progmodes/subword.el +++ b/lisp/progmodes/subword.el @@ -113,9 +113,7 @@ subword-mode NSGraphicsContext => \"NS\", \"Graphics\" and \"Context\" This mode changes the definition of a word so that word commands -treat nomenclature boundaries as word boundaries. - -\\{subword-mode-map}" +treat nomenclature boundaries as word boundaries." :lighter " ," (when subword-mode (superword-mode -1)) (subword-setup-buffer)) -- 2.11.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 22 18:36:46 2018 Received: (at 32212) by debbugs.gnu.org; 22 Jul 2018 22:36:46 +0000 Received: from localhost ([127.0.0.1]:52779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhMy6-0003lC-KG for submit@debbugs.gnu.org; Sun, 22 Jul 2018 18:36:46 -0400 Received: from smtp-3.orcon.net.nz ([60.234.4.44]:51790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhMy4-0003l1-FV for 32212@debbugs.gnu.org; Sun, 22 Jul 2018 18:36:45 -0400 Received: from [10.253.37.70] (port=1367 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1fhMxz-0006Bb-MR; Mon, 23 Jul 2018 10:36:39 +1200 Received: from wlgwil-nat-office.catalyst.net.nz ([202.78.240.7]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Mon, 23 Jul 2018 10:36:39 +1200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 23 Jul 2018 10:36:39 +1200 From: Phil Sainty To: Noam Postavsky Subject: Re: bug#32212: 26; `subword-mode' doc string shows empty key-binding list In-Reply-To: <874lgr58bo.fsf@gmail.com> References: <87effy7mer.fsf@gmail.com> <83tvou1jdb.fsf@gnu.org> <87r2jyjo92.fsf@gmx.net> <874lgr58bo.fsf@gmail.com> Message-ID: <709db299cf7a15791e4f342e2efa4993@webmail.orcon.net.nz> X-Sender: psainty@orcon.net.nz User-Agent: Orcon Webmail X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32212 Cc: Stephen Berman , 32212@debbugs.gnu.org, bug-gnu-emacs X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 2018-07-23 08:22, Noam Postavsky wrote: > Aha, then we should just remove it from the docstring, right? Would it be better if the \\{some-keymap} substitution handled the case where there were no bindings, and printed nothing? That would then account for edge-cases where users add custom bindings to a previously-empty keymap, or clobber a populated keymap entirely. -Phil From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 22 21:02:07 2018 Received: (at 32212) by debbugs.gnu.org; 23 Jul 2018 01:02:07 +0000 Received: from localhost ([127.0.0.1]:52877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhPEj-0007Df-UJ for submit@debbugs.gnu.org; Sun, 22 Jul 2018 21:02:07 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:34254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhPEh-0007D9-U3 for 32212@debbugs.gnu.org; Sun, 22 Jul 2018 21:02:04 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6N0xjKD046025; Mon, 23 Jul 2018 01:01:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=d381Xh4lqexkfMGiR80v7NB8JhBgwpoUug/QphUY6Sc=; b=T3tPCH0j5uc32x/x/szlAqquHWfOmKWkOfCtm3omEXuyrgaTSIzWrFuKUy+EJpNm5fUT 4ZRaQ6Z+JlQOC9AqwZPxQvs0RW1gt3AeW3ujgCXMQwGwvpIzGEs0AlIMA3ErOsuBzbbq 1PdrZ1WxWBTY0Zfo9twdhyPZwvRQ80MxnfI0S1ILzNDk/exGeThPh8QfMBohbm2uRPkW KSldzOkKaT6ZSS3fMbihFJhQDk70EEiII31x9IRuJv8htYMap06RxbWJIO9xpFIfCQx1 mtNdYDk8GTuxcMdDi02AgcHnfmLwzwqGWoW4dyo3EfzPoPBOd2qgEyI6PDz7unMjCaJX 4g== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2120.oracle.com with ESMTP id 2kbvsnjf5e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 23 Jul 2018 01:01:57 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w6N11uQD014841 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 23 Jul 2018 01:01:57 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w6N11tMr020880; Mon, 23 Jul 2018 01:01:56 GMT MIME-Version: 1.0 Message-ID: <1fd3e236-7840-4115-bce8-a5d9201af2ce@default> Date: Sun, 22 Jul 2018 18:01:54 -0700 (PDT) From: Drew Adams To: Phil Sainty , Noam Postavsky Subject: RE: bug#32212: 26; `subword-mode' doc string shows empty key-binding list References: <87effy7mer.fsf@gmail.com> <83tvou1jdb.fsf@gnu.org> <87r2jyjo92.fsf@gmx.net> <874lgr58bo.fsf@gmail.com> <709db299cf7a15791e4f342e2efa4993@webmail.orcon.net.nz> In-Reply-To: <709db299cf7a15791e4f342e2efa4993@webmail.orcon.net.nz> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4717.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8962 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=867 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807230009 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32212 Cc: Stephen Berman , 32212@debbugs.gnu.org, bug-gnu-emacs X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > Aha, then we should just remove it from the docstring, right? >=20 > Would it be better if the \\{some-keymap} substitution handled the > case where there were no bindings, and printed nothing? No. A doc string can introduce the list of bindings any way its author wants. We cannot predict what text might precede or follow the text \\{some-keymap}. We already handle the case where the keymap is not defined at all, by substituting this particular text: Uses keymap 'foo-map', which is not currently defined. And that's not ideal either, because it, like your suggestion (but in a different way) assumes something about the surrounding context. (defvar foo-map (make-keymap) "...")=20 (defun foo () "The key bindings are: \\{foo-map} For more info..." 42) `C-h f foo' ,---- | foo is a Lisp function in `...'. |=20 | (foo) |=20 | The key bindings are: |=20 | key binding | --- ------- |=20 |=20 | For more info... `---- (makunbound 'foo-map) `C-h f foo' ,---- | foo is a Lisp function in `...'. |=20 | (foo) |=20 | The key bindings are: |=20 |=20 | Uses keymap 'foo-map', which is not currently defined. |=20 | For more info... `---- With your suggestion: ,---- | foo is a Lisp function in `...'. |=20 | (foo) |=20 | The key bindings are: |=20 |=20 | For more info... `---- > That would then account for edge-cases where users add custom > bindings to a previously-empty keymap, or clobber a populated keymap > entirely. I think what we have now is clearest for such cases. It indicates that (1) the keymap is defined and (2) it is empty - it has no defined bindings. Printing nothing is much less clear, I think. Arguably, the no-keymap case could be handled a bit better. It might not be clear to users just what "not currently defined" is supposed to mean. It might be more accurate to say that the function uses `foo-map', which is not a variable whose value is a keymap. (Although the "currently" in the message now presumably hints that it might become defined when a file is loaded or some other initialization is done. That's useful.) From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 22 22:26:51 2018 Received: (at 32212) by debbugs.gnu.org; 23 Jul 2018 02:26:51 +0000 Received: from localhost ([127.0.0.1]:52939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhQYl-0000lK-4F for submit@debbugs.gnu.org; Sun, 22 Jul 2018 22:26:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhQYj-0000l5-H8 for 32212@debbugs.gnu.org; Sun, 22 Jul 2018 22:26:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhQYa-0004Gd-FK for 32212@debbugs.gnu.org; Sun, 22 Jul 2018 22:26:44 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhQYa-0004GZ-By; Sun, 22 Jul 2018 22:26:40 -0400 Received: from [176.228.60.248] (port=1695 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fhQYZ-0002ej-MR; Sun, 22 Jul 2018 22:26:40 -0400 Date: Mon, 23 Jul 2018 05:26:45 +0300 Message-Id: <83in56wuu2.fsf@gnu.org> From: Eli Zaretskii To: Noam Postavsky In-reply-to: <874lgr58bo.fsf@gmail.com> (message from Noam Postavsky on Sun, 22 Jul 2018 16:22:51 -0400) Subject: Re: bug#32212: 26; `subword-mode' doc string shows empty key-binding list References: <87effy7mer.fsf@gmail.com> <83tvou1jdb.fsf@gnu.org> <87r2jyjo92.fsf@gmx.net> <874lgr58bo.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32212 Cc: stephen.berman@gmx.net, 32212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Noam Postavsky > Cc: Eli Zaretskii , 32212@debbugs.gnu.org > Date: Sun, 22 Jul 2018 16:22:51 -0400 > > Aha, then we should just remove it from the docstring, right? SGTM, thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 00:15:31 2018 Received: (at 32212) by debbugs.gnu.org; 23 Jul 2018 04:15:31 +0000 Received: from localhost ([127.0.0.1]:52966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhSFv-0003Dr-79 for submit@debbugs.gnu.org; Mon, 23 Jul 2018 00:15:31 -0400 Received: from smtp-3.orcon.net.nz ([60.234.4.44]:42559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhSFt-0003Dj-ET for 32212@debbugs.gnu.org; Mon, 23 Jul 2018 00:15:30 -0400 Received: from [10.253.37.70] (port=56001 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1fhSFm-00014x-TW; Mon, 23 Jul 2018 16:15:23 +1200 Received: from wlgwil-nat-office.catalyst.net.nz ([202.78.240.7]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Mon, 23 Jul 2018 16:15:22 +1200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 23 Jul 2018 16:15:22 +1200 From: Phil Sainty To: Drew Adams Subject: Re: bug#32212: 26; `subword-mode' doc string shows empty key-binding list In-Reply-To: <1fd3e236-7840-4115-bce8-a5d9201af2ce@default> References: <87effy7mer.fsf@gmail.com> <83tvou1jdb.fsf@gnu.org> <87r2jyjo92.fsf@gmx.net> <874lgr58bo.fsf@gmail.com> <709db299cf7a15791e4f342e2efa4993@webmail.orcon.net.nz> <1fd3e236-7840-4115-bce8-a5d9201af2ce@default> Message-ID: X-Sender: psainty@orcon.net.nz User-Agent: Orcon Webmail X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32212 Cc: Stephen Berman , bug-gnu-emacs , Noam Postavsky , 32212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 2018-07-23 13:01, Drew Adams wrote: >> Would it be better if the \\{some-keymap} substitution handled the >> case where there were no bindings, and printed nothing? > > No. A doc string can introduce the list of bindings any > way its author wants. We cannot predict what text might > precede or follow the text \\{some-keymap}. Ah, yes, agreed -- a search shows quite a variety of such introductory phrases: "The following key bindings are currently in effect in the buffer:" "Customized bindings may be defined in `ielm-map', which currently contains:" "The following commands are available:" "In addition to Emacs-Lisp Mode, the following commands are available:" "Keys specific to Follow mode:" "Instead these commands are provided:" "In the browser, use the following keys:" "Key bindings:" "Special commands:" "The keymap for this second window is:" "Commands:" "Tree mode key bindings:" "Key definitions:" "Commands:" "Here are all keybindings." etc, etc... I think there's a lot of unnecessary inconsistency here which would probably benefit from a common phrasing. That could feasibly be provided via an alternative variant of the \\{...} syntax (at which point it could make more sense to include some automated variations for edge cases), but that all sounds like more trouble than it's worth, so I'm not really suggesting that this should be done (even if it strikes me as a "nice to have"). -Phil From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 00:20:09 2018 Received: (at 32212) by debbugs.gnu.org; 23 Jul 2018 04:20:09 +0000 Received: from localhost ([127.0.0.1]:52971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhSKO-0003KX-P9 for submit@debbugs.gnu.org; Mon, 23 Jul 2018 00:20:08 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:54540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhSKM-0003Js-Dt for 32212@debbugs.gnu.org; Mon, 23 Jul 2018 00:20:06 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w6N4IpAE165981; Mon, 23 Jul 2018 04:20:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=LGtovWiArSAZ/P1sfKY9DqFJtxX8ZGL3Xh0to6Osx64=; b=ACBqO7Mh87eQkqOwMXl64t6ZJfZQ1sGRiIzMmbzPgWBOE3RzWkxee41d5HKIafGeg25A XDPZEo8PXzhnRqryVUTq3x4yzc6XYGnSrEru9GHjR9dGQgDwhv34uRCIXqFPDkfJB145 /lmhINQ5ENh6C4SBs3IrQtzn9jWQhvKZsoUA41W/4oK/BgAgXbCzqbwGNPFZUj2ixnmW kUTQom/spncN1Rixat41T2czcVsdaE12v3i3rU+O7KwoPq1yVArYxhCybSPH/FyBYwEf IbStQCgi3doFFnLdrpvB9EwV7r/kRyQ10pPmKfN8aCYiT1FQh0FyaLSsBjBr9eesPl2J +A== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2130.oracle.com with ESMTP id 2kbtbcjxr6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 23 Jul 2018 04:20:00 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w6N4Jwlf027730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 23 Jul 2018 04:19:59 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w6N4JwLK028465; Mon, 23 Jul 2018 04:19:58 GMT MIME-Version: 1.0 Message-ID: Date: Sun, 22 Jul 2018 21:19:55 -0700 (PDT) From: Drew Adams To: Phil Sainty Subject: RE: bug#32212: 26; `subword-mode' doc string shows empty key-binding list References: <87effy7mer.fsf@gmail.com> <83tvou1jdb.fsf@gnu.org> <87r2jyjo92.fsf@gmx.net> <874lgr58bo.fsf@gmail.com> <709db299cf7a15791e4f342e2efa4993@webmail.orcon.net.nz> <1fd3e236-7840-4115-bce8-a5d9201af2ce@default> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4717.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8962 signatures=668706 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807230050 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 32212 Cc: Stephen Berman , bug-gnu-emacs , Noam Postavsky , 32212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > >> Would it be better if the \\{some-keymap} substitution handled the > >> case where there were no bindings, and printed nothing? > > > > No. A doc string can introduce the list of bindings any > > way its author wants. We cannot predict what text might > > precede or follow the text \\{some-keymap}. >=20 > Ah, yes, agreed -- a search shows quite a variety of such introductory > phrases:... >=20 > I think there's a lot of unnecessary inconsistency here which would > probably benefit from a common phrasing. That could feasibly be > provided via an alternative variant of the \\{...} syntax (at which > point it could make more sense to include some automated variations > for edge cases), but that all sounds like more trouble than it's > worth, so I'm not really suggesting that this should be done (even > if it strikes me as a "nice to have"). Agreed on all counts. Except that before thinking about variants of \\{...} (YAGNI), I'd say that if you think such inconsistency is really a problem then the best fix is to suggest a convention to users in the manual. (But I don't think such inconsistency is a problem.) From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 23 08:23:09 2018 Received: (at 32212) by debbugs.gnu.org; 23 Jul 2018 12:23:09 +0000 Received: from localhost ([127.0.0.1]:53159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhZrp-000077-2x for submit@debbugs.gnu.org; Mon, 23 Jul 2018 08:23:09 -0400 Received: from mail-io0-f179.google.com ([209.85.223.179]:40063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fhZrn-000069-CB; Mon, 23 Jul 2018 08:23:07 -0400 Received: by mail-io0-f179.google.com with SMTP id l14-v6so351273iob.7; Mon, 23 Jul 2018 05:23:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=rbqcQXKR5y+HaLmbVdbz3D2Wpo9PcAciAzzvHpuc2Zg=; b=dR4QdYLHDHOpBc9f6jHQCSHrqWf7FzZubI2Sny2MSUZGZRMEpPzjDMuOvM5Q2KOMCR xunBNnPegH11YvSlu2CZyWB0GMJROapKGAXsM3NGtKzO1bq6InMasDbykXXcuGjl9Enn G8fmYup8hjcDOxnBcVZ+r2lHcFWG8pmRuiKQDtIwcRV8R3QvKPqFkCoa0M1GM0xKL2La /h9eALswLHPiM2dHb5f9KESgSP2XIffouiK6iyHUFHx881rjeQjFUih7vNMLPoyTS8HS mcn1EcFycOFI/X0d8OFJMvO+Kqyc7zSI1EdypXenYhBDU+DPNjbxhE0pKBkZssGWHO7y Mw/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=rbqcQXKR5y+HaLmbVdbz3D2Wpo9PcAciAzzvHpuc2Zg=; b=F35EFI11URCV1q3Cj524iQb0rq0MMHgfp0lKa8pNFKUS2E+Dd6Cp0axKKZFiXNqLEb 1Reb3nmqbVl7ymiknS5R7Ss7voRs8SCIrRCZk7/XOlkCSAWibF8F2W7SmOG9BupLEoyj EKMnmwI0M3WucLdvNtVfyzwwb6rw9gwCmsFH1j3/ksXlr1uCLOd70002Qll1jokVMkOI WUbpagVrdrhoM9+CzkUqxPzsb/DTyI+ijALkVv/HuE2L8Jh66dZb+slKXRsmAE74JoV+ 4lyyG91HVe40mP2ZkutPHN+GTgMEcC/a/9oinQJ6RlebwFoPbNYVuFm2xEwJvM5q83Nb H9lg== X-Gm-Message-State: AOUpUlGUPpB2TbgAnqOlm3QNKZN3qn9EHly+6Y5OHLDpoeT2rAelVJS8 AFriurlA4SmUlNxV9qXVV9tbBxGA X-Google-Smtp-Source: AAOMgpfJSE2F0/0VaRj3+EWmQaPmT87V9GWlVcnxl8NzbOmdw23HK9JSxvkYOVwrl5rSKnGGkGROXQ== X-Received: by 2002:a5e:c017:: with SMTP id u23-v6mr1021852iol.155.1532348581920; Mon, 23 Jul 2018 05:23:01 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id v5-v6sm4682086ite.20.2018.07.23.05.23.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 05:23:01 -0700 (PDT) From: Noam Postavsky To: Eli Zaretskii Subject: Re: bug#32212: 26; `subword-mode' doc string shows empty key-binding list References: <87effy7mer.fsf@gmail.com> <83tvou1jdb.fsf@gnu.org> <87r2jyjo92.fsf@gmx.net> <874lgr58bo.fsf@gmail.com> <83in56wuu2.fsf@gnu.org> Date: Mon, 23 Jul 2018 08:22:59 -0400 In-Reply-To: <83in56wuu2.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 23 Jul 2018 05:26:45 +0300") Message-ID: <87wotm3zvg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32212 Cc: stephen.berman@gmx.net, 32212@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 32212 fixed close 32212 26.2 quit Eli Zaretskii writes: >> From: Noam Postavsky >> Cc: Eli Zaretskii , 32212@debbugs.gnu.org >> Date: Sun, 22 Jul 2018 16:22:51 -0400 >> >> Aha, then we should just remove it from the docstring, right? > > SGTM, thanks. Done in emacs-26. [1: 1208aaa989]: 2018-07-23 08:20:07 -0400 Omit keymap from subword-mode docstring (Bug#32212) https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=1208aaa9893700292693a6b85ae7d1abdb0460ef From unknown Sun Jun 15 08:38:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 21 Aug 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator