1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 06:50:46 -08:00
Commit graph

34757 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
Juanma Barranquero
5883afc5c4 (life-patterns): Add a few more interesting patterns.
(life-setup): Force `show-trailing-whitespace' to nil.
2006-09-15 01:26:41 +00:00
Richard M. Stallman
18d55b246b *** empty log message *** 2006-09-15 01:04:27 +00:00
Richard M. Stallman
81a0b042c9 (fancy-splash-text): Change text to improve alignment.
(fancy-splash-screens): Don't set non-standard tab width.
Bind cursor-type temporarily, and make it easy to patch to
preserve the splash buffer.
(normal-splash-screen, fancy-splash-tail): Spell out "Meta-x".
(fancy-splash-screens): Display echo-area message explicitly.
Don't set fancy-splash-help-echo.
2006-09-15 00:56:14 +00:00
Richard M. Stallman
efeb22bf0a (line-number-mode): Group mode-line instead of editing-basics.
(column-number-mode, size-indication-mode): Likewise.
2006-09-14 23:55:31 +00:00
Richard M. Stallman
6d9688261e (mode-line-faces): Group mode-line instead of modeline. 2006-09-14 23:54:44 +00:00
Richard M. Stallman
97904e510d (display-time): Group mode-line instead of modeline. 2006-09-14 23:54:12 +00:00
Richard M. Stallman
0518917aaa (mode-line): Renamed from modeline. All uses changed. 2006-09-14 23:53:55 +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
2a8edf31ec (jit-lock-fontify-again): New function.
(jit-lock-fontify-now): Use it instead of lambda form.
2006-09-14 11:08:50 +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
Richard M. Stallman
9c0fad71d9 (flyspell-word, flyspell-correct-word)
(flyspell-auto-correct-word): Make ispell-filter local to these functions.
Check that ispell-filter has new stuff before calling ispell-parse-output.
2006-09-14 01:19:38 +00:00
Kim F. Storm
29e49c4ee2 (line-move-partial): Optimize. 2006-09-13 22:28:03 +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
Richard M. Stallman
883d1f4b73 (thing-at-point-bounds-of-url-at-point): Delete spurious backquote. 2006-09-13 17:46:25 +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
ee9812b1fe (compilation-directory-properties):
Doc fix for help-echo.
2006-09-12 10:00:38 +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
c81b29e624 (next-error-highlight, next-error-highlight-no-select):
Fix spelling error.
2006-09-11 22:33:46 +00:00
Kim F. Storm
9cd4a6a1b9 *** empty log message *** 2006-09-11 22:33:29 +00:00
Kim F. Storm
790e0ef78e (sit-for): Rework to use input-pending-p and cond.
Return nil input is pending on entry also for SECONDS <= 0.
(while-no-input): Use input-pending-p instead of sit-for.
2006-09-11 22:21:55 +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
Miles Bader
b110774acb Merge from gnus--rel--5.10
Patches applied:

 * gnus--rel--5.10  (patch 136)

   - Update from CVS

2006-09-09  Reiner Steib  <Reiner.Steib@gmx.de>

   * lisp/gnus/pop3.el (pop3-leave-mail-on-server): Mention problem of duplicate
   mails in the doc string.  Add some URLs in comment.

2006-09-07  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/rfc2047.el (rfc2047-quote-special-characters-in-quoted-strings): Fix
   backslashes handling and the way to find boundaries of quoted strings.

2006-09-09  Reiner Steib  <Reiner.Steib@gmx.de>

   * man/gnus.texi (Mail Source Specifiers): Mention problem of duplicate
   mails with pop3-leave-mail-on-server.  Fix wording.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-431
2006-09-11 14:45:20 +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
5a1b28a4cb (ido-edit-input, ido-complete, ido-take-first-match)
(ido-push-dir-first, ido-kill-buffer-at-head, ido-exhibit)
(ido-delete-file-at-head): Pass head of ido-matches through ido-name
in case of merged directories.  Reported by Michaël Cadilhac.
2006-09-10 21:40:44 +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
Richard M. Stallman
6b34950fad (pushnew): Use add-to-list when convenient. 2006-09-10 17:47:39 +00:00
Richard M. Stallman
62e197b194 (add-to-list): New argument COMPARE-FN. 2006-09-10 17:45:42 +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