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.help Subject: Re: etags to xref changed navigation Date: Thu, 25 Apr 2024 03:05:39 +0300 Message-ID: <61c19ec5-1f9e-4705-8a4c-0dad852ae6d2@gutov.dev> References: <87sezdqvox.fsf@vps.thesusis.net> <86edax5s9t.fsf@gnu.org> <86bk615ho9.fsf@gnu.org> <87cyqg6ma8.fsf@vps.thesusis.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="353"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: help-gnu-emacs@gnu.org To: Stefan Monnier , Phillip Susi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 25 02:11:59 2024 Return-path: Envelope-to: geh-help-gnu-emacs@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 1rzmiT-000AJD-N7 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 25 Apr 2024 02:11:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzmd0-0008LY-DO; Wed, 24 Apr 2024 20:06:20 -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 1rzmcX-0007rj-Fh for help-gnu-emacs@gnu.org; Wed, 24 Apr 2024 20:05:53 -0400 Original-Received: from wfout1-smtp.messagingengine.com ([64.147.123.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzmcV-0008P8-GZ for help-gnu-emacs@gnu.org; Wed, 24 Apr 2024 20:05:49 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.west.internal (Postfix) with ESMTP id 698031C0013E; Wed, 24 Apr 2024 20:05:43 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 24 Apr 2024 20:05:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1714003542; x=1714089942; bh=3bei7we/tMEPBfMx4SV88X1T6VmiNOdGAe0mQG8MMTs=; b= NjUNb732n5rbUKe3SPIatGZ5+yS9jbuOs8BgB6owEPbtHSYU8UwX0/wWBzYzLCrQ ox4ECBryQ9mVX7BIyMIYGYUs38sKSWWhtburY41om3wW3EpVXWXCwiQ99lMS1KOP 5yOGmkoOhLvAQkYILEmRELfSoWiKh2DZNDPdjvbCYVWgMjgrYJW/He36pM/eVI53 8MBBzG+F/OQ4WIe+zp4MavXLO0liDCEnyHgBKN/5fe3Bt54btWmvnj43xTK7Is9M fS6lqh1z/aJrsa2orb1HFGCI+DCgWBqiiaDl3jfOj4jhYhtUgagbYG9GYTLvvigi PNuTkTqN1VLiT8hFsE2fCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714003542; x= 1714089942; bh=3bei7we/tMEPBfMx4SV88X1T6VmiNOdGAe0mQG8MMTs=; b=c n/fAlBThjHnBR4NhoR+uq/acsS2LQCSjWrNA0pMiDgX90Ep/oj0b2mBweyiQmB61 NYpOtnd0/JhqjJ8e5f5rjaWq8AqsqtB7IKUS6XK5C0KKaROXxOX5yDsiI2vryN4x nDX4kB5KO2Io0jrfq5HmO88LEOnljUxkdXh6zIkLUsmy4XGvt0n+UYy6gwzH6jCv TfAaHtJH8hioIQd1q9/nIB16Bq+J2wJYlHoOVnOwS+TQ44l2XiaKZfH9UFBm4I1w xrhibTGjyBnV7/kOt9815sviAK46Xo13esnA/GDqLYBrTImgWtPD9iDyQc5X9pXa Tu+1dCvm6cOXnLEXPwi5g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudeliedgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 24 Apr 2024 20:05:41 -0400 (EDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=64.147.123.144; envelope-from=dmitry@gutov.dev; helo=wfout1-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 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_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146469 Archived-At: On 23/04/2024 21:29, Stefan Monnier wrote: >>> I'm not sure what the problems would be, concretely, but we can always >>> solve the problem by making the behavior optional. >> I think the reason why it was on M-, before was because repeated >> M-. couldn't tell whether you wanted the next, or to start a new search >> for whatever point is on now. > That's also my understanding, and I'm suggesting that it distinguishes > the two by checking if `M-.` is used consecutively or not (just like > `C-/` can't easily tell whether you want to keep undoing or you want to redo > the thing you just undid, so it checks whether these `C-/` are > consecutive or not). In such as scheme, if the first 'M-.' brings you to a beginning of a symbol, the next 'M-.' would be ambiguous: would you want to continue the previous navigation (and go to the second location), or would you want to go to the definition of the new symbol?