unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Augusto Stoffel <arstoffel@gmail.com>
Cc: 50679@debbugs.gnu.org, Juri Linkov <juri@linkov.net>
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	[thread overview]
Message-ID: <87a6k6ta23.fsf@posteo.net> (raw)
In-Reply-To: <87pmt22lvr.fsf@gmail.com> (Augusto Stoffel's message of "Tue, 21 Sep 2021 13:44:56 +0200")

Augusto Stoffel <arstoffel@gmail.com> writes:

> On Tue, 21 Sep 2021 at 11:27, Philip Kaludercic <philipk@posteo.net> 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





  reply	other threads:[~2021-09-21 11:58 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-19 16:24 bug#50679: 28.0.50; outline-minor-mode-cycle should be able to only cycle at the begining of a line Philip Kaludercic
2021-09-19 16:53 ` Juri Linkov
2021-09-19 20:40   ` Philip Kaludercic
2021-09-20  7:02     ` Juri Linkov
2021-09-20 15:25       ` Juri Linkov
2021-09-20 15:35         ` Philip Kaludercic
2021-09-20 18:36           ` Augusto Stoffel
2021-09-21 11:27             ` Philip Kaludercic
2021-09-21 11:44               ` Augusto Stoffel
2021-09-21 11:58                 ` Philip Kaludercic [this message]
2021-09-21 19:02                   ` Augusto Stoffel
2021-09-21 17:58             ` Juri Linkov
2021-09-21 18:50               ` Augusto Stoffel
2021-09-22 16:09                 ` Juri Linkov
2021-09-22 16:30                   ` Augusto Stoffel
2021-09-23 16:15             ` Juri Linkov
2021-09-21 17:53           ` Juri Linkov
2021-09-23 16:17           ` Juri Linkov
2021-09-26 13:59             ` Philip Kaludercic
2021-09-27 15:35               ` Juri Linkov
2021-09-27 16:16                 ` Augusto Stoffel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6k6ta23.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=50679@debbugs.gnu.org \
    --cc=arstoffel@gmail.com \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).