From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Poll: Change xref-show-definitions-function's default? Date: Wed, 6 Jan 2021 22:55:21 +0200 Message-ID: <07c6166d-119a-6479-03ed-2bde5c51959f@yandex.ru> References: <9af40a30-8964-3142-aadf-6592605720ec@yandex.ru> <871rf0ob2c.fsf@mail.linkov.net> <7b108ef2-7798-19b9-f37d-680bdcb23745@yandex.ru> <87czyh52rj.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33754"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: emacs-devel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 06 21:56:10 2021 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 1kxFqh-0008by-VA for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Jan 2021 21:56:07 +0100 Original-Received: from localhost ([::1]:42750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxFqh-0006y8-0A for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Jan 2021 15:56:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxFq5-0006Y1-AG for emacs-devel@gnu.org; Wed, 06 Jan 2021 15:55:29 -0500 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:33828) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxFq3-00070m-FW for emacs-devel@gnu.org; Wed, 06 Jan 2021 15:55:29 -0500 Original-Received: by mail-wm1-x32c.google.com with SMTP id g25so3810118wmh.1 for ; Wed, 06 Jan 2021 12:55:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/bqH2OonqAWNzpt+x9QbYRbspEydCRcAbiXWauNXQws=; b=qi9TAjBonOGDiOAQPPfBqXRqQnNn7z/dg+48hxqw9dRsK1OiRaoL+iev3lAfYhv0oR 9AbKZUpcpGvD+XJGIqwddpUWGpJVD7c8/ZNCZZUOEpswZKiQ3jsOs4vmMK5sucjQq0es ADs8/lSorRvawuyl35x54znupE4YOYkYlEmWQ51EnB/VCTzMI3rBc7S65ZqmmH9NQ5g+ y6JFPfNd/Hlgw9HyP5x09e7FYLh0rmstepnhLxify3ekc2pftRRhfrOoya9xUaqtjQ0l +PitQ4MAlZGvCPuKlAvbd0kTlfZM4YtZN82rL2UWog1dSNAl7AtKRd6M9u7r2T4jdFxH fIwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/bqH2OonqAWNzpt+x9QbYRbspEydCRcAbiXWauNXQws=; b=EOoFrDCIySM6g2/+iYRQV7Jf+XR9x0LYszxlp8/KUkrGCswEW7BBZcG0vMG26Y3K+u qo92roDORENjE3FhS2Y/+mEGP5NJE6d1zrP4pHEwnCPBvqNnMZOR9YDoU3DaU++93J1x XQec1K6uTzYKoi6rz1J6hV4fpusLQgB4eewIoA5oOBRfek87pcZ4iYZuqmRjLhVuzti5 4h6GOkIL6XY6/atVPb6KV1TcmFDgJ5SW9jEkNFKxP2iy2NGjYvAOOl0z6KqKFx4/jRSj ME/v4mn8NjhucnqjcMWMQ53vXAC8Zc9ceBeI+jy+Ge+/3CMutC8Ucd2f++RNHedlZFtt SvRg== X-Gm-Message-State: AOAM5304xDQHfWF82hF4eNmiuKTiNWQeQVFRKGgLDj5QNQq5jiRtaiLw oqWsYrPVzIxcvLonqRWargfg1iGhBizNRQ== X-Google-Smtp-Source: ABdhPJwhHa95xeg9TSuhqXccCNB85edTFcWhb5DO3qfdy95FMrwU1iD3wnVSjBASdRCRk+lrHkFnAg== X-Received: by 2002:a1c:a785:: with SMTP id q127mr5136650wme.25.1609966525604; Wed, 06 Jan 2021 12:55:25 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id o83sm4428217wme.21.2021.01.06.12.55.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Jan 2021 12:55:24 -0800 (PST) In-Reply-To: <87czyh52rj.fsf@mail.linkov.net> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=raaahh@gmail.com; helo=mail-wm1-x32c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:262632 Archived-At: On 06.01.2021 20:30, Juri Linkov wrote: > I'm afraid the default of xref-show-definitions-function can't be changed > to xref-show-definitions-completing-read because as this poll indicates > it works satisfactorily only in combination with icomplete-mode and > also non-nil icomplete-show-matches-on-no-input. What about xref-show-definitions-buffer-at-bottom, then? >> Then we can safely remove/change the TAB binding in xref--xref-buffer-mode, >> or alternatively, create a new major mode that is slightly more Grep-like, >> and use it in the default xref-show-xrefs-function. > > Maybe a new submode could help to resolve this discrepancy. Yes, that's the second option I meant.