[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is insert(backspace and overwrite character) possible?
From: |
Merciadri Luca |
Subject: |
Re: is insert(backspace and overwrite character) possible? |
Date: |
Sun, 09 May 2010 08:58:09 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Barry Margolin <barmar@alum.mit.edu> writes:
> You can't do it just with insert, and I don't know how you would do it
> in C, either. You need to write a conditional, like
>
> (if (looking-at "- ")
> (delete-char 2))
>
> before doing the insert.
Thanks. I do not remember for the C, but I am pretty sure that I had
already used it (in the past).
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- --
It is possible to be born an aristocrat without ever becoming a
gentleman. (Nicholas Ridley)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAkvmXQEACgkQM0LLzLt8MhzyRgCeLUA/4zGAnGtrkd19y6A984aa
P88AoI5OXweV6myXwfZ4mvEYevoIcJ0f
=E/t0
-----END PGP SIGNATURE-----