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: Wed, 31 Jan 2018 12:40:28 +0100 Message-ID: <87lggew91v.fsf@nicolasgoaziou.fr> References: <87o9lcntdq.fsf@nicolasgoaziou.fr> <87po5rxcgq.fsf@nicolasgoaziou.fr> <87fu6nx93a.fsf@nicolasgoaziou.fr> <87bmhbx7z6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egqki-0003PS-3r for emacs-orgmode@gnu.org; Wed, 31 Jan 2018 06:40:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egqkh-0008Mu-8r for emacs-orgmode@gnu.org; Wed, 31 Jan 2018 06:40:32 -0500 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:42694) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1egqkg-0008MN-O9 for emacs-orgmode@gnu.org; Wed, 31 Jan 2018 06:40:31 -0500 In-Reply-To: (Samuel Wales's message of "Tue, 30 Jan 2018 19:02: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 1/30/18, Allen Li wrote: >> It does change org behavior, since the native mark ring >> distinguishes local from global, whereas org-mark-ring does not. >> With the proposed change, there won't be a single >> org-mark-ring-goto, you would have to make sure you call the >> right command out of pop-to-mark-command or pop-global-mark. > > thanks. then i oppose this change. > > it seems crazy to have to think about whether where you will be going > is in the same buffer or not. if that is what you mean. It isn't crazy at all, and works surprising well in practice. Mark ring is about finding some place you were before. Usually, at least for me, the document where that place was is known. Once you are there, the local ring can probably get you back to the desired location. Have you tried regular Emacs mark ring? In the current situation, you have to answer a more difficult question: "Did I move to the desired location using Org tools or other Emacs tools?". In the former case, I have to use Org specific ring (C-c &, assuming it is accessible), otherwise, this is Emacs mark ring. So, e.g., if I follow a link, this is C-c &, if I do an isearch, this is C-u C-. This is exactly what bug #23745 is about. A user is following an Org internal link and is surprised, rightfully IMO, that C-u C- doesn't get it back to where it was before. The crazier situation may not be the one you think. Regards, -- Nicolas Goaziou