From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Make the point visible when jumping to the mark Date: Fri, 23 May 2014 07:47:25 +0200 Message-ID: <87wqddf3ma.fsf@bzg.ath.cx> References: <874n1aq9y5.fsf@treetowl.lan> <87lhtvwakr.fsf@bzg.ath.cx> <86d2f6gpj5.fsf@somewhere.org> <87r43m87in.fsf@bzg.ath.cx> <87y4xt4yaw.fsf@treetowl.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WniKN-0007im-6n for emacs-orgmode@gnu.org; Fri, 23 May 2014 01:47:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WniKH-0004gL-WF for emacs-orgmode@gnu.org; Fri, 23 May 2014 01:47:35 -0400 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:33216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WniKH-0004gG-Pz for emacs-orgmode@gnu.org; Fri, 23 May 2014 01:47:29 -0400 Received: by mail-wg0-f47.google.com with SMTP id x12so4238478wgg.18 for ; Thu, 22 May 2014 22:47:28 -0700 (PDT) In-Reply-To: <87y4xt4yaw.fsf@treetowl.lan> (Ian Kelling's message of "Thu, 22 May 2014 08:40:07 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ian Kelling Cc: Sebastien Vauban , emacs-orgmode@gnu.org Hi Ian, Ian Kelling writes: > I would be happy to write the patch for this, if we agree. Anything that gets rid of advice is good, we agree on this. If you have time, please start sketching out the patch so that we can discuss how to replace some of the advice by internal Org functions. Note that we will certainly hit some roadblocks, and we don't want to replace core Emacs fonctions like `pop-to-mark'. One possible outcome is to consider a new Emacs hook: something like `after-interactive-point-move-hook' that would check if the current buffer is in Org and would reveal the context systematically. I haven't thought this through, but raising this needs on the emacs-devel list will perhaps leads to something. Otherwise, having a contributed package with advice (using add-function instead of defadvice) would be good enough. Thanks! -- Bastien