From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.bugs Subject: bug#22221: 25.0.50; shell cmd with >8 lines complains not-this-window is void Date: Mon, 21 Dec 2015 18:15:24 -0800 Message-ID: <28613.1450750524@allegro.localdomain> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1450750582 9904 80.91.229.3 (22 Dec 2015 02:16:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Dec 2015 02:16:22 +0000 (UTC) To: 22221@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 22 03:16:10 2015 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 1aBCUj-0003VO-MF for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Dec 2015 03:16:09 +0100 Original-Received: from localhost ([::1]:48272 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBCUi-0004Ua-HV for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Dec 2015 21:16:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBCUf-0004UT-DU for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2015 21:16:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBCUc-0007Px-61 for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2015 21:16:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBCUc-0007Pt-20 for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2015 21:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aBCUb-0008OF-Sk for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2015 21:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mike Kupfer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Dec 2015 02:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22221 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.145075054032214 (code B ref -1); Tue, 22 Dec 2015 02:16:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Dec 2015 02:15:40 +0000 Original-Received: from localhost ([127.0.0.1]:59286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBCUG-0008NV-4q for submit@debbugs.gnu.org; Mon, 21 Dec 2015 21:15:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45499) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBCUE-0008NG-Li for submit@debbugs.gnu.org; Mon, 21 Dec 2015 21:15:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBCU8-0007Dn-8O for submit@debbugs.gnu.org; Mon, 21 Dec 2015 21:15:33 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBCU7-0007Dj-U9 for submit@debbugs.gnu.org; Mon, 21 Dec 2015 21:15:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBCU6-0004TJ-GK for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2015 21:15:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBCU3-0007CP-8q for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2015 21:15:30 -0500 Original-Received: from shell1.rawbw.com ([198.144.192.42]:30738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBCU2-0007Bt-TD for bug-gnu-emacs@gnu.org; Mon, 21 Dec 2015 21:15:27 -0500 Original-Received: from allegro.localdomain (m208-249.dsl.rawbw.com [198.144.208.249]) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTP id tBM2FOc8009385 for ; Mon, 21 Dec 2015 18:15:24 -0800 (PST) (envelope-from m.kupfer@acm.org) X-Authentication-Warning: shell1.rawbw.com: Host m208-249.dsl.rawbw.com [198.144.208.249] claimed to be allegro.localdomain X-Mailer: MH-E 8.6+mdk01; nmh 1.6; GNU Emacs 24.5.2 X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:110265 Archived-At: >From "emacs -Q", if I set debug-on-error to t and then do M-! head -9 ~/.profile RET I get Debugger entered--Lisp error: (void-variable not-this-window) display-message-or-buffer(#) #[0 "r\302q\210\301\242\204=0D=00\305\202(=00\301\242;\203=1B=00\306\307\= 301\242\"\202(=00\301\242\310\232?\205(=00\306\311\301\242\"=13)r\302q\210d= eV)\2039=00\312\302!\207\300\203Y=00\310\313\314\300!8W\203Y=00\306\315\f\2= 03T=00\306\316\f\"\202U=00\317\"\202Z=00\320\301\242\204e=00\321\322!\202\2= 07=00\301\242\310\232\203s=00\321\323=02\"\202\207=00\301\242;\203\201=00\3= 21\324\301\242\"\202\207=00\321\325\301\242=03#\207" [nil (0) # mode-line-process shell-command-default-error-buffer " = - Error" format " - Signal [%s]" 0 " - Exit [%d]" display-message-or-buffer= 7 file-attributes "some error output%s" " to the \"%s\" buffer" "" "no out= put" message "(Shell command failed with error)" "(Shell command succeeded = with %s)" "(Shell command killed by signal %s)" "(Shell command failed with= code %d and %s)"] 5]() shell-command-on-region(192 192 "head -9 ~/.profile" nil nil nil) shell-command("head -9 ~/.profile" nil nil) funcall-interactively(shell-command "head -9 ~/.profile" nil nil) call-interactively(shell-command nil nil) command-execute(shell-command) If I use -8 instead of -9, I get the output that I expect. In GNU Emacs 25.0.50.4 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bar= s) of 2015-12-21 Repository revision: 33efb6d60614131e1504b29885bf8b82f7c1b3cb Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.2 (jessie) Configured using: 'configure --prefix=3D/usr/new/upstream' Configured features: XPM JPEG TIFF GIF PNG SOUND NOTIFY LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 Important settings: value of $LC_TIME: C value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-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 messages: HOST=3D`uname -n`; export HOST # A short check time is okay, since this should only catch # locally-generated mail. MAILCHECK=3D60 export MAILCHECK Symbol=E2=80=99s value as variable is void: not-this-window t Entering debugger... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired 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 help-fns mail-prsvr mail-utils help-mode easymenu cl-loaddefs pcase cl-lib debug shell pcomplete comint ansi-color ring time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 85013 8780) (symbols 48 19447 0) (miscs 40 56 135) (strings 32 14675 4669) (string-bytes 1 429748) (vectors 16 11465) (vector-slots 8 420135 4396) (floats 8 144 69) (intervals 56 236 0) (buffers 976 13) (heap 1024 10425 1376))