Cucumber's ANSI colors messing up emacs compilation buffer -


While working in Emacs, I use the compiled command (F12 by default) to run the program. When I run cucumber in Emac, the cucumber has excluded the ANSI colors, which does not explain the Emacs compilation mode. The result is ugly and hard to read. Here is a snippet of * compilation * buffer shown ugly:

  ^ [[31m (: :): Failed steps (: :) ^ [[0m  
< P> command:

  (cd ~ / lab / rails / todolist & rake cucumber: all)  

version:

  • Emacs 23.1
  • Cucumber 0.8.3
  • Cucumber-ray 0.3.2
  • World sensation and singing of birds If I can:

    • Find AMSI to explain ANSI color code in its compilation buffer, or
    • spray ANSI color codes The cucumber to connect to

    Any ideas?

    I use it to turn on ANC color interpretation in my compilation buffer:

      (requires' ansi-color) (defun colorize-compilation-buffer () ((interrupted-read-only) (Angle-applied-area (point-min) (point-max)) (Ad-hook 'compile-filter-hook' color-compile-buffer)  
    < / Html>

    Comments