unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Gary Wessle <phddas@yahoo.com>
Subject: replace regex takes long
Date: 16 Apr 2006 07:29:08 +1000	[thread overview]
Message-ID: <87zmimbk9n.fsf@localhost.localdomain> (raw)

Hi

I have a file with data in the form
date<spac>name<space>age<space>higth<newline>
the <space> are 5 to 20 spaces, so I want to replace them with just
one <space> between fields. so I did
M-x query-replace-regex <RET> +<RET><ONE SPACE>
the file size is 4162111 with 77000 lines on PentiumIII 500, it has 
been 10 minutes so I opened another emacs processor to write and post this.
is there a problem with my command and why it is taking that long? and
for how much longer?

thanks

             reply	other threads:[~2006-04-15 21:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-15 21:29 Gary Wessle [this message]
2006-04-15 22:36 ` replace regex takes long Peter Dyballa
     [not found] ` <mailman.456.1145140624.9609.help-gnu-emacs@gnu.org>
2006-04-15 23:09   ` Gary Wessle
2006-04-15 23:35     ` Gary Wessle
2006-04-16  6:27       ` Eli Zaretskii
2006-04-16 10:17       ` Peter Dyballa
2006-04-16 17:11         ` Eli Zaretskii
     [not found]       ` <mailman.473.1145168872.9609.help-gnu-emacs@gnu.org>
2006-04-16 11:53         ` Gary Wessle
2006-04-16 14:01       ` Stefan Monnier

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=87zmimbk9n.fsf@localhost.localdomain \
    --to=phddas@yahoo.com \
    /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).