From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: dict Date: Thu, 18 May 2023 11:32:47 +0300 Message-ID: <83ilcqvy34.fsf@gnu.org> References: <834joj55pt.fsf@gnu.org> <87ednnvtt6.fsf@posteo.net> <875y8ywwko.fsf@posteo.net> <83zg69br5f.fsf@gnu.org> <83ednj9sw2.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8932"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, philipk@posteo.net To: Eshel Yaron Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 18 10:33:42 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 1pzZ4v-000269-FX for ged-emacs-devel@m.gmane-mx.org; Thu, 18 May 2023 10:33:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pzZ4B-0001Zc-DO; Thu, 18 May 2023 04:32:55 -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 1pzZ48-0001Yi-JI for emacs-devel@gnu.org; Thu, 18 May 2023 04:32:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzZ48-0003yI-2Y; Thu, 18 May 2023 04:32:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=w6g9MqbWWKMJ3ncHNirK58Jxq5feXi7UfH8NjDEtXgk=; b=K/ExMhiOk0tZ St8cw8Lu6/S93EDt1gPGKfPgcNZKPqQ8uHP3kuIiPAijKAtsAsHGHu634Pma5pSf8aU7/iCKU8Yv1 pBk81NmyYSjpFFuUEINPskfubXwGLFM4hAwx6UWiHE2YAOKuHKRXKrntNN0VP/8eN3hUI5W9iI764 2WrlK0mifQwFLFQHtuJW0IVIJZU6SnuvznXfUfqAofDWI7bAndrfzOnrTgYes9Sv4G6thk+69gd9y yk/wopthFBX5SMoCFm/s4QlQ2uuHfx/BV1XXOxOVBtMuBnX/Bn4RJIM5qj0/pfNhYx9HIwFKVbi51 qjBFvid+Ddh9N6/G10Oiyw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pzZ3s-0005Ua-IZ; Thu, 18 May 2023 04:32:37 -0400 In-Reply-To: (message from Eshel Yaron on Thu, 18 May 2023 10:57:00 +0300) 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:306169 Archived-At: > From: Eshel Yaron > Cc: philipk@posteo.net, Eli Zaretskii > Date: Thu, 18 May 2023 10:57:00 +0300 > > Hi all, > > > Alright, I'm attaching a patch that extends dictionary.el with new user > > options that modify the behavior of `dictionary-search`. With this > > patch, `dictionary-search` behaves like my `dict-describe-word` after > > applying the following customizations: > > > > (setq dictionary-read-dictionary-function > > #'dictionary-completing-read-dictionary) > > (setq dictionary-read-word-function > > #'dictionary-completing-read-word) > > (setq dictionary-display-definition-function > > #'dictionary-display-definition-in-help-buffer) > > Any comments on this patch? I didn't yet have time to review it, sorry. Will do soon.