Hello, Samuel Wales <samolog...@gmail.com> writes:
> On 1/29/18, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: >> So, could we simply remove this part of Org and use Emacs facilities, >> with their standard bindings (C-u C-<SPC> and C-x C-<SPC>) and behaviour >> instead? > > org would have to push to both local and global it seems. `push-mark' would take care of this. So Org wouldn't need to. > also this from se could be modified to work for global mark ring -- > every ring in emacs should have both next and prev. i never > understood the point of rings in emacs except to save memory. > > (defun se-unpop-to-mark-command () > "Unpop off mark ring. Does nothing if mark ring is empty." > (interactive) > (when mark-ring > (setq mark-ring (cons (copy-marker (mark-marker)) mark-ring)) > (set-marker (mark-marker) (car (last mark-ring)) (current-buffer)) > (when (null (mark t)) (ding)) > (setq mark-ring (nbutlast mark-ring)) > (goto-char (marker-position (car (last mark-ring)))))) You could suggest it to Emacs developers (i.e., file a bug report.) Regards, -- Nicolas Goaziou