unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Merciadri Luca <Luca.Merciadri@student.ulg.ac.be>
To: help-gnu-emacs@gnu.org
Subject: Re: is insert(backspace and overwrite character) possible?
Date: Sun, 09 May 2010 08:58:09 +0200	[thread overview]
Message-ID: <87bpcp36ke.fsf@merciadriluca-station.MERCIADRILUCA> (raw)
In-Reply-To: barmar-B09D35.20412908052010@news.eternal-september.org

-----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-----


  reply	other threads:[~2010-05-09  6:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-08 20:01 is insert(backspace and overwrite character) possible? Merciadri Luca
2010-05-09  0:41 ` Barry Margolin
2010-05-09  6:58   ` Merciadri Luca [this message]
2010-05-09 10:19     ` Andreas Politz
2010-05-09 12:20       ` Merciadri Luca

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bpcp36ke.fsf@merciadriluca-station.MERCIADRILUCA \
    --to=luca.merciadri@student.ulg.ac.be \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).