From: Kenichi Handa <handa@m17n.org>
Cc: jas@extundo.com
Subject: Re: MML charset tag regression
Date: Fri, 13 Jun 2003 17:37:15 +0900 (JST) [thread overview]
Message-ID: <200306130837.RAA15089@etlken.m17n.org> (raw)
In-Reply-To: <E19JiHt-0007Wh-3V@fencepost.gnu.org> (message from Richard Stallman on Sat, 24 May 2003 19:18:53 -0400)
Richard Stallman <rms@gnu.org> writes:
> (1) Modify selection_data_to_lisp_data (in xselect.c)
> to simply return a unibyte string generated from selection
> data while putting text property `foreign-selection'
> (value is a symbol of type). This property is to
> distinguish it from the return string of
> x_get_local_selection. This property is also used to
> decode it properly.
> Would it work to return a cons cell (STRING
> . CODING-SYSTEM)? That is a little cleaner, I think, than
> using a text property.
I've just found that selection_data_to_lisp_data returns a
cons when a selection data is 32-bit number. I think it is
better not to give two meanings for a cons type even if we
can distinguish them by checking the type of the car part.
So...
>> It works if (STRING . RETURN-TYPE) is returned. But,
>> can we also change x-get-selection to return that cons?
> That would be an incompatible change, but it is in a
> low-level function that I think is not used much by users.
> So I think it is ok to make an incompatible change here.
> I am not certain that approach is better, but if you agree
> it is better, please do it.
My opinion now is that using text-property both in
x-get-selection-internal and x-get-selection is better. If
you don't have a farther counterargument, I'll install a
change along my original line.
---
Ken'ichi HANDA
handa@m17n.org
next prev parent reply other threads:[~2003-06-13 8:37 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <iluk7djncdf.fsf@latte.josefsson.org>
[not found] ` <8465p3kgpl.fsf@lucy.is.informatik.uni-duisburg.de>
[not found] ` <iluvfx3lcvu.fsf@latte.josefsson.org>
[not found] ` <84bryuogke.fsf@lucy.is.informatik.uni-duisburg.de>
[not found] ` <iluptnaitaf.fsf@latte.josefsson.org>
[not found] ` <m34r4md5hd.fsf@defun.localdomain>
[not found] ` <iluhe8minvx.fsf@latte.josefsson.org>
[not found] ` <ilu8yty35eo.fsf@latte.josefsson.org>
[not found] ` <m3y91y9xjr.fsf@defun.localdomain>
[not found] ` <ilubryuyty8.fsf@latte.josefsson.org>
2003-04-26 10:50 ` MML charset tag regression James H. Cloos Jr.
2003-04-28 11:58 ` Kenichi Handa
2003-04-28 12:43 ` Stephen J. Turnbull
2003-04-28 12:59 ` Kenichi Handa
2003-04-28 23:05 ` Simon Josefsson
2003-04-29 7:12 ` Stephen J. Turnbull
2003-04-29 5:38 ` Richard Stallman
2003-05-20 12:47 ` Kenichi Handa
2003-05-20 19:42 ` Jan D.
2003-05-21 15:31 ` Richard Stallman
2003-05-21 16:23 ` Jan D.
2003-05-22 0:58 ` Kenichi Handa
2003-05-22 16:25 ` Jan D.
2003-05-23 1:33 ` Kenichi Handa
2003-05-23 7:45 ` David Kastrup
2003-05-23 22:48 ` Richard Stallman
2003-05-23 23:41 ` Jan D.
2003-05-24 0:31 ` Miles Bader
2003-05-25 16:40 ` Dave Love
2003-05-25 18:01 ` Richard Stallman
2003-05-25 16:38 ` Dave Love
2003-05-25 17:25 ` Eli Zaretskii
2003-05-30 8:39 ` Kenichi Handa
2003-05-30 9:23 ` Dave Love
2003-05-30 11:36 ` Kenichi Handa
2003-06-04 22:01 ` Dave Love
2003-06-05 1:16 ` Kenichi Handa
2003-06-11 12:33 ` Stephen J. Turnbull
2003-06-01 15:40 ` Eli Zaretskii
2003-06-04 22:04 ` Dave Love
2003-06-06 10:55 ` Eli Zaretskii
2003-05-26 13:49 ` Richard Stallman
2003-05-30 9:28 ` Dave Love
2003-05-25 16:32 ` Dave Love
2003-05-25 19:14 ` Jan D.
2003-05-30 9:23 ` Dave Love
2003-05-23 12:05 ` Richard Stallman
2003-05-25 16:31 ` Dave Love
2003-05-30 12:03 ` Kenichi Handa
2003-06-04 21:52 ` Dave Love
2003-06-05 1:36 ` Kenichi Handa
2003-05-25 16:27 ` Dave Love
2003-05-24 0:51 ` Kenichi Handa
2003-05-23 12:03 ` Richard Stallman
2003-05-23 12:21 ` Kenichi Handa
2003-05-24 23:18 ` Richard Stallman
2003-06-13 8:37 ` Kenichi Handa [this message]
2003-06-15 15:59 ` Richard Stallman
2003-06-17 11:06 ` Kenichi Handa
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200306130837.RAA15089@etlken.m17n.org \
--to=handa@m17n.org \
--cc=jas@extundo.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.