Commit graph

49081 commits

Author SHA1 Message Date
Chong Yidong
21289c5dad * comint.el (comint-exec, comint-run, make-comint): Doc
fixes (Bug#4542).
2009-09-25 03:42:22 +00:00
Glenn Morris
6892b117c9 Regenerate. 2009-09-25 03:39:23 +00:00
Glenn Morris
e8652dd9c5 (rmail-mime): New custom group.
Move all defcustoms in this file into this group.
(rmail-mime-media-type-handlers-alist): Revert previous change.
(rmail-mime-show-images): New option.
(rmail-mime-total-number-of-bulk-attachments): Remove variable and all
references to it, since it wasn't actually used for anything.
(rmail-mime-insert-image): New function.
(rmail-mime-image): Use rmail-mime-insert-image.
(rmail-mime-bulk-handler): Remove optional `image' argument, instead
obey the value of `rmail-mime-show-images' option.
2009-09-25 03:39:04 +00:00
Vinicius Jose Latorre
32a9841cad New version 12. Bug#4177 2009-09-25 02:23:51 +00:00
Juanma Barranquero
fb652bb5c3 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548) 2009-09-25 00:32:21 +00:00
Juanma Barranquero
4561f7e0f3 Update. 2009-09-25 00:30:31 +00:00
Chong Yidong
e477ca8496 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
* textmodes/sgml-mode.el: Remove xml-mode alias.

* files.el (auto-mode-alist, conf-mode-maybe)
(magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21
changes.
2009-09-24 23:22:17 +00:00
Alan Mackenzie
0a218d34a2 (c-scan-conditionals): A new function like c-forward-conditionals, but it
doesn't move point and doesn't set the mark.
(c-up-conditional, c-up-conditional-with-else, c-down-conditional)
(c-down-conditional-with-else, c-backward-conditional)
(c-forward-conditional): Refactor to use c-scan-conditionals.
2009-09-24 20:19:58 +00:00
Alan Mackenzie
6871260203 *** empty log message *** 2009-09-24 20:18:56 +00:00
Juanma Barranquero
1659ada0ff * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
(help-default-arg-highlight): Remove.
  (help-highlight-arg): New function.
  (help-do-arg-highlight): Use it.
  Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)

* NEWS: Mention new variable `help-downcase-arguments'
  and new default for arguments in *Help* buffers.
2009-09-24 19:19:41 +00:00
Stefan Monnier
b3f01e463a (term-set-scroll-region, term-handle-ansi-escape):
Undo last change, which didn't fix the problem and introduced others.
2009-09-24 18:10:44 +00:00
Nick Roberts
9ccd2bb378 Don't require speedbar.
(gdb-jsonify-buffer): Handle case where "=" is part of value string.
2009-09-24 12:30:08 +00:00
Nick Roberts
107ef54aaf *** empty log message *** 2009-09-24 12:29:39 +00:00
Glenn Morris
2157a2be64 (diary-fancy-display): Always run the hook. 2009-09-24 03:26:51 +00:00
Glenn Morris
6125167ce2 (ns-reg-to-script): Define for compiler. 2009-09-24 03:22:40 +00:00
Glenn Morris
2e9075d396 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
(rmail-mime-bulk-handler): Optionally handle images.
(rmail-mime-image): New button action.
(rmail-mime-image-handler): New function.
(rmail-mime-mode): New mode.
(rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
2009-09-24 03:21:20 +00:00
Glenn Morris
ffa1fed64f (rmail-mime-multipart-handler): Accept the case where
there is no newline after the final mime boundary.  (Bug#4539)
Move markers on insertion so that any buttons inserted don't end up in
the next part of a multipart message.
2009-09-24 03:15:27 +00:00
Stefan Monnier
075518b529 (minibuffer-force-complete): Cycle the list, rather
than just dropping elements from it (bug#4504).
2009-09-24 02:37:37 +00:00
Stefan Monnier
8ad2defcbb * term.el (term-set-scroll-region): Don't move cursor any more.
(term-handle-ansi-escape): Call term-goto here instead.
Suggested by Ivan Kanis <apple@kanis.eu>.
2009-09-24 02:15:11 +00:00
Stefan Monnier
4a814992b8 Require CL.
(term-ansi-reset): New function.
(term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
(term-handle-colors-array): Simplify.
2009-09-24 02:04:25 +00:00
Juanma Barranquero
5a0c3f568d Fix typos.
* allout.el
* dired-aux.el
* dired-x.el
* epa-file.el
* ps-print.el
* shell.el
* vc-hooks.el
* vc-rcs.el
* vc-sccs.el
* vc.el
* view.el
* wdired.el
* emacs-lisp/authors.el
* net/dig.el
* net/socks.el
* net/zeroconf.el
* obsolete/vc-mcvs.el
* progmodes/gdb-mi.el
* progmodes/grep.el
* progmodes/idlw-help.el
* progmodes/idlw-shell.el
* progmodes/idlwave.el
* progmodes/inf-lisp.el
* textmodes/bibtex.el
* textmodes/ispell.el
* textmodes/reftex-toc.el
2009-09-24 01:37:14 +00:00
Stefan Monnier
62136c5d4b (term-bold-attribute): New var.
(term-handle-colors-array): Use it.
2009-09-24 01:20:36 +00:00
Juanma Barranquero
d93ec75351 * gnus-art.el (gnus-article-encrypt-body):
* message.el (message-check-recipients):
* mm-util.el (mm-codepage-setup):
* nnir.el (gnus-summary-nnir-goto-thread, nnir-run-waissearch)
  (nnir-run-swish++, nnir-run-swish-e): Fix typos in error messages.
2009-09-23 23:58:40 +00:00
Juanma Barranquero
f924a367df * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
(org-shiftselect-error, org-ctrl-c-ctrl-c):
* org-agenda.el (org-agenda-undo, org-check-for-org-mode):
* org-attach.el (org-attach-check-absolute-path):
* org-docbook.el (org-export-as-docbook):
* org-html.el (org-export-as-html):
* org-id.el (org-id-update-id-locations):
* org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
Fix typos in error messages.
2009-09-23 23:55:26 +00:00
Nick Roberts
99f3b856f6 (gdb-version): New variable.
(gdb-non-stop-handler): Set gdb-version.
(gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
Condition "--thread" option on gdb-version.
(gdb-invalidate-threads): Remove unused argument.
2009-09-23 23:22:13 +00:00
Nick Roberts
9c1a45edef *** empty log message *** 2009-09-23 23:21:47 +00:00
Stefan Monnier
03304f3134 (sgml-mode-flyspell-verify): Pass limit args
to looking-back to avoid ridiculous slow down in large files (bug#4511).
2009-09-23 23:05:37 +00:00
Glenn Morris
4f02f0c989 (rmail-reply): Don't try to add a References header when replying to
mail without References or Message-Id.  (Bug#4525)
2009-09-23 06:20:23 +00:00
Adrian Robert
a3b4b36385 * term/nswin.el (ns-reg-to-script): New variable. 2009-09-23 02:35:33 +00:00
Daiki Ueno
7bda18ccca (epg-wait-for-status): Preserve existing 'error results. 2009-09-23 00:22:08 +00:00
Sam Steingold
0aa4f295f5 (vc-hg-outgoing, vc-hg-incoming): Bind vc-short-log' for the sake of vc-hg-log-view-mode'. 2009-09-22 23:49:10 +00:00
Sam Steingold
71630ffea0 (vc-hg-outgoing, vc-hg-incoming): use okstatus instead of ignore-errors 2009-09-22 23:48:19 +00:00
Sam Steingold
8dd110b4c3 (vc-hg-outgoing, vc-hg-incoming): Ignore errors from
`vc-hg-command' because hg returns status 1 when nothing is found.
2009-09-22 18:43:45 +00:00
Sam Steingold
72169e55e3 (vc-hg-print-log): Fix shortlog arg passing. 2009-09-22 18:16:48 +00:00
Stefan Monnier
b0459dec62 Convert to utf-8 encoding.
(fill-french-nobreak-p): Remove redundant » and « inherited from our
pre-unicode days.
2009-09-22 15:53:00 +00:00
Stefan Monnier
905b7d3817 (change-log-fill-forward-paragraph): New function.
(change-log-mode): Use it so fill-region DTRT.
Set fill-indent-according-to-mode here rather than in
change-log-fill-paragraph.
(change-log-fill-paragraph): Remove.
2009-09-22 15:39:02 +00:00
Juanma Barranquero
baa7f3de13 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
`Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
2009-09-22 08:44:16 +00:00
Glenn Morris
daedbbc2a9 (calendar-mode-map): Make mouse-1 and 3 clicks on the scroll-bar
scroll the calendar window rather than the buffer.
2009-09-22 07:37:58 +00:00
Glenn Morris
d8899a7416 (cal-menu-scroll-menu): Add a sub-section with commands that move
point (as opposed to scrolling).
2009-09-22 07:15:31 +00:00
Glenn Morris
a8d789f079 (tpu-copy-keyfile): Fix condition-case handler. 2009-09-22 02:28:43 +00:00
Glenn Morris
76f2c57691 (elint): New custom group.
(elint-log-buffer): Make it a defcustom.
(elint-scan-preloaded, elint-ignored-warnings)
(elint-directory-skip-re): New options.
(elint-builtin-variables): Doc fix.
(elint-preloaded-env): New variable.
(elint-unknown-builtin-args): Add an entry for encode-time.
(elint-extra-errors): Make it a variable rather than a constant.
(elint-preloaded-skip-re): New constant.
(elint-directory): Skip files matching elint-directory-skip-re.
(elint-features): New variable, local to linted buffers.
(elint-update-env): Initialize elint-features.  Possibly add
elint-preloaded-env to the buffer's environment.
(elint-get-top-forms): Bind elint-current-pos, for log messages.
Skip quoted forms.
(elint-init-form): New function, extracted from elint-init-env.
Make non-list forms a warning rather than an error.
Add the mode-map for define-derived-mode.  Handle define-minor-mode,
easy-menu-define, put that adds an error-condition, and provide.
When requiring cl, also require cl-macs.  Really require cl, to handle
some cl macros.  Store required libraries in the list elint-features,
so as not to re-load them.  Treat cc-require like require.
(elint-init-env): Call elint-init-form to do the work.
Handle eval-and-compile and such like.
(elint-add-required-env): Do not clear messages.
(elint-special-forms): Add handlers for function, defalias, if, when,
unless, and, or.
(elint-form): Add optional argument to ignore elint-special-forms,
useful to prevent recursive calls from handlers.  Doc fix.
Respect elint-ignored-warnings.
(elint-form): Respect elint-ignored-warnings.
(elint-bound-variable, elint-bound-function): New variables.
(elint-unbound-variable): Respect elint-bound-variable.
(elint-get-args): Respect elint-bound-function.
(elint-check-cond-form): Add some simple handling for (f)boundp and
featurep tests.
(elint-check-defalias-form): New handler.
(elint-check-let-form): Make an empty let a warning rather than an error.
(elint-check-setq-form): Make an empty setq a warning rather than an
error.  Respect elint-ignored-warnings.
(elint-check-defvar-form): Accept null doc-strings.
(elint-check-conditional-form): New handler.  Does some simple-minded
checking of featurep and (f)boundp tests.
(elint-put-function-args): New function.
(elint-initialize): Use elint-scan-doc-file rather than
elint-find-builtin-variables.  Use elint-put-function-args.
Possibly scan preloaded-file-list.
(elint-scan-doc-file): Rename from elint-find-builtin-variables and
extend to handle functions as well.
2009-09-22 02:28:28 +00:00
Juanma Barranquero
245be23c66 * linum.el (linum-delete-overlays, linum-update-window):
Do not modify the right margin.  (Bug#3971)
2009-09-22 00:06:28 +00:00
Chong Yidong
91fdbd6fdc * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
nxml-mode instead of xml-mode.
2009-09-21 22:12:28 +00:00
Chong Yidong
17e1f4bc65 * cedet/semantic.el (semantic-parser-working-message): Use a less
technical parsing message.
(semantic-mode): Require semantic/db-ebrowse if we need to.

* cedet/semantic/util-modes.el (semantic-highlight-func-mode): Doc fix.
2009-09-21 19:05:56 +00:00
Chong Yidong
546321e293 Use find-file-hook instead of obsolete name find-file-hooks. 2009-09-21 18:24:56 +00:00
Chong Yidong
5bebb33249 * cedet/semantic/db.el (semanticdb--inhibit-make-directory): New var.
(semanticdb-save-all-db): Use it.

* cedet/semantic/db-file.el (semanticdb-default-save-directory):
Save in user-emacs-directory instead of the home directory.
(semanticdb-file-directory-exists-p): Avoid prompting the user
multiple times.
2009-09-21 18:20:50 +00:00
Chong Yidong
16feddc402 * help-fns.el (describe-function-1): Call
overload-docstring-extension for mode-local functions.

* cedet/mode-local.el:
* cedet/semantic/mru-bookmark.el:
* cedet/pulse.el: Remove advice.

* cedet/semantic.el: Add autoloads for semantic/idle functions.
2009-09-21 17:49:07 +00:00
Chong Yidong
af7b5a91b2 * cedet/semantic.el: Add autoloads for semantic/idle functions.
* cedet/semantic/util.el (semantic--completion-cache): New var.
(semantic-symbol-start, semantic-find-tag-for-completion)
(semantic-complete-symbol): New functions, adapted from Senator.

* bindings.el (complete-symbol): Try semantic-complete-symbol if
no tag table is active.

* cedet/semantic/idle.el (define-semantic-idle-service): Doc fix.
2009-09-21 15:59:48 +00:00
Juanma Barranquero
7589d38e9e * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501) 2009-09-21 09:51:38 +00:00
Stefan Monnier
5ac4271539 (dig-mode): Use define-derived-mode. 2009-09-21 02:28:02 +00:00