Stefan Monnier [Fri, 25 Mar 2005 00:17:42 +0000 (00:17 +0000)]
(flymake-get-file-name-mode-and-masks)
(flymake-find-buildfile, flymake-find-possible-master-files)
(flymake-check-include, flymake-parse-line): Replace loops over the
length of lists, by loops over lists, to remove silly O(n�) behavior.
Stefan Monnier [Fri, 25 Mar 2005 00:06:07 +0000 (00:06 +0000)]
(flymake-ensure-ends-with-slash): Remove.
Substitute file-name-as-directory in the rest of the file.
(flymake-get-common-file-prefix): Rewrite, using compare-strings.
(flymake-replace-region): Remove unused arg `buffer'.
(flymake-check-patch-master-file-buffer): Update calls to it.
(flymake-add-err-info): Remove unused var `count'.
(flymake-mode): Use define-minor-mode.
Jan Djärv [Thu, 24 Mar 2005 18:53:43 +0000 (18:53 +0000)]
* xmenu.c (create_and_show_popup_menu): Just remove menu and return
if it failed to pop up (Gnome "show pointer on ctrl" option makes
menus fail to pop up).
Lute Kamstra [Thu, 24 Mar 2005 09:15:21 +0000 (09:15 +0000)]
Rename generic-font-lock-defaults to generic-font-lock-keywords
throughout.
(mailagent-rules-setup-function): Delete it.
(mailagent-rules-generic-mode): Use anonymous function instead.
(show-tabs-generic-mode-font-lock-defaults-1)
(show-tabs-generic-mode-font-lock-defaults-2): Make them constants.
Quote faces.
(show-tabs-tab-face, show-tabs-space-face): Specify background,
not foreground.
Lute Kamstra [Thu, 24 Mar 2005 09:02:55 +0000 (09:02 +0000)]
(generic-font-lock-defaults): Make it obsolete.
(generic-font-lock-keywords): New variable to replace
generic-font-lock-defaults.
(generic-mode-set-font-lock): Delete it.
(generic-mode-internal): Don't call generic-mode-set-font-lock.
(generic-bracket-support): Add docstring.
Kim F. Storm [Wed, 23 Mar 2005 22:47:41 +0000 (22:47 +0000)]
(Standard Faces): Other faces used in the fringe
implicitly inherits from the fringe face.
(Fringe Bitmaps): FACE in right-fringe and left-fringe display
properties implicitly inherits from fringe face.
(Customizing Bitmaps): Likewise for set-fringe-bitmap-face.
Lute Kamstra [Wed, 23 Mar 2005 10:48:20 +0000 (10:48 +0000)]
Code cleanup: make arguments constant whenever possible.
(installshield-statement-keyword-list)
(installshield-system-functions-list)
(installshield-system-variables-list, installshield-types-list)
(installshield-funarg-constants-list): Make them constants.
Lute Kamstra [Wed, 23 Mar 2005 10:09:18 +0000 (10:09 +0000)]
Add comment on time value formats. Don't require parse-time.
(with-decoded-time-value): New macro.
(encode-time-value): New function.
(time-to-seconds, time-less-p, time-subtract, time-add): Use them.
(days-to-time): Return a valid time value when arg is huge.
(time-since): Use time-subtract.
(time-to-number-of-days): Use time-to-seconds.
Stefan Monnier [Tue, 22 Mar 2005 18:48:38 +0000 (18:48 +0000)]
(gnus-display-time-event-handler):
Check display-time-timer at runtime rather than only at load time
in case display-time-mode is turned off in the mean time.
Jay Belanger [Tue, 22 Mar 2005 16:12:57 +0000 (16:12 +0000)]
(calc-embedded-original-modes): New variable.
(calc-embedded-save-original-modes)
(calc-embedded-restore-original-modes): New functions.
(calc-do-embedded): Save original modes when entering embedded mode
and restore when leaving embedded mode.
(calc-embedded-modes-change): Change the value of
calc-embedded-original-modes to reflect permanent changes.
David Kastrup [Tue, 22 Mar 2005 16:04:02 +0000 (16:04 +0000)]
(Fnext_char_property_change)
(Fprevious_char_property_change): allow marker as limit.
(Fnext_single_char_property_change)
(Fprevious_single_char_property_change): Check that limit is a
number in strings.
(Fnext_single_char_property_change): Coerce position to integer.
(Fprevious_single_char_property_change): Same here.
* lisp/progmodes/gdb-ui.el (breakpoint-enabled, breakpoint-disabled):
Tweak details to look good on both ttys and bitmap displays, light
or dark background, etc.
* lisp/progmodes/gdb-ui.el (breakpoint-enabled, breakpoint-disabled):
Tweak details to look good on both ttys and bitmap displays, light
or dark background, etc.
Stefan Monnier [Mon, 21 Mar 2005 19:19:26 +0000 (19:19 +0000)]
Don't forcibly turn on the mode upon load.
(icomplete-mode): Use define-minor-mode.
(icomplete-eoinput): Default to nil.
(icomplete-minibuffer-setup): Remove autoload.
(icomplete-tidy): Simplify.
(icomplete-exhibit): Use buffer-undo-list to determine if we're still
in the initial state or if the user has modified the field.
Fix handling of icomplete-max-delay-chars.
Remove code that handles the oddball case where
minibuffer-completion-table is an integer.
Wrap icomplete-completions in while-no-input in case building
completions takes more time than expected.
(icomplete-completions): Simplify.
(Visiting): Document large-file-warning-threshold.
Move paragraph on file-selection dialog.
Mention visiting files using X drag and drop.
(Reverting): Mention using Auto-Revert mode to tail files.
Document auto-revert-tail-mode.
(Version Systems): Minor correction.
(Comparing Files): Diff-mode is no longer based on Compilation mode.
Document compare-ignore-whitespace.
(Misc File Ops): Explain passing a directory to rename-file.
Likewise for copy-file and make-symbolic-link.