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: Tue, 21 Sep 2021 11:58:12 +0000 Message-ID: <87a6k6ta23.fsf@posteo.net> References: <87r1dkv8i2.fsf@posteo.net> <87mto8h5hk.fsf@mail.linkov.net> <87mto8uwnu.fsf@posteo.net> <87fstzn2zw.fsf@mail.linkov.net> <87y27rpi4q.fsf@mail.linkov.net> <87bl4nuuon.fsf@posteo.net> <87mto73xh5.fsf@gmail.com> <87k0jatbhl.fsf@posteo.net> <87pmt22lvr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39270"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50679@debbugs.gnu.org, Juri Linkov To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 21 13:59:12 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 1mSeQZ-0009xr-Sz for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Sep 2021 13:59:11 +0200 Original-Received: from localhost ([::1]:41772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSeQX-0002Ff-Ex for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Sep 2021 07:59:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSeQQ-0002FX-KH for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 07:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSeQQ-00040P-Cs for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 07:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSeQQ-0004p7-Cb for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 07:59: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: Tue, 21 Sep 2021 11:59: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.163222550218461 (code B ref 50679); Tue, 21 Sep 2021 11:59:02 +0000 Original-Received: (at 50679) by debbugs.gnu.org; 21 Sep 2021 11:58:22 +0000 Original-Received: from localhost ([127.0.0.1]:45123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSePl-0004nh-Tn for submit@debbugs.gnu.org; Tue, 21 Sep 2021 07:58:22 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:33203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSePj-0004nR-TI for 50679@debbugs.gnu.org; Tue, 21 Sep 2021 07:58:20 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 87E5B240101 for <50679@debbugs.gnu.org>; Tue, 21 Sep 2021 13:58:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632225493; bh=RKCWwNwsAbL/7DiOpAp3nY/LOgs3HWHJkP7sPfswxEI=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=IAUZ3xTbD8Ou0xlHO8ZH2ESDK3INcSrMrxMJ+61YeMa6FQaXOimDHmkibz+Wj9WIy zzO780IVWhuNyKWJsthBK0ekm3tgcJjJUmFA637SYuWI5EYgQx5WnbI601X/HcbIJi IRP+1lX/Tzr0bxw+V68/s4qcf1F2CXx0CwDmLUMJcgHOF7c5tJfCuezliTuO9/RrJs STd2jZV0+mlWQJMW1+5oHxcscPQ63VJ4vR9FzNvTSqHSqidxg1Aum52CfYXR3Bu4co egCq1/cJFoLXmjQN4GL6silyDvvm7vjBEED6NJQ0vpFXABkgqje9eiMZJpj8You1aW PXXxQt1VxuYrw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HDKgm3L0Cz9rxh; Tue, 21 Sep 2021 13:58:12 +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: <87pmt22lvr.fsf@gmail.com> (Augusto Stoffel's message of "Tue, 21 Sep 2021 13:44:56 +0200") 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:214960 Archived-At: Augusto Stoffel writes: > On Tue, 21 Sep 2021 at 11:27, Philip Kaludercic wrote: > >> I would appreciate something like this too, but you are right that it >> sounds like a separate functionality. Compared to >> outline-mode-cycle-map, this would most certainly have to operate on the >> beginning of a line, otherwise apparently random keys would suddenly >> throw the user around without them expecting it. > > I thought your point was that TAB for cycling also gets in the way if > it's available anywhere other than at the beginning of a line. Yes, but Juri is right that there is a more general issue that tab is never always appropriate. Just yesterday I ran into the edge-case of trying to indent a line inwards, and instead of indenting it folded the definition, because the line unintentionally began with outline-regexp. > So I think it's actually the _same_ functionality, and only the naming > doesn't reflect that. To put it in a slightly different way, there > would be no need for a `outline-mode-cycle-map' if something called > `outline-speed-keys-map' (a keymap installed only at column 0 of > heading lines) existed. How about both? If you just want to press tab anywhere, use cycle, and otherwise use speed-keys? Or would that be overkill? -- Philip Kaludercic