unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: Re: bug in xselect-convert-to-string
Date: Mon, 3 May 2004 09:17:59 +0900 (JST)	[thread overview]
Message-ID: <200405030017.JAA10308@etlken.m17n.org> (raw)
In-Reply-To: <200405021901.i42J15x05343@raven.dms.auburn.edu> (message from Luc Teirlinck on Sun, 2 May 2004 14:01:05 -0500 (CDT))

In article <200405021901.i42J15x05343@raven.dms.auburn.edu>, Luc Teirlinck <teirllm@dms.auburn.edu> 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
handa@m17n.org

> ===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
> Emacs-devel@gnu.org
> http://mail.gnu.org/mailman/listinfo/emacs-devel

      reply	other threads:[~2004-05-03  0:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-02 19:01 bug in xselect-convert-to-string Luc Teirlinck
2004-05-03  0:17 ` Kenichi Handa [this message]

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=200405030017.JAA10308@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    /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).