[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: News-mode improvements

From: Robert Pluim
Subject: Re: News-mode improvements
Date: Mon, 30 Jan 2023 16:14:35 +0100

>>>>> On Mon, 30 Jan 2023 16:58:59 +0200, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Robert Pluim <rpluim@gmail.com>
    >> Cc: emacs-devel@gnu.org
    >> Date: Mon, 30 Jan 2023 15:39:10 +0100
    >> >>>>> On Mon, 16 Jan 2023 21:37:47 +0200, Eli Zaretskii <eliz@gnu.org> 
    Eli> Btw, that mode "needs work", IMO: it has no menu-bar menu (and so
    Eli> mouse-1 on its mode-line indication does funny things), and it begs
    Eli> for some useful key bindings.
    >> Adding a menu bar is easy enough. What bindings were you thinking of?

    Eli> The commands defined there are all useful, so some "C-c SOMETHING"
    Eli> bindings for the following commands would be appreciated:
    Eli> emacs-news-next/previous-untagged-entry, emacs-news-toggle-tag,
    Eli> emacs-news-count-untagged-entries, emacs-news-goto-section,
    Eli> emacs-news-find-heading, emacs-news-open-line,
    Eli> emacs-news-delete-temporary-markers.

    Eli> TIA

Your wish is granted: those already exist (except
`emacs-news-delete-temporary-markers', which I guess we could put on
"C-c C-D" or something):

(defvar-keymap emacs-news-mode-map
  :parent emacs-news-common-map
  "C-c C-s" #'emacs-news-next-untagged-entry
  "C-c C-r" #'emacs-news-previous-untagged-entry
  "C-c C-t" #'emacs-news-toggle-tag
  "C-c C-g" #'emacs-news-goto-section
  "C-c C-j" #'emacs-news-find-heading
  "C-c C-e" #'emacs-news-count-untagged-entries
  "C-x C-q" #'emacs-news-view-mode
  "<remap> <open-line>" #'emacs-news-open-line)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]