[Top][All Lists]
[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:29:50 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
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))))
--
| Michaël `Micha' Cadilhac | Le copillage-collage |
| Epita/LRDE Promo 2007 | tue le programmeur. |
| http://www.lrde.org/~cadilh_m | -- Dictons LRDE |
`-- - JID: address@hidden --' - --'
pgpq0WVmvkmWx.pgp
Description: PGP signature
- Re: [Proposal] M-x tabify to indent only when needed., (continued)
- Re: [Proposal] M-x tabify to indent only when needed., Richard Stallman, 2006/07/24
- Re: [Proposal] M-x tabify to indent only when needed., Stefan Monnier, 2006/07/25
- Re: [Proposal] M-x tabify to indent only when needed., Michaël Cadilhac, 2006/07/25
- Re: [Proposal] M-x tabify to indent only when needed., Stefan Monnier, 2006/07/25
- Re: [Proposal] M-x tabify to indent only when needed., Michaël Cadilhac, 2006/07/25
- Re: [Proposal] M-x tabify to indent only when needed., Stefan Monnier, 2006/07/25
- Re: [Proposal] M-x tabify to indent only when needed., Michaël Cadilhac, 2006/07/25
Re: [Proposal] M-x tabify to indent only when needed., Richard Stallman, 2006/07/24