From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#34908: Push mark in xref-push-marker-stack Date: Wed, 20 Mar 2019 23:49:09 +0200 Organization: LINKOV.NET Message-ID: <87zhpp2onm.fsf@mail.linkov.net> References: <87h8bz29ht.fsf@mail.linkov.net> <83h8bzv16k.fsf@gnu.org> <87a7hqio3h.fsf@mail.linkov.net> <83bm26t7bm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="62587"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 34908@debbugs.gnu.org, joaotavora@gmail.com, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 20 23:44:01 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6jwG-000GAA-0a for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Mar 2019 23:44:00 +0100 Original-Received: from localhost ([127.0.0.1]:54389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6jwE-0007lq-Tz for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Mar 2019 18:43:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6jvv-0007eq-4r for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 18:43:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6joZ-0001o0-4Q for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 18:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38782) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6joY-0001ma-PW for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 18:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h6joY-0002oR-Li for bug-gnu-emacs@gnu.org; Wed, 20 Mar 2019 18:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Mar 2019 22:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34908 X-GNU-PR-Package: emacs Original-Received: via spool by 34908-submit@debbugs.gnu.org id=B34908.155312131010697 (code B ref 34908); Wed, 20 Mar 2019 22:36:02 +0000 Original-Received: (at 34908) by debbugs.gnu.org; 20 Mar 2019 22:35:10 +0000 Original-Received: from localhost ([127.0.0.1]:52319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6jnh-0002mT-Pf for submit@debbugs.gnu.org; Wed, 20 Mar 2019 18:35:10 -0400 Original-Received: from insect.birch.relay.mailchannels.net ([23.83.209.93]:31218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h6jnf-0002mI-OX for 34908@debbugs.gnu.org; Wed, 20 Mar 2019 18:35:08 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 9D7573E4F89; Wed, 20 Mar 2019 22:35:06 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a45.g.dreamhost.com (unknown [100.96.11.48]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 2B7853E5022; Wed, 20 Mar 2019 22:35:06 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a45.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.2); Wed, 20 Mar 2019 22:35:06 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Irritate-Arch: 4271cc453978fbef_1553121306433_271477037 X-MC-Loop-Signature: 1553121306433:3527168087 X-MC-Ingress-Time: 1553121306432 Original-Received: from pdx1-sub0-mail-a45.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a45.g.dreamhost.com (Postfix) with ESMTP id 9406181B2A; Wed, 20 Mar 2019 15:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=EEo0L/ 73SJKArqw3q2KlO06enFE=; b=svv1pNkVTZOo27bPWqQhsua4pEG73pxopf0zq4 /GASr4siW27cxGYF5mInXumy1EiVmOedjswx+SWXRWPT9uKwIgQlEH803yLFPQqI rwsfUBJ8L0mw7RRV/mZxLLXTXvxkIjMlA/YsMdqv++QWVWiX80sSe1Pt6cm4keKN Kj+9w= Original-Received: from mail.jurta.org (m91-129-108-250.cust.tele2.ee [91.129.108.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a45.g.dreamhost.com (Postfix) with ESMTPSA id 9C5EC81B1D; Wed, 20 Mar 2019 15:35:01 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a45 In-Reply-To: <83bm26t7bm.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 20 Mar 2019 07:59:09 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrieeigdduieefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtkedrvdehtdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdekrddvhedtpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepvghlihiisehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgepud X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:156551 Archived-At: >> I don't want to advertise this fix because the primary way to get back >> for xref should be =E2=80=98M-,=E2=80=99. > > Well, it must be in NEWS, since this is a change in behavior. > > As for the manuals, it might be okay not to mention that, although I > admit I don't understand your reasoning: something that is not a > primary use doesn't automatically mean it shouldn't be documented. > >> Setting the mark is only needed for users who expect that every >> significant change in position should leave a trace in the global >> mark ring. > > I believe most of our commands that move to a far away position do set > the mark. Yes, most of these commands set the mark, but none of them mention this f= act in the manual. I looked at (info "(emacs) Moving Point") (info "(emacs) Moving by Defuns") etc. there is nothing about setting the mark, because it's so obvious that doesn't need a special reminder for every command. So I don't know what to write in NEWS, something along the lines: "like all commands that move to a far away position xref-find-definitions now sets the mark as well but please remember that the primary way to pop xref mark is still M-, (xref-pop-marker-stack)" ?