summaryrefslogtreecommitdiff
path: root/lisp/scroll-bar.el
Commit message (Collapse)AuthorAgeFilesLines
* Fix toolbars on X frames when Emacs is started on a tty. (Reported by ↵Karoly Lorentey2006-03-261-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Richard Lewis.) * lisp/faces.el (x-create-frame-with-faces): Remove bogus check for first frame. Call `tool-bar-setup'. * lisp/frame.el (window-system-default-frame-alist): Enhance doc string. * lisp/frame.el (frame-notice-user-settings): Don't put 'tool-bar-lines in `default-frame-alist' when initial frame is on a tty. * lisp/frame.el (modify-all-frames-parameters): Simplify using `assq-delete-all'. Remove specified parameters from `window-system-default-frame-alist'. * lisp/fringe.el (set-fringe-mode): Simplify and fix using `modify-all-frames-parameters'. * lisp/menu-bar.el (menu-bar-mode): Ditto. * lisp/scroll-bar.el (set-scroll-bar-mode): Ditto. * lisp/tool-bar.el (tool-bar-mode): Ditto. Remove 'tool-bar-map length check before calling `tool-bar-setup'. * lisp/tool-bar.el (tool-bar-setup): New variable. * lisp/tool-bar.el (tool-bar-setup): Use it to guard against multiple calls. Add optional frame parameter, and select that frame before adding items. * src/frame.c (syms_of_frame): Enhance doc string of `default-frame-alist'. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-536
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-2/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* 2004-03-15 Masatake YAMATO <jet@gyve.org>Masatake YAMATO2004-03-151-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * hl-line.el (hl-line-range-function): New variable. (hl-line-move): New function. (global-hl-line-highlight): Use `hl-line-move'. (hl-line-highlight): Ditto. * scroll-bar.el (scroll-bar-columns): New function derived from ruler-mode.el. * fringe.el (fringe-columns): New function derived from ruler-mode.el. * ruler-mode.el (top-level): Require scroll-bar and fringe. (ruler-mode-left-fringe-cols) (ruler-mode-right-fringe-cols): Use `fringe-columns'. (ruler-mode-right-scroll-bar-cols) (ruler-mode-left-scroll-bar-cols): Use `scroll-bar-columns'. (ruler-mode-ruler-function): New variable. (ruler-mode-header-line-format): Call `ruler-mode-ruler-function' if the value for `ruler-mode-ruler-function'is given. * hexl.el (hexl-mode-hook): Make the hook customizable. (hexl-address-area, hexl-ascii-area, hexl-ascii-cursor): New customize variables. (hexlify-buffer): Put font-lock-faces on the address area and the ascii area. (hexl-activate-ruler): New function. (hexl-follow-line): New function. (hexl-highlight-line-range): New function. (hexl-mode-ruler): New function.
* (set-scroll-bar-mode): Initialize to new built-in variableKim F. Storm2003-09-201-14/+7
| | | | | | | | default-frame-scroll-bars. (scroll-bar-mode): Use default-frame-scroll-bars when enabling scroll-bar-mode; notably, use it instead of t when we toggle scroll-bars on. (toggle-scroll-bar): Use default-frame-scroll-bars.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (scroll-bar-drag-1): Replace beginning-of-line with vertical-motion.Juanma Barranquero2003-04-271-1/+1
|
* (scroll-bar-mode): Correctly specify `nil' choice.Miles Bader2003-04-021-2/+2
|
* * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode): HaveSteven Tamm2003-01-021-3/+3
| | | | | scroll bars correctly default to being on the right for Mac Carbon port by testing "mac-carbon" feature, not window-system.
* * scroll-bar.el (toggle-scroll-bar, scroll-bar-mode): HaveSteven Tamm2002-12-311-3/+9
| | | | | scroll bars correctly default to being on the right for Mac Carbon port
* (scroll-bar-mode): Specify :initialize.Richard M. Stallman2002-09-151-0/+3
|
* (scroll-bar-mode): Make argument optional.Pavel Janík2002-01-201-1/+1
|
* Some fixes to follow coding conventions in files maintained by FSF.Pavel Janík2001-07-151-1/+1
|
* (toplevel): Test if `x-toolkit-scroll-bars' isGerd Moellmann2001-03-141-2/+3
| | | | | bound before using it. It's not bound when configured without X, for instance.
* (x-toolkit-scroll-bars): Check forGerd Moellmann2000-12-271-1/+1
| | | | x-toolkit-scroll-bars instead of x-toolkit-scroll-bars-p.
* (scroll-bar-timer): Variable removed.Gerd Moellmann2000-01-251-17/+1
| | | | (scroll-bar-toolkit-scroll): Don't use a timer.
* (scroll-bar-toolkit-scroll): add handling of the `ratio'Stefan Monnier1999-11-191-1/+8
| | | | event for Xaw and Xaw3d(without arrows) scrollbars.
* (scroll-bar-timer): New.Gerd Moellmann1999-07-211-7/+66
| | | | | | | (scroll-bar-toolkit-scroll): Start and cancel scroll-bar-timer. (scroll-bar-toolkit-scroll): Handle `top' and `bottom'. (scroll-bar-toolkit-scroll): New. (global): Use different key bindings if using toolkit scroll bars.
* (scroll-bar-scroll-down, scroll-bar-scroll-up):Karl Heuer1998-09-131-20/+22
| | | | Set point-before-scroll at end even if there was an error.
* (scroll-bar-mode): Doc fix.Richard M. Stallman1998-08-051-4/+3
|
* (scroll-bar-mode, toggle-scroll-bar): By default,Geoff Voelker1998-04-231-6/+9
| | | | | put scroll bars on the right on MS-Windows (since that is the convention on Windows).
* (scroll-bar-drag): Set point-before-scrollRichard M. Stallman1998-04-081-45/+54
| | | | | in the right buffer, from point in the right window. (scroll-bar-scroll-down, scroll-bar-scroll-up): Likewise.
* (set-scroll-bar-mode): Take just one arg.Karl Heuer1997-10-231-4/+6
| | | | | | (set-scroll-bar-mode-1): Take 2 args, as set-scroll-bar-mode used to. (scroll-bar-mode variable): Use set-scroll-bar-mode-1. (scroll-bar-mode command): Pass 1 arg to set-scroll-bar-mode.
* (toggle-scroll-bar): Call prefix-numeric-value.Karl Heuer1997-10-151-1/+2
|
* (scroll-bar-maybe-set-window-start): Change windowGeoff Voelker1997-09-021-1/+1
| | | | if current start is equal to start of next portion.
* (scroll-bar-mode-explicit): New variable.Richard M. Stallman1997-07-211-15/+24
| | | | | (set-scroll-bar-mode): Don't alter default-frame-alist when just loading this file.
* (scroll-bar-mode): Extra defvar to avoid warning.Richard M. Stallman1997-06-281-0/+2
|
* (toggle-scroll-bar): Moved from frame.el.Richard M. Stallman1997-06-281-30/+63
| | | | | | | | Use scroll-bar-mode to determine which side; if it's nil, use left. (set-scroll-bar-mode): New subroutine, taken from scroll-bar-mode. (scroll-bar-mode): Use the variable set-scroll-bar-mode. (scroll-bar-mode): New variable. (toggle-horizontal-scroll-bar): Moved from frame.el.
* (scroll-bar-maybe-set-window-start): Always setKarl Heuer1996-05-211-1/+3
| | | | window start, to ensure scroll bar position is updated.
* (scroll-bar-drag-position): New function.Richard M. Stallman1996-05-111-0/+32
| | | | (scroll-bar-maybe-set-window-start): New function.
* Update FSF's address.Erik Naggum1996-01-141-15/+15
|
* (scroll-bar-drag): Call scroll-bar-drag-1Karl Heuer1995-05-311-2/+4
| | | | inside the let.
* Update copyright.Karl Heuer1995-04-071-1/+1
|
* (scroll-bar-drag): Bind echo-keystrokes to 0.Richard M. Stallman1995-03-281-1/+2
|
* (scroll-bar-drag-1): Set point-before-scroll properly.Richard M. Stallman1995-01-261-16/+27
| | | | (scroll-bar-scroll-down, scroll-bar-scroll-up): Likewise.
* Update copyright.Karl Heuer1994-05-031-1/+1
|
* (scroll-bar-event-ratio): New function.Richard M. Stallman1994-04-301-0/+7
|
* (scroll-bar-mode): If FLAG is non-nil, set it to its prefix-numeric-value.Roland McGrath1993-08-061-0/+1
|
* * scroll-bar.el (scroll-bar-mode): Variable deleted.Jim Blandy1993-06-101-22/+30
| | | | | (scroll-bar-mode): Function changed to consult default-frame-alist instead of the variable.
* * scroll-bar.el (scroll-bar-set-window-start): Remember that theJim Blandy1993-06-091-1/+3
| | | | | scroll bar numbers reflect the accessible region of the buffer, not the entire buffer.
* (scroll-bar-drag-1):Richard M. Stallman1993-06-051-1/+4
| | | | Calculate position relative to the accessible part of the buffer.
* (scroll-bar-mode): Make default value t.Richard M. Stallman1993-05-261-1/+3
|
* (scroll-bar-drag, scroll-bar-drag-1): New functions.Richard M. Stallman1993-05-081-3/+31
| | | | | Put scroll-bar-drag on down-mouse-2 in scroll bar. Leave up-events on mouse-2 unbound.
* Added or corrected Commentary headersEric S. Raymond1993-03-221-0/+6
|
* Add standard library headers.Eric S. Raymond1993-03-171-0/+2
|
* Add standard library headers.Eric S. Raymond1993-03-171-1/+1
|
* Use the term `scroll bar', instead of `scrollbar'.Jim Blandy1993-03-021-30/+30
| | | | | * term/x-win.el, frame.el, mouse.el: Terminology changed. * scrollbar.el: Renamed to scroll-bar.el.
* These are in preparation for a more thorough renaming to occur soon.Jim Blandy1993-03-021-1/+1
| | | | | * scroll-bar.el: Provide `scroll-bar', not `scrollbar'. * term/x-win.el: Require `scroll-bar', not `scrollbar'.
* * term/x-win.el (scroll-bar-mode, scroll-bar-mode): Move theseJim Blandy1993-02-251-0/+30
| | | | | | | | functions to scrolbar.el. * scrollbar.el (scroll-bar-mode, scroll-bar-mode): Here they are. Make scroll-bar-mode set the {vertical,horizontal}-scrollbars parameters in default-frame-alist, and modify all extant screens using the correct parameter names.