Nov. 30th, 2006

memnus: Ray tracing of three bars passing through a sphere (graphics)
Preface: I have a hard time with the documentation of just about every GNU program I've ever tried to read, so never mind the RTFMs. I'm also too busy with actual work to try to dig this up.

Question: What magic line do I put into a .emacs file to tell it that all files of a certain extension should be read in a certain way? I'd like to apply C-mode syntax highlighting to all *.glsl files I open, without having to type `M-X c-mode' each time I open one.

Thank you,
Brian

click

Profile

memnus: A stylized galaxy image, with the quote "Eternity lies ahead of us - and behind. Have you drunk your fill?" (Default)
Brian

April 2017

S M T W T F S
      1
2345678
9 101112131415
16171819202122
23 242526272829
30      

Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Powered by Dreamwidth Studios