William M. Perry writes:
there are plenty of instances where I want things to align in
text mode. Granted, I do write most of my documentation on HTML now, but
having nicely aligned tables of figures in email or plain text files can be
very useful. :)
I agree. My current (hack) implementation of alignment uses some
buffer-local variables to control the behavior, so that it's
independent of mode. I could also imagine implementing this as a
minor mode, `align-columns-mode' or something like that, so the user
could switch it on and off, rather than having redisplay itself making
decisions like "use alignment in C-mode but not text-mode". And there
would still have to be some variable controlling the aggressiveness of
the alignment (e.g. whether to use backtracking or not...)