1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 01:41:01 -08:00
emacs/etc
Jan Djärv 18c26d81cd Stop cursor blink after blink-cursor-blinks (10), stop timers when not blinking.
* etc/NEWS: Document blink-cursor-blinks and blink timers stopped.

* lisp/frame.el (blink-cursor-blinks): New defcustom.
(blink-cursor-blinks-done): New defvar.
(blink-cursor-start): Set blink-cursor-blinks-done to 1.
(blink-cursor-timer-function): Check if number of blinks has been
done on X and NS.
(blink-cursor-suspend, blink-cursor-check): New defuns.

* src/frame.c (Fhandle_focus_in, Fhandle_focus_out): New functions.
(Fhandle_switch_frame): Call Fhandle_focus_in.
(syms_of_frame): defsubr handle-focus-in/out.

* src/keyboard.c (Qfocus_in, Qfocus_out): New static objects.
(make_lispy_focus_in, make_lispy_focus_out): Declare and define.
(kbd_buffer_get_event): For FOCUS_IN, make a focus_in event if no
switch frame event is made.  Check ! NILP (event->arg) if X11 (moved
from xterm.c). Make focus_out event for FOCUS_OUT_EVENT if NS or X11
and there is a focused frame.
(head_table): Add focus-in and focus-out.
(keys_of_keyboard): Add focus-in and focus-out to Vspecial_event_map,
bind to handle-focus-in/out.

* src/nsterm.m (windowDidResignKey): If this is the focused frame, generate
FOCUS_OUT_EVENT.

* src/termhooks.h (enum event_kind): Add FOCUS_OUT_EVENT.

* src/xterm.c (x_focus_changed): Always generate FOCUS_IN_EVENT.
Set event->arg to Qt if switch-event shall be generated.
Generate FOCUS_OUT_EVENT for FocusOut if this is the focused frame.
2013-07-16 13:41:06 +02:00
..
charsets Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
e Spelling fixes. 2011-11-26 20:43:11 -08:00
forms Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
gnus Spelling fixes. 2011-11-19 18:29:42 -08:00
images Prefer UTF-8 when the encoding shouldn't matter and changes are small. 2013-03-05 09:13:01 -08:00
nxml
org Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
refcards * refcards/refcard.tex: Refine some entries. (Bug#14087) 2013-05-25 10:17:54 +08:00
schema Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
srecode Merge from CEDET upstream (8564). 2013-06-02 15:33:09 +02:00
themes * themes/tsdh-dark-theme.el (tsdh-dark): Refine mode-line faces. 2013-05-31 09:15:51 +02:00
tutorials etc/tutorials/TUTORIAL.ru: Fix incorrectly translated wording. 2013-06-01 15:29:03 +03:00
.gitignore Use just DOC instead of DOC-nn.mm. 2013-05-15 16:12:53 -04:00
AUTHORS Regenerate AUTHORS and ldefs-boot.el 2013-03-04 19:55:25 -08:00
CALC-NEWS Remove info duplicated from manual; convert to outline mode format. 2013-01-31 20:04:23 -08:00
celibacy.1
CENSORSHIP
ChangeLog Stop cursor blink after blink-cursor-blinks (10), stop timers when not blinking. 2013-07-16 13:41:06 +02:00
compilation.txt Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
condom.1
CONTRIBUTE A few small TODO and CONTRIBUTE updates 2013-02-16 12:24:50 -08:00
COOKIES
COPYING
copying.paper
DEBUG Spelling fixes. 2013-06-18 10:15:25 -07:00
DEVEL.HUMOR
DISTRIB Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
echo.msg
edt-user.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
emacs-buffer.gdb Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
emacs.desktop
emacs.icon
enriched.doc Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
ERC-NEWS Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
ETAGS.EBNF Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
ETAGS.README Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
FTP
future-bug Rename configure.in to configure.ac. 2012-07-08 21:52:49 -07:00
GNU Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
GNUS-NEWS Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
gnus-tut.txt Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
grep.txt * lisp/progmodes/grep.el (grep-mode-font-lock-keywords): Support =linenumber= 2013-05-24 23:54:38 +03:00
HELLO Add coding tags for iso-2022-7bit files that are not already tagged. 2013-03-12 09:53:31 -07:00
INTERVIEW
JOKES Spelling fixes. 2011-11-14 12:23:26 -08:00
LINUX-GNU
MACHINES Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
MAILINGLISTS Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
MH-E-NEWS Spelling fixes. 2013-03-02 22:40:21 -08:00
MORE.STUFF Put back no-longer-defunct URL from 2012-12-20T14:57:40Z!eggert@cs.ucla.edu 2013-04-28 10:40:32 -07:00
MOTIVATION
NEWS Stop cursor blink after blink-cursor-blinks (10), stop timers when not blinking. 2013-07-16 13:41:06 +02:00
NEWS.1-17 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NEWS.18 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NEWS.19 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NEWS.20 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NEWS.21 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NEWS.22 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NEWS.23 Merge calc news from lisp/calc/README into etc/NEWS files 2013-01-31 19:51:08 -08:00
NEXTSTEP Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
NXML-NEWS
ORDERS
ORG-NEWS Fixes related to the last Org merge. 2013-01-08 23:02:09 +01:00
PROBLEMS Use just DOC instead of DOC-nn.mm. 2013-05-15 16:12:53 -04:00
ps-prin0.ps Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
ps-prin1.ps Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
publicsuffix.txt Spelling fixes. 2012-04-13 22:10:55 -07:00
README Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
rgb.txt
SERVICE
ses-example.ses Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
sex.6
spook.lines * etc/spook.lines: Additions. (tiny change) 2012-06-01 00:10:49 -07:00
TERMS Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
THE-GNU-PROJECT Spelling fixes. 2011-11-19 23:30:16 -08:00
TODO Merge from emacs-24; up to 2012-12-22T19:09:52Z!rgm@gnu.org 2013-02-24 11:45:17 -08:00
WHY-FREE
yow.lines

This directory contains the architecture-independent files used by or
with Emacs.  This includes some text files of documentation for GNU
Emacs or of interest to Emacs users, and the file of dumped docstrings
for Emacs functions and variables.

`forms-d2.dat' is an example data file used by forms-d2.el.

COPYRIGHT AND LICENSE INFORMATION FOR IMAGE FILES

File: emacs.icon
  Author: Sun Microsystems, Inc
  Copyright (C) 1999, 2001-2013 Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)