1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -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 Move here from lisp/nxml. Rename from "test." to "test-" for doschk. 2008-02-16 22:44:58 +00:00
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 FIXME - vtw.org link 2006-03-29 13:47:44 +00:00
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 Fix typo. 2007-04-13 03:01:45 +00:00
COPYING Change to GPLv3. 2007-07-25 07:00:38 +00:00
copying.paper
DEBUG Remove some cpp that is internal to configure.in. 2010-06-29 19:48:54 -07:00
DEVEL.HUMOR Fix typo. 2008-01-22 15:28:56 +00:00
DISTRIB * etc/DISTRIB: Update donation section. 2010-10-19 21:03:16 -07:00
echo.msg Add similar copyright disclaimer to that used on 2007-02-27 03:37:51 +00:00
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.desktop (Icon): Update icon name. 2008-01-03 07:35:42 +00:00
emacs.icon
emacs.py Add 2008 to copyright years. 2008-01-08 04:54:02 +00:00
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 Move here from ../lisp 2008-04-26 02:39:10 +00:00
FTP Make it a duplicate of ../FTP. 2007-04-15 01:34:43 +00:00
future-bug Karl Fogel says we can consider future-bug part of Emacs (for which he 2007-02-28 04:12:39 +00:00
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 Add similar copyright disclaimer to that used on 2007-02-27 03:37:51 +00:00
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 Add copyright notice and copying permissions. 2006-06-03 13:53:01 +00:00
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 Don't suggest emailing to get a copy -- the FSF staff have other work to do. 2007-04-15 14:52:51 +00:00
ses-example.ses Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
sex.6
spook.lines Update. 2006-05-21 22:06:18 +00:00
TERMS Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
THE-GNU-PROJECT Fix typo. 2007-09-21 22:50:37 +00:00
TODO Merge nextstep/FOR-RELEASE outstanding issues into etc/TODO. 2010-10-11 21:01:55 -07:00
WHY-FREE
yow.lines Delete existing data; add a new entry. 2006-06-14 10:42:25 +00:00

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)