Bug#480411: gedit does not convert line endings to/from clipboard

Ximin Luo xl269 at cam.ac.uk
Fri May 9 20:44:17 UTC 2008


Package: gedit
Version: 2.22.1-1
Severity: normal

gedit can open CRLF and LF files and display them identically. however, copying text from one to the other 
retains the line endings of the original, even when the file is saved.

i suggest that upon pasting, gedit automatically converts the line endings to that of the rest of the document.

i also suggest this behaviour be triggered, when the file is saved too.

(geany does the above; haven't tested this for other editors such as nano.)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gedit depends on:
ii  gconf2                     2.22.0-1      GNOME configuration database syste
ii  gedit-common               2.22.1-1      official text editor of the GNOME 
ii  iso-codes                  2.0-1         ISO language, territory, currency,
ii  libatk1.0-0                1.22.0-1      The ATK accessibility toolkit
ii  libattr1                   1:2.4.41-1    Extended attribute shared library
ii  libc6                      2.7-10        GNU C Library: Shared libraries
ii  libcairo2                  1.4.14-1      The Cairo 2D vector graphics libra
ii  libenchant1c2a             1.3.0-5+b1    a wrapper library for various spel
ii  libgconf2-4                2.22.0-1      GNOME configuration database syste
ii  libglade2-0                1:2.6.2-1     library to load .glade files at ru
ii  libglib2.0-0               2.16.1-2      The GLib library of C routines
ii  libgnome2-0                2.20.1.1-1    The GNOME 2 library - runtime file
ii  libgnomeui-0               2.20.1.1-1    The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0             1:2.22.0-2    GNOME Virtual File System (runtime
ii  libgtk2.0-0                2.12.9-2      The GTK+ graphical user interface 
ii  libgtksourceview2.0-0      2.2.1-1       shared libraries for the GTK+ synt
ii  libpango1.0-0              1.20.2-2      Layout and rendering of internatio
ii  libx11-6                   2:1.0.3-7     X11 client-side library
ii  libxml2                    2.6.32.dfsg-2 GNOME XML library
ii  python                     2.5.2-1       An interactive high-level object-o
ii  python-glade2              2.12.1-1      GTK+ bindings: Glade support
ii  python-gobject             2.14.1-4      Python bindings for the GObject li
ii  python-gtk2                2.12.1-1      Python bindings for the GTK+ widge
ii  python-gtksourceview2      2.2.0-1+b1    Python bindings for the GtkSourceV
ii  python-support             0.7.7         automated rebuilding support for P
ii  python2.4                  2.4.5-2       An interactive high-level object-o
ii  scrollkeeper               0.3.14-16     A free electronic cataloging syste

Versions of packages gedit recommends:
ii  libgnomevfs2-bin              1:2.22.0-2 GNOME Virtual File System (support
ii  python-gnome2                 2.22.0-1   Python bindings for the GNOME desk
ii  zenity                        2.22.1-1   Display graphical dialog boxes fro

-- no debconf information





More information about the pkg-gnome-maintainers mailing list