1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

60668 Commits

Author SHA1 Message Date
Luc Teirlinck
7cb1a55105 *** empty log message *** 2005-11-14 23:16:26 +00:00
Luc Teirlinck
156680e2df (define-derived-mode): Remove defvar for mode hook. (It conflicted
with defcustoms for some mode hooks.)  Use the `variable-documentation'
property to give the mode hook a docstring and expand that docstring.
2005-11-14 23:05:53 +00:00
Stefan Monnier
2d10b62be6 (savehist-mode): Don't bother with `custom-set-minor-mode.
(savehist-coding-system): Check XEmacs version.
(history-length): Declare also at run time.
(savehist-mode): Don't emit a message.  Don't run the minor mode hook.
Don't set the customize state.
(savehist-minibuffer-hook): Special case for when
minibuffer-history-variable is equal to t.
2005-11-14 22:30:35 +00:00
Stefan Monnier
8e5c7b90ee (write-file): Refresh VC status. 2005-11-14 22:19:28 +00:00
Stefan Monnier
2f0e484649 (diary-list-entries, diary-show-all-entries)
(mark-diary-entries, make-diary-entry): Check default-major-mode rather
than fundamental-mode to see if the mode was set.
2005-11-14 22:14:23 +00:00
Romain Francoise
670d3fce9d If `vm-visit-folder' doesn't exist, define it as a dummy function in
`eval-when-compile' to avoid compiler warning.
Require `man' at compile time.
2005-11-14 21:04:26 +00:00
Jay Belanger
d0158f7354 (calcFunc-ldiv): Check to see if the first argument is a scalar. 2005-11-14 20:21:40 +00:00
Jay Belanger
431bbd673e (calc-left-divide): New function. 2005-11-14 20:13:46 +00:00
Jay Belanger
3b2fad43c8 Change calcFunc-writeoutpower and calc-writeoutpower to
calcFunc-powerexpand and calc-powerexpand in autoloads.
Add calcFunc-ldiv to autoloads.
2005-11-14 20:13:25 +00:00
Jay Belanger
c431c73028 (calcFunc-write-out-power): Rename calcFunc-powerexpand.
(math-write-out-power): Rename math-powerexpand, have it handle
negative exponents.
(calc-writeoutpower): Rename calc-powerexpand.
2005-11-14 20:12:56 +00:00
Jay Belanger
d883348df8 (calcFunc-ldiv): New function. 2005-11-14 20:12:35 +00:00
Juri Linkov
882108c7b3 (custom-make-dependencies): Reverse the list of found dependencies. 2005-11-14 18:28:49 +00:00
Juri Linkov
e46e522524 (custom-variable-prompt): Set the default value arg of completing-read. 2005-11-14 18:28:12 +00:00
Dan Nicolaescu
dea2460818 (menu-bar-options-menu): Delete "Syntax
Highlighting" entry, it is on by default now.
(menu-bar-options-save): Do not save global-font-lock-mode.
2005-11-14 16:20:34 +00:00
Dan Nicolaescu
cadb1c906a (menu-bar-options-menu): Delete "Syntax
Highlighting" entry, it is on by default now.
2005-11-14 08:03:59 +00:00
Richard M. Stallman
b8b7c66e1c (flyspell-large-region): Call flyspell-accept-buffer-local-defs.
(flyspell-notify-misspell): Fix misspelling of "Misspelling".
(flyspell-process-localwords): New function.
(flyspell-large-region): Call flyspell-process-localwords and
flyspell-delete-region-overlays.
(flyspell-delete-region-overlays): New function.
(flyspell-delete-all-overlays): Call that.
2005-11-14 04:53:14 +00:00
Richard M. Stallman
7e1b6c2c59 (help-for-help-internal): Improve doc of C-h a. 2005-11-14 04:47:05 +00:00
Stefan Monnier
1508b91a6c (vc-svn-registered): Catch all errors. 2005-11-14 04:33:03 +00:00
Stefan Monnier
1c32c9d6dc (custom-make-dependencies): Typo. 2005-11-14 04:18:53 +00:00
Michael Albinus
75b19c394d * net/tramp-util.el (top): Fix compilation warning. 2005-11-13 22:12:59 +00:00
Kim F. Storm
ccf849afd3 (help-for-help-internal): Fix a' entry. Add d' entry. 2005-11-13 21:25:13 +00:00
Kim F. Storm
8965e9c1b3 *** empty log message *** 2005-11-13 21:25:02 +00:00
Richard M. Stallman
09d04fb3d6 *** empty log message *** 2005-11-13 17:01:38 +00:00
Nick Roberts
6d41699de0 (gud-menu-map): Move parentheses (again).
(gud-speedbar-buttons): Match on "const char *" too.
2005-11-13 09:03:36 +00:00
Nick Roberts
9e772f982c (gdb-var-create-handler, gdb-var-list-children-handler):
Match on "const char *" too.
(gdb-var-evaluate-expression-handler): Match on empty string.
(gdb-var-update-handler): Only call
gdb-var-evaluate-expression-handler when required.
2005-11-13 09:02:23 +00:00
Nick Roberts
9ecc27d05e *** empty log message *** 2005-11-13 09:00:56 +00:00
YAMAMOTO Mitsuharu
29b585dbc6 (LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'. 2005-11-13 05:48:59 +00:00
YAMAMOTO Mitsuharu
16805b2eef [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): New function.
(x_draw_glyph_string_foreground) [USE_CG_TEXT_DRAWING]: Use it.
(XLoadQueryFont) [USE_CG_TEXT_DRAWING]: Set members cg_font and
cg_glyphs in struct MacFontStruct if synthesized bold or italic is
not used and font substitution never occurs for ASCII and Latin-1
characters.
(XLoadQueryFont): Maximum and minimum metrics are now those among
ASCII characters.
(XLoadQueryFont) [!MAC_OS8 || USE_ATSUI]: Apply WebKit-style
height adjustments for Courier, Helvetica, and Times.
2005-11-13 05:46:52 +00:00
YAMAMOTO Mitsuharu
26d2699b22 (USE_CG_TEXT_DRAWING): New define.
(struct MacFontStruct) [USE_CG_TEXT_DRAWING]: New members cg_font
and cg_glyphs.
2005-11-13 05:46:17 +00:00
Nick Roberts
007af086d0 (gud-menu-map): Revert to window-fringes for
selected window.  This still doesn't work for speedbar.
(gud-speedbar-buttons): Handle string expressions properly.
2005-11-12 21:26:55 +00:00
Nick Roberts
47b3cf39b4 (gdb-var-create-handler)
(gdb-var-evaluate-expression-handler): Handle strings properly.
(gdb-var-list-children-regexp, gdb-var-list-children-handler):
Handle strings properly.  Move "type" field into regexp.
2005-11-12 21:21:51 +00:00
Nick Roberts
e79b7435ac *** empty log message *** 2005-11-12 21:17:12 +00:00
Karl Fogel
9a9f1fddff * bookmark.el (bookmark-maybe-message): New function to reduce code
duplication: invokes `message' iff baud-rate is high enough.
  (bookmark-write-file): Use above instead of an inline conditional.
  (bookmark-load): Same.
2005-11-12 20:46:10 +00:00
Karl Fogel
a506054af7 (bookmark-write-file): Don't visit the destination file, just write
the data to it using write-region.  This is similar to 2005-05-29T08:36:26Z!rms@gnu.org
of saveplace.el, but with an additional change to avoid visiting the
file in the first place.
2005-11-12 20:30:22 +00:00
Chong Yidong
71dd9295e3 * hi-lock.el (hi-lock-mode): Set the default value of
font-lock-defaults.
2005-11-12 17:17:52 +00:00
Chong Yidong
b5cf3adf5c Checked macos.texi 2005-11-12 14:45:08 +00:00
Romain Francoise
77f996e594 *** empty log message *** 2005-11-12 14:19:34 +00:00
Richard M. Stallman
ee8fdb13a2 *** empty log message *** 2005-11-12 05:42:54 +00:00
Luc Teirlinck
dcd6fc3809 (find-lisp-find-dired-insert-file): Pass 'string arg to `file-attributes'.
(find-lisp-format): The UID and GID can now be strings.
2005-11-12 02:44:51 +00:00
Luc Teirlinck
81d7d0d631 *** empty log message *** 2005-11-12 02:42:59 +00:00
Kim F. Storm
b7bfc84036 (Help): Fix C-h a entry. Add C-h d entry.
(Help Summary): Add C-h d and C-h e.
(Apropos): Clarify that all apropos commands may search for either
list of words or a regexp.  Add C-h d for apropos-documentation.
Describe apropos-documentation-sort-by-scores user option.
2005-11-12 00:58:46 +00:00
Kim F. Storm
9f49f57702 *** empty log message *** 2005-11-12 00:58:35 +00:00
Kim F. Storm
242a7584ce Add C-h d binding. 2005-11-12 00:58:11 +00:00
Kim F. Storm
e27f7c139a (help-map): Bind C-h d to apropos-documentation. 2005-11-12 00:57:38 +00:00
Kim F. Storm
63219d53c2 (what-cursor-position): Print (EOB) instead of (100%)
when point is at end-of-buffer.
2005-11-12 00:10:56 +00:00
Kim F. Storm
0820b753f7 (apropos-match-face): Doc fix.
(apropos-sort-by-scores): Add new choice `verbose'.
(apropos-documentation-sort-by-scores): New defcustom.
(apropos-pattern): Now contains the pattern entered by the user.
(apropos-pattern-quoted): New defvar.
(apropos-regexp): New defvar, containing the regexp corresponding
to apropos-pattern.
(apropos-all-words-regexp): Renamed from apropos-all-regexp.
(apropos-read-pattern): New defun.  Use it to read pattern arg in
interactive calls; returns list of words for a word list, and
string for a regexp.
(apropos-parse-pattern): Renamed from apropos-rewrite-regexp.  Now
parses a list of words or regexp as returned by apropos-read-pattern.
(apropos-calc-scores): Return nil if apropos-regexp doesn't match.
(apropos-score-doc): Return a very high score if the string
entered by the user matches literally.
(apropos-variable): Doc fix.  Use apropos-read-pattern.
(apropos-command): Doc fix.  Use apropos-read-pattern and
apropos-parse-pattern.  Call apropos-print with nosubst=t.
(apropos, apropos-value): Doc fix. Use apropos-read-pattern and
apropos-parse-pattern.
(apropos-documentation): Doc fix. Use apropos-read-pattern and
apropos-parse-pattern.  Locally bind apropos-sort-by-scores to
apropos-documentation-sort-by-scores.  Call apropos-print with
nosubst=t.
(apropos-documentation-internal): Pass doc string through
substitute-key-definition before adding text properties.
Highlight substring matching literal user input if possible.
(apropos-documentation-check-doc-file): Remove locals beg and end.
Fix calculation of score (as added twice).  Pass doc string through
substitute-key-definition before adding text properties.
(apropos-documentation-check-elc-file): Pass doc string through
substitute-key-definition before adding text properties.
Highlight substring matching literal user input if possible.
(apropos-print): Add new arg NOSUBST; if set, command and variable
doc strings have already been passed through substitute-key-definition.
Add code to handle apropos-accumulator items without score element
for backwards compatibility (e.g. with woman package).
Only show scores if apropos-sort-by-scores is `verbose'.
2005-11-12 00:10:40 +00:00
Kim F. Storm
42aad0f69a *** empty log message *** 2005-11-12 00:08:35 +00:00
Steven Tamm
dff79d048f Update macterm comment 2005-11-11 16:46:08 +00:00
Steven Tamm
b02e3f7ba6 macterm.c (backtranslate_modified_keycode): New function to
mask modifiers off of keycodes for use in modifier mapping.
	(mac_determine_quit_char_modifiers): Remove
	mac-reverse-ctrl-meta and replace it with more flexible system
	mapping mac modifier keys to emacs modifier keys.
	(convert_fn_keycode): Map Fn-keys to their original keycode
	using a table (english keyboard only).
	(syms_of_macterm): Define mac-control-modifier,
	mac-command-modifier, mac-function-modifier.
	Define meta and ctrl for use as modifiers.
2005-11-11 16:33:44 +00:00
Kim F. Storm
338fa84a5e (pitx): Fix output format if n_overlay_strings > 0.
(bt): Add post hook to "backtrace" to always dump lisp call stack to
increase chance of people sending it to us when reporting bugs.
2005-11-11 15:45:44 +00:00