Steven Tamm [Tue, 30 Nov 2004 05:57:27 +0000 (05:57 +0000)]
* keyboard.c: Don't undef SIGIO
* s/darwin.h (NO_SOCK_SIGIO): Define NO_SOCK_SIGIO on carbon
* Makefile.in (mac.o): Depend on blockinput.h and atimer.h.
(macfns.o): Don't depend on ccl.h.
* macfns.c (mac_frame_parm_handlers): Set handlers for
Qleft_fringe and Qright_fringe.
* macterm.c (mac_fill_rectangle_to_pixmap)
(mac_draw_rectangle_to_pixmap, mac_copy_area_to_pixmap)
(mac_copy_area_with_mask_to_pixmap, x_draw_image_foreground_1):
Put in #if 0.
(mac_scroll_area) [TARGET_API_MAC_CARBON]: Use ScrollWindowRect.
(x_flush) [TARGET_API_MAC_CARBON]: Don't traverse frames.
(XFlush) [TARGET_API_MAC_CARBON]: Define to an empty replacement.
(x_draw_glyph_string_background, x_draw_glyph_string_foreground)
[!MAC_OS8]: Added ifdef'd out code for os8. Don't use
XDrawImageString. Always draw background and foreground separately.
(x_draw_image_foreground): Use clipping instead of computing the
intersection rectangle.
(x_draw_image_glyph_string): Don't draw an image with mask to a
pixmap.
(x_redisplay_interface): Set flush_display_optional member to 0.
(XTread_socket): Correctly reset the TEConverter
object.
Teodor Zlatanov [Mon, 29 Nov 2004 18:44:29 +0000 (18:44 +0000)]
simple.el (next-error-buffer-p): allow for inclusive and
exclusive tests for finding a buffer
(next-error-find-buffer): pass the exclusive and inclusive tests
to next-error-buffer-p
replace.el (occur-next-error): switch to the Occur buffer when
appropriate, and use the exclusive filter to
next-error-find-buffer to do it. Use the absolute value of the
motion amount.
Reiner Steib [Mon, 29 Nov 2004 15:58:15 +0000 (15:58 +0000)]
* custom.texi (File Variables): Add `unibyte' and make it more
clear that `unibyte' and `coding' are special. Suggested by Simon
Krahnke <overlord@gmx.li>.
* mule.texi (Enabling Multibyte): Refer to File Variables.
Suggested by Simon Krahnke <overlord@gmx.li>.
Jay Belanger [Mon, 29 Nov 2004 05:54:53 +0000 (05:54 +0000)]
Move require to end of file.
Remove redundant loading of calc.
(calc-extensions-loaded): Remove unnecessary variable.
(calc-extensions): Remove unnecessary function.
(calc-load-everything): Replace calc-need-macros by appropriate require.
Juri Linkov [Sun, 28 Nov 2004 15:42:11 +0000 (15:42 +0000)]
(Info-search-whitespace-regexp): Remove shy group.
(Info-search): Forward line if search is on the header line.
Use search-whitespace-regexp in two other places.
Juri Linkov [Sun, 28 Nov 2004 07:57:10 +0000 (07:57 +0000)]
(edebug-set-global-break-condition):
Use `read-expression-history'. Set initial contents only if
`edebug-global-break-condition' is non-nil. Set histpos to 1
if initial contents is equal to the last history element.
(edebug-set-conditional-breakpoint): Instead of temporarily
prepending the current condition to the history, set initial
contents to the current condition. Set histpos to 1 if initial
contents is equal to the last history element.
Juri Linkov [Sun, 28 Nov 2004 07:56:01 +0000 (07:56 +0000)]
(compare-windows-highlight): Attach each overlay
to its window to properly highlight differences while comparing
two windows of the same buffer. Fix arguments.
(compare-windows-sync-default-function): Fix arguments of
`compare-windows-highlight'.
Luc Teirlinck [Sun, 28 Nov 2004 02:31:53 +0000 (02:31 +0000)]
(fringe-indicators): Add fake defvar to avoid compiler warning. Delay
real definition, which uses `set-fringe-indicators-1' till after the
definition of that function.
Eli Zaretskii [Sat, 27 Nov 2004 17:13:48 +0000 (17:13 +0000)]
(sc-cite-region): Handle the case where sc-cite-frame-alist is a symbol.
(sc-uncite-region): Handle the case where sc-uncite-frame-alist is a symbol.
(sc-recite-region): Handle the case where sc-recite-frame-alist is a symbol.
Jay Belanger [Sat, 27 Nov 2004 04:07:22 +0000 (04:07 +0000)]
(calc-eval-error): Declare and initialize the variable.
(calc-eval-error): Don't check if the variable calc-eval-error is
bound.
(calc-buffer, calc-digit-value, math-expr-data): Declare them.
(math-alg-inequalities): Move declaration to earlier in the file.
Stefan Monnier [Sat, 27 Nov 2004 00:17:22 +0000 (00:17 +0000)]
(font-lock-compile-keywords): Don't complain if the end
of defun-prompt-regexp matches inside a comment/string but the
beginning is correctly outside everything.
Kim F. Storm [Fri, 26 Nov 2004 23:56:39 +0000 (23:56 +0000)]
Use (featurep 'xemacs).
(flymake-makehash): Change to defsubst. Use fboundp.
(flymake-time-to-float): Remove.
(flymake-float-time): Merge code from flymake-time-to-float here.
(flymake-replace-regexp-in-string): Change to defsubst.
(flymake-split-string-remove-empty-edges): Rename to flymake-split-string.
(flymake-split-string): Remove previous defalias.
(flymake-get-temp-dir): Change to defsubst.
(flymake-make-xemacs-menu, flymake-xemacs-window-edges): Define
for xemacs only.
(flymake-master-file-count-limit): Change into compiler defvar only.
(flymake-find-possible-master-files): Let-bind it dynamically while
sorting files using flymake-master-file-compare.
Stefan Monnier [Fri, 26 Nov 2004 23:24:44 +0000 (23:24 +0000)]
(bibtex-sort-entry-class)
(bibtex-comment-start): Use defcustom.
(bibtex-entry-field-alist): Use nil if initial content of the
field is undefined. Fix docstring.
(bibtex-parse-keys-timeout, bibtex-autokey-additional-names)
(bibtex-generate-autokey, bibtex-parse-buffers-stealthily)
(bibtex-mode, bibtex-field-list, bibtex-entry-updat)
(bibtex-autofill-entry, bibtex-entry-index, bibtex-next-field):
Fix docstring.
(bibtex-autokey-title-terminators): Use only one regexp.
(bibtex-string-maybe-empty-head): New variable.
(bibtex-remove-delimiters-string): New function.
(bibtex-text-in-field-bounds, bibtex-text-in-string):
Use bibtex-remove-delimiters-string.
(bibtex-progress-message, bibtex-field-left-delimiter)
(bibtex-field-right-delimiter, bibtex-entry-left-delimiter)
(bibtex-entry-right-delimiter, bibtex-search-entry): Use eq.
(bibtex-insert-kill): Rename from `bibtex-insert-current-kill'.
Simplify.
(bibtex-format-entry): Use save-excursion for inherited booktitle.
Use eq and bibtex-remove-delimiters-string. For end markers use
insertion type so that marker stays after inserted text.
(bibtex-autokey-get-names): Return empty string if name is missing.
(bibtex-autokey-demangle-name): Call bibtex-autokey-abbrev before
calling bibtex-autokey-name-case-convert.
(bibtex-autokey-demangle-title):
Call bibtex-autokey-titleword-case-convert. Remove call to
bibtex-autokey-titleword-case-convert from bibtex-autokey-get-title.
(bibtex-global-key-alist, bibtex-read-string-key): New functions.
(bibtex-read-key): New optional arg global.
(bibtex-files-expand): New optional arg force.
(bibtex-complete-string-cleanup): Expansion of abbrev can be absent.
(bibtex-complete-crossref-cleanup): Rename from
bibtex-complete-key-cleanup. Simplify code.
(bibtex-copy-summary-as-kill): Remove arg key. Operate on current entry.
Use looking-at.
(bibtex-button): Add docstring.
(bibtex-entry): Simplify.
(bibtex-make-field): Replace optional arg called-by-yank with more
specific args move and interactive.
(bibtex-end-of-entry): Use forward-sexp.
(bibtex-find-entry-globally): Remove.
(bibtex-find-crossref): Allow for crossref key located in other buffer.
Bound to C-c C-x.
(bibtex-find-entry): New optional args global and display.
(bibtex-find-text): Fix docstring. Remove arg as-if-interactive.
(bibtex-validate): Use arg force of bibtex-files-expand.
(bibtex-clean-entry): Bugfix, clean string entries properly.
Always keep point at beginning of entry.
(bibtex-complete): Bugfix. Handle string entries properly.
Call cleanup functions only if needed.
(bibtex-String): Use bibtex-read-string-key.
(bibtex-url): Use bibtex-remove-delimiters-string. Do not alter
case of replacement text.
Jay Belanger [Fri, 26 Nov 2004 22:37:54 +0000 (22:37 +0000)]
(Info-history): Declare it.
(calc-describe-key): Make calc-summary-indentation a local variable.
(calc-help-long-names): Move declaration to earlier in file.
Jay Belanger [Fri, 26 Nov 2004 22:36:49 +0000 (22:36 +0000)]
(math-ms-temp, math-ms-args): New variables.
(math-multi-subst, math-multi-subst-rec): Replace variables temp and
arg by declared variables.
(calcFunc-reducer): Fixed incorrect variable.
(math-inner-mul-func, math-inner-add-func): New variables.
(calcFunc-inner, math-inner-mats): Replace variables mul-func
and add-func by declared variables.
Jay Belanger [Fri, 26 Nov 2004 22:33:49 +0000 (22:33 +0000)]
(math-grade-vec): New variable.
(calcFunc-grade, calcFunc-rgrade, math-grade-beforep): Replace
variable grade-vec by declared variable.
(math-rb-close): New variable.
(math-read-brackets, math-read-vector): Replace variable close by
declared variable.
Lars Hansen [Fri, 26 Nov 2004 21:39:27 +0000 (21:39 +0000)]
(tramp-handle-directory-files-and-attributes): New function.
(tramp-perl-directory-files-and-attributes): New constant.
(tramp-file-name-handler-alist): Delete file-directory-files, add directory-files-and-attributes.
(tramp-perl-file-attributes): Surround uid and gid by double quotes.
Change parameter id-format from nonnumeric.
(tramp-convert-file-attributes): New function.
(tramp-handle-file-attributes): Use it.
(tramp-maybe-send-perl-script): New function.
(tramp-handle-file-attributes-with-perl): Use it. Don't convert file mode.
Change parameter id-format from nonnumeric.
(tramp-handle-file-attributes-with-ls): Change parameter id-format from nonnumeric.
(tramp-post-connection): Don't send tramp-perl-file-attributes script.
Reset connection property "perl-scripts".
(tramp-handle-insert-directory): Run real handler when ls-lisp is in use.
Kim F. Storm [Fri, 26 Nov 2004 14:38:55 +0000 (14:38 +0000)]
Undo recent changes for restoring it->saved_face_id. Instead,
set it when it->method is set to next_element_from_display_vector.
(setup_for_ellipsis): Add LEN argument. Callers changed.
Set it->saved_face_id.
(get_next_display_element): Use loop instead of recursion.
Set it->saved_face_id. Combine duplicate code for ctr chars.
(next_element_from_display_vector): Do not set it->saved_face_id.
(next_element_from_ellipsis): Use setup_for_ellipsis.