From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel 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 21:02:10 +0200 Message-ID: <87h7ed3g7h.fsf@gmail.com> 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> <87a6k6ta23.fsf@posteo.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="11747"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 50679@debbugs.gnu.org, Juri Linkov To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 21 21:03:50 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 1mSl3W-0002pY-3t for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Sep 2021 21:03:50 +0200 Original-Received: from localhost ([::1]:44450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSl3U-0004wX-4X for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Sep 2021 15:03:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSl2k-0004wI-Ke for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 15:03:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36465) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSl2k-0002p2-CE for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 15:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSl2k-0003t7-6h for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 15:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Sep 2021 19:03: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.163225094213881 (code B ref 50679); Tue, 21 Sep 2021 19:03:02 +0000 Original-Received: (at 50679) by debbugs.gnu.org; 21 Sep 2021 19:02:22 +0000 Original-Received: from localhost ([127.0.0.1]:48011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSl26-0003ba-11 for submit@debbugs.gnu.org; Tue, 21 Sep 2021 15:02:22 -0400 Original-Received: from mail-wr1-f48.google.com ([209.85.221.48]:39912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSl23-0003VT-JP for 50679@debbugs.gnu.org; Tue, 21 Sep 2021 15:02:20 -0400 Original-Received: by mail-wr1-f48.google.com with SMTP id u15so42208444wru.6 for <50679@debbugs.gnu.org>; Tue, 21 Sep 2021 12:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=HBWuRhkBdPZXVbS5ZHzN9OEiarcm8ceDyWXgGPNjBw0=; b=Yhe+4s0LhHZPma/tOoxALYR7q1thUJlMZAgg8hvUjTidUArG76+LZM1NLv9yTWhXjf Z394LaCOreIj8znNR2PMp7Caqm5iOVhmK4rUmjWvuQRVZCdDPlBs2EAYEGCaE9Z3atHm 9qD7TvN8Vuj8o2W4hmsZyIbH56qWkOhGpY7I6weJ07gzz1JoVHf6TESm2qdPycMcash8 ErJn1Q5V4YNaiLHVmdsNGPBDvo0rLPGTqfwVUqojpgLuMeAEYxRRqkv0BWO1UfovE9X0 /W4RZY7q1/WN7yTaaJ/UJFA7c3kZWrhKm2d2SZnB9QVBZ1Fr3H1KAHHdRgooXlACjHlg FJ3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=HBWuRhkBdPZXVbS5ZHzN9OEiarcm8ceDyWXgGPNjBw0=; b=0j2nBGc26dmSHOKAJIXrvvx49gzu3zgREgApKNReo6CCMDUIKLaJlyAmYKL0ud72HS CV5zimNmJIYCwpDaOUoouPwgzbBCyDD2LhFVIOBoPTRXuwwi45g06YW1Zpvlep0RcOm/ FQsx/sW+4lR9MKnVvU2oM9R62DElOTl2voQ7/quC6jwqp4GYeCl5s1WJ0m+2U4fVpeU2 lQMM9p3zFI1EsHVK2u/k6h9tGHX8wfnuDHvxS1pDYGp/8ASzaEGkyUuOQAJa+pTVXj5Z y8CCiIesrD9Jal7P7ajZJj9qdrkW7AgKJqmDQED9UPOIahf54jtyIu94pWVJTu2jIx6A f1Sg== X-Gm-Message-State: AOAM530u00B7Q4GB899B0P+YkUlqu9ZE4BKc4oDTdG6XRQ+rVRpAqmLO KFqSj4LFJqhyy7zoBazKCCk= X-Google-Smtp-Source: ABdhPJzWEGIK1I657aJ0DgYMvFT0jOTVCCs1PmVKODCTobyPSVjN05X81NWOXbtsNakMTtdkY6JaHQ== X-Received: by 2002:adf:ef07:: with SMTP id e7mr37306360wro.56.1632250933256; Tue, 21 Sep 2021 12:02:13 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::2f72]) by smtp.gmail.com with ESMTPSA id 25sm4332480wmo.9.2021.09.21.12.02.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Sep 2021 12:02:12 -0700 (PDT) In-Reply-To: <87a6k6ta23.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 21 Sep 2021 11:58:12 +0000") 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:215030 Archived-At: On Tue, 21 Sep 2021 at 11:58, Philip Kaludercic wrote: > 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. > Okay, this is not an issue for me, but if it happens to you, then it will happen to other people as well. >> 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? Well, menu items are a bit obscure but not too hard to use, actually. So I would say that it only makes sense to attempt to provide some built-in speed key functionality if it's easier to use and customize than the existing alternative.