From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sean McLaughlin Newsgroups: gmane.emacs.bugs Subject: bug#11026: 23.3; call-process-region deletes unicode chars Date: Fri, 16 Mar 2012 12:07:55 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1331914830 2531 80.91.229.3 (16 Mar 2012 16:20:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Mar 2012 16:20:30 +0000 (UTC) To: 11026@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 16 17:20:29 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 1S8Zt9-0002GH-DO for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Mar 2012 17:20:23 +0100 Original-Received: from localhost ([::1]:52067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8Zt8-00010l-LT for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Mar 2012 12:20:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8Zsf-0000Zw-SQ for bug-gnu-emacs@gnu.org; Fri, 16 Mar 2012 12:20:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8Zsb-0006Ae-Ve for bug-gnu-emacs@gnu.org; Fri, 16 Mar 2012 12:19:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8Zsb-0006Aa-Pg for bug-gnu-emacs@gnu.org; Fri, 16 Mar 2012 12:19:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S8aLr-0005tX-HL for bug-gnu-emacs@gnu.org; Fri, 16 Mar 2012 12:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean McLaughlin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Mar 2012 16:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11026 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.133191659722624 (code B ref -1); Fri, 16 Mar 2012 16:50:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Mar 2012 16:49:57 +0000 Original-Received: from localhost ([127.0.0.1]:53678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S8aLk-0005sp-Ls for submit@debbugs.gnu.org; Fri, 16 Mar 2012 12:49:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39563) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S8aBK-0005dX-Dx for submit@debbugs.gnu.org; Fri, 16 Mar 2012 12:39:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8Zhx-00046b-Ic for submit@debbugs.gnu.org; Fri, 16 Mar 2012 12:08:55 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:37617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8Zhx-00046X-CD for submit@debbugs.gnu.org; Fri, 16 Mar 2012 12:08:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8ZhW-0000cF-0G for bug-gnu-emacs@gnu.org; Fri, 16 Mar 2012 12:08:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8ZhT-0003zt-AZ for bug-gnu-emacs@gnu.org; Fri, 16 Mar 2012 12:08:21 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:45806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8ZhT-0003zb-2k for bug-gnu-emacs@gnu.org; Fri, 16 Mar 2012 12:08:19 -0400 Original-Received: by ghrr18 with SMTP id r18so5162834ghr.0 for ; Fri, 16 Mar 2012 09:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=gTJoMeZxN+yG4oPpmqHfOCegH1uTLfzCRbfIM2ux6OM=; b=dm/YzMODxsiA+8sQDJ2F0z1j0WMCLBupXijc3kXtYnG354lnOQHCZBfcRSxURmTrKs 2cbENEkDnYlp7zvdb/E9JfXeOIyCktLy0HppHDethK27wqwZlUnMO2CsJCSMZKr0lD5O icfBeqgGe8+aSvjCqZQPqzhp5TP7AQa+1CpGUucrtw3UQ8hMBf0774Yf0nEwwsR8y0oB Wc09VtlV2oRN+Soo5viwjK9zNUeaxyKhJ9/7WMWTZ6l5WhmuMWxzXMOxgzN5K4HB9KBI kKTYqUZF27PCcS6NdsLt9RY57sBfVp7oxK53QJSUtr+eilpHkb7k5cR6GfsdlhiFCcZr BYvw== Original-Received: by 10.68.203.202 with SMTP id ks10mr1862169pbc.84.1331914095767; Fri, 16 Mar 2012 09:08:15 -0700 (PDT) Original-Received: by 10.68.8.234 with HTTP; Fri, 16 Mar 2012 09:07:55 -0700 (PDT) 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-Mailman-Approved-At: Fri, 16 Mar 2012 12:49:55 -0400 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-Mailman-Approved-At: Fri, 16 Mar 2012 12:20:20 -0400 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:57827 Archived-At: 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 report will be posted to the bug-gnu-emacs@gnu.org mailing list and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. 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': Create a buffer called 'bug' with multi-byte chars. For example, with the contents Alpha =3D =CE=B1 Run (call-process-region (point-min) (point-max) "cat" t t) in that buffer. It deletes the non-ascii unicode chars and leaves everything else intact. 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/local/src/homebrew/Cellar/emacs/23.3/share/emacs/23.3/etc/DEBUG. In GNU Emacs 23.3.1 (x86_64-apple-darwin10.7.0, NS apple-appkit-1038.35) of 2011-04-28 on seanmcl.local Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--prefix=3D/usr/local/src/homebrew/Cellar/emacs/23.3' '--without-dbus' '--enable-locallisppath=3D/usr/local/src/homebrew/share/emacs/site-lisp' '--infodir=3D/usr/local/src/homebrew/Cellar/emacs/23.3/share/info/emacs' '--with-ns' '--disable-ns-self-contained' 'CC=3D/usr/bin/cc' 'CFLAGS=3D-O3 -march=3Dcore2 -msse4.1 -w -pipe' 'LDFLAGS=3D-L/usr/local/src/homebrew/lib' 'CPPFLAGS=3D-isystem /usr/local/src/homebrew/include'' 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: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t show-paren-mode: t display-time-mode: t iswitchb-mode: t nxhtml-global-minor-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t abbrev-mode: t Recent input: C-SPC C-w C-y C-k C-e C-a C-x C-s C-SPC C-w C-u C-g C-y C-k C-SPC C-w C-a C-o C-e C-9 C-h f d e l e t e - f i l e ( d e l e t e - f i l e SPC f i l e ) C-a C-x C-s C-k C-k C-x C-e C-x C-s C-x b t e s t . r C-x C-s C-x C-e C-M-x SPC SPC C-x C-s v a l SPC x SPC =3D SPC l e t SPC i n 4 e n d C-a C-x C-s \ a l p h a C-a C-x C-s M-x r e p o r SPC e m SPC b u SPC Recent messages: Wrote /Users/seanmcl/save/projects/sml-indent/sml-indent.el SML\.indent-buffer SML.indent-buffer Error in post-command-hook: (error Marker does not point anywhere) Saving file /Users/seanmcl/save/projects/sml-indent/test.sml... Wrote /Users/seanmcl/save/projects/sml-indent/test.sml Saving file /Users/seanmcl/save/projects/sml-indent/test.sml... Wrote /Users/seanmcl/save/projects/sml-indent/test.sml Saving file /Users/seanmcl/save/projects/sml-indent/test.sml... Wrote /Users/seanmcl/save/projects/sml-indent/test.sml Load-path shadows: /Users/seanmcl/save/config/emacs/mac/init hides /Users/seanmcl/save/config/emacs/init /usr/local/share/emacs/site-lisp/nxhtml/util/htmlfontify hides /usr/local/src/homebrew/Cellar/emacs/23.3/share/emacs/23.3/lisp/htmlfontify /usr/local/share/emacs/site-lisp/nxhtml/util/chart hides /usr/local/src/homebrew/Cellar/emacs/23.3/share/emacs/23.3/lisp/emacs-lisp/= chart Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailabbrev nnheader gnus-util netrc gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils emacsbug edmacro make-mode image-mode newcomment re-builder tabify man ffap vc vc-dispatcher align kmacro sh-script rect ansi-color shell mule-util bs find-dired tar-mode jka-compr executable dabbrev cc-mode cc-fonts cc-menus cc-styles cc-align thingatpt debug multi-isearch info cl-specs edebug find-func vc-git disp-table vc-hg bookmark pp saveplace pc-select paren time cua-base ocaml-lib dired-x dired-aux uniquify iswitchb whitespace nxhtml-autoload moz cc-cmds cc-engine cc-vars cc-defs majmodpri nxhtml-menu udev-rinari udev-cedet udev-ecb udev flymake-js flymake-php flymake css-color nxhtml-mode html-quote tidy-xhtml ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff html-imenu imenu popcmp rngalt rng-nxml loadhist appmenu-fold fold-dwim hideshow noutline outline mumamo byte-opt warnings sgml-mode rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok mlinks rx appmenu flyspell ispell html-upl html-site url-http tls url url-proxy url-privacy url-expand url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums time-date url-cookie url-util url-gw url-methods url-parse url-vars mm-util mail-prsvr ffip ourcomments-util advice help-fns advice-preload recentf tree-widget ido grep apropos gimp dired cus-edit cus-start cus-load wid-edit nxhtml-autostart sml-indent tex-site twelf-font twelf caml tuareg speedbar sb-image ezimage dframe assoc skeleton smie agda-input quail help-mode view esml-du-mlton bg-job def-use-mode easy-mmode def-use-data def-use-sym def-use-util sml-mlton SML sml-proc compile comint ring bytecomp byte-compile esml-mlb-mode derived regexp-opt esml-util compat cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win easymenu 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 ns multi-tty emacs)