unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Yoni Rabkin <yoni@rabkins.net>
To: emacs-devel <emacs-devel@gnu.org>
Subject: eww bookmarks code naming for interactive functions
Date: Wed, 24 May 2023 12:29:00 -0400	[thread overview]
Message-ID: <875y8hsng3.fsf@rabkins.net> (raw)


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"



             reply	other threads:[~2023-05-24 16:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-24 16:29 Yoni Rabkin [this message]
2023-05-24 16:45 ` eww bookmarks code naming for interactive functions Eli Zaretskii

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=875y8hsng3.fsf@rabkins.net \
    --to=yoni@rabkins.net \
    --cc=emacs-devel@gnu.org \
    /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).