]> git.eshelyaron.com Git - emacs.git/log
emacs.git
15 years agoAdded a small test suite for binding operations.
Tom Tromey [Wed, 9 Sep 2009 17:48:02 +0000 (19:48 +0200)]
Added a small test suite for binding operations.

Run it like: emacs --batch -l binding-testsuite.el -f binding-test-all

14 years agoDon't call turn_on_atimers around `connect' (Bug#5723).
YAMAMOTO Mitsuharu [Thu, 25 Mar 2010 08:56:15 +0000 (17:56 +0900)]
Don't call turn_on_atimers around `connect' (Bug#5723).

14 years agoCall `select' for interrupted `connect' rather than creating new socket (Bug#5173).
Helmut Eller [Thu, 25 Mar 2010 08:48:52 +0000 (17:48 +0900)]
Call `select' for interrupted `connect' rather than creating new socket (Bug#5173).

14 years agoClose bug#5755.
Glenn Morris [Thu, 25 Mar 2010 06:18:17 +0000 (23:18 -0700)]
Close bug#5755.

* desktop.el (desktop-save-buffer-p): Don't mistakenly include
all dired buffers, even tramp ones.

14 years agoFix wrong variable name.
Ted Zlatanov [Thu, 25 Mar 2010 01:14:42 +0000 (20:14 -0500)]
Fix wrong variable name.

(url-http-parse-headers): Fix wrong variable name.

14 years agoAdd "union tags" in mpc.el.
Stefan Monnier [Thu, 25 Mar 2010 00:06:08 +0000 (20:06 -0400)]
Add "union tags" in mpc.el.
* mpc.el: Remove backward compatibility code.
(mpc-browser-tags): Change default.
(mpc--find-memoize-union-tags): New var.
(mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
(mpc-cmd-find): Handle the case where the playlist does not exist.
Handle union-tags.
(mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
(mpc-cmd-add): Use mpc-cmd-flush.
(mpc-tagbrowser-tag-name): New fun.
(mpc-tagbrowser-buf): Use it.
(mpc-songs-refresh): Use cond.  Move to point-min as a fallback.

14 years agoMisc cleanup.
Stefan Monnier [Wed, 24 Mar 2010 23:56:43 +0000 (19:56 -0400)]
Misc cleanup.
* progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
Use replace-regexp-in-string.
(makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
(makefile-imake-mode-syntax-table): Move init into defvar.
(makefile-mode): Use define-derived-mode.

14 years agoMerge from `emacs-23'.
Stefan Monnier [Wed, 24 Mar 2010 18:02:56 +0000 (14:02 -0400)]
Merge from `emacs-23'.

14 years ago* vc-dir.el (vc-dir-headers): Abbreviate the working dir.
Stefan Monnier [Wed, 24 Mar 2010 17:33:39 +0000 (13:33 -0400)]
* vc-dir.el (vc-dir-headers): Abbreviate the working dir.

14 years ago(makefile-rule-action-regex): Backtrack less.
Stefan Monnier [Wed, 24 Mar 2010 15:57:16 +0000 (11:57 -0400)]
(makefile-rule-action-regex): Backtrack less.
(makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
not be present any more.

14 years agofix a typo in last patch
Sam Steingold [Wed, 24 Mar 2010 13:41:07 +0000 (09:41 -0400)]
fix a typo in last patch

14 years agoAdd a list of HTTP status code symbols and their text, mapped by number.
Ted Zlatanov [Wed, 24 Mar 2010 09:30:28 +0000 (04:30 -0500)]
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.

14 years ago* vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
Glenn Morris [Wed, 24 Mar 2010 06:32:45 +0000 (23:32 -0700)]
* vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
log-edit-before-checkin-process.

14 years ago* cedet/ede/project-am.el (ede-shell-run-something): Declare.
Glenn Morris [Wed, 24 Mar 2010 03:53:32 +0000 (20:53 -0700)]
* cedet/ede/project-am.el (ede-shell-run-something): Declare.

14 years ago* vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
Glenn Morris [Wed, 24 Mar 2010 03:38:17 +0000 (20:38 -0700)]
* vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.

14 years ago* vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
Glenn Morris [Wed, 24 Mar 2010 03:34:06 +0000 (20:34 -0700)]
* vc-bzr.el, vc-hg.el (log-edit-mode): Declare.

14 years ago* vc-dispatcher.el (vc-start-logentry): Doc fix.
Glenn Morris [Wed, 24 Mar 2010 03:30:53 +0000 (20:30 -0700)]
* vc-dispatcher.el (vc-start-logentry): Doc fix.
(log-view-process-buffer, log-edit-extra-flags): Declare.

14 years ago* log-edit.el (log-edit-before-checkin-process): Doc fix.
Glenn Morris [Wed, 24 Mar 2010 03:27:24 +0000 (20:27 -0700)]
* log-edit.el (log-edit-before-checkin-process): Doc fix.

14 years ago* mail-source.el (gnus-message): Declare.
Glenn Morris [Wed, 24 Mar 2010 03:21:53 +0000 (20:21 -0700)]
* mail-source.el (gnus-message): Declare.
(mail-source-delete-old-incoming): Require gnus-util.

14 years ago* cedet/semantic/bovine/c.el (semantic-c-describe-environment):
Glenn Morris [Wed, 24 Mar 2010 03:19:15 +0000 (20:19 -0700)]
* cedet/semantic/bovine/c.el (semantic-c-describe-environment):
Consistently check ede-object is bound throughout.

14 years agoClose bug#5759.
Glenn Morris [Wed, 24 Mar 2010 03:02:42 +0000 (20:02 -0700)]
Close bug#5759.

* ack.texi (Acknowledgments):
* emacs.texi (Acknowledgments): Fix ispell attribution.

14 years agoFix typos in Changelog.
Juanma Barranquero [Wed, 24 Mar 2010 00:18:03 +0000 (01:18 +0100)]
Fix typos in Changelog.

14 years agoFix typos.
Juanma Barranquero [Wed, 24 Mar 2010 00:17:31 +0000 (01:17 +0100)]
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.

14 years ago* frames.texi (Cursor Parameters): Fix typo. (Bug#5760)
Arni Magnusson [Wed, 24 Mar 2010 00:16:45 +0000 (01:16 +0100)]
* frames.texi (Cursor Parameters): Fix typo.  (Bug#5760)

14 years agoFix bug#5620: recalculate all markers on compilation buffer
Sam Steingold [Tue, 23 Mar 2010 18:22:46 +0000 (14:22 -0400)]
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.

14 years agoupdate author's email
Sam Steingold [Tue, 23 Mar 2010 16:27:10 +0000 (12:27 -0400)]
update author's email

14 years ago* occur-testsuite.el: New file.
Juri Linkov [Tue, 23 Mar 2010 16:18:52 +0000 (18:18 +0200)]
* occur-testsuite.el: New file.

14 years agoImplement Occur multi-line matches.
Juri Linkov [Tue, 23 Mar 2010 16:09:45 +0000 (18:09 +0200)]
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'.

14 years ago* replace.el (occur-engine-line): Add optional arg `keep-props'.
Juri Linkov [Tue, 23 Mar 2010 15:48:09 +0000 (17:48 +0200)]
* replace.el (occur-engine-line): Add optional arg `keep-props'.
(occur-accumulate-lines, occur-engine): Add arg `keep-props'.

14 years agoSynch with Gnus trunk
Katsumi Yamaoka [Tue, 23 Mar 2010 07:37:09 +0000 (07:37 +0000)]
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.

14 years agoSynch with Gnus trunk
Katsumi Yamaoka [Tue, 23 Mar 2010 07:29:49 +0000 (07:29 +0000)]
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.

14 years ago* replace.el (occur-accumulate-lines, occur-engine):
Juri Linkov [Tue, 23 Mar 2010 07:16:57 +0000 (09:16 +0200)]
* 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'.

14 years ago* finder.el: Remove TODO tasks.
Juri Linkov [Tue, 23 Mar 2010 07:11:50 +0000 (09:11 +0200)]
* 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.

14 years ago* s/gnu-linux.h (LIBS_SYSTEM): Remove, same as default.
Dan Nicolaescu [Tue, 23 Mar 2010 02:47:41 +0000 (19:47 -0700)]
* s/gnu-linux.h (LIBS_SYSTEM): Remove, same as default.

14 years ago* s/netbsd.h: Remove commented out code.
Dan Nicolaescu [Tue, 23 Mar 2010 02:42:25 +0000 (19:42 -0700)]
* s/netbsd.h: Remove commented out code.

14 years agoSimplify LIBS_MACHINE definitions.
Dan Nicolaescu [Tue, 23 Mar 2010 02:39:19 +0000 (19:39 -0700)]
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.

14 years ago* textmodes/flyspell.el (sgml-lexical-context): Autoload it. (Bug#5752)
Glenn Morris [Tue, 23 Mar 2010 02:37:11 +0000 (19:37 -0700)]
* textmodes/flyspell.el (sgml-lexical-context): Autoload it.  (Bug#5752)

14 years agoAdd a new completion style `substring'.
Stefan Monnier [Tue, 23 Mar 2010 00:59:49 +0000 (20:59 -0400)]
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'.

14 years agoRemove dead code dealing with POSIX_SIGNALS.
Dan Nicolaescu [Mon, 22 Mar 2010 19:51:59 +0000 (12:51 -0700)]
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.

14 years ago* indent.el (indent-for-tab-command): Doc fix.
Chong Yidong [Mon, 22 Mar 2010 17:28:27 +0000 (13:28 -0400)]
* indent.el (indent-for-tab-command): Doc fix.

14 years agocc-engine.el (c-remove-stale-state-cache): Fix off-by-one error. Fixes
Alan Mackenzie [Mon, 22 Mar 2010 17:21:22 +0000 (17:21 +0000)]
cc-engine.el (c-remove-stale-state-cache): Fix off-by-one error.  Fixes
bug #5747.

14 years agoFix typos.
Juanma Barranquero [Mon, 22 Mar 2010 16:56:22 +0000 (17:56 +0100)]
Fix typos.

14 years agoFix typos in docstrings.
Juanma Barranquero [Mon, 22 Mar 2010 16:50:29 +0000 (17:50 +0100)]
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.

14 years agoFix typos in mh-e.
Juanma Barranquero [Mon, 22 Mar 2010 16:37:32 +0000 (17:37 +0100)]
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.

14 years agoFix typos in Gnus.
Juanma Barranquero [Mon, 22 Mar 2010 15:49:52 +0000 (16:49 +0100)]
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.

14 years agoGet rid of .elc files after removal of the corresponding .el.
Stefan Monnier [Mon, 22 Mar 2010 13:33:21 +0000 (09:33 -0400)]
Get rid of .elc files after removal of the corresponding .el.
* Makefile.in (compile-clean): New target.
(compile-main): Use it.

14 years agoMakefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
Jan Djärv [Mon, 22 Mar 2010 07:50:40 +0000 (08:50 +0100)]
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.

14 years agobug #5736: Allow X-resource menuBar to take on/off as documented.
Jan Djärv [Mon, 22 Mar 2010 07:26:56 +0000 (08:26 +0100)]
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).

14 years agoGet rid of the ELCFILES abomination, again.
Stefan Monnier [Mon, 22 Mar 2010 04:24:25 +0000 (00:24 -0400)]
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.

14 years ago* keyboard.c (Fset_input_interrupt_mode): Remove code depending on NO_SOCK_SIGIO,
Dan Nicolaescu [Mon, 22 Mar 2010 02:56:56 +0000 (19:56 -0700)]
* keyboard.c (Fset_input_interrupt_mode): Remove code depending on NO_SOCK_SIGIO,
not used anymore.

14 years ago* dired.texi (Dired Updating): Document dired-auto-revert-buffer.
Chong Yidong [Sun, 21 Mar 2010 22:13:26 +0000 (18:13 -0400)]
* dired.texi (Dired Updating): Document dired-auto-revert-buffer.

14 years ago(BSD_SYSTEM, BSD4_2): Remove conditionals, we only
Dan Nicolaescu [Sun, 21 Mar 2010 19:59:04 +0000 (12:59 -0700)]
(BSD_SYSTEM, BSD4_2): Remove conditionals, we only
support vax on BSDs.

14 years ago* m/ibmrs6000.h (ORDINARY_LINK): Move definition ...
Dan Nicolaescu [Sun, 21 Mar 2010 19:32:38 +0000 (12:32 -0700)]
* m/ibmrs6000.h (ORDINARY_LINK): Move definition ...
* s/aix4-2.h (ORDINARY_LINK): ... here.

14 years agoDocument multi-isearch-buffers and tab-always-indent.
Chong Yidong [Sun, 21 Mar 2010 18:32:19 +0000 (14:32 -0400)]
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.

14 years ago* processes.texi (Network Processes): Document seqpacket type.
Chong Yidong [Sun, 21 Mar 2010 15:28:53 +0000 (11:28 -0400)]
* processes.texi (Network Processes): Document seqpacket type.

14 years agoNEWS: Re-organize Lisp changes for Emacs 23.2.
Chong Yidong [Sun, 21 Mar 2010 15:09:29 +0000 (11:09 -0400)]
NEWS: Re-organize Lisp changes for Emacs 23.2.

14 years agoUse absolute directory names substituted by configure
Andreas Schwab [Sun, 21 Mar 2010 11:57:49 +0000 (12:57 +0100)]
Use absolute directory names substituted by configure

* lisp/Makefile.in (top_srcdir): Define.
(abs_top_builddir): Define.
(srcdir): Don't append `/..'.
(EMACS): Use ${abs_top_builddir}.
(all, compile, compile-always, compile-last): Don't set emacswd.
(update-subdirs, update-authors): Use $(top_srcdir) instead of
$(srcdir).
(lisp): Use $(srcdir) instead of @srcdir@.
* src/Makefile.in (abs_builddir): Define.
(bootstrap_exe): Use it.
(VPATH): Use $(srcdir) instead of @srcdir@.

14 years agoExpand ${bootstrap_exe} before chdir
Andreas Schwab [Sun, 21 Mar 2010 11:27:46 +0000 (12:27 +0100)]
Expand ${bootstrap_exe} before chdir

14 years agoFix message of multi-line occur regexps and multi-buffer header lines.
Juri Linkov [Sun, 21 Mar 2010 10:52:51 +0000 (12:52 +0200)]
Fix message of multi-line occur regexps and multi-buffer header lines.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html

* replace.el (occur-1): Don't display regexp if it is longer
than window-width.  Use `query-replace-descr' to display regexp.
(occur-engine): Don't display regexp in the buffer header for
multi-buffer occur.  Display a separate header line with total
match count and regexp for multi-buffer occur.
Use `query-replace-descr' to display regexp.

14 years agoUse more relative file and directory names in `lisp' make rules.
Stefan Monnier [Sat, 20 Mar 2010 21:46:31 +0000 (17:46 -0400)]
Use more relative file and directory names in `lisp' make rules.
* lisp/Makefile.in (EMACS): Arrange for it to work when we chdir.
(setwins, setwins_almost, setwins_for_subdirs):
Don't `cd'; output relative names.
(all, compile, compile-always, compile-last): Set emacswd.
(custom-deps, finder-data, autoloads, update-subdirs, compile-last):
Just cd to the lisp source dir so we can use relative file names.
* src/Makefile.in (bootstrap_exe): Use an absolute name.

14 years agoFix unbalanced parenthesis in secrets.el.
Ted Zlatanov [Sat, 20 Mar 2010 19:21:44 +0000 (14:21 -0500)]
Fix unbalanced parenthesis in secrets.el.

Fix parenthesis.
(secrets-enabled): Fix parenthesis.

14 years ago(hide-sublevels): Unfix the paren non-typo! (bug#5738).
Stefan Monnier [Sat, 20 Mar 2010 19:04:44 +0000 (15:04 -0400)]
(hide-sublevels): Unfix the paren non-typo! (bug#5738).

14 years agoUse faces not variables for font-lock customization in rst.el.
Glenn Morris [Sat, 20 Mar 2010 18:17:59 +0000 (11:17 -0700)]
Use faces not variables for font-lock customization in rst.el.

* textmodes/rst.el: (rst-block, rst-external, rst-definition, rst-directive)
(rst-comment, rst-emphasis1, rst-emphasis2, rst-literal, rst-reference):
New faces.
(rst-block-face, rst-external-face, rst-definition-face)
(rst-directive-face, rst-comment-face, rst-emphasis1-face)
(rst-emphasis2-face, rst-literal-face, rst-reference-face):
Make obsolete.
(rst-font-lock-keywords-function): Update for above changes.

14 years agoCosmetic changes to lib-src/Makefile.in.
Glenn Morris [Sat, 20 Mar 2010 18:13:46 +0000 (11:13 -0700)]
Cosmetic changes to lib-src/Makefile.in.

* Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
(LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
defining these as Makefile variables.
(LIBS_MOVE): Add LIBS_MAIL into this.
(movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.

14 years agoDocument font-use-system-font.
Chong Yidong [Sat, 20 Mar 2010 17:24:06 +0000 (13:24 -0400)]
Document font-use-system-font.

* cmdargs.texi (Font X): Move most content to Fonts.

* frames.texi (Fonts): New node.  Document font-use-system-font.

* emacs.texi (Top):
* xresources.texi (Table of Resources):
* mule.texi (Defining Fontsets, Charsets): Update xrefs.

14 years agoRemove support for old GNU/Linux using libc version 5.
Dan Nicolaescu [Sat, 20 Mar 2010 08:11:59 +0000 (01:11 -0700)]
Remove support for old GNU/Linux using libc version 5.
* m/alpha.h (LINUX_SBRK_BUG): Remove definition.
* emacs.c (main): Remove code depending on LINUX_SBRK_BUG.

14 years agoConsolidate redundant definitions in s/bsd-common.h.
Dan Nicolaescu [Sat, 20 Mar 2010 07:57:11 +0000 (00:57 -0700)]
Consolidate redundant definitions in s/bsd-common.h.
* s/bsd-common.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
(LDAV_SYMBOL, KERNEL_FILE): Define (or undefine) here instead of
doing it in all files that include this one.
* s/gnu.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
(LDAV_SYMBOL, KERNEL_FILE): Remove.
* s/freebsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
(LDAV_SYMBOL, KERNEL_FILE): Remove.
* s/netbsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
(LDAV_SYMBOL, KERNEL_FILE): Remove.

14 years agoConsolidate redundant definitions.
Dan Nicolaescu [Sat, 20 Mar 2010 07:09:31 +0000 (00:09 -0700)]
Consolidate redundant definitions.
* s/usg5-4.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not define,
it's undefined in all files that include this one.
(POSIX_SIGNALS): Define here instead of doing it in all files that
include this one.
* s/irix6-5.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
(POSIX_SIGNALS): Do not define.
* s/sol2-6.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
(POSIX_SIGNALS): Do not define.
* s/unixware.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
(POSIX_SIGNALS): Do not define.

14 years agoRemove support for old UNIX System V systems.
Dan Nicolaescu [Sat, 20 Mar 2010 06:48:13 +0000 (23:48 -0700)]
Remove support for old UNIX System V systems.
* s/unixware.h: Add the contents of s/usg-5-4-2.h.
* s/usg-5-4-2.h: Remove.

* configure.in: Remove support for old UNIX System V systems and
for Unixware on non-x86 machines.

14 years agoRemove support for Solaris on PPC and for old versions.
Dan Nicolaescu [Sat, 20 Mar 2010 05:52:55 +0000 (22:52 -0700)]
Remove support for Solaris on PPC and for old versions.
* s/sol2-6.h: Add the contents of s/sol-2.3.h, s/sol-2.4.h, s/sol-2.5.h.
(LD_SWITCH_SYSTEM, USE_MMAP_FOR_BUFFERS): Remove #defines/#undef
that cancel each other.
* s/sol2-3.h:
* s/sol2-4.h:
* s/sol2-5.h: Remove.
* m/ibmrs6000.h: Remove code for USG5_4, this file is only used on AIX.
(NO_REMAP): Remove, unused.
(UNEXEC): Move definition ...
* s/aix4-2.h (UNEXEC): ... here.

* configure.in: Remove support for Solaris on PPC and for old versions.

14 years ago* s/openbsd.h: Remove support for non-ELF and for systems that do
Dan Nicolaescu [Sat, 20 Mar 2010 05:18:05 +0000 (22:18 -0700)]
* s/openbsd.h: Remove support for non-ELF and for systems that do
not support shared libraries.
* s/netbsd.h:
* s/freebsd.h: Likewise.

14 years agoxfns.c (Fx_create_frame) [USE_LUCID]: Add BLOCK_INPUT around XLoadQueryFont.
YAMAMOTO Mitsuharu [Sat, 20 Mar 2010 03:37:39 +0000 (12:37 +0900)]
xfns.c (Fx_create_frame) [USE_LUCID]: Add BLOCK_INPUT around XLoadQueryFont.

14 years ago* s-region.el: Move to obsolete.
Juri Linkov [Sat, 20 Mar 2010 01:29:12 +0000 (03:29 +0200)]
* s-region.el: Move to obsolete.

14 years agoRemove non-working support for lynxos 3.0.
Dan Nicolaescu [Sat, 20 Mar 2010 01:03:39 +0000 (18:03 -0700)]
Remove non-working support for lynxos 3.0.
* s/lynxos.h: Remove file.

* unexec.c (unexec, adjust_lnnoptrs): Do not depend on
COFF_BSD_SYMBOLS, nothing defines it anymore.

* os.texi (System Environment): Do not mention lynxos.

* configure.in: Remove non-working lynxos port.

14 years agoRemove obsolete uses of HAVE_SHM.
Dan Nicolaescu [Sat, 20 Mar 2010 00:46:01 +0000 (17:46 -0700)]
Remove obsolete uses of HAVE_SHM.
* emacs.c (standard_args):
(Fdump_emacs):
(syms_of_emacs): Remove code depending on HAVE_SHM.

* alloc.c: Remove HAVE_SHM dependent definition.

* Makefile.in (RUN_TEMACS): Do not depend on HAVE_SHM.

14 years ago`make uninstall' fix (Bug#5620).
Chong Yidong [Fri, 19 Mar 2010 15:27:49 +0000 (11:27 -0400)]
`make uninstall' fix (Bug#5620).

* Makefile.in (uninstall): Handle the case where archlibdir does
not exist.  (Bug#5720)

14 years agoDocument Bug#5541.
Chong Yidong [Fri, 19 Mar 2010 15:15:27 +0000 (11:15 -0400)]
Document Bug#5541.

14 years agolisp/vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
Juanma Barranquero [Fri, 19 Mar 2010 14:19:54 +0000 (15:19 +0100)]
lisp/vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.

14 years ago* lisp/minibuffer.el (completion-in-region-functions): Fix docstring typos.
Juanma Barranquero [Fri, 19 Mar 2010 13:22:15 +0000 (14:22 +0100)]
* lisp/minibuffer.el (completion-in-region-functions): Fix docstring typos.

14 years ago* auth-source.el (netrc-machine-user-or-password): Autoload.
Michael Albinus [Fri, 19 Mar 2010 10:29:02 +0000 (11:29 +0100)]
* auth-source.el (netrc-machine-user-or-password): Autoload.

14 years ago* .dir-locals.el (c-mode): Turn on whitespace-mode for diff-mode.
Dan Nicolaescu [Fri, 19 Mar 2010 09:46:08 +0000 (02:46 -0700)]
* .dir-locals.el (c-mode): Turn on whitespace-mode for diff-mode.

14 years ago* vc-hooks.el (vc-path): Remove variable and obsolete declaration.
Dan Nicolaescu [Fri, 19 Mar 2010 09:42:13 +0000 (02:42 -0700)]
* vc-hooks.el (vc-path): Remove variable and obsolete declaration.

14 years agoAdd special markup processing for commit logs.
Dan Nicolaescu [Fri, 19 Mar 2010 09:37:41 +0000 (02:37 -0700)]
Add special markup processing for commit logs.
* log-edit.el (log-edit-extra-flags): New variable.
(log-edit): Add new argument MODE.  Use that mode when non-nil
instead of the log-view-mode.
(log-view-process-buffer): New function.

* vc.el: Document that the checkin method takes optional
arguments.  Document new backend specific method: log-view-mode.
(vc-default-log-edit-mode): New function.
(vc-checkin): Use a backend specific log-view-mode.
Pass extra arguments to the checkin method.
(vc-modify-change-comment): Pass a dummy extra argument.

* vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
log-edit.
(vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
(vc-finish-logentry): Process the log buffer before passing it
down.  Pass log-edit-extra-flags.

* vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
command.
(log-edit-extra-flags, log-edit-before-checkin-process): New declarations.

* vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
command.
(log-edit-extra-flags, log-edit-before-checkin-process): New declarations.
(vc-hg-log-edit-mode): New derived mode.

* vc-arch.el (vc-arch-checkin):
* vc-cvs.el (vc-cvs-checkin):
* vc-git.el (vc-git-checkin):
* vc-mtn.el (vc-mtn-checkin):
* vc-rcs.el (vc-rcs-checkin):
* vc-sccs.el (vc-sccs-checkin):
* vc-svn.el (vc-svn-checkin): Add an optional ignored argument.

14 years ago(hide-sublevels): Don't hide trailing newline (and fix paren typo).
Stefan Monnier [Fri, 19 Mar 2010 03:32:47 +0000 (23:32 -0400)]
(hide-sublevels): Don't hide trailing newline (and fix paren typo).

14 years agoRegenerate ldefs-boot.el.
Glenn Morris [Fri, 19 Mar 2010 03:19:09 +0000 (20:19 -0700)]
Regenerate ldefs-boot.el.

14 years agoStop message.el from loading about 40 libraries it doesn't always need.
Glenn Morris [Fri, 19 Mar 2010 02:55:37 +0000 (19:55 -0700)]
Stop message.el from loading about 40 libraries it doesn't always need.
The general approach is to autoload rather than require, and to
require in the specific functions rather than the file.  (Bug#5642)

* url/url.el: Move mailcap require earlier in the file.

* gnus/gmm-utils.el: Don't require wid-edit.
(widget-create-child-value, widget-convert, widget-default-get):
Autoload.

* gnus/gnus-util.el: Don't require time-date, netrc.
(message-fetch-field, gnus-group-name-decode): Declare rather than
autoloading.
(gnus-fetch-field): Require message.
(gnus-decode-newsgroups): Require gnus-group.

* gnus/ietf-drums.el: Don't require time-date.

* gnus/message.el: Don't require hashcash, canlock, ecomplete.
Do require mail-utils.  Require nnheader only when compiling.
(smtpmail-default-smtp-server): Remove declaration.
(message-send-mail-function): Check smtpmail-default-smtp-server
is bound rather than requiring smtpmail.
(message-auto-save-directory, message-insert-signature): Use
expand-file-name rather than nnheader-concat.
(nnheader-insert-file-contents): Autoload.
(hashcash-wait-async): Declare.
(message-send-mail): Only call gnus-setup-posting-charset if
gnus-group-posting-charset-alist is bound.  Require hashcash if needed.
(message-send-mail-with-sendmail): Require sendmail.
(canlock-password, canlock-password-for-verify): Declare.
(message-canlock-password): Require canlock.
(nnheader-get-report): Autoload.
(gnus-setup-posting-charset): Declare.
(message-send-news): Require gnus-msg.
(message-make-references, message-make-in-reply-to): Use mail-header-id
rather than the alias mail-header-message-id.
(ecomplete-add-item, ecomplete-save): Declare.
(message-put-addresses-in-ecomplete): Require ecomplete.
(ecomplete-display-matches): Autoload.

* gnus/mm-decode.el: Don't require mailcap, gnus-util.
(gnus-map-function, gnus-replace-in-string, gnus-read-shell-command)
(message-fetch-field, mailcap-parse-mailcaps, mailcap-mime-info):
Autoload.
(mailcap-mime-extensions): Declare.

* gnus/mm-encode.el: Don't require mailcap.
(mailcap-extension-to-mime): Autoload.

* gnus/mml-sec.el: Don't require password-cache.

* gnus/mml.el (gnus-setup-posting-charset): Declare rather than autoload.
(mailcap-parse-mimetypes, mailcap-mime-types): Declare.
(mml-minibuffer-read-type): Require mailcap.
(mml-preview): Require gnus-msg.

* gnus/mml1991.el: Require password-cache.
(password-cache-expiry): Remove declaration.

* gnus/mml2015.el: Require password-cache.
(password-cache-expiry): Remove declaration.

* gnus/nneething.el (mailcap): Require mailcap.

* gnus/nnheader.el: (declare-function): Add compatibility stub.
(message-remove-header): Declare rather than autoload.
(nnheader-replace-header): Require message.

* gnus/nnimap.el (declare-function): Add compatibility stub.
(netrc-parse, netrc-machine-user-or-password): Declare.
(nnimap-open-connection): Require netrc.

* gnus/nntp.el (declare-function): Add compatibility stub.
(netrc-parse, netrc-machine, netrc-get): Declare.
(nntp-send-authinfo): Require netrc.

* gnus/rfc2047.el: Don't require qp.
(quoted-printable-encode-region, quoted-printable-decode-string):
Autoload.

* gnus/sieve-mode.el: Don't require easymenu.
(easy-menu-add-item): Autoload it.

* gnus/spam-stat.el (time-to-number-of-days): Autoload it.

* password-cache.el (password-cache, password-cache-expiry):
Autoload.

14 years agoRegenerate src/config.in.
Glenn Morris [Fri, 19 Mar 2010 02:44:37 +0000 (19:44 -0700)]
Regenerate src/config.in.

14 years ago* configure.in (HAVE_LIBNCURSES): Add a description to make autoheader happy.
Glenn Morris [Fri, 19 Mar 2010 02:42:32 +0000 (19:42 -0700)]
* configure.in (HAVE_LIBNCURSES): Add a description to make autoheader happy.

14 years agoCheck for tputs and friends, abort if not found (bug #5735)
Jan Djärv [Thu, 18 Mar 2010 11:56:23 +0000 (12:56 +0100)]
Check for tputs and friends, abort if not found (bug #5735)

14 years ago* emacs-lisp/autoload.el (autoload-rubric): Doc fix.
Glenn Morris [Thu, 18 Mar 2010 06:47:12 +0000 (23:47 -0700)]
* emacs-lisp/autoload.el (autoload-rubric): Doc fix.

14 years agoUse query-replace-{from,to}-history-variable in more places.
Glenn Morris [Thu, 18 Mar 2010 06:44:36 +0000 (23:44 -0700)]
Use query-replace-{from,to}-history-variable in more places.

* replace.el (query-replace-history): Give it a doc string.
(map-query-replace-regexp): Use query-replace-from-history-variable
and query-replace-to-history-variable.

14 years agoSimplify some leim/Makefile.in clean rules.
Glenn Morris [Thu, 18 Mar 2010 06:37:26 +0000 (23:37 -0700)]
Simplify some leim/Makefile.in clean rules.

* Makefile.in (maintainer-clean): Use bootstrap-clean.
(extraclean): Fix deletion patterns.

14 years ago* Makefile.in (dot): Remove, since ../ is used throughout the other Makefiles.
Glenn Morris [Thu, 18 Mar 2010 06:33:39 +0000 (23:33 -0700)]
* Makefile.in (dot): Remove, since ../ is used throughout the other Makefiles.

14 years agoRemove obsolete code in emacs.c that chooses a bug reporting address.
Glenn Morris [Thu, 18 Mar 2010 06:27:55 +0000 (23:27 -0700)]
Remove obsolete code in emacs.c that chooses a bug reporting address.

* emacs.c (USAGE4): Hard-code bug address.
(REPORT_EMACS_BUG_ADDRESS, REPORT_EMACS_BUG_PRETEST_ADDRESS): Remove.
(bug_reporting_address): Remove.
(main): Don't call bug_reporting_address.

14 years ago* mail/hashcash.el (declare-function): Remove duplicate definition.
Glenn Morris [Thu, 18 Mar 2010 06:21:21 +0000 (23:21 -0700)]
* mail/hashcash.el (declare-function): Remove duplicate definition.

14 years agoMinor simplifications for emacsbug.el.
Glenn Morris [Thu, 18 Mar 2010 06:18:47 +0000 (23:18 -0700)]
Minor simplifications for emacsbug.el.

* mail/emacsbug.el (report-emacs-bug-pretest-address):
Make it an obsolete alias for report-emacs-bug-address.
(message-strip-special-text-properties): Declare.
(report-emacs-bug): Remove test for a pretest bug address.
Combine message-mode-specific code.

14 years agoRemove supercite.el's need for sendmail.el.
Glenn Morris [Thu, 18 Mar 2010 06:13:45 +0000 (23:13 -0700)]
Remove supercite.el's need for sendmail.el.

* mail/supercite.el: Don't require sendmail.
(mh-in-header-p): Declare rather than using with-no-warnings.
(sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.

14 years ago* configure: Fix comment mistake in previous change.
Glenn Morris [Thu, 18 Mar 2010 05:59:32 +0000 (22:59 -0700)]
* configure: Fix comment mistake in previous change.

14 years agoRegenerate configure.
Glenn Morris [Thu, 18 Mar 2010 05:57:21 +0000 (22:57 -0700)]
Regenerate configure.

14 years agoDoc fix.
Glenn Morris [Thu, 18 Mar 2010 05:54:09 +0000 (22:54 -0700)]
Doc fix.

* configure.in (--with-x-toolkit): In the help text, say which options
are synonyms.