1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-24 21:41:48 -08:00
Commit graph

43898 commits

Author SHA1 Message Date
Stefan Monnier
ddbb3cc75d (set-register): Use push.
(point-to-register): Set kill-buffer-hook in this buffer.
(register-swap-out): Use dolist.
(kill-buffer-hook): Don't change globally.
2002-09-27 17:47:38 +00:00
Stefan Monnier
44a56b29e7 (server-select-display): New function.
(server-process-filter): Add support for `-display' and `-eval' args.
(server-visit-files): Use save-current-buffer, push, and dolist.
Add server-kill-buffer to kill-buffer-hook.
(kill-buffer-hook): Don't modify globally.
(server-switch-buffer): Be a bit more careful with multiple displays.
2002-09-27 17:43:29 +00:00
Stefan Monnier
124e448b98 (uniquify-rationalize-file-buffer-names):
Add to kill-buffer-hook for buffers with conflict.
(rename-buffer): Check kill-buffer-hook to see if there was a conflict.
(uniquify-delay-rationalize-file-buffer-names): Remove useless check.
(kill-buffer-hook): Don't change globally.
2002-09-27 17:37:47 +00:00
Richard M. Stallman
184c3d811a (STOP_POLLING, RESUME_POLLING): New macros.
(read_char): Use them.  Do all exits thru the end of the function.
2002-09-27 17:03:46 +00:00
Colin Walters
730576f3ec (calc-bug-address, calc-scan-for-dels, calc-stack)
(calc-stack-top, calc-always-load-extensions)
(calc-line-numbering, calc-line-breaking, calc-display-just)
(calc-display-origin, calc-number-radix, calc-leading-zeros)
(calc-group-digits, calc-group-char, calc-point-char)
(calc-frac-format, calc-prefer-frac, calc-hms-format)
(calc-date-format, calc-float-format, calc-complex-format)
(calc-full-float-format, calc-complex-mode, calc-infinite-mode)
(calc-display-strings, calc-matrix-just, calc-break-vectors)
(calc-full-vectors, calc-full-trail-vectors, calc-vector-commas)
(calc-vector-brackets, calc-matrix-brackets, calc-language)
(calc-language-option, calc-function-open, calc-function-open)
(calc-function-close, calc-language-output-filter)
(calc-language-input-filter, calc-radix-formatter)
(calc-left-label, calc-right-label, calc-word-size)
(calc-previous-modulo, calc-simplify-mode, calc-auto-recompute)
(calc-display-raw, calc-internal-prec, calc-inverse-flag)
(calc-hyperbolic-flag, calc-keep-args-flag, calc-angle-mode)
(calc-algebraic-mode, calc-incomplete-algebraic-mode)
(calc-symbolic-mode, calc-matrix-mode, calc-shift-prefix)
(calc-window-height, calc-display-trail, calc-show-selections)
(calc-use-selections, calc-assoc-selections)
(calc-display-working-message, calc-auto-why, calc-timing)
(calc-display-sci-high, calc-display-sci-low, calc-other-modes)
(calc-other-modes, calc-Y-help-msgs, calc-loaded-settings-file):
Make into real defvars.
(calc-mode-var-list): Delete.
(calc-mode-save-mode, calc-standard-date-formats)
(calc-autorange-units, calc-was-keypad-mode, calc-full-mode)
(calc-user-parse-tables, calc-gnuplot-default-device)
(calc-gnuplot-default-output, calc-gnuplot-print-device)
(calc-gnuplot-print-output, calc-gnuplot-geometry)
(calc-graph-default-resolution, calc-graph-default-resolution-3d)
(calc-invocation-macro, calc-show-banner): Make into defvars,
taken from `calc-mode-var-list'.
(calc-emacs-type-epoch, calc-emacs-type-19)
(calc-emacs-type-lucid, calc-emacs-type-gnu19): Make into defvars.
(calc-version, calc-version-date, calc-trail-pointer)
(calc-trail-overlay, calc-undo-list, calc-redo-list)
(calc-main-buffer, calc-trail-buffer, calc-why, calc-next-why)
(calc-inverse-flag, calc-hyperbolic-flag, calc-keep-args-flag)
(calc-last-kill, calc-previous-alg-entry, calc-dollar-values)
(calc-dollar-used, calc-hashes-used, calc-quick-prev-results)
(calc-said-hello, calc-executing-macro, calc-any-selections)
(calc-help-phase, calc-full-help-flag, calc-refresh-count)
(calc-display-dirty, calc-prepared-composition)
(calc-selection-cache-default-entry, calc-embedded-info)
(calc-embedded-active, calc-standalone-flag, var-EvalRules)
(math-eval-rules-cache-tag, math-radix-explicit-format)
(math-expr-function-mapping, math-expr-variable-mapping)
(math-read-expr-quotes, math-working-step, math-working-step-2)
(var-i, var-pi, var-e, var-phi, var-gamma, var-Modes): Make into
defvars, from toplevel setq.
(calc-mode-map): Set up keymap in more modern fashion.
(calc-dispatch-map): Ditto.
(calc-command-flags, calc-final-point-line)
(calc-final-point-column): Defvar.
(calc-do): Use `save-current-buffer' instead of `save-excursion'.
(sel-mode): Defvar.
(calc-any-evaltos): Ditto.
(calc-buffer, calc-prev-char, calc-prev-prev-char)
(calc-digit-value): Ditto.
(math-eval-rules-cache, math-eval-rules-cache-other): Ditto.
(math-sub-bignum): Bind `diff'.
(calc-selection-cache-entry): Defvar.
(calc-count-lines): Reference `pos' instead of `newpos'.
2002-09-27 04:55:22 +00:00
Kenichi Handa
e21880c693 (try_font_list): Pay attention to the case that FAMILY is nil. 2002-09-27 00:47:25 +00:00
Simon Josefsson
05f829ce2a (mail-hist-next-input): Fix docstring. 2002-09-26 23:19:58 +00:00
Richard M. Stallman
563c037fcc *** empty log message *** 2002-09-26 22:06:00 +00:00
Richard M. Stallman
770136ad90 Whitespace changes. 2002-09-26 22:05:50 +00:00
Richard M. Stallman
27847466a3 (__restrict_arr): Don't define if already defined. 2002-09-26 22:04:14 +00:00
Richard M. Stallman
cf3b32fcfb (run_pre_post_conversion_on_str): Save and restore Vdeactivate_mark. 2002-09-26 22:03:41 +00:00
Richard M. Stallman
5eba27ea0d (unrmail): Do the work directly,
without actually selecting the messages in the from file.
(unrmail-unprune): New subroutine.
2002-09-26 22:02:23 +00:00
Richard M. Stallman
446c63b0a2 (backup-buffer): Bind local var MODES.
Don't use renaming for a suid or sgid file.
Use backup-buffer-copy to do copying.
(backup-buffer-copy): New subroutine.
Clear suid and sgid bits for the copy.
2002-09-26 22:00:22 +00:00
Richard M. Stallman
9475e724a2 (solar-equinoxes-solstices): Use time properly adjusted for DST in the result. 2002-09-26 21:57:53 +00:00
Richard M. Stallman
bbf04be416 (follow-generic-filter): Simply bind deactivate-mark.
Bind inhibit-read-only; don't mess with buffer-read-only.
2002-09-26 21:57:17 +00:00
Richard M. Stallman
fe80eaef30 (speedbar-refresh): Simply bind deactivate-mark. 2002-09-26 21:57:00 +00:00
Richard M. Stallman
5c584c3511 (inferior-emacs-lisp-mode): Treat the header as output,
if comint-use-prompt-regexp-instead-of-fields is nil.
2002-09-26 21:56:42 +00:00
Stefan Monnier
a28b5ba33a *** empty log message *** 2002-09-26 20:37:46 +00:00
John Paul Wallington
8e7dbfdb27 (ibuffer-update): Call `minibufferp' with argument
instead of within `with-current-buffer'.
2002-09-26 17:54:00 +00:00
Stephen Eglen
4e141ed744 (iswitchb-completions): Test that iswitchb-common-match-string is a
string, before printing common completions.
2002-09-26 15:52:31 +00:00
John Paul Wallington
3bcd2096bb Mention minibufferp's optional buffer arg. 2002-09-26 10:17:02 +00:00
John Paul Wallington
6d1b1d7b83 (Fminibufferp): Add an optional `buffer' argument. 2002-09-26 09:59:44 +00:00
Kenichi Handa
54580ab203 (try_font_list): New arg PREFER_FACE_FAMILY. If it is
nonzero, try face's family at first.  Otherwise try FAMILY at
first.
(choose_face_font): If C is a single byte char or latin-1, call
try_font_list with PREFER_FACE_FAMILY 1.
2002-09-26 08:04:18 +00:00
Simon Josefsson
fc88015c7e *** empty log message *** 2002-09-25 20:23:19 +00:00
Stefan Monnier
4208da83ba *** empty log message *** 2002-09-25 20:22:57 +00:00
Simon Josefsson
2a487c6cdf (mail-extr-ignore-single-names): Change default.
(mail-extract-address-components): Doc fix.
2002-09-25 20:21:28 +00:00
Stefan Monnier
038de5b823 Remove emacsserver. 2002-09-25 20:17:32 +00:00
Stefan Monnier
ca5004e7b4 Remove references to emacsserver. 2002-09-25 20:03:21 +00:00
Stefan Monnier
0c851d7872 Use built-in network primitives.
(server-program, server-previous-string): Remove.
(server-previous-strings): New var.
(server-socket-name): New var.
(server-log): Minor change to the output format.
(server-sentinel): Clean up global state when a client disconnects.
(server-unquote-arg): New fun.
(server-start): Use server-socket-name and make-network-process.
(server-process-filter): Now talks to the clients directly.
Normalize file name after unquoting and decoding.
(server-buffer-done): Just close the connection.
(server-switch-buffer): Handle the case where all windows are
dedicated or minibuffers.
2002-09-25 19:54:13 +00:00
Stefan Monnier
7f0d55f29e (fast-lock-mode, lazy-lock-mode, jit-lock-mode): Don't bind them variables.
(font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer)
(font-lock-after-unfontify-buffer): Check that the vars are bound.
(font-lock-dont-widen): New var.
(font-lock-default-fontify-region): Use it.
2002-09-25 19:34:07 +00:00
Stefan Monnier
1a40d81d1a (find-library-name): Correctly find "f.el.gz" from "f.elc" or "f.elc.gz". 2002-09-25 18:58:37 +00:00
Stefan Monnier
f2d2436d43 Add/remove spaces. 2002-09-25 17:45:29 +00:00
Kenichi Handa
67dd9f0962 *** empty log message *** 2002-09-25 13:25:33 +00:00
Kenichi Handa
c0d3ed9724 (select-safe-coding-system): Handle
safe but rejected default coding systems and unsafe default
coding systems differently.
2002-09-25 13:19:59 +00:00
Francesco Potortì
76320e8edc Oliver Scholz's patch to gamegrid.el (he does not have CVS access). 2002-09-25 10:59:22 +00:00
Kenichi Handa
6440b97cde (list-character-sets): List also indirectly supported character sets.
(non-iso-charset-alist): Add mapped charset list for `mac-roman'.
(sort-listed-character-sets): Don't alter the region showing
indirectly supported charsets.
2002-09-25 08:52:30 +00:00
Kenichi Handa
98744d8e52 *** empty log message *** 2002-09-25 08:51:36 +00:00
Kenichi Handa
3aab6d061d (list-character-sets): Use the buffer
name "*Character Set List*", not "*Help*".
(list-charset-chars): Use the buffer name "*Character List*", not
"*Help*".  Display the current charset name in the modeline.
2002-09-25 08:11:03 +00:00
Kenichi Handa
65262e58c2 *** empty log message *** 2002-09-25 08:10:28 +00:00
Stefan Monnier
ca9088e71e (describe-text-category): Use *Help*. Don't kill-buffer.
(describe-text-properties, describe-char):
Delay self-inspection test.  Use *Help*.
Use syntax-after.  Use `pos' rather than (point).
Distinguish the before/after part of a composition.
2002-09-24 21:11:25 +00:00
Markus Rost
9f4b608417 (edit-and-eval-command): Protect command-history.
(repeat-complex-command):  Protect command-history.
2002-09-24 18:40:59 +00:00
Juanma Barranquero
2f55281338 (eshell-occur-mode-mouse-goto, eshell-poor-mans-grep): Remove references to
`occur-buffer'.
2002-09-24 15:16:39 +00:00
Juanma Barranquero
348e141150 (sh-mark-init): Don't set `occur-buffer'.
(sh-mark-line): Likewise. Use 'occur-target and 'occur-match instead of 'occur
and 'occur-point.
2002-09-24 10:18:05 +00:00
Juanma Barranquero
123d55481b (occur-find-match): New function.
(occur-next, occur-prev): Use it.
2002-09-24 08:35:43 +00:00
Kenichi Handa
d5ec6a2da4 (quail-completion): Be sure to scroll quail-completion-buf. 2002-09-24 04:15:02 +00:00
Stefan Monnier
ddd73e0b23 *** empty log message *** 2002-09-23 20:54:28 +00:00
Richard M. Stallman
daa6ddb5d6 (doctor-doc): Add 2 question words.
(doctor-getnoun): Parse and save the complete object phrase.
2002-09-23 16:04:57 +00:00
Richard M. Stallman
0f7df8ac6a (gamegrid-face): new variable to emulate a buffer-local default face.
(gamegrid-xbm): new variable; XBM image as a replacement for
`gamegrid-xpm' on Emacsen compiled without XPM-support.
(gamegrid-colorize-glyph): Ported XEmacs-code for the generation
of images to Emacs.
(gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to
convert XEmacs-type image descriptors.
(gamegrid-color-display-p): Removed. (Use `display-colors-p' instead.)
(gamegrid-make-image-from-vector): New function. Convert XEmacs'
image descriptors.
(gamegrid-display-type): Use Emacs' standard `display-.*-p'
functions to check for display capabilities. Fix the recognition
of image-support in Emacs 21 by this way.
(gamegrid-hide-cursor): Removed.
(gamegrid-setup-default-font): Ported the code from XEmacs to
Emacs: create a new face and assign the variable `gamegrid-face'
to it. Make sure that the face is not higher than the smallest
image used by the game.
(gamegrid-initialize-display): Use `(setq cursor-type nil)'
instead of `gamegrid-hide-cursor'.
(gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an
image in the buffer, instead of applying a face.
(gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
the face held by `gamegrid-face' in an overlay over the whole
buffer to emulate a buffer-local default-face.
2002-09-23 16:03:03 +00:00
Richard M. Stallman
1322516bc1 (*1): Fix previous change. 2002-09-23 16:02:14 +00:00
Juanma Barranquero
94deafdaf5 (tramp-unified-filenames): Autoload it. 2002-09-23 08:28:56 +00:00