>>>> "GB" == giacomo boffi
<giacomo.boffi(a)polimi.it> writes:
GB> Michael Sperber [Mr. Preprocessor] writes:
>
> Has anyone noticed?
GB> yes
The reason is with the interaction between byte-code and C. tabify.el
has:
(defun untabify (start end)
"Convert all tabs in region to multiple spaces, preserving columns.
Called non-interactively, the region is specified by arguments
START and END, rather than by the position of point and mark.
The variable `tab-width' controls the spacing of tab stops."
(interactive "r")
(save-excursion
(save-restriction
(narrow-to-region (point-min) end)
(goto-char start)
(let ((percent 5))
(while (search-forward "\t" nil t) ; faster than re-search
(let ((tab-beg (point))
(column (current-column))
(indent-tabs-mode nil))
^^^^^^^^^^^^^^^^^^^^
But `indent-tabs-mode''s C pendant from indent.c:
DEFVAR_BOOL ("indent-tabs-mode", &indent_tabs_mode /*
*Indentation can insert tabs if this is non-nil.
Setting this variable automatically makes it local to the current buffer.
*/ );
indent_tabs_mode = 1;
appears unruffled during the execution of `indent-to'. I read through
the huge fuckup of code off specpdl and gave up at some point.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla