]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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 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 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(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 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 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 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 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* 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.

14 years agoReplace some cpp with autoconf.
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.

14 years ago* calendar/cal-french.el: Convert to utf-8.
Glenn Morris [Thu, 18 Mar 2010 05:25:13 +0000 (22:25 -0700)]
* calendar/cal-french.el: Convert to utf-8.

14 years agoClose bug#5720.
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.

14 years ago* files.el (interpreter-mode-alist): Use emacs-lisp-mode for Emacs scripts.
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.

14 years ago(mml-read-tag): Unquote values with `read' to reverse prin1 in mml-insert-tag
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>.

14 years ago* net/secrets.el (secrets-enabled): New variable. Use it instead
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.

14 years ago* net/secrets.el (top): Register the D-Bus signals only when the
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.

14 years agoPut non-GTK X scroll-bars on left.
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.

14 years ago(mm-charset-to-coding-system): Use coding-system-from-name
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)

14 years agoAdd finder unknown keywords.
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.

14 years agoFix 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.

14 years ago* etc/NEWS: Add secrets.el.
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.

14 years agoFix bug in `format' (Bug#5710).
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).

14 years agoCommit the change in src/Makefile.in announced in 2010-03-12T16:34:27Z!eliz@gnu.org.
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.

14 years agoSpell out in ChangeLog the purpose of 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.

14 years agoDocument Customize and scroll-bar changes.
Chong Yidong [Fri, 12 Mar 2010 23:13:27 +0000 (18:13 -0500)]
Document Customize and scroll-bar changes.

14 years ago* xfns.c (Fx_create_frame): Set default to Qright.
Chong Yidong [Fri, 12 Mar 2010 23:13:02 +0000 (18:13 -0500)]
* xfns.c (Fx_create_frame): Set default to Qright.

14 years agoAllow using list-colors-display to set colors in the Color widget.
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.

14 years agoImprovements to the Custom interface.
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.

14 years agoUpdate Custom arrow images.
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.

14 years agoFix last change to use existing comm Custom group instead of `net'.
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.

14 years agoReorganize Custom groups.
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.

14 years agoPut scroll-bar on right by default on UNIX.
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.

14 years agoDon't use termcap.c on Posix platforms, only on MS-DOS.
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.

14 years agoFix typo.
Dan Nicolaescu [Fri, 12 Mar 2010 08:07:18 +0000 (00:07 -0800)]
Fix typo.

14 years agoAdd .dir-locals.el support for file-less buffers.
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.

14 years agoRegenerate configure.
Glenn Morris [Fri, 12 Mar 2010 03:13:01 +0000 (19:13 -0800)]
Regenerate configure.

14 years agoAdd support for shelving snapshots and for showing shelves.
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.

14 years agoAdd a NEWS entry for animated image API.
Juri Linkov [Thu, 11 Mar 2010 20:42:19 +0000 (22:42 +0200)]
Add a NEWS entry for animated image API.

14 years ago* cus-edit.el (customize-changed-options-previous-release): Bump to 23.1.
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.

14 years agoMinor animated image housekeeping.
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.

14 years agoRotate NEWS to NEWS.23, create new NEWS for Emacs 24.
Glenn Morris [Thu, 11 Mar 2010 06:10:50 +0000 (22:10 -0800)]
Rotate NEWS to NEWS.23, create new NEWS for Emacs 24.

14 years agoBump version to 24.0.50.
Chong Yidong [Wed, 10 Mar 2010 15:17:13 +0000 (10:17 -0500)]
Bump version to 24.0.50.

14 years agoCleanup setup of gl_state in various parts of the code.
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.

14 years agoquick-install-emacs: Use more portable shell syntax
Miles Bader [Wed, 10 Mar 2010 14:16:06 +0000 (23:16 +0900)]
quick-install-emacs: Use more portable shell syntax

14 years agoquick-install-emacs: Be more picky about files we avoid installing
Miles Bader [Wed, 10 Mar 2010 14:14:34 +0000 (23:14 +0900)]
quick-install-emacs: Be more picky about files we avoid installing

14 years agovc-git.el (vc-git-revision-table): Include remote branches.
Stefan Monnier [Wed, 10 Mar 2010 06:32:43 +0000 (01:32 -0500)]
vc-git.el (vc-git-revision-table): Include remote branches.

14 years agoMerge pending branch
Stefan Monnier [Wed, 10 Mar 2010 05:18:51 +0000 (00:18 -0500)]
Merge pending branch

14 years ago(vc-git-print-log): Use "tformat:" for shortlog, instead of "format:"
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.

14 years agoFix numeric keywords.
Juri Linkov [Mon, 8 Mar 2010 17:14:53 +0000 (19:14 +0200)]
Fix numeric keywords.

14 years agoAdditional fix for rfc822-addresses (Bug#5692).
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).

14 years agoFix typos in Changelogs.
Juanma Barranquero [Mon, 8 Mar 2010 13:00:18 +0000 (14:00 +0100)]
Fix typos in Changelogs.

14 years agoFix bug# in ChangeLog.
Kenichi Handa [Mon, 8 Mar 2010 11:39:36 +0000 (20:39 +0900)]
Fix bug# in ChangeLog.

14 years agofrom trunk
Kenichi Handa [Mon, 8 Mar 2010 01:53:37 +0000 (10:53 +0900)]
from trunk

14 years agoAdd bug# in ChangeLog.
Kenichi Handa [Mon, 8 Mar 2010 01:52:57 +0000 (10:52 +0900)]
Add bug# in ChangeLog.

14 years agoAdd coding system windows-1256 (alias cp1256).
Kenichi Handa [Mon, 8 Mar 2010 01:50:35 +0000 (10:50 +0900)]
Add coding system windows-1256 (alias cp1256).

14 years agoStart laying out a plan for Emacs-24 old-branches/pending
Stefan Monnier [Sun, 7 Mar 2010 20:08:38 +0000 (15:08 -0500)]
Start laying out a plan for Emacs-24

14 years agoAnimated image API.
Kim F. Storm [Sun, 7 Mar 2010 19:02:20 +0000 (21:02 +0200)]
Animated image API.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html

* image.el (image-animate-max-time): New defcustom.
(image-animated-types): New defconst.
(create-animated-image, image-animate-timer)
(image-animate-start, image-animate-stop, image-animate-timeout)
(image-animated-p): New functions.

* image-mode.el (image-toggle-display-image):
Replace `create-image' with `create-animated-image'.

14 years agoDon't end parsing rfc822 addresses prematurely (Bug#5692)
Andreas Schwab [Sun, 7 Mar 2010 17:34:40 +0000 (18:34 +0100)]
Don't end parsing rfc822 addresses prematurely (Bug#5692)

* mail/rfc822.el (rfc822-addresses): Move catch clause down around
call to rfc822-bad-address.  (Bug#5692)

14 years agoCorrect pathname for vc-git-annotate-extract-revision-at-line (Bug#5657)
Chong Yidong [Sun, 7 Mar 2010 14:45:53 +0000 (09:45 -0500)]
Correct pathname for vc-git-annotate-extract-revision-at-line (Bug#5657)

* vc-git.el (vc-git-annotate-extract-revision-at-line): Use
vc-git-root as default direcotry for revision path (Bug#5657).

14 years agoNEWS: Clarify last change.
Chong Yidong [Sat, 6 Mar 2010 20:35:04 +0000 (15:35 -0500)]
NEWS: Clarify last change.

14 years agoNEWS: Document change to Lisp reader for overflowing ints.
Chong Yidong [Sat, 6 Mar 2010 20:33:04 +0000 (15:33 -0500)]
NEWS: Document change to Lisp reader for overflowing ints.

14 years ago* objects.texi (Integer Type): Take note of the read syntax exception for numbers...
Chong Yidong [Sat, 6 Mar 2010 20:27:19 +0000 (15:27 -0500)]
* objects.texi (Integer Type): Take note of the read syntax exception for numbers that cannot fit in the integer type.