From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.bugs Subject: bug#5618: 23.1.91; shell-command-on-region unexpectedly erases buffer Date: Mon, 22 Feb 2010 10:44:13 +0100 Message-ID: <20100222094413.GC21836@tomas> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed X-Trace: dough.gmane.org 1266852059 31984 80.91.229.12 (22 Feb 2010 15:20:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Feb 2010 15:20:59 +0000 (UTC) Cc: rfrancoise@debian.org To: 5618@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 22 16:20:49 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nja5Y-0002nJ-7w for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Feb 2010 16:20:48 +0100 Original-Received: from localhost ([127.0.0.1]:40748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nja5X-0002cp-8R for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Feb 2010 10:20:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjXJj-0006Xy-QB for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2010 07:23:15 -0500 Original-Received: from [140.186.70.92] (port=41252 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjXJg-0006XY-5o for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2010 07:23:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjXJd-0000Bs-SZ for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2010 07:23:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35455) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjXJd-0000Bo-Qk for bug-gnu-emacs@gnu.org; Mon, 22 Feb 2010 07:23:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NjX9p-0007AG-RT; Mon, 22 Feb 2010 07:13:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: tomas@tuxteam.de Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Feb 2010 12:13:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5618 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: emacs-pretest-bug@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.126684077227522 (code B ref -1); Mon, 22 Feb 2010 12:13:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Feb 2010 12:12:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjX9T-00079l-97 for submit@debbugs.gnu.org; Mon, 22 Feb 2010 07:12:51 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjUoj-0005DF-MW for submit@debbugs.gnu.org; Mon, 22 Feb 2010 04:43:06 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:40580) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjUog-0007jp-Re for emacs-pretest-bug@gnu.org; Mon, 22 Feb 2010 04:43:03 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:36639) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NjUog-00030j-GG for emacs-pretest-bug@gnu.org; Mon, 22 Feb 2010 04:43:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjUob-0001Db-OP for emacs-pretest-bug@gnu.org; Mon, 22 Feb 2010 04:43:01 -0500 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104]:48526 helo=www.elogos.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjUob-0001DW-CA for emacs-pretest-bug@gnu.org; Mon, 22 Feb 2010 04:42:57 -0500 Original-Received: by www.elogos.de (Postfix, from userid 1000) id A1B9590050; Mon, 22 Feb 2010 10:44:13 +0100 (CET) Content-Disposition: inline User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 22 Feb 2010 07:12:37 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 22 Feb 2010 07:13:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 22 Feb 2010 10:18:38 -0500 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35234 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': - - Start with some buffer with text in it. *scratch* will do fine. - - Put point somewhere in text - - evaluate (shell-command-on-region (point) (point) "/bin/date" (current-buffer) nil) (The actual values of START and END are irrelevant, though). The whole content of the buffer gets replaced by output of command. According to the doc, I'd expect the ouput to be inserted before point. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/23.1.91/etc/DEBUG. In GNU Emacs 23.1.91.1 (i486-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-01-11 on elegiac, modified by Debian (emacs-snapshot package, version 1:20100111-1~lenny1) Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.1.91/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1.91/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' 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_ZW.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Help 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 global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: (only . t) view-mode: t Recent input: C-x b C-x u C-h f c a l l - p r o c e s s - r e M-x c a l l - p r o c e s s n i l SPC M-x C-g C-x o M-x r e p o r Recent messages: uncompressing simple.el.gz...done Note: file is write protected 0 (#o0, #x0) Mark saved where search started Undo! Making completion list... Type C-x 1 to delete the help window. 0 (#o0, #x0) Quit Making completion list... Load-path shadows: /usr/share/emacs/23.1.91/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils emacsbug multi-isearch jka-compr find-func debug help-mode easymenu view cc-styles cc-align cc-engine cc-vars cc-defs uniquify advice help-fns advice-preload markerpen am-mode easy-mmode am-files diredz regexp-opt wid-edit edmacro kmacro tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind font-render-setting gtk x-toolkit x multi-tty emacs) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFLglHtBcgs9XrR2kYRAgd7AJ4gD7sTtf0hIhR7T7wLHIaPQlR9QwCfUr68 P6oq/qRMBtsYCsNF9/eUl4M= =79DJ -----END PGP SIGNATURE-----