From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Phil Roberts" Newsgroups: gmane.emacs.help Subject: start-process + display-buffer chops out top of text Date: Sun, 11 Apr 2004 05:12:47 +0000 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: sea.gmane.org 1081660496 8455 80.91.224.253 (11 Apr 2004 05:14:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Apr 2004 05:14:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 11 07:14:51 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BCXIw-0006Wg-00 for ; Sun, 11 Apr 2004 07:14:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BCXHt-0003B3-Lb for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Apr 2004 01:13:45 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BCXHU-0003Ad-Dn for help-gnu-emacs@gnu.org; Sun, 11 Apr 2004 01:13:20 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BCXGy-0002uT-IG for help-gnu-emacs@gnu.org; Sun, 11 Apr 2004 01:13:19 -0400 Original-Received: from [64.4.35.20] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BCXGy-0002uJ-A0 for help-gnu-emacs@gnu.org; Sun, 11 Apr 2004 01:12:48 -0400 Original-Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 10 Apr 2004 22:12:47 -0700 Original-Received: from 66.167.188.86 by by12fd.bay12.hotmail.msn.com with HTTP; Sun, 11 Apr 2004 05:12:47 GMT X-Originating-IP: [66.167.188.86] X-Originating-Email: [phil3862@hotmail.com] X-Sender: phil3862@hotmail.com Original-To: help-gnu-emacs@gnu.org X-OriginalArrivalTime: 11 Apr 2004 05:12:47.0585 (UTC) FILETIME=[A104F510:01C41F83] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17748 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17748 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/