1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-15 04:11:53 -08:00
Commit graph

9938 commits

Author SHA1 Message Date
Chong Yidong
d25593b77e * progmodes/compile.el (compilation-error-regexp-alist-alist):
Disallow filenames containing " -" to avoid confusion with libtool
	compilation messages.
2006-09-15 15:37:58 +00:00
David Kastrup
91a2acb229 * mouse-sel.el (mouse-sel-follow-link-p): Use event position
instead of buffer position for `mouse-on-link-p'.

* mouse.el (mouse-posn-property): New function looking up the
properties at a click position in overlays and text properties in
either buffer or strings.
(mouse-on-link-p): Use `mouse-posn-property' to streamline lookup
of both `follow-link' as well as `mouse-face' properties.
(mouse-drag-track): Check `mouse-on-link-p' on event position, not
buffer position.

* help.el (describe-key-briefly): When reading a down-event on
mode lines or scroll bar, swallow the following up event, too.
Use the new mouse sensitity of `key-binding' for lookup.
(describe-key): The same here.
2006-09-15 08:53:18 +00:00
Juanma Barranquero
6cb66a3193 *** empty log message *** 2006-09-15 02:03:37 +00:00
Richard M. Stallman
18d55b246b *** empty log message *** 2006-09-15 01:04:27 +00:00
Chong Yidong
d83509985e * allout.el (allout-regexp, allout-line-boundary-regexp)
(allout-bob-regexp): Correct grouping and boundaries to fix
	backwards traversal.
	(allout-depth-specific-regexp, allout-depth-one-regexp): New
	versions that exploit \\{M\\} regexp syntax, to avoid geometric or
	worse time in allout-ascend.
	(allout-doublecheck-at-and-shallower): Identify depth threshold
	below which topics are checked for and disqualified by containment
	discontinuities.
	(allout-hotspot-key-handler): Correctly handle multiple-key
	strokes.  Remove some unused variables.
	(allout-mode-leaders): Clarify that mode-specific comment-start
	will be used
	(set-allout-regexp): Correctly regexp-quote allout regexps to
	properly accept alternative header-leads and primary bullets with
	regexp-specific characters (eg, C "/*", mathematica "(*").
	Include new regular expressions among those configured.
	(allout-infer-header-lead-and-primary-bullet): Rename
	allout-infer-header-lead.
	(allout-recent-depth): Manifest as a variable as well as a function.
	(allout-prefix-data): Simplify into an inline instead of a macro,
	assuming current match data rather than being explicitly passed it.
	Establish allout-recent-depth value as well as
	allout-recent-prefix-beginning and allout-recent-prefix-end.
	(allout-aberrant-container-p): True when an item's immediate
	offspring discontinuously contained.  Useful for disqualifying
	unintended topic prefixes, likely at low depths.
	(allout-goto-prefix-doublechecked): Elaborated version of
	allout-goto-prefix which disqualifies aberrant pseudo-items.
	(allout-end-of-prefix, allout-pre-next-prefix)
	(allout-end-of-subtree): Disqualify aberrant containers.
	(allout-beginning-of-current-entry): Position at start of buffer
	when in container (depth 0) entry.
	(nullify-allout-prefix-data): Invalidate allout-recent-* prefix data.
	(allout-current-bullet): Strip text properties.
	(allout-get-prefix-bullet): Use right match groups.
	(allout-beginning-of-line, allout-next-heading): Disqualify
	aberrant containers.
	(allout-previous-heading): Disqualify aberrant containers.
	(allout-get-invisibility-overlay): Increment so progress is made
	when the first overlay is not the sought one.
	(allout-end-of-prefix): Disqualify aberrant containers.
	(allout-end-of-line): Cycle something like allout-beginning-of-line.
	(allout-mode): Make allout-old-style-prefixes (ie, enabling use with
	outline.el outlines) functional again.  Change the primary bullet
	along with the header-lead - level 1 new-style bullets now work.
	Engage allout-before-change-handler in mainline emacs, not just
	xemacs, to do undo handling.
	(allout-before-change-handler): Expose undo changes occurring in
	hidden regions.  Use allout-get-invisibility-overlay instead of
	reimplementing it inline.
	(allout-chart-subtree): Use start rather than end of prefix in
	charts.  Use allout-recent-depth variable.
	(allout-chart-siblings): Disqualify aberrant topics.
	(allout-beginning-of-current-entry): Position correctly.
	(allout-ascend): Use new allout-depth-specific-regexp and
	allout-depth-one-regexp for linear instead of O(N^2) or worse behavior.
	(allout-ascend-to-depth, allout-up-current-level): Depend on
	allout-ascend, rather than reimplementing an algorithm.
	(allout-descend-to-depth): Use allout-recent-depth var instead of fun.
	(allout-next-sibling): On traversal of numerous intervening
	topics, resort to economical allout-next-sibling-leap.
	(allout-next-sibling-leap): Specialized version of
	allout-next-sibling that uses allout-ascend cleverly, to depend on
	a regexp search to leap large numbers of contained topics, rather
	than arbitrarily many one-by-one traversals.
	(allout-next-visible-heading): Disqualify aberrant topics.
	(allout-previous-visible-heading): Position consistently when interactive.
	(allout-forward-current-level): Base on allout-previous-sibling
	rather than reimplmenting the algorithm.  Remove unused vars.
	(allout-solicit-alternate-bullet): Present default choice stripped
	of text properties.
	(allout-rebullet-heading): Use bullet stripped of text properties.
	Register changes using allout-exposure-change-hook.  Disregard
	aberrant topics.
	(allout-shift-in): With universal-argument, make topic a peer of
	it's former offspring.  Simplify the code by separating out
	allout-shift-out functionality.
	(allout-shift-out): With universal-argument, make offspring peers
	of their former container, and its siblings.  Implement the
	functionality here, rather than inappropriately muddling the
	implementation of allout-shift-in.
	(allout-rebullet-topic): Respect additional argument for new
	parent-child separation function.
	(allout-yank-processing): Use allout-ascend directly.
	(allout-show-entry): Disqualify aberrant topics.
	(allout-show-children): Handle discontinuous children gracefully,
	extending the depth being revealed to expose them and posting a
	message indicating the situation.
	(allout-show-to-offshoot): Remove obsolete and incorrect comment.
	Leave cursor in correct position.
	(allout-hide-current-subtree): Use allout-ascend directly.
	Disqualify aberrant topics.
	(allout-kill-line, allout-kill-topic): Preserve exposure layout in
	a way that the yanks can restore it, as used to happen.
	(allout-yank-processing): Restore exposure layout as recorded by
	allout-kill-*, as used to happen.
	(allout-annotate-hidden, allout-hide-by-annotation): New routines
	for preseving and restoring exposure layout across kills.
	(allout-toggle-subtree-encryption): Run allout-exposure-change-hook.
	(allout-encrypt-string): Strip text properties.
	Rearranged order and outline-headings for some of the
	miscellaneous functions.
	(allout-resolve-xref): No need to quote the error name in the
	condition-case handler section.
	(allout-flatten): Classic recursive (and recursively intensive,
	without tail-recursion) list-flattener, needed by allout-shift-out
	when confronted with discontinuous children.
2006-09-14 17:52:07 +00:00
Chong Yidong
aa260907f1 * startup.el (fancy-splash-text): Move editing instructions to
fancy-splash-head.
	(fancy-splash-head): Issue editing instructions.
	(fancy-splash-screens): Fixup whitespace.
2006-09-14 17:44:48 +00:00
Stefan Monnier
b14f0dc311 (mode-line-buffer-identification-keymap): Remove duplicate line. 2006-09-14 15:33:19 +00:00
Kim F. Storm
bf8b0f8b81 (ido-ignore-item-p): Allow any kind of functions in ignore lists.
From Michaël Cadilhac.
2006-09-14 14:42:49 +00:00
Kim F. Storm
36961efd67 *** empty log message *** 2006-09-14 11:08:38 +00:00
Richard M. Stallman
87bbe2fd4c *** empty log message *** 2006-09-14 01:21:06 +00:00
Kim F. Storm
f8b11c974f *** empty log message *** 2006-09-13 22:27:51 +00:00
Richard M. Stallman
9aeec4c22f *** empty log message *** 2006-09-13 17:46:30 +00:00
Chong Yidong
b96572ff12 * net/rcirc.el (rcirc-print): Fix last change. 2006-09-12 22:05:57 +00:00
Romain Francoise
503fac660a *** empty log message *** 2006-09-12 20:04:32 +00:00
Jay Belanger
9999226411 (calc-dispatch): Remove unnecessary `sit-for'. 2006-09-12 17:00:40 +00:00
Chong Yidong
d40ac716c0 * net/rcirc.el (rcirc-scroll-show-maximum-output): Rename from
rcirc-show-maximum-output.
	(rcirc-mode): Remove window-scroll-function hook.
	(rcirc-scroll-to-bottom): Remove function.
	(rcirc-print): Recenter so point stays at the bottom of the window
	if point was already there.
2006-09-12 16:48:55 +00:00
Paul Eggert
4b1aaa8b07 * etc/NEWS: In terminal-oriented subshells, the EMACS environment
variable now defaults to Emacs's absolute file name, instead of
to "t".
* etc/PROBLEMS: Adjust tcsh advice for this.
* make-dist (EMACS): Exit and fail if the EMACS environment
variable is set to something other than an absolute file name.
* lisp/comint.el (comint-exec-1): Set EMACS to the full name of Emacs,
not to "t".
* lisp/progmodes/compile.el (compilation-start): Likewise.
* lisp/progmodes/idlwave.el (idlwave-rescan-asynchronously):
Don't use expand-file-name on invocation-directory, since this
might mishandle special characters in invocation-directory.
* man/faq.texi (Escape sequences in shell output): EMACS is now set
to Emacs's absolute file name, not to "t".
(^M in the shell buffer): Likewise.
* man/misc.texi (Interactive Shell): Likewise.
2006-09-12 16:43:25 +00:00
Stefan Monnier
afc05254f5 Remove * in defcustom's docstrings. 2006-09-12 15:43:20 +00:00
Nick Roberts
df072bff59 *** empty log message *** 2006-09-12 09:59:43 +00:00
Lars Hansen
4cffefee99 Add comment. 2006-09-12 07:13:52 +00:00
Kim F. Storm
9cd4a6a1b9 *** empty log message *** 2006-09-11 22:33:29 +00:00
Kim F. Storm
73313accc4 *** empty log message *** 2006-09-11 22:21:42 +00:00
Richard M. Stallman
6d3c944b15 (next-error-highlight, next-error-highlight-no-select):
Fix custom type and doc strings.
2006-09-11 19:05:46 +00:00
Stefan Monnier
cb9a30c8e1 (diff-apply-hunk-to-backup-file): New var.
(diff-apply-hunk): Use it to ask for confirmation.
2006-09-11 18:11:19 +00:00
Reiner Steib
e027c6e48d (pushnew): Add missing `,'. 2006-09-11 11:15:54 +00:00
David Kastrup
bcd8e1a907 * help.el (string-key-binding, describe-key-briefly)
(describe-key): Remove `string-key-binding' and its callers since
	`key-binding' already caters for the proper lookup now.

(string-key-binding, describe-key-briefly)
(describe-key): Remove `string-key-binding' and its callers since
`key-binding' already caters for the proper lookup now.
2006-09-11 09:47:43 +00:00
Stefan Monnier
7efd03c350 (cfengine-font-lock-syntactic-keywords): New var.
(cfengine-mode): Use it.  Fix \ syntax to be like /.
2006-09-11 07:12:37 +00:00
Stefan Monnier
a8b7149d7e (mode-line-buffer-identification-keymap):
Move initialization into declaration.
2006-09-11 07:11:21 +00:00
Richard M. Stallman
c62a807382 Handle errors in recursive copy usefully.
(dired-create-files-failures): New variable.
(dired-copy-file): Remove condition-case.
(dired-copy-file-recursive): Check for errors on all file
operations, and add them to dired-create-files-failures.
Check file file-date-erorr here too.
(dired-create-files): Check dired-create-files-failures
and report those errors too.
2006-09-11 02:25:00 +00:00
Kim F. Storm
606fd46931 *** empty log message *** 2006-09-10 21:40:32 +00:00
Richard M. Stallman
bd5a7fe245 *** empty log message *** 2006-09-10 17:48:10 +00:00
Reiner Steib
3b5e5e309b (file-cache-add-directory)
(file-cache-add-directory-list, file-cache-add-file)
(file-cache-add-directory-using-find)
(file-cache-add-directory-using-locate)
(file-cache-add-directory-recursively): Add autoloads.
2006-09-10 16:26:31 +00:00
Richard M. Stallman
dd3a63bf1a (conf-space-mode-internal): New subroutine. Reinit Font Lock mode.
(conf-space-mode): Always make conf-space-keywords and
conf-space-keywords-override local.
Call conf-space-mode-internal directly as well as via hook.
2006-09-10 00:30:52 +00:00
Richard M. Stallman
1d7b95f595 *** empty log message *** 2006-09-09 23:21:57 +00:00
Stefan Monnier
0b01facaa2 (python-font-lock-keywords): Add `self' and other quasi-keywords. 2006-09-09 19:48:36 +00:00
Stefan Monnier
d8ca7d3475 Quieten the compiler about hippie-expand vars.
(python-send-string): Be slightly more careful about adding \n.
2006-09-09 19:42:35 +00:00
Stefan Monnier
46d6e69200 (normal-splash-screen): Don't display the buffer if we'll
kill it right away anyway.
2006-09-09 19:21:31 +00:00
Eli Zaretskii
fbb0d4f924 (cp850-decode-table): Fix a few codes.
(cp858-decode-table): New variable.
2006-09-09 12:19:06 +00:00
Eli Zaretskii
c048d60609 *** empty log message *** 2006-09-09 11:07:11 +00:00
Eli Zaretskii
33aba6a0e3 (life-display-generation): Test for input manually if `sleeptime' is negative
or null.
2006-09-09 10:43:49 +00:00
Eli Zaretskii
c98557ae61 (lpr-page-header-switches): Page title switch is one of them.
(print-region-1): Substitute `%s' with the page title.
2006-09-09 10:40:27 +00:00
Eli Zaretskii
7b26001712 (locate-current-search): New variable.
(locate): Set buffer local value.  Use current buffer if it is in Locate mode.
(locate-mode): Disable undo here.
(locate-do-setup): Use locate-current-filter from buffer to be killed.
(locate-update): Use locate-current-search and locate-current-filter.
2006-09-09 10:34:23 +00:00
David Kastrup
e24f9e5a68 (desktop-read): when loading a desktop, disable
saving it while the load progresses, and switch off a pending lazy
load by calling `desktop-lazy-abort'.
2006-09-08 19:47:27 +00:00
Chong Yidong
612c16f130 * window.el (mouse-autoselect-window-timer)
(mouse-autoselect-window-position)
	(mouse-autoselect-window-window)
	(mouse-autoselect-window-now): New vars.
	(mouse-autoselect-window-cancel)
	(mouse-autoselect-window-select)
	(mouse-autoselect-window-start): New functions.
	(handle-select-window): Call `mouse-autoselect-window-start' when
	delayed window autoselection is enabled.

	* cus-start.el (mouse-autoselect-window): Handle delayed window
	autoselection.

	* emacs-lisp/eldoc.el: Add `handle-select-window' to the set of
	commands after which it is allowed to print in the echo area.
2006-09-08 14:15:02 +00:00
Richard M. Stallman
af09dd7814 *** empty log message *** 2006-09-08 12:22:01 +00:00
Carsten Dominik
4b87a4126e *** empty log message *** 2006-09-08 08:46:37 +00:00
YAMAMOTO Mitsuharu
9deaefb7a6 *** empty log message *** 2006-09-08 08:18:39 +00:00
Chong Yidong
325537113d * net/ldap.el (ldap-search-internal): Handle `auth' key. 2006-09-07 21:16:16 +00:00
Chong Yidong
82741a5eca * net/rcirc.el (rcirc-activity-string): Don't quote value in case
clause.
2006-09-07 20:56:24 +00:00
Chong Yidong
ea71ffe83e * info.el (Info-index): Bind completion-ignore-case. 2006-09-07 20:45:19 +00:00