>> "Damien" == Damien Wyart writes: > * Uwe Brauer [2014-02-03 13:07]: >> There is one function from Xemacs which I have not seen in GNU emacs and >> which I miss very much. >> (defun mark-end-of-buffer (&optional arg) > It is defined in lisp/misc.el, but not with an optional arg, so it > doesn't have the full features set of the one in XEmacs. A couple of comments: - could it please move to simple.el, since misc.el usually is not loaded per default. - the current version does set the mark (visible) even with transient-mark-mode on. So propose the following modification (defun mark-beginning-of-buffer () "Set mark at the beginning of the buffer." (interactive) (push-mark (point-min) nil t )) (defun mark-end-of-buffer () "Set mark at the end of the buffer." (interactive) (push-mark (point-max) nil t)) - now the Xemacs version is more sophisticated (takes into account the size of buffer. But may be this ancient code, when (X)emacs could deal well with large buffers. I will ask on xemacs beta.