Slow display update

View: New views
4 Messages — Rating Filter:   Alert me  

Slow display update

by Andy.Ling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have just updated to the latest emacs 23.1.1 from 21.3 on WinXP and I'm
trying to make things as familiar as I can.

In general everything works just fine, the only problem I have noticed is
the speed of response to key presses. If I hold down the cursor key the
cursor sticks and jumps half a page at a time rather than a line at a
time.

I have tracked down the reason for this to the font I am using. I have
been using the 6X13 font since it was posted here several years ago. If I
make this my default font, then the response of emacs becomes very
sluggish.

My .emacs has the lines

(setq default-frame-alist '((height . 66) (width . 114)
                            (menu-bar-lines . 1)
                            (cursor-color . "red")
                            (scroll-bar-width . 11)
                            (top . 72) (left . 1500)
                            (font .
"-*-6X13-medium-r-*-*-13-*-*-*-c-*-iso8859-1")
                            ))

Commenting out the "font" line makes it all work at full speed.

So is this a problem with emacs or the font? And what is the best way to
get emacs to either use this font or a similar one without suffering the
slow response?

Thanks for any help

Andy Ling





--

Quantel is the trade name used by Quantel Holdings Limited and its
subsidiaries.  Quantel Holdings Limited is registered in England & Wales.
Registration No: 4004913
Contact details for all Quantel Offices and Companies can be found on our
website www.quantel.com or by writing to the holding company.
Registered address: Turnpike Road, Newbury, Berkshire, RG14 2NX, United
Kingdom



Re: Slow display update

by John A Pershing Jr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Rather than using 'default-frame-alist', I have in my .emacs file:

(set-foreground-color "green")
(set-background-color "black")
(set-cursor-color "gray")
(set-frame-font "Consolas 10" t)

Note that the way that Emacs deals with fonts changed with 23, so some of the old stuff no longer works.  I suspect that there are similar functions for setting your other preferences.  Also, you may want to choose a typeface other than 'Consolas' -- I chose it since it was the fixed-pitch san-serif typeface with the most flexibility (on my system) regarding point size, boldness, and italicness.  ('Courier New' also has a wide range; however, I don't particularly care for this face.)

  -jp


andy.ling@... wrote:
I have just updated to the latest emacs 23.1.1 from 21.3 on WinXP and I'm 
trying to make things as familiar as I can.

In general everything works just fine, the only problem I have noticed is 
the speed of response to key presses. If I hold down the cursor key the 
cursor sticks and jumps half a page at a time rather than a line at a 
time.

I have tracked down the reason for this to the font I am using. I have 
been using the 6X13 font since it was posted here several years ago. If I 
make this my default font, then the response of emacs becomes very 
sluggish.

My .emacs has the lines

(setq default-frame-alist '((height . 66) (width . 114)
                            (menu-bar-lines . 1)
                            (cursor-color . "red")
                            (scroll-bar-width . 11)
                            (top . 72) (left . 1500)
                            (font . 
"-*-6X13-medium-r-*-*-13-*-*-*-c-*-iso8859-1")
                            ))

Commenting out the "font" line makes it all work at full speed.

So is this a problem with emacs or the font? And what is the best way to 
get emacs to either use this font or a similar one without suffering the 
slow response?

Thanks for any help

Andy Ling





  

Re: Slow display update

by Andy.Ling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

John A Pershing Jr <pershing@...> wrote on 22/09/2009 15:35:29:

> Rather than using 'default-frame-alist', I have in my .emacs file:

> (set-foreground-color "green")
> (set-background-color "black")
> (set-cursor-color "gray")
> (set-frame-font "Consolas 10" t)
>

Well, I can do that, but it makes no difference. The default-frame-alist
stuff wasn't going wrong. It is using the 6X13 font that seems to
cause emacs problems.

If there is a font that is similar the 6X13 that doesn't cause
these problems, then I'm happy to use that, but I don't have
one installed by default.

Thanks

Andy Ling



--

Quantel is the trade name used by Quantel Holdings Limited and its
subsidiaries.  Quantel Holdings Limited is registered in England & Wales.
Registration No: 4004913
Contact details for all Quantel Offices and Companies can be found on our
website www.quantel.com or by writing to the holding company.
Registered address: Turnpike Road, Newbury, Berkshire, RG14 2NX, United
Kingdom



Re: Slow display update

by Andy.Ling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Still no suggestions about using the 6X13 font.

In case it helps, I have attached the font I am trying to use.

I run emacs with the -q option, open a reasonable size file, then use
S-mouse-1
to select the 6X13 font for the current buffer. Then using the up and down
cursor
keys to navigate the file, the display update is very sticky.

Is it just that emacs no longer supports this type of font?

Any help making this work would be much appreciated

Thanks

Andy Ling




--
Quantel is the trade name used by Quantel Holdings Limited and its
subsidiaries.  Quantel Holdings Limited is registered in England & Wales.
Registration No: 4004913
Contact details for all Quantel Offices and Companies can be found on our
website www.quantel.com or by writing to the holding company.
Registered address: Turnpike Road, Newbury, Berkshire, RG14 2NX, United
Kingdom

6x13.zip (6K) Download Attachment