From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hendrik Tews Newsgroups: gmane.emacs.bugs Subject: bug#12440: 24.2; process-send-string only sends 4K for long strings Date: Fri, 14 Sep 2012 11:08:00 +0200 Message-ID: <6xzk4tvuof.fsf@blau.inf.tu-dresden.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347613765 30657 80.91.229.3 (14 Sep 2012 09:09:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2012 09:09:25 +0000 (UTC) To: 12440@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 14 11:09:28 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TCRtv-00087t-JF for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 11:09:27 +0200 Original-Received: from localhost ([::1]:58237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRtr-00078p-Aq for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Sep 2012 05:09:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRth-0006ja-NS for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:09:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCRtb-00088e-Hl for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:09:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRtb-00088a-Dm for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:09:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TCRuV-0002RQ-78 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:10:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Hendrik Tews Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Sep 2012 09:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12440 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13476137619323 (code B ref -1); Fri, 14 Sep 2012 09:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Sep 2012 09:09:21 +0000 Original-Received: from localhost ([127.0.0.1]:33016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCRto-0002QJ-U6 for submit@debbugs.gnu.org; Fri, 14 Sep 2012 05:09:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41788) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCRtl-0002QB-07 for submit@debbugs.gnu.org; Fri, 14 Sep 2012 05:09:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCRsj-0007tO-RY for submit@debbugs.gnu.org; Fri, 14 Sep 2012 05:08:20 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:38527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRsj-0007tK-Os for submit@debbugs.gnu.org; Fri, 14 Sep 2012 05:08:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRsf-0006XY-Av for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:08:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCRsY-0007sD-QR for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:08:09 -0400 Original-Received: from os.inf.tu-dresden.de ([141.76.48.99]:51302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRsY-0007s0-GI for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:08:02 -0400 Original-Received: from [2002:8d4c:3001:48:222:68ff:fe19:71d] (helo=blau.inf.tu-dresden.de) by os.inf.tu-dresden.de with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) id 1TCRsX-0000tS-41 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 11:08:01 +0200 Original-Received: from tews by blau.inf.tu-dresden.de with local (Exim 4.80) (envelope-from ) id 1TCRsW-0007Ay-9L for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 11:08:00 +0200 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64272 Archived-At: Hi, in Emacs 24.2, the following code (let* ((process-connection-type t) (process (start-process "cat" (current-buffer) "cat"))) (process-send-string process (format "%s\n" (make-string 6000 ?a)))) inserts only 4095 characters in the current buffer. Setting process-connection-type to nil will insert all characters. In Emacs 23 the code works always as expected. This is probably related to Emacs bug #7078. I cannot reproduce the problem described there (with 257 characters), probably because the buffer size was increased to 4K. Bye, Hendrik Tews In GNU Emacs 24.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-13 on blau Windowing system distributor `The XFree86 Project, Inc', version 11.0.40300000 Configured using: `configure '--prefix' '/usr/local/stow/emacs-24.2' '--with-xpm=no' '--with-jpeg=no' '--with-gif=no' '--with-tiff=no'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x s ! ! C-x s ! C-x b T O C-x C-v C-SPC M-w C-x b C-y C-j M-x e m a c s - v e r C-k C-k 6 0 0 0 C-e C-j C-SPC C-e M-= M-< A-f * C-o ( p r o c e s s - c o n n M-/ C-h v C-e SPC n i l ) C-e ) C-a C-k C-e ) C-j C-x 1 C-SPC C-e M-= C-a C-k C-e t C-e C-j C-SPC C-e M-= C-a C-SPC M-= C-a C-SPC C-e M-= C-a M-f C-a M-1 C-f C-a M-4 M-0 M-9 M-6 C-f C-a C-a M-4 M-0 M-9 M-5 C-f C-a C-k C-k C-k C-k C-k C-x b T O C-y C-k C-k C-k C-k C-o C-x C-s M-x e m a c s - v e r M-x r e p o r t - e m Recent messages: Mark set Region has 1 line, 1 word, and 4095 characters. Mark activated Region has 1 line, 1 word, and 1 character. Mark activated Region has 1 line, 1 word, and 4095 characters. Mark set Saving file /home/tews/src/pg/TODO... Wrote /home/tews/src/pg/TODO GNU Emacs 24.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-13 on blau Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils jka-compr find-func etags debug dabbrev parse-time vc-cvs tabulated-list pp help-mode view which-func imenu coq edmacro kmacro coq-smie-lexer smie coq-indent coq-abbrev coq-local-vars local-vars-list coq-syntax regexp-opt coq-db holes proof proof-shell pg-user completion pg-goals pg-response proof-toolbar pg-assoc proof-tree proof-script proof-menu cus-edit cus-start cus-load wid-edit span proof-auxmodes proof-utils scomint proof-syntax advice help-fns advice-preload bufhist easy-mmode ring proof-splash derived pg-custom proof-config proof-faces proof-useropts pg-pamacs proof-compat easymenu proof-site proof-autoloads cl pg-vars misearch multi-isearch time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)