[haml] How can I make Emacs load Sass mode for .scss?

2011-04-11 Thread Arve Knudsen
Hi

Apparently the Sass Emacs mode (as downloaded from
https://github.com/nex3/sass-mode) only gets auto-loaded for .sass files.
However, the Compass framework creates files with the .scss extension. How
can I make Emacs auto-load the Sass mode for .scss files as well?

Thanks!
Arve

-- 
You received this message because you are subscribed to the Google Groups 
Haml group.
To post to this group, send email to haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.



Re: [haml] How can I make Emacs load Sass mode for .scss?

2011-04-11 Thread Chris Eppstein
If you prefer .sass files, you can pass `--syntax sass` to the compass when
creating your project, or set preferred_syntax = :sass in your config, or
you can just make .sass files and compass will compile them appropriately.

chris

On Mon, Apr 11, 2011 at 11:27 AM, Arve Knudsen arve.knud...@gmail.comwrote:

 Hi

 Apparently the Sass Emacs mode (as downloaded from
 https://github.com/nex3/sass-mode) only gets auto-loaded for .sass files.
 However, the Compass framework creates files with the .scss extension. How
 can I make Emacs auto-load the Sass mode for .scss files as well?

 Thanks!
 Arve

 --
 You received this message because you are subscribed to the Google Groups
 Haml group.
 To post to this group, send email to haml@googlegroups.com.
 To unsubscribe from this group, send email to
 haml+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/haml?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Haml group.
To post to this group, send email to haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.



Re: [haml] How can I make Emacs load Sass mode for .scss?

2011-04-11 Thread Arve Knudsen
Thanks for the tip, Chris. Is this the typical solution though? Or do
Sass/Compass users normally use the SCSS Emacs mode (
https://github.com/antonj/scss-mode) instead? It strikes me as odd that the
standard Emacs mode is incompatible with Compass' defaults.

Thanks,
Arve

On Mon, Apr 11, 2011 at 10:31 PM, Chris Eppstein ch...@eppsteins.netwrote:

 If you prefer .sass files, you can pass `--syntax sass` to the compass when
 creating your project, or set preferred_syntax = :sass in your config, or
 you can just make .sass files and compass will compile them appropriately.

 chris

 On Mon, Apr 11, 2011 at 11:27 AM, Arve Knudsen arve.knud...@gmail.comwrote:

 Hi

 Apparently the Sass Emacs mode (as downloaded from
 https://github.com/nex3/sass-mode) only gets auto-loaded for .sass files.
 However, the Compass framework creates files with the .scss extension. How
 can I make Emacs auto-load the Sass mode for .scss files as well?

 Thanks!
 Arve

 --
 You received this message because you are subscribed to the Google Groups
 Haml group.
 To post to this group, send email to haml@googlegroups.com.
 To unsubscribe from this group, send email to
 haml+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/haml?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Haml group.
 To post to this group, send email to haml@googlegroups.com.
 To unsubscribe from this group, send email to
 haml+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/haml?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Haml group.
To post to this group, send email to haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.



Re: [haml] How can I make Emacs load Sass mode for .scss?

2011-04-11 Thread Arve Knudsen
Ah, I just realized that SCSS is a different syntax from Sass. I guess I
should be using the SCSS Emacs mode instead since I plan to use the SCSS
syntax?

Thanks,
Arve

On Mon, Apr 11, 2011 at 10:44 PM, Arve Knudsen arve.knud...@gmail.comwrote:

 Thanks for the tip, Chris. Is this the typical solution though? Or do
 Sass/Compass users normally use the SCSS Emacs mode (
 https://github.com/antonj/scss-mode) instead? It strikes me as odd that
 the standard Emacs mode is incompatible with Compass' defaults.

 Thanks,
 Arve

 On Mon, Apr 11, 2011 at 10:31 PM, Chris Eppstein ch...@eppsteins.netwrote:

 If you prefer .sass files, you can pass `--syntax sass` to the compass
 when creating your project, or set preferred_syntax = :sass in your
 config, or you can just make .sass files and compass will compile them
 appropriately.

 chris

 On Mon, Apr 11, 2011 at 11:27 AM, Arve Knudsen arve.knud...@gmail.comwrote:

 Hi

 Apparently the Sass Emacs mode (as downloaded from
 https://github.com/nex3/sass-mode) only gets auto-loaded for .sass
 files. However, the Compass framework creates files with the .scss
 extension. How can I make Emacs auto-load the Sass mode for .scss files as
 well?

 Thanks!
 Arve

 --
 You received this message because you are subscribed to the Google Groups
 Haml group.
 To post to this group, send email to haml@googlegroups.com.
 To unsubscribe from this group, send email to
 haml+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/haml?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Haml group.
 To post to this group, send email to haml@googlegroups.com.
 To unsubscribe from this group, send email to
 haml+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/haml?hl=en.




-- 
You received this message because you are subscribed to the Google Groups 
Haml group.
To post to this group, send email to haml@googlegroups.com.
To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.