I love Emacs, but my customization powers are weak, and I would appreciate any help on this.
My default settings are to never use literal tab stops (
indent-tabs-mode nil). However, for one particular project I do need to use tab stops, and I need to display tabs with spacing 4 (not the default 8), and I want the
tab-stop-list to be 4, 8, 12, ....
Now the question: How can I define (in my
~/.emacs.d) a single function that I can
M-x invoke from within any mode I might already be in so that these particular settings are overridden to those requirements? Alternatively, how can I make these settings a minor mode that I can activate optionally inside a given major mode (say some fictitious PHP-mode (which I haven't found yet))?