[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Make the point visible when jumping to the mark

From: Bastien
Subject: Re: [O] [PATCH] Make the point visible when jumping to the mark
Date: Fri, 23 May 2014 07:47:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Hi Ian,

Ian Kelling <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]