1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
No description
Find a file
Kim F. Storm 949cf20fe5 Make (many) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
(make_window): Initialize new members
left_margin_cols, right_margin_cols, left_fringe_width,
right_fringe_width, fringes_outside_margins, scroll_bar_width,
and vertical_scroll_bar_type.
(coordinates_in_window): Adapted to new fringe/margin positions
and per-window fringes and scroll-bars.
Fix bug related to incorrectly adjusting coordinates by
frame's internal_border_width (the effect normally negible since
the internal_border_width is typically 0 or 1 pixel, but very
noticeable for an internal_border_width of e.g. 25 pixels).
Upon successful return (other than ON_NOTHING), the coordinates
are now always properly converted to window relative for the
given display element.
(window_from_coordinates): Add new parameters wx and wy to
return the window relative x and y position in the returned
window and part.  A null arg means, don't return the position.
All callers changed.
(adjust_window_margins): New function which may reduce the width
of the display margins if a window's text area is too small after
resizing or splitting windows.
(size_window): Fix bug that did not account for display margin
widths when checking the minimum width of a window; use
adjust_window_margins.
(set_window_buffer): Call Fset_window_fringes and
Fset_window_scroll_bars to setup per-window elements.
Add new arg KEEP_MARGINS_P.  Non-nil means to keep window's
existing display margin, fringe widths, and scroll bar settings
(e.g. after splitting a window or resizing the frame).  All
callers changed.
(Fset_window_buffer): New arg KEEP_MARGINS.  All callers changed.
(Fsplit_window): Duplicate original window's display margin,
fringe, and scroll-bar settings; then call Fset_window_buffer with
KEEP_MARGINS non-nil.  This fixes a bug which caused a split
window to only preserve the display margins in one of the windows.
When splitting horisontally, call adjust_window_margins	on both
windows to ensure that the text area of the new windows is non too
narrow.  This fixes a bug which could cause emacs to trap if the
width of the split window was less than the width of the display
margins.
(window_box_text_cols): Renamed from window_internal_width.  All
uses changed.  Adapt to per-window fringes and scroll bars.
Fix bug that caused vertical separator to be subtracted also on
window frames.  Fix another bug that did not reduce the returned
value by the columns used for display margins.
(window_scroll_line_based): Fix bug related to scrolling too much
when display margins are present (implicitly fixed by the fix to
window_box_text_cols).
(scroll_left, scroll_right): Fix bug related to scrolling too far
by default when display margins are present (implicitly fixed by
the fix to window_box_text_cols).
(struct saved_window): Rename members left to left_col, top to
top_line, width to total_cols, height to total_lines, orig_top to
orig_top_line, orig_height to orig_total_lines.  All uses changed.
New members left_margin_cols, right_margin_cols,
left_fringe_width, right_fringe_width, fringes_outside_margins,
scroll_bar_width, and vertical_scroll_bar_type for saving
per-window display elements.
(Fset_window_configuration): Restore display margins, fringes,
and scroll bar settings.  This fixes a bug which caused display
margins to be discarded when saving and restoring a window
configuration.
(save_window_save): Save display margins, fringes, and scroll bar
settings.  This fixes a bug which caused display margins to be
discarded when saving and restoring a window configuration.
(Fset_window_margins): Do nothing if display margins are not
really changed.  Otherwise, call adjust_window_margins to ensure
the text area doesn't get too narrow.  This fixes a bug which
could cause emacs to trap if setting display margins wider than
the width of the window.
(Fset_window_fringes): New defun to allow user to specifically set
this window's fringe widths and position vs. display margins.
(Fwindow_fringes): New defun to return window's actual fringe
settings.
(Fset_window_scroll_bars): New defun to allow user to specifically
set this window's scroll bar width and position.
(Fwindow_scroll_bars): New defun to return window's actual scroll
bar settings.
(compare_window_configurations): Also compare display margins,
fringes, and scroll bar settings.
(syms_of_window): Defsubr new defuns for fringe and scroll bars.
2003-05-24 22:07:51 +00:00
admin Update wording and version number etc. 2003-04-22 12:12:07 +00:00
etc *** empty log message *** 2003-05-24 16:16:34 +00:00
info Ignore smtpmail. 2003-02-23 12:18:20 +00:00
leim *** empty log message *** 2003-05-22 04:42:34 +00:00
lib-src *** empty log message *** 2003-05-22 20:01:37 +00:00
lisp *** empty log message *** 2003-05-24 20:18:13 +00:00
lispintro Update copyright date and update-date. 2003-04-17 15:05:10 +00:00
lispref Fix mismatched @def/@end pairs (inadvertently nested?). 2003-05-23 01:22:32 +00:00
lwlib Include lisp.h, not ../src/lisp.h. 2003-05-22 13:38:44 +00:00
mac * make-package: Allocate 5% extra space on disk image for directories 2003-04-28 16:15:35 +00:00
man Version 2.0.34 (of Tramp) released. 2003-05-24 14:10:53 +00:00
msdos Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
nt Added note about specific problem observed with the Intel compiler. 2003-02-19 21:23:59 +00:00
oldXMenu Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
src Make (many) trivial substitutions for renamed and 2003-05-24 22:07:51 +00:00
vms Fix the URL where Emacs for VMS is available. 2001-06-16 07:17:18 +00:00
.gitignore Whoops, that should be `autom4te.cache' 2002-03-26 00:42:51 +00:00
AUTHORS Regenerated using new format (after fixing numerous 2003-01-29 00:16:33 +00:00
autogen.sh * autogen.sh: New file. 2002-11-20 22:34:01 +00:00
BUGS
ChangeLog *** empty log message *** 2003-05-24 20:18:13 +00:00
config.bat Handle the case when lispintro is truncated to lispintr. 2002-05-31 15:13:32 +00:00
config.guess Revert previous change. 2003-01-15 10:04:49 +00:00
config.sub Revert previous change. 2003-01-15 10:04:49 +00:00
configure Regenerated. 2003-05-24 19:31:42 +00:00
configure.in (AH_BOTTOM) [MAC_OSX]: Do not redefine bcopy, 2003-05-24 19:28:34 +00:00
COPYING *** empty log message *** 2001-03-05 10:42:09 +00:00
FTP Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
INSTALL Notes on fonts, Debian packages. 2003-05-20 16:57:09 +00:00
INSTALL-CVS *** empty log message *** 2003-03-12 19:22:41 +00:00
install-sh Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
MAINTAINERS *** empty log message *** 2001-12-06 14:17:02 +00:00
make-dist Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Makefile.in (install-arch-indep, uninstall): Add SMTP manual. 2003-02-23 17:07:42 +00:00
mkinstalldirs (errstatus): Chmod a+rx directories we create. 2001-02-02 13:09:26 +00:00
move-if-change
README Remove stray text at the end of the file. 2003-05-10 09:30:24 +00:00
update-subdirs Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
vpath.sed

This directory tree holds version 21.3.50 of GNU Emacs, the extensible,
customizable, self-documenting real-time display editor.

You may encounter bugs in this release.  If you do, please report
them; your bug reports are valuable contributions to the FSF, since
they allow us to notice and fix problems on machines we don't have, or
in code we don't use often.  See the file BUGS for more information on
how to report bugs.

See the file etc/NEWS for information on new features and other
user-visible changes in recent versions of Emacs.

The file INSTALL in this directory says how to bring up GNU Emacs on
various systems, once you have loaded the entire subtree of this
directory.

The file etc/PROBLEMS contains information on many common problems that
occur in building, installing and running Emacs.

Reports of bugs in Emacs should be sent to the mailing list
bug-gnu-emacs@gnu.org.  See the "Bugs" section of the Emacs
manual for more information on how to report bugs.  (The file `BUGS'
in this directory explains how you can find and read that section
using the Info files that come with Emacs.)  See `etc/MAILINGLISTS'
for more information on mailing lists relating to GNU packages.

The `etc' subdirectory contains several other files, named in capital
letters, which you might consider looking at when installing GNU
Emacs.

The file `configure' is a shell script to acclimate Emacs to the
oddities of your processor and operating system.  It creates the file
`Makefile' (a script for the `make' program), which automates the
process of building and installing Emacs.  See INSTALL for more
detailed information.

The file `configure.in' is the input used by the autoconf program to
construct the `configure' script.  Since Emacs has some configuration
requirements that autoconf can't meet directly, and for historical
reasons, `configure.in' uses an unholy marriage of custom-baked
configuration code and autoconf macros.  If you want to rebuild
`configure' from `configure.in', you will need to install a recent
version of autoconf and GNU m4.

The file `Makefile.in' is a template used by `configure' to create
`Makefile'.

The file `make-dist' is a shell script to build a distribution tar
file from the current Emacs tree, containing only those files
appropriate for distribution.  If you make extensive changes to Emacs,
this script will help you distribute your version to others.

There are several subdirectories:

`src'       holds the C code for Emacs (the Emacs Lisp interpreter and
            its primitives, the redisplay code, and some basic editing
            functions).
`lisp'      holds the Emacs Lisp code for Emacs (most everything else).
`leim'      holds the library of Emacs input methods, Lisp code and
            auxiliary data files required to type international characters
            which can't be directly produced by your keyboard.
`lib-src'   holds the source code for some utility programs for use by or
            with Emacs, like movemail and etags.
`etc'       holds miscellaneous architecture-independent data files
            Emacs uses, like the tutorial text and the Zippy the Pinhead
            quote database.  The contents of the `lisp', `leim', `info',
            `man', `lispref', and `lispintro' subdirectories are
            architecture-independent too.
`info'      holds the Info documentation tree for Emacs.
`man'       holds the source code for the Emacs Manual.  If you modify the
            manual sources, you will need the `makeinfo' program to produce
            an updated manual.  `makeinfo' is part of the GNU Texinfo
            package; you need version 4.2 or later of Texinfo.
`lispref'   holds the source code for the Emacs Lisp reference manual.
`lispintro' holds the source code for the Introduction to Programming
            in Emacs Lisp manual.

`msdos'     holds configuration files for compiling Emacs under MSDOG.
`vms'       holds instructions and useful files for running Emacs under VMS.
`nt'        holds various command files and documentation files that pertain
            to building and running Emacs on Windows 9X/ME/NT/2000/XP.
`mac'       holds instructions, sources, and other useful files for building
            and running Emacs on the Mac.

   Building Emacs on non-Posix platforms requires to install tools
that aren't part of the standard distribution of the OS.  The
platform-specific README files and installation instructions should
list the required tools.

VMS info:

Emacs 19.x and above do not compile out of the box on OpenVMS.
Richard Levitte <levitte@lp.se> is distributing and maintaining a
version of Emacs (currently based on version 19.28, but soon moving to
19.34 and then 20.1) that compiles and works on OpenVMS 5.5 and above
on both VAX and Alpha architectures.  For more information see

  http://vms.gnu.org/software/released1/emacs.html#get_emacs_1928_kit

There is also some effort going on with Emacs 21.  Source code is
available at ftp://ftp.nvg.ntnu.no/pub/vms/emacs/.  Look for most
recent stuff with ls -lta.

It is a working "development" version (editing and much more works).
More developers are needed; contact roart@nvg.ntnu.no.