1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-10 15:56:18 +00:00
Commit Graph

94147 Commits

Author SHA1 Message Date
Stefan Monnier
e867cb5d30 Merge from `emacs-23'. 2010-03-24 14:02:56 -04:00
Stefan Monnier
b2b8574b8d * vc-dir.el (vc-dir-headers): Abbreviate the working dir. 2010-03-24 13:33:39 -04:00
Chong Yidong
d0fba1745f Fix 2009-11-13 change to append-to-buffer (Bug#5749).
* simple.el (append-to-buffer): Ensure that point is preserved if
BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
(Bug#5749)
2010-03-24 12:18:13 -04:00
Stefan Monnier
efee6a6d9c (makefile-rule-action-regex): Backtrack less.
(makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
not be present any more.
2010-03-24 11:57:16 -04:00
Sam Steingold
5f2484c238 fix a typo in last patch 2010-03-24 09:41:07 -04:00
Ted Zlatanov
1e9d758c2f Add a list of HTTP status code symbols and their text, mapped by number.
* url-http.el (url-http-codes): New variable to hold a mapping of
HTTP status codes' numbers, their symbolic name, and their text.
(url-http-parse-headers): Use it, leaving the original numeric
code in a comment.
2010-03-24 04:30:28 -05:00
Glenn Morris
7e26396796 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
log-edit-before-checkin-process.
2010-03-23 23:32:45 -07:00
Glenn Morris
7bbe8d5a11 * cedet/ede/project-am.el (ede-shell-run-something): Declare. 2010-03-23 20:53:32 -07:00
Glenn Morris
5ac92c5f31 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry. 2010-03-23 20:38:17 -07:00
Glenn Morris
ebbe23ddbb * vc-bzr.el, vc-hg.el (log-edit-mode): Declare. 2010-03-23 20:34:06 -07:00
Glenn Morris
549f324afb * vc-dispatcher.el (vc-start-logentry): Doc fix.
(log-view-process-buffer, log-edit-extra-flags): Declare.
2010-03-23 20:30:53 -07:00
Glenn Morris
495b517c6f * log-edit.el (log-edit-before-checkin-process): Doc fix. 2010-03-23 20:27:24 -07:00
Glenn Morris
16d8cf52c6 * mail-source.el (gnus-message): Declare.
(mail-source-delete-old-incoming): Require gnus-util.
2010-03-23 20:21:53 -07:00
Glenn Morris
1d94ebb00c * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
Consistently check ede-object is bound throughout.
2010-03-23 20:19:15 -07:00
Glenn Morris
6d98672d24 Close bug#5759.
* ack.texi (Acknowledgments):
* emacs.texi (Acknowledgments): Fix ispell attribution.
2010-03-23 20:02:42 -07:00
Juanma Barranquero
9a5d0c6844 Fix typos in Changelog. 2010-03-24 01:18:03 +01:00
Juanma Barranquero
c6f3804c03 Fix typos.
* faces.el (set-face-attribute): Fix typo in docstring.
  (face-valid-attribute-values): Reflow docstring.

* cedet/srecode/table.el (srecode-template-table): Fix docstring typo.
2010-03-24 01:17:31 +01:00
Arni Magnusson
c333f279e5 * frames.texi (Cursor Parameters): Fix typo. (Bug#5760) 2010-03-24 01:16:45 +01:00
Sam Steingold
f4087766ce Fix bug#5620: recalculate all markers on compilation buffer
modifications, not on file modifications.
(buffer-modtime): New buffer-local variable:
the buffer modification time, for buffers not associated with files.
(compilation-mode): Create it.
(compilation-filter): Update it.
(compilation-next-error-function): Use it instead of
`visited-file-modtime' for timestamp.
2010-03-23 14:22:46 -04:00
Sam Steingold
a764697e5f update author's email 2010-03-23 12:27:10 -04:00
Juri Linkov
5275ff8b1f * occur-testsuite.el: New file. 2010-03-23 18:18:52 +02:00
Juri Linkov
774642e549 Implement Occur multi-line matches.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html

* replace.el (occur): Doc fix.
(occur-engine): Set `begpt' to the beginning of the first line.
Set `endpt' to the end of the last match line.  At first, count
line numbers between `origpt' and `begpt'.  Split out code from
`out-line' variable to new let-bindings `match-prefix' and
`match-str'.  In `out-line' add non-numeric prefix to all
non-first lines of multi-line matches.  Finally, count lines
between `begpt' and `endpt' and add to `lines'.
2010-03-23 18:09:45 +02:00
Juri Linkov
53e87c57be * replace.el (occur-engine-line): Add optional arg `keep-props'.
(occur-accumulate-lines, occur-engine): Add arg `keep-props'.
2010-03-23 17:48:09 +02:00
Katsumi Yamaoka
ec7995fa61 Synch with Gnus trunk
=====================
2010-03-23  Katsumi Yamaoka  <yamaoka@jpl.org>

 * gnus-art.el (canlock-verify): Autoload it for Emacs 21.

 * message.el (ecomplete-setup): Autoload it for Emacs <23.

 * mml-sec.el (mml-secure-cache-passphrase): Default to t that is
 password-cache's default if it is not bound.
 (mml-secure-passphrase-cache-expiry): Default to 16 that is
 password-cache-expiry's default if it is not bound.

 * pop3.el (pop3-list): Don't use 3rd arg of `split-string' which is not
 available in Emacs 21.

2010-03-23  Teodor Zlatanov  <tzz@lifelogs.com>

 * auth-source.el (auth-sources): Fix up definition so extra parameters
 are always inline.

2010-03-22  Martin Stjernholm  <mast@lysator.liu.se>

 * nnimap.el (nnimap-verify-uidvalidity): Fixed bug where uidvalidity
 wasn't updated after mismatch.  Clear cached mailbox info correctly
 when uidvalidity changes.
 (nnimap-group-prefixed-name): New function to avoid some code
 duplication.
 (nnimap-verify-uidvalidity, nnimap-group-overview-filename)
 (nnimap-request-group): Use it.
 (nnimap-retrieve-groups, nnimap-verify-uidvalidity)
 (nnimap-update-unseen): Significantly improved speed of Gnus startup
 with many imap folders.  This is done by caching the group status from
 the imap server persistently in a group parameter `imap-status'. (This
 was cached before too if `nnimap-retrieve-groups-asynchronous' was set,
 but not persistently, so every Gnus startup was still very slow.)

2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>

 * auth-source.el: Set up autoloads.  Bump to 23.2 because of the
 secrets.el dependency.
 (auth-sources): Add optional user name.  Add secrets.el configuration
 choice (unused right now).

2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>

 * gnus-sum.el (gnus-summary-make-menu-bar): Let
 `gnus-registry-install-shortcuts' fill in the functions.

 * gnus-registry.el (gnus-summary-misc-menu): Declare to avoid
 warnings.
 (gnus-registry-misc-menus): Variable to hold registry mark menus.
 (gnus-registry-install-shortcuts): Populate and use it in a
 `gnus-summary-menu-hook' lambda, under "Gnus"->"Registry Marks".

2010-03-20  Martin Stjernholm  <mast@lysator.liu.se>

 * nnimap.el (nnimap-decode-group-name, nnimap-encode-group-name):
 In-place substitutions for the group name encoding/decoding.
 (nnimap-find-minmax-uid, nnimap-possibly-change-group)
 (nnimap-retrieve-headers-progress, nnimap-possibly-change-group)
 (nnimap-retrieve-headers-progress, nnimap-request-article-part)
 (nnimap-update-unseen, nnimap-request-list)
 (nnimap-retrieve-groups, nnimap-request-update-info-internal)
 (nnimap-request-set-mark, nnimap-split-to-groups)
 (nnimap-split-articles, nnimap-request-newgroups)
 (nnimap-request-create-group, nnimap-request-accept-article)
 (nnimap-request-delete-group, nnimap-request-rename-group)
 (nnimap-acl-get, nnimap-acl-edit): Use them.  Replace `mbx' with
 `encoded-mbx' for consistency.
 (nnimap-close-group): Call `imap-current-mailbox' instead of using the
 variable `imap-current-mailbox'.

 * gnus-agent.el (gnus-agent-fetch-articles, gnus-agent-fetch-headers)
 (gnus-agent-regenerate-group): Use `gnus-agent-decoded-group-name'.

2010-03-20  Bojan Petrovic  <bpetrovi@f.bg.ac.rs>

 * pop3.el (pop3-display-message-size-flag): Display message size byte
 counts during POP3 download.
 (pop3-movemail): Use it.
 (pop3-list): Implement listing of available messages.

2010-03-20  Mark Triggs  <mst@dishevelled.net>  (tiny change)

 * nnir.el (nnir-get-article-nov-override-function): New function to
 override the normal NOV retrieval.
 (nnir-retrieve-headers): Use it.
2010-03-23 07:37:09 +00:00
Katsumi Yamaoka
1888398e25 Synch with Gnus trunk
=====================
2010-03-22  Teodor Zlatanov  <tzz@lifelogs.com>

 * gnus/gnus-setup.ast: Add finish links to the top nodes.

 * gnus/news-server.ast: Add some trivial validation.
2010-03-23 07:29:49 +00:00
Juri Linkov
f14d1172a2 * replace.el (occur-accumulate-lines, occur-engine):
Use `occur-engine-line' instead of duplicate code.
(occur-engine-line): New function created from duplicate code
in `occur-accumulate-lines' and `occur-engine'.
2010-03-23 09:16:57 +02:00
Juri Linkov
75a3ff20ab * finder.el: Remove TODO tasks.
* info.el (Info-finder-find-node): Add node "all"
with all package info.  Handle a list of multiple keywords
separated by comma.
(info-finder): In interactive use with a prefix argument,
use `completing-read-multiple' to read a list of keywords
separated by comma.
2010-03-23 09:11:50 +02:00
Dan Nicolaescu
814fb70858 * s/gnu-linux.h (LIBS_SYSTEM): Remove, same as default. 2010-03-22 19:47:41 -07:00
Dan Nicolaescu
38e3487ce8 * s/netbsd.h: Remove commented out code. 2010-03-22 19:42:25 -07:00
Dan Nicolaescu
5845f0ed5a Simplify LIBS_MACHINE definitions.
* m/hp800.h (LIBS_MACHINE): Remove, same as default.
* m/iris4d.h (LIBS_MACHINE): Likewise.
* m/ibmrs6000.h (LIBS_MACHINE): Rename to LIBS_SYSTEM and move ...
* s/aix4-2.h (LIBS_SYSTEM): ... here.
2010-03-22 19:39:19 -07:00
Glenn Morris
4c3a215a93 * textmodes/flyspell.el (sgml-lexical-context): Autoload it. (Bug#5752) 2010-03-22 19:37:11 -07:00
Stefan Monnier
002787475f Add a new completion style `substring'.
* minibuffer.el (completion-basic--pattern): New function.
(completion-basic-try-completion, completion-basic-all-completions): Use it.
(completion-substring--all-completions)
(completion-substring-try-completion)
(completion-substring-all-completions): New functions.
(completion-styles-alist): New style `substring'.
2010-03-22 20:59:49 -04:00
Dan Nicolaescu
df7734b220 Remove dead code dealing with POSIX_SIGNALS.
* atimer.c (set_alarm): Remove dead code, all USG systems define
POSIX_SIGNALS.
* data.c (arith_error): Likewise.
* keyboard.c (input_available_signal, handle_user_signal)
(interrupt_signal): Likewise.
* process.c (sigchld_handler): Likewise.
(create_process): Remove if 0 code.  Remove HPUX conditional when
!defined (POSIX_SIGNALS), it cannot be true.
* syssignal.h: Remove USG5_4 and USG conditionals when
!POSIX_SIGNALS, they cannot be true.
2010-03-22 12:51:59 -07:00
Chong Yidong
e9ba3e26e5 * indent.el (indent-for-tab-command): Doc fix. 2010-03-22 13:28:27 -04:00
Alan Mackenzie
657071fc07 cc-engine.el (c-remove-stale-state-cache): Fix off-by-one error. Fixes
bug #5747.
2010-03-22 17:21:22 +00:00
Juanma Barranquero
ceb245fc38 Fix typos. 2010-03-22 17:56:22 +01:00
Juanma Barranquero
c8de140b34 Fix typos in docstrings.
* image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
  (image-dired-read-comment): Doc fix.

* json.el (json-object-type, json-array-type, json-key-type, json-false)
  (json-null, json-read-number):
* minibuffer.el (completion-in-region-functions):
* calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
  (cal-tex-cursor-week):
* emacs-lisp/trace.el (trace-function):
* eshell/em-basic.el (eshell/printnl):
* eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
  (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
* obsolete/levents.el (allocate-event, event-key, event-object)
  (event-point, event-process, event-timestamp, event-to-character)
  (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
* textmodes/reftex-vars.el (reftex-index-macros-builtin)
  (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
  (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
  (reftex-highlight-selection): Fix typos in docstrings.
2010-03-22 17:50:29 +01:00
Juanma Barranquero
5f76fe28b9 Fix typos in mh-e.
* mh-scan.el (mh-scan-cmd-note-width): Doc fix.
  (mh-scan-format-mh, mh-scan-body-regexp, mh-scan-cur-msg-number-regexp)
  (mh-scan-cur-msg-number-regexp, mh-scan-date-regexp)
  (mh-scan-deleted-msg-regexp, mh-scan-good-msg-regexp)
  (mh-scan-msg-format-regexp, mh-scan-msg-format-string)
  (mh-scan-msg-number-regexp, mh-scan-rcpt-regexp)
  (mh-scan-refiled-msg-regexp, mh-scan-sent-to-me-sender-regexp)
  (mh-scan-subject-regexp, mh-update-scan-format)
  (mh-msg-num-width-to-column): Fix typos in docstrings.
2010-03-22 17:37:32 +01:00
Juanma Barranquero
2b8f62e986 Fix typos in Gnus.
* message.el (message-interactive): Doc fix.
  (message-qmail-inject-args): Reflow.
  (message-kill-to-signature): Fix typo in docstring.

* smiley.el (smiley-buffer): Fix typo in docstring.
2010-03-22 16:49:52 +01:00
Stefan Monnier
64cb11ccee Get rid of .elc files after removal of the corresponding .el.
* Makefile.in (compile-clean): New target.
(compile-main): Use it.
2010-03-22 09:33:21 -04:00
Jan Djärv
835e2c65be Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
don't do make there.  When compiling with separate object dir, there
is no Makefile there.
2010-03-22 08:50:40 +01:00
Jan Djärv
93318cbd40 bug #5736: Allow X-resource menuBar to take on/off as documented.
* frame.c (x_get_arg): Handle RES_TYPE_BOOLEAN_NUMBER (bug #5736).

* xfns.c (Fx_create_frame): Make menuBar a RES_TYPE_BOOLEAN_NUMBER.

* dispextern.h (resource_types): RES_TYPE_BOOLEAN_NUMBER is new.

* xresources.texi (Table of Resources): Clarify toolBar number
for Gtk+.

* frames.texi (Menu Bars): menuBarLines => menuBar (bug#5736).
2010-03-22 08:26:56 +01:00
Stefan Monnier
111a9dff67 Get rid of the ELCFILES abomination, again.
* Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
(all, compile): Don't call compile-last.
(compile-main): Build the "elcfiles" list dynamically.
(compile-targets): New (internal) target.
2010-03-22 00:24:25 -04:00
Dan Nicolaescu
b70640642e * keyboard.c (Fset_input_interrupt_mode): Remove code depending on NO_SOCK_SIGIO,
not used anymore.
2010-03-21 19:56:56 -07:00
Chong Yidong
4102856c09 * dired.texi (Dired Updating): Document dired-auto-revert-buffer. 2010-03-21 18:13:26 -04:00
Dan Nicolaescu
0be96e3a14 (BSD_SYSTEM, BSD4_2): Remove conditionals, we only
support vax on BSDs.
2010-03-21 12:59:04 -07:00
Dan Nicolaescu
55da5ee338 * m/ibmrs6000.h (ORDINARY_LINK): Move definition ...
* s/aix4-2.h (ORDINARY_LINK): ... here.
2010-03-21 12:32:38 -07:00
Chong Yidong
15cf2f5273 Document multi-isearch-buffers and tab-always-indent.
* search.texi (Other Repeating Search): Document multi-isearch-buffers
and multi-isearch-buffers-regexp.

* indent.texi (Indentation): Clarify description of
indent-for-tab-command.  Document tab-always-indent.
2010-03-21 14:32:19 -04:00
Chong Yidong
f7704e2669 * processes.texi (Network Processes): Document seqpacket type. 2010-03-21 11:28:53 -04:00
Chong Yidong
901c830b93 NEWS: Re-organize Lisp changes for Emacs 23.2. 2010-03-21 11:09:29 -04:00