From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] Could we get rid of Org specific "mark ring" Date: Tue, 27 Feb 2018 01:27:48 +0100 Message-ID: <87po4rxomz.fsf@nicolasgoaziou.fr> References: <87o9lcntdq.fsf@nicolasgoaziou.fr> <87po5rxcgq.fsf@nicolasgoaziou.fr> <87fu6nx93a.fsf@nicolasgoaziou.fr> <87bmhbx7z6.fsf@nicolasgoaziou.fr> <87lggew91v.fsf@nicolasgoaziou.fr> <87muzy10mg.fsf@nicolasgoaziou.fr> <87inal1og8.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqT7c-0007Ky-TU for emacs-orgmode@gnu.org; Mon, 26 Feb 2018 19:27:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqT7X-0001Ez-Ve for emacs-orgmode@gnu.org; Mon, 26 Feb 2018 19:27:56 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:34911) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eqT7X-0001El-OQ for emacs-orgmode@gnu.org; Mon, 26 Feb 2018 19:27:51 -0500 In-Reply-To: (Samuel Wales's message of "Sun, 25 Feb 2018 13:28:52 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Samuel Wales Cc: Allen Li , Org Mode List Hello, Samuel Wales writes: > On 2/25/18, Nicolas Goaziou wrote: >> If you're still in the same document, the local mark ring moves you back >> to the previous location. If you are not in the same document anymore, >> the global mark ring brings you back to the previous location. > i am at a link in file a that sends me to file b. i click on it > [actually ret on it]. i pop the global mark ring. > > you are saying i will always get back to the link in file a always? > > now same example with the link pointing to file a. will the global > mark ring take me there? I guess these are rhetorical questions because I answered them above. > if not, then i will have to use local mark > ring. this means i have to think about whether the file i was in was > the same file or not. In practice, when I have no clue about where I was before, I first try a local ring jump. If it fails, I do a global ring jump. This is a no-brainer. > almost always, by the time i have done whatever > i was doing at target, that is totally forgotten. the cognitive > overhead criterion in my first paragraph is violated. so i /think/ my > statement about the back button behavior being broken with your change > is true. please correct if that is wrong. The current situation is worse. I have to know how I made it to the current location, i.e., with an Org command or not. It is harder to mitigate. >>> [for the bug that seems to have prompted your proposal, we could be >>> discussing pushing to the global and local mark rings. but this does >>> not seem to be what we are discussing.] I changed `org-mark-ring-push' to also push to Emacs mark ring. This is better, but, out of the 3 problems I stated at the beginning of this thread, it only solves the second one. > i am saying that it's not a substitute for the current org behavior. My proposal is slightly different than the current Org behaviour, but the features are the same. I don't think Org own mark ring is really needed. It makes Org less integrated in the Emacs ecosystem. Regards, -- Nicolas Goaziou