X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/845299cd0cc8ed39f2557f2944b921652b966515..9749c2677b05e3ae21f1f06df2596a7436a468fc:/dot/emacs diff --git a/dot/emacs b/dot/emacs index 3c213b9..da7d116 100644 --- a/dot/emacs +++ b/dot/emacs @@ -106,9 +106,10 @@ (require 'paren) (trap (show-paren-mode t)) (or window-system (mdw-emacs-version-p 22) (menu-bar-mode -1)) -(setq x-select-enable-clipboard nil - x-select-enable-primary t - mouse-drag-copy-region t) +(if (eq window-system 'x) + (setq x-select-enable-clipboard nil + x-select-enable-primary t)) +(setq mouse-drag-copy-region t) ;; Multiple cursors. @@ -138,6 +139,7 @@ (not (and (fboundp 'daemonp) (daemonp))) (progn (setq server-temp-file-regexp (concat "^" tmpdir "\\|/draft$") edit-server-new-frame nil + server-raise-frame nil gnuserv-frame t) (trap (let ((warning-suppress-types (cons '(server) @@ -364,6 +366,7 @@ (setq linum-format "%7d ") (setq next-line-add-newlines nil) ;Don't add weird newlines (setq split-height-threshold nil) ;Reuse windows where sensible +(setq compilation-scroll-output 'first-error) (setq iswitchb-default-method 'samewindow ;Don't confuse me by showing ido-default-file-method 'selected-window ;buffers in other random ido-default-buffer-method 'selected-window) ;frames