Gerd Moellmann
3007ebfbc7
Call redisplay_preserve_echo_area with additional arg.
2001-01-16 12:42:22 +00:00
Gerd Moellmann
ca29f2b87b
(selection_request_dpyinfo): New variable.
...
(x_handle_selection_request): Set it.
(x_selection_request_lisp_error): Don't call
x_decline_selection_request if selection request's display has
been closed.
2001-01-11 16:08:55 +00:00
Gerd Moellmann
47a6ac17a1
(x_reply_selection_request): Add a comment.
2001-01-10 12:23:46 +00:00
Gerd Moellmann
1c4d2069b3
(wait_for_property_change): Update copyright.
2000-11-28 15:36:08 +00:00
Kenichi Handa
0caef0ecf7
Include composite.h.
...
(selection_data_to_lisp_data): Call compose_chars_in_text on STR.
2000-11-06 12:35:44 +00:00
Kenichi Handa
11270583fe
*** empty log message ***
2000-07-21 02:39:45 +00:00
Kenichi Handa
2b38b37ef7
(lisp_data_to_selection_data): Use x_encode_text.
2000-07-21 02:07:14 +00:00
Kenichi Handa
9846d9dbcf
(selection_data_to_lisp_data): Setup members
...
src_multibyte and dst_multibyte of coding. Adjusted for the
change for find_charset_in_str.
(lisp_data_to_selection_data): Likewise.
2000-05-20 00:08:10 +00:00
Kenichi Handa
99e1184e5c
(lisp_data_to_selection_data): Adjusted for the change
...
for find_charset_in_str.
1999-12-15 00:26:05 +00:00
Gerd Moellmann
378c33ca4b
(x_own_selection): Change for Lisp_Object selected_frame.
...
(Fx_store_cut_buffer_internal): Ditto.
(Fx_rotate_cut_buffers_internal): Ditto.
1999-09-13 11:14:26 +00:00
Ken Raeburn
8e713be64c
Use XCAR and XCDR instead of explicit member references.
1999-09-12 07:05:34 +00:00
Richard M. Stallman
e18e6130fa
(x_handle_selection_clear): Don't clear the
...
selection if Emacs still owns it through a different display.
1999-01-24 20:06:34 +00:00
Kenichi Handa
666273c2f0
(lisp_data_to_selection_data): Call find_charset_in_str
...
with MULTIBYTE arg 0.
1998-12-15 04:35:38 +00:00
Andreas Schwab
aac77ff120
(Vselection_coding_system): Doc fix.
1998-10-30 10:21:58 +00:00
Kenichi Handa
6b123f323b
(lisp_data_to_selection_data): Call find_charset_in_str with CMPCHARP arg 0.
1998-10-12 12:00:44 +00:00
Richard M. Stallman
d24e26b1a9
(selection_data_to_lisp_data): Code-convert selections
...
regardless of enable-multibyte-characters.
(lisp_data_to_selection_data): Likewise for decoding.
1998-08-26 21:15:23 +00:00
Kenichi Handa
16cd502924
(Vnext_selection_coding_system): New variable.
...
(selection_data_to_lisp_data): If Vnext_selection_coding_system is
non-nil, use it.
(lisp_data_to_selection_data): Likewise.
(syms_of_xselect): Declare next-selection-coding-system as a Lisp
variable.
1998-08-15 01:28:14 +00:00
Richard M. Stallman
93e4ce1b88
(Vselection_coding_system):
...
Renamed from Vclipboard_coding_system. All uses changed.
(syms_of_xselect): Rename Lisp variable.
1998-07-11 20:42:12 +00:00
Kenichi Handa
061bda8dfd
(selection_data_to_lisp_data): Set Vlast_coding_system_used.
...
(lisp_data_to_selection_data): Likewize.
1998-07-09 02:02:33 +00:00
Kenichi Handa
e550dcb299
(lisp_data_to_selection_data): Call
...
find_charset_in_str with CMPCHARP 1 to encode Lisp string if it
contains a composite character.
1998-05-21 01:48:52 +00:00
Richard M. Stallman
22e0073908
(Fx_get_cut_buffer_internal): If FORMAT is 0, cut buffer is empty.
1998-04-18 22:14:32 +00:00
Andreas Schwab
dfcf069d56
Fix -Wimplicit warnings.
1998-04-14 12:25:56 +00:00
Kenichi Handa
25b98b34c5
(selection_data_to_lisp_data): Give
...
make_string_from_bytes a correct char size.
1998-04-02 00:25:47 +00:00
Richard M. Stallman
c98265b836
(selection_data_to_lisp_data): Use make_string_from_bytes.
1998-03-21 17:49:39 +00:00
Richard M. Stallman
fc932ac6c7
Use STRING_BYTES and SET_STRING_BYTES.
1998-03-21 07:06:14 +00:00
Kenichi Handa
9391d06ab4
(selection_data_to_lisp_data): Adjusted for the change
...
of decode_coding.
(lisp_data_to_selection_data): Adjusted for the change of
encode_coding.
(syms_of_xselect): Initialize clipboard-coding-system to
compound-text.
1998-01-22 01:26:45 +00:00
Richard M. Stallman
4a2f9c6aef
Update copyright year.
1998-01-21 23:32:12 +00:00
Richard M. Stallman
0120fdf9e3
(lisp_data_to_selection_data): Use size_byte.
...
(Fx_store_cut_buffer_internal): Use size_byte.
(selection_data_to_lisp_data): Use make_multibyte_string.
1998-01-09 23:22:10 +00:00
Richard M. Stallman
88623f1c40
(Fx_rotate_cut_buffers_internal): Doc fix.
1997-12-28 19:06:57 +00:00
Andreas Schwab
44d4653154
(Fx_disown_selection_internal): Fix type of EVENT.
1997-11-25 13:48:10 +00:00
Karl Heuer
4feb31b211
(x_handle_selection_request): Use xfree, not free.
...
(unexpect_property_change, x_get_window_property_as_lisp_data): Ditto.
(x_handle_property_notify, receive_incremental_selection): Ditto.
(selection_data_to_lisp_data, Fx_get_cut_buffer_internal): Ditto.
1997-11-15 20:16:49 +00:00
Kenichi Handa
5faa9b4571
Include buffer.h.
...
(selection_data_to_lisp_data): Do not perform code conversion if
the default value of enable-multibyte-characters is nil.
(lisp_data_to_selection_data): Likewise. Access the array
`charsets' in the correct way.
1997-10-21 10:43:40 +00:00
Richard M. Stallman
4cf066bb98
(syms_of_xselect): Doc syntax fixes.
1997-08-06 18:56:43 +00:00
Kenichi Handa
2584c9ec2b
(Vclipboard_coding_system): New variable.
...
(selection_data_to_lisp_data): Decode text by
Vclipboard_coding_system.
(lisp_data_to_selection_data): Encode text by
Vclipboard_coding_system.
(syms_of_xselect): Declare clipboard-coding-system as Lisp
variable and initialize it.
1997-08-03 03:02:05 +00:00
Richard M. Stallman
937a3875a4
(selection_data_to_lisp_data):
...
Make the vector the right size, when format is 16.
1997-07-24 21:29:24 +00:00
Richard M. Stallman
e607a484ef
(selection_data_to_lisp_data): Convert Fmake_vector
...
and Faset arguments to Lisp_Integer.
(clean_local_selection_data): Likewise.
1997-07-12 06:36:06 +00:00
Kenichi Handa
b58fda2e96
(selection_data_to_lisp_data): Call free instead of
...
xfree.
1997-07-02 12:53:50 +00:00
Kenichi Handa
569e0c76bd
(selection_data_to_lisp_data): Change coding system
...
name to iso-latin-1.
(lisp_data_to_selection_data): Likewise.
1997-06-09 13:00:16 +00:00
Kenichi Handa
fb5e77f716
(lisp_data_to_selection_data): charsets from char' to int.
1997-05-19 03:33:50 +00:00
Kenichi Handa
f78da51e8d
(selection_data_to_lisp_data): If TYPE is `STRING'
...
and DATA contains 8-bit codes, decode them as Latin-1 characters.
(lisp_data_to_selection_data): Supply 4th arg TABLE as Qnil to
find_charset_in_str.
1997-05-10 03:37:01 +00:00
Richard M. Stallman
f5c7718e0e
(x_reply_selection_request): Delete the inner
...
unbind_to call, since x_uncatch_errors does the job.
1997-05-05 19:14:27 +00:00
Richard M. Stallman
ad7f9d12c8
(x_reply_selection_request): Fix previous change.
1997-05-01 21:35:31 +00:00
Richard M. Stallman
5a49969629
(x_own_selection, x_reply_selection_request)
...
(x_get_foreign_selection):
Save value of x_catch_errors and pass to x_uncatch_errors.
1997-05-01 01:58:47 +00:00
Karl Heuer
6c070502b6
(expect_property_change): Fix Lisp_Object/integer confusion.
1997-04-10 22:32:00 +00:00
Kenichi Handa
467e767554
Adjusted for the change of MAX_CHARSET.
1997-03-18 23:31:34 +00:00
Kenichi Handa
90da0ee653
(lisp_data_to_selection_data, selection_data_to_lisp_data):
...
Remove prefix "coding-system-" from coding system symbol names.
1997-02-27 06:55:57 +00:00
Karl Heuer
e6c7c98823
Include charset.h and coding.h.
...
(QCOMPOUND_TEXT): New variable.
(symbol_to_x_atom): Handle it.
(selection_data_to_lisp_data): Decode a selection data if
selection type is TEXT or COMPOUND_TEXT.
(lisp_data_to_selection_data): Encode a text to COMPOUND_TEXT if
it contains multibyte characters.
(syms_of_xselect): Initialize and staticpro QCOMPOUND_TEXT.
1997-02-20 06:58:45 +00:00
Erik Naggum
a0d76c279e
Reorganize function definitions so etags finds them.
1996-10-31 13:43:37 +00:00
Karl Heuer
296744455f
(last_event_timestamp): Declare, but don't define.
1996-07-16 05:19:28 +00:00
Miles Bader
996b804dde
(x_clear_frame_selections): Don't call redisplay_preserve_echo_area here.
1996-07-02 16:25:19 +00:00