Mercurial > emacs
view lispref/spellfile @ 51207:7e176ef34c10
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.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sat, 24 May 2003 22:07:51 +0000 |
parents | 1377d461b09c |
children |
line wrap: on
line source
ARPA Abbrev Acknowledgements Alan Arnold Autoloading BAppend Backquote Beeping Beverly Boyes Brian CL CSWKg Carl Carroll Chris Cleanups DEC DStandard Dan Dired's Disassembly Duff EMAC EMACSLOADPATH Eckelkamp Edward Eirik Emacses Eric Erlebacher Fcar Fcdr Fcons Fcoordinates Feval Frazzle Frederick Fri Gardiner Gentlemen HAL HATTED HS HU Hanchrow Hartzell Hess Hewlett IBM ISBN Impl Interning Ithought J's Jacobson Jak Joe Jones Jr Jul Keymaps Kimmo Kirman Knighten Korz Krawitz LTsHm LaLiberte LaTeX Lammens Local' MAC MONIES MSS Maclisp Magill Marick Matthew Minibuf Misc Miscellany Mocklisp Montanaro Myers NFS Nathan Nope OS OSITIONS Oct Ovwrt PURESIZE Packard Qlistp Qnil RMAIL Raul Resizing Robbins Rockwell SCO SIGCONT SIGHUP SIGINT SIGKILL SIGQUIT SIGTSTP SLOAD Scoordinates Set' Setcar Setcdr Shinichirou Snarf Sor SourceFile Stops' Subprocess Sugou Sunview Suominen T's TCP ThXs Tharp Thu Trost UCB UNEVALLED UNGCPRO UniPlus UniSoft's VMS Vip Void' Warren Welty Wethought Wilding Worley Wright XDVI XFASTINT XINT XWINDOW Xs Yo Zuhn aB aa aaa abbrevname abbrevs abc abcdefg abcxyz abd above' abracadabra address' after' alist alists anchored' and' ar aref arg'th argdecl arith arrayp arrow' asa asdZasfd asdf asdfasfd aset assoc assq at' aug autoload automatic' automatically' avector bBuffer bFrobnicate ba back' bananana barfoo barx bballs before' beforep bfoo bil binding's bish bobp bolp bottommost boundp brief' buf buffer' bufferp buttercup ca caaaar caaar caddaar cadr callable cbreak ce cell' cells' cf chaprm character' childp chistory ck column' commandp concat cond conses consing consp constant' contains' continuable convert' copyleft correct' counterintuitive cr creatable customie deactivate deactivated deassigns decrement' deffnx definition' defmacro defsubr deletable deletion' delq depiction descendents deselecting destructive' destructively' diffs ding directory' dired dirname disassembler dland docfile docstring doesnt dont down' downcasing downloadable dribble dup ef efg electric' elided elt enablement endkeyfun endrecfun environment' eobp eof eol eolp eq eqlsign erminal erste etags eval evalled evals evaluate' excess' exec exitcode expression' extendible extra' fails' fascist fboundp featurep ff fg fi file' filespec filesystems fillarray firstchar firstonly fixedcase fixit fixup floatp fmakunbound fns fo fol folded' following' fooba foobaz foox for' formfeed forms' forw forwa found' frob from' front' fset fstab ftp fu funtions garbles gc gcpro gd getenv getprv gid gnuemacs gp grep gtr halves' hand' hashes' hd hexadecimal hf hfil hookvar horsechestnut hostname hpux hscroll ibmapa ick id idiom ii indrm inode input' inputinput inserting' integerp intermixed ints inturned irreversibly jum keymapp kill' killed' killp kludge kolstad language' lastchar lcl ledit leif lessp level' lewis library' link' lisplib listexp loadable loadst loadup logand logior lognot logxor long' loop's lru lrwxrwxrwx ls lsh m's macroexpand makunbound malloc mapatoms mapconcat mapvar mark' marker's markerp mathsurround medit memq mh mim mini minibuffer's minibuffers misalignment misnamed mode's modename modes' mods modtime mqueue msg multicharacter myfile nCount nXExpression na name's natnump nb nbBuffer nconc newdef newelt newname nextrecfun nfsusr ninett nlines nlinks nlistp noconfirm nodigits noerror noforce nomessage nominees nomsg nonblank nonconstant nondestructive nondirectory nonidentical noninteractive noninteractively nonletter nonletters nonlocally nonoverlapping nonprinting nonselected nonsequentially nonvoid nonwarranty nonwritable noop noprint norecord normal' noselect nosuffix nots noundo nr nreverse ns nsRename nth nthcdr num number' numberp nums obarray obarrays object' oldbuf olddef oldname oo oops op or' otl out' over' overful overfullrule overstrike overstriking overstruck p' paren part' passwd pe ped perverse pid plist pnt pointer' pointm pos preallocate predicale preload prepend prepended prepends pretty' prin princ print' printenv printer' proc process' processp programmer' prolog protect' ps psf psychotherapy pty purecopy qu quux rassq reader' readin rebind rec rechecking recursively' recycler' redo redrawing redraws redump reenabled reexposed reg region' reindent reindents reinitialization reinitialize reinitialized reinstall reinstalled resize resized resizes reversibly reworded rhetorical right' ring' risky rmailedit rms rplaca rplacd rtu runnable rw rwxrwxrwx sDescribe sans se searching' section' seed' sequence' sequencep setp setplist setprv settable setuid sexp sexps shape' shell's sideline special' specpdl st stanford startkeyfun str stringp stty subcategories subcommands subexp subform subforms subjob submap subprocesses subr subr' subroutine' subrp subrs subwindows sugar' suid supersession suspension' symbolp symlink syms syntatic tabname temacs temporarily' tempvar tenths termcap termcaps terminfo termscript termtype terpri text' textrm textsl texttt than' the' tildes time's to' towars transportable txt types' uid unbind unbinding unbinds unchanged' unclutters undefine undefines underfull undo's undodata unevaluated' unexec unexpand unhesitatingly uninterned unisoft unpaired unread unreadable unreading unsaved untyped ununderline up' uptime usecount used' user' userlock usg val varbind varname varref vars varset vb vconcat vectorp vfil vi vn voidness vrs vt window' windowing windowp wrapped' xSpecify xcoord xcssun xemacs xenix xf xfirst xoff xon xx xxxxx xxxxxxxxx xy xyz ycoord yes' zA zap zerop