From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line Date: Sun, 19 Sep 2021 20:40:05 +0000 Message-ID: <87mto8uwnu.fsf@posteo.net> References: <87r1dkv8i2.fsf@posteo.net> <87mto8h5hk.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28448"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50679@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 19 22:41:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mS3cg-0007Hh-QT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 22:41:14 +0200 Original-Received: from localhost ([::1]:33362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mS3cf-00026H-Cm for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 16:41:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mS3cV-00023t-4D for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 16:41:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mS3cU-00070G-5G for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 16:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mS3cU-0007Cw-2w for bug-gnu-emacs@gnu.org; Sun, 19 Sep 2021 16:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Sep 2021 20:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50679 X-GNU-PR-Package: emacs Original-Received: via spool by 50679-submit@debbugs.gnu.org id=B50679.163208401827649 (code B ref 50679); Sun, 19 Sep 2021 20:41:02 +0000 Original-Received: (at 50679) by debbugs.gnu.org; 19 Sep 2021 20:40:18 +0000 Original-Received: from localhost ([127.0.0.1]:40084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mS3bm-0007Bt-1J for submit@debbugs.gnu.org; Sun, 19 Sep 2021 16:40:18 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:43795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mS3bi-0007BZ-DO for 50679@debbugs.gnu.org; Sun, 19 Sep 2021 16:40:16 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id ED78F240101 for <50679@debbugs.gnu.org>; Sun, 19 Sep 2021 22:40:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632084008; bh=efHVFbECX0lyrlcY4i+cTGUisiV7H2f+GNU+iMZ1zA4=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=TgZ6zccrn7LKUz7zvaddfQiUJc/uC8NngIN3q/PNPeKsAz6Lm/GvOh+Ew6njFmCL7 +RlFCuUcHUPGko0rok7q2USArXybx0hOR1+woORYUSIun5PEST/+Fg9p0BGtUyx0yD m0q0XM4I3TTor0ffLXmSUoIOiUOacuOzrdqKYLG1myfF6HyNGgwMz8s7qdb/45O/cl qjTjiTnxCD0RjkUPDcwR+p/aQ8Dx2h2hzVhsiLiJkUPcA1R/e19lPvkcjlQGMnGuu9 J0IQh5XdbUNz+MP+kz+PgUnrE9vHy3UTegt7Qe5Orv/5CEwd3LcXIVAAvVXkd3QaMk E29DKLnZcZVCg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HCKLv0F6Hz6tmM; Sun, 19 Sep 2021 22:40:06 +0200 (CEST) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: <87mto8h5hk.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 19 Sep 2021 19:53:11 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:214787 Archived-At: Juri Linkov writes: >> Replacing the (outline-on-heading-p) check with >> >> (looking-at outline-regexp) >> >> or >> >> (and (bolp) (looking-at outline-regexp)) >> >> improves the experience for me, but I am not sure if >> this is a general improvement. Could it make sense to have this as a >> configurable option, or check the value of tab-always-indent and DWIM? > > So you propose to cycle only at the beginning of the line? > But when tab-always-indent is set to 't', sometimes typing TAB > at the beginning of the line is expected to indent the line > instead of cycling outlines. I didn't necessarily propose anything, it might only be able to solve this using a option like (defcustom outline-minor-mode-cycle-predicate ...) as to allow for users to configure cycling as they see fit. Of course if some consistent behaviour could be found that respects other options and modes, then something automatic could also be used. -- Philip Kaludercic