1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-19 01:10:57 -08:00
emacs/etc
Chong Yidong 9173a8fbd7 Cleanup of window coordinate positioning code.
Now, text area click input events measure Y from the top of the text
area, excluding the header line if any.

* src/dispnew.c (buffer_posn_from_coords): Assume that X counts from
the start of the text area.

* src/keyboard.c (make_lispy_position): For text area clicks, record Y
pixel position relative to the text area, excluding header line.
Also change X and Y to Lisp_Objects, not pointers; don't return
coordinate values via pointers.  Pass ON_TEXT_AREA coordinate to
buffer_posn_from_coords counting from the start of the text area.
(Fposn_at_x_y, make_lispy_event): Callers changed.

* src/w32term.c (w32_read_socket):
* src/msdos.c (dos_rawgetc):
* src/xterm.c (handle_one_xevent): Likewise.

* src/window.c (coordinates_in_window): Change X and Y to ints rather
than pointers; don't return coordinates via pointers.
(struct check_window_data): Change X and Y from pointers to ints.
(window_from_coordinates): Remove args WX and WY; don't return
coordinates via pointers.
(Fcoordinates_in_window_p, window_from_coordinates):
(check_window_containing, Fwindow_at): Callers changed.
(window_relative_x_coord): New function.

* src/window.h (window_from_coordinates, window_relative_x_coord):
Update prototypes.

* src/xdisp.c (remember_mouse_glyph): Change window_from_coordinates
call.  Use window_relative_x_coord.
(note_mouse_highlight): Change window_from_coordinates call.
2010-11-16 21:37:45 -05:00
..
charsets Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
e * term.el (term-handle-ansi-escape): Add comments with the 2009-08-07 07:04:02 +00:00
gnus Remove arch-tags from all files, since these are no longer needed. 2010-09-02 00:55:51 +00:00
images * etc/images/README: Add (un)checked.xpm 2010-10-25 20:02:30 -07:00
nxml
refcards Install org-mode version 7.3 2010-11-11 22:10:19 -06:00
schema chapter, part, section are all DocBook elements 2010-11-05 15:30:18 -04:00
srecode Synch SRecode to CEDET 1.0. 2010-09-21 18:11:23 -04:00
themes Move built-in theme directory to etc/. 2010-10-16 14:27:08 -04:00
tutorials Remove mode-line end dashes on graphical terminals. 2010-10-19 15:20:33 -04:00
.gitignore Add arch tagline 2009-03-04 06:02:06 +00:00
AUTHORS Bump version to 23.2.90. 2010-11-08 21:53:18 -05:00
celibacy.1
CENSORSHIP
ChangeLog Fix and document display of glyphless characters. 2010-11-13 15:29:31 +02:00
compilation.txt Give Ruby compilation rule a lower priority than Gnu (Bug#6778). 2010-08-14 20:04:53 -04:00
condom.1
CONTRIBUTE CONTRIBUTE: Various minor updates and changes. 2010-02-17 21:39:06 -08:00
COOKIES
COPYING
copying.paper
DEBUG Remove some cpp that is internal to configure.in. 2010-06-29 19:48:54 -07:00
DEVEL.HUMOR
DISTRIB * etc/DISTRIB: Update donation section. 2010-10-19 21:03:16 -07:00
echo.msg
edt-user.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
emacs-buffer.gdb Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
emacs.desktop
emacs.icon
emacs.py
emacs2.py Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
emacs3.py * emacs3.py: Import imp module and use it (Bug#5756). 2010-08-22 19:50:38 -04:00
enriched.doc Fix typos (Bug#6094). From Štěpán Němec. 2010-05-03 18:01:23 -04:00
ERC-NEWS Fix typos in ChangeLogs and NEWS files. 2010-01-14 19:29:36 +01:00
ETAGS.EBNF Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ETAGS.README Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
forms-d2.dat
FTP
future-bug
GNU Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
GNUS-NEWS Merge changes made in Gnus trunk. 2010-09-30 08:39:23 +00:00
gnus-tut.txt Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
grep.txt Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
HELLO Add Arabic support. 2010-08-25 14:13:27 +09:00
INTERVIEW
JOKES
LINUX-GNU
MACHINES * etc/MACHINES: Remove some old information no longer of relevance. 2010-05-27 20:25:50 -07:00
MAILINGLISTS Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
MH-E-NEWS Tiny MH-E doc fixes. 2010-10-30 14:17:59 -07:00
MORE.STUFF Add a new entry for QWE 2010-04-04 12:42:05 +02:00
MOTIVATION
NEWS Cleanup of window coordinate positioning code. 2010-11-16 21:37:45 -05:00
NEWS.1-17 Fix typos. 2010-10-23 01:38:34 +02:00
NEWS.18 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
NEWS.19 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
NEWS.20 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
NEWS.21 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
NEWS.22 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
NEWS.23 Merge from emacs-23 2010-11-09 15:07:10 -05:00
NEXTSTEP Tidy some nextstep README etc files. 2010-10-12 20:17:59 -07:00
NXML-NEWS American English spelling fix. 2008-06-27 07:34:53 +00:00
ORDERS Update some URLs. 2009-12-15 03:12:44 +00:00
PROBLEMS Document GTK Emacs kill on display close in PROBLEMS. 2010-10-25 12:08:27 -04:00
ps-prin0.ps Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ps-prin1.ps Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
README Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
rgb.txt
SERVICE
ses-example.ses Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
sex.6
spook.lines
TERMS Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
THE-GNU-PROJECT
TODO Merge nextstep/FOR-RELEASE outstanding issues into etc/TODO. 2010-10-11 21:01:55 -07: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, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
    Free Software Foundation, Inc.
  License: GNU General Public License version 3 or later (see COPYING)