 	      'ipython-print-runfile)))
 
 ;; Automatically reload files when they change on disk
-(global-auto-revert-mode)
+;; (global-auto-revert-mode)
 
 ;; Source: http://www.emacswiki.org/emacs-en/download/misc-cmds.el
 (defun revert-buffer-no-confirm ()

(setq default-directory "~/")

;; Frame size
(add-to-list 'default-frame-alist '(height . 30))
(add-to-list 'default-frame-alist '(width . 70))

;; sensible GUI

							  fill-to-end ?*
								      )))

;; Semantic be quiet
;; by selectively suppressing messages, see the full technique at
;; https://superuser.com/a/1025827/512940 (answer by Bernard Hurley)
(defun suppress-messages (old-fun &rest args)
  (cl-flet ((silence (&rest args1) (ignore)))
    (advice-add 'message :around #'silence)
    (unwind-protect
         (apply old-fun args)
      (advice-remove 'message #'silence))))
(defun who-called-me? (old-fun format &rest args)
  (let ((trace nil) (n 1) (frame nil))
      (while (setf frame (backtrace-frame n))
        (setf n     (1+ n) 
              trace (cons (cadr frame) trace)) )
      (apply old-fun (concat "<<%S>>\n" format) (cons trace args))))
;; (advice-add 'message :around #'who-called-me?)
(advice-add 'semantic-idle-scheduler-function :around #'suppress-messages)

;; Unbind Pesky Sleep Button
(global-unset-key [(control z)])
(global-unset-key [(control x)(control z)])

;; Fix laggy point (cursor)
;; In particular: cursor freezing when moving down (next-line) for a while
