From unknown Mon Aug 18 04:42:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65874: 30.0.50; outline-minor-mode-use-buttons missing choice Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Sep 2023 19:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 65874@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16944595568692 (code B ref -1); Mon, 11 Sep 2023 19:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Sep 2023 19:12:36 +0000 Received: from localhost ([127.0.0.1]:54884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfmKq-0002G8-6z for submit@debbugs.gnu.org; Mon, 11 Sep 2023 15:12:36 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfmKm-0002Fs-4c for submit@debbugs.gnu.org; Mon, 11 Sep 2023 15:12:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qfmKa-0002Qu-9N for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2023 15:12:20 -0400 Received: from mail-ot1-x32d.google.com ([2607:f8b0:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfmKX-0007G6-LS for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2023 15:12:19 -0400 Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6beff322a97so3335008a34.3 for ; Mon, 11 Sep 2023 12:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694459536; x=1695064336; darn=gnu.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=ystAYnYPX7ZVHQvzPk53/HZeJbmP18efindDKKkXZPc=; b=GjtYNL7ptgcwWgiLcqf/NtU6SQWk1sbXYiECDbaBC1Kl/VhwOiSBlzZxHEvJmd5SPD 11QZ5ZXiCUdppOxm7iVY7bO+Z22a1GTB2m68NiuaowhZkXX20rF8Km+c2av6AcyzpXgs Dxn/blkFrPkRoJDZGN+92n6FUBpvpZRnqwgxH0j2HRGZAX6fjyW6vXAuRMqRNA6cwHSP 4c23cxsqII6PRG3CZO8AGpLZaaYNL9WpbayK4ym/j7TlYKNRrai4djbnBgc8Qej8r4vE /tORF2pTdLireELeHosn6qYpiGf6Rv1rUjMJGzh/eTCL4yr5yNP2eQ9gQNBgAeSdcWzQ Qt/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694459536; x=1695064336; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ystAYnYPX7ZVHQvzPk53/HZeJbmP18efindDKKkXZPc=; b=jyfXF5X5t0RcgR/Vf1bkSFLHgMgBkpECgtnsl0+0HMmAOH0oLq9fCmlkGzihHT1i16 PwowuRy7FGaSD3zLGYdpdoqIT74yauWPtWgPb0FCxggQ5tFAaOL3RJWjx9R8nc+Yhwhm hxO+0Gmnjp1cPs1w0XUFcBxd1XvvrhJWsjkH+Gw3H3+CGBs2duJpH85fhDAXMaEBPMfm /hU9ba9HWJ99Fg4fnUCIFs5uYnk7ikRPmQJam6Sn2asJyL5HBLUdBip6lI+clzFpg0Ab 64Brd4u2B5/vpSE/NjH+MYZS3BvYVmR21TTP6mkthWEHS5EtDothJ0U6eqKskEVjtR4s zwCg== X-Gm-Message-State: AOJu0Yw8YXhCF43Mc+P0XvuzaEmHhoZVlBHlUhdykmVKnTD+IhM55DAK 6qxN7KFVDhxjenzMLzF1cwD6kttzTcA= X-Google-Smtp-Source: AGHT+IE3dsZwdxmyaQshw6vBWjlzjJC5l08lDHOChvUGbj33hpBRyMirvkYm6p3jLiHHBPLq9aWIsA== X-Received: by 2002:a9d:73d7:0:b0:6b9:414e:dc7d with SMTP id m23-20020a9d73d7000000b006b9414edc7dmr9814491otk.35.1694459535695; Mon, 11 Sep 2023 12:12:15 -0700 (PDT) Received: from [192.168.0.234] ([152.168.142.156]) by smtp.gmail.com with ESMTPSA id b28-20020a4ae81c000000b005737ca61829sm3210988oob.13.2023.09.11.12.12.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Sep 2023 12:12:15 -0700 (PDT) Message-ID: Date: Mon, 11 Sep 2023 16:12:11 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US From: Mauro Aranda Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::32d; envelope-from=maurooaranda@gmail.com; helo=mail-ot1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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 (/) The docstring for outline-minor-mode-use-buttons says its value can be the symbol insert, but that choice is not present in its :type. I can't send a patch, because I can't figure out a good :tag for it. From unknown Mon Aug 18 04:42:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65874: 30.0.50; outline-minor-mode-use-buttons missing choice Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Sep 2023 07:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mauro Aranda Cc: 65874@debbugs.gnu.org Received: via spool by 65874-submit@debbugs.gnu.org id=B65874.169450410725502 (code B ref 65874); Tue, 12 Sep 2023 07:36:02 +0000 Received: (at 65874) by debbugs.gnu.org; 12 Sep 2023 07:35:07 +0000 Received: from localhost ([127.0.0.1]:55981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfxvP-0006dG-7U for submit@debbugs.gnu.org; Tue, 12 Sep 2023 03:35:07 -0400 Received: from relay1-d.mail.gandi.net ([2001:4b98:dc4:8::221]:40609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfxvM-0006cg-Uh for 65874@debbugs.gnu.org; Tue, 12 Sep 2023 03:35:05 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 5027424005B; Tue, 12 Sep 2023 07:33:49 +0000 (UTC) From: Juri Linkov In-Reply-To: (Mauro Aranda's message of "Mon, 11 Sep 2023 16:12:11 -0300") Organization: LINKOV.NET References: Date: Tue, 12 Sep 2023 09:59:42 +0300 Message-ID: <86cyynony5.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) 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 (-) > The docstring for outline-minor-mode-use-buttons says its value can be > the symbol insert, but that choice is not present in its :type. > > I can't send a patch, because I can't figure out a good :tag for it. Such omission is intentional, because 'insert' can be used only in generated buffers, not in editable buffers, so disallowing customization to the value 'insert' protects the users from damaging editable buffers. From unknown Mon Aug 18 04:42:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65874: 30.0.50; outline-minor-mode-use-buttons missing choice Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Sep 2023 09:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 65874@debbugs.gnu.org Received: via spool by 65874-submit@debbugs.gnu.org id=B65874.16945125757416 (code B ref 65874); Tue, 12 Sep 2023 09:57:01 +0000 Received: (at 65874) by debbugs.gnu.org; 12 Sep 2023 09:56:15 +0000 Received: from localhost ([127.0.0.1]:56202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qg07y-0001vY-S2 for submit@debbugs.gnu.org; Tue, 12 Sep 2023 05:56:15 -0400 Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]:42137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qg07w-0001vL-Mc for 65874@debbugs.gnu.org; Tue, 12 Sep 2023 05:56:13 -0400 Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3ac97a50ab1so47759b6e.0 for <65874@debbugs.gnu.org>; Tue, 12 Sep 2023 02:56:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694512562; x=1695117362; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=t/TkGr5KDj+XzoO5SSUijf4IsIYMdtxPtoMRsgtO1QM=; b=l4yMH5cyF3TaRlkXYG4coSDwRVeEF4zV0MBGwJTgs7zQ6hhIY5tHMZXH2TR9cCpkOE L/nR9n95Wt8ZEmEfsTjHNIjaB/Eu3UaqvyF+YDEhIFHZCN4vUPcYiFjnOLIF06T43AxN 8ivtcP7d5Db+FcexdOjr4P//yfHi74kWNa5jKSuDqbLL2t/AVHApM6bvYtHHAteSBlBC Y6fubSSsmtZaOhoTk7jD9/pCBGkbhG0azmKgwN+W5wlgSDfArCQwdsVxhFyN3P7qa1ln dsKl60oZsZTsGD+ZHxIJC+MowTl28/A90V2iwHFfAAMyI2P9/FD1/wseuHgCLhY35VhG d6OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694512562; x=1695117362; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=t/TkGr5KDj+XzoO5SSUijf4IsIYMdtxPtoMRsgtO1QM=; b=ofhkX/vjMuLnZWdUqqvU8MlUCwXuAO41sL4Gx0AleRivRvr1rf8OFVkAxO709rYE7U jd6CtylUpPI3f68s36vrlw20eai6clqr5RS1B3tGCAOZLpQ2qZBhabCLxr2uYxZtfTvR 2kHHtYKkvAaAsdLmwHT4In3Zqo7bE8rOTXY0w/wcgXIxRdzwm50LxBt1vXBWftHq2S0m Uydqk6ov7VpY8ntjx+z+WqvovrfW2tS4XhEDU9gt3m1jdp9GxoDBDxVHi0vyBiBGoaV3 Z+5Wuh71ynlwOPAmbCw44i6UUzgVDZ8b/AOUG27q5mvWXhhd0nbg+s5t0V3u906bUGSa djjA== X-Gm-Message-State: AOJu0YxijSFgDc6rFMAQGbdWtw/jjvAjJa5yLfpcSWeMUzgvPjE4Lp4m WVzTkn6RuqOaHLN8/f/t16+U1xPdmBo= X-Google-Smtp-Source: AGHT+IEywxcCPrCcZCRPwNZuKLK4ke8jCtXOvy2p+Rtehhn7uvUqPikzPcDs52uKmKDf2dwjgsysQA== X-Received: by 2002:a05:6808:7c7:b0:3a1:e792:a3fa with SMTP id f7-20020a05680807c700b003a1e792a3famr966646oij.27.1694512562218; Tue, 12 Sep 2023 02:56:02 -0700 (PDT) Received: from [192.168.0.234] ([152.168.142.156]) by smtp.gmail.com with ESMTPSA id s4-20020a4a5104000000b005658aed310bsm4198303ooa.15.2023.09.12.02.56.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Sep 2023 02:56:01 -0700 (PDT) Message-ID: Date: Tue, 12 Sep 2023 06:55:57 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US References: <86cyynony5.fsf@mail.linkov.net> From: Mauro Aranda In-Reply-To: <86cyynony5.fsf@mail.linkov.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -1.5 (-) 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.5 (--) On 12/9/23 03:59, Juri Linkov wrote: >> The docstring for outline-minor-mode-use-buttons says its value can be >> the symbol insert, but that choice is not present in its :type. >> >> I can't send a patch, because I can't figure out a good :tag for it. > > Such omission is intentional, because 'insert' can be used only > in generated buffers, not in editable buffers, so disallowing > customization to the value 'insert' protects the users > from damaging editable buffers. I see, thanks.  How about adding something to the docstring some text to explain that?  And/or maybe add a comment in the :type to clarify that the omission is intentional? From unknown Mon Aug 18 04:42:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65874: 30.0.50; outline-minor-mode-use-buttons missing choice Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Sep 2023 06:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mauro Aranda Cc: 65874@debbugs.gnu.org Received: via spool by 65874-submit@debbugs.gnu.org id=B65874.16945881813967 (code B ref 65874); Wed, 13 Sep 2023 06:57:03 +0000 Received: (at 65874) by debbugs.gnu.org; 13 Sep 2023 06:56:21 +0000 Received: from localhost ([127.0.0.1]:60580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgJnR-00011u-Aa for submit@debbugs.gnu.org; Wed, 13 Sep 2023 02:56:21 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:58097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgJnF-00011L-Qg for 65874@debbugs.gnu.org; Wed, 13 Sep 2023 02:56:12 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 607FE40006; Wed, 13 Sep 2023 06:55:56 +0000 (UTC) From: Juri Linkov In-Reply-To: (Mauro Aranda's message of "Tue, 12 Sep 2023 06:55:57 -0300") Organization: LINKOV.NET References: <86cyynony5.fsf@mail.linkov.net> Date: Wed, 13 Sep 2023 09:51:06 +0300 Message-ID: <86o7i6wopx.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) 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 (-) --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit >>> The docstring for outline-minor-mode-use-buttons says its value can be >>> the symbol insert, but that choice is not present in its :type. >>> >>> I can't send a patch, because I can't figure out a good :tag for it. >> >> Such omission is intentional, because 'insert' can be used only >> in generated buffers, not in editable buffers, so disallowing >> customization to the value 'insert' protects the users >> from damaging editable buffers. > > I see, thanks.  How about adding something to the docstring some text to > explain that?  And/or maybe add a comment in the :type to clarify that > the omission is intentional? Maybe something like this for the emacs-29 branch? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=outline-minor-mode-use-buttons-insert.patch diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index 3d3f2562617..6f57bae8fef 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi @@ -1024,10 +1024,11 @@ Outline Minor Mode mouse on the button toggles display of the section. If the value of this variable is @code{insert}, the buttons are inserted directly into the buffer text, so @key{RET} on the button will also toggle display -of the section, like a mouse click does. If the value is -@code{in-margins}, Outline minor mode will use the window margins to -indicate that a section is hidden. The buttons are customizable as icons -(@pxref{Icons}). +of the section, like a mouse click does. Using the value @code{insert} +is not recommended in editable buffers because it modifies them. +If the value is @code{in-margins}, Outline minor mode will use the +window margins to indicate that a section is hidden. The buttons are +customizable as icons (@pxref{Icons}). @vindex outline-minor-mode-cycle If the @code{outline-minor-mode-cycle} user option is diff --git a/lisp/outline.el b/lisp/outline.el index 97a51c9b92a..7cdfec753d1 100644 --- a/lisp/outline.el +++ b/lisp/outline.el @@ -314,12 +314,15 @@ outline-minor-mode-use-buttons When the value is `insert', additional placeholders for buttons are inserted to the buffer, so buttons are not only clickable, but also typing `RET' on them can hide and show the body. +Using the value `insert' is not recommended in editable +buffers because it modifies them. When the value is `in-margins', then clickable buttons are displayed in the margins before the headings. When the value is `t', clickable buttons are displayed in the buffer before the headings. The values `t' and `in-margins' can be used in editing buffers because they don't modify the buffer." + ;; The value `insert' is not intended to be customizable. :type '(choice (const :tag "Do not use outline buttons" nil) (const :tag "Show outline buttons in margins" in-margins) (const :tag "Show outline buttons in buffer" t)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 13 08:41:19 2023 Received: (at control) by debbugs.gnu.org; 13 Sep 2023 12:41:19 +0000 Received: from localhost ([127.0.0.1]:32862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgPBH-00070z-7v for submit@debbugs.gnu.org; Wed, 13 Sep 2023 08:41:19 -0400 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]:52480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgPBC-00070k-LS for control@debbugs.gnu.org; Wed, 13 Sep 2023 08:41:18 -0400 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2bfbbd55158so9048861fa.1 for ; Wed, 13 Sep 2023 05:41:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694608863; x=1695213663; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=HJBLY+s/jm48PxFTpTb+9pRMy/dXTLGYsfHw+EwmQA8=; b=pg8Odfzgrvf24oSRaZKyHorEIHQjK0xsj9V+VGVs92fP28iDM8nwvalz5Zan43dHIH rudUe9IoMYCt8R2/nq7hMYB9Q313PQFGF1/SGTgY5/rTuPxaNjBoXDWL3XvKd9Grsq1x 5wzcse7TuVFDzur586BNYLeZV/buzbp3p0Tz8MxlwS3tP7a1X/6TQY2VwjXnsRZYUPlq hixS8cbvs2Gq+wKF/TkwxiKe/J1QHORJzdYJxNwgS855iFeSIyUYamyIDM4Rk9PxpqSM xmatiaAz6N0uN6DDBh3IW+fp+o/IQfejLCpjnAFHryXaXnelGcfyBPAkeTqmsKpoxIcQ 0EGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694608863; x=1695213663; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=HJBLY+s/jm48PxFTpTb+9pRMy/dXTLGYsfHw+EwmQA8=; b=qNTXMbQUWnxBxwmnQLjEOiVOtPW/IZ5C8QDSaJo899DRTt35PMDkPtjgQ0ipG3+rR8 nvzpm4IkA0Uf3FwU1hK5hDKki6YycMq14PrpJ/dd2LU+hEg0QI49V0aPmjDgUzGYJkzl EF20psUZhhjupyq4Sd1Kkek14yXjX+TWCEXrDtlYtVNZR3FPIkNHIaQ6OA6bWOSWaXai 26I2bsMTQoB/Bvhp7/3kpFb4sZ5p0urVp3BgehB4QpjERhtQsRSPm5t4dTyJ37Gk7oS3 thrFLn3BP1Wjmd11s0jfSIqzH04qmQLLzIVwvejrCKg7YwnBx7pg9Jf1x53mNUEnlp4x lVgQ== X-Gm-Message-State: AOJu0YzNPOcK35uV2U9cuuPRF6LdFvgXzmAZlXNqNMM/QRbL5bHApW5M iwk6Llwd1snzRjLrMXZc4biNHSi7N5LEAQ5xnDWxKnuX X-Google-Smtp-Source: AGHT+IFSK0b0LYh46Vs0At/DUeQWqwADQMMowrBAJM7pcM8tUo3qHTXrHRZho35jobUpS9qO7nHk23HtBNmZJr6YGAg= X-Received: by 2002:a2e:b706:0:b0:2bc:d582:e724 with SMTP id j6-20020a2eb706000000b002bcd582e724mr2214891ljo.31.1694608863479; Wed, 13 Sep 2023 05:41:03 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 13 Sep 2023 05:41:03 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Wed, 13 Sep 2023 05:41:03 -0700 Message-ID: Subject: control message for bug #65874 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" 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 (-) severity 65874 minor quit From unknown Mon Aug 18 04:42:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65874: 30.0.50; outline-minor-mode-use-buttons missing choice Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Sep 2023 15:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 65874@debbugs.gnu.org Received: via spool by 65874-submit@debbugs.gnu.org id=B65874.169461866821824 (code B ref 65874); Wed, 13 Sep 2023 15:25:01 +0000 Received: (at 65874) by debbugs.gnu.org; 13 Sep 2023 15:24:28 +0000 Received: from localhost ([127.0.0.1]:35673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgRjA-0005fw-4u for submit@debbugs.gnu.org; Wed, 13 Sep 2023 11:24:28 -0400 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]:50319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgRj9-0005fk-77 for 65874@debbugs.gnu.org; Wed, 13 Sep 2023 11:24:27 -0400 Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-6c0e8345c1eso2326577a34.0 for <65874@debbugs.gnu.org>; Wed, 13 Sep 2023 08:24:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694618656; x=1695223456; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qBE38qCu74R6DveGBreXD2pODEUt9ojjddowL5juIaU=; b=s0StofHtAbBu5NczUQ2aJl6dhL09dsfWs4w/8kDVzB98ihK12tpbM0DY3gxbT1xzYc 2q6/ZWHklkFS1C2tIT2qK+3LvObzRltCuiQgQ+iTiLQdOn+75StKJ2zklVkl2s/VQ8le av4JTwh52DAlpjIBe776IeQE06FuLW1rCa5A7dSHgmmxe5RWvNiFVckIxWZiuJU8jDVS OyQbnLGYDaKDoB4MuveIwDEMdaTycDXUiW63GXOI/i8aEofR85M5aSeznAafnv8qK7Tj 8nR59EJruGjTaO0s31PBAxveQYEfuEEQ+wfF1dQxtx6bzy6KX5eOYDC9AGyCgOlTGhwo wq7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694618656; x=1695223456; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qBE38qCu74R6DveGBreXD2pODEUt9ojjddowL5juIaU=; b=ta72HKvMnEf8FlueUqw4c3WNob0Nzw5H2VFf9BkWcarjS1t02OAwImvQ6jhssfIYd/ 7+cMKTxuUVcsv6pOaiIvbb//3+z1aa8TnzJFllPHmZTKTQGIcRP6UhUhp9nyatxYk8wW rTFfIo5uv6FAQN5MgVOJDImChSWNZClgcKAu0SMTXcHaaPbR8cuKwoAlcXqqTrX+MPrK HNbAa04C2kvG9kvT/cXk7zeHhFGDoZhkfvkYNyg5V9JoAiTWd1JQudiolnD6eDbzqxfA HRsMQs2/viKiFdCgxSEjhXvE9WCtwPApj58bLeXqHJSptCi+YrAjXLl2+E9qo6bu5R8s vLag== X-Gm-Message-State: AOJu0YwQN6+rowfoCX/DRnJ4j73/1K+32gn0IN9KWnYxBURcIyf88eG5 ZLn4NqVz+lQnF3BssZdcQGiZSk9FGEk= X-Google-Smtp-Source: AGHT+IFov+W4j9eNHd6YXe4IC2xsyV1pgNUvGIr8wLvkkADx3YOXK24xEXOjKJug1mtC8fTWEQCFUA== X-Received: by 2002:a9d:7987:0:b0:6bd:11b:39bf with SMTP id h7-20020a9d7987000000b006bd011b39bfmr3401625otm.4.1694618655993; Wed, 13 Sep 2023 08:24:15 -0700 (PDT) Received: from [192.168.0.234] ([152.168.142.156]) by smtp.gmail.com with ESMTPSA id v46-20020a4a9771000000b00573f5173a57sm5441618ooi.23.2023.09.13.08.24.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Sep 2023 08:24:15 -0700 (PDT) Message-ID: <9ab90983-dd35-e703-1401-c0ad4c3e82f2@gmail.com> Date: Wed, 13 Sep 2023 12:24:12 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US References: <86cyynony5.fsf@mail.linkov.net> <86o7i6wopx.fsf@mail.linkov.net> From: Mauro Aranda In-Reply-To: <86o7i6wopx.fsf@mail.linkov.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -1.5 (-) 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.5 (--) On 13/9/23 03:51, Juri Linkov wrote: >>>> The docstring for outline-minor-mode-use-buttons says its value can be >>>> the symbol insert, but that choice is not present in its :type. >>>> >>>> I can't send a patch, because I can't figure out a good :tag for it. >>> >>> Such omission is intentional, because 'insert' can be used only >>> in generated buffers, not in editable buffers, so disallowing >>> customization to the value 'insert' protects the users >>> from damaging editable buffers. >> >> I see, thanks.  How about adding something to the docstring some text to >> explain that?  And/or maybe add a comment in the :type to clarify that >> the omission is intentional? > > Maybe something like this for the emacs-29 branch? Yes, that's helpful.  Thank you. From unknown Mon Aug 18 04:42:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#65874: 30.0.50; outline-minor-mode-use-buttons missing choice Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Sep 2023 16:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65874 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mauro Aranda Cc: 65874@debbugs.gnu.org Received: via spool by 65874-submit@debbugs.gnu.org id=B65874.16946238558617 (code B ref 65874); Wed, 13 Sep 2023 16:51:01 +0000 Received: (at 65874) by debbugs.gnu.org; 13 Sep 2023 16:50:55 +0000 Received: from localhost ([127.0.0.1]:35821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgT4o-0002Et-Mv for submit@debbugs.gnu.org; Wed, 13 Sep 2023 12:50:54 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]:52055) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qgT4l-0002Eb-E7; Wed, 13 Sep 2023 12:50:53 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id DBAA260009; Wed, 13 Sep 2023 16:50:38 +0000 (UTC) From: Juri Linkov In-Reply-To: <9ab90983-dd35-e703-1401-c0ad4c3e82f2@gmail.com> (Mauro Aranda's message of "Wed, 13 Sep 2023 12:24:12 -0300") Organization: LINKOV.NET References: <86cyynony5.fsf@mail.linkov.net> <86o7i6wopx.fsf@mail.linkov.net> <9ab90983-dd35-e703-1401-c0ad4c3e82f2@gmail.com> Date: Wed, 13 Sep 2023 19:50:15 +0300 Message-ID: <86pm2mrpa0.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) 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 (-) close 65874 29.1.50 thanks >>>>> The docstring for outline-minor-mode-use-buttons says its value can be >>>>> the symbol insert, but that choice is not present in its :type. >>>>> >>>>> I can't send a patch, because I can't figure out a good :tag for it. >>>> >>>> Such omission is intentional, because 'insert' can be used only >>>> in generated buffers, not in editable buffers, so disallowing >>>> customization to the value 'insert' protects the users >>>> from damaging editable buffers. >>> >>> I see, thanks.  How about adding something to the docstring some text to >>> explain that?  And/or maybe add a comment in the :type to clarify that >>> the omission is intentional? >> >> Maybe something like this for the emacs-29 branch? > > Yes, that's helpful.  Thank you. I'm glad this helps, so now pushed to emacs-29.