From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 05:36:43 2012 Received: (at submit) by debbugs.gnu.org; 11 Sep 2012 09:36:43 +0000 Received: from localhost ([127.0.0.1]:53665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBMtf-0007PY-0m for submit@debbugs.gnu.org; Tue, 11 Sep 2012 05:36:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47773) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBMtb-0007PQ-B7 for submit@debbugs.gnu.org; Tue, 11 Sep 2012 05:36:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBMso-0005lO-B4 for submit@debbugs.gnu.org; Tue, 11 Sep 2012 05:35:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:40274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBMsn-0005lF-TZ for submit@debbugs.gnu.org; Tue, 11 Sep 2012 05:35:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBMsi-0004NQ-0L for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 05:35:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBMsc-0005jo-AV for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 05:35:43 -0400 Received: from forward5h.mail.yandex.net ([84.201.186.23]:45116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBMsb-0005jW-Gh for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 05:35:38 -0400 Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward5h.mail.yandex.net (Yandex) with ESMTP id 27B6ED0106D for ; Tue, 11 Sep 2012 13:35:33 +0400 (MSK) Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id 0DB901340127 for ; Tue, 11 Sep 2012 13:35:32 +0400 (MSK) Received: from 5x166x246x245.dynamic.spb.ertelecom.ru (5x166x246x245.dynamic.spb.ertelecom.ru [5.166.246.245]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ZWUmCSkB-ZWUutOuY; Tue, 11 Sep 2012 13:35:32 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1347356132; bh=L5Kk02a/G2wgwna/BAbAEGJYl6bSYT9+IsMn6Mat9mY=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type; b=Qa6lODminapdGcRgTpmqUPBzT+j47J1yiYg0TEOzu/AxoLWwSUu27rD7SwfCHYLOO PRHkKKVGra7xy7RZpi0C25CkvF6/tBJJLNEgfFEcVO95h6XHkniJnN1R4LmSz0qTHj lS3DWhk5n36IvSotTYbNVVnvPJzIPt9Tci12eUik= Message-ID: <504F05EA.6000703@yandex.ru> Date: Tue, 11 Sep 2012 13:35:38 +0400 From: Dmitry Gutov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.2.50; M-j should be bound to default-indent-new-line Content-Type: multipart/mixed; boundary="------------000701080602080402010004" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) This is a multi-part message in MIME format. --------------000701080602080402010004 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Tags: patch A major mode can change the value of comment-line-break-function, but currently it's only used from `do-auto-fill'. I think that doesn't make sense, the value should affect the M-j command, too. default-indent-new-line does pretty much that. The function could use a better name, though - it isn't used in any variables as default value. Inspired by bugs 6806 and 10367. In GNU Emacs 24.2.50.1 (i386-mingw-nt6.1.7601) of 2012-09-11 on SOL Bzr revision: 109973 eggert@cs.ucla.edu-20120911012056-kegco8vmanqs0kpg Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (3.4) --cflags -IJ:/Apps/system/gnuwin32/include' --------------000701080602080402010004 Content-Type: text/plain; charset=windows-1251; name="m-j.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="m-j.diff" === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2012-09-10 19:22:53 +0000 +++ lisp/ChangeLog 2012-09-11 09:25:45 +0000 @@ -1,3 +1,12 @@ +2012-09-11 Dmitry Gutov + + * simple.el (default-indent-new-line): Fix the doctring. + * bindings.el (esc-map): Rebind M-j and C-M-j to + default-indent-new-line. + * textmodes/refill.el (refill-post-command-function): Replace + indent-new-comment-line with default-indent-new-line in the + special cases list. + 2012-09-10 Michael R. Mauger * progmodes/sql.el: Version 3.1 === modified file 'lisp/bindings.el' --- lisp/bindings.el 2012-08-15 16:29:11 +0000 +++ lisp/bindings.el 2012-09-11 06:35:54 +0000 @@ -1105,8 +1105,8 @@ (define-key ctl-x-map "\C-t" 'transpose-lines) (define-key esc-map ";" 'comment-dwim) -(define-key esc-map "j" 'indent-new-comment-line) -(define-key esc-map "\C-j" 'indent-new-comment-line) +(define-key esc-map "j" 'default-indent-new-line) +(define-key esc-map "\C-j" 'default-indent-new-line) (define-key ctl-x-map ";" 'comment-set-column) (define-key ctl-x-map "f" 'set-fill-column) (define-key ctl-x-map "$" 'set-selective-display) === modified file 'lisp/simple.el' --- lisp/simple.el 2012-09-07 08:58:31 +0000 +++ lisp/simple.el 2012-09-11 06:34:40 +0000 @@ -5501,7 +5501,7 @@ (defun default-indent-new-line (&optional soft) "Break line at point and indent. -If a comment syntax is defined, call `comment-indent-new-line'. +If a comment syntax is defined, call `comment-line-break-function'. The inserted newline is marked hard if variable `use-hard-newlines' is true, unless optional argument SOFT is non-nil." === modified file 'lisp/textmodes/refill.el' --- lisp/textmodes/refill.el 2012-07-11 23:13:41 +0000 +++ lisp/textmodes/refill.el 2012-09-11 06:50:28 +0000 @@ -179,7 +179,7 @@ (refill-fill-paragraph-at refill-doit) (setq refill-doit nil))) ((or `quoted-insert `fill-paragraph `fill-region) nil) - ((or `newline `newline-and-indent `open-line `indent-new-comment-line + ((or `newline `newline-and-indent `open-line `default-indent-new-line `reindent-then-newline-and-indent) ;; Don't zap what was just inserted. (save-excursion --------------000701080602080402010004-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 24 01:12:03 2016 Received: (at 12413) by debbugs.gnu.org; 24 Feb 2016 06:12:03 +0000 Received: from localhost ([127.0.0.1]:42324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYSg7-0008PZ-B7 for submit@debbugs.gnu.org; Wed, 24 Feb 2016 01:12:03 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:47577) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYSg6-0008PL-4K for 12413@debbugs.gnu.org; Wed, 24 Feb 2016 01:12:02 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aYSfj-0002n3-1F; Wed, 24 Feb 2016 07:11:39 +0100 From: Lars Ingebrigtsen To: Dmitry Gutov Subject: Re: bug#12413: 24.2.50; M-j should be bound to default-indent-new-line References: <504F05EA.6000703@yandex.ru> Date: Wed, 24 Feb 2016 17:11:35 +1100 In-Reply-To: <504F05EA.6000703@yandex.ru> (Dmitry Gutov's message of "Tue, 11 Sep 2012 13:35:38 +0400") Message-ID: <87povmd4dk.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aYSfj-0002n3-1F X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1456899100.44554@oGBxSe0eNYKBgS25Z0K8NQ X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 12413 Cc: 12413@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: 0.0 (/) Dmitry Gutov writes: > A major mode can change the value of comment-line-break-function, but > currently it's only used from `do-auto-fill'. I think that doesn't make > sense, the value should affect the M-j command, too. > > default-indent-new-line does pretty much that. The function could use a > better name, though - it isn't used in any variables as default value. [...] I think this makes sense, but it wasn't applied at the time (three years ago). Is this still an issue? > (define-key esc-map ";" 'comment-dwim) > -(define-key esc-map "j" 'indent-new-comment-line) > -(define-key esc-map "\C-j" 'indent-new-comment-line) > +(define-key esc-map "j" 'default-indent-new-line) > +(define-key esc-map "\C-j" 'default-indent-new-line) > (define-key ctl-x-map ";" 'comment-set-column) > (define-key ctl-x-map "f" 'set-fill-column) > (define-key ctl-x-map "$" 'set-selective-display) > > === modified file 'lisp/simple.el' > --- lisp/simple.el 2012-09-07 08:58:31 +0000 > +++ lisp/simple.el 2012-09-11 06:34:40 +0000 > @@ -5501,7 +5501,7 @@ > > (defun default-indent-new-line (&optional soft) > "Break line at point and indent. > -If a comment syntax is defined, call `comment-indent-new-line'. > +If a comment syntax is defined, call `comment-line-break-function'. > > The inserted newline is marked hard if variable `use-hard-newlines' is true, > unless optional argument SOFT is non-nil." > > === modified file 'lisp/textmodes/refill.el' > --- lisp/textmodes/refill.el 2012-07-11 23:13:41 +0000 > +++ lisp/textmodes/refill.el 2012-09-11 06:50:28 +0000 > @@ -179,7 +179,7 @@ > (refill-fill-paragraph-at refill-doit) > (setq refill-doit nil))) > ((or `quoted-insert `fill-paragraph `fill-region) nil) > - ((or `newline `newline-and-indent `open-line `indent-new-comment-line > + ((or `newline `newline-and-indent `open-line `default-indent-new-line > `reindent-then-newline-and-indent) > ;; Don't zap what was just inserted. > (save-excursion > -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 24 10:04:39 2016 Received: (at 12413) by debbugs.gnu.org; 24 Feb 2016 15:04:40 +0000 Received: from localhost ([127.0.0.1]:43971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYazX-0003Ak-QX for submit@debbugs.gnu.org; Wed, 24 Feb 2016 10:04:39 -0500 Received: from mail-wm0-f41.google.com ([74.125.82.41]:35965) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYazW-0003AY-W7 for 12413@debbugs.gnu.org; Wed, 24 Feb 2016 10:04:39 -0500 Received: by mail-wm0-f41.google.com with SMTP id g62so276007620wme.1 for <12413@debbugs.gnu.org>; Wed, 24 Feb 2016 07:04:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=WTD+mIwY5UMHkaZGvzm4LNQWPzNaOSNEvFH1xwI7U8Y=; b=vEfqUB1qzBeuCtmBDxeHz38BAMwRgC0IyWc8Bh0L0wF4/ex6XU3lzHX+n0ZgtWs873 aARwD+rN3TeLbnm/SXOwSf82KPMOlsVFVZ5hVLbOuikuoS9Tp8ODTHQT2Fe2uMyVuIXf E77yAxZ3vFw0XotDS8+ZTuF55D60WKwOF6z4/d+ZtDI/7JoL9EI5ob7jzldXnBEpNxoG Dbn5QW7CgHW/OCdPBR/AbfKwRVVff8wUziGK3JQGkWL4VjdGrGySCXLROVBFsgUoFJEA RG62xQfUCIA0PbbkSpVx6Ik3Cg/UjUUGko6o1mgLCw+X4JH1SaYOlCSZsJhl5oFOfjcl XeVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=WTD+mIwY5UMHkaZGvzm4LNQWPzNaOSNEvFH1xwI7U8Y=; b=Ed0xgH9pvVl2KXi/Gb5TjvEYJm8jv4sgCjXp1ASELCMxv1PqhS2/ZzM3njVvUoE3CX +DdVFVQM35QtF01pOfarv24Mw1abpuTq4ptejBC9c4Muz7ZS6VXdMtYMQhOuPHy4fwvv V/KGZ5rz6JWtha9WHI2d67xMK0Z/TjS0PcZHkW8XIA31xDPEcX9TSaOAnk4iY0vY9dZd mvrmnjIQXGKEqdIGWdHjB2acAk9w/5+xYGJ77lQ1gxTh4wPpWPzOwoBxDHBw7Nuxxw4/ 0D/kQOayeVosH1WFYLq9dlhaerwnjy0/yF3+HWSFw6+4lg6hCHVwXHeOS1xHAp/pX11i oFrA== X-Gm-Message-State: AG10YOTzVWHXEbpYuAdoAxfqQCUj91UOLWU3WYNDnANADbfVS+QqGM1fO2dLjm4y+8iaRg== X-Received: by 10.28.98.84 with SMTP id w81mr23653171wmb.57.1456326273467; Wed, 24 Feb 2016 07:04:33 -0800 (PST) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id di1sm3448667wjc.3.2016.02.24.07.04.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Feb 2016 07:04:32 -0800 (PST) Subject: Re: bug#12413: 24.2.50; M-j should be bound to default-indent-new-line To: Lars Ingebrigtsen References: <504F05EA.6000703@yandex.ru> <87povmd4dk.fsf@gnus.org> From: Dmitry Gutov Message-ID: <9e345bdb-63c0-b283-4dac-77394871eaf8@yandex.ru> Date: Wed, 24 Feb 2016 17:04:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <87povmd4dk.fsf@gnus.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 12413 Cc: 12413@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: -0.5 (/) On 02/24/2016 08:11 AM, Lars Ingebrigtsen wrote: > I think this makes sense, but it wasn't applied at the time (three years > ago). Is this still an issue? Yup! Apparently, it's not very urgent. In the meantime, I've worked around this in js2-mode by binding comment-line-break-function's value directly to M-j. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 25 00:44:28 2016 Received: (at 12413) by debbugs.gnu.org; 25 Feb 2016 05:44:28 +0000 Received: from localhost ([127.0.0.1]:44536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYoiy-0004k7-1p for submit@debbugs.gnu.org; Thu, 25 Feb 2016 00:44:28 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:56891) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYoiw-0004jz-Gr for 12413@debbugs.gnu.org; Thu, 25 Feb 2016 00:44:26 -0500 Received: from [175.103.25.178] (helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aYoia-0003Yo-4i; Thu, 25 Feb 2016 06:44:04 +0100 From: Lars Ingebrigtsen To: Dmitry Gutov Subject: Re: bug#12413: 24.2.50; M-j should be bound to default-indent-new-line References: <504F05EA.6000703@yandex.ru> Date: Thu, 25 Feb 2016 16:13:59 +1030 In-Reply-To: <504F05EA.6000703@yandex.ru> (Dmitry Gutov's message of "Tue, 11 Sep 2012 13:35:38 +0400") Message-ID: <87vb5dxs2o.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aYoia-0003Yo-4i X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1456983844.95723@4o5Ak3bafbx1pR9l8FKxrA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 12413 Cc: 12413@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: 0.0 (/) Dmitry Gutov writes: > A major mode can change the value of comment-line-break-function, but > currently it's only used from `do-auto-fill'. I think that doesn't make > sense, the value should affect the M-j command, too. [...] > -(define-key esc-map "j" 'indent-new-comment-line) > -(define-key esc-map "\C-j" 'indent-new-comment-line) > +(define-key esc-map "j" 'default-indent-new-line) > +(define-key esc-map "\C-j" 'default-indent-new-line) [...] > - ((or `newline `newline-and-indent `open-line `indent-new-comment-line > + ((or `newline `newline-and-indent `open-line `default-indent-new-line I think this makes sense... probably... does anybody want to weigh in on this? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 27 10:58:19 2019 Received: (at 12413) by debbugs.gnu.org; 27 Jun 2019 14:58:19 +0000 Received: from localhost ([127.0.0.1]:39211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgVqr-0005ZZ-Kl for submit@debbugs.gnu.org; Thu, 27 Jun 2019 10:58:19 -0400 Received: from quimby.gnus.org ([80.91.231.51]:43442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgVqo-0005ZO-Qu for 12413@debbugs.gnu.org; Thu, 27 Jun 2019 10:58:16 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgVqk-0006lm-UK; Thu, 27 Jun 2019 16:58:13 +0200 From: Lars Ingebrigtsen To: Dmitry Gutov Subject: Re: bug#12413: 24.2.50; M-j should be bound to default-indent-new-line References: <504F05EA.6000703@yandex.ru> Date: Thu, 27 Jun 2019 16:58:10 +0200 In-Reply-To: <504F05EA.6000703@yandex.ru> (Dmitry Gutov's message of "Tue, 11 Sep 2012 13:35:38 +0400") Message-ID: 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: Dmitry Gutov writes: > A major mode can change the value of comment-line-break-function, but > currently it's only used from `do-auto-fill'. I think that doesn't make > sense, the value should affect the M-j command, too. [...] 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: 12413 Cc: 12413@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 (-) Dmitry Gutov writes: > A major mode can change the value of comment-line-break-function, but > currently it's only used from `do-auto-fill'. I think that doesn't make > sense, the value should affect the M-j command, too. > > default-indent-new-line does pretty much that. The function could use a > better name, though - it isn't used in any variables as default value. Makes sense to me. I've now applied the patch to the Emacs trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 27 10:58:22 2019 Received: (at control) by debbugs.gnu.org; 27 Jun 2019 14:58:22 +0000 Received: from localhost ([127.0.0.1]:39215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgVqv-0005Zx-Nc for submit@debbugs.gnu.org; Thu, 27 Jun 2019 10:58:21 -0400 Received: from quimby.gnus.org ([80.91.231.51]:43456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hgVqt-0005Ze-Ok for control@debbugs.gnu.org; Thu, 27 Jun 2019 10:58:19 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hgVqr-0006lt-5z for control@debbugs.gnu.org; Thu, 27 Jun 2019 16:58:19 +0200 Date: Thu, 27 Jun 2019 16:58:16 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #12413 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 12413 fixed close 12413 27.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 12413 fixed close 12413 27.1 quit From unknown Fri Aug 15 21:27:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 26 Jul 2019 11:24:07 +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