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'.
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.
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.
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'.
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.
Dan Nicolaescu [Tue, 23 Mar 2010 02:47:41 +0000 (19:47 -0700)]
* s/gnu-linux.h (LIBS_SYSTEM): Remove, same as default.
Dan Nicolaescu [Tue, 23 Mar 2010 02:42:25 +0000 (19:42 -0700)]
* s/netbsd.h: Remove commented out code.
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.
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'.
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.
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.
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.
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.
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.
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.
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.
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@.
Andreas Schwab [Sun, 21 Mar 2010 11:27:46 +0000 (12:27 +0100)]
Expand ${bootstrap_exe} before chdir
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.
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.
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.
Stefan Monnier [Sat, 20 Mar 2010 19:04:44 +0000 (15:04 -0400)]
(hide-sublevels): Unfix the paren non-typo! (bug#5738).
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.
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.
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.
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.
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.
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.
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.
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.
Juri Linkov [Sat, 20 Mar 2010 01:29:12 +0000 (03:29 +0200)]
* s-region.el: Move to obsolete.
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.
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.
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'.
Michael Albinus [Fri, 19 Mar 2010 10:29:02 +0000 (11:29 +0100)]
* auth-source.el (netrc-machine-user-or-password): Autoload.
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.
Dan Nicolaescu [Fri, 19 Mar 2010 09:42:13 +0000 (02:42 -0700)]
* vc-hooks.el (vc-path): Remove variable and obsolete declaration.
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.
Stefan Monnier [Fri, 19 Mar 2010 03:32:47 +0000 (23:32 -0400)]
(hide-sublevels): Don't hide trailing newline (and fix paren typo).
Glenn Morris [Fri, 19 Mar 2010 03:19:09 +0000 (20:19 -0700)]
Regenerate ldefs-boot.el.
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.
Glenn Morris [Fri, 19 Mar 2010 02:44:37 +0000 (19:44 -0700)]
Regenerate src/config.in.
Glenn Morris [Fri, 19 Mar 2010 02:42:32 +0000 (19:42 -0700)]
* configure.in (HAVE_LIBNCURSES): Add a description to make autoheader happy.
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)
Glenn Morris [Thu, 18 Mar 2010 06:47:12 +0000 (23:47 -0700)]
* emacs-lisp/autoload.el (autoload-rubric): Doc fix.
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.
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.
Glenn Morris [Thu, 18 Mar 2010 06:33:39 +0000 (23:33 -0700)]
* Makefile.in (dot): Remove, since ../ is used throughout the other Makefiles.
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.
Glenn Morris [Thu, 18 Mar 2010 06:21:21 +0000 (23:21 -0700)]
* mail/hashcash.el (declare-function): Remove duplicate definition.
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.
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'.
Glenn Morris [Thu, 18 Mar 2010 05:59:32 +0000 (22:59 -0700)]
* configure: Fix comment mistake in previous change.
Glenn Morris [Thu, 18 Mar 2010 05:57:21 +0000 (22:57 -0700)]
Regenerate configure.
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.
Glenn Morris [Thu, 18 Mar 2010 05:49:31 +0000 (22:49 -0700)]
Replace some cpp with autoconf.
* configure.in (--with-mmdf, --with-mail-unlink):
New options, off by default.
(--with-mailhost): New option to set default POP host.
(LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF, LIBGPM, LIBS_MAIL)
(LIBHESIOD, LIBRESOLV, COM_ERRLIB, CRYPTOLIB, KRB5LIB, DESLIB, KRB4LIB):
New variables, substituted in Makefiles.
(try_libungif, ac_gif_lib_name): Replace with HAVE_GIF=maybe, LIBGIF.
(LIBGIF): Use AC_SUBST rather than AC_DEFINE.
(HAVE_LIBMAIL, HAVE_LIBLOCKFILE, HAVE_LIBCOM_ERR, HAVE_LIBCRYPTO)
(HAVE_LIBK5CRYPTO, HAVE_LIBKRB5, HAVE_LIBDES425, HAVE_LIBDES)
(HAVE_LIBKRB4, HAVE_LIBKRB): New AC_DEFINEs.
* lib-src/Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
(HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
(BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
* src/Makefile.in (XFT_LIBS, LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF)
(LIBGPM, LIBRESOLV): Set using autoconf rather than cpp.
Glenn Morris [Thu, 18 Mar 2010 05:25:13 +0000 (22:25 -0700)]
* calendar/cal-french.el: Convert to utf-8.
Tetsurou Okazaki [Thu, 18 Mar 2010 05:17:11 +0000 (22:17 -0700)]
Close bug#5720.
* Makefile.in, lib-src/Makefile.in (uninstall): Handle the case where
archlibdir does not exist.
Glenn Morris [Thu, 18 Mar 2010 04:54:51 +0000 (21:54 -0700)]
* files.el (interpreter-mode-alist): Use emacs-lisp-mode for Emacs scripts.
Katsumi Yamaoka [Wed, 17 Mar 2010 02:51:21 +0000 (02:51 +0000)]
(mml-read-tag): Unquote values with `read' to reverse prin1 in mml-insert-tag
(just stripping the quotes gave wrong value if any backslash escapes).
From Kevin Ryde <user42@zip.com.au>.
Michael Albinus [Tue, 16 Mar 2010 16:45:07 +0000 (17:45 +0100)]
* net/secrets.el (secrets-enabled): New variable. Use it instead
of a subfeature.
Michael Albinus [Mon, 15 Mar 2010 23:27:31 +0000 (00:27 +0100)]
* net/secrets.el (top): Register the D-Bus signals only when the
service "org.freedesktop.secrets" can be pinged. Provide
subfeature 'enabled.
Chong Yidong [Mon, 15 Mar 2010 17:16:46 +0000 (13:16 -0400)]
Put non-GTK X scroll-bars on left.
* xfns.c (Fx_create_frame):
* frame.c (Vdefault_frame_scroll_bars): Put non-GTK X scroll-bars on left.
Katsumi Yamaoka [Mon, 15 Mar 2010 01:38:28 +0000 (01:38 +0000)]
(mm-charset-to-coding-system): Use coding-system-from-name
if it is available. (bug#5647)
Juri Linkov [Sun, 14 Mar 2010 21:28:52 +0000 (23:28 +0200)]
Add finder unknown keywords.
* finder.el (finder-unknown-keywords): New function.
* info.el (Info-finder-find-node): Use `finder-unknown-keywords'
to create a Finder node with unknown keywords.
Juri Linkov [Sun, 14 Mar 2010 21:15:02 +0000 (23:15 +0200)]
Fix keywords.
* finder.el (finder-compile-keywords): Replace `princ' with
`prin1' on a list of symbols interned from keyword strings.
* emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
a comma, then split keywords using a comma and optional whitespace.
Otherwise, split by whitespace.
* complete.el:
* face-remap.el:
* log-view.el:
* net/hmac-def.el:
* net/hmac-md5.el:
* net/netrc.el:
* progmodes/mixal-mode.el: Fix keywords.
Michael Albinus [Sat, 13 Mar 2010 20:33:54 +0000 (21:33 +0100)]
* etc/NEWS: Add secrets.el.
* lisp/Makefile.in (ELCFILES): Add net/secrets.elc.
* lisp/net/secrets.el: New file.
Chong Yidong [Sat, 13 Mar 2010 19:54:29 +0000 (14:54 -0500)]
Fix bug in `format' (Bug#5710).
* editfns.c (Fformat): Account for string precision when computing
field width (Bug#5710).
Eli Zaretskii [Sat, 13 Mar 2010 15:29:13 +0000 (10:29 -0500)]
Commit the change in src/Makefile.in announced in 2010-03-12T16:34:27Z!eliz@gnu.org.
Eli Zaretskii [Sat, 13 Mar 2010 08:52:05 +0000 (03:52 -0500)]
Spell out in ChangeLog the purpose of 2010-03-12T16:34:27Z!eliz@gnu.org.
Chong Yidong [Fri, 12 Mar 2010 23:13:27 +0000 (18:13 -0500)]
Document Customize and scroll-bar changes.
Chong Yidong [Fri, 12 Mar 2010 23:13:02 +0000 (18:13 -0500)]
* xfns.c (Fx_create_frame): Set default to Qright.
Chong Yidong [Fri, 12 Mar 2010 23:08:30 +0000 (18:08 -0500)]
Allow using list-colors-display to set colors in the Color widget.
* facemenu.el (list-colors-display, list-colors-print): New arg
callback. Use it to allow selecting colors.
* wid-edit.el (widget-image-insert): Insert image prop even if the
current display is non-graphic.
(widget-field-value-set): New fun.
(editable-field): Use it.
(widget-field-value-get): Clean up unused var.
(widget-color-value-create, widget-color--choose-action): New
funs. Allow using list-colors-display to choose color.
Chong Yidong [Fri, 12 Mar 2010 22:56:30 +0000 (17:56 -0500)]
Improvements to the Custom interface.
* cus-edit.el: Resort topmost custom groups.
(custom-buffer-sort-alphabetically): Default to t.
(customize-apropos): Use apropos-parse-pattern.
(custom-search-field): New var.
(custom-buffer-create-internal): Add custom-apropos search field.
(custom-add-parent-links): Don't display parent doc.
(custom-group-value-create): Don't sort top-level custom group.
(custom-magic-value-create): Show visibility button before option
name.
(custom-variable-state): New fun, from custom-variable-state-set.
(custom-variable-state-set): Use it.
(custom-group-value-create): Hide options with standard values
using the :hidden-states property. Use progress reporter.
(custom-show): Simplify.
(custom-visibility): Disable images by default.
(custom-variable): New property :hidden-states.
(custom-variable-value-create): Enable images for
custom-visibility widgets. Use :hidden-states property to
determine initial visibility.
* wid-edit.el (widget-image-find): Give images center ascent.
(visibility): Add :on-image and :off-image properties.
(widget-visibility-value-create): Use them.
Chong Yidong [Fri, 12 Mar 2010 21:42:05 +0000 (16:42 -0500)]
Update Custom arrow images.
* images/custom/down.xpm, images/custom/right.xpm: Update images
to increase contrast on bright backgrounds.
Chong Yidong [Fri, 12 Mar 2010 19:13:38 +0000 (14:13 -0500)]
Fix last change to use existing comm Custom group instead of `net'.
* cus-edit.el (net): Remove group.
(comm): Promote to top-level group.
* url/url-vars.el (url):
* net/browse-url.el (browse-url):
* net/xesam.el (xesam):
* net/tramp.el (tramp):
* net/goto-addr.el (goto-address):
* net/ange-ftp.el (ange-ftp): Put in comm group.
Chong Yidong [Fri, 12 Mar 2010 17:47:22 +0000 (12:47 -0500)]
Reorganize Custom groups.
* cus-edit.el (processes): Remove from development group.
(oop, hypermedia): Delete group.
(net): New group.
* url/url-vars.el (url):
* net/browse-url.el (browse-url):
* net/xesam.el (xesam):
* net/tramp.el (tramp):
* net/goto-addr.el (goto-address):
* net/ange-ftp.el (ange-ftp): Put in net group.
* view.el (view): Remove from editing group.
* uniquify.el (uniquify): Put in files group.
* net/browse-url.el (browse-url):
* ps-print.el (postscript): Put in external group.
* cus-edit.el (outlines):
* textmodes/text-mode.el (text-mode-hook):
* textmodes/table.el (table):
* textmodes/picture.el (picture):
* outline.el (outlines): Put in wp group.
* nxml/nxml-mode.el (nxml): Remove from wp group.
* net/tramp-imap.el (tramp-imap): Put in tramp group.
* mail/metamail.el (metamail): Remove from hypermedia group.
* cus-edit.el (abbrev):
* whitespace.el (whitespace):
* vcursor.el (vcursor):
* reveal.el (reveal):
* hl-line.el (hl-line): Put in convenience group.
* epg-config.el (epg): Put in data group.
* emulation/pc-select.el (pc-select): Put in emulations group.
* calculator.el (calculator): Put in applications group.
* org/org.el (org): Remove from hypermedia group.
Chong Yidong [Fri, 12 Mar 2010 17:32:30 +0000 (12:32 -0500)]
Put scroll-bar on right by default on UNIX.
* frame.c (Vdefault_frame_scroll_bars): Set default to Qright for all window systems.
Eli Zaretskii [Fri, 12 Mar 2010 16:34:27 +0000 (11:34 -0500)]
Don't use termcap.c on Posix platforms, only on MS-DOS.
configure.in <AC_CHECK_HEADERS>: Remove termcap.h.
configure: Regenerated.
src/Makefilie.in (termcapobj): Move termcap.o from here...
(MSDOS_OBJ): ...to here.
(termcapobj) [!LIBS_TERMCAP]: Remove specialized value, as it is
now identical to when LIBS_TERMCAP is defined.
src/term.c: Remove (ifdef'ed away) inclusion of termcap.h.
src/cm.c: Remove (ifdef'ed away) inclusion of termcap.h.
src/config.in: Regenerated.
Dan Nicolaescu [Fri, 12 Mar 2010 08:07:18 +0000 (00:07 -0800)]
Fix typo.
Dan Nicolaescu [Fri, 12 Mar 2010 08:04:54 +0000 (00:04 -0800)]
Add .dir-locals.el support for file-less buffers.
* files.el (hack-local-variables): Split out code to apply local
variable settings ...
(hack-local-variables-apply): ... here. New function.
(hack-dir-local-variables): Use the default directory for when the
buffer does not have an associated file.
(hack-dir-local-variables-non-file-buffer): New function.
* diff-mode.el (diff-mode):
* vc-annotate.el (vc-annotate-mode):
* vc-dir.el (vc-dir-mode):
* log-edit.el (log-edit-mode):
* log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
Glenn Morris [Fri, 12 Mar 2010 03:13:01 +0000 (19:13 -0800)]
Regenerate configure.
Dan Nicolaescu [Fri, 12 Mar 2010 01:29:30 +0000 (17:29 -0800)]
Add support for shelving snapshots and for showing shelves.
* vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
(vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
New functions.
(vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
(vc-bzr-extra-menu-map): Map them.
Juri Linkov [Thu, 11 Mar 2010 20:42:19 +0000 (22:42 +0200)]
Add a NEWS entry for animated image API.
Glenn Morris [Thu, 11 Mar 2010 06:20:24 +0000 (22:20 -0800)]
* cus-edit.el (customize-changed-options-previous-release): Bump to 23.1.
Glenn Morris [Thu, 11 Mar 2010 06:17:08 +0000 (22:17 -0800)]
Minor animated image housekeeping.
* image.el (image-animate-max-time): Fix :version tag.
* NEWS: Add animated image placeholder entry.
Glenn Morris [Thu, 11 Mar 2010 06:10:50 +0000 (22:10 -0800)]
Rotate NEWS to NEWS.23, create new NEWS for Emacs 24.
Chong Yidong [Wed, 10 Mar 2010 15:17:13 +0000 (10:17 -0500)]
Bump version to 24.0.50.
Stefan Monnier [Wed, 10 Mar 2010 14:45:21 +0000 (09:45 -0500)]
Cleanup setup of gl_state in various parts of the code.
* syntax.h (SETUP_BUFFER_SYNTAX_TABLE): New macro.
(SETUP_SYNTAX_TABLE, SETUP_SYNTAX_TABLE_FOR_OBJECT):
* syntax.c (find_defun_start, Fchar_syntax, Fmatching_paren, skip_chars):
* regex.c (regex_compile): Use it.
(re_compile_pattern): Don't set gl_state.current_syntax_table since
it's now set in regex_compile when/if we need it.
Miles Bader [Wed, 10 Mar 2010 14:16:06 +0000 (23:16 +0900)]
quick-install-emacs: Use more portable shell syntax
Miles Bader [Wed, 10 Mar 2010 14:14:34 +0000 (23:14 +0900)]
quick-install-emacs: Be more picky about files we avoid installing
Stefan Monnier [Wed, 10 Mar 2010 06:32:43 +0000 (01:32 -0500)]
vc-git.el (vc-git-revision-table): Include remote branches.
Stefan Monnier [Wed, 10 Mar 2010 05:18:51 +0000 (00:18 -0500)]
Merge pending branch
Miles Bader [Tue, 9 Mar 2010 13:24:44 +0000 (22:24 +0900)]
(vc-git-print-log): Use "tformat:" for shortlog, instead of "format:"
This ensures that the output is newline-terminated.
Juri Linkov [Mon, 8 Mar 2010 17:14:53 +0000 (19:14 +0200)]
Fix numeric keywords.
Chong Yidong [Mon, 8 Mar 2010 16:17:30 +0000 (11:17 -0500)]
Additional fix for rfc822-addresses (Bug#5692).
* mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
that all errors are caught, and that the return value is always a
list (Bug#5692).
Juanma Barranquero [Mon, 8 Mar 2010 13:00:18 +0000 (14:00 +0100)]
Fix typos in Changelogs.
Kenichi Handa [Mon, 8 Mar 2010 11:39:36 +0000 (20:39 +0900)]
Fix bug# in ChangeLog.
Kenichi Handa [Mon, 8 Mar 2010 01:53:37 +0000 (10:53 +0900)]
from trunk
Kenichi Handa [Mon, 8 Mar 2010 01:52:57 +0000 (10:52 +0900)]
Add bug# in ChangeLog.