From unknown Sun Jun 15 08:14:58 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#36702 <36702@debbugs.gnu.org> To: bug#36702 <36702@debbugs.gnu.org> Subject: Status: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode Reply-To: bug#36702 <36702@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:14:58 +0000 retitle 36702 27.0.50; newline: don't auto-fill regardless of auto-fill-mode reassign 36702 emacs submitter 36702 Andreas R=C3=B6hler severity 36702 minor tag 36702 fixed patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 06:17:10 2019 Received: (at submit) by debbugs.gnu.org; 17 Jul 2019 10:17:10 +0000 Received: from localhost ([127.0.0.1]:51570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hngzl-0000Kz-Rm for submit@debbugs.gnu.org; Wed, 17 Jul 2019 06:17:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:45946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hngzj-0000Kr-KG for submit@debbugs.gnu.org; Wed, 17 Jul 2019 06:17:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50552) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hngzi-0007o2-OC for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 06:17:07 -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,RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hngzg-0006BF-Uo for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 06:17:06 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:48421) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hngzg-00067W-Lf for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 06:17:04 -0400 Received: from [192.168.178.39] ([87.123.193.26]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MK3BO-1i1Naf00Lu-00LUHB for ; Wed, 17 Jul 2019 12:16:59 +0200 To: bug-gnu-emacs@gnu.org From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Subject: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode Message-ID: Date: Wed, 17 Jul 2019 12:19:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:uhFvuQJJcHqK+veaAgfQaAd4SIoma58AoiNgfbCNOu2j26TZfeI PCK+LV8IflIx1Ay0dw/nRRJUfJmKOwffSJTsP9Bi+7Arcsn3ajwcFzlgmGOczV3XpxroO9h LGwJFg0w9wirou27IUYFmASiMd6dMVOLjfhQhzeWhHYM1i/8NYiBiOeJ6t8EBHo/Vw4tvLl wBtHypFymg9lAMa7gvQiA== X-UI-Out-Filterresults: notjunk:1;V03:K0:4vWYZuAXNmM=:01PxQ/vrNo6GLu340KNXGY CDTQIIhhaZW4gKIQRdy+pG9FFvy0yI5EB6DvCE0r2WNG1ifIbDLdOu+J2A1ID/DoZR8lQsMNe RIXHTrTx07l+DEh2aSJ6kPS9gL8z3QVYBgOBzr7F7biYjnPfVKyK5jO9RKD0mCDG99rzF9QRl e/GHYt+xnMGO1I3UU5VEiCCHuJ+tIpEsEHRoudOPFPSo+gCx3lztBJrBbb+iJ2+cH90hlAobB x0qGJIzMXmx5RC4HA63qoerIRILSuot7kpKtpHb2OISy2IJw9cz8R5XSAjvpfjomPDEdACoSI LyQW2M12yOM3fa26hIc0qnPaTj6XsZPKdh6S/lYW1xA6/oVYGMlal0tZLKiOGBNaua0ucP201 lcXJHQ/EWmaUOMCIKdR8e8p/WTHkq9E3fcM4K1bRaw83mU6mcj/ETHY+Z/uTTm45Jc1geZz/p 2Vh5HhX+TJTJ2bm+r2NQPJ0Z6HHJfm+2FTQ5c292t7AaEwDuRrtrkYUnw0AlD36ERx+PwcEOE KeHxTbciJDqFcecMkBSWBYE/fBblgv4RAEHXnVllOTAjWazVe0ul2izp2cast8HerE99GD5YP U3Jl7Zs3vcPJ5h6+hHZyGwao9NutfXoJBkNp1UH/6W8uSRtpGNwBb+Xmx+wzoz+cKE6GiFioM xJ3EpLsYLmOTLsuXHviHVmFAjmthd9AX0WiaClqxNMon6rEZwa0/DiooXilBdel2lppNQi8R3 mOqACpbFn1kLO5/AkZK3snIOJiIAMXVJpG3bumVA/8FrXcYdNE+/MuB7LU2uOBCVPXSvCprXA l2tPAmB X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.130 X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi, have an auto-fill-function set in a mode. When testing, noticed that  this auto-fill-function was called by  `newline` even if  no auto-fill-mode. See definition of newline from simple.el, line 22: (auto-fill-function (if arg nil auto-fill-function)) IMO there is also a docu bug, as this auto-filling is switched of by any arg whilst docu says: With ARG, insert that many newlines -- which sounds unrelated if filling. Herewith a test-command: inserts "foo" in a temp-buffer by just calling newline (defun auto-fill-test()   (interactive)   (let ((auto-fill-function (lambda ()(insert "foo"))))     (with-temp-buffer       (switch-to-buffer (current-buffer))       (newline)))) GNU Emacs 27.0.50 (build 1, i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2019-06-04 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 06:47:15 2019 Received: (at 36702) by debbugs.gnu.org; 17 Jul 2019 10:47:15 +0000 Received: from localhost ([127.0.0.1]:51579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnhSt-000157-2o for submit@debbugs.gnu.org; Wed, 17 Jul 2019 06:47:15 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:37483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnhSp-00014s-Oo for 36702@debbugs.gnu.org; Wed, 17 Jul 2019 06:47:13 -0400 Received: by mail-wr1-f46.google.com with SMTP id n9so24272166wrr.4 for <36702@debbugs.gnu.org>; Wed, 17 Jul 2019 03:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=TtGifV2WQhtW5UPyuuyTq10Wm4dhrQ8/i6XUapnlgpQ=; b=J/9dfohFL0K2oHrkdXjYQN3doLAHqF2/SCKWG2OweMVvolgFlUhKKs6KfiWd9utqEx wQSFjV4/Q3pnx+oTzhORMywco6aWmXXkSvJwykRvf9zVruMjNmNP6DNX4N+i2yXE1mNP ltZC+QhWEHRLKp18htnct9HFpHsS1caN3naIriFpSl7SO4MY4bHeL5rakldxpJVkBIA8 R/KKhEOiFU9s38DP1xkXxWNmoPOO5VyD366V4YKPTC/MYh+FJTNyO8lLlfQYuFwCZ4QD ViVN0F8QXhGOgUCKhucPkUGKNBwkwcururVVh7hJUG4N2eEvlhkQSCJD+zS43D/T1ytZ 9giw== 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:content-transfer-encoding; bh=TtGifV2WQhtW5UPyuuyTq10Wm4dhrQ8/i6XUapnlgpQ=; b=tjMknA6XNBO1gGNcHeRdj/C1TZxb4JcHmHpoUwWUkt1SxcH59HlFfqb4AHrHgmsYL4 xzfrt12nnsbXRzQ2kDBbr+hrVTfORIXcgnVQQ3CcOlQ8hUhqFhrx1lpIzT+I8pVdIbw2 jMtZ9qd9ORjPqjOFs2TGeCQrJjBnrPcCerHEIKv5IC9UUHzyPlvdLb5lSvpvm7i4Mwah jXyfL+9A/WHV+hXUcfETm8ZYJAStaj+8fAlzLdhYjNATobGkLaOJHxXNp83/Uq2pPAUZ Eo8OeLWQ5tsxKwE+yRmdsjNzKht4z6Shh6Xh/V1NCUszDVW3qdvHbL1nxgszq1R5XYHR r3XQ== X-Gm-Message-State: APjAAAVReSODPAZSANPZoZ7dDHXUeXmlKqHYiRR2B9GEQ05Aud3I4dP3 nP4r/opQI0eCD8XkwMkp26TZmw== X-Google-Smtp-Source: APXvYqxm5uiSVrdPEo0lvAsf42YkgjRdjS2k+EL8sDgTO411XVdmev6TysR++VIcddt0fPgv8jXkEw== X-Received: by 2002:adf:f286:: with SMTP id k6mr32557666wro.320.1563360425528; Wed, 17 Jul 2019 03:47:05 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e]) by smtp.gmail.com with ESMTPSA id s63sm20521833wme.17.2019.07.17.03.47.03 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 17 Jul 2019 03:47:04 -0700 (PDT) From: "Basil L. Contovounesios" To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode References: Date: Wed, 17 Jul 2019 11:47:02 +0100 In-Reply-To: ("Andreas =?utf-8?Q?R=C3=B6hler=22's?= message of "Wed, 17 Jul 2019 12:19:00 +0200") Message-ID: <87ef2pj5uh.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: 36702@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 (-) Andreas R=C3=B6hler writes: > have an auto-fill-function set in a mode. > > When testing, noticed that=C2=A0 this auto-fill-function was called by=C2= =A0 `newline` > even if=C2=A0 no auto-fill-mode. Making auto-fill-function non-nil is effectively the same as enabling auto-fill-mode. > See definition of newline from simple.el, line 22: > > (auto-fill-function (if arg nil auto-fill-function)) > > IMO there is also a docu bug, as this auto-filling is switched of by any = arg > > whilst docu says: With ARG, insert that many newlines -- which sounds unr= elated > if filling. I don't see a documentation bug, as the behaviour you see is documented in both docstrings and the Elisp manual. The docstring of newline says: Calls `auto-fill-function' if the current column number is greater than the value of `fill-column' and ARG is nil. The docstring of auto-fill-function says: It is called after self-inserting any character specified in the `auto-fill-chars' table. The docstring of self-insert-command says: After insertion, `internal-auto-fill' is called if `auto-fill-function' is non-nil and if the `auto-fill-chars' table has a non-nil value for the inserted character. So I don't see a bug here. Thanks, --=20 Basil From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 07:00:22 2019 Received: (at 36702) by debbugs.gnu.org; 17 Jul 2019 11:00:22 +0000 Received: from localhost ([127.0.0.1]:51598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnhfa-0001XY-By for submit@debbugs.gnu.org; Wed, 17 Jul 2019 07:00:22 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:33319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnhfY-0001XC-2i for 36702@debbugs.gnu.org; Wed, 17 Jul 2019 07:00:21 -0400 Received: from [192.168.178.39] ([87.123.193.26]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M2Nm2-1hjq302EzW-003xM5; Wed, 17 Jul 2019 13:00:12 +0200 Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode To: "Basil L. Contovounesios" References: <87ef2pj5uh.fsf@tcd.ie> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> Date: Wed, 17 Jul 2019 13:02:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <87ef2pj5uh.fsf@tcd.ie> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:tD0F3fvwb0Or6RjCa0SOPnJxfzx+az5aSX4bHNiDsUzgG3CvZo0 ASYYJyMgnoZXnrOUnzhhp2ZZseN9AOOoDK1gUDfrA8ph8o16aOM8pqLisAkRYbV/XT1IexS /VWn2qx+fZIhUG5tnthkkKhJgNxIbswb1WGfl3ZQOufsWpl/pIPl+puDJyF5cjhEmiIqGUK sCU8WUTtH5ar85ic2G+WA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:rUu7aeLVOLk=:PkTtngfqeI9Hr5CpabmKCI 2W2tmgdoyRuydbw/z2j1epYnjibi73n622tPu2hyPPR3ItmNwuNc+9WnyxaWuYJa0/qzLbtp1 1m0JOTHnvqmpDd2/VDI5ssXA8cKdebIzcXd05WOS2FzyVticyG8WkcEgHiFMwXRKE80KSCxbO CW4MY5fmbgifWc0bkXhjh0p+ul0JMB0Ur1e6t8wKpfjZS5VTffWHZm3JTaiHlRfLRQQpDTJqY db7pw1AN5cr1ZLQbx+CMTlBOKhT6Xbbs8UDqzLHsKOMl7Elin8X2tcnivDY5cIsaCxQEIPepz wQsUr+MyadFmbC8sz4AjF55qwCpusirSbh6YrFi37plqDdjocWIZz/S9qCqPrVF5A0BNykKTi FWrDOcQZNRqWw01WU5+gINzNlS+2OcxazmWO0pa1dxpDzJkr7bJ5E+yuw1LYyy0324PMcI4h6 QhKH9uk9BiU3ohcrelDZXEenP5YCO4dEur6+YePdiUOgps306GSjZc/mbnLK48kxXxEECdIxB 0aDqsj0JwQ8cxeKLIZPV8pEyWgI6cMNsIgI8GsC+j8UGMKSrYr/asM4d5eATkSfJPFbNd2GXH voM3stEat3BNl67BJVQpkYlvxEQFQ96lGlbuIqDvc5z/gx5xQ98K8uqQjOQBqtZvGMIHCBWJm 6R36DKS2cMrqLwgBxI+50VnjBctkO2bw9oFJWvN2T4UK1+DZKy2Wzvhk7trIl9uOZnyq0N2e4 ExUNUIyCRUFSGBeT5Gn3GTA+SClAu4V1FIR1SHkeFkViqZeSvZV3rWEHISMYqMjG6v0WQL4Bm 8YgC1RPpI2SiwAtRCgJ1Aam7q3EomjdBODB3JKeCx14ZwBGI2jJ/r+YhqgRxAlj5/snwrRraH 2XbW/aclljIKwCfQhXYQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: 36702@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 (-) On 17.07.19 12:47, Basil L. Contovounesios wrote: > Andreas Röhler writes: > >> have an auto-fill-function set in a mode. >> >> When testing, noticed that  this auto-fill-function was called by  `newline` >> even if  no auto-fill-mode. > Making auto-fill-function non-nil is effectively the same as enabling > auto-fill-mode. > >> See definition of newline from simple.el, line 22: >> >> (auto-fill-function (if arg nil auto-fill-function)) >> >> IMO there is also a docu bug, as this auto-filling is switched of by any arg >> >> whilst docu says: With ARG, insert that many newlines -- which sounds unrelated >> if filling. > I don't see a documentation bug, as the behaviour you see is documented > in both docstrings and the Elisp manual. > > The docstring of newline says: > > Calls `auto-fill-function' if the current column number is greater > than the value of `fill-column' and ARG is nil. Did you try the test-function delivered? It inserts a newline in an empty buffer. May that condition being matched then? From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 08:21:17 2019 Received: (at 36702) by debbugs.gnu.org; 17 Jul 2019 12:21:17 +0000 Received: from localhost ([127.0.0.1]:51644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnivs-0007pH-L6 for submit@debbugs.gnu.org; Wed, 17 Jul 2019 08:21:17 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:39611) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnivp-0007ou-Dr for 36702@debbugs.gnu.org; Wed, 17 Jul 2019 08:21:15 -0400 Received: by mail-wr1-f68.google.com with SMTP id x4so24560392wrt.6 for <36702@debbugs.gnu.org>; Wed, 17 Jul 2019 05:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=72dIW1b2mmbFAqHrlHn/RYAVDyVjlGoX/tZtX5MbtNE=; b=ZfO6w0ETwBPrNnzPKBi0bF7mMRQg7QkGdIsq24MMmiLIVqgXUUlbqabczw9+4Qb0MF YZd4mTJlHrcq5i/cFJqiBaX6DycdZxrz3eg6xzcOsg/nVzi4WnbaYFjpo6WCWKLe66oe NXu4M0AAEpKpSndY+xTX4a/qisZ3bghX3CAVwpKtjspQkkIE7GvRW82Q/DH2old4nW4S /Voyc9XvQPua1U/0++/a8knY3JvtDk6TFd/8uTKZGHV5TnxN1KgtLRq38hh9/yMDfIF9 xFSkUFCVEHCtir72VASv30gTN/b2CrajH3gPifB6X6jlhnDNYrdlySx5OlPYe7yo7+1b /lcQ== 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=72dIW1b2mmbFAqHrlHn/RYAVDyVjlGoX/tZtX5MbtNE=; b=crXnucSvKlWxN05jKopR7ee5q0tNG1oW/PGUkdxEqAkboJPq4jTd6lYg7W03PWItf8 j7jUJyG4OLQ+WcF6558XbYXmlOyUQRwAhfypdk2UkboE65ddG5n2Mk6HbayVY+rITeBj ADGAAkT1c00H2EpU8hqveNPHizWcDDTPTis70AKfOsjzTe+PkHBtcGwH3uGr63PkLzfI wzV6odEyZMiH6Y83tpIfk60LCAsK2r8AL4O2wolNLzZ2FZQ97CwCN+icYjCuiHdmww7Y DO2n2yTkZVPDMGpIPiQ0V5JsmILvQfLZuHwW+2veaB7a1kbqniAD0mEp3Mi1TsEMCnCM aWnw== X-Gm-Message-State: APjAAAUVaGSlW6L/uU/kQP2msjnUK3FmKENq16u9od7FhUGVpx2hJmJV 6bmuzDasjeDnAepWygSyPrcfew== X-Google-Smtp-Source: APXvYqw93n6I5TsQ2Yjef31HQmzfNM2k8W3wqJ2WNIERLOZDjxt7T82psmhuZjyesGE+aVagF9Igfw== X-Received: by 2002:adf:9f0e:: with SMTP id l14mr39956643wrf.23.1563366067557; Wed, 17 Jul 2019 05:21:07 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e]) by smtp.gmail.com with ESMTPSA id n14sm40647021wra.75.2019.07.17.05.21.05 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 17 Jul 2019 05:21:06 -0700 (PDT) From: "Basil L. Contovounesios" To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> Date: Wed, 17 Jul 2019 13:21:04 +0100 In-Reply-To: <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> ("Andreas =?utf-8?Q?R=C3=B6hler=22's?= message of "Wed, 17 Jul 2019 13:02:16 +0200") Message-ID: <87ims0hmxb.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: 36702@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; charset=utf-8 Content-Transfer-Encoding: quoted-printable severity 36702 minor found 36702 26.2.90 tags 36702 + patch quit Andreas R=C3=B6hler writes: > On 17.07.19 12:47, Basil L. Contovounesios wrote: > >> The docstring of newline says: >> >> Calls `auto-fill-function' if the current column number is greater >> than the value of `fill-column' and ARG is nil. > > Did you try the test-function delivered? Yes. > It inserts a newline in an empty buffer. > > May that condition being matched then? Ah, are you referring to the condition that the current column number be greater than fill-column? This condition is enforced by the default value of normal-auto-fill-function when auto-fill-mode is enabled, namely do-auto-fill. A different auto-fill-function mightn't enforce it. In general, there are multiple conditions guarding calls to auto-fill-function (see e.g. internal-auto-fill and internal_self_insert), and I'm not sure the docstring of newline is the right place to discuss these things. How's the following clarification for emacs-26 instead? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Clarify-docs-on-newline-and-auto-fill-mode.patch >From 2ed60518cb5d29c0d8c7cc944740c0fecb1713ef Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Wed, 17 Jul 2019 13:05:42 +0100 Subject: [PATCH] Clarify docs on newline and auto-fill-mode * doc/lispref/text.texi (Commands for Insertion): * lisp/simple.el (newline): Do not mention conditions specific to 'do-auto-fill' under documentation of 'newline' (bug#36702). --- doc/lispref/text.texi | 17 ++++++++++------- lisp/simple.el | 9 +++++---- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index f44659c622..dad6fa2280 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -542,25 +542,28 @@ Commands for Insertion loop handles this function specially. @end deffn -@deffn Command newline &optional number-of-newlines +@deffn Command newline &optional number-of-newlines interactive This command inserts newlines into the current buffer before point. If @var{number-of-newlines} is supplied, that many newline characters -are inserted. +are inserted. In an interactive call, @var{number-of-newlines} is the +numeric prefix argument. @cindex newline and Auto Fill mode -This function calls @code{auto-fill-function} if the current column -number is greater than the value of @code{fill-column} and -@var{number-of-newlines} is @code{nil}. Typically what +This command calls @code{self-insert-command} to insert newlines, +which may subsequently break the preceding line by calling +@code{auto-fill-function} (@pxref{Auto Filling}). Typically what @code{auto-fill-function} does is insert a newline; thus, the overall result in this case is to insert two newlines at different places: one at point, and another earlier in the line. @code{newline} does not auto-fill if @var{number-of-newlines} is non-@code{nil}. +This command does not run the hook @code{post-self-insert-hook} unless +called interactively or @var{interactive} is non-@code{nil}. + This command indents to the left margin if that is not zero. @xref{Margins}. -The value returned is @code{nil}. In an interactive call, @var{count} -is the numeric prefix argument. +The value returned is @code{nil}. @end deffn @defvar overwrite-mode diff --git a/lisp/simple.el b/lisp/simple.el index a0f2da7152..d524d3f0ce 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -427,17 +427,18 @@ newline that it adds, and reindents the preceding line. To just insert a newline, use \\[electric-indent-just-newline]. -Calls `auto-fill-function' if the current column number is greater -than the value of `fill-column' and ARG is nil. +If `auto-fill-mode' is enabled, this may cause automatic line +breaking of the preceding line. A non-nil ARG inhibits this. + A non-nil INTERACTIVE argument means to run the `post-self-insert-hook'." (interactive "*P\np") (barf-if-buffer-read-only) - ;; Call self-insert so that auto-fill, abbrev expansion etc. happens. + ;; Call self-insert so that auto-fill, abbrev expansion etc. happen. ;; Set last-command-event to tell self-insert what to insert. (let* ((was-page-start (and (bolp) (looking-at page-delimiter))) (beforepos (point)) (last-command-event ?\n) - ;; Don't auto-fill if we have a numeric argument. + ;; Don't auto-fill if we have a prefix argument. (auto-fill-function (if arg nil auto-fill-function)) (arg (prefix-numeric-value arg)) (postproc -- 2.20.1 --=-=-= Content-Type: text/plain Thanks, -- Basil --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 09:36:41 2019 Received: (at 36702) by debbugs.gnu.org; 17 Jul 2019 13:36:42 +0000 Received: from localhost ([127.0.0.1]:51719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnk6r-0005UL-Lv for submit@debbugs.gnu.org; Wed, 17 Jul 2019 09:36:41 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:56973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnk6o-0005U6-2Z for 36702@debbugs.gnu.org; Wed, 17 Jul 2019 09:36:38 -0400 Received: from [192.168.178.39] ([87.123.193.26]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MS4ab-1htYzG0myZ-00TWhq; Wed, 17 Jul 2019 15:36:29 +0200 Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode To: "Basil L. Contovounesios" References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <1440ccd1-2fbb-4f49-4b08-eb01d4b47e06@easy-emacs.de> Date: Wed, 17 Jul 2019 15:38:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <87ims0hmxb.fsf@tcd.ie> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:HL4kTUcG2ZswtXwZNC+Ezt6G6eKYfRoiQmp87BSND55dB8INnZ3 CbR8fD2FCDXUdGr2up7zysqP0QLLcKwlxHkAi0wYVTVBP+UdpcssTgchli+r2Tqw21tNJon 1329uNXPByEomOxaNmHjaPoxNbZ8BzBH3UduVZsqexbfjnVeK2y/VrhwRwNpQPBH/mu+s+U THQW3ZB3cpC4i2xSgoS+Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:eK8KsSJJvSw=:p1GRSJx34eTCWNwBrYS+Ow t1iAQCMG/ghsDm1Yb4jhEdHWx8qCqyvBPmfcLWjabDOUUktvgGb4see843KBl+RV8ZPlOegh3 OTaOX169d5StbqmFDBeYdZ8bBJtArXKP/oEJyqaVNfVKM35bzDvpwZfP3H4KogHcfPpUzoxVx L1W29/p7aqpL6btFvuwC9CbBWXbjE1no4VJID3YPpm49LomtsWoHb5oactqTCy/EmnYw3Op0V fhw7sr+iE0EBGUOU6TlDpowTof1IDfMmlbfhN5Gy6DIMVF+tCGlDPjqpIDhN+jrwpQph7BIIH fg0zvlS/6ij8SysQ/uafgkE7LhkpTU0r0gnLGGQJrWfubweVRASQA0ZaMibhoi4wiw4Uehd1v M1PGlMQKvzCeSsZqJPmhFFmyK7mX0BTLcZQFCSYB8qRXSHVQncY0HHyuuKQa9azoXt0mmfcgd vijXwssCk93RrxftR4lR8dzQDdOB914hadgT7oCYexiA1QgLRI9S/ywZO5lqdyBVcswqqWxgy GTdKoKkHpQeL5UXrOUSaKe7OAMONgrQ+wDt6Iz0i08kSIrEoILhPeTeajNpGao+2lvW+RC9nW WlC8RsRR+TD+nDiZHwKkja3pO3aIys+5kcqjIr881uDJeR3QWHf28yiFdLmoUVm8fVjlIEDFC vPOX2Qho9sYZun0SaTtJHBqT/G285by794GpMPWjXHvbOQmKZxVJUjyaTE8tCIJczo6wLO+vS 6dNEKyic3S+uHlgmypJFXYcDDwfYJk5qEM1VuA+tw37IxhTvj3FOmckjeUIbNJLP3GoU1lbaF E5FVQ9H X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: 36702@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 (-) On 17.07.19 14:21, Basil L. Contovounesios wrote: > severity 36702 minor > found 36702 26.2.90 > tags 36702 + patch > quit > > Andreas Röhler writes: > >> On 17.07.19 12:47, Basil L. Contovounesios wrote: >> >>> The docstring of newline says: >>> >>> Calls `auto-fill-function' if the current column number is greater >>> than the value of `fill-column' and ARG is nil. >> Did you try the test-function delivered? > Yes. > >> It inserts a newline in an empty buffer. >> >> May that condition being matched then? > Ah, are you referring to the condition that the current column number be > greater than fill-column? This condition is enforced by the default > value of normal-auto-fill-function when auto-fill-mode is enabled, > namely do-auto-fill. A different auto-fill-function mightn't enforce > it. > > In general, there are multiple conditions guarding calls to > auto-fill-function (see e.g. internal-auto-fill and > internal_self_insert), and I'm not sure the docstring of newline is the > right place to discuss these things. From my point of view it's not that much about the docu but about the design. Users should not be forced to add an extra argument to prevent auto-fill when it is about a newline. > How's the following clarification > for emacs-26 instead? > > See above. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 10:25:35 2019 Received: (at 36702) by debbugs.gnu.org; 17 Jul 2019 14:25:35 +0000 Received: from localhost ([127.0.0.1]:52795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnksB-0006uG-A7 for submit@debbugs.gnu.org; Wed, 17 Jul 2019 10:25:35 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:45861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnks9-0006u3-0E for 36702@debbugs.gnu.org; Wed, 17 Jul 2019 10:25:33 -0400 Received: by mail-wr1-f66.google.com with SMTP id f9so25022460wre.12 for <36702@debbugs.gnu.org>; Wed, 17 Jul 2019 07:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=nEK+OCXtu5IRoDJvCOq1BN+lfD5Ys9YYpEgSN7Mn4zo=; b=2TD7ylHY58dd4wfcD7wcdkGjY2Lsg2t9adY0HnJL1/mtZc80+z5/NkAhRztIsYJUsl KxuWbR4Klzcd+ipq5zT26m7jpZEcoDMiyfIbPejpUOK7hgUqkhRuzddOfVjC41P9aMrQ DCDN8ngUwntYyHKIeSVZCZVI7665YIhXi3LufQyJr8lXR6rstRdKe4CFBD53BRecBXEt QWQesdJSVRde9GVrKbINgZngB3xTytAA96bGbH2NeF5pBz91T0en4sqlaJI+oD5ppZuN SadK9Z1Zu/dSPHgODdTi1Y/PD1mocuumxVloP0xfVYkAYPfVuLqxOhWb7IOcKS8B4rfr wnEg== 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:content-transfer-encoding; bh=nEK+OCXtu5IRoDJvCOq1BN+lfD5Ys9YYpEgSN7Mn4zo=; b=Z4z9QC2gGGsuZYLfeauS4A4b6/sD7VnJ0DLC2fQoczdlHOIkOCwFjMgClUGbKHW2rT VElcFjZNmNM3r/jEHr4YQuiojJac94Pk7NJWHmvE4XMFAeQrLOT0RD0v52n8F5XiMvCQ Z7lnrQQ1ENrSa8rwMFBSv9Y/g9cyyGyvgOhz7DV+GRO7gw9hG6kmOLns0cFhOJ5MCHUo Q27iK8gS217Z1cvN+pDrfBpb32IYMr6eP1psuBFA/6JKhxWghx/h55OcEokeJiamwLDb PTA8O+biDKeg7BcYCcJFEs0teHdb4q46BP3wQB8Cv6608tDgQtBurONZhyrdXKB+SZND BxEw== X-Gm-Message-State: APjAAAWKgvKCxvteIaK8nbjJFy8NzBlD9z8yAzG7JUHp2uygOwzr798T GyGqHHeXFcywXErIHXaSZh2SXw== X-Google-Smtp-Source: APXvYqzsOLulOljeQ1RfYMB0/Nn7f4e3FlrzJQ7lg3g6rdZHioDVp9gDDLP2tpzph81dalS8YA0TcQ== X-Received: by 2002:adf:c70e:: with SMTP id k14mr44851145wrg.201.1563373527224; Wed, 17 Jul 2019 07:25:27 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e]) by smtp.gmail.com with ESMTPSA id b15sm38952556wrt.77.2019.07.17.07.25.26 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 17 Jul 2019 07:25:26 -0700 (PDT) From: "Basil L. Contovounesios" To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> <1440ccd1-2fbb-4f49-4b08-eb01d4b47e06@easy-emacs.de> Date: Wed, 17 Jul 2019 15:25:25 +0100 In-Reply-To: <1440ccd1-2fbb-4f49-4b08-eb01d4b47e06@easy-emacs.de> ("Andreas =?utf-8?Q?R=C3=B6hler=22's?= message of "Wed, 17 Jul 2019 15:38:30 +0200") Message-ID: <87h87kg2lm.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: 36702@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 (-) Andreas R=C3=B6hler writes: > From my point of view it's not that much about the docu but about the des= ign. > > Users should not be forced to add an extra argument to prevent auto-fill = when it > is about a newline. Users who do not want auto-filling should not enable auto-fill-mode, either directly or by setting auto-fill-function. --=20 Basil From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 10:39:06 2019 Received: (at 36702) by debbugs.gnu.org; 17 Jul 2019 14:39:06 +0000 Received: from localhost ([127.0.0.1]:52817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnl5G-0000x9-60 for submit@debbugs.gnu.org; Wed, 17 Jul 2019 10:39:06 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:38957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnl5D-0000wc-4i for 36702@debbugs.gnu.org; Wed, 17 Jul 2019 10:39:04 -0400 Received: by mail-wm1-f66.google.com with SMTP id u25so12067269wmc.4 for <36702@debbugs.gnu.org>; Wed, 17 Jul 2019 07:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=KHxpaw/nm50shBGMKDBbyv9Fzqg+wa1LRQgMl4+dbyY=; b=DaGaizICFHxa0QA1BGhSXzf0/C2RvzfYAKAfKoNiB6ntOW+if7TSNsoI1WyqQu1v54 PFV+aIkB8WeHPWrbqWftdG5zEDKSyl15Graq32HBJVoSSWWKdObB0DDrM+sWHdNjARph 3c+UvFDvirts+/9xgyfCSNJsXzZrEVqYWhGL2IdMJ984z2dsrvjm8tkisw3c7VjFO305 ETg7PvQzxRHj25hsUBlfi8JRvooyNPBfiG8gP+/aW7n52Xi9kraKcathowe2Cpb6rbSp kC9StkXaH4T+VTuAlsxI1ms67v8b1Svf5S8nrD2plD36jC7vzbeVARj5m880sSaZUNhf 7auw== 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:content-transfer-encoding; bh=KHxpaw/nm50shBGMKDBbyv9Fzqg+wa1LRQgMl4+dbyY=; b=FPA/IBQuNcoMvHKDUCDFTxPxXVDQbxksRg8KF4XtDPmlYYQFMI+JYSZ0Eo52EIBOru LqNyFxtZh3W5pjThdjAXRfiD09mGDQCJ1kld1/LJQtwKfLPUpPlnBdGkIMSNYyvqsp48 SH1Pz22V7cXtDQqVldmTBqKB+yz8RDCe2Asa3RsNoNenN/MySrPKDYVh0ydqloQMfCAN qi2U0AROV3tuXCdZJVvfkmqoMLLziDRcrgUFRDrfUsFp9I2umfSuln6J1lxy+3QJ/WPj W9CY/2S6ggfIBbNwXgcez7LUEeDT+uNwyV/ewdtaZL4uRYdm6NgGz9PbJgIv1UGrnu2H kKcA== X-Gm-Message-State: APjAAAVsGgLdgvWDXhvFuQSSaWFUXPn2c4cmxnRU1eoetgLdNrm+x2PR 0IG7EFeUGrNyDWorAVeGwu/YlA== X-Google-Smtp-Source: APXvYqw8zzzachibtJz8d1OCPWBvqx/n6kGb8ubZqDIyeg1ytLKi/jv8vaWZ8/mG0itoLtz6SZhlzA== X-Received: by 2002:a7b:c766:: with SMTP id x6mr38402066wmk.40.1563374337252; Wed, 17 Jul 2019 07:38:57 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e]) by smtp.gmail.com with ESMTPSA id j17sm29226078wrb.35.2019.07.17.07.38.56 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 17 Jul 2019 07:38:56 -0700 (PDT) From: "Basil L. Contovounesios" To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> <1440ccd1-2fbb-4f49-4b08-eb01d4b47e06@easy-emacs.de> <87h87kg2lm.fsf@tcd.ie> Date: Wed, 17 Jul 2019 15:38:55 +0100 In-Reply-To: <87h87kg2lm.fsf@tcd.ie> (Basil L. Contovounesios's message of "Wed, 17 Jul 2019 15:25:25 +0100") Message-ID: <87r26oeneo.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: 36702@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 (-) "Basil L. Contovounesios" writes: > Andreas R=C3=B6hler writes: > >> From my point of view it's not that much about the docu but about the de= sign. >> >> Users should not be forced to add an extra argument to prevent auto-fill= when it >> is about a newline. > > Users who do not want auto-filling should not enable auto-fill-mode, > either directly or by setting auto-fill-function. Alternatively, users who want auto-fill-mode to ignore newlines can do the following: (aset auto-fill-chars ?\C-j nil) This is documented under (info "(elisp) Commands for Insertion") and (info "(elisp) Auto Filling"). --=20 Basil From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 13:12:28 2019 Received: (at 36702) by debbugs.gnu.org; 17 Jul 2019 17:12:28 +0000 Received: from localhost ([127.0.0.1]:52918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnnTg-00070e-Ar for submit@debbugs.gnu.org; Wed, 17 Jul 2019 13:12:28 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:48407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnnTe-000708-55 for 36702@debbugs.gnu.org; Wed, 17 Jul 2019 13:12:26 -0400 Received: from [192.168.178.39] ([87.123.193.26]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MsZ3N-1ibe0Y0ZoZ-00u2X0; Wed, 17 Jul 2019 19:12:17 +0200 Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode To: "Basil L. Contovounesios" References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> <1440ccd1-2fbb-4f49-4b08-eb01d4b47e06@easy-emacs.de> <87h87kg2lm.fsf@tcd.ie> <87r26oeneo.fsf@tcd.ie> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <7cc92318-2d81-49c0-04ef-6aee151fea73@easy-emacs.de> Date: Wed, 17 Jul 2019 19:14:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <87r26oeneo.fsf@tcd.ie> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:/C9bn83oU+Us8eqG9rBICv3xTR796N8rydukUQwT/2c0XQLEBGE U4ucT8R1MD6PXwEEs+P1j6q63Qb0IaH2G1M3OOsQUTHcJhTdpVhr/C2l3TlUCeCkhBgtOUQ n0IC9Kot3bYxeeTwmMsDSjAJe+48W5n6lguZ0uU9DyUd+PPHn266+AmwhOmr3EZ5Nahsbx/ wyueKkVFqXwaBt397Frig== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:yYhJSL3joS4=:FSlO0EZBQViRWHMVImL5nM cZo4ILzYdYz3mmlshCM6X9/DePit7Ipn0QvyKcT/gDRfZ94Nel53aokVjVFDDs/QrBc5/25Mw 7kWF0JHdvoXCRGBIbtWKGir9QIVWCuTYmj88WSdt+kGz4vuOqTMLZeKh2R2pT3/qrOaXKvU1q fOGZnYRwBFekHOuJrmsxspQbRK7fFFBmSmAhRA8DbLe1tWPF0ncEDhvnifdzD3XE2ZOBIWssS 1dw6ABJxpFIYDVHG5HbvIMYp5OT4FiKaL+JNjsTY+W9EwQ+J2+bYs/9vQV+IBTxcvxTB0zQDU iX+rQ6pUku1fnDrxjYpR86KrzMC1xrcWo1RlnPDhYAdV7UL2+DsnEgQHW7QEH3nGPUe4rlV1+ Nm71jB8WsPpTzXmdUo5FeHK3hVI9tm7FnzsDbDJ72eVFuX7kdFFr39FQMCOQeSYLXfltJC9AQ D9P0iU2/94ruVzWtDmN94Wzfh5UWyvWQL78PNyZEcIFxfJHQSPoOyvgi5nREARxZESqZWXTHN VEY/3v3dNqJKtZEagoFYYzkMZ7oe/vsIbvzTxQ1WrD+gv/qcCU5zgMchibuvPNGDnJluDnzL3 Ky8aVLvQ0w0EA6aUl9o8hf5XC/W0ddM+WkI2nZwkbLm8eiglxqtI4EIUDnjF4f1pynoT0RhFC h940bRXcEw4kdpTSdVlq5sg0rcChZOAqTojWkRn77aa8g06YIQwPmmzyqKBz7V5GOvADeyDP3 f7EmwxiTAn4PR/EFKliHKXe1B5qkfRj1kaS3xIjsMCMiNZ783YB4itzNLDq5yJSvRAJHiAObD 5PeC5dBfK/S+5leKl055owsmUBGOAE83GKKRG5g9MkzJYq75CnT5+VlMlasxJPKaUhyIEmdhP gxSimZd/OyEm4cGCF9Hg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: 36702@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 (-) On 17.07.19 16:38, Basil L. Contovounesios wrote: > "Basil L. Contovounesios" writes: > >> Andreas Röhler writes: >> >>> From my point of view it's not that much about the docu but about the design. >>> >>> Users should not be forced to add an extra argument to prevent auto-fill when it >>> is about a newline. >> Users who do not want auto-filling should not enable auto-fill-mode, >> either directly or by setting auto-fill-function. > Alternatively, users who want auto-fill-mode to ignore newlines can do > the following: > > (aset auto-fill-chars ?\C-j nil) > > This is documented under (info "(elisp) Commands for Insertion") and > (info "(elisp) Auto Filling"). > Okay, commonly there many ways in Emacs to work around an issue, which is great. But that doesn't solve it at source. By its semantic newline is unrelated to filling, from there that behavior is not to expect, idiosyncratic. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 13:47:52 2019 Received: (at 36702) by debbugs.gnu.org; 17 Jul 2019 17:47:52 +0000 Received: from localhost ([127.0.0.1]:52929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hno1w-0002QQ-0k for submit@debbugs.gnu.org; Wed, 17 Jul 2019 13:47:52 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:51241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hno1t-0002Pk-Mk for 36702@debbugs.gnu.org; Wed, 17 Jul 2019 13:47:50 -0400 Received: by mail-wm1-f41.google.com with SMTP id 207so23035074wma.1 for <36702@debbugs.gnu.org>; Wed, 17 Jul 2019 10:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=A2m0fxY6T/ZolzQHRTlp86RgUyvFE8rvfNyykVaWQLE=; b=R2x+30/9NaDt+wW0j9MDv+Hwd+GFm4yOpQ15exeHExp4ZODvq3CdvqNHF4j4HvPLTL uAkLL6DKZjo0tp9Hbv8cVfo27Q4KDxzchok9R6FIFGz/23H7+pYMQd34LBoLnu4DzPOq cUYiEtBGSVUK5mnVpKgCVaMzs1sVO2XXvfmagzK7e0d/IJonEZGlVUHyzkla/grrk5a2 m0hsdQ/vcXvldtuQP0UvjF6sHFQCZthOEDnt+9N7oGimHusVwJo7c6M474x3ErrVhEdR z6R6ZAbcj4HoA31E35kb9k3LlQGMbweNzc9IhvgDOmr/TZThwD5leh9jYQQinSqwoukK KmqA== 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:content-transfer-encoding; bh=A2m0fxY6T/ZolzQHRTlp86RgUyvFE8rvfNyykVaWQLE=; b=Ic0dveelQ4DLqfPSlVGfx2tFH8Qa0citayIXLOPdv1qSKgyIYAhGliNGTwBRyo4FuL tK3u83T67sAScxeW6M3q2DGl/yDsecJMRi6nofemfLx8J3/ZG/5eSHeB4cUk2si/uMF0 vPksv1NBtY2ni2YxofLGR35Cq/AaDNrIcjos9Tk5EgdvpUesapz06WrWSENj5zg3PDh2 1Ap8EcyINkb5e9fvCFk6bs6BdDUh6b4HLOBK8tsiL9Ue4kN9NJN9dHXcSjzEYlcipLrp ZhENFHVVlk4W2HSjLRNAP5GxxvLKE1xyr1coGO9y1bRjMrB7n7oBJRLN9SWoGwBo7MS+ 5k8w== X-Gm-Message-State: APjAAAX8Xa1ZLnbht93iShvMVBdEhAGn97TurR068hgk28RfMpIoJeMW f5HWofV4wfmGeJqZfOEF6l1onA== X-Google-Smtp-Source: APXvYqy7WuKMBOs1fpQ+vkjNzRvywcLSg0GcDg9ceQxKurXaDZN/D3SVcQu6NGFJt8pO3tugfa287A== X-Received: by 2002:a1c:cfc5:: with SMTP id f188mr34543082wmg.24.1563385663696; Wed, 17 Jul 2019 10:47:43 -0700 (PDT) Received: from localhost ([86.43.86.68]) by smtp.gmail.com with ESMTPSA id m7sm21176100wrx.65.2019.07.17.10.47.42 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 17 Jul 2019 10:47:43 -0700 (PDT) From: "Basil L. Contovounesios" To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> <1440ccd1-2fbb-4f49-4b08-eb01d4b47e06@easy-emacs.de> <87h87kg2lm.fsf@tcd.ie> <87r26oeneo.fsf@tcd.ie> <7cc92318-2d81-49c0-04ef-6aee151fea73@easy-emacs.de> Date: Wed, 17 Jul 2019 18:47:41 +0100 In-Reply-To: <7cc92318-2d81-49c0-04ef-6aee151fea73@easy-emacs.de> ("Andreas =?utf-8?Q?R=C3=B6hler=22's?= message of "Wed, 17 Jul 2019 19:14:20 +0200") Message-ID: <877e8gpn7m.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: 36702@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 (-) Andreas R=C3=B6hler writes: > On 17.07.19 16:38, Basil L. Contovounesios wrote: >> "Basil L. Contovounesios" writes: >> >>> Andreas R=C3=B6hler writes: >>> >>>> From my point of view it's not that much about the docu but about the= design. >>>> >>>> Users should not be forced to add an extra argument to prevent auto-fi= ll when it >>>> is about a newline. >>> Users who do not want auto-filling should not enable auto-fill-mode, >>> either directly or by setting auto-fill-function. >> Alternatively, users who want auto-fill-mode to ignore newlines can do >> the following: >> >> (aset auto-fill-chars ?\C-j nil) >> >> This is documented under (info "(elisp) Commands for Insertion") and >> (info "(elisp) Auto Filling"). >> > Okay, commonly there many ways in Emacs to work around an issue, which is > great. But that doesn't solve it at source. By its semantic newline is un= related > to filling, from there that behavior is not to expect, idiosyncratic. Unless you or someone else has a concrete proposal for how to fix said idiosyncratic behaviour in a backward-compatible way, I think that ship has sailed. --=20 Basil From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 14:24:33 2019 Received: (at 36702) by debbugs.gnu.org; 17 Jul 2019 18:24:34 +0000 Received: from localhost ([127.0.0.1]:52982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnobR-0003eq-N9 for submit@debbugs.gnu.org; Wed, 17 Jul 2019 14:24:33 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:33119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnobQ-0003ea-Aw for 36702@debbugs.gnu.org; Wed, 17 Jul 2019 14:24:33 -0400 Received: from [192.168.178.39] ([87.123.193.26]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mk1BG-1iC7o321FI-00kS8w; Wed, 17 Jul 2019 20:24:19 +0200 Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode To: "Basil L. Contovounesios" References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> <1440ccd1-2fbb-4f49-4b08-eb01d4b47e06@easy-emacs.de> <87h87kg2lm.fsf@tcd.ie> <87r26oeneo.fsf@tcd.ie> <7cc92318-2d81-49c0-04ef-6aee151fea73@easy-emacs.de> <877e8gpn7m.fsf@tcd.ie> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: Date: Wed, 17 Jul 2019 20:26:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <877e8gpn7m.fsf@tcd.ie> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:7EdOSSYZeBRUMhyYgJB5C0O96EXYr96rpmUDmW/strodi7aPh/9 0zeHQum2rb6zzqiWozC+Z7TjEn8ADKhh4R/OnzYVTXwVBNIaFaBF1w1gSAf+oy43EMJBH2/ tGtSudbuyZXNLSZIpQwukIF4FOk+lf7eTgiyFgKPV1s57KeYAU8Ev1Sg4hKjlnr37gSHTjc MsYnr7UhEfHHIl/sMJH1A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:TgyULg3t16k=:ykBETSQrPcHc3P021jzJPI p6maw/VS0Ojbr/X4XIQlRayeHXgnOaaKghbToVAaqdVyjcCEs5qbeD8jn9x6etLXTK/NAJaAK gjMQofpPobjbhvrtuId83p1/Ty4z0Enir43h/Tctm720QQVLLR819K79VfbPb+JZOcu4H5Tjn GGWYn3ifCQeyIon7JzwrJ6RICln8siD34HY/Rg+TFqwCqGcbSBC4bVK/P+kVu6RSscvqOxf7z +cBFnvoNGfYgTQbG0l8CZDLCZTbnBE1+mgvNCcQQpdLUVqHlOgB7LTFgxsyR3PrD+pqtCxKXX Z13YfFg8jLXD58E37eCjeolwSOXu8lIqbjBMzsaUariOIA1ZUuzyYW0H0tC5BVLRXqwDhdL6i YgTGDqMuZranmS2VHWC3K8tYtCSToUNPpuwqc9xfgADZPWAGbkrEWgbOsN+rehOqU4bDNHT4e JZYIEV8kGwO/noPRn4Of2K9pdpZ0zdLE6GIAqs8S5aZaKiqMIGs4G3bma+LAmp27KIkd1TzxR /UCC/bNGVBVlIqGguwRg8PdAxlb3nri9IPv3r+5Jf9PZbgltFlWLBKoEsfPEOWMOv0pmH6yZi +bwQD8UlneWR2bJTb15RCjfIZfPwekiNnPAp9oe8U/rTdKObmeeo0vlwKKis4vfDxYyhUuwby qQAV50R00cT8rWMHvcBWvXX2jV1bWypFSH1WED7wZrDs0s4NYhu192ZHLwTriLZOe5JO9e+sx sqAo3Map8POAFJM//Y95c+K0I77ARPpMnVD4JEZN18RQ7YbVqG6TF4RLlyerCy+QlVT3i132d 8dkOCdc+MDMmVpehnEC3b5NKJe42DidUQq/JgJZQfsEajnFIk9PzkvZroC5kU1RLjckzOcXaw wsFh4vhoY5kPTdzeCaKA== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: 36702@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 (-) On 17.07.19 19:47, Basil L. Contovounesios wrote: > Andreas Röhler writes: > >> On 17.07.19 16:38, Basil L. Contovounesios wrote: >>> "Basil L. Contovounesios" writes: >>> >>>> Andreas Röhler writes: >>>> >>>>> From my point of view it's not that much about the docu but about the design. >>>>> >>>>> Users should not be forced to add an extra argument to prevent auto-fill when it >>>>> is about a newline. >>>> Users who do not want auto-filling should not enable auto-fill-mode, >>>> either directly or by setting auto-fill-function. >>> Alternatively, users who want auto-fill-mode to ignore newlines can do >>> the following: >>> >>> (aset auto-fill-chars ?\C-j nil) >>> >>> This is documented under (info "(elisp) Commands for Insertion") and >>> (info "(elisp) Auto Filling"). >>> >> Okay, commonly there many ways in Emacs to work around an issue, which is >> great. But that doesn't solve it at source. By its semantic newline is unrelated >> to filling, from there that behavior is not to expect, idiosyncratic. > Unless you or someone else has a concrete proposal for how to fix said > idiosyncratic behaviour in a backward-compatible way, I think that ship > has sailed. > Decoupling it should not break anything. When fixed, just setting an auto-fill-function will no longer trigger auto-fill in case auto-fill-mode is off. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 15:07:31 2019 Received: (at 36702) by debbugs.gnu.org; 17 Jul 2019 19:07:32 +0000 Received: from localhost ([127.0.0.1]:53006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnpGy-0004nw-OS for submit@debbugs.gnu.org; Wed, 17 Jul 2019 15:07:29 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:34356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnpGw-0004nh-VF for 36702@debbugs.gnu.org; Wed, 17 Jul 2019 15:07:27 -0400 Received: by mail-wm1-f47.google.com with SMTP id w9so19838536wmd.1 for <36702@debbugs.gnu.org>; Wed, 17 Jul 2019 12:07:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=IHuYA9Tf7nw30wiL+7WcRbqjwQPNtZ/vEhQV7HFtQpk=; b=pYYZxGJ3Y2MJhmrFq++7/uAQH9Ec7mN42/kEnk2beDwalts8lyHc/f4IFZkjdWgZdd Rj5Etzyp+jR1DVPwoSid/7uFULlRUZGzkqUFnyjNMWHhfeEHpresjkCbxXwQJQ1c+Xr5 c+q3xrKk9rPOXOFKejfxOVsmZBIQDTMOtPhLWoyCjO+m1e0dBDDei8TaqRh+UgqTsEw5 6l4GN0lRGVVQR43Rc9D5WREs5kZF116KUeP0+bMmhmR/keMfscjM7N9NiLgMDC4fsEkj /F9Wfk+mTvxZ168yDfUkAaIZE9F2d04uPkj6DboC45Q19F/t78SdGG+DfwVElw5DJLCg 5/XQ== 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:content-transfer-encoding; bh=IHuYA9Tf7nw30wiL+7WcRbqjwQPNtZ/vEhQV7HFtQpk=; b=CxiT43w1DKo0yeNcLnzHL7q4pgHUAeeMmTnL68INh1IP5UIl7t1HabAvsM+efBk5nz oXEupF7r+0eWSj9nhtM+XQi1Ud5N5BEkwqkgBwWBlKAjz6icnrMhF2ihB6OTwHb6Crhu wQA9RC0TyQN3xgx7wTjqBdFWAIuMhtUkqJCnmtxgSHEiRmkMNK1vIxQs81764rDixfCF gOCKSI8vTxZ5ED09NMKFUU+6qKnTMmmtdFw9hoAgzFMrpYI5Ln7ZqOJxdzBULdWtwavc byGX5nx06O5NfQvxsm3WXQBjL+70nOARW4jlta11vIhdDm7H+kRxfUS1SjOim/vNmmMF 7vDA== X-Gm-Message-State: APjAAAUIPPeDoYLDKv6Fy1SMVVqKV3y/r3uprt3bJBGhCmR/C2yDic71 rXqO71IVyBhMuQ/0pF/aQ6HTWA== X-Google-Smtp-Source: APXvYqyXKb71au1TYvguzHTbHaOOiE3FKBw2NrSaKQtwvbibouiwcgC7gQ0mJKrcSe6zJqUJvd4oCQ== X-Received: by 2002:a1c:d10c:: with SMTP id i12mr37910350wmg.152.1563390440871; Wed, 17 Jul 2019 12:07:20 -0700 (PDT) Received: from localhost ([86.43.86.68]) by smtp.gmail.com with ESMTPSA id v15sm24719164wrt.25.2019.07.17.12.07.19 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 17 Jul 2019 12:07:20 -0700 (PDT) From: "Basil L. Contovounesios" To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> <1440ccd1-2fbb-4f49-4b08-eb01d4b47e06@easy-emacs.de> <87h87kg2lm.fsf@tcd.ie> <87r26oeneo.fsf@tcd.ie> <7cc92318-2d81-49c0-04ef-6aee151fea73@easy-emacs.de> <877e8gpn7m.fsf@tcd.ie> Date: Wed, 17 Jul 2019 20:07:19 +0100 In-Reply-To: ("Andreas =?utf-8?Q?R=C3=B6hler=22's?= message of "Wed, 17 Jul 2019 20:26:22 +0200") Message-ID: <87ims0o4yg.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: 36702@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 (-) Andreas R=C3=B6hler writes: > On 17.07.19 19:47, Basil L. Contovounesios wrote: >> Andreas R=C3=B6hler writes: >> >>> Okay, commonly there many ways in Emacs to work around an issue, which = is >>> great. But that doesn't solve it at source. By its semantic newline is = unrelated >>> to filling, from there that behavior is not to expect, idiosyncratic. >> Unless you or someone else has a concrete proposal for how to fix said >> idiosyncratic behaviour in a backward-compatible way, I think that ship >> has sailed. >> > Decoupling it should not break anything. When fixed, just setting an > auto-fill-function will no longer trigger auto-fill in case auto-fill-mod= e is > off. But auto-fill-function is effectively synonymous with auto-fill-mode. If the former is nil, the latter is disabled. If the former is non-nil, the latter is enabled. There is no variable auto-fill-mode, only the buffer-local variable auto-fill-function. Users and modes that do not want to enable auto-fill-mode should not make auto-fill-function non-nil. Modes that want to provide a custom auto-fill function without enabling auto-fill-mode should set normal-auto-fill-function buffer-locally instead of auto-fill-function. --=20 Basil From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 18 01:26:19 2019 Received: (at 36702) by debbugs.gnu.org; 18 Jul 2019 05:26:19 +0000 Received: from localhost ([127.0.0.1]:53268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnyvq-0005Am-Se for submit@debbugs.gnu.org; Thu, 18 Jul 2019 01:26:19 -0400 Received: from mout.kundenserver.de ([217.72.192.74]:59083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnyvp-0005AZ-Fh for 36702@debbugs.gnu.org; Thu, 18 Jul 2019 01:26:18 -0400 Received: from [192.168.178.39] ([87.123.193.77]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mw8gc-1ig5W712iS-00s2Mp; Thu, 18 Jul 2019 07:26:07 +0200 Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode To: "Basil L. Contovounesios" References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> <1440ccd1-2fbb-4f49-4b08-eb01d4b47e06@easy-emacs.de> <87h87kg2lm.fsf@tcd.ie> <87r26oeneo.fsf@tcd.ie> <7cc92318-2d81-49c0-04ef-6aee151fea73@easy-emacs.de> <877e8gpn7m.fsf@tcd.ie> <87ims0o4yg.fsf@tcd.ie> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <995fa363-a165-c022-ed47-03cb1fd0ac65@easy-emacs.de> Date: Thu, 18 Jul 2019 07:28:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <87ims0o4yg.fsf@tcd.ie> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Provags-ID: V03:K1:3wQARsxk3OSq0GJcp4wsJomAphiAWCnxSsMQfrPYF+zLGWLntxI gMNkeeFm76O72rgj8ztJ9+JqTfxHrDaz48Km5d41IIWEV2vawVNgFV3pE/vPq4MiErKui29 OaJbSINVamoG2J35SE4ErYtCfnBwctZgblvDiH9SffuiuP/Rbv9AcgPTMbmpr0VUTH1UvIC upPuIGE5VaAYOUlyV7akg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:BXSLgfRkbX8=:92VfUsOGtvILo3ZKr6XgRi /31LnFtc13eVkcY1ihOzsa/51NoX5/haiuex8+B/g3M3FANnRFzveeA+S9Wta/E/g5vkTWgmT 4BhlH29Kmi4+hUr8uAPmPPgTS1KzchJA0fhmCh9R5jsOp80+NKk+xdssX8ZciiwKL6NoD/siO dBUznYWYi71q7xjkLVD2MtxfLsnR0ePsyLImOP+kyYQIhXDjNkrMZAdMC9VL1SYk3jaQhuSxz ucs2AZ0vlUVrKk6xTnglCl/uQDNL434j5HLvdhWk+8oPsWX2wPcP0P1KRV5aIzgHKBbsW7J25 ObTdoaGaxLJvb+SvzbqGe6Dn69AkNQyCo+neLvSh4lKXDmuclzThrZFFZVF9NzcBxDI+oxX6B slW6YP+855RogdByOf/Ybw1m880dbCt54sDEEjjX300wfwp40qOisP7lcVwCGY73ei4WXfDWo QJsMguYumSabo/0LDIeRtMnpgEBvEYkjmyoKyrO1sBFubUsiiK0LTV7CFutrgrcBSeZO+HSBp o0BdQ3yXEDG2UsBfwiU8+t5+LiejiJ315vMW13bAwY1Pp+NQdq4d12Ly7grA9VLlSk61aJSCJ gjiV6YATNIc2g26o2akblYkr1zxZ/kwfX2btJH655Y8fOgI14dCYw4020wZcwCjBH8xOk9eA6 mnbVc6Odo1OlzJQUYOEt8XsJsZ1vSOB+Zc3Gud46MoEufuNkBVUnE4IZx09VBT2qo3DT6U77b RPefWbOfRrb3BgjXtVwEQp/yvCIF9f2LYgiiXSmAU39mcH7yQ5QnLFjVs1iUqDRqITjYnq8Kd JXzBVN9 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: 36702@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 (-) On 17.07.19 21:07, Basil L. Contovounesios wrote: > Andreas Röhler writes: > >> On 17.07.19 19:47, Basil L. Contovounesios wrote: >>> Andreas Röhler writes: >>> >>>> Okay, commonly there many ways in Emacs to work around an issue, which is >>>> great. But that doesn't solve it at source. By its semantic newline is unrelated >>>> to filling, from there that behavior is not to expect, idiosyncratic. >>> Unless you or someone else has a concrete proposal for how to fix said >>> idiosyncratic behaviour in a backward-compatible way, I think that ship >>> has sailed. >>> >> Decoupling it should not break anything. When fixed, just setting an >> auto-fill-function will no longer trigger auto-fill in case auto-fill-mode is >> off. > But auto-fill-function is effectively synonymous with auto-fill-mode. Consider that a design flaw. Just setting a var should not trigger a mode. > If the former is nil, the latter is disabled. If the former is non-nil, > the latter is enabled. There is no variable auto-fill-mode, only the > buffer-local variable auto-fill-function. > > Users and modes that do not want to enable auto-fill-mode should not > make auto-fill-function non-nil. > > Modes that want to provide a custom auto-fill function without enabling > auto-fill-mode should set normal-auto-fill-function buffer-locally > instead of auto-fill-function. Thanks for the hint. Will use it as a workaround. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 18 09:32:51 2019 Received: (at 36702) by debbugs.gnu.org; 18 Jul 2019 13:32:51 +0000 Received: from localhost ([127.0.0.1]:53618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ho6Wg-0000f0-MT for submit@debbugs.gnu.org; Thu, 18 Jul 2019 09:32:51 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:50824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ho6Wf-0000eh-1T for 36702@debbugs.gnu.org; Thu, 18 Jul 2019 09:32:49 -0400 Received: by mail-wm1-f43.google.com with SMTP id v15so25647977wml.0 for <36702@debbugs.gnu.org>; Thu, 18 Jul 2019 06:32:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=zfHUVN7ogXwVWMMmtPbZzzFvUXdZs2obsQGz5/u9wU8=; b=dGe+pboK6viOIlJhBmWCyKHqyKEBkHVykBvLkrGQKI0lNSniE0Q2My5tE1tAvApAh/ TYKL9Gx4TozGlMG9Y/hHDUlCnvQrwSLjrKIWkv5kOvdPSXzZUhilsfdpEdNIMVCmxUCd JHlB0Vk2DJdJpCbdGXUeMo6VzSKlrX1n+K3FO/pfb+36hMv+oFA9JuyE0kARCCWFCmhk A7TZI5nr2jf7gdCzxVoA0lim9HP8iAvGwklEZvnJJCYZwWqxR7544rrORYdummwmo6Up CiBi9gn0oDj2c4wpNz+TU+feiDnJ0RrcTfAwT+XNYe/l0J+05go/iebR/FgA43B2sEdQ +nGw== 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:content-transfer-encoding; bh=zfHUVN7ogXwVWMMmtPbZzzFvUXdZs2obsQGz5/u9wU8=; b=J75r4Xj2+v3j8TDKFgy0t7n4MGcGHJEvGvocjqWxGqNACXorCWW5COi51BMMrl7apH 3U8RTbUzdIyuxWseAGU2XZdoDNhJn5UdGX8wGTDOemDJ/8iL8MsLOzN670z5PdpS88zt 5HZ/6CyzJRnQ11ntshpaihduzzEgZBr5WV7INMRHpZt+XpPvfO0pvUKdNE437wbhQ2HD iJr9d2KaCNFzw2Q94Ic2W2av1aVrk/zCJH9meJODDA45e6IiqxtIBttb2DUiBFuuEeM/ mHXw5uOlSREFzLrsuIdVbOc8pfVz13XmXI6BO+4ePPb/rOy1hQr04uMJmQVYo0zo8j3g xAew== X-Gm-Message-State: APjAAAXcVj4UoyBlCcc1wPPTB+tC/pOAmT84/aIFEDCpEpkEPo3fohC9 OV+QMXjSxtT7JiTC2z5IaiEi4A== X-Google-Smtp-Source: APXvYqwF1cjUjvJiW+iesESCxq15CuwN4Ru5xqplkHOtPpsiMn82h/+9veIqzGrjadPbbcQ0JmrbQA== X-Received: by 2002:a1c:7d4e:: with SMTP id y75mr43050782wmc.169.1563456762953; Thu, 18 Jul 2019 06:32:42 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e]) by smtp.gmail.com with ESMTPSA id h16sm26614965wrv.88.2019.07.18.06.32.42 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 18 Jul 2019 06:32:42 -0700 (PDT) From: "Basil L. Contovounesios" To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> <1440ccd1-2fbb-4f49-4b08-eb01d4b47e06@easy-emacs.de> <87h87kg2lm.fsf@tcd.ie> <87r26oeneo.fsf@tcd.ie> <7cc92318-2d81-49c0-04ef-6aee151fea73@easy-emacs.de> <877e8gpn7m.fsf@tcd.ie> <87ims0o4yg.fsf@tcd.ie> <995fa363-a165-c022-ed47-03cb1fd0ac65@easy-emacs.de> Date: Thu, 18 Jul 2019 14:32:41 +0100 In-Reply-To: <995fa363-a165-c022-ed47-03cb1fd0ac65@easy-emacs.de> ("Andreas =?utf-8?Q?R=C3=B6hler=22's?= message of "Thu, 18 Jul 2019 07:28:06 +0200") Message-ID: <87k1cfv56u.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: 36702@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 (-) Andreas R=C3=B6hler writes: > On 17.07.19 21:07, Basil L. Contovounesios wrote: >> Andreas R=C3=B6hler writes: >> >>> Decoupling it should not break anything. When fixed, just setting an >>> auto-fill-function will no longer trigger auto-fill in case auto-fill-m= ode is >>> off. >> But auto-fill-function is effectively synonymous with auto-fill-mode. > > Consider that a design flaw. Just setting a var should not trigger a mode. Depends on how you set the variable: - Most minor modes can be enabled by customising their mode variable. - The mode variable of auto-fill-mode is auto-fill-function. - Calling auto-fill-mode directly does little more than set auto-fill-function. - In this sense it's similar to a glorified indent-tabs-mode. - Setting the mode variable of auto-fill-mode and being surprised when auto-fill ensues in certain cases is a pilot error. For better or worse, this is all long-standing and documented behaviour, so unless you have concrete proposals for how to improve on said design flaw in a backward-compatible way, I'm not sure there's much to be done except for clarify the documentation where possible. Thanks, --=20 Basil From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 15 10:36:06 2019 Received: (at 36702) by debbugs.gnu.org; 15 Sep 2019 14:36:06 +0000 Received: from localhost ([127.0.0.1]:48579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9VdF-0002mR-Le for submit@debbugs.gnu.org; Sun, 15 Sep 2019 10:36:05 -0400 Received: from quimby.gnus.org ([80.91.231.51]:35168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9VdC-0002ly-5L for 36702@debbugs.gnu.org; Sun, 15 Sep 2019 10:36:03 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i9Vd7-0001Pm-FT; Sun, 15 Sep 2019 16:35:59 +0200 From: Lars Ingebrigtsen To: "Basil L. Contovounesios" Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> Date: Sun, 15 Sep 2019 16:35:57 +0200 In-Reply-To: <87ims0hmxb.fsf@tcd.ie> (Basil L. Contovounesios's message of "Wed, 17 Jul 2019 13:21:04 +0100") Message-ID: <87zhj5vd82.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: "Basil L. Contovounesios" writes: > * doc/lispref/text.texi (Commands for Insertion): > * lisp/simple.el (newline): Do not mention conditions specific to > 'do-auto-fill' under documentation of 'newline' (bug#36702). 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: 36702 Cc: Andreas =?utf-8?Q?R=C3=B6hler?= , 36702@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 (-) "Basil L. Contovounesios" writes: > * doc/lispref/text.texi (Commands for Insertion): > * lisp/simple.el (newline): Do not mention conditions specific to > 'do-auto-fill' under documentation of 'newline' (bug#36702). [etc] I think this doc clarification makes sense, but it was not applied? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 07 01:04:04 2019 Received: (at 36702) by debbugs.gnu.org; 7 Oct 2019 05:04:04 +0000 Received: from localhost ([127.0.0.1]:47227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHLBj-0005KS-N2 for submit@debbugs.gnu.org; Mon, 07 Oct 2019 01:04:03 -0400 Received: from quimby.gnus.org ([80.91.231.51]:56690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHLBf-0005K5-QE for 36702@debbugs.gnu.org; Mon, 07 Oct 2019 01:04:00 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iHLBb-00063M-7T; Mon, 07 Oct 2019 07:03:58 +0200 From: Lars Ingebrigtsen To: "Basil L. Contovounesios" Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> <87zhj5vd82.fsf@gnus.org> Date: Mon, 07 Oct 2019 07:03:54 +0200 In-Reply-To: <87zhj5vd82.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 15 Sep 2019 16:35:57 +0200") Message-ID: <87k19h87ut.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: Lars Ingebrigtsen writes: > "Basil L. Contovounesios" writes: > >> * doc/lispref/text.texi (Commands for Insertion): >> * lisp/simple.el (newline): Do not mention conditions specific to >> 'do-auto-fill' unde [...] 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: 36702 Cc: Andreas =?utf-8?Q?R=C3=B6hler?= , 36702@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 (-) Lars Ingebrigtsen writes: > "Basil L. Contovounesios" writes: > >> * doc/lispref/text.texi (Commands for Insertion): >> * lisp/simple.el (newline): Do not mention conditions specific to >> 'do-auto-fill' under documentation of 'newline' (bug#36702). > > [etc] > > I think this doc clarification makes sense, but it was not applied? Basil, I think the right thing to do here is to apply the patch and close the bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 07 14:28:12 2019 Received: (at 36702) by debbugs.gnu.org; 7 Oct 2019 18:28:12 +0000 Received: from localhost ([127.0.0.1]:49091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHXjv-0007rZ-P2 for submit@debbugs.gnu.org; Mon, 07 Oct 2019 14:28:12 -0400 Received: from mail-wm1-f49.google.com ([209.85.128.49]:37774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHXju-0007rL-0z for 36702@debbugs.gnu.org; Mon, 07 Oct 2019 14:28:11 -0400 Received: by mail-wm1-f49.google.com with SMTP id f22so510006wmc.2 for <36702@debbugs.gnu.org>; Mon, 07 Oct 2019 11:28:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=XqVkyDMoxJJU1OYpCwFipxStu8U84/67sNFLcG23mB0=; b=c0rtoG9Ug8alGwb8x1Co3n1lWbyd9mXBFxbh0s6MZM4xRhJRtgFJUGIpmt9K7LmJhy f4YFAq9I+LugTWGLAK+06TmRYOCyc4wIzGG8GxnrWlYelwFQ5pj+HzDd5JhunEVKlxyh u0zpEVy2guiFsBeBKlW4YD+ETNZ/NzPVqNQg3PpGeYViaeKkUBwWORbfCkmkLNuI0XCw vtkcVGu3dpRHvTLM3c13eh2hy/uRcsaWXiVwHgtcuQsy2JgGY1nzD0fnlVwvItVWz3ok LkEvjgxYV/rq9h8/M4xbH09R7m1nnDsRrmfQVyhWxyF0Z3R8unzqiiN2E2sRmuHrWlOR t9Cw== 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=XqVkyDMoxJJU1OYpCwFipxStu8U84/67sNFLcG23mB0=; b=X3w31wtea3/9DOYCDZQ6jA8SwfpaEqoPJz9GE5D3pyn9uNYFTYURbqgI1PRKP3Apd3 CGzPRnf2gpFBkWa07+psCNaPRPA2OPwKggAwNcC11QhnuAvHraDlqz3aeQinX3BmgYQl 8TRAhQ4JnqzJL82tt+zHM6M9i+v2JOCfoXzTFzWXNIturihlhIXsrfQOi8j9BGl6Q0TM MsBhgJcpoZMYbc6aw+6+C+nk1PdZOL1FPNN3bcTpA/xUnI41yXlRjeyuOKV+KACLozlC c5zRLNJrRG0SRbyScWKdnV11d2NihbNVDp0dGT43ElmfAFGlxIXXC1CihhmbPIRaNQIv yqpA== X-Gm-Message-State: APjAAAXRFgT16MRpTFpjZTJzjNUBleX7L0L18FU7Ze49W/ywNJGx7H63 oMlE9UfJLegLvuAx5AFpN3E69Q== X-Google-Smtp-Source: APXvYqwwcPLEFkcmTFd3JG4IANuaFe+CZix44/hlK/5KdqDSPGdg7gautqvCdJdg9+FxsJwcMdlzYA== X-Received: by 2002:a1c:2382:: with SMTP id j124mr518211wmj.154.1570472883598; Mon, 07 Oct 2019 11:28:03 -0700 (PDT) Received: from localhost ([134.226.214.246]) by smtp.gmail.com with ESMTPSA id i1sm666535wmb.19.2019.10.07.11.28.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 11:28:02 -0700 (PDT) From: "Basil L. Contovounesios" To: Lars Ingebrigtsen Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> <87zhj5vd82.fsf@gnus.org> <87k19h87ut.fsf@gnus.org> Date: Mon, 07 Oct 2019 19:27:53 +0100 In-Reply-To: <87k19h87ut.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 07 Oct 2019 07:03:54 +0200") Message-ID: <878spwtnpy.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36702 Cc: Andreas =?utf-8?Q?R=C3=B6hler?= , 36702@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 (-) Lars Ingebrigtsen writes: > Lars Ingebrigtsen writes: > >> "Basil L. Contovounesios" writes: >> >>> * doc/lispref/text.texi (Commands for Insertion): >>> * lisp/simple.el (newline): Do not mention conditions specific to >>> 'do-auto-fill' under documentation of 'newline' (bug#36702). >> >> [etc] >> >> I think this doc clarification makes sense, but it was not applied? > > Basil, I think the right thing to do here is to apply the patch and > close the bug report. Oops, sorry for neglecting this. Are we still pushing doc fixes to emacs-26, or should this[1] go to master? Eli? [1]: https://debbugs.gnu.org/36702#14 Thanks, -- Basil From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 07 14:52:18 2019 Received: (at 36702) by debbugs.gnu.org; 7 Oct 2019 18:52:18 +0000 Received: from localhost ([127.0.0.1]:49117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHY7G-0008Rb-Ar for submit@debbugs.gnu.org; Mon, 07 Oct 2019 14:52:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHY7F-0008RP-8M for 36702@debbugs.gnu.org; Mon, 07 Oct 2019 14:52:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iHY79-00026D-Re; Mon, 07 Oct 2019 14:52:11 -0400 Received: from [176.228.60.248] (port=2761 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iHY77-0005rv-Tr; Mon, 07 Oct 2019 14:52:10 -0400 Date: Mon, 07 Oct 2019 21:52:03 +0300 Message-Id: <83d0f8z8vg.fsf@gnu.org> From: Eli Zaretskii To: "Basil L. Contovounesios" In-reply-to: <878spwtnpy.fsf@tcd.ie> (contovob@tcd.ie) Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> <87zhj5vd82.fsf@gnus.org> <87k19h87ut.fsf@gnus.org> <878spwtnpy.fsf@tcd.ie> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36702 Cc: larsi@gnus.org, 36702@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 (---) > From: "Basil L. Contovounesios" > Date: Mon, 07 Oct 2019 19:27:53 +0100 > Cc: 36702@debbugs.gnu.org > > Oops, sorry for neglecting this. Are we still pushing doc fixes to > emacs-26, or should this[1] go to master? Eli? Please push to master. The emacs-26 branch is for all practical purposes a thing of past at this point. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 07 19:14:56 2019 Received: (at control) by debbugs.gnu.org; 7 Oct 2019 23:14:57 +0000 Received: from localhost ([127.0.0.1]:49263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHcDQ-0002FX-Ij for submit@debbugs.gnu.org; Mon, 07 Oct 2019 19:14:56 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:53661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHcDO-0002FE-R7 for control@debbugs.gnu.org; Mon, 07 Oct 2019 19:14:55 -0400 Received: by mail-wm1-f48.google.com with SMTP id i16so1123129wmd.3 for ; Mon, 07 Oct 2019 16:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=BqIVnMsxL34RK1WCxRF4GH7X7CWWYzk2CDymI7fiEiU=; b=Pqtv8k2usEQrnE6OpnHA/aDj4ruWiLODdxOgRSB4rrLE59MndGOhpIFMZtZz7e1UvL fT6Ebez3TpISxACnpI1JtbKimJF5i5sumHcslotENZ2bPJ9E8y5Us35izR09Utyw0549 73v1Ek/uW6PXXcxyG5vkKADYhfKJCvAJ0zwqQ4cdQ95hoTrgGP1CRLyxZkookHwr3x+i RPpckC+m1Yv6GoEnhHjR9IWQZEqzn2vSv/ZFv0c0IeFn03jGEAz0wIhMw9kGKcFMmq9K QCR0cqU5/3/QXHaQV1g68UsvOolPMb1Lhr0dOLco7rArLe8xkUZL1/LMwvL8QFeGsG2+ SLqQ== 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=BqIVnMsxL34RK1WCxRF4GH7X7CWWYzk2CDymI7fiEiU=; b=hLfHGk2RlwwCUL33rQxIWcBicP89wF8pu7jkyQaDcFhxbZIJfXbVQXbauWgSHmHkQ1 cWJOqYCWOlIHqo8EjMZAE9n8YL+Q9t1QOD/bCHSc3+z5DO7bDPwsaXwzxUfvqdzKKOZZ oU4/Hq1jgcmyXxijcP/ov7zYQNmeftOOCmcsAs/NEyFwrnK3c1Sp5us8Lw+OxzQ+nVyK r4uaj0a84XEtmkVyopCkLLFe5Mhl5wYKl/2e+4zJESSSy9nKGyGi3hCICKbZ7LFXceb9 pSnWnBbB2pzuiEeTKaUXh8KlcmpsCrDVsLFRAGu9Vt80DaGHYmVW4I0bRjQBQK++68wj 55OQ== X-Gm-Message-State: APjAAAXXoZ5Cthjnsbitm6KA8uUv5gPsTCz3dqwm52FkAf/M4KCxGiGY dEgsaGVGj6xMnt0F7jzSYejefg== X-Google-Smtp-Source: APXvYqxKejDi4VD/acENvrABX8DabYms/WuhEgh+xzuzMhwaGZYDtB3OZHzfbpG85oAU1wPxb9393w== X-Received: by 2002:a1c:7c16:: with SMTP id x22mr1264649wmc.177.1570490088900; Mon, 07 Oct 2019 16:14:48 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2]) by smtp.gmail.com with ESMTPSA id l11sm1195349wmh.34.2019.10.07.16.14.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 16:14:47 -0700 (PDT) From: "Basil L. Contovounesios" To: Eli Zaretskii Subject: Re: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> <87zhj5vd82.fsf@gnus.org> <87k19h87ut.fsf@gnus.org> <878spwtnpy.fsf@tcd.ie> <83d0f8z8vg.fsf@gnu.org> Date: Tue, 08 Oct 2019 00:14:45 +0100 In-Reply-To: <83d0f8z8vg.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 07 Oct 2019 21:52:03 +0300") Message-ID: <87o8ysf8re.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: 36702-done@debbugs.gnu.org, larsi@gnus.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 36702 fixed close 36702 27.1 quit Eli Zaretskii writes: >> From: "Basil L. Contovounesios" >> Date: Mon, 07 Oct 2019 19:27:53 +0100 >> Cc: 36702@debbugs.gnu.org >> >> Oops, sorry for neglecting this. Are we still pushing doc fixes to >> emacs-26, or should this[1] go to master? Eli? > > Please push to master. Done[1], and I'm therefore closing this report. [1]: Clarify docs on newline and auto-fill-mode 373ffc5931 2019-10-08 00:10:19 +0100 https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=373ffc59317cb96e253a0b0939b921e9172b44ff > The emacs-26 branch is for all practical purposes a thing of past at > this point. That was my impression, but I wanted to check since emacs-26 was pushed to only yesterday. Thanks, -- Basil From unknown Sun Jun 15 08:14:58 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, 05 Nov 2019 12: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