aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/view.el
Commit message (Collapse)AuthorAgeFilesLines
* (view-mode-enable): Set view-page-size and view-half-page-size to nil.Richard M. Stallman2004-10-161-7/+8
| | | | | | | | (view-set-half-page-size-default): view-half-page-size = nil means the default. (View-scroll-page-forward): Use view-page-size-default. (View-scroll-page-backward): Likewise. (view-page-size, view-half-page-size): Doc fixes.
* (view-return-to-alist): Mark it permanent local.Richard M. Stallman2004-04-201-0/+1
|
* Revert previous change.Andreas Schwab2004-02-071-3/+0
|
* (view-mode-enable): Add view-mode-map toAndreas Schwab2004-02-061-0/+3
| | | | minor-mode-overriding-map-alist.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (view-file): If existing buffer's major mode is special,Richard M. Stallman2003-07-091-3/+9
| | | | don't go into view mode.
* (view-file, view-file-other-window, view-file-other-frame):Stefan Monnier2003-05-311-0/+3
| | | | Signal an error when trying to visit an inexistent file.
* (Helper-return-blurb): Add defvar. (Also rearrange defuns.)Richard M. Stallman2003-05-031-27/+30
|
* (view-read-only): Move from view.el to files.el.Stefan Monnier2003-04-181-5/+0
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-3/+3
|
* (view-mode): Doc fix.Richard M. Stallman2003-01-251-3/+5
|
* (view-mode-enter): Clarify echo area message.Richard M. Stallman2002-06-121-1/+1
|
* (view-mode-enable): Don't use make-local-hook.Stefan Monnier2001-11-171-1/+0
|
* Add Keywords header.Gerd Moellmann2001-09-041-0/+1
|
* (toplevel): Use mode-line-minor-mode-keymap for theGerd Moellmann2001-08-091-9/+8
| | | | minor mode name.
* Some fixes to follow coding conventions.Pavel Janík2001-07-161-1/+1
|
* Use local-map property, not keymap on mode-line string.Dave Love2000-11-121-2/+2
|
* (minor-mode-alist): Propertize the string.Dave Love2000-09-171-1/+6
|
* (view-mode-disable): Kill local binding of view-read-only.Richard M. Stallman2000-03-191-0/+8
|
* Some changes in documentation. Removed some trailingGerd Moellmann2000-01-311-48/+55
| | | | | | | whitespace. Changed some parameter names to agree with documentation. (view-mode-exit): Keep entry in `view-return-to-alist' only when a window is not deleted. Modifies change 1998-04-26.
* (view-mode-disable): If buffer-read-only is nil,Karl Heuer1999-08-101-2/+3
| | | | don't change it.
* (view-mode-enable, view-mode-disable):Karl Heuer1999-08-101-0/+2
| | | | Call force-mode-line-update.
* (View-revert-buffer-scroll-page-forward): BindAndreas Schwab1999-01-041-1/+1
| | | | view-scroll-auto-exit instead of obsolete view-mode-auto-exit.
* (View-exit-and-edit): Bind view-no-disable-on-exit to nil.Karl Heuer1998-06-031-1/+2
|
* (view-mode-exit): Don't alter view-return-to-alist.Richard M. Stallman1998-04-261-3/+7
| | | | (view-mode-enter, view-mode-exit): Doc fixes.
* (view-really-at-end): Return true when at end and notAndreas Schwab1998-04-201-15/+15
| | | | reverting.
* (view-return-to-alist): Doc fix.Richard M. Stallman1998-03-161-3/+7
| | | | | | (view-mode-enter): Doc fix. (view-mode-exit): Handle new alternative `quit-window' for OLD-BUF-INFO in RETURN-TO-ALIST.
* Some changes in comments and documentation.Karl Heuer1997-10-161-51/+79
| | | | | | | | | | | | | View mode hooked into the customize tree. (view): New custom group. (view-highlight-face, view-scroll-auto-exit) (view-try-extend-at-buffer-end) (view-remove-frame-by-deleting, view-mode-hook): Defined by defcustom instead of by defvar. (view-mode-enter): Install exit-action also when view-mode is already on. Small rewrite using unless. (view-mode, view-mode-exit, view-scroll-lines, view-really-at-end) (view-search): Small rewrite using when or unless.
* (view-end-message): Don't mention q if it really do anything.Richard M. Stallman1997-09-091-4/+6
|
* (view-just-bury): New variable.Richard M. Stallman1997-08-081-1/+8
| | | | (view-mode-exit): Obey it.
* Changed some documentation.Richard M. Stallman1997-06-251-65/+94
| | | | | | | | | | | | | | (view-exits-all-viewing-windows): Nev variable replaces view-exit-all-windows-at-exit. (view-exit-all-windows-at-exit): Variable deleted. (view-mode-enter): Doesn't set view-exit-action if argument exit-action is nil. (view-mode-exit): Only restored windows are removed from view-return-to-alist. Follow chains of old-windows. Do not call replace-buffer-in-windows. Call exit-action also when a window displays buffer. (View-exit-and-edit): Now sets read-only by binding view-old-buffer-read-only.
* (view-mode): Add autoload cookie to this variable.Kenichi Handa1997-06-191-0/+3
| | | | (View-exit-and-edit): Add autoload cookie.
* Comment change.Richard M. Stallman1997-06-161-1/+1
|
* Don't globally add to change-major-mode-hook.Richard M. Stallman1997-06-161-4/+5
| | | | | (view-mode-enable): Add to change-major-mode-hook locally here. (view-mode-disable): Remove from it locally here.
* Many doc fixes.Richard M. Stallman1997-06-141-90/+103
| | | | | | | | | | (view-mode-enable): New function, split from view-mode-enter. (view-mode-enter): Use view-mode-enable. (view-mode-disable): New function, split from view-mode-exit. (view-mode-exit): Use view-mode-disable. (view-mode): Use view-mode-enable and view-mode-disable; don't do all of what view-mode-enter and view-mode-exit do. (change-major-mode-hook): Use view-mode-disable, not view-mode-exit.
* Make view mode more similar to `less'.Richard M. Stallman1997-06-141-304/+717
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed documentation for most commands. (view-scroll-auto-exit): New variable, replaces view-mode-auto-exit. (view-mode-auto-exit): Variable deleted. (view-mode): Doesn't only toggle `view-mode', it also calls view-mode-enter or view-mode-exit. (view-buffer, view-buffer-other-window): New argument exit-action. (view-file, view-file-other-window, view-buffer-other-window) (view-buffer, view-mode-enter): Changed method used to restore windows when leaving view mode. (view-mode-exit): New function. (view-return-to-alist): New variable. (view-return-here, view-exit-position): Variables deleted. (view-remove-frame-by-deleting, view-exit-all-windows-at-exit): New option variables. (view-page-size, view-half-page-size): New variables. (view-scroll-size): Var deleted; replaced by the previous two. (view-mode-map): Make the bindings inside defvar. Added new commands and new key bindings. Added view-mode-exit to `change-major-mode-hook' to always leave view mode when changing major mode. (view-file-other-frame, view-buffer-other-frame): New commands. (View-leave, View-kill-and-leave, View-exit, View-exit-and-edit) (View-quit, View-quit-all): new commands for leaving view mode. (view-exit): Function deleted. (View-goto-percent, View-scroll-to-buffer-end): New commands. (view-try-extend-at-buffer-end): New option variable. (View-scroll-page-forward, View-scroll-page-backward) (View-scroll-page-forward-set-page-size) (View-scroll-page-backward-set-page-size, View-scroll-line-forward) (View-scroll-line-backward, View-scroll-half-page-forward) (View-scroll-half-page-backward) (View-revert-buffer-scroll-page-forward): New commands. (View-scroll-lines-forward, View-scroll-lines-backward) (View-scroll-lines-forward-set-scroll-size) (View-scroll-one-more-line): Commands deleted. (view-scroll-lines, view-end-message, view-page-size-default) (view-set-half-page-size-default, view-really-at-end) (view-recenter): New functions. (view-scroll-size): Variable deleted. (View-search-regexp-forward, View-search-regexp-backward) (View-search-last-regexp-forward, View-search-last-regexp-backward) (view-search): ! and @ are special at beginning of regexp. (view-search-no-match-lines): New function.
* (view-mode-auto-exit): Doc fix.Karl Heuer1996-07-201-1/+4
|
* (view-mode): Doc fix.Richard M. Stallman1996-06-281-4/+7
|
* (View-search-last-regexp-forward)Richard M. Stallman1996-02-041-2/+6
| | | | (View-search-last-regexp-backward): Nice error if no prev regexp.
* (view-mode-map): Don't call suppress-keymap.Richard M. Stallman1996-02-031-1/+3
|
* (view-mode-enter, View-scroll-lines-forward): Pass proper format string to ↵Karl Heuer1996-01-251-2/+3
| | | | message.
* Update FSF's address.Erik Naggum1996-01-141-2/+3
|
* (view-mode, view-mode-enter): Doc changes.Richard M. Stallman1995-11-241-14/+16
| | | | | | (view-mode-map): Change h and ? to use describe-mode. Delete binding of help char. (view-mode-enter): Use describe-mode in message.
* (view-mode-enter): Replace Help-helper by help-commandRichard M. Stallman1995-11-241-2/+2
| | | | in doc string and message.
* (View-scroll-lines-forward): Don't recenter at end.Richard M. Stallman1995-11-141-1/+0
|
* (view-mode-map): Use ordinary Help command.Richard M. Stallman1995-11-101-1/+1
|
* Doc fixes.Richard M. Stallman1995-10-091-4/+16
|
* (view-highlight-face): New variable.Richard M. Stallman1995-10-091-2/+7
| | | | (view-search): Use that variable.
* (view-exit): Delete view-overlay only if it exists.Erik Naggum1995-10-081-1/+1
|
* Fix typo in prev change.Richard M. Stallman1995-10-051-1/+1
|