all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Starting Emacs on Linux "frame-buffer" tty feels a bit scrappy
@ 2007-01-06 12:02 Alan Mackenzie
  2007-01-07 20:14 ` Richard Stallman
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Mackenzie @ 2007-01-06 12:02 UTC (permalink / raw)


Hi, Emacs!

My Setup:
  Athlon 1.2 GHz, 256 Mb RAM
  Linux 2.6.8
  Current CVS Emacs 22 running in a Linux "frame buffer" tty.

When I start Emacs with a moderate number of files (28 files totalling
about 2.5 Mb) in my desktop, I see this:

(i) The current screen contents scroll slowly (about 1s) off the top of
the screen.  A mode line gets displayed momentarily.

(ii) The mode line is erased, and a number of messages get displayed
rapidly in the echo area.

(iii) One of my buffers appears in the main window, and remains there
steadily for about 2s, together with a message in the echo area.

(iv) Several more messages are blitzed across the echo area for about 1s.

(iv) The entire display is again scrolled slowly (about 1s) off the top
of the screen.  The Emacs "Welcome" screen is displayed, and I can now
start hacking.

I think I have sometimes seen several of these whole-screen scrollings,
with a different buffer displayed after each one.

This seems to me somewhat unpolished and scrappy - indecent, even.  The
whole-screen scrollings seem to me most inappropriate - they are slow and
computationally expensive.

Wouldn't it be better, on a tty at least, to _blank_ the screen at the
very start, and then just to display the mode line and echo area messages
until Emacs is ready to display its "Welcome" screen?

-- 
Alan Mackenzie (Ittersbach, Germany)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Starting Emacs on Linux "frame-buffer" tty feels a bit scrappy
  2007-01-06 12:02 Starting Emacs on Linux "frame-buffer" tty feels a bit scrappy Alan Mackenzie
@ 2007-01-07 20:14 ` Richard Stallman
  2007-01-10 17:44   ` Alan Mackenzie
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2007-01-07 20:14 UTC (permalink / raw)
  Cc: emacs-devel

    I think I have sometimes seen several of these whole-screen scrollings,
    with a different buffer displayed after each one.

    This seems to me somewhat unpolished and scrappy - indecent, even.  The
    whole-screen scrollings seem to me most inappropriate - they are slow and
    computationally expensive.

I wonder if some terminal command that Emacs thinks is very fast
is actually executing very slowly.  I suggest you make a dribble file
to investigate what commands Emacs is sending.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Starting Emacs on Linux "frame-buffer" tty feels a bit scrappy
  2007-01-07 20:14 ` Richard Stallman
@ 2007-01-10 17:44   ` Alan Mackenzie
  2007-01-10 17:45     ` Stuart D. Herring
  2007-01-10 23:06     ` Richard Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Alan Mackenzie @ 2007-01-10 17:44 UTC (permalink / raw)
  Cc: emacs-devel

Hi, Richard!

On Sun, Jan 07, 2007 at 03:14:16PM -0500, Richard Stallman wrote:
>     I think I have sometimes seen several of these whole-screen scrollings,
>     with a different buffer displayed after each one.
> 
>     This seems to me somewhat unpolished and scrappy - indecent, even.  The
>     whole-screen scrollings seem to me most inappropriate - they are slow and
>     computationally expensive.

> I wonder if some terminal command that Emacs thinks is very fast
> is actually executing very slowly.  I suggest you make a dribble file
> to investigate what commands Emacs is sending.

Sorry, I don't understand your suggestion.  I don't think you're talking
about `open-dribble-file', which records key sequences, since the
problem happens at start-up before I get to press a key.

Could you (or somebody else really good) please give me a more detailed
clue about how to look at this.  Thanks!

-- 
Alan.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Starting Emacs on Linux "frame-buffer" tty feels a bit scrappy
  2007-01-10 17:44   ` Alan Mackenzie
@ 2007-01-10 17:45     ` Stuart D. Herring
  2007-01-10 18:47       ` Chris Moore
  2007-01-10 23:06     ` Richard Stallman
  1 sibling, 1 reply; 6+ messages in thread
From: Stuart D. Herring @ 2007-01-10 17:45 UTC (permalink / raw)
  Cc: Richard Stallman, emacs-devel

>> I wonder if some terminal command that Emacs thinks is very fast
>> is actually executing very slowly.  I suggest you make a dribble file
>> to investigate what commands Emacs is sending.
>
> Sorry, I don't understand your suggestion.  I don't think you're talking
> about `open-dribble-file', which records key sequences, since the
> problem happens at start-up before I get to press a key.
>
> Could you (or somebody else really good) please give me a more detailed
> clue about how to look at this.  Thanks!

I don't know that I'm really good, but I'm sure that Richard meant for you
to make a terminal script (`open-termscript').

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Starting Emacs on Linux "frame-buffer" tty feels a bit scrappy
  2007-01-10 17:45     ` Stuart D. Herring
@ 2007-01-10 18:47       ` Chris Moore
  0 siblings, 0 replies; 6+ messages in thread
From: Chris Moore @ 2007-01-10 18:47 UTC (permalink / raw)
  Cc: Alan Mackenzie, Richard Stallman, emacs-devel

"Stuart D. Herring" <herring@lanl.gov> writes:

> I don't know that I'm really good, but I'm sure that Richard meant
> for you to make a terminal script (`open-termscript').

I know that I'm not really good, but another possibility is that he
meant you should run "script" in the shell before running "emacs
-nw".  Then quit Emacs and type "exit" in the shell.  That will leave
you with a file called "typescript" in the current directory
containing exactly what was sent to the terminal.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Starting Emacs on Linux "frame-buffer" tty feels a bit scrappy
  2007-01-10 17:44   ` Alan Mackenzie
  2007-01-10 17:45     ` Stuart D. Herring
@ 2007-01-10 23:06     ` Richard Stallman
  1 sibling, 0 replies; 6+ messages in thread
From: Richard Stallman @ 2007-01-10 23:06 UTC (permalink / raw)
  Cc: emacs-devel

    Sorry, I don't understand your suggestion.  I don't think you're talking
    about `open-dribble-file', which records key sequences, since the
    problem happens at start-up before I get to press a key.

Yes, I should have said a termscript file.
Sorry for my flawed memory.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-01-10 23:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-06 12:02 Starting Emacs on Linux "frame-buffer" tty feels a bit scrappy Alan Mackenzie
2007-01-07 20:14 ` Richard Stallman
2007-01-10 17:44   ` Alan Mackenzie
2007-01-10 17:45     ` Stuart D. Herring
2007-01-10 18:47       ` Chris Moore
2007-01-10 23:06     ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.