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: is insert(backspace and overwrite character) possible?
Date: Sat, 08 May 2010 22:01:03 +0200	[thread overview]
Message-ID: <87r5lm6u4g.fsf@merciadriluca-station.MERCIADRILUCA> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

In some definition, I have

==
(insert "-- \n")
==

Let's say that the text is

==
dummy text

==

It then writes
==
dummy text
- --

==

That's nice, but my text is not that one, unfortunately. Let's say
that the text is

==
dummy text
- - --
==

How can I make an `insert' to overwrite the first `-' and the related
space? With

==
dummy text
- - --
==

I would like to have

==
dummy text
- --
==

by simply calling insert. Is it possible? I know that this is possible
in C language.

Thanks.

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

Love is real only when a person can sacrifice himself for
 another. (Leo Tolstoy)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkvlwv8ACgkQM0LLzLt8MhwHeQCgjYZbaJA62oMpmrFrT0kqsZO1
f9cAniHdrebw41a9y19RHChCP4JpD3IF
=SH+W
-----END PGP SIGNATURE-----


             reply	other threads:[~2010-05-08 20:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-08 20:01 Merciadri Luca [this message]
2010-05-09  0:41 ` is insert(backspace and overwrite character) possible? Barry Margolin
2010-05-09  6:58   ` Merciadri Luca
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=87r5lm6u4g.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).