.emacs-my
changeset 1276 04e9ed4d22a1
parent 1273 738244fdc669
child 1277 ae5c2b9ab4bd
equal deleted inserted replaced
1275:63e12131f7a0 1276:04e9ed4d22a1
  2339 ;; With '1' compilation window shall scroll down, with `first-error' stops scrolling at the first error.
  2339 ;; With '1' compilation window shall scroll down, with `first-error' stops scrolling at the first error.
  2340 (setq compilation-scroll-output 1)
  2340 (setq compilation-scroll-output 1)
  2341 (setq compilation-ask-about-save t)
  2341 (setq compilation-ask-about-save t)
  2342 
  2342 
  2343 ;; Show error in EN locale to easy search how fix problem in docs and Internet.
  2343 ;; Show error in EN locale to easy search how fix problem in docs and Internet.
  2344 (setq compilation-environment '("LANG=C"))
  2344 ;; (setq compilation-environment '("LANG=C"))
  2345 
  2345 
  2346 (my--eval-after-load compile
  2346 (my--eval-after-load compile
  2347   '(progn
  2347   '(progn
  2348      ;; My funny error messages.
  2348      ;; My funny error messages.
  2349      (add-to-list 'compilation-error-regexp-alist '("^\\( +\\[csc\\] \\|\\)\\(.*\\)(\\([0-9]*\\),\\([0-9]*\\)):" 2 3 4))
  2349      (add-to-list 'compilation-error-regexp-alist '("^\\( +\\[csc\\] \\|\\)\\(.*\\)(\\([0-9]*\\),\\([0-9]*\\)):" 2 3 4))