unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: martin rudalics <rudalics@gmx.at>,
	Stefan Kangas <stefankangas@gmail.com>,
	 Juri Linkov <juri@linkov.net>
Cc: "Philipp Stephani" <p.stephani2@gmail.com>,
	"Daniel Martín" <mardani29@yahoo.es>,
	"Emacs developers" <emacs-devel@gnu.org>
Subject: RE: Pushing the mark from a primitive like goto-char
Date: Tue, 29 Dec 2020 09:56:58 -0800 (PST)	[thread overview]
Message-ID: <e5fc82f7-2ef4-4aff-8f65-31af67d4d412@default> (raw)
In-Reply-To: <7a7c50cd-91dc-a818-f8a2-eacfb6243318@gmx.at>

>>> BTW, is there a reason why 'goto-map' is so terribly unpopulated?
>> Do you have any ideas for what to add?
> 
> Not really - it's the first time I've been looking into it.  But given
> the recent discussions about stealing each other's bindings I wonder why
> such a convenient prefix like M-g is not more exploited.  Maybe because
> ESC on a terminal is not so convenient.

You might consider adding `(beginning|end)-of-buffer'
to `goto-map'.

FWIW, my library `menu-bar+.el' has this for the
`Go To' menu (not quite the same thing as `goto-map'):

 Line...                        M-g g
 Column (Position in Line)...   M-g TAB
 Buffer Position...             M-g c
 Beginning of Buffer            M-<
 End of Buffer                  M->
 Next Error                     C-x `
 Previous Error                 M-g p

And if Bookmark+ is available (which has many kinds
of jump commands), submenu `Bookmark' (jumping only).
(Those jump items are also on a more general `Bookmarks'
menu, along with non-jump bookmark commands.)

And if Icicles is available, submenu `Icicles', which
has multi-command items for moving among markers etc.
___

And tag-finding (now "xref") items could be moved from
`goto-map' to a search map (such as `search-map').
They're not so much about going to a predefined
position as they are about finding something.  A user
is more likely to look for finding and searching in
the same place.

`menu-bar+.el' puts them on a menu-bar `Search' menu,
submenu `Tags':

  Find Tag...
  Find Next Tag
  ___________
  Find Tag Regexp...
  Search Tagged Files...
    Continue Search/Replace
  ___________
  Tags Apropos...
  Set Tags File Name...

___

`menu-bar+.el' also puts `grep' and similar on the
`Search' menu, not `Tools' -- they're about finding
or searching.

The `Tools' menu is a catch-all.  Something should
be there only if there's no more specific kind of
"tool"/action place to put it.  Searching/finding
tools are better on a `Search' menu.



  reply	other threads:[~2020-12-29 17:56 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m1im8mgmb7.fsf.ref@yahoo.es>
2020-12-28 12:14 ` Pushing the mark from a primitive like goto-char Daniel Martín
2020-12-28 14:17   ` Philipp Stephani
2020-12-28 14:45     ` Daniel Martín
2020-12-28 14:49     ` Eli Zaretskii
2020-12-28 14:56     ` Stefan Kangas
2020-12-28 15:32       ` Philipp Stephani
2020-12-28 16:49         ` martin rudalics
2020-12-28 17:15           ` Juri Linkov
2020-12-29  8:54             ` martin rudalics
2020-12-29 14:41               ` Stefan Kangas
2020-12-29 16:59                 ` martin rudalics
2020-12-29 17:56                   ` Drew Adams [this message]
2020-12-29 19:25                   ` Juri Linkov
2020-12-29 19:47                     ` Eli Zaretskii
2020-12-30  9:36                       ` Juri Linkov
2020-12-29 19:54                     ` Drew Adams
2020-12-30  9:41                       ` Juri Linkov
2020-12-30 17:32                         ` Drew Adams
2020-12-30  5:26                   ` Richard Stallman
2020-12-31  2:43                   ` Howard Melman
2021-01-05 19:06               ` Daniel Martín via "Emacs development discussions.
2021-01-05 19:17                 ` Stefan Monnier
2021-01-05 19:19                 ` Stefan Monnier
2021-01-05 19:52                   ` Philipp Stephani
2021-01-05 20:01                     ` Stefan Monnier
2021-01-05 20:29                     ` Drew Adams
2021-01-06  5:12                       ` Richard Stallman
2021-01-05 19:29                 ` Eli Zaretskii
2021-01-05 19:53                   ` Philipp Stephani
2021-01-08 19:30                   ` Daniel Martín via "Emacs development discussions.
2021-01-05 19:56                 ` Philipp Stephani
2021-01-06 19:26                 ` Gabriel do Nascimento Ribeiro

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=e5fc82f7-2ef4-4aff-8f65-31af67d4d412@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    --cc=mardani29@yahoo.es \
    --cc=p.stephani2@gmail.com \
    --cc=rudalics@gmx.at \
    --cc=stefankangas@gmail.com \
    /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).