Mercurial > emacs
view info/.arch-inventory @ 111353:f2cb0d643a91
Backport fix for Bug#6571 from trunk. NOTE: May cause merge conflicts.
* src/keyboard.c (input_available_signal): Declare.
(kbd_buffer_nr_stored): New function.
(kbd_buffer_store_event_hold): If kbd_buffer_nr_stored returns
more than KBD_BUFFER_SIZE/2, stop reding input (Bug#6571).
(kbd_buffer_get_event): If input is suspended and kbd_buffer_nr_stored
returns less than KBD_BUFFER_SIZE/4, resume reding input (Bug#6571).
(tty_read_avail_input): If input is on hold, return.
Don't read more that free slots in kbd_buffer (Bug#6571).
* src/process.c (kbd_is_on_hold): New variable.
(hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p):
New functions.
(wait_reading_process_output): If kbd_on_hold_p returns non-zero,
select on empty input mask.
(init_process): Initialize kbd_is_on_hold to 0.
* src/process.h (hold_keyboard_input, unhold_keyboard_input)
(kbd_on_hold_p): Declare.
author | Jan D. <jan.h.d@swipnet.se> |
---|---|
date | Mon, 01 Nov 2010 12:30:33 +0100 |
parents | a33e80b6ae49 |
children |
line wrap: on
line source
# There are only three real source files in this directory: # # "dir", ".cvsignore", and this file, ".arch-inventory" # Everything else is generated at compile time. Unfortunately, the "backup" # category overrides the "source" category, so we have to have horrible # regexp that matches everything _except_ "dir"... # 1 or 2 characters long backup ^[a-zA-Z0-9][-_.a-zA-Z0-9]?$ # 4 or more characters long backup ^[a-zA-Z0-9][-_.a-zA-Z0-9][-_.a-zA-Z0-9][-_.a-zA-Z0-9]+$ # 3 chars long, but 1st char not "d" backup ^[abce-zA-Z0-9][-_.a-zA-Z0-9][-_.a-zA-Z0-9]$ # 3 chars long, but 2nd char not "i" backup ^[a-zA-Z0-9][-_.a-hj-zA-Z0-9][-_.a-zA-Z0-9]$ # 3 chars long, but 3rd char not "r" backup ^[a-zA-Z0-9][-_.a-zA-Z0-9][-_.a-qs-zA-Z0-9]$ # arch-tag: 60144ab9-cdc1-45b6-8193-b9683c80ec86