From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Baietto Newsgroups: gmane.emacs.bugs Subject: bug#9178: 23.1; iimage mode copy and paste file corruption Date: Tue, 26 Jul 2011 12:24:02 -0400 Message-ID: <201107261624.p6QGO210017011@localhost6.localdomain6> Reply-To: jason.baietto@ccur.com NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1311818188 22707 80.91.229.12 (28 Jul 2011 01:56:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2011 01:56:28 +0000 (UTC) To: 9178@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 28 03:56:24 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QmFpo-0001zp-BI for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jul 2011 03:56:24 +0200 Original-Received: from localhost ([::1]:48642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmFpn-00017k-Jh for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Jul 2011 21:56:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm9WW-0003tM-J6 for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2011 15:12:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qm9WU-0001Wa-Ta for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2011 15:12:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm9WU-0001WW-Q7 for bug-gnu-emacs@gnu.org; Wed, 27 Jul 2011 15:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qm9WU-000760-Mh; Wed, 27 Jul 2011 15:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jason Baietto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Jul 2011 19:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9178 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.131179387027183 (code B ref -1); Wed, 27 Jul 2011 19:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jul 2011 19:11:10 +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 1Qm9Vd-00074O-LS for submit@debbugs.gnu.org; Wed, 27 Jul 2011 15:11:10 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qlkjz-0001mQ-EF for submit@debbugs.gnu.org; Tue, 26 Jul 2011 12:44:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qlkjt-0007Gx-7g for submit@debbugs.gnu.org; Tue, 26 Jul 2011 12:44:14 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:46417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qlkjt-0007Gt-69 for submit@debbugs.gnu.org; Tue, 26 Jul 2011 12:44:13 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qlkjs-0004fu-0o for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2011 12:44:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qlkjr-0007GO-2m for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2011 12:44:12 -0400 Original-Received: from flusers.ccur.com ([173.221.59.2]:46889 helo=localhost6.localdomain6) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qlkjq-0007G1-TW for bug-gnu-emacs@gnu.org; Tue, 26 Jul 2011 12:44:11 -0400 Original-Received: from localhost6.localdomain6 (localhost.localdomain [127.0.0.1]) by localhost6.localdomain6 (8.14.4/8.14.4) with ESMTP id p6QGO3S1017013 for ; Tue, 26 Jul 2011 12:24:03 -0400 Original-Received: (from jason@localhost) by localhost6.localdomain6 (8.14.4/8.14.4/Submit) id p6QGO210017011; Tue, 26 Jul 2011 12:24:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 27 Jul 2011 15:11:08 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 27 Jul 2011 15:12:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Wed, 27 Jul 2011 21:56:21 -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:49641 Archived-At: I am using the iimage mode to display in-lined images in text files. When images are displayed, an image may be double-clicked to select it and then pasted at point within the same buffer using the middle mouse button. I can do this using emacs on both Linux and Windows. The image will appear to be inserted at point and will be displayed as as expected (i.e. as a picture). However, the the copy and paste was a lie. Although the image is displayed at the new location, only the first selectable "word" of the image path has been selected and pasted. The file has now been corrupted, and if you now delete the original image path the image path will be lost; upon the next visit to the file only the first word that was pasted will be displayed. In GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.18.9) of 2011-02-01 on x86-003.build.bos.redhat.com Windowing system distributor `Red Hat, Inc.', version 11.0.10707000 configured using `configure '--build=x86_64-redhat-linux-gnu' '--host=x86_64-redhat-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=x86_64-redhat-linux-gnu' 'host_alias=x86_64-redhat-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'' 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.utf8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Text Minor modes in effect: iimage-mode: t display-time-mode: t delete-selection-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: o r t i i m a g e SPC s e l e c t i o n SPC c o n f u s i n g f i l e SPC c o r r u p t i o n T h e C-a C-k C-n C-n C-p C-p C-p C-x u C-k C-n C-n C-p C-p C-n C-n C-p C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n x k i l l SPC b u f f C-x 0 x k C-g C-x k x i i m a g e SPC m o d e C-g C-x C-f t e s t . t j t x t C-c C-x h C-g C-x h y o u n g - c a r m e n . j p g C-a C-k C-y SPC C-y C-a C-x C-s C-c C-l C-c C-l C-c C-l C-c C-l C-c C-l C-c C-l C-c C-l C-c C-l C-c C-l SPC C-a C-x C-s C-x C-g C-c C-l C-c C-l C-c C-l C-c C-l C-c C-l C-c C-l x r e o p o r e g Recent messages: Mark set Saving file /home/jason/test.txt... Wrote /home/jason/test.txt Iimage mode disabled Iimage mode enabled Iimage mode disabled Iimage mode enabled Iimage mode disabled Iimage mode enabled Making completion list...