From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 14 12:20:36 2016 Received: (at submit) by debbugs.gnu.org; 14 Jul 2016 16:20:36 +0000 Received: from localhost ([127.0.0.1]:51636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNjNM-0005LH-CS for submit@debbugs.gnu.org; Thu, 14 Jul 2016 12:20:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58247) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNjNL-0005L4-8e for submit@debbugs.gnu.org; Thu, 14 Jul 2016 12:20:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNjNB-0000MW-UM for submit@debbugs.gnu.org; Thu, 14 Jul 2016 12:20:30 -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.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNjNB-0000MN-R0 for submit@debbugs.gnu.org; Thu, 14 Jul 2016 12:20:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNjNA-0007cN-LF for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 12:20:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNjN4-0000Lr-Kn for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 12:20:22 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46178) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNjN4-0000Lj-HK; Thu, 14 Jul 2016 12:20:18 -0400 Received: from mail-oi0-f51.google.com ([209.85.218.51]:34393) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bNjN3-0005xY-33; Thu, 14 Jul 2016 12:20:17 -0400 Received: by mail-oi0-f51.google.com with SMTP id l65so38657858oib.1; Thu, 14 Jul 2016 09:20:17 -0700 (PDT) X-Gm-Message-State: ALyK8tIjZIxdhaAThyDxjc/XX5OdB9dKE2uiSwjCkKVAP5cchVeSMNFwVyvwThneX+BPD8YVF8rO4HGyJUXuFw== X-Received: by 10.157.21.1 with SMTP id u1mr9135746otf.143.1468513216448; Thu, 14 Jul 2016 09:20:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.199.143 with HTTP; Thu, 14 Jul 2016 09:19:46 -0700 (PDT) From: Robert Weiner Date: Thu, 14 Jul 2016 12:19:46 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Emacs 25.0.94: FEATURE ADDITION: Texinfo environment movement commands To: bug-gnu-emacs@gnu.org, bug-texinfo@gnu.org Content-Type: multipart/mixed; boundary=94eb2c1920469d73d505379ae0c3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) 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: , Reply-To: rswgnu@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) --94eb2c1920469d73d505379ae0c3 Content-Type: text/plain; charset=UTF-8 The attached patch adds movement commands for texinfo-mode that move between the start and end of single-level environments (things that end with an @end line), e.g. @table. (define-key map "\C-c." 'texinfo-to-environment-bounds) - when within an environment, moves between the start and end lines (define-key map "\C-c\C-c\C-f" 'texinfo-next-environment-end) - from anywhere, moves to the next end line of an environment (define-key map "\C-c\C-c\C-b" 'texinfo-previous-environment-end) - from anywhere, moves to the previous end line of an environment (define-key map "\C-c\C-c\C-n" 'texinfo-next-environment-start) - from anywhere, moves to the next start line of an environment (define-key map "\C-c\C-c\C-p" 'texinfo-previous-environment-start) - from anywhere, moves to the previous start line of an environment See attached for the patch. --94eb2c1920469d73d505379ae0c3 Content-Type: application/octet-stream; name="texinfo.el.patch" Content-Disposition: attachment; filename="texinfo.el.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iqmin1dd0 KioqIHRleGluZm8tb3JpZy5lbAkyMDE2LTA3LTE0IDEyOjA2OjA4LjAwMDAwMDAwMCAtMDQwMAot LS0gdGV4aW5mby5lbAkJMjAxNi0wNy0xNCAxMjowNjowOC4wMDAwMDAwMDAgLTA0MDAKKioqKioq KioqKioqKioqCioqKiA0ODAsNDg1ICoqKioKLS0tIDQ4MCw0OTIgLS0tLQogICAgICAoZGVmaW5l LWtleSBtYXAgIlxDLWNcQy1jZSIgICAgJ3RleGluZm8taW5zZXJ0LUBlbmQpCiAgICAgIChkZWZp bmUta2V5IG1hcCAiXEMtY1xDLWNkIiAgICAndGV4aW5mby1pbnNlcnQtQGRmbikKICAgICAgKGRl ZmluZS1rZXkgbWFwICJcQy1jXEMtY2MiICAgICd0ZXhpbmZvLWluc2VydC1AY29kZSkKKyAKKyAg ICAgOzsgYmluZGluZ3MgZm9yIGVudmlyb25tZW50IG1vdmVtZW50CisgICAgIChkZWZpbmUta2V5 IG1hcCAiXEMtYy4iICAgICAgICAndGV4aW5mby10by1lbnZpcm9ubWVudC1ib3VuZHMpCisgICAg IChkZWZpbmUta2V5IG1hcCAiXEMtY1xDLWNcQy1mIiAndGV4aW5mby1uZXh0LWVudmlyb25tZW50 LWVuZCkKKyAgICAgKGRlZmluZS1rZXkgbWFwICJcQy1jXEMtY1xDLWIiICd0ZXhpbmZvLXByZXZp b3VzLWVudmlyb25tZW50LWVuZCkKKyAgICAgKGRlZmluZS1rZXkgbWFw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SAwKQorIAkobG9va2luZy1hdCAiXkBlbmQiKSkKKyAgICAgICAoZm9yd2FyZC1saW5lIDAp KSkKKyAKKyAoZGVmdW4gdGV4aW5mby1wcmV2aW91cy1lbnZpcm9ubWVudC1lbmQgKCkKKyAgICJN b3ZlIGJhY2t3YXJkIHRvIHRoZSBiZWdpbm5pbmcgb2YgdGhlIG5leHQgQGVuZCBsaW5lIG9mIGEg VGV4aW5mbyBlbnZpcm9ubWVudC4iCisgICAoaW50ZXJhY3RpdmUpCisgICAod2hpbGUgKGFuZCAo cmUtc2VhcmNoLWJhY2t3YXJkIHRleGluZm8tZW52aXJvbm1lbnQtcmVnZXhwIG5pbCB0KQorIAkg ICAgICAoc2F2ZS1leGN1cnNpb24KKyAJCShnb3RvLWNoYXIgKG1hdGNoLWJlZ2lubmluZyAwKSkK KyAJCShub3QgKGxvb2tpbmctYXQgIkBlbmQiKSkpKSkpCisgCiAgKHByb3ZpZGUgJ3RleGluZm8p CiAgCiAgOzs7IHRleGluZm8uZWwgZW5kcyBoZXJlCg== --94eb2c1920469d73d505379ae0c3-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 14 12:52:49 2016 Received: (at submit) by debbugs.gnu.org; 14 Jul 2016 16:52:49 +0000 Received: from localhost ([127.0.0.1]:51651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNjsX-0006LI-Go for submit@debbugs.gnu.org; Thu, 14 Jul 2016 12:52:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNjsV-0006L6-Qt for submit@debbugs.gnu.org; Thu, 14 Jul 2016 12:52:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNjsP-00080x-SV for submit@debbugs.gnu.org; Thu, 14 Jul 2016 12:52:42 -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,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNjsP-00080s-P3 for submit@debbugs.gnu.org; Thu, 14 Jul 2016 12:52:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNjsO-0008Th-J0 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 12:52:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNjsL-00080I-7x for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 12:52:40 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:59716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNjsK-000806-U4 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 12:52:37 -0400 Received: from [192.168.1.82] ([109.24.225.43]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0MXCaX-1br9EM3IDV-00WCNA for ; Thu, 14 Jul 2016 18:52:35 +0200 Subject: Re: bug#23985: Emacs 25.0.94: FEATURE ADDITION: Texinfo environment movement commands To: bug-gnu-emacs@gnu.org References: From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Message-ID: <5787C353.5000706@gmail.com> Date: Thu, 14 Jul 2016 18:52:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HFlKxXOaTI7OQmKIBI6fKs5EAxriVDQ9R" X-Provags-ID: V03:K0:WstadCtwrmbxAl/v0u3pif4bO425R8aNZ+uQ6Yf0Da2lPMzU6xm AO/QGL6H3RKLKFeJG46ZdWMLU4fhV2HYUpQCC5s7hfeWlVZycsrbc5oq9AlqBV3gJvjl1gH QCDVTks8xTuvZuiBSEYp+vIMiHNPnOf/G40u6NYpYrOTIn2Cx8WxuTYRqkEqF0SpoLEjZnn Vp0O3Hs6Mgcuq5cKl3qLg== X-UI-Out-Filterresults: notjunk:1;V01:K0:XOS5dR3n63I=:d8v7S/LeNxUwTR/JcTAcm/ wBBMUgyDYNUf65baZXhkCsKEdI2SsU8HNsnTQdQeTc29TWf84HPnT5J3oa4og7DhxJBp+37tX uutovjQp+8SngMJghFaCI6FwjNEcekdPUsvX2xVTFU2dIXN4F/x/VbFCN8+p75NOOE/BZbNMu aYjaGVu1Ym3iONaRZ3qqhuv3kAAKQaI07ph2kV0lejk0IYhEdUFqkYKYmWDrDiEj/2ZDUqtlk n16xiPE4OCXT0/zo8CB0zjVRwD0sDRasQMRzTQQDhsjCHk8KMAyugw8PsekepzOegbGiQUomI o5YlMzi9KebhiRUTDtCEIeSpDXSfcOlm7Fpoiq/A64dgRc9A+os7DFPKB9QexAKrQzSvBNwGX 5I91DHYY1FPtjLLwNSFzmeOxUz/nqfUyRl/5/5BaAY6wPy4pO9LEtsTF1bfPwc5YM1o/GfYvM eKSsrcWcJKVOa6KhiRdNq+j13LzAwjws+nV1G7IgIeLp28BM/kMqoZrGnUQmX7BjGmL6HQ75P bbJ2I5XeNr1rC05lqx/UVVKTEv1LCk/RziJ+37RKqTVmIWgY8lafNaWCM8qsHvrxmQ3+PiAbm 2yz0AL11JRaCb0ST35zZ/sIWgL2+p5vzZ0kXRlg6o48i+sW8EwodacIkjiKouwJ0n2iwj/yDu Yn35HZ+pNv9Bn66KQYTqKRWB5+/CInx3+uxbsu7ogJcSAs5Awk3zBQTcbWqa9nrRrsk4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: -4.0 (----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HFlKxXOaTI7OQmKIBI6fKs5EAxriVDQ9R Content-Type: multipart/mixed; boundary="O7E6IbqdtFh0EWBnsLc9r43TEE81eUqaw" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: bug-gnu-emacs@gnu.org Message-ID: <5787C353.5000706@gmail.com> Subject: Re: bug#23985: Emacs 25.0.94: FEATURE ADDITION: Texinfo environment movement commands References: In-Reply-To: --O7E6IbqdtFh0EWBnsLc9r43TEE81eUqaw Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Neat! What about C-c C-f/b/n/p insteaf of C-c C-c C-f/b/n/p, though? Org-= mode uses these, IIRC. Cl=C3=A9ment. On 2016-07-14 18:19, Robert Weiner wrote: > The attached patch adds movement commands for texinfo-mode that move > between the start and end of single-level environments (things that > end with an @end line), e.g. @table. >=20 > (define-key map "\C-c." 'texinfo-to-environment-bounds) - > when within an environment, moves between the start and end lines >=20 > (define-key map "\C-c\C-c\C-f" 'texinfo-next-environment-end) - > from anywhere, moves to the next end line of an environment >=20 > (define-key map "\C-c\C-c\C-b" 'texinfo-previous-environment-end) > - from anywhere, moves to the previous end line of an environment >=20 > (define-key map "\C-c\C-c\C-n" 'texinfo-next-environment-start) - > from anywhere, moves to the next start line of an environment >=20 > (define-key map "\C-c\C-c\C-p" > 'texinfo-previous-environment-start) - from anywhere, moves to the > previous start line of an environment >=20 > See attached for the patch. >=20 --O7E6IbqdtFh0EWBnsLc9r43TEE81eUqaw-- --HFlKxXOaTI7OQmKIBI6fKs5EAxriVDQ9R Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXh8NTAAoJEPqg+cTm90wjrbQQAKVpzyUDQ0Gv/cZgaN3sqL87 kb3xpee5NvoqKdrXC+C0SH+7Ezh0O4oETHakdOWHBgu6ewadqDuvTqFWJY89vnUJ rlGtgy+40d/jJga0ci0VYbHVlmXQu6ILyEw9og7hxHqlZTLh6zqEA4P9Iq73Hoic IoXZtEmQ7z7vVeNBltQIIv8KIr4u6Y8GAIsuA4PBL2Mf8QGZroMXlTzEtNkZy0K1 gs93llFjimbzrDYVNzIcWsBnBOMWtgCth3jTskF17h3YMeyTfqEgqhe0I90qm+Cm VEKSkAvR7YYuEgU3WMdccTA0FuDpOOSPyFUdO8eW8iQ/3CVCQLhOi0nKFCiu0SKQ 2piYrfHQblo5sDEwVtiBNPpfXsAc4W2lx0lb0RWGhoWBQxSUC8v2NqBknsNwU4GG H84CxS6xRg5ZJtVcEfp7Wz5benK2Cv+Bto13+1R8t3ngAryvwZzoQZZvTmzzxfmV IcOlF/mWFPiEyF4JXpoffUpKpqAXd2soh/yTQcoUAvgogcPUDbq8BQwClEpMZLsS JUlx/CxTBdYv8ijHJaWIUZRypiGY4NFPkzm3ripanB2SUhQgYT/BD1KP5zSNxygD /U1Ax1eCkVeujIHZMVQ8aNO/sA58Y/jGx5SFn5gsTgLBch0VqqXQnm9JfdgGVVS+ 6n6az9TfjVGCKOArEtZp =jGWJ -----END PGP SIGNATURE----- --HFlKxXOaTI7OQmKIBI6fKs5EAxriVDQ9R-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 14 15:20:36 2016 Received: (at 23985) by debbugs.gnu.org; 14 Jul 2016 19:20:36 +0000 Received: from localhost ([127.0.0.1]:51763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNmBX-0004AK-Vb for submit@debbugs.gnu.org; Thu, 14 Jul 2016 15:20:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNmBV-0004A3-Oe for 23985@debbugs.gnu.org; Thu, 14 Jul 2016 15:20:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNmBP-00068B-Gj for 23985@debbugs.gnu.org; Thu, 14 Jul 2016 15:20:28 -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.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNmBL-00067E-35; Thu, 14 Jul 2016 15:20:23 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2287 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bNmBH-0001UW-1o; Thu, 14 Jul 2016 15:20:21 -0400 Date: Thu, 14 Jul 2016 22:19:54 +0300 Message-Id: <83poqg6n8l.fsf@gnu.org> From: Eli Zaretskii To: rswgnu@gmail.com In-reply-to: (message from Robert Weiner on Thu, 14 Jul 2016 12:19:46 -0400) Subject: Re: bug#23985: Emacs 25.0.94: FEATURE ADDITION: Texinfo environment movement commands References: 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: -6.3 (------) X-Debbugs-Envelope-To: 23985 Cc: 23985@debbugs.gnu.org, bug-texinfo@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Robert Weiner > Date: Thu, 14 Jul 2016 12:19:46 -0400 > > The attached patch adds movement commands for texinfo-mode that move > between the start and end of single-level environments (things that > end with an @end line), e.g. @table. Thanks. Allow me a few comments. > + ;;; Texinfo environment, e.g. @table, movement commands > + ;; Author: Bob Weiner , Orig-Date: 7/14/2016 > + ;; Copyright (C) 2016 Free Software Foundation, Inc. We don't put such comments into the code, the log entry and AUTHORS serve this purpose. > + (defun texinfo-to-environment-bounds () > + "If within a Texinfo environment with an @end, move point first to its starting line and then to its ending line. The first line of a doc string should not be wider than 67 characters, certainly not more than 78, and it should still be a complete sentence that summarizes what the function does. > + Do nothing when outside of an environment; this does not handle nested environments." Other lines should also be broken at character 70. I think these additions should be also reflected in NEWS. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 14 15:44:27 2016 Received: (at 23985) by debbugs.gnu.org; 14 Jul 2016 19:44:27 +0000 Received: from localhost ([127.0.0.1]:51789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNmYd-0004kn-Fm for submit@debbugs.gnu.org; Thu, 14 Jul 2016 15:44:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNmYc-0004kb-H8 for 23985@debbugs.gnu.org; Thu, 14 Jul 2016 15:44:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNmYS-0002Ib-DP for 23985@debbugs.gnu.org; Thu, 14 Jul 2016 15:44:21 -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.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNmYS-0002IO-9t for 23985@debbugs.gnu.org; Thu, 14 Jul 2016 15:44:16 -0400 Received: from mail-oi0-f47.google.com ([209.85.218.47]:35759) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bNmYQ-0000qP-S9 for 23985@debbugs.gnu.org; Thu, 14 Jul 2016 15:44:14 -0400 Received: by mail-oi0-f47.google.com with SMTP id r2so132741809oih.2 for <23985@debbugs.gnu.org>; Thu, 14 Jul 2016 12:44:14 -0700 (PDT) X-Gm-Message-State: ALyK8tJUuRMIpWez7rJ7NF6ga3MnYldbW27qgSwwk1a0dkJU/BAs2+nogGh+YdCrudZMiouDzmAaLRKRIb4PeA== X-Received: by 10.202.235.23 with SMTP id j23mr6230802oih.192.1468525453941; Thu, 14 Jul 2016 12:44:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.199.143 with HTTP; Thu, 14 Jul 2016 12:43:44 -0700 (PDT) In-Reply-To: <83poqg6n8l.fsf@gnu.org> References: <83poqg6n8l.fsf@gnu.org> From: Robert Weiner Date: Thu, 14 Jul 2016 15:43:44 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: bug#23985: Emacs 25.0.94: FEATURE ADDITION: Texinfo environment movement commands To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 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: -3.8 (---) X-Debbugs-Envelope-To: 23985 Cc: 23985@debbugs.gnu.org, bug-texinfo@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: , Reply-To: rswgnu@gmail.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) On Thu, Jul 14, 2016 at 3:19 PM, Eli Zaretskii wrote: > Thanks. Allow me a few comments. Thanks for the feedback. > >> + ;;; Texinfo environment, e.g. @table, movement commands >> + ;; Author: Bob Weiner , Orig-Date: 7/14/2016 >> + ;; Copyright (C) 2016 Free Software Foundation, Inc. > > We don't put such comments into the code, the log entry and AUTHORS > serve this purpose. I just put that in there for the reference of whoever actually patches the Emacs sources, not to be kept in there. > >> + (defun texinfo-to-environment-bounds () >> + "If within a Texinfo environment with an @end, move point first to its starting line and then to its ending line. > > The first line of a doc string should not be wider than 67 characters, > certainly not more than 78, and it should still be a complete sentence > that summarizes what the function does. It is a sentence and I always make the first line of a doc string stand alone but often the complexity makes these first lines long. I then wrap further lines at 78 or less. I will keep this advice in mind but will no doubt find it hard to be clear and complete with in such a short space. > >> + Do nothing when outside of an environment; this does not handle nested environments." > > Other lines should also be broken at character 70. Is that really done throughout Emacs? With today's wider screens, I would think some relaxation would be permitted. > I think these additions should be also reflected in NEWS. Yes. Bob From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 14 16:15:58 2016 Received: (at submit) by debbugs.gnu.org; 14 Jul 2016 20:15:58 +0000 Received: from localhost ([127.0.0.1]:51801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNn38-0005W4-AZ for submit@debbugs.gnu.org; Thu, 14 Jul 2016 16:15:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55909) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNn36-0005Vp-LQ for submit@debbugs.gnu.org; Thu, 14 Jul 2016 16:15:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNn30-0000c4-KT for submit@debbugs.gnu.org; Thu, 14 Jul 2016 16:15:51 -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,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNn30-0000bp-H0 for submit@debbugs.gnu.org; Thu, 14 Jul 2016 16:15:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNn2y-0003HG-HU for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 16:15:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNn2u-0000aU-7D for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 16:15:47 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:64904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNn2t-0000aL-Sl for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2016 16:15:44 -0400 Received: from [192.168.1.82] ([109.24.225.43]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MTgXI-1bo5K22fNw-00QWJ8 for ; Thu, 14 Jul 2016 22:15:42 +0200 Subject: Re: bug#23985: Emacs 25.0.94: FEATURE ADDITION: Texinfo environment movement commands To: bug-gnu-emacs@gnu.org References: <83poqg6n8l.fsf@gnu.org> From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Message-ID: <5787F2E7.8020004@gmail.com> Date: Thu, 14 Jul 2016 22:15:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="pjQf0J94jWxxlRgGhnQs6fFgb6HW7QS6K" X-Provags-ID: V03:K0:IXYHNrxGrb0A23TVAsSGihaLiLITghx7P34cN1KkB895IauGgK9 RAE527PFIsIrN+YJU5U3Jq2abZf8fn69Tv3SBUGvKAIbZmeWWbnbhv8iM0q+23NoxMC2z5f +TZ0mT/aqg6Ryf/JO/BS6NysXB/FvIm1opuqe/AAN38jL9VlrPy71oqcLsuYuylncoT6LK0 yijgxW1XiC1H1gR1PpCIQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:Hhbpfb9Vwmc=:CPzatRjQui2dWX1MMXhj2T XChC1hRlM+DXIUDOC0ay+p+p4uJnYHTwSCovYssr03k0yDOuPUXTfq1XbEADuWvVyO1B9aLuL YzaXY3MVhFy9QkRpvLt4hFhKSqtKrd6M+NjCwZSuEAXF2vIoNw87D95+NMummRVOUocLU6O8/ Enaha0n9ZX6kNQfCkBkiHh2YN0R6WMsSaUlJo1zSkr8h+rtyqBHo4Tv+9nLICwKXc/P3KNSlp JPWPQTf5FKuphj2k+QVg9gKA+SPk+IGpw/Lc4e+Fyq1E3wh6YuOLIVUD6XDbIbbb5APndLcBX 2WdhEiBbOnhLMss6l3Zai0e/q7pIuhF99JS86DuL14zbB8/K7oe/PWuK5e787MnnsM3E9KUxI fvjoqTRc/aOJxK/UTiSBCG8TGpAd91poE8GDwRyZbyJ2dPWCDKK00lHDpBVLLWLywR4Jh2S30 tIJ4oRZV/2xLwPfSkK8XkO6m1Bcbh3bROG9qAWxXER6oUZKvIcnnEDtJ/57rxZuvlp8zQIOUA 1/gZP30y5LqjNgAgJHMpyhXCoB3eTmtiVLRZv4O8c9Y1oWLb2IYJflA7SsBl561irGNMGS2av 8/y3jFxoeb4gzlJLoNkEzVSc0hbtJmfCGOiYhWfCDV36yuosfvY32Z+y1D343RBKtw1oUO+er s6UT83HbD6yOTKuD2rxzQ/uHZMcKUTeLpocrJceMmKuByXxj3cD0dl6GThyFHMVeoWII= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: -4.0 (----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --pjQf0J94jWxxlRgGhnQs6fFgb6HW7QS6K Content-Type: multipart/mixed; boundary="ql4xRnBw6vVhoFPx4rFs9BV907ud1sJOL" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: bug-gnu-emacs@gnu.org Message-ID: <5787F2E7.8020004@gmail.com> Subject: Re: bug#23985: Emacs 25.0.94: FEATURE ADDITION: Texinfo environment movement commands References: <83poqg6n8l.fsf@gnu.org> In-Reply-To: --ql4xRnBw6vVhoFPx4rFs9BV907ud1sJOL Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-07-14 21:43, Robert Weiner wrote: >>> >> + (defun texinfo-to-environment-bounds () >>> >> + "If within a Texinfo environment with an @end, move point firs= t to its starting line and then to its ending line. >> > >> > The first line of a doc string should not be wider than 67 character= s, >> > certainly not more than 78, and it should still be a complete senten= ce >> > that summarizes what the function does. > > It is a sentence and I always make the first line of a doc string > stand alone but often the complexity makes these first lines long. > I then wrap further lines at 78 or less. I will keep this advice in > mind but will no doubt find it hard to be clear and complete with > in such a short space. What about =E2=80=98Move to first line of current environment, then to la= st.=E2=80=99? Does that describe the behaviour of the function accurately= ? (In fact, there's even space for =E2=80=98Move to first line of current T= exinfo environment, then to last.=E2=80=99) --ql4xRnBw6vVhoFPx4rFs9BV907ud1sJOL-- --pjQf0J94jWxxlRgGhnQs6fFgb6HW7QS6K Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXh/LtAAoJEPqg+cTm90wjqpAQAIbv3jQvKnTFqeLYRA6Lftmg hO37NJTGgKLv8CvKgrQdm3+nuSa270ClHaE+NYO8cznlci8N4eFG+Bm3BvvYktu3 XVLKKwps+HL+oz7GXWf0IwQ5EiuiiZ+H+5AE0McxIvevhuNoK4tasyd4x13TxCa2 MLSPjeksZ85EBUhL17i+g/rr7PK7UQZk65/vn6flwuQO2GULgPVLMQazPbRhAszA c3GtuUd2UVCgyBXe169ewYdB9/x4ShMnJr0u3Rb3xSyFrgD0kgpoXeG7jlrn5a9O wr1wPw8JLJVWHUpTiifHu10F2zU+t5r2pti89nXK5jnrhZWO1qm6oCvWWq5f4NUO iLrVd2F14RlizcTdPnKRyA4/i7tbehZXrtlAv0U1pR1GLxrjMlfbzV2nD8b+pEr5 5PawgtDTA/gVXcaFOlTDXVivyeGYn0e4yc/XTi9T5XzqnMY7hPuJcDDiaBaVSNor qnfMV3fpcVi/6A50c6HJ3oi3oMl2jODR+f8r0ecp3/pBNeFbS1spcHXFijjrZ+NL M0fD16i6cf4KmtzEyr0a0vp/5380rh8hc4kZ2fWpHCBZB9/Iy1DN6ajArlTRE2Fz HYfNAyYKKGDwowecqlTi7Jmz/YQ6tSzFwc+b7kYKBULXUanIfLgkBgRHyEfns9g0 LAY6fhcK4UP1ss2hD9q/ =PTdG -----END PGP SIGNATURE----- --pjQf0J94jWxxlRgGhnQs6fFgb6HW7QS6K-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 03:01:50 2016 Received: (at 23985) by debbugs.gnu.org; 15 Jul 2016 07:01:50 +0000 Received: from localhost ([127.0.0.1]:51956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNx8A-0001QF-2l for submit@debbugs.gnu.org; Fri, 15 Jul 2016 03:01:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNx88-0001Pt-IO for 23985@debbugs.gnu.org; Fri, 15 Jul 2016 03:01:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNx80-0006fJ-Ak for 23985@debbugs.gnu.org; Fri, 15 Jul 2016 03:01:43 -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.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNx80-0006fF-7M; Fri, 15 Jul 2016 03:01:40 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2757 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bNx7y-0004xV-AC; Fri, 15 Jul 2016 03:01:38 -0400 Date: Fri, 15 Jul 2016 10:01:28 +0300 Message-Id: <83oa5z75br.fsf@gnu.org> From: Eli Zaretskii To: rswgnu@gmail.com In-reply-to: (message from Robert Weiner on Thu, 14 Jul 2016 15:43:44 -0400) Subject: Re: bug#23985: Emacs 25.0.94: FEATURE ADDITION: Texinfo environment movement commands References: <83poqg6n8l.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: -6.3 (------) X-Debbugs-Envelope-To: 23985 Cc: 23985@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.3 (------) > From: Robert Weiner > Date: Thu, 14 Jul 2016 15:43:44 -0400 > Cc: 23985@debbugs.gnu.org, bug-texinfo@gnu.org > > On Thu, Jul 14, 2016 at 3:19 PM, Eli Zaretskii wrote: > > Thanks. Allow me a few comments. > > Thanks for the feedback. > > > > >> + ;;; Texinfo environment, e.g. @table, movement commands > >> + ;; Author: Bob Weiner , Orig-Date: 7/14/2016 > >> + ;; Copyright (C) 2016 Free Software Foundation, Inc. > > > > > We don't put such comments into the code, the log entry and AUTHORS > > serve this purpose. > > I just put that in there for the reference of whoever actually patches > the Emacs sources, not to be kept in there. If you send the patch in the form of git-format-patch, those details are taken care for you by Git. > >> + (defun texinfo-to-environment-bounds () > >> + "If within a Texinfo environment with an @end, move point first to its starting line and then to its ending line. > > > > The first line of a doc string should not be wider than 67 characters, > > certainly not more than 78, and it should still be a complete sentence > > that summarizes what the function does. > > It is a sentence and I always make the first line of a doc string > stand alone but often the complexity makes these first lines long. > I then wrap further lines at 78 or less. I will keep this advice in > mind but will no doubt find it hard to be clear and complete with > in such a short space. Clément suggested a shorter wording that would fit. I can suggest another: Go to the beginning or @end of the current Texinfo environment. You don't have to say it all in the first sentence, only the main point of the function. The details are described in the rest of the doc string. > > Other lines should also be broken at character 70. > > Is that really done throughout Emacs? With today's wider screens, I > would think some relaxation would be permitted. Maybe so, but the current guidelines still say the above. Feel free to raise this issue on emacs-devel. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 29 01:20:37 2019 Received: (at control) by debbugs.gnu.org; 29 Sep 2019 05:20:37 +0000 Received: from localhost ([127.0.0.1]:52018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iERdN-00038X-8w for submit@debbugs.gnu.org; Sun, 29 Sep 2019 01:20:37 -0400 Received: from mail-pl1-f170.google.com ([209.85.214.170]:34250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iERdL-00038K-Mn for control@debbugs.gnu.org; Sun, 29 Sep 2019 01:20:36 -0400 Received: by mail-pl1-f170.google.com with SMTP id k7so2593142pll.1 for ; Sat, 28 Sep 2019 22:20:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nF7NJb9qAwfnKcKlJMmEKUtTPVbDY6YCBFMl4/g/oO8=; b=J5xI88mfbZuM/ou96d0JtJZ+ToyPNrgCNqwm9NKdqfkRIyxm2VWXKXcPVctCqx4wyS WtW/sIvzATLy6DMLyiqZZH4vRoVNtOUSQ5bSdpQoPpqotlOXyLWp7iTecXa/FHRagcvc 3rYnVukOV97+JKOYvRkEak4xo6E3sP6Z6IbEUun/JYRP0gzh+fheAygOw6xiSYj/TYQN /r2a9fxaes4OyXPVyax0KfC6lvBuIma9tzxraP7WSls2nmgyseo+GnfomWEx0cmIO3kO 81hjPjdDPsvu9GnwwJ2QRRh9SLOub473JI/sLr5Lkw9i9pYYBiNz0wy9JVC08+9IaZpE m/2w== X-Gm-Message-State: APjAAAUK/wb/ls0a7odPx1h3qhDA/UjKVqSWV1pASEtdBQ3lRX+7VO1v bYDcxe53UPT1kfWTivRaSy1FdWRUaWtTcmORSLstIeK3H0Q= X-Google-Smtp-Source: APXvYqzByCEQnPM20SQzu3KZcVfbhIpRxk5LO9UAxxzgjEo+VJ8Z4WBBgD0w19LvCu8Cbfx4thIiP8oGvKvJRfRkoXs= X-Received: by 2002:a17:902:d88f:: with SMTP id b15mr13101332plz.251.1569734429637; Sat, 28 Sep 2019 22:20:29 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Sun, 29 Sep 2019 07:20:18 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 23985 + patch quit Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.170 listed in list.dnswl.org] 2.0 BLANK_SUBJECT Subject is present but empty 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-Debbugs-Envelope-To: control 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.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 23985 + patch quit Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.170 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 2.0 BLANK_SUBJECT Subject is present but empty 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different tags 23985 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 11 10:38:34 2020 Received: (at 23985) by debbugs.gnu.org; 11 Aug 2020 14:38:35 +0000 Received: from localhost ([127.0.0.1]:41342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5VQA-0001el-Hv for submit@debbugs.gnu.org; Tue, 11 Aug 2020 10:38:34 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5VQ6-0001eT-Ur for 23985@debbugs.gnu.org; Tue, 11 Aug 2020 10:38:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VfqHgCjbFBCjYa3WX/JAh3ARxuJPuLmE1zjj89apzQk=; b=fOWsXpFGCjhZCf4zAUq/sLTfIh pHy7Hfr7sXgp+RxYqQqH+T0B2FpM7xSPUBb8HsMTVrvmvYRopgesSVM9RQVBj7RTTgXXo5XWsVt1A alOO2zjJ39A0ZeRrtCefozZ090YsGDNIOVaa3emkpMmovhDZmxjywQj2Ib7jwQsabVQw=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5VPv-0004aL-7S; Tue, 11 Aug 2020 16:38:24 +0200 From: Lars Ingebrigtsen To: Robert Weiner Subject: Re: bug#23985: Emacs 25.0.94: FEATURE ADDITION: Texinfo environment movement commands References: Date: Tue, 11 Aug 2020 16:38:17 +0200 In-Reply-To: (Robert Weiner's message of "Thu, 14 Jul 2016 12:19:46 -0400") Message-ID: <87sgcttfhi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Robert Weiner writes: > The attached patch adds movement commands for texinfo-mode that move > between the start and end of single-level environments (things that > end with an @end line), e.g. @table. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 23985 Cc: rswgnu@gmail.com, 23985@debbugs.gnu.org, bug-texinfo@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 (-) Robert Weiner writes: > The attached patch adds movement commands for texinfo-mode that move > between the start and end of single-level environments (things that > end with an @end line), e.g. @table. Thanks; looks like quite useful commands to me, so I went ahead and applied this to Emacs 28. I adjusted the doc strings to adhere to the normal style first. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 11 10:38:38 2020 Received: (at control) by debbugs.gnu.org; 11 Aug 2020 14:38:38 +0000 Received: from localhost ([127.0.0.1]:41345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5VQD-0001f1-Ve for submit@debbugs.gnu.org; Tue, 11 Aug 2020 10:38:38 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5VQC-0001eb-I2 for control@debbugs.gnu.org; Tue, 11 Aug 2020 10:38:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fYiWEraTwICt+tqqLeeghse0tj4VWgFLi31NKnqi/vc=; b=vObDqCF8uLd8ZPfy7EJxqXyp3F eUY2Bl7VuRosNfOrq6/+42z8rI/Y2Envn4zbjth9AK+1KngDBEe2o9tRImFeZFWL+k0EVTfM8jyf9 HSqWF09ms/M82sVUM2UTJ7RMkrNw7mLal5yJBHmUUt5cUhsSlXg9Ry2R47njoxBULycQ=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5VQ4-0004af-Re for control@debbugs.gnu.org; Tue, 11 Aug 2020 16:38:31 +0200 Date: Tue, 11 Aug 2020 16:38:27 +0200 Message-Id: <87r1sdtfh8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #23985 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 23985 fixed close 23985 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 23985 fixed close 23985 28.1 quit From unknown Fri Aug 15 18:06:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 09 Sep 2020 11:24:12 +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