From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 30 11:13:31 2021 Received: (at submit) by debbugs.gnu.org; 30 Jan 2021 16:13:31 +0000 Received: from localhost ([127.0.0.1]:55680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5ssI-0006DS-JZ for submit@debbugs.gnu.org; Sat, 30 Jan 2021 11:13:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:42654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5rR3-0007ig-C5 for submit@debbugs.gnu.org; Sat, 30 Jan 2021 09:41:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5rR2-00069I-T9 for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 09:41:12 -0500 Received: from mout.gmx.net ([212.227.17.20]:46373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5rQv-0001Iw-S0 for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 09:41:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612017664; bh=r1QHzDSvW2EFjJkAIfeBu4IdRDmta962LkpbpG28SEI=; h=X-UI-Sender-Class:From:To:Subject:Date; b=PZ492htXahcvzQkZN6cj1m/kH+vft3ug/hkjTzLSvh2APuCrnDQwH6yF4Sdc4sYTv /PvvdhDCdUwtOuwoNWg3Pl8enOoRys/X8UVJZ31HiXMBFjow2YNHGx+bZbtWhU+LC+ mBM+C7P+3dPwfGmy8L/GbKqUz3KWwsLdYNyE/VS8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs16.server.lan [172.19.170.184]) (via HTTP); Sat, 30 Jan 2021 15:41:03 +0100 MIME-Version: 1.0 Message-ID: From: jai-bholeki@gmx.com To: bug-gnu-emacs@gnu.org Subject: Enabling Auto Fill mode Content-Type: text/plain; charset=UTF-8 Date: Sat, 30 Jan 2021 15:41:03 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:zuIpe01N6JQdsWGdlgx1mEn5o5Woxv8zhj2aWvAUdak47OL5Lutd5jq1kMDE6KrSq/ePb qbBd4MNenx462TR30etzq77ntsjqFGKmvj6mp3NP5O2dUBTRBBZsfJYRkGkYuStzL0BDUZFxarWg EvU4okq133UWGI/vvaJPbNvfcKrNYpFJopYmEhSEf5w36/KXjZWSrWIMnNDZY7I14e4sg8Ubsna/ irWL/lRCjawS4/9lO+GjV2U54qyylH3X1+u9T8/rYh0Xlu52hQ0cmnt+wPqTgaJAdgI1sOaIhgEv kw= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:I4/ZGCi4soE=:H6EgrAVyvvOEHNk5f+4LkM RdDKYwSsi+ZwoYuwc9yhghiY90EKdCgVaQGSFJIjV226GiiZOPDu9x/bzTZ5tyBQg8t+GRUb1 0TokWJy1/cUaMrdCIqLzDFQBooa+9MWucCkAlL+Kw5RNjm3GLrEeB5oTtvb+2bAHcxhYG2hmT sn4JqhxEgPOMxx1zroIqUZqG4qIDYimuMjfVPVLSeFi0tQLUIy77qEfh+5MOL/p63vyGWrBAD rEjA8ClQsbtPgt9kBQ56tg6ysiGuj1UlZrx3liNsxD0rUIXxf07UFPogOnZ/2f8U8S4qga+hZ imjxdffJ5M5ymtaFxsJOOXjvUdZFbGEwA4zNWE2v7aWDwThr/j/fIuQvpMOE5GnZVQMRFQDiT 9dzVw0dI3FAqcNSjneyjc8RbcXXf3fy6bpcg8oRtuKN/kAe9CVj1sPAQvlI7F+52Kv+CvXWsR mFOj1l36LuEkI2y5VXXF37sovKIWog0VVo8MNytT0W+FZj+28/OEHJesGx/rcGDkMGCjxCt1+ Wwh6Mi+x0Z2wBUt4/8IuyL5phlF/oc2aNWAFLpqHlBnuDjjSw725LlrKOcHU8cEt8XJeyF7x5 E+Zaczya3I7yU= Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.227.17.20; envelope-from=jai-bholeki@gmx.com; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 30 Jan 2021 11:13:25 -0500 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: -2.4 (--) In the documentation for (auto-fill-mode &optional ARG), it says that if called from Lisp, enable the mode if ARG is omitted or nil. Enabling a mode using nil seems counter-intuitive to me. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 30 13:32:02 2021 Received: (at 46193) by debbugs.gnu.org; 30 Jan 2021 18:32:02 +0000 Received: from localhost ([127.0.0.1]:55781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5v2Q-00019Q-Do for submit@debbugs.gnu.org; Sat, 30 Jan 2021 13:32:02 -0500 Received: from mail-oi1-f179.google.com ([209.85.167.179]:37177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5v2O-00018w-0b for 46193@debbugs.gnu.org; Sat, 30 Jan 2021 13:32:01 -0500 Received: by mail-oi1-f179.google.com with SMTP id a77so13934286oii.4 for <46193@debbugs.gnu.org>; Sat, 30 Jan 2021 10:31:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=o7d4GL41CTVZcQQaDA5n0b+0AONIUGW/ZOMZakBft+s=; b=JUKYBmsFWoGGnasJ+ayuKVl46hzrr90jDuonyoyxKl+HD8gDnKhQUjVSs3qqLGKiEY nO0an8YhrE0fKbcDamaibtATJIzSMJssM69FnPqvZ2AXvP6srL1wpmX4xI7MdFhy/5AB Ew5FEjl/BaaaisFyLWh4nN6ZEWudVGOI4KCC8KpiWwdtIN4wZSHSY96tMg75AnIztEfw qQFPrr/IkqBpXW9UeXgb1Jbx96VLaO/UDWa5eG5GQ+WdXehR90pqbs9vMrBfCHH0WeL4 A0saeW1prdClP1G56GDl7j4f8tZb/++1Yqi6EsBaFL1PMhM0Bg2qcRIv5LZiDb3NCUK0 92Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=o7d4GL41CTVZcQQaDA5n0b+0AONIUGW/ZOMZakBft+s=; b=rjpW7n+BERBYsjiWkfdxnKEvgoS5fiX8kUMR7PDRfh46hnAw9wi9sQ05FMaqHQE23l rEkXYGaoiAxNOVkpc1ank0PTSOhecQanKPuAJD1VffLT6TUhv0fiapWtBSHokJZXPNkX 1Z5uZIxiwaUxsgvhdzYWkvs/u4gSxrcoTM1eynUHWVL5yqNxeiIGRgkCT5HSIW42XPwG wwSxtuqBZZyz9wYruT1edTO1HIa4EfoR6beg5w9/Fr887yqT7LhQgVGIbAvBCMWKwX7r wMQ8zW/SouuUegUCj6c9NQDQFWiypBz3V3IZ4Kgh6NkJZTgDosksbYb+g+H60Wy00XrF iY+w== X-Gm-Message-State: AOAM532RJrl+NJ839f1JPxrCDEj3EfAUJExkImB0D3/cAaUFVJuLs63Z Q1CpQ02DKGgt0SEdq0BIykIUaO7bFIbMd9m28Ms= X-Google-Smtp-Source: ABdhPJxIfDkPmSBfRG75aZyCCjZZLR+aTMDeEDf19BS7tc61xSVYNGy0xpe3MXbtEFOlLai5YBAczSJ/UJFGhBpJAx0= X-Received: by 2002:aca:5954:: with SMTP id n81mr1801582oib.25.1612031514236; Sat, 30 Jan 2021 10:31:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Philipp Stephani Date: Sat, 30 Jan 2021 19:31:43 +0100 Message-ID: Subject: Re: bug#46193: Enabling Auto Fill mode To: jai-bholeki@gmx.com Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 46193 Cc: 46193@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.8 (/) Am Sa., 30. Jan. 2021 um 17:14 Uhr schrieb : > > > In the documentation for (auto-fill-mode &optional ARG), it says that > if called from Lisp, enable the mode if ARG is omitted or nil. > > Enabling a mode using nil seems counter-intuitive to me. > Maybe, but it's the universal convention for minor modes. See "Minor mode conventions" in the ELisp manual. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 30 15:03:24 2021 Received: (at 46193) by debbugs.gnu.org; 30 Jan 2021 20:03:25 +0000 Received: from localhost ([127.0.0.1]:55861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5wSq-0005Pe-C5 for submit@debbugs.gnu.org; Sat, 30 Jan 2021 15:03:24 -0500 Received: from mout.gmx.net ([212.227.15.18]:52903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5wL9-0005DB-Ee for 46193@debbugs.gnu.org; Sat, 30 Jan 2021 14:55:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612036520; bh=FeQMAt9Fgsl9p6KwyrVNmE+W0ooPeYXz5cFiA+E69DY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=ghNOj9yzgIG5IhqqClC5mdlWlbOe9AvolCwXZNXIG7kqqBp/c8nWnymqVrROH9I4Z hlq0BDrjiJ70JaIGn5fMypSKL0TFk9M27OMVhoueMrYSYON7rHvu/ZOCzfuhALWCxy hjs1rn3oux0p4yqGTcedMYgDBauXHsYqSNTu+dOM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs16.server.lan [172.19.170.184]) (via HTTP); Sat, 30 Jan 2021 20:55:20 +0100 MIME-Version: 1.0 Message-ID: From: jai-bholeki@gmx.com To: Philipp Stephani Subject: Re: bug#46193: Enabling Auto Fill mode Content-Type: text/plain; charset=UTF-8 Date: Sat, 30 Jan 2021 20:55:20 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:o6QMo77cA4P5/91MHptttWpMK3RltNIEsvRJZt5A8bLHVUl6hIUCebXmVXOWp6cP+sQ9T mS3+/+wx74SVDG4wDyng2jwow+GsXVI4IOlSGbba4s9nRVCHvPhNase1nwzwhOV0lU/KtfJx3cLv GraCuYbkQuqZ/Dk4gfrkRZM/XbCzObilOULVnSdCVUzU20hNfZVAsF90mWCK2eGsOFtEXp2Ts7WN QyKkA0lLaClDZeRPlwjLO9GfkhLQW/5iZG+GBmI/NHTXPFhljzZLrLH/UL4OnjaZ7GetVpYLtfy3 WE= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:yiZatMQUMPs=:79CMW5AHo8my5X6I0Xly/M hnGdHXzbwXD18o7ao5zzLHS71sspEg7lvDfNsDJSW7TBG+H8gnfTfoP09Ku6U3J2LN1S79SfI dCyWVpqq/uRPwSvnQoGdROQaFov1xBsKlC1oc8wLVCe/O8JfLaziRXacm7WCxJi8uFgWeA4T4 Ozbh0OK/BuSavZbbPPVqFUMIwWgZf+1jcXKC79BlYLUCRg4D+eokedQd+6YLrJSWMqcc/p4Td 3guFxWiKUWppjCAl/fp+GlbVqWN0bZmYy3oAGsi/jQXNL8zGaT0+x5RWXV1U8h1gGpXIToQn3 zeDerC7DxjXsXsJkeAh+0HWX2zapSAhXSbrxlg6O73aMZO6f9+slRkBgGDHyUFHPBdXSdB1nn Tb39KBm+eI2CY5dAKHDo5M9bxeWdbl1bcYE5WFWg0VaKTugQUmD5DEFOG9/j7ScBMebmZdgev UpbRefpesCVsFVMSJqqtjVcb/Ggl1L2xk/X6HP/Jrhsn+29CfqKmXCsE46vRVVDVDO6k1Kuyl rvWB53oCmfeWiC3Qx2Vbs0AV8bj/U+MhsZHA34IJGQ5v3y1G9Kl9kz0YTvwAAbsyRFnV4Gqmz F/GgKjnZh4BdU= Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46193 X-Mailman-Approved-At: Sat, 30 Jan 2021 15:03:23 -0500 Cc: 46193@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 (-) I have noticed that enabling a minor-mode using texinfo-mode-hook fails af= ter setting auto-fill comments using a hook. (add-hook 'texinfo-mode-hook (lambda () ((set (make-local-variable 'comment-auto-fill-only-comments)= t))) (auto-fill-mode) ;; crucible-mode not enabled after setting comment-auto-fill-only-comments (add-hook 'texinfo-mode-hook 'crucible-mode) > Sent: Sunday, January 31, 2021 at 6:31 AM > From: "Philipp Stephani" > To: jai-bholeki@gmx.com > Cc: 46193@debbugs.gnu.org > Subject: bug#46193: Enabling Auto Fill mode > > Am Sa., 30. Jan. 2021 um 17:14 Uhr schrieb : > > > > > > In the documentation for (auto-fill-mode &optional ARG), it says that > > if called from Lisp, enable the mode if ARG is omitted or nil. > > > > Enabling a mode using nil seems counter-intuitive to me. > > > > > Maybe, but it's the universal convention for minor modes. See "Minor > mode conventions" in the ELisp manual. > > > > From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 04:19:37 2021 Received: (at 46193) by debbugs.gnu.org; 1 Feb 2021 09:19:37 +0000 Received: from localhost ([127.0.0.1]:58811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6VMu-0005RC-7z for submit@debbugs.gnu.org; Mon, 01 Feb 2021 04:19:37 -0500 Received: from quimby.gnus.org ([95.216.78.240]:46664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6VMs-0005Qx-Du for 46193@debbugs.gnu.org; Mon, 01 Feb 2021 04:19:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RAax82fv1gOcplhoFC7W8X3WrkL6GlbUCvfVzxwbabE=; b=r/GNe8LtWNIA280Ak+L9ymcbfU L5puYFYb99vehwk3JNWE4c6yxwtCJ/QM1UTgwxFnx+nuuUFp4BiDn5rZEEW6zHYSIX0Vx19QPGfQf mwsfFjAkX5SICCgF/MCiPCL7PcwgDidcMBDPxsT1dAAQGr2UPwWe1nP99krWUyC7TmPo=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6VMh-0007Rc-31; Mon, 01 Feb 2021 10:19:28 +0100 From: Lars Ingebrigtsen To: Philipp Stephani Subject: Re: bug#46193: Enabling Auto Fill mode References: X-Now-Playing: Normil Hawaiians's _What's Going On?_: "Quiet Village" Date: Mon, 01 Feb 2021 10:19:22 +0100 In-Reply-To: (Philipp Stephani's message of "Sat, 30 Jan 2021 19:31:43 +0100") Message-ID: <87zh0op2lh.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Philipp Stephani writes: > Am Sa., 30. Jan. 2021 um 17:14 Uhr schrieb : >> >> In the documentation for (auto-fill-mode &optional ARG), it says that >> if called from Lisp, enable the mode if ARG is omitte [...] 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: 46193 Cc: 46193@debbugs.gnu.org, jai-bholeki@gmx.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Philipp Stephani writes: > Am Sa., 30. Jan. 2021 um 17:14 Uhr schrieb : >> >> In the documentation for (auto-fill-mode &optional ARG), it says that >> if called from Lisp, enable the mode if ARG is omitted or nil. >> >> Enabling a mode using nil seems counter-intuitive to me. > > Maybe, but it's the universal convention for minor modes. See "Minor > mode conventions" in the ELisp manual. Indeed, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 04:19:40 2021 Received: (at control) by debbugs.gnu.org; 1 Feb 2021 09:19:40 +0000 Received: from localhost ([127.0.0.1]:58814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6VMy-0005RR-8x for submit@debbugs.gnu.org; Mon, 01 Feb 2021 04:19:40 -0500 Received: from quimby.gnus.org ([95.216.78.240]:46680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6VMx-0005R3-2T for control@debbugs.gnu.org; Mon, 01 Feb 2021 04:19:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=x1x8a83oZtsz4j+icpUtVvUXQmwNBCyRgZjCTKubQkw=; b=XryqseaZjgF+QE/NFKKvv+tt8d EnBvySIVoT+LurPmbj9qaqXOyRRfwBlpop4Sy006jnMHF2H+pgeElPAiqfPfvhRGMWdKNzZs9eXRk 70sHq3drTIV5op+4tLnOWwvydY/1X2wiDkpNHqtRmGyPR0zhmsF0ZHAzuSHUaPsSkRZY=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6VMp-0007Rk-Il for control@debbugs.gnu.org; Mon, 01 Feb 2021 10:19:33 +0100 Date: Mon, 01 Feb 2021 10:19:30 +0100 Message-Id: <87y2g8p2l9.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #46193 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 46193 notabug close 46193 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 46193 notabug close 46193 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 04:20:27 2021 Received: (at 46193) by debbugs.gnu.org; 1 Feb 2021 09:20:27 +0000 Received: from localhost ([127.0.0.1]:58822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6VNi-0005TY-OM for submit@debbugs.gnu.org; Mon, 01 Feb 2021 04:20:27 -0500 Received: from quimby.gnus.org ([95.216.78.240]:46704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6VNh-0005TJ-4Y for 46193@debbugs.gnu.org; Mon, 01 Feb 2021 04:20:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=LkXxBrp3vmvo0CBvNSt2vVKr20XZuadgRsgu5Mwm55w=; b=E1+nm4ZRb95kZGc7EiISAmC1NT /MYI60K7K6W/hAm2R8Sbnv92EBQXXBucNf5+VH+Ph4onsf/o0JIojYt3wksQLzIdTWl+8p10wGz4u oB2MUo3qZFeEJ8R2eRCg4A3MDPc5LwdbAhxnlgjpWYXKbFg5iybj249EbcFBw7XIw4IQ=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6VNY-0007SB-Rw; Mon, 01 Feb 2021 10:20:19 +0100 From: Lars Ingebrigtsen To: jai-bholeki@gmx.com Subject: Re: bug#46193: Enabling Auto Fill mode References: X-Now-Playing: Normil Hawaiians's _What's Going On?_: "Quiet Village" Date: Mon, 01 Feb 2021 10:20:15 +0100 In-Reply-To: (jai-bholeki@gmx.com's message of "Sat, 30 Jan 2021 20:55:20 +0100") Message-ID: <87tuqwp2k0.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: jai-bholeki@gmx.com writes: > I have noticed that enabling a minor-mode using texinfo-mode-hook fails after > setting auto-fill comments using a hook. > > (add-hook 'texinfo-mode-hook > (lambda () ((set (make-local-variable > 'c [...] 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: 46193 Cc: 46193@debbugs.gnu.org, Philipp Stephani 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 (-) jai-bholeki@gmx.com writes: > I have noticed that enabling a minor-mode using texinfo-mode-hook fails after > setting auto-fill comments using a hook. > > (add-hook 'texinfo-mode-hook > (lambda () ((set (make-local-variable > 'comment-auto-fill-only-comments) t))) > (auto-fill-mode) > > ;; crucible-mode not enabled after setting comment-auto-fill-only-comments > (add-hook 'texinfo-mode-hook 'crucible-mode) (add-hook 'texinfo-mode-hook (lambda () ((set (make-local-variable 'comment-auto-fill-only-comments) t))) That's not valid syntax -- you have one extra pair of () around the `set' function call. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 06:59:43 2021 Received: (at 46193) by debbugs.gnu.org; 1 Feb 2021 11:59:43 +0000 Received: from localhost ([127.0.0.1]:59249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6Xri-0007kT-KB for submit@debbugs.gnu.org; Mon, 01 Feb 2021 06:59:43 -0500 Received: from mout.gmx.net ([212.227.17.22]:38685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6Xrg-0007k7-2y for 46193@debbugs.gnu.org; Mon, 01 Feb 2021 06:59:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1612180765; bh=zgzjdk4KlseGbOz7I4hZ6emsIu79inpCrFg/UbbmUmQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=CgfN0VxeufFlsBm4iOAbygmr3UNjNqheHiS7GS38NeN9UnR4Ef25NOuW0gLWPfq6N eeG+Dk/5Tlc7yGS301HDIQKOghWwH1723FD+3rE9EiU9p3rSZs4fhJ/RZlbR/USdFk pMaE6bg7Ed/F8Cfn5hgc7tDydvDHmABVFqRNQo+w= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs14.server.lan [172.19.170.182]) (via HTTP); Mon, 1 Feb 2021 12:59:25 +0100 MIME-Version: 1.0 Message-ID: From: jai-bholeki@gmx.com To: Lars Ingebrigtsen Subject: Re: bug#46193: Enabling Auto Fill mode Content-Type: text/plain; charset=UTF-8 Date: Mon, 1 Feb 2021 12:59:25 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87tuqwp2k0.fsf@gnus.org> References: <87tuqwp2k0.fsf@gnus.org> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:qEzB0ddsFc7Z5ISDBpMlenG4zqrO1hW/aPVk170ZblZC/y7g76+AofPq4K4v2s1d4Lav0 6SOcCd+pXnj6aez42TbSU/rCC1sUltVeHql+bkiuNM9sJCrNub4zvyfWFwyQJS1QCwRz/pFuGukM +rp0AC8jvifyI5ksBK7fY4Ay+Zr3br85Ia2Evc4SKyHFn6U0BWMKSGIO3T1xko9UAExfw/Vqp7We yG8SXTItlcIhJ2OVnfInBG+iC0XwgsL8f1RS6tEjBs52z1IOpkGvXYA715ZOSrUY9CFqnO4f07sU vQ= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:LTR+1og+oBc=:9aSNCPxsSaDb5izlKZ0fNR QcORr0BNw9ubWw9TacDs6mctg0wvTGcRzRnz4udD5YaTXsAj4TdSdI/rgJaeXF2ahvokiIKR3 SfWi/qmsrLw6XHC9yzTDXaEGxRGqZT8fJ/j7j98ta1xXXNEAhMJHo2qc85SSq5hspHK04C8qm TSBerT26LYj5FmMUPMMh6V5pFbKHm1kzjiq/NSye4x1YMSv4zj9g899EAWkTd4N6Suy/5M1/8 xO+PA+maZxIzvqGmE4xeNHrtEyHJuzUUA867SwIbvvmHwy6ggsX0YaqSszxSc7cYngFDkzeZj /hS08XBM2D6S1bA6zDX+9mi1L2SdypgZYC86HQQcfZ2IZ1GMfs7ycgD2mUAH/Bo2J/+oTUrAV NrA5wVvzm7KLtB+VZGfDynqyrE6kBgCyvJF3qLb8gTaJBTptlNYoAv+WqNGiKEfD/3x5lrDpO OM9NzeuCLJmbNTKGheia3xsr4JZ9c5x8DqTScuB2BkVkVnPNCrQxW9IAIyvknKl7hRQyWQC4c 5cdFQ3uYnm2nu+hGa87TnIhZNR/+yeJ4ndzPfEya6k1yxp7djuFEq4plHyVete0W71me/2Zvr Xa+W1rzqdtWsc= Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46193 Cc: 46193@debbugs.gnu.org, Philipp Stephani X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) I have now made the following function. Would I better make the functionality to be buffer-local? (defvar dfv-break-long-lines-state nil) (defun cycle-break-long-lines-din () "Breaks long lines using auto-fill tool." (interactive) ;; (pcase dfv-break-long-lines-state ;; (1 (setq fill-column 72) (setq comment-auto-fill-only-comments t) (auto-fill-mode) (message "%s" "Enable: Break only comments") (setq dfv-break-long-lines-state 2)) ;; (2 (setq comment-auto-fill-only-comments nil) (message "%s" "Enable: Break all long lines") (setq dfv-break-long-lines-state 1)) ;; (_ (setq comment-auto-fill-only-comments nil) (auto-fill-mode 0) (message "%s" "Disable: Break long lines") (setq dfv-break-long-lines-state 0)) )) (defun break-long-lines-din () "Breaks long lines using auto-fill." (setq dfv-break-long-lines-state 1) (cycle-break-long-lines-din)) > Sent: Monday, February 01, 2021 at 9:20 PM > From: "Lars Ingebrigtsen" > To: jai-bholeki@gmx.com > Cc: "Philipp Stephani" , 46193@debbugs.gnu.org > Subject: Re: bug#46193: Enabling Auto Fill mode > > jai-bholeki@gmx.com writes: > > > I have noticed that enabling a minor-mode using texinfo-mode-hook fail= s after > > setting auto-fill comments using a hook. > > > > (add-hook 'texinfo-mode-hook > > (lambda () ((set (make-local-variable > > 'comment-auto-fill-only-comments) t))) > > (auto-fill-mode) > > > > ;; crucible-mode not enabled after setting comment-auto-fill-only-comm= ents > > (add-hook 'texinfo-mode-hook 'crucible-mode) > > (add-hook 'texinfo-mode-hook > (lambda () ((set (make-local-variable 'comment-auto-fill-only-comment= s) t))) > > That's not valid syntax -- you have one extra pair of () around the > `set' function call. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > From unknown Wed Sep 10 01:08:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 01 Mar 2021 12:24:05 +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