Tags » Emacs

How to automatically timestamp messages in *Messages* buffer?

https://www.reddit.com/r/emacs/comments/3hagxf/how_to_automatically_timestamp_messages_in/

The following, by /u/wadcann, works for me in 24.5:

;; timestamps in *Messages*
;; via http://www.reddit.com/r/emacs/comments/1auqgm/speeding_up_your_emacs_startup/

(defun current-time-microseconds ()
  (let* ((nowtime (current-time))
         (now-ms (nth 2 nowtime)))
    (concat (format-time-string "[%Y-%m-%dT%T" nowtime) (format ".%d] " now-ms))))

(defadvice message (before test-symbol activate)
  (if (not (string-equal (ad-get-arg 0) "%s%s"))
      (let ((inhibit-read-only t)
            (deactivate-mark nil))
        (with-current-buffer "*Messages*"
          (goto-char (point-max))
          (if (not (bolp))
              (newline))
          (insert (current-time-microseconds))))))
Emacs

load git clones as emacs packages

Starting the (long needed) effort to push some of my emacs configuration upstream the need for the inclusion of git versions of (m)elpa packages came alive. 49 more words

Emacs

GitHub

What is GitHub?  If you are like me and have very little experience with computers, aside from email, then you probably don’t know what GitHub is.   207 more words

Macaulay2

Linux Shell command tricks - Command completion

The power of the command line in Linux Distributions is still very much at the forefront, many admin task can simply be performed much more efficiently this way. 510 more words

Nigel Borrington

Labburn Theme

Johnny’s latest emacs theme got it’s own webpage.

Emacs

Installing Macaulay2 on Microsoft-Windows

Macaulay2 would be the most important computer program that we may use. It is a useful calculation program especially for Algebraic Geometry field. There are lots way to run Macaulay2, but we will use the editor… 401 more words

Macaulay2

[vim] I'm back to (neo)vim

A week ago I returned to vim, more precisely to neovim.

Here is my story…

When I started the university (geez, that was 20 years ago) we got an account to a Unix server. 550 more words