Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00
Martin Rudalics
78ddc123db
(view-remove-frame-by-deleting): Change default value to t.
...
Add autoload cookie.
(view-exit-action, view-file, view-file-other-window)
(view-file-other-frame, view-buffer, view-buffer-other-window)
(view-buffer-other-frame): Rewrite doc strings.
(view-return-to-alist-update): New function to remove stale entries
from view-return-to-alist.
(view-mode-enter): Rewrite doc string and simplify code.
(view-mode-exit): Handle new case 'keep-frame. Don't reset
view-exit-action to nil. Simplify code and rewrite doc string.
2007-11-10 09:52:30 +00:00
Glenn Morris
138c66b0dc
(view-search-no-match-lines): Fix previous change (went wrong if
...
regexp to not be matched matched last thing in the buffer).
2007-09-25 07:06:16 +00:00
Glenn Morris
7920b6e855
(view-search-no-match-lines): Fix previous change (went wrong if
...
regexp to not be matched matched last thing in the buffer).
2007-09-25 07:06:06 +00:00
Glenn Morris
5aca5ac39c
(view-search-no-match-lines): Add a doc string. Rewrite to simplify
...
and work better.
2007-09-25 02:28:49 +00:00
Glenn Morris
c1117b8f47
(view-search-no-match-lines): Add a doc string. Rewrite to simplify
...
and work better.
2007-09-25 02:27:03 +00:00
Glenn Morris
4837b516ea
Replace `iff' in doc-strings and comments.
2007-08-08 07:40:09 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Juanma Barranquero
39d9e44fa7
(view-inhibit-help-message): Fix typo in docstring.
...
(view-scroll-auto-exit, view-try-extend-at-buffer-end): Doc fixes.
2007-05-16 11:31:39 +00:00
Juanma Barranquero
38acf670fb
(view-mode): Fix typos in docstring.
2007-03-28 09:16:41 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Eli Zaretskii
2f33468cdc
(view-mode): Doc fix.
2005-12-03 14:35:38 +00:00
Romain Francoise
1c0484e2a2
(view-inhibit-help-message): New defcustom.
...
(view-mode-enter): Use it.
2005-11-29 10:53:30 +00:00
Andreas Schwab
a312f21413
(View-revert-buffer-scroll-page-forward): Use
...
view-page-size-default.
2005-10-28 09:43:01 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Richard M. Stallman
5bf70f477c
(view-mode-enable): Set view-page-size and view-half-page-size to nil.
...
(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.
2004-10-16 15:24:34 +00:00
Richard M. Stallman
da932079d0
(view-return-to-alist): Mark it permanent local.
2004-04-20 20:57:10 +00:00
Andreas Schwab
9aaa0f71cd
Revert previous change.
2004-02-07 23:39:18 +00:00
Andreas Schwab
daa3ea8d18
(view-mode-enable): Add view-mode-map to
...
minor-mode-overriding-map-alist.
2004-02-06 21:41:45 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Richard M. Stallman
90bb2ff453
(view-file): If existing buffer's major mode is special,
...
don't go into view mode.
2003-07-09 16:16:54 +00:00
Stefan Monnier
981b7b0c72
(view-file, view-file-other-window, view-file-other-frame):
...
Signal an error when trying to visit an inexistent file.
2003-05-31 17:53:24 +00:00
Richard M. Stallman
0d63ba8cd9
(Helper-return-blurb): Add defvar. (Also rearrange defuns.)
2003-05-03 13:52:17 +00:00
Stefan Monnier
cb211eb2f6
(view-read-only): Move from view.el to files.el.
2003-04-18 13:53:18 +00:00
Juanma Barranquero
f1180544bb
Trailing whitespace deleted.
2003-02-04 12:29:42 +00:00
Richard M. Stallman
4790accb2a
(view-mode): Doc fix.
2003-01-25 19:43:29 +00:00
Richard M. Stallman
1f5f6db607
(view-mode-enter): Clarify echo area message.
2002-06-12 12:20:51 +00:00
Stefan Monnier
c4d9b0d996
(view-mode-enable): Don't use make-local-hook.
2001-11-17 00:00:26 +00:00
Gerd Moellmann
284b3043c0
Add Keywords header.
2001-09-04 12:54:14 +00:00
Gerd Moellmann
fd78d527b7
(toplevel): Use mode-line-minor-mode-keymap for the
...
minor mode name.
2001-08-09 14:51:48 +00:00
Pavel Janík
e8af40eed4
Some fixes to follow coding conventions.
2001-07-16 12:23:00 +00:00
Dave Love
4503fe8bd2
Use local-map property, not keymap on mode-line string.
2000-11-12 00:53:35 +00:00
Dave Love
e209b8378e
(minor-mode-alist): Propertize the string.
2000-09-17 17:00:05 +00:00
Richard M. Stallman
b75c9917df
(view-mode-disable): Kill local binding of view-read-only.
2000-03-19 15:56:40 +00:00
Gerd Moellmann
d1ed8492ac
Some changes in documentation. Removed some trailing
...
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.
2000-01-31 21:34:33 +00:00
Karl Heuer
bf551cf705
(view-mode-disable): If buffer-read-only is nil,
...
don't change it.
1999-08-10 16:40:00 +00:00
Karl Heuer
19b7f6c9f0
(view-mode-enable, view-mode-disable):
...
Call force-mode-line-update.
1999-08-10 16:37:57 +00:00
Andreas Schwab
5d9b78b761
(View-revert-buffer-scroll-page-forward): Bind
...
view-scroll-auto-exit instead of obsolete view-mode-auto-exit.
1999-01-04 11:04:27 +00:00
Karl Heuer
72b5cb89c3
(View-exit-and-edit): Bind view-no-disable-on-exit to nil.
1998-06-03 14:35:38 +00:00
Richard M. Stallman
7f9fcc0f57
(view-mode-exit): Don't alter view-return-to-alist.
...
(view-mode-enter, view-mode-exit): Doc fixes.
1998-04-26 04:09:09 +00:00
Andreas Schwab
695764015c
(view-really-at-end): Return true when at end and not
...
reverting.
1998-04-20 09:37:18 +00:00
Richard M. Stallman
d98558102b
(view-return-to-alist): Doc fix.
...
(view-mode-enter): Doc fix.
(view-mode-exit): Handle new alternative `quit-window'
for OLD-BUF-INFO in RETURN-TO-ALIST.
1998-03-16 04:09:04 +00:00
Karl Heuer
cae551977c
Some changes in comments and documentation.
...
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.
1997-10-16 18:20:16 +00:00
Richard M. Stallman
19d7331338
(view-end-message): Don't mention q if it really do anything.
1997-09-09 07:09:20 +00:00
Richard M. Stallman
1a552841d2
(view-just-bury): New variable.
...
(view-mode-exit): Obey it.
1997-08-08 22:26:02 +00:00
Richard M. Stallman
66d3a2b57f
Changed some documentation.
...
(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.
1997-06-25 07:03:48 +00:00
Kenichi Handa
0093dc5a9a
(view-mode): Add autoload cookie to this variable.
...
(View-exit-and-edit): Add autoload cookie.
1997-06-19 11:19:24 +00:00