emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Proposal] M-x tabify to indent only when needed.


From: Richard Stallman
Subject: Re: [Proposal] M-x tabify to indent only when needed.
Date: Mon, 24 Jul 2006 17:50:27 -0400

    !     (unless (save-match-data
    !               (save-excursion
    !                 (goto-char (match-beginning 0))
    !                 (string-match
    !                  (format "^\t* \\{0,%d\\}$"
    !                          (- tab-width (1+ (mod (current-column) 
tab-width))))
    !                  (match-string 0))))

That would be very slow.  Please do it without using regexps,
perhaps using skip-chars-forward.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]