unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* eww bookmarks code naming for interactive functions
@ 2023-05-24 16:29 Yoni Rabkin
  2023-05-24 16:45 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Yoni Rabkin @ 2023-05-24 16:29 UTC (permalink / raw)
  To: emacs-devel


Hello all,

eww.el exposes a number of interactive functions for dealing with
bookmarks:

eww-add-bookmark
eww-list-bookmarks
eww-bookmark-kill
eww-bookmark-yank
eww-bookmark-browse
eww-next-bookmark
eww-previous-bookmark

Note that some of them have the noun before the verb, but others
visa-versa. I find this confusing, and because of it I often find myself
stumbling when autocomplete in the minibuffer doesn't do what I thought
it was going to do.

Elsewhere in eww.el, the dominant form for interactive functions is
verb-first, such as `eww-open-file', `eww-search-words',
`eww-open-in-new-buffer', etc.

Would y'all accept a patch which changes function names such as
`eww-bookmark-kill' to `eww-kill-bookmark'?

-- 
   "Cut your own wood and it will warm you twice"



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-24 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 16:29 eww bookmarks code naming for interactive functions Yoni Rabkin
2023-05-24 16:45 ` Eli Zaretskii

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).