summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* (vc-revert-buffer): Handle empty diff properly.André Spiegel2000-10-041-27/+70
| | | | | | | | | | | (vc-version-backup-file): New function. (vc-checkout): Create a version backup if necessary. (vc-checkin): If a version backup file exists, delete it. (vc-version-diff): Diff locally using version backups, if available. (vc-revert-file): If there's a version backup, revert locally. (vc-transfer-file): Use version backup for base version, if available. If not, ask for confirmation whether to get it from the server. Update mode line before check-in.
* (tool-bar-setup): New function.Dave Love2000-10-042-48/+46
| | | | (tool-bar-mode): Use it.
* * net/net-utils.el (nslookup-font-lock-keywords,Peter Breton2000-10-041-106/+131
| | | | | | | ftp-font-lock-keywords, smbclient-font-lock-keywords): Only set if window-system is non-nil (net-utils-run-program): Returns buffer. (network-connection-reconnect): Added this function.
* *** empty log message ***Peter Breton2000-10-041-0/+6
|
* * generic.el:Peter Breton2000-10-042-314/+147
| | | | | | | | | | | | | | | | | | | | Incorporates extensive cleanup and docfixes by Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu). Uses cl compile-time macros. (generic-mode-name, generic-comment-list, generic-keywords-list, generic-font-lock-expressions, generic-mode-function-list, generic-mode-syntax-table): Removed variables. (generic-mode-alist): Renamed to generic-mode-list. (generic-find-file-regexp): Default changed to "^#". (generic-read-type): Uses completing read on generic-mode-list. (generic-mode-sanity-check): removed this function. (generic-add-to-auto-mode): Removed this function (generic-mode-internal): Binds mode-specific definitions into function instead of putting them in alist. (generic-mode-set-comments): Reworked extensively. (generic-mode-find-file-hook): Simplified regexp searching (generic-make-keywords-list): Omit extra pair of parens
* *** empty log message ***Peter Breton2000-10-041-0/+16
|
* (rul-generic-mode): Removed one eval-when-compilePeter Breton2000-10-041-4/+3
| | | | which caused a max-specpdl-size exceeded error.
* * generic-x.el (apache-conf-generic-mode):Peter Breton2000-10-041-36/+72
| | | | | | | | | | Regexp now allows leading whitespace. (rc-generic-mode): Added eval-when-compile around generic-make-keywords-list. Deleted duplicate regexp (rul-generic-mode): Added eval-when-compile around generic-make-keywords-list. (etc-fstab-generic-mode): New generic mode.
* * find-lisp.el (find-lisp-find-files-internal):Peter Breton2000-10-041-27/+29
| | | | Make sure directory name ends with "/".
* Update.Miles Bader2000-10-041-292/+591
|
* (diff-font-lock-keywords): Minor regex fix.Stefan Monnier2000-10-031-12/+11
| | | | (diff-goto-source): Be smarter when choosing REVERSE or not.
* (texinfo-mode-menu): Add an explicit shortcut for update all.Stefan Monnier2000-10-031-1/+2
|
* (texinfo-heading-face): Forgot the var def.Stefan Monnier2000-10-031-0/+1
|
* *** empty log message ***Miles Bader2000-10-031-0/+10
|
* (quoted-printable-encode-region): Don't use mm-find-charset-region.Dave Love2000-10-031-4/+7
|
* (dired-mark-read-file-name): Add optional arg DEFAULT.Miles Bader2000-10-031-3/+7
| | | | | (dired-do-create-files): If there's only one file, pass it in as the DEFAULT arg to dired-mark-read-file-name.
* (minibuffer-temporary-goal-position):Miles Bader2000-10-031-1/+10
| | | | | | New variable. (next-history-element): Try to keep the position of point in the input string constant.
* Don't require mm-util.Dave Love2000-10-032-77/+109
| | | | | | | | | | | (quoted-printable-decode-region): Rewritten. (quoted-printable-decode-string, quoted-printable-encode-region): Doc fix. (quoted-printable-encode-region): Barf on multibyte characters. Maybe make the class multibyte. Upcase chars, not formatted strings. Allow mm-use-ultra-safe-encoding to be unbound. (quoted-printable-encode-string): Don't use mm-with-unibyte-buffer.
* 2000-10-03 Dave Love <fx@gnu.org>Dave Love2000-10-031-5/+10
| | | | | | | | | | | | | | * mail-source.el (mail-sources): Revert to nil. 2000-10-03 ShengHuo ZHU <zsh@cs.rochester.edu> * mail-source.el (mail-source-report-new-mail): Use nnheader-cancel-timer. 2000-10-03 Simon Josefsson <simon@josefsson.org> * mail-source.el (mail-source-imap-file-coding-system): New variable. (mail-source-fetch-imap): Use it.
* (nnmail-spool-file): Revert to `((file))'.Dave Love2000-10-031-1/+1
|
* #André Spiegel2000-10-031-3/+9
|
* (vc-transfer-file, vc-default-receive-file): Rewritten to factorizeAndré Spiegel2000-10-031-48/+44
| | | | | backend-specific code cleanly. (vc-unregister): Function removed.
* (vc-rcs-receive-file): Rewritten to contain only backend-specificAndré Spiegel2000-10-031-31/+7
| | | | code.
* #André Spiegel2000-10-031-0/+12
|
* (vc-rcs-fetch-master-state): Parse and remember default branchAndré Spiegel2000-10-031-40/+48
| | | | | | | | unconditionally. (vc-rcs-set-default-branch): New function. (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it. (vc-rcs-checkin): If an appropriate default branch has been set, force creation of that branch.
* (vc-revert-file): New function.André Spiegel2000-10-031-6/+14
| | | | (vc-revert-buffer): Delegate some of the work to it.
* (yow): Don't display multi-line quotations in a *Help* buffer, since theMiles Bader2000-10-031-10/+2
| | | | | | echo area will now grow to accommodate them. [Note -- I thought I already checked this change, but it seems to have mysteriously disappeared]
* (isearch-lazy-highlight-update): Don't put a lazyGerd Moellmann2000-10-022-13/+27
| | | | | | highlighting overlay with a different face over the overlay isearch uses to highlight the current match because that can lead to bad face combinations.
* (toplevel): Load faces before isearch.Gerd Moellmann2000-10-022-1/+10
|
* (isearch-faces): New custom group.Gerd Moellmann2000-10-021-8/+18
| | | | | | (isearch): New defface; was already tested for in the code. (isearch-lazy-highlight-face): Changed to defface from defcustom. (isearch-highlight): Always use face `isearch'.
* (byte-optimize-lapcode): Don't bindDave Love2000-10-022-3/+9
| | | | | unused vars. Treat byte-constant2 like byte-constant. Fix bogus comparison of opcode with operand.
* *** empty log message ***Miles Bader2000-10-021-0/+5
|
* #André Spiegel2000-10-021-0/+11
|
* (vc-registered): If FILE used to be registered under a certainAndré Spiegel2000-10-021-11/+14
| | | | backend, try that one first.
* (vc-responsible-backend): Undo the previous change in the argumentAndré Spiegel2000-10-021-30/+40
| | | | | | | list. Handle multiple backends correctly. (vc-find-new-backend): Function removed. (vc-register): Use vc-responsible-backend, as before. (vc-next-action-on-file): Do use vc-registered, not vc-backend.
* *** empty log message ***Gerd Moellmann2000-10-021-0/+5
|
* (fancy-splash-head): Change message below theGerd Moellmann2000-10-021-2/+5
| | | | logo.
* (diff-test-hunk): Backout previous change. Fix doc string.Miles Bader2000-10-022-27/+19
| | | | (diff-apply-hunk): Don't return a value.
* (diff-goto-source): Emit a status message.Miles Bader2000-10-022-8/+25
| | | | | | | (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'. (diff-test-hunk): Make the return value agree with the doc string. (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'. (diff-advance-after-apply-hunk): New variable.
* (with-vc-file, vc-next-action-on-file):Stefan Monnier2000-10-012-15/+45
| | | | | | | | | | Use vc-backend rather than vc-registered. (vc-next-action-on-file): Use intern-soft. Deal with read-only *vc-diff* buffer. (vc-switch-backend): Short circuit if nothing is to be done. Handle the case where (not (memq backend backends)). Don't use vc-resynch-buffer which could lose unsaved editing. (vc-transfer-file): Docstring fix.
* * vc.el (vc-editable-p): Minor optimization.Stefan Monnier2000-10-012-52/+80
| | | | | | | | | | | | | | | | | | (edit-vc-file, vc-next-action-on-file): Don't use find-file. (vc-find-new-backend): New function split from vc-responsible-backend. (vc-register): Use it. (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg. (vc-unregister): Drop BACKEND arg (it doesn't work anyway). (vc-default-unregister, vc-revert-buffer): Docstring fix. (vc-clear-headers): Don't use find-file. (vc-revert-buffer): Use `and' again (must have been a braino). (vc-switch-backend): Only prompt if requested. (vc-default-receive-file): Update call to vc-unregister. * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file. (vc-rcs-receive-file): Avoid with-vc-properties. Update call to vc-unregister. Use constant `RCS' rather than (dynamically bound) var `backend'.
* #André Spiegel2000-10-011-0/+24
|
* (vc-next-action-on-file): Update mode line only if file is visited.André Spiegel2000-10-011-40/+68
| | | | | | | | | | | | | | | | | (vc-start-entry): New argument initial-contents. Don't visit the file if it isn't already visited. Brought documentation up-to-date. (vc-next-action, vc-register): Updated calls to vc-start-entry. (vc-checkin): New optional arg initial-contents, which is passed to vc-start-entry. (vc-finish-logentry): Make sure to bury log buffer only if there really is one. Call `vc-resynch-buffer' on log-file, not buffer-file-name. (vc-default-comment-history, vc-default-wash-log): New functions. (vc-index-of): Removed. (vc-transfer-file): Make do without the above. (vc-default-receive-file): Call comment-history unconditionally. Pass the resulting string to vc-checkin, instead of inserting it into the comment ring.
* (vc-rcs-receive-file): Call comment-history unconditionally. Use theAndré Spiegel2000-10-011-8/+7
| | | | | comments as initial contents of the log entry buffer. Document the trick to force branch creation with no changes.
* (easy-mmode-define-navigation):Miles Bader2000-10-012-1/+7
| | | | Call `recenter' with an arg to prevent redrawing the display.
* *** empty log message ***Stefan Monnier2000-10-011-0/+46
|
* (easy-mmode-pretty-mode-name): Prettier.Stefan Monnier2000-10-011-2/+4
|
* (lisp-complete-symbol): Only jump 2 not 3 levels.Stefan Monnier2000-10-011-1/+0
|
* (c-mode): Don't gratuitously override the default for comment-column.Stefan Monnier2000-10-011-2/+0
|
* (latex-metasection-list): New var.Stefan Monnier2000-10-011-60/+253
| | | | | | | | | | | | | | | | | (latex-imenu-create-index): Use it. Move the regexp construction outside loops (and use push). (tex-font-lock-keywords-1, tex-font-lock-keywords-2) (tex-font-lock-keywords): Moved from font-lock.el. (tex-comment-indent): Remove. (tex-common-initialization): Don't set comment-indent-function. (latex-block-default): New var. (tex-latex-block): Use it to provide a default choice. Add any unknown choice to latex-block-names. Insert [...] after {...}. (tex-last-unended-begin): Simplify regexp. (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1) (latex-forward-sexp-1, latex-forward-sexp): New functions. (latex-mode): Set forward-sexp-function.