On 04/25/2011 05:03 PM, Andrea Crotti wrote:
Diego Biurrun<[email protected]>  writes:


I have the following in my .emacs:

   (setq c-default-style "k&r")
   (setq-default c-basic-offset 4)
   (setq-default indent-tabs-mode nil)

I think 4 space indentation with no tabs should also be part of such
a default emacs setup.

I added some more things to experiment a bit more.
In short now there are two spaces cleanups, the first when the file is
visited and the second before the file is saved.

If after the first cleanup the file gets modified it gets set in
read-only mode, in this way we avoid unrelated changes of spaces with
other changes.

Then when the space change is commited you can do the real work, and
the spaces will be cleaned also before saving (in this case easier).

Let me know if you problems/suggestions...

Can you also add an ASM mode? An example of FFmpeg asm formatting can be found at libavcodec/x86/fft_mmx.asm.

-Vitor
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to