Eduardo Cavazos writes:
> Ah... sorry about that. :-) Didn't mean to point the finger at ya. Those
> changes must have come in before yours; I just hadn't tested them thoroughly
> yet...
>
No problem :)
> Oh man... that would be so awesome. Getting the indentation style wrong is a
> source of conflict so we might have to nominate you for the Nobel Peace
> prize. :-)
:) OK, here's the deal. factor-mode now:
- Automatically sets indent-tabs-mode to nil in factor buffers (no tabs
when indenting)
- Makes indentation width customizable. Specifically:
- In new buffers, uses the value of 'factor-default-indent-width'
(set to 4 by default, customizable)
- In buffers with code, guesses the correct width by scanning the
code. If that fails, reverts to 'factor-default-indent-width'.
- You can force an indent width for a given buffer explicitly setting
the local variable 'factor-indent-width'; e.g., with a line like
! -*- factor-indent-width: 2 -*-
near the top of the file.
Patch available at the usual place:
The following changes since commit 74c59d1531417c30c84979ce805d2a7cb28b7ae4:
Jose A. Ortega Ruiz (1):
Faces used in factor-mode are now customizable (plus a bit of
are available in the git repository at:
http://git.hacks-galore.org/jao/factor.git emacs
Jose A. Ortega Ruiz (1):
Indentation in Emacs factor-mode: customizable width and no tabs.
misc/factor.el | 75 ++++++++++++++++++++++++++++++++++++++-----------------
1 files changed, 52 insertions(+), 23 deletions(-)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk