[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in xselect-convert-to-string
From: |
Kenichi Handa |
Subject: |
Re: bug in xselect-convert-to-string |
Date: |
Mon, 3 May 2004 09:17:59 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Luc Teirlinck <address@hidden> writes:
> Trying to yank text with read-only properties into say, a gnome
> terminal, yields an error. The following patch fixes this. It seems
> like an obvious change to make, but I post the patch before
> installing, just to make sure that there are no objections. If not, I
> will install.
I agree with that change.
---
Ken'ichi HANDA
address@hidden
> ===File ~/select-diff=======================================
> *** select.el.~1.21.~ Tue Sep 2 07:36:12 2003
> --- select.el Sun May 2 13:00:26 2004
> ***************
> *** 177,182 ****
> --- 177,183 ----
> (setq coding (coding-system-base coding))
> (setq coding 'raw-text))
> ;; Suppress producing escape sequences for compositions.
> + (let ((inhibit-read-only t))
> (remove-text-properties 0 (length str) '(composition nil) str)
> (cond
> ((eq type 'TEXT)
> ***************
> *** 216,222 ****
> (t
> (error "Unknow selection type: %S" type))
> ! ))
> (setq next-selection-coding-system nil)
> (cons type str))))
> --- 217,223 ----
> (t
> (error "Unknow selection type: %S" type))
> ! )))
> (setq next-selection-coding-system nil)
> (cons type str))))
> ============================================================
> _______________________________________________
> Emacs-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/emacs-devel