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
Richard M. Stallman
002bbc0ed3
(xfree): Macro deleted.
...
Callers changed to use `free' directly.
1996-01-25 22:00:11 +00:00
Richard M. Stallman
0158abbc71
(x_get_window_property_as_lisp_data): Use xfree, not XFree.
...
(x_get_window_property): Use XFree for tmp_data.
1996-01-25 21:57:22 +00:00
Erik Naggum
3b7ad313e0
Update FSF's address in the preamble.
1996-01-15 09:18:04 +00:00
Karl Heuer
606140dd71
(x_handle_selection_notify): Give an indication
...
in reading_selection_reply of whether the request succeeded.
(x_get_foreign_selection): Do error if foreign selection was cleared.
1996-01-09 23:47:09 +00:00
Richard M. Stallman
5d0ba25bac
Undo previous change, except for comments and doc strings.
1996-01-05 07:19:49 +00:00
Karl Heuer
2a1a4c9d30
(x_get_foreign_selection): Renamed local variables
...
requester_window (from requestor_window), requester_time (from
requestor_time).
(syms_of_xselect): Doc fix for x-selection-timeout.
1996-01-04 22:58:25 +00:00
Richard M. Stallman
d31b6237e9
(syms_of_xselect): Doc fix.
1995-11-15 18:33:45 +00:00
Richard M. Stallman
0d199f9c6b
(x_clear_frame_selections): Get selection_symbol properly.
...
(x_clear_frame_selections): Undo previous change.
1995-11-15 18:32:09 +00:00