Commit graph

17515 commits

Author SHA1 Message Date
Glenn Morris
2f1b7dc4a2 (report-emacs-bug): In message-mode, sort manually before storing
original report text.  (Bug#5178)
Remove superfluous save-excursion.
2009-12-13 23:43:17 +00:00
Michael Albinus
31bb373f92 * net/dbus.el (dbus-property-handler): Filter lambda forms out
when responding to "GetAll" properties.
2009-12-12 19:18:33 +00:00
Chong Yidong
5e1d496851 * simple.el (compose-mail): Remove mail-setup-with-from from
customization checks.
2009-12-12 17:01:03 +00:00
Eli Zaretskii
097d86f9b2 (archive-rar-summarize): Support Attribute fields in RAR archives
created on Unix systems.
2009-12-12 09:49:09 +00:00
Stefan Monnier
1d4adede54 (minibuffer-local-must-match-filename-map): Re-instate the varalias that was
accidentally removed by the 2009-11-19 change (bug#5186).
2009-12-12 05:23:54 +00:00
Kenichi Handa
3ff3655cac (indian-compose-regexp): New function.
(malayalam-composable-pattern): Fix the pattern.
(composition-function-table): Set malayalam-composable-pattern for
Malayalam characters.
2009-12-12 02:20:34 +00:00
Chong Yidong
315eb96d01 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
rather than down-mouse-1, based on follow-link conventions.
2009-12-11 17:02:03 +00:00
Chong Yidong
82d3343cd8 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
are compiled.
2009-12-11 16:48:02 +00:00
Dan Nicolaescu
86a4c7ac2b * verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re,
verilog-vmm-statement-re, verilog-ovm-statement-re,
verilog-defun-level-not-generate-re, verilog-calculate-indent,
verilog-leap-to-head, verilog-backward-token): Fix
indenting VMM macros.  Reported by Jonathan Ashbrook.

* verilog-mode.el (verilog-auto-lineup, verilog-nameable-item-re):
Cleanup user-visible spelling and documentation errors.  One
reported by Gary Delp.
(verilog-submit-bug-report): Mention bug tracking and CC
co-author.
(verilog-read-decls): Fix AUTOWIRE with types declared in a
package, bug195.  Reported by Pierre-David Pfister.
2009-12-11 02:31:49 +00:00
Glenn Morris
47641aacc1 (safe-pos-list): Define for compiler. 2009-12-11 01:46:24 +00:00
Glenn Morris
4e6a65b942 Fix thinko. 2009-12-11 01:27:40 +00:00
Glenn Morris
d2b4efdac1 Fix typo. 2009-12-11 01:26:58 +00:00
Glenn Morris
850948552d No longer require sendmail.
Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
(report-emacs-bug-orig-text): Doc fix.
(report-emacs-bug-send-command, report-emacs-bug-send-hook):
New local variables, to adapt to different mail-user-agents.
(report-emacs-bug): Fix test for a gnu.org address.
Use overlays for emphasis, since font-lock defeats 'face property.
Pretest bugs also end up at the newsgroup these days.
Stop message-mode stripping text properties.
Set and use the new buffer-local variables.
(report-emacs-bug-hook): Add doc-string.
Remove some unnecessary save-excursions and simplify.
Use the appropriate hook and send-command.
2009-12-11 01:21:35 +00:00
Glenn Morris
fe03f49a4a (emacs-lisp-mode-map): Standardize the capitalization of some menu entries. 2009-12-11 01:20:04 +00:00
Vinicius Jose Latorre
345427f02a Asure buffer-display-table is unique when two or more windows are visible. 2009-12-11 01:04:55 +00:00
Eli Zaretskii
c70ccbba54 (archive-rar-summarize): Allow between 6 and 7 characters in the
Attribute field.
2009-12-10 19:25:36 +00:00
Dan Nicolaescu
f1943c1ba5 (vc-svn-after-dir-status): Fix regexp. (Bug#4741) 2009-12-10 14:24:42 +00:00
Stefan Monnier
1c67aeaafb Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
* emacs-lisp/autoload.el (autoload-generate-file-autoloads):
Disregard autoload-excludes.
(update-directory-autoloads): Obey autoload-excludes here instead.
But don't store its contents in no-autoloads and remove entries that
refer to excludes files.
2009-12-10 08:46:54 +00:00
Glenn Morris
8c0171c0ee (top-level): Move require 'mail-utils to start.
(expand-mail-aliases): Define for compiler.
2009-12-10 08:25:58 +00:00
Glenn Morris
dba372dd28 (log-view-vc-backend, log-view-vc-fileset): Define for compiler. 2009-12-10 08:24:41 +00:00
Glenn Morris
d8194864bc (report-emacs-bug): Use whichever send command is appropriate for the
mail-user-agent in use.
2009-12-10 08:17:15 +00:00
Michael Albinus
fe5facd3c0 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages. 2009-12-09 10:23:00 +00:00
Dan Nicolaescu
99999a1d72 Fix short log parsing and fontification.
* vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
Fix fontification for the [merge] label.
2009-12-09 06:04:09 +00:00
Stefan Monnier
2ea1c4aa5e Drop some properties to avoid surprises.
* htmlfontify.el (hfy-ignored-properties): New defcustom.
(hfy-fontify-buffer): Use it.
2009-12-09 05:56:53 +00:00
Stefan Monnier
a0d1aadfca Minor cleanup.
* ffap.el (ffap-symbol-value): Replace ffap-soft-value.  Adjust all callers.
(ffap-locate-file): Remove unused arg `dir-ok' and make other args compulsory.
Adjust callers.
(ffap-gopher-at-point): Remove unused var `name'.
2009-12-09 02:11:29 +00:00
Stefan Monnier
9840deb6c8 Get rid of the ELCFILES abomination.
* Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
(compile-elcfiles): New phony target.
(compile-main): Compute ELCFILES dynamically.
(compile-clean): New target to remove left-over elc files.
(compile, all): Use it.
2009-12-09 01:53:15 +00:00
Kenichi Handa
7eb3f9a827 *** empty log message *** 2009-12-09 01:02:11 +00:00
Kenichi Handa
ae63e572b3 (ucs-names): Supply a sufficiently fine ranges instead of
pre-calculating accurate ranges.  Iterate with bigger
gc-cons-threshold.
2009-12-09 00:57:02 +00:00
Dan Nicolaescu
e2f3c6923a Add support for stashing a snapshot of the current tree.
* vc-git.el (vc-git-stash-snapshot): New function.
(vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
2009-12-08 15:56:57 +00:00
Juanma Barranquero
cf6d035204 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
instead of `(beginning|end)-of-line'.
2009-12-08 11:27:53 +00:00
Glenn Morris
6e890faa2b (vc-mtn-print-log): Fix typo in previous. 2009-12-08 03:28:22 +00:00
Glenn Morris
48e4acc9a3 (ELCFILES): Regenerate. 2009-12-08 03:27:05 +00:00
Glenn Morris
e4070cdc07 Fix log entries. 2009-12-08 03:26:07 +00:00
Juri Linkov
d2a1dc7bc1 Don't lazy-highlight the comint output in history Isearch mode.
* comint.el (comint-history-isearch-search): Instead of
`comint-line-beginning-position', use `comint-after-pmark-p'
to check if point if before the process mark, and go to
`process-mark' in this case.
2009-12-07 22:36:58 +00:00
Stefan Monnier
fb10ee4af9 (latex-complete, latex-indent-or-complete): Remove.
(latex-mode): Set completion-at-point-functions instead.
2009-12-07 21:15:19 +00:00
Stefan Monnier
51ef56c47f * minibuffer.el (completion-at-point-functions): New var.
(completion-at-point): New command.
* indent.el (indent-for-tab-command): Handle the new `complete' behavior.
* progmodes/python.el (python-mode-map): Use completion-at-point.
(python-completion-at-point): Rename from python-partial-symbol and
adjust for use in completion-at-point-functions.
(python-mode): Setup completion-at-point for Python completion.
* emacs-lisp/lisp.el (lisp-completion-at-point): New function
extracted from lisp-complete-symbol.
(lisp-complete-symbol): Use it.
* emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
setup completion-at-point for Elisp completion.
(emacs-lisp-mode-map, lisp-interaction-mode-map): Use completion-at-point.
* ielm.el (ielm-map): Use completion-at-point.
(inferior-emacs-lisp-mode): Setup completion-at-point for Elisp completion.
* progmodes/sym-comp.el: Move to...
* obsolete/sym-comp.el: Move from progmodes.
2009-12-07 20:06:26 +00:00
Eli Zaretskii
5e7a90229a Prevent save-buffer in Rmail buffers from using the coding-system
of the current message, and from clobbering the encoding mnemonics
in the mode line (Bug#4623).

(rmail-swap-buffers): Swap encoding and modified flag, too.
(rmail-message-encoding): New variable.
(rmail-write-region-annotate): Record the encoding of the current message
in rmail-message-encoding.
(rmail-after-save-hook): New function, restores the encoding of the current
message after the message collection is saved.
2009-12-07 19:21:57 +00:00
Juri Linkov
9136e89523 (grep-read-files): Use `completing-read'
instead of `read-string'.  Set its `collection' arg to
`read-file-name-internal'.  (Bug#4301)
2009-12-07 17:35:47 +00:00
Juri Linkov
406374109c Correctly restore original Isearch point. (Bug#4994)
* isearch.el (isearch-mode): Move `isearch-push-state' after
`(run-hooks 'isearch-mode-hook)'.
(isearch-cancel): When `isearch-push-state-function' is defined,
let-bind `isearch-cmds' to the first state (the last element of
`isearch-cmds') and call `isearch-top-state' (it calls pop-state
function and restores the original point).  Otherwise, move point
to `isearch-opoint'.
2009-12-07 17:30:01 +00:00
Chong Yidong
f82b1493b0 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
change.  Suggested by David Kastrup.
2009-12-07 16:18:42 +00:00
Stefan Monnier
da10ce2bb0 (ucs-names): Weed out at compile-time the chars that don't have names, so
the table can be built much faster at run-time.
2009-12-07 16:12:47 +00:00
Chong Yidong
3d68fa99af * simple.el (compose-mail): Check for incompatibilities and warn.
(compose-mail-user-agent-warnings): New option.
2009-12-07 16:09:05 +00:00
Dan Nicolaescu
662c5698fb Support showing a single log entry from vc-annotate.
* vc.el (print-log): Add a new argument: START-REVISION.
(vc-print-log-internal): Add a new optional argument and
pass it to the backend.
(vc-print-log, vc-print-root-log): Adjust callers.
* vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
buffer already displays the requested log entry, use it.
Otherwise display only the log entry in question.
* vc-svn.el (vc-svn-print-log):
* vc-mtn.el (log-view-file-re):
* vc-hg.el (vc-hg-state):
* vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
(vc-git-show-log-entry): Return t on success.
* vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
(vc-bzr-show-log-entry): Return t on success.
* vc-rcs.el (vc-rcs-print-log):
* vc-sccs.el (vc-sccs-print-log):
* vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
2009-12-07 09:02:11 +00:00
Michael Kifer
2de386ca1d 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-init.el (ediff-event-key): use event-to-character instead of
	event-key.

	* ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer): add
	menus to the meta mode. (Dan Nicolaescu's <dann@ics.uci.edu> patch.)

	* ediff.el (ediff-buffers-internal): add unwind-protect.
2009-12-07 06:56:40 +00:00
Michael Albinus
dab816a917 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
Berbain <raphael.berbain@gmail.com>.

* net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
characters.
(tramp-initial-end-of-output): New defconst.
(tramp-methods, tramp-find-shell)
(tramp-open-connection-setup-interactive-shell)
(tramp-maybe-open-connection): Use it.
(tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
existence of `#' and `$'.

* net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
`tramp-initial-end-of-output'.
2009-12-07 06:38:06 +00:00
Dan Nicolaescu
a91e1f6bf8 Get the background mode from the terminal for xterm, and set
faces accordingly.
* term/xterm.el (xterm-set-background-mode): New function.
(terminal-init-xterm): Use it in case xterm supports background
color queries.  Recompute faces after getting the background
color.
2009-12-07 06:30:30 +00:00
Glenn Morris
5fa9d1ecf4 Ulrich Mueller <ulm at gentoo.org>
(byte-compile-insert-header): Put the version number comment back on
its own line, for easier parsing by external tools.
2009-12-07 06:21:27 +00:00
Stefan Monnier
5e9fde5e59 Make it work for non-file buffers (bug#5102).
* doc-view.el (doc-view-current-cache-dir):
Use doc-view-buffer-file-name rather than buffer-file-name.
(doc-view-mode): Use buffer-name when buffer-file-name is nil.
2009-12-07 02:37:42 +00:00
Chong Yidong
2f2f524224 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
author field is too short.
2009-12-06 23:27:55 +00:00
Dan Nicolaescu
0d3f8a7840 * vc-git.el (vc-git-print-log): Handle a limit argument. Display
the short log in graph form and with labels.
(vc-git-log-view-mode): Handle labels.
2009-12-06 22:18:03 +00:00