GNU bug report logs - #56360
[PATCH] Improve navigation keybindings in emacs-news-mode

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Sat, 2 Jul 2022 19:08:02 UTC

Severity: wishlist

Tags: patch

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56360 in the body.
You can then email your comments to 56360 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56360; Package emacs. (Sat, 02 Jul 2022 19:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 02 Jul 2022 19:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Improve navigation keybindings in emacs-news-mode
Date: Sat, 2 Jul 2022 21:07:31 +0200
[Message part 1 (text/plain, inline)]
Severity: wishlist

I think the navigation commands in `emacs-news-mode' and
'emacs-news-view-mode-map' should be similar to `org-mode' and
`outline-mode'.  IMO, the parts where they agree is the closest we have
anything resembling a "standard" for navigating an outline in Emacs.
See the attached patch.

It is worth comparing to:

    (describe-keymap 'outline-mode-prefix-map)
    (describe-keymap 'outline-navigation-repeat-map)
    (describe-keymap 'org-mode-map)
[0001-Improve-navigation-keybindings-in-emacs-news-mode.patch (text/x-diff, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56360; Package emacs. (Sun, 03 Jul 2022 12:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 56360 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 56360 <at> debbugs.gnu.org
Subject: Re: bug#56360: [PATCH] Improve navigation keybindings in
 emacs-news-mode
Date: Sun, 03 Jul 2022 14:34:57 +0200
Stefan Kangas <stefan <at> marxist.se> writes:

> I think the navigation commands in `emacs-news-mode' and
> 'emacs-news-view-mode-map' should be similar to `org-mode' and
> `outline-mode'.  IMO, the parts where they agree is the closest we have
> anything resembling a "standard" for navigating an outline in Emacs.
> See the attached patch.

Makes sense to me; go ahead and push.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56360; Package emacs. (Sun, 03 Jul 2022 12:42:02 GMT) Full text and rfc822 format available.

Message #11 received at 56360 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 56360 <at> debbugs.gnu.org
Subject: Re: bug#56360: [PATCH] Improve navigation keybindings in
 emacs-news-mode
Date: Sun, 03 Jul 2022 14:41:33 +0200
But leads to these warnings:

In end of data:
textmodes/emacs-news-mode.el:48:15: Warning: the function `outline-up-heading' is not known to be defined.
textmodes/emacs-news-mode.el:47:15: Warning: the function `outline-previous-visible-heading' is not known to be defined.
textmodes/emacs-news-mode.el:46:15: Warning: the function `outline-next-visible-heading' is not known to be defined.
textmodes/emacs-news-mode.el:45:15: Warning: the function `outline-backward-same-level' is not known to be defined.
textmodes/emacs-news-mode.el:44:15: Warning: the function `outline-forward-same-level' is not known to be defined.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Sun, 03 Jul 2022 12:43:02 GMT) Full text and rfc822 format available.

Notification sent to Stefan Kangas <stefan <at> marxist.se>:
bug acknowledged by developer. (Sun, 03 Jul 2022 12:43:02 GMT) Full text and rfc822 format available.

Message #16 received at 56360-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56360-done <at> debbugs.gnu.org
Subject: Re: bug#56360: [PATCH] Improve navigation keybindings in
 emacs-news-mode
Date: Sun, 3 Jul 2022 14:42:10 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Makes sense to me; go ahead and push.

Thanks, pushed as commit d68ecda05c.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56360; Package emacs. (Sun, 03 Jul 2022 12:49:02 GMT) Full text and rfc822 format available.

Message #19 received at 56360 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56360 <at> debbugs.gnu.org
Subject: Re: bug#56360: [PATCH] Improve navigation keybindings in
 emacs-news-mode
Date: Sun, 3 Jul 2022 14:48:13 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> In end of data:
> textmodes/emacs-news-mode.el:48:15: Warning: the function `outline-up-heading' is not known to be defined.
> textmodes/emacs-news-mode.el:47:15: Warning: the function `outline-previous-visible-heading' is not known to be defined.
> textmodes/emacs-news-mode.el:46:15: Warning: the function `outline-next-visible-heading' is not known to be defined.
> textmodes/emacs-news-mode.el:45:15: Warning: the function `outline-backward-same-level' is not known to be defined.
> textmodes/emacs-news-mode.el:44:15: Warning: the function `outline-forward-same-level' is not known to be defined.

Thanks, should be fixed now.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 01 Aug 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 37 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.