From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#53158: 28.0.90; TAB, RET key behave differently for Git-Log-View, Outline View mode Date: Thu, 13 Jan 2022 10:05:43 +0100 Message-ID: <87bl0g6m54.fsf@gnus.org> References: <83zgo38ojq.fsf@gnu.org> <8635lvxt9v.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="21055"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Van Ly , 53158@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 13 10:07:57 2022 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 1n7w5M-0005Gr-Lt for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Jan 2022 10:07:56 +0100 Original-Received: from localhost ([::1]:57450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7w5L-0003FO-Cp for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Jan 2022 04:07:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7w3Y-0002aK-8q for bug-gnu-emacs@gnu.org; Thu, 13 Jan 2022 04:06:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7w3W-0004C4-P5 for bug-gnu-emacs@gnu.org; Thu, 13 Jan 2022 04:06:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7w3W-0000tI-FR for bug-gnu-emacs@gnu.org; Thu, 13 Jan 2022 04:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jan 2022 09:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53158 X-GNU-PR-Package: emacs Original-Received: via spool by 53158-submit@debbugs.gnu.org id=B53158.16420647593401 (code B ref 53158); Thu, 13 Jan 2022 09:06:02 +0000 Original-Received: (at 53158) by debbugs.gnu.org; 13 Jan 2022 09:05:59 +0000 Original-Received: from localhost ([127.0.0.1]:60152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7w3S-0000sn-Vd for submit@debbugs.gnu.org; Thu, 13 Jan 2022 04:05:59 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:52024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7w3O-0000sL-Ad for 53158@debbugs.gnu.org; Thu, 13 Jan 2022 04:05:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=4kG4etuGc10lEg/C6Z5qx0vU59KBdTvDHyA/YHVHP10=; b=OGofsz9sQXgUMmc7kJ8mb8l1rt 2qUkb1is8pDuOkZwAp/EsbphIU1yeVt/GV/vpZUSAkpEs1NIEYGM//tkhRZgGaT38l0vuphRTtN1Q 6bV3tQQm1/5KP0mAQxlvUZQN1LcObyw8DhqR8MD3kClls5+Hg8Yvaiq2fNdohRDeuT+w=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n7w3E-0000mN-TA; Thu, 13 Jan 2022 10:05:47 +0100 X-Now-Playing: A Certain Ratio's _Loco Remezclada_: "Friends Around Us (Lounge Society Remix)" In-Reply-To: <8635lvxt9v.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 10 Jan 2022 21:52:44 +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:224080 Archived-At: Juri Linkov writes: > We were hit by this unpleasant problem in diff-mode with outline-minor-mode. > In diff-mode TAB moves point to the next hunk, because in browsers TAB moves > to the next link. But in outline-minor-mode TAB should expand and collapse > on the heading because TAB does this in Org mode. I think it's unfortunate that outline minor mode uses TAB, because it crashes with so much else we're using that key for. But I guess there's not much we can do about it at this point. > So we were forced to add such filter: > > (defcustom outline-minor-mode-cycle-filter nil > "Filter out positions on the heading available for cycling." > :type '(choice (const :tag "Everywhere" nil) > (const :tag "At line beginning" bolp) > (const :tag "Not at line beginning" > (lambda () (not (bolp)))) > (const :tag "At line end" eolp) > > Then you can choose: when point is at the beginning of the outline heading, > TAB can expand and collapse outlines, when point is not at the line beginning, > TAB moves to the next hunk. Yup. So I think that's the workaround here, and there's nothing really to be done in this bug report, so I'm closing it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no