abingham/emacs-ycmd — pull request #66 by mband (2014-11-06 10:08:45+00:00)
Title: Using the suggested goto-char from the description of the function end-of-buffer

This also avoid interfering with the user when the content logger is manipulating its content buffer in the background.

Example:
```(setq ycmd--log-enabled t)```
and idle in a buffer with ycmd-minor mode enabled and a message will appear with "Mark set" and sometimes (havn't figured the exact conditions for reproducing this behaviour) it will move the "view" of the current buffer so the cursor location is placed 3 lines from the bottom of the buffer view (without actually changing the cursor's position)...
Also the content in the log will be shown if you idle after having typed ```M-x``` (I don't recall what that window/buffer is called) - this is really annoying when you are invoking functions manually or switching buffers while some content is being logged.

```M-x RET describe-function RET end-of-buffer``` suggests that ```(goto-char (point-max))``` should be used in Lisp programs, because it's faster - but it also solves the issue I experienced, where ```end-of-buffer``` interferes with the user.