* start-process + display-buffer chops out top of text
@ 2004-04-11 5:12 Phil Roberts
0 siblings, 0 replies; only message in thread
From: Phil Roberts @ 2004-04-11 5:12 UTC (permalink / raw)
Hello all,
On my system, this piece of code chops the top part of the text out of the
display output. Does anybody know why this is, and whether or not it is
considered normal?
(let ((buf (generate-new-buffer-name "*Topchop*")))
(start-process "Topchop" buf "uname")
(display-buffer buf))
This is inconvenient if for example you have a feature that calls
start-process to execute the Perl code in your current window and display
the output in a new window, and you have to switch to the new window and
scroll up every time you want to see the output.
I don't think the problem is with display-buffer, because the text generated
by this code doesn't get chopped:
(let ((buf (generate-new-buffer-name "*Displays fine*")))
(set-buffer (get-buffer-create buf))
(insert "This text doesn't get chopped,\n\nWhich seems reasonable.")
(display-buffer buf))
Thanks,
Phil
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.com/go/onm00200415ave/direct/01/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-11 5:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-11 5:12 start-process + display-buffer chops out top of text Phil Roberts
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).