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: Wed, 22 Sep 2021 18:30:51 +0200 Message-ID: <87ilysind0.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> <87tuidkdo2.fsf@mail.linkov.net> <87lf3p3gqn.fsf@gmail.com> <87czp0x2ej.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="5758"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Philip Kaludercic , 50679@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 22 18:43:44 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 1mT5LU-0001FO-1t for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Sep 2021 18:43:44 +0200 Original-Received: from localhost ([::1]:44296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mT5LT-0006U9-0N for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Sep 2021 12:43:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mT5AD-0001QU-Mh for bug-gnu-emacs@gnu.org; Wed, 22 Sep 2021 12:32:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39998) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mT5AA-0001f2-Ik for bug-gnu-emacs@gnu.org; Wed, 22 Sep 2021 12:32:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mT5AA-00082v-Ft for bug-gnu-emacs@gnu.org; Wed, 22 Sep 2021 12:32: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: Wed, 22 Sep 2021 16:32: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.163232826630821 (code B ref 50679); Wed, 22 Sep 2021 16:32:02 +0000 Original-Received: (at 50679) by debbugs.gnu.org; 22 Sep 2021 16:31:06 +0000 Original-Received: from localhost ([127.0.0.1]:51544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mT59G-000813-B8 for submit@debbugs.gnu.org; Wed, 22 Sep 2021 12:31:06 -0400 Original-Received: from mail-wr1-f51.google.com ([209.85.221.51]:36454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mT599-00080M-6e for 50679@debbugs.gnu.org; Wed, 22 Sep 2021 12:31:04 -0400 Original-Received: by mail-wr1-f51.google.com with SMTP id g16so8669824wrb.3 for <50679@debbugs.gnu.org>; Wed, 22 Sep 2021 09:30:59 -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=CPF674hw8Oqy2gdwMX88RgOdH5DpYIILaripTyml1ic=; b=Lw739jMXOgHsO3/hdjgsOjFZ9wYOs0wB/0zjlegemqTPt9I5chp+Y0Bxcnx6dmIj3w bQlhayA71XKifH4qF+4/GkSf8qkaPZ9ayBzITOQjEr0wCfMMgQtaiBaLN+cI6U0Ey+Yz pw5j6k76Fr9Cyh0KjYp0rvFs4tXebAkV6HIb5cNyfBhc3BTgio6awxARBmFgRVgZIhzS oEl150sl8eepuxWnB4zxnfilD9YaJRrlTamTLmflaxCVNcAhCs/HVdAjBWMlgNs8Z2H1 Ld5pwh+XKGg51HAsrrcBgxCOzwxpuzORRMRSgE6WH9MhR9hUtQScAozvQOq1uF3mSqV+ MEdg== 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=CPF674hw8Oqy2gdwMX88RgOdH5DpYIILaripTyml1ic=; b=D//hjrJNjemC3bN312fft8nakf8witRnLJEhqfXfOy3jooF4wyx4aRAaOigp/Q/9QO p8W4HSGxs3iL7ylfLqHoDW3qwCN4N3agKJMhL0cDbQjBwwOehxbjK7ARfj54/M7UfmC1 AakOAbtfBbXcabfYgnElfvK+y0W3i7WaJL6Uca/t1RUevflZKTIsqvd6OGN5mn/rSuXL s1hkGp8U7wS7lGUv9UBe+WcuNh25F9GHFERsKnly0qVJBXUT+J6KLNPXIV6pliIlEXej Nj6qO7zTO2KQHTkXtDnDQgRaEjb2dqV0yffuyS4LhOO8QSrEIEx6VR+iOSEvUobJ0NLA ao7Q== X-Gm-Message-State: AOAM5333kXysjpFPmwEMLGgByBrnW7ggIpnvim8udPYaDdGDLjJpfn5s O1ykpx2b1kaesn966ypVxB/1ksbF2wU= X-Google-Smtp-Source: ABdhPJyH/xZQzah0HSHhq5cxVxjpuUWhIFSvsSVB/K0KO1XxSmSrAb0w8CbGNJuTWuiYm6wD+a+t2w== X-Received: by 2002:a05:6000:1546:: with SMTP id 6mr540841wry.305.1632328253174; Wed, 22 Sep 2021 09:30:53 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ac0:56d0::2f72]) by smtp.gmail.com with ESMTPSA id x21sm6519129wmc.14.2021.09.22.09.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Sep 2021 09:30:52 -0700 (PDT) In-Reply-To: <87czp0x2ej.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 22 Sep 2021 19:09:12 +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:215096 Archived-At: On Wed, 22 Sep 2021 at 19:09, Juri Linkov wrote: >> In my setup those keys only apply at BOL in a heading line. I never >> type anything there. >> >> TAB for reindenting might be a bit trickier. Apparently I never try to >> reindent a heading line when point is at BOL, because I never thought >> about a possible conflict, but I guess I would type SPC TAB in that >> case. > > This is exactly what I do every time, i.e. first I type TAB to indent, > but it hides the body, then I type again TAB to unhide the body > to revert the mistake, then type SPC TAB to workaround this annoyance. All right, I didn't think this would be a problem for others, but obviously it is. In this case (and also taking the diff-mode issue into account) I guess I'll take back my previous comments. >> in exchange of allowing _any_ shortcut key with minimal >> interference. Org mode already does that with a simple customization, >> (setq org-use-speed-commands t), so I don't think it would be too >> surprising for most users. > > Adding more keys to this keymap has more problems. For example, > in diff-mode TAB navigates to the next hunk, but with outline-minor-mode > TAB on the first character in a diff-mode buffer cycles the outline, > so another available key 'n' should be typed to navigate to the next hunk. > We can't sacrifice this key for outline-next-visible-heading, > because no more keys will remain for diff-hunk-next.