From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: dict Date: Thu, 11 May 2023 18:29:43 +0000 Message-ID: <875y8ywwko.fsf@posteo.net> 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="12230"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Eshel Yaron Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 11 20:30:33 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 1pxB3h-0002xi-84 for ged-emacs-devel@m.gmane-mx.org; Thu, 11 May 2023 20:30:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pxB32-0000zz-P3; Thu, 11 May 2023 14:29:53 -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 1pxB2z-0000zP-T6 for emacs-devel@gnu.org; Thu, 11 May 2023 14:29:50 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pxB2x-00032B-SQ for emacs-devel@gnu.org; Thu, 11 May 2023 14:29:49 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id AABB02401EC for ; Thu, 11 May 2023 20:29:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683829784; bh=x/T1xU50yqLPy5YsoekIXTu3t85/0gqkn/T+XVHRqlI=; h=From:To:Cc:Subject:Autocrypt:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=SM3bGiowe8mgVZaZyr5MN0atURVNFRka/uVhthsxr2qTrOZXnAkv/XNqChDymGtgS rPOofi4IDRHPYOoGg9K0xkfY+BhZfkiznssWmIo/C9z6J4BfUnANJ0dNAcw5pE8MiM 1UNYltLKVPREQGfT1aEAWoT4Bj5gAAdiUxgB05KnnhMr8eWrH0yB4mIfL2YFOYP/FS dd2Ghe2UUuTBpC14fwRjLdQjAc7s4QaF0gl6wPC7B9ekPdDcMER2JHQ0hqiTZEVfXx nmlYwhV4QZz/KDHjTBFDLaBYWYRhw6WAL7cx8+ns5hu81SHkWuXOpN7ITalQbX+89K Cl359lkYqbNag== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QHL600scKz9rxK; Thu, 11 May 2023 20:29:43 +0200 (CEST) In-Reply-To: (Eshel Yaron's message of "Thu, 11 May 2023 20:56:10 +0300") Autocrypt: addr=philipk@posteo.net; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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:306064 Archived-At: Eshel Yaron writes: > 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 = issues >>>> 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 rememb= er 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 possib= ility of >>>> modifying dictionary.el instead of adding this separate package GNU EL= PA if >>>> anyone thinks that's preferable, but I also think it would be nice to = let 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 mod= e and >> interface for browsing word definitions, Dict leverages Emacs=E2=80= =99s Help >> mode by default, and let=E2=80=99s you extend and control every aspec= t of its >> behavior via customization options. >> >> dict.el is also shorter than dictionary.el=E2=80=93just under 300 lin= es of >> code! >> >> This is a ERC vs rcirc like situation. > > I'm afraid I haven't used ERC enough to understand this comparison,=20 rcirc and ERC are just two different IRC clients, respectively minimalist and maximalist. > does > it imply that you think it'll be hard to keep Dict's simplicity intact > upon incorporating it with dictionary.el? Right, you'll either have to remove stuff from dictionary.el that people have started to depend on, or ignore that fact.