1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 08:31:09 -08:00
Commit graph

53719 commits

Author SHA1 Message Date
Kim F. Storm
bb87fbc3ee (dired-mode-map): Map follow-link to mouse-face. 2004-12-17 15:18:02 +00:00
Kim F. Storm
0fa42821c9 (widget-specify-field, widget-specify-button):
Map a :follow-link keyword into a follow-link property.
(link): Add :follow-link keyword, map to RET binding.
2004-12-17 15:17:47 +00:00
Kim F. Storm
d086b1a249 (cvs-mode-map): Map follow-link to a function which
checks if position is in a filename, rather than some other
clickable item.  Function looks for cvs-filename-face at position.
2004-12-17 15:17:35 +00:00
Kim F. Storm
d8fac80103 (apropos-symbol, apropos-function, apropos-macro)
(apropos-command, apropos-variable, apropos-face, apropos-group)
(apropos-widget, apropos-plist): Add follow-link property.
2004-12-17 15:17:22 +00:00
Kim F. Storm
54d761b35a (help-xref): Add follow-link property. 2004-12-17 15:17:12 +00:00
Kim F. Storm
e9e50b12cd (describe-variable): Add follow-link property to "below" button. 2004-12-17 15:17:02 +00:00
Kim F. Storm
72b64ad5ba (describe-key): Report effective and original binding
for mouse-1 when clicked on a link.
(describe-mode): Add follow-link property to "minor-mode" button.
2004-12-17 15:16:46 +00:00
Kim F. Storm
f2a1c81bb1 (tooltip-show-help-function): Replace "mouse-2"
prefix in tooltip text with "mouse-1" when this is a link
recognized by mouse-1-click-follows-link functionality.
2004-12-17 15:16:33 +00:00
Kim F. Storm
65f765817d (mouse-1-click-follows-link): New defcustom.
(mouse-on-link-p): New function.
(mouse-drag-region-1): Implement mouse-1-click-follows-link
functionality.  Map a mouse-1 click event into a mouse-2 (or
other) event when position is inside a link.
2004-12-17 15:16:18 +00:00
Thien-Thi Nguyen
fc866a94f1 (zone-pgm-random-life): Fix typo. 2004-12-17 11:58:21 +00:00
Thien-Thi Nguyen
e3fa1c1178 (zone): Init `line-spacing' from orig buffer.
(zone-replace-char): Take `count' and `del-count'
instead of `direction'.  Update callers.  When `del-count' is
non-nil, delete that many characters, otherwise `count' characters
backwards.  Insert the newly-replaced string `count' times.
(zone-fret): Handle chars w/ width greater than one.
(zone-fall-through-ws): No longer take window width `ww'.
Update callers.  Add handling for `char-width' greater than one.
(zone-pgm-drip): Update var holding window-end position every cycle.
2004-12-17 11:48:56 +00:00
André Spiegel
a296137853 # 2004-12-17 10:53:03 +00:00
André Spiegel
54ebae283f (vc-default-update-changelog): Use insert-file-contents, rather than
insert-file.
2004-12-17 10:48:53 +00:00
Jay Belanger
0e0803f758 *** empty log message *** 2004-12-17 05:38:12 +00:00
Jay Belanger
a59a16878f (math-random-last): Declare it.
(math-random-digit): Undo last change.  Don't make math-random-last local.
(var-RandSeed): Don't initially bind it.
(math-init-random-base, math-random-digit): Check to see if
var-RandSeed is bound.
2004-12-17 05:26:18 +00:00
Luc Teirlinck
d1178128f8 *** empty log message *** 2004-12-17 05:02:20 +00:00
Luc Teirlinck
2484a0a2ca *** empty log message *** 2004-12-17 04:49:11 +00:00
Luc Teirlinck
1559486166 (HTTP language/coding, mailto): Replace "GNU Emacs manual" with
the standard "The GNU Emacs manual" in fifth argument of @xref's.
(Dealing with HTTP documents): @inforef->@xref.
2004-12-17 04:38:26 +00:00
Luc Teirlinck
ac091f3d12 (Retrieving URLs, Retrieving URLs): @var{nil}->@code{nil}. 2004-12-17 03:36:29 +00:00
Luc Teirlinck
df2f79eeb7 Correct typos. 2004-12-17 03:22:06 +00:00
Luc Teirlinck
a17e377e86 Delete trailing whitespace. 2004-12-17 03:14:07 +00:00
Jay Belanger
2d3da38b67 (math-random-digit): Call math-init-random-base if var-RandSeed is nil. 2004-12-16 22:56:08 +00:00
Thien-Thi Nguyen
3cc2b29c6a Commentary munging; nfc. 2004-12-16 17:13:22 +00:00
Thien-Thi Nguyen
8b000fc3b1 (zone): Fix omission bug: Use a self-disabling
one-shot thunk for uniform (error, quit, normal) recovery.
(zone-pgm-random-life): Fix bug:
Recognize empty initial field by lack of "@" chars.
2004-12-16 17:11:15 +00:00
Kim F. Storm
32c544b576 *** empty log message *** 2004-12-16 15:26:39 +00:00
Juri Linkov
f1f007dc5b (occur-accumulate-lines, occur-engine):
Fontify unfontified matching lines in the source buffer
before copying them.
(occur-engine): Don't put mouse-face on context lines.
(occur-next-error): Set point to line beginning/end
before searching for prev/next property to skip multiple
matches on a line (not supported by occur engine).
Remove redundant prefix-numeric-value.
2004-12-16 13:17:32 +00:00
Juri Linkov
8b18fb8fff (describe-property-list): Don't treat syntax-table
specially.  Use describe-text-sexp which inserts [show] button
for large objects and handles printing errors.  Sort properties
by names in alphabetical order instead of by value sizes.
Add `mouse-face' to list of properties for `describe-face' widget.
(describe-char): Mask out face-id from 19 bits of character.
Print face-id separately.
2004-12-16 13:09:48 +00:00
Juri Linkov
f507d6a153 * help-fns.el (variable-at-point):
As a last resort try striping non-word prefixes and suffixes.
2004-12-16 13:06:05 +00:00
Juri Linkov
918f2e56d9 * help.el (function-called-at-point):
As a last resort try striping non-word prefixes and suffixes.
2004-12-16 13:05:37 +00:00
Juri Linkov
8270a848c8 (info-lookup-highlight-face): Change default from highlight' to match'. 2004-12-16 07:19:20 +00:00
Juri Linkov
5248b3e332 (apropos-match-face): Change default from secondary-selection' to match'. 2004-12-16 07:16:58 +00:00
Juri Linkov
f30c45e105 (grep-match-face): New defvar.
(grep-mode-font-lock-keywords): Use grep-match-face instead of
compilation-column-face to highlight grep matches.
2004-12-16 07:16:44 +00:00
Juri Linkov
aaaecfcda1 (match): New face.
(list-matching-lines-face): Change default from `bold' to `match'.
2004-12-16 07:16:17 +00:00
Jan Djärv
333f1b6f78 * syssignal.h: Declare main_thread.
(SIGNAL_THREAD_CHECK): New macro.

* keyboard.c (input_available_signal): Move thread checking code
to macro SIGNAL_THREAD_CHECK and call that macro.
(interrupt_signal): Call SIGNAL_THREAD_CHECK.

* alloc.c (uninterrupt_malloc): Move main_thread to emacs.c.

* emacs.c: Define main_thread.
(main): Initialize main_thread.
(handle_USR1_signal, handle_USR2_signal, fatal_error_signal)
(memory_warning_signal): Call SIGNAL_THREAD_CHECK.

* floatfns.c (float_error): Call SIGNAL_THREAD_CHECK.

* dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK.

* sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK.

* process.c (send_process_trap, sigchld_handler): Call
SIGNAL_THREAD_CHECK.

* data.c (arith_error): Call SIGNAL_THREAD_CHECK.

* atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK.
2004-12-15 21:40:41 +00:00
Jan Djärv
fecad3f659 * xterm.c (xg_scroll_callback): Update XG_LAST_SB_DATA before
returning when xg_ignore_gtk_scrollbar is true.
2004-12-15 21:34:14 +00:00
Daniel Pfeiffer
78f617dde4 (executable-interpret): Eliminate obsolete compile-internal, and switch to comint for interaction. 2004-12-15 21:28:02 +00:00
J.D. Smith
b66d0e6bde *** empty log message *** 2004-12-15 19:51:51 +00:00
J.D. Smith
6b75c9afcc Check for && when skipping multiple commands on a line. 2004-12-15 19:06:11 +00:00
Thien-Thi Nguyen
6f5546a98c Add to THANKS in Commentary; nfc. 2004-12-15 13:59:17 +00:00
Thien-Thi Nguyen
3ef8085247 (zone): Set `truncate-lines'.
Also, init `tab-width' with value from original buffer.
(zone-shift-up): Rewrite for speed.
(zone-shift-down, zone-shift-left, zone-shift-right): Likewise.
(zone-pgm-jitter): Remove redundant entries from ops vector.
(zone-exploding-remove): Reduce iteration count.
(zone-cpos): Convert to defsubst.
(zone-replace-char): New defsubst.
(zone-park/sit-for): Likewise.
(zone-fret): Take window-start arg.
Update callers. Use `zone-park/sit-for'.
(zone-fill-out-screen): Rewrite.
(zone-fall-through-ws): Likewise. Update callers.
(zone-pgm-drip): Use `zone-replace-char'.
Move var inits before while-loop. Use `zone-park/sit-for'.
(zone-pgm-random-life): Handle empty initial field.
Use `zone-replace-char' and `zone-park/sit-for'.
2004-12-15 13:53:58 +00:00
Andreas Schwab
1bb3da3814 (main): Fix typo in conversion of LONG_OPTIONS from
preprocessing to compile time constant.
2004-12-15 13:23:25 +00:00
Juri Linkov
a31a30b5bb *** empty log message *** 2004-12-15 10:27:25 +00:00
Juri Linkov
93e8fd6133 (Transient Mark, Mark Ring): M-< and other
movement commands don't set mark in Transient Mark mode
if mark is active.
2004-12-15 10:22:26 +00:00
Juri Linkov
ccec9764dc (perform-replace): Add isearch-case-fold-search.
Use delimited-flag for isearch-regexp.
Reset isearch-lazy-highlight-last-string to force lazy
highlighting when called from isearch mode.
(query-replace-highlight): Revert defcustom type to boolean.
(query-replace-lazy-highlight): New defcustom.
(query-replace): New face.
(perform-replace, replace-highlight, replace-dehighlight):
Test query-replace-lazy-highlight instead of special value
`isearch' of query-replace-highlight.
(replace-dehighlight): Don't call isearch-dehighlight.
(replace-highlight): Don't call isearch-highlight.
Use face `query-replace' unconditionally.
2004-12-15 10:10:54 +00:00
Juri Linkov
da79720c9e (isearch-update): Test isearch-lazy-highlight
before calling isearch-lazy-highlight-new-loop.
(isearch-lazy-highlight-new-loop):
Don't test isearch-lazy-highlight.
2004-12-15 10:08:51 +00:00
Jay Belanger
6d4ebd71ee *** empty log message *** 2004-12-15 06:39:29 +00:00
Jay Belanger
07ce2eb3f8 Consistently capitalized all mode names.
(Answers to Exercises): Mention that an answer can be a fraction when
in Fraction mode.
2004-12-15 06:33:24 +00:00
Nick Roberts
aa1f38cdfb Change printing example to break on a procedure name. 2004-12-15 01:27:48 +00:00
Nick Roberts
d3d89631eb *** empty log message *** 2004-12-15 01:26:57 +00:00
Kim F. Storm
dc29116a4b (read_char): Save and restore echo_string when
handling input method.
2004-12-15 00:07:15 +00:00