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: Michaël Cadilhac
Subject: Re: [Proposal] M-x tabify to indent only when needed.
Date: Wed, 26 Jul 2006 13:32:17 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

address@hidden (Michaël Cadilhac) writes:

> Richard Stallman <address@hidden> writes:
>
>>     I can come up with the following regexp-free, search-free patch that
>>     makes the job, and that uses Stefan's good proposal of using " [ \t]+"
>>     as `tabify-regexp'.
>>
>> Please install this, if no one finds a flaw in it soon.
>>
>> Thanks.
>
> I think  Stefan proposal is better than  mine. The only flaw  in it is
> fixed if he changes the following part of its patch, as he proposed:
>
> +  (beg-col (save-excursion (goto-char (match-beginning 0))
>                             (skip-forward-chars "\t")
> +                           (current-column))))

I just saw he did, so case closed :-) Thank you Stefan !

-- 
 |      Michaël `Micha' Cadilhac   |  Un certain Blaise Pascal              |
 |         Epita/LRDE Promo 2007   |    etc... etc...                       |
 | http://www.lrde.org/~cadilh_m   |  -- Prévert (Les paris stupides)       |
 `--  -   JID: address@hidden --'                                   -  --'

Attachment: pgpMcy8UdsVMP.pgp
Description: PGP signature


reply via email to

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