From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Daniel_Mart=C3=ADn?= Newsgroups: gmane.emacs.devel Subject: Re: Poll: Change xref-show-definitions-function's default? Date: Thu, 31 Dec 2020 14:06:59 +0100 Message-ID: References: <9af40a30-8964-3142-aadf-6592605720ec@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30239"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) Cc: emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 31 14:08:17 2020 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 1kuxge-0007lK-Nx for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Dec 2020 14:08:16 +0100 Original-Received: from localhost ([::1]:41876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kuxgd-00031m-LT for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Dec 2020 08:08:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuxfe-0002bj-8L for emacs-devel@gnu.org; Thu, 31 Dec 2020 08:07:14 -0500 Original-Received: from sonic310-57.consmr.mail.ir2.yahoo.com ([77.238.177.30]:46179) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kuxfc-0002Hk-41 for emacs-devel@gnu.org; Thu, 31 Dec 2020 08:07:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1609420024; bh=fzIB+Rr+HjLv4ns0Y78MwPN7EdvIzsAHOfISHRUPr+M=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject; b=CL6zAy2qj1zr5zTqiBCYPu0AOdVi86YvAPcsw6w1hY/Y19fsatwrdWh8A8AoF181Sbp70Tntdvs2u7BJgRcKC/ueoYeoK46bmcMpSw51blUy0lQOyI8P8dT44492uo07NGmhX5xT0mZBinQh097Thnwt/O+3Q1h4VRGkn1L2rng5p1F9q0tQMFukKppNIk/rV7rYsDXP7jxGq9VQo3y0X3AsWPdpshYpAgtJ8nd1IFSR2VRUUGWgEOvUM8AuzTfhZEUXXFOz7DDSo9rrFySVevuFi+AemgTuTYqCJHH7i3se7bWp59DwhjrYtL7FAgGfVZfeTCNh2iEIp57S4hp06w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1609420024; bh=8FFxxS1G1lYtXUdqm51+XSbOP9RwYD6OE0Is1QVoXQp=; h=From:To:Subject:Date:From:Subject; b=ZaWuWTEVT0/V7j/qkI2KaItkmO/OzBOrj5AyG5OMZK0mkSYCiKUKPSrKdi8EdA5tinYftvMZAb1ndvwktB3Vo4TgPizDazm5Vjg+rEeVIXXzv7heI8uV78seMqVaSAPHetZNDpWRm/Kzlul/oT4Dcc1I0cSej3UqtLKtEdZrX4iMoqSFOwMH20YWNp0Your2HqH3C1A0vkTYlIF9s1GJGHTju+foy3htwL7WP52ZzyjXhoovvJ4ZcLq7bRdK5URLl+GZGtpzeiGphmBWhHu8K7tcM4reZRQkgvUao2zGPJG5QJTSPVGbXQXa/PZI/Nx/7CKxExjs7Wegv/MFDQYqfg== X-YMail-OSG: cHCUzu4VM1lraeNxrDSLKWPkKG5gSp3dj58RMSh9V9Tfo0LwS2a4WXIeIOJX3if 6q0M0FKBS88RMMnMn_ciskwARwAA10dYZCCTr4y4Uju6pDhFSmuGMhh.FQ7loJZnPMudQNB2co6_ jeOBBbBKhFzF3wErKKwiWPLA0l4KIXcDtS9zNL39jqsfRpQFK6QZwHj0edp6PxmOuwzgR0m7sUhg kVrqStho3oy7FM7bq6gTd61J6E.NDpBok9l1pMn8tLCgF_mXB0b4telmxt9BhCZYpkMCD.1RpKIv VsK7Cr3R5FBnj.b2AZCjOd0vjwj3JVRKydS_xFa2irz56lkRnAP3UMgvT87.qqNYp_D_qEfzbcWi 9AIcVU4z98lRZhNZRkW07TEz7ueuIp_a_rZwt.0Vez.031XG2d0Db8pTSEmj8OXoyg1vRdoajkjN m4wbMI3E3vW4SoqLxVFyS0BppocfmxEhczh30uDgHd333RMJoZ26uGW7dAdyjjRFw5hinLMOn8nE NAWBIUGJpB5RoyBsx.6NgbdCckwYa8dy_Bhn7oMBrQ_MJpwfJNlFKPRo03IGm4iR6unCJdE6DHU5 FSNxyqChN4jTP4VaMpJNpofzJ8mbjxW.kLX8pU_aYLdC9kiC30dxgDR5E2lthG3ucyRtSChuLaGL 0fyzWrzOdjl5XNX_5KK3xeL9tKWnDtfwQtJSeYbN_6ERyH4OvaVeJCUhfgkaXrEJTMkzEb5B3lDf Kt9y9_B3OUnuLAhbRMOCTXEY9t91uTO6WTHhLsdFD8tL.DpuZE_XHE0d1IxoQEN65dBcDeF6JbyL d2paDRIU5MkSjl1vV4yuVVyRruQH4eFy0Zc5Ekhw3U Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ir2.yahoo.com with HTTP; Thu, 31 Dec 2020 13:07:04 +0000 Original-Received: by smtp411.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 85c17ac89606623d2ee525897941da2c; Thu, 31 Dec 2020 13:07:00 +0000 (UTC) In-Reply-To: <9af40a30-8964-3142-aadf-6592605720ec@yandex.ru> (Dmitry Gutov's message of "Tue, 29 Dec 2020 20:28:27 +0200") X-Mailer: WebService/1.1.17278 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.8) Received-SPF: pass client-ip=77.238.177.30; envelope-from=mardani29@yahoo.es; helo=sonic310-57.consmr.mail.ir2.yahoo.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:262156 Archived-At: Dmitry Gutov writes: > Hi all, > > In commit 8c383456291185b029b469061338b5b797a49747 I have done a bit > of cleanup and documented the existing alternative options. > > What do you say we make one of them the default? I've given a spin to the new options and I think I'd prefer the transient option first, followed by choosing the definition from a buffer (like it is now). The completing-read option feels a little bit akward to me because you first have to press TAB to see your options, and then have to TAB complete on the "artificial" syntax that xref uses for definitions (eg. "compile.el:(defun compile)"). The "transient" option feels more natural.