From: Jason Baietto <jason@cholula.ccur.com>
To: 9178@debbugs.gnu.org
Subject: bug#9178: 23.1; iimage mode copy and paste file corruption
Date: Tue, 26 Jul 2011 12:24:02 -0400 [thread overview]
Message-ID: <201107261624.p6QGO210017011@localhost6.localdomain6> (raw)
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 <tab> <return> 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 <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> f i l e SPC c o r r u p t i o n <return>
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 <escape> x k i l l SPC b u f f <tab> <return>
<return> C-x 0 x k C-g C-x k <down-mouse-1> <mouse-1>
<help-echo> <help-echo> <down-mouse-1> <mouse-1> <down-mouse-1>
<mouse-1> <escape> x i i m a g e SPC m o d e C-g C-x
C-f t e s t . t <backspace> j <backspace> t x t <return>
C-c C-x h C-g C-x h <backspace> 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 <down-mouse-1> <mouse-movement> <mouse-1>
<double-down-mouse-1> <double-mouse-1> <down-mouse-1>
<mouse-1> SPC <down-mouse-2> <mouse-2> 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 <escape> x r e o <backspace> p o <tab> r <tab>
e <tab> <backspace> <backspace> g <tab> <return>
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...
next reply other threads:[~2011-07-26 16:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-26 16:24 Jason Baietto [this message]
2019-08-20 21:14 ` bug#9178: 23.1; iimage mode copy and paste file corruption Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201107261624.p6QGO210017011@localhost6.localdomain6 \
--to=jason@cholula.ccur.com \
--cc=9178@debbugs.gnu.org \
--cc=jason.baietto@ccur.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).