From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: emacs-pretest-bug@gnu.org, Elias Oltmanns <oltmanns@uni-bonn.de>,
ding@gnus.org
Subject: Re: Slow operations on buffers of tens of megabytes
Date: Wed, 08 Nov 2006 15:43:14 +0100 [thread overview]
Message-ID: <v97iy6vw1p.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <v9zmb3wdjd.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Tue\, 07 Nov 2006 15\:13\:10 +0100")
On Tue, Nov 07 2006, Reiner Steib wrote:
> Alexandre and Elias: Does this patch give good results?
Please consider this patch instead:
--8<---------------cut here---------------start------------->8---
--- nnheader.el 01 Aug 2006 12:10:19 +0200 7.24
+++ nnheader.el 08 Nov 2006 15:33:18 +0100
@@ -997,7 +997,18 @@
(val (symbol-value ffh)))
(set ffh nil)
(unwind-protect
- (apply 'find-file-noselect args)
+ (with-current-buffer (apply 'find-file-noselect args)
+ (unless (or (featurep 'xemacs)
+ ;; Better check?
+ (< emacs-major-version 22))
+ (nnheader-message 7 "ASCII-only case-table in buffer `%s'."
+ (current-buffer))
+ ;; (sit-for 1)
+ ;; Apply ASCII-only case-table. Don't modify the
+ ;; standard-case-table.
+ (set-case-table (make-char-table 'case-table))
+ ;; We must return the buffer:
+ (current-buffer)))
(set ffh val))))
(defun nnheader-directory-regular-files (dir)
--8<---------------cut here---------------end--------------->8---
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2006-11-08 14:43 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-05 5:37 Alexandre Oliva
2006-11-06 5:02 ` Richard Stallman
2006-11-06 6:02 ` Katsumi Yamaoka
2006-11-06 9:21 ` Reiner Steib
2006-11-06 20:00 ` Alexandre Oliva
2006-11-07 14:13 ` Reiner Steib
2006-11-08 14:43 ` Reiner Steib [this message]
2006-11-09 22:00 ` Alexandre Oliva
2006-11-10 18:42 ` Richard Stallman
2006-11-11 0:37 ` Reiner Steib
2006-11-13 16:40 ` Kevin Rodgers
2006-11-14 12:26 ` Richard Stallman
2006-11-13 17:28 ` Reiner Steib
2006-11-19 9:49 ` Elias Oltmanns
2006-11-20 12:59 ` Richard Stallman
2006-11-20 18:22 ` Elias Oltmanns
2006-11-21 7:47 ` Richard Stallman
2006-11-21 8:18 ` Kenichi Handa
2006-11-22 13:15 ` Richard Stallman
2006-11-12 5:14 ` Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v97iy6vw1p.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=ding@gnus.org \
--cc=emacs-pretest-bug@gnu.org \
--cc=oltmanns@uni-bonn.de \
/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 NNTP newsgroup(s).