From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eshel Yaron Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: dict Date: Thu, 11 May 2023 20:56:10 +0300 Message-ID: References: <834joj55pt.fsf@gnu.org> <87ednnvtt6.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="837"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 11 19:57:25 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 1pxAXc-000AWZ-8o for ged-emacs-devel@m.gmane-mx.org; Thu, 11 May 2023 19:57:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxAWZ-0003Ve-1b; Thu, 11 May 2023 13:56:19 -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 1pxAWW-0003VR-Qe for emacs-devel@gnu.org; Thu, 11 May 2023 13:56:17 -0400 Original-Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxAWV-0004mD-3Z; Thu, 11 May 2023 13:56:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1683827773; bh=vrSH3fCUa6udeMg6Q4eE29Y0chOuqQXxw7UA7tmKRBo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=DIt66n9hMNAVOA7K8kHN99lde7IwLIXDSa/d8rH8OCz7nMsa+J4y7lKnXMzd7y+CZ 9J4q8B9hXoR0XtS/s2BDoV2TJEWRLKAgdPrVrttSPsrBrHJuL7CgPrYvLUXeETJ3mI QpNbGVAnq3Ir4ttEaieprMWek4ON57SfVUcWxV7XRUkqBypFhMozKEtf99kjoD7W1k 4w++Yzcjf0r0m4P9PcWZfbmrwlS5imBLZBUEM7LCpgsKy+DLKneejvOY2wLLhZkSKf w4RGBbXYuk54lS78Fo0lgLqB1gYANCnJ/YzCQ+5CnAh1fzFw+Wz4SAIh1HWksVimN/ 9ZD+JoT3rCWvQ== In-Reply-To: <87ednnvtt6.fsf@posteo.net> (Philip Kaludercic's message of "Thu, 11 May 2023 14:14:45 +0000") Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@eshelyaron.com; helo=eshelyaron.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:306061 Archived-At: Eli, Philip, thanks for looking into it. Philip Kaludercic writes: > Eli Zaretskii writes: > >>> From: Eshel Yaron >>> Date: Thu, 11 May 2023 16:22:06 +0300 >>>=20 >>> The main motivation behind this package was to resolve some usability i= ssues >>> that I came across with dictionary.el. Namely, I'm not satisfied with = the fact >>> that dictionary.el unconditionally switches to the *Dictionary* buffer = when >>> displaying a definition, and I don't appreciate how it tries to remembe= r my >>> previous windows configuration and revert back to it when I close the >>> *Dictionary* buffer with the q key. Of course, I'm open to the possibi= lity of >>> modifying dictionary.el instead of adding this separate package GNU ELP= A if >>> anyone thinks that's preferable, but I also think it would be nice to l= et people >>> try out Dict and get some feedback beforehand. >> >> I think if we could augment dictionary.el so as to satisfy your needs, >> perhaps as some kind of minor mode or user option, that would be >> better than having an entirely separate package. Alright, I can give augmenting dictionary.el a shot. The way I see it, this has the downside that it'll only be available in Emacs 30, and I'm not sure how elegant that's gonna be, but I guess I can put a patch together for emacs.git and then reassess. > > I don't think that is possible, Eshel writes on his website: > > Dict=E2=80=99s differentiation comes from its simplicity and > extensibility=E2=80=93while dictionary.el defines a bespoke major mode= and > interface for browsing word definitions, Dict leverages Emacs=E2=80=99= s Help > mode by default, and let=E2=80=99s you extend and control every aspect= of its > behavior via customization options. > > dict.el is also shorter than dictionary.el=E2=80=93just under 300 line= s of > code! > > This is a ERC vs rcirc like situation. I'm afraid I haven't used ERC enough to understand this comparison, does it imply that you think it'll be hard to keep Dict's simplicity intact upon incorporating it with dictionary.el? --=20 Best, Eshel