From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yoni Rabkin Newsgroups: gmane.emacs.devel Subject: eww bookmarks code naming for interactive functions Date: Wed, 24 May 2023 12:29:00 -0400 Message-ID: <875y8hsng3.fsf@rabkins.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31062"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 24 18:30:17 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q1rNQ-0007rE-Gi for ged-emacs-devel@m.gmane-mx.org; Wed, 24 May 2023 18:30:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1rMK-0002XX-Ln; Wed, 24 May 2023 12:29:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1rMJ-0002Wb-AY for emacs-devel@gnu.org; Wed, 24 May 2023 12:29:07 -0400 Original-Received: from smtprelay0017.hostedemail.com ([216.40.44.17] helo=relay.hostedemail.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1rMH-0007Jo-NW for emacs-devel@gnu.org; Wed, 24 May 2023 12:29:07 -0400 Original-Received: from omf09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 42F21120A64 for ; Wed, 24 May 2023 16:29:03 +0000 (UTC) Original-Received: from [HIDDEN] (Authenticated sender: yoni@rabkins.net) by omf09.hostedemail.com (Postfix) with ESMTPA id 367D320024 for ; Wed, 24 May 2023 16:29:02 +0000 (UTC) X-Ethics: Use GNU X-Rspamd-Server: rspamout02 X-Rspamd-Queue-Id: 367D320024 X-Stat-Signature: 4x5py89qsabg7fzazspib857637k611m X-Session-Marker: 796F6E69407261626B696E732E6E6574 X-Session-ID: U2FsdGVkX19TMTv/pxxzGHjvisRDiWIK9hrvnORz4KM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rabkins.net; h=from:to:subject:date:message-id:mime-version:content-type; s=dkim1; bh=2h057cxu8t7WXXhIR78xZHWGzHyTt8gR9oznN9XKn28=; b=SDq05HmEqw4Yb7XKrW/A8NLFKZHO19HMJoL+owIEh6J56v6pvCh+7ayRN3Ghcgo5hw31rPC/lht9Fh6M1nz46Hc6RzMs8d8uzH0KlYWWuU7zurPRnWnCgpYcVUKqwU6lbG9Js5JnA5hXLbNVwzH2uJlr4xdGmMUPhPYEBcmNRlQ= X-HE-Tag: 1684945742-53564 X-HE-Meta: U2FsdGVkX19UdhZGoEZYGdfPbYUxkJfabDV12/A9u+0IXqpsijma6lJPW3b1Bd4NvrZTH00t2GybhJ1MWgt2Wg== Received-SPF: pass client-ip=216.40.44.17; envelope-from=yoni@rabkins.net; helo=relay.hostedemail.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306302 Archived-At: 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"