From: Jan D Date: Sun, 26 Apr 2015 11:55:01 +0000 (+0200) Subject: Merge branch 'master' into cairo X-Git-Tag: emacs-25.0.90~2008^2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f92ac2e82ed199d6f25d2a59508e08addb1150ac;p=emacs.git Merge branch 'master' into cairo --- f92ac2e82ed199d6f25d2a59508e08addb1150ac diff --cc ChangeLog.1 index 00000000000,d1b8d0ffb98..565c85bbcf1 mode 000000,100644..100644 --- a/ChangeLog.1 +++ b/ChangeLog.1 @@@ -1,0 -1,14718 +1,14739 @@@ ++2015-04-11 Jan Djärv ++ ++ * configure.ac: Allow jpeg with cairo. ++ Allow tiff and gif with cairo. ++ + 2015-04-07 Paul Eggert + + Merge from gnulib + * lib/stddef.in.h: Update from gnulib, incorporating: + 2015-04-02 stddef: port to pre-C11 GCC on x86 + ++2015-04-05 Jan Djärv ++ ++ * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG. ++ ++2015-04-03 Jan Djärv ++ ++ * configure.ac (HAVE_RSVG): Move after cairo. ++ (USE_CAIRO): Disable rsvg, don't disable Xpm. ++ + 2015-04-03 Paul Eggert + + Port 'configure' to clang 3.5 + * configure.ac: Add -Wno-unknown-attributes if clang; + otherwise clang 3.5.0 (Fedora 21 x86-64) complains + "/usr/include/glib-2.0/glib/gmem.h: ... warning: unknown attribute + '__alloc_size__' ignored". Use -Werror when checking for -nopie; + otherwise clang warns about -nopie instead of failing, and then + later it warns everytime the build uses -nopie. + + 2015-04-03 Ulrich Müller + + * configure.ac (LD_SWITCH_SYSTEM_TEMACS): Add -nopie option if it + is supported, in order to avoid segfaults in temacs. (Bug#18784) + + 2015-03-27 Pete Williamson (tiny change) + + Add NaCl target + * configure.ac: Add a target for Chromium Native Client (NaCl). + + 2015-03-29 Eli Zaretskii + + * build-aux/dir_top (File): Fix the description of selecting a + menu item by its number. (Bug#20213) + + 2015-03-29 Paul Eggert + + Fix 'commit-msg' to cite 'CONTRIBUTE' + As suggested in: + http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00947.html + Also, have the two files match better. + * CONTRIBUTE: Match what's in build-aux/git-hooks/commit-msg. + * build-aux/git-hooks/commit-msg: Mention 'CONTRIBUTE'. + + 2015-03-23 Andreas Schwab + + * configure.ac: Fix jpeg version check to work with gcc >= 5. + + 2015-03-21 Samer Masterson + + * CONTRIBUTE (Test your changes.): New section. + (Document your changes.): Add doc tips. + + 2015-03-19 Paul Eggert + + Better port of pthread usage to FreeBSD + * configure.ac (ac_func_list): Omit pthread_sigmask, since + we check for that ourselves rather than relying on gnulib. + (HAVE_PTHREAD, LIB_PTHREAD): Port better to FreeBSD, + by also checking for pthread_create, pthread_self, pthread_sigmask. + Tighten the test for pthread_atfork while we're at it. + (Bug#20136) + + Merge from gnulib + This incorporates: + 2015-03-19 fdopendir: port better to MinGW + 2015-03-18 fdopendir: fix typo in comment + 2015-02-24 glob, etc.: port to MSVC v18 on MS-Windows 8.1 + * lib/dirent.in.h, lib/fdopendir.c: Update from gnulib. + * lib/dirfd.c, m4/dirfd.m4: New files from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2015-03-02 Robert Pluim (tiny change) + + * configure.ac: Error out if with-file-notification=w32 is + specified on Cygwin. (Bug#19909) + + 2015-02-27 Paul Eggert + + Don't require GNU putenv + * configure.ac: Use system putenv even if it lacks GNU features, as + we don't need them. This works around a bug in FreeBSD 10.1 getenv. + (Bug#19874) + + 2015-02-25 Paul Eggert + + Merge from gnulib + * lib/getdtablesize.c, m4/dup2.m4, m4/fcntl.m4: + Update from gnulib, incorporating: + 2015-02-23 dup2: doc and test for Android bug + 2015-02-23 Replace dup2() on Android + 2015-02-22 Android doesn't define RLIM_SAVED_* + + 2015-02-21 Paul Eggert + + Merge from gnulib + * lib/getdtablesize.c, lib/getopt.c, lib/signal.in.h, lib/tempname.c: + * lib/tempname.h, m4/dup2.m4, m4/fcntl.m4, m4/getdtablesize.m4: + Update from gnulib, incorporating: + 2015-02-20 getdtablesize: port better for Android + 2015-02-19 fcntl: Fix cross compiling + 2015-02-18 dup2, fcntl: cross-compile better for Android + 2015-02-18 getopt: don't crash on memory exhaustion + 2015-02-17 tempname: allow compilation with C++ (trivial) + 2015-02-17 dup2, fcntl: port to AIX + 2015-02-16 getdtablesize, dup2, fcntl: port to Android + 2015-02-11 getdtablesize, signal_h: Fix Android build + 2015-02-11 maint: various whitespace cleanups in tempname + + 2015-02-13 Jan Djärv + + * configure.ac: Set locallisppath to empty for NS self contained, + unless --enable-loadllisppath was given (Bug#19850). + ++2015-02-11 Jan Djärv ++ ++ * configure.ac (with-cairo): New option. ++ (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo, ++ set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo. ++ Output "Does Emacs use cairo?". ++ + 2015-02-09 Paul Eggert + + * configure.ac (HAVE_LIBXML2): Add missing comma. + + 2015-02-08 Paul Eggert + + Port to platforms lacking test -a and -o + * configure.ac (HAVE_LIBXML2): + Prefer '&&' and '||' to 'test -a' and 'test -o'. + + 2015-02-08 Ulrich Müller + + * configure.ac (--with-gameuser): Default to 'games' group instead + of 'games' user. + + 2015-02-04 Paul Eggert + + * .gitattributes: Ignore blanks at EOL in texinfo.tex. + + 2015-01-28 Paul Eggert + + Merge from gnulib and try to repair bad merge + This attempts to repair problems introduced by the bad merge + 5491fd1098d27b3ba3db054076b9ab60fb3558dc. The easiest way for me + to fix the badly-merged gnulib files was to run + 'admin/merge-gnulib', so I did that, which also imported the + following changes: + * build-aux/update-copyright, m4/gnulib.m4: + Update from gnulib, incorporating: + 2015-01-15 time: port to MinGW32 3.21 + 2015-01-15 update-copyright: apply to self + 2015-01-11 update-copyright: recognize groff's \(co marker + + 2015-01-28 Eli Zaretskii + + * configure.ac (HAVE_W32): Abort with error message if + --without-toolkit-scroll-bars was specified. See + http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00525.html + for the details. + + 2015-01-27 Paul Eggert + + Port autogen.sh hook creation to private templates + * autogen.sh: Do not assume that the hook samples exist. + This ports to developers who override templatedir in their Git + configuration. The downside is that patch applications won't be + checked, but that's better than autogen.sh failing. + Problem reported by Sam Steingold in: + http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00898.html + + 2015-01-26 Paul Eggert + + * INSTALL.REPO: Mention minimum Git version. + + 2015-01-25 Paul Eggert + + Use gnustep-config if available + * configure.ac (--with-gnustep): Document this. + (NS_GNUSTEP_CONFIG): New variable, set if gnustep-config works. + If gnustep-config works, use 'gnustep-config --objc-flags' and + 'gnustep-config --gui-libs' to compute GNUstep configuration + variables, instead of attempting to infer them individually. + (Bug#19507) + + 2015-01-21 Ulrich Müller + + * configure.ac (gamegroup): New AC_SUBST. + (--with-gameuser): Allow to specify a group instead of a user. + In the default case, check at configure time if a 'games' user + exists. + + 2015-01-16 Paul Eggert + + Give up on -Wsuggest-attribute=const + The attribute doesn't help performance significantly, and the + warning seems to be more trouble than it's worth. See the thread at: + http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00361.html + * configure.ac (WERROR_CFLAGS): Don't use -Wsuggest-attribute=const. + + 2015-01-11 Paul Eggert + + Default to 'configure --enable-silent-rules' + This greatly shortens the 'make' output, making it more readable + and useful. For example, on my platform it shortens a + 4125-character line "gcc -std=gnu99 -c -Demacs -I. -I. -I../lib + ... emacs.c" -- a line so long that it's hard to see what's going + on or where the diagnostics are -- to just "CC emacs.o". + * INSTALL: Document this. + * configure.ac: Add AM_SILENT_RULES([yes]). + (AM_DEFAULT_VERBOSITY): Remove now-unnecessary initialization. + (Bug#19501) + + 2015-01-06 Paul Eggert + + Merge from gnulib + * lib/stdio.in.h, m4/stdio_h.m4: Update from gnulib, incorporating: + 2015-01-05 stdio: fix use of PRIdMAX on modern mingw + + 2015-01-04 Paul Eggert + + * INSTALL: Mention 'make WERROR_CFLAGS='. + + Clarify 'make info' + * Makefile.in (info): Use GNU make conditional rather than + an '@' rule with a shell conditional, so that the builder can + see the submake. + + Less 'make' chatter for VCSWITNESS + * Makefile.in (dirstate, VCSWITNESS): New macros. + (src): Use them to lessen 'make' chatter. + + 2015-01-01 Paul Eggert + + Merge from gnulib, incorporating: + 2015-01-01 version-etc: new year + + * .gitattributes: New file. + + * autogen.sh: Port better to non-GNU 'cp'. Reported by Han Boetes. + + 2014-12-31 Paul Eggert + + Less 'make' chatter at top level + * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_) + (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0) + (am__v_at_1): New macros, copied from src/Makefile.in. + ($(srcdir)/src/config.in, ${srcdir}/info/dir): + Be less chatty when not verbose. + ($(srcdir)/src/stamp-h.in): Simplify with '$@'. + + 2014-12-28 Paul Eggert + + * build-aux/git-hooks/commit-msg: Allow tabs. + Treat them as if they were expanded to spaces, with tab stops + every 8 columns. + + 2014-12-27 Paul Eggert + + * .gitignore: Ignore /conftest*. + + 2014-12-27 Stefan Monnier + + * build-aux/git-hooks/commit-msg (at_sign): Bump up line-length limit + to 78. + + 2014-12-25 Paul Eggert + + Prefer stpcpy to strcat. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + * lib/stpcpy.c, m4/stpcpy.m4: New files, from gnulib. + + 2014-12-24 Stephen Leake + + * CONTRIBUTE: Move user-level information to doc/emacs/trouble.texi. + Add Savannah url, cleanup announcing freeze. + (commit messages): New, gathered from comments on emacs-devel. + (Changelog notes): Add reference to GNU coding standards section 5.2; + doc 'present tense', bug fix format. + (branches): Freeze announcements are made on info-gnu-emacs mailing + list. + (git vs rename): New. + + 2014-12-23 Paul Eggert + + Merge from gnulib. + 2014-12-20 utimens: remove unnecessary assert + 2014-12-16 stdalign: port better to HP compilers + 2014-12-16 stdalign: work around Apple GCC 4.0 bug + * lib/stdalign.in.h, lib/utimens.c, m4/stdalign.m4: Update from gnulib. + + 2014-12-14 Glenn Morris + + * make-dist: No more lib-src/grep-changelog. + + * INSTALL.REPO: Revert 2014-12-06 change. + + 2014-12-13 Paul Eggert + + * lib/gnulib.mk: Regenerate. + + 2014-12-13 Paul Eggert + + * .gitignore: Add lib/std*.h, to ignore stdarg.h, stdbool.h, and + stddef.h. Remove subsumed entries. + Add !lib/std*.in.h, so as to not ignore the .in.h files. + + 2014-12-13 Paul Eggert + + Port commit-msg to mawk. Reported by Ted Zlatanov in: + http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg01093.html + * build-aux/git-hooks/commit-msg (space, non_space, non_print): + New vars. Use them as approximations to POSIX bracket expressions, + on implementations like mawk that do not support POSIX regexps. + + Improve commit-msg messages and autosquash. + Reported by Michal Nazarewicz in Bug#19337. + * build-aux/git-hooks/commit-msg: Add "commit message" to + diagnostics. Distinguish better between tabs and other + unprintable chars in diagnostics. Don't complain if a prefix + "fixup! " or "squash! " makes a summary line too long. + + 2014-12-13 Paul Eggert + + Port commit-message checking to FreeBSD 9. + Reported by Jan Djärv in: + http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00704.html + along with some other issues I noticed while testing with FreeBSD. + * build-aux/git-hooks/commit-msg: Prefer gawk if available. + Prefer en_US.UTF-8 to en_US.utf8, as it's more portable. + Work around bug in FreeBSD 9 awk, where /[[:cntrl:]]/ matches + ordinary text characters. + Be less tricky about quoting "'" in a shell script. + + 2014-12-13 Stefan Monnier + + * .gitignore: Ignore autosave files. + + 2014-12-12 Paul Eggert + + Merge from gnulib. + 2014-12-12 stddef: support C11's max_align_t + 2014-12-11 unistd: fix iOS check conditional + 2014-12-08 apply _GL_ATTRIBUTE_PURE to some inline functions + 2014-12-02 support GNU format printf and scanf on mingw + * lib/stat-time.h, lib/stddef.in.h, lib/timespec.h: + * m4/extensions.m4, m4/stddef_h.m4, m4/stdio_h.m4: Update from gnulib. + * lib/gnulib.mk: Regenerate. + + 2014-12-06 Stephen Leake + + * CONTRIBUTE: Improve; add explicit web references, move some info + from admin/notes/* here. + + * INSTALL.REPO: You can't "just run make" after a clean checkout. + + 2014-12-05 Stephen Leake + + * CONTRIBUTE: Move here from etc/, preparatory to further + changes/cleanup. + + 2014-12-05 Paul Eggert + + * .gitignore: Remove redundant pattern (subsumed by _*). + Avoid "**", as it requires Git 1.8.2 or later. + + 2014-12-05 Eli Zaretskii + + * .gitignore: Ignore test/biditest.txt. + + 2014-12-01 Lars Magne Ingebrigtsen + + * .gitignore: Ignore loaddefs directly under lisp, and in + sub-sub-directories. + + 2014-11-29 Paul Eggert + + Add more of the old .bzrignore to .gitignore. + Plus a few more .gitignore improvements. + * .gitignore: Add copyright notice, since it's big enough. + Put exceptions immediately after the patterns they're exceptions + to, to make them easier to follow. + Give four exceptions for the Makefile pattern. + Ignore /confdefs.h, test/indent/*.new, TAGS, GPATH, GSYMS, GRTAGS, + GTAGS, ID, *.exe, some nextstep-related files, + jisx2131-filter, *.orig, *.rej, etc/emacs.tmpdesktop, *.in-h + _* (except for build-aux/snippet/_Noreturn.h), /bin/, /BIN/, + /data/, etc/icons/, lib/cxxdefs.h, lib/SYS/, /libexec/, /lock/, + /README.W32, /share/, /site-lisp/, src/gdb.ini, /var/. + Ignore /configure.lineno, since POSIX requires + LINENO only with the User Portability Utilities option. + Ignore *cust-load.el and *loaddefs.el only under lisp. + Ignore core files of various flavors. + Do not ignore etc/refcards/gnus-logo.pdf. + + 2014-11-29 Eli Zaretskii + + * .gitignore: Add back src/_gdbinit, which is a temporary file + created by the MS-DOS build. + + 2014-11-29 Paul Eggert + + Add a.out to .gitignore. + Suggested by Lee Duhem in: + http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01665.html + * .gitignore: Add a.out. + Move *.log next to *.tmp, since it's generic. + Put *.exe before non-generics. + + 2014-11-29 Eli Zaretskii + + * .gitignore: Resurrect Windows-specific ignorables lost in last + changes. + + 2014-11-29 Paul Eggert + + * .gitignore: Add /emacs-[1-9]*/, and sort better. + + 2014-11-29 Ivan Andrus + + * .gitignore: Add some nextstep/mac ignorables. + + 2014-11-29 Paul Eggert + + .gitignore cleanup. + * .gitignore: Merge contents of subsidiary files and organize the + result so as to avoid duplication. Remove no-longer needed entries. + * admin/charsets/.gitignore, admin/unidata/.gitignore: + * doc/lispintro/.gitignore, etc/.gitignore, leim/.gitignore: + * leim/ja-dic/.gitignore, lib-src/.gitignore, lisp/.gitignore: + * lisp/calc/.gitignore, lisp/calendar/.gitignore: + * lisp/cedet/.gitignore, lisp/emulation/.gitignore: + * lisp/erc/.gitignore, lisp/eshell/.gitignore, lisp/gnus/.gitignore: + * lisp/international/.gitignore, lisp/language/.gitignore: + * lisp/leim/.gitignore, lisp/leim/quail/.gitignore: + * lisp/mail/.gitignore, lisp/mh-e/.gitignore, lisp/net/.gitignore: + * lisp/nxml/.gitignore, lisp/obsolete/.gitignore: + * lisp/play/.gitignore, lisp/progmodes/.gitignore: + * lisp/term/.gitignore, lisp/textmodes/.gitignore: + * lisp/url/.gitignore, nt/.gitignore, src/.gitignore: + Remove; no longer needed. + + 2014-11-29 Glenn Morris + + * configure.ac: Simplify gnutls tests. + + 2014-11-28 Stefan Monnier + + * .gitignore: Add entries for emacsvers files. + + 2014-11-27 Paul Eggert + + Restore 'Bug#' -> 'debbugs:' rewrite in log-edit-mode. + * .dir-locals.el (log-edit-mode): Restore the (log-edit-rewrite-fixes + "[ \n](bug#\\([0-9]+\\))" . "debbugs:\\1"). See Glenn Morris in: + http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01187.html + + Simplify and fix doc-related .gitignore files. + This fixes some unwanted 'git status' output after 'make docs'. + * .gitignore: Add **/Makefile, **/makefile. + Remove Makefile, makefile. + Add doc/*/*.xxx rules for the usual kinds of documentation outputs + and temporaries. Add doc/misc/cc-mode.ss. + * doc/emacs/.gitignore, doc/lispintro/.gitignore, doc/misc/.gitignore: + * lwlib/.gitignore, oldXMenu/.gitignore: + Remove, as these .gitignore files are no longer needed. + * doc/lispintro/.gitignore: Replace with list of exceptional PDF files. + + 2014-11-26 Dani Moncayo + + * configure.ac [MINGW]: Fix the way of getting the right host + platform. + + 2014-11-25 Glenn Morris + + * configure.ac: Fix yesterday's use of uninitialized $version. + + 2014-11-25 Oscar Fuentes + + * configure.ac [MINGW]: Set $canonical default value as per the + compiler's target. + + 2014-11-24 Glenn Morris + + * configure.ac [HAVE_W32]: Generate nt/*.rc files when HAVE_W32, + not just when using mingw32. + + 2014-11-22 Glenn Morris + + Further reduce number of versioned files storing Emacs version number. + * configure.ac (comma_version, comma_space_version) [mingw32]: + New output variables. + (nt/emacs.rc, nt/emacsclient.rc) [mingw32]: New output files. + * make-dist: Update nt/ for *.rc -> *.rc.in changes. + + 2014-11-19 Dani Moncayo + + * build-aux/msys-to-w32: Simplify implementation and docstring; + Paths starting with '%emacs_dir%' are just considered relative. + + 2014-11-16 Christoph Scholtes + + * .gitignore: Ignore generated file lib/stdalign.h. + + 2014-11-16 Eli Zaretskii + + * .gitignore: Add more ignorables. + + 2014-11-14 Andreas Schwab + + * Makefile.in (config.status): Don't depend on + ${srcdir}/lisp/version.el. + + 2014-11-14 Paul Eggert + + Merge from gnulib. + 2014-11-14 extern-inline: update commentary about GCC bugs + 2014-11-06 unistd: port to iOS + 2014-11-04 update from texinfo + * doc/misc/texinfo.tex, lib/unistd.in.h, m4/extern-inline.m4: + Update from gnulib. + + build: port to GCC 4.6.4 + glibc 2.5 + On platforms this old, building with _FORTIFY_SOURCE equal to 2 + results in duplicate definitions of standard library functions. + Reported by Nelson H. F. Beebe. + * configure.ac (_FORTIFY_SOURCE): Sort after GNULIB_PORTCHECK. + By default, do not enable this unless GNULIB_PORTCHECK is defined. + This better matches the original intent, which as I recall was to + enable these extra checks only with --enable-gcc-warnings. + + 2014-11-14 David Reitter + + * Makefile.in (install-arch-indep): Compress publicsuffix.txt file. + + 2014-11-13 Paul Eggert + + * .dir-locals.el: Remove reference to bzr commit --fixes debbugs. + + 2014-11-13 Lars Magne Ingebrigtsen + + * .gitignore: Copy over sufficient ignorable files from the old + .bzrignore that a simple build doesn't list lots of unregistered files. + + 2014-11-11 Eric S. Raymond + + Git transition. + * Makefile.in (src): Set VCSWITNESS appropriately for git. + + All bzr revision IDS, and all CVS revision IDs for which a commit + could be identified, were changed to time-date!committer version + stamps. All .cvsignore files in the history became .gitignore + files. Fixes-bug annotations from bzr were copied into the + corresponding commit comments. + + (The first .cvsignore commit was 1999-09-30T14:07:54Z!fx@gnu.org. + The last CVS commit was 2009-12-27T08:11:12Z!cyd@stupidchicken.com.) + + Committer/author email addresses are generally correct for the + transition day, not necessarily when the commit was originally made. + + 2014-11-10 Glenn Morris + + * configure.ac (doc/man/emacs.1): Generate it. + * Makefile.in (top_bootclean): Remove doc/man/emacs.1. + * make-dist: Do not distribute doc/man/emacs.1. + + * configure.ac (etc/refcards/emacsver.tex): Generate it. + * Makefile.in (etc-emacsver): New PHONY rule. + (bootstrap-clean): Delete etc/refcards/emacsver.tex. + + * configure.ac (doc/emacs/emacsver.texi): Generate it. + * make-dist (doc/emacs/emacsver.texi) [update]: No longer check it. + + 2014-11-08 Dani Moncayo + + * build-aux/msys-to-w32: Simplify the initial over-engineered + interface, and the implementation. + * Makefile.in (epaths-force-w32): Update for the above. Also + simplify, assuming that the shell is bash (which is the case in MSYS). + (msys_w32prefix_subst, msys_sed_sh_escape): Remove (no longer used). + + 2014-11-05 Glenn Morris + + * Makefile.in (QUIET_SUBMAKE): Remove. + (install-info, uninstall): Use --no-print-directory. (Bug#18908) + + 2014-10-25 Eric S. Raymond + + * autogen.sh: Neutralize language specific to a repository type. + + 2014-10-23 Paul Eggert + + * Makefile.in (ACLOCAL_INPUTS): Omit unnecessary use of 'wildcard'. + + Fix race in 'make info/dir', and speed it up. + * Makefile.in (AWK, srcdir_doc_info_dir_inputs, info_dir_inputs): + New macros. + (clean): Remove info-dir.*. + (info_dir_deps): Depend on make-info-dir too. + (${srcdir}/info/dir): Make sure info directory exists. + Don't call pwd; just redirect make-info-dir's stdout to temp file. + * build-aux/make-info-dir: Send output to stdout. + Take input file names from args. + Fix a "FIXME inefficient looping" by using awk's associative arrays. + Basically, this rewrites the script from scratch, and speeds up + 'make info/dir' from 2.6s to 0.07s on my platform. + + 2014-10-20 Glenn Morris + + * Merge in all changes up to 24.4 release. + + 2014-10-19 Paul Eggert + + Merge from gnulib, incorporating: + 2014-10-18 readlinkat: port to AIX 7.1 + 2014-10-07 fcntl: fix error reporting by dupfd + * lib/fcntl.c, lib/readlinkat.c, lib/unistd.in.h, m4/readlinkat.m4: + * m4/unistd_h.m4: Update from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2014-10-17 Glenn Morris + + * configure.ac: Simplify OS X $canonical tests. + + 2014-10-15 Jan Djärv + + * configure.ac: Move the OSX 10.6 test. + + 2014-10-15 Stefan Monnier + + * .bzrignore: Add uni-brackets.el. + + 2014-10-14 Jan Djärv + + * configure.ac: apple-darwin powerpc is unported. + Require OSX >= 10.6 even if --with-ns is not given. + + 2014-10-12 Ken Brown + + * configure.ac (LD_SWITCH_SYSTEM_TEMACS) [CYGWIN]: Set stack size + to 8 MB. (Bug#18438) + + 2014-10-12 Jan Djärv + + * configure.ac: Require OSX 10.6. Remove NSInteger test, + use nsfont for Gnustep, macfont for OSX. + + 2014-10-12 Paul Eggert + + Fix putenv race conditions that can crash Emacs (Bug#8705). + * configure.ac (LOCALTIME_CACHE): Remove. + We needn't worry about SunOS 4 any more; Sun dropped support in 2003. + All uses of LOCALTIME_CACHE removed. This simplifies the fix. + (tzalloc): Add check for this function. + + 2014-10-06 Jan Djärv + + * configure.ac: Add -Wno-string-plus-int for clang. + + 2014-10-04 Glenn Morris + + * configure.ac: Silence warning with some old Xrandr.h. (Bug#18465) + + 2014-10-03 Paul Eggert + + * configure.ac: Port to strict POSIX shells on non-MinGW (Bug#18612). + + 2014-09-29 Eli Zaretskii + + * README: Bump version to 25.0.50. + + * configure.ac (AC_INIT): Bump version to 25.0.50. + + 2014-09-29 Dmitry Antipov + + * configure.ac (HAVE_STATEMENT_EXPRESSIONS): Remove. + For USE_STACK_LISP_OBJECTS, we always assume __GNUC__. + + 2014-09-27 Ken Brown + + * configure.ac [CYGWIN]: Enable sound support. + + 2014-09-25 Paul Eggert + + * configure.ac (MAKEINFO): Allow 'makeinfo' to be called 'texi2any'. + + 2014-09-23 Paul Eggert + + Merge from gnulib, incorporating: + 2014-09-11 fcntl-h: fix compilation with Intel C++ compiler + 2014-09-04 pthread, pthread_sigmask, threadlib: port to Ubuntu 14.04 + + 2014-09-22 Jan Djärv + + * configure.ac: Increase headerpad_extra to 1000, update the comment + about load commands (Bug#18505). + + 2014-09-15 Eli Zaretskii + + * configure.ac (HAVE_SOUND): Check for mmsystem.h header that + defines the sound stuff on MS-Windows. (Bug#18463) + + 2014-09-10 Paul Eggert + + Improve the experimental local and scoped allocation. + * configure.ac (HAVE_STRUCT_ATTRIBUTE_ALIGNED) + (HAVE_STATEMENT_EXPRESSIONS): New configure-time checks. + + 2014-09-07 Paul Eggert + + Expand @AM_DEFAULT_VERBOSITY@ even if Automake is old (Bug#18415). + * configure.ac: Assume verbose output for older Automake. + + 2014-09-04 Paul Eggert + + * configure.ac (MAKEINFO): Clean up some configuration bitrot. + MAKEINFO is already set before we get here, so no need to call AC_PATH_PROG. + Bypass $am_missing_run. Simplify version-number checking. + + 2014-09-02 Paul Eggert + + Merge from gnulib, incorporating: + 2014-09-02 gnulib-common.m4: port to GCC 4.2.1 and Sun Studio 12 C++ + 2014-09-01 manywarnings: add GCC 4.9 warnings + * m4/gnulib-common.m4, m4/manywarnings.m4: Update from gnulib. + + 2014-09-01 Paul Eggert + + --enable-silent-rules now suppresses more chatter. + * INSTALL: Document this. + + Clean up extern decls a bit. + * configure.ac (WERROR_CFLAGS): Don't disable -Wnested-externs. + While we're at it, don't disable -Wlogical-op either. + + 2014-08-31 Paul Eggert + + * configure.ac (MAKE): Export it, for config.status. + Needed on AIX when 'configure' infers MAKE=gmake. + (__restrict_arr): Remove; no longer used. + + 2014-08-30 Paul Eggert + + Vector-sorting fixes (Bug#18361). + * configure.ac (qsort_r): Remove, as we no longer use qsort-like + functions. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + * lib/vla.h, m4/vararrays.m4: New files, copied from gnulib. + * lib/stdlib.in.h, m4/stdlib_h.m4: Sync from gnulib, incorporating: + 2014-08-29 qsort_r: new module, for GNU-style qsort_r + The previous two files' changes are boilerplate generated by + admin/merge-gnulib, and should not affect Emacs. + + 2014-08-29 Dmitry Antipov + + * configure.ac (AC_CHECK_FUNCS): Check for qsort_r. + + 2014-08-28 Ken Brown + + * configure.ac (HYBRID_MALLOC): New macro; define to use gmalloc + before dumping and the system malloc after dumping. Define on + Cygwin. (Bug#18222) + + 2014-08-28 Glenn Morris + + * Makefile.in (appdatadir): New variable. + (install-etc, uninstall, clean): Handle etc/emacs.appdata.xml. + + 2014-08-27 Paul Eggert + + Improve robustness of new string-collation code (Bug#18051). + * configure.ac (newlocale): Check for this, not for uselocale. + + 2014-08-26 Dmitry Antipov + + Detect features needed to handle C stack overflows. + * configure.ac: Check for sigaltstack and related sigaction + support. Unconditionally check for sigsetjmp and siglongjmp. + (HAVE_STACK_OVERFLOW_HANDLING): Define if we can support it. + + (HAVE_LINUX_SYSINFO): Avoid false positive on Solaris. + + 2014-08-25 Ken Brown + + * configure.ac (G_SLICE_ALWAYS_MALLOC): Remove obsolete macro. + + 2014-08-25 Christoph Scholtes + + * INSTALL.REPO: Remove reference to obsolete configure scripts + on non-Posix platforms (Bug#18323). + + 2014-08-24 Michael Albinus + + * configure.ac: Check also for the uselocale function. (Bug#18051) + + 2014-08-23 Karol Ostrovsky (tiny change) + + * configure.ac: Accept "*-mingw*", not just "*-mingw32", as + canonical name of a MinGW build, because using MSYS2 'uname' + produces "MINGW64". + + 2014-08-21 Ken Brown + + * configure.ac (HAVE_XPM): Explain the use of CPPFLAGS in the + Cygwin-w32 build. (Bug#18302) + + 2014-08-11 Paul Eggert + + Don't prevent random file systems from being unmounted (Bug#18232). + This fix relies on having the 'fchdir' function, and on having + "." be searchable (or at least readable, on platforms lacking O_SEARCH), + but that's good enough to handle the vast majority of cases and the + remaining folks can just live with the annoyance of file systems + that occasionally can't be unmounted. + * configure.ac (fchdir): New function to check for. + * lib/save-cwd.c: Copy from gnulib, except omit the part that + allocates memory, since that can cause problems in Emacs. + * lib/save-cwd.h: Copy from gnulib. + + 2014-08-10 Eli Zaretskii + + * config.bat: Fix some confusing wording. + + 2014-08-09 Eli Zaretskii + + * config.bat: Fix EOL format in lines modified by last commit. + + 2014-08-09 Reuben Thomas + + * make-dist (files): Remove msdos/is_exec.c and sigaction.c. + * config.bat: Require DJGPP 2.02 or later. + + 2014-08-09 Paul Eggert + + Merge from gnulib, incorporating: + 2014-08-07 getdtablesize: fall back on sysconf (_SC_OPEN_MAX) + 2014-08-05 sys_select: fix FD_ZERO problem on Solaris 10 + * lib/getdtablesize.c, lib/sys_select.in.h: Update from gnulib. + + 2014-08-07 Reuben Thomas + + * README: ``MSDOG'' becomes ``MS-DOS''. + + 2014-08-04 Paul Eggert + + Merge from gnulib, incorporating: + 2014-08-04 extern-inline: port to FreeBSD, DragonFly + * lib/gnulib.mk: Regenerate (comment change only). + * m4/extern-inline.m4: Update from gnulib. + + 2014-08-02 Paul Eggert + + * configure.ac (HAVE_TIMERFD): Also check for TFD_NONBLOCK, + since the code is using TFD_NONBLOCK now. + + 2014-07-31 Paul Eggert + + Simplify timerfd configuration and fix some minor glitches. + * configure.ac (HAVE_TIMERFD): Define only if TFD_CLOEXEC works, + since the code leaked file descriptors to children when !TFD_CLOEXEC. + (HAVE_TIMERFD_CLOEXEC): Remove; no longer used. + * m4/clock_time.m4 (gl_CLOCK_TIME): Don't check for clock_getres. + This reverts the previous change to this file, so it matches + gnulib again. + + 2014-07-28 Dmitry Antipov + + * configure.ac (toplevel): Check whether GNU/Linux-specific + timerfd functions and macros are available. + * m4/clock_time.m4 (gl_CLOCK_TIME): Check for clock_getres as well. + + 2014-07-13 Paul Eggert + + Improve behavior of 'bzr up; cd src; make -k'. + * Makefile.in (ACLOCAL_INPUTS): Add all m4/*.m4 files. + + 2014-07-12 Paul Eggert + + Merge from gnulib, incorporating: + 2014-06-27 mktime: merge #if/#ifdef usage from glibc + * lib/mktime.c: Update from gnulib. + + * Makefile.in (install-arch-indep): Avoid readdir race (Bug#17971). + + 2014-07-10 Dmitry Antipov + + * configure.ac: Check whether sys/sysinfo.h provides + Linux 'sysinfo' function and 'struct sysinfo' type. + + 2014-06-28 Glenn Morris + + * configure.ac (lwlib_deps_frag, oldxmenu_deps_frag): New output files. + * make-dist (lwlib, oldXMenu): Distribute *.mk. + + 2014-06-27 Glenn Morris + + * Makefile.in (src): No more need to pass BOOTSTRAPEMACS. + + * make-dist: Exclude test/automated/*.log. + + 2014-06-26 Glenn Morris + + * Makefile.in (mostlyclean, clean): Maybe clean test/automated. + + 2014-06-21 Paul Eggert + + * configure.ac: Warn about --enable-link-time-optimization's issues + in --help message (Bug#17806). + + Port to GCC 4.9.0 with link time optimization (Bug#17806). + * configure.ac (CFLAGS): With link time optimization, + use -ffat-lto-objects if supported; otherwise Emacs won't + build with GCC 4.9.0. + + 2014-06-20 Paul Eggert + + Diagnose failures due to colons in directory names (Bug#17278). + * Makefile.in (epaths-force): Don't allow ':' in directories whose + names go into a colon-separated path. + * configure.ac: Fail if submake fails. + + 2014-06-17 Paul Eggert + + Omit redundant extern decls. + Most of this patch is from Dmitry Antipov, in: + http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00263.html + * configure.ac (WERROR_CFLAGS): Add -Wredundant-decls. + + Merge from gnulib, incorporating: + 2014-06-17 acl: port to gcc -Wredundant-decls + 2014-06-01 gnulib-common.m4: Fix typo in _GL_UNUSED_LABEL. + * lib/acl.h, m4/gnulib-common.m4: Update from gnulib. + + 2014-06-15 Glenn Morris + + * Makefile.in: Use `make -C' rather than `cd && make' throughout. + + * Makefile.in: Parallelize clean rules using GNU make features. + (submake_template): New definition. + (mostlyclean_dirs, clean_dirs, distclean_dirs, maintainer_clean_dirs): + New variables. + (mostlyclean, clean, distclean, bootstrap-clean, maintainer-clean) + (extraclean): Define using each subdirectory as a prequisite. + * lib/Makefile.am (bootstrap-clean): New. + + 2014-06-15 Paul Eggert + + Port part of the AIX fix to Solaris (Bug#17598). + * configure.ac (_REENTRANT): Define on Solaris if HAVE_PTHREAD. + This ports part of the recent AIX fixes to Solaris. It is needed + for the same reason that _THREAD_SAFE is needed on AIX, e.g., to + make sure that each thread has its own 'errno'. + + 2014-06-13 Glenn Morris + + * Makefile.in (CC, CFLAGS, LDFLAGS, CPPFLAGS, abs_top_srcdir): + Remove, no longer used. + (lib, lib-src, lisp, nt, src, blessmail, install-arch-dep) + (install-nt, install-strip, uninstall, uninstall-nt) + (mostlyclean, clean, distclean, bootstrap-clean) + (maintainer-clean, extraclean, TAGS, tags, check, $(DOCS)): + ($(INSTALL_DOC), $(UNINSTALL_DOC), info, bootstrap, check-declare): + GNU make automatically passes command-line arguments to sub-makes. + + 2014-06-11 Paul Eggert + + Use a shell function in configure.ac to cut down on code duplication. + * configure.ac (emacs_check_gnu_make): New shell function. + Use it to avoid duplication when checking for GNU Make. + It's OK for 'configure' to use shell functions these days, + as long as we follow the advice in the 'Shell Functions' + section of the Autoconf manual. + + 2014-06-11 Glenn Morris + + * configure.ac: Require at least version 3.81 of GNU make. + + 2014-06-10 Paul Eggert + + Rely on AC_CANONICAL_HOST to detect whether we're using mingw. + See the thread containing: + http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00206.html + * configure.ac (AC_CANONICAL_HOST): Invoke this as early as we + can, which is just after AM_INIT_AUTOMAKE. Then check for mingw + just after that. + + 2014-06-10 Glenn Morris + + * Makefile.in (AUTOCONF, AUTOMAKE, AUTOHEADER, ACLOCAL): + New, set by configure. Use throughout where appropriate. + + * Makefile.in (INFO_EXT): Remove and replace by ".info" throughout. + * configure.ac (INFO_EXT, INFO_OPTS): Remove output variables. + + 2014-06-08 Paul Eggert + + Port better to AIX (Bug#17598). + * configure.ac (with_xpm_set): New shell var. + (_THREAD_SAFE): Define on AIX if HAVE_PTHREAD. + (with_xpm): Default to 'no' on AIX. + (LIBXPM): Append -lXpm if -lXaw is also used, as the latter + requires the former on AIX. + + 2014-06-05 Paul Eggert + + Try harder to find GNU Make when configuring. + * configure.ac (AC_PROG_MAKE_SET): Define a dummy. + (MAKE): Set it to GNU Make, if one can be found. + Search PATH for 'make', 'gmake', 'gnumake'. + This works better on platforms like AIX, where GNU Make + might be in /opt/freeware/bin/make, and reside + behind /usr/bin/make in the PATH. + + 2014-06-05 Dmitry Antipov + + * configure.ac (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM. + * INSTALL: Mention SVG image support. + + 2014-06-05 Paul Eggert + + * configure.ac: --without-all now implies --without-xft, --disable-acl. + * INSTALL: Remove apparently unmaintained documentation about what + --without-all exactly means. + + 2014-06-03 Eli Zaretskii + + * configure.ac (C_HEAP_SWITCH): Remove. + + 2014-06-02 Paul Eggert + + Fix port to 32-bit AIX with xlc (Bug#17598). + This doesn't fix Bug#17598, but it does fix a regression since Emacs + built with xlc until recently, and perhaps it'll help us fix Bug#17598. + * configure.ac (GC_SETJMP_WORKS): Define for AIX, too. + Merge from gnulib, incorporating: + 2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1 + * lib/ftoastr.c: Update from gnulib. + + 2014-06-01 Paul Eggert + + Merge from gnulib, incorporating: + 2014-06-02 acl: apply pure attribute to two functions + 2014-06-01 gnulib-common.m4: add _GL_UNUSED_LABEL + 2014-05-31 dup2, fcntl, fcntl-h: port to AIX 7.1 + 2014-05-30 ftoastr: work around compiler bug in IBM xlc 12.1 + * lib/acl-internal.h, lib/fcntl.in.h, lib/ftoastr.h: + * m4/dup2.m4, m4/fcntl.m4, m4/gnulib-common.m4: + Update from gnulib. + + 2014-06-01 Juanma Barranquero + + * configure.ac (C_HEAP_SWITCH): Raise HEAPSIZE value for 32-bit + builds on Windows. + + 2014-05-29 Paul Eggert + + * configure.ac (pthread_sigmask): Look in LIB_PTHREAD too (Bug#17561). + Fixes configuration glitch found in . + + 2014-05-29 Eli Zaretskii + + * configure.ac (ADDSECTION, TEMACS_POST_LINK): Don't compute, + unused. + + 2014-05-29 Paul Eggert + + Don't substitute sigprocmask for pthread_sigmask (Bug#17561). + sigprocmask isn't portable in a multithreaded process. + * configure.ac (gl_THREADLIB): Remove dummy. + Merge from gnulib, incorporating: + 2014-05-28 pthread_sigmask, timer-time: use gl_THREADLIB only if needed + * m4/pthread_sigmask.m4, m4/timer_time.m4: Update from gnulib. + + 2014-05-29 Glenn Morris + + * configure.ac: Explicitly drop some ancient Solaris versions. + + 2014-05-27 Fabrice Popineau + + * configure.ac (C_HEAP_SWITCH): Define for different values of + dumped heap size depending on 32/64bits arch on Windows. + Don't check for pthreads.h on MinGW32/64, it gets in the way. + Use mmap(2) for buffers and system malloc for MinGW32/64. + (EMACS_HEAPSIZE): Remove. + + 2014-05-27 Paul Eggert + + Merge from gnulib, incorporating: + 2014-05-21 fchdir: port 'open' and 'close' redefinitions to AIX 7.1 + * lib/openat-proc.c: Update from gnulib. + + 2014-05-26 Paul Eggert + + Fix port to 32-bit AIX (Bug#17540). + * configure.ac (opsys): On Power Architecture, treat release 7 of + AIX like releases 5 and 6. + + 2014-05-19 Paul Eggert + + Remove dependencies on getdelim and getline. + * configure.ac (getdelim, getline): Remove. + + 2014-05-18 Glenn Morris + + * configure.ac: Do not bother testing for png in non-graphical builds. + + 2014-05-18 Paul Eggert + + Port ctags+etags build to Sun C 5.12. + * .bzrignore: Remove lib-src/ctags.c. + + Port recent libpng changes to hosts with missing png.h. + * configure.ac (HAVE_PNG): Port to platforms where libpng-config + succeeds but png.h is absent, by testing libpng-config's output + rather than trusting it. I ran into this problem when building + Emacs trunk on a Solaris 10 host. + + 2014-05-17 Paul Eggert + + Assume C99 or later (Bug#17487). + * lib/stdarg.in.h, lib/stdbool.in.h, m4/stdarg.m4, m4/stdbool.m4: + Remove. + * configure.ac (_AC_PROG_CC_C89): Define a dummy, to keep 'configure' + smaller. + (gl_PROG_CC_C99): Use this to get C99 or later. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2014-05-16 Paul Eggert + + Don't require pkg-config when building from repository. + * INSTALL: Prefer './configure FOO=BAR' to 'FOO=BAR ./configure'. + * INSTALL.REPO: pkg-config is no longer required to build from + the repository. + * autogen.sh: Don't check for pkg-config. + (progs): Remove pkg-config. + (pkg_config_min, AUTORECONF_ENV, env_space, ACLOCAL_PATH): + Remove. All uses removed. + * m4/pkg.m4: New file, built by admin/merge-pkg-config. + * configure.ac: Remove unnecessary m4_pattern_forbid of ^PKG_ and + an AC_ARG_VAR of PKG_CONFIG_PATH. pkg.m4 does that for us. + (EMACS_CHECK_MODULES): Remove workaround for old pkg-config bug, + as we use pkg.m4 from a newer pkg-config. + + 2014-05-15 Jan Djärv + + * configure.ac (LIBPNG): Do not test for libpng if NS_IMPL_COCOA. + + 2014-05-13 Dmitry Antipov + + * configure.ac (HAVE_XFIXES): Define if available. + (XFIXES_CFLAGS, XFIXES_LIBS): New AC_SUBSTs. + (--enable-link-time-optimization): Add clang support. + * INSTALL: Mention it. + + 2014-05-12 Katsumi Yamaoka + + * configure.ac (EMACS_CHECK_MODULES): Fix typo in previous change. + + 2014-05-11 Paul Eggert + + Work around bug in pkg-config before 0.26 (Bug#17438). + * configure.ac (EMACS_CHECK_MODULES): Check for failed exit status + of pkg-config, on older pkg-config versions that don't do it + properly. + + 2014-05-07 Glenn Morris + + * autogen.sh: Check for failing aclocal. + + 2014-05-05 Glenn Morris + + * autogen.sh: Check any pre-existing ACLOCAL_PATH. + + 2014-05-04 Paul Eggert + + Consult libpng-config more consistently (Bug#17339). + This is mainly for simplicity, but it should also avoid + some future problems like the ones we recently had with NetBSD. + * configure.ac (LIBPNG): Configure after LIBZ. Use libpng-config + for cflags, too. Append -lz if we're not already doing that with + LIBZ. Do not bother appending -lm, since we always append that. + Coalesce some duplicate code. + + * autogen.sh: Use ‘"’ to quote a message that often contains ‘'’. + + Require ImageMagick >= 6.3.5, due to PixelSetMagickColor (Bug#17339). + * configure.ac (IMAGEMAGICK_MODULE): Bump prereq from 6.2.8 to 6.3.5. + A more-complicated fix would be to remove uses of PixelSetMagickColor, + introduced in ImageMagick 6.3.5 (Sept. 2007). + + 2014-05-04 Glenn Morris + + * configure.ac (LIBPNG): Consult libpng-config for the precise + form of "-lpng" to use. (Bug#17339) + + 2014-05-03 Glenn Morris + + * autogen.sh: If all else fails, try using pkg-config to find pkg.m4. + + 2014-05-03 Paul Eggert + + Get --enable-gcc-warnings to work after touching configure.ac. + Preserve ACLOCAL_PATH in later builds, so that by default it has + the same value as it did in the first build after initial checkout. + * Makefile.in (ACLOCAL_PATH): New macro. + ($(srcdir)/aclocal.m4): Use it. + * configure.ac (ACLOCAL_PATH): AC_SUBST it. + * autogen.sh (env_space): New var. + Tell user what variables, if any, to pass to 'configure'. + + Get --enable-gcc-warnings working again. + The recent changes to configure.ac removed the transliteration of + -I to -isystem in CFLAGS, which is needed for --enable-gcc-warnings. + Bring this back while keeping the spirit of the recent changes. + * configure.ac (edit_cflags): Restore this shell var, and put it + at the top level, where it'll be useful when emacs-24 is next merged. + (EMACS_CHECK_MODULES): New macro. All uses of PKG_CHECK_MODULES + changed to use it. + + Make it easier on maintainers who use their own Automake. + * autogen.sh (ACLOCAL_PATH, AUTORECONF_ENV): New vars. + Set them to avoid problems when maintainers prepend their own + Automake installations to their PATH. Report an error if pkg.m4 + can't be found. + + 2014-05-02 Glenn Morris + + * configure.ac (PKG_CONFIG_PATH): Declare with AC_ARG_VAR. + + * configure.ac (--with-pkg-config-prog): Remove. + Use the PKG_CONFIG environment variable instead if you need it. + + * configure.ac: Use pkg-config's pkg.m4, rather than reinventing it. + Add explicit AC_SUBST's where needed. + * autogen.sh (progs): Add pkg-config. + (pkg_config_min): New variable. + + * configure.ac (AC_CONFIG_MACRO_DIR): Use it. + + * autogen.sh (get_version): Handle no leading whitespace. + (check_version, main): Handle program names with hyphens. + + 2014-04-30 Glenn Morris + + * configure.ac: Treat MirBSD as OpenBSD. (Bug#17339) + + 2014-04-21 Daniel Colascione + + * .bzrignore: Add a.out to bzr ignore list (a test generates this + file). + + 2014-04-19 Paul Eggert + + Link to glib-using libraries when checking for glib (Bug#17289). + * configure.ac (XGSELOBJ): Include GTK_LIBS, RSVG_LIBS, etc. + when testing whether Glib is linked in. Similarly for CFLAGS. + + 2014-04-17 Paul Eggert + + * GNUmakefile: Speed up 'make bootstrap' in fresh checkout. + (ORDINARY_GOALS): New macro, which excludes 'bootstrap'. + (bootstrap, .PHONY): New rules. + * INSTALL.REPO: Document current procedure better. + Move copyright notice to just before license notice. + + * Makefile.in (FRC, force-info): Remove. + All uses removed. This hack is no longer needed here + now that we can assume GNU Make's .PHONY feature works. + (bootstrap): No need to make 'info', since 'all' now implies 'info'. + + 2014-04-16 Eli Zaretskii + + * config.bat: Update for Emacs 24.4. + + 2014-04-16 Paul Eggert + + Port to IRIX 6.5 (Bug#9684). + This port requires IRIX cc, as I did not have time to get + undump working with the old GCC on the system I had access to, + but that's better than nothing. + * configure.ac (gl_GCC_VERSION_IFELSE): Remove unused macro + that wouldn't have worked anyway, with IRIX cc. + (emacs_cv_clang, emacs_cv_sanitize_address) + (ns_osx_have_104, ns_osx_have_105): + Don't assume '#error' makes the compiler fail, + as this doesn't work with IRIX cc. + (CFLAGS, LIBS): Don't let the GnuTLS results infect later 'configure' + checks. This runs afoul of an IRIX configuration where GnuTLS is + in an optional library that also contains getdelim, and causes + a later 'configure' to incorrectly think getdelim is supported. + + 2014-04-16 Eli Zaretskii + + * configure.ac (LN_S_FILEONLY, LN_S): Use "/bin/ln" on MinGW, to + ensure the MSYS ln.exe is invoked. + + 2014-04-15 Paul Eggert + + Remove DATA_SEG_BITS. + * configure.ac (DATA_SEG_BITS): Remove. All uses removed. + + 2014-04-14 Paul Eggert + + * autogen.sh: Use autoreconf's -f option (Bug#17258). + + Clean up configure-time library handling a bit. + This patch was inspired by emacs-24 bzr 116961, which fixed + a bug due to sloppy library handling in 'configure'. + * configure.ac (LIB_MATH, LIB_PTHREAD, LIBXMU): + Use AC_SEARCH_LIBS instead of AC_CHECK_LIB as per Autoconf manual. + (LIB_MATH, LIB_PTHREAD, HAVE_X11, IMAGEMAGICK_LIBS, GTK_LIBS) + (DBUS_LIBS, LIBXMU, XFT_LIBS, LIBXSM, LIBXML2_LIBS, LIBS_MAIL) + (with_kerberos): + Don't let the library choice infect $LIBS. + (dnet_ntoa, cma_open): Remove obsolete tests. + (emacs_pthread_function): Probe for pthread_kill, not pthread_self, + as that's a bit more selective on GNU/Linux. + (LIBXEXT): Remove. + (touchlock): Test for existence when $LIBS_MAIL is in use. + (AC_CHECK_FUNCS): Use only $LIB_MATH in addition to $LIBS + when testing for typical functions like accept4, lrand48. + (random, rint): Remove obsolete HP-UX 9 A.09.05 test. + + 2014-04-11 Glenn Morris + + * make-dist: Do not distribute generated admin/grammars/Makefile. + Do distribute lib-src/update-game-score.exe.manifest. + + 2014-04-11 Ken Brown + + * configure.ac (EMACS_MANIFEST): Revert last change (but leave + UPDATE_MANIFEST empty). + + 2014-04-07 Ken Brown + + * configure.ac (EMACS_MANIFEST, UPDATE_MANIFEST): Leave these + variables empty on Cygwin. (Bug#17176) + + 2014-04-03 Glenn Morris + + * make-dist: Further update AC_INIT regexp. + + 2014-04-02 Glenn Morris + + * configure.ac: Make the final "Does Emacs use Gsettings" message + consistent with src/config.h. + + 2014-03-31 Jan Djärv + + * configure.ac: Fix errors from previous checkin (GSettings check). + + 2014-03-29 Jan Djärv + + * configure.ac: Add check that GSettings is in libgio (Bug#17118). + + 2014-03-28 Glenn Morris + + * configure.ac (AC_INIT): Add "GNU" in package, add bug address. + (PACKAGE_BUGREPORT): Use it. + (make-dist): Update AC_INIT regexp. + + * configure.ac (ACL_SUMMARY): Rename from acl_summary, for consistency. + (EMACS_CONFIG_FEATURES): New define. + + 2014-03-27 Paul Eggert + + * configure.ac: Suggest './configure MAKE=gmake' in diagnostic. + This tends to work better than 'MAKE=gmake ./configure' if later + builds run config.status etc. + + 2014-03-27 Glenn Morris + + * configure.ac: Require GNU make. + (HAVE_GNU_MAKE): Remove. + + 2014-03-26 Paul Eggert + + Merge from gnulib, incorporating: + 2014-03-26 strftime: wrap macros in "do {...} while(0)" + * lib/strftime.c: Update from gnulib. + + 2014-03-26 Glenn Morris + + * configure.ac (CLASH_DETECTION): Remove option. Every platform + supports it, and the runtime option `create-lockfiles' replaces it. + + 2014-03-23 Daniel Colascione + + * configure.ac: (Bug#17069) Include GFILENOTIFY objects in glib check. + + 2014-03-22 Glenn Morris + + * make-dist: Do not distribute lib-src/testfile. + + 2014-03-21 Eli Zaretskii + + * configure.ac: Bump version to 24.4.50. + + 2014-03-21 Glenn Morris + + * Makefile.in (all): Depend on `info'. (Bug#16626) + + 2014-03-07 Paul Eggert + + Merge from gnulib, incorporating: + 2014-03-04 stdint: fix missing SIZE_MAX on Android + 2013-03-02 sys_types: avoid autoconf warning about gl_SYS_TYPES_H + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + * lib/stdint.in.h, lib/sys_types.in.h, m4/sys_types_h.m4: + Update from gnulib. + + 2014-03-05 Glenn Morris + + * configure.ac: Tweak the "unported" error message. + + 2014-03-05 Paul Eggert + + Fix configuration bug on Solaris 2.5.1 (Bug#16905). + * configure.ac: Fix a bug in shell pattern matching that caused + 'configure' to treat Solaris 2.5.1 as if it were Solaris 10 or later. + + 2014-02-25 Paul Eggert + + Merge from gnulib (Bug#16825). + 2014-02-25 unistd: port readlink to Mac OS X 10.3.9 + + 2014-02-24 Paul Eggert + + Merge from gnulib, incorporating: + 2014-02-21 timer: fix uClibc detection of threading + 2014-02-21 maintainer-makefiles: provide AC_PROG_SED for older autoconf + + 2014-02-18 Mirek Kaim (tiny change) + + * configure.ac [HAVE_W32]: Test for ImageMagick. (Bug#16754) + + 2014-02-14 Paul Eggert + + * Makefile.in (install-arch-indep): Allow ' ' in destdir (Bug#16717). + This fixes a bug in the previous change. Also, use $(SHELL) + rather than sh, as that's more likely to be portable. + + 2014-02-13 Paul Eggert + + * Makefile.in (install-arch-indep): Simplify (Bug#16717). + This should make it more reliable, and hopefully more portable to + non-GNU 'make' implementations such as HP-UX 'make'. + + 2014-02-13 Juanma Barranquero + + * Makefile.in (install-nt): Also pass datadir. + + 2014-02-05 Paul Eggert + + Merge from gnulib, incorporating: + 2014-01-23 pthread: work around winpthread header pollution on mingw + * lib/time.in.h: Update from gnulib. + + 2014-01-23 Paul Eggert + + Merge from gnulib, incorporating: + 2014-01-22 qacl: check for fchmod + * m4/acl.m4: Update from gnulib. + + 2014-01-22 Paul Eggert + + Fix miscellaneous update-game-score bugs. + * configure.ac (difftime): Remove. + + 2014-01-20 Paul Eggert + + Merge from gnulib, incorporating: + 2014-01-20 stdalign: port to HP-UX compilers + 2014-01-16 strtoimax: port to platforms lacking 'long long' + 2014-01-16 update from texinfo + * lib/stdalign.in.h, lib/strtoimax.c: Update from gnulib. + + 2014-01-12 Glenn Morris + + * README: Replace reference to etc/MAILINGLISTS. + + 2014-01-11 Fabrice Popineau + + * configure.ac: Read $srcdir/nt/mingw-cfg.site when $MSYSTEM is + "MINGW64" as well. + + 2014-01-11 Paul Eggert + + Merge from gnulib, incorporating: + 2014-01-07 update from texinfo + 2014-01-06 md5, sha1, sha256, sha512: support older autoconf + + 2014-01-09 Eric S. Raymond + + * INSTALL, configure.ac, etc/CONTRIBUTE, nt/INSTALL: Remove + unnecessarily specific references to Bazaar that could better + simply be to the repository. + + 2014-01-08 Eric S. Raymond + + * INSTALL.BZR: Rename to INSTALL.REPO. Remove refs to specific VCS. + * INSTALL, autogen.sh: Update for above change. + + 2014-01-05 Paul Eggert + + Port to GNU/Linux with recent grsecurity/PaX patches (Bug#16343). + Problem and proposed patch reported by Ulrich Mueller; + this patch uses a somewhat-different approach. + * configure.ac (SETFATTR): New variable. + + 2014-01-03 Paul Eggert + + Merge from gnulib, incorporating: + 2014-01-02 manywarnings: remove -Wmudflap + This ports better to GCC 4.9-to-be. + + 2013-12-31 Fabrice Popineau + + * configure.ac (canonical, C_SWITCH_SYSTEM): Support a 64-bit + MinGW64 build on MS-Windows. + + 2013-12-29 Jan Djärv + + * configure.ac (xcsdkdir): Only set if using xcrun. + + 2013-12-29 Paul Eggert + + * configure.ac (LIBXML2_CFLAGS): Fix xcrun-related quoting problem. + Reported by YAMAMOTO Mitsuharu in: + http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00995.html + + 2013-12-28 Jan Djärv + + * configure.ac: Fix CC detection for xcrun case. + + 2013-12-28 Paul Eggert + + Fix problem with MAKE and xcrun configuration. + * configure.ac: Don't set MAKE unless 'make' doesn't work. + Set it only in the environment, not in the makefile. + Reported by Glenn Morris in: + http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00969.html + + 2013-12-27 Paul Eggert + + Port xcrun configuration to GNU/Linux. + * configure.ac (xcsdkdir): Default to empty. + (XCRUN): Don't require Darwin for xcrun. Move xcrun checking to + just before AM_INIT_AUTOMAKE, to make the dependency between it + and automake clearer. + (CC): Don't use AC_PROG_CC twice; only the first use expands to the + shell code that is wanted, which breaks 'configure' on non-Darwin + platforms. Instead, fix CC by hand if it's not found. + + 2013-12-27 Jan Djärv + + * configure.ac: Detect xcrun on OSX and use it for make, gcc and + libxml. + + 2013-12-26 Paul Eggert + + Fix core dumps with gcc -fsanitize=address and GNU/Linux. + * configure.ac: Check whether addresses are sanitized. + (CANNOT_DUMP): Warn if addresses are sanitized and not CANNOT_DUMP. + (DOUG_LEA_MALLOC): Do not define if addresses are sanitized. + (SYSTEM_MALLOC): Define if addresses are sanitized. + + 2013-12-24 Paul Eggert + + Automate the procedure for updating copyright year. + * build-aux/update-copyright: New file. + * make-dist: Distribute it. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2013-12-23 Andreas Schwab + + * configure.ac: Replace obsolete macro AC_CONFIG_HEADER by + AC_CONFIG_HEADERS. + + 2013-12-19 Rüdiger Sonderfeld + + * .gitignore: Ignore refcard temporaries and info/*.info files. + + 2013-12-17 Paul Eggert + + Merge from gnulib, incorporating: + 2013-12-17 gettimeofday: port recent C++ fix to Emacs + 2013-12-17 gettimeofday: fix C++ crosscompilation + 2013-12-17 qacl: port to Windows better + * lib/file-has-acl.c, lib/time.in.h, m4/gettimeofday.m4, m4/time_h.m4: + Update from gnulib. + * lib/gnulib.mk: Regenerate. + + 2013-12-16 Paul Eggert + + * INSTALL: Clarify treatment of image libraries. + + 2013-12-14 Paul Eggert + + Use bool for boolean, focusing on headers. + * configure.ac (PTY_OPEN, GC_MARK_SECONDARY_STACK): + Use bool for boolean. + + 2013-12-14 Dani Moncayo + + * configure.ac (srcdir) [MINGW32]: If it is an absolute path, + force the format "/c/foo/bar" to simplify conversions to native + windows format. + + 2013-12-13 Glenn Morris + + * INSTALL: No longer mention load-path and site-init/site-load. + + 2013-12-12 Glenn Morris + + * Makefile.in (install-info): Handle missing info/dir. + (info_dir_deps): New variable. + (${srcdir}/info/dir): Depend on .texi files rather than .info files. + (check-info): Update topics. + * build-aux/make-info-dir: Use .texi files rather than .info files. + Update topics. + + * Makefile.in (install-info): Remove some useless subshells. + + Stop keeping info/dir in the repository. + * build-aux/dir_top: Move here from admin/. + * build-aux/make-info-dir: New script. + * Makefile.in (bootstrap-clean): Delete info/. + (info-dir, ${srcdir}/info/dir): New rules. + (info): Also make info-dir. + (check-info): Rename from check-info-dir. + Instead of info/dir entries, check @dircategory in info/*.info. + * make-dist: Use `info' rule rather than `info-real'. + No more info/COPYING (not even the right license for info/ files). + Distribute new build-aux files. + + * info/: Remove from repository. + + 2013-12-11 Glenn Morris + + * info/dir: Add octave-mode. + + 2013-12-11 Paul Eggert + + Remove the option of using libcrypto. + This scorches the earth and waits for spring; + see Ted Zlatanov and Stefan Monnier in + . + * configure.ac (with_openssl_default, HAVE_LIB_CRYPTO): Remove. + Do not say whether Emacs is configured to use a crypto library, + since it's no longer an option. + (gl_CRYPTO_CHECK): Define a dummy. + * lib/gl_openssl.h, m4/gl-openssl.m4: Remove. + + 2013-12-10 Paul Eggert + + * configure.ac: Disable libcrypto by default. + + Merge from gnulib, incorporating: + 2013-12-07 md5, sha1, sha256, sha512: fix link error with partial lib + * m4/gl-openssl.m4: Update from gnulib. + + 2013-12-08 Eli Zaretskii + + * configure.ac (HAVE_RSVG) [mingw32]: Don't link against librsvg + statically. + + 2013-12-08 Paul Eggert + + * configure.ac: Simplify supression of GTK deprecation warning. + Move -DGDK_DISABLE_DEPRECATION_WARNINGS out of the command line + and into config.h, to shorten the command line when doing 'make'. + Don't AC_SUBST GTK_CFLAGS, as this is not needed. + + Use libcrypto's checksum implementations if available, for speed. + On commonly used platform libcrypto uses architecture-specific + assembly code, which is significantly faster than the C code we + were using. See Pádraig Brady's note in + . + Merge from gnulib, incorporating: + 2013-12-07 md5, sha1, sha256, sha512: add gl_SET_CRYPTO_CHECK_DEFAULT + 2013-12-07 md5, sha1, sha256, sha512: add 'auto', and set-default method + 2013-12-04 include_next: minimize code duplication + 2013-12-03 md5, sha1, sha256, sha512: support mandating use of openssl + 2013-12-02 md5, sha1, sha256, sha512: use openssl routines if available + * configure.ac (--without-all): Set with_openssl_default too. + Use gl_SET_CRYPTO_CHECK_DEFAULT to default to 'auto'. + (HAVE_LIB_CRYPTO): New var. + Say whether Emacs is configured to use a crypto library. + * lib/gl_openssl.h, m4/absolute-header.m4, m4/gl-openssl.m4: + New files, copied from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + * lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h: + * lib/sha256.c, lib/sha256.h, lib/sha512.c, lib/sha512.h: + * m4/include_next.m4, m4/md5.m4, m4/sha1.m4, m4/sha256.m4, m4/sha512.m4: + Update from gnulib. + + 2013-12-01 Dmitry Gutov + + * .dir-locals.el (log-edit-move): Add the "Author: " header. + + 2013-11-30 Dani Moncayo + + * build-aux/msys-to-w32 (w32pathlist): Do not translate paths + starting with %emacs_dir%. + + 2013-11-30 Glenn Morris + + Stop keeping (most) generated cedet grammar files in the repository. + * configure.ac (SUBDIR_MAKEFILES, AC_CONFIG_FILES): + Add admin/grammars Makefile. + * Makefile.in (distclean, bootstrap-clean, maintainer-clean): + Also clean admin/grammars, if present. + + 2013-11-29 Dani Moncayo + + * Makefile.in (epaths-force-w32): Fix 2013-11-20 typo. + + 2013-11-29 Stefan Monnier + + * configure.ac (HAVE_MENUS): Remove. + + 2013-11-28 Glenn Morris + + * configure.ac (PATH_SEP): Replace with pre-existing SEPCHAR. + + 2013-11-28 Eli Zaretskii + + * GNUmakefile (Makefile): Don't use $(CFG). + (CFG): Don't compute. + + * configure.ac (PATH_SEP): Set and AC_SUBST. + + 2013-11-27 Paul Eggert + + Merge from gnulib, incorporating: + 2013-11-13 getgroups: work around _DARWIN_C_SOURCE problem + * lib/getgroups.c: Update from gnulib. + + 2013-11-27 Glenn Morris + + Move ja-dic, quail, leim-list.el from leim to lisp/leim. + * Makefile.in (abs_builddir, leimdir): Remove. + (buildlisppath, SUBDIR, COPYDIR, COPYDESTS): No more leim directory. + (epaths-force-w32): No longer set BLD. + (leim): Remove. + (install-arch-indep): No longer run or install leim. + (mostlyclean, clean): No longer run leim rule. + (bootstrap-clean): Change leim target. + (maintainer-clean): Add leim. + (check-declare): Remove leim. + * README: Update for leim changes. + * configure.ac (leimdir): Remove. + (standardlisppath): No more leimdir. + + * make-dist: Update for files from leim/ now being in lisp/leim/. + + 2013-11-26 Glenn Morris + + Preload leim-list.el. + * Makefile.in (abs_builddir): New, set by configure. + (buildlisppath): Add leim/. + (epaths-force-w32): Set BLD. + + 2013-11-21 Paul Eggert + + Fix some dependency problems that cause unnecessary recompiles. + * configure.ac (OLDXMENU_TARGET, OLDXMENU, OLDXMENU_DEPS): + Remove. + (LIBXMENU): Now is always either empty or a file name, + so that it can be used as a dependency. + + 2013-11-20 Glenn Morris + + * make-dist: Distribute build-aux/msys-to-w32. + + 2013-11-20 Dani Moncayo + + * build-aux/msys-to-w32: New file. + * Makefile.in (msys_to_w32, msys_lisppath_to_w32): Remove. + (msys_w32prefix_subst): Rename from msys_prefix_subst. + Operate on w32prefixpattern. + (epaths-force-w32): Use build-aux/msys-to-w32. + + 2013-11-17 Paul Eggert + + * configure.ac (DEBUGGER_SEES_C_MACROS): Remove. + It apparently doesn't work for GCC 3, and I suppose it's more + trouble than it's worth to worry about this. + + 2013-11-15 Paul Eggert + + * configure.ac (DEBUGGER_SEES_C_MACROS): New macro. + + 2013-11-14 Paul Eggert + + Simplify, port and tune bool vector implementation. + * configure.ac (BITSIZEOF_SIZE_T, SIZEOF_SIZE_T): Remove. + + 2013-11-13 Paul Eggert + + * Makefile.in (ACLOCAL_INPUTS): Add configure.ac. + + 2013-11-12 Dani Moncayo + + * configure.ac [MINGW32]: Source nt/mingw-cfg.site. + * make-dist: Don't distribute nt/msysconfig.sh. + + * Makefile.in (epaths-force-w32): Simplify w32srcdir computation. + + 2013-11-08 Paul Eggert + + Merge from gnulib, incorporating: + 2013-11-08 extern-inline: port better to OS X 10.9 + 2013-11-08 fpending: fix regression on DragonFly BSD + * lib/fpending.h, m4/extern-inline.m4, m4/fpending.m4: + Update from gnulib. + + 2013-11-07 Paul Eggert + + Port to C11 aligned_alloc. + * configure.ac (GMALLOC_OBJ): Initialize to empty if !system_malloc + and doug_lea_malloc. + (aligned_alloc): Test for existence if !GMALLOC_OBJ and not darwin. + (posix_memalign): Test for existence only if !GMALLOC_OBJ and + not darwin and !aligned_alloc. + + 2013-11-05 Glenn Morris + + * configure.ac (abs_srcdir) [MINGW32]: No point setting it here, + config.status computes it. + * Makefile.in (epaths-force-w32): Move srcdir tweak here. + + * autogen/: Remove directory. Move update_autogen to admin/. + * autogen.sh: Remove reference to copy_autogen. + * GNUmakefile (configure): + * Makefile.in (bootstrap): Do not try to run copy_autogen. + * config.bat: Use msdos/autogen rather than autogen. + + 2013-11-05 Paul Eggert + + Simplify and port recent bool vector changes. + * configure.ac (BITSIZEOF_SIZE_T, SIZEOF_SIZE_T): + New symbols to configure. + + 2013-11-04 Eli Zaretskii + + * configure.ac: Don't disallow builds in non-ASCII directories. + (Bug#15260) + + 2013-11-04 Paul Eggert + + Port to stricter C99 platforms. + Merge from gnulib, incorporating: + 2013-11-03 intprops: port to Oracle Studio c99 + * lib/intprops.h: Update from gnulib. + + 2013-11-02 Glenn Morris + + * Makefile.in (check): Depend on all. + + 2013-10-31 Glenn Morris + + * configure.ac: Use [!...] rather than [^...], for ksh. (Bug#15769) + + 2013-10-30 Glenn Morris + + * Makefile.in (distclean, bootstrap-clean, maintainer-clean): + Also clean admin/unidata, if present. + + 2013-10-27 Glenn Morris + + * configure.ac: It seems installing in non-ASCII is not, in fact, ok. + + 2013-10-25 Glenn Morris + + * configure.ac: It seems _installing_ in non-ASCII is ok, not building. + + 2013-10-24 Glenn Morris + + * configure.ac: + * Makefile.in (install-arch-indep, install-etcdoc, install-info): + Avoid non-portable "`\" nesting. + + * configure.ac (CPPFLAGS) [mingw32]: Use abs_top_srcdir. + + * Makefile.in (abs_top_srcdir): New, set by configure. + + 2013-10-23 Glenn Morris + + * configure.ac: Explicit error for non-ASCII directories. (Bug#15260) + + Progress towards allowing installation in directories with whitespace. + * Makefile.in (COPYDESTS, write_subdir, install-arch-dep) + (install-arch-indep, install-etcdoc, install-info, install-man) + (install-etc, uninstall, install-nt, uninstall-nt): + Quote entities that might contain whitespace. + * build-aux/update-subdirs: Handle whitespace in argument. + Check cd return value. + + Make building in directories with whitespace possible. (Bug#15675) + * configure.ac (srcdir): Don't make it absolute - abs_srcdir exists. + (src/.gdbinit): Use ac_abs_top_srcdir. + * Makefile.in (abs_srcdir): New, set by configure. + (buildlisppath, epaths-force-w32): Use abs_srcdir. + (install-arch-indep, install-etcdoc, install-info, install-man) + (install-etc): Quote entities that might contain whitespace. + + 2013-10-23 Paul Eggert + + Merge from gnulib, incorporating: + 2013-10-14 acl: allow cross-compilation to Gentoo + 2013-10-18 extern-inline: make safe for -Wundef usage + 2013-09-30 fpending: use pure+const function attrs + * lib/fpending.h, m4/acl.m4, m4/extern-inline.m4: Update from gnulib. + + 2013-10-13 Glenn Morris + + * configure.ac [alpha]: Explicit error in non-ELF case. (Bug#15601) + + 2013-10-12 Paul Eggert + + Merge from gnulib, incorporating: + 2013-10-10 strtoumax: port to Solaris 8 + 2013-10-09 strtoimax, strtoumax: port to HP-UX 11.11 + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + * lib/inttypes.in.h, lib/strtoimax.c, m4/inttypes.m4, m4/strtoimax.m4: + * m4/strtoumax.m4: + Update from gnulib. + + 2013-10-11 Stefan Monnier + + * configure.ac (LIBGNUTLS): Don't set LIBGNUTLS_* back to the empty + string when gnutls2 is installed but gnutls3 is not. + + 2013-10-11 Teodor Zlatanov + + * configure.ac: Define HAVE_GNUTLS3 if GnuTLS v3 is found. + + 2013-10-10 Barry Fishman (tiny change) + + * configure.ac: Update for giflib 5. (Bug#15531) + + 2013-10-08 Eli Zaretskii + + * configure.ac (HAVE_MENUS): Define unconditionally. + + 2013-10-07 Paul Eggert + + Improve support for popcount and counting trailing zeros (Bug#15550). + Do this by using the Gnulib modules for this. + This should generate faster code on non-GCC, non-MSC platforms, + and make the code a bit more portable, at least in theory. + * lib/count-one-bits.c, lib/count-one-bits.h: + * lib/count-trailing-zeros.c, lib/count-trailing-zeros.h: + * m4/count-one-bits.m4, m4/count-trailing-zeros.m4: + New files, copied from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2013-10-04 Paul Eggert + + Use hardware support for byteswapping on glibc x86 etc. + * lib/byteswap.in.h, m4/byteswap.m4: New files, copied from Gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2013-10-03 Paul Eggert + + Merge from gnulib, incorporating: + 2013-10-02 verify: new macro 'assume' + 2013-09-26 dup2, dup3: work around another cygwin crasher + 2013-09-26 getdtablesize: work around cygwin issue + + 2013-09-25 Paul Eggert + + Merge from gnulib, incorporating: + 2013-09-24 manywarnings: enable nicer gcc warning messages + 2013-09-23 warnings: port --enable-gcc-warnings to Solaris Studio 12.3 + 2013-09-21 timespec: use the new TIMESPEC_RESOLUTION elsewhere + * configure.ac (WERROR_CFLAGS): Omit -fdiagnostics-show-option + and -funit-at-a-time, since manywarnings does that for us now. + + 2013-09-23 Jan Djärv + + * configure.ac: With clang, check for and use -Wno-switch, + -Wno-tautological-constant-out-of-range-compare and -Wno-pointer-sign. + + 2013-09-23 Daniel Colascione + + * configure.ac: Check for valgrind headers. + + 2013-09-20 Xue Fuqiao + + * INSTALL: New homepage of libtiff. + + 2013-09-20 Paul Eggert + + Work around performance bug on OS X 10.8 and earlier. + Perhaps Apple will fix this bug some day. + See the thread starting with Daniel Colascione's email in: + http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00343.html + * configure.ac (FORTIFY_SOUR): New verbatim section. + + 2013-09-19 Paul Eggert + + Merge from gnulib, incorporating: + 2013-09-19 stdio: OS X port of putc_unlocked + extern inline + 2013-09-19 signal: OS X port of sigaddset etc. + extern inline + 2013-09-19 extern-inline: do not always suppress extern inline on OS X + 2013-09-17 getgroups: statement without effect + 2013-08-28 headers: check that _GL_INLINE_HEADER_BEGIN is defined + + 2013-09-19 Eli Zaretskii + + * configure.ac [MINGW32]: Make sure the value of 'srcdir' + is in the full /d/foo/bar form. See the discussion in + http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00210.html, + and in particular + http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00252.html + and its followups, for the details. + + 2013-09-17 Dmitry Antipov + + * configure.ac: Do not check for g_type_init because we + require glib >= 2.28 for GTK3, glib >= 2.10 for GTK2, + glib >= 2.26 for GSettings and glib >= 2.7.0 for GConf, so + suitable glib should provide g_type_init unconditionally. + + 2013-09-15 Jan Djärv + + * configure.ac: Add check for OSX 10.5, required for macfont.o. + + 2013-09-09 Glenn Morris + + * configure.ac (LDFLAGS_NOCOMBRELOC): New variable. + (LDFLAGS): Move nocombreloc option from here... + (LD_SWITCH_SYSTEM_TEMACS): ... to here. + + 2013-09-08 Glenn Morris + + * configure.ac (--without-compress-install): + Rename from --without-compress-info. (Bug#9789) + (GZIP_INFO): Remove. + (GZIP_PROG): Allow --without-compress-install to disable it. + * Makefile.in (GZIP_INFO): Remove all references. + + * info/dir: Tweak emacs-gnutls entry. + + 2013-09-07 Paul Eggert + + Port --without-x --enable-gcc-warnings to Fedora 19. + * configure.ac (WERROR_CFLAGS): Omit redundant use of + -Wmissing-field-initializers, -Wswitch, -Wtype-limits, + -Wunused-parameter. If there is no window system, also omit + -Wsuggest-attribute=const and -Wsuggest-attribute=noreturn; this + is needed for Fedora 19. + + 2013-09-05 Dmitry Antipov + + Make --without-x compatible with --enable-gcc-warnings. + * configure.ac: If both --without-x and --enable-gcc-warnings are + specified, use -Wno-unused-variable, -Wno-unused-but-set-variable + and -Wno-unused-but-set-parameter. + + 2013-09-04 Paul Eggert + + Makefile improvements. + * Makefile.in (lib): Depend on am--refresh, to avoid a race. + (src): Remove duplicate dependency on FRC. + Invoke just one submake, not two. Avoid the need for 'pwd'. + + 2013-09-02 Jan Djärv + + * configure.ac: Add ns_check_file. + + 2013-08-31 Glenn Morris + + * configure.ac (--with-sound): Rename ossaudio to bsd-ossaudio, + and voxware to oss. + + 2013-08-31 Ulrich Müller + + * configure.ac: Allow for --with-sound=voxware that will enable + sound but otherwise disable ALSA. This will use the OSS device, + typically /dev/dsp, for sound output. (Bug#15067) + + 2013-08-31 Glenn Morris + + * make-dist: Update for nt/INSTALL* changes. + + 2013-08-28 Paul Eggert + + * Makefile.in (SHELL): Now @SHELL@, not /bin/sh, + for portability to hosts where /bin/sh has problems. + + 2013-08-28 Stefan Monnier + + * configure.ac (DOCMISC_W32): New var to replace DOCMISC_*_W32. + + 2013-08-27 Paul Eggert + + Simplify EMACS_TIME-related code. + Merge from gnulib, incorporating: + 2013-08-27 timespec: new convenience constants and function + + 2013-08-27 Dmitry Antipov + + * configure.ac (DOCMISC_DVI_W32, DOCMISC_HTML_W32, DOCMISC_INFO_W32) + (DOCMISC_PDF_W32, DOCMISC_PS_W32): No spaces! + + 2013-08-27 Glenn Morris + + * configure.ac (emacs_broken_SIGIO): No longer set on gnu-kfreebsd. + + * configure.ac (DOCMISC_DVI_W32, DOCMISC_HTML_W32, DOCMISC_INFO_W32) + (DOCMISC_PDF_W32, DOCMISC_PS_W32): New output variables. + * Makefile.in (check-info-dir): Ignore efaq-w32. + + * Makefile.in (mostlyclean, clean, distclean, bootstrap-clean) + (maintainer-clean, check-declare): Remove pointless subshells. + Check cd return value. + + 2013-08-26 Paul Eggert + + Minor merge from gnulib (mostly just for texinfo.tex). + + 2013-08-22 Paul Eggert + + * configure.ac (EMACS_CONFIG_OPTIONS): Quote systematically (Bug#13274). + This improves on the patch already installed, by quoting options + that contain spaces and suchlike systematically, so that + EMACS_CONFIG_OPTIONS is no longer ambiguous when options contain + these characters. + + 2013-08-21 Paul Eggert + + Port close-on-exec pty creation to FreeBSD 9.1-RELEASE (Bug#15129). + * configure.ac (PTY_OPEN): If posix_openpt with O_CLOEXEC fails + and reports EINVAL, try it again without O_CLOEXEC. This should + port PTY_OPEN to FreeBSD 9, which stupidly rejects O_CLOEXEC. + What were they thinking? + + 2013-08-20 Paul Eggert + + * Makefile.in (distclean, bootstrap-clean, maintainer-clean): + Fix shell-operator precedence problem in previous change. + + 2013-08-20 Glenn Morris + + * Makefile.in (distclean, bootstrap-clean, maintainer-clean): + Clean test/automated if present. + + 2013-08-19 Paul Eggert + + Merge from gnulib, incorporating: + 2013-08-15 warnings: minor optimization + 2013-08-15 warnings: check -Wfoo rather than -Wno-foo + + 2013-08-15 Ken Brown + + * configure.ac (G_SLICE_ALWAYS_MALLOC): Update comment. + + 2013-08-15 Glenn Morris + + * make-dist: Do not distribute etc/refcards TeX intermediate files. + * Makefile.in (install-arch-indep): + Do not install etc/refcards TeX intermediate files. + + 2013-08-14 Ulrich Müller + + * configure.ac (EMACS_CONFIGURATION): Escape backslashes. (Bug#15091) + + 2013-08-12 Eli Zaretskii + + * configure.ac (HAVE_ZLIB): Don't use -lz on MinGW. + + 2013-08-12 Paul Eggert + + Minor zlib configuration tweaks. + * configure.ac (HAVE_ZLIB): Don't assume zlib is linked if PNG is. + + 2013-08-12 Eli Zaretskii + + * configure.ac (LIBZ): Comment on w32 peculiarities regarding LIBZ. + + 2013-08-12 Paul Eggert + + Merge from gnulib, incorporating: + 2013-08-11 fpending: port to recent Cygwin change to stdio_ext.h + 2013-08-10 sys_time: port to OpenBSD + + 2013-08-12 Glenn Morris + + * configure.ac (etcdocdir): Rename from docdir, to avoid confusion + with configure's standard --docdir argument. All uses updated. + * Makefile.in (etcdocdir): Rename from docdir. All uses updated. + (install-etcdoc): Rename from install-doc. All uses updated. + (uninstall): Run uninstall-doc. + (PSS): Add misc-ps. + (INSTALL_DVI, INSTALL_HTML, INSTALL_PDF, INSTALL_PS) + (INSTALL_DOC, UNINSTALL_DVI, UNINSTALL_HTML, UNINSTALL_PDF) + (UNINSTALL_PS, UNINSTALL_DOC): New variables. + ($(INSTALL_DOC), install-doc, install-dvi, install-html, install-pdf) + (install-ps, $(UNINSTALL_DOC), uninstall-doc, uninstall-dvi) + (uninstall-html, uninstall-pdf, uninstall-ps): New .PHONY rules. + + 2013-08-11 Paul Eggert + + Add --with-zlib to 'configure'. + * configure.ac: Add --with-zlib option to 'configure', so that Emacs + can be built without zlib. Don't assume that -lz is needed on + non-PNG hosts. Mention zlib configuration status in 'configure' output. + + 2013-08-11 Lars Magne Ingebrigtsen + + * configure.ac: Test for zlib. + + 2013-08-10 Eli Zaretskii + + * configure.ac: Define and substitute UPDATE_MANIFEST. + + 2013-08-04 Stephen Berman + + * info/dir: Add todo-mode. + + 2013-08-04 Paul Eggert + + Fix some minor races in hosts lacking mkostemp (Bug#15015). + Gnulib's emulation of mkostemp doesn't have races that Emacs's does. + * configure.ac (mkostemp): Remove check for this function; + gnulib does the check now. + (mkstemp): Remove check for this no-longer-used function. + * lib/mkostemp.c, lib/secure_getenv.c, lib/tempname.c, lib/tempname.h: + * m4/mkostemp.m4, m4/secure_getenv.m4, m4/tempname.m4: + New files, copied from Gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2013-07-29 Michael Albinus + + * INSTALL (DETAILED BUILDING AND INSTALLATION): + Add --without-file-notification to --without-all. + + 2013-07-29 Xue Fuqiao + + * INSTALL: Fix description. + + 2013-07-27 Glenn Morris + + * configure.ac: Extend the --with-sound option to allow + specification of OSS or ALSA (see bug#14812#64). + + 2013-07-25 Glenn Morris + + * info/dir: Add ido. + + * make-dist: Add a --tests option, to include test/. + + 2013-07-24 Glenn Morris + + * configure.ac: Use self-descriptive tags for AC_CONFIG_COMMANDS. + + 2013-07-23 Glenn Morris + + * configure.ac (etc, lisp): No need to create specially. + Configure already creates lisp, src/Makefile now creates etc. + + 2013-07-23 Paul Eggert + + Port to GNU/Linux systems with tinfo but not ncurses. + * configure.ac (USE_NCURSES): New symbol. + + 2013-07-20 Paul Eggert + + Fix array bounds violation when pty allocation fails. + * configure.ac (PTY_TTY_NAME_SPRINTF): Use PTY_NAME_SIZE, + not sizeof pty_name, since pty_name is now a pointer to the array. + + 2013-07-13 Paul Eggert + + * configure.ac: Simplify --with-file-notification handling. + + 2013-07-12 Glenn Morris + + * configure.ac: If with-file-notification=yes, if gfile not found, + go on to try inotify (not on MS Windows or Nextstep). + + 2013-07-12 Paul Eggert + + Fix races with threads and file descriptors. + * configure.ac (PTY_TTY_NAME_SPRINTF): Use emacs_close, not close. + + 2013-07-10 Paul Eggert + + * Makefile.in (removenullpaths): Remove adjacent null paths (Bug#14835). + + 2013-07-09 Peter Rosin (tiny change> + + * configure.ac (HAVE_W32): Avoid nested functions (the second + argument of AC_LANG_PROGRAM is already expanded inside a + function). (Bug#14830) + + 2013-07-09 Paul Eggert + + Port recent close-on-exec changes to Cygwin (Bug#14821). + * lib/binary-io.c, lib/binary-io.h: New files. + Merge from gnulib, incorporating: + 2013-07-09 accept4, dup3, pipe2: port to Cygwin + * lib/pipe2.c: Update from gnulib, as part of this merge. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + Handle errno and exit status a bit more carefully. + * lib/ignore-value.h: Remove this gnulib-imported file. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2013-07-08 Magnus Henoch (tiny change) + + * configure.ac (HAVE_IMAGEMAGICK): Check on NS also (Bug#14798). + + 2013-07-08 Paul Eggert + + Try to fix FreeBSD 9.1 porting problem (Bug#14812). + This incorporates the following merge from gnulib: + 2013-07-07 stdalign, verify: port to FreeBSD 9.1, to C11, and to C++11 + + 2013-07-07 Paul Eggert + + Port to Ubuntu 10 (Bug#14803). + * configure.ac (accept4): New function to check for. + + Make file descriptors close-on-exec when possible (Bug#14803). + * configure.ac (mkostemp): New function to check for. + (PTY_OPEN): Pass O_CLOEXEC to posix_openpt. + * lib/fcntl.c, lib/getdtablesize.c, lib/pipe2.c, m4/fcntl.m4: + * m4/getdtablesize.m4, m4/pipe2.m4: New files, taken from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2013-07-03 Christoph Egger (tiny change) + + * configure.ac (emacs_broken_SIGIO): Set on gnu-kfreebsd to avoid hang. + http://bugs.debian.org/712974 + + 2013-07-02 Paul Eggert + + Remove some unused macros from 'configure'. + * configure.ac (HAVE_SOUNDCARD_H, HAVE_LINUX_VERSION_H, HAVE_SPEED_T) + (HAVE_GNUTLS_CALLBACK_CERTIFICATE_VERIFY) + (HAVE_GNUTLS_CERTIFICATE_SET_VERIFY_FUNCTION, HAVE_UTIMES) + (HAVE_LIBHESIOD, HAVE_LIBRESOLV, HAVE_LIBCOM_ERR, HAVE_LIBCRYPTO) + (HAVE_LIBK5CRYPTO, HAVE_LIBKRB5, HAVE_LIBDES425, HAVE_LIBDES) + (HAVE_LIBKRB4, HAVE_LIBKRB, HAVE_DES_H, HAVE_KERBEROSIV_DES_H) + (HAVE_DEV_PTMX, DEVICE_SEP, USG5): + Remove these macros, as they are not used. + (sys_siglist): Remove macro; src/sysdep.c now does this. + + * configure.ac (GTK_COMPILES): Check API a bit more carefully. + Also check that it links. Say whether it compiled and linked. + + 2013-07-01 Paul Eggert + + Merge from gnulib, incorporating: + 2013-06-23 ignore-value: port to gcc -pedantic + 2013-06-21 extern-inline: port to gcc -std=c89 + + 2013-06-30 Paul Eggert + + Do not use GTK 3 if it exists but cannot be compiled. + * configure.ac: Leave GTK_OBJ and term_header alone if GTK 3 + exists but cannot be compiled. + + 2013-06-27 Juanma Barranquero + + * Makefile.in (install-arch-indep): Do not create directories passed + with --enable-locallisppath. + + 2013-06-24 Glenn Morris + + * configure.ac: Include X11/X.h when testing for Xft.h. (Bug#14684) + + 2013-06-22 Juanma Barranquero + + * .bzrignore: Add GNU idutils ID database file. + + 2013-06-21 YAMAMOTO Mitsuharu + + * configure.ac (HAVE_LIBXML2): Try built-in libxml2 on OS X 10.8 + as a fallback. + + 2013-06-20 Stefan Monnier + + * .bzrignore: Don't unignore cl-loaddefs.el. + + 2013-06-20 Rüdiger Sonderfeld + + * configure.ac (log2): Check for this function. + + 2013-06-19 Juanma Barranquero + + * .bzrignore: Add GNU GLOBAL files. + + 2013-06-17 Paul Eggert + + Use functions, not macros, for XINT etc. (Bug#11935). + * configure.ac (WARN_CFLAGS): Remove -Wbad-function-cast, + as it generates bogus warnings about reasonable casts of calls. + + 2013-06-16 Paul Eggert + + * configure.ac: Report ACL usage at the end (Bug#14612). + + 2013-06-11 Paul Eggert + + --without-all should imply --with-file-notification=no. (Bug#14569) + * configure.ac (with_file_notification): Default to $with_features. + + 2013-06-09 Paul Eggert + + Merge from gnulib, incorporating: + 2013-06-02 sig2str: port to C++ + 2013-05-29 c-ctype, regex, verify: port to gcc -std=c90 -pedantic + + 2013-06-08 Jan Djärv + + * configure.ac (HAVE_GLIB): Only set XGSELOBJ if HAVE_NS = no. + (with_file_notification): Don't set to gfile if with_ns = yes. + + 2013-06-07 Richard Copley (tiny change) + + * Makefile.in (msys_to_w32): Modify to support d:\foo file names. + (msys_lisppath_to_w32, msys_prefix_subst, msys_sed_sh_escape): + New variables. + (epaths-force-w32): Use them. (Bug#14513) + + 2013-06-03 Michael Albinus + + * configure.ac (HAVE_GFILENOTIFY): Check for gio >= 2.24. + + 2013-06-03 Eli Zaretskii + + * configure.ac (HAVE_GFILENOTIFY): Do not change $LIBS. + (GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): Substitute. + + 2013-06-03 Jan Djärv + + * configure.ac (HAVE_GLIB): Add GLib check. Set XGSELOBJ if GLib is + used. Remove xgselect.o from XOBJ. + + 2013-06-03 Michael Albinus + + * configure.ac (file-notification): New option, replaces inotify option. + (HAVE_W32): Remove w32notify.o. + (with_file_notification): Add checks for glib and w32. Adapt check + for inotify. + (Summary): Add entry for file notification. + + * autogen/config.in: Add entries for HAVE_GFILENOTIFY, + HAVE_W32NOTIFY and USE_FILE_NOTIFY. + + 2013-06-02 Juanma Barranquero + + * .bzrignore: Ignore dirs libexec/, share/ and var/. + + 2013-05-29 Xue Fuqiao + + * INSTALL: Fix description. + + 2013-05-27 YAMAMOTO Mitsuharu + + * configure.ac (HAVE_XRANDR): Check availability of + XRRGetScreenResources rather than that of XRRQueryExtension. + + 2013-05-18 Eli Zaretskii + + * make-dist (files): Add nt/msysconfig.sh, nt/mingw-cfg.site, + nt/epaths.nt, and nt/INSTALL.MSYS. + + 2013-05-18 Paul Eggert + + Port --enable-gcc-warnings to clang. + * configure.ac (nw): Remove obsolescent warnings. + These aren't needed for clang, or for gcc for that matter. + (emacs_cv_clang): New var, which tests for clang. + Omit warnings that clang is too picky about. + (GLIB_DISABLE_DEPRECATION_WARNINGS): Define this; + needed for Ubuntu 13.04 + clang + --enable-gcc-warnings. + + * make-dist (files): Add nt/Makefile.in, nt/gnulib.mk. + Otherwise, 'configure; make' fails on non-Windows builds. + + 2013-05-16 Eli Zaretskii + + * lib/Makefile.am: If building for MS-Windows, include + nt/gnulib.mk instead of lib/gnulib.mk. + + * configure.ac: Adapt to MSYS build on MS-Windows. + + * Makefile.in (NTDIR): New variable, for the MSYS build on + MS-Windows. + (SUBDIR): Add $(NTDIR). + (.PHONY): Add epaths-force-w32. + (msys_to_w32): New variable. + (epaths-force-w32, install-nt, uninstall-nt): New targets. + (lib-src src): Add $(NTLIB) to prerequisites. + (lib lib-src lisp leim nt): Add 'nt'. + (config.status): Use $(CFG). + (.PHONY): Add install-$(NTDIR) and uninstall-$(NTDIR). + (install, install-arch-dep): Add install-$(NTDIR). + (uninstall): Depend on uninstall-$(NTDIR). + (mostlyclean, clean, distclean, bootstrap-clean): Add 'nt'. + + * GNUmakefile (CFG): New variable, uses mingw-cfg.site as + CONFIG_SITE for the MSYS build on MS-Windows. + (Makefile): Use $(CFG). + + * .bzrignore: Ignore *.res, *.tmp, and *.map. + Remove src/emacs.res. + + 2013-05-16 Paul Eggert + + Merge from gnulib, incorporating: + 2013-05-15 manywarnings: update for GCC 4.8.0 + 2013-05-15 stdio: use __REDIRECT for fwrite, fwrite_unlocked + 2013-05-15 sig2str, stdio, warnings: port to clang + + 2013-05-15 Stefan Monnier + + * Makefile.in (install-doc): DOC file is not version specific any more. + * .bzrignore: Don't ignore DOC-* any more. + + 2013-05-13 Paul Eggert + + * configure.ac (LD_SWITCH_SYSTEM_TEMACS): OpenBSD needs -nopie. + Reported privately by Han Boetes . + + 2013-05-08 Juanma Barranquero + + * lib/makefile.w32-in (ACL_H): New macro. + ($(BLD)/acl-errno-valid.$(O)): Update dependencies. + + 2013-05-07 Paul Eggert + + Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295) + * configure.ac: Remove -with-acl option, since Gnulib does that for + us now. + (LIBACL_LIBS): Remove; no longer needed. + * lib/Makefile.am (CLEANFILES, SUFFIXES): New (empty) macros, + for the benefit of the new ACL implementation. + * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/acl-errno-valid.$(O). + ($(BLD)/acl-errno-valid.$(O)): New rule. + * lib/acl-errno-valid.c, lib/acl-internal.h, lib/acl.h: + * lib/acl_entries.c, lib/errno.in.h, lib/file-has-acl.c: + * lib/qcopy-acl.c, lib/qset-acl.c, m4/acl.m4, m4/errno_h.m4: + New files, taken from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2013-05-07 Jan Djärv + + * configure.ac (HAVE_XRANDR, HAVE_XINERAMA): Define if available. + (XRANDR_LIBS, XINERAMA_LIBS): New AC_SUBSTs. + + 2013-05-06 Paul Eggert + + Merge from gnulib, incorporating: + 2013-04-30 utimens, utimensat: work around Solaris UTIME_OMIT bug + + 2013-05-01 Paul Eggert + + * make-dist: Keep necessary restrictions on file access. + + 2013-04-29 Paul Eggert + + Merge from gnulib, incorporating: + 2013-04-28 extern-inline: work around bug in Sun c99 + + 2013-04-27 Paul Eggert + + Merge from gnulib, incorporating: + 2013-04-27 alignof, intprops, malloca: port better to IBM's C compiler + + 2013-04-26 Paul Eggert + + Port better to AIX (Bug#14258). + * configure.ac (CFLAGS): Append -O if the user did not specify CFLAGS, + we did not already infer an optimization option, and -O works. + AIX xlc needs -O, otherwise garbage collection doesn't work. + + 2013-04-22 Paul Eggert + + * make-dist: Do not distribute admin/unidata/Makefile. + It is generated by 'configure'. + + * build-aux/update-subdirs: Don't leave subdirs.el~ behind. + It messes up 'make distclean', and contains no useful information + because it's a copy of subdirs.el. + + 2013-04-18 John Marino (tiny change) + + * configure.ac: Add DragonFly BSD, mostly same as FreeBSD. (Bug#14068) + + 2013-04-18 Glenn Morris + + * configure.ac (AC_PROG_LN_S): Remove, too restrictive. + (LN_S_FILEONLY): New output variable. + * Makefile.in (LN_S): Remove. + (LN_S_FILEONLY): New, set by configure. + (install-arch-dep): Use LN_S_FILEONLY rather than LN_S. + + 2013-04-12 Ken Brown + + * configure.ac (canonical): Adapt to 64-bit Cygwin, for which + `canonical' is `x86_64-unknown-cygwin'. + + 2013-04-09 Ken Brown + + * configure.ac (W32_RES_LINK): Remove unneeded linker directive + `-Wl,-bpe-i386', which is confusing in the 64-bit case. + (Bug#12993) + + 2013-04-07 Paul Eggert + + Fix --enable-profiling bug introduced by 2013-02-25 change (Bug#13783). + * configure.ac (LD_SWITCH_SYSTEM_TEMACS): Append -pg if profiling + and if not on GNU/Linux or FreeBSD. + * lib/Makefile.am (AM_CFLAGS): Add $(PROFILING_CFLAGS), so that + lib/*.o is profiled too. + + 2013-03-30 Paul Eggert + + Merge from gnulib, incorporating: + 2013-03-29 stdalign: port to stricter ISO C11 + This helps to run 'configure' on MS-Windows; see Eli Zaretskii in + . + + 2013-03-27 Paul Eggert + + * configure.ac (HAVE_XKBGETKEYBOARD): Remove. + Subsumed by HAVE_XKB. All uses changed. + + 2013-03-25 Jan Djärv + + * configure.ac (HAVE_XKB): Define if Xkb is present. + + 2013-03-24 Paul Eggert + + Merge from gnulib, incorporating: + 2013-03-21 sys_select, sys_time: port 2013-01-30 fix to Cygwin + + 2013-03-18 Paul Eggert + + Fix bug when building Emacs with a GNU Make submake (Bug#13962). + * Makefile.in (QUIET_SUBMAKE): New macro. + (install-info, uninstall): Use it. + + Emacs crashes with ImageMagick 6.8.2-3 through 6.8.3-9 (Bug#13867). + * configure.ac (IMAGEMAGICK_MODULE): Reject 6.8.2. + We want to reject 6.8.2-3 through 6.8.3-9, but there seems to be + no way to do this in pkg-config, so make do with a reasonable + approximation. + + Automate the build of ja-dic.el (Bug#13984). + * .bzrignore: Add leim/ja-dic/. + + 2013-03-13 Paul Eggert + + File synchronization fixes (Bug#13944). + * configure.ac (BSD_SYSTEM, BSD_SYSTEM_AHB): Remove; no longer needed. + (fsync): Remove check; now done by gnulib. + * lib/fdatasync.c, lib/fsync.c, m4/fdatasync.m4, m4/fsync.m4: + New files, from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + Merge from gnulib, incorporating: + 2013-03-13 putenv: port to Solaris 10 + 2013-03-12 mktime: fix configure typo + 2013-03-11 regex: port to mingw's recent addition of undeclared alarm + 2013-03-11 putenv: avoid compilation warning on mingw + 2013-03-11 unistd: don't prevent Tru64 Unix from using gnulib strtod. + + 2013-03-11 Glenn Morris + + * Merge in all changes up to version 24.3 release. + + 2013-03-06 Paul Eggert + + * configure.ac (TERM_HEADER): Remove duplicate definition (Bug#13872). + It can mess up 'configure' runs. + + 2013-03-05 Glenn Morris + + * Makefile.in (install-man): Ignore gzip exit status. + + 2013-03-03 Glenn Morris + + * make-dist: Remove lzma (it's replaced by xz). + + 2013-03-01 Paul Eggert + + Merge from gnulib, incorporating: + 2013-02-21 putenv: port better to native Windows + 2013-02-18 extern-inline: avoid compilation error with HP-UX cc + 2013-02-14 putenv: fix heap corruption with mixed putenv/_putenv + + 2013-02-28 Ken Brown + + * configure.ac (HAVE_DATA_START): Fix test. (Bug#13818) + + 2013-02-25 Paul Eggert + + Simplify data_start configuration (Bug#13783). + * configure.ac (CRT_DIR, LIB_STANDARD, START_FILES, DATA_START) + (LD_FIRSTFLAG, ORDINARY_LINK, LIB_GCC): Remove. + (AC_CHECK_HEADERS_ONCE): Remove sys/resource.h, as it's + not always needed. + (HAVE_DATA_START): New macro. + + 2013-02-21 Paul Eggert + + Parallelize documentation builds. + This speeds up building of documentation on multiprocessor + platforms, and is motivated by Texinfo 5.0, which is much slower. + Add a toplevel rule 'make docs' to make all the documentation. + * .bzrignore: Add .dvi, .html, .ps. + * Makefile.in (DVIS, HTMLS, INFOS, PSS, DOCS): New macros. + ($(DOCS), docs, vi, html, pdf, ps): New rules. + (info-real): Depend on $(INFOS) rather than doing it sequentially. + (dvi): Depend on $(DVIS) rather than doing it sequentially. + + 2013-02-15 Paul Eggert + + Fix AIX port (Bug#13650). + * configure.ac (DATA_START, DATA_SEG_BITS): Set to 0x20000000 on AIX. + + 2013-02-12 Eli Zaretskii + + * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/memrchr.$(O). + ($(BLD)/memrchr.$(O)): New dependency. + + 2013-02-11 Paul Eggert + + Tune by using memchr and memrchr. + * .bzrignore: Add string.h. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + * lib/memrchr.c, lib/string.in.h, m4/memrchr.m4, m4/string_h.m4: + New files, from gnulib. + + Merge from gnulib, incorporating: + 2013-02-11 unsetenv etc.: port to Solaris 11 + GNU Emacs + 2013-02-09 secure_getenv: fix C++ declaration typo + + 2013-02-11 Glenn Morris + + * configure.ac (emacs_config_options): Record some env vars. + + 2013-02-10 Glenn Morris + + * configure.ac (emacs_config_options): Strip out the (internal) + arguments --no-create and --no-recursion. + + 2013-02-08 Paul Eggert + + Merge from gnulib, incorporating: + 2013-02-08 careadlinkat: stop exporting careadlinkatcwd + The MS-Windows port can remove careadlinkatcwd at its convenience. + 2013-02-08 extensions: port better to HP-UX + 2013-02-06 extensions: port better to MINIX 3, HP-UX, autoheader 2.62 + 2013-02-06 unistd: avoid namespace pollution on non-glibc systems + 2013-02-04 secure_getenv: new module [module not used by Emacs] + 2013-01-30 sys_time: port to Solaris 2.6 + + 2013-02-01 Paul Eggert + + Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539). + On my host, this speeds up directory-files-and-attributes by a + factor of 3, when applied to Emacs's src directory. + These functions are standardized by POSIX and are common these + days; fall back on a (slower) gnulib implementation if the host + is too old to supply them. + * .bzrignore: Add lib/dirent.h. + * lib/Makefile.am (libgnu_a_SOURCES): Add openat-die.c, save-cwd.c. + * lib/careadlinkat.c, lib/careadlinkat.h: Merge from gnulib, + incorporating: 2013-01-29 careadlinkat: do not provide careadlinkatcwd. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + * lib/dirent.in.h, lib/fdopendir.c, lib/fstatat.c, lib/openat-priv.h: + * lib/openat-proc.c, lib/openat.h, m4/dirent_h.m4, m4/fdopendir.m4: + * m4/fstatat.m4: New files, from gnulib. + * lib/openat-die.c, lib/save-cwd.c, lib/save-cwd.h: New files. + These last three are specific to Emacs and are not copied from gnulib. + They are simpler than the gnulib versions and are tuned for Emacs. + + 2013-02-01 Glenn Morris + + * make-dist: Only README files exist in lisp/ now, not README*. + + 2013-01-23 Giorgos Keramidas (tiny change) + + * .bzrignore: Add lib-src/blessmail. + + 2013-01-23 Paul Eggert + + Merge from gnulib, incorporating: + 2013-01-16 unistd: port to recent mingw + + 2013-01-19 Glenn Morris + + * Makefile.in (install-arch-indep): Put back a chmod that was + removed 2012-05-19. (Bug#13430) + + 2013-01-16 Paul Eggert + + Merge from gnulib, incorporating: + 2013-01-16 largefile: port better to Mac OS X 10.5 + 2013-01-15 stdint: fix build with Android's Bionic fox x86 + + 2013-01-16 Paul Eggert + + * configure.ac: Document that --enable-gcc-warnings emits errors. + (Bug#13448) + + 2013-01-13 Glenn Morris + + * make-dist: Add options for xz compression and no compression. + + 2013-01-12 Paul Eggert + + Enable conservative stack scanning for all architectures. + Suggested by Stefan Monnier in + . + * configure.ac (GC_MARK_STACK): Remove. + + 2013-01-11 Paul Eggert + + * lib/getopt_.h: Remove trailing CRs that crept in. + + 2013-01-11 Eli Zaretskii + + * lib/getopt_.h: Regenerate. + + 2013-01-10 Paul Eggert + + Merge from gnulib, incorporating: + 2013-01-09 stdlib: port to Solaris 2.6 + + 2013-01-04 Glenn Morris + + * info/dir: Add htmlfontify. + + 2013-01-04 Paul Eggert + + Merge from gnulib, incorporating: + 2013-01-04 stdio: remove now-unnecessary stdio.c + 2013-01-04 fprintftime: depend on stdio, not ignore-value + 2013-01-04 fwrite: silence __wur only for older glibc versions + 2013-01-04 fwrite: silence __wur without using inline + * lib/stdio.c: Remove. + * lib/stdio.in.h, lib/strftime.c: Update from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2013-01-02 Paul Eggert + + Merge from gnulib, incorporating copyright-date changes and: + 2012-12-31 dup2: work around cygwin bug + + 2012-12-30 Jan Djärv + + * configure.ac: Check for GtkHandlebox. + Check for GtkTearoffMenuItem. + New enable: --enable-gtk-deprecation-warnings, default off. + (HAVE_GTK3): If above enable is off, add + -DGDK_DISABLE_DEPRECATION_WARNINGS to GTK_CFLAGS. + + 2012-12-30 Andreas Schwab + + * configure.ac (TEMACS_LDFLAGS2): Don't define. + (LIBS_GNUSTEP): Set for GNUstep and substitute. + (LD_SWITCH_SYSTEM_TEMACS): Don't set for GNUstep. + + 2012-12-27 Glenn Morris + + * configure.ac (emacs_config_options): New. + Use $@ rather than undocumented $ac_configure_args. + Replace any embedded double quotes. (Bug#13274) + + 2012-12-27 Andreas Schwab + + * configure.ac (SIGNALS_VIA_CHARACTERS): Also define for darwin. + (Bug#13222) + + 2012-12-26 Paul Eggert + + Revert static checking of stack smashing. + * configure.ac (WARN_CFLAGS): Omit -Wstack-protector when + configured with --enable-gcc-warnings. -Wstack-protector causes + diagnostics to be issued on Ubuntu 12.10 x86-64. + + 2012-12-24 Paul Eggert + + Merge from gnulib, incorporating: + 2012-12-21 AC_PROG_MKDIR_P: port workaround to pre-2.62 Autoconf + 2012-12-20 AC_PROG_MKDIR_P: don't workaround if not buggy + 2012-12-17 filemode, sys_stat: Handle MPX files a la AIX. + + 2012-12-21 Akinori MUSHA (tiny change) + + * Makefile.in (install-arch-dep): Ignore chmod errors. (Bug#13233) + + 2012-12-16 Romain Francoise + + * configure.ac (acl): New option. + (HAVE_POSIX_ACL): Test for POSIX ACL support. This is typically + provided by libacl on GNU/Linux. + + 2012-12-14 Paul Eggert + + Fix permissions bugs with setgid directories etc. (Bug#13125) + * configure.ac (BSD4_2): Remove; no longer needed. + + 2012-12-13 Glenn Morris + + * info/dir: Add bovine, srecode, wisent. + + 2012-12-13 Andreas Schwab + + * Makefile.in (install-info): Use `${MAKE} -s' for echo-info. + (uninstall): Likewise. (Bug#13142) + + 2012-12-11 Paul Eggert + + Merge from gnulib for 'inline' (Bug#13040), incorporating: + 2012-12-11 extern-inline: avoid incompatibility with Darwin Libc + * m4/extern-inline.m4: Update from gnulib. + + 2012-12-11 Juanma Barranquero + + * lib/makefile.w32-in (SIG2STR_H): New macro. + ($(BLD)/sig2str.$(O)): Update dependencies. + + 2012-12-10 Paul Eggert + + * configure.ac (HAVE_INOTIFY): Speed up configure-time test. + There's no need to test for any of three inotify functions, + since we use all three. Check for just the first one. + + 2012-12-10 Daniel Colascione + + * .bzrignore: Add src/emacs.res. + + * configure.ac (W32_RES, W32_RES_LINK, WINDRES): Teach the cygw32 + build how to compile Windows resource files; use these variables + to tell src/Makefile.in how and whether to compile resources. + + 2012-12-10 Rüdiger Sonderfeld + + * configure.ac (inotify): New option. + (HAVE_INOTIFY): Test for inotify. + + 2012-12-09 Andreas Schwab + + * configure.ac: Fix source command in .gdbinit. + Don't quote $MAKEINFO. + + 2012-12-09 Paul Eggert + + Allow spaces in some configuration vars (Bug#13078). + * configure.ac (srcdir): Don't assume $PWD lacks spaces. + (srcdir, MAKEINFO, PKG_CONFIG, PKG_CONFIG_MIN_VERSION): + All uses quoted, to allow spaces in these vars. + + 2012-12-08 Paul Eggert + + Use putenv+unsetenv instead of modifying environ directly (Bug#13070). + * lib/putenv.c, lib/unsetenv.c, m4/putenv.m4, m4/setenv.m4: + New files, copied automatically from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2012-12-08 Eli Zaretskii + + * lib/makefile.w32-in ($(BLD)/sig2str.$(O)): New dependency. + Remove a stray character at the beginning of the file. + (Bug#13026) + + 2012-12-08 Paul Eggert + + Simplify get_lim_data. + * configure.ac (ULIMIT_BREAK_VALUE): Remove. + + Assume POSIX 1003.1-1988 or later for signal.h (Bug#13026). + * configure.ac (PTY_OPEN, PTY_TTY_NAME_SPRINTF): + Use SIGCHLD rather than SIGCLD. + * lib/sig2str.c, lib/sig2str.h, m4/sig2str.m4: New files, from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + * lib/makefile.w32-in (GNULIBOBJS): Add $(BUILD)/sig2str.$(O). + + 2012-12-06 Glenn Morris + + * configure.ac: Handle info/ files with or without ".info" extension. + + 2012-11-30 Paul Eggert + + Merge from gnulib for 'inline' (Bug#13040), incorporating: + 2012-11-29 snippet/warn-on-use: no 'static inline' + 2012-11-29 ftruncate, fts, lstat, openat, raise: no 'static inline' + 2012-11-29 arctwo, md4, md5, sha1, sha256, sha512: no 'static inline' + 2012-11-29 fflush, stat: no 'static inline' + 2012-11-29 stdio: better 'inline' + 2012-11-29 sys_stat: no 'static inline' + 2012-11-29 unistd: better 'inline' + 2012-11-29 c-strtod, memcoll, readutmp: no 'static inline' + 2012-11-29 extern-inline: no 'static inline' + 2012-11-29 sys_socket: better 'inline' + * lib/stdio.c, lib/unistd.c: New files, from gnulib. + * build-aux/snippet/warn-on-use.h, lib/gnulib.mk, lib/lstat.c: + * lib/md5.c, lib/sha1.c, lib/sha256.c, lib/sha512.c, lib/stat.c: + * lib/stdio.in.h, lib/sys_stat.in.h, lib/unistd.in.h, m4/c-strtod.m4: + * m4/extern-inline.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/md5.m4: + * m4/sha1.m4, m4/sha256.m4, m4/sha512.m4, m4/stat.m4, m4/stdio_h.m4: + * m4/sys_socket_h.m4, m4/sys_stat_h.m4, m4/unistd_h.m4: + Update from gnulib. + + 2012-11-27 Eli Zaretskii + + * make-dist (nt): Adjust to changes in names of the *.manifest files. + + 2012-11-24 Ken Brown + + * configure.ac (HAVE_MOUSE): Remove. + + 2012-11-23 Paul Eggert + + Assume POSIX 1003.1-1988 or later for dirent.h (Bug#12958). + * configure.ac: Do not check for dirent.h or closdir. + + 2012-11-21 Paul Eggert + + Assume POSIX 1003.1-1988 or later for unistd.h (Bug#12945). + * configure.ac: Do not check for getcwd or getwd. + + 2012-11-21 Glenn Morris + + * configure.ac (--enable-profiling): Doc fix. + + 2012-11-20 Paul Eggert + + Improve static checking of integer overflow and stack smashing. + * configure.ac (WARN_CFLAGS): Add -Wstack-protector + if using GCC 4.7.2 or later on a platform with + at least 64-bit long int. This improves static checking on these + platforms, when configured with --enable-gcc-warnings. + + 2012-11-17 Paul Eggert + + Assume POSIX 1003.1-1988 or later for fcntl.h (Bug#12881). + * configure.ac: Do not check for fcntl.h. + * lib/gnulib.mk: Regenerate. + + 2012-11-16 Paul Eggert + + Remove no-longer-used pty_max_bytes variable. + * configure.ac (fpathconf): Remove unnecessary check. + + 2012-11-14 Paul Eggert + + Use faccessat, not access, when checking file permissions (Bug#12632). + * .bzrignore: Add lib/fcntl.h. + * configure.ac (euidaccess): Remove check; gnulib does this for us now. + (gl_FCNTL_O_FLAGS): Define a dummy version. + * lib/at-func.c, lib/euidaccess.c, lib/faccessat.c, lib/fcntl.in.h: + * lib/getgroups.c, lib/group-member.c, lib/root-uid.h: + * lib/xalloc-oversized.h, m4/euidaccess.m4, m4/faccessat.m4: + * m4/fcntl_h.m4, m4/getgroups.m4, m4/group-member.m4: + New files, from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2012-11-05 Paul Eggert + + Assume at least POSIX.1-1988 for getpgrp, setpgid, setsid (Bug#12800). + * configure.ac (setpgid, setsid): Assume their existence. + (AC_FUNC_GETPGRP, SETPGRP_RELEASES_CTTY): Remove; obsolete. + + Simplify by assuming __fpending. + Now that Emacs is using the gnulib fpending module, + there's no need for Emacs to have a separate implementation. + * configure.ac (stdio_ext.h, __fpending): Remove now-duplicate checks. + (PENDING_OUTPUT_COUNT, DISPNEW_NEEDS_STDIO_EXT): Remove. + + 2012-11-03 Eli Zaretskii + + * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/fpending.$(O) and + $(BLD)/close-stream.$(O). + ($(BLD)/close-stream.$(O)) + ($(BLD)/fpending.$(O)): New dependencies. + + 2012-11-03 Paul Eggert + + Fix data-loss with --batch (Bug#9574). + * lib/close-stream.c, lib/close-stream.h, lib/fpending.c + * lib/fpending.h, m4/close-stream.m4, m4/fpending.m4: + New files, from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2012-11-03 Eli Zaretskii + + * config.bat: Copy lib/execinfo.in.h to lib/execinfo.in-h if needed. + + 2012-11-02 Glenn Morris + + * Makefile.in (EMACS_ICON): New variable. + (install-etc): Use EMACS_ICON to allow choice of icon. + + 2012-10-26 Glenn Morris + + * Makefile.in (EMACS_NAME): New variable. + (EMACS, install-etc, uninstall): Use $EMACS_NAME. + + * Makefile.in (EMACS, EMACSFULL): Transformations should not be + applied to $EXEEXT. + + * Makefile.in (uninstall): Don't abort if some directories are missing. + Apply transformation rules to manual pages, desktop and icon files. + No more emacs22 icons to uninstall. + + 2012-10-24 Glenn Morris + + * Makefile.in (install-etc, install-man): + Don't apply program transform to standard file suffixes. + + 2012-10-23 Paul Eggert + + * configure.ac (_FORTIFY_SOURCE): Do not multiply define (Bug#12714). + This ports to Gentoo. Problem originally reported against coreutils, + but Emacs has it too. + + 2012-10-23 Glenn Morris + + * Makefile.in (emacs_transform): Remove. + (install-man): Revert 2012-10-21 change. (Bug#12713) + + 2012-10-21 Glenn Morris + + * Makefile.in (install-etc): Don't install emacs22 icons. + + * Makefile.in (emacs_transform): New variable. + (install-etc): Prefer a make variable to a shell variable. + + 2012-10-18 Stefan Monnier + + * Makefile.in ($(MAKEFILE_NAME)): Depend on src/lisp.mk as well. + + 2012-10-15 Glenn Morris + + * Makefile.in (install-man, install-etc): + Apply $TRANSFORM. (Bug#12536#34) + (clean): Delete etc/emacs.tmpdesktop. + + 2012-10-11 Kenichi Handa + + * .bzrignore: Add several files under admin/charsets. + + 2012-10-08 Daniel Colascione + + * configure.ac: Add --with-w32 as a window system option. + Limit it to Cygwin for now. Integrate w32 into the refactored window + system configuration and set TERM_HEADER to w32term.h when w32 is + configured. + + (CYGWIN_OBJ): Add cygw32.o. + + 2012-10-07 Jan Djärv + + * configure.ac: Check that OSX is 10.4 or newer. + + 2012-10-07 Paul Eggert + + Improve sys_siglist detection. + * configure.ac (sys_siglist): Look for its decl in . + Otherwise, it's not found in either Fedora 17 or Solaris 11. + + 2012-10-04 Paul Eggert + + Merge from gnulib, incorporating: + 2012-10-02 pselect: reject invalid file descriptors + 2012-10-02 ptsname: reject invalid file descriptors + 2012-10-02 manywarnings: cater to more gcc infelicities + 2012-09-30 sockets, sys_stat: restore AC_C_INLINE + * lib/pselect.c, lib/stdlib.in.h, m4/manywarnings.m4, m4/pselect.m4: + * m4/stdlib_h.m4, m4/sys_stat_h.m4: Update from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2012-09-30 Paul Eggert + + Merge from gnulib, incorporating: + 2012-09-28 extern-inline: provide a -Wundef safe config.h + + 2012-09-27 Paul Eggert + + Check more robustly for timer_settime. + This should fix an OS X build problem reported by Ivan Andrus in + . + * configure.ac (gl_THREADLIB): Define to empty, since Emacs + does threads its own way. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + 2012-09-23 Paul Eggert + + * Makefile.in (bootstrap): Set MAKEFILE_NAME when building Makefile, + to avoid problems with recursion when using GNU make. + + 2012-09-22 Paul Eggert + + * Makefile.in (bootstrap): Simplify build procedure. + Suggested by Wolfgang Jenker in + . + + Merge from gnulib, incorporating: + 2012-09-22 sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases + + 2012-09-18 Jan Djärv + + * configure.ac (HAVE_GTK): Mention if we use GTK2 or GTK3. + + 2012-09-17 Andreas Schwab + + * Makefile.in (bootstrap): Revert last change. Run config.status + after config.status --recheck, run configure from $(srcdir). + (config.status): Run configure from $(srcdir). + + 2012-09-17 Paul Eggert + + * Makefile.in: Fix build error on FreeBSD. + ($(MAKEFILE_NAME)): Pass MAKE='$(MAKE)' to config.status's env. + Suggested by Wolfgang Jenker in + . + (MAKE_CONFIG_STATUS): Remove. Remaining use expanded. + This undoes part of the 2012-09-10 patch. + (bootstrap): Run ./configure, rather than trying to run config.status + if it exists. That builds src/epaths.h more reliably. + Run autogen/copy_autogen if autogen.sh fails, + to create 'configure'. Reported by Andreas Schwab in + . + * autogen.sh: Exit with status 1 when failing due to missing tools, + reverting the 2012-09-10 change to this file. + * autogen/copy_autogen: Fail if one of the subsidiary actions fail. + Use 'cp -f' for the build-aux files, since the destinations are + typically read-only. + + Remove no-longer-needed Solaris 2.4 vfork bug workaround. + * configure.ac (ac_cv_func_vfork_works): Default to 'no' on + Solaris 2.4, so that AC_FUNC_VFORK doesn't think vfork works. + + 2012-09-17 Glenn Morris + + * configure.ac (copyright): New output variable. + (COPYRIGHT): New AC_DEFINE. + + 2012-09-16 Paul Eggert + + Remove configure's --without-sync-input option (Bug#12450). + * configure.ac (SYNC_INPUT, BROKEN_SA_RESTART): Remove. + + 2012-09-16 Glenn Morris + + Increase compartmentalization of Nextstep builds rules, + and store Emacs version number in fewer versioned files. + * configure.ac (ns_appsrc): Use relative names. + (ns_frag): Remove. + (Info-gnustep.plist, Emacs.desktop, Info.plist, InfoPlist.strings) + (nextstep/Makefile): Generate these nextstep files. + (SUBDIR_MAKEFILES): Add nextstep. + * Makefile.in (clean, distclean, bootstrap-clean): Add nextstep. + * make-dist (nextstep/templates): Add directory. + (nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj): Remove. + (nextstep/Cocoa/Emacs.base/Contents) + (nextstep, nextstep/GNUstep/Emacs.base/Resources): Update contents. + + 2012-09-15 Paul Eggert + + Port better to POSIX hosts lacking _setjmp (Bug#12446). + * configure.ac (HAVE__SETJMP, HAVE_SIGSETJMP): New symbols. + (_setjmp, _longjmp): Remove. + + 2012-09-14 Paul Eggert + + * configure.ac (--without-sync-input): Fix typo in usage message. + + * configure.ac: Port to hosts lacking gtk. + (PKG_CHECK_MODULES): Capture pkg-config diagnostics + better, in particular, problems in invoking pkg-config itself. + This is useful on hosts that don't have pkg-config. + (GTK_MODULES): Do not exit 'configure' simply because gtk3 + and gtk2 are both missing. Problem found on Solaris 8. + + 2012-09-13 Jan Djärv + + * configure.ac: Reorder Xaw3d messages. + Report Gtk+ 3 as GTK. + + 2012-09-13 Paul Eggert + + Simplify SIGIO usage (Bug#12408). + * configure.ac (NO_TERMIO, BROKEN_FIONREAD, BROKEN_SIGAIO) + (BROKEN_SIGPOLL, BROKEN_SIGPTY): Remove. + (USABLE_FIONREAD, USABLE_SIGIO): New symbols. All uses of + 'defined SIGIO' replaced with 'defined USABLE_SIGIO', with no need + to #undef SIGIO now (which was error-prone). Likewise, all uses + of 'defined FIONREAD' replaced with 'defined USABLE_FIONREAD'. + + 2012-09-12 Jan Djärv + + * configure.ac: No --with-x-toolkit given: Try gtk3 toolkit first + and then gtk2 if not found. + --with-x-toolkit=gtk|yes: As above, but fail if gtk2 or gt3 not found. + --with-x-toolkit=gtk2: Only try gtk2, fail if not found. + --with-x-toolkit=gtk3: Only try gtk3, fail if not found. + + 2012-09-11 Glenn Morris + + * Makefile.in (install-arch-dep, install-arch-indep, install-doc): + Be more explicit about dependencies, for parallel `make install'. + + 2012-09-11 Paul Eggert + + Simplify, document, and port floating-point (Bug#12381). + * configure.ac (logb, cbrt): Do not check for these functions, + as they are not being used. + + 2012-09-10 Paul Eggert + + Improve robustness of 'make bootstrap' (Bug#12376). + Run autogen.sh after bootstrap-clean, to avoid bzr pull issues. + * INSTALL, README: Document autogen.sh. + * Makefile.in (Makefile): Mark it as precious, since it's updated + atomically. + (MAKE_CONFIG_STATUS): New macro. + (config.status, bootstrap): Use it. This causes 'make bootstrap' + to run config.status with the --recheck option, which is more + appropriate for a bootstrap. + (bootstrap): Run autogen.sh right after cleaning. Don't worry + about failures due to missing tools. + * autogen.sh: Exit with status 101 when failing due to missing tools. + * make-dist: Distribute autogen.sh. + + 2012-09-09 Paul Eggert + + Assume C89 or later for math functions (Bug#12381). + * configure.ac (frexp, fmod): Remove checks for these functions, + as we now assume them. + (FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC, NO_MATHERR) + (HAVE_EXCEPTION): + Remove; no longer needed. + + 2012-09-07 Paul Eggert + + More signal-handler cleanup (Bug#12327). + * configure.ac (FLOAT_CHECK_DOMAIN): Comment fix (Bug#12327). + + 2012-09-06 Paul Eggert + + Signal-handler cleanup (Bug#12327). + * configure.ac (PTY_OPEN, PTY_TTY_NAME_SPRINTF): + Adjust to syssignal.h changes. + (SIGNAL_H_AB): Remove; no longer needed. + + 2012-09-04 Paul Eggert + + Simplify redefinition of 'abort' (Bug#12316). + * configure.ac (NO_ABRT): Remove. + + * configure.ac (_setjmp, _longjmp): Check by compiling + instead of by guessing. The guesses were wrong for + recent versions of Solaris, such as Solaris 11. + + 2012-09-03 Paul Eggert + + * configure.ac (WARN_CFLAGS): Omit -Wjump-misses-init. + It generates false alarms in doc.c, regex.c, xdisp.c. See + . + + Merge from gnulib, incorporating: + 2012-08-29 stdbool: be more compatible with mixed C/C++ compiles + 2011-11-30 manywarnings: update the list of "all" warnings + + 2012-09-02 Jan Djärv + + * configure.ac (HAVE_GOBJECT): Check for gobject-2.0 (Bug#12332). + + 2012-09-01 Paul Eggert + + * configure.ac (_FORTIFY_SOURCE): Define only when optimizing. + This ports to glibc 2.15 or later, when configured with + --enable-gcc-warnings. See Eric Blake in + . + + 2012-09-01 Daniel Colascione + + * configure.ac: Introduce term_header variable, which holds the + value which will become TERM_HEADER in code. We effect our choice + of window system by setting term_header and WINDOW_SYSTEM_OBJ + instead of using ad-hoc variables and flags for each window + system. + + 2012-08-26 Paul Eggert + + * configure.ac (CFLAGS): Prefer -g3 to -g if -g3 works + and if the user has not specified CFLAGS. -g3 simplifies + debugging, since it makes macros visible to the debugger. + + 2012-08-25 Juanma Barranquero + + * lib/makefile.w32-in ($(BLD)/execinfo.$(O)): Update dependencies. + + 2012-08-25 Eli Zaretskii + + * lib/makefile.w32-in ($(BLD)/execinfo.$(O), execinfo.h): New targets. + (GNULIBOBJS): Add $(BLD)/execinfo.$(O). + + 2012-08-24 Paul Eggert + + On assertion failure, print backtrace if available. + Merge from gnulib, incorporating: + 2012-08-24 execinfo: port to FreeBSD + 2012-08-22 execinfo: new module + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + * lib/execinfo.c, lib/execinfo.in.h, m4/execinfo.m4: New files. + + 2012-08-22 Glenn Morris + + * Makefile.in (install-arch-dep): If NO_BIN_LINK is non-null, + do not create the bin/emacs link. (Bug#12011) + + 2012-08-21 Paul Eggert + + Merge from gnulib, incorporating: + 2012-08-20 extern-inline: support old GCC 'inline' + + 2012-08-20 Glenn Morris + + * configure.ac (AC_PROG_LN_S): Test for ln. + * Makefile.in (LN_S): New, set by configure. + (install-arch-dep): Use $LN_S. + + 2012-08-19 Paul Eggert + + Merge from gnulib, incorporating: + 2012-08-19 ignore-value, stat-time, timespec: omit AC_C_INLINE + 2012-08-19 mktime, sys_select: avoid 'static inline' + 2012-08-19 gnulib-tool: Fix indentation. + + 2012-08-18 Paul Eggert + + * lib/sigprocmask.c, m4/signalblocking.m4: Remove. + These files have been unused since the 2012-06-22 patch that + introduced high-resolution time stamps. + + 2012-08-17 Jan Beich (tiny change) + + * configure.ac (PTY_OPEN): Try posix_openpt on gnu-linux, + gnu-kfreebsd, freebsd, and netbsd. (Bug#12040) + + 2012-08-14 Paul Eggert + + Merge from gnulib, incorporating: + 2012-08-05 extern-inline: also ignore -Wmissing-declarations + + 2012-08-10 Juanma Barranquero + + * lib/makefile.w32-in (STAT_TIME_H): New macro. + (FTOASTR_C, $(BLD)/stat-time.$(O), $(BLD)/timespec.$(O)) + ($(BLD)/u64.$(O)): Update dependencies. + + 2012-08-10 Glenn Morris + + * configure.ac (DIRECTORY_SEP): Move here from src/lisp.h. + + 2012-08-08 Dmitry Antipov + + * configure.ac (--disable-features): Rename to --without-all. + (OPTION_DEFAULT_ON): Change to use with_features. + * INSTALL: Fix description. + + 2012-08-07 Dmitry Antipov + + * configure.ac: New option --disable-features. + (OPTION_DEFAULT_ON): Change to use enable_features. + * INSTALL: Explain --disable-features. + + 2012-08-07 Glenn Morris + + * configure.ac: Require automake 1.11 (fairly arbitrarily). + * autogen.sh (automake_min): Get it from configure.ac. + + 2012-08-06 Glenn Morris + + * configure.ac (BROKEN_GETWD) [unixware]: New define. + + * configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove. + (PENDING_OUTPUT_COUNT): Absorb GNU_LIBRARY_PENDING_OUTPUT_COUNT. + (DISPNEW_NEEDS_STDIO_EXT): New define. + + 2012-08-05 Michael Albinus + + * INSTALL: Explain how to completely disable D-Bus. (Bug#12112) + + 2012-08-05 Ulrich Müller + + * configure.ac: Disable paxctl if binaries don't have a + PT_PAX_FLAGS program header. (Bug#11979) + + 2012-08-03 Eli Zaretskii + + * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/stat-time.$(O), + $(BLD)/timespec.$(O), and $(BLD)/u64.$(O). + (SHA512_H): Don't mention u64.h twice. + ($(BLD)/stat-time.$(O), ($(BLD)/timespec.$(O), ($(BLD)/u64.$(O)): + New targets. + + 2012-08-03 Paul Eggert + + Merge from gnulib, incorporating: + 2012-08-02 stat-time, timespec, u64: support naive out-of-dir builds + + 2012-08-02 YAMAMOTO Mitsuharu + + * lib/Makefile.am (DEFAULT_INCLUDES): Add -I$(top_srcdir)/lib for + out-of-tree build. + + 2012-08-02 Glenn Morris + + * make-dist: Remove src/s. + + * lib/makefile.w32-in (MS_W32_H): Update for new ms-w32.h location. + + 2012-08-02 Paul Eggert + + Merge from gnulib (Bug#12116), incorporating: + 2012-08-01 extern-inline: new module + 2012-08-01 stat-time, timespec, u64, utimens: use extern-inline + * lib/stat-time.c, lib/timespec.c, lib/u64.c, m4/extern-inline.m4: + New files. The new .c files are for instantiating extern inline + functions. + + Port to Solaris 8. + Without this change, 'configure' fails because the recently-added + wait3 prototype in config.h messes up later 'configure' tests. + Fix this problem by droping wait3 and WRETCODE, as they're + no longer needed on hosts that are current porting targets. + * configure.ac (wait3, WRETCODE): Remove, fixing a FIXME. + All uses changed to waitpid and WEXITSTATUS. + + Avoid needless autoheader after autogen.sh. + * .bzrignore: Add src/stamp-h.in. + * autogen.sh: Create src/stamp-h.in. + + 2012-08-01 Glenn Morris + + * configure.ac (DOS_NT, MSDOS): New system type templates. + + 2012-08-01 Ulrich Müller + + * configure.ac (LIB_STANDARD, START_FILES) [FreeBSD]: + Don't include crtbegin.o and crtend.o. (Bug#12047) + + 2012-08-01 Glenn Morris + + * configure.ac (FLOAT_CHECK_DOMAIN, HAVE_INVERSE_HYPERBOLIC) + (INTERNAL_TERMINAL): New. + + * configure.ac (DEVICE_SEP, IS_DEVICE_SEP, IS_DIRECTORY_SEP) + (IS_ANY_SEP): Move here from src/lisp.h. + + 2012-08-01 Juanma Barranquero + + * lib/makefile.w32-in (CONFIG_H): Update dependencies. + (CONF_POST_H): New macro. + + 2012-07-31 Glenn Morris + + * configure.ac (S_FILE): Remove output variable. + + * configure.ac (opsysfile): Use AH_TEMPLATE. Doc fix. + + * configure.ac (NULL_DEVICE, SEPCHAR, USER_FULL_NAME): + Move here from src. + + * configure.ac (AMPERSAND_FULL_NAME, subprocesses): + Move here from conf_post.h. + + 2012-07-31 Dmitry Antipov + + Improve OpenMotif detection on GNU/Linux systems. + * configure.ac (MOTIF): Check for /usr/include/openmotif + and /usr/(lib|lib64)/openmotif if --with-x-toolkit=motif. + + 2012-07-31 Andreas Schwab + + * Makefile.in (install-arch-indep): Avoid eval. + + 2012-07-31 Glenn Morris + + * configure.ac (opsysfile, S_FILE): Now they are always empty. + + * configure.ac (opsysfile): Forgot to set it to empty on sol2-10 + when removing src/s/sol2-6.h yesterday. + + * configure.ac (USG5_4): Reintroduce this. + (opsysfile): Set to empty on irix6-5, sol2*, and unixware. + + * configure.ac (wait3, WRETCODE): Move here from src/s/usg5-4-common.h. + + * configure.ac (opsysfile): Set to empty on hpux*, darwin; + and to s/usg5-4-common.h on irix6-5. + + 2012-07-30 Glenn Morris + + * configure.ac (AH_BOTTOM): Use an include file, so that the + contents do not get processed by autoheader. + + 2012-07-30 Paul Eggert + + Do not overwrite config.status while executing it (Bug#11214). + * Makefile.in (MAKEFILE_NAME): New macro. + ($(MAKEFILE_NAME)): Rename rule from Makefile. + * configure.ac (epaths): Set MAKEFILE_NAME to a bogus value, + so that GNU 'make' isn't tempted to make the Makefile and then + regenerate config.status while config.status is running. + + Update .PHONY listings in makefiles. + * Makefile.in (.PHONY): Add all, ${SUBDIR}, blessmail, epath-force, + FRC, install-arch-dep, install-arch-indep, install-doc, + install-info, install-man, install-etc, install-strip, uninstall, + bootstrap-clean, TAGS, tags, info-real, force-info, check-info-dir. + (.RECURSIVE): Remove; hasn't been needed for years. + + 2012-07-30 Glenn Morris + + * configure.ac (SIGNAL_H_AHB): New hack macro. + (opsysfile): Set to empty on netbsd, openbsd. + (AH_BOTTOM): Include signal.h if SIGNAL_H_AHB is defined. + + * configure.ac (_longjmp, _setjmp, TIOCSIGSEND): Move here from src/s. + + 2012-07-30 Jan Djärv + + * Makefile.in (install-arch-indep): Remove sh -x. + + 2012-07-30 Glenn Morris + + * configure.ac (opsysfile): Tweak message for null case. + + * configure.ac (opsysfile): Set to empty on aix4-2, freebsd, + gnu-linux, gnu-kfreebsd; and to usg5-4-common.h on sol2*, unixware. + + 2012-07-29 Jan Djärv + + * Makefile.in (install-arch-indep): Handle space in locallisppath. + + 2012-07-28 Paul Eggert + + Use Gnulib environ module (Bug#9772). + * m4/environ.m4: New file, from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + Use Gnulib stdalign module (Bug#9772, Bug#9960). + This should improve portability of macros like alignof and DECL_ALIGN. + * lib/stdalign.in.h, m4/stdalign.m4: New files, from gnulib. + * .bzrignore: Add lib/stdalign.h. + * config.bat: Do not set NO_DECL_ALIGN; no longer needed. + Copy lib/stdalign.in.h to lib/stdalign.in-h as needed. + * configure.ac (HAVE_ATTRIBUTE_ALIGNED): Remove the code that + fiddles with this, as gnulib now does this for us. + + 2012-07-17 Dmitry Antipov + + Fix toolkit configuration report. + * configure.ac (USE_X_TOOLKIT): Report toolkit as GTK3 if + --with-x-toolkit=gtk3 is used. + + 2012-07-17 Paul Eggert + + Fix regression with pthread_sigmask on FreeBSD (Bug#11884). + * configure.ac: Configure gnulib at the end, not before running + pkg-config. This restores the behavior before 2012-06-22, when + higher-resolution time stamps were added, and fixes a bug whereby + LIB_PTHREAD was not used and gnulib's part of 'configure' + therefore incorrectly assumed that pthread_sigmask wasn't working. + Fix the problem with -lrt and clock_gettime a different way. + This should complete the fix for Bug#11884. + (pre_PKG_CONFIG_CFLAGS, pre_PKG_CONFIG_LIBS): New shell vars. + + 2012-07-15 Paul Eggert + + Merge from gnulib, incorporating: + 2012-07-15 pthread_sigmask: fix bug on FreeBSD 9 (Bug#11884) + 2012-07-11 gettext: do not assume '#define ... defined ...' behavior + + 2012-07-14 Glenn Morris + + * configure.ac (GC_SETJMP_WORKS, GC_MARK_STACK): Move here from src/s. + (AH_BOTTOM): Move GC_SETJMP_WORKS GCC fallback to main body. + + 2012-07-13 Glenn Morris + + * configure.ac (opsysfile): Set to empty on gnu, cygwin. + + * configure.ac (BSD4_2, BSD_SYSTEM, USG, USG5, _AIX, CYGWIN) + (DARWIN_OS, GNU_LINUX, HPUX, IRIX6_5, SOLARIS2): + Move "system type" macros here from src/s. + (BSD_SYSTEM_AHB): New hack macro. + (AH_BOTTOM): Set BSD_SYSTEM, using BSD_SYSTEM_AHB. + + * configure.ac (NSIG_MINIMUM, ULIMIT_BREAK_VALUE, SETUP_SLAVE_PTY) + (GC_MARK_SECONDARY_STACK): Move here from src/s. + + 2012-07-12 Glenn Morris + + * configure.ac (AH_BOTTOM) [DARWIN_OS]: Move SYSTEM_PURESIZE_EXTRA + setting here from src/s/darwin.h. + + * configure.ac (NO_MATHERR): Unconditionally define for Darwin; + as src/s/darwin.h used to. + + * configure.ac (NARROWPROTO, NO_ABORT, BROKEN_GET_CURRENT_DIR_NAME) + (BROKEN_FIONREAD, BROKEN_PTY_READ_AFTER_EAGAIN, BROKEN_SIGAIO) + (BROKEN_SIGPOLL, BROKEN_SIGPTY, FIRST_PTY_LETTER, NO_EDITRES) + (G_SLICE_ALWAYS_MALLOC, PREFER_VSUSP, PTY_ITERATION, PTY_OPEN) + (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, RUN_TIME_REMAP) + (SETPGRP_RELEASES_CTTY, TAB3, TABDLY, RUN_TIME_REMAP, UNIX98_PTYS) + (XOS_NEEDS_TIME_H): Move here from src/s. + + 2012-07-11 Glenn Morris + + * configure.ac (INTERRUPT_INPUT): Move here from src/s. + (HAVE_PTYS, HAVE_SOCKETS): Define unconditionally. + + 2012-07-11 Paul Eggert + + * configure.ac (tzset): Remove check that's redundant with gnulib. + + 2012-07-11 Glenn Morris + + * configure.ac (CLASH_DETECTION): Define unconditionally. + + * configure.ac (opsysfile): Use bsd-common on gnu systems. + + * configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT) + (SIGNALS_VIA_CHARACTERS): Move here from src/s. + + 2012-07-11 Paul Eggert + + Assume mkdir, rename, rmdir, strerror. + * configure.ac (mkdir, rename, rmdir, strerror): Remove check. + + 2012-07-11 Glenn Morris + + * configure.ac (DONT_REOPEN_PTY): Move here from src/s. + + * configure.ac (DEFAULT_SOUND_DEVICE): New definition. + + 2012-07-10 Paul Eggert + + Remove "#define unix" that is no longer needed (Bug#11905). + Merge from gnulib to make "#define unix" unnecessary, incorporating: + 2012-07-10 getloadavg: clean out old Emacs and Autoconf cruft + 2012-07-09 getopt: Simplify after Emacs changed. + + 2012-07-10 Glenn Morris + + * configure.ac (DATA_START, DATA_SEG_BITS, PENDING_OUTPUT_COUNT): + Move here from src/s. + + 2012-07-09 Andreas Schwab + + * configure.ac (PNG_DEPSTRUCT): Define this instead of + PNG_DEPRECATED. + + 2012-07-09 Paul Eggert + + Add GCC-style 'const' attribute to functions that can use it. + * configure.ac (WARN_CFLAGS): Add -Wsuggest-attribute=const. + (ATTRIBUTE_CONST): New macro, in config.h. + + 2012-07-09 Juanma Barranquero + + * lib/makefile.w32-in: Rework dependencies. + (GNU_LIB, NT_INC, C_CTYPE_H, MS_W32_H, CONFIG_H, FILEMODE_H) + (FTOASTR_H, FTOASTR_C, GETOPT_INT_H, MD5_H, SHA1_H, SHA256_H) + (U64_H, SHA512_H): New macros. + (SRC): Redefine to point to src/, not current directory. + ($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O)) + ($(BLD)/c-strncasecmp.$(O), $(BLD)/dtoastr.$(O)) + ($(BLD)/dtotimespec.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)) + ($(BLD)/gettime.$(O), $(BLD)/strftime.$(O), $(BLD)/time_r.$(O)) + ($(BLD)/timespec-add.$(O), $(BLD)/timespec-sub.$(O), $(BLD)/md5.$(O)) + ($(BLD)/sha1.$(O), $(BLD)/sha256.$(O), $(BLD)/sha512.$(O)) + ($(BLD)/filemode.$(O)): Update dependencies. + + 2012-07-09 Paul Eggert + + Merge from gnulib, incorporating: + 2012-07-09 timespec: mark functions with const attributes + + Rename configure.in to configure.ac (Bug#11603). + The name 'configure.in' has been obsolescent for quite some time, + and the next release of Autoconf will generate warnings for it. + See commit 'v2.69-4-g560f16b' of 2012-05-06, "general: deprecate + 'configure.in' as autoconf input" in the Autoconf git repository. + * configure.ac: Rename from configure.in. + * INSTALL, INSTALL.BZR, README, make-dist: + * Makefile.in (AUTOCONF_INPUTS): + * autogen.sh (autoconf_min): + * autogen/update_autogen (sources): + Adjust to reflect new name. + + 2012-07-08 Paul Eggert + + Restore deprecation warnings, except for older libpng. + * configure.in (WARN_CFLAGS): Remove -Wno-deprecated-declarations. + (HAVE_LIBPNG_PNG_H): Don't bother checking for this if we have png.h. + (PNG_DEPRECATED): Define when compiling with older PNG versions. + + 2012-07-07 Andreas Schwab + + * configure.in (WARN_CFLAGS): Add -Wno-deprecated-declarations. + + 2012-07-07 Paul Eggert + + Improve static checking when configured --with-ns. + See Samuel Bronson's remarks in + . + * configure.in (WARN_CFLAGS): Omit -Wunreachable-code, as it's + a no-op with recent GCC and harmful in earlier ones. + Omit -Wsync-nand, as it's irrelevant to Emacs and provokes a + warning when compiling with ObjC. Always omit + -Wunsafe-loop-optimizations, as we don't mind when optimization is + being done correctly. + + 2012-07-07 Glenn Morris + + * configure.in (BROKEN_SA_RESTART): Doc fix. + + * configure.in: Rather than checking for things then undef'ing + them on some platforms, simply don't check for them. + (getwd): Don't check for it on unixware. + (random, rint): Don't check for these on hpux. + (res_init, libresolv): Don't check for these on darwin. + + 2012-07-07 Juanma Barranquero + + * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/c-ctype.$(O), + $(BLD)/c-strcasecmp.$(O) and $(BLD)/c-strncasecmp.$(O). + ($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O)) + ($(BLD)/c-strncasecmp.$(O)): New dependencies. + + 2012-07-06 Paul Eggert + + * configure.in: Document --enable-gcc-warnings better. + + Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786). + This is safer than strcasecmp, which has unspecified behavior + outside the POSIX locale and in practice sometimes does not work + in multibyte locales. Similarly for c_strncasecmp and strncasecmp. + * configure.in (strcasecmp, strncasecmp): Remove checks. + + * lib/c-ctype.c, lib/c-ctype.h, lib/c-strcase.h, lib/c-strcasecmp.c: + * lib/c-strncasecmp.c: New files, taken from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. + + Merge from gnulib, incorporating: + 2012-07-06 timespec-sub: avoid duplicate include + Reported by Juanma Barranquero. + + 2012-07-06 Glenn Morris + + * make-dist [update]: Let autoreconf figure out what needs updating. + Use `make info-real'. leim/leim-list.el should always exist. + Check cd return value. + + 2012-07-06 Paul Eggert + + Merge from gnulib. This is for OpenBSD 5.1 amd64. + * m4/sys_time_h.m4: New version from gnulib, incorporating: + 2012-07-05 sys_time: allow too-wide tv_sec + + 2012-07-04 Paul Eggert + + Merge from gnulib. + * lib/alloca.in.h: New version from gnulib, incorporating: + 2012-07-03 alloca: add support for HP NonStop TNS/E native + + 2012-07-04 Dmitry Antipov + + * configure.in: If --enable-gcc-warnings, disable + -Wunsafe-loop-optimizations for -O1 optimization level. + + 2012-06-30 Glenn Morris + + * configure.in (standardlisppath): New output variable. + (lisppath): Use standardlisppath. + * Makefile.in (standardlisppath): New, set by configure. + (epaths-force): Use standardlisppath and locallisppath rather than + lisppath. + + 2012-06-28 Dmitry Antipov + + * configure.in: Fix previous change. Remove --enable-asserts. + (CPPFLAGS): Remove conditional -DXASSERTS=1. + Add --enable-link-time-optimization. + * INSTALL: Mention this. + + 2012-06-28 Dmitry Antipov + + * configure.in: Add glyphs category to --enable-checking option. + (GLYPH_DEBUG): Define if glyphs debugging is enabled. + + 2012-06-28 Dmitry Antipov + + * configure.in (ENABLE_CHECKING): Update comment. + + 2012-06-28 Paul Eggert + + * configure.in: Don't check for sys/select.h, sys/time.h, utime.h. + Emacs proper no longer uses these headers, and can rely on Gnulib + for these checks. + + Merge from gnulib. + * m4/getopt.m4: Copy new version from gnulib, incorporating: + getopt-posix: No longer guarantee that option processing is resettable. + + 2012-06-27 Glenn Morris + + * configure.in: Only check for paxctl on gnu-linux. (Bug#11398#26) + + * INSTALL: Remove references to paths.el. + + 2012-06-26 Eli Zaretskii + + * lib/makefile.w32-in ($(GNULIBOBJS)): Depend on stamp_BLD. + This replaces separate dependency for each object file, which required + the same object file to be mentioned twice, causing failures in + parallel builds. + + 2012-06-26 Paul Eggert + + Clean out last vestiges of the old HAVE_CONFIG_H stuff. + * lib/makefile.w32-in (LOCAL_FLAGS): Remove -DHAVE_CONFIG_H. + + 2012-06-25 Dmitry Antipov + + * configure.in (AC_CHECK_FUNCS): Detect library functions + strcasecmp and strncasecmp. + + 2012-06-24 Paul Eggert + + Switch from NO_RETURN to C11's _Noreturn (Bug#11750). + We might as well use the spelling standardized by C11, + as in the long run that should simplify maintenance. + * configure.in (NO_RETURN): Remove. All uses replaced by _Noreturn. + + 2012-06-24 Eli Zaretskii + + * lib/makefile.w32-in ($(BLD)/dtotimespec.$(O)) + ($(BLD)/timespec-add.$(O)) + ($(BLD)/timespec-sub.$(O)): Don't depend on + $(EMACS_ROOT)/nt/inc/sys/time.h. + + * lib/stat-time.h: + * lib/timespec.h: + * lib/utimens.h: Revert last change. + + 2012-06-23 Paul Eggert + + Merge from gnulib. + * m4/getopt.m4: Copy new version from gnulib, incorporating: + getopt-gnu: Handle suboptimal getopt_long's abbreviation handling. + + 2012-06-23 Eli Zaretskii + + Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu. + * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/dtotimespec.$(O), + $(BLD)/gettime.$(O), $(BLD)/timespec-add.$(O), and + $(BLD)/timespec-sub.$(O). + ($(BLD)/dtotimespec.$(O)) + ($(BLD)/gettime.$(O)) + ($(BLD)/timespec-add.$(O)) + ($(BLD)/timespec-sub.$(O)): New dependencies. + + * lib/stat-time.h: + * lib/timespec.h: + * lib/utimens.h: Include sys/time.h. + + 2012-06-23 Andreas Schwab + + * configure.in: Don't use AC_CHECK_FUNCS_ONCE, which doesn't use + the correct CFLAGS and LIBS. + + 2012-06-22 Paul Eggert + + Support higher-resolution time stamps (Bug#9000). + * configure.in (gl_ASSERT_NO_GNULIB_POSIXCHECK) + (gl_ASSERT_NO_GNULIB_TESTS, gl_INIT): Move these up earlier, so + that the new clock stuff doesn't clash with RSVG_LIBS. + (AC_CHECK_HEADERS): Don't check for sys/select.h, sys/time.h, utime.h, + as gnulib does that for us now. + (emacs_cv_struct_utimbuf, HAVE_STRUCT_UTIMBUF, HAVE_TIMEVAL) + (GETTIMEOFDAY_ONE_ARGUMENT): Remove; gnulib does these now. + (AC_CHECK_FUNCS): Remove utimes; no longer needed. + * lib/dtotimespec.c, lib/gettime.c, lib/gettimeofday.c, lib/pselect.c: + * lib/stat-time.h, lib/sys_select.in.h, lib/sys_time.in.h: + * lib/timespec-add.c, lib/timespec-sub.c, lib/timespec.h: + * lib/utimens.c, lib/utimens.h, m4/clock_time.m4, m4/gettime.m4: + * m4/gettimeofday.m4, m4/pselect.m4, m4/stat-time.m4: + * m4/sys_select_h.m4, m4/sys_socket_h.m4, m4/sys_time_h.m4: + * m4/timespec.m4, m4/utimbuf.m4, m4/utimens.m4, m4/utimes.m4: + New files, copied automatically from gnulib. + * lib/gnulib.mk, m4/gnulib-comp.m4: Merge from gnulib. + + 2012-06-22 Paul Eggert + + Merge from gnulib. + * lib/filemode.h, lib/signal.in.h, lib/stat.c, lib/stdint.in.h: + * lib/stdlib.in.h, lib/unistd.in.h, m4/extensions.m4, m4/getloadavg.m4: + * m4/getopt.m4, m4/gnulib-common.m4, m4/largefile.m4, m4/mktime.m4: + * m4/multiarch.m4, m4/nocrash.m4, m4/stdio_h.m4, m4/time_r.m4: + Copy new versions from gnulib, incorporating the following changes: + 2012-06-22 time_r: fix typo that always overrode localtime_r decl + 2012-06-22 Write "Mac OS X" instead of "MacOS X". + 2012-06-21 mktime: fix integer overflow in 'configure'-time test + 2012-06-21 nonblocking: Avoid compilation error on mingw64. + 2012-06-19 stat, fstat: Avoid warnings on mingw64. + 2012-06-19 getopt-gnu: Fix exit code overflow in autoconf test. + + 2012-06-13 Andreas Schwab + + * configure.in: Rename --enable-use-lisp-union-type to + --enable-check-lisp-object-type and define CHECK_LISP_OBJECT_TYPE + instead of USE_LISP_UNION_TYPE. + + 2012-06-12 Glenn Morris + + * configure.in (HAVE_PROCFS, _STRUCTURED_PROC): New AC_DEFINEs. + (opsysfile): Set specially for sol2-10. + + * configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS): + New AC_DEFINEs, for hpux11. + (opsysfile): Set specially for hpux11. + + 2012-06-12 Paul Eggert + + * configure.in: Coalesce some function checking. + This makes 'configure' a bit smaller. + Prefer AC_CHECK_FUNCS_ONCE for functions that we always check for. + + 2012-06-12 Glenn Morris + + * configure.in (opsysfile): Set specially for gnu-kfreebsd, openbsd. + + * configure.in (NO_TERMIO, BROKEN_SIGIO): Move here from src/s. + + * configure.in: Anticipate platforms with no src/s file. + + 2012-06-12 Chong Yidong + + * configure.in: Check for MagickMergeImageLayers (Bug#11678). + + 2012-06-11 Glenn Morris + + * configure.in (SYSTEM_TYPE): New AC_DEFINE. + + 2012-06-09 Michael Albinus + + * configure.in (dbus_type_is_valid): Check for library function. + + 2012-06-06 Glenn Morris + + * INSTALL, make-dist: Remove vcdiff. + + 2012-06-03 Glenn Morris + + * INSTALL, make-dist: Remove rcs-checkin. + + 2012-06-03 Ulrich Müller + + * configure.in (PAXCTL): Check for paxctl. (Bug#11398) + + 2012-06-01 Paul Eggert + + Remove --disable-maintainer-mode option from 'configure'. (Bug#11555) + It is confusingly named and rarely useful. See, for example, + . + * INSTALL.BZR: Don't mention --disable-maintainer-mode. + * Makefile.in (MAINTAINER_MODE_FLAG): Remove; all uses removed. + * configure.in: Remove --disable-maintainer-mode. + (USE_MAINTAINER_MODE, MAINT): Remove. + + 2012-05-28 Paul Eggert + + Make 'configure' a bit smaller and faster. + * configure.in (INSTALL_INFO): Set it with one call to + AC_PATH_PROG, not three. + (PKG_CONFIG): Hoist this out of PKG_CHECK_MODULES, since it's + so likely that it'll be needed. + (AC_CHECK_HEADERS_ONCE): Prefer to AC_CHECK_HEADERS where either works. + (AC_PROG_MAKE_SET): Remove; Automake does this. + (sysinfo): Do not check for this function, as it's never used. + (tzset): Check for this function just once. + * m4/manywarnings.m4: Sync from gnulib, incorporating the following: + 2012-05-27 manywarnings: remove duplicate -Wmultichar entry + + 2012-05-27 Eli Zaretskii + + * config.bat (lib): Create/update lib/stdalign.in-h and + lib/sys_types.in-h. + + * lib/makefile.w32-in ($(BLD)/md5.$(O)) + ($(BLD)/sha1.$(O)) + ($(BLD)/sha256.$(O)) + ($(BLD)/sha512.$(O)): Depend on $(EMACS_ROOT)/nt/inc/stdalign.h. + Suggested by Christoph Scholtes . + + * lib/getopt_.h: Regenerate. + + 2012-05-27 Paul Eggert + + Assume gnulib does largefile. + Gnulib does the largefile configuration anyway, so when configure.in + invokes AC_SYS_LARGEFILE, that bloats 'configure' unnecessarily. + * configure.in (AC_SYS_LARGEFILE): Remove. + * lib/gnulib.mk: Autoupdate. + + 2012-05-26 Paul Eggert + + Merge from gnulib. (Bug#11527) + + The build procedure now creates and for + older hosts that lack a working or whose + does not define pid_t, size_t, ssize_t, mode_t. + New symbols such as WINDOWS_64_BIT_OFF_T may require attention in the + msdos and nt builds. + + Here is a precis of gnulib changes that seem relevant; please see + the gnulib ChangeLog for details. + + 2012-05-18 crypto: fix bug in large buffer handling + 2012-05-14 ignore-value.h: remove unused _GL_ATTRIBUTE_DEPRECATED + 2012-05-10 _Noreturn: port config.h to gcc -Wundef + 2012-05-08 warnings.m4: give a means to specify the program to compile + 2012-05-07 stdint: be more consistent with glibc, SunOS libc + 2012-04-21 Large File Support for native Windows platforms. + 2012-04-14 stat: Bypass buggy override in mingw64. + 2012-03-29 stdio: don't assume gets any more + 2012-03-24 Enable common subexpression optimization in GCC. + 2012-02-09 maint: replace FSF snail-mail addresses with URLs + 2012-01-30 sys_stat: Fix support for mingw64 and MSVC. + 2012-01-28 strtoimax: eliminate need for stdint.h, inttypes.h checks + 2012-01-21 stdint: Add support for Android. + 2012-01-15 Improve support for MSVC 9. + 2012-01-08 mktime: Avoid compilation error on Solaris 11. + 2012-01-05 Use ', not `, for quoting output. + 2012-01-05 strtoimax: Don't replace systems where intmax_t is int. + 2012-01-05 strtoimax: Work around AIX 5.1 bug. + 2012-01-05 inttypes: Modernize. + 2011-12-13 inttypes, stdint: add C++11 support + 2011-11-26 Fix conflict between two instantiations of module 'unistd'. + 2011-11-21 _Noreturn: Check that _MSC_VER is defined + 2011-11-10 ptsname_r: Avoid compilation error on OSF/1 5.1. + 2011-11-09 raise: fix mingw handling of SIGPIPE + 2011-10-27 Add stdalign module and use it in other modules. + + * lib/stdalign.in.h, lib/sys_types.in.h, m4/off_t.m4, m4/stdalign.m4: + * m4/sys_types_h.m4: + New files. + * build-aux/move-if-change, build-aux/snippet/_Noreturn.h: + * build-aux/snippet/arg-nonnull.h, build-aux/snippet/c++defs.h: + * build-aux/snippet/warn-on-use.h: + * lib/alloca.in.h, lib/allocator.h, lib/careadlinkat.c: + * lib/careadlinkat.h, lib/dosname.h, lib/dup2.c, lib/filemode.c: + * lib/filemode.h, lib/ftoastr.c, lib/ftoastr.h, lib/getloadavg.c: + * lib/getopt.c, lib/getopt.in.h, lib/getopt1.c, lib/getopt_int.h: + * lib/gettext.h, lib/gnulib.mk, lib/ignore-value.h, lib/intprops.h: + * lib/inttypes.in.h, lib/lstat.c, lib/md5.c, lib/md5.h, lib/mktime.c: + * lib/pathmax.h, lib/pthread_sigmask.c, lib/readlink.c, lib/sha1.c: + * lib/sha1.h, lib/sha256.c, lib/sha256.h, lib/sha512.c, lib/sha512.h: + * lib/signal.in.h, lib/sigprocmask.c, lib/stat.c, lib/stdarg.in.h: + * lib/stdbool.in.h, lib/stddef.in.h, lib/stdint.in.h, lib/stdio.in.h: + * lib/stdlib.in.h, lib/strftime.c, lib/strftime.h, lib/strtoimax.c: + * lib/strtol.c, lib/strtoll.c, lib/strtoul.c, lib/strtoull.c: + * lib/symlink.c, lib/sys_stat.in.h, lib/time.in.h, lib/time_r.c: + * lib/u64.h, lib/unistd.in.h, lib/verify.h, m4/00gnulib.m4: + * m4/alloca.m4, m4/c-strtod.m4, m4/dup2.m4, m4/extensions.m4: + * m4/filemode.m4, m4/getloadavg.m4, m4/getopt.m4, m4/gl-comp.m4: + * m4/gnulib-common.m4, m4/gnulib-tool.m4, m4/include_next.m4: + * m4/inttypes.m4, m4/largefile.m4, m4/longlong.m4, m4/lstat.m4: + * m4/md5.m4, m4/mktime.m4, m4/multiarch.m4, m4/nocrash.m4: + * m4/pathmax.m4, m4/pthread_sigmask.m4, m4/readlink.m4, m4/sha1.m4: + * m4/sha256.m4, m4/sha512.m4, m4/signal_h.m4, m4/signalblocking.m4: + * m4/socklen.m4, m4/ssize_t.m4, m4/st_dm_mode.m4, m4/stat.m4: + * m4/stdarg.m4, m4/stdbool.m4, m4/stddef_h.m4, m4/stdint.m4: + * m4/stdio_h.m4, m4/stdlib_h.m4, m4/strftime.m4, m4/strtoimax.m4: + * m4/strtoll.m4, m4/strtoull.m4, m4/strtoumax.m4, m4/symlink.m4: + * m4/sys_stat_h.m4, m4/time_h.m4, m4/time_r.m4, m4/tm_gmtoff.m4: + * m4/unistd_h.m4, m4/warnings.m4, m4/wchar_t.m4: + Update from gnulib. + + 2012-05-22 Paul Eggert + + Remove src/m/*. + * configure.in: Remove all mention of src/m/*. + (machine, machfile, M_FILE, config_machfile, and_machfile): Remove. + All uses removed. + (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG) + (BITS_PER_LONG_LONG): Move to src/lisp.h. + * lib/makefile.w32-in: Remove dependencies on + $(EMACS_ROOT)/src/m/intel386.h. + * make-dist: Don't make links to src/m. + + 2012-05-22 Paul Eggert + + * Makefile.in (ACLOCAL_INPUTS): Fix up gnulib-comp.m4 name. (Bug#11529) + Without this further fix, aclocal was being invoked unnecessarily. + + 2012-05-22 Glenn Morris + + * Makefile.in (blessmail, install-arch-dep, uninstall): + Check cd lib-src works. + (install-arch-dep, uninstall): Remove unneeded subshells. + + 2012-05-21 Glenn Morris + + * update-subdirs: Move to build-aux/. + * make-dist, Makefile.in (install-arch-indep): Update for this change. + + * Makefile.in (leimdir): New, set by configure. + (COPYDIR, COPYDESTS): Add leim directories. + (install-leim): Remove. + (install-arch-indep): Handle leim installation directly. + + * vpath.sed: Remove unused file. + * make-dist: No more vpath.sed. + + 2012-05-21 Paul Eggert + + Use full name for m4/gnulib-comp.m4. (Bug#11529) + Previously the file was named m4/gl-comp.m4 due to DOS 8+3 restrictions, + even though the file's name in gnulib is m4/gnulib-comp.m4. + This had a problem when merging from gnulib, as the code temporarily + renamed it to the full name, causing problems when interrupted. + Now the file has its full name, with the idea that we will find + a solution for MS-DOS that does not affect the rest of Emacs. + * m4/gnulib-comp.m4: Rename from m4/gl-comp.m4. + + Assume C89 or later. + * configure.in (AC_C_PROTOTYPES, AC_C_VOLATILE, AC_C_CONST) + (POINTER_TYPE, PROTOTYPES): Remove. + + Make merging from gnulib a script, not a makefile action. + Putting it in a makefile has some problems with reflection, as + merging from gnulib updates 'configure', which can update the makefile. + Putting it in a standalone script breaks this loop. + * Makefile.in (gnulib_srcdir, $(gnulib_srcdir), DOS_gnulib_comp.m4) + (GNULIB_MODULES, GNULIB_TOOL_FLAGS, sync-from-gnulib): + Remove, moving the actions to the script admin/merge-gnulib. + + 2012-05-21 Glenn Morris + + * configure.in (LEIM_INSTALLDIR): + Rename to leimdir, treat like lispdir. + + 2012-05-21 Glenn Morris + + * Makefile.in (install-arch-indep, install-doc, install-info) + (uninstall): Scrap superfluous subshells. + + 2012-05-19 Ulrich Müller + + * Makefile.in (install-etc): Respect DESTDIR. (Bug#11518) + + 2012-05-19 Paul Eggert + + * configure.in (AC_CHECK_FUNCS): Remove XSetWMProtocols, + getdomainname, mblen (twice), mbrlen (twice), mbsinit, ualarm, + getsockopt, setsockopt, mremap, mempcpy. + + * configure.in (machine): Do not set to 'vax', since src/m/vax.h + is being removed. + (AC_CHECK_FUNCS): Remove ftime. + + 2012-05-19 Glenn Morris + + * Makefile.in (install-arch-indep): Remove unneeded subshell. + + * Makefile.in (install-arch-indep): Remove unneeded chmod. + Set permissions of lisp/subdirs.el. + + * Makefile.in (SUBDIR): Add leim. Update users. + + * Makefile.in (lib, lib-src, lisp): Check cd return value. + + * Makefile.in (leim): No need to set PARALLEL. + + 2012-05-18 Glenn Morris + + * Makefile.in (install-arch-indep, install-info, install-man): + Simplify some one-sided ifs. + + * Makefile.in: Install only the relevant DOC file. + (install-arch-indep): Delete etc/DOC*. + (install-doc): No more need to delete etc/DOC. + + * Makefile.in (install-arch-indep): Split into several rules. + (install-doc, innstall-info, install-man): New rules. + + * configure.in (mandir): May as well include it in the NS app bundle. + + * configure.in (INSTALL_ARCH_INDEP_EXTRA): New output variable. + * Makefile.in (INSTALL_ARCH_INDEP_EXTRA): New, set by configure. + (install-arch-indep): Don't install-etc for self-contained ns builds. + + * configure.in (GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS) : + No longer unconditonally add /sw directories. (Bug#2280) + + * Makefile.in (install-arch-dep): Depend on install-arch-indep. + (install-arch-indep): Depend on install-leim. + (install): Remove explicit install-leim dependence. + + * Makefile.in (install-arch-indep): + Move last element of mkdir rule here. + (mkdir): Remove rule. + + * Makefile.in (install-arch-indep): Remove unneeded chmods. + INSTALL_DATA does this for us. + + * Makefile.in (install-arch-dep): Ensure bindir exists. + Drop mkdir dependency. + (install-arch-indep): Ensure docdir, infodir, mandir exist. + (install-leim): Drop mkdir dependency. + (mkdir): Remove most directories, now made in relevant rules. + + * Makefile.in (install-arch-indep): Combine adjacent loops. + + 2012-05-17 Glenn Morris + + * Makefile.in (install-etc, mkdir): + Make relevant directories in install-etc rather than mkdir. + + * Makefile.in (write_subdir): Create the directory if needed. + (install-arch-dep, mkdir): No need to make site-lisp directories. + + * Makefile.in (write_subdir): New. + (install-arch-indep, install-arch-dep): Use $write_subdir. + + * configure.in (docdir, etcdir, infodir, lispdir): + For a self-contained ns build, set these to the appropriate values. + * Makefile.in (install-arch-dep): No need to move info/ any more. + + * configure.in (ns_self_contained): New output variable. + * Makefile.in (ns_self_contained): New, set by configure. + (install-arch-dep): For a self-contained ns build, + don't bother installing binaries then immediately deleting them. + + * Makefile.in (ns_appbindir, ns_appresdir): + Move them before things that may refer to them. + (install-arch-dep): No need to relocate self-contained ns libexec. + + * configure.in (archlibdir): Set it for self-contained ns builds. + (libexecdir): Don't expand it now (this is mainly cosmetic). + + 2012-05-16 Paul Eggert + + * configure.in: Simplify by removing CPP etc. + (CPP_TEST_OPTIONS, NON_GNU_CPP, cc_specified, SPECIFIED_CFLAGS) + (SPECIFED_CPP, CPP, NON_GNU_CC, AC_PROG_CPP): Remove; not needed. + In particular we no longer need to fiddle with CPP, since we don't + use CPP specially any more. + (gl_EARLY): Invoke this after adjusting CC, so that it uses the + adjusted compiler. + (AC_PROG_INSTALL, AC_PROG_MKDIR_P, AC_PROG_RANLIB): Comment out, + since gl_EARLY and/or Autoconf already does these. + + 2012-05-16 Glenn Morris + + * configure.in: Try to fix building with gcc >= 4.6 on Darwin. + (CPP): Do not unconditionally set it on Darwin. + Instead, try to test if -no-cpp-precomp is accepted. + (CPP_TEST_OPTIONS, SPECIFIED_CPP): New. (Bug#9755) + + 2012-05-15 Glenn Morris + + * Makefile.in (install-arch-dep): Replace use of MV_DIRS. + + * Makefile.in (install-arch-dep): Do not hard-code version number. + + * Makefile.in (install-arch-dep): NS install no longer needs to + symlink libexec/* into bin/, since 2012-05-14 ns_init_paths change. + + 2012-05-12 Glenn Morris + + * configure.in (ns_appbindir): Remove trailing "/". + + * configure.in (AC_PROG_MKDIR_P): Call it, to set MKDIR_P. + (MKDEPDIR): Use $MKDIR_P. + * Makefile.in (MKDIR_P): New, set by configure. + (mkdir): Use $MKDIR_P. + + 2012-05-11 Glenn Morris + + * Makefile.in (install-arch-indep): There are no more Makefile.c files. + Use INSTALL_DATA for the DOC file. + Remove dead code for ./lisp that never executes. + + 2012-05-10 Glenn Morris + + * configure.in (LEIM_INSTALLDIR): New output variable. + + 2012-05-08 Stefan Monnier + + * .dir-locals.el (log-edit-mode): Enable gnu-style checks. + + 2012-05-08 Glenn Morris + + * make-dist: No more doc/lispref/*.el. + + 2012-05-05 Andreas Schwab + + * configure.in: Fix quoting bugs. + + 2012-05-04 Glenn Morris + + * configure.in (INFO_EXT, INFO_OPTS): New output variables. + + 2012-05-02 Glenn Morris + + * configure.in (LD_SWITCH_SYSTEM): Don't try to defeat + the choices made by FreeBSD and NetBSD. (Bug#10313) + + * Makefile.in (INFO_FILES): Remove variable. + (INFO_NONMISC): New variable. + (install-arch-indep, uninstall): Don't use $INFO_FILES. + + * Makefile.in (uninstall): Remove useless-use-of-for; that for + some reason caused problems on an old Solaris. + + * Makefile.in (install-arch-indep, uninstall): + Ensure that INSTALL-type commands are run from top-level. + + * info/dir: Make some entries consistent with the source texi files. + + * configure.in (LIBS_TERMCAP): Fix netbsd logic, broken 2012-03-04. + + 2012-05-02 Glenn Morris + + * Makefile.in (install-arch-indep): + Combine adjacent install-data and install-info loops. + + 2012-05-01 Glenn Morris + + * Makefile.in (MAN_PAGES): Remove. + (install-arch-indep, uninstall): Don't use $MAN_PAGES. + + * configure.in: Try libtinfo for tputs. + (LIBS_TERMCAP) [gnu*]: Use libtinfo if it was found. (Bug#9741) + + * configure.in: Combine adjacent $opsys case blocks. + + * configure.in (LIBS_TERMCAP): Remove unreachable branch for sol2. + + * configure.in: Invert the TERMINFO logic, + since "yes" is far more common than "no". + + * configure.in (HAVE_LIBNCURSES): Remove; it is required to be true. + + * configure.in (LD_SWITCH_X_SITE_RPATH): + Rename from LD_SWITCH_X_SITE_AUX_RPATH. + + * configure.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used. + + 2012-04-26 Glenn Morris + + * make-dist: No more doc/lispref/tindex.pl. + + 2012-04-22 Michael Albinus + + * configure.in (dbus_validate_bus_name, dbus_validate_path) + (dbus_validate_interface, dbus_validate_member): Check also for + these library functions. + + 2012-04-22 Paul Eggert + + * configure.in (doug_lea_malloc): Check for __malloc_initialize_hook. + With glibc 2.14 or later, when compiled with GCC 4.7.0's + -Werror=deprecated-declarations flag, use of hooks like + __malloc_initialize_hook causes compilation to fail because these + hooks are deprecated. Modify 'configure' to check for these hooks too. + Simplify the 'configure' code to test for all the hooks at once. + (emacs_cv_var___after_morecore_hook): Remove, replacing with ... + (emacs_cv_var_doug_lea_malloc): ... this new var. + + 2012-04-21 Paul Eggert + + Sync from gnulib version 4f11d6bebc3098c64ffde27079ab0d0cecfd0cdc + dated 2011-10-07. Regenerating from current gnulib would be a + pervasive change, and currently the trunk isn't open to such changes. + * configure.in (WARN_CFLAGS): Remove; no longer needed now + that gnulib does it. + * lib/gnulib.mk, m4/gl-comp.m4: Regenerate. + + 2012-04-21 Andreas Schwab + + * m4/gl-comp.m4: Update. (Bug#11285) + + 2012-04-20 Ludovic Courtès + + * configure.in: Don't use the -R option (Bug#11251). + + 2012-04-18 Paul Eggert + + configure: new option --enable-gcc-warnings (Bug#11207) + I have been using this change for many months in my private copy + of Emacs, and have used it to find several bugs. It's mature + enough to publish now. + * Makefile.in (GNULIB_MODULES): Add warnings, manywarnings. + * configure.in: Support --enable-gcc-warnings, in the style of + other GNU packages such as coreutils. + (C_WARNINGS_SWITCH): Remove, replacing with... + (WARN_CFLAGS, GNULIB_WARN_CFLAGS): New variable. + (PKG_CHECK_MODULES, C_SWITCH_X_SITE): Use -isystem rather than -I, + when including system files with GCC. + * INSTALL (DETAILED BUILDING AND INSTALLATION): Likewise. + * lib/Makefile.am (AM_CFLAGS): New macro. + * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib. + + 2012-04-17 Dmitry Antipov + + * configure.in (AC_CHECK_FUNCS): + Add getpwent, endpwent, getgrent, endgrent. (Bug#7900) + + 2012-04-16 Glenn Morris + + * configure.in (NS_HAVE_NSINTEGER): Remove unnecessary variable. + + * configure.in: Remove X libs workaround for old autoconf. + + 2012-04-12 Ken Brown + + * configure.in: Warn that Cygwin 1.5 is unsupported. (Bug#10398) + + 2012-04-11 Glenn Morris + + * configure.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM. + + 2012-04-10 Glenn Morris + + * configure.in: Conditionally generate admin/unidata/Makefile. + + 2012-04-09 Teodor Zlatanov + + * info/dir, Makefile.in (INFO_FILES): Add emacs-gnutls manual. + + 2012-04-09 Glenn Morris + + * Makefile.in (leim): Check cd return value. Pass fewer variables. + (install-leim): Check cd return value. Pass $MFLAGS. + (install-strip): Pass $MFLAGS. + + * configure.in: Require makeinfo >= 4.7. (Bug#10910) + Eg org.texi has been using 4.7 functions for some time. + + 2012-04-07 Paul Eggert + + Check pkg-config exit status when configuring (Bug#10626). + * configure.in (PKG_CHECK_MODULES): Do not assume that pkg-config + works; check its exit status. Reported by Jordi Gutiérrez Hermoso in + . + + 2012-04-07 Glenn Morris + + * README, configure.in (AC_INIT): Bump version to 24.1.50. + + 2012-04-07 Eli Zaretskii + + * lib/makefile.w32-in (gnulib, all): Don't depend on stamp_BLD. + + 2012-03-04 Paul Eggert + + configure: fix ncurses 'configure' issue on Solaris 10 (Bug#10677) + * configure.in (LIBS_TERMCAP): Default this to the result of + the tputs library search. Do a run-time test for the linkability + of tputs unless cross-compiling, as that's more reliable if the + link flags and libraries are messed up. Don't change LIBS as + a result of the test, as that may mess up later tests. + + 2012-02-05 Christoph Scholtes + + * make-dist (README.W32): Include file in source tarball. (Bug#9750) + + * lib/makefile.w32-in (PRAGMA_SYSTEM_HEADER): Move to platform + specific makefiles to support getopt_.h generation with MSVC. + + 2012-02-04 Glenn Morris + + * Makefile.in (uninstall): + Handle compressed info files and man pages. (Bug#10718) + + 2012-02-02 Glenn Morris + + * configure.in [HAVE_NS]: + Error if use --without-toolkit-scroll-bars. (Bug#10673) + + 2012-02-01 Paul Eggert + + Port to older Solaris 10 versions (Bug#10677). + Bug reported by Chong Yidong for SunOS 5.10 Generic_127111-11 sparc. + I cannot reproduce it on SunOS 5.10 Generic_141444-09 sparc but + possibly this is because Sun fixed the 'stat' bug in my version. + * Makefile.in (GNULIB_TOOL_FLAGS): Do not avoid the pathmax module. + * lib/pathmax.h, m4/pathmax.m4: New files, from gnulib. + * lib/gnulib.mk, m4/gl-comp.m4: Regenerate. + These changes are based on gnulib version + 4f11d6bebc3098c64ffde27079ab0d0cecfd0cdc dated 2011-10-07 20:59:10, + because Emacs is in feature freeze and we do not want to merge any + more-recent changes from gnulib. + + 2012-01-31 Glenn Morris + + * configure.in: Throw an explicit error if Motif toolkit was + requested but requirements could not be found. + + * configure.in: Allow Emacs to actually be built with xaw scroll-bars. + + 2012-01-30 Eli Zaretskii + + * lib/makefile.w32-in ($(BLD)/sha1.$(O) $(BLD)/sha256.$(O) + $(BLD)/sha512.$(O)): Depend on stamp_BLD. Fixes a build failure + with "make -j3". + + 2012-01-16 Juanma Barranquero + + * .bzrignore: Ignore etc/__pycache__. + + 2011-12-17 Paul Eggert + + Port HAVE_PTHREAD configuration to MirBSD 10 (Bug#10201). + * configure.in (HAVE_PTHREAD): Check for pthread_atfork if linking + to gmalloc.c. This should prevent a MirBSD 10 build failure reported + by Nelson H. F. Beebe in + . + + 2011-12-10 Juanma Barranquero + + * update-subdirs: Don't set no-byte-compile twice (bug#10260). + + 2011-12-10 Jan Djärv + + * configure.in (HAVE_ALSA, HAVE_GSETTINGS): Save and restore LIBS + instead of LDFLAGS (Bug#10230). + + 2011-12-03 Paul Eggert + + * INSTALL.BZR: Mention configure -C, --disable-maintainer-mode. + + Propagate configure flags to sub-configures. + * Makefile.in (cache_file, MAINTAINER_MODE_FLAG, CONFIGUREFLAGS): + New macros. + (config.status, bootstrap): Use them to propagate configure flags + to sub-configures. + * configure.in (cache_file): AC_SUBST this, for Makefile.in. + + 2011-12-03 Paul Eggert + + * .bzrignore: Add config.cache. + + 2011-11-27 Jan Djärv + + * configure.in: Check for gtk_window_set_has_resize_grip. + + 2011-11-24 Juanma Barranquero + + * configure.in (HAVE_XPM): Fix typo. + + 2011-11-22 Glenn Morris + + * configure.in (EMACSDATA, EMACSDOC): If set, print, since they can + have confusing effects on the build. (Bug#6401) + + * Makefile.in (install-arch-dep): Tweak previous change. + + 2011-11-22 Yavor Doganov + + Do not install arch-dependent files in the app bundle if + --disable-ns-self-contained is requested. (Bug#1335) + * configure.in (exec_prefix, libexecdir): Define relative to + `ns_appbindir' only if configured for a self-contained app. + * Makefile.in (install-arch-dep): Test for the existence of + libexec in the Emacs.app bundle before executing commands. + + 2011-11-20 Andreas Schwab + + * configure.in: Remove reference to src/m/ibms390.h. + + 2011-11-13 Glenn Morris + + * INSTALL: Tiny updates for disk space used during installation. + + 2011-11-05 Eli Zaretskii + + * lib/makefile.w32-in (FRC): New dummy target. + (TAGS): Depend on FRC. + + 2011-11-04 Glenn Morris + + * configure.in: Increase minimum GnuTLS version to 2.6.6. (Bug#9929) + Do not include GnuTLS version info in final summary message. + + 2011-10-31 Eli Zaretskii + + * config.bat: Use config.in and Makefile.in from src/ and lib/, if + they exist there, else from autogen/. + + * make-dist (msdos): Add depfiles.bat and inttypes.h. + + 2011-10-25 Nali Toja (tiny change) + + * configure.in (HAVE_GNU_MAKE): Respect MAKE env-var. (Bug#9868) + + 2011-10-24 Paul Eggert + + * configure.in (LIB_PTHREAD): Prepend -lpthread to LIBS (Bug#9852) + if the library is found. Otherwise, later configure-time tests, + such as the test for pthread_sigmask, generate the wrong results + on some platforms. Reported by Nali Toja for FreeBSD. + + 2011-10-20 Paul Eggert + + Time zone name fixes for non-ASCII locales (Bug#641, Bug#9794) + * configure.in (AC_STRUCT_TM, AC_STRUCT_TIMEZONE, HAVE_TM_GMTOFF): + Remove; no longer needed, now that we defer to strftime for time + zone names. + + 2011-10-18 Jan Djärv + + * configure.in (GLIB_REQUIRED, GTK_REQUIRED): Set to 2.10 (Bug#9786). + + 2011-10-18 Chong Yidong + + * make-dist: Remove Cocoa/Emacs.xcodeproj from distribution. + + 2011-10-13 Glenn Morris + + * configure.in: Also look for tputs in libcurses. (Bug#9736) + + 2011-10-12 Paul Eggert + + * configure.in: Remove check for -lintl (Bug#9713). + The check could break 'configure' on GNU/Linux with a (broken) libintl. + The check was helpful but not essential in Solaris 2.6 (1997), + and is no longer needed in Solaris 8 (2000). Solaris 2.6 is + obsolete -- Sun dropped support for it in 2006 -- and without + access to that Silurian platform we can't maintain the code anyway. + + 2011-10-07 Paul Eggert + + Merge from gnulib, fixing some 'configure' typos (Bug#9696). + * lib/signal.in.h, lib/sigprocmask.c, m4/gl-comp.m4: + * m4/gnulib-common.m4: Merge from gnulib. + Without this, 'configure' would say "func_gl_gnulib_m4code_pathmax: + command not found" on powerpc-apple-darwin9.8.0. + + * configure.in (GC_LISP_OBJECT_ALIGNMENT): Remove. + This is now done by src/alloc.c. + + 2011-10-02 Richard Stallman + + * configure.in: Rename xlinux_first_failure to xgnu_linux_first_failure + and xlinux_second_failure to xgnu_linux_second_failure. + + 2011-09-29 Eli Zaretskii + + * .bzrignore: Add ./GNUmakefile.unix, lib/SYS, lib/alloca.in-h, + lib/signal.in-h. + + * config.bat: Rename GNUmakefile, so it is not run on MS-DOS. + Rename signal.in.h and alloca.in.h. + + 2011-09-28 Eli Zaretskii + + * INSTALL: Mention that m17n libraries and libotf are needed for + Arabic shaping. + + 2011-09-26 Paul Eggert + + Merge from gnulib, improving some licensing wording. + This clarifies and fixes some licensing issues raised by Glenn Morris + . + It also merges the latest version of texinfo.tex and has some + MSVC-related changes that don't affect Emacs. + * Makefile.in (GNULIB_TOOL_FLAGS): Avoid msvc-inval, msvc-nothrow, + pathmax, and raise, since these are needed only to address + MSVC-related issues that Emacs doesn't have. + * lib/dup2.c, lib/gnulib.mk, lib/signal.in.h: + * lib/sigprocmask.c, lib/stat.c, lib/stdio.in.h, lib/sys_stat.in.h: + * lib/unistd.in.h, m4/dup2.m4, m4/getloadavg.m4, m4/gl-comp.m4: + * m4/include_next.m4, m4/signal_h.m4, m4/signalblocking.m4: + * m4/stdint.m4, m4/stdio_h.m4, m4/sys_stat_h.m4, m4/time_h.m4: + * m4/unistd_h.m4: Merge from gnulib. + + 2011-09-26 Andreas Schwab + + * configure.in: Initialize HAVE_LIBXML2. + + 2011-09-26 Glenn Morris + + * make-dist: Add lib/makefile.w32-in. + + 2011-09-24 Glenn Morris + + * configure.in (CRT_DIR): Fix netbsd/openbsd handling. + + 2011-09-19 Lars Magne Ingebrigtsen + + * .dir-locals.el: Change the debbugs regexp to allow having the + bug number as the first thing on a line. + + 2011-09-15 Glenn Morris + + * configure.in: Make configure work with recent GNUsteps. + (_NATIVE_OBJC_EXCEPTIONS): New AC_DEFINE. + (GNU_OBJC_CFLAGS): Add -fobjc-exceptions when needed. + (C_SWITCH_X_SYSTEM): Enable GNUstep to find its headers. + + 2011-09-11 Paul Eggert + + Merge from gnulib, porting to Tru64. + * lib/lstat.c, lib/stat.c, m4/include_next.m4, m4/nocrash.m4: + * m4/signal_h.m4, m4/time_h.m4, m4/unistd_h.m4: + Merge from gnulib. This fixes a compilation error on Tru64 UNIX + aka OSF/1 5.1 DTK cc. There is also some mingw stuff here that + doesn't affect Emacs. + + 2011-09-06 Paul Eggert + + * configure.in (isnan): Remove now-unnecessary check. + + 2011-09-06 Paul Eggert + + Merge from gnulib, using build-aux to remove clutter (Bug#9169). + This is to fix the following problems: + . On FreeBSD 6.4, HP-UX 11.31, and Solaris 9, and when Emacs is + configured not to use gtk or any other thread-using library, + signals aren't blocked correctly. + . On IRIX 6.5 it fixes an unwanted clash between Emacs's + and IRIX's signal handling. + . On Cygwin 1.7.5 it works around an incompatibility with + the system pthread_sigmask. + . On MacOS X 10.5 (32-bit), files whose inode numbers + exceed 2**31 cannot be read or manipulated. + . pthread_sigmask: Actually use results of gl_THREADLIB. + . strtoimax, strtoumax: Avoid link error on OSF/1 with DTK cc. + . find 'ar' program that fits with --host argument. + . Allow the user to override the choice of AR, ARFLAGS, RANLIB. + * autogen/README: Update destination list. + * autogen/copy_autogen, autogen/update_autogen, .bzrignore: + The autogenerated files compile, config.guess, + config.sub, depcomp, install-sh, and missing are now in build-aux. + * m4/largefile.m4: New file, so that Emacs does not mess up when + accessing files with large inode numbers in MacOS X 10.5 and later. + * m4/nocrash.m4: New file, to avoid triggering background debugger + and/or create core dumps during 'configure'. + * build-aux/move-if-change: Renamed from move-if-change. + * build-aux/snippet/arg-nonnull.h: Renamed from arg-nonnull.h. + * build-aux/snippet/c++defs.h: Renamed from c++defs.h. + * build-aux/snippet/warn-on-use.h: Renamed from warn-on-use.h. + * build-aux/snippet/_Noreturn.h: New file, for draft C1X _Noreturn. + * Makefile.in (epaths-force, sync-from-gnulib): + move-if-change is now in build-aux. + (GNULIB_TOOL_FLAGS): Avoid threadlib; this is now a prerequisite + of gnulib's pthread_sigmask module, but Emacs doesn't need it. + (mkdir): install-sh is now in build-aux. + * config.bat: c++defs.h is now in build-aux/snippets. + * configure.in: Specify AC_CONFIG_AUX_DIR with build-aux (the + usual parameter). + * lib/gnulib.mk, m4/gl-comp.m4: Regenerate. + * lib/makefile.w32-in (ARG_NONNULL_H): arg-nonnull.h moved + to build-aux/snippet. + * lib/pthread_sigmask.c, lib/stdlib.in.h, m4/extensions.m4: + * m4/getopt.m4, m4/gnulib-common.m4, m4/pthread_sigmask.m4: + Merge from gnuilib. This fixes porting bugs on Cygwin, Irix, and + Solaris, enables MacOS extensions, and enables nocrash during + 'configure'. + * make-dist: Adjust to new build-aux and build-aux/snippit dirs. + + 2011-09-04 Paul Eggert + + * configure.in (snprintf): New check. + + 2011-08-30 Paul Eggert + + * configure.in (opsys): Change pattern to *-*-linux* + to recognize powerpc-gnu-linux-uclibc (Bug#9403). + Remove unreachable pattern hppa*-*-linux-gnu*. + Also, remove ia64*-hp-hpux1[1-9]*, as it also sets machine=hp800, + and that can't possibly work now that src/m/hp800.h no longer exists. + + 2011-08-26 Jan Djärv + + * configure.in: Add -MP to DEPFLAGS (Bug#9372). + + 2011-08-13 Jan Djärv + + * configure.in: Add header check: sys/socket.h (Bug#8477), + ifaddrs.h, net/if_dl.h. Check for getifaddrs and freeifaddrs. + Check for sa_len in struct ifreq.ifr_addr (Bug#8477). + + 2011-08-04 Jan Djärv + + * configure.in (HAVE_PTHREAD): Add check for -lpthread (Bug#9216). + (HAVE_GTK_AND_PTHREAD): Remove. + + 2011-07-28 Alp Aker + + * configure.in (HAVE_RSVG): Allow use of -lrsvg-2 for any NextStep + build, not just GNUstep (Bug#9177). + + 2011-07-28 Paul Eggert + + Assume freestanding C89 headers, string.h, stdlib.h. + Again, this simplifies the code, and all current platforms have these. + * configure.in (AC_CHECK_HEADERS): Don't check for limits.h. + (AC_HEADER_STDC): Remove. + (AC_CHECK_FUNCS): No need to check for strchr, strrchr. + (strchr, strrchr): Remove fallback macros. + + Assume support for memcmp, memcpy, memmove, memset. + This simplifies the code a bit. All current platforms have these, + as they are required for C89. If this turns into a problem we + can add the gnulib modules for these (a 1-line change to Makefile.in). + * configure.in: Don't check for memcmp, memcpy, memmove, memset. + + 2011-07-27 Paul Eggert + + * GNUmakefile: New file. + This is for convenience, so that one can run GNU make in an + unconfigured source tree, and get a default build. + + 2011-07-13 Jan Djärv + + * configure.in (GSETTINGS): Check for gio-2.0 >= 2.26. + + 2011-07-11 YAMAMOTO Mitsuharu + + * configure.in (LD_SWITCH_SYSTEM_TEMACS): Add -fno-pie on Darwin + so as to suppress address randomization (Bug#8395). + + 2011-07-09 Paul Eggert + + * lib/stdint.in.h: Merge from gnulib (Bug#9025). + This fixes a build problem on older Mac OS X hosts. + + * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Omit gl_THREADLIB + test, which runs afoul of Automake installations where, for example, + /usr/share/aclocal contains a copy of gl_THREADLIB. + Reported by Sven Joachim in + . + This is just a quick temporary fix, specific to Emacs; I'll work + with the other gnulib maintainers to get a more-permanent fix. + + Add gnulib's strtoimax module, needed on Solaris 8. + * Makefile.in (GNULIB_MODULES): Add strtoimax. + * lib/strtoll.c, m4/strtoimax.m4, m4/strtoll.m4: New files, + automatically imported from gnulib. + * lib/gnulib.mk, m4/gl-comp.m4: Regenerate. + + 2011-07-08 Paul Eggert + + Add gnulib support for pthread_sigmask (Bug#9010). + * Makefile.in (GNULIB_MODULES): Add pthread_sigmask. + * configure.in (AC_TYPE_UID_T): New dummy macro. + Configure gnulib after adjusting LIBS, + so that gnulib can assume the libraries in LIBS. + * lib/signal.in.h, m4/pthread_sigmask.m4, m4/signal_h.m4: + * lib/pthread_sigprocmask.c, lib/sigprocmask.c, m4/signalblocking.m4: + * lib/pthread_sigmask.c: + New files, automatically imported from gnulib. + * lib/gnulib.mk, m4/gl-comp.m4: Automatically-imported update + due to the above changes. + * .bzrignore: Add lib/signal.h. + + * lib/getopt.c, lib/unistd.in.h, m4/getopt.m4: Merge from gnulib. + + 2011-07-07 Andreas Schwab + + * configure.in (maintainer-mode): Reflect default in help string. + + 2011-07-07 Dan Nicolaescu + + * configure.in: Remove reference to iris4d.h. + + 2011-07-05 Jan Djärv + + * configure.in (HAVE_GCONF): Allow both HAVE_GCONF and HAVE_GSETTINGS. + + 2011-07-01 Glenn Morris + + * configure.in (SETTINGS_CFLAGS, SETTINGS_LIBS) [HAVE_GCONF]: Fix typo. + + 2011-06-30 Lars Magne Ingebrigtsen + + * configure.in (HAVE_GSETTINGS): Fix syntax for GSETTINGS tests, + which made ./configure infloop. + + 2011-06-30 Jan Djärv + + * configure.in (gsettings): New option and check for GSettings. + + 2011-06-29 Glenn Morris + + * configure.in: Try to test for the required crt*.o files. + + 2011-06-27 Bill Wohler + + * .bzrignore: Add lisp/mh-e/mh-autoloads.el and lisp/mh-e/mh-cus-load.el. + + 2011-06-25 Paul Eggert + + Use gnulib's dup2 module instead of rolling our own. + * Makefile.in (GNULIB_MODULES): Add dup2. + * configure.in: Do not check for dup2; gnulib does that now. + * lib/dup2.c, m4/dup2.m4: New files, from gnulib. + + 2011-06-23 Paul Eggert + + * lib/getopt.c, lib/stat.c, m4/gl-comp.m4: Merge from gnulib. + + 2011-06-22 Paul Eggert + + Use gnulib's alloca-opt module. + * .bzrignore: Add lib/alloca.h. + * Makefile.in (GNULIB_MODULES): Add alloca-opt. + * configure.in (AC_FUNC_ALLOCA): Remove almost all the alloca stuff, + as gnulib now does that for us. Put alloca check in config.h. + Include before any other include file, for AIX 3. + * lib/gnulib.mk, m4/gl-comp.m4: Regenerate. + * lib/alloca.in.h, m4/alloca.m4: New files, from gnulib. + + 2011-06-21 Leo Liu + + * m4/sha256.m4: + * m4/sha512.m4: + * m4/gl-comp.m4: + * lib/u64.h: + * lib/sha256.c: + * lib/sha256.h: + * lib/sha512.c: + * lib/sha512.h: + * lib/makefile.w32-in (GNULIBOBJS): + * lib/gnulib.mk: + * Makefile.in (GNULIB_MODULES): Add crypto/sha256 and + crypto/sha512 modules from gnulib. + + 2011-06-19 Paul Eggert + + * lib/unistd.in.h, m4/getloadavg.m4: Merge from gnulib. + + 2011-06-17 Glenn Morris + + * configure.in: Restore the behavior of checking crt-dir only + when the user specified it (not all platforms use it). + + 2011-06-16 Paul Eggert + + * m4/lstat.m4: Merge from gnulib (Bug#8878). + + 2011-06-16 Miles Bader + + * configure.in: Try to determine CRT_DIR automatically when + using gcc. + + 2011-06-15 Paul Eggert + + * lib/ftoastr.c, lib/stdio.in.h, lib/verify.h: + * lib/gnulib.mk, m4/c-strtod.m4, m4/filemode.m4, m4/getloadavg.m4: + * m4/getopt.m4, m4/gl-comp.m4, m4/lstat.m4, m4/md5.m4, m4/mktime.m4: + * m4/readlink.m4, m4/sha1.m4, m4/stat.m4, m4/strftime.m4: + * m4/strtoull.m4, m4/strtoumax.m4, m4/symlink.m4, m4/time_r.m4: + Merge from gnulib. + + 2011-06-14 Jan Djärv + + * configure.in: Add emacsgtkfixed.o to GTK_OBJ if HAVE_GTK3. + + 2011-06-08 Paul Eggert + + * lib/gnulib.mk, m4/gnulib-common.m4: Merge from gnulib. + + 2011-06-07 Paul Eggert + + * configure.in: Add --with-wide-int. + * INSTALL: Mention this. + + 2011-06-06 Paul Eggert + + Merge from gnulib. + * lib/careadlinkat.c, lib/careadlinkat.h, m4/gnulib-common.m4: Merge. + + 2011-06-02 Paul Eggert + + * lib/allocator.h, lib/careadlinkat.c: Merge from gnulib. + + 2011-05-30 Paul Eggert + + Use 'inline', not 'INLINE'. + * configure.in (INLINE): Remove. + + 2011-05-29 Paul Eggert + + Adjust to recent gnulib change for @GUARD_PREFIX@. + * lib/makefile.w32-in (getopt_h): Substitute @GUARD_PREFIX@, too. + All uses of _GL_ for guard prefixes in lib/*.h replaced with + _@GUARD_PREFIX@_. + + 2011-05-27 Paul Eggert + + * lib/getopt.c, lib/intprops.h: Merge from gnulib. + + 2011-05-24 Glenn Morris + + * Makefile.in (check): Just give a message if no test/ directory. + + * configure.in: Avoid using variables inside AC_CONFIG_FILES. + + * configure.in (OPT_MAKEFILES_IN): Remove. + (SUBDIR_MAKEFILES): New variable, passed to AC_CONFIG_FILES. + (SUBDIR_MAKEFILES_IN): New output variable. + * Makefile.in (OPT_MAKEFILES_IN): Remove. + (SUBDIR_MAKEFILES_IN): Let configure set it. + + 2011-05-24 Leo Liu + + * m4/sha1.m4: + * m4/gl-comp.m4: + * lib/sha1.h: + * lib/sha1.c: + * lib/makefile.w32-in (GNULIBOBJS): + * lib/gnulib.mk: + * Makefile.in (GNULIB_MODULES): Add crypto/sha1 module. + + 2011-05-24 Glenn Morris + + * configure.in: Remove test for already configured source directory. + AM_INIT_AUTOMAKE has already done a more stringent test. (Bug#953) + + * Makefile.in (TAGS, tags, check): Pass MFLAGS to sub-makes. + + 2011-05-24 Glenn Morris + + * make-dist: Don't distribute test/. (Bug#8107) + * configure.in (OPT_MAKEFILES_IN): New output variable. + (AC_CONFIG_FILES): Conditionally include test/automated/Makefile. + * Makefile.in (OPT_MAKEFILES_IN): New, set by configure. + (SUBDIR_MAKEFILES_IN): Use $OPT_MAKEFILES_IN. + (check): Give an explicit error if test/ is not present. + + * Makefile.in (SUBDIR_MAKEFILES_IN): New variable. + (SUBDIR_MAKEFILES): Derive from $SUBDIR_MAKEFILES_IN. + (Makefile): Use $SUBDIR_MAKEFILES_IN. + + 2011-05-23 Paul Eggert + + * lib/verify.h: Merge from gnulib. + + 2011-05-22 Paul Eggert + + * lib/intprops.h, lib/stdint.in.h, m4/mktime.m4, m4/readlink.m4: + Merge from gnulib. + + 2011-05-21 Andreas Schwab + + * Makefile.in (AUTOMAKE_INPUTS): Add $(srcdir)/lib/gnulib.mk. + + 2011-05-20 Eli Zaretskii + + * .bzrignore: Add lib/stdio.in-h, lib/stdbool.h, and lib/stdint.h. + + * config.bat: Concatenate lisp.mk onto the end of src/Makefile. + + 2011-05-20 Glenn Morris + + * configure.in (lisp_frag): New output file. + + 2011-05-19 Glenn Morris + + * configure.in (NS_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT) + (WINDOW_SUPPORT): Remove output variables that are no longer used. + + 2011-05-17 Paul Eggert + + * lib/gnulib.mk: + * lib/intprops.h: + * lib/unistd.in.h: + * m4/inttypes.m4: + * m4/stdint.m4: + * m4/unistd_h.m4: Sync from gnulib. + + 2011-05-14 Glenn Morris + + * configure.in: Treat failure to find an X toolkit the same way we treat + failure to find X and image support. + + 2011-05-12 Glenn Morris + + * Makefile.in (src, install-arch-indep, bootstrap-clean) + (check-declare): Shell portability fixes. (Bug#8642) + + 2011-05-09 Teodor Zlatanov + + * configure.in: Require GnuTLS 2.6.x or higher. + + 2011-05-06 Paul Eggert + + Use C99's va_copy to avoid undefined behavior on x86-64 GNU/Linux. + * Makefile.in (GNULIB_MODULES): Add stdarg, for va_copy. + * lib/stdarg.in.h, m4/stdarg.m4: New files, from gnulib. + + * Makefile.in (GNULIB_TOOL_FLAG): Add --conditional-dependencies. + This new gnulib-tool option saves 'configure' the trouble of + checking for strtoull when strtoumax exists. + + * configure.in (BITS_PER_LONG_LONG): New macro. + + 2011-05-05 Glenn Morris + + * Makefile.in (bootstrap-clean): Save config.log. (Bug#765) + (top_distclean): Delete config.log~. + + 2011-04-27 Ben Key + + * configure.in: Fixed a bug that caused configure with + --enable-checking=stringoverrun to have no effect. + + 2011-04-26 Paul Eggert + + * configure.in: Suppress unnecessary checks for size_t. + (AC_TYPE_SIZE_T): Define an empty macro, to suppress obsolescent test. + (size_t): Do not check for this, and do not typedef. This code + is never exercised now. + + * Makefile.in (GNULIB_MODULES): Add strtoumax. + This is needed for the new integer-reading code in lread.c. + It automatically pulls in the following gnulib files, which + are used on old-fashioned platforms that don't have strtoumax: + lib/inttypes.in.h, lib/strtoimax.c, lib/strtol.c, lib/strtoul.c, + lib/strtoull.c, lib/strtoumax.c, lib/verify.h, m4/inttypes.m4, + m4/strtoull.m4, m4/strtoumax.m4. + * .bzrignore: Add lib/inttypes.h. + + 2011-04-24 Teodor Zlatanov + + * configure.in: Check for GnuTLS certificate verify callbacks. + + 2011-04-20 Stefan Monnier + + * Makefile.in (config.status): Don't erase in case of error. + In case it disappeared, rebuild it with `configure'. + + 2011-04-20 Ken Brown + + * configure.in (use_mmap_for_buffers): Set to yes on Cygwin. + + 2011-04-12 Glenn Morris + + * configure.in: Require ImageMagick >= 6.2.8. (Bug#7955) + + 2011-04-09 Paul Eggert + + * lib/allocator.c: New file, automatically generated by gnulib. + + 2011-04-07 Glenn Morris + + * autogen/update_autogen: Ignore comment diffs in ldefs-boot.el. + + 2011-04-06 Eli Zaretskii + + * lib/makefile.w32-in ($(BLD)/careadlinkat.$(O), GNULIBOBJS): + Revert last change. + + 2011-04-06 Juanma Barranquero + + * lib/makefile.w32-in (GNULIBOBJS): Add careadlinkat.$(O). + ($(BLD)/careadlinkat.$(O)): New target. + ($(BLD)/dtoastr.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)) + ($(BLD)/strftime.$(O), $(BLD)/time_r.$(O), $(BLD)/md5.$(O)): + Update dependencies. + + 2011-04-06 Paul Eggert + + Fix more problems found by GCC 4.6.0's static checks. + + * configure.in (ATTRIBUTE_FORMAT, ATTRIBUTE_FORMAT_PRINTF): New macros. + + Replace 2 copies of readlink code with 1 gnulib version (Bug#8401). + * Makefile.in (GNULIB_MODULES): Add careadlinkat. + * lib/allocator.h, lib/careadlinkat.c, lib/careadlinkat.h: + * m4/ssize_t.m4: New files, automatically generated from gnulib. + + 2011-04-06 Glenn Morris + + * autogen/update_autogen: Handle loaddefs-like files as well. + (usage): Add -l, -C. + (clean, ldefs_flag, ldefs_in, ldefs_out): New variables. + With -l, check status of lisp/ as well. + With -C, clean before building. + (autoreconf): Only pass -f in the `clean' case. + (commit): New function. + + 2011-03-28 Glenn Morris + + * autogen/update_autogen: Pass -f to autoreconf. + + * autogen.sh (get_version): Discard "not found" lines. + (check_version): Respect $AUTOCONF etc environment variables. + + 2011-03-27 Glenn Morris + + * configure.in (AC_TYPE_SIGNAL): Remove obsolete macro. + (AH_BOTTOM): Do not define SIGTYPE. + + 2011-03-26 Glenn Morris + + * configure.in: Replace obsolete macros AC_TRY_COMPILE, AC_TRY_LINK, + AC_TRY_RUN with AC_COMPILE_IFELSE, AC_LINK_IFELSE, AC_RUN_IFELSE. + + 2011-03-25 Andreas Schwab + + * autogen/update_autogen: Remove useless function keyword. + + 2011-03-25 Eli Zaretskii + + * config.bat: Generate src/config.h and lib/Makefile from + autogen/config.in and autogen/Makefile.in. + + 2011-03-25 Glenn Morris + + * compile, config.guess, config.sub, depcomp, install-sh, missing: + Remove; autoreconf can supply them. + * Makefile.in (sync-from-gnulib): Don't sync config.sub, + config.guess, install-sh. Pass -i to autoreconf. + * autogen/update_autogen (genfiles): Add compile, config.guess, + config.sub, depcomp, install-sh, missing. Pass -i to autoreconf. + Discard non-error output from autoreconf in -q case. + * autogen/compile, autogen/config.guess, autogen/config.sub: + * autogen/depcomp, autogen/install-sh, autogen/missing: New. + * autogen/copy_autogen: Add compile, config.guess, config.sub, depcomp, + install-sh, missing. + + 2011-03-23 Glenn Morris + + * autogen/update_autogen: Fix typo. + (msg): Remove function; use `exec' instead. + + * Makefile.in (mkdir): Use `install-sh -d' instead of mkinstalldirs. + (sync-from-gnulib): Don't sync mkinstalldirs. + * make-dist: Don't distribute mkinstalldirs. + + 2011-03-23 Paul Eggert + + Fix more problems found by GCC 4.5.2's static checks. + * Makefile.in (GNULIB_MODULES): Add socklen. + * configure.in: Do not check for sys/socket.h, since socklen does that. + * m4/socklen.m4: New automatically-generated file, from gnulib. + + fakemail: Remove dependency on ignore-value. + * Makefile.in (GNULIB_MODULES): Add stdio. + * lib/stdio.in.h, m4/stdio_h.m4: New files, automatically + imported from gnulib. + * .bzrignore: Add lib/stdio.h. + + 2011-03-22 Glenn Morris + + * autogen/copy_autogen: Work from ./ or ../. + Fix time-stamps. + * autogen.sh: Doc fix. + + 2011-03-20 Glenn Morris + + * autogen/: New directory, to be excluded from releases. + * autogen/copy_autogen, autogen/update_autogen: New scripts. + * autogen/README: New file. + * autogen/aclocal.m4, autogen/config.in, autogen/configure: + * autogen/Makefile.in: Add auto-updated generated files. + * autogen.sh: No longer a no-op, now it tests for autotools + and runs them as necessary. + * configure.in: Default maintainer-mode to on. + * aclocal.m4, configure, lib/Makefile.in: Remove files. + + 2011-03-13 Paul Eggert + + Update for gnulib. + * Makefile.in (GNULIB_MODULES): Add intprops, as Emacs now + includes directly. + * lib/sys_stat.in.h: New version from Gnulib, which fixes a bug + when building Emacs on Solaris 9 and running it on Solaris 10. + + 2011-03-08 Jan Djärv + + * configure.in: Require 3.0 for --with-gtk3. Add HAVE_GTK3. + + 2011-03-07 Chong Yidong + + * Version 23.3 released. + + 2011-03-06 Glenn Morris + + * configure.in (FREETYPE_LIBS): Actually set it to something. + + 2011-03-02 Paul Eggert + + Work around some portability problems with symlinks. + + * Makefile.in (GNULIB_MODULES): Add lstat, readlink, symlink. + * configure.in (lstat, HAVE_LSTAT): Remove special hack. + * lib/dosname.h, lib/lstat.c, lib/readlink.c, lib/stat.c: + * lib/symlink.c, m4/lstat.m4, m4/readlink.m4, m4/stat.m4: + * m4/symlink.m4: + New files, automatically generated from gnulib. + * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk: + * m4/gl-comp.m4, src/config.in, config.sub: Regenerate. + + 2011-02-26 Eli Zaretskii + + * .bzrignore: Ignore new lib/*.in-h files. + + * config.bat: Rename stdint.in.h and sys_stat.in.h. + Call depfiles.bat even if lib/deps already exist. + + 2011-02-25 Paul Eggert + + * configure, lib/Makefile.in, lib/getopt_int.h, lib/gnulib.mk: + * lib/stdlib.in.h, m4/stdlib_h.m4: Regenerate to incorporate + recent changes to configure.in and to gnulib. + + 2011-02-24 Glenn Morris + + * configure.in: Replace obsolete AC_OUTPUT() with AC_CONFIG_FILES(), + AC_CONFIG_COMMANDS(), and AC_OUTPUT sans arguments. + + 2011-02-22 Paul Eggert + + Assume S_ISLNK etc. work, since gnulib supports this. + * Makefile.in (GNULIB_MODULES): Add sys_stat. + * configure.in: Check for lstat and set HAVE_LSTAT=0 if not. + Pretend to be using the gnulib lstat module for benefit of sys/stat.h. + * configure, lib/Makefile.in, lib/gnulib.mk: Regenerate. + + 2011-02-21 Paul Eggert + + * lib/min-max.h: New file, for "min" and "max". + + 2011-02-21 Christoph Scholtes + + * lib/makefile.w32-in ($(BLD)/md5.$(O)): Add dependency on + $(EMACS_ROOT)/nt/inc/stdint.h. + + 2011-02-21 Eli Zaretskii + + * lib/makefile.w32-in ($(BLD)/filemode.$(O)): Move from + src/makefile.w32-in and adapt. Depend on stamp_BLD. + (GNULIBOBJS): Add $(BLD)/filemode.$(O). + + 2011-02-21 Paul Eggert + + Import filemode module from gnulib. + * .bzrignore: Add lib/sys/. + * Makefile.in (GNULIB_MODULES): Add filemode. + * lib/Makefile.am (MOSTLYCLEANDIRS): New macro. + * lib/filemode.c: Renamed from src/filemode.c and regenerated + from gnulib. This adds support for some more file types, e.g., + Cray DMF migrated files. + * lib/filemode.h, lib/sys_stat.in.h, m4/filemode.m4, m4/st_dm_mode.m4: + * m4/sys_stat_h.m4: New files, generated from gnulib. + * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4: + Regenerate. + + 2011-02-20 Eli Zaretskii + + * lib/makefile.w32-in ($(BLD)/md5.$(O)): Don't depend on + $(EMACS_ROOT)/nt/inc/sys/stat.h. + + 2011-02-20 Paul Eggert + + * configure.in (C_WARNINGS_SWITCH): Do not prepend -Wno-pointer-sign. + This undoes the 2006-01-02 change. The -Wno-pointer-sign option + is no longer needed, due to the recent SSDATA and related changes. + Perhaps -Wno-pointer-sign should also be removed from + nextstep/Cocoa/Emacs.xcodeproj/project.pbxproj but I have no easy + way to test this so I left it alone. + * configure: Regenerate. + + 2011-02-20 Christoph Scholtes + + * lib/makefile.w32-in ($(BLD)/md5.$(O)): New recipe, moved from + src/makefile.w32-in. + + 2011-02-20 Paul Eggert + + Import crypto/md5 and stdint modules from gnulib. + * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4: + Regenerate. + * lib/md5.c, lib/md5.h: Rename from src/md5.h and lib/md5.h. + Import the new versions from gnulib; they assume a C99-style + , supplied by the stdint module. + * lib/stdint.in.h, m4/longlong.m4, m4/stdint.m4, m4/md5.m4: New files, + imported from gnulib. + * Makefile.in (MAKEFILE_MODULES): Add crypto/md5. + + 2011-02-19 Eli Zaretskii + + * .bzrignore: Ignore cxxdefs.h and lib/*.in-h files. + Add lib/deps/. + + * config.bat: Configure in `lib'. + Generate *.Po files in lib/deps. + + 2011-02-18 Paul Eggert + + Import IRIX 6.5 getloadavg fixes from gnulib. + * configure, lib/getloadavg.c, m4/getloadavg.m4: Regenerate. + + 2011-02-16 Paul Eggert + + Import getloadavg module from gnulib. + * .bzrignore: Add lib/stdlib.h. + * Makefile.in (GNULIB_MODULES): Add getloadavg. + * configure.in (LIBS_SYSTEM): Omit -lkstat on sol2*; gnulib does this. + (AC_CONFIG_LIBOBJ_DIR, AC_FUNC_GETLOADAVG, GETLOADAVG_FILES): + Remove; gnulib does this now. + * lib/getloadavg.c: Rename from src/getloadavg.c, and sync + from gnulib. This adds support for several other systems, such + as Tru64 4.0D, QNX, AIX perfstat, etc. It also fixes a potential + buffer overrun on Linux hosts under very high load, and on hosts + that maintain a channel to the load average file it makes sure + the file descriptor is close-on-exec (on hosts that support this) + and is not stdin, stdout, or stderr. + * lib/stdlib.in.h, m4/getloadavg.m4, m4/stdlib_h.m4: New files, + from gnulib. + * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4: + Regenerate. + + 2011-02-15 Paul Eggert + + Merge from gnulib. + + * install-sh: Update to scriptversion 2011-01-19.21. + + 2011-02-13 Bruno Haible + + Consistent macro naming for macros that use GCC __attribute__. + * lib/ignore-value.h (_GL_ATTRIBUTE_DEPRECATED): Rename from + ATTRIBUTE_DEPRECATED. + + 2011-02-12 Bruno Haible + + setlocale: Prefer gnulib's override over libintl's override. + * lib/gettext.h (setlocale): Redefine to rpl_setlocale if + GNULIB_defined_setlocale is set. + + 2011-02-13 Glenn Morris + + * make-dist: Exclude generated file src/globals.h. + + 2011-02-10 Paul Eggert + + * arg-nonnull.h, c++defs.h, warn-on-use.h: Fix licenses. + Sync from gnulib, which has been patched to fix the problem + with the license notices. Reported by Glenn Morris in + . + + 2011-02-09 Stefan Monnier + + * .bzrignore: Ignore globals.h and related stamp. + + 2011-02-09 Paul Eggert + + * lib/Makefile.in, lib/gnulib.mk: Regenerate. + This merges the following fix from gnulib: + + 2011-02-08 Bruno Haible + + Split large sed scripts, for HP-UX sed. + + 2011-02-08 Tom Tromey + + * configure: Rebuild. + * configure.in (NS_OBJC_OBJ): New subst. + + 2011-02-06 Paul Eggert + + gnulib: allow multiple gnulib generated replacements to coexist + This defines a few preprocessor symbols that should not affect Emacs. + * lib/getopt.in.h, lib/time.in.h, lib/unistd.in.h: Regenerate + via "make sync-from-gnulib". + + gnulib: undo previous change + The upstream _HEADERS change was backed out of gnulib (see the + same thread). Stay in sync with gnulib. + + gnulib: adjust to upstream _HEADERS change + * lib/Makefile.am (EXTRA_HEADERS, nodist_pkginclude_HEADERS): + New empty macros, to accommodate recent changes to gnulib. See + . + * c++defs.h, lib/Makefile.in, lib/ftoastr.h, lib/getopt.in.h: + * lib/gnulib.mk, lib/ignore-value.h, lib/stdbool.in.h, lib/stddef.in.h: + * lib/time.in.h, lib/unistd.in.h: + Regenerate. + + 2011-02-05 Paul Eggert + + sync from gnulib to remove HAVE_STDBOOL_H + * m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Rename from + AC_HEADER_STDBOOL. All uses changed. Do not define + HAVE_STDBOOL_H, as gnulib does not need this. This change is + imported from the latest Autoconf git. It was motivated by Emacs, + which uses gnulib but does not need HAVE_STDBOOL_H. + * configure, src/config.in: Regenerate. + * config.guess, config.sub: Sync to 2011-02-02 versions (whitespace) + + 2011-02-03 Paul Eggert + + allow C code to suppress warnings about ignored return values + * Makefile.in (GNULIB_MODULES): Add ignore-value. + * configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4: Regenerate. + * lib/ignore-value.h: New file. + + 2011-01-31 Chong Yidong + + * configure.in: Test existence of xaw3d library, not just the + header (Bug#7642). + + 2011-01-31 Eli Zaretskii + + * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and + $(BLD)/time_r.$(O). + ($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and + $(EMACS_ROOT)/src/m/intel386.h. + ($(BLD)/strftime.$(O)) + ($(BLD)/time_r.$(O)): Define prerequisites. + + 2011-01-31 Paul Eggert + + src/emacs.c now gets version number from configure.in + * configure.in (version): Set this from $PACKAGE_VERSION, + which is set from AC_INIT, rather than scouting through src/emacs.c. + * configure: Regenerate. + * make-dist (version): Get it from configure.in, not src/emacs.c. + + 2011-01-30 Paul Eggert + + strftime: import from gnulib + * Makefile.in (GNULIB_MODULES): Add strftime. + * configure.in (AC_FUNC_STRFTIME, my_strftime): Remove; no longer + needed. + * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4: + Regenerate. + * lib/strftime.c, lib/strftime.h, lib/stdbool.in.h: New files, + imported from gnulib. + * m4/strftime.m4, m4/stdbool.m4, m4/tm_gmtoff.m4: Likewise. + This incorporates many changes from gnulib, including simpler + handling of multibyte formats, porting to mingw32 and other + platforms, and support for higher-resolution time stamps. + Emacs does not yet use the higher-resolution interface. + + 2011-01-30 Paul Eggert + + gnulib: import mktime and move-if-change fixes from gnulib + + * configure: Regenerate from the following. + + 2011-01-30 Paul Eggert + + mktime: clarify long_int width checking + * lib/mktime.c (long_int_is_wide_enough): Move this assertion to + the top level, to make it clearer that the assumption about + long_int width is being checked. See + . + + 2011-01-29 Paul Eggert + + TYPE_MAXIMUM: avoid theoretically undefined behavior + * lib/intprops.h (TYPE_MINIMUM, TYPE_MAXIMUM): Do not shift a + negative number, which the C Standard says has undefined behavior. + In practice this is not a problem, but might as well do it by the book. + Reported by Rich Felker and Eric Blake; see + . + * m4/mktime.m4 (AC_FUNC_MKTIME): Likewise. + * lib/mktime.c (TYPE_MAXIMUM): Redo slightly to match the others. + + mktime: #undef mktime before #defining it + * lib/mktime.c (mktime) [DEBUG]: #undef mktime before #defining it. + + mktime: systematically normalize tm_isdst comparisons + * lib/mktime.c (isdst_differ): New function. + (__mktime_internal): Use it systematically for all isdst comparisons. + This completes the fix for libc BZ #6723, and removes the need for + normalizing tm_isdst. + See + (not_equal_tm) [DEBUG]: Use isdst_differ here, too. + + mktime: fix some integer overflow issues and sidestep the rest + + This was prompted by a bug report by Benjamin Lindner for MinGW + . + His bug is due to signed integer overflow (0 - INT_MIN), and I + I scanned through mktime.c looking for other integer overflow + problems, fixing all the bugs I found. + + Although the C Standard says the resulting code is still not safe + in the presence of integer overflow, in practice it should be good + enough for all real-world two's-complement implementations, except + for debugging environments that deliberately trap on integer + overflow (e.g., gcc -ftrapv). + + * lib/mktime.c (WRAPV): New macro. + (SHR): Also check that long_int and time_t shift right in the + usual way, before using the fast-but-unportable method. + (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove, no longer + used. The code already assumed two's complement, so there's + no need to test for alternatives. All uses removed. + (TYPE_MAXIMUM): Don't rely here on overflow behavior not defined by + the C standard. Reported by Rich Felker in + . + (twos_complement_arithmetic): Also check long_int and time_t. + (time_t_avg, time_t_add_ok, time_t_int_add_ok): New functions. + (guess_time_tm, ranged_convert, __mktime_internal): Use them. + (__mktime_internal): Avoid integer overflow with unary subtraction + in two instances where -1 - X is an adequate replacement for -X, + since the calculations are approximate. + + 2011-01-29 Eric Blake + + mktime: avoid infinite loop + * m4/mktime.m4 (AC_FUNC_MKTIME): Avoid overflow on possibly-signed + type; behavior is still undefined but portable to all known targets. + Reported by Rich Felker. + + 2011-01-28 Paul Eggert + + mktime: avoid problems on NetBSD 5 / i386 + * lib/mktime.c (long_int): New type. This works around a problem + on NetBSD 5 / i386, where 'long int' and 'int' are both 32 bits + but time_t is 64 bits, and where I expect the existing code is + wrong in some cases. + (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it. + (ydhms_diff): Bring back the compile-time check for wide-enough + year and yday. + + mktime: fix misspelling in comment + * lib/mktime.c (__mktime_internal): Fix misspelling in comment. + This merges all recent glibc changes of importance. + + 2011-01-28 Ralf Wildenhues + + move-if-change: cope with concurrent mv of identical file. + * move-if-change (CMPPROG): Accept environment + variable as an override for `cmp'. + (usage): Document CMPPROG. + Adjust comparison to drop stdout. Cope with failure of mv if + the target file exists and is identical to the source, for + parallel builds. + Report from H.J. Lu against binutils in PR binutils/12283. + + 2011-01-29 Eli Zaretskii + + * lib/makefile.w32-in: + * lib/getopt_.h: New files. + + 2011-01-28 Paul Eggert + + improve fix for MS-DOS file name clash + * Makefile.in (DOS_gnulib_comp.m4): Rename from DOS-gnulib-comp.m4, + for portability to POSIX make. Reported by Bruno Haible. + (sync-from-gnulib): Copy gl-comp.m4 (if present) back to + gnulib-comp.m4 before running gnulib-tool, to prevent old gnulib + files from accumulating as garbage. Also reported by Bruno Haible. + + 2011-01-27 Paul Eggert + + fix two m4/gnulib-*.m4 file names that clashed under MS-DOS + * Makefile.in (DOS-gnulib-comp.m4): New macro. + (sync-from-gnulib): Rename m4/gnulib-comp.m4 to m4/gl-comp.m4 to avoid + problems with MS-DOS 8+3 file name restrictions. + Remove m4/gnulib-cache.m4, as we can live without it. If we kept + it, it would also cause problems when extracting Emacs distribution + tarballs on MS-DOS hosts. + (ACLOCAL_INPUTS): Adjust to file renaming. + * aclocal.m4, configure, lib/Makefile.in, src/config.in: Regenerate. + * config.guess, config.sub: Sync from gnulib. + * m4/gnulib-cache.m4: Remove from repository. + * m4/gl-comp.m4: Rename from m4/gnulib-comp.m4. + + 2011-01-25 Glenn Morris + + * README: Add a note about ranges in copyright years. + + * configure.in: Set CANNOT_DUMP on ia64 hpux (port from emacs-23). + + 2011-01-25 Peter O'Gorman (tiny change) + + * configure.in: Add HP-UX on IA64 (Bug#6811). + + 2011-01-24 Paul Eggert + + Remove HAVE_RAW_DECL_CHOWN etc. from config.h + * Makefile.in (sync-from-gnulib): Remove m4/warn-on-use.m4, + as it is no longer needed. + * aclocal.m4, configure, lib/Makefile.in, src/config.in: Regenerate. + * configure.in: Invoke the new gnulib macro + gl_ASSERT_NO_GNULIB_POSIXCHECK, which removes the need for + warn-on-use.m4 and for the HAVE_RAW_DECL_* symbols in config.h. + * m4/getopt.m4: Sync from gnulib; this removes the need for + HAVE_DECL_OPTRESET and HAVE_DECL_GETOPT_CLIP from config.h. + * m4/gnulib-common.m4 (gl_ASSERT_NO_GNULIB_POSIXCHECK): + New macro, synced from gnulib. + * m4/warn-on-use.m4: Remove. + + 2011-01-22 Paul Eggert + + aclocal.m4: put this file back into repository + This way, we don't have to assume that the maintainer has + the automake package installed. See + . + * .bzrignore: Remove aclocal.m4, undoing the previous change. + * Makefile.in (top_maintainer_clean): Do not remove aclocal.m4, + undoing the previous change. + * aclocal.m4: New file (actually, resurrected). + + 2011-01-22 Miles Bader + + * configure.in: Don't zero-out FONTCONFIG_CFLAGS and + FONTCONFIG_LIBS when building with XFT (doing so is incorrect, as + Emacs directly uses fontconfig, and breaks building when using a + strict linker). + + 2011-01-21 Paul Eggert + + src/config.in: shrink slightly + * configure.in: Invoke the new gnulib macro gl_ASSERT_NO_GNULIB_TESTS. + This makes src/config.in a bit smaller, by removing identifiers + like GNULIB_TEST_MKTIME that Emacs does not need. + * m4/getopt.m4, m4/gnulib-common.m4, m4/include_next.m4: + * m4/multiarch.m4, m4/stddef_h.m4, m4/time_h.m4, m4/unistd_h.m4: + Sync from gnulib. This removes a few more unnecessary symbols from + src/config.in, such as AA_APPLE_UNIVERSAL_BUILD and HAVE_STDDEF_H. + * configure, src/config.in: Regenerate. + + aclocal.m4: tweaks to regenerate more conveniently + This attempts to act better when the source is in a weird state. See + . + * Makefile.in (am--refresh): Add aclocal.m4, configure, config.in. + * .bzrignore: Add aclocal.m4. + + 2011-01-20 Paul Eggert + + aclocal.m4: omit auto-generated file from repository + * Makefile.in (top_maintainer_clean): Remove aclocal.m4; this undoes + the most recent change here. + * aclocal.m4: Remove from bzr repository. This file is + auto-generated and isn't needed to run 'configure'. See + . + + 2011-01-19 Paul Eggert + + Minor Makefile.in tweaks to build from gnulib better. + + * Makefile.in (sync-from-gnulib): Also run autoreconf -I m4. + (top_maintainer_clean): Don't remove aclocal.m4. + + 2011-01-18 Paul Eggert + + Minor cleanups for 'bzr status' + * .bzrignore: Add emacs-*/, the output of make-dist, and stamp-h1, + the output of config.guess. + * Makefile.in (top_distclean): Remove stamp-h1 too. + + * configure.in (HAVE_ATTRIBUTE_ALIGNED): Arrange for this to be + defined if the compiler supports GCC-style __attribute__ + ((__aligned__ ...)). IBM AIX and Oracle Solaris Studio support + this syntax. + + 2011-01-17 Paul Eggert + + Makefile.in: tidy up the building of lib + * Makefile.in (am--refresh): Mark as .PHONY. + (top_maintainer_clean): Don't remove lib/gnulib.mk m4/gnulib-cache.m4, + as they're not rebuilt unless you do a "make sync-from-gnulib" + and the former is needed for "configure". + (maintainer-clean): Don't recurse into lib, as "make bootstrap-clean" + has already removed lib/Makefile. + + * Makefile.in (GNULIB_MODULES): Change ftoastr to dtoastr. + This avoids building ftoastr and ldtoastr, which aren't needed. See + . + + * .bzrignore: Add .h files that are host-dependent. + Add lib/.deps/, lib/arg-nonnull.h, lib/c++defs.h, lib/getopt.h, + lib/time.h, lib/unistd.h, lib/warn-on-use.h. These are + host-dependent and are built as part of an ordinary 'make', and + should not be checked in. + + * lib/Makefile.in: Regenerate. + * lib/COPYING: New file, a copy of COPYING. + + * configure: Regenerate. + * configure.in (AC_USE_SYSTEM_EXTENSIONS): Remove: gnulib does this. + + Regenerate. + * lib/getopt.c, lib/getopt.in.h, lib/getopt1.c, lib/getopt_int.h: + * lib/gettext.h, lib/unistd.in.h, m4/unistd_h.m4: + New files, copied from gnulib by gnulib-tool. + * aclocal.m4, configure, lib/Makefile.in, m4/getopt.m4: + * m4/gnulib-cache.m4, m4/gnulib-comp.m4, src/config.in: + Regenerate. + + Use gnulib's getopt-gnu module. + * Makefile.in (GNULIB_MODULES): Add getopt-gnu. + (AUTOCONF_INPUTS): Remove getopt.m4; aclocal.m4 is a good-enough + representative of the dependencies. + * configure.in: Do not configure getopt, as gnulib does that now. + * make-dist: Do not worry about lib-src/getopt.h, as gnulib handles + getopt now, in lib. + + Regenerate. + * arg-nonnull.h, c++defs.h, lib/mktime-internal.h, lib/mktime.c: + * lib/stddef.in.h, lib/time.h, lib/time.in.h, lib/time_r.c: + * m4/extensions.m4, m4/include_next.m4, m4/mktime.m4: + * m4/multiarch.m4, m4/stddef_h.m4, m4/time_h.m4, m4/time_r.m4: + * m4/extensions.m4, m4/include_next.m4, m4/mktime.m4, m4/multiarch.m4: + * m4/stddef_h.m4, m4/time_h.m4, m4/time_r.m4, m4/warn-on-use.m4: + * m4/wchar_t.m4, warn-on-use.h: + New files, copied from gnulib by gnulib-tool. + * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk: + * m4/gnulib-cache.m4, m4/gnulib-comp.m4, src/config.in: + Regenerate. + + Use gnulib's mktime module. + * Makefile.in (GNULIB_MODULES): Add mktime. + * configure.in: Remove code no longer needed, as gnulib now does it. + (AC_CHECK_FUNCS): Remove mktime. + (AC_FUNC_MKTIME, BROKEN_MKTIME): Remove. + (__restrict): Remove, as this now gets in the way of the C99 + support for 'restrict' pulled in by the gnulib mktime module. + Code should now use 'restrict' and not '__restrict". + (mktime): Remove. + * make-dist: Put gnulib-generated files arg-nonnull.h, c++defs.h, + and warn-on-use.h into the distribution. + + Regenerate. + * lib/dtoastr.c, lib/ftoastr.c, lib/ftoastr.h, lib/intprops.h: + * lib/ldtoastr.c, m4/c-strtod.m4: + New files, copied from gnulib by gnulib-tool. + * lib/dummy.c: Remove. + * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk: + * m4/gnulib-cache.m4, m4/gnulib-comp.m4, src/config.in: + Regenerate. + + Use gnulib's ftoastr module. + * Makefile.in (GNULIB_MODULES): Add ftoastr. Remove dummy. + + Regenerate. + * aclocal.m4, compile, depcomp, lib/Makefile.in, lib/dummy.c: + * lib/gnulib.mk, m4/00gnulib.m4, m4/gnulib-cache.m4: + * m4/gnulib-common.m4, m4/gnulib-comp.m4, m4/gnulib-tool.m4, missing: + New files, generated automatically, with 'make sync-from-gnulib' + followed by 'make'. + * configure: Regenerate. + + Automate syncing from gnulib. + * INSTALL, README: Document new subdirectory 'lib'. + * Makefile.in (SUBDIR): Add lib. + (SUBDIR_MAKEFILES): Add lib/Makefile. + (lib-src, src, TAGS, tags): Depend on lib. + (gnulib_srcdir, GNULIB_MODULES, GNULIB_TOOL_FLAGS): New macros. + ($(gnulib_srcdir)): New rule. + (sync-from-gnulib): New rule, which is .PHONY. + (lib): New rule, which is like lib-src. + (Makefile): Depend on lib/Makefile.in. + (AUTOCONF_INPUTS): Depend on aclocal.m4. + (ACLOCAL_INPUTS, AUTOMAKE_INPUTS): New macros. + ($(srcdir)/aclocal.m4, $(srcdir)/lib/Makefile.in): New rules. + (am--refresh): New rule, to pacify Automake. + (mostlyclean, clean, distclean, bootstrap-clean, maintainer-clean): + Clean lib, too. + (top_maintainer_clean): New macro, to remove gnulib-tool and Automake + droppings. + (maintainer-clean, extraclean): Use it. + * configure.in: Initialize for automake and gnulib, by invoking + AM_INIT_AUTOMAKE, AM_PROG_CC_C_O, gl_EARLY, and gl_INIT. Output + lib/Makefile, too. Use automake to build gnulib, as gnulib works + more conveniently with automake. + * lib/Makefile.am: New file. + * make-dist: Also put into the distribution aclocal.m4, + compile, depcomp, missing, and the files under lib/. + + 2011-01-15 Glenn Morris + + * Makefile.in (epaths-force): No more arch-tag to edit. + + 2011-01-15 Chong Yidong + + * configure.in: Bump min libxml2 version to 2.6.17 (Bug#7603). + + 2011-01-14 Paul Eggert + + * make-dist: Distribute test/ files too. + Distribute every file under test/ that is under version control, + using patterns like *.el to capture files that are added later. + Without this change, "configure" would fail, because it would + attempt to build from a Makefile.in that was not distributed. + + 2011-01-13 Christian Ohler + + * Makefile.in (INFO_FILES): Add ERT. + + * Makefile.in (check): Run tests in test/automated. + + * Makefile.in: + * configure.in: Add test/automated/Makefile. + + 2011-01-07 Paul Eggert + + * install-sh, mkinstalldirs, move-if-change: Update from master + source in gnulib. + + * config.guess, config.sub: Updated from master source. + + 2011-01-05 Andreas Schwab + + * configure.in: Check for __builtin_unwind_init. + + 2011-01-05 Glenn Morris + + * configure.in (HAVE_MAKEINFO): New output variable. + (MAKEINFO): Reset to "makeinfo" if not found. + * Makefile.in (install-arch-indep, info): + Replace MAKEINFO = off with HAVE_MAKEINFO = no. + + 2010-12-29 Ulrich Müller + + * configure.in: Make gameuser configurable (Bug#7717). + + 2010-12-15 Glenn Morris + + * Makefile.in (install-arch-dep, uninstall): Remove code relating to the + long absent lib-src/fns-*.el. + + 2010-12-11 Glenn Morris + + * make-dist: Exclude etc/*.pyc. + + 2010-12-10 Andreas Schwab + + * configure.in: Don't double machfile in final message. + + 2010-12-04 Chong Yidong + + * configure.in: Fix last change. + + 2010-12-04 Andreas Schwab + + * configure.in: Remove reference to removed machine description + files and allow $machine and $machfile to be empty. + Substitute M_FILE/S_FILE instead of machfile/opsysfile. + + 2010-12-03 Glenn Morris + + * make-dist: Remove EMACS_UNIBYTE unsetting; it does nothing. + + 2010-11-23 Dan Nicolaescu + + * configure.in : Remove sys/ioctl.h. + (EXTERNALLY_VISIBLE): New definition. + + 2010-11-21 Dan Nicolaescu + + * configure.in (INLINE): Do not depend on OPTIMIZE, unused. + + 2010-11-15 Dan Nicolaescu + + * configure.in: Do not check for unconditionally included headers. + + 2010-11-09 Stefan Monnier + + * .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes. + + 2010-11-09 Michael Albinus + + * configure.in: Don't write a warning for D-Bus anymore. + + 2010-11-06 Andreas Schwab + + * configure.in: Fix indentation. + + 2010-10-31 Ken Brown + + * configure.in (checking whether localtime caches TZ): + Use unsetenv instead of modifying environment directly. + + 2010-10-25 Andreas Schwab + + * configure.in (checking for -znocombreloc): Use AC_LANG_PROGRAM + to avoid warning. + + 2010-10-24 Lars Magne Ingebrigtsen + + * configure.in: Remove the BROKEN annotation from GnuTLS. + + 2010-10-22 Glenn Morris + + * make-dist: Avoid listing .el files twice. Don't try to run + autoconf if --no-update. + + 2010-10-20 Glenn Morris + + * make-dist: No longer create lisp/MANIFEST. + + 2010-10-14 Glenn Morris + + * BUGS, INSTALL.BZR, README: Updates. + + 2010-10-13 Glenn Morris + + * make-dist: Remove --compress. Check for the appropriate + gzip-like executable, and if not found, don't compress. + Check version number in README, don't change it. + Use find for nt/inc/*.h. + + 2010-10-12 Dan Nicolaescu + + * configure (ns_appdir, OLDXMENU, TOOLTIP_SUPPORT): + Remove trailing / from directory names. + + 2010-10-12 Glenn Morris + + * make-dist: Update and simplify. + + 2010-10-12 Eli Zaretskii + + * make-dist: Don't distribute src/buildobj.h. (Bug#7167) + + 2010-10-10 Dan Nicolaescu + + * configure.in (PROFILING_LDFLAGS): Do not define, remove all uses. + + 2010-10-09 Glenn Morris + + * make-dist: No more doc/emacs/*.texi.in. + + * configure.in (AC_OUTPUT): Remove doc/emacs/emacsver.texi. + + 2010-10-09 Glenn Morris + + * configure.in: Combine some conditionals. + + * configure.in (AC_OUTPUT): Add doc/emacs/emacsver.texi. + * make-dist: Include doc/emacs/*.texi.in. + + * INSTALL, make-dist: Remove references to b2m. + * Makefile.in (MAN_PAGES): Remove b2m.1. + + 2010-10-05 Glenn Morris + + * .dir-locals.el: The Emacs convention is sentence-end-double-space. + + 2010-10-03 Dan Nicolaescu + + * configure.in (NO_INLINE, noinline): Move here from src/xterm.c. + + 2010-10-01 Dan Nicolaescu + + * configure.in: Include stdlib.h and string.h unconditionally. + + 2010-09-29 Romain Francoise + + * configure.in: Don't enable ImageMagick unless HAVE_X11. + + 2010-09-28 Glenn Morris + + * configure.in (HAVE_GNUTLS): Add a description to make autoheader + happy. + + 2010-09-27 Lars Magne Ingebrigtsen + + * configure.in: Enable imagemagick by default. + + 2010-09-26 Lars Magne Ingebrigtsen + + * configure.in (HAVE_GNUTLS): Don't break if we don't have the + GnuTLS libraries. + + 2010-09-26 Teodor Zlatanov + + * configure.in: Set up GnuTLS. + + 2010-09-22 Chong Yidong + + * configure.in: Announce whether libxml2 is linked to. + + 2010-09-20 Dan Nicolaescu + + * configure.in (LINKER): Rename to LD_FIRSTFLAG, do not include $(CC). + + 2010-09-18 Eli Zaretskii + + * config.bat: Detect that libxml2 is installed and if so, build + with it. + + 2010-09-13 Lars Magne Ingebrigtsen + + * configure.in (HAVE_LIBXML2): Check that the libxml2 we found can + be used. This fixes a conf problem on Mac OS X. + + 2010-09-10 Lars Magne Ingebrigtsen + + * configure.in: Check for libxml2. + + 2010-09-09 Glenn Morris + + * make-dist: No more TODO files under lisp/. + + 2010-09-04 Eli Zaretskii + + * config.bat: Produce lisp/gnus/_dir-locals.el from + lisp/gnus/.dir-locals.el. + + 2010-08-23 Andreas Schwab + + * configure.in: Fix check for librsvg, imagemagick and + MagickExportImagePixels. + + 2010-08-18 Joakim Verona + + * Makefile.in, configure.in: Checks for ImageMagick. + + 2010-08-10 Dan Nicolaescu + + * configure.in (AC_PREREQ): Require autoconf 2.65. + + 2010-08-09 Dan Nicolaescu + + * configure.in (AC_PREREQ): Require autoconf 2.66 to stop version churn. + + 2010-08-09 Andreas Schwab + + * configure.in: Add AC_C_BIGENDIAN. + + 2010-08-09 Dan Nicolaescu + + * configure.in (ORDINARY_LINK): Use on hpux* too. + + 2010-08-06 Jan Djärv + + * configure.in: Check for util.h. + Use -Wimplicit-function-declaration if compiler supports it. + + 2010-08-05 Eli Zaretskii + + * configure.in (UNEXEC_OBJ): Rename unexec.o => unexcoff.o. + + 2010-08-04 Andreas Schwab + + * configure.in: Restore accidentally removed use of + GCC_TEST_OPTIONS/NON_GCC_TEST_OPTIONS. + + 2010-07-29 Chad Brown + + * configure.in: Check for dirent.h. + + 2010-07-29 Dan Nicolaescu + + * configure.in: Remove reference to usg5-4, unused. + + 2010-07-25 Andreas Schwab + + * configure.in: Check for __executable_start. + + 2010-07-24 Ken Brown + + * configure.in (LINKER, LIB_GCC): Remove cygwin special cases (Bug#6715) + + 2010-07-24 Juanma Barranquero + + * .bzrignore, .gitignore: Ignore README.W32 on the root directory. + + 2010-07-24 Ken Brown (tiny change) + + * configure.in (START_FILES) [cygwin]: Set to pre-crt0.o (Bug#6715). + + 2010-07-12 Andreas Schwab + + * configure.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS) + (PROFILING_LDFLAGS): Substitute, don't add them to CFLAGS/LDFLAGS. + (C_OPTIMIZE_SWITCH): Remove. + (TEMACS_LDFLAGS2): Add ${PROFILING_LDFLAGS}. + + 2010-07-11 Andreas Schwab + + * configure.in: Don't check for index and rindex, check for strchr + and strrchr. Define strchr and strrchr as index and rindex, + resp., in src/config.h if not available. + + 2010-07-08 Dan Nicolaescu + + * configure.in: Use -Wold-style-definition if available. + This helps with the transition to standard C code, it can be + removed when done. + + * configure.in (PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS): Remove. + + * configure.in (UNEXEC_OBJ): Add comment about values for MSDOS + and MSWindows. + + 2010-07-07 Andreas Schwab + + * configure.in: Don't check for bcopy, bcmp, bzero. Don't include + and don't define bcopy, bzero, BCMP in config.h. + + 2010-07-07 Dan Nicolaescu + + * configure.in (getenv): Remove K&R declaration. + + 2010-07-02 Jan Djärv + + * configure.in: Remove define __P. + + 2010-07-02 Dan Nicolaescu + + * configure.in (--enable-use-lisp-union-type): New flag. + + 2010-06-30 Dan Nicolaescu + + Fix CFLAGS for non-GCC compilers. + * configure.in (CFLAGS): Always use -g like it was done before the + 2010-03-30 change. + (REAL_CFLAGS): Use CFLAGS for non-GCC to get optimization flags. + (Bug#6538) + + 2010-06-30 Glenn Morris + + * configure.in (HAVE_SOUND, HAVE_X_I18N, HAVE_X11R6_XIM): + Set with AC_DEFINE rather than AH_BOTTOM. + + * configure.in (C_OPTIMIZE_SWITCH, CANNOT_DUMP, SYSTEM_MALLOC) + (USE_MMAP_FOR_BUFFERS, C_WARNING_SWITCH, CFLAGS, REAL_CFLAGS): + Set with shell, not cpp. + (LIBX): Remove, just use -lX11 in the one place this was used. + (cannot_dump): Replace with CANNOT_DUMP. + + 2010-06-28 Jan Djärv + + * configure.in: Add --with-x-toolkit=gtk3. Remove HAVE_GTK_MULTIDISPLAY, + check for gtk_file_chooser_dialog_new, and HAVE_GTK_FILE_BOTH (implied + by minimum required Gtk+ 2.6). Add checks for functions introduced + in Gtk+ 2.14 or newer (bug#6505). + + 2010-06-26 Eli Zaretskii + + * config.bat: Remove white space around "+" in COPY commands. + + 2010-06-23 Glenn Morris + + * info/dir: Start descriptions in column 32, per Texinfo convention. + + 2010-06-16 Chong Yidong + + * INSTALL: Update font information (Bug#6389). + + 2010-06-16 Glenn Morris + + * INSTALL: General update. + + 2010-06-12 Glenn Morris + + * Makefile.in (install-arch-indep): Delete any old info .gz files first. + + 2010-06-11 Glenn Morris + + * configure.in (--without-compress-info): New option. + (GZIP_INFO): New output variable. + + * Makefile.in (GZIP_INFO): New, set by configure. + (install-arch-indep): Don't gzip info pages if GZIP_INFO is nil. + Handle man pages in the same way. + + 2010-06-10 Glenn Morris + + * Makefile.in (install-arch-indep): Gzip the info files too. + + * make-dist: Remove references to non-existent directories and files. + + 2010-06-08 Dan Nicolaescu + + * configure.in: Include and instead of + "strings.h" and "string.h". + + 2010-06-06 Dan Nicolaescu + + * configure.in: Remove code dealing with BSTRING. + + 2010-06-03 Dan Nicolaescu + + * configure.in (AC_PREREQ): Require autoconf 2.65. + + * configure.in (unxec): Do not define and substitute. + (UNEXEC_OBJ): New output variable, replaces cpp UNEXEC. + + 2010-06-03 Glenn Morris + + * configure.in (AH_BOTTOM): Remove NOT_C_CODE test, it is always true. + + 2010-06-02 Dan Nicolaescu + + Fix alloca definition when using gcc on non-gnu systems. + * configure.in: Use the code sequence indicated by "info autoconf" + for alloca (bug#6170). + + 2010-05-30 Stefan Monnier + + * .bzrignore: Ignore new files from trunk, which appear if you use + colocated branches (i.e. "bzr switch"). + + 2010-05-28 Glenn Morris + + * configure.in: Simplify some of the $canonical tests. + + 2010-05-27 Glenn Morris + + * config.bat: Do not preprocess src/Makefile.in. + + * configure.in: Do not preprocess src/Makefile.in. + (cpp_undefs, CPP_NEED_TRADITIONAL): Remove. + (AC_EGREP_CPP): Test no longer needed. + + * make-dist: No more Makefile.c files. + + 2010-05-26 Glenn Morris + + * configure.in (YMF_PASS_LDFLAGS): Remove. + (PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS): New output variables. + + * configure.in (CPPFLAGS, CFLAGS, REAL_CFLAGS): + Add $GNUSTEP_LOCAL_HEADERS. + (LDFLAGS, LD_SWITCH_SYSTEM_TEMACS): Add $GNUSTEP_LOCAL_LIBRARIES. + + * configure.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS) + (GNUSTEP_MAKEFILES): Remove. + (LD_SWITCH_SYSTEM_TEMACS): Move NS_IMPL_GNUSTEP_TEMACS_LDFLAGS + stuff to here. + + 2010-05-25 Glenn Morris + + * configure.in (LD_SWITCH_SYSTEM): Move some gnu-linux stuff... + (LD_SWITCH_SYSTEM_TEMACS): ... to here. + + * configure.in (LD_SWITCH_SYSTEM_EXTRA): Remove. + (LD_SWITCH_SYSTEM_TEMACS): Put darwin stuff from LD_SWITCH_SYSTEM_EXTRA + here instead. + + 2010-05-24 Romain Francoise + + * make-dist: Look for version in src/emacs.c. + Use lisp/subr.el rather than lisp/version.el for location check. + + 2010-05-21 Glenn Morris + + * configure.in (MKDEPDIR): Parallel build tweak. + + * configure.in (ns_frag): New output file. + + * configure.in (OLDXMENU): Set to "nothing" if !HAVE_X11 || USE_GTK. + (OLDXMENU_TARGET): Set to empty if USE_GTK. + + * configure.in (cannot_dump): New output variable. + + 2010-05-20 enami tsugutomo + + * configure.in: On NetBSD, if terminfo is found, use it in + preference to termcap. (Bug#6190) + + 2010-05-20 Glenn Morris + + * make-dist (src): Include *.mk. + * config.bat: Concatenate deps.mk onto the end of src/Makefile. + * configure.in (DEPFLAGS, MKDEPDIR): New output variables. + (deps_frag): New output file. + (AUTO_DEPEND): Remove this definition. + + * configure.in (--with-gtk, --with-gcc): Remove option stubs. + + 2010-05-19 Glenn Morris + + * configure.in (LINKER, YMF_PASS_LDFLAGS): New output variables. + (ORDINARY_LINK): New AC_DEFINE. + (LIB_GCC): No need to set if ORDINARY_LINK. + + 2010-05-18 Glenn Morris + + * configure.in (POST_ALLOC_OBJ) [cygwin]: Omit vm-limit.o. + (POST_ALLOC_OBJ) [!cygwin]: Set to empty. + + * config.bat (RALLOC_OBJ): Edit to empty if sys_malloc. + * configure.in (REL_ALLOC): Unset on gnu, gnu-linux if DOUG_LEA_MALLOC. + (RALLOC_OBJ): New output variable. + + * config.bat (GMALLOC_OBJ, VMLIMIT_OBJ): Edit to empty if sys_malloc. + * configure.in (GMALLOC_OBJ, VMLIMIT_OBJ): New output variables. + + 2010-05-17 Stefan Monnier + + * Makefile.in (src): Provide the name of the VCS file that witnesses + a pull. + ($(srcdir)/src/config.in): Handle accidental removal of src/config.in. + + 2010-05-17 Glenn Morris + + * configure.in (OLDXMENU_DEPS): New output variable. + + 2010-05-16 Glenn Morris + + * configure.in (ns_appbindir, ns_appresdir): Set using $ns_appdir. + + * configure.in (ns_appdir, ns_appbindir): Add trailing "/" to value. + * Makefile.in (install-arch-dep): Update for above change. + + * Makefile.in (ns_appdir): Remove. + (install-arch-dep): Test $ns_appresdir instead of $ns_appdir. + + * configure.in (TEMACS_LDFLAGS2): New output variable. + + * configure.in (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New output variable. + (START_FILES): Set to empty if NS_IMPL_GNUSTEP. + (GNUSTEP_SYSTEM_HEADERS, GNUSTEP_SYSTEM_LIBRARIES): Do not output, + nothing uses. + + 2010-05-16 Dan Nicolaescu + + * configure.in: Remove references to usg5-4 and bsd-common, $opsys + does not use them. + (X11R5_INHIBIT_I18N): Remove, unused. + + 2010-05-15 Glenn Morris + + * configure.in (LIBXMENU): Set to empty if !HAVE_X_WINDOWS. + + * configure.in (FONT_OBJ): Set to empty if !HAVE_X_WINDOWS. + + 2010-05-15 Ken Raeburn + + * configure.in: Look for version string in its new location. + + 2010-05-15 Eli Zaretskii + + * config.bat: Remove support for DJGPP v1.x. + + 2010-05-15 Glenn Morris + + * configure.in (OLDXMENU_TARGET): New output variable. + + * Makefile.in (install-arch-dep): Update odd NS rule for Emacs version. + + * Makefile.in (install-arch-indep): Remove references to RCS, CVS, + and other files that no longer exist. + + 2010-05-14 Glenn Morris + + * configure.in (cpp_undefs): Add mktime, register, X11. + + * configure.in (GPM_MOUSE_SUPPORT): Remove. + (MOUSE_SUPPORT, TOOLTIP_SUPPORT, WINDOW_SUPPORT): New output variables. + (HAVE_WINDOW_SYSTEM, HAVE_MOUSE): Move out of AC_BOTTOM. + + * configure.in (NS_IMPL_GNUSTEP_INC): New output variable. + (GNUSTEP_MAKEFILES): Do not output. + + 2010-05-13 Glenn Morris + + * configure.in: Fix some paren typos. + + * configure.in (OLDXMENU, LIBXMENU): Set to empty if !HAVE_MENUS. + + * configure.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Do not define. + + 2010-05-12 Glenn Morris + + * configure.in (LIB_SRC_EXTRA_INSTALLABLES): Remove, unused. + + * configure.in (LIB_GCC): New output variable. + + 2010-05-11 Glenn Morris + + * make-dist (msdos): No more mainmake. + + * configure.in: Generate lib-src/Makefile directly, do not run cpp. + * config.bat: Do not run cpp on lib-src/Makefile.in. + + * config.bat [HAVE_X11]: Run sed3x.inp on lib-src/Makefile. + + 2010-05-10 Glenn Morris + + * configure.in (LIBS_SYSTEM): New output variable, replacing cpp. + + * configure.in (MAIL_USE_FLOCK, MAIL_USE_LOCKF): New AC_DEFINEs. + (BLESSMAIL_TARGET): New output variable. + + 2010-05-08 Štěpán Němec (tiny change) + + * INSTALL: Fix typos. + + 2010-05-08 Chong Yidong + + * configure.in: Add check for buggy version of GCC (Bug#6031). + + 2010-05-08 Glenn Morris + + * configure.in (HAVE_LIBNCURSES): New local variable. + (TERMINFO, LIBS_TERMCAP, TERMCAP_OBJ): New output variables, + replacing cpp in src/s/*.h and src/Makefile.in. + + 2010-05-07 Chong Yidong + + * Version 23.2 released. + + 2010-05-07 Stefan Monnier + + * configure.in: Add tests for `isnan' and `copysign'. + + 2010-05-07 Eli Zaretskii + + * config.bat: Allow for 2 leading `#'s in comments in + src/Makefile.in. + + 2010-05-07 Glenn Morris + + * configure.in (LD_SWITCH_SYSTEM): Set with configure, not cpp. + Merges logic from src/s/* and src/Makefile.in. + (LD_SWITCH_SYSTEM_TEMACS): New output variable. + + 2010-05-07 Dan Nicolaescu + + Define START_FILES and LIB_STANDARD using autoconf. + * configure.in (START_FILES, LIB_STANDARD): New definitions, moved + here from src/s/*.h. + (HAVE_CRTIN): Remove, inline logic in the netbsd + START_FILES/LIB_STANDARD computation. + + 2010-05-06 Glenn Morris + + * configure.in (AC_PROG_LN_S): Remove test, nothing uses @LN_S@. + + * Makefile.in (CPP, C_SWITCH_SYSTEM, ALLOCA, LN_S, C_SWITCH_X_SITE) + (LD_SWITCH_X_SITE): Remove unused variables. + + 2010-05-04 Glenn Morris + + * configure.in (LD_SWITCH_X_SITE_AUX): Use AC_SUBST only, not AC_DEFINE + as well. + (LD_SWITCH_X_SITE_AUX_RPATH): New output variable. + + * configure.in (LD_SWITCH_SYSTEM_TEMACS): New output variable. + + * configure.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): New output + variables, replacing c_switch_machine, c_switch_system. + * Makefile.in (C_SWITCH_SYSTEM): Use @C_SWITCH_SYSTEM@ rather than + @c_switch_system@. + + 2010-05-03 Glenn Morris + + * configure.in (LIBXT_OTHER, LIBX_OTHER): New output variables. + + * make-dist: There are no more src/m/*.inp files. + + 2010-05-01 Dan Nicolaescu + + * configure.in (LD_SWITCH_MACHINE, ld_switch_machine): Remove, unused. + (ac_link): Do not use ld_switch_machine. + + 2010-05-01 Glenn Morris + + * configure.in (OTHER_OBJ): Remove. + (PRE_ALLOC_OBJ, POST_ALLOC_OBJ): New output variables. + + 2010-04-30 Glenn Morris + + * configure.in (OTHER_OBJ): Always include vm-limit.o on Cygwin. + Elsewhere, maybe include it. + + * configure.in (TOOLKIT_LIBW) [HAVE_GTK]: Set to $GTK_LIBS. + (OLDXMENU, LIBXMENU): New output variables. + + * configure.in (OTHER_OBJ): New output variable. + + 2010-04-28 Glenn Morris + + * configure.in (CYGWIN_OBJ): New output variable. + + * configure.in (GPM_MOUSE_SUPPORT): New output variable. + + * configure.in (FONT_OBJ): New output variable. + + * configure.in (LIBXMU): New output variable. + + * configure.in (NS_OBJ, NS_SUPPORT): New output variables. + + * configure.in (machine, canonical): On amdx86-64, check for a 32-bit + userland and maybe change values to i386 (move test from s/amdx86-64.h). + + 2010-04-27 Glenn Morris + + * configure.in (LIBXTR6): New output variable. Move unixware special + case here from src/s/unixware.h. + + * configure.in (LUCID_LIBW, MOTIF_LIBW): No longer substitute + in Makefiles. + (TOOLKIT_LIBW): New output variable, replacing LUCID_LIBW/MOTIF_LIBW. + + * configure.in (HAVE_MOTIF_2_1): Remove unused variable. + (LIBXP): No longer substitute in Makefiles. + (MOTIF_LIBW): New output variable. Move system-specific settings here + from src/s files. + + 2010-04-27 Dan Nicolaescu + + Reduce CPP usage. + * configure.in (LIB_X11_LIB): Remove, inline in the only user. + (unexec): Define unconditionally, all platforms define + UNEXEC. AC_SUBST it. + (UNEXEC_SRC): Remove, unused. + (C_SWITCH_X_SYSTEM): Define using autoconf, not cpp. + + 2010-04-27 Glenn Morris + + * configure.in (HAVE_MOTIF_2_1, HAVE_LIBXP): Remove unused AC_DEFINEs, + replaced by LIBXP. + + * configure.in (--with-crt-dir): Doc fix (now valid for all platforms). + (CRT_DIR): On (powerpc64|sparc64)-*-linux-gnu*, default to /usr/lib64. + On hpux10-20, default to /lib. + + * configure.in (LUCID_LIBW, LIBXP, WIDGET_OBJ): New output variables. + + 2010-04-26 Dan Nicolaescu + + * configure.in (LIBS_MACHINE): Remove, unused. + + * configure.in (LIB_MATH): New output variable. Set it for some systems. + + 2010-04-24 Glenn Morris + + * configure.in (CRT_DIR): New output variable. + (--with-crt-dir): New option. (Bug#5655) + (HAVE_LIB64_DIR): Remove. + + 2010-04-22 Dan Nicolaescu + + * configure.in (REAL_CFLAGS, CFLAGS): Restore -g for gcc. + + 2010-04-22 Miles Bader + + * configure.in: Get rid of "unix" pre-defined macro when + preprocessing Makefile. (Bug#5857) + + 2010-04-21 Andreas Schwab + + Avoid non-portable shell command negation + * configure.in: Revert last change. + + 2010-04-21 Jan Djärv + + * configure.in: Change "if test ! -f" to "if ! test -f". + + 2010-04-21 Glenn Morris + + * configure.in (LIBSELINUX_LIBS): Always substitute in Makefiles. + (GTK_OBJ, DBUS_OBJ, LIBXSM, XMENU_OBJ, XOBJ): New output variables. + + 2010-04-21 Karel Klíč + + * configure.in: New option: --with(out)-selinux, on by default. + Set HAVE_LIBSELINUX if we find libselinux, and substitute + LIBSELINUX_LIBS in Makefiles. + + 2010-04-01 Dan Nicolaescu + + * configure.in: Remove all references to LIBX11_SYSTEM. + + 2010-03-30 Dan Nicolaescu + + * configure.in: Remove all references to C_DEBUG_SWITCH. + + 2010-03-27 Eli Zaretskii + + * config.bat : Edit out lines that begin with several # + characters. + + 2010-03-20 Dan Nicolaescu + + * configure.in: Remove support for old UNIX System V systems and + for Unixware on non-x86 machines. + + * configure.in: Remove support for Solaris on PPC and for old versions. + + * configure.in: Remove non-working lynxos port. + + 2010-03-19 Dan Nicolaescu + + * .dir-locals.el (c-mode): Turn on whitespace-mode for diff-mode. + + 2010-03-19 Glenn Morris + + * configure.in (HAVE_LIBNCURSES): Add a description to make autoheader + happy. + + 2010-03-18 Jan Djärv + + * configure.in: Check for tputs and friends, abort if not + found (bug#5735). + + 2010-03-18 Glenn Morris + + * configure.in (--with-x-toolkit): In the help text, say which options + are synonyms. + + * 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. + + 2010-03-18 Tetsurou Okazaki (tiny change) + + * Makefile.in (uninstall): Handle the case where archlibdir does not + exist. (Bug#5720) + + 2010-03-12 Eli Zaretskii + + These changes remove termcap.c from the build on POSIX platforms. + * configure.in : Remove termcap.h. + + * configure: Regenerated. + + 2010-03-10 Chong Yidong + + * Branch for 23.2. + + 2010-01-31 Juri Linkov + + * .bzrignore: Add TAGS-LISP. + + 2010-01-23 Giorgos Keramidas (tiny change) + + * configure.in: Check for utmp.h availability (FreeBSD 9.x lacks + this header file). + + 2010-01-12 Juanma Barranquero + + * .bzrignore: Ignore all .exe, instead of individual files. + + 2010-01-12 Chong Yidong + + * configure.in: Explicitly check for and link to -lXrender. + + 2010-01-12 Glenn Morris + + * INSTALL.BZR, README: Use bug-gnu-emacs rather than emacs-pretest-bug + for bug reports for development versions. + + 2010-01-02 Eli Zaretskii + + * .bzrignore: Add more ignored patterns, including for the MS-DOS + build. + + 2009-12-27 Karl Fogel + + * INSTALL.BZR: Rename from INSTALL.CVS; edit to talk about Bazaar. + * INSTALL, autogen.sh, configure.in, configure: Adjust accordingly. + + 2009-12-17 Glenn Morris + + * .dir-locals.el (bug-reference-url-format): Change to debbugs.gnu.org. + + 2009-12-15 Glenn Morris + + * info/dir: Add EDT entry. + * Makefile.in (INFO_FILES): Add edt. + + 2009-12-10 Jan Djärv + + * configure.in: Check for RSVG if GNUstep is used. + + 2009-12-09 Jan Djärv + + * configure.in: Don't check for RSVG or GConf unless X11 is used. + + 2009-12-09 Ken Brown (tiny change) + + * configure.in: Allow compiling Emacs with GTK on Cygwin. + + 2009-12-01 Glenn Morris + + * make-dist: Add etc/images/mpc directory. + + 2009-11-21 Jan Djärv + + * configure.in: Don't check for GConf unless X is used. + + 2009-11-20 Dan Nicolaescu + + * configure.in: Use -Wdeclaration-after-statement if available. + + 2009-11-17 Jan Djärv + + * configure.in: New option: --with(out)-gconf. + Set HAVE_GCONF if we find gconf. + + 2009-11-17 Glenn Morris + + * Makefile.in (INFO_FILES): Add semantic. + + 2009-11-16 Chong Yidong + + * info/dir: Add Semantic. + + 2009-11-16 Glenn Morris + + * Makefile.in (install-arch-indep): Use a more restrictive Makefile + pattern, so as not to exclude makefile*.el. (Bug#4912) + + 2009-11-14 Jan Djärv + + * configure.in: --enable-autodepend is new. Check for GNU Make + and that gcc supports -MMD -MF. Define AUTO_DEPEND if we can use + gcc and GNU make to generate dependencies. + + 2009-10-27 Glenn Morris + + * make-dist: Make links to doc/lispintro/*.pdf. + + 2009-10-23 Jim Meyering + + * configure.in: Invoke $CPP with -P when creating Makefile and + src/Makefile. Without this, gcc 4.4.2 converts each + backslash-newline pair in the input to a bare newline, yielding + invalid Makefiles. + + * configure: Regenerate. + + 2009-10-19 Dan Nicolaescu + + * configure.in (vax-dec-vms): Remove, not supported anymore. + + 2009-10-15 Adrian Robert + + * configure.in (NS_HAVE_NSINTEGER): Back out previous change. + (*-apple-darwin*): Add x86_64 architecture. + + 2009-10-14 Dan Nicolaescu + + * config.guess, config.sub: Updated from master source. + + 2009-10-11 Adrian Robert + + * configure.in (NS_HAVE_NSINTEGER): Remove this test and define. + + 2009-10-07 Edward Trumbo (tiny change) + + * Makefile.in (INFO_FILES): Add EDE and EIEIO. + + 2009-09-29 Glenn Morris + + * make-dist (check): Update for two new levels of subdirectory in lisp/. + + 2009-09-17 Dan Nicolaescu + + * config.guess, config.sub: Updated from master source. + + * configure.in (OTHER_FILES): Define using autoconf not cpp. + + 2009-09-14 Dan Nicolaescu + + * .dir-locals.el (change-log-mode): Restore bug-reference-mode. + + 2009-09-13 Chong Yidong + + * INSTALL: Update URL for GNU FreeFont. + + 2009-09-09 Glenn Morris + + * Makefile.in (install-arch-indep): Don't recursively change perms of + site-lisp and infodir. There may be non-Emacs files in here, and the + files supplied by Emacs are all handled explicitly already. (Bug#3800) + (mkdir): Set umask to world-readable before creating directories. + mkinstalldirs already checks if dirs exist, don't duplicate this test. + + 2009-08-29 Glenn Morris + + * Makefile.in (info-real): Don't ignore errors from doc Makefiles. + (info): Don't give an error in the absence of makeinfo - let the doc + Makefiles do that, if the info files need rebuilding. (Bug#3982) + + 2009-08-23 Ken Raeburn + + * Makefile.in (install-arch-indep): If the versioned DOC-#### + generated during loadup+dump isn't found, install the plain DOC + file that always gets generated, in case CANNOT_DUMP is set. + + * configure.in: Warn if package version specified here doesn't + match the version in version.el. + * configure: Regenerate. + + 2009-08-22 Michael Albinus + + * configure.in: AC_CHECK_FUNCS dbus_watch_get_unix_fd. + + * configure: Regenerate. + + 2009-08-19 Glenn Morris + + * INSTALL: Remove reference to cvtmail. + + 2009-08-15 CHENG Gao + + * Makefile.in (install-arch-indep): Remove .DS_Store files (MacOSX). + + 2009-08-02 Kevin Ryde + + * INSTALL: Fix free fonts URL. + + 2009-07-22 Glenn Morris + + * configure.in (AC_PREREQ): Require autoconf 2.62. + + 2009-07-04 Andreas Schwab + + * configure.in (--enable-checking, --enable-profiling): + Use AS_HELP_STRING. + + 2009-07-03 Dan Nicolaescu + + * configure.in (--enable-profiling): New option. + (mips-*-netbsd*, mipsel-*-netbsd*, mipseb-*-netbsd*): Use machine=mips. + + 2009-06-27 Glenn Morris + + * configure.in: Restore netbsd on mips, mipsel, mipseb. + + 2009-06-26 Dan Nicolaescu + + * configure.in (--enable-checking): New option. + + 2009-06-24 Glenn Morris + + * make-dist: Warn if subdir does not exist in source. + (nextstep/Cocoa/Emacs.base/Contents/Resources/preferences.nib) + (nextstep/GNUstep/Emacs.base/Resources/preferences.gorm): + No longer make links. + + 2009-06-24 Yavor Doganov + + * make-dist (tempdir): Don't create directories preferences.gorm + and preferences.nib, they are no longer required. + + 2009-06-21 Chong Yidong + + * Branch for 23.1. + + 2009-06-12 Chong Yidong + + * configure.in: Delete mac-fix-env target, which has been + removed (Bug#3531). + + 2009-05-06 Stefan Monnier + + * configure.in: Don't define CANNOT_DUMP for GNUstep any more. + + 2009-05-05 Per Starbäck (tiny change) + + * BUGS: Use new binding of view-emacs-problems. + + 2009-05-04 Simon Leinen (tiny change) + + * Makefile.in (install-arch-dep): Avoid using $$(..) construct, + for Solaris compatibility. + + 2009-04-25 Chong Yidong + + * configure: Regenerate. + + * configure.in: Disable use of FreeType without libXft. + + 2009-04-19 Jan Djärv + + * configure.in (HAVE_GTK_FILE_SELECTION, HAVE_GTK_FILE_CHOOSER): + Check if it is declared in gtk.h. + + 2009-04-12 Andreas Schwab + + * Makefile.in (install-arch-indep): Remove .gitignore files. + + 2009-04-03 Kenichi Handa + + * INSTALL: Make the section "Complex Text Layout support + libraries" the first of "ADDITIONAL DISTRIBUTION FILES". + + 2009-03-06 Dan Nicolaescu + + * configure.in (rs6000-ibm-aix6*): Fix typo. + + 2009-03-04 Glenn Morris + + * Makefile.in (INFO_FILES): Add auth. + + 2009-03-03 Glenn Morris + + * info/dir: Add Auth-source. + + 2009-02-28 Stefan Monnier + + * Makefile.in (src): Fix last change so the first `cd' doesn't affect + the second. + + 2009-02-28 Eli Zaretskii + + * config.bat: Copy .dbxinit to _dbxinit. + + * make-dist (Making links to `info'): Remove .gitignore. + + 2009-02-28 Stefan Monnier + + * Makefile.in (lib-src, lisp): Use simpler rule. + (src): Be more specific to avoid recompiling all the .elc files just + because the bootstrap-emacs is missing. + + 2009-02-26 Chong Yidong + + * configure.in: Require librsvg >= 2.11. + + 2009-02-23 Adrian Robert + + * configure.in (HAVE_XFT, HAVE_FREETYPE, HAVE_LIBOTF) + (HAVE_M17N_FLT): Don't check for these unless HAVE_X11. + + 2009-02-04 Adrian Robert + + * configure.in (COCOA_EXPERIMENTAL_CTRL_G): Drop. + + 2009-02-03 Glenn Morris + + * make-dist: Add some missing files, remove some that are no longer + present. + + 2009-02-02 Glenn Morris + + * make-dist: Add some missing nextstep/ files. + + 2009-01-22 Yavor Doganov (tiny change) + + * configure.in (HAVE_RSVG): Use librsvg under HAVE_NS also. (Bug#616) + + 2009-01-22 Dan Nicolaescu + + * configure.in: Add support for m68k-*-netbsd. + + 2009-01-14 Juri Linkov + + * .dir-locals.el (change-log-mode): Remove bug-reference-mode. + + * .dir-locals.el (change-log-mode): Add bug-reference-url-format + and bug-reference-mode. + + 2009-01-11 Juri Linkov + + * INSTALL.CVS: Move configuration explicitly to the first step. + + 2009-01-09 Glenn Morris + + * .dir-locals.el: Don't set indent-tabs-mode. + + 2008-12-30 Kenichi Handa + + * configure.in: Define HAVE_OTF_GET_VARIATION_GLYPHS if libotf has + the function OTF_get_variation_glyphs. + + 2008-12-30 Jan Djärv + + * Makefile.in (install-arch-dep): Remove old directories in + ns_app* before moving new directories there. + + 2008-12-27 Dan Nicolaescu + + * .dir-locals.el: Remove non-working entry for pmail. + (fill-column): Fix typo. + (change-log-mode): Add fill column. + + 2008-12-26 Eli Zaretskii + + * config.bat: Produce _dir-locals.el from .dir-locals.el. + + 2008-12-23 Dan Nicolaescu + + * make-dist (tempdir): Distribute .dir-locals.el. + + * .dir-locals.el: New file. + + 2008-12-19 Eli Zaretskii + + * config.bat (--with-system-malloc): New option; see msdos/INSTALL + for rationale. + + 2008-12-13 Glenn Morris + + * Makefile.in (install-arch-indep): Add new man-pages. + (manext): Remove variable. + (MAN_PAGES): New variable. + (install-arch-indep, uninstall): Use MAN_PAGES for list of files to add + and remove. + (uninstall): Remove desktop file and icons, game scores if empty. + + 2008-12-11 Dan Nicolaescu + + * config.guess, config.sub: Updated from master source. + + 2008-12-10 Dan Nicolaescu + + * Makefile.in (install-arch-indep): Install ebrowse.1. + + 2008-12-09 Ali Bahrami (tiny change) + + * configure.in: Add Solaris on x86_64. + + 2008-12-09 Dan Nicolaescu + + * config.guess, config.sub: Updated from master source. + + 2008-12-08 Eli Zaretskii + + * info/dir: Fix last change. + + 2008-12-07 Eli Zaretskii + + * info/dir: Untabify. + + 2008-11-28 Ulrich Müller + + * configure.in: Fix last change. + + 2008-11-28 Richard M Stallman + + * configure.in (mips64-*-linux-gnu*, mips64el-*-linux-gnu*): + New configurations. + + 2008-11-20 Josh Elsasser (tiny change) + + * configure.in: Add hppa-*-openbsd* with machine hp800; mistakenly + removed while misclassified as now unsupported hp9000s300. (Bug#1365) + + 2008-11-15 Eli Zaretskii + + * Makefile.in (INFO_FILES): Remove ns-emacs. + + * info/dir (NS-Emacs): Remove entry. + + 2008-11-08 Eli Zaretskii + + * INSTALL: Move MS-DOS specific instructions to msdos/INSTALL. + + 2008-11-07 Glenn Morris + + * configure.in (HAVE_LIB64_DIR): Check for crtn.o. (Bug#1287) + + 2008-10-31 Eli Zaretskii + + * config.bat: Tell user to expect one "File not found" message + while the `doc' directory is being configured. + + 2008-10-30 Chong Yidong + + * update-subdirs: Put obsolete directory last. + + 2008-10-30 Emanuele Giaquinta + + * configure.in: Check fontconfig always. + + 2008-10-30 Dan Nicolaescu + + * configure (*-solaris2.[7-9]*): Fix typo. + + 2008-10-24 Glenn Morris + + * configure.in (--without-sync-input, --with-pkg-config-prog): + Help strings start with lower case. + (--with-gnustep-conf): New option. + (GNUSTEP_CONFIG_FILE): Use, instead of fixed /etc/GNUstep/GNUstep.conf. + + 2008-10-24 Yavor Doganov (tiny change) + + * configure.in: Use `.' instead of `source' to source GNUstep.conf. + Exit with an error if `--with-ns' was specified but + is not found. (Bug#1230) + + 2008-10-23 Ali Bahrami (tiny change) + + * configure (*-sunos5*, *-solaris*): Use the new file sol2-10.h. + Use sol2-6.h for Solaris 7-9. + + 2008-10-18 Ulrich Müller + + * configure.in: Add support for GNU/Linux on SuperH. + + 2008-10-12 Andreas Schwab + + * configure.in: Only check for m17n-flt if HAVE_LIBOTF. + + 2008-10-03 Adrian Robert + + * configure.in: Report USE_TOOLKIT_SCROLLBARS as such (not mentioning + "X") to avoid confusion. + + * configure: Regenerate. + + 2008-09-07 Romain Francoise + + * make-dist: Distribute doc/man/ChangeLog. + + 2008-08-28 Chong Yidong + + * configure.in: Disable XFT and Freetype when without X. + + * configure: Regenerate. + + 2008-08-24 Dan Nicolaescu + + * configure.in (NS_IMPL_GNUSTEP): Increase pure size. + + 2008-08-21 Christian Faulhammer (tiny change) + + * configure.in (GNUSTEP_SYSTEM_HEADERS): + Define GNUSTEP_SYSTEM_HEADERS and GNUSTEP_SYSTEM_LIBRARIES. + + * configure: Regenerate. + + 2008-08-20 Eli Zaretskii + + * configure.in: Move "#define subprocesses" before + config_opsysfile is included. + + 2008-08-19 Kenichi Handa + + * INSTALL (Extra fonts): Mention local fonts, don't mention + mule-unicode. + + 2008-08-16 Chong Yidong + + * make-dist: Omit info/.arch-inventory. + + 2008-08-16 Jason Rumney + + * make-dist (tempdir/nt): Link emacsclient.rc. + + 2008-08-07 Dan Nicolaescu + + * configure.in (LIB_SRC_EXTRA_INSTALLABLES): New variable. + AC_SUBST it. + (GNU_OBJC_CFLAGS): Define as a shell variable instead of #define. + AC_SUBST it. + (OTHER_FILES): Always define for HAVE_NS. + (C_SWITCH_X_SYSTEM): Don't define as empty for NS_IMPL_COCOA. + * configure: Regenerate. + + 2008-08-07 Andreas Schwab + + * configure.in: Correctly handle + --enable-cocoa-experimental-ctrl-g=no and + --enable-ns-self-contained=yes. + + 2008-08-06 Adrian Robert + + * configure.in (NS_HAVE_INTEGER): Rename to NS_HAVE_NSINTEGER. + (C_SWITCH_X_SYSTEM): Drop -MMD -MP under NS_IMPL_GNUstep. + Don't bother undef'ing since won't have desired effect. + + 2008-08-06 Andreas Schwab + + * configure.in: Fix quoting. + + 2008-08-06 Chong Yidong + + * configure.in (COCOA_EXPERIMENTAL_CTRL_G): Fix 2008-08-04 change. + + 2008-08-05 Ulrich Müller + + * configure.in: Add checks for krb5_error.text and + krb5_error.e_text struct members. + + 2008-08-04 Chong Yidong + + * configure.in: Test for existence of NSInteger. + Suggested by Yavor Doganov. + + 2008-08-02 Romain Francoise + + * Makefile.in (INFO_FILES): Add mairix-el. + + 2008-07-31 Dan Nicolaescu + + * make-dist: + * README: Remove VMS support. + * vms: Remove directory. + + 2008-07-31 Dan Nicolaescu + + * configure.in (MULTI_KBOARD): Remove. + + 2008-07-30 Dan Nicolaescu + + * configure.in (DO_BLOCK_INPUT): Remove, unused. + + 2008-07-29 Chong Yidong + + * info/dir (File): Add mairix-el. + + 2008-07-27 Dan Nicolaescu + + Remove support for Mac Carbon. + * mac: Remove directory. + * make-dist: + * configure.in: + * README: + * Makefile.in: + * INSTALL: Remove code for Carbon. + * configure: Regenerate. + + 2008-07-26 Adrian Robert + + * Makefile.in (install-arch-dep): Fix typo in NS installation commands. + + 2008-07-25 Chong Yidong + + * configure.in: Check for getrlimit. + + * configure: Regenerate. + + 2008-07-23 Dan Nicolaescu + + * configure.in (LD_SWITCH_SITE): Remove, set the values directly + in src/Makefile.in. + (static): Remove, autoconf would always comment it out anyway. + (subprocesses): Define unconditionally. + + 2008-07-19 Yavor Doganov (tiny change) + + * configure.in: Fix typo in GNUSTEP_MAKEFILES setting for HAVE_NS + compilation under GNUstep. + + 2008-07-18 Kenichi Handa + + * INSTALL (Complex Text Layout support libraries): Delete the + paragraph about --enable-font-backend. + + 2008-07-17 Adrian Robert + + * configure.in: Print out some info to user for NeXTstep builds. + (ns-app): Remove enable option. + (ns-self-contained): Add enable option. + (ns_appbindir, ns_appresdir, ns_appsrc): Set them based on Cocoa or + GNUstep, use to set install prefixes, and substitute in Makefiles. + * configure: Regenerate. + * Makefile.in (install-arch-dep): Perform post-install cleanup inside + NS app bundle. + + 2008-07-17 Stefan Monnier + + * configure.in: Extract and substitute GNUSTEP_MAKEFILES. + + 2008-07-16 Adrian Robert + + * configure.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to + NS_IMPL_COCOA. + + 2008-07-16 Glenn Morris + + * configure.in (with_kerberos, with_kerberos5, with_hesiod): + Fix tests for OPTION_DEFAULT_OFF (variables never unset). + (with_carbon, with_ns): Remove dead code, since OPTION_DEFAULT_OFF means + never unset. + + * make-dist: Add nextstep/ directories. + (src, lib-src): Add .m files. + + 2008-07-16 Dan Nicolaescu + + * configure.in (freebsd, kfreebsd): Undo part of previous change. + (USER_FULL_NAME): Remove, not used anymore. + * configure: Regenerate. + + 2008-07-15 Adrian Robert + + Changes and additions for NeXTstep windowing system (Cocoa and + GNUstep) support. + + * configure.in: Add support for NS window system: --with-ns (default + off), --enable-ns-app, --enable-cocoa-experimental-ctrl-g; improve add + sparc detection for FreeBSD variants, checks for Cocoa and GNUstep, + disable font backend if window system is "none", not if !HAVE_X11. + * Makefile.in: Add ns-emacs to INFO_FILES, add ns_appdir variable. + (install-arch-dep): Add commands to assemble NS .app package. + + 2008-07-10 Dan Nicolaescu + + * configure.in: Use macppc for Darwin. Remove references to + desupported systems. + * configure: Regenerate. + + 2008-07-05 Glenn Morris + + * make-dist (EMACS): Doc fix. + (lisp): There are no *.dat or image files here any more. + (src): There are no *.s files here any more. + (etc/images, etc/images/*): Link to most regular files. + + 2008-07-04 Emanuele Giaquinta (tiny change) + + * configure.in: Remove reference to deleted $USE_FONT_BACKEND. + + 2008-07-01 Glenn Morris + + * configure.in (cpp_undefs): Rename from `undefs', update uses. + Use $srcdir rather than $top_srcdir. Set before calling AC_OUTPUT, + and explicitly export there. (Bug#507.) + + 2008-06-26 Dan Nicolaescu + + * configure.in: + * configure: Remove references to obsolete systems. + + 2008-06-25 Stefan Monnier + + * Makefile.in (Makefile): Use it for its timestamp value as well, and + make it depend on all other */.in files. + (src/Makefile, src/config.stamp, lib-src/Makefile) + (doc/emacs/Makefile, doc/misc/Makefile, doc/lispref/Makefile) + (doc/lispintro/Makefile, oldXMenu/Makefile, lwlib/Makefile) + (leim/Makefile, lisp/Makefile): Remove those overlapping targets. + (leim, ${SUBDIR}, blessmail): Only depend on Makefile now. + + * configure.in: Don't create src/config.stamp any more. + + 2008-06-22 Stefan Monnier + + * Makefile.in (${SUBDIR}): Pass additional BOOTSTRAPEMACS argument. + + 2008-06-22 Glenn Morris + + * Makefile.in (top_bootclean): Remove obsolete references to lock/. + + 2008-06-21 Romain Francoise + + * Makefile.in (INFO_FILES): Add sasl. + + 2008-06-21 Stefan Monnier + + * Makefile.in (maybe_bootstrap, src/bootstrap-emacs${EXEEXT}) + (bootstrap-build): Remove. + (top_bootclean): New var. + (top_distclean, bootstrap-clean): Use it. + (bootstrap): Don't recheck config. Make normally. + + 2008-06-20 Stefan Monnier + + * Makefile.in (SUBDIR): Include `lisp'. + (lisp): Depend on `src'. + (top_distclean): Don't remove config.status. + (bootstrap-clean): New target. + (maintainer-clean): Use it. + (bootstrap): Use bootstrap-clean. Re-run config.status. + (src/bootstrap-emacs${EXEEXT}): New target. + (bootstrap-build): Use it. Don't use bootstrap-prepare because + src/Makefile now takes care of it. + (bootfast, bootstrap-clean-before, bootstrap-clean-before-fast): Remove. + + 2008-06-15 Glenn Morris + + * info/dir: Add sasl. + + 2008-06-09 Alan Mackenzie + + * INSTALL.CVS: Clarify why `make bootstrap' sometimes fails. + + 2008-06-08 Eric S. Raymond + + * INSTALL.CVS: Indicate when "cvs update -d" may be needed. + + 2008-06-07 Glenn Morris + + * Makefile.in (bootstrap-build): Remove mostlyclean, since it seems to + serve no purpose. + + 2008-06-01 Dan Nicolaescu + + * configure.in (USE_LUCID, USE_MOTIF): Don't use "==". + * configure: Regenerate. + + 2008-05-28 Stefan Monnier + + * update-subdirs: Don't touch subdirs.el if it is unchanged. + + 2008-05-14 Kenichi Handa + + * configure: Regenerate. + + * configure.in: Don't handle --disable-font-backend. Don't print + a message about a font backend. + + 2008-05-09 Glenn Morris + + * configure.in: Make absence of makeinfo a fatal error only if the info + files don't exist. + * Makefile.in (install-arch-indep, info): Handle MAKEINFO == off. + + 2008-05-07 Eli Zaretskii + + * config.bat: Fix last change: don't use < and > in "rem" lines, + they are interpreted as redirection by DOS shells. + + 2008-05-04 YAMAMOTO Mitsuharu + + * configure.in: Check availability of AvailabilityMacros.h + if HAVE_CARBON. + + * configure: Regenerate. + + 2008-05-03 Glenn Morris + + * configure.in (x_libraries): Remove standard 64-bit directories - + experimental workaround for minor autoconf bug. + + * configure.in (--without-makeinfo): New option. If set, + absence of suitable makeinfo is not a fatal error. + * Makefile.in (MAKEINFO): New, set by configure. + (install-arch-indep): Without makeinfo, ignore any missing manuals. + (info-real): New target. + (info): Without makeinfo, do nothing, else call `info-real'. + + 2008-04-23 Dan Nicolaescu + + * configure.in: Remove hpux10.20 from the desupported list. + + 2008-04-18 Stefan Monnier + + * configure.in: Define USE_LUCID/USE_MOTIF in config.h. + + 2008-04-16 Stefan Monnier + + * configure.in (SYNC_INPUT): Use OPTION_DEFAULT_ON and AC_DEFINE + rather than change CPPFLAGS. + (HAVE_GTK): Rename to USE_GTK. + + 2008-04-16 Yavor Doganov (tiny change) + + * configure.in: Replace the obsolete macros AC_AIX and + AC_GNU_SOURCE with AC_USE_SYSTEM_EXTENSIONS. + + 2008-04-05 Andreas Schwab + + * configure.in: No longer create admin/unidata/Makefile. + + 2008-03-28 Andreas Schwab + + * Makefile.in (SUBDIR_MAKEFILES): Add lisp/Makefile. + (lisp/Makefile): New rule. + + 2008-03-13 Glenn Morris + + * configure.in (AC_INIT): Fix version number. + (sync-input): Reword the option, since it's on by default. + + 2008-03-11 Jan Djärv + + * configure.in: Add --enable-sync-input, default yes. + + 2008-03-11 Glenn Morris + + * Makefile.in (install-etc, mkdir): Handle directory + etc/images/icons/hicolor/*/mimetypes/. + + * make-dist: Handle icons/hicolor/scalable directory. + + 2008-03-05 Glenn Morris + + * configure.in: Enable font-backend by default. + (USE_FONT_BACKEND): Set to "no" in absence of X. + (PKG_CONFIG): Don't set multiple times, once is enough. + (HAVE_FREETYPE, HAVE_LIBOTF, HAVE_M17N_FLT): Tweak config.in text. + + 2008-03-03 Glenn Morris + + * Makefile.in (iconsrcdir): New variable. + (install-etc, mkdir): Use $iconsrcdir. Handle the `scalable' icon + directory. + + 2008-02-29 Glenn Morris + + * test/: New directory. + + 2008-02-27 Jan Djärv + + * configure.in (HAVE_GTK): Print a warning if gtk version is < 2.10. + + 2008-02-25 Dan Nicolaescu + + * configure.in: Print an error for systems that we think are obsolete + and are proposed to be removed. Remove some more unused systems. + Add support for powerpc-ibm-aix6*. + + 2008-02-24 Dan Nicolaescu + + * configure.in: Remove references to obsolete variables and systems. + + 2008-02-21 Glenn Morris + + * Makefile.in (set_installuser): New. + (install-arch-indep): Use set_installuser to avoid duplicate code. + + * README.unicode: Split into admin/notes/unicode,font-backend and + remove. + + 2008-02-10 Matthew Luckie (tiny change) + + * configure.in (arm*-*-freebsd*): Add. + + 2008-02-09 Dan Nicolaescu + + * configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code + dealing with obsolete variables. + + 2008-02-08 Glenn Morris + + * Makefile.in (check-info-dir): New target. + + 2008-02-08 Michael Olson + + * Makefile.in (INFO_FILES): Add epa. + + * info/dir: Add EasyPG Assistant manual to the "Emacs misc + features" section. + + 2008-02-06 Glenn Morris + + * configure.in (--with-gcc): Give an error saying this option has + been removed. + (--with-gtk): Remove this option. + + 2008-02-06 Tom Tromey + + * configure.in (--with-gcc): Remove. + * INSTALL (DETAILED BUILDING AND INSTALLATION): Remove --with-gcc. + + 2008-02-05 Ulrich Müller + + * INSTALL: Recommend giflib, not libungif. + + 2008-02-05 Tom Tromey + + * configure.in (--with-dbus): Default to enabled. + + 2008-02-05 Kenichi Handa + + * INSTALL (Complex Text Layout support libraries): New section. + + 2008-02-04 Dan Nicolaescu + + * make-dist: Remove references to files in mac/ that have been + deleted. + + 2008-02-02 Thien-Thi Nguyen + + * configure.in: For libotf and m17n-flt checks, set shell vars + HAVE_LIBOTF and HAVE_M17N_FLT instead of pkg_check_libotf and + pkg_check_m17n_flt, respectively, for the sake of the summary output. + Reported by Ulrich Müller. + + 2008-02-02 Eli Zaretskii + + * configure.in: If admin/unidata/UnicodeData.txt is present, copy + admin/unidata/Makefile.in to Makefile. + + 2008-02-02 Glenn Morris + + * configure.in (HAVE_XFT): Ensure it is either "yes" or "no". + (USE_FONT_BACKEND, HAVE_FREETYPE, HAVE_M17N_FLT, HAVE_LIBOTF) + (HAVE_XFT): Add "Does Emacs use..." messages at end. + + 2008-02-01 Miles Bader + + * configure.in: Use OPTION_DEFAULT_ON for [freetype], [xft], + [libotf], and [m17n-flt] options. + + 2008-02-01 Kenichi Handa + + * configure.in: Add EMACS_ARG_N([libotf]...), and + EMACS_ARG_N([m17n-flt]. Set back OLD_CPPFLAGS to CPPFLAGS (not + CFLAGS) in XFT checking part. Don't alter C_SWITCH_X_SITE, + CFLAGS, and LIBS in checking of m17n-flt. + + 2008-02-01 Kenichi Handa + + * configure.in: Check the availability of m17n-flt library. + + 2008-02-01 Kenichi Handa + + * configure.in: Don't define HAVE_LIBOTF if OTF_get_features is + not available. + + 2008-02-01 Kenichi Handa + + * configure.in: New args --enable-font-backend, --with-xft, + --with-freetyp. New AC_DEFINEs USE_FONT_BACKEND, HAVE_XFT, + HAVE_FREETYPE, HAVE_LIBOTF. New AC_SUBSTs XFT_LIBS, + FREETYPE_CFLAGS, FREETYPE_LIBS, FONTCONFIG_CFLAGS, + FONTCONFIG_LIBS, LIBOTF_CFLAGS, LIBOTF_LIBS. + + 2008-02-01 Kenichi Handa + + * make-dist: Include etc/charsets in tarball. + + 2008-02-01 Kenichi Handa + + * configure.in: While running cpp on junk.c, include + -DHAVE_UNIDATA in CPPFLAGS if admin/unidata/UnicodeData.txt + exists. + + 2008-01-29 Dan Nicolaescu + + * configure.in (xtensa): Match more configurations. + + 2008-01-27 Dan Nicolaescu + + * configure.in: Update comment. + + 2008-01-26 Glenn Morris + + * configure.in (--without-gcc): By default, neither off nor on. + (--with-carbon): Tone down rhetoric in help text. + + 2008-01-25 Glenn Morris + + * configure.in: Correct usage of OPTION_DEFAULT_ON, + OPTION_DEFAULT_OFF so that the defaults are as they used to be. + Default `Carbon' to off (it's unsupported). + + 2008-01-24 Glenn Morris + + * configure.in: Standardize dbus-related messages. + + 2008-01-23 Michael Olson + + * configure.in (pkg-config-prog): Remove initial whitespace. + + 2008-01-23 Tom Tromey + + * configure.in (OPTION_DEFAULT_ON, OPTION_DEFAULT_OFF): New macros. + (EMACS_ARG_Y, EMACS_ARG_N): Remove. + Update all users. + + 2008-01-21 Dan Nicolaescu + + * config.guess, config.sub: Updated from master source. + + 2008-01-17 Andreas Schwab + + * configure.in (HAVE_LIB64_DIR): Rename from HAVE_X86_64_LIB64_DIR. + + 2008-01-17 Glenn Morris + + * configure.in (HAVE_X86_64_LIB64_DIR): Also set on s390x systems. + + 2008-01-16 Dan Nicolaescu + + * configure.in: Remove more references to unsupported systems. + + 2008-01-16 Sven Joachim + + * make-dist: Add --lzma. + + 2008-01-16 Glenn Morris + + * Makefile.in (maybe_bootstrap): Remove texinfo message, since + configure checks for this. + + 2008-01-13 Dan Nicolaescu + + * configure.in: Remove more references to unsupported systems. + + 2008-01-06 Romain Francoise + + * configure.in: Delete extra semicolons. + + 2008-01-06 Dan Nicolaescu + + * configure.in: Remove references to unsupported systems. + + 2008-01-05 Romain Francoise + + * make-dist: Add --bzip2. Update copyright. + + 2008-01-05 Dan Nicolaescu + + * configure.in: Remove support for Masscomp. + + 2008-01-05 Glenn Morris + + * Makefile.in (desktopdir, icondir): New variables. + (install-arch-indep): Also depend on `install-etc'. + (install-etc): New target. + (mkdir): Also create the `applications' and `icons' directories. + + 2008-01-04 Glenn Morris + + * make-dist: Update for new etc/images/icons/hicolor directory. + + 2007-12-09 Andreas Schwab + + * configure.in: D-Bus is not enabled by default. + + 2007-12-06 Jan Djärv + + * configure.in: Add AC_CONFIG_SRCDIR which was lost in the previous + change. + + 2007-12-04 Jan Djärv + + * configure.in: Give package name and version to AC_INIT. + + 2007-12-03 Magnus Henoch + + * configure.in: Use PKG_CHECK_MODULES to check for D-Bus. + + 2007-12-03 Michael Albinus + + * configure.in: No need for DBUS_INFO anymore. + + * Makefile.in (INFO_FILES): Use dbus unconditionally. + + 2007-12-02 Michael Albinus + + * configure.in: Add D-Bus checks. D-Bus is disabled by default. + + * Makefile.in (INFO_FILES): Add dbus. + + 2007-12-02 Romain Francoise + + * make-dist: Fix last change. + + 2007-11-28 Petr Salinger (tiny change) + + * configure.in: Add support for gnu-kfreebsd. + + 2007-11-28 Glenn Morris + + * make-dist: Add etc/nxml. + + 2007-11-24 Romain Francoise + + * Makefile.in (INFO_FILES): Add nxml-mode. + + 2007-11-23 Romain Francoise + + * make-dist: Include nXML. Don't try to copy FTP, it was removed on + 2007/10/17. Don't special-case alloca.c which is no longer in CVS. + + 2007-11-20 Andreas Schwab + + * configure.in: Always include when checking for res_init. + + 2007-11-17 Andreas Schwab + + * update-subdirs: Atomically update subdirs.el. + + 2007-11-17 Glenn Morris + + * Makefile.in (check-declare): New target. + + 2007-11-07 Glenn Morris + + * configure.in: Deprecate Mac Carbon port. + + 2007-11-01 Jan Djärv + + * configure.in: Remove HAVE_X11R5 check. + + 2007-10-31 Glenn Morris + + * Makefile.in (install-arch-indep): Fallback to $USER and `id -un' + when changing ownership of installed files. + + 2007-10-30 Glenn Morris + + * make-dist: Add new directory etc/gnus. + + 2007-10-30 Michael Olson + + * Makefile.in (INFO_FILES): Alphabetize. Add remember. + + 2007-10-29 Glenn Morris + + * make-dist: Add new directories etc/images/smilies/grayscale,medium. + + 2007-10-23 Glenn Morris + + * MAINTAINERS: Move to admin/. + + 2007-10-17 Chong Yidong + + * configure.in (HAVE_RES_INIT): Define if res_init() exists. + (HAVE_LIBRESOLV): Also define if we are using res_init(). + + 2007-10-17 Glenn Morris + + * FTP: Remove file, since it's just a duplicate of one in etc/. + + 2007-10-05 Eli Zaretskii + + * config.bat: Fix configuring `doc' due to changes in the + directory structure. + + 2007-09-16 Peter O'Gorman (tiny change) + + * configure.in: Don't use -lpthread on HP-UX. + + 2007-09-16 Glenn Morris + + * make-dist: File gfdl.1 has been removed. + + 2007-09-15 Glenn Morris + + * configure.in: Fix makeinfo version regexp. + + 2007-09-12 Glenn Morris + + * configure.in (AC_FUNC_ALLOCA): Throw an error if a system + implementation of alloca is not found. + + * Makefile.in (SOURCES, unlock, relock): Delete. + (install-arch-indep): Do not exclude the etc/ Makefiles. + + 2007-09-09 Juri Linkov + + * make-dist: Remove AUTHORS and CONTRIBUTE (moved to etc). + + * README: Add doc/ to documentation directories. + + 2007-09-08 Michael Olson + + * MAINTAINERS: Add myself for ERC and tq.el. + Update for new doc/ directory layout. + + 2007-09-06 Romain Francoise + + * make-dist: Update for new doc/ directory layout. + + 2007-09-06 Glenn Morris + + * Makefile.in (mansrcdir): New variable. + (SUBDIR_MAKEFILES): Update for new doc/ directory layout. + (man/Makefile, lispref/Makefile, lispintro/Makefile): Rename and + update these targets for new doc/ directory layout. + (doc/misc/Makefile): New target. + (install-arch-indep): Use mansrcdir for new location of manpages. + (mostlyclean, clean, distclean, maintainer-clean, unlock) + (relock, info, dvi): Update targets for new doc/ directory layout. + + * configure.in (AC_OUTPUT): Update names of generated Makefiles + for new doc/ directory layout. + + 2007-09-02 Andreas Schwab + + * configure.in: Use AS_HELP_STRING throughout. + * configure: Regenerate. + + 2007-09-02 Jan Djärv + + * configure.in: Require Gtk/Glib 2.6. + + 2007-09-02 Thien-Thi Nguyen + + * configure.in (EMACS_ARG_Y, EMACS_ARG_N): New AC_DEFUNs. + Use them throughout in place of AC_ARG_WITH calls. + * configure: Regenerate. + + 2007-09-01 Andreas Schwab + + * configure.in: Put quotes around nested macro calls. + + 2007-08-31 Ulrich Müller (tiny change) + + * configure.in: Fix typo. + * configure: Regenerate. + + 2007-08-30 Glenn Morris + + * configure.in (AH_BOTTOM): Copy some manual changes made to + src/config.in here so they are not lost when it regenerates. + + * README.multi-tty: Move to admin/notes/multi-tty, with some edits. + + 2007-08-29 Károly Lőrentey + + * README.multi-tty: New file. + + 2007-08-29 Glenn Morris + + * README: Increase version to 23.0.50. + + 2007-08-29 Jan Djärv + + * configure.in: New option: --without-xaw3d. + + 2007-08-24 Glenn Morris + + * configure.in: Check for a suitably recent makeinfo. + + 2007-08-23 Johannes Weiner (tiny change) + + * configure.in (Check for required libraries): Typo. + + 2007-08-23 YAMAMOTO Mitsuharu + + * configure.in: Check librsvg2 also for Mac Carbon. + + 2007-08-22 Romain Francoise + + * make-dist: Follow reorganization of files in etc/. + + 2007-08-22 Paul Pogonyshev + + * configure.in: Add support for SVG images through librsvg2. + + 2007-07-28 Eli Zaretskii + + * Makefile.in (install-arch-indep): Use "rm -f" for removing DOC, + to avoid an error message if there is no DOC there. + + 2007-07-25 Glenn Morris + + * Relicense all FSF files to GPLv3 or later. + + * COPYING, info/COPYING: Switch to GPLv3. + + 2007-06-20 Jan Djärv + + * configure.in: Complain if X seems to be installed but no + development files were found. + + 2007-06-20 Glenn Morris + + * configure.in: Prefer libgif over libungif. + + 2007-06-14 Jan Djärv + + * configure.in: Check for all image libraries before exiting. + + 2007-06-13 Jan Djärv + + * configure.in: Exit with error if image libraries aren't found. + + 2007-06-13 Chong Yidong + + * configure.in: Merge xaw3d and libXaw checks. Check xaw3d even + when compiling without scrollbars. + + 2007-06-12 Glenn Morris + + * configure.in (HAVE_GIF): If -lungif fails, try -lgif. + + 2007-06-11 Jan Djärv + + * configure.in: Change wording about yes/gtk and lucid/athena + being synonyms. + + 2007-06-08 Glenn Morris + + * configure.in: Make gtk the default toolkit. + + 2007-06-07 Glenn Morris + + * configure.in (NON_GNU_CPP): On Solaris, set using a proper check + for a Sun C compiler. + + * Makefile.in (install-arch-indep): Install only the DOC- file + specific to the build, if possible, rather than DOC-*. + + 2007-06-02 Chong Yidong + + * Version 22.1 released. + + 2007-05-25 Chong Yidong + + * mkinstalldirs: Sync to version in automake CVS. + + 2007-05-22 Andreas Schwab + + * configure.in: Prefer build_alias over host when host_alias is not set. + * configure: Regenerate. + + 2007-05-20 Andreas Schwab + + * configure.in: Remove empty AC_SUBST. + * configure: Regenerate. + + 2007-05-20 Nick Roberts + + * configure.in: Use HAVE_GPM instead of HAVE_GPM_H and implement + it like others. + * configure: Regenerate. + + 2007-05-20 Nick Roberts + + * configure.in (AC_CHECK_HEADERS): Add gpm.h. + (AC_CHECK_LIB): Add -lgpm. + * configure: Regenerate. + + 2007-05-03 Glenn Morris + + * configure: Tweak message about the absence of shell functions. + + 2007-04-27 Andreas Schwab + + * Makefile.in (config.status): Depend on ${srcdir}/lisp/version.el. + + 2007-04-26 Glenn Morris + + * README: Increase version to 22.1.50. + + 2007-04-24 Juanma Barranquero + + * INSTALL (DETAILED BUILDING AND INSTALLATION): Fix typo. + + 2007-04-19 Glenn Morris + + * configure.in: Signal error if Xaw libs are missing in a Lucid build. + + 2007-04-18 Glenn Morris + + * INSTALL: Mention CPP. + + 2007-04-15 Glenn Morris + + * FTP: Replace with a pointer to the web version. + + 2007-04-13 Glenn Morris + + * INSTALL: In lib-src, timer, wakeup, yow are removed. + + 2007-04-04 Glenn Morris + + * configure.in (NON_GNU_CPP): Use associated preprocessor when + compiling with Sun Studio on Solaris. + + 2007-03-23 Glenn Morris + + * configure.in: Restore support for hp800 (removed 2007-01-27) + following clarification of legal status. + + 2007-03-22 Joe Buehler (tiny change) + + * configure.in: Add support for AIX4.3 on IBM RS6000. + + * configure: Regenerate. + + 2007-03-20 Richard Stallman + + * configure.in: Fix previous change. + + 2007-03-19 Deanna Phillips (tiny change) + + * configure.in (arm-*-openbsd*, hppa-*-openbsd*) + (m88k-*-openbsd*, mips64-*-openbsd*, sh-*-openbsd*): Add. + (ns32k-*-openbsd*, ns32k-*-openbsd*): Delete. + + 2007-03-19 Chong Yidong + + * configure.in: Don't define KERBEROS, KERBEROS5, or HESIOD if the + user specifies "without". + + * configure: Regenerate. + + 2007-03-18 Jan Djärv + + * configure.in: Warning for Gtk+ and Cygwin added. + (HAVE_XFT): OLD_CFLAGS changed to OLD_CPPFLAGS. + + 2007-02-27 Glenn Morris + + * make-dist (oldXMenu): Remove Imakefile. + (etc/images): Add README. + + 2007-02-25 Dan Nicolaescu + + * configure.in (xtensa-*-linux-gnu*): New configuration. + + * configure: Regenerate. + + 2007-02-22 Dan Nicolaescu + + * config.guess, config.sub: Updated from master source. + + 2007-01-31 Sascha Wilde (tiny change) + + * configure.in (PKG_CHECK_MODULES): Change ///* to / in cflags and libs. + + 2007-01-29 Chong Yidong + + * configure.in: Restore support for hp800's not running HP-UX. + + * configure: Regenerate. + + 2007-01-27 Chong Yidong + + * configure.in: Remove support for hp800 and sr2k machine types. + + * configure: Regenerate. + + 2007-01-26 Jan Djärv + + * configure.in: Add check for libXft. + + 2007-01-18 Bruno Haible (tiny change) + + * INSTALL: Info files moved to share/info. + + 2007-01-02 Stephen C. Gilardi (tiny change) + + * configure.in: Detect and use fink-installed in intel-based Mac + builds; change Apple Darwin section to support both PowerPC and + Intel-based Macs. + + 2006-12-26 Andreas Schwab + + * Makefile.in (datarootdir): Define. + + 2006-12-24 Richard Stallman + + * configure.in: Require Autoconf 2.61. + + 2006-12-22 Mark Davies + + * configure.in: Add support for NetBSD on x86-64, hp800 and sh3el. + Remove redundant entry for powerpc-apple-netbsd. + + * configure: Regenerate. + + 2006-12-22 Chong Yidong + + * configure: Regenerate with autoconf 2.61. + + 2006-12-20 Jan Djärv + + * configure.in: Detect alsa/asoundlib.h also. + * configure: Regenerate. + + 2006-12-19 Jan Djärv + + * configure.in: Check if GTK+ compiles at all. + + 2006-12-10 Andreas Schwab + + * configure.in: Remove check for struct timezone, its result is + never used. + + 2006-12-08 NAKAJI Hiroyuki (tiny change) + + * configure.in: Add support for Solaris 10 on x86-64. + + 2006-12-08 Jan Djärv + + * INSTALL (DETAILED BUILDING AND INSTALLATION): Document usage + of PKG_CONFIG_PATH. + + 2006-12-04 YAMAMOTO Mitsuharu + + * configure.in (HAVE_SYNC): New test. + + 2006-12-03 Glenn Morris + + * Makefile.in: Fix Copyright format. + + * configure.in (AH_TOP): Add missing Copyright year. + + * update-subdirs: Add missing Copyright years. + + 2006-11-27 Chris Moore + + * Makefile.in: Touch only the parts of the share/emacs directory + specific to this version. + + 2006-11-26 Chong Yidong + + * configure.in (HAVE_X86_64_LIB64_DIR): New test. + + 2006-11-14 YAMAMOTO Mitsuharu + + * configure.in (HAVE_CANCELMENUTRACKING): Remove test. + + 2006-11-08 YAMAMOTO Mitsuharu + + * configure.in: Prefer X11 to Carbon only when some X-specific + option is specified (Thanks to Jan Djärv and Andreas Schwab). + + 2006-11-04 Romain Francoise + + * Makefile.in (bootstrap-clean-before): Fix typo. + Use new target `bootstrap-clean' in the leim subdirectory. + + 2006-11-03 Giorgos Keramidas (tiny change) + + * configure.in: Enable sparc64/ia64/powerpc FreeBSD builds. + + 2006-10-30 Chong Yidong + + * make-dist: Add makefile.w32-in to the man, lispref and lispintro + directories. + + 2006-10-29 Jeramey Crawford + + * configure.in: Enable x86-64 OpenBSD compilation. + + 2006-10-28 Glenn Morris + + * AUTHORS: Add cal-html.el author. + + 2006-10-28 YAMAMOTO Mitsuharu + + * make-dist: Make links to mac/make-package and + mac/Emacs.app/Contents/Resources/Emacs.icns. + + 2006-10-27 Chong Yidong + + * README: Bump version number to 22.0.90. + + 2006-10-23 Andreas Schwab + + * configure.in: Make sure x_default_search_path is always set even + when x_libraries is empty, and look in .../share as well for each + library directory. + + 2006-09-28 Kenichi Handa + + * configure.in (locallisppath): Don't include leim dir. + (lisppath): Include leim dir. + + 2006-09-15 Jay Belanger + + * COPYING: Replace "Library Public License" by "Lesser Public + License" throughout. + + 2006-09-11 Paul Eggert + + * make-dist (EMACS): Exit and fail if the EMACS environment + variable is set to something other than an absolute file name. + + 2006-08-16 Andreas Schwab + + * configure.in (PKG_CHECK_MODULES): Use AS_MESSAGE_LOG_FD instead + of hardcoding it. + + 2006-08-16 Richard Stallman + + * INSTALL.CVS: Clean up wording. + + 2006-07-14 Eli Zaretskii + + * configure.in (PKG_CHECK_MODULES): Redirect the output of + $PKG_CONFIG --exists "$2" to config.log. + * configure: Regenerate. + + 2006-07-09 Richard Stallman + + * INSTALL (DETAILED BUILDING AND INSTALLATION): Minor corrections. + + 2006-07-09 Kim F. Storm + + * CONTRIBUTE: Use outline format. + Add section on copyright years (from admin/notes/years). + + 2006-07-08 Eli Zaretskii + + * configure.in (PKG_CHECK_MODULES): Redirect stderr of pkg-config + to /dev/null, since we don't need the error message, just the + exit status. + + 2006-07-07 Eli Zaretskii + + * CONTRIBUTE: Slight formatting changes and typo fixes. + Add description of NEWS markings. + + 2006-07-07 Kim F. Storm + + * CONTRIBUTE: Mention INSTALL.CVS. + + 2006-07-05 Romain Francoise + + * make-dist (top-level): Add CONTRIBUTE. + + 2006-07-04 Richard Stallman + + * CONTRIBUTE: Much rewrite. + + 2006-07-04 Nick Roberts + + * CONTRIBUTE: New file. + + 2006-06-24 Eli Zaretskii + + * INSTALL: Mention www.nongnu.org pages that list free Unicode fonts. + + 2006-05-18 Jan Djärv + + * configure.in: Add check for ALSA. + + 2006-05-06 Eli Zaretskii + + * Makefile.in (INFO_FILES): Remove emacs-xtra. + + * info/dir: Remove the Emacs-Xtra entry. + + 2006-04-20 Ramprasad B + + Update copyright year(s) in many files. + + 2006-04-01 Eli Zaretskii + + * configure: Regenerated. + + 2006-04-01 Emanuele Giaquinta (tiny change) + + * configure.in (HAVE_XAW3D): Disable Xaw3d check if + --without-toolkit-scroll-bars was specified. + + 2006-04-01 Christoph Bauer (tiny change) + + * configure.in (hppa*-hp-hpux1[1-9]*): Add -D_INCLUDE__STDC_A1_SOURCE + to CFLAGS. Update Copyright years written to src/config.in. + + 2006-03-18 Claudio Fontana + + * Makefile.in (INFO_FILES): New variable, contains all Info file names. + (install-arch-indep, uninstall): Use $(INFO_FILES) to specify files + to be installed/uninstalled. + (uninstall): Invoke "$(INSTALL_INFO) --remove" to remove references + to Info files installed by Emacs. + + 2006-03-03 Claudio Fontana + + * Makefile.in (install, uninstall): Add DESTDIR variable to + support staged installations. + + 2006-02-14 Richard M. Stallman + + * configure.in (s390x-*-linux-gnu*): New configuration. + + 2006-01-31 Jan Djärv + + * configure.in: Require GTK 2.4 or newer. + + 2006-01-29 Michael Olson + + * Makefile.in (install-arch-indep, uninstall): Add ERC. + * info/dir (ERC): New entry. + + 2006-01-29 Eli Zaretskii + + * info/dir: Fix last change. + + 2006-01-28 Luc Teirlinck + + * Makefile.in (install-arch-indep, uninstall): Add rcirc. + + 2006-01-27 Eli Zaretskii + + * info/dir: Untabify the whole file. + (Rcirc): New entry. + + 2006-01-12 Andreas Schwab + + * configure.in: Move AC_AIX and AC_GNU_SOURCE before first compile + check. + + 2006-01-02 Chong Yidong + + * configure.in: Use -Wno-pointer-sign if available. + + 2005-12-29 Andreas Schwab + + * config.guess, config.sub: Updated from master source. + + 2005-12-25 Giorgos Keramidas (tiny change) + + * configure.in: Use amdx86-64 for freebsd on x86_64. + + 2005-11-22 Romain Francoise + + * make-dist: Add etc/images/icons. + + 2005-11-03 Andreas Schwab + + * configure.in: Use GZIP_PROG instead of GZIP. + + * Makefile.in (GZIP_PROG): Rename from GZIP. + (install-arch-indep): Adjust. + + 2005-11-01 Andreas Schwab + + * Makefile.in (bootstrap): Fix dependencies for parallel build. + (bootfast): Likewise. + + 2005-11-01 Romain Francoise + + * configure.in: Check for gzip. + + * Makefile.in (install): Compress source files. + + 2005-10-24 Steven Tamm + + * configure.in: Fix darwin386 configuration issue. + + 2005-10-22 Eli Zaretskii + + * INSTALL.CVS: Add mh-autoloads to the partial rebuild procedure. + + 2005-10-17 Bill Wohler + + * make-dist: Create and populate etc/images/low-color. + + 2005-10-15 Bill Wohler + + * make-dist: Create and populate etc/images/gud. + + 2005-10-08 Richard M. Stallman + + * make-dist (tempparent): Don't check for 14-char file name limit. + + 2005-10-07 Romain Francoise + + * make-dist: Add etc/images/ezimage and etc/images/mail + directories. Install images in etc/images. + + 2005-10-04 YAMAMOTO Mitsuharu + + * configure.in: Prefer Carbon if --enable-carbon-app or + --with-carbon is explicitly specified even when X11 is detected. + + 2005-09-15 Ulf Jasper + + * Makefile.in (install-arch-indep, uninstall): + Handle newsticker manual. + (info): Add - to commands. + + 2005-09-10 Giuseppe Scrivano + + Remove the MAXPATHLEN limitations: + + * configure.in (AC_CHECK_FUNCS): Check for get_current_dir_name. + + 2005-09-09 Eli Zaretskii + + * configure.in : Support for LynxOS on PPC. + * configure: Regenerate. + + 2005-09-05 Paul Eggert + + * config.guess, config.sub: Updated from master source. + + 2005-08-03 Juanma Barranquero + + * .cvsignore: Add `lock'. + + 2005-07-28 Juanma Barranquero + + * .cvsignore: Add `data' and `site-lisp' (for in-place installs). + + 2005-07-26 Paul Eggert + + Merge gnulib getopt implementation into Emacs. + + * Makefile.in (AUTOCONF_INPUTS): New macro. + ($(srcdir)/configure, $(srcdir)/src/stamp-h.in): Depend on it, + so that these files also depend on m4/getopt.m4. + * configure.in: Configure getopt by including m4/getopt.m4, + and configuring a getopt replacement if necessary. + * make-dist: Add m4 subdirectory. Unlink lib-src/getopt.h. + * m4/getopt.m4: New file. + + 2005-07-06 Lute Kamstra + + * configure.in: Fix capitalization. + + 2005-07-04 Lute Kamstra + + Update FSF's address in GPL notices. + + 2005-06-19 Jérôme Marant + + * Makefile.in (epaths-force): Protect both lisppath and + buildlisppath from whitespace. + + 2005-06-08 Steven Tamm + + * configure.in: Support Darwin/MacOSX on Intel. + + 2005-06-06 Jan Djärv + + * configure.in (HAVE_CANCELMENUTRACKING): New test. + + 2005-05-19 Jérôme Marant + + * configure.in: Add --enable-locallisppath. + + 2005-05-13 YAMAMOTO Mitsuharu + + * configure.in: Don't check HAVE_CARBON if HAVE_X11 is set to yes. + Check HAVE_CARBON before USE_TOOLKIT_SCROLL_BARS. + Define USE_TOOLKIT_SCROLL_BARS by default if HAVE_CARBON is set to yes. + + 2005-05-07 Jérôme Marant + + * make-dist: Remove references to makefile.nt and makefile.def. + Include widgets and images subdirectories of etc. Do not exclude + ldefs-boot.el. + + 2005-04-23 Andreas Schwab + + * configure.in: Remove duplicate match for powerpc configuration. + + 2005-04-20 Thien-Thi Nguyen + + * configure.in: Check for . + + 2005-04-14 Lute Kamstra + + * make-dist: Distribute all ChangeLog files in lisp/. + Don't distribute ldefs-boot.el. + lisp/makefile.nt no longer exists. + + 2005-04-13 Lute Kamstra + + * make-dist: Don't use DONTCOMPILE from lisp/Makefile.in; check + for "no-byte-compile: t" in the file instead. + + 2005-03-16 Stefan Monnier + + * configure.in : Don't let a special LessTif/Motif1.2 install + shadow the main Lesstif/Motif-2.1 libs and includes. + + 2005-03-10 Jan Djärv + + * configure.in: Only add XASSERTS to cppflags. + + 2005-03-04 Jan Djärv + + * configure.in: Added --enable-asserts. + + 2005-02-09 Kim F. Storm + + Change release version from 21.4 to 22.1 throughout. + Change development version from 21.3.50 to 22.0.50. + + 2005-01-19 Steven Tamm + + * configure.in: Check for . + + 2004-12-11 Kim F. Storm + + * Makefile.in (info): Undo 2004-12-05 change. + + 2004-12-08 Luc Teirlinck + + * info/dir (File): Add URL and Org Mode manuals. + * Makefile.in (install-arch-indep, uninstall): Add url and org + manuals. + + 2004-12-07 Stefan Monnier + + * configure.in (INLINE, RE_TRANSLATE_P): Move patches mistakenly + committed to src/config.in. + + 2004-12-07 Jan Djärv + + * configure.in: If $HAVE_GTK_FILE_CHOOSER = yes, check for + pthreads and define HAVE_GTK_AND_PTHREAD. + + 2004-12-05 Richard M. Stallman + + * Makefile.in (info): Ignore errors building info files. + + 2004-11-27 Eli Zaretskii + + * config.bat: If 8-byte alignment is not supported, define + NO_DECL_ALIGN in src/config.h, instead of trivially defining + DECL_ALIGN. Protect & with "" because & is special for cmd.exe; + filter through Sed to remove the quotes. + + 2004-11-22 Stefan Monnier + + * info/.cvsignore: Ignore everything. It's OK since .cvsignore does + not apply to files explicitly `cvs add'ed. + + 2004-11-12 Eli Zaretskii + + * config.bat: Don't require djecho.exe for the v1.x build. + Add a test for DECL_ALIGN support, and add a trivial definition to + src/config.h if 8-byte alignment is not supported. + + 2004-11-08 Kim F. Storm + + * Makefile.in (bootstrap, bootstrap-clean-before): Remove .elc + files before building. + (bootfast, bootstrap-clean-before-fast): New targets, like + bootstrap but don't remove .elc files. + + 2004-11-06 Lars Brinkhoff + + * configure.in: Add check for getrusage. + + 2004-11-02 Jan Djärv + + * configure.in (HAVE_GTK_FILE_CHOOSER, $HAVE_GTK_FILE_SELECTION): + New tests for new and old GTK file dialogs. + (HAVE_GTK): Only set with_toolkit_scroll_bars if not explicitly set + to no. + + 2004-10-20 Jan Djärv + + * configure.in (HAVE_PERSONALITY_LINUX32): New test if PER_LINUX32 + can be set. Remove SETARCH test. + + 2004-10-08 Steven Tamm + + * configure.in (HAVE_MALLOC_MALLOC_H): Test for malloc/malloc.h. + + 2004-10-06 Jan Djärv + + * configure.in (HAVE_RANDOM_HEAPSTART): Change AC_MSG_ERROR to + AC_MSG_WARN. Move output of warning message to end of configure run. + + 2004-10-05 Jan Djärv + + * configure.in (HAVE_RANDOM_HEAPSTART): Rename HAVE_EXECSHIELD. + Run test to see if heap start address is random. + + 2004-09-29 Miles Bader + + * configure.in (HAVE_EXECSHIELD): Test correct env variable to see + if setarch is present. + + 2004-09-25 Jan Djärv + + * configure.in (HAVE_EXECSHIELD): Only define on x86. + + 2004-09-24 Jan Djärv + + * configure.in: Check for exec-shield. + + 2004-09-04 Reiner Steib + + * Makefile.in (install-arch-indep): Add pgg and sieve. + + * info/.cvsignore: Added pgg and sieve. + + 2004-08-06 Andreas Schwab + + * Makefile.in (install-arch-indep, uninstall): Add flymake. + + 2004-07-31 Eli Zaretskii + + * config.bat: Update URLs in the comments. + + 2004-07-05 Andreas Schwab + + * Makefile.in (install-arch-indep): Remove .arch-inventory files. + + 2004-06-21 Kenichi Handa + + * make-dist: Link leim-ext.el into tempdir. + + 2004-06-15 Luc Teirlinck + + * info/dir (File): Add emacs-xtra. + * Makefile.in (install-arch-indep, uninstall): Add emacs-xtra. + + 2004-06-12 Juri Linkov + + * info/dir: Move menu help lines from `* Menu:' to file header. + Describe the purpose of a red *. + + 2004-05-04 Dave Love + + * configure.in: Don't use `extrasub'. + + 2004-04-29 Dave Love + + * configure.in: Don't forget to quote args to `test'. + + 2004-04-24 Thien-Thi Nguyen + + * autogen.sh: Update filename in "please read" message. + + 2004-04-17 Richard M. Stallman + + * INSTALL: Move the info about site-lisp dirs, + and say uninstalled Emacs looks there too. + + 2004-04-04 Eli Zaretskii + + * config.bat (lib-src): Recognize comment lines in Makefile.in + that have a TAB after the #, to avoid errors in preprocessing with + GCC 3.3.3. + + 2004-03-31 Luc Teirlinck + + * Makefile.in: Mention in comment that `make maintainer-clean' + deletes .elc files. + + 2004-03-22 Stefan Monnier + + * update-subdirs: Add local variables to prevent byte-compiling. + + 2004-03-21 Dave Love + + * configure.in: Fix previous change. + + 2004-03-18 Dave Love + + * configure.in: Add -znocombreloc to LDFLAGS if compiler supports it. + + 2004-03-15 Luc Teirlinck + + * info/dir (File): Add SMTP and SES. + + 2004-03-02 Stefan Monnier + + * Makefile.in (maintainer-clean): Clean in the lisp dir as well. + (bootstrap): Use the new bootstrap-prepare target in lisp. + + 2004-02-18 Kim F. Storm + + * INSTALL.CVS: Add info about ssh/cvs related problems and work-around. + + 2004-02-16 Eli Zaretskii + + * make-dist: Don't link index.*perm and permute-index into tempdir. + + 2004-02-14 Jonathan Yavner + + * AUTHORS (JonathanYavner): Rename testcover-*.el to tcover-*.el + to match previous changes by Eli Zaretskii. + + 2004-02-09 Luc Teirlinck + + * Makefile.in: Set CDPATH to an empty string. + + 2004-01-27 Stefan Monnier + + * configure.in : Use fink packages if available. + + 2004-01-25 Jérôme Marant (tiny change) + + * make-dist (lispref): Do include lispref/index.texi. + + 2004-01-06 Eric Hanchrow + + * make-dist (tempdir): Include cursors in nt/icons. + + 2003-12-30 Eli Zaretskii + + * INSTALL.CVS: Renamed from INSTALL-CVS to avoid file-name + clashes with install-sh on 8+3 filesystems. + + 2003-12-24 Miles Bader + + * .cvsignore: Add .arch-inventory. + + 2003-12-24 Andreas Schwab + + * configure.in: Check for . Include it before + including . Move check for before its use. + + 2003-12-24 Jan Djärv + + * Makefile.in (install-arch-dep): Don't let cd output go into + pipe for carbon_appdir. + + 2003-12-24 Andreas Schwab + + * configure.in (PKG_CHECK_MODULES): Fix quoting. + + 2003-12-01 Andreas Schwab + + * configure.in (powerpc-apple-darwin*): Use ${CC-cc} instead of + hardcoding gcc. + + 2003-11-16 Jan Djärv + + * configure.in (HAVE_GTK_MULTIDISPLAY): Check if GTK can handle + multiple displays. + Wrong number of args to AC_CHECK_LIB for HAVE_X_SM test corrected. + + 2003-09-23 Dave Love + + * configure.in: Check members of struct ifreq. + + 2003-09-14 Kim F. Storm + + * configure.in: Add checks for sys/ioctl.h and net/if.h. + + 2003-09-12 Luc Teirlinck + + * Makefile.in (install-arch-indep, uninstall): Add SES manual. + + 2003-08-18 Lute Kamstra + + * configure.in: Revert the change of 2003-07-29 as GTK+ 2.2 is not + required anymore. + + 2003-08-07 Andrew Choi + + * configure.in [powerpc-apple-darwin*]: Use the -no-cpp-precomp + option instead of -traditional-cpp for CPP. + + 2003-07-29 Richard M. Stallman + + * configure.in (HAVE_XIM): Define if XIM is available. + + 2003-07-29 Tim Van Holder + + * configure.in: The function gtk_window_set_icon_from_file was + introduced in GTK+ 2.2, so check for that release. + + 2003-07-23 Andreas Schwab + + * configure.in: Add --enable-maintainer-mode, substitute MAINT. + + * Makefile.in (YACC): Remove, not used. + (MAINT): Don't set. + (${srcdir}/configure, $(srcdir)/src/stamp-h.in): Use @MAINT@ to + disable dependency on ${srcdir}/configure.in when maintainer mode + is disabled. + + 2003-07-22 Dave Love + + * configure.in: Make XRegisterIMInstantiateCallback test depend on + HAVE_X11, not with_xim. + (HAVE_CRTIN): Provide template. + : Test for png.h and libpng/png.h. + + 2003-07-15 Andreas Schwab + + * configure.in: Temporarily leave quoting for AC_DEFINE. + + 2003-07-13 Stefan Monnier + + * configure.in: Check for posix_memalign. + + 2003-07-12 Richard M. Stallman + + * configure.in [netbsd systems]: Define HAVE_CRTIN properly. + + 2003-07-09 Kim F. Storm + + * INSTALL (DETAILED BUILDING AND INSTALLATION): Describe new + functionality of --without-xim. + + 2003-06-29 Dave Love + + * configure.in: Fix XRegisterIMInstantiateCallback check for gcc. + + 2003-06-23 Dave Love + + * configure.in: Check for sys/_mbstate_t.h. + Test XRegisterIMInstantiateCallback prototype. + (AH_BOTTOM): Define DO_BLOCK_INPUT, my_strftime. + + 2003-06-06 Dave Love + + * configure.in: Check for locale.h. + + 2003-06-05 Dave Love + + * configure.in: Check for memcpy, mempcpy, mblen, mbrlen. + Use AC_FUNC_STRFTIME, AC_STRUCT_TIMEZONE, AC_TYPE_MBSTATE_T. + (NLIST_STRUCT): Don't define. + (AH_BOTTOM): Define my_strftime. + + 2003-06-02 Richard M. Stallman + + * configure.in: Revert changes of 2003-03-03 and 2003-05-24. + + 2003-05-24 Andreas Schwab + + * configure.in (AH_BOTTOM) [MAC_OSX]: Do not redefine bcopy, + bzero, and bcmp. + + 2003-05-22 Dave Love + + * configure.in: Remove redundant test for term.h. Test for difftime. + + 2003-05-20 Dave Love + + * configure.in: Append * to s390-*-linux-gnu case. + (LIBMAIL) : Don't define. + + 2003-04-30 Kai Großjohann + + * INSTALL (* GNU/Linux development packages): Mention Debian and + RedHat package names. + + 2003-04-30 Boyd Lynn Gerber + + * configure.in: Handle system types sysv5uw* and sysv5OpenUNIX*. + + 2003-04-30 Kai Großjohann + + * INSTALL (* GNU/Linux development packages): Tell people to + install additional packages for compiling Emacs. + + 2003-04-30 Richard M. Stallman + + * configure.in: Handle system types sysv5uw* and sysv5OpenUNIX*. + + 2003-04-28 Francesco Potortì + + * configure.in: Undo last (RMS') change, as it is useless, per + Dave Love. + + 2003-04-08 Richard M. Stallman + + * configure.in: Put #include of jpeglib.h at start of line. + + 2003-04-06 Francesco Potortì + + * configure.in: Use the same configuration for all aix5, not just + aix5.1. + + 2003-03-16 Nelson H. F. Beebe (tiny change) + + * configure.in: Check for need for bigtoc support on IBM AIX for + solving a linker table overflow problem. + + 2003-03-03 Rob Browning + + * configure.in: Add AC_CHECK_FUNCS for memcmp and memmove. + (AH_BOTTOM): Switch tests to prefer memcmp, memset, and memmove + over bzero, bcmp, and bcopy. + + 2003-02-23 Simon Josefsson + + * Makefile.in (install-arch-indep, uninstall): Add SMTP manual. + + 2003-02-21 Klaus Zeitler + + * configure.in: Set new hpux10-20.h as "major" include for 10.20. + + 2003-02-13 Robert J. Chassell (tiny change) + + * INSTALL (* Extra fonts): Say that Emacs doesn't include fonts. + + 2003-02-08 Andreas Schwab + + * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable + instead of the substitution. + + 2003-01-31 Joe Buehler + + * Makefile.in: Use @EXEEXT@ for Cygwin. + Use USERNAME if LOGNAME is not set (for Cygwin). + + * configure.in: Add opsys=cygwin. + + 2003-01-22 Andreas Schwab + + * configure.in: Set HAVE_MENUS=yes when HAVE_CARBON=yes instead of + redefining it explicitly in src/config.in. + + 2003-01-22 Markus Rost + + * Makefile.in (bootstrap): Make bootstrap-after. + + 2003-01-20 Jan Djärv + + * configure.in: Fix --with-gtk. + + 2003-01-19 Jan Djärv + + * configure.in: Add --with-gtk, --with-x-toolkit=gtk. + + * INSTALL (DETAILED BUILDING AND INSTALLATION): Add text about GTK. + + 2003-01-14 Francesco Potortì + + * configure.in (m68k-motorola-sysv): Remove (obsolete). + + 2003-01-07 Steven Tamm + + * configure.in: New option, --enable-carbon-app, to specify + that the application should be installed + * Makefile.in (install-arch-dep): On Mac OS X, install the + Emacs.app application if carbon-app is enabled. + + 2003-01-06 Dave Love + + * configure.in: Check for nl_langinfo. + [!HAVE_SIZE_T]: Fix typedef. + + 2003-01-06 David Kastrup + + * Makefile.in (INSTALL_INFO): Get install-info command from configure. + + * configure.in: Add tests for install-info. + + 2002-12-09 Markus Rost + + * configure.in (*-sunos5*, *-solaris*): Revert previous change - + use again sol2-6 instead of sol2-8. + + 2002-12-09 Dave Love + + * configure.in (*-sunos5.8*, *-solaris2.8*): Delete configurations. + + 2002-12-08 Andreas Schwab + + * Makefile.in (install-arch-indep): Revert last change. + + 2002-11-27 Dave Love + + * configure.in: Use AC_CHECK_DECLS, not AC_DECL_SYS_SIGLIST. + Check for __sys_siglist too. Check for memset. + Use AC_FUNC_GETPGRP. Add mipsel-*-linux-gnu* target. + + 2002-11-22 Juanma Barranquero + + * config.guess, config.sub: Updated from master source. + + 2002-11-19 Karl Fogel + + * autogen.sh: New file. + + 2002-11-18 Dave Love + + * configure.in: Tidy up various quoting issues throughout. + Use AC_GNU_SOURCE. + (AH_BOTTOM): Fix #endif protecting config.h. Maybe include + alloca.h. Define GC_SETJMP_WORKS, GC_LISP_OBJECT_ALIGNMENT. + Maybe define bcopy, bzero, bcmp. + (powerpcle-*-solaris2.5*, powerpcle-*-solaris2*): Remove (use + non-existent machine file). + (sys/vlimit.h, sys/resource.h, fsync, __restrict): Test for. + (term.h, X11/Xaw3d/Scrollbar.h): Avoid warning from test. + (nlist.h): Move test up. + + 2002-11-18 Markus Rost + + * configure.in (*-sunos5*, *-solaris*): Use sol2-8. + + 2002-11-14 Francesco Potortì + + * configure.in (*-sunos5.8*, *-solaris2.8*): New configurations. + + 2002-11-11 Tim Van Holder + + * Makefile.in (install-arch-indep): Prepend $(srcdir)/ to lisp. + + 2002-11-08 Dave Love + + * configure.in: Use AC_CONFIG_LIBOBJ_DIR and require autoconf 2.54. + (AH_BOTTOM) [!HAVE_SIZE_T]: Typedef size_t. + + 2002-11-07 Miles Bader + + * Makefile.in (maybe_bootstrap): Fix shell variable usage. + Handle separate-build-dir case. + + 2002-11-06 Richard M. Stallman + + * Makefile.in (maybe_bootstrap): Add doublequotes to make it + bulletproof. $bar may be empty when there are no .elc files. + + 2002-10-30 Dave Love + + * configure.in: Require autoconf 2.53. Test for pty.h, + sys/mman.h, sys/param.h, mremap, memmove. + (AH_BOTTOM): Maybe include strings.h. Add local variables for mode. + (AC_PROG_YACC): Delete. + (size_t): Use AC_CHECK_TYPES. + (AH_TOP): Up-date copyright. + + 2002-10-01 Juanma Barranquero + + * update-subdirs: Add "no-byte-compile: t" to subdirs.el. + + 2002-09-19 Richard M. Stallman + + * configure.in: Fix the LessTif-directory-finder for real. + + 2002-09-14 Richard M. Stallman + + * Makefile.in (maybe_bootstrap): Test for complete absence + of compiled Lisp files. + + 2002-09-11 Stefan Monnier + + * Makefile.in (bootstrap-lisp-1, bootstrap-lisp, bootstrap) + (bootstrap-clean-after): Delete. + (bootstrap): Make the sequencing explicit. + + 2002-09-10 Richard M. Stallman + + * configure.in: Fix previous LessTif change. + + 2002-09-09 Richard M. Stallman + + * configure.in (powerpcle-*-solaris2.5*): New configuration. + (powerpcle-*-solaris*): Use version 2.6 as default. + (*-sunos5.6*, *-solaris2.6*): New alternative. + (*-sunos5*): Use version 2.6 as default. + + 2002-09-06 Kai Großjohann + + * configure.in: Fix typo. + + 2002-09-05 Richard M. Stallman + + * configure.in: Look for LessTif in /usr/X11R6/LessTif/ before Motif. + + * configure.in: Handle $GCC_LINK_TEST_OPTIONS and + $NON_GCC_LINK_TEST_OPTIONS after the AC_PROG_... macros. + + 2002-08-26 Kim F. Storm + + * Makefile.in (install-arch-indep): Do not remove DOC file + when it is the only DOC file installed; this is the case when + CANNOT_DUMP is defined. From Joe Buehler (tiny change). + + 2002-07-24 Markus Rost + + * configure.in: Fix typo. + + 2002-07-24 Richard M. Stallman + + * configure.in: Don't print anything special about gamedir. + + * configure.in: Delete nonstandard --with-game-user option. + + 2002-07-21 Richard M. Stallman + + * Makefile.in (gamedir, localstatedir): New variables. + (epaths-force): Insert value of gamedir into PATH_GAME. + + * configure.in (gamedir): Handle it like lispdir. + (--with-game-dir option): Delete. + + 2002-06-21 Pavel Janík + + * configure.in: Add support for mipseb-*-netbsd* machines. + + 2002-06-18 Kai Großjohann + + * Makefile.in (install-arch-indep, uninstall): Add Tramp. + + 2002-06-17 Kai Großjohann + + * info/dir (File): Add an entry for Tramp. + + 2002-06-17 Eli Zaretskii + + * INSTALL-CVS: New file. + + 2002-06-07 Andreas Schwab + + * configure.in (x86_64-*-linux-gnu*): New system. + + 2002-05-31 Eli Zaretskii + + * config.bat: Handle the case when lispintro is truncated to lispintr. + + 2002-05-26 Paul Eggert + + * config.guess, config.sub: Updated from master source. + + 2002-05-09 Richard M. Stallman + + * configure.in (emacs_cv_speed_t): Add square brackets for clarity. + + 2002-05-04 Pavel Janík + + * make-dist: Do not distribute lock/ directory. + + 2002-04-30 Andrew Choi + + * configure.in: Provide documentation string when defining + variable HAVE_CARBON. Also define HAVE_WINDOW_SYSTEM, HAVE_MOUSE, + and HAVE_MENUS in AH_BOTTOM if HAVE_CARBON is defined. + + 2002-04-29 Colin Walters + + * configure.in: Delete configure check for access to the game user. + + 2002-04-29 Pavel Janík + + * make-dist: lwlib/Imakefile is removed. + + 2002-04-26 Andrew Choi + + * configure.in: Add support for powerpc-apple-darwin*. + (HAVE_CARBON): Add. + + * make-dist: Create directories in mac/Emacs.app. + + 2002-04-25 Pavel Janík + + * make-dist: lwlib-Xol* are removed. + + 2002-04-23 Andreas Schwab + + * Makefile.in (MAINT): New variable. + (${srcdir}/configure, $(srcdir)/src/stamp-h.in): Depend on this + instead of configure.in, to avoid running autoconf and autoheader + unless explicitly requested. + + 2002-04-16 Eli Zaretskii + + * config.bat: Update for msdos/sed2v2.inp. + + 2002-04-15 Andreas Schwab + + * Makefile.in ($(srcdir)/src/config.in): Generate using autoheader. + * configure.in: Add config header templates to all AC_DEFINE and + AC_DEFINE_UNQUOTED symbols. + * make-dist: Run autoheader if necessary. + + 2002-04-10 Colin Walters + + * configure.in: Add --game-dir, --game-user. Test to see if we + can use them. + + 2002-04-08 Pavel Janík + + * configure.in: Add --with-sound. + + 2002-03-18 Kim F. Storm + + * configure.in: Test for sendto, recvfrom, getsockopt, setsockopt, + and getsockname functions. Test for sys/un.h include file. + + 2002-03-15 Eli Zaretskii + + * configure.in: Support AIX 5.1. + + 2002-03-10 Jan Djärv + + * configure.in: Added test for X Session Management (HAVE_X_SM). + + 2002-03-03 Richard M. Stallman + + * Makefile.in (install-arch-indep): Use umask 022 for DOC* and lisp/. + Run chown $${LOGNAME} on files installed by tar xvf. + + 2002-03-03 Kim F. Storm + + * configure.in: Test for getpeername. + + 2002-03-01 Richard M. Stallman + + * configure.in (HAVE_JPEG): Turn it off if libjpeg version < 6b. + (HAVE_GIF): Don't use old libungif versions that crash. + + 2002-02-26 Richard M. Stallman + + * configure.in : Verify that PWD is correct, + not just well-formed and valid. + (mips-compaq-nonstopux*): New configuration. + + 2002-02-18 Paul Eggert + + * make-dist: Port to POSIX 1003.1-2001, which doesn't allow "head -1". + "sed q" is a portable equivalent to plain "head -1". + + 2002-02-13 Richard M. Stallman + + * Makefile.in (maybe_bootstrap): Do `exit 1'. + (all): Don't depend on maybe_bootstrap here. + (${SUBDIR}): Depend on it here instead. + + 2002-02-08 Richard M. Stallman + + * Makefile.in (maybe_bootstrap): Add an infinite sleep-loop. + + 2002-01-27 Eli Zaretskii + + * configure.in: Recognize BSD/OS 5.0. + + 2002-01-11 Eli Zaretskii + + * make-dist: Make version checking in emacs.texi consistent with + how we set it there. + + 2001-12-29 Kim F. Storm + + * INSTALL: Now requires autoconf 2.51. + + 2001-12-28 Richard M. Stallman + + * configure.in: Test for mbsinit. + + 2001-12-21 Eli Zaretskii + + These changes make Leim part of the standard distribution: + + * README: Add info about the `leim' directory. + + * INSTALL: Remove text that describes Leim as a separate package. + + * noleim-Makefile.in: File removed. + + * make-dist: Don't copy noleim-Makefile.in to the leim subdirectory. + Link Leim files to ${tempdir}/leim, not to real-leim. Don't move + Leim files out of the Emacs tree. Don't prepare a separate tarball + for Leim. + + 2001-12-11 Richard M. Stallman + + * configure.in (hppa*-*-linux-gnu*): New alternative. + + 2001-12-08 Pavel Janík + + * make-dist: Copy COPYING to leim/, lwlib/, mac/ and nt/ when + creating distribution. + + 2001-12-06 Paul Eggert + + * configure.in (AC_PREREQ): Bump from 2.50 to 2.51; needed for vfork. + (AC_FUNC_VFORK): Remove. + (AC_FUNC_FORK): Add. + (HAVE_DES_H, HAVE_KRB5_H): Properly quote args of AC_CHECK_HEADERS; + this is required by recent Autoconf versions. + + 2001-12-02 Pavel Janík + + * make-dist: Do not try to link removed files (aclocal.m4, _emacs, + TODO, vms-pp.trans and others). + + 2001-11-29 Pavel Janík + + * make-dist: Use COPYING from the top-level directory. + + 2001-11-29 Gerd Moellmann + + * configure.in: Add support for FreeBSD/Alpha. + + 2001-11-29 Pavel Janík + + * make-dist: Add COPYING to the top-level directory of the + distribution. Simplify the logic behind copying. + + * Makefile.in (maybe_bootstrap): Fix previous change. + + 2001-11-28 Richard M. Stallman + + * Makefile.in (maybe_bootstrap): Don't bootstrap, just suggest it. + + 2001-11-26 Richard M. Stallman + + * Makefile.in: bootstrap should not delete dumped executables. + (bootstrap-clean-before): New target. + (bootstrap): Use bootstrap-clean-before instead of clean. + (bootstrap-clean-after): Rename from bootstrap-clean. Calls changed. + + 2001-11-24 Eli Zaretskii + + These changes add the Emacs Lisp Introduction manual to the + distribution: + + * Makefile.in (install-arch-indep, uninstall): Add ELisp Intro files. + + * make-dist: Copy the files in lispintro directory. + + * config.bat: Configure in the lispintro directory. + + * configure.in (AC_OUTPUT): Add lispintro/Makefile. + + * Makefile.in (SUBDIR_MAKEFILES): Add lispintro. + (lispintro/Makefile): New target. + (mostlyclean, clean, distclean, maintainer-clean): Add lispintro. + (unlock, relock, info, dvi): Ditto. + + 2001-11-23 Eli Zaretskii + + * Makefile.in (uninstall, install-arch-indep): Don't install gfdl.1. + + * make-dist (etc): Don't distribute gfdl.1. + + 2001-11-22 Colin Walters + + * Makefile.in (install-arch-indep): Install the calc .info files. + (uninstall): Handle deletion of calc .info files (thanks Pavel Janík). + + 2001-11-17 Eli Zaretskii + + * make-dist (lispref): Add *.txt, *.el, permute-index, and + tindex.pl to the list of those being put into the distribution. + + 2001-11-16 Eli Zaretskii + + * configure.in: Add coff.h to the list in AC_CHECK_HEADERS. + + 2001-11-15 Pavel Janík + + * Makefile.in (uninstall): Fix previous change. + + * configure.in, Makefile.in: Add support for --program-prefix, + --program-suffix and --program-transform-name options. + + 2001-11-13 Pavel Janík + + * Makefile.in (install-arch-indep): Use `${manext}' instead of `.1'. + (install-arch-indep): Install emacsclient manual page. + (uninstall): Uninstall emacsclient manual page. + + 2001-11-12 Eli Zaretskii + + * make-dist: Add lispref/index.*perm files to the distribution. + From Pavel Janík . + + 2001-11-12 Pavel Janík + + * Makefile.in (uninstall): Remove gfdl.1 when uninstalling. + + 2001-11-10 Eli Zaretskii + + * configure.in: AC_OUTPUT lispref/Makefile. + + 2001-11-10 Eli Zaretskii + + The following changes add the ELisp reference manual to the + distribution. + + * make-dist: Add the lispref directory to the distribution. + + * Makefile.in (install-arch-indep): Add elisp* to the list of + installed Info files. + (SUBDIR_MAKEFILES): Add lispref/Makefile. + (lispref/Makefile): New target. + (mostlyclean, clean, distclean, maintainer-clean, unlock, relock): + Add commands for the lispref directory. + (info, dvi): Ditto. + + * config.bat: Configure in `lispref'. + + 2001-11-09 Richard M. Stallman + + * Makefile.in (bootstrap-lisp): Don't suppress error messages. + + 2001-11-07 Eli Zaretskii + + * make-dist (tempdir): Copy AUTHORS as well. + + 2001-11-06 Sam Steingold + + * configure.in: Added a check for . + + 2001-11-01 Pavel Janík + + * configure.in: Reindent --help output. + From Per Starbäck (starback@ling.uu.se). + + 2001-10-31 Eli Zaretskii + + * configure.in: New entry for HP/UX-11. + + * Makefile.in (SOURCES): Replace GETTING.GNU.SOFTWARE with FTP. + From Eric S. Raymond . + + 2001-10-28 Eli Zaretskii + + * configure.in (s390-*-linux-gnu): New system. From Adam Thornton + . + + 2001-10-25 Gerd Moellmann + + * Makefile.in (maybe_bootstrap): New target. + (all): Add to prerequisites to bootstrap if abbrev.elc doesn't exist. + + 2001-10-24 Ken Raeburn + + * configure.in: If --with-hesiod is given, look for + hes_getmailhost and res_send or __res_send; check hesiod and + resolv libraries respectively if system libraries don't supply them. + + 2001-10-24 Gerd Moellmann + + * configure.in: Use $MAKE for `make' if set. + + 2001-10-22 Gerd Moellmann + + * Makefile.in (install-arch-indep): Add -h (follow symlinks) + to tar options. + + 2001-10-20 Gerd Moellmann + + * (Version 21.1 released). + + 2001-10-20 Miles Bader + + * configure.in (configuration): Set from `host' if `host_alias' + isn't defined. + + 2001-10-19 Andreas Schwab + + * configure.in: Make ready for autoconf 2.5x. + (AC_PREREQ): Require autoconf 2.50. + * aclocal.m4: Removed. + * Makefile.in (${srcdir}/configure): Don't depend on aclocal.m4. + + 2001-10-13 Eli Zaretskii + + * README: Bump Emacs version to 21.1.50. + + 2001-10-05 Gerd Moellmann + + * Branch for 21.1. + + 2001-09-05 Gerd Moellmann + + * configure.in: Avoid `$@' which is handled specially in + Autoconf 2.52. From "Adam J. Richter" . + + 2001-09-01 Eli Zaretskii + + * make-dist (nt): Add subdirs.el to the list of distributed files. + + 2001-08-14 Eli Zaretskii + + * configure.in (machine): Add an entry for + hppa1.1-hitachi-hiuxwe2*. + + 2001-05-28 Gerd Moellmann + + * make-dist (LANG): Set LC_ALL and LANGUAGE to C, unset + LC_MESSAGES and LANG. From Karl Eichwalder . + + 2001-05-14 Gerd Moellmann + + * make-dist: Copy texinfo.tex unconditionally. + + 2001-04-25 Eli Zaretskii + + * Makefile.in (install-arch-indep): Add gfdl.1 to the man pages + that are installed. + + 2001-04-06 Gerd Moellmann + + * make-dist: Copy only `[a-z]*.{el,elc}' from leim/quail. + Don't copy quick-b5, quick-cns, tsang-b5, and tsang-cns files. + + * make-dist: Handle leim/MISC-DIC. Only include + `[a-zA-Z]*.{el,elc}' from leim/quail. + + 2001-04-05 Gerd Moellmann + + * Makefile.in (install-arch-indep): Remove .cvsignore files. + + 2001-03-30 Gerd Moellmann + + * Makefile.in (.PHONY): Add for bootstrap targets. + (bootstrap-clean): New target. + (bootstrap): Use it instead of `clean'. + + 2001-03-29 Eli Zaretskii + + * Makefile.in (SUBDIR): Remove leim. + (all, .RECURSIVE, extraclean): Add leim explicitly. + (leim): Provide separate rule which exports PARALLEL=0 into the + environment. + + 2001-03-20 Gerd Moellmann + + * configure.in (HAVE_XPM): Don't print the result of the check for + XpmReturnAllocPixels if we don't have an xpm.h. + + 2001-03-05 Gerd Moellmann + + * COPYING: New file. + + 2001-03-04 Eli Zaretskii + + * config.bat: Update the copyright. + + 2001-02-23 Kenichi Handa + + * configure.in: Use AC_EGREP_CPP to check if the C preprocessor + converts `..' to `. .'. If it converts, set CPP_NEED_TRADITIONAL + to `yes'. Later in AC_OUTPUT, check this variable. + + 2001-02-09 Dave Love + + * AUTHORS: Updated. + + 2001-02-06 Eli Zaretskii + + * info/dir (Ebrowse): Fix the entry (was missing a dot). + + 2001-02-02 Gerd Moellmann + + * mkinstalldirs (errstatus): Chmod a+rx directories we create. + + * Makefile.in (uninstall): Ignore exit code of `rm'. + + * Makefile.in (uninstall): Remove more info files. + Remove ${libexecdir}/emacs/${version}. Remove ${archlibdir}/fns-*. + + 2001-01-31 Gerd Moellmann + + * noleim-Makefile.in (extraclean): Add. + + 2001-01-28 Gerd Moellmann + + * Makefile.in (extraclean): Add -f to -rm config-tmp-* to keep + it quiet. + + 2001-01-24 Colin Walters + + * Makefile.in (tags): Fix typo. + + 2001-01-13 Kenichi Handa + + * configure.in: Fix typo in the code setting x_search_path. + + 2001-01-10 Dave Love + + * configure.in: Don't reset LIBS at end of -lXmu test. Test for + -lXext. + (HAVE_XKBGETKEYBOARD): Fix reporting of result. + (HAVE_LIBXP): Remove -lXt from AC_CHECK_LIB. + (HAVE_XAW3D, HAVE_XPM, HAVE_JPEG, HAVE_PNG, HAVE_TIFF, HAVE_GIF): + Don't frob CFLAGS. Remove extra X libs from AC_CHECK_LIB + (now in $LIBS). + + 2001-01-08 Eli Zaretskii + + * config.bat: Run the preprocessor with -traditional. + + 2001-01-01 Eli Zaretskii + + * INSTALL: Move copying conditions to end of file. + + 2000-12-27 Eli Zaretskii + + * INSTALL: Add basic installation procedure which assumes + `configure' does its job. Elaborate on image support libraries. + Add a pointer to Xaw3d library. Add advice about solving + configure-time problems by looking in config.log and setting + variables in the environment. + + 2000-12-27 Gerd Moellmann + + * Makefile.in (install-arch-indep): If tar fails, exit with + exit code 1. + + 2000-12-19 Gerd Moellmann + + * configure.in: Test for XkbGetKeyboard with an AC_TRY_LINK whose + source file includes XKBlib.h. On some broken Solaris systems, + there is an XKBlib.h, reportedly, but header files included by + XKBlib.h are missing. + + 2000-12-14 Gerd Moellmann + + * configure.in: AC_CHECK_FUNC XkbGetKeyboard. + + 2000-12-11 Dave Love + + * configure.in : Use full path for NON_GNU_CPP. + + 2000-12-11 Paul Eggert + + * aclocal.m4 (AC_SYS_LARGEFILE, AC_SYS_LARGEFILE_MACRO_VALUE): + Merge fixes from latest GNU tar version. These macros no longer + futz with _XOPEN_SOURCE, as that was not portable in practice. + (AC_FUNC_FSEEKO): New macro. + + * configure.in: Use it instead of invoking AC_CHECK_FUNCS on + ftello. + + 2000-12-05 Dave Love + + * Makefile.in (TAGS, info): Avoid tab-prefixed comments in rules. + + 2000-12-02 Eli Zaretskii + + * info/dir: Change the category to "Emacs". + + 2000-12-01 Gerd Moellmann + + * make-dist (tempdir): Remove epaths.h from the distribution + instead of paths.h. + + 2000-11-23 Eli Zaretskii + + * config.bat: Check for existence of djecho.exe, and print an + error message if it is not available. + + * INSTALL: Describe possible problem with djecho.exe in old + versions of DJGPP v2.x. + + 2000-11-23 Gerd Moellmann + + * configure.in: Initialize HAVE_LIBXP to no. + + 2000-11-22 Gerd Moellmann + + * configure.in: Use m/macppc.h instead of the non-existent + m/powerpc.h. + + 2000-11-21 Gerd Moellmann + + * Makefile.in (install-arch-indep): Also install info/eshell* + and info/speedbar*. + + * configure.in (HAVE_PNG): Check for the presence of + png_get_channels to rule out older PNG libs. + + * configure.in (AC_OUTPUT): Arrange to emit definitions of + GCC and NON_GNU_CPP into config.status. + + 2000-11-20 Dave Love + + * configure.in: Fix last change. + + * GETTING.GNU.SOFTWARE: Deleted. + * FTP: New file to replace it. + * make-dist: Add FTP, remove GETTING.GNU.SOFTWARE. + + 2000-11-20 Gerd Moellmann + + * configure.in: Use -traditional with GNU cpp. + + 2000-11-17 Gerd Moellmann + + * make-dist: Handle the Mac port. Distribute all makefile.w32-in. + Distribute more files from the nt/ subdir. Distribute PBM + image files from subdirs of lisp/. Distribute old change logs + from subdirs of lisp/. Distribute play/5x5.el. + + 2000-11-11 Dave Love + + * config.sub, config.guess: Updated from master source. + + 2000-11-07 Dave Love + + * configure.in: Test for mkstemp. + + 2000-11-01 Eli Zaretskii + + * info/dir (Top): Rearrange menu items more logically, and put + them into a single category. Add menu items for RefTeX and + Widget. + + 2000-10-29 Kai Großjohann + + * Makefile.in (install-arch-indep): Use --info-dir instead of + --dir-file, and a simple argument instead of --info-file, so that + the Debian version of install-info also works. + + 2000-10-19 Eric M. Ludlam + + * info/dir (Speedbar): Add entry. + + 2000-10-16 Eli Zaretskii + + * INSTALL: Describe the new image-support options to the configure + script. List URLs where image support libraries can be found. + + 2000-10-14 Eli Zaretskii + + * info/dir (Top): Add an entry for Eshell. + + 2000-10-02 Dave Love + + * configure.in: Check for gai_strerror. + + 2000-10-01 Andreas Schwab + + * Makefile.in (install-arch-indep): Update list of installed info files. + + 2000-09-30 Gerd Moellmann + + * configure.in: Support `sparc*-*-netbsd*'. + + 2000-09-29 Eli Zaretskii + + * info/dir (MIME): Add entry for emacs-mime. + + 2000-09-29 Dave Love + + * configure.in: Fix alpha*-dec-osf4 using the osf5 config. + + 2000-09-26 Gerd Moellmann + + * make-dist: Adapt to the change of leim/Makefile which was + necessary to ensure a reasonably working `make dist'. + + * leim-Makefile.in: Moved to leim/Makefile.in.. + + * noleim-Makefile.in: New file, formerly leim/Makefile.in. + + 2000-09-21 Kenichi Handa + + * leim-Makefile.in (TIT-GB, TIT-BIG5, NON-TIT-GB, NON-TIT-BIG5) + (NON-TIT-CNS, JAPANESE, KOREAN, THAI, VIETNAMESE, LAO, INDIAN) + (TIBETAN, LATIN, SLAVIC, GREEK, RUSSIAN, MISC): Rename all .el + files to .elc. + (${TIT}): Adjust for the above change. + (clean mostlyclean): Likewise. + (.el.elc): New target. + + 2000-09-19 Gerd Moellmann + + * make-dist: Include XPM and XBM files in lisp/ and subdirs + in the distribution. + + 2000-09-18 Gerd Moellmann + + * make-dist (skk): Rename to `ja-dic' because the leim directory + was renamed. + + 2000-09-14 Dave Love + + * configure.in: Fix spurion in last change. + + 2000-09-14 Gerd Moellmann + + * configure.in (USE_MMAP_FOR_BUFFERS): Recognize in system + configuration files instead of REL_ALLOC_MMAP. Set REL_ALLOC + to `no' if defined. Change result report. + + 2000-09-08 Dave Love + + * configure.in: Remove spurious `@'s. + + * aclocal.m4 (AC_FUNC_MMAP): Use fixed version from development + autoconf. + + 2000-09-06 Gerd Moellmann + + * configure.in (REL_ALLOC_MMAP): Recognize in system configuration + file and print informational message. + + * configure.in (AC_FUNC_MMAP): Add. + + 2000-09-01 Gerd Moellmann + + * configure.in: Add ``checking'' messages for + XpmReturnAllocPixels. + + 2000-08-28 Gerd Moellmann + + * configure.in: Check ; check `index' and `rindex' + functions. + + 2000-08-26 Kenichi Handa + + * configure.in : Move "NON_GNU_CPP='cpp'" before + "case "${canonical}" in". + + 2000-08-25 Dave Love + + * configure.in : Use NON_GNU_CPP='cpp' always. + + 2000-08-25 Kenichi Handa + + * leim-Makefile.in: Rename skk to ja-dic throughout the file. + + 2000-08-24 Gerd Moellmann + + * configure.in : Unset CDPATH in case $PWD + contains a relative path. Protect against unusable values of $PWD. + + 2000-08-08 Eli Zaretskii + + * info/dir (WoMan): Add entry. + + * config.bat (maindir): Update src/_gdbinit even if it does + already exist. + + 2000-08-07 Gerd Moellmann + + * Makefile.in (config.status): Prepend `$(srcdir)/' to `configure'. + + 2000-08-03 Gerd Moellmann + + * configure.in: Add support for ia64*-*-linux*. + + 2000-07-27 Gerd Moellmann + + * make-dist (aclocal.m4): Include in distribution. + + 2000-07-26 Dave Love + + * configure.in (AC_SYS_LARGEFILE): Move earlier. + + 2000-07-24 Dave Love + + * configure.in: Add AC_SIZE_T. + + 2000-07-18 Dave Love + + * configure.in: Reorder so that most tests are done after CPPFLAGS + is set from the C_SWITCH_... definitions. + + 2000-07-10 Gerd Moellmann + + * configure.in (HAVE_XPM): Undo previous change. Check for + preprocessor define XpmReturnAllocPixels. + + 2000-07-06 Gerd Moellmann + + * configure.in (HAVE_XPM): Check for XpmReturnAllocPixels + instead of XpmReadFileToPixmap. + + 2000-07-05 Ken Raeburn + + * configure.in: Check for . Look for ossaudio + library, and set LIBSOUND accordingly. + + 2000-07-05 Dave Love + + * configure.in: Use AC_HEADER_SYS_WAIT. + + 2000-07-05 Gerd Moellmann + + * make-dist: Check DONTCOMPILE in lisp/Makefile.in instead of + lisp/Makefile. Distribute lisp/Makefile.in instead of + lisp/Makefile. + + 2000-06-30 Ken Raeburn + + * configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS, + while searching for image-handling libraries. + + 2000-06-26 Gerd Moellmann + + * configure.in (--with-xim): New option. + + 2000-06-23 Dave Love + + * configure.in [HAVE_TIMEVAL]: Move gettimeofday test here, test + for struct timezone and test how we can call gettimeofday. + Check for OSF 5+. Check for term.h. + + * aclocal.m4: Define the post-2.13 stuff conditionally on autoconf + version. + + 2000-06-23 Gerd Moellmann + + * configure.in (HAVE_LIBXP): Change test for libXp. + + 2000-06-21 Dave Love + + * configure.in: Check for fcntl.h. Use AC_FUNC_GETLOADAVG, not + simple test for getloadavg and substitute GETLOADAVG_LIBS. + Simplify test for GETTIMEOFDAY_ONE_ARGUMENT. + + 2000-06-19 Dave Love + + * configure.in (GETTIMEOFDAY_ONE_ARGUMENT): Fix in case + _XOPEN_SOURCE is defined. + + 2000-06-16 Gerd Moellmann + + * Makefile.in (distclean): Also make distclean in lisp/. + + 2000-06-15 Eli Zaretskii + + * config.bat: Generate lisp/Makefile from lisp/Makefile.in. + + 2000-06-15 Gerd Moellmann + + * make-dist: Add --help and --snapshot options. + + 2000-06-14 Gerd Moellmann + + * configure.in: Generate lisp/Makefile. + + * configure.in: Add support for `*-lynxos*'. + Use `cpp' as NON_GNU_CPP for `alpha*-dec-osf[5-9]*', as + recommended by to fix problems + on Tru64 UNIX v5.0. + + 2000-06-13 Ken Raeburn + + * Makefile.in (install-arch-indep): Don't use "-unset CDPATH" when + it's on a continuation line. + + 2000-06-02 Dave Love + + * Makefile.in (install-arch-indep): Add pcl-cvs to list of info + files. + + * configure.in: Don't specify -n32 flag for mips-sgi-irix6.5. + Check for struct exception. Use AC_SYS_LARGEFILE and move ftello + test. + + * aclocal.m4 (AC_SYS_LARGEFILE_TEST_INCLUDES) + (AC_SYS_LARGEFILE_MACRO_VALUE, AC_SYS_LARGEFILE): New. + + 2000-05-26 Gerd Moellmann + + * configure.in: Add check for speed_t typedef. + + 2000-05-25 Ken Raeburn + + * Makefile.in (install-arch-dep): Install fns-*.el only if it + exists; it won't in the CANNOT_DUMP case. + + 2000-05-25 Gerd Moellmann + + * Makefile.in: Ignore exit status of `unset CDPATH' everywhere. + On FreeBSD, the exit status is 1 if CDPATH is not set. + (install-arch-indep): Install ebrowse.info. + + 2000-05-20 NIIBE Yutaka + + * configure.in: Check for grandpt and getpt. + + 2000-05-09 Dave Love + + * Makefile.in (install-arch-indep): Filter CVS as well as RCS. + + 2000-05-05 Gerd Moellmann + + * make-dist: Make a link for lib-src/grep-changelog. + Copy install-sh. + + 2000-05-01 Eli Zaretskii + + * config.bat: Identify the beginning of the cpp stuff in + src/Makefile.in and lib-src/Makefile.in more accurately. + + 2000-04-27 Gerd Moellmann + + * configure.in: Add support for `powerpc*-*-linux-gnu*'. + + 2000-04-19 Gerd Moellmann + + * configure.in: Add support for `powerpc-*-netbsd*'. + + 2000-04-19 Dave Love + + * configure.in: Don't use AC_FUNC_GETLOADAVG. + + * aclocal.m4 (AC_FUNC_MKTIME): Use AC_SUBST. + + 2000-04-16 Dave Love + + * Makefile.in (${srcdir}/configure): Depend on aclocal.m4. + + 2000-04-14 Dave Love + + * configure.in: Use AC_FUNC_GETLOADAVG, AC_FUNC_MKTIME. + + * aclocal.m4 (AC_FUNC_MKTIME): New. + + 2000-03-28 Ken Raeburn + + * configure.in: Line up "--help" output a little better. + + 2000-03-26 Gerd Moellmann + + * Makefile.in (bootstrap-lisp-1, bootstrap-lisp, bootstrap-src): + New targets. + (bootstrap): Rewritten in terms of the new targets above. + Make info files, too. + + 2000-03-12 Gerd Moellmann + + * config.guess, config.sub: Use the versions of the files from + subversions. + + 2000-03-08 Dave Love + + * configure.in: Use AC_PROG_RANLIB, AC_C_PROTOTYPES, + AC_C_VOLATILE. Define POINTER_TYPE. + + * aclocal.m4: New file. + + 2000-03-02 Gerd Moellmann + + * configure.in (machine): Add `mipsel-*-netbsd*' and + `arm-*-netbsd*'. + + 2000-03-01 Gerd Moellmann + + * configure.in (machine): Add support for `*-auspex-sunos*'. + + 2000-02-29 Gerd Moellmann + + * configure.in (C_OPTIMIZE_SWITCH) [__GNUC__]: Use -O2. + + 2000-02-18 Dave Love + + * configure.in: Define NON_GNU_CPP on alpha-dec-osf5+. + + 2000-02-18 Andreas Schwab + + * Makefile.in (install-arch-indep): Add eudc to list of installed + info files. + + 2000-02-17 Ken Raeburn + + * configure.in: Include -lz and -ljpeg (if it's available) when + testing for the tiff library. + + 2000-02-17 Gerd Moellmann + + * configure.in: Remove LISP_FLOAT_TYPE. + + 2000-02-12 Dave Love + + * configure.in: Use AC_FUNC_VFORK. + + 2000-02-01 Gerd Moellmann + + * make-dist: Various fixes for new development tree. + + * leim-Makefile.in: New file. + + 2000-01-31 Gerd Moellmann + + * Makefile.in (dist): Call ./make-dist. + + 2000-01-24 Dave Love + + * configure.in: Remove -G0 from Irix NON_GCC_TEST_OPTIONS. + + 2000-01-18 Gerd Moellmann + + * configure.in (HAVE_GIF): Check for DGifOpen instead of + DGifOpenFileName. + + 2000-01-11 Andreas Schwab + + * Makefile.in (install-arch-indep): Update list of info files to + be installed. + + 2000-01-05 Dave Love + + * configure.in: Check for jerror.h as well as libjpeg. + + 2000-01-03 Andreas Schwab + + * Makefile.in (install-arch-indep): Install autotype*. + Run install-info on autotype and emacs-faq.info. + + 1999-12-04 Dave Love + + * Makefile.in (install-arch-indep): Depend on `info'. + (install-strip): Use `install' as sub-make target. + + 1999-11-23 Ken Raeburn + + * configure.in: Restore Kerberos code deleted on 1999-05-29 that + didn't need to be deleted. Check for the k5crypto library as well + as the crypto library; MIT Kerberos 1.1 changed the name. + + 1999-11-18 Dave Love + + * configure.in: Fix NON_GNU_CPP for Irix 6 to avoid failing tests. + + 1999-11-11 Erik Naggum + + * configure.in (bitmapdir): Allow for both "bitmaps" directories. + + 1999-11-08 Dave Love + + * configure.in: Fix change for --with-pop default. + + 1999-11-04 Dave Love + + * configure.in: Default to --with-pop. Change sense of with-gcc + and with-toolkit-scroll-bars messages to reflect the defaults. + + 1999-11-01 Gerd Moellmann + + * INSTALL: Mention the Emacs Lisp Reference. + + 1999-10-27 Noah Friedman + + * configure.in: Check for dynamic ptys (/dev/ptmx, /dev/pts/). + + 1999-10-23 Gerd Moellmann + + * Makefile.in (bootstrap): New target. + + 1999-10-19 Paul Eggert + + Add support for large files. Merge glibc 2.1.2. + + * configure.in (AC_CHECK_HEADERS): Add stdio_ext.h. + (HAVE_TM_GMTOFF): New symbol. + (AC_CHECK_FUNCS): Add __fpending, ftello, getloadavg, mblen, + mbrlen, strsignal. + (LOCALTIME_CACHE): Don't include stdlib.h, as config.h does this now. + + 1999-10-09 Stefan Monnier + + * make-dist (dontcompile): Look for the DONTCOMPILE variable rather + than the obsolete dontcompilefiles pseudo-rule in lisp/Makefile. + + 1999-10-09 Richard M. Stallman + + * Makefile.in (uninstall, install-arch-indep, install-arch-dep): + Unset CDPATH to prevent cd from generating output. + + 1999-10-08 Stefan Monnier + + * update-subdirs: Also ignore CVS subdirs. + + 1999-10-07 Gerd Moellmann + + * Makefile.in (install-arch-indep): Add ada-mode. + + 1999-10-06 Dave Love + + * Makefile.in: Add rules for config.status, configure. + + 1999-09-07 Gerd Moellmann + + * configure.in (--with-sound): Remove. + + 1999-08-30 Gerd Moellmann + + * configure.in (USE_TOOLKIT_SCROLL_BARS): Move the test down after + the test for Xaw3d. + (HAVE_TIFF): Add -lm to library check. + + 1999-08-28 Richard Stallman + + * configure.in (USE_TOOLKIT_SCROLL_BARS): Move tests for + -lXaw3d, -lXpm, -ljpeg, -lpng, -ltiff, and -lgif, down + after the other X-related libraries. + + 1999-08-21 Dave Love + + * configure.in: Don't check for jpeglib.h. + + 1999-08-20 Gerd Moellmann + + * configure.in (HAVE_TIFF): Remove tiff34 prefix from tiffio.h. + (HAVE_XAW3D): Don't check for Xaw3d if USE_X_TOOLKIT=none. + + 1999-08-18 Dave Love + + * configure.in: Check for termcap.h. + + 1999-08-15 Gerd Moellmann + + * configure.in: Add --with-toolkit-scroll-bars. If "no", + use Emacs' scroll bars, even if configured for Motif or when + Xaw3d is available. + + 1999-08-12 Wolfgang Rupprecht + + * configure.in: Check for getaddrinfo. + + 1999-08-04 Eli Zaretskii + + * config.bat: Make --no-debug work again by removing -gcoff. + + 1999-07-30 Dave Love + + * configure.in: Check for stdlib.h. + + 1999-07-19 Dave Love + + * configure.in: Grok sparc64-*-linux-gnu*. + + 1999-07-12 Richard Stallman + + * Version 20.4 released. + + 1999-06-23 Karl Heuer + + * make-dist: Unset EMACS_UNIBYTE, so Emacs runs in its default state. + Quote $EMACS, in case it's a program with args. + + 1999-06-15 Gerd Moellmann + + * configure.in (HAVE_GIF): Use libungif instead of libgif + because the former doesn't contain patented compression code. + + 1999-05-29 Richard M. Stallman + + * configure.in: Delete the Kerberos stuff. + + 1999-05-27 Greg Hudson + + * configure.in: Prefer kerberos 5 names. + + 1999-04-26 Richard M. Stallman + + * configure.in: Check for libXp. + + 1999-04-08 Richard Stallman + + * make-dist: Include change logs in subdirs of `lisp'. + + 1999-04-05 Richard Stallman + + * Makefile.in (mkdir): If we create ${datadir}, make it world-readable. + (install-arch-indep): Make ${datadir}/emacs world-readable. + + 1999-03-30 Eli Zaretskii + + * config.bat: Use epaths.* instead of paths.*. + + 1999-03-07 Eli Zaretskii + + * INSTALL: Add detailed instructions to unpack and install + intlfonts on MS-DOS. + + 1999-02-26 Richard Stallman + + * configure.in: Use epaths.h and epaths-force instead of paths... + + * Makefile.in (epaths-force): Rename from paths-force; + operate on epaths.in and produce epaths.h. + + 1999-02-24 Richard Stallman + + * make-dist: Fix nt/icons directory handling. + + 1999-02-22 Simon Josefsson + + * configure.in (f301-fujitsu-uxpv4.1): New target. + + 1999-02-20 Richard Stallman + + * make-dist (tempparent): Fix command to update info files. + + 1999-02-09 Richard Stallman + + * configure.in (powerpc-apple-netbsd*): New alternative. + + 1999-01-25 Geoff Voelker + + * make-dist: Include the new directory nt/icons in distributions. + + 1999-01-19 Richard Stallman + + * configure.in: Change message about HAVE_XFREE386. + + 1999-01-07 Eli Zaretskii + + * config.bat: Support configuring with leim. + + 1998-12-16 Petri Kaurinkoski + + * configure.in (mips-sgi-irix6.5): New target. + + 1998-12-16 Jonathan I. Kamens + + * configure.in: Remove GSS-API support, since it has been removed + from movemail. + + 1998-12-04 Markus Rost + + * Makefile.in (install-arch-dep): Copy fns-*.el from lib-src. + + 1998-12-04 Andreas Schwab + + * Makefile.in: Don't install customize info file. + Run install-info on viper info file. + + 1998-11-29 Richard Stallman + + * Makefile.in (install-arch-dep): Copy fns-*.el from lib-src. + + 1998-11-16 Kenichi Handa + + * configure.in (*-*-bsdi4*): New target. + + 1998-11-13 Ehud Karni + + * configure.in: Fix previous change. + + 1998-11-11 Richard Stallman + + * configure.in (aviion-intel): New machine. + + 1998-11-04 Kenichi Handa + + * configure.in (mips-nec-sysv4*): New target. + + 1998-11-03 Andreas Schwab + + * Makefile.in (install-arch-dep): Fix last change and use fns-*.el + from lisp. + + 1998-10-31 Richard Stallman + + * make-dist: Don't include fns*.el in dist. + + 1998-10-30 Dave Love + + * configure.in: Don't mkdir cpp. + + 1998-10-30 Andreas Schwab + + * Makefile.in (install-arch-dep): Install src/fns-*.el in + ${archlibdir}. + + 1998-08-19 Richard Stallman + + * Version 20.3 released. + + 1998-07-30 Paul Eggert + + * Makefile.in (Makefile, src/Makefile, src/config.stamp) + (lib-src/Makefile, man/Makefile, oldXMenu/Makefile) + (lwlib/Makefile, leim/Makefile): + Prepend $(srcdir)/ to rule dependencies outside this dir. + + 1998-06-30 Richard Stallman + + * configure.in: Use unset CDPATH instead of making it empty. + + 1998-06-20 Karl Heuer + + * configure.in: Assume unspecified Solaris is 2.5, not 2.4. + + 1998-06-07 Richard Stallman + + * make-dist (MANIFEST): Include most subdirs, but exclude subdirs.el + and default.el. Sort the results. + + 1998-05-31 Karl Heuer + + * Makefile.in (install-arch-indep): Don't die if site-lisp/ isn't + writable. + + 1998-05-14 Richard Stallman + + * Makefile.in (install-arch-indep): + Don't alter site-lisp/subdirs.el if it exists. + + 1998-05-12 Richard Stallman + + * Makefile.in (install-arch-indep): Put `-' on commands to create + subdirs.el in site-lisp dirs. + + 1998-05-07 Richard Stallman + + * Makefile.in (install-arch-indep): Fix typo in previous change. + + 1998-05-06 Richard Stallman + + * Makefile.in (install-arch-indep): Pass --dir-file to install-info. + + 1998-04-28 Richard Stallman + + * Makefile.in (mkdir): Create the site-lisp dirs. + (install-arch-indep): Make site-lisp/subdirs files world-readable. + + 1998-04-26 Richard Stallman + + * Makefile.in (INSTALL_INFO): New variable. + (install-arch-indep): Don't replace the dir file if it already exists. + Use the install-info program, via INSTALL_INFO, to add entries. + Make the `info' subdir and the Info files world-readable. + + 1998-04-16 Eli Zaretskii + + * config.bat: Make sure the environment is large enough to support + all the "set foo=bar" commands. Update pointers to DJGPP FTP sites. + + 1998-04-10 Karl Heuer + + * make-dist: Don't accept EMACS=t when testing for $EMACS set. + + 1998-04-06 Jonathan I. Kamens + + * configure.in: Add --with-gssapi to specify GSS-API + authentication support for movemail. + + 1998-04-02 Richard Stallman + + * Makefile.in (install-arch-indep): Fix previous change. + + 1998-03-30 Richard Stallman + + * Makefile.in (info): Run man in build dir, not srcdir. + + 1998-03-28 Richard Stallman + + * Makefile.in (install-arch-indep): Fix previous change. + + 1998-03-23 Kenichi Handa + + * Makefile.in (top_distclean): Check the existence of `lock' subdir. + + 1998-03-22 Richard Stallman + + * Makefile.in (install-arch-indep): Put special subdirs.el files + in site-lisp dirs. Use normal-top-level-add-subdirs-to-load-path. + + 1998-03-21 Richard Stallman + + * make-dist: Fix shell syntax in check for missing .el or .elc files. + + 1998-03-09 Richard Stallman + + * configure.in (hppa-hp-hpux1[0-9]*): Handle versions 1X like 10. + (m68*-hp-hpux*): Handle versions 1X like 10. + + 1998-03-07 Richard Stallman + + * make-dist: PROBLEMS is now in etc, not top level dir. + + * Makefile.in (SOURCES): Delete PROBLEMS. + + 1998-02-25 Richard Stallman + + * configure.in (hppa*-hp-hpux*): Use hpux10 by default. + + * Makefile.in (install-arch-indep): Do chmod a+x on subdirs. + + 1998-01-17 Richard Stallman + + * Makefile.in (install-arch-indep): Add semicolon before `else'. + + 1998-01-02 Richard Stallman + + * make-dist (tempparent): New option --no-check. + + * make-dist: Don't do anything with cpp directory. + + 1997-12-20 Richard Stallman + + * configure.in (sparc-fujitsu-sysv4*): New target. + + 1997-12-17 Andreas Schwab + + * configure.in: Cache more tests. Add missing quotes around + message with embedded comma. + + 1997-12-04 Karl Heuer + + * Makefile.in (unlock, relock): Don't reference cpp/ directory. + + 1997-11-26 Joel N. Weber II + + * make-dist: Changed the comment about `umask 0' to say `Don't + restrict access to any files.'; previously it said `Don't protect + any files', which may have implied that we think fascism is good. + + 1997-11-24 Paul Eggert + + * configure.in (AC_CHECK_FUNCS): Add strftime. The new GNU C library + strftime needs the underlying host's strftime for locale dependent + formats. + + 1997-11-20 Abraham Nahum + + * configure.in (i586-dg-dguxR4.*): New name in case branch. + + 1997-11-20 Eli Zaretskii + + * config.bat: Configure the man subdirectory. + + 1997-11-07 Paul Eggert + + * configure.in (AC_CHECK_LIB): Add -lintl. + + 1997-11-07 Karl Heuer + + * make-dist (check for .elc files): Avoid bash-specific syntax. + (check for overflow 14-char limit): Simplify. + + 1997-11-07 Richard Stallman + + * Makefile.in (install): Move blessmail last. + + 1997-10-02 Richard Stallman + + * configure.in (gettimeofday, one arg or two): + Clarify messages by avoiding double negative. + + 1997-09-30 Karl Eichwalder + + * Makefile.in (install-arch-indep): Install the widget info file. + + 1997-09-24 Jonathan I. Kamens + + * configure.in (with-pop, with-kerberos): Need to check Kerberos + libraries in reverse order, so that libraries will appear in the + correct dependency order on the link line (and so that the + configure checks themselves will work properly when early + libraries depend on later ones). + + 1997-09-21 Erik Naggum + + * make-dist (making links to `src'): Keep timestamp on copied files. + + * make-delta: New script to produce delta distributions. + + 1997-09-19 Richard Stallman + + * Version 20.2 released. + + 1997-09-15 Richard Stallman + + * Version 20.1 released. + + * Makefile.in (install-leim): Depend on mkdir. + (leim): Depend on src. + + 1997-09-13 Richard Stallman + + * configure.in: Recognize alpha* instead of just alpha. + + 1997-09-12 Paul Eggert + + * leim-Makefile.in (mostlyclean, maintainer-clean): New targets. + + 1997-09-12 Richard Stallman + + * update-subdirs: Use rm -f. + + 1997-09-08 Richard Stallman + + * update-subdirs: Delete subdirs.el if this dir has no subdirs. + Ignore subdirs named Old. + + 1997-08-04 Kenneth Stailey + + * configure.in: Add OpenBSD clause to set $machine. + + 1997-09-04 Richard Stallman + + * make-dist: Recompile everything after updating various Lisp files. + Recompile in leim as well as lisp. + Check in leim as well as lisp for mismatched files and too-long names. + + 1997-09-03 Richard Stallman + + * Makefile.in (TAGS tags): Simply refer this to the src subdir. + + 1997-08-30 Richard Stallman + + * Makefile.in (install-arch-indep): Verify ./lisp has simple.el in it + before trying to copy anything from it. + + 1997-08-27 Richard Stallman + + * Makefile.in (man/Makefile): New target. + (tags): Define env var EMACS and run Makefile from build dir. + + 1997-08-27 Eli Zaretskii + + * config.bat: If src/_gdbinit doesn't exist, try using + src/.gdbinit to create it (for building on Windows 95). + + 1997-08-25 Richard Stallman + + * Makefile.in (install-arch-indep): + Discard extra data in tar | tar pipes. + + 1997-08-24 NIIBE Yutaka + + * configure.in (x_default_search_path): + Corrected '${x_library}' to '${x_library}/X11'. + + 1997-08-22 Richard Stallman + + * configure.in (HAVE_MOTIF_2_1): Test for Motif 2.1. + + 1997-08-22 Jonathan I. Kamens + + * configure.in: Support auto-configuration of both Kerberos V4 and + Kerberos V5 for movemail, including detection of V4 and V5 header + files and libraries. + + 1997-08-16 NIIBE Yutaka + + * configure.in: Compute x_default_search_path + and substitute into makefiles. + + * Makefile.in (paths-force): Store PATH_X_DEFAULTS in paths.h. + + 1997-08-08 Richard Stallman + + * Makefile.in (install-arch-indep): Run list-load-path-shadows. + + 1997-08-07 Erik Naggum + + * configure.in: Remove lockdir, it is no longer needed. + * Makefile.in (mkdir): Don't create lockdir. + (lockdir): Variable deleted. + (paths-force): Don't operate on PATH_LOCK. + + 1997-08-06 Richard Stallman + + * leim-Makefile.in (clean, distclean): New targets. + + * make-dist: Include leim/ChangeLog in leim distribution. + + 1997-08-01 Richard Stallman + + * configure.in (i*86-*-sysv4.2uw*): Set NON_GNU_CPP. + + 1997-07-30 Richard Stallman + + * Makefile.in (CPPFLAGS): Get this from configure, like CFLAGS. + + 1997-07-27 Richard Stallman + + * Makefile.in (LDFLAGS): Get this from configure, like CFLAGS. + + 1997-07-25 Richard Stallman + + * make-dist: Update leim/leim-list.el. + Pass along value of $EMACS when updating lisp dir. + + 1997-07-25 Marcus G. Daniels + + * configure.in (doug_lea_malloc): Make __after_morecore_hook a + prerequisite to the use of Doug Lea's malloc. + + 1997-07-21 Richard Stallman + + * Makefile.in (top_distclean): Use -f to delete contents of lock dir. + + * make-dist: Use name leim/SKK-DIC, not leim/SKK. + + 1997-07-16 Richard Stallman + + * make-dist: Arrange for the leim tar file to unpack in emacs-M.N/leim. + + 1997-07-11 Richard Stallman + + * configure.in (mips-sony-newsos6*): File news-risc.h renamed + to news-r6.h. + + 1997-07-10 Eli Zaretskii + + * config.bat: Use `sed' instead of `cp', which might not be + installed. + + 1997-07-09 Kenichi Handa + + * Makefile.in (mostlyclean): Add cleaning leim directory. + (clean, distclean, maintainer-clean): Likewise. + + 1997-07-09 Richard Stallman + + * make-dist (bogosities): Check subdirs of `lisp' also. + + 1997-07-08 Richard Stallman + + * make-dist (etc): Really avoid symlinks now. + (lisp): Don't delete from subdirs the things we never copy. + + 1997-07-07 Kenichi Handa + + * Makefile.in (install-arch-indep): Correct the target name. + The first letter `i' was dropped by the previous change of mine. + + 1997-07-06 Richard Stallman + + * configure.in (leim/Makefile): Generate this. + (*-sysv4.2uw*): Recognize new alternative. + + * leim-Makefile.in: Renamed from leim-Makefile. + + * make-dist: Set up real-leim subdirectory, + with the real contents of leim; then move it to + a separate top-level directory. + + * make-dist: Don't mention site-lisp, site-init, site-start + or default, when listing files hat are not compiled and should be. + + * configure.in: Create src/config.stamp at the end. + + 1997-07-04 Richard Stallman + + * Makefile.in (install-leim): Correct previous change. + + 1997-07-02 Kenichi Handa + + * Makefile.in (install-leim): New target. + (install): Depend on install-leim. + + 1997-07-01 Kenichi Handa + + * Makefile.in (SUBDIR): Add leim. + (SUBDIR_MAKEFILES): Add leim/Makefile. + (leim/Makefile): New target. + + 1997-07-01 Richard Stallman + + * leim-Makefile: New file. + * make-dist: Initialize a `leim' subdirectory with that makefile. + + 1997-06-29 Richard Stallman + + * configure.in (GNU_MALLOC_reason): Fix message text. + + 1997-06-27 Richard Stallman + + * make-dist (lisp): Don't process subdirs that start with =. + (etc): Copy symlinks, as in src. + + 1997-06-26 Richard Stallman + + * configure.in (i*86-*-unixware*): New alternative. + + 1997-06-22 Richard Stallman + + * Makefile.in (src/config.stamp): Target renamed from src/config.h + and touch it explicitly. + + * configure.in (mips-sony-newsos6*): New alternative. + (mips-*-linux-gnu*): New alternative. + (*-*-bsdi*): New alternative. + (i*86-*-bsd386, i*86-*-bsdi...): Delete old alternatives. + + 1997-06-22 Dave Love + + * Makefile.in (lib-src): Depend on src/config.h (e.g. for movemail.o). + (src/config.h): New target to re-configure if src/config.in is patched. + + 1997-06-18 Richard Stallman + + * configure.in (shutdown): Check for `shutdown' function. + + 1997-06-18 Kenichi Handa + + * update-subdirs: Include the directory "language" in subdirs. + + 1997-06-01 Richard Stallman + + * configure.in (m88k-dg-dgux4*): New alternative. + (alpha-*-netbsd*): New alternative. + (powerpcle-*-solaris2*): New alternative. + + 1997-05-20 Richard Stallman + + * make-dist: Warn about .el files that are not compiled. + + 1997-05-11 Richard Stallman + + * Makefile.in (dist): Don't run update-subdirs here, + since make-dist now gets that done. + + * make-dist: Use the new `updates' target in lisp/Makefile. + + * make-dist: Use new non-file targets in lisp/Makefile. + + 1997-04-27 Richard Stallman + + * make-dist: Handle all subdirs of `lisp' uniformly. + Don't handle `term' and `language' specially. + Clear out umask at the beginning. + + 1997-04-11 Richard Stallman + + * make-dist: Use Make to update finder-inf.el and autoloads. + Also update cus-load.el. + + 1997-04-09 Marcus G. Daniels + + * configure.in (doug_lea_malloc): First check for SYSTEM_MALLOC, + in case it is desirable to disable the GNU malloc features with glibc. + + 1997-04-08 Marcus G. Daniels + + * configure.in (DOUG_LEA_MALLOC): + Define if malloc_{get,set}_state exist. + + 1997-03-05 Kenichi Handa + + * make-dist: Make links for files under lisp/language. + + 1997-02-20 Kenichi Handa + + * update-subdirs: Exclude the directory "language" from subdirs. + + 1997-01-26 Karl Heuer + + * configure.in: Check for rint and cbrt. + + 1997-01-01 Richard Stallman + + * make-dist: Use $EMACS to say where to run Emacs. + Add --no-update option. + + 1996-12-30 Richard Stallman + + * configure.in (hppa1.1-hitachi-hiuxmpp): New configuration. + + 1996-12-28 Richard Stallman + + * make-dist (copying src): Check thoroughly for symlinks + and copy them in all cases. Regularize the linking of *.in + and *.opt and ChangeLog files. + (copying lib-src): Likewise. + Don't rm getdate.c or y.tab.*--they don't exist any more. + + 1996-12-18 Jonathan I. Kamens + + * configure.in: Check for libmail, maillock.h and + touchlock (for movemail). + + 1996-12-15 Richard Stallman + + * configure.in (limits.h): Check for this file. + + 1996-12-08 Richard Stallman + + * configure.in (rs6000-ibm-aix4.2): New alternative. + (rs6000-ibm-aix4.0): New alternative. + (rs6000-ibm-aix4*): Assume aix 4.1 by default. + + 1996-11-22 Ben Harris + + * configure.in: Recognize vax-*-netbsd*. + + 1996-11-06 Richard Stallman + + * configure.in (locallisppath): Add leim directory. + + 1996-10-31 Eli Zaretskii + + * config.bat: Make sure `mv' supports forward slashes and -f. + + 1996-10-28 Christian Limpach + + * configure.in (hppa*-next-nextstep*): * added after hppa + to accept hppa1.0 and hppa1.1. + + 1996-10-05 Marcus G. Daniels + + * configure.in: Provide an empty default for LD_SWITCH_X_SITE_AUX. + * configure.in (ld_switch_machine): Fix typo. + + 1996-09-28 Richard Stallman + + * configure.in: Fetch LD_SWITCH_SYSTEM and LD_SWITCH_MACHINE + from config.h and use them in $ac_link. + + 1996-09-28 Erik Naggum + + * configure.in: Create a subdir named `lisp'. + + 1996-09-24 Richard Stallman + + * configure.in: Check for getcwd. + + 1996-09-04 Richard Stallman + + * configure.in: Check for termios.h. Check for setpgid. + + 1996-08-31 Richard Stallman + + * configure.in: Check for setrlimit. + + 1996-08-31 Paul Eggert + + * configure.in: Check for sys/systeminfo.h, getdomainname, sysinfo. + + 1996-08-28 Richard Stallman + + * configure.in: Check for utimes. + + * configure.in: Check for com_err library, but only + if --with-kerberos was used. Check for krb and des + only if --with-kerberos. + + 1996-08-26 Richard Stallman + + * Makefile.in (INSTALL_STRIP): New variable. + (install-strip): Set INSTALL_STRIP, not INSTALL_PROGRAM. + (install-arch-dep): Use INSTALL_STRIP, and pass it to lib-src. + + 1996-08-25 Richard Stallman + + * configure.in: Check for krb and des libraries. + + 1996-08-24 Richard Stallman + + * configure.in (*-sunos4.1.[3-9]*noshare): + Use sunos413, not sunos4-1-3. + (m88k-dg-dgux5.4R3*): Use dgux5-4-3, not dgux5-4r3. + (arm-acorn-riscix1.2*): Use riscix12, not riscix1-2. + + 1996-08-22 Richard Stallman + + * Makefile.in (src/paths.h): Target deleted. + (paths-force): Delete all dependencies on this target + but don't delete the target. + (install): Depend on `all'. + (paths-force): Don't print a message. + + * configure.in: Generate src/paths.h here. + + 1996-08-18 Richard Stallman + + * configure.in (NON_GCC_LINK_TEST_OPTIONS, GCC_LINK_TEST_OPTIONS): + New variables that affect linking only. + (alpha-dec-osf*): Use those instead of previous change. + + 1996-08-15 Richard Stallman + + * Makefile.in (install-arch-indep): Install info/messages. + + 1996-08-11 Richard Stallman + + * Version 19.33 released. + + 1996-08-10 Marcus G. Daniels + + * configure.in (i[3456]86-sequent-ptx4*, i[3456]86-sequent-sysv4*): + Fix previous change. + + 1996-08-08 Richard Stallman + + * configure.in (i[3456]86-sequent-ptx4*, i[3456]86-sequent-sysv4*): + New alternative. + + 1996-08-07 Richard Stallman + + * configure.in (alpha-dec-osf*): Specify GCC_TEST_OPTIONS + and NON_GCC_TEST_OPTIONS. + + 1996-08-06 Paul Eggert + + * configure.in (LOCALTIME_CACHE): Don't put a string literal + "TZ=..." in environ. + + 1996-08-04 Richard Stallman + + * make-dist (msdos): Add is_exec.c, sigaction.c to distribution. + + 1996-08-03 Richard Stallman + + * configure.in (*-sunos4.1.[3-9]*noshare): Move this before + the more general *-sunos4.1.[3-9]* clause. + + 1996-07-31 Richard Stallman + + * Version 19.32 released. + + * configure.in (*-sco3.2v5*): + Set OVERRIDE_CPPFLAG to a string of one space. + Fix the code that uses OVERRIDE_CPPFLAG. + + 1996-07-16 Karl Heuer + + * configure.in: Undo previous change. + + 1996-07-16 Richard Stallman + + * config.sub: Use `pc', not `unknown', when canonicalizing + the vendor for ...86. + + 1996-07-15 David Mosberger-Tang + + * configure.in: Check for termios.h header. + + 1996-07-11 Bill Mann + + * configure.in: Use s/usg5-4-3.h for ncr-i[3456]86-sysv4.3. + + 1996-07-07 Karl Heuer + + * configure.in: Split bsdos2 and bsdos2-1. + + 1996-07-06 Richard Stallman + + * config.sub: If last two words are not a recognized + KERNEL-OS pair, use just the last word as OS, as in 19.31. + Make conversion of gnu/linux to linux-gnu really work. + + * config.sub: If vendor unspecified with i386, use `pc' not `unknown'. + + 1996-06-30 Richard Stallman + + * configure.in (check for using Lucid widgets by default): + Eliminate indentation that confuses some compilers. + + 1996-06-29 Richard Stallman + + * config.sub: Convert linux and gnu/linux to linux-gnu. + + * make-dist: Don't update getdate.c. + Ignore =... files when checking for too-long Lisp file names. + + 1996-06-28 Richard Stallman + + * configure.in (euidaccess): Check for that, not for eaccess. + + 1996-06-27 Richard Stallman + + * configure.in (sunos4.1.[3-9]*noshare): Eliminate dash from + before `noshare'. + (mips-sgi-irix6*): Specify NON_GCC_TEST_OPTIONS. + + 1996-06-21 Richard Stallman + + * configure.in: Rename lignux to linux-gnu in configuration names. + Use gnu-linux as the opsys value (s/ file name). + Allow i686 just like i386, i486, i586. + + 1996-06-20 Richard Stallman + + * configure.in (i*86-*-sco3.2v5): New alternative. + (OVERRIDE_CPPFLAG): New variable. + (CPPFLAGS): If OVERRIDE_CPPFLAG is set, use that. + + * configure.in: Specify vpath for .texi files. + + 1996-06-09 Richard Stallman + + * configure.in: Always check for HAVE_X11R5. + Separately decide whether to use a toolkit by default. + + 1996-06-04 Bill Mann + + * configure.in: If X11R5 is missing the Xaw headers, + default to --with-x-toolkit=no. + + 1996-05-31 Richard Stallman + + * configure.in (powerpc-*-solaris2*): Use ibmrs6000, not rs6000. + + 1996-05-30 Richard Stallman + + * Makefile.in (install-arch-indep): If cd etc makes output, + don't treat that as part of the tar data. + Check that ./lisp actually exists. + + 1996-05-29 Karl Heuer + + * make-dist: Check for long file names. + + 1996-05-25 Karl Heuer + + * Version 19.31 released. + + 1996-05-25 Karl Heuer + + * configure.in: Recognize sparc-*-lignux. + + 1996-05-03 Richard Stallman + + * make-dist: Include nt/inc/arpa and nt/inc/netinet in the dist. + Don't include config.w95. + + 1996-04-21 Richard Stallman + + * make-dist: Replace --no-clean-up and --no-tar options + with --clean-up and --tar, so that the default is useful. + + 1996-04-15 Eli Zaretskii + + * config.bat: Make sure the GDB init file is called src/_gdbinit; + if not, tell the user to rename it and abort. + + 1996-04-14 Eli Zaretskii + + * config.bat: With DJGPP v1.x, use `COFF2EXE' to produce JUNK.EXE + test program. + + 1996-04-12 Richard Stallman + + * config.bat (djgpp_ver): Variable renamed from djgpp-ver. + + * make-dist (MANIFEST): Fix previous change. + (msdos): Put mainmake.v2 into the dist. + + 1996-04-10 Roland McGrath + + * make-dist: Exit if autoconf fails. + + 1996-04-10 Eli Zaretskii + + * config.bat: Set djgpp-ver, and unset it at the end. + Add a number of conditionals for DJGPP version 2. + Rename label libsrc2 to libsrc3. + Substitute for LDFLAGS in src/Makefile. + Substitute for ALL_CFLAGS in lib-src/Makefile. + + 1996-04-08 Richard Stallman + + * configure.in (ncurses): Check this after checking fns like strerror. + + 1996-04-08 Erik Naggum + + * make-dist (MANIFEST): Don't include lines from =files. + + 1996-04-07 Richard Stallman + + * make-dist: Don't put lisp/dired.todo in the dist. + + 1996-04-05 Richard Stallman + + * configure.in (HAVE_NCURSES): Look for library named ncurses. + + * configure.in (setlocale): Check for it. + + * configure.in (*-*-sysv4.2*): If no /usr/ccs/lib/cpp, use /lib/cpp. + + 1996-03-26 Richard Stallman + + * configure.in: Use lignux instead of linux as value of opsys. + + 1996-03-22 Richard Stallman + + * Makefile.in (install-strip): Fix whitespace. + Get rid of continuation. + + * config.sub: Convert linux or gnu/linux to lignux. + + 1996-03-21 Richard Stallman + + * configure.in: Accept lignux in configuration name. + + 1996-03-20 Richard Stallman + + * Makefile.in (install-strip): New target. + + 1996-03-18 Richard Stallman + + * Makefile.in (top_distclean): Use `|| true' to ignore error in rm. + -f failed to do the job on Suns. + + 1996-03-13 Richard Stallman + + * Makefile.in (install-arch-dep): Don't depend on install-arch-indep. + + * configure.in (linux/version.h): Check for this header. + + 1996-03-12 Roland McGrath + + * configure.in: Remove -fno-builtin hackery from -lm check. + + 1996-03-08 Roland McGrath + + * configure.in (-lm check): If $GCC, append -fno-builtin to $CC for + just this test. + + * configure.in (AC_PREREQ): Require version 2.8 of Autoconf. + + 1996-03-04 Richard Stallman + + * configure.in: Check for ncurses. + + 1996-02-28 Paul Eggert + + * configure.in (LOCALTIME_CACHE): + Also define if localtime mishandles unsetting TZ. + This works around a localtime bug in mips-dec-ultrix. + + 1996-02-25 Richard Stallman + + * make-dist (finder-inf.el): Use finder-compile-keywords-make-dist. + + * configure.in: Improve messages about X versions. + + 1996-02-24 Richard Stallman + + * configure.in (LOCALTIME_CACHE): Cope if $ac_cv_func_tzset is null. + + 1996-02-23 Richard Stallman + + * configure.in (HAVE_X11XTR6): Set it as a shell variable. + (HAVE_LIBXMU): If HAVE_X11XTR6, use -lSM and -lICE. + + * Makefile.in (install-arch-dep): Depend on install-arch-indep. + (install): Put install-arch-indep before install-arch-dep. + + 1996-02-20 Dave Love + + * INSTALL: Clarify info about MS-DOS path handling. + + 1996-02-12 Richard Stallman + + * Makefile.in (install-arch-indep): Install info/ccmode*. + In previous change, protect against /bin/pwd returning null string. + + 1996-02-07 Richard Stallman + + * Makefile.in (install-arch-indep): Copy build-dir's lisp subdir + to lispdir. + + 1996-02-01 Paul Eggert + + * configure.in (LD_RUN_PATH): Prepend x_libraries to this envvar. + + 1996-01-30 Richard Stallman + + * configure.in (HAVE_TIMEVAL): Set explicitly to `no' if test fails. + + 1996-01-25 Richard Stallman + + * Makefile.in (extraclean): Use ${top_distclean} to ensure + we delete everything distclean deletes. + + 1996-01-23 Karl Heuer + + * make-dist (lwlib): Don't distribute lwlib-Xol* files. + + 1996-01-17 Richard Stallman + + * configure.in (HAVE_X11): Merge $LD_SWITCH_X_SITE + into LDFLAGS instead of into LIBS. + + 1996-01-16 Richard Stallman + + * configure.in (HAVE_XMU): Fix typo in previous change. + + 1996-01-15 Richard Stallman + + * configure.in [Solaris]: Don't let $CC make us use /usr/ucb/cc. + + 1996-01-10 Erik Naggum + + * configure.in (USE_X_TOOLKIT = maybe): Delete redundant `fi'. + + 1996-01-10 Karl Heuer + + * Makefile.in (install-arch-indep): Ignore error if no chmod -R. + + 1996-01-10 Richard Stallman + + * configure.in (HAVE_XMU): Check for libXmu.a only if using toolkit + and use -lXt to link it. + + 1996-01-08 Richard Stallman + + * configure.in (locallisppath): Put version-specific dir first. + + 1996-01-07 Richard Stallman + + * configure.in (hppa-*-nextstep*): New alternative. + (USE_X_TOOLKIT): By default, set this to "maybe"; + and change that later to LUCID or "no" according to X11 version. + + * make-dist: Recompile outdated .elc files and update all autoloads. + + 1996-01-05 Roland McGrath + + * configure.in (locallisppath): Fix typo in last change: " -> '. + + 1996-01-04 Richard Stallman + + * configure.in (locallisppath): Add ../emacs/VERSION/site-lisp. + + 1995-12-27 Richard Stallman + + * Makefile.in (install-arch-indep): Give all files read permission. + + 1995-12-26 Richard Stallman + + * configure.in (hppa*-hp-hpux9shr*, hppa*-hp-hpux9*, hppa*-hp-hpux*): + If it is hpux 9, check for /usr/include/X11R5 and /usr/lib/x11R5. + + 1995-12-24 Richard Stallman + + * configure.in: Determine HAVE_X11R6. + (HAVE_MENUS): Rename from HAVE_X_MENU. + + 1995-12-21 Richard Stallman + + * configure.in: Just "solaris" now defaults to version 2.4. + Add sunos4.1.n-noshare as alternative. + + 1995-12-01 Richard Stallman + + * configure.in (mips-sgi-irix6*): Set NON_GNU_CPP. + + 1995-11-29 Erik Naggum + + * Makefile.in (install-arch-indep): Add missing backslash. + + 1995-11-29 Karl Eichwalder + + * Makefile.in (install-arch-indep): Don't install + lispdir/[Mm]akefile*, lispdir/ChangeLog, lispdir/dired.todo. + + 1995-11-29 Richard Stallman + + * Makefile.in (install-arch-indep): Fix previous change. + + * configure.in (mips-sni-sysv*): New alias for mips-siemens-sysv*. + + 1995-11-24 Richard Stallman + + * Version 19.30 released. + + * make-dist (lisp): Exclude subdirs.el. + + 1995-11-22 Richard Stallman + + * make-dist (etc): Delete *.orig and *.rej. + + 1995-11-16 Richard Stallman + + * Makefile.in (install-arch-indep): Rename old info/dir only if exists. + + 1995-11-15 Richard Stallman + + * configure.in (hppa*-hp-hpux10*): Use s/hpux10.h. + + 1995-11-14 Geoff Voelker + + * make-dist (nt): Rename install, readme, and todo to + INSTALL, README, and TODO. + + 1995-11-10 Richard Stallman + + * make-dist (lisp): Don't distribute site-start. + + 1995-11-06 Karl Heuer + + * make-dist: Break the hard link on alloca.c. + + 1995-11-04 Richard Stallman + + * configure.in (LIBS): Add libsrc_libs and keep the old LIBS. + + 1995-11-02 Karl Heuer + + * make-dist (src, lib-src): Don't distribute Makefile.c. + (etc/e): Do cleanup in $tempdir/etc/e, not $tempdir/etc. + + 1995-10-31 Richard Stallman + + * Makefile.in (mkdir): Create man1dir, not mandir. + (uninstall): Use man1dir, not mandir. + + 1995-10-30 Richard Stallman + + * Makefile.in (man1dir): New variable. + (install-arch-indep): Use man1dir. + + * configure.in (sparc-*-nextstep*): Remove incorrect .h's. + + * make-dist: Create lisp/MANIFEST. + + 1995-10-28 Andreas Schwab + + * configure.in (m68k-*-linux*): New alternative. + + 1995-10-27 Richard Stallman + + * make-dist: Use new names config.in, paths.in, and + {src,lib-src}/Makefile.in. + + 1995-10-25 Karl Heuer + + * configure.in: Don't bother checking for drem. + + 1995-10-20 Richard Stallman + + * Makefile.in (distclean): Delete line with just a tab in it. + (install-arch-indep): Delete spaces that precede tabs. + Delete spurious `fi' left from previous change. + (install): Supply `true' as command, to avoid null command. + + 1995-10-05 Richard Stallman + + * configure.in (--with-x-toolkit)): Add `athen' as alias for `athena'. + + 1995-09-30 Richard Stallman + + * configure.in (powerpc-*-solaris2): New alternative. + + 1995-09-12 Karl Heuer + + * Makefile.in (src/paths.h, paths-force): Use paths.h.$$ instead + of paths.h.tmp$$, to avoid going beyond 14 characters. + + 1995-09-10 Richard Stallman + + * configure.in: Improve error msg for invalid --with-x-toolkit value. + + 1995-09-06 Paul Eggert + + * configure.in (LOCALTIME_CACHE): Define if tzset exists and + if localtime caches TZ. Check for tzset. + + 1995-09-01 Richard Stallman + + * config.bat: Simplify using new names file names src/makefile.in, + config.in, paths.in. Change Echo commands not to use `. + + 1995-08-31 Richard Stallman + + * Makefile.in (install-arch-indep): Always install the new dir file; + rename the previous dir file to dir.bak or dir.old. + + 1995-08-14 Richard Stallman + + * configure.in (RANLIB): Substitute this into makefiles. + Set it specially on solaris; set it by default on other systems. + + * configure.in: Fix previous Alpha change. + + 1995-08-13 Richard Stallman + + * configure.in (i*386-*-isc4.*): Set GCC_TEST_OPTIONS and + NON_GCC_TEST_OPTIONS. + + 1995-08-10 Richard Stallman + + * configure.in (CFLAGS): When computing CFLAGS and REAL_CFLAGS + from config.h, use SPECIFIED_CFLAGS to get what the user specified. + + * configure.in (alpha-*-linux*): New configuration. + + 1995-08-05 Richard Stallman + + * configure.in (m68*-next-*): Use m68k.h and nextstep.h. + (m68k-next-nextstep*): New alias for that. + (i*86-*-nextstep*): Use nextstep.h. + (sparc-*-nextstep*): New configuration. + + 1995-08-02 Richard Stallman + + * configure.in (CPP): Save original CFLAGS value in SPECIFIED_CFLAGS. + And get CFLAGS from config.h if SPECIFIED_CFLAGS is null. + + 1995-07-27 Richard Stallman + + * configure.in: Handle sunos4shr by sharing; not like sunos4*. + Determine GETTIMEOFDAY_ONE_ARGUMENT by experiment. + + 1995-07-18 Mike Long + + * make-dist: Fix update of finder-inf.el, and byte-compile it. + + 1995-07-18 Richard Stallman + + * Makefile.in (src/paths.h, paths-force): + Rename src/paths.h.in to src/paths.in. + (Makefile): Depend on src/Makefile.in, not src/Makefile.in.in. + + * configure.in: Rename {src,lib-src}/Makefile.in.in to Makefile.in. + Use Makefile.c for intermediate file. + Rename src/config.h.in to src/config.in. + + 1995-07-17 Richard Stallman + + * configure.in (mips-dec-ultrix*): Assume version 4.3. + (mips-dec-ultrix4.[12]): New alternative for old versions. + + 1995-07-06 Karl Heuer + + * make-dist: Don't break intra-tree links. + + 1995-07-06 David J. MacKenzie + + * configure.in: Put back archlibdir initialization. + Require autoconf 2.4.1 or later. + + 1995-07-01 Richard Stallman + + * configure.in: Use sunos4shr normally for Sunos 4.1.[3-9]. + (mips-mips-riscos5*): New alternative. + + 1995-06-29 Richard Stallman + + * Makefile.in (uninstall, install-arch-indep): Install info/ediff*. + + 1995-06-27 Richard Stallman + + * configure.in (bindir, datadir, sharedstatedir, libexecdir) + (mandir, infodir, archlibdir): Initializations deleted. + + * configure.in: On hpux9, use hpux9-x11r4.h if we have X11R4. + On hpux9shr, use hpux9shxr4.h. + + 1995-06-24 Morten Welinder + + * configure.in: Added target mips-dec-mach_bsd4.3. + * config.guess: Guess mips-dec-mach_bsd4.3. + + 1995-06-24 Richard Stallman + + * Makefile.in (mkdir): Use symbolic chmod. + + 1995-06-22 Paul Eggert + + * configure.in: Treat SunOS 4.1.4 like SunOS 4.1.3. (Likewise for + SunOS 4.1.5 through 4.1.9, should they ever exist.) + + 1995-06-22 Paul Eggert + + * Makefile.in (SUBDIR_MAKEFILES): + Add man/Makefile, so `make distclean' removes it. + (top_distclean): Add config.log to the list of files to be removed. + + 1995-06-19 Richard Stallman + + * Version 19.29 released. + + 1995-06-17 Richard Stallman + + * configure.in: Fix the previous change to verify that the -b + option really solves the problem. + + * make-dist (nt): Explicitly include makefile.nt and makefile.def only. + + 1995-06-16 Richard Stallman + + * configure.in: Test whether XFree86 needs -b i486-linuxaout to link. + + 1995-06-15 Richard Stallman + + * configure.in: Report more clearly when there is no special + dir to search for X includes or libraries. + + 1995-06-13 Karl Heuer + + * configure.in: Check for -lpthreads, not -lpthread. + + 1995-06-09 Geoff Voelker + + * make-dist: Copy new files nt/addpm.c and nt/emacs.bat.in. + + 1995-06-08 Karl Heuer + + * configure.in: Check for -lpthread. + + 1995-06-05 Karl Heuer + + * Makefile.in (install-arch-indep): Install info files for mh-e. + (uninstall): Uninstall info files for dired-x, gnus, mh-e, and sc. + + 1995-06-01 Karl Heuer + + * configure.in (*-solaris2.5): New configuration. + + * make-dist: Copy new files config.nt and config.w95. + + 1995-05-30 Karl Heuer + + * configure.in: Use x_includes, not x_libraries, for -I. + Make bitmapdir a colon-separated list. + + 1995-05-27 Richard Stallman + + * configure.in (hppa*-hp-hpux10*, m68k-hp-hpux10*): New configurations. + + * configure.in: Allow x_libraries and x_includes to be paths. + + 1995-05-25 Karl Heuer + + * configure.in: Fix typo. + + 1995-05-24 Karl Heuer + + * INSTALL: Clarify use of site-init.el. + + 1995-05-22 enami tsugutomo + + * configure.in: Pass arg to sqrt. + + 1995-05-18 Karl Heuer + + * make-dist: Fix May 6 change. + + 1995-05-17 Karl Heuer + + * vpath.sed: Delete reference to ymakefile. + + 1995-05-09 David J. MacKenzie + + * configure.in: Use sqrt (more portable) instead of fmod in -lm check. + + 1995-05-09 Richard Stallman + + * make-dist: Put nt/emacs.ico and nt/emacs.rc in dist. + + * update-subdirs: Specify /bin/sh to run the script. + + 1995-05-06 Richard Stallman + + * make-dist: Put src/makefile.nt in dist. + + * configure.in (i[345]86-*-bsdi2*): New configuration. + (vax-dec-bsd386*): Delete. + + 1995-05-06 David J. MacKenzie + + * configure.in: Make sure CDPATH doesn't mess up PWD check. + Check whether X bitmaps are in X11/bitmaps instead of bitmaps. + Use fmod instead of logb in -lm check. + + 1995-05-03 Richard Stallman + + * configure.in (m68*-apollo-*): Rename from m68*-apollo*. + Use bsd4-3. Don't set NON_GNU_CPP. + + * make-dist: Don't copy in src/s/*.inp. Don't copy nt/src. + In nt, copy various different things, but not *.cmd. + Fix the ln commands for the subdirs of nt. + + 1995-04-29 Richard Stallman + + * configure.in (*-sun-sunos4.1.3*): Use sunos4shr.h. + + 1995-04-27 Karl Heuer + + * configure.in (*-sun-sunos4.1.3*): Use shared libraries, + since that's what the header file expects. + + 1995-04-24 Francesco Potortì (pot@cnuce.cnr.it) + + * configure.in (m68k-motorola-sysv*): Distinguish between 68030 + and 68040 based machines when choosing options for gnucc. + + 1995-04-13 Richard Stallman + + * Makefile.in (top_distclean): Delete config.cache. + + 1995-04-07 Richard Stallman + + * Makefile.in (install-arch-indep): Delete .#* when copying subdirs. + + * configure.in: Use m/ncr386.h. + + 1995-04-06 Richard Stallman + + * Makefile.in (install-arch-indep): Undo Sep 23 change. + + 1995-04-06 Karl Heuer + + * make-dist (lib-src): Don't copy *.lex; it doesn't exist anymore. + (man): Don't copy texindex.c and getopt.c; they're deleted. + (etc): Omit `e'; it's a subdirectory. + (etc/e): Use `../..', not `..', to reference top level. + + 1995-04-06 Simon Leinen + + * Makefile.in (install-arch-indep, dist): + Look for `update-subdir' in $(srcdir). + + 1995-04-06 Richard Stallman + + * make-dist: Include mkinstalldirs in distribution. + + 1995-04-05 Karl Heuer + + * make-dist: Add missing close backquote. + + 1995-04-02 Richard Stallman + + * make-dist: Don't distribute shortnames directory. + + 1995-03-12 Richard Stallman + + * Makefile.in (blessmail): Pass archlibdir to the sub-make. + + 1995-02-25 Richard Stallman + + * configure.in (m88k-motorola-sysv4*): Use usg5-4-2. + + 1995-02-23 Karl Heuer + + * configure.in (EMACS_CONFIG_OPTIONS): Use $ac_configure_args. + + 1995-02-13 Richard Stallman + + * configure.in (mips-sgi-irix6): New configuration. + + 1995-02-07 Richard Stallman + + * Makefile.in (maintainer-clean): Rename from realclean. + + 1995-02-02 David J. MacKenzie + + * configure.in: Create a .gdbinit that sources the real one, + if using a different build directory. + + 1995-01-23 Karl Heuer + + * configure.in: Check for sys/select.h. + + 1995-01-02 Richard Stallman + + * configure.in: On sunos4.1.3 and sunus4shr, set NON_GNU_CPP. + + 1994-12-27 Richard Stallman + + * configure.in: Handle isc 4.1 operating system. + + 1994-12-10 Richard Stallman + + * configure.in (rs6000-ibm-aix4.1*): New alternative. + (rs6000-ibm-aix4*): New alternative. + + 1994-12-06 Richard Stallman + + * configure.in: For SVR4.2, set NON_GNU_CPP if not already set. + + 1994-11-30 David J. MacKenzie + + * configure.in: Don't try to make directories that are guaranteed + to already exist. + + 1994-11-23 Richard Stallman + + * configure.in: Generate man/Makefile from man/Makefile.in. + Create the man subdir. + + * Makefile.in (dvi): Run Make in our man subdir. + + * make-dist: Create subdir etc/e. + Make links to it. + Put man/Makefile.in in dist, instead of man/Makefile. + + 1994-11-21 David J. MacKenzie (djm@mole.gnu.ai.mit.edu) + + * configure.in: Add --with-pop, --with-kerberos, and + --with-hesiod for movemail. + + 1994-11-17 Richard Stallman + + * configure.in (m68*-apollo*): Use s/domain.h. + + 1994-11-14 Richard Stallman + + * configure.in (m68*-apollo*): Set NON_GNU_CPP. + + 1994-11-14 David J. MacKenzie (djm@geech.gnu.ai.mit.edu) + + * configure.in: Don't add -I, -L, -R options for cc if their + arguments would be empty. + + 1994-11-11 Richard Stallman + + * configure.in (i860-intel-osf1*): New alternative. + (mips-sgi-irix5.[01]*): Distinguish from irix5*. + (mips-sgi-irix*): Now an alias for mips-sgi-irix5*. + + 1994-11-09 David J. MacKenzie + + * configure.in: Make h_errno check not use nested functions. + + 1994-11-09 Richard Stallman + + * Makefile.in (install-arch-indep): Delete *.orig in copied dirs. + + 1994-11-08 Roland McGrath + + * Makefile.in (install-arch-indep): Avoid continued comment + swallowing target line. + + 1994-11-08 David J. MacKenzie (djm@churchy.gnu.ai.mit.edu) + + * configure.in: Protect a character class with `changequote'. + + 1994-11-07 Karl Heuer + + * configure.in: Accept `news' as a synonym for `newsos'. + + 1994-11-03 Karl Heuer + + * Makefile.in: Don't rm files if cd fails. + + 1994-11-01 Richard Stallman + + * make-dist: Put nt subdir and its subdirs in the dist. + (lib-src): Put makefile.nt in the dist. + (lisp): Put makefile.nt in the dist. + + 1994-10-29 David J. MacKenzie (djm@geech.gnu.ai.mit.edu) + + * configure.in: Change a stray `[' to `test'. + + 1994-10-28 David J. MacKenzie + + * configure.in: Adapt for Autoconf v2. Use the standard argument + parser, host type canonicalizer, X11 finder, and message + printing macros. Use the new macro names. Use `test' instead of `['. + + 1994-10-26 Richard Stallman + + * configure.in: Check for getpagesize. + + 1994-10-17 Richard Stallman + + * make-dist (msdos): Put sed* in the distribution. + + 1994-10-17 Morten Welinder + + * config.bat: New option, `--with-x', for configuring Emacs + for use with the X11 system DesqView/X. + New option, `--no-debug', for compiling Emacs without debug + information thus saving disk space. + (src/config.h, src/paths.h): Use `update' (which is like + `move-if-changed') to change the file. + (src/config.h): When configuring for X11 perform extra changes. + (src/makefile): When configuring for X11 perform extra changes. + (lib-src): Remove temporary files. + (): Check that `sed', `rm', `mv', and `gcc' are available. + + 1994-10-17 Richard Stallman + + * Makefile.in (sharedstatedir): Substitute sharedstatedir properly. + + * configure.in (bitmapdirs): Default to /usr/include/X11/bitmaps. + + 1994-10-16 Richard Stallman + + * configure.in (EMACS_CONFIGURATION): Use $canonical as value. + + * configure.in (canonical): Substitute var into makefiles. + (bitmapdir): Likewise. + + * Makefile.in (bitmapdir): New variable. + (src/paths.h, paths-force): Edit PATH_BITMAPS. + + 1994-10-15 Richard Stallman + + * make-dist: Put update-subdirs and lisp/subdirs.el in the dist. + + * Makefile.in (dist, install-arch-indep): Run update-subdirs. + * update-subdirs: New shell script. + + 1994-10-13 Richard Stallman + + * Makefile.in (top_distclean): Don't rm build-install. + (SOURCES): Delete build-install.in. + + * make-dist: Don't distribute build-ins.in. + * build-ins.in: File deleted. + + 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu) + + * Makefile.in (mkdir): Use mkinstalldirs instead of make-path. + + 1994-10-11 Richard Stallman + + * Makefile.in: Use libexecdir and sharedstatedir as appropriate. + + * configure.in (libexecdir): Rename from libdir. New default. + (sharedstatedir): Rename from statedir. New default. + (datadir): New default. + + * make-dist: Don't distribute subdirs.el. + + 1994-10-07 Richard Stallman + + * configure.in (eaccess): Check for it. + + 1994-10-04 Richard Stallman + + * configure.in (mktime): Check for it. + + 1994-10-02 Paul Reilly + + * configure.in (motif): Add support for usage and option checking. + + 1994-09-24 Richard Stallman + + * configure.in (utimes): Check for it. + + 1994-09-23 Richard Stallman + + * Makefile.in (install-arch-indep): Don't do mkdir here. + + 1994-09-21 Richard Stallman + + * configure.in (arm-acorn-riscix1.1*, arm-acorn-riscix1.2*): + riscix.h renamed to acorn.h. + + 1994-09-21 Michael Ben-Gershon (mybg@cs.huji.ac.il) + + * configure.in (arm-acorn-riscix1.1*, arm-acorn-riscix1.2*): + New configurations. + + 1994-09-21 David J. MacKenzie (djm@geech.gnu.ai.mit.edu) + + * configure.in: Remove trailing slashes from srcdir. + + 1994-09-21 Richard Stallman + + * configure.in (i[345]86-sequent-ptx*): Handle. + + 1994-09-20 Richard Stallman + + * Makefile.in (paths-force): Depend on src/paths.h. + + 1994-09-19 Karl Heuer + + * configure.in (config_options): Save all arguments, not just some. + + 1994-09-18 Karl Heuer + + * Makefile.in (install-arch-indep): Copy DOC-*, not DOC*. + + * configure.in: Add AC_AIX. + Add checks to set HAVE_STRUCT_UTIMBUF, HAVE_TIMEVAL, HAVE_SELECT. + + 1994-09-18 Richard Stallman + + * configure.in (parsing options): Simplify sed command to delete -'s. + + 1994-09-16 Karl Heuer + + * configure.in (config_options): New shell variable. + Pass its value to C code in EMACS_CONFIG_OPTIONS. + + 1994-09-16 Richard Stallman + + * configure.in (alpha-dec-osf*): New target. + + * Makefile.in: Use just one FRC target. + + 1994-09-15 Richard Stallman + + * Makefile.in (removenullpaths, paths-force): + Use name paths.h.tmp$$, which depends on the pid. + + 1994-09-14 Richard Stallman + + * Makefile.in (removenullpaths, paths-force): + Put paths.h.tmp in top-level dir, not in src. + + 1994-09-11 Richard Stallman + + * Version 19.27 released. + + 1994-09-07 Richard Stallman + + * Version 19.26 released. + + 1994-09-04 Richard Stallman + + * configure.in: Check for lrand48, not rand48. + + 1994-09-03 Richard Stallman + + * configure.in (powerpc-ibm-aix3.1*, powerpc-ibm-aix3.2.5) + (powerpc-ibm-aix*): New aliases. + + 1994-08-21 Richard Stallman + + * make-dist (src/m, src/s): Put *.inp in distribution. + + 1994-08-19 Richard Stallman + + * configure.in: Accept i586 and i486 along with i386. + + 1994-08-15 Richard Stallman + + * configure.in: Do compute unexec, LIBX, system_malloc, etc + even if CPP env var was set by the user. + + * configure.in (i[34]86-*-*): For SCO 3.2v4, fix NON_GNU_CPP value. + + 1994-08-14 Jonathan I. Kamens (jik@gza-client1.aktis.com) + + * Makefile.in: Uninstall "$(EMACS)", not "emacs". + + 1994-08-13 Richard Stallman + + * configure.in (i[34]86-*-*): For SCO 3.2v4, set NON_GNU_CPP. + + 1994-08-09 Richard Stallman + + * configure.in: Check more specifically for i*86-sun-sunos. + + 1994-08-03 Caveh Jalali (caveh@eng.sun.com) + + * configure.in: Handle solaris 2.4. + + 1994-07-27 Richard Stallman + + * configure.in (rand48): Check for it. + + 1994-07-26 Richard Stallman + + * make-dist: Update the info files. + + 1994-07-25 Richard Stallman + + * configure.in: Make "checking..." messages' style consistent. + (HAVE_H_ERRNO): New test. + + 1994-07-24 Richard Stallman + + * configure.in (i860-*-sysv4*): Set NON_GNU_CC and NON_GNU_CPP. + + 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (CFLAGS): If the envvar was specified, use that. + And set REAL_CFLAGS from it too. + + 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * make-dist: Update finder-inf.el. + + 1994-07-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * make-dist (msdos): Include sed4.inp in dist. + + * Makefile.in (libsrc_libs): Var deleted. + + 1994-07-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (mkdir, removenullpaths): Put g in sed replace commands. + + 1994-06-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (mips-sony-newsos4*): New alias. + + 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (*-convex-bsd*): Set NON_GNU_CPP. + (*-convex-convexos*): Accept this as alias. + + 1994-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Get CFLAGS both with and without THIS_IS_CONFIGURE, + for two different uses. + + 1994-06-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Define THIS_IS_CONFIGURE when extracting CFLAGS etc. + + 1994-06-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * make-dist: Put ./BUGS into the distrib. + + 1994-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Handle 386 running Solaris 2. + + 1994-06-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (mips-siemens-sysv*): Use cpp, not cc -E. + + 1994-06-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (mips-sony-newsos*): Use news-risc.h. + + * configure.in: Accept bsdi as opsys, like bsd386. + + 1994-06-01 Morten Welinder (terra@diku.dk) + + * config.bat (src/paths.h): Use sed script msdos/sed4.inp. + + 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.25 released. + + * make-dist (shortversion): Don't assume another period follows. + + 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (install-arch-indep): Use /bin/pwd uniformly, not pwd. + (uninstall): Use /bin/pwd. + + * Makefile.in (blessmail): Depend on src. + (all): Don't depend on blessmail. + + * Makefile.in (src/paths.h): Don't force recomputation. + (paths-force): New target; force recomputation of paths.h. + (all): Depend on paths-force. + (src, lib-src): Depend on src/paths.h. + + * configure.in (*-sun-sunos4*): Set GCC_TEST_OPTIONS, + NON_GCC_TEST_OPTIONS. + + 1994-05-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Don't insist on subversions for irix. + + 1994-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (hppa*-hp-hpux9shr): Move alternative up. + + * configure.in (i[34]86-next-*): New alternative. + + 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.24 released. + + * configure.in: New config hppa*-hp-hpux9shr*. + + 1994-05-22 Morten Welinder (terra@tyr.diku.dk) + + * config.bat: Doc fix. + + 1994-05-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (mostlyclean, clean, distclean, realclean) + (extraclean): Don't act on man subdir if it doesn't exist. + + 1994-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (GCC_TEST_OPTIONS, NON_GCC_TEST_OPTIONS): New vars. + Use them to set up CC. + (*-sun-sunos4.1.3): Set them. + + 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (lib-src): Don't depend on src/paths.h. + + 1994-05-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * build-ins.in (copydests): Get rid of spurious `-'s. + + * configure.in: Define EMACS_CONFIGURATION instead of CONFIGURATION. + + 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.23 released. + + * configure.in [HAVE_X11]: Merge $C_SWITCH_X_SITE into CFLAGS + for the Xlib and Xt checks; then restore old CFLAGS. + + 1994-05-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (HAVE_X11XTR6): Add newline before #if. + Add newline after #endif. + + 1994-05-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (HAVE_X11XTR6): Arrange to define it. + + 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (install): Depend on blessmail. + + 1994-05-12 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) + + * configure.in (mips-siemens-sysv*): Put quotes around value + containing blanks. + + 1994-05-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (TAGS): Use the makefile in src subdir. + + 1994-05-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (opsys): Recognize `gnu'. + + 1994-05-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (using NON_GNU_CPP): Fix test for CPP already set. + + 1994-05-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) + + * configure.in: Remove AC_LANG_C call. Not needed with Autoconf + version > 1.8. + + 1994-05-08 Morten Welinder (terra@diku.dk) + + * config.bat: Forcibly remove "# " style comments from makefiles. + + 1994-05-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (uninstall): When processing lispdir and etcdir, + do nothing unless it exists and is a directory. + + 1994-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (install-arch-indep): Do install info/dired-x*. + Merge code in from install-doc. + (install-doc): Merge code back into install-arch-indep. + (install-arch-dep): Don't depend on install-doc. + + * configure.in (run_in_place): Don't use pwd for archlibdir and docdir. + + 1994-05-04 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (making src/Makefile and lib-src/Makefile): + Split off the autoconf substitutions and don't pass them thru cpp. + (undefs): Use $canonical as well as $configuration. + + * make-dist: Distribute lisp/Makefile. + + * configure.in: Recognize m88k-dg-dgux5.4.3* and m88k-dg-dgux5.4.2*. + Use lower case names for the s files. + + 1994-05-03 Morten Welinder (terra@diku.dk) + + * config.bat: Added possibility for different file name + transcriptions in lib-src. + + 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (lib-src): Undo previous change. + (blessmail): New target to run maybe-blessmail in lib-src. + (all): Depend on blessmail. + + * Makefile.in (lib-src): Depend on src. + + 1994-04-30 Paul Reilly (pmr@churchy.gnu.ai.mit.edu) + + * configure.in (m88k-dg-dgux5.4R3): Use dgux5-4R3. + (m88k-dg-dgux5.4R2): dgux5.4R2. + + 1994-04-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (window_system): Restore accidentally deleted code + that uses AC_FIND_X. + + * make-dist: Distribute config.bat. + + 1994-04-29 Morten Welinder (terra@diku.dk) + + * config.bat: Corrected the configuration of lib-src + to keep up with configure. Add note about dos version 3 + or better needed (djgpp needs that). Add note explaining + that either install in c:/emacs or edit the script. + Don't change to c:/emacs, but assume we're there (to minimize + the number of places to change). + + * config.bat: Build-in the first step towards X11 support with + the X11 emulator that exists. At this time it won't work, + and several files are missing. + + 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Use m/hp800.h in place of m/hp9000s800.h. + Don't look for -lresolv. + + * Makefile.in (lib-src): Depend on src/paths.h. + + 1994-04-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Restore deleted AC_SUBST of `configuration'. + Improve error message for bad --with-x-toolkit value. + + * configure.in: Define CONFIGURATION in src/config.h + rather than substituting in src/Makefile.in. + + 1994-04-26 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * Makefile.in (install-doc): New target. + (install-arch-dep): Depend on install-doc. + (mkdir): Create docdir. + + 1994-04-22 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Test for libresolv.a. + Substitute machfile and opsysfile. + + 1994-04-22 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * Makefile.in (.PHONY, install): Kill reference to obsolete do-install. + (install-arch-dep): Install under the name $(EMACS). + + 1994-04-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (version): Use entire value of emacs-version. + (mips-siemens-sysv*): New alternative. + + 1994-04-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (install-arch-indep): Don't install dired-x*. + + 1994-04-18 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * configure.in (src/Makefile, lib-src/Makefile): Delete ^L. + Fix definition of $undefs. + + 1994-04-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (window_system): Obey --with-x11=no and --with-x10=no. + + * configure.in (lib-src/Makefile.in): Use src, not lib-src, in -I. + + 1994-04-16 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu) + + * configure.in: Call AC_LANG_C, if it's defined, after AC_PREPARE. + + 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (lib-src/Makefile.in): Make this from Makefile.in.in + and run it thru cpp, as with src/Makefile.in. + + * configure.in: Use AC_SET_MAKE. + + 1994-04-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (i[34]86-ncr-sysv*): Use usg5-4-2. + + 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (MAKE): Don't just assign it--use @SET_MAKE@. + + * configure.in (CFLAGS): Exclude ${CFLAGS} from singlequotes. + (printing the choices): Make the toolkit message unconditional. + (USE_X_TOOLKIT): Use `none', not `no', if none. + (include libsrc_libs): Include config.h, and specify -I for srcdir. + Get rid of temp file foofoo1. + + 1994-04-13 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * configure.in (CFLAGS): Use shell syntax, not Makefile. + + 1994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (window_system): If no X, set USE_X_TOOLKIT=no. + (printing the choices): State choice of toolkit. + (libsrc_libs): Recalculate after writing config.h; + then update lib-src/Makefile. + + 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Add sunos4shr as alternative for suns. + Conditionals testing for null $CC were backwards. + + 1994-04-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * make-dist (msdos): Don't link patch1. Link sed*.inp, not sed.in*. + + 1994-04-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Handle -isc4.0*. + + 1994-03-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (esix5): Set NON_GNU_CPP. + + 1994-03-24 Roland McGrath (roland@mole.gnu.ai.mit.edu) + + * Makefile.in (thisdir): Nonsensical variable removed. + (install-arch-indep): Set shell var thisdir=`pwd` before cd and cd + back to $thisdir, rather than the directory `this_dir'. + + 1994-03-17 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile.in (install-arch-indep): Add missing backslash after a + `then'. + + 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (thisdir): New variable. + (install-arch-indep): Go back to thisdir to run INSTALL_DATA. + + 1994-03-08 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * configure.in: Add freebsd. + + 1994-03-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in: Check for fpathconf. + + 1994-03-02 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * configure.in (with_x_toolkit): Fix typo in previous change. + + 1994-03-01 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * configure.in: New s-file for rs60000-ibm-aix3.2.5. + + 1994-02-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (with_x_toolkit): Don't allow motif or open-look. + + 1994-02-24 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) + + * configure.in: Fix value of docdir. + * Makefile.in (install-arch-indep): Install DOC* in docdir. + + 1994-02-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (*-sysv4.1): Set NON_GNU_CPP. + + 1994-02-22 Karl Heuer (kwzh@geech.gnu.ai.mit.edu) + + * configure.in: New variable docdir to control where the docstring + file goes. + Makefile.in: Use it to initialize PATH_DOC in paths.h. + + 1994-02-22 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * configure.in: When --run-in-place, don't inherit archlibdir. + + 1994-02-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (install-arch-dep, install-arch-indep): + New targets split up former do-install rule. + (do-install): Target deleted. + + 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (mips-sony-newsos*): New configuration. + + 1994-02-14 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * configure.in (rs6000-bull-bosx*): Add support for BULL dpx20. + + 1994-02-11 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * configure.in: Fix misspelled symbol LD_SWITCH_X_SITE_AUX. + + 1994-02-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Don't initialize CC. + + 1994-02-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (creating src/Makefile): Also generate -U switches + for symbols in the $configuration value. + + * configure.in: Check for sys_siglist being declared in system header. + + 1994-02-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (creating src/Makefile): Delete blank lines + along with lines of whitespace. + (m68k-motorola-sysv*, m68000-motorola-sysv*): Compute proper CC value. + + 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Get, use, and substitute C_SWITCH_MACHINE + like C_SWITCH_SYSTEM. + (m68*-motorola-sysv*): Set CC. Require cpu type to be m68k or m68000. + + 1994-02-04 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * configure.in (drem): Check for this function. + + 1994-02-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (Using NON_GNU_CPP): Don't lose if it has spaces. + If CPP was inherited from environment, don't use NON_GNU_CPP. + (NON_GNU_CC): Likewise. + (handling with_gcc): Use explicit if in the `no' case. + (cc_specified): New variable; if set, don't use NON_GNU_CC. + + 1994-02-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (mips-mips-riscos4*): Set NON_GNU_CPP. + + 1994-02-01 Karl Heuer (kwzh@mole.gnu.ai.mit.edu) + + * configure.in: Check whether fmod exists. + + 1994-01-31 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * make-dist: Distribute {src,lisp}/ChangeLog.? instead of + {src,lisp}/OChangeLog. + + 1994-01-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in: Restore Jan 8 and Jan 16 changes. The -U hack is + necessary for proper operation. This code works with the current + released version of Autoconf. + + 1994-01-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (with_x_toolkit): Treat values athena and lucid alike. + (USE_X_TOOLKIT): Define it for all values except `no'. + + * configure.in: Undo first Jan 8 change and Jan 16 change. + + 1994-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Handle --with-x-toolkit. Produce lwlib/Makefile. + Substitute USE_X_TOOLKIT as both C macro and Make variable. + + * Makefile.in (lwlib/Makefile): New target. + (SUBDIR_MAKEFILES): Depend on lwlib/Makefile. + (clean, mostlyclean, distclean, realclean): Handle lwlib subdir. + (unlock, relock): Handle lwlib subdir. + + * Makefile.in: Add some .PHONY targets. + + * make-dist: Handle lwlib subdir like oldXMenu subdir. + + * lwlib: New subdirectory. + + 1994-01-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: If CPP has a value that is a directory, + discard the value. + + 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (srcdir_undefs): Add g flag to sed substitution to + remove -U[0-9]*. + + 1994-01-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (do-install): Install the dired-x info files. + + * configure.in: Provide for variable LD_SWITCH_X_SITE_AUX. + (See src/s/sol2.h.) + + 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (m68k-harris-cxux*, m88k-harris-cxux*): New configs. + + 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (creating src/Makefile): Put code inside 2nd arg to + AC_OUTPUT as it should be; hopefully no one will again see fit to + gratuitously break this and not make a change log entry. + Optimized sed processing of Makefile.in and cpp output; now + preserves comments previously removed from the cpp input. + Eliminated temp file for cpp output. Generate -U switches to + undefine all identifiers that appear in the directory name + ${srcdir}; pass these to cpp. + + * configure.in (version): Fix sed regexp to match two-elt version + number. + + * configure.in: Check for strerror. + + 1994-01-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Test for bcmp. + + 1994-01-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * make-dist (tempdir): Put subdir msdos into the distribution. + + 1993-01-07 Morten Welinder (terra@diku.dk) + + * config.bat: New file. + + 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (${SUBDIR} target): Pass down LDFLAGS and CPPFLAGS. + + 1994-01-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (m68*-next-*): Don't care about which os is specified. + (i[34]86-*-*): Check for *-nextstop*. + + 1993-12-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Check for setsid. + + 1993-12-17 Richard Stallman (rms@srarc2) + + * configure.in (*-sun-solaris*): Add special case for Solaris 2.3. + + 1993-12-15 Richard Stallman (rms@srarc2) + + * Makefile.in (mkdir): Make only the lockdir writable. + + * configure.in (i860-*-sysv4): Rename from i860-*-sysvr4. + + 1993-12-11 Richard Stallman (rms@srarc2) + + * Makefile.in (libdir): Use @libdir@. + + 1993-12-08 Richard Stallman (rms@srarc2) + + * Makefile.in (install): Add empty command. + + 1993-12-04 Richard Stallman (rms@srarc2) + + * make-dist: Put man/getopt.c in the dist. + + * configure.in (LIBS): Add test for existence of XSetWMProtocols. + + * Makefile.in (install): Depend on ${SUBDIR}, not `all'. + + 1993-12-03 Richard Stallman (rms@srarc2) + + * configure.in (solaris): Set NON_GNU_CPP instead of CPP. + Set it for all solaris versions. + (mips-mips-riscos4*): Set NON_GNU_CC, not CC. + (after checking for GCC): If not GCC, and NON_GNU_CPP is set, set CPP. + Likewise for NON_GNU_CC and CC. + + 1993-12-01 Richard Stallman (rms@srarc2) + + * configure.in (mips-mips-riscos4*): Assign variable CC. + (checking ${with_gcc}): If "no", don't override CC if already set. + (CC): Initialize it as empty. + + 1993-11-30 Richard Stallman (rms@srarc2) + + * configure.in (Suns): Set CPP if *-solaris2.3*. + + 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.22 released. + + * Makefile.in (do-install): Use umask 022 in copying etc and lisp dirs. + + 1993-11-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * make-dist: When breaking links, use cp -p. + Copy install.sh into distribution. + Move the temp dir up into the parent dir; + don't leave the staging dir make-dist.tmp... in existence. + * install.sh: New file. + + 1993-11-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (i[34]86-ncr-sysv*): New specific alternative. + + 1993-11-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (version): When --run-in-place, exclude + ${datadir}/emacs/site-lisp from locallisppath. + + 1993-11-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Delete jumk.c before writing it. + + 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.21 released. + + * Makefile.in (mkdir): Ignore error from chmod. + + 1993-11-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * make-dist: Don't put lisp/forms.README in the distribution. + + 1993-11-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (creating src/Makefile): Before running cpp, + discard all lines that start with `# Generated' or /**/#. + + 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.20 released. + + * make-dist: Use build-ins.in, not build-install.in. + Don't bother updating TAGS since it's not included. + + * build-ins.in: Renamed from build-install.in. + + 1993-11-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * make-dist: Don't try to link *.texinfo--there are none now. + When running make in lib-src, specify YACC var value. + + 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in (extrasub): Add vpath patterns for %.[yls]. + + * configure.in: Don't do seddery on config.status after AC_OUTPUT. + Instead just include the commands to make src/Makefile as the + second arg to AC_OUTPUT. + + * configure.in: Use : instead of dnl for comment inside + $makefile_command. + + * configure.in: No longer use vpath_sed. Instead, when we notice + srcdir already configured, set extrasub to hack vpath in the + makefiles. + + * configure.in: In cmds to make src/Makefile, chmod Makefile.new + before moving it. + * Makefile.in (VPATH): Define to @srcdir@. + + 1993-09-28 Brian J. Fox (bfox@cubit) + + * configure.in: Don't copy ${srcdir}/src/Makefile.in; that file + doesn't exist. Just copy src/Makefile.in instead. + Touch all of the Makefiles after editing config.status. + + * INSTALL: Update documentation to match new configuration + mechanism. + + 1993-09-27 Brian J. Fox (bfox@ai.mit.edu) + + * configure.in: Allow any of the path or directory Makefile + variables to be set with flags to configure. Create all Makefiles + at configure time. Edit special commands into config.status after + src/Makefile.in is built from src/Makefile. + + * Makefile.in (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): + If these files are out of date, simply have config.status + rebuild them; don't rebuild them explicitly. + + 1993-09-25 Brian J. Fox (bfox@ai.mit.edu) + + * build-install.in: Change src/xemacs to src/emacs. We no longer + create src/xemacs, so the file wouldn't be found. + + * make-dist: Remove `src/ymakefile', add `src/Makefile.in.in'. + + 1993-09-24 Brian J. Fox (bfox@albert.gnu.ai.mit.edu) + + * configure.in: Avoid forcing the search of /usr/include before + fixed include files by resetting C_SWITCH_X_SITE if it is + "-I/usr/include". + + 1993-09-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (@rip_paths@locallisppath): + Delete ${datadir}/emacs/site-lisp. + + 1993-09-15 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in: + Use AC_QUOTE_SQUOTE twice to properly quote vpath_sed value. + Remove ${extra_output} from AC_OUTPUT call. + + 1993-09-17 Brian J. Fox (bfox@inferno) + + * make-dist: Quote backquotes found in strings to be echoed. + + * configure.in: Use "sh -c pwd" when we want to avoid having the + shell fix up the value of $PWD. + + 1993-09-13 Brian J. Fox (bfox@inferno) + + * Makefile.in (do-install): Don't abort if ln or chmod at the end + of the installation fail. Suggested by Karl Berry. + + 1993-08-30 Brian J. Fox (bfox@inferno) + + * Makefile.in (*clean): Use "$(MAKE) $(MAKEFLAGS)" wherever "make" + was used. Set MAKEFLAGS from MFLAGS. + + 1993-09-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Test for res_init in libc. + + 1993-09-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: In the file ${tempcname}, use configure___ + instead of @configure@. + + 1993-09-12 Roland McGrath (roland@sugar-bombs.gnu.ai.mit.edu) + + * make-dist: Dist vpath.sed. + + * Makefile.in (lib-src/Makefile, src/Makefile, oldXMenu/Makefile): + Depend on vpath.sed. + Replace sed command for VPATH with @vpath_sed@. + + * configure.in: Substitute variable `vpath_sed'. + If not in $srcdir and $srcdir is configured, + issue warning that GNU make is required, + and set vpath_sed to use vpath.sed script. + + 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in: Remove check for $srcdir being configured. + This pretty much works now. + Grok {m68*-hp,i[34]86-*}-netbsd* and set opsys=netbsd. + Check for XFree86 (/usr/X386/include) independent of whether + -lXbsd exists. + + * Makefile.in (info, dvi, clean, mostlyclean, distclean, + realclean, unlock, relock): Use `$(MAKE)' in place of plain + `make'. + + 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.19 released. + + * configure.in (i386-*-sunos4): Assume Sunos 4.0. + + 1993-08-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Check for XScreenNumberOfScreen. + + 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Add * to end of all configuration alternatives. + (m68*-sony-newsos3*): New alternative. + + 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * make-dist: Include getdate.c in distribution. + + * configure.in: For --help, use $PAGER if it is set. + (LIB_X11_LIB): Default to -lX11. + (mips-sgi-irix5.*): New alternative. + + * Makefile.in (do-install): Install info/gnus* and info/sc*. + + * configure.in (m68*-hp-hpux*, hppa*-hp-hpux*): + Recognize *.B8.* as hpux version 8. + (m68*-tektronix-bsd*): Fix typo in tek4300. + (AC_HAVE_FUNCS): Add ftime. + + 1993-08-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (m88k-tektronix-sysv3*): Add the missing *. + Use tekxd88, not tekXD88. + + 1993-08-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * configure.in: Check for -lm. Then can check for frexp and logb. + + 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.18 released. + + * make-dist (src): Don't put gnu-hp300 in dist. + (src, lisp): Include OChangeLog in dist. + + 1993-08-08 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * configure.in: Test for presence of logb and frexp functions. + + 1993-08-05 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (machine): Add i370-ibm-aix*. + + 1993-08-03 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * configure.in (function checks): Test for mkdir and rmdir. + + * configure.in (function checks): Don't test for random and bcopy + only when we're building with X; look for them all the time. + + 1993-07-30 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * configure.in: Test for availability of bcopy functions, searching + the X libraries if we're using X. + + * configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp, + and #define HAVE_AIX_SMT_EXP if we do. This is present in some + versions of AIX, and needs to be passed to the loader. + + * configure.in: Test for the availability of the + XScreenResourceString function. + + 1993-07-30 David J. MacKenzie (djm@frob.eng.umd.edu) + + * configure.in: If we found X on our own, set C_SWITCH_X_SITE and + LD_SWITCH_X_SITE and assume --with-x11. + Only look for X11 files if we weren't told about a window system + or if we were told to use X11 but not told where. + Search the libraries from the s and/or m files when checking for + functions. + + * configure.in: Remove any trailing slashes in prefix and exec_prefix. + + 1993-07-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * make-dist: Include lisp/dired.todo in the distribution. + + 1993-07-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Add code to set HAVE_INET_SOCKETS. + + 1993-07-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: If we do find x_includes and x_libraries + via AC_FIND_X, set C_SWITCH_X_SITE and LD_SWITCH_X_SITE. + + 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * make-dist: Include src/gnu-hp300 in the dist. + + * configure.in (canonical): New variable holds the canonicalized + configuration. Don't alter `configuration'. Use `configuration' + for Makefile.in for file naming. + (testing x_includes and x_libraries): Use =, not ==. + + 1993-07-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Version 19.17 released. + + * Makefile.in (src/Makefile): Propagate C_SWITCH_SYSTEM to the src + directory's makefile. This allows the invocation of CPP which + builds xmakefile to receive these switches. The SunSoft C + preprocessor inserts spaces between tokens if it doesn't get the + -Xs flag requested in src/s/sol2.h. + + 1993-07-12 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * configure.in (m68k-bull-sysv3): New config. + + 1993-07-10 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * configure.in: Use the autoconf AC_FIND_X macro to try to find + the X Windows libraries. + + 1993-07-07 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * make-dist (tempdir): Don't create lisp/forms-mode directory in + the distribution. Those files aren't kept in their own + subdirectory any more. + + 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Version 19.16 released. + + 1993-06-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * configure.in: Add --verbose flag. + + 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * version 19.15 released. + + 1993-06-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Makefile.in (top_distclean): Use -f switch when cleaning out + lock dir; it might be empty. + + * configure.in: Only check for -lXbsd once. + + 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Version 19.14 released. + + 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * make-dist: If using gzip, create distribution with '.gz' extension. + + * make-dist (lisp/term): This doesn't have a ChangeLog anymore. + (lisp/forms-mode): This doesn't exist anymore. + + * configure.in: Look for the closedir function. + + 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * configure.in (CPP): Autoconf sets this to a shell variable + reference, which doesn't work when it's edited into a makefile. + Expand that variable reference. + + * Makefile.in (CPP): New variable. + (src/Makefile): Edit CPP into src/Makefile. + + * Makefile.in (src/Makefile): Don't bother exiting single quotes + and entering double quotes to get the values of LD_SWITCH_X_SITE + and the other make variables; make substitutes them in anyway. + + * Makefile.in (uninstall): Don't remove the lisp and etc + directories if they're in the source tree. + + Bring mumbleclean targets into conformance with GNU coding standards. + * Makefile.in (mostlyclean, clean): Separate these two; just have + them pass the request to the subdirectory makefiles. + (distclean): Pass the request down, and then get rid of the + files configure built, and get rid of the Makefiles. + (realclean): Pass the request down, and then do the same things + distclean does. + (uninstall, info, dvi): New targets. + + * configure.in: Move clause for PC-compatible i386 box to the end + of the case statement, to avoid masking configurations below. + + * configure.in: Add case for m88k-motorola-sysv4. + + * configure.in: Add support for HP/UX versions 7, 8, and 9 on + the HP 68000 machines. + + * configure.in: Put the arguments to LD_SWITCH_X_SITE's and + C_SWITCH_X_SITE's -L and -I switches in quotes, so the + preprocessor won't fiddle with them. + + 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (TAGS): cd to src to run etags. + + 1993-06-12 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * configure.in (version): Check the X libraries for XrmSetDatabase + and random, and see if we have -lXbsd. + + 1993-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * configure.in: Pass "-Isrc" to the CPP we run to examine the + s/*.h and m/*.h files. Martin Tomes + says ISC Unix 3.0.1 needs it. + + 1993-06-10 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Move i386-prime-sysv* and i386-sequent-bsd* + above the general i386 alternative. + + 1993-06-10 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * configure.in: Recognize configuration name for Data General + AViiON machines. + + * configure.in: Use AC_LONG_FILE_NAMES. + + 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * configure.in: Test for bison. + * Makefile.in (YACC): New variable. + (lib-src/Makefile.in): Edit YACC into the makefile. + + 1993-06-08 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Version 19.13 released. + + * configure.in (CFLAGS): Don't set this according to the value of + the GCC shell variable. Instead, consult the machine and system + files for the values of C_OPTIMIZE_SWITCH and C_DEBUG_SWITCH, and + test __GNUC__ while we're at it. + + * configure.in: Remove extra ;; from hpux cases. + + 1993-06-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * configure.in: Check to see if the system has -ldnet. + + 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * make-dist: Add clauses to distribute lisp/forms-mode. + + 1993-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in (machine): Fix the versions in hpux version number test. + Do not guess based on cpu type. Do check for explicit system version. + + 1993-06-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Do NOT look for `unknown' as company name. + + 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Fix typo in message. + + 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.12 released. + + * Makefile.in (do-install): Correct previous etc-copying change. + Partially rewrite using `if'. + (src/Makefile): Insert --x-libraries option into LD_SWITCH_X_SITE. + + * Version 19.11 released. + + * configure.in: Handle 386bsd. + + 1993-05-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * make-dist: Update getdate.c. + + * configure.in: Handle bsd386. + + * Makefile.in (do-install): Use `-' in tar options. + + * configure.in: Change ! "${...}" to x"${...}" = x. + + * Makefile.in (do-install): Copy the DOC-* files from the build + etc directory, as well as lots of things from ${srcdir}/etc. + + * make-dist: Copy config.guess. + + * configure.in: Handle AIX versions 1.2, 1.3. + + 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * configure.in: Use s/bsd4-3.h for mips-mips-riscos4, and add + the configuration name mips-mips-usg* to represent USG systems. + + * configure.in: Fix logic to detect if srcdir is already configured. + + * Makefile.in: Pass in LD_SWITCH_X_SITE. + + * Makefile.in (mkdir, clean, mostlyclean, do-install): Use `(cd + foo && pwd)` instead of `(cd foo ; pwd)` to get the canonical name + of a directory; cd might fail, and have pwd print out the current + directory. + + 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: When looking for sources, use '.', not `.`. Also '..'. + + 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * configure.in: Complain if srcdir points at an already-configured + tree. + + 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Version 19.10 released. + + 1993-05-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Makefile.in: Use Makefile comments, not C comments. + + * configure.in: Add case for the Tektronix XD88. + + 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Handle sysv4.2 and sysvr4.2. + + 1993-05-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * configure.in: Traverse the argument list without destroying it; + don't use shift. It turns out that "set - ${saved_arguments}" + doesn't work portably. + + * configure.in: Add missing "fi". + + * make-dist: Rebuild configure if configure.in is newer. + + * Makefile.in (src:, lib-src:, FRC:): Force the src and lib-src + targets to be executed even if make remembers that it has already + satisfied FRC. + + 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (do-install): Delete redundant code to copy etc twice. + + * configure.in (romp): Handle various version numbers with aos and bsd. + + 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Fix message text. + + 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * make-dist: Make a `site-lisp' directory in the distribution, + instead of a `local-lisp' directory, which hasn't been the + appropriate name for a long time. + * Makefile.in (@rip_paths@locallisppath): Use site-lisp directory + from the distribution first, then /usr/local/lib/emacs/site-lisp. + + * Makefile.in (do-install): Correctly detect if ./etc and + ${srcdir}/etc are the same. + + * configure.in: Extract UNEXEC from the system configuration + files, compute the name of the source file corresponding to the + object file, and #define it as UNEXEC_SRC in config.h. + + * configure.in: If srcdir is '.', then try using PWD to make it + absolute. + + * configure.in: Include ${srcdir} in the printed report, to help + people notice if it's an automounter path. + + 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * configure.in (prefix): Don't run pwd on srcdir unnecessarily. + + 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (do-install): Delete the dest dir, not the source dir, + when they are different. Add `shift' command. + (COPYDESTS, COPYDIR): Delete external-lisp dir. + (externallispdir): Var deleted. + + * configure.in: Delete spurious paren outputting short_usage. + + 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Version 19.9 released. + + 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Makefile.in (${SUBDIR}): Pass the value of the make variable to + subdirectory makes. + + * make-dist: Check for .elc files with no corresponding .el file. + + * Makefile.in (mkdir): Make all the directories in locallisppath. + + * config.guess: New file. + * configure.in: Use it, tentatively. + * INSTALL: Mention its usage. + + * configure.in (hppa-hp-hpux): Use uname -r instead of uname -m; + the former gives you the operating system rev directly. + Use s/hpux.h if we don't recognize what we got. + + * Makefile.in (do-install): Don't remove a destination directory + if it's the same as the source. If ${srcdir}/info == ${infodir}, + don't try to copy the info files. + + * Makefile.in (COPYDIR, COPYDESTS): Don't mention etc twice; this + doesn't work if you're not using a separate source directory. + (do-install): Copy the build tree's etc directory only after + making sure it's not also the source tree's etc directory. + + 1993-05-26 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Handle sunos4.1.3 specially. + + 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (INSTALL): Add definition. + + * configure.in: Fix some messages. Support -with-gnu-cc. + At the end, use `set --', not `set -'. + Delete spurious `.h' in hpux alternatives. + + 1993-05-25 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Version 19.8 released. + + 1993-05-25 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * configure.in: When looking for source in the same directory as + the configure script, make the path thus discovered absolute. + If the user specifies the `--srcdir' switch, make that directory + absolute too. + + * Makefile.in (srcdir): Remove comment saying this doesn't work. + + * Makefile.in (src/paths.h): Edit the `infodir' variable into this + too, as the value of the PATH_INFO macro. + + * configure.in: Check to see if the source lives in the same + directory as the configure script. + + 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Makefile.in (install): Split this into `install' and + `do-install', to give people more control over exactly what gets + done. + (do-install): New target, containing the guts of `install'. + Don't remove and recreate the directories inside the copying loop - do + it all before the copying loop. Pass more flags to the lib-src + make. + (mkdir): Create ${infodir}, ${mandir}, and ${sitelispdir} here, to + avoid errors and warnings. + + * configure.in: For generic IBM PC boxes, insist on "unknown" for + the manufacturer - the more general case was blocking other i386 + configuration names below, and that's how the names are written in + MACHINES anyway. + + * make-dist: When breaking links, remove the link before moving + the copy onto it, to avoid interactive behavior. + + * Makefile.in: Doc fix. + + * configure.in: Doc fix. + + * INSTALL: Mention --exec-prefix option. + + * configure.in: Add support for the `--exec-prefix' option. + * Makefile.in: Accept that support. + + * configure.in: Use the AC_PROG_INSTALL macro. + * Makefile.in (INSTALL): Variable removed. + (INSTALL_PROGRAM, INSTALL_DATA): Accept these values from configure. + + * configure.in: Distinguish between hp800's and hp700's by calling + "uname -m". + + 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Recognize configuration names for i860 boxes + running SYSV. + + 1993-05-23 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * configure.in: Distinguish between hp800's and hp700's by the + version of HP/UX they run, since that's something people are more + likely to know - hp700's run 8.0. + Add HP 700 configuration. + + * configure.in: Test for the presence of the `rename' function. + + * Makefile.in (C_SWITCH_X_SITE): New variable - get this from + configure.in. + (oldXMenu/Makefile): Edit C_SWITCH_X_SITE into this. + + * make-dist: Break intra-tree links. + + * configure.in: Explain that this is an autoconf script, and give + instructions for rebuilding configure from it. Arrange to put + comments in configure explaining this too. + + * configure.in: Make the first line of the configure script be + "#!/bin/sh". Leaving the first line blank didn't work. + + * configure.in (long_usage): Remove; made short_usage describe + the options briefly. + + * configure.in: Implement the --prefix option. + * Makefile.in (prefix): Add support for it here. + * INSTALL: Document it here. + + * Makefile.in (install): Don't assume that the files in the `info' + subdirectory match *.info. They don't have that prefix. + + 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * configure.in: Add case for version 5 of Esix. + + 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Version 19.7 released. + + * make-dist: There aren't any *.com files in lib-src anymore. + + * make-dist: Copy texinfo.tex and texindex.c, rather than linking + them; they're symlinks to other filesystems on the GNU machines. + + * make-dist: Check that the manual reflects the same version of + Emacs as stated in lisp/version.el. Edit that version number into + the README file. + + 1993-05-21 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * configure.in: Remove the hack of AC_DEFINE; use + AC_DEFINE_UNQUOTED. + + 1993-05-20 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * make-dist: Don't distribute precomp.com, compile.com, or + link.com from ./src; they're in ./vms now. + + Some time-handling patches from Paul Eggert: + * configure.in: Add AC_TIMEZONE. + + 1993-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * configure.in: Recognize Linux as a valid operating system for + the i386. + + 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * make-dist: Distribute some VMS files we got from Richard Levitte. + + * Makefile.in (oldXMenu/Makefile): Take oldXMenu/Makefile.in as + the source for the sed command, not oldXMenu/Makefile. + + 1993-05-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * INSTALL: Don't claim the srcdir option doesn't work. + + 1993-05-16 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * configure.in: Include remarks saying what order the autoconf + tests should go in, and remind people to change config.h.in + whenever they add autoconf tests which make #definitions. + + * make-dist: Distribute oldXMenu/Makefile.in, not oldXMenu/Makefile. + + 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Makefile.in (oldXMenu/Makefile): Make this depend on + ${srcdir}/oldXMenu/Makefile.in, not itself. + + * PROBLEMS: Some updates from David J. Mackenzie. + + More changes from David J. Mackenzie. + * Makefile.in (install.sysv, install.xenix, install.aix): + Targets removed; autoconf and config.h should specify all these + differences. + (buildlisppath): Make this path depend on ${srcdir}. + (INSTALLFLAGS): Remove. + (INSTALL): Include the -c flag. + (install): Change the way we invoke install accordingly. + + Install ${srcdir} changes from DJM. + * Makefile.in (SUBDIR_MAKEFILES): Add oldXMenu/Makefile to this + list. + (COPYDIR, COPYDESTS): Install files from both the etc directory in + the source tree and the etc directory in the object tree. + (${SUBDIR}): Pass the prefix variable down to submakes. + (everywhere): Use `sed', not `/bin/sed'. Not all systems have sed + in /bin. + (lib-src/Makefile, src/Makefile, oldXMenu/Makefile): Edit in + values for srcdir and VPATH. + (install): Add `v' flag to tar command. Make sure that `dir' + exists in ${srcdir}/info before copying it. Remember that the man + pages come from the source tree, not the object tree. + * configure.in: Remove remarks saying that the --srcdir option + doesn't work. + Create the etc directory in the object tree. + Recognize configuration names of the form *-sun-solaris*. + Recognize sunos5 and solaris as operating system names. + + * configure.in: Use the AC_TIME_WITH_SYS_TIME macro, for + lib-src/getdate.y and src/systime.h. + + 1993-05-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * make-dist: Make links in info subdir. + + 1993-05-13 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * configure.in: Call AC_STDC_HEADERS. + + 1993-05-10 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * configure.in: Sidestep autoconf's quoting of the second argument + of AC_DEFINE, so we can specify the value to put there. It would + be nice if autoconf provided some way to specify computed values + for macros. + + 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Makefile.in (DEFS): Delete; since we're using AC_CONFIG_HEADER, + this is always just -DHAVE_CONFIG_H. + + The GNU coding standards specify that CFLAGS should be left for + users to set. + * Makefile.in (CFLAGS): Let configure determine the default value + for this. + Don't have it default to DEFS. + (${SUBDIR}): Pass CFLAGS down to submakes, not DEFS. + (lib-src/Makefile, src/Makefile): Edit the default value for + CFLAGS into these files, not DEFS. + * configure.in (CFLAGS): Choose a default value for this - "-g" + normally, or "-g -O" if we're using GCC. Edit it into the + top-level Makefile. + + * configure.in: When scanning the machine and system description + #include files, write their names to conftest.c properly. + + 1993-05-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * configure.in: In configuration name case for Apallos running + Domainios, set opsys, not opsysfile. + + * configure.in: Use the autoconf AC_CONFIG_HEADER macro to produce + src/config.h, instead of AC_OUTPUT; the latter overwrites + src/config.h even when it hasn't changed, puts a makefile-style + comment at the top even though it's C code, and produces a + config.status script which doesn't do the job right. + + * configure.in: Add AC_LN_S test, so we can tell whether or not we + can use a symbolic link to get the X Menu library into src. + * Makefile.in (LN_S): New variable. + (src/Makefile): Edit the value of LN_S into this makefile. + + 1993-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure.in: Support *-sco3.2v4* as opsystem. + + * make-dist: Don't include calc directory. + Exclude many files in the man directory; copy a few. + + 1993-05-04 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * configure.in: Use AC_HAVE_HEADERS to test for sys/time.h, and + call AC_STRUCT_TM to see what's in time.h. + + * configure.in: Employ quoting stupidity to get the value of CPP + to expand properly. + + 1993-04-27 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * configure.in: Use the AC_PROG_CPP macro, and then use the CPP + variable to scan the machine and system description files. + + * configure.in: Use the AC_HAVE_HEADERS to check for sys/timeb.h, + so that getdate.y builds correctly. + + 1993-04-26 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * configure.in (tempcname): Change this to "conftest.c", so it will + work properly on systems with short filenames; this is the name + autoconf uses. + + * configure.in: Also detect the availability of dup2 and + gethostname. + + * configure.in: Use the AC_ALLOCA test. + * Makefile.in (ALLOCA): New variable, to be set by ./configure. + (lib-src/Makefile): Edit the value of ALLOCA into lib-src/Makefile. + + 1993-04-24 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * make-dist: Distribute configure, as well as configure.in. + Oversight. + + 1993-04-23 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Makefile.in (install): Print out the name of the directory we're + copying, so people can have some idea of whether we're making + progress. + + * Makefile.in (install.aix, install.xenix, install.sysv, install): + Don't forget to re-create the COPYDESTS directories after we clear + them out. + + 1993-04-13 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Makefile.in: Add autoconf cookies so that the configure + script can comment out sections of path variable definitions to + choose between the installable configuration and the run-in-place + configuration. + * configure.in: Add new option `--run-in-place', to select the + run-in-place path definitions. + + * configure.in: Add a clause to the big configuration name case + for the NeXT machine. + + 1993-04-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Makefile.in (install, install.sysv, install.xenix, install.aix): + Make sure that each source directory exists, and is different from + the destination directory; then, delete the destination before + copying over the source. + + * make-dist: Distribute configure.in, instead of configure. + + 1993-04-10 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * configure.in: Don't set CC to "gcc -O" if the user specifies + `--with-gcc'. Add -O to DEFS if GCC is set. + + 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Makefile.in (clean mostlyclean): Missing right paren. + + * configure.in: When checking for X windows, search for an X11 + subdirectory of ${x_includes}. + + * configure.in: Check for gettimeofday function, for getdate.y. + + Change `configure' to a mixture of custom code and autoconf stuff. + autoconf can't derive all the information we need, but we'd really + like to be able to take advantage of some of its tests, and its + file-editing facilities. + * configure.in: Renamed from configure. + Quote the sections of shell script we want copied literally to + the configure script. + (compile): Initialize this to make the autoconf macros' code happy. + Use AC_PROG_CC, AC_CONST, and AC_RETSIGTYPE instead of writing out + code to do their jobs. + Use autoconf to produce Makefile and src/config.h. + Remove the Makefile-style comment that autoconf places at the top + of src/config.h. + (config_h_opts): Remove - no longer necessary. + * Makefile.in (configname): Rename to configuration. + (CONFIG_CFLAGS): Rename to DEFS. + (CC, DEFS, C_SWITCH_SYSTEM, version, configuration): Adjust to + get values via autoload @cookies@. + (libsrc_libs): Get this from autoconf. We used to do nothing + about this. + (${SUBDIR}): Pass DEFS to submakes instead of CONFIG_CFLAGS. + + * Makefile.in (src/paths.h, lib-src/Makefile, src/Makefile): + Don't echo the move-if-change command. + + 1993-04-08 Jim Blandy (jimb@churchy.gnu.ai.mit.edu) + + * make-dist: Distribute lib-src/rcs-checkin. + + * make-dist: It's oldXMenu/compile.com, not oldXMenu/compile.mms. + Don't try to make links to the RCS or Old subdirectories. + Use the appropriate extension for the compression type in use. + Create the tar file in the shell's initial default directory, not + in ${tempparent}. + Erase the whole ${tempparent} tree, not just ${tempdir}. + + 1993-03-30 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * Makefile.in (src/paths.h): Don't echo the huge sed command we + use to build paths.h. + (lib-src/Makefile, src/Makefile): Similarly. + + * configure: Extend test for working `const' keyword to handle AIX + 3.2 cc. + + 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * make-dist: Distribute lisp/term/ChangeLog. + + Arrange for C compilation throughout the tree to get + C_SWITCH_SYSTEM from the configuration files. + * configure: Extract C_SWITCH_SYSTEM from the machine and + system-dependent files, and save it in the top-level Makefile. + * Makefile.in (C_SWITCH_SYSTEM): New flag for configure to edit. + (lib-src/Makefile): Edit C_SWITCH_SYSTEM into lib-src/Makefile. + + * make-dist: Include the VMS support files in oldXMenu in the + distribution. + + * configure: Doc fix. + + * configure: Fix corrupted config_h_opts. + + * configure: Properly report option names in error messages. + + * configure: Properly recognize --x-includes and --x-libraries + options. + + * configure: Fix syntax errors in code handling XFree386. + + 1993-03-23 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * configure: Add special code to detect XFree386, and tell + config.h about it. + + * configure: Properly handle extracting values of LIBS_MACHINE and + LIBS_SYSTEM that contain spaces. + + * configure: Add `--x-includes' and `--x-libraries' options. + I think these are dopey, but no less than three alpha testers, at + large sites, have said they have their X files installed in odd + places. Implement them by setting C_SWITCH_X_SITE and + LD_SWITCH_X_SITE in src/config.h. + + 1993-03-22 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * make-dist: Don't distribute etc/Old files. + + * GETTING.GNU.SOFTWARE, PROBLEMS: Registered into RCS with their + backups. + + 1993-03-20 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * make-dist: Fix typo. + + 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * make-dist: Corrected typo, fixed it to discard = and TAGS files + in some cases where it should but didn't seen to. + + * Makefile.in: Added unlock and relock productions. + + 1993-03-18 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * make-dist: Add a --compress option to force make-dist to use + compress. + + * make-dist: Use gzip, if we can find it. + + * configure: Recognize rs6000-ibm-aix32 and rs6000-ibm-aix, and + make rs6000-ibm-aix default to -aix32. + + 1993-03-17 Eric S. Raymond (eric@geech.gnu.ai.mit.edu) + + * Makefile.in: Added `Developer's configuration' section. + + 1993-03-17 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * Makefile.in: Add commented-out variable settings for developer's + configuration. + + 1993-03-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * make-dist: Distribute `src/bitmaps' too. + + 1993-03-14 Charles Hannum (mycroft@hal.gnu.ai.mit.edu) + + * configure: Recognize rs6000-ibm-aix32 and rs6000-ibm-aix, and + make rs6000-ibm-aix default to -aix32. + + 1993-03-09 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * configure: Recognize strings like "sysvr0" or "sysvr1" as System V. + + * Makefile.in (install.sysv): Add a second `$' in front of + `${dest}', so that the shell will expand it, instead of Make. + + * configure: When processing the name of the configure script, + collapse `././' to `./', but leave a single `./' prefix alone. + + * configure: Doc fix. + + 1993-03-04 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * configure: Handle isc3.0 correctly. + + 1993-02-25 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * make-dist: Don't try to copy the COPYING notice into + external-lisp; we're not distributing that directory any more. + + 1993-02-24 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Makefile.in (install, install.aix, install.xenix, install.sysv): + Remove CVS subdirectories from the installed directory trees, as + well as RCS directories. + + 1993-02-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * make-dist: Only copy gmalloc.c if we couldn't link it. + Don't try to copy man/{README,Makefile} unless they actually exist. + + * Makefile.in (lisppath): Don't include externallispdir in this. + We're not sure whether we're even going to distribute the + directory yet. + + 1993-02-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * make-dist: Don't distribute the external-lisp directory anymore. + * INSTALL: Remove all references to external-lisp. + + * configure: Detect whether the compiler supports `const' + properly, and edit src/config.h accordingly. + + * configure: Tweak layout of final report. + + * Makefile.in (${SUBDIR}): Pass CONFIG_CFLAGS to the submakes, not + CFLAGS. + + * Makefile.in (locallisppath): Make this default to + ${datadir}/emacs/site-lisp, instead of + ${datadir}/emacs/local-lisp. ${datadir} and ${statedir} are often + the same thing, and local-lisp causes completion conflicts with + lock. + (lisppath): Add ${externallispdir} to this. + * INSTALL: Adjust installation directions. + + * Makefile.in (externallispdir): New variable, to say where to + install the externally-maintained lisp files. + (COPYDIR, COPYDESTS): Copy the external lisp directory just like + the others. + * INSTALL: Describe external-lisp and the new externallispdir + variable. + + 1993-02-14 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * configure (progname): New option `--with-gcc'. Make it clearer + how we are trying to guess whether or not we have GCC. + * INSTALL: Document the `--with-gcc' option, and improve + description of `--with-x' options. + + 1993-02-06 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Makefile.in (COPYDIR, COPYDESTS): Remove ${srcdir}/info and + ${infodir} from these variables; we have written out explicit code + to install the info files. + + 1993-01-25 Jim Blandy (jimb@geech.gnu.ai.mit.edu) + + * make-dist: Don't distributed the RCS files in the etc directory. + + 1993-01-24 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Makefile.in: Some makes can't handle comments in the middle of + commands; move them to before the whole rule. + + 1993-01-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * README: Mention what Emacs is. + + 1993-01-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * make-dist: Include `./lisp/calc-2.02' in the distribution. + Add `./cpp' and `./man' back into the distribution. + + 1993-01-13 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in: Define MAKE, and use where appropriate. + + 1993-01-07 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * make-dist: Remember that the authoritative COPYING notice is + `etc/COPYING', not `../etc/COPYING'. + + 1992-12-20 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * make-dist: Make sure that the COPYING notices in each directory + are copies, not symlinks. + + 1992-12-19 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * INSTALL: The build process produces an executable called `emacs' + now. Change references. + * Makefile.in: Adjust `install.mumble' targets to install + `src/emacs', not `src/xemacs'. + + * configure: Start with a blank line; this keeps some old CSH's + from thinking it's a CSH script. Most systems will just use + /bin/sh to run it, which is what we're expecting; the only other + shells which might try to interpret it themselves are probably + Bourne-compatible. + + 1992-12-14 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * INSTALL: Improvements suggested by David Mackenzie. + + 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * Makefile.in (install, install.sysv, install.xenix, install.aix): + Don't try to copy the info files if there aren't any; the + unexpanded globbing pattern disappoints `install'. Ignore the + return status of that command. + + * INSTALL: Updated for new configuration arrangement. + + * configure: Don't make the top-level Makefile read-only - people + may want to edit the values of the path variables. + + * Makefile.in (install, install.sysv, install.xenix, install.aix): + Install the info files in ${infodir}. Install the executable + under both `emacs' and `emacs-VERSION'. + + * Makefile.in: Doc fix. + + * Makefile.in (exec_prefix): New variable, as per latest version + of coding standards. + (bindir, libdir): Use it, instead of `prefix'. + (lib-src/Makefile): Edit value of exec_prefix into lib-src/Makefile. + + * Makefile.in (mandir): Make the default value for this depend on + $(prefix). + + * Makefile.in (datadir, statedir, libdir): Make these all default + to ${prefix}/lib. + (lispdir, locallisppath, etcdir, lockdir, archlibdir): + Adjust to compensate. + + * Makefile.in (install, install.sysv, install.xenix, install.aix): + Install the etags and ctags man pages too. + + * Makefile.in (distclean): Don't delete backup files; that's the + job of extraclean. + (extraclean): Like distclean, but deletes backup and autosave files. + + 1992-12-10 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + Make path specification conform to GNU coding standards. + * configure (long_usage): Remove all traces of old arguments from + usage messages, and document the options we do accept in more + detail: -with-x... and --srcdir. + (options, boolean_opts): Delete; we don't have enough options to + make this worthwhile. + (prefix, bindir, lisppath, datadir, libdir, lockdir): Delete, + along with the code which supported them; these should be set as + arguments to the top-level make. + (config_h_opts): Since this no longer doubles as a list of option + names, make them upper case; this simplifies the code which uses + them to build the sed command to edit src/config.h. Change the + code which sets them. + (cc, g, O): Don't allow the user to set these using options; they + should be specified using `CC=' and `CFLAGS=' arguments to the + top-level make. Just choose reasonable default values for them, + and edit them into Makefile.in's default CC and CONFIG_CFLAGS + values. + (gnu_malloc, rel_alloc): Don't allow the user to set these using + options; use them whenever the configuration files say they're + possible. + Simplify the argument processing loop. Don't accept abbreviations + for option names; these might conflict with other configuration + options in the future. + Add some support for the `--srcdir' option. Check for the sources + in . and .. if `--srcdir' is omitted. If the directories we will + compile in don't exist yet, create them under the current directory. + Note that the rest of the build process doesn't really support + this. + Edit only the top Makefile. That should edit the others. + Edit into the makefile: `version', from lisp/version.el, `configname' + and `srcdir' from the configuration arguments, `CC' and + `CONFIG_CFLAGS' as guessed from the presence or absence of GCC in + the user's path, and LOADLIBES as gleaned from the system + description files. + Simplify the report generated; it doesn't need to include any + description of paths now. + Make `config.status' exec configure instead of just calling it, so + there's no harm in overwriting `config.status'. + * Makefile.in (version, configname): New variables, used to choose + the default values for datadir and libdir. + Path variables rearranged into two clearer groups: + - In the first group are the variables specified by the GNU coding + standards (prefix, bindir, datadir, statedir, libdir, mandir, + manext, infodir, and srcdir). + - In the second are the variables actually used for Emacs's paths + (lispdir, locallisppath, lisppath, buildlisppath, etcdir, lockdir, + archlibdir), which depend on the first category. + datadir and libdir default to directories under + ${prefix}/lib/emacs instead of ${prefix}/emacs, by popular + demand. + etcdir and lispdir default to subdirectories of datadir. + archlibdir defaults to libdir. + The new installation tree is a bit deeper than it used to be, so + use the new make-path program in lib-src to build them all. + Always build a new src/paths.h.tmp and then move-if-change it to + src/paths.h, to avoid unnecessary rebuilds while responding to the + right changes. + Remove all mention of arch-lib. Run utility commands from + lib-src, and let the executables be copied into archlibdir when + Emacs is installed. + Add targets for src/Makefile, lib-src/Makefile, and + oldXMenu/Makefile, editing the values of the path variables into + them. + Let lib-src do its own installation. + (datadir): Default to putting data files under + ${prefix}/lib/emacs/${version}, not /usr/local/emacs. + (emacsdir): Variable deleted; it would only be confusing to use. + (lispdir, etcdir): Default to ${datadir}/lisp. + (mkdir): Use make-path for this. + (lockdir): Do this in mkdir. + (Makefile): New target. + + * configure (usage_message): Rename to long_usage. + + * make-dist: Don't bother creating an arch-lib directory; that's + only for installation now. + + 1992-11-20 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * configure: Use GCC-style configuration names, using config.sub. + Change the usage and help messages. + + * configure: Initialize window_system, not indow_system. + + * configure: Report which window system, compiler, and signal + handler return type we decide to use. + + * make-dist: Explain what's going on if config.sub and gmalloc.c + can't be linked. Place the code which copies them near the code + which links the rest of the files around them. + + 1992-11-15 Jim Blandy (jimb@apple-gunkies.gnu.ai.mit.edu) + + * make-dist: Don't bother to distribute src/*.com, or + src/vmsbuild; those have all been moved to `../vms'. + + 1992-11-07 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * make-dist: Don't forget that the way to avoid filenames starting + with `=' is to use the pattern `[a-zA-Z0-9]*.h', not + `[a-zA-Z0-9].h'. Add a new section for dealing with files that we + couldn't make hard links to, since we have two already, and + perhaps more to come. + + 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * configure: When editing parameters into lib-src/Makefile, change + the definition of CONFIG_CFLAGS instead of CFLAGS itself; CFLAGS + needs some other flags too. + + 1992-11-03 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * configure: Remove spurious echo of the configuration name. + + * make-dist: Don't distribute files in src/m and src/s whose names + begin with `='. + + 1992-10-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure: Update GNU_MALLOC and REL_ALLOC in config.h. + Also LISP_FLOAT_TYPE. + + 1992-10-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * make-dist: Copy config.sub, since it's a symbolic link to a file + on another file system. + + 1992-10-17 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * make-dist: Include lib-src/makedoc.com and emacs.csh in the + distribution. + + * config.sub: New file, to help us recognize configuration names. + * make-dist: Include it in the distribution. + + 1992-09-14 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * configure: Convert `-' to `_' in specified option names. + Accept options with --. Delete --highpri and --have-x-menu options. + New options --with-x and --with-x10 replace -window-system. + Don't mention options --gnu-malloc, --rel-alloc + or --lisp-float-type in help message. + + 1992-09-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * make-dist: Include the `vms' subdirectory in the distribution. + + 1992-09-10 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * configure: Remove lines starting with "# DIST: " when building + lib-src/Makefile and src/Makefile. This allows us to mark the + "Makefile.in" files with explanatory comments which won't also get + stuck in the Makefiles. + + 1992-09-05 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * make-dist: Don't use the '+' operator in the sed regular + expression that extracts the version number from lisp/version.el; + Ultrix sed doesn't seem support the operator. Just double the + operand and use *. + + 1992-09-01 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * Makefile.in: Doc fix. + + 1992-08-31 Jim Blandy (jimb@totoro.cs.oberlin.edu) + + * configure: Rewrite sed command to remove at most one ./ prefix; + Ultrix's sed doesn't allow us to apply the * operator to a \( \) + group. + + 1992-08-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (src/paths.h): Use sed, not /bin/sed. + + 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * make-dist: Go ahead and build a new TAGS file, unless the + --newer option was specified. Don't try to delete a TAGS file + from etc; it's not kept there, and shouldn't be deleted anyway. + + 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * make-dist: If the lisp directory contains a default.el, don't + distribute it. + + * configure: When searching signal.h for the type of a signal + return handler, make a copy of it, not a symbolic link to it; that + way, it will work on systems that don't have symbolic links. + + 1992-08-14 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) + + * make-dist: Taught it about vcdiff and rcs2log, added --newer + option for generating incremental distributions. Stopped it from + generating a TAGS file into the distribution; that sucker is + *big*, and easily enough generated with the toplevel makefile. + + 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * configure: When writing config.status, don't prefix progname + with a '.'; it might be absolute. + + 1992-08-05 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * configure: Choose to use X11 if either /usr/lib/libX11.a or + /usr/include/X11 exist, not only if both exist. + + 1992-07-27 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * make-dist: Make the new external-lisp directory a duplicate of + the external-lisp directory, not the lisp directory. + + 1992-07-07 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * Makefile.in (clean, mostlyclean): Don't bother trying to `make + clean' in arch-lib; it doesn't even have a Makefile. + + * Makefile.in (clean, mostlyclean): In the test which tries to + distinguish between the build directory, which should be cleaned, + and the installed directory, which shouldn't, cd to `${emacsdir}', + not `${DESTDIR}${LIBDIR}'. + + 1992-06-30 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * make-dist: Be sure to delete the .c and .h files that YACC and + BISON create from getdate.y. + + * external-lisp: New directory; see `external-lisp/README'. + * make-dist: Added support for the external-lisp subdirectory. + + * make-dist: Changed message which complains that make-dist wasn't + invoked in the right directory to indicate which files it was + looking for. + + 1992-06-29 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * configure: Add comments explaining why we can't translate + character ranges or control characters in `tr'. + + 1992-06-24 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * configure: When generating the configuration message, we used to + build the message from the start so that each line began with "# " + so that it would be a comment in `config.status'. However, this + causes trouble if any of the variables we use in the message + expand to more than one line of text - as gnu_malloc_reason + sometimes does. So instead, we build the message as it should be + printed to the user (i.e. without the "# " prefixes), and stick on + the "# "s when we write it to `config.status'. + + * Makefile.in (clean, mostlyclean): Don't neglect to clean out + `lib-src' and `arch-lib'. + + * configure: When generating report and `config.status' file, note + that bindir only determines where `make install' and + `build-install' will place the executables; this should make it + clear that the ordinary build process will not try to install + things. + + 1992-06-10 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) + + * make-dist: Change messages to say that we are 'making links to + X', rather than 'copying X'. And put `' quotes around file names. + + * make-dist: Include '.tmp' in the name of the staging directory. + + * make-dist: Pass the `-f' option to rm when you're not sure that + the files you're removing actually exist. + + * make-dist: When setting up etc/COPYING, always nuke whatever is + there, and then copy it in, to make sure we get a real file. + + * make-dist: Don't try to distribute *.defns files any more. + The only such file was for simula.el, which has been superseded by a + version which doesn't have a separate .defns file. + + 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM) + + * make-dist: Don't distribute configured versions of config.h.in, + paths.h.in, Makefile.in in src. + + * configure: Delete .tmp files before creating them; don't bother + trying to make final targets writable first, since it won't + matter to move-if-change. + + 1992-05-19 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * Makefile.in (mkdir, lockdir): Don't put dashes in front of the + mkdir and chmod in the center of all the conditionals. GNU Make + will strip these out, but other makes won't. + + 1992-05-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * make-dist: Include move-if-change in list of files to distribute. + + 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * configure: Remove any "." elements from the program name. + + * configure: Don't record the values of all the possible arguments + in config.status; only record the options that the user specified. + + * configure: Use move-if-change to move in the new src/config.h. + + 1992-04-29 Ken Raeburn (Raeburn@Cygnus.COM) + + * move-if-change: New file, copied from gcc release. + * Makefile.in (src/paths.h): Use it, and put the "sed" output into + a temp file, so we don't update paths.h if an error occurs or if + it doesn't need changing. + + 1992-04-28 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * Makefile.in (src/paths.h): Do not install a value for the + PATH_SUPERLOCK value; that macro doesn't exist anymore. + * build-install.in: Same thing. + + 1992-04-24 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * make-dist: Check the flag called "make_tar", not "make_dir"; the + latter, being a typo, is always false, resulting in a program + whose default behavior is to painstakingly build a copy of the + source tree, and then delete it. Rah. + + * Makefile.in: Add dist target, and comment for it. + + * configure: When scanning for a declaration for + signal, create a symbolic link with a name ending in .c, so the + compiler won't complain that it's only been given .h files. + + * configure: Check whether there are any arguments available + before shifting to get the value of a non-boolean parameter. + + * make-dist: Doc fix. + + 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * configure: Instead of grepping /usr/include/signal.h for a + signal declaration, run /usr/include/signal.h or + /usr/include/sys/signal.h through cpp and grep for the + declaration. + + * configure: Redirect the output of grep to /dev/null instead of + using grep -s - that flag means different things on other systems. + + * Makefile.in: Use 'buildlisppath' instead of 'dumplisppath', + since the former is recognizable even if you don't know what + 'dumping' is. + * configure: Accommodate that change. + + * configure: Accept options for all of the directories you can + change in the Makefile. + + * configure: Accept "-OPTION VALUE" as well as "-OPTION=VALUE". + + * INSTALL: Mention that you have to copy all the 'FOO.in' files to + FOO before you can use them. + + * build-install.in: Made the "Where To Install Things" section + conform with the similar section from Makefile.in. Copied section + which builds src/paths.h from src/paths.h.in from the Makefile. + + 1992-04-19 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * configure: Write config.status to pass its command-line + arguments on to configure, so that people can use it to recreate + an old configuration, with minor changes. + + 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * configure: Don't rely on option variables being unset if their + values are the empty string. In particular, when producing the + English report, don't assume that highpri will be unset when no + increased priority has been requested; -highpri='' should be the + same as omitting -highpri altogether. + + * configure: Fix dumb bug: when running the system and machine + description files through cpp, mark those lines that we want to + evaluate with the string '@configure@', and then only evaluate + them. This way if the files include anything that actually + generates text (type definitions or external declarations, say), + we won't try to eval it. + + 1992-04-11 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * make-dist: New shell script. + + * configure: When creating foo from foo.in, make foo read-only to + remind people to edit the .in file instead. + + * INSTALL: Changed references to config.h-dist to config.h.in. + The "BUILDING GNU EMACS BY HAND" section neglected to mention how + to build src/paths.h from src/paths.h.in; added a paragraph to do + this. + * configure, Makefile, build-install: Changed filenames like + FOO-dist to FOO.in. + + 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * Makefile, build-install: Renamed to Makefile.in and + build-install.in; the configure script will edit these to produce + the usable Makefile and build-install. + * configure: Changed to produce ./Makefile, ./build-install, + lib-src/Makefile, and src/Makefile from their *.in counterparts, + instead of editing them in place. + + 1992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * Makefile: Re-arranged so that the undumped Emacs will search + ../lisp *after* the site's local elisp files. + (locallisppath, dumplisppath): New variables. + (lisppath): This variable's default value is now chosen based on + $(locallisppath) and $(lispdir); while it used to be the + customization point for adding site-local elisp directories to + load-path, that job is now handled mostly by locallisppath. + (src/paths.h): Edit the value of a new macro, PATH_DUMPLOADSEARCH. + Check the values being assigned to the *LOADSEARCH macros for null + path elements (like '::' in 'foo::bar'). + + * configure: When checking if the machine- and system-dependent + files define a particular macro or not, actually run them through + CPP and test the macros with #ifs, instead of just grepping for + the macros' names. In particular, check for SYSTEM_MALLOC in this + way. + + 1992-04-03 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile (install): Don't use -s in install. (Keep the symbols.) + + 1992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * configure: Make the config.status file an executable shell + script which will recreate the same configuration. Include the + verbal description of the current configuration as a comment in + the script. + * INSTALL: Doc fix. + + * Makefile: Brought the Makefile up to the GNU coding + standards, as described in standards.text: + (TAGS): New name for the target which rebuilds the tags table. + (check): New target; doesn't do anything yet. + (mostlyclean): New target, synonymous with clean. + (realclean): New target. Currently, this just calls the + subdirectories's makefiles and then deletes config.status. + (INSTALL, INSTALLFLAGS, INSTALL_PROGRAM, INSTALL_DATA): + New variables. + Installation directory variables changed to conform. + (install, install.sysv, install.xenix, install.aix): Change the + code which copies the directories into their installed location to + allow the installed locations to be in several different + directories; the old version assumed that they would all be in + $(emacsdir). + (mkdir, lockdir): Allow the installed locations to be in several + different directories. + * INSTALL: Doc fix. + + * build-install: Use the same variable names as the Makefile. + Allow the installed locations to be in several different + directories. + + 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * Makefile (src/paths.h): Instead of using a single sed command to + edit both the PATH_LOCK and PATH_SUPERLOCK macros, edit the two + separately, and don't forget to append "/!!!SuperLock!!!" to the + value of the PATH_SUPERLOCK macro. + + * config.emacs: Renamed to configure, for consistency with other + GNU products. Internal references changed. + INSTALL, Makefile: References changed. + + * lock: New directory, which should always be empty. If this + directory doesn't exist, Emacs won't complain; it just won't lock. + Having this here means that people can just unpack Emacs, build + it, and have locking work. + + * share-lib: Re-renamed to etc, for the sake of tradition. + * config.emacs: Changed default value for datadir to ../etc. + * INSTALL, README: Adjusted. + + 1992-03-18 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * config.emacs: Guess the value for LOADLIBES in lib-src/Makefile + by running CPP on the appropriate s/*.h and m/*.h files. + + 1992-03-16 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * config.emacs: Make sure to set the "exit on error" flag once + we've removed config.status; errors should abort the configuration. + + 1992-02-15 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * config.emacs: Added -distribute option, so that the Makefile + paths are in their proper form. I don't know why this matters. + + 1992-02-14 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * local-lisp: New directory, empty in the distribution, for people + to put local elisp code in. + * config.emacs: Include it in the default load path. + * README: Document it. + + 1992-01-30 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * config.emacs: Guess the type of signal handling functions based + on the contents of /usr/include/signal.h. + + * config.emacs: Print out progress report messages. + + * Makefile (src/paths.h): Don't generically replace + /usr/local/lib/emacs with LIBROOT. This can hide bugs in the + editing of the other entries, and each entry should be dealt with + explicitly anyway. + + * build-install: Converted from C-shell to Bourne shell. + * config.emacs: Edit build-install properly. + + * config.emacs: Doc fix. + + 1992-01-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile (install): Remove `B' from tar xf command. + + 1992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu) + + * config.emacs: Removed support for the `maintain-environment' + option; the only important difference between this and its absence + has been removed. + * INSTALL: Removed mention of `maintain-environment'. + + * config.emacs: Fix arguments to sed when processing boolean + arguments. + + 1991-12-05 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * config.emacs: New file, to help automate the installation + process. + + * Makefile: Lots of changes to support the separation of etc into + architecture-dependent and -independent files: + (EMACSROOT): New variable, giving the directory under which all of + Emacs's libraries should be installed. Changed rest of file to + use it. + (LIBDIR): Now denotes only architecture-dependent dir. + (DATADIR): New variable, denoting architecture-independent dir. + (LOCKDIR): New variable, for completeness. + (SUBDIR): No more etc, new lib-src. + (COPYDIR): No more etc, new arch-lib and share-lib. + (src/paths.h): Set PATH_DATA and the LOCK macros too. + (src): Now depends on lib-src, not etc. + * build-install: Changes parallel to the above. + * README: Describe the new arrangement. + + * vms: New subdirectory for all the VMS stuff. + + 1991-12-03 Jim Blandy (jimb@pogo.gnu.ai.mit.edu) + + * Makefile (LISPPATH): New variable. + (src/paths.h): Define PATH_LOADSEARCH according to LISPPATH. + + 1990-09-28 Richard Stallman (rms@mole.ai.mit.edu) + + * Makefile (install, install.sysv, install.xenix): + Install wakeup instead of loadst. No need for setuid or setgid. + + 1990-08-07 Richard Stallman (rms@sugar-bombs.ai.mit.edu) + + * Makefile (clean): Clean etc if that's not the installation dir. + + 1990-04-26 Richard Stallman (rms@sugar-bombs.ai.mit.edu) + + * Makefile (paths.h): Make sed alter each name in the path. + + 1988-08-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu) + + * Makefile (install.sysv): Use cpio, not tar. + + 1988-08-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu) + + * Makefile (lockdir): Rename `lock' target. + Depend on it from install*, not from `all'. + + 1988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu) + + * Makefile: Changed LIBDIR and BINDIR back to /usr/local/{emacs,bin} + to match build-install and paths.h. + + ;; Local Variables: + ;; coding: utf-8 + ;; End: + + Copyright (C) 1993-1999, 2001-2015 Free Software Foundation, Inc. + + This file is part of GNU Emacs. + + GNU Emacs is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + GNU Emacs is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GNU Emacs. If not, see . diff --cc configure.ac index f378e3d9422,d2f21eeddae..bc7081de02b --- a/configure.ac +++ b/configure.ac @@@ -3100,26 -3094,7 +3096,26 @@@ AC_SUBST(LIBOTF_LIBS AC_SUBST(M17N_FLT_CFLAGS) AC_SUBST(M17N_FLT_LIBS) +USE_CAIRO=no +if test "${HAVE_X11}" = "yes"; then + if test "${with_cairo}" != "no"; then + CAIRO_REQUIRED=1.12.0 + CAIRO_MODULE="cairo >= $CAIRO_REQUIRED" + PKG_CHECK_MODULES(CAIRO, $CAIRO_MODULE, USE_CAIRO=yes, :) + if test $USE_CAIRO = yes; then + AC_DEFINE(USE_CAIRO, 1, [Define to 1 if using cairo.]) + else + AC_MSG_ERROR([cairo requested but not found.]) + fi + + CFLAGS="$CFLAGS $CAIRO_CFLAGS" + LIBS="$LIBS $CAIRO_LIBS" + AC_SUBST(CAIRO_CFLAGS) + AC_SUBST(CAIRO_LIBS) + fi +fi + - ### Use -lXpm if available, unless `--with-xpm=no'. + ### Use -lXpm if available, unless '--with-xpm=no'. ### mingw32 doesn't use -lXpm, since it loads the library dynamically. ### In the Cygwin-w32 build, we need to use /usr/include/noX/X11/xpm.h ### rather than /usr/include/X11/xpm.h, so we set CPPFLAGS (and diff --cc lisp/ChangeLog.17 index 00000000000,a40f8f3d67a..2408ad2d832 mode 000000,100644..100644 --- a/lisp/ChangeLog.17 +++ b/lisp/ChangeLog.17 @@@ -1,0 -1,26311 +1,26317 @@@ + 2015-04-06 Alan Mackenzie + + Fix miscellaneous glitches in cc-mode.el. (Bug#20245) + * progmodes/cc-mode.el (c-common-init): bind + \(before\|after\)-change-functions to nil around invocations of + c-get-state-before-change-functions and + c-before-font-lock-functions to prevent recursive invocations. + (c-neutralize-syntax-in-and-mark-CPP): On c-beginning-of-macro, + check that point has actually moved back. + (c-fl-decl-start): Check whether c-beginning-of-decl-1 has + actually found a boundary (as contrasted with hitting a search + limit). + + 2015-02-01 Alan Mackenzie + + CC Mode: Stop Font Lock forcing fontification from BOL. + * progmodes/cc-mode.el (c-font-lock-init): Setq + font-lock-extend-region-functions to nil. (Bug#19669) + + 2015-04-06 Fabián Ezequiel Gallina + + python.el: Do not break IPython magic completions. (Bug#19736) + * progmodes/python.el (python-shell-completion-setup-code): + Cleaner setup; import rlcompleter as last resource. + + 2015-04-06 Artur Malabarba + + * emacs-lisp/package.el: Fix lack of "new" packages. + (package-menu--new-package-list) + (package-menu--old-archive-contents): No longer local. + (package-menu--list-to-prompt): New function. + (package-menu--prompt-transaction-p): Use "Upgrade" to make the + package-menu-execute prompt less verbose. + + 2015-04-06 Paul Eggert + + Spelling fix for 'hfy-optimizations' + * htmlfontify.el (hfy-optimizations): Rename from hfy-optimisations, + with an obsolete alias. All uses changed. + + 2015-04-06 Fabián Ezequiel Gallina + + python.el: Enhance docstring detection following PEP-257. + * progmodes/python.el (python-docstring-at-p): Remove function. + (python-info-assignment-statement-p): New function. + (python-info-assignment-continuation-line-p): Use it. + (python-info-docstring-p): New function. + (python-font-lock-syntactic-face-function) + (python-fill-string): Use it. + + 2015-04-05 Eli Zaretskii + + * ses.el (ses-sym-rowcol): Move up, before the first use, to avoid + byte-compiler warnings. + + 2015-04-05 Alan Mackenzie + + * jit-lock.el (jit-lock-after-change): Widen the buffer only + whilst putting the 'fontified text properties. + + 2015-04-05 Alan Mackenzie + + Rationalize use of c[ad]+r, expunging cl-c[ad]\{3,4\}r. + Also expunge eudc-c[ad]+r. + * subr.el (internal--compiler-macro-cXXr): "New" function, + copied from cl--compiler-macro-cXXr. + (caar, cadr, cdar, cddr): Change from defsubsts to defuns with + the above compiler-macro. + * net/eudc.el (eudc-cadr, eudc-cdar, eudc-caar, eudc-cdaar): Remove. + * emacs-lisp/cl.el (Top level dolist doing defaliases): + Remove caaar, etc., from list of new alias functions. + * emacs-lisp/cl-lib.el (cl-caaar, etc): Rename to caaar, etc. + (gen-cXXr--rawname, gen-cXXr-all-cl-aliases): New function/macro + which generate obsolete cl- aliases for caaar, etc. Invoke them. + * desktop.el, edmacro.el, emacs-lisp/cl-macs.el, frameset.el: + * ibuffer.el, mail/footnote.el, net/dbus.el, net/eudc-export.el: + * net/eudc.el, net/eudcb-ph.el, net/rcirc.el, net/secrets.el: + * play/5x5.el, play/decipher.el, play/hanoi.el, progmodes/hideif.el: + * ses.el: Replace cl-caaar, eudc-cadr, etc. with caaar and cadr, etc. + + 2015-04-05 Richard Stallman + + * mail/rmail.el (rmail-show-message-1): When displaying a mime message, + indicate start and finish in the echo area. + + * mail/rmail.el (rmail-epa-decrypt): Disregard
 before armor.
+ 	Ignore more kinds of whitespace in mime headers.
+ 	Modify the decrypted mime part's mime type so it will be displayed
+ 	by default when visiting this message again.
+ 
+ 	* net/browse-url.el (browse-url-firefox-program): Prefer IceCat, doc.
+ 	(browse-url-firefox-arguments)
+ 	(browse-url-firefox-startup-arguments): Doc fix.
+ 
+ 2015-04-05  Artur Malabarba  
+ 
+ 	* emacs-lisp/package.el: Add package-initialize to user-init-file.
+ 	(package--ensure-init-file): New function.
+ 	(package-install, package-install-from-buffer): Use it.
+ 	(package-download-transaction, package-install-from-archive): Add
+ 	ASYNC and CALLBACK arguments.
+ 	(package-menu--prompt-transaction-p): New function.
+ 	(package-menu-execute): Use it to prompt the user about operations
+ 	to be executed.
+ 	(package-install): Add ASYNC and CALLBACK arguments.
+ 	(package-menu--perform-transaction): New function.
+ 	(package-menu-execute): Use it to install and delete packages.
+ 
+ 2015-04-05  Pete Williamson    (tiny-change)
+ 
+ 	Fix .emacs and .emacs.d/init file recursion problem for NaCl
+ 	* files.el (file-truename): Add NaCl to the exception list ms-dos uses.
+ 
+ 2015-04-04  Alan Mackenzie  
+ 
+ 	* progmodes/cc-mode.el (c-font-lock-init): Revert 2015-03-03 change
+ 	"Stop Font Lock forcing fontification from BOL."  (Bug#20245)
+ 
+ 2015-04-04  Artur Malabarba  
+ 
+ 	* emacs-lisp/package.el (package--download-and-read-archives): Add
+ 	`package-archives' to `package--downloads-in-progress' instead of
+ 	overwriting it.
+ 	(package--with-work-buffer-async): Protect macro arguments.
+ 	(package--download-one-archive)
+ 	(package--download-and-read-archives): Prevent
+ 	downloads-in-progress list from becoming outdated.
+ 
+ 2015-04-04  Michael Albinus  
+ 
+ 	* net/tramp-cache.el (tramp-flush-directory-property): Quote directory
+ 	name when used in regexp.
+ 
+ 2015-04-04  Alan Mackenzie  
+ 
+ 	* jit-lock.el (jit-lock-after-change): Widen the buffer before
+ 	putting 'fontified text properties.  (Bug#20240)
+ 
+ 2015-04-03  Michael Albinus  
+ 
+ 	* net/tramp-cache.el (tramp-flush-file-property)
+ 	(tramp-flush-directory-property): Use `directory-file-name' of the
+ 	truename.  (Bug#20249)
+ 
+ 2015-04-03  Nicolas Richard  
+ 
+ 	* pcmpl-unix.el (pcmpl-ssh-known-hosts): Use `char-before' instead
+ 	of `looking-back' (bug#17284).
+ 
+ 2015-04-03  Dmitry Gutov  
+ 
+ 	* progmodes/js.el (js-indent-line): Do nothing when bol is inside
+ 	a string (https://github.com/mooz/js2-mode/issues/227).
+ 
+ 2015-04-02  Stefan Monnier  
+ 
+ 	* abbrev.el (define-abbrev-table): Treat a non-string "docstring" as
+ 	part of the "props" arguments rather than silently ignoring it.
+ 
+ 	* emacs-lisp/lisp-mnt.el (lm-version): Don't burp in a non-file buffer.
+ 
+ 2015-04-01  Alan Mackenzie  
+ 
+ 	Fix the CC Mode fixes from 2015-03-30.  (Bug#20240)
+ 	* progmodes/cc-mode.el (c-extend-after-change-region):
+ 	Widen before applying text properties.
+ 	* progmodes/cc-langs.el (c-before-font-lock-functions):
+ 	Update an entry to a new function name.
+ 
+ 2015-04-01  Paul Eggert  
+ 
+ 	* emacs-lisp/package.el: Spelling fixes and use active voice.
+ 
+ 2015-04-01  Artur Malabarba  
+ 
+ 	* emacs-lisp/package.el: Implement asynchronous refreshing.
+ 	(package--with-work-buffer-async)
+ 	(package--check-signature-content)
+ 	(package--update-downloads-in-progress): New functions.
+ 	(package--check-signature, package--download-one-archive)
+ 	(package--download-and-read-archives, package-refresh-contents):
+ 	Optional arguments for async usage.
+ 	(package--post-download-archives-hook): New variable.  Hook run
+ 	after every refresh.
+ 
+ 	* emacs-lisp/package.el: Make package-menu asynchronous.
+ 	(package-menu-async): New variable.  Controls whether
+ 	`list-packages' is asynchronous.
+ 	(list-packages): Now asynchronous by default.
+ 	(package-menu--new-package-list): Always buffer-local.
+ 	(package-menu--post-refresh)
+ 	(package-menu--find-and-notify-upgrades)
+ 	(package-menu--populate-new-package-list): New functions.
+ 
+ 2015-03-31  Simen Heggestøyl  
+ 
+ 	* textmodes/css-mode.el (css-mode): Derive from `prog-mode'.
+ 
+ 2015-03-31  Stefan Monnier  
+ 
+ 	* jit-lock.el (jit-lock--run-functions): Fix min/max copy&paste error.
+ 
+ 	Let jit-lock know the result of font-lock-extend-region-functions.
+ 	* jit-lock.el (jit-lock--run-functions): New function.
+ 	(jit-lock-fontify-now): Use it.  Handle fontification bounds more
+ 	precisely in case the backend functions fontify more than requested.
+ 	Don't round up to whole lines since that shouldn't be needed
+ 	any more.
+ 	* font-lock.el (font-lock-fontify-region-function): Adjust docstring.
+ 	(font-lock-inhibit-thing-lock): Make obsolete.
+ 	(font-lock-default-fontify-region): Return the bounds actually used.
+ 
+ 	* emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
+ 	Fix compilation error.
+ 
+ 2015-03-30  Artur Malabarba  
+ 
+ 	* emacs-lisp/package.el: Reorganize package.el and divide it with
+ 	page-breaks and comments.
+ 
+ 2015-03-30  Stefan Monnier  
+ 
+ 	* emacs-lisp/eieio-base.el (make-instance) : New instance
+ 	which stores the old-style object name argument into the
+ 	object-name field.
+ 
+ 2015-03-30  Alan Mackenzie  
+ 
+ 	Correct calculation of CC Mode's font-lock region.
+ 	* progmodes/cc-mode.el (c-fl-decl-start): Rename from
+ 	c-set-fl-decl-start.  Change signature such that nil is returned
+ 	when no declaration is found.
+ 	(c-change-expand-fl-region): Rename from
+ 	c-change-set-fl-decl-start.  This now also handles expanding the
+ 	font lock region to whole lines.
+ 	(c-context-expand-fl-region): Rename from
+ 	c-context-set-fl-decl-start.  This now also handles expanding the
+ 	font lock region to whole lines.
+ 	(c-font-lock-fontify-region): When a change font lock region is
+ 	spuriously enlarged to the beginning-of-line by jit-lock, fontify
+ 	the extra bit separately from the region calculated by CC Mode.
+ 	(c-extend-after-change-region): Explicitly apply 'fontified
+ 	properties to the extended bits of the font lock region.
+ 	* progmodes/cc-langs.el (c-before-font-lock-functions)
+ 	(c-before-context-fontification-functions): Use new names for
+ 	existing functions (see above).
+ 
+ 2015-03-30  Richard Ryniker    (tiny change)
+ 
+ 	* mail/sendmail.el (sendmail-send-it): Do not attempt to switch
+ 	to non-existent buffer (errbuf is not created when customization
+ 	variable mail-interactive is nil).  (Bug#20211)
+ 
+ 2015-03-29  Stefan Monnier  
+ 
+ 	* emacs-lisp/smie.el (smie-backward-sexp-command)
+ 	(smie-forward-sexp-command): Don't pretend the arg is optional
+ 	(bug#20205).
+ 
+ 2015-03-29  Dmitry Gutov  
+ 
+ 	* progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
+ 	Detect regexps after `!'.  (Bug#19285)
+ 
+ 	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
+ 	Use `font-lock-constant-face' for nil, true and false.
+ 	Highlight `self' as a keyword.  (Bug#17733)
+ 
+ 2015-03-29  Nobuyoshi Nakada  
+ 
+ 	* progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
+ 	Expect beginning of regexp also after open brace or vertical bar.
+ 	(Bug#20026)
+ 
+ 2015-03-28  Jan Djärv  
+ 
+ 	* emacs-lisp/package.el (package-refresh-contents): Fix spelling
+ 	error in previous change.
+ 
+ 2015-03-28  Tom Willemse    (tiny change)
+ 
+ 	* elec-pair.el (electric-pair-local-mode): New command.
+ 	(electric-pair-mode): Mention `electric-pair-local-mode' in the
+ 	docstring.
+ 
+ 2015-03-28  Jan Djärv  
+ 
+ 	* emacs-lisp/package.el (package-refresh-contents): Add a message at
+ 	the end so it does not appear to have hanged (Bug#17879).
+ 
+ 2015-03-27  Wolfgang Jenkner  
+ 
+ 	* font-lock.el (font-lock--remove-face-from-text-property):
+ 	New function.  Adapted from the previously commented out
+ 	remove-single-text-property.
+ 	Remove previously unused and commented out auxiliary function
+ 	remove-text-property and obsolete comment.
+ 	* comint.el (comint-output-filter): Use it to remove
+ 	comint-highlight-prompt.
+ 	(comint-snapshot-last-prompt, comint-output-filter):
+ 	Use font-lock-prepend-text-property for comint-highlight-prompt.
+ 	(Bug#20084)
+ 
+ 2015-03-26  Daniel Colascione  
+ 
+ 	* progmodes/python.el
+ 	(python-indent-guess-indent-offset-verbose): New defcustom.
+ 	(python-indent-guess-indent-offset): Use it.
+ 
+ 2015-03-26  Stefan Monnier  
+ 
+ 	* emacs-lisp/eieio.el (defclass): Change internal name so as to make
+ 	sure only EIEIO files should have "eieio--" prefixes in their .elc.
+ 
+ 	* emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler.
+ 
+ 2015-03-26  Boruch Baum    (tiny change)
+ 
+ 	* bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177).
+ 
+ 2015-03-25  Dmitry Gutov  
+ 
+ 	* json.el (json-special-chars): Don't treat `/' specially, there's
+ 	no need to.
+ 	(json-encode-string): Only escape quotation mark, backslash and
+ 	the control characters U+0000 to U+001F.
+ 
+ 2015-03-25  Artur Malabarba  
+ 
+ 	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
+ 	Don't complain about args starting with _.
+ 
+ 2015-03-25  Stefan Monnier  
+ 
+ 	* international/mule-cmds.el (mule--ucs-names-annotation): New func.
+ 	(read-char-by-name): Use it.
+ 
+ 	* xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit.
+ 
+ 2015-03-25  Nicolas Petton 
+ 
+ 	* emacs-lisp/seq.el: Documentation improvements.
+ 
+ 2015-03-25  Glenn Morris  
+ 
+ 	* net/browse-url.el (browse-url-browser-function)
+ 	(browse-url-default-browser):
+ 	Remove obsolete items from the explicit listing.
+ 	(browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes.
+ 	(browse-url-netscape-program, browse-url-netscape-arguments)
+ 	(browse-url-netscape-startup-arguments)
+ 	(browse-url-galeon-program, browse-url-galeon-arguments)
+ 	(browse-url-galeon-startup-arguments)
+ 	(browse-url-gnome-moz-program, browse-url-gnome-moz-arguments)
+ 	(browse-url-galeon-new-window-is-tab)
+ 	(browse-url-netscape-new-window-is-tab)
+ 	(browse-url-mosaic-program, browse-url-mosaic-arguments)
+ 	(browse-url-mosaic-pidfile, browse-url-CCI-port)
+ 	(browse-url-CCI-host, browse-url-netscape-version)
+ 	(browse-url-netscape, browse-url-netscape-sentinel)
+ 	(browse-url-netscape-reload, browse-url-netscape-send)
+ 	(browse-url-galeon, browse-url-galeon-sentinel)
+ 	(browse-url-gnome-moz, browse-url-mosaic, browse-url-cci)
+ 	(browse-url-w3-gnudoit): Make obsolete.
+ 	* ffap.el (ffap-url-fetcher): Simplify default and doc.
+ 
+ 2015-03-25  Olaf Rogalsky  
+ 
+ 	* xt-mouse.el: Add mouse-tracking support (bug#19416).
+ 	(xterm-mouse-translate-1): Handle mouse-movement events.
+ 	(xterm-mouse--read-event-sequence-1000)
+ 	(xterm-mouse--read-event-sequence-1006): Delete functions.
+ 	(xterm-mouse--read-event-sequence): New function that handles both at
+ 	the same time.  Handle mouse-movements.
+ 	(xterm-mouse--read-utf8-char, xterm-mouse--read-number-from-terminal):
+ 	New functions.
+ 	(xterm-mouse-event): Simplify.
+ 	(xterm-mouse-tracking-enable-sequence)
+ 	(xterm-mouse-tracking-disable-sequence): Enable mouse tracking.
+ 
+ 	* mouse.el (mouse-drag-line): Also ignore `vertical-line' prefix events.
+ 
+ 2015-03-24  Michael Albinus  
+ 
+ 	* net/tramp-sh.el (tramp-do-file-attributes-with-ls)
+ 	(tramp-do-file-attributes-with-stat): Quote file names in output.
+ 	(tramp-do-directory-files-and-attributes-with-stat): Use "//" as marker.
+ 
+ 2015-03-24  Daiki Ueno  
+ 
+ 	* epg.el (epg-start-generate-key): Fix typo in "gpg --gen-key"
+ 	invocation; make the PARAMETERS documentation clearer.
+ 
+ 2015-03-24  Stefan Monnier  
+ 
+ 	Add cl-struct specific optimizations to pcase.
+ 	* emacs-lisp/cl-macs.el (cl--struct-all-parents)
+ 	(cl--pcase-mutually-exclusive-p): New functions.
+ 	(pcase--mutually-exclusive-p): Advise to optimize cl-struct patterns.
+ 
+ 	* emacs-lisp/pcase.el (pcase--split-pred): Handle quoted string.
+ 
+ 2015-03-23  Stefan Monnier  
+ 
+ 	Add new `cl-struct' and `eieio' pcase patterns.
+ 	* emacs-lisp/cl-macs.el (cl-struct): New pcase pattern.
+ 	* emacs-lisp/eieio.el (eieio-pcase-slot-index-table)
+ 	(eieio-pcase-slot-index-from-index-table): New functions.
+ 	(eieio): New pcase pattern.
+ 	* emacs-lisp/pcase.el (pcase--make-docstring): New function.
+ 	(pcase): Use it to build the docstring.
+ 	(pcase-defmacro): Make sure the macro is lazy-loaded.
+ 	(\`): Move its docstring from `pcase'.
+ 
+ 2015-03-23  Glenn Morris  
+ 
+ 	* emacs-lisp/authors.el (authors-aliases)
+ 	(authors-obsolete-files-regexps): Additions.
+ 
+ 2015-03-23  Jan Djärv  
+ 
+ 	* simple.el (deactivate-mark): Only modify PRIMARY if we own
+ 	PRIMARY (Bug#18939).
+ 
+ 2015-03-23  Martin Rudalics  
+ 
+ 	* emacs-lisp/debug.el (debug): Don't try using "previous" window
+ 	when its not live or on an invisible frame (Bug#17170).
+ 
+ 2015-03-23  Dmitry Gutov  
+ 
+ 	* json.el (json-decode-char0): Delete this alias as well.
+ 	(json-read-escaped-char): Don't call it (bug#20154).
+ 
+ 2015-03-23  Daniel Colascione  
+ 
+ 	* emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p): New function.
+ 	(lisp--el-match-keyword): Use it.
+ 
+ 2015-03-23  Daiki Ueno  
+ 
+ 	* subr.el (start-process): New function, ported from the C
+ 	implementation.
+ 
+ 2015-03-23  Daniel Colascione  
+ 
+ 	Automatically adjust process window sizes.
+ 
+ 	* window.el (window-adjust-process-window-size-function):
+ 	New customizable variable.
+ 	(window-adjust-process-window-size)
+ 	(window-adjust-process-window-size-smallest)
+ 	(window-adjust-process-window-size-largest)
+ 	(window--process-window-list, window--adjust-process-windows):
+ 	New functions.
+ 	(window-configuration-change-hook):
+ 	Add `window--adjust-process-windows'.
+ 	* term.el (term-mode): Observe result of
+ 	`window-adjust-process-window-size-function'.
+ 	(term-check-size): Delete.
+ 
+ 2015-03-22  Jackson Ray Hamilton  
+ 
+ 	* textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom.
+ 	(sgml-calculate-indent): Use `sgml-attribute-offset' for attribute
+ 	indentation (bug#20161).
+ 
+ 2015-03-22  Dmitry Gutov  
+ 
+ 	* json.el (json-encode-char0): Delete this alias.
+ 	(json-encode-string): Rewrite to improve performance (bug#20154).
+ 	(json-encode-char): Fold into `json-encode-string'.
+ 
+ 2015-03-22  Artur Malabarba  
+ 
+ 	* menu-bar.el (menu-bar-update-buffers): Count displayed buffers
+ 	for `buffers-menu-max-size', not total buffers.
+ 
+ 2015-03-21  Titus von der Malsburg  
+ 
+ 	* window.el (window-font-width, window-font-height)
+ 	(window-max-chars-per-line): New functions.
+ 
+ 	* simple.el (default-font-height): Doc fix.
+ 	(default-font-width): New function.
+ 
+ 2015-03-21  Tassilo Horn  
+ 
+ 	* emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1):
+ 	Also recognize (cl-)defmethod with (setf method) name.
+ 
+ 2015-03-20  Tassilo Horn  
+ 
+ 	* emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1):
+ 	Fix false positive in function name font-locking.
+ 	(lisp-cl-font-lock-keywords-1): Ditto.
+ 
+ 2015-03-20  Stefan Monnier  
+ 
+ 	* emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive
+ 	occurrences of args via &cl-defs (bug#20149).
+ 
+ 2015-03-20  Alan Mackenzie  
+ 
+ 	Fix Bug#20146
+ 
+ 	* font-lock.el (font-lock-extend-jit-lock-region-after-change):
+ 	Return the calculated values, as per spec.
+ 
+ 2015-03-20  Dmitry Gutov  
+ 
+ 	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
+ 	and `callcc' to the "methods with required arguments" section,
+ 	they need a block argument.  Remove a `throw' duplicate.
+ 
+ 2015-03-19  Vibhav Pant  
+ 
+ 	* progmodes/cperl-mode.el (cperl-electric-backspace):
+ 	Call delete-backward-space interactively instead of delete-char.
+ 
+ 2015-03-19  Stefan Monnier  
+ 
+ 	* emacs-lisp/pcase.el (pcase-lambda): Rewrite.
+ 
+ 	* emacs-lisp/eieio.el (object-slots): Return slot names as before
+ 	(bug#20141).
+ 
+ 2015-03-19  Stefan Monnier  
+ 
+ 	EIEIO: Change class's representation to unify instance and class slots
+ 	* emacs-lisp/eieio-core.el (eieio--class): Change field names and order
+ 	to match those of cl--class; use cl--slot for both instance slots and
+ 	class slots.
+ 	(eieio--object-num-slots): Use cl-struct-slot-info.
+ 	(eieio--object-class): Rename from eieio--object-class-object.
+ 	(eieio--object-class-name): Remove.
+ 	(eieio-defclass-internal): Adjust to new slot representation.
+ 	Store doc in class rather than in `variable-documentation'.
+ 	(eieio--perform-slot-validation-for-default): Change API to take
+ 	a slot object.
+ 	(eieio--slot-override): New function.
+ 	(eieio--add-new-slot): Rewrite.
+ 	(eieio-copy-parents-into-subclass): Rewrite.
+ 	(eieio--validate-slot-value, eieio--validate-class-slot-value)
+ 	(eieio-oref-default, eieio-oset-default)
+ 	(eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
+ 	slot representation.
+ 	(eieio--c3-merge-lists): Simplify.
+ 	(eieio--class/struct-parents): New function.
+ 	(eieio--class-precedence-bfs): Use it.
+ 
+ 	* emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
+ 	(object-class-fast): Change recommend replacement.
+ 	(eieio-object-class): Rewrite.
+ 	(slot-exists-p): Adjust to new slot representation.
+ 	(initialize-instance): Adjust to new slot representation.
+ 	(object-write): Adjust to new slot representation.
+ 
+ 	* emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
+ 	extracted from eieio-help-class-slots.
+ 	(eieio-help-class-slots): Use it.  Adjust to new slot representation.
+ 
+ 	* emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
+ 	Declare to silence warnings.
+ 	(data-debug-insert-object-button): Avoid `object-slots'.
+ 	(data-debug/eieio-insert-slots): Adjust to new slot representation.
+ 
+ 	* emacs-lisp/eieio-custom.el (eieio-object-value-create)
+ 	(eieio-object-value-get): Adjust to new slot representation.
+ 
+ 	* emacs-lisp/eieio-compat.el
+ 	(eieio--generic-static-symbol-specializers):
+ 	Extract from eieio--generic-static-symbol-generalizer.
+ 	(eieio--generic-static-symbol-generalizer): Use it.
+ 
+ 	* emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
+ 	Manually map initargs to slot names.
+ 	(eieio-persistent-validate/fix-slot-value): Adjust to new
+ 	slot representation.
+ 
+ 	* emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
+ 
+ 2015-03-19  Vibhav Pant  
+ 
+ 	* leim/quail/hangul.el (hangul-delete-backward-char)
+ 	(hangul-to-hanja-conversion):
+ 	* progmodes/cperl-mode.el (cperl-electric-keyword)
+ 	(cperl-electric-backspace): Use delete-char instead of
+ 	delete-backward-char, fixes compilation warnings.
+ 
+ 2015-03-18  Michael Albinus  
+ 
+ 	* net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
+ 	Mark apostrophs with ?/ instead of \037.  (Bug#20117)
+ 
+ 2015-03-18  Stefan Monnier  
+ 
+ 	Add classes as run-time descriptors of cl-structs.
+ 	* emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
+ 	(cl--make-slot-desc): New constructor.
+ 	(cl--plist-remove, cl--struct-register-child): New functions.
+ 	(cl-struct-define): Rewrite.
+ 	(cl-structure-class, cl-structure-object, cl-slot-descriptor)
+ 	(cl--class): New structs.
+ 	(cl--struct-default-parent): Initialize it here.
+ 	* emacs-lisp/cl-macs.el (cl--find-class): New macro.
+ 	(cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
+ 	(cl--struct-default-parent): New var.
+ 	(cl-defstruct): Adjust to new representation of classes; add
+ 	default parent.  In accessors, signal `wrong-type-argument' rather than
+ 	a generic error.
+ 	(cl-struct-sequence-type, cl-struct-slot-info)
+ 	(cl-struct-slot-offset): Rewrite.
+ 	* emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
+ 	(cl-generic-generalizers): Rewrite.
+ 
+ 	* emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
+ 	(internal-macroexpand-for-load): Use it.
+ 
+ 	* emacs-lisp/debug.el (debug--implement-debug-on-entry):
+ 	Bind inhibit-debug-on-entry here...
+ 	(debug): Instead of here.
+ 
+ 2015-03-18  Dima Kogan  
+ 
+ 	Have gud-display-line not display source buffer in gud window.
+ 	* progmodes/gud.el (gud-display-line): Make display-buffer
+ 	not reuse selected window.  (Bug#17675, Bug#19901, Bug#20034)
+ 
+ 2015-03-17  Tassilo Horn  
+ 
+ 	* emacs-lisp/byte-run.el (macro-declarations-alist):
+ 	New declaration no-font-lock-keyword.
+ 	(defmacro): Flush font-lock in existing elisp buffers.
+ 
+ 	* emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
+ 	(lisp--el-update-macro-regexp, lisp--el-macro-regexp):
+ 	Delete functions and defconst.
+ 	(lisp--el-match-keyword): Rename from lisp--el-match-macro.
+ 	(lisp--el-font-lock-flush-elisp-buffers): New function.
+ 	(lisp-mode-variables): Remove code for updating
+ 	lisp--el-macro-regexp, and add
+ 	lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
+ 
+ 2015-03-17  Simen Heggestøyl  
+ 
+ 	* textmodes/css-mode.el (css--font-lock-keywords):
+ 	Discriminate between pseudo-classes and pseudo-elements.
+ 	(css-pseudo-ids): Remove.
+ 	(css-pseudo-class-ids, css-pseudo-element-ids): New variables.
+ 	(css--complete-property): New function for completing CSS properties.
+ 	(css--complete-pseudo-element-or-class): New function
+ 	completing CSS pseudo-elements and pseudo-classes.
+ 	(css--complete-at-rule): New function for completing CSS at-rules.
+ 	(css-completion-at-point): New function.
+ 	(css-mode): Add support for completion.
+ 	(css-extract-keyword-list, css-extract-parse-val-grammar)
+ 	(css-extract-props-and-vals): Remove function in favor of manual
+ 	extraction.
+ 	(css-at-ids): Update list of CSS at-rule ids.
+ 	(css-property-ids): Update list of CSS properties.
+ 
+ 2015-03-17  Bozhidar Batsov  
+ 
+ 	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
+ 	more Kernel methods.
+ 
+ 2015-03-17  Michael Albinus  
+ 
+ 	* net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
+ 	shell scripts.  (Bug#20118)
+ 
+ 2015-03-17  Eli Zaretskii  
+ 
+ 	* mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
+ 	nil, construct a menu of fixed fonts.  This resurrects a feature
+ 	lost in Emacs 23.
+ 
+ 	* w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
+ 	reset mouse-appearance-menu-map, so the font dialog is recomputed
+ 	the next time the menu is requested.
+ 	(w32-fixed-font-alist): Fix to use correct names of Courier fonts.
+ 
+ 2015-03-17  Stefan Monnier  
+ 
+ 	* emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
+ 	(bug#20125).
+ 
+ 2015-03-17  Michael Albinus  
+ 
+ 	* net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
+ 	for ControlPath in order to avoid DNS timeouts.  (Bug#20015)
+ 
+ 2015-03-16  Alan Mackenzie  
+ 
+ 	Edebug: Allow "S" to work during trace mode.  Fixes Bug#20074.
+ 	Also display the overlay arrow in go and go-nonstop modes.
+ 
+ 	* emacs-lisp/edebug.el (edebug--display-1): Move the
+ 	`input-pending' test to after trace mode's `sit-for'.
+ 	(edebug--recursive-edit): Insert "(sit-for 0)" after
+ 	"(edebug-overlay-arrow)".
+ 
+ 2015-03-16  Stefan Monnier  
+ 
+ 	* emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
+ 	cl--do-arglist in more cases; add comments to explain what's going on.
+ 	(cl--do-&aux): New function extracted from cl--do-arglist.
+ 	(cl--do-arglist): Use it.
+ 
+ 	* emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
+ 
+ 	* obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
+ 	* isearchb.el (isearchb-iswitchb): Adjust accordingly.
+ 	* ido.el (ido-read-buffer): Add `predicate' argument.
+ 	* misearch.el (unload-function-defs-list): Declare before use.
+ 
+ 2015-03-16  Vibhav Pant  
+ 
+ 	* net/browse-url.el (browse-url-browser-function): Add "Conkeror".
+ 	(browse-url-conkeror-program, browse-url-conkeror-arguments)
+ 	(browse-url-conkeror-new-window-is-buffer): New defcustoms.
+ 	(browse-url-default-browser): Check for `browse-url-conkeror'
+ 	and call `browse-url-conkeror-program'.
+ 	(browse-url-conkeror): New command.
+ 	(bug#19863)
+ 
+ 2015-03-16  Vibhav Pant  
+ 
+ 	* eshell/esh-mode.el (eshell/clear): New function.
+ 
+ 2015-03-16  Alan Mackenzie  
+ 
+ 	Make Edebug work with Follow Mode.
+ 
+ 	* emacs-lisp/edebug.el (edebug--display-1): Remove call to
+ 	edebug-adjust-window.
+ 	(edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
+ 	over the recursive edit.
+ 	(edebug-adjust-window): Remove.
+ 
+ 2015-03-15  Michael Albinus  
+ 
+ 	* net/tramp-adb.el:
+ 	* net/tramp-gvfs.el:
+ 	* net/tramp-sh.el:
+ 	* net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
+ 
+ 	* net/tramp.el (tramp-ssh-controlmaster-options)
+ 	(tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
+ 	(tramp-default-method): Do not check for
+ 	`tramp-ssh-controlmaster-options'.
+ 
+ 	* net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
+ 	New defcustom, moved from tramp.el.
+ 	(tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
+ 	but with a nil initial value.
+ 	(tramp-ssh-controlmaster-options): New defun.
+ 	(tramp-do-copy-or-rename-file-out-of-band)
+ 	(tramp-maybe-open-connection): Use it.  (Bug#20015)
+ 
+ 2015-03-15  Tassilo Horn  
+ 
+ 	* emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
+ 	(lisp--el-update-macro-regexp, lisp--el-update-after-load)
+ 	(lisp--el-match-macro): New functions.
+ 	(lisp-mode-variables): Update lisp--el-macro-regexp and add
+ 	lisp--el-update-after-load to after-load-functions.
+ 
+ 2015-03-15  Daniel Colascione  
+ 
+ 	* emacs-lisp/cl-indent.el
+ 	(lisp-indent-backquote-substitution-mode): New user option.
+ 	(common-lisp-indent-function-1, common-lisp-loop-part-indentation)
+ 	(common-lisp-indent-function): Support normally indenting
+ 	backquote substitutions.
+ 	(extended-loop-p): Rename to `lisp-extended-loop-p'.
+ 
+ 2015-03-14  Michael R. Mauger  
+ 
+ 	* progmodes/sql.el: Version 3.5
+ 	(sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
+ 	(sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
+ 
+ 2015-03-14  Daniel Colascione  
+ 
+ 	* widget.el (define-widget): Check that documentation is a string
+ 	or nil; prevent wailing and gnashing of teeth when users forget to
+ 	pass a docstring and wonder why their properties don't work.
+ 
+ 	* startup.el (command-line): Process "--no-x-resources".
+ 
+ 2015-03-13  Kevin Ryde  
+ 
+ 	info-look fixes for Texinfo 5
+ 	* info-look.el (c-mode, bison-mode, makefile-mode)
+ 	(makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
+ 	(latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
+ 	Match `foo' and 'foo' and ‘foo’ for @item and similar.
+ 	(latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
+ 	suffix regexp.
+ 
+ 2015-03-12  Juri Linkov  
+ 
+ 	* simple.el (next-line-or-history-element)
+ 	(previous-line-or-history-element): Remember the goal column of
+ 	possibly multi-line input, and restore it afterwards.  (Bug#19824)
+ 
+ 2015-03-12  Rasmus Pank Roulund  
+ 
+ 	* ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
+ 	files (bug#19335).
+ 
+ 2015-03-12  Eli Zaretskii  
+ 
+ 	* international/fontset.el (script-representative-chars): Add a
+ 	representative character for 'vai'.
+ 
+ 2015-03-11  Stefan Monnier  
+ 
+ 	* international/quail.el (quail-input-method):
+ 	Use with-silent-modifications.
+ 
+ 	* simple.el (goto-history-element): Don't burp on t history.
+ 
+ 2015-03-10  Paul Eggert  
+ 
+ 	Prefer "initialize" to "initialise"
+ 	* progmodes/js.el (js-indent-first-init):
+ 	Rename from js-indent-first-initialiser, to avoid worrying about
+ 	American vs British spelling.  All uses changed.
+ 
+ 2015-03-10  Glenn Morris  
+ 
+ 	* progmodes/js.el (js-indent-first-initialiser):
+ 	Fix doc, type, version.
+ 
+ 2015-03-10  Jackson Ray Hamilton  
+ 
+ 	* progmodes/js.el (js-indent-first-initialiser): New option.
+ 	(js--maybe-goto-declaration-keyword-end): New function.
+ 	(js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
+ 
+ 2015-03-10  Thomas Fitzsimmons  
+ 
+ 	* net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
+ 	from RFC2798 Section 9.1.1.  (Bug#8983)
+ 
+ 2015-03-09  Nicolas Petton 
+ 
+ 	* emacs-lisp/seq.el (seq-into): New function.
+ 	Bump seq.el version to 1.3.
+ 
+ 2015-03-09  Dmitry Gutov  
+ 
+ 	* progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
+ 	`=' a part of symbol when followed by `>'.  (Bug#18644)
+ 	(ruby-syntax-before-regexp-re): Detect regexps after `!'.
+ 	(Bug#19285)
+ 
+ 2015-03-09  Eli Zaretskii  
+ 
+ 	* dired.el (dired-delete-file): Doc fix.  (Bug#20021)
+ 
+ 2015-03-06  Sergio Durigan Junior  
+ 	    Thomas Fitzsimmons  
+ 
+ 	* net/eudcb-bbdb.el (eudc-bbdb-field): New function.
+ 	(eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
+ 	(eudc-bbdb-format-record-as-result): Likewise.
+ 
+ 2015-03-08  Dmitry Gutov  
+ 
+ 	* progmodes/ruby-mode.el (ruby-font-lock-keywords):
+ 	Use `font-lock-constant-face' for nil, true and false.
+ 	Highlight `self' as a keyword.  (Bug#17733)
+ 
+ 2015-03-08  Nobuyoshi Nakada  
+ 
+ 	* progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
+ 	Expect beginning of regexp also after open brace or vertical bar.
+ 	(Bug#20026)
+ 
+ 2015-03-07  Stefan Monnier  
+ 
+ 	* battery.el (battery-echo-area-format): Simplify default.
+ 	(battery-linux-sysfs): Standardize on energy&power.  Accept ADP1
+ 	for AC adapter.
+ 
+ 	* emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
+ 	unfold `closure's since byte-compile-unfold-lambda doesn't know how to
+ 	do it.
+ 
+ 2015-03-06  Oscar Fuentes  
+ 
+ 	* net/browse-url.el (browse-url-firefox): Remove outdated
+ 	MS-Windows limitations.
+ 
+ 2015-03-06  Thomas Fitzsimmons  
+ 
+ 	* net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
+ 	obsolete.
+ 	(eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
+ 	Don't clean up postal addresses if ldap-ignore-attribute-codings
+ 	is set.  Combine mail addresses into one field. (Bug#17720)
+ 	(eudc-ldap-simple-query-internal):
+ 	Call eudc-ldap-cleanup-record-filtering-addresses instead of
+ 	eudc-ldap-cleanup-record-simple.
+ 	(eudc-ldap-get-field-list): Likewise.
+ 
+ 2015-03-05  Ivan Shmakov  
+ 
+ 	* net/eww.el (eww-html-p): New function (bug#20009).
+ 	(eww-render): Use it.
+ 
+ 2015-03-05  Artur Malabarba  
+ 
+ 	* desktop.el (desktop-buffer-info): Write docstring.
+ 	(desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
+ 	unquote lamda.
+ 
+ 	* emacs-lisp/package.el (package-refresh-contents): Update doc.
+ 
+ 2015-03-05  Dmitry Gutov  
+ 
+ 	* progmodes/js.el (js-mode-syntax-table): Add an entry for `.
+ 
+ 2015-03-05  Stefan Monnier  
+ 
+ 	Replace *-function vars with generic functions in cl-generic.
+ 	* emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
+ 	(cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
+ 	(cl--generic-t-generalizer): New const.
+ 	(cl--generic-make-method): Rename from `cl--generic-method-make'.
+ 	(cl--generic-make): Change calling convention.
+ 	(cl--generic): Add `options' field.
+ 	(cl-generic-function-options): New function.
+ 	(cl-defgeneric): Rewrite handling of options.  Add support for :method
+ 	options and allow the use of a default body.
+ 	(cl-generic-define): Save options in the corresponding new field.
+ 	(cl-defmethod): Fix ordering of qualifiers.
+ 	(cl-generic-define-method): Use cl-generic-generalizers.
+ 	(cl--generic-get-dispatcher): Change calling convention, and change
+ 	calling convention of the returned function as well so as to take the
+ 	list of methods separately from the generic function object, so that it
+ 	can receive the original generic function object.
+ 	(cl--generic-make-next-function): New function, extracted from
+ 	cl--generic-make-function.
+ 	(cl--generic-make-function): Use it.
+ 	(cl-generic-method-combination-function): Remove.
+ 	(cl--generic-cyclic-definition): New error.
+ 	(cl-generic-call-method): Take a generic function object rather than
+ 	its name.
+ 	(cl-method-qualifiers): New alias.
+ 	(cl--generic-build-combined-method): Use cl-generic-combine-methods,
+ 	don't segregate by qualifiers here any more.
+ 	(cl--generic-standard-method-combination): Segregate by qualifiers
+ 	here instead.  Add support for the `:extra' qualifier.
+ 	(cl--generic-cache-miss): Move earlier, adjust to new calling convention.
+ 	(cl-generic-generalizers, cl-generic-combine-methods):
+ 	New generic functions.
+ 	(cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
+ 	Use the new "default method in defgeneric" functionality, change
+ 	calling convention to receive a generic function object.
+ 	(cl--generic-head-used): New var.
+ 	(cl--generic-head-generalizer, cl--generic-eql-generalizer)
+ 	(cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
+ 	New consts.
+ 	* emacs-lisp/eieio-core.el (eieio--generic-generalizer)
+ 	(eieio--generic-subclass-generalizer): New consts.
+ 	(cl-generic-generalizers): New methods.
+ 	* emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
+ 	(eieio--generic-static-object-generalizer): New consts.
+ 	(cl-generic-generalizers) <(head eieio--static)>: New method.
+ 	* emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
+ 	Unfold closures like lambdas.
+ 
+ 2015-03-04  Filipp Gunbin  
+ 
+ 	* autorevert.el (auto-revert-notify-add-watch):
+ 	Fix handler installation.  (Bug#20000)
+ 
+ 2015-03-04  Rüdiger Sonderfeld  
+ 
+ 	* net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
+ 	(eww-same-page-p,eww-set-character-encoding): Fix docstring.
+ 	(eww): Do not end error messages with a period.
+ 
+ 2015-03-04  Zhongwei Yao  
+ 
+ 	* net/tramp-adb.el (tramp-adb-connect-if-not-connected):
+ 	New user option.
+ 	(tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
+ 	names starting with a space.
+ 	(tramp-methods): Add `tramp-default-port' for "adb".
+ 	(tramp-adb-parse-device-names): Add traces.  Return device names
+ 	with port, if present.
+ 	(tramp-adb-handle-directory-files-and-attributes): Quote all
+ 	remote file names.
+ 	(tramp-adb-get-device): New defun.
+ 	(tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
+ 	Use it.
+ 	(tramp-adb-maybe-open-connection): Set `tramp-current-*'
+ 	variables.  Remove checks for listed devices.
+ 
+ 2015-03-04  Michael Albinus  
+ 
+ 	* net/tramp.el (tramp): Add :link property.
+ 	(tramp-login-prompt-regexp): Allow also "user", as required by
+ 	Fritz!Box telnet.
+ 	(tramp-autoload-file-name-handler): Use "/".
+ 	(tramp-handle-unhandled-file-name-directory): Return nil when
+ 	required by the spec.
+ 
+ 	* net/tramp-cache.el (tramp-dump-connection-properties):
+ 	Use `with-temp-file'.
+ 
+ 	* net/tramp-sh.el (tramp-perl-file-attributes)
+ 	(tramp-perl-directory-files-and-attributes): Escape apostrophes in
+ 	file names.
+ 	(tramp-do-file-attributes-with-stat): Quote file name.
+ 	(tramp-sh-handle-directory-files-and-attributes): Fall back to
+ 	`tramp-handle-directory-files-and-attributes' in case of problems.
+ 	(tramp-do-directory-files-and-attributes-with-stat)
+ 	(tramp-sh-handle-file-name-all-completions)
+ 	(tramp-sh-handle-delete-directory)
+ 	(tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
+ 	Normalize use of "cd".
+ 	(tramp-do-directory-files-and-attributes-with-stat): Use the
+ 	`quoting-style' arg of `ls' if possible.  Make it also working for
+ 	file names with apostrophes.
+ 	(tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
+ 	in proper order.
+ 	(tramp-do-copy-or-rename-file-via-buffer)
+ 	(tramp-sh-handle-file-local-copy): Use `with-temp-file'.
+ 	(tramp-get-remote-locale): Accept also \r in output.
+ 	(tramp-get-ls-command-with-quoting-style): New defun.
+ 	(tramp-get-inline-coding): Set `default-directory' to a local
+ 	directory.  Sporadically, `call-process-region' does not handle a
+ 	remote default directory properly.
+ 
+ 	* net/trampver.el: Update release number.
+ 
+ 2015-03-03  Agustín Martín Domingo  
+ 
+ 	* textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
+ 	.dat files for aspell dicts are also searched for in location
+ 	described by `ispell-aspell-dict-dir', matching aspell's dict-dir
+ 	variable.
+ 
+ 2015-03-03  Agustín Martín Domingo  
+ 
+ 	* textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
+ 	(ispell-hunspell-fill-dictionary-entry)
+ 	(ispell-find-hunspell-dictionaries)
+ 	(ispell-set-spellchecker-params): New generic name for
+ 	`ispell-hunspell-dictionary-equivs-alist'.
+ 	(ispell-aspell-add-aliases): Also use
+ 	`ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
+ 	standard dict names.
+ 
+ 2015-03-03  Glenn Morris  
+ 
+ 	* net/browse-url.el (browse-url-firefox-startup-arguments):
+ 	Make obsolete.
+ 	(browse-url-firefox): Doc fix.  Remove -remote, which no longer
+ 	exists in Firefox 36.  (Bug#19921)
+ 	(browse-url-firefox-sentinel): Remove function.
+ 
+ 2015-03-03  Eli Zaretskii  
+ 
+ 	* frame.el (blink-cursor-timer-function): Don't increment
+ 	blink-cursor-blinks-done counter when a menu is active on a w32
+ 	frame.  (Bug#19925)
+ 
+ 2015-03-03  Juri Linkov  
+ 
+ 	* comint.el (comint-line-beginning-position): Revert searching for
+ 	the prompt when comint-use-prompt-regexp is non-nil because it
+ 	doesn't distinguish input from output.  Check the field property
+ 	`output' for the case when comint-use-prompt-regexp is nil.
+ 	(Bug#19710)
+ 
+ 2015-03-03  Jérémy Compostella  
+ 
+ 	* net/tramp-sh.el (tramp-remote-process-environment): Disable paging
+ 	with PAGER=cat.  (Bug#19870)
+ 
+ 2015-03-03  Glenn Morris  
+ 
+ 	* textmodes/flyspell.el (flyspell-duplicate-distance):
+ 	Bump :version.
+ 
+ 2015-03-03  Eli Zaretskii  
+ 
+ 	* textmodes/text-mode.el (text-mode-syntax-table): Make some
+ 	punctuation character behave as word-constituent, for more
+ 	compatibility with Unicode.
+ 
+ 	* simple.el (transient-mark-mode): Doc fix.  (Bug#19841)
+ 
+ 2015-03-03  Agustín Martín Domingo  
+ 
+ 	Improve string search in `flyspell-word-search-*`. (Bug#16800)
+ 	* textmodes/flyspell.el (flyspell-duplicate-distance):
+ 	Limit default search distance for duplicated words to 40000.
+ 	(flyspell-word-search-backward, flyspell-word-search-forward):
+ 	Search as full word with defined casechars, not as substring.
+ 
+ 2015-03-03  Juri Linkov  
+ 
+ 	Better support for the case of typing RET on the prompt in comint.
+ 	* comint.el (comint-get-old-input-default): Go to the field end
+ 	when comint-use-prompt-regexp is nil.
+ 	(comint-line-beginning-position): Check if point is already
+ 	on the prompt before searching for the prompt when
+ 	comint-use-prompt-regexp is non-nil.  (Bug#19710)
+ 
+ 2015-03-03  Eli Zaretskii  
+ 
+ 	* frame.el (frame-notice-user-settings): Refresh the value of
+ 	frame parameters after calling tty-handle-reverse-video.
+ 	Call face-set-after-frame-default with the actual parameters, to avoid
+ 	resetting colors back to unspecified.
+ 	(set-background-color, set-foreground-color): Pass the foreground
+ 	and background colors to face-set-after-frame-default.  (Bug#19802)
+ 
+ 2015-03-03  Wolfgang Jenkner  
+ 
+ 	* net/network-stream.el (network-stream-open-tls): Respect the
+ 	:end-of-capability setting.
+ 
+ 2015-03-03  Juri Linkov  
+ 
+ 	Revert the previous change of comint-line-beginning-position callers,
+ 	and modify comint-line-beginning-position instead.
+ 
+ 	* comint.el (comint-history-isearch-search)
+ 	(comint-history-isearch-message, comint-history-isearch-wrap):
+ 	Use comint-line-beginning-position instead of field-beginning.
+ 	(comint-send-input): Use either end-of-line or field-end
+ 	depending on comint-use-prompt-regexp.
+ 	(comint-line-beginning-position): Search backward
+ 	for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
+ 	Use field-beginning instead of line-beginning-position
+ 	if comint-use-prompt-regexp is nil.  (Bug#19710)
+ 
+ 2015-03-03  Robert Pluim    (tiny change)
+ 
+ 	* calendar/todo-mode.el (todo-item-done): When done items are
+ 	hidden, restore point to its location prior to invoking this
+ 	command.  (Bug#19727)
+ 
+ 2015-03-03  Eli Zaretskii  
+ 
+ 	* textmodes/artist.el (artist-ellipse-compute-fill-info):
+ 	Use mapcar, not mapc, to create the other half of fill-info.
+ 	(Bug#19763)
+ 
+ 2015-03-03  Nicolas Petton  
+ 
+ 	* emacs-lisp/authors.el (authors-ignored-files)
+ 	(authors-renamed-files-alist): Additions.
+ 
+ 2015-03-03  Michael Albinus  
+ 
+ 	* net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
+ 	tempfile for ControlPath.  (Bug#19702)
+ 
+ 2015-03-03  Michael Albinus  
+ 
+ 	* net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
+ 	ControlPath if possible.  (Bug#19702)
+ 
+ 2015-03-03  Glenn Morris  
+ 
+ 	* emacs-lisp/authors.el (authors-obsolete-files-regexps)
+ 	(authors-valid-file-names, authors-renamed-files-alist): Additions.
+ 
+ 2015-03-03  Alan Mackenzie  
+ 
+ 	CC Mode: Stop Font Lock forcing fontification from BOL.  (Bug#19669)
+ 	* progmodes/cc-mode.el (c-font-lock-init):
+ 	Set font-lock-extend-region-functions to nil.
+ 
+ 2015-03-03  Daniel Colascione  
+ 
+ 	* emacs-lisp/generator.el: Make globals conform to elisp
+ 	style throughout.  Use more efficient font-lock patterns.
+ 	(cps-inhibit-atomic-optimization): Rename from
+ 	`cps-disable-atomic-optimization'.
+ 	(cps--gensym): New macro; replaces `cl-gensym' throughout.
+ 	(cps-generate-evaluator): Move the `iter-yield' local macro
+ 	definition here
+ 	(iter-defun, iter-lambda): from here.
+ 
+ 	(iter-defun): Use `macroexp-parse-body'.
+ 
+ 2015-03-03  Daniel Colascione  
+ 
+ 2015-03-03  Stefan Monnier  
+ 
+ 	* progmodes/gud.el: Use lexical-binding (bug#19966).
+ 
+ 	* emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
+ 
+ 2015-03-03  Daniel Colascione  
+ 
+ 	* emacs-lisp/generator.el: Make globals conform to elisp
+ 	style throughout.  Use more efficient font-lock patterns.
+ 	(cps-inhibit-atomic-optimization): Rename from
+ 	`cps-disable-atomic-optimization'.
+ 	(cps--gensym): New macro; replaces `cl-gensym' throughout.
+ 	(cps-generate-evaluator): Move the `iter-yield' local macro
+ 	definition here...
+ 	(iter-defun, iter-lambda): ...from here.
+ 
+ 2015-03-03  Artur Malabarba  
+ 
+ 	* emacs-lisp/package.el (package-autoremove): Fix if logic.
+ 
+ 2015-03-03  Martin Rudalics  
+ 
+ 	* window.el (window--dump-frame): For pixel height return total
+ 	number of frame's lines.
+ 
+ 2015-03-03  Daniel Colascione  
+ 
+ 	* emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
+ 
+ 	* emacs-lisp/generator.el (iter-defun): Correctly propagate
+ 	docstrings and declarations to underlying function.
+ 
+ 2015-03-02  Daniel Colascione  
+ 
+ 	* emacs-lisp/generator.el: New file.
+ 
+ 	* vc/vc.el (vc-responsible-backend): Add autoload cookie for
+ 	`vc-responsible-backend'.
+ 
+ 2015-03-01  Michael Albinus  
+ 
+ 	* vc/vc-hooks.el (vc-state, vc-working-revision):
+ 	Use `vc-responsible-backend' in order to support unregistered files.
+ 
+ 	* vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
+ 
+ 	* vc/vc-rcs.el (vc-rcs-fetch-master-state):
+ 	* vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
+ 	master name.
+ 
+ 	* vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
+ 
+ 2015-03-01  Lars Magne Ingebrigtsen  
+ 
+ 	* net/shr.el (shr-insert): Remove soft hyphens.
+ 	(shr-insert): Also remove soft hypens from non-folded text.
+ 
+ 2015-02-28  Eli Zaretskii  
+ 
+ 	* mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
+ 	when the charset is only given by the HTML , and allow to
+ 	specify the encoding with "C-x RET c".
+ 
+ 2015-02-27  Mark Laws  
+ 
+ 	Support daemon mode on MS-Windows (bug#19688)
+ 	* server.el (server-process-filter): Force GUI frames on
+ 	MS-Windows in daemon mode, even if a TTY frame was requested.
+ 
+ 	* frameset.el (frameset-keep-original-display-p): Don't assume
+ 	windows-nt cannot be in daemon mode.
+ 
+ 	* frame.el (window-system-for-display): Don't assume windows-nt
+ 	cannot be in daemon mode.
+ 
+ 2015-02-26  Ivan Shmakov  
+ 
+ 	* faces.el (face-list-p): Split from face-at-point.
+ 	(face-at-point): Use it.
+ 	* facemenu.el (facemenu-add-face): Likewise.  (Bug#19912)
+ 
+ 2015-02-26  Oscar Fuentes  
+ 
+ 	* vc/vc.el (vc-annotate-switches): New defcustom.
+ 	* vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
+ 	(vc-bzr-annotate-command): Use vc-switches.
+ 	* vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
+ 	(vc-cvs-annotate-command): Use vc-switches.
+ 	* vc/vc-git.el (vc-git-annotate-switches): New defcustom.
+ 	(vc-git-annotate-command): Use vc-switches.
+ 	* vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
+ 	(vc-hg-annotate-command): Use vc-switches.
+ 	* vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
+ 	(vc-mtn-annotate-command): Use vc-switches.
+ 	* vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
+ 	(vc-svn-annotate-command): Use vc-switches.
+ 
+ 2015-02-26  Alan Mackenzie  
+ 
+ 	Handle "#" operator properly inside macro.  Fix coding bug.
+ 
+ 	* progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
+ 	On finding a "#" which looks like the start of a macro, check it
+ 	isn't already inside a macro.
+ 
+ 	* progmodes/cc-engine.el (c-state-safe-place): Don't record a new
+ 	"safe" position into the list of them when this is beyond our
+ 	current position.
+ 
+ 2015-02-26  Martin Rudalics  
+ 
+ 	* menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
+ 	the menu frame is dead.  (Bug#19728)
+ 
+ 2015-02-26  Fabián Ezequiel Gallina  
+ 
+ 	python.el: Handle tabs in python-indent-dedent-line.
+ 	* progmodes/python.el (python-indent-dedent-line): Fixes for
+ 	indentation with tabs.  Thanks to  (Bug#19730).
+ 
+ 2015-02-26  Fabián Ezequiel Gallina  
+ 
+ 	* progmodes/python.el (python-indent-context): Respect user
+ 	indentation after comment.
+ 
+ 2015-02-26  Tassilo Horn  
+ 
+ 	* textmodes/reftex-vars.el (featurep): Conditionalize value of
+ 	reftex-label-regexps in order to stay compatible with XEmacs 21.5
+ 	which has no explicitly numbered groups in regexps (bug#19714).
+ 
+ 2015-02-26  Daiki Ueno  
+ 
+ 	* net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
+ 	integer before comparison.
+ 
+ 2015-02-25  Nicolas Richard  
+ 
+ 	* progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
+ 
+ 2015-02-25  Oleh Krehel  
+ 
+ 	* emacs-lisp/check-declare.el (check-declare-warn):
+ 	Use compilation-style warnings.
+ 	(check-declare-files): Make sure that
+ 	`check-declare-warning-buffer' is in `compilation-mode'.
+ 
+ 2015-02-25  Oleh Krehel  
+ 
+ 	* emacs-lisp/check-declare.el (check-declare-ext-errors):
+ 	New defcustom.
+ 	(check-declare): New defgroup.
+ 	(check-declare-verify): When `check-declare-ext-errors' is
+ 	non-nil, warn about an unfound function, instead of saying
+ 	"skipping external file".
+ 
+ 2015-02-25  Tassilo Horn  
+ 
+ 	* textmodes/reftex-vars.el (reftex-include-file-commands):
+ 	Call reftex-set-dirty on changes.
+ 
+ 2015-02-25  Stefan Monnier  
+ 
+ 	* emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
+ 	* emacs-lisp/debug.el (debugger-env-macro): Remove redundant
+ 	save-excursion.
+ 
+ 2015-02-24  Glenn Morris  
+ 
+ 	* mail/rmailsum.el (rmail-summary-previous-all)
+ 	(rmail-summary-previous-msg): Simplify.
+ 
+ 2015-02-25  Artur Malabarba  
+ 
+ 	* simple.el (region-active-p): Fix doc to say non-nil.
+ 
+ 2015-02-24  Samer Masterson  
+ 
+ 	* eshell/em-hist.el (eshell-hist-parse-word-designator):
+ 	Return args joined with " ".
+ 	* eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
+ 	(eshell-hist-parse-modifier): Pass mod a list instead of a string
+ 	(bug#18960).
+ 
+ 2015-02-24  Karl Fogel    (tiny change)
+ 
+ 	* comint.el (comint-mode-map): Fix obvious typo.
+ 
+ 2015-02-24  Johan Claesson    (tiny change)
+ 
+ 	* filecache.el (file-cache-filter-regexps):
+ 	Add lock files.  (Bug#19516)
+ 
+ 2015-02-24  Glenn Morris  
+ 
+ 	* mail/rmailsum.el (rmail-summary-next-all)
+ 	(rmail-summary-previous-all, rmail-summary-next-msg):
+ 	Fix handling of optional argument.  (Bug#19916)
+ 
+ 	* progmodes/f90.el (f90-beginning-of-subprogram)
+ 	(f90-end-of-subprogram, f90-match-end):
+ 	Handle continued strings where the continuation does not start
+ 	with "&" and happens to match our regexp.  (Bug#19809)
+ 
+ 2015-02-24  Bozhidar Batsov  
+ 
+ 	* comint.el (comint-clear-buffer): New command.
+ 	(comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
+ 
+ 2015-02-23  Pete Williamson    (tiny change)
+ 
+ 	Use ${EXEEXT} more uniformly in makefiles
+ 	* Makefile.in (EMACS): Append ${EXEEXT}.
+ 
+ 2015-02-23  Sam Steingold  
+ 
+ 	* files.el (recover-session): Handle `auto-save-list-file-prefix'
+ 	being a directory (empty non-directory part).
+ 
+ 2015-02-23  Magnus Henoch  
+ 
+ 	* net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
+ 	instead of sasl-scram-sha-1, as the former is the name that can be
+ 	required.
+ 
+ 	* net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
+ 	(sasl-scram-sha-1-client-final-message)
+ 	(sasl-scram-sha-1-authenticate-server): Move to end of file.
+ 
+ 2015-02-23  Paul Eggert  
+ 
+ 	* bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
+ 	(Bug#19826)
+ 
+ 2015-02-23  Stefan Monnier  
+ 
+ 	* emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
+ 	and :documentation.  Change return value format accordingly.
+ 	* emacs-lisp/cl-generic.el (cl--generic-lambda):
+ 	* emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
+ 	* emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
+ 
+ 2015-02-23  Dmitry Gutov  
+ 
+ 	Introduce `xref-etags-mode'.
+ 	* progmodes/xref.el (xref-etags-mode--saved): New variable.
+ 	(xref-etags-mode): New minor mode.  (Bug#19466)
+ 
+ 2015-02-22  Lars Magne Ingebrigtsen  
+ 
+ 	* dom.el (dom-previous-sibling): New function.
+ 
+ 2015-02-21  Paul Eggert  
+ 
+ 	* bindings.el (ctl-x-map): There is no 'C-;'.
+ 	For now, make do with 'M-;'; this allows 'make bootstrap' to work.
+ 	Perhaps some other binding should be chosen.  (Bug#19826)
+ 
+ 2015-02-21  Artur Malabarba  
+ 
+ 	* bindings.el (ctl-x-map): Fix `comment-line' binding.  (Bug#19826)
+ 
+ 2015-02-21  Michael Albinus  
+ 
+ 	* autorevert.el (auto-revert-notify-add-watch)
+ 	(auto-revert-notify-handler, auto-revert-buffers): Handle also
+ 	buffers without an associated file, like dired buffers.  (Bug#16112)
+ 
+ 2015-02-21  Dima Kogan  
+ 
+ 	* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
+ 	(global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
+ 	wrappers.  Call (auto-revert-buffers) consequently in order to
+ 	install handlers.
+ 
+ 2015-02-21  Wilson Snyder  
+ 
+ 	Sync with upstream verilog-mode revision 0d6420b.
+ 	* progmodes/verilog-mode.el (verilog-mode-version): Update.
+ 	(vector-skip-list): Remove.
+ 	(verilog-auto-inst-port, verilog-auto-inst-port-list)
+ 	(verilog-auto-inst, verilog-auto-inst-param):
+ 	Use arguments rather than vector-skip.
+ 	(verilog-auto-inst-port): Fix AUTOINST interfaces to not show
+ 	modport if signal attachment is itself a modport.
+ 	Reported by Matthew Lovell.
+ 
+ 2015-02-21  Reto Zimmermann  
+ 
+ 	Sync with upstream vhdl mode v3.37.1.  Add VHDL'08 support.
+ 	* progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
+ 	(vhdl-doc-release-notes): Update.
+ 	(vhdl-standard): Add VHDL'08 option.
+ 	(vhdl-sensitivity-list-all): New option.
+ 	(vhdl-directive-keywords): Add psl.
+ 	(vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
+ 	(vhdl-template-construct-alist-init, vhdl-create-mode-menu):
+ 	(vhdl-imenu-generic-expression): Add context, directive.
+ 	(vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
+ 	(vhdl-template-map-init): Add vhdl-template-context.
+ 	(vhdl-mode-syntax-table): Support VHDL'08 block comments.
+ 	(vhdl-create-mode-menu): Add some entries.
+ 	(vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
+ 	(vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
+ 	New constants.
+ 	(vhdl-directives): New variable.
+ 	(vhdl-words-init, vhdl-template-process)
+ 	(vhdl-template-replace-header-keywords): Support VHDL'08.
+ 	(vhdl-abbrev-list-init): Add vhdl-directives.
+ 	(vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
+ 	(vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
+ 	(vhdl-lineup-comment): Handle block comments and directives.
+ 	(vhdl-beginning-of-directive, vhdl-template-context)
+ 	(vhdl-template-context-hook): New functions.
+ 	(vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
+ 	(vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
+ 	(vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
+ 	(vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
+ 	(vhdl-scan-context-clause): Add context.
+ 
+ 2015-02-20  Glenn Morris  
+ 
+ 	* calendar/solar.el (solar-sunrise-sunset-string):
+ 	Shorten message a little.
+ 	(sunrise-sunset): Use message rather than a window.  (Bug#19859)
+ 
+ 	* progmodes/f90.el (f90-keywords-re, f90-procedures-re)
+ 	(f90-font-lock-keywords-2): Some F2008 additions.
+ 
+ 2015-02-19  Dima Kogan  
+ 
+ 	* autorevert.el (auto-revert-buffers-counter)
+ 	(auto-revert-buffers-counter-lockedout): New variables.
+ 	(auto-revert-buffers): Increase `auto-revert-buffers-counter'.
+ 	(auto-revert-notify-handler): Apply `auto-revert-handler' if not
+ 	suppressed by lockout.  (Bug#18958)
+ 
+ 2015-02-19  Stefan Monnier  
+ 
+ 	* emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
+ 	returns classes, not class names (bug#19891).
+ 
+ 	* emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
+ 
+ 	* emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
+ 
+ 2015-02-18  Kelly Dean  
+ 
+ 	* register.el (jump-to-register):
+ 	* emacs-lisp/lisp.el (check-parens):
+ 	Push mark before goto-char so user doesn't lose his previous place.
+ 
+ 2015-02-18  Kelly Dean  
+ 
+ 	* rect.el (rectangle-mark-mode):
+ 	Suppress superfluous "Mark set" message from push-mark.
+ 
+ 2015-02-18  Kelly Dean  
+ 
+ 	* help-mode.el (help-go-back, help-go-forward, help-follow):
+ 	* simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
+ 	* winner.el (winner-redo):
+ 	* windmove.el (windmove-do-window-select):
+ 	* register.el (jump-to-register, increment-register, insert-register)
+ 	(append-to-register, prepend-to-register):
+ 	* files.el (find-alternate-file, abort-if-file-too-large, write-file)
+ 	(set-visited-file-name):
+ 	* emacs-lisp/lisp.el (kill-backward-up-list):
+ 	Use user-error instead of error.  (Bug#14480)
+ 
+ 2015-02-18  Stefan Monnier  
+ 
+ 	* emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
+ 	assumptions about window ordering.
+ 
+ 2015-02-16  Kelly Dean  
+ 
+ 	* files.el (insert-file-contents-literally): Fix docstring typo.
+ 
+ 2015-02-16  Kelly Dean  
+ 
+ 	* emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
+ 	arguments correctly. (Bug#19685)
+ 	(define-minor-mode): Clarify docstring.
+ 	Clarify mode switch messages for minor modes.  (Bug#19690)
+ 
+ 2015-02-16  Kelly Dean  
+ 
+ 	* emacs-lisp/package-x.el (package-upload-buffer-internal):
+ 	Create valid tar files.  (Bug#19536)
+ 
+ 2015-02-16  Kelly Dean  
+ 
+ 	* desktop.el (desktop-read): Conditionally re-enable desktop autosave.
+ 	(Bug#19059)
+ 
+ 2015-02-16  Kelly Dean  
+ 
+ 	* help-mode.el (help-do-xref): Prevent duplicated display of Info
+ 	buffer, and prevent interference with existing buffer.  (Bug#13190)
+ 
+ 2015-02-16  Fabián Ezequiel Gallina  
+ 
+ 	python.el: Do not deactivate mark on shell fontification.  (Bug#19871)
+ 
+ 	* progmodes/python.el (python-shell-font-lock-post-command-hook):
+ 	Do not deactivate mark on fontification.
+ 
+ 2015-02-16  Ivan Shmakov  
+ 
+ 	* net/eww.el: Fix desktop support.  (Bug#19226)
+ 	(eww-mode): Add autoload cookie.
+ 	(eww-restore-desktop): Use inhibit-read-only.
+ 
+ 	* net/eww.el (eww-suggest-uris): Add autoload cookie, so that
+ 	add-hook works correctly even if the file is not yet loaded.
+ 
+ 2015-02-16  Stefan Monnier  
+ 
+ 	* emacs-lisp/eieio.el (defclass): Use make-instance rather than
+ 	eieio-constructor.
+ 	(set-slot-value): Mark as obsolete.
+ 	(eieio-object-class-name): Improve call to eieio-class-name.
+ 	(eieio-slot-descriptor-name, eieio-class-slots): New functions.
+ 	(object-slots): Use it.  Declare obsolete.
+ 	(eieio-constructor): Merge it with `make-instance'.
+ 	(initialize-instance): Use `dolist'.
+ 	(eieio-override-prin1, eieio-edebug-prin1-to-string):
+ 	Use eieio--class-print-name.
+ 
+ 	* emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
+ 	(eieio-class-name): Make it do what the docstring claims.
+ 	(eieio-defclass-internal): Simplify since `prots' isn't used any more.
+ 	(eieio--slot-name-index): Simplify accordingly.
+ 	(eieio-barf-if-slot-unbound): Pass the class object rather than its
+ 	name to `slot-unbound'.
+ 
+ 	* emacs-lisp/eieio-base.el (make-instance): Add a method here rather
+ 	than on eieio-constructor.
+ 
+ 2015-02-16  Stefan Monnier  
+ 
+ 	* emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
+ 	* emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
+ 	about relationship between `type', `named', and `slots'.
+ 	* emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
+ 	value of `cl-struct-type' property.
+ 
+ 2015-02-15  Jérémy Compostella  
+ 
+ 	* net/tramp-sh.el (tramp-remote-process-environment): Disable paging
+ 	with PAGER=cat.  (Bug#19870)
+ 
+ 2015-02-14  Artur Malabarba  
+ 
+ 	* emacs-lisp/package.el (package-read-all-archive-contents):
+ 	Don't build the compatibility table.
+ 	(package-refresh-contents, package-initialize): Do build the
+ 	compatibility table.
+ 	(package--build-compatibility-table): New function.
+ 	(describe-package-1): Describe why a package is incompatible.
+ 
+ 2015-02-14  Stefan Monnier  
+ 
+ 	* emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
+ 	of the parent.
+ 	(cl--assertion-failed): New function.
+ 	(cl-assertion-failed): Move in from cl-lib.el.
+ 
+ 	* emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
+ 	as children of its parents.
+ 	(cl--make-type-test, cl--compiler-macro-typep): Remove functions.
+ 	(cl-typep): Reimplement using define-inline.
+ 	(cl-assert): Use cl--assertion-failed.
+ 	(cl-struct-slot-value): Use define-inline.
+ 
+ 	* emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
+ 
+ 	* textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
+ 	(flyspell-generic-check-word-p): Mark as obsolete.
+ 
+ 2015-02-13  Artur Malabarba  
+ 
+ 	* emacs-lisp/package.el (package--compatibility-table): New var.
+ 	(package--add-to-compatibility-table): New function.
+ 	(package-read-all-archive-contents): Populate compatibility table.
+ 	(package--incompatible-p): Also look in dependencies.
+ 	(describe-package-1): Fix "incompat" handling.
+ 
+ 2015-02-13  Lars Ingebrigtsen  
+ 
+ 	* net/rfc2104.el: Moved here from lisp/gnus.
+ 
+ 2015-02-13  Magnus Henoch  
+ 
+ 	* net/sasl-scram-rfc.el: New file.
+ 
+ 	* net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
+ 	Add SCRAM-SHA-1 first.
+ 	(sasl-mechanism-alist): Remove SCRAM-MD5 entry.  Add SCRAM-SHA-1
+ 	entry (bug#17636).
+ 
+ 2015-02-13  Lars Ingebrigtsen  
+ 
+ 	* net/shr.el (shr-tag-li): Speed up rendering pages with lots of
+ 	
    . + + 2015-02-12 Oleh Krehel + + * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom. + (gdb-inferior-filter): Don't pop up the buried output buffer when + `gdb-display-io-nopopup' is non-nil. + + 2015-02-12 Fabián Ezequiel Gallina + + python.el: Allow killing shell buffer if process is dead. (Bug#19823) + + * progmodes/python.el (python-shell-font-lock-kill-buffer): + Don't require a running process. + (python-shell-font-lock-post-command-hook): Fontify only if the + shell process is running. + + 2015-02-11 Stefan Monnier + + * hi-lock.el (hi-lock-unface-buffer): Don't call + font-lock-remove-keywords if not needed (bug#19796). + + 2015-02-11 Artur Malabarba + + * emacs-lisp/package.el (package-install): Invert the second + argument, for better backwards compatibility. + (package-install-button-action, package-reinstall) + (package-menu-execute): Account for the change. + + 2015-02-11 Nicolas Petton + + * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible + version of seq-reverse that works on sequences in Emacs 24. + Bump seq.el version to 1.2. + + 2015-02-11 Artur Malabarba + + * emacs-lisp/package.el (package--incompatible-p): New function. + Return non-nil if PKG has no chance of being installable. + (package--emacs-version-list): New variable. + (describe-package-1, package-desc-status) + (package-menu--print-info, package-menu--status-predicate): + Account for the "incompat" status. + ++2015-02-11 Martin Rudalics ++ ++2015-02-11 Jan Djärv ++ ++ * version.el (emacs-version): Add cairo version. ++ + 2015-02-11 Martin Rudalics + + * frame.el (toggle-frame-maximized, toggle-frame-fullscreen): + Rename frame parameter `maximized' to `fullscreen-restore'. + Restore fullwidth/-height after fullboth state. Update doc-strings. + + 2015-02-11 Lars Ingebrigtsen + + * net/shr.el (shr-insert): Make sure the space inserted has the + right font (for width). + (shr-fill-line): Preserve background colours when indenting/folding. + (shr-ensure-paragraph): Don't insert a new paragraph as the first + item in a
  • . + + 2015-02-10 Lars Ingebrigtsen + + * net/shr.el (shr-use-fonts): New variable. + (shr-fill-text): Rename from "fold". + (shr-pixel-column, shr-pixel-region, shr-string-pixel-width): + New functions. + (shr-insert): Just insert, don't fill the text. Filling is now + done afterwards per display unit. + (shr-fill-lines, shr-fill-line): New functions to fill text on a + per-unit base. + (shr-find-fill-point): Take a "beginning" parameter. + (shr-indent): Indent using the :width display parameter when using + fonts. + (shr-parse-style): Ignore "inherit" values, since we already do that. + (shr-tag-img): Remove the insertion states. + (shr-tag-blockquote): New-style filling. + (shr-tag-dd): Ditto. + (shr-tag-li): Ditto. + (shr-mark-fill): New function to mark lines that need filling. + (shr-tag-h1): Use a larger font. + (shr-tag-table-1): Get the natural and suggested widths in one + rendering. + (shr-tag-table): Create the "fixed" version of the table only once + so that we can cache data in the table. + (shr-insert-table): Get colspan calculations right by having + zero-width columns after colspan ones. + (shr-expand-alignments): New function to make :align-to specs work + right when rendered in one buffer and displayed in another one. + (shr-insert-table-ruler): Use :align-to to get the widths right. + (shr-make-table): Cache more. + (shr-make-table-1): Use the new data layout. + (shr-pixel-buffer-width): New function. + (shr-render-td): Add a caching layer. + (shr-dom-max-natural-width): New function. + (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering. + (shr-tag-tt): New function. + (shr-tag-hr): Compute the right length when using fonts. + (shr-table-widths): Off-by-one error in width computation. + (shr-expand-newlines): Remove dead code. + (shr-insert-table): Extend background colors to the end of the column. + (shr-insert-table): Only copy the background, not underline and + the like. + (shr-face-background): New function. + + 2015-02-10 Fabián Ezequiel Gallina + + python.el: Improved shell font lock respecting markers. (Bug#19650) + + * progmodes/python.el + (python-shell-font-lock-get-or-create-buffer): Use special buffer name. + (python-shell-font-lock-with-font-lock-buffer): Enable font lock. + (python-shell-font-lock-post-command-hook): Fontify by copying text + properties from fontified buffer to shell, keeping markers unchanged. + (python-shell-font-lock-turn-off): Fix typo. + (python-util-text-properties-replace-name): Delete function. + + 2015-02-09 Nicolas Petton + + * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to + return sequence elements in correct order. + + 2015-02-09 Simen Heggestøyl (tiny change) + + * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815). + + 2015-02-09 Stefan Monnier + + * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body. + + * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected + case where the default value would be re-interpreted as a form! + + 2015-02-09 Christopher Genovese (tiny change) + + * help-fns.el (help-fns--signature): Keep doc for keymap. + + 2015-02-09 Kelly Dean + + * desktop.el: Save mark-ring less verbosely. + (desktop-var-serdes-funs): New var. + (desktop-buffer-info, desktop-create-buffer): Use it. + (desktop-file-version): Update to 208. + + 2015-02-09 Leo Liu + + * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814) + + * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'. + + * emacs-lisp/macroexp.el (macroexp-parse-body): New function. + + 2015-02-08 Paul Eggert + + Port to platforms lacking test -a and -o + * Makefile.in (compile-clean): + * net/tramp-sh.el (tramp-find-executable): + Prefer '&&' and '||' to 'test -a' and 'test -o'. + + 2015-02-08 Artur Malabarba + + * newcomment.el (comment-line): Fix missing paren. + + 2015-02-08 Ulrich Müller + + * play/gamegrid.el: Update comment to reflect that the + 'update-game-score' helper program is now setgid by default. + + 2015-02-08 David Kastrup + + * subr.el (apply-partially): Use lexical binding here. + + 2015-02-08 Artur Malabarba + + * newcomment.el (comment-line): New command. + + * bindings.el (ctl-x-map): Bind to `C-x C-;'. + + 2015-02-08 Oleh Krehel + + * outline.el (outline-show-entry): Fix one invisible char for the + file's last outline. (Bug#19493) + + 2015-02-08 Stefan Monnier + + * subr.el (indirect-function): Change advertised calling convention. + + 2015-02-08 Fabián Ezequiel Gallina + + python.el: Fix completion-at-point. (Bug#19667) + + * progmodes/python.el + (python-shell-completion-native-get-completions): Force process buffer. + (python-shell-completion-at-point): Handle case where call is not + in a shell buffer. + + 2015-02-08 Fabián Ezequiel Gallina + + python.el: Fix shell font-lock multiline input. (Bug#19744) + + * progmodes/python.el + (python-shell-font-lock-post-command-hook): Handle multiline input. + + 2015-02-08 Fabián Ezequiel Gallina + + python.el: Make shell font-lock respect markers. (Bug#19650) + + * progmodes/python.el (python-shell-font-lock-cleanup-buffer): + Use `erase-buffer`. + (python-shell-font-lock-comint-output-filter-function): + Handle newlines. + (python-shell-font-lock-post-command-hook): Respect markers on + text fontification. + + 2015-02-07 Fabián Ezequiel Gallina + + python.el: Keep eldoc visible while typing args. (Bug#19637) + * progmodes/python.el (python-eldoc--get-symbol-at-point): + New function based on Carlos Pita patch. + (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it. + + 2015-02-07 Fabián Ezequiel Gallina + + Fix hideshow integration. (Bug#19761) + * progmodes/python.el + (python-hideshow-forward-sexp-function): New function based on + Carlos Pita patch. + (python-mode): Make `hs-special-modes-alist` use it and initialize + the end regexp with the empty string to avoid skipping parens. + + 2015-02-07 Fabián Ezequiel Gallina + + * progmodes/python.el (python-check-custom-command): Do not use + defvar-local for compat with Emacs<24.3. + + 2015-02-07 Martin Rudalics + + * frame.el (frame-notice-user-settings): + Update `frame-size-history'. + (make-frame): Update `frame-size-history'. + Call `frame-after-make-frame'. + * faces.el (face-set-after-frame-default): Remove call to + frame-can-run-window-configuration-change-hook. + + 2015-02-06 Dmitry Gutov + + * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to + `vc-cvs-command' (bug#19732). + + 2015-02-06 Nicolas Petton + + * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by): + New functions. + * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count) + (seq--drop-list, seq--take-list, seq--take-while-list): + Better docstring. + + 2015-02-06 Artur Malabarba + + * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use + `image-kill-buffer' instead. + + 2015-02-06 Thomas Fitzsimmons + + * net/ldap.el (ldap-search-internal): Fix docstring. + + 2015-02-06 Lars Ingebrigtsen + + * subr.el (define-error): The error conditions may be constant + lists, so use `append' to concatenate them. + + 2015-02-06 Wolfgang Jenkner + + * net/network-stream.el (network-stream-open-tls): Respect the + :end-of-capability setting. + + 2015-02-05 Artur Malabarba + + * emacs-lisp/package.el (package--sort-by-dependence): + New function. Return PACKAGE-LIST sorted by dependencies. + (package-menu-execute): Use it to delete packages in order. + (package--sort-deps-in-alist): New function. + (package-menu-mark-install): Can mark dependencies. + (package--newest-p): New function. + (package-delete): Don't deselect when deleting an older version of + an upgraded package. + + * emacs-lisp/package.el: Add missing (require 'subr-x) + + 2015-02-05 Stefan Monnier + + * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be + hyphenated (bug#19263). + + * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence + of variable interpolation (bug#19751). + + 2015-02-05 Era Eriksson + + * json.el (json-end-of-file): New error (bug#19768). + (json-pop, json-read): Use it. + + 2015-02-05 Kelly Dean + + * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to + `describe-variable'. + + * help-fns.el (describe-function-or-variable): New function. + + * help.el (help-map): Bind `describe-function-or-variable' to o. + (help-for-help-internal): Document o key. + + 2015-02-05 Stefan Monnier + + * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new + special (:documentation ...) feature. + * emacs-lisp/eieio-core.el (eieio-make-class-predicate) + (eieio-make-child-predicate): Same. + (eieio-copy-parents-into-subclass): Remove unused arg. + (eieio-defclass-internal): Adjust call accordingly and remove redundant + `pname' var. + (eieio--slot-name-index): Remove unused arg `obj' and adjust all + callers accordingly. + + * emacs-lisp/cconv.el (cconv--convert-function): + Add `docstring' argument. + (cconv-convert): Use it to handle the new (:documentation ...) form. + (cconv-analyze-form): Handle the new (:documentation ...) form. + + * emacs-lisp/bytecomp.el: + (byte-compile-initial-macro-environment): Use macroexp-progn. + (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all. + (byte-compile-file-form-defvar-function): Rename from + byte-compile-file-form-define-abbrev-table. + (defvaralias, byte-compile-file-form-custom-declare-variable): Use it. + (byte-compile): Use byte-compile-top-level rather than + byte-compile-lambda so we can compile non-values. + (byte-compile-form): Add warnings for failed uses of lexical vars via + quoted symbols. + (byte-compile-unfold-bcf): Improve message for failed inlining. + (byte-compile-make-closure): Handle new format of internal-make-closure + for dynamically-generated docstrings. + + * delsel.el: Deprecate the `kill' option. Use lexical-binding. + (open-line): Delete like all other commands, instead of killing. + (delete-active-region): Don't define any return any value. + + * progmodes/python.el: Try to preserve compatibility with Emacs-24. + (python-mode): Don't assume eldoc-documentation-function has a non-nil + default. + + 2015-02-04 Sam Steingold + + * progmodes/python.el (python-indent-calculate-indentation): + Avoid the error when computing top-level indentation. + + 2015-02-04 Stefan Monnier + + * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo. + + * textmodes/flyspell.el: Use lexical-binding and cl-lib. + (mail-mode-flyspell-verify): Fix last change. + (flyspell-external-point-words, flyspell-large-region): + Avoid add-to-list on local vars. + + 2015-02-04 Tassilo Horn + + * emacs-lisp/package.el (package-installed-p): Fix typo causing + void-variable error. + + 2015-02-04 Artur Malabarba + + * image-mode.el (image-kill-buffer): New command. + (image-mode-map): Bind it to k. + + * emacs-lisp/package.el (package-delete): Remove package from + `package-selected-packages' even if it can't be deleted. + (package-installed-p): Accept package-desc objects. + (package-install): Can be used to mark dependencies as + selected. When given a package-desc object which is already + installed, the package is not downloaded again, but it is marked + as selected (if it wasn't already). + (package-reinstall): Accept package-desc objects. + + 2015-02-03 Artur Malabarba + + * emacs-lisp/package.el (package-delete): Document NOSAVE. + (package--get-deps): delete-dups when ONLY is nil. + (package-autoremove): Warn the user if `package-selected-packages' + is empty. + + (package--user-selected-p): New function. + (package-delete, package-install, package-install-from-buffer): + Use it + (package-selected-packages): Mention it. + + (package-initialize): Don't populate `package-selected-packages'. + (package-install-user-selected-packages, package-autoremove): + Special handling for empty `package-selected-packages'. + (package-install): Fix when PKG is a package-desc. + + (package-desc-status): Add "dependency" status to the Package + Menu. + (package-menu--status-predicate, package-menu--print-info) + (package-menu-mark-delete, package-menu--find-upgrades) + (package-menu--status-predicate, describe-package-1): Use it + + (package--removable-packages): New function. + (package-autoremove): Use it. + (package-menu-execute): Offer to remove unneeded packages. + + (package--read-pkg-desc, package-tar-file-info): Fix reference to + tar-desc. + + 2015-02-03 Thierry Volpiatto + + * emacs-lisp/package.el (package-reinstall): Don't change package's selected status. + (package-delete): New NOSAVE argument. + + 2015-02-03 Michael Albinus + + * net/tramp-sh.el (tramp-histfile-override): Fix docstring. + (tramp-open-shell, tramp-maybe-open-connection): Set also + HISTFILESIZE and HISTSIZE when needed. (Bug#19731) + + 2015-02-02 Artur Malabarba + + * emacs-lisp/package.el (package--find-non-dependencies): + New function. + (package-initialize): Use it to populate `package-selected-packages'. + (package-menu-execute): Clean unnecessary `and'. + (package--get-deps): Fix returning duplicates. + + 2015-02-02 Michael Albinus + + * net/tramp-sh.el (tramp-histfile-override): Add another choice t. + Use it as default. + (tramp-open-shell, tramp-maybe-open-connection): Support it. + (Bug#19731) + + 2015-02-02 Thierry Volpiatto + + * emacs-lisp/package.el (package-delete): Remove package from + package-selected-packages. + (package-autoremove): Remove unneeded variable. + + 2015-02-01 Artur Malabarba + + * emacs-lisp/package.el (package-selected-packages): Fix :type + (package-install): Rename ARG to MARK-SELECTED. + (package--get-deps): Fix for indirect dependencies. + (package-used-elsewhere-p): Rename to + (package--used-elsewhere-p): New function. + (package-reinstall, package-user-selected-packages-install) + (package-autoremove): Use sharp-quote. + (package-user-selected-packages-install): Reindent and rename to + (package-install-user-selected-packages): New function. + + 2015-02-01 Thierry Volpiatto + + * emacs-lisp/package.el: Don't allow deleting dependencies. + + (package-used-elsewhere-p): New function. + (package-delete): Use it, return now an error when trying to + delete a package used as dependency by another package. + + Add a reinstall package command. + (package-reinstall): New function. + + Add a package-autoremove command. + (package-selected-packages): New user var. + (package-install): Add an optional arg to notify interactive use. + Fix docstring. Save installed package to + packages-installed-directly. + (package-install-from-buffer): Same. + (package-user-selected-packages-install): Allow installing all + packages in packages-installed-directly at once. + (package--get-deps): New function. + (package-autoremove): New function. + (package-install-button-action): Call package-install with + interactive arg. + (package-menu-execute): Same but only for only for not installed + packages. + + 2015-01-31 Stefan Monnier + + * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate + and eieio-make-child-predicate. + (eieio-class-parents): Use eieio--class-object. + (slot-boundp, find-class, eieio-override-prin1): Avoid class-p. + (slot-exists-p): Use find-class. + + * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor): + Use find-lisp-object-file-name, help-fns-short-filename and new calling + convention for eieio-class-def. + (eieio-build-class-list): Remove function, unused. + (eieio-method-def): Remove button type, unused. + (eieio-class-def): Inherit from help-function-def. + (eieio--defclass-regexp): New constant. + (find-function-regexp-alist): Use it. + (eieio--specializers-apply-to-class-p): Handle eieio--static as well. + (eieio-help-find-method-definition, eieio-help-find-class-definition): + Remove functions. + + * emacs-lisp/eieio-core.el (eieio--check-type): Remove. + Use cl-check-type everywhere instead. + (eieio-class-object): Remove, use find-class instead when needed. + (class-p): Don't inline. + (eieio-object-p): Check more thoroughly, so we don't treat cl-structs, + such as eieio classes, as objects. Don't inline. + (object-p): Mark as obsolete. + (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref) + (eieio--generic-tagcode): Avoid `class-p'. + (eieio-make-class-predicate, eieio-make-child-predicate): New functions. + (eieio-defclass-internal): Use current-load-list rather than + `class-location'. + + * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp. + + 2015-01-30 Stefan Monnier + + * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s' + since it may be "equivalent" in some sense, yet different (bug#19734). + + 2015-01-30 Oleh Krehel + + * outline.el (outline-font-lock-face): Add docstring. + (outline-invisible-p): Improve docstring. + (outline-invent-heading): Add docstring. + (outline-promote): Improve docstring. + (outline-demote): Improve docstring. + (outline-head-from-level): Improve docstring. + (outline-end-of-heading): Add docstring. + (outline-next-visible-heading): Improve docstring. + (outline-previous-visible-heading): Improve docstring. + (outline-hide-region-body): Improve docstring. + (outline-flag-subtree): Add docstring. + (outline-end-of-subtree): Add docstring. + (outline-headers-as-kill): Improve docstring. + + 2015-01-30 Oleh Krehel + + * outline.el (outline-hide-entry): Rename from `hide-entry'. + (hide-entry): Declare as obsolete. + (outline-show-entry): Rename from `show-entry'. + (show-entry): Declare as obsolete. + (outline-hide-body): Rename from `hide-body'. + (hide-body): Declare as obsolete. + (outline-hide-region-body): Rename from `hide-region-body'. + (hide-region-body): Declare as obsolete. + (outline-show-all): Rename from `show-all'. + (show-all): Declare as obsolete. + (outline-hide-subtree): Rename from `hide-subtree'. + (hide-subtree): Declare as obsolete. + (outline-hide-leaves): Rename from `hide-leaves'. + (hide-leaves): Declare as obsolete. + (outline-show-subtree): Rename from `show-subtree'. + (show-subtree): Declare as obsolete. + (outline-hide-sublevels): Rename from `hide-sublevels'. + (hide-sublevels): Declare as obsolete. + (outline-hide-other): Rename from `hide-other'. + (hide-other): Declare as obsolete. + (outline-show-children): Rename from `show-children'. + (show-children): Declare as obsolete. + (outline-show-branches): Rename from `show-branches'. + (show-branches): Declare as obsolete. + + 2015-01-30 Oleh Krehel + + * outline.el (outline-mode): Clean up docstring. + (font-lock-warning-face): Remove obsolete declaration. + (outline-font-lock-face): Remove obsolete comment. + + 2015-01-30 Oleh Krehel + + * custom.el (defface): Set `indent' to 1. + + 2015-01-30 Oleh Krehel + + * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1. + + 2015-01-30 Michal Nazarewicz + + * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs' + is set, but user has just been asked whether they really want to + kill Emacs (for example with a ‘Modified buffers exist; exit + anyway?’ prompt), do not ask them for another confirmation. + + 2015-01-29 Jay Belanger + + * calc/calc-units.el (calc-convert-exact-units): New function. + (calc-convert-units): Check for missing units. + (math-consistent-units-p): Strengthen the test for consistent units. + + * calc/calc-ext.el (calc-init-extensions): Autoload + `calc-convert-exact-units' and assign it a keybinding. + + * calc/calc-help.el (calc-u-prefix-help): Add help for the + "un" keybinding. + + 2015-01-28 Stefan Monnier + + * emacs-lisp/cl.el (cl--function-convert): Simplify. + + 2015-01-28 Tassilo Horn + + * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and ) + punctuation syntax since to allow bibtex fields with values such + as {Test 1) and 2)} (bug#19205, bug#19707). + (reftex--prepare-syntax-tables): New function. + (reftex-mode): Use it. + + 2015-01-28 Fabián Ezequiel Gallina + + python.el: New non-global state dependent indentation engine. + (Bug#18319, Bug#19595) + * progmodes/python.el (python-syntax-comment-or-string-p): + Accept PPSS as argument. + (python-syntax-closing-paren-p): New function. + (python-indent-current-level) + (python-indent-levels): Mark obsolete. + (python-indent-context): Return more context cases. + (python-indent--calculate-indentation) + (python-indent--calculate-levels): New functions. + (python-indent-calculate-levels): Use them. + (python-indent-calculate-indentation, python-indent-line): + (python-indent-line-function): Rewritten to use new API. + (python-indent-dedent-line): Simplify logic. + (python-indent-dedent-line-backspace): Use `unless`. + (python-indent-toggle-levels): Delete function. + + 2015-01-28 Daniel Koning (tiny change) + + * subr.el (posnp): Correct docstring of `posnp'. + (posn-col-row): Make it work with all mouse position objects. + * textmodes/artist.el (artist-mouse-draw-continously): + Cancel timers if an error occurs during continuous drawing. (Bug#6130) + + 2015-01-28 Eli Zaretskii + + * button.el (button-activate, push-button): Doc fix. (Bug#19628) + + 2015-01-28 Michael Albinus + + * filenotify.el (file-notify-descriptors, file-notify-handle-event): + Adapt docstring. + (file-notify--descriptor): New defun. + (file-notify-callback, file-notify-add-watch, file-notify-rm-watch): + Adapt docstring. Handle multiple values for + `file-notify-descriptors' entries. (Bug#18880) + + * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check + `file-notify-descriptors', the implementation has been changed. + + 2015-01-28 Eli Zaretskii + + * net/net-utils.el (net-utils-run-program, net-utils-run-simple): + On MS-Windows, bind coding-system-for-read to the console output + codepage. (Bug#19458) + + 2015-01-28 Dmitry Gutov + + Unbreak `mouse-action' property in text buttons. + * button.el (push-button): Fix regression from 2012-12-06. + + 2015-01-28 Glenn Morris + + * progmodes/sh-script.el (sh-mode): Doc fix. + (sh-basic-indent-line): Handle electric newline. (Bug#18756) + + 2015-01-28 Paul Eggert + + Fix dired quoting bug with "Hit`N`Hide". + * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498) + + 2015-01-28 Stefan Monnier + + Tighten up the tagcode used for eieio and cl-struct objects. + * loadup.el: Load cl-preloaded. + * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function + slot of the tag symbol to :quick-object-witness-check. + (eieio-object-p): Use :quick-object-witness-check. + (eieio--generic-tagcode): Use cl--generic-struct-tag. + * emacs-lisp/cl-preloaded.el: New file. + * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused. + (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits. + (cl--make-usage-args): Strip away &aux args. + (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2. + (cl-the, cl-check-type): Use macroexp-let2 and cl-typep. + (cl-defstruct): Use `declare' and cl-struct-define. + * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function. + (cl--generic-struct-tagcode): Use it to tighten the tagcode. + + 2015-01-27 Katsumi Yamaoka + + * emacs-lisp/cl.el (cl--function-convert): + Merge cache that cl--labels-convert adds (bug#19699). + + 2015-01-27 Ivan Shmakov + + * tar-mode.el: Allow for adding new archive members. (Bug#19274) + (tar-new-regular-file-header, tar--pad-to, tar--put-at) + (tar-header-serialize): New functions. + (tar-current-position): Split from tar-current-descriptor. + (tar-current-descriptor): Use it. + (tar-new-entry): New command. + (tar-mode-map): Bind it. + + 2015-01-27 Sam Steingold + + * progmodes/python.el (python-check-custom-command): Buffer local + because it usually includes the buffer name. + (python-check-command): Set to epylint when pyflakes is not available. + + 2015-01-27 Artur Malabarba + + * isearch.el (isearch-process-search-char): Add docstring. + + 2015-01-27 Oleh Krehel + + * emacs-lisp/derived.el (define-derived-mode): Declare indent 3. + + 2015-01-27 Katsumi Yamaoka + + * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert + for the case cl-flet or cl-labels form is wrapped with lexical-let + (bug#19613). + + 2015-01-26 Stefan Monnier + + * emacs-lisp/cl-generic.el (cl--generic-method): New struct. + (cl--generic): The method-table is now a (list-of cl--generic-method). + (cl--generic-member-method): New function. + (cl-generic-define-method): Use it. + (cl--generic-build-combined-method, cl--generic-cache-miss): + Adapt to new method-table. + (cl--generic-no-next-method-function): Add `method' argument. + (cl-generic-call-method): Adapt to new method representation. + (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust. + (cl-find-method, cl-method-qualifiers): New functions. + (cl--generic-method-info): Adapt to new method representation. + Return a string for the qualifiers. + (cl--generic-describe): + * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly. + (eieio-all-generic-functions, eieio-method-documentation): + Adjust to new method representation. + + * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method. + + 2015-01-26 Stefan Monnier + + * emacs-lisp/cl-generic.el: Add a method-combination hook. + (cl-generic-method-combination-function): New var. + (cl--generic-lambda): Remove `with-cnm' arg. + (cl-defmethod): Change accordingly. + (cl-generic-define-method): Don't check qualifiers validity. + Preserve all qualifiers in `method-table'. + (cl-generic-call-method): New function. + (cl--generic-nest): Remove (morph into cl-generic-call-method). + (cl--generic-build-combined-method): Adjust to new format of method-table + and use cl-generic-method-combination-function. + (cl--generic-standard-method-combination): New function, extracted from + cl--generic-build-combined-method. + (cl--generic-cnm-sample): Adjust to new format of method-table. + + * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers + instead of :primary. + + * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): + Remove obsolete function. + + 2015-01-26 Lars Ingebrigtsen + + * net/shr.el (shr-make-table-1): Fix colspan typo. + (shr-make-table-1): Add comments. + (shr-make-table-1): Make colspan display more sensibly. + + * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code + slightly. + + 2015-01-25 Stefan Monnier + + * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun. + (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it + (bug#19672). + (cl--generic-typeof-types): Add support for `sequence'. + (cl-defmethod): Add non-keywords in the qualifiers. + + 2015-01-25 Dmitry Gutov + + * emacs-lisp/find-func.el (find-function-regexp): Don't match + `defgroup' (regression from the previous change here). + + 2015-01-23 Thomas Fitzsimmons + + * net/ldap.el (ldap-search-internal): Mention binddn in invalid + credentials error message. + + 2015-01-23 Thomas Fitzsimmons + + * net/ldap.el (ldap-password-read): Validate password before + caching it. + (ldap-search-internal): Handle ldapsearch error conditions. + + 2015-01-23 Thomas Fitzsimmons + + * net/ldap.el (ldap-password-read): Handle password-cache being nil. + + 2015-01-23 Thomas Fitzsimmons + + * net/eudc.el (eudc-expand-inline): Always restore former server + and protocol. + + 2015-01-23 Thomas Fitzsimmons + + * net/eudcb-ldap.el: Don't nag the user in case a default base is + provided by the LDAP system configuration file. + + 2015-01-23 Thomas Fitzsimmons + + * net/eudc.el (eudc-format-query): Preserve the + eudc-inline-query-format ordering of attributes in the returned list. + * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558): + Append the LDAP wildcard character to the last attribute value. + + 2015-01-23 Thomas Fitzsimmons + + * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): + Downcase field names of LDAP results. + (eudc-ldap-cleanup-record-filtering-addresses): Likewise. + + 2015-01-23 Thomas Fitzsimmons + + * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom. + (ldap-search-internal): Send password to ldapsearch through a pipe + instead of via the command line. + + 2015-01-23 Thomas Fitzsimmons + + * net/ldap.el: Require password-cache. + (ldap-password-read): New function. + (ldap-search-internal): Call ldap-password-read when it is + configured to be called. + + 2015-01-23 Thomas Fitzsimmons + + * net/eudc-vars.el (eudc-expansion-overwrites-query): + Change default to nil. + + 2015-01-23 Thomas Fitzsimmons + + * net/eudc.el (eudc-expand-inline): Ignore text properties of + string-to-expand. + + 2015-01-23 Thomas Fitzsimmons + + * net/eudc-vars.el (eudc-inline-expansion-format): Default to a + format that includes first name and surname. + + 2015-01-23 Thomas Fitzsimmons + + * net/eudc-vars.el (eudc-inline-query-format): Change default to + query email and first name instead of surname. + + 2015-01-23 Thomas Fitzsimmons + + * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs. + + 2015-01-23 Thomas Fitzsimmons + + * net/eudc-vars.el (eudc-server): Adjust docstring to mention + eudc-server-hotlist. + (eudc-server-hotlist): Move from eudc.el and make defcustom. + * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el. + (eudc-set-server): Allow setting protocol to nil. + (eudc-expand-inline): Support hotlist-only expansions when server + is not set. + + 2015-01-23 Stefan Monnier + + * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error. + (cl--generic-build-combined-method): Use it. + + 2015-01-22 Paul Eggert + + Don't downcase system diagnostics' first letters + * emacs-lisp/bytecomp.el (byte-compile-file): + * ffap.el (find-file-at-point): + * files.el (insert-file-1): + * net/ange-ftp.el (ange-ftp-barf-if-not-directory) + (ange-ftp-copy-file-internal): + * progmodes/etags.el (visit-tags-table): + Keep diagnostics consistent with system's. + * ffap.el (ffap-machine-p): + Ignore case while comparing diagnostics. + + 2015-01-22 Stefan Monnier + + * help.el (help-make-usage): Don't turn a "_" arg into an empty-string + arg (bug#19645). + * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string + body with a docstring. + + 2015-01-22 Dmitry Gutov + + * progmodes/xref.el (xref-location-marker, xref-location-group): + Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO + counterparts. + + * progmodes/etags.el (xref-location-marker): Same. + + * progmodes/xref.el (xref--current): Rename from `xref--selected'. + (xref--inhibit-mark-current): Rename from + `xref--inhibit-mark-selected'. Update the usages. + (xref-quit): Reword the docstring. Kill buffers after quitting + windows instead of before. + (xref--insert-xrefs): Tweak help-echo. + (xref--read-identifier-history, xref--read-pattern-history): + New variables. + (xref--read-identifier, xref-find-apropos): Use them. + + 2015-01-21 Ulrich Müller + + * play/gamegrid.el (gamegrid-add-score-with-update-game-score): + Allow the 'update-game-score' helper program to run suid or sgid. + + 2015-01-21 Stefan Monnier + + * emacs-lisp/eieio.el: Use cl-defmethod. + (defclass): Generate cl-defmethod calls; use setf methods for :accessor. + (eieio-object-name-string): Declare as obsolete. + + * emacs-lisp/eieio-opt.el: Adapt to cl-generic. + (eieio--specializers-apply-to-class-p): New function. + (eieio-all-generic-functions): Use it. + (eieio-method-documentation): Use it as well as cl--generic-method-info. + Change format of return value. + (eieio-help-class): Adapt accordingly. + + * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method + errors when there's a `before' but no `primary' (bug#19645). + (next-method-p): Return nil rather than signal an error. + (eieio-defgeneric): Remove bogus (fboundp 'method). + + * emacs-lisp/eieio-speedbar.el: + * emacs-lisp/eieio-datadebug.el: + * emacs-lisp/eieio-custom.el: + * emacs-lisp/eieio-base.el: Use cl-defmethod. + + * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'. + (cl--generic-setf-rewrite): Setup the setf expander right away. + (cl-defmethod): Make sure the setf expander is setup before we expand + the body. + (cl-defmethod): Silence byte-compiler warnings. + (cl-generic-define-method): Shuffle code to change return value. + (cl--generic-method-info): New function, extracted from + cl--generic-describe. + (cl--generic-describe): Use it. + + 2015-01-21 Dmitry Gutov + + * progmodes/xref.el (xref--xref-buffer-mode-map): Define before + the major mode. Remap `quit-window' to `xref-quit'. + (xref--xref-buffer-mode): Inherit from special-mode. + + xref: Keep track of temporary buffers (bug#19466). + * progmodes/xref.el (xref--temporary-buffers, xref--selected) + (xref--inhibit-mark-selected): New variables. + (xref--mark-selected): New function. + (xref--show-location): Maybe add the buffer to + `xref--temporary-buffers', add `xref--mark-selected' to + `buffer-list-update-hook' there. + (xref--window): Add docstring. + (xref-quit): Rename from `xref--quit'. Update both references. + Add KILL argument. When it's non-nil, kill the temporary buffers + that haven't been selected by the user. + (xref--show-xref-buffer): Change the second argument to alist, + extract the values for `xref--window' and + `xref--temporary-buffers' from it. Add `xref--mark-selected' to + `buffer-list-update-hook' to each buffer in the list. + (xref--show-xrefs): Move the logic of calling `xref-find-function' + here. Save the difference between buffer lists before and after + it's called as "temporary buffers", and `pass it to + `xref-show-xrefs-function'. + (xref--find-definitions, xref-find-references) + (xref-find-apropos): Update accordingly. + + 2015-01-20 Artur Malabarba + + * emacs-lisp/package.el (package-dir-info): Fix `while' logic. + + 2015-01-20 Stefan Monnier + + * emacs-lisp/eieio-generic.el: Remove. + (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete. + * emacs-lisp/eieio-compat.el: New file. + * emacs-lisp/eieio.el: Don't require eieio-generic any more. + * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p): + Remove unused function. + (eieio-defclass): Move to eieio-compat.el. + * emacs-lisp/macroexp.el (macroexp-macroexpand): New function. + (macroexp--expand-all): Use it. + * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too. + + 2015-01-20 Michal Nazarewicz + + * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how + major modes should use `add-function' to alter value of the variable. + * hexl.el (hexl-mode): + * ielm.el (inferior-emacs-lisp-mode): + * progmodes/cfengine.el (cfengine3-mode): + * progmodes/elisp-mode.el (emacs-lisp-mode): + * progmodes/octave.el (octave-mode): + * progmodes/python.el (python-mode): + * simple.el (read--expression): Set `eldoc-documentation-function' + using `add-function' so the default value is always used. + + * descr-text.el (describe-char-eldoc): New function returning + basic Unicode codepoint information (e.g. name) about character + at point. It is meant to be used as a default value of the + `eldoc-documentation-function' variable. + (describe-char-eldoc--format, describe-char-eldoc--truncate): + New helper functions for `describe-char-eldoc' function. + + 2015-01-20 Michal Nazarewicz + + * textmodes/paragraphs.el (sentence-end-base): Include an + ellipsis (…) and interrobang (‽) characters as end of a sentence, + and a closing single quote (’) as an end of a quote. + + 2015-01-20 Michal Nazarewicz + + * textmodes/tildify.el (tildify-double-space-undos): A new + variable specifying whether pressing space in `tildify-mode' after + a space has been replaced with hard space undos the substitution. + (tildify-space): Add code branch for handling `tildify-doule-space'. + + * textmodes/tildify.el (tildify-space): A new function + which can be used as a `post-self-insert-hook' to automatically + convert spaces into hard spaces. + (tildify-space-pattern): A new variable specifying pattern where + `tildify-space' should take effect. + (tildify-space-predicates): A new variable specifying list of + predicate functions that all must return non-nil for + `tildify-space' to take effect. + (tildify-space-region-predicate): A new functions meant to be + used as a predicate in `tildify-space-predicates' list. + (tildify-mode): A new minor mode enabling `tildify-space' as a + `post-self-insert-hook' + + 2015-01-20 Daniel Colascione + + * vc/vc-dir.el (vc-dir): Default to repository root, not + default-directory. + + 2015-01-20 Dmitry Gutov + + * progmodes/etags.el (xref-etags-location): New class. + (xref-make-etags-location): New function. + (etags--xref-find-definitions): Use it. + (xref-location-marker): New method implementation. + + * progmodes/xref.el: Mention that xref-location is an EIEIO class. + (xref--insert-xrefs): Expand help-echo string. + + 2015-01-19 Dmitry Gutov + + * ido.el: Update Customization instructions. + + 2015-01-19 Jonas Bernoulli + + Define Ido keymaps once (bug#17000). + * ido.el (ido-common-completion-map) + (ido-file-dir-completion-map) + (ido-file-completion-map, ido-buffer-completion-map): Set up key + bindings when each variable is defined. + (ido-completion-map): Move definition. + (ido-init-completion-maps): Noop. + (ido-common-initialization): Don't call it. + (ido-setup-completion-map): Improve doc-string, cleanup. + + 2015-01-19 Ivan Shmakov + + * cus-dep.el (custom-make-dependencies): Ensure that + default-directory is interpreted as a directory (see bug#19140.) + + 2015-01-19 Dmitry Gutov + + * progmodes/xref.el (xref--display-position): + Set `other-window-scroll-buffer'. + (xref-goto-xref): Use `user-error'. + + 2015-01-19 Dmitry Gutov + + * progmodes/xref.el (xref--display-history): New variable. + (xref--window-configuration): Remove. + (xref--save-to-history): New function. + (xref--display-position): Use it. Add new argument. + (xref--restore-window-configuration): Remove. + (xref--show-location, xref-show-location-at-point): + Update accordingly. + (xref--xref-buffer-mode): Don't use `pre-command-hook'. + (xref--quit): New command. + (xref-goto-xref): Use it. + (xref--xref-buffer-mode-map): Bind `q' to it. + + 2015-01-18 Dmitry Gutov + + * progmodes/xref.el (xref-goto-xref): Perform the jump even inside + indentation or at eol. + + 2015-01-18 Stefan Monnier + + * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic. + (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types): + New functions. + (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them. + + * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the + `newname' argument. + + * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle + introduction of a new dispatch argument. + (cl--generic-cache-miss): Handle dispatch on an argument which was not + considered as dispatchable for this method. + (cl-defmethod): Warn when adding a method to an obsolete generic function. + (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded. + + * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp. + + 2015-01-18 Artur Malabarba + + * emacs-lisp/package.el (package--append-to-alist): Rename from + `package--add-to-alist' + Updated docstring due to new name. + + 2015-01-18 Leo Liu + + * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix + multiple evaluation. (Bug#19519) + + * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices + error. (Bug#19434) + + 2015-01-18 Stefan Monnier + + * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic. + (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types): + New functions. + (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them. + + * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include + or print is nil. + (cl-struct-type-p): New function. + + * emacs-lisp/cl-generic.el: Add support for cl-next-method-p. + (cl-defmethod): Add edebug spec. + (cl--generic-build-combined-method): Fix call to + cl-no-applicable-method. + (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant. + (cl--generic-isnot-nnm-p): New function. + (cl--generic-lambda): Use it to add support for cl-next-method-p. + (cl-no-next-method, cl-no-applicable-method): Simplify arg list. + (cl-next-method-p): New function. + + 2015-01-17 Ulrich Müller + + * version.el (emacs-repository-get-version): Update docstring. + + 2015-01-17 Ivan Shmakov + + * files.el (find-file-other-window, find-file-other-frame): + Use mapc instead of mapcar. (Bug#18175) + + * files.el (dir-locals-collect-variables): Use default-directory + in place of the file name while working on non-file buffers, just + like hack-dir-local-variables already does. (Bug#19140) + + * textmodes/enriched.el (enriched-encode): + Use inhibit-point-motion-hooks in addition to inhibit-read-only. + (Bug#18246) + + * desktop.el (desktop-read): Do not call desktop-clear when no + desktop file is found. (Bug#18371) + + * misearch.el (multi-isearch-unload-function): New function. + (misearch-unload-function): New alias. (Bug#19566) + + 2015-01-17 Stefan Monnier + + * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from + class-constructor, and make it an alias for `identity'. + Update all callers. + + * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name + argument here (bug#19620)... + (defclass): ...instead of in the constructor here. + + 2015-01-16 Jorgen Schaefer + + * emacs-lisp/package.el (package-archive-priorities): + Specify correct type. + + 2015-01-17 Ulrich Müller + + * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr): + Remove. + (emacs-repository-get-version): Discard the Bazaar case. + * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from + emacs-bzr-version-dirstate and move from version.el to here. + (vc-bzr-working-revision): Use it. + + 2015-01-17 Stefan Monnier + + * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking + eieio--scoped-class any more. + + * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var. + (eieio--scoped-class): Remove function. + (eieio--with-scoped-class): Remove macro. Replace uses with `progn'. + (eieio--slot-name-index): Don't check the :protection anymore. + (eieio-initializing-object): Remove var. + (eieio-set-defaults): Don't let-bind eieio-initializing-object. + + 2015-01-17 Stefan Monnier + + Improve handling of doc-strings and describe-function for cl-generic. + + * help-mode.el (help-function-def): Add optional arg `type'. + + * help-fns.el (find-lisp-object-file-name): Accept any `type' as long + as it's a symbol. + (help-fns-short-filename): New function. + (describe-function-1): Use it. Use autoload-do-load. + + * emacs-lisp/find-func.el: Use lexical-binding. + (find-function-regexp): Don't rule out `defgeneric'. + (find-function-regexp-alist): Document new possibility of including + a function instead of a regexp. + (find-function-search-for-symbol): Implement that new possibility. + (find-function-library): Don't assume that `function' is a symbol. + (find-function-do-it): Remove unused var `orig-buf'. + + * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core. + (eieio--defgeneric-init-form): Don't throw away a previous docstring. + (eieio--method-optimize-primary): Don't mess with the docstring. + (defgeneric): Keep the `args' in the docstring. + (defmethod): Don't use the method's docstring for the generic + function's docstring. + + * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el. + (eieio-defclass-autoload): Don't record the superclasses any more. + (eieio-defclass-internal): Reuse the old class object if it was just an + autoload stub. + (eieio--class-precedence-list): Load the class if it's autoloaded. + + * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to + override an autoload. + (cl-generic-current-method-specializers): Replace dyn-bind variable + with a lexically-scoped macro. + (cl--generic-lambda): Update accordingly. + (cl-generic-define-method): Record manually in the load-history with + type `cl-defmethod'. + (cl--generic-get-dispatcher): Minor optimization. + (cl--generic-search-method): New function. + (find-function-regexp-alist): Add entry for `cl-defmethod' type. + (cl--generic-search-method): Add hyperlinks for methods. Merge the + specializers and the function's arguments. + + 2015-01-16 Artur Malabarba + + * emacs-lisp/package.el (package--read-pkg-desc): + New function. Read a `define-package' form in current buffer. + Return the pkg-desc, with desc-kind set to KIND. + (package-dir-info): New function. Find package information for a + directory. The return result is a `package-desc'. + (package-install-from-buffer): Install packages from dired buffer. + (package-install-file): Install packages from directory. + (package-desc-suffix) + (package-install-from-archive) + * emacs-lisp/package-x.el (package-upload-buffer-internal): + Ensure all remaining instances of `package-desc-kind' handle the 'dir + value. + + 2015-01-16 Jorgen Schaefer + + * emacs-lisp/package.el: Provide repository priorities. + (package-archive-priorities): New variable. + (package--add-to-alist): New function. + (package--add-to-archive-contents): Use it. + (package-menu--find-upgrades): Use it as well. Small clean up to + make the use of the package name here explicit. + (package-archive-priority): New function. + (package-desc-priority-version): New function. + + 2015-01-16 Daniel Colascione + + * cus-start.el (all): Make `ring-bell-function' customizable. + + 2015-01-16 Dmitry Gutov + + * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as + vc-svn-after-dir-status's second argument. (Bug#19429) + + 2015-01-16 Samer Masterson + + * pcomplete.el (pcomplete-parse-arguments): Parse arguments + regardless of pcomplete-cycle-completions's value. (Bug#18950) + + 2015-01-16 Lars Magne Ingebrigtsen + + * dom.el (dom-strings): New function. + + * files.el (directory-files-recursively): Don't use the word + "path" for a file name. + + 2015-01-15 Wolfgang Jenkner + + * calc/calc-units.el (math-units-in-expr-p) + (math-single-units-in-expr-p, math-find-compatible-unit-rec) + (math-extract-units): Handle the `neg' operator. (Bug#19582) + + 2015-01-15 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl--labels-magic): New constant. + (cl--labels-convert): Use it to ask the macro what is its replacement + in the #'f case. + + * emacs-lisp/cl-generic.el (cl--generic-build-combined-method): + Return the value of the primary rather than the after method. + + * emacs-lisp/eieio-core.el: Provide support for cl-generic. + (eieio--generic-tagcode): New function. + (cl-generic-tagcode-function): Use it. + (eieio--generic-tag-types): New function. + (cl-generic-tag-types-function): Use it. + (eieio-object-p): Tighten up the test. + + * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo. + + 2015-01-14 Stefan Monnier + + * emacs-lisp/cl-generic.el: New file. + + * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms. + (cl-load-time-value, cl-labels): Use closures rather than + backquoted lambdas. + (cl-macrolet): Use `eval' to create the function value, and support CL + style arguments in for the defined macros. + + 2015-01-14 Stefan Monnier + + * net/eww.el: Use lexical-binding. + (eww-links-at-point): Remove unused arg. + (eww-mode-map): Inherit from special-mode-map. + (eww-mode): Derive from special-mode. Don't use `setq' on a hook. + + 2015-01-13 Alan Mackenzie + + Allow compilation during loading of CC Mode-derived modes (bug#19206). + * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading): + New function which walks the stack to discover whether we're compiling + or loading. + (cc-bytecomp-is-compiling): Reformulate, and move towards beginning. + (cc-bytecomp-is-loading): New defsubst. + (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment): + Use the above defsubsts. + (cc-require-when-compile, cc-bytecomp-defvar) + (cc-bytecomp-defun): Simplify conditionals. + * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading): + "Borrow" this function from cc-bytecomp.el. + (c-get-current-file): Reformulate using the above. + (c-lang-defconst): Prevent duplicate entries of file names in a + symbol's 'source property. + (c-lang-const): Use cc-bytecomp-is-compiling. + * progmodes/cc-langs.el (c-make-init-lang-vars-fun): + Use cc-bytecomp-is-compiling. + + 2015-01-13 Stefan Monnier + + * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass' + (bug#19552). + + 2015-01-13 Dmitry Gutov + + * menu-bar.el (menu-bar-goto-menu): Before calling + `xref-marker-stack-empty-p', first check that `xref' is loaded. + (Bug#19554) + + 2015-01-12 Martin Rudalics + + * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload + cookie (Bug#19554). + + * frame.el (frame-notice-user-settings): Remove code dealing with + frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode' + only if `window-system-frame-alist' or `default-frame-alist' ask + for it. + (make-frame): Update frame-adjust-size-history if needed. + + 2015-01-12 Paul Eggert + + Have 'make' output better GEN names + * Makefile.in (PHONY_EXTRAS): New macro. + (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the + relevant files' time stamps are ignored. + (custom-deps, $(lisp)/cus-load.el, finder-data) + ($(lisp)/finder-inf.el): Use PHONY_EXTRAS. + (custom-deps, $(lisp)/cus-load.el, finder-data) + ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el) + ($(lisp)/subdirs.el, update-subdirs): + Output more-accurate destination names with GEN. + + Say "ELC foo.elc" instead of "GEN foo.elc" + * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1): + New macros. + ($(THEFILE)c, .el.elc): Use them. + + 2015-01-11 Michael Albinus + + * files.el (directory-files-recursively): Do not include + superfluous remote file names. + + 2015-01-11 Lars Magne Ingebrigtsen + + * net/eww.el (eww): Interpret anything that looks like a protocol + designator as a full URL. + + 2015-01-10 Lars Magne Ingebrigtsen + + * net/shr.el (shr-urlify): Don't bother the user about + invalidly-encoded display strings. + + 2015-01-10 Ivan Shmakov + + * net/shr.el (shr-urlify): Decode URLs before using them as titles + (bug#19555). + + 2015-01-10 Lars Magne Ingebrigtsen + + * net/eww.el (eww): Always interpret URLs that start with https?: + as plain URLs, even if they have spaces in them (bug#19556). + (eww): Also interpret things like "en.wikipedia.org/wiki/Free + software" as an URL. + (eww): Don't interpret "org/foo" as an URL. + (eww): Clear the title when loading so that we don't display + misleading information. + + 2015-01-10 Daniel Colascione + + * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x, + by analogy with dired. + + 2015-01-09 Daniel Colascione + + * progmodes/js.el (js--function-heading-1-re) + (js--function-prologue-beginning): Parse ES6 generator function + declarations. (That is, "function* name()"). + + 2015-01-08 Stefan Monnier + + * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code + that creates functions, and most of the sanity checks. + Mark as obsolete the -child-p function. + * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove. + (eieio--class, eieio--object): Use cl-defstruct. + (eieio--object-num-slots): Define manually. + (eieio-defclass-autoload): Use eieio--class-make. + (eieio-defclass-internal): Rename from eieio-defclass. Move all the + `(lambda...) definitions and most of the sanity checks to `defclass'. + Mark as obsolete the -list-p function, the variable and + the variables. Use pcase-dolist. + (eieio-defclass): New compatibility function. + * emacs-lisp/eieio-opt.el (eieio-build-class-alist) + (eieio-class-speedbar): Don't use eieio-default-superclass var. + + 2015-01-08 Stefan Monnier + + * emacs-lisp/eieio-generic.el: New file. + * emacs-lisp/eieio-core.el: Move all generic function code to + eieio-generic.el. + (eieio--defmethod): Declare. + + * emacs-lisp/eieio.el: Require eieio-generic. Move all generic + function code to eieio-generic.el. + * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to + eieio-generic.el. + * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call + to eieio--generic-call. + * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use + -child type. + + 2015-01-08 Stefan Monnier + + * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie): + Don't use as a variable. + + * emacs-lisp/eieio.el (same-class-p): Accept class object as well. + (call-next-method): Simplify. + (clone): Obey eieio-backward-compatibility. + + * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove. + (eieio-read-generic): Use `generic-p' instead. + + * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var. + (eieio-defclass-autoload): Obey it. + (eieio--class-object): Improve error behavior. + (eieio-class-children-fast, same-class-fast-p): Remove. Inline at + every use site. + (eieio--defgeneric-form-primary-only): Rename from + eieio-defgeneric-form-primary-only; update all callers. + (eieio--defgeneric-form-primary-only-one): Rename from + eieio-defgeneric-form-primary-only-one; update all callers. + (eieio-defgeneric-reset-generic-form) + (eieio-defgeneric-reset-generic-form-primary-only) + (eieio-defgeneric-reset-generic-form-primary-only-one): Remove. + (eieio--method-optimize-primary): New function to replace them. + (eieio--defmethod, eieio-defmethod): Use it. + (eieio--perform-slot-validation): Rename from + eieio-perform-slot-validation; update all callers. + (eieio--validate-slot-value): Rename from eieio-validate-slot-value. + Change `class' to be a class object. Update all callers. + (eieio--validate-class-slot-value): Rename from + eieio-validate-class-slot-value. Change `class' to be a class object. + Update all callers. + (eieio-oset-default): Accept class object as well. + (eieio--generic-call-primary-only): Rename from + eieio-generic-call-primary-only. Update all callers. + + * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value): + Improve error messages. + (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as + well as user-defined types. Emit errors for legacy types like + -child and -list, if not eieio-backward-compatibility. + + 2015-01-08 Stefan Monnier + + * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects. + (eieio--class-slot-initarg): Rename from class-slot-initarg. + Change `class' arg to be a class object. Update all callers. + (call-next-method): Adjust to new return value of `eieio-generic-form'. + (eieio-default-superclass): Set var to the class object. + (eieio-edebug-prin1-to-string): Fix recursive call for lists. + Change print behavior to affect class objects rather than + class symbols. + + * emacs-lisp/eieio-core.el (eieio-class-object): New function. + (eieio-class-parents-fast): Remove macro. + (eieio--class-option-assoc): Rename from class-option-assoc. + Update all callers. + (eieio--class-option): Rename from class-option. Change `class' arg to + be a class object. Update all callers. + (eieio--class-method-invocation-order): Rename from + class-method-invocation-order. Change `class' arg to be a class + object. Update all callers. + (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to + a list of class objects rather than names. + (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default' + for accessors to class allocated slots. + (eieio--perform-slot-validation-for-default): Rename from + eieio-perform-slot-validation-for-default. Update all callers. + (eieio--add-new-slot): Rename from eieio-add-new-slot. + Update all callers. Use push. + (eieio-copy-parents-into-subclass): Adjust to new content of + `parent' field. Use dolist. + (eieio-oref): Remove support for providing a class rather than + an object. + (eieio-oref-default): Prefer class objects over class names. + (eieio--slot-originating-class-p): Rename from + eieio-slot-originating-class-p. Update all callers. Use `or'. + (eieio--slot-name-index): Turn check into assertion. + (eieio--class-slot-name-index): Rename from + eieio-class-slot-name-index. Change `class' arg to be a class object. + Update all callers. + (eieio-attribute-to-initarg): Move to eieio-test-persist.el. + (eieio--c3-candidate): Rename from eieio-c3-candidate. + Update all callers. + (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists. + Update all callers. + (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3. + Update all callers. + (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs. + Update all callers. + (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs. + Update all callers. Adjust to new `parent' content. + (eieio--class-precedence-list): Rename from -class-precedence-list. + Update all callers. + (eieio-generic-call): Use autoloadp and autoload-do-load. + Slight simplification. + (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new + return value of `eieio-generic-form'. + (eieiomt-add): Index the hashtable with class objects rather than + class names. + (eieio-generic-form): Accept class objects as well. + + * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object): + Adjust to new convention for eieio-persistent-validate/fix-slot-value. + (eieio-persistent-validate/fix-slot-value): + Change `class' arg to be a class object. Update all callers. + + 2015-01-08 Stefan Monnier + + * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects + additionally to class names. + + * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding. + (object): Remove first (constant) slot; rename second to `class-tag'. + (eieio--object-class-object, eieio--object-class-name): New funs + to replace eieio--object-class. + (eieio--class-object, eieio--class-p): New functions. + (same-class-fast-p): Make it a defsubst, change its implementation + to check the class objects rather than their names. + (eieio-object-p): Rewrite. + (eieio-defclass): Adjust the object initialization according to the new + object layout. + (eieio--scoped-class): Declare it returns a class object (not a class + name any more). Adjust calls accordingly (along with calls to + eieio--with-scoped-class). + (eieio--slot-name-index): Rename from eieio-slot-name-index and change + its class arg to be a class object. Adjust callers accordingly. + (eieio-slot-originating-class-p): Make its start-class arg a class + object. Adjust all callers. + (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute. + Make its `class' arg a class object. Adjust all callers. + + * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value): + Use eieio--slot-name-index rather than eieio-slot-name-index. + + 2015-01-08 Stefan Monnier + + * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object + name argument. + (eieio-object-name): Use eieio-object-name-string. + (eieio--object-names): New const. + (eieio-object-name-string, eieio-object-set-name-string): Re-implement + using a hashtable rather than a built-in slot. + (eieio-constructor): Rename from `constructor'. Remove `newname' arg. + (clone): Don't mess with the object's "name". + + * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg. + (eieio-object-value-get): Use eieio-object-set-name-string. + + * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases. + (eieio--object): Remove `name' field. + (eieio-defclass): Adjust to new convention where constructors don't + take an "object name" any more. + (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases. + (eieio-validate-slot-value, eieio-oset-default) + (eieio-slot-name-index): Don't hardcode eieio--object-num-slots. + (eieio-generic-call-primary-only): Simplify. + + * emacs-lisp/eieio-base.el (clone) : + Use call-next-method. + (eieio-constructor): Rename from `constructor'. + (eieio-persistent-convert-list-to-object): Drop objname. + (eieio-persistent-validate/fix-slot-value): Don't hardcode + eieio--object-num-slots. + (eieio-named): Use a normal slot. + (slot-missing) : Remove. + (eieio-object-name-string, eieio-object-set-name-string, clone) + : New methods. + + 2015-01-08 Stefan Monnier + + * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v. + (method-*): Add a "eieio--" prefix to those constants. + + * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro. + + * emacs-lisp/eieio-speedbar.el: Use lexical-binding. + + 2015-01-08 Stefan Monnier + + * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is + `eieio-default-superclass'. + + * emacs-lisp/eieio-datadebug.el: Use lexical-binding. + + * emacs-lisp/eieio-custom.el: Use lexical-binding. + (eieio-object-value-to-abstract): Simplify. + + * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan. + (eieio-build-class-alist): Use dolist. + (eieio-all-generic-functions): Adjust to use of hashtables. + + * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to + symbol-hashtable. It contains a hashtable instead of an obarray. + (generic-p): Use symbol property `eieio-method-hashtable' instead of + `eieio-method-obarray'. + (generic-primary-only-p, generic-primary-only-one-p): + Slight optimization. + (eieio-defclass-autoload-map): Use a hashtable instead of an obarray. + (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly. + (eieio-class-un-autoload): Use autoload-do-load. + (eieio-defclass): Use dolist, cl-pushnew, cl-callf. + Use new cl-deftype-satisfies. Adjust to use of hashtables. + Don't hardcode the value of eieio--object-num-slots. + (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg. + Use a closure rather than a backquoted lambda. + (eieio--defmethod): Adjust call accordingly. Set doc-string via the + function-documentation property. + (eieio-slot-originating-class-p, eieio-slot-name-index) + (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add) + (eieio-generic-form): Adjust to use of hashtables. + (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take + additional class argument. + (eieio-generic-call-methodname): Remove, unused. + + * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p): + Prefer \' to $. + + 2015-01-08 Eli Zaretskii + + * simple.el (line-move-visual): When converting X pixel coordinate + to temporary-goal-column, adjust the value for right-to-left + screen lines. This fixes vertical-motion, next/prev-line, etc. + + 2015-01-08 Glenn Morris + + * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325) + + 2015-01-07 K. Handa + + * international/ccl.el (define-ccl-program): Improve the docstring. + + 2015-01-06 Sam Steingold + + * shell.el (shell-display-buffer-actions): Remove, + use `display-buffer-alist' instead. + + 2015-01-05 Dmitry Gutov + + * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property + to the references. + + 2015-01-05 Stefan Monnier + + * minibuffer.el (completion-category-defaults): New var. + Set unicode-name to use substring completion. + (completion-category-defaults): Set it to nil. + + 2015-01-04 Dmitry Gutov + + Add mouse interaction to xref. + * progmodes/xref.el (xref--button-map): New variable. + (xref--mouse-2): New command. + (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to + the inserted references. + + 2015-01-04 Paul Eggert + + Less 'make' chatter for lisp dir + * Makefile.in (THEFILE): Define to be 'no-such-file' by default, + to make it clearer that the caller must specify it. + (compile-onefile): Remove, replacing by ... + ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here. + ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el) + ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el) + ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el): + Use AM_V_GEN to lessen 'make' chatter. + (.el.elc): Omit duplicate comment. + + Less 'make' chatter in batch mode + * emacs-lisp/autoload.el (autoload-generate-file-autoloads): + * emacs-lisp/bytecomp.el (byte-compile-file): + * files.el (save-buffer, basic-save-buffer): + * international/quail.el (quail-update-leim-list-file): + Don't output messages like "Generating ..." in batch mode. + + 2015-01-04 Dmitry Gutov + + Unbreak `mouse-action' property in text buttons. + * button.el (push-button): Fix regression from 2012-12-06. + + 2015-01-03 Dmitry Gutov + + * progmodes/xref.el (xref-marker-stack-empty-p): New function. + + * menu-bar.el (menu-bar-goto-menu): Use it. + + 2015-01-03 Dmitry Gutov + + * progmodes/xref.el (xref--window-configuration): New variable. + (xref-show-location-at-point): New command. + (xref--restore-window-configuration): New function. + (xref-next-line, xref-prev-line): Delegate to + `xref-show-location-at-point'. + (xref--location-at-point): Don't signal the error. + (xref-goto-xref): Do that here instead. + (xref--xref-buffer-mode): Add `xref--restore-window-configuration' + to `pre-command-hook'. + (xref--xref-buffer-mode-map): Don't remap `next-line' and + `previous-line'. Additionally bind `xref-next-line' and + `xref-prev-line' to `n' and `p' respectively. + Bind `xref-show-location-at-point' to `C-o'. + + 2015-01-01 Eli Zaretskii + + * tool-bar.el (tool-bar-local-item) + (tool-bar-local-item-from-menu): Call force-mode-line-update to + make sure the tool-bar changes show on display. + + 2015-01-01 Michael Albinus + + Sync with Tramp 2.2.11. + + * net/tramp-compat.el (top): Require cl-macs for Emacs 22. + Make an alias for `default-toplevel-value' if it doesn't exist. + + * net/tramp-smb.el (tramp-smb-handle-copy-directory): + Use `tramp-compat-delete-directory'. + + * net/trampver.el: Update release number. + + 2015-01-01 Filipp Gunbin + + * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode + for remote files. (Bug#19449) + + 2015-01-01 Simen Heggestøyl (tiny change) + + * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446). + + 2014-12-31 Paul Eggert + + Less 'make' chatter in lisp directory + * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_) + (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in. + (custom-deps, finder-data, autoloads, update-subdirs): Use them. + + 2014-12-31 Filipp Gunbin + + * info.el (info-display-manual): Limit the completion alternatives + to currently visited manuals if prefix argument is non-nil. + + 2014-12-30 Paul Eggert + + * Makefile.in (semantic): Simplify. + + 2014-12-30 Juri Linkov + + * net/eww.el (eww-isearch-next-buffer): New function. + (eww-mode): Set multi-isearch-next-buffer-function to it. + + 2014-12-30 Dmitry Gutov + + * progmodes/xref.el (xref-find-definitions): Mention "no + identifier at point" case in the docstring. + + * menu-bar.el (menu-bar-goto-uses-etags-p): New function. + (menu-bar-goto-menu): Use it to show or hide the `set-tags-name' + and `separator-tag-file' items. + + 2014-12-29 Paul Eggert + + * obsolete/pc-select.el (pc-selection-mode): Use system-type. + This is instead of system-name, which is both wrong here and obsolete. + * desktop.el (desktop-save-frameset): + * dnd.el (dnd-get-local-file-uri): + * nxml/rng-uri.el (rng-uri-file-name-1): + Prefer (system-name) to system-name, and avoid naming + locals 'system-name'. + * startup.el (system-name): Now an obsolete variable. (Bug#19438) + + 2014-12-29 Dmitry Gutov + + * menu-bar.el (menu-bar-next-tag-other-window) + (menu-bar-next-tag): Remove. + + 2014-12-29 K. Handa + + * international/mule.el (make-translation-table-from-alist): + Accept nil or zero-length vector for FROM and TO. + + 2014-12-29 Lars Ingebrigtsen + + * net/eww.el (eww-mode): Truncate overlong lines for prettier + display when resizing. + + * net/shr.el (shr-width): Default to using the window width when + rendering. + + 2014-12-29 Dmitry Gutov + + Unbreak jumping to an alias's definition. + * emacs-lisp/find-func.el (find-function-library): Return a pair + (ORIG-FUNCTION . LIBRARY) instead of just its second element. + (find-function-noselect): Use it. + * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to + `elisp--xref-identifier-location', incorporate logic from + `elisp--xref-find-definitions', use the changed + `find-function-library' return value. + + 2014-12-29 Juri Linkov + + * comint.el (comint-history-isearch-message): Use field-beginning + instead of comint-line-beginning-position - that's more fixes for + http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html + (comint-history-isearch-message): Fix args of isearch-message-prefix. + + 2014-12-29 Juri Linkov + + * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450). + (vc-dir-mode-map): Bind it to "\C-o". + (vc-dir-menu-map): Add it to menu. + + 2014-12-29 Dmitry Gutov + + * progmodes/etags.el (find-tag-other-window) + (find-tag-other-frame, find-tag-regexp, tags-loop-continue) + (tags-apropos): Declare obsolete. + + * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item + with xref ones. + + 2014-12-28 Eli Zaretskii + + * international/mule.el (define-coding-system): Fix typos in the + doc string. + + 2014-12-28 Kenichi Handa + + * international/mule.el (define-coding-system): Improve the doc + string. + + 2014-12-28 Ivan Shmakov + + * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer + elements in tables (bug#19444). + + * net/eww.el (eww-handle-link): Fix typo in "up" rel handling + (bug#19445). + + 2014-12-28 Juri Linkov + + * vc/compare-w.el: Require diff-mode for diff faces. + (compare-windows-removed, compare-windows-added): New faces + inheriting from diff faces. + (compare-windows): Define obsolete face alias. + (compare-windows-highlight): Replace face `compare-windows' with + new faces `compare-windows-added' and `compare-windows-removed' + (bug#19451). + (compare-windows-get-recent-window): Signal an error when + no other window is found (bug#19170). + + 2014-12-27 Dmitry Gutov + + * progmodes/elisp-mode.el (elisp--xref-identifier-file): + Skip features that have no sources. + + * simple.el (execute-extended-command): + When `suggest-key-bindings' is nil, don't. + + 2014-12-27 Fabián Ezequiel Gallina + + python.el: Native readline completion. + * progmodes/python.el (python-shell-completion-native-disabled-interpreters) + (python-shell-completion-native-enable) + (python-shell-completion-native-output-timeout): New defcustoms. + (python-shell-completion-native-interpreter-disabled-p) + (python-shell-completion-native-try) + (python-shell-completion-native-setup) + (python-shell-completion-native-turn-off) + (python-shell-completion-native-turn-on) + (python-shell-completion-native-turn-on-maybe) + (python-shell-completion-native-turn-on-maybe-with-msg) + (python-shell-completion-native-toggle): New functions. + (python-shell-completion-native-get-completions): New function. + (python-shell-completion-at-point): Use it. + + 2014-12-27 Fabián Ezequiel Gallina + + python.el: Enhance shell user interaction and deprecate + python-shell-get-or-create-process. + * progmodes/python.el (python-shell-get-process-or-error): + New function. + (python-shell-with-shell-buffer): Use it. + (python-shell-send-string, python-shell-send-region) + (python-shell-send-buffer, python-shell-send-defun) + (python-shell-send-file, python-shell-switch-to-shell): Use it. + Add argument MSG to display user-friendly message when no process + is running. + (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD. + (python-shell-make-comint): Rename argument SHOW from POP. + Use display-buffer instead of pop-to-buffer. + (run-python): Doc fix. Return process. + (python-shell-get-or-create-process): Make obsolete. + + 2014-12-27 Fabián Ezequiel Gallina + + * progmodes/python.el (python-shell-buffer-substring): + Handle cornercase when region sent starts at point-min. + + 2014-12-27 Eli Zaretskii + + * language/misc-lang.el (composition-function-table): Add Syriac + characters and also ZWJ/ZWNJ. + See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html + for the details. + + 2014-12-27 Fabián Ezequiel Gallina + + python.el: Fix message when sending region. + * progmodes/python.el (python-shell-send-region): Rename argument + send-main from nomain. Fix message. + (python-shell-send-buffer): Rename argument send-main from arg. + + python.el: Cleanup temp files even with eval errors. + * progmodes/python.el (python-shell-send-file): Make file-name + mandatory. Fix temp file removal in the majority of cases. + + python.el: Handle file encoding for shell. + * progmodes/python.el (python-rx-constituents): Add coding-cookie. + (python-shell--save-temp-file): Write file with proper encoding. + (python-shell-buffer-substring): Add coding cookie for detected + encoding to generated content. Fix blank lines when removing + if-name-main block. + (python-shell-send-file): Handle file encoding. + (python-info-encoding-from-cookie) + (python-info-encoding): New functions. + + 2014-12-27 Michael Albinus + + * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): + Use `tramp-rsh-end-of-line', it ought to be more robust. + + 2014-12-27 Stefan Monnier + + * progmodes/js.el (js-syntax-propertize): "return" can't be divided + (bug#19397). + + 2014-12-27 Michael Albinus + + * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'. + + * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n" + as end-of-line delimeter for passwords, when running on MS Windows. + + 2014-12-27 Stefan Monnier + + * progmodes/sh-script.el (sh-set-shell): Don't change the global value + of indent-line-function (bug#19433). + + 2014-12-27 Fabián Ezequiel Gallina + + Fix line numbers on Python shell. + * progmodes/python.el (python-shell--save-temp-file): Do not + append coding cookie. + (python-shell-send-string): Generalize for + python-shell-send-region. + (python--use-fake-loc): Delete var. + (python-shell-buffer-substring): Cleanup fake-loc logic. + (python-shell-send-region): Remove fake-loc logic, simplify. + + 2014-12-27 Fabián Ezequiel Gallina + + * progmodes/python.el (python-indent-post-self-insert-function): + Make colon to re-indent only for dedenters, handling + multiline-statements gracefully. + + 2014-12-27 Michael Albinus + + * net/tramp.el (tramp-handle-insert-file-contents): + Set `find-file-not-found-functions' in case of errors. (Bug#18623) + + 2014-12-27 Michael Albinus + + * net/tramp-sh.el (tramp-send-command-and-read): New optional + arg MARKER. + (tramp-get-remote-path): Use it. + + 2014-12-27 Stefan Monnier + + * subr.el (redisplay-dont-pause): Mark as obsolete. + + 2014-12-27 Michael Albinus + + * net/tramp.el (tramp-error-with-buffer): Call `message' properly. + (tramp-accept-process-output): Use nil as argument for + `accept-process-output', when there is a gateway prepended. + + * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in + wrong debug buffer. + (tramp-gw-open-connection): Set process coding system 'binary. + (tramp-gw-open-network-stream): Handle HTTP error 403. + + * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in + wrong debug buffer. + (tramp-maybe-open-connection): Set connection property "gateway". + + 2014-12-27 Stefan Monnier + + * subr.el (sit-for): Tweak docstring (bug#19381). + + 2014-12-27 Dmitry Gutov + + * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date' + stage to after `diff-index' (bug#19386). + + 2014-12-27 João Távora + + * textmodes/tex-mode.el (tex-insert-quote): Consider and respect + `electric-pair-mode' (bug#19356). + + 2014-12-27 Dmitry Gutov + + elisp-xref-find: Don't create buffers eagerly. + + * progmodes/elisp-mode.el (elisp--identifier-location): Fold back + into `elisp--company-location'. + (elisp--identifier-completion-table): Rename to + `elisp--identifier-completion-table', and do not include just any + symbols with a property list. + (elisp-completion-at-point): Revert the 2014-12-25 change. + (elisp--xref-identifier-file): New function. + (elisp--xref-find-definitions): Use it. + + * emacs-lisp/find-func.el (find-function-library): New function, + extracted from `find-function-noselect'. + + * progmodes/xref.el (xref-elisp-location): New class. + (xref-make-elisp-location): New function. + (xref-location-marker): New implementation. + + 2014-12-27 Juri Linkov + + * minibuffer.el (minibuffer-completion-help): + Use shrink-window-if-larger-than-buffer in window-height + when temp-buffer-resize-mode is nil. + + * window.el (with-displayed-buffer-window): Remove window-height + from the action alist in the temp-buffer-window-show call + when window-height is handled explicitly afterwards (bug#19355). + + 2014-12-27 Juri Linkov + + Support subdirectories when saving places in dired. + * saveplace.el (toggle-save-place, save-place-to-alist) + (save-places-to-alist, save-place-dired-hook): + Use dired-current-directory instead of dired-directory (bug#19436). + (save-place-dired-hook): Add check for alist to make the new + format future-proof to allow other possible formats. + + 2014-12-26 Fabián Ezequiel Gallina + + python.el: Generate clearer shell buffer names. + * progmodes/python.el (python-shell-get-process-name) + (python-shell-internal-get-process-name): Use `buffer-name`. + (python-shell-internal-get-or-create-process): Simplify. + + 2014-12-26 Dmitry Gutov + + Add basic xref apropos implementation to elisp-mode. + + * progmodes/elisp-mode.el (elisp--xref-find-definitions): + Filter out nil results. + (elisp--xref-find-apropos): New function. + (elisp-xref-find): Use it. + + * progmodes/xref.el (xref--show-xrefs): Use `user-error'. + + 2014-12-25 Filipp Gunbin + + * dired-aux.el (dired-maybe-insert-subdir): + Make dired-maybe-insert-subdir always skip trivial files. + + 2014-12-25 Helmut Eller + Dmitry Gutov + + Consolidate cross-referencing commands. + + Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and + `C-x 5 .' from etags.el to xref.el. + + * progmodes/xref.el: New file. + + * progmodes/elisp-mode.el (elisp--identifier-types): New variable. + (elisp--identifier-location): New function, extracted from + `elisp--company-location'. + (elisp--company-location): Use it. + (elisp--identifier-completion-table): New variable. + (elisp-completion-at-point): Use it. + (emacs-lisp-mode): Set the local values of `xref-find-function' + and `xref-identifier-completion-table-function'. + (elisp-xref-find, elisp--xref-find-definitions) + (elisp--xref-identifier-completion-table): New functions. + + * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in + favor of `xref--marker-ring'. + (tags-lazy-completion-table): Autoload. + (tags-reset-tags-tables): Use `xref-clear-marker-stack'. + (find-tag-noselect): Use `xref-push-marker-stack'. + (pop-tag-mark): Make an alias for `xref-pop-marker-stack'. + (etags--xref-limit): New constant. + (etags-xref-find, etags--xref-find-definitions): New functions. + + 2014-12-25 Martin Rudalics + + * cus-start.el (resize-mini-windows): Make it customizable. + + 2014-12-24 Stephen Leake + + * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE + to (info "(emacs)Contributing"). (Bug#19299) + + 2014-12-24 Martin Rudalics + + * window.el (mouse-autoselect-window-position-1): New variable. + (mouse-autoselect-window-cancel) + (mouse-autoselect-window-select, handle-select-window): + With delayed autoselection select window only if mouse moves after + selecting its frame. + + 2014-12-24 Michael Albinus + + * eshell/esh-ext.el (eshell-find-interpreter): Expand relative + remote file names. (Bug#18782) + + 2014-12-23 Sam Steingold + + * shell.el (shell-display-buffer-actions): New user option. + (shell): Pass it to `pop-to-buffer' instead of hard-coding + `pop-to-buffer-same-window'. + + 2014-12-23 Stefan Monnier + + * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var. + (js-syntax-propertize-regexp): Use it to recognize "slash in + a character class" (bug#19397). + + 2014-12-22 Stefan Monnier + + * completion.el: Use post-self-insert-hook (bug#19400). + (completion-separator-self-insert-command) + (completion-separator-self-insert-autofilling): Remove. + (completion-separator-chars): New var. + (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead + of changing the keymap. + (completion--post-self-insert): New function. + (dynamic-completion-mode): Use it instead of rebinding keys. + (cmpl--completion-string): Rename from completion-string. + (add-completion-to-head, delete-completion): Let-bind it explicitly. + + 2014-12-22 Bozhidar Batsov + + * progmodes/ruby-mode.el (ruby--string-region): Simplify code + by leveraging `syntax-ppss'. + + 2014-12-22 Artur Malabarba + + * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'. + + 2014-12-20 Michael Albinus + + * net/tramp-sh.el (tramp-histfile-override): Add :version. + + 2014-12-20 Teodor Zlatanov + + * net/tramp-sh.el (tramp-histfile-override): Clarify docstring. + + 2014-12-19 Artur Malabarba + + * let-alist.el (let-alist): Enable access to deeper alists by + using dots inside the dotted symbols. + + 2014-12-19 Alan Mackenzie + + Make C++11 uniform init syntax work. + New keywords "final" and "override". + * progmodes/cc-engine.el (c-back-over-member-initializer-braces): + New function. + (c-guess-basic-syntax): Set `containing-sex' and `lim' using the + new function. + * progmodes/cc-fonts.el (c-font-lock-declarations): Check more + carefully for "are we at a declarator?" using + c-back-over-member-initializers. + * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final" + and "override" in the C++ value. + + 2014-12-19 Martin Rudalics + + * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'. + + 2014-12-21 Lars Ingebrigtsen + + * net/nsm.el (nsm-save-host): Don't save the host name twice + (bug#19269). + + 2014-12-18 Sam Steingold + + Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1). + * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'. + (mouse-buffer-menu): Use `mouse-buffer-menu-map'. + * menu-bar.el (menu-bar-buffer-vector): Extract from + `menu-bar-update-buffers'. + (menu-bar-update-buffers): Use `menu-bar-buffer-vector'. + (buffer-menu-open): New user command, bound globally to C-f10, + provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1). + (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to + convert the value returned by `mouse-buffer-menu-map' to a list + acceptable to `popup-menu' for `buffer-menu-open'. + + 2014-12-18 Artur Malabarba + + * let-alist.el (let-alist): Evaluate the `alist' argument only once. + + 2014-12-18 Sam Steingold + + * emacs-lisp/package.el: Avoid compilation warning by declaring + the `find-library-name' function. + (package-activate-1): Fix the `with-demoted-errors' calls: + the first argument must be a string literal. + + 2014-12-18 Martin Rudalics + + Add code for "preserving" window sizes. + * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with + `preserve-size' t. + (dired-mark-pop-up): Preserve size of window showing marked files. + * electric.el (Electric-pop-up-window): + * help.el (resize-temp-buffer-window): Call fit-window-to-buffer + with `preserve-size' t. + * minibuffer.el (minibuffer-completion-help): + Use `resize-temp-buffer-window' instead of `fit-window-to-buffer' + (Bug#19355). Preserve size of completions window. + * register.el (register-preview): Preserve size of register + preview window. + * tmm.el (tmm-add-prompt): Call fit-window-to-buffer + with `preserve-size' t (Bug#1291). + * window.el (with-displayed-buffer-window): Add calls to + `window-preserve-size'. + (window-min-pixel-size, window--preservable-size) + (window-preserve-size, window-preserved-size) + (window--preserve-size, window--min-size-ignore-p): New functions. + (window-min-size, window-min-delta, window--resizable) + (window--resize-this-window, split-window-below) + (split-window-right): Amend doc-string. + (window--min-size-1, window-sizable, window--size-fixed-1) + (window-size-fixed-p, window--min-delta-1) + (frame-windows-min-size, window--max-delta-1, window-resize) + (window--resize-child-windows, window--resize-siblings) + (enlarge-window, shrink-window, split-window): Handle preserving + window sizes. + (adjust-window-trailing-edge): Handle preserving window + sizes. Signal user-error instead of an error when there's no + window above or below. + (window--state-put-2): Handle horizontal scroll bars. + (window--display-buffer): Call `preserve-size' if asked for. + (display-buffer): Mention `preserve-size' alist member in doc-string. + (fit-window-to-buffer): New argument PRESERVE-SIZE. + * textmodes/ispell.el (ispell-command-loop): Suppress horizontal + scroll bar on ispell's windows. Don't count window lines and + don't deal with dedicated windows. + (ispell-show-choices, ispell-help): Let `ispell-display-buffer' + do the window handling. + (ispell-adjusted-window-height, ispell-overlay-window): Remove. + (ispell-display-buffer): New function to reuse, create and fit + window to ispell's buffers. (Bug#3413) + + 2014-12-18 Dmitry Gutov + + * emacs-lisp/package.el (package-activate): Do not re-activate or + reload the dependencies (bug#19390). + + 2014-12-18 Stefan Monnier + + * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode. + (c-update-modeline): + * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode. + * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el. + (c-mode-base-map): Use c-subword-mode. + + 2014-12-18 Eli Zaretskii + + * international/mule-diag.el (describe-font-internal): + Display additional info returned by font-info. + + * linum.el (linum--face-width): Rename from linum--face-height, + and use the new functionality of font-info. + (linum-update-window): Use linum--face-width and frame-char-width, + instead of approximating with height. + + 2014-12-18 Dmitry Gutov + + * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02 + change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405). + + * emacs-lisp/package.el (package-activate-1): Add RELOAD argument + and a docstring. + (package-activate): Call itself on dependencies on PACKAGE with + the same FORCE argument. Pass FORCE as RELOAD into + `package-activate-1' (bug#19390). + + 2014-12-17 Sam Steingold + + * emacs-lisp/package.el (package--list-loaded-files): + Handle `(nil ...)' elements in `load-history'. + + 2014-12-17 Teodor Zlatanov + + * net/tramp-sh.el (tramp-histfile-override): New variable. + (tramp-open-shell, tramp-maybe-open-connection): Use it. + + 2014-12-17 Dmitry Gutov + + * vc/vc.el: Improve `dir-status-files' description. + + * emacs-lisp/package.el (package--list-loaded-files): Don't call + file-truename on load-history elements (bug#19390). + + 2014-12-16 Nicolas Petton + + * emacs-lisp/seq.el: New file. + + 2014-12-16 Stefan Monnier + + * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time + is 0 and there is no input pending. + + 2014-12-15 Juri Linkov + + * replace.el (query-replace-read-from): Use query-replace-compile-replacement + only on the return value (bug#19383). + + 2014-12-15 Juri Linkov + + * isearch.el (isearch-lazy-highlight-search): Extend the bound of + the wrapped search by the length of the search string to be able + to lazy-highlight the whole search string at point (bug#19353). + + 2014-12-15 Lars Magne Ingebrigtsen + + * net/shr.el (shr-fold-text): Don't bug out on zero-length text. + + 2014-12-14 Alan Mackenzie + + * cus-start.el (all): Add fast-but-imprecise-scrolling. + + 2014-12-14 Artur Malabarba + + * let-alist.el: Add lexical binding. + + 2014-12-14 Steve Purcell (tiny change) + + * emacs-lisp/package.el (package-menu-mode): Use an extra column + for the "Version" column, to accomodate date-and-time-based versions. + + 2014-12-14 Cameron Desautels + + * cus-edit.el (custom-unsaved-options): New function, extracted + from `customize-unsaved'. + (custom-unsaved): Use it. + (custom-prompt-customize-unsaved-options): New function. + (Bug#19328) + + 2014-12-14 Dmitry Gutov + + * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage. + + 2014-12-14 Dmitry Gutov + + Move ASYNC argument to the `diff' VC command to the fifth + position, for better compatibility with existing third-party code, + and document it. + + * vc/vc.el (vc-diff-internal): Pass `async' argument to the + backend `diff' command in the last position. + + * vc/vc-svn.el (vc-svn-diff): + * vc/vc-src.el (vc-src-diff): + * vc/vc-sccs.el (vc-sccs-diff): + * vc/vc-rcs.el (vc-rcs-diff): + * vc/vc-mtn.el (vc-mtn-diff): + * vc/vc-hg.el (vc-hg-diff): + * vc/vc-git.el (vc-git-diff): + * vc/vc-dav.el (vc-dav-diff): + * vc/vc-cvs.el (vc-cvs-diff): + * vc/vc-bzr.el (vc-bzr-diff): + * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end. + + 2014-12-14 Paul Eggert + + * emacs-lisp/cconv.el (cconv--analyze-use): + Rename from cconv--analyse-use. + (cconv--analyze-function): Rename from cconv--analyse-function. + (cconv-analyze-form): Rename from cconv-analyse-form. + + 2014-12-13 Andreas Schwab + + * net/shr.el (shr-next-link): Don't error out at eob. + + 2014-12-05 Nicolas Richard + + * isearch.el (isearch-open-necessary-overlays): Open overlay + ending at point (bug#19333). + + 2014-12-13 Lars Magne Ingebrigtsen + + * net/shr.el (shr-fold-text): New function. + (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long + alt/title texts. + (shr-fold-text): Inhibit state from being altered. + + * files.el (directory-files-recursively): Really check whether + files are symlinks. + (directory-name-p): New function. + (directory-files-recursively): Use it. + + 2014-12-13 Artur Malabarba + + * emacs-lisp/package.el (package--list-loaded-files): New function + to list files in a given directory which correspond to already + loaded files. + (package-activate-1): Reload files given by `package--list-loaded-files'. + Fix bug#10125, bug#18443, and bug#18448. + + 2014-12-13 Eric S. Raymond + + * vc/vc-svn.el (vc-svn-diff): Fix bug #19312. + + 2014-12-13 Michael Albinus + + * simple.el (password-word-equivalents): Add "passcode", used for + numeric secrets like PINs or RSA tokens. + + 2014-12-13 Michael Albinus + + * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in + order to determine `tramp-own-remote-path'. + + 2014-12-13 Fabián Ezequiel Gallina + + * progmodes/python.el (python-shell-parse-command): + Quote `python-shell-interpreter`. (Bug#19289) + + 2014-12-12 Stefan Monnier + + * progmodes/python.el (python-indent-line): Use `noindent' in strings. + (python-indent-levels): Document extra value. + (python-indent-calculate-indentation): Return `noindent' in strings. + (python-indent-post-self-insert-function) + (python-indent-calculate-levels): Handle new value. + + 2014-12-12 Lars Magne Ingebrigtsen + + * net/network-stream.el (network-stream-open-starttls): No need to + check for the availability of `gnutls-available-p'. + + * files.el (directory-files-recursively): Don't follow symlinks to + other directories. + + 2014-12-12 Eric S. Raymond + + * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el: + * vc/vc.el: latest-on-branch-p is no longer a public method. + + * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el: + * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el: + Remove `rollback' method, to be replaced in the future by uncommit. + + 2014-12-11 Michael Albinus + + * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case + that there is empty output. + + 2014-12-11 Stefan Monnier + + * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default. + (eldoc-mode, eldoc-schedule-timer): Adjust to new default. + + 2014-12-10 Artur Malabarba + + * let-alist.el: Add new package and macro. + + 2014-12-10 Eric S. Raymond + + * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el: + * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles, + it's a shoot-self-in-foot archaism. Workfiles are always kept. + + 2014-12-10 Rasmus Pank Roulund + + * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing + trouble with ls over ftp. These flags result in ls returning no + output, causing Tramp-breakage. (bug#19192) + + 2014-12-10 Andreas Schwab + + * files.el (file-tree-walk): Use file-name-as-directory unconditionally. + + 2014-12-10 Lars Magne Ingebrigtsen + + * files.el (directory-files-recursively): + Use `file-name-all-completions' instead of `directory-files' for + greater speed. + + * net/shr.el (shr-tag-object): Don't bug out on text elements in + . + + 2014-12-09 Bozhidar Batsov + + * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile + and Puppetfile. + (ruby-toggle-string-quotes): New command that allows you to quickly + toggle between single-quoted and double-quoted string literals. + + 2014-12-09 Eric S. Raymond + + * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument + list, avoids problems witt names containing hyphens. + + 2014-12-09 Wilson Snyder + + Sync with upstream verilog-mode revision aa4b777. + * progmodes/verilog-mode.el (verilog-mode-version): Update. + (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re) + (verilog-set-auto-endcomments): Automatically comment property/ + endproperty blocks to match other similar blocks like sequence/ + endsequence, function/endfunction, etc. Reported by Alex Reed. + (verilog-set-auto-endcomments): Fix end comments for functions of + type void, etc. Detect the function- or task-name when + auto-commenting blocks that lack an explicit portlist. + Reported by Alex Reed. + (verilog-nameable-item-re): Fix nameable items that can have an + end-identifier to include endchecker, endgroup, endprogram, + endproperty, and endsequence. Reported by Alex Reed. + (verilog-preprocessor-re, verilog-beg-of-statement): + Fix indentation of property/endproperty around pre-processor + directives. Reported by Alex Reed. + (verilog-label-be): When auto-commenting a buffer, consider + auto-comments on all known keywords (not just a subset thereof). + Reported by Alex Reed. + (verilog-beg-of-statement): Fix labeling do-while blocks, bug842. + Reported by Alex Reed. + (verilog-beg-of-statement-1, verilog-at-constraint-p): + Fix hanging with many curly-bracket pairs, bug663. + (verilog-do-indent): Fix electric tab deleting form-feeds. + Note caused by indent-line-to deleting tabls pre 24.5. + (verilog-auto-output, verilog-auto-input, verilog-auto-inout) + (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes. + (verilog-read-always-signals, verilog-auto-sense-sigs) + (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch, + bug844. Reported by Greg Hilton. + + 2014-12-09 Alex Reed (tiny change) + + * progmodes/verilog-mode.el (verilog-no-indent-begin-re): + Fix `verilog-indent-begin-after-if' nil not honoring 'forever', + 'foreach', and 'do' keywords. + (verilog-endcomment-reason-re, verilog-beg-of-statement): + Fix labeling do-while blocks, bug842. + (verilog-backward-token): Fix indenting sensitivity lists with + named events, bug840. + + 2014-12-09 Reto Zimmermann + + Sync with upstream vhdl mode v3.36.1. + * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update. + (vhdl-compiler-alist): Anchor all error regexps. + (vhdl-compile-use-local-error-regexp): Change default to nil. + (vhdl-asort, vhdl-anot-head-p): Remove. + (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify. + Remove optional argument of vhdl-aget and update all callers. + (vhdl-import-project): Also set `vhdl-compiler'. + + 2014-12-09 Lars Magne Ingebrigtsen + + * files.el (find-files): New function. + + * net/shr.el (shr-dom-print): Don't print comments. + (shr-tag-svg): Give inline SVG images the right type. + + * net/eww.el (eww-update-header-line-format): Mark valid/invalid + certificates in the header line. + (eww-invalid-certificate, eww-valid-certificate): New faces. + + 2014-12-09 Fabián Ezequiel Gallina + + * progmodes/python.el (inferior-python-mode): + Set `comint-prompt-read-only` to `t` only locally. + + 2014-12-08 Lars Magne Ingebrigtsen + + * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'. + (nsm-format-certificate): Include more data about the connection. + (nsm-query): Fill the text to that it looks nicer. + (nsm-check-protocol): Also warn if using SSL3 or older. + + 2014-12-08 Stefan Monnier + + * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'. + + * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'. + + * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg. + + * info.el (Info-mode-map): Remove left-over binding. + + * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib. + (avl-tree--root): Remove redundant defsetf. + + 2014-12-08 Lars Magne Ingebrigtsen + + * net/nsm.el (network-security-level): Remove the detailed + description, which was already outdated, and refer the users to + the manual. + (nsm-check-protocol): Check for weak Diffie-Hellman prime bits + (bug#19153). + + 2014-12-06 Andrey Kotlarski + + * net/eww.el (eww-buffers-mode): New major mode. + (eww-list-buffers, eww-buffer-select, eww-buffer-show-next) + (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show): + New commands/functions (bug#19131). + + 2014-12-08 Lars Magne Ingebrigtsen + + * net/gnutls.el (gnutls-negotiate): Ignore files found via + 'file-name-handler-alist' since the gnutls library can't use those + (bug#15866). + + 2014-12-08 Dmitry Gutov + + * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files + when FILES is non-nil (bug#19304). + + 2014-12-08 Eric S. Raymond + + * vc/vc-arch.el: Move to obsolete directory so a test framework + won't trip over bit-rot in it. There has been no Arch snapshot + for nine years. + + 2014-12-07 Lars Magne Ingebrigtsen + + * net/eww.el (eww-follow-link): Revert prefix behaviour to + previous behavior. + (eww-copy-page-url): Add doc string. + + 2014-12-07 Ivan Shmakov + + * net/eww.el (eww): Move history recording here... + (eww-browse-url): ... from here (bug#19253). + + * net/eww.el (eww-browse-url): Use generate-new-buffer (was: + iterating over possible buffer names.) + + 2014-12-07 Lars Magne Ingebrigtsen + + * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086). + (eww-current-buffer): Compilation fix for bug#18550 patch. + + 2014-12-07 Ivan Shmakov + + * net/eww.el (eww-list-histories): Restore the history in the + correct buffer (bug#18550). + + 2014-12-07 Lars Magne Ingebrigtsen + + * net/eww.el (eww-bookmark-prepare): Display URLs in first by + displaying shortened titles first (bug#16398). + + 2014-12-07 Tom Willemse (tiny change) + + * progmodes/python.el: Recognize docstrings. + (python-docstring-at-p, python-font-lock-syntactic-face-function): + New functions. + (python-mode): Use them. + + 2014-12-06 Ulf Jasper + + * net/newst-treeview.el (newsticker--treeview-list-add-item) + (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3. + (newsticker--treeview-create-groups-menu) + (newsticker--treeview-create-tree-menu): Remove. + (newsticker--treeview-tree-open-menu): New. + (newsticker-treeview-tree-click): Pass event to + `newsticker-treeview-tree-do-click'. + (newsticker-treeview-tree-do-click): Open treemenu on mouse-3. + + 2014-12-05 Juri Linkov + + * comint.el (comint-history-isearch-search) + (comint-history-isearch-wrap): Use field-beginning instead of + comint-line-beginning-position. + (comint-send-input): Go to the end of the field instead of the end + of the line to accept whole multi-line input. + http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html + + 2014-12-05 Juri Linkov + + * minibuffer.el (minibuffer-completion-help): + Compare selected-window with minibuffer-window to check whether + completions should be displayed near the minibuffer. (Bug#17809) + http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html + + 2014-12-05 Michael Albinus + + * vc/vc-mtn.el (vc-mtn-root): + * vc/vc-svn.el (vc-svn-registered): Make FILE absolute. + + 2014-12-05 Stefan Monnier + + * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning + of the whole pipe when indenting an opening keyword after a |. + Generalize this treatment to opening keywords like "while" (bug#18031). + + 2014-12-05 Stefan Monnier + + * simple.el (newline): Place the hook buffer-locally, + to make sure it's first. + + * progmodes/prog-mode.el (prettify-symbols--compose-symbol): + Fix handling of symbols with different syntax at beginning/end or with + symbol rather than word syntax. + + 2014-12-05 Eli Zaretskii + + * simple.el (line-move): If noninteractive, call line-move-1, not + forward-line, since the former is compatible with line-move-visual + both in terms of the column to which it moves and the return + value. (Bug#19211) + + 2014-12-05 Stefan Monnier + + * vc/ediff-init.el (ediff-odd-p): Remove. + (ediff-background-face): Use cl-oddp instead. + (ediff-buffer-live-p): Make it a defsubst. + + * tooltip.el (tooltip-region-active-p): Remove. + + * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p) + (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline. + + * fringe.el (fringe-bitmap-p): Make it a plain function. + + * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros. + (class-p, generic-p, eieio-object-p, class-abstract-p): + Make them defsubst, so as to avoid corner case problems where + the arg might be evaluated in the condition-case, or it can't be passed + to higher-order functions like `cl-some'. + + 2014-12-05 Nicolas Richard + + * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268) + and remove old menu-related code. + + 2014-12-05 Lars Magne Ingebrigtsen + + * net/eww.el (eww-display-pdf): Let mailcap determine how to + display PDF files (bug#19270). + + 2014-12-05 Juri Linkov + + Compare with the most recent window by default. + * vc/compare-w.el (compare-windows-get-window-function): New defcustom. + (compare-windows-get-recent-window) + (compare-windows-get-next-window): New functions. + (compare-windows, compare-windows-sync-default-function): + Use `compare-windows-get-window-function' instead of `next-window'. + (compare-windows): Add diff/match messages with region boundaries. + (Bug#19170) + + 2014-12-04 Stefan Monnier + + * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'. + + 2014-12-04 Lars Magne Ingebrigtsen + + * net/shr.el (shr--extract-best-source): Ignore non-text children. + + 2014-12-04 Eli Zaretskii + + Implement copying of a buffer portion while preserving visual order. + * simple.el (bidi-directional-controls-chars) + (bidi-directional-non-controls-chars): New variables. + (squeeze-bidi-context-1, squeeze-bidi-context) + (line-substring-with-bidi-context) + (buffer-substring-with-bidi-context): New functions. + + * files.el (file-tree-walk): Doc fix. + + 2014-12-04 Rupert Swarbrick (tiny change) + Rüdiger Sonderfeld + + * autoinsert.el (auto-insert-alist): Update C/C++ header and + program support to match more extensions. Replace non-alnum + characters when generating include guards (headers) and check for + more extensions when generating includes (programs) + (bug#19254). + + 2014-12-03 Eric S. Raymond + + * files.el (file-tree-walk): Fix docstring. + + 2014-12-03 Karl Fogel + + Fix bug whereby saving files hung in VC hook. + + Saving a buffer visiting a file under SVN control would hang if + the remote repository were unreachable, because the VC hooks tried + to run "svn status -u" on the file, where the "-u" tells svn to + get update information from the remote repository. + http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html + + * vc/vc-svn.el (vc-svn-state): Remove optional `localp' + argument and always pass "-v" to "svn status", never "-u". + + 2014-12-03 Stefan Monnier + + * emacs-lisp/inline.el: Fix up copyright header. + (inline-quote, inline-const-p, inline-const-val, inline-error): + Silence compiler warnings. + (inline-letevals): Fix edebug spec. + (inline--testconst-p): Consider lambda expressions as const-p. + (inline--getconst-val): Use inline--testconst-p. + + * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer' + and change default to stay in the minibuffer when called from + the minibuffer (bug#19250). + (lazy-completion-table): Use this new argument to preserve the + old behavior. + + * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on + incorrect lexical elements (bug#19250). + + 2014-12-03 A. N. Other + + * files.el (file-tree-walk): Lisp translation of ANSI ftw(3). + + 2014-12-02 Glenn Morris + + * whitespace.el (whitespace-big-indent-regexp): Add :version. + + 2014-12-02 Eric S. Raymond + + * subr.el (filter): New macro. Because it's just silly for a Lisp + not to have this in 2014. And VC needs it. + + * vc.el: All backends: API simplification: Abolish dir-status. + It's replaced by dir-status-files. + + * vc.el: All backends: API simplification: Remove 4th + 'default-state' argument from vc-dir-status files and its backend + methods - no backend method ever set it. It was used only in the + fallback method to to set a default of 'up-to-date, though a + convoluted call chain obscured this. + + * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete. + + * vc.el (vc-expand-dirs): Now takes a second BACKEND argument, + improving behavior on directories using multiple file-oriented VCSes. + + * vc/vc.el: All backends: API simplification; clear-headers + is no longer a public method. It is now local to the one place + it's used, in the RCS steal-lock method. + + 2014-12-01 Eric S. Raymond + + * vc/vc.el: In all backends: API simplification; could-register + is no longer a public method. (vc-cvs.el still has a private + implementation.) + + * vc/vc.el: In all backends: API cleanup; the backend diff method + takes an explicit async flag. This eliminates a particularly ugly + global. + + * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method. + VC randomly/unpredictably fails without it; cause not yet established. + + 2014-12-01 Stefan Monnier + + Merge some of the differences from the standalone CC-mode. + The main change is to only use the `category' text-property only when + available. For that many calls are changed to use c-get-char-property, + c-next-single-property-change, c-sc-scan-lists, + c-sc-parse-partial-sexp, c-unmark-<->-as-paren. + + * progmodes/cc-mode.el (c-just-done-before-change): New var. + (c-basic-common-init): Initialize it. + (c-common-init): Only use mode-require-final-newline when available. + (c-before-change): Check and set c-just-done-before-change. + (c-after-change): Re-set c-just-done-before-change. + (c-advise-fl-for-region): New macro. + (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change) + (font-lock-after-change-function, jit-lock-after-change): + Advise if needed. + + * progmodes/cc-langs.el (c-modified-constant): New lang var. + (c-known-type-key): Don't make a list just to throw it away. + + * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state): + Handle the case where categories are not available. + (c-record-parse-state-state, c-replay-parse-state-state): + Handle marker values. + (c-before-change-check-<>-operators): Look for the `syntax-table' + property rather than for the corresponding `category'. + (c-looking-at-decl-block): Remove unused var + `c-disallow-comma-in-<>-arglists'. + (c-forward-<>-arglist-recur): Remove unused var + `orig-record-found-types'. + + * progmodes/cc-defs.el (c-version): Bump up to 5.33. + (c-use-category): New const. + (c-next-single-property-change): New macro. + (c-region-is-active-p): Prefer region-active-p when available. + (c-search-backward-char-property): Fix old min/max typo; probably + a copy/paste error. + (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren): + Turn them into macros that obey c-use-category. + (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1) + (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1) + (c-sc-scan-lists, c-sc-parse-partial-sexp) + (c-looking-at-non-alphnumspace): New macros. + (c-sc-parse-partial-sexp-no-category): New function. + (c-emacs-features): Add `category-properties' element. + + * progmodes/cc-cmds.el (c-forward-into-nomenclature) + (c-backward-into-nomenclature): Use cc-subword if subword-mode is + not available. + (c-beginning-of-defun, c-end-of-defun, c-mark-function) + (c-indent-line-or-region): Use c-region-is-active-p. + + * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables) + (cc-bytecomp-original-functions, cc-bytecomp-original-properties) + (cc-bytecomp-loaded-files): Re-set each time the file is loaded. + (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete) + (cc-bytecomp-obsolete-fun): Delete unused functions. + + * progmodes/cc-align.el (c-lineup-respect-col-0): New function. + + 2014-12-01 Lars Magne Ingebrigtsen + + * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the + dom.el changes. + + 2014-12-01 Stefan Monnier + + * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the + current "project" rather than just the current directory. + * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory + the file names make sense. + + * vc/smerge-mode.el (smerge-swap): New command. + + * vc/diff-mode.el (diff-kill-applied-hunks): New command. + + 2014-12-01 Ulf Jasper + + * net/newst-treeview.el (newsticker--treeview-item-show): + Check window liveliness before measuring its width. + + * net/newst-backend.el (newsticker--get-news-by-url-callback): + Pass correct status to `newsticker--sentinel-work'. + (newsticker--sentinel-work): Use "newsticker--download-error" as + guid in order to prevent multiple "Could not download..." + messages. (Bug#19166) + + 2014-12-01 Ivan Shmakov + + * net/eww.el (eww-render): Call `eww-after-render-hook' in the + correct buffer (bug#19225). + + 2014-12-01 Lars Magne Ingebrigtsen + + * net/nsm.el (network-security-level): Change the default to `medium'. + + * net/eww.el (eww): Leave point in a place that doesn't cause + scrolling when displaying "Loading...". + + 2014-12-01 Eric S. Raymond + + * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge' + backend method of RCS/CVS/SVN is now 'merge-file', to contrast with + 'merge-branch'. Prompting for merge revisions is pushed down to + the back ends; this fixes a layering violation that caused bad + behavior with SVN. + + * vc/vc.el, vc-hooks.el: All backends: API simplification; + vc-stay-local-p and repository-hostname are no longer public + methods. Only the CVS and SVN backends used these, and the SVN + support was conditioned out because svn status -v is too slow. + The CVS back end retains this machinery and the vc-stay-local + configuration variable now only affects it. + + 2014-12-01 Stefan Monnier + + * emacs-lisp/inline.el: New file. + + 2014-12-01 Eric S. Raymond + + * vc/vc.el, vc-hooks.el: All backends: API simplification; + vc-state-heuristic is no longer a public method, having been + removed where it is redundant, unnecessary, or known buggy. + This eliminated all backends except CVS. Eliminates bug#7850. + + * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el: + Eliminate vc-mistrust-permissions. It was only relevant to the + RCS and SCCS back ends and defaulted to t. Code now always + mistrusts permissions - by actual measurement the effect on + performance is negligible. As a side effect bug#11490 is now + irrelevant. + + * vc/vc.el, vc-hooks.el: All backends: API simplification; + vc-workfile-unchanged-p is no longer a public method (but the RCS + and SCCS back ends retain it as a private method used in state + computation). This method was redundant with vc-state and usually + implemented as a trivial call to same. Fixes the failure mode + described in bug#694. + + * vc/vc.el: All backends: API simplification; init-revision is + gone, and vc-registered functions no longer take an + initial-revision argument. + + 2014-11-29 Glenn Morris + + * vc/vc-src.el (vc-src, vc-src-diff-switches) + (vc-src-master-templates): Fix :version tags. + + 2014-11-29 Paul Rankin (tiny change) + + * outline.el (outline-move-subtree-down): Refactor and improve code. + + 2014-11-29 Stephen Berman + Stefan Monnier + + * outline.el (outline-move-subtree-down): Make sure we can move + forward to find the end of the subtree and the insertion point + (bug#19102). + + 2014-11-29 Fabián Ezequiel Gallina + + * progmodes/python.el (python-shell-completion-setup-code): + Use __builtin__ module (or builtins in Python 3) and catch all errors + when importing readline and rlcompleter. + + 2014-11-29 Stephen Berman + + * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187). + (todo-revert-buffer): New function. + (todo-modes-set-1): Use it as the buffer-local value of + revert-buffer-function. + + 2014-11-29 Stephen Berman + + * calendar/todo-mode.el (todo-mode): If called interactively, just + display a message saying to call todo-show to enter Todo mode + (Bug#19112). + + 2014-11-29 Dmitry Gutov + + * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files. + (Bug#18579) + + * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored + files. (Bug#18579) + + 2014-11-29 Michael Albinus + + * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for + remote `buffer-file-name'. + + 2014-11-29 Leo Liu + + * calendar/diary-lib.el (calendar-mark-1): Fix thinko. + + 2014-11-29 Fabián Ezequiel Gallina + + Set PYTHONUNBUFFERED on shell startup. + + * progmodes/python.el (python-shell-unbuffered): New var. + (python-shell-calculate-process-environment): Use it. + + 2014-11-29 Michael Albinus + + * net/tramp.el (tramp-action-password): Clean password on subsequent + attempts even if there was no wrong password indication. (Bug#19047) + + * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as + fallback. + (tramp-open-connection-setup-interactive-shell): No need to check + for nil as `tramp-get-remote-locale' return value. + + 2014-11-29 Eli Zaretskii + + * vc/vc-git.el (vc-git-command, vc-git--call): + Bind coding-system-for-read and coding-system-for-write to + vc-git-commits-coding-system. + (vc-git-previous-revision): Use "~1" instead of "^", since the + latter is a special character for MS-Windows system shells. + + 2014-11-29 Michael Albinus + + Improve XEmacs compatibility. + + * net/tramp.el (tramp-autoload-file-name-handler): + Wrap `temporary-file-directory' by `symbol-value', it doesn't + exist in XEmacs. + (tramp-read-passwd): Don't use `with-timeout-suspend' and + `with-timeout-unsuspend' if they don't exist, like in XEmacs. + (tramp-time-less-p, tramp-time-subtract): Remove functions. + (tramp-handle-file-newer-than-file-p, tramp-time-diff): + * net/tramp-adb.el (tramp-adb-ls-output-time-less-p): + * net/tramp-cache.el (tramp-get-file-property): + * net/tramp-smb.el (tramp-smb-handle-insert-directory): + Use `time-less-p' and `time-subtract, respectively. + + * net/tramp-adb.el (top): Do not require time-date.el. + + * net/tramp-compat.el (top): Require time-date.el for XEmacs. + + * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell): + Check, whether `utf-8' is a valid coding system. + + 2014-11-29 Eli Zaretskii + + * vc/vc.el (vc-retrieve-tag): Doc fix. + + 2014-11-28 Stefan Monnier + + * simple.el (execute-extended-command--shorter): Fix the "M-p" case + (bug#19152). + + 2014-11-28 Martin Rudalics + + Fix two issues around help-window-select. (Bug#11039) (Bug#19012) + * help.el (help-window-old-frame): New variable. + (help-window-select): Default to nil (Bug#11039). + Rewrite doc-string. + (help-window-setup): When the help window appears on another + frame and `help-window-select' is non-nil, give that frame input + focus too (Bug#19012). + (with-help-window): Store selected frame in + help-window-old-frame. + + 2014-11-28 Ulf Jasper + + * net/newst-treeview.el (newsticker--treeview-load): Take care of + nil value for `newsticker-groups-filename'. + + 2014-11-28 Daiki Ueno + + * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region) + (epa-sign-region, epa-encrypt-region): + Use `epg-context-set-{passphrase,progress}-callback', instead of + `setf'. This partially reverts commit 9e48a95c (bug#19150). + Reported by José A. Romero L. + + 2014-11-27 Lars Magne Ingebrigtsen + + * net/eww.el (eww-restore-history): + Bind `inhibit-modification-hooks' instead of `after-change-functions'. + + 2014-11-27 Ulf Jasper + + * net/newst-backend.el (newsticker--parse-atom-1.0): + Handle embedded (x)html in summary node. + + 2014-11-27 Sam Steingold + + * menu-bar.el (menu-bar-open): When everything else fails, + use (mouse-menu-bar-map). + + 2014-11-27 Ulf Jasper + + * net/newst-treeview.el (newsticker-groups-filename): + Change default value to nil. Point out that variable is obsolete in doc + string. + (newsticker--treeview-load): Change wording of the questions the + user is asked when `newsticker-groups-filename' is found to be + used and we offer to read and remove the groups file. (Bug#19165) + + 2014-11-27 Lars Magne Ingebrigtsen + + * net/eww.el (eww): Record the new URL immediately, so that if the + HTTP fetch fails, we have the right URL in the buffer. + (eww-process-text-input): Don't shorten the input field if + deleting at the last character (bug#19085). + (eww-restore-history): Inhibit change functions while restoring + the history. + (eww-process-text-input): Fix deletion at the start of the field, too. + (eww-mode): Revert mistanken removal of `buffer-disable-undo'. + (eww-process-text-input): Try to keep track of the size more reliably. + + * dom.el (dom-pp): New function. + + 2014-11-27 Eli Zaretskii + + * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry): + Don't assume --long is the default for "bzr log", always specify + it explicitly, in case the user defined an alias for 'log' that + uses some other format. + + 2014-11-27 Fabián Ezequiel Gallina + + * progmodes/python.el (python-eldoc--get-doc-at-point): + Strip shell output before returning. (bug#18794) + + 2014-11-27 Dmitry Gutov + + Fix indentation before `!=' and after `+='. Originally reported + in https://github.com/mooz/js2-mode/issues/174. + * progmodes/js.el (js--indent-operator-re): Make assignments and + (in)equality operator a separate case. + (js--continued-expression-p): Escape the second `+' in the regexp. + + 2014-11-27 Stefan Monnier + + * window.el (handle-select-window): Deactivate shift-region (bug#19003). + + 2014-11-26 Lars Magne Ingebrigtsen + + * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate + when querying about new certificates. + + * net/shr.el (shr-make-table-1): dom.el changes for table rendering. + + * dom.el (dom-by-tag): Use `equal' for comparisons so that tags + can be strings. + (dom-elements): Protect against non-text nodes. + (dom-non-text-children): New function. + + * net/eww.el (eww-tag-title): Use `dom-text'. + + 2014-11-26 Sam Steingold + + * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy. + + 2014-11-26 Lars Magne Ingebrigtsen + + * net/eww.el (eww-highest-readability): More dom.el fixes. + + 2014-11-26 Ulf Jasper + + * net/newst-backend.el (newsticker--parse-generic-items): + Take care of UIDs when adding elements to cache. + + 2014-11-26 Alan Mackenzie + + Remove spurious reference to symbol category_properties. + * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here. + + 2014-11-26 Lars Magne Ingebrigtsen + + * net/eww.el: Use the new dom.el accessors throughout. + + * net/shr.el: Ditto. + + * dom.el: New file. + + 2014-11-26 Glenn Morris + + * arc-mode.el (archive-visit-single-files): Add :version. + + 2014-11-25 Lars Magne Ingebrigtsen + + * net/nsm.el (nsm-format-certificate): Don't bug out on missing + elements. + (nsm-warnings-ok-p): The new version of this function always + returned nil when everything was OK. + + 2014-11-25 Teodor Zlatanov + + * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM. + + * net/nsm.el (nsm-check-tls-connection, nsm-save-host) + (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'. + + 2014-11-20 Nicolas Richard + + * emacs-lisp/byte-run.el (function-put): Match argument names to + docstring. + + 2014-11-24 Sam Steingold + + * vc/vc-hooks.el (vc-directory-exclusion-list): + Fix a trivial typo (bug#19171). + + 2014-11-24 Stefan Monnier + + * vc/vc-hooks.el (vc-state-base-face): Don't override + mode-line-inactive. + + 2014-11-24 Lars Magne Ingebrigtsen + + * net/eww.el (eww-set-character-encoding): Use `read-coding-system'. + (eww-process-text-input): Inhibit read only so that input fields + don't get shortened (bug#19085). + + 2014-11-24 Leo Liu + + * emacs-lisp/macroexp.el (macroexp-let2*): New macro. + + * window.el (with-temp-buffer-window) + (with-current-buffer-window, with-displayed-buffer-window): + * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): + * emacs-lisp/cl-lib.el (substring): + * emacs-lisp/cl-extra.el (cl-getf): Use it. + + 2014-11-24 Eli Zaretskii + + * isearch.el (isearch-update): Don't assume + pos-visible-in-window-p will return nil when point is hscrolled + out of view. (Bug#19157) + + 2014-11-20 Andrey Kotlarski + + * net/eww.el (eww-browse-url): Optionally create new eww buffer. + (eww-follow-link): Follow in new buffer in case of prefix + argument, open externally with double prefix (bug#19130). + + 2014-11-23 Lars Magne Ingebrigtsen + + * net/eww.el (eww-display-html): Decode the document-defined charset. + (eww): Pop to the *eww* buffer immediately after executing the + `M-x eww' command to avoid having buffers pop up later. + (eww-display-html): Don't pop the *eww* buffer. + (eww-display-raw): Ditto. + (eww-display-image): Ditto. + (eww-follow-link): Make going to #targets in the page work again. + + 2014-11-23 Ivan Shmakov + + * net/eww.el (eww-suggest-uris): New variable. + (eww-suggested-uris): New function. + (eww): Default to URL under point. + (eww-links-at-point): New function. + + 2014-11-20 Mark Oteiza (tiny change) + + * net/eww.el (eww-add-bookmark): Fix bookmark titles. + + 2014-11-17 Mark Oteiza (tiny change) + + * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link. + + 2014-11-23 Kenjiro Nakayama + + * net/eww.el (eww-set-character-encoding): New command and keystroke. + (eww-display-raw): Use it (bug#16225). + + 2014-11-23 Lars Magne Ingebrigtsen + + * net/nsm.el (network-security-level): Rename from + `nsm-security-level' and documented. + + * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and + we're sending a password. + + * net/nsm.el: New file that implements a Network Security Manager. + + * net/network-stream.el (open-network-stream): Add a new + :warn-unless-encrypted parameter. + (network-stream-open-plain): Allow warning unless encrypted. + (network-stream-open-starttls): Call the Network Security Manager. + (network-stream-open-tls): Ditto. + + 2014-11-23 Leo Liu + + * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary) + (calendar-chinese-to-absolute-for-diary) + (calendar-chinese-mark-date-pattern, diary-chinese-anniversary): + Handle leap months in Chinese calendar. (Bug#18953) + + 2014-11-22 Alan Mackenzie + + Fix error with `mark-defun' and "protected:" in C++ Mode. + * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a + return code of (label) from c-beginning-of-decl-1. (Bug#19134) + + 2014-11-22 Ulf Jasper + + * net/newst-backend.el (newsticker--sentinel-work): + Tell `libxml-parse-xml-region' to discard comments. (Bug#18787) + + 2014-11-22 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-start-file-process) + (tramp-sh-handle-process-file): Propagate `process-environment'. + + * vc/vc-hg.el (vc-hg-state): No special handling for remote files; + Tramp propagates environment variables now. + + 2014-11-22 Eric S. Raymond + + * vc/vc-filewise.el: New file to isolate code used only by the + file-oriented back ends (SCCS/RCS/CVS/SRC) which should not + live in vc.el and certainly not in vc-hooks.el. + + * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name. + This is preparatory to isolating all the 'master' functions + used only by the file-oriented back ends. With this done first, + the substantive diffs will be easier to read. + + 2014-11-21 Rüdiger Sonderfeld + + * play/morse.el (nato-alphabet): Mark URL in docstring in a way + that is recognized by `help-mode'. + + 2014-11-21 Stefan Monnier + + * desktop.el (desktop-create-buffer): Use activate-mark to set + `mark-active' (bug#19058). + + 2014-11-21 Eric S. Raymond + + * vc/vc-src.el (vc-src-state): Fix bug that produced spurious + nil state. + + 2014-11-21 Eli Zaretskii + + * vc/vc.el (vc-deduce-fileset): Support invocation from + *vc-change-log* buffer. (Bug#19084) + + 2014-11-13 Matthew Leach + + * arc-mode.el (archive-visit-single-files): New. + (archive-mode): Visit file if archive contains a single file. + (Bug#1702) + + 2014-11-21 Ulrich Müller + + * vc/vc.el: Fix a typo in the commentary. + + 2014-11-20 Eric S. Raymond + + * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more + testing and a real log-view mode. + + * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el: + * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el: + * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend + checkout methods; where it matters (which is only in SCCS and RCS) + files are always checked out editable. This may actually have + been dynamically true already - it looks like the vc-next-action + code evolved past visiting the other case. Tested with RCS. + + * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el: + * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el: + * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev + argument from the backend checkin methods. Only the RCS, SCCS, + and CVS back ends tried to do anything with it, and that code was + never exercised. Chiseling away the cruft of decades... + + 2014-11-19 Lars Magne Ingebrigtsen + + * net/eww.el (eww-render): Remove a no-op :title setting. + + 2014-11-19 Ivan Shmakov + + * net/eww.el (eww-history-limit): New variable. + (eww-save-history): Use it (bug#19105). + (eww-reload): Reload the page in the right buffer. + + 2014-11-19 Lars Magne Ingebrigtsen + + * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'. + + 2014-11-19 Ivan Shmakov + + * net/eww.el (eww-desktop-remove-duplicates) + (eww-restore-desktop, eww-restore-reload-prompt): New variables. + (eww-mode): Set up desktop mode (bug#18010). + (eww-desktop-data-save, eww-desktop-data-1) + (eww-desktop-history-duplicate, eww-desktop-misc-data) + (eww-restore-desktop): New functions. + + 2014-11-19 Eli Zaretskii + + * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the + correct buffer. (Bug#19101) + + 2014-11-19 Rüdiger Sonderfeld + + * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with + `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099) + + 2014-11-19 Artur Malabarba + + * ido.el (ido-bury-buffer-at-head): New command. + (ido-buffer-completion-map): Bind it to C-S-b. + + 2014-11-18 Juri Linkov + + * simple.el (next-line-or-history-element): Wrap next-line + in with-no-warnings. + (previous-line-or-history-element): Wrap previous-line + in with-no-warnings. + + 2014-11-18 Juri Linkov + + * progmodes/grep.el (grep-compute-defaults): + Compute grep-highlight-matches before its use. + + 2014-11-18 Juri Linkov + + * replace.el (query-replace-from-to-separator): Turn defvar into + defcustom. Wrap char-displayable-p in ignore-errors because an + attempt to autoload char-displayable-p fails during pre-loading. + Move (propertize "\0" ... 'separator t) out of customizable part + to query-replace-read-from. + (query-replace-read-from): Call custom-reevaluate-setting on + query-replace-from-to-separator to reevaluate the separator + depending on the return value of char-displayable-p. + http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html + + 2014-11-18 Juri Linkov + + * bindings.el (minibuffer-local-map): Rebind [down] from + next-history-element to next-line-or-history-element, and [up] + from previous-history-element to previous-line-or-history-element. + + * simple.el (next-line-or-history-element) + (previous-line-or-history-element): New commands. + http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html + + 2014-11-18 Leo Liu + + * emacs-lisp/nadvice.el (define-advice): New macro. + * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): + Add define-advice. + (lisp-font-lock-keywords-1): Add define-advice. + + 2014-11-18 Daiki Ueno + + * epg.el (epg-context): New slot EDIT-CALLBACK. + (epg--process-filter): Call EDIT-CALLBACK when editing a key. + (epg-reset): Reset EDIT-CALLBACK of the context. + (epg-start-edit-key): New function. + (epg-edit-key): New function. + + 2014-11-18 Paul Eggert + + Port new time stamp handling to Emacs 23.2. + This fix is for Gnus. Reported by Katsumi Yamaoka. + * calendar/time-date.el (time-add, time-subtract, time-less-p): + Use eval-and-compile, not eval-when-compile. + + 2014-11-18 Daiki Ueno + + * epg.el (epg-context-set-passphrase-callback) + (epg-context-set-progress-callback): Check if the CALLBACK + argument is a function, instead of a cons. + + 2014-11-18 Daiki Ueno + + * epa-file.el (epa-file-insert-file-contents) + (epa-file-write-region): Remove redundant check of + epa-pinentry-mode. + * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region) + (epa-sign-region, epa-encrypt-region): Remove redundant check of + epa-pinentry-mode. + + 2014-11-18 Daiki Ueno + + * epa-file.el (epa-file-insert-file-contents): Don't show + "*Error*" buffer if input file does not exist. + Reported by Herbert J. Skuhra. + + 2014-11-18 Paul Pogonyshev + Rüdiger Sonderfeld + + * progmodes/cc-langs.el: Support some of the new keywords in C++11. + An alternative version of the patch from bug#13871. + (c-operators): Add "alignof". + (c-primitive-type-kwds): Add "char16_t", "char32_t". + (c-type-modifier-kwds): Add "constexpr", "noexcept". + (c-modifier-kwds): Add "thread_local". + (c-constant-kwds): Add "nullptr". + + 2014-11-17 Michal Nazarewicz + + * textmodes/tildify.el (tildify-pattern, tildify-space-string): + New variables for specifying tildify pattern and representation of + a hard space -- a no-break space by default -- respectively. + Being buffer-local they are much easier to handle than + `tildify-string-alist' and `tildify-pattern-alist' respectively + that have been used so far. They also works better with derived + modes. + (tildify-foreach-region-function): New variable specifying + a function determining portions of buffer that should be + tildified. It allows major modes to create a filtering function + more elaborate than a set of regular expressions. Initialized to + `tildify--deprecated-ignore-evironments' by default to handle now + deprecated `tildify-ignored-environments-alist' variable. + (tildify--foreach-region): A new function that takes + `tildify-foreach-region-function' into account and calls callback + for regions of the buffer that should be tildified. + (tildify-foreach-ignore-environments): A new function which can be + partially applied and used as `tildify-foreach-region-function'. + (tildify-ignored-environments-alist, tildify-pattern) + (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete. + (tildify--find-env): Rename from `tildify-find-env' and mark as + obsolete. + (tildify--deprecated-ignore-evironments): New function, + immediately marked as obsolete, used to handle deprecated + `tildify-ignored-environments-alist'. + + * textmodes/tex-mode.el (tex-common-initialization): + Set `tildify-space-string' and `tildify-foreach-region-function' + variables in all variants of TeX mode since `tildify-string-alist' + and `tildify-ignored-environments-alist' are now empty by default. + + * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'. + If encoding supports it use no-break space instead of character + entity; this changes previous default which used a numeric + reference. + + * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'. + If encoding does not support no-break space, use numeric reference; + this changes previous default which used named entity (“ â€) + in HTML mode. + + 2014-11-17 Ulf Jasper + + * calendar/icalendar.el (icalendar-export-alarms): + New customizable variable. (Bug#5433) + (icalendar-export-region): Export alarms as specified in + `icalendar-export-alarms'. + (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm): + New functions for exporting alarms. + + 2014-11-17 Lars Magne Ingebrigtsen + + * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'. + + 2014-11-17 Paul Eggert + + Port new time stamp handling to old Emacs and to XEmacs. + This is needed for Gnus, which copies time-date.el and which + runs on older Emacs implementations. + * calendar/time-date.el (with-decoded-time-value): + Handle 'nil' and floating-point arg more compatibly with new Emacs. + (encode-time-value, with-decoded-time-value): + Obsolete only if new Emacs. + (time-add, time-subtract, time-less-p): Define if not new Emacs. + + Improve time stamp handling, and be more consistent about it. + This implements a suggestion made in: + http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html + Among other things, this means timer.el no longer needs to + autoload the time-date module. + * allout-widgets.el (allout-elapsed-time-seconds): Doc fix. + * arc-mode.el (archive-ar-summarize): + * calendar/time-date.el (seconds-to-time, days-to-time, time-since): + * emacs-lisp/timer.el (timer-relative-time, timer-event-handler) + (run-at-time, with-timeout-suspend, with-timeout-unsuspend): + * net/tramp.el (tramp-time-less-p, tramp-time-subtract): + * proced.el (proced-time-lessp): + * timezone.el (timezone-time-from-absolute): + * type-break.el (type-break-schedule, type-break-time-sum): + Simplify by using new functionality. + * calendar/cal-dst.el (calendar-next-time-zone-transition): + Do not return time values in obsolete and undocumented (HI . LO) + format; use (HI LO) instead. + * calendar/time-date.el (with-decoded-time-value): + Treat 'nil' as current time. This is mostly for XEmacs. + (encode-time-value, with-decoded-time-value): Obsolete. + (time-add, time-subtract, time-less-p): Use no-op autoloads, for + XEmacs. Define only if XEmacs, as they're now C builtins in Emacs. + * ldefs-boot.el: Update to match new time-date.el + * proced.el: Do not require time-date. + + 2014-11-16 Lars Magne Ingebrigtsen + + * net/eww.el (eww-mode): Make the buffer read-only. + (eww-form-text): Inhibit read-only-ness in text input fields + (bug#16476). + + 2014-11-16 Stefan Monnier + + * simple.el (execute-extended-command--shorter): Cut search here. + (execute-extended-command): Instead of here. + + 2014-11-16 Fabián Ezequiel Gallina + + * progmodes/python.el (python-mode): Avoid use of set-local to + keep Emacs 24.x compatibility. + + 2014-11-16 Lars Magne Ingebrigtsen + + * net/shr.el (shr): Move to the new defgroup `web'. + + * net/eww.el (eww): Ditto. + + * simple.el (execute-extended-command): Don't show the help + message if the binding isn't significantly shorter than the + M-x command the user typed (bug#19013). + + 2014-11-16 Ulf Jasper + + * calendar/icalendar.el (icalendar--convert-tz-offset): + Return complete cons when offsets of standard time and daylight saving + time are equal. + (icalendar-export-region): Fix unbound variable warning. + + 2014-11-16 Fabián Ezequiel Gallina + + * progmodes/python.el (run-python): Allow CMD to be optional and + default it to a safe command, even for Windows. (bug#18596) + + 2014-11-16 Fabián Ezequiel Gallina + + * progmodes/python.el (python-shell-calculate-command): + Rename from python-shell-parse-command. Cleanup. + (run-python, run-python-internal): Use it. + (python-shell-calculate-pythonpath): Rename from + python-new-pythonpath. + (python-shell-calculate-process-environment): Use it. + (python-shell-calculate-exec-path): Add comment. + + 2014-11-16 Thierry Banel (tiny change) + + * calc/calc-arith.el (math-max-list, math-min-list): Fix bug + for date handling. + + 2014-11-16 Andreas Schwab + + * version.el (emacs-repository-get-version): Use git rev-parse + instead of git log. + + 2014-11-16 Fabián Ezequiel Gallina + + * progmodes/python.el (python-indent-calculate-levels): + Fix indentation behavior multiline dedenter statement. (Bug#18432) + + 2014-11-16 Fabián Ezequiel Gallina + + * progmodes/python.el (python-indent-region): + Use python-indent-line and skip special cases. (Bug#18843) + + 2014-11-16 Peder O. Klingenberg + + * mail/emacsbug.el (report-emacs-bug): Make a better guess at + envelope-from when reporting through sendmail (bug#19054). + + 2014-11-16 Oscar Fuentes + + Add faces for the VC modeline state indicator. + * vc/vc-hooks.el: + (vc-state-faces, vc-state-base-face) + (vc-up-to-date-state, vc-needs-update-state) + (vc-locked-state, vc-locally-added-state) + (vc-conflict-state, vc-removed-state) + (vc-missing-state, vc-edited-state): + New faces. + (vc-default-mode-line-string): Use them + + 2014-11-16 Stefan Monnier + + * emacs-lisp/backquote.el (backquote-process): Optimize away ",'". + + 2014-11-15 Lars Magne Ingebrigtsen + + * net/eww.el (eww-search-words): Mention `eww-search-prefix'. + + 2014-11-15 Fabián Ezequiel Gallina + + * progmodes/python.el (python-eldoc-setup-code): Enhance string + type checks, simplify printing. (Bug#18962) + + 2014-11-14 Ivan Andrus + + * progmodes/python.el (python-shell-font-lock-kill-buffer): + (python-shell-font-lock-with-font-lock-buffer) + (python-shell-get-buffer, python-ffap-module-path): + Use `derived-mode-p' instead of equality test on `major-mode'. + + 2014-11-14 Fabián Ezequiel Gallina + + * progmodes/python.el (python-shell-virtualenv-root): Rename from + python-shell-virtualenv-path. + (python-shell-internal-get-process-name) + (python-shell-calculate-process-environment) + (python-shell-calculate-exec-path): Use it. + + 2014-11-14 Eli Zaretskii + + * bindings.el (search-map): Fix last change: don't use 'kbd' in + bindings.el, since it is not yet loaded when bindings.el is + preloaded. + + 2014-11-14 Fabián Ezequiel Gallina + + * progmodes/python.el (python-shell-completion-get-completions): + Fix previous merge. + + 2014-11-14 Lars Magne Ingebrigtsen + + * net/eww.el (eww-render): Don't set the title to the URL. + + 2014-11-13 Ulrich Müller + + * version.el (emacs-repository-get-version): Call `git log' + command with proper format argument (bug#19049). + + 2014-11-14 Lars Magne Ingebrigtsen + + * bindings.el (search-map): Bind M-s M-s to `eww-search-words'. + + 2014-11-14 Kenjiro NAKAYAMA + + * net/eww.el (eww-search-words): New command (bug#16258). + + 2014-11-13 Lars Magne Ingebrigtsen + + * net/shr.el (shr-inhibit-images): Add a doc string. + + * net/eww.el (eww-after-render-hook): New variable. + (eww-render): Use it. + + * net/shr.el (shr-descend): Don't descend further than + `max-specpdl-size' allows (bug#16587). + (shr-depth): New variable. + (shr-warning): New variable. + + 2014-11-13 Ivan Shmakov + + * net/shr.el (shr-parse-base): Handle correctly. + (shr-expand-url): Expand absolute URLs correctly (bug#17958). + + 2014-11-13 Lars Magne Ingebrigtsen + + * net/eww.el (eww): Add comment to clarify. + + * net/shr.el (shr-parse-image-data): Remove blocked bits from + external SVG images. + (shr-tag-object): Display images in forms (bug#16244). + (shr-tag-table): Also insert after the tables. + + 2014-11-13 Michael Albinus + + * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940) + + 2014-11-13 Lars Magne Ingebrigtsen + + * net/eww.el (eww-form-file): Fix version number. + + 2014-11-10 Lars Magne Ingebrigtsen + + * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword. + + 2014-11-10 Kenjiro NAKAYAMA + + * net/eww.el(eww-form-file(defface)): New defface of file upload form. + (eww-submit-file): New key map of file upload. + (eww-form-file): New file upload button and file name context. + (eww-select-file): Select file and display selected file name. + (eww-tag-input): Handle input tag of file type. + (eww-update-field): Add point offset. + (eww-submit): Add submit with multipart/form-data. + + 2014-11-10 Lars Magne Ingebrigtsen + + * net/eww.el (eww-render, eww-display-html, eww-setup-buffer): + Allow taking a buffer to render data in. This allows using several + eww buffers (bug#16211). + + 2014-11-10 Charles Rendleman (tiny change) + + * net/eww.el (eww-download-callback): Save only the file contents, + not the headers. + + 2014-11-10 Lars Magne Ingebrigtsen + + * net/eww.el (eww-data): New plist to store all the data relevant + to a single page, used throughout the file instead of the + variables `eww-current-url', `eww-current-dom', + `eww-current-source', and `eww-current-title'. + (eww-readable): Copy over pertinent data from the parent page. + (eww-save-history): Don't let the history grow infinitely. + + * net/eww.el: Remove `eww-next-url', `eww-previous-url', + `eww-up-url', `eww-home-url', `eww-start-url' and + `eww-contents-url' and put the data into the `eww-data' plist. + This allow restoring these values after going back in the history. + + 2014-11-10 Sylvain Chouleur (tiny change) + + Allow VTIMEZONE where daylight and standard time zones are equal. + See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html + * calendar/icalendar.el (icalendar--convert-tz-offset): + Support timezone without daylight saving time. + + 2014-11-10 Glenn Morris + + * startup.el (command-line): Handle nil elements in load-path. + + 2014-11-10 Stefan Monnier + + * help.el (view-lossage): Include the actual commands run. + + 2014-11-10 Dmitry Gutov + + * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when + no state is specified. (Bug#18964) + + 2014-11-09 Eric Ludlam + + * emacs-lisp/eieio-custom.el (eieio-customize-object): + Set eieio-cog (current group) to g, which is an improved form of input + group. + + 2014-11-09 Juri Linkov + + * isearch.el (isearch-message-prefix): Show "Multi-file" and + "Multi-buffer" instead of "Multi". (Bug#13592) + + * misearch.el (multi-isearch-file-list): + Autoload multi-isearch-buffer-list and multi-isearch-file-list. + (multi-isearch-end): Reset multi-isearch-buffer-list and + multi-isearch-file-list to nil. + + 2014-11-09 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment): + Don't call byte-compile-preprocess since the result will go through + cconv. + (byte-compile-output-docform): Handle uninterned `name' correctly. + * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name + to circumvent byte-compiler bug. + + * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo. + (macroexp--compiler-macro): Remove left-over debug code. + + * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning. + + 2014-11-08 Juri Linkov + + * simple.el (shell-command): Use buffer-name when output-buffer is + a buffer. (Bug#18096) + + 2014-11-08 Juri Linkov + + * minibuffer.el (minibuffer-completion-help): Compare this-command + with completion-at-point. (Bug#17809) + + 2014-11-08 Glenn Morris + + * emacs-lisp/bytecomp.el (byte-compile-report-error): + Allow the argument to be a string. Due to the vague doc, + it was already being used this way. + + 2014-11-08 Michael Albinus + + * net/tramp.el (tramp-check-cached-permissions): Include hop in + the constructed Tramp file name. (Bug#18943) + + 2014-11-08 Stefan Monnier + + * emulation/cua-base.el (cua--select-keymaps): Use region-active-p + (bug#18952). + (cua-set-mark, cua--post-command-handler-1): + * emulation/cua-gmrk.el (cua-cancel-global-mark): Same. + + 2014-11-08 Michael Albinus + + * files.el (file-name-non-special): Wrap the call of + `insert-file-contents' by `unwind-protect', in order to set the + buffer's file name anyway. (Bug#18891) + + 2014-11-08 Alan Mackenzie + + Fix wrong bound to c-font-lock-declarators. + * progmodes/cc-fonts.el (c-font-lock-declarations): + Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as + the buffer is sometimes narrowed to less than "limit" (e.g., in + the presence of macros). (Bug#18948) + + 2014-11-08 Michael Albinus + + * net/tramp.el (tramp-error-with-buffer): Show connection buffer + only when message appeared in minibuffer. (Bug#18891) + + * net/tramp-adb.el (tramp-adb-handle-file-attributes): + * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes): + * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in + case of errors. + + 2014-11-08 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment): + Don't compile before eval in `eval-and-compile'. + (byte-compile-arglist-warn): Add check for defining macros after their + first use. Check call use even if the function is fboundp. + + 2014-11-08 Richard Stallman + + * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes. + Check more carefully for mime-part specified character set. + Check for mime-part Content Transfer Encoding. + Notify if no armor found. + + 2014-11-08 Martin Rudalics + + * faces.el (face-set-after-frame-default): Enable running + `window-configuration-change-hook'. + + 2014-11-07 Juri Linkov + + * replace.el: History for query replace pairs. + (query-replace-defaults): Promote to a list of cons cell. Doc fix. + (query-replace-from-to-separator): New variable. + (query-replace-read-from): Let-bind query-replace-from-to-history + to a list of FROM-TO strings created from query-replace-defaults + and separated by query-replace-from-to-separator. Use it as + the history while reading from the minibuffer. Split the returned + string by the separator to get FROM and TO parts, and add them + to the history variables. + (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults. + (query-replace-regexp-eval): Let-bind query-replace-defaults to nil. + http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html + + * isearch.el (isearch-text-char-description): Keep characters + intact and put formatted strings with the `display' property. + + 2014-11-07 Martin Rudalics + + * cus-start.el (frame-resize-pixelwise): Fix group. + (frame-inhibit-implied-resize): Add entry. + + 2014-11-07 Daiki Ueno + + * epa.el (epa-pinentry-mode): New user option. + (epa-sign-file, epa-encrypt-file, epa-decrypt-region) + (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode. + * epa-file.el (epa-file-insert-file-contents) + (epa-file-write-region): Respect epa-pinentry-mode. + + 2014-11-07 Daiki Ueno + + * epg.el (epg--list-keys-1): Ignore fields after the 15th field + (bug#18979). Reported by Hideki Saito. + + 2014-11-06 Daiki Ueno + + * emacs-lisp/package.el (package--display-verify-error): New function. + (package--check-signature): Use it to display output sent to stderr. + + 2014-11-06 Stefan Monnier + + * subr.el (pop): Don't call the getter twice (bug#18968). + + * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial + uses of `funcall'. + + 2014-11-06 Daiki Ueno + + * epa.el (epa-error-buffer): New variable. + (epa-display-error): New function. + (epa-decrypt-file, epa-verify-file, epa-verify-region) + (epa-delete-keys, epa-import-keys): Display output sent to stderr. + (epa-sign-file, epa-sign-region, epa-encrypt-region) + (epa-export-keys, epa-insert-keys): Display output sent to stderr. + Use setf instead of epg-context-set-*. + * epa-file.el (epa-file-insert-file-contents): + Use epa-display-error instead of epa-display-info. Mimic the behavior + of jka-compr when decryption program is not found. + (epa-file-write-region): Use epa-display-error instead of + epa-display-info. + + 2014-11-05 Stefan Monnier + + * vc/vc.el (vc-region-history): New command. + (vc-print-log-internal): Use cl-some. + + * vc/vc-git.el (vc-git-region-history): New function. + (vc-git-region-history-mode-map) + (vc-git--log-view-long-font-lock-keywords) + (vc-git-region-history-font-lock-keywords): New vars. + (vc-git-region-history-font-lock): New function. + (vc-git-region-history-mode): New major mode. + + 2014-11-05 Tassilo Horn + + * net/eww.el (subr-x): Require subr-x at compile-time because eww + uses string-trim. + + 2014-11-05 Daiki Ueno + + * epg.el (epg-context): Add new slot ERROR-OUTPUT. + (epg-error-output): New buffer-local variable. + (epg--start): Initialize epg-error-output. + (epg--process-filter): Record output lines sent to stderr, in + epg-error-output. + (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT + slot of context. + * epa-file.el (epa-file-insert-file-contents): On error, display + output sent to stderr. + (epa-file-write-region): Likewise. + + 2014-11-05 Eli Zaretskii + + * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being + returned by load-average. + + 2014-11-05 Michael Albinus + + * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use + a local copy; setting `inhibit-file-name-handlers' proper might be + more performant. (Bug#18751) + + 2014-11-05 Glenn Morris + + * mail/emacsbug.el (report-emacs-bug): No longer include + recent-keys in the report. (Bug#18900) + + 2014-11-04 Paul Eggert + + * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe". + + 2014-11-04 Teodor Zlatanov + + * net/eww.el (eww): Trim URL with `string-trim'. + Suggested by Vibhav Pant . + + 2014-11-03 Lars Magne Ingebrigtsen + + * net/eww.el (eww-score-readability): Don't count comments positively. + + * net/shr.el (shr-retransform-dom): Typo fix. + + * net/eww.el (eww-score-readability): Parse SVC images correctly. + (eww-display-html): Don't leave point inside forms. + + * net/shr.el: Ditto. + + 2014-11-03 Stefan Monnier + + * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that + edebug-prin1-to-string already handles circularity. + + * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro + autoloading when specified as a lambda. + + * simple.el (execute-extended-command--last-typed): New var. + (read-extended-command): Set it. + Don't complete obsolete commands. + (execute-extended-command--shorter-1) + (execute-extended-command--shorter): New functions. + (execute-extended-command): Use them to suggest shorter names. + (indicate-copied-region, deactivate-mark): Use region-active-p. + + 2014-11-03 Michael Albinus + + * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a + local copy of FILENAME, when it is remote. (Bug#18751) + + * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise + an error when the command fails; the return code must indicate. + (tramp-adb-send-command-and-check): Fix docstring. + + 2014-11-03 Lars Magne Ingebrigtsen + + * net/shr.el (shr-retransform-dom): Don't ignore elements that + have no children like
    . + + * net/eww.el (eww-display-html): Clear `url-queue'. + (eww-display-pdf): New function. + (eww-render): Display PDFs with `doc-view'. + (url-queue): Require `url-queue' to avoid compilation warning. + (eww-colorize-region): Remove duplicate function. + (eww-tag-body): Use `shr-colorize-region'. + + 2014-11-03 Yoni Rabkin + + * net/eww.el (eww-list-bookmarks): Autoload. + + 2014-11-03 Lars Magne Ingebrigtsen + + * net/shr.el (shr-retransform-dom): Allow several text sub-nodes. + + * net/eww.el (eww-display-html): The charset is called `utf-8', + not `utf8'. + (eww-readable): Decode the saved text correctly. + (eww-readable): Save the history before displaying so that we can + go back to the non-readable version. + (eww-display-html): Don't try to decode the text if we've been + passed in a pre-parsed DOM. + (eww-tag-title): Remove newlines and extra whitespace from the + displayed title. + + 2014-11-02 Lars Magne Ingebrigtsen + + * net/eww.el (eww-readable): New command and keystroke. + + * net/shr.el (shr-retransform-dom): New function. + + * net/eww.el (eww-display-html): Set `eww-current-source' in the + correct buffer. + (eww-view-source): Use it. + + 2014-11-02 Ivan Shmakov + + * net/eww.el (eww): Recognize colon-delimited IPv6 addresses. + (Bug#18603). + + 2014-11-02 Brian McKenna (tiny change) + + * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785). + + 2014-11-02 Ivan Shmakov + + * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825). + + 2014-11-02 Ivan Shmakov + + * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'. + (Bug#18834). + + 2014-11-02 Eric Abrahamsen + + * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for + use as advice. + (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897) + + 2014-11-02 Stefan Monnier + + * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1 + (bug#18821). + * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem. + + 2014-11-01 Michael R. Mauger + + * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp + syntax, add new keywords, and parse longer keywords first. + (sql-redirect-one): Protect against empty command. + (sql-mode, sql-interactive-mode): Set `custom-mode-group' property + to SQL. (Bug#14759) + + 2014-11-01 Michael R. Mauger + + * sql.el (sql-interactive-mode, sql-stop): Correct fix for + Bug#16814 with let-bind of comint-input-ring variables around read + and save functions. + + 2014-11-01 Michael Albinus + + * net/tramp-cache.el (tramp-get-file-property) + (tramp-set-file-property): Check that `tramp-cache-get-count-*' + and `tramp-cache-set-count-*' are bound. Otherwise, there might + be compiler warnings. + + * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid): + Return -1 respective "UNKNOWN", if uid or gid cannot be determined. + + 2014-11-01 Eli Zaretskii + + * progmodes/compile.el (compilation-mode): Turn off deferred + fontifications locally. (Bug#18856) + + 2014-11-01 Wolfgang Jenkner + + * net/tramp-sh.el (tramp-send-command): Fix the case where the + remote-echo connection property is non-nil (bug#18858). + + 2014-11-01 Stefan Monnier + + * simple.el (newline): Add assertions to try and help catch bug#18913. + + * emulation/cua-base.el (cua-delete-region): Use delete-active-region + (bug#18886). + (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove. + + 2014-11-01 Kim F. Storm + + Restore cua-delete-copy-to-register-0 and M-v command (bug#18886). + * delsel.el (delete-selection-save-to-register) + (delsel--replace-text-or-position): New vars. + (delete-active-region): Use them. + (delete-selection-repeat-replace-region): New command, moved from + cua-base.el. + * emulation/cua-base.el (cua--repeat-replace-text): Remove var. + (cua-repeat-replace-region): Move command to delsel.el. + (cua--init-keymaps): Update binding accordingly. + (cua-mode): Set delete-selection-save-to-register. + + 2014-11-01 Alan Mackenzie + + Make blink-parens work with a closing template delimiter. + * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay + before calling blink-paren-function, so as to apply syntax-table + properties to the ">". + + 2014-11-01 Jan Djärv + + * select.el (gui-get-selection): Comment: data-type ignored on NS. + + 2014-10-31 Stefan Monnier + + * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821). + (macroexp--expand-all): Unrelated tweaks. + + * emacs-lisp/gv.el (gv-get): Use macroexpand-1. + + 2014-10-30 Glenn Morris + + * startup.el (command-line): Remove pointless attempt to avoid + statting the file-system (which expand-file-name doesn't do). + + 2014-10-30 Daniel Colascione + + Add "enum class" support to C++ mode. + * progmodes/cc-langs.el (c-after-brace-list-decl-kwds) + (c-after-brace-list-key): New language consts/variables. + * progmodes/cc-engine.el (c-looking-at-decl-block): + Exclude spurious match of "enum struct" from decl-block recognition. + (c-backward-colon-prefixed-type): New function. + (c-backward-over-enum-header): Call above function to extend + recognition of enum structure. + + 2014-10-30 Stefan Monnier + + * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845). + (c-lang-defconst): + * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it. + + 2014-10-30 Eli Zaretskii + + * progmodes/compile.el (compilation-start): + If compilation-scroll-output is non-nil, don't force window-start of + the compilation buffer to be at beginning of buffer. (Bug#18874) + + * startup.el (fancy-about-text): Read the entire tutorial, not + just its first 256 bytes. (Bug#18760) + + 2014-10-30 Stefan Monnier + + * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804). + * emacs-lisp/cl-extra.el: Add missing provide. + + * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where + all args are copyable (bug#18767). + (=, <, >, <=, >=): Re-enable the optimization. + + 2014-10-29 Glenn Morris + + * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky. + + * version.el (emacs-bzr-version, emacs-bzr-get-version): + Revert 2014-10-26 change. + + 2014-10-29 Paul Eggert + + Simplify use of current-time and friends. + * allout-widgets.el (allout-widgets-hook-error-handler): + * calendar/appt.el (appt-display-message): + * calendar/icalendar.el (icalendar--convert-float-to-ical): + * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave) + (timeclock-last-period, timeclock-day-base): + * eshell/em-ls.el (eshell-ls-file): + * eshell/esh-util.el (eshell-parse-ange-ls): + * generic-x.el (named-database-print-serial): + * net/newst-backend.el (newsticker--get-news-by-url-callback) + (newsticker-get-news, newsticker--sentinel-work) + (newsticker--image-get, newsticker--image-sentinel): + * net/tramp-sh.el (tramp-get-remote-touch): + * progmodes/opascal.el (opascal-debug-log): + * textmodes/remember.el (remember-mail-date) + (remember-store-in-files): + * vc/vc-annotate.el (vc-annotate-display-autoscale) + (vc-default-annotate-current-time): + * vc/vc-bzr.el (vc-bzr-shelve-snapshot): + * vc/vc-cvs.el (vc-cvs-annotate-current-time): + * vc/vc-rcs.el (vc-rcs-annotate-current-time): + Omit unnecessary call to current-time. + * calendar/time-date.el (time-to-seconds) [!float-time]: + * vc/vc-annotate.el (vc-annotate-convert-time): + Use current time if arg is nil, to be compatible with float-time. + (time-date--day-in-year): New function, with most of the guts of + the old time-to-day-in-year. + (time-to-day-in-year): Use it. + (time-to-days): Use it, to avoid decoding the same time stamp twice. + * calendar/timeclock.el (timeclock-time-to-date): + Arg is now optional, like current-time-string. + (timeclock-update-mode-line): + Don't call current-time twice to get the current time stamp, + as this can lead to inconsistent results. + * completion.el (cmpl-hours-since-origin): + * ido.el (ido-time-stamp): + * vc/vc-annotate.el (vc-annotate-convert-time): + Simplify by using float-time. + * completion.el (save-completions-to-file): + Rename local var to avoid confusion. + * net/rcirc.el (rcirc-float-time): Simplify to an alias because + time-to-seconds now behaves like float-time with respect to nil arg. + * subr.el (progress-reporter-do-update): + Don't call float-time unless needed. + + 2014-10-29 Leo Liu + + * net/rcirc.el (rcirc-fill-column): Use function. + (rcirc-markup-fill): Remove adjustment. + + 2014-10-28 Christopher Schmidt + + * calc/calc.el (quick-calc): + * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT. + + 2014-10-28 Sam Steingold + + * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for + the sake of `window-body-width' (in addition to `frame-width'). + + 2014-10-26 Eric S. Raymond + + * version.el: Fix some fallback values to conform to the actual + release number. + + 2014-10-25 Eric S. Raymond + + * Makefile.in: Change some production names so they're neutral + about the repository type. + + 2014-10-25 Michael Albinus + + * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker) + (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled' + during initialization. (Bug#18774) + + 2014-10-25 Vincent Belaïche + + * ses.el (macroexp): Add require for this package, so that + function `ses--cell' gets macroexp-quote --- this change was + supposed to be in my previous commit, but left out by mistake. + (ses--cell): Do not make formula a macroexp-quote of value when + value, not formula, is *skip*. + + 2014-10-24 Vincent Belaïche + + * ses.el (macroexp): Add require for this package, so that function + `ses--cell gets macroexp-quote. + (ses--cell): Makes formula a macroexp-quote of value when formula + is nil. The rationale of this changr is to allow in the future + shorter SES files, e.g. we could have only `(ses-cell A1 1.0)' + instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case + reference list REFLIST would be re-computed after load --- thus + trading off load time against file size. + + * emacs-lisp/package.el (package--alist-to-plist-args): + Use macroexp-quote instead of a lambda expression which has the same + content as macroexp-quote. + (macroexp): Add require for this package, so that function + `package--alist-to-plist-args' gets macroexp-quote. + + * emacs-lisp/macroexp.el (macroexp-quote): New defun. + + 2014-10-24 Stefan Monnier + + * term/ns-win.el (ns-store-cut-buffer-internal) + (ns-copy-including-secondary): Use gui-set-selection (bug#18816). + + 2014-10-24 Martin Rudalics + + * mouse.el (mouse-drag-line): Don't use mouse-pixel-position. + Calculate increment from last position instead of window edge. + Add right- and bottom-divider bindings to transient map. + + 2014-10-23 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate + even if :predicate was nil, for the benefit of typep. + Record the name of the predicate for typep's use. + (cl--make-type-test): Use pcase. Obey new + cl-deftype-satisfies property. + + * epg.el: Use cl-defstruct. + (epg-make-data-from-file, epg-make-data-from-string, epg-data-file) + (epg-data-string): Define via cl-defstruct. + (epg--gv-nreverse): New macro. + (epg-context--make): New constructor (provided vi cl-defstruct). + (epg-make-context): Rewrite using it. + (epg-context-protocol, epg-context-program) + (epg-context-home-directory, epg-context-armor, epg-context-textmode) + (epg-context-include-certs, epg-context-cipher-algorithm) + (epg-context-digest-algorithm, epg-context-compress-algorithm) + (epg-context-passphrase-callback, epg-context-progress-callback) + (epg-context-signers, epg-context-sig-notations, epg-context-process) + (epg-context-output-file, epg-context-result, epg-context-operation) + (epg-context-pinentry-mode): Define using cl-defstruct. + (epg-context-set-protocol, epg-context-set-program) + (epg-context-set-include-certs, epg-context-set-cipher-algorithm) + (epg-context-set-digest-algorithm) + (epg-context-set-sig-notations, epg-context-set-process) + (epg-context-set-output-file, epg-context-set-result) + (epg-context-set-operation, epg-context-set-pinentry-mode) + (epg-context-set-compress-algorithm): Remove. Use setf instead. + (epg-context-set-armor, epg-context-set-textmode) + (epg-context-set-signers): Redefine using setf + and declare as obsolete. + (epg-context-set-passphrase-callback) + (epg-context-set-progress-callback): Use setf. + (epg-signature-notations): Rename from epg-sig-notations. + (epg-make-signature, epg-signature-status, epg-signature-key-id) + (epg-signature-validity, epg-signature-fingerprint) + (epg-signature-creation-time, epg-signature-expiration-time) + (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm) + (epg-signature-class, epg-signature-version): Define vi cl-defstruct. + (epg-signature-set-status, epg-signature-set-key-id) + (epg-signature-set-validity, epg-signature-set-fingerprint) + (epg-signature-set-creation-time, epg-signature-set-expiration-time) + (epg-signature-set-pubkey-algorithm) + (epg-signature-set-digest-algorithm, epg-signature-set-class) + (epg-signature-set-version, epg-signature-set-notations): Remove. + Use setf instead. + (epg-make-new-signature, epg-new-signature-type) + (epg-new-signature-pubkey-algorithm) + (epg-new-signature-digest-algorithm, epg-new-signature-class) + (epg-new-signature-creation-time, epg-new-signature-fingerprint): + Define using cl-defstruct. + (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list) + (epg-key-user-id-list): Define using cl-defstruct. + (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove. + Use setf instead. + (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability) + (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length) + (epg-sub-key-id, epg-sub-key-creation-time) + (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using + cl-defstruct. + (epg-sub-key-set-fingerprint): Remove. Use setf instead. + (epg-make-user-id, epg-user-id-validity, epg-user-id-string) + (epg-user-id-signature-list): Define using cl-defstruct. + (epg-user-id-set-signature-list): Remove. Use setf instead. + (epg-make-key-signature, epg-key-signature-validity) + (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id) + (epg-key-signature-creation-time, epg-key-signature-expiration-time) + (epg-key-signature-user-id, epg-key-signature-class) + (epg-key-signature-exportable-p): Define using cl-defstruct. + (epg-make-sig-notation, epg-sig-notation-name) + (epg-sig-notation-value, epg-sig-notation-human-readable) + (epg-sig-notation-critical): Define using cl-defstruct. + (epg-sig-notation-set-value): Remove. Use setf instead. + (epg-make-import-status, epg-import-status-fingerprint) + (epg-import-status-reason, epg-import-status-new) + (epg-import-status-user-id, epg-import-status-signature) + (epg-import-status-sub-key, epg-import-status-secret): Define using + cl-defstruct. + (epg-make-import-result, epg-import-result-considered) + (epg-import-result-no-user-id, epg-import-result-imported) + (epg-import-result-imported-rsa, epg-import-result-unchanged) + (epg-import-result-new-user-ids, epg-import-result-new-sub-keys) + (epg-import-result-new-signatures, epg-import-result-new-revocations) + (epg-import-result-secret-read, epg-import-result-secret-imported) + (epg-import-result-secret-unchanged, epg-import-result-not-imported) + (epg-import-result-imports): Define using cl-defstruct. + + * emacs-lisp/package.el: Require EPG during macroexpansion. + (package--check-signature, package-import-keyring): Use setf instead of + epg-context-set-home-directory. + + 2014-10-23 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default. + + 2014-10-23 Leo Liu + + * progmodes/cfengine.el (cfengine3-defun-full-re): New var. + (cfengine3-create-imenu-index): Use it and use ` ' for separation. + (cfengine3-current-defun): New function. + (cfengine3-mode): Set add-log-current-defun-function. + + 2014-10-23 Stefan Monnier + + * select.el: Use lexical-binding. + (gui-set-selection): Provide an implementation for non-GUI frames + (bug#18791). + * term/x-win.el: Use lexical-binding. + (x-clipboard-yank): Fix up missed renamings. + * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler. + (w32--set-selection): Fix up var names. + * term/pc-win.el: Use lexical-binding. + (w16-selection-exists-p): Silence compiler warning. + (w16-selection-owner-p): Fix up missed renamings. + + * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug. + + * frame.el (frame-notice-user-settings): Fix excessive quoting. + + 2014-10-22 Tassilo Horn + + * doc-view.el (doc-view-open-text): View the document's plain text + in the current buffer instead of a new one. + (doc-view-toggle-display): Handle the case where the current + buffer contains the plain text contents of the document. + (doc-view-initiate-display): Don't switch to fallback mode if the + user wants to view the doc's plain text. + (doc-view-set-doc-type): Use assoc-string instead of + assoc-ignore-case. + + 2014-10-21 Stefan Monnier + + * subr.el (read-key): Fix clicks on the mode-line. + (set-transient-map): Return exit function. + + * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015). + (mouse--down-1-maybe-follows-link): Remove unused var `this-event'. + (mouse-yank-secondary): Use gui-get-selection. + (mouse--down-1-maybe-follows-link): Use read-key. + + * xt-mouse.el: Add `event-kind' property on the fly from + xterm-mouse-translate-1 rather than statically at the outset. + + 2014-10-21 Daniel Colascione + + * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to + change window configuration when we turn it off. + + 2014-10-21 Stefan Monnier + + Get rid of backend-dependent selection-handling functions for kill/yank + and make it generic instead by relying on the lower-level selection + management functions. + + * select.el (select-enable-clipboard): Rename from + gui-select-enable-clipboard. + (select-enable-primary): Move from x-win.el and rename from + x-select-enable-primary. + (gui-last-selected-text): Remove. + (gui--last-selected-text-clipboard, gui--last-selected-text-primary): + New vars. + (gui-select-text): Rewrite, based on x-win.el's old x-select-text. + (gui-select-text-alist, gui-selection-value-alist): Remove. + (x-select-request-type): Move from x-win.el. + (gui--selection-value-internal): New function, taken from x-win's + x-selection-value-internal. + (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value. + (gui-set-selection-alist): Rename from gui-own-selection-alist and + extend it to handle a nil value as a "disown" request. + (gui-disown-selection-alist): Remove. + (xselect-convert-to-delete): Adjust accordingly. + (gui-set-selection): Simplify accordingly as well. Use dotimes. + + * term/x-win.el (x-last-selected-text-primary) + (x-select-enable-primary): Remove (moved to select.el). + (x-select-request-type): Move to select.el. + (x-selection-value-internal, x--selection-value): Remove functions. + (gui-selection-value, gui-select-text): Remove moethods. + (gui-set-selection): Merge own and disown methods. + + * term/w32-win.el (w32--select-text, w32--get-selection-value): + Delete function (move functionality into w32--set-selection and + w32--get-selection). + (gui-select-text, gui-selection-value): Don't define methods. + (w32--set-selection, w32--get-selection, w32--selection-owner-p): + New functions. + (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p): + Use them. + (gui-selection-exists-p): Adjust to new name of C primitive. + + * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop + test of gui-select-enable-clipboard, to make it usable as + a gui-get-selection method. + (gui-selection-exists-p): Adjust to new name of C primitive. + (gui-set-selection): Merge own and disown methods. + (gui-select-text, gui-selection-value): Delete methods. + (w16--select-text): Delete function. + + * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard) + (ns-selection-value): Remove functions. + (gui-select-text, gui-selection-value): Don't define method any more. + (gui-set-selection): Merge the old own and disown methods. + (gui-selection-exists-p, gui-get-selection): Adjust to new name of + underlying C primitive. + + * startup.el (command-line): Adjust now that `gui-method' expects nil + for ttys. + + * frame.el (gui-method): Use window-system rather than framep. + (gui-method-declare): The tty case is now nil rather than t. + (make-frame): Adjust accordingly. + + 2014-10-21 Stefan Monnier + + * net/newst-reader.el (newsticker--image-read): Simplify. + (newsticker--icon-read): Use dolist and fix free var error. + + * imenu.el (imenu--menubar-keymap): New var. + (imenu-add-to-menubar): Set it to remember the keymap we used. + (imenu-update-menubar): Use it instead of asking lookup-key. + + * obsolete/cc-compat.el: Make obsolete (bug#18561). + + * epg-config.el (epg-gpg-program): Don't use absolute names by default. + + * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg + case (bug#18767). + + 2014-10-21 Glenn Morris + + * Merge in all changes up to version 24.4 release. + + 2014-10-20 Stefan Monnier + + * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg + case (bug#18767). + + 2014-10-20 Glenn Morris + + * Merge in all changes up to 24.4 release. + + 2014-10-20 Ulf Jasper + + * net/newst-backend.el + (newsticker--image-download-by-url-callback): Make this function + actually work: Check status properly, then save image. + + 2014-10-20 Stefan Monnier + + * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var + `this-event'. + (mouse-drag-line): Unless there's no actual mouse, use the event's + position info. + + 2014-10-20 Stefan Monnier + + * textmodes/css-mode.el (scss-mode): New major-mode. + (css-mode-syntax-table): Use d style comment, to ease the scss case. + (css-ident-re): Allow things like @-moz-keyframes. + (scss--hash-re): New const. + (css--font-lock-keywords): New function, extracted from + css-font-lock-keywords. + + 2014-10-19 Ulf Jasper + + * net/newst-backend.el: Require url-parse. + (newsticker--get-news-by-wget): Store feed name as process property. + (newsticker--sentinel): Read feed name from process property. + (newsticker--sentinel-work): Rename argument name to feed-name. + Rename variable imageurl to image-url. Pick icon url from Atom + 1.0 data. Launch download of feed icon. + (newsticker--get-icon-url-atom-1.0): New. + (newsticker--unxml) + (newsticker--unxml-node) + (newsticker--unxml-attribute): Documentation. + (newsticker--icons-dir): New. + (newsticker--image-get): New arguments FILENAME and DIRECTORY. + Use `url-retrieve' if `newsticker-retrieval-method' is 'intern. + (newsticker--image-download-by-wget): New. Use process properties + for storing informations. + (newsticker--image-sentinel): Read informations from process properties. + (newsticker--image-save) + (newsticker--image-remove) + (newsticker--image-download-by-url) + (newsticker--image-download-by-url-callback): New. + (newsticker-opml-export): Handle url list entries containing a + function instead of an url string. + + * net/newst-reader.el (newsticker-html-renderer): Whitespace. + (newsticker--print-extra-elements) + (newsticker--do-print-extra-element): + Documentation (newsticker--image-read): Optionally limit image height. + Use imagemagick if possible. + (newsticker--icon-read): New. + + * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo. + (newsticker--treeview-tree-expand): Use feed icons in treeview. + (newsticker--tree-widget-icon-create): New. Set the tree widget icon. + (newsticker--tree-widget-leaf-icon): Use feed icon. + + 2014-10-19 Stefan Monnier + + * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove. + Use help-function-arglist instead. + + * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove. + (eieio--with-scoped-class): Use `declare'. + (eieio-defclass): Remove compatibility code. + (no-method-definition, no-next-method, inconsistent-class-hierarchy) + (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error. + + 2014-10-18 Jan Djärv + + * cus-start.el (x-gtk-whole-detached-tool-bar): Remove. + + * term/x-win.el (x-gtk-stock-map): Add icon names suggested as + replacements to stock names before stock names in a list. + Cdr may be a list, each name is tried in turn until one is found. + + 2014-10-18 Alan Mackenzie + + Check that a "macro" found near point-min isn't a ## operator. + * progmodes/cc-engine.el (c-macro-is-genuine-p): New function. + (c-beginning-of-macro): Use the above new function. (Bug#18749) + + 2014-10-18 Teodor Zlatanov + + * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass + correct data to `gnutls-boot' (Bug#18664). + Reported by Toke Høiland-Jørgensen . + + 2014-10-18 Michal Nazarewicz + + * whitespace.el (whitespace-style, whitespace-big-indent) + (whitespace-big-indent-regexp, whitespace-style-value-list) + (whitespace-toggle-option-alist, whitespace-interactive-char) + (whitespace-toggle-options) + (global-whitespace-toggle-options, whitespace-help-text) + (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent + style to `whitespace-mode' to indicate that the line indentation + is too deep. By default, 32 SPACEs or four TABs are considered + too many but `whitespace-big-indent-regexp' can be configured. + + 2014-10-17 Michal Nazarewicz + + * textmodes/tildify.el (tildify--pick-alist-entry): Rename from + tildify-mode-alist. + + 2014-10-17 Stefan Monnier + + * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback. + (defclass, defgeneric, defmethod): Add doc-string position. + (with-slots): Require cl-lib. + + * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib. + (list-of): New type. + (eieio--typep): Remove. + (eieio-perform-slot-validation): Use cl-typep instead. + + * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib. + + * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..). + + 2014-10-16 Alan Mackenzie + + Trigger showing when point is in the "periphery" of a line or just + inside a paren. + * paren.el (show-paren-style, show-paren-delay) + (show-paren-priority, show-paren-ring-bell-on-mismatch): + Remove superfluous :group specifications. + (show-paren-when-point-inside-paren) + (show-paren-when-point-in-periphery): New customizable variables. + (show-paren-highlight-openparen): Make into a defcustom. + (show-paren--unescaped-p, show-paren--categorize-paren) + (show-paren--locate-near-paren): New defuns. + (show-paren--default): Refaactor and trigger on more paren + positions. + (show-paren-function): Small consequential changes. + + 2014-10-16 Tom Tromey + + * files.el (auto-mode-alist): Use javascript-mode for .jsm + (bug #18719). + + 2014-10-16 Eli Zaretskii + + * international/characters.el (bracket-type): Force pre-loading of + uni-brackets.el. + + 2014-10-16 Alan Mackenzie + + * cus-edit.el (custom-command-apply): Specify the return value in + the doc string. + (Custom-reset-standard): Save custom-file (e.g. .emacs) only when + custom-command-apply has returned non-nil. + + 2014-10-15 Stefan Monnier + + * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default. + Remove incorrect handling of eldoc-print-after-edit. + (eldoc-message-commands, eldoc-last-data): Use defvar. + * loadup.el (emacs-lisp/eldoc): Load it. + + * progmodes/m4-mode.el (m4-syntax-propertize): New var. + (m4-mode): Use it. + (m4--quoted-p): New function. + (m4-font-lock-keywords): Don't handle #..\n comments any more. + (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual) + for most special characters. + + * progmodes/compile.el (compilation--previous-directory): Simplify. + (compilation-next-error): Ensure the parse before we look at + compilation-message property. + + 2014-10-15 Eli Zaretskii + + * simple.el (what-cursor-position): + * descr-text.el (describe-char): Update to support the new bidi + characters. + + * emacs-lisp/tabulated-list.el (tabulated-list-mode): + Force bidi-paragraph-direction to 'left-to-right'. This fixes + buffer-menu display when the first buffer happens to start with + R2L letter. + + 2014-10-15 Stefan Monnier + + * progmodes/elisp-mode.el (elisp--local-variables-1): + Handle quoted expressions (bug#18688). + + 2014-10-14 Jérémy Compostella + Michael Albinus + + * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell): + Reduce the amount of set environment variable commands. + + 2014-10-12 Fabián Ezequiel Gallina + + Fix import completion. (Bug#18582) + * progmodes/python.el (python-shell-completion-get-completions): + Fix import case regexp. + + 2014-10-12 Stefan Monnier + + * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo + (bug#18622). Reported by Arni Magnusson . + * progmodes/prolog.el (prolog-electric--underscore): Same. + + 2014-10-12 Michael Albinus + + * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid". + + 2014-10-11 Jan Djärv + + * cus-start.el (all): Add missing ns and boolean to + ns-use-fullscreen-animation. + + 2014-10-11 Leo Liu + + * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes): + Use strings. + (cfengine3-create-imenu-index): New function. + (cfengine3-mode): Use it for `imenu-create-index-function'. + (cfengine-auto-mode): Improve and prefer cfengine3-mode when + buffer is empty. + + 2014-10-11 Jan Djärv + + * cus-start.el (all): Add ns-use-fullscreen-animation. + + 2014-10-11 Glenn Morris + + * calendar/diary-lib.el (diary-display-function): + Drop support for deprecated nil and list forms. + (diary-list-entries): Update for the above. + * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly. + + 2014-10-10 Leo Liu + + * window.el (temp-buffer-window-show): Make BUFFER a required arg. + (Bug#18656) + + 2014-10-10 Stefan Monnier + + * select.el (gui-selection-exists-p-alist): New method. + * menu-bar.el (menu-bar-edit-menu, clipboard-yank): + * simple.el (deactivate-mark): Use it. + * term/x-win.el (gui-selection-exists-p): + * term/w32-win.el (gui-selection-exists-p): + * term/pc-win.el (gui-selection-exists-p): + * term/ns-win.el (gui-selection-exists-p): Provide a backend instance. + + 2014-10-10 Glenn Morris + + * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227) + Fix :type. Allow t to mean no limit. + (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t. + + 2014-10-09 Glenn Morris + + * frame.el (display-monitor-attributes-list): Doc tweaks. + + 2014-10-09 Eli Zaretskii + + * faces.el (display-grayscale-p): Mention in the doc string that + the argument can be either a display name or a frame. + + * frame.el (display-pixel-height, display-pixel-width) + (display-mm-height, display-mm-width, display-backing-store) + (display-save-under, display-planes, display-color-cells) + (display-visual-class, display-monitor-attributes-list) + (display-screens): Mention in the doc string that the argument can + be either a display name or a frame. Improve the docs of the + monitor attributes. (Bug#18636) + + 2014-10-09 Martin Rudalics + + * term.el (term-window-width): Subtract 1 from the width when + any fringe has zero width, not just the right fringe. (Bug#18601) + + 2014-10-09 Stefan Monnier + + * frame.el (make-frame): Use t rather than nil for `w' (bug#18653). + + 2014-10-08 Leo Liu + + * emacs-lisp/cl-extra.el (cl-fresh-line): New function. + + 2014-10-08 Glenn Morris + + * calendar/cal-x.el (calendar-dedicate-diary): + Drop support for recently deleted aliases. + + 2014-10-08 Leo Liu + + * progmodes/cfengine.el (cfengine3-make-syntax-cache): + Always return a syntax. Replace call-process-shell-command with + process-file. Ensure cfengine-mode-syntax-functions-regex is + always set. Ensure cache when cfengine-cf-promises fails. + (Bug#18620) + + 2014-10-07 Glenn Morris + + * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup. + + 2014-10-07 Wilson Snyder + + Sync with upstream verilog-mode revision c075a492. + * progmodes/verilog-mode.el (verilog-mode-version): Bump. + (verilog-menu): Add AUTOINSERTLAST. + (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if' + is nil, fix indenting initial/final to match always statements, bug825. + Reported by Tim Clapp. + (verilog-extended-complete-re): Fix indentation of DPI-C imports, + bug557. Reported by ZeDong Mao and Jason Forkey. + (verilog-read-decls): Fix parsing typed interfaces. + Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas. + (verilog-auto-arg-ports): Fix verilog-auto-arg-format single. + (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793. + Reported by Pierre-David Pfister. + (verilog-auto-insert-lisp): Doc fix. + (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to + allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein. + (verilog-sk-ovm-class, verilog-sk-uvm-object) + (verilog-sk-uvm-component): Fix missing string keyword in class + skeletons, bug824. Reported by eldad faruhi. + + 2014-10-06 Stefan Monnier + + * term/w32-win.el: Move all code from 32-common-fns.el here. + (gui-select-text, gui-selection-value): Use w32 handlers in the w32 + console as well (bug#18629). + * w32-common-fns.el: Remove. + * loadup.el: Don't load w32-common-fns.el. + * w32-fns.elc: Don't require w32-common-fns. + + * icomplete.el: Move Iswitchb autoload here. Much simpler. + * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie. + Remove redundant obsolescence thingy. + * loadup.el: Don't load obsolete/loaddefs.el. + * Makefile.in (obsolete-autoloads): Remove. + (AUTOGENEL): Remove obsolete/loaddefs.el. + + 2014-10-06 Glenn Morris + + * Makefile.in (obsolete-autoloads): Write to a separate file, + to workaround autoloads bug. (Bug#17407) + (AUTOGENEL): Add obsolete/loaddefs.el. + * loadup.el: Load obsolete/loaddefs.el if present. + * subr.el (do-after-load-evaluation): + Don't warn about obsolete/loaddefs.el. + + * menu-bar.el (menu-bar-games-menu): Remove landmark. + It has zero relationship to a game. + + 2014-10-06 Leo Liu + + * imenu.el (imenu): Re-write for clarity. + + 2014-10-06 Glenn Morris + + Remove calendar code obsolete since at least version 23.1. + * calendar/cal-bahai.el (calendar-absolute-from-bahai) + (calendar-print-bahai-date, calendar-bahai-prompt-for-date) + (calendar-goto-bahai-date, list-bahai-diary-entries) + (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries) + (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry) + (insert-yearly-bahai-diary-entry): + * calendar/cal-china.el (chinese-calendar-time-zone) + (chinese-calendar-location-name) + (chinese-calendar-daylight-time-offset) + (chinese-calendar-standard-time-zone-name) + (chinese-calendar-daylight-time-zone-name) + (chinese-calendar-daylight-savings-starts) + (chinese-calendar-daylight-savings-ends) + (chinese-calendar-daylight-savings-starts-time) + (chinese-calendar-daylight-savings-ends-time) + (chinese-calendar-celestial-stem) + (chinese-calendar-terrestrial-branch) + (calendar-absolute-from-chinese, calendar-print-chinese-date) + (calendar-goto-chinese-date): + * calendar/cal-coptic.el (calendar-absolute-from-coptic) + (calendar-print-coptic-date, coptic-prompt-for-date) + (calendar-goto-coptic-date, calendar-absolute-from-ethiopic) + (calendar-print-ethiopic-date, calendar-goto-ethiopic-date): + * calendar/cal-french.el (calendar-absolute-from-french) + (calendar-print-french-date, calendar-goto-french-date): + * calendar/cal-hebrew.el (diary-sabbath-candles-minutes) + (calendar-absolute-from-hebrew, calendar-print-hebrew-date) + (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date) + (holiday-rosh-hashanah-etc, holiday-hanukkah) + (holiday-passover-etc, holiday-tisha-b-av-etc) + (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern) + (mark-hebrew-diary-entries, insert-hebrew-diary-entry) + (insert-monthly-hebrew-diary-entry) + (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates) + (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha) + (diary-sabbath-candles): + * calendar/cal-islam.el (calendar-absolute-from-islamic) + (calendar-print-islamic-date, calendar-goto-islamic-date) + (list-islamic-diary-entries, mark-islamic-calendar-date-pattern) + (mark-islamic-diary-entries, insert-islamic-diary-entry) + (insert-monthly-islamic-diary-entry) + (insert-yearly-islamic-diary-entry): + * calendar/cal-iso.el (calendar-absolute-from-iso) + (calendar-print-iso-date, calendar-iso-read-args) + (calendar-goto-iso-date, calendar-goto-iso-week): + * calendar/cal-julian.el (calendar-absolute-from-julian) + (calendar-print-julian-date, calendar-goto-julian-date) + (calendar-absolute-from-astro, calendar-print-astro-day-number) + (calendar-goto-astro-day-number): + * calendar/cal-mayan.el (calendar-print-mayan-date) + (calendar-next-haab-date, calendar-previous-haab-date) + (calendar-next-tzolkin-date, calendar-previous-tzolkin-date) + (calendar-next-calendar-round-date) + (calendar-previous-calendar-round-date) + (calendar-absolute-from-mayan-long-count) + (calendar-goto-mayan-long-count-date): + * calendar/cal-move.el (scroll-calendar-left) + (scroll-calendar-right, scroll-calendar-left-three-months) + (scroll-calendar-right-three-months): + * calendar/cal-persia.el (calendar-absolute-from-persian) + (calendar-print-persian-date, persian-prompt-for-date) + (calendar-goto-persian-date): + * calendar/cal-x.el (calendar-after-frame-setup-hooks): + * calendar/calendar.el (view-diary-entries-initially) + (mark-diary-entries-in-calendar, calendar-today-face) + (diary-face, holiday-face, view-calendar-holidays-initially) + (mark-holidays-in-calendar, initial-calendar-window-hook) + (today-visible-calendar-hook, today-invisible-calendar-hook) + (hebrew-diary-entry-symbol, islamic-diary-entry-symbol) + (bahai-diary-entry-symbol, american-date-diary-pattern) + (european-date-diary-pattern, european-calendar-display-form) + (american-calendar-display-form, holidays-in-diary-buffer) + (all-hebrew-calendar-holidays, all-christian-calendar-holidays) + (all-islamic-calendar-holidays, all-bahai-calendar-holidays) + (fancy-diary-buffer, increment-calendar-month) + (extract-calendar-month, extract-calendar-day) + (extract-calendar-year, exit-calendar, calendar-date-is-legal-p) + (mark-visible-calendar-date, calendar-version): + * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol) + (diary-display-hook, list-diary-entries-hook) + (mark-diary-entries-hook, nongregorian-diary-listing-hook) + (nongregorian-diary-marking-hook, print-diary-entries-hook) + (abbreviated-calendar-year, number-of-diary-entries) + (view-other-diary-entries, add-to-diary-list) + (include-other-diary-files, simple-diary-display) + (fancy-diary-display, print-diary-entries, mark-diary-entries) + (mark-sexp-diary-entries, mark-included-diary-files) + (mark-calendar-days-named, mark-calendar-month) + (mark-calendar-date-pattern, sort-diary-entries) + (list-sexp-diary-entries, make-diary-entry, insert-diary-entry) + (insert-weekly-diary-entry, insert-monthly-diary-entry) + (insert-yearly-diary-entry, insert-anniversary-diary-entry) + (insert-block-diary-entry, insert-cyclic-diary-entry) + (fancy-diary-font-lock-keywords, fancy-diary-display-mode): + * calendar/holidays.el (general-holidays, oriental-holidays) + (local-holidays, other-holidays, hebrew-holidays) + (christian-holidays, islamic-holidays, bahai-holidays) + (solar-holidays, list-calendar-holidays) + (check-calendar-holidays, mark-calendar-holidays) + (filter-visible-calendar-holidays): + * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon) + (diary-phases-of-moon): Remove obsolete aliases. + * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook. + * calendar/cal-x.el (calendar-one-frame-setup) + (calendar-only-one-frame-setup, calendar-two-frame-setup): + Remove obsolete functions. + (cal-x-load-hook): Remove obsolete hook. + * calendar/calendar.el (european-calendar-style): + Remove obsolete variable. + (calendar-date-style): No longer consult european-calendar-style. + * calendar/calendar.el (european-calendar, american-calendar): + Remove obsolete commands. + * calendar/calendar.el (calendar-for-loop): Remove obsolete macro. + * calendar/diary-lib.el (diary-face): Remove obsolete variable. + (diary-font-lock-date-forms, diary-fancy-font-lock-keywords): + Use the face `diary' instead of the variable `diary-face'. + * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2) + (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables. + * calendar/icalendar.el (icalendar--date-style): Remove function. + Replace all uses with calendar-date-style. + * textmodes/remember.el (calendar-date-style): Declare. + (remember-diary-convert-entry): + No longer consult european-calendar-style. + + 2014-10-05 Leo Liu + + * imenu.el (imenu-default-goto-function): Fix typo. + + 2014-10-04 Thomas Fitzsimmons + + * net/ntlm.el (ntlm-build-auth-request): + Add NTLM2 Session support. (Bug#15603) + + 2014-10-04 Glenn Morris + + * apropos.el (apropos-symbols-internal): + Avoid error with non-symbol properties. (Bug#18337#16) + + * startup.el (command-line): + Handle altered user-emacs-directory in load-path warning. (Bug#18512) + + 2014-10-04 Martin Rudalics + + * window.el (window-full-height-p): Make it behave correctly for + minibuffer window. + (window-current-scroll-bars): Fix code. + (fit-frame-to-buffer): Use window-scroll-bar-height instead of + window-scroll-bars. + * frame.el (frame-current-scroll-bars): Fix doc-string. + * scroll-bar.el (toggle-horizontal-scroll-bar): New command. + + 2014-10-04 Mark Oteiza (tiny change) + + * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488) + + 2014-10-04 Glenn Morris + + * frame.el (frame-monitor-attributes) + (display-monitor-attributes-list): Doc fixes. + + 2014-10-04 Stefan Monnier + + Merge trivially safe differences from standalone CC-mode. + * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol + just to then pass it to `symbol-value'. + (prog-mode): Provide fallback definition, if needed. + * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'. + Remove "cl-" prefix accordingly. + * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or + characterp depending on the type of characters. + (c-font-lock-enum-tail): Remove unused var `start'. + * progmodes/cc-engine.el: Load CL at compile-time. + (c-declare-lang-variables): Use mapcan. + (c-append-to-state-cache): Remove unused var `ce+1'. + (c-parse-state-state): Make buffer-local. + (c-ssb-lit-begin): Remove unused var `pps-end-pos'. + (c-just-after-func-arglist-p): Remove unused var `end'. + * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined. + (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier. + (c-make-keywords-re): Use delete-dups. + (c-get-current-file): Avoid file-name-base. + * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var + `close-paren-inserted'. + * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration. + + * progmodes/python.el: Avoid building unneeded markers. + (python-font-lock-keywords, python-indent-dedent-line) + (python-fill-paren, python-shell-completion-complete-or-indent): + Prefer point over point-marker. + (inferior-python-mode): Remove redundant completion settings. + + 2014-10-03 Dmitry Gutov + + * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement. + (vc-svn-ignore): Use it. (Bug#18619) + + 2014-10-03 Martin Rudalics + + * frame.el (toggle-frame-maximized, toggle-frame-fullscreen): + In doc-string mention need to set `frame-resize-pixelwise'. + + 2014-10-03 Stefan Monnier + + * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp, + similarly to Rogers's 2010-06-16 change for the remote case + (bug#18605). + + 2014-10-03 Stefan Monnier + + New gui-selection-value consolidating x-selection-value. + * select.el (gui-selection-value-alist): New method. + (gui-selection-value): New function. + (x-selection-value): Make it an obsolete alias. + * simple.el (interprogram-paste-function): Default to + gui-selection-value. + * w32-common-fns.el (w32-get-selection-value): Simplify. + (x-selection-value): Remove alias. + (interprogram-paste-function): Don't set. + (gui-selection-value): Define for w32. + * term/x-win.el (gui-selection-value): Define for x. + (x--selection-value): Rename from x--selection-value. + (interprogram-paste-function): Don't set. + * term/pc-win.el (w16-get-selection-value): Simplify. + (msdos-initialize-window-system): Don't set + interprogram-paste-function. + (gui-selection-value): Define for pc. + * term/ns-win.el (x-selection-value): Remove. + (gui-selection-value): Define for ns, instead. + * term/common-win.el (x-setup-function-keys): Don't set + interprogram-paste-function. + * obsolete/mouse-sel.el (mouse-sel-get-selection-function): + Use gui-selection-value. + + 2014-10-02 David Raynes (tiny change) + + * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614). + + 2014-10-02 Stefan Monnier + + * obsolete/lucid.el (read-number): Remove, redundant. + * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate): + Remove, broken. + + 2014-10-02 Glenn Morris + + * emacs-lisp/package.el (package-import-keyring): + Create gnupg directory private. (Bug#17625#155) + + 2014-10-02 Stefan Monnier + + * progmodes/python.el (python-shell-completion-get-completions): + Use python-shell--prompt-calculated-input-regexp from the + process buffer (bug#18582). + Don't assume that `line' comes from the process buffer. + + 2014-10-02 Stefan Monnier + + * frame.el: Use lexical-binding (bug#18598). + (make-frame): Use t rather than nil for tty's window-system. + * startup.el (command-line): Use gui-method. + + Consolidate management/ownership of selections. + * select.el (gui-get-selection-alist): New method. + (gui-get-selection): Use it. Rename from x-get-selection. + (x-get-selection): Define as obsolete alias. + (x-get-clipboard): Mark obsolete. + (gui-get-primary-selection): New function. + (x-get-selection-value): Mark obsolete. + (gui-own-selection-alist, gui-disown-selection-alist) + (gui-selection-owner-p-alist): New methods. + (gui-set-selection): Use them. Rename from x-set-selection. + (x-set-selection): Define as obsolete alias. + (gui--valid-simple-selection-p): Rename from + x-valid-simple-selection-p. + * w32-common-fns.el (gui-own-selection, gui-disown-selection) + (gui-selection-owner-p, gui-get-selection): Define for w32. + (w32-get-selection-value): Rename from x-get-selection-value. + Use the new gui-last-selected-text. + * term/x-win.el (x-get-selection-value): Remove. + (x-clipboard-yank): Declare obsolete. + (gui-own-selection, gui-disown-selection, gui-get-selection) + (gui-selection-owner-p): Define for x. + * term/w32-win.el (w32-win-suspend-error): Rename from + x-win-suspend-error. + * term/pc-win.el (w16-get-selection-value): Rename from + x-get-selection-value. + (w16-selection-owner-p): Rename from x-selection-owner-p. + (gui-own-selection, gui-disown-selection, gui-get-selection) + (gui-selection-owner-p): Define for pc. + (w16--select-text): New function. + * term/ns-win.el (gui-own-selection, gui-disown-selection) + (gui-get-selection, gui-selection-owner-p): Define for ns. + * term.el (term-mouse-paste): + * mouse.el (mouse-yank-primary): Use gui-get-primary-selection. + + 2014-10-02 H. Dieter Wilhelm + + * calc/calc-help.el (calc-describe-thing): Quote strings + which could look like regexps. + + 2014-10-01 Stefan Monnier + + Consolidate x-select-text. + * frame.el (gui-method, gui-method-define, gui-method-declare) + (gui-call): New macros. + (gui-method--name): New function. + (frame-creation-function-alist): Use gui-method-declare. + (make-frame): Use gui-method. + * select.el (gui-select-enable-clipboard): Rename from + x-select-enable-clipboard and move here. + (x-select-enable-clipboard): Define as obsolete alias. + (gui-last-selected-text): New var, to replace x-last-selected-text. + (gui-select-text): New GUI method. + (gui-select-text): New function. + (x-select-text): Define as obsolete alias. + * term/common-win.el (x-select-enable-clipboard, x-select-text): + Move to select.el. + * simple.el (interprogram-cut-function): Change default to + x-select-text. + (interprogram-paste-function): Change default to `ignore'. + * w32-common-fns.el (interprogram-cut-function): Don't modify. + * term/x-win.el (interprogram-cut-function): Don't modify. + (gui-select-text): Add method for x. + * term/w32-win.el (gui-select-text): Add method for w32. + * term/pc-win.el (x-last-selected-text): Remove, use + gui-last-selected-text instead. + (msdos-initialize-window-system): Don't set interprogram-cut-function. + (gui-select-text): Add method for pc. + * term/ns-win.el (ns-last-selected-text): Remove, use + gui-last-selected-text instead. + (gui-select-text): Add method for ns. + (x-setup-function-keys): Don't change interprogram-cut-function. + * loadup.el ("startup"): Load after "frame". + * subr.el (package--builtin-versions, package--description-file): + Move from startup.el. + * startup.el (package--builtin-versions, package--description-file): + Move to subr.el. + (handle-args-function-alist, window-system-initialization-alist): + Use gui-method-declare. + (command-line): Use gui-method. + + 2014-10-01 Stefan Monnier + + * subr.el (alist-get): New accessor. + * emacs-lisp/gv.el (alist-get): Provide expander. + * winner.el (winner-remember): + * tempo.el (tempo-use-tag-list): + * progmodes/gud.el (minor-mode-map-alist): + * international/mule-cmds.el (define-char-code-property): + * frameset.el (frameset-filter-params): + * files.el (dir-locals-set-class-variables): + * register.el (get-register, set-register): + * calc/calc-yank.el (calc-set-register): Use it. + * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete. + * tooltip.el (tooltip-set-param): Mark as obsolete. + (tooltip-show): Use alist-get instead. + * ses.el (ses--alist-get): Remove. Use alist-get instead. + + 2014-10-01 Ulf Jasper + + * net/newst-backend.el: Remove Time-stamp. Rename variable + `newsticker--download-logos' to `newsticker-download-logos' and + make it customizable. + (newsticker--sentinel-work): Move xml-workarounds to function + `newsticker--do-xml-workarounds', call unless libxml-parser is + used. Allow single quote in regexp for encoding. + Use libxml-parser if available, else fall back to `xml-parse-region'. + Take care of possibly missing namespace prefixes (like "RDF" + instead of "rdf:RDF") when checking xml nodes and attributes (as + libxml correctly removes the prefixes). Always use Atom 1.0 as + fallback feed type. Rename `newsticker--download-logos' to + `newsticker-download-logos' + (newsticker--unxml, newsticker--unxml-node) + (newsticker--unxml-attribute): New. + (newsticker--parse-atom-1.0): Call `unxml' in case that embedded + HTML code has become part of the xml parse tree. + (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care + of possibly missing namespace prefixes. + (newsticker--parse-generic-items): Code formatting. Typo. + (newsticker--images-dir): Add trailing slash. + (newsticker--image-get): Fix error message. + + * net/newst-plainview.el: Remove Time-stamp. + + * net/newst-reader.el: Remove Time-stamp. + (newsticker-download-logos): Rename variable + `newsticker--download-logos' to `newsticker-download-logos' and + make it customizable. + (newsticker--print-extra-elements): Add optional parameter + 'htmlish for using html markup. Amend list of ignored elements. + (newsticker--do-print-extra-element): Add parameter 'htmlish for + using html markup. + + * net/newst-ticker.el: Remove Time-stamp. + + * net/newst-treeview.el (newsticker--treeview-item-show): Use html + for formatting extra elements. + + * net/newsticker.el: Remove Time-stamp, Version. + (newsticker-version): Make obsolete. + + 2014-09-30 Leonardo Nobrega (tiny change) + + * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB + (bug#18462). + + 2014-09-30 Stefan Monnier + + * emacs-lisp/package.el (package-check-signature): Default to nil if + GPG is not available. + (package-refresh-contents): Don't mess with the keyring if we won't + check the signatures anyway. + + 2014-09-30 Stefan Monnier + + * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col. + (ses-center, ses-center-span): Use them. + (ses-print-cell): Bind them while calling the printer. + (row, col, maxrow, maxcol): Don't declare as dynamically scoped. + (ses-dorange): Revert last change. + (ses-calculate-cell): Don't bind row&col dynamically while evaluating + the formula. + (ses-set-cell): Avoid `eval'. + (ses--time-check): Rename it from ses-time-check and turn it into + a macro. + + * ses.el (ses-setup): Don't assume modifying the iteration var of + dotimes affects the iteration (bug#18191). + + 2014-09-30 Vincent Belaïche + + * ses.el (ses-calculate-cell): Bind row and col dynamically to + their values with 'cl-progv'. + (ses-dorange): Bind row, col, maxrow and maxcol dynamically to + their values with 'cl-progv', also use non-interned symbols for + row, minrow, maxrow, mincol and maxcol. + (maxrow maxcol): New defvar, to make the compiler happy. + + 2014-09-30 Stefan Monnier + + * minibuffer.el (completion-at-point): Emit warning for ill-behaved + completion functions. + + 2014-09-29 Stefan Monnier + + * ses.el (ses--letref): Quote value before it gets re-evaluated. + + 2014-09-28 Thien-Thi Nguyen + + Font-lock `cl-flet*', too. + * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): + Add "flet*" to intermediate var `cl-lib-kw'. + + 2014-09-27 Stefan Monnier + + * epg-config.el (epg-gpg-program): Use the plain program names rather + than their absolute file name. + + * subr.el (track-mouse): New macro. + * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): + Remove track-mouse case. + * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove. + + 2014-09-27 Leo Liu + + * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar. + + * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko. + + 2014-09-27 Stefan Monnier + + * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match): + Handle the case where `match' is :pcase--succeed or :pcase--fail + (bug#18554). + + Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el. + * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode. + (eldoc-schedule-timer): Obey it. + (eldoc-documentation-function): Default to nil. + (eldoc-mode): Don't enable if eldoc-documentation-function is not set. + (eldoc-documentation-function-default, eldoc-get-fnsym-args-string) + (eldoc-highlight-function-argument, eldoc-get-var-docstring) + (eldoc-last-data-store, eldoc-docstring-first-line) + (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp) + (eldoc-beginning-of-sexp, eldoc-current-symbol) + (eldoc-function-argstring): Move to elisp-mode.el. + (eldoc-symbol-function): Remove, unused. + * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*". + (elisp-completion-at-point): Rename from lisp-completion-at-point. + (elisp--preceding-sexp): Rename from preceding-sexp. + * loadup.el: Load new file progmodes/elisp-mode. + * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function. + * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables) + (lisp--local-variables-completion-table, lisp--expect-function-p) + (lisp--form-quoted-p, lisp--company-doc-buffer) + (lisp--company-doc-string, lisp--company-location) + (lisp-completion-at-point): Move to elisp-mode.el. + * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table, + extracted from emacs-lisp-mode-syntax-table. + (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to + elisp-mode.el. + (lisp-imenu-generic-expression): Add comments to document what comes + from which Lisp dialect. + (emacs-lisp-mode-map, emacs-lisp-byte-compile) + (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook) + (emacs-lisp-mode, emacs-list-byte-code-comment-re) + (emacs-lisp-byte-code-comment) + (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode) + (lisp-interaction-mode-map, lisp-interaction-mode) + (eval-print-last-sexp, last-sexp-setup-props) + (last-sexp-toggle-display, prin1-char, preceding-sexp) + (eval-last-sexp-1, eval-last-sexp-print-value) + (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp) + (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el. + + 2014-09-26 Paul Eggert + + * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp. + Do not match file names that end in '/', as they cannot be 'grep' + hits nowadays. This prevents confusion when 'grep -r' reports a + match in a file whose basename is ':12345:'. Conversely, do not + require exactly the same sequence of spaces and tabs after both + colons, and allow spaces or tabs before the second colon, as per + the POSIX spec for 'grep' output. + + 2014-09-26 Leo Liu + + Add cl-parse-integer based on parse-integer (Bug#18557) + * calendar/parse-time.el (parse-time-digits): Remove. + (digit-char-p, parse-integer) Moved to cl-lib.el. + (parse-time-tokenize, parse-time-rules, parse-time-string): + Use cl-parse-integer. + + * emacs-lisp/cl-extra.el (cl-parse-integer): New function. + + * emacs-lisp/cl-lib.el (cl-digit-char-table): New var. + (cl-digit-char-p): New function. + + 2014-09-25 Juri Linkov + + * vc/add-log.el (change-log-next-buffer): Don't create an empty + buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9]. + Return the current buffer if no files match the default pattern + ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547) + + 2014-09-25 Stefan Monnier + + * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify + the global vc-handled-backends (bug#18535). + + 2014-09-24 Stefan Monnier + + * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518). + Suggested by . + + 2014-09-24 Ulf Jasper + + * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id): + Rename from `newsticker--treeview-do-get-node'. + (newsticker--treeview-get-node-by-id): + Rename from `newsticker--treeview-get-node'. + (newsticker--treeview-buffer-init) + (newsticker--treeview-buffer-init): Disable buffer undo. + (newsticker--treeview-unfold-node): Adapt to modified + `newsticker--group-find-parent-group'. + (newsticker--group-do-find-group): + Rename from `newsticker--group-do-find-group-for-feed'. + Now works for both, groups and feeds. + (newsticker--group-find-parent-group): + Rename from `newsticker--group-find-group-for-feed'. + Now works for both, groups and feeds. + (newsticker--group-do-get-parent-group) + (newsticker--group-get-parent-group): Remove. + (newsticker-group-add-group): Change interactive prompts. + (newsticker-group-add-group): Finally jump to added group. + (newsticker-group-delete-group): Finally jump to current feed. + (newsticker--group-do-rename-group, newsticker-group-rename-group) + (newsticker--get-group-names, newsticker--group-names): New. + (newsticker-group-move-feed): Finally jump to moved feed. + (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up) + (newsticker-group-shift-group-down) + (newsticker-group-shift-group-up, newsticker--group-shift): New. + (newsticker-treeview-mode-map): New keybindings for new shift commands. + + * net/newst-backend.el (newsticker--item-list) + (newsticker--item-position, newsticker--prev-message) + (newsticker--scrollable-text): Move to newst-ticker.el. + + * net/newst-ticker.el (newsticker--item-list) + (newsticker--item-position, newsticker--prev-message) + (newsticker--scrollable-text): Move from newst-backend.el. + + 2014-09-22 Kan-Ru Chen + + * window.el (fit-window-to-buffer): When counting buffer width, + count the whole visible buffer. Correctly convert the body-height + to pixel size for window-text-pixel-size (Bug#18498). + + 2014-09-22 Sam Steingold + + * progmodes/sql.el (sql-product-alist): Improve the Vertica entry. + (sql-execute): Use `special-mode'. + + 2014-09-22 Stefan Monnier + + Add pcase-defmacro, as well as `quote' and `app' patterns. + * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp. + * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns. + (pcase--funcall, pcase--eval): New functions. + (pcase--u1): Use them for guard, pred, let, and app. + (\`): Use the new feature to generate better code for vector patterns. + * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote. + (pcase--upat): Remove. + (pcase--macroexpand): Don't hardcode handling of `. + (pcase--split-consp, pcase--split-vector): Remove. + (pcase--split-equal): Disregard ` since it's expanded away. + (pcase--split-member): Optimize for quote rather than for `. + (pcase--split-pred): Optimize for quote rather than for `. + (pcase--u1): Remove handling of ` (and of `or' and `and'). + Quote non-selfquoting values when passing them to `eq'. + Drop `app's let-binding if the variable is not used. + (pcase--q1): Remove. + (`): Define as a pattern macro. + * emacs-lisp/pcase.el (pcase--match): New smart-constructor function. + (pcase--expand pcase--q1, pcase--app-subst-match): Use it. + (pcase--macroexpand): Handle self-quoting patterns here, expand them to + quote patterns. + (pcase--split-match): Don't hoist or/and here any more. + (pcase--split-equal): Optimize quote patterns as well as ` patterns. + (pcase--flip): New helper macro. + (pcase--u1): Optimize the memq case directly. + Don't handle neither self-quoting nor and/or patterns any more. + * emacs-lisp/pcase.el (pcase-defmacro): New macro. + (pcase--macroexpand): New function. + (pcase--expand): Use it. + * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest): + New optimization functions. + (pcase--u1): Add support for `quote' and `app'. + (pcase): Document them in the docstring. + + 2014-09-22 Stefan Monnier + + Use lexical-bindin in Ibuffer. + * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused. + (ibuffer-compile-format): Simplify. + (ibuffer-clear-summary-columns): Simplify. + * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third + elem of dotimes when we don't refer to the iteration var from it. + (ibuffer-toggle-sorting-mode): Avoid add-to-list. + * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op): + Silence byte-compiler. + + 2014-09-22 Stefan Monnier + + * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda + expression for a list. + + * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage + for functions with no arguments. + + * mpc.el (mpc-data-directory): Use locate-user-emacs-file. + (mpc-volume-refresh): Make sure the corresponding header-line is updated. + + 2014-09-17 Tom Willemse (tiny change) + + * simple.el (clone-indirect-buffer): Mention the return value + (bug#18478). + + * progmodes/prog-mode.el (prog-mode-hook): Replace reference to + Text mode in docstring (bug#18464). + + 2014-09-21 Stefan Monnier + + * progmodes/perl-mode.el (perl-syntax-propertize-function): + Accept underscores in identifiers after "sub" (bug#18502). + + 2014-09-21 Tassilo Horn + + * textmodes/reftex-sel.el (reftex-select-label-mode) + (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes + from special-mode (instead of fundamental-mode) and propertize + with font-lock-face instead of just face. (Bug#18496) + + * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto. + + 2014-09-19 Dmitry Gutov + + * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate + `table-etc' when `end' is non-nil. + (lisp-completion-at-point): Move `end' back if it's after quote. + If in comment or string, only complete when after backquote. + (Bug#18265) + (lisp-completion-at-point): Don't use + `lisp--local-variables-completion-table' in the + `lisp--form-quoted-p' case. + + 2014-09-19 Dmitry Gutov + + * emacs-lisp/lisp.el (lisp--expect-function-p) + (lisp--form-quoted-p): New functions. + (lisp-completion-at-point): Use them to see if we're completing a + variable reference, a function name, or just any symbol. + http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html + + 2014-09-18 Ivan Kanis + + * net/shr.el, net/eww.el: Don't override `shr-width', but + introduce a new variable `shr-internal-width'. This allows users + to specify a width themselves. + + 2014-09-18 Lars Magne Ingebrigtsen + + * image-mode.el (image-toggle-display-image): If we have a + `fit-width' or a `fit-height', don't limit the size of the image + to the window size, because that doesn't preserve the aspect ratio. + * image-mode.el: Move defvars earlier to avoid a byte-compilation + warning. + + 2014-09-17 Reuben Thomas + + * progmodes/js.el: Add interpreter-mode-alist support for various + JavaScript interpreters. + + 2014-09-17 Paul Eggert + + Don't assume 'grep' supports GREP_OPTIONS. + The GREP_OPTIONS environment variable is planned to be marked + obsolescent in GNU grep, due to problems in its use, so stop + relying on it. + * progmodes/grep.el (grep-highlight-matches): Document this. + (grep-process-setup): Do not set GREP_OPTIONS. + (grep-compute-defaults): Use an explicit --color option if supported. + + 2014-09-16 Stefan Monnier + + * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers): + Don't add outdated key-shortcut cache (bug#18482). + + 2014-09-15 Glenn Morris + + * image.el (image-multi-frame-p): Fix thinko - do not force + a delay if none was specified. (Bug#18334) + + 2014-09-15 Kan-Ru Chen + + * window.el (fit-window-to-buffer): Doc fix. + + 2014-09-15 Ivan Shmakov + + * desktop.el (desktop-create-buffer): Check that buffers are still live + before burying them (bug#18373). + + 2014-09-15 Glenn Morris + + * calendar/diary-lib.el (diary-list-entries): + Restore 24.3 display behavior. (Bug#18381) + + 2014-09-15 Eli Zaretskii + + * mouse.el (mouse-drag-line): On text-mode frames, count the mode + line and header line as 1 pixel. This fixes the 1-"pixel" (row) + discrepancy between window-pixel-edges and mouse events, and + avoids moving mode line up when the mouse click is on the modeline + and no drag is attempted. + + 2014-09-14 Daniel Colascione + + * register.el (insert-register): Change default interactive + insertion mode. + + 2014-09-14 Michael Albinus + + * net/tramp-cache.el (tramp-flush-file-function): Simplify check. + Suppress debug messages. + + * net/tramp.el (tramp-file-name-handler): + * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where + appropriate. + + 2014-09-13 Christopher Schmidt + + * calendar/calendar.el (calendar-update-mode-line): + Do not overwrite mode-line-format if calendar-mode-line-format is + nil. (Bug#18467) + + 2014-09-13 Leo Liu + + * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var. + (pcase--expand): Use it. + (pcase-exhaustive): New macro. (Bug#16567) + + * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): + Add pcase-exhaustive. + + 2014-09-13 Eli Zaretskii + + * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part + using the specified transfer-encoding, if any, or 'undecided'. + (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are + broken at the window margin. + + 2013-12-27 Ken Olum + + Support rendering of HTML parts in Rmail (bug#4258). + * mail/rmailmm.el (rmail-mime-process): Handle text/html + separately from other text/ types. Suppress tagline for + multipart body. + (rmail-mime-parse): Don't change visibility of tagline here. + (rmail-mime-set-bulk-data, rmail-mime-insert-bulk): + Handle text/html specially. + (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables. + (rmail-mime-insert-html, rmail-mime-render-html-shr) + (rmail-mime-render-html-lynx): New functions. + (rmail-mime-fix-inserted-faces): New function. + (rmail-mime-process-multipart): Find the best part to show + following rmail-mime-prefer-html if set. + (rmail-mime-searching): New variable. + (rmail-search-mime-message): Bind rmail-mime-searching to + suppress rendering while searching. + + 2014-09-12 Sam Steingold + + * progmodes/sql.el (sql-product-alist): Add vertica. + (sql-vertica-program, sql-vertica-options) + (sql-vertica-login-params, sql-comint-vertica, sql-vertica): + New functions and variables to support Vertica. + Inspired by code by Roman Scherer . + + 2014-09-11 Paul Eggert + + * ses.el (ses-file-format-extend-parameter-list): Rename from + ses-file-format-extend-paramter-list, to correct a misspelling. + All uses changed. + + 2014-09-10 Alan Mackenzie + + CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc + gets loaded at run-time). + * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the + c-lang-const to c-make-no-parens-syntax-table and correct the + logic. + (c-no-parens-syntax-table): Correct the logic of the + c-lang-defvar. + + 2014-09-10 Stefan Monnier + + CC-mode: Set open-paren-in-column-0-is-defun-start to nil; + plus misc cleanup. + * progmodes/cc-mode.el (c-basic-common-init): + Set open-paren-in-column-0-is-defun-start. + (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords): + Remove declarations, unused. + (run-mode-hooks): Remove declaration. + (font-lock-defaults): Use plain `defvar' to declare. + (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp. + * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'. + (c-make-mode-syntax-table): Don't micro-optimize. + (c-keywords, c-keyword-member-alist): Simplify. + (c-kwds-lang-consts): Don't eval at compile-time. + (c-primary-expr-regexp): Comment out unused vars. + * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level. + (c-font-byte-compile): New var. + (c--compile): New function. Use it instead of `byte-compile'. + (c-cpp-matchers): Quote the value returned by + `c-make-syntactic-matcher' in case it's not self-evaluating. + (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in + parentheses instead (in case MATCHER happens to be a list). + (c-font-lock-enum-tail): Remove unused var `start'. + (c-font-lock-objc-methods): Silence byte-compiler warnings. + * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if' + test into an argument. + * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property) + (c-get-char-property): Don't use `eval' just to unquote a constant. + (c-use-extents): Remove. Use (featurep 'xemacs), compiled + more efficiently. + (c-put-char-property-fun): Don't call `byte-compile' by hand. + (c-clear-char-property, c-clear-char-properties): Check that `property' + is a quoted constant. + (c-emacs-features): Remove `infodock', `syntax-properties', and + `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep + 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after + changing buffer, so we don't have to setq them again afterwards. + (c-lang-const): Remove redundant symbolp assertions. + (c-find-assignment-for-mode): Use `or'. + * Makefile.in (compile-one-process): Remove cc-mode dependency. + + 2014-09-09 Sam Steingold + + * progmodes/sql.el (sql-default-directory): Fix type annotation. + + 2014-09-09 Stefan Monnier + + * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use. + Change doc comments into docstrings. + * Makefile.in: Remove cc-awk dependency. + + 2014-09-08 Sam Steingold + + * progmodes/sql.el (sql-send-line-and-next): New command, + bound to C-c C-n. + (sql-show-sqli-buffer): Display the buffer instead of its name and + bind the command to C-c C-z. + (sql-default-directory): New user option. + (sql-product-interactive): Bind `default-directory' to it to + enable remote connections using Tramp. + (sql-set-sqli-buffer): Call `sql-product-interactive' when no + suitable buffer is available. + + 2014-09-08 Glenn Morris + + * calendar/calendar.el (calendar-basic-setup): + Fix calendar-view-holidays-initially-flag and fancy display. + * calendar/diary-lib.el (diary-live-p): Doc fix. + + * calendar/calendar.el (calendar-basic-setup): + Avoid clobbering calendar with diary. (Bug#18381) + + 2014-09-08 Stefan Monnier + + * vc/vc-dir.el (vc-dir-update): Don't burp in corner case. + + 2014-09-08 Lars Ljung (tiny change) + + * isearch.el (isearch-yank-word-or-char): Obey superword-mode + as well (bug#18400). + + 2014-09-08 Eli Zaretskii + + * subr.el (posn-actual-col-row): Doc fix. (Bug#18385) + + 2014-09-06 Leo Liu + + * emacs-lisp/pcase.el (pcase): Doc fix. + (pcase--split-vector): New function. + (pcase--q1): Support vector qpattern. (Bug#18327) + + 2014-09-05 Sam Steingold + + * textmodes/tex-mode.el (tex-print-file-extension): New user + option. + (tex-print): Use it instead of the hard-coded string. + + 2014-09-05 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-start-file-process): + Expand `default-directory'. + + 2014-09-05 Martin Rudalics + + * scroll-bar.el (horizontal-scroll-bars-available-p): + New function. + (horizontal-scroll-bar-mode): Rewrite using + horizontal-scroll-bars-available-p. + * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using + horizontal-scroll-bars-available-p. + + 2014-09-05 Stefan Monnier + + * subr.el (call-process-shell-command, process-file-shell-command): + Make the `args' obsolete (bug#18409). + (start-process-shell-command, start-file-process-shell-command): + Use `declare'. + + 2014-09-05 Jay Belanger + + * calc/calc-forms.el (math-normalize-hms): Do a better check for + "negative" hms forms. + + 2014-09-04 Rasmus Pank Roulund + + * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status + returns nil (bug#18391). + + 2014-09-04 Stefan Monnier + + * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip + terminating paren (bug#18352). + (eldoc-last-data-store): Return cached data. + (eldoc-get-var-docstring): Avoid setq. + (eldoc-get-fnsym-args-string): Clarify data flow. + + 2014-09-04 Thierry Volpiatto + + * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the + case where we're currently providing part of the &rest arg after some + &key args, as in define-ibuffer-op (bug#18048). + + 2014-09-03 Stefan Monnier + + * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing + buffer-local setting of which-func-mode. + (which-func-mode): Use defvar-local. + (which-function-mode): Don't reset which-func-mode in each buffer since + it might have been set by someone else. + (which-func-update-ediff-windows): Check which-function-mode. + + 2014-09-03 Martin Rudalics + + * frame.el (frame-initialize): Remove horizontal-scroll-bars + from frame-initial-frame-alist. + * scroll-bar.el (previous-horizontal-scroll-bar-mode) + (horizontal-scroll-bar-mode-explicit) + (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode) + (toggle-horizontal-scroll-bar): Remove. + (horizontal-scroll-bar-mode): Remove defcustom. + (horizontal-scroll-bar-mode): Fix doc-string. + (scroll-bar-toolkit-scroll) + (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs. + + 2014-09-03 Stefan Monnier + + * emacs-lisp/package.el (package-generate-description-file): + Properly quote the arguments (bug#18332). Change second arg. + (package--alist-to-plist-args): Rename from package--alist-to-plist and + quote the elements. + (package--make-autoloads-and-stuff): Fix the test for pre-existence of + the *-pkg.el file. Adjust to new calling convention of + package-generate-description-file. + + * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282). + (gud-gdb-completions): Remove obsolete workaround. + + 2014-09-03 Eli Zaretskii + + * subr.el (posn-col-row): Revert the change from commit + 2010-11-13T21:07:58Z!eliz@gnu.org, which + was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca + monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and + introduced an off-by-one error in the reported row when there is a + header line. (Bug#18384) + + 2014-09-03 Fabián Ezequiel Gallina + + * progmodes/python.el (python-indent-post-self-insert-function): + Avoid electric colon at beginning-of-defun. (Bug#18228) + + 2014-09-03 Glenn Morris + + * tutorial.el (tutorial--display-changes): + Fix 2014-08-01 change. (Bug#18382) + + 2014-09-03 Ken Brown + + * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to + the Cygwin-w32 build. (Bug#18347) + + 2014-09-03 Glenn Morris + + * tar-mode.el (tar--extract, tar-extract): + Avoid permanently disabling undo in extracted buffers. (Bug#18344) + + 2014-09-03 Stefan Monnier + + * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better + handle multiline elements (bug#18380). + + 2014-09-01 Eli Zaretskii + + * ls-lisp.el (ls-lisp-use-string-collate) + (ls-lisp-UCA-like-collation): New defcustoms. + (ls-lisp-string-lessp): Use them to control sorting by file + names. (Bug#18051) + (ls-lisp-version-lessp): New function. + (ls-lisp-handle-switches): Use it to implement the -v switch of + GNU ls. + (ls-lisp--insert-directory): Mention the -v switch in the doc string. + + 2014-08-31 Christoph Scholtes + + * ibuffer.el: Replace mode-specific quit function with + `quit-window' via `special-mode'. + (ibuffer-mode-map): Use keybindings from special-mode-map instead + of local overrides. + (ibuffer): Don't store previous windows configuration. + Let `quit-window' handle restoring. + (ibuffer-quit): Remove function. Use `quit-window' instead. + (ibuffer-restore-window-config-on-quit): Remove variable. + (ibuffer-prev-window-config): Remove variable. + + 2014-08-29 Michael Heerdegen + + * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function + name instead of variable name in hook docstring. (Bug#18349) + + 2014-08-29 Martin Rudalics + + * window.el (display-buffer-at-bottom): Prefer bottom-left + window to other bottom windows. Reuse a bottom window if it + shows the buffer already. Suggested by Juri Linkov + in discussion of (Bug#18181). + + 2014-08-29 Leo Liu + + * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to + append to minibuffer-setup-hook. (Bug#18341) + + 2014-08-28 Stefan Monnier + + * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the + byte-compiler. + (lookup-syntax-properties): Silence byte-compiler. + (c-lang-defconst): Quote the code with `lambda' rather than with + `quote'. + (c-lang-const): Avoid unneeded setq. + (c-lang-constants-under-evaluation): Add docstring. + (c-lang--novalue): New constant. + (c-find-assignment-for-mode): Use it instead of c-lang-constants. + (c-get-lang-constant): Same here. + Get the mode's value using `funcall' now that the code is quoted + with `lambda'. + + 2014-08-28 Michael Albinus + + * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'. + (Bug#18326) + + 2014-08-28 Martin Rudalics + + * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new + interpretation of `portion-whole'. + + 2014-08-28 Michael Albinus + + * net/tramp-adb.el: Spell author name correctly. + + 2014-08-28 João Távora + + * net/shr.el (shr-expand-url): Plain expand-file-name is not enough; + use url-expand-file-name. (Bug#18310) + + 2014-08-28 Glenn Morris + + * emulation/cua-rect.el (cua--highlight-rectangle): + Avoid error at point-min. (Bug#18309) + + 2014-08-28 Stefan Monnier + + * progmodes/python.el (python-shell-prompt-detect): Remove redundant + executable-find (bug#18244). + + * simple.el (self-insert-uses-region-functions): Defvar. + + 2014-08-28 Glenn Morris + + * subr.el (remq): Revert 2014-08-25 doc change (not always true). + + 2014-08-27 Dmitry Antipov + + * startup.el (normal-top-level): Now use internal--top-level-message. + + 2014-08-26 Dmitry Antipov + + * startup.el (normal-top-level): Use top-level-message. + + 2014-08-25 Lars Magne Ingebrigtsen + + * net/shr.el (shr-copy-url): Encode copied URL to avoid getting + URLs containing spaces and the like. + + 2014-08-25 Christoph Scholtes + + * subr.el (remq): Fix docstring (Bug#18253). + + 2014-08-25 Christoph Scholtes + + * replace.el (query-replace): Fix typo in docstring (Bug#18320). + + 2014-08-24 Alan Mackenzie + + Handle C++11's "auto" and "decltype" constructions. + * progmodes/cc-engine.el (c-forward-type): Enhance to recognise + and return 'decltype. + (c-forward-decl-or-cast-1): New let variables backup-kwd-sym, + prev-kwd-sym, new-style-auto. Enhance to handle the new "auto" + keyword. + * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the + "decltype" keyword. + (c-font-lock-c++-new): Handle "decltype" constructions. + * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re): + New c-lang-defconsts/defvars. + (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars. + (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars. + (c-typeless-decl-kwds): Append "auto" onto the C++ value. + (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value. + + Make ">>" act as double template ender in C++ Mode. (Bug#11386) + * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split + off from c->-op-cont-re. + (c->-op-cont-tokens): Change to use the above. + (c->-op-without->-cont-regexp): New lang-const. + * progmodes/cc-engine.el (c-forward-<>-arglist-recur): + Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens. + + + 2014-08-23 Alan Mackenzie + + * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite + loop, bug #18306. The bug was introduced on 2014-08-02. + + 2014-08-21 Eli Zaretskii + + * textmodes/texnfo-upd.el (texinfo-specific-section-type): + Don't recognize a Top node if there are other sectioning commands + earlier in the Texinfo file. This fixes a bug in + texinfo-make-menu and avoids inflooping in + texinfo-all-menus-update when they are invoked on texinfo.texi. + + 2014-08-21 Martin Rudalics + + * window.el (window--side-window-p): New function. + (split-window, window-splittable-p): Use window--side-window-p to + determine whether WINDOW can be split (Bug#18304). + * calendar/calendar.el (calendar-basic-setup): Fix one call of + `window-splittable-p' and add another (Bug#18304). + + 2014-08-20 Sam Steingold + + * progmodes/python.el (python-new-pythonpath): Extract from + `python-shell-calculate-process-environment'. + + 2014-08-18 Thierry Volpiatto + + * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support + for &key args (bug#18048). + + 2014-08-18 Stefan Monnier + + * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default. + (eldoc-function-argstring-format): Remove. + (eldoc-function-argstring): Always return upcase args. + Use help-make-usage. Don't add parens. + (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since + it's too late to do it right (bug#18048). + + 2014-08-18 Eli Zaretskii + + * scroll-bar.el (scroll-bar-horizontal-drag-1) + (scroll-bar-toolkit-horizontal-scroll): When determining the + paragraph direction, use the buffer of the window designated in + the event. + + 2014-08-16 Andreas Schwab + + * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in + context of unified diff. + + 2014-08-16 Paul Eggert + + Add dependencies to fix loaddefs race during parallel builds. + Without this, for example, 'make -j bootstrap' can fail and report + "Opening input file: no such file or directory, + .../lisp/calendar/diary-loaddefs.el ... recipe for target + 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule + got confused because diary-loaddefs.el was being built in parallel. + * Makefile.in ($(CAL_DIR)/diary-loaddefs.el): + Depend on $(CAL_DIR)/cal-loaddefs.el. + ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el. + + 2014-08-16 Martin Rudalics + + * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of + portion-whole for scrolling right-to-left text. + + 2014-08-15 Leo Liu + + * speedbar.el (speedbar-generic-list-tag-p): Allow special + elements from imenu. + + 2014-08-15 Glenn Morris + + * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual. + + 2014-08-13 Jan Nieuwenhuizen + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Add Guile regexpses. + + 2014-08-13 Jan Nieuwenhuizen + + * progmodes/gud.el (guiler): New function. Starts the Guile REPL; + add Guile debugger support for GUD. + + 2014-08-13 Stefan Monnier + + * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function. + (mouse-sel--ignore): New function. + (mouse-sel-has-been-enabled, mouse-sel-original-bindings) + (mouse-sel-original-interprogram-cut-function) + (mouse-sel-original-interprogram-paste-function): Remove. + + 2014-08-13 Eric S. Raymond + + * vc/vc-git.el (vc-git-resolve-when-done): New function. + Call "git add" when there are no longer conflict markers. + + 2014-08-13 Rüdiger Sonderfeld + + * vc/vc-git.el (vc-git-find-file-hook): New function. + Adds support for calling smerge (and resolve) on a conflicted file. + (vc-git-conflicted-files): New function. + Useful in itself and a step towards better smerge support. + + 2014-08-12 Stefan Monnier + + * mpc.el (mpc-reorder): Don't bother splitting the "active" elements + to the first part if they're the same as the selection. + + 2014-08-12 Lars Magne Ingebrigtsen + + * image-mode.el (image-transform-reset): New command and menu item. + (image-mode-map): Rearrange the menu items to put presumably more + obscure items at the end. + + 2014-08-12 Juri Linkov + + * vc/vc-annotate.el (vc-annotate-background-mode): + Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189) + + 2014-08-12 Stefan Monnier + + * files.el (out-of-memory-warning-percentage): Turn it off by default. + + 2014-08-11 Sam Steingold + + * textmodes/sgml-mode.el (sgml-validate-command): Set depending on + the presence of known validators (tidy, (o)nsgmls). + + 2014-08-11 Ulf Jasper + + Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227) + * net/newst-treeview.el (newsticker-treeview-date-format): New. + (newsticker--treeview-list-add-item): + Use `newsticker-treeview-date-format'. + + 2014-08-11 Glenn Morris + + * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which + chose coding system for writing before backing up, since it causes + a more serious problem than the one it solves. (Closes Bug#18141, + reopens Bug#13522.) + + 2014-08-11 Martin Rudalics + + * window.el (window-total-size): Make doc-string more self-contained. + + * window.el (display-buffer-below-selected): Restore original + behavior if buffer is already displayed in the window below the + selected one (Bug#18181). + + 2014-08-11 Stefan Monnier + + * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down + event (bug#18212). + + 2014-08-11 Eli Zaretskii + + * info.el (info): Doc fix. + + 2014-08-11 Stefan Monnier + + * info.el (Info-mode-map): Override a global down-mouse-2 binding + (bug#18212). + + 2014-08-11 Eli Zaretskii + + * simple.el (default-line-height): A floating-point value of + line-spacing means a fraction of the default frame font's height, + not of the font currently used by the 'default' face. + Truncate the pixel value, like the display engine does. + (window-screen-lines): Use window-inside-pixel-edges for + determining the window height in pixels. (Bug#18195) + + 2014-08-11 Grégoire Jadi + + * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023) + + 2014-08-10 Ulf Jasper + + Enumerate evaluated sexp diary entries (Bug#7911). + * calendar/icalendar.el (icalendar-export-sexp-enumerate-all) + (icalendar-export-sexp-enumeration-days): New. + (icalendar-export-region): Now `icalendar--convert-to-ical' + returns a cons cell or a list of cons cells. + (icalendar--convert-to-ical): Take care of + `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells. + (icalendar--convert-ordinary-to-ical) + (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical) + (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical) + (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical) + (icalendar--convert-anniversary-to-ical): Return cons cell. + (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp + entries. Return (list of) cons cells. + + 2014-08-09 Juri Linkov + + * vc/vc-annotate.el (vc-annotate-background-mode): Add :set + to reevaluate `vc-annotate-color-map'. (Bug#18189) + + 2014-08-09 Alan Mackenzie + + * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check + for top-level that can cause unacceptable slow-down in scrolling. + See email Subject: Huge {...} blocks in C/C++ again, from Dmitry + Antipov from 2013-10-14 in emacs-devel. + + 2014-08-08 Rüdiger Sonderfeld + + * ibuffer.el (ibuffer-mode-map): Use toggle button for + `ibuffer-auto-mode' menu entry. + (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option. + + 2014-08-08 Matthias Meulien + + * progmodes/prog-mode.el (prog-mode-hook): Make customizable. + (Bug#16394) + + 2014-08-07 Martin Rudalics + + * window.el (window--min-size-1): Explicitly set WINDOW arg in + calls of window-min-pixel-height and window-min-pixel-width. + + 2014-08-07 Reuben Thomas + + * progmodes/ada-mode.el: + * net/tramp.el (tramp-handle-file-symlink-p): + * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment + about VMS, which we no longer support. + * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS, + and fix a FIXME, using convert-standard-filename in place of + removed ada-convert-file-name. + + 2014-08-07 Eli Zaretskii + + * files.el (auto-mode-alist): Remove support for VMS from a pattern. + + 2014-08-07 Reuben Thomas + + Refer to MS-DOS using the same name everywhere. + * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and + ``msdog'' become ``MS-DOS''. + + 2014-08-07 Michael Albinus + + * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): + Use cached "remote-copy-args" value, if available. (Bug#18199) + + 2014-08-07 Leo Liu + + * help.el (temp-buffer-setup-hook,temp-buffer-show-hook): + Revert change on 2014-03-22. + + 2014-08-06 Ulf Jasper + + * calendar/icalendar.el (icalendar--diarytime-to-isotime) + (icalendar--convert-ordinary-to-ical): Allow for missing minutes + (Bug#13750). + + + 2014-08-05 Lars Magne Ingebrigtsen + + * image-mode.el (image-toggle-display-image): Always rescale images + to not be bigger than the current window. + + 2014-08-05 Eric Brown (tiny change) + + * net/eww.el (eww-bookmarks-directory): New variable. + (eww-write-bookmarks): Use it. + (eww-read-bookmarks): Ditto. + + 2014-08-05 Lars Magne Ingebrigtsen + + * net/shr.el (shr-copy-url): Also copy the image URL. + + 2014-08-05 Michael Albinus + + * net/tramp-cache.el (tramp-flush-file-function): Suppress function + also for Tramp working buffers. + + 2014-08-04 Fabián Ezequiel Gallina + + * progmodes/python.el: Fix completions inside (i)pdb. + (python-shell-completion-pdb-string-code): Make obsolete. + (python-shell-completion-get-completions): + Use python-shell-completion-string-code resending setup code + continuously for (i)pdb. + + 2014-08-04 Paul Eggert + + * rect.el (rectangle--default-line-number-format): Rename + from misspelled rectange--default-line-number-format (Bug#18045). + All uses changed. + + 2014-08-03 Paul Eggert + + Don't mishandle year-9999 dates (Bug#18176). + * calendar/parse-time.el (parse-time-rules): + Allow years up to most-positive-fixnum. + * calendar/time-date.el (date-to-time): + Pass "Specified time is not representable" errors through. + + 2014-08-02 Fabián Ezequiel Gallina + + * progmodes/python.el: Completion code cleanups. + (python-shell-completion-get-completions): Detect and send import + statements directly to completion function. + (python-shell-completion-at-point): Simplify prompt calculation + and import vs input completion logic. + + 2014-08-02 Alan Mackenzie + + Fix confusion in C++ file caused by comma in "= {1,2},". + Bug #17756. + * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking + for a statement boundary marked by "}", check there's no "=" + before the "{". + (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with + non-nil `comma-delim' argument. + * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an + initializer expression more accurately. + + Correct loop termination condition in c-syntactic-skip-backward. + * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for + the situation where, after moving back out of a literal, + skip-chars-backward doesn't move further, yet checks have still to + be done. + + 2014-08-01 Eli Zaretskii + + * tutorial.el (tutorial--display-changes): Accept punctuation + characters before the key binding. (Bug#18146) + + 2014-07-31 Fabián Ezequiel Gallina + + * progmodes/python.el: Shell output capture enhancements. + (python-shell-accept-process-output): New function. + (inferior-python-mode) + (python-shell-send-setup-code): Use it. + + 2014-07-30 Christophe Deleuze (tiny change) + + * calendar/icalendar.el (icalendar--decode-isodatetime): + Use actual current-time-zone when converting to local time. (Bug#15408) + + 2014-07-29 Martin Rudalics + + * window.el (window--state-put-2): Handle horizontal scroll + bars, if present. + + 2014-07-29 Rüdiger Sonderfeld + + * menu-bar.el (menu-bar-update-buffers): Update item list format + in `buffers-menu' to confirm with changes to `get_keyelt' + (r117463). (Bug#18016) + + 2014-07-28 Fabián Ezequiel Gallina + + * progmodes/python.el (inferior-python-mode): Make input prompts + read-only. + + 2014-07-28 Emilio C. Lopes + + * net/tramp-sh.el (tramp-get-remote-python): Also search for + executables named "python2" or "python3". + (tramp-get-remote-uid-with-python): Use parentheses around + arguments to `print' to make it compatible with Python 3. + (tramp-get-remote-gid-with-python): Ditto. (Bug#18118) + + 2014-07-28 Eli Zaretskii + + * window.el (window--pixel-to-total): Use FRAME's root window, not + that of the selected frame. (Bug#18112, Bug#16674) + + 2014-07-28 Andreas Schwab + + * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix. + (Bug#18117) + + 2014-07-28 Fabián Ezequiel Gallina + + * progmodes/python.el (inferior-python-mode): Doc fix. + + 2014-07-28 Stephen Berman + + * calendar/todo-mode.el (todo-edit-item--next-key): If next key is + not a character, ignore it instead of raising an error. + + * calendar/todo-mode.el: Fix handling of marked items and make + minor code improvements. + (todo-edit-item): If there are marked items, ensure user can only + invoke editing commands that work with marked items. + (todo-edit-item--text): When there are marked items, make it a + noop if invoked with point not on an item; otherwise, ensure it + applies only to item at point. + (todo-item-undone): If there are marked not-done items, return + point to its original position before signaling user error. + (todo--user-error-if-marked-done-item): New function. + (todo-edit-item--header, todo-edit-item--diary-inclusion) + (todo-item-done): Use it. + + 2014-07-28 Glenn Morris + + * files.el (toggle-read-only): Re-add basic doc-string. + * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage. + + * progmodes/prolog.el (prolog-mode-keybindings-edit): + Replace missing `switch-to-prolog' with `run-prolog'. + (switch-to-prolog): Define as (obsolete) alias, as in 23.4. + + 2014-07-28 Stephen Berman + + * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting + of file-wide setting when changing category-wide setting. + + 2014-07-28 Stephen Berman + + * doc-view.el (doc-view-open-text): Don't require that the + document is saved in a file (e.g., email attachment). + + 2014-07-28 Fabián Ezequiel Gallina + + Parse completion input in a iPython friendly way. (Bug#18084) + * progmodes/python.el + (python-shell-completion-at-point): Rename from + python-shell-completion-complete-at-point. + (inferior-python-mode): Use it. + (python-completion-at-point): Rename from + python-completion-complete-at-point. Parse input up to first + backward occurrence of whitespace, open-paren, close-paren or + string delimiter. + (python-mode): Use it. + + 2014-07-28 Fabián Ezequiel Gallina + + * progmodes/python.el + (python-shell-with-shell-buffer): New macro. + (python-shell-font-lock-get-or-create-buffer) + (python-shell-font-lock-kill-buffer) + (python-shell-font-lock-with-font-lock-buffer) + (python-shell-font-lock-cleanup-buffer) + (python-shell-font-lock-toggle): Use it. + (python-shell-font-lock-turn-on) + (python-shell-font-lock-turn-off): Use it. Make command. + + 2014-07-28 Fabián Ezequiel Gallina + + Grab all Python process output before inferior-python-mode hooks. + * progmodes/python.el (inferior-python-mode): + Call accept-process-output and sit-for to ensure all output for process + has been received before running hooks. + (python-shell-internal-get-or-create-process): + Cleanup accept-process-output and sit-for calls. + + 2014-07-28 Fabián Ezequiel Gallina + + More robust shell startup and code setup. + * progmodes/python.el (python-shell-make-comint): + Remove accept-process-output call. + (python-shell-get-buffer): Return current buffer if major-mode is + inferior-python-mode. + (python-shell-get-or-create-process): Use it. + (python-shell-send-setup-code): Send all setup code in one string, + output success message and accept-process-output. + + 2014-07-27 Eli Zaretskii + + * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll): + Add rudimentary support for bidirectional text. + + 2014-07-27 Martin Rudalics + + * frame.el (frame-notice-user-settings): Rewrite using + frame-initial-frame-tool-bar-height. + * menu-bar.el (menu-bar-horizontal-scroll-bar) + (menu-bar-no-horizontal-scroll-bar): New functions. + (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal + scroll bars. + * scroll-bar.el (scroll-bar-lines) + (set-horizontal-scroll-bar-mode) + (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode) + (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag) + (scroll-bar-toolkit-horizontal-scroll): New functions. + (horizontal-scroll-bar-mode) + (previous-horizontal-scroll-bar-mode) + (horizontal-scroll-bar-mode-explicit): New variables. + (horizontal-scroll-bar-mode): New option. + (toggle-horizontal-scroll-bar): Do something. + (top-level): Bind horizontal-scroll-bar mouse-1. + * startup.el (tool-bar-originally-present): Remove variable. + (command-line): Don't set tool-bar-originally-present. + * window.el (window-min-height): Update doc-string. + (window--dump-frame): Dump horizontal scroll bar values. + (window--min-size-1): Handle minibuffer window separately. + Count in margins and horizontal scroll bar. Return safe value + iff IGNORE equals 'safe. + (frame-windows-min-size): New function (used by frame resizing + routines). + (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal + scroll bars. + (window--sanitize-window-sizes): New function. + (window-split-min-size): Remove. + (split-window): Count divider-width. Don't use + `window-split-min-size' any more. Reword error messages. + Sanitize windows sizes after splitting. + + 2014-07-27 Thien-Thi Nguyen + + Use `defvar-local' more. + * progmodes/hideshow.el + (hs-c-start-regexp, hs-block-start-regexp) + (hs-block-start-mdata-select, hs-block-end-regexp) + (hs-forward-sexp-func, hs-adjust-block-beginning): ...here; + remove corresponding `make-variable-buffer-local' top-level calls. + + 2014-07-27 Fabián Ezequiel Gallina + + Cleanup error signals. (Bug#18067) + * progmodes/python.el + (python-indent-shift-left): Use user-error instead. + (python-shell-prompt-detect): Use lwarn with python group. + (python-completion-complete-at-point) + (python-eldoc--get-doc-at-point): Don't signal error. + + 2014-07-27 Fabián Ezequiel Gallina + + Support for packages in Python shell. (Bug#13570) + * progmodes/python.el (python-shell--package-depth): New var. + (python-shell-package-enable): New command. + (python-util-list-directories, python-util-list-files) + (python-util-list-packages): New functions. + + 2014-07-27 Fabián Ezequiel Gallina + + Faster comint output. (Bug#16875) + * progmodes/python.el: + (python-comint-output-filter-function): Make obsolete. + (python-comint-postoutput-scroll-to-bottom): New function. + (inferior-python-mode): Set comint-output-filter-functions to a + minimum. + + 2014-07-27 Fabián Ezequiel Gallina + + * progmodes/python.el (python-shell-font-lock-post-command-hook): + Safeguard current point and undo history. + + 2014-07-26 Fabián Ezequiel Gallina + + Robust shell syntax highlighting. (Bug#18084, Bug#16875) + * progmodes/python.el: + (python-shell-prompt-input-regexps): Add iPython block prompt. + (python-shell-output-syntax-table): Delete var. + (python-shell-font-lock-with-font-lock-buffer): New macro. + (python-shell-font-lock-get-or-create-buffer) + (python-shell-font-lock-kill-buffer) + (python-shell-font-lock-cleanup-buffer) + (python-shell-font-lock-post-command-hook) + (python-shell-font-lock-turn-off): New functions. + (python-shell-font-lock-turn-on): New function. + (inferior-python-mode): Use it. + (python-shell-font-lock-toggle): New command. + (python-shell-font-lock-enable): Rename from + python-shell-enable-font-lock. + (run-python-internal): Use it. + (python-shell-font-lock-comint-output-filter-function): New function. + (python-shell-comint-end-of-output-p): New function. + (python-shell-output-filter): Use it. + (python-util-comint-last-prompt): New function. + (python-util-text-properties-replace-name): New function. + + 2014-07-25 Glenn Morris + + * vc/ediff-init.el (ediff-toggle-read-only-function): + * vc/ediff-util.el (ediff-toggle-read-only): + Replace obsolete toggle-read-only with read-only-mode. + + 2014-07-24 Michael Albinus + + * net/tramp-cache.el (tramp-flush-file-function): Wrap the code + with `save-match-data'. (Bug#18095) + + 2014-07-21 Vincent Belaïche + + * ses.el (ses-truncate-cell): Use cl-progv instead of eval in + order to ensure that row and col are lexically bound inside the + evaluated sexp. + + 2014-07-21 Glenn Morris + + * progmodes/hideif.el (hide-ifdef-mode-submap): + Also substitute read-only-mode. + * bindings.el (mode-line-toggle-read-only): + * bs.el (bs-toggle-readonly): + * buff-menu.el (Buffer-menu-toggle-read-only): + * dired.el (dired-toggle-read-only): + * files.el (view-read-only, find-file-read-only) + (find-file-read-only-other-window) + (find-file-read-only-other-frame): + * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only): + Doc fixes re toggle-read-only. + + 2014-07-21 Fabián Ezequiel Gallina + + * progmodes/python.el: Add comment about pipe buffering and + solutions for missing/delayed output in inferior Python shells. + (Bug#17304) + + * progmodes/python.el (python-mode): Don't set + mode-require-final-newline. (Bug#17990) + + Make python.el work with IPython automatically. (Bug#15510) + * progmodes/python.el: + (python-shell-completion-setup-code): New value supporting iPython. + (python-shell-completion-string-code): New value supporting iPython. + (python-shell-completion-get-completions): Use them. + (python-shell-completion-module-string-code): Make obsolete. + (python-shell-prompt-input-regexps) + (python-shell-prompt-output-regexps): Add safeguard for ipdb. + (python-shell-output-filter): Fix comment typo. + + Fix Python shell prompts detection for remote hosts. + * progmodes/python.el (python-shell-prompt-detect): + Replace call-process with process-file and make it more robust. + + Autodetect Python shell prompts. (Bug#17370) + * progmodes/python.el: + (python-shell-interpreter-interactive-arg) + (python-shell-prompt-detect-enabled) + (python-shell-prompt-detect-failure-warning) + (python-shell-prompt-input-regexps) + (python-shell-prompt-output-regexps): New vars. + (python-shell-prompt-calculated-input-regexp) + (python-shell-prompt-calculated-output-regexp): New vars. + (python-shell-get-process-name) + (python-shell-internal-get-process-name) + (python-shell-output-filter) + (python-shell-completion-get-completions): Use them. + (python-shell-prompt-detect) + (python-shell-prompt-validate-regexps): New functions. + (python-shell-prompt-set-calculated-regexps): New function. + (inferior-python-mode): Use it. Also honor overriden + python-shell-interpreter and python-shell-interpreter-args. + (python-shell-make-comint): Honor overriden + python-shell-interpreter and python-shell-interpreter-args. + (python-shell-get-or-create-process): Make it testable by allowing + to call run-python non-interactively. + (python-util-valid-regexp-p): New function. + (python-shell-prompt-regexp, python-shell-prompt-block-regexp) + (python-shell-prompt-output-regexp) + (python-shell-prompt-pdb-regexp): Use it as defcustom :safe. + + 2014-07-21 Stefan Monnier + + * emacs-lisp/smie.el (smie-config--guess-1): Split from + smie-config--guess. + (smie-config--guess): Use it. + + * emacs-lisp/edebug.el: Use nadvice. + (edebug-original-read): Remove. + (edebug--read): Rename from edebug-read and add `orig' arg. + (edebug-uninstall-read-eval-functions) + (edebug-install-read-eval-functions): Use nadvice. + (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol) + (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee) + (edebug-read-string, edebug-read-function): Use just `read'. + (edebug-original-debug-on-entry): Remove. + (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add + `orig' arg. + (debug-on-entry): Override with nadvice. + + * mouse.el (tear-off-window): Rename from mouse-tear-off-window since + it also makes sense to bind it to a non-mouse event. + + * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset. + + 2014-07-19 Stefan Monnier + + * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil + (bug#18015). + + * rect.el (rectangle--string-preview): Don't assume there + a non-nil default (bug#17984). + + 2014-07-16 Glenn Morris + + * desktop.el (after-init-hook): Disable startup frame restoration + in non-graphical situations. (Bug#17693) + + * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer + if it was "empty", or used for a different set of files. (Bug#17884) + + 2014-07-16 Eli Zaretskii + + * bindings.el (mode-line-remote): If default-directory is not a + string, don't call file-remote-p on it; instead state in the + help-echo that it is nil. (Bug#17986) + + 2014-07-14 Daniel Colascione + + * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all' + to `macroexpand-all' + + * progmodes/cc-defs.el (c-lang-defconst-eval-immediately): + Use `macroexpand-all' instead of `cl-macroexpand-all'. + + 2014-07-12 Paul Eggert + + Fix bug: C-x v v discarded existing log message (Bug#17884). + * vc/vc-dispatcher.el (vc-log-edit): + Don't clobber an already-existing log message. + + 2014-07-12 Glenn Morris + + * vc/log-edit.el (log-edit-changelog-entries): + Check for a visited-but-never-saved ChangeLog. + + 2014-07-12 Stefan Monnier + + * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting + a non-existing file (bug#17970). + + * faces.el (face-name): Undo last change. + (x-resolve-font-name): Don't call face-name (bug#17956). + + 2014-07-12 Fabián Ezequiel Gallina + + Fix dedenters and electric colon handling. (Bug#15163) + * progmodes/python.el + (python-rx-constituents): Add dedenter and block-ender. + (python-indent-dedenters, python-indent-block-enders): Delete. + (python-indent-context): Return new case for dedenter-statement. + (python-indent-calculate-indentation): Handle new case. + (python-indent-calculate-levels): Fix levels calculation for + dedenter statements. + (python-indent-post-self-insert-function): Fix colon handling. + (python-info-dedenter-opening-block-message): New function. + (python-indent-line): Use it. + (python-info-closing-block) + (python-info-closing-block-message): Remove. + (python-info-dedenter-opening-block-position) + (python-info-dedenter-opening-block-positions) + (python-info-dedenter-statement-p): New functions. + + 2014-07-11 Dmitry Antipov + + * files.el (out-of-memory-warning-percentage): New defcustom. + (warn-maybe-out-of-memory): Use it. + + 2014-07-11 Michael Albinus + + * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it + when calling `read-string'. (Bug#17839) + + 2014-07-10 Eli Zaretskii + + * files.el (warn-maybe-out-of-memory): Fix the wording of the + warning. + + 2014-07-10 Dmitry Antipov + + * files.el (warn-maybe-out-of-memory): New function. + (find-file-noselect): Use it. + + 2014-07-09 Sam Steingold + + * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword + `constant' like `bless', `return' &c + + 2014-07-09 Stefan Monnier + + * rect.el (apply-on-rectangle): Check forward-line really moved to the + next line. + + 2014-07-09 Stefan Monnier + + * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in + the middle of a line (bug#17896). + + 2014-07-09 Juri Linkov + + * startup.el (command-line): Append displaying the warning about + the errors in the init file to the end of `after-init-hook'. + (Bug#17927) + + * faces.el (face-name): Return input arg `face' as-is + when it's not a symbol. + (x-resolve-font-name): Don't check if the face is a symbol. + (Bug#17956) + + * facemenu.el (list-colors-print): In help-echo format use %.2f + instead of %d because now HSV values are floating-point components + between 0.0 and 1.0. + + 2014-07-09 Glenn Morris + + * emulation/cua-rect.el (cua--activate-rectangle): + Avoid setting cua--rectangle to nil. (Bug#17877) + + 2014-07-09 Stephen Berman + + * calendar/todo-mode.el: Fix wrong-type-argument error when + marking multiple consecutive items. + (todo-toggle-mark-item): Don't try to mark the empty lines at the + end of the todo and done items sections. Note in doc string that + items marked by passing a numeric prefix argument can include the + last todo and first done items. + (todo-mark-category): Don't try to mark the empty line between the + todo and done items sections. + + 2014-07-09 Stefan Monnier + + * emacs-lisp/edebug.el (edebug-eval-defun): Print result using + proper Lisp quoting (bug#17934). + + * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with + require-final-newline since prog-mode already took care of it (bug#17947). + + 2014-07-09 Stephen Berman + + * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and + refer to the Todo mode Info manual. Update the comment on + requiring cl-lib. + (todo-find-filtered-items-file): Add todo-prefix overlays. + (todo-filter-items): Reorder a let-bound variable to avoid a + wrong-type-argument error on canceling the file choice dialog. + + 2014-07-09 Stefan Monnier + + * progmodes/octave.el (inferior-octave-mode): + Set comint-input-ring-size to a number (bug#17912). + + 2014-07-09 Juri Linkov + + * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro' + and `isearch-mode' associated with nil. (Bug#17849) + + 2014-07-08 Stefan Monnier + + * linum.el (linum--face-height): New function (bug#17813). + (linum-update-window): Use it to adjust margin to linum's width. + + * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table. + * eshell/em-smart.el (eshell-smart-scroll-window): + Use with-selected-window. + + * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894). + Remove also pointless window&mark manipulation. + + * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case. + (perl-indent-line): Use syntax-ppss to detect we're in a doc-section. + (perl-continuation-line-p): Don't skip over anything else than labels. + Return the previous char. + (perl-calculate-indent): Use syntax-ppss instead of parse-start + and update callers accordingly. For continuation lines, check the + the case of array hashes. + (perl-backward-to-noncomment): Make it non-interactive. + (perl-backward-to-start-of-continued-exp): Rewrite. + + 2014-07-08 Sam Steingold + + * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next): + New user commands. + + 2014-07-08 Juri Linkov + + * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom. + (vc-annotate-color-map): Use less saturated colors (20%) for + background-mode. + (vc-annotate-very-old-color): Add default value for background-mode. + (vc-annotate-background): Set default value to nil since now text on + the default backgrounds should be legible in light and dark modes. + (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix. + (Bug#17808) + + 2014-07-08 Juri Linkov + + * simple.el (transpose-chars): Don't move point into read-only area. + (Bug#17829) + + 2014-07-08 Juri Linkov + + * window.el (with-displayed-buffer-window): New macro. + (with-temp-buffer-window, with-current-buffer-window): + Use `macroexp-let2' to evaluate and bind variables + in the same order as macro arguments. + (display-buffer--action-function-custom-type): + Add `display-buffer-below-selected' and `display-buffer-at-bottom'. + + * minibuffer.el (minibuffer-completion-help): Replace + `with-output-to-temp-buffer' with `with-displayed-buffer-window' + with actions that display *Completions* at-bottom when called + from the minibuffer, or below-selected in a normal buffer. + Associate `window-height' with `fit-window-to-buffer'. + Let-bind `pop-up-windows' to nil. + + * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window' + instead of `with-current-buffer-window'. (Bug#17809) + + 2014-07-07 Luke Lee + + * progmodes/hideif.el (hide-ifdef-env): Change to global. + (hide-ifdef-env-backup): New variable. + (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp): + New customizable variables. + (hif-clear-all-ifdef-defined): New defun. + (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region) + (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...". + (hif-tokenize): Fix for MS-DOS/Win EOL style. + (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide): + Fix bug to hide the correct #elif region(s). + (hif-range-elif): New defun. + (hif-recurse-level): New var. + (hif-evaluate-region, hif-evaluate-macro): New defun. + (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from + fully hidden. + (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block): + Better interaction. + + 2014-07-04 Michael Albinus + + * net/dbus.el (dbus-peer-handler): New defun. + (dbus-register-service): Register it. (Bug#17858) + (dbus-managed-objects-handler): Fix docstring. + + 2014-07-04 Phil Sainty + + * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var. + (narrow-to-defun): New arg include-comments, defaulting to it + (bug#16328). + + 2014-07-03 Stefan Monnier + + * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with + different calling convention to rectangle--unhighlight-for-redisplay. + + 2014-07-03 Michael Albinus + + * net/tramp.el (tramp-call-process): Handle error strings. + + * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'. + + * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime) + (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'. + + * net/trampver.el: Update release number. + + 2014-07-03 Juri Linkov + + * desktop.el (desktop-save): Rename arg `auto-save' to + `only-if-changed'. Doc fix. (Bug#17873) + + 2014-07-03 Stefan Monnier + + * mouse.el (mouse-yank-primary, mouse-yank-secondary): + Use insert-for-yank (bug#17271). + + 2014-07-03 Leo Liu + + * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp): + Support lexical-binding. + + 2014-07-03 Stefan Monnier + + * vc/log-edit.el (log-edit-goto-eoh): New function. + (log-edit--match-first-line): Use it (bug#17861). + + 2014-07-03 Glenn Morris + + * vc/log-edit.el (log-edit-hook): Add missing :version. + + 2014-07-03 Fabián Ezequiel Gallina + + * progmodes/python.el (python-indent-post-self-insert-function): + Enhancements to electric indentation behavior inside + parens. (Bug#17658) + + 2014-07-03 Stefan Monnier + + * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with + buffer-invisibility-spec (bug#17867). + + 2014-07-03 Andreas Schwab + + * vc/vc-git.el (vc-git-checkin): When operating on the whole tree + pass "-a". + + 2014-07-03 Glenn Morris + + * cus-edit.el (help): + * finder.el (finder-known-keywords): + * help.el (help-for-help-internal): + * vc/ediff-mult.el (ediff-meta-buffer-verbose-message) + (ediff-redraw-registry-buffer): + * vc/ediff-ptch.el (ediff-patch-file-internal): + Doc fixes re "online" help. (Bug#17803) + + * progmodes/idlwave.el (idlwave): Update url-link for custom group. + (idlwave-mode): Doc URL update. + + 2014-07-01 Juri Linkov + + * man.el: Display man pages immediately and use process-filter + to format them asynchronously. + (Man-width): Doc fix. + (man): Doc fix. + (Man-start-calling): Use `with-selected-window' to get + `frame-width' and `window-width'. + (Man-getpage-in-background): Call `Man-notify-when-ready' + immediately after creating a new buffer. Call `Man-mode' and set + `mode-line-process' in the created buffer. Set process-filter to + `Man-bgproc-filter' in start-process branch. In call-process branch + call either `Man-fontify-manpage' or `Man-cleanup-manpage'. + Use `Man-start-calling' inside `with-current-buffer'. + (Man-fontify-manpage): Don't print messages. Fix boundary condition. + (Man-cleanup-manpage): Don't print messages. + (Man-bgproc-filter): New function. + (Man-bgproc-sentinel): Add `save-excursion' to keep point when + user moved it during asynchronous formatting. Move calls of + `Man-fontify-manpage' and `Man-cleanup-manpage' to + `Man-bgproc-filter'. Move the call of `Man-mode' to + `Man-getpage-in-background'. Use `quit-restore-window' + instead of `kill-buffer'. Use `message' instead of `error' + because errors are caught by process sentinel. + (Man-mode): Move calls of `Man-build-page-list', + `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to + `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831) + + * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments' + for the message about the man page cleaned up. + + 2014-07-01 Mario Lang + + * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of + cosutomization option `gnutls-verify-error'. + + 2014-07-01 Stefan Monnier + + * simple.el (deactivate-mark, set-mark-command, handle-shift-selection): + Don't keep transient-mark-mode buffer-local when not needed (bug#6316). + + * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal) + (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal + is suspended (bug#17857). + + 2014-07-01 Michael Albinus + + * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell): + Prefer utf-8 coding. (Bug#17859) + + 2014-06-30 Fabián Ezequiel Gallina + + * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias + for `reverse'. + + 2014-06-30 Glenn Morris + + * emacs-lisp/autoload.el (autoload-ensure-writable): New variable. + (autoload-ensure-default-file): Maybe make existing output writable. + * Makefile.in (AUTOGEN_VCS): Remove. + (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS. + + 2014-06-30 Fabián Ezequiel Gallina + + * emacs-lisp/subr-x.el (string-reverse): Use `reverse'. + + 2014-06-30 Fabián Ezequiel Gallina + + New if-let, when-let, thread-first and thread-last macros. + + * emacs-lisp/subr-x.el + (internal--listify, internal--check-binding) + (internal--build-binding-value-form, internal--build-binding) + (internal--build-bindings): New functions. + (internal--thread-argument, thread-first, thread-last) + (if-let, when-let): New macros. + + 2014-06-30 Grégoire Jadi + + * net/rcirc.el (rcirc-buffer-process): Restore previous + behaviour. (Bug#17772) + + 2014-06-29 Alan Mackenzie + + Don't call c-parse-state when c++-template-syntax-table is active. + * progmodes/cc-engine.el (c-guess-continued-construct CASE G) + (c-guess-basic-syntax CASE 5D.3): Rearrange so that + c-syntactic-skip-backwards isn't called with the pertinent syntax table. + + 2014-06-28 Stephen Berman + + * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to + account for file-wide setting of todo-top-priorities-overrides. + Make code a bit cleaner. + + 2014-06-28 Glenn Morris + + * net/eww.el (eww-mode) : Make local. (Bug#17860) + + 2014-06-28 Stephen Berman + + * calendar/todo-mode.el (todo-prefix-overlays): If there is no + category-wide setting of todo-top-priorities-overrides, check for + a file-wide setting and fontify accordingly. + + 2014-06-28 Glenn Morris + + * subr.el (read-passwd): Warn about batch mode. (Bug#17839) + + 2014-06-28 Stefan Monnier + + * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage. + + 2014-06-28 K. Handa + + Fix Bug#17739. + + * composite.el: Setup composition-function-table for dotted circle. + (compose-gstring-for-dotted-circle): New function. + + * international/characters.el: Add category "^" to all + non-spacing characters. + + 2014-06-28 Glenn Morris + + * Makefile.in (doit): Remove force rule. + (custom-deps, finder-data, autoloads, update-subdirs) + (compile-one-process): PHONY targets do not need force rules. + + * Makefile.in (compile-main, compile, compile-always): + No need to explicitly pass variables to ourself in recursive calls. + + 2014-06-28 Stefan Monnier + + * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly. + + 2014-06-26 Glenn Morris + + * Makefile.in (update-authors): Update for moved authors.el. + + 2014-06-26 Leo Liu + + * skeleton.el (skeleton-end-hook): Default to nil and move the + work to skeleton-insert. (Bug#17850) + + 2014-06-26 Dmitry Antipov + + * calc/calc-alg.el (math-beforep): + * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style): + Simplify because string-lessp can accept symbols as args. + + 2014-06-26 Daiki Ueno + + * emacs-lisp/package.el (package--check-signature): + If package-check-signature is allow-unsigned, don't signal error when + we can't verify signature because of missing public key + (bug#17625). + + 2014-06-26 Glenn Morris + + * emacs-lisp/cl-macs.el (help-add-fundoc-usage): + Remove outdated declaration. + + * emacs-lisp/authors.el (authors-valid-file-names) + (authors-renamed-files-alist): Additions. + + 2014-06-26 Leo Liu + + * textmodes/picture.el (picture-set-tab-stops): + * ruler-mode.el (ruler-mode-mouse-add-tab-stop) + (ruler-mode-ruler): Fix to work with nil tab-stop-list. + + * progmodes/asm-mode.el (asm-calculate-indentation): + Use indent-next-tab-stop. + + * indent.el (indent-accumulate-tab-stops): New function. + + 2014-06-26 Stefan Monnier + + * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625). + (package-desc-status): Obey it. + + 2014-06-26 Stephen Berman + + * calendar/todo-mode.el: Fix two bugs. + (todo-insert-item--basic): If user cancels item insertion to + another category before setting priority, show original category + whether it is in the same or a different file. + (todo-set-item-priority): After selecting category, instead of + moving point to top, which extends an active region, restore it. + + 2014-06-26 Stefan Monnier + + * help-fns.el (describe-function-1): Check file-name is a string before + calling help-fns--autoloaded-p (bug#17564). + + 2014-06-26 Juri Linkov + + * desktop.el (desktop-auto-save-enable) + (desktop-auto-save-disable): New functions. + (desktop-save-mode, desktop-auto-save-timeout): Use them. + (desktop-read): Disable the autosave before loading the desktop, + and enable afterwards. (Bug#17351) + + 2014-06-26 Stefan Monnier + + Fix some indentation problem with \; and pipes (bug#17842). + * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&. + (sh-smie--default-forward-token, sh-smie--default-backward-token): + New functions. + (sh-smie-sh-forward-token, sh-smie-sh-backward-token) + (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them. + (sh-smie-sh-rules): Fix indentation of a pipe at BOL. + + 2014-06-26 Glenn Morris + + * emacs-lisp/find-func.el (find-function-C-source-directory): + Use file-accessible-directory-p. + + * ps-samp.el: Make it slightly less awful. + (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook): + (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key. + Only set local values. + (ps-article-subject, ps-article-author): Use standard functions + like mail-fetch-field. + (ps-info-file, ps-info-node): Use match-string. + (ps-jts-ps-setup, ps-jack-setup): Remove, merging into... + (ps-samp-ps-setup): ... new function. + + * progmodes/idlw-shell.el (idlwave-shell-make-temp-file): + Optimize away code unneeded on any modern Emacs. + + * emacs-lisp/authors.el: Move to ../admin. + + * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New. + + 2014-06-26 Luke Lee + + * progmodes/hideif.el (hif-string-to-number): Fix return value bug. + (hif-simple-token-only, hif-tokenize): Comment in detail mainly for + performance enhancements. + (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro + expansion. + (hif-factor, hif-string-concatenation, intern-safe): Support string + concatenation and argumented macro expansion. + (hif-if-valid-identifier-p, hif-define-operator, hif-flatten) + (hif-expand-token-list, hif-get-argument-list, hif-define-macro) + (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize) + (hif-canonicalize-tokens, hif-place-macro-invocation) + (hif-parse-macro-arglist): Mostly new functions for supporting + argumented macro expansion. + (hif-string-concatenation, hif-stringify, hif-token-concat) + (hif-token-stringification, hif-token-concatenation): + Stringification and concatenation. + (hif-find-next-relevant): Fix comments. + (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for + some cases involving #elif. + (hif-find-define, hif-add-new-defines): New functions for automatically + scanning of defined symbols. + (hide-ifdef-guts): Fix for defined symbol auto scanning. + (hide-ifdef-undef): Fix behavior to match CPP. + + 2014-06-25 Glenn Morris + + * Makefile.in ($(lisp)/progmodes/cc-defs.elc) + ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc) + ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc + files. They are not relevant to the original issue (bug#1004), + and cause unnecessary recompilation (bug#2151). + + 2014-06-25 Stefan Monnier + + * play/landmark.el: Use lexical-binding and avoid `intangible'. + (landmark--last-pos): New var. + (landmark--intangible-chars): New const. + (landmark--intangible): New function. + (landmark-mode, landmark-move): Use it. + (landmark-mode): Remove properties. + (landmark-plot-square, landmark-point-square, landmark-goto-xy) + (landmark-cross-qtuple): + Don't worry about `intangible' any more. + (landmark-click, landmark-point-y): Same; and don't assume point-min==1. + (landmark-init-display): Don't set `intangible' and `point-entered'. + (square): Remove. Inline it instead. + (landmark--distance): Rename from `distance'. + (landmark-calc-distance-of-robot-from): Rename from + calc-distance-of-robot-from. + (landmark-calc-smell-internal): Rename from calc-smell-internal. + + 2014-06-25 Dmitry Antipov + + * files.el (dir-locals-find-file, file-relative-name): + * info.el (Info-complete-menu-item): + * minibuffer.el (completion-table-subvert): Prefer string-prefix-p + to compare-strings to avoid out-of-range errors. + * subr.el (string-prefix-p): Adjust to match strict range + checking in compare-strings. + + 2014-06-24 Leonard Randall (tiny change) + + * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search + for comment lines non-greedy and stopping at newlines to fix stack + overflows with large files. + + 2014-06-24 Eli Barzilay + + * calculator.el (calculator-last-input): Drop 'ascii-character property + lookup. + + 2014-06-24 Leo Liu + + * align.el (align-adjust-col-for-rule): Unbreak due to defaulting + tab-stop-list to nil. (Bug#16381) + + * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop. + (indent-rigidly-left-to-tab-stop) + (indent-rigidly-right-to-tab-stop, tab-to-tab-stop) + (move-to-tab-stop): Change callers. + + 2014-06-24 Eli Zaretskii + + * skeleton.el (skeleton-insert): Yet another fix of the doc string + wrt behavior of \n as the first/last element of a skeleton. + + 2014-06-24 Michael Albinus + + * net/tramp-adb.el (tramp-adb-handle-process-file): + * net/tramp-sh.el (tramp-sh-handle-process-file): + * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise + the output buffer when DISPLAY is non-nil. (Bug#17815) + + 2014-06-24 Glenn Morris + + * play/landmark.el (landmark-move-down, landmark-move-up): + Fix 2007-10-20 change - preserve horizontal position. + + 2014-06-23 Sam Steingold + + * simple.el (kill-append): Remove undo boundary depending on ... + (kill-append-merge-undo): New user option. + + 2014-06-23 Stefan Monnier + + * simple.el (handle-shift-selection, exchange-point-and-mark) + (activate-mark): Set transient-mark-mode buffer-locally (bug#6316). + (transient-mark-mode): Use&set the global value. + * mouse.el (mouse-set-region-1, mouse-drag-track): Idem. + * emulation/edt.el (edt-emulation-off): Save&restore the global + transient-mark-mode setting. + * obsolete/pc-select.el (pc-selection-mode): Use the + transient-mark-mode function. + + 2014-06-23 Eli Zaretskii + + * international/fontset.el (script-representative-chars): + Add representative characters for scripts added in Unicode 7.0. + (otf-script-alist): Synchronize with the latest registry of OTF + script tags. + + * international/characters.el (char-script-table): Update for + scripts added and codepoint ranges changed in Unicode 7.0. + + 2014-06-23 Eli Barzilay + + * calculator.el (calculator-standard-displayer): Fix bug in use of + `calculator-groupize-number'. + (calculator-funcall): Fix broken `cl-flet' use by moving it into the + `eval' code, so it works in v24.3.1 too. + (calculator-last-input): Comment to clarify purpose. + + 2014-06-22 Mario Lang + + * textmodes/rst.el (rst-comment-region): From from -> from. + + * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and. + + 2013-06-22 Dmitry Antipov + + * electric.el (electric-layout-post-self-insert-function): + * emacs-lisp/ert.el (ert--insert-infos): + * obsolete/vi.el (vi-set-mark): + * term.el (term-handle-scroll): + * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry): + * wid-edit.el (widget-editable-list-value-create): + Prefer point-marker to copy-marker of point. + + 2014-06-21 Fabián Ezequiel Gallina + + Fix completion retrieval parsing (bug#17209). + * progmodes/python.el (python-mode): + (python-util-strip-string): New function. + (python-shell-completion-get-completions): Use it. + + 2014-06-21 Eli Zaretskii + + * skeleton.el (skeleton-insert): Fix last change. + + 2014-06-21 Fabián Ezequiel Gallina + + Enhancements for outline integration (bug#17796). + * progmodes/python.el (python-mode): Properly set + outline-heading-end-regexp so that comments after colons for + defuns are supported. + + 2014-06-21 Eli Zaretskii + + * skeleton.el (skeleton-insert): Doc fix. + + 2014-06-21 Stefan Monnier + + * emacs-lisp/smie.el (smie-config--guess): Fix typo. + (smie-config-guess): Use smie-config-local so the rules are obeyed + (bug#17818). + + * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events, + since it's already done inside the loop (bug#17819). + + 2014-06-21 Martin Rudalics + + * mouse.el (mouse-drag-line): Re-remove code initially removed + on 2013-03-09 and inadvertently reintroduced on 2013-11-30 + (Bug#17819). + + 2014-06-21 Stefan Monnier + + * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't + align with the surrounding parent (bug#17721). + + 2014-06-21 Eli Zaretskii + + * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline + locally to nil. + (texinfo-insert-block, texinfo-insert-@end) + (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to + local setting of skeleton-end-newline by adding an explicit \n to + the skeletons where appropriate. (Bug#17801) + + 2014-06-21 Stefan Monnier + + * emacs-lisp/smie.el (smie--hanging-eolp-function): New var. + (smie-indent--hanging-p): Use it. + * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621). + + 2014-06-21 Leo Liu + + * simple.el (read-quoted-char): Don't let help chars pop up help + buffer. (Bug#16617) + + 2014-06-21 Stefan Monnier + + * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as + for | (bug#17621). + + * xt-mouse.el (xterm-mouse--read-event-sequence-1000): + Drop unknown events instead of burping. + + 2014-06-21 Eli Zaretskii + + * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0 + and later. (Bug#17790) + + 2014-06-21 Juri Linkov + + * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated + to `soft'. (Bug#17554) + + 2014-06-21 Stefan Monnier + + * delsel.el (electric-newline-and-maybe-indent): Mark it as well + (bug#17737). + + 2014-06-21 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify + `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732) + + 2014-06-21 Michael Albinus + + * net/dbus.el (dbus-call-method): Push only non D-Bus events into + `unread-command-events'. + + 2014-06-19 William Xu + + * progmodes/hideif.el (hif-string-to-number): Don't return float for + hex integer constants (bug#17807). + + 2014-06-19 Stefan Monnier + + * international/mule-util.el (truncate-string-ellipsis): New var. + (truncate-string-to-width): Use it. + + 2014-06-19 Robert Brown (tiny change) + + * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun. + (lisp-string-in-doc-position-p): New function, extracted from + lisp-font-lock-syntactic-face-function. + (lisp-font-lock-syntactic-face-function): Use them (bug#9130). + + 2014-06-19 Grégoire Jadi + + * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769) + + 2014-06-18 Stefan Monnier + + * play/bubbles.el (bubbles--initialize, bubbles--show-scores) + (bubbles--game-over): Don't add `intangible' properties since they + didn't work anyway. + + 2014-06-18 Juri Linkov + + * vc/ediff-init.el (ediff-current-diff-Ancestor) + (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B) + (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A) + (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor): + Add `min-colors 88' version with removed black/white foregrounds. + (Bug#10181) + + 2014-06-18 Juri Linkov + + * vc/diff-mode.el (diff-changed): Empty face definition to use + `diff-removed' and `diff-added' on tty as well. (Bug#10181) + (diff-context): Use darker color on light background and + lighter color on dark background. + + 2014-06-18 Juri Linkov + + * vc/diff-mode.el (diff-refine-changed): Rename from + `diff-refine-change' for consistency with `diff-changed'. + (diff-refine-change): Add obsolete face alias. (Bug#10181) + + * vc/smerge-mode.el (smerge-refined-changed): Rename from + `smerge-refined-change'. + (smerge-refined-change): Add obsolete face alias. + + 2014-06-17 Stefan Monnier + + * rect.el (rectangle-preview): New custom. + (rectangle): New group. + (rectangle--pos-cols): Add `window' argument. + (rectangle--string-preview-state, rectangle--string-preview-window): + New vars. + (rectangle--string-flush-preview, rectangle--string-erase-preview) + (rectangle--space-to, rectangle--string-preview): New functions. + (string-rectangle): Use them. + (rectangle--inhibit-region-highlight): New var. + (rectangle--highlight-for-redisplay): Obey it. Make sure + `apply-on-region' uses the point-crutches of the right window. + Use :align-to rather than multiple spaces. + + 2014-06-16 Andrea Rossetti (tiny change) + + * ruler-mode.el (ruler-mode-window-col) + (ruler-mode-mouse-set-left-margin) + (ruler-mode-mouse-set-right-margin): Fix calculation of column + from mouse position (Bug#17768). + + 2014-06-16 Ron Schnell + + * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment + without varname or rhs causes crash. + (dun-ftp): Fix bug where blank ftp password is allowed, making it + impossible to win endgame. + (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what + rlogin is anymore. + (dun-help): Bump version number; update contact info. + + 2014-06-15 Eli Barzilay + + * calculator.el (calculator-prompt, calculator-remove-zeros) + (calculator-mode-hook, calculator-operators, calculator-stack) + (calculator-mode): Tweak docstring. + (calculator-user-operators): Tweak docstring, fix a bug in the last + example. + (calculator-displayer): `std' case has an optional boolean. + (calculator-displayers): Use the new boolean to group in decimal mode. + (calculator-mode-map, calculator, calculator-message) + (calculator-op-arity, calculator-add-operators) + (calculator-string-to-number, calculator-displayer-prev) + (calculator-displayer-next, calculator-remove-zeros) + (calculator-eng-display, calculator-number-to-string) + (calculator-update-display, calculator-last-input) + (calculator-clear-fragile, calculator-digit, calculator-decimal) + (calculator-exp, calculator-saved-move, calculator-clear) + (calculator-copy, calculator-put-value, calculator-help) + (calculator-expt, calculator-truncate): Minor code improvements. + (calculator-need-3-lines): New function pulling out code from + `calculator'. + (calculator-get-display): Rename from `calculator-get-prompt', and + improved. + (calculator-push-curnum): Rename from `calculator-curnum-value', and + extended for all uses of it. All callers changed. + (calculator-groupize-number): New utility for splitting a number into + groups. + (calculator-standard-displayer): Improve code, new optional argument to + use comma-split groups, make second argument optional too to use with + 'left/'right inputs. All callers changed. + (calculator-reduce-stack-once): New utility, doing the meat of what + `calculator-reduce-stack' used to do, much improved (mostly using + `pcase' for conciseness and clarity). + (calculator-reduce-stack): Now doing just the reduction loop using + `calculator-reduce-stack-once'. + (calculator-funcall): Improve code, make it work in v24.3.1 too. + (calculator-last-input): Improve code, remove some old cruft. + (calculator-quit): Kill `calculator-buffer' in electric mode too. + (calculator-integer-p): Remove. + (calculator-fact): Improve code, make it work on non-integer values + too (using truncated numbers). + + 2014-06-15 Michael Albinus + + Sync with Tramp 2.2.10. + + * net/tramp.el (tramp-methods): Tweak docstring. + (tramp-handle-file-accessible-directory-p): Check for + `file-readable-p' instead of `file-executable-p'. + (tramp-check-cached-permissions): + Use `tramp-compat-file-attributes'. + (tramp-call-process): Add new argument VEC. Adapt callees in all + tramp*.el files. + + * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages. + (tramp-adb-maybe-open-connection): Don't set + `tramp-current-*' variables. + + * net/tramp-cache.el (tramp-flush-file-function): Do not flush + file properties of temporary buffers. + + * net/tramp-ftp.el (top): Remove special handling for URL syntax. + + * net/tramp-gvfs.el (tramp-gvfs-methods) : Add. + (tramp-gvfs-handle-delete-file): Flush file + properties, not directory properties. + (tramp-gvfs-handle-file-attributes): Use `string-to-number' when + reading "unix::mode". + (tramp-gvfs-handle-file-name-all-completions): + Use "-h" option for "gvfs-ls". + (tramp-gvfs-url-file-name): `user' and `localname' could be nil. + (tramp-gvfs-send-command): Simplify traces. + + * net/tramp-sh.el (vc-handled-backends, vc-bzr-program) + (vc-git-program, vc-hg-program): Declare. + (tramp-methods) : Remove. It has never worked satisfactorily. + (tramp-methods) : Add new method. + (tramp-methods) : Redirect stderr to "/dev/null". + (tramp-methods) : Improve + `tramp-login-args'. + (tramp-default-user-alist): Add "nc". + (top): Remove completion function for "sftp". Add completion + functions for "nc" and "psftp". + (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring. + Implement support for "nc" method. + (tramp-sh-handle-expand-file-name, tramp-local-coding-commands) + (tramp-remote-coding-commands, tramp-call-local-coding-command): + Tweak docstring. + (tramp-sh-handle-write-region): Tweak error message. + (tramp-sh-handle-vc-registered): Remove backends when the remote + binary does not exist. + (tramp-find-inline-encoding): Do not raise an error. + (tramp-make-copy-program-file-name): Tweak docstring. Handle also + the "nc" case. Quote result also locally. + + * net/tramp-smb.el (tramp-smb-handle-copy-directory) + (tramp-smb-handle-set-file-acl): Use `start-process'. + (tramp-smb-handle-insert-directory): Use progress reporter. + (tramp-smb-handle-rename-file): Flush also file properties of + FILENAME. + + * net/trampver.el: Update release number. + + 2014-06-15 Stefan Monnier + + * ses.el: Miscellaneous cleanups; use lexical-binding; avoid + add-to-list. + (ses-localvars): Remove ses--local-printer-list, unused. + (ses--metaprogramming): New macro. Use it to defvar variables. + (ses-set-localvars): Simplify. + (ses--locprn, ses-cell): Use defstruct. Change ses-cell's + property-list into an alist. + (ses-locprn-get-compiled, ses-locprn-compiled-aset) + (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number): + Remove; use defstruct accessors/setters instead. + (ses-cell-formula-aset, ses-cell-printer-aset) + (ses-cell-references-aset): Remove, use setf instead. + (ses--alist-get): New function. + (ses-cell-property): Rename from ses-cell-property-get and rewrite. + Use an alist instead of a plist and don't do move-to-front since the + list is always short. + (ses-cell-property-get-fun, ses-cell-property-delq-fun) + (ses-cell-property-set-fun, ses-cell-property-set) + (ses-cell-property-pop-fun, ses-cell-property-get-handle) + (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove. + (ses--letref): New macro. + (ses-cell-property-pop): Rewrite. + (ses--cell): Rename from ses-cell and make it into a function. + Make `formula' fallback on `value' if nil. + (ses--local-printer): Rename from ses-local-printer and make it into + a function. + (ses-set-cell): Turn it into a macro so finding the accessor from the + field name is done at compile time. + (ses-repair-cell-reference-all): Test presence of `sym' rather than + `ref' before adding `sym' to :ses-repair-reference. + (ses-calculate-cell): Use ses--letref rather than + ses-cell-property-get-handle. + (ses-write-cells): Use a single prin1-to-string. + (ses-setter-with-undo): New function. + (ses-aset-with-undo, ses-set-with-undo): Rewrite using it. + (ses-unset-with-undo): Remove. + (ses-load): Prefer apply' over `eval'. + (ses-read-printer, ses-set-column-width): Use standard "(default + foo)" format. + + 2014-06-15 Glenn Morris + + * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'. + + * progmodes/cc-langs.el: Require cl-lib. (Bug#17463) + Replace delete-duplicates and mapcan by cl- versions throughout. + And cl-macroexpand-all by macroexpand-all. + (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare. + + 2014-06-15 Eli Zaretskii + + * subr.el (posn-col-row): Doc fix. (Bug#17768) + + 2014-06-15 Juri Linkov + + * bindings.el: Put `ascii-character' property on keypad keys + mapped to characters. (Bug#17759) + + 2014-06-15 Stefan Monnier + + * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when + bumping forward into a closing paren (bug#17761). + + * term/xterm.el (xterm--version-handler): Work around for OSX + Terminal.app (bug#17607). + + 2014-06-14 Ron Schnell + + * play/dunnet.el (dun-describe-room, dun-mode): + If a lamp is in the room, you won't be eaten by a grue. + + 2014-06-13 Glenn Morris + + * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el) + (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile) + (compile-always): GNU make automatically passes + command-line arguments to sub-makes. + + * calendar/calendar.el (calendar-generate-window): + Remove pointless call to font-lock-fontify-buffer. + + 2014-06-13 Matthias Meulien + + * simple.el (completion-list-mode-map): Navigate with tab and backtab + (bug#17767). + + 2014-06-13 Stefan Monnier + + * simple.el (set-mark-command): Simplify a bit. + + 2014-06-12 Nicolas Richard + + * help.el (help--key-binding-keymap): New function. + (help--binding-locus): New function. + (describe-key): Mention the keymap in which the binding was + found. (bug#13948) + + 2014-06-12 Stefan Monnier + + * hippie-exp.el (he--all-buffers): New function. + (try-expand-line-all-buffers, try-expand-list-all-buffers) + (try-expand-dabbrev-all-buffers): Use it. + + 2014-06-12 Emilio C. Lopes + + * hippie-exp.el (try-expand-line-all-buffers) + (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers): + Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the + original buffer, in case they're buffer-local. + + 2014-06-12 Vincent Belaïche + + * ses.el (ses-initial-global-parameters-re): New defconst, a + specific regexp is needed now that ses.el can handle both + file-format 2 --- ie. no local printers --- and 3 --- i.e. may have + local printers. + (ses-localvars): Add local variables needed for local printer handling. + (ses-set-localvars): Handle hashmap initialization. + (ses-paramlines-plist): Add param-line for number of local printers. + (ses-paramfmt-plist): New defconst, needed for code factorization + between functions `ses-set-parameter' and + `ses-file-format-extend-paramter-list' + (ses-make-local-printer-info): New defsubst. + (ses-locprn-get-compiled, ses-locprn-compiled-aset) + (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number) + (ses-cell-printer-aset): New defmacro. + (ses-local-printer-compile): New defun. + (ses-local-printer): New defmacro. + (ses-printer-validate, ses-call-printer): Add support for local + printer functions. + (ses-file-format-extend-paramter-list): New defun. + (ses-set-parameter): Use const `ses-paramfmt-plist' for code + factorization. + (ses-load): Add support for local printer functions. + (ses-read-printer): Update docstring and add support for local printer + functions. + (ses-refresh-local-printer, ses-define-local-printer): New defun. + (ses-safe-printer): Add support for local printer functions. + + 2014-06-12 Ivan Andrus + + * ffap.el (ffap-lax-url): New var (bug#17723). + (ffap-url-at-point): Use it. + (ffap-file-at-point): Avoid returning just "/". + + 2014-06-12 Matthias Meulien + + * progmodes/python.el (import skeleton): New skeleton (bug#17672). + (python-mode-map): Bind it. + + * progmodes/python.el (class skeleton): Don't erase last char of class + name (bug#17683). + + 2014-06-12 Cameron Desautels (tiny change) + + * help.el (where-is): Use `default' arg of completing-read (bug#17705). + + 2014-06-12 Kevin Ryde + + * files.el (auto-mode-alist): Map .ad files to xdefaults-mode + (bug#17745). + + 2014-06-12 Stefan Monnier + + * international/mule-cmds.el: Use lexical-binding. + (ucs-names): Simplify. + + 2014-05-18 Eric Hanchrow + + * progmodes/python.el (run-python): Use read-shell-command. + + 2014-06-11 Stefan Monnier + + * rect.el: Make it possible to move bounds past EOL or into TABs. + (operate-on-rectangle): Use apply-on-rectangle. + (rectangle--mark-crutches): New var. + (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col) + (rectangle--crutches, rectangle--reset-crutches): New functions. + (apply-on-rectangle): Obey crutches. Avoid setq. + Fix missing final iteration if end is at EOB&BOL. + (rectangle-mark-mode-map): Add remap bindings for + exchange-point-and-mark and char/line movements. + (rectangle--*-char): New function. + (rectangle-exchange-point-and-mark, rectangle-right-char) + (rectangle-left-char, rectangle-forward-char) + (rectangle-backward-char, rectangle-next-line) + (rectangle-previous-line): New commands. + (rectangle--place-cursor): New function. + (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle. + + 2014-06-08 Glenn Morris + + * startup.el (initial-buffer-choice): Doc fix. + Reset :version (adding an option does not merit a :version bump). + + * bookmark.el (bookmark-load): + * uniquify.el (uniquify-buffer-name-style): Doc fixes. + + 2014-06-08 Juri Linkov + + * desktop.el: Activate auto-saving on window configuration changes. + (desktop-save-mode, desktop-auto-save-timeout): Add/remove + `desktop-auto-save-set-timer' to/from + `window-configuration-change-hook'. + (desktop-auto-save-set-timer): Change REPEAT arg of + `run-with-idle-timer' from t to nil. + http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html + + 2014-06-08 Santiago Payà i Miralta + + * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and + vc-hg-command (bug#17570). + + 2014-06-08 Stefan Monnier + + * international/mule-cmds.el (ucs-names): Add special entry for BEL + (bug#17702). + + 2014-06-08 Glenn Morris + + * startup.el (window-setup-hook): Doc fix. + + * emacs-lisp/package.el (package-check-signature) + (package-unsigned-archives): Doc fixes. + + 2014-06-08 Martin Rudalics + + * window.el (display-buffer-use-some-window): Don't make window + used smaller than it was before (Bug#17671). + + 2014-06-08 Eli Zaretskii + + * menu-bar.el (menu-bar-open): Fix last change: use the PC + 'redisplay' instead of '(sit-for 0)'. + + 2014-06-08 Michael Albinus + + * net/tramp.el (tramp-ssh-controlmaster-options): + Improve search regexp. (Bug#17653) + + 2014-06-08 Glenn Morris + + * emacs-lisp/package.el (package-pinned-packages): Doc fix. + + 2014-06-08 Eli Zaretskii + + * menu-bar.el (menu-bar-open): Fix invocation via M-x. + + 2014-06-06 Santiago Payà i Miralta + + * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions + (bug#17586). + + * vc/vc-hg.el (vc-hg-log-graph): New var. + (vc-hg-print-log): Use it. + (vc-hg-root-log-format): Include branch name and bookmarks; ignore + graph output (bug#17515). + + 2014-06-06 Stefan Monnier + + * mouse.el (mouse-posn-property): Ignore buffer position info when the + even happened elsewhere. + + 2014-06-06 Mario Lang + + * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call + `recenter' if `current-buffer' is equal to `window-buffer'. + + 2014-06-05 Leo Liu + + * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's. + + 2014-06-05 Michal Nazarewicz + + * textmodes/tildify.el (tildify-foreach-region-outside-env): + New function which calls a callback on portions of the buffer that are + outside of ignored environments. + (tildify-build-regexp): Remove function since it is now + incorporated in `tildify-foreach-region-outside-env' where it is + optimized and simplified by the use of `mapconcat'. + (tildify-tildify): Return number of substitutions made so that… + (tildify-count): …can be removed. + (tildify-find-env): Accept a new PAIRS argument which was + previously looked up in `tildify-ignored-environments-alist' each + time the function was called. With this change, the lookup is + performed only once in `tildify-foreach-region-outside-env'. + (tildify-region): Greatly simplify the function since now most of + the work is done by `tildify-foreach-region-outside-env'. + (tildify-mode-alist): Simplify slightly by avoiding if and setq + and instead using or. + + * textmodes/tildify.el (tildify-ignored-environments-alist): + Optimize environments regexes + + Each time beginning of an environment to ignore is found, + `tildify-find-env' needs to identify regexp for the ending + of the environment. This is done by trying all the opening + regexes on matched text in a loop, so to speed that up, this + loop should have fewer things to match, which can be done by + using alternatives in the opening regexes. + + Coincidentally, this should make matching of the opening + regexp faster as well thanks to the use of `regexp-opt' and + having common prefix pulled from many regexes. + + * textmodes/tildify.el (tildify-string-alist) + (tildify-ignored-environments-alist): Add `nxml-mode' to the list + of supported modes since `xml-mode' is no longer a thing but just + an alias to the former. Also include comments and insides of tags + in `tildify-ignored-environments-alist' for XML modes. Finally, + since XML does not define “ â€[1], use a numeric reference for + a no-break space (namely “ â€) + + [1] XML specification defines only a handful of predefined entities. + The list is at + and includes only <, >, &, ' and " (meaning <, + >, &, ' and " respectively). This is in contrast to HTML and even + XHTML which defined a whole bunch of entities including “ â€. + + * textmodes/tildify.el (tildify-pattern-alist) + (tildify-string-alist, tildify-ignored-environments-alist): + Improve defcustom's types by adding more tags explaining what each + value means and replace “sexp” used in + `tildify-ignored-environments-alist' with a full type declaration. + + * textmodes/tildify.el (tildify-find-env): Fix matched group + indexes in end-regex building + + When looking for a start of an ignore-environment, the regex is built + by concatenating regexes of all the environments configured in + `tildify-ignored-environments-alist'. So for example, the following + list could be used to match TeX's \verb and \verb* commands: + + (("\\\\verb\\(.\\)" . (1)) + ("\\\\verb\\*\\(.\\)" . (1))) + + This would result in the following regex being used to find the start + of any of the variants of the \verb command: + + \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\) + + But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group + won't match anything, and thus (match-string 1) will be nil, which + will cause building of the end-matching regex to fail. + + Fix this by using capture groups from the time when the opening + regexes are matched individually. + + * textmodes/tildify.el (tildify-find-env): Fix end-regex building + in `tildify-find-env' + + The `tildify-ignored-environments-alist' allows the end-regex to + be provided not as a static string but mix of strings and indexes + of groups matched the begin-regex. For example, the “\verb!…!” + TeX-command (where “!” is an arbitrary character) is handled + using: + + ("\\\\verb\\*?\\(.\\)" . (1)) + + In the same way, the following should be supported as well: + + ("open-\\(.\\)" . ("end-" 1)) + + However the tildify-find-env function fails at + + (concat result + (if (stringp (setq aux (car expression))) + expression ; BUG: expression is a list + (regexp-quote (match-string aux)))) + + where the string part is handled incorrectly. + + The most trivial fix would be to replace `expression' in the + true-part of the if-statement with `aux', but instead, this commit + optimizes `tildify-find-env' by changing it to use `mapconcat' + rather than open-coded while-loop. + + 2014-06-05 Mario Lang + + * woman.el (woman-mapcan): Remove. + (woman-parse-colon-path): Use cl-mapcan instead. + + 2014-06-03 Rüdiger Sonderfeld + + * register.el: Add link to Emacs manual in Commentary. + + 2014-06-02 Sam Steingold + + * menu-bar.el (lookup-key-ignore-too-long): Extract from... + (popup-menu): ...here. + (menu-bar-open): Use it to avoid an error when `lookup-key' + returns a number. + + 2014-06-02 Michael Albinus + + * net/tramp.el (tramp-call-process): Add traces. + (tramp-handle-unhandled-file-name-directory): Return "/". + + 2014-06-02 Wilson Snyder + + Sync with upstream verilog-mode revision 3cd8144. + * progmodes/verilog-mode.el (verilog-mode-version): Bump. + (verilog-auto-arg-format): New option, to support newlines in AUTOARG. + (verilog-type-font-keywords): Add nor. + (verilog-batch-execute-func): Force reading of Local Variables. + Fix printing "no changes to be saved" with verilog-batch. + (verilog-auto-arg-ports): Doc fix. + Add verilog-auto-arg-format to support newlines in AUTOARG. + (verilog-auto-arg): Doc fix. + + 2014-06-02 Glenn Morris + + * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el: + * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el: + * emulation/ws-mode.el: Move to obsolete/. + * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el. + + 2014-06-02 Eli Zaretskii + + * simple.el (keyboard-quit): Force update of mode lines, to remove + the "Def" indicator, if we were defining a macro. (Bug#17615) + + 2014-06-02 Stefan Monnier + + * minibuffer.el (minibuffer-force-complete-and-exit): + Obey minibuffer-default (bug#17545). + + * progmodes/js.el (js-indent-line): Don't mix columns and chars + (bug#17619). + + * subr.el (set-transient-map): Don't wait for some "nested" + transient-map to finish if we're only supposed to be active for + the next command (bug#17642). + + 2014-06-02 Leo Liu + + * emacs-lisp/gv.el (window-buffer, window-display-table) + (window-dedicated-p, window-hscroll, window-point, window-start): + Fix gv-expander. (Bug#17630) + + 2014-06-02 Stefan Monnier + + * mouse.el (mouse-posn-property): Ignore posn-point for mode-line + clicks (bug#17633). + + * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", " + for the single comma, since ", " is *very* common in normal French text + (bug#17643). + + 2014-06-02 Glenn Morris + + * emacs-lisp/package.el (package-check-signature) + (package-unsigned-archives): Fix :version. + + 2014-06-02 Stefan Monnier + + * subr.el (sit-for): Don't run input-methods (bug#15614). + + 2014-06-02 Glenn Morris + + * cus-start.el: Fix some :version numbers. + + 2014-06-02 Stefan Monnier + + * simple.el (deactivate-mark): Set mark-active to nil even if + deactivation is done via setting transient-mark-mode to nil, + since one is buffer-local and the other is global. + + * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume + there can't be more than 2 arguments (bug#17584). + + 2014-06-02 Glenn Morris + + * simple.el (filter-buffer-substring-functions) + (filter-buffer-substring-function, buffer-substring-filters) + (filter-buffer-substring, buffer-substring--filter): Doc fixes. + + * minibuffer.el (completion-in-region-functions, completion-in-region) + (completion--in-region): Doc fixes. + + * abbrev.el (abbrev-expand-functions, abbrev-expand-function) + (expand-abbrev, abbrev--default-expand): Doc fixes. + + 2014-06-02 Paul Eggert + + Include sources used to create macuvs.h. + * international/README: Refer to the Unicode Terms of Use rather + than copying it bodily here, as that simplifies maintenance. + + 2014-06-01 Glenn Morris + + * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629) + + 2014-05-31 Glenn Morris + + * files.el (locate-dominating-file): Expand file argument. (Bug#17641) + + 2014-05-30 Glenn Morris + + * loadup.el: Treat `command-line-args' more flexibly. + + 2014-05-30 Alan Mackenzie + + Guard (looking-at "\\s!") from XEmacs. + * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form. + + 2014-05-30 Ken Olum + + * mail/rmail.el (rmail-delete-forward, rmail-delete-backward): + The argument COUNT is now optional, to be more backward-compatible. + Doc fix. (Bug#17560) + + 2014-05-29 Reuben Thomas + + * whitespace.el (whitespace-report-region): + Simplify documentation. + (whitespace-report-region): Allow report-if-bogus to take the + value `never', for non-interactive use. + (whitespace-report): Refer to whitespace-report-region's + documentation. + + 2014-05-29 Stefan Monnier + + * whitespace.el: Use font-lock-flush. Minimize refontifications. + Side benefit: it works without jit-lock. + (whitespace-point--used): New buffer-local var. + (whitespace-color-on): Initialize it and flush it. Use font-lock-flush. + (whitespace-color-off): Use font-lock-flush. + (whitespace-point--used, whitespace-point--flush-used): New functions. + (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp) + (whitespace-empty-at-eob-regexp): Use them. + (whitespace-post-command-hook): Rewrite. + + * font-lock.el (font-lock-flush, font-lock-ensure): New functions. + (font-lock-fontify-buffer): Mark interactive-only. + (font-lock-multiline, font-lock-fontified, font-lock-set-defaults): + Make buffer-local. + (font-lock-specified-p): Remove redundant boundp check. + (font-lock-flush-function, font-lock-ensure-function): New vars. + (font-lock-turn-on-thing-lock): Set them. + (font-lock-default-fontify-buffer): Obey font-lock-dont-widen. + (font-lock-after-change-function): Make `old-len' optional. + (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults. + Call font-lock-flush, just in case. + * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in + recent Emacsen. + * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete. + (vera-mode-map, vera-mode-menu): Remove bindings to it. + * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure + and with-syntax-table. + * textmodes/conf-mode.el (conf-quote-normal): + * progmodes/sh-script.el (sh-set-shell): + * progmodes/prog-mode.el (prettify-symbols-mode): + * progmodes/f90.el (f90-font-lock-n): + * progmodes/cwarn.el (cwarn-mode): + * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display): + * progmodes/compile.el (compilation-setup, compilation--unsetup): + * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer) + (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush. + * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of + font-lock-fontify-buffer-function and + font-lock-unfontify-buffer-function. + (rmail-unfontify-buffer-function, rmail-fontify-message): + Use with-silent-modifications. + * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now + and font-lock-ensure. + * bs.el (bs-show-in-buffer): Use font-lock-ensure. + + 2014-05-28 Thien-Thi Nguyen + + * emacs-lisp/package.el (package-generate-autoloads): + Inhibit backup files. + + 2014-05-28 Stefan Monnier + + * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize + (bug#17608). + + 2014-05-21 Michal Nazarewicz + + * textmodes/tildify.el (tildify-buffer, tildify-region): + Add dont-ask option. + + 2014-05-28 Stefan Monnier + + * subr.el (zerop): Move from C. Add compiler-macro (bug#17475). + * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove. + + * subr.el (internal--funcall-interactively): New. + (internal--call-interactively): Remove. + (called-interactively-p): Detect funcall-interactively instead of + call-interactively. + * simple.el (repeat-complex-command): Use funcall-interactively. + (repeat-complex-command--called-interactively-skip): Remove. + + 2014-05-27 Stefan Monnier + + * register.el (register-read-with-preview): Don't burp on + frame switches (e.g. due to the frame we just popped). + + * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562). + (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved. + + 2014-05-26 Andreas Schwab + + * cus-face.el (custom-face-attributes): Add :distant-foreground. + + 2014-05-26 Martin Rudalics + + * window.el (window--dump-frame): Remove interactive specification. + + 2014-05-26 Glenn Morris + + * hippie-exp.el (he-line-search-regexp): + Handle comint-prompt-regexp containing subgroups. (Bug#17529) + + 2014-05-26 Stephen Berman + + * calendar/todo-mode.el: Remove dependence on auto-mode-alist, + to avoid errors when trying to create or visit a file foo.todo + located outside to todo-directory, and to allow having such files + without them being tied to Todo mode (bug#17482). + (todo-show, todo-move-category, todo-merge-category, todo-find-archive) + (todo-archive-done-item, todo-find-filtered-items-file) + (todo-filter-items, todo-find-item, todo-diary-goto-entry) + (todo-category-completions, todo-read-category): When visiting a + Todo file, make sure we're in the right mode and the buffer local + variables are set. + (todo-make-categories-list, todo-reset-nondiary-marker) + (todo-reset-done-string, todo-reset-comment-string): + After processing all Todo files, kill the buffers of those files that + weren't being visited before the processing. + (todo-display-as-todo-file, todo-add-to-buffer-list) + (todo-visit-files-commands): Comment out. + (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook. + (auto-mode-alist): Remove add-to-list calls making Todo file + extensions unrestrictedly tied to Todo modes. + + 2014-05-26 Stefan Monnier + + * emacs-lisp/nadvice.el (advice--member-p): Change second arg. + (advice-function-member-p): Tell it to check both names and functions + (bug#17531). + (advice--add-function): Adjust call accordingly. + + 2014-05-26 Stephen Berman + + * calendar/todo-mode.el: Miscellaneous bug fixes. + (todo-delete-file): When deleting an archive but not its todo + file, make sure to update the todo file's category sexp. + (todo-move-category): Keep the moved category's name unless the + file moved to already has a category with that name. If the + numerically last category of the source file was moved, make the + first category current to avoid selecting a nonexisting category. + (todo-merge-category): Fix implementation to make merging to a + category in another file work as documented. Eliminate now + insufficient and unnecessary renaming of archive category, correct + document string accordingly, and clarify it. If the numerically + last category of the source file was merged, make the first + category current to avoid selecting a nonexisting category. + (todo-archive-done-item): When there are marked items and point + happens to be on an unmarked item, ignore the latter. Don't leave + point below last item after archiving marked items. + (todo-unarchive-items): Fix logic to ensure unarchiving an item + from an archive with only one category deletes the archive only + when the category is empty after unarchiving. Make sure the todo + file's category sexp is updated. + (todo-read-file-name): Allow an existing file name even when it is + not required (todo-move-category needs this to work as documented). + (todo-add-file): Call todo-validate-name to reject the name of an + existing todo file (needed due to fix in todo-read-file-name). + (todo-reset-nondiary-marker): Also reset in filtered items files. + (todo-reset-done-string, todo-reset-comment-string): Also reset in + regexp filtered items files. + (todo-reset-highlight-item): Also reset in filtered items files. + Fix incorrect variable reference in document string. + + 2014-05-26 Glenn Morris + + * window.el (window--dump-frame): Avoid error in --without-x builds. + + 2014-05-26 Glenn Morris + + * nxml/nxml-mode.el (xml-mode): Only define this alias once. + + 2014-05-26 Eli Zaretskii + + * frame.el (set-frame-font): Doc fix. + + * menu-bar.el (menu-set-font): Doc fix. (Bug#17532) + + 2014-05-26 Dmitry Gutov + + * emacs-lisp/package.el (package--download-one-archive): + Use `write-region' instead of `save-buffer' to avoid running various + hooks. (Bug#17155) + (describe-package-1): Same. Insert newline at the end of the + buffer if appropriate. + + 2014-05-26 Juri Linkov + + * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame. + (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'. + Add more modifiers: meta, control, shift, hyper, super, alt. + (Bug#17439) + + * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options + to allow changing its value with `set-variable'. + + 2014-05-26 Stefan Monnier + + * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for + #; comments. + (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment): + New functions. + (scheme-mode-variables): Set syntax-propertize-function instead of + font-lock-syntactic-face-function. + (scheme-font-lock-syntactic-face-function): Delete. + + * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274). + + * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled + (bug#17392). + + 2014-05-26 Michael Albinus + + * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t" + for a temporary file name. + + 2014-05-26 Eli Zaretskii + + * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511) + + 2014-05-26 Michael Albinus + + * net/dbus.el (dbus-init-bus, dbus-call-method) + (dbus-call-method-asynchronously, dbus-send-signal) + (dbus-method-return-internal, dbus-method-error-internal): + Check, whether Emacs has been compiled with D-Bus support. (Bug#17508) + + 2014-05-26 Nicolas Richard + + * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with + methods which do not have a doc string. (Bug#17490) + + 2014-05-25 Tassilo Horn + + * textmodes/reftex-ref.el (reftex-format-special): Make it work + also for AMS Math's \eqref macro. + + 2014-05-25 Thien-Thi Nguyen + + Arrange to never byte-compile the generated -pkg.el file. + + * emacs-lisp/package.el (package-generate-description-file): + Output first-line comment to set buffer-local var `no-byte-compile'. + Suggested by Dmitry Gutov: + . + + 2014-05-25 Thien-Thi Nguyen + + Fix bug: Properly quote args to generated -pkg.el `define-package'. + + * emacs-lisp/package.el (package-generate-description-file): + Inline `package--alist-to-plist'; rewrite to selectively + quote alist values that are not self-quoting. + (package--alist-to-plist): Delete func. + + 2014-05-25 Andreas Schwab + + * term/xterm.el (xterm-function-map): Add mapping for shifted + keypad keys. + + 2014-05-24 Daniel Colascione + + * progmodes/subword.el (subword-find-word-boundary): Move point to + correct spot before search. (Bug#17580) + + * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid + breaking the build. + + 2014-05-24 Leo Liu + + * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556) + + 2014-05-23 Stefan Monnier + + * minibuffer.el (completion--sreverse): Remove. + (completion--common-suffix): Use `reverse' instead. + * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings. + + 2014-05-22 Glenn Morris + + * shell.el (shell-mode) : Bypass bash aliases. + + 2014-05-21 Daniel Colascione + + * files.el (interpreter-mode-alist): Add mksh. + + * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh + derivative. + (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to + mksh. Improve custom spec; allow regular expressions. + (sh-shell): Delegate name splitting to `sh-canonicalize-shell'. + (sh-after-hack-local-variables): New function. + (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333) + (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding + the normalization. + (sh-canonicalize-shell): Rewrite to support regexes. + + 2014-05-21 Leo Liu + + * emacs-lisp/cl-lib.el (cl-endp): Fix last change. + + 2014-05-19 Leo Liu + + * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics. + + 2014-05-18 Glenn Morris + + * loadup.el: + * play/gametree.el: `track-mouse' is always defined since 2012-11-24. + + 2014-05-14 Sam Steingold + + * progmodes/python.el (python-shell-get-or-create-process): + Do not bind `current-prefix-arg' so that C-c C-z does not talk + back unless requested. + + 2014-05-14 Glenn Morris + + * subr.el (with-file-modes): New macro. + * printing.el (pr-save-file-modes): Make obsolete. + * eshell/esh-util.el (eshell-with-file-modes): Make obsolete. + * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): + Add with-file-modes. + * doc-view.el (doc-view-make-safe-dir): + * epg.el (epg--start): + * files.el (locate-user-emacs-file, make-temp-file) + (backup-buffer-copy, move-file-to-trash): + * printing.el (pr-despool-print, pr-call-process, pr-text2ps): + * eshell/esh-util.el (eshell-with-private-file-modes) + (eshell-make-private-directory): + * net/browse-url.el (browse-url-mosaic): + * obsolete/mailpost.el (post-mail-send-it): + * obsolete/pgg-pgp.el (pgg-pgp-verify-region): + * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region): + Use with-file-modes. + + * vc/emerge.el (emerge-make-temp-file): Simplify. + + 2014-05-14 Stephen Berman + Stefan Monnier + + * minibuffer.el (completion-pcm--merge-try): Merge trailing / with + suffix (bug#15419). + + 2014-05-14 Glenn Morris + + * vc/emerge.el (emerge-temp-file-prefix): + Make pointless option obsolete. + (emerge-temp-file-mode): Make non-functional option obsolete. + + 2014-05-14 Michael Albinus + + * net/browse-url.el (browse-url): + Use `unhandled-file-name-directory' when setting `default-directory', + in order to circumvent stalled remote connections. (Bug#17425) + + 2014-05-14 Glenn Morris + + * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol): + Optimize on Emacs, which has the relevant functions for ages. + + 2014-05-13 Stefan Monnier + + * simple.el (undo-make-selective-list): Obey undo-no-redo. + + 2014-05-12 Sam Steingold + + * calendar/time-date.el (seconds-to-string): New function to + pretty print time delay in seconds. + + 2014-05-12 Stefan Monnier + + * mpc.el (mpc-format): Trim Date to the year. + (mpc-songs-hashcons): Shorten the Date field. + + * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled + into autoloading just because of a silly indirection. + + 2014-05-12 Santiago Payà i Miralta + + * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454) + + 2014-05-12 Glenn Morris + + * emacs-lisp/find-gc.el: Move to ../admin. + + * printing.el (pr-version): + * ps-print.el (ps-print-version): Also mention bug-gnu-emacs. + + * net/browse-url.el (browse-url-mosaic): + Create /tmp/Mosaic.PID as a private file. + + 2014-05-12 Stefan Monnier + + * emacs-lisp/nadvice.el: Support adding a given function multiple times. + (advice--member-p): If name is given, only compare the name. + (advice--remove-function): Don't stop at the first match. + (advice--normalize-place): New function. + (add-function, remove-function): Use it. + (advice--add-function): Pass the name, if any, to + advice--remove-function. + + 2014-05-12 Philipp Rumpf (tiny change) + + * electric.el (electric-indent-post-self-insert-function): Don't use + `pos' after modifying the buffer (bug#17449). + + 2014-05-12 Stephen Berman + + * calendar/todo-mode.el (todo-insert-item-from-calendar): + Correct argument list to conform to todo-insert-item--basic. + + 2014-05-12 Glenn Morris + + * files.el (cd-absolute): Test if directory is accessible + rather than executable. (Bug#17330) + + * progmodes/compile.el (recompile): + Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444) + + * net/browse-url.el (browse-url-mosaic): + Be careful when writing /tmp/Mosaic.PID. (Bug#17428) + This is CVE-2014-3423. + + 2014-05-11 Stefan Monnier + + * mouse.el: Use the normal toplevel loop while dragging. + (mouse-set-point): Handle multi-clicks. + (mouse-set-region): Handle multi-clicks for drags. + (mouse-drag-region): Update call accordingly. + (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack. + Use the normal event loop instead of a local while/read-event loop. + (global-map): Remove redundant bindings for double/triple-mouse-1. + * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time. + Generate synthetic down events when the protocol only sends up events. + (xterm-mouse-last): Remove. + (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down + terminal parameter instead. + (xterm-mouse--set-click-count): New function. + (xterm-mouse-event): Detect/generate double/triple clicks. + * reveal.el (reveal-close-old-overlays): Don't close while dragging. + + * info.el (Info-quoted): New face. + (Info-mode-font-lock-keywords): New var. + (Info-mode): Use it. + + * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which + are a hindrance for C-x C-e. + + 2014-05-11 Leo Liu + + * net/rcirc.el (rcirc-sentinel): Fix last change. + + 2014-05-08 Sam Steingold + + * net/rcirc.el (rcirc-reconnect-delay): New user option. + (rcirc-sentinel): Auto-reconnect to the server if + `rcirc-reconnect-delay' is non-0 (but not more often than its + value in case the host is off-line). + + 2014-05-09 Eli Zaretskii + + * progmodes/grep.el (lgrep): Fix a typo in last commit. + + 2014-05-09 Glenn Morris + + * files.el (file-expand-wildcards): + * man.el (Man-support-local-filenames): + * printing.el (pr-i-directory, pr-interface-directory): + * progmodes/grep.el (lgrep, rgrep): + * textmodes/ispell.el (ispell-call-process) + (ispell-call-process-region, ispell-start-process) + (ispell-init-process): Use file-accessible-directory-p. + + 2014-05-08 Stefan Monnier + + * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378). + (xterm-mouse--read-event-sequence-1000): Return nil if something + looks fishy. + (xterm-mouse-event): Propagate it. + (xterm-mouse-translate-1): Handle it. + + 2014-05-08 Stephen Berman + + * calendar/todo-mode.el (todo-insert-item--apply-args): When all + four slots of the parameter list are filled, make sure to pass it + to the argument list of todo-insert-item--basic. + + 2014-05-08 Stefan Monnier + + * emacs-lisp/package.el (package-compute-transaction): Topological sort. + Add optional `seen' argument to detect and break infinite loops. + + 2014-05-08 Eli Zaretskii + + * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs) + (trace-unsafe, trace-use-tree): Make parentheses style be + according to Emacs style. + + 2014-05-08 Michael Albinus + + * net/tramp-sh.el (tramp-remote-process-environment): + Remove HISTFILE and HISTSIZE; it's too late to set them here. + Add :version entry. + (tramp-open-shell): Do not let-bind `tramp-end-of-output'. + Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send + extra "PSx=..." commands. + (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null. + (Bug#17295) + + (tramp-uudecode): Replace the hard-coded temporary file name by a + format specifier. + (tramp-remote-coding-commands): Enhance docstring. + (tramp-find-inline-encoding): Replace "%t" by a temporary file + name. (Bug#17415) + This is CVE-2014-3424. + + 2014-05-08 Glenn Morris + + * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value. + (find-gc-source-files): Update some names. + (trace-call-tree): Simplify and update. + Avoid predictable temp-file names. (http://bugs.debian.org/747100) + This is CVE-2014-3422. + + 2014-05-08 Stefan Monnier + + * minibuffer.el (completion--try-word-completion): Revert fix for + Bug#15980 (bug#17375). + + * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378) + Always store button numbers in the same way in xterm-mouse-last; + Don't burp is xterm-mouse-last is not set as expected. + Never return negative indices. + + 2014-05-08 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-syntax-propertize-function): + Backtrack one char if the global/char-literal var matcher hits + inside a string. The next char could be the beginning of an + expression expansion. + + 2014-05-08 Glenn Morris + + * help-fns.el (describe-function-1): Test for an autoload before a + macro, since `macrop' works on autoloads. (Bug#17410) + + 2014-05-08 Stefan Monnier + + * electric.el (electric-indent-functions-without-reindent): Add yaml. + + * minibuffer.el (completion-table-with-quoting) : + Make sure the new point we return is within the new string (bug#17239). + + 2014-05-05 Daniel Colascione + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Port `gnu' pattern to rx. + + 2014-05-05 Jarek Czekalski + + Remove unneeded prompt when closing a buffer with active + emacsclient ("Buffer ... still has clients"), #16548. + * server.el (server-start): Remove the only call to: + (server-kill-buffer-query-function): Remove. + + 2014-05-04 Leo Liu + + * calendar/diary-lib.el (calendar-chinese-month-name-array): + Defvar to pacify compiler. + + 2014-05-04 Eli Zaretskii + + * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment. + + 2014-05-04 Stefan Monnier + + * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer): + Use nil rather than `default' for the "default" appearance (bug#17388). + * vc/ediff-util.el (ediff-inferior-compare-regions) + (ediff-toggle-autorefine, ediff-unselect-difference): Don't use + a misleading `default' value when it's really a boolean. + * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the + overlay is not visible. + + 2014-05-04 Stephen Berman + + * calendar/todo-mode.el (todo-edit-file): Use display-warning. + (todo-menu): Uncomment and update. + + 2014-05-04 Stephen Berman + + * calendar/todo-mode.el: Reimplement item editing to have the same + basic user interface as item insertion, and make small UI and + larger internal improvements to the latter. + (todo-insert-item): Add reference to the Todo mode user manual to + the documentation string. + (todo-insert-item--basic): Rename from todo-basic-insert-item and + adjust all callers. Change signature to combine diary and + nonmarking arguments. Incorporate functionality of deleted item + copying command and add error checking. Remove detailed + descriptions of the arguments from the documentation string, since + this is treated in the Todo mode user manual. + (todo-copy-item, todo-edit-multiline-item) + (todo-edit-done-item-comment, todo-edit-item-header) + (todo-edit-item-time, todo-edit-item-date-from-calendar) + (todo-edit-item-date-to-today, todo-edit-item-date-day-name) + (todo-edit-item-date-year, todo-edit-item-date-month) + (todo-edit-item-date-day, todo-edit-item-diary-nonmarking): + Remove. + (todo-edit-item): Reimplement as wrapper command for + todo-edit-item--next-key and make it distinguish done and not done + todo items. + (todo-edit-item--text): New function, replacing old command + todo-edit-item and incorporating deleted commands + todo-edit-multiline-item and todo-edit-done-item-comment. + (todo-edit-item--header): Rename from todo-basic-edit-item-header. + Use only numeric value of prefix argument. Remove detailed + descriptions of the arguments from the documentation string, since + this is treated in the Todo mode user manual. + (todo-edit-item--diary-inclusion): New function, replacing old + command todo-edit-item-diary-inclusion and incorporating and fixing + functionality of deleted command todo-edit-item-diary-nonmarking, + making sure to remove todo-nondiary-marker when adding + diary-nonmarking-symbol. + (todo-edit-category-diary-inclusion): Make sure to delete + diary-nonmarking-symbol when adding todo-nondiary-marker. + (todo-edit-category-diary-nonmarking): Fix indentation. + (todo-insert-item--parameters): Group diary and nonmarking + parameters together. + (todo-insert-item--apply-args): Adjust to signature of + todo-insert-item--basic and incorporate copy parameter. + Make small code improvements. + (todo-insert-item--next-param): Improve prompt and adjust it to + new parameter grouping. Remove obsolete code. + (todo-edit-item--param-key-alist) + (todo-edit-item--date-param-key-alist) + (todo-edit-done-item--param-key-alist): New defconsts. + (todo-edit-item--prompt): New variable. + (todo-edit-item--next-key): New function. + (todo-key-bindings-t): Bind "e" to todo-edit-item. + Remove bindings of deleted commands. + + 2014-05-04 Leo Liu + + * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation. + + 2014-05-04 Glenn Morris + + * allout-widgets.el (allout-widgets-tally) + (allout-decorate-item-guides): + * menu-bar.el (menu-bar-positive-p): + * minibuffer.el (completion-pcm-complete-word-inserts-delimiters): + * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number): + * progmodes/js.el (js--inside-param-list-p) + (js--inside-dojo-class-list-p, js--forward-destructuring-spec): + * progmodes/prolog.el (region-exists-p): + * progmodes/verilog-mode.el (verilog-scan-cache-ok-p): + * textmodes/reftex-parse.el (reftex-using-biblatex-p): + Doc fixes (replace `iff'). + + 2014-05-04 Stefan Monnier + + * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries. + + 2014-05-04 Leo Liu + + Support Chinese diary entries in calendar and diary. (Bug#17393) + * calendar/cal-china.el (calendar-chinese-month-name-array): New var. + (calendar-chinese-from-absolute-for-diary) + (calendar-chinese-to-absolute-for-diary) + (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries) + (diary-chinese-list-entries): New functions to list and mark + Chinese diary entries in the calendar window. + (diary-chinese-anniversary) + (diary-chinese-insert-anniversary-entry) + (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry) + (diary-chinese-insert-yearly-entry): New commands to insert + Chinese diary entries. + + * calendar/diary-lib.el (diary-font-lock-keywords): + Support font-locking Chinese dates. + + * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for + inserting Chinese diary entries. + + * calendar/calendar.el (diary-chinese-entry-symbol): + New customizable variable. + (calendar-mode-map): Add bindings for inserting Chinese diary + entries. + + 2014-05-03 Juri Linkov + + * dired.el (dired-check-switches, dired-switches-recursive-p): + New functions. (Bug#17218) + (dired-switches-escape-p, dired-move-to-end-of-filename): + Use `dired-check-switches'. + (dired-insert-old-subdirs, dired-build-subdir-alist) + (dired-sort-R-check): Use `dired-switches-recursive-p'. + + 2014-05-01 Barry O'Reilly + + * simple.el (undo-make-selective-list): New algorithm fixes + incorrectness of position adjustments when undoing in region. + (Bug#17235) + (undo-elt-crosses-region): Make obsolete. + (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos): + New functions to adjust positions using undo-deltas. + + 2014-05-01 Stefan Monnier + + * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past + the last consecutive closing paren (bug#17345). + + 2014-04-30 Reuben Thomas + + * dired.el (dired-mode): make terminology for eXpunge command + consistent. (Bug#17276) + + 2014-04-30 Eli Zaretskii + + * dired.el (dired-initial-position-hook, dired-initial-position): + Doc string fixes. + + 2014-04-30 Glenn Morris + + * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283) + + 2014-04-30 Matthias Dahl + + * faces.el (face-spec-recalc): Apply X resources only after the + defface spec has been applied. Thus, X resources are no longer + overriden by the defface spec which also fixes issues on win32 where + the toolbar coloring was wrong because it is set through X resources + and was (wrongfully) overriden. (Bug#16694) + + 2014-04-30 Stefan Monnier + + * textmodes/rst.el (electric-pair-pairs): Declare. + (rst-mode): Set it (bug#17131). + + 2014-04-30 Juri Linkov + + * desktop.el (desktop-value-to-string): Let-bind `print-length' + and `print-level' to nil. (Bug#17351) + + 2014-04-30 Nicolas Richard + + * battery.el (battery-update): Handle the case where battery + status is "N/A" (bug#17319). + + 2014-04-28 Stefan Monnier + + * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition + to syntax-propertize. + (ps-mode-auto-indent): Mark as obsolete. + (ps-mode-font-lock-keywords-1): Remove string-or-comment handling. + (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of + word regexp operators. + (ps-mode-map): Move initialization into declaration. Remove binding + for TAB, RET, >, ], and }. + (ps-mode-syntax-table): Move initialization into declaration. + Don't give word syntax to non-word chars. + (ps-run-mode-map): Move initialization into declaration. + (ps-mode-menu-main): Remove auto-indent entry. + (ps-mode-smie-rules): New function. + (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode. + (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove. + (ps-mode--string-syntax-table): New const. + (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize): + New functions. + (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle) + (ps-mode-r-gt, ps-mode-r-balance): Remove functions. + + 2014-04-27 Daniel Colascione + + * term/xterm.el (xterm-paste): Use large finite timeout when + reading event to avoid putting keys in this-command-keys. + + 2014-04-25 Stefan Monnier + + * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var. + (perl-syntax-propertize-function): Use it. Extend handling of + here-docs to the unquoted case. + + 2014-04-25 Eli Zaretskii + + * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help): + Use equal-including-properties to compare help-echo strings (bug#17331). + + 2014-04-25 Leo Liu + + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table): + Fix syntax for @. (Bug#17325) + + 2014-04-25 Daniel Colascione + + * emacs-lisp/cl.el (gv): Require gv early to break eager + macro-expansion cycles. + + 2014-04-25 Stefan Monnier + + * simple.el (region-active-p): Check there's a mark (bug#17324). + + * simple.el (completion-list-mode-map): Use choose-completion for the + mouse binding as well (bug#17302). + (completion-list-mode, completion-setup-function): Adjust docstring and + echo area message accordingly. + * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new + calling convention of choose-completion. + * comint.el (comint-dynamic-list-completions): + * term.el (term-dynamic-list-completions): Accept choose-completion. + + * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after + &, |, +, - and * can't be a division (bug#17317). + + * term/xterm.el (xterm--version-handler): Don't use modern xterm + features on gnome-terminal (bug#16988). + + 2014-04-25 Thien-Thi Nguyen + + Improve Scheme font-locking for (define ((foo ...) ...) ...). + + * progmodes/scheme.el (scheme-font-lock-keywords-1): To find + the declared object, ignore zero or more parens, not zero or one. + + 2014-04-24 Leo Liu + + * progmodes/xscheme.el (xscheme-expressions-ring) + (xscheme-expressions-ring-yank-pointer, xscheme-running-p) + (xscheme-control-g-disabled-p, xscheme-process-filter-state) + (xscheme-allow-output-p, xscheme-prompt) + (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local. + + * progmodes/scheme.el (would-be-symbol, next-sexp-as-string): + Comment out unused functions. + + 2014-04-24 Stefan Monnier + + * info.el: Use lexical-binding and cl-lib. + Use defvar-local and setq-local instead of make-local-variable. + (Info-apropos-matches): Avoid add-to-list. + (Info-edit-mode-map): Fix obsolescence call to Info-edit-map. + + 2014-04-24 Daniel Colascione + + * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins. + + 2014-04-23 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge. + + 2014-04-22 Michael Heerdegen + + * dired.el (dired-insert-set-properties): Do not consider + subdirectory headings and empty lines to be information that + `dired-hide-details-mode' should hide. (Bug#17228) + + 2014-04-22 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): + Remove test messages. + (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source' + and `target' twice. + + 2014-04-22 Stefan Monnier + + * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311). + * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead. + + * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name. + + 2014-04-22 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): + Set "IFS=" when using read builtin, in order to preserve spaces in + the file name. Add test messages for hunting a bug on hydra. + (tramp-get-ls-command): Undo using "-b" argument. It doesn't help. + + 2014-04-22 Stefan Monnier + + * progmodes/prog-mode.el (prettify-symbols--compose-symbol): + Don't prettify a word within a symbol. + + 2014-04-22 Michael Albinus + + * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if + possible. + + 2014-04-22 Daniel Colascione + + * emacs-lisp/byte-run.el (function-put): Unbreak build: don't + use defun to define `function-put'. + + 2014-04-22 Stefan Monnier + + * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function. + (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it. + (lisp-mode-variables): Set font-lock-extra-managed-props. + + * emacs-lisp/byte-run.el (function-put): New function. + (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'. + * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type) + (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value): + Use them. + + 2014-04-22 Daniel Colascione + + * emacs-lisp/macroexp.el (internal-macroexpand-for-load): + Add `full-p' parameter; when nil, call `macroexpand' instead of + `macroexpand-all'. + + * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile): + Improve docstrings. + + * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment): + Use lambda function values, not quoted lambdas. + (byte-compile-recurse-toplevel): Remove extraneous &optional. + + * emacs-lisp/cl-macs.el + (cl-struct-sequence-type, cl-struct-slot-info): Declare pure. + (cl-struct-slot-value): Conditionally use aref or nth so that the + compiler produces optimal code. + + 2014-04-22 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure. + (inline): Don't inline cl--set-elt. + (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro. + Define as inlinable instead. + (cl-struct-set-slot-value): Remove. + + * emacs-lisp/cl-lib.el (cl--set-elt): Remove. + * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute): + Use setf instead. + + 2014-04-21 Daniel Colascione + + * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the + last two parameters after all. + (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member) + (cl--compiler-macro-assoc,cl-struct-slot-value) + (cl-struct-set-slot-value): Stop using them. + + (2014-04-21 Stefan Monnier + + * image-mode.el (image-mode-window-put): Don't assume there's a `t' + entry in image-mode-winprops-alist. + + 2014-04-21 Daniel Colascione + + * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function. + (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment) + (byte-compile-toplevel-file-form): Use it. + + * emacs-lisp/cl-macs.el: + (cl--loop-let): Properly destructure `while' clauses. + + 2014-04-20 Daniel Colascione + + * vc/vc.el (vc-root-dir): New public autoloaded function for + generically finding the current VC root. + * vc/vc-hooks.el (vc-not-supported): New error. + (vc-call-backend): Signal `vc-not-supported' instead of generic error. + + 2014-04-20 Daniel Colascione + + * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type + argument. + (cl--const-expr-val): cl--const-expr-val should macroexpand its + argument in case we're inside a symbol-macrolet. + (cl--do-arglist, cl--compiler-macro-typep) + (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro + environment to `cl--const-expr-val'. + (cl-struct-sequence-type,cl-struct-slot-info) + (cl-struct-slot-offset, cl-struct-slot-value) + (cl-struct-set-slot-value): New functions. + + 2014-04-19 Stefan Monnier + + * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable + assignments such as "case=hello" (bug#17297). + + 2014-04-18 Michael Albinus + + * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler): + Do not autoload. + (tramp-file-name-handler, tramp-completion-file-name-handler): + Revert patch from 2014-04-10, it isn't necessary anymore. + (tramp-autoload-file-name-handler) + (tramp-register-autoload-file-name-handlers): New defuns. + (top): Autoload call of `tramp-register-autoload-file-name-handlers'. + (tramp-register-file-name-handlers): Remove also + `tramp-autoload-file-name-handler' from `file-name-handler-list'. + Do not autoload its invocation, but eval it after loading of 'tramp. + + * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'. + + * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'. + + 2014-04-17 Daniel Colascione + + Add support for bracketed paste mode; add infrastructure for + managing terminal mode enabling and disabling automatically. + + * xt-mouse.el: + (xterm-mouse-mode): Simplify. + (xterm-mouse-tracking-enable-sequence) + (xterm-mouse-tracking-disable-sequence): New constants. + (turn-on-xterm-mouse-tracking-on-terminal) + (turn-off-xterm-mouse-tracking-on-terminal): + Use tty-mode-set-strings and tty-mode-reset-strings terminal + parameters instead of random hooks. + (turn-on-xterm-mouse-tracking) + (turn-off-xterm-mouse-tracking): Delete. + + * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment. + (xterm-paste-ending-sequence): New constant. + (xterm-paste): New command used for bracketed paste support. + + (xterm-modify-other-keys-terminal-list): Delete obsolete variable. + (terminal-init-xterm-bracketed-paste-mode): New function. + (terminal-init-xterm): Call it. + (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings + and tty-mode-reset-strings instead of random hooks. + (xterm-turn-on-modify-other-keys) + (xterm-turn-off-modify-other-keys) + (xterm-remove-modify-other-keys): Delete obsolete functions. + + * term/screen.el: Rewrite to just use the xterm code. + Add copyright notice. Mention tmux. + + 2014-04-17 Ian D (tiny change) + + * image-mode.el (image-mode-window-put): Also update the property of + the "default window". + * doc-view.el (doc-view-new-window-function): If no window + exists, move to the last known page. + + 2014-04-16 Stefan Monnier + + * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in + here-documents (bug#17262). + + 2014-04-16 Eli Zaretskii + + * term/pc-win.el (x-list-fonts, x-get-selection-value): + Provide doc strings, as required by snarf-documentation. + + 2014-04-16 Stefan Monnier + + * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted' + arg of overlays-at. Use `invisible-p'. + + * obsolete/lucid.el (extent-at): + * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of + overlays-at. + (hfy-fontify-buffer): Remove unused var `orig-ovls'. + + 2014-04-16 João Távora + + * net/shr.el (shr-expand-url): Use `expand-file-name' for relative + links. (Bug#17217). + + 2014-04-16 YAMAMOTO Mitsuharu + + * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer): + Use mapc to loop over a vector. (Bug#17257). + + 2014-04-16 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous + patch, there are new problems with file names containing spaces. + Get rid of backticks. (Bug#17238) + + 2014-04-16 João Távora + + * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix + possible bug. + + 2014-04-16 Eli Zaretskii + + * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes. + (blink-cursor-mode): Mention customization variables and the + effect of 'blink-cursor-blinks'. + + 2014-04-16 Barry O'Reilly + + * simple.el (undo): Prevent insertion of identity mapping into + undo-equiv-table so as undo-only does not inf loop in the presence + of consecutive nils in undo list. + + 2014-04-16 Matthias Dahl + + * faces.el (make-face): Deprecate optional argument as it is no + longer needed/used since the conditional X resources handling + has been pushed down to make-face-x-resource-internal itself. + (make-empty-face): Don't pass optional argument to make-face. + + 2014-04-16 Karl Fogel + + * savehist.el (savehist-save): Remove workaround for a read-passwd + bug that was fixed before 24.3. Thanks to Juanma Barranquero for + noticing that the shim was still present. + + 2014-04-14 Stefan Monnier + + * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps. + + 2014-04-14 Juanma Barranquero + + * faces.el (face-set-after-frame-default): Remove unused local variable. + + 2014-04-12 Stefan Monnier + + * progmodes/grep.el: Use lexical-binding. + (grep-expand-template): Pass explicit lexical env to `eval'. + (zrgrep): Let-bind grep-find-template explicitly. + + * emacs-lisp/cl-lib.el (current-case-table): Remove setter. + * leim/quail/sisheng.el (sisheng-list): Use with-case-table. + + 2014-04-12 Eli Zaretskii + + * international/characters.el : Add entries + for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243) + Set category of Coptic characters be 'g' (Greek). + + 2014-04-12 Leo Liu + + * progmodes/octave.el (completion-table-with-cache): + Define if not available. + (octave-goto-function-definition, octave-sync-function-file-names) + (octave-find-definition-default-filename): + Backquote upattern for compatibility. + + 2014-04-12 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file + name twice due to backticks. (Bug#17238) + + 2014-04-12 Glenn Morris + + * term/w32-win.el (x-win-suspend-error): + * term/x-win.el (x-win-suspend-error): Sync docs. + + 2014-04-12 Matthias Dahl + + * faces.el (make-face): Remove deprecated optional argument. + The conditional application of X resources is handled directly by + make-face-x-resource-internal since Emacs 24.4. + (make-empty-face): Don't pass optional argument to make-face. + + 2014-04-11 Glenn Morris + + * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429) + + 2014-04-11 Stefan Monnier + + Ediff's overlay priorities cause more trouble than they solve. + * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable. + (ediff-highest-priority): Remove function (bug#17234). + * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer): + * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer) + (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with + overlay priorities. + + 2014-04-11 Feng Li (tiny change) + + * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format + entry; use symbol boundaries to avoid mis-matches. + + 2014-04-11 Michael Albinus + + * net/tramp.el (tramp-file-name-handler) + (tramp-completion-file-name-handler): Avoid recursive loading. + + * net/tramp-sh.el (tramp-make-copy-program-file-name): + Quote result also locally. + + 2014-04-11 Stefan Monnier + + * emulation/cua-base.el (, cua--pre-command-handler-1): + Remove left-over code. + + * newcomment.el (comment-indent-new-line): Sink code where it's used. + Reuse the previous comment's indentation unconditionally if it's on its + own line. + + 2014-04-09 Daniel Colascione + + * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings', + `no-syntax-crossing' arguments. Forward to `up-list'. + (up-list): Add `escape-strings', `no-syntax-crossing' arguments. + Implement logic for escaping from strings. Use narrowing to deal + with corner cases. + + 2014-04-09 Leo Liu + + * net/rcirc.el (rcirc-connection-info): New variable. + (rcirc-connect): Use it to store connection info. + (rcirc-buffer-process): Avoid get-buffer-process which returns nil + for killed process. + (rcirc-cmd-reconnect): New command. (Bug#17045) + (rcirc-mode, set-rcirc-encode-coding-system) + (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local. + + 2014-04-09 Daniel Colascione + + * emacs-lisp/cl-indent.el: Add comment claiming + facility is also good for elisp. + (lisp-indent-find-method): New function. + (common-lisp-indent-function): Recognize cl-loop. + (common-lisp-indent-function-1): Recognize cl constructs; use + `lisp-indent-find-method' instead of `get' directly. + (if): Use else-body style for elisp. + + 2014-04-09 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more + Module methods. (Bug#17216) + + 2014-04-09 Stefan Monnier + + * help.el (describe-bindings): Fix buffer handling (bug#17210). + (describe-bindings-internal): Mark obsolete. + + 2014-04-09 Stefan Monnier + + * subr.el (with-silent-modifications): Don't bind deactivate-mark, + buffer-file-name, and buffer-file-truename any more. + + 2014-04-08 Leo Liu + + Use lexical-binding and require cl-lib. + * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE) + (rcirc-handler-generic, rcirc-fill-paragraph) + (rcirc-format-response-string, rcirc-target-buffer) + (rcirc-last-line, rcirc-record-activity, rcirc-split-activity) + (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp) + (rcirc-ctcp-sender-PING, rcirc-browse-url) + (rcirc-markup-timestamp, rcirc-markup-attributes) + (rcirc-markup-my-nick, rcirc-markup-urls) + (rcirc-markup-bright-nicks, rcirc-markup-fill) + (rcirc-check-auth-status, rcirc-handler-WALLOPS) + (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK) + (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT) + (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG) + (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317) + (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477) + (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366) + (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR) + (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME) + (rcirc-handler-CTCP-response): Fix unused arguments warnings and + use cl-lib. + + 2014-04-07 João Távora + + * elec-pair.el (electric-pair--syntax-ppss): + When inside comments parse from comment beginning. + (electric-pair--balance-info): Fix typo in comment. + (electric-pair--in-unterminated-string-p): Delete. + (electric-pair--unbalanced-strings-p): New function. + (electric-pair-string-bound-function): New var. + (electric-pair-inhibit-if-helps-balance): Decide quote pairing + according to `electric-pair--in-unterminated-string-p' + + * elec-pair.el (electric-pair-inhibit-if-helps-balance): + Inhibit quote pairing if point-max is inside an unterminated string. + (electric-pair--looking-at-unterminated-string-p): Delete. + (electric-pair--in-unterminated-string-p): New function. + + 2014-04-07 Glenn Morris + + * shell.el (shell-directory-tracker): + Go back to just ignoring failures. (Bug#17159) + + 2014-04-07 João Távora + + Fix `electric-pair-delete-adjacent-pairs' in modes binding + backspace. (Bug#16981) + * elec-pair.el (electric-pair-backward-delete-char): Delete. + (electric-pair-backward-delete-char-untabify): Delete. + (electric-pair-mode-map): Bind backspace to a menu item filtering + a new `electric-pair-delete-pair' command. + (electric-pair-delete-pair): New command. + + * progmodes/python.el (python-electric-pair-string-delimiter): + Fix triple-quoting electricity. (Bug#17192) + + * elec-pair.el (electric-pair-post-self-insert-function): + Don't skip whitespace when `electric-pair-text-pairs' and + `electric-pair-pairs' were used. syntax to + electric-pair--skip-whitespace. (Bug#17183) + + 2014-04-07 Eli Zaretskii + + * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for + "". (Bug#17199) + + 2014-04-07 Stefan Monnier + + * mpc.el (mpc--status-timer-run): Disable timer if not displayed. + (mpc--status-idle-timer-run): Use mpc--status-timer-run. + + 2014-04-07 Glenn Morris + + * help.el (view-lossage): Doc tweak. + + 2014-04-07 Matthias Dahl + + * faces.el (face-spec-recalc): Call make-face-x-resource-internal + only when inhibit-x-resources is nil, and do that earlier in the + function. Doc fix. (Bug#16694) + (face-spec-choose): Accept additional optional argument, whose + value is returned if no matching attributes are found. + (face-spec-recalc): Use the new optional argument when calling + face-spec-choose. (Bug#16378) + (make-face-x-resource-internal): Do nothing when + inhibit-x-resources is non-nil. Don't touch the default face if + reversed video is given--as was done in previous versions of Emacs. + (face-set-after-frame-default): Don't call + make-face-x-resource-internal here. (Bug#16434) + + 2014-04-07 Tassilo Horn + + * doc-view.el (doc-view-bookmark-jump): + Use `bookmark-after-jump-hook' to jump to the right page after the + buffer is shown in a window. (bug#16090) + + 2014-04-07 Eli Zaretskii + + * international/characters.el (mirroring): Fix last change: + instead of loading uni-mirrored.el explicitly, do that implicitly + by creating the 'mirroring' uniprop table. This avoids announcing + the loading of uni-mirrored.el. + + 2014-04-07 Glenn Morris + + * files.el (buffer-stale--default-function) + (buffer-stale-function, revert-buffer--default): + * autorevert.el (auto-revert-buffers): Doc tweaks. + + 2014-04-07 Eli Zaretskii + + * international/characters.el: Preload uni-mirrored.el. (Bug#17169) + + 2014-04-07 Glenn Morris + + * files.el (make-backup-file-name-function) + (make-backup-file-name, make-backup-file-name--default-function) + (make-backup-file-name-1, find-backup-file-name) + (revert-buffer-function, revert-buffer-insert-file-contents-function) + (buffer-stale--default-function, buffer-stale-function) + (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p) + (revert-buffer, revert-buffer--default) + (revert-buffer-insert-file-contents--default-function): + Doc fixes related to defaults no longer being nil. + (make-backup-file-name-function): Bump :version. + Restore nil as a valid but deprecated custom type. + + 2014-04-07 Stefan Monnier + + * progmodes/perl-mode.el (perl-syntax-propertize-function): + Handle $' used as a variable (bug#17174). + + * progmodes/perl-mode.el (perl-indent-new-calculate): + Handle forward-sexp failure (bug#16985). + (perl-syntax-propertize-function): Add "foreach" and "for" statement + modifiers introducing expressions (bug#17116). + + 2014-04-06 Stefan Monnier + + * dired-aux.el (dired-file-set-difference): Use lexical-scoping. + + 2014-04-05 Leo Liu + + * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): + Add define-compilation-mode. + + 2014-04-04 João Távora + + * elec-pair.el (electric-pair--syntax-ppss): When inside comments + parse from comment beginning. + (electric-pair--balance-info): Fix typo in comment. + (electric-pair--in-unterminated-string-p): Delete. + (electric-pair--unbalanced-strings-p): New function. + (electric-pair-string-bound-function): New var. + (electric-pair-inhibit-if-helps-balance): Decide quote pairing + according to `electric-pair--in-unterminated-string-p'. + + 2014-04-04 Stefan Monnier + + * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'. + Move declaration before first use. + (reftex-move-to-next-arg): Silence compiler warning. + + 2014-04-04 Joost Kremers (tiny change) + + * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge): + Use `window-total-width' instead of `window-width'. + + 2014-04-03 Daniel Colascione + + * subr.el (set-transient-map): Remove rms's workaround entirely; + use new `suspicious-object' subr to mark our lambda for closer + scrutiny during gc. + + 2014-04-02 Richard Stallman + + * subr.el (set-transient-map): Comment out previous change. + + 2014-04-02 Glenn Morris + + * menu-bar.el (menu-bar-file-menu): + * vc/ediff.el (ediff-current-file): + Update for revert-buffer-function no longer being nil by default. + + * simple.el (command-execute): Respect nil disabled-command-function. + + 2014-04-02 Nicolas Richard + + * simple.el (command-execute): Do not execute the command when it + is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151) + + 2014-04-02 Juri Linkov + + * dired-aux.el (dired-compress-file): Don't use string-match-p + because its match data is used afterwards. + + 2014-04-02 Stefan Monnier + + * emacs-lisp/package.el (package-built-in-p): Treat a min-version of + 0 like nil. + + 2014-04-02 João Távora + + * elec-pair.el (electric-pair-inhibit-if-helps-balance): + Inhibit quote pairing if point-max is inside an unterminated string. + (electric-pair--looking-at-unterminated-string-p): + Delete. + (electric-pair--in-unterminated-string-p): New function. + + 2014-04-01 Daniel Colascione + + * minibuffer.el (minibuffer-complete): Prevent assertion failure + when trying to complete the prompt. + + 2014-03-31 Leo Liu + + * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): + Refactor out eldoc-documentation-function-default. + (eldoc-documentation-function-default): New function. + (eldoc-documentation-function): Change value. + + 2014-03-31 Glenn Morris + + * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks. + + * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra) + (vhdl-compose-components-package, vhdl-compose-configuration): + Abbreviate default-directory (missing from some previous upstream sync). + + 2014-03-31 Reto Zimmermann + + Sync with upstream vhdl mode v3.35.2. + * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update. + (top-level): No longer require assoc. + (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget): + New functions. Use throughout to replace aget etc. + (vhdl-aput-delete-if-nil): Rename from vhdl-aput. + (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename. + (vhdl-template-replace-header-keywords): Fix bug for "". + (vhdl-compile-init): Do not initialize regexps for Emacs 22+. + (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers + except `vhdl-compiler'. + (vhdl-error-regexp-add-emacs): Remove all other compilers, + when appropriate. + + 2014-03-31 Glenn Morris <rgm@gnu.org> + + * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren): + Revert 2014-03-26 merge goof; go back to using defalias. + + 2014-03-30 Daniel Colascione <dancol@dancol.org> + + * comint.el (comint-send-input): + Deactivate completion-in-region-mode before we send comint input. + (Bug#17139). + + * simple.el (keyboard-quit): Deactivate completion-in-region-mode + on keyboard-quit. + + 2014-03-29 Glenn Morris <rgm@gnu.org> + + * textmodes/reftex.el: Manage most autoloads automatically. + * textmodes/reftex-auc.el, textmodes/reftex-cite.el: + * textmodes/reftex-dcr.el, textmodes/reftex-global.el: + * textmodes/reftex-index.el, textmodes/reftex-parse.el: + * textmodes/reftex-ref.el, textmodes/reftex-sel.el: + * textmodes/reftex-toc.el: Set generated-autoload-file, + and add autoload cookies for reftex.el. + * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el. + + 2014-03-28 Glenn Morris <rgm@gnu.org> + + * cus-start.el (report-emacs-bug-address): Set custom properties. + * mail/emacsbug.el (report-emacs-bug-address): + Variable is now defined in emacs.c. + + * mail/emacsbug.el (report-emacs-bug): + Include system-configuration-features. + + 2014-03-28 Michal Nazarewicz <mina86@mina86.com> + + * simple.el (cycle-spacing): Never delete spaces on first run by + default, but do so in a new 'fast mode and if there are already + N spaces (the previous behavior). + Compare N with its value in previous invocation so that changing + prefix argument restarts `cycle-spacing' sequence. + The idea is that with this change, binding M-SPC to + `cycle-spacing' should not introduce any changes in behavior of + the binding so long as users do not type M-SPC twice in a raw with + the same prefix argument or lack thereof. + + 2014-03-28 Glenn Morris <rgm@gnu.org> + + * faces.el (term-file-aliases): New variable. + (tty-run-terminal-initialization): Respect term-file-aliases. + * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el: + * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el: + * term/vt400.el, term/vt420.el: Remove files, replaced by aliases. + + 2014-03-27 Glenn Morris <rgm@gnu.org> + + * startup.el (inhibit-startup-hooks): Doc tweak. + (normal-top-level): Simplify running of hooks. + For window-setup-hook, respect inhibit-startup-hooks. + (command-line-1): Don't set window-setup-hook to nil. + + Allow selective autoloading from obsolete/ directory. + * Makefile.in (obsolete-autoloads): New rule. + (autoloads): Run obsolete-autoloads. + * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload. + * simple.el (iswitchb-mode): Remove hand-written autoloads. + + 2014-03-27 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): + Highlight special globals with font-lock-builtin-face. (Bug#17057) + + * progmodes/ruby-mode.el (ruby-syntax-propertize-function): + Don't propertize `?' or `!' as symbol constituent when after + colon. (Bug#17097) + + 2014-03-27 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--restore-frame): Remove workaround for bug#14795 + which is no longer needed and causes trouble in GTK builds (bug#17046). + + * emacs-lisp/package-x.el (package--archive-contents-from-url): + Use url-insert-file-contents; package-handle-response no longer exists. + + 2014-03-26 Daniel Colascione <dancol@dancol.org> + + * simple.el (process-menu-mode-map): New variable. + (process-menu-delete-process): New command. + + 2014-03-26 Juanma Barranquero <lekktu@gmail.com> + + * emacs-lisp/package.el: Fix bug#16733 (again). + (url-http-parse-response, url-http-end-of-headers, url-recreate-url) + (url-http-target-url): Remove unused declarations. + (package-handle-response): Remove. + (package--with-work-buffer): Use url-insert-file-contents and simplify. + (package--download-one-archive): Use current-buffer instead of + dynamic binding of `buffer'. + (describe-package-1): Do not decode readme-string. + + 2014-03-26 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring. + + * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change + from 2014-03-07, it decreases performance unnecessarily. Let-bind + `remote-file-name-inhibit-cache' to nil in the second pass. + (tramp-find-executable): Do not call "which" on SunOS. + (tramp-send-command-and-check): Fix docstring. + (tramp-do-copy-or-rename-file-directly): In the `rename' case, + check whether source directory has set the sticky bit. + + 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com> + + * simple.el (primitive-undo): Only process marker adjustments + validated against their corresponding (TEXT . POS). Issue warning + for lone marker adjustments in undo history. (Bug#16818) + (undo-make-selective-list): Add marker adjustments to selective + undo list based on whether their corresponding (TEXT . POS) is in + the region. Remove variable adjusted-markers, which was unused + and only non nil during undo-make-selective-list. + (undo-elt-in-region): Return nil when passed a marker adjustment + and explain in function doc. + + 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr> + + * align.el (align-region): Do not fail when end-mark is nil (bug#17088). + + 2014-03-26 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-expression-expansion-re): + Match special global variables without curlies, too. + (ruby-font-lock-keywords): Simplify the matcher for special global + variables. Don't require a non-word character after the variable. + (Bug#17057) + + 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el (redisplay-highlight-region-function): Increase priority of + overlay to make sure boundaries are visible (bug#15899). + + 2014-03-26 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--initial-params): Fix typo in parameter name. + (frameset-restore): Compare display strings with equal. + + * frame.el (make-frame): Don't quote display name in error message, + it is already a string. + + 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com> + + * net/tramp.el (tramp-read-passwd): Suspend the timers while reading + the password. + + 2014-03-26 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/package.el (package--add-to-archive-contents): + Include already installed and built-in packages in + `package-archive-contents'. + (package-install): Don't include already installed packages in the + options during interactive invocation. (Bug#16762) + (package-show-package-list): If the buffer is already displayed in + another window, switch to that window. + + 2014-03-26 Reto Zimmermann <reto@gnu.org> + + Sync with upstream vhdl mode v3.35.1. + * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update. + (vhdl-compiler-alist): Doc fix. + (vhdl-goto-line): Remove. + (vhdl-mode-abbrev-table-init): Add XEmacs compat. + (vhdl-mode) <paragraph-start>: Fix value. + (vhdl-fix-statement-region): Not `for' in wait-statement. + (vhdl-beautify-region): Also (un)tabify. + (vhdl-get-visible-signals): + Scan declarative part of generate statements. + (vhdl-template-record): Fix indentation for record type declaration. + (vhdl-expand-abbrev, vhdl-expand-paren): + Revert to using fset again rather than defalias. + (vhdl-scan-directory-contents): Tweak. + (vhdl-speedbar-find-file, vhdl-speedbar-port-copy) + (vhdl-compose-components-package): + Replace vhdl-goto-line with forward-line. + (top-level): Tweak speedbar frame selection. + (vhdl-generate-makefile-1): Support for compilers with no + unit-to-file name mapping (create directory with dummy files). + + 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org> + + Sync with upstream verilog-mode revision 702457d. + * progmodes/verilog-mode.el (verilog-mode-version): Update. + (create-lockfiles): Declare. + (verilog-read-decls): Fix module header imports, bug709. + Reported by Victor Lau. + Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen. + (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting + interface-only modules, bug721. Reported by Dean Hoyt. + + 2014-03-26 Glenn Morris <rgm@gnu.org> + + * obsolete/gulp.el: Move here from emacs-lisp/. + + * files.el (lock-buffer, unlock-buffer, file-locked-p): + Remove fallback aliases, since they are always defined now. + + 2014-03-24 Daniel Colascione <dancol@dancol.org> + + * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member' + instead of cl-loop search function. + + 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org> + + * calendar/parse-time.el (parse-time-iso8601-regexp) + (parse-iso8601-time-string): Copy from `url-dav' so that we can use + it more generally. + + 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org> + + * net/dns.el (network-interface-list): Define for XEmacs. + + 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com> + + * net/dns.el (dns-servers-up-to-date-p): New function to see whether + the network interfaces changed. + (dns-query): Use it to flush the data. + + 2014-03-23 Juanma Barranquero <lekktu@gmail.com> + + * vc/vc.el (vc-rollback): Use set-buffer-modified-p. + + 2014-03-23 Daniel Colascione <dancol@dancol.org> + + Change subword-mode to use `find-word-boundary-function-table' and + replace `capitalized-words-mode'. Also, convert to lexical binding. + * progmodes/cap-words.el: Delete now-obsolete file. + * progmodes/subword.el: Reimplement using + `find-word-boundary-function-table'. + (subword-mode-map): Hollow out. + (capitalized-words-mode): Define as obsolete alias for + `subword-mode'. + (subword-mode, superword-mode): Tweak documentation to reflect new + implementation; call `subword-setup-buffer'. + (subword-forward, subword-capitalize): Add underscore to indicate + unused variable. + (subword-find-word-boundary-function-table): New constant. + (subword-empty-char-table): New constant. + (subword-setup-buffer): New function. + (subword-find-word-boundary): New function. + + 2014-03-23 Daniel Colascione <dancol@dancol.org> + + * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop' + list to look for keyword arguments instead of `memq', fixing + (Bug#3647) --- unfortunately, only for freshly-compiled code. + Please make bootstrap. + + 2014-03-22 Glenn Morris <rgm@gnu.org> + + * dired.el (dired-read-regexp): Make obsolete. + (dired-mark-files-regexp, dired-mark-files-containing-regexp) + (dired-flag-files-regexp): + * dired-aux.el (dired-mark-read-regexp): + * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly. + + * startup.el (fancy-startup-text): + * help.el (describe-gnu-project): Visit online info about GNU project. + + * help-fns.el (help-fns--interactive-only): New function. + (help-fns-describe-function-functions): Add the above function. + * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer) + (next-line, previous-line): Remove hand-written interactive-only + information from doc strings, it is auto-generated now. + * bookmark.el (bookmark-write): + * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign) + (epa-mail-import-keys): Mark interactive-only, + and remove hand-written interactive-only information from doc strings. + * epa.el (epa-decrypt-armor-in-region, epa-verify-region) + (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region): + * files.el (not-modified): + * simple.el (mark-whole-buffer): Mark interactive-only. + + * emacs-lisp/byte-run.el (defun-declarations-alist): + Add interactive-only. Doc tweak. + (macro-declarations-alist): Doc tweak. + * subr.el (declare): Doc tweak (add xref to manual). + * comint.el (comint-run): + * files.el (insert-file-literally, insert-file): + * replace.el (replace-string, replace-regexp): + * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char) + (delete-forward-char, goto-line, insert-buffer, next-line) + (previous-line): Set interactive-only via declare. + + 2014-03-22 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/package.el (package-desc): Use the contents of the + quoted form, not its cdr. (Bug#16873) + + 2014-03-22 Juanma Barranquero <lekktu@gmail.com> + + * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the + benefit of doc.c; change parameter profile to match the X function. + + 2014-03-22 Leo Liu <sdl.web@gmail.com> + + * help.el (temp-buffer-setup-hook): Remove help-mode-setup. + (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038) + + 2014-03-21 Richard Stallman <rms@gnu.org> + + * battery.el (battery-linux-sysfs): Search for each field + from the beginning of the buffer. + + * subr.el (set-transient-map): Clear out function and value + of the temporary symbol when we're done with it. + + * mail/rmailsum.el (rmail-summary-delete-forward): + Optimize case of reaching end and handling count. + (rmail-summary-mark-deleted): Optimize when N is current msg. + Don't create new summary line. + (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message. + (rmail-summary-undelete-many): Rewrite for speed. + (rmail-summary-msg-number): New function. + + * mail/rmail.el (rmail-delete-message): Update summary. + (rmail-undelete-previous-message): Handle repeat count arg. + (rmail-delete-backward, rmail-delete-forward): Likewise. + + 2014-03-21 Daniel Colascione <dancol@dancol.org> + + * mail/emacsbug.el (report-emacs-bug): Include memory usage + information in bug reports. + + 2014-03-21 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env' + and `tramp-copy-env'. + + * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'. + (tramp-maybe-open-connection): Handle `tramp-login-env'. + + 2014-03-21 Glenn Morris <rgm@gnu.org> + + * electric.el (electric-indent-post-self-insert-function): Add doc. + + 2014-03-21 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/package.el (package-compute-transaction): + Use `version-list-<=' to compare the requirement version against + the version of package already to be installed. Update the error + message. (Bug#16826) + + * progmodes/ruby-mode.el (ruby-smie-rules): + Add indentation rule for ` @ '. (Bug#17050) + + 2014-03-21 Juanma Barranquero <lekktu@gmail.com> + + * align.el (align-regexp): Remove superfluous backslash. + + * ffap.el (ffap-ftp-default-user, ffap-url-regexp) + (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix) + (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp): + Fix docstring typos. + (ffap-next): Use C-u in docstring. + (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist) + (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask): + Remove superfluous backslashes. + (ffap-string-at-point): Reflow docstring. + + * server.el (server-host): Reflow docstring. + (server-unload-function): Fix docstring typo. + (server-eval-at): Remove superfluous backslash. + + * skeleton.el (skeleton-insert): Remove superfluous backslash. + (skeleton-insert): Doc fix. + (skeleton-insert): Reflow docstring. + + * term/tty-colors.el (tty-color-alist, tty-modify-color-alist) + (tty-color-approximate, tty-color-by-index, tty-color-values) + (tty-color-desc): Remove superfluous backslashes. + + 2014-03-21 Glenn Morris <rgm@gnu.org> + + * cus-start.el (history-length): Bump :version. + + * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el) + ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el) + ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el): + Don't set `make-backup-files'. + + * info.el (info--prettify-description): New function, + to give info-finder descriptions consistent case, punctuation. + (Info-finder-find-node): Use it. Sort packages. + Refer to "description" rather than "commentary". + + 2014-03-21 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--print-register): New function. + (frameset-to-register): Use it. + + 2014-03-20 Juanma Barranquero <lekktu@gmail.com> + + * progmodes/hideif.el (hif-string-to-number): New function. + (hif-tokenize): Use it to understand non-decimal floats. + + * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code. + + * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix. + + 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca> + + * electric.el (electric-newline-and-maybe-indent): New command. + Bind it globally to C-j. + (electric-indent-mode): Don't mess with the global map any more. + Don't drop the post-self-insert-hook is some buffer is still using it + (bug#16770). + + * bindings.el (global-map): Remove C-j binding. + + * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find + the docstring of functions advised before dumping (bug#16993). + + 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change) + + * ps-print.el (ps-generate-postscript-with-faces): + Explicitly deactivate the mark (bug#16866). + * simple.el (deactivate-mark): Update region highlight. + + 2014-03-19 Juanma Barranquero <lekktu@gmail.com> + + * emacs-lisp/package.el (describe-package-1): + Decode commentary (bug#16733). + + 2014-03-18 Juanma Barranquero <lekktu@gmail.com> + + * custom.el (defcustom): Doc fix: recommend avoiding destructive + modification of the value argument of :set (bug#16755). + + 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el (newline-and-indent): Do autofill (bug#17031). + + 2014-03-18 Dmitry Gutov <dgutov@yandex.ru> + + * newcomment.el (comment-normalize-vars): Only add escaping check + to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971) + (comment-beginning): Use `narrow-to-region' instead of moving back + one character. + (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html) + (comment-start-skip): Update the docstring. + + 2014-03-18 Richard Stallman <rms@gnu.org> + + * dired.el (dired-display-file): Force use of other window. + + 2014-03-18 Daniel Colascione <dancol@dancol.org> + + * startup.el (tty-handle-args): Remove debug message from 2007. + + 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/nadvice.el (advice--interactive-form): New function. + (advice--make-interactive-form): Use it to avoid (auto)loading function. + (advice--make-1, advice-add, advice-remove): + Remove braindead :advice-pending hack. + + 2014-03-17 Glenn Morris <rgm@gnu.org> + + * calendar/calendar.el (calendar-generate-month): Apply weekend + face to the right days; fixes 2013-08-06 change. (Bug#17028) + + 2014-03-17 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-action-out-of-band): Read pending output. + (tramp-call-process): Trace also DESTINATION. + + * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): + Quote file names when they are local. Remove superfluous trace. + + 2014-03-17 Dmitry Gutov <dgutov@yandex.ru> + + * newcomment.el (comment-beginning): If `comment-start-skip' + doesn't match, move back one char and try again. (Bug#16971) + + * emacs-lisp/lisp-mode.el (lisp-mode-variables): + Set `comment-use-syntax' to t to avoid the unnecessary runtime check. + Set `comment-start-skip' to a simpler value that doesn't try to + check if the semicolon is escaped (this is handled by + `syntax-ppss' now). (Bug#16971) + + * progmodes/scheme.el (scheme-mode-variables): Same. + + 2014-03-16 Martin Rudalics <rudalics@gmx.at> + + Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007). + * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME + current (Bug#16816, Bug#17007). + (with-current-buffer-window): New macro doing the same as + `with-temp-buffer-window' but with BUFFER-OR-NAME current. + * help.el (help-print-return-message): Warn in doc-string to not + use this in `with-help-window'. + (describe-bindings-internal): Call `describe-buffer-bindings' + from within help buffer. See Juanma's scenario in (Bug#16816). + (with-help-window): Update doc-string. + * dired.el (dired-mark-pop-up): + * files.el (save-buffers-kill-emacs): + * register.el (register-preview): Use `with-current-buffer-window' + instead of `with-temp-buffer-window'. + + 2014-03-16 Juanma Barranquero <lekktu@gmail.com> + + * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic): + Implement inserting into current buffer, documented in their docstrings. + (rst-define-key, rst-compare-adornments, rst-insert-list-new-item) + (rst-section-tree-point, rst-forward-section, rst-indent) + (rst-compute-tabs, rst-font-lock-find-unindented-line-end) + (rst-font-lock-find-unindented-line-limit, rst-adornment-level) + (rst-font-lock-handle-adornment-pre-match-form) + (rst-repeat-last-character): Reflow docstrings. + (rst-preferred-adornments, rst-update-section, rst-find-title-line) + (rst-adjust-adornment-work, rst-initial-items, rst-insert-list) + (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section) + (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index): + Fix docstring typos. + (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes. + (rst-uncomment-region, rst-font-lock-find-unindented-line-match) + (rst-font-lock-handle-adornment-matcher): Mark unused arguments. + + 2014-03-15 Juanma Barranquero <lekktu@gmail.com> + + * term/ns-win.el (x-command-line-resources): Rename from ns-... version, + for compatibility with other ports. + (ns-initialize-window-system): Use it. It is set in term/common-win.el + from the -xrm command line argument, but in the Nextstep port its value + is irrelevant because nsfns.m:Fx_open_connection ignores it for now. + + * progmodes/python.el (defconst, python-syntax-count-quotes) + (python-indent-region, python-indent-shift-right) + (python-indent-dedent-line-backspace, python-nav-backward-sexp) + (python-nav-backward-sexp-safe, python-nav-backward-up-list) + (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp) + (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock) + (inferior-python-mode, python-shell-make-comint, run-python-internal) + (python-shell-buffer-substring, python-shell-send-buffer) + (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp) + (python-completion-complete-at-point, python-fill-docstring-style) + (python-eldoc-function, python-imenu-format-item-label) + (python-imenu-format-parent-item-label) + (python-imenu-format-parent-item-jump-label) + (python-imenu--build-tree, python-imenu-create-index) + (python-imenu-create-flat-index): Fix docstring typos. + (python-indent-context, python-shell-prompt-regexp, run-python): + Remove superfluous backslashes. + (python-indent-line, python-nav-beginning-of-defun) + (python-shell-get-buffer, python-shell-get-process) + (python-info-current-defun, python-info-current-line-comment-p) + (python-info-current-line-empty-p, python-util-popn): Doc fixes. + (python-indent-post-self-insert-function, python-shell-send-file) + (python-shell-completion-get-completions) + (python-shell-completion-complete-or-indent) + (python-eldoc--get-doc-at-point): Reflow docstrings. + + 2014-03-14 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/package.el (package-menu-mode-map): + Replace use of obsolete function alias. Tweak menu item text. + + * info.el (Info-finder-find-node): + Ignore the `emacs' metapackage. (Bug#10813) + + * finder.el (finder-list-matches): Include unversioned packages + in the result of a keyword search. + + * finder.el (finder--builtins-descriptions): New constant. + (finder-compile-keywords): Use finder--builtins-descriptions. + + 2014-03-14 Dmitry Gutov <dgutov@yandex.ru> + + * simple.el (blink-matching-paren): Describe the new value, + `jump', enabling the old behavior. + (blink-matching-open): Use that value. (Bug#17008) + + 2014-03-14 Glenn Morris <rgm@gnu.org> + + * finder.el (finder-no-scan-regexp): Add leim-list. + (finder-compile-keywords): + Don't skip files with same basename. (Bug#14010) + * Makefile.in (setwins_finder): New, excluding leim. + (finder-data): Use setwins_finder. + + * help-fns.el (help-split-fundoc, help-add-fundoc-usage) + (help-function-arglist, help-make-usage): Move from here... + * help.el (help-split-fundoc, help-add-fundoc-usage) + (help-function-arglist, help-make-usage): ... to here. (Bug#17001) + * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns. + + 2014-03-14 Juanma Barranquero <lekktu@gmail.com> + + * net/socks.el (socks, socks-override-functions) + (socks-find-services-entry): + * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma) + (hif-find-ifdef-block): + * progmodes/modula2.el (m2-indent): Fix docstring typos. + + * net/tls.el (tls-program): Reflow docstring. + + * progmodes/pascal.el (pascal-mode-abbrev-table) + (pascal-imenu-generic-expression, pascal-auto-endcomments) + (pascal-mark-defun, pascal-comment-area, pascal-indent-level) + (pascal-outline-mode): Fix docstring typos. + (pascal-mode): Let define-derived-mode document mode hook. + (pascal-uncomment-area): Reflow. + (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring. + + * progmodes/opascal.el (opascal-compound-block-indent) + (opascal-case-label-indent): Fix docstring typos. + (opascal-mode): Fix typos; let defined-derived-mode document mode hook. + + 2014-03-13 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): + Fontify multiple adjacent negation chars. (Bug#17004) + + 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change) + + * emacs-lisp/package.el (package--prepare-dependencies): + Accept requirements without explicit version (bug#14941). + + 2014-03-12 Juanma Barranquero <lekktu@gmail.com> + + * register.el (register-separator, copy-to-register): Doc fixes. + (register-preview-default): Remove unnecessary call to concat. + + * frameset.el (frameset-restore): When checking for a visible frame, + use the action map instead of calling visible-frame-list. + + 2014-03-12 Jonas Bernoulli <jonas@bernoul.li> + + * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998). + + 2014-03-12 Martin Rudalics <rudalics@gmx.at> + + * window.el (fit-frame-to-buffer): Get maximum width from + display's width instead of height. + + 2014-03-12 Glenn Morris <rgm@gnu.org> + + * desktop.el (desktop-restore-frames) + (desktop-restore-in-current-display, desktop-restore-forces-onscreen) + (desktop-restore-reuses-frames): Doc tweaks. + + * electric.el (electric-indent-mode): Doc fix. + + 2014-03-12 Juanma Barranquero <lekktu@gmail.com> + + * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot) + (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark) + (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday) + (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot) + (cvs-dired-use-hook): Fix docstring typos. + (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files): + Doc fixes. + + * vc/pcvs-defs.el (cvs-auto-remove-handled) + (cvs-auto-remove-directories, cvs-default-ignore-marks) + (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer) + (cvs-execute-single-dir): Fix docstring typos. + + * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos. + (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes. + + * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring. + + * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set): + Fix docstring typos. + + 2014-03-12 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--jump-to-register): Add autoload; it could be + called from jump-to-register after unloading the frameset package. + + 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el (set-mark): Ensure mark-active is nil if the mark is nil + (bug#16975). Deactivate the mark before setting it to nil. + (activate-mark): Do nothing if region is already active. + + 2014-03-11 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--target-display): Remove definition; declare. + (frameset-save, frameset-restore): Let-bind frameset--target-display. + + 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance. + (advice-add): Add a :advice--pending marker, so advice--make-1 knows + when the advice is pending. + (advice-remove): Remove this marker when not needed any more. + + 2014-03-11 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el: Separate options for reusing frames and cleaning up. + (frameset--reuse-list): Remove definition; declare. + (frameset--action-map): Declare. + (frameset--find-frame-if): Doc fix. + (frameset--restore-frame): Cache frame action. + (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select + how to clean up the frame list after restoring. Remove cleaning + options from REUSE-FRAMES. Change all keyword values to symbols. + (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES. + + * desktop.el (desktop-restore-forces-onscreen) + (desktop-restore-reuses-frames): Use non-keyword values. + (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore. + + 2014-03-10 Glenn Morris <rgm@gnu.org> + + * files.el (find-file): Doc fix: update info node name. + + * emacs-lisp/advice.el (ad-add-advice, defadvice): + Doc fix: remove references to deleted info nodes. + + 2014-03-10 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell): + Do not add nil to the environment, when there's no remote `locale'. + (tramp-find-inline-encoding): Check, that the remote host has + installed perl, before sending scripts. + + 2014-03-10 Leo Liu <sdl.web@gmail.com> + + * emacs-lisp/eldoc.el (eldoc-minibuffer-message): + Clear eldoc-last-message. (Bug#16920) + + 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca> + + * desktop.el (desktop-create-buffer): Don't run activate-mark-hook + (bug#14430). + + 2014-03-09 Juri Linkov <juri@jurta.org> + + * ansi-color.el (ansi-color-names-vector): Copy default colors + from `xterm-standard-colors' that look well on the default white + background (and also on the black background) to avoid illegible + color combinations like yellow-on-white and white-on-white. + http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html + + 2014-03-08 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset-restore): When no frame is visible, do not + generate a list of frames, just make visible the selected one. + + 2014-03-08 Dmitry Gutov <dgutov@yandex.ru> + + * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when + it only contains the repository root. (Bug#16897) + + 2014-03-07 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass + only when `remote-file-name-inhibit-cache' is nil. + (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code. + + 2014-03-06 Martin Rudalics <rudalics@gmx.at> + + * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins): + Fix doc-strings. + (fit-frame-to-buffer): New argument ONLY. Remove dependency on + fit-frame-to-buffer variable. Fix doc-string. + (fit-window-to-buffer): Set ONLY argument in call of + fit-frame-to-buffer. Fix doc-string. + + 2014-03-06 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-error): VEC-OR-PROC can be nil. + (tramp-action-password): Clear password cache if needed. + (tramp-read-passwd): Do not clear password cache. + + * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password + cache unless it is the first password request. + + 2014-03-06 Glenn Morris <rgm@gnu.org> + + * simple.el (newline): Doc tweak. + + * emacs-lisp/shadow.el (load-path-shadows-find): + Ignore dir-locals. (Bug#12357) + + 2014-03-05 Glenn Morris <rgm@gnu.org> + + * files.el (interpreter-mode-alist): + * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938) + + 2014-03-05 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--initial-params): Filter out null entries. + + 2014-03-05 Martin Rudalics <rudalics@gmx.at> + + * window.el (window-min-height, window-min-width): + Rewrite doc-strings. + (window-body-size): Add PIXELWISE argument to make it consistent + with its callees. + + 2014-03-05 Juanma Barranquero <lekktu@gmail.com> + + * finder.el (finder-mode-map, finder-mode-syntax-table): + Revert part of 2014-02-28 change. + + 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-mode-map): [tab] doesn't work on tty. + (eww-setup-buffer): Clear next/prev/etc more reliably. + (eww-textarea-map): [tab] doesn't work on tty. + Reported by Mario Lang. + + * net/shr.el (shr-map): Ditto. + + 2014-03-04 Glenn Morris <rgm@gnu.org> + + * minibuffer.el (completion-hilit-commonality): + Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933) + + 2014-03-04 Juanma Barranquero <lekktu@gmail.com> + + * hilit-chg.el (hilit-chg-unload-function): New function. + (highlight-changes-mode, highlight-changes-visible-mode): Fix typos. + (hilit-chg-map-changes): Prefer cardinal number to digit. + (hilit-chg-display-changes): Reflow docstring. + (highlight-changes-rotate-faces): Remove superfluous backslash. + + 2014-03-04 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call + `tramp-send-command-and-check'. + + 2014-03-04 Juanma Barranquero <lekktu@gmail.com> + + * hexl.el (hexl-address-region, hexl-ascii-region) + (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char) + (hexl-backward-short, hexl-forward-short, hexl-backward-word) + (hexl-forward-word, hexl-previous-line, hexl-next-line): + Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings. + (hexl-mode): Doc fix. + (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line) + (hexl-mode-ruler): Fix typos in docstrings. + + * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos. + (strokes-character, strokes-get-grid-position, strokes-list-strokes): + Remove superfluous backslashes. + (strokes-last-stroke, strokes-global-map, strokes-mode): + Reflow docstrings. + (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string) + (strokes-xpm-for-compressed-string): Use quotes with buffer name. + (strokes-distance-squared, strokes-global-set-stroke) + (strokes-global-set-stroke-string): Doc fixes. + (strokes-help): Fix typos; reflow docstring. + + 2014-03-04 Martin Rudalics <rudalics@gmx.at> + + * window.el (window-in-direction): Fix doc-string. + + 2014-03-04 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/smie.el (smie-config-guess): Doc fix. + Explicit error if no grammar. + (smie-config-save): Doc fix. Fix quote typo. + + 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into + electric-indent-mode-hook if we obey electric-indent-mode. + (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to + decide whether we obey electric-indent-mode. + (c-change-set-fl-decl-start, c-extend-after-change-region): + Silence warnings. + (c-electric-indent-mode-hook): Assume we do want to obey + electric-indent-mode. + + * electric.el (electric-indent-mode-has-been-called): Remove. + (electric-indent-mode): Fix accordingly. + + * files.el (hack-local-variables): Mention file name in warning. + + * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message. + + 2014-03-04 Michal Nazarewicz <mina86@mina86.com> + + * bindings.el: Add comment describing why C-d binds to `delete-char'. + * simple.el (delete-forward-char): Mark as interactive-only. + + 2014-03-03 Juanma Barranquero <lekktu@gmail.com> + + * icomplete.el (icomplete-completions): + Follow-up to 2014-03-01 change. + + * icomplete.el: Miscellaneous doc fixes. + Use Icomplete everywhere instead of icomplete for consistency. + (icomplete-max-delay-chars): Fix typo. + (icomplete-mode): Use \[]. + (icomplete-tidy, icomplete-exhibit): Reflow. + (icomplete-minibuffer-setup-hook, icomplete-completions): + Remove superfluous backlashes. + + * ido.el: Miscellaneous doc fixes. + Use Ido everywhere instead of ido or `ido' for consistency. + (ido-record-ftp-work-directories, ido-merge-ftp-work-directories) + (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts) + (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp". + (ido-separator): Extract obsolescence info from docstring and declare + with make-obsolete-variable. + (ido-minibuffer-setup-hook): Simplify example. + (ido-text, ido-text-init, ido-input-stack, ido-report-no-match) + (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir) + (ido-completion-help, ido-completing-read): Fix typos in docstrings. + (ido-everywhere): Reflow docstring. + (ido-toggle-vc): Doc fix. + (ido-switch-buffer, ido-find-file): Use tabs to improve legibility + of long list of keybindings. + + 2014-03-03 Glenn Morris <rgm@gnu.org> + + * frame.el (display-pixel-height, display-pixel-width) + (display-mm-dimensions-alist, display-mm-height) + (display-mm-width): Doc tweaks. + + 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com> + + * simple.el (undo-elt-in-region): Fix buffer corruption for edge + case of undo in region. + + 2014-03-02 Martin Rudalics <rudalics@gmx.at> + + * window.el (fit-window-to-buffer): Fix argument in window-size + call when window is horizontally combined. + + 2014-03-02 Juanma Barranquero <lekktu@gmail.com> + + * icomplete.el (icomplete-completions): Use string-width. + Suggested by Stefan Monnier <monnier@iro.umontreal.ca>. + + 2014-03-01 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): + Highlight regexp options. (Bug#16914) + + 2014-03-01 Martin Rudalics <rudalics@gmx.at> + + * window.el (window--max-delta-1): Round down when calculating + how many lines/columns we can get from a window. + + 2014-03-01 Glenn Morris <rgm@gnu.org> + + * isearch.el (search-invisible): Doc fix. + + * minibuffer.el (completion-hilit-commonality): + Make `base-size' argument optional. Short-cut if `prefix-len' is 0. + * comint.el (comint-dynamic-list-completions): Doc fix. + * comint.el (comint-dynamic-list-completions): + * filecache.el (file-cache-minibuffer-complete): + * tempo.el (tempo-display-completions): + * eshell/em-hist.el (eshell-list-history): + Replace use of obsolete argument of display-completion-list. + + 2014-03-01 Juanma Barranquero <lekktu@gmail.com> + + * icomplete.el (icomplete-completions): + Revert back to using "..." when ?… cannot be displayed. + + 2014-02-28 Juanma Barranquero <lekktu@gmail.com> + + * finder.el (finder-unload-function): New function. + + 2014-02-28 Juanma Barranquero <lekktu@gmail.com> + + * dframe.el (dframe-detach): + * find-dired.el (find-dired, find-name-dired): + * finder.el (finder-mode-map, finder-mode-syntax-table) + (finder-headmark, finder-select, finder-mouse-select): + Fix docstring typos. + + 2014-02-28 Martin Rudalics <rudalics@gmx.at> + + Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882). + * window.el (with-temp-buffer-window): Revert change from 2014-02-21. + Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>. + Fix doc-string based on a suggestion by Nicolas Richard + <theonewiththeevillook@yahoo.fr>. + * help.el (with-help-window): Fix doc-string. + + 2014-02-28 Ivan Kanis <ivan@kanis.fr> + + * net/shr.el (shr-image-animate): New option. + (shr-put-image): Respect shr-image-animate. + + 2014-02-28 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-adb.el (tramp-adb-parse-device-names): + Use `accept-process-output'. + (tramp-adb-handle-file-truename): Cache the localname only. + (tramp-adb-handle-make-directory) + (tramp-adb-handle-delete-directory): Flush file properties correctly. + (tramp-adb-handle-set-file-modes): Do not raise an error when file + modes cannot be changed. + + * net/tramp-cache.el (tramp-flush-directory-property): Remove also + file properties of symlinks. + + 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se> + + * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update + required/optional fields to match development biblatex. (Bug#16781) + + 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change) + + * saveplace.el (toggle-save-place): + Fix argument handling. (Bug#16673) + + 2014-02-28 Glenn Morris <rgm@gnu.org> + + * minibuffer.el (completions-first-difference) + (completions-common-part, completion-hilit-commonality): Doc fixes. + + 2014-02-28 Karl Berry <karl@gnu.org> + + * info.el (Info-mode-map): Add H for describe-mode, + to synchronize with standalone Info. + + 2014-02-28 Emilio C. Lopes <eclig@gmx.net> + + * progmodes/sql.el (sql-interactive-mode): + Avoid setting global comint-input-ring-separator. (Bug#16814) + + 2014-02-27 Michael Albinus <michael.albinus@gmx.de> + + * net/dbus.el (dbus--init-bus): Declare function. + (dbus-path-local, dbus-interface-local): New defconst. + (dbus-init-bus): Use them. + (dbus-return-values-table): Extend doc. + (dbus-handle-bus-disconnect): Extend error message. + + 2014-02-27 Juanma Barranquero <lekktu@gmail.com> + + * subr.el (y-or-n-p): Fix double space issue in message. + + 2014-02-27 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-call-process): Improve trace message. + (tramp-handle-insert-file-contents): Trace error case. + + * net/tramp-adb.el (tramp-adb-file-name-handler-alist) + <insert-directory>: Use `tramp-handle-insert-directory'. + (tramp-adb-handle-insert-directory): Remove function. + (tramp-adb-send-command-and-check): New defun, replacing + `tramp-adb-command-exit-status'. Change all callees. + (tramp-adb-handle-file-attributes) + (tramp-adb-handle-directory-files-and-attributes): Use it. + (tramp-adb-ls-output-name-less-p): + Use `directory-listing-before-filename-regexp'. + (tramp-adb-handle-delete-directory): Flush also file properties of + the truename of directory. + (tramp-adb-handle-file-name-all-completions): Add "./" and "../". + (tramp-adb-handle-file-local-copy): Make the local copy readable. + (tramp-adb-handle-write-region): Implement APPEND. + (tramp-adb-handle-rename-file): Make it more robust. Flush file + properties correctly. + (tramp-adb-maybe-open-connection): Set `tramp-current-*' + variables. Check for connected devices only when needed. + + 2014-02-27 Glenn Morris <rgm@gnu.org> + + * minibuffer.el (completion-table-dynamic) + (completion-table-with-cache): Doc fixes. + + * emacs-lisp/crm.el (crm-default-separator, crm-separator) + (completing-read-multiple): Doc fixes. + + 2014-02-27 Daniel Colascione <dancol@dancol.org> + + * minibuffer.el (completion--nth-completion): Fix indentation. + + * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when + explicit tramp path is empty. + + 2014-02-27 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/crm.el (completing-read-multiple): + Empower help-enable-auto-load. + + 2014-02-26 Glenn Morris <rgm@gnu.org> + + * startup.el (command-line): Don't init the tty in daemon mode. + + Avoid calling tty-setup-hook twice, eg if a term file + explicitly calls tty-run-terminal-initialization. (Bug#16859) + * faces.el (tty-run-terminal-initialization): Add run-hook argument. + (tty-create-frame-with-faces): Use it. + * startup.el (command-line): Pass run-hook argument + to tty-run-terminal-initialization. + + * dired.el (dired-restore-desktop-buffer): Demote errors; + eg in case a glob match fails. (Bug#16884) + + 2014-02-26 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file' + error from `read-from-string'. (Bug#16850) + + * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the + result of `completing-read' in the interactive form. (Bug#16854) + + 2014-02-25 Glenn Morris <rgm@gnu.org> + + * image.el (image-animate, image-animate-timeout): + Stop animating images in dead buffers. (Bug#16878) + + * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868) + + * faces.el (tty-setup-hook, tty-run-terminal-initialization): + Doc fixes. + * startup.el (term-setup-hook): Doc fix. Make obsolete. + * term/sun.el (sun-raw-prefix-hooks): + Use tty-setup-hook instead of term-setup-hook. + (terminal-init-sun): Construct message from bytecomp plist. + * term/wyse50.el (enable-arrow-keys): Doc fix. + + 2014-02-24 Juanma Barranquero <lekktu@gmail.com> + + * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks): + Fix docstring typos. + + 2014-02-24 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix. + + 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr> + + * minibuffer.el (completion--try-word-completion): + Fix error when completing M-x commands (bug#16808). + + 2014-02-24 Leo Liu <sdl.web@gmail.com> + + * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec. + + 2014-02-24 Juanma Barranquero <lekktu@gmail.com> + + * apropos.el (apropos-print): Avoid formatting error when + apropos-do-all and apropos-compact-layout are both t. + + 2014-02-23 Juanma Barranquero <lekktu@gmail.com> + + * apropos.el (apropos-property, apropos-all-words-regexp) + (apropos-true-hit, apropos-variable, apropos-print): + Fix docstring typos, and remove obsolete comment. + + 2014-02-23 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-handle-file-truename): + Preserve trailing "/". (Bug#16851) + + 2014-02-23 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially + after `=>' (bug#16811). + (ruby-smie-rules): Handle the inconsistent second element of the + list returned by `smie-indent--parent'. + (ruby-font-lock-keywords): Disqualify any identifier before `=' as + method call. + + 2014-02-23 Juanma Barranquero <lekktu@gmail.com> + + * elec-pair.el (electric-pair-text-syntax-table) + (electric-pair-syntax-info, electric-pair--syntax-ppss) + (electric-pair--balance-info, electric-pair-mode): Fix docstring typos. + (electric-pair--looking-at-unterminated-string-p): Doc fix. + (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'. + + 2014-02-22 Glenn Morris <rgm@gnu.org> + + * imenu.el (imenu--generic-function): Doc fix. + + * register.el (frame-configuration-to-register): Make obsolete. + + 2014-02-22 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop-save-buffer-p): Do not fail when + desktop-files-not-to-save is nil. Return t for true result + as the doc says. + + 2014-02-22 Daniel Colascione <dancol@dancol.org> + + * net/secrets.el (secrets-create-item, secrets-search-items): + Check that attribute values are strings, avoiding the construction + of invalid dbus messages. + + 2014-02-21 Juanma Barranquero <lekktu@gmail.com> + + * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in + defun-declarations-alist. + + 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule + (bug#16829). + + 2014-02-21 Juanma Barranquero <lekktu@gmail.com> + + * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab) + (whitespace-newline, whitespace-trailing, whitespace-line) + (whitespace-space-before-tab, whitespace-indentation, whitespace-empty) + (whitespace-space-after-tab): Fix typo in docstrings. + + 2014-02-21 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or". + + * electric.el (electric-indent-functions-without-reindent): + Add `yaml-indent-line'. + + 2014-02-21 Juanma Barranquero <lekktu@gmail.com> + + * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete. + It has done nothing for years; should be removed after the release. + + * simple.el (choose-completion): Fix docstring typo. + (read-quoted-char-radix): Remove unneeded * in docstring. + (process-file, kill-whole-line, pop-to-mark-command, set-mark-command): + Don't escape parentheses unnecessarily in docstrings. + + 2014-02-21 Martin Rudalics <rudalics@gmx.at> + + Fix handling of window-min-height/-width (Bug#16738). + * window.el (window--dump-window, window--dump-frame): + New functions. + (window--min-size-1): Account for window dividers. + When window-resize-pixelwise is nil, delay rounding till after the + sum of the window components has been calculated. + (window--min-delta-1, window--max-delta-1): When PIXELWISE is + nil make sure at least one text line and two text columns remain + fully visible. + (window-resize): Signal an error when window-resize-apply fails. + (window--resize-child-windows): Fix calculation of by how many + pixels a window can still be shrunk via window-new-normal. + (adjust-window-trailing-edge): Call window--resizable with + correct TRAIL argument. + + (with-temp-buffer-window): Don't evaluate BODY within + with-current-buffer (Bug#16816). + + 2014-02-21 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-check-cached-permissions): + Call `file-attributes' with `suffix' being a symbol but a string. + + 2014-02-21 Daniel Colascione <dancol@dancol.org> + + * net/dbus.el (dbus-init-bus-1): Declare new subr. + (dbus-init-bus): New function: call into dbus-init-bus-1 + and installs a handler for the disconnect signal. + (dbus-call-method): Rewrite to look for result in cons. + (dbus-call-method-handler): Store result in cons. + (dbus-check-event): Recognize events with nil sender as valid. + (dbus-handle-bus-disconnect): New function. React to bus + disconnection signal by synthesizing dbus error for each + pending synchronous or asynchronous call. + (dbus-notice-synchronous-call-errors): New function. + (dbus-handle-event): Raise errors directly only when `dbus-debug' + is true, not all the time. + + 2014-02-21 Juanma Barranquero <lekktu@gmail.com> + + * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist): + Remove obsolescence declarations, these variables do not exist anymore. + + * savehist.el (savehist-save-minibuffer-history) + (savehist-additional-variables, savehist-file, savehist-mode-hook) + (savehist-save-hook, savehist-coding-system, savehist-loaded) + (savehist-load, savehist-install, savehist-autosave): Fix typos; + mostly, refer to "Savehist mode" when talking about the mode, + and not the function. + + * saveplace.el (save-place): Remove redundant info in docstring. + (save-place-forget-unreadable-files, toggle-save-place) + (save-place-forget-unreadable-files, save-place-dired-hook): + Fix typos and remove unneeded backslashes. + + 2014-02-20 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (ls-lisp-use-insert-directory-program): Declare. + (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el. + + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist) + <insert-directory>: Use `tramp-handle-insert-directory'. + (tramp-gvfs-handle-insert-directory): Remove function. + + * net/tramp-sh.el (tramp-sh-handle-insert-directory): + Call `tramp-handle-insert-directory'. + + 2014-02-20 Juanma Barranquero <lekktu@gmail.com> + + * elec-pair.el (electric-pair-syntax-info): Do not check syntax + before the start of buffer/region (bug#16799). + + 2014-02-20 Glenn Morris <rgm@gnu.org> + + * isearch.el (search-invisible): Doc fix. + + 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change) + + * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output + (bug#16657). + + 2014-02-19 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset-restore): Delay removing an old frame's + duplicate id until the new frame has been correctly created. + + 2014-02-19 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-handle-make-symbolic-link): New defun. + (tramp-check-cached-permissions): Call `file-attributes' if the + cache is empty. + + * net/tramp-adb.el (tramp-adb-file-name-handler-alist) + <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'. + + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist) + <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'. + (tramp-gvfs-maybe-open-connection): Set always connection + properties, even if target is mounted already. + + * net/tramp-sh.el (tramp-color-escape-sequence-regexp): + Set tramp-autoload cookie. + (tramp-get-remote-touch): New defun. + (tramp-sh-handle-set-file-times): Use it. + (tramp-sh-handle-directory-files-and-attributes): + Use `tramp-handle-directory-files-and-attributes' if neither stat + nor perl are available on the remote host. + + * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing + "/". Write long listing only when "l" belongs to the switches. + + * net/trampver.el: Update release number. + + 2014-02-19 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793. + + 2014-02-19 Martin Rudalics <rudalics@gmx.at> + + * window.el (window-state-put): Allow WINDOW to refer to an + internal window (Bug#16793). + + 2014-02-19 Glenn Morris <rgm@gnu.org> + + * textmodes/remember.el: Move provide statement to end. + (remember-mode-map, remember-notes-mode-map, remember-notes-mode) + (remember-notes): Doc fixes. + + 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca> + + * delsel.el (delete-char): Restore incorrectly erased property + (bug#16795). + + 2014-02-18 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--restore-frame): When a frame is being reused + and its root window is not alive, delete all the frame's windows before + restoring the window state. This works around the issue in bug#16793. + + 2014-02-18 Glenn Morris <rgm@gnu.org> + + * textmodes/remember.el (remember-data-directory) + (remember-directory-file-name-format, remember-store-in-files) + (remember-notes-initial-major-mode, remember-notes-bury-on-kill) + (remember-notes-save-and-bury-buffer) + (remember-notes--kill-buffer-query): Doc fixes. + + * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes. + + 2014-02-17 Alan Mackenzie <acm@muc.de> + + Connect electric-indent-mode up with CC Mode. Bug #15478. + * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks + to electric-indent-{,local-}-mode. + (c-basic-common-init): Set electric-indent-inhibit. + Initialize c-electric-flag from electric-indent-mode. + (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook): + New hook functions which propagate electric-indent-mode to CC mode. + + * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is + hit, toggle electric-indent-local-mode. + + * electric.el (electric-indent-mode-has-been-called): + New variable. + + 2014-02-17 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset-cfg-id): New function. + (frameset--reuse-frame, frameset-restore): Use it. + (frameset--jump-to-register): Try harder to reuse frames (bug#16748). + + 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * ido.el (ido-file-internal): Remove unused var `d'. + Use \` for to match BoS. Fit within 80n columns. + + 2014-02-17 Daniel Colascione <dancol@dancol.org> + + * net/dbus.el (dbus-call-method): Work around bug#16775 by having + dbus-call-method check for completion using a busy-wait loop with + gradual backoff. + + 2014-02-16 Michael Albinus <michael.albinus@gmx.de> + + Sync with Tramp 2.2.9. + + * net/trampver.el: Update release number. + + 2014-02-16 Dmitry Gutov <dgutov@yandex.ru> + + * ido.el (ido-file-internal): Don't add the name of an existing + directory twice. (Bug#16747) + + 2014-02-16 Glenn Morris <rgm@gnu.org> + + * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs): + Do not use ediff-defvar-local on pre-defined variables. (Bug#16744) + + 2014-02-15 Michael R. Mauger <michael@mauger.com> + + * progmodes/sql.el: Version 3.4 + (sql-oracle-options): New default value ("-L"). + (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting. + (sql-placeholders-filter): Correct placeholder pattern. + (sql-read-table-name): Bug fix. Detect absence of SQLi process. + (sql-login-delay): New variable. + (sql-product-interactive): Use it. + + 2014-02-15 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--jump-to-register): Check that buffer is live + (bug#16749). + + 2014-02-15 Glenn Morris <rgm@gnu.org> + + * info.el (info-initialize): Revert 2014-01-10 change. + + 2014-02-14 Glenn Morris <rgm@gnu.org> + + * replace.el (map-query-replace-regexp) + (read-regexp-defaults-function, read-regexp): Doc fixes. + + * dired.el (dired-read-regexp): + * faces.el (list-faces-display): + * misearch.el (multi-isearch-read-matching-buffers) + (multi-isearch-read-matching-files): + * play/cookie1.el (cookie-apropos): + * progmodes/grep.el (grep-read-regexp): Doc fixes. + + * textmodes/remember.el (remember): Use frameset-to-register + rather than frame-configuration-to-register. + + 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com> + + * calc/calc-menu.el (calc-vectors-menu): Remove menu item for + incorrect keybinding. + + 2014-02-13 Daniel Colascione <dancol@dancol.org> + + * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer + when adding overlays so that line numbers from compiler match line + numbers we use. + + 2014-02-13 Glenn Morris <rgm@gnu.org> + + * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743) + + * jit-lock.el (jit-lock-mode): Doc fix. + + 2014-02-13 Juanma Barranquero <lekktu@gmail.com> + + * apropos.el (apropos-read-pattern): When the user passes an empty + string, give a more helpful error message than "Wrong type + argument: stringp, nil". + + 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca> + + * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers. + + 2014-02-13 Glenn Morris <rgm@gnu.org> + + * finder.el (finder-known-keywords, finder-mode-map): Doc fixes. + + 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca> + + * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as + shift-select commands. + + 2014-02-12 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/js.el (js-indent-line): Don't widen. + http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html + + 2014-02-12 Glenn Morris <rgm@gnu.org> + + * icomplete.el (icomplete): Add info-link to defgroup. + (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook) + (icomplete-minibuffer-map, icomplete-mode) + (icomplete-simple-completing-p, icomplete-completions): Doc fixes. + + * emacs-lisp/package.el (package-menu-mode-map): Tweak menu. + (package-menu-filter): Rename from package-menu-filter-interactive. + Doc fix. + + 2014-02-11 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--jump-to-register): Select the required + window and buffer before restoring position (bug#16696). + + 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org> + + * dired.el (dired-get-marked-files): Clarify doc (bug#11534). + + 2014-02-10 Glenn Morris <rgm@gnu.org> + + * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394) + + 2014-02-10 Eli Zaretskii <eliz@gnu.org> + + * w32-common-fns.el (x-get-selection): Doc fix. + * select.el (x-get-selection): Doc fix. (Bug#15109) + + * face-remap.el (face-remap-add-relative) + (face-remap-remove-relative, face-remap-reset-base) + (face-remap-set-base): Call force-mode-line-update to redisplay + the current buffer due to potential change in faces. (Bug#16709) + + 2014-02-10 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc + script more robustly. + + 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org> + + * dired.el (dired-get-marked-files): Doc fix (bug#11534). + + * simple.el (choose-completion): Doc fix (bug#14160). + + * subr.el (event-start): Say what a nil EVENT value means. + + * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused + (bug#14197). + + * progmodes/grep.el (find-program): Doc fix (bug#14289). + + * files.el (confirm-kill-emacs): Clarify doc (bug#15455). + + * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832). + + * files.el (confirm-kill-emacs): Allow specifying an arbitrary + predicate function (bug#15455). + + 2014-02-10 Dmitry Gutov <dgutov@yandex.ru> + + * ielm.el (inferior-emacs-lisp-mode): Instead of + `comment-use-global-state', set `comment-use-syntax'. + + 2014-02-10 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel. + + 2014-02-09 Alan Mackenzie <acm@muc.de> + + Fix c-invalidate-state-cache on narrowed buffers. + * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out): + Widen when setting and clearing the CPP delimiter properties. + + 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org> + + * help.el (describe-bindings): Doc fix (bug#9888). + + * files.el (save-buffer): Use ARG as the parameter name for + consistency (bug#10346). + (save-buffer): Clarify the 0 argument (bug#10346). + + * cus-edit.el (customize-apropos): Fix error string. + (custom-buffer-create): Doc fix (bug#11122). + (custom-sort-items): Doc fix (bug#11121). + + * repeat.el (repeat-message-function): Reword doc slightly (bug#11619). + + * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654). + (icomplete-simple-completing-p): Mention the previous variable. + + * font-lock.el (font-lock-value-in-major-mode): Clarify the + meaning of the parameter (bug#12282). + + * files.el (find-file-noselect): Clarify prompt when changing + readedness (bug#13261). + (locate-file): Suffixes aren't returned, so don't say that they + are (bug#12674). + (backup-inhibited): Doc clarification (bug#12525). + + * dired.el (dired-internal-do-deletions): Don't say "Deleting..." + before we actually start to delete things (bug#16331). + + * subr.el (event-start): Doc fix (bug#14228). + (event-end): Ditto. + + 2014-02-09 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/warnings.el (lwarn): + Empower help-enable-auto-load. (Bug#15940) + + 2014-02-08 Andreas Schwab <schwab@linux-m68k.org> + + * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix. + (Bug#16690) + + 2014-02-08 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-handle-start-file-process): + Insert output at end of buffer. (Bug#16120) + + 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org> + + * simple.el (choose-completion-string-functions): Document new + calling convention (bug#14153). + (execute-extended-command): Clarify doc string (bug#13373). + + * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198). + + * find-dired.el (find-name-dired): Doc fix (bug#14290). + (find-grep-dired): Doc fix (bug#14288). + + 2014-02-08 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-quote-char): Check character validity + like in `quoted-insert' (bug#16677). + + 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org> + + * files.el (find-file-visit-truename): Doc clarification (bug#14697). + + * isearch.el (isearch-hide-immediately): Doc clarification + (bug#14723). + + * simple.el (line-move): Document utility function used many + places in the Emacs sources (bug#14843). + + * dired.el (dired-mode-map): Make :help text more accurate (bug#14893). + (dired-prev-marked-file): Doc fix (bug#14855). + (dired-up-directory): Doc fix (bug#14848). + + * minibuffer.el (read-file-name): Doc clarification (bug#15096). + + * files.el (file-relative-name): Doc fix (bug#15159). + + * fringe.el (fringe-styles): Doc fix (bug#15239). + + * isearch.el (isearch-filter-predicate): Documentation typo fix + (bug#15474). + + * info-look.el (info-lookup-symbol): Document MODE (bug#15498). + + * isearch.el (isearch-cmds): Doc clarification (bug#15547). + + * replace.el (replace-match-maybe-edit): Doc clarification + (bug#15632). + + * subr.el (add-to-list): Refill the paragraphs (bug#15791). + + * macros.el (insert-kbd-macro): Doc fix (bug#16025). + + 2014-02-08 Glenn Morris <rgm@gnu.org> + + * help-fns.el (describe-variable): + Check {file,dir}-local-variables-alist, and buffer-file-name, + in the correct buffer. + + 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com> + + * help-fns.el (describe-variable): Fix the case where + a value is directory-local with no dir-locals file. (Bug#16635) + + 2014-02-08 Glenn Morris <rgm@gnu.org> + + * abbrev.el (edit-abbrevs-mode): + Derive from fundamental-mode. (Bug#16682) + + 2014-02-07 Juanma Barranquero <lekktu@gmail.com> + + * simple.el (quoted-insert): Check character validity (bug#16677). + + 2014-02-07 Juri Linkov <juri@jurta.org> + + * desktop.el (desktop-read): Claim the lock when the owner is not + the current process. (Bug#16157) + + 2014-02-07 Juri Linkov <juri@jurta.org> + + * desktop.el (desktop-buffers-not-to-save): Change default from nil + to "\\` ". (Bug#16651) + + 2014-02-07 Juri Linkov <juri@jurta.org> + + * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer' + when enabling, and `desktop-auto-save-cancel-timer' when disabling. + (desktop-auto-save-cancel-timer): New function with some code from + `desktop-auto-save-set-timer'. + (after-init-hook): Don't call `desktop-auto-save-set-timer'. + Instead of setting `desktop-save-mode' to nil, call + `desktop-save-mode' with arg 0. (Bug#16630) + + 2014-02-07 Glenn Morris <rgm@gnu.org> + + * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer) + (hi-lock-face-buffer, hi-lock-face-phrase-buffer) + (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks. + + * obsolete/iswitchb.el: Move to obsolete/. + * simple.el (iswitchb-mode): Add manual autoloads to ease transition, + since obsolete/ is not scanned for autoloads. + * emacs-lisp/authors.el (authors-valid-file-names): + Add iswitchb.el. + + * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11). + Disable now non-functional find-file-hook. + + 2014-02-06 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&" + instead of ";" in order to avoid additional prompts. Let heredoc + scripts read from tty. (Bug#16582) + (tramp-send-command): No special handling of heredocs, it isn't + necessary anymore. + + 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start + with a space (bug#16664). Limit the symbols considered to the ones + that are bound or fbound (bug#16646). + + 2014-02-06 Glenn Morris <rgm@gnu.org> + + * epa.el (epa-mail-aliases): Doc fix. + + 2014-02-06 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/lisp.el (lisp-completion-at-point): + Use `completion-table-merge' instead of `completion-table-in-turn' + (bug#16604). + + * minibuffer.el (completion-table-merge): New function. + + 2014-02-05 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-end-of-heredoc): New defconst. + (tramp-sh-handle-set-file-acl) + (tramp-sh-handle-start-file-process) + (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered) + (tramp-find-executable, tramp-send-command): Use it. + + 2014-02-05 Glenn Morris <rgm@gnu.org> + + * epa.el (epa-mail-aliases): Fix custom type. Doc tweak. + + 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el (python-shell-send-string) + (python-shell-send-string-no-output): Fix docstring (Bug#16547). + + 2014-02-04 Anders Lindgren <andlind@gmail.com> + + * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in + the names (bug#16620). + + 2014-02-03 Martin Rudalics <rudalics@gmx.at> + + * faces.el (window-divider): New default value. Rewrite doc-string. + (window-divider-first-pixel, window-divider-last-pixel): New faces. + + 2014-02-03 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private', + `protected' and `public' can also be called without arguments. + + 2014-02-03 Glenn Morris <rgm@gnu.org> + + * register.el (window-configuration-to-register) + (frame-configuration-to-register): Unadvertise unused argument. + * frameset.el (frameset-to-register): Remove unused argument. + + * frameset.el (frameset-to-register): + * kmacro.el (kmacro-to-register): + * register.el (increment-register): + * calc/calc-yank.el (calc-copy-to-register, calc-insert-register) + (calc-append-to-register, calc-prepend-to-register): + * play/gametree.el (gametree-layout-to-register) + (gametree-apply-register-layout): + * textmodes/picture.el (picture-clear-rectangle-to-register) + (picture-yank-rectangle-from-register): + * vc/emerge.el (emerge-combine-versions-register): + Use register-read-with-preview to read registers. + + 2014-02-03 João Távora <joaotavora@gmail.com> + + * elec-pair.el (electric-pair-backward-delete-char): Don't error + when at beginning of (possibly narrowed) buffer. + + 2014-02-02 Daniel Colascione <dancol@dancol.org> + + * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display): + Also try to display local help from just before point. + + 2014-02-02 Alan Mackenzie <acm@muc.de> + + c-parse-state. Don't "append-lower-brace-pair" in certain + circumstances. Also fix an obscure bug where "\\s!" shouldn't be + recognised as a comment. + + * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!" + as well as normal comment starter. + (c-parse-state-get-strategy): Extra return possibility + 'back-and-forward. + (c-remove-stale-state-cache): Extra element CONS-SEPARATED in + return value list to indicate replacement of a brace-pair cons + with its car. + (c-parse-state-1): With 'back-and-forward, only call + c-append-lower-brace-pair-to state-cache when cons-separated. + + 2014-02-02 Jan Djärv <jan.h.d@swipnet.se> + + * term/ns-win.el (ns-suspend-error): New function. + (ns-initialize-window-system): Add ns-suspend-error to + suspend-hook (Bug#16612). + + 2014-02-02 Daniel Colascione <dancol@dancol.org> + + * progmodes/cc-defs.el (c-find-assignment-for-mode): + Make loading cc-mode silent. + + 2014-02-02 Daniel Colascione <dancol@dancol.org> + + * comint.el (comint-prompt-read-only): Change doc to suggest + remap keybinding. + + 2014-02-02 Glenn Morris <rgm@gnu.org> + + * register.el (register-read-with-preview, point-to-register) + (window-configuration-to-register, frame-configuration-to-register) + (jump-to-register, number-to-register, view-register, insert-register) + (copy-to-register, append-to-register, prepend-to-register) + (copy-rectangle-to-register): Doc fixes. + + 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca> + + * help-fns.el (help-C-file-name): Handle advised functions (bug#16478). + * emacs-lisp/find-func.el (find-function-C-source): Idem. + * emacs-lisp/nadvice.el (advice--cd*r): New function. + * help-fns.el (describe-function-1): Use it. + + 2014-02-02 Glenn Morris <rgm@gnu.org> + + * register.el (register-preview-default): New function, + split from register-preview. + (register-preview-function): Rename from register-preview-functions, + make it not a hook. + (register-preview): Use register-preview-function. + (register-read-with-preview): Error on non-character event. (Bug#16595) + + 2014-02-01 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for + `:' before binary operators (bug#16609). Don't check for `:' + before `[' and `(', or their syntax status. A percent literal + can't end with either. + (ruby-font-lock-keywords): For built-ins that require arguments, + check that they're followed by something that looks like argument + (bug#16610). + + 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org> + + * subr.el (butlast): Document what an omitted N means (bug#13437). + (nbutlast): Ditto. + + 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-generic): Make into a defsubst to make the stack + depth shallower (bug#16587). + (shr-tag-svg): Respect `shr-inhibit-images'. + (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882). + + 2014-01-31 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-align-chained-calls): New option. + (ruby-smie-grammar): Make "." right-associative. Make its priority + lower than the ternary and all binary operators. + (ruby-smie-rules): Indent "(" relative to the first non-"." + parent, or the first "." parent at indentation. + Use `ruby-align-chained-calls' for indentation of "." tokens. + (Bug#16593) + + 2014-01-31 Juri Linkov <juri@jurta.org> + + * sort.el (delete-duplicate-lines): Remove `:weakness 'key' + from `make-hash-table'. + + * textmodes/ispell.el (ispell-init-process): Change message format + to be consistent with other messages. + + 2014-01-31 Glenn Morris <rgm@gnu.org> + + * delsel.el (delete-selection-mode): Doc fix. + + * emacs-lisp/trace.el (trace--read-args, trace-function-foreground) + (trace-function-background): Doc fixes. + + * ido.el (ido-use-virtual-buffers): Doc fix. + Reset :version, since the default value has not changed. + + * register.el (register-preview-delay, register-read-with-preview): + Doc fixes. + + * mail/reporter.el (reporter-dump-variable): In case of void-variable, + do not mess with mail-buffer position (fixes 2009-11-03 change). + * progmodes/cc-mode.el (c-submit-bug-report): + Check auto-fill-mode is bound. (Bug#16592) + + 2014-01-31 Darren Hoo <darren.hoo@gmail.com> + + * startup.el (fancy-splash-image-file): New function, + split from fancy-splash-head. + (fancy-splash-head, use-fancy-splash-screens-p): Use it, + so that we are both using the same image. (Bug#16574) + + 2014-01-30 Glenn Morris <rgm@gnu.org> + + * simple.el (eval-expression): Doc fix. + + * hexl.el (hexl-mode-hook): + * ielm.el (ielm-mode-hook): + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook) + (lisp-interaction-mode-hook): + * progmodes/cfengine.el (cfengine3-documentation-function): + Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'. + + 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic' + is a symbol (bug#16584). + + 2014-01-30 Glenn Morris <rgm@gnu.org> + + * help.el (help-for-help-internal): Add "P" to text. + + 2014-01-29 Glenn Morris <rgm@gnu.org> + + * simple.el (just-one-space, cycle-spacing): Doc fixes. + + 2014-01-28 Martin Rudalics <rudalics@gmx.at> + + * window.el (fit-frame-to-buffer): Fix calculations for margins and + height constraints. + + 2014-01-28 Luke Lee <luke.yx.lee@gmail.com> + + * progmodes/hideif.el: Extend to full CPP expression syntax. + (hif-token-alist): Add missing tokens. + (hif-token-regexp): Add support for float/octal/hex immediates. + (hif-string-literal-regexp): New const. + (hif-tokenize): Recognize strings and float/octal/hex immediates. + (hif-exprlist): New function. + (hif-parse-if-exp): Use it. + (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr) + (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft) + (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal) + (hif-logxor, hif-comma): New functions. + + 2014-01-28 Glenn Morris <rgm@gnu.org> + + * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak. + + * indent.el (tab-stop-list): Doc fix. Add :version. + + * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations. + (cvs-append-to-ignore): Add compatibility alias. + + 2014-01-27 Glenn Morris <rgm@gnu.org> + + * dired.el (dired-hide-details-mode): Don't autoload it, + since it cannot be used outside Dired buffers anyway. + + * emulation/cua-base.el (cua-mode): Doc fix. + + * dired.el (dired-hide-details-hide-symlink-targets) + (dired-hide-details-hide-information-lines) + (dired-hide-details-mode): Doc fixes. + + * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix. + * strokes.el (strokes-file): Doc fix. Bump :version. + (strokes-help): Doc fix. + * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix. + * emulation/viper.el (viper): Doc fix for custom group. + (top-level): Remove oh-so-no-longer-relevant text about vip. + * obsolete/otodo-mode.el (todo-prefix): Doc fix. + + * ido.el (ido-save-directory-list-file): + * saveplace.el (save-place-file): + * calendar/timeclock.el (timeclock-file): + * net/quickurl.el (quickurl-url-file): + * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top): + * progmodes/idlwave.el (idlwave-config-directory): + * textmodes/remember.el (remember-data-file): + Bump :version. + + 2014-01-26 Glenn Morris <rgm@gnu.org> + + * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab): + Doc fix. Make obsolete. + (opascal-mode): No longer mention opascal-tab-always-indents in doc. + + * sort.el (delete-duplicate-lines): Doc fix. + + 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * progmodes/ada-mode.el (ada): + * woman.el (woman): Link to info manual and Commentary section. + + * progmodes/flymake.el (flymake): + * nxml/nxml-mode.el (nxml): + * net/eww.el (eww): + * speedbar.el (speedbar, speedbar-faces, speedbar-vc): + * htmlfontify.el (htmlfontify): + * ses.el (ses): + * epa.el (epa): + * ido.el (ido): Link to info manual. + + 2014-01-25 Leo Liu <sdl.web@gmail.com> + + * progmodes/flymake.el (flymake-make-overlay): No rear advance. + + 2014-01-25 Adam Sjøgren <asjo@koldfront.dk> + + * net/shr.el (shr-tag-img): Prefer the title over the alt text + (bug#16537). + + 2014-01-24 Juanma Barranquero <lekktu@gmail.com> + + * net/eww.el (eww-download-callback): + Fix reference to eww-download-directory. + + * emacs-lisp/bytecomp.el (byte-compile-file): + Remove unused local variable `file-name'. + + 2014-01-24 Glenn Morris <rgm@gnu.org> + + * woman.el (woman-default-faces, woman-monochrome-faces): + Fix obsolescence specification. + + * subr.el (with-demoted-errors): Doc fix. + + 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520). + (cl--macroexp-fboundp): New function. + (cl--make-type-test): Use it. + + 2014-01-23 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp): + * simple.el (eval-expression): Doc fixes. + + 2014-01-22 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/authors.el (authors-fixed-entries): Addition. + + 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/package.el: Write files silently. + (package-autoload-ensure-default-file, package--write-file-no-coding) + (package-generate-description-file, package--download-one-archive) + (package-install-from-archive): Tell `write-region' to stay quiet. + (package-menu-mode, package-menu--print-info): Omit the Archive column + if there's only one archive. + (package-all-keywords, package--has-keyword-p): Remove dead code. + + 2014-01-22 Glenn Morris <rgm@gnu.org> + + * version.el (emacs-bzr-version-bzr): Fix typo. + + * version.el (emacs-repository-get-version): + Check either .bzr or .git, but not both. + Make the git case actually use the DIR argument, and return nil + rather than the empty string. + Avoid error if .git exists but the git executable is not found. + + 2014-01-22 Martin Rudalics <rudalics@gmx.at> + + Fixes in window size functions around Bug#16430 and Bug#16470. + * window.el (window-total-size, window-size): New argument ROUND. + (window--min-delta-1, window-min-delta, window--max-delta-1): + Be more conservative when calculating the numbers of lines or + columns a window can shrink (Bug#16430). + (fit-window-to-buffer): Simplify code. + * term.el (term-window-width): Call window-body-width again. + + 2014-01-22 Glenn Morris <rgm@gnu.org> + + * image.el (image-format-suffixes): Doc fix. + + * international/quail.el (quail-define-package): Doc fix. + + * emacs-lisp/authors.el (authors-valid-file-names) + (authors-renamed-files-alist): Additions. + + * vc/vc-git.el (vc-git-print-log): Remove --follow; + reverts 2014-01-09 change. (Bug#16422) + + * calc/calc-embed.el (thing-at-point-looking-at): + * emacs-lisp/map-ynp.el (x-popup-dialog): + * obsolete/lmenu.el (x-popup-dialog): + * emacs-lisp/package.el (url-recreate-url): + * mail/mailclient.el (clipboard-kill-ring-save): + * subr.el (x-popup-dialog): Update declaration. + * mail/rmail.el (rmail-mime-message-p): + * window.el (tool-bar-lines-needed): Remove unnecessary declaration. + + 2014-01-21 Daniel Colascione <dancol@dancol.org> + + * progmodes/sh-script.el (sh--inside-noncommand-expression): + Correctly detect when we're inside an arithmetic expansion form + containing nested parenthesis. + (sh--maybe-here-document): Use `sh--inside-noncommand-expression' + to detect cases where we shouldn't expand "<<" to a heredoc + skeleton. + + 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/eldoc.el: Properly remove message in minibuffer case. + (eldoc--message-command-p): New function. + (eldoc-display-message-p): Use it. + (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the + message is not automatically erased for us. + (eldoc-print-current-symbol-info): Erase previous message, if any. + + 2014-01-21 Tassilo Horn <tsdh@gnu.org> + + * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to + specify it's an interactive function. + + * textmodes/reftex-cite.el (reftex-all-used-citation-keys): + Fix regex used for scanning for citation keys which failed for + citations with optional arguments. + + 2014-01-21 Leo Liu <sdl.web@gmail.com> + + * simple.el (read--expression): Don't enable eldoc-mode. + + 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el (move-beginning-of-line): Make sure we don't move forward + (bug#16497). + + 2014-01-20 Juri Linkov <juri@jurta.org> + + * saveplace.el (toggle-save-place, save-place-to-alist) + (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p + 'dired-mode) before checking for dired-directory. (Bug#16477) + + 2014-01-20 Juri Linkov <juri@jurta.org> + + * indent.el (indent-line-to): Use backward-to-indentation + instead of back-to-indentation. (Bug#16461) + + 2014-01-20 Paul Eggert <eggert@cs.ucla.edu> + + Revert some of the CANNOT_DUMP fix (Bug#16494). + Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes, + but fixing this can wait until after the next release. + * Makefile.in (emacs): Keep EMACSLOADPATH empty. + + 2014-01-19 Michael Albinus <michael.albinus@gmx.de> + + * eshell/esh-mode.el (eshell-password-prompt-regexp): + Use `password-word-equivalents'. + (eshell-watch-for-password-prompt): Let-bind `case-fold-search' + to t. (Bug#5664, Bug#13124) + + 2014-01-19 Alan Mackenzie <acm@muc.de> + + Bind open-paren-in-column-0-is-defun-start to nil at some entry + points. + * progmodes/cc-engine.el (c-invalidate-state-cache-1) + (c-parse-state-1, c-guess-basic-syntax): Bind it here. + * progmodes/cc-mode.el (c-before-change, c-after-change) + (c-font-lock-fontify-region): Bind it here. + + 2014-01-19 Martin Rudalics <rudalics@gmx.at> + + * term.el (term-window-width): Call window-text-width instead of + window-width (Bug#16470). + + 2014-01-18 Paul Eggert <eggert@cs.ucla.edu> + + * simple.el (password-word-equivalents): Remove duplicates. + Sort, to make this easier next time. + Downcase. Omit ": " after "jelszó". + + 2014-01-18 Jan Djärv <jan.h.d@swipnet.se> + + * term/common-win.el (saved-region-selection): Defvar it. + (x-select-text): Set saved-region-selection (Bug#16382). + + 2014-01-18 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/authors.el (authors-aliases) + (authors-renamed-files-alist): Add some entries. + + 2014-01-17 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-password-prompt-regexp): + Use `password-word-equivalents' if available. + (tramp-action-password, tramp-process-one-action) + (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124) + + 2014-01-17 Chong Yidong <cyd@gnu.org> + + * simple.el (password-word-equivalents): New defcustom. + * comint.el (comint-password-prompt-regexp): Use it. Bump version + to 24.4. + (comint-watch-for-password-prompt): Let-bind `case-fold-search' + to t. (Bug#13124) + + 2014-01-17 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant. + (ruby-align-to-stmt-keywords): Change the default value. + Use `ruby-alignable-keywords' to generate the possible customization + choices. + (ruby-smie-rules): Instead of using a hardcoded list of alignable + keywords, check against the value of `ruby-alignable-keywords' + (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html). + + 2014-01-17 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries. + + Make M-x authors return zero *Authors Errors* from current logs. + * emacs-lisp/authors.el (authors-obsolete-files-regexps) + (authors-ignored-files): Add some entries, remove others. + (authors-ambiguous-files, authors-valid-file-names): + Add some entries. + (authors-renamed-files-alist): Add, remove, and adjust entries. + (authors-renamed-files-regexps): Add some entries. + Remove some very broad ones. Make some entries `lax'. + (authors-lax-changelogs): New constant. + (authors-disambiguate-file-name): Treat top-level specially. + (authors-lax-changelog-p): New function. + (authors-canonical-file-name): Check file as written against + authors-valid-file-names. Do not special-case etc/. + Handle `lax' logs and authors-renamed-files-regexps elements. + + 2014-01-16 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with + `assoc'. Use `nth' instead of `cdr'. Make private. Update all + callers. + + 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426). + Assume we're already in the proper buffer. + Inspired by Anders Lindgren <andlind@gmail.com>. + (follow-post-command-hook): Call it from the right buffer. + (follow-comint-scroll-to-bottom): Adjust call. + (follow-all-followers): Use get-buffer-window-list. + + 2014-01-15 Daniel Colascione <dancol@dancol.org> + + * emacs-lisp/bytecomp.el (byte-compile-file): Use whole + `buffer-file-name' in interactive-form so that we don't leave + pathless file names in `file-name-history'. + + 2014-01-15 Juri Linkov <juri@jurta.org> + + * indent.el (indent-rigidly): Set deactivate-mark to nil + in transient indentation mode. (Bug#16438) + + 2014-01-15 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/package.el (package-desc-keywords): New function + (Bug#16222). + (describe-package-1, package-all-keywords) + (package--has-keyword-p): Use it. + + 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr> + + * simple.el (define-alternatives): When creating the + COMMAND-alternatives variable, assign COMMAND as its definition + name so that `describe-variable' can relocate it. + + 2014-01-14 Matthew Leach <matthew@mattleach.net> + + * font-lock.el (font-lock-keywords): Fix typo in docstring + (bug#16307). + + 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es> + + * textmodes/ispell.el (ispell-region): Reset `in-comment' for new + line instead of wrongly reset `add-coment' (bug#13577). + + 2014-01-14 Daiki Ueno <ueno@gnu.org> + + * epa-file.el (epa-file-write-region): Encode the region according + to `buffer-file-format'. Problem reported at: + <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>. + + 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/edebug.el (edebug--display): Move protective let-binding + so it applies in the right buffer (bug#16410). + + 2014-01-13 Daniel Colascione <dancol@dancol.org> + + * textmodes/rst.el (rst-define-key): Provide deprecated + keybindings through named functions instead of anonymous ones so + that "??" doesn't appear in describe-mode output. + + 2014-01-13 Bastien Guerry <bzg@gnu.org> + + * simple.el (define-alternatives): Call the selected command + interactively. When setting `COMMAND--implementation' for the + first time, tell the user how to chose another implementation. + Enhance the docstring. + + 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca> + + * vc/log-edit.el: Fix highlighting of summary when it's the first line. + (log-edit--match-first-line): New function. + (log-edit-font-lock-keywords): Use it. + (log-edit-mode): Make jit-lock-defer-multiline work. + + 2014-01-13 Bastien Guerry <bzg@gnu.org> + + * rect.el (rectangle-mark-mode): When the region is not active, + display a message saying that the mark as been set and that + rectangle mode is in use. + (rectangle--highlight-for-redisplay): Only put an overlay with a + visible vertical bar when (display-graphic-p) is non-nil. + This partially fixes Bug#16403. + + 2014-01-13 Juri Linkov <juri@jurta.org> + + * info.el (Info-find-file): Go to DIR before displaying the error + about a nonexistent file if no previous Info file is visited. + Use `user-error' instead of `error' for "Info file %s does not exist". + (Info-find-node-2): In case of a nonexistent node in unwind forms + go to the Top node if there is no previous node to revert to. + (Bug#16405) + + 2014-01-13 Martin Rudalics <rudalics@gmx.at> + + fit-frame/window-to-buffer code fixes including one for Bug#14096. + * window.el (fit-frame-to-buffer): Fix doc-string. + Respect window-min-height/-width. Fit pixelwise when + frame-resize-pixelwise is non-nil. Adjust right/bottom edge + when avoiding that frame goes partially off-screen. + (fit-window-to-buffer): Respect window-min-height/-width + (Bug#14096). + + 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca> + + * indent.el (indent-according-to-mode): Flush to column 0 in text-mode + after an empty line. + + 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca> + + * net/shr.el (shr-render-region): Autoload. + + 2014-01-12 Xue Fuqiao <xfq.free@gmail.com> + + * net/eww.el (eww-download-directory): Rename from + `eww-download-path' (Bug#16419). + + 2014-01-12 Leo Liu <sdl.web@gmail.com> + + * dired-x.el (dired-mode-map): Fix last change. + + * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally. + + 2014-01-12 Paul Eggert <eggert@cs.ucla.edu> + + Spelling fixes. + * emacs-lisp/generic.el (generic--normalize-comments): + Rename from generic--normalise-comments. All uses changed. + * play/bubbles.el (bubbles--neighborhood-score) + (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood) + (bubbles--neighborhood-available) + (bubbles--update-neighborhood-score): + Rename from names with 'neighbourhood'. All uses changed. + + 2014-01-12 Leo Liu <sdl.web@gmail.com> + + Re-implement the feature of showing eldoc info after editing. + * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove. + (eldoc-edit-message-commands): New function. + (eldoc-print-after-edit): New variable. + (eldoc-pre-command-refresh-echo-area): Emit message only by + eldoc-message-commands. + (eldoc-mode): Restrict eldoc-message-commands to editing commands + if eldoc-print-after-edit is set. (Bug#16346) + * simple.el (read--expression): Enable eldoc-mode. + * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc. + + 2014-01-11 Dani Moncayo <dmoncayo@gmail.com> + Eric S. Raymond <esr@thyrsus.com> + + * version.el (emacs-repository-get-version): Enhance so the + function works correctly in either a Bazaar or Git repo. + + 2014-01-11 Eric S. Raymond <esr@thyrsus.com> + + * play/meese.el: It's 2014 and Ed Meese is justly forgotten. + Goes with removal of the joke manpages from /etc. + + 2014-01-10 Kenichi Handa <handa@gnu.org> + + * mail/rmail.el (rmail-get-coding-system): + Check rmail-get-coding-function before "funcall"ing it. + + 2014-01-10 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/authors.el (authors-fixed-entries): + Update for files that no longer exist. + + 2014-01-10 Eric S. Raymond <esr@thyrsus.com> + + * version.el (emacs-bzr-get-version): Restore compatibilty with + 24.3 (Tested). + + 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com> + + * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec + and Podfile. + + 2014-01-10 Eli Zaretskii <eliz@gnu.org> + + * emacs-lisp/authors.el (authors-fixed-entries): Update my entry. + + 2014-01-10 Chong Yidong <cyd@gnu.org> + + * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded. + + 2014-01-10 Anders Lindgren <andlind@gmail.com> + + * follow.el (follow-cache-command-list): Include right-char and + left-char. + + 2014-01-10 Paul Eggert <eggert@cs.ucla.edu> + + Spelling fixes. + * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro. + * woman.el (woman-mark-horizontal-position): + Rename from woman-mark-horizonal-position. Use changed. + + 2014-01-10 Glenn Morris <rgm@gnu.org> + + * info.el (info-initialize): If running uninstalled, ensure our + own info files are always found first, even if INFOPATH is set. + + * help.el (view-order-manuals): Open emacs.info rather than ORDERS. + + 2014-01-09 David Engster <deng@randomsample.de> + + * emacs-lisp/eieio-custom.el: + * emacs-lisp/eieio-opt.el: Set generated autoload file to + 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org. + * emacs-lisp/eieio.el: Regenerate autoloads. + + 2014-01-09 Eric S. Raymond <esr@thyrsus.com> + + * vc/vc-git.el (vc-git-print-log): Add --follow option to command, + following renames. (Bug#8756) + + 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el (deactivate-mark, activate-mark): Force-mode-line-update + (bug#16382). + (activate-mark): Add `no-tmm' argument. + (set-mark, push-mark-command): Use it instead of running + activate-mark-hook by hand. + + 2014-01-08 Eric S. Raymond <esr@thyrsus.com> + + In preparation for the move to git, sanitize out some + Bazaar-specific names. + + * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO. + + * version.el (emacs-bzr-version): Name changed to + emacs-repository-version. Obsolete-variable alias made. + * loadup.el: Follow through on this name change. + * mail/emacsbug.el (report-emacs-bug): Factor out any + assumption about the version control system in use. + + 2014-01-08 David Engster <deng@randomsample.de> + + * help-fns.el (help-fns-describe-function-functions): + New variable to call functions for augmenting help buffers. + (describe-function-1): Remove explicit calls to + `help-fns--compiler-macro', `help-fns--parent-mode' and + `help-fns--obsolete'. Put them in above new variable instead, and + call them through `run-hook-with-args'. + * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from + `eieio-describe-class'. Not meant for interactive use anymore, + but to augment existing help buffers. Remove optional second + argument. Create proper button for file location. + Rewrite function to use `insert' instead of `princ' and `prin1' where + possible. + (eieio-help-class-slots): Rename from `eieio-describe-class-slots'. + (eieio-method-def, eieio-class-def): Move further up. + (describe-method, describe-generic, eieio-describe-method): + Remove aliases. + (eieio-help-constructor, eieio-help-generic): Rename from + `eieio-describe-constructor' and `eieio-describe-generic', resp. + Rewrite to use `insert' in the current buffer and use proper help + buttons. + (eieio-help-find-method-definition) + (eieio-help-find-class-definition): Also accept symbols as + arguments. + (eieio-help-mode-augmentation-maybee): Remove. + (eieio-describe-class-sb): Use `describe-function'. + * emacs-lisp/eieio.el (help-fns-describe-function-functions): + Add `eieio-help-generic' and `eieio-help-constructor'. + + 2014-01-08 Paul Eggert <eggert@cs.ucla.edu> + + Spelling fixes. + * language/china-util.el (hz-ascii-designation): + Rename from hz-ascii-designnation. + (hz-ascii-designation): Rename from hz-ascii-designnation. + All uses changed. + + 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/package.el (package-delete): Only remove pkg-desc from + package-alist. + + 2014-01-08 Bastien Guerry <bzg@gnu.org> + + * emacs-lisp/package.el (package-delete): + Correctly delete the package from package-alist. + + 2014-01-08 Daiki Ueno <ueno@gnu.org> + + * emacs-lisp/package.el (url-recreate-url): Declare. + (url-http-target-url): Declare. + (package-handle-response): Include requested URL in the error message. + (package--check-signature): Don't re-signal errors from + package--with-work-buffer. Suggested by Stefan Monnier. + + 2014-01-07 Bastien Guerry <bzg@gnu.org> + + * minibuffer.el (completion--try-word-completion): When both a + hyphen and a space are possible candidates for the character + following a word, display both candidates. (Bug#15980) + + 2014-01-07 Martin Rudalics <rudalics@gmx.at> + + * window.el (balance-windows-2): While rounding don't give a + window more than the remainder. Bug#16351, bug#16383. + + 2014-01-07 Glenn Morris <rgm@gnu.org> + + * menu-bar.el (menu-bar-help-extra-packages): Remove. + (menu-bar-help-menu): Use view-external-packages instead. + + 2014-01-07 Bastien Guerry <bzg@gnu.org> + + * emacs-lisp/package.el (package-delete): Also delete the package + name from `package-alist', not its description only. + + 2014-01-07 Glenn Morris <rgm@gnu.org> + + * help.el (view-external-packages): + * menu-bar.el (menu-bar-help-extra-packages): + Visit efaq.info rather than etc/MORE.STUFF. + + 2014-01-07 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-mode-map): Bind [return] and [backspace] to + isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035) + + * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding + that shadows RET. (Bug#16342) + + 2014-01-07 Chong Yidong <cyd@gnu.org> + + * isearch.el (isearch-yank-char, isearch-yank-word) + (isearch-yank-line): Doc fix. + + 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * abbrev.el (define-abbrev): Beware new meaning of fboundp. + * emacs-lisp/elint.el (elint-find-builtins): + * emacs-lisp/eldoc.el (eldoc-symbol-function): + * emacs-lisp/bytecomp.el (byte-compile-callargs-warn) + (byte-compile-file-form-defmumble, byte-compile, byte-compile-form): + * emacs-lisp/byte-opt.el (byte-compile-inline-expand): + * apropos.el (apropos-safe-documentation): + * subr.el (symbol-file): Remove redundant fboundp. + * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias. + + 2014-01-06 Bastien Guerry <bzg@gnu.org> + + * hl-line.el (global-hl-line-overlay): Make a local variable. + (global-hl-line-overlays): New variable to store all overlays. + (global-hl-line-mode): Don't delete overlays from the current + buffer when `global-hl-line-sticky-flag' is non-nil. + (global-hl-line-highlight): Add new overlays to + `global-hl-line-overlays'. + (global-hl-line-unhighlight-all): New function to delete all + overlays when turning off `global-hl-line-mode'. + This fixes Bug#16183. + + 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (set-transient-map): Fix nested case and docstring. + + 2014-01-06 Tassilo Horn <tsdh@gnu.org> + + * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a + `Texinfo' entry. + + 2014-01-06 Daniel Colascione <dancol@dancol.org> + + Fix defun navigation in vc log view. + + * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave + like `beginning-of-defun'. + (log-view-end-of-defun, log-view-end-of-defun-1): Rename old + log-view-end-of-defun to log-view-end-of-defun-1. Replace + log-view-end-of-defun with wrapper that behaves like `end-of-defun'. + (log-view-extract-comment): Call `log-view-current-entry' directly + instead of relying on broken `log-view-beginning-of-defun' behavior. + + 2014-01-06 Paul Eggert <eggert@cs.ucla.edu> + + Spelling fixes. + * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel): + * emacs-lisp/debug.el (cancel-debug-on-entry): + * epg.el (epg-error-to-string): + * files.el (recover-file): + * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region): + * mail/emacsbug.el (report-emacs-bug-hook): + * mail/sendmail.el (mail-recover): + * ses.el (ses-yank-resize): + * term/ns-win.el (ns-print-buffer): + Spelling fixes in diagnostics, mostly for "canceled" with one L. + * epg.el (epg-key-capability-alist): Rename from misspelled version. + All uses changed. + * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name. + + 2014-01-06 Leo Liu <sdl.web@gmail.com> + + * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o + to avoid shadowing global key. (Bug#16354) + + 2014-01-06 Daniel Colascione <dancol@dancol.org> + + * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for + rst-mode. + + 2014-01-05 Martin Rudalics <rudalics@gmx.at> + + * window.el (balance-windows): Add mising t to fix Bug#16351. + + 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-descend): Don't bug out if the anchor is empty + (bug#16285). + (shr-insert): If we have a word that's longer than `shr-width', + break after it anyway. Otherwise we'll do no breaking once we get + such a long word. + + 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> + + * net/eww.el (eww): Support single/double quote for search. + * net/eww.el (eww-list-histories, eww-history-browse): Fixup. + (eww-history-quit): Delete and use quit-window. + (eww-history-kill): Delete, because it doesn't work well and + not necessary. + (eww-history-mode-map): Delete some keys and add easy-menu. + + 2014-01-05 Paul Eggert <eggert@cs.ucla.edu> + + Fix misspelling of 'chinese' in rx (Bug#16237). + * emacs-lisp/rx.el (rx-categories): Correct spelling of + chinese-two-byte. + + Change subword regexps back to vars (Bug#16296). + * progmodes/subword.el (subword-forward-regexp) + (subword-backward-regexp): Change these back to variables. + + 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with + syntax-begin-function (bug#16247). + + 2014-01-03 Chong Yidong <cyd@gnu.org> + + * emacs-lisp/nadvice.el (advice--make-docstring): Change args. + (advice--docstring): Delete variable. + (advice--make-1): Leave the docstring empty. + (advice-add): Use function-documentation for advised docstring. + + * emacs-lisp/advice.el (ad--make-advised-docstring): Change args. + Ignore function-documentation property when getting documentation. + (ad-activate-advised-definition): Use function-documentation + generate the docstring. + (ad-make-advised-definition): Don't call + ad-make-advised-definition-docstring. + (ad-make-advised-definition-docstring, ad-advised-definition-p): + Delete functions. + + * progmodes/sql.el (sql-help): Use function-documentation instead + of dynamic-docstring-function property. No need to autoload now. + (sql--help-docstring): New variable. + (sql--make-help-docstring): Use it. + + 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca> + + * ielm.el (ielm-tab): Retarget. + (ielm-map): Use ielm-tab for tab. + (ielm-complete-filename): Use comint-filename-completion. + (ielm-complete-symbol): Remove. + (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and + remove ielm-tab from completion-at-point-functions (bug#16224). + + * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member): + Beware signals raised by predicates (bug#16201). + + 2014-01-02 Richard Stallman <rms@gnu.org> + + * dired-aux.el (dired-do-print): Handle printer-name. + + * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el. + * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el. + (rmail-epa-decrypt): Turn off mime processing. + + * mail/rmail.el (rmail-make-in-reply-to-field): + Add parens in message-id. + + * mail/rmail.el (rmail-get-coding-function): Variable. + (rmail-get-coding-system): Use it. + + 2013-12-31 Eli Zaretskii <eliz@gnu.org> + + * international/mule-conf.el: Unify the charset indian-is13194. + (indian-is13194): Specify unify-map. + + 2013-12-31 Leo Liu <sdl.web@gmail.com> + + * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305) + + 2013-12-30 Daniel Colascione <dancol@dancol.org> + + * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead + of printing a useless when we resume from sleep. + + * progmodes/sh-script.el + (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop + in indentation code. (Bug#16233) + + 2013-12-28 João Távora <joaotavora@gmail.com> + + * elec-pair.el (electric-pair-post-self-insert-function): + Don't open extra newlines at beginning of buffer. (Bug#16272) + + 2013-12-28 Eli Zaretskii <eliz@gnu.org> + + * frame.el (window-system-for-display): Don't allow to create a + GUI frame from a -nw session on MS-Windows. (Bug#14739) + + 2013-12-28 Glenn Morris <rgm@gnu.org> + + * mail/hashcash.el (hashcash-program): Rename from hashcash-path. + Update callers. + + * apropos.el (apropos-match-face): + * calculator.el (calculator-displayer): + * dabbrev.el (dabbrev-search-these-buffers-only): + * face-remap.el (buffer-face-mode-face): + * simple.el (yank-handled-properties): + * emacs-lisp/testcover.el (testcover-potentially-1value-functions): + * mail/footnote.el (footnote-mode-line-string, footnote-prefix): + * mail/hashcash.el (hashcash-accept-resources, hashcash-program) + (hashcash-double-spend-database): + * progmodes/ruby-mode.el (ruby-deep-indent-paren) + (ruby-deep-indent-paren-style): + * textmodes/flyspell.el (flyspell-auto-correct-binding): + * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style) + (rst-toc-insert-number-separator, rst-toc-insert-max-level): + * vc/pcvs-defs.el (cvs-minor-mode-prefix): + Specify custom types. + + * emacs-lisp/smie.el (smie-config): Add type, version, initialize. + * bookmark.el (bookmark-bmenu-use-header-line): + * doc-view.el (doc-view-scale-internally): + * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program): + * register.el (register-preview-delay): + * net/shr.el (shr-bullet): + * progmodes/cfengine.el (cfengine-cf-promises) + (cfengine-parameters-indent): + * progmodes/octave.el (inferior-octave-error-regexp-alist): + * textmodes/reftex-vars.el (reftex-label-regexps): + * vc/log-edit.el (log-edit-setup-add-author): Add version. + + * net/tls.el (tls-certtool-program): Fix default value. + + * desktop.el (desktop-restore-in-current-display): + * newcomment.el (comment-empty-lines): + * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info) + (idlwave-pad-keyword): + * progmodes/tcl.el (tcl-tab-always-indent): + * textmodes/reftex-vars.el (reftex-index-default-tag): + * elec-pair.el (electric-pair-skip-whitespace): + * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types. + + * emacs-lisp/authors.el (authors-ignored-files) + (authors-valid-file-names, authors-renamed-files-alist): Additions. + + 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl> + + * shell.el (shell-dynamic-complete-command): Doc fix. + (shell--command-completion-data): Shell completion now matches + executable filenames from the current buffer's directory, on + systems in which this behavior is the default (windows-nt, ms-dos). + + 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-insert): Don't infloop if the width is zero. + + 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca> + + * icomplete.el (icomplete-show-matches-on-no-input): Default to nil + (bug#16251). + + * electric.el: Move all electric-pair-* to elec-pair.el. + * elec-pair.el: New file, split from electric.el. + + 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-find-fill-point): Don't try to fill if the + indentation level is larger than the width, because that will + infloop. + (shr-insert): Fill repeatedly long texts, so that Japanese is + formatted correctly (bug#16263). + (shr-find-fill-point): Off by one error in comparison with the + indentation. + + 2013-12-26 João Távora <joaotavora@gmail.com> + + * electric.el (electric-pair-mode): More flexible engine for skip- + and inhibit predicates, new options for pairing-related functionality. + (electric-pair-preserve-balance): Pair/skip parentheses and quotes + if that keeps or improves their balance in buffers. + (electric-pair-delete-adjacent-pairs): Delete the pair when + backspacing over adjacent matched delimiters. + (electric-pair-open-extra-newline): Open extra newline when + inserting newlines between adjacent matched delimiters. + (electric--sort-post-self-insertion-hook): + Sort post-self-insert-hook according to priority values when + minor-modes are activated. + * simple.el (newline-and-indent): Call newline with interactive + set to t. + (blink-paren-post-self-insert-function): Set priority to 100. + * emacs-lisp/lisp-mode.el (lisp-mode-variables): + Use electric-pair-text-pairs to pair backtick-and-quote in strings and + comments. Locally set electric-pair-skip-whitespace to 'chomp and + electric-pair-open-newline-between-pairs to nil. + + 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el: Use lexical-binding. + (python-nav-beginning-of-defun): Stop searching ASAP. + + 2013-12-25 Xue Fuqiao <xfq.free@gmail.com> + + * vc/vc.el (vc-ignore): Use `vc-responsible-backend'. + Fix interactive spec. Doc fix. (Bug#15754) + + 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org> + + * emacs-lisp/byte-run.el (eval-when-compile): + * progmodes/cc-defs.el (cc-eval-when-compile): + Fix edebug spec (bug#16184). + + 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-visit-file): Remove debugging function. + (shr-insert): Don't infloop if we can't find a good place to break + the line (bug#16256). + + 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el (python-nav--lisp-forward-sexp): New function. + (python-nav--lisp-forward-sexp-safe): Use it. Rename from + python-nav-lisp-forward-sexp-safe. + (python-nav--forward-sexp): New argument SAFE allows switching + forward sexp movement behavior for parens. + (python-nav-forward-sexp): Throw errors on unterminated parens + (Bug#16191). + (python-nav-backward-sexp, python-nav-forward-sexp-safe) + (python-nav-backward-sexp-safe): New functions. + (python-shell-buffer-substring): + Use `python-nav-forward-sexp-safe'. + + 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-find-fill-point): Don't break lines before a + quotation mark. + (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char. + (shr-find-fill-point): Remove the special checks for the quotation + mark, since `shr-char-kinsoku-bol-p' should now return the right thing. + + 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> + + * net/eww.el (eww-form-textarea): Use a different face for + textareas than text input since they have different keymaps + (bug#16142). + + 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el (python-nav-beginning-of-statement): + Speed up (Bug#15295). + + 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore + the window configuration. + + 2013-12-24 Eli Zaretskii <eliz@gnu.org> + + * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when + we run on MS-Windows or MS-DOS. + + 2013-12-24 Martin Rudalics <rudalics@gmx.at> + + * window.el (balance-windows-area): Call window-size instead of + window-height and window-width. Bug#16241. + + 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-bookmark-quit): Remove. + (eww-bookmark-browse): Restore the window configuration when you + choose a bookmark (bug#16144). + + 2013-12-24 Daniel Colascione <dancol@dancol.org> + + * icomplete.el: Remove redundant :group arguments to `defcustom' + throughout. + (icomplete-show-matches-on-no-input): New customizable variable. + (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if + we have something to show. + (icomplete-exhibit): Compute completions even if we have no user input. + + 2013-12-23 Daniel Colascione <dancol@dancol.org> + + * icomplete.el: Move `provide' to end of file. + + 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com> + + * net/gnutls.el (gnutls-verify-error): Add version tag. + + 2013-12-23 Chong Yidong <cyd@gnu.org> + + * subr.el (set-transient-map): Rename from + set-temporary-overlay-map. Doc fix. + + * face-remap.el (text-scale-adjust): + * indent.el (indent-rigidly): + * kmacro.el (kmacro-call-macro): + * minibuffer.el (minibuffer-force-complete): + * repeat.el (repeat): + * simple.el (universal-argument--mode): + * calendar/todo-mode.el (todo-insert-item--next-param): + * progmodes/f90.el (f90-abbrev-start): Callers changed. + + * indent.el (indent-rigidly): Use substitute-command-keys. + + 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> + + * net/eww.el (eww-tag-select): Add text-property to jump to next + select field. + (eww): Add non-supported ftp error. + + 2013-12-22 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the + comments. Handle electric indent after typing `?' and `!'. + + 2013-12-22 Chong Yidong <cyd@gnu.org> + + * faces.el (face-spec-recalc): If the theme specs are not + applicable to a frame, fall back on the defface spec. + This prevents themes from obliterating faces on low-color terminals. + + 2013-12-22 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t + after `{'. We need it after block openers, and it doesn't seem + to hurt after hash openers. + + 2013-12-22 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby--at-indentation-p): New function, + extracted from `ruby-smie-rules'. + (ruby--electric-indent-chars): New variable. + (ruby--electric-indent-p): New function. + (ruby-mode): Use `electric-indent-functions' instead of + `electric-indent-chars'. + + 2013-12-22 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the + docstring. + (ruby-smie-rules): Indent plus one level after `=>'. + + 2013-12-21 Richard Stallman <rms@gnu.org> + + * simple.el (newline): Doc fix. + + 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> + + * net/eww.el (eww-list-histories, eww-list-histories) + (eww-history-browse, eww-history-quit, eww-history-kill) + (eww-history-mode-map, eww-history-mode): New command and + functions to list browser histories. + (eww-form-text): Support text form with disabled + and readonly attributes. + (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'. + + 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * net/eww.el (eww-back-url, eww-forward-url, eww-next-url) + (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark) + (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank) + (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark): + Use `user-error'. + (eww-bookmark-mode-map): Add menu. + (eww-render, eww-mode): Use `setq-local'. + (eww-tool-bar-map): New variable. + (eww-mode): Set `tool-bar-map'. + (eww-view-source): Check for `html-mode' with `fboundp'. + + 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr--extract-best-source): Don't bug out on audio + elements with text inside. Also remove debugging. + + 2013-12-21 Jan Djärv <jan.h.d@swipnet.se> + + * cus-start.el (all): Add ns-use-srgb-colorspace. + + 2013-12-21 Chong Yidong <cyd@gnu.org> + + * custom.el (custom-theme-recalc-face): Do nothing if the face is + undefined. Thus, theme settings for undefined faces do not take + effect until the faces are defined with defface, the same as with + theme variables. + + * faces.el (face-spec-set): Use face-spec-recalc in all cases. + (face-spec-reset-face): Don't assign extra properties in temacs. + (face-spec-recalc): Apply X resources too. + + 2013-12-21 Chong Yidong <cyd@gnu.org> + + * faces.el (face-spec-set): + * cus-face.el (custom-theme-set-faces, custom-set-faces): + * custom.el (defface): Doc fixes (Bug#16203). + + * indent.el (indent-rigidly-map): Add docstring, and move commands + into named functions. + (indent-rigidly-left, indent-rigidly-right) + (indent-rigidly-left-to-tab-stop) + (indent-rigidly-right-to-tab-stop): New functions. Decide on + indentation direction based on bidi direction, and accumulate + sequential commands in a single undo boundary. + (indent-rigidly--pop-undo): New utility function. + + 2013-12-20 Juanma Barranquero <lekktu@gmail.com> + + * faces.el (read-face-name): Require crm.el when using crm-separator. + + 2013-12-20 Daniel Colascione <dancol@dancol.org> + + * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate + so that we don't reflow comments into the shebang line. + + 2013-12-20 Juri Linkov <juri@jurta.org> + + * saveplace.el (save-place-to-alist): Add `dired-filename' as + a position when `dired-directory' is non-nil. Check integer + positions with `integerp'. + (toggle-save-place, save-places-to-alist): Add check for + `dired-directory'. + (save-place-find-file-hook): Check integer positions with + `integerp'. + (save-place-dired-hook): Use `dired-goto-file' when + `dired-filename' is found in the assoc list. Check integer + positions with `integerp'. + (dired-initial-position-hook): Rename from `dired-initial-point-hook'. + + * dired.el (dired-initial-position-hook): Rename back from + `dired-initial-point-hook'. + (dired-initial-position): Rename `dired-initial-point-hook' to + `dired-initial-position-hook'. + (dired-file-name-at-point): Doc fix. (Bug#15329) + + 2013-12-20 Juri Linkov <juri@jurta.org> + + * replace.el (read-regexp-defaults-function): New defcustom (bug#14405). + (read-regexp-suggestions): New function. + (read-regexp): Use `read-regexp-defaults-function' to get default values. + Use `read-regexp-suggestions'. Add non-empty default to history + for empty input. + (occur-read-regexp-defaults-function): Remove function. + (occur-read-primary-args): Use `regexp-history-last' instead of + `occur-read-regexp-defaults-function'. + + * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function. + (hi-lock-line-face-buffer, hi-lock-face-buffer) + (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of + `hi-lock-read-regexp-defaults-function'. Doc fix. + (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp' + with `find-tag-default-as-symbol-regexp'. Doc fix. + (hi-lock-read-regexp-defaults): Remove function. + (hi-lock-regexp-okay): Add check for null. + + * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for + the arg DEFAULTS. Move formatting of the prompt to `read-regexp'. + + * subr.el (find-tag-default-as-symbol-regexp): New function. + (find-tag-default-as-regexp): Move symbol regexp formatting to + `find-tag-default-as-symbol-regexp'. + + 2013-12-20 E Sabof <esabof@gmail.com> (tiny change) + + * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'. + (Bug#14179) + + 2013-12-20 Stephen Berman <stephen.berman@gmx.net> + + * calendar/todo-mode.el: New implementation of item insertion + commands and key bindings. + (todo-key-prompt): New face. + (todo-insert-item): New command. + (todo-insert-item--parameters): New defconst, replacing defvar + todo-insertion-commands-args-genlist. + (todo-insert-item--param-key-alist): New defconst, replacing + defvar todo-insertion-commands-arg-key-list. + (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts. + (todo-insert-item--argsleft, todo-insert-item--apply-args) + (todo-insert-item--next-param): New functions. + (todo-insert-item--args, todo-insert-item--argleft) + (todo-insert-item--argsleft, todo-insert-item--newargsleft): + New variables. + (todo-key-bindings-t): Change binding of "i" from + todo-insertion-map to todo-insert-item. + (todo-powerset, todo-gen-arglists, todo-insertion-commands-args) + (todo-insertion-command-name, todo-insertion-commands-names) + (todo-define-insertion-command, todo-insertion-commands) + (todo-insertion-key-bindings, todo-insertion-map): Remove. + + 2013-12-20 Stephen Berman <stephen.berman@gmx.net> + + * calendar/todo-mode.el: Bug fixes and new features (bug#15225). + (todo-toggle-item-highlighting): Use eval-and-compile instead of + eval-when-compile. + (todo-move-category): Allow choosing a non-existing todo file to + move the category to, and create that file. + (todo-default-priority): New user option. + (todo-set-item-priority): Use it. + (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions. + (desktop-restore-file-buffer): Declare. + (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer. + (todo-modes-set-2): Locally set desktop-save-buffer to + todo-desktop-save-buffer. + (todo-mode, todo-archive-mode, todo-filtered-items-mode) + (auto-mode-alist): Add autoload cookie. + + 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com> + + * emacs-lisp/subr-x.el: Renamed from helpers.el. + helpers.el was a poor choice of name. + (string-remove-prefix): New function. + (string-remove-suffix): New function. + + 2013-12-20 Martin Rudalics <rudalics@gmx.at> + + Fix assignment for new window total sizes. + * window.el (window--pixel-to-size): Remove function. + (window--pixel-to-total-1, window--pixel-to-total): + Fix calculation of new total sizes. + + 2013-12-20 Vitalie Spinu <spinuvit@gmail.com> + + * comint.el (comint-output-filter): Fix rear-nonsticky property + placement (Bug#16010). + + 2013-12-20 Chong Yidong <cyd@gnu.org> + + * faces.el (read-color): Minor fix for completion function. + + 2013-12-20 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): + New option. (Bug#16182) + (ruby-smie--indent-to-stmt-p): Use it. + (ruby-smie-rules): Revert the logic in the handling of `when'. + Expand the begin clause to handle `ruby-align-to-stmt-keywords'. + (ruby-deep-arglist, ruby-deep-indent-paren) + (ruby-deep-indent-paren-style): Update docstrings to note that the + vars don't have any effect with SMIE. + + 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com> + + * calc/calc.el (calc-enter, calc-pop): Use the variable + `calc-context-sensitive-enter'. + + 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-insert): Protect against infloops in degenerate + tables. + + 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * progmodes/octave.el (octave): Add link to manual and octave + homepage. + (octave-mode-menu): Link to octave-mode manual. + + 2013-12-20 Leo Liu <sdl.web@gmail.com> + + * skeleton.el (skeleton-pair-insert-maybe): Disable newline + insertion using skeleton-end-newline. (Bug#16138) + + 2013-12-20 Juri Linkov <juri@jurta.org> + + * replace.el (occur-engine): Use `add-face-text-property' + to add the face property to matches and titles. (Bug#14645) + + * hi-lock.el (hi-green): Use lighter color "light green" closer to + the palette of other hi-lock colors. + (hi-lock-set-pattern): Prepend hi-lock face to the existing face. + + 2013-12-19 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'. + Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035) + (minibuffer-history-symbol): Move variable declaration closer to + its usage. + + * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'. + (Bug#14785) + + 2013-12-19 Juri Linkov <juri@jurta.org> + + * vc/log-edit.el (log-edit-insert-filenames-without-changelog): + New function. + (log-edit-hook): Add it to :options. (Bug#16170) + + 2013-12-19 Juri Linkov <juri@jurta.org> + + * simple.el (eval-expression-print-format): Don't check for + command names and the last command. Always display additional + formats of the integer result in the echo area, and insert them + to the current buffer only with a zero prefix arg. + Display character when char-displayable-p is non-nil. + (eval-expression): With a zero prefix arg, set `print-length' and + `print-level' to nil, and insert the integer values from + `eval-expression-print-format' at the end. Doc fix. (Bug#12985) + + * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg + `eval-last-sexp-arg-internal'. Doc fix. + (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to + `eval-last-sexp-print-value'. Doc fix. + (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'. + Set `print-length' and `print-level' to nil when arg is zero. + (eval-last-sexp): Doc fix. + (eval-defun-2): Print the integer values from + `eval-expression-print-format' at the end. + + * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer + values from `eval-expression-print-format' at the end. + + * ielm.el (ielm-eval-input): Print the integer + values from `eval-expression-print-format' at the end. + + 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com> + + * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of + 2013-12-11T19:01:44Z!tzz@lifelogs.com. + + 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca> + + * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192). + (hl-line-highlight, global-hl-line-highlight): Use it. + (hl-line-overlay): Use defvar-local. + + 2013-12-19 Jan Djärv <jan.h.d@swipnet.se> + + * term/ns-win.el: Require dnd. + (global-map): Remove drag items. + (ns-insert-text, ns-set-foreground-at-mouse) + (ns-set-background-at-mouse): + Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame) + (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame): + New functions. + + 2013-12-19 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/ert.el (ert-select-tests): + Fix string/symbol mixup. (Bug#16121) + + 2013-12-19 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block + keywords to their parent. + + 2013-12-19 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the + first arg to be a string (fixed dead code), or an operator symbol. + (ruby-smie--forward-token): Tokenize ` @ ' before strings and + operator symbols. + (ruby-smie-rules): Remove parent token check in the `.' clause, it + did nothing. Don't respond to `(:after ".")', it will be called + with :before anyway. Remove the ` @ ' rule, it didn't seem to + change anything. Only return indentation for binary operators + when they are hanging. De-dent opening paren when its parent is + `.', otherwise it looks bad when the dot is not at bol or eol + (bug#16182). + + 2013-12-19 Juri Linkov <juri@jurta.org> + + * replace.el (query-replace-read-args): Split a non-negative arg + and a negative arg into separate elements. + (query-replace, query-replace-regexp, replace-string) + (replace-regexp): Add arg `backward'. Doc fix. + (replace-match-maybe-edit): When new arg `backward' is non-nil, + move point to the beginning of the match. + (replace-search, replace-highlight): Use new arg `backward' + to set the value of `isearch-forward'. + (perform-replace): Add arg `backward' and use it to perform + replacement backward. (Bug#14979) + + * isearch.el (isearch-query-replace): Use a negative prefix arg + to call `perform-replace' with a non-nil arg `backward'. + + 2013-12-18 Juri Linkov <juri@jurta.org> + + * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template' + to the default list. Move `log-edit-show-files' to the end. + Add more available functions to options. + (log-edit): Move default specific settings to + `log-edit-insert-message-template'. Don't move point. + (log-edit-insert-message-template): New function. + (log-edit-insert-changelog): Add `save-excursion' and don't move point. + (Bug#16170) + + 2013-12-18 Juri Linkov <juri@jurta.org> + + * help-mode.el (help-mode-map): Bind "l" to help-go-back, + and "r" to help-go-forward for compatibity with Info. (Bug#16178) + + 2013-12-18 Leo Liu <sdl.web@gmail.com> + + * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. + (Bug#16186) + + 2013-12-18 Eli Zaretskii <eliz@gnu.org> + + * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f + formats for displaying file sizes when the -s switch is given. + Instead, compute a separate format for displaying the size in + blocks, which is displayed in addition to the "regular" size. + When -h is given in addition to -s, produce size in blocks in + human-readable form as well. (Bug#16179) + + 2013-12-18 Tassilo Horn <tsdh@gnu.org> + + * textmodes/reftex-vars.el (reftex-label-alist-builtin): + Reference tables with ~\ref{...} instead of only \ref{...}. + + 2013-12-18 Chong Yidong <cyd@gnu.org> + + * cus-edit.el (custom-magic-alist): Fix "themed" description + (Bug#14348). + + * custom.el (custom-push-theme): If custom--inhibit-theme-enable + is non-nil, do not create a new entry in the symbol's theme-value + or theme-face property; update theme-settings only (Bug#14664). + (custom-available-themes): Doc fix. + + * cus-theme.el (custom-new-theme-mode-map): Add bindings + (Bug#15674). + + * replace.el (occur-engine): Avoid infloop (Bug#7593). + + 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) + + * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop + (Bug#13914). + + 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com> + + * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946). + + 2013-12-18 Glenn Morris <rgm@gnu.org> + + * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t. + * cus-start.el (load-prefer-newer): New option. + + 2013-12-18 Le Wang <l26wang@gmail.com> + + * comint.el (comint-previous-matching-input-from-input): + Retain point (Bug#13404). + + 2013-12-18 Chong Yidong <cyd@gnu.org> + + * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016). + + 2013-12-18 Glenn Morris <rgm@gnu.org> + + * mail/emacsbug.el (report-emacs-bug): + Only mention enable-multibyte-characters if non-standard. + + 2013-12-17 Juri Linkov <juri@jurta.org> + + * arc-mode.el (archive-extract-by-file): Check if directory exists + before deletion to not show irrelevant errors if it doesn't exist. + + 2013-12-17 Juri Linkov <juri@jurta.org> + + * menu-bar.el (menu-bar-tools-menu): Add `browse-web'. + (Bug#14751) + + * net/eww.el (browse-web): Add alias to `eww'. + (eww-mode-map): Bind "r" to `eww-forward-url' like in Info. + Bind "S-SPC" to `scroll-down-command'. (Bug#16178) + + * net/browse-url.el (browse-url-browser-function): Move `eww' + closer to similar functions. + + * startup.el (fancy-startup-screen, fancy-about-screen): + Set browse-url-browser-function to eww-browse-url locally. + (Bug#14751) + + 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * window.el (window--pixel-to-total): Remove unused `mini' var. + (maximize-window, minimize-window): Remove unused `pixelwise' arg. + (split-window): Remove unused `new' var. + (window--display-buffer): Remove unused `frame' and `delta' vars. + (fit-window-to-buffer): Remove unused vars `frame', `display-height', + and display-width'. + + 2013-12-17 Martin Rudalics <rudalics@gmx.at> + + * dired.el (dired-mark-pop-up): + * register.el (register-preview): Don't bind + split-height-threshold here since it's now done in + display-buffer-below-selected. + + 2013-12-17 oblique <psyberbits@gmail.com> (tiny change) + + * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with + xterm-rgb-convert-to-16bit. + (rxvt-register-default-colors): Standardize with + xterm-register-default-colors (Bug#14078). + + 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change) + + * simple.el (kill-region): Pass mark first, then point, so that + kill-append works right (Bug#12819). + (copy-region-as-kill, kill-ring-save): Likewise. + + 2013-12-17 Leo Liu <sdl.web@gmail.com> + + * net/rcirc.el (rcirc-add-face): + * eshell/em-prompt.el (eshell-emit-prompt): + * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face. + (Bug#16167) + + 2013-12-17 Chong Yidong <cyd@gnu.org> + + * files.el (break-hardlink-on-save): Doc fix (Bug#13801). + Suggested by Xue Fuqiao. + + 2013-12-17 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if. + + 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * net/shr.el (shr-insert-document): Remove unused var + `shr-preliminary-table-render'. + (shr-rescale-image): Remove unused arg `force'. + (shr-put-image): Update calls accordingly. + (shr-tag-a): Use `cont' rather than dyn-bound `dom'. + + 2013-12-17 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'. + (smie-indent-close): Call `smie-indent--rule-1' with METHOD + :close-all, to see which indentation method to use (Bug#16116). + (smie-rules-function): Document the method :close-all. + + 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements. + + * net/eww.el (eww-display-html): If we can't find the anchor we're + looking for, then go to point-min. + + 2013-12-16 Paul Eggert <eggert@cs.ucla.edu> + + Fix problems with CANNOT_DUMP and EMACSLOADPATH. + * Makefile.in (emacs): Add lisp src to EMACSLOADPATH. + * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump. + Expand dir too, in case it's relative. + + 2013-12-16 Juri Linkov <juri@jurta.org> + + * desktop.el (desktop-auto-save-timeout): Change default to + `auto-save-timeout'. Doc fix. + (desktop-save): Skip the timestamp in desktop-saved-frameset + when checking for auto-save changes. + (desktop-auto-save): Don't call desktop-auto-save-set-timer since + `desktop-auto-save' is called repeatedly by the idle timer. + (desktop-auto-save-set-timer): Replace `run-with-timer' with + `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix. + (Bug#15331) + + 2013-12-16 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-mode-map): Remove [escape] key bindinds. + (Bug#16035) + (isearch-pre-command-hook): Check `this-command' for symbolp. + + 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153). + + 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com> + + * progmodes/cfengine.el (cfengine3--current-word): Remove. + (cfengine3--current-function): Bring in the current-function + functionality from `cfengine3--current-word'. + (cfengine3-completion-function): Bring in the + bounds-of-current-word functionality from + `cfengine3--current-word'. + + 2013-12-16 Martin Rudalics <rudalics@gmx.at> + + * window.el (display-buffer-below-selected): + Bind split-height-threshold to 0 as suggested by Juri Linkov. + + 2013-12-16 Leo Liu <sdl.web@gmail.com> + + * progmodes/compile.el (compile-goto-error): Do not push-mark. + Remove NOMSG arg and all uses changed. + + 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode. + (cua--deactivate-rectangle): Don't deactivate the mark. + (cua-set-rectangle-mark): Don't set mark-active since + cua--activate-rectangle already does it for us. + (cua--rectangle-highlight-for-redisplay): Unhighlight a previous + non-rectangular region. + + * emulation/cua-base.el (cua-repeat-replace-region): + Use with-current-buffer. + + * net/gnutls.el: Use cl-lib. + (gnutls-negotiate): `mapcan' -> cl-mapcan. + + 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com> + + * emacs-lisp/package.el (package-built-in-p): Support both + built-in and the package.el converted package descriptions. + (package-show-package-list): Allow keywords. + (package-keyword-button-action): Use it instead of + `finder-list-matches'. + (package-menu-filter-interactive): Interactive filtering (by + keyword) function. + (package-menu--generate): Support keywords and change keymappings + and headers when they are given. + (package--has-keyword-p): Helper function. + (package-menu--refresh): Use it. + (package--mapc): Helper function. + (package-all-keywords): Use it. + (package-menu-mode-map): Set up menu items and keybindings to + provide a filtering UI. + + 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com> + + * net/gnutls.el (gnutls-verify-error): New defcustom to control + the behavior when a certificate fails validation. Defaults to + old behavior: never abort, just warn. + (gnutls-negotiate): Use it. + + 2013-12-14 Martin Rudalics <rudalics@gmx.at> + + * window.el (display-buffer-below-selected): Never split window + horizontally. Suggested by Juri Linkov <juri@jurta.org>. + + 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change) + + * emacs-lisp/package.el (package--prepare-dependencies): New function. + (package-buffer-info): Use it (bug#15108). + + 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca> + + * icomplete.el (icomplete-completions): Make sure the prefix is already + displayed elsewhere before hiding it (bug#16219). + + 2013-12-14 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before + open-paren tokens when preceded by a open-paren, too. + (ruby-smie-rules): Handle virtual indentation after open-paren + tokens specially. If there is code between it and eol, return the + column where is starts (Bug#16118). + + 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com> + + * progmodes/cfengine.el: Fix `add-hook' doc. + (cfengine-mode-syntax-functions-regex): Initialize sensibly. + (cfengine3--current-word): Fix parameters. + (cfengine3-make-syntax-cache): Simplify further. + (cfengine3-completion-function, cfengine3--current-function): + Use `assq' for symbols. + (cfengine3--current-function): Fix `cfengine3--current-word' call. + + 2013-12-13 Glenn Morris <rgm@gnu.org> + + * loadup.el (load-path): Warn if site-load or site-init changes it. + No more need to reset it when bootstrapping. + + 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com> + + * progmodes/cfengine.el (cfengine-cf-promises): Add more default + locations for cf-promises. + (cfengine-mode-syntax-functions-regex): New caching variable. + (cfengine3-fallback-syntax): Fallback syntax for cases where + cf-promises doesn't run. + (cfengine3--current-word): Reimplement using + `cfengine-mode-syntax-functions-regex'. + (cfengine3-completion-function, cfengine3--current-function): + Use `cfengine3-make-syntax-cache' directly. + (cfengine3-clear-syntax-cache): New function. + (cfengine3-make-syntax-cache): Simplify and create + `cfengine-mode-syntax-functions-regex' on demand. + (cfengine3-format-function-docstring): Don't call + `cfengine3-make-syntax-cache' explicitly. + + 2013-12-13 Martin Rudalics <rudalics@gmx.at> + + Fix windmove-find-other-window broken after pixelwise resizing + (Bug#16017). + * windmove.el (windmove-other-window-loc): Revert change from + 2013-12-04. + (windmove-find-other-window): Call window-in-direction. + * window.el (window-in-direction): New arguments SIGN, WRAP and + MINI to emulate original windmove-find-other-window behavior. + + 2013-12-13 Dmitry Gutov <dgutov@yandex.ru> + + * simple.el (blink-matching--overlay): New variable. + (blink-matching-open): Instead of moving point, highlight the + matching paren with an overlay + (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html). + + * faces.el (paren-showing-faces, show-paren-match) + (show-paren-mismatch): Move from paren.el. + + 2013-12-13 Leo Liu <sdl.web@gmail.com> + + * indent.el (indent-region): Disable progress reporter in + minibuffer. (Bug#16108) + + * bindings.el (visual-order-cursor-movement): Fix version. + + 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp): + Also match after beginning of line. + (python-pdbtrack-set-tracked-buffer): Fix logic for remote + files. Thanks to Russell Sim. (Bug#15378) + + 2013-12-13 Juri Linkov <juri@jurta.org> + + * simple.el <Keypad support>: Remove key bindings duplicated + with bindings.el. (Bug#14397) + + 2013-12-13 Juri Linkov <juri@jurta.org> + + * comint.el (comint-mode-map): Replace `delete-char' with + `delete-forward-char'. (Bug#16109) + + 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el (python-indent-calculate-indentation): + Fix de-denters cornercase. (Bug#15731) + + 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/nadvice.el: Add `depth' property to manage ordering. + (advice--make): Pay attention to `depth'. + (advice--make-1): Don't autoload commands eagerly. + * emacs-lisp/elp.el (elp-instrument-function): + * emacs-lisp/trace.el (trace-function-internal): + * emacs-lisp/debug.el (debug-on-entry): Keep them "first". + + * iswitchb.el (iswitchb-mode): Don't belittle ido. + + 2013-12-12 Eli Zaretskii <eliz@gnu.org> + + * term/w32-win.el (w32-handle-dropped-file): + * startup.el (normal-top-level): + * net/browse-url.el (browse-url-file-url): + * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and + decode file names using 'utf-8' rather than + file-name-coding-system. + + 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el (python-indent-context) + (python-indent-calculate-indentation): Fix auto-identation + behavior for comment blocks. (Bug#15916) + + 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change) + + * progmodes/python.el (python-indent-calculate-indentation): + When determining indentation, don't treat "return", "pass", etc., as + operators when they are just string constituents. (Bug#15812) + + 2013-12-12 Juri Linkov <juri@jurta.org> + + * uniquify.el (uniquify-buffer-name-style): Change default to + `post-forward-angle-brackets'. + + * menu-bar.el (menu-bar-options-menu): Don't require preloaded + `uniquify'. Change default to `post-forward-angle-brackets'. + + 2013-12-11 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/package.el (finder-list-matches): + Autoload rather than falsely declaring. + + 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com> + + * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers. + (eww-mode-map): Use them. + + 2013-12-11 Martin Rudalics <rudalics@gmx.at> + + * window.el (display-buffer-in-side-window): Fix doc-string + (Bug#16115). + + 2013-12-11 Juanma Barranquero <lekktu@gmail.com> + + * vc/vc-git.el: Silence byte-compiler warnings. + (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored. + (log-edit-set-header): Declare. + + 2013-12-11 Eli Zaretskii <eliz@gnu.org> + + * Makefile.in (custom-deps, finder-data): Run output file names + through unmsys--file-name. (Bug#16099) + + 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching + comment-start-skip, which fails when that uses submatch 1 (bug#16041). + + * emulation/cua-base.el (cua-paste): Add `delete-selection' property + instead of deleting the selection "by hand" (bug#16098). + Rely on insert-for-yank to yank rectangles. + (cua-highlight-region-shift-only): Mark obsolete. + (cua-mode): Don't enable/disable transient-mark-mode, + shift-select-mode (cua-mode works both with and without them), and + pc-selection-mode (obsolete). + * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark. + (cua--deactivate-rectangle): Deactivate it. + + * delsel.el (delete-selection-mode): Don't enable transient-mark-mode. + (delete-selection-helper): Make sure yank starts at the top of the + deleted region. + (minibuffer-keyboard-quit): Use region-active-p. + + * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark. + + * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically + to `delete' (bug#16109). + + 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to + info manual and show keybindings and set `:group' keyword. + + 2013-12-11 Juri Linkov <juri@jurta.org> + + * delsel.el (delete-active-region): Let-bind `this-command' + to prevent `kill-region' from changing its original value. + (delete-selection-helper): Handle `overwrite-mode' for the type + `kill' exactly the same way as for the type `t'. + (insert-char, quoted-insert, reindent-then-newline-and-indent): + Support more commands. (Bug#13312) + + 2013-12-11 Juri Linkov <juri@jurta.org> + + * bindings.el: Map kp keys to non-kp keys systematically + with basic modifiers control, meta and shift. (Bug#14397) + + 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> + + * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and + "Close browser" menu items. Fix wrong function of "List + bookmarks". + + 2013-12-11 Juri Linkov <juri@jurta.org> + + * misearch.el (multi-isearch-buffers): Set the value of + `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT + arg of isearch-forward to t. + (multi-isearch-buffers-regexp): Set the value of + `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT + arg of isearch-forward-regexp to t. + (multi-isearch-files): Set the value of + `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT + arg of isearch-forward to t. + (multi-isearch-files-regexp): Set the value of + `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT + arg of isearch-forward-regexp to t. (Bug#16035) + + * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT + arg of isearch-forward to t. + (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT + arg of isearch-forward-regexp to t. + (dired-isearch-filter-filenames): Remove unnecessary check for + `dired-isearch-filenames'. + + * comint.el (comint-history-isearch-backward): + Set NO-RECURSIVE-EDIT arg of isearch-backward to t. + (comint-history-isearch-backward-regexp): + Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t. + + 2013-12-10 Eli Zaretskii <eliz@gnu.org> + + * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through + unmsys--file-name. (Bug#16099) + + 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com> + + * emacs-lisp/package.el (package-keyword-button-action): + Remove finder.el require dependency. + + 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com> + + * emacs-lisp/package.el: Require finder.el. + (describe-package-1): Add keyword buttons. + (package-make-button): New convenience function. + (package-keyword-button-action): Keyword button action using + `finder-list-matches'. + + 2013-12-09 Eli Zaretskii <eliz@gnu.org> + + * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in + last commit. + + 2013-12-09 Michael Albinus <michael.albinus@gmx.de> + + * autorevert.el (auto-revert-notify-add-watch): Do not handle + symlinked files. + + 2013-12-09 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t + after the end of a percent literal. + + 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change) + + * progmodes/ruby-mode.el (ruby-forward-string): Document. + Handle caret-delimited strings (Bug#16079). + + 2013-12-09 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-accurate-end-of-block): + When `ruby-use-smie' is t, use `smie-forward-sexp' instead of + `ruby-parse-partial' (Bug#16078). + + 2013-12-09 Leo Liu <sdl.web@gmail.com> + + * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091) + + 2013-12-08 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/js.el (js-auto-indent-flag): Remove, was unused. + (js-switch-indent-offset): New option. + (js--proper-indentation): Use it. And handle the case when + "default" is actually a key in an object literal. + (js--same-line): New function. + (js--multi-line-declaration-indentation): Use it. + (js--indent-in-array-comp, js--array-comp-indentation): + New functions. + (js--proper-indentation): Use them, to handle array comprehension + continuations. + + 2013-12-08 Leo Liu <sdl.web@gmail.com> + + * progmodes/flymake.el (flymake-highlight-line): Re-write. + (flymake-make-overlay): Remove arg MOUSE-FACE. + (flymake-save-string-to-file, flymake-read-file-to-string): Remove. + + 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay): + New function. + (redisplay-highlight-region-function): Use it. + + * emulation/cua-base.el (cua--explicit-region-start) + (cua--last-region-shifted): Remove. + (cua--deactivate): Use deactivate-mark. + (cua--pre-command-handler-1): Don't handle shift-selection. + (cua--post-command-handler-1): Don't change transient-mark-mode. + (cua--select-keymaps): Use region-active-p rather than + cua--explicit-region-start or cua--last-region-shifted. + (cua-mode): Enable shift-select-mode. + + 2013-12-08 Leo Liu <sdl.web@gmail.com> + + * progmodes/flymake.el (flymake-popup-current-error-menu): + Rename from flymake-display-err-menu-for-current-line. Reimplement. + (flymake-posn-at-point-as-event, flymake-popup-menu) + (flymake-make-emacs-menu): Remove. (Bug#16077) + + 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * rect.el (rectangle-mark-mode): Activate mark even if + transient-mark-mode is off (bug#16066). + (rectangle--highlight-for-redisplay): Fix boundary condition when point + is > mark and at bolp. + + * emulation/cua-rect.el (cua--rectangle-region-extract): New function. + (region-extract-function): Use it. + (cua-mouse-save-then-kill-rectangle): Use cua-copy-region. + (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle): + Delete functions. + (cua--init-rectangles): Don't re-remap copy-region-as-kill, + kill-ring-save, kill-region, delete-char, delete-forward-char. + Ignore self-insert-iso. + + * emulation/cua-gmrk.el (cua--init-global-mark): + Ignore `self-insert-iso'. + + * emulation/cua-base.el (cua--prefix-copy-handler) + (cua--prefix-cut-handler): Rely on region-extract-function rather than + checking cua--rectangle. + (cua-delete-region): Use region-extract-function. + (cua-replace-region): Delete function. + (cua-copy-region, cua-cut-region): Obey region-extract-function. + (cua--pre-command-handler-1): Don't do the delete-selection thing. + (cua--self-insert-char-p): Ignore `self-insert-iso'. + (cua--init-keymaps): Don't remap delete-selection commands. + (cua-mode): Use delete-selection-mode instead of rolling our own + (bug#16085). + + * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region): + Obey region-extract-function. + + Make registers and delete-selection-mode work on rectangles. + * register.el (describe-register-1): Don't modify the register's value. + (copy-to-register): Obey region-extract-function. + * delsel.el (delete-active-region): Obey region-extract-function. + + 2013-12-08 Leo Liu <sdl.web@gmail.com> + + * progmodes/flymake.el (flymake, flymake-error-bitmap) + (flymake-warning-bitmap, flymake-fringe-indicator-position) + (flymake-compilation-prevents-syntax-check) + (flymake-start-syntax-check-on-newline) + (flymake-no-changes-timeout, flymake-gui-warnings-enabled) + (flymake-start-syntax-check-on-find-file, flymake-log-level) + (flymake-xml-program, flymake-master-file-dirs) + (flymake-master-file-count-limit) + (flymake-allowed-file-name-masks): Relocate. + (flymake-makehash, flymake-float-time) + (flymake-replace-regexp-in-string, flymake-split-string) + (flymake-get-temp-dir): Remove. + (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu) + (flymake-current-row, flymake-selected-frame) + (flymake-get-point-pixel-pos): Remove xemacs compatibity and + related functions. (Bug#16077) + + 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com> + + * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'. + + 2013-12-07 Tassilo Horn <tsdh@gnu.org> + + * help-fns.el (describe-function-1): Use new advice-* functions + rather than old ad-* functions. Fix function type description and + source links for advised functions and subrs. + + 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data. + + 2013-12-06 Michael Albinus <michael.albinus@gmx.de> + + * progmodes/compile.el (compilation-start): + * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de. + + * net/tramp-sh.el (tramp-sh-handle-start-file-process): + Handle long command lines, lasting from "sh -c ...". (Bug#16045) + + 2013-12-06 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-syntax-propertize-function): + Touch up the last change. + + 2013-12-06 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-prompt): Use shy groups. + (inferior-octave-startup): Always use "octave> " for prompt. + (octave-goto-function-definition) + (octave-sync-function-file-names) + (octave-find-definition-default-filename): Remove redundant backquotes. + + 2013-12-06 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify + syntax for `?'. + (ruby-expr-beg): Expect that `!' will have syntax class "symbol" + where appropriate already. + (ruby-syntax-propertize-function): Propertize `?' and `!' at the + end of method names (Bug#15874). + + 2013-12-06 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch--saved-overriding-local-map): + New internal variable. + (isearch-mode): Set it to the initial value of + `overriding-terminal-local-map'. + (isearch-pre-command-hook): Compare `overriding-terminal-local-map' + with `isearch--saved-overriding-local-map'. (Bug#16035) + + 2013-12-06 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/octave.el (inferior-octave-completion-table): + Turn back into function, use `completion-table-with-cache' + (Bug#11906). Update all references. + + * minibuffer.el (completion-table-with-cache): New function. + + 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change) + + * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046). + + 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com> + + * net/eww.el (eww-current-source): New variable to store page + source. + (eww-display-html, eww-mode, eww-save-history) + (eww-restore-history): Use it. + (eww-view-source): New command to view page source. + Opportunistically uses `html-mode' to highlight the buffer. + (eww-mode-map): Install it. + + 2013-12-05 Michael Albinus <michael.albinus@gmx.de> + + * net/dbus.el (dbus-unregister-service) + (dbus-escape-as-identifier, dbus-unescape-from-identifier): + Fix docstring. + (dbus-unregister-service): Skip :serial entries in + `dbus-registered-objects-table'. + (dbus-byte-array-to-string): New optional arg MULTIBYTE. + + 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com> + + * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace + around keywords with extra `split-string' argument. + + 2013-12-04 Martin Rudalics <rudalics@gmx.at> + + * windmove.el (windmove-other-window-loc): Handle navigation + between windows (excluding the minibuffer window - Bug#16017). + + 2013-12-04 Michael Albinus <michael.albinus@gmx.de> + + * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays + in D-Bus type syntax. + (dbus-unescape-from-identifier): Use `byte-to-string' in order to + preserve unibyte strings. (Bug#16048) + + 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/eldoc.el (eldoc-minibuffer-message): + Call force-mode-line-update is the proper buffer (bug#16042). + + 2013-12-04 Dmitry Gutov <dgutov@yandex.ru> + + * vc/log-edit.el (log-edit-add-new-comment): Rename to + `log-edit-remember-comment', make argument optional. Adjust all + callers. + (log-edit-mode): Add `log-edit-remember-comment' to + `kill-buffer-hook' locally. + (log-edit-kill-buffer): Don't remember comment explicitly since + the buffer is killed anyway. + + 2013-12-04 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in + add-hook and remove-hook for multi-buffer search. (Bug#16035) + + 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change) + + * notifications.el (notifications-close-notification): Call the + D-Bus method with ID being a `:uint32'. (Bug#16030) + + 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org> + + * net/eww.el (eww-render): Don't pass arg to eww-display-image. + + 2013-12-03 Juri Linkov <juri@jurta.org> + + * progmodes/compile.el (compilation-start): Rename window alist + entry `no-display-ok' to `allow-no-window'. + + * simple.el (shell-command): Add window alist entry + `allow-no-window' to `display-buffer'. + (async-shell-command): Doc fix. + + * window.el (display-buffer-no-window): New action function. + (display-buffer-alist, display-buffer): Doc fix. (Bug#13594) + + 2013-12-02 Dmitry Gutov <dgutov@yandex.ru> + + * vc/log-edit.el (log-edit-set-header): Extract from + `log-edit-toggle-header'. + (log-edit-extract-headers): Separate the summary, when extracted + from header, from the rest of the message with an empty line. + + * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary + line, if present, to the Summary header. + + 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca> + + * epa-file.el (epa-file-insert-file-contents): Ensure we insert text + in current-buffer (bug#16029). + + 2013-12-02 Helmut Eller <eller.helmut@gmail.com> + + * emacs-lisp/debug.el (debugger-toggle-locals): New command. + (debugger-mode-map): Bind it. + (debugger--backtrace-base): New function. + (debugger-eval-expression): Use it. + (debugger-frame-number): Skip local vars when present. + (debugger--locals-visible-p, debugger--insert-locals) + (debugger--show-locals, debugger--hide-locals): New functions. + + 2013-12-02 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-remote-process-environment): Do not set + "LC_ALL". + (tramp-get-remote-locale): New defun. + (tramp-open-connection-setup-interactive-shell): Use it. + + 2013-12-02 Leo Liu <sdl.web@gmail.com> + + * subr.el (process-live-p): Return nil for non-process. (Bug#16023) + + * progmodes/sh-script.el (sh-shell-process): + * progmodes/octave.el (inferior-octave-process-live-p): + * progmodes/gdb-mi.el (gdb-delchar-or-quit) + (gdb-inferior-io-sentinel): + * emacs-lock.el (emacs-lock-live-process-p): All uses changed. + + 2013-12-02 Dmitry Gutov <dgutov@yandex.ru> + + * vc/log-edit.el (log-edit-kill-buffer): Move the use of + `save-selected-window' to `log-edit-hide-buf'. This makes + `log-edit-show-files' idempotent. + (log-edit-show-files): Mark the new window as dedicated. + + 2013-12-02 Dmitry Gutov <dgutov@yandex.ru> + + * vc/log-edit.el (log-edit-mode-map): Add binding for + `log-edit-kill-biffer'. + (log-edit-hide-buf): Add a FIXME comment. + (log-edit-add-new-comment): New function, extracted from + `log-edit-done'. + (log-edit-done, log-edit-add-to-changelog): Use it. + (log-edit-kill-buffer): New command. + + 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window' + instead of killing the buffer. + + 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el (newline): Mention `electric-indent-mode' (bug#16015). + + 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * net/eww.el (eww-form-checkbox-selected-symbol) + (eww-form-checkbox-symbol): New customizable variable. + (eww-form-checkbox, eww-toggle-checkbox): + Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'. + + * net/shr.el (shr-prefer-media-type-alist): New customizable variable. + (shr--get-media-pref, shr--extract-best-source): New function. + (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when + no :src tag was specified. + + * net/eww.el (eww-use-external-browser-for-content-type): New variable. + (eww-render): Handle `eww-use-external-browser-for-content-type'. + Use \\` to match beginning of string instead of ^. + (eww-browse-with-external-browser): Provide optional URL parameter. + (eww-render): Set `eww-current-title' back to "". + + * net/shr.el (shr-tag-video): Display content for video if no + poster is available. + (shr-tag-audio): Add support for <audio> tag. + + * net/eww.el (eww-text-input-types): New const. + (eww-process-text-input): Treat input types in + `eww-text-input-types' as text. + + * net/shr.el (shr-tag-table): Fix comment typo. + + 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-follow-link): New command to avoid reloading + pages when we follow #target links (bug#15243). + (eww-quit): Special mode buffers shouldn't query before exiting. + + 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> + + * net/eww.el (eww-tag-select): Support <optgroup> tags in <select> + forms. + + 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-restore-history): Update the window title after + moving in the history. + (eww-current-dom): New variable used to save the current DOM. + + 2013-12-01 Dmitry Gutov <dgutov@yandex.ru> + + * vc/log-edit.el (log-edit-mode-map): Add binding for + `log-edit-beginning-of-line'. + (log-edit-setup-add-author): New user option. + (log-edit-beginning-of-line): New command. + (log-edit): Move major mode call above the contents setup so that + the local variable values are already applied. + (log-edit): Only insert "Author: " when + `log-edit-setup-add-author' is non-nil. + (log-edit): When SETUP is non-nil, position point after ": " + instead of point-min. + + 2013-12-01 Glenn Morris <rgm@gnu.org> + + * startup.el (command-line): Warn if ~/emacs.d is in load-path. + + 2013-11-30 Eli Zaretskii <eliz@gnu.org> + + * startup.el (fancy-splash-frame): On MS-Windows, trigger + redisplay to make sure the initial frame gets a chance to become + visible. (Bug#16014) + + 2013-11-30 Martin Rudalics <rudalics@gmx.at> + + Support resizing frames and windows pixelwise. + * cus-start.el (frame-resize-pixelwise) + (window-resize-pixelwise): New entries. + * emacs-lisp/debug.el (debug): Use window-total-height instead + of window-total-size. + * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height. + * help.el (describe-bindings-internal): Use help-buffer as + argument for with-help-window. + (temp-buffer-max-width): New option. + (resize-temp-buffer-window, help-window-setup) + (with-help-window): Rewrite. + * mouse.el (mouse-drag-line): Rewrite. Add key bindings for + dragging dividers. + * window.el (frame-char-size, window-min-pixel-height) + (window-safe-min-pixel-height, window-safe-min-pixel-width) + (window-min-pixel-width, window-safe-min-pixel-size) + (window-combination-p, window-safe-min-size) + (window-resizable-p, window--size-to-pixel) + (window--pixel-to-size, window--resize-apply-p): New functions. + (window-safe-min-height): Fix doc-string. + (window-size, window-min-size, window--min-size-1) + (window-sizable, window-sizable-p, window--min-delta-1) + (window-min-delta, window--max-delta-1, window-max-delta) + (window--resizable, window--resizable-p, window-resizable) + (window-full-height-p, window-full-width-p, window-at-side-p) + (window--in-direction-2, window-in-direction) + (window--resize-reset-1, window--resize-mini-window) + (window-resize, window-resize-no-error) + (window--resize-child-windows-normal) + (window--resize-child-windows, window--resize-siblings) + (window--resize-this-window, window--resize-root-window) + (window--resize-root-window-vertically) + (adjust-window-trailing-edge, enlarge-window, shrink-window) + (maximize-window, minimize-window, delete-window) + (quit-restore-window, window-split-min-size, split-window) + (balance-windows-2, balance-windows) + (balance-windows-area-adjust, balance-windows-area) + (window--state-get-1, window-state-get, window--state-put-1) + (window--state-put-2, window-state-put) + (display-buffer-record-window, window--display-buffer): + Make functions handle pixelwise sizing of windows. + (display-buffer--action-function-custom-type) + (display-buffer-fallback-action): + Add display-buffer-in-previous-window. + (display-buffer-use-some-window): Resize window to height it had + before. + (fit-window-to-buffer-horizontally): New option. + (fit-frame-to-buffer): Describe new values. + (fit-frame-to-buffer-bottom-margin): Replace with + fit-frame-to-buffer-margins. + (window--sanitize-margin): New function. + (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely + using window-text-pixel-size. + + 2013-11-30 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/bytecomp.el (byte-compile-form): + Make the `interactive-only' warning like the `obsolete' one. + * comint.el (comint-run): + * files.el (insert-file-literally, insert-file): + * replace.el (replace-string, replace-regexp): + * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char) + (goto-line, insert-buffer, next-line, previous-line): + Tweak `interactive-only' spec. + + Stop keeping (most) generated cedet grammar files in the repository. + * Makefile.in (semantic): New. + (compile-main): Depend on semantic. + + 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * net/newst-reader.el (newsticker-html-renderer): Default to SHR if + available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>. + + * uniquify.el (uniquify-buffer-name-style): Change default. + + * loadup.el: Preload "uniquify". + + * time.el (display-time-update): Update all mode lines (bug#15999). + + * electric.el (electric-indent-mode): Enable by default. + * loadup.el: Preload "electric". + + 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com> + + * emacs-lisp/helpers.el (string-empty-p): New function. + (string-blank-p): New function. + + 2013-11-29 Andreas Politz <politza@hochschule-trier.de> + + * imenu.el (imenu--index-alist): Add missing dot to the docstring + (Bug#14029). + + 2013-11-29 Andreas Politz <politza@fh-trier.de> + * imenu.el (imenu--subalist-p): Don't error on non-conses and + allow non-lambda lists as functions. + (imenu--in-alist): Don't recurse into non-subalists. + (imenu): Don't pass function itself as an argument (Bug#14029). + + 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/python.el (python-mode-map): Remove binding for ":". + (python-indent-electric-colon): Remove command. + (python-indent-post-self-insert-function): Integrate the previous code + of python-indent-electric-colon. Make it conditional on + electric-indent-mode. + (python-mode): Add ?: to electric-indent-chars. + Move python-indent-post-self-insert-function to the end of + post-self-insert-hook. + + 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca> + + * doc-view.el (doc-view-goto-page): Update mode-line. + + * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers. + + 2013-11-27 Glenn Morris <rgm@gnu.org> + + * international/charprop.el, international/uni-bidi.el: + * international/uni-category.el, international/uni-combining.el: + * international/uni-comment.el, international/uni-decimal.el: + * international/uni-decomposition.el, international/uni-digit.el: + * international/uni-lowercase.el, international/uni-mirrored.el: + * international/uni-name.el, international/uni-numeric.el: + * international/uni-old-name.el, international/uni-titlecase.el: + * international/uni-uppercase.el: + Remove generated files from VCS repository. + + 2013-11-27 Eli Zaretskii <eliz@gnu.org> + + * filenotify.el (file-notify-add-watch): Don't special-case + w32notify when computing the directory to watch. + + 2013-11-27 Glenn Morris <rgm@gnu.org> + + Make bootstrap without generated uni-*.el files possible again. + * loadup.el: Update command-line-args checking for unidata-gen. + Add vc to load-path to allow loading vc-bzr when writing uni-*.el. + * composite.el, international/characters.el: + Handle unicode tables being undefined. + + Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory. + * Makefile.in (setwins_for_subdirs): Skip leim/ directory. + (compile-main): Depend on leim rule. + (leim): New rule. + * loadup.el: Move leim-list.el to leim/ subdirectory. + * startup.el (normal-top-level): No more leim directory. + * international/ja-dic-cnv.el (skkdic-convert): + Disable version-control and autoloads in output files. + * international/titdic-cnv.el (titdic-convert, miscdic-convert): + Disable version-control and autoloads in output files. + * leim/quail: Move here from ../leim. + * leim/quail/hangul.el (hangul-input-method-activate): + Add autoload cookie. + (generated-autoload-load-name): Set file-local value. + * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie. + (generated-autoload-load-name): Set file-local value. + + 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> + + * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'. + (eww-add-bookmark): Ask confirmation when add to bookmarks. + (eww-quit): Ask confirmation before quitting eww. + + 2013-11-26 Eli Zaretskii <eliz@gnu.org> + + * vc/vc.el (vc-diff-internal): Use *-dos coding-system when + reading output from Diff on MS-Windows and MS-DOS. + + 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com> + + * emacs-lisp/helpers.el (string-reverse): New function. + + 2013-11-26 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host + names on MS Windows, like "/[::1]:". + + * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil + SWITCHES. + + 2013-11-26 Glenn Morris <rgm@gnu.org> + + * progmodes/python.el (python-indent-guess-indent-offset): + Avoid corner-case error. (Bug#15975) + + Preload leim-list.el. (Bug#4789) + * loadup.el: Load leim-list.el when found. + * startup.el (normal-top-level): Skip re-loading leim/leim-list.el. + + 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com> + + * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo. + + * emacs-lisp/helpers.el (string-join): New function. + + 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change) + + * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions): + Mark as obsolete and replace it with a symbol property. + (byte-compile-form): Use new 'interactive-only property. + * comint.el, files.el, replace.el, simple.el: + Apply new 'interactive-only properly. + + 2013-11-25 Martin Rudalics <rudalics@gmx.at> + + * window.el (display-buffer-at-bottom): Make sure that + split-window-sensibly creates the new window on bottom + (Bug#15961). + + 2013-11-23 David Kastrup <dak@gnu.org> + + * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based + on the conflict markers when available. + (smerge--get-marker): New function. + (smerge-end-re, smerge-base-re): Add subgroup. + + 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * frame.el (handle-focus-in, handle-focus-out): Add missing + interactive spec. + + 2013-11-25 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-cmds.el (tramp-cleanup-connection): Clean up + `tramp-current-connection' only when KEEP-PASSWORD is non-nil. + + 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * play/gomoku.el: Don't use intangible property. Use lexical-binding. + (gomoku--last-pos): New var. + (gomoku--intangible-chars): New const. + (gomoku--intangible): New function. + (gomoku-mode): Use it. Derive from special-mode. + (gomoku-move-up): Adjust line count. + (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy) + (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple): + Simplify accordingly. + + * frame.el (handle-focus-in, handle-focus-out): Move from frame.c. + Remove blink-cursor code. + (blink-cursor-timer-function, blink-cursor-suspend): + Don't special-case GUIs. + (blink-cursor-mode): Use focus-in/out-hook. + + 2013-11-25 Dmitry Gutov <dgutov@yandex.ru> + + * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it + work when annotation is invisible (Bug#13886). + + 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change) + + * json.el (json-alist-p): Only return non-nil if the alist has + simple keys (Bug#13518). + + 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change) + + * progmodes/js.el (js--ctrl-statement-indentation): Fix indent + when control-statement is the first statement in a buffer (Bug#15956). + + 2013-11-24 Dmitry Gutov <dgutov@yandex.ru> + + * imenu.el (imenu-generic-skip-comments-and-strings): + New option (Bug#15560). + (imenu--generic-function): Use it. + + 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de> + + * minibuffer.el (completion--in-region-1): Scroll the correct window. + (Bug#13898) + + 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com> + + * emacs-lisp/helpers.el: Add some string helpers. + (string-trim-left): Removes leading whitespace. + (string-trim-right): Removes trailing whitespace. + (string-trim): Removes leading and trailing whitespace. + + * subr.el (string-suffix-p): New function. + + 2013-11-23 Glenn Morris <rgm@gnu.org> + + * progmodes/python.el (python-shell-send-file): + Add option to delete file when done. (Bug#15647) + (python-shell-send-string, python-shell-send-region): Use it. + + 2013-11-23 Ivan Shmakov <ivan@siamics.net> + + * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only + to set buffer-read-only to t, never to nil. (Bug#15938) + + * textmodes/tex-mode.el (latex-noindent-environments): + Add safe-local-variable property. (Bug#15936) + + 2013-11-23 Glenn Morris <rgm@gnu.org> + + * textmodes/enriched.el (enriched-mode): Doc fix. + * emacs-lisp/authors.el (authors-renamed-files-alist): + Add enriched.doc -> enriched.txt. + + * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting. + + 2013-11-22 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-startup): Spit out error + message. + + 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com> + + * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template): + Improve docstring. + Add :version. + (ruby-encoding-magic-comment-style): Add :version. + + 2013-11-22 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-operator-regexp): Exclude newline. + (Bug#15076) + (octave-help-mode): Adapt to change to help-mode-finish to use + derived-mode-p on 2013-09-17. + (inferior-octave-prompt): Also match octave-gui. + (octave-kill-process): Don't ask twice. (Bug#10564) + + 2013-11-22 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-process-live-p): New helper. + (inferior-octave-startup, inferior-octave-check-process) + (inferior-octave-track-window-width-change) + (octave-completion-at-point, octave-eldoc-function): Use it. + (octave-kill-process): Provide confirmation. (Bug#10564) + + 2013-11-21 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-mode, inferior-octave-mode): + Fix obsolete variable comment-use-global-state. + + 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * progmodes/octave.el (octave-mode-map, octave-mode-menu): + Add `octave-source-file'. + (octave-source-file): New function. (Bug#15935) + + 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> + + * net/eww.el (eww-local-regex): New variable. + (eww): Use it to detect localhost and similar. + + 2013-11-21 Leo Liu <sdl.web@gmail.com> + + Add completion for command `ag'. + * pcmpl-x.el (pcmpl-x-ag-options): New variable. + (pcomplete/ag): New function. + (pcmpl-x-ag-options): New function. Handle `[no]' in long options. + + 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec + (bug#14646). + (make-obsolete): Remove interactive spec. + + 2013-11-21 Glenn Morris <rgm@gnu.org> + + * startup.el (command-line-1): Use path-separator with -L. + + 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com> + + * emacs-lisp/package.el (describe-package-1): Add package archive + to shown fields. + + 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com> + + * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template): + Change default to "# encoding: %s" to differentiate it from the + default Ruby encoding comment template. + + 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi> + + * ses.el (ses-mode): Doc fix. (Bug#14748) + + 2013-11-20 Leo Liu <sdl.web@gmail.com> + + * window.el (display-buffer-alist): Doc fix. (Bug#13594) + + 2013-11-19 Dan Nicolaescu <dann@gnu.org> + + * vc/vc-git.el (vc-git-dir-extra-headers): Add headers + when rebase or bisect are in progress. + + 2013-11-19 Xue Fuqiao <xfq.free@gmail.com> + + * filenotify.el (file-notify-add-watch): Doc fix. + + 2013-11-19 Leo Liu <sdl.web@gmail.com> + + * obsolete/rcompile.el: Mark obsolete. + + * progmodes/compile.el (compilation-start) + (compilation-goto-locus, compilation-find-file): + Pass no-display-ok and handle nil value from display-buffer. + (Bug#13594) + + * window.el (display-buffer-alist, display-buffer): Document the + new parameter no-display-ok. Return either a window or nil + but never a non-window value. + + 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca> + + * electric.el (electric-indent-mode-map): Remove. + (electric-indent-mode): Change the global-map instead (bug#15915). + + * textmodes/text-mode.el (paragraph-indent-minor-mode): + Use add-function. + + 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/nadvice.el (remove-function): Align with + add-function's behavior. + + * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher. + (gdb--string-regexp): New constant. + (gdb-tooltip-print, gdb-var-evaluate-expression-handler) + (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it. + (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change + submatch 1. + (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file): + Adjust use accordingly. + (gdb-breakpoints-list-handler-custom): Pre-build the y/n string. + + 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change) + + * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at + interpolation curlies (Bug#15914). + + 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com> + + * calc/calc.el (calc-context-sensitive-enter): New variable. + (calc-enter): Use `calc-context-sensitive-enter'. + + 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com> + + * progmodes/cfengine.el: Version bump. + (cfengine-cf-promises): New defcustom to locate cf-promises. + (cfengine3-vartypes): Add new "data" type. + (cfengine3--current-word): New function to get current name-like + word or its bounds. + (cfengine3--current-function): New function to look up a CFEngine + function's definition. + (cfengine3-format-function-docstring): New function. + (cfengine3-make-syntax-cache): New function. + (cfengine3-documentation-function): New function: ElDoc glue. + (cfengine3-completion-function): New function: completion glue. + (cfengine3-mode): Set `compile-command', + `eldoc-documentation-function', and add to + `completion-at-point-functions'. + + 2013-11-16 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-cmds.el (tramp-cleanup-connection): Clean up + `tramp-current-connection'. + + 2013-11-15 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for + nil/self/true/false with "end of symbol". + + 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com> + + * subr.el (version-regexp-alist): Fix a typo. + + 2013-11-15 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to + "en_US.utf8" and "LC_CTYPE" to "". + (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8". + (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE". + + 2013-11-15 Leo Liu <sdl.web@gmail.com> + + * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889) + + 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/gud.el (ctl-x-map): + Remove C-x SPC binding. (Bug#12342) + (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..). + + 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com> + + * subr.el (version-regexp-alist): + Recognize hg, svn and darcs versions as snapshot versions. + + * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of + 'always-utf8 value of `ruby-insert-encoding-magic-comment'. + (ruby--encoding-comment-required-p): Extract from + `ruby-mode-set-encoding'. + (ruby-mode-set-encoding): Add the ability to always insert an + utf-8 encoding comment. Fix and simplify coding comment update + logic. + + 2013-11-14 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-gvfs.el (top): Run init code only when + `tramp-gvfs-enabled' is not nil. + (tramp-gvfs-enabled): Check also :system bus. + + 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca> + + Sync with upstream verilog-mode revision 78e66ba. + * progmodes/verilog-mode.el (verilog-end-of-defun) + (verilog-type-completion, verilog-get-list): Remove unused funcs. + (verilog-get-end-of-defun): Remove unused argument. + (verilog-comment-depth): Remove unused local `e'. + (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants): + Don't pass arg to verilog-get-end-of-defun. + + 2013-11-14 Glenn Morris <rgm@gnu.org> + + * obsolete/assoc.el (aget): Prefix dynamic variable. + + * allout-widgets.el (allout-widgets): No need to autoload defgroup. + + 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca> + + * widget.el, hfy-cmap.el: Remove bogus package version number. + + 2013-11-13 Glenn Morris <rgm@gnu.org> + + * replace.el (replace-eval-replacement): + Try to give more helpful error message. (Bug#15836) + + * arc-mode.el (archive-7z-extract, archive-7z-expunge) + (archive-7z-update): Avoid custom type mismatches. + + * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10. + + 2013-11-13 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6 + address can be empty. + + * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory): + Accept nil SWITCHES. + (tramp-gvfs-handle-write-region): Implement APPEND. + + 2013-11-12 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between + binary "|" operator and closing block args delimiter. + Remove FIXME comment referring to Ruby 1.8-only syntax. + (ruby-smie--implicit-semi-p): Not after "|" operator. + (ruby-smie--closing-pipe-p): New function. + (ruby-smie--forward-token, ruby-smie--backward-token): Use it. + (ruby-smie-rules): Indent after "|". + + 2013-11-12 Glenn Morris <rgm@gnu.org> + + * ps-print.el (ps-face-attribute-list): + Handle anonymous faces. (Bug#15827) + + 2013-11-12 Martin Rudalics <rudalics@gmx.at> + + * window.el (display-buffer-other-frame): Fix doc-string. + (Bug#15868) + + 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (force-mode-line-update): Delete, move to buffer.c. + + 2013-11-11 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer) + (tramp-sh-handle-file-local-copy): Don't write a message when + saving temporary files. + + * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when + both directories are remote. + (tramp-smb-handle-directory-files): Do not return double entries. + Do not expand full file names. + (tramp-smb-handle-insert-directory): Accept nil SWITCHES. + (tramp-smb-handle-write-region): Implement APPEND. + (tramp-smb-get-stat-capability): Fix a stupid bug. + + 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode. + + 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change) + + * emacs-lisp/cconv.el (cconv-convert): Print warning instead of + throwing error over malformed let/let* (bug#15814). + + 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * iswitchb.el (iswitchb-mode): Mark obsolete. + + 2013-11-11 Glenn Morris <rgm@gnu.org> + + * international/uni-bidi.el, international/uni-category.el: + * international/uni-name.el, international/uni-numeric.el: + Regenerate for Unicode 6.3.0. + + 2013-11-10 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-methods): + * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of + 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org). + + 2013-11-09 Andreas Schwab <schwab@linux-m68k.org> + + * progmodes/sh-script.el (sh-font-lock-keywords-var): + Force highlighting text after Summary keyword in doc face for rpm. + + 2013-11-09 Dmitry Gutov <dgutov@yandex.ru> + + * textmodes/ispell.el (ispell-lookup-words): When `look' is not + available and the word has no wildcards, append one to the grep pattern. + http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html + (ispell-complete-word): Call `ispell-lookup-words' with the value + independent of `ispell-look-p'. + + 2013-11-08 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): + Not after "||". + (ruby-smie-rules): Indent non-hanging "begin" blocks as part of + their parent. + + 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead. + (ruby-font-lock-keywords): Use backquote. + + 2013-11-08 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--forward-token) + (ruby-smie--backward-token): Only consider full-string matches. + + 2013-11-08 Jan Djärv <jan.h.d@swipnet.se> + + * faces.el (describe-face): Add distant-foreground. + + 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com> + + * progmodes/ruby-mode.el: Improve encoding comment handling. + (ruby-encoding-magic-comment-style): New option. + (ruby-custom-encoding-magic-comment-template): New option. + (ruby--insert-coding-comment, ruby--detect-encoding): + New functions extracted from `ruby-mode-set-encoding'. + (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style' + to control the style of the auto-inserted encoding comment. + + 2013-11-08 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt): + Use `smie-backward-sexp' with token argument. + + 2013-11-08 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command): + Remove instrumentation code. + + 2013-11-08 Glenn Morris <rgm@gnu.org> + + * progmodes/autoconf.el (autoconf-mode): + Tweak comment-start-skip. (Bug#15822) + + 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop + at bobp (bug#15826). + (sh-smie--sh-keyword-in-p): Recognize keywords at bobp. + + 2013-11-08 Darren Hoo <darren.hoo@gmail.com> + + * man.el (Man-start-calling): New macro, extracted from + Man-getpage-in-background. + (Man-getpage-in-background): Use it. + (Man-update-manpage): New command. + (Man-mode-map): Bind it. + + 2013-11-08 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences + of "and", "or", "&&" and "||". + (ruby-smie--args-separator-p): Prohibit keyword "do" as the first + argument. Prohibit opening curly brace because it could only be a + block opener in that position. + (ruby-smie--forward-token, ruby-smie--backward-token): + Separate "|" from "&" or "*" going after it. That can happen in block + arguments. + (ruby-smie--indent-to-stmt): New function, seeks the end of + previous statement or beginning of buffer. + (ruby-smie-rules): Use it. + (ruby-smie-rules): Check if there's a ":" before a curly block + opener candidate; if there is, it's a hash. + + 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn. + (cl--block-wrapper): Fix last accidental change. + + 2013-11-07 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command): + Instrument, in order to hunt failure on hydra. + + 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change) + + * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for + malformed bindings form (bug#15814). + + 2013-11-07 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of + "." compared to " @ ". This incidentally fixes some indentation + examples with "do". + (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or". + (ruby-smie-grammar): New tokens: "and" and "or". + (ruby-smie--args-separator-p): Fix the check for tokens at POS. + Exclude "and" and "or". Remove "do" in order to work around token + priorities. + (ruby-smie-rules): Add all infix tokens. Handle the case of + beginning-of-buffer. + + 2013-11-06 Glenn Morris <rgm@gnu.org> + + * Makefile.in (setwins_almost, setwins_for_subdirs): + Avoid accidental matches. + + 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * menu-bar.el (popup-menu): Use key-binding. + + 2013-11-06 Eli Zaretskii <eliz@gnu.org> + + * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY + menus, support also the menus produced by minor modes. + (Bug#15817) + + 2013-11-06 Leo Liu <sdl.web@gmail.com> + + * thingatpt.el (thing-at-point-looking-at): Add optional arg + DISTANCE to bound the search. All uses changed. (Bug#15808) + + 2013-11-06 Glenn Morris <rgm@gnu.org> + + * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify. + (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir. + (custom-deps, finder-data, autoloads, update-subdirs): No need to cd. + + 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * electric.el (electric-indent-just-newline): New command. + (electric-indent-mode-map): New keymap. + (electric-indent-mode, electric-pair-mode, electric-layout-mode): + Re-add :group which weren't redundant. + + * electric.el (electric-indent-local-mode): New minor mode. + (electric-indent-functions-without-reindent): New var. + (electric-indent-post-self-insert-function): Use it. + * emacs-lisp/gv.el (buffer-local-value): Add setter. + + 2013-11-05 Eli Zaretskii <eliz@gnu.org> + + * international/quail.el (quail-help): Be more explicit about the + meaning of the labels shown on the keys. (Bug#15800) + + * startup.el (normal-top-level): Load the subdirs.el files before + setting the locale environment. (Bug#15805) + + 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes + via arguments so as to get the right ones (bug#15418). + + * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list. + + 2013-11-05 Michael Albinus <michael.albinus@gmx.de> + + Fix problems found while writing a test suite. + + * net/tramp-compat.el (tramp-compat-load): New defun. + * net/tramp.el (tramp-handle-load): Use it. + + * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case + "(numberp ok-if-already-exists)" correctly. + + 2013-11-05 Xue Fuqiao <xfq.free@gmail.com> + + * international/characters.el (glyphless-char-display-control): + Add usage note. + + 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com> + + * progmodes/python.el (python-mode): + * progmodes/scheme.el (scheme-mode): + * progmodes/prolog.el (prolog-mode): + * progmodes/ruby-mode.el (ruby-mode): + * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode) + (emacs-lisp-mode): Remove incorrect and redundant text from docstring. + + 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * rect.el (rectangle--highlight-for-redisplay): + * emacs-lisp/smie.el (smie--next-indent-change): + Use buffer-chars-modified-tick. + + * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property. + + * electric.el (electric-indent-post-self-insert-function): + Only delete trailing whitepsace if it is indeed trailing (bug#15767). + + 2013-11-04 Helmut Eller <eller.helmut@gmail.com> + + * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782). + + 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change) + + * emacs-lisp/cconv.el (cconv-convert): Check form of let binding + (bug#15786). + + 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding. + + * progmodes/python.el: Fix up last change. + (python-shell--save-temp-file): New function. + (python-shell-send-string): Use it. Remove `msg' arg. Don't assume + `string' comes from the current buffer. + (python-shell-send-string-no-output): Remove `msg' arg. + (python--use-fake-loc): New var. + (python-shell-buffer-substring): Obey it. Try to compensate for the + extra coding line added by python-shell--save-temp-file. + (python-shell-send-region): Use python-shell--save-temp-file and + python-shell-send-file directly. Add `nomain' argument. + (python-shell-send-buffer): Use python-shell-send-region. + (python-electric-pair-string-delimiter): New function. + (python-mode): Use it. + + 2013-11-04 Eli Zaretskii <eliz@gnu.org> + + * startup.el (normal-top-level): Move setting eol-mnemonic-unix, + eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale + environment and decoding all of the default-directory's to here + from command-line. + (command-line): Decode also argv[0]. + + * loadup.el: Error out if default-directory is a multibyte string + when we are dumping. + + * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260) + + 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com> + + * emacs-lisp/package.el (package-menu-mode) + (package-menu--print-info, package-menu--archive-predicate): + Add Archive column to package list. + + 2013-11-04 Michael Albinus <michael.albinus@gmx.de> + + Fix problems found while writing a test suite. + + * net/tramp.el (tramp-file-name-regexp-unified): Simplify. + (tramp-file-name-for-operation): Use `tramp-tramp-file-p'. + (tramp-handle-substitute-in-file-name): Let-bind `process-environment' + to nil when running original file name handler. Otherwise, + there are problems with constructs like "$$FOO". + + * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix + for `localname'. + + 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com> + + * progmodes/ruby-mode.el (ruby-mode): Clean up docstring. + + * subr.el (version<, version<=, version=): + Update docstrings with information for snapshot versions. + + * helpers.el: New library for misc helper functions. + (hash-table-keys): New function returning a list of hash keys. + (hash-table-values): New function returning a list of hash values. + + 2013-11-04 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--forward-token) + (ruby-smie--backward-token): Tokenize heredocs as semicolons. + + 2013-11-04 Michal Nazarewicz <mina86@mina86.com> + + * textmodes/fill.el (fill-single-char-nobreak-p): New function + checking whether point is after a 1-letter word. + + 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change) + + * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function): + Don't infloop when expanding region over `multiline' syntax-type that + begins a line (bug#15778). + + 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * rect.el (rectangle-mark-mode): Rename from rectangle-mark. + Make it into a proper minor mode. + (rectangle--region): (Implicitly) rename to rectangle-mark-mode. + (rectangle-mark-mode-map): New keymap. + (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796). + + 2013-11-04 Glenn Morris <rgm@gnu.org> + + * startup.el (command-line-1): Allow `-L :...' to append to load-path. + + 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove. + (ruby-smie-rules): Use smie-rule-parent instead. + + * emacs-lisp/smie.el (smie-rule-parent): Always call + smie-indent-virtual rather than only for hanging tokens. + (smie--next-indent-change): New helper command. + + 2013-11-03 Glenn Morris <rgm@gnu.org> + + * Makefile.in (abs_srcdir): Remove. + (emacs): Unset EMACSLOADPATH. + + 2013-11-02 Glenn Morris <rgm@gnu.org> + + * Makefile.in (EMACS): Use a relative filename. + (abs_top_builddir): Remove. + (custom-deps, finder-data, autoloads): Use --chdir. + + * Makefile.in (abs_lisp): Remove, replace by abs_srcdir. + + Use relative filenames in TAGS files. + * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3) + (lisptagsfiles4, TAGS): Use relative file names. + (TAGS-LISP): Remove. + (maintainer-clean): No more TAGS-LISP file. + + * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3) + (lisptagsfiles4): Use absolute filenames again. + (TAGS, TAGS-LISP): Not everything needs to run in one line. + Remove all *loaddefs files, not just the first. Remove esh-groups. + (maintainer-clean): Delete TAGS, TAGS-LISP. + + 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com> + + * emacs-lisp/package.el (package-version-join): + Recognize snapshot versions. + + 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com> + + * subr.el (version-regexp-alist): Add support for snapshot versions. + + 2013-11-02 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): + New function, replacement for `smie-rule-parent' for when we want to + skip over our direct parent if it's an assignment token.. + (ruby-smie-rules): Use it. + + 2013-11-02 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el: Use `syntax-propertize-function' + unconditionally. Remove now unnecessary forward declarations. + Remove XEmacs-specific setup. + (ruby-here-doc-end-re, ruby-here-doc-beg-match) + (ruby-font-lock-syntactic-keywords) + (ruby-comment-beg-syntax, ruby-in-here-doc-p) + (ruby-here-doc-find-end, ruby-here-doc-beg-syntax) + (ruby-here-doc-end-syntax): Remove. + (ruby-mode): Don't check whether `syntax-propertize-rules' is + defined as function. + + 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com> + + * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'. + + 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com> + + * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax + table and abbrev table, `define-derived-mode' does that for us + anyway. + + 2013-11-01 Glenn Morris <rgm@gnu.org> + + * Makefile.in: Remove manual mh-e dependencies (writing .elc + files is atomic for some time, so no parallel compilation issues). + + 2013-11-01 Jan Djärv <jan.h.d@swipnet.se> + + * faces.el (face-x-resources): Add :distant-foreground. + (region): Use :distant-foreground for gtk and ns. + + 2013-11-01 Tassilo Horn <tsdh@gnu.org> + + Allow multiple bibliographies when BibLaTeX is used rather than + BibTeX. + * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function. + (reftex-locate-bibliography-files): Us it. + + 2013-11-01 Claudio Bley <claudio.bley@googlemail.com> + + * image.el (image-type-header-regexps): Fix the 'pbm' part to + allow comments in pbm files. + + * term/w32-win.el (dynamic-library-alist): Support newer versions + of libjpeg starting with v7: look only for the DLL from the + version against which Emacs was built. + Support versions of libpng beyond 1.4.x. + Support libtiff v4.x. + + 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com> + + * progmodes/ruby-mode.el (ruby-indent-tabs-mode) + (ruby-indent-level, ruby-comment-column, ruby-deep-arglist): + Add property :safe. + (ruby-deep-arglist): Add property :type. + + 2013-10-31 Glenn Morris <rgm@gnu.org> + + * Makefile.in (custom-deps, finder-data): No need to setq the target + variables, we are in the right directory and the defaults work fine. + + 2013-10-30 Glenn Morris <rgm@gnu.org> + + * Makefile.in (autoloads): Do not use abs_lisp. + + * emacs-lisp/autoload.el (autoload-generate-file-autoloads): + `newline' does not respect `standard-output', so use `princ'. + + 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com> + + Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761) + * buff-menu.el (Buffer-menu--unmark): New function. + (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it. + + 2013-10-30 Glenn Morris <rgm@gnu.org> + + * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el. + + * emacs-lisp/package.el (lm-homepage): Declare. + + * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink): + Fix doc typos. + + * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler. + + * Makefile.in (finder-data, autoloads, update-subdirs) + (compile-main, compile-clean, compile-always, bootstrap-clean): + Check return value of cd. + (compile-calc): Remove. + + 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el (copy-region-as-kill): Fix call to region-extract-function. + + * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler. + (byte-compile-and-folded): New function. + (=, <, >, <=, >=): Use it. + + * dos-w32.el (minibuffer-history-case-insensitive-variables) + (path-separator, null-device, buffer-file-coding-system) + (lpr-headers-switches): Check system-type before modifying them. + (find-buffer-file-type-coding-system): Mark obsolete. + (w32-find-file-not-found-set-buffer-file-coding-system): Rename from + find-file-not-found-set-buffer-file-coding-system. + (w32-untranslated-filesystem-list, w32-untranslated-canonical-name) + (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem) + (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p) + (w32-direct-print-region-helper, w32-direct-print-region-function) + (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix. + * startup.el (normal-top-level-add-subdirs-to-load-path): + * ps-print.el (ps-print-region-function): + * lpr.el (print-region-function): Use new name. + + * subr.el (custom-declare-variable-early): Remove function. + (custom-declare-variable-list): Remove var. + (error, user-error): Remove `while' loop. + (read-quoted-char-radix, read-quoted-char): Move to simple.el. + (user-emacs-directory-warning, locate-user-emacs-file): + Move to files.el. + * simple.el (read-quoted-char-radix, read-quoted-char): + * files.el (user-emacs-directory-warning, locate-user-emacs-file): + Move from subr.el. + * custom.el (custom-declare-variable-list): Don't process + custom-declare-variable-list. + + * progmodes/python.el (python-shell-get-buffer): New function. + (python-shell-get-process): Use it. + (python-shell-send-string): Always use utf-8 and add a cookie to tell + Python which encoding was used. Don't split-string since we only care + about the first line. Return the temp-file, if applicable. + (python-shell-send-region): Tell compile.el how to turn locations in + the temp-file into locations in the source buffer. + + 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (undefined): Add missing behavior from the C code for + unbound keys. + + * rect.el: Use lexical-binding. Add new rectangular region support. + (rectangle-mark): New command. + (rectangle--region): New var. + (deactivate-mark-hook): Reset rectangle--region. + (rectangle--extract-region, rectangle--insert-for-yank) + (rectangle--highlight-for-redisplay) + (rectangle--unhighlight-for-redisplay): New functions. + (region-extract-function, redisplay-unhighlight-region-function) + (redisplay-highlight-region-function): Use them to handle + rectangular region. + * simple.el (region-extract-function): New var. + (delete-backward-char, delete-forward-char, deactivate-mark): Use it. + (kill-new, kill-append): Remove obsolete `yank-handler' argument. + (kill-region): Replace obsolete `yank-handler' arg with `region'. + (copy-region-as-kill, kill-ring-save): Add `region' argument. + (redisplay-unhighlight-region-function) + (redisplay-highlight-region-function): New vars. + (redisplay--update-region-highlight): New function. + (pre-redisplay-function): Use it. + (exchange-point-and-mark): Don't deactivate the mark before + reactivate-it anyway. + * comint.el (comint-kill-region): Remove yank-handler argument. + * delsel.el (delete-backward-char, backward-delete-char-untabify) + (delete-char): Remove property, since it's now part of their + default behavior. + (self-insert-iso): Remove property since this command doesn't exist. + + * emacs-lisp/package.el (package--download-one-archive) + (describe-package-1): Don't query the user about final newline. + + 2013-10-29 Daniel Colascione <dancol@dancol.org> + + * net/tramp.el (tramp-methods): Document new functionality. + * net/tramp-sh.el (tramp-compute-multi-hops): Punt to + tramp-hostname-checker if method provides one instead of scanning + argument list for "%h" to decide hostname acceptability. + + 2013-10-28 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-handle-copy-directory): + * net/tramp-smb.el (tramp-smb-handle-copy-directory): + Handle COPY-CONTENTS. (Bug#15737) + + 2013-10-28 Daiki Ueno <ueno@gnu.org> + + * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption): + Document that this option has no effect with GnuPG 2.0 (bug#15552). + + 2013-10-27 Xue Fuqiao <xfq.free@gmail.com> + + * image.el (defimage, image-load-path): Doc fixes. + + 2013-10-27 Alan Mackenzie <acm@muc.de> + + Indent statements in macros following "##" correctly. + * progmodes/cc-engine.el (c-crosses-statement-barrier-p): + Modify the "#" arm of a cond form to handle "#" and "##" operators. + + 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change) + + * linum.el (linum-update-window): Fix boundary test (bug#13446). + + 2013-10-27 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes + after `=' is probably a new expression. + + 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * man.el (man-imenu-title): New option. + (Man-mode-map): Add menu. (Bug#15722) + (Man-mode): Add imenu to menu. + + 2013-10-26 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more + specific in what the first arg can be: a non-keyword word, + string/regexp/percent literal opener, opening paren, or unary + operator followed directly by word. + + 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/prolog.el: Remove old indent; use post-self-insert-hook. + (prolog-align-comments-flag, prolog-indent-mline-comments-flag) + (prolog-object-end-to-0-flag, prolog-electric-newline-flag) + (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag): + Remove vars, they do not apply any more. + (prolog-mode-abbrev-table): Remove redundant declaration. + (prolog-upper-case-string, prolog-lower-case-string): Remove. + (prolog-use-smie): Remove. + (prolog-smie-rules): Add indentation rule for the if-then-else layout + supported by prolog-electric-if-then-else-flag. + (prolog-mode-variables, prolog-menu): Use setq-local. + (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n. + Remove binding to `Backspace' since this key doesn't exist anyway. + Remove bindings for electric self-inserting keys. + (prog-mode): Assume it's defined. + (prolog-post-self-insert): New function. + (prolog-mode): Use it. + (prolog-indent-line, prolog-indent-level) + (prolog-find-indent-of-matching-paren) + (prolog-indentation-level-of-line, prolog-goto-comment-column) + (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance) + (prolog-goto-next-paren, prolog-in-string-or-comment) + (prolog-tokenize, prolog-inside-mline-comment) + (prolog-find-start-of-mline-comment): Remove functions. + (prolog-find-unmatched-paren, prolog-clause-end) + (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss. + (prolog-electric--if-then-else): Rename from + prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag. + (prolog-tokenize-searchkey): Remove const. + (prolog-clause-info): Use forward-sexp. + (prolog-forward-list, prolog-backward-list, prolog-electric-delete) + (prolog-electric-if-then-else): Remove commands. + (prolog-electric--colon): Rename from prolog-electric-colon; adapt it + for use in post-self-insert-hook. + (prolog-electric--dash): Rename from prolog-electric-dash; adapt it + for use in post-self-insert-hook. + (prolog-electric--dot): Rename from prolog-electric-dot; adapt it + for use in post-self-insert-hook. + (prolog-electric--underscore): Rename from prolog-electric--underscore; + adapt it for use in post-self-insert-hook. + + 2013-10-25 Michael Albinus <michael.albinus@gmx.de> + + * emacs-lisp/ert.el (ert-run-tests-interactively): + Use `completing-read'. (Bug#9756) + + 2013-10-25 Eli Zaretskii <eliz@gnu.org> + + * simple.el (line-move): Call line-move-1 instead of + line-move-visual when the current window hscroll is zero, but + temporary-goal-column indicates we will need to hscroll as result + of the movement. (Bug#15712) + + 2013-10-25 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-mode-menu): Use proper + capitalization. Use :visible instead of :active. + Fix `ruby-indent-exp' reference. Add menu items for the generic + commands that are used with SMIE. + (ruby-do-end-to-brace): Insert space after `{'. + + 2013-10-25 John Anthony <john@jo.hnanthony.com> + + * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600) + + * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599) + + 2013-10-25 Glenn Morris <rgm@gnu.org> + + * vc/vc.el (vc-print-log): Don't use a working revision unless + one was explicitly specified. (Bug#15322) + + 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (add-to-list): Preserve return value in compiler-macro + (bug#15692). + + 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * progmodes/octave.el (octave-lookfor): Handle empty lookfor + result. Ask user to retry using '-all' flag. (Bug#15701) + + 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/smie.el: New smie-config system. + (smie-config): New defcustom. + (smie-edebug, smie-config-show-indent, smie-config-set-indent) + (smie-config-guess, smie-config-save): New commands. + (smie-config--mode-local, smie-config--buffer-local) + (smie-config--trace, smie-config--modefuns): New vars. + (smie-config--advice, smie-config--mode-hook) + (smie-config--setter, smie-config-local, smie-config--get-trace) + (smie-config--guess-value, smie-config--guess): New functions. + (smie-indent-forward-token, smie-indent-backward-token): Don't copy + text properties. Treat "string fence" syntax like string syntax. + + * progmodes/sh-script.el (sh-use-smie): Change default. + (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars. + (sh-var-value): Simplify by CSE. + (sh-show-indent, sh-set-indent, sh-learn-line-indent) + (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE + is used. + (sh-guess-basic-offset): Use cl-incf. + (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2). + + 2013-10-24 Helmut Eller <eller.helmut@gmail.com> + + * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste + (bug#15699). + + 2013-10-24 Glenn Morris <rgm@gnu.org> + + * Makefile.in (abs_top_srcdir): Remove. + (update-subdirs): Use relative path to update-subdirs. + + 2013-10-24 Eli Zaretskii <eliz@gnu.org> + + * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el) + ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el) + ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el): + Call unmsys--file-name before expand-file-name, not after it. + + 2013-10-24 Michael Albinus <michael.albinus@gmx.de> + + * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'. + (ert-test-skipped): New error. + (ert-skip, ert-stats-skipped): New defuns. + (ert--skip-unless): New macro. + (ert-test-skipped): New struct. + (ert--run-test-debugger, ert-test-result-type-p) + (ert-test-result-expected-p, ert--stats, ert-stats-completed) + (ert--stats-set-test-and-result, ert-char-for-test-result) + (ert-string-for-test-result, ert-run-tests-batch) + (ert--results-update-ewoc-hf, ert-run-tests-interactively): + Handle skipped tests. (Bug#9803) + + 2013-10-24 Glenn Morris <rgm@gnu.org> + + * Makefile.in (check-declare): Remove unnecessary path in -l argument. + + * Makefile.in (abs_top_srcdir): New, set by configure. + (update-subdirs): Correct build-aux location. + + 2013-10-24 Dmitry Gutov <dgutov@yandex.ru> + + * vc/vc.el (vc-print-root-log): Always set `default-directory' + value, whether we could auto-deduce `backend', or not. + + * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block + with parameters" example. Simplify the "is it block or is it + hash" check, but also make it more thorough. + + 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change) + + * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694) + + 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of + { if it is hanging. + + * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for + :before ";". + + 2013-10-23 Jed Brown <jed@59A2.org> (tiny change) + + * progmodes/compile.el (compilation-directory-matcher) + (compilation-page-delimiter): + Support GNU Make-4.0 directory quoting. (Bug#15678) + + 2013-10-23 Leo Liu <sdl.web@gmail.com> + + * ido.el (ido-tidy): Handle read-only text. + + 2013-10-23 Glenn Morris <rgm@gnu.org> + + * Makefile.in (abs_srcdir, abs_lisp): New, set by configure. + (emacs, compile, compile-always): + Quote entities that might contain whitespace. + (custom-deps, finder-data, autoloads): Use abs_lisp. + ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el) + ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el) + ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name. + + 2013-10-23 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--at-dot-call): + Use `following-char'. + + 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test. + * progmodes/ruby-mode.el (ruby-smie-rules): + Remove corresponding workaround. Fix indentation rule of ";" so it + also applies when ";" is the parent. + + 2013-10-22 Xue Fuqiao <xfq.free@gmail.com> + + * frame.el (display-screens, display-pixel-height) + (display-pixel-width, display-mm-width, display-backing-store) + (display-save-under, display-planes, display-color-cells) + (display-visual-class, display-monitor-attributes-list): + Mention the optional ‘display’ argument in doc strings. + + 2013-10-22 Michael Gauland <mikelygee@amuri.net> + + * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some + viewers such as evince when ebnf-production-name-p is nil. (Bug#15625) + + 2013-10-21 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated + TODO. Add "." after " @ ". + (ruby-smie--at-dot-call): New function. Checks if point at method + call with explicit target. + (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "." + to the method name tokens when it precedes them. + (ruby-smie--backward-id, ruby-smie--forward-id): Remove. + (ruby-smie-rules): Add rule for indentation before and after "." + token. + + 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca> + + * textmodes/remember.el (remember-diary-extract-entries): + Avoid add-to-list. + + * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as + an instruction. + + 2013-10-21 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie-grammar): + Add (almost) all infix operators. + (ruby-smie--implicit-semi-p): Add new operator chars. + + * progmodes/ruby-mode.el (ruby-mode-map): Add binding for + `smie-down-list'. + (ruby-smie--args-separator-p): Check that there's no newline + between method call and its arguments. + + 2013-10-20 Alan Mackenzie <acm@muc.de> + + Allow comma separated lists after Java "implements". + + * progmodes/cc-engine.el (c-backward-over-enum-header): + Parse commas. + * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma + from a "disallowed" list in enum fontification. + + 2013-10-20 Johan BockgÃ¥rd <bojohan@gnu.org> + + * startup.el (default-frame-background-mode): Remove unused defvar. + + * progmodes/verilog-mode.el (verilog-mode): Don't set + comment-indent-function globally. + + 2013-10-20 Jan Djärv <jan.h.d@swipnet.se> + + * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally. + Move Info menu item creation to ns-win.el. + + * term/ns-win.el (ns-initialize-window-system): Rename Help to Info + in menu bar. + + * menu-bar.el: Move GNUstep specific menus... + + * term/ns-win.el (ns-initialize-window-system): ... to here. + + 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el (newline): Only run post-self-insert-hook when + called interactively. + + 2013-10-19 Johan BockgÃ¥rd <bojohan@gnu.org> + + * icomplete.el (icomplete-with-completion-tables): Add :version. + + 2013-10-19 Alan Mackenzie <acm@muc.de> + + Fix fontification bugs with constructors and const. + + * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after + CASE 2) Remove the check for the absence of a suffix construct + after a function declaration with only types (no identifiers) in + the parentheses. Also, accept a function declaration with just a + type inside the parentheses, if this type can be positively + recognised as such, or if a prefix keyword like "explicit" nails + down the construct as a declaration. + + 2013-10-19 Eli Zaretskii <eliz@gnu.org> + + * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform + TTY menu actions and down-mouse-N to tty-menu-ignore. This solves + the problem whereby selecting a menu item that leads to a + minibuffer prompt moves the cursor out of the minibuffer window, + making it hard to type at the prompt. Suggested by Stefan Monnier + <monnier@iro.umontreal.ca>. + + 2013-10-19 Jan Djärv <jan.h.d@swipnet.se> + + * menu-bar.el: Don't make Services menu. + + 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * ffap.el: Handle "/usr/include/c++/<version>" directories. + (ffap-alist): Use ffap-c++-mode for c++-mode. + (ffap-c++-path): New variable. + (ffap-c++-mode): New function. + + 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change) + + * ido.el (dired-other-frame): Only list directories. (Bug#15638) + + 2013-10-18 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error + introduced on 2013-09-08, which results in an infinite loop + requesting a password. + + 2013-10-18 Glenn Morris <rgm@gnu.org> + + * progmodes/verilog-mode.el (verilog-case-fold): Add :version. + + 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org> + + Sync with upstream verilog-mode revision 1a6ecec7. + * progmodes/verilog-mode.el (verilog-mode-version): Update. + (verilog-mode-release-date): Remove. + (verilog-highlight-grouping-keywords, verilog-active-low-regexp) + (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp) + (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp) + (verilog-auto-tieoff-ignore-regexp) + (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp) + (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p) + (verilog-signals-with, verilog-dir-cache-preserving) + (verilog-auto-inst, verilog-auto-inout-param, verilog-auto): + Doc fixes. + (verilog-case-fold): New option, to control case folding in + regexp searches, bug597. + (verilog-menu): Add verilog-sk-uvm-component, minor tweaks. + (verilog-string-match-fold, verilog-in-paren-count) + (verilog-in-struct-nested-p, verilog-at-struct-mv-p) + (verilog-at-close-struct-p): New functions. + (verilog-beg-block-re-ordered, verilog-extended-case-re) + (verilog-forward-sexp, verilog-set-auto-endcomments) + (verilog-leap-to-case-head): Handle "unique0" case. + (verilog-in-constraint-re): New constant. + (verilog-keywords, verilog-type-font-keywords): + Add some SystemVerilog 1800-2012 keywords. + (verilog-label-be): Remove unimplemented argument, bug669. + (verilog-batch-execute-func): When batch expanding clear + create-lockfiles to prevent spurious user locks when a file ends + up not changing. + (verilog-calculate-indent, verilog-calc-1) + (verilog-at-close-constraint-p, verilog-at-constraint-p) + (verilog-do-indent): Fix indentation of nested constraints + and structures. + (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst) + (verilog-auto-inst-param): Use verilog-string-match-fold. + (verilog-read-inst-module-matcher): + Fix AUTOINST on gate primitives with #1. + (verilog-read-decls): Fix double-declaring user-defined typed signals. + Reads all user-defined typed variables. + (verilog-read-defines): Fix reading definitions inside comments, bug647. + (verilog-signals-matching-regexp) + (verilog-signals-not-matching-regexp, verilog-auto): + Respect verilog-case-fold. + (verilog-diff-report): Fix line count. + (verilog-auto-assign-modport): Remove unused local `modi'. + (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to + better handle multidimensional arrays. + Fix packed array ports misadding bit index in AUTOINST, bug637. + (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT + to not double-declare existing outputs and inputs, respectively. + (verilog-template-map): Bind U to verilog-sk-uvm-component. + (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class. + (verilog-sk-uvm-component): New skeleton. + (verilog-submit-bug-report): Add verilog-case-fold, + remove verilog-mode-release-date. + + 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com> + + * subr.el (sit-for): Call (input-pending-p t) so as to behave + as before. + + 2013-10-18 Reuben Thomas <rrt@sc3d.org> + + * textmodes/remember.el (remember): Set buffer-offer-save in + remember buffers (bug#13566). + + 2013-10-18 Daniel Colascione <dancol@dancol.org> + + When evaluating forms in ielm, direct standard output to ielm + buffer. Add new ielm-return-for-effect command. Remove trailing + whitespace throughout. + + * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect. + (ielm-return-for-effect): New command. + (ielm-send-input): Accept optional `for-effect' parameter. + (ielm-eval-input): Accept optional `for-effect' parameter. + Bind `standard-output' to stream we create using + `ielm-standard-output-impl'. Suppress printing result when + `for-effect'. + (ielm-standard-output-impl): New function. + (inferior-emacs-lisp-mode): Explain new features in documentation. + + 2013-10-17 Michael Albinus <michael.albinus@gmx.de> + + Code cleanup. + + * net/tramp.el (tramp-debug-message): Do not check for connection + buffer. + (tramp-message): Use "vector" connection property. + + * net/tramp.el (tramp-rfn-eshadow-update-overlay) + (tramp-equal-remote, tramp-eshell-directory-change) + * net/tramp-adb.el (tramp-adb-handle-copy-file) + (tramp-adb-handle-rename-file) + * net/tramp-cmds.el (tramp-list-remote-buffers) + (tramp-cleanup-connection, tramp-cleanup-this-connection) + * net/tramp-compat.el (tramp-compat-process-running-p) + * net/tramp-ftp.el (tramp-ftp-file-name-handler) + * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file) + (tramp-gvfs-handle-rename-file) + * net/tramp-sh.el (tramp-sh-handle-set-file-times) + (tramp-set-file-uid-gid) + * net/tramp-smb.el (tramp-smb-handle-copy-file) + (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead + of `file-remote-p'. + + * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p) + * net/tramp-gw.el (tramp-gw-gw-proc-sentinel) + (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter) + (tramp-gw-open-network-stream): Suppress unrelated traces. + + * net/tramp-adb.el (tramp-adb-maybe-open-connection) + * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch) + * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band) + * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector" + connection property. + + * net/tramp-cache.el (top): Suppress traces when reading + persistency file. + + * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch): + Refactor common code. Improve debug message. + (tramp-maybe-open-connection) + * net/tramp-smb.el (tramp-smb-call-winexe): Do not request + connection buffer too early. + + * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed + from `tramp-smb-actions-with-acl'. + (tramp-smb-actions-set-acl): New defconst. + (tramp-smb-handle-copy-directory) + (tramp-smb-action-get-acl): New defun, renamed from + `tramp-smb-action-with-acl'. + (tramp-smb-action-set-acl): New defun. + (tramp-smb-handle-set-file-acl): Rewrite. + + 2013-10-17 Glenn Morris <rgm@gnu.org> + + * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635) + + 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * skeleton.el (skeleton-newline): Remove. + (skeleton-internal-1): Use (insert "\n") instead. + + * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for + let-bindings. + + * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's + forward-sexp-function while we redo its job (bug#15613). + + 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com> + + * calc/calc-comb.el (math-prime-test): Don't assume large integers are + represented by lists. + + 2013-10-16 Glenn Morris <rgm@gnu.org> + + * tmm.el (tmm--history): New dynamic variable. + (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623) + + 2013-10-16 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-smb.el (tramp-smb-acl-program): New customer option. + (tramp-smb-errors): Add error messages. + (tramp-smb-actions-with-acl): New defconst. + (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler. + (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns. + (tramp-smb-handle-file-acl): Rewrite, using "smbcacls". + (tramp-smb-handle-file-attributes): Simplify test for "stat" capability. + (tramp-smb-get-stat-capability): Fix tests. + + 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change) + + * progmodes/subword.el (subword-capitalize): Fix Stefan's mess + (bug#15580). + + 2013-10-16 Glenn Morris <rgm@gnu.org> + + * ansi-color.el (ansi-color-drop-regexp): + Add 1J, 1K, 2K. (Bug#15617) + + * files.el (hack-local-variables--warned-lexical): New. + (hack-local-variables): + Warn about misplaced lexical-binding. (Bug#15616) + + * net/eww.el (eww-render): Always set eww-current-url, + and update header line. (Bug#15622) + (eww-display-html): ... Rather than just doing it here. + + 2013-10-15 Eli Zaretskii <eliz@gnu.org> + + * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY + menu navigations commands. + + 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change) + + * progmodes/subword.el (subword-capitalize): Be careful when + the search for [[:alpha:]] fails (bug#15580). + + 2013-10-14 Eli Zaretskii <eliz@gnu.org> + + * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks + to commands that scroll the menu. + + 2013-10-14 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--args-separator-p): + Handle methods ending with `?' and `!'. + + 2013-10-14 Akinori MUSHA <knu@iDaemons.org> + + * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from + `japanese-cp932' to `cp932' to fix the problem where saving a + source file written in Shift_JIS twice would end up having + `coding: japanese-cp932' which Ruby could not recognize. + (ruby-mode-set-encoding): Add support for encodings mapped to nil + in `ruby-encoding-map'. + (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it + doesn't need to be explicitly declared in magic comment. + (ruby-encoding-map): Add type declaration for better customize UI. + + 2013-10-13 Glenn Morris <rgm@gnu.org> + + * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent): + Occur buffers are read-only. http://bugs.debian.org/720775 + + * emacs-lisp/authors.el (authors-fixed-entries): + Comment out old alpha stuff. + + 2013-10-13 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding' + to `after-save-hook' instead of `before-save-hook'. + (ruby-mode-set-encoding): Use the value of coding system used to + write the file. Call `basic-save-buffer-1' after modifying the + buffer. + + 2013-10-13 Alan Mackenzie <acm@muc.de> + + Fix indentation/fontification of Java enum with + "implements"/generic. + + * progmodes/cc-engine.el (c-backward-over-enum-header): + Extracted from the three other places and enhanced to handle generics. + (c-inside-bracelist-p): Uses new function above. + * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new + function above. + (c-font-lock-enum-tail): Uses new function above. + + 2013-10-13 Kenichi Handa <handa@gnu.org> + + * international/mule-cmds.el (select-safe-coding-system): Remove a + superfluous condition in chekcing whether a coding system is safe + or not. + + 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com> + + * replace.el (how-many): Fix rstart and !rend case. (Bug#15589) + + 2013-10-13 Andreas Politz <politza@hochschule-trier.de> + + * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435) + + 2013-10-13 Glenn Morris <rgm@gnu.org> + + * menu-bar.el (menu-bar-update-buffers): + Unify Buffers menu prompt string. (Bug#15576) + + * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434) + + * emacs-lisp/authors.el (authors-aliases, authors-ignored-files): + Add some entries. + (authors-fixed-entries): Use accented form of name. + + 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free + method calls (bug#15594). + (ruby-smie--args-separator-p): New function. + (ruby-smie--forward-token, ruby-smie--backward-token): Use it to + recognize paren-free method calls. + + * isearch.el (isearch-pre-command-hook): Don't build in knowledge about + internals of universal-argument. + + 2013-10-11 Eli Zaretskii <eliz@gnu.org> + + * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit. + Bind all menu-bar sequences to tty-menu-exit -- this pops down a + dropped menu on second mouse click on the menu bar. + + 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/sh-script.el: Provide simpl(e|istic) completion. + (explicit-shell-file-name): Declare. + (sh--vars-before-point, sh--cmd-completion-table): New functions. + (sh-completion-at-point-function): New function. + (sh-mode): Use it. + (sh-smie--keyword-p): Remove unused argument. + (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused + vars. + (sh-set-shell): Always setup SMIE, even if we use the + old indentation code. + + 2013-10-11 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the + cases of ? and =. + (ruby-smie-rules): Simplify the "do" rule. The cases when the + predicate would return nil are almost non-existent. + (ruby-smie--redundant-do-p): Include "until" and "for" statements. + + * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the + cache also after commands that modify the buffer but don't move + point. + + 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca> + + * env.el (substitute-env-in-file-name): New function. + (substitute-env-vars): Extend the meaning of the optional arg. + + 2013-10-10 Eli Zaretskii <eliz@gnu.org> + + * term/w32-win.el (dynamic-library-alist): Define separate lists + of GIF DLLs for versions before and after 5.0.0 of giflib. + (Bug#15531) + + 2013-10-10 João Távora <joaotavora@gmail.com> + + * vc/vc.el (vc-diff-build-argument-list-internal): If the file is + not locked, use last revision and current source as + defaults. (Bug#15569) + + 2013-10-10 Masatake YAMATO <yamato@redhat.com> + + * menu-bar.el (menu-bar-open): Don't use popup-menu if + menu-bar is hidden. + + 2013-10-10 Martin Rudalics <rudalics@gmx.at> + + * window.el (pop-to-buffer-same-window): Fix doc-string. + (Bug#15492) + + 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca> + + * menu-bar.el (tty-menu-navigation-map): Reduce redundancy. + + 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change) + + * calendar/icalendar.el (icalendar-import-file): + Fix interactive spec. (Bug#15482) + + 2013-10-10 Glenn Morris <rgm@gnu.org> + + * desktop.el (desktop-save): Default to saving in .emacs.d, + since PWD is no longer in desktop-path by default. (Bug#15319) + + * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill, + now that text mode has a menu with the same entry. + (menu-bar-text-mode-auto-fill): Remove now unused func. + * textmodes/text-mode.el (text-mode-map): + Use auto-fill help text from menu-bar.el. + + 2013-10-10 John Anthony <john@jo.hnanthony.com> + + * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562) + + 2013-10-09 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-pre-command-hook): Use this-single-command-keys + instead of this-command-keys. Add universal-argument-more and + universal-argument-minus to the list of prefix commands. (Bug#15568) + + 2013-10-09 Glenn Morris <rgm@gnu.org> + + * vc/vc-svn.el (vc-svn-create-repo): + Expand paths in file://... url. (Bug#15446) + + * emacs-lisp/authors.el (authors-aliases, authors-fixed-case): + Add some entries. + (authors): Remove unused local variables. + + 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca> + + * profiler.el: Create a more coherent calltree from partial backtraces. + (profiler-format): Hide the tail with `invisible' so that C-s can still + find the hidden elements. + (profiler-calltree-depth): Don't recurse so enthusiastically. + (profiler-function-equal): New hash-table-test. + (profiler-calltree-build-unified): New function. + (profiler-calltree-build): Use it. + (profiler-report-make-name-part): Indent the calltree less. + (profiler-report-mode): Add visibility specs for profiler-format. + (profiler-report-expand-entry, profiler-report-toggle-entry): + Expand the whole subtree when provided with a prefix arg. + + 2013-10-09 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging + iuwu-mod token. + (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after + hanging iuwu-mod token. + (ruby-smie--forward-token): Do not include a dot after a token in + that token. + (ruby-smie--backward-token): Likewise. + + 2013-10-08 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t] + to isearch-other-control-char. + (isearch-mode): Add isearch-pre-command-hook to pre-command-hook + and isearch-post-command-hook to post-command-hook. + (isearch-done): Remove isearch-pre-command-hook from pre-command-hook + and isearch-post-command-hook from post-command-hook. + (isearch-unread-key-sequence) + (isearch-reread-key-sequence-naturally) + (isearch-lookup-scroll-key, isearch-other-control-char) + (isearch-other-meta-char): Remove functions. + (isearch-pre-command-hook, isearch-post-command-hook): + New functions based on isearch-other-meta-char rewritten + relying on the new behavior of overriding-terminal-local-map + that does not replace the local keymaps any more. (Bug#15200) + + 2013-10-08 Eli Zaretskii <eliz@gnu.org> + + Support menus on text-mode terminals. + * tmm.el (tmm-menubar): Adapt doc string to TTY menus + functionality. + + * tooltip.el (tooltip-mode): Don't error out on TTYs. + + * menu-bar.el (popup-menu, popup-menu-normalize-position): + Move here from mouse.el. + (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b + and arrow keys. + (tty-menu-navigation-map): New map for TTY menu navigation. + + * loadup.el ("tooltip"): Load even if x-show-tip is not available. + + * frame.el (display-mouse-p): Report text-mode mouse as available + on w32. + (display-popup-menus-p): Report availability if mouse is + available; don't condition on window-system. + + * faces.el (tty-menu-enabled-face, tty-menu-disabled-face) + (tty-menu-selected-face): New faces. + + 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs. + (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1) + (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords) + (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2): + New constants. + (lisp-mode-variables): New `elisp' argument. + (emacs-lisp-mode): Use it. + * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1) + (lisp-font-lock-keywords-2): Move to lisp-mode.el. + + * indent.el: Use lexical-binding. + (indent-region): Add progress reporter. + (tab-stop-list): Make it implicitly extend to infinity by repeating the + last step. + (indent--next-tab-stop): New function to implement this behavior. + (tab-to-tab-stop, move-to-tab-stop): Use it. + + 2013-10-08 Teemu Likonen <tlikonen@iki.fi> + + * indent.el (indent-rigidly--current-indentation): New function. + (indent-rigidly-map): New var. + (indent-rigidly): Use it to provide interactive mode (bug#8196). + + 2013-10-08 Bastien Guerry <bzg@gnu.org> + + * register.el (insert-register): Fix 2013-10-07 change. + + 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/perl-mode.el: Use lexical-binding. + Remove redundant :group args. + (perl-nochange): Change default to be closer to other major modes's + standard behavior. + (perl-indent-line): Don't consider text on current line as a + valid beginning of function from which to indent. + + * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@ + with more than one argument (bug#15538). + + * mpc.el (mpc-songs-jump-to): Adjust to different playlist format. + + * vc/pcvs.el: Use lexical-binding. + (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical + environment of `eval'. + (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather + than a list of expressions. Adjust callers. + * vc/pcvs-defs.el (cvs-postprocess): Remove, unused. + + 2013-10-07 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the + case of the dot in a chained method call being on the following line. + + 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca> + + * electric.el (electric-indent-inhibit): New var. + (electric-indent-post-self-insert-function): Use it. + * progmodes/python.el (python-mode): Set it. + + * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of + open braces. + + * emacs-lisp/smie.el (smie-next-sexp): Refine last fix. + + * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467). + (css-mode): Use electric-indent-chars. + + * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize. + (font-lock-beg, font-lock-end): Move before first use. + (nxml-mode): Use syntax-propertize-function. + (nxml-after-change, nxml-after-change1): Adjust accordingly. + (nxml-extend-after-change-region): Remove. + * nxml/xmltok.el: Use lexical-binding. + (xmltok-save): Use `declare'. + (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove. + * nxml/nxml-util.el: Use lexical-binding. + (nxml-with-degradation-on-error, nxml-with-invisible-motion): + Use `declare'. + * nxml/nxml-ns.el: Use lexical-binding. + (nxml-ns-save): Use `declare'. + (nxml-ns-prefixes-for): Avoid add-to-list. + * nxml/rng-match.el: Use lexical-binding. + (rng--ipattern): Use cl-defstruct. + (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv) + (rng-cons-group-after, rng-subst-group-after) + (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv): + Use closures instead of `(lambda...). + + 2013-10-07 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-handle-insert-file-contents): Improve handling + of BEG and END. + + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + Use `tramp-handle-insert-file-contents'. + (tramp-gvfs-handle-insert-file-contents): Remove function. + + * net/tramp-sh.el (tramp-sh-handle-insert-directory): + Use `save-restriction' in order to keep markers. + + * net/trampver.el: Update release number. + + 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/compile.el (compilation-parse-errors): + Use compilation--put-prop. + (compilation--ensure-parse): Check compilation-multiline. + + * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures. + + * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using + lexical-binding. + + * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...). + + * progmodes/ruby-mode.el: Fix recently added tests. + (ruby-smie-grammar): Add - and +. + (ruby-smie--redundant-do-p, ruby-smie--forward-id) + (ruby-smie--backward-id): New functions. + (ruby-smie--forward-token, ruby-smie--backward-token): Use them. + (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed + any more. + + 2013-10-07 Leo Liu <sdl.web@gmail.com> + + * register.el (register-preview-delay) + (register-preview-functions): New variables. + (register-read-with-preview, register-preview) + (register-describe-oneline): New functions. + (point-to-register, window-configuration-to-register) + (frame-configuration-to-register, jump-to-register) + (number-to-register, view-register, insert-register) + (copy-to-register, append-to-register, prepend-to-register) + (copy-rectangle-to-register): Use register-read-with-preview to + read register. (Bug#15525) + + 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change) + + * net/network-stream.el (network-stream-open-starttls): Don't add + --insecure if it's already present, because that gnutls-cli + rejects getting that parameter twice. + + 2013-10-06 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure' + keyword, too. + + 2013-10-05 Dmitry Gutov <dgutov@yandex.ru> + + * newcomment.el (comment-use-global-state): Change default value + to t, mark obsolete (Bug#15251). + (comment-beginning): In addition to `comment-to-syntax', check the + value of `comment-use-global-state'. + + 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/ruby-mode.el (ruby-use-smie): Change default. + (ruby-comment-column): Follow the global default, by default. + (ruby-smie-grammar): Add assignment syntax. + (ruby-smie--implicit-semi-p): No implicit semi-colon after an + open-paren, a comma, or a \. + (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs, + and line continuations. + (ruby-smie-rules): Adjust handling of open-paren, now that it's never + followed by implicit semi-colons. Add rule for string concatenation + and for indentation at BOB. + (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use. + + * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before + calling next-sexp, since next-token may have skipped chars which + next-sexp doesn't know should be skipped! + + 2013-10-05 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-send-region): + Call compilation-forget-errors. + + 2013-10-04 Xue Fuqiao <xfq.free@gmail.com> + + * vc/vc-svn.el (vc-svn-find-admin-dir): + * vc/vc-rcs.el (vc-rcs-find-admin-dir): + * vc/vc-mtn.el (vc-mtn-find-admin-dir): + * vc/vc-cvs.el (vc-cvs-find-admin-dir): + * vc/vc-arch.el (vc-arch-find-admin-dir): New functions. + + 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467). + + 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (read-passwd): Hide chars even when called within a context + where after-change-functions is disabled (bug#15501). + (set-temporary-overlay-map): Don't remove oneself from pre-command-hook + until we removed ourself from overriding-terminal-local-map. + + 2013-10-04 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-mode): + Call compilation-forget-errors. + + 2013-10-04 Xue Fuqiao <xfq.free@gmail.com> + + * emacs-lisp/syntax.el (syntax-ppss): Doc fix. + + 2013-10-04 Michael Albinus <michael.albinus@gmx.de> + + * net/secrets.el (secrets-create-collection): Add optional + argument ALIAS. Use proper Label keyword. Append ALIAS as + dbus-call-method argument. (Bug#15516) + + 2013-10-04 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-error-regexp-alist) + (inferior-octave-compilation-font-lock-keywords): New variables. + (compilation-error-regexp-alist) + (compilation-mode-font-lock-keywords): Defvar to pacify compiler. + (inferior-octave-mode): Use compilation-shell-minor-mode. + + 2013-10-04 Jorgen Schaefer <forcer@forcix.cx> + + * minibuffer.el (completion--replace): Be careful that `end' might be + a marker. + + 2013-10-03 Daiki Ueno <ueno@gnu.org> + + Add support for package signature checking. + * emacs-lisp/package.el (url-http-file-exists-p) + (epg-make-context, epg-context-set-home-directory) + (epg-verify-string, epg-context-result-for) + (epg-signature-status, epg-signature-to-string) + (epg-check-configuration, epg-configuration) + (epg-import-keys-from-file): Declare. + (package-check-signature): New user option. + (package-unsigned-archives): New user option. + (package-desc): Add `signed' field. + (package-load-descriptor): Set `signed' field if .signed file exists. + (package--archive-file-exists-p): New function. + (package--check-signature): New function. + (package-install-from-archive): Check package signature. + (package--download-one-archive): Check archive signature. + (package-delete): Remove .signed file. + (package-import-keyring): New command. + (package-refresh-contents): Import default keyring. + (package-desc-status): Add "unsigned" status. + (describe-package-1, package-menu--print-info) + (package-menu-mark-delete, package-menu--find-upgrades) + (package-menu--status-predicate): Support "unsigned" status. + + 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for + the new compilation scheme using the new byte-codes. + + * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase) + (byte-pophandler): New byte codes. + (byte-goto-ops): Adjust accordingly. + (byte-compile--use-old-handlers): New var. + (byte-compile-catch): Use new byte codes depending on + byte-compile--use-old-handlers. + (byte-compile-condition-case--old): Rename from + byte-compile-condition-case. + (byte-compile-condition-case--new): New function. + (byte-compile-condition-case): New function that dispatches depending + on byte-compile--use-old-handlers. + (byte-compile-unwind-protect): Pass a function to byte-unwind-protect + when we can. + + * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): + Optimize under `condition-case' and `catch' if + byte-compile--use-old-handlers is nil. + (disassemble-offset): Handle new bytecodes. + + 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (error): Use `declare'. + (decode-char, encode-char): Use advertised-calling-convention instead + of the docstring to discourage use of the `restriction' arg. + + 2013-10-03 Daiki Ueno <ueno@gnu.org> + + * epg.el (epg-verify-file): Add a comment saying that it does not + notify verification error as a return value nor a signal. + (epg-verify-string): Ditto. + + 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com> + + * progmodes/compile.el (compilation-start): Try globbing the arg to + `cd' (bug#15417). + + 2013-10-02 Michael Albinus <michael.albinus@gmx.de> + + Sync with Tramp 2.2.8. + + * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers): + * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'. + * net/trampver.el: Update release number. + + 2013-10-01 Jan Djärv <jan.h.d@swipnet.se> + + * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system + and default-process-coding-system for darwin only. + + 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/package.el (package-desc): Simplify (bug#15495). + + 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change) + + * vc/vc-git.el (vc-git-grep): Disable pager. + + 2013-10-01 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/package.el (package-buffer-info, describe-package-1): + Use :url instead of :homepage, as per + http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html + + * newcomment.el (comment-beginning): When `comment-use-syntax' is + non-nil, use `syntax-ppss' (Bug#15251). + + 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * progmodes/octave.el (inferior-octave-startup-file): + Prefer ~/.emacs.d/init_octave.m. + + 2013-09-29 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/package.el (package-desc-from-define): + Accept additional arguments as plist, convert them to an alist and store + them in the `extras' slot. + (package-generate-description-file): Convert extras alist back to + plist and append to the `define-package' form arguments. + (package--alist-to-plist): New function. + (package--ac-desc): Add `extras' slot. + (package--add-to-archive-contents): Check if the archive-contents + vector is long enough, and if it is, pass its `extras' slot value + to `package-desc-create'. + (package-buffer-info): Call `lm-homepage', pass the returned value + to `package-desc-from-define'. + (describe-package-1): Render the homepage button (Bug#13291). + + * emacs-lisp/package-x.el (package-upload-buffer-internal): + Pass `extras' slot from `package-desc' to `package-make-ac-desc'. + + 2013-09-29 Jan Djärv <jan.h.d@swipnet.se> + + * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system + and default-process-coding-system to utf-8-unix (Bug#15402). + + 2013-09-29 Xue Fuqiao <xfq.free@gmail.com> + + * subr.el (looking-back): Do not recommend using looking-back. + + 2013-09-28 Alan Mackenzie <acm@muc.de> + + Fix indentation/fontification of Java enum with "implements". + + * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a + regexp which matches "implements", etc., in Java. + * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra + specifier clauses coming after "enum". + * progmodes/cc-fonts.el (c-font-lock-declarations) + (c-font-lock-enum-tail): Check for extra specifier clauses coming + after "enum". + + 2013-09-28 Jan Djärv <jan.h.d@swipnet.se> + + * faces.el (region): Change ns_selection_color to + ns_selection_fg_color, add ns_selection_bg_color. + + 2013-09-28 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-completion-table) + (inferior-octave-completion-at-point): Minor tweaks. + + * textmodes/ispell.el (ispell-lookup-words): Rename from + lookup-words. (Bug#15460) + (lookup-words): Obsolete. + (ispell-complete-word, ispell-command-loop): All uses changed. + + 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer. + (octave-mode-menu): Add octave-send-buffer. + (octave-send-buffer): New function. + + 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * progmodes/octave.el (octave-mode-map): Add key binding for + octave-lookfor. + (octave-mode-menu): Add octave-lookfor. + (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to + octave-lookfor. + (octave-lookfor): New function. + + 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove. + (cl--loop-iterator-function): Rename from cl--loop-map-form and change + its convention. + (cl--loop-set-iterator-function): New function. + (cl-loop): Adjust accordingly, so as not to use cl-subst. + (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form. + Bind `it' with `let' instead of substituting it with `cl-subst'. + (cl--unused-var-p): New function. + (cl--loop-let): Don't use the cl--loop-destr-temps hack any more. + Eliminate some unused variable warnings (bug#15326). + + 2013-09-27 Tassilo Horn <tsdh@gnu.org> + + * doc-view.el (doc-view-scale-reset): Rename from + `doc-view-reset-zoom-level'. + (doc-view-scale-adjust): New command. + (doc-view-mode-map): Remap `text-scale-adjust' bindings to + `doc-view-scale-adjust'. + + 2013-09-26 Tassilo Horn <tsdh@gnu.org> + + * doc-view.el (doc-view-reset-zoom-level): New command. + (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view + zoom commands (bug#15466). + + 2013-09-26 Kenichi Handa <handa@gnu.org> + + * international/quail.el (quail-help): Make it not a command. + + 2013-09-26 Leo Liu <sdl.web@gmail.com> + + * minibuffer.el (completion-all-sorted-completions): Make args + optional as they are. + + 2013-09-25 Daniel Colascione <dancol@dancol.org> + + * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type + specs are and that they're not evaluated. + + 2013-09-24 Sam Steingold <sds@gnu.org> + + * midnight.el (clean-buffer-list-kill-regexps) + (clean-buffer-list-kill-buffer-names): Update for the new Man + buffer naming which includes the object name. + + 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca> + + * eshell/esh-cmd.el (eshell--sep-terms): New var. + (eshell-parse-command, eshell-parse-pipeline): Use it since + eshell-separate-commands requires a dynamic scoped var. + Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>. + + 2013-09-23 Leo Liu <sdl.web@gmail.com> + + * autoinsert.el (auto-insert-alist): Make the value of + lexical-binding match its file setting. + + 2013-09-23 Juanma Barranquero <lekktu@gmail.com> + + * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument. + + * autoarg.el (autoarg-kp-digit-argument): + * electric.el (Electric-command-loop): + * kmacro.el (kmacro-step-edit-insert): + Do not set universal-argument-num-events. + + 2013-09-22 Leo Liu <sdl.web@gmail.com> + + * files.el (interpreter-mode-alist): Add octave. + + 2013-09-21 Alan Mackenzie <acm@muc.de> + + C++: fontify identifier in declaration following "public:" correctly. + * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var + to match "public", etc. + (c-decl-prefix-re): Add ":" into the C++ value. + * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a + bit. Add a check for a ":" preceded by "public", etc. + + 2013-09-21 Eli Zaretskii <eliz@gnu.org> + + * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files + recognized by GDB 7.5 and later. + + 2013-09-21 Xue Fuqiao <xfq.free@gmail.com> + + * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming. + + 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (internal--call-interactively): New const. + (called-interactively-p): Use it (bug#3984). + + 2013-09-20 Xue Fuqiao <xfq.free@gmail.com> + + * vc/pcvs.el (cvs-mode-ignore): + * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore): + Rename cvs-append-to-ignore to vc-cvs-append-to-ignore. + + 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca> + + * eshell/em-ls.el: Use advice. Remove redundant :group keywords. + (eshell-ls-orig-insert-directory): Remove. + (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove. + (eshell-ls-use-in-dired): Use advice-add/remove. + (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory. + Add `orig-fun' arg for use in :around advice. + Make it check (redundantly) eshell-ls-use-in-dired. + + 2013-09-19 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'. + + * simple.el (x-selection-owner-p, x-selection-exists-p): Declare. + + * emacs-lisp/eieio.el (class-parent): Undo previous change. + + 2013-09-19 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error. + (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id) + (tramp-get-remote-python): New defuns. + (tramp-get-remote-uid-with-perl) + (tramp-get-remote-gid-with-perl): New defuns. Perl code + contributed by yary <not.com@gmail.com> (tiny change). + (tramp-get-remote-uid-with-python) + (tramp-get-remote-gid-with-python): New defuns. Python code + contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change). + (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns. + + 2013-09-19 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros. + + * eshell/em-unix.el (eshell-remove-entries): + Rename argument to avoid name-clash with global `top-level'. + + * eshell/esh-proc.el (eshell-kill-process-function): + Remove eshell-reset-after-proc from eshell-kill-hook if present. + (eshell-reset-after-proc): Remove unused arg `proc'. + + * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg. + (directory-files-and-attributes): Mark unused arg. + + * eshell/em-unix.el (eshell-remove-entries): + Remove unused arg `path'. Update callers. + + * eshell/em-hist.el (eshell-hist-parse-arguments): + Remove unused arg `silent'. Update callers. + + * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg. + Fix (f)boundp mix-up. + + * eshell/em-smart.el (eshell-smart-scroll-window) + (eshell-disable-after-change): + * eshell/em-term.el (eshell-term-sentinel): Mark unused arg. + + 2013-09-18 Alan Mackenzie <acm@muc.de> + + Fix fontification of type when followed by "const". + * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude + "known" types from fontification. + + 2013-09-18 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/chart.el (x-display-color-cells): Declare. + (chart-face-list): Drop Emacsen without display-color-p. + + * net/eww.el (libxml-parse-html-region): Declare. + (eww-display-html): Explicit error if no libxml2 support. + + * doc-view.el (doc-view-mode): Silence --without-x compilation. + + * image.el (image-type-from-buffer, image-multi-frame-p): + Remove --without-x warning/error. + + * mouse.el (mouse-yank-primary): + * term.el (term-mouse-paste): + Reorder to silence --without-x compilation. + + * mpc.el (doc-view-mode): Silence --without-x compilation. + + * mail/rmailmm.el (rmail-mime-set-bulk-data): + Silence --without-x compilation. + + * progmodes/gud.el (gud-find-file, gud-mode): + Silence --without-x compilation. + (tooltip-mode): Declare. + + * wdired.el (dired-backup-overwrite): Remove declaration. + (wdired-mode-map): Add doc string. + + * custom.el (x-get-resource): Declare. + + * eshell/em-glob.el (ange-cache): + * eshell/em-unix.el (ange-cache): Declare. + + * faces.el (x-display-list, x-open-connection, x-get-resource): + Declare. + + * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag) + (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll): + Declare. + + * frame.el (x-display-grayscale-p, x-display-name): Declare. + + * net/gnutls.el (gnutls-log-level): Declare. + + * net/shr.el (image-size, image-animate): Declare. + + * simple.el (font-info): Declare. + + * subr.el (x-popup-dialog): Declare. + + * term/common-win.el (x-select-enable-primary) + (x-last-selected-text-primary, x-last-selected-text-clipboard): + Declare. + + * term/ns-win.el (x-handle-args): Declare. + + * term/x-win.el (x-select-enable-clipboard): Declare. + + * term/w32-win.el (create-default-fontset): Declare. + + * w32-common-fns.el (x-server-version, x-select-enable-clipboard): + Declare. + + * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare. + (fit-frame-to-buffer): Explicit error if --without-x. + (mouse-autoselect-window-select): Silence compiler. + + * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare. + + * eshell/em-cmpl.el (eshell-complete-parse-arguments): + * eshell/em-hist.el (eshell/history, eshell-isearch-backward): + * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time): + * eshell/esh-util.el (eshell-sublist): + Remove unused local variables. + + * eshell/esh-io.el (x-select-enable-clipboard): Declare. + + * textmodes/two-column.el: Make 2C-split work for --without-x. + (scroll-bar-columns): Autoload. + (top-level): Require fringe when compiling. + + 2013-09-18 Leo Liu <sdl.web@gmail.com> + + * subr.el (add-hook): Robustify to handle closure as well. + + 2013-09-17 Glenn Morris <rgm@gnu.org> + + * simple.el (messages-buffer-mode-map): Unbind "g". + + 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * help-mode.el (help-mode-finish): Use derived-mode-p. + Remove obsolete highlighting. + + * play/life.el (life-mode): Use define-derived-mode. Derive from + special-mode. + (life): Let-bind inhibit-read-only. + (life-setup): Avoid `setq'. Use `life-mode'. + + * emacs-lisp/package.el (package-generate-autoloads): Remove `require' + which should not be needed any more. + (package-menu-refresh, package-menu-describe-package): Use user-error. + + * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var. + (eshell-post-rewrite-command-hook): Make obsolete. + (eshell-parse-command): Simplify. + (eshell-structure-basic-command): Remove unused arg `vocal-test'. + (eshell--cmd): Declare. + (eshell-parse-pipeline): Remove unused var `final-p'. + Pass a dynvar to eshell-post-rewrite-command-hook. + Implement the new eshell-post-rewrite-command-function. + (eshell-invoke-directly): Remove unused arg `input'. + * eshell/esh-io.el (eshell-io-initialize): + Use eshell-post-rewrite-command-function (bug#15399). + (eshell--apply-redirections): Rename from eshell-apply-redirections; + adjust to new calling convention. + (eshell-create-handles): Rename args to avoid clashing with dynvar + `standard-output'. + + 2013-09-17 Glenn Morris <rgm@gnu.org> + + * simple.el (messages-buffer-mode): New major mode. + (messages-buffer): New function. + * startup.el (normal-top-level): Switch mode of *Messages* buffer. + * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation) + (ert-run-test): Use `messages-buffer' function. + (ert--force-message-log-buffer-truncation): Ignore read-only. + * help.el (view-echo-area-messages): Use `messages-buffer' function. + * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function. + + 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (eval-after-load): Preserve evaluation order (bug#15389). + + * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360). + + 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * icomplete.el (icomplete-in-buffer): New var. + (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those + vars and replace them with functions. + (icomplete-minibuffer-setup): Adjust accordingly. + (icomplete--completion-table, icomplete--completion-predicate) + (icomplete--field-string, icomplete--field-beg, icomplete--field-end): + New functions. + (icomplete-forward-completions, icomplete-backward-completions) + (icomplete-simple-completing-p, icomplete-exhibit) + (icomplete-completions): Use them. + (icomplete--in-region-buffer): New var. + (icomplete--in-region-setup): New function. + (icomplete-mode): Use it. + + * eshell/esh-opt.el: Fix last change to set lexical-vars properly + (bug#15379). + (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun', + return args and options. + (eshell-eval-using-options): Use the new return value of + eshell--do-opts to set the options's vars in their scope. + (eshell--set-option): Rename from eshell-set-option. + Add arg `opt-vals'. + (eshell--process-option): Rename from eshell-process-option. + Add arg `opt-vals'. + (eshell--process-args): Use an `opt-vals' alist to store the options's + values during their processing and return them additionally to the + remaining args. + + 2013-09-15 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-operator-re): Consider line + continuation character an operator, as far as indentation is + concerned (Bug#15369). + + 2013-09-15 Martin Rudalics <rudalics@gmx.at> + + * window.el (window--state-put-2): Don't process buffer state + when buffer doesn't exist any more (Bug#15382). + + 2013-09-15 Glenn Morris <rgm@gnu.org> + + * eshell/em-unix.el (eshell/rm): + Make -f ignore missing files. (Bug#15373) + + * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372) + (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars. + * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars. + + 2013-09-14 Glenn Morris <rgm@gnu.org> + + * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo. + + 2013-09-13 Glenn Morris <rgm@gnu.org> + + * dired-x.el (dired-guess-shell-alist-user): Doc fix. + (dired-guess-default): Make `file' available in the env. (Bug#15363) + + 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.el (x-focus-frame): Mark as declared in frame.c. + + 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca> + + * ls-lisp.el: Use advice-add. + (original-insert-directory): Remove. + (ls-lisp--insert-directory): Rename from insert-directory; add + `orig-fun' argument. + (insert-directory): Advise. + + 2013-09-13 Eli Zaretskii <eliz@gnu.org> + + * term.el (term-emulate-terminal): Decode the command string + before passing it to term-command-hook. (Bug#15337) + + 2013-09-13 Glenn Morris <rgm@gnu.org> + + * eshell/esh-util.el (ange-cache): Move declaration earlier. + + * eshell/esh-ext.el (eshell-search-path): Declare. + + * eshell/em-prompt.el (eshell/pwd): Autoload it. + Otherwise an error occurs if eshell-dirs module not loaded. + + * progmodes/gdb-mi.el (gud-cont, gud-step): Declare. + + 2013-09-13 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-check-proper-method-and-host): Rename it from + `tramp-check-proper-host'. Check for a valid method name. + + * net/tramp-adb.el (tramp-adb-maybe-open-connection): + * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): + * net/tramp-sh.el (tramp-maybe-open-connection): + * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it. + + * net/tramp-cache.el (tramp-cache-print): Don't print text properties + also for hash values. + + 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca> + + * term/ns-win.el (parameters): Don't declare as dynamic. + (before-make-frame-hook): Don't add ineffective function. + + * eshell/*.el: Use lexical-binding (bug#15231). + + 2013-09-12 Kenichi Handa <handa@gnu.org> + + * composite.el (compose-gstring-for-graphic): Handle enclosing mark. + + 2013-09-12 Glenn Morris <rgm@gnu.org> + + * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers) + (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments. + + * subr.el (do-after-load-evaluation): Also give compiler warnings + when obsolete files are used (except by obsolete files). + + * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files + in the status output, assume `filename' is the first. (Bug#15322) + + * vc/vc.el (vc-deduce-fileset): Doc fix. + + * calc/calc-help.el (Info-goto-node): + * progmodes/cperl-mode.el (Info-find-node): + * vc/ediff.el (Info-goto-node): Update declarations. + + * vc/vc-dispatcher.el (vc-dir-refresh): Declare. + + * vc/vc-bzr.el (vc-compilation-mode): Declare. + (vc-bzr-pull): Require vc-dispatcher. + * vc/vc-git.el (vc-compilation-mode): Declare. + (vc-git-pull): Require vc-dispatcher. + + * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare. + + * progmodes/octave.el (help-button-action): Declare. + + * shell.el (shell-directory-tracker): Output error as a message + rather than just returning it as a string. + (shell-process-pushd): Remove useless use of message. + + * dframe.el (dframe-timer-fn): + * files.el (dir-locals-read-from-file): + * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run) + (mpc-format): + * reveal.el (reveal-post-command): + * saveplace.el (load-save-place-alist-from-file): + * shell.el (shell-resync-dirs): + * w32-common-fns.el (x-get-selection-value): + * emacs-lisp/copyright.el (copyright-find-copyright): + * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info): + * emulation/tpu-edt.el (tpu-copy-keyfile): + * play/bubbles.el (bubbles--mark-neighbourhood): + * progmodes/executable.el + (executable-make-buffer-file-executable-if-script-p): + * term/pc-win.el (x-get-selection-value): Use with-demoted-errors. + + 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca> + + Cleanup Eshell to rely less on dynamic scoping. + * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg, + last-value, and ext-command here. Bind `args' closer to `body'. + (temp-args, last-value, usage-msg, ext-command, args): Don't defvar. + (eshell--args): Declare new dynamic var. + (eshell-do-opt): Add argument `args'. Bind our own usage-msg, + last-value, and ext-command. Pass `args' to `body'. + (eshell-process-args): Bind eshell--args. + (eshell-set-option): Use eshell--args. + * eshell/eshell.el (eshell): Use derived-mode-p. + * eshell/esh-var.el (eshell-parse-variable): Use backquote. + (eshell-parse-variable-ref): Remove unused vars `end' and `err'. + (eshell-glob-function): Declare. + * eshell/esh-util.el: Require cl-lib. + (eshell-read-hosts-file): Avoid add-to-list. + * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var + `err'. + * eshell/em-unix.el (compilation-scroll-output, locate-history-list): + Declare. + (eshell/diff): Remove unused var `err'. + * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg + `killflag'. + * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'. + * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before + first use. + * eshell/em-glob.el (eshell-glob-matches, message-shown): + Move declaration before first use. + * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes. + * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we + rely on cl-return. + + 2013-09-12 Glenn Morris <rgm@gnu.org> + + * term/ns-win.el (global-map): Remove binding for ispell-next, + deleted 1999-05-29. (Bug#15357) + + 2013-09-11 Glenn Morris <rgm@gnu.org> + + * echistory.el (electric-command-history): Remove call to deleted func. + + * play/landmark.el (landmark-mode): Fix typos. + + * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec. + Check cvs-sort-ignore-file is bound. + + * savehist.el: No need for cl when compiling on Emacs. + + 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization + (bug#15338). + (eshell-self-insert-command, eshell-send-invisible): + Remove unused argument. + (eshell-handle-control-codes): Remove unused var `orig'. + Avoid delete-backward-char. + + * files.el (set-auto-mode): Simplify a bit further. + + 2013-09-11 Glenn Morris <rgm@gnu.org> + + * files.el (interpreter-mode-alist): Remove \\` \\' parts. + (set-auto-mode): Don't regexp-quote elements. + * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'. + * progmodes/cc-mode.el (interpreter-mode-alist): + * progmodes/ruby-mode.el (interpreter-mode-alist): + Revert previous change. + + 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * play/snake.el (snake-mode): + * play/mpuz.el (mpuz-mode): + * play/landmark.el (lm-mode): + * play/blackbox.el (blackbox-mode): + * play/5x5.el (5x5-mode): + * obsolete/options.el (Edit-options-mode): + * net/quickurl.el (quickurl-list-mode): + * net/newst-treeview.el (newsticker-treeview-mode): + * mail/rmailsum.el (rmail-summary-mode): + * mail/mspools.el (mspools-mode): + * locate.el (locate-mode): + * ibuffer.el (ibuffer-mode): + * emulation/ws-mode.el (wordstar-mode): + * emacs-lisp/debug.el (debugger-mode): + * array.el (array-mode): + * net/eudc.el (eudc-mode): Use define-derived-mode. + * net/mairix.el (mairix-searches-mode-font-lock-keywords): + Move initialization into declaration. + (mairix-searches-mode): Use define-derived-mode. + * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode. + (eudc-edit-hotlist): Use dolist. + * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table. + (Man-mode): Use define-derived-mode. + * info.el (Info-edit-mode-map): Rename from Info-edit-map. + (Info-edit-mode): Use define-derived-mode. + (Info-cease-edit): Use Info-mode. + * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization + into declaration. + (eshell-mode): Use define-derived-mode. + * chistory.el (command-history-mode-map): Rename from + command-history-map. + (command-history-mode): Use define-derived-mode. + (Command-history-setup): Remove function. + * calc/calc.el (calc-trail-mode-map): New var. + (calc-trail-mode): Use define-derived-mode. + (calc-trail-buffer): Set calc-main-buffer manually. + * bookmark.el (bookmark-insert-annotation): New function. + (bookmark-edit-annotation): Use it. + (bookmark-edit-annotation-mode): Make it a proper major mode. + (bookmark-send-edited-annotation): Use derived-mode-p. + * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit + closer to its ideal place. Use \' to match EOS. + + * profiler.el (profiler-calltree-find): Use function-equal. + + 2013-09-10 Glenn Morris <rgm@gnu.org> + + * files.el (interpreter-mode-alist): Convert to regexps. + (set-auto-mode): Adapt for this. (Bug#15306) + * progmodes/cperl-mode.el (cperl-clobber-mode-lists): + Comment out unused variable. + * progmodes/cc-mode.el (interpreter-mode-alist): + * progmodes/python.el (interpreter-mode-alist): + * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps. + * progmodes/sh-script.el (sh-set-shell): + No longer use interpreter-mode-alist to get list of shells. + + * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload. + + 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el: Use set-temporary-overlay-map for universal-argument. + (universal-argument-map): Don't use default-bindings (bug#15317). + Bind switch-frame explicitly. Replace universal-argument-minus with + a conditional binding. + (universal-argument-num-events, saved-overriding-map): Remove. + (restore-overriding-map): Remove. + (universal-argument--mode): Rename from save&set-overriding-map, + and rewrite. + (universal-argument, universal-argument-more, negative-argument) + (digit-argument): Adjust accordingly. + (universal-argument-minus): Remove. + (universal-argument-other-key): Remove. + + * subr.el (with-demoted-errors): Add `format' argument. + + 2013-09-10 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-cleanup): Remove. Functionality added to + `tramp-cleanup-connection'. + + * net/tramp-cmds.el (tramp-cleanup-connection): Add optional + parameters KEEP-DEBUG and KEEP-PASSWORD. + + * net/tramp.el (tramp-file-name-handler): + * net/tramp-adb.el (tramp-adb-maybe-open-connection): + * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell) + (tramp-maybe-open-connection): + * net/tramp-smb.el (tramp-smb-maybe-open-connection): + Use `tramp-cleanup-connection'. + + * net/tramp-sh.el (tramp-maybe-open-connection): + Catch 'uname-changed inside the progress reporter. + + 2013-09-10 Glenn Morris <rgm@gnu.org> + + * simple.el (read-minibuffer): Unbreak it. (Bug#15318) + + * dired-x.el (dired-mark-sexp): Unbreak for systems where ls + returns "alternate access method" in mode (eg "-rw-r--r--."). + + 2013-09-08 Glenn Morris <rgm@gnu.org> + + * saveplace.el (load-save-place-alist-from-file): + Demote errors. (Bug#15305) + + 2013-09-08 Michael Albinus <michael.albinus@gmx.de> + + Improve compatibility with older Emacsen, and XEmacs. + + * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize' + only if it is bound. It isn't for XEmacs. + (with-tramp-progress-reporter): Do not let-bind `result'. + This yields to scoping errors in XEmacs. + (tramp-handle-make-auto-save-file-name): New function, moved from + tramp-sh.el. + + * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler + for `make-auto-save-file-name'. + (tramp-adb--gnu-switches-to-ash): + Use `tramp-compat-replace-regexp-in-string'. + + * net/tramp-cache.el (tramp-cache-print): Call + `substring-no-properties' only if it is bound. It isn't for XEmacs. + + * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is + bound. It isn't for XEmacs. + + * net/tramp-compat.el (tramp-compat-copy-file): + Catch `wrong-number-of-arguments' error. + (tramp-compat-replace-regexp-in-string): New defun. + + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler + for `make-auto-save-file-name'. + (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for + `copy-file'. + (tramp-gvfs-file-gvfs-monitor-file-process-filter) + (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'. + (tramp-synce-list-devices): Use `push' instead of `pushnew'. + + * net/tramp-gw.el (tramp-gw-open-network-stream): + Use `tramp-compat-replace-regexp-in-string'. + + * net/tramp-sh.el (tramp-sh-file-name-handler-alist): + Call `tramp-handle-make-auto-save-file-name'. + (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el. + (tramp-sh-file-gvfs-monitor-dir-process-filter) + (tramp-sh-file-inotifywait-process-filter): + Use `tramp-compat-replace-regexp-in-string'. + (tramp-compute-multi-hops): Use `push' instead of `pushnew'. + + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler + for `make-auto-save-file-name'. + (tramp-smb-handle-copy-directory): + Call `tramp-compat-replace-regexp-in-string'. + (tramp-smb-get-file-entries): Use `push' instead of `pushnew'. + (tramp-smb-handle-copy-file): Improve error message. + (tramp-smb-handle-rename-file): Rename directly only in case + `newname' does not exist yet. This is a restriction of smbclient. + (tramp-smb-maybe-open-connection): Rerun the function only when + `auth-sources' is non-nil. + + 2013-09-08 Kenichi Handa <handa@gnu.org> + + * international/characters.el: Set category "^" (Combining) for + more characters. + + 2013-09-07 Alan Mackenzie <acm@muc.de> + + Correctly fontify Java class constructors. + * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")" + in Java Mode. + (c-recognize-typeless-decls): Set the Java value to t. + * progmodes/cc-engine.el (c-forward-decl-or-cast-1): + While handling a "(", add a check for, effectively, Java, and handle a + "typeless" declaration there. + + 2013-09-07 Roland Winkler <winkler@gnu.org> + + * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional + field subtitle for entry type book. + + 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * minibuffer.el: Make minibuffer-complete call completion-in-region + rather than other way around. + (completion--some, completion-pcm--find-all-completions): + Don't delay signals when debugging. + (minibuffer-completion-contents): Beware fields within the + minibuffer contents. + (completion-all-sorted-completions): Use defvar-local. + (completion--do-completion, completion--cache-all-sorted-completions) + (completion-all-sorted-completions, minibuffer-force-complete): + Add args `beg' and `end'. + (completion--in-region-1): New fun, extracted from minibuffer-complete. + (minibuffer-complete): Use completion-in-region. + (completion-complete-and-exit): New fun, extracted from + minibuffer-complete-and-exit. + (minibuffer-complete-and-exit): Use it. + (completion--complete-and-exit): Rename from + minibuffer--complete-and-exit. + (completion-in-region--single-word): New function, extracted from + minibuffer-complete-word. + (minibuffer-complete-word): Use it. + (display-completion-list): Make `common-substring' argument obsolete. + (completion--in-region): Call completion--in-region-1 instead of + minibuffer-complete. + (completion-help-at-point): Pass boundaries to + minibuffer-completion-help as args rather than via an overlay. + (completion-pcm--string->pattern): Use `any-delim'. + (completion-pcm--optimize-pattern): New function. + (completion-pcm--pattern->regex): Handle `any-delim'. + * icomplete.el (icomplete-forward-completions) + (icomplete-backward-completions, icomplete-completions): + Adjust calls to completion-all-sorted-completions and + completion--cache-all-sorted-completions. + (icomplete-with-completion-tables): Default to t. + * emacs-lisp/crm.el (crm--current-element): Rename from + crm--select-current-element. Don't put an overlay but return the + boundaries instead. + (crm--completion-command): Take two new args to bind to the boundaries. + (crm-completion-help): Adjust accordingly. + (crm-complete): Use completion-in-region. + (crm-complete-word): Use completion-in-region--single-word. + (crm-complete-and-exit): Use completion-complete-and-exit. + + 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * dired-x.el (dired-mark-sexp): Bind the vars lexically rather + than dynamically. + + 2013-09-06 Juri Linkov <juri@jurta.org> + + * info.el (Info-display-images-node): When image file doesn't exist + display text version of the image if it's provided in the Info file. + Otherwise, display the location of missing image from SRC attribute. + Add help-echo text property from ALT attribute. (Bug#15279) + + 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map. + (edit-abbrevs-mode): Use define-derived-mode. + + * epa.el (epa--encode-coding-string, epa--decode-coding-string) + (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious + that it's defined. + (epa-key-list-mode, epa-key-mode, epa-info-mode): + Use define-derived-mode. + + * epg.el (epg-start-encrypt): Minor CSE simplification. + + 2013-09-06 William Xu <william.xwl@gmail.com> + + * arc-mode.el: Add support for 7za (bug#15264). + (archive-7z-program): New var. + (archive-zip-extract, archive-zip-expunge, archive-zip-update) + (archive-zip-update-case, archive-7z-extract, archive-7z-expunge) + (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it. + + 2013-09-06 Michael Albinus <michael.albinus@gmx.de> + + Remove URL syntax. + + * net/tramp.el (tramp-syntax, tramp-prefix-format) + (tramp-postfix-method-format, tramp-prefix-ipv6-format) + (tramp-postfix-ipv6-format, tramp-prefix-port-format) + (tramp-postfix-host-format, tramp-file-name-regexp) + (tramp-completion-file-name-regexp) + (tramp-completion-dissect-file-name) + (tramp-handle-substitute-in-file-name): Remove 'url case. + (tramp-file-name-regexp-url) + (tramp-completion-file-name-regexp-url): Remove constants. + + 2013-09-06 Glenn Morris <rgm@gnu.org> + + * replace.el (replace-string): Doc fix re start/end. (Bug#15275) + + 2013-09-05 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish + keywords" below "here-doc beginnings" (Bug#15270). + + 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (pop): Use `car-safe'. + * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack + to detect unused `pop' return value. + + * progmodes/python.el (python-nav-beginning-of-block): Remove unused + var `block-regexp'. + (python-nav--forward-sexp): Remove unused var `re-search-fn'. + (python-fill-string): Remove unused var `marker'. + (python-skeleton-add-menu-items): Remove unused var `items'. + + * international/mule-cmds.el: Require CL. + (find-coding-systems-for-charsets): Avoid add-to-list. + (sanitize-coding-system-list): New function, extracted from + select-safe-coding-system-interactively. + (select-safe-coding-system-interactively): Use it. + (read-input-method-name): Accept symbols for `default'. + + * emacs-lisp/advice.el (defadvice): Add indent rule. + + 2013-09-05 Daniel Hackney <dan@haxney.org> + + * dired-x.el: + * net/ange-ftp.el: + * net/browse-url.el: + * net/dbus.el: + * net/eudc.el: + * net/eudcb-ldap.el: + * net/eww.el: + * net/imap.el: + * printing.el: + * vc/ediff-diff.el: + * vc/ediff-init.el: + * vc/ediff-merg.el: + * vc/ediff-mult.el: + * vc/ediff-util.el: + * vc/ediff-wind.el: + * vc/ediff.el: + * vc/emerge.el: + * vc/pcvs.el: + * vc/vc-annotate.el: Prefix unused arguments with `_' to silence + byte compiler. Remove some unused let-bound variables. + + 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access + a "ref-cell", since it gets better optimized (bug#14883). + + 2013-09-05 Glenn Morris <rgm@gnu.org> + + * progmodes/cc-awk.el (c-forward-sws): Declare. + + 2013-09-04 Glenn Morris <rgm@gnu.org> + + * generic-x.el [rul-generic-mode]: Require cc-mode. + (c++-mode-syntax-table): Declare. + (rul-generic-mode-syntax-table): Init in the defvar. + + 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * vc/vc-dispatcher.el (vc-run-delayed): New macro. + (vc-do-command, vc-set-async-update): + * vc/vc-mtn.el (vc-mtn-dir-status): + * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files) + (vc-hg-pull, vc-hg-merge-branch): + * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull) + (vc-git-merge-branch): + * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status) + (vc-cvs-dir-status-files): + * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status) + (vc-bzr-dir-status-files): + * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed. + * vc/vc-annotate.el: Use lexical-binding. + (vc-annotate-display-select, vc-annotate): Use vc-run-delayed. + (vc-sentinel-movepoint): Declare. + (vc-annotate): Don't use `goto-line'. + * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...). + (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed. + (vc-sentinel-movepoint): Declare. + * vc/vc-svn.el: Use lexical-binding. + (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed. + * vc/vc-sccs.el: + * vc/vc-rcs.el: Use lexical-binding. + + * autorevert.el (auto-revert-notify-handler): Explicitly ignore + `deleted'. Don't drop errors silently. + + * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places. + + 2013-09-04 Xue Fuqiao <xfq.free@gmail.com> + + * vc/vc.el (vc-ignore): Rewrite. + (vc-default-ignore): New function. + (vc-default-ignore-completion-table): Use find-ignore-file. + + * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table): + * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table): + * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table): + Remove. Most code moved to vc.el. + + 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca> + + * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices): + * net/tramp-smb.el (tramp-smb-get-file-entries): + * net/tramp-sh.el (tramp-sh-handle-insert-directory) + (tramp-compute-multi-hops): Fix misuses of `add-to-list'. + + * net/eww.el (eww-display-raw): Remove unused argument `charset'. + Update call to it. + (eww-change-select): Remove unused var `properties'. + (eww-make-unique-file-name): Remove unused var `base'. + + * finder.el (finder-compile-keywords): Don't mess with windows. + + * calculator.el (calculator-funcall): Fix typo in last change. + + * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge. + + * emacs-lisp/package.el (package-activate-1): Don't let a missing + <pkg>-autoloads.el file stop us. + + * net/tramp.el (with-parsed-tramp-file-name): Silence compiler + warnings, and factor out common code. + + 2013-09-03 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-calculate-indent): Consider + two-character operators and whether the character preceding them + changes their meaning (Bug#15208). + + 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org> + + Format code sent to Python shell for robustness. + * progmodes/python.el (python-shell-buffer-substring): + New function. + (python-shell-send-region, python-shell-send-buffer): Use it. + + 2013-09-02 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-compat.el (tramp-compat-user-error): Move it ... + * net/tramp.el (tramp-user-error): ... here. + (tramp-find-method, tramp-check-proper-host) + (tramp-dissect-file-name, tramp-debug-message) + (tramp-handle-shell-command): + * net/tramp-adb.el (tramp-adb-handle-shell-command): + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees. + + * net/tramp-cache.el (tramp-cache-print): Don't print text properties. + + 2013-09-02 Martin Rudalics <rudalics@gmx.at> + + * avoid.el (mouse-avoidance-point-position) + (mouse-avoidance-too-close-p): Handle case where posn-at-point + returns nil. + + 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el (python-shell-completion-get-completions): + Drop use of deleted `comint-last-prompt-overlay'. + (python-nav-if-name-main): New command. + + 2013-09-01 Glenn Morris <rgm@gnu.org> + + * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): + Avoid leading space in $wins. Otherwise the sed command used by + eg compile-main ends up containing "/*.el". (Bug#15170) + + * frame.el (frame-background-mode): Doc fix. (Bug#15226) + + 2013-08-30 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/bytecomp.el (byte-recompile-directory): + Fix is-this-a-directory logic. (Bug#15220) + + 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * textmodes/css-mode.el: Use SMIE. + (css-smie-grammar): New var. + (css-smie--forward-token, css-smie--backward-token) + (css-smie-rules): New functions. + (css-mode): Use them. + (css-navigation-syntax-table): Remove var. + (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual) + (css-indent-calculate, css-indent-line): Remove functions. + + Misc changes to reduce use of `(lambda...); and other cleanups. + * cus-edit.el: Use lexical-binding. + (customize-push-and-save, customize-apropos) + (custom-buffer-create-internal): Use closures. + * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings. + * progmodes/ada-xref.el: Use setq. + * net/tramp.el (with-tramp-progress-reporter): Avoid setq. + * dframe.el: Use lexical-binding. + (dframe-frame-mode): Fix calling convention for hooks. Use a closure. + * speedbar.el (speedbar-frame-mode): Adjust call accordingly. + * descr-text.el: Use lexical-binding. + (describe-text-widget, describe-text-sexp, describe-property-list): + Use closures. + * comint.el (comint-history-isearch-push-state): Use a closure. + * calculator.el: Use lexical-binding. + (calculator-number-to-string): Make it work with lexical-binding. + (calculator-funcall): Same and use cl-letf. + + * emacs-lisp/lisp.el (lisp--company-doc-buffer) + (lisp--company-doc-string, lisp--company-location): New functions. + (lisp-completion-at-point): Use them to improve Company support. + + * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal + params of lambda expressions. + (ruby-smie--implicit-semi-p): Refine rule (bug#15208). + (ruby-smie--opening-pipe-p): New function. + (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby + symbols and matched |...| for formal params. + (ruby-smie-rules): Don't let the formal params of a "do" prevent it + from being treated as hanging. Handle "rescue". + + 2013-08-29 Glenn Morris <rgm@gnu.org> + + * progmodes/cc-engine.el (c-pull-open-brace): + Move definition before use. + + 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args + are immutable. Don't use `unsafe' any more. + (cl--defsubst-expand): Don't substitute at the same time as keeping + a residual unused let-binding. Don't use `unsafe' any more. + + 2013-08-29 Glenn Morris <rgm@gnu.org> + + * calendar/cal-china.el (calendar-chinese-year-cache): + Recenter on 2015. + + * nxml/nxml-util.el (nxml-debug-clear-inside): + Use cl-loop rather than loop. + + * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad. + + * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms. + + 2013-08-28 Glenn Morris <rgm@gnu.org> + + * progmodes/antlr-mode.el: No need to require cc-mode twice. + + * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case. + + * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound. + + 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el (repeat-complex-command--called-interactively-skip): + New function. + (repeat-complex-command): Use it (bug#14136). + + * progmodes/cc-mode.el: Minor cleanup of var declarations. + (c-define-abbrev-table): Add `doc' argument. + (c-mode-abbrev-table, c++-mode-abbrev-table) + (objc-mode-abbrev-table, java-mode-abbrev-table) + (idl-mode-abbrev-table, pike-mode-abbrev-table) + (awk-mode-abbrev-table): Use it. + (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table) + (c++-mode-map, objc-mode-syntax-table, objc-mode-map) + (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table) + (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map): + Move initialization into the declaration; and remove any + autoload cookie. + + * epg.el (epg--process-filter): Use with-current-buffer, save-excursion + and dynamic let binding. + + * vc/smerge-mode.el: Remove redundant :group args. + + * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily + to load-path. + + 2013-08-28 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil + arg DONT-DOWNCASE-LAST of `read-key-sequence'. + (isearch-other-meta-char): Handle an undefined shifted printing + character by downshifting it. (Bug#15200) + + 2013-08-28 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-search): Change regexp error message for + non-regexp searches. (Bug#15166) + + 2013-08-28 Paul Eggert <eggert@cs.ucla.edu> + + * Makefile.in (SHELL): Now @SHELL@, not /bin/sh, + for portability to hosts where /bin/sh has problems. + + 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning. + + 2013-08-27 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-other-meta-char): Don't store kmacro commands + in the keyboard macro. (Bug#15126) + + 2013-08-27 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-quote-char): Comment out converting unibyte + to multibyte, thus syncing with its `quoted-insert' counterpart. + (Bug#15166) + + 2013-08-27 Martin Rudalics <rudalics@gmx.at> + + * window.el (display-buffer-use-some-window): Add missing + argument in call of get-largest-window (Bug#15185). + Reported by Stephen Leake. + + 2013-08-27 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/package.el (package-buffer-info): Fix message typo. + + 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/python.el (python-font-lock-keywords): Don't return nil + from a matcher-function unless there's no more matches (bug#15161). + + 2013-08-26 Michael Albinus <michael.albinus@gmx.de> + + * minibuffer.el: Revert change from 2013-08-20. + + * net/tramp.el (tramp-find-method, tramp-find-user): Mark result + with text property `tramp-default', if appropriate. + (tramp-check-proper-host): New defun. + (tramp-dissect-file-name): Do not check hostname. Revert change + of 2013-03-18. + (tramp-backtrace): Make VEC-OR-PROC optional. + + * net/tramp-adb.el (tramp-adb-maybe-open-connection): + * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): + * net/tramp-sh.el (tramp-maybe-open-connection): + * net/tramp-smb.el (tramp-smb-maybe-open-connection): + Apply `tramp-check-proper-host'. + + 2013-08-26 Tassilo Horn <tsdh@gnu.org> + + * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable' + lambda expression in order to have `describe-variable' display it. + + 2013-08-26 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime): + BUF can be optional. (Bug#15186) + + 2013-08-25 Xue Fuqiao <xfq.free@gmail.com> + + * progmodes/flymake.el (flymake-get-real-file-name-function): + Fix broken customization. (Bug#15184) + + 2013-08-25 Alan Mackenzie <acm@muc.de> + + Improve indentation of bracelists defined by macros (without "="). + + * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro + expansion begins with "{", regard it as bracelist when it doesn't + contain a ";". + + Parse C++ inher-intro when there's a template split over 2 lines. + + * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more + rigorously the search for "class" etc. followed by ":". + + * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for + random languages a regexp which never matches rather than nil. + + Handle "/"s more accurately in test for virtual semicolons (AWK Mode). + + * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re) + (c-awk-regexp-one-line-possibly-open-char-list-re) + (c-awk-one-line-possibly-open-regexp-re) + (c-awk-one-line-non-syn-ws*-re): Remove. + (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re) + (c-awk-space*-/-re, c-awk-space*-regexp-/-re) + (c-awk-space*-unclosed-regexp-/-re): New constants. + (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which + aren't regexp delimiters. + + * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in + handling for a rare situation in AWK Mode involving unterminated + strings/regexps. + + 2013-08-23 Glenn Morris <rgm@gnu.org> + + * files.el (auto-mode-alist): Use sh-mode for .bash_history. + + * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts. + + * files.el (create-file-buffer): If the result would begin with + spaces, prepend a "|" instead of removing them. (Bug#15162) + + 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca> + + * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away + text-properties (bug#15155). + + * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't + exist any more. + (calc-keypad-redraw): Remove unused var `pad'. + (calc-keypad-press): Remove unused var `menu'. + + 2013-08-23 Martin Rudalics <rudalics@gmx.at> + + * window.el (display-buffer-pop-up-frame): + Call pop-up-frame-function with BUFFER current so `make-frame' will + use it as the new frame's buffer (Bug#15133). + + 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca> + + * calendar/timeclock.el: Minor cleanups. + (timeclock-ask-before-exiting, timeclock-use-display-time): + Use `symbol'. + (timeclock-modeline-display): Define as alias before the + actual definition. + (timeclock-mode-line-display): Use define-minor-mode. + (timeclock-day-list-template): Make it a function, add an argument. + (timeclock-day-list-required, timeclock-day-list-length) + (timeclock-day-list-debt, timeclock-day-list-span) + (timeclock-day-list-break): Adjust calls accordingly. + + 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression): + Use read--expression so that completion works again. + + 2013-08-21 Sam Steingold <sds@gnu.org> + + Add rudimentary inferior shell interaction + * progmodes/sh-script.el (sh-shell-process): New buffer-local variable. + (sh-set-shell): Reset it. + (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step): + New commands (bound to C-c C-z, C-c C-d, and C-c C-n). + + 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca> + + * align.el: Use lexical-binding. + (align-region): Simplify accordingly. + + 2013-08-20 Michael Albinus <michael.albinus@gmx.de> + + * minibuffer.el (completion--sifn-requote): Bind `non-essential'. + + * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of + `non-essential' up. + + 2013-08-17 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el: + * net/tramp-adb.el: + * net/tramp-cmds.el: + * net/tramp-ftp.el: + * net/tramp-gvfs.el: + * net/tramp-gw.el: + * net/tramp-sh.el: Don't wrap external variable declarations by + `eval-when-compile'. + + 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs + now that Emacs supports ImageMagick animations. + + 2013-08-16 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-cmds.el (top): Don't declare `buffer-name'. + (tramp-append-tramp-buffers): Rewrite buffer local variables part. + + 2013-08-16 Martin Rudalics <rudalics@gmx.at> + + * window.el (mouse-autoselect-window-select): Do autoselect when + mouse pointer is on margin. + + 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change) + + * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972) + + 2013-08-16 Glenn Morris <rgm@gnu.org> + + * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd): + Handle "Remote Directory" response of some clients. (Bug#15058) + + * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local): + Tweak warning. (Bug#14926) + + * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove. + (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095) + + * image-mode.el (image-mode-map): Add menu items to reverse, + increase, decrease, reset animation speed. + (image--set-speed, image-increase-speed, image-decrease-speed) + (image-reverse-speed, image-reset-speed): New functions. + (image-mode-map): Add bindings for speed commands. + + * image.el (image-animate-get-speed, image-animate-set-speed): + New functions. + (image-animate-timeout): Respect image :speed property. + + 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the + previous line (bug#15101). + (debugger-eval-expression, debugger-record-expression): + Use read--expression (bug#15102). + + 2013-08-15 Michael Albinus <michael.albinus@gmx.de> + + Remove byte compiler warnings, visible when compiling with + `byte-compile-force-lexical-warnings' set to t. + + * net/tramp.el (tramp-debug-message, tramp-message, tramp-error) + (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF. + (tramp-handle-unhandled-file-name-directory) + (tramp-handle-file-notify-add-watch, tramp-action-login) + (tramp-action-succeed, tramp-action-permission-denied) + (tramp-action-terminal, tramp-action-process-alive): Prefix unused + arguments with "_". + + * net/tramp-adb.el (tramp-adb-parse-device-names) + (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file) + (tramp-adb-handle-copy-file): Prefix unused arguments with "_". + (tramp-adb-handle-file-truename): Remove unused arguments. + + * net/tramp-cache.el (tramp-flush-directory-property) + (tramp-flush-connection-property, tramp-list-connections) + (tramp-parse-connection-properties): Prefix unused arguments with "_". + + * net/tramp-compat.el (tramp-compat-make-temp-file): + Rename FILENAME to F. + + * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch) + (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names) + (tramp-zeroconf-parse-workstation-device-names) + (tramp-zeroconf-parse-webdav-device-names) + (tramp-synce-parse-device-names): Prefix unused arguments with "_". + + * net/tramp-gw.el (tramp-gw-gw-proc-sentinel) + (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_". + + * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused + arguments. + (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file) + (tramp-sh-handle-insert-file-contents-literally) + (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments + with "_". + (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt): + Remove unused variables. + + * net/tramp-smb.el (tramp-smb-handle-copy-directory) + (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file) + (tramp-smb-read-file-entry): Prefix unused arguments with "_". + + * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte): + Make them a defconst. + (tramp-uuencode-region): Remove unused variable. + + 2013-08-14 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--prop-setter): New function. + (frameset-prop): Add gv-setter declaration. + (frameset-filter-minibuffer): Deal with the case that the minibuffer + parameter was already set in FILTERED. Doc fix. + (frameset--record-minibuffer-relationships): Allow saving a + minibufferless frame without its corresponding minibuffer frame. + (frameset--reuse-frame): Accept a match from an orphaned minibufferless + frame, if the frame id matches. + (frameset--minibufferless-last-p): Sort non-orphaned minibufferless + frames before orphaned ones. + (frameset-restore): Warn about orphaned windows, instead of error out. + + 2013-08-14 Martin Rudalics <rudalics@gmx.at> + + * window.el (window-make-atom): Don't overwrite parameter + already present. + (display-buffer-in-atom-window): Handle special case where we + split an already atomic window. + (window--major-non-side-window, display-buffer-in-side-window) + (window--side-check): Ignore minibuffer window when walking + window tree. + (window-deletable-p): Return 'frame only if no other frame uses + our minibuffer window. + (record-window-buffer): Run buffer-list-update-hook. + (split-window): Make sure window--check-frame won't destroy an + existing atomic window in case the new window gets nested + inside. + (display-buffer-at-bottom): Ignore minibuffer window when + walking window tree. Don't split a side window. + (pop-to-buffer): Don't set-buffer here, the select-window call + should do that. + (mouse-autoselect-window-select): Autoselect only if we are in the + text portion of the window. + + 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-parse-image-data): New function to grab both the + data itself and the Content-Type. + (shr-put-image): Use it. + + * net/eww.el (eww-display-image): Ditto. + + * image.el (image-content-type-suffixes): New variable. + + 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el (python-imenu--build-tree) + (python-imenu--put-parent): Simplify and Fix (GH bug 146). + + 2013-08-13 Xue Fuqiao <xfq.free@gmail.com> + + * simple.el (backward-word): Mention the optional argument. + + 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca> + + * frameset.el (frameset--make): Rename constructor from make-frameset. + (frameset-p, frameset-valid-p): Don't autoload. + (frameset-valid-p): Use normal accessors. + + 2013-08-13 Glenn Morris <rgm@gnu.org> + + * progmodes/compile.el (compile-command): Tweak example in doc. + * obsolete/scribe.el (scribe-mode): + * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053) + + * mail/feedmail.el (feedmail-confirm-outgoing) + (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types. + + * cus-start.el (truncate-partial-width-windows): Fix type. + + * emulation/viper-init.el (viper-search-scroll-threshold): Fix type. + + * net/shr.el (shr-table-horizontal-line): Fix custom type. + + 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/timer.el (timer--time-setter): New function. + (timer--time): Use it as gv-setter. + + * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when + setter is not a symbol. + + 2013-08-12 Grégoire Jadi <daimrod@gmail.com> + + * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer + if sending fails. This makes debugging easier. + + 2013-08-12 Juanma Barranquero <lekktu@gmail.com> + + * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in + 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite). + https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html + + 2013-08-12 Eli Zaretskii <eliz@gnu.org> + + * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib. + + 2013-08-12 Glenn Morris <rgm@gnu.org> + + * format.el (format-annotate-function): + Handle read-only text properties in the source. (Bug#14887) + + 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-display-html): Ignore coding system errors. + One web site uses "utf-8lias" as the coding system. + + 2013-08-11 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil. + + 2013-08-10 Juanma Barranquero <lekktu@gmail.com> + + * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p. + (tutorial--detailed-help): Remove unused local variables. + (tutorial--save-tutorial-to): Use ignore-errors. + (help-with-tutorial): Use looking-at-p. + + * view.el (view-buffer-other-window, view-buffer-other-frame): + Mark unused arguments. + + * woman.el (woman-parse-colon-path, woman-parse-colon-path) + (woman-select-symbol-fonts, woman, woman-find-file) + (woman-insert-file-contents, woman-non-underline-faces): + Use string-match-p. + (woman1-unquote): Move declaration. + + * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p. + (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused + argument. Remove unused local variable. + (xml-parse-elem-type): Use string-match-p. + (xml-substitute-numeric-entities): Use ignore-errors. + + * calculator.el (calculator): Mark unused argument. + (calculator-paste, calculator-quit, calculator-integer-p): + Use ignore-errors. + (calculator-string-to-number, calculator-decimal, calculator-exp) + (calculator-op-or-exp): Use string-match-p. + + * dired.el (dired-buffer-more-recently-used-p): Declare. + (dired-insert-set-properties, dired-insert-old-subdirs): + Use ignore-errors. + + * dired-aux.el (dired-compress): Use ignore-errors. + (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions) + (dired-do-async-shell-command, dired-do-shell-command) + (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir) + (dired-insert-subdir-validate): Use string-match-p. + (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p. + (dired-add-entry): Use string-match-p, looking-at-p. + (dired-insert-subdir-newpos): Remove unused local variable. + + * filenotify.el (file-notify-callback): Remove unused local variable. + + * filesets.el (filesets-error): Mark unused argument. + (filesets-which-command-p, filesets-filter-dir-names) + (filesets-directory-files, filesets-get-external-viewer) + (filesets-ingroup-get-data): Use string-match-p. + + * find-file.el (ff-other-file-name, ff-other-file-name) + (ff-find-the-other-file, ff-cc-hh-converter): + Remove unused local variables. + (ff-get-file-name): Use string-match-p. + (ff-all-dirs-under): Use ignore-errors. + + * follow.el (follow-comint-scroll-to-bottom): Mark unused argument. + (follow-select-if-visible): Remove unused local variable. + + * forms.el (read-file-filter): Move declaration. + (forms--make-format, forms--make-parser, forms-insert-record): + Quote function with #'. + (forms--update): Use string-match-p. Quote function with #'. + + * help-mode.el (help-dir-local-var-def): Mark unused argument. + (help-make-xrefs): Use looking-at-p. + (help-xref-on-pp): Use looking-at-p, ignore-errors. + + * ibuffer.el (ibuffer-ext-visible-p): Declare. + (ibuffer-confirm-operation-on): Use string-match-p. + + * msb.el (msb-item-handler, msb-dired-item-handler): + Mark unused arguments. + + * ses.el (ses-decode-cell-symbol) + (ses-kill-override): Remove unused local variable. + (ses-create-cell-variable, ses-relocate-formula): Use string-match-p. + (ses-load): Use ignore-errors, looking-at-p. + (ses-jump-safe): Use ignore-errors. + (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments. + + * tabify.el (untabify, tabify): Mark unused arguments. + + * thingatpt.el (thing-at-point--bounds-of-well-formed-url): + Mark unused argument. + (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point) + (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors. + + * emacs-lisp/timer.el (timer--time): Define setter with + gv-define-setter to avoid deprecation warning. + + * completion.el: Remove stuff unused since revno:3176 (1993-05-27). + (*record-cmpl-statistics-p*): Remove (was commented out). + (cmpl-statistics-block): Remove (body was commented out). + All callers changed. + (add-completions-from-buffer, load-completions-from-file): + Remove unused variables. + + 2013-08-09 Juanma Barranquero <lekktu@gmail.com> + + * filecache.el (file-cache-delete-file-list): + Print message only when told so. + (file-cache-files-matching): Use #' in mapconcat argument. + + * ffap.el (ffap-url-at-point): Fix reference to variable + thing-at-point-default-mail-uri-scheme. + + 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (define-error): New function. + * progmodes/ada-xref.el (ada-error-file-not-found): Rename from + error-file-not-found and define with define-error. + * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el + and define with define-error. + * userlock.el (file-locked, file-supersession): + * simple.el (mark-inactive): + * progmodes/js.el (js-moz-bad-rpc, js-js-error): + * progmodes/ada-mode.el (ada-mode-errors): + * play/life.el (life-extinct): + * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error): + * nxml/xmltok.el (xmltok-markup-declaration-parse-error): + * nxml/rng-util.el (rng-error): + * nxml/rng-uri.el (rng-uri-error): + * nxml/rng-match.el (rng-compile-error): + * nxml/rng-cmpct.el (rng-c-incorrect-schema): + * nxml/nxml-util.el (nxml-error, nxml-file-parse-error): + * nxml/nxml-rap.el (nxml-scan-error): + * nxml/nxml-outln.el (nxml-outline-error): + * net/soap-client.el (soap-error): + * net/gnutls.el (gnutls-error): + * net/ange-ftp.el (ftp-error): + * mpc.el (mpc-proc-error): + * json.el (json-error, json-readtable-error, json-unknown-keyword) + (json-number-format, json-string-escape, json-string-format) + (json-key-format, json-object-format): + * jka-compr.el (compression-error): + * international/quail.el (quail-error): + * international/kkc.el (kkc-error): + * emacs-lisp/ert.el (ert-test-failed): + * calc/calc.el (calc-error, inexact-result, math-overflow) + (math-underflow): + * bookmark.el (bookmark-error-no-filename): + * epg.el (epg-error): Define with define-error. + + * time.el (display-time-event-handler) + (display-time-next-load-average): Don't call sit-for since it seems + unnecessary (bug#15045). + + * emacs-lisp/checkdoc.el: Remove redundant :group keywords. + Use #' instead of ' to quote functions. + (checkdoc-output-mode): Use setq-local. + (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words) + (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp) + (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010). + (checkdoc-ispell, checkdoc-ispell-current-buffer) + (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive) + (checkdoc-ispell-message-text, checkdoc-ispell-start) + (checkdoc-ispell-continue, checkdoc-ispell-comments) + (checkdoc-ispell-defun): Remove unused arg `take-notes'. + + * ido.el (ido-completion-help): Fix up compiler warning. + + 2013-08-09 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset-p): Add autoload cookie. + (frameset--jump-to-register): New function, based on code moved from + register.el. + (frameset-to-register): Move from register.el. Adapt to `registerv'. + + * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p) + (frameset-restore, frameset-save, frameset-session-filter-alist): + Remove declarations. + (register-alist): Doc fix. + (frameset-to-register): Move to frameset.el. + (jump-to-register, describe-register-1): Remove frameset-specific code. + + 2013-08-08 Juanma Barranquero <lekktu@gmail.com> + + * allout-widgets.el (allout-widgets-pre-command-business) + (allout-widgets-post-command-business) + (allout-widgets-after-change-handler) + (allout-decorate-item-and-context, allout-set-boundary-marker) + (allout-body-modification-handler) + (allout-graphics-modification-handler): Mark ignored arguments. + (allout-widgets-post-command-business) + (allout-widgets-exposure-change-processor) + (allout-widgets-exposure-undo-processor) + (allout-decorate-item-and-context, allout-redecorate-visible-subtree) + (allout-parse-item-at-point, allout-decorate-item-guides) + (allout-decorate-item-cue, allout-item-span): Remove unused variables. + * allout.el (epa-passphrase-callback-function): Declare. + (allout-overlay-insert-in-front-handler) + (allout-overlay-interior-modification-handler) + (allout-isearch-end-handler, allout-chart-siblings) + (allout-up-current-level, allout-end-of-level, allout-reindent-body) + (allout-yank-processing, allout-process-exposed) + (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky) + (allout-latex-verbatim-quote-curr-line): Remove unused variables. + * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display) + (lisp-indent-defform): Mark ignored arguments. + (lisp-indent-line): Mark ignored arguments. Remove unused variables. + (calculate-lisp-indent): Remove unused variables. + * international/characters.el (indian-2-column, arabic-2-column) + (tibetan): Mark ignored arguments. + (use-cjk-char-width-table): Mark ignored arguments. + Remove unused variables. + * international/fontset.el (build-default-fontset-data) + (x-compose-font-name, create-fontset-from-fontset-spec): + Mark ignored arguments. + (fontset-plain-name): Remove unused variables. + * international/mule.el (charset-id, charset-bytes, generic-char-p) + (keyboard-coding-system): Mark ignored arguments. + (find-auto-coding): Remove unused variables. Use `ignore-errors'. + * help.el (resize-temp-buffer-window): + * window.el (display-buffer-in-major-side-window) + (display-buffer-in-side-window, display-buffer-in-previous-window): + Remove unused variables. + * isearch.el (isearch-forward-symbol): + * version.el (emacs-bzr-version-bzr): + * international/mule-cmds.el (current-language-environment): + * term/common-win.el (x-handle-iconic, x-handle-geometry) + (x-handle-display): + * term/pc-win.el (x-list-fonts, x-display-planes) + (x-display-color-cells, x-server-max-request-size, x-server-vendor) + (x-server-version, x-display-screens, x-display-mm-height) + (x-display-mm-width, x-display-backing-store, x-display-visual-class) + (x-selection-owner-p, x-own-selection-internal) + (x-disown-selection-internal, x-get-selection-internal) + (msdos-initialize-window-system): + * term/tty-colors.el (tty-color-alist, tty-color-clear): + * term/x-win.el (x-handle-no-bitmap-icon): + * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p) + (vc-default-find-file-hook, vc-default-extra-menu): + Mark ignored arguments. + + 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the + break-condition in the context of the debugged code (bug#12685). + + 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com> + + * comint.el: + Do not use an overlay to highlight the last prompt. (Bug#14744) + (comint-mode): Make comint-last-prompt buffer local. + (comint-last-prompt): New variable. + (comint-last-prompt-overlay): Remove. Superseded by + comint-last-prompt. + (comint-snapshot-last-prompt, comint-output-filter): + Use comint-last-prompt. + + 2013-08-08 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset-valid-p): Check vector length. Doc fix. + (frameset-save): Check validity of the resulting frameset. + + 2013-08-08 Xue Fuqiao <xfq.free@gmail.com> + + * ido.el (ido-record-command): Add doc string. + + 2013-08-08 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset): Do not disable creation of the default + frameset-p predicate. Doc fix. + (frameset-valid-p): New function, copied from the old predicate-p. + Add additional checks. + (frameset-restore): Check with frameset-valid-p. + (frameset-p, frameset-version, frameset-timestamp, frameset-app) + (frameset-name, frameset-description, frameset-properties) + (frameset-states): Add docstring. + (frameset-session-filter-alist, frameset-persistent-filter-alist) + (frameset-filter-alist): Doc fixes. + + 2013-08-08 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset-p, frameset-prop): Doc fixes. + + 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function, + extracted from byte-compile-callargs-warn and byte-compile-normal-call. + (byte-compile-callargs-warn, byte-compile-function-form): Use it. + (byte-compile-normal-call): Remove obsolescence check. + + 2013-08-08 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset-restore): Doc fix. + + * register.el (frameset-frame-id, frameset-frame-with-id) + (frameset-p, frameset-restore, frameset-save): Declare. + (register-alist): Document framesets. + (frameset-session-filter-alist): Declare. + (frameset-to-register): New function. + (jump-to-register): Implement jumping to framesets. Doc fix. + (describe-register-1): Describe framesets. + + * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register. + + 2013-08-07 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop-save-frameset): Use new frameset-save args. + Use lexical-binding. + + * frameset.el (frameset): Use type vector, not list (incompatible + change). Do not declare a new constructor, use the default one. + Upgrade suggested properties `app', `name' and `desc' to slots `app', + `name' and `description', respectively, and add read-only slot + `timestamp'. Doc fixes. + (frameset-copy, frameset-persistent-filter-alist) + (frameset-filter-alist, frameset-switch-to-gui-p) + (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI) + (frameset-filter-sanitize-color, frameset-filter-minibuffer) + (frameset-filter-iconified, frameset-keep-original-display-p): + Doc fixes. + (frameset-filter-shelve-param, frameset-filter-unshelve-param): + Rename from frameset-filter-(save|restore)-param. All callers changed. + Doc fix. + (frameset-p): Adapt to change to vector and be more thorough. + Change arg name to OBJECT. Doc fix. + (frameset-prop): Rename arg PROP to PROPERTY. Doc fix. + (frameset-session-filter-alist): Rename from frameset-live-filter-alist. + All callers changed. + (frameset-frame-with-id): Rename from frameset-locate-frame-id. + All callers changed. + (frameset--record-minibuffer-relationships): Rename from + frameset--process-minibuffer-frames. All callers changed. + (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION. + Use new default constructor (again). Doc fix. + (frameset--find-frame-if): Rename from `frameset--find-frame'. + All callers changed. + (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS. + (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS. + Doc fix. + (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to + PARAMETERS and WINDOW-STATE, respectively. + (frameset-restore): Add new keyword argument PREDICATE. + Reset frameset--target-display to nil. Doc fix. + + 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/bat-mode.el (bat--syntax-propertize): New var. + (bat-mode): Use it. + (bat-mode-syntax-table): Mark \n as end-of-comment. + (bat-font-lock-keywords): Remove comment rule. + + * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix. + (dos-mode-help): Remove. Use describe-mode (C-h m) instead. + + * emacs-lisp/bytecomp.el: Check existence of f in #'f. + (byte-compile-callargs-warn): Use `push'. + (byte-compile-arglist-warn): Ignore higher-order "calls". + (byte-compile-file-form-autoload): Use `pcase'. + (byte-compile-function-form): If quoting a symbol, check that it exists. + + 2013-08-07 Eli Zaretskii <eliz@gnu.org> + + * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX + and add a few popular commands found in batch files. + (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args) + (dos-mode): Doc fixes. + + 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode. + (dos-mode): Use setq-local. Add space after "rem". + (dos-mode-syntax-table): Don't use "w" for symbol chars. + (dos-font-lock-keywords): Try to adjust font-lock rules accordingly. + + 2013-08-07 Arni Magnusson <arnima@hafro.is> + + * progmodes/dos.el: New file. + * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to + dos-mode. + + 2013-08-06 Glenn Morris <rgm@gnu.org> + + * calendar/calendar.el: Add new faces, and day-header-array. + (calendar-weekday-header, calendar-weekend-header) + (calendar-month-header): New faces. + (calendar-day-header-construct): New function. + (calendar-day-header-width): Also :set calendar-day-header-array. + (calendar-american-month-header, calendar-european-month-header) + (calendar-iso-month-header): Use calendar- faces. + (calendar-generate-month): + Use calendar-day-header-array for day headers; apply faces to them. + (calendar-mode): Check calendar-font-lock-keywords non-nil. + (calendar-abbrev-construct): Add optional maxlen argument. + (calendar-day-name-array): Doc fix. + (calendar-day-name-array, calendar-abbrev-length) + (calendar-day-abbrev-array): + Also :set calendar-day-header-array, and maybe redraw. + (calendar-day-header-array): New option. (Bug#15007) + (calendar-font-lock-keywords): Set to nil and make obsolete. + (calendar-day-name): Add option to use header array. + + 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-render-td): Remove debugging. + (shr-render-td): Make width computation consistent by defaulting + all zero-width columns to 10 characters. This may not be optimal, + but it's at least consistent. + (shr-make-table-1): Redo last change to fix the real problem in + colspan handling. + + 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru> + + * files.el (cache-long-line-scans): + Make obsolete alias to `cache-long-scans'. + + 2013-08-06 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset, frameset-filter-alist) + (frameset-filter-params, frameset-save, frameset--reuse-frame) + (frameset--minibufferless-last-p, frameset-restore): Doc fixes. + (frameset-compute-pos): Rename from frameset--compute-pos, + and add docstring. + (frameset-move-onscreen): Use frameset-compute-pos. + Most changes suggested by Drew Adams <drew.adams@oracle.com>. + + * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter): + Fix typos in docstrings. + + 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.el (get-other-frame): Tiny cleanup. + + 2013-08-06 Juanma Barranquero <lekktu@gmail.com> + + * vc/vc.el (vc-default-ignore-completion-table): + Silence byte-compiler warning. + + * frameset.el (frameset-p): Don't check non-nullness of the `properties' + slot, which can indeed be nil. + (frameset-live-filter-alist, frameset-persistent-filter-alist): + Move entry for `left' from persistent to live filter alist. + (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save): + Doc fixes. + (frameset-filter-params): When restoring a frame, copy items added to + `filtered', to avoid unwittingly modifying the original parameters. + (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix. + (frameset--restore-frame): Fix reference to frameset-move-onscreen. + + * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com + to use looking-at-p instead of looking-at. (Bug#15028) + + 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca> + + Revert introduction of isearch-filter-predicates (bug#14714). + Rely on add-function instead. + * isearch.el (isearch-filter-predicates): Rename it back to + isearch-filter-predicate. + (isearch-message-prefix): Use advice-function-mapc and advice + properties to get the isearch-message-prefix. + (isearch-search, isearch-lazy-highlight-search): Revert to funcall + instead of run-hook-with-args-until-failure. + (isearch-filter-visible): Not obsolete any more. + * loadup.el: Preload nadvice. + * replace.el (perform-replace): Revert to funcall + instead of run-hook-with-args-until-failure. + * wdired.el (wdired-change-to-wdired-mode): Use add-function. + * dired-aux.el (dired-isearch-filenames-mode): Rename from + dired-isearch-filenames-toggle; make it into a proper minor mode. + Use add/remove-function. + (dired-isearch-filenames-setup, dired-isearch-filenames-end): + Call the minor-mode rather than add/remove-hook. + (dired-isearch-filter-filenames): + Remove isearch-message-prefix property. + * info.el (Info--search-loop): New function, extracted from Info-search. + Funcall isearch-filter-predicate instead of + run-hook-with-args-until-failure isearch-filter-predicates. + (Info-search): Use it. + (Info-mode): Use isearch-filter-predicate instead of + isearch-filter-predicates. + + 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru> + + Do not call to `selected-window' where it is assumed by default. + Affected functions are `window-minibuffer-p', `window-dedicated-p', + `window-hscroll', `window-width', `window-height', `window-buffer', + `window-frame', `window-start', `window-point', `next-window' + and `window-display-table'. + * abbrev.el (abbrev--default-expand): + * bs.el (bs--show-with-configuration): + * buff-menu.el (Buffer-menu-mouse-select): + * calc/calc.el (calc): + * calendar/calendar.el (calendar-generate-window): + * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries) + (diary-make-entry): + * comint.el (send-invisible, comint-dynamic-complete-filename) + (comint-dynamic-simple-complete, comint-dynamic-list-completions): + * completion.el (complete): + * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list): + * disp-table.el (describe-current-display-table): + * doc-view.el (doc-view-insert-image): + * ebuff-menu.el (Electric-buffer-menu-mouse-select): + * ehelp.el (with-electric-help): + * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): + * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer): + * emacs-lisp/helper.el (Helper-help-scroller): + * emulation/cua-base.el (cua--post-command-handler-1): + * eshell/esh-mode.el (eshell-output-filter): + * ffap.el (ffap-gnus-wrapper): + * help-macro.el (make-help-screen): + * hilit-chg.el (highlight-compare-buffers): + * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible): + * hl-line.el (global-hl-line-highlight): + * icomplete.el (icomplete-simple-completing-p): + * isearch.el (isearch-done): + * jit-lock.el (jit-lock-stealth-fontify): + * mail/rmailsum.el (rmail-summary-scroll-msg-up): + * mouse-drag.el (mouse-drag-should-do-col-scrolling): + * mpc.el (mpc-tagbrowser, mpc): + * net/rcirc.el (rcirc-any-buffer): + * play/gomoku.el (gomoku-max-width, gomoku-max-height): + * play/landmark.el (landmark-max-width, landmark-max-height): + * play/zone.el (zone): + * progmodes/compile.el (compilation-goto-locus): + * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern): + * progmodes/etags.el (find-tag-other-window): + * progmodes/fortran.el (fortran-column-ruler): + * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe): + * progmodes/verilog-mode.el (verilog-point-text): + * reposition.el (reposition-window): + * rot13.el (toggle-rot13-mode): + * server.el (server-switch-buffer): + * shell.el (shell-dynamic-complete-command) + (shell-dynamic-complete-environment-variable): + * simple.el (insert-buffer, set-selective-display) + (delete-completion-window): + * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly) + (speedbar-recenter): + * startup.el (fancy-splash-head): + * textmodes/ispell.el (ispell-command-loop): + * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region): + * tutorial.el (help-with-tutorial): + * vc/add-log.el (add-change-log-entry): + * vc/compare-w.el (compare-windows): + * vc/ediff-help.el (ediff-indent-help-message): + * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region): + * vc/ediff-wind.el (ediff-skip-unsuitable-frames) + (ediff-setup-control-frame): + * vc/emerge.el (emerge-position-region): + * vc/pcvs-util.el (cvs-bury-buffer): + * window.el (walk-windows, mouse-autoselect-window-select): + * winner.el (winner-set-conf, winner-undo): Related users changed. + + 2013-08-05 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset--set-id): Doc fix. + (frameset-frame-id, frameset-frame-id-equal-p) + (frameset-locate-frame-id): New functions. + (frameset--process-minibuffer-frames, frameset--reuse-frame) + (frameset-restore): Use them. + + 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru> + + Do not call to `selected-frame' where it is assumed by default. + Affected functions are `raise-frame', `redraw-frame', + `frame-first-window', `frame-terminal' and `delete-frame'. + * calendar/appt.el (appt-disp-window): + * epg.el (epg-wait-for-completion): + * follow.el (follow-delete-other-windows-and-split) + (follow-avoid-tail-recenter): + * international/mule.el (set-terminal-coding-system): + * mail/rmail.el (rmail-mail-return): + * net/newst-plainview.el (newsticker--buffer-set-uptodate): + * progmodes/f90.el (f90-add-imenu-menu): + * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle): + * server.el (server-switch-buffer): + * simple.el (delete-completion-window): + * talk.el (talk): + * term/xterm.el (terminal-init-xterm-modify-other-keys) + (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys): + * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output): + * vc/ediff.el (ediff-documentation): Related users changed. + * frame.el (selected-terminal): Remove the leftover. + + 2013-08-05 Glenn Morris <rgm@gnu.org> + + * calendar/calendar.el (calendar-generate-month): + Fix for calendar-column-width != 1 + calendar-day-digit-width. + (calendar-generate-month, calendar-font-lock-keywords): + Fix for calendar-day-header-width > length of any day name. + + 2013-08-05 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop-clear): Use new name of sort predicate. + + * frameset.el (frameset): Add docstring. Move :version property to its + own `version' slot. + (frameset-copy): Rename from copy-frameset. + (frameset-p): Check more thoroughly. + (frameset-prop): Do not check for :version, which is no longer a prop. + (frameset-live-filter-alist, frameset-persistent-filter-alist): + Use new :never value instead of t. + (frameset-filter-alist): Expand and clarify docstring. + (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color) + (frameset-filter-minibuffer, frameset-filter-save-param) + (frameset-filter-restore-param, frameset-filter-iconified): + Add pointer to docstring of frameset-filter-alist. + (frameset-filter-params): Rename filter values to be more meaningful: + :never instead of t, and reverse the meanings of :save and :restore. + (frameset--process-minibuffer-frames): Clarify error message. + (frameset-save): Avoid unnecessary and confusing call to framep. + Use new BOA constructor for framesets. + (frameset--reuse-list): Doc fix. + (frameset--restore-frame): Rename from frameset--get-frame. Doc fix. + (frameset--minibufferless-last-p): Rename from frameset--sort-states. + (frameset-minibufferless-first-p): Doc fix. + Rename from frameset-sort-frames-for-deletion. + (frameset-restore): Doc fixes. Use new function names. + Most changes suggested by Drew Adams <drew.adams@oracle.com>. + + 2013-08-04 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop-restore-forces-onscreen) + (desktop-restore-reuses-frames): Document :keyword constant values. + (desktop-filter-parameters-alist): Remove, now identical to + frameset-filter-alist. + (desktop--filter-tty*): Remove, moved to frameset.el. + (desktop-save-frameset, desktop-restore-frameset): + Do not pass :filters argument. + + * frameset.el (frameset-live-filter-alist) + (frameset-persistent-filter-alist): New variables. + (frameset-filter-alist): Use them. Add autoload cookie. + (frameset-filter-tty-to-GUI): Move from desktop.el and rename. + (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to + `frameset--id' (it's supposed to be internal to frameset.el). + (frameset--process-minibuffer-frames): Ditto. Doc fix. + (frameset--initial-params): New function. + (frameset--get-frame): Use it. Doc fix. + (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN. + Accept :all, not 'all. + (frameset-restore): Add new predicate values for FORCE-ONSCREEN and + FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision + with fbound symbols. Fix frame id matching, and remove matching ids if + the frame being restored is deleted. Obey :delete. + + 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (macrop): New function. + (text-clone--maintaining): New var. + (text-clone--maintain): Rename from text-clone-maintain. Use it + instead of inhibit-modification-hooks. + + * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use + a proxy, so as handle autoloads and redefinitions of the target. + (advice--defalias-fset, advice-remove): Use advice--symbol-function. + + * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates): + Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'. + (pcase--mutually-exclusive-p): New function. + (pcase--split-consp): Use it. + (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat + mutually exclusive with the current predicate. + + * emacs-lisp/edebug.el (edebug-lookup-function): Remove function. + (edebug-macrop): Remove. Use `macrop' instead. + * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead. + (ad-macro-p): + * eshell/esh-cmd.el (eshell-macrop): + * apropos.el (apropos-macrop): Remove. Use `macrop' instead. + + 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc. + (advice-mapc): New function, using it. + (advice-function-member-p): New function. + (advice--normalize): Store the cdr in advice--saved-rewrite since + that's the part that will be changed. + (advice--symbol-function): New function. + (advice-remove): Handle removal before the function is defined. + Adjust to new advice--saved-rewrite. + (advice-member-p): Use advice-function-member-p and + advice--symbol-function. + + 2013-08-04 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset-p, frameset-save): Fix autoload cookies. + (frameset-filter-minibuffer): Doc fix. + (frameset-restore): Fix autoload cookie. Fix typo in docstring. + (frameset--set-id, frameset--process-minibuffer-frames) + (frameset-restore): Rename parameter `frameset-id' to `frame-id'. + (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame. + + * desktop.el (desktop-clear): Only delete frames when called + interactively and desktop-restore-frames is non-nil. Doc fix. + (desktop-read): Set desktop-saved-frameset to nil. + + 2013-08-04 Xue Fuqiao <xfq.free@gmail.com> + + * vc/vc.el (vc-ignore): Rewrite. + (vc-default-ignore-completion-table, vc--read-lines) + (vc--add-line, vc--remove-regexp): New functions. + + * vc/vc-svn.el (vc-svn-ignore): Doc fix. + (vc-svn-ignore-completion-table): New function. + + * vc/vc-hg.el (vc-hg-ignore): Rewrite. + (vc-hg-ignore-completion-table) + (vc-hg-find-ignore-file): New functions. + + * vc/vc-git.el (vc-git-ignore): Rewrite. + (vc-git-ignore-completion-table) + (vc-git-find-ignore-file): New functions. + + * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore. + + * vc/vc-bzr.el (vc-bzr-ignore): Rewrite. + (vc-bzr-ignore-completion-table) + (vc-bzr-find-ignore-file): New functions. + + 2013-08-03 Juanma Barranquero <lekktu@gmail.com> + + * frameset.el (frameset-prop): New function and setter. + (frameset-save): Do not modify frame list passed by the caller. + + 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys. + + 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/easy-mmode.el (define-globalized-minor-mode) + (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...). + + * custom.el (custom-initialize-default, custom-initialize-set) + (custom-initialize-reset, custom-initialize-changed): Affect the + toplevel-default-value (bug#6275, bug#14586). + * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround + for bug#6275. + + 2013-08-02 Juanma Barranquero <lekktu@gmail.com> + + * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): + Add cl-def* expressions. + + * frameset.el (frameset-filter-params): Fix order of arguments. + + 2013-08-02 Juanma Barranquero <lekktu@gmail.com> + + Move code related to saving frames to frameset.el. + * desktop.el: Require frameset. + (desktop-restore-frames): Doc fix. + (desktop-restore-reuses-frames): Rename from + desktop-restoring-reuses-frames. + (desktop-saved-frameset): Rename from desktop-saved-frame-states. + (desktop-clear): Clear frames too. + (desktop-filter-parameters-alist): Set from frameset-filter-alist. + (desktop--filter-tty*, desktop-save, desktop-read): + Use frameset functions. + (desktop-before-saving-frames-functions, desktop--filter-*-color) + (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm) + (desktop--filter-save-desktop-parm, desktop--filter-iconified-position) + (desktop-restore-in-original-display-p, desktop--filter-frame-parms) + (desktop--process-minibuffer-frames, desktop-save-frames) + (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen) + (desktop--find-frame, desktop--select-frame, desktop--make-frame) + (desktop--sort-states, desktop-restoring-frames-p) + (desktop-restore-frames): Remove. Most code moved to frameset.el. + (desktop-restoring-frameset-p, desktop-restore-frameset) + (desktop--check-dont-save, desktop-save-frameset): New functions. + (desktop--app-id): New constant. + (desktop-first-buffer, desktop-buffer-ok-count) + (desktop-buffer-fail-count): Move before first use. + * frameset.el: New file. + + 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca> + + * files.el: Use lexical-binding. + (dir-locals-read-from-file): Remove unused `err' variable. + (hack-dir-local-variables--warned-coding): New var. + (hack-dir-local-variables): Use it to avoid repeated warnings. + (make-backup-file-name--default-function): New function. + (make-backup-file-name-function): Use it as default. + (buffer-stale--default-function): New function. + (buffer-stale-function): Use it as default. + (revert-buffer-insert-file-contents--default-function): New function. + (revert-buffer-insert-file-contents-function): Use it as default. + (insert-directory): Avoid add-to-list. + + * autorevert.el (auto-revert-handler): Simplify. + Use buffer-stale--default-function. + + 2013-08-01 Tassilo Horn <tsdh@gnu.org> + + * speedbar.el (speedbar-query-confirmation-method): Doc fix. + + * whitespace.el (whitespace-ensure-local-variables): New function. + (whitespace-cleanup-region): Call it. + (whitespace-turn-on): Call it. + + 2013-08-01 Michael Albinus <michael.albinus@gmx.de> + + Complete file name handlers. + + * net/tramp.el (tramp-handle-set-visited-file-modtime) + (tramp-handle-verify-visited-file-modtime) + (tramp-handle-file-notify-rm-watch): New functions. + (tramp-call-process): Do not bind `default-directory'. + + * net/tramp-adb.el (tramp-adb-file-name-handler-alist): + Order alphabetically. + <access-file, add-name-to-file, dired-call-process>: + <dired-compress-file, file-acl, file-notify-rm-watch>: + <file-ownership-preserved-p, file-selinux-context>: + <make-directory-internal, make-symbolic-link, set-file-acl>: + <set-file-selinux-context, set-visited-file-modtime>: + <verify-visited-file-modtime>: Add handler. + (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'. + + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist) + <file-notify-add-watch, file-notify-rm-watch>: + <set-file-times, set-visited-file-modtime>: + <verify-visited-file-modtime>: Add handler. + (with-tramp-gvfs-error-message) + (tramp-gvfs-handle-set-visited-file-modtime) + (tramp-gvfs-fuse-file-name): Remove. + (tramp-gvfs-handle-file-notify-add-watch) + (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns. + (tramp-gvfs-handle-write-region): Fix error in moving tmpfile. + + * net/tramp-sh.el (tramp-sh-file-name-handler-alist): + Order alphabetically. + <file-notify-rm-watch>: Use default Tramp handler. + <executable-find>: Remove private handler. + (tramp-do-copy-or-rename-file-out-of-band): Do not bind + `default-directory'. + (tramp-sh-handle-executable-find) + (tramp-sh-handle-file-notify-rm-watch): Remove functions. + (tramp-sh-file-gvfs-monitor-dir-process-filter) + (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path): + Do not use `format' in `tramp-message'. + + * net/tramp-smb.el (tramp-smb-file-name-handler-alist) + <file-notify-rm-watch, set-visited-file-modtime>: + <verify-visited-file-modtime>: Add handler. + (tramp-smb-call-winexe): Do not bind `default-directory'. + + 2013-08-01 Xue Fuqiao <xfq.free@gmail.com> + + * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore. + + 2013-07-31 Dmitry Gutov <dgutov@yandex.ru> + + * vc/log-view.el (log-view-diff): Extract `log-view-diff-common', + use it. + (log-view-diff-changeset): Same. + (log-view-diff-common): Call backend command `previous-revision' + to find out the previous revision, in both cases. Swap the + variables `to' and `fr', so that `fr' usually refers to the + earlier revision (Bug#14989). + + 2013-07-31 Kan-Ru Chen <kanru@kanru.info> + + * ibuf-ext.el (ibuffer-filter-by-filename): + Make it work with dired buffers too. + + 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru> + + * emacs-lisp/re-builder.el (reb-color-display-p): + * files.el (save-buffers-kill-terminal): + * net/browse-url.el (browse-url): + * server.el (server-save-buffers-kill-terminal): + * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert): + Prefer nil to selected-frame for the first arg of frame-parameter. + + 2013-07-31 Xue Fuqiao <xfq.free@gmail.com> + + * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore. + + 2013-07-30 Stephen Berman <stephen.berman@gmx.net> + + * minibuffer.el (completion--twq-all): Try and preserve each + completion's case choice (bug#14907). + + 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/network-stream.el (open-network-stream): Mention the new + :nogreeting parameter. + (network-stream-open-starttls): Use the :nogreeting parameter + (bug#14938). + + * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'. + + * net/eww.el (eww-setup-buffer): Switching to the buffer seems + more natural than popping. + + * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815). + (shr-urlify): Highlight under mouse. + + 2013-07-30 Xue Fuqiao <xfq.free@gmail.com> + + * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore. + + * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore. + + * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*' + buffer for output. + + * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume + point-min==1. Fix search string. Fix parentheses missing. + + * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not + assume point-min==1. Fix search string. Fix parentheses missing. + + * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'. + + * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*' + buffer for output. + + 2013-07-29 Eli Zaretskii <eliz@gnu.org> + + * frame.el (frame-notice-user-settings): Avoid inflooping when the + initial frame is minibuffer-less. (Bug#14841) + + 2013-07-29 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer + option. + + * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band) + (tramp-maybe-open-connection): Use it. + + 2013-07-28 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop--make-frame): Include `minibuffer' in the + minimal set of parameters passed when creating a frame, because + the minibuffer status of a frame cannot be changed later. + + 2013-07-28 Stephen Berman <stephen.berman@gmx.net> + + * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of + replace-regexp-in-string and inadvertent omissions in previous change. + (todo-filter-items): Ensure only file names are comma-separated in + name of filtered items buffer. + + 2013-07-28 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el: Optionally force offscreen frames back onscreen. + (desktop-restoring-reuses-frames): New option. + (desktop--compute-pos, desktop--move-onscreen): New functions. + (desktop--make-frame): Use desktop--move-onscreen. + + 2013-07-27 Alan Mackenzie <acm@muc.de> + + Fontify a Java generic method as a function. + * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java + value to t. + + 2013-07-27 Stephen Berman <stephen.berman@gmx.net> + + * calendar/todo-mode.el: Add command to rename todo files. + (todo-rename-file): New command. + (todo-key-bindings-t): Add key binding for it. Change the + bindings of todo-filter-regexp-items(-multifile) to use `x' + instead of `r', since the latter is better suited to the new + renaming command. + + 2013-07-27 Alan Mackenzie <acm@muc.de> + + Make Java try-with-resources statement parse properly. + * progmodes/cc-langs.el (c-block-stmt-1-2-kwds) + (c-block-stmt-1-2-key): New language constants/variables. + * progmodes/cc-engine.el (c-beginning-of-statement-1) + (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key. + * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal + with c-block-stmt-1-2-key. + + 2013-07-27 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop--make-frame): Apply most frame parameters after + creating the frame to force (partially or totally) offscreen frames to + be restored as such. + + 2013-07-26 Xue Fuqiao <xfq.free@gmail.com> + + * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff. + (Bug#14948) + + 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new + `base' arg of backtrace-frame. + + 2013-07-26 Eli Zaretskii <eliz@gnu.org> + + * simple.el (list-processes): Doc fix. + + 2013-07-26 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop--select-frame): + Try harder to reuse existing frames. + + 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables. + (edebug-eval): Use backtrace-eval. + (edebug--display, edebug--recursive-edit): Don't let-bind the + edebug-outer-* vars that keep track of variables we locally let-bind. + (edebug-outside-excursion): Don't restore outside values of locally + let-bound vars. + (edebug--display): Use user-error. + (cl-lexical-debug, cl-debug-env): Remove. + + 2013-07-26 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop-restore-frames): Call `sit-for' once all frames + are restored to be sure that they are visible before deleting any + remaining ones. + + 2013-07-26 Matthias Meulien <orontee@gmail.com> + + * vc/vc-dir.el (vc-dir-mode-map): Add binding for + vc-print-root-log. (Bug#14948) + + 2013-07-26 Richard Stallman <rms@gnu.org> + + Add aliases for encrypting mail. + * epa.el (epa-mail-aliases): New option. + * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs. + Bind inhibit-read-only so read-only text doesn't ruin everything. + (epa-mail-default-recipients): New subroutine broken out. + Handle epa-mail-aliases. + + 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca> + + Add support for lexical variables to the debugger's `e' command. + * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-* + vars, except for debugger-outer-match-data. + (debugger-frame-number): Move check for "on a function call" from + callers into it. Add `skip-base' argument. + (debugger-frame, debugger-frame-clear): Simplify accordingly. + (debugger-env-macro): Only reset the state stored in non-variables, + i.e. current-buffer and match-data. + (debugger-eval-expression): Rewrite using backtrace-eval. + * subr.el (internal--called-interactively-p--get-frame): Remove. + (called-interactively-p): + * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new + `base' arg of backtrace-frame instead. + + 2013-07-26 Glenn Morris <rgm@gnu.org> + + * align.el (align-regexp): Doc fix. (Bug#14857) + (align-region): Explicit error if subexpression missing/does not match. + + * simple.el (global-visual-line-mode): + Do not duplicate the mode lighter. (Bug#14858) + + 2013-07-25 Martin Rudalics <rudalics@gmx.at> + + * window.el (display-buffer): In display-buffer bind + split-window-keep-point to t, bug#14829. + + 2013-07-25 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el: Rename internal "desktop-X" frame params to "desktop--X". + (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm) + (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames) + (desktop--select-frame, desktop--sort-states, desktop-restore-frames): + Change accordingly. + (desktop--select-frame, desktop--sort-states, desktop-restore-frames): + Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values. + + 2013-07-25 Glenn Morris <rgm@gnu.org> + + * dired-x.el (dired-mark-extension): Convert comment to doc string. + + 2013-07-25 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop--make-frame): Do not pass the `fullscreen' + parameter to modify-frame-parameters if the value has not changed; + this is a workaround for bug#14949. + (desktop--make-frame): On cl-delete-if call, check parameter name, + not full parameter. + + 2013-07-30 Xue Fuqiao <xfq.free@gmail.com> + + * vc/vc.el (vc-ignore): New function. + + * vc/vc-svn.el (vc-svn-ignore): New function. + + * vc/vc-hg.el (vc-hg-ignore): New function. + + * vc/vc-git.el (vc-git-ignore): New function. + + * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore + (vc-dir-ignore): New function. + + * vc/vc-cvs.el (vc-cvs-ignore): New function. + (cvs-append-to-ignore): Move here from pcvs.el. + + * vc/vc-bzr.el (vc-bzr-ignore): New function. + + * vc/pcvs.el (vc-cvs): Require 'vc-cvs. + + 2013-07-24 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop-restoring-frames-p): Return a true boolean. + (desktop-restore-frames): Warn when deleting an existing frame failed. + + 2013-07-24 Glenn Morris <rgm@gnu.org> + + * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929) + + 2013-07-24 Michael Albinus <michael.albinus@gmx.de> + + * filenotify.el (file-notify-supported-p): + * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p): + Remove functions. + + * autorevert.el (auto-revert-use-notify) + (auto-revert-notify-add-watch): + * net/tramp.el (tramp-file-name-for-operation): + * net/tramp-adb.el (tramp-adb-file-name-handler-alist): + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + * net/tramp-sh.el (tramp-sh-file-name-handler-alist): + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): + Remove `file-notify-supported-p' entry. + + 2013-07-24 Glenn Morris <rgm@gnu.org> + + * printing.el: Replace all uses of deleted ps-windows-system, + ps-lp-system, ps-flatten-list with lpr- versions. + + 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be + checked with memq (bug#14935). + + * files.el (revert-buffer-function): Use a non-nil default. + (revert-buffer-preserve-modes): Declare var to + provide access to the `preserve-modes' argument. + (revert-buffer): Let-bind it. + (revert-buffer--default): New function, extracted from revert-buffer. + + 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca> + + * lpr.el: Signal print errors more prominently. + (print-region-function): Don't default to nil. + (lpr-print-region): New function, extracted from print-region-1. + Check lpr's return value and signal an error in case of problem. + (print-region-1): Use it. + * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-* + versions instead. + (ps-printer-name): Default to nil. + (ps-printer-name-option): Default to lpr-printer-switch. + (ps-print-region-function): Don't default to nil. + (ps-postscript-code-directory): Simplify default. + (ps-do-despool): Use lpr-print-region to properly check the outcome. + (ps-string-list, ps-eval-switch, ps-flatten-list) + (ps-flatten-list-1): Remove. + (ps-multibyte-buffer): Avoid setq. + * dos-w32.el (direct-print-region-helper): Use proper regexp operators. + (print-region-function, ps-print-region-function): Don't set them here. + + 2013-07-24 Xue Fuqiao <xfq.free@gmail.com> + + * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time) + (ido-max-prospects, ido-mode, ido-max-file-prompt-width) + (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache) + (ido-decorations): Doc fix. + + * ansi-color.el: Fix old URL. + + 2013-07-23 Michael R. Mauger <michael@mauger.com> + + * progmodes/sql.el: Version 3.3 + (sql-product-alist): Improve oracle :prompt-cont-regexp. + (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions. + (sql-interactive-remove-continuation-prompt): Rewrite, use + functions above. Fix continuation prompt and complete output line + handling. + (sql-redirect-one, sql-execute): Use `read-only-mode' on + redirected output buffer. + (sql-mode): Restore deleted code (Bug#13591). + + 2013-07-23 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop-clear, desktop-list*): Fix previous change. + + 2013-07-23 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-handle-file-notify-add-watch): New defun. + + * net/tramp-adb.el (tramp-adb-file-name-handler-alist): + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it. + + 2013-07-23 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop-clear): Simplify; remove useless checks + against invalid buffer names. + (desktop-list*): Use cl-list*. + (desktop-buffer-info, desktop-create-buffer): Simplify. + + 2013-07-23 Leo Liu <sdl.web@gmail.com> + + * bookmark.el (bookmark-make-record): Restore NAME as a default + value. (Bug#14933) + + 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/autoload.el (autoload--setup-output): New function, + extracted from autoload--insert-text. + (autoload--insert-text): Remove. + (autoload--print-cookie-text): New function, extracted from + autoload--insert-cookie-text. + (autoload--insert-cookie-text): Remove. + (autoload-generate-file-autoloads): Adjust calls accordingly. + + * winner.el (winner-hook-installed-p): Remove. + (winner-mode): Simplify accordingly. + + * subr.el (add-to-list): Fix compiler-macro when `append' is + not constant. Don't use `cl-member' for the base case. + + * progmodes/subword.el: Fix boundary case (bug#13758). + (subword-forward-regexp): Make it a constant. Wrap optional \\W in its + own group. + (subword-backward-regexp): Make it a constant. + (subword-forward-internal): Don't treat a trailing capital as the + beginning of a word. + + 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change) + + * emacs-lisp/package.el (package-menu-mode): Don't modify the + global value of tabulated-list-revert-hook (bug#14930). + + 2013-07-22 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el: Require 'cl-lib. + (desktop-before-saving-frames-functions): New hook. + (desktop--process-minibuffer-frames): Set desktop-mini parameter only + for frames being saved. Rename from desktop--save-minibuffer-frames. + (desktop-save-frames): Run hook desktop-before-saving-frames-functions. + Do not save frames with non-nil `desktop-dont-save' parameter. + Filter out deleted frames. + (desktop--find-frame): Use cl-find-if. + (desktop--select-frame): Use cl-(first|second|third) to access values + of desktop-mini. + (desktop--make-frame): Use cl-delete-if. + (desktop--sort-states): Fix sorting of minibuffer-owning frames. + (desktop-restore-frames): Use cl-(first|second|third) to access values + of desktop-mini. Look for visible frame at the end, not while + restoring frames. + + * dired-x.el (dired-mark-unmarked-files, dired-virtual) + (dired-guess-default, dired-mark-sexp, dired-filename-at-point): + Use string-match-p, looking-at-p (bug#14927). + + 2013-07-21 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop-saved-frame-states): + Rename from desktop--saved-states; all users changed. + (desktop-save-frames): Rename from desktop--save-frames. + Do not save state to desktop file. + (desktop-save): Save desktop-saved-frame-states to desktop file + and reset to nil. + (desktop-restoring-frames-p): New function. + (desktop-restore-frames): Use it. Rename from desktop--restore-frames. + (desktop-read): Use desktop-restoring-frames-p. Do not try to fix + buffer-lists when restoring frames. Suggested by Martin Rudalics. + + * desktop.el: Correctly restore iconified frames. + (desktop--filter-iconified-position): New function. + (desktop-filter-parameters-alist): Add entries for `top' and `left'. + + 2013-07-20 Glenn Morris <rgm@gnu.org> + + * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped): + Let `message' do the formatting. + (def-gdb-preempt-display-buffer): Add explicit format. + + * image-dired.el (image-dired-track-original-file): + Use with-current-buffer. + (image-dired-track-thumbnail): Use with-current-buffer. + Avoid changing point of wrong window. + + * image-dired.el (image-dired-track-original-file): + Avoid changing point of wrong window. (Bug#14909) + + 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change) + + * progmodes/gdb-mi.el (gdb-done-or-error): + Guard against "%" in gdb output. (Bug#14127) + + 2013-07-20 Andreas Schwab <schwab@linux-m68k.org> + + * progmodes/sh-script.el (sh-read-variable): Remove interactive spec. + (Bug#14826) + + * international/mule.el (coding-system-iso-2022-flags): Fix last + change. + + 2013-07-20 Kenichi Handa <handa@gnu.org> + + * international/mule.el (coding-system-iso-2022-flags): + Add `8-bit-level-4'. (Bug#8522) + + 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-mouse-browse-url): New command and keystroke + (bug#14815). + + * net/eww.el (eww-process-text-input): Allow inputting when the + point is at the start of the line, as the properties aren't + front-sticky. + + * net/shr.el (shr-make-table-1): Ensure that we don't infloop on + degenerate widths. + + 2013-07-19 Richard Stallman <rms@gnu.org> + + * epa.el (epa-popup-info-window): Doc fix. + + * subr.el (split-string): New arg TRIM. + + 2013-07-18 Juanma Barranquero <lekktu@gmail.com> + + * frame.el (blink-cursor-timer-function, blink-cursor-suspend): + Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se). + + 2013-07-18 Michael Albinus <michael.albinus@gmx.de> + + * filenotify.el (file-notify--library): Rename from + `file-notify-support'. Do not autoload. Adapt all uses. + (file-notify-supported-p): New defun. + + * autorevert.el (auto-revert-use-notify): + Use `file-notify-supported-p' instead of `file-notify-support'. + Adapt docstring. + (auto-revert-notify-add-watch): Use `file-notify-supported-p'. + + * net/tramp.el (tramp-file-name-for-operation): + Add `file-notify-supported-p'. + + * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p): + New defun. + (tramp-sh-file-name-handler-alist): Add it as handler for + `file-notify-supported-p '. + + * net/tramp-adb.el (tramp-adb-file-name-handler-alist): + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): + Add `ignore' as handler for `file-notify-*' functions. + + 2013-07-17 Eli Zaretskii <eliz@gnu.org> + + * simple.el (line-move-partial, line-move): Don't start vscroll or + scroll-up if the current line is not taller than the window. + (Bug#14881) + + 2013-07-16 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not + highlight question marks in the method names as strings. + (ruby-block-beg-keywords): Inline. + (ruby-font-lock-keyword-beg-re): Extract from + `ruby-font-lock-keywords'. + + 2013-07-16 Jan Djärv <jan.h.d@swipnet.se> + + * frame.el (blink-cursor-blinks): New defcustom. + (blink-cursor-blinks-done): New defvar. + (blink-cursor-start): Set blink-cursor-blinks-done to 1. + (blink-cursor-timer-function): Check if number of blinks has been + done on X and NS. + (blink-cursor-suspend, blink-cursor-check): New defuns. + + 2013-07-15 Glenn Morris <rgm@gnu.org> + + * edmacro.el (edmacro-format-keys): Fix previous change. + + 2013-07-15 Paul Eggert <eggert@cs.ucla.edu> + + * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x. + The hack didn't work outside English locales anyway. + + 2013-07-15 Juanma Barranquero <lekktu@gmail.com> + + * simple.el (define-alternatives): Rename from alternatives-define, + per RMS' suggestion. + + 2013-07-14 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop-restore-frames): Change default to t. + (desktop-restore-in-current-display): Now offer more options. + (desktop-restoring-reuses-frames): New customization option. + (desktop--saved-states): Doc fix. + (desktop-filter-parameters-alist): New variable, renamed and expanded + from desktop--excluded-frame-parameters. + (desktop--target-display): New variable. + (desktop-switch-to-gui-p, desktop-switch-to-tty-p) + (desktop--filter-tty*, desktop--filter-*-color) + (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm) + (desktop--filter-save-desktop-parm) + (desktop-restore-in-original-display-p): New functions. + (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist. + (desktop--save-minibuffer-frames): New function, inspired by a similar + function from Martin Rudalics. + (desktop--save-frames): Call it; play nice with desktop-globals-to-save. + (desktop--restore-in-this-display-p): Remove. + (desktop--find-frame): Rename from desktop--find-frame-in-display + and add predicate argument. + (desktop--make-full-frame): Remove, integrated into desktop--make-frame. + (desktop--reuse-list): New variable. + (desktop--select-frame, desktop--make-frame, desktop--sort-states): + New functions. + (desktop--restore-frames): Add support for "minibuffer-special" frames. + + 2013-07-14 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'. + + 2013-07-13 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): + Highlight conversion methods on Kernel. + + 2013-07-13 Alan Mackenzie <acm@muc.de> + + * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13 + and comment it out. This out-commenting enables certain C++ + declarations to be parsed correctly. + + 2013-07-13 Eli Zaretskii <eliz@gnu.org> + + * international/mule.el (define-coding-system): Doc fix. + + * simple.el (default-font-height): Don't call font-info if the + frame's default font didn't change since the frame was created. + (Bug#14838) + + 2013-07-13 Leo Liu <sdl.web@gmail.com> + + * ido.el (ido-read-file-name): Guard against non-symbol value. + + 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el (python-imenu--build-tree): Fix corner case + in nested defuns. + + 2013-07-13 Leo Liu <sdl.web@gmail.com> + + * ido.el (ido-exhibit): Handle ido-enter-matching-directory before + ido-set-matches call. (Bug#6852) + + 2013-07-12 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-percent-literals-beg-re) + (ruby-syntax-expansion-allowed-p): Support array of symbols, for + Ruby 2.0. + (ruby-font-lock-keywords): Distinguish calls to functions with + module-like names from module references. Highlight character + literals. + + 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change) + + * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function. + (gdb-send): Handle continued commands. (Bug#14847) + + 2013-07-12 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop--v2s): Remove unused local variable. + (desktop-save-buffer): Make defvar-local; adjust docstring. + (desktop-auto-save-timeout, desktop-owner): Use ignore-errors. + (desktop-clear, desktop-save-buffer-p): Use string-match-p. + + 2013-07-12 Andreas Schwab <schwab@linux-m68k.org> + + * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change. + + 2013-07-12 Eli Zaretskii <eliz@gnu.org> + + * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG. + (Bug#14842) + + 2013-07-12 Glenn Morris <rgm@gnu.org> + + * doc-view.el: Require cl-lib at runtime too. + (doc-view-remove-if): Remove. + (doc-view-search-next-match, doc-view-search-previous-match): + Use cl-remove-if. + + * edmacro.el: Require cl-lib at runtime too. + (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq. + (edmacro-mismatch, edmacro-subseq): Remove. + + * shadowfile.el: Require cl-lib. + (shadow-remove-if): Remove. + (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo): + Use cl-remove-if. + + * wid-edit.el: Require cl-lib. + (widget-choose): Use cl-remove-if. + (widget-remove-if): Remove. + + * progmodes/ebrowse.el: Require cl-lib at runtime too. + (ebrowse-delete-if-not): Remove. + (ebrowse-browser-buffer-list, ebrowse-member-buffer-list) + (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list): + Use cl-delete-if-not. + + 2013-07-12 Juanma Barranquero <lekktu@gmail.com> + + * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq) + (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings. + + 2013-07-12 Leo Liu <sdl.web@gmail.com> + + * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954) + + 2013-07-11 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/edebug.el: Require cl-lib at run-time too. + (edebug-gensym-index, edebug-gensym): + Remove reimplementation of cl-gensym. + (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym. + + * thumbs.el: Require cl-lib at run-time too. + (thumbs-gensym-counter, thumbs-gensym): + Remove reimplementation of cl-gensym. + (thumbs-temp-file): Use cl-gensym. + + * emacs-lisp/ert.el: Require cl-lib at runtime too. + (ert--cl-do-remf, ert--remprop, ert--remove-if-not) + (ert--intersection, ert--set-difference, ert--set-difference-eq) + (ert--union, ert--gensym-counter, ert--gensym-counter) + (ert--coerce-to-vector, ert--remove*, ert--string-position) + (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs. + (ert-make-test-unbound, ert--expand-should-1) + (ert--expand-should, ert--should-error-handle-error) + (should-error, ert--explain-equal-rec) + (ert--plist-difference-explanation, ert-select-tests) + (ert--make-stats, ert--remove-from-list, ert--string-first-line): + Use cl-lib functions rather than reimplementations. + + 2013-07-11 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-methods): Extend docstring. + (tramp-connection-timeout): New defcustom. + (tramp-error-with-buffer): Reset timestamp only when appropriate. + (with-tramp-progress-reporter): Simplify. + (tramp-process-actions): Improve messages. + + * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): + * net/tramp-sh.el (tramp-maybe-open-connection): + Use `tramp-connection-timeout'. + (tramp-methods) <su, sudo, ksu>: Add method specific timeouts. + (Bug#14808) + + 2013-07-11 Leo Liu <sdl.web@gmail.com> + + * ido.el (ido-read-file-name): Conform to the requirements of + read-file-name. (Bug#11861) + (ido-read-directory-name): Conform to the requirements of + read-directory-name. + + 2013-07-11 Juanma Barranquero <lekktu@gmail.com> + + * subr.el (delay-warning): New function. + + 2013-07-10 Eli Zaretskii <eliz@gnu.org> + + * simple.el (default-line-height): New function. + (line-move-partial, line-move): Use it instead of computing the + line height inline. + (line-move-partial): Always compute ROWH. If the last line is + partially-visible, but its text is completely visible, allow + cursor to enter such a partially-visible line. + + 2013-07-10 Michael Albinus <michael.albinus@gmx.de> + + Improve error messages. (Bug#14808) + + * net/tramp.el (tramp-current-connection): New defvar, moved from + tramp-sh.el. + (tramp-message-show-progress-reporter-message): Remove, not + needed anymore. + (tramp-error-with-buffer): Show message in minibuffer. + Discard input before waiting. Reset connection timestamp. + (with-tramp-progress-reporter): Improve messages. + (tramp-process-actions): Use progress reporter. Delete process in + case of error. Improve messages. + + * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case. + Call `tramp-error-with-buffer' with vector and buffer. + (tramp-current-connection): Remove. + (tramp-maybe-open-connection): The car of + `tramp-current-connection' are the first 3 slots of the vector. + + 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com> + + * progmodes/cfengine.el (cfengine3-indent-line): Do not indent + inside continued strings. + + 2013-07-10 Paul Eggert <eggert@cs.ucla.edu> + + Timestamp fixes for undo (Bug#14824). + * files.el (clear-visited-file-modtime): Move here from fileio.c. + + 2013-07-10 Leo Liu <sdl.web@gmail.com> + + * files.el (require-final-newline): Allow safe local value. + (Bug#14834) + + 2013-07-09 Leo Liu <sdl.web@gmail.com> + + * ido.el (ido-read-directory-name): Handle fallback. + (ido-read-file-name): Update DIR to ido-current-directory. + (Bug#1516) + (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552) + + 2013-07-09 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra + "autoload". Remove "warn lower camel case" section, previously + commented out. Highlight negation char. Do not highlight the + target in singleton method definitions. + + 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * faces.el (tty-setup-hook): Declare the hook. + + * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try + and detect when a guard/pred depends on local vars (bug#14773). + (pcase--u1): Adjust caller. + + 2013-07-08 Eli Zaretskii <eliz@gnu.org> + + * simple.el (line-move-partial, line-move): Account for + line-spacing. + (line-move-partial): Avoid setting vscroll when the last + partially-visible line in window is of default height. + + 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-map): Reinstate the `u' key binding, since it's + been used a while. + + 2013-07-07 Juanma Barranquero <lekktu@gmail.com> + + * subr.el (read-quoted-char): Remove unused local variable `char'. + + 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu> + + * vc/ediff.el (ediff-version): Version update. + (ediff-files-command, ediff3-files-command, ediff-merge-command) + (ediff-merge-with-ancestor-command, ediff-directories-command) + (ediff-directories3-command, ediff-merge-directories-command) + (ediff-merge-directories-with-ancestor-command): New functions. + All are command-line interfaces to ediff: to facilitate calling + Emacs with the appropriate ediff functions invoked. + + * emulation/viper-cmd.el (viper-del-forward-char-in-insert): + New function. + (viper-save-kill-buffer): Check if buffer is modified. + + * emulation/viper.el (viper-version): Version update. + (viper-emacs-state-mode-list): Add egg-status-buffer-mode. + + 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca> + + * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook. + * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function. + (viper-intercept-ESC-key): Simplify. + * emulation/viper-keym.el (viper-ESC-key): Make it a constant, + don't use kbd. + * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key) + (viper-catch-tty-ESC, viper-uncatch-tty-ESC) + (viper-setup-ESC-to-escape): New functions. + (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape. + (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793) + + 2013-07-07 Eli Zaretskii <eliz@gnu.org> + + * simple.el (default-font-height, window-screen-lines): + New functions. + (line-move, line-move-partial): Use them instead of + frame-char-height and window-text-height. This makes scrolling + text smoother when the buffer's default face uses a font that is + different from the frame's default font. + + 2013-07-06 Jan Djärv <jan.h.d@swipnet.se> + + * files.el (write-file): Do not display confirm dialog for NS, + it does its own dialog, which can't be canceled (Bug#14578). + + 2013-07-06 Eli Zaretskii <eliz@gnu.org> + + * simple.el (line-move-partial): Adjust the row returned by + posn-at-point for the current window-vscroll. (Bug#14567) + + 2013-07-06 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter) + (tramp-sh-file-inotifywait-process-filter): Handle file names with + spaces. + + 2013-07-06 Martin Rudalics <rudalics@gmx.at> + + * window.el (window-state-put-stale-windows): New variable. + (window--state-put-2): Save list of windows without matching buffer. + (window-state-put): Remove "bufferless" windows if possible. + + 2013-07-06 Juanma Barranquero <lekktu@gmail.com> + + * simple.el (alternatives-define): Remove leftover :group keyword. + Tweak docstring. + + 2013-07-06 Leo Liu <sdl.web@gmail.com> + + * ido.el (ido-use-virtual-buffers): Allow new value 'auto. + (ido-enable-virtual-buffers): New variable. + (ido-buffer-internal, ido-toggle-virtual-buffers) + (ido-make-buffer-list): Use it. + (ido-exhibit): Support turning on and off virtual buffers + automatically. + + 2013-07-06 Juanma Barranquero <lekktu@gmail.com> + + * simple.el (alternatives-define): New macro. + + 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (read-quoted-char): Use read-key. + (sit-for): Let read-event decode tty input (bug#14782). + + 2013-07-05 Stephen Berman <stephen.berman@gmx.net> + + * calendar/todo-mode.el: Add handling of file deletion, both by + mode command and externally. Fix various related bugs. + Clarify Commentary and improve some documentation strings and code. + (todo-delete-file): New command. + (todo-check-file): New function. + (todo-show): Handle external deletion of the file we're trying to + show (bug#14688). Replace called-interactively-p by an optional + prefix argument to avoid problematic interaction with catch form + when byte compiled (bug#14702). + (todo-quit): Handle external deletion of the archive's todo file. + Make sure the buffer that was visiting the archive file is still + live before trying to bury it. + (todo-category-completions): Handle external deletion of any + category completion files. + (todo-jump-to-category, todo-basic-insert-item): Recalculate list + of todo files, in case of external deletion. + (todo-add-file): Replace unnecessary setq by let-binding. + (todo-find-archive): Check whether there are any archives. + Replace unnecessary setq by let-binding. + (todo-archive-done-item): Use find-file-noselect to get the + archive buffer whether or not the archive already exists. + Remove superfluous code. Use file size instead of buffer-file-name to + check if the archive is new; if it is, update list of archives. + (todo-default-todo-file): Allow nil to be a valid value for when + there are no todo files. + (todo-reevaluate-default-file-defcustom): Use corrected definition + of todo-default-todo-file. + (todo-key-bindings-t+a+f): Add key binding for todo-delete-file. + (todo-delete-category, todo-show-categories-table) + (todo-category-number): Clarify comment. + (todo-filter-items): Clarify documentation string. + (todo-show-current-file, todo-display-as-todo-file) + (todo-reset-and-enable-done-separator): Tweak documentation string. + (todo-done-separator): Make separator length window-width, since + bug#2749 is now fixed. + + 2013-07-05 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch): + Support both "gvfs-monitor-dir" and "inotifywait". + (tramp-sh-file-inotifywait-process-filter): Rename from + `tramp-sh-file-notify-process-filter'. + (tramp-sh-file-gvfs-monitor-dir-process-filter) + (tramp-get-remote-gvfs-monitor-dir): New defuns. + + 2013-07-05 Leo Liu <sdl.web@gmail.com> + + * autoinsert.el (auto-insert-alist): Default to lexical-binding. + + 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * frame.el (display-pixel-height, display-pixel-width) + (display-mm-height, display-mm-width): Mention behavior on + multi-monitor setups in docstrings. + (w32-display-monitor-attributes-list): Declare function. + (display-monitor-attributes-list): Use it. + + 2013-07-04 Michael Albinus <michael.albinus@gmx.de> + + * filenotify.el: New package. + + * autorevert.el (top): Require filenotify.el. + (auto-revert-notify-enabled): Remove. Use `file-notify-support' + instead. + (auto-revert-notify-rm-watch, auto-revert-notify-add-watch) + (auto-revert-notify-handler): Use `file-notify-*' functions. + + * subr.el (file-notify-handle-event): Move function to filenotify.el. + + * net/tramp.el (tramp-file-name-for-operation): + Handle `file-notify-add-watch' and `file-notify-rm-watch'. + + * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler + for `file-notify-add-watch' and `file-notify-rm-watch'. + (tramp-process-sentinel): Improve trace. + (tramp-sh-handle-file-notify-add-watch) + (tramp-sh-file-notify-process-filter) + (tramp-sh-handle-file-notify-rm-watch) + (tramp-get-remote-inotifywait): New defuns. + + 2013-07-03 Juri Linkov <juri@jurta.org> + + * buff-menu.el (Buffer-menu-multi-occur): Add args and move the + call of `occur-read-primary-args' to interactive spec. + + * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to + `ibuffer-do-occur' like in buff-menu.el. (Bug#14673) + + 2013-07-03 Matthias Meulien <orontee@gmail.com> + + * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to + `Buffer-menu-multi-occur'. Add it to the menu. + (Buffer-menu-mode): Document it in docstring. + (Buffer-menu-multi-occur): New command. (Bug#14673) + + 2013-07-03 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more + keywords and built-ins. + + 2013-07-03 Glenn Morris <rgm@gnu.org> + + * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770) + + Make info-xref checks case-sensitive by default + * info.el (Info-find-node, Info-find-in-tag-table) + (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node): + Add option for exact case matching of nodes. + * info-xref.el (info-xref): New custom group. + (info-xref-case-fold): New option. + (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node. + + 2013-07-03 Leo Liu <sdl.web@gmail.com> + + * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash. + + 2013-07-03 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a + middle of block statement initially, lower the depth. Remove + FIXME comment, not longer valid. Remove middle of block statement + detection, no need to do that anymore since we've been using + `ruby-parse-region' here. + + 2013-07-02 Jan Djärv <jan.h.d@swipnet.se> + + * term/ns-win.el (display-format-alist): Use .* (Bug#14765). + + 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org> + + * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738). + + 2013-07-01 Juanma Barranquero <lekktu@gmail.com> + + * desktop.el (desktop-restore-frames): Rename from desktop-save-windows. + (desktop-restore-in-current-display): New customization option. + (desktop--excluded-frame-parameters): Add `font'. + (desktop--save-frames): Rename from desktop--save-windows. + (desktop--restore-in-this-display-p): New function. + (desktop--make-full-frame): Remove unwanted width/height from + full(width|height) frames. + (desktop--restore-frames): Rename from desktop--restore-windows. + Obey desktop-restore-current-display. Do not delete old frames or + select a new frame unless we were able to restore at least one frame. + + 2013-06-30 Michal Nazarewicz <mina86@mina86.com> + + * files.el (find-file-noselect): Simplify conditional expression. + + * textmodes/remember.el (remember-append-to-file): + Don't mix `find-buffer-visiting' and `get-file-buffer'. + + Add `remember-notes' function to store random notes across Emacs + restarts. + * textmodes/remember.el (remember-data-file): Add :set callback to + affect notes buffer (if any). + (remember-notes): New command. + (remember-notes-buffer-name, bury-remember-notes-on-kill): + New defcustoms for the `remember-notes' function. + (remember-notes-save-and-bury-buffer): New command. + (remember-notes-mode-map): New variable. + (remember-mode): New minor mode. + (remember-notes--kill-buffer-query): New function. + * startup.el (initial-buffer-choice): Add notes to custom type. + + 2013-06-30 Eli Zaretskii <eliz@gnu.org> + + * bindings.el (right-char, left-char): Don't call sit-for, this is + no longer needed. Use arithmetic comparison only for numerical + arguments. + + * international/mule-cmds.el (select-safe-coding-system): + Handle the case of FROM being a string correctly. (Bug#14755) + + 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-make-table-1): Add a sanity check that allows + progression on degenerate tables. + (shr-rescale-image): ImageMagick animated images currently don't work. + + 2013-06-30 Juanma Barranquero <lekktu@gmail.com> + + Some fixes and improvements for desktop frame restoration. + It is still experimental and disabled by default. + * desktop.el (desktop--save-windows): Put the selected frame at + the head of the list. + (desktop--make-full-frame): New function. + (desktop--restore-windows): Try to re-select the frame that was + selected upon saving. Do not abort if some frames fail to restore, + just show an error message and continue. Set up maximized frames + so they have default non-maximized dimensions. + + 2013-06-30 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-syntax-propertize-function): + Don't start heredoc inside a string or comment. + + 2013-06-29 Eli Zaretskii <eliz@gnu.org> + + * bindings.el (visual-order-cursor-movement): New defcustom. + (right-char, left-char): Provide visual-order cursor motion by + calling move-point-visually. Update the doc strings. + + 2013-06-28 Kenichi Handa <handa@gnu.org> + + * international/mule.el (define-coding-system): New coding system + properties :inhibit-null-byte-detection, + :inhibit-iso-escape-detection, and :prefer-utf-8. + (set-buffer-file-coding-system): If :charset-list property of + CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is + appropriate for setting. + + * international/mule-cmds.el (select-safe-coding-system): + If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains + multibyte characters, return utf-8 (or one of its siblings). + + * international/mule-conf.el (prefer-utf-8): New coding system. + (file-coding-system-alist): Use prefer-utf-8 as default for Elisp + files. + + 2013-06-28 Ivan Kanis <ivan@kanis.fr> + + * net/shr.el (shr-render-region): New function. + + * net/eww.el: Autoload `eww-browse-url'. + + 2013-06-27 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/package-x.el (package-upload-buffer-internal): + Adapt to `package-desc-version' being a list. + Use `package--ac-desc-version' to retrieve version from a package + archive element. + + 2013-06-27 Juanma Barranquero <lekktu@gmail.com> + + New experimental feature to save&restore window and frame setup. + * desktop.el (desktop-save-windows): New defcustom. + (desktop--saved-states): New var. + (desktop--excluded-frame-parameters): New defconst. + (desktop--filter-frame-parms, desktop--find-frame-in-display) + (desktop--restore-windows, desktop--save-windows): New functions. + (desktop-save): Call `desktop--save-windows'. + (desktop-read): Call `desktop--restore-windows'. + + 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (add-face-text-property): Remove compat definition. + + 2013-06-27 Stephen Berman <stephen.berman@gmx.net> + + * info.el (Info-try-follow-nearest-node): Move search for footnote + above search for node name to prevent missing a footnote (bug#14717). + + 2013-06-27 Stephen Berman <stephen.berman@gmx.net> + + * obsolete/otodo-mode.el: Add obsolescence info to file header. + + 2013-06-27 Leo Liu <sdl.web@gmail.com> + + * net/eww.el (eww-read-bookmarks): Check file size. + + 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to + advice--pending if newdef is nil or an autoload (bug#13820). + (advice-mapc): New function. + + 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-mode): Undo isn't necessary in eww buffers, + probably. + (eww-mode-map): Add a menu bar. + (eww-add-bookmark): New command. + (eww-bookmark-mode): New mode and commands. + (eww-add-bookmark): Remove newlines from the title. + (eww-bookmark-browse): Don't bug out if it's the only window. + + 2013-06-26 Glenn Morris <rgm@gnu.org> + + * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg. + (hfy-size): Handle ttys. (Bug#14668) + + * info-xref.el: Update for Texinfo 5 change in *note format. + (info-xref-node-re, info-xref-note-re): New constants. + (info-xref-check-buffer): Use info-xref-note-re. + + 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el (set-variable): Use read-from-minibuffer (bug#14710). + + * emacs-lisp/package.el (package--add-to-archive-contents): Add missing + nil terminate the loop (bug#14718). + + 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el: Rework history traversal. When going forward/back, + put these actions into the history, too, so that they can be + replayed. + (eww-render): Move the history reset to the correct buffer. + + 2013-06-25 Juri Linkov <juri@jurta.org> + + * files-x.el (modify-dir-local-variable): Change the header comment + in the file with directory local variables. (Bug#14692) + + * files-x.el (read-file-local-variable-value): Add `default'. + (Bug#14710) + + 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-make-unique-file-name): Create a unique file + name before saving to entering `y' accidentally asynchronously. + + 2013-06-25 Ivan Kanis <ivan@kanis.fr> + + * net/eww.el (eww-download): New command and keystroke. + + 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-copy-page-url): Change name of command. + + * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to + be more consistent with Info and dired. + + * net/eww.el (eww-mode-map): Ditto. + + 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/package.el: Use lexical-binding. Include obsolete + packages from archives. + (package-archive-contents): Change format; include obsolete packages. + (package-desc): Use `dir' to mark builtin packages. + (package--from-builtin): Set the `dir' field to `builtin'. + (generated-autoload-file, version-control): Declare. + (package-compute-transaction): Change first arg and return value to be + lists of package-descs. Adjust to new package-archive-contents format. + (package--add-to-archive-contents): Adjust to new + package-archive-contents format. + (package-download-transaction): Arg is now a list of package-descs. + (package-install): If `pkg' is a package name, pass it as + a requirement, so it is subject to the usual (e.g. disabled) checks. + (describe-package): Accept package-desc as well. + (describe-package-1): Describe a specific package-desc. Add links to + other package-descs for the same package name. + (package-menu-describe-package): Pass the actual package-desc. + (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer + works correctly. + (package-desc-status): New function. + (package-menu--refresh): New function, extracted + from package-menu--generate. + (package-menu--generate): Use it. + (package-delete): Update package-alist. + (package-menu-execute): Don't call package-initialize. + + * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el, + progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el, + progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el, + progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el, + progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el, + emacs-lisp/cl-macs.el: Neuter the "Version:" header. + + 2013-06-25 Martin Rudalics <rudalics@gmx.at> + + * window.el (window--state-get-1): Workaround for bug#14527. + http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html + + 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-back-url): Implement the history by stashing all + the data into a list. + (eww-forward-url): Allow going forward in the history, too. + + 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * files-x.el (read-file-local-variable-value): Use read-from-minibuffer + for values and use read--expression for expressions (bug#14710). + (read-file-local-variable): Avoid setq. + (read-file-local-variable-mode): Use minor-mode-list. + + 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * textmodes/bibtex.el (bibtex-generate-url-list): Add support + for DOI URLs. + + 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect): + Update imenu-support when dialect changes. + + 2013-06-25 Leo Liu <sdl.web@gmail.com> + + * ido.el (ido-read-internal): Allow forward slash on windows. + + 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww): Start of strings is \\`, not ^. + + 2013-06-24 Ivan Kanis <ivan@kanis.fr> + + * net/shr.el (shr-browse-url): Fix interactive spec. + + * net/eww.el (eww): Add a trailing slash to domain names. + + 2013-06-24 Juanma Barranquero <lekktu@gmail.com> + + * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705). + + 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-browse-url): Use an external browser if given a + prefix. + + * net/eww.el (eww-external-browser): Move to shr. + + 2013-06-24 Ivan Kanis <ivan@kanis.fr> + + * net/eww.el (eww): Work more correctly for file: URLs. + (eww-detect-charset): Allow quoted charsets. + (eww-yank-page-url): New command and keystroke. + + 2013-06-24 Daiki Ueno <ueno@gnu.org> + + * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the + file name of gpg executable. + (epg-context-program): New function. + (epg-context-home-directory): New function. + (epg-context-set-program): New function. + (epg-context-set-home-directory): New function. + (epg--start): Use `epg-context-program' instead of + 'epg-gpg-program'. + (epg--list-keys-1): Likewise. + + 2013-06-24 Leo Liu <sdl.web@gmail.com> + + * ido.el (ido-read-internal): Fix bug#14620. + + 2013-06-23 Juanma Barranquero <lekktu@gmail.com> + + * faces.el (face-documentation): Simplify. + (read-face-attribute, tty-find-type, x-resolve-font-name): + Use `string-match-p'. + (list-faces-display): Use `string-match-p'. Simplify. + (face-spec-recalc): Check face to avoid face alias loops. + (read-color): Use `string-match-p' and non-capturing parenthesis. + + 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-rescale-image): Use the new + :max-width/:max-height functionality. + + 2013-06-23 Ivan Kanis <ivan@kanis.fr> + + * net/eww.el (eww-search-prefix): New variable. + (eww): Use it. + (eww-external-browser): New variable. + (eww-mode-map): New keystroke. + (eww-browse-with-external-browser): New command. + + * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps. + + 2013-06-23 Juanma Barranquero <lekktu@gmail.com> + + * emacs-lisp/tabulated-list.el (tabulated-list-init-header): + Don't skip aligning the next header field when padding is 0; + otherwise, field width is not respected unless the title is as + wide as the field. + + 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/package.el (package-el-version): Remove. + (package-process-define-package): Fix inf-loop. + (package-install): Allow symbols as arguments again. + + 2013-06-22 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch', + add some more keyword-like methods. + http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html + + 2013-06-22 Juanma Barranquero <lekktu@gmail.com> + + * bs.el (bs-buffer-show-mark): Make defvar-local. + (bs-mode): Use setq-local. + + * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode) + (emacs-lock--try-unlocking): Make defvar-local. + + 2013-06-22 Glenn Morris <rgm@gnu.org> + + * play/cookie1.el (cookie-apropos): Minor simplification. + + * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar. + + 2013-06-22 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (auto-mode-alist): Do not use + `regexp-opt', it breaks the build during dumping. + + 2013-06-21 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): + Highlight keyword-like methods on Kernel and Module with + font-lock-builtin-face. + (auto-mode-alist): Consolidate different entries into one regexp + and add more *file-s. + + 2013-06-21 Stephen Berman <stephen.berman@gmx.net> + + * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el. + + * calendar/diary-lib.el (diary-goto-entry-function): New variable. + (diary-entry): Use it in the action of this button type instead of + diary-goto-entry. + + * calendar/todo-mode.el: New version. + (todo-add-category): Append new category to end of file and give + it the highest number, instead of putting it at the beginning and + giving it 0. Incorporate noninteractive functionality. + (todo-forward-category): Adapt to 1-based category numbering. + Allow skipping over archived categories. + (todo-backward-category): Derive from todo-forward-category. + (todo-backward-item, todo-forward-item): Make noninteractive and + delegate interactive part to new commands. Make sensitive to done items. + (todo-categories): Make value an alist of category names and + vectors of item counts. + (todo-category-beg): Make a defconst. + (todo-category-number): Use 1 instead of 0 as initial value. + (todo-category-select): Make sensitive to overlays, optional item + highlighting and done items. + (todo-delete-item): Make sensitive to overlays and marked and done items. + (todo-edit-item): Make sensitive to overlays and editing of + date/time header optional. Add format checks. + (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a + no-op if point is not on an item. Advertise using todo-edit-quit. + (todo-edit-mode): Make sensitive to new format, font-locking, and + multiple todo files. + (todo-insert-item, todo-insert-item-here): Derive from + todo-basic-insert-item and extend functionality. + (todo-item-end, todo-item-start): Make sensitive to done items. + (todo-item-string): Don't return text properties. Restore point. + (todo-jump-to-category): Make sensitive to multiple todo files and + todo archives. Use extended category completion. + (todo-lower-item, todo-raise-item): Rename to *-priority and + derive from todo-set-item-priority. + (todo-mode): Derive from special-mode. Make sensitive to new + format, font-locking and multiple todo files. Make read-only. + (todo-mode-map): Don't suppress digit keys, so they can supply + prefix arguments. Add many new key bindings. + (todo-prefix): Insert as an overlay instead of file text. + Change semantics from diary date expression to purely visual mark. + (todo-print): Rename to todo-print-buffer. Make buffer display + features printable. Remove option to restrict number of items + printed. Add option to print to file. + (todo-print-function): Rename to todo-print-buffer-function. + (todo-quit): Extend to handle exiting new todo modes. + (todo-remove-item): Make sensitive to overlays. + (todo-save): Extend to buffers of filtered items. + (todo-show): Make sensitive to done items, multiple todo files and + new todo modes. Offer to convert legacy todo file before creating + first new todo file. + (todo-show-priorities): Rename to todo-top-priorities. + Change semantics of value 0. + (todo-top-priorities): Rename to todo-filter-top-priorities, + derive from todo-filter-items and extend functionality. + (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer + and extend functionality to other types of filtered items. + (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct) + (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back) + (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst) + (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev) + (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp) + (todo-edit-mode-hook, todo-entry-prefix-function) + (todo-entry-timestamp-initials, todo-file-do, todo-file-done) + (todo-file-item, todo-file-top, todo-header, todo-initial-setup) + (todo-initials, todo-insert-threshold, todo-item-string-start) + (todo-line-string, todo-menu, todo-mode-hook) + (todo-more-important-p, todo-previous-answer, todo-previous-line) + (todo-print-priorities, todo-remove-separator) + (todo-save-top-priorities-too, todo-string-count-lines) + (todo-string-multiline-p, todo-time-string-format) + (todo-tmp-buffer-name): Remove. + (todo-add-file, todo-archive-done-item, todo-choose-archive) + (todo-convert-legacy-files, todo-copy-item, todo-delete-category) + (todo-edit-category-diary-inclusion) + (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment) + (todo-edit-file, todo-edit-item-date-day) + (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar) + (todo-edit-item-date-month, todo-edit-item-date-to-today) + (todo-edit-item-date-year, todo-edit-item-diary-inclusion) + (todo-edit-item-diary-nonmarking, todo-edit-item-header) + (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items) + (todo-filter-diary-items-multifile, todo-filter-regexp-items) + (todo-filter-regexp-items-multifile, todo-filter-top-priorities) + (todo-filter-top-priorities-multifile, todo-find-archive) + (todo-find-filtered-items-file, todo-go-to-source-item) + (todo-insert-item-from-calendar, todo-item-done, todo-item-undone) + (todo-jump-to-archive-category, todo-lower-category) + (todo-mark-category, todo-marked-item-p, todo-merge-category) + (todo-move-category, todo-move-item, todo-next-button) + (todo-next-item, todo-padded-string, todo-powerset) + (todo-previous-button, todo-previous-item) + (todo-print-buffer-to-file, todo-raise-category) + (todo-rename-category, todo-repair-categories-sexp, todo-search) + (todo-set-category-number, todo-set-item-priority) + (todo-set-top-priorities-in-category) + (todo-set-top-priorities-in-file, todo-show-categories-table) + (todo-sort-categories-alphabetically-or-numerically) + (todo-sort-categories-by-archived, todo-sort-categories-by-diary) + (todo-sort-categories-by-done, todo-sort-categories-by-todo) + (todo-toggle-item-header, todo-toggle-item-highlighting) + (todo-toggle-mark-item, todo-toggle-prefix-numbers) + (todo-toggle-view-done-items, todo-toggle-view-done-only) + (todo-unarchive-items, todo-unmark-category): New commands. + (todo-absolute-file-name, todo-add-to-buffer-list) + (todo-adjusted-category-label-length, todo-basic-edit-item-header) + (todo-basic-insert-item, todo-category-completions) + (todo-category-number, todo-category-string-matcher-1) + (todo-category-string-matcher-2, todo-check-filtered-items-file) + (todo-check-format, todo-clear-matches) + (todo-comment-string-matcher, todo-convert-legacy-date-time) + (todo-current-category, todo-date-string-matcher) + (todo-define-insertion-command, todo-diary-expired-matcher) + (todo-diary-goto-entry, todo-diary-item-p) + (todo-diary-nonmarking-matcher, todo-display-as-todo-file) + (todo-display-categories, todo-display-sorted, todo-done-item-p) + (todo-done-item-section-p, todo-done-separator) + (todo-done-string-matcher, todo-files, todo-filter-items) + (todo-filter-items-1, todo-filter-items-filename, todo-find-item) + (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent) + (todo-insert-category-line, todo-insert-item-from-calendar) + (todo-insert-sort-button, todo-insert-with-overlays) + (todo-insertion-command-name, todo-insertion-key-bindings) + (todo-label-to-key, todo-longest-category-name-length) + (todo-make-categories-list, todo-mode-external-set) + (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2) + (todo-modes-set-3, todo-multiple-filter-files) + (todo-nondiary-marker-matcher, todo-prefix-overlays) + (todo-read-category, todo-read-date, todo-read-dayname) + (todo-read-file-name, todo-read-time) + (todo-reevaluate-category-completions-files-defcustom) + (todo-reevaluate-default-file-defcustom) + (todo-reevaluate-filelist-defcustoms) + (todo-reevaluate-filter-files-defcustom) + (todo-reset-and-enable-done-separator, todo-reset-comment-string) + (todo-reset-done-separator, todo-reset-done-separator-string) + (todo-reset-done-string, todo-reset-global-current-todo-file) + (todo-reset-highlight-item, todo-reset-nondiary-marker) + (todo-reset-prefix, todo-set-categories) + (todo-set-date-from-calendar, todo-set-show-current-file) + (todo-set-top-priorities, todo-short-file-name) + (todo-show-current-file, todo-sort, todo-time-string-matcher) + (todo-total-item-counts, todo-update-buffer-list) + (todo-update-categories-display, todo-update-categories-sexp) + (todo-update-count, todo-validate-name, todo-y-or-n-p): + New functions. + (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode): + New major modes. + (todo-categories, todo-display, todo-edit, todo-faces) + (todo-filtered): New defgroups. + (todo-archived-only, todo-button, todo-category-string, todo-date) + (todo-diary-expired, todo-done, todo-done-sep, todo-comment) + (todo-mark, todo-nondiary, todo-prefix-string, todo-search) + (todo-sorted-column, todo-time, todo-top-priority): New deffaces. + (todo-add-item-if-new-category, todo-always-add-time-string) + (todo-categories-align, todo-categories-archived-label) + (todo-categories-category-label, todo-categories-diary-label) + (todo-categories-done-label, todo-categories-number-separator) + (todo-categories-todo-label, todo-categories-totals-label) + (todo-category-completions-files, todo-completion-ignore-case) + (todo-default-todo-file, todo-diary-nonmarking, todo-directory) + (todo-done-separator-string, todo-done-string) + (todo-files-function, todo-filter-done-items, todo-filter-files) + (todo-highlight-item, todo-include-in-diary, todo-indent-to-here) + (todo-initial-category, todo-initial-file, todo-item-mark) + (todo-legacy-date-time-regexp, todo-mode-line-function) + (todo-nondiary-marker, todo-number-prefix) + (todo-print-buffer-function, todo-show-current-file) + (todo-show-done-only, todo-show-first, todo-show-with-done) + (todo-skip-archived-categories, todo-top-priorities-overrides) + (todo-undo-item-omit-comment, todo-use-only-highlighted-region) + (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space): + New defcustoms. + (todo-category-done, todo-date-pattern, todo-date-string-start) + (todo-diary-items-buffer, todo-done-string-start) + (todo-filtered-items-buffer, todo-item-start) + (todo-month-abbrev-array, todo-month-name-array) + (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer) + (todo-top-priorities-buffer): New defconsts. + (todo-archive-mode-map, todo-archives, todo-categories-mode-map) + (todo-categories-with-marks, todo-category-string-face) + (todo-comment-face, todo-comment-string, todo-current-todo-file) + (todo-date-face, todo-date-from-calendar, todo-descending-counts) + (todo-diary-expired-face, todo-done-face, todo-done-sep-face) + (todo-done-separator, todo-edit-buffer, todo-edit-mode-map) + (todo-file-buffers, todo-files, todo-filtered-items-mode-map) + (todo-font-lock-keywords, todo-global-current-todo-file) + (todo-insertion-commands, todo-insertion-commands-arg-key-list) + (todo-insertion-commands-args) + (todo-insertion-commands-args-genlist) + (todo-insertion-commands-names, todo-insertion-map) + (todo-key-bindings-t, todo-key-bindings-t+a) + (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map) + (todo-multiple-filter-files, todo-multiple-filter-files-widget) + (todo-nondiary-face, todo-print-buffer, todo-time-face) + (todo-visited): New variables. + + 2013-06-21 Glenn Morris <rgm@gnu.org> + + * play/cookie1.el (cookie-apropos): Add optional display argument. + * obsolete/yow.el (apropos-zippy): Use cookie-apropos. + (psychoanalyze-pinhead): Use cookie-doctor. + + 2013-06-21 Juanma Barranquero <lekktu@gmail.com> + + * emacs-lisp/package.el (tar-get-file-descriptor) + (tar--extract): Declare. + + 2013-06-21 Eduard Wiebe <usenet@pusto.de> + + Extend flymake's warning predicate to be a function (bug#14217). + * progmodes/flymake.el (flymake-warning-predicate): New. + (flymake-parse-line): Use it. + (flymake-warning-re): Make obsolete alias to + `flymake-warning-predicate'. + + 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/package.el (package-alist): Include obsolete packages. + (package-obsolete-list): Remove. + (package-activate): Remove min-version argument. Add `force' argument. + Adjust to new package-alist format. + (package-mark-obsolete): Remove. + (package-unpack): Force reload of the package's autoloads. + (package-installed-p): Check builtins if the installed package is not + recent enough. + (package-initialize): Don't reset package-obsolete-list. + Don't specify which package version to activate. + (package-process-define-package, describe-package-1) + (package-menu--generate): Adjust to new package-alist format. + + 2013-06-21 Juanma Barranquero <lekktu@gmail.com> + + * allout-widgets.el (allout-widgets-mode-off) + (allout-widgets-mode-on, allout-widgets-pre-command-business) + (allout-widgets-post-command-business) + (allout-widgets-after-copy-or-kill-function) + (allout-widgets-after-undo-function, allout-test-range-overlaps) + (allout-decorate-item-and-context) + (allout-graphics-modification-handler): Fix typos in docstrings. + (allout-get-or-create-parent-widget): Use `looking-at-p'. + + * cmuscheme.el (scheme-start-file): Doc fix. + (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings. + (scheme-input-filter): Use `string-match-p'. + + * composite.el (compose-gstring-for-terminal): Fix typo in docstring. + + * dired-x.el: Use Dired consistently in docstrings. + + * dired.el: Use Dired consistently in docstrings. + (dired-readin, dired-mode): Use `setq-local'. + (dired-switches-alist): Make defvar-local. + (dired-buffers-for-dir): Use `zerop'. + (dired-safe-switches-p, dired-switches-escape-p) + (dired-insert-old-subdirs, dired-move-to-end-of-filename) + (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1) + (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check) + (dired-goto-next-nontrivial-file): Use `string-match-p'. + (dired-align-file, dired-insert-directory, dired-mark-files-in-region) + (dired-toggle-marks, dired-mark-files-containing-regexp) + (dired-mark-symlinks, dired-mark-directories, dired-mark-executables) + (dired-flag-auto-save-files, dired-flag-backup-files): + Use `looking-at-p'. + (dired-mark-files-regexp, dired-build-subdir-alist): + Use `string-match-p', `looking-at-p'. + + * dos-w32.el (untranslated-canonical-name, untranslated-file-p) + (direct-print-region-helper): Use `string-match-p'. + + 2013-06-21 Leo Liu <sdl.web@gmail.com> + + * comint.el (comint-redirect-results-list-from-process): + Fix infinite loop. + + 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-update-header-line-format): Quote % characters. + + 2013-06-21 Glenn Morris <rgm@gnu.org> + + * play/cookie1.el (cookie): New custom group. + (cookie-file): New option. + (cookie-check-file): New function. + (cookie): Make it interactive. Make start and end messages optional. + Interactively, display the result. Default to cookie-file. + (cookie-insert): Default to cookie-file. + (cookie-snarf): Make start and end messages optional. + Default to cookie-file. Use with-temp-buffer. + (cookie-read): Rename from read-cookie. + Make start and end messages optional. Default to cookie-file. + (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes. + Do not autoload it. + (cookie-apropos, cookie-doctor): New functions, copied from yow.el + * obsolete/yow.el (read-zippyism): Use new name for read-cookie. + + 2013-06-21 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-mode): Backward compatibility fix. + + 2013-06-21 Glenn Morris <rgm@gnu.org> + + * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load. + + 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca> + Daniel Hackney <dan@haxney.org> + + * emacs-lisp/package.el: Use tar-mode rather than tar executable. + Consolidate the single-file vs tarball code. + (package-desc-suffix): New function. + (package-desc-full-name): Don't bother inlining it. + (package-load-descriptor): Return the new package-desc. + (package-mark-obsolete): Remove unused arg `package'. + (package-unpack): Make it work for single files as well. + Make it update package-alist. + (package--make-autoloads-and-stuff): Rename from + package--make-autoloads-and-compile. Don't compile any more. + (package--compile): New function. + (package-generate-description-file): New function, extracted from + package-unpack-single. + (package-unpack-single): Remove. + (package--with-work-buffer): Add indentation and debugging info. + (package-download-single): Remove. + (package-install-from-archive): Rename from package-download-tar, make + it take a pkg-desc, and make it work for single files as well. + (package-download-transaction): Simplify. + (package-tar-file-info): Remove `file' arg. Rewrite not to use an + external tar program. + (package-install-from-buffer): Remove `pkg-desc' argument. + Use package-tar-file-info for tar-mode buffers. + (package-install-file): Simplify accordingly. + (package-archive-base): Change to take a pkg-desc. + * tar-mode.el (tar--check-descriptor): New function, extracted from + tar-get-descriptor. + (tar-get-descriptor): Use it. + (tar-get-file-descriptor): New function. + (tar--extract): New function, extracted from tar-extract. + (tar--extract): Use it. + * emacs-lisp/package-x.el (package-upload-file): Decode the file, in + case the summary uses non-ascii. Adjust to new calling convention of + package-tar-file-info. + + 2013-06-21 Leo Liu <sdl.web@gmail.com> + + * comint.el (comint-redirect-results-list-from-process): + Fix random delay. (Bug#14681) + + 2013-06-21 Juanma Barranquero <lekktu@gmail.com> + + * profiler.el (profiler-format-number): Use log, not log10. + + 2013-06-20 Juanma Barranquero <lekktu@gmail.com> + + * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'. + + 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/cl-loaddefs.el: Don't version-control any more. + * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not + yet available. + * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el... + (AUTOGENEL): ... here. + * emacs-lisp/cl-macs.el (cl--sublis): New function. + (cl--defsubst-expand): Use it. + + 2013-06-20 Paul Eggert <eggert@cs.ucla.edu> + + * subr.el (log10): Move here from C code, and declare as obsolete. + All uses of (log10 X) replaced with (log X 10). + + 2013-06-20 Juanma Barranquero <lekktu@gmail.com> + + * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo. + Declare with `defvar-local'. + (tabulated-list-use-header-line, tabulated-list-entries) + (tabulated-list-padding, tabulated-list-printer) + (tabulated-list-sort-key): Declare with `defvar-local'. + (tabulated-list-init-header, tabulated-list-print-fake-header): + Use `setq-local'. + + 2013-06-20 Michael Albinus <michael.albinus@gmx.de> + + * arc-mode.el (archive-mode): Add `archive-write-file' to + `write-contents-functions' also for remote files. (Bug#14652) + + 2013-06-20 Juanma Barranquero <lekktu@gmail.com> + + * cus-edit.el (custom-commands): Fix typos. + (custom-display): Fix tooltip text. + (custom-magic-alist, custom-filter-face-spec, custom-group-members): + Fix typos in docstrings. + (custom--initialize-widget-variables, Custom-mode): Use `setq-local'. + (custom-unlispify-menu-entry, custom-magic-value-create) + (custom-add-see-also, custom-group-value-create): Use ?\s. + (custom-guess-type, customize-apropos, editable-field) + (custom-face-value-create): Use `string-match-p'. + (custom-save-variables, custom-save-faces): Use `looking-at-p'. + + * custom.el (custom-load-symbol): Use `string-match-p'. + + * ansi-color.el: Convert to lexical binding. + (ansi-colors): Fix URL. + (ansi-color-context, ansi-color-context-region): Use defvar-local. + (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings. + (ansi-color-make-color-map): Rename local var ansi-color-map to map. + + 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el (eww-process-text-input): Display passwords as asterisks. + + * net/shr.el (shr-make-table-1): Protect against invalid column-spans. + + 2013-06-19 Tom Tromey <tromey@redhat.com> + + * net/eww.el (eww-top-url): Remove. + (eww-home-url, eww-start-url, eww-contents-url): New defvars. + (eww-render): Set new variables. Don't set eww-top-url. + (eww-handle-link): Handle "prev", "home", and "contents". + Downcase the rel text. + (eww-top-url): Choose best top URL. + + 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/eww.el: Rewrite to implement form elements "by hand" instead of + relying in widget.el. Using widget.el leads to too many + user interface inconsistencies. + (eww-self-insert): Implement entering commands in text fields. + (eww-process-text-input): New function to make text input field editing + work. + (eww-submit): Rewrite to use the new-style form methods. + (eww-select-display): Display the correct selected item. + (eww-change-select): Implement changing the select value. + (eww-toggle-checkbox): Implement radio/checkboxes. + (eww-update-field): Fix compilation error. + (eww-tag-textarea): Implement <textarea>. + + * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that + we don't shadow mode-specific bindings. + + * net/eww.el (eww-browse-url): Don't push stuff onto history if there's + nothing to push. + + * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs. + + 2013-06-19 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more. + + 2013-06-19 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is + not needed. + + * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property. + + 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/browse-url.el (browse-url-browser-function): + `eww-browse-url' has the right calling signature, `eww' does not. + + 2013-06-19 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): + Only eval autoloaded macros. + (byte-compile-autoload): Only give the macro warning for macros. + + * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces) + (ps-underlined-faces): Declare. + + * progmodes/idlwave.el (func-menu): Only set it up on XEmacs. + (speedbar-add-supported-extension): Declare. + + * international/titdic-cnv.el (tit-process-header, miscdic-convert): + Don't include a date stamp in the header of the generated file; + it leads to needless differences between output files. + + 2013-06-19 Michael Albinus <michael.albinus@gmx.de> + + * net/secrets.el (secrets-struct-secret-content-type): + Replace check of introspection data by a test call of "CreateItem". + Some servers do not offer introspection. + + 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca> + + * electric.el (electric-pair-mode): Improve interaction with + electric-layout-mode. + (electric-pair-default-inhibit): Don't assume (eq char (char-before)). + (electric-pair-syntax): Use text-mode-syntax-table in comments + and strings. + (electric-pair--insert): New function. + (electric-pair-post-self-insert-function): Use it and + electric--after-char-pos. + + 2013-06-19 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-help): Fix regexp. + + 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/shr.el (shr-make-table-1): Implement <td rowspan>. + (shr-table-horizontal-line): Allow nil as a value, and change the + default. + (shr-insert-table-ruler): Respect the nil value. + + 2013-06-18 Tom Tromey <tromey@barimba> + + * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url): + New defvars. + (eww-open-file): New defun. + (eww-render): Initialize new variables. + (eww-display-html): Handle "link" and "a". + (eww-handle-link, eww-tag-link, eww-tag-a): New defuns. + (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u". + (eww-back-url): Rename from eww-previous-url. + (eww-next-url, eww-previous-url, eww-up-url, eww-top-url): + New defuns. + + 2013-06-18 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): + Distinguish ternary operator tokens from slash symbol and slash + char literal. + + 2013-06-18 Juanma Barranquero <lekktu@gmail.com> + + Convert symbol prettification into minor mode and global minor mode. + + * progmodes/prog-mode.el (prettify-symbols-alist): Rename from + `prog-prettify-symbols', and make a local defvar instead of defcustom. + (prettify-symbols--keywords): Rename from + `prog-prettify-symbols-alist' and make a local defvar. + (prettify-symbols--compose-symbol): Rename from + `prog--prettify-font-lock-compose-symbol'. + (prettify-symbols--make-keywords): Rename from + `prog-prettify-font-lock-symbols-keywords' and simplify. + (prog-prettify-install): Remove. + (prettify-symbols-mode): New minor mode, based on + `prog-prettify-install'. + (turn-on-prettify-symbols-mode): New function. + (global-prettify-symbols-mode): New globalized minor mode. + + * emacs-lisp/lisp-mode.el (lisp-mode-variables): + * progmodes/cfengine.el (cfengine3-mode): + * progmodes/perl-mode.el (perl-mode): Don't call + `prog-prettify-install'; set `prettify-symbols-alist' instead. + + 2013-06-18 Juri Linkov <juri@jurta.org> + + * files-x.el (modify-file-local-variable-message): New function. + (modify-file-local-variable) + (modify-file-local-variable-prop-line): Add arg INTERACTIVE + and call `modify-file-local-variable-message' when it's non-nil. + (add-file-local-variable, delete-file-local-variable) + (add-file-local-variable-prop-line) + (delete-file-local-variable-prop-line): Add arg INTERACTIVE + and use it. (Bug#9820) + + 2013-06-18 Juri Linkov <juri@jurta.org> + + * emulation/vi.el (vi-shell-op): + * emulation/vip.el (vip-execute-com, ex-command): + * emulation/viper-cmd.el (viper-exec-bang): + * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to + the call of `shell-command-on-region'. (Bug#14637) + + * simple.el (shell-command-on-region): Doc fix. + + 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/eieio-custom.el: Remove misleading Version: header + (bug#14633). + + 2013-06-18 Glenn Morris <rgm@gnu.org> + + * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/. + + * newcomment.el (comment-search-forward, comment-search-backward): + Doc fix. (Bug#14376) + + 2013-06-18 Juanma Barranquero <lekktu@gmail.com> + + * face-remap.el (buffer-face-toggle): Fix typo in docstring. + (buffer-face-mode-invoke): Doc fix. + + 2013-06-18 Matthias Meulien <orontee@gmail.com> + + * tabify.el (untabify, tabify): With prefix, apply to entire buffer. + <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html> + + 2013-06-18 Glenn Morris <rgm@gnu.org> + + * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode): + Replace obsolete function generic-make-keywords with its expansion. + + * progmodes/python.el (ffap-alist): Declare. + + * textmodes/reftex.el (bibtex-mode-map): Declare. + + 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/package.el: Update package-alist after install (bug#14632). + (package-unpack, package-unpack-single): Return the pkg-dir. + (package-download-transaction): Use it to update package-alist. + + 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * net/browse-url.el (browse-url-browser-function): Add `eww' as a + possible choice. + + 2013-06-17 Juri Linkov <juri@jurta.org> + + * net/webjump.el (webjump-sample-sites): Add DuckDuckGo. + + 2013-06-17 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/package.el (package-load-descriptor): + Remove `with-syntax-table' call, `read' doesn't need it. + http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html + + 2013-06-17 Juanma Barranquero <lekktu@gmail.com> + + * startup.el (command-line): Expand package name returned by + `package--description-file' (bug#14639). + + 2013-06-17 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/package.el (package-load-descriptor): Do not call + `emacs-lisp-mode', just use its syntax table. + + 2013-06-17 Juanma Barranquero <lekktu@gmail.com> + + * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to + `font-lock-extra-managed-props' if any prettifying keyword is added. + (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ . + (prog-mode): Use `setq-local'. + + 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * international/characters.el (standard-case-table): Set syntax of ?» + and ?« to punctuation. + + 2013-06-16 Juanma Barranquero <lekktu@gmail.com> + + * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol): + Save relevant match data before calling `syntax-ppss' (bug#14595). + + 2013-06-15 Juri Linkov <juri@jurta.org> + + * files-x.el (modify-file-local-variable-prop-line): Add local + variables to the end of the existing comment on the first line. + Use `file-auto-mode-skip' to skip interpreter magic line, + and also skip XML declaration. + + 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca> + + * startup.el (package--builtin-versions): New var. + (package-subdirectory-regexp): Remove. + (package--description-file): Hard code its value instead. + + * emacs-lisp/package.el: Don't activate packages older than builtin. + (package-obsolete-list): Rename from package-obsolete-alist, and make + it into a simple list of package-desc. + (package-strip-version): Remove. + (package-built-in-p): Use package--builtin-versions. + (package-mark-obsolete): Simplify. + (package-process-define-package): Mark it obsolete if older than the + builtin version. + (package-handle-response): Use line-end-position. + (package-read-archive-contents, package--download-one-archive): + Simplify. + (package--add-to-archive-contents): Skip if older than the builtin or + installed version. + (package-menu-describe-package): Fix last change. + (package-list-unversioned): New var. + (package-menu--generate): Use it. + + * emacs-lisp/autoload.el: Manage package--builtin-versions. + (autoload--insert-text, autoload--insert-cookie-text): New functions. + (autoload-builtin-package-versions): New variable. + (autoload-generate-file-autoloads): Use them. + Remove the list of autoloaded functions/macros from the + (autoload...) comments. + + * Makefile.in (autoloads): Set autoload-builtin-package-versions. + + 2013-06-15 Eli Zaretskii <eliz@gnu.org> + + * simple.el (line-move-partial): Don't jump to the next screen + line as soon as it becomes visible. Instead, continue enlarging + the vscroll until the portion of a tall screen line that's left on + display is about the height of the frame's default font. + (Bug#14567) + + 2013-06-15 Glenn Morris <rgm@gnu.org> + + * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making + compilation-error-regexp-alist void, or local while let-bound. + + * progmodes/make-mode.el (makefile-mode-syntax-table): + Treat "=" as punctuation. (Bug#14614) + + 2013-06-15 Juanma Barranquero <lekktu@gmail.com> + + * help-fns.el (describe-variable): + Add extra line for permanent-local variables. + + 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change) + + * progmodes/scheme.el (scheme-font-lock-keywords-2): + Add export, import, library. (Bug#9164) + (library): Set indent function. + + 2013-06-14 Glenn Morris <rgm@gnu.org> + + * term/xterm.el (xterm--query): + Stop after first matching handler. (Bug#14615) + + 2013-06-14 Ivan Kanis <ivan@kanis.fr> + + Add support for dired in saveplace. + * dired.el (dired-initial-position-hook): New variable. + (dired-initial-position): Call hook to place cursor position. + * saveplace.el (save-place-to-alist): Add dired position. + (save-place-dired-hook): New function. + + 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection + through a symbol rather than letrec. + + * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more. + (package-desc): Add `dir' field. + (package-desc-full-name): New function. + (package-load-descriptor): Combine the two arguments. Don't use `load'. + (package-maybe-load-descriptor): Remove. + (package-load-all-descriptors): Just call package-load-descriptor. + (package--disabled-p): New function. + (package-desc-vers, package-desc-doc): Remove aliases. + (package--dir): Remove function. + (package-activate): Check if a package is disabled. + (package-process-define-package): New function, extracted from + define-package. + (define-package): Turn into a place holder. + (package-unpack-single, package-tar-file-info): + Use package--description-file. + (package-compute-transaction): Use package--disabled-p. + (package-download-transaction): Don't call + package-maybe-load-descriptor since they're all loaded anyway. + (package-install): Change argument to be a pkg-desc. + (package-delete): Use a single pkg-desc argument. + (describe-package-1): Use package-desc-dir instead of package--dir. + Use package-desc property instead of package-symbol. + (package-install-button-action): Adjust accordingly. + (package--push): Rewrite. + (package-menu--print-info): Adjust accordingly. Change the ID format + to be a pkg-desc. + (package-menu-describe-package, package-menu-get-status) + (package-menu--find-upgrades, package-menu-mark-upgrades) + (package-menu-execute, package-menu--name-predicate): + Adjust accordingly. + * startup.el (package--description-file): New function. + (command-line): Use it. + * emacs-lisp/package-x.el (package-upload-buffer-internal): + Use package-desc-version. + + * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var. + (byte-compile-preprocess): Use it. + (byte-compile-file-form-defalias): Try a bit harder to use macros we + can't quite recognize. + (byte-compile-add-to-list): Remove. + * emacs-lisp/cconv.el (cconv-warnings-only): New function. + (cconv-closure-convert): Add assertion. + + * emacs-lisp/map-ynp.el: Use lexical-binding. + (map-y-or-n-p): Remove unused vars `tail' and `object'. + Factor out some repeated code. + + 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (with-eval-after-load): New macro. + (eval-after-load): Allow form to be a function. + take advantage of lexical-binding. + (do-after-load-evaluation): Use dolist and adjust to new format. + * simple.el (bad-packages-alist): Use dolist and with-eval-after-load. + + 2013-06-13 Juri Linkov <juri@jurta.org> + + * replace.el (perform-replace): Display "symbol " and other search + modes from `isearch-message-prefix' in the *Help* buffer. + + * isearch.el (isearch-query-replace): Add " symbol" and other + possible search modes from `isearch-message-prefix' to the prompt. + (isearch-occur): Use `with-isearch-suspended' to not exit Isearch + when reading a regexp to collect. + + 2013-06-13 Juri Linkov <juri@jurta.org> + + * isearch.el (word-search-regexp): Match whitespace if the search + string begins or ends in whitespace. The LAX arg is applied to + both ends of the search string. Use `regexp-quote' and explicit + \< and \> instead of \b. Use \` and \' instead of ^ and $. + (isearch-symbol-regexp): Sync with `word-search-regexp' where word + boundaries are replaced with symbol boundaries, and characters + between symbols match non-word non-symbol syntax. (Bug#14602) + + 2013-06-13 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-del-char): Don't exceed the length of + `isearch-string' by the prefix arg. (Bug#14563) + + 2013-06-13 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-yank-word, isearch-yank-line) + (isearch-char-by-name, isearch-quote-char) + (isearch-printing-char, isearch-process-search-char): + Add optional count prefix arg. (Bug#14563) + + * international/isearch-x.el + (isearch-process-search-multibyte-characters): + Add optional count prefix arg. + + 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (internal-push-keymap, internal-pop-keymap): New functions. + (set-temporary-overlay-map): Use them (bug#14095); and take advantage of + lexical-binding. + + 2013-06-13 Vitalie Spinu <spinuvit@gmail.com> + + * subr.el (set-temporary-overlay-map): Add on-exit argument. + + 2013-06-13 Glenn Morris <rgm@gnu.org> + + * startup.el (tty-handle-args): + Don't just discard "--" and anything after. (Bug#14608) + + * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes. + + 2013-06-13 Michael Albinus <michael.albinus@gmx.de> + + Implement changes in Secret Service API. Make it backward compatible. + * net/secrets.el (secrets-struct-secret-content-type): New defonst. + (secrets-create-item): Use it. Prefix properties with interface. + + 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change) + + * term.el (term-suppress-hard-newline): New option. (Bug#12017) + (term-emulate-terminal): Respect term-suppress-hard-newline. + + 2013-06-13 E Sabof <esabof@gmail.com> (tiny change) + + * image-dired.el (image-dired-dired-toggle-marked-thumbs): + Only remove a `thumb-file' overlay. (Bug#14548) + + 2013-06-12 Grégoire Jadi <daimrod@gmail.com> + + * mail/reporter.el (reporter-submit-bug-report): + Handle missing package-name. (Bug#14600) + + 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * textmodes/reftex-cite.el (reftex-cite-regexp-hist) + (reftex-citation-prompt, reftex-default-bibliography) + (reftex-bib-or-thebib, reftex-get-bibfile-list) + (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries) + (reftex-bib-sort-author, reftex-bib-sort-year) + (reftex-bib-sort-year-reverse, reftex-get-crossref-alist) + (reftex-extract-bib-entries-from-thebibliography) + (reftex-get-bibkey-default, reftex-get-bib-names) + (reftex-parse-bibtex-entry, reftex-get-bib-field) + (reftex-format-bib-entry, reftex-parse-bibitem) + (reftex-format-bibitem, reftex-do-citation) + (reftex-figure-out-cite-format, reftex-offer-bib-menu) + (reftex-restrict-bib-matches, reftex-extract-bib-file) + (reftex-insert-bib-matches, reftex-format-citation) + (reftex-make-cite-echo-string, reftex-bibtex-selection-callback) + (reftex-create-bibtex-file): Add docstrings, mostly by converting + existing comments into docstrings. + + 2013-06-12 Xue Fuqiao <xfq.free@gmail.com> + + * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix. + + 2013-06-12 Andreas Schwab <schwab@suse.de> + + * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix + for auto-save files. + + 2013-06-12 Glenn Morris <rgm@gnu.org> + + * ido.el (ido-delete-ignored-files): Remove. + (ido-wide-find-dirs-or-files, ido-make-file-list-1): + Go back to calling ido-ignore-item-p directly. + + 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change) + + * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold. + + * ido.el (ido-delete-ignored-files): New function, + split from ido-make-file-list-1. + (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003) + (ido-make-file-list-1): Use ido-delete-ignored-files. + + 2013-06-12 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-startup) + (inferior-octave-completion-table) + (inferior-octave-track-window-width-change) + (octave-eldoc-function-signatures, octave-help) + (octave-find-definition): Use single quoted strings. + (inferior-octave-startup-args): Change default value. + (inferior-octave-startup): Do not hard code "-i" and + "--no-line-editing". + (inferior-octave-resync-dirs): Add optional arg NOERROR. + (inferior-octave-directory-tracker): Use it. + (octave-goto-function-definition): Robustify. + (octave-help): Support highlighting operators in 'See also'. + (octave-find-definition): Find subfunctions only in Octave mode. + + 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca> + + * help-fns.el (help-fns--compiler-macro): If the handler function is + named, then put a link to it. + * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names. + * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function. + (cl-typep): Use it. + (cl-eval-when): Simplify debug spec. + (cl-define-compiler-macro): Use eval-and-compile. Give a name to the + compiler-macro function instead of setting `compiler-macro-file'. + + 2013-06-12 Xue Fuqiao <xfq.free@gmail.com> + + * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix. + * vc/vc-hooks.el (vc-stay-local): Doc fix. + + 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca> + Daniel Hackney <dan@haxney.org> + + First part of Daniel Hackney's patch to package.el. + * emacs-lisp/package.el: Use defstruct. + (package-desc): New, main struct. + (package--bi-desc, package--ac-desc): New structs, used to describe the + format in external files. + (package-desc-vers): Replace with package-desc-version accessor. + (package-desc-doc): Replace with package-desc-summary accessor. + (package-activate-1): Remove `package' arg since the pkg-vec now + includes the name. + (define-package): Use package-desc-from-define. + (package-unpack-single): Change file-name arg to be a symbol. + (package--add-to-archive-contents): Use package-desc-create and new + accessor functions to package--ac-desc. + (package-buffer-info, package-tar-file-info): Return a package-desc. + (package-install-from-buffer): Remove `type' argument. Change pkg-info + arg to be a package-desc. + (package-install-file): Adjust accordingly. Use \' to match EOS. + (package--from-builtin): New function. + (describe-package-1, package-menu--generate): Use it. + (package--make-autoloads-and-compile): Change name arg to be a symbol. + (package-generate-autoloads): Idem and return the name of the file. + * emacs-lisp/package-x.el (package-upload-buffer-internal): + Change pkg-info arg to be a package-desc. + Use package-make-ac-desc. + (package-upload-file): Use \' to match EOS. + * finder.el (finder-compile-keywords): Use package-make-builtin. + + 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * vc/vc.el (vc-deduce-fileset): Change error message. + (vc-read-backend): New function. + (vc-next-action): Use it. + + * subr.el (function-arity): Remove (mistakenly added) (bug#14590). + + * progmodes/prolog.el (prolog-make-keywords-regexp): Remove. + (prolog-font-lock-keywords): Use regexp-opt instead. + Don't manually highlight strings. + (prolog-mode-variables): Simplify comment-start-skip. + (prolog-consult-compile): Use display-buffer. Remove unused old-filter. + + * emacs-lisp/generic.el (generic--normalise-comments) + (generic-set-comment-syntax, generic-set-comment-vars): New functions. + (generic-mode-set-comments): Use them. + (generic-bracket-support): Use setq-local. + (generic-make-keywords-list): Declare obsolete. + + 2013-06-11 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/lisp-mode.el (lisp-mode-variables): + Prettify after setting font-lock-defaults. (Bug#14574) + + 2013-06-11 Juanma Barranquero <lekktu@gmail.com> + + * replace.el (query-replace, occur-read-regexp-defaults-function) + (replace-search): + * subr.el (declare-function, number-sequence, local-set-key) + (substitute-key-definition, locate-user-emacs-file) + (with-silent-modifications, split-string, eval-after-load): + Fix typos, remove unneeded backslashes and reflow some docstrings. + + 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * international/mule-conf.el (file-coding-system-alist): Use utf-8 as + default for Elisp files. + + 2013-06-11 Glenn Morris <rgm@gnu.org> + + * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map, + although define-derived-mode was doing this anyway. (Bug#14583) + + 2013-06-10 Juanma Barranquero <lekktu@gmail.com> + + * allout.el (allout-encryption-plaintext-sanitization-regexps): + Fix make-variable-buffer-local call to refer to the correct variable. + + 2013-06-10 Aidan Gauland <aidalgol@amuri.net> + + * eshell/em-term.el (eshell-visual-commands) + (eshell-visual-subcommands, eshell-visual-options): + Add summary line to docstrings. Add cross-references. + + 2013-06-10 Glenn Morris <rgm@gnu.org> + + * epa.el (epa-read-file-name): New function. (Bug#14510) + (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name. + + 2013-06-09 Aidan Gauland <aidalgol@amuri.net> + + * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused + output redirection to be ignored with visual commands. + + 2013-06-09 Aidan Gauland <aidalgol@amuri.net> + + * eshell/em-term.el (eshell-visual-command-p): New function. + (eshell-term-initialize): Move long lambda to separate function + eshell-visual-command-p. + * eshell/em-dirs.el (eshell-dirs-initialize): + * eshell/em-script.el (eshell-script-initialize): + Add missing #' to lambda. + + 2013-06-08 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-add-log-current-defun): New function. + (octave-mode): Set add-log-current-defun-function. + (octave-goto-function-definition): Do not move point if not found. + (octave-find-definition): Enhance to try subfunctions first. + + 2013-06-08 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/bytecomp.el (byte-compile-char-before) + (byte-compile-backward-char, byte-compile-backward-word): + Improve previous change, to handle non-explicit nil. + + 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/smie.el: Improve show-paren-mode behavior. + (smie--opener/closer-at-point): New function. + (smie--matching-block-data): Use it. Don't match from right after an + opener or right before a closer. Obey smie-blink-matching-inners. + Don't signal a mismatch for repeated inners like "switch..case..case". + + 2013-06-07 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-mode): Set comment-use-global-state + to t. (Bug#14303) + (octave-function-header-regexp): Fix. (Bug#14570) + (octave-help-mode-finish-hook, octave-help-mode-finish): + Remove. Just use temp-buffer-show-hook. + + * newcomment.el (comment-search-backward): Revert last change. + (Bug#14434) + + * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification. + + 2013-06-07 Eli Zaretskii <eliz@gnu.org> + + * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files + through xargs, to avoid failure due to MS-Windows limitations on + command-line length. + + 2013-06-06 Glenn Morris <rgm@gnu.org> + + * font-lock.el (lisp-font-lock-keywords-2): + Treat user-error like error. + + * emacs-lisp/bytecomp.el (byte-compile-char-before) + (byte-compile-backward-char, byte-compile-backward-word): + Handle explicit nil arguments. (Bug#14565) + + 2013-06-05 Alan Mackenzie <acm@muc.de> + + * isearch.el (isearch-allow-prefix): New user option. + (isearch-other-meta-char): Don't exit isearch when a prefix + argument is typed whilst `isearch-allow-prefix' is non-nil. + (Bug#9706) + + 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * autorevert.el (auto-revert-notify-handler): Use memq. + Hide assertion failure. + + * skeleton.el: Use cl-lib. + (skeleton-further-elements): Use defvar-local. + (skeleton-insert): Use cl-progv. + + 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com> + + * progmodes/prog-mode.el (prog-prettify-symbols) + (prog-prettify-install): Update docstrings. + + 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el: Move all the prog-mode code to prog-mode.el. + * progmodes/prog-mode.el: New file. + * loadup.el: Add prog-mode.el. + + 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com> + + * simple.el (prog-prettify-symbols): Add version. + (prog-prettify-install): Add convenience function to prettify symbols. + + * progmodes/perl-mode.el (perl--augmented-font-lock-keywords) + (perl--augmented-font-lock-keywords-1) + (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded + variables and use it. + + * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords) + (cfengine3-mode): Remove unneeded variable and use it. + + * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords) + (lisp--augmented-font-lock-keywords-1) + (lisp--augmented-font-lock-keywords-2, lisp-mode-variables): + Remove unneeded variables and use it. + + 2013-06-05 João Távora <joaotavora@gmail.com> + + * net/tls.el (open-tls-stream): Remove unneeded buffer contents up + to point when opening the connection. (Bug#14380) + + 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (load-history-regexp, load-history-filename-element) + (eval-after-load, after-load-functions, do-after-load-evaluation) + (eval-next-after-load, display-delayed-warnings) + (collapse-delayed-warnings, delayed-warnings-hook): Move after the + definition of save-match-data. + (overriding-local-map): Remove accidental obsolescence declaration. + + * emacs-lisp/edebug.el (edebug-result): Move before first use. + + 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com> + + Generalize symbol prettify support to prog-mode and implement it + for perl-mode, cfengine3-mode, and emacs-lisp-mode. + * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols) + (prog--prettify-font-lock-compose-symbol) + (prog-prettify-font-lock-symbols-keywords): New variables and + functions to support symbol prettification. + * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords) + (lisp--augmented-font-lock-keywords-1) + (lisp--augmented-font-lock-keywords-2, lisp-mode-variables) + (lisp--prettify-symbols-alist): Implement prettify of lambda. + * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords) + (cfengine3--prettify-symbols-alist, cfengine3-mode): + Implement prettify of -> => :: strings. + * progmodes/perl-mode.el (perl-prettify-symbols) + (perl--font-lock-compose-symbol) + (perl--font-lock-symbols-keywords): Move to prog-mode. + (perl--prettify-symbols-alist): Prettify -> => :: strings. + (perl-font-lock-keywords-1) + (perl-font-lock-keywords-2): Remove explicit prettify support. + (perl--augmented-font-lock-keywords) + (perl--augmented-font-lock-keywords-1) + (perl--augmented-font-lock-keywords-2, perl-mode): + Implement prettify support. + + 2013-06-05 Leo Liu <sdl.web@gmail.com> + + Re-implement SMIE matching block highlight using + show-paren-data-function. (Bug#14395) + * emacs-lisp/smie.el (smie-matching-block-highlight) + (smie--highlight-matching-block-overlay) + (smie--highlight-matching-block-lastpos) + (smie-highlight-matching-block) + (smie-highlight-matching-block-mode): Remove. + (smie--matching-block-data-cache): New variable. + (smie--matching-block-data): New function. + (smie-setup): Use smie--matching-block-data for + show-paren-data-function. + + * progmodes/octave.el (octave-mode-menu): Fix. + (octave-find-definition): Skip garbage lines. + + 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca> + + Fix compilation error with simultaneous dynamic+lexical scoping. + Add warning when a defvar appears after the first let-binding. + * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var. + (byte-compile-close-variables): Initialize it. + (byte-compile--declare-var): New function. + (byte-compile-file-form-defvar) + (byte-compile-file-form-define-abbrev-table) + (byte-compile-file-form-custom-declare-variable): Use it. + (byte-compile-make-lambda-lexenv): Change the argument. Simplify. + (byte-compile-lambda): Share call to byte-compile-arglist-vars. + (byte-compile-bind): Handle dynamic bindings that shadow + lexical bindings. + (byte-compile-unbind): Make arg non-optional. + (byte-compile-let): Simplify. + * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var. + (cconv--analyse-function, cconv-analyse-form): Populate it. + Protect byte-compile-bound-variables to limit the scope of defvars. + (cconv-analyse-form): Add missing rule for (defvar <foo>). + Remove unneeded rule for `declare'. + + * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2 + so as to avoid depending on cl-adjoin at run-time. + * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes. + + * emacs-lisp/macroexp.el (macroexp--compiling-p): New function. + (macroexp--warn-and-return): Use it. + + 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el: Convert to lexical binding. + (overriding-local-map): Make obsolete. + (add-to-list): Doc fix. Add compiler macro. + (read-key): Swap values of local maps. + + 2013-06-05 Leo Liu <sdl.web@gmail.com> + + * eshell/esh-mode.el (eshell-mode): Fix key bindings. + + 2013-06-04 Leo Liu <sdl.web@gmail.com> + + * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG. + (compilation-auto-jump): Suppress the "Mark set" message to give + way to exit message. + + 2013-06-04 Alan Mackenzie <acm@muc.de> + + Remove faulty optimization from indentation calculation. + * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate + search limit based on 2000 characters back from indent-point. + + 2013-06-03 Tassilo Horn <tsdh@gnu.org> + + * eshell/em-term.el (cl-lib): Require `cl-lib'. + + 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/lisp.el: Use lexical-binding. + (lisp--local-variables-1, lisp--local-variables): New functions. + (lisp--local-variables-completion-table): New var. + (lisp-completion-at-point): Use it complete let-bound vars. + + * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros + eagerly (bug#14422). + + 2013-06-03 Michael Albinus <michael.albinus@gmx.de> + + * autorevert.el (auto-revert-notify-enabled) + (auto-revert-notify-rm-watch, auto-revert-notify-add-watch) + (auto-revert-notify-event-p, auto-revert-notify-event-file-name) + (auto-revert-notify-handler): Handle also gfilenotify. + + * subr.el (file-notify-handle-event): New defun. Replacing ... + (inotify-event-p, inotify-handle-event, w32notify-handle-event): + Remove. + + 2013-06-03 Juri Linkov <juri@jurta.org> + + * bindings.el (search-map): Bind `highlight-symbol-at-point' to + `M-s h .'. (Bug#14427) + + * hi-lock.el (highlight-symbol-at-point): New alias for the new + command `hi-lock-face-symbol-at-point'. + (hi-lock-face-symbol-at-point): New command. + (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'. + (hi-lock-menu): Add `highlight-symbol-at-point'. + (hi-lock-mode): Doc fix. + + * isearch.el (isearch-forward-symbol-at-point): New command. + (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'. + (isearch-highlight-regexp): Add a regexp which matches + words/symbols for word/symbol mode. + + * subr.el (find-tag-default-bounds): New function with the body + mostly moved from `find-tag-default'. + (find-tag-default): Move most code to `find-tag-default-bounds', + call it and apply `buffer-substring-no-properties' afterwards. + + 2013-06-03 Tassilo Horn <tsdh@gnu.org> + + * eshell/em-term.el (eshell-term-initialize): + Use `cl-intersection' rather than `intersection'. + + 2013-06-02 Xue Fuqiao <xfq.free@gmail.com> + + * vc/log-view.el: Doc fix. + (log-view-mode-map): Copy keymap from `special-mode-map'. + + 2013-06-02 Eric Ludlam <zappo@gnu.org> + + * emacs-lisp/eieio.el (eieio--defalias, eieio-hook) + (eieio-error-unsupported-class-tags, eieio-skip-typecheck) + (eieio-optimize-primary-methods-flag, eieio-initializing-object) + (eieio-unbound, eieio-default-superclass) + (eieio--define-field-accessors, method-static, method-before) + (method-primary, method-after, method-num-lists) + (method-generic-before, method-generic-primary) + (method-generic-after, method-num-slots) + (eieio-specialized-key-to-generic-key) + (eieio--check-type, class-v, class-p) + (eieio-class-name, define-obsolete-function-alias) + (eieio-class-parents-fast, eieio-class-children-fast) + (same-class-fast-p, class-constructor, generic-p) + (generic-primary-only-p, generic-primary-only-one-p) + (class-option-assoc, class-option, eieio-object-p) + (class-abstract-p, class-method-invocation-order) + (eieio-defclass-autoload-map, eieio-defclass-autoload) + (eieio-class-un-autoload, eieio-defclass) + (eieio-eval-default-p, eieio-perform-slot-validation-for-default) + (eieio-add-new-slot, eieio-copy-parents-into-subclass) + (eieio--defgeneric-init-form, eieio-defgeneric-form) + (eieio-defgeneric-reset-generic-form) + (eieio-defgeneric-form-primary-only) + (eieio-defgeneric-reset-generic-form-primary-only) + (eieio-defgeneric-form-primary-only-one) + (eieio-defgeneric-reset-generic-form-primary-only-one) + (eieio-unbind-method-implementations) + (eieio--defmethod, eieio--typep) + (eieio-perform-slot-validation, eieio-validate-slot-value) + (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound) + (eieio-oref, eieio-oref-default, eieio-default-eval-maybe) + (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p) + (eieio-slot-name-index, eieio-class-slot-name-index) + (eieio-set-defaults, eieio-initarg-to-attribute) + (eieio-attribute-to-initarg, eieio-c3-candidate) + (eieio-c3-merge-lists, eieio-class-precedence-c3) + (eieio-class-precedence-dfs, eieio-class-precedence-bfs) + (eieio-class-precedence-list, eieio-generic-call-methodname) + (eieio-generic-call-arglst, eieio-generic-call-key) + (eieio-generic-call-next-method-list) + (eieio-pre-method-execution-functions, eieio-generic-call) + (eieio-generic-call-primary-only, eieiomt-method-list) + (eieiomt-optimizing-obarray, eieiomt-install) + (eieiomt-add, eieiomt-next, eieiomt-sym-optimize) + (eieio-generic-form, eieio-defmethod, make-obsolete) + (eieio-defgeneric, make-obsolete): Move to eieio-core.el. + (defclass): Remove `eval-and-compile' from macro. + (call-next-method, shared-initialize): Instead of using + `scoped-class' variable, use new eieio--scoped-class, and + eieio--with-scoped-class. + (initialize-instance): Rename local variable 'scoped-class' to + 'this-class' to remove ambiguitity from old global. + + * emacs-lisp/eieio-core.el: New file. Derived from key parts of + eieio.el. + (eieio--scoped-class-stack): New variable. + (eieio--scoped-class): New fcn. + (eieio--with-scoped-class): New scoping macro. + (eieio-defclass): Use pushnew instead of add-to-list. + (eieio-defgeneric-form-primary-only-one, eieio-oset-default) + (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call) + (eieio-generic-call-primary-only, eieiomt-add): Instead of using + `scoped-class' variable, use new eieio--scoped-class, and + eieio--with-scoped-class. + + * emacs-lisp/eieio-base.el (cl-lib): Require during compile. + + 2013-06-02 Tassilo Horn <tsdh@gnu.org> + + * eshell/esh-ext.el (eshell-external-command): Pass args to + `eshell-find-interpreter'. + (eshell-find-interpreter): Add new second parameter ARGS. + + * eshell/em-script.el (eshell-script-initialize): Add second arg + to the function added as MATCH to `eshell-interpreter-alist'. + + * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to + the function added as MATCH to `eshell-interpreter-alist'. + + * eshell/em-term.el (eshell-visual-subcommands): New defcustom. + (eshell-visual-options): New defcustom. + (eshell-escape-control-x): Adapt docstring. + (eshell-term-initialize): Test `eshell-visual-subcommands' and + `eshell-visual-options' in addition to `eshell-visual-commands'. + (eshell-exec-visual): Pass args to `eshell-find-interpreter'. + + 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el (python-indent-block-enders): Add break, + continue and raise keywords. + + 2013-06-01 Glenn Morris <rgm@gnu.org> + + * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound. + + Plain (f)boundp silences compilation warnings since Emacs 22.1. + * progmodes/cc-cmds.el (delete-forward-p): + * progmodes/cc-defs.el (buffer-syntactic-context-depth): + * progmodes/cc-engine.el (buffer-syntactic-context): + * progmodes/cc-fonts.el (face-property-instance): + * progmodes/cc-mode.el (set-keymap-parents): + * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun. + * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1) + * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp. + * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions) + (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar. + + * progmodes/cc-vars.el (other): Emacs has this widget since + at least 21.1, so don't (re)define it. + + * eshell/em-cmpl.el (eshell-cmpl-initialize): + Replace the obsolete alias pcomplete-arg-quote-list. + + 2013-06-01 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-mode-syntax-table): Give `.' + punctuation syntax. + (inferior-octave-minimal-columns) + (inferior-octave-last-column-width): New variables. + (inferior-octave-track-window-width-change): New function. + (inferior-octave-mode): Adjust column width so that Octave output, + for example from 'ls', can fit into the window nicely. + + 2013-05-31 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p): + Highlight expansions inside regexp literals. + + 2013-05-31 Glenn Morris <rgm@gnu.org> + + * obsolete/sym-comp.el (symbol-complete): + Replace obsolete completion-annotate-function. + + * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler. + + 2013-05-31 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p): + New function, checks if point is inside a literal that allows + expression expansion. + (ruby-syntax-propertize-expansion): Use it. + (ruby-syntax-propertize-function): Bind `case-fold-search' to nil + around the body. + + 2013-05-30 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible' + to "\M-si". + (isearch-invisible): New variable. + (isearch-forward): Doc fix. + (isearch-mode): Set `isearch-invisible' + to the value of `search-invisible'. + (isearch-toggle-case-fold): Doc fix. + (isearch-toggle-invisible): New command. + (isearch-query-replace): Let-bind `search-invisible' + to the value of `isearch-invisible'. + (isearch-search): Use `isearch-invisible' instead of + `search-invisible'. Let-bind `search-invisible' + to the value of `isearch-invisible'. (Bug#11378) + + 2013-05-30 Juri Linkov <juri@jurta.org> + + * replace.el (perform-replace): Avoid `isearch-range-invisible' + call when `query-flag' is nil and `search-invisible' is non-nil. + (Bug#11746) + + 2013-05-30 Glenn Morris <rgm@gnu.org> + + * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo. + + * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New. + (cc-require): Suppress spurious "noruntime" warnings. + (cc-require-when-compile): Use fboundp, for sake of compiler. + + * progmodes/cc-mode.el: Move load of cc-vars before that of + cc-langs (which in turn loads cc-vars), to quieten compiler. + + 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca> + + * paren.el: Simplify the code. + (show-paren-mode): Always start the timer. + (show-paren--idle-timer): Rename from show-paren-idle-timer. + (show-paren--overlay, show-paren--overlay-1): Rename from + show-paren-overlay and show-paren-overlay-1, and initialize to an + overlay rather than to nil. + (show-paren-function): Misc cleanup and simplifications. + + 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca> + + * paren.el (show-paren-data-function): New hook. + (show-paren--default): New function, extracted from show-paren-function. + (show-paren-function): Use show-paren-data-function. + + 2013-05-30 Glenn Morris <rgm@gnu.org> + + * ielm.el (ielm-map, ielm-complete-symbol): + Use completion-at-point rather than obsolete functions. + (inferior-emacs-lisp-mode): Doc fix. + Set completion-at-point-functions, rather than + comint-dynamic-complete-functions. + + * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function. + (eshell-cmpl-initialize, eshell-complete-parse-arguments): + Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol. + + * image.el (image-animated-p): Tweak definition. + + * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh. + (rlogin-process-connection-type): Tweak default. Add set-after. + (rlogin-host): Doc fix. + (rlogin): Tweak prompt. + (rlogin-tab-or-complete): Use completion-at-point rather than alias. + + * net/net-utils.el (nslookup-mode-map, ftp-mode-map): + * progmodes/tcl.el (inferior-tcl-mode-map): + Use completion-at-point rather than obsolete alias. + + * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use. + + * minibuffer.el (read-file-name-completion-ignore-case): + Move before completion--in-region, for eager macro expansion. + + 2013-05-29 Juri Linkov <juri@jurta.org> + + * replace.el (occur-engine): Rename `globalcount' to `global-lines' + for total count of matching lines. Add `global-matches' for total + count of matches. Rename `matches' to `lines' for count of + matching lines. Add `matches' for count of matches. + Rename `lines' to `curr-line' for line count. Rename `prev-lines' + to `prev-line' for line number of prev match endpt. + Increment `matches' for every match. Print the number of + matching lines in the header. + (occur-context-lines): Rename `lines' to `curr-line'. + Rename `prev-lines' to `prev-line'. (Bug#14017) + + 2013-05-29 Juri Linkov <juri@jurta.org> + + * replace.el (perform-replace): Add `skip-read-only-count', + `skip-filtered-count', `skip-invisible-count' let-bound to 0. + Increment them for corresponding conditions and report the number + of skipped occurrences in the final message. (Bug#11746) + (query-replace, query-replace-regexp, query-replace-regexp-eval) + (replace-string, replace-regexp): Doc fix. + + 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/trace.el (trace--read-args): Provide a default. + + * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from + prog-mode-map (bug#14504). + + 2013-05-29 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-indent-comment): Tweak regexps. + (octave-help): Small simplification. + + * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn + off the highlight first. + + 2013-05-29 Glenn Morris <rgm@gnu.org> + + * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists): + Handle idlwave-last-system-routine-info-cons-cell being nil. + + * progmodes/idlwave.el (idlwave-scan-user-lib-files) + (idlwave-write-paths): Simplify via with-temp-buffer. + + * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time. + * emulation/cua-rect.el: Also load cua-base at run time. + + * progmodes/cperl-mode.el (imenu-choose-buffer-index) + (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare. + (cperl-imenu-on-info): Require imenu. + + 2013-05-28 Alan Mackenzie <acm@muc.de> + + Handle "capitalised keywords" correctly. + * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil. + + 2013-05-28 Aidan Gauland <aidalgol@amuri.net> + + * eshell/em-unix.el: Add -r option to cp. + + 2013-05-28 Glenn Morris <rgm@gnu.org> + + * vc/vc-arch.el (vc-exec-after): Declare. + (vc-switches): Autoload. + * vc/vc-bzr.el: No need to require vc when compiling. + (vc-exec-after, vc-set-async-update, vc-default-dir-printer) + (vc-resynch-buffer, vc-dir-refresh): Declare. + (vc-setup-buffer, vc-switches): Autoload. + * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff) + (vc-resynch-buffer): Declare. + (vc-switches, vc-default-revert, vc-version-backup-file): Autoload. + * vc/vc-dir.el (desktop-missing-file-warning): Declare. + * vc/vc-git.el (vc-exec-after, vc-set-async-update) + (grep-read-regexp, grep-read-files, grep-expand-template) + (vc-dir-refresh): Declare. + (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload. + * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare. + (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload. + * vc/vc-mtn.el (vc-exec-after): Declare. + (vc-switches): Autoload. + * vc/vc-rcs.el (vc-expand-dirs, vc-switches) + (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload. + (vc-file-tree-walk): Declare. + * vc/vc-sccs.el (vc-file-tree-walk): Declare. + (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify) + (vc-tag-precondition, vc-rename-master): Autoload. + * vc/vc-svn.el (vc-exec-after): Declare. + (vc-switches, vc-setup-buffer): Autoload. + * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert): + Autoload. + (vc-resynch-buffer): Declare. + + * obsolete/fast-lock.el (byte-compile-warnings): + Don't warn about obsolete features in this obsolete file. + + * progmodes/cc-vars.el (c-macro-names-with-semicolon): + Move definition before use. + + * play/dunnet.el (byte-compile-warnings): Don't disable them all. + (dun-unix-verbs): Remove dun-zippy. + (dun-zippy): Remove function. + + * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix. + + 2013-05-27 Juri Linkov <juri@jurta.org> + + * replace.el (replace-search): New function with code moved out + from `perform-replace'. + (replace-highlight, replace-dehighlight): Move function definitions + up closer to `replace-search'. (Bug#11746) + + 2013-05-27 Juri Linkov <juri@jurta.org> + + * replace.el (perform-replace): Ignore invisible matches. + In addition to checking `query-replace-skip-read-only', also + filter out matches by calling `run-hook-with-args-until-failure' + on `isearch-filter-predicates', and also check `search-invisible' + for t or call `isearch-range-invisible'. + (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746) + + 2013-05-27 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-filter-predicates): Rename from + `isearch-filter-predicate'. Doc fix. (Bug#11378) + (isearch-message-prefix): Display text from the property + `isearch-message-prefix' of the currently active filters. + (isearch-search): Don't compare `isearch-filter-predicate' with + `isearch-filter-visible'. Call `run-hook-with-args-until-failure' + on `isearch-filter-predicates'. Also check `search-invisible' for t + or call `isearch-range-invisible'. + (isearch-filter-visible): Make obsolete. + (isearch-lazy-highlight-search): + Call `run-hook-with-args-until-failure' on + `isearch-filter-predicates' and use `isearch-range-invisible'. + + * info.el (Info-search): Call `run-hook-with-args-until-failure' on + `isearch-filter-predicates' instead of `funcall'ing + `isearch-filter-predicate'. + (Info-mode): Set `Info-isearch-filter' to + `isearch-filter-predicates' instead of `isearch-filter-predicate'. + + * dired-aux.el (dired-isearch-filter-predicate-orig): + Remove variable. + (dired-isearch-filenames-toggle, dired-isearch-filenames-setup) + (dired-isearch-filenames-end): Add and remove + `dired-isearch-filter-filenames' in `isearch-filter-predicates' + instead of changing the value of `isearch-filter-predicate'. + Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff". + (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'. + Put property `isearch-message-prefix' to "filename " on + `dired-isearch-filter-filenames'. + + * wdired.el (wdired-change-to-wdired-mode): + Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only' + locally instead of changing `isearch-filter-predicate'. + (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'. + + 2013-05-27 Dmitry Gutov <dgutov@yandex.ru> + + * vc/vc-git.el (vc-git-working-revision): When in detached mode, + return the commit hash (Bug#14459). Also set the + `vc-git-detached' property. + (vc-git--rev-parse): Extract from `vc-git-previous-revision'. + (vc-git-mode-line-string): Use the same help-echo format whether + in detached mode or not, because we know the actual revision now. + When in detached mode, shorten the revision to 7 chars. + + 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/easy-mmode.el (define-minor-mode): + * emacs-lisp/derived.el (define-derived-mode): Always defvar the + mode hook and provide a docstring. + + 2013-05-27 Alan Mackenzie <acm@muc.de> + + Remove spurious syntax-table text properties inserted by C-y. + * progmodes/cc-mode.el (c-after-change): Also clear hard + syntax-table property with value nil. + + 2013-05-27 Michael Albinus <michael.albinus@gmx.de> + + * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay' + when reading the events; the buffer layout shall not be changed. + + 2013-05-27 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-directory-tracker-resync): + New variable. + (inferior-octave-directory-tracker): Automatically re-sync + default-directory. + (octave-help): Improve handling of 'See also'. + + 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca> + + * doc-view.el: Minor naming convention tweaks. + (desktop-buffer-mode-handlers): Don't add to it repeatedly. + + * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops + even if there's no `display' property yet (bug#14435). + + 2013-05-25 Eli Zaretskii <eliz@gnu.org> + + * subr.el (unmsys--file-name): Rename from reveal-filename. + + * Makefile.in (custom-deps, finder-data, autoloads) + ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el) + ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el) + ($(CAL_DIR)/hol-loaddefs.el): All users changed. + + 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use + error-completion on the first 2 args of condition-case (bug#14446). + Don't burp at EOB. + + 2013-05-25 Leo Liu <sdl.web@gmail.com> + + * comint.el (comint-previous-matching-input): Do not flood the + *Messages* buffer with trivial messages. + + 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/flymake.el (flymake-nop): Don't return a string. + (flymake-set-at): Fix typo. + + * simple.el (read--expression): New function, extracted from + eval-expression. Set completion-at-point-functions (bug#14465). + (eval-expression, eval-minibuffer): Use it. + + 2013-05-25 Xue Fuqiao <xfq.free@gmail.com> + + * progmodes/flymake.el (flymake-save-buffer-in-file) + (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop) + (flymake-selected-frame, flymake-log, flymake-ins-after) + (flymake-set-at, flymake-get-buildfile-from-cache) + (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache) + (flymake-find-possible-master-files, flymake-save-buffer-in-file): + Refine the doc string. + (flymake-get-file-name-mode-and-masks): Reformat. + (flymake-get-real-file-name-function): Fix a minor bug. + + 2013-05-24 Juri Linkov <juri@jurta.org> + + * progmodes/grep.el (grep-mode-font-lock-keywords): + Support =linenumber= format used by git-grep for lines with + function names. (Bug#13549) + + 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/octave.el (octave-smie-rules): Return nil rather than + 0 after a semi-colon; it works better for smie-auto-fill. + (octave--indent-new-comment-line): New function. + (octave-indent-new-comment-line): Use it (indirectly). + (octave-mode): Don't disable smie-auto-fill. Use add-function to + modify comment-line-break-function. + + * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust. + (smie-setup): Use add-function to set it. + + 2013-05-24 Sam Steingold <sds@gnu.org> + + * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks' + argument (before the `interactive' argument). + + 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca> + + * image-mode.el (image-mode-winprops): Add winprops to + image-mode-winprops-alist before running + image-mode-new-window-functions. + * doc-view.el (doc-view-new-window-function): Don't delay + doc-view-goto-page via timers (bug#14435). + + 2013-05-24 Tassilo Horn <tsdh@gnu.org> + + * doc-view.el: Integrate with desktop.el. (Bug#14435) + (doc-view-desktop-save-buffer): New function. + (doc-view-restore-desktop-buffer): New function. + (desktop-buffer-mode-handlers): + Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode + handler. + (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom + `desktop-save-buffer' function. + + 2013-05-24 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst. + (tramp-gvfs-file-name-handler): Raise a user error when + `tramp-gvfs-enabled' is nil. + (top): Register signals only when `tramp-gvfs-enabled' is non-nil. + Do not raise a user error when loading package. (Bug#14447) + + * net/xesam.el: Move to obsolete/. + + 2013-05-24 Glenn Morris <rgm@gnu.org> + + * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority. + + * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'. + + * progmodes/cperl-mode.el (cperl-mode): Use fboundp. + (Info-find-node, Man-getpage-in-background): Declare. + + * mail/unrmail.el (unrmail): + Replace obsolete detect-coding-with-priority. + + * net/socks.el (socks-split-string): Use this rather than split-string. + (socks-nslookup-host): Update for above change. + (dynamic-choice, s5-dynamic-choice-match) + (s5-dynamic-choice-match-inline, s5-widget-value-create): + Comment out unused code. + + * tooltip.el (tooltip-use-echo-area): Warn only on 'set. + * progmodes/gud.el (gud-gdb-completion-function): Move before use. + (gud-tooltip-echo-area): Make obsolete. + (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode. + + * progmodes/js.el (js--optimize-arglist): Declare. + + * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare. + + * progmodes/which-func.el (ediff-window-A, ediff-window-B) + (ediff-window-C): Declare. + + * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el: + Tweak requires to silence compiler. + + * obsolete/sym-comp.el: No need to load hipper-exp when compiling. + (he-search-string, he-tried-table, he-expand-list) + (he-init-string, he-string-member, he-substitute-string) + (he-reset-string): Declare. + + * obsolete/options.el (list-options): Use custom-variable-p, + rather than obsolete alias. + + 2013-05-23 Sam Steingold <sds@gnu.org> + + * simple.el (shell-command-on-region): Pass the `replace' argument + down to `call-process-region' to comply with the doc as reported on + <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region> + + 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/smie.el (smie-indent-forward-token) + (smie-indent-backward-token): Handle string tokens (bug#14381). + + 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * ielm.el (ielm-menu): New menu. + (inferior-emacs-lisp-mode): Set comment-start. + + 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * textmodes/reftex.el (reftex-ref-style-toggle): + Fix deactivate action. + + * textmodes/reftex-vars.el (reftex-ref-style-alist): + Add cleveref macros. + + * textmodes/reftex-parse.el (reftex-locate-bibliography-files): + Accept options for bibliography commands. + * textmodes/reftex-vars.el (reftex-bibliography-commands): + Add addbibresource. Basic Biblatex support. + + 2013-05-23 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-gvfs.el (top): + * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors + when loading package. (Bug#14447) + + 2013-05-23 Glenn Morris <rgm@gnu.org> + + * progmodes/js.el: No need to load comint when compiling. + (ring-insert, comint-send-string, comint-send-input) + (comint-last-input-end, ido-chop): Declare. + + * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time. + * vc/ediff-mult.el: Adjust requires. + (ediff-directories-internal, ediff-directory-revisions-internal) + (ediff-patch-file-internal): Declare. + * vc/ediff-ptch.el: Adjust requires. + (ediff-use-last-dir, ediff-buffers-internal): Declare. + (ediff-find-file): Autoload. + * vc/ediff-util.el: No need to load ediff when compiling. + (ediff-regions-internal): Declare. + * vc/ediff-wind.el: Adjust requires. + (ediff-compute-toolbar-width): Define when compiling. + (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare. + * vc/ediff.el: No need to load dired, ediff-ptch when compiling. + (dired-get-filename, dired-get-marked-files) + (ediff-last-dir-patch, ediff-patch-default-directory) + (ediff-get-patch-buffer, ediff-dispatch-file-patching-job) + (ediff-patch-buffer-internal): Declare. + + * emacs-lisp/checkdoc.el: No need to load ispell when compiling. + (ispell-process, ispell-buffer-local-words, lm-summary) + (lm-section-start, lm-section-end): Declare. + (checkdoc-ispell-init): Simplify. + + * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg) + (he-string-member, he-reset-string, he-substitute-string): Declare. + + * eshell/em-ls.el: Adjust requires. + (eshell-glob-regexp): Declare. + * eshell/em-tramp.el: Adjust requires. + (eshell-parse-command): Autoload. + * eshell/em-xtra.el: Adjust requires. + (eshell-parse-command): Autoload. + * eshell/esh-ext.el: Adjust requires. + (eshell-parse-command, eshell-close-handles): Autoload. + * eshell/esh-io.el: Adjust requires. + (eshell-output-filter): Autoload. + * eshell/esh-util.el: No need to load tramp when compiling. + (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime): + Declare. + (eshell-parse-ange-ls): Require ange-ftp and tramp. + * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el: + * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el: + * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el: + * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el: + * eshell/esh-opt.el, eshell/esh-proc.el: + * eshell/esh-var.el: Adjust requires. + * eshell/eshell.el: Do not require esh-util twice. + (eshell-add-input-to-history): Declare. + (eshell-command): Check history module is active before using it. + + * eshell/em-ls.el (eshell-ls-dir): Fix -A handling. + + 2013-05-22 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-startup): Fix bug#14433. + + 2013-05-22 Michael Albinus <michael.albinus@gmx.de> + + * autorevert.el (auto-revert-notify-add-watch) + (auto-revert-notify-handler): Add `attrib' for the inotify case, + it indicates changes in file modification time. + + 2013-05-22 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): + Always delete the autoloaded function from the noruntime and + unresolved functions lists. + + * allout.el: No need to load epa, epg, overlay when compiling. + (epg-context-set-passphrase-callback, epg-list-keys) + (epg-decrypt-string, epg-encrypt-string, epg-user-id-string) + (epg-key-user-id-list): Declare. + + * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros) + (viper-set-parsing-style-toggling-macro) + (viper-set-emacs-state-searchstyle-macros): + Use called-interactively-p on Emacs. + (viper-looking-back): Make it an obsolete alias. Update callers. + * emulation/viper-ex.el: Load viper-keym, not viper-cmd. + Use looking-back rather than viper-looking-back. + (viper-tmp-insert-at-eob, viper-enlarge-region) + (viper-read-string-with-history, viper-register-to-point) + (viper-append-to-register, viper-change-state-to-vi) + (viper-backward-char-carefully, viper-forward-char-carefully) + (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary) + (viper-change-state-to-emacs): Declare. + * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd. + (viper-change-state-to-insert, viper-change-state-to-vi): Declare. + * emulation/viper-mous.el: Do not load viper-cmd. + (viper-backward-char-carefully, viper-forward-char-carefully) + (viper-forward-word, viper-adjust-window): Declare. + + * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs. + + * progmodes/idlw-help.el (idlwave-help-fontify): + Use called-interactively-p. + + * term/w32console.el (w32-get-console-codepage) + (w32-get-console-output-codepage): Declare. + + * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): + Remove unnecessary declarations. + (dframe-message): Doc fix. + + * info.el (dframe-select-attached-frame, dframe-current-frame): + Declare. + + * speedbar.el (speedbar-message): Make it an obsolete alias. + Update all callers. + (speedbar-with-attached-buffer) + (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete. + (speedbar-with-writable): Use backquote. + * emacs-lisp/eieio-opt.el (eieio-describe-class-sb): + * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click): + Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame + rather than speedbar- aliases. + * mail/rmail.el: Load dframe rather than speedbar when compiling. + (speedbar-make-specialized-keymap, speedbar-insert-button) + (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame) + (speedbar-do-function-pointer): Declare. + (rmail-speedbar-button, rmail-speedbar-find-file) + (rmail-speedbar-move-message): + Use dframe-with-attached-buffer rather than speedbar- alias. + * progmodes/gud.el: Load dframe rather than speedbar when compiling. + (dframe-message, speedbar-make-specialized-keymap) + (speedbar-add-expansion-list, speedbar-mode-functions-list) + (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support) + (speedbar-insert-button, dframe-select-attached-frame) + (dframe-maybee-jump-to-attached-frame) + (speedbar-change-initial-expansion-list) + (speedbar-previously-used-expansion-list-name): Declare. + (gud-speedbar-item-info, gud-gdb-goto-stackframe): + Use dframe-message, dframe-with-attached-buffer rather than + speedbar- aliases. + (gud-sentinel): Silence compiler. + * progmodes/vhdl-mode.el (speedbar-refresh) + (speedbar-do-function-pointer, speedbar-add-supported-extension) + (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap) + (speedbar-change-initial-expansion-list, speedbar-add-expansion-list) + (speedbar-extension-list-to-regex, speedbar-directory-buttons) + (speedbar-file-lists, speedbar-make-tag-line) + (speedbar-line-directory, speedbar-goto-this-file) + (speedbar-center-buffer-smartly, speedbar-change-expand-button-char) + (speedbar-delete-subblock, speedbar-position-cursor-on-line) + (speedbar-make-button, speedbar-reset-scanners) + (speedbar-files-item-info, speedbar-line-text) + (speedbar-find-file-in-frame, speedbar-set-timer) + (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare. + (speedbar-with-writable): Do not (re)define it. + (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame + rather than speedbar- alias. + + 2013-05-21 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-mode-menu): Update and re-organize + menu items. + (octave-mode): Tweak fill-nobreak-predicate. + (inferior-octave-startup): Check process to avoid infinite loop. + (inferior-octave): Pop to buffer first to show abornmal process + exit information. + + 2013-05-21 Glenn Morris <rgm@gnu.org> + + * printing.el (pr-menu-bar): Define when compiling. + + 2013-05-21 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-auto-fill): Remove. + (octave-indent-new-comment-line): Improve. + (octave-mode): Use auto fill mode through + comment-line-break-function and fill-nobreak-predicate. + (octave-goto-function-definition): Support DEFUN_DLD. + (octave-beginning-of-defun): Small tweak. + (octave-help): Show parent directory. + + 2013-05-21 Glenn Morris <rgm@gnu.org> + + * files.el (dired-unmark): + * progmodes/gud.el (gdb-input): Update declarations. + + * calculator.el (electric, ehelp): No need to load when compiling. + (Electric-command-loop, electric-describe-mode): Declare. + + * doc-view.el (doc-view-current-converter-processes): Move before use. + + * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): + Move MODE-set-explicitly definition before use. + + * international/mule-diag.el (mule-diag): + Don't use obsolete window-system-version. + + * mail/feedmail.el (smtpmail): No need to load when compiling. + (smtpmail-via-smtp, smtpmail-smtp-server): Declare. + + * mail/mail-utils.el (rfc822): No need to load when compiling. + (rfc822-addresses): Autoload it. + (mail-strip-quoted-names): Trivial simplification. + + * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare. + (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm. + + * net/snmp-mode.el (tempo): Don't duplicate requires. + + * progmodes/prolog.el (info): No need to load when compiling. + (comint): Require before shell requires it. + (Info-goto-node): Autoload it. + (Info-follow-nearest-node): Declare. + (prolog-help-info, prolog-goto-predicate-info): No need to require info. + + * textmodes/artist.el (picture-mode-exit): Declare. + + * textmodes/reftex-parse.el (reftex-parse-from-file): + Trivial rewrite so the compiler can parse it better. + + 2013-05-20 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-help-mode-map) + (octave-help-mode-finish-hook): New variables. + (octave-help-mode, octave-help-mode-finish): New functions. + (octave-help): Use octave-help-mode. + + 2013-05-20 Glenn Morris <rgm@gnu.org> + + * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420) + + 2013-05-19 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to + start at point, so that expansion starting right after opening + slash in a regexp is recognized. + (ruby-syntax-before-regexp-re): New defvar, extracted from + ruby-syntax-propertize-function. Since the value of this regexp + is looked up at runtime now, we should be able to turn + `ruby-syntax-methods-before-regexp' into a defcustom later. + (ruby-syntax-propertize-function): Split regexp matching into two + parts, for opening and closing slashes. That allows us to skip + over string interpolations and support multiline regexps. + Don't call `ruby-syntax-propertize-expansions', instead use another rule + for them, which calls `ruby-syntax-propertize-expansion'. + (ruby-syntax-propertize-expansions): Move `remove-text-properties' + call to `ruby-syntax-propertize-function'. + (ruby-syntax-propertize-expansion): Extracted from + `ruby-syntax-propertize-expansions'. Handles one expansion. + (ruby-syntax-propertize-percent-literal): Leave point right after + the percent symbol, so that the expression expansion rule can + propertize the contents. + (ruby-syntax-propertize-heredoc): Leave point at bol following the + heredoc openers. + (ruby-syntax-propertize-expansions): Remove. + + 2013-05-18 Juri Linkov <juri@jurta.org> + + * man.el (Man-default-man-entry): Remove `-' from the end + of the default value. (Bug#14400) + + 2013-05-18 Glenn Morris <rgm@gnu.org> + + * comint.el (comint-password-prompt-regexp): + Allow "password for XXX" where XXX contains colons (eg https://...). + + 2013-05-18 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR + instead. Include "--no-gui" to prevent hangs for Octave > 3.7. + (octave-source-directories): Don't check process. + (octave-source-directories, octave-find-definition): Doc fix. + + 2013-05-18 Glenn Morris <rgm@gnu.org> + + * progmodes/vhdl-mode.el (vhdl-mode-map-init): + Remove backspace/delete bindings. (Bug#14392) + + * cus-dep.el (custom-make-dependencies): Sort the output. + (custom-versions-load-alist): Convert comment to doc. + + 2013-05-17 Leo Liu <sdl.web@gmail.com> + + * newcomment.el (comment-search-backward): Stricter in finding + comment start. (Bug#14303) + + * progmodes/octave.el (octave-comment-start): Remove the SPC char. + (octave-comment-start-skip): Properly anchored. + + 2013-05-17 Leo Liu <sdl.web@gmail.com> + + * emacs-lisp/smie.el (smie-highlight-matching-block-mode): + Clean up when turned off. (Bug#14395) + (smie--highlight-matching-block-overlay): No longer buffer-local. + (smie-highlight-matching-block): Adjust. + + 2013-05-17 Paul Eggert <eggert@cs.ucla.edu> + + Doc string fix for "nanoseconds" (Bug#14406). + * emacs-lisp/timer.el (timer-relative-time, timer-inc-time): + Fix doc string typo that had "nanoseconds" instead of "microseconds". + + 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com> + + * calc/calc-units.el (math-extract-units): Preserve powers + of units. + + 2013-05-17 Leo Liu <sdl.web@gmail.com> + + * subr.el (delete-consecutive-dups): New function. + * ido.el (ido-set-matches-1): Use it. + * progmodes/octave.el (inferior-octave-completion-table): Use it. + * ido.el (ido-remove-consecutive-dups): Remove. + + 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re) + (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than + regexp-opt's `words'. + + 2013-05-16 Leo Liu <sdl.web@gmail.com> + + * emacs-lisp/smie.el (smie-matching-block-highlight): New face. + (smie--highlight-matching-block-overlay) + (smie--highlight-matching-block-lastpos) + (smie--highlight-matching-block-timer): New variables. + (smie-highlight-matching-block): New function. + (smie-highlight-matching-block-mode): New minor mode. (Bug#14395) + (smie-setup): Conditionally enable smie-blink-matching-open. + + 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org> + + Sync with upstream verilog-mode r840. + * progmodes/verilog-mode.el (verilog-mode-version) + (verilog-mode-release-date): Update. + (verilog-auto-lineup, verilog-auto-reset): Doc fixes. + (verilog-sig-tieoff): Fix string error on + AUTORESET with colon define, bug594. Reported by Andrew Hou. + (verilog-read-decls): Fix parameters confusing + AUTOINST interfaces, bug565. Reported by Leith Johnson. + + 2013-05-16 Eli Zaretskii <eliz@gnu.org> + + * subr.el (reveal-filename): New function. + + * loadup.el: Compute Emacs executable versions on MS-Windows, + where executables have the .exe extension. Add a hard link + emacs-XX.YY.ZZ.exe on MS-Windows. + + * Makefile.in (XARGS_LIMIT): New variable. + (custom-deps, finder-data, autoloads) + ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el) + ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el) + ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename. + (compile-main): Limit xargs according to $(XARGS_LIMIT). + + 2013-05-16 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-indent-defun): Mark obsolete. + (octave-mode-menu, octave-mode-map): Remove its uses. + + 2013-05-16 Reto Zimmermann <reto@gnu.org> + + Sync with upstream vhdl mode v3.34.2. + * progmodes/vhdl-mode.el: Use `push' throughout. + (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update. + (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n". + Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler. + (vhdl-actual-generic-name): New option to derive actual generic name. + (vhdl-port-paste-signals): Replace formal by actual generics. + (vhdl-beautify): New name for old group vhdl-align. Update users. + (vhdl-beautify-options): New option. + (vhdl-last-input-event): New compat alias. Use throughout. + (vhdl-goto-line): Replace user level function `goto-line'. + (vhdl-mode-map): Add bindings for vhdl-fix-statement-region, + vhdl-fix-statement-buffer. + (vhdl-create-mode-menu): Add some entries. + (vhdl-align-region-groups): Respect vhdl-beautify-options. + (vhdl-align-inline-comment-region-1): Handle "--" inside string. + (vhdl-fixup-whitespace-region): Handle symbols at EOL. + (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands, + to force statements on one line. + (vhdl-remove-trailing-spaces-region): + New, split from vhdl-remove-trailing-spaces. + (vhdl-beautify-region): Fix statements, trailing spaces, ^M character. + Respect vhdl-beautify-options. + (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer. + (vhdl-update-sensitivity-list): Not add with index if exists without. + Not include array index with signal. Ignore keywords in comments. + (vhdl-get-visible-signals): Regexp tweaks. + (vhdl-template-component-inst): Handle empty library. + (vhdl-template-type): Add template for 'enum' type. + (vhdl-port-paste-generic-map, vhdl-port-paste-constants): + Use vhdl-replace-string. + (vhdl-port-paste-signals): Use vhdl-prepare-search-1. + (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map. + (vhdl-speedbar-initialize): Update for above name change. + (vhdl-compose-wire-components): Fix in handling of constants. + (vhdl-error-regexp-emacs-alist): New variable. + (vhdl-error-regexp-add-emacs): New function; + adds support for new compile.el (Emacs 22+) + (vhdl-generate-makefile-1): Change target order for single lib. units. + Allow use of absolute file names. + + 2013-05-16 Leo Liu <sdl.web@gmail.com> + + * simple.el (prog-indent-sexp): Indent enclosing defun. + + 2013-05-15 Glenn Morris <rgm@gnu.org> + + * cus-start.el (show-trailing-whitespace): Move to editing basics. + * faces.el (trailing-whitespace): Don't use whitespace-faces group. + * obsolete/old-whitespace.el (whitespace-faces): Remove group. + (whitespace-highlight): Move to whitespace group. + + * comint.el (comint-source): + * pcmpl-linux.el (pcmpl-linux): + * shell.el (shell-faces): + * eshell/esh-opt.el (eshell-opt): + * international/ccl.el (ccl): Remove empty custom groups. + + * completion.el (dynamic-completion-mode): + * jit-lock.el (jit-lock-debug-mode): + * minibuffer.el (completion-in-region-mode): + * type-break.el (type-break-mode-line-message-mode) + (type-break-query-mode): + * emulation/tpu-edt.el (tpu-edt-mode): + * progmodes/subword.el (global-subword-mode, global-superword-mode): + * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode): + * term/vt100.el (vt100-wide-mode): Specify explicit :group. + + * term/xterm.el (xterm): Change parent group to terminals. + + * master.el (master): Remove empty custom group. + (master-mode): Remove unused :group argument. + * textmodes/refill.el (refill): Remove empty custom group. + (refill-mode): Remove unused :group argument. + + * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group. + + * cus-dep.el: Provide a feature. + (custom-make-dependencies): Ignore dotfiles (dir-locals). + Don't mistakenly ignore files whose basenames match a basename + from preloaded-file-list (eg cedet/ede/simple.el). + Add a fallback method for getting :group. + + 2013-05-15 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-char-by-name): Rename from + `isearch-insert-char-by-name'. Doc fix. + (isearch-forward): Mention `isearch-char-by-name' in + the docstring. (Bug#13348) + + * isearch.el (minibuffer-local-isearch-map): Bind "\r" to + `exit-minibuffer' instead of + `isearch-nonincremental-exit-minibuffer'. + (isearch-edit-string): Remove mention of + `isearch-nonincremental-exit-minibuffer' from docstring. + (isearch-nonincremental-exit-minibuffer): Mark as obsolete. + (isearch-forward-exit-minibuffer) + (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348) + + 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> + + * loadup.el: Just use unversioned DOC. + + * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other + literals as extending to EOB. + (nxml-last-fontify-end): Remove unused variable. + (nxml-after-change1): Use with-silent-modifications. + (nxml-extend-after-change-region): Simplify. + (nxml-extend-after-change-region1): Remove function. + (nxml-after-change1): Don't adjust for dependent regions. + (nxml-fontify-matcher): Simplify. + * nxml/xmltok.el (xmltok-dependent-regions): Remove variable. + (xmltok-add-dependent): Remove function. + (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open) + (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal) + (xmltok-scan-prolog-after-processing-instruction-open): Treat + unclosed <[[, <?, comment, and other literals as extending to EOB. + * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions) + (rng-mark-xmltok-dependent-region, rng-dependent-region-changed): + Remove functions. + (rng-do-some-validation-1): Don't mark dependent regions. + * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions) + (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region) + (nxml-clear-dependent-regions): Remove functions. + (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward) + (nxml-ensure-scan-up-to-date): + Don't clear&mark dependent regions. + + 2013-05-15 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-goto-function-definition): + Improve and fix callers. + + 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in + the setter (bug#14387). + + * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the + surrounding group (bug#14402). + + 2013-05-14 Juri Linkov <juri@jurta.org> + + * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil. + (Bug#14390) + + 2013-05-14 Glenn Morris <rgm@gnu.org> + + * progmodes/f90.el (f90-imenu-generic-expression): + Fix typo in 2013-05-08 change. (Bug#14402) + + 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com> + + * progmodes/gdb-mi.el (gdb-running, gdb-starting): + Remove signals for which replies are never received. + + 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com> + + * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845) + (gdb-handler-alist, gdb-handler-number): Remove variables. + (gdb-handler-list): New variable. + (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function) + (gdb-pending-handler-p, gdb-handle-reply) + (gdb-remove-all-pending-triggers): New functions. + (gdb-discard-unordered-replies): New defcustom. + (gdb-handler): New defstruct. + (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list. + instead of gdb-pending-triggers. Update docstring. + (gdb-init-1): Remove dead variables. Initialize gdb-handler-list. + (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update) + (gdb-var-update-handler, def-gdb-auto-update-trigger) + (def-gdb-auto-update-handler, gdb-get-changed-registers) + (gdb-changed-registers-handler, gdb-get-main-selected-frame) + (gdb-frame-handler): Pending triggers are now automatically managed. + (def-gdb-trigger-and-handler, def-gdb-auto-update-handler): + Remove argument. + (gdb-input): Automatically handles pending triggers. Update docstring. + (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list. + (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler): + Update comments. + (gdb-done-or-error): Now use gdb-handle-reply. + + 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com> + + * progmodes/gdb-mi.el (gdb-input): Include token numbers in + gdb-debug-log. + + 2013-05-14 Glenn Morris <rgm@gnu.org> + + * subr.el (user-emacs-directory-warning): New option. + (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930) + + 2013-05-14 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-font-lock-keywords): Fix error + during redisplay. + (octave-goto-function-definition, octave-find-definition): Minor tweaks. + (octave-font-lock-texinfo-comment): Fix invalid search bound + error: wrong side of point. + + 2013-05-14 Glenn Morris <rgm@gnu.org> + + * progmodes/flymake.el (flymake-xml-program): New option. + (flymake-xml-init): Use it. + + * term/xterm.el: Provide a feature. + + * term/sup-mouse.el: Move to obsolete/. Provide a feature. + + 2013-05-13 Glenn Morris <rgm@gnu.org> + + * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh): + Add compat aliases as a hack workaround. (Bug#14384) + + 2013-05-13 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-indent-comment): Fix indentation for + ###, and %!. + (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of + C-M-q. + (octave-comment-start-skip): Include %!. + (octave-mode): Set comment-start-skip to octave-comment-start-skip. + + 2013-05-12 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-startup): Store the value + of __octave_srcdir__ for octave-source-directories. + (inferior-octave-check-process): New function refactored out of + inferior-octave-send-list-and-digest. + (octave-source-directories) + (octave-find-definition-filename-function): New variables. + (octave-source-directories) + (octave-find-definition-default-filename): New functions. + (octave-find-definition): Improve to find functions implemented in C++. + + 2013-05-12 Glenn Morris <rgm@gnu.org> + + * calendar/diary-lib.el (diary-outlook-format-1): + Don't include dayname in the output. (Bug#14349) + + 2013-05-11 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix. + + * cus-dep.el (custom-make-dependencies): Only use safe local variables. + Treat cc-provide like provide. + + 2013-05-11 Kevin Ryde <user42@zip.com.au> + + * cus-dep.el (custom-make-dependencies): + Use generated-autoload-load-name for the sake of files such + such cedet/semantic/bovine/c.el, where the base file name + is not in load-path. (Bug#5277) + + 2013-05-11 Glenn Morris <rgm@gnu.org> + + * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el: + Provide features. + + 2013-05-11 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-indent-comment): Improve. + (octave-eldoc-message-style, octave-eldoc-cache): New variables. + (octave-eldoc-function-signatures, octave-eldoc-function): + New functions. + (octave-mode, inferior-octave-mode): Add eldoc support. + + 2013-05-11 Richard Stallman <rms@gnu.org> + + * epa.el (epa-decrypt-file): Take output file name as argument + and read it using `interactive'. + + 2013-05-11 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-beginning-of-line) + (octave-end-of-line): Check before using up-list because it jumps + out of more syntactic contructs since moving to smie. + (octave-indent-comment): New function. + (octave-mode): Use it in smie-indent-functions. (Bug#14350) + (octave-begin-keywords, octave-end-keywords) + (octave-reserved-words, octave-smie-bnf-table) + (octave-smie-rules): Add new keywords from Octave 3.6.4. + + 2013-05-11 Glenn Morris <rgm@gnu.org> + + * faces.el (internal-face-x-get-resource): + * frame.el (ns-display-monitor-attributes-list): + * calc/calc-aent.el (math-to-radians-2): + * emacs-lisp/package.el (tar-header-name, tar-header-link-type): + Fix declarations. + + * calc/calc-menu.el: Make it loadable in isolation. + + * net/eudcb-bbdb.el: Make it loadable without bbdb. + (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones) + (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result) + (eudc-bbdb-query-internal): Require 'bbdb. + + * lpr.el (lpr-headers-switches): + * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type. + + * progmodes/sql.el (sql-login-params): Fix and improve :type. + + * emulation/edt-mapper.el: In batch mode, error rather than hang. + + * term.el (term-set-escape-char): Make it idempotent. + + 2013-05-10 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-completion-table): + No longer a function and all uses changed. Use cache to speed up + completion due to bug#11906. + (octave-beginning-of-defun): Re-write to be more general. + + 2013-05-10 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/cl-macs.el (cl-loop): Doc fix. + + 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca> + + * comint.el (comint-redirect-send-command-to-process): Use :around + rather than :override for comint-redirect-filter. + (comint-redirect-filter): Add the corresponding `orig-filter' argument. + Call it instead of comint-redirect-original-filter-function (which + is gone). Reported by Juanma Barranquero <lekktu@gmail.com>. + + 2013-05-09 Jan Djärv <jan.h.d@swipnet.se> + + * frame.el (display-monitor-attributes-list): Add NS case. + (ns-display-monitor-attributes-list): Declare. + + 2013-05-09 Ulrich Mueller <ulm@gentoo.org> + + * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360) + + 2013-05-09 Glenn Morris <rgm@gnu.org> + + * international/fontset.el (vertical-centering-font-regexp): + Set standard-value. + + * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc. + + * bookmark.el (bookmark-search-delay): + * cus-start.el (vertical-centering-font-regexp): + * ps-mule.el (ps-mule-font-info-database-default): + * ps-print.el (ps-default-fg, ps-default-bg): + * type-break.el (type-break-good-break-interval): + * whitespace.el (whitespace-indentation-regexp) + (whitespace-space-after-tab-regexp): + * emacs-lisp/testcover.el (testcover-1value-functions) + (testcover-noreturn-functions, testcover-progn-functions) + (testcover-prog1-functions): + * emulation/viper-init.el (viper-emacs-state-cursor-color): + * eshell/em-glob.el (eshell-glob-translate-alist): + * play/tetris.el (tetris-tty-colors): + * progmodes/cpp.el (cpp-face-default-list): + * progmodes/flymake.el (flymake-allowed-file-name-masks): + * progmodes/idlw-help.el (idlwave-help-browser-generic-program) + (idlwave-help-browser-generic-args): + * progmodes/make-mode.el (makefile-special-targets-list): + * progmodes/python.el (python-shell-virtualenv-path): + * progmodes/verilog-mode.el (verilog-active-low-regexp) + (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp) + (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp) + (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp): + * textmodes/reftex-vars.el (reftex-format-label-function): + * textmodes/remember.el (remember-diary-file): Fix custom types. + + * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo. + Add :version. + + 2013-05-09 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-completion-at-point): + Restore file completion. (Bug#14300) + (inferior-octave-startup): Fix incorrect highlighting for the + first prompt. + + 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/ruby-mode.el: First cut at SMIE support. + (ruby-use-smie): New var. + (ruby-smie-grammar): New constant. + (ruby-smie--bosp, ruby-smie--implicit-semi-p) + (ruby-smie--forward-token, ruby-smie--backward-token) + (ruby-smie-rules): New functions. + (ruby-mode-variables): Setup SMIE if applicable. + + 2013-05-08 Eli Zaretskii <eliz@gnu.org> + + * simple.el (line-move-visual): Signal beginning/end of buffer + only if vertical-motion moved less than it was requested. Avoids + silly incorrect error messages when there are display strings with + multiple newlines at EOL. + + 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/vera-mode.el (vera-underscore-is-part-of-word): + * progmodes/prolog.el (prolog-underscore-wordchar-flag) + (prolog-char-quote-workaround): + * progmodes/cperl-mode.el (cperl-under-as-char): + * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word): + Mark as obsolete. + (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in + their declaration. + (vhdl-mode-syntax-table-init): Remove. + + * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on + last change. + + * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol + syntax for "_". + (ld-script-font-lock-keywords): + Change regexps to use things like \_< and \_>. + + * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_". + Change all regexps to use things like \_< and \_>. + + * progmodes/autoconf.el (autoconf-definition-regexp) + (autoconf-font-lock-keywords, autoconf-current-defun-function): + Handle a _ with symbol syntax. + (autoconf-mode): Don't change the syntax-table for imenu and font-lock. + + * progmodes/ada-mode.el (ada-mode-abbrev-table): + Consolidate declaration. + (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in + the declaration. + (ada-create-syntax-table): Remove. + (ada-capitalize-word): Don't mess with the syntax of "_" since it + already has the right syntax nowadays. + (ada-goto-next-word): Don't change the syntax of "_". + + * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete + with-wrapper-hook. + + 2013-05-08 Sam Steingold <sds@gnu.org> + + * thingatpt.el (thing-at-point): Accept optional second argument + NO-PROPERTIES to strip the text properties from the return value. + * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES + to `thing-at-point' instead of stripping the properties ourselves. + Also, when `thing-at-point' fails to find a url, prepend "http://" + to the filename at point on the assumption that the user is + pointing at something like gnu.org/gnu. + + 2013-05-08 Juanma Barranquero <lekktu@gmail.com> + + * emacs-lisp/bytecomp.el (byte-compile-insert-header): + * faces.el (crm-separator): + Silence byte-compiler. + + * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode) + (tool-bar-map): Remove unneeded defvars. + + 2013-05-08 Leo Liu <sdl.web@gmail.com> + + Re-work a fix for bug#10994 based on Le Wang's patch. + * ido.el (ido-remove-consecutive-dups): New helper. + (ido-completing-read): Use it. + (ido-chop): Revert fix for bug#10994. + + 2013-05-08 Adam Spiers <emacs@adamspiers.org> + + * cus-edit.el (custom-save-variables): + Pretty-print long values. (Bug#14187) + + 2013-05-08 Glenn Morris <rgm@gnu.org> + + * progmodes/m4-mode.el (m4-program): Assume it is in PATH. + (m4-mode-syntax-table): Init in the defvar. + (m4-mode-abbrev-table): Let define-derived-mode define it. + + 2013-05-08 Tom Tromey <tromey@redhat.com> + + * progmodes/m4-mode.el (m4-mode-syntax-table): + Do not treat "_" as word constituent. (Bug#14167) + + 2013-05-07 Glenn Morris <rgm@gnu.org> + + * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar. + Remove explicit eshell-isearch-cancel-map. + + * progmodes/f90.el (f90-smart-end-names): New option. + (f90-smart-end): Doc fix. + (f90-end-block-optional-name): New constant. + (f90-block-match): Respect f90-smart-end-names. + + 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/octave.el (octave-smie-forward-token): Be more careful + about implicit semi-colons (bug#14218). + + 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * frame.el (display-monitor-attributes-list) + (frame-monitor-attributes): New functions. + + 2013-05-06 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-syntax-propertize-function): Change + \'s syntax to escape when inside double-quoted strings. (Bug#14332) + (octave-font-lock-keywords): Use octave-operator-regexp. + (octave-completion-at-point): Rename from + octave-completion-at-point-function. + (inferior-octave-directory-tracker): Robustify. + (octave-text-functions): Remove and fix its uses. No such things + any more. + + 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/trace.el (trace--display-buffer): New function. + (trace-make-advice): Use it. + + 2013-05-06 Juri Linkov <juri@jurta.org> + + * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344) + (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1): + Doc fix. + (emacs-lisp-mode-map): Replace "minibuffer" with "echo area" + in the help string. (Bug#12985) + + 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change) + + * simple.el (shell-command-on-region): Doc fix. (Bug#14279) + + 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/perl-mode.el: Add support for here documents. + (perl-syntax-propertize-function): Match here-doc markers. + (perl-syntax-propertize-special-constructs): Find their end. + (perl-imenu-generic-expression): Use [:alnum:]. + + * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found. + (advice--add-function): Refresh the advice if already present + (bug#14317). + + 2013-05-06 Ivan Andrus <darthandrus@gmail.com> + + * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339) + + 2013-05-06 Glenn Morris <rgm@gnu.org> + + * w32-fns.el (w32-charset-info-alist): Declare. + + * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch + of its defcustom properties. + (eshell-cmpl-initialize): No need to load pcomplete. + + * generic-x.el: No need to require comint when compiling. + + * net/eudc-export.el: Make it loadable without bbdb. + (top-level): Use require rather than load-library. + (eudc-create-bbdb-record, eudc-bbdbify-phone) + (eudc-batch-export-records-to-bbdb) + (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert): + Require bbdb. + + 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove. + (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with + some tweaks, instead. + + 2013-05-05 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-font-lock-keywords) + (octave-font-lock-texinfo-comment): Adjust for the byte-compiler. + (inferior-octave-send-list-and-digest): Improve error message. + (octave-mode, inferior-octave-mode): Use setq-local. + (octave-help): Set info-lookup-mode. + + 2013-05-05 Richard Stallman <rms@gnu.org> + + * vc/compare-w.el (compare-windows-whitespace): + Treat no-break space as whitespace. + + * mail/rmailsum.el (rmail-summary-rmail-update): + Detect empty summary and don't change selected message. + (rmail-summary-goto-msg): Likewise. + + * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1): + Doc fixes, rename args. + + 2013-05-05 Alan Mackenzie <acm@muc.de> + + * progmodes/cc-defs.el (c-version): Increment to 5.32.5. + + 2013-05-05 Juri Linkov <juri@jurta.org> + + * info.el (Info-read-subfile): Use (point-min) instead of (point) + to not add the length of the summary segment to the return value. + (Bug#14125) + + 2013-05-05 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-strip-ctrl-g) + (inferior-octave-output-filter): Remove. + (octave-send-region, inferior-octave-startup): Fix callers. + (inferior-octave-mode-map): Don't use comint-dynamic-complete. + (octave-binary-file-extensions): New user variable. + (octave-find-definition): Confirm if opening binary files. + (octave-help-file): Use octave-find-definition to get the binary + confirmation. + (octave-help): Adjust for octave-help-file change. + + 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes. + Merge the two entries that handle function definitions. + (pascal--syntax-propertize): New const. + (pascal-mode): Use it. Use setq-local. + + 2013-05-04 Glenn Morris <rgm@gnu.org> + + * calendar/diary-lib.el (diary-from-outlook-function): New variable. + (diary-from-outlook): Respect diary-from-outlook-function. + + 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * simple.el (read-expression-map): Use completion-at-point (bug#14255). + Move the declaration from C. + (read-minibuffer, eval-minibuffer): Move from C. + (completion-setup-function): Avoid minibuffer-completion-contents. + + 2013-05-03 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-font-lock-keywords): Do not + dehighlight 'end' in comments or strings. + (octave-completing-read, octave-goto-function-definition): + New helpers. + (octave-help-buffer): New user variable. + (octave-help-file, octave-help-function): New button types. + (octave-help): New command and bind it to C-h ;. + (octave-find-definition): New command and bind it to M-. + (user-error): Alias to error if not defined. + + 2013-05-02 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-mode-syntax-table): Correct syntax + for \. (bug#14332) + (octave-font-lock-keywords): Include [ and {. + + 2013-05-02 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-startup-file): Change default. + (inferior-octave): Remove calling comint-mode and return the buffer. + (inferior-octave-startup): Cosmetic changes. + + 2013-05-02 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-syntax-propertize-function): + Include the case when ' is at line beginning. (Bug#14336) + + 2013-05-02 Glenn Morris <rgm@gnu.org> + + * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone. + * desktop.el (vc-dir-mode): Just autoload it here. + + 2013-05-02 Alan Mackenzie <acm@muc.de> + + Eliminate variable c-standard-font-lock-fontify-region-function. + * progmodes/cc-mode.el + (c-standard-font-lock-fontify-region-function): Remove. + (c-font-lock-fontify-region, c-after-font-lock-init): Adapt. + + 2013-05-01 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el: Compatible with older emacs-24 releases. + (inferior-octave-has-built-in-variables): Remove. Built-in + variables were removed from Octave in 2007. + (inferior-octave-startup): Fix uses. + (comint-line-beginning-position): Remove compatibility code for + emacs 21. + + 2013-05-01 Juri Linkov <juri@jurta.org> + + * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923) + + 2013-05-01 Juri Linkov <juri@jurta.org> + + * comint.el (comint-previous-matching-input): Don't print message + "History item: %d" when `isearch-mode' is active. + (comint-history-isearch-message): Print message "History item: %d" + when `comint-input-ring-index' is not empty and this function is + called from `isearch-update' with a nil `ellipsis'. (Bug#13223) + + 2013-05-01 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-abbrev-table): Remove abbrev + definitions. Use completion-at-point to insert keywords. + (octave-abbrev-start): Remove. + (inferior-octave-mode, octave-mode): Use :abbrev-table instead. + + 2013-04-30 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last + change. + + 2013-04-30 Alan Mackenzie <acm@muc.de> + + Handle arbitrarily long C++ member initialization lists. + * progmodes/cc-engine.el (c-back-over-member-initializers): + new function. + (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle + (most) member init lists. + + 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * progmodes/octave.el (inferior-octave-prompt-read-only): New user + variable. + + 2013-04-30 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-variables): Remove. No builtin + variables any more. All converted to functions. + (octave-font-lock-keywords, octave-completion-at-point-function): + Fix uses. + (octave-font-lock-texinfo-comment): New user variable. + (octave-texinfo-font-lock-keywords): New variable for texinfo + comment block. + (octave-function-comment-block): New face. + (octave-font-lock-texinfo-comment): New function. + (octave-mode): Font lock texinfo comment block. + + 2013-04-29 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in + indexing expression. + (octave-continuation-string): Do not use \. + (inferior-octave-complete-impossible): Remove. + (inferior-octave-completion-table) + (inferior-octave-completion-at-point): Remove its uses. + (inferior-octave-startup): completion_matches was introduced to + Octave in 1996 so safe to assume it. + (octave-function-file-comment): Improve to follow how Octave does it. + (octave-update-function-file-comment): Tweak. + + 2013-04-29 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (inferior-octave-startup-hook): Obsolete. + (inferior-octave-startup): Remove inferior-octave-startup-hook. + (octave-function-file-comment): Fix typo. + (octave-sync-function-file-names): Use read-char-choice. + + 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com> + + * calc/calc.el (math-normalize): Don't set `math-normalize-error' + to t for the less important warnings. + + 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change) + + * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268) + + 2013-04-27 Glenn Morris <rgm@gnu.org> + + * vc/log-view.el (log-view-current-entry): + Treat "---" separator lines as part of the following rev. (Bug#14169) + + 2013-04-27 Juri Linkov <juri@jurta.org> + + * subr.el (read-number): Doc fix about using it by interactive + code letter `n'. (Bug#14254) + + 2013-04-27 Juri Linkov <juri@jurta.org> + + * desktop.el (desktop-auto-save-timeout): New option. + (desktop-file-checksum): New variable. + (desktop-save): Add optional arg `auto-save' and don't auto-save + if nothing changed. + (desktop-auto-save-timer): New variable. + (desktop-auto-save, desktop-auto-save-set-timer): New functions. + (after-init-hook): Call `desktop-auto-save-set-timer'. + Suggested by Reuben Thomas <rrt@sc3d.org> in + <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>. + + 2013-04-27 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-function-file-p) + (octave-skip-comment-forward, octave-function-file-comment) + (octave-update-function-file-comment): New functions. + (octave-mode-map): Bind C-c ; to + octave-update-function-file-comment. + (octave-mode-menu): Add octave-update-function-file-comment. + (octave-mode, inferior-octave-mode): Fix doc-string. + (octave-insert-defun): Conform to Octave's coding convention. + (Bug#14285) + + * files.el (basic-save-buffer): Don't let errors in + before-save-hook prevent saving buffer. + + 2013-04-20 Roland Winkler <winkler@gnu.org> + + * faces.el (read-face-name): Use completing-read if arg multiple + is nil. + + 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change) + + * ls-lisp.el (ls-lisp-insert-directory): If no files are + displayed, move point to after the totals line. + See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html + for the details. + + 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/package.el (package-autoload-ensure-default-file): + Add current dir to the load-path. + (package-generate-autoloads): Don't rely on + autoload-ensure-default-file. + + 2013-04-26 Reuben Thomas <rrt@sc3d.org> + + * textmodes/remember.el (remember-store-in-files): Document that + the file name format is passed to `format-time-string'. + + 2013-04-26 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-sync-function-file-names): New function. + (octave-mode): Use it in before-save-hook. + + 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo + (bug#14274). + + * progmodes/octave.el (octave-smie-forward-token): Properly skip + \n and comment, even if it's not an implicit ; (bug#14218). + + 2013-04-26 Glenn Morris <rgm@gnu.org> + + * subr.el (read-number): Once more use `read' rather than + `string-to-number', to trap non-numeric input. (Bug#14254) + + 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com> + + * emacs-lisp/syntax.el (syntax-propertize-multiline): + Use `syntax-multiline' text property consistently instead of + `font-lock-multiline'. (Bug#14237) + + 2013-04-26 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/shadow.el (list-load-path-shadows): + No longer necessary to check for duplicate simple.el, since + 2012-07-07 change to init_lread to not include installation lisp + directories in load-path when running uninstalled. (Bug#14270) + + 2013-04-26 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-submit-bug-report): Obsolete. + (octave-mode, inferior-octave-mode): Use setq-local. + (octave-not-in-string-or-comment-p): Rename to + octave-in-string-or-comment-p. + (octave-in-comment-p, octave-in-string-p) + (octave-in-string-or-comment-p): Replace defsubst with defun. + + 2013-04-25 Paul Eggert <eggert@cs.ucla.edu> + + * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~. + + 2013-04-25 Bastien Guerry <bzg@gnu.org> + + * textmodes/remember.el (remember-data-directory) + (remember-directory-file-name-format): Fix custom types. + + 2013-04-25 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave.el (octave-completion-at-point-function): + Make use of inferior octave process. + (octave-initialize-completions): Remove. + (inferior-octave-completion-table): New function. + (inferior-octave-completion-at-point): Use it. + (octave-completion-alist): Remove. + + 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/opascal.el: Use font-lock and syntax-propertize. + (opascal-mode-syntax-table): New var. + (opascal-literal-kind, opascal-is-literal-end) + (opascal-literal-token-at): Rewrite. + (opascal--literal-start-re, opascal-font-lock-keywords) + (opascal--syntax-propertize): New constants. + (opascal-font-lock-defaults): Adjust. + (opascal-mode): Use them. Set comment-<foo> variables as well. + (delphi-comment-face, opascal-comment-face, delphi-string-face) + (opascal-string-face, delphi-keyword-face, opascal-keyword-face) + (delphi-other-face, opascal-other-face): Remove face variables. + (opascal-save-state): Remove macro. + (opascal-fontifying-progress-step): Remove constant. + (opascal--ignore-changes): Remove var. + (opascal-set-token-property, opascal-parse-next-literal) + (opascal-is-stable-literal, opascal-complete-literal) + (opascal-is-literal-start, opascal-face-of) + (opascal-parse-region, opascal-parse-region-until-stable) + (opascal-fontify-region, opascal-after-change) + (opascal-debug-show-is-stable, opascal-debug-unparse-buffer) + (opascal-debug-parse-region, opascal-debug-parse-window) + (opascal-debug-parse-buffer, opascal-debug-fontify-window) + (opascal-debug-fontify-buffer): Remove. + (opascal-debug-mode-map): Adjust accordingly. + + 2013-04-25 Leo Liu <sdl.web@gmail.com> + + Merge octave-mod.el and octave-inf.el into octave.el with some + cleanups. + * progmodes/octave.el: New file renamed from octave-mod.el. + * progmodes/octave-inf.el: Merged into octave.el. + * progmodes/octave-mod.el: Renamed to octave.el. + + 2013-04-25 Tassilo Horn <tsdh@gnu.org> + + * textmodes/reftex-vars.el + (reftex-label-ignored-macros-and-environments): New defcustom. + + * textmodes/reftex-parse.el (reftex-parse-from-file): Use it. + + 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB. + (smie-indent-keyword): Improve the check to ensure that the next + comment is really on the same line. + (smie-indent-comment): Don't align with a subsequent closer (or eob). + + * progmodes/octave-mod.el (octave-smie-forward-token): Only emit + semi-colons if the line is not otherwise empty (bug#14218). + + 2013-04-25 Glenn Morris <rgm@gnu.org> + + * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case. + + 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/opascal.el (opascal-set-token-property): Rename from + opascal-set-text-properties and only set `token' (bug#14134). + Suggested by Erik Knowles <eknowles@geosystemsoftware.com>. + (opascal-literal-text-properties): Remove. + (opascal-parse-next-literal, opascal-debug-unparse-buffer): + Adjust callers. + + 2013-04-24 Reuben Thomas <rrt@sc3d.org> + + * textmodes/remember.el (remember-handler-functions): Add an + option for a new handler `remember-store-in-files'. + (remember-data-directory, remember-directory-file-name-format): + New options. + (remember-store-in-files): New function to store remember notes + as separate files within a directory. + + 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com> + + * progmodes/compile.el (compilation-next-error-function): + Pass "formats" to compilation-find-file (bug#11777). + + 2013-04-24 Glenn Morris <rgm@gnu.org> + + * vc/vc-bzr.el (vc-bzr-print-log): + * vc/vc-hg.el (vc-hg-print-log): + * vc/vc-svn.el (vc-svn-print-log): + Fix START-REVISION with LIMIT != 1. (Bug#14168) + + * vc/vc-bzr.el (vc-bzr-print-log): + * vc/vc-cvs.el (vc-cvs-print-log): + * vc/vc-git.el (vc-git-print-log): + * vc/vc-hg.el (vc-hg-print-log): + * vc/vc-mtn.el (vc-mtn-print-log): + * vc/vc-rcs.el (vc-rcs-print-log): + * vc/vc-sccs.el (vc-sccs-print-log): + * vc/vc-svn.el (vc-svn-print-log): + * vc/vc.el (vc-print-log-internal): Doc fixes. + + 2013-04-23 Glenn Morris <rgm@gnu.org> + + * startup.el (normal-no-mouse-startup-screen, normal-about-screen): + Remove venerable code attempting to avoid substitute-command-keys. + + 2013-04-23 Tassilo Horn <tsdh@gnu.org> + + * textmodes/reftex-vars.el (reftex-label-regexps): + Call `reftex-compile-variables' after changes to this variable. + + 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca> + + * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542). + Use lexical-binding. + (jit-lock-force-redisplay): Use markers, check buffer's continued + existence and beware narrowed buffers. + (jit-lock-fontify-now): Adjust call accordingly. + + 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca> + + * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info + to avoid misleading the user. + + 2013-04-22 Leo Liu <sdl.web@gmail.com> + + * info-look.el: Prefer latex2e.info. (Bug#14240) + + 2013-04-22 Michael Albinus <michael.albinus@gmx.de> + + Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>. + + * net/tramp-compat.el (tramp-compat-call-process): Move function ... + * net/tramp.el (tramp-call-process): ... here. + (tramp-set-completion-function, tramp-parse-putty): + * net/tramp-adb.el (tramp-adb-execute-adb-command): + * net/tramp-gvfs.el (tramp-gvfs-send-command): + * net/tramp-sh.el (tramp-sh-handle-set-file-times) + (tramp-set-file-uid-gid, tramp-sh-handle-write-region) + (tramp-call-local-coding-command): Use `tramp-call-process' + instead of `tramp-compat-call-process'. + + * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst. + (tramp-local-coding-commands, tramp-remote-coding-commands): Use them. + (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region) + (tramp-find-inline-compress): Improve traces. + (tramp-maybe-send-script): Check for Perl binary. + (tramp-get-inline-coding): Do not redirect STDOUT for local decoding. + + 2013-04-22 Daiki Ueno <ueno@gnu.org> + + * epg.el (epg-context-pinentry-mode): New function. + (epg-context-set-pinentry-mode): New function. + (epg--start): Pass --pinentry-mode option to gpg command. + + 2013-04-21 Xue Fuqiao <xfq.free@gmail.com> + + * comint.el (comint-dynamic-complete-functions, comint-mode-map): + `comint-dynamic-complete' is obsolete since 24.1, replaced by + `completion-at-point'. (Bug#13774) + + * startup.el (normal-no-mouse-startup-screen): Bug fix, the + default key binding for `describe-distribution' has been moved to + `C-h C-o'. (Bug#13970) + + 2013-04-21 Glenn Morris <rgm@gnu.org> + + * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal): + Add doc strings. + (vc-print-log): Clarify interactive prompt. + + 2013-04-20 Glenn Morris <rgm@gnu.org> + + * emacs-lisp/bytecomp.el (byte-compile-insert-header): + No longer include timestamp etc information. + + 2013-04-20 Roland Winkler <winkler@gnu.org> + + * faces.el (read-face-name): Bug fix, return just one face if arg + multiple is nil. (Bug#14209) + + 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/nadvice.el (advice--where-alist): Add :override. + (remove-function): Autoload. + + * comint.el (comint-redirect-original-filter-function): Remove. + (comint-redirect-cleanup, comint-redirect-send-command-to-process): + * vc/vc-cvs.el (vc-cvs-annotate-process-filter) + (vc-cvs-annotate-command): + * progmodes/octave-inf.el (inferior-octave-send-list-and-digest): + * progmodes/prolog.el (prolog-consult-compile): + * progmodes/gdb-mi.el (gdb, gdb--check-interpreter): + Use add/remove-function instead. + * progmodes/gud.el (gud-tooltip-original-filter): Remove. + (gud-tooltip-process-output, gud-tooltip-tips): + Use add/remove-function instead. + * progmodes/xscheme.el (xscheme-previous-process-state): Remove. + (scheme-interaction-mode, exit-scheme-interaction-mode): + Use add/remove-function instead. + + * vc/vc-dispatcher.el: Use lexical-binding. + (vc--process-sentinel): Rename from vc-process-sentinel. + Change last arg to be the code to run. Don't use vc-previous-sentinel + and vc-sentinel-commands any more. + (vc-exec-after): Allow code to be a function. Use add/remove-function. + (compilation-error-regexp-alist, view-old-buffer-read-only): Declare. + + 2013-04-19 Masatake YAMATO <yamato@redhat.com> + + * progmodes/sh-script.el (sh-imenu-generic-expression): + Handle function names with a single character. (Bug#14111) + + 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change) + + * progmodes/gud.el (gud-perldb-marker-filter): Understand position info + for subroutines defined in an eval (bug#14182). + + 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com> + + * bookmark.el (bookmark-completing-read): Improve handling of empty + string (bug#14176). + + 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca> + + * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg. + + 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org> + + New faster Imenu implementation (bug#14058). + * progmodes/python.el (python-imenu-prev-index-position) + (python-imenu-format-item-label-function) + (python-imenu-format-parent-item-label-function) + (python-imenu-format-parent-item-jump-label-function): + New vars. + (python-imenu-format-item-label) + (python-imenu-format-parent-item-label) + (python-imenu-format-parent-item-jump-label) + (python-imenu--put-parent, python-imenu--build-tree) + (python-imenu-create-index, python-imenu-create-flat-index) + (python-util-popn): New functions. + (python-mode): Set imenu-create-index-function to + python-imenu-create-index. + + 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca> + + * winner.el (winner-active-region): Use region-active-p, activate-mark + and deactivate-mark (bug#14225). + + * simple.el (deactivate-mark): Don't inline it. + + 2013-04-18 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0". + + 2013-04-18 Tassilo Horn <tsdh@gnu.org> + + * files.el (auto-mode-alist): Delete OpenDocument and StarOffice + file extensions from the archive-mode entry in order to prefer + doc-view-mode-maybe with archive-mode as fallback (bug#14188). + + 2013-04-18 Leo Liu <sdl.web@gmail.com> + + * bindings.el (help-event-list): Add ?\?. + + 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (with-wrapper-hook): Declare obsolete. + * simple.el (filter-buffer-substring-function): New hook. + (filter-buffer-substring): Use it. + (filter-buffer-substring-functions): Mark obsolete. + * minibuffer.el (completion-in-region-function): New hook. + (completion-in-region): Use it. + (completion-in-region-functions): Mark obsolete. + * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function. + * abbrev.el (abbrev-expand-function): New hook. + (expand-abbrev): Use it. + (abbrev-expand-functions): Mark obsolete. + * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args + and :filter-return. + + 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el (python-nav--syntactically): Fix cornercases + and do not care about match data. + + 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized + completion tables when completing error conditions and + `declare' arguments. + (lisp-complete-symbol, field-complete): Mark as obsolete. + (check-parens): Unmatched parens are user errors. + * minibuffer.el (minibuffer-completion-contents): Mark as obsolete. + + 2013-04-17 Michal Nazarewicz <mina86@mina86.com> + + * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if + command changed buffer (ie. `flyspell-pre-buffer' is not current + buffer), which prevents making decisions based on invalid value of + `flyspell-pre-point' in the wrong buffer. Most notably, this used to + cause an error when `flyspell-pre-point' was nil after switching + buffers. + (flyspell-post-command-hook): No longer needs to change buffers when + checking pre-word. While at it remove unnecessary progn. + + 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change) + + * textmodes/ispell.el (ispell-add-per-file-word-list): + Fix `flyspell-correct-word-before-point' error when accepting + words and `coment-padding' is an integer by using + `comment-normalize-vars' (Bug #14214). + + 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org> + + New defun movement commands. + * progmodes/python.el (python-nav--syntactically) + (python-nav--forward-defun, python-nav-backward-defun) + (python-nav-forward-defun): New functions. + + 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org> + + * progmodes/python.el (python-syntax--context-compiler-macro): New defun. + (python-syntax-context): Use named compiler-macro for backwards + compatibility with Emacs 24.x. + + 2013-04-17 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave-mod.el (octave-mode-map): Fix key binding to + octave-hide-process-buffer. + + 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names + (bug#14216). + + 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com> + + * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result): + Fix adjustment of offset when receiving incomplete responses from GDB + (bug#14129). + + 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from + python-mode-abbrev-table. + (python-skeleton-define): Adjust accordingly. + (python-mode-abbrev-table): New table that inherits from it so that + python-skeleton-autoinsert does not affect non-skeleton abbrevs. + + * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol. + (abbrev-symbol): Use it. + (abbrev--before-point): Use it since we already handle inheritance. + + 2013-04-16 Leo Liu <sdl.web@gmail.com> + + * progmodes/octave-mod.el (octave-mode-map): Remove redundant key + binding to info-lookup-symbol. + + 2013-04-16 Juanma Barranquero <lekktu@gmail.com> + + * minibuffer.el (completion--twq-all): + * term/ns-win.el (ns-initialize-window-system): + * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler. + + 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/nadvice.el (add-function): Default simple vars to their + global bindings. + + * doc-view.el (doc-view-start-process): Handle url-handler directories. + + 2013-04-15 Dmitry Gutov <dgutov@yandex.ru> + + * progmodes/ruby-mode.el (ruby-beginning-of-defun) + (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search' + to nil. + (ruby-end-of-defun): Remove the unused arg, change the docstring + to reflect that this function is only used as the value of + `end-of-defun-function'. + (ruby-beginning-of-defun): Remove "top-level" from the docstring, + to reflect an earlier change that beginning/end-of-defun functions + jump between methods in a class definition, as well as top-level + functions. + + 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca> + + * minibuffer.el (minibuffer-complete): Don't just scroll + a *Completions* that's been iconified. + (minibuffer-force-complete): Make sure repetitions do cycle when going + through completion-in-region -> minibuffer-complete. + + 2013-04-15 Alan Mackenzie <acm@muc.de> + + Correct the placement of c-cpp-delimiters when there're #s not at + col 0. + + * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and + place a submatch around the #. + * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP): + Start a search at BOL. Put the c-cpp-delimiter category text propertiy + on the #, not BOL. + + 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/nadvice.el: Properly test names when adding advice. + (advice--member-p): New arg `name'. + (advice--add-function, advice-member-p): Use it (bug#14202). + + 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm> + + Reformulate java imenu-generic-expression. + The old expression contained ill formed regexps. + + * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp) + (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp) + (cc-imenu-java-method-arg-regexp): New defconsts. + (cc-imenu-java-build-type-args-regex): New defun. + (cc-imenu-java-generic-expression): Fix, to remove "ambiguous" + handling of spaces in the regexp. + + 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es> + + * textmodes/ispell.el (ispell-command-loop): Remove + flyspell highlight of a word when ispell accepts it (bug #14178). + + 2013-04-15 Michael Albinus <michael.albinus@gmx.de> + + * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun, + uses code from the previous `ange-ftp-run-real-handler'. + (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler' + only in case that function exist. This is needed for proper + unloading of Tramp. + + 2013-04-15 Tassilo Horn <tsdh@gnu.org> + + * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom. + + * textmodes/reftex.el (reftex-compile-variables): Use it. + + 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca> + + * files.el (normal-mode): Only use default major-mode if no other mode + was specified. + + * emacs-lisp/trace.el (trace-values): New function. + + * files.el: Allow : in local variables (bug#14089). + (hack-local-variable-regexp): New var. + (hack-local-variables-prop-line, hack-local-variables): Use it. + + 2013-04-13 Roland Winkler <winkler@gnu.org> + + * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match + data before it gets modified by bibtex-beginning-of-entry. + + 2013-04-13 Roland Winkler <winkler@gnu.org> + + * textmodes/bibtex.el (bibtex-url): Doc fix. + + 2013-04-13 Roland Winkler <winkler@gnu.org> + + * textmodes/bibtex.el (bibtex-initialize): If the current buffer + does not visit a BibTeX file, exclude it from the list of buffers + returned by bibtex-initialize. + + 2013-04-13 Stephen Berman <stephen.berman@gmx.net> + + * window.el (split-window): Remove interactive form, since as a + command this function is a special case of split-window-below. + Correct doc string. + + 2013-04-12 Roland Winkler <winkler@gnu.org> + + * faces.el (read-face-name): Do not override value of arg default. + Allow single faces and strings as default values. Remove those + elements from return value that are not faces. + (describe-face): Simplify. + (face-at-point): New optional args thing and multiple so that this + function can provide the same functionality previously provided by + read-face-name. + (make-face-bold, make-face-unbold, make-face-italic) + (make-face-unitalic, make-face-bold-italic, invert-face) + (modify-face, read-face-and-attribute): Use face-at-point. + + * cus-edit.el (customize-face, customize-face-other-window) + * cus-theme.el (custom-theme-add-face) + * face-remap.el (buffer-face-set) + * facemenu.el (facemenu-set-face): Use face-at-point. + + 2013-04-12 Michael Albinus <michael.albinus@gmx.de> + + * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus". + + 2013-04-10 Tassilo Horn <tsdh@gnu.org> + + * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut + off leading { and trailing } from field values. + + 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/timer.el (timer--check): New function. + (timer--time, timer-set-function, timer-event-handler): Use it. + (timer-set-idle-time): Simplify. + (timer--activate): CSE. + (timer-event-handler): Give more info in error message. + (internal-timer-start-idle): New function, moved from C. + + * mpc.el (mpc-proc): Add `restart' argument. + (mpc-proc-cmd): Use it. + (mpc--status-timer-run): Also catch signals from `mpc-proc'. + (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc' + less often. + + 2013-04-10 Masatake YAMATO <yamato@redhat.com> + + * progmodes/sh-script.el: Implement `sh-mode' own + `add-log-current-defun-function' (bug#14112). + (sh-current-defun-name): New function. + (sh-mode): Use the function. + + 2013-04-09 Bastien Guerry <bzg@gnu.org> + + * simple.el (choose-completion-string): Fix docstring (bug#14163). + + 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144). + + * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled + timer (bug#14156). + + 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk> + + * emacs-lisp/ert.el (should, should-not, should-error): Add edebug + declaration. + + 2013-04-07 Leo Liu <sdl.web@gmail.com> + + * pcmpl-x.el: New file. + + 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru> + + Do not set x-display-name until X connection is established. + This is needed to prevent from weird situation described at + <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>. + * frame.el (make-frame): Set x-display-name after call to + window system initialization function, not before. + * term/x-win.el (x-initialize-window-system): Add optional + display argument and use it. + * term/w32-win.el (w32-initialize-window-system): + * term/ns-win.el (ns-initialize-window-system): + * term/pc-win.el (msdos-initialize-window-system): + Add compatible optional display argument. + + 2013-04-06 Eli Zaretskii <eliz@gnu.org> + + * files.el (normal-backup-enable-predicate): On MS-Windows and + MS-DOS compare truenames of temporary-file-directory and of the + file, so that 8+3 aliases (usually found in $TEMP on Windows) + don't fail comparison by compare-strings. Also, compare file + names case-insensitively on MS-Windows and MS-DOS. + + 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/package.el (package-compute-transaction): Fix last fix. + Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082). + + 2013-04-05 Dmitry Gutov <dgutov@yandex.ru> + + * whitespace.el (whitespace-color-on, whitespace-color-off): + Only call `font-lock-fontify-buffer' when `font-lock-mode' is on. + + 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change) + + * ispell.el (ispell-set-spellchecker-params): + Really set `ispell-args' for all equivs. + + 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * ido.el (ido-completions): Use extra elements of ido-decorations + (bug#14143). + (ido-decorations): Update docstring. + + 2013-04-05 Michael Albinus <michael.albinus@gmx.de> + + * autorevert.el (auto-revert-mode, auto-revert-tail-mode) + (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to + nil during initialization, in order not to miss changes since the + file was opened. (Bug#14140) + + 2013-04-05 Leo Liu <sdl.web@gmail.com> + + * kmacro.el (kmacro-call-macro): Fix bug#14135. + + 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com> + + * calc/calc-units.el (calc-convert-units): Rewrite conditional. + + 2013-04-04 Glenn Morris <rgm@gnu.org> + + * electric.el (electric-pair-inhibit-predicate): Add :version. + + 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/package.el (package-compute-transaction): Fix ordering + when a package is required several times (bug#14082). + + 2013-04-04 Roland Winkler <winkler@gnu.org> + + * faces.el (read-face-name): Behave as promised by the docstring. + Assume that arg default is a list of faces. + (describe-face): Call read-face-name with list of default faces. + + 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com> + + * bookmark.el: Fix deletion of bookmarks (bug#13972). + (bookmark-bmenu-list): Don't toggle filenames if alist is empty. + (bookmark-bmenu-execute-deletions): Only skip first line if it's + the header. + (bookmark-exit-hook-internal): Save even if list is empty. + + 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change) + + * emacs-lisp/package.el (package-pinned-packages): New var. + (package--add-to-archive-contents): Obey it (bug#14118). + + 2013-04-03 Alan Mackenzie <acm@muc.de> + + Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244). + Also adapt to the new values of element 7 of a parse state. + + * progmodes/cc-engine.el (c-state-pp-to-literal): New optional + parameter `not-in-delimiter'. Handle being inside comment opener. + (c-invalidate-state-cache-1): Reckon with an extra "invalid" + character in case we're typing a '*' after a '/'. + (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm + instead by passing the parameter to c-state-pp-to-literal. + + * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling + for elt. 7 of a parse state. + + 2013-04-01 Paul Eggert <eggert@cs.ucla.edu> + + Use UTF-8 for most files with non-ASCII characters (Bug#13936). + * international/latin1-disp.el, international/mule-util.el: + * language/cyril-util.el, language/european.el, language/ind-util.el: + * language/lao-util.el, language/thai.el, language/tibet-util.el: + * language/tibetan.el, language/viet-util.el: + Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs. + + 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca> + + * electric.el (electric-pair-inhibit-predicate): New var (bug#14000). + (electric-pair-post-self-insert-function): Use it. + (electric-pair-default-inhibit): New function, extracted from + electric-pair-post-self-insert-function. + + 2013-03-31 Roland Winkler <winkler@gnu.org> + + * emacs-lisp/crm.el (completing-read-multiple): Doc fix. + + 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca> + + * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891). + + 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz> + + Un-indent after "pass" and "return" statements (Bug#13888) + * progmodes/python.el (python-indent-block-enders): New var. + (python-indent-calculate-indentation): Use it. + + 2013-03-30 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary + defun. Defining it as defalias could introduce too eager + byte-compiler optimization. (Bug#14030) + + 2013-03-30 Chong Yidong <cyd@gnu.org> + + * iswitchb.el (iswitchb-read-buffer): Fix typo. + + 2013-03-30 Leo Liu <sdl.web@gmail.com> + + * kmacro.el (kmacro-call-macro): Add optional arg MACRO. + (kmacro-execute-from-register): Pass the keyboard macro to + kmacro-call-macro or repeating won't work correctly. + + 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com> + + * progmodes/subword.el: Back to using `forward-symbol'. + + * subr.el (forward-whitespace, forward-symbol) + (forward-same-syntax): Move from thingatpt.el. + + 2013-03-29 Leo Liu <sdl.web@gmail.com> + + * kmacro.el (kmacro-to-register): New command. + (kmacro-execute-from-register): New function. + (kmacro-keymap): Bind to 'x'. (Bug#14071) + + 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * mpc.el: Use defvar-local and setq-local. + (mpc--proc-connect): Connection failures are not bugs. + (mpc-mode-map): `follow-link' only applies to the buffer's content. + (mpc-volume-map): Bind to the up-events. + + 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com> + + * progmodes/subword.el (superword-mode): Use `forward-sexp' + instead of `forward-symbol'. + + 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode. + (edebug--recursive-edit): Use it. + (edebug-kill-buffer): Don't let-bind kill-buffer-hook. + (edebug-temp-display-freq-count): Don't let-bind buffer-read-only. + + 2013-03-28 Leo Liu <sdl.web@gmail.com> + + * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066) + + 2013-03-27 Eli Zaretskii <eliz@gnu.org> + + * facemenu.el (list-colors-callback): New defvar. + (list-colors-redisplay): New function. + (list-colors-display): Install list-colors-redisplay as the + revert-buffer-function. (Bug#14063) + + 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca> + + * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes + and suffixes don't overlap (bug#14061). + + * case-table.el: Use lexical-binding. + (case-table-get-table): New function. + (get-upcase-table): Use it. Mark as obsolete. Adjust callers. + + 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com> + + * progmodes/subword.el: Add `superword-mode' to do word motion + over symbol_words (parallels and leverages `subword-mode' which + does word motion inside MixedCaseWords). + + 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz> + + * eshell/em-unix.el: Move su and sudo to... + * eshell/em-tramp.el: ...Eshell tramp module. + + 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca> + + * desktop.el (desktop--v2s): Rename from desktop-internal-v2s. + Change return value to be a sexp. Delay `get-buffer' to after + restoring the desktop (bug#13951). + + 2013-03-26 Leo Liu <sdl.web@gmail.com> + + * register.el: Move semantic tag handling back to + cedet/semantic/senator.el. (Bug#14052) + + 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca> + + * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert + into the prompt either (bug#13963). + + 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error" + part of "(error-foo)". + + 2013-03-24 Juri Linkov <juri@jurta.org> + + * replace.el (list-matching-lines-prefix-face): New defcustom. + (occur-1): Pass `list-matching-lines-prefix-face' to the function + `occur-engine' if `face-differs-from-default-p' returns t. + (occur-engine): Add `,' inside backquote construct to evaluate + `prefix-face'. Propertize the prefix with the `prefix-face' face. + Pass `prefix-face' to the functions `occur-context-lines' and + `occur-engine-add-prefix'. + (occur-engine-add-prefix, occur-context-lines): Add optional arg + `prefix-face' and propertize the prefix with `prefix-face'. + (Bug#14017) + + 2013-03-24 Leo Liu <sdl.web@gmail.com> + + * nxml/rng-valid.el (rng-validate-while-idle) + (rng-validate-quick-while-idle): Guard against deleted buffer. + (Bug#13999) + + * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer + is the last entry in kill-buffer-hook. + + * files.el (kill-buffer-hook): Doc fix. + + 2013-03-23 Dmitry Gutov <dgutov@yandex.ru> + + * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column): + Make it safe-local. + + * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034). + + 2013-03-23 Leo Liu <sdl.web@gmail.com> + + * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes): + Remove. + + * nxml/rng-valid.el (rng-validate-mode) + (rng-after-change-function, rng-do-some-validation): + * nxml/rng-maint.el (rng-validate-buffer): + * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date): + * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state): + * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change) + (nxml-extend-after-change-region): Use with-silent-modifications. + + * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind + timer-idle-list. + + * nxml/rng-valid.el (rng-validate-while-idle-continue-p) + (rng-next-error-1, rng-previous-error-1): Do not let-bind + timer-idle-list. (Bug#13999) + + 2013-03-23 Juri Linkov <juri@jurta.org> + + * info.el (info-index-match): New face. + (Info-index, Info-apropos-matches): Add a nested subgroup to the + main pattern and add text properties with the new face to matches + in index entries relative to the beginning of the index entry. + (Bug#14015) + + 2013-03-21 Eric Ludlam <zappo@gnu.org> + + * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots): + Inhibit read only while inserting objects. + + 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com> + + * progmodes/cfengine.el: Update docs to mention + `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for + symbol motion. Remove "_" from the word syntax. + + 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com> + + * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word + syntax for both `cfengine2-mode' and `cfengine3-mode'. + + 2013-03-20 Juri Linkov <juri@jurta.org> + + * info.el (Info-next-reference-or-link) + (Info-prev-reference-or-link): New functions. + (Info-next-reference, Info-prev-reference): Use them. + (Info-try-follow-nearest-node): Handle footnote navigation. + (Info-fontify-node): Fontify footnotes. (Bug#13989) + + 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca> + + * subr.el (posn-point, posn-string): Fix it here instead (bug#13979). + * mouse.el (mouse-on-link-p): Undo scroll-bar fix. + + 2013-03-20 Paul Eggert <eggert@cs.ucla.edu> + + Suppress unnecessary non-ASCII chatter during build process. + * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi) + (batch-skkdic-convert): Suppress most of the chatter. + It's not needed so much now that machines are faster, + and its non-ASCII component was confusing; see Dmitry Gutov in + <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>. + + 2013-03-20 Leo Liu <sdl.web@gmail.com> + + * ido.el (ido-chop): Fix bug#10994. + + 2013-03-19 Dmitry Gutov <dgutov@yandex.ru> + + * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode): + Remove vars. + (whitespace-color-on, whitespace-color-off): + Use `font-lock-fontify-buffer' (Bug#13817). + + 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca> + + * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link + remapping in mode-line. + (mouse-on-link-p): Also check [mode-line follow-link] bindings. + + 2013-03-19 Dmitry Gutov <dgutov@yandex.ru> + + * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE + value for `whitespace-line' face (Bug#13875). + (whitespace-font-lock-keywords): Change description. + (whitespace-color-on): Don't save `font-lock-keywords' value, save + the constructed keywords instead. + (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817). + + 2013-03-19 Leo Liu <sdl.web@gmail.com> + + * progmodes/compile.el (compilation-display-error): New command. + (compilation-mode-map, compilation-minor-mode-map): Bind it to + C-o. (Bug#13992) + + 2013-03-18 Paul Eggert <eggert@cs.ucla.edu> + + * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936). + + 2013-03-18 Jan Djärv <jan.h.d@swipnet.se> + + * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979). + + 2013-03-18 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-compat.el (tramp-compat-user-error): New defun. + + * net/tramp-adb.el (tramp-adb-handle-shell-command): + * net/tramp-gvfs.el (top): + * net/tramp.el (tramp-find-method, tramp-dissect-file-name) + (tramp-handle-shell-command): Use it. + (tramp-dissect-file-name): Raise an error when hostname is a + method name, and neither method nor user is specified. + + * net/trampver.el: Update release number. + + 2013-03-18 Leo Liu <sdl.web@gmail.com> + + Make sure eldoc can be turned off properly. + * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on + eldoc-mode. + (eldoc-display-message-p): Revert last change. + (eldoc-display-message-no-interference-p) + (eldoc-print-current-symbol-info): Tweak. + + 2013-03-18 Tassilo Horn <tsdh@gnu.org> + + * doc-view.el (doc-view-new-window-function): Check the new window + overlay's display property instead the char property of the + buffer's first char. Use `with-selected-window' instead of + `save-window-excursion' with `select-window'. + (doc-view-document->bitmap): Check the current doc-view overlay's + display property instead the char property of the buffer's first char. + + 2013-03-18 Paul Eggert <eggert@cs.ucla.edu> + + Automate the build of ja-dic.el (Bug#13984). + * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations + from the input, rather than assume that it's been done for us by the + SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put + the current date into a ja-dic.el comment, as that complicates + regression testing. + + 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca> + + * whitespace.el: Fix double evaluation. + (whitespace-space, whitespace-hspace, whitespace-tab) + (whitespace-newline, whitespace-trailing, whitespace-line) + (whitespace-space-before-tab, whitespace-indentation) + (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into + obsolete defvars. + (whitespace-hspace-regexp): Fix regexp for emacs-unicode. + (whitespace-color-on): Use a single font-lock-add-keywords call. + Fix double-evaluation of face variables. + + 2013-03-17 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-adb.el (tramp-adb-parse-device-names): + Use `start-process' instead of `call-process'. Otherwise, the + function might be blocked under MS Windows. (Bug#13299) + + 2013-03-17 Leo Liu <sdl.web@gmail.com> + + Extend eldoc to display info in the mode-line. (Bug#13978) + * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode. + (eldoc-mode-line-string): New variable. + (eldoc-minibuffer-message): New function. + (eldoc-message-function): New variable. + (eldoc-message): Use it. + (eldoc-display-message-p) + (eldoc-display-message-no-interference-p): + Support eldoc-post-insert-mode. + + * simple.el (eval-expression-minibuffer-setup-hook): New hook. + (eval-expression): Run it. + + 2013-03-17 Roland Winkler <winkler@gnu.org> + + * emacs-lisp/crm.el (completing-read-multiple): Ignore empty + strings in the list of return values. + + 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com> + + * calc/calc-ext.el (math-read-number-fancy): Check for an explicit + radix before checking for HMS forms. + + 2013-03-16 Leo Liu <sdl.web@gmail.com> + + * progmodes/scheme.el: Add indentation and font-locking for λ. + (Bug#13975) + + 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no + token before point (bug#13942). + + 2013-03-16 Leo Liu <sdl.web@gmail.com> + + * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after. + + 2013-03-16 Eli Zaretskii <eliz@gnu.org> + + * startup.el (command-line-normalize-file-name): Fix handling of + backslashes in DOS and Windows file names. Reported by Xue Fuqiao + <xfq.free@gmail.com> in + http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html. + + 2013-03-15 Michael Albinus <michael.albinus@gmx.de> + + Sync with Tramp 2.2.7. + + * net/trampver.el: Update release number. + + 2013-03-14 Tassilo Horn <tsdh@gnu.org> + + * doc-view.el: Fix bug#13887. + (doc-view-insert-image): Don't modify overlay associated to + non-live windows, and implement horizontal centering of image in + case it's smaller than the window. + (doc-view-new-window-function): Force redisplay of new windows on + doc-view buffers. + + 2013-03-13 Karl Fogel <kfogel@red-bean.com> + + * saveplace.el (save-place-alist-to-file): Don't sort + `save-place-alist', just pretty-print it (bug#13882). + + 2013-03-13 Michael Albinus <michael.albinus@gmx.de> + + * net/tramp-sh.el (tramp-sh-handle-insert-directory): + Check whether `default-file-name-coding-system' is bound. + It isn't in XEmacs. + + 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca> + + * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use + backquotes for `obsolete' (bug#13929). + + * international/mule.el (find-auto-coding): Include file name in + obsolescence warning (bug#13922). + + 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com> + + * progmodes/cfengine.el (cfengine-parameters-indent): New variable + for CFEngine 3-specific indentation. + (cfengine3-indent-line): Use it. Fix up category regex. + (cfengine3-font-lock-keywords): Add bundle and namespace characters. + + 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca> + + * type-break.el (type-break-file-name): + * textmodes/remember.el (remember-data-file): + * strokes.el (strokes-file): + * shadowfile.el (shadow-initialize): + * saveplace.el (save-place-file): + * ps-bdf.el (bdf-cache-file): + * progmodes/idlwave.el (idlwave-config-directory): + * net/quickurl.el (quickurl-url-file): + * international/kkc.el (kkc-init-file-name): + * ido.el (ido-save-directory-list-file): + * emulation/viper.el (viper-custom-file-name): + * emulation/vip.el (vip-startup-file): + * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top): + * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file. + + 2013-03-12 Paul Eggert <eggert@cs.ucla.edu> + + Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880). + * language/thai-word.el: Switch to UTF-8. + + See ChangeLog.16 for earlier changes. + + ;; Local Variables: + ;; coding: utf-8 + ;; End: + + Copyright (C) 2011-2015 Free Software Foundation, Inc. + + This file is part of GNU Emacs. + + GNU Emacs is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + GNU Emacs is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. diff --cc lwlib/ChangeLog.1 index 00000000000,e5dfed2342a..2e317dd2f66 mode 000000,100644..100644 --- a/lwlib/ChangeLog.1 +++ b/lwlib/ChangeLog.1 @@@ -1,0 -1,1982 +1,1985 @@@ ++2015-04-03 Jan Djärv <jan.h.d@swipnet.se> ++ ++ * Makefile.in (CAIRO_CFLAGS): Add. + 2015-03-18 Stefan Monnier <monnier@iro.umontreal.ca> + + * xlwmenu.c (pop_up_menu): Remove debugging code. + + 2015-02-28 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.c (remap_menubar): Re-realize menu to force move under + Gnome 3. + + 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> + + Less 'make' chatter for lwlib + * Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1) + (AM_V_at, am__v_at_, am__v_at_0, am__v_at_1): New macros. + (liblw.a): Use them. + + 2014-12-25 Paul Eggert <eggert@cs.ucla.edu> + + * xlwmenu.c (resource_widget_value): + Rewrite to avoid the need for strcat, typically by using stpcpy + and/or lispstpcpy. strcat tends to be part of O(N**2) algorithms. + + 2014-10-20 Glenn Morris <rgm@gnu.org> + + * Merge in all changes up to 24.4 release. + + 2014-09-01 Paul Eggert <eggert@cs.ucla.edu> + + --enable-silent-rules now suppresses more chatter. + * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_) + (am__v_CC_0, am__v_CC_1): New macros, taken from Automake. + (.c.o): Use them. + + 2014-07-15 Dmitry Antipov <dmantipov@yandex.ru> + + * lwlib.h (toplevel): Use unsigned int for LWLIB_ID. + + 2014-06-28 Glenn Morris <rgm@gnu.org> + + * Makefile.in: Use gcc auto-dependency information. + Move old dependency information to new file deps.mk. + (MKDIR_P, DEPFLAGS, MKDEPDIR, lwlib_deps_frag): + New, set by configure. + (DEPDIR): New variable. + (ALL_CFLAGS): Add DEPFLAGS. + (.c.o): Add MKDEPDIR. + (clean, mostlyclean): Delete DEPDIR. + * deps.mk, autodeps.mk: New files. + + 2014-06-17 Paul Eggert <eggert@cs.ucla.edu> + + Omit redundant extern decls. + From Dmitry Antipov. + * lwlib-Xm.c (lw_motif_widget_p, xm_update_one_value) + (xm_create_dialog, xm_destroy_instance, xm_popup_menu) + (xm_set_keyboard_focus, xm_set_main_areas): Remove decls. + + 2014-06-15 Glenn Morris <rgm@gnu.org> + + * Makefile.in ($(globals_h)): Use `make -C' rather than `cd && make'. + + * Makefile.in (mostlyclean, clean, distclean, maintainer-clean): + Declare as PHONY. + (bootstrap-clean): New. + + 2014-06-13 Glenn Morris <rgm@gnu.org> + + * Makefile.in ($(globals_h)): + GNU make automatically passes command-line arguments to sub-makes. + + 2014-06-04 Dmitry Antipov <dmantipov@yandex.ru> + + * lwlib-widget.h (widget_value) [USE_X_TOOLKIT]: Use X toolkit + fields conditionally. + + 2014-06-03 Paul Eggert <eggert@cs.ucla.edu> + + Do not require libXt-devel when building with gtk. + * lwlib-widget.h: New file, with contents taken from lwlib.h. + (widget_value) [HAVE_NTGUI]: New member 'title'. + * lwlib.h: Include lwlib-widget.h. + (change_type, enum button_type, widget_value): + Move to lwlib-widget.h. + + 2014-06-03 Dmitry Antipov <dmantipov@yandex.ru> + + * xlwmenu.c (openXftFont): Do not load regular X font here. + (XlwMenuInitialize): Remove ancient #if 0 code. + (XlwMenuDestroy): Likewise. Free regular X font here. + + 2014-06-02 Dmitry Antipov <dmantipov@yandex.ru> + + Use common memory management functions for widgets. + * lwlib.h (widget_value): Do not maintain a free list any more. + (malloc_widget_value, free_widget_value): Remove prototypes. + * lwlib.c (malloc_widget_value, free_widget_value): + (widget_value_free_list, malloc_cpt): Remove. + (free_widget_value_tree, copy_widget_value_tree): Adjust users. + + 2014-05-30 Dmitry Antipov <dmantipov@yandex.ru> + + Use common string allocation and freeing functions where applicable. + * lwlib.h (safe_strdup): Remove prototype. + * lwlib.c (safe_strdup, safe_free_str): Remove. + (copy_widget_value_tree, allocate_widget_info, free_widget_info): + (merge_widget_value): Prefer xstrdup, xfree and dupstring. + * lwlib-Xm.c (make_destroyed_instance, xm_update_one_value): Ditto. + + 2013-12-14 Paul Eggert <eggert@cs.ucla.edu> + + Use bool for boolean, focusing on headers. + * xlwmenuP.h (XlwMenu_part): Use bool_bf for boolean bit-fields. + + 2013-11-14 Paul Eggert <eggert@cs.ucla.edu> + + * lwlib.c (safe_strdup): Prefer tail calls. + + 2013-11-02 Glenn Morris <rgm@gnu.org> + + Use relative filenames in TAGS files. + * Makefile.in (abs_srcdir): Remove it again. + (ctagsfiles, TAGS): Use relative filenames. + + * Makefile.in (abs_srcdir): New, set by configure. + (ETAGS, ctagsfiles): New variables. + (TAGS): Use ETAGS, ctagsfiles. Use absolute filenames again. + + 2013-10-24 Glenn Morris <rgm@gnu.org> + + * Makefile.in (abs_top_srcdir): New, set by configure. + + 2013-09-04 Paul Eggert <eggert@cs.ucla.edu> + + Makefile improvements. + * Makefile.in (all): Put this first. Don't use double-colon + rules, as they are not portable according to POSIX. Mark as phony. + + 2013-06-30 Paul Eggert <eggert@cs.ucla.edu> + + Fix minor problems found by static checking. + * lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu): + * lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance): + * lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]: + Now const. + + 2012-10-06 Ulrich Müller <ulm@gentoo.org> + + * Makefile.in (AR, ARFLAGS): Get values from configure. + + 2012-08-16 Paul Eggert <eggert@cs.ucla.edu> + + Use ASCII tests for character types. + * lwlib-Xaw.c, lwlib.c, xlwmenu.c: + Don't include <ctype.h>; no longer needed. + * lwlib-Xaw.c (openFont): + * xlwmenu.c (openXftFont): Test just for ASCII digits. + + 2012-08-01 Glenn Morris <rgm@gnu.org> + + * Makefile.in (config_h): Add conf_post.h. + + 2012-07-31 Dmitry Antipov <dmantipov@yandex.ru> + + Avoid unused variable warning if --with-x-toolkit=motif. + * lwlib-Xm.c (make_menu_in_widget): Remove unused variable. + + 2012-07-06 Paul Eggert <eggert@cs.ucla.edu> + + Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786). + * lwlib.c: Include c-strcase.h. + (lwlib_strcasecmp): Remove. All uses replaced with c_strcasecmp. + + 2012-06-26 Paul Eggert <eggert@cs.ucla.edu> + + Clean out last vestiges of the old HAVE_CONFIG_H stuff. + * Makefile.in (ALL_CFLAGS): Remove -DHAVE_CONFIG_H. + * lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib-utils.c, lwlib.c: + * xlwmenu.c: Include <config.h> unconditionally. + + 2012-06-25 Dmitry Antipov <dmantipov@yandex.ru> + + * lwlib.c (my_strcasecmp): Rename to lwlib_strcasecmp, which + may be defined to library function strcasecmp if available. + + 2012-06-24 Paul Eggert <eggert@cs.ucla.edu> + + Switch from NO_RETURN to C11's _Noreturn (Bug#11750). + * xlwmenu.c (abort_gracefully): + Use _Noreturn rather than NO_RETURN. + No need for separate decl merely because of _Noreturn. + + 2012-05-31 Paul Eggert <eggert@cs.ucla.edu> + + Remove obsolete '#define static' cruft. + * xlwmenu.c [emacs]: Include "bitmaps/gray.xbm". + (gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits) [!emacs]: + Remove; all uses replaced with definiens. + + 2012-04-18 Paul Eggert <eggert@cs.ucla.edu> + + configure: new option --enable-gcc-warnings (Bug#11207) + * Makefile.in (C_WARNINGS_SWITCH): Remove. + (WARN_CFLAGS, WERROR_CFLAGS): New macros. + (ALL_CFLAGS): Use new macros rather than old. + + 2012-04-11 Glenn Morris <rgm@gnu.org> + + * Makefile.in (C_SWITCH_X_SYSTEM): Remove. + (ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM. + + 2011-10-13 Dmitry Antipov <dmantipov@yandex.ru> + + * lwlib-Xaw.c (openFont, xaw_destroy_instance): Replace free with + xfree to avoid crash when xmalloc overrun checking is enabled. + * lwlib-Xm.c (free_destroyed_instance, xm_update_one_value): Ditto. + * lwlib-utils.c (XtApplyToWidgets): Ditto. + * lwlib.c (safe_free_str, free_widget_value, free_widget_value_tree) + (free_widget_info, free_widget_instance, name_to_widget): Ditto. + * xlwmenu.c (openXftFont): Ditto. + + 2011-06-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * Makefile.in (ALL_CFLAGS): Add -I../lib for generated header files + in out-of-tree build. + + 2011-06-06 Paul Eggert <eggert@cs.ucla.edu> + + * Makefile.in (ALL_CFLAGS): Add -I$(srcdir)/../lib. + This is needed because lisp.h includes intprops.h now (Bug#8794). + + 2011-04-16 Paul Eggert <eggert@cs.ucla.edu> + + Static checks with GCC 4.6.0 and non-default toolkits. + + * lwlib-Xm.c (make_dialog): Rename local to avoid shadowing. + (make_menu_in_widget): Add cast to avoid warning. + * lwlib-utils.c (XtCompositeChildren): Likewise. + + * lwlib.c (EXPLAIN, destroy_one_instance): Avoid "else;". + (first_child) [USE_MOTIF]: Protoize. + + * lwlib-utils.h, lwlib-utils.c (XtSafelyDestroyWidget): Remove; unused. + + * xlwmenu.c (XlwMenuSetValues): Rename/ move locals to avoid shadowing. + (MINL): Define only if not emacs. + + 2011-03-07 Chong Yidong <cyd@stupidchicken.com> + + * Version 23.3 released. + + 2011-02-14 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.h: Remove Xt[CN]faceName and Xt[NC]defaultFace. + + * xlwmenuP.h (_XlwMenu_part): Remove faceName. Add fontName. + + * xlwmenu.c (xlwmenu_default_font): Remove, does not work for + multi-display. + (xlwMenuResources): Remove XtNfaceName and XtNdefaultFace. + Make XtNFont a String resource. + (make_windows_if_needed): Call XFlush so later changes are seen by the + X server. + (remap_menubar): Use XtMoveWidget and then + XtResizeWidget/XtResizeWindow after XtPopup. Works better with + Compiz. + (make_drawing_gcs): Check if mw->menu.font is set. + (getDefaultXftFont): New function. + (openXftFont): faceName is now fontName. Try XLoadQueryFont first + and then XftFontOpenName. + (XlwMenuInitialize): Initialize mw->menu.font with XLoadQueryFont. + (XlwMenuClassInitialize): Remove initialization of + xlwmenu_default_font. + (fontname_changed): Renamed from facename_changed. + (XlwMenuSetValues): Use facename_changed. + + * lwlib-Xaw.c (make_dialog): Use *font even for Xft fonts. Try + XLoadQueryFont first and then Xft fonts. + + 2011-02-13 Glenn Morris <rgm@gnu.org> + + * lwlib-utils.c (index, rindex): Don't undef (neither used in lwlib/, + nor set in config.h). + + 2011-02-11 Glenn Morris <rgm@gnu.org> + + * Makefile.in (USE_X_TOOLKIT, RM, TOOLKIT_DEFINES): Remove. + (ALL_CFLAGS): Remove -I. + (config_h, lisp_h, src_h): New variables. + (globals_h): Rename from $globals. + ($(globals_h)): Check cd exit status. + (lwlib.o): Remove special rule. + (lwlib-utils.o, lwlib.o, lwlib-Xlw.o, lwlib-Xaw.o, lwlib-Xm.o) + (xlwmenu.o): Add lisp.h and config.h to prereqs. + (lwlib-utils.o): Add lwlib.h to prereqs. + (lwlib.o): Add lwlib-utils.h and lwlib-Xm.h to prereqs. + (lwlib-Xlw.o): Add xlwmenu.h to prereqs. + (xlwmenu.o): Add ../src/xterm.h to prereqs. + (mostlyclean): Forget about "core" files. + + 2011-02-10 Glenn Morris <rgm@gnu.org> + + * lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib-utils.c, lwlib.c: + * xlwmenu.c: Standardize on <> for includes from the ../src directory. + + 2011-02-09 Glenn Morris <rgm@gnu.org> + + * Makefile.in (@SET_MAKE@): New, set by configure. + (globals): New variable and rule. + (lwlib-utils.o, lwlib.o, lwlib-Xlw.o, lwlib-Xaw.o, lwlib-Xm.o) + (xlwmenu.o): Add dependency on src/globals.h. + + 2011-01-31 Jan Djärv <jan.h.d@swipnet.se> + + * lwlib-Xm.c (make_destroyed_instance): + * lwlib-utils.c (XtApplyToWidgets): + * lwlib.c (safe_strdup, malloc_widget_value) + (allocate_widget_info, allocate_widget_instance): Use xmalloc + instead of malloc. + + 2011-01-25 Werner Meisner <weme24@gmx.net> + + * lwlib-Xm.c (xm_update_menu): Avoid a NULL pointer dereference + (Bug#7690). + + 2010-09-26 Dan Nicolaescu <dann@ics.uci.edu> + + Use const for some pointer arguments. + * lwlib.h (my_strcasecmp, safe_strcmp, name_to_widget) + (find_in_table, dialog_spec_p, lw_separator_p): + * lwlib.c (my_strcasecmp, safe_strcmp, name_to_widget) + (find_in_table, dialog_spec_p, lw_separator_p): Use const. + + 2010-09-20 Dan Nicolaescu <dann@ics.uci.edu> + + * lwlib.h (lw_register_widget, lw_create_widget): + * lwlib.c (allocate_widget_info, lw_register_widget) + (lw_create_widget, separator_table): Use const. + + 2010-07-29 Dan Nicolaescu <dann@ics.uci.edu> + + * xlwmenu.c (abort_gracefully): Mark as NO_RETURN. + + 2010-07-26 Dan Nicolaescu <dann@ics.uci.edu> + + * xlwmenu.h (xlwmenu_window_p, xlwmenu_redisplay): Add declarations. + + 2010-07-12 Andreas Schwab <schwab@linux-m68k.org> + + * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS): Set from + substitution. + (ALL_CFLAGS): Add ${C_WARNINGS_SWITCH} and ${PROFILING_CFLAGS}. + + 2010-07-08 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.c (size_menu_item): Change from K&R to prototype. + Change label_width and height to int. + (draw_arrow, draw_shadow_rectangle, draw_shadow_rhombus) + (draw_separator, display_menu, fit_to_screen, motion_event_is_in_menu) + (map_event_to_widget_value): Reformat. + (display_menu_item): Change from K&R to prototype. + + * lwlib.c (allocate_widget_info, lw_register_widget): Change from K&R + to prototype. + (lw_internal_update_other_instances, merge_widget_value): Reformat. + + * lwlib-int.h (widget_creation_function): Fix prototype. + + * lwlib-Xm.c (x_print_complete_resource_name) + (make_destroyed_instance, free_destroyed_instance, first_child) + (lw_motif_widget_p, resource_motif_string, destroy_all_children) + (xm_arm_callback, xm_update_label, xm_update_list) + (xm_update_pushbutton, xm_update_cascadebutton) + (xm_update_toggle, xm_update_radiobox, make_menu_in_widget) + (update_one_menu_entry, xm_update_menu, xm_update_text) + (xm_update_text_field, xm_update_one_widget) + (xm_update_one_value, activate_button, dialog_key_cb) + (make_dialog, mark_dead_instance_destroyed) + (find_matching_instance, recenter_widget, recycle_instance) + (xm_create_dialog, make_menubar, remove_grabs, make_popup_menu) + (make_main, xm_destroy_instance, xm_popup_menu) + (set_min_dialog_size, xm_pop_instance, do_call) + (xm_internal_update_other_instances, xm_generic_callback) + (xm_nosel_callback, xm_pull_down_callback, xm_pop_down_callback) + (xm_set_keyboard_focus, xm_set_main_areas, xm_manage_resizing): Change + from K&R to prototype. + + * lwlib-Xlw.c (x_print_complete_resource_name): Change from K&R to + prototype. + (xlw_update_one_value): Reformat. + + * lwlib-Xaw.c (xaw_generic_callback, command_reset) + (xaw_update_one_value): Reformat. + (xaw_update_one_widget): Reformat and remove dead code. + (xaw_scrollbar_scroll, xaw_scrollbar_jump, xaw_create_scrollbar) + (xaw_update_scrollbar): Remove (not used). + (make_dialog): Change from K&R to prototype. Remove dead code. + (xaw_creation_table): Remove scrollbar entry. + + 2010-07-08 Dan Nicolaescu <dann@ics.uci.edu> + + * lwlib.c (allocate_widget_instance, get_widget_info) + (get_widget_instance, find_instance, set_one_value) + (update_one_widget_instance, update_all_widget_values) + (lw_modify_all_widgets, lw_get_widget, lw_make_widget) + (lw_create_widget, lw_pop_all_widgets, lw_show_busy) + (lw_refigure_widget, lw_allow_resizing): Remove alternative K&R + declarations. + * lwlib-Xlw.c (xlw_update_one_widget, xlw_pop_instance): Likewise. + * lwlib-Xaw.c (xaw_update_one_widget, xaw_pop_instance): + Likewise. + * lwlib-Xm.c (P_): Remove. + + 2010-07-07 Andreas Schwab <schwab@linux-m68k.org> + + * lwlib.c (lwlib_memset, lwlib_bcopy): Remove. + (malloc_widget_value, free_widget_info, allocate_widget_instance) + (lw_separator_p): Replace lwlib_memset, lwlib_bcopy, bzero, bcmp by + memset, memcpy, memcmp. + * lwlib-utils.c (XtApplyToWidgets): Likewise. + * xlwmenu.c (XlwMenuInitialize): Likewise. + * lwlib.h (lwlib_bcopy): Remove declaration. + + 2010-07-05 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.c (XlwMenuSetValues, XlwMenuInitialize): Correct prototype. + (display_menu_item): Remove unused variable gi. + (make_windows_if_needed): Remove unused variable screen. + (XlwMenuRedisplay): Remove unused variable i. + + * lwlib-Xaw.c: Include <ctype.h> for isdigit. + (fill_xft_data, set_text): Remove unused variable screen. + (draw_text): Cast bp to FcChar8*. + (find_xft_data): Return 0 if inst or xft_data is not set. + (wm_delete_window): Correct prototype. Initialize widget to 0 + and return if widget is still 0 after loop. + + 2010-07-04 Dan Nicolaescu <dann@ics.uci.edu> + + * lwlib-Xaw.c: Convert function definitions to standard C. + * lwlib-Xlw.c: + * lwlib-utils.c: + * lwlib.c: + * lwlib.h: + * xlwmenu.c: Likewise. + + 2010-07-02 Jan Djärv <jan.h.d@swipnet.se> + + * lwlib-Xm.c: Remove __P and P_ from .c and .m files. + * lwlib-Xm.c: + * lwlib.c: + * xlwmenu.c: Likewise. + + Remove P_ and __P macros. + * lwlib-Xaw.h: Remove P_ and __P macros. + * lwlib-Xlw.h: + * lwlib-Xm.h: + * lwlib-int.h: + * lwlib-utils.h: + * lwlib.h: Likewise. + + 2010-05-15 Glenn Morris <rgm@gnu.org> + + * Makefile.in (mostlyclean): Remove references to non-existent files. + + 2010-05-13 Jan Djärv <jan.h.d@swipnet.se> + + * lwlib-Xaw.c (make_dialog): Remove extra arg to XtVaGetSubresources. + + 2010-05-08 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.c (XlwMenuDestroy): Remove XtDestroyWidget on subwidgets + (Bug #6127). + + 2010-05-07 Chong Yidong <cyd@stupidchicken.com> + + * Version 23.2 released. + + 2010-05-06 Glenn Morris <rgm@gnu.org> + + * Makefile.in (CPP, LN_S, TOP, LN): Remove unused variables. + + 2010-05-04 Glenn Morris <rgm@gnu.org> + + * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): + Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ instead of + @c_switch_system@, @c_switch_machine@. + + 2010-04-27 Dan Nicolaescu <dann@ics.uci.edu> + + * Makefile.in (C_SWITCH_X_SYSTEM): Define using autoconf. + + 2010-04-21 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.c (expose_cb): + * lwlib-Xaw.c (fill_xft_data): Declarations before code. + + 2010-04-17 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.c: Include Shell.h, remove duplicate declaration of + XlwMenuRedisplay. + (display_menu_item): Replace ws->window with ws->pixmap, remove + call to XftDrawRect. + (display_menu): Remove this and that argument. + Remove just_compute_this_one_p. Fill pixmap at start and copy it to + window at end. + (expose_cb): New function. + (make_windows_if_needed): Replace XCreateWindow with XtCreatePopup. + Add eventhandler for expose to expose_cb. Remove creation of xft_draw. + (create_pixmap_for_menu): New function. + (remap_menubar): Pop down menus that aren't the same as in old_stack. + Set width, height, x, y on widget with XtVaSetValues. + Call create_pixmap_for_menu. + Replace XUnmapWindow with XtPopdown. + Remowe two last parameters to display_menu. + (map_event_to_widget_value, XlwMenuRedisplay, Key, Select) + (pop_up_menu): Remowe two last parameters to display_menu. + (XlwMenuRealize): Call create_pixmap_for_menu, set w and pixmap. + Remove call to XftDrawCreate. + (XlwMenuDestroy): Free pixmap. Call XtDestroyWidget instead of + XDestroyWindow. + (handle_motion_event): Only call handle_single_motion_event once. + (set_window_type): New function. + (make_windows_if_needed, XlwMenuRealize): Call set_window_type. + + * xlwmenuP.h (window_state): Add pixmap and w. + + 2010-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * xlwmenu.c (facename_changed): Put function in #ifdef HAVE_XFT. + + 2010-04-11 Dan Nicolaescu <dann@ics.uci.edu> + + * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE) + (C_SWITCH_X_SITE): Define using autoconf. + + 2010-04-11 Jan Djärv <jan.h.d@swipnet.se> + + * lwlib-Xaw.c (widget_xft_data): New for Xft data. + (fill_xft_data, openFont, get_text_width_and_height) + (draw_text, set_text, find_xft_data, command_press) + (command_reset): New functions. + (xaw_update_one_widget): Call set_text for dialog and buttons + if HAVE_XFT. Also set internalHeight for buttons. + (xaw_destroy_instance): Free all Xft related data. + (button_actions, buttonTrans): New structures. + (make_dialog): Call XtAppAddActions for button_actions. + Find xft font to use and call fill_xft_data for widgets. + (xaw_create_dialog): Pass instance parameter to make_dialog. + + * lwlib-int.h (_widget_instance): Add Xft data if HAVE_XFT. + Override translations for buttons. If depth is 16 or more, tell + Xaw3d to not be nice to colormap. + Remove separator widget, use XtNhorizDistance on first right button + instead. + + 2010-04-08 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.c (xlwmenu_default_font): Make static. + (xlwMenuResources): Add XtNfaceName and XtNdefaultFace. + (string_width): Use XftTextExtentsUtf8 if HAVE_XFT. + (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): Add versions for + HAVE_XFT. + (size_menu): Set max_rest_width in window_state structure. + (display_menu_item): If HAVE_XFT and xft_draw is set, use + XftDrawRect and XftDrawStringUtf8 to draw text. + (make_windows_if_needed): Set max_rest_width and xft_draw + in windows[i]. + (openXftFont): New. + (XlwMenuInitialize): Call openXftFont if HAVE_XFT. If mw->menu.font + is not set, load font fixed and save it in xlwmenu_default_font. + (XlwMenuInitialize): Set max_rest_width and xft_draw in windows[0]. + (XlwMenuClassInitialize): Initialize xlwmenu_default_font. + (XlwMenuRealize): Set xft_fg, xft_bg, xft_disabled_fg and + windows[0].xft_draw if xft_font is set. + (XlwMenuDestroy): Destroy all xft_draw and close xft_font. + (facename_changed): New. + (XlwMenuSetValues): Call facename_changed. If face name did change, + close old fonts and destroy xft_draw:s. Then create new ones. + + * xlwmenu.h (XtNfaceName, XtCFaceName, XtNdefaultFace, + XtCDefaultFace): New. + + * xlwmenuP.h (_window_state): Add max_rest_width and xft_draw. + (_XlwMenu_part): Add faceName, xft_fg, xft_bg, xft_disabled_fg and + xft_font. + + 2010-03-10 Chong Yidong <cyd@stupidchicken.com> + + * Branch for 23.2. + + 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu> + + * xlwmenu.c: + * lwlib.c: + * lwlib-utils.c: + * lwlib-Xm.c: + * lwlib-Xlw.c: + * lwlib-Xaw.c: Include setjmp.h. + + 2009-06-21 Chong Yidong <cyd@stupidchicken.com> + + * Branch for 23.1. + + 2008-07-23 Dan Nicolaescu <dann@ics.uci.edu> + + * Makefile.in (ALL_CFLAGS): Remove reference to C_SWITCH_SITE. + + 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu> + + * lwlib.c: Remove references to obsolete variables. + + 2008-06-02 Jim Meyering <meyering@redhat.com> + + Remove useless if-before-free tests. + * lwlib-Xm.c (xm_update_one_value): Likewise. + * lwlib.c (safe_free_str, free_widget_value_tree): Likewise. + + 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca> + + * Makefile.in (TOOLKIT_DEFINES): Remove. + + 2007-08-29 Károly Lőrentey <lorentey@elte.hu> + + * xlwmenu.c (XlwMenuRealize): Ignore X errors while setting up + cursor shape. + + 2007-07-25 Glenn Morris <rgm@gnu.org> + + * Relicense all FSF files to GPLv3 or later. + + * COPYING: Switch to GPLv3. + + 2007-06-13 Chong Yidong <cyd@stupidchicken.com> + + * lwlib-Xaw.c, lwlib.c: Link to xaw3d if available. + + 2007-06-02 Chong Yidong <cyd@stupidchicken.com> + + * Version 22.1 released. + + 2007-02-28 Glenn Morris <rgm@gnu.org> + + * Makefile.in (distclean): Delete Makefile. + (maintainer-clean): Delete TAGS. + + 2007-01-01 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.c (xlwMenuResources): Add XtNleaveCallback, XtNenterCallback. + (display_menu, map_event_to_widget_value): Generate enter and + leave callbacks. + (pop_up_menu): Initialize mw->menu.inside_entry. + + * xlwmenu.h (XtNleaveCallback, XtNenterCallback): New strings. + + * xlwmenuP.h (_XlwMenu_part): Add enter/leave callbacks and + inside_entry. + + * lwlib-Xlw.c (enter_hook, leave_hook): New functions. + (xlw_create_menubar, xlw_create_popup_menu): Connect XtNenter/leave + to enter/leave_hook. + + 2006-10-30 Chong Yidong <cyd@stupidchicken.com> + + * Makefile.in (lwlib-utils.o): Use CPPFLAGS. + + 2006-09-15 Jay Belanger <belanger@truman.edu> + + * COPYING: Replace "Library Public License" by "Lesser Public + License" throughout. + + 2006-05-23 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.c: Include xterm.h if emacs instead of declaring functions + used. + (string_width): Declare as static. + (Start, pop_up_menu): Set is_hint to 0 before calling + handle_motion_event. + (pop_up_menu): Return value and parameters for x_catch_errors and + x_uncatch_errors changed. + + 2005-09-27 Dan Nicolaescu <dann@ics.uci.edu> + + * xlwmenu.c (find_next_selectable, find_prev_selectable): + Add missing parameter declarations. + + 2005-09-24 Dan Nicolaescu <dann@ics.uci.edu> + + * xlwmenu.c: Fix the return type for x_clear_errors and + x_uncatch_errors. + + 2005-07-19 Jan Djärv <jan.h.d@swipnet.se> + + * lwlib-Xm.c (make_menu_in_widget): Disable drag and drop for + labels in menu bar. + + 2005-07-04 Lute Kamstra <lute@gnu.org> + + Update FSF's address in GPL notices. + + 2005-04-01 Jan Djärv <jan.h.d@swipnet.se> + + Reenable support for I18N to Lucid menus. + + * xlwmenuP.h (_XlwMenu_part): Add fontSet resource. + + * xlwmenu.c (string_width, MENU_FONT_HEIGHT, MENU_FONT_ASCENT): Ditto. + (display_menu_item, make_drawing_gcs, XlwMenuInitialize) + (XlwMenuSetValues): Use font if fontSet is NULL, use only + font for !HAVE_X_I18N. + (xlwMenuResources): Add fontSet resource. + + 2005-03-22 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenuP.h: Temporary #undef HAVE_X_I18N until FontSet for UTF-8 + on XFree86 is investigated. + + * xlwmenu.c: Ditto. + + 2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca> + + Add support for I18N to Lucid menus. + + * xlwmenuP.h (struct _XlwMenu_part) [HAVE_X_I18N]: Change `font' to be + a fontset. Add a `font_extents' element. + + * xlwmenu.c (xlwMenuResources) [HAVE_X_I18N]: Use a fontset for the + `font' resource. + (string_width) [HAVE_X_I18N]: Use XmbTextExtents. + (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): New macros. + (arrow_width, toggle_button_width, size_menu_item, draw_arrow) + (draw_toggle, draw_radio, display_menu_item): Use them. + (display_menu_item) [HAVE_X_I18N]: Use XmbDrawString. + (make_drawing_gcs) [HAVE_X_I18N]: Don't mess with fonts. + (XlwMenuInitialize) [HAVE_X_I18N]: Initialize font_extents. + (XlwMenuSetValues) [HAVE_X_I18N]: Refresh font_extents if font changes. + + * lwlib-Xm.c (xm_update_label, xm_update_list): Use the recommended + XmStringCreateLocalized function. Add missing copyright. + + * lwlib-Xm.h: Add missing copyright and license notice. + + 2005-03-12 Stefan Monnier <monnier@iro.umontreal.ca> + + * xlwmenuP.h: + * xlwmenu.h: Add missing copyright and license notice. + + 2004-12-27 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.c (xlwMenuActionsList): Install MenuGadgetEscape as an + action procedure for compatibility with Lesstif/Motif. + + * Makefile.in (mostlyclean): Don't remove *~ on clean. + + 2004-12-26 Jan Djärv <jan.h.d@swipnet.se> + + * lwlib-Xaw.c: Put <KeyPress>Escape in dialogOverride so dialogs only + pops down on Escape, not any keypress. + + 2004-11-01 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.c (find_first_selectable, find_next_selectable) + (find_prev_selectable): Rename parameter skip_no_call_data to + skip_titles. Recognize titles as having no call_data and no contents. + (Down, Up): Comment update. + + 2004-08-30 Jan Djärv <jan.h.d@swipnet.se> + + * lwlib.h (_widget_value): Add lname and lkey. + + 2004-01-12 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenuP.h (_XlwMenu_part): Add top_depth. + + * xlwmenu.h: Removed declaration of pop_up_menu. + + * xlwmenu.c (Start): Get correct time if time in event is CurrentTime. + (find_first_selectable, find_next_selectable) + (find_prev_selectable): Add parameter skip_no_call_data to skip + over items with no call data (popup menu titles). + (Down, Up): Compare old_depth to top_depth instead of 2. + Pass True to find_*_selectable:s new parameter if this is a popup menu. + (Left, Right): Compare old_depth to top_depth instead of 2. + Pass 0 to find_*_selectable:s new parameter. + (pop_up_menu): Set top_depth to 1 for pop up menus and 2 for + menu bar menus, to enable keyboard traversal of popups. + + * lwlib-Xm.c (dialog_key_cb): New function. + (make_dialog): Add event handlers to dialog_key_cb for key press + so we can pop down on ESC. + + * lwlib-Xlw.c (xlw_popup_menu): Replace call to pop_up_menu with + XtCallActionProc ("start"). Use a full XEvent since "start" copies it. + + * lwlib-Xaw.c (make_dialog): Add override so dialog pops down on ESC. + (wm_delete_window): If widget isn't a shell, use the parent. + + 2003-05-22 Dave Love <fx@gnu.org> + + * xlwmenu.c: Include lisp.h, not ../src/lisp.h. + (make_drawing_gcs): Remove unused `xswa', `mask'. + + * lwlib-Xlw.c: Include lisp.h, not ../src/lisp.h. + (lw_lucid_widget_p): Remove unused `mw'. + (xlw_update_one_widget, xlw_pop_instance) [PROTOTYPES]: + Provide ISO C arglists. + + 2003-04-30 Lute Kamstra <lute@gnu.org> + + * Makefile.in: Make things function properly in case both LessTif + and Open Motif are installed. + + 2003-01-26 Jan Djärv <jan.h.d@swipnet.se> + + * lwlib-Xm.c (update_one_menu_entry): Deallocate widget_list. + (destroy_all_children): Call it self to destroy sub menu children. + + 2002-12-22 Richard M. Stallman <rms@gnu.org> + + * xlwmenu.c (pop_new_stack_if_no_contents): Do nothing if + new_depth is 1. + (remap_menubar): Don't look in new_stack[0]. + (Left): At level 1, do the same thing Right does. + + 2002-11-21 Dave Love <fx@gnu.org> + + * lwlib-Xaw.c [PROTOTYPES]: Provide ISO C arglists for functions + with Boolean args. + + 2002-11-20 Dave Love <fx@gnu.org> + + * lwlib.c: Remove obsolete USE_OLIT code. + [PROTOTYPES]: Provide ISO C arglists for functions with Boolean args. + (lwlib_memset): Declare length arg as size_t. + (malloc_widget_value): Cast arg of lwlib_memset. + + * xlwmenu.c (separator_height): Prototype. + + 2002-05-07 Miles Bader <miles@gnu.org> + + * xlwmenu.c (make_drawing_gcs): The scaling factor passed to + `x_alloc_lighter_color_for_widget' is a float, not an int, and + it's a multiplicative factor, so the name `delta' is inaccurate. + Always base disabled foreground on the normal foreground. + Don't use the temporary variable `temp'. + + 2002-05-06 Pavel Janík <Pavel@Janik.cz> + + * xlwmenu.c (xlwMenuResources): New resource. + (find_next_selectable): Return current item when the menu is not + popped up. + Rename `inactive_gc' to `disabled_gc'. + Use lighter/darker color for disabled menu items instead of using + stipple. Use stipple only when better color can not be + determined automatically. + + * xlwmenu.h (XtNdisabledForeground, XtCDisabledForeground): + New resource names. + + * xlwmenuP.h (_XlwMenu_part): Add new member `disabled_foreground'. + Rename `inactive_gc' to `disabled_gc'. + + 2002-04-29 Pavel Janík <Pavel@Janik.cz> + + * xlwmenu.c <XtNmargin, XtNverticalSpacing, XmNshadowThickness>: + Change default values. + + 2002-04-28 Jan Djärv <jan.h.d@swipnet.se> + + * xlwmenu.c: Do not grab keyboard if installation-directory is + non-nil (not installed Emacs). To simplify debugging. + + 2002-04-28 Pavel Janík <Pavel@Janik.cz> + + * Makefile.in: Remove OpenLook file dependencies. + (xrdb-cpp.o): Remove target. + Remove unused defines. + + * xrdb.c, xrdb-cpp.c, Imakefile, dispatch.c, dispatch.h: + Remove unused file. + + * lwlib.c (instantiate_widget_instance): Remove duplicated prototype. + + 2002-04-25 Pavel Janík <Pavel@Janik.cz> + + * lwlib-Xol.c, lwlib-Xol.h, lwlib-Xolmb.c, lwlib-Xolmb.h + * lwlib-XolmbP.h: Remove file. + + 2002-04-22 Jan Djärv <jan.h.d@swipnet.se> + + * lwlib-Xm.c: Removed compiler warning. + + * xlwmenu.c: Add calls to GrabKeyboard to remove strange + interactions with window managers that steal keypresses. + Call ungrab_all instead of XtUngrabPointer. + (pop_up_menu): Add call to XtGrabKeyboard. + (ungrab_all): New function. + + 2002-04-20 Pavel Janík <Pavel@Janik.cz> + + * xlwmenu.c (find_next_selectable): New function. + (Down, Up, Right): Use it. + (find_next_selectable): Prevent endless loops when only one item + is enabled in the menu. + + 2002-04-19 Pavel Janík <Pavel@Janik.cz> + + These changes allow moving in menu via keyboard. + + * xlwmenu.c (xlwMenuTranslations, xlwMenuActionsList): + Add translations for cursor keys and RET. + (find_next_selectable, find_prev_selectable): New functions used + for finding menu-items. + (Down, Up, Left, Right): New functions. + + 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> + + * Makefile.in (TAGS): Don't use -t, it's the default behavior for + etags, so it barfs if invoked with -t. + + 2002-03-17 Richard M. Stallman <rms@gnu.org> + + * lwlib.c (P_): Definitions deleted. + + 2002-03-16 Eli Zaretskii <eliz@is.elta.co.il> + + * lwlib.c (P_): Don't define if already defined. + + 2002-01-27 Pavel Janík <Pavel@Janik.cz> + + * lwlib-Xaw.c (xaw_update_scrollbar, xaw_scrollbar_scroll) + (xaw_scrollbar_jump): Put whole functions in #if 0. + + 2002-01-09 Pavel Janík <Pavel@Janik.cz> + + * lwlib-Xaw.c (xaw_create_dialog): Initialize icon_name to + suppress compiler warnings. + + 2001-12-18 Pavel Janík <Pavel@Janik.cz> + + * lwlib.c (separator_names): Add missing braces around initializers. + + 2001-12-08 Pavel Janík <Pavel@Janik.cz> + + * COPYING: New file. + + 2001-12-01 Richard M. Stallman <rms@gnu.org> + + * lwlib.h (_widget_value): `help' has type Lisp_Object. + + * xlwmenu.c, lwlib-Xaw.c, lwlib-Xlw.c: Include ../src/lisp.h. + * lwlib-Xm.c, lwlib-Xol.c, lwlib-Xolmb.c: Include ../src/lisp.h. + * lwlib-utils.c: Include ../src/lisp.h. + + * lwlib.c: Include ../src/lisp.h. Don't declare xmalloc. + (free_widget_value_tree): Don't free `help' field. + (copy_widget_value_tree): Copy `help' simply, without safe_strdup. + (merge_widget_value): Compare and copy `help' simply. + + 2001-11-28 Richard M. Stallman <rms@gnu.org> + + * Makefile.in (TAGS): Find the source files in $(srcdir). + + 2001-10-20 Gerd Moellmann <gerd@gnu.org> + + * (Version 21.1 released.) + + 2001-10-09 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xaw.c (xaw_create_scrollbar) [!0]: Return NULL. + From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>. + + 2001-10-05 Gerd Moellmann <gerd@gnu.org> + + * Branch for 21.1. + + 2001-04-30 Gerd Moellmann <gerd@gnu.org> + + * xlwmenu.c (xlwmenu_window_p): New function. + + 2001-03-23 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xlw.c (x_print_complete_resource_name) [0]: New function. + + 2001-03-22 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (x_print_complete_resource_name) [0]: New function. + + 2001-03-13 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (make_menu_in_widget): Remove code forcing LessTif to + recompute centered text; it works fine without with current LessTif. + + * lwlib-Xm.c (make_menu_in_widget): Add an XmNpopdownCallback + instead of an XmNunmapCallback. + (xm_unmap_callback): Remove. + + * lwlib-Xm.c (make_menubar): Take out code in #if 0. + + * lwlib-Xm.c (xm_popup_menu): Don't set XmNmenuPost unless + necessary. From Rick Scott <rwscott@alumni.uwaterloo.ca>. + + 2001-02-28 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (xm_arm_callback): Don't compare widgets with `None', + use NULL instead. + + * lwlib-Xaw.c (xaw_update_one_widget): Use XtSetSensitive instead + of setting the value of XtNsensitive. + + * lwlib-Xm.c (xm_update_radiobox, update_one_menu_entry) + (xm_update_one_widget): Use XtSetSensitive instead of setting the + value of XmNsensitive. From Rick Scott <rwscott@alumni.uwaterloo.ca>. + + 2000-12-14 Dave Love <fx@gnu.org> + + * xlwmenu.c (gray_bitmap_bits): Remove `unsigned' from declaration. + + 2000-12-11 Dave Love <fx@gnu.org> + + * xlwmenu.c (draw_separator) <SEPARATOR_SHADOW_ETCHED_IN_DASH>: + <SEPARATOR_SHADOW_ETCHED_OUT_DASH>: Fix call of draw_separator. + + 2000-12-07 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (xm_arm_callback): Fix last change. + + 2000-11-30 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (xm_arm_callback): Handle case that W is null; + also see comment there. + + 2000-11-21 Gerd Moellmann <gerd@gnu.org> + + * xlwmenu.c (xlwmenu_redisplay): New function. + + 2000-09-30 Stefan Monnier <monnier@cs.yale.edu> + + * lwlib.c (lw_separator_p): Init separator_p (bug with "-- some text"). + + 2000-09-28 Sam Steingold <sds@gnu.org> + + * xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41 + to avoid redefining struct timeval and struct timezone. + + 2000-09-04 Miles Bader <miles@gnu.org> + + * xlwmenu.c (XlwMenuSetValues): Only frob the display if the menu + is actually displayed. + (remap_menubar): Only include the menu-margin in the initial X & Y + positions for horizontal menu-bars. + (fit_to_screen): If moving a sub-menu to the left-side, increment + its x-position by the shadow-thickness to make it look more + attached to the invoking menu-item (similarly to the way it would + be displayed on the right side). + + 2000-09-03 Miles Bader <miles@gnu.org> + + * xlwmenu.c (x_alloc_lighter_color_for_widget): New extern declaration. + (make_shadow_gcs) [emacs]: Use x_alloc_lighter_color_for_widget to + do shadow calculation. + (make_shadow_gcs): Remove code that tests whether the top shadow + is dimmer than the bottom shadow--it shouldn't ever happen. + + 2000-08-30 Miles Bader <miles@gnu.org> + + * xlwmenu.c (XlwMenuSetValues): If the background color has + changed, re-make the shadow-gcs too. + + 2000-08-03 Gerd Moellmann <gerd@gnu.org> + + * lwlib.c, lwlib-Xm.c, lwlib-Xaw.c: Use NULL at the end of the + variable argument lists of XtVaSetValues and XtVaGetValues + functions because 0 is not sufficient on systems where sizeof + (int) < sizeof (void *). + + 2000-07-19 Gerd Moellmann <gerd@gnu.org> + + * xlwmenu.c [emacs]: Don't include <X11/bitmaps/gray> because that + leads to redefinition errors when static is defined as empty in + config.h. Refer to the gray bitmap in xfns.c, instead. + + 2000-07-18 Dave Love <fx@gnu.org> + + * lwlib-utils.c (XtApplyToWidgets): Cast args of lwlib_bcopy. + + 2000-06-23 Dave Love <fx@gnu.org> + + * lwlib-Xlw.c (xlw_popup_menu): Cast arg of pop_up_menu. + + * lwlib-utils.c: Include lwlib.h. + + 2000-06-16 Gerd Moellmann <gerd@gnu.org> + + * xlwmenuP.h (_XlwMenu_part): Add free_top_shadow_color_p and + free_bottom_shadow_color_p. + + * xlwmenu.c (make_shadow_gcs): Set free_top_shadow_color_p + and free_top_shadow_color_p flags in the menu widget if + top and bottom shadow colors must be freed. + (release_shadow_gcs): Free colors only if they must be freed. + + 2000-06-12 Gerd Moellmann <gerd@gnu.org> + + * xlwmenu.c (make_shadow_gcs): Free and copy colors so that + color reference counts are right. + (release_shadow_gcs): Free colors. + + 2000-06-06 Dave Love <fx@gnu.org> + + * xlwmenu.c (x_alloc_nearest_color_for_widget, x_catch_errors) + (x_uncatch_errors, x_had_errors_p, x_clear_errors): Add prototypes + -- should be moved into separate header. + (make_shadow_gcs) <x_alloc_nearest_color_for_widget>: Cast first arg. + (Start) <pop_up_menu>: Cast second arg. + + * lwlib.c (P_): Use PROTOTYPES. + (safe_strdup): Declare arg const. + (lw_modify_all_widgets) <!info>: Return 0. + + * lwlib-Xm.c (P_): Use PROTOTYPES. + + * xlwmenu.h, lwlib.h, lwlib-utils.h, lwlib-int.h, lwlib-Xm.h: + * lwlib-Xlw.h, lwlib-Xaw.h: Enable prototypes. + + * lwlib-Xaw.c (xaw_popup_menu): Add EVENT arg. + + * Makefile.in (lwlib.o): Depend on lwlib-Xlw.h. + (lwlib-Xlw.o): Depend on lwlib-Xlw.h. + (lwlib-Xaw.o): Depend on lwlib-Xaw.h. + (lwlib-Xm.o): Depend on lwlib-Xm.h. + + 2000-03-12 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (make_menubar) [LESSTIF_VERSION]: Don't set + XmNresizeHeight and XmNresizeWidth. + + 2000-03-08 Dave Love <fx@gnu.org> + + * Makefile.in (liblw.a): Don't bother testing for ranlib failing + since configure sets it up. + + 2000-03-06 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (make_menubar): Set XmNresizeHeight and + XmNresizeWidth resources only if LESSTIF_VERSION is defined. + + 2000-03-05 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (xm_manage_resizing): Rewritten. + + * lwlib.c (lw_modify_all_widgets): Return non-zero if widget + tree was changed. + (merge_widget_value): Add parameter CHANGE_P. Set *CHANGE_P + to 1 if a change occurs. + + * lwlib.h (lw_modify_all_widgets): Change prototype. + + 2000-03-04 Gerd Moellmann <gerd@gnu.org> + + * xlwmenu.c (make_shadow_gcs): Use the widget's colormap instead + of the screen's default colormap. + + 2000-02-18 Gerd Moellmann <gerd@gnu.org> + + * lwlib.c (merge_widget_value): Fix incorrect assignment of + safe_strdup'd help string. + + 2000-01-25 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (make_menu_in_widget): Don't add XmNpopdownCallback, + add XmNunmapCallback. + (xm_unmap_callback): New function. + (xm_pull_down_callback): Call pre-activate callback only if + parent is the menu bar. + + 2000-01-17 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (xm_arm_callback): New function. + (make_menu_in_widget): Set xm_arm_callback as XmNarmCallback and + XmNdisarmCallback for buttons (not supported for other widgets). + (make_menubar): Set XmNresizeHeight and XmNresizeWidth to False. + + * lwlib-Xlw.c (highlight_hook): New function. + (xlw_create_menubar, xlw_create_popup_menu): Add highlight_hook as + callback XtNhighlightCallback. + + * lwlib.c (copy_widget_value_tree): Copy help string. + (free_widget_value_tree): Free help string. + (merge_widget_value): Handle help string. + (allocate_widget_info, lw_register_widget, lw_create_widget): + Add parameter HIGHLIGHT_CB. + (lw_get_widget_instance): New function. + + * lwlib-int.h: Add prototype for lw_get_widget_instance. + + * lwlib.h (_widget_value): Add help string. + + * xlwmenu.c (xlwMenuResources): All XtNhighlightCallback. + (remap_menubar): Call highlight callback. + + * xlwmenu.h (XtNhighlightCallback): New define. + + * xlwmenuP.h (_XlwMenu_part): Add `highlight' callback list. + + 1999-10-19 Paul Eggert <eggert@twinsun.com> + + Add support for large files, plus some locale improvements. + + * dispatch.c, lwlib-Xaw.c, lwlib-Xlw.c, lwlib-Xm.c, lwlib.c, xlwmenu.c, + * xrdb-cpp.c, xrdb.c: + Include <config.h> before any system include files. + + * lwlib-Xm.c, lwlib.c: + Do not include <stdlib.h> or <string.h>, as <config.h> does this. + + 1999-10-07 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (make_menu_in_widget, update_one_menu_entry): + Use widgets instead of gadgets to be able to set colors. + + 1999-09-17 Richard Stallman <rms@gnu.org> + + * lwlib-Xaw.c (wm_delete_window): Check all the shell's children, + not just the first, to find the dialog box. + + 1999-09-14 Gerd Moellmann <gerd@gnu.org> + + * lwlib.c (lw_separator_p): Check for new-style separators differently. + + 1999-09-10 Gerd Moellmann <gerd@gnu.org> + + * lwlib.c (lw_separator_p): Add `--:space' with the same + meaning as `--:noLine'. + + 1999-09-06 Gerd Moellmann <gerd@gnu.org> + + * lwlib.c (lw_separator_p): Add alternative separator type names. + + 1999-09-03 Gerd Moellmann <gerd@gnu.org> + + * xlwmenu.c (make_shadow_gcs): Call x_alloc_nearest_color_for_widget. + + 1999-07-12 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c: Add function prototypes. + + * lwlib-Xm.c (xm_update_label): Use val->name to look up + a label string from resources. + (xm_update_label): Add some comments. + + 1999-07-12 Gerd Moellmann <gerd@gnu.org> + + * xlwmenu.c (all_dashes_p): Removed. + (size_menu_item): Call lw_separator_p. + (display_menu_item): Ditto. + (display_menu): Ditto. + (draw_separator): New. + (display_menu_item): Call it. + (separator_height): New. + (size_menu_item): Call it. + + * lwlib-Xm.c (all_dashes_p): Removed. + (make_menu_in_widget): Use lw_separator_p. Set Motif separator type. + + * lwlib.c (lw_separator_p): New. + + * lwlib.h (enum menu_separator): New. + + 1999-07-12 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (make_menu_in_widget): Set alignment of menu + title after all widgets have been created. + + 1999-07-12 Gerd Moellmann <gerd@gnu.org> + + * xlwmenu.c (toggle_button_width): Renamed from + toggle_or_radio_button_width. + (radio_button_width): New. + (size_menu_item): Use new functions. + (draw_shadow_rhombus): New. + (draw_radio): Use radio_button_width and draw_shadow_rhombus. + (draw_toggle): Use toggle_button_width. + + 1999-07-12 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (xm_update_toggle): Add callback xm_generic_callback + instead of xm_internal_update_other_instances. + + * lwlib-Xm.c (make_menu_in_widget): Do help button before managing + children to get it to the right place. + (make_menu_in_widget): Create toggle buttons. + (update_one_menu_entry): Update toggle buttons. + + * xlwmenu.c (size_menu_item): Add parameter button_width. + (size_menu): Compute button_width. + (toggle_or_radio_button_width): New. + (draw_toggle): New. + (draw_radio): New. + (draw_shadow_rectangle): Add parameter `down_p'. + + * xlwmenuP.h (_window_state): Add button_width. + + 1999-07-12 Gerd Moellmann <gerd@gnu.org> + + * xlwmenu.c (make_shadow_gcs) [emacs]: Use x_alloc_nearest_color. + + * lwlib.c (merge_widget_value): Handle button_type. + (copy_widget_value_tree): Copy button_type. + + * lwlib.h (enum button_type): New. + (_widget_value): New member button_type. + + 1999-07-12 Gerd Moellmann <gerd@gnu.org> + + * lwlib-Xm.c (make_menu_in_widget): Test for menubar widgets + using XmNrowColumnType. + + 1999-07-12 Gerd Moellmann <gerd@gnu.org> + + * xlwmenu.c (abort_gracefully): New. + (display_menu): Use it instead of abort. + (size_menu): Ditto. + + 1999-07-12 Gerd Moellmann <gerd@gnu.org> + + * xlwmenu.c (xlwMenuResources): Change previously unused + XtNmargin to 4. + (size_menu): Take margin into account. + (display_menu_item): Ditto. + (remap_menubar): Ditto. + (draw_arrow): Draw it 3D. + + 1999-07-12 Richard Stallman <rms@gnu.org> + + * Version 20.4 released. + + 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu> + + * Version 20.3 released. + + 1998-07-30 Paul Eggert <eggert@twinsun.com> + + * Makefile.in (lwlib-utils.o, lwlib.o, lwlib-Xlw.o) + (lwlib-Xaw.o, lwlib-Xm.o, lwlib-Xol.o, lwlib-Xolmb.o): + Add dependencies to corresponding .c files for Solaris 2.x VPATH make. + + 1998-04-06 Andreas Schwab <schwab@gnu.org> + + * lwlib.c: Always declare xmalloc. + [USE_XAW]: Include <X11/Xaw/Paned.h>. + (lwlib_memset, lwlib_bcopy): Explicitly declare return type. + + 1997-12-20 Richard Stallman <rms@psilocin.gnu.org> + + * lwlib-Xm.c (update_one_menu_entry): + Add conditional in case XmNpositionIndex is missing. + + 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> + + * Version 20.2 released. + + * xlwmenu.c (motion_event_is_in_menu): Extend the left and + top windows by the shadow width. + + 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> + + * Version 20.1 released. + + 1997-07-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> + + * xlwmenu.c (display_menu): If an item is disabled, + don't display its submenu (if any). + + 1997-05-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> + + * xlwmenu.c (pop_up_menu): Update the call to x_catch_errors. + + 1997-01-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> + + * xlwmenu.c (fit_to_screen): If new menu would overlap the previous + one from the side, try moving it up or down. + + 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> + + * Version 19.33 released. + + * lwlib-Xm.c (update_one_menu_entry): Fix previous change: + When XmIsCascadeButton, don't call XmCreateCascadeButtonGadget, + just modify the existing one. + + 1996-08-09 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> + + * lwlib.c (merge_widget_value): Undo previous change. + + * lwlib-Xm.c (update_one_menu_entry): When creating a pulldown + in an existing but empty menu item, in order to get a new functional + pulldown, the menu item must be switched from an XmPushButtonGadget + into a XmCascadeButtonGadget. + + 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> + + * Version 19.32 released. + + 1996-07-31 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> + + * lwlib-Xm.c (make_menubar): Turn off menu accelerator. + + 1996-07-24 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> + + * lwlib.c (merge_widget_value) [USE_MOTIF]: Pass along the change + flag from merged_contents. + + 1996-07-13 Karl Heuer <kwzh@gnu.ai.mit.edu> + + * lwlib-Xm.c (xm_update_menu): Fix loop termination test. + + 1996-07-07 Karl Heuer <kwzh@gnu.ai.mit.edu> + + * lwlib-Xm.h, lwlib-Xm.c, lwlib.h, lwlib.c: Undo previous change. + + 1996-07-03 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> + + * lwlib-Xm.h: Declare lw_motif_menu_related_event_p. + + * lwlib-Xm.c (lw_motif_menu_related_event_p): A predicate to + identify keyboard events intended only for menus. + + * lwlib.h: Declare lw_toolkit_related_event_p. + + * lwlib.c (lw_toolkit_related_event_p): A predicate to identify + toolkit-specific events. + + 1996-06-07 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu> + + * lwlib-Xm.c (make_menu_in_widget): Set mapping delay + for cascade buttons to zero. + + 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu> + + * Version 19.31 released. + + 1996-03-31 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * lwlib-Xm.c (destroy_all_children): When freeing a cascade button, + free its submenu too. + (make_menu_in_widget): Use a cascade button gadget, not a widget. + Include Xm/CascadeBG.h. + + 1996-03-29 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * Makefile.in (tags): New target. + + 1996-03-28 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * Makefile.in (TAGS): Renamed from `tags' and fixed to work. + + 1996-03-26 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * Makefile.in (xlwmenu.o): New explicit target. + + 1996-03-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * lwlib.h (struct widget_value): New field this_one_change. + * lwlib.c (merge_widget_value): Set the this_one_change field. + * lwlib-Xm.c (destroy_all_children): New arg first_child_to_destroy. + (make_menu_in_widget): New arg keep_first_children. + (xm_update_menu): Preserve the first children even if later ones + have a structural change. + (update_one_menu_entry): Use this_one_change field. + + 1996-03-01 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * xlwmenu.c (motion_event_is_in_menu): Make x and y signed. + + 1996-02-25 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * lwlib.c (lw_window_is_in_menubar) [USE_MOTIF]: + With Motif, the window WIN can be the menu bar widget itself. + + 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> + + * lwlib.c (free_widget_value_tree, merge_widget_value): + Use XtFree for the toolkit_data. + + 1996-02-19 Karl Heuer <kwzh@gnu.ai.mit.edu> + + * lwlib.c (lw_internal_update_other_instances): Move static var + outside the function, and rename it to lwlib_updating. + + 1996-01-04 Paul Eggert <eggert@twinsun.com> + + * lwlib.c (instantiate_widget_instance): Renamed from + instanciate_widget_instance (spelling correction). + All callers changed. + + 1995-12-31 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * xlwmenu.c (xlwMenuActionsList): Add "key" and "nothing". + (xlwMenuTranslations): Add translations for Key, KeyUp, + and for the modifier keysyms. + (Nothing, Key): New functions. + + 1995-12-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * xlwmenu.c (XlwMenuSetValues): Do redisplay if non-null contents + get replaced by empty contents. + + * lwlib.c (merge_widget_value): Treat disappearance of entire contents + as a STRUCTURAL_CHANGE. + + 1995-12-20 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> + + * lwlib-utils.c: Add #undef for index and rindex. + + 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * Version 19.30 released. + + 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * xlwmenu.c (display_menu_item): Fix previous change. + + 1995-11-04 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> + + * xlwmenu.c (display_menu_item): Don't treat buttons specially. + + 1995-08-14 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * Makefile.in (RANLIB): Get this var from configure. + + 1995-08-02 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * lwlib.c (lw_popup_menu): New arg `event', passed along. + * lwlib-Xlw.c (xlw_popup_menu): New arg `event'. + * lwlib-Xm.c (xm_popup_menu): New arg `event'. + + 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * Version 19.29 released. + + 1995-06-11 Richard Stallman <rms@gnu.ai.mit.edu> + + * lwlib.c (lwlib_toolkit_type): New variable. + + 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu> + + * xlwmenu.c (Drag): Do nothing unless menu.popped_up field is set. + + 1995-05-22 Karl Heuer <kwzh@hal.gnu.ai.mit.edu> + + * xlwmenu.c (XlwMenuInitialize): Cast XCreatePixmapFromBitmapData args. + + 1995-05-20 Karl Heuer <kwzh@nutrimat.gnu.ai.mit.edu> + + * lwlib.c: Don't use prototype. + * lwlib-Xm.c (activate_button, xm_update_cascadebutton): Likewise. + + 1995-05-05 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * lwlib.c (lw_refigure_widget) [USE_MOTIF]: Fix backward if. + + 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * Makefile.in (ALL_CFLAGS): Add -I../src. + + 1995-05-03 Morten Welinder <terra+@cs.cmu.edu> + + * lwlib.c [__osf__]: Include string.h and stdlib.h. + [__osf__] (xmalloc): Declared. + + 1995-04-13 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * lwlib-Xm.c (update_one_menu_entry, make_menu_in_widget): + Specify more useful names in XmCreatePulldownMenu calls. + + * lwlib-Xaw.c (xaw_pop_instance): Make x, y, w, h unsigned. + + * xlwmenu.c (size_menu): Make height and label_width unsigned. + (fit_to_screen): Make screen_width and screen_height unsigned. + (motion_event_is_in_menu): Make x, y unsigned. + + 1995-04-09 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * lwlib-utils.c: If HAVE_CONFIG_H, include config.h. + + * Makefile.in (ALL_CFLAGS): Define HAVE_CONFIG_H. + Add -I${srcdir}/../src. + + 1995-04-08 Paul Reilly <pmr@geech.gnu.ai.mit.edu> + + * lwlib-Xm.c: Remove function prototypes. + (xm_pop_down_callback): Call the deactivation callback only when + popping down the top level submenu. + + 1995-04-07 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * Makefile.in (lwlib.o): Depend on Makefile. + + * lwlib-Xm.h: Remove function prototypes. + + * lwlib-Xm.c (remove_grabs): Use type Widget for `menu'. + + 1995-02-15 Paul Reilly <pmr@geech.gnu.ai.mit.edu> + + * Makefile.in (ALL_CFLAGS): Allow include files to be found in + `srcdir'. + + 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu> + + * Makefile.in (maintainer-clean): Renamed from realclean. + + 1994-11-28 Richard Stallman <rms@bethel> + + * lwlib-int.h (safe_strdup): Don't use ANSI argument prototype. + + 1994-11-15 Paul Reilly <pmr@duality.gnu.ai.mit.edu> + + * lwlib.c (lw_refigure_widget): Use the macro USE_XAW rather than XAW. + + 1994-11-08 Paul Reilly <pmr@duality.gnu.ai.mit.edu> + + * lwlib-Xm.c (make_menu_in_widget): Differentiate a separator + entry ("--") from a title. + (xm_pop_down_callback): Filter all but the last pop down callbacks. + + 1994-11-07 Paul Reilly <pmr@duality.gnu.ai.mit.edu> + + * lwlib-Xm.c (update_one_menu_entry): Use the parent of the + cascade button as the parent of the pulldown, rather than the + cascade button itself. This works around a Motif SIGSEGV in the + function `InSharedMenuHierarchy'. + + 1994-10-26 Richard Stallman <rms@duality.gnu.ai.mit.edu> + + * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc. + + 1994-10-26 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * xlwmenu.c (xlwmenu_default_font): New global variable. + (XlwMenuInitialize): Use xlwmenu_default_font to default + the font if necessary. Make mw, itself, an argument. + + * xlwmenu.c (pop_up_menu): Pass a Display * to x_catch_errors, etc. + + 1994-10-08 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * xlwmenu.c (fit_to_screen): Don't put the menu off the left or top. + + 1994-10-02 Paul Reilly <pmr@geech.gnu.ai.mit.edu> + + * xlwmenu.c (display_menu_item): Add support for displaying the + title in pop up menus. + + * lwlib.c (lw_set_main_areas): Use xm_set_main_areas(). + (lw_manage_resizing): Use xm_manage_resizing() for Emacs/Motif. + + 1994-09-25 Paul Reilly <pmr@geech.gnu.ai.mit.edu> + + * lwlib-Xaw.c (xaw_create_main): New function to support the + toolkit independent creation of the main Emacs widget. * + lwlib-Xlw.c (xlw_create_menubar): When compiling under Emacs, set + resizing resources to disable showGrip and to enable both + resizeToPreferred and allowShellResize. + + * lwlib-Xm.h: Declare xm_set_main_areas, xm_manage_resizing. + + * lwlib-Xm.c (make_menu_in_widget): Add support for displaying a + title in pop up menus. + (make_main, xm_set_main_areas, xm_manage_resizing): New functions to + create and manage a Motif Main Window widget. + + * xlwmenu.c: Add #include <X11/ObjectP.h> for X11R4. + + 1994-09-18 Frederic Pierresteguy <F.Pierresteguy@frcl.bull.fr> + + * lwlib-Xm.c (make_dialog): When there is more than two pushbuttons, + set XmPACK_TIGHT and XmHORIZONTAL to the rowcolumn. Also add a + margin of 10 pixels. + + 1994-09-16 Paul Reilly <pmr@geech.gnu.ai.mit.edu> + + * lwlib-Xm.c (make_main): New function to support toolkit + independent creation of the main Emacs widget. + (make_destroyed_instance): Use safe_strdup() instead of strdup(). + + * lwlib-int.h: Declare safe_strdup. + + * lwlib.c (lw_refigure_widget): New function. Handle geometry + management inside lwlib instead of in Emacs. + (lw_window_is_in_menubar): New function. Determine if the pointer + is in a menubar. + (lw_set_main_areas): New function. Set the main window widgets for + Motif. + + * lwlib.h: Declare lw_refigure_widget(), lw_window_is_in_menubar(), + lw_set_main_areas(). + + * xlwmenu.h: Define Xt{Ns,CS}howGrip, Xt{Nr,CR}esizeToPreferred, and + Xt{Na,CA}llowResize. + + * xlwmenu.c (Start): Use pop_up_menu() to post the submenus. + (Select): Remove the pointer grab when popping down a menubar submenu. + (pop_up_menu): Handle popping up submenus from a menubar, i.e. when + the menu widget parent is not a shell widget. + + 1994-08-25 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * xlwmenu.c (pop_up_menu): Clear next_release_must_exit. + (Start): Clear next_release_must_exit when popping up the menu. + + 1994-08-24 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * xlwmenu.c (Start): Set menu_post_event or next_release_must_exit. + (Select): Do nothing if the menu should be left posted. + + 1994-07-28 Richard Stallman <rms@mole.gnu.ai.mit.edu> + + * xlwmenu.c (make_windows_if_needed, pop_up_menu): + Enable mouse motion events even when no button down. + + 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xlwmenu.c (pointer_grabbed): New variable. + (pop_up_menu): Set the variable. + (XlwMenuDestroy): Maybe call XtUngrabPointer. + + 1994-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lwlib.c (max): Function deleted. Define as macro instead, + but only if not already defined. + + 1994-05-20 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xlwmenu.c (xlwMenuResources): Use XtRDimension for shadow thickness. + + 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lwlib-Xaw.c (xaw_pop_instance): Use XtSetValues, not XtMoveWidget. + + 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lwlib.c (lwlib_memset: New function, used instead of memset. + All callers changed. + * lwlib.c (lwlib_bcopy): New function. + * lwlib-utils.c (XtApplyToWidgets): Use lwlib_bcopy. + + * lwlib.c: Delete definitions for use of alloca. + (name_to_widget): Use xmalloc, not alloca. + + 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xlwmenu.c (XlwMenuDestroy): Set new var submenu_destroyed. + (XlwMenuRedisplay): If it's set, truncate the old_depth to 1. + + 1994-05-09 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xrdb-cpp.c: Don't include string.h, unistd.h, stdlib.h. + * lwlib-Xaw.c: Don't include string.h, unistd.h, stdlib.h. + * lwlib-utils.c (XtApplyToWidgets): Use bcopy, not memcpy. + * lwlib-utils.c: Don't include string.h, unistd.h, stdlib.h, memory.h. + * xlwmenu.c: Don't include string.h, unistd.h, stdlib.h. + * lwlib.c: Don't include string.h, unistd.h, stdlib.h. + (safe_strdup): No longer static. + * lwlib-Xm.c: Use safe_strdup, not strdup. + + * xlwmenu.c (string_width): No longer static. + + 1994-05-06 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xlwmenuP.h (struct _XlwMenu_part): Use Pixel and Cursor + for foreground and cursor_shape fields. + + * xlwmenu.c (XlwMenuSetValues): Check for change of font. + + 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in: Delete all SRCS variables (unused). + (lwlib.o, xrdb-cpp.o): Mention srcdir in dep. + + 1994-04-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (ALL_CFLAGS): Don't define THIS_IS_X11R4. + + * xrdb.c: Define HAVE_X11R5 as in xterm.h. + Include X11/Xlib.h, X11/cursorfont.h and X11/Xutil.h. + (_XtDisplayInitialize): Test HAVE_X11R5. + + * dispatch.c: Define HAVE_X11R5 as in xterm.h. + Include X11/Xlib.h, X11/cursorfont.h and X11/Xutil.h. + (_XtConvertTypeToMask): Conditionalize on HAVE_X11R5. + (WouldDispatchEvent): Likewise. + + 1994-04-12 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lwlib-Xaw.c (xaw_generic_callback): Declare without arg names. + + 1994-04-01 Frederic Pierresteguy (fp@hal.gnu.ai.mit.edu) + + * lwlib-Xaw.c (make_dialog): Don't allow any geometry request from the + user. + + 1994-03-22 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xlwmenu.c (XlwMenuResize): Don't allow the popup menu to resize + itself. Therefore reset the size to its initial value. + + 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lwlib-Xaw.c (xaw_update_one_widget): Finish replacing XtVaSetValues. + Don't test for scrollbar widget. + + 1994-03-14 Frederic Pierresteguy (fp@gnu.ai.mit.edu) + + * lwlib-int.h: Declare lw_get_widget_info. + + * lwlib.c (lw_get_widget_info): Comment out arg in function decl. + + * lwlib-Xaw.h: Comment out args in function decls. + * lwlib-Xaw.c: Convert all function definitions to non-prototype K&R. + (xaw_update_one_widget - case dialogWidgetClass): Call XtSetValues, + not XtVaSetValues. + + 1994-03-11 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) + + * xlwmenu.c (display_menu_item): Modify parameters to draw_arrow to + right justify the arrow in the pane. + + * lwlib.c: If not defined USE_MOTIF and defined USE_LUCID then + define USE_XAW. + + * Makefile.in (LUCID_SRCS, LUCID_OBJS): Add the target lwlib-Xaw.[oc]. + + * lwlib.c, lwlib-int.h: Merged from Lucid 19.9 release. + * lwlib.c (_AIX): Replace the AIXV3 directive. + (USE_XAW): New macro to conditionalize the use of the athena toolkit. + (lw_get_widget_info): New function. + (set_one_value): Handle USE_XAW. + (instanciate_widget_instance): Likewise. + (destroy_one_instance): Likewise. + (lw_pop_all_widgets): Likewise. + (lw_pop_down_all_widgets): Likewise. + (get_one_value): Likewise. + + * lwlib-Xaw.c, lwlib-Xaw.h: New files. + + 1994-02-23 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xlwmenu.c (XlwMenuInitialize, XlwMenuDestroy): Undo previous changes. + + * lwlib-Xlw.c (xlw_create_menubar, xlw_create_popup_menu): + Use XtCreate..., not XtVaCreate... + No need to copy instance->info->val any more. + (xlw_update_one_widget): Use XtSetValues, not XtVaSetValues. + + 1994-02-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xlwmenu.c (pop_up_menu): Call XtUngrabPointer if XtGrabPointer fails. + + 1994-02-19 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (xrdb-cpp.o, lwlib.o): Put ALL_CFLAGS after other flags. + + * lwlib-Xlw.c (xlw_create_menubar): Don't call free_widget_value. + Use malloc for allocation. + (xlw_create_popup_menu): Likewise. + + 1994-02-18 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * lwlib.c (malloc_cpt): New static variable. + (malloc_widget_value): Increment malloc_cpt when allocating a cell. + (free_widget_value): Really free the cells when the number of + allocated ones is bigger than 25. + + * lwlib-Xlw.c (xlw_create_menubar): Call malloc_widget_value and + free_widget_value instead of XtMalloc and XtFree. + (xlw_create_popup_menu): Likewise. + + 1994-02-17 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in (ALL_CFLAGS): Specify -Demacs. + + * xlwmenu.c (pop_up_menu) [emacs]: Catch and ignore X protocol errors + in XtGrabPointer. + + 1994-02-17 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * lwlib-Xlw.c (xlw_create_popup_menu): Pass tem to + XtVaCreateManagedWidget, not instance->info->val. + (xlw_create_menubar): Likewise. + + 1994-02-15 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * lwlib-Xlw.c (xlw_create_popup_menu): Copy instance->info->val + before calling XtVaCreateManagedWidget and then free the copy. + (xlw_create_menubar): Likewise. + + 1994-02-11 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xlwmenu.c (XlwMenuInitialize): Copy mw->menu.contents. + (XlwMenuDestroy): Free mw->menu.contents. + + 1994-02-09 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xlwmenu.c (display_menu_item): Call draw_shadow_rectangle to make + visible/invisible the selection of the menubar items. + + 1994-02-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * lwlib.c (strcasecmp): Renamed to my_strcasecmp. + (find_in_table): Changed only caller. + + 1994-02-04 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu) + + * xlwmenu.c (display_menu_item): When dealing with the menubar, + always call XDrawRectangle to clear the selection after popping down + the pulldown menu. + + 1994-02-01 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lwlib.c: Include ctype.h. + + 1994-01-31 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lwlib.c (strcasecmp): New function. + + 1994-01-30 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xlwmenu.c, lwlib.c, lwlib-Xlw.c, lwlib-utils.c: + Convert all function definitions to non-prototype K&R. + + * lwlib-Xlw.h: Comment out args in function decls. + * lwlib.h: Comment out args in function decls. + * lwlib-utils.h: Comment out args in function decls. + + 1994-01-29 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * lwlib.c: Include StringDefs.h after lwlib.h. + + 1994-01-22 Roland McGrath (roland@churchy.gnu.ai.mit.edu) + + * Makefile (xrdb-cpp.o, lwlib.o): Use $(srcdir) and file name + instead of $*. + (dispatch.o, xrdb.o, lwlib-Xm.o): Rules removed; they were + superfluous and didn't work when configured outside srcdir. + The implicit .c.o rule works fine. + + 1994-01-21 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * xlwmenu.c (resource_widget_value): Avoid using strdup. + + 1994-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu) + + * Makefile.in: New file. + + * lwlib-Xolmb.c: Renamed from lwlib-Xol-mb.c. + * lwlib-Xolmb.h: Renamed from lwlib-Xol-mb.h. + * lwlib-XolmbP.h: Renamed from lwlib-Xol-mbP.h. + + * lwlib-int.h: Renamed from lwlib-internal.h. + + + + ;; Local Variables: + ;; coding: utf-8 + ;; End: + + Copyright (C) 1995-1999, 2001-2015 Free Software Foundation, Inc. + + This file is part of GNU Emacs. + + GNU Emacs is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + GNU Emacs is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. diff --cc src/ChangeLog.13 index 00000000000,328f7982e6b..8057b6e75d6 mode 000000,100644..100644 --- a/src/ChangeLog.13 +++ b/src/ChangeLog.13 @@@ -1,0 -1,17924 +1,18160 @@@ ++2015-04-26 Jan Djärv <jan.h.d@swipnet.se> ++ ++ * image.c (xcolor_to_argb32): New function. ++ (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32. ++ (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use ++ XImagePtr if ! USE_CAIRO. ++ (pbm_load): Add cairo support. ++ ++2015-04-12 Jan Djärv <jan.h.d@swipnet.se> ++ ++ * xterm.c (x_draw_image_glyph_string): Added missing USE_CAIRO. ++ (x_free_cr_resources): Renamed from x_prepare_for_xlibdraw. ++ (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert) ++ (x_free_frame_resources): Rename x_prepare_for_xlibdraw to ++ x_free_cr_resources. ++ ++ * image.c (get_spec_bg_or_alpha_as_argb) ++ (create_cairo_image_surface): New functions when USE_CAIRO. ++ (xpm_load): Call the above functions. Handle XPM without mask ++ when USE_CAIRO. ++ (png_load_body): Handle USE_CAIRO case. ++ (png_load): Remove USE_CAIRO specific fuction, modify png_load_body ++ instead. ++ (jpeg_load_body): Call create_cairo_image_surface. ++ (gif_load, svg_load_image): Handle specified background, call ++ create_cairo_image_surface. ++ ++2015-04-11 Jan Djärv <jan.h.d@swipnet.se> ++ ++ * image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO. ++ (tiff_load): Create cairo image surface if USE_CAIRO. ++ (gif_load): Ditto. ++ + 2015-04-06 Koichi Arakawa <arakawa@pp.iij4u.or.jp> (tiny change) + + * w32proc.c (w32_executable_type): Look for the DLL name in the + correct section. This avoids segfaults with some executables. + (Bug#20264) + ++2015-04-05 Jan Djärv <jan.h.d@swipnet.se> ++ ++ * image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO. ++ (x_clear_image): Free cr_data and cr_data2 if set. ++ (xpm_load): Assign data to cr_data2. ++ (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32. ++ ++ * dispextern.h (struct image): add cr_data2 if cairo. ++ + 2015-04-04 Jan Djärv <jan.h.d@swipnet.se> + + * xselect.c (x_reply_selection_request) + (receive_incremental_selection): Call set_property_change_object + inside block_input. + (wait_for_property_change): Move set property_change_reply(_object) + outside of this function (Bug#16737). + (set_property_change_object): New function. + + 2015-04-03 Jan Djärv <jan.h.d@swipnet.se> + ++ * image.c (prepare_image_for_display): Don't load if USE_CAIRO. ++ (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and ++ don't return early. ++ (ALLOC_XPM_COLORS): Don't define when USE_CAIRO. ++ (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32 ++ and create a surface. ++ + * xterm.c (handle_one_xevent): Always redraw tool tips on + MapNotify. Update tool tip frame sizes on ConfigureNotify. ++ (x_update_begin): Don't create any surface for non-visible ++ tip frames, the geometry may be wrong. + + 2015-03-31 Eli Zaretskii <eliz@gnu.org> + + * keyboard.c (read_key_sequence): Don't let + this_single_command_key_start become negative. (Bug#20223) + + 2015-03-29 Jan Djärv <jan.h.d@swipnet.se> + + * gtkutil.c (xg_display_open): + * xterm.c (x_display_ok, x_term_init): Block SIGIO when opening + a display (Bug#19175). + + 2015-03-29 Martin Rudalics <rudalics@gmx.at> + + * gtkutil.c (update_theme_scrollbar_width): Don't round up + scroll bar width with GTK3 (Bug#20182). + + 2015-03-28 Jan Djärv <jan.h.d@swipnet.se> + + * xsmfns.c (smc_save_yourself_CB): Return if Vinvocation_name or + user_login_name are not strings. + + 2015-03-28 Eli Zaretskii <eliz@gnu.org> + + * w32.c (sys_connect): Fix a mistake in previous commit that broke + blocking connections. (Bug#20159) + + 2015-03-27 Paul Eggert <eggert@cs.ucla.edu> + + Avoid some core dumps in X session management + Derived from a bug report by Nicolas Richard in: + http://bugs.gnu.org/20191#20 + * xsmfns.c (smc_save_yourself_CB): Don't dump core if + invocation-name is not a string. Initialize user-login-name if it + is not already initialized, and don't dump core if it is not a + string. + (create_client_leader_window): Don't dump core if x-resource-name + and x-resource-class are not both strings. + (x_session_initialize): Don't dump core if x-session-previous-id, + invocation-directory, and invocation-name are not strings. + + Port user-login-name initialization to Qnil == 0 + Derived from a bug report by Nicolas Richard in: + http://bugs.gnu.org/20191#20 + * editfns.c (Fuser_login_name, Fuser_real_login_name) + (syms_of_editfns): Don't rely on all-bits-zero being an Elisp integer, + as this is no longer true now that Qnil == 0. + + Assume !BROKEN_NON_BLOCKING_CONNECT + From a suggestion by Eli Zaretskii in: + http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00824.html + * process.c (NON_BLOCKING_CONNECT): Simplify by assuming that + BROKEN_NON_BLOCKING_CONNECT is not defined. + (SELECT_CAN_DO_WRITE_MASK): Remove, and assume it's now true. + + 2015-03-27 Eli Zaretskii <eliz@gnu.org> + + * lread.c (substitute_object_recurse): For sub-char-tables, start + the recursive SUBSTITUTE loop from index of 2, to skip the + non-Lisp members of the sub-char-table. See the discussion at + http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00520.html + for the details. + + Support non-blocking connect on MS-Windows. + Based on ideas from Kim F. Storm <storm@cua.dk>, see + http://lists.gnu.org/archive/html/emacs-devel/2006-12/msg00873.html. + + * w32proc.c (reader_thread): If the FILE_CONNECT flag is set, call + '_sys_wait_connect'. If it returns STATUS_CONNECT_FAILED, exit + the thread with code 2. + (sys_select): Support 'wfds' in addition to 'rfds'. If a + descriptor in 'wfds' has its bit set, but the corresponding + fd_info member doesn't have its FILE_CONNECT flag set, ignore the + descriptor. Otherwise, acknowledge a successful non-blocking + connect by resetting the FILE_CONNECT flag and setting cp->status + to STATUS_READ_ACKNOWLEDGED. (Bug#20159) + + * w32.h (STATUS_CONNECT_FAILED): New enumeration value. + (struct _child_process): New member 'errcode'. + (FILE_CONNECT): New flag. + (_sys_wait_connect): Add prototype. + + * w32.c (pfn_WSAEnumNetworkEvents): New function pointer. + (init_winsock): Load WSAEnumNetworkEvents from winsock DLL. + (set_errno): Map WSAEWOULDBLOCK and WSAENOTCONN. + (sys_connect): Support non-blocking 'connect' calls by setting the + FILE_CONNECT flag in the fd_info member and returning EINPROGRESS. + (_sys_read_ahead): Add debug message if this function is called + for a descriptor that waits for a non-blocking connect to complete. + (_sys_wait_connect): New function. + (sys_read): Support STATUS_CONNECT_FAILED. Return the error code + recorded by _sys_wait_connect when the non-blocking connect + failed. Don't call WSAGetLastError before a call to set_errno had + a chance to use its value, since WSAGetLastError clears the last + error. + + 2015-03-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * editfns.c (save_excursion_save): Don't save the mark. + (save_excursion_restore): Don't restore the mark. + (Fsave_excursion): Fix docstring accordingly. + + 2015-03-24 Paul Eggert <eggert@cs.ucla.edu> + + Fix minor ldexp issues + * floatfns.c (Fldexp): Require 2 args. Avoid undefined behavior + if the exponent is out of 'int' range. Improve documentation. + (Bug#20185) + + 2015-03-24 Daniel Colascione <dancol@dancol.org> + + * process.c (Fprocess_running_child_p): Return number identifier of + the foreground process group if we know it. + + 2015-03-23 Paul Eggert <eggert@cs.ucla.edu> + + Minor refactoring of new Fmake_process code + * process.c (Fmake_process): Refactor to avoid call to Flength, to + avoid cast to 'char **', and to reduce indenting and reuse of locals. + + 2015-03-23 Daiki Ueno <ueno@gnu.org> + + * process.c (Fmake_process): New function. + (create_process, create_pty): Check p->pty_flag instead of + Vprocess_connection_type. + (syms_of_process): Register QCcommand, QCconnection_type, Qpty, + Qpipe, and Smake_process. Unregister Sstart_process. + + 2015-03-22 Jan Djärv <jan.h.d@swipnet.se> + + * fontset.c (fontset_pattern_regexp): Replace + 1 with + 3 for + regexsize (Bug#20156). + + 2015-03-21 Eli Zaretskii <eliz@gnu.org> + + * emacs.c (synchronize_locale) [WINDOWSNT]: Ignore 'category' and + always use LC_ALL instead. Fixes problems with setting + system-time-locale to something non-default. + + 2015-03-18 Glenn Morris <rgm@gnu.org> + + * frame.h (x_set_bitmap_icon): Don't set the icon if icon-type is + nil/not present in the parameter alist. (Bug#19680) + + 2015-03-18 Stefan Monnier <monnier@iro.umontreal.ca> + + * alloc.c (purecopy): Handle hash-tables. + + 2015-03-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * minibuf.c (Fread_buffer): Add `predicate' argument. + * callint.c (Fcall_interactively): Adjust calls accordingly. + + 2015-03-15 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (handle_invisible_prop): Fix up it->position even when + we are going to load overlays at the beginning of the invisible text. + (setup_for_ellipsis): Reset the ignore_overlay_strings_at_pos_p + flag also here. + (next_overlay_string): Set the overlay_strings_at_end_processed_p + flag only if the overlays just processed were actually loaded at EOB. + + 2015-03-14 Daniel Colascione <dancol@dancol.org> + + * emacs.c (standard_args): Add --no-x-resources. + (usage_message): Document that -Q implies --no-x-resources. + + 2015-03-13 Paul Eggert <eggert@cs.ucla.edu> + + * frame.c (x_get_resource_string) [!USE_GTK]: Don't define. + + * editfns.c, systime.h (mktime_z) [!HAVE_TZALLOC]: Now static. + + 2015-03-12 Eli Zaretskii <eliz@gnu.org> + + * w32font.c (font_supported_scripts): Add subranges for Latin + Supplement, Latin Extended-A/B, Vai, Supplemental Punctuation, Tai + Le, Buginese, Yijing Hexagrams, Ancient Greek Numbers, Tai Xuan + Jing, Counting Rods, Sundanese, Lepcha, Ol Chiki, Saurashtra, + Kayah Li, Rejang, Ancient Symbols, Phistos Disc, Carian, Lycian, + Lydian, Dominoe Tiles, and Mahjong Tiles. Break the Mathematical + Alphanumeric Symbols into several "scripts" like fontset.el does. + (Bug#19993) + (syms_of_w32font): DEFSYM all the new script symbols. + + 2015-03-07 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c <ImmReleaseContext_Proc, ImmSetCompositionWindow_Proc>: + Fix typedefs to be consistent with the corresponding w32 API + signatures. + (w32_wnd_proc) <WM_IME_STARTCOMPOSITION>: Don't invoke + DefWindowProc if we successfully handled the message, as doing so + causes problems in displaying selection dialogs. (Bug#11732) + + 2015-03-05 Paul Eggert <eggert@cs.ucla.edu> + + Work around x86 glibc backtrace bug + * sysdep.c (emacs_backtrace): Don't dump core on x86. + (Bug#19959) + + 2015-03-05 Eli Zaretskii <eliz@gnu.org> + + * keyboard.c (make_lispy_position): When the click is on the + right-side vertical scroll bar, pass the rightmost X coordinate to + buffer_posn_from_coords, so that the returned text position + reflects the closest point to the click. Fixes region extension + when mouse moves outside the Emacs frame that has scroll bars on + the right. + + 2015-03-04 Martin Rudalics <rudalics@gmx.at> + + * frame.c (x_set_font): Try to keep frame height and width + unchanged if tool bar size changes with new font. + + 2015-03-03 Eli Zaretskii <eliz@gnu.org> + + * search.c (find_newline): Avoid assertion violations in + CHAR_TO_BYTE when a portion of the buffer was deleted and we look + for newlines near the end of the buffer. This happens in Rmail + when JIT font-lock fontifies a newly displayed portion of the + buffer. + + 2015-03-03 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (Fw32__menu_bar_in_use): New internal function. + (Bug#19925) + + 2015-03-03 Glenn Morris <rgm@gnu.org> + + * fileio.c (Fmake_temp_name): Doc tweaks. (Bug#19858) + + 2015-03-03 Eli Zaretskii <eliz@gnu.org> + + * menu.c (Fx_popup_menu) [HAVE_X_WINDOWS]: Call + mouse_position_for_popup only for X frames. (Bug#19862) + + 2015-03-03 Eli Zaretskii <eliz@gnu.org> + + * buffer.c (syms_of_buffer): Doc fix. (Bug#19841) + + 2015-03-03 Eli Zaretskii <eliz@gnu.org> + + * xfaces.c (map_tty_color): Use assoc_no_quit instead of + assq_no_quit to fetch color definition by its string name. + (Bug#19802) + + 2015-03-03 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (move_it_in_display_line_to): Handle the case where the + last character of a screen line is whitespace, and we are under + word-wrap with overflow-newline-into-fringe turned on. + (Bug#19769) + + 2015-03-03 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (handle_stop, handle_single_display_spec) + (next-element_from_image): Don't reset the + ignore_overlay_strings_at_pos_p flag here. + (next_element_from_buffer): Reset ignore_overlay_strings_at_pos_p + here. + (next_overlay_string): Set ignore_overlay_strings_at_pos_p here, + after we've exhausted all the overlay strings at the current + position. (Bug#19307) + + 2015-03-03 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (set_iterator_to_next): Set value of stop_charpos + according to the object we are about to resume iterating. + (Bug#19307) + + * dispnew.c (adjust_glyph_matrix): Set the update_mode_line flag + of the window whose current glyph matrix was resized, which + disables the mode-line row as side effect. + + * xdisp.c (redisplay_window): Don't avoid redisplay of a window + whose update_mode_line flag is set. (Bug#19721) + + 2015-03-03 Eli Zaretskii <eliz@gnu.org> + + * dispextern.h (FACE_FOR_CHAR): Fix the commentary. + + 2015-03-03 Daniel Colascione <dancol@dancol.org> + + * alloc.c (syms_of_alloc): Rename `gc-precise-p' to `gc-precise'. + + 2015-03-03 Paul Eggert <eggert@cs.ucla.edu> + + * alloc.c (run_finalizers): Omit unused local. + Also, redo newly-added code as per usual Emacs style. + + 2015-03-03 Martin Rudalics <rudalics@gmx.at> + + * frame.c (adjust_frame_size): If the pixel sizes remain + unchanged but the number of lines or columns of the frame + changes, run `window--pixel-to-total' (Bug#19972). + (Qwindow_pixel_to_total): DEFSYM it. + + 2015-03-03 Daniel Colascione <dancol@dancol.org> + + * print.c (print_object): Print whether a finalizer has + been called. + + * data.c (Ftype_of): Make `type-of' work with finalizers. + (syms_of_data): Register Qfinalizer. + + 2015-03-02 Daniel Colascione <dancol@dancol.org> + + * print.c (print_object): Print finalizers. + + * alloc.c: + (finalizers, doomed_finalizers): New variables. + (init_finalizer_list, finalizer_insert, unchain_finalizer) + (mark_finalizer_list, queue_doomed_finalizers) + (run_finalizer_handler, run_finalizer_function, run_finalizers): + New functions. + (garbage_collect_1, mark_object, sweep_misc) + (init_alloc_once, syms_of_alloc): Support finalizers. + (gc-precise-p): New Lisp variable. + + * lisp.h (Lisp_Misc_Type): New value Lisp_Misc_Finalizer. + (FINALIZERP, XFINALIZER): New functions. + (Lisp_Finalizer): New structure. + + 2015-02-28 Paul Eggert <eggert@cs.ucla.edu> + + * character.c (alphabeticp, decimalnump): Avoid undefined behavior + if CATEGORY is not an integer, or is an integer out of + unicode_category_t range. + + 2015-02-28 Martin Rudalics <rudalics@gmx.at> + + * frame.c (make_initial_frame, Fmake_terminal_frame): + Set can_x_set_window_size and after_make_frame (Bug#19962). + + 2015-02-28 Eli Zaretskii <eliz@gnu.org> + + * character.c (alphabeticp, decimalnump): New functions. + * character.h (alphabeticp, decimalnump): Add prototypes. + + * regex.c (ISALNUM, ISALPHA): Check Unicode character properties + for multibyte characters by calling alphabeticp and decimalnump. + (BIT_ALPHA, BIT_ALNUM): New bit masks. + (re_wctype_to_bit): Return them when the class is RECC_ALPHA or + RECC_ALNUM. + (re_match_2_internal): Call ISALPHA and ISALNUM when appropriate. + (Bug#19878) + + 2015-02-27 Jan Djärv <jan.h.d@swipnet.se> + + * xterm.h (x_real_pos_and_offsets): Take outer_border as arg also. + + * xmenu.c (x_menu_show): Adjust for new arg to x_real_pos_and_offsets. + + * xfns.c (x_real_pos_and_offsets): Take outer_border as arg also. + Initialize all args. Get outer_border from window attributes. + Fix typo for top_offset_y. + (x_real_positions): Adjust for new arg to x_real_pos_and_offsets. + (Fx_frame_geometry): Get outer_border also. Use attrs.width/height. + + 2015-02-27 Mark Laws <mdl@60hz.org> + + Support daemon mode on MS-Windows (bug#19688) + * emacs.c <w32_daemon_event> [WINDOWSNT]: New global var. + (main) [WINDOWSNT]: Initialize it to NULL. Create the event to + signal clients we are ready for connections. + (Fdaemon_initialized): Use DAEMON_RUNNING. + [WINDOWSNT]: MS-Windows specific code to signal clients we are + ready for connections. + + * lisp.h (DAEMON_RUNNING): New macro, encapsulates Posix and + MS-Windows conditions for running in daemon mode. + + * minibuf.c (read_minibuf): Use DAEMON_RUNNING. + + * keyboard.c (kbd_buffer_get_event): Use DAEMON_RUNNING. + + * dispnew.c (init_display) [WINDOWSNT]: Initialize frames/terminal + even in daemon mode. + + 2015-02-26 Jan Djärv <jan.h.d@swipnet.se> + + * xmenu.c (create_and_show_popup_menu): Call XTranslateCoordinates, + dont use OUTER_TO_INNER macros. + (x_menu_show): Call x_real_pos_and_offsets, don't use + OUTER_TO_INNER macros. + + 2015-02-26 Eli Zaretskii <eliz@gnu.org> + + * dispextern.h (FACE_FOR_CHAR): Fix the commentary. + + 2015-02-26 Hans Wennborg <hwennborg@google.com> (tiny change) + + * emacs.c (decode_env_path): Add parentheses around ternary + operator to increase readability and pacify compiler warnings. + + 2015-02-26 Eli Zaretskii <eliz@gnu.org> + + * w32.c (sys_readdir): Map ERROR_NOT_READY (as in "device not + ready") to ENOENT. + + 2015-02-26 Paul Eggert <eggert@cs.ucla.edu> + + * xfns.c (x_real_pos_and_offsets): Fix pointer signedness. + + 2015-02-25 Jan Djärv <jan.h.d@swipnet.se> + + * xterm.h (struct x_output): Remove x_pixels_outer_diff, + y_pixels_outer_diff, FRAME_OUTER_TO_INNER_DIFF_X, + FRAME_OUTER_TO_INNER_DIFF_Y. Declare x_real_pos_and_offsets. + + * xmenu.c (create_and_show_popup_menu): Use XTranslateCoordinates + instead of OUTER_TO_INNER_DIFF macros. + + * xfns.c (x_real_pos_and_offsets): New function, basically the code + from x_real_positions. + (x_real_positions): Call x_real_pos_and_offsets. + (x_relative_mouse_position): Use XTranslateCoordinates instead of + OUTER_TO_INNER_DIFF macros. + (Fx_frame_geometry): Get offsets with x_real_pos_and_offsets, + border from window attributes. Adjust tool bar and menu widths. + + * w32fns.c (x_real_positions): Remove setting of x_pixels_diff, + y_pixels_diff. + + * frame.h (struct frame): Remove x_pixels_diff, y_pixels_diff. + + 2015-02-25 Paul Eggert <eggert@cs.ucla.edu> + + Backtrace after malloc arena is corrupted + Without this change, if the malloc arena is corrupted and then + 'backtrace' is called, the backtrace can crash because 'backtrace' + calls 'malloc'. For more, please see: + https://sourceware.org/ml/libc-alpha/2015-02/msg00678.html + * emacs.c (main): Initialize tables used by 'backtrace'. + * sysdep.c (emacs_backtrace): Document the newly used part of the API. + + 2015-02-22 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m (Fx_frame_geometry): New function. + (syms_of_nsfns): Defsubr Sx_frame_geometry. + + 2015-02-22 Paul Eggert <eggert@cs.ucla.edu> + + Spelling fixes + * lisp.h (DEFINE_NON_NIL_Q_SYMBOL_MACROS): + Rename from DEFINE_NONNIL_Q_SYMBOL_MACROS. All uses changed. + + 2015-02-21 Eli Zaretskii <eliz@gnu.org> + + * w32term.c (queue_notifications): + * w32inevt.c (handle_file_notifications): + * w32font.c (w32_enumfont_pattern_entity): Prefer 'Qfoo' to + 'intern ("foo")'. + + 2015-02-21 Paul Eggert <eggert@cs.ucla.edu> + + Prefer 'Qfoo' to 'intern ("foo")' + * buffer.c (syms_of_buffer): + * bytecode.c (exec_byte_code): + * callint.c (Fcall_interactively): + * callproc.c (create_temp_file): + * charset.c (define_charset_internal): + * coding.c (syms_of_coding): + * editfns.c (syms_of_editfns): + * emacs.c (main): + * fns.c (syms_of_fns): + * frame.c (delete_frame, Fframe_parameters): + * keyboard.c (syms_of_keyboard): + * keymap.c (syms_of_keymap): + * minibuf.c (read_minibuf, syms_of_minibuf): + * nsfns.m (ns_cursor_type_to_lisp): + * textprop.c (syms_of_textprop): + * xdisp.c (Fformat_mode_line, syms_of_xdisp): + * xfns.c (x_create_tip_frame, Fx_select_font): + * xml.c (parse_region): + Prefer constants like 'Qfoo' to calls like 'intern ("foo")'. + * buffer.c (syms_of_buffer): OK to do (put 'erase-buffer 'disabled + t) here now ... + (keys_of_buffer): ... instead of here. + * ftfont.c (syms_of_ftfont): Move DEFSYM of Qmono from here ... + * xfns.c (syms_of_xfns): ... to here, since ftfont.c is more + optional than xfns.c. + + 2015-02-20 Jan Djärv <jan.h.d@swipnet.se> + + * emacs.c (terminate_due_to_signal): Move totally_unblock_input after + setting fatal_error_in_progress, so gobble_input and *read_socket are + not read if there are pending_signals. + + 2015-02-20 Paul Eggert <eggert@cs.ucla.edu> + + Simplify binary I/O configuration + * lread.c (Fload): Prefer FOPEN_TEXT and FOPEN_BINARY to #ifdef DOS_NT. + * sysstdio.h: Add copyright notice. Include <fcntl.h>. + (FOPEN_BINARY, FOPEN_TEXT): New macros. + * xfaces.c (Fx_load_color_file): Use FOPEN_TEXT, since POSIX + doesn't guarantee that "t" will work. + + 2015-02-19 Eli Zaretskii <eliz@gnu.org> + + * keyboard.c (read_char): Make sure this_single_command_key_start + is in sync with this_command_key_count, around the call to + input-method-function. (Bug#19774) + + 2015-02-19 Fujii Hironori <fujii.hironori@gmail.com> (tiny change) + + * w32fns.c (w32_wnd_proc) <WM_IME_STARTCOMPOSITION>: Pass the + message to DefWindowProc, after positioning the IME window, to + trigger its display. (Bug#11732) + + 2015-02-18 Eli Zaretskii <eliz@gnu.org> + + * emacs.c (Fkill_emacs): Exit with specified exit code even if + stdin is at EOF. (Bug#19897) + + 2015-02-18 Oscar Fuentes <ofv@wanadoo.es> + + * keyboard.c (read_char): When there is an input method function, + do not restore the echo area if a prefix argument is being + introduced. (Bug#19875) + + 2015-02-16 Kelly Dean <kelly@prtime.org> + + * src/keyboard.c (timer_check_2): Fix incorrect comment. + + 2015-02-14 Martin Rudalics <rudalics@gmx.at> + + * xterm.c (x_frame_normalize_before_maximize): Fix doc-string. + Suggested by Alan Mackenzie <acm@muc.de>. + + 2015-02-14 Eli Zaretskii <eliz@gnu.org> + + * menu.c (Fx_popup_menu) [HAVE_X_WINDOWS]: Call + x_relative_mouse_position only for X frames. (Bug#19862) + + 2015-02-13 Paul Eggert <eggert@cs.ucla.edu> + + Better support for future plugins + * lisp.h (DEFINE_LISP_SYMBOL): New macro, replacing and simplifying + DEFINE_LISP_SYMBOL_BEGIN / DEFINE_LISP_SYMBOL_END. All uses changed. + (DEFINE_NONNIL_Q_SYMBOL_MACROS): New macro, defaulting to true. + ++2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> ++ ++ * ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen. ++ ++2015-02-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> ++ ++ * xterm.c [USE_CAIRO]: Include math.h. ++ (enum corners) [USE_CAIRO]: New enum. ++ (x_erase_corners_for_relief) [USE_CAIRO]: New function. ++ (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger ++ than 1, draw the outermost line using the black relief. ++ ++2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> ++ ++ * gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page) ++ (xg_print_frames_dialog): Modernize k&r declarations. ++ ++ * xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup) ++ (Fx_print_frames_dialog): Modernize k&r declarations. ++ ++ * xterm.c (x_draw_window_divider): Use x_fill_rectangle instead of ++ XFillRectangle. ++ (x_draw_horizontal_wave) [USE_CAIRO]: New function. ++ (x_draw_underwave) [USE_CAIRO]: Use it. ++ (x_gc_get_ext_data, x_extension_initialize, x_begin_cr_clip) ++ (x_end_cr_clip, x_set_cr_source_with_gc_foreground) ++ (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap) ++ (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data) ++ (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw) ++ (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle) ++ (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief) ++ (x_clear_area): Modernize k&r declarations. ++ (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle) ++ (x_fill_trapezoid_for_relief): Use int instead of unsigned int for ++ width and height args. ++ (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead ++ of XSetClipMask. ++ (x_draw_relief_rect) [USE_CAIRO]: Reset clipping. ++ (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path. ++ ++2015-02-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> ++ ++ * fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap data for ++ cairo image surface. ++ ++ * xterm.c (x_cr_define_fringe_bitmap): Call cairo_surface_mark_dirty. ++ ++2015-02-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> ++ Jan Djärv <jan.h.d@swipnet.se> ++ ++ * xterm.h: Add include of cairo header files. ++ (x_bitmap_record): Add img if cairo. ++ (x_gc_ext_data): New struct for cairo. ++ (x_display_info): Add ext_codes for cairo. ++ (x_output): Add cr_context and cr_surface for cairo. ++ (x_clear_area): Change arguments from Display*/Window to frame pointer. ++ (x_query_color, x_begin_cr_clip, x_end_cr_clip) ++ (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background) ++ (x_cr_draw_frame, x_cr_export_frames): Declare. ++ ++ * xterm.c (x_clear_area1, x_prepare_for_xlibdraw) ++ (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle) ++ (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window) ++ (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data): ++ Declare. ++ (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros. ++ (max_fringe_bmp, fringe_bmp): New variables. ++ (x_gc_get_ext_data, x_extension_initialize) ++ (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip) ++ (x_set_cr_source_with_gc_foreground) ++ (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap) ++ (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame) ++ (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames) ++ (x_prepare_for_xlibdraw, x_set_clip_rectangles) ++ (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle) ++ (x_clear_window, x_fill_trapezoid_for_relief): New functions. ++ (x_update_begin): Create cairo surface if needed. ++ (x_draw_vertical_window_border): Call x_fill_rectangle for cairo. ++ (x_update_end): Paint cairo drawing surface to xlib surface. ++ (x_clear_under_internal_border, x_after_update_window_line): Adjust ++ arguments to x_clear_area. ++ (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and ++ call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead ++ of XSetClipMask. ++ (x_set_glyph_string_clipping) ++ (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles ++ instead of XSetClipRectangles. ++ (x_clear_glyph_string_rect, x_draw_glyph_string_background): Use ++ x_fill_rectangle instead of XFillRectangle. ++ (x_draw_glyph_string_foreground) ++ (x_draw_composite_glyph_string_foreground) ++ (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle instead ++ of XDrawRectangle. ++ (x_draw_relief_rect): Add code for USE_CAIRO. ++ Call x_reset_clip_rectangles instead of XSetClipMask. ++ (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles, ++ x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles ++ instead of XSetClipMask. ++ (x_draw_image_foreground, x_draw_image_foreground_1): ++ x_draw_rectangle instead of XDrawRectangle. ++ (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of ++ XFillRectangle. ++ (x_draw_image_glyph_string): If img has cr_data, use it as ++ a cairo surface. ++ (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of ++ XSetClipRectangles, x_fill_rectangle instead of XFillRectangle. ++ (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle., ++ x_reset_clip_rectangles instead of XSetClipMask. ++ (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw. ++ (x_clear_area1): New function that calls XClearArea. ++ (x_clear_area): Takes frame as parameter, calls x_clear_area1 for ++ non-cairo. ++ (x_clear_frame): x_clear_window instead of XClearWindow. ++ (x_scroll_run): Set frame garbaged if cairo. ++ (XTmouse_position): Initialize *part to 0. ++ (x_scroll_bar_create): Adjust arguments to x_clear_area. ++ (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area, ++ x_fill_rectangle instead of XFillRectangle. ++ (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust ++ arguments to x_clear_area. ++ (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle. ++ (handle_one_xevent): Adjust arguments to x_clear_area. ++ Destroy cairo surface for frame if ConfigureNotify. ++ (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles. ++ (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle, ++ x_reset_clip_rectangles instead of XSetClipMask. ++ (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle, ++ x_reset_clip_rectangles instead of XSetClipMask. ++ (x_clear_frame_area): Adjust arguments to x_clear_area. ++ (x_free_frame_resources): Call x_prepare_for_xlibdraw. ++ (x_term_init): Call x_extension_initialize if cairo. ++ (x_redisplay_interface): Add x_cr_define_fringe_bitmap, ++ x_cr_destroy_fringe_bitmap for cairo. ++ (x_initialize): Call x_cr_init_fringe for cairo. ++ ++ * xfns.c: New section Printing. ++ (x-export-frames, x-page-setup-dialog, x-get-page-setup) ++ (x-print-frames-dialog): New printing functions. ++ (Fx_create_frame, x_create_tip_frame): Register ftcrfont if ++ cairo. ++ (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin, ++ Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape). ++ (syms_of_xfns): Provide cairo and defvar cairo-version-string. ++ defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog. ++ ++ * image.c: Add defined (USE_CAIRO) for PNG. ++ Add !defined USE_CAIRO for W32 PNG code. ++ (x_clear_image): If cairo, destroy the surface in cr_data. ++ (png_load): Add new cairo compatible implementation. ++ (lookup_image_type): Add defined (USE_CAIRO) for define png_type. ++ ++ * gtkutil.h (xg_page_setup_dialog, xg_get_page_setup) ++ (xg_print_frames_dialog): Declare. ++ ++ * gtkutil.c (xg_clear_under_internal_border) ++ (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos): Only ++ queue_draw if not cairo. Change args to x_clear_area. ++ (xg_get_font): Use Qftcr when using cairo, Qxft otherwise. ++ (xg_page_setup_dialog, xg_get_page_setup, draw_page) ++ (xg_print_frames_dialog): New functions for printing. ++ ++ * ftfont.h (ftfont_open2, ftfont_info_size): Declare. ++ ++ * ftfont.c (ftfont_info_size); New global variable. ++ (ftfont_open2): New extern function almost the same as old ftfont_open, ++ but takes the font_object as argument. ++ (ftfont_open): Build font object and call ftfont_open2. ++ ++ * ftcrfont.c: New font driver for cairo, based on the ftfont driver. ++ ++ * fringe.c (x_cr_init_fringe): New function name that shares code ++ with w32_init_fringe. ++ ++ * font.h (ftcrfont_driver, syms_of_ftcrfont): Declare ++ ++ * font.c (syms_of_font): Call syms_of_ftcrfont for cairo. ++ ++ * dispextern.h (struct image): Add cr_data for cairo. ++ (x_cr_init_fringe): Declare. ++ ++ * Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables. ++ (FONT_OBJ): Add comment about ftcrfont. ++ (ALL_CFLAGS): Add CAIRO_CFLAGS. ++ (LIBES): Add CAIRO_LIBS. ++ + 2015-02-11 Martin Rudalics <rudalics@gmx.at> + + * w32term.c (w32_read_socket): In SIZE_MAXIMIZED and + SIZE_RESTORED cases correctly handle `maximized' value for the + `fullscreen' parameter. Don't use 'maximized' frame parameter + any more. + (w32fullscreen_hook): Include menu bar height when calculating + new text height in FULLSCREEN_BOTH case. + * xterm.c (do_ewmh_fullscreen): Handle transition from + FULLSCREEN_BOTH to FULLSCREEN_MAXIMIZED when + x_frame_normalize_before_maximize is set. + + 2015-02-10 Paul Eggert <eggert@cs.ucla.edu> + + Use bool for boolean in xdisp.c + * dispextern.h (display_prop_intangible_p, resize_mini_window) + (pixel_to_glyph_coords, mark_window_display_accurate) + (compute_display_string_pos, handle_tool_bar_click) + (x_intersect_rectangles, clear_mouse_face, display_tty_menu_item): + * lisp.h (setup_echo_area_for_printing, message_with_string) + (pos_visible_p): Use bool for boolean. + * xdisp.c: Use bool, true, false intstead of int, 1, 0. + Remove unnecessary forward decls. + (trace_move) [DEBUG_TRACE_MOVE]: Now static. + (CHECK_IT, CHECK_WINDOW_END): + Now an inline function that is always defined. + (check_it) [0]: + (check_window_end) [oGLYPH_DEBUG && ENABLE_CHECKING]: + Remove; no longer needed. + (handle_stop): Prefer (X && !Y) to (X ? !Y : 0). + (get_overlay_strings): Omit unnecessary casts. + (forward_to_next_line_start): + (Ftool_bar_height): + Prefer !BOOL to (BOOL ? 0 : 1). + (next_element_function): New typedef. + (get_next_element): Use it. Now const. + (IT_POS_VALID_AFTER_MOVE_P): Prefer !X || Y==0 to (X ? Y==0 : 1). + (vmessage): Now ATTRIBUTE_FORMAT_PRINTF (1, 0), to pacify GCC 4.9.2 + (display_echo_area): Prefer BOOLEXPR to BOOLEXPR ? 1 : 0. + (tool_bar_item_info): Simplify. + (invisible_prop): Rename from invisible_p, since it doesn't + return bool. All callers changed. + (x_produce_glyphs): Simplify. + + 2015-02-09 Paul Eggert <eggert@cs.ucla.edu> + + Check for some overflows in vertical-motion + * indent.c (window_column_x): New function. + (Fvertical_motion): Use it to protect against integer overflow + when computing column. Prefer extract_float to doing things by hand. + Avoid unnecessary casts. + + * xfont.c: Minor style fixes + (xfont_list_pattern): Reindent to 80 cols and use Emacs-style comments. + Redo loop so that less indentation is needed. + + 2015-02-09 Eli Zaretskii <eliz@gnu.org> + + * indent.c (Fvertical_motion): Accept an additional argument + CUR-COL and use it as the starting screen coordinate. + * window.c (window_scroll_line_based, Fmove_to_window_line): + All callers of vertical-motion changed. + + 2015-02-09 Dima Kogan <dima@secretsauce.net> + + * font.c (font_score): Remove unused variable assignment. + + 2015-02-09 Dima Kogan <dima@secretsauce.net> + + * xfaces.c (realize_basic_faces): Don't set Qscalable_fonts_allowed to + t. + * font.c (font_score): Try to find a font without scaling first, + and only accept scalable fonts if we did not get a match (Bug#19117). + + 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (syms_of_keyboard): Use non-nil default value. + + 2015-02-09 Paul Eggert <eggert@cs.ucla.edu> + + Use C99's INFINITY and NAN macros + * lread.c: Include <math.h>. + (string_to_number): Use INFINITY and NAN rather than rolling our own. + This avoids some runtime diagnostics when building with + gcc -fsanitize=undefined. + + Fix bidi_explicit_dir_char undefined behavior + * bidi.c (bidi_explicit_dir_char): Avoid subscript error when + argument is BIDI_EOB. This can happen in bidi_level_of_next_char. + + Better distinguish infinite from invalid times + * editfns.c (check_time_validity): New function. + (decode_time_components): Return int, not bool. + Return -1 (not 0) if the time is out of range. + All callers changed. + (lisp_time_struct, lisp_seconds_argument): Distinguish better + between time overflow and invalid time values. + + 2015-02-08 Paul Eggert <eggert@cs.ucla.edu> + + Minor tweaks to frame_size_history_add + * frame.c (frame_size_history_add): Don't assume length fits in 'int'. + Prefer XCAR and XCDR to Fcar and Fcdr when the arg is a cons. + (Fframe_after_make_frame): Simplify. + * gtkutil.c: Remove commented-out code. + * xfns.c (Fx_create_frame): Fix indenting. + + 2015-02-08 Eli Zaretskii <eliz@gnu.org> + + * frame.c (Fframe_parameter): Don't replace a non-nil value of + foreground-color or background-color parameters with a nil value. + (Bug#19802) + + 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * data.c (Findirect_function): Like `symbol-function', don't signal an + error for void functions any more. + + 2015-02-07 Martin Rudalics <rudalics@gmx.at> + + * frame.c (frame_size_history_add): New function. + (frame_inhibit_resize): Consider frame_inhibit_implied_resize + only after frame's after_make_frame slot is true. + Inhibit resizing fullwidth-/height frames in one direction only. + Update frame_size_history. + (adjust_frame_size): Call frame_size_history_add. + (make_frame): Initalize after_make_frame slot. + (Fmake_terminal_frame): Adjust adjust_frame_size call. + (Fcan_run_window_configuration_change_hook): Rename to + Fframe_after_make_frame. Set after_make_frame slot. + Return second argument. + (x_set_frame_parameters): Postpone handling fullscreen parameter + until after width and height parameters have been set. + Apply width and height changes only if can_x_set_window_size is true. + Update frame_size_history. + (Qadjust_frame_size_1, Qadjust_frame_size_2) + (Qadjust_frame_size_3, QEmacsFrameResize, Qframe_inhibit_resize) + (Qx_set_fullscreen, Qx_check_fullscreen, Qx_set_window_size_1) + (Qxg_frame_resized, Qxg_frame_set_char_size_1) + (Qxg_frame_set_char_size_2, Qxg_frame_set_char_size_3) + (Qxg_change_toolbar_position, Qx_net_wm_state) + (Qx_handle_net_wm_state, Qtb_size_cb, Qupdate_frame_tool_bar) + (Qfree_frame_tool_bar): New symbol for updating frame_size_history. + (Qtip_frame, Qterminal_frame): New symbols. + (Vframe_adjust_size_history): Rename to frame_size_history. + * frame.h (struct frame): + Rename can_run_window_configuration_change_hook slot to + after_make_frame. + (frame_size_history_add): Extern. + * gtkutil.c (xg_frame_resized): Call frame_size_history_add. + Don't set FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT here. + (xg_frame_set_char_size): Try to preserve the status of + fullwidth/-height frames. Call frame_size_history_add. + (tb_size_cb, update_frame_tool_bar, free_frame_tool_bar) + (xg_change_toolbar_position): Call frame_size_history_add. + * w32fns.c (x_change_tool_bar_height): Handle frame's fullscreen + status. + (Fx_create_frame): Process fullscreen parameter after frame has + been resized. + (x_create_tip_frame): Pass Qtip_frame to adjust_frame_size. + (Fx_frame_geometry): Don't pollute pure storage. + * w32term.c (w32_read_socket): For WM_WINDOWPOSCHANGED, + WM_ACTIVATE and WM_ACTIVATEAPP set frame's visibility before + calling w32fullscreen_hook. For WM_DISPLAYCHANGE call + w32fullscreen_hook immediately. + (x_fullscreen_adjust, x_check_fullscreen): Remove. + (w32fullscreen_hook): Call change_frame_size just as with a + "normal" frame resize operation. Call do_pending_window_change. + (x_set_window_size): Try to handle fullwidth and fullheight more + accurately. Don't rely on w32_enable_frame_resize_hack. + (w32_enable_frame_resize_hack): Remove variable. + * widget.c (EmacsFrameResize): Remove dead code. + Call frame_size_history_add + * window.c (run_window_configuration_change_hook): + Check f->after_make_frame instead of + f->can_run_window_configuration_change_hook. + * xfns.c (x_change_tool_bar_height): Handle frame's fullscreen status. + (Fx_create_frame): Process fullscreen parameter after frame has + been resized. + (Fx_frame_geometry): Don't pollute pure storage. + * xterm.c (x_net_wm_state, x_handle_net_wm_state): + Call frame_size_history_add. + (do_ewmh_fullscreen): Handle x_frame_normalize_before_maximize. + (x_check_fullscreen): Count in menubar when calling + XResizeWindow. Wait for ConfigureNotify event. + Call frame_size_history_add. + (x_set_window_size_1): Remove PIXELWISE argument. Try to handle + changing a fullheight frame's width or a fullwidth frame's + height. Call frame_size_history_add. + (x_set_window_size): Simplify xg_frame_set_char_size and + x_set_window_size_1 calls. + (x_frame_normalize_before_maximize): New variable. + + 2015-02-07 Paul Eggert <eggert@cs.ucla.edu> + + Remove no-longer-used cursor_in_echo_area code + * dispnew.c (set_window_cursor_after_update, update_frame_1): + Remove checks for negative cursor_in_echo_area, since this var is + a boolean, and has been a boolean for some time. Simplify. + * dispnew.c (init_display): + * xdisp.c (message3_nolog, vmessage): Use bool for boolean. + + 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * eval.c (Ffunction): Handle the new (:documentation ...) form. + (syms_of_eval): Declare `:documentation'. + + 2015-02-05 Martin Rudalics <rudalics@gmx.at> + + * xdisp.c (Fwindow_text_pixel_size): Remove optional BUFFER + argument added on 2015-02-01. + + 2015-02-04 Paul Eggert <eggert@cs.ucla.edu> + + Remove no-longer-used two_byte_p calculations + * dispextern.h (struct glyph_string): Remove member two_byte_p. + All uses removed. + * xdisp.c (get_glyph_face_and_encoding): Remove arg two_byte_p. + All callers changed. + + 2015-02-03 Paul Eggert <eggert@cs.ucla.edu> + + Omit unnecessary var if GTK or NS + * frame.c, frame.h (frame_default_tool_bar_height) [USE_GTK||HAVE_NS]: + Now a constant zero on these platforms. + + 2015-02-01 Martin Rudalics <rudalics@gmx.at> + + * xdisp.c (Fwindow_text_pixel_size): Add optional argument BUFFER. + + 2015-01-31 Eli Zaretskii <eliz@gnu.org> + + * coding.c (raw_text_coding_system_p): New function. + + * keyboard.c (read_decoded_event_from_main_queue): Use it when the + keyboard coding-system is 'raw-text'. (Bug#19532) + + * coding.h (raw_text_coding_system_p): Add prototype. + + 2015-01-31 Andreas Schwab <schwab@linux-m68k.org> + + * Makefile.in (gl-stamp): Generate globals.h through the use of + move-if-change. + (globals.h): Replace with empty command. + + 2015-01-31 Eli Zaretskii <eliz@gnu.org> + + * keyboard.c (kbd_buffer_store_event_hold): Ignore FOCUS_OUT_EVENT + and ICONIFY_EVENT for the purposes of breaking while-no-input + loops. (Bug#19547) + + * dired.c (read_dirent): Correct the "MSDOS hacks" hack: the + special code for errno = ENOENT or EACCES is needed for WINDOWSNT, + not for MSDOS. + + 2015-01-31 Paul Eggert <eggert@cs.ucla.edu> + + Simplify read_dirent's MSDOS hacks + * dired.c (read_dirent): Simplify by removing the need for the + DIR_ENTRY argument. All callers changed. This separates the + MS-DOS idiosyncrasies better from the rest of the code. + + 2015-01-30 Eli Zaretskii <eliz@gnu.org> + + * dired.c (read_dirent): Accept an additional argument + FIRST_ENTRY. If readdir fails with ENOENT or EACCES the first + time it is called, report the error as if it happened in + open_directory. + (directory_files_internal, file_name_completion): Adjust callers + or read_dirent. + + 2015-01-30 Paul Eggert <eggert@cs.ucla.edu> + + Refactor calls to opendir for simplicity + * dired.c (open_directory): Accept Lisp_Object, not char *, for + dirname. Signal an error if the open fails. All callers changed. + + 2015-01-29 Paul Eggert <eggert@cs.ucla.edu> + + Report readdir failures + Previously, on non-MS-Windows platforms the code treated most + readdir failures as EOF. This was incorrect, e.g., when readdir + fails with errno == EOVERFLOW. Signal an error instead. + * dired.c (read_dirent): + New function, which signals an error when readdir fails. + (directory_files_internal, file_name_completion): Use it. + + 2015-01-29 Eli Zaretskii <eliz@gnu.org> + + Use bool for boolean in w32menu.c, w32font.c, w32uniscribe.c. + * w32uniscribe.c (uniscribe_list, uniscribe_match): Use bool where + appropriate. + + * w32font.c (struct font_callback_data, w32font_list_internal) + (w32font_driver, w32font_match_internal): Use bool where appropriate. + + * w32menu.c (x_activate_menubar, set_frame_menubar) + (w32_dialog_show, initialize_frame_menubar, w32_menu_show) + (is_simple_dialog): Use bool where appropriate. + + 2015-01-28 Paul Eggert <eggert@cs.ucla.edu> + + Use bool, not int, to track face changes + * xfaces.c (face_change): Rename from face_change_count, and + change from int to bool. The var is now true (instead of nonzero) + if attributes have changed; this is simpler. All uses changed. + (Bug#19698) + + 2015-01-28 Eli Zaretskii <eliz@gnu.org> + + * dired.c (directory_files_internal, file_name_completion) + [WINDOWSNT]: Signal an error when errno is set non-zero by + 'readdir', regardless of its value. + + * w32.c (sys_readdir): Set errno to ENOENT when the directory + doesn't exist and to EACCES when it's not accessible to the + current user. Set errno to zero when FindNextFile exhausts the + directory, so that callers don't interpret that as an error and + don't signal a file-error. + (open_unc_volume): Set errno to ENOENT if WNetOpenEnum fails. + + * dired.c (directory_files_internal) [WINDOWSNT]: If readdir + returns NULL and errno is ENOTDIR, behave as if opendir failed to + open the directory. (Bug#19701) + + * w32.c (sys_readdir): If FindFirstFile fails because the + directory doesn't exist, set errno to ENOTDIR. + + 2015-01-28 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (drawRect:): Add block/unblock_input (Bug#19660). + + 2015-01-28 Paul Eggert <eggert@cs.ucla.edu> + + Fix coding.c subscript error + * coding.c (CODING_ISO_INVOKED_CHARSET): + Avoid undefined behavior if CODING_ISO_INVOCATION returns negative. + + 2015-01-28 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (produce_image_glyph): Fix display of images in R2L + screen lines: prepend the new glyph to the ones already there + instead of appending it. + + * w32fns.c (w32_set_title_bar_text): New function, including + support for titles with non-ASCII characters outside of the + current system codepage. + (x_set_name, x_set_title): Use it. (Bug#19590) + + * indent.c (Fvertical_motion): Return zero if we started from ZV + and there's an overlay after-string there. (Bug#19553) + + * emacs.c (usage_message): Fix the description of the -nl switch. + (Bug#19542) + + * xdisp.c (move_it_to, try_cursor_movement): Don't use the window + end information if the window_end_valid flag is unset. + (try_window_id): If the call to display_line invalidated the + window end information, give up the try_window_id optimization. + (Bug#19511) + + * w32fns.c (Fx_server_version, Fx_server_vendor): Doc fix. + * xfns.c (Fx_server_version, Fx_server_vendor): Doc fix. + + * emacs.c (syms_of_emacs) <system-configuration>: Doc fix. (Bug#19502) + + 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca> + + * lisp.mk (lisp): Add cl-preloaded. + + 2015-01-27 Paul Eggert <eggert@cs.ucla.edu> + + Use bool for boolean in xfaces.c + * dispextern.h: Adjust to signature changes. + * font.c (font_at, font_range): + * fontset.c (Finternal_char_font): + * fringe.c (draw_fringe_bitmap_1): + * xdisp.c (handle_face_prop, face_before_or_after_it_pos) + (get_next_display_element, highlight_trailing_whitespace) + (display_string, calc_line_height_property) + (note_mode_line_or_margin_highlight, note_mouse_highlight): + * xfaces.c (tty_suppress_bold_inverse_default_colors_p) + (menu_face_changed_default, recompute_basic_faces) + (Fbitmap_spec_p, parse_rgb_list, tty_lookup_color) + (tty_defined_color, defined_color, face_color_gray_p) + (face_color_supported_p, load_color2, load_face_colors) + (Fx_list_fonts, LFACEP, push_named_merge_point) + (resolve_face_name, lface_from_face_name_no_resolve) + (lface_from_face_name, get_lface_attributes_no_remap) + (get_lface_attributes, lface_fully_specified_p) + (set_lface_from_font, merge_face_vectors, merge_named_face) + (merge_face_ref, Finternal_make_lisp_face) + (Finternal_lisp_face_p, Finternal_copy_lisp_face) + (Finternal_set_lisp_face_attribute) + (update_face_from_frame_parameter, set_font_frame_param) + (face_boolean_x_resource_value) + (Finternal_set_lisp_face_attribute_from_resource) + (x_update_menu_appearance, Finternal_get_lisp_face_attribute) + (Finternal_merge_in_global_face, Fface_font, face_attr_equal_p) + (lface_equal_p, Finternal_lisp_face_equal_p) + (Finternal_lisp_face_empty_p, lface_same_font_attributes_p) + (Fcolor_distance, lookup_named_face, lookup_basic_face) + (lookup_derived_face, Fface_attributes_as_vector) + (x_supports_face_attributes_p, tty_supports_face_attributes_p) + (Fdisplay_supports_face_attributes_p, realize_basic_faces) + (realize_default_face, realize_named_face) + (realize_non_ascii_face, realize_x_face, map_tty_color) + (realize_tty_face, compute_char_face, face_at_buffer_position) + (face_for_overlay_string, face_at_string_position): + Use bool for boolean. + * xfaces.c (set_lface_from_font): + Return void, since callers never use the result. + + 2015-01-26 Andreas Schwab <schwab@linux-m68k.org> + + * image.c (lookup_pixel_color): Reorder conditions that are + written backwards. + (x_to_xcolors): Likewise. + (x_detect_edges): Likewise. + (png_load_body): Likewise. + (gif_close): Likewise. + (gif_load): Likewise. + + 2015-01-25 Eli Zaretskii <eliz@gnu.org> + + Use bool for boolean in w32term.c + * w32term.c (x_update_window_begin, x_update_window_end) + (x_update_end, x_after_update_window_line) + (x_set_glyph_string_gc, x_draw_glyph_string_background) + (x_draw_glyph_string_foreground) + (x_draw_composite_glyph_string_foreground) + (x_draw_glyphless_glyph_string_foreground) + (x_draw_image_glyph_string, x_draw_glyph_string) + (x_draw_stretch_glyph_string, note_mouse_movement) + (w32_mouse_position, x_scroll_bar_report_motion) + (x_horizontal_scroll_bar_report_motion, w32_read_socket) + (w32_set_vertical_scroll_bar, w32_set_horizontal_scroll_bar) + (w32_draw_window_cursor, x_new_font, x_set_offset) + (x_set_window_size, x_make_frame_invisible, x_iconify_frame): + Use bool where appropriate. + + Use bool for boolean in w32fns.c + * w32fns.c (w32_defined_color, x_decode_color) + (Fxw_color_defined_p, Fxw_color_values, x_set_icon_type) + (x_set_menu_bar_lines, x_change_tool_bar_height) + (x_set_internal_border_width, x_explicitly_set_name) + (x_implicitly_set_name, Fx_create_frame, w32_window) + (x_create_tip_frame, Fx_show_tip): Use bool where appropriate. + + 2015-01-25 Paul Eggert <eggert@cs.ucla.edu> + + Use bool for boolean in xfns.c + * xfaces.c (x_update_menu_appearance): + * xfns.c (x_real_positions, x_defined_color, x_decode_color) + (xg_set_icon, xg_set_icon_from_xpm_data, x_set_cursor_color) + (x_set_icon_type, x_set_icon_name, x_set_menu_bar_lines) + (x_change_tool_bar_height, x_set_internal_border_width) + (x_encode_text, x_set_name_internal, x_explicitly_set_name) + (x_implicitly_set_name, x_default_scroll_bar_color_parameter) + (hack_wm_protocols, xic_create_fontsetname, xic_free_xfontset) + (x_window, x_icon, Fx_wm_set_size_hint, Fx_create_frame) + (Fxw_color_defined_p, Fxw_color_values, x_create_tip_frame) + (Fx_show_tip, clean_up_file_dialog, Fx_file_dialog) + (clean_up_dialog, syms_of_xfns): + * xterm.h (xg_set_icon, xg_set_icon_from_xpm_data) + (xic_create_fontsetname): + Use bool for boolean. + * xfns.c: Include bitmaps/gray.xbm unconditionally. + + Count MANY function args more reliably + * alloc.c (Fgc_status, purecopy, unbind_to, garbage_collect_1): + * buffer.c (Fbuffer_list, Fkill_buffer): + * callint.c (read_file_name, Fcall_interactively): + * charset.c (Fset_charset_priority, syms_of_charset): + * chartab.c (uniprop_encode_value_numeric): + * coding.c (syms_of_coding): + * composite.c (syms_of_composite): + * data.c (wrong_range): + * dbusbind.c (syms_of_dbusbind): + * dired.c (file_attributes): + * editfns.c (Fdecode_time, update_buffer_properties, format2): + * eval.c (run_hook_with_args_2, apply1, call1, call2, call3) + (call4, call5, call6, call7): + * fileio.c (Finsert_file_contents, choose_write_coding_system) + (Fcar_less_than_car, build_annotations, auto_save_error): + * filelock.c (get_boot_time): + * fns.c (internal_equal, nconc2, Fyes_or_no_p, Fwidget_apply): + (maybe_resize_hash_table, secure_hash): + * font.c (font_style_to_value, font_open_by_name, Flist_fonts): + * fontset.c (fontset_add, Fset_fontset_font): + * ftfont.c (ftfont_lookup_cache): + * gtkutil.c (xg_get_font): + * insdel.c (signal_before_change, signal_after_change): + * keymap.c (append_key): + * lread.c (load_warn_old_style_backquotes, Fload, init_lread): + * minibuf.c (Fread_buffer): + * print.c (print_preprocess): + * process.c (Fformat_network_address, Fmake_network_process) + (server_accept_connection): + * sound.c (Fplay_sound_internal): + * term.c (Fsuspend_tty, Fresume_tty): + * window.c (window_list): + * xdisp.c (run_redisplay_end_trigger_hook, add_to_log) + (message_with_string): + * xfaces.c (Fx_list_fonts): + * xfont.c (syms_of_xfont): + * xselect.c (x_handle_selection_request) + (x_handle_selection_clear, x_clear_frame_selections) + (x_clipboard_manager_error_1): + Prefer CALLMANY and CALLN to counting args by hand. + * doc.c (reread_doc_file): Remove unused code. + * fns.c (concat2, concat3): Redo to avoid need for local-var vector. + (cmpfn_user_defined, hashfn_user_defined, Fmaphash): + Prefer call1 and call2 to Ffuncall. + * keyboard.c (safe_run_hook_funcall, safe_run_hooks): + Use struct literal rather than a local var, for simplicity. + * keymap.c (where_is_internal): Use NULL rather than a pointer + to unused args. + * lisp.h (CALLMANY, CALLN): New macros. + * sound.c (Fplay_sound_internal): Coalesce duplicate code. + (Bug#19634) + + Use gnustep-config if available + * emacs.c [NS_IMPL_GNUSTEP]: Don't include <GNUstepBase/GSConfig.h>. + It doesn't appear to be needed, and the inclusion breaks on + Ubuntu 14.10 when 'configure' uses 'gnustep-config'. + + 2015-01-22 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (init_iterator): Restore a comment lost in transition. + + 2015-01-22 Paul Eggert <eggert@cs.ucla.edu> + + Use bool for boolean in xfont.c, xftfont.c, xgselect.c + * xfont.c (xfont_driver, xfont_chars_supported) + (xfont_text_extents): + * xftfont.c (xftfont_get_colors, xftfont_open) + (xftfont_prepare_face, xftfont_done_face) + (xftfont_cached_font_ok): + * xgselect.c (xg_select): + Use bool for boolean. + + Don't downcase system diagnostics' first letters + * fileio.c (report_file_errno): Don't downcase, and simplify. + (Bug#19642) + + Isolate NIL_IS_ZERO-assuming code better + Suggested by Stefan Monnier in: + http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00588.html + * alloc.c (allocate_pseudovector): + Use memclear, not memsetnil, to remove a 'verify'. + * callint.c (Fcall_interactively): + * dispnew.c (realloc_glyph_pool): + * xdisp.c (init_iterator): + Use memclear, not memset, to remove a 'verify'. + * lisp.h (memclear): Rename from memsetnil, and take a byte + count rather than a word count. All callers changed. + + 2015-01-20 Paul Eggert <eggert@cs.ucla.edu> + + Undo port to hypothetical nonzero Qnil case + This mostly undoes the previous change in this area. See: + http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00570.html + * alloc.c (allocate_pseudovector): + * callint.c (Fcall_interactively): + * dispnew.c (realloc_glyph_pool): + * fringe.c (init_fringe): + * lisp.h (memsetnil): + * xdisp.c (init_iterator): + Simplify by assuming that Qnil is zero, but verify the assumption. + * lisp.h (NIL_IS_ZERO): Revert back to this symbol, removing + NIL_IS_NONZERO. All uses changed. + + 2015-01-20 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (EV_TRAILER2): Set Vinhibit_quit to Qt (Bug#19531). + + 2015-01-20 Dmitry Antipov <dmantipov@yandex.ru> + + Prefer xlispstrdup to avoid dumb calls to strlen. + * nsfont.m (ns_get_family): + * nsterm.m (ns_term_init): + * w32fns.c (w32_window): + * xfns.c (x_window, Fx_select_font): Use xlispstrdup. + + 2015-01-20 Paul Eggert <eggert@cs.ucla.edu> + + Correct an old fix for GTK font selection + * gtkutil.c (xg_get_font): Fix off-by-2 typo. + (Bug#3228) + + Fix minor bugs with printing null bytes + * minibuf.c (read_minibuf_noninteractive): + * xdisp.c (Ftrace_to_stderr) [GLYPH_DEBUG]: + Work even if the Lisp string contains a null byte. + + Port to hypothetical case where Qnil is nonzero + * alloc.c (allocate_pseudovector): + * callint.c (Fcall_interactively): + * coding.c (syms_of_coding): + * dispnew.c (realloc_glyph_pool): + * fringe.c (init_fringe): + * lisp.h (memsetnil): + * xdisp.c (init_iterator): + Port to the currently-hypothetical case where Qnil is nonzero. + * dispnew.c (adjust_glyph_matrix): Remove unnecessary verification, + as there are no Lisp_Object values in the data here. + * lisp.h (NIL_IS_NONZERO): New symbol, replacing NIL_IS_ZERO. + All uses changed. Define only if not already defined, so that one + can debug with -DNIL_IS_NONZERO. + * xdisp.c (init_iterator): Remove unnecessary initializations to 0. + + 2015-01-19 Eli Zaretskii <eliz@gnu.org> + + * dispnew.c (adjust_glyph_matrix, realloc_glyph_pool): Verify that + Qnil is represented as zero, before using that to initialize parts + of the glyph structure. + + * xdisp.c (init_iterator): Verify that Qnil is represented as + zero, before using that to initialize parts of the iterator + structure. + + 2015-01-19 Paul Eggert <eggert@cs.ucla.edu> + + Prefer memset to repeatedly assigning Qnil + * alloc.c (allocate_pseudovector): Catch more bogus values. + * alloc.c (allocate_pseudovector): + * callint.c (Fcall_interactively): + * coding.c (syms_of_coding): + * fringe.c (init_fringe): + Verify that Qnil == 0. + * callint.c (Fcall_interactively): + * eval.c (Fapply, Ffuncall): + * fns.c (mapcar1, larger_vector): + * font.c (font_expand_wildcards): + * fringe.c (init_fringe): + Prefer memset to assigning zeros by hand. + * callint.c (Fcall_interactively): + Remove duplicate assignment of Qnil to args[i]. + * coding.c (syms_of_coding): + Prefer LISP_INITIALLY_ZERO to assigning zeros by hand. + * fileio.c (Ffile_selinux_context): + Rewrite to avoid need for Lisp_Object array. + * lisp.h (XLI_BUILTIN_LISPSYM): New macro. + (DEFINE_LISP_SYMBOL_END): Use it. + (NIL_IS_ZERO): New constant. + (memsetnil): New function. + + 2015-01-16 Dmitry Antipov <dmantipov@yandex.ru> + + Tune pseudovector allocation assuming Qnil == 0. + * alloc.c (allocate_pseudovector): Use memset for both + Lisp_Objects and regular slots. Add zerolen arg. + * lisp.h (allocate_pseudovector): Adjust prototype. + (ALLOCATE_PSEUDOVECTOR): Adjust user. + (ALLOCATE_ZEROED_PSEUDOVECTOR): New macro. + (allocate_hash_table, allocate_window, allocate_frame) + (allocate_process, allocate_terminal): Remove prototypes. + * fns.c (allocate_hash_table): Now static here. + * frame.c (allocate_frame): + * process.c (allocate_process): + * terminal.c (allocate_terminal): + * window.c (allocate_window): Now static here. + Use ALLOCATE_ZEROED_PSEUDOVECTOR. Add comment. + + * lisp.h (XTERMINAL): Add eassert. + * process.c (make_lisp_proc): Now static here. + + Prefer INLINE functions in font.h to match style used in lisp.h. + * font.h (FONTP, FONT_SPEC_P, FONT_ENTITY_P, FONT_OBJECT_P) + (CHECK_FONT, CHECK_FONT_SPEC, CHECK_FONT_ENTITY, CHECK_FONT_OBJECT) + (XFONT_SPEC, XFONT_ENTITY, XFONT_OBJECT, CHECK_FONT_GET_OBJECT): + Now functions. + * font.c (Ffont_otf_alternates, Fquery_font, Ffont_get_glyphs): + * ftfont.c (ftfont_shape): + * macfont.m (macfont_shape): + * w32uniscribe.c (uniscribe_shape): + * xftfont.c (xftfont_shape): Adjust CHECK_FONT_GET_OBJECT users. + + 2015-01-16 Paul Eggert <eggert@cs.ucla.edu> + + Give up on -Wsuggest-attribute=const + * decompress.c (Fzlib_available_p): + * gnutls.c (Fgnutls_available_p): + * gtkutil.h (xg_uses_old_file_dialog): + * xdisp.c (Ftool_bar_height): + * xmenu.c (popup_activated): + No longer const, since it's not const on at lest some + configurations, and we shouldn't lie to the compiler. + + 2015-01-15 Eli Zaretskii <eliz@gnu.org> + + * fileio.c: Include binary-io.h. + (Fset_binary_mode): New function. + (syms_of_fileio): Defsubr it. + (syms_of_fileio) <Qstdin, Qstdout, Qstderr>: DEFSYM them. + + 2015-01-15 Teodor Zlatanov <tzz@lifelogs.com> + + * gnutls.c (init_gnutls_functions): Import gnutls_x509_crt_check_issuer. + (Fgnutls_peer_status): Use it to set the :self-signed flag. + Rename the previous :self-signed to :unknown-ca. (Bug#19404) + (Fgnutls_peer_status_warning_describe): Explain :unknown-ca flag. + + 2015-01-14 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (w32_wnd_proc): Ignore MENUITEMINFO's dwItemData data + when FLAGS indicate the item is not highlighted. (Bug#19596) + + 2015-01-14 Martin Rudalics <rudalics@gmx.at> + + * xmenu.c (update_frame_menubar): Remove garbaged code. + + 2015-01-14 Paul Eggert <eggert@cs.ucla.edu> + + remove_slash_colon need not be inline + * process.c, process.h (remove_slash_colon): No longer inline. + This saves text bytes without hurting runtime performance. + + 2015-01-14 Dmitry Antipov <dmantipov@yandex.ru> + + Avoid extra multibyteness check in ENCODE_FILE users. + * callproc.c (encode_current_directory, Fcall_process, call_process): + * dired.c (directory_files_internal, file_name_completion): + Do not check for STRING_MULTIBYTE because encode_file_name + is a no-op for unibyte strings. + + * process.h (remove_slash_colon): New function. + * callproc.c (encode_current_directory, call_process): + * process.c (Fstart_process): Use it. + + Consistently handle time zone specification. + * editfns.c (decode_time_zone): New function, refactored out from ... + (Fencode_time): ... adjusted user. + (Fset_time_zone_rule): Use decode_time_zone. + + * editfns.c (make_buffer_string_both): If requested range intersects + the gap, don't move the latter but copy in two regions, thus avoiding + unnecessary relocation of buffer data. + + 2015-01-14 Paul Eggert <eggert@cs.ucla.edu> + + Use bool for boolean in xmenu.c, xml.c + * xmenu.c (x_menu_set_in_use, popup_get_selection) + (Fx_menu_bar_open_internal, popup_widget_loop) + (x_activate_menubar, xg_crazy_callback_abort) + (update_frame_menubar, set_frame_menubar) + (initialize_frame_menubar, free_frame_menubar) + (create_and_show_popup_menu, x_menu_show) + (create_and_show_dialog, x_dialog_show): + * xml.c (libxml2_loaded_p, init_libxml2_functions, parse_region) + (Flibxml_parse_html_region, Flibxml_parse_xml_region): + * xrdb.c (main) [TESTRM]: + * xsettings.c (init_gsettings): + * xterm.c (XFillRectangle, xg_scroll_callback) + (xg_end_scroll_callback): + * xterm.h (x_menu_set_in_use) [USE_GTK || USE_MOTIF]: + Use bool for boolean. + * xmenu.c (TRUE): Remove; no longer used. + (show_help_event): Remove long-unused code. + (set_frame_menubar): Remove "#if 1" and corresponding "#endif" lines. + + 2015-01-13 Paul Eggert <eggert@cs.ucla.edu> + + Don't say Fnext_read_file_uses_dialog_p is const + It's const only if a windowing system is not used; don't say it's + const otherwise. See: + http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00310.html + * fileio.c (next_read_file_uses_dialog_p): Remove. + Move guts back to ... + (Fnext_read_file_uses_dialog_p): ... here. + Don't declare as const, as make-docfile.c now has a special case + for this function. This is an ugly hack, but it's better than + lying to the compiler. + + Remove now-unnecessary forward XTYPE decl + * lisp.h (XTYPE): Remove forward declaration. The recent merge + from emacs-24 fixed the problem in a better way, by moving XPNTR's + definition to after XTYPE's. + + 2015-01-13 Eli Zaretskii <eliz@gnu.org> + + Fix problems with 32-bit wide-int build exposed by MinGW. + * lisp.h (XPNTR): Move definition to after XTYPE, to avoid + compilation error in an unoptimized build when !USE_LSB_TAG. + + * w32heap.c (DUMPED_HEAP_SIZE): For 32-bit wide-int build, use the + same larger value as for the 64-bit build. + + * w32term.h (SCROLL_BAR_PACK): Cast the result to UINT_PTR to + avoid compiler warnings. + + * w32proc.c (Fw32_get_codepage_charset, Fw32_set_keyboard_layout): + Avoid compiler warnings about cast from integer to pointer of + different size. + + * w32menu.c (menubar_selection_callback, w32_menu_show): Cast to + UINT_PTR instead of EMACS_INT, to avoid compiler warnings about + casting from integer to pointer of different size. + (add_menu_item): Pass the help-echo string as a pointer to + Lisp_String, not as a Lisp_Object. + (w32_menu_display_help): Use make_lisp_ptr to reconstruct a Lisp + string object from its C pointer. + + * w32fns.c (w32_msg_pump) <WM_EMACS_UNREGISTER_HOT_KEY>: Use + make_lisp_ptr instead of XIL, to reconstruct a Lisp_Cons from its + C pointer. + <WM_EMACS_TOGGLE_LOCK_KEY>: msg.lparam is now a C integer. + (Fx_create_frame): Type-cast the result of XFASTINT to avoild + compiler warnings about size differences. + (Fw32_unregister_hot_key): Pass the tail of w32_grabbed_keys as a + pointer to a Lisp_Cons struct, not as a disguised EMACS_INT. + (Fw32_toggle_lock_key): Pass the new state of the key as a C + integer; use -1 for nil. Doc fix. + + * .gdbinit (xgetsym): New subroutine. + (xsymname, xsymbol): Use it. + (xprintsym): No need to call xgetptr. + + 2015-01-13 Martin Rudalics <rudalics@gmx.at> + + * frame.c (adjust_frame_size): Make sure new numbers of + lines/columns get installed after font size change (Bug#19575). + + 2015-01-13 Dmitry Antipov <dmantipov@yandex.ru> + + Add DEFUN attributes. + * callint.c (Finteractive): + * character.c (Fcharacterp, Fmax_char): + * data.c (Feq, Fnull, Fconsp, Fatom, Flistp, Fnlistp, Fsymbolp) + (Fstringp, Fchar_or_string_p, Fintegerp, Fnatnump, Fnumberp) + (Ffloatp, Fbyteorder): + * decompress.c (Fzlib_available_p): + * fns.c (Fidentity): + * frame.c (Fframe_windows_min_size): + * gnutls.c (Fgnutls_error_p, Fgnutls_available_p): + * window.c (Fwindow__sanitize_window_sizes): + * xdisp.c (Ftool_bar_height): + * xfaces.c (Fface_attribute_relative_p): Add const attribute. + * emacs.c (Fkill_emacs): + * eval.c (Fthrow): + * keyboard.c (Ftop_level, Fexit_recursive_edit) + (Fabor_recursive_edit): Add noreturn attribute. + + * search.c (fast_string_match_internal): New function, + consolidated from... + (fast_string_match, fast_string_match_ignore_case): ...functions + which are... + * lisp.h (fast_string_match, fast_string_match_ignore_case): + inlined from here now. + (fast_string_match_internal): Add prototype. + * dired.c (file_name_completion): Use fast_string_match_internal. + + * fileio.c (next_read_file_uses_dialog_p): New workaround ... + (Fnext_read_file_uses_dialog_p): ... called from here to avoid + ATTRIBUTE_CONST dependency from #ifdefs. For details, see + http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00289.html. + + 2015-01-12 Paul Eggert <eggert@cs.ucla.edu> + + Port to 32-bit MingGW --with-wide-int + Problem reported by Eli Zaretskii in: + http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00265.html + * lisp.h (struct Lisp_Sub_Char_Table): Check that offset matches + what we think it is, rather than checking only its alignment (and + doing so incorrectly on MinGW). + + 2015-01-12 Dmitry Antipov <dmantipov@yandex.ru> + + * fileio.c (Ffile_name_as_directory, Fdirectory_file_name): + Remove dead NILP check. + * image.c (Flookup_image): Use regular format for docstring. + * keyboard.c (apply_modifiers_uncached): Use stpcpy. + + 2015-01-12 Martin Rudalics <rudalics@gmx.at> + + * dispnew.c (change_frame_size_1): Pass Qchange_frame_size to + adjust_frame_size. + * frame.c (frame_default_tool_bar_height): New variable. + (adjust_frame_size): Possibly add requested adjustment to + Vframe_adjust_size_history. + (make_frame): Initialize tool_bar_redisplayed_once slot. + (Fset_frame_height, Fset_frame_width, Fset_frame_size): Clarify + doc-string. Call adjust_frame_size unconditionally (the frame's + text size may remain unaltered but the pixel size may change). + (x_figure_window_size): If frame_default_tool_bar_height was + set, use it instead of calculating the tool bar height from + DEFAULT_TOOL_BAR_IMAGE_HEIGHT. Don't set + Vframe_initial_frame_tool_bar_height. + (Qchange_frame_size, Qxg_frame_set_char_size) + (Qset_window_configuration, Qx_create_frame_1) + (Qx_create_frame_2): New symbols. + (Vframe_initial_frame_tool_bar_height): Remove. + (Vframe_adjust_size_history): New history variable for debugging + frame size adjustments. + * frame.h (struct frame): New boolean slot + tool_bar_redisplayed_once. + (frame_default_tool_bar_height): Extern. + * gtkutil.c (xg_frame_set_char_size): Pass Qxg_frame_set_char_size + to adjust_frame_size. + * nsfns.m (Fx_create_frame): Pass Pass Qx_create_frame_1 and + Qx_create_frame_2 to adjust_frame_size. + * w32fns.c (x_change_tool_bar_height): Call adjust_frame_size with + inhibit 1 when we have not redisplayed the tool bar yet. + (Fx_create_frame): Pass Pass Qx_create_frame_1 and + Qx_create_frame_2 to adjust_frame_size. + * w32menu.c (set_frame_menubar): Simplify adjust_frame_size + call. + * window.c (Fset_window_configuration): + Pass Qset_window_configuration to adjust_frame_size. + * xdisp.c (redisplay_tool_bar): Assign new height to + frame_default_tool_bar_height. + (redisplay_internal): If we haven't redisplayed this frame's + tool bar, call redisplay_tool_bar early so we can adjust the + frame size accordingly. + * xfns.c (x_change_tool_bar_height): Call adjust_frame_size with + inhibit 1 when we have not redisplayed the tool bar yet. + (Fx_create_frame): Pass Pass Qx_create_frame_1 and + Qx_create_frame_2 to adjust_frame_size. + + 2015-01-12 Paul Eggert <eggert@cs.ucla.edu> + + Have 'make' output better GEN names + * Makefile.in (gl-stamp, globals.h): Simplify by putting the new + contents of globals.h into gl-stamp. This lets us use AM_V_GEN + more naturally so that 'make' can output more-accurate names. + + 2015-01-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * buffer.c (init_buffer_once): Initialize buffer_local_flags before + calling reset_buffer_local_variables, and make sure we initialize + it completely. + + 2015-01-11 Dmitry Antipov <dmantipov@yandex.ru> + + * coding.c (Fcoding_system_plist): Use common style for docstring. + + 2015-01-11 Paul Eggert <eggert@cs.ucla.edu> + + Port to MSB hosts without optimization + E.g., when configuring --with-wide-int CFLAGS='-O0' on x86, + the inline function XTYPE needs to be declared before being used. + * lisp.h (XTYPE): New forward declaration. + + 2015-01-10 Paul Eggert <eggert@cs.ucla.edu> + + Port to 32-bit --with-wide-int + Prefer symbol indexes to struct Lisp_Symbol * casted and then + widened, as the latter had trouble with GCC on Fedora 21 when + configured --with-wide-int and when used in static initializers. + * alloc.c (garbage_collect_1, which_symbols): + * lread.c (init_obarray): + Prefer builtin_lisp_symbol when it can be used. + * dispextern.h (struct image_type.type): + * font.c (font_property_table.key): + * frame.c (struct frame_parm_table.sym): + * keyboard.c (scroll_bar_parts, struct event_head): + * xdisp.c (struct props.name): + Use the index of a builtin symbol rather than its address. + All uses changed. + * lisp.h (TAG_SYMPTR, XSYMBOL_INIT): Remove, replacing with ... + (TAG_SYMOFFSET, SYMBOL_INDEX): ... new macros that deal with + symbol indexes rather than pointers, and which work better on MSB + hosts because they shift right before tagging. All uses changed. + (DEFINE_LISP_SYMBOL_BEGIN, DEFINE_LISP_SYMBOL_END): + No longer noops on wide-int hosts, since they work now. + (builtin_lisp_symbol): New function. + + Port to HAVE_FREETYPE && !HAVE_XFT + * dispextern.h (struct face.extra) [HAVE_FREETYPE && !HAVE_XFT]: + * font.h (syms_of_xftfont) [HAVE_FREETYPE && !HAVE_XFT]: + Declare in this case too. + + 2015-01-10 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (Fw32_register_hot_key): Use XINT instead of XLI. + + * w32notify.c (Fw32notify_add_watch, w32_get_watch_object): + Use make_pointer_integer instead of XIL. + (Fw32notify_rm_watch): Use XINTPTR instead of XLI. + + * w32inevt.c (handle_file_notifications): Use make_pointer_integer + instead of XIL. Put a list of the descriptor, action, and file + name in event->arg, instead of spreading them between event->code + and event->arg. + + * w32term.c (queue_notifications): Use make_pointer_integer + instead of XIL. Put a list of the descriptor, action, and file + name in event->arg, instead of spreading them between event->code + and event->arg. + + * keyboard.c (kbd_buffer_get_event) [HAVE_W32NOTIFY]: Adjust Lisp + event creation to changes in w32term.c and w32inevt.c above. + + 2015-01-09 Paul Eggert <eggert@cs.ucla.edu> + + Port Qnil==0 changes to 32-bit --with-wide-int + * lisp.h (lisp_h_XSYMBOL, XSYMBOL): Assume USE_LSB_TAG in the + macro-implemented version. For the non-USE_LSB_TAG case, supply + a new inline function that is the inverse of the new TAG_SYMPTR. + (lisp_h_XUNTAGBASE, XUNTAGBASE): Remove. All uses removed. + (TAG_SYMPTR) [!USE_LSB_TAG]: If the pointer subtraction yields a + negative number, don't allow sign bits to bleed into the encoded + value. Shift in zero bits instead. + + Refactor pointer-to-integer conversion + * gfilenotify.c (monitor_to_lisp, lisp_to_monitor): + Rename and move to lisp.h. All uses changed. + * lisp.h (XINTPTR, make_pointer_integer): New inline functions, + which are renamed from gfilenotify.c's lisp_to_monitor and + monitor_to_lisp, and with more-generic void * signatures. + + 2015-01-08 Eli Zaretskii <eliz@gnu.org> + + * dispnew.c (buffer_posn_from_coords): Fix the value of the column + returned for right-to-left screen lines. (Before the change on + 2014-12-30, the incorrectly-computed X pixel coordinate concealed + this bug.) + + * .gdbinit (xsymname): New subroutine. + (xprintsym, initial-tbreak): Use it to access the name of a symbol + in a way that doesn't cause GDB to barf when it tries to + dereference a NULL pointer. + + * xdisp.c (next_element_from_c_string): Use Lisp integer zero as + the object. + (set_cursor_from_row, try_cursor_movement, dump_glyph) + (insert_left_trunc_glyphs, append_space_for_newline) + (extend_face_to_end_of_line, highlight_trailing_whitespace) + (find_row_edges, ROW_GLYPH_NEWLINE_P, Fmove_point_visually) + (Fbidi_resolved_levels, produce_special_glyphs) + (rows_from_pos_range, mouse_face_from_buffer_pos) + (note_mouse_highlight): Use nil as the object for glyphs inserted + by the display engine, and test with NILP instead of INTEGERP. + (Bug#19535) + + * w32fns.c (Fx_show_tip): Use NILP to test for glyphs inserted by + the display engine. + + * xfns.c (Fx_show_tip): Use NILP to test for glyphs inserted by + the display engine. + + * dispextern.h (struct glyph, struct it): Update comments for the + OBJECT members. + + 2015-01-08 Paul Eggert <eggert@cs.ucla.edu> + + Port new Lisp symbol init to x86 --with-wide-int + * lisp.h (DEFINE_LISP_SYMBOL_BEGIN, DEFINE_LISP_SYMBOL_END): + Define to empty on platforms where EMACS_INT_MAX != INTPTR_MAX, as + GCC (at least) does not allow a constant initializer to widen an + address constant. + + * lisp.h (TAG_SYMPTR): Don't do arithmetic on NULL. + This is a followup to the "Port Qnil==0 XUNTAG to clang" patch. + Although clang doesn't need it, some other compiler might, and + it's easy enough to be safe. + + * conf_post.h (ATTRIBUTE_ALLOC_SIZE): Port to clang 3.5.0. + Apparently clang removed support for the alloc_size attribute. + + Port Qnil==0 XUNTAG to clang + clang has undefined behavior if the program subtracts an integer + from (char *) 0. Problem reported by YAMAMOTO Mitsuharu in: + http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00132.html + * lisp.h (lisp_h_XUNTAG) [USE_LSB_TAG]: + (XUNTAG) [!USE_LSB_TAG]: Port to clang 3.5.0. + + Port GFileMonitor * hack to Qnil==0 platforms + Reported by Glenn Morris in: http://bugs.gnu.org/15880#112 + * gfilenotify.c (monitor_to_lisp, lisp_to_monitor): New functions. + (dir_monitor_callback, Fgfile_add_watch, Fgfile_rm_watch): Use them. + + 2015-01-06 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (x_set_window_size): Call updateFrameSize to get real + size instead of using widht/height. The frame may be + constrained (Bug#19482). + + 2015-01-05 Paul Eggert <eggert@cs.ucla.edu> + + * lisp.h (XSYMBOL): Parenthesize id in forward decl. + Needed when neither optimizing nor inlining. + Also, sort decls alphabetically. + + 2015-01-05 Eli Zaretskii <eliz@gnu.org> + + * w32proc.c, w32.h, w32fns.c, w32font.c, w32menu.c, w32notify.c: + * w32proc.c, w32select.c, w32term.c, w32uniscribe.c: Remove + declarations of Q* variables that represent symbols. + + 2015-01-05 Paul Eggert <eggert@cs.ucla.edu> + + Use 0 for Qnil + Fixes Bug#15880. + If USE_LSB_TAG, arrange for the representation of Qnil to be zero so + that NILP (x) is equivalent to testing whether x is 0 at the + machine level. The overall effects of this and the previous patch + shrink the size of the text segment by 2.3% and speeds up + compilation of all the .elc files by about 0.5% on my platform, + which is Fedora 20 x86-64. + * lisp.h (lisp_h_XPNTR, lisp_h_XSYMBOL, lisp_h_XUNTAG) + (make_lisp_symbol) [USE_LSB_TAG]: + Symbols now tag the difference from lispsym, not the pointer. + (lisp_h_XUNTAGBASE, TAG_SYMPTR): New macros. + (Lisp_Int0, Lisp_Int1, Lisp_Symbol, Lisp_Misc, Lisp_String, Lisp_Cons): + Renumber so that Lisp_Symbol is 0, so that Qnil is zero. + (XSYMBOL): New forward decl. + (XUNTAGBASE): New function. + (XUNTAG): Use it. + + Compute C decls for DEFSYMs automatically + Fixes Bug#15880. + This patch also makes Q constants (e.g., Qnil) constant addresses + from the C point of view. + * alloc.c, bidi.c, buffer.c, bytecode.c, callint.c, casefiddle.c: + * casetab.c, category.c, ccl.c, charset.c, chartab.c, cmds.c, coding.c: + * composite.c, data.c, dbusbind.c, decompress.c, dired.c, dispnew.c: + * doc.c, editfns.c, emacs.c, eval.c, fileio.c, fns.c, font.c, fontset.c: + * frame.c, fringe.c, ftfont.c, ftxfont.c, gfilenotify.c, gnutls.c: + * image.c, inotify.c, insdel.c, keyboard.c, keymap.c, lread.c: + * macfont.m, macros.c, minibuf.c, nsfns.m, nsfont.m, nsimage.m: + * nsmenu.m, nsselect.m, nsterm.m, print.c, process.c, profiler.c: + * search.c, sound.c, syntax.c, term.c, terminal.c, textprop.c, undo.c: + * window.c, xdisp.c, xfaces.c, xfns.c, xftfont.c, xmenu.c, xml.c: + * xselect.c, xsettings.c, xterm.c: + Remove Q vars that represent symbols (e.g., Qnil, Qt, Qemacs). + These names are now defined automatically by make-docfile. + * alloc.c (init_symbol): New function. + (Fmake_symbol): Use it. + (c_symbol_p): New function. + (valid_lisp_object_p, purecopy): Use it. + * alloc.c (marked_pinned_symbols): + Use make_lisp_symbol instead of make_lisp_ptr. + (garbage_collect_1): Mark lispsym symbols. + (CHECK_ALLOCATED_AND_LIVE_SYMBOL): New macro. + (mark_object): Use it. + (sweep_symbols): Sweep lispsym symbols. + (symbol_uses_obj): New function. + (which_symbols): Use it. Work for lispsym symbols, too. + (init_alloc_once): Initialize Vpurify_flag here; no need to wait, + since Qt's address is already known now. + (syms_of_alloc): Add lispsym count to symbols_consed. + * buffer.c (init_buffer_once): Compare to Qnil, not to make_number (0), + when testing whether storage is all bits zero. + * dispextern.h (struct image_type): + * font.c (font_property_table): + * frame.c (struct frame_parm_table, frame_parms): + * keyboard.c (scroll_bar_parts, struct event_head): + * xdisp.c (struct props): + Use XSYMBOL_INIT (Qfoo) and struct Lisp_Symbol * rather than &Qfoo and + Lisp_Object *, since Qfoo is no longer an object whose address can be + taken. All uses changed. + * eval.c (run_hook): New function. Most uses of Frun_hooks changed to + use it, so that they no longer need to take the address of a Lisp sym. + (syms_of_eval): Don't use DEFSYM on Vrun_hooks, as it's a variable. + * frame.c (syms_of_frame): Add defsyms for the frame_parms table. + * keyboard.c (syms_of_keyboard): Don't DEFSYM Qmenu_bar here. + DEFSYM Qdeactivate_mark before the corresponding var. + * keymap.c (syms_of_keymap): Use DEFSYM for Qmenu_bar and Qmode_line + instead of interning their symbols; this avoids duplicates. + (LISP_INITIALLY, TAG_PTR) + (DEFINE_LISP_SYMBOL_BEGIN, DEFINE_LISP_SYMBOL_END, XSYMBOL_INIT): + New macros. + (LISP_INITIALLY_ZERO): Use it. + (enum symbol_interned, enum symbol_redirect, struct Lisp_Symbol) + (EXFUN, DEFUN_ARGS_MANY, DEFUN_ARGS_UNEVALLED, DEFUN_ARGS_*): + Move decls up, to avoid forward uses. Include globals.h earlier, too. + (make_lisp_symbol): New function. + (XSETSYMBOL): Use it. + (DEFSYM): Now just a placeholder for make-docfile. + * lread.c (DEFINE_SYMBOLS): Define, for globals.h. + (intern_sym): New function, with body taken from old intern_driver. + (intern_driver): Use it. Last arg is now Lisp integer, not ptrdiff_t. + All uses changed. + (define_symbol): New function. + (init_obarray): Define the C symbols taken from lispsym. + Use plain DEFSYM for Qt and Qnil. + * syntax.c (init_syntax_once): No need to worry about + Qchar_table_extra_slots. + + 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> + + 'temacs -nw' should not call missing functions + Without this patch, "temacs -nw" fails with the diagnostic + "emacs: Symbol's function definition is void: frame-windows-min-size" + and messes up the tty's state. + * frame.c (Fframe_windows_min_size): New placeholder function. + (syms_of_frame): Define it. + * window.c (Fwindow__sanitize_window_sizes): New placeholder. + (syms_of_window): Define it. + + Less 'make' chatter for lisp dir + * Makefile.in (%.elc): Adjust to compile-onefile change in + ../lisp/Makefile.in. + + batch write-region no longer says "Wrote FOO" + This cuts down on 'make' chatter a bit. + * fileio.c (Fwrite_region): + Don't output "Wrote /whatever/foo.elc" if noninteractive. + + 2015-01-03 Paul Eggert <eggert@cs.ucla.edu> + + Revert previous change to produce_composite_glyph + * term.c (produce_composite_glyph): Revert previous change (Bug#19496). + + Pacify gcc -Wparentheses + * frame.c (x_set_frame_parameters): Add parens (Bug#19428). + + 2015-01-03 Martin Rudalics <rudalics@gmx.at> + + * frame.c (x_set_frame_parameters): Call Fset_frame_size only if + f->can_x_set_window_size is true. + * xterm.c (x_set_window_size_1): Call change_frame_size with + text sizes instead of pixel sizes (Bug#19428). + + 2015-01-01 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (pos_visible_p): Fix up the X coordinate for + right-to-left screen lines. (Bug#19473) + + 2015-01-01 Eli Zaretskii <eliz@gnu.org> + + * w32proc.c (Fw32_get_codepage_charset): Doc fix. (Bug#19458) + + 2014-12-31 Paul Eggert <eggert@cs.ucla.edu> + + Simplify setfattr use by assuming GNU make + * Makefile.in (PAXCTL_if_present, SETFATTR_if_present): New macros. + (emacs$(EXEEXT), temacs$(EXEEXT), bootstrap-emacs$(EXEEXT)): Use them. + Simplify by using GNU make rather than shell conditionals, + by using ln -f rather than rm -f followed by ln, + and by preferring $@ to spelling out the destination. + + 2014-12-29 Eli Zaretskii <eliz@gnu.org> + + * sysdep.c [WINDOWSNT]: Include sys/socket.h, without which this + file doesn't compile on MS-Windows. + + 2014-12-29 Paul Eggert <eggert@cs.ucla.edu> + + Allow return value of system-name to vary. (Bug#19438) + * filelock.c (current_lock_owner): + * xrdb.c (get_environ_db): + * xterm.c (same_x_server): + * xterm.c (x_term_init): + Prefer (system-name) to system-name, and avoid naming + locals 'system-name'. + * editfns.c (cached_system_name): New static var. + (init_and_cache_system_name): New function. + (init_editfns, Fsystem_name): Use it. + (syms_of_editfns): Initialize it and Vsystem_name to the same value. + * sysdep.c [HAVE_SOCKETS]: Don't include <sys/socket.h>, <netdb.h>. + (h_errno) [TRY_AGAIN && !HAVE_H_ERRNO]: Remove decl. + (init_system_name) [HAVE_SOCKETS]: Don't canonicalize the name. + Don't create a new string if the current value is already correct. + + 2014-12-28 Paul Eggert <eggert@cs.ucla.edu> + + Fix produce_composite_width typo + * term.c (produce_composite_glyph): + Fix typo that confused number of columns for pixel width. + + 2014-12-28 Paul Eggert <eggert@Penguin.CS.UCLA.EDU> + + Wrap dll functions more simply + * decompress.c, gnutls.c, image.c, xml.c: + If WINDOWSNT, use '#define FOO fn_FOO' to wrap dll functions, + rather than the inverse when not WINDOWSNT. This isolates the + fn_* business into the WINDOWSNT-specific section of the code, + which makes it easier to maintain the generic code. + * decompress.c (DEF_ZLIB_FN, LOAD_ZLIB_FN): + * gnutls.c (DEF_GNUTLS_FN, LOAD_GNUTLS_FN): + * image.c (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): + * xml.c (DEF_XML2_FN, LOAD_XML2_FN): + Remove. All uses replaced by DEF_DLL_FN. + * decompress.c (inflateInit2): Remove; no longer needed. + * w32.h (DEF_DLL_FN, LOAD_DLL_FN): New macros. + + Port memory-full checking to GnuTLS 3.3 + Instead of using gnutls_global_set_mem_functions, check every call + to a GnuTLS function that might return an indication of memory + exhaustion. Suggested by Dmitry Antipov in: + http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg02056.html + * gnutls.c (gnutls_global_set_mem_functions) [WINDOWSNT]: Remove. + (init_gnutls_functions): Do not load gnutls_global_set_mem_functions. + (fn_gnutls_global_set_mem_functions) [!WINDOWSNT]: Remove. + All uses removed. + (check_memory_full): New function. + (emacs_gnutls_handshake, emacs_gnutls_handle_error) + (gnutls_make_error, gnutls_certificate_details, Fgnutls_peer_status) + (Fgnutls_boot): Use it. + (emacs_gnutls_global_init): Avoid gnutls_global_set_mem_functions. + + 2014-12-27 Paul Eggert <eggert@cs.ucla.edu> + + Fix parse_settings to match internal documentation + * xsettings.c (parse_settings): Return the number of settings seen. + Count the settings changes accurately. + (read_settings): Don't confuse number of settings changes with + the return code from XGetWindowProperty. + + 2014-12-27 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (set_iterator_to_next) <GET_FROM_STRING>: Limit search in + composition_compute_stop_pos to the number of characters in the + string. (Bug#19435) + <GET_FROM_BUFFER, GET_FROM_STRING>: Simplify code. + + * composite.c (composition_compute_stop_pos): If no composition + was found in a string before ENDPOS, and ENDPOS is the string end, + no need to back up to a safe point. + + * dispextern.h (struct it) <end_charpos>: Improve commentary. + + 2014-12-27 Jan Djärv <jan.h.d@swipnet.se> + + * nsimage.m (allocInitFromFile:): Initialize bmRep. + (dealloc): Release bmRep. + (setPixmapData): Make bmRep local so class member is not + set (Bug#19133). + (setPixmapData): Rename local variable bmRep to avoid compiler + warning. + + 2014-12-27 Jan Djärv <jan.h.d@swipnet.se> + + * xterm.c (do_ewmh_fullscreen): Don't remove maximized_horz/vert + when going to fullscreen (Bug#0x180004f). + + 2014-12-27 Eli Zaretskii <eliz@gnu.org> + + * window.c (Fwindow_body_width): Doc fix. (Bug#19395) + + 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca> + + * buffer.c (syms_of_buffer) <Vafter_change_functions>: fix docstring. + + 2014-12-27 Eli Zaretskii <eliz@gnu.org> + + * gnutls.c (gnutls_init): Fix deprecation warning from GCC. + + 2014-12-26 Paul Eggert <eggert@cs.ucla.edu> + + Use bool for boolean in xselect.c, xsettings.c + * xselect.c (x_get_local_selection, struct selection_data) + (x_selection_request_lisp_error, struct prop_location) + (x_handle_selection_request, x_convert_selection) + (waiting_for_other_props_on_window, expect_property_change) + (wait_for_property_change, x_handle_property_notify) + (x_get_foreign_selection, x_get_window_property) + (receive_incremental_selection) + (x_get_window_property_as_lisp_data) + (lisp_data_to_selection_data, Fx_get_selection_internal) + (x_send_client_event): + * xselect.c, xterm.h (x_handle_dnd_message): + * xsettings.c (dpyinfo_valid, parse_settings, read_settings) + (apply_xft_settings, read_and_apply_settings) + (xft_settings_event, init_gsettings, init_xsettings) + (syms_of_xsettings): + Use bool for boolean. + * xselect.c (x_get_window_property): Omit last arg, which was an + unused boolean. + * xsettings.c (apply_xft_settings): Remove 2nd arg, which was + always true. All callers changed. + + 2014-12-26 Eli Zaretskii <eliz@gnu.org> + + * w32proc.c (sys_spawnve, get_lcid_callback): Use strcpy instead + of strcat. + + * w32menu.c (add_menu_item): Use stpcpy instead of strcat. + + * w32.c (sys_readdir, stat_worker, symlink): Use strcpy instead of + strcat. + + 2014-12-26 Paul Eggert <eggert@cs.ucla.edu> + + Use bool for boolean in xsmfns.c + * xsmfns.c, xterm.h (x_session_have_connection): + * xsmfns.c (doing_interact, smc_interact_CB, Fhandle_save_session): + Use bool for boolean. + (x_session_initialize, Fhandle_save_session): + Prefer NILP (x) to EQ (x, Qnil). + + 2014-12-25 Paul Eggert <eggert@cs.ucla.edu> + + * callproc.c (child_setup): + * dbusbind.c (xd_signature_cat): + * doc.c (get_doc_string, Fsnarf_documentation): + * editfns.c (Fuser_full_name): + * frame.c (xrdb_get_resource): + * gtkutil.c (xg_get_file_with_chooser): + * tparam.c (tparam1): + * xfns.c (xic_create_fontsetname): + * xrdb.c (gethomedir, get_user_db, get_environ_db): + * xsmfns.c (smc_save_yourself_CB): + Rewrite to avoid the need for strcat, typically by using stpcpy + and/or lispstpcpy. strcat tends to be part of O(N**2) algorithms. + * doc.c (sibling_etc): + * xrdb.c (xdefaults): + Now a top-level static constant. + + 2014-12-23 Didier Verna <didier@didierverna.net> (tiny change). + + * nsselect.m (Fns_selection_owner_p): Return a Lisp boolean, not a + C one (Bug#19396). + + 2014-12-22 Jan Djärv <jan.h.d@swipnet.se> + + * xterm.c (x_bitmap_icon): Partly revert change from 2014-03-21 which + breaks icon setting for Gtk+ except for initial frame (Bug#19403). + + 2014-12-22 Paul Eggert <eggert@cs.ucla.edu> + + Use bool for boolean in xterm.c + * frame.h, nsterm.m, w32term.c, w32term.h, xterm.c: + (x_set_window_size, x_bitmap_icon): + * nsterm.m (ns_frame_raise_lower, x_new_font): + * termhooks.h (struct terminal.toggle_invisible_pointer_hook) + (struct terminal.frame_raise_lower_hook): + * w32term.c (w32_frame_raise_lower): + * xterm.c, xterm.h (x_text_icon): + * xterm.c (x_update_window_begin, x_update_window_end) + (x_update_end, x_after_update_window_line) + (x_set_glyph_string_gc, x_draw_glyph_string_background) + (x_draw_glyph_string_foreground) + (x_draw_composite_glyph_string_foreground) + (x_alloc_lighter_color, x_draw_relief_rect) + (x_draw_glyph_string_box, x_draw_image_relief) + (x_draw_image_glyph_string, x_draw_stretch_glyph_string) + (x_draw_underwave, x_draw_glyph_string, x_show_hourglass) + (x_hide_hourglass): + (XFillRectangle) [HAVE_GTK3]: + (XTtoggle_invisible_pointer, frame_highlight, frame_unhighlight) + (x_focus_changed, x_find_modifier_meanings, note_mouse_movement) + (XTmouse_position, xt_action_hook, xt_horizontal_action_hook) + (x_send_scroll_bar_event, xm_scroll_callback) + (xg_scroll_callback, xaw_jump_callback, xaw_scroll_callback) + (x_create_toolkit_scroll_bar) + (x_create_horizontal_toolkit_scroll_bar) + (x_set_toolkit_horizontal_scroll_bar_thumb, x_scroll_bar_create) + (x_scroll_bar_set_handle, XTset_vertical_scroll_bar) + (XTset_horizontal_scroll_bar, x_scroll_bar_expose) + (x_scroll_bar_handle_click, x_scroll_bar_note_movement) + (x_scroll_bar_report_motion) + (x_horizontal_scroll_bar_report_motion, x_net_wm_state) + (handle_one_xevent, XTread_socket, x_draw_bar_cursor) + (x_draw_window_cursor, x_clear_errors) + (x_trace_wire, x_new_font, x_set_offset, wm_supports) + (set_wm_state, x_set_sticky, get_current_wm_state) + (do_ewmh_fullscreen, x_handle_net_wm_state) + (x_check_expected_move, x_sync_with_move, x_wait_for_event) + (x_set_window_size_1, XTframe_raise_lower) + (x_make_frame_visible, x_iconify_frame) + (x_timeout_atimer_activated_flag, same_x_server, x_display_ok) + (x_term_init, x_process_timeouts, x_activate_timeout_atimer) + (x_delete_terminal, x_initialize, syms_of_xterm): + Use bool for boolean. + + 2014-12-20 Paul Eggert <eggert@cs.ucla.edu> + + * composite.h (struct composition.width): Now int + instead of unsigned short, as we prefer signed integers. + + Let charset tick grow past USHRT_MAX + * charset.c, charset.h (charset_ordered_list_tick): + Now EMACS_UINT, not unsigned short. + * fontset.c (reorder_font_vector): Allow the tick to grow to the + maximum representable Emacs integer value before wrapping it around. + + Simplify unexec file mode setting + * unexaix.c, unexcoff.c, unexelf.c, unexmacosx.c: + Don't include <sys/stat.h> when no longer needed. + (unexec): Create file with correct mode in the first place, + rather than overwriting the mode later and fiddling with the + global umask in the mean time. Avoid bogus usage like + 'umask (777)', which should have been 'umask (0777)'. + (mark_x): Remove. All callers removed. + + 2014-12-19 Paul Eggert <eggert@cs.ucla.edu> + + Minor cleanups for Lisp objects and symbols + * alloc.c (next_vector, set_next_vector): + * lisp.h (lisp_h_INTEGERP, make_number, XFASTINT, make_natnum): + (lisp_h_make_number) [USE_LSB_TAG]: + Use Lisp_Int0 instead of the mystery constant 0. + * alloc.c (mark_object): Always set and use po; that's simpler. + (CHECK_LIVE, CHECK_ALLOCATED_AND_LIVE): + Properly parenthesize definientia. + * bidi.c (bidi_initialize): + * buffer.c (init_buffer_once): + * nsfns.m (syms_of_nsfns): + * nsmenu.m (syms_of_nsmenu): + * nsselect.m (syms_of_nsselect): + Prefer DEFSYM to defining by hand. + * buffer.c (syms_of_buffer): Omit unneeded staticpros. + * data.c: Fix too-long line. + * lisp.h (DECLARE_GDB_SYM): New macro. + (DEFINE_GDB_SYMBOL_BEGIN): Use it. + (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END) [!MAIN_PROGRAM]: + Declare the symbol, so it's visible to everywhere lisp.h is included. + Move forward decls as far forward as they can go, + to allow future changes to use them. + + 2014-12-18 Paul Eggert <eggert@cs.ucla.edu> + + * gnutls.c: Include gnutls.h. + This to check syms_of_gnutls's API even when !HAVE_GNUTLS. + * image.c (svg_load): Fix pointer signedness. + + 2014-12-18 Martin Rudalics <rudalics@gmx.at> + + * frame.c (frame_windows_min_size): New argument IGNORE. + (adjust_frame_size): When called from change_frame_size call + frame_windows_min_size with IGNORE Qt so we can ignore size + restrictions. + + 2014-12-18 Eli Zaretskii <eliz@gnu.org> + + * font.c (Ffont_info): Add more font information to the vector + returned by the function, inspired by query-font. Doc fix. + (Bug#19395) + + 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (input_was_pending): New var. + (read_char): Use it to make sure we only skip redisplay when we can't + keep up with the repeat rate. + + 2014-12-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (swallow_events): Don't redisplay if there's input pending. + + 2014-12-17 Ulf Jasper <ulf.jasper@web.de> + + * image.c (svg_load): Watch out for nil value of current buffer's + filename. Re-enable filename thing for not-a-file case. + + 2014-12-17 Ulf Jasper <ulf.jasper@web.de> + + Partially disabled previous change. + + * image.c (svg_load): Temporarily disabled filename thing for + not-a-file case as it can cause crashs. + + 2014-12-17 Ulf Jasper <ulf.jasper@web.de> + + Fix problem with images referenced within svg files. (bug#19373) + + * image.c: Additional parameter 'filename' for + svg_load_image. Include "buffer.h". Define library function + rsvg_handle_set_base_uri for WINDOWSNT. + (init_svg_functions): Initialize rsvg_handle_set_base_uri. + (fn_rsvg_handle_set_base_uri): Define fn_rsvg_handle_set_base_uri. + (svg_load): Pass a filename to svg_load_image: either name of + actual file or of current buffer's file. + (svg_load_image): New parameter 'filename', used for setting + base_uri, necessary for loading referenced images. (bug#19373) + + 2014-12-16 Paul Eggert <eggert@cs.ucla.edu> + + * lread.c (init_obarray): Declare Qt as special. + This fixes a typo in the 2012-05-15 patch that + tried to declare Qt as special. + + 2014-12-15 Stefan Monnier <monnier@iro.umontreal.ca> + + Various fixes to use bool type and constants. + * dispnew.c (update_single_window): Remove arg `force_p' since it's + always true. + * xfaces.c (clear_face_cache): Use bool for the argument type. + + 2014-12-15 Paul Eggert <eggert@cs.ucla.edu> + + Correct same_at_end when restoring window points + * fileio.c (Finsert_file_contents): Compute same_at_end character + position using the old buffer size, not the new one, since + restore_window_points wants the old size. + (Bug#19161) + + 2014-12-14 Alan Mackenzie <acm@muc.de> + + New feature optionally to accelerate auto-repeated scrolling. + + * xdisp.c: Remove "static" from declaration of Qfontification_functions. + + * window.c (window_scroll): Bind fontification-functions to nil + when scrolling by whole screens and + fast-but-imprecise-scrolling is non-nil. + (syms_of_window): New DEFVAR_BOOL fast-but-imprecise-scrolling. + + * lisp.h (bool): Declare Qfontification_functions extern. + + 2014-12-14 Eli Zaretskii <eliz@gnu.org> + + Load system's default trusted Certificate Authorities if available. + * gnutls.c (gnutls_certificate_set_x509_system_trust) + [GNUTLS >= 3.0.20]: Declare for WINDOWSNT. + (init_gnutls_functions)(gnutls_certificate_set_x509_system_trust) + [GNUTLS >= 3.0.20]: Load from shared library for WINDOWSNT. + (fn_gnutls_certificate_set_x509_system_trust) [!WINDOWSNT]: + Define new macro. + (Fgnutls_boot) [GNUTLS >= 3.0.20]: + Call gnutls_certificate_set_x509_system_trust. Log an error message if + it fails. + + 2014-12-14 Paul Eggert <eggert@cs.ucla.edu> + + * regex.c (analyze_first): Rename from analyze_first. + + 2014-12-13 Paul Eggert <eggert@cs.ucla.edu> + + * alloc.c (XMALLOC_BASE_ALIGNMENT): Use max_align_t instead of + a hack involving a union. + + 2014-12-13 Eli Zaretskii <eliz@gnu.org> + + * gnutls.c (Fgnutls_available_p, syms_of_gnutls): + Move gnutls-available-p out of the HAVE_GNUTLS conditional, and define + them only once. + + 2014-12-13 Teodor Zlatanov <tzz@lifelogs.com> + + * emacs.c (main): Always include gnutls.h and run syms_of_gnutls. + + * gnutls.h: Always declare syms_of_gnutls. + + * gnutls.c (Fgnutls_available_p syms_of_gnutls): Move later for + clarity. Let the availability check return Qnil when the GnuTLS + integration is not available, instead of erroring out. + (Bug#19346) + + 2014-12-13 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (move_it_in_display_line_to, display_line): + Don't disallow overflow-newline-into-fringe when word-wrap is in + effect. (Bug#19300) + + 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * fileio.c: Better preserve window-points during revert (bug#19161). + (Qget_buffer_window_list): New var. + (get_window_points_and_markers, restore_window_points): New functions. + (Finsert_file_contents): Use them to save and restore window-points. + + 2014-12-11 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.c (x_delete_terminal): Call emacs_close for X connection + descriptor if called from x_connection_closed and always delete + this descriptor from keyboard waiting set (Bug#19147). + + 2014-12-10 Eli Zaretskii <eliz@gnu.org> + + * bidi.c (BIDI_CACHE_MAX_ELTS_PER_SLOT): New macro. + (bidi_cache_max_elts): New global variable. + (bidi_shelve_header_size): Add the sizeof bidi_cache_max_elts. + (bidi_cache_shrink, bidi_initialize): Reset bidi_cache_max_elts to + its initial value. + (bidi_cache_search): Handle overflown cache. Improve commentary. + (bidi_cache_ensure_space): Limit allocations to the current value + of bidi_cache_max_elts. Force xpalloc not to over-allocate. + If less than a full BIDI_CACHE_CHUNK is left to the limit, decrease + the increment to not exceed the limit. + (bidi_cache_iterator_state): Now returns non-zero if succeeded to + cache, zero otherwise (meaning the cache overflowed). In the + latter case, set bidi_cache_last_idx to -1. + (bidi_peek_at_next_level): Handle overflown cache. + (bidi_push_it): Increase the cache limit for iterating the new object. + (bidi_pop_it): Decrease the cache limit back to previous value. + (bidi_shelve_cache): Shelve the current value of the cache limit. + (bidi_unshelve_cache): Restore the value of cache limit. + (bidi_find_bracket_pairs): If the cache overflows while looking + for the paired bracket, give up and let bidi_resolve_neutrals + process the bracket as a simple neutral. (Bug#19322) + (bidi_find_other_level_edge): If the cache overflows, fall back on + Plan B, which effectively stops the reordering and restarts it on + the next character (after resetting the cache). + (bidi_move_to_visually_next): When the cache overflows, reset it + after processing the last cached character. + + 2014-12-10 Paul Eggert <eggert@cs.ucla.edu> + + Fix glitches in gnutls.c, mostly memory-related + * gnutls.c: Sort macro definitions by name. + (fn_gnutls_transport_set_errno): Omit unreachable definition. + (fn_gnutls_x509_crt_get_signature): Omit unused symbol. + (gnutls_hex_string): Arg is now unsigned char *, to avoid a cast. + Prefer ptrdiff_t for sizes. Check for arithmetic overflow when + calculating string length. Use make_uninit_string, to avoid + copying the string. Cast the char, not the pointer. + (gnutls_certificate_details): Use xmalloc and xfree, not malloc + and free. Work even for dates past the year 9999. Use void * + for buffers, to avoid casts. + + 2014-12-09 Andy Moreton <andrewjmoreton@gmail.com> (tiny change) + + * gnutls.c (gnutls_protocol_get_name): Fix a copy/paste typo. + + 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * gnutls.c (Fgnutls_peer_status): Return the key exchange, cipher + and MAC algorithms. + + 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * process.c: Whitespace and line-break nitpicks. + + 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * gnutls.c (gnutls_certificate_details): The :signature isn't + that useful, so remove it. + (gnutls_certificate_details): Clean up whitespace slightly. + (Fgnutls_peer_status): Return the Diffie-Hellman prime bits for + the connection. + (gnutls_certificate_details): Put :signature-algorithm back again, + which was removed by mistake. + (emacs_gnutls_handle_error): Fatal errors should be on level 1, so + that they are not messaged by default (bug#16253). + (Fgnutls_error_fatalp): Doc fix (bug#18210). + + * gnutls.c: Add Windows specs for gnutls_dh_get_prime_bits. + + 2014-12-07 Jan Djärv <jan.h.d@swipnet.se> + + * nsimage.m (setPixmapData): Make bmRep local so class member is not + set (Bug#19133). + + 2014-12-05 Lee Duhem <lee.duhem@gmail.com> (tiny change) + + * eval.c (Fsignal): Remove duplicate test. + (Fautoload_do_load): Fix up docstring. + + 2014-12-05 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (represented_filename, represented_frame): New variables. + (ns_set_represented_filename): New function. + (sendEvent:): Set represented filename here to avoid flicker, + related to Bug#18757. + + * nsterm.h: Declare ns_set_represented_filename. + + * nsfns.m (ns_set_name_as_filename): Don't set represented filename + at once, call ns_set_represented_filename instead. + + 2014-12-05 Eli Zaretskii <eliz@gnu.org> + + * dispextern.h (enum bidi_dir_t): Force NEUTRAL_DIR to be zero. + (struct bidi_stack): Reduce size by using bit fields and by + packing sos, override, and isolate_status into a single 8-bit + byte called 'flags'. + + * bidi.c (ISOLATE_STATUS, OVERRIDE): New macros. + (bidi_push_embedding_level): Construct flags from individual + bits. Adapt to changes in prev_for_neutral and next_for_neutral + members. + (bidi_pop_embedding_level): Use ISOLATE_STATUS. Extract 'sos' + from flags. Adapt to changes in prev_for_neutral, + next_for_neutral, and last_strong members. + (bidi_line_init): Initialize flags to zero. + (bidi_resolve_explicit, bidi_resolve_weak, bidi_resolve_brackets) + (bidi_resolve_neutral): Use ISOLATE_STATUS and OVERRIDE. + + 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * eval.c (backtrace_eval_unrewind): Rewind also the excursions. + (Fapply): Try and simplify the control flow. + + 2014-12-03 Chris Zheng <chriszheng99@gmail.com> (tiny change) + + * gnutls.c (init_gnutls_functions, gnutls_certificate_details): + Use gnutls_sign_get_name directly because + gnutls_sign_algorithm_get_name is a macro on MinGW (bug#19231). + (init_gnutls_functions): Load missing gnutls_server_name_set. + + 2014-12-02 Eli Zaretskii <eliz@gnu.org> + + * bidi.c (bidi_find_first_overridden): New function. + + * xdisp.c (Fbidi_find_overridden_directionality): New function. + (syms_of_xdisp): Defsubr it. + + * dispextern.h (bidi_find_first_overridden): Add prototype. + + 2014-12-02 Jan Djärv <jan.h.d@swipnet.se> + + * nsimage.m (initFromSkipXBM:width:height:flip:length:): Set bmRep + to nil after release (Bug#9133). + + 2014-11-30 Paul Eggert <eggert@cs.ucla.edu> + + Port better to AddressSanitizer. + These changes suffice for temacs on x86-64 with GCC 4.9.2 and + -fsanitize=address. + * alloc.c (valid_pointer_p) [ADDRESS_SANITIZER]: + Return -1 or 0, as the pipe trick doesn't work. + * alloc.c (relocatable_string_data_p, mark_object, sweep_symbols): + * data.c (Ffset): + * print.c (print_object): + When a pointer-check primitive returns -1, do not assume this + means the pointer is valid or that the underlying system has failed. + It could just be that addresses are being sanitized so Emacs can't + test for pointer validity. + * lisp.h (defined_GC_CHECK_STRING_BYTES): New constant. + (USE_STACK_STRING) [GC_CHECK_STRING_BYTES]: Now false, since the + string validity checker doesn't work on stack-based strings. + + 2014-11-29 Paul Eggert <eggert@cs.ucla.edu> + + Improve clarity of USE_LSB_TAG definition. + Reported by Lee Duhem. Suggested by Andreas Schwab in: + http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02222.html + * lisp.h (USE_LSB_TAG): Define in terms of the (simpler) + VAL_MAX / 2 rather than in terms of the (more complicated) + EMACS_INT_MAX >> GCTYPEBITS, and adjust commentary to match. + + 2014-11-29 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (handle_single_display_spec): When ignoring a fringe + bitmap display, reset the ignore_overlay_strings_at_pos_p flag. + (next_element_from_buffer): When done with overlays, reset the + ignore_overlay_strings_at_pos_p flag. (Bug#19201) + + 2014-11-29 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (Fw32_shell_execute): Convert forward slashes in + DOCUMENT to backslashes, if DOCUMENT is a file. (Bug#19141) + + 2014-11-29 Ulrich Müller <ulm@gentoo.org> + + * Makefile.in (temacs$(EXEEXT)): Use consistent flag settings + for paxctl and setfattr. Fixes temacs startup failure with + grsecurity/PaX enabled Linux kernel (bug#19067). + + 2014-11-27 Oscar Fuentes <ofv@wanadoo.es> + + * w32.c, w32heap.c, w32term.c: + Use MINGW_W64 instead of _W64. + + 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca> + + * frame.c (Fhandle_switch_frame): Deactivate shift-region (bug#19003). + + 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * gnutls.c (gnutls_ip_address_p): New function. + (Fgnutls_boot): Only send SNI if the host name is not an IP address. + + 2014-11-26 Toke Høiland-Jørgensen <toke@toke.dk> (tiny change) + + * gnutls.c (Fgnutls_boot): Send the server name over (bug#18208). + + 2014-11-25 Paul Eggert <eggert@cs.ucla.edu> + + Fix gnutls problems caught by static checking. + * gnutls.c (Fgnutls_boot): Remove unused local. + (Fgnutls_boot): Fix pointer signedness. + + 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * gnutls.c (gnutls_certificate_details): Don't include certain + certificate details on older gnutls versions (bug#19168). + (syms_of_gnutls): Export gnutls_peer_status_warning_describe. + (gnutls_certificate_details): Reversed check in last checkin. + + 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com> + + * gnutls.c (Fgnutls_peer_status): Check GNUTLS_INITSTAGE, not gnutls_p. + (Fgnutls_peer_status_warning_describe): Add function to describe a + peer verification warning symbol. + (Fgnutls_peer_status): Use it. + (Fgnutls_boot): Use it. Minor logging fixes. + + 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * gnutls.c: Fix compilation warnings given fix --enable-gcc-warnings. + + 2014-11-24 Glenn Morris <rgm@gnu.org> + + * emacs.c (main) <--version>: Make use of PACKAGE_NAME. + + * Makefile.in (emacs.res): Use ../nt rule, rather than duplicating it. + (ntsource, WINDRES, EMACS_MANIFEST): Remove, now unused. + + 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * gnutls.c: Fix Windows function definition of + gnutls_x509_crt_get_fingerprint. + + * gnutls.c: Fix Windows return value for gnutls_pk_algorithm_get_name. + + * gnutls.c (Fgnutls_boot): Save certificate for later inspection. + + * process.h: Added more fields to Lisp_Process to track + certificate details. + + * gnutls.c (gnutls_hex_string, gnutls_certificate_details) + (Fgnutls_peer_status): New functions to export TLS certificate + details to Emacs Lisp. + + 2014-11-23 Jan Djärv <jan.h.d@swipnet.se> + + * gtkutil.c (gtk_adjustment_configure): Define for Gtk+ < 2.14. + (xg_set_toolkit_horizontal_scroll_bar_thumb): Remove wrong version + check for gtk_adjustment_configure (Bug#19149). + (gtk_adjustment_configure): Don't use 2.14 functions (Bug#19149). + + 2014-11-22 Glenn Morris <rgm@gnu.org> + + * Makefile.in (emacs.res): Add dependency on icons/hand.cur. Use $<. + + 2014-11-22 Martin Rudalics <rudalics@gmx.at> + + Don't shrink frame when using desktop-save-mode (Bug#19048). + * w32fns.c (x_set_tool_bar_lines): Always call + x_change_tool_bar_height (Bug#19048). + (x_change_tool_bar_height): Mark frame as garbaged since + adjust_frame_size might not have done that. + * xfns.c (x_set_tool_bar_lines): Always call + x_change_tool_bar_height (Bug#19048). + (x_change_tool_bar_height): Mark frame as garbaged since + adjust_frame_size might not have done that. + + 2014-11-21 Ulf Jasper <ulf.jasper@web.de> + + * xml.c (parse_region): Take care of new optional parameter + 'discard-comments' of 'libxml-parse(html|xml)-region'. + (Flibxml_parse_html_region, Flibxml_parse_xml_region): + New optional parameter 'discard-comments'. + + 2014-11-17 Paul Eggert <eggert@cs.ucla.edu> + + Improve time stamp handling, and be more consistent about it. + * editfns.c (invalid_time): New function. + Use it instead of 'error ("Invalid time specification")'. + (time_add, time_subtract, time_arith, Ftime_add, Ftime_less_p) + (decode_float_time, lisp_to_timespec, lisp_time_struct): + New functions. + (make_time_tail, make_time): Remove. All uses changed to use + new functions or plain list4i. + (disassemble_lisp_time): Return effective length if successful. + Check that LOW is an integer, if it's combined with other components. + (decode_time_components): Decode into struct lisp_time, not + struct timespec, so that we can support a wide set of times + regardless of whether time_t is signed. Decode plain numbers + as seconds since the Epoch, and nil as the current time. + (lisp_time_argument, lisp_seconds_argument, Ffloat_time): + Reimplement in terms of new functions. + (Fencode_time): Just use list2i. + (syms_of_editfns): Add time-add, time-subtract, time-less-p. + * keyboard.c (decode_timer): Don't allow the new formats (floating + point or nil) in timers. + * systime.h (LO_TIME_BITS): New constant. Use it everywhere in + place of the magic number '16'. + (struct lisp_time): New type. + (decode_time_components): Use it. + (lisp_to_timespec): New decl. + + 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * intervals.h (INTERVAL_WRITABLE_P): Check the `inhibit-read-only' + text property. + + * callint.c (Fcall_interactively): Pass in nil as argument to + Fbarf_if_buffer_read_only. + + * fileio.c (Finsert_file_contents): Ditto. + + * insdel.c (prepare_to_modify_buffer_1): Pass start region in. + + * textprop.c (verify_interval_modification): Check buffer + readedness after the last interval. + + * buffer.c (Fbarf_if_buffer_read_only): Don't raise an error if + the text at POSITION (new optional argument) has the + `inhibit-read-only' text property set. + + 2014-11-16 Eli Zaretskii <eliz@gnu.org> + + * window.c (window_scroll_pixel_based): Avoid truncation/rounding + errors in computing the number of pixels to scroll. + Suggested by Kelly Dean <kelly@prtime.org>. (Bug#19060) + + 2014-11-16 Jan Djärv <jan.h.d@swipnet.se> + + * nsmenu.m (update_frame_tool_bar): If tool bar changes height, + call updateFrameSize. + + * nsterm.m (setFrame:): Remove call to display (Bug#18757). + + 2014-11-16 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m (x_set_foreground_color, x_set_background_color) + (x_set_cursor_color, Fxw_color_values): Block/unblock input, + use SET_FRAME_GARBAGED instead of redraw_frame (Bug#19036). + + 2014-11-15 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (ns_send_appdefined): Check for application defined + event on Cocoa (Bug#18993). + (run): Restore code before the previous 18993 fix. + + 2014-11-14 David Reitter <david.reitter@gmail.com> + + * nsterm.m (run): Set timeout for event loop to prevent hang. + (Bug#18993) + + 2014-11-14 Paul Eggert <eggert@cs.ucla.edu> + + * .gitignore: Add emacs-[1-9]*, to ignore files like emacs-25.0.50.1. + + 2014-11-14 Dmitry Antipov <dmantipov@yandex.ru> + + * xfont.c (xfont_list_pattern): Do not allocate font entity object + for each candidate font but attempt to reuse it from previous improper + candidate, if any. + + 2014-11-13 Paul Eggert <eggert@cs.ucla.edu> + + Avoid undefined behavior in color table hashing. + * image.c (CT_HASH_RGB) [COLOR_TABLE_SUPPORT]: Remove, replacing with ... + (ct_hash_rgb) [COLOR_TABLE_SUPPORT]: New function. All uses changed. + This function avoids undefined behavior with signed shift overflow. + + 2014-11-10 Eli Zaretskii <eliz@gnu.org> + + * fileio.c (Finsert_file_contents): Invalidate buffer caches also + when the inserted text does not need decoding. (Bug#18982) + + 2014-11-10 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.h (EmacsScroller): judge returns bool. + + * nsterm.m (ns_set_vertical_scroll_bar): Release bar. + (ns_judge_scroll_bars): Only set removed if judge returns true. + (judge): Returns bool == condemned. Remove self from window. + (setPosition:portion:whole:): Remove raise SIGIO (Bug#18757). + + 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (command_loop_1): Record this-command in recent-keys. + (Frecent_keys): Rewrite. and add optional `include-cmds' arg. + + 2014-11-09 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (ns_set_vertical_scroll_bar) + (ns_set_horizontal_scroll_bar): Cleanup merge error. + + 2014-11-09 Paul Eggert <eggert@cs.ucla.edu> + + * xgselect.c (xg_select): Don't assume n_gfds is nonnegative + merely because tmo_in_millisec is nonnegative. The 1st call + to g_main_context_query could succeed while the 2nd one fails. + + * frame.c (Fcan_run_window_configuration_change_hook): Return a value. + + 2014-11-08 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (run): Only use non-system event loop if OSX version is + exactly 10.9 (Bug#18993). + (ns_set_vertical_scroll_bar): Don't call bar setPosition: unless + needed (Bug#18757). + + 2014-11-08 Michael Albinus <michael.albinus@gmx.de> + + * callproc.c (encode_current_directory): Support handling of file + names prepended by "/:". (Bug#18891) + + 2014-11-08 Alan Mackenzie <acm@muc.de> + + * syntax.c (back_comment): Fix off-by-one error (bug#18022). + + 2014-11-08 Dima Kogan <dima@secretsauce.net> + + * xgselect.c (xg_select): Use g_main_context_acquire (bug#18861). + + 2014-11-08 Michael Albinus <michael.albinus@gmx.de> + + * dired.c (Ffile_attributes): Return Qnil, if Fexpand_file_name + raises an error. (Bug#18891) + + 2014-11-08 Martin Rudalics <rudalics@gmx.at> + + * frame.c (adjust_frame_size): Call x_set_window_size only if + f->can_x_set_window_size is set. + (make_frame): Initialize f->can_x_set_window_size and + f->can_run_window_configuration_change_hook. + (Fcan_run_window_configuration_change_hook): New function. + * frame.h (frame): Split `official' into `can_x_set_window_size' + and `can_run_window_configuration_change_hook'. + * nsfns.m (Fx_create_frame): Set f->can_x_set_window_size. + * w32fns.c (Fx_create_frame, x_create_tip_frame): + Set f->can_x_set_window_size. + * window.c (run_window_configuration_change_hook): + Return immediately if either f->can_x_set_window_size or + f->can_run_window_configuration_change_hook are false. + (Fset_window_configuration): Instead of f->official set + f->can_x_set_window_size. + * xfns.c (Fx_create_frame, x_create_tip_frame): + Set f->can_x_set_window_size. + + 2014-11-08 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (EmacsScroller.dealloc): Reinstate, removed at merge + cleanup from 2014-11-01 (Bug#18972). + + 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c: Call gui-set-selection instead of x-set-selection. + * xdisp.c (window-scroll-functions): Improve docstring. + + 2014-11-07 Paul Eggert <eggert@cs.ucla.edu> + + Uniquify the 'size' symbol. + * frame.c (Qsize): + * w32notify.c (Qsize): Remove. + * lisp.h (Qsize): New decl. + * lread.c (Qsize): Now extern. + * w32notify.c (syms_of_w32notify): No need to defsym. + + 2014-11-07 Martin Rudalics <rudalics@gmx.at> + + * dispnew.c (change_frame_size_1): Fix call of + adjust_frame_size. + * frame.c (Qsize, Qframe_position, Qframe_outer_size) + (Qframe_inner_size, Qexternal_border_size, Qtitle_height) + (Qmenu_bar_external, Qmenu_bar_size, Qtool_bar_external) + (Qtool_bar_size): New constants. + (frame_inhibit_resize, adjust_frame_size): New argument to + handle case where frame_inhibit_implied_resize is a list. + (Fmake_terminal_frame, Fset_frame_height, Fset_frame_width) + (Fset_frame_size, x_set_left_fringe, x_set_right_fringe) + (x_set_right_divider_width, x_set_bottom_divider_width) + (x_set_vertical_scroll_bars, x_set_horizontal_scroll_bars) + (x_set_scroll_bar_width, x_set_scroll_bar_height): + Update callers. + (frame-inhibit-implied-resize): Rewrite doc-string. + * frame.h (frame_inhibit_resize, adjust_frame_size): + Fix external declarations. + (Qframe_position, Qframe_outer_size) + (Qframe_inner_size, Qexternal_border_size, Qtitle_height) + (Qmenu_bar_external, Qmenu_bar_size, Qtool_bar_external) + (Qtool_bar_size): Extern them. + * gtkutil.c (FRAME_TOTAL_PIXEL_HEIGHT, FRAME_TOTAL_PIXEL_WIDTH) + (xg_height_or_width_changed): Remove. + (xg_frame_set_char_size): Adjust adjust_frame_size calls. + (menubar_map_cb, xg_update_frame_menubar, free_frame_menubar) + (tb_size_cb, update_frame_tool_bar, free_frame_tool_bar) + (xg_change_toolbar_position): Call adjust_frame_size directly. + * nsfns.m (x_set_internal_border_width, Fx_create_frame): + Fix calls of adjust_frame_size. + * w32fns.c (x_set_internal_border_width, x_set_menu_bar_lines) + (Fx_create_frame, x_create_tip_frame): Adjust adjust_frame_size calls. + (x_set_tool_bar_lines, x_change_tool_bar_height): Make sure that + frame can get resized when tool-bar-lines parameter changes from + or to zero. + (Fw32_frame_menu_bar_size): Return fourth value. + (Fw32_frame_rect): Block input around system calls + (Fx_frame_geometry): New function. + * w32menu.c (set_frame_menubar): Adjust adjust_frame_size call. + * w32term.c (x_new_font): Adjust adjust_frame_size call. + * widget.c (EmacsFrameSetCharSize): Adjust frame_inhibit_resize call. + * window.c (Fset_window_configuration): Adjust adjust_frame_size call. + * xfns.c (x_set_menu_bar_lines, x_set_internal_border_width) + (Fx_create_frame): Adjust adjust_frame_size calls. + (x_set_tool_bar_lines, x_change_tool_bar_height): Make sure that + frame can get resized when tool-bar-lines parameter changes from + or to zero. + (Fx_frame_geometry): New function. + * xmenu.c (update_frame_menubar): On Lucid call + adjust_frame_size with one pixel less height to avoid that + repeatedly adding/removing the menu bar grows the frame. + (free_frame_menubar): On Motif arrange to optionally preserve + the old frame height when removing the menu bar. + * xterm.c (x_new_font): Adjust adjust_frame_size call. + + 2014-11-03 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (Fdump_glyph_matrix, Fdump_frame_glyph_matrix): Doc fix. + (Fdump_frame_glyph_matrix): Don't segfault if invoked on a GUI + frame; instead, print an error message. + + 2014-11-03 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m (ns_set_doc_edited): Check for FRAME_NS (Bug#18925). + + 2014-11-02 Jan Djärv <jan.h.d@swipnet.se> + + * nsimage.m (allocInitFromFile:): Initialize bmRep. + (dealloc): Release bmRep. + + * nsterm.h (EmacsImage): Remove imageListNext, refCount, reference, + imageListSetNext, imageListNext. + + * nsimage.m (ImageList, imageListNext, imageListSetNext:) + (reference): Remove. + (allocInitFromFile:): Remove searching ImageList and calling + reference (Bug#18918). + (dealloc): Remove handling if ImageList. + + 2014-11-02 Andreas Schwab <schwab@linux-m68k.org> + + * process.c (catch_child_signal): Fix incorrect assertion. + + 2014-11-01 Jan Djärv <jan.h.d@swipnet.se> + + * macfont.m (macfont_draw): + * nsterm.m (ns_mouse_position, judge): Clean up merge conflict. + + * macfont.m (macfont_glyph_extents): Turn off synthetic bold + if force_integral_p (i.e. no antialias). + (macfont_draw): Check ns_antialias_text, also turn off synthetic + bold if no antialias (Bug#18876). + + * emacs.c (main): Don't chdir to $HOME on Cocoa if --chdir + was given (Bug#18846). + + * nsterm.h (ns_set_doc_edited): Declare taking no args. + + * nsfns.m (ns_set_doc_edited): Do all logic (check frames) here + instead of in xdisp.c, function now takes void. (Bug#18884). + + * xdisp.c (prepare_menu_bars): Remove HAVE_NS code. + (redisplay_internal): Call ns_set_doc_edited if HAVE_NS (Bug#18884). + + * nsterm.h (EmacsScroller): Replace Lisp_Object win with + struct window* (Bug#18889). + Remove getMouseMotionPart. + (ns_output): Make icon_top/left int. + + * nsfns.m (x_icon): icon_top/left is int. + + * nsterm.m (ns_mouse_position): Remove unused code. + (initFrame:window:, dealloc): Use window instead of win. + (getMouseMotionPart:window:x:y:): Remove, unused. + (sendScrollEventAtLoc:fromEvent:): Make Lisp_Object win from window. + + 2014-11-01 Eli Zaretskii <eliz@gnu.org> + + * keyboard.c (readable_events): When FLAGS include + READABLE_EVENTS_FILTER_EVENTS, ignore BUFFER_SWITCH_EVENT events. + This avoids returning non-nil from input-pending-p when only such + events are in the queue. (Bug#18856) + + 2014-11-01 Jan Djärv <jan.h.d@swipnet.se> + + * nsselect.m (QCLIPBOARD, QSECONDARY, QTEXT, QFILE_NAME) + (NXPrimaryPboard, NXSecondaryPboard): Declare static. + (Qforeign_selection): Remove. + (ns_get_local_selection): Identation fix. + (syms_of_nsselect): Remove Qforeign_selection, ns-lost-selection-hooks + + * nsselect.m (ns_get_local_selection): Remove calling of + functions in Vselection_converter_alist (Bug#18911). + (syms_of_nsselect): Remove Vselection_converter_alist. + + 2014-10-31 Dmitry Antipov <dmantipov@yandex.ru> + + * font.c (copy_font_spec): Redesign to avoid Fcopy_alist + and unnecessary initialization. Adjust comments. + + 2014-10-30 Eli Zaretskii <eliz@gnu.org> + + * bidi.c (bidi_cache_reset_to): Invalidate bidi_cache_last_idx by + setting it to -1. + (bidi_find_bracket_pairs): Pass to bidi_cache_reset_to a relative + index, not an absolute one, as that's what the function expects. + + 2014-10-30 Dmitry Antipov <dmantipov@yandex.ru> + + * xfaces.c (Finternal_set_lisp_face_attribute): Don't try to realize + font on an initial frame when running as a daemon (Bug#18869). + + * fontset.c (toplevel): Adjust comment to match 2014-06-19 change. + + 2014-10-30 Eli Zaretskii <eliz@gnu.org> + + * fileio.c (Fexpand_file_name): Use make_unibyte_string, not + build_string, when importing a home directory. (Bug#18873) + + 2014-12-27 Eli Zaretskii <eliz@gnu.org> + + * dispnew.c (buffer_posn_from_coords): + Use WINDOW_WANTS_HEADER_LINE_P, not WINDOW_WANTS_MODELINE_P, to + account for the header-line height. (Bug#18839) + + 2014-10-28 Ulf Jasper <ulf.jasper@web.de> + + * xml.c (parse_region): Do not forget the first document child. + + 2014-10-25 Jan Djärv <jan.h.d@swipnet.se> + + * nsselect.m: pasteboard_changecount is new. + (ns_store_pb_change_count, ns_get_pb_change_count) + (ns_get_our_change_count_for): New functions. + (ns_string_to_pasteboard_internal): Correct comment. + type => gtype in eassert, Call ns_store_pb_change_count. + (Fns_own_selection_internal): Remove data, use value (Bug#18799). + (Fns_disown_selection_internal, Fns_selection_owner_p): + Replace Vselection_alist check, with change count check. + (Fns_get_selection): Initialize val to Qnil. Only get local + selection if change counts match (Bug#18799). + (nxatoms_of_nsselect): Initialize pasteboard_changecount. + + 2014-10-25 Noam Postavsky <npostavs@users.sourceforget.net> + + * w32proc.c (create_child): If calling a quoted batch file, + pass NULL for exe. (Bug#18745) + + 2014-10-24 Eli Zaretskii <eliz@gnu.org> + + * bidi.c (bidi_resolve_explicit, bidi_find_bracket_pairs) + (bidi_resolve_brackets): Use end of string position rather than ZV + when iterating over a string. (Bug#18815) + + 2014-10-24 Martin Rudalics <rudalics@gmx.at> + + * keyboard.c (make_lispy_position): Return coordinates also when + on scroll bars, fringes, margins or not in a window. + * xdisp.c (show_mouse_face): Don't change cursor face during + mouse tracking. + + 2014-10-23 Martin Rudalics <rudalics@gmx.at> + + * frame.c (Fset_frame_height, Fset_frame_width, Fset_frame_size) + (frame_resize_pixelwise, frame_inhibit_implied_resize): + Fix doc-strings (Bug#18789). + + 2014-10-23 Paul Eggert <eggert@cs.ucla.edu> + + * Makefile.in (ACLOCAL_INPUTS): Omit unnecessary use of 'wildcard'. + + 2014-10-22 Eli Zaretskii <eliz@gnu.org> + + Optimize redisplay of simple bracketed text. + * bidi.c (bidi_cache_reset_to): New function. + (bidi_cache_reset): Call it. + (bidi_init_it, bidi_line_init): Initialize the bracket_pairing_pos + member to -1. + (bidi_resolve_explicit): Reset bracket_pairing_pos and + bracket_enclosed_type only if bracket_pairing_pos's value is not + ZV. + (MAX_BPA_STACK): Make sure the value is signed. + (PUSH_BPA_STACK): If the BPA stack overflows, don't bail out, but + stop pushing values onto the stack. + (bidi_find_bracket_pairs): If the bracketed text is only on the + base embedding level, remove all the states cached by this + function from the cache, and return zero, so that the brackets in + this segment of text are processed as normal neutrals. + (bidi_resolve_brackets): Detect the brackets that are to be + processed as neutrals, and don't call bidi_find_bracket_pairs on + them. (Bug#18778) + + 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca> + + * w32select.c (Fw32_selection_exists_p): Rename from + Fx_selection_exists_p. + (syms_of_w32select): Adjust accordingly. + + * w16select.c (Fw16_selection_exists_p): Rename from + Fx_selection_exists_p. + (syms_of_win16select): Adjust accordingly. + + * nsselect.m (ns_get_local_selection): Signal error rather than `quit'. + (Fns_own_selection_internal): Tighten scoping. + (Fns_selection_exists_p): Rename from Fx_selection_exists_p. + (Fns_get_selection): Rename from Fx_get_selection_internal. + (Fns_get_selection_internal, Fns_store_selection_internal): + Remove functions. + (syms_of_nsselect): Adjust accordingly. + + 2014-10-21 Martin Rudalics <rudalics@gmx.at> + + * w32fns.c (Fw32_frame_menu_bar_size): New function. + * w32term.c (x_set_window_size): Account for wrapped menu bar + lines when setting up frame height (Bug#15174 and Bug#18720). + (w32_add_wrapped_menu_bar_lines): New variable. + + 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca> + + * xdisp.c (redisplay_window): Re-run pre-redisplay-function after we + move point. + + 2014-10-20 Glenn Morris <rgm@gnu.org> + + * Merge in all changes up to 24.4 release. + + 2014-10-19 Jan Djärv <jan.h.d@swipnet.se> + + * gtkutil.c (xg_update_menubar, xg_update_menu_item): Only call + g_object_notify for label if Gtk+ >= 2.16 (Bug#16522). + + * xterm.h (x_output): Remove net_wm_state_hidden_seen. + + * xterm.c (handle_one_xevent): Check return value from + x_handle_net_wm_state, remove net_wm_state_hidden_seen (Bug#18722). + (get_current_wm_state): Remove net_wm_state_hidden_seen setting. + + * gtkutil.c (create_dialog): Don't use gtk_dialog_get_action_area on + Gt+ >= 3.12, or gtk_misc_set_alignment on Gtk+ >= 3.14 (Bug#18674). + (make_widget_for_menu_item): Don't use gtk_misc_set_alignment on + Gtk+ >= 3.14 (Bug#18674). + (update_frame_tool_bar): Don't use gtk_misc_set_padding on + Gtk+ >= 3.14 (Bug#18674). + + 2014-10-18 Paul Eggert <eggert@cs.ucla.edu> + + * gtkutil.c: Remove no-longer-used code. + (xg_update_menubar): Remove unused local and unnecessary call to + gtk_menu_item_get_submenu. + (XG_TOOL_BAR_PROXY_BUTTON, xg_tool_bar_proxy_callback) + (xg_get_tool_bar_widgets, xg_tool_bar_proxy_help_callback) + (TOOLBAR_TOP_WIDGET): Remove; no longer used. + + 2014-10-18 Jan Djärv <jan.h.d@swipnet.se> + + * xfns.c (syms_of_xfns): Remove x-gtk-whole-detached-tool-bar. + + * xterm.h (handlebox_widget): Remove. + + * xmenu.c (set_frame_menubar): Remove GTK block that calls + xg_have_tear_offs. + + * gtkutil.h (xg_have_tear_offs): Remove declaration. + + * gtkutil.c (XG_TEXT_CANCEL, XG_TEXT_OPEN, XG_TEXT_OK): New defines + to handle Gtk versions. + (xg_get_file_with_chooser): Use them. + (xg_have_tear_offs, tearoff_remove, tearoff_activate): + Remove (create_menus): Remove teroff argument and code. + Remove call to gtk_menu_set_title. + (xg_update_menubar, xg_update_submenu): Remove tearoff code. + Adjust args to create_menus. + (xg_tool_bar_menu_proxy, xg_tool_bar_detach_callback) + (xg_tool_bar_attach_callback, TOOLBAR_TOP_WIDGET): Remove. + (xg_pack_tool_bar): Replace TOOLBAR_TOP_WIDGET, remove detach code. + (xg_make_tool_item): Remove detach code. + (xg_update_tool_bar_sizes): Replace TOOLBAR_TOP_WIDGET. + (find_icon_from_name): New function. + (update_frame_tool_bar): Remove GtkStockItem code, move to + find_icon_from_name. Let stock be a list of icon names to try. + Only use gtk_image_new_from_stock on Gtk+ < 3.10. + Replace TOOLBAR_TOP_WIDGET. + (free_frame_tool_bar, xg_change_toolbar_position ): + Replace TOOLBAR_TOP_WIDGET. + (xg_initialize): Remove tearoff code. + + 2014-10-18 Eli Zaretskii <eliz@gnu.org> + + * xterm.c (x_draw_bar_cursor, x_draw_hollow_cursor): Subtract 1 + pixel from the window's cursor glyph width, since X renders hollow + blocks 1 pixel wider than the 'width' parameter. + + * xdisp.c (get_phys_cursor_geometry): Don't subtract 1 pixel from + glyph->pixel_width; this is now done in xterm.c. + + Fix reordering of bracket characters in isolates. + * bidi.c (bidi_cache_find): Rename the argument NEUTRALS_OK to + RESOLVED_ONLY; when non-zero, return from the cache only fully + resolved states. All callers changed. + (CANONICAL_EQU): New macro. + (PUSH_BPA_STACK): Use it to push onto the BPA stack the canonical + equivalent of the paired closing bracket character. + (bidi_find_bracket_pairs): Set the bracket_pairing_pos member to + the default non-negative value, to be checked later in + bidi_resolve_brackets. Use CANONICAL_EQU to test candidate + characters against those pushed onto the BPA stack. + (bidi_record_type_for_neutral): New function. + (bidi_resolve_brackets): Record next_for_neutral and + prev_for_neutral when embedding level gets pushed. Force + resolution of bracket pairs when entering a level run that was not + yet BPA-resolved. + (bidi_resolve_neutral): Add assertions before calling + bidi_resolve_neutral_1. + (bidi_level_of_next_char): Remove the code that attempted to + resolve unresolved neutrals; that is now done by + bidi_resolve_neutral. + + * w32select.c (owner_callback): Mark with ALIGN_STACK attribute. + + 2014-10-17 Eli Zaretskii <eliz@gnu.org> + + * xterm.c (x_draw_hollow_cursor): Fix display of hollow cursor on + 1-pixel R2L characters. + Reported by Dmitry Antipov <dmantipov@yandex.ru>, see + http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00518.html. + + 2014-10-16 Eli Zaretskii <eliz@gnu.org> + + * bidi.c (bidi_find_bracket_pairs): Avoid a loop that does nothing + useful. + + 2014-10-15 Paul Eggert <eggert@cs.ucla.edu> + + * bidi.c (bidi_find_bracket_pairs): Initialize local var. + This pacifies GCC 4.9.1 with --enable-gcc-warnings. + It's not clear to me whether the initialization is needed, + but it can't hurt so I played it safe. + + 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca> + + * lisp.mk (lisp): Add emacs-lisp/eldoc.elc. + + 2014-10-15 Eli Zaretskii <eliz@gnu.org> + + Update the bidirectional reordering engine for Unicode 6.3 and 7.0. + * bidi.c (bidi_ignore_explicit_marks_for_paragraph_level): + Remove variable. + (bidi_get_type): Return the isolate initiators and terminator types. + (bidi_isolate_fmt_char, bidi_paired_bracket_type) + (bidi_fetch_char_skip_isolates, find_first_strong_char) + (bidi_find_bracket_pairs, bidi_resolve_brackets): New functions. + (bidi_set_sos_type): Rename from bidi_set_sor_type and updated + for the new features. + (bidi_push_embedding_level, bidi_pop_embedding_level): Update to + push and pop correctly for isolates. + (bidi_remember_char): Modify to accept an additional argument + and record the bidi type according to its value. + (bidi_cache_iterator_state): Accept an additional argument to only + update an existing state. Handle the new members of struct bidi_it. + (bidi_cache_find): Arguments changed: no longer accepts a level, + instead accepts a flag telling it whether it is okay to return + unresolved neutrals. + (bidi_initialize): Initiate and staticpro the bracket-type uniprop + table. Initialize new isolate-related members. + (bidi_paragraph_init): Some code factored out into + find_first_strong_char. + (bidi_resolve_explicit_1): Function deleted, its code incorporated + into bidi_resolve_explicit. + (bidi_resolve_explicit): Support the isolate initiators and + terminator. Fix handling of embeddings and overrides according to + new UBA requirements. Record information about previously seen + characters here (moved from bidi_level_of_next_char). + (bidi_resolve_weak): Adapt to changes in struct members. + (FLAG_EMBEDDING_INSIDE, FLAG_OPPOSITE_INSIDE, MAX_BPA_STACK) + (STORE_BRACKET_CHARPOS, PUSH_BPA_STACK): New macros. + (bidi_resolve_neutral): Call bidi_resolve_brackets to handle the + paired bracket resolution. Handle isolate initiators and + terminator. + (bidi_type_of_next_char): Remove unneeded code for BN limit. + (bidi_level_of_next_char): Move the code that records information + about previous characters to bidi_resolve_explicit. Fix logic of + resolving neutrals and make sure their cache entries are updated. + Remove now unneeded special handling of PDF level. + + * dispextern.h (struct glyph): Enlarge the width of resolved_level. + (BIDI_MAXDEPTH): New macro, renamed from BIDI_MAXLEVEL and + enlarged per Unicode 6.3. + (enum bidi_bracket_type_t): New data type. + (struct bidi_saved_info): Leave only 2 type members out of 4. + Remove bytepos. + (struct bidi_stack): Add members necessary to support isolating + sequences. + (struct bidi_it): Add new members necessary to support isolating + sequences and bracket pair resolution. + + * xdisp.c (Fbidi_resolved_levels): New function. + (syms_of_xdisp): Defsubr it. + (append_glyph, append_composite_glyph, produce_image_glyph) + (append_stretch_glyph, append_glyphless_glyph): Convert aborts to + assertions. + (syms_of_xdisp) <inhibit-bidi-mirroring>: New variable. + + * term.c (append_glyph, append_composite_glyph) + (append_glyphless_glyph): Convert aborts to assertions. + + * .gdbinit (pgx): Display the character codepoint, resolved level, + and bidi type also for glyphless glyphs. + + 2014-10-15 Dmitry Antipov <dmantipov@yandex.ru> + + Avoid unwanted point motion in Fline_beginning_position. + * lisp.h (scan_newline_from_point): Add prototype. + * search.c (scan_newline_from_point): New function, refactored from... + * cmds.c (Fforward_line): ...adjusted user. + * editfns.c (Fline_beginning_position): Use scan_newline_from_point + and simplify the former since the latter doesn't move point. + + 2014-10-14 Dmitry Antipov <dmantipov@yandex.ru> + + Cleanup terminal handling code. + * dispextern.h (get_named_tty): Remove prototype but... + * termhooks.h (get_named_terminal): ...resurrect it under + more meaningful name. + (get_terminal): Likewise, but with... + (decode_live_terminal): ...this name. + (decode_tty_terminal): Add prototype. + * term.c (get_tty_terminal): Remove. + (get_named_tty): Remove. + (Ftty_display_color_p, Ftty_display_color_cells, Ftty_type) + (Fcontrolling_tty_p, Fsuspend_tty, Fresume_tty): + Use decode_tty_terminal. + (Ftty_no_underline, Ftty_top_frame): Use decode_live_terminal. + * terminal.c (get_terminal): Refactor to... + (decode_terminal, decode_live_terminal): ...new functions. + (decode_tty_terminal): Replacement for get_tty_terminal. + (get_named_terminal): Likewise for get_named_tty. + * coding.c (Fset_terminal_coding_system_internal) + (Fterminal_coding_system, Fset_keyboard_coding_system_internal): + (Fkeyboard_coding_system): + * composite.c (Fcomposition_get_gstring): + * dispnew.c (Fsend_string_to_terminal): + * frame.c (Fmake_terminal_frame): + * nsfns.m (check_ns_display_info): + * w32fns.c, xfns.c (check_x_display_info): + * xselect.c (frame_for_x_selection): Use decode_live_terminal. + * keyboard.c (handle_interrupt_signal, handle_interrupt) + (Fset_quit_char): Use get_named_terminal. + (Fset_output_flow_control, Fset_input_meta_mode): + Use decode_tty_terminal. + + 2014-10-13 Eli Zaretskii <eliz@gnu.org> + + * w32term.h (ALIGN_STACK): Use _WIN64, not _W64, to distinguish + between 32-bit and 64-bit MinGW builds. (Bug#18699) + + 2014-10-12 Paul Eggert <eggert@cs.ucla.edu> + + Fix port to Debian GNU/kFreeBSD 7 (wheezy) (Bug#18666). + * process.c (accept4) [!HAVE_ACCEPT4]: New macro. + + 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca> + + * frame.c (Fmouse_pixel_position): Call Vmouse_position_function + (bug#18638). + + 2014-10-12 Paul Eggert <eggert@cs.ucla.edu> + + * editfns.c (dump_tz_string): No longer const. + It might be modified. + + * nsmenu.m (clear): Assume OS X 10.6 or later. + + 2014-10-12 Jan Djärv <jan.h.d@swipnet.se> + + * unexmacosx.c: Remove include ppc/reloc.h. + (unrelocate, copy_dysymtab): Remove PPC code. + (rebase_reloc_address): Remove, only used for PPC: + + * nsterm.m: Always include macfont.h on COCOA. + (ns_update_auto_hide_menu_bar, ns_draw_fringe_bitmap) + (ns_dumpglyphs_image, ns_check_menu_open) + (applicationDidFinishLaunching) + (antialiasThresholdDidChange:) + (keyDown:, toggleFullScreen:, setPosition:portion:whole:): + Remove checks for OSX <= 10.5/10.6. + (changeFont:): Use macfont on COCOA, nsfont on GNUSTEP. + (syms_of_nsterm): Call syms_of_macfont on COCOA, syms_of_nsfont on + GNUSTEP. + + * nsterm.h (MAC_OS_X_VERSION_10_4, MAC_OS_X_VERSION_10_5): Remove. + (NS_HAVE_NSINTEGER): Remove block. + Remove >= OSX 10.6 tests. + + * nsmenu.m (NSMenuDidBeginTrackingNotification): Remove. + (x_activate_menubar, trackingNotification:): Remove check for + OSX >= 10.5. + (menuNeedsUpdate:): Remove check for OSX < 10.5. + + * nsimage.m (allocInitFromFile:): Remove code for OSX < 10.6. + + * nsfns.m: Always include macfont.h on COCOA. + (ns_filename_from_panel, ns_directory_from_panel) + (Fx_create_frame, Fns_popup_font_panel, ns_run_file_dialog) + (Fns_read_file_name, Fns_list_services): Remove code for OSX < 10.6 + + * macfont.m: Remove >= 1050 check. + (macfont_create_family_with_symbol) + (macfont_get_glyph_for_character) + (mac_font_get_glyphs_for_variants) + (mac_ctfont_create_available_families, syms_of_macfont): + Remove code for OSX < 10.6. + (mac_font_family_group, mac_font_family_compare): Remove, only used + for OSX < 10.6. + + * macfont.h (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_FORMAT_BITMAP) + (mac_font_copy_non_synthetic_table): Remove versions for OSX < 10.6 + + * Makefile.in: Replace nsfont.o macfont.o with ns_fontfile in + comment. + + 2014-10-12 Paul Eggert <eggert@cs.ucla.edu> + + Fix putenv race conditions with undefined behavior (Bug#8705). + Do all putenv calls before Emacs creates any threads. + Use a safer way to modify the TZ environment variable in the + presence of multiple threads. For further thread-safety, + prefer localtime_r and gmtime_r to localtime and gmtime, + and prefer struct tm's tm_gmtoff (if available) to calling + both localtime_r and gmtime_r. + * dbusbind.c (Fdbus__init_bus): Move xputenv call from here ... + (init_dbusbind): ... to this new function. + * emacs.c (main) [HAVE_DBUS]: Call it before creating threads. + * xterm.c (x_term_init): Move xputenv call from here ... + (init_xterm): ... to this new function. + * emacs.c (main) [USE_GTK]: Call it before creating threads. + * editfns.c (HAVE_TM_GMTOFF): Default to false. + (dump_tz_string): New constant. + (init_editfns): Use it. This centralizes the dump_tz stuff. + Call set_time_zone_rule here, so that its xputenv is done + before Emacs goes multithreaded. + (mktime_z) [!HAVE_TZALLOC]: New function, which is typically + thread-safe enough for Emacs. + (format_time_string, Fdecode_time, Fcurrent_time_string) + (Fcurrent_time_zone): + Prefer localtime_r and gmtime_r, which are more thread-safe, to + localtime and gmtime. Remove now-unnecessary calls to block_input. + (tm_gmtoff): New static function. + (Fdecode_time, Fcurrent_time_zone): Use it. + (Fencode_time): Use mktime_z, for better thread-safety. + (set_time_zone_rule): Now static. Rewrite to be mostly thread-safe, + i.e., not quite thread-safe but good enough for Emacs typical usage. + Do not reclaim storage that is in the environment; let it leak. + Always call tzset, since localtime_r does not. + * emacs.c (dump_tz, Fdump_emacs) [HAVE_TZSET]: Remove dump_tz stuff. + This is now done in init_editfns. + * systime.h (mktime_z, timezone_t, tzalloc, tzfree) [!HAVE_TZALLOC]: + New macros and declarations, for platforms lacking tzalloc & friends. + + 2014-10-09 Paul Eggert <eggert@cs.ucla.edu> + + * lisp.h (USE_STACK_STRING): Now true only if USE_STACK CONS. + On x86 platforms this works around GCC bug 63495 + <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63495>, + and more generally should fix a portability problem in Emacs. + Reported by Stefan Monnier in: + http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00261.html + + 2014-10-08 Leo Liu <sdl.web@gmail.com> + + Enhance terpri to allow conditionally output a newline. (Bug#18652) + * keymap.c (describe_vector_princ): + * keyboard.c (Fcommand_error_default_function): Adapt to change to + Fterpri. + + * print.c (printchar_stdout_last): Declare. + (printchar): Record the last char written to stdout. + (Fterpri): Add optional argument ENSURE. + + 2014-10-08 Eli Zaretskii <eliz@gnu.org> + + * w32inevt.c (maybe_generate_resize_event): Pass non-zero as the + DELAY argument to change_frame_size, so that the frame size + changes, if any are needed, are delayed until the next redisplay. + This is to avoid a too early QUIT inside change_frame_size, when + it calls Lisp in frame_windows_min_size, in case one of the events + we've read sets the quit-flag. (Bug#18649) + + * w32fns.c (check_x_display_info): Accept terminal objects as + argument, to follow what xfns.c does. + + 2014-10-07 Glenn Morris <rgm@gnu.org> + + * Makefile.in ($(srcdir)/macuvs.h) + ($(lispsource)/international/charprop.el): Add explicit FORCE. + + 2014-10-07 Eli Zaretskii <eliz@gnu.org> + + * decompress.c (init_zlib_functions): Move the message about zlib + being unavailable from here... + (Fzlib_decompress_region): ...to here. (Bug#18650) + + 2014-10-07 Dmitry Antipov <dmantipov@yandex.ru> + + * font.c (Ffont_get_glyphs): Use validate_subarray and fix + the case where an optional string is used. Adjust docstring. + + 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * lisp.mk (lisp): Remove w32-common-fns.elc. + + 2014-10-05 Paul Eggert <eggert@cs.ucla.edu> + + * keyboard.c (Qleft, Qright): Remove duplicate definitions (Bug#9927). + These were already defined in buffer.c, and the duplicate + definitions cause problems on platforms like 'gcc -fno-common'. + Reported by Peter Dyballa in: http://bugs.gnu.org/9927#137 + + 2014-10-05 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (updateFrameSize:): Only call update_frame_tool_bar + if toolbar is visible. + + * nsfont.m (nsfont_draw): Use CGFloat for GNUstep newer than + 0.23 (Bug#18030). + + * nsterm.m (syms_of_nsterm): ns-use-fullscreen-animation is new. + (toggleFullScreen:): Use ns-use-fullscreen-animation for animate. + (ns_select, ns_read_socket): Use unwind_protect to decrease + apploopnr (Bug#18345). + (ns_draw_window_cursor): Adjust y for hbar cursor only if smaller than + line height (Bug#17977). + + * macfont.m: Fix indentation and import changes from macport 24.3.94. + (macfont_closest_traits_index): New function. + (macfont_closest_traits_index_p): Rename from + macfont_closest_traits_index. + (macfont_list): Use macfont_closest_traits_index_p. + + 2014-10-05 K. Handa <handa@gnu.org> + + * coding.c (detect_coding_iso_2022): Set coding->rejected + correctly when an invalid escape sequence is found (Bug#18610). + + 2014-10-04 Jan Djärv <jan.h.d@swipnet.se> + + * gtkutil.c (create_menus): Only add tearoffs to empty menus. + (xg_update_submenu): Remove has_tearoff_p, pass 1 to create_menus + for add_tearoff_p. + + 2014-10-04 Martin Rudalics <rudalics@gmx.at> + + * buffer.c (scroll_bar_width, scroll_bar_height): + Fix doc-strings. + * window.c (Fset_window_scroll_bars): Fix doc-string. + (Fwindow_scroll_bars): Have it return what the doc-string says. + + 2014-10-03 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (move_it_by_lines): Call reseat_1 after moving the + iterator backwards, to resync the bidi iterator. (Bug#18584) + + 2014-10-03 Dmitry Antipov <dmantipov@yandex.ru> + + Consistently use min and max macros from lisp.h. + * coding.c (min, max): + * font.c (MAX): + * unexhp9k800.c (min): + * unexw32.c (min, max): Use definitions from lisp.h. + * regex.c (MAX, MIN) [!emacs]: Define own max and min as such. + Adjust users. + * gmalloc.c (min): Tiny style change. + + * fileio.c (emacs_readlinkat, Finsert_file_contents): + * w32fns.c, xfns.c (x_create_tip_frame): Use AUTO_STRING. + + 2014-10-03 Paul Eggert <eggert@cs.ucla.edu> + + Fix x-focus-frame bug with "Not an in-range integer" (Bug#18586). + * xselect.c (X_SHRT_MAX, X_SHRT_MIN, X_LONG_MAX, X_LONG_MIN) + (X_ULONG_MAX): Move these macros to xterm.h. + (x_fill_property_data): Be more generous about allowing either + signed or unsigned data of the appropriate width. + * xterm.h (x_display_set_last_user_time): New function. + All setters of last_user_time changd to use this function. + If ENABLE_CHECKING, check that the times are in range. + + 2014-10-02 Eli Zaretskii <eliz@gnu.org> + + * dispnew.c (adjust_decode_mode_spec_buffer): Use 'int' instead of + 'ssize_t'. Suggested by Paul Eggert <eggert@cs.ucla.edu>. + + 2014-10-02 Jan Djärv <jan.h.d@swipnet.se> + + * xfaces.c (Finternal_set_lisp_face_attribute): Don't try to + make a font_object from a tty frame (Bug#18573). + (Finternal_set_lisp_face_attribute): Add FIXME comment. + + 2014-10-02 Dmitry Antipov <dmantipov@yandex.ru> + + * alloc.c (mark_overlay): Assume that overlay boundaries are + always markers. Add comment. + * lread.c (read_internal_start): Use convenient validate_subarray. + Adjust docstring. + (Fread_from_string): Adjust docstring. + + 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca> + + * lisp.h: Fix up compilation for USE_STACK_LISP_OBJECTS=false. + + * nsselect.m (ns-own-selection-internal, ns-disown-selection-internal): + Rename from the "x-" prefix. + + 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca> + + * xselect.c (selection-converter-alist): Fix docstring. + + 2014-10-01 Eli Zaretskii <eliz@gnu.org> + + * w32proc.c (sys_spawnve): Avoid modification of the CMDNAME + argument passed by the caller, when we mirror all slashes into + backslashes. + + 2014-10-01 Dmitry Antipov <dmantipov@yandex.ru> + + * gtkutil.c (xg_set_toolkit_horizontal_scroll_bar_thumb): + Resurrect old code and fix compilation with GTK < 2.13.6. + + 2014-10-01 Paul Eggert <eggert@cs.ucla.edu> + + Use AUTO_CONS instead of SCOPED_CONS, etc. + * frame.h (AUTO_FRAME_ARG): Rename from FRAME_PARAMETER. + * lisp.h (AUTO_CONS): Rename from scoped_cons. + (AUTO_LIST1): Rename from scoped_list1. + (AUTO_LIST2): Rename from scoped_list2. + (AUTO_LIST3): Rename from scoped_list3. + (AUTO_LIST4): Rename from scoped_list4. + (AUTO_STRING): Rename from SCOPED_STRING. + * frame.h (AUTO_FRAME_ARG): + * lisp.h (AUTO_CONS, AUTO_LIST1, AUTO_LIST2, AUTO_LIST3) + (AUTO_LIST4, AUTO_STRING): + Prepend a new argument 'name'. + Declare a variable instead of yielding a value. + All uses changed. + * lisp.h (STACK_CONS, AUTO_CONS_EXPR): New internal macros. + + 2014-09-30 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (w32_createwindow): Accept an additional argument, an + array of 2 values specifying the coordinates of the frame's + top-left corner. Use these values instead of calling x_get_arg, + which can cons Lisp objects, and therefore cannot be called except + from the main thread. Remove redundant tests for the default + values. + (my_create_window): Move the calculation of the coordinates of the + frame's top-left edge here. Pass them to the input thread via the + second parameter of the WM_EMACS_CREATEWINDOW message. + See http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00892.html + for the details. + + 2014-09-30 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (cursor_row_fully_visible_p): Update commentary. + (redisplay_window): Treat the frame's frozen_window_starts flag + the same way as the optional_new_start flag for the window: only + obey it if the glyph row showing point will be fully visible. + Likewise when the window start is in a continuation line. If, + after trying everything under the 'force_start' label, point is + still not fully visible, give up and scroll the window. + Add debugging traces. (Bug#18545) + + * window.c (Frecenter): Set the window's redisplay flag. + + 2014-09-30 Eli Zaretskii <eliz@gnu.org> + + * w32term.c (w32_read_socket): Don't use frame dimensions for + resizing if GetClientRect returned an empty (0, 0, 0, 0) + rectangle. Check the return value of GetClientRect, and don't use + the results if it didn't succeed. + + * dispnew.c (change_frame_size_1): Recompute the frame dimensions + in columns and lines after correcting the pixel dimensions in + check_frame_size. + (adjust_decode_mode_spec_buffer): Add assertion to avoid passing + negative values to xrealloc. (Bug#18528) + + 2014-09-30 Paul Eggert <eggert@cs.ucla.edu> + + * alloc.c: Remove now-unnecessary check. + Suggested by Dmitry Antipov in: + http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00891.html + + * xterm.c (x_term_init): Allocate temps on stack, not on heap. + + * frame.c (x_set_frame_parameters): Port --enable-gcc-warnings + to Ubuntu 14.04.1 x86-64. + + Simplify stack-allocated Lisp objects, and make them more portable. + The build_local_string macro was used in two ways: (1) string + literals for which scoped allocation suffices, and (2) file name + components, where it's not safe in general to assume bounded-size + ASCII data. Simplify by defining a new macro SCOPED_STRING that + allocates a block-scope string, and by using SCOPED_STRING for (1) + and build_string for (2). Furthermore, actually use stack + allocation only for objects known to have sufficient alignment. + This simpler implementation means Emacs can make + USE_STACK_LISP_OBJECTS the default unless GC_MARK_STACK != + GC_MAKE_GCPROS_NOOPS. + * lisp.h (GCALIGNED): Align even if !USE_STACK_LISP_OBJECTS, + for fewer differences among implementations. + (struct Lisp_String): Now GCALIGNED. + (USE_STACK_LISP_OBJECTS): Default to true, since the + implementation no longer insists on a nonempty GCALIGNED. + But make it false if GC_MARK_STACK != GC_MAKE_GCPROS_NOOPS. + (SCOPED_CONS_INITIALIZER): Remove, since it's no longer needed + separately. Move definiens to scoped_cons. The old definition + was incorrect when GCALIGNED was defined to be empty. + (union Aligned_String): New type. + (USE_STACK_CONS, USE_STACK_STRING): New constants, so that the + implementation ports to compilers that don't align strictly enough. + Don't worry about the union sizes; it's not worth bothering about. + (scoped_cons, scoped_list1, scoped_list3, scoped_list4): + Rewrite using USE_STACK_CONS. + (scoped_cons): Assume the use of union Aligned_Cons. + (lisp_string_size, make_local_string, build_local_string): Remove. + Unless otherwise specified, all callers of build_local_string + changed to use SCOPED_STRING. + (SCOPED_STRING): New macro. + * data.c (wrong_choice): + * menu.c (single_menu_item): + * process.c (Fformat_network_address): + Hoist use of SCOPED_STRING out of a scope, so that its returned + object lives long enough. + * fileio.c (Fexpand_file_name): Use build_string, not SCOPED_STRING, + as the string might be long or might not be ASCII. + + 2014-09-29 Eli Zaretskii <eliz@gnu.org> + + * msdos.c (internal_terminal_init): Bump version to 25. + + 2014-09-29 Dmitry Antipov <dmantipov@yandex.ru> + + Keep stack-allocated Lisp objects fast rather than versatile. + * lisp.h (union Aligned_Cons) [!GCALIGNED]: Define as such. + (SCOPED_CONS_INITIALIZER): New macro. + (scoped_cons) [USE_STACK_LISP_OBJECTS]: Use it. + (USE_LOCAL_ALLOCA): Remove. + (local_cons, local_list1, local_list2, local_list3, local_list4): + Remove. Stack overflow checking makes them too slow. + (make_local_vector): Likewise. Also we just don't have enough + users for it. + (enum LISP_STRING_OVERHEAD): Remove. + (local_string_init, local_vector_init): Remove prototypes. + (make_local_string, build_local_string): Redesign to target short + compile-time string constants, fall back to regular string allocation + where appropriate. + (lisp_string_size): New function. + (verify_ascii) [ENABLE_CHECKING]: Add prototype. + * alloc.c (local_string_init, local_vector_init): Remove. + (verify_ascii) [ENABLE_CHECKING]: New function. + * buffer.c, charset.c, chartab.c, data.c, editfns.c, emacs.c, fileio.c: + * fns.c, font.c, fontset.c, frame.c, keyboard.c, keymap.c, lread.c: + * menu.c, minibuf.c, process.c, textprop.c, xdisp.c, xfns.c, xfont.c: + * xselect.c, xterm.c: All related users changed. + + 2014-09-28 Ken Brown <kbrown@cornell.edu> + + * sheap.c (bss_sbrk_buffer_beg): Remove redundant variable. + * gmalloc.c [CYGWIN]: Adapt to change in sheap.c. + + 2014-09-27 Ken Brown <kbrown@cornell.edu> + + Fix implementation of HYBRID_MALLOC on Cygwin. + * sheap.c (bss_sbrk_buffer_end): Cast to void *. + (bss_sbrk_buffer_beg): New variable. Use it... + * gmalloc.c (ALLOCATED_BEFORE_DUMPING) [CYGWIN]: ...here, to fix + incorrect definition. + + 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (track-mouse): Rename to internal--track-mouse. + Make it into a function and change arg to be a function. + + * lisp.mk (lisp): Add elisp-mode.elc. + + 2014-09-26 Paul Eggert <eggert@cs.ucla.edu> + + * xfns.c (x_default_scroll_bar_color_parameter): + Use USE_LOCAL_ALLOCA only if USE_TOOLKIT_SCROLL_BARS, + to pacify --enable-gcc-warnings in non-scrollbar builds. + + 2014-09-26 Ken Brown <kbrown@cornell.edu> + + * w32term.h (ALIGN_STACK): Fix the cpp condition. + + 2014-09-25 Eli Zaretskii <eliz@gnu.org> + + * lisp.h (USE_STACK_LISP_OBJECTS): Default to false for 32-bit + MinGW builds that use GCC before 4.2. + + Default to stack objects on DOS_NT platforms as well. + * w32term.h (ALIGN_STACK) [__GNUC__]: Define to + __attribute__((force_align_arg_pointer)) for GCC 4.2 and later. + + * lisp.h (USE_STACK_LISP_OBJECTS): Remove the !DOS_NT condition. + + * w32proc.c (enum_locale_fn, enum_codepage_fn): Add the + ALIGN_STACK attribute. + + * w32fns.c (w32_monitor_enum): Add the ALIGN_STACK attribute. + + * w32uniscribe.c (add_opentype_font_name_to_list): Add the + ALIGN_STACK attribute. + + * w32font.c (add_font_name_to_list, add_font_entity_to_list) + (add_one_font_entity_to_list): Add the ALIGN_STACK attribute. + + 2014-09-25 Martin Rudalics <rudalics@gmx.at> + + * frame.c (frame_inhibit_resize): + * widget.c (EmacsFrameResize): + * window.c (resize_frame_windows, Fset_window_configuration): + * xdisp.c (expose_frame): + * xfns.c (x_change_tool_bar_height): + * xmenu.c (update_frame_menubar): + * xterm.c (handle_one_xevent, x_new_font, x_set_window_size_1): + Remove code left dead after 2014-07-27 changes. + + 2014-09-25 Paul Eggert <eggert@cs.ucla.edu> + + Fix local_cons etc. to not exhaust the stack when in a loop. + Problem reported in: + http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00696.html + * buffer.c (Fother_buffer, other_buffer_safely, init_buffer): + * charset.c (load_charset_map_from_file, Ffind_charset_region) + (Ffind_charset_string): + * chartab.c (uniprop_encode_value_numeric, uniprop_table): + * data.c (wrong_range): + * editfns.c (Fpropertize, format2): + * emacs.c (init_cmdargs, decode_env_path): + * fileio.c (auto_save_error): + * fns.c (Fyes_or_no_p): + * font.c (font_style_to_value, font_parse_xlfd) + (font_parse_family_registry, font_delete_unmatched) + (font_add_log): + * fontset.c (Fset_fontset_font): + * frame.c (x_get_arg): + * keyboard.c (echo_dash, safe_run_hooks_error, parse_menu_item) + (read_char_minibuf_menu_prompt): + * keymap.c (silly_event_symbol_error, describe_vector): + * lread.c (load_warn_old_style_backquotes): + * menu.c (single_menu_item): + * minibuf.c (Fread_buffer): + * process.c (status_message, Fformat_network_address) + (server_accept_connection): + * textprop.c (copy_text_properties): + * xdisp.c (Fcurrent_bidi_paragraph_direction): + * xfns.c (x_default_scroll_bar_color_parameter): + * xfont.c (xfont_open): + * xselect.c (x_clipboard_manager_error_1): + * xterm.c (x_term_init): + Put USE_LOCAL_ALLOCA at the start of the function. + * fns.c (maybe_resize_hash_table): Use build_string instead of + build_local_string, since we'd otherwise need a conditional + USE_LOCAL_ALLOCA here, but this is just debugging output and is + not worth the bother of optimization. + * font.c (font_delete_unmatched): Remove by-hand code that + observed MAX_ALLOCA limit, since it's now done automatically. + * keymap.c (Fsingle_key_description): Put USE_SAFE_ALLOCA at top, + since build_local_string needs its sa_alloc. + * lisp.h (lisp_word_count): New function. + (SAFE_ALLOCA_LISP): Use it. + (USE_LOCAL_ALLOCA): New macro. + (local_cons, make_local_vector, make_local_string): + Observe the MAX_ALLOCA limit. + (LISP_STRING_OVERHEAD): New constant. + (make_local_string): Use it. + + 2014-09-24 Paul Eggert <eggert@cs.ucla.edu> + + Default to stack objects on non-GNU/Linux, non-DOS_NT platforms. + * lisp.h (USE_STACK_LISP_OBJECTS): Also default to true + if !defined DOS_NT && !defined GNU_LINUX. I've tested this on AIX + and Solaris and it's likely to work on similar platforms. + + Avoid signed integer overflow when converting Time to ptrdiff_t. + * keyboard.c (INPUT_EVENT_POS_MAX, INPUT_EVENT_POS_MIN): + New macros. + (position_to_Time, Time_to_position): New functions. + (gen_help_event, kbd_buffer_get_event): Use them. + * systime.h (Time) [emacs && !HAVE_X_WINDOWS]: + Go back to plain 'unsigned long', so that 'Time' is the same + for both X and non-X builds; this is less likely to cause surprise. + * termhooks.h: Remove compile-time check that Time and ptrdiff_t + are the same size; this is no longer required. + + * keyboard.c (make_lispy_event): Avoid unnecessary tests + of bit 28 and of whether an unsigned value is negative. + This simplifies the code a bit, and pacifies clang 3.4. + + 2014-09-24 Eli Zaretskii <eliz@gnu.org> + + * systime.h (Time): Define as size_t, to be consistent with 64-bit + Windows builds, where 'long' is a 32-bit type. + + * w32inevt.h (w32_console_mouse_position): Update the argument + types to use 'Time'. + + * w32term.c (w32_mouse_position) + (x_horizontal_scroll_bar_report_motion) + (x_scroll_bar_report_motion): Update the argument types to use + 'Time'. + + 2014-09-24 Dmitry Antipov <dmantipov@yandex.ru> + + * termhooks.h (enum scroll_bar_part): Begin from 0 to allow... + (struct input_event): ...unsigned bitfields. Likewise for + `event_kind' member. Prefer unsigned for `code' and 'modifiers'. + Use `timestamp' for HELP_EVENT position. Add compile-time assert. + * keyboard.c (gen_help_event, kbd_buffer_store_help_event) + (kbd_buffer_get_event): Adjust users. + (scroll_bar_parts): Add Qnil to match scroll_bar_nowhere. + (make_scroll_bar_position): New function, refactored out of... + (make_lispy_event): ...adjusted user. + * nsterm.h (EmacsScroller): Use enum for `last_hit_part' member. + * nsterm.m (ns_mouse_position, mouseUp): + * term.c (term_mouse_position): + * w32inevt.c (w32_console_mouse_position): + * w32term.c (w32_mouse_position): + * xterm.c (XTmouse_position): Use scroll_bar_above_handle. + (x_send_scroll_bar_event, xm_scroll_callback, xg_scroll_callback): + Prefer enum and explicit enum members to integers and numeric values. + + * chartab.c (uniprop_encode_value_numeric): + * font.c (font_style_to_value): Use make_local_vector. + (font_delete_unmatched): Use local_cons but respect MAX_ALLOCA. + * keymap.c (append_key): Use scoped_list1. + + * lisp.h (USE_STACK_LISP_OBJECTS): Enable by default if GNU_LINUX + && __GNUC__ && !__clang__. Mention known problems. Adjust comment. + + 2014-09-24 Paul Eggert <eggert@cs.ucla.edu> + + Fix some slow uses and misuses of strcat. + * doc.c (get_doc_string): + * gtkutil.c (get_utf8_string): + * xsmfns.c (x_session_initialize): + Avoid recomputation of string length. + * ftfont.c (ftfont_spec_pattern): + * xfns.c (xic_create_fontsetname): + Don't assume output buffer is initially zero. + + 2014-09-23 Paul Eggert <eggert@cs.ucla.edu> + + * lisp.h (lispstpcpy): Rename from lispstrcpy, and act like stpcpy. + All callers changed. + * xterm.c (x_term_init): Use new functionality to avoid two needs + to compute a string length. + + * dispextern.h, xdisp.c (window_box_right_offset): Now static. + + 2014-09-23 Dmitry Antipov <dmantipov@yandex.ru> + + Use known length of a Lisp string to copy it faster. + * lisp.h (lispstrcpy): New function. Add comment. + * callproc.c (child_setup): + * dbusbind.c (xd_append_arg): + * doc.c (get_doc_string): + * font.c (Ffont_xlfd_name): + * frame.c (xrdb_get_resource): + * process.c (Fmake_network_process, network_interface_info): + * w32fns.c (Fx_open_connection): + * w32proc.c (sys_spawnve): + * xfns.c (select_visual): + * xfont.c (xfont_list): + * xsmfns.c (x_session_initialize): + * xterm.c (x_term_init): Use it. + + 2014-09-23 Paul Eggert <eggert@cs.ucla.edu> + + Fix SAFE_ALLOCA to not exhaust the stack when in a loop. + Reported by Dmitry Antipov in thread leading to: + http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00713.html + This patch fixes only SAFE_ALLOCA, SAFE_NALLOCA, and SAFE_ALLOCA_LISP; + the experimental local_* macros enabled by USE_LOCAL_ALLOCATORS + remain unfixed. + * callproc.c (call_process): Save and restore sa_avail. + * lisp.h (USE_SAFE_ALLOCA): Define sa_avail. + (AVAIL_ALLOCA): New macro. + (SAFE_ALLOCA, SAFE_NALLOCA, SAFE_ALLOCA_LISP): + Use it, and check against sa_avail rather than MAX_ALLOCA. + + 2014-09-22 Dmitry Antipov <dmantipov@yandex.ru> + + On OSX, do not free font-specific data more than once (Bug#18501). + * macfont.m (macfont_close): Release and free font-specific data + only if it wasn't previously freed. + + 2014-09-22 David Caldwell <david@porkrind.org> (tiny change) + + * unexmacosx.c (dump_it): Improve error message. + + 2014-09-22 Juri Linkov <juri@jurta.org> + + * image.c (imagemagick_load_image): Add delay to imagemagick metadata. + (Bug#10747, bug#18334) + + 2014-09-22 Eli Zaretskii <eliz@gnu.org> + + * frame.c (Fmouse_position, Fset_mouse_position): Clarify the + units in which the position is measured. (Bug#18493) + + * xdisp.c (redisplay_internal): Force redisplay of all windows + that show a buffer whose narrowing has changed. (Bug#18490) + + 2014-09-22 Eli Zaretskii <eliz@gnu.org> + + * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor): + * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor): In R2L + lines, draw the hollow-box and hbar cursors on the right side of + cursor-glyph. Thanks to martin rudalics <rudalics@gmx.at> for + testing on X. + + * xterm.c (x_draw_stretch_glyph_string): + * w32term.c (x_draw_stretch_glyph_string): Fix a thinko that + caused the block cursor to disappear on a TAB in R2L lines in + every window except the leftmost one. Reported by Martin Rudalics + <rudalics@gmx.at>. + + 2014-09-22 Dmitry Antipov <dmantipov@yandex.ru> + + Always use matched specpdl entry to record call arguments (Bug#18473). + * lisp.h (record_in_backtrace): Adjust prototype. + * eval.c (record_in_backtrace): Return current specpdl level. + (set_backtrace_args, set_backtrace_nargs): Merge. Adjust all users. + (eval_sub, Ffuncall): Record call arguments in matched specpdl + entry and use that entry in call to backtrace_debug_on_exit. + (apply_lambda): Likewise. Get current specpdl level as 3rd arg. + (do_debug_on_call): Get current specpdl level as 2nd arg. + + Prefer ptrdiff_t to int and avoid integer overflows. + * fileio.c (make_temp_name): + * font.c (font_parse_family_registry): Avoid integer + overflow on string size calculation. + * data.c (Faset): Likewise for byte index. + + 2014-09-22 Eli Zaretskii <eliz@gnu.org> + + Fix display of R2L lines in partial-width windows. + * xdisp.c (init_iterator): Don't use it->bidi_p before it is + assigned the correct value. + (extend_face_to_end_of_line): Account for truncation and + continuation glyphs in R2L rows when one of the fringes is not + displayed. + (display_line): Don't assign negative X offset to a row if we are + going to produce a truncation glyph for it. When handling + truncated R2L rows, consider the width of the left fringe instead + of the right one. + (produce_special_glyphs): Fix bogus assignments. + + 2014-09-22 Eli Zaretskii <eliz@gnu.org> + + * fileio.c (Fexpand_file_name) [DOS_NT]: Make sure newdirlim is + always set to a valid value. Make sure the size passed to alloca + is always positive. (Bug#18516) + + 2014-09-22 Dmitry Antipov <dmantipov@yandex.ru> + + Avoid extra call to oblookup when interning symbols. + * lisp.h (intern_driver): Add prototype. + * lread.c (intern_driver): New function. + (intern1, intern_c_string_1, Fintern): + * font.c (font_intern_prop): + * w32font.c (intern_font_name): Use it. + + 2014-09-21 Paul Eggert <eggert@cs.ucla.edu> + + Minor improvements to new stack-allocated Lisp objects. + * frame.h (FRAME_PARAMETER): + Prefer scoped_list1 to local_list1 where either would do. + * lisp.h (scoped_list4): New macro. + (local_cons, local_list1, local_list2, local_list3, local_list4) + (make_local_vector, make_local_string, build_local_string): + Prefer functions to macros where either would do. + * xdisp.c (build_desired_tool_bar_string): + Prefer scoped_list4 to local_list4 where either would do. + + 2014-09-18 Dmitry Antipov <dmantipov@yandex.ru> + + More and more stack-allocated Lisp objects if USE_LOCAL_ALLOCATORS. + * lisp.h (local_list4) [USE_LOCAL_ALLOCATORS]: New macro. + [!USE_LOCAL_ALLOCATORS]: Fall back to regular list4. + * frame.h (FRAME_PARAMETER): New macro. + * dispnew.c (init_display): + * fontset.c (Fset_fontset_font): + * frame.c (x_default_parameter): + * xfaces.c (set_font_frame_param, Finternal_merge_in_global_face): + * xfns.c (x_default_scroll_bar_color_parameter) + (x_default_font_parameter, x_create_tip_frame): Use it. + * editfns.c (Fpropertize): Use local_cons. + * process.c (status_message): Use build_local_string. + * xfont.c (xfont_open): Use make_local_string. + * xdisp.c (build_desired_tool_bar_string): Use local_list4. + + 2014-09-18 Paul Eggert <eggert@cs.ucla.edu> + + Port USE_LOCAL_ALLOCATORS code to clang 3.4 x86-64. + * lisp.h (USE_LOCAL_ALLOCATORS): Define only if __GNUC__ && + !__clang__. This works with GCC and with clang and is safer for + compilers we don't know about. + (local_cons): Rename parameter to make capture less likely. + + 2014-09-17 Samuel Bronson <naesten@gmail.com> + + * unexmacosx.c (copy_data_segment): Port to GCC 4.6+ (Bug#9927). + + 2014-09-17 Paul Eggert <eggert@cs.ucla.edu> + + Fix minor problems found by static checking. + * alloc.c, lisp.h (SAVE_TYPE_INT_OBJ, make_save_int_obj): + Remove; now unused. + * buffer.h (decode_buffer): Doc and indentation fixes. + * fns.c (Qstring_collate_lessp, Qstring_collate_equalp): Now static. + + 2014-09-17 Dmitry Antipov <dmantipov@yandex.ru> + + Avoid clang-specific warnings. + * buffer.c (init_buffer): Shut up -Wself-assign. + * process.c (server_accept_connection): Shut up -Wunsequenced. + + 2014-09-16 Daniel Colascione <dancol@dancol.org> + + * fns.c (sxhash): For symbols, use address as hash code. + + 2014-09-16 Dmitry Antipov <dmantipov@yandex.ru> + + If USE_LOCAL_ALLOCATORS, allocate even more Lisp objects on stack. + * charset.c (load_charset_map_from_file): Use scoped_list2 + and build_local_string. + * buffer.c (Fother_buffer, other_buffer_safely, init_buffer): + * emacs.c (init_cmdargs, decode_env_path): + * fileio.c (Fexpand_file_name): + * fns.c (maybe_resize_hash_table) [ENABLE_CHECKING]: + * frame.c (x_get_arg): + * keyboard.c (safe_run_hooks_error): + * lread.c (load_warn_old_style_backquotes): + * xdisp.c (Fcurrent_bidi_paragraph_direction): + * xfns.c (x_default_scroll_bar_color_parameter, select_visual): + * xselect.c (x_clipboard_manager_error_1) + (x_clipboard_manager_save_all): + * xterm.c (x_term_init): Use build_local_string. + + Avoid more integer overflows on string size calculations. + * category.c (Fmake_category_set): + * xdisp.c (get_overlay_arrow_glyph_row): + * w32font.c (intern_font_name): Prefer ptrdiff_t to int. + + 2014-09-15 Eli Zaretskii <eliz@gnu.org> + + * sound.c [WINDOWSNT]: Include w32common.h and mbstring.h. + (SOUND_WARNING) [WINDOWSNT]: Include in do..while and improve the + error message format. Use message_with_string to have non-ASCII + file names properly displayed. + (do_play_sound) [WINDOWSNT]: Use Unicode APIs to play sound files + when w32-unicode-filenames is non-nil, but not on Windows 9X, + where these APIs are not available even in UNICOWS.DLL. + Improve the format of error messages and include the file name in them + where appropriate. + (Fplay_sound_internal) [WINDOWSNT]: Make the MS-Windows branch + call play-sound-functions, per documentation. + + * w32.c (w32_get_long_filename, w32_get_short_filename): + Constify the input file name arguments. + + * w32.h (w32_get_long_filename, w32_get_short_filename): + Update prototypes. + + 2014-09-15 Dmitry Antipov <dmantipov@yandex.ru> + + If USE_LOCAL_ALLOCATORS, allocate some Lisp objects on stack. + * lisp.h (local_cons, local_list1, local_list2, local_list3) + [USE_LOCAL_ALLOCATORS]: New macros. + [!USE_LOCAL_ALLOCATORS]: Fall back to regular functions. + (build_local_string): Avoid argument name expansion clash with + make_local_string. + * alloc.c (toplevel) + [USE_LOCAL_ALLOCATORS && GC_MARK_STACK != GC_MAKE_GCPROS_NOOPS]: + Preprocessor guard to avoid impossible configuration. + * charset.c (Ffind_charset_region, Ffind_charset_string): + Use make_local_vector. + * lread.c (read1, substitute_object_recurse): Use scoped_cons. + * textprop.c (Fput_text_property, Fadd_face_text_property): + Use scoped_list2. + (copy_text_properties): Use local_cons and local_list3. + * chartab.c (uniprop_table): + * data.c (wrong_choice, wrong_range): + * doc.c (get_doc_string): + * editfns.c (format2): + * fileio.c (Fexpand_file_name, auto_save_error): + * fns.c (Fyes_or_no_p): + * font.c (font_parse_xlfd, font_parse_family_registry, font_add_log): + * fontset.c (Fset_fontset_font): + * keyboard.c (echo_add_key, echo_dash, parse_menu_item) + (read_char_minibuf_menu_prompt): + * keymap.c (silly_event_symbol_error, describe_vector): + * menu.c (single_menu_item): + * minibuf.c (Fread_buffer): + * process.c (status_message, Fformat_network_address) + (server_accept_connection): Use make_local_string and + build_local_string. Prefer compound literals where appropriate. + + 2014-09-15 Daniel Colascione <dancol@dancol.org> + + * fns.c (Fsort): Tweak sort docstring. + + 2014-09-15 Eli Zaretskii <eliz@gnu.org> + + * w32.c (fcntl): Support O_NONBLOCK fcntl on the write side of pipes. + (sys_write): When a write to a non-blocking pipe returns ENOSPC, + set errno to EAGAIN instead, to allow the caller to retry the + write after some waiting. Fixes deadlocks when Emacs exchanges a + lot of data through the pipe. (Bug#18420) + + * sound.c (Fplay_sound_internal): Encode the sound file name in + the ANSI codepage. Expand it against data-directory, as per docs, + not against the current directory. No need to make a local copy + of the file name; pass the encoded file name directly to + do_play_sound. (Bug#18463) + + * w32.c (ansi_encode_filename): If w32_get_short_filename returns + NULL, and the file name is not encodable in ANSI codepage, return + the string with "?" replacement characters, which will fail the + caller. This avoids returning a random value in that case. + + 2014-09-15 Martin Rudalics <rudalics@gmx.at> + + * window.c (Fresize_mini_window_internal): Set w->total_lines + from w->pixel_height (Bug#18422). + + 2014-09-15 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (updateFrameSize:, initFrameFromEmacs:) + (toggleFullScreen:): Take frame_resize_pixelwise into account when + setting resize increments (Bug#18435). + + 2014-09-15 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (pos_visible_p): Properly save and restore the iterator + state around the call to line_bottom, since it can move the + iterator to another screen line. This fixes off-by-one errors in + the reported row in some rare cases. + + 2014-09-14 Jan Djärv <jan.h.d@swipnet.se> + + * callproc.c (init_callproc): Fix bug introduced at + 2014-09-07 (Bug#18474). + + 2014-09-13 Dmitry Antipov <dmantipov@yandex.ru> + + Prefer ptrdiff_t to int and avoid integer overflows. + * fileio.c (make_temp_name): + * font.c (font_parse_family_registry): Avoid integer + overflow on string size calculation. + * data.c (Faset): Likewise for byte index. + + 2014-09-12 Detlev Zundel <dzu@member.fsf.org> + + * buffer.c (syms_of_buffer): DEFSYM Qchoice (Bug#18337). + + 2014-09-11 Dmitry Antipov <dmantipov@yandex.ru> + + * lisp.h (make_local_string): Nitpick indent. + * print.c (Fprin1_to_string): Remove unused GCPROs. + + More debugging aids around GCPROs. + * lisp.h (struct gcpro) [DEBUG_GCPRO]: Add extra members. + (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6, GCPRO7): + Minor restyle. If DEBUG_GCPRO, initialize extra fields. + + * lread.c (readevalloop_eager_expand_eval): Add GCPRO and fix + bootstrap broken if GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE. + + Remove redundant GCPROs around Ffuncall and Fapply calls. + This is safe because Ffuncall protects all of its arguments by itself. + * charset.c (map_charset_for_dump): Remove redundant GCPRO. + * eval.c (Fapply, apply1, call0, call1, call2, call3, call4, call5) + (call6, call7): Likewise. Use compound literals where applicable. + (run_hook_with_args_2): Use compound literal. + + 2014-09-11 Paul Eggert <eggert@cs.ucla.edu> + + Pacify --enable-gcc-warnings when no window system is used. + These warnings found that subscript error, so they seem worthwhile. + * composite.c (char_composable_p): Simplify a bit. + * frame.c (x_set_frame_parameters): Add an IF_LINT. + * frame.c (x_set_horizontal_scroll_bars, x_set_scroll_bar_height): + * frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS): + * window.c (set_window_scroll_bars): + Use USE_HORIZONTAL_SCROLL_BARS for simplicity. + * frame.h [! USE_HORIZONTAL_SCROLL_BARS]: + Ignore -Wsuggest-attribute=const. + * window.h (USE_HORIZONTAL_SCROLL_BARS): New macro. + (WINDOW_HAS_HORIZONTAL_SCROLL_BAR): Use it. + + 2014-09-10 Paul Eggert <eggert@penguin.cs.ucla.edu> + + * charset.c (Fget_unused_iso_final_char): Fix subscript error. + Use check_iso_charset_parameter instead of doing the checks by hand. + (check_iso_charset_parameter): Move up. Check parameters a bit + more carefully, and return true for 96-char sets. All callers changed. + + 2014-09-10 Paul Eggert <eggert@cs.ucla.edu> + + Simplify lisp.h by removing the __COUNTER__ business. + Reported by Dmitry Antipov in: + http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00220.html + * lisp.h (make_local_vector, make_local_string) + (build_local_string): Simplify by not bothering with __COUNTER__. + The __COUNTER__ business wasn't working properly, and was needed + only for hypothetical future expansion anyway. + + 2014-09-10 Alp Aker <alp.tekin.aker@gmail.com> + + * nsterm.m (ns_draw_fringe_bitmap): Use the same logic as other + terms to determine bitmap color. (Bug#18437) + + 2014-09-10 Eli Zaretskii <eliz@gnu.org> + + * w32.c (sys_write): Use SAFE_NALLOCA for the NL -> CRLF + translation buffer. + + 2014-09-10 Paul Eggert <eggert@cs.ucla.edu> + + * xterm.c (handle_one_xevent): Add braces to pacify gcc -Wall. + + 2014-09-10 Jan Djärv <jan.h.d@swipnet.se> + + * xterm.c (handle_one_xevent): Detect iconified by looking at + _NET_WM_STATE_HIDDEN. + + 2014-09-10 Paul Eggert <eggert@cs.ucla.edu> + + * lisp.h (DEFINE_GDB_SYMBOL_ENUM): Remove. + These can generate a constant with the correct value but the wrong + width, which doesn't work as a printf argument. All uses removed. + Reported by Dmitry Antipov in: + http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00213.html + (ENUMABLE): Remove; no longer needed. + (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): + Remove; no longer needed because of the above change. + Each definiens moved to the only use. + + Improve the experimental local and scoped allocation. + * alloc.c (local_string_init, local_vector_init): + New functions, defined if USE_LOCAL_ALLOCATORS. + Mostly, these are moved here from lisp.h, as it's not + clear it's worth making them inline. + * lisp.h (USE_STACK_LISP_OBJECTS): Default to false. + (GCALIGNED): Depend on HAVE_STRUCT_ATTRIBUTE_ALIGNED and + USE_STACK_LISP_OBJECTS, not on a laundry list. + (local_string_init, local_vector_init): New decls. + (union Aligned_Cons): New type. + (scoped_cons): Use it. Give up on the char trick, as it's a too + much of a maintenance hassle; if someone wants this speedup + they'll just need to convince their compiler to align properly. + Conversely, use the speedup if struct Lisp_Cons happens to + be aligned even without a directive. Better yet, help it along + by using union Aligned_Cons rather than struct Lisp_Cons. + (pointer_valid_for_lisp_object): Remove. This check is not + necessary, since make_lisp_ptr is already doing it. All uses removed. + (local_vector_init, local_string_init): Move to alloc.c. + (build_local_vector): Remove this awkward macro, replacing with ... + (make_local_vector): New macro, which acts more like a function. + Use statement expressions and use __COUNTER__ to avoid macro + capture. Fall back on functions if these features are not supported. + (build_local_string, make_local_string): Likewise. + + 2014-09-09 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.c (x_term_init): Consolidate duplicated code. + [USE_LUCID]: Revert 2014-04-02 change (Bug#18403). Add comment. + (x_delete_terminal): Do not close X connection fd (Bug#18403). + Add eassert and mark dpyinfo as dead only if it was alive. + + Add macros to allocate temporary Lisp objects with alloca. + Respect MAX_ALLOCA and fall back to regular GC for large objects. + * character.h (parse_str_as_multibyte): Move prototype to ... + * lisp.h (parse_str_as_multibyte): ... here. + (struct Lisp_Cons): Add GCALIGNED attribute if supported. + (scoped_cons, scoped_list2, build_local_vector, build_local_string): + New macros. + (scoped_cons_init, pointer_valid_for_lisp_object, local_vector_init) + (local_string_init): New functions. + * alloc.c (verify_alloca) [ENABLE_CHECKING]: New function. + (init_alloc_once): Call it. + + Cleanup last change and make all new stuff conditional. + * lisp.h (build_local_string): Rename to ... + (make_local_string): ... this macro. + (build_local_string, scoped_list1, scoped_list3): New macros. + (toplevel) [USE_STACK_LISP_OBJECTS]: Define all new macros + and functions as such, use regular fallbacks otherwise. + * alloc.c (verify_alloca) [USE_STACK_LISP_OBJECTS]: Define + conditionally. + + 2014-09-08 Eli Zaretskii <eliz@gnu.org> + + * dispnew.c (prepare_desired_row): When MODE_LINE_P is zero, + always make sure the marginal areas of the row are in sync with + what the window wants. (Bug#18419) + + * data.c (set_internal): Use assq_no_quit, not Fassq, to find an + existing binding of a variable, to avoid silently aborting + commands that use specbind. (Bug#18331) + + 2014-09-07 Paul Eggert <eggert@cs.ucla.edu> + + Fix bug uncovered by changing alloca to auto buffer (Bug#18410). + * coding.c (growable_destination): New function. + (produce_chars): Use it for sanity checks. Do not fiddle with + dst_end if the source and destination are both nil, as it's + the caller's responsibility to avoid overlap. + * keyboard.c (read_decoded_event_from_main_queue): + The destination must be MAX_MULTIBYTE_LENGTH times the max source + length, not 4 times, to prevent decode_coding_c_string from trying + to reallocate a destination. This removes the need for the FIXME. + + * callproc.c (exec_failed) [DOS_NT]: Define a dummy. + All callers simplified. Add a comment about exec_failed, vfork, + and alloca. + + Adjust drag-and-drop fix when window is above top (Bug#18303). + * xselect.c (x_fill_property_data): Don't let sign bit of negative + XCDR bleed into XCAR's encoded value. Improve checks for + out-of-range data while we're at it. + + 2014-09-07 Jan Djärv <jan.h.d@swipnet.se> + + * xselect.c (x_fill_property_data): Handle negative XCDR when data + is CONSP (Bug#18303). + + 2014-09-07 Eli Zaretskii <eliz@gnu.org> + + * callproc.c (child_setup) [WINDOWSNT]: Don't call exec_failed if + 'alloca' gets passed arguments larger than MAX_ALLOCA. + + * font.c (MAX): Define if not defined elsewhere. + + 2014-09-07 Paul Eggert <eggert@cs.ucla.edu> + + * keyboard.c (read_decoded_event_from_main_queue): Reinstitute alloca + here for destination buffer, to work around what appears to be a + bug in decode_coding_c_string when the source and destination are + both C strings. + + Use SAFE_ALLOCA etc. to avoid unbounded stack allocation (Bug#18410). + This follows up on the recent thread in emacs-devel on alloca; see: + http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00042.html + This patch also cleans up alloca-related glitches noted while + examining the code looking for unbounded alloca. + * alloc.c (listn): + * callproc.c (init_callproc): + Rewrite to avoid need for alloca. + * buffer.c (mouse_face_overlay_overlaps) + (report_overlay_modification): + * buffer.h (GET_OVERLAYS_AT): + * coding.c (make_subsidiaries): + * doc.c (Fsnarf_documentation): + * editfns.c (Fuser_full_name): + * fileio.c (Ffile_name_directory, Fexpand_file_name) + (search_embedded_absfilename, Fsubstitute_in_file_name): + * fns.c (Fmake_hash_table): + * font.c (font_vconcat_entity_vectors, font_update_drivers): + * fontset.c (fontset_pattern_regexp, Ffontset_info): + * frame.c (Fmake_terminal_frame, x_set_frame_parameters) + (xrdb_get_resource, x_get_resource_string): + * ftfont.c (ftfont_get_charset, ftfont_check_otf, ftfont_drive_otf): + * ftxfont.c (ftxfont_draw): + * image.c (xbm_load, xpm_load, jpeg_load_body): + * keyboard.c (echo_add_key, menu_bar_items, tool_bar_items) + + * keymap.c (Fdescribe_buffer_bindings, describe_map): + * lread.c (openp): + * menu.c (digest_single_submenu, find_and_call_menu_selection) + (find_and_return_menu_selection): + * print.c (PRINTFINISH): + * process.c (Fformat_network_address): + * scroll.c (do_scrolling, do_direct_scrolling, scrolling_1): + * search.c (search_buffer, Fmatch_data, Fregexp_quote): + * sound.c (wav_play, au_play): + * syntax.c (skip_chars): + * term.c (tty_menu_activate, tty_menu_show): + * textprop.c (get_char_property_and_overlay): + * window.c (Fset_window_configuration): + * xdisp.c (safe__call, next_overlay_change, vmessage) + (compute_overhangs_and_x, draw_glyphs, note_mouse_highlight): + * xfaces.c (face_at_buffer_position): + * xmenu.c (x_menu_show): + Use SAFE_ALLOCA etc. instead of plain alloca, since the + allocation size isn't bounded. + * callint.c (Fcall_interactively): Redo memory_full check + so that it can be done at compile-time on some platforms. + * coding.c (MAX_LOOKUP_MAX): New constant. + (get_translation_table): Use it. + * callproc.c (call_process): Use SAFE_NALLOCA instead of + SAFE_ALLOCA, to catch integer overflows on size calculation. + (exec_failed) [!DOS_NT]: New function. + (child_setup) [!DOS_NT]: Use it. + * editfns.c (Ftranspose_regions): + Hoist USE_SAFE_ALLOC + SAFE_FREE out of 'if'. + * editfns.c (check_translation): + Allocate larger buffers on the heap. + * eval.c (internal_lisp_condition_case): + Check for MAX_ALLOCA overflow. + * fns.c (sort_vector): Use SAFE_ALLOCA_LISP rather than Fmake_vector. + (Fbase64_encode_region, Fbase64_decode_region): + Avoid unnecessary calls to SAFE_FREE before 'error'. + * buffer.c (mouse_face_overlay_overlaps): + * editfns.c (Fget_pos_property, check_translation): + * eval.c (Ffuncall): + * font.c (font_unparse_xlfd, font_find_for_lface): + * ftfont.c (ftfont_drive_otf): + * keyboard.c (echo_add_key, read_decoded_event_from_main_queue) + (menu_bar_items, tool_bar_items): + * sound.c (Fplay_sound_internal): + * xdisp.c (load_overlay_strings, dump_glyph_row): + Use an ordinary auto buffer rather than alloca, since the + allocation size is fixed and small. + * ftfont.c: Include <c-strcase.h>. + (matching_prefix): New function. + (get_adstyle_property): Use it, to avoid need for alloca. + * keyboard.c (echo_add_key): + * keymap.c (describe_map): Use ptrdiff_t, not int. + * keyboard.c (echo_add_key): Prefer sizeof to strlen. + * keymap.c (Fdescribe_buffer_bindings): Use SBYTES, not SCHARS, + when counting bytes. + * lisp.h (xlispstrdupa): Remove, replacing with ... + (SAFE_ALLOCA_STRING): ... new macro with different API. + This fixes a portability problem, namely, alloca result + passed to another function. All uses changed. + (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Check for MAX_ALLOCA, + not MAX_ALLOCA - 1. + * regex.c (REGEX_USE_SAFE_ALLOCA, REGEX_SAFE_FREE) + (REGEX_ALLOCATE): New macros. + (REGEX_REALLOCATE, REGEX_ALLOCATE_STACK, REGEX_REALLOCATE_STACK) + (REGEX_FREE_STACK, FREE_VARIABLES, re_match_2_internal): + Use them. + * xdisp.c (message3): Use SAFE_ALLOCA_STRING rather than doing it + by hand. + (decode_mode_spec_coding): Store directly into buf rather than + into an alloca temporary and copying the temporary to the buf. + + 2014-09-06 Eli Zaretskii <eliz@gnu.org> + + * Makefile.in (EMACS_HEAPSIZE): Remove, no longer used. (Bug#18416) + + 2014-09-04 Jan D <jan.h.d@swipnet.se> + + * xterm.c (x_term_init): Don't call x_session_initialize if running + as a daemon (Bug#18375). + + * xsmfns.c: Initialize ice_fd. + + 2014-09-04 Paul Eggert <eggert@cs.ucla.edu> + + Less chatter in 'make' output. + * Makefile.in (AM_V_GEN, am__v_GEN_, am__v_GEN_0, am__v_GEN_1, AM_V_at) + (am__v_at_, am__v_at_0, am__v_at_1): New macros, taken from Automake. + ($(etc)/DOC, buildobj.h, gl-stamp): Use them. + + 2014-09-03 Martin Rudalics <rudalics@gmx.at> + + * buffer.c (scroll-bar-height): Fix typo in doc-string. + * frame.c (Vdefault_frame_horizontal_scroll_bars): + Remove variable. + * nsfns.m (Fx_create_frame): + * w32fns.c (Fx_create_frame): + * xfns.c (Fx_create_frame): Default horizontal scroll bars to + nil. + + 2014-09-03 Eli Zaretskii <eliz@gnu.org> + + * dispnew.c (buffer_posn_from_coords): Fix an off-by-one error in + the reported row in the case of a window with a header line, by + improving on the fix committed in 2011-10-08T10:58:50Z!eliz@gnu.org + eliz@gnu.org-20111008105850-ht4tvsayohvr1kjc. (Bug#18384) + + 2014-09-03 Paul Eggert <eggert@cs.ucla.edu> + + * eval.c (internal_lisp_condition_case): Don't overrun the stack + when configured --with-wide-int on typical 32-bit platforms. + + 2014-09-03 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (display_and_set_cursor): Call erase_phys_cursor also + when HPOS is negative, for the benefit of R2L glyph rows whose + newline overflows into the fringe. + + 2014-09-03 Ken Brown <kbrown@cornell.edu> + + * conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define. (Bug#18366) + + 2014-09-02 Paul Eggert <eggert@cs.ucla.edu> + + Minor cleanup of recent strlen-avoiding patch. + * fileio.c (CHECK_LENGTH): Remove. + Rewrite callers so that they don't need it. + (Fexpand_file_name) [DOS_NT]: Fix a case where directory length + variable wasn't set. + + 2014-09-02 Dmitry Antipov <dmantipov@yandex.ru> + + * fileio.c (CHECK_LENGTH): New macro. + (Fexpand_file_name): Use it and get rid of a few more calls + to strlen and strcat. + * callproc.c (egetenv_internal): Add arg and rename from egetenv ... + * lisp.h (egetenv): ... because of a new inline function used to + avoid calls to strlen for a compile-time constants. + + * buffer.h (decode_buffer): New function. + * buffer.c (Fbuffer_name, Fbuffer_file_name, Fbuffer_base_buffer) + (Fbuffer_local_variables, Fbuffer_modified_p, Fbuffer_modified_tick) + (Fbuffer_chars_modified_tick, Fdelete_all_overlays): + * data.c (Flocal_variables_p): + * fileio.c (Fverify_visited_file_modtime): + * marker.c (live_buffer): Use it. + + 2014-09-01 Dmitry Antipov <dmantipov@yandex.ru> + + Avoid extra calls to strlen in filesystem I/O routines. + * fileio.c (Fexpand_file_name): Avoid calls to strlen if + the length of 'newdir' is known or may be precalculated. + (file_accessible_directory_p): Prefer to pass Lisp_Object, + not 'char *', and so use precalculated length. + (Ffile_accessible_directory_p): + * callproc.c (encode_current_directory, init_callproc): + * charset.c (init_charset): + * lread.c (load_path_check, load_path_default): Adjust users. + * lisp.h (file_accessible_directory_p): Tweak prototype. + + 2014-09-01 Eli Zaretskii <eliz@gnu.org> + + * w32proc.c (w32_compare_strings): Support "C" and "POSIX" + locales. + + 2014-09-01 Paul Eggert <eggert@cs.ucla.edu> + + --enable-silent-rules now suppresses more chatter. + * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_CC, am__v_CC_) + (am__v_CC_0, am__v_CC_1, AM_V_CCLD, am__v_CCLD_, am__v_CCLD_0) + (am__v_CCLD_1): New macros, taken from Automake. + (.c.o, .m.o, temacs$(EXEEXT)): Use them. + + Clean up extern decls a bit. + * bytecode.c: Include blockinput.h and keyboard.h rather + than rolling their APIs by hand. + * emacs.c: Include regex.h and rely on its and lisp.h's API + rather than rolling them by hand. + * lastfile.c: Include lisp.h, to check this file's API. + * lisp.h (lisp_eval_depth, my_edata, my_endbss, my_endbss_static): + New decls. + * regex.h (re_max_failures): New decl. + * unexcw.c, unexmacosx.c, unexw32.c: + Rely on lisp.h's API rather than rolling it by hand. + * vm-limit.c (__after_morecore_hook, __morecore, real_morecore): + Declare at top level, to pacify GCC -Wnested-externs. + + 2014-08-31 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (get_glyph_string_clip_rects): Don't let the width of a + clipping rectangle become negative (i.e. large positive, since + it's an unsigned data type). This can happen in R2L hscrolled + glyph rows, and caused us to draw the cursor glyph on the fringe. + For the details, see + http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00543.html. + + 2014-08-31 Ken Brown <kbrown@cornell.edu> + + * gmalloc.c: Don't include <stdlib.h>. Declare system malloc and + friends before defining hybrid_malloc and friends if HYBRID_MALLOC + is defined. (Bug#18368) + + 2014-08-30 Paul Eggert <eggert@cs.ucla.edu> + + Vector-sorting fixes (Bug#18361). + It's not safe to call qsort or qsort_r, since they have undefined + behavior if the user-specified predicate is not a total order. + Also, watch out for garbage-collection while sorting vectors. + * fns.c: Include <vla.h>. + (sort_vector_predicate) [!HAVE_QSORT_R]: Remove. + (sort_vector_compare): Remove, replacing with .... + (inorder, merge_vectors, sort_vector_inplace, sort_vector_copy): + ... these new functions. + (sort_vector): Rewrite to use the new functions. + GCPRO locals, since the predicate can invoke the GC. + Since it's in-place return void; caller changed. + (merge): Use 'inorder', for clarity. + + * sysdep.c (str_collate): Clear errno just before wcscoll(_l). + One can't hoist this out of the 'if', because intervening calls to + newlocale, twolower, etc. can change errno. + + 2014-08-30 Eli Zaretskii <eliz@gnu.org> + + * sysdep.c (str_collate) [__STDC_ISO_10646__]: Improve the + wording of the error messages. + (str_collate) [WINDOWSNT]: Signal an error if w32_compare_strings + sets errno. + + * w32proc.c (get_lcid_callback): Accept locale specifications + without the country part, as in "enu" vs "enu_USA". + (w32_compare_strings): Signal an error if a locale was specified, + but couldn't be translated into a valid LCID. + + 2014-08-29 Michael Albinus <michael.albinus@gmx.de> + + * sysdep.c (str_collate) [__STDC_ISO_10646__]: Move up setting errno. + + 2014-08-29 Paul Eggert <eggert@cs.ucla.edu> + + * sysdep.c (str_collate) [__STDC_ISO_10646__]: Do not look at + errno after towlower_l. errno's value is not specified after + towlower_l. Instead, assume that towlower_l returns its argument + on failure, which is portable in practice. + + 2014-08-29 Eli Zaretskii <eliz@gnu.org> + + * fns.c (Fstring_collate_lessp, Fstring_collate_equalp): Doc fix. + + * w32proc.c (w32_compare_strings): Accept additional argument + IGNORE_CASE. Set up the flags for CompareStringW to ignore case + if requested. If w32-collate-ignore-punctuation is non-nil, add + NORM_IGNORESYMBOLS to the flags. + (LINGUISTIC_IGNORECASE): Define if not already defined. + (syms_of_ntproc) <Vw32_collate_ignore_punctuation>: New variable. + + * sysdep.c (str_collate) [WINDOWSNT]: Adapt to the interface + change. + + 2014-08-29 Michael Albinus <michael.albinus@gmx.de> + + * sysdep.c (LC_CTYPE, LC_CTYPE_MASK, towlower_l): + Define substitutes for platforms that lack them. + (str_collate): Add arguments locale and ignore_case. + + * fns.c (Fstring_collate_lessp, Fstring_collate_equalp): + Add optional arguments LOCALE and IGNORE-CASE. + + * lisp.h (str_collate): Adapt argument list. + + 2014-08-29 Dmitry Antipov <dmantipov@yandex.ru> + + Add vectors support to Fsort. + * fns.c (sort_vector, sort_vector_compare): New functions. + (sort_list): Likewise, refactored out of ... + (Fsort): ... adjusted user. Mention vectors in docstring. + (sort_vector_predicate) [!HAVE_QSORT_R]: New variable. + * alloc.c (make_save_int_obj): New function. + * lisp.h (enum Lisp_Save_Type): New member SAVE_TYPE_INT_OBJ. + (make_save_int_obj): Add prototype. + + Fix last change to support Darwin/OSX and FreeBSD (Bug#18354). + * sysdep.c (sort_vector_compare) [DARWIN_OS || __FreeBSD__]: + Conditionally define to match system's qsort_r signature. + (sort_vector) [DARWIN_OS || __FreeBSD__]: Likewise in call to qsort_r. + + 2014-08-28 Ken Brown <kbrown@cornell.edu> + + Add support for HYBRID_MALLOC, allowing the use of gmalloc before + dumping and the system malloc after dumping. (Bug#18222) + + * conf_post.h (malloc, realloc, calloc, free) [HYBRID_MALLOC]: + Define as macros, expanding to hybrid_malloc, etc. + (HYBRID_GET_CURRENT_DIR_NAME): New macro. + (get_current_dir_name) [HYBRID_GET_CURRENT_DIR_NAME]: Define as + macro. + * gmalloc.c: Set up the infrastructure for HYBRID_MALLOC, with a + full implementation on Cygwin. Remove Cygwin-specific code that + is no longer needed. + (malloc, realloc, calloc, free, aligned_alloc) [HYBRID_MALLOC]: + Redefine as macros expanding to gmalloc, grealloc, etc. + (DUMPED, ALLOCATED_BEFORE_DUMPING) [CYGWIN]: New macros. + (get_current_dir_name) [HYBRID_GET_CURRENT_DIR_NAME]: Undefine. + (USE_PTHREAD, posix_memalign) [HYBRID_MALLOC]: Don't define. + (hybrid_malloc, hybrid_calloc, hybrid_free, hybrid_realloc) + [HYBRID_MALLOC]: + (hybrid_get_current_dir_name) [HYBRID_GET_CURRENT_DIR_NAME]: + (hybrid_aligned_alloc) [HYBRID_MALLOC && (HAVE_ALIGNED_ALLOC || + HAVE_POSIX_MEMALIGN)]: New functions. + * alloc.c (aligned_alloc) [HYBRID_MALLOC && (ALIGNED_ALLOC || + HAVE_POSIX_MEMALIGN)]: Define as macro expanding to + hybrid_aligned_alloc; declare. + (USE_ALIGNED_ALLOC) [HYBRID_MALLOC && (ALIGNED_ALLOC || + HAVE_POSIX_MEMALIGN)]: Define. + (refill_memory_reserve) [HYBRID_MALLOC]: Do nothing. + * sysdep.c (get_current_dir_name) [HYBRID_GET_CURRENT_DIR_NAME]: + Define as macro, expanding to gget_current_dir_name, and define + the latter. + * emacs.c (main) [HYBRID_MALLOC]: Don't call memory_warnings() or + malloc_enable_thread(). Don't initialize malloc. + * lisp.h (NONPOINTER_BITS) [CYGWIN]: Define (because GNU_MALLOC is + no longer defined on Cygwin). + (refill_memory_reserve) [HYBRID_MALLOC]: Don't declare. + * sheap.c (bss_sbrk_buffer_end): New variable. + * unexcw.c (__malloc_initialized): Remove variable. + * ralloc.c: Throughout, treat HYBRID_MALLOC the same as + SYSTEM_MALLOC. + * xdisp.c (decode_mode_spec) [HYBRID_MALLOC]: Don't check + Vmemory_full. + + 2014-08-28 Martin Rudalics <rudalics@gmx.at> + + * w32term.c (w32_horizontal_scroll_bar_handle_click): + In `event->y' return entire range (the size of the scroll bar minus + that of the thumb). + * xterm.c (xm_scroll_callback, xaw_jump_callback): In `whole' + return entire range (the scaled size of the scroll bar minus + that of the slider). In `portion' return the scaled position of + the slider. + (xaw_jump_callback): Restore part of code for vertical scroll + bar broken in change from 2014-07-27. + (xaw_scroll_callback): Provide incremental scrolling with + horizontal scroll bars. + + 2014-08-28 Eli Zaretskii <eliz@gnu.org> + + * conf_post.h (_GL_EXECINFO_INLINE) [MSDOS]: Don't define. + + * indent.c (Fvertical_motion): Fix vertical motion up through a + display property after a newline. (Bug#18276) + + * xdisp.c (display_line): Don't assume that the call to + reseat_at_next_visible_line_start ends up at a character + immediately following the newline on the previous line. + Avoids setting the ends_at_zv_p flag on screen lines that are not at or + beyond ZV, which causes infloop in redisplay. For the details, see + http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00368.html. + + * dispnew.c (buffer_posn_from_coords): Fix mirroring of X + coordinate for hscrolled R2L screen lines. (Bug#18277) + + 2014-08-28 Paul Eggert <eggert@cs.ucla.edu> + + * sysdep.c (LC_COLLATE, LC_COLLATE_MASK): Give individual defaults + (Bug#18051). + + 2014-08-27 Eli Zaretskii <eliz@gnu.org> + + * syntax.c (scan_lists): Don't examine positions before BEGV. + (Bug#18339) + + 2014-08-27 Paul Eggert <eggert@cs.ucla.edu> + + Improve robustness of new string-collation code (Bug#18051). + * sysdep.c (LC_COLLATE, LC_COLLATE_MASK, freelocale, locale_t) + (newlocale, wcscoll_l): Define substitutes for platforms that + lack them, so as to simplify the mainline code. + (str_collate): Simplify the code by assuming the above definitions. + Use wcscoll_l, not uselocale, as uselocale is too fragile. + For example, the old version left the Emacs in the wrong locale if + wcscoll reported an error. Use 'int', not ptrdiff_t, for the int + result. Report an error if newlocale fails. + + 2014-08-27 Michael Albinus <michael.albinus@gmx.de> + + * lisp.h (str_collate): + * sysdep.c (str_collate): Return int. + (str_collate) [__STDC_ISO_10646__]: Propagate error of wcscoll. + + 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru> + + Fix some glitches in previous change. + * sysdep.c (stack_direction): Replace stack_grows_down + to simplify calculation of stack boundaries. + (handle_sigsegv): Check whether we really crash somewhere near + to stack boundary, and handle fatal signal as usual if not. + (init_sigsegv): Adjust accordingly. + * keyboard.c (Vtop_level_message): Rename to + Vinternal__top_level_message, as suggested by Stefan Monnier in + http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00493.html + All related users changed. + + 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru> + + Handle C stack overflow caused by too nested Lisp evaluation. + * lisp.h (toplevel) [HAVE_STACK_OVERFLOW_HANDLING]: Declare + siglongjmp point to transfer control from SIGSEGV handler. + * keyboard.c (return_to_command_loop, recover_top_level_message) + [HAVE_STACK_OVERFLOW_HANDLING]: New variables. + (regular_top_level_message): New variable. + (command_loop) [HAVE_STACK_OVERFLOW_HANDLING]: Handle non-local + exit from SIGSEGV handler and adjust message displayed by Vtop_level + if appropriate. + (syms_of_keyboard): DEFVAR Vtop_level_message and initialize + new variables described above. + * sysdep.c [HAVE_SYS_RESOURCE_H]: Include sys/resource.h as such. + (stack_grows_down, sigsegv_stack, handle_sigsegv) + [HAVE_STACK_OVERFLOW_HANDLING]: New variables and function. + (init_sigsegv): New function. + (init_signals): Use it. + + 2014-08-25 Ken Brown <kbrown@cornell.edu> + + * emacs.c (main): Remove use of obsolete macro + G_SLICE_ALWAYS_MALLOC. + + 2014-08-25 Eli Zaretskii <eliz@gnu.org> + + Implement locale-sensitive string collation for MS-Windows. + * w32proc.c (get_lcid_callback, get_lcid, w32_compare_strings): + New functions. (Bug#18051) + + * w32.h (w32_compare_strings): Add prototype. + + * w32.c <g_b_init_compare_string_w>: New global flag. + (globals_of_w32): Initialize it. + + * sysdep.c (str_collate) [WINDOWSNT]: Implementation for MS-Windows. + + * fns.c (Fstring_collate_lessp, Fstring_collate_equalp) + [WINDOWSNT]: Call str_collate on MS-Windows. + + 2014-08-25 Dmitry Antipov <dmantipov@yandex.ru> + + One more minor cleanup of font subsystem. + * font.h (struct font_driver): Convert text_extents to + return void because returned value is never actually used. + * macfont.m (macfont_text_extents): + * w32font.c (w32font_text_extents): + * xftfont.c (xftfont_text_extents): Adjust to return void + and assume that 'metrics' argument is always non-NULL. + * ftfont.c (ftfont_text_extents): + * xfont.c (xfont_text_extents): Likewise. Avoid redundant memset. + + 2014-08-25 Paul Eggert <eggert@cs.ucla.edu> + + Minor cleanups of str_collate fix (Bug#18051). + * fns.c (str_collate): Move decl from here ... + * lisp.h (str_collate): ... to here. + * sysdep.c (str_collate): Prune away some of the forest of ifdefs. + Remove unnecessary casts. Use SAFE_NALLOCA to avoid + potential problems with integer overflow. Don't assume + setlocale succeeds. Remove unnecessary test before restoring + locale via setlocale, and free the copied setlocale string + when done with it. + + 2014-08-24 Michael Albinus <michael.albinus@gmx.de> + + * fns.c (Fstring_collate_lessp, Fstring_collate_equalp): New DEFUNs. + + * sysdep.c (str_collate): New function. (Bug#18051) + + 2014-08-23 Karol Ostrovsky <karol.ostrovsky@gmail.com> (tiny change) + + * Makefile.in (emacs$(EXEEXT)): Retry deletion of bootstrap-emacs + if the initial "rm -f" fails. This is for MinGW builds, where + MS-Windows will not allow deleting the executable file of a + running program. + + 2014-08-20 Eli Zaretskii <eliz@gnu.org> + + * w32term.c (w32_scroll_bar_handle_click) + (w32_horizontal_scroll_bar_handle_click) + (x_scroll_bar_report_motion) + (x_horizontal_scroll_bar_report_motion): For SB_THUMBPOSITION and + SB_THUMBTRACK, use the 32-bit position information returned by + GetScrollInfo, not the 16-bit information returned in the Windows + message sent to us. + + 2014-08-19 Eli Zaretskii <eliz@gnu.org> + + * w32term.c (w32_horizontal_scroll_bar_handle_click): Fix the + second coordinate ('y') reported for dragging the horizontal + scroll bar thumb. + + 2014-08-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * xdisp.c (erase_phys_cursor): Fix confusion between window-relative + and text area-relative x-coordinates. + + 2014-08-17 Eli Zaretskii <eliz@gnu.org> + + Avoid overwriting the reversed_p flags in the glyph matrices when + init_iterator or start_display are called. + * xdisp.c (init_iterator): Don't initialize the reversed_p flag of + the glyph row here. + (tool_bar_height, redisplay_tool_bar, try_window) + (try_window_reusing_current_matrix, try_window_id) + (get_overlay_arrow_glyph_row, display_menu_bar): Initialize the + reversed_p flag of the iterator's glyph row where the glyph row + is going to be redrawn. + + 2014-08-16 Paul Eggert <eggert@cs.ucla.edu> + + * xdisp.c (set_horizontal_scroll_bar): Don't use uninitialized local. + + 2014-08-16 Martin Rudalics <rudalics@gmx.at> + + * w32term.c (w32_horizontal_scroll_bar_handle_click): In y part + of emacs_event return length from si.nPage to si.nMax. + * xdisp.c (set_horizontal_scroll_bar): For right-to-left text + interchange start and end of thumb. + + 2014-08-15 Ken Brown <kbrown@cornell.edu> + + * gmalloc.c (_malloc_mutex, _aligned_blocks_mutex) [CYGWIN]: Use + ERRORCHECK mutexes. (Bug#18222) + + 2014-08-12 Martin Rudalics <rudalics@gmx.at> + + * frame.c (set_menu_bar_lines_1): Remove. + (set_menu_bar_lines): Call change_frame_size instead of + set_menu_bar_lines_1. + + 2014-08-11 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m (Fx_create_frame): Call adjust_frame_size, + set f->official. + + 2014-08-11 Glenn Morris <rgm@gnu.org> + + * fileio.c: Revert 2013-01-31 change, which chose coding system for + writing before backing up, since it causes a more serious problem + than the one it solves. (Closes Bug#18141, reopens Bug#13522.) + (choose_write_coding_system): No longer callable from Lisp. + Move last piece back here from Fwrite_region. + (Fwrite_region, syms_of_fileio): Update for above changes. + + 2014-08-11 Martin Rudalics <rudalics@gmx.at> + + * window.c (Fwindow_valid_p): Fix doc-string (Bug#18194). + (Fwindow_new_total, Fwindow_normal_size, Fwindow_new_normal) + (Fwindow_new_pixel, Fset_window_new_pixel) + (Fset_window_new_total, Fset_window_new_normal) + (Fwindow_resize_apply): Fix doc-strings (see Bug#18112). + See also: + http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-08/msg00287.html + + 2014-08-11 Eli Zaretskii <eliz@gnu.org> + + * fontset.c (Finternal_char_font): Recompute basic faces if the + frame's face cache was cleared. (Bug#18162) + + 2014-08-11 Dmitry Antipov <dmantipov@yandex.ru> + + Fix bug with uninitialized undo list of an indirect buffer (Bug#18180). + * buffer.c (Fmake_indirect_buffer): Initialize undo list with the + base buffer's undo list. + + 2014-08-10 Reuben Thomas <rrt@sc3d.org> + + Fix a couple of recent inadvertent breaks of the MSDOS port. + * msdos.c: include required menu.h + * term.c: set correct menu_show_hook on MSDOS. + + 2014-08-10 Martin Rudalics <rudalics@gmx.at> + + Fix handling of menu bar line on TTY frames (Bug#18136) + (Bug#18196). + * dispnew.c (handle_window_change_signal): + * keyboard.c (Fsuspend_emacs): Call change_frame_size with + frame's menu bar lines subtracted from height. + * frame.c (frame_inhibit_resize): Inhibit resizing of TTY + frames. + (adjust_frame_size): Count in menu bar when setting FrameRows. + (make_terminal_frame): When setting up the frame's lines and + text height don't count in the menu bar. + (Fmake_terminal_frame): Call adjust_frame_size with menu bar + lines subtracted from height. + (do_switch_frame): Set tty's FrameRows to number of total lines + of frame. + (Fframe_pixel_height, Fframe_pixel_width): If no window system + is used, return total number of lines and columns. + * menu.c (emulate_dialog_with_menu): Use FRAME_TOTAL_LINES instead + of FRAME_LINES. + * term.c (OUTPUT, tty_set_terminal_modes) + (tty_set_terminal_window, tty_set_scroll_region) + (tty_clear_to_end, tty_write_glyphs, tty_write_glyphs_with_face) + (tty_ins_del_lines, tty_menu_display, tty_menu_activate): + Use FRAME_TOTAL_LINES instead of FRAME_LINES. + (Fresume_tty): Use FRAME_TOTAL_LINES instead of FRAME_LINES. + Call change_frame_size with frame's menu bar lines subtracted + from height. + * w32console.c (w32con_clear_to_end, w32con_clear_frame) + (w32con_ins_del_lines): Use FRAME_TOTAL_LINES instead of + FRAME_LINES. + + 2014-08-09 Reuben Thomas <rrt@sc3d.org> + + * alloc.c (Fmemory_info): Remove a stray brace. + + * process.c: Fix a comment typo. + + * msdos.c, dosfns.c (init_dosfns): Remove support for DJGPP < 2.02. + + 2014-08-09 Jan Djärv <jan.h.d@swipnet.se> + + * widgetprv.h (EmacsFramePart): Remove font. + + * widget.c (DEFAULT_FACE_FONT, EmacsFrameSetValues, setup_frame_gcs) + (resources, setup_frame_cursor_bits): Remove unused variables and + functions, esp. wrt. font (Bug#18227). + + 2014-08-07 Paul Eggert <eggert@cs.ucla.edu> + + * xterm.c (x_delete_terminal): Plug file descriptor leak (Bug#17691). + + 2014-08-07 Reuben Thomas <rrt@sc3d.org> + + Refer to MS-DOS using the same name everywhere. + + * editfns.c: Fix a couple of ``MS-DOG''s missed in the previous + commit. + * xfaces.c: ditto. + + 2014-08-05 Martin Rudalics <rudalics@gmx.at> + + * w32term.c (w32_redeem_scroll_bar): + * xterm.c (XTredeem_scroll_bar): Revert part of last change by + not redeeming scroll bars that have been turned off. + + 2014-08-05 Dmitry Antipov <dmantipov@yandex.ru> + + * keyboard.c (safe_run_hooks): Follow the convenient style to bind + inhibit-quit to t and pass 2 args to safe_run_hook_funcall. See + <http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00077.html>. + (safe_run_hook_funcall): Adjust accordingly. + + 2014-08-04 Martin Rudalics <rudalics@gmx.at> + + * frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS): + Condition correctly according to toolkit used. + * frame.c (make_initial_frame, make_terminal_frame) + (x_set_horizontal_scroll_bars, x_set_scroll_bar_height) + (Vdefault_frame_horizontal_scroll_bars): Correctly condition + assignments according to presence of toolkit scrollbars. + * window.h (WINDOW_HAS_HORIZONTAL_SCROLL_BAR): + Condition correctly according to toolkit used. + * window.c (set_window_scroll_bars): Set horizontal scroll bar + only if toolkit supports it. + * w32term.c (w32_redeem_scroll_bar): Always redeem scroll bar if + present. + * xterm.c (x_scroll_bar_create): Initialize horizontal slot for + non-toolkit builds. + (XTredeem_scroll_bar): Always redeem scroll bar if present. + + 2014-08-04 Dmitry Antipov <dmantipov@yandex.ru> + + * keyboard.c (safe_run_hook_funcall): Avoid consing around + Vinhibit_quit and prefer internal_condition_case_n to pass args. + (safe_run_hooks_error, safe_run_hooks_1): Adjust accordingly. + (safe_run_hooks): Remove comment which is not relevant any more. + + 2014-08-03 Paul Eggert <eggert@cs.ucla.edu> + + Don't let big frames overrun the stack. + * dispnew.c (mirrored_line_dance, mirror_line_dance, scrolling): + Use SAFE_NALLOCA, not alloca. + + Fix bug with clang + directory_files_internal + GC (Bug#16986). + * dired.c (directory_files_internal): Use a volatile variable + to prevent the compiler from optimizing away all copies of a local. + I wonder how many other GC-related bugs like this lurk elsewhere? + + Avoid 100% CPU utilization on ssh session exit (Bug#17691). + * xterm.h (struct x_display_info): New member 'connection'. + * xterm.c (x_term_init, x_delete_terminal): Set and use it, + so that x_delete_terminal has a file descriptor to pass to + delete_keyboard_wait_descriptor. + + Don't mishandle year-9999 dates (Bug#18176). + * editfns.c (decode_time_components): Store an invalid timespec + on overflow, instead of returning false, so that the caller can + distinguish overflow from other errors. + (lisp_time_argument, lisp_seconds_argument): If the time is out + of range, signal a time overflow instead of an invalid time spec. + * keyboard.c (decode_timer): Treat time overflow like other + timespec errors. + + Avoid undefined behavior with signed left shift. + Caught by 'gcc -fsanitize=undefined'. + * dispextern.h, scroll.c (scrolling_max_lines_saved, scrolling_1): + * dispnew.c (line_hash_code, scrolling): + * scroll.c (calculate_scrolling, calculate_direct_scrolling): + Use 'unsigned', not 'int', for line hashes. + (scrolling_max_lines_saved): Avoid mystery constants for hash sizes. + + 2014-08-02 Paul Eggert <eggert@cs.ucla.edu> + + Make compare-strings more compatible with old behavior (Bug#17903). + * fns.c (Fcompare_strings): Silently bring too-large ends into range. + + 2014-08-02 Jan Djärv <jan.h.d@swipnet.se> + + * gtkutil.c (create_dialog): Force min spacing 10 between buttons. + Don't add label between left and right buttons (Bug#18129). + + 2014-08-01 Paul Eggert <eggert@cs.ucla.edu> + + Make functions static that no longer need to be extern. + * frame.c, frame.h (set_menu_bar_lines): + * keyboard.c (Qleftmost, Qrightmost): + * xfns.c, frame.h, menu.h (x_set_menu_bar_lines, x_set_tool_bar_lines) + (x_set_internal_border_width): + Now static. + + 2014-08-01 Eli Zaretskii <eliz@gnu.org> + + Fix display of R2L lines when the last character fits only partially. + See http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00476.html + for the details. + * xdisp.c (extend_face_to_end_of_line): If the last glyph of an + R2L row is visible only partially, give the row a negative x + offset. + (display_line): Fix the calculation of the glyph whose pixel width + is used to decide whether the last produced glyph fits on the + line. When the last glyph fits only partially, give the row a + negative x offset. + + Fix hscroll of R2L lines that begin with a TAB or another wide glyph. + * xdisp.c (append_stretch_glyph): In a R2L glyph row, decrease the + pixel width of the first glyph that is hscrolled from display. + (display_line): In R2L glyph rows, don't give a negative offset to + row->x when the first glyph begins before first_visible_x. + + * xdisp.c (display_line): If called with iterator set up to write + to a marginal area, delay the call to handle_line_prefix until we + switch back to the text area. (Bug#18035) + + * .gdbinit (xwindow): The members total_cols, total_lines, + left_col, and top_line are C integers (and has been so for the + last 1.5 years). + + 2014-08-01 Andreas Schwab <schwab@suse.de> + + * macros.c (Fstart_kbd_macro): Initialize kbd_macro_ptr and + kbd_macro_end together with kbd_macro_buffer. (Bug#18140) + + 2014-08-01 Dmitry Antipov <dmantipov@yandex.ru> + + * atimer.c (toplevel) [HAVE_TIMERFD]: Include errno.h. + (timerfd_callback): Ignore weird events with no data. Add tight + assertions and comments. + (init_atimer) [HAVE_TIMERFD]: Add environment variable to optionally + disable timerfd-based timer. Use TFD_NONBLOCK for timer descriptor. + + 2014-08-01 Paul Eggert <eggert@cs.ucla.edu> + + * frame.c (x_set_frame_parameters): Fix typo in previous patch. + I had confused && with ||. + + 2014-07-31 Paul Eggert <eggert@cs.ucla.edu> + + Simplify timerfd configuration and fix some minor glitches. + * atimer.c (TIMERFD_CREATE_FLAGS): Remove; we now assume TFD_CLOEXEC. + (alarm_timer, alarm_timer_ok, set_alarm, init_atimer): + Fall back on timer_create if timerfd_create fails at runtime. + (resolution) [HAVE_CLOCK_GETRES]: Remove; we now rely on the + kernel primitives to do resolution. All uses removed. + (timerfd) [!HAVE_TIMERFD]: Define to be -1, for convenience. + (turn_on_atimers): Clear timer_create-based timers too, + for consistency. + + * frame.c (x_set_frame_parameters): Don't use uninitialized locals. + Without this change, the code can access the local variable 'width' + even when it has not been initialized, and likewise for 'height'; + in either case this leads to undefined behavior. + + 2014-07-30 Dmitry Antipov <dmantipov@yandex.ru> + + * xrdb.c (x_load_resources) [USE_MOTIF]: Although not strictly + necessary, put horizontal scroll bar resources as well. See + <http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00430.html>. + * xterm.c (x_sync_with_move): Really wait 0.5s, not 0.0005s. + + 2014-07-29 Dmitry Antipov <dmantipov@yandex.ru> + + * xrdb.c (x_load_resources) [!USE_MOTIF]: Put horizontal scroll bar + background value to match the resource of its vertical counterpart. + + 2014-07-29 Martin Rudalics <rudalics@gmx.at> + + * frame.c (adjust_frame_size): Use FRAME_WINDOW_P instead of + FRAME_X_WINDOW when calling x_set_window_size (Bug#18138). + + 2014-07-28 Martin Rudalics <rudalics@gmx.at> + + * frame.c (x_set_frame_parameters): Revert part of 2014-07-24 + change that added the top margin height to the requested height + and revert (undocumented) part of 2014-07-28 change that changed + the logic of whether a size change occurred. + + 2014-07-28 Eli Zaretskii <eliz@gnu.org> + + * .gdbinit (xwindow): The members total_cols, total_lines, + left_col, and top_line are C integers (and has been so for the + last 1.5 years). + + * .gdbinit (xsubchartable): The members 'depth' and 'min_char' are + now C integers. + + 2014-07-28 Dmitry Antipov <dmantipov@yandex.ru> + + On GNU/Linux, use timerfd for asynchronous timers. + * atimer.c (toplevel) [HAVE_TIMERFD]: Include sys/timerfd.h. + (toplevel): Rename alarm_timer_ok to special_timer_available. + [HAVE_TIMERFD]: Declare timerfd. + [HAVE_CLOCK_GETRES]: Declare resolution. + (start_atimer) [HAVE_CLOCK_GETRES]: Round up timestamp to + system timer resolution. + (set_alarm) [HAVE_TIMERFD]: Use timerfd_settime. + (timerfd_callback) [HAVE_TIMERFD]: New function. + (atimer_result, debug_timer_callback, Fdebug_timer_check) + [ENABLE_CHECKING]: New function for the sake of automated tests. + (init_atimer) [HAVE_TIMERFD]: Setup timerfd. + [HAVE_CLOCK_GETRES]: Likewise for system timer resolution. + [ENABLE_CHECKING]: Defsubr test function. + * atimer.h (timerfd_callback) [HAVE_TIMERFD]: Add prototype. + * lisp.h (add_timer_wait_descriptor) [HAVE_TIMERFD]: Likewise. + * process.c (add_timer_wait_descriptor) [HAVE_TIMERFD]: New function. + + Fix --without-x build and pacify --enable-gcc-warnings. + Problems reported in Bug#18122 and Bug#18124. + * frame.c (get_frame_param): Define even if !HAVE_WINDOW_SYSTEM. + (frame_windows_min_size): Now static. + * frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS) [!HAVE_WINDOW_SYSTEM]: + Define as no-op. + (adjust_frame_size): Always declare prototype. + + Fix Gnus-related issues reported by David Kastrup <dak@gnu.org> in + <http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00370.html>. + * atimer.c (timerfd_callback): Always read expiration data. + Add comment. + (turn_on_atimers) [HAVE_TIMERFD]: Disarm timerfd timer. + * process.c (add_timer_wait_descriptor): Add timer descriptor + to input_wait_mask and non_process_wait_mask as well. + + 2014-07-28 Paul Eggert <eggert@cs.ucla.edu> + + * frame.c (x_set_frame_parameters): Don't use uninitialized locals. + + 2014-07-27 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (applicationDidFinishLaunching antialiasThresholdDidChange): + Reinstate code removed by the prevoius commit to this file. + + 2014-07-27 Martin Rudalics <rudalics@gmx.at> + + * buffer.h (struct buffer): New fields scroll_bar_height and + horizontal_scroll_bar_type. + * buffer.c (bset_scroll_bar_height) + (bset_horizontal_scroll_bar_type): New functions. + (Fbuffer_swap_text): Handle old_pointm field. + (init_buffer_once): Set defaults for scroll_bar_height and + horizontal_scroll_bar_type. + (syms_of_buffer): New variables scroll_bar_height and + horizontal_scroll_bar_type. + * dispextern.h (window_part): Rename ON_SCROLL_BAR to + ON_VERTICAL_SCROLL_BAR. Add ON_HORIZONTAL_SCROLL_BAR. + (set_vertical_scroll_bar): Remove prototype. + (x_change_tool_bar_height): Add prototype. + * dispnew.c (adjust_frame_glyphs_for_frame_redisplay) + (window_to_frame_vpos, update_frame_1, scrolling, init_display): + Use FRAME_TOTAL_COLS and FRAME_TOTAL_LINES instead of FRAME_COLS + and FRAME_LINES. + (adjust_frame_glyphs_for_window_redisplay): Rearrange lines. + (update_window): Start mode_line_row->y after horizontal scroll + bar. + (change_frame_size_1): Call adjust_frame_size. + (init_display): When changing the size of a tty frame do not + pass height of menu bar. + (Qframe_windows_min_size): New symbol. + * frame.h (struct frame): List tool bar fields after menu bar + fields. Add official, total_lines, horizontal_scroll_bars, + config_scroll_bar_height and config_scroll_bar_lines fields. + (FRAME_HAS_HORIZONTAL_SCROLL_BARS) + (FRAME_CONFIG_SCROLL_BAR_HEIGHT, FRAME_CONFIG_SCROLL_BAR_LINES) + (FRAME_SCROLL_BAR_AREA_HEIGHT, FRAME_SCROLL_BAR_COLS) + (FRAME_SCROLL_BAR_LINES, FRAME_TOTAL_LINES, SET_FRAME_LINES) + (FRAME_WINDOWS_HEIGHT): New macros. + (SET_FRAME_HEIGHT, FRAME_TEXT_LINES_TO_PIXEL_HEIGHT) + (FRAME_PIXEL_Y_TO_LINE, FRAME_PIXEL_HEIGHT_TO_TEXT_LINES) + (FRAME_TEXT_TO_PIXEL_HEIGHT): Separately count top margin and + horizontal scroll bar. + (frame_inhibit_resize, adjust_frame_size) + (frame_windows_min_size): Add declarations. + (Qscroll_bar_height, Qhorizontal_scroll_bars) + (x_set_scroll_bar_default_height, x_set_left_fringe) + (x_set_right_fringe, x_set_vertical_scroll_bars) + (x_set_horizontal_scroll_bars, x_set_scroll_bar_width) + (x_set_scroll_bar_height): Add external declarations. + * frame.c: (frame_inhibit_resize, frame_windows_min_size) + (adjust_frame_size): New functions. + (make_frame): Initial horizontal_scroll_bars field. + Use SET_FRAME_LINES. Don't allow horizontal scroll bar in + minibuffer window. + (make_initial_frame, make_terminal_frame): No horizontal scroll + bar in initial and terminal frames. Use adjust_frame_size. + (Fframe_total_cols): Fix doc-string. + (Fframe_total_lines, Fscroll_bar_height): New Lisp functions. + (Fset_frame_height, Fset_frame_width, Fset_frame_size): + Rewrite using adjust_frame_size. + (Qscroll_bar_height, Qhorizontal_scroll_bars) + (Qframe_windows_min_size): New symbols. + (x_set_frame_parameters): Remove call of check_frame_size. + (x_report_frame_params): Return scroll_bar_height value. + (x_set_left_fringe, x_set_right_fringe): New functions. + (adjust_frame_height, x_set_internal_border_width) + (x_set_fringe_width): Remove. + (x_set_internal_border_width, x_set_vertical_scroll_bars) + (x_set_scroll_bar_width, x_set_right_divider_width) + (x_set_bottom_divider_width): Rewrite using adjust_frame_size. + (x_set_horizontal_scroll_bars, x_set_scroll_bar_height): + New functions. + (x_figure_window_size): Rewrite to make frame display the + expected number of lines. + (Vdefault_frame_scroll_bars): Rewrite doc-string. + (Vdefault_frame_horizontal_scroll_bars) + (Vframe_initial_frame_tool_bar_height) + (frame_inhibit_implied_resize): New variables. + * fringe.c (compute_fringe_widths): Remove. + * gtkutil.h (YG_SB_MIN, YG_SB_MAX, YG_SB_RANGE): Define. + (xg_create_horizontal_scroll_bar) + (xg_update_horizontal_scrollbar_pos) + (xg_set_toolkit_horizontal_scroll_bar_thumb) + (xg_get_default_scrollbar_height) + (xg_clear_under_internal_border): Extern. + * gtkutil.c (xg_frame_resized): Don't call + do_pending_window_change. + (xg_frame_set_char_size): Use adjust_frame_size. + (style_changed_cb): Call update_theme_scrollbar_height and + x_set_scroll_bar_default_height. + (x_wm_set_size_hint): Don't call check_frame_size. + (update_theme_scrollbar_height) + (xg_get_default_scrollbar_height) + (xg_create_horizontal_scroll_bar) + (xg_update_horizontal_scrollbar_pos) + (xg_set_toolkit_horizontal_scroll_bar_thumb): New functions. + (xg_create_scroll_bar): Set horizontal slot of bar. + (xg_initialize): Call update_theme_scrollbar_height. + (xg_clear_under_internal_border): No more static. + * insdel.c (adjust_suspend_auto_hscroll): New function. + (adjust_markers_for_delete, adjust_markers_for_insert) + (adjust_markers_for_replace): Call adjust_suspend_auto_hscroll. + * keyboard.c (readable_events, discard_mouse_events) + (make_lispy_event): Handle horizontal scroll bar click events. + (Fsuspend_emacs): When changing the size of a tty frame do not + pass height of menu bar. + (Qbefore_handle, Qhorizontal_handle, Qafter_handle, Qleft) + (Qright, Qleftmost, Qrightmost): New symbols. + * menu.c (Fx_popup_dialog): Use FRAME_TOTAL_LINES instead of + FRAME_LINES. + * minibuf.c (read_minibuf): Initialize suspend_auto_hscroll. + * nsfns.m (x_set_internal_border_width): New function. + * nsterm.m (ns_draw_fringe_bitmap, ns_set_vertical_scroll_bar): + Remove extended fringe code. + (x_set_window_size, x_new_font): Don't call + compute_fringe_widths. + * term.c (Fresume_tty): When changing the size of a tty frame do + not pass height of menu bar. + (clear_tty_hooks, set_tty_hooks): + Clear horizontal_scroll_bar_hook. + (init_tty): Frame has no horizontal scroll bars. + * termhooks.h (enum scroll_bar_part): Add scroll_bar_move_ratio, + scroll_bar_before_handle, scroll_bar_horizontal_handle, + scroll_bar_after_handle, scroll_bar_left_arrow, + scroll_bar_right_arrow, scroll_bar_to_leftmost and + scroll_bar_to_rightmost entries. + (enum event_kind): Add HORIZONTAL_SCROLL_BAR_CLICK_EVENT + (struct terminal): Add set_horizontal_scroll_bar_hook. + * w32console.c (initialize_w32_display): + Clear horizontal_scroll_bar_hook. + * w32fns.c (x_set_mouse_color): Use FRAME_W32_DISPLAY instead of + FRAME_X_DISPLAY. + (x_clear_under_internal_border, x_set_internal_border_width): + New functions. + (x_set_menu_bar_lines): Rewrite using frame_inhibit_resize. + Set windows_or_buffers_changed when adding the menu bar. + (x_set_tool_bar_lines): Rewrite using adjust_frame_size. + (x_change_tool_bar_height, x_set_scroll_bar_default_height) + (w32_createhscrollbar): New functions. + (w32_createscrollbar): Rename to w32_createvscrollbar. + (w32_createwindow): Init WND_HSCROLLBAR_INDEX. + (w32_name_of_message): Replace WM_EMACS_CREATESCROLLBAR by + WM_EMACS_CREATEVSCROLLBAR and WM_EMACS_CREATEHSCROLLBAR. + Add WM_EMACS_SHOWCURSOR. + (w32_wnd_proc): Handle WM_HSCROLL case. In WM_WINDOWPOSCHANGING + case do not artificially impose WM size hints. + Handle WM_EMACS_SHOWCURSOR case. Replace WM_EMACS_CREATESCROLLBAR case + by WM_EMACS_CREATEVSCROLLBAR and WM_EMACS_CREATEHSCROLLBAR + cases. + (my_create_tip_window): Replace WND_SCROLLBAR_INDEX by + WND_VSCROLLBAR_INDEX and WND_HSCROLLBAR_INDEX. + (unwind_create_frame_1): Remove. + (Fx_create_frame): Make both scrollbars the system standard + width and height. Use official field of frame structure to + inhibit running window-configuration-change-hook. + (x_create_tip_frame): Call SET_FRAME_LINES and change_frame_size + pixelwise. Handle frame's official field. + (w32_frame_parm_handlers): Remove x_set_fringe_width + entries. Add x_set_scroll_bar_height, + x_set_horizontal_scroll_bars, x_set_left_fringe and + x_set_right_fringe. + * w32inevt.c (resize_event, maybe_generate_resize_event): Do not + pass height of menu bar to change_frame_size. + * w32menu.c (set_frame_menubar): Rewrite using + frame_inhibit_resize. + * w32term.h (struct w32_display_info): + Add horizontal_scroll_bar_cursor and cursor_display_counter. + (struct scroll_bar): Add horizontal. + (HORIZONTAL_SCROLL_BAR_INSIDE_HEIGHT) + (HORIZONTAL_SCROLL_BAR_LEFT_RANGE) + (HORIZONTAL_SCROLL_BAR_INSIDE_WIDTH) + (HORIZONTAL_SCROLL_BAR_LEFT_BORDER) + (HORIZONTAL_SCROLL_BAR_RIGHT_BORDER) + (HORIZONTAL_SCROLL_BAR_TOP_BORDER) + (HORIZONTAL_SCROLL_BAR_BOTTOM_BORDER) + (HORIZONTAL_SCROLL_BAR_MIN_HANDLE): New macros. + (WM_EMACS_CREATEVSCROLLBAR, WM_EMACS_CREATEHSCROLLBAR): + Define instead of WM_EMACS_CREATESCROLLBAR. + (WND_VSCROLLBAR_INDEX, WND_HSCROLLBAR_INDEX): Define instead of + WND_SCROLLBAR_INDEX. + * w32term.c (horizontal_scroll_bar_min_handle) + (horizontal_scroll_bar_left_border) + (horizontal_scroll_bar_right_border): New integers. + (x_set_frame_alpha): Replace x_highlight_frame by + w32_focus_frame. + (x_window_to_scroll_bar): New argument "type". Update callers + accordingly. + (w32_set_horizontal_scroll_bar_thumb) + (x_horizontal_scroll_bar_report_motion) + (w32_set_horizontal_scroll_bar) + (w32_horizontal_scroll_bar_handle_click) + (x_horizontal_scroll_bar_report_motion): New functions. + (w32_mouse_position): Discriminate horizontal and vertical + scrollbar cases. + (my_create_scrollbar): Replace with two new functions + my_create_vscrollbar and my_create_hscrollbar. + (x_scroll_bar_create): New argument "horizontal". + Update callers accordingly. + (x_scroll_bar_remove, w32_condemn_scroll_bars) + (w32_redeem_scroll_bar, x_scroll_bar_clear): Handle horizontal + scroll bar case. + (w32_read_socket): Handle WM_HSCROLL cae. + (x_new_font): Don't recompute fringe widths. + Use frame_inhibit_resize. Calculate new menu bar height iff we + build without toolkit. Always clear under internal border. + (x_set_window_size): Don't check frame size or recompute + fringes. Reset fullscreen status before applying sizes. + Always resize as requested by pixelwise argument. Don't call + do_pending_window_change. + (x_wm_set_size_hint): Add call for FRAME_SCROLL_BAR_AREA_HEIGHT. + (w32_initialize_display_info): Initialize dpyinfo's + horizontal_scroll_bar_cursor entry. + (w32_create_terminal): Add set_horizontal_scroll_bar_hook. + (w32_initialize): Init horizontal_scroll_bar_min_handle and + horizontal_scroll_bar_left_border. + (w32fullscreen_hook): Intermittently resize window to normal + when switching from fullscreen to maximized state. + (run_window_configuration_change_hook): Don't run it if frame is + not official yet. + (unwind_change_frame): Remove. + (Fset_window_configuration): Rewrite using frame's official field. + * widget.c (set_frame_size): Don't call compute_fringe_widths. + (EmacsFrameSetCharSize): Obey frame_inhibit_resize. + * window.h (struct window): New fields old_pointm, + horizontal_scroll_bar, horizontal_scroll_bar_type, hscroll_whole, + scroll_bar_height and suspend_auto_hscroll. + (wset_horizontal_scroll_bar, wset_horizontal_scroll_bar_type): + New functions. + (sanitize_window_sizes): Extern. + (MINI_NON_ONLY_WINDOW_P, MINI_ONLY_WINDOW_P, WINDOW_PSEUDO_P) + (WINDOW_TOPMOST_P, WINDOW_HAS_HORIZONTAL_SCROLL_BAR) + (WINDOW_CONFIG_SCROLL_BAR_HEIGHT) + (WINDOW_CONFIG_SCROLL_BAR_LINES) + (WINDOW_SCROLL_BAR_LINES, WINDOW_SCROLL_BAR_AREA_HEIGHT): + New macros. + (WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS) + (WINDOW_FRINGE_COLS, WINDOW_FRINGE_EXTENDED_P): Remove macros. + (WINDOW_VERTICAL_SCROLL_BAR_TYPE) + (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT) + (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT) + (WINDOW_HAS_VERTICAL_SCROLL_BAR): Minor rewrite. + (WINDOW_BOX_HEIGHT_NO_MODE_LINE, WINDOW_BOX_TEXT_HEIGHT) + (WINDOW_SCROLL_BAR_AREA_Y): Count in scroll bar height. + * window.c (wset_old_pointm, Fwindow_scroll_bar_height) + (Fwindow_old_point, sanitize_window_sizes): New functions. + (Qwindow_sanitize_window_sizes): New symbol. + (window_body_height): Count in horizontal scroll bar. + (set_window_hscroll, Fscroll_left, Fscroll_right): + Set suspend_auto_hscroll slot. + (Fwindow_inside_edges): Count fringes pixelwise. + (coordinates_in_window, Fcoordinates_in_window_p): + Consider horizontal scroll bar. + (check_frame_size, adjust_window_margins): Remove functions and + corresponding calls. + (set_window_buffer): Initialize old_pointm and horizontal scroll bars. + (temp_output_buffer_show): Reset hscroll related fields. + Initialize old_pointm. + (make_parent_window): Initialize old_pointm. + (make_window): Initialize old_pointm, horizontal scroll bar type, + and scroll bar height. + (resize_frame_windows): Don't count top margin in new sizes. + Don't use safe sizes when shrinking a frame; let the window + manager do the clipping. + (Fsplit_window_internal): Inherit horizontal scroll bar type and + height. + (Fdelete_window_internal): Unchain old_pointm marker. + (window_scroll_pixel_based, Fscroll_other_window): + Adjust old_pointm. + (Fwindow_text_width, Fwindow_text_height): New argument + "pixelwise". + (struct saved_window): New fields, old_pointm, hscroll_whole, + suspend_auto_hscroll, scroll_bar_height and + horizontal_scroll_bar_type. + (Fset_window_configuration, save_window_save): Set new fields of + saved_window. + (apply_window_adjustment): Don't call adjust_window_margins. + (set_window_margins): Don't change margins if new sizes don't + fit into window. + (set_window_scroll_bars): New argument "horizontal_type". + Handle horizontal scroll bars. Don't change scroll bars if they + don't fit into window. + (Fset_window_scroll_bars): New argument "horizontal_type". + (Fwindow_scroll_bars): Return values for horizontal scroll bars. + (compare_window_configurations): Compare horizontal scroll bar + settings. + * xdisp.c (window_text_bottom_y, window_box_height): Count in + horizontal scroll bar height. + (pixel_to_glyph_coords, init_xdisp): Use FRAME_TOTAL_LINES + instead of FRAME_LINES. + (remember_mouse_glyph): Case ON_SCROLL_BAR changed to + ON_VERTICAL_SCROLL_BAR. + (with_echo_area_buffer): Initialize old_pointm. + (with_echo_area_buffer_unwind_data): Store old_pointm values in + vector. + (unwind_with_echo_area_buffer): Handle old_pointm. + (update_tool_bar): Set do_update when the tool bar window has at + least one line (since this is what the user sets). + (MAX_FRAME_TOOL_BAR_HEIGHT): Remove macro. + (redisplay_tool_bar): Return early when toolbar has zero lines. + Call x_change_tool_bar_height. Don't use max_tool_bar_height. + (hscroll_window_tree): Handle suspension of auto_hscroll and + old_pointm. + (set_horizontal_scroll_bar): New function. + (redisplay_window): Set ignore_mouse_drag_p when tool bar has + more than one line. Handle horizontal scroll bars. + (note_mouse_highlight): Handle horizontal scrol bars. + (expose_frame): Set dimensions of XRectangle from frame's text + sizes. + (Vvoid_text_area_pointer): Update doc-string. + * xfns.c (x_set_menu_bar_lines): Use adjust_frame_size. + (x_change_tool_bar_height, x_set_scroll_bar_default_height) + (x_set_internal_border_width): New functions. + (x_set_tool_bar_lines): Call x_change_tool_bar_height. + (unwind_create_frame_1): Remove. + (Fx_create_frame): Handle horizontal scroll bars. Use official + field of frame structure to inhibit running + window-configuration-change-hook. + (x_create_tip_frame): Call SET_FRAME_LINES and change_frame_size + pixelwise. Handle frame's official field. + (x_frame_parm_handlers): Add x_set_scroll_bar_height, + x_set_horizontal_scroll_bars, x_set_left_fringe, + x_set_right_fringe. + * xmenu.c (update_frame_menubar, free_frame_menubar): + Use adjust_frame_size. + * xterm.h (struct x_display_info): + Add horizontal_scroll_bar_cursor and Xatom_Horizontal_Scrollbar + slots. + (struct scroll_bar): Add horizontal slot. + (HORIZONTAL_SCROLL_BAR_INSIDE_HEIGHT) + (HORIZONTAL_SCROLL_BAR_LEFT_RANGE) + (HORIZONTAL_SCROLL_BAR_INSIDE_WIDTH): New macros. + (HORIZONTAL_SCROLL_BAR_LEFT_BORDER) + (HORIZONTAL_SCROLL_BAR_RIGHT_BORDER) + (HORIZONTAL_SCROLL_BAR_TOP_BORDER) + (HORIZONTAL_SCROLL_BAR_BOTTOM_BORDER) + (HORIZONTAL_SCROLL_BAR_MIN_HANDLE): Define. + (x_clear_under_internal_border): Remove. + * xterm.c (XTmouse_position): Handle horizontal scroll bars. + (x_window_to_scroll_bar): New argument TYPE. Update callers. + (x_send_scroll_bar_event, x_scroll_bar_create): New arguments + HORIZONTAL. Update callers. + (horizontal_action_hook_id): New action hook id. + (x_horizontal_scroll_bar_to_input_event) + (x_create_horizontal_toolkit_scroll_bar) + (xt_horizontal_action_hook) + (x_set_toolkit_horizontal_scroll_bar_thumb) + (XTset_horizontal_scroll_bar, x_net_wm_state) + (x_horizontal_scroll_bar_report_motion): New functions. + (xg_scroll_callback, x_scroll_bar_handle_click): + Handle horizontal scroll bars. + (SCROLL_BAR_HORIZONTAL_NAME): Define. + (XTset_vertical_scroll_bar): Attempt to clear areas not covered + by scroll bar. + (XTcondemn_scroll_bars, XTredeem_scroll_bar): Rewrite. + Handle horizontal scroll bars. + (handle_one_xevent): Handle horizontal scroll bar events. + Call x_net_wm_state. + (x_set_window_size_1, x_wm_set_size_hint): Don't call + check_frame_size. + (x_set_window_size): Don't call check_frame_size and + do_pending_window_change. + (x_term_init): Init horizontal_scroll_bar_cursor display info. + (x_create_terminal): Add set_horizontal_scroll_bar_hook. + (x_scroll_bar_set_handle): Add some checks when calling + x_clear_area. + + 2014-07-26 Paul Eggert <eggert@cs.ucla.edu> + + Revert previous change. + There is certainly nothing wrong with writing code like 'lo <= i + && i <= hi', even if LO happens to a constant. There isn't even + anything wrong in general with writing 'a <= b' if A happens to + be a constant. At any rate stylistic changes shouldn't + be done like this without discussion. + + 2014-07-26 Andreas Schwab <schwab@linux-m68k.org> + + * alloc.c (xnmalloc, xnrealloc, xpalloc, make_save_value) + (Fgarbage_collect): Reorder conditions that are written backwards. + * data.c (cons_to_unsigned): Likewise. + * dispnew.c (update_frame_1, sit_for): Likewise. + * fileio.c (file_offset): Likewise. + * filelock.c (read_lock_data, lock_file): Likewise. + * fns.c (larger_vector, make_hash_table, Fmake_hash_table): + Likewise. + * font.c (font_intern_prop, font_style_symbolic): Likewise. + * lisp.h (FIXNUM_OVERFLOW_P): Likewise. + * lread.c (read1): Likewise. + * minibuf.c (read_minibuf_noninteractive): Likewise. + * nsterm.m (x_set_frame_alpha): Likewise. + * process.c (wait_reading_process_output): Likewise. + * region-cache.c (delete_cache_boundaries): Likewise. + * xterm.c (x_set_frame_alpha): Likewise. + + 2014-07-25 Paul Eggert <eggert@cs.ucla.edu> + + * dispextern.h, xdisp.c (hourglass_shown_p, hourglass_atimer): + Now static. + + 2014-07-26 Dmitry Antipov <dmantipov@yandex.ru> + + * atimer.c (set_alarm) [HAVE_ITIMERSPEC]: Use TIMER_ABSTIME + because atimer expiration is absolute rather than relative. + + 2014-07-25 Eli Zaretskii <eliz@gnu.org> + + * w32term.h (current_popup_menu, menubar_in_use): + Move declarations from w32term.c. + + 2014-07-25 Martin Rudalics <rudalics@gmx.at> + + * w32fns.c (menubar_in_use): No more static. + * w32term.c (current_popup_menu, menubar_in_use): Declare. + + 2014-07-25 Dmitry Antipov <dmantipov@yandex.ru> + + Move hourglass machinery to RIF. + * dispextern.h (struct redisplay_interface): New members + show_hourglass and hide_hourglass. Indent comments. + (show_hourglass, hide_hourglass): Remove prototypes. + * nsterm.m (show_hourgass, hide_hourglass): Refactor to ... + (ns_show_hourglass, ns_hide_hourglass): ... new no-ops. + (ns_redisplay_interface): Add them. + * w32fns.c (show_hourglass, hide_hourglass): Refactor to ... + * w32term.c (w32_show_hourglass, w32_hide_hourglass): ... these. + (w32_arrow_cursor): New function to hack around non-GUI frames. + (w32_redisplay_interface): Add new functions. + * w32term.h (w32_arror_cursor): Add prototype. + * xdisp.c (show_hourglass): New function, refactored out from + platform-dependent code. + (cancel_hourglass): Now call to RIF function. + * xfns.c (show_hourglass, hide_hourglass): Refactor to ... + * xterm.c (x_show_hourglass, x_hide_hourglass): ... these. + (x_redisplay_interface): Add new functions. + + 2014-07-24 Dmitry Antipov <dmantipov@yandex.ru> + + Fix error reported by Angelo Graziosi <angelo.graziosi@alice.it> in + <http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00274.html> + and complete previous change. + * frame.c (adjust_frame_height): New function. + (Fset_frame_height, Fset_frame_size): Use it. + (x_set_frame_parameters): Take frame top margin into account. + + 2014-07-23 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.c (Fset_frame_height): Take frame top margin into account. + Incorrect behavior was reported by Martin Rudalics <rudalics@gmx.at> in + <http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00258.html> + + 2014-07-22 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.h (struct x_output) [USE_X_TOOLKIT || USE_GTK]: Define + menubar_height as such. Tweak comment. + [USE_LUCID && USE_TOOLKIT_SCROLL_BARS]: Likewise for + scroll_bar_top_shadow_pixel and scroll_bar_bottom_shadow_pixel. + All related users changed. + (FRAME_MENUBAR_HEIGHT) [!USE_X_TOOLKIT && !USE_GTK]: No-op. + * xterm.c (handle_one_xevent): + * gtkutil.c (xg_event_is_for_menubar): + * xfns.c (x_window) [USE_X_TOOLKIT]: + * xmenu.c (set_frame_menubar, free_frame_menubar): + Prefer to use FRAME_MENUBAR_HEIGHT. + + 2014-07-21 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.c (Fframe_parameters): Always report frame height without + menu and tool bar lines. + + 2014-07-21 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (applicationDidFinishLaunching:): Call + antialiasThresholdDidChange, register for antialias changes (Bug#17534). + (antialiasThresholdDidChange:): New method for EmacsApp. + + * nsterm.h (EmacsApp): Add antialiasThresholdDidChange. + + * macfont.m (macfont_update_antialias_threshold): Remove static. + + * macfont.h (macfont_update_antialias_threshold): Declare. + + 2014-07-21 Eli Zaretskii <eliz@gnu.org> + + * w32select.c (setup_windows_coding_system): + Apply CODING_ANNOTATION_MASK to the common_flags member of struct + coding_system. Reported by martin rudalics <rudalics@gmx.at>. + + * w16select.c (Fw16_get_clipboard_data): + Apply CODING_ANNOTATION_MASK to the common_flags member of struct + coding_system. + + * xdisp.c (init_iterator): Initialize it->stop_charpos to the + buffer position where we are to start the iteration. + (handle_invisible_prop): Record in it->stop_charpos the position + where the invisible text ends. (Bug#18035) + (hscroll_window_tree): Don't try hscrolling windows whose cursor + row has zero buffer position as their start position. + Reported by martin rudalics <rudalics@gmx.at>. + + * xdisp.c (move_it_vertically_backward, move_it_by_lines): Prevent + infinite looping in redisplay when display lines don't have enough + space to display even a single character. (Bug#18036) + + 2014-07-20 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.h (struct frame) [USE_X_TOOLKIT]: New member shell_position. + * xfns.c (x_window): Use it to allow xfree later. + (x_encode_text): Drop 3rd arg; unused. Tweak comment and adjust users + where appropriate. Use bool for booleans and remove redundant checks. + (Fx_backspace_delete_keys_p): Use XkbFreeKeyboard; explain why. + * xterm.c (x_free_frame_resources): Free shell_position. + + 2014-07-19 K. Handa <handa@gnu.org> + + * xfaces.c (realize_x_face): Call font_load_for_lface with no + mandatory font spec (Bug#17973). + + 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca> + + * font.c (font_score): Return the worst score if the size of + ENTITY is wrong by more than a factor 2 (Bug#17973). + + 2014-07-18 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.c (frame_unspecified_color): New function + refactored out from ... + (Fframe_parameters, Fframe_parameter): ... adjusted users. + (x_fullscreen_adjust, set_frame_param): Move Windows-specific + function to ... + * w32term.c (x_fullscreen_adjust, set_frame_param): ... static here. + * frame.h (x_fullscreen_adjust) [HAVE_NTGUI]: + * lisp.h (set_frame_param): Remove prototype. + * xterm.c (x_display_pixel_width, x_display_pixel_height): Now ... + * xterm.h (x_display_pixel_width, x_display_pixel_height): ... + inlined from here. + + Prefer 'x_display_info *' to 'Display *' in X selection code. + This helps to avoid unneeded calls to x_display_info_for_display. + * xterm.h (struct selection_input_event): Record 'x_display_info *' + instead of 'Display *'. + (SELECTION_EVENT_DPYINFO): New macro. + (SELECTION_EVENT_DISPLAY): Now inline function to prohibit using + it as an lvalue. Mention this in comment. + * xterm.c (handle_one_xevent): Use SELECTION_EVENT_DPYINFO. + * xselect.c (x_get_window_property_as_lisp_data, x_atom_to_symbol) + (selection_data_to_lisp_data, receive_incremental_selection): + Convert to use 'x_display_info *'. Adjust users where appropriate. + (lisp_data_to_selection_data): Likewise. Also pass 'struct + selection data *' as last arg to not return values in args. + (unexpect_property_change): Use common removal technique. + + 2014-07-17 Dmitry Antipov <dmantipov@yandex.ru> + + * print.c (print_preprocess): Adjust to match changed + sub char-table structure and avoid crash (Bug#18038). + + * data.c (wrong_choice): Not static any more. + * lisp.h (wrong_choice): Add prototype. + * frame.h (struct frame) [USE_X_TOOLKIT || HAVE_NTGUI]: + Declare namebuf as such. Tweak comment. + [USE_GTK]: Likewise for tool_bar_position. + (fset_tool_bar_position) [USE_GTK]: Ditto. + (FRAME_TOOL_BAR_POSITION): New macro. + * frame.c (x_report_frame_params): + * gtkutil.c (update_frame_tool_bar): + * xfns.c (Fx_create_frame): Use it. + (x_set_tool_bar_position): Add meaningful diagnostic messages. + + 2014-07-16 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (decode_mode_spec): Call file-remote-p on the current + buffer's default-directory only if it is a string. (Bug#17986) + + 2014-07-16 Dmitry Antipov <dmantipov@yandex.ru> + + More precise control over values of some buffer-local variables. + * keyboard.c (Qvertical_scroll_bar): + * frame.c (Qleft, Qright): Move to ... + * buffer.c (Qleft, Qright, Qvertical_scroll_bar): ... here. + * buffer.c (Qchoice, Qrange, Qoverwrite_mode, Qfraction): New symbols. + (syms_of_buffer): DEFSYM all of the above, attach special properties. + Use special symbols to DEFVAR_PER_BUFFER overwrite-mode, + vertical-scroll-bar, scroll-up-aggressively + and scroll-down-aggressively. + * buffer.h (Qchoice, Qrange, Qleft, Qright, Qvertical_scroll_bar): + Add declarations. + * nsfns.m, frame.h (Qleft, Qright): + * nsterm.m (Qleft): Remove declarations. + * gtkutil.c (toplevel): Include buffer.h. + * data.c (wrong_choice, wrong_range): New functions. + (store_symval_forwarding): Handle special properties of buffer-local + variables and use functions from the above to signal error, if any. + + * frame.h (enum fullscreen_type) [HAVE_WINDOW_SYSTEM]: Use more natural + values. Add comment. + (struct frame): Re-arrange layout to avoid extra padding and use bit + fields for output_method, want_fullscreen and vertical_scroll_bar_type. + (FRAME_VERTICAL_SCROLL_BAR_TYPE, FRAME_HAS_VERTICAL_SCROLL_BARS) + (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT) + (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT) [!HAVE_WINDOW_SYSTEM]: + Define as no-ops because there are no scroll bars anyway. + * frame.c (make_frame, make_terminal_frame, make_initial_frame): + Adjust users. + + * font.c (fset_font_data) [HAVE_XFT || HAVE_FREETYPE]: + Add convenient setter. + (font_put_frame_data, font_get_frame_data): Use it. + + 2014-07-15 Daiki Ueno <ueno@gnu.org> + + * nsgui.h (XCHAR2B_BYTE1): Add missing parentheses around + pointer argument, before dereferencing. + (XCHAR2B_BYTE2): Likewise. + + 2014-07-15 Dmitry Antipov <dmantipov@yandex.ru> + + * xmenu.c (toplevel): Use LWLIB_ID for next_menubar_widget_id. + (pop_down_menu) [USE_X_TOOLKIT]: Accept integer arg. + (create_and_show_popup_menu, create_and_show_dialog) [USE_X_TOOLKIT]: + Use record_unwind_protect_int and avoid consing. + (syms_of_xmenu) [USE_X_TOOLKIT]: Declare WIDGET_ID_TICK_START. + + * regex.c (re_search_2): Use ssize_t to avoid integer overflow. + + 2014-07-14 Paul Eggert <eggert@cs.ucla.edu> + + Use binary-io module, O_BINARY, and "b" flag (Bug#18006). + * callproc.c (create_temp_file): Use mkostemp's O_BINARY flag. + * emacs.c [MSDOS]: + * emacs.c (main) [DOS_NT]: Don't mess with _fmode. + (main) [MSDOS]: Use SET_BINARY instead of setmode. + * minibuf.c: Include binary-io.h instead of fcntl.h. + (read_minibuf_noninteractive): + Use set_binary_mode instead of handcrafted code. + Don't call emacs_set_tty if emacs_get_tty failed. + * sysdep.c, systty.h (emacs_get_tty): Return int, not void. + * sysdep.c (emacs_open, emacs_pipe): Use O_BINARY. + * w32.c (pipe2): Adjust eassert to include O_BINARY. + + * macros.c (Fstart_kbd_macro): Avoid need for overflow check. + This works around a GCC compiler bug when Emacs is configured with + --enable-gcc-warnings. + + 2014-07-14 Dmitry Antipov <dmantipov@yandex.ru> + + * lisp.h (CHECK_VECTOR_OR_STRING): Return number of elements + or characters in string, respectively. Add comment. + * fringe.c (Fdefine_fringe_bitmap): + * fns.c (Fsubstring, substring_both): Use it. + * keymap.c (Fdefine_key, Flookup_key): + * macros.c (Fstart_kbd_macro): Likewise. Avoid call to Flength. + + * term.c (tty_menu_add_pane, tty_menu_add_selection): + Use menu_item_width. + (tty_menu_show): Simplify because tty_menu_create never return NULL. + + 2014-07-13 Paul Eggert <eggert@cs.ucla.edu> + + Improve behavior of 'bzr up; cd src; make -k'. + * Makefile.in (top_srcdir): New var. + (ntsource, lispsource, ALL_CFLAGS, gl-stamp, emacs.res): + Use '$(top_srcdir)' instead of '$(srcdir)/..'; + its expansion is a bit shorter. + (../config.status): Actually build config.status instead of + just complaining. + (ACLOCAL_INPUTS, AUTOCONF_INPUTS): + New macros, copied and relocated from ../Makefile.in. + ($(top_srcdir)/aclocal.m4, $(top_srcdir)/configure, config.in) + (../config.status, Makefile): New dependencies and rules, + copied with relocation from ../Makefile.in. This should be more + likely to rebuild the build machinery properly if you do a 'make' + in the src directory. + + 2014-07-12 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (display_line): Don't call FETCH_BYTE with argument less + than 1. (Bug#17962) + + * w32fns.c (Fx_file_dialog): Mention in the doc string the + behavior on Windows 7 and later when the function is repeatedly + invoked with the same value of DIR. (Bug#17950) + + * xfns.c (Fx_file_dialog) [USE_MOTIF, USE_GTK]: Update the doc + string to match the one in w32fns.c. + + * minibuf.c (read_minibuf_noninteractive) [WINDOWSNT]: Switch + stdin to binary mode only if it is connected to a terminal. + + 2014-07-11 Paul Eggert <eggert@cs.ucla.edu> + + Coalesce extern decls. + * minibuf.c (emacs_get_tty, emacs_set_tty, suppress_echo_on_tty): + * sysdep.c (emacs_get_tty, emacs_set_tty): + Move duplicate extern decls from here ... + * systty.h: ... to here, so that there's just one copy. + + 2014-07-11 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (changeFont:): Add ifdef NS_IMPL_COCOA. + + * nsfns.m (Fns_popup_font_panel): Ditto. + + 2014-07-11 Eli Zaretskii <eliz@gnu.org> + + * minibuf.c (read_minibuf_noninteractive): Finish reading on '\r', + not only on '\n'. + [WINDOWSNT]: Switch stdin to binary mode when not echoing input. + + * sysdep.c (emacs_get_tty, emacs_set_tty, suppress_echo_on_tty) + [DOS_NT]: Implement for WINDOWSNT. + + * systty.h (struct emacs_tty) [DOS_NT]: The struct member is now + unsigned. + + 2014-07-11 Michael Albinus <michael.albinus@gmx.de> + + * sysdep.c (suppress_echo_on_tty): New function. + * minibuf.c (read_minibuf_noninteractive): Use it. + + 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru> + + * alloc.c (Fmemory_info) [HAVE_LINUX_SYSINFO]: Return nil if + sysinfo failed. Adjust docstring. + + 2014-07-11 Eli Zaretskii <eliz@gnu.org> + + Implement memory-info for MS-DOS. + * dosfns.c (dos_memory_info): New function. + * dosfns.h (dos_memory_info): Add prototype. + * alloc.c (Fmemory_info) [MSDOS]: Call dos_memory_info. + * vm-limit.c (get_lim_data) [MSDOS]: Call dos_memory_info, instead + of doing some of its job. + + * minibuf.c (read_minibuf_noninteractive) [WINDOWSNT]: Don't + reference termios structure members. + + 2014-07-11 Michael Albinus <michael.albinus@gmx.de> + + * sysdep.c (emacs_get_tty, emacs_set_tty): Make them externally visible. + + * minibuf.c (top): Include systty.h. Declare external + emacs_get_tty and emacs_set_tty. + (Vread_hide_char): New lisp variable. + (read_minibuf_noninteractive): Hide characters with + Vread_hide_char if it is a character. (Bug#17839) + + 2014-07-10 Eli Zaretskii <eliz@gnu.org> + + Implement memory-info for MS-Windows. + * w32.c (w32_memory_info): New function. + * w32.h (w32_memory_info): Prototype it. + * alloc.c (Fmemory_info) [WINDOWSNT]: Call it. + + 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru> + + * coding.h (struct coding_system): Remove 'error_positions' (unused) + and 'errors' (set but unused) fields. Use bitfields for 'eol_seen', + 'mode', 'common_flags' and 'result' fields, adjust layout to avoid + extra padding and shrink struct coding_system by 56 bytes (x86_64). + * coding.c (decode_coding_utf_8, decode_coding_utf_16) + (decode_coding_emacs_mule, decode_coding_iso_2022, decode_coding_sjis) + (decode_coding_big5, decode_coding_charset, decode_coding) + (encode_coding): Adjust users. + + * alloc.c (Fmemory_info): New function. + + 2014-07-09 Paul Eggert <eggert@cs.ucla.edu> + + * syntax.c (back_comment): Use more-natural location for label. + + * font.c, font.h (font_unparse_fcname): Now static. + Define only if HAVE_XFT || HAVE_FREETYPE || HAVE_NS. + + 2014-07-09 Dmitry Antipov <dmantipov@yandex.ru> + + Next minor cleanup of font subsystem. + * font.h (enum font_property_index): Remove FONT_ENTITY_INDEX (no + users) and FONT_FORMAT_INDEX (set by a few font drivers but never + really used). + (FONT_ENTITY_NOT_LOADABLE, FONT_ENTITY_SET_NOT_LOADABLE): Remove; + unused. + * ftfont.h (ftfont_font_format): Remove prototype. + * ftfont.c (ftfont_font_format): Remove; now unused. + (ftfont_open): + * nsfont.m (nsfont_open): + * w32font.c (w32font_open_internal): + * w32uniscribe.c (uniscribe_open): + * xfont.c (xfont_open): + * xftfont.c (xftfont_open): All users changed. + + * coding.c (ALLOC_CONVERSION_WORK_AREA): Prefer ptrdiff_t to int and + so avoid integer overflow if decoded gap size exceeds INT_MAX bytes. + + 2014-07-09 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (move_it_to): Adjust calculation of line_start_x to what + x_produce_glyphs does when it generates a stretch glyph that + represents a TAB. (Bug#17969) + + * xdisp.c (pos_visible_p): If CHARPOS is at beginning of window, + and there is a display property at that position, don't call + move_it_to to move to a position before window start. (Bug#17942) + Fix condition for finding CHARPOS by the first call to move_it_to. + (Bug#17944) + + 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca> + + * syntax.c (find_defun_start): Try the cache even + if !open_paren_in_column_0_is_defun_start. + (back_comment): If find_defun_start was pessimistic, use the + scan_sexps_forward result to improve the cache (bug#16526). + + 2014-07-09 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (redisplay_window): If redisplay of a window ends up + with point in a partially visible line at end of the window, make + sure the amended position of point actually has smaller Y + coordinate; if not, give up and scroll the display. (Bug#17905) + + * window.c (window_scroll_pixel_based): When point ends up at the + last fully visible line, don't let move_it_to stop at the left + edge of the line and dupe us into thinking point is inside the + scroll margin. + + * w32.c (network_interface_info): Make sure the argument is a + Lisp string. + + 2014-07-08 Paul Eggert <eggert@cs.ucla.edu> + + * process.c (read_and_dispose_of_process_output): Fix typo + in previous patch: we want nonnegative fds, not nonzero fds. + + 2014-07-08 Dmitry Antipov <dmantipov@yandex.ru> + + * chartab.c (char_table_translate): Move to... + * character.h (char_table_translate): ... inline function here. + Avoid Faref and assume that args are always valid. This helps to + speedup search, which is especially important for a huge buffers. + * lisp.h (char_table_translate): Remove prototype. + + * nsfont.m (nsfont_close): Free glyphs and metrics arrays as well. + * font.c (font_build_object) [HAVE_XFT || HAVE_FREETYPE || HAVE_NS]: + New function, with an intention to avoid code duplication between + a few font drivers. + * font.h (font_build_object) [HAVE_XFT || HAVE_FREETYPE || HAVE_NS]: + Add prototype. + * ftfont.c (ftfont_open): + * macfont.m (macfont_open): + * xftfont.c (xftfont_open): Use it. + + 2014-07-08 Paul Eggert <eggert@cs.ucla.edu> + + * process.c: Add sanity checks for file descriptors (Bug#17844). + (wait_reading_process_output, Fprocess_filter_multibyte_p): + Check that infd is nonnegative before using it as an fd. + (read_and_dispose_of_process_output, Fprocess_send_eof): + Likewise, for outfd. + (wait_reading_process_output): Omit unnecessary check of infd. + + 2014-07-07 Paul Eggert <eggert@cs.ucla.edu> + + Minor fixups related to usage of the 'long' type. + * gnutls.c (emacs_gnutls_handshake): + * xfaces.c (dump_realized_face): + Work even if 'long' is narrower than 'void *'. + * termcap.c (scan_file): + * xselect.c (x_decline_selection_request) + (x_reply_selection_request, x_get_window_property): + * xterm.c (x_set_frame_alpha): + Remove unnecessary 'L' suffixes of integer constants. + * xfns.c (hack_wm_protocols): + * xselect.c (x_fill_property_data): + * xterm.c (x_set_offset, x_set_window_size_1, x_make_frame_invisible): + Remove unnecessary casts to 'long'. + (set_machine_and_pid_properties): Don't assume pid_t fits in 32 bits. + + Minor ImageMagick safety fixes. + * image.c (imagemagick_compute_animated_image): + Remove useless assignment to local. Avoid problems if dest_width is 0. + (imagemagick_load_image): Use int for pixel counts that can't + exceed INT_MAX. Avoid problem if PixelGetNextIteratorRow returns + a row width greater than the image width (or greater than LONG_MAX!). + + 2014-07-04 K. Handa <handa@gnu.org> + + * coding.c (MIN_CHARBUF_SIZE): Delete it. + (MAX_CHARBUF_EXTRA_SIZE): New macro. + (ALLOC_CONVERSION_WORK_AREA): Use MAX_CHARBUF_EXTRA_SIZE. + + 2014-07-04 Dmitry Antipov <dmantipov@yandex.ru> + + * font.h (struct font_driver): Remove get_outline and free_outline; + not used by any font driver. + * ftfont.c (ftfont_driver): + * macfont.m (macfont_driver): + * nsfont.m (nsfont_driver): + * w32font.c (w32font_driver): + * w32uniscribe.c (uniscribe_font_driver): + * xfont.c (xfont_driver): Related users changed. + * xselect.c (x_get_window_property): Use convenient xmalloc. + Call to xfree only if some data was really allocated. + + 2014-07-03 Dmitry Antipov <dmantipov@yandex.ru> + + On MS-Windows, display busy cursor on all GUI frames. + This is similar to what we have on X. Quickly tested by Dani Moncayo. + * w32fns.c (toplevel): Remove hourglass_hwnd; no longer used. + (w32_show_hourglass, w32_hide_hourglass, w32_note_current_window): + Likewise. + (hide_hourglass, show_hourglass): Redesign to match X counterparts. + * xdisp.c (start_hourglass): Remove Windows-specific bits. + + 2014-07-03 Dmitry Antipov <dmantipov@yandex.ru> + + Use convenient alists to manage per-frame font driver-specific data. + * frame.h (struct frame): Rename font_data_list to... + [HAVE_XFT || HAVE_FREETYPE]: ... font_data, which is a Lisp_Object now. + * font.h (struct font_data_list): Remove; no longer need a special + data type. + (font_put_frame_data, font_get_frame_data) [HAVE_XFT || HAVE_FREETYPE]: + Adjust prototypes. + * font.c (font_put_frame_data, font_get_frame_data) + [HAVE_XFT || HAVE_FREETYPE]: Prefer alist functions to ad-hoc list + management. + * xftfont.c (xftfont_get_xft_draw, xftfont_end_for_frame): + Related users changed. + * ftxfont.c (ftxfont_get_gcs, ftxfont_end_for_frame): Likewise. + Prefer convenient xmalloc and xfree. + + 2014-07-03 Eli Zaretskii <eliz@gnu.org> + + * dispnew.c (prepare_desired_row): Accept 2 additional arguments: + the window whose glyph row is being prepared and a flag whether it + is for mode/header line. Make sure the glyph row's marginal areas + are in sync with what the window wants. + (Bug#17892) + + * xdisp.c (display_line, display_mode_line): + Call prepare_desired_row with additional arguments, as appropriate. + + * dispextern.h (prepare_desired_row): Adjust prototype. + + 2014-07-03 Dmitry Antipov <dmantipov@yandex.ru> + + * xfaces.c (init_frame_faces): Always realize basic faces (Bug#17889). + * menu.c (Fx_popup_dialog): Set Vmenu_updating_frame to avoid crash + caused by xw_popup_dialog in daemon mode (Bug#17891). + + 2014-07-03 Eli Zaretskii <eliz@gnu.org> + + * frame.c (do_switch_frame): When switching to another TTY frame, + make sure FrameCols and FrameRows are in sync with the new frame's + data. (Bug#17875) + + 2014-07-02 Dmitry Antipov <dmantipov@yandex.ru> + + Shrink Lisp_Sub_Char_Table by preferring C integers to Lisp_Objects. + * lisp.h (struct Lisp_Sub_Char_Table): Use C integers for depth and + min_char slots. Adjust comment. + (enum char_table_specials): Rename from CHAR_TABLE_STANDARD_SLOTS. + Add SUB_CHAR_TABLE_OFFSET member. + (make_uninit_sub_char_table): New function. + (toplevel): Add compile-time assert to verify suitable member layout + in Lisp_Sub_Char_Table. + * alloc.c (mark_char_table): Add extra argument to denote char table + subtype. Adjust to match new layout of sub char-table. + (mark_object): Always mark sub char-tables with mark_char_table. + * chartab.c (make_sub_char_table, copy_sub_char_table) + (sub_char_table_ref, sub_char_table_ref_and_range, sub_char_table_set) + (sub_char_table_set_range, optimize_sub_char_table, map_sub_char_table) + (map_sub_char_table_for_charset, uniprop_table_uncompress): + All related users changed. + * lread.c (read1): Adjust to match new layout of sub char-table. + * print.c (print_object): Likewise (Bug#17898). + + 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca> + + * keymap.c (get_keyelt): Simplify. + (copy_keymap_item): Remove left-over code for when we had + key-shortcut caches. + + 2014-06-30 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (judge): EmacsScroller: Move dealloc code here. + (dealloc): Remove for EmacsScroller. + + * nsterm.h (EmacsScroller): Remove dealloc. + + 2014-06-30 Eli Zaretskii <eliz@gnu.org> + + * coding.c (MIN_CHARBUF_SIZE): Enlarge to 32. (Bug#17881) + + 2014-06-30 Jan Djärv <jan.h.d@swipnet.se> + + * nsmenu.m (update_frame_tool_bar): Set wait_for_tool_bar to NO + when setNeedsDisplay is called so we don't trigger redisplay for every + tool bar update. + + * nsterm.m (any_help_event_p): New variable. + (mouseMoved:): Set any_help_event_p to YES if help event is + generated. Remove else with empty help event that triggered redisplay + for every mouse move. + (windowDidResignKey:): If any_help_event_p, generate empty help event. + + 2014-06-29 Dmitry Antipov <dmantipov@yandex.ru> + + * xfns.c (Qsuppress_icon): Remove; no real users. + (syms_of_xfns): Don't DEFSYM it. Remove ancient comments. + * w32fns.c (Qsuppress_icon): Remove, for the same reason. + (syms_of_w32fns): Don't DEFSYM it. + + 2014-06-29 Glenn Morris <rgm@gnu.org> + + * Makefile.in (ns-app): Mark as PHONY. + + 2014-06-28 Glenn Morris <rgm@gnu.org> + + * Makefile.in (mostlyclean): There are no libXMenu11.a, + liblw.a in this directory. + + 2014-06-28 Andreas Schwab <schwab@linux-m68k.org> + + * coding.c (encode_coding_utf_8): Correctly count produced_chars + also in unibyte case. (Bug#17865) + + 2014-06-28 K. Handa <handa@gnu.org> + + * coding.c (MAX_CHARBUF_SIZE): Rename from CHARBUF_SIZE. + (MIN_CHARBUF_SIZE): New macro. + (ALLOC_CONVERSION_WORK_AREA): New arg SIZE. Callers changed. + + 2014-06-27 Glenn Morris <rgm@gnu.org> + + * Makefile.in: Replace BOOTSTRAPEMACS sleight-of-hand + with an order-only dependence on bootstrap-emacs. (Bug#2151) + (.el.elc): Replace suffix rule with pattern rule. + (%.elc): New pattern rule, with order-only prerequisite. + ($(lisp)): No more need to depend on BOOTSTRAPEMACS. + ($(lispsource)/loaddefs.el): Use an order-only prerequisite + in place of BOOTSTRAPEMACS. + + 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru> + + * fns.c (Fcompare_strings): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE. + + 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru> + + Consistently use validate_subarray to verify substring. + * fns.c (validate_substring): Not static any more. Adjust to + use ptrdiff_t, not EMACS_INT, because string and vector limits + can't exceed ptrdiff_t even if EMACS_INT is wider. + (Fcompare_strings, Fsubstring, Fsubstring_no_properties) + (secure_hash): Adjust user. + * lisp.h (validate_subarray): Add prototype. + * coding.c (Fundecodable_char_position): + * composite.c (Fcomposition_get_gstring, Fcompose_string_internal): + Use validate_subarray. Adjust comment to mention substring. + + 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru> + + Do not allow out-of-range character position in Fcompare_strings. + * fns.c (validate_subarray): Add prototype. + (Fcompare_substring): Use validate_subarray to check ranges. + Adjust comment to mention that the semantics was changed. Also see + http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00447.html. + + 2014-06-24 Paul Eggert <eggert@cs.ucla.edu> + + Be more consistent about the 'Qfoo' naming convention. + * image.c (Fimagemagick_types): + * lisp.h (lisp_h_CHECK_TYPE, CHECK_TYPE, CHECK_ARRAY): + * process.c (Fmake_network_process): + Rename C local identifier 'Qfoo to avoid giving the false + impression that it stands for the symbol 'foo'. + + 2014-06-23 Dmitry Antipov <dmantipov@yandex.ru> + + Simplify and cleanup character conversion stuff. + * lisp.h (multibyte_char_to_unibyte, multibyte_char_to_unibyte_safe): + Remove prototypes. + * character.c (multibyte_char_to_unibyte) + (multibyte_char_to_unibyte_safe): Remove; no longer used. + * character.h (make_char): Remove; unused. + (CHAR_TO_BYTE8, CHAR_TO_BYTE_SAFE): Simplify. + (ASCII_BYTE_P): Remove; ASCII_CHAR_P does the same thing. + * buffer.c, charset.c, charset.h, cmds.c, coding.c, editfns.c: + * fileio.c, indent.c, insdel.c, keyboard.c, lread.c, print.c: + * search.c, term.c, xdisp.c, xterm.c: Related users changed. + + 2014-06-22 Mario Lang <mlang@delysid.org> + + * w32fns.c (Fw32_shell_execute): The the -> the. + + 2014-06-22 Dmitry Antipov <dmantipov@yandex.ru> + + * xmenu.c (mouse_position_for_popup): + * xselect.c (mouse_position_for_drop): Do not duplicate ... + * xfns.c (x_relative_mouse_position): ... and prefer this function. + * menu.c (Fx_popup_menu): + * xselect.c (x_handle_dnd_message): Adjust users. + * menu.h (mouse_position_for_popup): Remove prototype. + * xterm.h (x_relative_mouse_position): Add prototype. + * xterm.c (x_find_topmost_parent): Break from the loop and do not + call XFree if XQueryTree returns zero. + + 2014-06-21 Eli Zaretskii <eliz@gnu.org> + + * indent.c (Fvertical_motion): Doc fix. + Move to the goal column, if any, with a single call to + move_it_in_display_line, not in two calls. Doing this with two + calls causes move_it_in_display_line apply the line-prefix + handling twice instead of just once. (Bug#17823) + + 2014-06-21 Paul Eggert <eggert@cs.ucla.edu> + + Port to OS X ACLs (Bug#17810). + * fileio.c (Ffile_acl): Port to OS X, where acl_get_file (..., + ACL_TYPE_ACCESS) doesn't work. + + 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (read_key_sequence): Don't invoke Vprefix_help_command + before checking key-translation-map (bug#17659). + + 2014-06-21 Dmitry Antipov <dmantipov@yandex.ru> + + * font.c (font_make_object): Avoid dangling pointer which may + crash GC (Bug#17771). + + 2014-06-21 Eli Zaretskii <eliz@gnu.org> + + * image.c [5 < GIFLIB_MAJOR + (1 <= GIFLIB_MINOR)]: Declare the + prototype of DGifCloseFile as appropriate for older and newer + versions of giflib. + (gif_close): New function, encapsulates the differences in the + calling sequence of DGifCloseFile before v5.1.0 and after it. + (gif_load): Call gif_close instead of DGifCloseFile. Divulge the + error string where appropriate. (Bug#17790) + + * xdisp.c (Fmove_point_visually): Instead of testing for keyboard + macro execution, make sure point didn't move since last complete + redisplay, as the condition for using the glyph matrix + information. (Bug#17777) + + 2014-06-19 Dmitry Antipov <dmantipov@yandex.ru> + + Minor cleanup of fonset code. + * fontset.c (FONTSET_ID, set_fontset_id, FONTSET_NAME) + (set_fontset_name, FONTSET_ASCII, set_fontset_ascii) + (FONTSET_BASE, set_fontset_base, FONTSET_FRAME) + (set_fontset_frame, FONTSET_NOFONT_FACE, set_fontset_nofont_face) + (FONTSET_DEFAULT, set_fontset_default, FONTSET_FALLBACK) + (set_fontset_fallback): Reorder extra slots and avoid unused slots. + (free_realized_fontset): Remove because a no-op since 2008. + (free_face_fontset): Adjust user. + (syms_of_fontset): Shrink fontset by one extra slot. + + 2014-06-17 Paul Eggert <eggert@cs.ucla.edu> + + Omit redundant extern decls. + Most of this patch is from Dmitry Antipov, in: + http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00263.html + * commands.h (update_mode_lines): + * frame.h (Qbackground_color, Qforeground_color) + (x_set_menu_bar_lines): + * ftfont.c (ftfont_font_format): + * intervals.h (Qkeymap, Qfont): + * keyboard.c (timer_check, safe_run_hooks, Qregion_extract_function): + * lisp.h (Ffboundp, Qnil, Qt, Qlambda, Qintegerp, Qwholenump) + (Qsymbolp, Qlisp, Qconsp, Qstringp, Qarrayp, Qbufferp, Qmarkerp) + (Qvectorp, Qbuffer_or_string_p, Qchar_table_p, Qvector_or_char_table_p) + (Qfloatp, Qnumberp, Qfont_spec, Qfont_entity, Qfont_object) + (Fbyteorder, wrong_type_argument, Fmax_char, syms_of_composite) + (Fidentity, extract_float, init_display, syms_of_display, Qdisplay): + (Qimage, Qbox, redisplay_preserve_echo_area, char_table_ref) + (char_table_set, char_table_translate, Qautoload, Qbottom, Qtop) + (Qvisible, Qfont, Qfront_sticky, Qrear_nonsticky, init_sigio) + (Qtool_bar, Qheader_line): + * macros.c (Fexecute_kbd_macro): + * xdisp.c (Ftool_bar_height, Ftool_bar_height): + * xterm.c (x_delete_terminal, XSetIMValues): + * xterm.h (x_set_window_size, x_query_color, x_get_focus_frame) + (x_implicitly_set_name, popup_activated) + (widget_store_internal_border): + Remove redundant decls. + * frame.c [USE_X_TOOLKIT]: Include widget.h. + * keyboard.c (Fexit_recursive_edit, Fabort_recursive_edit): + Remove _Noreturn, as make-docfile now does that for us. + * lisp.h (DEFUN): Don't declare fnname here; rely on make-docfile. + (Qregion_extract_function): New decl. + * window.c, xfns.c: Include menu.h. + + 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * callint.c (Fcall_interactively): Fix up last change (bug#17701). + + 2014-06-17 Dmitry Antipov <dmantipov@yandex.ru> + + * fileio.c (Fread_file_name): Do not pass redundant args and ... + * callint.c (read_file_name): ... convert to static here. + * lisp.h (Fread_file_name): Do not EXFUN it. + (STRING_COPYIN): Remove; unused. + * composite.c (CHAR_COMPOSABLE_P): Replace unsafe macro with ... + (char_composable_p): ... static function. All users changed. + * eval.c (toplevel): Remove redundant #include directives. + * xterm.c (x_initialize): Add static to match prototype. + * ccl.c (Fccl_execute_on_string): + * font.c (fon_intern_prop): Use make_specified_string. + + 2014-06-16 Paul Eggert <eggert@cs.ucla.edu> + + * Makefile.in (ns-app): Fix typo that broke build on OS X. + Reported by David Caldwell in: + http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00251.html + + 2014-06-16 Dmitry Antipov <dmantipov@yandex.ru> + + Do not ask for XRender extension each time XFT font is opened. + * xftfont.c (xftfont_open): Move call to XRenderQueryExtension ... + * xterm.c (x_term_init) [HAVE_XFT]: ... to here. Adjust comment. + + 2014-06-15 Glenn Morris <rgm@gnu.org> + + * Makefile.in: Use `make -C' rather than `cd && make' throughout. + + 2014-06-15 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (Fmove_point_visually): Don't use the glyph matrix + information if we are in the middle of executing a keyboard macro, + since redisplay doesn't update the screen until the macro is + finished. (Bug#17777) + + * alloc.c (cleanup_vector): Don't dereference a font driver + pointer if it is NULL. (Bug#17771) + + 2014-06-13 Glenn Morris <rgm@gnu.org> + + * Makefile.in ($(leimdir)/leim-list.el, $(srcdir)/macuvs.h) + ($(lispsource)/international/charprop.el) + ($(libsrc)/make-docfile$(EXEEXT), $(lwlibdir)/liblw.a) + ($(oldXMenudir)/libXMenu11.a, ns-app, .el.elc) + ($(lispsource)/loaddefs.el, bootstrap-emacs$(EXEEXT)): + GNU make automatically passes command-line arguments to sub-makes. + + 2014-06-13 Paul Eggert <eggert@cs.ucla.edu> + + Avoid hangs in accept-process-output (Bug#17647). + * lisp.h, process.c (wait_reading_process_input): + Return int, not bool. All uses changed. + * process.c (SELECT_CANT_DO_WRITE_MASK): + Remove macro, replacing with ... + (SELECT_CAN_DO_WRITE_MASK): ... new constant, with inverted sense. + All uses changed. + (status_notify): New arg WAIT_PROC. Return int, not void. + All uses changed. + + 2014-06-13 Eli Zaretskii <eliz@gnu.org> + + * menu.c (Fx_popup_menu): Don't call the frame's menu_show_hook if + the frame is the initial frame, because the hook is not set up + then, and Emacs crashes. + Reported by Fabrice Popineau <fabrice.popineau@gmail.com>. + + 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca> + + * keymap.c (silly_event_symbol_error): Don't recommend the use + of strings. + + 2014-06-11 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (set_cursor_from_row): Fix an off-by-one error when + matching overlay strings with 'cursor' property against buffer + positions traversed in the glyph row. (Bug#17744) + + 2014-06-11 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.h (EmacsApp): Always compile in shouldKeepRunning, isFirst + on Cocoa. + + * nsterm.m (run): Always compile for Cocoa. Use runtime check to + determine 10.9 (Bug#17751). + + * macfont.m (macfont_draw): Positions were not freed. + + 2014-06-10 Dmitry Antipov <dmantipov@yandex.ru> + + * dispextern.h (PREPARE_FACE_FOR_DISPLAY): Remove as a duplicate of ... + * xfaces.c (prepare_face_for_display) [HAVE_WINDOW_SYSTEM]: ... this + function. Also adjust comment. + * fringe.c, w32term.c, xdisp.c, xterm.c: All users changed. + + * dispextern.h (struct face) [HAVE_XFT]: Ifdef 'extra' member. + * font.c (font_done_for_face): + * xfaces.c (realize_non_ascii_face): Adjust user. + * font.h (struct font_driver): Convert 'prepare_face' to return + void because its return value is never used anyway. + * xfont.c (xfont_prepare_face): Return void. + * xftfont.c (xftfont_prepare_face): Likewise. Use xmalloc. + (xftfont_done_face): Use xfree. + + * dispextern.h (last_tool_bar_item): Remove declaration. + * frame.h (struct frame): New member last_tool_bar_item. + * frame.c (make_frame): Initialize it. + * xdisp.c (toplevel): Remove last_tool_bar_item. + (handle_tool_bar_click, note_tool_bar_highlight): + * w32term.c (w32_read_socket, w32_initialize): + * xterm.c (handle_one_xevent, x_initialize): Adjust users. + + * frame.h (window_system_available) [!HAVE_WINDOW_SYSTEM]: Always false. + * frame.c (window_system_available) [HAVE_WINDOW_SYSTEM]: Now here. + + 2014-06-09 Paul Eggert <eggert@cs.ucla.edu> + + Say (accept-process-output P)'s result pertains to P if P is non-nil. + * process.c (Faccept_process_output) + (wait_reading_process_output): Mention that if PROCESS is non-nil, + the return value is about PROCESS, not about other processes. + + 2014-06-09 Dmitry Antipov <dmantipov@yandex.ru> + + Further adjustments to mark_object and friends. + Now the mark_object's stack is just 32 bytes on a 64-bit + system, which means extra 20% off the stack usage. + * alloc.c (mark_save_value): As before, refactored out from ... + (mark_object): ... adjusted user. Also add comment. + + 2014-06-09 Paul Eggert <eggert@cs.ucla.edu> + + Fix core dump after a dropped X connection (Bug#17704). + * sysdep.c (stuff_char): Don't abort merely because the selected frame + is dead, as we may be shutting down. + + 2014-06-08 Glenn Morris <rgm@gnu.org> + + * fileio.c (write-region-inhibit-fsync): Doc tweak. + + * data.c (Flss, Fgtr, Fleq, Fgeq): Doc tweaks. + + 2014-06-08 Paul Eggert <eggert@cs.ucla.edu> + + If a C name must be extern on some platforms, make it extern on all. + * dispextern.h (set_vertical_scroll_bar, erase_phys_cursor) + (load_color): + * font.h (ftxfont_driver) [HAVE_XFT]: + * keyboard.h (menu_items_inuse, ignore_mouse_drag_p, make_ctrl_char): + * lisp.h (get_frame_param): + * menu.h (tty_menu_show): + * process.h (conv_sockaddr_to_lisp, catch_child_signal): + * termhooks.h (encode_terminal_code): + * xterm.h (x_menu_wait_for_event): + Always declare. + * frame.c (get_frame_param): + * fringe.c (max_used_fringe_bitmap): + * ftxfont.c (ftxfont_driver): + * keyboard.c (ignore_mouse_drag_p, make_ctrl_char): + * menu.c (menu_items_inuse): + * process.c (conv_sockaddr_to_lisp, catch_child_signal): + * term.c (encode_terminal_code, tty_menu_show): + * xdisp.c (set_vertical_scroll_bar, erase_phys_cursor): + * xfaces.c (load_color): + * xmenu.c (x_menu_wait_for_event): + Now always extern. + + 2014-06-08 Dmitry Antipov <dmantipov@yandex.ru> + + Change object marking routines to minimize stack usage. + This change moves a few cold paths from mark_object to NO_INLINE + functions and adjusts symbol marking loop. According to GCC 4.8.2 + -Wstack-usage, this reduces mark_object's stack usage from 80 to + 48 bytes on a 64-bit system. For a long byte-force-recompile runs, + stack usage at the mark phase is reduced up to 28%. Surprisingly, + it also gains up to 3% in speed (with default '-O2 -g3' flags). + * alloc.c (mark_compiled, mark_localized_symbol): New functions, + refactored out from ... + (mark_object): ... adjusted user. Also mark symbols in a tight + inner loop. + (mark_face_cache): Add NO_INLINE. + + 2014-06-08 Eli Zaretskii <eliz@gnu.org> + + * sysdep.c (reset_sys_modes): Use cursorX, not curX, as the latter + contains garbage on WINDOWSNT (which could potentially infloop at + exit). + + Minimize cursor motion during TTY menu updates. + * term.c (tty_menu_display): Don't position cursor here. + Instead, pass the cursor coordinates to update_frame_with_menu. + (tty_menu_activate): Send the hide cursor command only once in an + iteration through the outer 'while' loop. + + * dispnew.c (update_frame_1): Accept an additional argument + SET_CURSOR_P, and position the cursor at the end of the frame + update only if that argument is non-zero. All callers changed to + provide the additional argument as non-zero, except for + update_frame_with_menu. + (update_frame_with_menu): Accept 2 additional arguments ROW and + COL; if they are non-negative, instruct update_frame_1 not to + position the cursor, and instead position it according to ROW and COL. + + * dispextern.h (update_frame_with_menu): Update prototype. + + 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * callproc.c (call_process): Don't check read-only if we don't insert + anything (bug#17666). + + 2014-06-08 Eli Zaretskii <eliz@gnu.org> + + * dispnew.c (update_frame_with_menu): Set display_completed. + + 2014-06-07 Eli Zaretskii <eliz@gnu.org> + + * term.c (tty_menu_show) [WINDOWSNT]: Make tty_menu_show extern + only for WINDOWSNT. + * menu.h (tty_menu_show) [WINDOWSNT]: Declare extern only for WINDOWSNT. + + 2014-06-06 Paul Eggert <eggert@cs.ucla.edu> + + * term.c (tty_menu_show) [!HAVE_NTGUI]: Now static. + * menu.h (tty_menu_show) [!HAVE_NTGUI]: Omit extern decl. + + 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * window.c (Frecenter): Signal an error if window-buffer is not + current-buffer. + + * keyboard.c (make_lispy_position): Don't include a buffer position in + mode/header-line mouse events. + + * keyboard.c (read_char): Handle (t . <event>) in the second use of + Vunread_command_events (bug#17650). + + 2014-06-06 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.c (x_setup_pointer_blanking): + Conditionally probe Xfixes until this stuff is stabilized (Bug#17609). + + 2014-06-05 Dmitry Antipov <dmantipov@yandex.ru> + + * keyboard.c, process.c: Do not define POLL_FOR_INPUT here + because it will be defined in generated config.h if needed. + + 2014-06-04 Dmitry Antipov <dmantipov@yandex.ru> + + Use terminal-specific hooks to display popup dialogs. + * termhooks.h (struct terminal): New field popup_dialog_hook. + * menu.c (emulate_dialog_with_menu): New function, refactored from ... + (Fx_popup_dialog): ... adjusted user. Also remove old #if 0 + code and use popup_dialog_hook. + * nsmenu.m (ns_popup_dialog): Make hook-compatible. + * nsterm.h (ns_popup_dialog): Adjust prototype. + * nsterm.m (ns_create_terminal): + * w32term.c (w32_create_terminal): + * xterm.c (x_create_terminal) [USE_X_TOOLKIT || USE_GTK]: + Setup popup_dialog_hook. + + 2014-06-04 Eli Zaretskii <eliz@gnu.org> + + * w32heap.c (report_temacs_memory_usage): Improve the report by + reporting the large blocks that are actually occupied at dump time. + + * w32console.c (initialize_w32_display): Set the console + menu_show_hook, otherwise TTY menus are broken on w32. + + 2014-06-04 Dmitry Antipov <dmantipov@yandex.ru> + + Use terminal-specific hooks to display menus. + * termhooks.h (struct terminal): New field menu_show_hook. + * menu.h (<anonymous enum>): Bit flags for menu hooks. + (x_menu_show, w32_menu_show, ns_menu_show, tty_menu_show): + Adjust prototypes. + * menu.c (Fx_popup_menu): Use bit flags and menu_show_hook. + * nsmenu.m (ns_menu_show): + * w32menu.c (w32_menu_show): + * xmenu.c (x_menu_show): + * term.c (tty_menu_show): Adjust to use bit flags. + (set_tty_hooks): Set menu_show_hook. + * xterm.c (x_create_terminal): + * nsterm.m (ns_create_terminal): + * msdos.c (initialize_msdos_display): + * w32term.c (w32_create_terminal): Likewise. + + 2014-06-03 Juanma Barranquero <lekktu@gmail.com> + + * w32heap.c (DUMPED_HEAP_SIZE) [!_WIN64]: Reduce to 11 MB. + + 2014-06-03 Eli Zaretskii <eliz@gnu.org> + + * sysselect.h (fd_CLR, fd_ISSET, fd_SET, FD_CLR, FD_ISSET) + (FD_SET): Don't define on WINDOWSNT. + + 2014-06-03 Paul Eggert <eggert@cs.ucla.edu> + + * emacs.c: Include "sysselect.h", to define its inline functions. + Reported by Glenn Morris in: + http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00077.html + + Do not require libXt-devel when building with gtk. + * gtkutil.h, menu.h: Include lwlib-widget.h, not lwlib-h, to avoid + dependency on libXt-devel. + * menu.h [HAVE_NTGUI]: Include lwlib-widget.h in this case too. + (enum button_type, widget_value) [HAVE_NTGUI]: Remove, as + lwlib-widget.h now does this. + * nsmenu.m (ns_menu_show): "enabled" -> "enable" to fix typo. + + 2014-06-03 Paul Eggert <eggert@penguin.cs.ucla.edu> + + If ENABLE_CHECKING, range-check args of FD_CLR, FD_ISSET, FD_SET. + * process.c (add_read_fd, delete_read_fd, add_write_fd) + (delete_write_fd, wait_reading_process_output): + Remove now-redundant easserts. + * sysselect.h (SYSSELECT_H): New macro, to avoid double-inclusion woes. + Use INLINE_HEADER_BEGIN, INLINE_HEADER_END. + (fd_CLR, fd_ISSET, fd_SET): New inline functions. + (FD_CLR, FD_ISSET, FD_SET): Redefine in terms of these functions. + + 2014-06-03 Eli Zaretskii <eliz@gnu.org> + + * w32heap.c (DUMPED_HEAP_SIZE): Move from w32heap.h. Don't use + HEAPSIZE; instead, define separate values for the 32- and 64-bit builds. + (calloc): Don't undef, it is never defined. + (HEAP_ENTRY_SHIFT): Remove unused macro. + + * Makefile.in (C_HEAP_SWITCH): Remove. + (ALL_CFLAGS): Don't use $(C_HEAP_SWITCH). + + Fix MS-Windows build broken by menu changes on 2014-06-02. + * w32menu.c (w32_menu_show): Fix a typo that broke compilation. + + * menu.h (enum button_type, struct _widget_value) [HAVE_NTGUI]: + Define instead of including ../lwlib/lwlib.h, which causes + compilation errors due to missing X11 headers. + + 2014-06-03 Paul Eggert <eggert@cs.ucla.edu> + + * process.c (wait_reading_process_output): Omit incorrect test of + p->infd against zero. Add easserts for infd having a plausible value. + + 2014-06-02 Dmitry Antipov <dmantipov@yandex.ru> + + Adjust to match recent lwlib changes. + * menu.h (xmalloc_widget_value): Replace by ... + (make_widget_value): ... new prototype. + * menu.c (xmalloc_widget_value): Replace by ... + (make_widget_value): ... new function. + (free_menubar_widget_value_tree, digest_single_submenu): Adjust users. + * gtkutil.c (malloc_widget_value, free_widget_value): + (widget_value_free_list, malloc_cpt): Remove old lwlib-compatible code. + * keyboard.h (enum button_type, struct _widget_value): + * gtkutil.h, nsgui.h, w32gui.h (malloc_widget_value, free_widget_value): + Likewise. + * nsmenu.m (ns_update_menubar, ns_menu_show): + * w32menu.c (set_frame_menubar, w32_menu_show, w32_dialog_show): + * xmenu.c (set_frame_menubar, xmenu_show, x_dialog_show): Adjust users. + * xterm.h (XtParent) [USE_GTK]: Remove unused macro. + + 2014-06-02 Dmitry Antipov <dmantipov@yandex.ru> + + * image.c (x_query_frame_background_color) + [HAVE_PNG || HAVE_NS || HAVE_IMAGEMAGICK || HAVE_RSVG]: + Fix --enable-gcc-warnings compilation without image libraries. + + 2014-06-02 Eli Zaretskii <eliz@gnu.org> + + * w32heap.c (malloc_after_dump, realloc_after_dump): Update the + emulated break value only if it goes up. + (sbrk): Add assertion that the INCREMENT argument is strictly + zero. Improve and correct the commentary. + + 2014-06-02 Paul Eggert <eggert@cs.ucla.edu> + + Improve AIX-related merge from emacs-24. + * conf_post.h (FLEXIBLE_ARRAY_MEMBER): Fix comment. + * lisp.h (ENUMABLE) [!_AIX]: Don't define to 0 merely because we're + not on AIX; since we're on the trunk we can use enums more broadly. + + * frame.c (x_set_frame_parameters): Don't read uninitialized storage. + + 2014-06-02 Jan Djärv <jan.h.d@swipnet.se> + + * xterm.c (xg_scroll_callback): Remove position, for jump set portion + to min(value, whole). + + 2014-06-02 Paul Eggert <eggert@cs.ucla.edu> + + Bring back the changes to GDB-visible symbols, but only on AIX. + And only if it's not pre-4.2 GCC. + * lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros. + (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them. + (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): + New macros. + + 2014-06-02 Eli Zaretskii <eliz@gnu.org> + + * fileio.c (Finsert_file_contents): Call prepare_to_modify_buffer + with PT, not GPT. (Bug#16433) + + Revert last changes to GDB-visible symbols. + * lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): Delete macros. + (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Don't use them. + (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): + Delete macros. + + 2014-06-02 Glenn Morris <rgm@gnu.org> + + * cmds.c (Fself_insert_command): Allow zero repeat count. (Bug#17649) + + 2014-06-02 Paul Eggert <eggert@cs.ucla.edu> + + Fix port to 32-bit AIX with xlc (Bug#17598). + * alloc.c (gdb_make_enums_visible): Remove FLOAT_TO_STRING_BUFSIZE. + * conf_post.h (FLEXIBLE_ARRAY_MEMBER) [__IBMC__]: Don't define to empty. + * lisp.h (FLOAT_TO_STRING_BUFSIZE): Make it a macro, instead of an enum, + to work around a compiler bug in IBM xlc 12.1. + + 2014-06-02 Eli Zaretskii <eliz@gnu.org> + + * xterm.c (x_update_window_end): Don't invalidate the entire + mouse-highlight info, just signal frame_up_to_date_hook that mouse + highlight needs to be redisplayed. (Bug#17588) + + 2014-06-02 Paul Eggert <eggert@cs.ucla.edu> + + Port the GDB-visible symbols to AIX. + Without them, GDB doesn't work to debug Emacs, since the AIX linker + optimizes away the relevant external symbols. Use enums instead; + this suffices for the AIX port, which is 32-bit-only anyway. + * lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): New macros. + (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them. + (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): + New macros. + + Include sources used to create macuvs.h. + * Makefile.in ($(srcdir)/macuvs.h): New rule. + * macuvs.h: Use automatically-generated header. + + 2014-06-01 Paul Eggert <eggert@cs.ucla.edu> + + Port signal-handling to DragonFly BSD (Bug#17646). + * callproc.c, sysdep.c (block_child_signal, unblock_child_signal): + Move implementations from callproc.c to sysdep.c. + * process.h, syssignal.h (block_child_signal, unblock_child_signal): + Move declarations from process.h to syssignal.h. + + 2014-06-01 Juanma Barranquero <lekktu@gmail.com> + + * callint.c (Ffuncall_interactively): Add usage. + + 2014-06-01 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m (ns_appkit_version_str): Add os version for Cocoa. + + 2014-05-30 Eli Zaretskii <eliz@gnu.org> + + * w32heap.c (malloc_before_dump, malloc_after_dump) + (malloc_before_dump, realloc_after_dump, realloc_before_dump) + (mmap_alloc, mmap_realloc): Check for errors more thoroughly and + set errno where appropriate to emulate CRT functions. + + 2014-05-30 Dmitry Antipov <dmantipov@yandex.ru> + + Debugging facility to check whether 'const char *' points to + relocatable data of non-pure Lisp string. + * alloc.c (maybe_lisp_pointer): New function, refactored out of ... + (mark_maybe_pointer): ... adjusted user. + (relocatable_string_data_p): New function. + * lisp.h (relocatable_string_data_p): Add prototype. + * xdisp.c (message_with_string): If ENABLE_CHECKING, make sure + the pointer to relocatable Lisp data is not used. + + 2014-05-30 Paul Eggert <eggert@cs.ucla.edu> + + Don't let SIGINT handling block SIGCHLD indefinitely (Bug#17561). + * atimer.c (block_atimers): + * callproc.c (block_child_signal): Block SIGINT too; + otherwise, its handler might now unblock signals that it shouldn't. + * keyboard.c (read_char): Clear signal mask, since we may + be in a SIGINT handler, and many signals may be masked. + * keyboard.c (handle_interrupt): + * sysdep.c (handle_arith_signal): + Clear signal mask instead of just unblocking the signal that + was received, since several signals may be blocked at this point. + + 2014-05-29 Eli Zaretskii <eliz@gnu.org> + + * Makefile.in (TEMACS_POST_LINK): Remove target. + (emacs$(EXEEXT)): Remove $(ADDSECTION) from prerequisites. + (temacs$(EXEEXT)): Remove $(TEMACS_POST_LINK) from the recipe. + + 2014-05-29 Dmitry Antipov <dmantipov@yandex.ru> + + * xmenu.c (xdialog_show): Remove prototype, rename to + x_dialog_show, remove 2nd arg because it's always zero + and simplify accordingly. + (xw_popup_dialog): Adjust user. + * w32menu.c (w32_dialog_show): Adjust prototype, remove + 2nd arg because it's always zero and simplify accordingly. + (w32_popup_dialog): Adjust user. + + 2014-05-29 Eli Zaretskii <eliz@gnu.org> + + * w32heap.c (report_temacs_memory_usage): New function. + + * unexw32.c (unexec) [ENABLE_CHECKING]: + Call report_temacs_memory_usage. + + * w32heap.h (report_temacs_memory_usage): Add prototype. + + 2014-05-29 Paul Eggert <eggert@cs.ucla.edu> + + Don't substitute sigprocmask for pthread_sigmask (Bug#17561). + * Makefile.in (LIB_PTHREAD_SIGMASK): Remove; all uses removed. + + 2014-05-29 Eli Zaretskii <eliz@gnu.org> + + * buffer.c (init_buffer): Accept an argument 'initialized'. + [USE_MMAP_FOR_BUFFERS]: If 'initialized' is non-zero, reset + mmap_regions and mmap_fd, to avoid referencing stale data from the + dump phase. Add an assertion for buffer text of buffers created + in temacs before this function is called. (Bug#17622) + (mmap_regions_1, mmap_fd_1): Remove unused variables. + + * lisp.h (init_buffer): Update prototype. + + * emacs.c (main): Pass 'initialized' as the argument to init_buffer. + + 2014-05-29 Dmitry Antipov <dmantipov@yandex.ru> + + * alloc.c (Fgarbage_collect): Fix compilation with + GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE. + + 2014-05-29 Paul Eggert <eggert@cs.ucla.edu> + + * frame.c, frame.h (frame_char_to_pixel_position) + (frame_set_mouse_position): Now static, and made private in + frame.c rather than public in frame.h. + + 2014-05-28 Dmitry Antipov <dmantipov@yandex.ru> + + Refactor mouse positioning stuff to avoid code duplication. + * frame.h (frame_char_to_pixel_position): New function. + (x_set_mouse_position): Rename to... + (frame_set_mouse_position): ...new function. + (frame_set_mouse_pixel_position): Add prototype. + * nsterm.m, w32term.c, xterm.c (x_set_mouse_pixel_position): + Rename to frame_set_mouse_pixel_position. + * frame.c (Fset_mouse_pixel_position, Fset_mouse_position): + Adjust users. + * xterm.h, w32term.h ( x_set_mouse_position) + (x_set_mouse_pixel_position): Remove prototypes. + + 2014-05-28 Dmitry Antipov <dmantipov@yandex.ru> + + On X, always make pointer visible when deleting frame (Bug#17609). + * frame.c (frame_make_pointer_visible, frame_make_pointer_invisible): + Pass frame as arg. + * frame.h (frame_make_pointer_visible, frame_make_pointer_invisible): + Adjust prototypes. + * cmds.c (Fself_insert_command): Use SELECTED_FRAME. + * keyboard.c (gobble_input): If there is no terminal input error, + make sure the pointer is visible for all frames on this terminal. + * xterm.c (x_free_frame_resources): Enable pointer visibility if + it was previously disabled. + + 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca> + + * data.c (Fzerop): Move to Elisp. + (syms_of_data): Don't defsubr it. + * keyboard.c (echo_keystrokes_p): New function. + (read_char, record_menu_key, read_key_sequence): Use it. + + * callint.c (Qfuncall_interactively): New var. + (Qcall_interactively): Remove. + (Ffuncall_interactively): New function. + (Fcall_interactively): Use it. + (syms_of_callint): Defsubr it. + + 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca> + + * bytecode.c (FETCH) [BYTE_CODE_SAFE]: Check the bytecode wasn't + relocated from under us. + + 2014-05-27 Fabrice Popineau <fabrice.popineau@gmail.com> + + Use mmap(2) emulation for allocating buffer text on MS-Windows. + * Makefile.in (C_HEAP_SWITCH): Get the predefined heap size from + configure, not from HEAPSIZE. + (ADDSECTION, MINGW_TEMACS_POST_LINK): Remove, no longer used. + + * lisp.h (NONPOINTER_BITS): Modify the condition to define to zero + for MinGW, since it no longer uses gmalloc. + + * buffer.c: Do not define mmap allocations functions for Windows. + Remove mmap_find which is unused. Remove mmap_set_vars which does + nothing useful. + [WINDOWSNT]: Include w32heap.h. + (init_buffer): Always allocate new memory for buffers. + + * emacs.c: Remove mmap_set_vars calls. + + * image.c (free_image): Undef free for Windows because it is + redirected to our private version. + + * unexw32.c (COPY_PROC_CHUNK): Use %p format for 64bits compatibility. + (copy_executable_and_dump_data): Remove dumping the heap section. + (unexec): Restore using_dynamic_heap after dumping. + + * w32heap.c (dumped_data_commit, malloc_after_dump) + (malloc_before_dump, realloc_after_dump, realloc_before_dump) + (free_after_dump, free_before_dump, mmap_alloc, mmap_realloc) + (mmap_free): New functions. + + * w32heap.h: Declare dumped_data and mmap_* function prototypes. + + 2014-05-27 Paul Eggert <eggert@cs.ucla.edu> + + * image.c (imagemagick_load_image): Use MagickRealType for local + 'color_scale', instead of double, to avoid a GCC warning about + double promotion. + + * xfns.c (Fx_window_property): Remove unused local. + + Don't kill already-reaped process (Bug#17561). + * process.c (process_send_signal): Fix race condition where a + subprocess was reaped by a signal handler between the check for + liveness and calling 'kill', which meant that Emacs could in + theory kill an innocent bystander process. Do the fix by blocking + SIGCHLD in a critical section that checks liveness before killing. + + 2014-05-26 Eli Zaretskii <eliz@gnu.org> + + * w32.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Define only if undefined. + + 2014-05-26 Ken Brown <kbrown@cornell.edu> + + * w32term.c (x_delete_display): Don't free dpyinfo->w32_id_name, + even if !CYGWIN (see bug#17510). + + 2014-05-26 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m (Fns_do_applescript): Surround NSApp run + with calls to ns_init_events, ns_finish_events (Bug#17424). + + * nsterm.h (ns_init_events, ns_finish_events): Declare. + + * nsterm.m (ns_init_events, ns_finish_events): New functions. + (ns_read_socket, ns_select): Call ns_init_events, ns_finish_events. + + * nsfns.m (ns_do_applescript): Surround executeAndReturnError + with calls to ns_init_events, ns_finish_events (Bug#17424). + + 2014-05-26 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (move_it_in_display_line_to): Don't record wrap position + if we are iterating over an object that generates glyphs for + marginal areas. (Bug#17585) + + 2014-05-26 Paul Eggert <eggert@cs.ucla.edu> + + * xdisp.c (safe__call1, safe__eval): Now static. + + 2014-05-26 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (safe__call): Accept va_list argument instead of '...'. + (safe_call, safe__call1): Construct a va_list argument for safe_call. + (safe_call1): Call safe_call instead of safe__call directly. + + 2014-05-26 Ken Brown <kbrown@cornell.edu> + + * w32term.c (x_delete_display) [CYGWIN]: Don't free + dpyinfo->w32_id_name, to make sure it doesn't get freed more than + once. (Bug#17510) + + 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca> + + * xdisp.c: Bind inhibit-quit during pre-redisplay-function. + (safe__call, safe__call1, safe__eval): New functions. + (safe_call): Use it. + (prepare_menu_bars): Use it for pre-redisplay-function (bug#17577). + (display_mode_element): Same for `:eval'. + + 2014-05-26 Paul Eggert <eggert@cs.ucla.edu> + + Fix port to 32-bit AIX (Bug#17540). + * unexaix.c (copy_text_and_data): Don't add text_scnptr to ptr + twice. _text already includes this offset. + (unrelocate_symbols): Don't cast 64-bit integer to pointer. + + 2014-05-26 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (move_it_in_display_line_to): Avoid infinite recursion: + when closest_pos is identical to to_charpos, don't recurse, since + we already tried that, and failed. (Bug#17539) + + * w32fns.c (unwind_create_frame) [GLYPH_DEBUG]: If we are + unwinding when frame's faces were not initialized yet, increment + the frame's image-cache reference count before calling + x_free_frame_resources. Don't dereference + dpyinfo->terminal->image_cache if it is NULL. (Bug#17524) + + 2014-05-25 Jan Djärv <jan.h.d@swipnet.se> + + * nsfont.m (nsfont_draw): Simplify as arguments are adjusted in + nsterm.m now. + + * nsterm.m (ns_draw_glyph_string): Move isComposite and end from + macfont.m, call draw with adjusted arguments so font drivers + don't need to do that. + + * macfont.m (macfont_draw): Merge changes from Macport. + + 2014-05-24 Eli Zaretskii <eliz@gnu.org> + + * alloc.c (garbage_collect_1): New function, with all of the guts + of Fgarbage_collect. + (mark_stack): Accept an argument END and don't mark Lisp objects + on the stack beyond the address given by END. Calculation of END + was moved to Fgarbage_collect. + (Fgarbage_collect): Calculate the end address of the stack portion + that needs to be examined by mark_stack, and pass that address to + garbage_collect_1, which will pass it to mark_stack. + See http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html + for more details about the underlying problems. In particular, + this avoids dumping Emacs with the large hash-table whose value is + held in purify-flag for most of the time loadup.el runs. + + 2014-05-24 Jan Djärv <jan.h.d@swipnet.se> + + * xfns.c (x_window_property_intern): New function (code from + x_window_property). + (Fx_window_property): Call x_window_property_intern. If property + not found and NILP (source) and outer window != inner window, + check outer window for property (Bug#17537). + + 2014-05-22 Paul Eggert <eggert@cs.ucla.edu> + + Supply malloc and alloc_size attributes for extern allocators. + This documents the C API, and helps GCC generate a bit better code. + * conf_post.h (ATTRIBUTE_MALLOC, ATTRIBUTE_ALLOC_SIZE) + (ATTRIBUTE_MALLOC_SIZE): New macros. + * gmalloc.c (malloc, realloc, calloc): + * gtkutil.h (malloc_widget_value): + * lisp.h (ralloc, r_re_alloc, xmalloc, xzalloc, xrealloc, xnmalloc) + (xnrealloc, xstrdup, xlispstrdup, record_xmalloc): + Use them. + + 2014-05-21 Paul Eggert <eggert@cs.ucla.edu> + + Don't assume that ImageMagick uses a 16-bit quantum (Bug#17519). + * image.c (imagemagick_load_image): Port to hosts that do not use + a 16-bit quantum, i.e., QuantumRange does not equal 65535. + + 2014-05-21 Leo Liu <sdl.web@gmail.com> + + * fns.c (Fnreverse): Accept strings for SEQ and update doc-string. + + 2014-05-20 Michael Albinus <michael.albinus@gmx.de> + + * dbusbind.c (xd_signature): Revert last 2 patches. + + 2014-05-19 Paul Eggert <eggert@cs.ucla.edu> + + Allow any non-nil value to count as true in bool-vector. + Likewise for xd_signature in dbusbind.c. + This is more consistent with the usual practice in Emacs, which is + that any non-nil value counts as true. + * alloc.c (Fbool_vector): Don't require args to be t or nil. + * dbusbind.c (xd_signature): Likewise, for booleans. + * data.c, lisp.h (Qbooleanp): + * lisp.h (CHECK_BOOLEAN): Remove. All uses removed. + + 2014-05-19 Dmitry Antipov <dmantipov@yandex.ru> + + * lisp.h (CHECK_BOOLEAN): New function. + * alloc.c (Fbool_vector): New function. + (syms_of_alloc): Defsubr it. + * data.c (Qbooleanp): New symbol. + (syms_of_data): DEFSYM it. + * dbusbind.c (xd_signature): Use CHECK_BOOLEAN. + + * font.c (font_matching_entity): Extract font-entity object + from the vector of matching entities (Bug#17486). + + 2014-05-17 Paul Eggert <eggert@cs.ucla.edu> + + Assume C99 or later (Bug#17487). + * bytecode.c (B__dummy__): Remove. + * conf_post.h (bool_bf) [!NS_IMPL_GNUSTEP]: Use bool. + (FLEXIBLE_ARRAY_MEMBER): Now always empty. + * dbusbind.c (XD_DEBUG_MESSAGE) [!DBUS_DEBUG]: + * regex.c (DEBUG_PRINT): Assume varargs macros. + * lisp.h (DEFUN_FUNCTION_INIT): Remove. All uses now assume C99. + + 2014-05-17 Fabrice Popineau <fabrice.popineau@gmail.com> + + * buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Always map new + memory for every buffer that was dumped. + + 2014-05-15 Dmitry Antipov <dmantipov@yandex.ru> + + * fns.c (Freverse): Allow vectors, bool vectors and strings. + (Fnreverse): Allow vectors and bool vectors. + + 2014-05-14 Dmitry Antipov <dmantipov@yandex.ru> + + Minor cleanup for terminal setup. + * termhooks.h (create_terminal): Adjust prototype. + * terminal.c (create_terminal): Pass output method and RIF as args. + (init_initial_terminal): + * nsterm.m (ns_create_terminal): + * term.c (init_tty): + * w32term.c (w32_create_terminal): + * xterm.c (x_create_terminal): Adjust users. + Avoid redundant NULL initializers and add comments. + + 2014-05-13 Paul Eggert <eggert@cs.ucla.edu> + + * keyboard.c (Qdeactivate_mark): Now static. + + 2014-05-13 Dmitry Antipov <dmantipov@yandex.ru> + + If available, use Xfixes extension to do pointer blanking. + * Makefile.in (XFIXES_CFLAGS, XFIXES_LIBS): New var. + * xfns.c (x_set_mouse_color): Do not call make_invisible_cursor here. + (make_invisible_cursor): Move to... + * xterm.c (make_invisible_cursor): ...here. + (x_probe_xfixes_extension, xfixes_toggle_visible_pointer) + (x_toggle_visible_pointer, x_setup_pointer_blanking): New functions. + (x_term_init): Call to x_setup_pointer_blanking. + (XTtoggle_invisible_pointer): Use blanking specific to this display. + * xterm.h (struct x_display_info): New member toggle_visible_pointer. + + 2014-05-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * xdisp.c (draw_glyphs): Set clipping to highlight boundaries. + + 2014-05-12 Glenn Morris <rgm@gnu.org> + + * fileio.c (Ffile_executable_p): Doc tweak. + + 2014-05-12 Jan Djärv <jan.h.d@swipnet.se> + + * xsettings.c (init_gsettings): Use g_settings_schema_source_lookup + instead of deprecated g_settings_list_schemas if possible (Bug#17434). + + 2014-05-08 Paul Eggert <eggert@cs.ucla.edu> + + * minibuf.c (read_minibuf): Avoid C99ism in previous patch (Bug#17430). + + 2014-05-08 Jarek Czekalski <jarekczek@poczta.onet.pl> + + Fix initialization of minibuffer history variable (Bug#17430). + * minibuf.c (read_minibuf): Initialize histval to Qnil if unbound. + Move the initialization up to prevent any "value void" message. + + 2014-05-08 Samuel Bronson <naesten@gmail.com> + + * keyboard.c (Frecursive_edit): Ensure inc&dec of command_loop_level + are matched (bug#17413). + + 2014-05-08 Jarek Czekalski <jarekczek@poczta.onet.pl> + + Stop tooltips pulling Emacs window to front (Bug#17408). + * w32fns.c (Fx_show_tip): Add SWP_NOOWNERZORDER flag to + SetWindowPos invocations. + + 2014-05-08 Jan Djärv <jan.h.d@swipnet.se> + + * nsselect.m (Fx_selection_exists_p): Just return Qnil if window system + not initialized (Bug#17398). + + 2014-05-07 Paul Eggert <eggert@cs.ucla.edu> + + * image.c: Include <png.h> before <setjmp.h> (Bug#17429). + + 2014-05-06 Paul Eggert <eggert@cs.ucla.edu> + + * image.c: Do not use libpng if HAVE_NS, as NS does its own thing. + [HAVE_NS]: Do not include png.h. + (x_query_frame_background_color): New function. + (png_load_body, imagemagick_load_image, svg_load_image): Use it. + (png_load_body): Coalesce duplicate code. + + 2014-05-04 Paul Eggert <eggert@cs.ucla.edu> + + Consult libpng-config more consistently (Bug#17339). + * Makefile.in (PNG_CFLAGS): New var. + (ALL_CFLAGS): Use it. + * image.c [HAVE_PNG]: Don't worry about <libpng/png.h>, as + CFLAGS now handles this. + + 2014-05-03 Paul Eggert <eggert@cs.ucla.edu> + + Handle systems without WCONTINUED consistently. (Bug#15110, 17339) + * process.c (handle_child_signal): Remove WCONTINUED ifdef, + because WCONTINUED is always defined now. + * syswait.h (WCONTINUED): Move here from ../lib-src/emacsclient.c. + + 2014-05-03 Eli Zaretskii <eliz@gnu.org> + + * buffer.c (overlay_strings): Fix the wording of the commentary. + + 2014-05-01 Glenn Morris <rgm@gnu.org> + + * floatfns.c (Fisnan): + * profiler.c (Fprofiler_cpu_running_p): Doc fix (replace `iff'). + + 2014-05-01 Eli Zaretskii <eliz@gnu.org> + + * term.c (tty_menu_activate): A better initialization for cursor + coordinates. + + 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca> + + * intervals.c: Tighten assertions. + (create_root_interval): Make sure the interval is not empty. + (intervals_equal): Use booleans. + (rotate_right, rotate_left): Check LENGTHs rather than TOTAL_LENGTH. + (balance_an_interval): Sanity check LENGTHs and TOTAL_LENGTHs. + (balance_possible_root_interval): Simplify and use booleans. + (split_interval_right, split_interval_left): Check LENGTH, and remove + now redundant assertion. + (adjust_intervals_for_insertion): Remove now redundant assertions. + (delete_node, interval_deletion_adjustment) + (adjust_intervals_for_deletion, merge_interval_right) + (merge_interval_left): Check LENGTH rather than TOTAL_LENGTH. + (reproduce_interval): Make sure the interval is not empty. + + 2014-04-30 Paul Eggert <eggert@cs.ucla.edu> + + * term.c (tty_menu_activate): Don't assume row and col are initialized. + GCC 4.9.0 warned about this, and I couldn't easily prove to my own + satisfaction that they would always be initialized. + + 2014-04-30 Eli Zaretskii <eliz@gnu.org> + + * term.c (tty_menu_display): Move the cursor to the active menu item. + (tty_menu_activate): Return the cursor to the active menu item + after displaying the menu and after displaying help-echo. + See http://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00402.html + for the details of why this is needed by screen readers and + Braille displays. + + 2014-04-30 Glenn Morris <rgm@gnu.org> + + * process.c (handle_child_signal): + Handle systems without WCONTINUED. (Bug#15110, 17339) + + 2014-04-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * window.c (struct saved_window): Remove mark. + (Fset_window_configuration, save_window_save) + (compare_window_configurations): Don't touch marks any more. + + 2014-04-28 Paul Eggert <eggert@cs.ucla.edu> + + Use bits_word for gcmarkbits. + * alloc.c (struct cons_block, struct float_block): On 64-bit hosts, + bits_word is typically a tad more efficient for mark bits than + unsigned is, so use bits_word. All uses changed. + * lisp.h (BITS_PER_INT): Remove; no longer used. + + Avoid undefined behavior in signed left shift. + This ports to GCC 4.9.0 with -fsanitize=undefined. + * alloc.c (bool_vector_fill, SETMARKBIT, UNSETMARKBIT): + * data.c (Fash): + * regex.c (extract_number): + * lisp.h (make_number, XINT): + Do not shift a 1 bit left into a sign bit. + * alloc.c (struct cons_block, struct float_block): Use unsigned, + not int, for gcmarkbits. All uses changed. + + 2014-04-25 Eli Zaretskii <eliz@gnu.org> + + * search.c (Fnewline_cache_check): Don't try to count newlines + outside the buffer's restriction, as find_newline doesn't support that. + + 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca> + + * window.c (Fset_window_configuration): Deactivate the mark before + unsetting the mark. + (set_window_buffer): Ignore window_initialized. + (window_initialized): Remove. + * keyboard.c (Qdeactivate_mark): Not static any more. + * buffer.c (buffer_local_value): Rename from buffer_local_value_1. + Update all callers. + + 2014-04-23 Paul Eggert <eggert@cs.ucla.edu> + + * conf_post.h (ADDRESS_SANITIZER_WORKAROUND): Port to GCC 4.9.0 + and to clang 3.4, which have fixed the bug. This should let us + run a bit faster on these platforms when address sanitization is + in effect. + + 2014-04-22 Paul Eggert <eggert@cs.ucla.edu> + + Port to GCC 4.9.0 with --enable-gcc-warnings. + * image.c (struct my_jpeg_error_mgr) [lint]: Remove member fp. + All uses removed. + (jpeg_load_body) [lint]: Add a 'volatile' to pacify a buggy GCC in + a way that also works with GCC 4.9.0. + + * search.c (Fnewline_cache_check): Remove unused locals. + + 2014-04-22 Eli Zaretskii <eliz@gnu.org> + + * search.c (find_newline1): New subroutine. + (Fnewline_cache_check): New function. + (syms_of_search): Defsubr it. + + 2014-04-22 Jarek Czekalski <jarekczek@poczta.onet.pl> + + Fix freezing with scroll bars of GTK3 Toolkit (bug#15801). + * keyboard.c (unblock_input): Add comment. + * xgselect.c (xg_select): Prevent Glib main loop recursion. + + 2014-04-22 Daniel Colascione <dancol@dancol.org> + + * lread.c (readevalloop_eager_expand_eval): New function + that can recurse into toplevel forms. + (readevalloop): Call it. + * lisp.h: Declare Qprogn. + * callint.c (Qprogn): No longer static. + + 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca> + + * intervals.c (rotate_right, rotate_left): Fix up length computation. + Also change identifiers to match the comments, and add more assertions + (bug#16234). + + 2014-04-18 Paul Eggert <eggert@cs.ucla.edu> + + * emacs.c (close_output_streams): Don't clear and restore errno. + + 2014-04-18 Jan Djärv <jan.h.d@swipnet.se> + + * xterm.c (x_make_frame_visible): Prevent endless loop when frame + never becomes visible, i.e. using XMonad (Bug#17237). + + 2014-04-18 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (insert_left_trunc_glyphs): Ensure the left truncation + glyph is written to TEXT_AREA of the temporary glyph_row. (Bug#17288) + (Fline_pixel_height): Don't assume that the current buffer and the + selected window's buffer are one and the same. (Bug#17281) + + * insdel.c (invalidate_buffer_caches): Invalidate the bidi + paragraph-start cache before the newline cache. (Bug#17269) + + 2014-04-17 Paul Eggert <eggert@cs.ucla.edu> + + * term.c (tty_send_additional_strings): No need to fflush here, + as callers fflush. + (tty_set_terminal_modes): fflush after sending additional strings, + not before. + + 2014-04-17 Daniel Colascione <dancol@dancol.org> + + * term.c (Qtty_mode_set_strings, Qtty_mode_reset_strings): + New symbols. + (tty_send_additional_strings): New function. + (tty_set_terminal_modes, tty_reset_terminal_modes): Use it. + (syms_of_term): Intern tty-mode-set-strings and + tty-mode-reset-strings. + + 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * window.c (save_window_save): Lookup window_point_insertion_type in + the right buffer (bug#15457). + (Qwindow_point_insertion_type): New var. + (syms_of_window): Initialize it. + + 2014-04-16 Eli Zaretskii <eliz@gnu.org> + + Fix the MSDOS build. + * unexcoff.c [MSDOS]: Include libc/atexit.h. + (copy_text_and_data): Zero out the atexit chain pointer before + dumping Emacs. + + * termhooks.h (encode_terminal_code): Update prototype. + + * term.c (encode_terminal_code) [DOS_NT]: Make it externally + visible for all DOS_NT ports, not just WINDOWSNT. + (syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS. + + * sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD + unless it is defined. + (emacs_pipe) [MSDOS]: Redirect to 'pipe'. + + * process.c (close_on_exec, accept4, process_socket): Move into + the "ifdef subprocesses" part. + (catch_child_signal): Condition by "ifdef subprocesses". + (syms_of_process) <Qinternal_default_process_sentinel> + <Qinternal_default_process_filter>: Condition by "ifdef subprocesses". + + * msdos.h: Add prototypes for new functions. + (EINPROGRESS): Define. + (O_CLOEXEC): Define to zero. + + * msdos.c (check_window_system): Remove unnecessary an + incompatible duplicate function. + (sys_opendir, readlinkat, faccessat, fstatat, unsetenv): + New functions in support of new functionality. + + * menu.c (single_menu_item): Add visual indication of submenu + also for menus on MSDOS frames. + (Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS. + + * lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define + when async subprocesses aren't supported. + + * font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition. + + * emacs.c (close_output_streams): Zero out errno before calling + close_stream. + + * dired.c [MSDOS]: Include msdos.h. + + * conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir. + (DATA_START) [MSDOS]: Define. + (SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K. + + * callproc.c (block_child_signal, unblock_child_signal) [MSDOS]: + Ifdef away for MSDOS. + (record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS. + (call_process_cleanup) [MSDOS]: Ifdef away portions not relevant + for MSDOS. + (call_process) [MSDOS]: Fix call sequence of dostounix_filename. + Use temporary file template that is compatible with mkostemp. + Move vfork-related portions under #ifndef MSDOS. + (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT. + + 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * buffer.c (Foverlays_at): Add argument `sorted'. + + 2014-04-16 Eli Zaretskii <eliz@gnu.org> + + * insdel.c (invalidate_buffer_caches): When deleting or replacing + text, invalidate the bidi_paragraph_cache upto and including the + preceding newline. + + 2014-04-16 Paul Eggert <eggert@cs.ucla.edu> + + Port to IRIX 6.5 (Bug#9684). + * conf_post.h (INET6) [IRIX6_5]: Define. + (HAVE_GETADDRINFO) [IRIX6_5]: Undef. + * data.c (BITS_PER_ULL): Don't assume ULLONG_MAX is defined. + + 2014-04-16 Eli Zaretskii <eliz@gnu.org> + + * keyboard.c (Fopen_dribble_file): Encode the dribble file-name + before passing it to system APIs. + + 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca> + + * bytecode.c (exec_byte_code): Rework the volatiles. Most importantly, + make sure stack.byte_string_start is not de-adjusted by pushhandler. + + 2014-04-16 Paul Eggert <eggert@cs.ucla.edu> + + * keyboard.c (Fopen_dribble_file): Avoid some races. (Bug#17187) + + 2014-04-15 Paul Eggert <eggert@cs.ucla.edu> + + Remove DATA_SEG_BITS. + The DATA_SEG_BITS hack was needed for older 32 bit platforms. + As a result of this change, Emacs won't work on IRIX 6.5 with IRIX + cc, but that platform is so old that SGI itself stopped supporting + it in December 2013. If you still need Emacs on IRIX, please + either compile with GCC and port the undumping code, or run + './configure --with-wide-int'. + * alloc.c (gdb_make_enums_visible): Update to match lisp.h. + * lisp.h (GCTYPEBITS): Move definition up, and switch to the + DEFINE_GDB_SYMBOL_START way to define it. + (NONPOINTER_BITS): New macro. + (EMACS_INT): Use it. + [!USE_LSB_TAG && !WIDE_EMACS_INT]: Fail, and suggest reporting + the problem and/or configuring --with-wide-int. + (USE_LSB_TAG): Simplify, based on above changes. + (gdb_DATA_SEG_BITS): Remove. All uses removed. + * vm-limit.c (exceeds_lisp_ptr): Remove. All uses removed. + + 2014-04-12 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (move_it_by_lines): If a large portion of buffer text is + covered by a display string that ends in a newline, and that cases + going back by DVPOS lines to hit the search limit, lift the limit + and go back until DVPOS is reached. (Bug#17244) + + * indent.c (Fvertical_motion): Handle correctly the case when the + display string is preceded by an empty line. + + * w32.c (sys_umask) <WRITE_USER>: Remove redundant constant, and + use S_IWRITE instead. + + 2014-04-11 Glenn Morris <rgm@gnu.org> + + * keyboard.c (Fopen_dribble_file): Make file private. (Bug#17187) + + 2014-04-11 Ken Brown <kbrown@cornell.edu> + + * Makefile.in (EMACS_MANIFEST): Revert last change. + + 2014-04-10 Daniel Colascione <dancol@dancol.org> + + * puresize.h (BASE_PURESIZE): Increase. + + 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (syms_of_keyboard): Make deactivate-mark buffer-local. + + * insdel.c (prepare_to_modify_buffer_1): Cancel lock-file checks and + region handling (and don't call signal_before_change) if + inhibit_modification_hooks is set. + (signal_before_change): Don't check inhibit_modification_hooks any more. + + 2014-04-08 Daniel Colascione <dancol@dancol.org> + + * alloc.c (sweep_symbols, mark_object): Assert that symbol + function cells contain valid lisp objects. (Modified version of + patch from Dmitry). + + * alloc.c (detect_suspicious_free): Split actual stack capturing + out into new function for easier breakpoint setting. + (note_suspicious_free): New function. + + 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca> + + * lisp.h (struct Lisp_Symbol): New bitfield `pinned'. + + * alloc.c: Keep track of symbols referenced from pure space (bug#17168). + (symbol_block_pinned): New var. + (Fmake_symbol): Initialize `pinned'. + (purecopy): New function, extracted from Fpurecopy. Mark symbols as + pinned and signal an error for un-purifiable objects. + (pure_cons): Use it. + (Fpurecopy): Use it, except for objects that can't be purified. + (mark_pinned_symbols): New function. + (Fgarbage_collect): Use it. + (gc_sweep): Remove hack made unnecessary. + + 2014-04-07 Glenn Morris <rgm@gnu.org> + + * keyboard.c (Fopen_dribble_file): Doc tweak. + + 2014-04-07 Ken Brown <kbrown@cornell.edu> + + * Makefile.in (EMACS_MANIFEST): Update comment. (Bug#17176) + + 2014-04-07 Paul Eggert <eggert@cs.ucla.edu> + + * alloc.c: Simplify by removing use of HAVE_EXECINFO_H. + We have a substitute execinfo.h on hosts that lack it. + (suspicious_free_history): Make it EXTERNALLY_VISIBLE so it + isn't optimized away. + + 2014-04-05 Paul Eggert <eggert@cs.ucla.edu> + + Prefer 'ARRAYELTS (x)' to 'sizeof x / sizeof *x'. + * alloc.c (memory_full): + * charset.c (syms_of_charset): + * doc.c (Fsnarf_documentation): + * emacs.c (main): + * font.c (BUILD_STYLE_TABLE): + * keyboard.c (make_lispy_event): + * profiler.c (setup_cpu_timer): + * xgselect.c (xg_select): + * xterm.c (record_event, STORE_KEYSYM_FOR_DEBUG): + Use ARRAYELTS. + * font.c (FONT_PROPERTY_TABLE_SIZE): Remove. + Replace the only use with ARRAYELTS (font_property_table). + * xfaces.c (DIM): Remove. All uses replaced by ARRAYELTS. + + 2014-04-03 Daniel Colascione <dancol@dancol.org> + + * xterm.c (x_term_init): + * xfns.c (best_xim_style): + * xfaces.c (Fdump_colors): + * w32fns.c (w32_default_color_map): + * w32.c (init_environment, N_ENV_VARS): + * unexcw.c (read_exe_header): + * term.c (term_get_fkeys_1): + * sysdep.c (init_baud_rate): + * nsterm.m (ns_convert_key): + * nsfns.m (get_geometry_from_preferences): + * msdos.c (dos_set_window_size, init_environment): + * macfont.m (mac_font_get_glyph_for_cid) + (macfont_store_descriptor_attributes) + (macfont_create_attributes_with_spec, mac_ctfont_get_glyph_for_cid): + * keyboard.c (command_loop_1, read_menu_command, make_lispy_event) + (NUM_MOD_NAMES, read_key_sequence_vs, Fcurrent_input_mode) + (syms_of_keyboard): + * image.c (xpm_str_to_color_key): + * fringe.c (MAX_STANDARD_FRINGE_BITMAPS): + * frame.c (x_set_frame_parameters): + * fileio.c (Ffile_selinux_context): + * emacs.c (sort_args): + * dosfns.c (msdos_stdcolor_name): + * dired.c (file_attributes): + * chartab.c (uniprop_decoder_count, uniprop_encode_count): + Change expressions of the form sizeof(arr) / sizeof(arr[0]) + to ARRAYELTS (arr). + + 2014-04-02 Daniel Colascione <dancol@dancol.org> + + * data.c (Ffset): Abort if we're trying to set a function call to + a dead lisp object. + + * lisp.h (ARRAYELTS): New macro. + + * alloc.c: Include execinfo.h if available. + (SUSPICIOUS_OBJECT_CHECKING): New macro; define unconditionally. + (suspicious_free_record): New structure. + (suspicious_objects, suspicious_object_index) + (suspicious_free_history, suspicious_free_history_index): + New variables. + (find_suspicious_object_in_range, detect_suspicious_free) + (Fsuspicious_object): New functions. + (cleanup_vector): Call find_suspicious_object_in_range. + + 2014-04-02 Martin Rudalics <rudalics@gmx.at> + + * xterm.c (x_new_font): Don't calculate non-toolkit scrollbar + width from font width (Bug#17163). + + * frame.c (x_set_frame_parameters): Calculate default values of + new frame sizes only after all other frame parameters have been + processed (Bug#17142). + + 2014-04-02 Ken Brown <kbrown@cornell.edu> + + * conf_post.h (SYSTEM_PURESIZE_EXTRA) [CYGWIN]: Set to 10000. + (Bug#17112) + + 2014-04-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * xterm.c (x_draw_image_glyph_string): Adjust image background + width accordingly when its x position is adjusted. (Bug#17115) + + 2014-04-02 Dmitry Antipov <dmantipov@yandex.ru> + + * font.c (font_list_entities): Do not add empty vector to font cache. + (font_matching_entity): Likewise. If matching entity is found, insert + 1-item vector with this entity instead of entity itself (Bug#17125). + + * xterm.c (x_term_init) [USE_LUCID]: Fix minor memory leak. + + 2014-04-01 Paul Eggert <eggert@cs.ucla.edu> + + * fns.c (validate_subarray): Rename from validate_substring, + since it works for vectors too. New arg ARRAY. Optimize for the + non-nil case. Instead of returning bool, throw an error if out of + range, so that the caller needn't do that. All uses changed. + Report original values if out of range. + (Fsubstring, Fsubstring_no_properties, secure_hash): + Also optimize the case where FROM is 0 or TO is the size. + + 2014-03-31 Dmitry Antipov <dmantipov@yandex.ru> + + * search.c (Freplace_match): Use make_specified_string. + * xterm.c, w32term.c (x_set_glyph_string_gc): Use emacs_abort + to catch bogus override face of glyph strings. + * fns.c (Fsubstring, Fsubstring_no_properties, secure_hash): + Move common substring range checking code to... + (validate_substring): ...this function. + + 2014-03-31 Jan Djärv <jan.h.d@swipnet.se> + + * nsmenu.m (free_frame_tool_bar): Set wait_for_tool_bar = NO (Bug#16976) + + 2014-03-30 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (updateFrameSize:): If waiting for the tool bar and tool + bar is zero height, just return (Bug#16976). + (initFrameFromEmacs:): Initialize wait_for_tool_bar. + + * nsterm.h (EmacsView): Add wait_for_tool_bar. + + * nsmenu.m (update_frame_tool_bar): Return early if view or toolbar + is nil. If waiting for toolbar to complete, force a redraw. + + 2014-03-28 Glenn Morris <rgm@gnu.org> + + * emacs.c (emacs_version): Use PACKAGE_VERSION rather than VERSION. + (emacs_bugreport): New variable. + (usage_message): Use PACKAGE_BUGREPORT. + (syms_of_emacs) <report-emacs-bug-address>: New variable. + + * emacs.c (syms_of_emacs) <system-configuration-features>: New var. + + 2014-03-27 Paul Eggert <eggert@cs.ucla.edu> + + Port recent signal-related changes to FreeBSD. + Reported by Herbert J. Skuhra. + * lisp.h (block_tty_out_signal, unblock_tty_out_signal): + Move decls from here ... + * syssignal.h: ... to here, so that lisp.h doesn't depend on signal.h. + + 2014-03-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * w32term.c (x_draw_image_glyph_string): Fix computation of height + and width of image background when it is displayed with a 'box' + face. (Bug#17115) + + 2014-03-27 Paul Eggert <eggert@penguin.cs.ucla.edu> + + More backward-compatible fix to char-equal core dump (Bug#17011). + * editfns.c (Fchar_equal): In unibyte buffers, assume values in + range 128-255 are raw bytes. Suggested by Eli Zaretskii. + + 2014-03-27 Juanma Barranquero <lekktu@gmail.com> + + * image.c (init_svg_functions): When loading SVG-related libraries, + free already loaded libraries if the initialization fails. + (rsvg_handle_set_size_callback): Remove declaration, unused. + + 2014-03-26 Paul Eggert <eggert@cs.ucla.edu> + + Fix core dump in char-equal (Bug#17011). + * editfns.c (Fchar_equal): Do not use MAKE_CHAR_MULTIBYTE in + unibyte buffers, as we can't tell whether the characters are + actually unibyte. + + * insdel.c (adjust_markers_for_delete): Remove unused local. + + 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com> + + Have (MARKER . ADJUSTMENT) undo records always be immediately + after their corresponding (TEXT . POS) record in undo list. + (Bug#16818) + * lisp.h (record-delete): New arg record_markers. + (record_marker_adjustment): No longer needed outside undo.c. + * insdel.c (adjust_markers_for_delete): Move calculation of marker + adjustments to undo.c's record_marker_adjustments. Note that + fileio.c's decide_coding_unwind is another caller to + adjust_markers_for_delete. Because it has undo list bound to t, + it does not rely on adjust_markers_for_delete to record marker + adjustments. + (del_range_2): Swap call to record_delete and + adjust_markers_for_delete so as undo marker adjustments are + recorded before current deletion's adjustments, as before. + (adjust_after_replace): + (replace_range): Pass value for new record_markers arg to + delete_record. + * undo.c (record_marker_adjustment): Rename to + record_marker_adjustments and made static. + (record_delete): Check record_markers arg and call + record_marker_adjustments. + (record_change): Pass value for new record_markers arg to + delete_record. + (record_point): at_boundary calculation no longer needs to account + for marker adjustments. + + 2014-03-26 Martin Rudalics <rudalics@gmx.at> + + * w32term.c (x_set_window_size): Refine fix from 2014-03-14 + (Bug#17077). + + 2014-03-26 Glenn Morris <rgm@gnu.org> + + * fileio.c (Ffile_symlink_p): Doc fix. (Bug#17073) + + 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca> + + * buffer.c (struct sortvec): Add field `spriority'. + (compare_overlays): Use it. + (sort_overlays): Set it. + + 2014-03-26 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (redisplay_window): If all previous attempts to find the + cursor row failed, try a few alternatives before falling back to + the top-most row of the window. Use row_containing_pos. (Bug#17047) + + 2014-03-26 Juanma Barranquero <lekktu@gmail.com> + + * image.c (x_bitmap_height, x_bitmap_width) [HAVE_X_WINDOWS]: + * sysdep.c (reset_sigio) [!DOS_NT]: Declare conditionally. + + * keyboard.c (read_decoded_event_from_main_queue): #ifdef out + variables on Windows. + + * w32fns.c (Ffile_system_info): Use parenthesis in and/or expression. + + * w32.c (unsetenv): Remove unused var `retval'. + (emacs_gnutls_pull): Remove unused vars `fdset' and `timeout'. + + * w32notify.c (watch_worker): Remove unnecesary var sleep_result. + (start_watching): Remove unused var `thr'. + + * w32proc.c (sys_spawnve): Comment out unused vars `first', `last'. + (find_child_console): Remove unnecesary var `thread_id'. + + * w32term.c (w32_read_socket): Comment out unused vars `row', `columns'. + (x_focus_frame): #ifdef 0 unused variable `dpyinfo'. + + 2014-03-26 Glenn Morris <rgm@gnu.org> + + * filelock.c (Flock_buffer): Doc tweak. + + * buffer.c (Frestore_buffer_modified_p, Fkill_buffer): + * emacs.c (shut_down_emacs): + * fileio.c (Finsert_file_contents, write_region): + * filelock.c (top-level, syms_of_filelock): + * insdel.c (prepare_to_modify_buffer_1): + CLASH_DETECTION is always defined now. + + 2014-03-25 Eli Zaretskii <eliz@gnu.org> + + * w32.c (w32_delayed_load): Call DisableThreadLibraryCalls on the + DLL handle, to speed up thread startup. + + 2014-03-25 Paul Eggert <eggert@cs.ucla.edu> + + Handle sigmask better with nested signal handlers (Bug#15561). + * atimer.c (sigmask_atimers): Remove. + Remaining use rewritten to use body of this function. + * atimer.c (block_atimers, unblock_atimers): + * callproc.c (block_child_signal, unblock_child_signal): + * sysdep.c (block_tty_out_signal, unblock_tty_out_signal): + New arg OLDSET. All callers changed. + * atimer.c (block_atimers, unblock_atimers): + * callproc.c (block_child_signal, unblock_child_signal): + * keyboard.c (handle_interrupt): + * sound.c (vox_configure, vox_close): + Restore the old signal mask rather than unilaterally clearing bits + from the mask, in case a handler is running within another + handler. All callers changed. + * lisp.h, process.c, process.h, term.c: + Adjust decls and callers to match new API. + * sysdep.c (emacs_sigaction_init): Don't worry about masking SIGFPE; + signal handlers aren't supposed to use floating point anyway. + (handle_arith_signal): Unblock just SIGFPE rather than clearing mask. + + 2014-03-23 Daniel Colascione <dancol@dancol.org> + + Split gc_sweep into discrete functions for legibility and better + stack traces. + + * alloc.c (sweep_strings, sweep_vectors): Add NO_INLINE + (sweep_vectors): Fix typo in comment. + (sweep_conses, sweep_floats, sweep_intervals) + (sweep_symbols, sweep_misc, sweep_buffers): New functions. + (gc_sweep): Call new functions, to which existing functionality is + moved. + * fns.c (sweep_weak_hash_tables): Add NO_INLINE. + + 2014-03-23 Juanma Barranquero <lekktu@gmail.com> + + * w32fns.c (Fw32_shell_execute): Declare `result' only on Cygwin. + + 2014-03-23 Daniel Colascione <dancol@dancol.org> + + * xfns.c (create_frame_xic): Pass XNStatusAttributes to XCreateIC + only if xic_style calls for it. This change allows Emacs to work + with ibus. Also, don't leak resources if create_frame_xic fails, + and stop caching xic_style across different displays. + (supported_xim_styles): Make const. + (best_xim_style): Remove first parameter: it's always just + supported_xim_styles. Change to look at supported_xim_styles + directly. + + 2014-03-23 Daniel Colascione <dancol@dancol.org> + + * term.c (init_tty): Rearrange condition for clarity; print + appropriate diagnostic. + + 2014-03-23 Daniel Colascione <dancol@dancol.org> + + * process.c (DATAGRAM_CONN_P): Don't underflow datagram_address + array. (ASAN caught.) + + 2014-03-22 Glenn Morris <rgm@gnu.org> + + * callproc.c (init_callproc): In etc, look for NEWS rather than GNU. + + 2014-03-22 Daniel Colascione <dancol@dancol.org> + + * process.c (conv_sockaddr_to_lisp): When extracting the string + names of AF_LOCAL sockets, stop before reading uninitialized memory. + + 2014-03-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + Fix regression introduced by patch for Bug#10500. + * xterm.c (x_draw_image_relief): Respect Vtool_bar_button_margin. + * w32term.c (x_draw_image_relief): Likewise. + + 2014-03-21 Martin Rudalics <rudalics@gmx.at> + + * w32fns.c (w32_wnd_proc): For WM_WINDOWPOSCHANGING don't + constrain frame size in SW_SHOWMAXIMIZED case so we can truly + maximize a frame for odd default fonts. + + 2014-03-21 Glenn Morris <rgm@gnu.org> + + * minibuf.c (history-length): Increase default from 30 to 100. + + 2014-03-21 Daniel Colascione <dancol@dancol.org> + + * xterm.c (x_bitmap_icon): Stop reading the icon bitmap from disk + every time we switch to minibuffer. + + * alloc.c (lisp_align_malloc, allocate_string_data) + (allocate_vectorlike): Allow mmap allocation of lisp objects. + (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): New functions. + + 2014-03-21 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (Fw32_shell_execute) [!CYGWIN]: Use ShellExecuteEx, to + support more "verbs". + + 2014-03-21 Daniel Colascione <dancol@dancol.org> + + Always prohibit dumping a dumped Emacs. + + * emacs.c (might_dump): New variable. + (Fdump_emacs): Always prohibit dumping of dumped Emacs. + * lisp.h (might_dump): Declare. + * unexcw.c (unexec): Remove now-redundant multiple-dump detection code. + + 2014-03-20 Paul Eggert <eggert@cs.ucla.edu> + + * doc.c (store_function_docstring): Fix pointer signedness mismatch. + + 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca> + + * doc.c (store_function_docstring): Warn when we don't know where to + put a docstring. + (Fsubstitute_command_keys): Don't advertise the fact that + text-properties are dropped, since we think it's a bug that we'll fix. + + * frame.h (SET_FRAME_VISIBLE): Keep frame_garbaged up to date. + * xterm.c (handle_one_xevent) <MapNotify>: Don't garbage the frame. + * frame.c (frame_garbaged): Make "docstring" more precise. + + 2014-03-20 Glenn Morris <rgm@gnu.org> + + * charset.c (init_charset): When we cannot find the charsets directory, + mention if EMACSDATA is set. + + 2014-03-19 Paul Eggert <eggert@cs.ucla.edu> + + * fns.c (Frandom): Fix rare bug where the result isn't random. + + Fix porting inconsistency about rounding to even. + * floatfns.c (emacs_rint) [!HAVE_RINT]: Round to even. + This way, the unusual !HAVE_RINT case acts like the usual + HAVE_RINT case, and we can fix the documentation accordingly. + + 2014-03-19 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (reset_modifiers): Zero out keystate[] before using it. + (w32_wnd_proc): Initialize the dwHoverTime member of + TRACKMOUSEEVENT structure. + + 2014-03-17 Teodor Zlatanov <tzz@lifelogs.com> + + * gnutls.c (Fgnutls_boot): Fix case of :verify-error = t. + + 2014-03-16 Eli Zaretskii <eliz@gnu.org> + + * search.c (find_newline): Speed up the function when using the + newline cache, by halving the number of calls to + region_cache_forward and region_cache_backward. (Bug#16830) + + 2014-03-15 Juanma Barranquero <lekktu@gmail.com> + + * buffer.c (Fset_buffer): Document return value (bug#17015). + + 2014-03-14 Martin Rudalics <rudalics@gmx.at> + + * w32term.c (x_set_window_size): When frame-resize-pixelwise is + nil, always resize character wise to avoid potential loss of the + mode line (Bug#16923 related). + + 2014-03-12 Martin Rudalics <rudalics@gmx.at> + + * frame.c (x_set_frame_parameters): Always calculate new sizes + pixelwise to avoid potential loss when rounding. + + 2014-03-11 Dmitry Antipov <dmantipov@yandex.ru> + + * xfns.c (x_set_mouse_color): Recolor vertical_drag_cursor. + * xterm.c (x_free_frame_resources): Free all allocated cursors. + + 2014-03-10 Eli Zaretskii <eliz@gnu.org> + + * w32.c (fstatat): Don't add an extra slash if the argument ends + with a slash: this fails the subsequent call to stat_worker on + Windows 9X. Reported by oslsachem <oslsachem@gmail.com>. + + 2014-03-09 Martin Rudalics <rudalics@gmx.at> + + * xdisp.c (Fwindow_text_pixel_size): Adjust doc-string. + + 2014-03-08 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.h (MAC_OS_X_VERSION_10_9): Add. + + * nsterm.m (constrainFrameRect:toScreen:): Constrain normally + when frame is only on one screen (Bug#14713). + + 2014-03-08 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (move_it_in_display_line_to): If word-wrap is ON, and + there's a valid wrap point in the display line, the last glyph + cannot "just barely fit" on this row, because display_line doesn't + let it. Instead, proceed as if the last glyph didn't fit, so that + we eventually back up the iterator to the wrap point. This avoids + delusional behavior of move_it_to, whereby it proceeds to the next + display line, but sets current_x to zero for all the glyphs that + without word-wrap would fit on the previous display line. + One result was that visual-order cursor movement behaved erratically + under word-wrap. + (Fmove_point_visually): Add code to find the x coordinate of the + last character before wrap point, under word-wrap on a TTY. + + 2014-03-07 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (Fmove_point_visually): When under word-wrap, accept + also return value of MOVE_POS_MATCH_OR_ZV from + move_it_in_display_line_to, when moving from beginning of line to + point's position. (Bug#16961) + + 2014-03-07 Martin Rudalics <rudalics@gmx.at> + + * buffer.c (Vbuffer_list_update_hook): Doc-string fix. + * window.c (Fselect_window): Explain NORECORD and + `buffer-list-update-hook' in doc-string. + + 2014-03-06 Martin Rudalics <rudalics@gmx.at> + + * window.c (Fother_window_for_scrolling): Check that + Vother_window_scroll_buffer is a buffer. + + 2014-03-06 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.c (xim_initialize): Always pass a copy of resource name + to XRegisterIMInstantiateCallback and eassert whether return + value is True. Passing copy is important because Xlib doesn't + make its own copy and resource name argument usually points to + SSDATA (Vx_resource_name), which may be changed from Lisp. + (xim_close_display): For XUnregisterIMInstantiateCallback, + always eassert return value and pass exactly the same values + as were used for XRegisterIMInstantiateCallback. + Otherwise XUnregisterIMInstantiateCallback will always fail. See Xlib + sources to check why if you are interested. + + 2014-03-05 Martin Rudalics <rudalics@gmx.at> + + * dispnew.c (change_frame_size_1): Add new_lines instead of + new_height, the latter may be still zero if passed as such. + * window.c (Fwindow_pixel_height): Mention bottom divider in + doc-string. + + 2014-03-05 Paul Eggert <eggert@cs.ucla.edu> + + Fix "resource temporarily unavailable" with xgselect + (Bug#16925). + * xgselect.c: Include <stdbool.h>. + (xg_select) [!USE_GTK]: Don't lose track of errno. + + Fix minor --enable-gcc-warnings issues. + * widget.c (update_various_frame_slots, EmacsFrameResize): + Avoid unused locals. Prefer 'if' to '#if' when either will do. + + 2014-03-04 Ken Brown <kbrown@cornell.edu> + + * gmalloc.c (aligned_alloc): Clarify the code by making `adj' + represent the actual adjustment needed for alignment. + + 2014-03-04 Eli Zaretskii <eliz@gnu.org> + + * gmalloc.c (aligned_alloc): Don't allocate more memory than + needed, and don't reallocate if the initial allocation already + fits the bill. Suggested by Ken Brown <kbrown@cornell.edu>. + + 2014-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * xterm.c (x_draw_stretch_glyph_string): Reset clipping. + (Bug#16932) + + 2014-03-04 Michal Nazarewicz <mina86@mina86.com> + + * cmds.c (delete-char): Update docstring pointing out that the + function ignores `delete-active-region' and `overwrite-mode'. + + 2014-03-03 Eli Zaretskii <eliz@gnu.org> + + * font.c (Fframe_font_cache): Fix last change. (Bug#16930) + + * gmalloc.c (aligned_alloc): Fix adjustment of size of the + allocated buffer due to alignment. + (freehook): If the block to be freed was allocated by + 'aligned_alloc', find its real pointer before calling 'free'. + (Bug#16901) + (mabort) [emacs]: Call 'emacs_abort', not 'abort', to provide a + backtrace. + + 2014-03-03 Dmitry Antipov <dmantipov@yandex.ru> + + * font.c (toplevel): Adjust comment about font cache layout. + (font_clear_cache): Fix to match real font cache layout. + Suggested by <namespace_collision@yahoo.com> in Bug#16069. + (Fframe_font_cache) [FONT_DEBUG]: New function. + (syms_of_font) [FONT_DEBUG]: Defsubr it. + + Avoid crashes when X fonts are erroneously freed on reused X + 'Display *' connection data (Bug#16069). Note that X font + resources still may be leaked, but currently there is no way + to completely avoid it. + * xterm.h (struct x_display_info): New member x_id. Add comments. + * xterm.c (x_display_id): New variable. + (x_term_init): Assign identifier to each opened X connection. + * xfont.c (struct xfont): New member x_display_id. + (xfont_open): Initialize it with frame's display id. + (xfont_close): Check whether font's display id matches the one + recorded for the given display. Adjust comment. + * xftfont.c (struct xftfont_info): + (xftfont_open, xftfont_close): Exactly as above with xfont stuff. + + 2014-03-01 Martin Rudalics <rudalics@gmx.at> + + Consider Vother_window_scroll_buffer valid iff it's a live buffer. + * window.c (Fother_window_for_scrolling): Don't try to scroll a + killed Vother_window_scroll_buffer. + (Vother_window_scroll_buffer): Fix doc-string accordingly. + + 2014-03-01 Eli Zaretskii <eliz@gnu.org> + + * fileio.c (Fexpand_file_name) [WINDOWSNT]: Don't treat file names + that start with more than 2 slashes as UNCs. (Bug#16751) + + 2014-02-28 Paul Eggert <eggert@penguin.cs.ucla.edu> + + Fix a few crashes and leaks when cloning C strings. + * alloc.c, lisp.h (dupstring): New function. + * gtkutil.c (xg_get_font): + * term.c (tty_default_color_capabilities): + * xsettings.c (store_monospaced_changed) + (store_font_name_changed, parse_settings) + (read_and_apply_settings, init_gsettings, init_gconf): Use it. + This avoids some unlikely crashes due to accessing freed storage, + and avoids some minor memory leaks in the more-typical case. + + 2014-02-28 Martin Rudalics <rudalics@gmx.at> + + * xdisp.c (note_mode_line_or_margin_highlight): Don't show drag + cursor when modeline can't be dragged (Bug#16647). + + 2014-02-28 Glenn Morris <rgm@gnu.org> + + * doc.c (Fsnarf_documentation): Snarf not-yet-bound variables + from custom-delayed-init-variables. (Bug#11565) + + 2014-02-27 Martin Rudalics <rudalics@gmx.at> + + More fixes for mouse glyph calculations (Bug#16647). + * window.c (coordinates_in_window): In intersection of + horizontal and vertical window dividers prefer the horizontal + one. Add some extra parens to last fix. + (window_relative_x_coord): Return x-coordinate for header and + mode line too. + * xdisp.c (remember_mouse_glyph): In text area don't extend + glyph into mode line to show the vertical drag cursor there + immediately. Subdivide mouse glyphs in right fringes to show a + horizontal drag cursor as soon as we enter the "grabbable width" + portion. Handle vertical border case separately. Do not + subdivide window divider areas. + (note_mouse_highlight): On bottom divider of bottommost windows + show vertical drag cursor only when the minibuffer window can be + resized. + + 2014-02-27 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (pop_it): Restore the it->face_box_p flag which could be + reset by the face of the object just displayed. See also bug#76. + (get_next_display_element): If the string came from a display + property, examine the box face attribute at it->position, not at + it->current.pos, since the latter was not updated yet. (Bug#16870) + (handle_face_prop): Improve commentary. + + 2014-02-27 Michael Albinus <michael.albinus@gmx.de> + + * dbusbind.c (Fdbus__init_bus, Qdbus__init_bus, Sdbus__init_bus): + Rename from Fdbus_init_bus_1, Qdbus_init_bus_1, Sdbus_init_bus_1. + + 2014-02-26 Martin Rudalics <rudalics@gmx.at> + + Fixes around Bug#16647. + * xdisp.c (remember_mouse_glyph): Handle ON_RIGHT_DIVIDER and + ON_BOTTOM_DIVIDER cases. + * window.c (coordinates_in_window): Return ON_VERTICAL_BORDER + only if the window has no right divider. + (Fcoordinates_in_window_p): Fix doc-string. + + 2014-02-25 Juanma Barranquero <lekktu@gmail.com> + + * lread.c (Funintern): Fix doc to match advertised calling convention. + + 2014-02-24 Daniel Colascione <dancol@dancol.org> + + * keyboard.c (read_char): Close race that resulted in lost events. + + 2014-02-22 Glenn Morris <rgm@gnu.org> + + * frame.c (frame-alpha-lower-limit, frame-resize-pixelwise): + * window.c (window-resize-pixelwise): Doc fixes. + + * process.c (Finternal_default_process_filter) + (Finternal_default_process_sentinel): Doc tweaks. + + 2014-02-21 Glenn Morris <rgm@gnu.org> + + * process.c (Fprocess_buffer, Faccept_process_output) + (Finternal_default_process_filter, Finternal_default_process_sentinel): + Doc fixes. + + 2014-02-21 Martin Rudalics <rudalics@gmx.at> + + * window.c (Fwindow_scroll_bar_width): New function. + + 2014-02-21 Paul Eggert <eggert@cs.ucla.edu> + + Pacify GCC when configuring with --enable-gcc-warnings. + * xdisp.c (move_it_in_display_line_to) [lint]: + Initialize recently-added local. + + 2014-02-21 Daniel Colascione <dancol@dancol.org> + + * dbusbind.c: Rename dbus-init-bus to dbus-init-bus-1. + + 2014-02-20 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (init_iterator): Don't dereference a bogus face + pointer. (Bug#16819) + (try_cursor_movement): Don't use cursor position if + set_cursor_from_row failed to compute it. This avoids assertion + violations in MATRIX_ROW. + (move_it_in_display_line_to): Save the iterator state in ppos_it + only once per call. Reimplement the method used to return to the + best candidate position if all the positions found in display line + are beyond TO_CHARPOS. This cuts down the number of calls to + bidi_shelve_cache, which moves a lot of stuff when lines are long + and include bidirectional text. (Bug#15555) + + 2014-02-20 Glenn Morris <rgm@gnu.org> + + * data.c (Fdefalias): Doc fix. + + 2014-02-19 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (display_line): Fix horizontal scrolling of large images + when fringes are turned off. This comes at a price of not + displaying the truncation/continuation glyphs in this case. + (Bug#16806) + + * image.c (x_create_x_image_and_pixmap) [HAVE_NTGUI]: If + CreateDIBSection returns an error indication, zero out *ximg after + destroying the image. This avoids crashes in memory allocations + due to the fact that some of the callers also call + x_destroy_x_image, which will attempt to free an already free'd + block of memory. + + 2014-02-18 Martin Rudalics <rudalics@gmx.at> + + * widget.c (update_various_frame_slots): Don't set + FRAME_PIXEL_HEIGHT and FRAME_PIXEL_WIDTH here (Bug#16736). + + 2014-02-18 Michael Albinus <michael.albinus@gmx.de> + + * dbusbind.c (xd_close_bus): Apply proper check on busobj. + + 2014-02-17 Paul Eggert <eggert@cs.ucla.edu> + + temacs --daemon fix (Bug#16599). + * emacs.c (main): Initialize daemon_pipe[1] here ... + (syms_of_emacs): ... instead of here. + + 2014-02-16 Anders Lindgern <andlind@gmail.com> + + * nsterm.m (keyDown:): Check for normal key even if NSNumericPadKeyMask + is set (Bug#16505). + + 2014-02-16 Daniel Colascione <dancol@dancol.org> + + * dbusbind.c (xd_lisp_dbus_to_dbus): New function. + (xd_get_connection_address): Use it. + (xd_close_bus): Use xd_lisp_dbus_to_dbus to instead of + xd_get_connection_address because the latter signals if the bus + we're trying to close is already disconnected. + + 2014-02-13 Eli Zaretskii <eliz@gnu.org> + + * w32proc.c (start_timer_thread): Pass a non-NULL pointer as last + argument to CreateThread. This avoids segfaults on Windows 9X. + Reported by oslsachem <oslsachem@gmail.com>. + + 2014-02-13 Paul Eggert <eggert@cs.ucla.edu> + + Fix subspace record bug on HP-UX 10.20 (Bug#16717). + * unexhp9k800.c (unexec_error): New function, to simplify the code. + (check_lseek): New function, to report lseek errors. + (save_data_space, update_file_ptrs, read_header, write_header) + (copy_file, copy_rest, unexec): Use these news functions. + (update_file_ptrs): Don't assume wraparound behavior when + converting a large size_t value to off_t. + + 2014-02-13 Dmitry Antipov <dmantipov@yandex.ru> + + * composite.c (fill_gstring_header): Pass positions as C integers + and move parameters checking to... + (Fcomposition_get_gstring): ...this function. Handle case when + buffer positions are in reversed order and avoid crash (Bug#16739). + Adjust docstring. + * buffer.c (validate_region): Mention current buffer in error message. + + 2014-02-12 Marcus Karlsson <mk@acc.umu.se> (tiny change) + + * image.c (pbm_load): Set to NO_PIXMAP on error (Bug#16683). + + 2014-02-12 Lars Ingebrigtsen <larsi@gnus.org> + + * buffer.c (syms_of_buffer): Doc clarification (bug#9981). + + 2014-02-11 Glenn Morris <rgm@gnu.org> + + * nsfns.m (ns_display_info_for_name, Fx_open_connection): + Replace refs to "OpenStep" in messages. + + 2014-02-10 Paul Eggert <eggert@cs.ucla.edu> + + Avoid "." at end of error diagnostics. + * cmds.c (Fself_insert_command): Reword and avoid "." at end. + * font.c (Ffont_at): + * nsfns.m (ns_display_info_for_name): + * nsselect.m (Fx_own_selection_internal): + * nsterm.m (performDragOperation:): + Remove "." from end of diagnostic. + + 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org> + + * fns.c (Fmaphash): Say what `maphash' returns, since it may be + unintuitive (bug#15824). + (Fyes_or_no_p): Doc fix (bug#15456). + + 2014-02-10 Dmitry Antipov <dmantipov@yandex.ru> + + * cmds.c (Fself_insert_command): Respect the width of EMACS_INT + and avoid warning. + * eval.c (call_debugger): When exiting the debugger, do not allow + max_specpdl_size less than actual binding depth (Bug#16603). + (syms_of_eval): Adjust docstring. + + 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org> + + * cmds.c (Fself_insert_command): Output a clearer error message on + negative repetitions (bug#9476). + + * macros.c (Fexecute_kbd_macro): Doc fix (bug#14206). + + 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org> + + * syntax.c (Fskip_syntax_backward): Doc clarification (bug#15115). + + * minibuf.c (Fread_string): Doc clarification (bug#15422). + + * buffer.c (Fmake_overlay): Doc clarification (bug#15489). + + 2014-02-08 Juanma Barranquero <lekktu@gmail.com> + + * keyboard.c (Frecursive_edit): Fix typo in docstring. + + 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org> + + * xdisp.c (syms_of_xdisp): Doc clarification (bug#15657). + + * keyboard.c (Frecursive_edit): Say more precicely how throwing + `exit' works (bug#15865). + + 2014-02-07 Martin Rudalics <rudalics@gmx.at> + + Constrain window box/body sizes and margin widths (Bug#16649). + * xdisp.c (window_box_width): Don't return less than zero. + (window_box_left_offset, window_box_right_offset): Don't return + more than the window's pixel width. + * window.c (window_body_height, window_body_width): Don't return + negative value. + (window_resize_apply): Adjust margin width, if necessary. + + 2014-02-07 Glenn Morris <rgm@gnu.org> + + * nsterm.m (syms_of_nsterm): Doc fix. + + 2014-02-06 Eli Zaretskii <eliz@gnu.org> + + * w32.c (pMultiByteToWideChar, pWideCharToMultiByte): + New variables: pointers through which to call the respective APIs. + (filename_to_utf16, filename_from_utf16, filename_to_ansi) + (filename_from_ansi, sys_link, check_windows_init_file): + Call MultiByteToWideChar and WideCharToMultiByte through pointers. + This is required on Windows 9X, where we dynamically load + UNICOWS.DLL which has their non-stub implementations. + (maybe_load_unicows_dll): Assign addresses to these 2 function + pointers after loading UNICOWS.DLL. + + * w32fns.c (Fx_file_dialog, Fw32_shell_execute) [!CYGWIN]: Call + MultiByteToWideChar and WideCharToMultiByte through function + pointers. + + * w32.h (pMultiByteToWideChar, pWideCharToMultiByte): + New declarations. + + 2014-02-06 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (toggleFullScreen:): Hide menubar on secondary monitor + for OSX >= 10.9 if separate spaces are used. + (toggleFullScreen:): Use screen of w instead of fw (Bug#16659). + + 2014-02-06 Glenn Morris <rgm@gnu.org> + + * buffer.c (cache-long-scans): Doc fix. + + 2014-02-05 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (Fw32_shell_execute): Doc fix. + + 2014-02-05 Bastien Guerry <bzg@gnu.org> + + * syntax.c (Fforward_word): Call Fconstrain_to_field with + ESCAPE-FROM-EDGE set to `nil' (Bug#16453). + + 2014-02-05 Martin Rudalics <rudalics@gmx.at> + + * fringe.c (draw_fringe_bitmap_1): Don't draw a fringe if it's + outside the window (Bug#16649). + + * xdisp.c (note_mouse_highlight): When entering a margin area show + a non-text cursor (Bug#16647). + + 2014-02-04 Paul Eggert <eggert@cs.ucla.edu> + + * menu.c (Fx_popup_dialog): Remove label 'dialog_via_menu'. + It prompted a compile-time diagnostic on GNU/Linux. + Simplify to remove the need for the label. + + 2014-02-04 Eli Zaretskii <eliz@gnu.org> + + * w32menu.c (w32_popup_dialog): Don't condition the whole function + on HAVE_DIALOGS. If the dialog is "simple", pop up a message box + to show it; otherwise return 'unsupported--w32-dialog' to signal + to the caller that emulation with menus is necessary. + This resurrects code inadvertently deleted by the 2013-10-08 commit. + (Bug#16636) + (syms_of_w32menu): DEFSYM Qunsupported__w32_dialog. + + * w32term.h (w32_popup_dialog): Prototype is no longer conditioned + by HAVE_DIALOGS. + + * menu.c (Fx_popup_dialog): Don't condition the call to + w32_popup_dialog on HAVE_DIALOGS. If w32_popup_dialog returns a + special symbol 'unsupported--w32-dialog', emulate the dialog with + a menu by calling x-popup-menu. + + * menu.h (Qunsupported__w32_dialog): New extern variable. + + 2014-02-04 Michael Albinus <michael.albinus@gmx.de> + + * keyboard.c (kbd_buffer_get_event): Read file notification events + also in batch mode. + + * xgselect.c (xg_select): Read glib events in any case, even if + there are no file descriptors to watch for. (Bug#16519) + + 2014-02-03 Martin Rudalics <rudalics@gmx.at> + + * dispextern.h (face_id): Add WINDOW_DIVIDER_FIRST_PIXEL_FACE_ID + and WINDOW_DIVIDER_LAST_PIXEL_FACE_ID. + * w32term.c (w32_draw_window_divider): Handle first and last + pixels specially. + * w32term.h (w32_fill_area_abs): New function. + * xdisp.c (x_draw_right_divider): Don't draw over bottom + divider. + * xfaces.c (realize_basic_faces): Handle new face ids. + * xfns.c (Fx_create_frame): Call x_default_parameter for right + and bottom divider width. + * xterm.c (x_draw_window_divider): Handle first and last pixels + specially. + + 2014-02-03 Dmitry Antipov <dmantipov@yandex.ru> + + * print.c (Fexternal_debugging_output): Add cast to pacify + --enable-gcc-warnings. + * eval.c (call_debugger): Grow specpdl if the debugger was + entered due to specpdl overflow (Bug#16603) and allow more + specpdl space for the debugger itself. + + 2014-02-02 Martin Rudalics <rudalics@gmx.at> + + * w32fns.c (Fx_create_frame): Process frame alpha earlier. + (Bug#16619) + + 2014-02-01 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (Ffile_system_info): Use WINAPI in the function + pointers that get the address of GetDiskFreeSpaceEx. (Bug#16615) + + * print.c (Fexternal_debugging_output): If the argument character + is non-ASCII, encode it with the current locale's encoding before + writing the result to the terminal. (Bug#16448) + + * w32fns.c (Fw32_shell_execute): Don't call file-exists-p for + DOCUMENT that is a "remote" file name, i.e. a file-handler exists + for it. (Bug#16558) + + 2014-01-30 Andreas Schwab <schwab@linux-m68k.org> + + * process.c (create_process): Reset SIGPROF handler in the child. + * callproc.c (call_process): Likewise. + + 2014-01-29 Paul Eggert <eggert@cs.ucla.edu> + + * xmenu.c (create_and_show_popup_menu): Port comment to C89. + + 2014-01-29 Eli Zaretskii <eliz@gnu.org> + + * .gdbinit (xprintstr, xprintbytestr): Don't use repetition count + of zero to print strings, GDB doesn't like it. + + * print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE, not + STRING_CHAR_AND_LENGTH, so that if the string is relocated by GC, + we still use correct addresses. (Bug#16576) + + 2014-01-27 K. Handa <handa@gnu.org> + + Fix bug#16286 by a different method from 2014-01-26T00:32:30Z!eggert@cs.ucla.edu, + to preserve the code detection behavior of 24.3. + * coding.h (struct coding_system): New member detected_utf8_bytes. + * coding.c (detect_coding_utf_8): Set coding->detected_utf8_bytes. + (decode_coding_gap): Use short cut for UTF-8 file reading only + when coding->detected_utf8_bytes equals to coding->src_bytes. + * fileio.c (Finsert_file_contents): Cancel the previous change. + + 2014-01-29 Martin Rudalics <rudalics@gmx.at> + + * w32fns.c (x_set_tool_bar_lines): Don't clear area on frames + that are not visible. + + 2014-01-29 Jan Djärv <jan.h.d@swipnet.se> + + * xmenu.c (create_and_show_popup_menu): Handle case when no key + is grabbed (Bug#16565). + + 2014-01-28 Martin Rudalics <rudalics@gmx.at> + + * xdisp.c (last_max_ascent): Re-remove after erroneously + reintroducing it on 2013-11-30 and abolishing Dmitry's removal + from 2013-03-29. + (move_it_to): Re-remove reference to last_max_ascent. + (Fwindow_text_pixel_size): Add iterator's max_ascent and + max_descent here instead of calling line_bottom_y. + Fix doc-string. + + 2014-01-28 Dmitry Antipov <dmantipov@yandex.ru> + + * terminal.c (initial_free_frame_resources): New function. + (init_initial_terminal): Install new hook to free face cache + on initial frame and avoid memory leak. For details, see + <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01974.html>. + * xfaces.c (free_frame_faces): Adjust comment. + + 2014-01-26 Paul Eggert <eggert@cs.ucla.edu> + + * data.c (Fstring_to_number): Document results if unparsable + (Bug#16551). + + 2014-01-26 Jan Djärv <jan.h.d@swipnet.se> + + * xterm.c (x_focus_changed): Check for non-X terminal-frame (Bug#16540) + + 2014-01-26 Paul Eggert <eggert@cs.ucla.edu> + + When decoding, prefer ptrdiff_t to int for buffer positions etc. + * coding.c (detect_coding_utf_8, emacs_mule_char) + (detect_coding_iso_2022, encode_coding_iso_2022, check_ascii) + (check_utf_8, decode_coding): + * coding.h (struct coding_system.errors): + Use ptrdiff_t, not int, for integer values derived from buffer and + string positions. + + Fix crash with insert-file-contents and misdecoded text (Bug#16286). + * fileio.c (Finsert_file_contents): Set CODING_MODE_LAST_BLOCK + before invoking decode_coding_gap, since there's just one block. + + 2014-01-25 Martin Rudalics <rudalics@gmx.at> + + Fix handling of face attributes in Fx_create_frame (Bug#16529). + * w32fns.c (Fx_create_frame): Don't inhibit running Lisp code + too early. Again run change_frame_size before assigning menu- + and tool-bar-lines. + + 2014-01-25 Fabrice Popineau <fabrice.popineau@gmail.com> + + * w32term.c (w32_read_socket): When the WM_DISPLAYCHANGE message + arrives, call x_check_fullscreen, in case the new display has a + different resolution. (Bug#16517) + + 2014-01-25 Eli Zaretskii <eliz@gnu.org> + + * term.c (read_menu_input): If the selected frame changes, exit + the menu. + (tty_menu_show): If the selected frame changes while we displayed + a menu, throw to top level. (Bug#16479) + + 2014-01-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * eval.c (Fsignal): Fix `debug' handling to match 2013-10-03 change. + + 2014-01-24 Paul Eggert <eggert@cs.ucla.edu> + + Fix bool-vector-count-population bug on MinGW64 (Bug#16535). + * data.c (count_one_bits_word): Fix bug (negated comparison) + when BITS_PER_ULL < BITS_PER_BITS_WORD. + + 2014-01-24 Dmitry Antipov <dmantipov@yandex.ru> + + * xdisp.c (reseat_1, Fcurrent_bidi_paragraph_direction): + Avoid undefined behavior by initializing display property bit of a + string processed by the bidirectional iterator. For details, see + <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01920.html>. + + 2014-01-23 Paul Eggert <eggert@cs.ucla.edu> + + Minor cleanup of previous change. + * image.c (imagemagick_error, Fimagemagick_types): + Omit some recently-introduced and unnecessary casts and assignments. + + 2014-01-23 Dmitry Antipov <dmantipov@yandex.ru> + + Fix two memory leaks discovered with Valgrind. + * ftfont.c (ftfont_list) [HAVE_LIBOTF]: Call OTF_close. + * image.c (Fimagemagick_types): Call MagickRelinquishMemory. + + 2014-01-22 Martin Rudalics <rudalics@gmx.at> + + Fixes in window size functions around Bug#16430 and Bug#16470. + * window.c (Fwindow_pixel_width, Fwindow_pixel_height) + (Fwindow_mode_line_height, Fwindow_header_line_height) + (Fwindow_right_divider_width, Fwindow_bottom_divider_width): + Minor doc-string adjustments. + (Fwindow_total_height, Fwindow_total_width): New argument ROUND. + Rewrite doc-strings. + (window_body_height, window_body_width): Do not count partially + visible lines/columns when PIXELWISE is nil (Bug#16470). + (Qfloor, Qceiling): New symbols. + + 2014-01-21 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (unwind_create_frame): Avoid crashing inside assertion + when the image cache is not yet allocated. (Bug#16509) + + 2014-01-21 Dmitry Antipov <dmantipov@yandex.ru> + + * buffer.c (Fkill_buffer): When killing an indirect buffer, + re-attach intervals to its base buffer (Bug#16502). + * intervals.c (set_interval_object): Move from here... + * intervals.h (set_interval_object): ... to here. Fix comments. + + 2014-01-20 Paul Eggert <eggert@cs.ucla.edu> + + Avoid undefined behavior by initializing buffer redisplay bit. + Reported by Dmitry Antipov in + <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01756.html>. + * buffer.c (Fget_buffer_create): Initialize redisplay bit. + + Revert some of the CANNOT_DUMP fix (Bug#16494). + * lread.c (init_lread): Fix typo: NILP, not !NILP. + + 2014-01-19 Eli Zaretskii <eliz@gnu.org> + + * w32font.c (w32_load_unicows_or_gdi32, get_outline_metrics_w) + (get_text_metrics_w, get_glyph_outline_w, get_char_width_32_w) + [!WINDOWSNT]: These functions are no longer compiled on Cygwin; + they are replaced by macros that expand into direct calls to the + corresponding functions from GDI32.DLL. + (globals_of_w32font) [WINDOWSNT]: Don't initialize g_b_* static + variables in the Cygwin build, they are unused. + + 2014-01-19 K. Handa <handa@gnu.org> + + * composite.c (composition_update_it): Fix previous change. + + 2014-01-18 Eli Zaretskii <eliz@gnu.org> + + Fix file name handling on MS-Windows 9X. + * w32.c (maybe_load_unicows_dll): New function. + + * emacs.c (main) [WINDOWSNT]: Call maybe_load_unicows_dll early + on, to make sure we can convert file names to and from UTF-8 on + Windows 9X. This fixes a failure to start up because Emacs cannot + find term/w32-win.el. Reported by oslsachem <oslsachem@gmail.com>. + + * w32font.c [WINDOWSNT]: Include w32.h. + (w32_load_unicows_or_gdi32): Call maybe_load_unicows_dll, instead + of implementing the same stuff. + Remove now unused g_b_init_is_windows_9x. + + * w32.h (maybe_load_unicows_dll): Add prototype. + + 2014-01-17 Eli Zaretskii <eliz@gnu.org> + + * menu.c (Fx_popup_menu): When invoking tty_menu_show, temporarily + switch to single keyboard. Prevents daemon crashes when a new + client connects while we show a TTY menu in an existing client. + (Bug#16479) + + 2014-01-14 Paul Eggert <eggert@cs.ucla.edu> + + Fix MinGW64 porting problem with _setjmp. + Reported by Eli Zaretskii in: + http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01297.html + * image.c (FAST_SETJMP, FAST_LONGJMP): New macros, replacing + the old _setjmp and _longjmp. All uses changed. + + 2014-01-13 Daniel Colascione <dancol@dancol.org> + + * textprop.c (Fremove_list_of_text_properties): + Correctly handle reaching the end of the interval tree. (Bug#15344) + + 2014-01-13 Martin Rudalics <rudalics@gmx.at> + + * xdisp.c (resize_mini_window): Round height to a multiple of + frame's line height. Fix bug in calculation of window start + position (Bug#16424). + + 2014-01-13 Jan Djärv <jan.h.d@swipnet.se> + + * macfont.m: Include termchar.h. + (CG_SET_FILL_COLOR_WITH_FACE_FOREGROUND) + (CG_SET_FILL_COLOR_WITH_FACE_BACKGROUND) + (CG_SET_STROKE_COLOR_WITH_FACE_FOREGROUND): Modify from + *_WITH_GC_* to take face and f as parameters. + (macfont_draw): Check for DRAW_MOUSE_FACE and set face accordingly. + Use *_WITH_FACE_*, and pass face as parameter (Bug#16425). + + 2014-01-13 Daniel Colascione <dancol@dancol.org> + + Fix menu item updating in the presence of the Unity global menu + GTK+ module. + + * gtkutil.h (xg_have_tear_offs): Add frame parameter + * gtkutil.c (xg_have_tear_offs): Count the global menu as a + tear-off. + (xg_update_menubar, xg_update_menu_item): Call g_object_notify when + updating menus; explain why. + (xg_update_frame_menubar): Remove the 23px hack: I can't repro the + problem it's supposed to solve and it interferes with detecting + the presence of a global menu. + * xmenu.c (set_frame_menubar): Call xg_have_tear_offs with new + parameter. + + 2014-01-11 K. Handa <handa@gnu.org> + + * composite.c (composition_update_it): Fix indexing of + LGSTRING_CHAR (Bug#15984). + + 2014-01-11 Fabrice Popineau <fabrice.popineau@gmail.com> + + * unexw32.c (_start) [__MINGW64__]: Define to __start. + + 2014-01-11 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (try_window_id): Don't use this function's optimizations + if overlays in the buffer displayed by the window have changed + since last redisplay. (Bug#16347) + (message_dolog): Fix indentation. + + 2014-01-11 Martin Rudalics <rudalics@gmx.at> + + * frame.c (frame_resize_pixelwise): Fix doc-string. + + 2014-01-10 Martin Rudalics <rudalics@gmx.at> + + Fix handling of internal borders (Bug#16348). + * dispnew.c (adjust_frame_glyphs_for_window_redisplay): + Remove internal border width from pixel width of windows. + (change_frame_size_1): Don't return early when frame's pixel + size changes - we still have to record the new sizes in the + frame structure. + * w32fns.c (x_set_tool_bar_lines): Clear internal border width + also when toolbar gets larger. + * window.c (check_frame_size): Include internal_border_width in + check. + * xdisp.c (Ftool_bar_height): Fix doc-string typo. + * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): + In non-toolkit/non-GTK version clear internal border. + * xterm.c (x_clear_under_internal_border): New function for + non-toolkit/non-GTK version. + (x_after_update_window_line): In non-toolkit/non-GTK version + don't do that. + (handle_one_xevent, x_set_window_size): + Call x_clear_under_internal_border in non-toolkit/non-GTK version. + * xterm.h (x_clear_under_internal_border): Extern it. + + 2014-01-07 Paul Eggert <eggert@cs.ucla.edu> + + Fix misdisplay of interlaced GIFs with libgif5 (Bug#16372). + * image.c (gif_load): libgif5 deinterlaces for us, so don't do + it again. + + 2014-01-06 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (redisplay_window): Don't skip window redisplay if the + last value of point is not equal to buffer's point. (Bug#16129) + + 2014-01-05 Paul Eggert <eggert@cs.ucla.edu> + + Spelling fixes. + * nsterm.h (updateCollectionBehavior): Rename from + updateCollectionBehaviour. All uses changed. + + Port to GNU/Linux with recent grsecurity/PaX patches (Bug#16343). + * Makefile.in (SETFATTR): New macro. + (temacs$(EXEEXT)): Use it. + + 2014-01-04 Martin Rudalics <rudalics@gmx.at> + + Fix maximization behavior on Windows (Bug#16300). + * w32fns.c (w32_fullscreen_rect): Don't handle + FULLSCREEN_MAXIMIZED and FULLSCREEN_NONE specially. + * w32term.c (w32fullscreen_hook): Use SetWindowPlacement instead + of SetWindowPos. Restore last placement also when leaving + FULLSCREEN_HEIGHT and FULLSCREEN_WIDTH. Call ShowWindow in all + but the FULLSCREEN_BOTH case. + + 2014-01-03 Paul Eggert <eggert@cs.ucla.edu> + + Port to C89. + * data.c (arithcompare_driver): + * fileio.c (Fcar_less_than_car): + * fns.c (internal_equal): + * frame.c (delete_frame): + * lisp.h (enum More_Lisp_Bits): + * lread.c (read1): + Avoid C99 constructs that don't work in C89. + * data.c (ULL_MAX, count_trailing_zeros_ll): New macros, + to port to C89, which doesn't have 'long long'. + (count_trailing_zero_bits): Use them. + + 2014-01-03 Chong Yidong <cyd@gnu.org> + + * doc.c (Fdocumentation): Remove dynamic-docstring-function. + + 2014-01-02 Martin Rudalics <rudalics@gmx.at> + + Further adjust frame/window scrollbar width calculations. + * window.c (apply_window_adjustment): + Set windows_or_buffers_changed. + (Fwindow_scroll_bars): Return actual scrollbar width. + * xfns.c (x_set_scroll_bar_default_width): Rename wid to unit. + For non-toolkit builds again use 14 as minimum width and set + FRAME_CONFIG_SCROLL_BAR_WIDTH accordingly. + * xterm.c (XTset_vertical_scroll_bar): Take width from + WINDOW_SCROLL_BAR_AREA_WIDTH. + (x_new_font): Rename wid to unit. Base calculation of new + scrollbar width on toolkit used and make it analogous to that of + x_set_scroll_bar_default_width. + * w32fns.c (x_set_scroll_bar_default_width): Rename wid to unit. + (Fx_create_frame): Call x_set_scroll_bar_default_width instead + of GetSystemMetrics. + * w32term.c (w32_set_vertical_scroll_bar): Take width from + WINDOW_SCROLL_BAR_AREA_WIDTH. + (x_new_font): Make it correspond to changes in xterm.c. + + 2014-01-01 Paul Eggert <eggert@cs.ucla.edu> + + * lisp.h (EMACS_INT): Configure based on INTPTR_MAX, not LONG_MAX. + This is a cleaner way to fix the MinGW-w64 porting problem. + Check for INTPTR_MAX misconfiguration. + + 2014-01-01 Eli Zaretskii <eliz@gnu.org> + + * search.c (newline_cache_on_off, find_newline): In indirect + buffers, use the newline cache of the base buffer. + + * insdel.c (invalidate_buffer_caches): If BUF is an indirect + buffer, invalidate the caches of its base buffer. (Bug#16265) + + * indent.c (width_run_cache_on_off, compute_motion): In indirect + buffers, use the width-run cache of the base buffer. + + * xdisp.c (redisplay_window): When the window displays an indirect + buffer, and the character widths in the display table have + changed, invalidate the width-run cache of the corresponding base + buffer. + + * fileio.c (Finsert_file_contents): When invalidating the newline + cache, consider the case of inserting into indirect buffer. + + * bidi.c (bidi_paragraph_cache_on_off, bidi_find_paragraph_start): + In indirect buffers, use the paragraph cache of the base buffer. + + 2013-12-31 Martin Rudalics <rudalics@gmx.at> + + * window.c (grow_mini_window): Fix last change. + + 2013-12-31 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (windowDidResignKey:): Set mouse_moved to 0 (Bug#8421). + + 2013-12-31 Fabrice Popineau <fabrice.popineau@supelec.fr> + + * w32term.c (w32_initialize): Use LCID and LOWORD. + + * w32proc.c (create_child): Use pid_t for 5th argument. + (IsValidLocale): Don't provide prototype for MinGW64. + (Fw32_get_valid_keyboard_layouts, Fw32_get_keyboard_layout) + (Fw32_set_keyboard_layout): Use HKL and HIWORD/LOWORD. + + * w32heap.c (allocate_heap) [_WIN64]: Use "ull", not "i64", which + MinGW64 doesn't support. + + * lisp.h (EMACS_INT) [_WIN64]: Define for the MinGW64 build. + + * w32.c (set_named_security_info): New function. + (acl_set_file): Fall back on set_named_security_info if + set_file_security fails. + (g_b_init_set_named_security_info_w) + (g_b_init_set_named_security_info_a): New static variables. + (globals_of_w32): Initialize them to zero. + (set_named_security_info): Set them to non-zero if the + corresponding API is available. + (SetNamedSecurityInfoW_Proc, SetNamedSecurityInfoA_Proc): + New function typedefs. + + 2013-12-31 Martin Rudalics <rudalics@gmx.at> + + Some more fixes following pixelwise resize changes including one + for Bug#16306. + * gtkutil.c (x_wm_set_size_hint): Have size hints respect value + of frame_resize_pixelwise. + * widget.c (pixel_to_text_size): New function. + (update_wm_hints): Have size hints respect value of + frame_resize_pixelwise. + (EmacsFrameResize): Alway process resize requests pixelwise. + * window.c (grow_mini_window): Make sure mini window is at least + one line tall. + * xdisp.c (display_menu_bar): Make sure menubar extends till + right end of frame. + * xfns.c (x_set_menu_bar_lines): Resize frame windows pixelwise. + (x_set_tool_bar_lines): Calculate pixelwise. + * xterm.c (x_wm_set_size_hint): Have size hints respect value of + frame_resize_pixelwise. + + 2013-12-30 Juanma Barranquero <lekktu@gmail.com> + + * fileio.c (Fcopy_file) [!WINDOWSNT]: Don't declare on Windows + variables not used there. + + 2013-12-30 Eli Zaretskii <eliz@gnu.org> + + * w32.c (sys_umask): New function. (Bug#16299) + + 2013-12-30 Martin Rudalics <rudalics@gmx.at> + + * dispnew.c (change_frame_size_1): Take old width of root window + from that window's pixel width. (Bug#16284) + + 2013-12-29 Paul Eggert <eggert@cs.ucla.edu> + + Plain copy-file no longer chmods an existing destination (Bug#16133). + * fileio.c (realmask): Now a static var, not a local. + (barf_or_query_if_file_exists): New arg KNOWN_TO_EXIST. + Remove arg STATPTR. All uses changed. + (Fcopy_file): Do not alter permissions of existing destinations, + unless PRESERVE-PERMISSIONS (renamed from + PRESERVE-EXTENDED-ATTRIBUTES) is non-nil. + Avoid race when testing for existing destinations and for + when input and output files are the same. + If changing the group fails, adjust both default and + preserved permissions so that access is not granted to the + wrong group. + (Fset_default_file_modes, init_fileio): Update realmask. + (Fdefault_file_modes): Use realmask instead of calling umask. + + 2013-12-28 Paul Eggert <eggert@cs.ucla.edu> + + Fix pipe bug with OS X emacs --daemon (Bug#16262). + * emacs.c (main) [DAEMON_MUST_EXEC]: Clear the close-on-exec + flags on the daemon pipe ends before execing. + + 2013-12-28 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (Fx_create_frame): Error out if called from a TTY + session. (Bug#14739) + + 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl> + + * callproc.c (Vexec_path): Document that exec-directory is in it. + + 2013-12-27 Steve Purcell <steve@sanityinc.com> (tiny change) + + * nsterm.m (syms_of_nsterm): Enable ns-use-srgb-colorspace by + default. + + 2013-12-27 Chong Yidong <cyd@gnu.org> + + * data.c (Fsymbol_function): Doc fix. + + 2013-12-26 Martin Rudalics <rudalics@gmx.at> + + Some more tinkering with Bug#16051. + * window.c (resize_frame_windows): Don't let the size of the + root window drop below the frame's default character size. + Never ever delete any subwindows - let the window manager do the + clipping. + + * w32fns.c (x_set_tool_bar_lines): Rewrite calculation of number + of toolbar lines needed when they exceed the height of the root + window. + (unwind_create_frame_1): New function. + (Fx_create_frame): Generally inhibit calling the window + configuration change hook here. Remove extra call to + change_frame_size - it's not needed when we don't run the + configuration change hook. + + 2013-12-26 Paul Eggert <eggert@cs.ucla.edu> + + Fix core dumps with gcc -fsanitize=address and GNU/Linux. + On my Fedora 19 platform the core dumps were so big that + my desktop became nearly catatonic. + * alloc.c (no_sanitize_memcpy) [MAX_SAVE_STACK > 0]: New function. + (Fgarbage_collect) [MAX_SAVE_STACK > 0]: Use it. + (USE_ALIGNED_MALLOC): Do not define if addresses are sanitized. + (mark_memory): Use ATTRIBUTE_NO_SANITIZE_ADDRESS rather than + a clang-only syntax. + * conf_post.h (__has_feature): New macro, if not already defined. + (ADDRESS_SANITIZER, ADDRESS_SANITIZER_WORKAROUND) + (ATTRIBUTE_NO_SANITIZE_ADDRESS): New macros. + + 2013-12-25 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (Fw32_shell_execute): Make DOCUMENT absolute only if it + is a file name. (Bug#16252) + + 2013-12-25 Chong Yidong <cyd@gnu.org> + + * keyboard.c (Voverriding_terminal_local_map) + (Voverriding_local_map): Doc fix. + + * keymap.c (Vemulation_mode_map_alists): Doc fix. + + 2013-12-24 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (Fw32_shell_execute): Ensure DOCUMENT is an absolute + file name when it is submitted to ShellExecute. Simplify code. + Don't test DOCUMENT for being a string, as that is enforced by + CHECK_STRING. Doc fix. + + 2013-12-23 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (tool_bar_height): Use WINDOW_PIXEL_WIDTH to set up the + iterator X limits, not FRAME_TOTAL_COLS, for consistency with what + redisplay_tool_bar does. Improve and fix commentary. + (hscroll_window_tree): Don't assume w->cursor.vpos is within the + limits of the glyph matrices. (Bug#16051) + (redisplay_tool_bar): Modify the tool-bar-lines frame parameter + only when the new size is different from the old one, and the new + size can be achieved given the frame height. + + 2013-12-23 Jan Djärv <jan.h.d@swipnet.se> + + * conf_post.h: Use unsigned it for bool_bf if GNUSTEP (Bug#16210). + + 2013-12-23 Glenn Morris <rgm@gnu.org> + + * lread.c (Fload): Mention load-prefer-newer in doc. + + 2013-12-22 Martin Rudalics <rudalics@gmx.at> + + Handle Bug#16207 by being more restrictive when running hooks. + * window.c (unwind_change_frame): New function. + (Fset_window_configuration): Don't run configuration change hook + while the frame configuration is unsafe. Call select_window + twice. + + 2013-12-22 Xue Fuqiao <xfq.free@gmail.com> + + * lread.c (syms_of_lread) <load_prefer_newer>: Doc fix. + + 2013-12-21 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.h: Declare EmacsColor category. + + * nsterm.m (NSColor): Implement EmacsColor category. + (ns_get_color): Use colorUsingDefaultColorSpace. + (ns_get_color, ns_term_init): Use colorForEmacsRed. + + * nsfns.m (Fxw_color_values): Use colorUsingDefaultColorSpace. + + 2013-12-21 Eli Zaretskii <eliz@gnu.org> + + * image.c (fn_png_longjmp) [WINDOWSNT]: Mark the function as + having the PNG_NORETURN attribute, to avoid compiler warning in + my_png_error. + + 2013-12-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * w32term.h (struct scroll_bar): Remove member `fringe_extended_p'. + + * w32term.c (w32_draw_fringe_bitmap, x_scroll_run): Remove code for + fringe background extension. + (x_scroll_bar_create): Remove variables `sb_left' and `sb_width', + because they are now always the same as `left' and `width', + respectively. Remove code for the case that `width' and + `sb_width' are different. + + 2013-12-20 Martin Rudalics <rudalics@gmx.at> + + Remove scroll_bar_actual_width from frames. + * frame.h (struct frame): Remove scroll_bar_actual_width slot. + * frame.c (Fscroll_bar_width): Return scroll bar area width. + (x_figure_window_size): + * nsterm.m (x_set_window_size): + * widget.c (set_frame_size): + * w32term.c (x_set_window_size): + * xterm.c (x_set_window_size, x_set_window_size_1): Don't set + scroll_bar_actual_width. + + Convert scroll_bar members to integers on Windows. + * w32term.h (struct scroll_bar): Convert top, left, width, + height, start, end and dragging to integers. + * w32fns.c (w32_createscrollbar): Remove XINT conversions for + scroll_bar members. + * w32term.c (w32_set_scroll_bar_thumb) + (w32_scroll_bar_handle_click): Remove XINT conversions for + scroll_bar members. Treat bar->dragging as integer. + (x_scroll_bar_create): Call ALLOCATE_PSEUDOVECTOR with "top" as + first element. Remove XINT conversions for scroll_bar members. + (w32_set_vertical_scroll_bar, x_scroll_bar_report_motion): + Remove XINT conversions for scroll_bar members. + + Fix assignment for new window total sizes. + * window.c (Fwindow_resize_apply_total): Assign values for + minibuffer window. + + 2013-12-20 Chong Yidong <cyd@gnu.org> + + * textprop.c (Fadd_face_text_property): Doc fix. Rename `appendp' + argument to `append'. + + 2013-12-19 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (extend_face_to_end_of_line): Use default face, not the + current text face, for extending the face of the display margins. + (Bug#16192) + + * casefiddle.c (Fupcase_word, Fdowncase_word, Fcapitalize_word): + Doc fix. (Bug#16190) + + 2013-12-19 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.h (KEY_NS_DRAG_FILE, KEY_NS_DRAG_COLOR, KEY_NS_DRAG_TEXT): + Remove. + + * nsterm.m (Qfile, Qurl): New. + (EV_MODIFIERS2): New macro. + (EV_MODIFIERS): Use EV_MODIFIERS2. + (ns_term_init): Remove font and color from DND, does not work on + newer OSX, and other ports don't have them. + (performDragOperation:): Handle modifiers used during drag. + Use DRAG_N_DROP_EVENT instead of NS specific events (Bug#8051). + Remove global Lisp variables used to communicate with ns-win.el. + Remove font and color handling. + (syms_of_nsterm): Defsym Qfile and Qurl. + + 2013-12-19 Anders Lindgren <andlind@gmail.com> + + * nsterm.m (NSTRACE_SIZE, NSTRACE_RECT): New macros. + (ns_constrain_all_frames, x_set_offset): Remove assignment to + dont_constrain. + (updateFrameSize:, windowWillResize:toSize:): Add trace. + (constrainFrameRect): Remove special case nr_screens == 1. + Don't constrain size to size of view. + + * nsterm.h (ns_output): Remove dont_constrain. + + 2013-12-19 Anders Lindgren <andlind@gmail.com> + + * nsterm.m (mouseDown:): Generate HORIZ_WHEEL_EVENT. + + 2013-12-18 Paul Eggert <eggert@cs.ucla.edu> + + Minor fixes for recent openp changes. + * lisp.h (GCPRO7): New macro. + * lread.c (openp): Use bool for boolean; all callers changed. + Protect save_string from GC. Don't assume that file descriptors + are nonzero. Redo save_mtime comparison to avoid bogus GCC + warning about uninitialized variable. + + 2013-12-18 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (emacs_abort): Use intptr_t as argument of + INT_BUFSIZE_BOUND, to avoid compiler warnings. + + 2013-12-18 Glenn Morris <rgm@gnu.org> + + * lread.c (Fload): Pass load_prefer_newer to openp. + Don't bother checking mtime if openp already did it. + (openp): Add `newer' argument, to check all suffixes + and find the newest file. + (syms_of_lread) <load_prefer_newer>: New option. (Bug#2061) + * callproc.c (call_process): + * charset.c (load_charset_map_from_file): + * emacs.c (init_cmdargs): + * image.c (x_create_bitmap_from_file, x_find_image_file): + * lisp.h (openp): + * lread.c (Flocate_file_internal): + * process.c (Fformat_network_address): + * sound.c (Fplay_sound_internal): + * w32.c (check_windows_init_file): + * w32proc.c (sys_spawnve): Update for new arg spec of openp. + + * emacs.c (standard_args) [HAVE_NS]: Remove -disable-font-backend. + + 2013-12-17 Eli Zaretskii <eliz@gnu.org> + + * w32.c (getloadavg): Don't index samples[] array with negative + indices. Recover from wall-clock time being set backwards. + + * w32term.c (w32_initialize): Declare the argument of + set_user_model as const. + + * w32menu.c <MessageBoxW_Proc>: Fix argument declarations. + (w32_menu_show): Constify some arguments passed to MessageBox. + + * w32uniscribe.c (uniscribe_font_driver): Use LISP_INITIALLY_ZERO + to initialize Lisp objects. + + * w32font.c (w32font_driver): Use LISP_INITIALLY_ZERO to + initialize Lisp objects. + + * frame.c (x_set_frame_parameters) [HAVE_X_WINDOWS]: Declare and + use variables used only on X under that condition. + + * fileio.c (Fcopy_file) [!WINDOWSNT]: Don't declare on Windows + variables not used there. + + 2013-12-16 Paul Eggert <eggert@cs.ucla.edu> + + Fix problems with CANNOT_DUMP and EMACSLOADPATH. + * lread.c (init_lread): If CANNOT_DUMP, we can't be dumping. + + 2013-12-16 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (Fmove_point_visually): Fix subtle bugs in the fallback + code, revealed in presence of R2L characters, character + compositions, and display vectors. A better fix for Bug#16148. + (extend_face_to_end_of_line): Don't reference tool_bar_window in + GTK and NS builds, they don't have this member of struct frame. + + * dispextern.h (struct composition_it): Correct a comment for the + 'width' member. + + 2013-12-16 Paul Eggert <eggert@cs.ucla.edu> + + * font.h (valid_font_driver) [!ENABLE_CHECKING]: Define a dummy. + This prevents a compilation error on C compilers that do not + default functions to return 'int' if not declared. Also, add + INLINE_HEADER_BEGIN and INLINE_HEADER_END to this include file, + since it now uses inline functions. + + 2013-12-16 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (extend_face_to_end_of_line): Don't fill background of + display margins on mode line, header line, and in the frame's + tool-bar window. (Bug#16165) + + 2013-12-16 Andreas Schwab <schwab@suse.de> + + * gnutls.c (Fgnutls_boot): Properly check Flistp return value. + + 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com> + + * gnutls.c (Fgnutls_boot): Use `Flistp' instead of + `CHECK_LIST_CONS'. + + 2013-12-16 Martin Rudalics <rudalics@gmx.at> + + * w32term.c (w32_enable_frame_resize_hack): Default to 1. + + 2013-12-16 Dmitry Antipov <dmantipov@yandex.ru> + + * font.c (valid_font_driver) [ENABLE_CHECKING]: New function + intended to find bogus pointers in font objects (Bug#16140). + * font.h (valid_font_driver) [ENABLE_CHECKING]: Add prototype. + * alloc.c (cleanup_vector): Use valid_font_driver in eassert. + (compact_font_cache_entry, compact_font_caches) [!HAVE_NTGUI]: + Disable for MS-Windows due to Bug#15876; apparently this + requires more or less substantial changes in fontset code. + * xfont.c (xfont_close): + * xftfont.c (xftfont_close): Call x_display_info_for_display + to check whether 'Display *' is valid (Bug#16093 and probably + Bug#16069). + + 2013-12-15 Eli Zaretskii <eliz@gnu.org> + + * fileio.c (Fexpand_file_name) [WINDOWSNT]: Fix conditionals. + Reported by Juanma Barranquero <lekktu@gmail.com>. + + * process.c (Fprocess_send_eof): Don't crash if someone tries to + open a pty on MS-Windows. (Bug#16152) + + * emacs.c (decode_env_path): Fix bogus comparison against + emacs_dir. Reported by Juanma Barranquero <lekktu@gmail.com>. + + 2013-12-15 Juanma Barranquero <lekktu@gmail.com> + + * w32fns.c (Fw32_shell_execute): Remove unused local variable. + (Fx_file_dialog): Add parentheses around && to silence warning. + + * w32term.c (construct_drag_n_drop): Remove unused local variable. + + 2013-12-15 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (extend_face_to_end_of_line): Extend background of + non-default face in margin areas as well. (Bug#16151) + (display_line): Call extend_face_to_end_of_line for continued + lines as well, if the display margins have non-zero width. + (set_glyph_string_background_width): When needed, set the + extends_to_end_of_line_p flag on glyph strings to be drawn in + margin areas, not only in the text area. + + * frame.h (FRAME_MOUSE_UPDATE): Fix a typo that caused infloop at + startup. + + 2013-12-15 Paul Eggert <eggert@cs.ucla.edu> + + * gnutls.c (Fgnutls_boot): Fix typo; "!" applied to a Lisp_Object. + Don't worry about verify_error being t, since it has to be a list. + + 2013-12-14 Paul Eggert <eggert@cs.ucla.edu> + + Use bool for boolean, focusing on headers. + * atimer.h, lisp.h, syssignal.h, syswait.h, unexelf.c: + No need to include <stdbool.h>, since conf_post.h does it now. + * buffer.h (BUF_COMPUTE_UNCHANGED, DECODE_POSITION) + (BUFFER_CHECK_INDIRECTION, GET_OVERLAYS_AT, PER_BUFFER_VALUE_P) + (SET_PER_BUFFER_VALUE_P): + * ccl.c, ccl.h (setup_ccl_program): + * ccl.h (CHECK_CCL_PROGRAM): + * character.h (MAKE_CHAR_UNIBYTE, CHECK_CHARACTER_CAR) + (CHECK_CHARACTER_CDR, CHAR_STRING_ADVANCE, NEXT_CHAR_BOUNDARY) + (PREV_CHAR_BOUNDARY, FETCH_STRING_CHAR_ADVANCE) + (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE) + (FETCH_STRING_CHAR_ADVANCE_NO_CHECK, FETCH_CHAR_ADVANCE) + (FETCH_CHAR_ADVANCE_NO_CHECK, INC_POS, DEC_POS, INC_BOTH) + (DEC_BOTH, BUF_INC_POS, BUF_DEC_POS): + * charset.h (CHECK_CHARSET, CHECK_CHARSET_GET_ID) + (CHECK_CHARSET_GET_ATTR, CHECK_CHARSET_GET_CHARSET) + (CHARSET_FAST_MAP_SET): + * coding.c (decode_coding_ccl, encode_coding_ccl): + * coding.h (CHECK_CODING_SYSTEM, CHECK_CODING_SYSTEM_GET_SPEC) + (CHECK_CODING_SYSTEM_GET_ID, SJIS_TO_JIS, SJIS_TO_JIS2) + (JIS_TO_SJIS, JIS_TO_SJIS2, ENCODE_FILE, DECODE_FILE) + (ENCODE_SYSTEM, DECODE_SYSTEM, ENCODE_UTF_8) + (decode_coding_c_string): + * composite.h (COMPOSITION_DECODE_REFS, COMPOSITION_DECODE_RULE): + * conf_post.h (has_attribute): + * dispextern.h (trace_redisplay_p) + (INC_TEXT_POS, DEC_TEXT_POS, SET_GLYPH_FROM_GLYPH_CODE) + (SET_CHAR_GLYPH, SET_CHAR_GLYPH_FROM_GLYPH) + (SET_GLYPH_FROM_CHAR_GLYPH) + (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P) + (FACE_SUITABLE_FOR_ASCII_CHAR_P, FACE_SUITABLE_FOR_CHAR_P) + (PRODUCE_GLYPHS, reset_mouse_highlight, in_display_vector_p) + (cursor_in_mouse_face_p): + * dispnew.c (adjust_glyph_matrix, clear_glyph_matrix_rows) + (blank_row, prepare_desired_row) + (build_frame_matrix_from_leaf_window, make_current) + (mirror_make_current, mirrored_line_dance, mirror_line_dance) + (update_window, scrolling_window, update_frame_line): + * disptab.h (GLYPH_FOLLOW_ALIASES): + * editfns.c (Fformat): + * font.h (FONT_WEIGHT_SYMBOLIC, FONT_SLANT_SYMBOLIC) + (FONT_WIDTH_SYMBOLIC, FONT_WEIGHT_FOR_FACE, FONT_SLANT_FOR_FACE) + (FONT_WIDTH_FOR_FACE, FONT_WEIGHT_NAME_NUMERIC) + (FONT_SLANT_NAME_NUMERIC, FONT_WIDTH_NAME_NUMERIC) + (FONT_SET_STYLE, CHECK_FONT, CHECK_FONT_SPEC, CHECK_FONT_ENTITY) + (CHECK_FONT_OBJECT, CHECK_FONT_GET_OBJECT, FONT_ADD_LOG) + (FONT_DEFERRED_LOG): + * frame.h (FRAME_W32_P, FRAME_MSDOS_P, FRAME_WINDOW_P) + (FRAME_EXTERNAL_TOOL_BAR, FRAME_EXTERNAL_MENU_BAR, FOR_EACH_FRAME) + (FRAME_MOUSE_UPDATE): + * fringe.c (Fdefine_fringe_bitmap): + * image.c (x_create_bitmap_from_data, x_create_bitmap_mask) + (x_create_bitmap_from_xpm_data, xpm_load_image): + * intervals.h (INTERVAL_HAS_PARENT, INTERVAL_PARENT) + (set_interval_parent, RESET_INTERVAL, COPY_INTERVAL_CACHE) + (MERGE_INTERVAL_CACHE): + * keymap.h (KEYMAPP): + * lisp.h (eassert, USE_LSB_TAG, CHECK_LISP_OBJECT_TYPE) + (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE, DEFSYM, PSEUDOVECTORP) + (CHECK_RANGED_INTEGER, CHECK_TYPE_RANGED_INTEGER) + (CHECK_NUMBER_COERCE_MARKER, CHECK_NUMBER_OR_FLOAT_COERCE_MARKER) + (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL, DEFVAR_INT) + (DEFVAR_BUFFER_DEFAULTS, DEFVAR_KBOARD, QUIT) + (RETURN_UNGCPRO, USE_SAFE_ALLOCA, SAFE_NALLOCA, SAFE_FREE) + (SAFE_ALLOCA_LISP, FOR_EACH_ALIST_VALUE, functionp): + * syntax.h (SYNTAX_ENTRY, SYNTAX_WITH_FLAGS, SYNTAX) + (UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD) + (SETUP_BUFFER_SYNTAX_TABLE): + * systime.h (timespec_valid_p): + * term.c (save_and_enable_current_matrix): + * window.h (WINDOW_MENU_BAR_P, WINDOW_TOOL_BAR_P): + * xdisp.c (in_display_vector_p, display_tool_bar_line) + (redisplay_internal, try_window_reusing_current_matrix) + (sync_frame_with_window_matrix_rows, try_window_id) + (display_menu_bar, display_tty_menu_item, display_mode_line) + (coords_in_mouse_face_p, cursor_in_mouse_face_p): + * xdisp.c (trace_redisplay_p) [GLYPH_DEBUG]: + * xmenu.c (xmenu_show): + * xterm.c (use_xim, x_term_init): + * xterm.h (XSync, GTK_CHECK_VERSION, use_xim, SET_SCROLL_BAR_X_WIDGET) + (struct x_bitmap_record): + Use bool for booleans. + * ccl.c (struct buffer_text): + * ccl.h (struct ccl_program): + * charset.h (struct charset): + * cm.h (struct cm): + * coding.h (struct iso_2022_spec, struct coding_system): + * dispextern.h (struct glyph, struct glyph_matrix, struct glyph_row) + (struct glyph_string, struct face, struct face_cache) + (struct bidi_string_data, struct bidi_it) + (struct draw_fringe_bitmap_params, struct it, Mouse_HLInfo) + (struct image): + * editfns.c (Fformat): + * frame.h (struct frame): + * fringe.c (struct fringe_bitmap): + * intervals.h (struct interval): + * keyboard.h (struct kboard): + * lisp.h (struct Lisp_Symbol, struct Lisp_Misc_Any, struct Lisp_Marker) + (struct Lisp_Overlay, struct Lisp_Save_Value, struct Lisp_Free) + (struct Lisp_Buffer_Local_Value, union specbinding): + * macfont.m (struct macfont_info): + * process.h (struct Lisp_Process): + * termchar.h (struct tty_display_info): + * window.h (struct window): + * xterm.h (struct x_output): + Use bool_bf for boolean bit-fields. + * ccl.c (setup_ccl_program): Now returns bool instead of -1 or 0. + All callers changed. + * ccl.h (struct ccl_program): Remove unused members private_state, + src_multibyte, dst_multibyte, cr_consumed, suppress_error, + eight_bit_control. + (struct ccl_spec): Remove unused members cr_carryover, + eight_bit_carryover. + * conf_post.h: Include <stdbool.h>. + (bool_bf): New type. + * dispextern.h (TRACE, PREPARE_FACE_FOR_DISPLAY): + * intervals.h (RESET_INTERVAL, COPY_INTERVAL_CACHE) + (MERGE_INTERVAL_CACHE): Surround statement macro with proper + 'do { ... } while (false)' brackets. + * dispextern.h (IF_DEBUG): Properly parenthesize and convert to void. + Args must now be expressions; all callers changed. + (SET_MATRIX_ROW_ENABLED_P): Assume 2nd arg is bool. + (PRODUCE_GLYPHS): Simplify use of boolean. + * fileio.c (Fcopy_file): + If I is an integer, prefer 'if (I != 0)' to 'if (I)'. + * lisp.h (UNGCPRO): Return void, not int. + (FOR_EACH_TAIL): Use void expression, not int expression. + * region-cache.c: Reindent. + * region-cache.h: Copy comments from region-cache.c, to fix + incorrect remarks about booleans. + + 2013-12-14 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (Fmove_point_visually): Expect overshoot in move_it_to + when character at point is displayed from a display vector. + (Bug#16148) + + 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com> + + * gnutls.c: Replace `:verify_hostname_error' with `:verify_error', + now a list of certificate validation checks that will abort a + connection with an error. + (Fgnutls_boot): Document it and use it. + + 2013-12-14 Martin Rudalics <rudalics@gmx.at> + + * w32term.c (w32_enable_frame_resize_hack): New variable. + (x_set_window_size): Use it to hack frame resizing on Windows + (Bug#16028). + + 2013-12-14 Eli Zaretskii <eliz@gnu.org> + + * fileio.c (Fcopy_file) [WINDOWSNT]: Move most of the + Windows-specific code to w32.c. Change error message text to + match that of Posix platforms. + + * w32.c (w32_copy_file): New function, most of the code copied and + reworked from Fcopy_file. Improve error handling. Plug memory + leak when errors are thrown. Support file names outside of the + current codepage. (Bug#7100) + + 2013-12-13 Paul Eggert <eggert@cs.ucla.edu> + + * lread.c (load_path_default): Prototype. + + 2013-12-13 Glenn Morris <rgm@gnu.org> + + * lread.c: Unconditionally reset load-path after dumping. (Bug#16107) + (dump_path): Remove. + (load-path-default): Remove `changed' argument. + Do not set dump_path permanently. Simplify. + (init_lread): Simplify. + (syms_of_lread): Remove dump_path. + + 2013-12-13 Dmitry Antipov <dmantipov@yandex.ru> + + * alloc.c, font.c, font.h, ftfont.c, ftxfont.c, macfont.m, + * nsfont.m, w32font.c, xfont.c, xftfont.c: Revert last and + 2013-12-12 font-related change to avoid Bug#16128, which + is quite hard to fix without even more substantial changes. + + 2013-12-13 Dmitry Antipov <dmantipov@yandex.ru> + + * font.c (font_close_object): Check for live frame (Bug#16128). + + 2013-12-13 Paul Eggert <eggert@cs.ucla.edu> + + * gnutls.c, gnutls.h (emacs_gnutls_record_check_pending): + Return ptrdiff_t, not int, since it's a buffer size. + Reindent/reparen some macros to a more Gnuish style. + + 2013-12-12 Paul Eggert <eggert@cs.ucla.edu> + + Avoid undefined behavior with huge regexp interval counts. + * regex.c (GET_INTERVAL_COUNT): Rename from 'GET_UNSIGNED_NUMBER', + since it's now specialized to interval counts. All uses changed. + Do not assume wraparound on signed integer overflow. + (regex_compile): Simplify based on the above changes. + + 2013-12-12 Eli Zaretskii <eliz@gnu.org> + + Support file names on MS-Windows that use characters outside of + the current system codepage. (Bug#7100) + + * w32.c (get_file_security, set_file_security) + (create_symbolic_link): Separate pointers and boolean flags for + ANSI and Unicode APIs. Use the latter if w32_unicode_filenames is + non-zero, else the former. + (codepage_for_filenames, filename_to_utf16, ) + (filename_from_utf16, filename_to_ansi, filename_from_ansi): + New functions. + (init_user_info): Allow $HOME and $SHELL to include non-ANSI + characters. + (normalize_filename): Lose the DBCS code, now works on UTF-8. + Accept only one argument; all callers changed. + (dostounix_filename): Remove the second argument, now works in + UTF-8. All callers changed. + (parse_root): Lose DBCS code. + (get_long_basename, w32_get_short_filename, init_environment) + (GetCachedVolumeInformation, sys_readdir, open_unc_volume) + (read_unc_volume, logon_network_drive, faccessat, sys_chdir) + (sys_chmod, sys_creat, sys_fopen, sys_link, sys_mkdir, sys_open) + (sys_rename_replace, sys_rmdir, sys_unlink, stat_worker, utime) + (is_symlink, readlink, chase_symlinks, w32_delayed_load): Work in + Unicode mode if w32_unicode_filenames is non-zero, in ANSI mode + otherwise. + (ansi_encode_filename): New function. + (get_emacs_configuration, get_emacs_configuration_options): + Functions deleted. + (add_volume_info, GetCachedVolumeInformation): Run the input file + name through unixtodos_filename, to ensure it is stored and + referenced in canonical form. + (get_volume_info): Lose the DBCS code, now works in UTF-8. + (logon_network_drive, sys_link, utime): Improve error handling. + (sys_access): New function. + (hashval, generate_inode_val): Unused functions deleted. + (symlink, readlink, readlinkat): Lose DBCS code, now works in UTF-8. + (check_windows_init_file): Convert error message from UTF-8 to + ANSI codepage, for display in the message box. + (globals_of_w32): Set w32_unicode_filenames according to the OS + version. + + * w32term.c (construct_drag_n_drop): Work in Unicode mode when + w32_unicode_filenames is non-zero, ANSI mode otherwise. + (syms_of_w32term): Declare w32-unicode-filenames. + + * w32proc.c (new_child, delete_child): Remove code that handled + unused pending_deletion and input_file members of the child struct. + (create_child, sys_spawnve): Convert all file names to ANSI + codepage. Use ANSI APIs explicitly; forcibly fail if any file + name cannot be encoded in ANSI codepage. Don't use + unixtodos_filename, mirror slashes by hand. + (record_infile, record_pending_deletion): Functions deleted. + (Fw32_short_file_name): Call w32_get_short_filename instead of + GetShortPathName. + + * w32notify.c (add_watch): Work in Unicode mode when + w32_unicode_filenames is non-zero, ANSI mode otherwise. + (Fw32notify_add_watch): Rewrite to avoid using GetFullPathName; + instead, do the same with Lisp primitives. + + * w32fns.c (file_dialog_callback, Fx_file_dialog) + (Fsystem_move_file_to_trash, Fw32_shell_execute) + (Ffile_system_info, Fdefault_printer_name): Work in Unicode mode + when w32_unicode_filenames is non-zero, ANSI mode otherwise. + (Fw32_shell_execute): Improve error reporting. + (Fdefault_printer_name): Ifdef away for Cygwin. + + * w32.h (struct _child_process): Remove input_file and + pending_deletion members that are no longer used. + (dostounix_filename, w32_get_short_filename, filename_from_ansi) + (filename_to_ansi, filename_from_utf16, filename_to_utf16) + (ansi_encode_filename): New and updated prototypes. + + * unexw32.c (open_input_file, open_output_file, unexec): Use ANSI + APIs explicitly. + (unexec): Don't use dostounix_filename, it expects a file name in + UTF-8. Instead, mirror backslashes by hand. Convert NEW_NAME to + ANSI encoding. + + * fileio.c (Ffile_name_directory, file_name_as_directory) + (directory_file_name, Fexpand_file_name) + (Fsubstitute_in_file_name) [WINDOWSNT]: Adapt to the change in + arguments of dostounix_filename. + (Fexpand_file_name) [WINDOWSNT]: Convert value of $HOME to UTF-8. + use MAX_UTF8_PATH for size of file-name strings. + (emacs_readlinkat): Build an explicitly unibyte string for file + names. + (syms_of_fileio) <file-name-coding-system>: + <default-file-name-coding-system>: Mention MS-Windows peculiarities. + + * emacs.c (init_cmdargs) [WINDOWSNT]: Convert argv[0] to UTF-8. + (main) [WINDOWSNT]: Convert the argv[] elements that are files or + directories to UTF-8. + (decode_env_path) [WINDOWSNT]: Convert file names taken from the + environment, and each element of the input PATH, to UTF-8. + + * dired.c (file_attributes): Use build_unibyte_string explicitly + to make Lisp strings from user and group names. + + * coding.h (ENCODE_FILE, DECODE_FILE): Just call encode_file and + decode_file. + + * coding.c (decode_file_name, encode_file_name): New functions. + + * termcap.c (tgetent): Adapt to the change in arguments of + dostounix_filename. + + * sysdep.c (sys_subshell) [WINDOWSNT]: Use MAX_UTF8_PATH for file + names. + + * msdos.c (dostounix_filename, init_environment): Adapt to the + change in arguments of dostounix_filename. + + * image.c (xpm_load, tiff_load, gif_load, imagemagick_load) + [WINDOWSNT]: Encode file names passed to the image libraries in + ANSI codepage. + + * gnutls.c (Fgnutls_boot): Encode all file names passed to GnuTLS. + [WINDOWSNT]: Convert file names to the current ANSI codepage. + + * filelock.c (lock_file) [WINDOWSNT]: Adapt to the change in + arguments of dostounix_filename. + + 2013-12-12 Dmitry Antipov <dmantipov@yandex.ru> + + * font.h (struct font_entity) [HAVE_NS]: New field to record + font driver which was used to create this entity. + (struct font) [HAVE_WINDOW_SYSTEM]: New field to record + frame where the font was opened. + (font_close_object): Add prototype. + * font.c (font_make_entity) [HAVE_NS]: Zero out driver field. + (font_close_object): Not static any more. Lost frame arg. + Adjust comment and users. + * alloc.c (cleanup_vector): Call font_close_object to adjust + per-frame font counters correctly. If HAVE_NS, also call + driver-specific cleanup for font-entity objects. + * ftfont.c (ftfont_open): + * nsfont.m (nsfont_open): + * w32font.c (w32font_open_internal): + * xfont.c (xfont_open): + * xftfont.c (xftfont_open): Save frame pointer in font object. + * macfont.m (macfont_open): Likewise. + (macfont_descriptor_entity): Save driver pointer to be able + to call its free_entity routine when font-entity is swept. + * ftxfont.c (ftxfont_open): Add eassert because frame + pointer should be saved by ftfont_driver.open. + + 2013-12-12 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.c (x_make_frame_visible): Restore hack which is needed when + input polling is used. This is still meaningful for Cygwin, see + http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00351.html. + * keyboard.c (poll_for_input_1, input_polling_used): + Define unconditionally. + * dispextern.h (FACE_SUITABLE_FOR_CHAR_P): Remove unused macro. + (FACE_FOR_CHAR): Simplify because face_for_char does the same. + * fontset.c (face_suitable_for_char_p) [0]: Remove unused function. + (font_for_char): Prefer ptrdiff_t to int for buffer position. + (face_for_char): Likewise. Rearrange eassert and return ASCII + face for CHAR_BYTE8_P. + * fontset.h (font_for_char, face_for_char): Adjust prototypes. + + 2013-12-11 Ken Brown <kbrown@cornell.edu> + + * dispextern.h (erase_phys_cursor): + * keyboard.h (make_ctrl_char): Declare prototypes if HAVE_NTGUI. + + 2013-12-11 Dmitry Antipov <dmantipov@yandex.ru> + + * nsterm.m (x_free_frame_resources): + * term.c (tty_free_frame_resources): + * xterm.c (x_free_frame_resources): Do not check for non-NULL + face cache because it's implied by free_frame_faces anyway. + * w32term.c (x_free_frame_resources): Likewise. Do not call + free_frame_faces twice. + + 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * editfns.c (Fformat_time_string): Mention %F in the doc. + + 2013-12-11 Martin Rudalics <rudalics@gmx.at> + + * window.c (resize_frame_windows): Don't return immediately when + the root window's size doesn't change - the minibuffer window + may still have to be repositioned/resized. + * xfns.c (Fx_create_frame): Always change the frame size after + initializing the frame's faces. + * xterm.c (handle_one_xevent): Don't set pixel sizes here, + change_frame_size should already have done it. + (x_new_font): Assign new tool- and menu-bar heights. + (x_set_window_size_1): Account for tool- and menu-bar heights + (Bug#16013). Don't set pixel sizes since change_frame_size + should already have done it. + + 2013-12-11 Paul Eggert <eggert@cs.ucla.edu> + + Remove the option of using libcrypto. + * Makefile.in (LIB_CRYPTO): Remove. + (LIBES): Don't use it. + + 2013-12-11 Juri Linkov <juri@jurta.org> + + * term.c (term_get_fkeys_1): Remove non-standard IBM terminfo + as obsolete to avoid conflicts with <S-up>. (Bug#13471) + + 2013-12-10 Dmitry Antipov <dmantipov@yandex.ru> + + * xdisp.c (display_tool_bar_line): Don't extend on a previously + drawn tool bar items (Bug#16058). + * font.c (font_find_for_lface): Ensure SAFE_FREE on return. + + 2013-12-09 Ken Brown <kbrown@cornell.edu> + + * frame.c (get_frame_param): Make extern if HAVE_NTGUI. + + * lisp.h (get_frame_param): Adjust conditions for prototype + declaration. + + 2013-12-09 Dmitry Antipov <dmantipov@yandex.ru> + + * gtkutil.c (USE_NEW_GTK_FONT_CHOOSER) [HAVE_FREETYPE]: + Avoid unused macro warning if configured --without-xft. + + 2013-12-09 Jan Djärv <jan.h.d@swipnet.se> + + * alloc.c (Fmemory_limit): Avoid compiler warning. Return 0 always. + + 2013-12-08 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (updateFrameSize:): Fix GNUstep toolbar not updating. + + * emacs.c (main): Call fixup_locale a second time for GNUstep. + + 2013-12-08 Martin Rudalics <rudalics@gmx.at> + + * frame.c (x_set_font): Mark frame as garbaged (Bug#16028). + + 2013-12-08 Paul Eggert <eggert@cs.ucla.edu> + + Use libcrypto's checksum implementations if available, for speed. + * Makefile.in (LIB_CRYPTO): New macro. + (LIBES): Use it. + + * frame.h (SET_FRAME_VISIBLE): Now an inline function. + The macro didn't conform to C99 due to type mismatch, + which caused compilation failure with Sun C 5.12, + and it was confusing anyway. Include window.h to declare + redisplay_other_windows. + + 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * window.c (set_window_buffer): Update mode line (bug#16084). + + 2013-12-07 Paul Eggert <eggert@cs.ucla.edu> + + Fix minor problems found by static checking. + * keyboard.c (poll_for_input_1, input_polling_used): + Define only if HAVE_NTGUI. + * xmenu.c (popup_activate_callback): Omit unnecessary + check against USE_X_TOOLKIT, which must be defined here anyway. + * xterm.c, xterm.h (x_dispatch_event) [! (USE_X_TOOLKIT || USE_MOTIF)]: + Now static. + + 2013-12-07 Martin Rudalics <rudalics@gmx.at> + + * w32term.c (w32_read_socket): Fix int/Lisp_Object type mixup. + + 2013-12-07 Jan Djärv <jan.h.d@swipnet.se> + + * gtkutil.c (tb_size_cb): Call xg_height_or_width_changed. + + * nsterm.m (x_set_window_size): Remove fprintf. + (init): Define always. Set applicationDidFinishLaunchingCalled + for GNUstep. + (applicationDidFinishLaunching:): + Set applicationDidFinishLaunchingCalled. + (applicationDidBecomeActive:): Call applicationDidFinishLaunching if + not called. + + * nsterm.h (EmacsApp): Add applicationDidFinishLaunchingCalled. + + Pixel resize changes for NS (Bug#16049). + * nsterm.m (x_set_window_size): Change parameters rows/cols to + height/width. row/cols are locals. + Pass pixelwise to check_frame_size. Don't set FRAME_PIXEL_WIDTH/HEIGHT. + (updateFrameSize:): Remove gsextra. Adjust for pixelwise resize. + (windowWillResize): Remove gsextra. Calculate extra as in + updateFrameSize. + (x_new_font): Don't change frame size if fullscreen. + Change size pixelwise. + + * nsfns.m (Fx_create_frame): Call change_frame_size twice as per + comment in xfns.c. Change to pixelwise call. + + 2013-12-06 Eli Zaretskii <eliz@gnu.org> + + * buffer.c (Fset_buffer_multibyte): Invalidate buffer caches. + (Bug#16070) + + 2013-12-06 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.c (input_signal_count): Remove. + (x_dispatch_event): Define unconditionally. + (x_make_frame_visible): Process X events until the frame + is really visible (Bug#16027). + * xterm.h (x_dispatch_event): Declare unconditionally. + + 2013-12-05 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m (ns_frame_parm_handlers): Add right/bottom_divider_width. + + * nsterm.m (x_set_window_size): Handle pixelwise. + + 2013-12-05 Martin Rudalics <rudalics@gmx.at> + + * w32term.c (x_new_font): + * xterm.c (x_new_font): Calculate new frame size from new font + size (Bug#16028). + + 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * lisp.h (FOR_EACH_TAIL): New macro. + * fns.c (Fdelq): Use it to avoid inf-loops; remove QUIT. + + * window.c (select_window): Call second wset_redisplay before we change + selected_window (bug#16034). + + 2013-12-04 Paul Eggert <eggert@cs.ucla.edu> + + * bidi.c (LRM_CHAR, RLM_CHAR): Remove; no longer used. + + 2013-12-04 Eli Zaretskii <eliz@gnu.org> + + * w32xfns.c: Include window.h, to avoid a compiler warning. + + 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * window.c (window_scroll): Mark window for redisplay (bug#16034). + (scroll_command, Fscroll_other_window): Don't cause redisplay now that + window_scroll takes care of it. + (Fset_window_point, Fdelete_other_windows_internal) + (set_window_buffer, Fwindow_resize_apply, resize_frame_windows) + (Fsplit_window_internal, Fdelete_window_internal) + (Fresize_mini_window_internal, Fset_window_configuration) + (apply_window_adjustment): Use fset_redisplay and wset_redisplay to + cause redisplay instead of forcing a complete redisplay. + * xdisp.c (wset_redisplay): Don't set windows_or_buffers_changed if + we're only affecting the selected_window. + + 2013-12-04 Eli Zaretskii <eliz@gnu.org> + + * bidi.c (bidi_get_type, bidi_get_category): Handle the isolate + directional control characters. Update type and category + determination according to the UBA from Unicode v6.3. + (bidi_category_t): New category EXPLICIT_FORMATTING. + + * dispextern.h (bidi_type_t): Update to include new bidirectional + properties introduced with Unicode v6.3. (Bug#16043) + + 2013-12-04 Martin Rudalics <rudalics@gmx.at> + + * xterm.c (XTflash): Fix coordinate of bottom area to flash + (Bug#16044). + + 2013-12-04 Dmitry Antipov <dmantipov@yandex.ru> + + * font.c (font_list_entities): Remove dummy assignment. + * font.h (struct font) [HAVE_WINDOW_SYSTEM]: Group members which are + used on graphic displays only. Remove unused 'font_encoder' member. + (struct font_bitmap): Remove unused 'extra' member. + * nsfont.m (nsfont_open): + * w32font.c (w32font_open_internal): + * ftfont.c (ftfont_get_bitmap): Adjust users. + + 2013-12-03 Paul Eggert <eggert@cs.ucla.edu> + + Use bool for boolean. + * tparam.c (tparam1): + * undo.c (record_point, record_property_change): + Use bool for boolean, for local vars that are always true or false. + + Minor integer overflow fixes (Bug#16033). + * window.c (Fset_window_new_pixel): Don't let new_pixel go negative. + This improves on the previous fix to this function. + (window_resize_check): When summing up pixel counts, don't rely on + undefined behavior if the sum overflows. + + 2013-12-03 Martin Rudalics <rudalics@gmx.at> + + * window.c (Fset_window_new_pixel): Don't choke at negative + argument value (Bug#16033). + + * xfns.c (Fx_create_frame): Add another call to change_frame_size + to avoid crash in window_box_height. + + * gtkutil.h: Fix external declaration of xg_frame_set_char_size. + * gtkutil.c (xg_frame_set_char_size, style_changed_cb): Fix size + calculation. + * xterm.c (x_set_window_size): Fix size calculation (Bug#16013). + + 2013-12-03 Paul Eggert <eggert@cs.ucla.edu> + + Minor integer overflow fixes. + * window.c (Fset_window_new_pixel, grow_mini_window): + * xdisp.c (Fwindow_text_pixel_size): + Avoid undefined behavior on signed integer overflow. + * xfns.c (x_set_mouse_color): + Check that drag shape fits in 'unsigned', since that's what X wants. + + 2013-12-02 Eli Zaretskii <eliz@gnu.org> + + Improve reporting of fatal exception on MS-Windows. + * w32fns.c (my_exception_handler): New function. + (globals_of_w32fns): Set it up as the unhandled exception + handler. Initialize exception code and address to zeros. + (emacs_abort): If the exception code and address are available, + print them at the beginning of the backtrace. Fix the format of + printing addresses (was producing 0x0x12345678 on XP). + (Bug#15994) + + 2013-12-02 Helmut Eller <eller.helmut@gmail.com> + + * eval.c (Fbacktrace__locals): New function. + (syms_of_eval): Defsubr it. + + 2013-12-02 Dmitry Antipov <dmantipov@yandex.ru> + + * font.h (FONT_WIDTH, FONT_HEIGHT, FONT_BASE, FONT_DESCENT): + Define here to unify between... + * nsterm.h, w32term.h, xterm.h: ...port-specific headers. + * w32term.h (CHECK_W32_FRAME): Remove unused macro. + + 2013-12-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * xterm.h (struct scroll_bar): Remove member `fringe_extended_p'. + + * xterm.c (x_draw_fringe_bitmap, x_scroll_run): Remove code for + fringe background extension. + (x_scroll_bar_create): Remove variables `sb_left' and `sb_width', + because they are now always the same as `left' and `width', + respectively. Remove code for the case that `width' and + `sb_width' are different. + + 2013-12-01 Paul Eggert <eggert@cs.ucla.edu> + + Fix minor problems found by static checking. + * dispextern.h, xdisp.c (x_draw_bottom_divider): Now static. + * frame.c (set_frame_param) [!HAVE_NTGUI]: Remove. + * xdisp.c (Ftool_bar_height) [USE_GTK || HAVE_NS]: Now const function. + + 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * image.c (imagemagick_compute_animated_image): Don't crash if we + have an animation with different-sized images (bug#15313). + + 2013-11-30 Martin Rudalics <rudalics@gmx.at> + + Remove some unused items introduced during pixelwise change. + * window.c (window_resize_total_check): Remove unused function. + * xdisp.c (remember_mouse_glyph): Remove unused label. + (Ftool_bar_height): Move declaration inside #if. + * xterm.c (x_set_window_size): Don't use r and c. + + 2013-11-30 Juanma Barranquero <lekktu@gmail.com> + + * xdisp.c (Fwindow_text_pixel_size): Remove unused variables + `value' and `endp'. + + * window.c (Fset_window_configuration): Comment out unused variables. + + * w32term.c (w32_read_socket): Remove unused variable `buf'. + + 2013-11-30 Jan Djärv <jan.h.d@swipnet.se> + + * xdisp.c (redisplay_internal): unrequest_sigio => request_sigio. + + * xfaces.c (NEAR_SAME_COLOR_THRESHOLD): Move inside HAVE_WINDOW_SYSTEM. + + * gnutls.c (gnutls_audit_log_function): Only declare and define if + HAVE_GNUTLS3 (Bug#16001). + + * xdisp.c (redisplay_internal): Call request_sigio at end_of_redisplay + if interrupts are deferred (Bug#15801). + + 2013-11-30 Martin Rudalics <rudalics@gmx.at> + + Support resizing frames and windows pixelwise. + * dispextern.h (enum window_part): Add ON_SCROLL_BAR, + ON_RIGHT_DIVIDER and ON_BOTTOM_DIVIDER. + (struct glyph_matrix): Replace window_left_col and + window_top_line by window_pixel_left and window_pixel_top. + (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): + Minor rewrite. + (enum face_id): Add WINDOW_DIVIDER_FACE_ID. + (draw_window_divider, move_it_to, x_draw_right_divider) + (x_draw_bottom_divider, change_frame_size): Add or fix + declarations. + * dispnew.c (change_frame_size_1): Change prototype. + (adjust_glyph_matrix, required_matrix_width) + (adjust_frame_glyphs_for_window_redisplay): Use pixel + values instead of lines and columns. + (marginal_area_string): Use WINDOW_FRINGES_WIDTH instead of + WINDOW_TOTAL_FRINGE_WIDTH. + (handle_window_change_signal, do_pending_window_change) + (init_display): Adjusts calls of change_frame_size. + (change_frame_size, change_frame_size_1): Handle pixelwise + changes. + * frame.c (Qright_divider_width, Qbottom_divider_width): + New Lisp objects. + (set_menu_bar_lines_1, set_menu_bar_lines, make_frame) + (make_terminal_frame, Fmake_terminal_frame, Fframe_parameters) + (x_set_internal_border_width, x_set_vertical_scroll_bars) + (x_set_scroll_bar_width, x_figure_window_size): Handle pixel + values. + (set_frame_param): New function. + (Fframe_text_cols, Fframe_text_lines, Fframe_total_cols) + (Fframe_text_width, Fframe_text_height, Fscroll_bar_width) + (Ffringe_width, Fborder_width, Fright_divider_width) + (Fbottom_divider_width): New functions, defsubr them. + (Fset_frame_height, Fset_frame_width, Fset_frame_size): + New argument pixelwise. + (struct frame_parm_table): New members Qright_divider_width and + Qbottom_divider_width. + (x_set_frame_parameters): Handle parameters for pixelwise sizes. + (x_report_frame_params): Handle Qright_divider_width and + Qbottom_divider_width. + (x_set_right_divider_width, x_set_bottom_divider_width): + New functions. + (frame_resize_pixelwise): New option. + * frame.h (struct frame): Add tool_bar_height, menu_bar_height, + new_pixelwise, right_divider_width and bottom_divider_width; + remove total_lines; rename text_lines, text_cols, new_text_lines + and new_text_cols to text_height, text_width, new_height and + new_width respectively. + (FRAME_LINES, FRAME_COLS): Rename to FRAME_TEXT_HEIGHT and + FRAME_TEXT_WIDTH respectively. + (FRAME_MENU_BAR_HEIGHT, FRAME_TOOL_BAR_HEIGHT) + (FRAME_RIGHT_DIVIDER_WIDTH, FRAME_BOTTOM_DIVIDER_WIDTH) + (FRAME_TEXT_TO_PIXEL_WIDTH, FRAME_PIXEL_TO_TEXT_WIDTH): + New macros. + (FRAME_TOP_MARGIN_HEIGHT, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH) + (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH, FRAME_SCROLL_BAR_AREA_WIDTH) + (SET_FRAME_COLS, SET_FRAME_WIDTH, SET_FRAME_HEIGHT) + (FRAME_TEXT_COLS_TO_PIXEL_WIDTH, FRAME_PIXEL_WIDTH_TO_TEXT_COLS) + (FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Rewrite macros. + (FRAME_TOTAL_COLS_ARG): Remove macro. + * fringe.c (draw_fringe_bitmap_1): Handle right divder. + * gtkutil.c (xg_frame_resized, xg_frame_set_char_size) + (x_wm_set_size_hint): Handle frame pixel sizes. + * indent.c (compute_motion, Fcompute_motion): + Call window_body_width instead of window_body_cols. + * keyboard.c (Qright_divider, Qbottom_divider): New symbols. + (make_lispy_position): Handle right and bottom dividers. + (Fsuspend_emacs): Pixelize call of change_frame_size. + * keyboard.h: Extern Qright_divider, Qbottom_divider. + * lisp.h: Extern set_frame_param. + * nsfns.m (x_set_tool_bar_lines): Pixelize call of + x_set_window_size. + (Fx_create_frame): Add entry for vertical_drag_cursor. + Pixelize call of change_frame_size. + * nsterm.h (struct ns_output): Add vertical_drag_cursor. + * nsterm.m (ns_update_window_end): Optionally draw right + divider. + (x_set_window_size): Add argument pixelwise. + Call check_frame_size and change_frame_size with pixelwise zero. + (ns_draw_window_divider): New function. + (ns_redisplay_interface): Add ns_draw_window_divider. + (updateFrameSize:): Call change_frame_size with pixelwise zero. + (x_new_font): Call x_set_window_size with pixelwise zero. + * print.c (print_object): For a window print its sequence + number again. + * term.c (Fresume_tty): Pixelize call of change_frame_size. + * w32fns.c (x_set_mouse_color): Handle vertical drag cursor. + (x_set_menu_bar_lines, x_set_tool_bar_lines): Calculate pixelwise. + (w32_createwindow): Use scroll bar area width. + (w32_wnd_proc): Handle bottom divider width. + For WM_WINDOWPOSCHANGING return zero if we resize pixelwise. + (Fx_create_frame): Default divider width parameters. + Caclulate sizes pixelwise. Add vertical drag cursor support. + (x_create_tip_frame): Default divider widths to zero. + Pixelize call to change_frame_size. + (Fx_show_tip): Add handling of divider widths. Pixelize window + position and sizes. + (Fw32_frame_rect): New function. + (frame_parm_handler w32_frame_parm_handlers): Add divider + widths. + (Vx_window_vertical_drag_shape): Add variable. + * w32inevt.c (resize_event, maybe_generate_resize_event): + Pixelize change_frame_size calls. + * w32menu.c (set_frame_menubar): Pixelize x_set_window_size + call. + * w32term.c (w32_draw_window_divider): New function. + (x_update_window_end): Handle right divider. + (w32_draw_fringe_bitmap, x_scroll_run) + (w32_set_vertical_scroll_bar): Pixelize scrollbar widths. + (w32_read_socket): Handle SIZE_MAXIMIZED separately. + Calculate new frame sizes pixelwise. + (x_new_font): Pixelize call to x_set_window_size. + (x_check_fullscreen): Pixelize call to change_frame_size. + (x_set_window_size_1, x_set_window_size): New argument + pixelwise. Calculate pixelwise. + (x_wm_set_size_hint): Use scroll bar area width. + (w32_redisplay_interface): Add w32_draw_window_divider. + * w32term.h (struct w32_output): Add vertical drag cursor. + * widget.c (set_frame_size, update_wm_hints) + (EmacsFrameResize, EmacsFrameSetValues): Pixelize calls of + change_frame_size. + (EmacsFrameSetCharSize): Pixelize call of x_set_window_size. + * window.c (sequence_number): Restore. + (Fwindow_pixel_width, Fwindow_pixel_height) + (Fwindow_mode_line_height, Fwindow_header_line_height) + (window_pixel_to_total, Frun_window_scroll_functions) + (Fset_window_new_pixel, window_resize_apply_total) + (Fwindow_resize_apply_total): New functions. + (window_body_height, window_body_width): Rename from + window_body_lines. New argument PIXELWISE. + Calculate pixelwise. + (Fwindow_body_height, Fwindow_body_width): New argument + PIXELWISE. + (coordinates_in_window, window_relative_x_coord): Use window's + pixel width instead of total width. + (replace_window, recombine_windows): Initialize pixel values. + (resize_root_window, resize_frame_windows, grow_mini_window) + (shrink_mini_window): New argument PIXELWISE. + Calculate pixelwise. + (Fdelete_other_windows_internal, adjust_window_margins) + (window_resize_check, window_resize_apply) + (Fdelete_window_internal, Fresize_mini_window_internal) + (Fwindow_text_width, Fwindow_text_height): Calculate pixelwise. + (check_frame_size): Rename arguments. New argument PIXELWISE. + Calculate pixelwise. + (set_window_buffer): Make samebuf bool. Run configuration change + hook only if buffer changed. + (Fset_window_buffer): Rewrite doc-string. + (make_window): Initialize new_pixel slot. + (Fwindow_resize_apply): Check pixel size of root window. + (Fsplit_window_internal): Call 2nd argument pixel_size. + Calculate pixelwise. + (Fscroll_left, Fscroll_right): Call window_body_width instead of + window_body_cols. + (save_window_data): New slots frame_text_width, + frame_text_height, frame_menu_bar_height, frame_tool_bar_height. + (saved_window): New slots pixel_left, pixel_top, pixel_height, + pixel_width. + (Fcurrent_window_configuration, Fset_window_configuration) + (save_window_save, compare_window_configurations): Handle new + slots in save_window_data and saved_window. + (Fset_window_scroll_bars): Fix doc-string. + (window_resize_pixelwise): New variable. + (coordinates_in_window, Fcoordinates_in_window_p): + Handle dividers. + (make_parent_window): Adjust sequence_number. + (Fwindow_right_divider_width, Fwindow_bottom_divider_width): + New functions. + * window.h (struct window): New members new_pixel, pixel_left, + pixel_top, pixel_width, pixel_height. Restore sequence_number. + (wset_new_pixel): New function. + (WINDOW_PIXEL_WIDTH, WINDOW_PIXEL_HEIGHT) + (MIN_SAFE_WINDOW_PIXEL_WIDTH, MIN_SAFE_WINDOW_PIXEL_HEIGHT) + (WINDOW_LEFT_PIXEL_EDGE, WINDOW_RIGHT_PIXEL_EDGE) + (WINDOW_TOP_PIXEL_EDGE, WINDOW_BOTTOM_PIXEL_EDGE) + (WINDOW_BOTTOMMOST_P, WINDOW_BOX_LEFT_PIXEL_EDGE) + (WINDOW_BOX_RIGHT_PIXEL_EDGE, WINDOW_MARGINS_COLS) + (WINDOW_MARGINS_WIDTH, WINDOW_RIGHT_DIVIDER_WIDTH) + (WINDOW_BOTTOM_DIVIDER_WIDTH): New macros. + (WINDOW_TOTAL_FRINGE_WIDTH): Rename to WINDOW_FRINGES_WIDTH. + (WINDOW_TOTAL_WIDTH, WINDOW_TOTAL_HEIGHT): Remove macros. + (WINDOW_RIGHT_EDGE_X, WINDOW_LEFT_EDGE_X, WINDOW_TOP_EDGE_Y) + (WINDOW_BOTTOM_EDGE_Y, WINDOW_FULL_WIDTH_P, WINDOW_LEFTMOST_P) + (WINDOW_RIGHTMOST_P, WINDOW_BOX_LEFT_EDGE_X) + (WINDOW_BOX_RIGHT_EDGE_X, WINDOW_FRINGE_COLS) + (WINDOW_BOX_HEIGHT_NO_MODE_LINE, WINDOW_BOX_TEXT_HEIGHT): + Rewrite. + (resize_frame_windows, grow_mini_window, shrink_mini_window) + (window_body_width, check_frame_size): Adapt external declarations. + * xdisp.c (last_max_ascent): New integer. + (window_text_bottom_y): Handle bottom divider. + (window_box_width, window_box_height): Calculate pixelwise. + (get_glyph_string_clip_rects): Handle right divider. + (remember_mouse_glyph): When windows are resized pixelwise + proceed with width and height set to 1. + (init_iterator): Use WINDOW_PIXEL_WIDTH instead of + WINDOW_TOTAL_WIDTH. + (move_it_to): Calculate and return maximum x position + encountered. + (Fwindow_text_pixel_size): New function. + (resize_mini_window, update_tool_bar): Calculate pixelwise. + (tool_bar_lines_needed): Rename to tool_bar_height. + Calculate pixelwise. + (Ftool_bar_lines_needed): Rename to Ftool_bar_height. + Calculate pixelwise. + (redisplay_tool_bar): Calculate pixelwise. + (redisplay_window): Calculate pixelwise. Handle dividers. + (draw_glyphs, x_clear_end_of_line, note_mouse_highlight) + (x_draw_vertical_border): Handle dividers. + (define_frame_cursor1): Handle vertical drag cursor. + (x_draw_right_divider, x_draw_bottom_divider): New functions. + (expose_window): Calculate pixelwise. Handle dividers. + (init_xdisp): Initialize pixel values. + * xfaces.c (Qwindow_divider): New face. + (realize_basic_faces): Realize it. + * xfns.c (x_set_mouse_color): Handle vertical_drag_cursor. + (x_set_menu_bar_lines, x_set_tool_bar_lines): Calculate pixelwise. + (x_set_scroll_bar_default_width): Default actual width to 16. + (Fx_create_frame): Set sizes pixelwise. + (x_create_tip_frame): Default divider widths to zero. + Pixelize call of change_frame_size. + (Fx_show_tip): Handle divider widths. Initial pixel position + and sizes. + (frame_parm_handler x_frame_parm_handlers): Add divider widths. + (Vx_window_vertical_drag_shape): New option. + * xmenu.c (free_frame_menubar): Pixelize call of + x_set_window_size. + * xterm.c (x_draw_window_divider): New function. + (x_update_window_end): Optionally draw right divider. + (x_draw_fringe_bitmap, x_scroll_run, x_scroll_bar_create) + (XTset_vertical_scroll_bar): Use scroll bar pixel width. + (handle_one_xevent, x_new_font): Calculate pixelwise. + (x_set_window_size_1, x_set_window_size): New argument + pixelwise. Calculate pixelwise. + (x_wm_set_size_hint): Pixelize call of check_frame_size. + (struct x_redisplay_interface): Add x_draw_window_divider. + * xterm.h (struct x_output): Add vertical_drag_cursor. + + 2013-11-30 Stefan Monnier <monnier@iro.umontreal.ca> + + * xdisp.c (redisplay_internal): Don't call set_window_update_flags. + Set invisible frames's `redisplay' when a full redisplay is requested. + (redisplay_window): Set must_be_updated_p instead (bug#15999). + (redisplay_mode_lines): Don't set must_be_updated_p any more. + (display_mode_lines): Set it here instead. + + * dispnew.c (set_window_update_flags): Remove `b' argument; make static. + + * dispextern.h (set_window_update_flags): Remove. + + 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * fns.c (internal_equal): Add a hash_table argument to handle cycles. + + * xdisp.c (REDISPLAY_SOME_P): New macro. + (redisplay_internal): Use it (bug#15999). + (prepare_menu_bars, redisplay_window): Use it as well. + + * lisp.mk (lisp): Add electric.elc and uniquify.elc. + + 2013-11-29 Tom Seddon <emacs@tomseddon.plus.com> (tiny change) + + * w32font.c (g_b_init_get_char_width_32_w): New static var. + (globals_of_w32font): Zero it out. + (GetCharWidth32W_Proc): New function pointer. + (get_char_width_32_w): New function. + (compute_metrics): If get_glyph_outline_w returns an error, try + get_char_width_32_w before declaring a failure. This avoids + punishing raster (a.k.a. "bitmap") fonts by slowing down + redisplay. (Bug#6364). + + 2013-11-29 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (clear_mouse_face): Don't invalidate the entire + mouse-highlight info, just signal frame_up_to_date_hook that mouse + highlight needs to be redisplayed. (Bug#15913) + + 2013-11-29 Paul Eggert <eggert@cs.ucla.edu> + + Fix minor problems found by static checking. + * buffer.h (struct buffer_text, struct buffer): + * frame.h (struct frame): + * window.h (struct window): + Avoid 'bool foo : 1;', as it's not portable to pre-C99 compilers, + as described in ../lib/stdbool.in.h. Use 'unsigned foo : 1;' instead. + * menu.c (syms_of_menu): Define x-popup-dialog, removing a + no-longer-valid use of HAVE_MENUS. + * xdisp.c (propagate_buffer_redisplay): Now static. + + 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * xmenu.c (Fmenu_or_popup_active_p): + * window.c (Fset_window_configuration): + * menu.c (Fx_popup_menu, Fx_popup_dialog): + * keyboard.c (record_menu_key, read_char_x_menu_prompt): + * fns.c (Fyes_or_no_p): + * editfns.c (Fmessage_box, Fmessage_or_box): + * alloc.c (make_save_ptr_ptr): + * xdisp.c, w32menu.c, term.c, xterm.h, xterm.c: Remove HAVE_MENUS. + + * window.c (Fset_window_configuration): Move select_window later. + + 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca> + + Refine redisplay optimizations to only redisplay *some* frames/windows + rather than all of them. + * xdisp.c (REDISPLAY_SOME): New constant. + (redisplay_other_windows, wset_redisplay, fset_redisplay) + (bset_redisplay, bset_update_mode_line): New functions. + (message_dolog): Use bset_redisplay. + (clear_garbaged_frames): Use fset_redisplay. + (echo_area_display): Use wset_redisplay. + (buffer_shared_and_changed): Remove. + (prepare_menu_bars): Call Vpre_redisplay_function before updating + frame titles. Compute the actual set of windows redisplayed. + Don't update frame titles and menu bars for frames that don't need to + be redisplayed. + (propagate_buffer_redisplay): New function. + (AINC): New macro. + (redisplay_internal): Use it. Be more selective in the set of windows + we redisplay. Propagate windows_or_buffers_changed to + update_mode_lines a bit later to simplify the code. + (mark_window_display_accurate_1): Reset window and buffer's + `redisplay' flag. + (redisplay_window): Do nothing if neither the window nor the buffer nor + the frame needs redisplay. + * window.h (struct window): Add `redisplay' field. + (wset_redisplay, fset_redisplay, bset_redisplay, bset_update_mode_line) + (redisplay_other_windows, window_list): New declarations. + * window.c (select_window, Fset_window_start): Use wset_redisplay. + (window_list): Not static any more. + (grow_mini_window, shrink_mini_window): Use fset_redisplay. + * minibuf.c (read_minibuf_unwind): Don't redisplay everything. + * insdel.c (prepare_to_modify_buffer_1): Use bset_redisplay. + * frame.c (Fmake_frame_visible): Don't redisplay everything. + * frame.h (struct frame): Add `redisplay' field. + Move `external_menu_bar' bitfield next to other bit-fields. + (SET_FRAME_GARBAGED): Use fset_redisplay. + (SET_FRAME_VISIBLE): Don't garbage the frame; + Use redisplay_other_windows. + * buffer.h (struct buffer): Add `redisplay' field. + * buffer.c (Fforce_mode_line_update): Pay attention to the `all' flag. + (modify_overlay): Use bset_redisplay. + * alloc.c (gc_sweep): Don't unmark strings while sweeping symbols. + + 2013-11-28 Eli Zaretskii <eliz@gnu.org> + + Support w32 file notifications in batch mode. + * w32proc.c (sys_select): Don't wait on interrupt_handle if it is + invalid (which happens in batch mode). If non-interactive, call + handle_file_notifications to store file notification events in the + input queue. (Bug#15933) + + * w32notify.c (send_notifications): Handle FRAME_INITIAL frames as well. + + * w32inevt.c (handle_file_notifications): Now external, not static. + + * w32term.h (handle_file_notifications): Provide prototype. + + * emacs.c (main) [HAVE_W32NOTIFY]: When non-interactive, call + init_crit, since init_display, which does that otherwise, is not + called. + + 2013-11-27 Glenn Morris <rgm@gnu.org> + + * Makefile.in ($(lispsource)/international/charprop.el): New. + (emacs$(EXEEXT)): Depend on charprop.el. + + 2013-11-27 Eli Zaretskii <eliz@gnu.org> + + * fileio.c (Finsert_file_contents): Invalidate buffer caches when + deleting portions of the buffer under non-nil REPLACE argument. + (Bug#15973) + + * w32notify.c (Fw32notify_add_watch): If the argument FILE is a + directory, watch it and not its parent. + (add_watch): Allow empty string in FILE. + + 2013-11-27 Martin Rudalics <rudalics@gmx.at> + + * window.c (Fset_window_start, window_resize_apply) + (window_scroll): Reset window_end_valid (Bug#15957). + + 2013-11-27 Glenn Morris <rgm@gnu.org> + + * Makefile.in (leimdir): Now in lisp source directory. + ($(leimdir)/leim-list.el): Just use ../leim . + * epaths.in (PATH_DUMPLOADSEARCH): + * lread.c (load_path_default): + * nsterm.m (ns_load_path): No more leim directory. + + 2013-11-26 Andreas Schwab <schwab@suse.de> + + * .gdbinit (xgettype): Add cast. + + 2013-11-26 Glenn Morris <rgm@gnu.org> + + Preload leim-list.el. + * epaths.in (PATH_DUMPLOADSEARCH): Add leim/. + * callproc.c (init_callproc): Don't assume PATH_DUMPLOADSEARCH + is a single directory. + + 2013-11-25 Paul Eggert <eggert@cs.ucla.edu> + + bool-vector-subsetp is now the normal direction (Bug#15912). + * data.c (Fbool_vector_subsetp): Test whether the first argument + is a subset of the second one, not the reverse. Add doc string. + + Fix minor problems found by static checking. + * lread.c (load_path_default): Now static. + * textprop.c (text_property_stickiness): Be consistent about the + test used when deciding whether to consider the previous character. + This simplifies the code a bit. + + 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca> + + * textprop.c (text_property_stickiness): Fix front-stickiness at BOB. + + * frame.c (Fhandle_focus_in, Fhandle_focus_out): Move to frame.el. + (syms_of_frame): Don't defsubr them. + + 2013-11-25 Glenn Morris <rgm@gnu.org> + + * lread.c (load_path_default): Change the sense of the argument. + (init_lread): When EMACSLOADPATH is set, do not ignore changes + from dump_path. When it is not, avoid checking dump_path twice. + + * lread.c (init_lread): Fix 2013-11-23 goof that was checking + uninstalled dump_path against installed Vload_path. (Bug#15964) + + 2013-11-24 Stefan Monnier <monnier@iro.umontreal.ca> + + Export get_pos_property to Elisp. + * editfns.c (Fget_pos_property): Rename from get_pos_property. + (syms_of_editfns): Export it to Elisp. + + * data.c (Fmake_variable_buffer_local): Mention `permanent-local'. + + 2013-11-23 Romain Francoise <romain@orebokech.com> + + * fileio.c (init_fileio): Move `write_region_inhibit_fsync' + initialization here ... + (syms_of_fileio): ... from here. + + 2013-11-23 Stefan Monnier <monnier@iro.umontreal.ca> + + * lread.c (init_lread): Fix int/Lisp_Object mixup. + Please use --enable-check-lisp-object-type. + + 2013-11-23 Glenn Morris <rgm@gnu.org> + + * process.c (get_process): Explicit error for dead buffers. + + 2013-11-23 Andreas Schwab <schwab@linux-m68k.org> + + * process.c (get_process): Check that OBJ is a live buffer. (Bug#15923) + + 2013-11-23 Glenn Morris <rgm@gnu.org> + + Empty elements in EMACSLOADPATH stand for the default. (Bug#12100) + * lread.c (load_path_check): Take path to check as argument. + (load_path_default): New, split from init_lread. + (init_lread): Move calc of default load-path to load_path_default. + Empty elements in EMACSLOADPATH now stand for the default. + (load-path): Doc fix. + * emacs.c (decode_env_path): Add option to treat empty elements + as nil rather than ".". + * callproc.c (init_callproc_1, init_callproc): + * image.c (Vx_bitmap_file_path): + * lisp.h (decode_env_path): + * lread.c (Vsource_directory): + Update for new argument spec of decode_env_path. + + 2013-11-22 Eli Zaretskii <eliz@gnu.org> + + * bidi.c (bidi_find_paragraph_start): Limit the returned positions + to BEGV_BYTE..ZV_BYTE range. (Bug#15951) + + 2013-11-21 Paul Eggert <eggert@cs.ucla.edu> + + Fix some dependency problems that cause unnecessary recompiles. + Reported by RMS in + <http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00421.html>. + * Makefile.in (OLDXMENU_TARGET, OLDXMENU, OLDXMENU_DEPS) + (really-lwlib, really-oldXMenu, stamp-oldxmenu) + (../src/$(OLDXMENU), $(OLDXMENU)): Remove. + (temacs$(EXEEXT)): Depend on $(LIBXMENU), not stamp-oldxmenu. + ($(lwlibdir)/liblw.a, $(oldXMenudir)/libXMenu11.a, FORCE): New targets. + (boostrap-clean): No need to remove stamp-oldxmenu. + + Fix recently introduced bool vector overrun. + This was due to an optimization that went awry. + Reported by Glenn Morris in + <http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00622.html>. + * alloc.c (make_uninit_bool_vector): Don't allocate a dummy word + for empty vectors, undoing the 2013-11-18 change. + * data.c (bool_vector_binop_driver): Rely on this. + Fix bug that occasionally overran the destination. + * lisp.h (struct Lisp_Bool_vector): Document this. + + 2013-11-20 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (init, run, stop:): Enable again. stop calls super stop + to handle dialogs. + + * nsterm.m (init, run, stop:): Comment out for now, does not work + with dialogs. + + 2013-11-19 Paul Eggert <eggert@cs.ucla.edu> + + * charset.c (syms_of_charset): Don't read past end of string. + + 2013-11-19 Glenn Morris <rgm@gnu.org> + + * frame.c (Fhandle_focus_in, Fhandle_focus_out): Doc fixes. + + 2013-11-19 Brian Jenkins <brian@brianjenkins.org> (tiny change) + + Add hooks to run on gaining/losing focus. (Bug#15029) + * frame.c (Qfocus_in_hook, Qfocus_out_hook): New static lisp objects. + (Fhandle_focus_in, Fhandle_focus_out): Run focus hooks. + (syms_of_frame): Add focus-in-hook, focus-out-hook. + + 2013-11-18 Paul Eggert <eggert@cs.ucla.edu> + + * data.c (bool_vector_binop_driver): Rename locals for sanity's sake. + The old names predated the API change that put destination at end. + + Improve API of recently-added bool vector functions (Bug#15912). + The old API had (bool-vector-count-matches A B) + and (bool-vector-count-matches-at A B I), which gave the + misleading impression that the two functions were variants, one + with a location I. The new API has (bool-vector-count-population A) + and (bool-vector-count-consecutive A B I) to make the distinction + clearer. The first function no longer has a B argument, since the + caller can easily determine the number of nils if the length and + number of ts is known. + * data.c (Fbool_vector_count_population): Rename from + bool_vector_count_matches, and accept just 1 argument. + (Fbool_vector_count_consecutive): Rename from + Fbool_vector_count_matches_at. + + Always allocate at least one bits_word per bool vector. + See Daniel Colascione in: + http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00518.html + * alloc.c (make_uninit_bool_vector): Always allocate at least one word. + * data.c (bool_vector_binop_driver): Rely on this. Tune. + * lisp.h (struct Lisp_Bool_vector): Document this. + + 2013-11-18 Eli Zaretskii <eliz@gnu.org> + + * insdel.c (invalidate_buffer_caches): New function, consolidated + from part of prepare_to_modify_buffer. + (insert_from_gap, prepare_to_modify_buffer): + * coding.c (code_convert_region, code_convert_string): + Call invalidate_buffer_caches. (Bug#15841) + + * lisp.h (invalidate_buffer_caches): Add prototype. + + 2013-11-17 Eli Zaretskii <eliz@gnu.org> + + * w32term.c (x_update_window_end): Don't invalidate the entire + mouse-highlight info, just signal frame_up_to_date_hook that mouse + highlight needs to be redisplayed. (Bug#15913) + + 2013-11-17 Paul Eggert <eggert@cs.ucla.edu> + + * lisp.h (DEBUGGER_SEES_C_MACROS): Remove. + + 2013-11-16 Eli Zaretskii <eliz@gnu.org> + + * doc.c (Fsubstitute_command_keys): Inhibit modification hooks + while we are using Vprin1_to_string_buffer. + + * keymap.c (describe_map): Don't crash if PT is 1 both before and + after inserting the description string. (Bug#15907) + + 2013-11-15 Paul Eggert <eggert@cs.ucla.edu> + + * data.c: Work around bogus GCC diagnostic about shift count. + Reported by Eli Zaretskii in + <http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00489.html>. + (pre_value): New function. + (count_trailing_zero_bits): Use it. + + 2013-11-15 Eli Zaretskii <eliz@gnu.org> + + * lisp.h (DEBUGGER_SEES_C_MACROS) [GCC < v3.5]: Pessimistically + assume C macros are not supported even under -g3 in these old GCC + versions. + + 2013-11-15 Leo Liu <sdl.web@gmail.com> + + * minibuf.c (Ftry_completion, Fall_completions) + (Ftest_completion): Use FUNCTIONP. (Bug#15889) + + 2013-11-15 Paul Eggert <eggert@cs.ucla.edu> + + * lisp.h (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END): + Define to empty if DEBUGGER_SEES_C_MACROS is defined. + This avoids placing unnecessary constants into the Emacs code. + + 2013-11-14 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) + + * keyboard.c (make_ctrl_char) [HAVE_NTGUI]: Now externally visible + for Cygwin w32 build. + + * xdisp.c (erase_phys_cursor) [HAVE_NTGUI]: Now externally visible + for Cygwin w32 build. (Bug#15892) + + 2013-11-14 Paul Eggert <eggert@cs.ucla.edu> + + Simplify, port and tune bool vector implementation. + * alloc.c (bool_vector_exact_payload_bytes) + (bool_vector_payload_bytes): Remove. + (bool_vector_fill): Return its argument. + * alloc.c (bool_vector_fill): + * lread.c (read1): + * print.c (print_object): + Simplify by using bool_vector_bytes. + * alloc.c (make_uninit_bool_vector): + New function, broken out from Fmake_bool_vector. + (Fmake_bool_vector): Use it. Use tail call. + (make_uninit_bool_vector, vector_nbytes): Simplify size calculations. + * data.c (BITS_PER_ULL): New constant. + (ULLONG_MAX, count_one_bits_ll): Fall back on long counterparts + if long long versions don't exist. + (shift_right_ull): New function. + (count_one_bits_word): New function, replacing popcount_bits_word + macro. Don't assume that bits_word is no wider than long long. + (count_one_bits_word, count_trailing_zero_bits): + Don't assume that bits_word is no wider than long long. + * data.c (bool_vector_binop_driver, bool_vector_not): + * fns.c (Fcopy_sequence): + * lread.c (read1): + Create an uninitialized destination, to avoid needless work. + (internal_equal): Simplify. + (Ffillarray): Prefer tail call. + * data.c (bool_vector_binop_driver): Don't assume bit vectors always + contain at least one word. + (bits_word_to_host_endian): Prefer if to #if. Don't assume + chars are narrower than ints. + * data.c (Fbool_vector_count_matches, Fbool_vector_count_matches_at): + * fns.c (Fcopy_sequence): + Simplify and tune. + * lisp.h (bits_word, BITS_WORD_MAX, BITS_PER_BITS_WORD): + Don't try to port to hosts where bits_word values have holes; the + code wouldn't work there anyway. Verify this assumption, though. + (bool_vector_bytes): New function. + (make_uninit_bool_vector): New decl. + (bool_vector_fill): Now returns Lisp_Object. + + * xfns.c (xic_create_fontsetname): + * xrdb.c (gethomedir): Prefer tail calls. + + 2013-11-12 Paul Eggert <eggert@cs.ucla.edu> + + * xterm.c (syms_of_xterm): staticpro Qmodifier_value, Qalt, Qhyper, + Qmeta, and Qsuper. This is safer, and it's what w32fns.c does. + + * buffer.c (Fforce_mode_line_update): Don't fall off end of function + that requires a return value. + (Fset_buffer_modified_p): Take advantage of this change to do + a tail call. + + 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * buffer.c (Frestore_buffer_modified_p): Sync it with + Fset_buffer_modified_p. + (Fforce_mode_line_update): New function, moved from subr.el. + (Fset_buffer_modified_p): Use them. + (syms_of_buffer): Defsubr Fforce_mode_line_update. + + 2013-11-11 Paul Eggert <eggert@cs.ucla.edu> + + * search.c (find_newline): Rewrite to prefer offsets to pointers. + This avoids undefined behavior when subtracting pointers into + different aways. On my platform it also makes the code a tad + smaller and presumably faster. + + 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (command_loop_1): Use region-extract-function. + * insdel.c (Qregion_extract_function): Not static any more (can we + stop pretending that these vars can benefit from being marked static?). + + 2013-11-09 Eli Zaretskii <eliz@gnu.org> + + * search.c (find_newline): If buffer text is relocated during the + "dumb loop", adjust C pointers into buffer text to follow suit. + (Bug#15841) + + 2013-11-09 Łukasz Stelmach <stlman@poczta.fm> (tiny change) + + * gtkutil.c (xg_check_special_colors): Use rgb: instead of rgbi: + for conversion (Bug#15837). + + 2013-11-09 Eli Zaretskii <eliz@gnu.org> + + * fileio.c (Finsert_file_contents): Invalidate the newline cache + for the entire range of inserted characters. (Bug#15841) + + 2013-11-08 Jan Djärv <jan.h.d@swipnet.se> + + * xfaces.c (lface_fully_specified_p): Let distant-foreground be + unspecified. + (realize_default_face): Remove assignment to distant-foreground if + unspecified (Bug#15815). + + 2013-11-08 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (message_dolog): Make sure the *Messages* buffer has its + cache-long-scans disabled, since we don't want to call + prepare_to_modify_buffer (in insert_1_both) for each message we + display. + + * buffer.h (bset_cache_long_scans): New INLINE function, moved + from buffer.c. Improve commentary to the buffer field setter + functions. + + * buffer.c (bset_cache_long_scans): Static function deleted. + Improve commentary to the buffer field setter functions. + (init_buffer_once): Default for cache-long-scans changed to t. + (Bug#15797) + + 2013-11-08 Paul Eggert <eggert@cs.ucla.edu> + + * gmalloc.c (special_realloc, calloc, mallochook): Use tail calls. + + * chartab.c (make_sub_char_table): Fix size typo (Bug#15825). + This bug was introduced in my 2013-06-21 change, and caused + struct Lisp_Sub_Char_Table objects to be given too many slots, + which broke 'make -C admin/unidata'. + + 2013-11-07 Jan Djärv <jan.h.d@swipnet.se> + + Import changes from mac-port 4.5. + * macfont.m (mac_font_copy_default_descriptors_for_language) + (mac_font_copy_default_name_for_charset_and_languages): Declare. + (cf_charset_table): big-5-0 has uniquifier 0x4EDC. + (macfont_language_default_font_names): New. + (macfont_list): Rearrange language/charset code. + (macfont_close): Don't check for macfont_info->cache. + (mac_ctfont_create_preferred_family_for_attributes): New font + selection code, call + mac_font_copy_default_name_for_charset_and_languages. + (mac_font_copy_default_descriptors_for_language) + (mac_font_copy_default_name_for_charset_and_languages): New functions. + + * macfont.h (kCTVersionNumber10_9): Define if not defined. + + 2013-11-07 Paul Eggert <eggert@cs.ucla.edu> + + Port to C11 aligned_alloc, and fix some integer overflows. + * alloc.c (USE_ALIGNED_ALLOC): New symbol. + (USE_POSIX_MEMALIGN): Remove. All uses replaced with USE_ALIGNED_ALLOC, + and use of posix_memalign replaced with aligned_alloc. + (aligned_alloc): New function, defined or declared as needed. + * conf_post.h (HAVE_POSIX_MEMALIGN) [DARWIN_OS]: + Don't undef; configure.ac now does this. + * gmalloc.c (aligned_alloc) [MSDOS]: New decl. + (calloc, aligned_alloc): Check for integer overflow. + (aligned_alloc): Rename from memalign. All uses changed. + (memalign): New function, an alias for aligned_alloc. + + 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * xdisp.c (redisplay_internal): Fix typo in last change. + + 2013-11-06 Paul Eggert <eggert@cs.ucla.edu> + + * regex.c: Fix --enable-gcc-warning glitch with GCC 4.5.2. + + 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * xdisp.c (syms_of_xdisp): New vars redisplay--all-windows-cause and + redisplay--mode-lines-cause. + (redisplay_internal): Keep them uptodate. Remove redundant check of + buffer_shared_and_changed. + * *.[chm]: Number every assignment to update_mode_lines so we + can track why it is set. + + 2013-11-06 Eli Zaretskii <eliz@gnu.org> + + * editfns.c (Fformat_time_string): Doc fix. (Bug#15816) + + 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * *.[chm]: Number every assignment to windows_or_buffers_changed so we + can track why it is set. + + 2013-11-06 Paul Eggert <eggert@cs.ucla.edu> + + Integer-related fixes for term.c etc. + * dispextern.h (face_tty_specified_color): New function. + * term.c (turn_on_face): Don't rely on undefined behavior when + assigning an out-of-range value to 'long'. + Simplify test for toggling highlight. + (tty_capable_p): Omit last two (unused) args. All callers changed. + * term.c (tty_capable_p, tty_menu_display, tty_menu_add_selection) + (read_menu_input, tty_menu_activate, tty_menu_show): + * xfaces.c (x_supports_face_attributes_p) + (tty_supports_face_attributes_p): + Use bool for boolean. All callers changed. + (tty_supports_face_attributes_p): Omit defaults for color indices; + no longer needed. Simplify tail call. + + 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * xdisp.c (prepare_menu_bars): Mark static. + * lisp.h (prepare_menu_bars): Don't declare. + * xselect.c (x_handle_selection_clear): + * callproc.c (call_process): Remove redundant call to prepare_menu_bars. + + 2013-11-05 Paul Eggert <eggert@cs.ucla.edu> + + * keyboard.c (Fcommand_error_default_function): Fix pointer signedness + glitch. Eliminate 'sz' prefix; Hungarian notation is not helpful here. + + 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (Fcommand_error_default_function): Rename from + Fdefault_error_output. + + 2013-11-05 Jarek Czekalski <jarekczek@poczta.onet.pl> (tiny change) + + * keyboard.c (Fdefault_error_output): New function, extracted from + cmd_error_internal. + (syms_of_keyboard): Use it for Vcommand_error_function. + + 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * eval.c (handlerlist_sentinel): New variable (bug#15802). + (init_eval): Use it to ensure handlerlist is non-NULL. + (unwind_to_catch): Make sure we never set handlerlist to NULL. + (Fsignal): Adjust NULLness test of handlerlist. + * lisp.h (PUSH_HANDLER): Assume handlerlist is non-NULL. + + 2013-11-05 Eli Zaretskii <eliz@gnu.org> + + * callproc.c (call_process): Call prepare_to_modify_buffer before + decoding text read from the sub-process, as the decoded stuff will + be inserted into the buffer. This will invalidate the various + caches maintained for the buffer. (Bug#15148) + + 2013-11-05 Xue Fuqiao <xfq.free@gmail.com> + + * xdisp.c (syms_of_xdisp): Mention the active display table in doc + string of glyphless-char-display. + + 2013-11-05 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m (ns_get_name_from_ioreg): New function. + (ns_screen_name): Don't use deprecated CGDisplayIOServicePort on + OSX >= 10.9. Use ns_get_name_from_ioreg. + + 2013-11-05 Paul Eggert <eggert@cs.ucla.edu> + + Simplify and port recent bool vector changes. + * alloc.c (ROUNDUP): Move here from lisp.h, since it's now used + only in this file. Use a more-efficient implementation if the + second argument is a power of 2. + (ALIGN): Rewrite in terms of ROUNDUP. Make it a function. + Remove no-longer-necessary compile-time checks. + (bool_vector_exact_payload_bytes): New function. + (bool_vector_payload_bytes): Remove 2nd arg; callers that need + exact payload changed to call the new function. Do not assume + that the arg or result fits in ptrdiff_t. + (bool_vector_fill): New function. + (Fmake_bool_vector): Use it. Don't assume bit counts fit + in ptrdiff_t. + (vroundup_ct): Don't assume arg fits in size_t. + * category.c (SET_CATEGORY_SET): Remove. All callers now just + invoke set_category_set. + (set_category_set): 2nd arg is now EMACS_INT and 3rd is now bool. + All callers changed. Use bool_vector_set. + * category.h (XCATEGORY_SET): Remove; no longer needed. + (CATEGORY_MEMBER): Now a function. Rewrite in terms of + bool_vector_bitref. + * data.c (Faref): Use bool_vector_ref. + (Faset): Use bool_vector_set. + (bits_word_to_host_endian): Don't assume you can shift by CHAR_BIT. + (Fbool_vector_not, Fbool_vector_count_matches) + (Fbool_vector_count_matches_at): Don't assume CHAR_BIT == 8. + * fns.c (concat): Use bool_vector_ref. + (Ffillarray): Use bool_vector_fill. + (mapcar1): Use bool_vector_ref. + (sxhash_bool_vector): Hash words, not bytes. + * lisp.h (BOOL_VECTOR_BITS_PER_CHAR): Now a macro as well as + a constant, since it's now used in #if. + (bits_word, BITS_WORD_MAX, BITS_PER_BITS_WORD): Fall back on + unsigned char on unusual architectures, so that we no longer + assume that the number of bits per bits_word is a power of two or + is a multiple of 8 or of CHAR_BIT. + (Qt): Add forward decl. + (struct Lisp_Bool_Vector): Don't assume EMACS_INT is aligned + at least as strictly as bits_word. + (bool_vector_data, bool_vector_uchar_data): New accessors. + All data structure accesses changed to use them. + (bool_vector_words, bool_vector_bitref, bool_vector_ref) + (bool_vector_set): New functions. + (bool_vector_fill): New decl. + (ROUNDUP): Move to alloc.c as described above. + + Fix recent gnutls changes. + * gnutls.c (Fgnutls_boot): Don't assume C99. + * process.c (wait_reading_process_output): Fix typo in recent change. + + 2013-11-05 Teodor Zlatanov <tzz@lifelogs.com> + + * process.c (wait_reading_process_output, read_process_output) + (send_process): Check gnutls_state is not NULL. + + * gnutls.c (emacs_gnutls_handle_error): Adjust log level for EAGAIN. + (Fgnutls_boot): Set process gnutls_p later, after initialization. + + 2013-11-04 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (init, run, stop:): New methods in EmacsApp for + OSX >= 10.9 to prevent memory leak of GCD dispatch source. + + * nsterm.h (EmacsApp): Add shouldKeepRunning and isFirst for + OSX >= 10.9. + + * nsfns.m (Fx_create_frame): Fix memory leak. + + * macfont.m (CG_SET_FILL_COLOR_WITH_GC_FOREGROUND) + (CG_SET_FILL_COLOR_WITH_GC_BACKGROUND) + (CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND): Fix memory leak. + + 2013-11-04 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (message3_nolog, message_with_string): Encode the string + before writing it to the terminal in a non-interactive session. + + * lread.c (openp): If both FILENAME and SUFFIX are unibyte, make + sure we concatenate them into a unibyte string. + + * fileio.c (make_temp_name): Encode PREFIX, and decode the + resulting temporary name before returning it to the caller. + (Fexpand_file_name): If NAME is pure-ASCII and DEFAULT_DIRECTORY + is a unibyte string, convert NAME to a unibyte string to ensure + that the result is also a unibyte string. + + * emacs.c (init_cmdargs): Use build_unibyte_string to make sure we + create unibyte strings from default paths and directory/file + names. + + * coding.h (ENCODE_FILE): Do not attempt to encode a unibyte + string. + + * callproc.c (init_callproc): Use build_unibyte_string to make + sure we create unibyte strings from default paths and + directory/file names. + + * buffer.c (init_buffer): Don't store default-directory of + *scratch* in multibyte form. The original problem which led to + that is described in + http://lists.gnu.org/archive/html/emacs-pretest-bug/2004-11/msg00532.html, + but it was solved long ago. (Bug#15260) + + 2013-11-04 Paul Eggert <eggert@cs.ucla.edu> + + Port to stricter C99 platforms. + Especially, C99 prohibits nesting a struct X inside struct Y if + struct X has a flexible array member. + * alloc.c (struct sdata): New type. + (sdata): Implement in terms of struct sdata. + Remove u member; all uses replaced by next_vector, set_next_vector. + (SDATA_SELECTOR, SDATA_DATA, SDATA_DATA_OFFSET): Adjust to sdata change. + (SDATA_DATA_OFFSET): Now a constant, not a macro. + (struct sblock): Rename first_data member to data, which is now + a flexible array member. All uses changed. + (next_vector, set_next_vector, large_vector_vec): New functions. + (vector_alignment): New constant. + (roundup_size): Make it a multiple of ALIGNOF_STRUCT_LISP_VECTOR, too. + (struct large-vector): Now merely a NEXT member, since the old approach + ran afoul of stricter C99. All uses changed to use + large_vector_vec or large_vector_offset. + (large_vector_offset): New constant. + * dispnew.c: Include tparam.h, for tgetent. + Do not include term.h; no longer needed. + * gnutls.c (Fgnutls_boot): Don't continue after calling a _Noreturn. + * lisp.h (ENUM_BF) [__SUNPRO_C && __STDC__]: Use unsigned int. + (struct Lisp_Vector): Use a flexible array member for contents, + instead of a union with a member that is an array of size 1. + All uses changed. + (ALIGNOF_STRUCT_LISP_VECTOR): New constant, to make up for the + fact that the struct no longer contains a union. + (struct Lisp_Misc_Any, struct Lisp_Marker, struct Lisp_Overlay) + (struct Lisp_Save_Value, struct Lisp_Free): + Use unsigned, not int, for spacers, to avoid c99 warning. + (union specbinding): Use unsigned, not bool, for bitfield, as + bool is not portable to pre-C99 hosts. + + 2013-11-04 Glenn Morris <rgm@gnu.org> + + * emacs.c (usage_message): Mention that `-L :...' appends. + + 2013-11-02 Glenn Morris <rgm@gnu.org> + + * Makefile.in (abs_builddir): Remove. + (bootstrap_exe): Use relative filename. + + Use relative filenames in TAGS files. + * Makefile.in (abs_srcdir): Remove it again. + (.PHONY): Remove frc. + (maintainer-clean): No more TAGS-LISP file. + (TAGS): Pass relative file names to etags. + (../lisp/TAGS): Rename from TAGS-LISP. Work in ../lisp. + + * Makefile.in (abs_srcdir): New, set by configure. + (lispdir): Remove. + (maintainer-clean): Remove pointless echo. That should be in the + top-level Makefile, if anywhere. Delete TAGS-LISP. + (extraclean): No s/ and m/ directories for some time. + (TAGS): Also depend on ctagsfiles3. + Remove no-longer-defined S_FILE. + Pass absolute filenames to etags once more. + (TAGS-LISP): Replace lispdir with its expansion. + (TAGS-LISP, $(lwlibdir)/TAGS): Correctly pass ETAGS to sub-makes. + ($(lwlibdir)/TAGS): Remove useless subshell, check cd return value. + + 2013-11-02 Jan Djärv <jan.h.d@swipnet.se> + + * xfaces.c (check_lface_attrs, realize_default_face): + Add LFACE_DISTANT_FOREGROUND_INDEX (Bug#15788). + (realize_default_face): Set DISTANT_FOREGROUND to unspecified_fg. + + 2013-11-02 Paul Eggert <eggert@cs.ucla.edu> + + * emacs.c (original_pwd): Remove global var by making it local. + (init_cmdargs): New arg ORIGINAL_PWD; caller changed. + + 2013-11-01 Jan Djärv <jan.h.d@swipnet.se> + + * xfaces.c: Declare color_distance. + (QCdistant_foreground): New variable. + (NEAR_SAME_COLOR_THRESHOLD): New define. + (load_color2): New function. + (load_color): Call load_color2. + (load_face_colors): Call load_color2 and if distant-color is specified + calculate distant and use distant-color if colors are near. + (LFACE_DISTANT_FOREGROUND): New define. + (merge_face_ref, Finternal_set_lisp_face_attribute) + (Finternal_get_lisp_face_attribute) + (x_supports_face_attributes_p): Handle distant-foreground similar to + foreground. + (syms_of_xfaces): DEFSYM QCdistant_foreground. + + * dispextern.h (lface_attribute_index): + Add LFACE_DISTANT_FOREGROUND_INDEX. + + 2013-11-01 Claudio Bley <claudio.bley@googlemail.com> + + * image.c (pbm_next_char): New function. + See http://netpbm.sourceforge.net/doc/pbm.html for the details. + (pbm_scan_number): Use it. + (Qlibjpeg_version): New variable. + (syms_of_image): DEFSYM and initialize it. + + 2013-10-31 Jan Djärv <jan.h.d@swipnet.se> + + * emacs.c (main): Skip -psn args on OSX even if ! isatty (0). + + 2013-10-31 Glenn Morris <rgm@gnu.org> + + * emacs.c (original_pwd): New char. + (main): If using --chdir, store original_pwd. + (init_cmdargs): When setting Vinvocation_directory based on a + relative argv[0], use original_pwd if set. (Bug#15768) + + 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (command_loop_1): If command is nil, call `undefined'. + + 2013-10-29 Paul Eggert <eggert@cs.ucla.edu> + + * insdel.c: Fix minor problems found by static checking. + (Qregion_extract_function): Now static. + (prepare_to_modify_buffer_1): Remove unused locals. + + 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * xdisp.c (prepare_menu_bars): Call Vpre_redisplay_function. + (syms_of_xdisp): Declare pre-redisplay-function. + (markpos_of_region): Remove function. + (init_iterator, compute_stop_pos, handle_face_prop) + (face_before_or_after_it_pos, reseat_to_string) + (get_next_display_element, window_buffer_changed) + (redisplay_internal, try_cursor_movement, redisplay_window) + (try_window_reusing_current_matrix, try_window_id, display_line) + (note_mode_line_or_margin_highlight, note_mouse_highlight) + (display_string, mouse_face_from_buffer_pos): Remove region handling. + * window.h (struct window): Remove field `region_showing'. + * dispextern.h (struct it): Remove region_beg/end_charpos. + (face_at_buffer_position, face_for_overlay_string) + (face_at_string_position): Update prototypes. + * xfaces.c (face_at_buffer_position, face_for_overlay_string) + (face_at_string_position): Remove `region_beg' and `region_end' args. + * fontset.c (Finternal_char_font): + * font.c (font_at, font_range): Adjust calls accordingly. + * insdel.c (Qregion_extract_function): New var. + (syms_of_insdel): Initialize it. + (prepare_to_modify_buffer_1): Use it. + + 2013-10-29 Dmitry Antipov <dmantipov@yandex.ru> + + Prefer 'unsigned long' to 'long unsigned int' and 'unsigned long int'. + * ftxfont.c (ftxfont_get_gcs): + * gtkutil.c (xg_set_widget_bg, xg_set_background_color): + * xfaces.c (x_free_colors, x_free_dpy_colors) + (x_create_gc, unload_color): + * xselect.c (x_property_data_to_lisp): + * xsettings.c (parse_settings): + * xterm.c (x_copy_color, x_alloc_lighter_color, x_setup_relief_color) + (get_bits_and_offset): Adjust definition. + * frame.c (XParseGeometry): Adjust locals. + * lisp.h (toplevel): Adjust EMACS_UINT type definition. + * regex.h (toplevel): Likewise for reg_syntax_t. + + 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * eval.c (run_hook_with_args): Use FUNCTIONP. + + 2013-10-29 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.h (struct x_output): For 'black_relief' and 'white_relief' + fields, drop 'allocated_p' member and use -1 for uninitialized value. + * w32term.h (struct w32_output): Similarly but do not use -1 because... + * xfaces.c (unload_color) [HAVE_X_WINDOWS]: ...this function is a no-op + on MS-Windows anyway. + (free_face_colors): Define only if HAVE_X_WINDOWS and... + (free_realized_face): ...adjust user. + * xfns.c (Fx_create_frame, x_create_tip_frame): Initialize black and + white relief pixels to -1. + * xterm.c (x_setup_relief_color, x_free_frame_resources): Adjust users. + * w32term.c (w32_setup_relief_color, x_free_frame_resources): Likewise. + * dispextern.h (unload_color): Move prototype under HAVE_X_WINDOWS. + + 2013-10-28 Paul Eggert <eggert@cs.ucla.edu> + + * dispextern.h, image.c (x_bitmap_height, x_bitmap_width): Now static. + * xfaces.c (load_pixmap): Omit last two args, which are always NULL + in practice now. All callers changed. + + 2013-10-28 Dmitry Antipov <dmantipov@yandex.ru> + + * dispextern.h (struct face): Use bitfields for 'underline_type' + and 'box' members. Remove set-but-unused members 'pixmap_w' and + 'pixmap_h'. If not HAVE_WINDOW_SYSTEM, also remove dummy + 'stipple' member. Move 'lface' member up to help... + * xfaces.c (make_realized_face): ...this function to find and + clear just the members that need clearing. + (load_face_colors, realize_x_face): + * xdisp.c (extend_face_to_end_of_line): Adjust user. + + 2013-10-27 Dmitry Antipov <dmantipov@yandex.ru> + + * xftfont.c (struct xftfont_info): Remove set-but-unused + 'screen' member. + (xftfont_open): Adjust user. + (xftfont_get_colors): Remove useless prototype. + + 2013-10-26 Eli Zaretskii <eliz@gnu.org> + + * emacs.c (Fdump_emacs): Encode FILENAME and SYMFILE arguments + before passing them to 'unexec'. (Bug#15260) + + 2013-10-26 Xue Fuqiao <xfq.free@gmail.com> + + * fringe.c (set_fringe_bitmap_face): Add usage note from lispref. + + 2013-10-25 Eli Zaretskii <eliz@gnu.org> + + * w32uniscribe.c (uniscribe_close): Adjust the argument list to + the changed signature of the font driver's 'close' method. + + * w32font.h (w32font_close): Adjust the prototype to the change in + function definition. + + * w32font.c (w32font_close): Reintroduce deleted declaration of i. + + * w32uniscribe.c (uniscribe_close): Adapt the call to + w32font_close to its new prototype. + + 2013-10-25 Dmitry Antipov <dmantipov@yandex.ru> + + Omit unused frame argument of font API's close function. + * font.h (struct font): Drop frame argument. Adjust comment. + * font.c (font_clear_cache, font_close_object): Adjust users. + * ftfont.c (ftfont_close): + * ftxfont.c (ftxfont_close): + * macfont.m (macfont_close): + * nsfont.m (nsfont_close): + * w32font.c (w32font_close): + * xfont.c (xfont_close): + * xftfont.c (xftfont_close): Adjust driver-specific close functions, + tweak comments and make functions safe if called more than once for + the same font object. + + Perform font-specific cleanup when font object is swept by GC. See + http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00740.html. + * alloc.c (cleanup_vector): New function. + (sweep_vector): Call it for each reclaimed vector object. + * font.h (struct font): Adjust comment. + + 2013-10-24 Glenn Morris <rgm@gnu.org> + + * Makefile.in (abs_top_srcdir): New, set by configure. + + 2013-10-23 Dmitry Antipov <dmantipov@yandex.ru> + + Adjust recent font-related changes to fix bug#15686. + * alloc.c (mark_object) [HAVE_WINDOW_SYSTEM]: If marked frame + is a live window system frame, mark its default font too. + + 2013-10-23 Glenn Morris <rgm@gnu.org> + + * Makefile.in (RUN_TEMACS): Make relative (again). + ($(leimdir)/leim-list.el, .el.elc, $(lispsource)/loaddefs.el) + (bootstrap-emacs$(EXEEXT)): + Quote entities that might contain whitespace. + + 2013-10-23 Paul Eggert <eggert@cs.ucla.edu> + + Port to Solaris 10 and its bundled GCC. Reported by Timothy C. Burt. + * floatfns.c (isfinite, isnan): Redefine unconditionally. + + 2013-10-21 Dmitry Antipov <dmantipov@yandex.ru> + + Do not allow font caches to grow too large. + * alloc.c (compact_font_cache_entry, compact_font_caches): + New functions or stub if not HAVE_WINDOW_SYSTEM. + (compact_undo_list): Factor out from Fgarbage_collect. + Add comment. + (mark_face_cache): Mark face font. Move down to avoid + extra prototypes. + (mark_terminals): Do not mark font cache here. + (Fgarbage_collect): Call compaction functions described + above. Adjust comment. + + 2013-10-20 Jan Djärv <jan.h.d@swipnet.se> + + * emacs.c (main): On Cocoa, if GUI session and 0 is not a tty, + chdir to HOME (bug#15607). + + * nsterm.m (Qcocoa, Qgnustep): New variables. + (syms_of_nsterm): Defsym Qcocoa, Qgnustep. Fprovide appropriate one. + (ns_get_color): Make selection color work for GNUstep also. + + 2013-10-18 Eli Zaretskii <eliz@gnu.org> + + * keyboard.c (make_lispy_event): Remove GPM-specific code that + handles mouse clicks. Instead, let GPM use the same code as all + the other mice use. See the discussion starting at + http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00521.html + for the details of the problem with the menu bar this fixes. + + 2013-10-18 Dmitry Antipov <dmantipov@yandex.ru> + + Remove port-specific display name lists to avoid extra + complexity and data duplication with display info lists. + * xterm.h (x_display_name_list): Remove declaration. + * xterm.c (x_display_name_list): Remove. + (x_term_init, x_delete_display, syms_of_xterm): Adjust users. + * xfns.c (x_display_info_for_name, Fx_display_list): + Likewise. Use x_display_list where appropriate. + * w32term.h (w32_display_name_list): Remove declaration. + * w32term.c (w32_display_name_list): Remove. + (w32_initialize_display_info, x_delete_display, syms_of_w32term): + Adjust users. + * w32fns.c (x_display_info_for_name, Fx_display_list): + Likewise. Use x_display_list where appropriate. + * nsterm.h (ns_display_name_list): Remove declaration. + * nsterm.m (ns_display_name_list): Remove. + (ns_term_init, syms_of_nsterm): Adjust users. + * nsfns.m (ns_display_info_for_name, Fx_display_list): + Likewise. Use x_display_list where appropriate. + * termhooks.h (TERMINAL_FONT_CACHE): New macro. + * alloc.c (toplevel) [HAVE_WINDOW_SYSTEM]: Include TERM_HEADER. + (mark_terminals): Mark per-terminal font cache. + + 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com> + + Don't run timers in input-pending-p. Its new check-timers param + provides the prior behavior. (Bug#15045). + * keyboard.c (Finput_pending_p): Accept optional check-timers param. + + 2013-10-17 Paul Eggert <eggert@cs.ucla.edu> + + Make some functions static in non-Microsoft builds. + On my platform (Fedora 19 x86-64), this shrinks the + Emacs executable (text+data) by 0.25%. + * dispextern.h (erase_phys_cursor) [!WINDOWSNT]: + (load_color) [!MSDOS]: + * gnutls.h (emacs_gnutls_transport_set_errno) [!WINDOWSNT]: + * keyboard.h (make_ctrl_char) [!WINDOWSNT]: + * lisp.h (check_existing): + * process.h (conv_sockaddr_to_lisp, network_interface_list) + (network_interface_info) [!WINDOWSNT]: + * termhooks.h (encode_terminal_code) [!WINDOWSNT]: + Remove extern decls. + * fileio.c (check_existing): + * keyboard.c (make_ctrl_char) [!WINDOWSNT]: + * process.c (conv_sockaddr_to_lisp, network_interface_list) + (network_interface_info) [!WINDOWSNT]: + * term.c (encode_terminal_code) [!WINDOWSNT]: + * xdisp.c (erase_phys_cursor) [!WINDOWSNT]: + * xfaces.c (load_color) [!MSDOS]: + Now static. + * fileio.c (check_existing, check_executable, check_writable): + * process.c (network_interface_list, network_interface_info): + Move earlier, so that we don't need forward decls. + * gnutls.c (fn_gnutls_transport_set_errno) + (emacs_gnutls_transport_set_errno) [!WINDOWNT]: + Remove; unused. + * w32.c (init_environment): Use faccessat rather than + check_existing, partly for consistency with the rest of the code + in this file, partly so that check_existing can be static. + + Make VALMASK visible to GDB even if clang is used (Bug#15574). + * emacs.c (MAIN_PROGRAM): New macro. + * lisp.h (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END): New macros. + (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Use them. + + bool vector int width fixes + * data.c (bool_vector_spare_mask, Fbool_vector_count_matches) + (Fbool_vector_count_matches_at): + Use EMACS_INT, not ptrdiff_t, to record bit counts, as a bit count + can exceed PTRDIFF_MAX, at least in theory. + (Fbool_vector_count_matches_at): + Use int, not ptrdiff_t, to record a value that can't exceed INT_MAX. + + 2013-10-16 Paul Eggert <eggert@cs.ucla.edu> + + * process.h (conv_sockaddr_to_lisp): New decl, for newly-extern func. + (struct sockaddr): Add forward decl, for platforms that lack it. + + 2013-10-16 Jan Djärv <jan.h.d@swipnet.se> + + * nsselect.m (ns_string_from_pasteboard): Remove Fquit, just return + Qnil (Bug#15628). + + 2013-10-16 Eli Zaretskii <eliz@gnu.org> + + * w32.c (network_interface_get_info, network_interface_list) + (network_interface_info): New functions. (Bug#15610) + (GetAdaptersInfo_Proc): New typedef. + (get_adapters_info): New wrapper function. + (globals_of_w32): Initialize g_b_init_get_adapters_info. + + * process.h (network_interface_list, network_interface_info): + New prototypes. + + * process.c (conv_sockaddr_to_lisp): Now externally-visible. + (Fnetwork_interface_list, Fnetwork_interface_info): Define for + all systems. Return non-nil for systems that HAVE_NET_IF_H and + for WINDOWSNT. Doc fix. + (syms_of_process): Defsubr Snetwork_interface_list and + Snetwork_interface_info unconditionally. + + * menu.c (have_boxes): Fix redundant simulation of radio buttons + in NS GUI sessions. (Bug#15629) + + 2013-10-16 Dmitry Antipov <dmantipov@yandex.ru> + + * fns.c (Fstring_as_unibyte): Use xlispstrdup. + + 2013-10-15 Paul Eggert <eggert@cs.ucla.edu> + + * print.c (print_object): Print " ..." when truncating bool vectors. + + 2013-10-15 Eli Zaretskii <eliz@gnu.org> + + * w32inevt.c (do_mouse_event): Support mouse wheel and all the 5 + standard mouse buttons. + + * termhooks.h (struct input_event): Remove incorrect commentary. + + 2013-10-15 Paul Eggert <eggert@cs.ucla.edu> + + Disallow bool vector operations on mixed-length operands. + The old behavior left garbage in the result vector sometimes, + and didn't seem to be useful. + * data.c (Qwrong_length_argument): New static var. + (wrong_length_argument): New function. + (bool_vector_binop_driver): Check that args agree in length. + + * keyboard.c, keyboard.h (all_kboards): Now static. + + 2013-10-15 Xue Fuqiao <xfq.free@gmail.com> + + * buffer.c (syms_of_buffer) <buffer-invisibility-spec>: Add usage + note from the lispref. + + 2013-10-15 Dmitry Antipov <dmantipov@yandex.ru> + + * nsterm.h (struct ns_display_info): Remove set-but-unused + member image_cache (image caches are per-terminal anyway). + (FRAME_X_IMAGE_CACHE): Remove. + * nsterm.m (ns_initialize_display_info): Adjust user. + + 2013-10-14 Eli Zaretskii <eliz@gnu.org> + + * w32proc.c: Include mingw_time.h. + + * w32.c: Include mingw_time.h. + + Implement scrolling of TTY menus when the screen is too short. + + * term.c (tty_menu_display): Accept an additional argument, the + menu item from which to start displaying the menu. Account for + the value of Y when limiting the menu to the number of available + screen lines. + (mi_result): New enumeration. + (read_menu_input): Return enumerated value. When the y coordinate + hits min_y or max_y, return scroll indication instead of wrapping + around the menu. + (tty_menu_activate): Handle the scrolling indications from + read_menu_input. Compute the first menu item to display and pass + it to tty_menu_display. + + 2013-10-14 Dmitry Antipov <dmantipov@yandex.ru> + + * termhooks.h (FRAME_MUST_WRITE_SPACES, FRAME_LINE_INS_DEL_OK) + (FRAME_CHAR_INS_DEL_OK, FRAME_SCROLL_REGION_OK) + (FRAME_SCROLL_REGION_COST, FRAME_MEMORY_BELOW_FRAME): + Adjust to match the change described below. + (struct terminal): Move must_write_spaces, line_ins_del_ok, + char_ins_del_ok, scroll_region_ok, scroll_region_cost and + memory_below_frame members to... + * termchar.h (struct tty_display_info): ...here because they're + relevant only on TTYs. Prefer unsigned bitfield where appropriate. + * term.c (init_tty): + * nsterm.m (ns_create_terminal): + * w32term.c (w32_create_terminal): + * xterm.c (x_create_terminal): Adjust users. + * dispnew.c (line_hash_code, line_draw_cost): Pass frame arg + to filter out non-TTY frames. Adjust comment. + (scrolling): Adjust user. Prefer eassert for debugging check. + + 2013-10-14 Dmitry Antipov <dmantipov@yandex.ru> + + * xfaces.c (PT_PER_INCH): Remove unused macro. + * termhooks.h (struct terminal): Remove set-but-unused + member fast_clear_end_of_line. + (FRAME_FAST_CLEAR_END_OF_LINE): Remove. + * nsterm.m (ns_create_terminal): + * term.c (init_tty): + * w32term.c (w32_create_terminal): + * xterm.c (x_create_terminal): Adjust users. + + 2013-10-14 Paul Eggert <eggert@cs.ucla.edu> + + * lisp.h (bool_vector_size): New function. + All uses of XBOOL_VECTOR (x)->size changed to bool_vector_size (x). + * data.c (bool_vector_spare_mask, bool_vector_binop_driver) + (Fbool_vector_not, Fbool_vector_count_matches_at): + Remove uses of 'eassume' that should no longer be needed, + because they are subsumed by the 'eassume' in bool_vector_size. + + 2013-10-12 Eli Zaretskii <eliz@gnu.org> + + * image.c (GIFLIB_MAJOR, GIFLIB_MINOR, GIFLIB_RELEASE): Move back + after inclusion of gif_lib.h, thus fixing compiler warnings caused + by 2013-10-10T19:15:33Z!eggert@cs.ucla.edu. + + 2013-10-11 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (deep_copy_glyph_row): Handle the case that FROM and TO + have different dimensions. (Bug#15575) + + * dispnew.c (fill_up_frame_row_with_spaces): Now has external + visibility. + + * dispextern.h (fill_up_frame_row_with_spaces): Add prototype. + + 2013-10-11 Dmitry Antipov <dmantipov@yandex.ru> + + * term.c (tty_menu_show): Never return with unbalanced + specpdl. Use eassert for debugging check. Adjust style. + + 2013-10-11 Eli Zaretskii <eliz@gnu.org> + + * term.c (read_menu_input): Make selection of menu items + cyclical. Suggested by Dmitry Antipov <dmantipov@yandex.ru>. + (tty_menu_activate): Fix off-by-one error when computing max_y. + + 2013-10-11 Teodor Zlatanov <tzz@lifelogs.com> + + * gnutls.c (gnutls_audit_log_function): Add function for GnuTLS + audit logging (only used with GnuTLS 3.x) and enable it. + + 2013-10-11 Dmitry Antipov <dmantipov@yandex.ru> + + * dispnew.c (redraw_frame): Remove useless #ifdef because + FRAME_MSDOS_P is a compile-time zero everywhere except MS-DOS. + Also, move TTY fflush to... + * term.c (tty_update_end): ...this function. + + 2013-10-11 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (display_tty_menu_item): Make sure we never write beyond + the end of the frame's glyph matrix. (Bug#15575) + + * term.c (tty_menu_display): Don't move cursor while overwriting + frame's glyphs with menu items. Limit the number of items + displayed to what can be shown on the available screen lines, + excluding the echo area. + (tty_menu_activate): Limit the Y coordinate allowed by + read_menu_input to the last screen line used for menu display. + + 2013-10-11 Paul Eggert <eggert@cs.ucla.edu> + + * lisp.h (eassume): New macro. + Also, include <verify.h>, for 'assume'. + * alloc.c (bool_vector_payload_bytes, Fmake_bool_vector) + (vroundup, vector_nbytes): + * data.c (bool_vector_spare_mask, bool_vector_binop_driver) + (Fbool_vector_not, Fbool_vector_count_matches) + (Fbool_vector_count_matches_at): + Use eassume, not eassert. + * casetab.c (set_identity, shuffle): + * composite.c (composition_gstring_put_cache): + * dispnew.c (update_frame_1): + * ftfont.c (ftfont_shape_by_flt): + * image.c (gif_load): + * intervals.c (offset_intervals): + * macfont.m (macfont_shape): + Remove calls to 'assume' that are no longer needed, because + --enable-gcc-warnings no longer generates bogus warnings + when these calls are removed. + + 2013-10-11 Dmitry Antipov <dmantipov@yandex.ru> + + * xdisp.c (deep_copy_glyph_row): Remove unused locals. + + 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca> + + * fileio.c (Fsubstitute_in_file_name): Use substitute-env-in-file-name. + (Qsubstitute_env_in_file_name): New var. + (syms_of_fileio): Define it. + + 2013-10-10 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (deep_copy_glyph_row): Assert that the 'used' counts of + FROM and TO are identical. Copy only the glyphs of TEXT_AREA. + (Bug#15575) + + * term.c (save_and_enable_current_matrix): Don't allocate and + don't save margin areas. + (restore_desired_matrix): Don't restore margin areas. + (free_saved_screen): Don't free margin areas. + + 2013-10-10 Paul Eggert <eggert@cs.ucla.edu> + + * image.c: Pacify --enable-gcc-warnings. + (GIFLIB_MAJOR, GIFLIB_MINOR, GIFLIB_RELEASE, fn_GifErrorString): + #define only if used. + + 2013-10-10 Eli Zaretskii <eliz@gnu.org> + + * image.c (GIFLIB_MAJOR): Define to 4 if undefined. + (GIFLIB_MINOR, GIFLIB_RELEASE): Define to zero if undefined. + (GifErrorString) [GIFLIB_MAJOR >= 5]: Define a function pointer. + (gif_load): For giflib v5.x and later, display the error message + produced by giflib when its functions fail. + (syms_of_image) <Qlibgif_version> [HAVE_NTGUI]: New DEFSYM. + (Bug#15531) + + 2013-10-10 Dmitry Antipov <dmantipov@yandex.ru> + + * keyboard.c (last_event_timestamp): Remove. For X selection and + GTK popup menus, it may be obtained from per-frame X display info. + (kbd_buffer_store_event_hold, kbd_buffer_get_event) + (process_special_events): Adjust users. + * keyboard.h (last_event_timestamp): Remove declaration. + * xmenu.c (xmenu_show, create_and_show_popup_menu): Lost last arg. + Use FRAME_DISPLAY_INFO (f)->last_user_time for gtk_menu_popup. + * menu.h (xmenu_show): Adjust prototype. + * menu.c (Fx_popup_menu): Adjust user. + * xselect.c (x_own_selection, x_get_foreign_selection) + (Fx_disown_selection_internal): Use dpyinfo->last_user_time. + + 2013-10-10 Dmitry Antipov <dmantipov@yandex.ru> + + * keyboard.c (init_kboard): Now static. Add arg + to denote window system. Adjust comment. + (init_keyboard): Adjust user. + (allocate_kboard): New function. + (syms_of_keyboard): + * nsterm.m (ns_term_init): + * term.c (init_tty): + * w32term.c (w32_create_terminal): + * xterm.c (x_term_init): Use it. + * keyboard.h (init_kboard): Remove prototype. + (allocate_kboard): Add prototype. + + 2013-10-10 Barry Fishman <barry_fishman@acm.org> (tiny change) + + * image.c (GIFLIB_MAJOR): Ensure it's defined. + (DGifOpen, DGifOpenFileName): Handle giflib 5 syntax. (Bug#15531) + + 2013-10-09 Paul Eggert <eggert@cs.ucla.edu> + + * fns.c (sxhash_bool_vector): Fix buffer read overrun. + + 2013-10-09 Eli Zaretskii <eliz@gnu.org> + + * term.c (tty_menu_activate): Flush the output stream after + showing the cursor, and don't mark the frame garbaged at exit from + the function. Fixes redisplay glitches when moving from one menu + to another. + + 2013-10-09 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m (Fns_convert_utf8_nfd_to_nfc): Check input for valid UTF-8 + or throw error (Bug#15570). + + 2013-10-09 Paul Eggert <eggert@cs.ucla.edu> + + * intervals.c (temp_set_point_both): Move test into 'eassert', + for speed. + + * lisp.h (eassert): Don't use 'assume'. + Sometimes 'assume' wins in performance, and sometimes it loses, + so it shouldn't be used all the time. Perhaps we need two + flavors of 'eassert', one for where 'assume' is far more likely + to help or to hurt; but that can be done later. + Reported by Dmitry Antipov in + <http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00276.html>. + Also, don't include <verify.h>; no longer needed. + + 2013-10-09 Glenn Morris <rgm@gnu.org> + + * eval.c (Fcond): Doc tweak. + + 2013-10-09 Eli Zaretskii <eliz@gnu.org> + + * xfaces.c (x_free_gc) [HAVE_X_WINDOWS, HAVE_NTGUI]: Don't pass + expressions with side effects to eassert. (Bug#15565) + + 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca> + + * fns.c (hashfn_user_defined): Allow hash functions to return any + Lisp_Object. + + 2013-10-08 Paul Eggert <eggert@cs.ucla.edu> + + Fix minor problems found by static checking. + * dispnew.c (save_current_matrix): Omit unnecessary casts. + * dispnew.c (update_frame_with_menu): Mark debug local as used. + * keyboard.c, keyboard.h (Qmouse_movement): Now static. + * keyboard.c (read_menu_command): Remove unused local. + * lisp.h (read_menu_command): New decl. + * menu.c, menu.h (menu_item_width): Arg is now unsigned char *, for + benefit of STRING_CHAR_AND_LENGTH. All uses changed. + Return ptrdiff_t, not int. + * term.c (tty_menu_struct): 'allocated' member is now ptrdiff_t, + not int, for benefit of xpalloc. + (tty_menu_create, tty_menu_make_room): Simplify by using xzalloc + and xpalloc. + (have_menus_p): Remove; unused. + (tty_menu_add_pane, tty_menu_add_selection): Change signedness of + local char * pointer to pacify STRING_CHAR_AND_LENGTH. + (tty_menu_add_selection, tty_menu_locate, tty_meny_destroy): + Now static. + (save_and_enable_current_matrix): Omit unnecessary casts. + (read_menu_input): Omit local extern decl (now in lisp.h). + Don't access uninitialized storage if mouse_get_xy fails. + (tty_menu_activate): Mark local as initialized, for lint. + (tty_menu_activate, tty_meny_show): Remove unused locals. + + 2013-10-08 Eli Zaretskii <eliz@gnu.org> + + Support menus on text-mode terminals. + * xterm.h (xw_popup_dialog): Add prototype. + + * xmenu.c (Fx_popup_dialog): Function moved to menu.c. + (xmenu_show): Block input here, instead in Fx_popup_menu. + (xw_popup_dialog): New function, with X-specific bits of popup + dialogs. + + * xdisp.c (deep_copy_glyph_row, display_tty_menu_item): + New functions. + + * window.c (Fset_window_configuration): Use run-time tests of the + frame type instead of compile-time conditionals, when menu-bar + lines are considered. + + * w32term.h (w32con_hide_cursor, w32con_show_cursor) + (w32_popup_dialog): New prototypes. + + * w32menu.c (Fx_popup_dialog): Function deleted. + (w32_popup_dialog): New function, with w32 specific bits of popup + dialogs. Block input here. + + * w32inevt.c (w32_console_read_socket): Minor change to add + debugging TTY events. + + * w32fns.c (show_hourglass): If returning early because the frame + is not a GUI frame, unblock input. + + * w32console.c (w32con_hide_cursor, w32con_show_cursor, cursorX) + (cursorY): New functions. + + * termhooks.h (cursorX, cursorY): Prototypes of functions on + WINDOWSNT, macros that call curX and curY elsewhere. + + * termchar.h (struct tty_display_info) <showing_menu>: New flag. + + * term.c (tty_hide_cursor, tty_show_cursor) [WINDOWSNT]: Call w32 + specific function to hide and show cursor on a text-mode terminal. + (tty_menu_struct, struct tty_menu_state): New structures. + (tty_menu_create, tty_menu_make_room, tty_menu_search_pane) + (tty_menu_calc_size, mouse_get_xy, tty_menu_display) + (have_menus_p, tty_menu_add_pane, tty_menu_add_selection) + (tty_menu_locate, save_and_enable_current_matrix) + (restore_desired_matrix, screen_update, read_menu_input) + (tty_menu_activate, tty_menu_destroy, tty_menu_help_callback) + (tty_pop_down_menu, tty_menu_last_menubar_item) + (tty_menu_new_item_coords, tty_menu_show): New functions. + (syms_of_term): New DEFSYMs for tty-menu-* symbols. + + * nsterm.h (ns_popup_dialog): Adjust prototype. + + * nsmenu.m (ns_menu_show): Block and unblock input here, instead + of in x-popup-menu. + (ns_popup_dialog): Adapt order of arguments to the other + *_menu_show implementations. + (Fx_popup_dialog): Function deleted. + + * msdos.c (x_set_menu_bar_lines): Delete unused function. + + * menu.h (tty_menu_show, menu_item_width): Provide prototypes. + + * menu.c (have_boxes): New function. + (single_keymap_panes): Use it instead of a compile-time + conditional. + (single_menu_item): Use run-time tests of the frame type instead + of compile-time conditionals. + (encode_menu_string): New function. + (list_of_items, list_of_panes): Use it instead of ENCODE_STRING + the macro, since different types of frame need different encoding + of menu items. + (digest_single_submenu): Use run-time tests of frame type instead + of, or in addition to, compile-time conditionals. + (menu_item_width, Fmenu_bar_menu_at_x_y): New functions. + (Fx_popup_menu): Detect when the function is called from keyboard + on a TTY. Don't barf when invoked on a text-mode frame. + Check frame type at run time, instead of compile-time conditionals for + invoking terminal-specific menu-show functions. + Call tty_menu_show on text-mode frames. + (Fx_popup_dialog): Move here from xmenu.c. Test frame types at + run time to determine which alternative to invoke; support dialogs + on TTYs. + + * keyboard.h <Qmouse_movement>: Declare. + + * keyboard.c <Qmouse_movement>: Now extern. + <Qecho_keystrokes>: New static variable. + (read_key_sequence): Accept an additional argument, a flag to + prevent redisplay during reading of the key sequence. All callers + changed. + (read_menu_command): New function. + (read_char): When COMMANDFLAG is -2, do not redisplay and do not + autosave. + (toolkit_menubar_in_use): New function. + (make_lispy_event): Use it instead of a compile-time test. + + * fns.c (Fyes_or_no_p) [HAVE_MENUS]: Don't condition on + window-system being available. + + * editfns.c (Fmessage_box) [HAVE_MENUS]: Don't condition the call + to x-popup-dialog on the frame type, they all now support popup + dialogs. + + * dispnew.c (save_current_matrix): Save the margin areas. + (restore_current_matrix): Restore margin areas. + (update_frame_with_menu): New function. + + * dispextern.h (display_tty_menu_item, update_frame_with_menu): + Add prototypes. + + * alloc.c (make_save_ptr): Now compiled unconditionally. + + 2013-10-08 Dmitry Antipov <dmantipov@yandex.ru> + + * dispnew.c (set_window_update_flags): Add buffer arg. Adjust comment. + (redraw_frame, update_frame): Adjust users. + * dispextern.h (set_window_update_flags): Adjust prototype. + * xdisp.c (redisplay_internal): When updating all frames with zero + windows_or_buffers_changed, assume that only the windows that shows + current buffer should be really updated. + + 2013-10-08 Dmitry Antipov <dmantipov@yandex.ru> + + Do not allocate huge temporary memory areas and objects while encoding + for file I/O, thus reducing an enormous memory usage for large buffers. + See http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00180.html. + * coding.h (struct coding_system): New member raw_destination. + * coding.c (setup_coding_system): Initialize it to zero. + (encode_coding_object): If raw_destination is set, do not create + dst_object. Add comment. + * fileio.c (toplevel): New constant E_WRITE_MAX. + (e_write): Do not encode more than E_WRITE_MAX characters per one loop + iteration. Use raw_destination if E_WRITE_MAX characters is encoded. + + 2013-10-08 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (windowDidExitFullScreen:) + (toggleFullScreen:): Change NS_IMPL_COCOA to HAVE_NATIVE_FS. + + 2013-10-08 Paul Eggert <eggert@cs.ucla.edu> + + Fix race where emacs aborts when sent SIGTERM (Bug#15534). + * keyboard.c (unblock_input_to): Don't process pending signals + if a fatal error is in progress. + + * lisp.h (bits_word, BITS_WORD_MAX): New type and macro. + All uses of 'size_t' and 'SIZE_MAX' changed to use them, when + they're talking about words in Lisp bool vectors. + (BITS_PER_BITS_WORD): Rename from BITS_PER_SIZE_T. All uses changed. + * data.c (popcount_bits_word): Rename from popcount_size_t. + (bits_word_to_host_endian): Rename from size_t_to_host_endian. + All uses changed. + + 2013-10-07 Paul Eggert <eggert@cs.ucla.edu> + + Improve support for popcount and counting trailing zeros (Bug#15550). + * data.c: Include <count-one-bits.h>, <count-trailing-zeros.h>. + (USE_MSC_POPCOUNT, POPCOUNT_STATIC_INLINE) + (NEED_GENERIC_POPCOUNT, popcount_size_t_generic) + (popcount_size_t_msc, popcount_size_t_gcc): + Remove; now done by Gnulib. + (popcount_size_t): Now a macro that defers to Gnulib. + (count_trailing_zero_bits): Return int, for consistency with + Gnulib and because Emacs prefers signed to unsigned int. + Don't assume that size_t is either unsigned int or unsigned long + or unsigned long long. + (size_t_to_host_endian): Do not assume that size_t is either + exactly 32 or exactly 64 bits wide. + * lisp.h (BITS_PER_SIZE_T): Define consistently with BITS_PER_LONG + etc., so that it's now an enum constant, not a macro. + No need to assume that it's either 32 or 64. + + 2013-10-07 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (windowDidEnterFullScreen:): setPresentationOptions only + on >= 10.7. + + 2013-10-07 Dmitry Antipov <dmantipov@yandex.ru> + + * insdel.c (insert_from_gap): Prefer ptrdiff_t to int where needed. + * xdisp.c (handle_fontified_prop): Likewise. Use bool for boolean. + + 2013-10-07 Paul Eggert <eggert@cs.ucla.edu> + + emacs_read and emacs_write now use void *, not char *. + * alloc.c (valid_pointer_p) [!WINDOWSNT]: Remove now-unnecessary cast. + * sysdep.c (emacs_read, emacs_write, emacs_write_sig): + Buffer arg is now void *, not char *. This matches plain + 'read' and 'write' better, and avoids a constraint violation + on Solaris 9 with Oracle Studio. + + 2013-10-07 Dmitry Antipov <dmantipov@yandex.ru> + + * alloc.c (Fmake_string): For ASCII char initializer, prefer + memset to explicit loop. Otherwise copy largest possible chunk + from initialized to uninitialized part, thus allowing the longer + memcpy runs and reducing the number of loop iterations. + + 2013-10-06 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (ns_update_begin): If native fullscreen and no toolbar, + hide toolbar (Bug#15388). + (windowDidEnterFullScreen:): If presentation options are zero, + set them here (Bug#15388). + (ns_update_auto_hide_menu_bar): Remove runtime check. + Don't auto hide dock unless menubar is also auto hidden. + + 2013-10-05 Xue Fuqiao <xfq.free@gmail.com> + + * editfns.c (message): Mention batch mode in doc string. + + 2013-10-05 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (check_native_fs): Remove erroneous comment. + + 2013-10-04 Dmitry Antipov <dmantipov@yandex.ru> + + * xdisp.c (redisplay_internal): Simplify because scan_for_column now + uses find_newline instead of scan_newline and so doesn't move point. + + 2013-10-04 Paul Eggert <eggert@cs.ucla.edu> + + Use hardware support for byteswapping on glibc x86 etc. + On Fedora 19 x86-64, the new bswap_64 needs 1 instruction, + whereas the old swap64 needed 30. + * fringe.c (init_fringe_bitmap) [WORDS_BIGENDIAN]: + * sound.c (le2hl, le2hs, be2hl) [!WINDOWSNT]: + Use byteswap.h's macros to swap bytes. + * lisp.h (swap16, swap32, swap64): Remove. + All uses replaced by bswap_16, bswap_32, bswap_64. + + * bytecode.c (exec_byte_code): Use some more volatile variables + to work around local variables getting clobbered by longjmp. + Port to pre-C99, which doesn't allow decls after stmts. + + 2013-10-03 Paul Eggert <eggert@cs.ucla.edu> + + * lisp.h (eassert): Assume that COND is true when optimizing. + In other words, take on the behavior of eassert_and_assume. + This makes Emacs 0.2% smaller on my platform (Fedora 19, x86-64). + (eassert_and_assume): Remove. All uses replaced by eassert. + + * xdisp.c (Qglyphless_char): Now static. + + Adjust to merge from gnulib. + * conf_post.h (__has_builtin, assume): Remove; gnulib now does these. + * lisp.h: Include <verify.h>, for 'assume'. + + * eval.c (clobbered_eassert): New macro. + (internal_catch, internal_condition_case) + (internal_condition_case_1, internal_condition_case_2) + (internal_condition_case_n): Use it instead of eassert + when the argument contains locals clobbered by longjmp. + Don't use clobbered locals outside of clobbered_eassert. + (internal_lisp_condition_case): Use a volatile variable + to work around a local variable's getting clobbered. + + 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca> + + * lisp.h (struct handler): Merge struct handler and struct catchtag. + (PUSH_HANDLER): New macro. + (catchlist): Remove. + (handlerlist): Always declare. + + * eval.c (catchlist): Remove (merge with handlerlist). + (handlerlist, lisp_eval_depth): Not static any more. + (internal_catch, internal_condition_case, internal_condition_case_1) + (internal_condition_case_2, internal_condition_case_n): + Use PUSH_HANDLER. + (unwind_to_catch, Fthrow, Fsignal): Adjust to merged + handlerlist/catchlist. + (internal_lisp_condition_case): Use PUSH_HANDLER. Adjust to new + handlerlist which can only handle a single condition-case handler at + a time. + (find_handler_clause): Simplify since we only a single branch here + any more. + + * bytecode.c (BYTE_CODES): Add Bpushcatch, Bpushconditioncase + and Bpophandler. + (bcall0): New function. + (exec_byte_code): Add corresponding cases. Improve error message when + encountering an invalid byte-code. Let Bunwind_protect accept + a function (rather than a list of expressions) as argument. + + * alloc.c (Fgarbage_collect): Merge scans of handlerlist and catchlist, + and make them unconditional now that they're heap-allocated. + + 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca> + + * charset.c (Fdecode_char, Fencode_char): Remove description of + `restriction' arg. now that it's hidden by advertised-calling-convention. + + 2013-10-02 Jan Djärv <jan.h.d@swipnet.se> + + * macfont.m (mac_ctfont_create_preferred_family_for_attributes): + Remove unused variable (from mac-port). + (macfont_draw): Use s->ybase for correct y position. + + 2013-10-02 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.h (struct frame): Drop has_minibuffer member because... + (FRAME_HAS_MINIBUF_P): ...this macro can be implemented without it. + * frame.c (make_frame, make_minibuffer_frame): Adjust users. + + 2013-10-02 Dmitry Antipov <dmantipov@yandex.ru> + + * window.h (struct window): Prefer enum text_cursor_kinds to int + for phys_cursor_type member. Move the latter, phys_cursor_width, + phys_cursor_ascent and phys_cursor_height under HAVE_WINDOW_SYSTEM. + * window.c (replace_window, make_window): Adjust users. + + 2013-10-02 Dmitry Antipov <dmantipov@yandex.ru> + + * fringe.c (toplevel): Do not use HAVE_WINDOW_SYSTEM because + this module is never compiled otherwise. + + 2013-10-01 Alp Aker <alp.tekin.aker@gmail.com> + + * macfont.m (macfont_draw): Use CGRectMake rather than NSMakeRect + (Bug#15500). + + 2013-09-29 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (get_next_display_element): Don't call face_for_font in + a build configured --without-x. (Bug#15484) + + 2013-09-29 Jan Djärv <jan.h.d@swipnet.se> + + * window.c (calc_absolute_offset): #elif should be #elif defined. + + * frame.c (delete_frame): Block/unblock input to overcome race + condition (Bug#15475). + + 2013-09-29 Andreas Politz <politza@hochschule-trier.de> + + * frame.c (delete_frame): Record selected frame only after + calling Qdelete_frame_functions (Bug#15477). + + 2013-09-28 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (ns_selection_color): Remove. + (ns_get_color): Check for ns_selection_(fg|bg)_color using + NSColor selectedText(Background)Color. Only for COCOA. + (ns_term_init): Remove assignment of ns_selection_color, logic + moved to ns_get_color. + + * nsterm.h (NS_SELECTION_BG_COLOR_DEFAULT): Rename from + NS_SELECTION_COLOR_DEFAULT. + (NS_SELECTION_FG_COLOR_DEFAULT): New. + + 2013-09-28 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (Fdump_tool_bar_row): Ifdef away the body if 'struct + frame' does not have the tool_bar_window member. + + 2013-09-26 Barry O'Reilly <gundaetiapo@gmail.com> + + Signal error when reading an empty byte-code object (Bug#15405) + * lread.c (read1): Signal error. + * alloc.c (make_byte_code): eassert header size. + (sweep_vectors): Change an int to size_t. + + 2013-09-24 Paul Eggert <eggert@cs.ucla.edu> + + * dispnew.c (clear_glyph_row, copy_row_except_pointers): Use enums + instead of ints, as it's the usual style for offsetof constants. See: + http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00478.html + + * data.c (POPCOUNT_STATIC_INLINE): New macro, as a hack for popcount. + This is ugly, but it should fix the performance problem for older + GCC versions in the short run. I'll look into integrating the + Gnulib module for popcount, as a better fix. + See the thread starting in: + http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00474.html + (popcount_size_t_generic) [NEED_GENERIC_POPCOUNT]: + (popcount_size_t_msc) [USE_MSC_POPCOUNT]: + (popcount_size_t_gcc) [USE_GCC_POPCOUNT]: + (popcount_size_t): Use it. + + 2013-09-24 Daniel Colascione <dancol@dancol.org> + + * process.c (Fnetwork_interface_info): Fix build break due to + vector changes. + + 2013-09-24 Paul Eggert <eggert@cs.ucla.edu> + + * dispnew.c (clear_glyph_row, copy_row_except_pointers): + Prefer signed to unsigned integers where either will do. + No need for 'const' on locals that do not escape. + Omit easserts with unnecessary and unportable assumptions about + alignment. Avoid unnecessary casts to char *. + + 2013-09-24 Dmitry Antipov <dmantipov@yandex.ru> + + Use union for the payload of struct Lisp_Vector. + This helps to avoid a few glitches dictated by C's aliasing rules. + * lisp.h (struct Lisp_Vector): Use union for next and + contents member. Adjust comment. Change related users. + * alloc.c (next_in_free_list, set_next_in_free_list): Remove. + Related users changed. + * buffer.c, bytecode.c, ccl.c, character.h, chartab.c, composite.c: + * composite.h, disptab.h, fns.c, fontset.c, indent.c, keyboard.c: + * lread.c, msdos.c, process.c, w32menu.c, window.c, xdisp.c: + * xfaces.c, xfont.c, xmenu.c: Related users changed. + + 2013-09-24 Dmitry Antipov <dmantipov@yandex.ru> + + Optimize glyph row clearing and copying routines. + * dispextern.h (struct glyph_row): Change layout of struct + glyph_row to help copy_row_except_pointers. Adjust comment. + * dispnew.c (null_row): Remove. + (clear_glyph_row): Use offsetof and memset to find and clear + just the members that need clearing. Adjust comment. + (copy_row_except_pointers): Likewise for copying. + + 2013-09-24 Paul Eggert <eggert@cs.ucla.edu> + + Some minor cleanups of recently-added bool vector code. + * conf_post.h (assume): Always return void. Use lint version + only if GCC and MSC versions don't apply. + * conf_post.h (assume): + * data.c (USC_MSC_POPCOUNT, count_trailing_zero_bits): + Depend on _MSC_VER, not __MSC_VER, for consistency with + the rest of Emacs. + * data.c (bool_vector_spare_mask, popcount_size_t_generic) + (popcount_size_t_msc, popcount_size_t_gcc, popcount_size_t) + (bool_vector_binop_driver, count_trailing_zero_bits) + (size_t_to_host_endian): Now static, not static inline; + the latter isn't needed with modern compilers and doesn't + work with older compilers anyway. + + * alloc.c (valgrind_p): Use bool for boolean. + + 2013-09-23 Dmitry Antipov <dmantipov@yandex.ru> + + * xdisp.c (noninteractive_need_newline, message_log_need_newline) + (overlay_arrow_seen, message_enable_multibyte, line_number_displayed) + (display_last_displayed_message_p, message_buf_print) + (message_cleared_p, help_echo_showing_p, hourglass_shown_p): + Use bool for boolean. + * dispextern.h (cancel_line, init_desired_glyphs): + Remove ancient leftover. + (help_echo_showing_p, hourglass_shown_p): + * lisp.h (noninteractive_need_newline): Adjust declaration. + + 2013-09-23 Dmitry Antipov <dmantipov@yandex.ru> + + * dispnew.c (frame_garbaged, selected_frame, last_nonminibuf_frame): + Move to... + * frame.c (frame_garbaged, selected_frame, last_nonminibuf_frame): + ...this file and convert the latter to static. Adjust comment. + (make_initial_frame): + * window.c (init_window_once): Adjust user. + * frame.h (last_nonminibuf_frame): Remove declaration. + * lisp.h (selected_frame): Likewise. + * msdos.c (the_only_display_info): Adjust comment. + + 2013-09-23 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (mouse_face_from_string_pos): Fix off-by-one error in + computing the end column of mouse-highlight that comes from + display or overlay strings. (Bug#15437) + (note_mouse_highlight): Adapt calculation of last argument to + mouse_face_from_string_pos to the above change. + + * conf_post.h (__has_builtin): Define to zero, if undefined, on + all platforms, not just for clang. + + 2013-09-23 Jan Djärv <jan.h.d@swipnet.se> + + * filelock.c (lock_file_1): Rearrange to remove compiler warning + about excess arguments to snprintf. + + * conf_post.h(assume): Use __builtin_unreachable for clang. + + 2013-09-23 Juanma Barranquero <lekktu@gmail.com> + + * w32console.c (initialize_w32_display): Remove unused variable hlinfo. + * w32term.c (w32_scroll_bar_handle_click): Remove unused variable f. + + 2013-09-23 Daniel Colascione <dancol@dancol.org> + + * alloc.c (USE_VALGRIND): New macro; on by default + when ENABLE_CHECKING. + (mark_maybe_object, mark_maybe_pointer) + [USE_VALGRIND]: Mark conservatively-scanned regions valid for + valgrind purposes. + (valgrind_p) [USE_VALGRIND]: New variable. + (init_alloc) [USE_VALGRIND]: Initialize valgrind_p. + + 2013-09-22 Jan Djärv <jan.h.d@swipnet.se> + + * process.c (wait_reading_process_output): Change int pnamelen to + socklen_t. + + * nsterm.m (setMarkedText:selectedRange:, deleteWorkingText): + * nsmenu.m (addDisplayItemWithImage:idx:tag:helpText:enabled:): + * nsfont.m (ns_get_covering_families, ns_findfonts): Cast NSLog + argument to unsigned long to avoid warning. + (nsfont_draw): Use 0.25 instead of Fix2X (kATSItalicQDSkew). + + * conf_post.h (assume): Fix compiler error: x shall be cond. + + 2013-09-22 Daniel Colascione <dancol@dancol.org> + + * xfns.c (x_get_monitor_attributes): Suppress unused variable + warning when compiling without a window system. + + 2013-09-22 Daniel Colascione <dancol@dancol.org> + + * data.c (Qbool_vector_p): New symbol. + (bool_vector_spare_mask, popcount_size_t_generic) + (popcount_size_t_msc, popcount_size_t_gcc) + (popcount_size_t) + (bool_vector_binop_driver) + (count_trailing_zero_bits, size_t_to_host_endian) + (Fbool_vector_exclusive_or) + (Fbool_vector_union) + (Fbool_vector_intersection, Fbool_vector_set_difference) + (Fbool_vector_subsetp, Fbool_vector_not) + (Fbool_vector_count_matches) + (Fbool_vector_count_matches_at): New functions. + (syms_of_data): Intern new symbol, functions. + * alloc.c (bool_vector_payload_bytes): New function. + (Fmake_bool_vector): Instead of calling Fmake_vector, + which performs redundant initialization and argument checking, + just call allocate_vector ourselves. Make sure we clear any + terminating padding to zero. + (vector_nbytes, sweep_vectors): Use bool_vector_payload_bytes + instead of open-coding the size calculation. + (vroundup_ct): New macro. + (vroundup): Assume argument >= 0; invoke vroundup_ct. + * casetab.c (shuffle, set_identity): Change lint_assume to assume. + * composite.c (composition_gstring_put_cache): + Change lint_assume to assume. + * conf_post.h (assume): New macro. + (lint_assume): Remove. + * dispnew.c (update_frame_1): Change lint_assume to assume. + * ftfont.c (ftfont_shape_by_flt): Change lint_assume + to assume. + * image.c (gif_load): Change lint_assume to assume. + * lisp.h (eassert_and_assume): New macro. + (Qbool_vector_p): Declare. + (CHECK_BOOL_VECTOR, ROUNDUP, BITS_PER_SIZE_T): New macros. + (swap16, swap32, swap64): New inline functions. + * macfont.m (macfont_shape): Change lint_assume to assume. + * ralloc.c: Rename ROUNDUP to PAGE_ROUNDUP throughout. + * xsettings.c (parse_settings): Use new swap16 and + swap32 from lisp.h instead of file-specific macros. + + 2013-09-22 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (try_window_id): Don't abort if cursor row could not be + found (which can legitimately happen when the glyph row at the + window start is disabled in the current_matrix. (Bug#15365) + + 2013-09-22 Paul Eggert <eggert@cs.ucla.edu> + + Fix syntax.h bug introduced by recent INLINE change. + syntax.h defined an extern inline function SYNTAX_ENTRY that was + conditionally compiled one way in some modules, and a different + way in others. This doesn't work with extern inline functions, + which must have the same definition in all modules, because the + defining code might be shared across modules, depending on the + implementation. Symptoms reported by Martin Rudalics in: + http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00414.html + * regex.c, syntax.c (SYNTAX_ENTRY_VIA_PROPERTY): Remove. + (SYNTAX, SYNTAX_ENTRY, SYNTAX_WITH_FLAGS): New macros, + overriding the corresponding functions in syntax.h. + * syntax.h (syntax_property_entry, syntax_property_with_flags) + (syntax_property): New inline functions. + (SYNTAX_ENTRY, SYNTAX_WITH_FLAGS, SYNTAX): + Rewrite in terms of these new functions. + + 2013-09-21 Eli Zaretskii <eliz@gnu.org> + + * dired.c (directory_files_internal): Use multibyte_chars_in_text, + not chars_in_text, whose result depends on the multibyteness of + the current buffer. (Bug#15426) + + 2013-09-20 Paul Eggert <eggert@cs.ucla.edu> + + Port recent change to hosts where pointers aren't 'long'. + * xterm.c (x_send_scroll_bar_event, x_scroll_bar_to_input_event): + Don't assume that pointers are the same width as 'long'. + Add a compile-time check that a pointer fits into two X slots. + + A simpler, centralized INLINE. + * conf_post.h (INLINE): Define only if not already defined. + This allows us to use a single INLINE, defined by one file + per executable. + * emacs.c (INLINE): Define it. + Also, include category.h, charset.h, composite.h, dispextern.h, + syntax.h, systime.h, so that their INLINE definitions are expanded + properly for Emacs. + * blockinput.h, keyboard.c (BLOCKINPUT_INLINE): + * buffer.h, buffer.c (BUFFER_INLINE): + * category.h, category.c (CATEGORY_INLINE): + * character.h, character.c (CHARACTER_INLINE): + * charset.h, charset.c (CHARSET_INLINE): + * composite.h, composite.c (COMPOSITE_INLINE): + * dispextern.h, dispnew.c (DISPEXTERN_INLINE): + * frame.h, frame.c (FRAME_INLINE): + * intervals.h, intervals.c (INTERVALS_INLINE): + * keyboard.h, keyboard.c (KEYBOARD_INLINE): + * lisp.h, alloc.c (LISP_INLINE): + * process.h, process.c (PROCESS_INLINE): + * syntax.h, syntax.c (SYNTAX_INLINE): + * systime.h, sysdep.c (SYSTIME_INLINE): + * termhooks.h, terminal.c (TERMHOOKS_INLINE): + * window.h, window.c (WINDOW_INLINE): + Remove. All uses replaced with INLINE. + + 2013-09-20 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.c (handle_one_xevent): Revert part of 2013-09-17 change + to avoid Bug#15398. + + 2013-09-19 Eli Zaretskii <eliz@gnu.org> + + * w32reg.c (w32_get_string_resource): Make the first 2 arguments + 'const char *' to avoid compiler warnings due to similar change in + the prototype of x_get_string_resource. + + 2013-09-19 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.h (struct x_display_info): New members last_mouse_glyph_frame, + last_mouse_scroll_bar, last_mouse_glyph and last_mouse_movement_time, + going to replace static variables below. Adjust comments. + * xterm.c (last_mouse_glyph, last_mouse_glyph_frame) + (last_mouse_scroll_bar, last_mouse_movement_time): Remove. + (note_mouse_movement, XTmouse_position, x_scroll_bar_note_movement) + (x_scroll_bar_report_motion, handle_one_xevent, syms_of_xterm): + Related users changed. + * w32term.h (struct w32_display_info): New members last_mouse_glyph_frame, + last_mouse_scroll_bar, last_mouse_scroll_bar_pos, last_mouse_glyph and + last_mouse_movement_time, going to replace static variables below. + Adjust comments. + * w32term.c (last_mouse_glyph_frame, last_mouse_scroll_bar) + (last_mouse_scroll_bar_pos, last_mouse_glyph, last_mouse_movement_time): + Remove. + (note_mouse_movement, w32_mouse_position, w32_scroll_bar_handle_click) + (x_scroll_bar_report_motion, syms_of_w32term): Related users changed. + * nsterm.h (struct ns_display_info): New members last_mouse_glyph, + last_mouse_movement_time and last_mouse_scroll_bar, going to replace + static variables below. + * nsterm.m (last_mouse_glyph, last_mouse_movement_time) + (last_mouse_scroll_bar): Remove. + (note_mouse_movement, ns_mouse_position, mouseMoved, mouseEntered) + (mouseExited): Related users changed. + + 2013-09-19 Dmitry Antipov <dmantipov@yandex.ru> + + Do not use external array to process X scroll bar messages. + * xterm.c (scroll_bar_windows, scroll_bar_windows_size): Remove. + (x_send_scroll_bar_event): Pack window pointer into two slots + of XClientMessageEvent if we're 64-bit. Adjust comment. + (x_scroll_bar_to_input_event): Unpack accordingly. + + 2013-09-18 Dmitry Antipov <dmantipov@yandex.ru> + + Ifdef away recent changes which aren't relevant to NS port. + * dispextern.h (x_mouse_grabbed, x_redo_mouse_highlight) + [!HAVE_NS]: Declare as such. + * frame.c (x_mouse_grabbed, x_redo_mouse_highlight) + [!HAVE_NS]: Define as such. + + 2013-09-18 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.c (x_redo_mouse_highlight): New function + to factor out common code used in W32 and X ports. + * dispextern.h (x_redo_mouse_highlight): Add prototype. + * xterm.h (struct x_display_info): + * w32term.h (struct w32_display_info): + * nsterm.h (struct ns_display_info): New members + last_mouse_motion_frame, last_mouse_motion_x and + last_mouse_motion_y, going to replace static variables below. + * xterm.c (last_mouse_motion_event, last_mouse_motion_frame) + (redo_mouse_highlight): Remove. + (note_mouse_movement, syms_of_xterm): Adjust user. + (handle_one_xevent): Likewise. Use x_redo_mouse_highlight. + * w32term.c (last_mouse_motion_event, last_mouse_motion_frame) + (redo_mouse_highlight): Remove. + (note_mouse_movement, syms_of_w32term): Adjust user. + (w32_read_socket): Likewise. Use x_redo_mouse_highlight. + * nsterm.m (last_mouse_motion_position, last_mouse_motion_frame): + Remove. + (note_mouse_movement, mouseMoved, syms_of_nsterm): + * nsfns.m (compute_tip_xy): Adjust user. + + 2013-09-18 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.c (x_mouse_grabbed): New function. + * dispextern.h (x_mouse_grabbed): Add prototype. + (last_mouse_frame): Remove declaration. + * xterm.h (struct x_display_info): + * w32term.h (struct w32_display_info): + * nsterm.h (struct ns_display_info): New member + last_mouse_frame, going to replace... + * xdisp.c (last_mouse_frame): ...global variable. + (note_tool_bar_highlight): + * w32term.c (w32_mouse_position, w32_read_socket): + * xterm.c (XTmouse_position, handle_one_xevent): + Use x_mouse_grabbed. + * nsterm.m (ns_mouse_position, mouseDown): Adjust user. + + 2013-09-17 Dmitry Antipov <dmantipov@yandex.ru> + + * w32term.c (w32_read_socket): Avoid temporary + variables in a call to x_real_positions. + * xterm.c (handle_one_xevent): Likewise. + + 2013-09-17 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.h (x_set_bitmap_icon) [!HAVE_NS]: New function. + (x_icon_type): Remove prototype. + (x_bitmap_icon) [!HAVE_NS]: Declare as such. + * frame.c (x_icon_type): Remove. + * w32term.c (x_make_frame_visible, x_iconify_frame): + * xterm.c (x_make_frame_visible, x_iconify_frame): + Use x_set_bitmap_icon to factor out common code. + + 2013-09-17 Dmitry Antipov <dmantipov@yandex.ru> + + * dispextern.h (check_x_display_info, x_get_string_resource): + Declare here just once and unify the latter. + * frame.c (check_x_display_info, x_get_string_resource): + * nsterm.h (check_x_display_info): + * xrdb.c (x_get_string_resource): + * xterm.h (check_x_display_info): Remove prototypes. + * nsfns.m (x_get_string_resource): Likewise. Adjust definition. + * w32reg.c (x_get_string_resource): Likewise. + (w32_get_rdb_resource): Adjust user. + + 2013-09-17 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.h (struct x_display_info): New member + x_pending_autoraise_frame, going to replace... + * xterm.c (pending_autoraise_frame): ...static variable. + (x_new_focus_frame, XTread_socket): Adjust users. + * w32term.h (struct w32_display_info): New member + w32_pending_autoraise_frame, going to replace... + * w32term.c (pending_autoraise_frame): ...global variable. + (x_new_focus_frame, w32_read_socket): Adjust users. + + 2013-09-17 Glenn Morris <rgm@gnu.org> + + * xdisp.c (message_dolog): If we create *Messages*, + switch it to messages-buffer-mode. + + 2013-09-17 Paul Eggert <eggert@cs.ucla.edu> + + Don't overuse 'const' in types of locals. + * bidi.c (bidi_count_bytes): + * gtkutil.c, gtkutil.h (xg_event_is_for_menubar) + (xg_event_is_for_scrollbar): + * xselect.c (x_handle_property_notify) + (x_handle_selection_notify, x_handle_dnd_message): + * xsettings.c, xsettings.h (xft_settings_event): + * xterm.c (x_handle_net_wm_state, handle_one_event) + (x_menubar_window_to_frame, x_detect_focus_change) + (construct_mouse_click, note_mouse_movement) + (x_scroll_bar_to_input_event, x_scroll_bar_expose) + (x_scroll_bar_handle_click, x_scroll_bar_note_movement) + (handle_one_xevent, x_handle_net_wm_state): + * xterm.h (x_handle_property_notify, x_handle_selection_notify) + (x_handle_dnd_message): + Avoid unnecessary 'const', typically the second 'const' in + 'const foo * const arg', a 'const' that does not affect the API + and doesn't significantly help the human reader. + + 2013-09-17 Dmitry Antipov <dmantipov@yandex.ru> + + * image.c (fn_g_type_init) [WINDOWSNT]: Define and load + only if Glib < 2.36.0. + (fn_g_type_init) [!WINDOWSNT]: Define only if Glib < 2.36.0. + * xsettings.c (init_gconf, init_gsettings): Do not check + for g_type_init. + * xterm.c (handle_one_xevent): Do not call to x_clear_area + if GTK >= 2.7.0. + (toplevel) [USE_MOTIF]: Include xlwmenu.h to pacify GCC. + + 2013-09-16 Jan Djärv <jan.h.d@swipnet.se> + + * xsettings.c (init_gconf, init_gsettings): Check for Glib 2.36.0 + before calling g_type_init. + + * font.c (syms_of_font): Move call to syms_of_(ns|mac)font ... + + * nsterm.m (syms_of_nsterm): ... to here. + + 2013-09-16 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.c (toolkit_scroll_bar_interaction): Use bool for boolean. + (ignore_next_mouse_click_timeout): Use Time as X does. + (handle_one_xevent): Avoid cast and use unsigned comparison. + + 2013-09-16 Dmitry Antipov <dmantipov@yandex.ru> + + Do not copy X event in handle_one_xevent except KeyPress case. + Wnen XEvent is processed, it is unlikely to be changed except + KeyPress case, so we can avoid copying and use const pointer to + const data to make sure that an event is not changed elsewhere. + * xterm.c (handle_one_xevent): Change 2nd arg to 'const XEvent * + const' and do not create local copy except for the KeyPress event. + Use casts to avoid a few glitches. Adjust formatting. Add comments. + (SET_SAVED_BUTTON_EVENT): Remove and move the code to the only user. + (x_handle_net_wm_state, x_menubar_window_to_frame) + (x_detect_focus_change, construct_mouse_click, note_mouse_movement) + (x_scroll_bar_to_input_event, x_scroll_bar_expose) + (x_scroll_bar_handle_click, x_scroll_bar_note_movement): + * gtkutil.c (xg_event_is_for_menubar, xg_event_is_for_scrollbar): + * xselect.c (x_handle_property_notify, x_handle_selection_notify) + (x_handle_dnd_message): + * xsettings.c (xft_settings_event): + Use 'const XEvent * const' where appropriate. + * xterm.h, gtkutil.h, xsettings.h: Adjust related prototypes. + + 2013-09-16 Dmitry Antipov <dmantipov@yandex.ru> + + Fix X event waiting to handle multiple frames. + * frame.h (struct frame) [HAVE_X_WINDOWS]: New member wait_event_type. + * xterm.c (pending_event_wait): Remove. Adjust users. + (x_detect_focus_change): Pass frame arg. + (handle_one_xevent): Find related frame early and clear per-frame + wait_event_type only if this is an event for the relevant frame. + (x_wait_for_event): Use per-frame wait_event_type. + + 2013-09-15 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m (Fx_create_frame): Fix font driver registration for + GNUstep. + + * font.c (syms_of_font): Check MAC_OS_X_VERSION_MAX_ALLOWED >= 1050 + for syms_of_macfont. + + * nsterm.m: Include macfont.h. + (ns_tmp_flags, ns_tmp_font): Remove. + (ns_compute_glyph_string_overhangs): Check for driver Qns. + (ns_draw_glyph_string): Use local variables instead of ns_tmp_flags, + ns_tmp_font. Call ns_draw_text_decoration here instead of nsfont.m. + (changeFont:): Fix code style. Check for font driver type when + getiing font. + + * nsterm.h (FONT_DESCENT, FONT_ASCENT): Define to (f)->ascent and + (f)->descent. + + * nsfont.m (ns_tmp_flags, ns_tmp_font): Remove. + (nsfont_open): Set font driver type. + Set font->ascent and font->descent. Figure out font instead of + ns_tmp_font, and flags instead of ns_tmp_flags. + Fix indentation. Remove call to ns_draw_text_decoration, + moved to nsterm. + + * nsfns.m: Include macfont.h. + (Fx_create_frame): Register macfont driver, make a better default font. + (Fns_popup_font_panel): Get font from macfont driver, if used. + + * macfont.m, macfont.h, macuvs.h: New files. + + * font.h: Declare syms_of_macfont. + + * font.c (syms_of_font): Call syms_of_macfont. + + * Makefile.in (NS_OBJ, SOME_MACHINE_OBJECTS): Add macfont.o. + + 2013-09-15 Dmitry Antipov <dmantipov@yandex.ru> + + Drop VERTICAL_SCROLL_BAR_WIDTH_TRIM. For X, it is zero since 1999, + and it is always zero for others, so I assume that this is an ancient + leftover which nobody will want to change any more. + * xterm.h, w32term.h, nsterm.h (VERTICAL_SCROLL_BAR_WIDTH_TRIM): Remove. + (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): + * frame.c (x_set_scroll_bar_width): + * w32fns.c (w32_createscrollbar): + * w32term.c (w32_set_vertical_scroll_bar): + * xfns.c (x_set_scroll_bar_default_width): + * xterm.c (XTflash, x_scroll_bar_create, XTset_vertical_scroll_bar) + (x_scroll_bar_expose): Related users changed. + + 2013-09-15 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.h (FRAME_X_SCREEN_NUMBER): Add comment. + (BLACK_PIX_DEFAULT, WHITE_PIX_DEFAULT): Use FRAME_X_SCREEN_NUMBER. + (SCROLL_BAR_X_WIDGET, SET_SCROLL_BAR_X_WIDGET) [USE_X_TOOLKIT]: + Define as such. + * frame.h (FRAME_SMALLEST_CHAR_WIDTH, FRAME_SMALLEST_FONT_HEIGHT): + Define once here... + * nsterm.h, w32term.h, xterm.h: ...and not here. + * w32term.h (SCROLL_BAR_X_WIDGET, SET_SCROLL_BAR_X_WIDGET): + Remove unused Xisms. + * xterm.c, xfns.c (toplevel): Remove #ifdef HAVE_X_WINDOWS because + these modules are never compiled otherwise. + + 2013-09-14 Eli Zaretskii <eliz@gnu.org> + + * buffer.c (syms_of_buffer) <left-margin-width, right-margin-width>: + Doc fix. (Bug#15375) + + 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru> + + Unify Fx_focus_frame between all ports. + * frame.h (x_focus_frame): New prototype. + * xfns.c (Fx_focus_frame): Remove. + (syms_of_xfns): Do not defsubr it. + (x_focus_frame): X implementation. + * nsfns.m (Fx_focus_frame): Remove. + (syms_of_nsfns): Do not defsubr it. + (x_focus_frame): NS implementation. + * w32term.c (Fx_focus_frame): Remove. + (x_focus_on_frame): Rename to... + (x_focus_frame): W32 implementation. + * w32term.h (x_focus_on_frame): Remove prototype. + * w32fns.c (Fx_focus_frame): Remove. + (syms_of_w32fns): Do not defsubr it. + * frame.c (Fx_focus_frame): Define here. + (syms_of_frame): Defsubr here. + * gtkutil.c (xg_tool_bar_callback): Use x_focus_frame. + + 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru> + + Unify FRAME_window_system_DISPLAY_INFO macros between all ports. + All of them are replaced with FRAME_DISPLAY_INFO, defined in + each port to reference the port-specific window system data. + * msdos.h (FRAME_X_DISPLAY_INFO): Remove. + (FRAME_DISPLAY_INFO): Define. + * w32term.h (FRAME_W32_DISPLAY_INFO, FRAME_X_DISPLAY_INFO): Remove. + (FRAME_DISPLAY_INFO): Define. Adjust users. + * xterm.h (FRAME_X_DISPLAY_INFO): Remove. + (FRAME_DISPLAY_INFO): Define. Adjust users. + * frame.h (FRAME_RES_X, FRAME_RES_Y): Unify. + * font.c, frame.c, gtkutil.c, image.c, menu.c, msdos.c, nsfns.m: + * nsfont.m, nsterm.m, w32fns.c, w32font.c, w32menu.c, w32term.c: + * w32xfns.c, widget.c, xdisp.c, xfaces.c, xfns.c, xfont.c, xmenu.c: + * xselect.c, xterm.c: All related users changed. + + 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.h (x_window_to_frame, x_any_window_to_frame) + (x_menubar_window_to_frame): Remove prototypes. + * xfns.c (x_window_to_frame, x_any_window_to_frame) + (x_menubar_window_to_frame, x_top_window_to_frame): + Move from here... + * xterm.c (x_window_to_frame, x_any_window_to_frame) + (x_menubar_window_to_frame, x_top_window_to_frame): + ...to here and convert all but the last to static. + + 2013-09-12 Eli Zaretskii <eliz@gnu.org> + + * lisp.mk (lisp): Add w32-common-fns.elc. + + 2013-09-12 Xue Fuqiao <xfq.free@gmail.com> + + * charset.c (char_charset): Document an exception for char-charset. + + 2013-09-12 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.h (x_display_info): New field last_user_time... + * xterm.c (toplevel): ...to replace static last_user_time. + (handle_one_xevent, x_ewmh_activate_frame): Adjust users. + + 2013-09-12 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.c (x_set_scroll_bar_thumb) [USE_LUCID && !HAVE_XAW3D]: Clip + scroll bar values to prevent thumb from disappear and update comment. + + 2013-09-11 Glenn Morris <rgm@gnu.org> + + * emacs.c (usage_message): Possessive apostrophe tweak. + + 2013-09-11 Dmitry Antipov <dmantipov@yandex.ru> + + * nsterm.m (syms_of_nsterm): Use Qns. + * w32fns.c (Fx_open_connection): Remove old '#if 0' code. + * w32term.c (w32_create_terminal, syms_of_w32term): Use Qw32. + * xfns.c (x_display_info_for_name, Fx_open_connection): + Remove old '#if 0' code. + (syms_of_xfns): Use Qx. + * termhooks.h (fullscreen_hook): Remove the leftover. + (struct terminal): Fix typo in comment. + + 2013-09-11 Dmitry Antipov <dmantipov@yandex.ru> + + Cleaning up a few X scroll bar bits. + * termhooks.h (enum scroll_bar_part): Add scroll_bar_nowhere member. + * xterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS && USE_LUCID]: + New member last_seen_part, going to replace... + * xterm.c [USE_TOOLKIT_SCROLL_BARS]: ...global last_scroll_bar_part. + (xt_action_hook) [USE_LUCID]: Adjust user. + (xm_scroll_callback, xg_scroll_callback): Do not bloat with + Lucid-specific scroll bar support. + (xaw_jump_callback, xaw_scroll_callback): Prefer enum scroll_par_part + to int and adjust to use last_seen_part member. + (x_set_toolkit_scroll_bar_thumb) [USE_LUCID]: Adjust user. + (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS && USE_LUCID]: + Initialize last_seen_part. + + 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * insdel.c (insert_from_buffer_1): Don't mark buffer as modified when + insert-buffer-substring an empty string. + + 2013-09-11 Paul Eggert <eggert@cs.ucla.edu> + + * xdisp.c (Ftool_bar_lines_needed): Declare as 'const' if ifdeffed out, + avoiding a GCC warning. + + 2013-09-11 Dmitry Antipov <dmantipov@yandex.ru> + + Ifdef away frame tool bar code when it is not really used. + * frame.h (struct frame) [HAVE_WINDOW_SYSTEM && !USE_GTK && !HAVE_NS]: + Move tool_bar_window, desired_tool_bar_string, current_tool_bar_string + and minimize_tool_bar_window_p under the above. + (fset_current_tool_bar_string, fset_desired_tool_bar_string) + (fset_tool_bar_window): Likewise. + * dispnew.c (clear_current_matrices, clear_desired_matrices) + (adjust_frame_glyphs_for_window_redisplay, free_glyphs, update_frame) + (change_frame_size_1): + * window.c (window_from_coordinates, Frecenter): Adjust users. + * window.h (WINDOW_TOOL_BAR_P): Define to zero when frame tool bar + code is not really used. + * xdisp.c (build_desired_tool_bar_string, display_tool_bar_line) + (tool_bar_lines_needed, MAX_FRAME_TOOL_BAR_HEIGHT, tool_bar_item_info) + (get_tool_bar_item, handle_tool_bar_click, note_tool_bar_highlight) + [!USE_GTK && !HAVE_NS]: Define as such. + (Ftool_bar_lines_needed, redisplay_tool_bar, show_mouse_face) + (note_mouse_highlight, expose_frame): + * xfns.c (x_set_tool_bar_lines): + * xterm.c (handle_one_xevent): Adjust users. + + 2013-09-11 Paul Eggert <eggert@cs.ucla.edu> + + Fix corruption with multiple emacsclient -t instances (Bug#15222). + This bug was introduced by my 2013-08-26 patch, which incorrectly + assumed that the terminfo implementation doesn't use termcap buffers. + * term.c (init_tty) [TERMINFO]: Remove optimization, as + these buffers apparently are used after all. + * termchar.h (TERMCAP_BUFFER_SIZE) [TERMINFO]: Define here too. + (struct tty_display_info): Define members termcap_term_buffer and + termcap_strings_buffer even if TERMINFO. + + 2013-09-11 Dmitry Antipov <dmantipov@yandex.ru> + + Fix last change. + * data.c (Feqlsign, Flss, Fgtr, Fleq, Fgeq): Add convenient + 'usage' docstring entry to pacify make-docfile. + + 2013-09-11 Barry O'Reilly <gundaetiapo@gmail.com> + + Change comparison functions =, <, >, <=, >= to take many arguments. + * data.c: Change comparison functions' interface and implementation. + * lisp.h: Make arithcompare available for efficient two arg + comparisons. + * bytecode.c: Use arithcompare. + * fileio.c: Use new interface. + + 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (read_char): Don't break immediate_echo (bug#15332). + + 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca> + + * eval.c (Feval): Document the new use of `lexical'. + + 2013-09-09 Dmitry Antipov <dmantipov@yandex.ru> + + Review and drop old frame resize hack. + * frame.h (struct frame): Remove force_flush_display_p. + * dispnew.c (update_frame): Adjust user and don't call + flush_frame here. The comment has said that there was an issues + with redisplaying fringes, but I don't see any differences with + and without this hack. Hopefully we can continue without it. + * xdisp.c (clear_garbaged_frames): Adjust user and do not clear + current frame matrices twice if resized_p is set. + + 2013-09-09 Dmitry Antipov <dmantipov@yandex.ru> + + Do not populate pure Xism x_sync to other ports. + * frame.h (x_sync): Move under HAVE_X_WINDOWS. + * frame.c (other_visible_frames) [HAVE_X_WINDOWS]: Use as such. + * nsfns.m, w32xfns.c (x_sync): Remove no-op. + * w32term.h (x_sync): Remove prototype. + + 2013-09-09 Dmitry Antipov <dmantipov@yandex.ru> + + Cleanup frame flushing. + * dispextern.h (struct redisplay_interface): + Drop flush_display_optional because flush_display is enough + for X and flushing via RIF is just a no-op for others. + * frame.h (flush_frame): New function. + * dispnew.c (update_frame): + * minibuf.c (read_minibuf): + * xdisp.c (echo_area_display, redisplay_preserve_echo_area): + Use it. + * keyboard.c (detect_input_pending_run_timers): Do not flush + all frames but selected one in redisplay_preserve_echo_area. + * nsterm.m (ns_flush): Remove no-op. + (ns_redisplay_interface): Adjust user. + * w32term.h (x_flush): Remove no-op. + (w32_redisplay_interface): Adjust user. + * xterm.c (x_flush): Simplify because we do not flush all + frames at once any more. Adjust comment. + (x_redisplay_interface): Adjust user. + + 2013-09-07 Paul Eggert <eggert@cs.ucla.edu> + + Port --without-x --enable-gcc-warnings to Fedora 19. + * gfilenotify.c (globals_of_gfilenotify): + Call g_type_init only if using an older glib version that needs it. + + 2013-09-06 Dmitry Antipov <dmantipov@yandex.ru> + + * lisp.h (last_glyphless_glyph_frame, last_glyphless_glyph_face_id) + (last_glyphless_glyph_merged_face_id): Remove declarations. + * dispextern.h (merge_glyphless_glyph_face): Add prototype. + * xdisp.c (last_glyphless_glyph_frame, last_glyphless_glyph_face_id) + (last_glyphless_glyph_merged_face_id): Now static. + (merge_escape_glyph_face): New function, refactored from... + (get_next_display_element): ...here. + (merge_glyphless_glyph_face): New function, refactored from... + (produce_glyphless_glyph): ...here... + * term.c (produce_glyphless_glyph): ...and here. + + 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * eval.c (eval_sub): Only call Ffunction if necessary. + + 2013-09-06 Dmitry Antipov <dmantipov@yandex.ru> + + Attempt to make redisplay more selective when changing cursor type. + * frame.h (struct frame): New bitfield cursor_type_changed. + * xdisp.c (cursor_type_changed): Remove. + (try_cursor_movement, redisplay_window, try_window_id) + (set_frame_cursor_types, try_window_reusing_current_matrix): + Adjust to use per-frame bitfield. + (redisplay_internal): Look for cursor type change on each visible + frame and consider all frames if cursor type has been changed on + the frame other than selected. If cursor type has been changed on + selected frame only, do not use fast update. + + 2013-09-06 Dmitry Antipov <dmantipov@yandex.ru> + + Attempt to make redisplay more selective when changing fonts. + * frame.h (struct frame): New bitfield fonts_changed. + * dispextern.h (fonts_changed_p, adjust_glyphs): Remove declaration. + (adjust_frame_glyphs): Add prototype. + * dispnew.c (fonts_changed_p): Remove. + (adjust_glyphs): Remove because we do not + adjust matrices on all frames at once any more. + (adjust_frame_glyphs): Block and unblock input here. + (adjust_glyph_matrix): Use fonts_changed. + (change_frame_size_1): Use adjust_frame_glyphs. + * font.c (font_open_entity): Use fonts_changed. + * frame.c (set_menu_bar_lines, Fmake_terminal_frame): + * w32fns.c (x_set_menu_bar_lines, x_set_tool_bar_lines, Fx_show_tip): + * window.c (Fdelete_other_windows_internal, Fwindow_resize_apply) + (Fsplit_window_internal, Fdelete_window_internal, grow_mini_window) + (shrink_mini_window, Fresize_mini_window_internal) + (window_scroll_pixel_based, Fset_window_configuration) + (apply_window_adjustment, Fset_window_vscroll): + * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines, Fx_show_tip): + Use adjust_frame_glyphs. + * xdisp.c (redisplay_tool_bar, redisplay_window, try_window) + (try_window_reusing_current_matrix, try_window_id, display_line) + (IT_EXPAND_MATRIX_WIDTH): Use fonts_changed. + (redisplay_internal): Consider fonts_changed and adjust frame + matrices for each frame only if the frame is visible. If font + has been changed on some frame during full redisplay, retry + only visible frames where the font has been actually changed. + + 2013-09-05 Dmitry Antipov <dmantipov@yandex.ru> + + Cache current header and mode line height for each window. + * window.h (struct window): New fields mode_line_height + and header_line_height. + * window.c (make_window): Initialize them. + * dispextern.h (CURRENT_MODE_LINE_HEIGHT) + (CURRENT_HEADER_LINE_HEIGHT): Use them. Adjust comment. + (current_mode_line_height, current_header_line_height): + Remove declaration. + * xdisp.c (current_mode_line_height, current_header_line_height): + Remove. + (pos_visible_p, init_xdisp): Adjust user. + (redisplay_window): Invalidate mode_line_height and + header_line_height if current and desired matrices do not agree. + + 2013-09-05 Dmitry Antipov <dmantipov@yandex.ru> + + * fontset.c, window.c, xdisp.c (toplevel): Use TERM_HEADER. + * xfaces.c (toplevel) [HAVE_X_WINDOWS]: Do not include xterm.h twice. + + 2013-09-05 Dmitry Antipov <dmantipov@yandex.ru> + + Make --without-x compatible with --enable-gcc-warnings. + * font.c (register_font_driver): Move check under HAVE_WINDOW_SYSTEM. + * font.h (struct font_driver): Move draw, get_bitmap and free_bitmap + members under HAVE_WINDOW_SYSTEM. + * keyboard.c (make_lispy_focus_out): Likewise. + (record_menu_key): Move under HAVE_MENUS. + * xdisp.c (toplevel): Move hourglass_shown_p, hourglass_atimer and + THIN_SPACE_WIDTH under HAVE_WINDOW_SYSTEM. + (syms_of_xdisp): Adjust user. + (window_box_edges): Define only if HAVE_WINDOW_SYSTEM. + (start_hourglass, cancel_hourglass): + * xfaces.c (toplevel): Likewise with PT_PER_INCH, + clear_font_table_count, CLEAR_FONT_TABLE_COUNT + and CLEAR_FONT_TABLE_NFONTS. + (set_font_frame_param, clear_face_gcs, realize_non_ascii_face): + Declare only if HAVE_WINDOW_SYSTEM. + (lface_same_font_attributes_p, clear_face_gcs): Define only + if HAVE_WINDOW_SYSTEM. + + 2013-09-05 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.c (check_minibuf_window): Update 'frame' with frame pointer. + * xterm.c (x_scroll_bar_handle_click) [!USE_TOOLKIT_SCROLL_BARS]: + Don't pass C integer to XINT (tiny fix for 2013-09-03 change). + + 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * cmds.c (Fself_insert_command): Don't pass a non-integer to XINT. + + 2013-09-04 Paul Eggert <eggert@cs.ucla.edu> + + * alloc.c (make_event_array): First arg is now ptrdiff_t, not int. + This fixes a type error on hosts where ptrdiff_t is wider than int. + + 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (read_key_sequence_vs): New function. + (Fread_key_sequence_vector, Fread_key_sequence): Use it to factor out + common code. + + * callint.c (Fcall_interactively): Always return a vector for 'K'. + + 2013-09-04 Paul Eggert <eggert@cs.ucla.edu> + + Makefile improvements. + * Makefile.in (config.status): Don't use double-colon rules, as + they are not portable according to POSIX. Fix shell typo with `; + I guess this rule has never been tested? + (VCSWITNESS): New macro, to override any environment var. + + 2013-09-04 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.h (struct x_display_info): Do not track X connection + fd separately because it is always available from Display. + * xterm.c (x_term_init, x_delete_terminal, x_delete_display): + Adjust users. + + 2013-09-03 Dmitry Antipov <dmantipov@yandex.ru> + + * buffer.c (drop_overlay): + * fileio.c (restore_point_unwind): Prefer unchain_marker to + Fset_marker (X, Qnil, ...) (which is the same but a bit slower). + + 2013-09-03 Dmitry Antipov <dmantipov@yandex.ru> + + * buffer.c (Fmake_overlay, Fmove_overlay): + * intervals.c (set_point_from_marker): + * print.c (PRINTPREPARE): Prefer signal_error + to plain error and report unsuitable marker too. + + 2013-09-03 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.h (struct scroll_bar): Prefer int to Lisp_Object + for 'dragging' member. + (struct x_output): Remove set-but-unused leftovers + 'left_before_move' and 'top_before_move'. + * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): + * xterm.c (xt_action_hook, xm_scroll_callback, xg_scroll_callback) + (xg_end_scroll_callback, xaw_jump_callback, xaw_scroll_callback) + (x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create) + (x_scroll_bar_set_handle, XTset_vertical_scroll_bar) + (x_scroll_bar_handle_click, x_scroll_bar_note_movement) + (x_scroll_bar_report_motion, x_set_offset): Related users changed. + * xfns.c, image.c (XLIB_ILLEGAL_ACCESS): No longer needed. + + 2013-09-03 Jan Djärv <jan.h.d@swipnet.se> + + * nsfont.m (INVALID_GLYPH): New define. + (nsfont_encode_char): Use INVALID_GLYPH. + (ns_uni_to_glyphs): Ditto, check for NSNullGlyph (Bug#15138). + + 2013-09-02 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.c (x_last_mouse_movement_time): Revert last change. + This code should use XDisplayMotionBufferSize to check display's + motion history first, and there are few other issues as well. + (x_scroll_bar_note_movement): Pass XMotionEvent rather than XEvent. + (handle_one_xevent): Adjust user. + + 2013-09-02 Martin Rudalics <rudalics@gmx.at> + + * dispnew.c (Flast_nonminibuf_frame): Move from here ... + * frame.c (Flast_nonminibuf_frame): ... to here. + (check_minibuf_window): Don't abort if no window was found + (Bug#15247). + + 2013-09-02 Dmitry Antipov <dmantipov@yandex.ru> + + Use XGetMotionEvents to ask the last mouse motion time from X server. + * xterm.c (X_MOTION_HISTORY): Default to 1. + (x_last_mouse_movement_time) [X_MOTION_HISTORY]: New function. + (x_last_mouse_movement_time) [!X_MOTION_HISTORY]: Legacy version. + (note_mouse_movement, x_scroll_bar_note_movement) [!X_MOTION_HISTORY]: + Ifdef away legacy code. + (XTmouse_position, x_scroll_bar_report_motion): + Use x_last_mouse_movement_time. + (handle_one_xevent): Use event.xunmap and not event.xmap when handling + UnmapNotify event. + + 2013-09-02 Dmitry Antipov <dmantipov@yandex.ru> + + * msdos.c (last_mouse_window): Move to... + (dos_rawgetc): ...this function and adjust comment. + * nsterm.m (last_window): Rename to last_mouse_window, move to... + (mouseMoved): ...this function and adjust comment. + * w32term.c (last_window): Likewise with... + (w32_read_socket): ...this function. + * xterm.c (last_window): Likewise with... + (handle_one_xevent): ...this function. + + 2013-09-02 Dmitry Antipov <dmantipov@yandex.ru> + + * window.h (Vmouse_window, Vmouse_event): Remove the leftovers. + * xterm.c (toplevel): Drop obsolete comment and move compose_status... + (handle_one_xevent): ...to here. + (STORE_KEYSYM_FOR_DEBUG): Move under ENABLE_CHECKING and make no-op + otherwise. + + 2013-09-02 Dmitry Antipov <dmantipov@yandex.ru> + + * msdos.c (IT_set_terminal_window): Remove no-op. + (initialize_msdos_display): Adjust terminal setup. + * w32console.c (w32con_set_terminal_window): Remove no-op. + (initialize_w32_display): Adjust terminal setup. + * w32term.c (w32_set_terminal_window): Remove no-op. + (w32_create_terminal): Adjust terminal setup. + * xterm.c (XTset_terminal_window): Remove no-op. + (x_create_terminal): Adjust terminal setup. + + 2013-09-01 Dmitry Antipov <dmantipov@yandex.ru> + + * nsterm.m (ns_set_terminal_modes, ns_reset_terminal_modes): + Remove no-ops. + (ns_create_terminal): Adjust terminal setup. + * w32term.c (w32_set_terminal_modes, w32_reset_terminal_modes): + Remove no-ops. + (w32_create_terminal): Adjust terminal setup. + * xterm.c (XTset_terminal_modes, XTreset_terminal_modes): + Remove no-ops. + (x_create_terminal): Adjust terminal setup. + + 2013-09-01 Dmitry Antipov <dmantipov@yandex.ru> + + * dispextern.h (SET_TEXT_POS_FROM_MARKER): Indent. + (CLIP_TEXT_POS_FROM_MARKER): New macro. + * dispnew.c (buffer_posn_from_coords): + * window.c (Fwindow_end, displayed_window_lines): + * xdisp.c (redisplay_mode_lines): Use it. + + 2013-09-01 Jan Djärv <jan.h.d@swipnet.se> + + * fontset.c (face_for_char): Check char in the current face font first + if HAVE_NS (Bug#15138). + + 2013-08-31 Martin Rudalics <rudalics@gmx.at> + + * window.c (temp_output_buffer_show): Make sure window returned + by display_buffer is live (Bug#15213). + + 2013-08-30 Dmitry Antipov <dmantipov@yandex.ru> + + Minor cleanup to avoid forward declarations. + * coding.h (struct ccl_spec): Remove forward declaration. + * composite.h (toplevel): Include font.h. + (struct composition_it, struct face, struct font_metrics): + Remove forward declaration. + * dispextern.h (struct image, struct atimer): Likewise. + * emacsgtkfixed.h (struct frame): Likewise. + * emacsgtkfixed.c (toplevel): Reorder headers and drop stdio.h. + * font.h (struct font_driver, struct font, struct glyph_string) + (struct face): Remove forward declaration. + * fontset.h (struct face, struct font): Likewise. + * frame.h (toplevel): Style cleanup. + (enum output_method): Move to... + * termhooks.h (enum output_method): ...here. + (struct glyph, struct frame, struct ns_display_info) + (struct x_display_info, struct w32_display_info): + Remove forward declaration. + * xterm.h (toplevel): Include termhooks.h. + (struct font, struct window, struct glyph_matrix, struct frame) + (struct input_event, struct face, struct image): Remove forward + declaration. + * gtkutil.h (struct _widget_value): Likewise. + * keyboard.h (toplevel): Include termhooks.h. + (struct input_event): Remove forward declaration. + + 2013-08-29 Dmitry Antipov <dmantipov@yandex.ru> + + * intervals.c (set_point_from_marker): New function. + * editfns.c (Fgoto_char): + * process.c (Finternal_default_process_filter): + * window.c (select_window_1): Use it. + * buffer.h (set_point_from_marker): Add prototype. + + 2013-08-29 Eli Zaretskii <eliz@gnu.org> + + * w32.c (term_winsock): Call release_listen_threads before calling + WSACleanup. + (_sys_wait_accept): Wait for accept event in a loop with a finite + timeout, instead of waiting indefinitely. Will hopefully avoid + hanging during exit because WSACleanup deadlocks waiting for the + event object to be released. (Bug#14333) + + * w32proc.c (release_listen_threads): New function, signals all + the reader threads that listen for connections to stop waiting. + + * w32.h (release_listen_threads): Add prototype. + + 2013-08-29 Dmitry Antipov <dmantipov@yandex.ru> + + * alloc.c (Fmake_marker, build_marker): Zero need_adjustment + field of new marker (for sanity and safety). + * lisp.h (XSETMARKER): Remove unused macro (it doesn't work + anyway because XMISCTYPE is a function and can't be an lvalue). + + 2013-08-29 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.c (x_clear_area): Lost 7th arg because it is always False. + (x_after_update_window_line, x_scroll_bar_create) + (x_scroll_bar_set_handle, XTset_vertical_scroll_bar) + (handle_one_xevent, x_clear_frame_area): + * gtkutil.c (xg_clear_under_internal_border, xg_update_scrollbar_pos): + * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): Adjust users. + * xterm.h (x_clear_area): Adjust prototype. + + 2013-08-29 Dmitry Antipov <dmantipov@yandex.ru> + + Hook scanning and indentation functions to find_newline. This helps + to avoid duplicated code and renders more respect to newline cache. + * lisp.h (scan_newline): Prefer ptrdiff_t to EMACS_INT. + * cmds.c (Fforward_line): + * indent.c (scan_for_column, Fcurrent_indentation, indented_beyond_p): + Use find_newline and avoid unnecessary point movements. + * search.c (scan_newline): Implement on top of find_newline. + + 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca> + + * eval.c (Ffuncall): Fix handling of ((lambda ..) ..) in lexically + scoped code (bug#11258). + + 2013-08-28 Davor Cubranic <cubranic@stat.ubc.ca> (tiny change) + + * nsterm.m (last_window): New variable. + (EV_TRAILER2): New macro. + (EV_TRAILER): Call EV_TRAILER2. + (mouseMoved:): Add support for mouse-autoselect-window + on nextstep (Bug#6888). + + 2013-08-28 Andreas Schwab <schwab@suse.de> + + * regex.c (CHAR_CHARSET, CHARSET_LEADING_CODE_BASE, CHAR_HEAD_P) + (SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MAKE_CHAR, BYTE8_TO_CHAR): + Remove unused macro definitions. + (CHARSET_RANGE_TABLE_BITS, EXTEND_RANGE_TABLE) + (SET_RANGE_TABLE_WORK_AREA_BIT, SET_RANGE_TABLE_WORK_AREA): + Only define if emacs. + + 2013-08-28 Dmitry Antipov <dmantipov@yandex.ru> + + Prefer enum glyph_row_area to int where appropriate. + * dispextern.h (enum glyph_row_area): Add ANY_AREA member. + Fix comment. + (window_box, window_box_width, window_box_left, window_box_left_offset) + (window_box_right, window_box_right_offset): Adjust prototypes. + * xdisp.c (window_box, window_box_width, window_box_left) + (window_box_left_offset, window_box_right, window_box_right_offset): + Use enum glyph_row_area. Adjust users and tweak comment where needed. + (window_box_edges): Likewise. Lost 2nd arg since it is always ANY_AREA. + * nsterm.m (ns_clip_to_row): + * w32term.c (w32_clip_to_row): + * xterm.c (x_clip_to_row): Likewise. + + 2013-08-28 Dmitry Antipov <dmantipov@yandex.ru> + + * buffer.c (Foverlays_at, Foverlays_in, Fnext_overlay_change) + (Fprevious_overlay_change): Fast path for buffer with no overlays. + + 2013-08-28 Paul Eggert <eggert@cs.ucla.edu> + + * Makefile.in (SHELL): Now @SHELL@, not /bin/sh, + for portability to hosts where /bin/sh has problems. + + 2013-08-28 Dmitry Antipov <dmantipov@yandex.ru> + + Redesign redisplay interface to drop global output_cursor. + * dispextern.h (struct redisplay_interface): Remove cursor_to member. + (toplevel): Remove declaration of output_cursor. + (set_output_cursor, x_cursor_to): Remove prototype. + * window.h (struct window): New member output_cursor. + (output_cursor_to): New function to replace RIF member. + * dispnew.c (redraw_overlapped_rows, update_marginal_area) + (update_text_area, set_window_cursor_after_update): Use it. + * xdisp.c (output_cursor, set_output_cursor, x_cursor_to): Remove. + (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): + * nsterm.m (ns_update_window_begin, ns_update_window_end): + * w32term.c (x_update_window_begin, x_update_window_end): + * xterm.c (x_update_window_begin, x_update_window_end): + Adjust to use per-window output cursor. + + 2013-08-27 Paul Eggert <eggert@cs.ucla.edu> + + Simplify SELECT_TYPE-related code. + Like EMACS_TIME, this portability layer is no longer needed, since + Emacs has been using fd_set as a portability layer for some time. + * sysselect.h (FD_SETSIZE): Rename from MAXDESC. All uses changed. + (SELECT_TYPE): Remove. All uses changed to fd_set. + (fd_set) [!FD_SET]: New typedef. + + Simplify EMACS_TIME-related code. + This portability layer is no longer needed, since Emacs has been + using struct timespec as a portability layer for some time. + * atimer.h, buffer.h, dispextern.h, xgselect.h: + Include <time.h> rather than "systime.h"; that's all that's needed now. + * dispnew.c: Include <timespec.h> rather than "systime.h"; + that's all that's needed now. + * systime.h (EMACS_TIME): Remove. All uses changed to struct timespec. + (EMACS_TIME_RESOLUTION): Remove. All uses changed to + TIMESPEC_RESOLUTION. + (LOG10_EMACS_TIME_RESOLUTION): Remove. All uses changed to + LOG10_TIMESPEC_RESOLUTION. + (EMACS_SECS, emacs_secs_addr): Remove. All uses changed to tv_sec. + (EMACS_NSECS): Remove. All uses changed to tv_nsec. + (make_emacs_time): Remove. All used changed to make_timespec. + (invalid_timespec): Rename from invalid_emacs_time. All uses changed. + (current_timespec): Rename from current_emacs_time. All uses changed. + (add_emacs_time): Remove. All uses changed to timespec_add. + (sub_emacs_time): Remove. All uses change dot timespec_sub. + (EMACS_TIME_SIGN): Remove. All uses changed to timespec_sign. + (timespec_valid_p): Rename from EMACS_TIME_VALID_P. All uses changed. + (EMACS_TIME_FROM_DOUBLE): Remove. All uses changed to dtotimespec. + (EMACS_TIME_TO_DOUBLE): Remove. All uses changed to timespectod. + (current_timespec): Rename from current_emacs_time. All uses changed. + (EMACS_TIME_EQ, EMACS_TIME_LT, EMACS_TIME_LE): Remove. All uses + changed to timespec_cmp. + * xgselect.c: Include <timespec.h>, since our .h files don't. + + 2013-08-27 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.h (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE:) + * nsterm.h (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): + Remove the leftovers. + * gtkutil.c (toplevel): Do not declare Qxft but include + font.h to do so. + * image.c (toplevel): Do not declare Vlibrary_cache because + it's already done in lisp.h. + + 2013-08-27 Dmitry Antipov <dmantipov@yandex.ru> + + * lisp.h (Mouse_HLInfo): Move from here... + * dispextern.h (Mouse_HLInfo): ...to here and offload lisp.h. + (reset_mouse_highlight): New function. + * msdos.c (dos_set_window_size, IT_update_begin) + (internal_terminal_init): + * nsterm.m (ns_update_window_end, x_free_frame_resources) + (ns_initialize_display_info): + * w32console.c (initialize_w32_display): + * w32term.c (x_update_window_end, x_free_frame_resources) + (w32_initialize_display_info): + * xterm.c (x_update_window_end, x_free_frame_resources, x_term_init): + * window.c (Fdelete_other_windows_internal): + * xdisp.c (clear_mouse_face, cancel_mouse_face): Use it. + * termchar.h (toplevel): + * xterm.h (toplevel): Include dispextern.h. + + 2013-08-26 Paul Eggert <eggert@cs.ucla.edu> + + Fix minor problems found by static checking. + * image.c (XGetPixel, XPutPixel) [HAVE_NS]: Now static. + (expect): Avoid nested-if warning. + (x_build_heuristic_mask) [HAVE_NS]: Avoid unused-var warning. + * nsmenu.m (fillWithWidgetValue:): Avoid type warning. + * nsterm.h, nsterm.m (ns_select): + * xgselect.c, xgselect.h (xg_select): + Adjust signature to better match pselect's. + * nsterm.m (ns_select): + Don't set *TIMEOUT, since pselect doesn't. + * regex.c (whitespace_regexp): Now const_re_char *, to avoid + diagnostic about assigning const char * to it. + * xfaces.c (x_display_info) [HAVE_NS]: Remove; unused. + + 2013-08-26 Stefan Monnier <monnier@iro.umontreal.ca> + + * lread.c (substitute_object_recurse): Handle hash-tables as well + (bug#15190). + + 2013-08-26 Paul Eggert <eggert@cs.ucla.edu> + + Fix unlikely core dump in init_tty, and simplify terminfo case. + * term.c (init_tty) [TERMINFO]: Fix check for buffer overrun. + The old version incorrectly dumped core if malloc returned a + buffer containing only non-NUL bytes. + (init_tty): Do not allocate or free termcap buffers; the + struct does that for us now. + * termchar.h (TERMCAP_BUFFER_SIZE) [!TERMINFO]: New constant. + (struct tty_display_info): Define members termcap_term_buffer and + termcap_strings_buffer only if !TERMINFO, since terminfo doesn't + use them. Allocate them directly in struct rather than indirectly + via a pointer, to simplify init_tty. + + * frame.c (check_minibuf_window): Initialize 'window' properly, + so that Emacs reliably aborts later if 'window' is not initialized. + + 2013-08-26 Jan Djärv <jan.h.d@swipnet.se> + + * gtkutil.c (xg_initialize): Set gtk-menu-bar-accel to "" instead + of VoidSymbol (Bug#15154). + + 2013-08-26 Dmitry Antipov <dmantipov@yandex.ru> + + * lisp.h (Mouse_HLInfo): Drop set-but-unused members + mouse_face_beg_y and mouse_face_end_y. + * xdisp.c (note_tool_bar_highlight, mouse_face_from_buffer_pos) + (mouse_face_from_string_pos, note_mode_line_or_margin_highlight): + Adjust users and update comment where appropriate. + + 2013-08-26 Martin Rudalics <rudalics@gmx.at> + + * frame.c (check_minibuf_window): New function. + (delete_frame, Fmake_frame_invisible, Ficonify_frame): + Call check_minibuf_window (Bug#15183). + + 2013-08-26 Dmitry Antipov <dmantipov@yandex.ru> + + * window.h (struct window): Replace last_cursor with last_cursor_vpos + because this is the only last cursor data we need to keep and consult. + * window.c (replace_window, set_window_buffer, Fsplit_window_internal): + * xdisp.c (mark_window_display_accurate_1, try_cursor_movement): + Adjust users. + + 2013-08-26 Dmitry Antipov <dmantipov@yandex.ru> + + Fix recovering from possible decompression error. + Since insert_from_gap doesn't always move point, we can't use PT as + the position where the partially decompressed data ends, and + should count how many bytes was produced so far. + * decompress.c (struct decompress_unwind_data): Add nbytes member. + (unwind_decompress): Really delete partially uncompressed data. + (Fzlib_decompress_region): Take decompressed data size into account. + + 2013-08-26 Dmitry Antipov <dmantipov@yandex.ru> + + * syntax.c (init_syntax_once): Adjust comment and do an early + initialization of Qchar_table_extra_slots just once... + * casetab.c (init_casetab_once): + * category.c (init_category_once): + * character.c (syms_of_character): + * coding.c (syms_of_coding): + * xdisp.c (syms_of_xdisp): ...and omit it here. + + 2013-08-24 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (get_next_display_element): Don't apply to characters + from a display vector the logic of setting it->end_of_box_run_p + suitable for characters from a buffer. (Bug#15175) + + * w32.c (fdutimens): Call 'utime', which is implemented on w32.c + to handle directories, rather than '_utime' which doesn't. + (Bug#15176) + + 2013-08-24 Jan Djärv <jan.h.d@swipnet.se> + + * gtkutil.c (x_wm_set_size_hint): Don't set hints when maximized + or fullscreen (Bug#14627). + + 2013-08-24 Paul Eggert <eggert@cs.ucla.edu> + + System-dependent integer overflow fixes. + * process.c (Fset_process_window_size): Signal an error if + the window size is outside the range supported by the lower level. + * sysdep.c (set_window_size): Return negative on error, + nonnegative on success, rather than -1, 0, 1 on not in system, + failure, success. This is simpler. Caller changed. + (serial_configure): Remove unnecessary initialization of local. + (procfs_get_total_memory) [GNU_LINUX]: Don't assume system memory + size fits in unsigned long; this isn't true on some 32-bit hosts. + Avoid buffer overrun if some future version of /proc/meminfo has a + variable name longer than 20 bytes. + (system_process_attributes) [__FreeBSD__]: + Don't assume hw.availpages fits in 'int'. + + 2013-08-23 Paul Eggert <eggert@cs.ucla.edu> + + Don't let very long directory names overrun the stack. + Fix some related minor problems involving "//", vfork. + * callproc.c (encode_current_directory): New function. + (call_process): Don't append "/"; not needed. + * fileio.c (file_name_as_directory_slop): New constant. + (file_name_as_directory): Allow SRC to be longer than SRCLEN; + this can save the caller having to alloca. + (Ffile_name_as_directory, Fdirectory_file_name, Fexpand_file_name): + Use SAFE_ALLOCA, not alloca. + (directory_file_name, Fexpand_file_name): Leave leading "//" + alone, since it can be special even on POSIX platforms. + * callproc.c (call_process): + * process.c (Fformat_network_address): + * sysdep.c (sys_subshell): + Use encode_current_directory rather than rolling our own. + (create_process): No need to encode directory; caller does that now. + * process.h (encode_current_directory): New decl. + * sysdep.c (sys_subshell): Work even if vfork trashes saved_handlers. + Rework to avoid 'goto xyzzy;'. + + 2013-08-23 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (handle_face_prop): If the default face was remapped use + the remapped face for strings from prefix properties. (Bug#15155) + + 2013-08-23 Dmitry Antipov <dmantipov@yandex.ru> + + Minor cleanup for redisplay interface and few related functions. + * frame.h (enum text_cursor_kinds): Move from here... + * dispextern.h (enum text_cursor_kinds): ...to here. + (toplevel): Drop unnecessary declarations. + (struct redisplay_interface): Use bool and enum text_cursor_kinds + in update_window_end_hook and draw_window_cursor functions. + (display_and_set_cursor, x_update_cursor): Adjust prototypes. + * nsterm.m (ns_update_window_end, ns_draw_window_cursor): + * w32term.c (x_update_window_end, w32_draw_window_cursor): + * xterm.c (x_update_window_end, x_draw_window_cursor): + * xdisp.c (display_and_set_cursor, update_window_cursor) + (update_cursor_in_window_tree, x_update_cursor): Use bool and + enum text_cursor_kinds where appropriate. + + 2013-08-23 Dmitry Antipov <dmantipov@yandex.ru> + + Redesign redisplay interface to drop updated_row and updated_area. + * dispextern.h (updated_row, updated_area): Remove declaration. + (struct redisplay_interface): Pass glyph row and row area parameters + to write_glyphs, insert_glyphs and clear_end_of_line functions. + (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): + Adjust prototypes. + * dispnew.c (updated_row, updated_area): Remove. + (redraw_overlapped_rows, update_window_line): Adjust user. + (update_marginal_area, update_text_area): Likewise. Pass updated row + as a parameter. Prefer enum glyph_row_area to int where appropriate. + * xdisp.c (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): + Adjust users. + + 2013-08-22 Paul Eggert <eggert@cs.ucla.edu> + + * process.c (flush_pending_output): Remove stub. + All uses removed. + + 2013-08-21 Paul Eggert <eggert@cs.ucla.edu> + + * callproc.c: Fix race that killed background processes (Bug#15144). + (call_process): New arg TEMPFILE_INDEX. Callers changed. + Record deleted process-id in critical section, not afterwards. + Don't mistakenly kill process created by a call-process invocation + that discards output and does not wait. + + 2013-08-21 Dmitry Antipov <dmantipov@yandex.ru> + + Fix compilation with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE + and GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES. + * alloc.c (toplevel): Remove unnecessary nested #if...#endif. + (mark_maybe_object) [!GC_MARK_STACK]: Define to emacs_abort + to shut up compiler in mark_object. + (dump_zombies): Convert to global and add EXTERNALLY_VISIBLE. + + 2013-08-21 Paul Eggert <eggert@cs.ucla.edu> + + * process.c (allocate_pty) [PTY_OPEN]: Set fd's FD_CLOEXEC flag. + We can't portably rely on PTY_OPEN doing that, even if + it calls posix_openpt with O_CLOEXEC. + + 2013-08-20 Kenichi Handa <handa@gnu.org> + + * character.c (string_char): Improve commentary. + + 2013-08-20 Paul Eggert <eggert@cs.ucla.edu> + + * image.c (SIGNATURE_DIGESTSIZE): Remove. + (struct animation_cache): Make signature a flexible array member. + All uses changed. This is a tad slower but may insulate us better + from future changes to ImageMagick. + + 2013-08-19 Paul Eggert <eggert@cs.ucla.edu> + + * image.c: Shrink memory needed for animation cache. + (SIGNATURE_DIGESTSIZE): New constant. + (struct animation_cache): Make 'signature' a fixed size array of bytes. + (imagemagick_create_cache): Copy the signature. This saves + several KB of memory that ImageMagick wastes per signature. + Don't bother updating the update_time, as the caller does that now. + (imagemagick_prune_animation_cache): Don't destroy the signature, as + it's a fixed size struct member now. + (imagemagick_get_animation_cache): Always destroy the signature, + as it's now imagemagick_create_cache's responsibility to copy it. + Avoid duplicate calls to strcmp and to imagemagick_create_cache, + and use memcmp rather than strcmp. + eassert that ImageMagick returns a signature of the specified length. + + 2013-08-19 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * image.c (imagemagick_get_animation_cache): Don't segfault on + each invocation. + (imagemagick_get_animation_cache): Revert to previous definition + so that it actually works. But keep the memory leak fix. + (imagemagick_get_animation_cache): Fix memory leak. + + 2013-08-19 Paul Eggert <eggert@cs.ucla.edu> + + * image.c: Fix animation cache signature memory leak. + Fix some other minor performance problems while we're at it. + (imagemagick_create_cache): Clear just the members that + need clearing. Don't set update_time, as caller does that now. + (imagemagick_prune_animation_cache, imagemagick_get_animation_cache): + Simplify by using pointer-to-pointer instead of a prev pointer. + (imagemagick_prune_animation_cache): Use make_emacs_time rather + than EMACS_TIME_FROM_DOUBLE, and DestroyString rather than free. + (imagemagick_get_animation_cache): Don't xstrdup the image signature; + it's already a copy. Free the signature probe unless it's cached. + + * process.c (handle_child_signal): Fix crash; deleted pid (Bug#15106). + This was introduced by my 2013-08-12 fix for Bug#15035. + + 2013-08-19 Dmitry Antipov <dmantipov@yandex.ru> + + * image.c (imagemagick_create_cache, imagemagick_get_animation_cache) + (imagemagick_prune_animation_cache): Now static. + + 2013-08-18 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * image.c (imagemagick_get_animation_cache): Don't segfault when + pruning all entries. + + 2013-08-18 Ken Brown <kbrown@cornell.edu> + + * sheap.c (STATIC_HEAP_SIZE): Adjust to current needs; use bigger + static heap if ENABLE_CHECKING is defined. + (max_bss_sbrk_ptr): New variable. + (bss_sbrk): Use it. + (report_sheap_usage): Report maximum static heap usage instead of + ending static heap usage. + + 2013-08-17 Eli Zaretskii <eliz@gnu.org> + + * decompress.c (Fzlib_available_p) [WINDOWSNT]: Update the value + of zlib_initialized according to the results of calling + init_zlib_functions. + + 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * image.c: Implement an ImageMagick per-image cache. + (imagemagick_get_animation_cache): Fix a double-free error. + (imagemagick_load_image): Remove the ping_wand code, which only + apparently saved time on invalid animated images, and slowed down + everything else. Optimize for the common case. + + 2013-08-16 Xue Fuqiao <xfq.free@gmail.com> + + * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. + + * editfns.c (insert_before_markers): Mention overlay in the doc string. + + * marker.c (set_marker): Remove documentation of undefined behavior. + + 2013-08-15 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * image.c (imagemagick_compute_animated_image): Animate correctly + when sub-images are smaller than the main image. + (imagemagick_compute_animated_image): Setting the iterator row to + zero is apparently not allowed. + (imagemagick_compute_animated_image): Allow images that say they + have sub-images that are bigger than the main image, but just crop + them. + + 2013-08-15 Jan Djärv <jan.h.d@swipnet.se> + + * nsmenu.m (menuWillOpen:): Fix preprocessor test (Bug#15001). + + 2013-08-15 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * image.c (imagemagick_compute_animated_image): Respect the GIF + disposal methods. + + 2013-08-15 Ken Brown <kbrown@cornell.edu> + + * emacs.c (main): Update comment about G_SLICE_ALWAYS_MALLOC. + * gmalloc.c (memalign) [CYGWIN]: Revert last change; it's not + needed. + + 2013-08-15 Paul Eggert <eggert@cs.ucla.edu> + + Fix minor problems found by static checking. + * frame.c (delete_frame): + * xdisp.c (next_element_from_display_vector): + Avoid uninitialized local. + * image.c (imagemagick_compute_animated_image): Port to C89. + Prefer usual GNU indentation style for loops. + Be more careful about bizarrely large sizes, by using ptrdiff_t + instead of int. + + 2013-08-15 Dmitry Antipov <dmantipov@yandex.ru> + + Fix infinite frame selection loop (Bug#15025). + * frame.c (delete_frame): Prefer fast ad-hoc loop to next_frame. + + 2013-08-15 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (compute_window_start_on_continuation_line): + When WORD_WRAP is in effect, use move_it_to instead of move_it_by_lines + to make sure we end up setting the window start at the leftmost + visible character of the display line. This avoids funky + horizontal shifting because the window start is not kept on the + same position. (Bug#15090) + (next_element_from_display_vector): Support 'box' face attribute + in the face definitions of a display vector. (Bug#15099) + + 2013-08-15 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * image.c (imagemagick_compute_animated_image): Implement animated + images (bug#14700). + (imagemagick_compute_animated_image): Fix some compilation + warnings. Implement a very simple cache to make the animation + usable at all, but it should be replaced with a per-image cache. + + 2013-08-15 Dmitry Antipov <dmantipov@yandex.ru> + + * lisp.h (FOR_EACH_ALIST_VALUE): New macro + to do `for' loops over alist values. + * buffer.h (FOR_EACH_BUFFER): + * process.c (FOR_EACH_PROCESS): Use it. + (handle_child_signal, status_notify, Fget_buffer_process) + (kill_buffer_processes): Use FOR_EACH_PROCESS. + + 2013-08-15 Dmitry Antipov <dmantipov@yandex.ru> + + * term.c (get_named_tty, create_tty_output, tty_free_frame_resources) + (tty_free_frame_resources, delete_tty): Prefer eassert to emacs_abort. + * image.c (make_image_cache): For struct image_cache, prefer xmalloc + to xzalloc and so avoid redundant call to memset. + * xterm.c (x_term_init): Avoid unnecessary initializations of dpyinfo + members because it is allocated with xzalloc and so already zeroed. + + 2013-08-14 Ken Brown <kbrown@cornell.edu> + + * gmalloc.c (memalign) [CYGWIN]: Rename to emacs_memalign + (Bug#15094). + + 2013-08-14 Dmitry Antipov <dmantipov@yandex.ru> + + Utility function and macro to copy Lisp string to C string. + * lisp.h (xlispstrdupa): New macro. + (xlispstrdup): New prototype. + * alloc.c (xlispstrdup): New function. + * callint.c (Fcall_interactively): + * fileio.c (Ffile_name_directory, Fexpand_file_name) + (Fsubstitute_in_file_name): + * frame.c (Fmake_terminal_frame): Use xlispstrdupa. + * image.c (x_create_bitmap_from_file): + * w32term.c (w32_term_init): + * xterm.c (x_term_init): Use xlispstrdup. + + 2013-08-14 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * image.c (imagemagick_load_image): Make animated pictures work. + There's still some problems with background color settings, though + (bug#14700). + + * decompress.c (unwind_decompress): Always restore point. + + 2013-08-14 Xue Fuqiao <xfq.free@gmail.com> + + * marker.c (set_marker): Reformat documentation. + + 2013-08-14 Paul Eggert <eggert@cs.ucla.edu> + + * xdisp.c (cursor_type_changed): Now static. + + * image.c (imagemagick_filename_hint): New arg HINT_BUFFER. + Use changed. This avoids the need to call xmalloc and for the + caller to call xfree, and avoids memory leaks in some situations. + + 2013-08-14 Dmitry Antipov <dmantipov@yandex.ru> + + * xdisp.c (adjust_window_ends): Move duplicated code to new function. + (try_window, try_window_reusing_current_matrix, try_window_id): Use it. + (redisplay_window): If window_end_valid is cleared due to non-zero + windows_or_buffers_changed, clear current_matrix_up_to_date_p and + so do not call to try_cursor_movement for that window. + + 2013-08-14 Dmitry Antipov <dmantipov@yandex.ru> + + * window.h (struct window): Convert window_end_pos and + window_end_vpos from Lisp_Object to ptrdiff_t and int, respectively. + (wset_window_end_pos, wset_window_end_vpos): Remove. + * dispnew.c (adjust_glyph_matrix): + * window.c (Fwindow_end, replace_window, set_window_buffer) + (make_window): + * xdisp.c (check_window_end, move_it_to, redisplay_internal) + (set_vertical_scroll_bar, redisplay_window, try_window) + (try_window_reusing_current_matrix, find_first_unchanged_at_end_row) + (try_window_id, decode_mode_spec, mouse_face_from_buffer_pos) + (note_mouse_highlight): Adjust users. + (try_cursor_movement): Likewise. Convert old precondition to eassert. + Add comment. + + 2013-08-14 Dmitry Antipov <dmantipov@yandex.ru> + + Fix --enable-gcc-warnings errors introduced in 2013-08-13 commit. + * image.c (imagemagick_filename_hint): Use `const char *' and + prefer SSDATA to SDATA to avoid warnings. + + 2013-08-14 Dmitry Antipov <dmantipov@yandex.ru> + + Cleanup window fringes, margins and scroll bars adjustments. + * window.c (set_window_fringes, set_window_margins) + (set_window_scroll_bars, apply_window_adjustment): New functions. + (set_window_buffer, Fset_window_margins, Fset_window_fringes) + (Fset_window_scroll_bars): Use them. + + 2013-08-14 Dmitry Antipov <dmantipov@yandex.ru> + + * window.h (struct window): Convert scroll_bar_width + from Lisp_Object to integer. Adjust comment. + (WINDOW_CONFIG_SCROLL_BAR_WIDTH, WINDOW_CONFIG_SCROLL_BAR_COLS): + Adjust users. + * window.c (wset_scroll_bar_width): Remove. + (make_window): Initialize scroll_bar_width. + (Fsplit_window_internal): Use direct assignment. + (Fset_window_configuration, save_window_save): + Convert Lisp_Object to integer and back where appropriate. + (Fset_window_scroll_bars): Adjust user. Return t if any scroll + bar was actually changed, and mention this in docstring. + + 2013-08-13 Paul Eggert <eggert@cs.ucla.edu> + + * decompress.c: Minor simplifications. + (Fzlib_decompress_region): Don't bother verifying + that avail_out <= UINT_MAX, as that was confusing. + Mention the restriction in a comment instead. + Prefer 'int' to 'ptrdiff_t' when 'int' is wide enough. + + 2013-08-13 Jan Djärv <jan.h.d@swipnet.se> + + * nsmenu.m (x_activate_menubar): Check for OSX >= 10.5 + (trackingNotification:): Call ns_check_menu_open only for OSX >= 10.5. + + 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * image.c (imagemagick_filename_hint): Check for errors in the + alist structure. + + 2013-08-13 Eli Zaretskii <eliz@gnu.org> + + * window.c (Fwindow_margins): Return nil when there's no marginal + area, as per the documented API. + + * w32term.c (x_scroll_bar_create): Use ALLOCATE_PSEUDOVECTOR, not + Fmake_vector, as scroll bar's struct members are not all Lisp + objects now. This avoids crashes in GC. + + * w32term.h (struct scroll_bar): Convert fringe_extended_p to a + bool, so its address could be taken. + + 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * image.c (imagemagick_filename_hint): New function to possibly + apply `image-content-type-suffixes'. + (imagemagick_load_image): Use it. + + 2013-08-13 Eli Zaretskii <eliz@gnu.org> + + * decompress.c (Fzlib_decompress_region) [WINDOWSNT]: Return Qnil + if loading zlib failed. + + 2013-08-13 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (ns_set_vertical_scroll_bar): Fix breakage intruduced by + 2013-08-13 checkin below. Change bool to BOOL, rule is: + All Obj-C code uses BOOL, except for interfaces callable from C. + + * nsterm.h: Fix CGFloat for OSX 10.4 (Bug#15086). + + 2013-08-13 Dmitry Antipov <dmantipov@yandex.ru> + + * window.h (WINDOW_FRINGE_EXTENDED_P): New macro. + * nsterm.m (ns_set_vertical_scroll_bar): Use it. Use convenient + bool instead of BOOL. + * w32term.h (struct scroll_bar): Convert fringe_extended_p + from Lisp_Object to bitfield. Adjust comment. + * w32term.c (x_scroll_bar_create): Adjust user. + Use WINDOW_FRINGE_EXTENDED_P and bool for boolean. + * xterm.c (XTset_vertical_scroll_bar): Likewise. + Use bool for boolean. + * xterm.h (struct scroll_bar): Prefer commonly used `unsigned' + to `unsigned int' when defining a bitfield. + + 2013-08-13 Paul Eggert <eggert@cs.ucla.edu> + + * decompress.c (Fzlib_decompress_region): Try to clarify 'avail_out'. + + 2013-08-13 Dmitry Antipov <dmantipov@yandex.ru> + + * window.h (struct window): Convert left_margin_cols and + right_margin_cols from Lisp_Objects to integers. Adjust comment. + (WINDOW_LEFT_MARGIN_COLS, WINDOW_RIGHT_MARGIN_COLS) + (WINDOW_LEFT_MARGIN_WIDTH, WINDOW_RIGHT_MARGIN_WIDTH): + Adjust users. + * dispnew.c (margin_glyphs_to_reserve): Convert 3rd arg to int. + Adjust comment. + (showing_window_margins_p, update_window_line, update_frame_1): + * fringe.c (draw_fringe_bitmap_1): + * xdisp.c (window_box_width): Adjust users. + * window.c (wset_left_margin_cols, wset_right_margin_cols): Remove. + (adjust_window_margins, set_window_buffer, Fsplit_window_internal): + Use direct assignment. + (Fset_window_configuration, save_window_save, Fwindow_margins): + Convert Lisp_Object to integer and back where appropriate. + (Fset_window_margins): Adjust user. Return t if any margin + was actually changed, and mention this in docstring. + + 2013-08-13 Xue Fuqiao <xfq.free@gmail.com> + + * syntax.c (forward_word): + * cmds.c (forward_char, backward_char): Mention the optional argument. + + 2013-08-13 Dmitry Antipov <dmantipov@yandex.ru> + + * window.h (struct window): Convert left_fringe_width + and right_fringe_width from Lisp_Objects to integers. + Adjust comment. + (WINDOW_FRINGE_COLS, WINDOW_LEFT_FRINGE_WIDTH) + (WINDOW_RIGHT_FRINGE_WIDTH): Adjust users. + * window.c (wset_left_fringe_width, wset_right_fringe_width): + Remove. + (make_window): Initialize new integer fields to -1. + (Fsplit_window_internal): Use direct assignment. + (Fset_window_configuration, save_window_save): + Convert Lisp_Object to integer and back where appropriate. + (Fset_window_fringes): Adjust user. Return t if any fringe + was actually changed, and mention this in docstring. + + 2013-08-13 Dmitry Antipov <dmantipov@yandex.ru> + + * keyboard.c (Fdiscard_input): Do not increment update_mode_lines. + * nsfns.m (x_set_cursor_type): + * w32fns.c (x_set_cursor_type): + * xfns.c (x_set_cursor_type): Do not set cursor_type_changed here... + * xdisp.c (set_frame_cursor_types): ...but in common code. + + 2013-08-13 Dmitry Antipov <dmantipov@yandex.ru> + + * font.c (clear_font_cache): New function, stripped from... + (Fclear_font_cache): ...here, which now uses the function + above. Adjust comment. + * font.h (clear_font_cache): Add prototype. + * xfaces.c (clear_face_cache): Use clear_font_cache. + + 2013-08-13 Dmitry Antipov <dmantipov@yandex.ru> + + * window.c (Fset_window_start): Compare `w', not `window' because + `w' might not be equal to `window' after call to decode_live_window. + + 2013-08-12 Paul Eggert <eggert@cs.ucla.edu> + + * process.c (deactivate_process): Reset fds to -1 (Bug#15035). + This fixes a problem introduced by the Bug#15035 patch + when using GPG. Reported by Herbert J. Skuhra. + + 2013-08-12 Eli Zaretskii <eliz@gnu.org> + + * decompress.c <zlib_initialized> [WINDOWSNT]: New static variable. + (Fzlib_decompress_region) [WINDOWSNT]: Call init_zlib_functions if + not yet initialized. + + 2013-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * decompress.c (Fzlib_decompress_region): Support zlib + decompression, too, and rename. + + 2013-08-12 Paul Eggert <eggert@cs.ucla.edu> + + Minor zlib configuration tweaks. + * decompress.c (fn_inflateInit2) [!WINDOWSNT]: + Don't assume presence of fn_inflateInit2_ zlib internal function. + + 2013-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * decompress.c (Fzlib_decompress_gzipped_region): Rename to + include the zlib prefix. + + 2013-08-12 Eli Zaretskii <eliz@gnu.org> + + * decompress.c [WINDOWSNT]: Include windows.h and w32.h. + (DEF_ZLIB_FN, LOAD_ZLIB_FN) [WINDOWSNT]: New macros. Use them to + define static variables that are pointers to zlib functions to be + dynamically loaded. + (init_zlib_functions) [WINDOWSNT]: New function. + (fn_inflateInit2_, fn_inflate, fn_inflateEnd, fn_inflateInit2): + New macros. + (Fdecompress_gzipped_region, unwind_decompress): Use the fn_* + macros instead of invoking the zlib functions directly. + (syms_of_decompress): DEFSYM Qzlib_dll. + Staticpro Szlib_available_p. + + 2013-08-12 Dmitry Antipov <dmantipov@yandex.ru> + + Avoid looping over all frame windows to freeze and unfreeze. + * window.h (struct window): Drop frozen_window_start_p. + (freeze_window_starts): Drop prototype. + * frame.h (struct frame): New frozen_window_starts flag. + (FRAME_WINDOWS_FROZEN): New macro. + * window.c (freeze_window_start, freeze_window_starts): + Remove. + (select_window, replace_window): Adjust users. + * xdisp.c (resize_mini_window): Use FRAME_WINDOWS_FROZEN. + (window_frozen_p): New function. + (redisplay_window): Use it. + + 2013-08-12 Paul Eggert <eggert@cs.ucla.edu> + + Fix some fd issues when running subprocesses (Bug#15035). + Fix bugs that can leak files or file descriptors on errors. + Don't unlink open temp files, as that's hard for users to diagnose + when things go awry (e.g., temp disk exhausted). + Don't bother to lock temp files. Check for invalid recursion. + * callproc.c (synch_process_fd): Remove. All uses removed. + (synch_process_tempfile): New var or macro. + (CALLPROC_STDOUT, CALLPROC_STDERR, CALLPROC_PIPEREAD, CALLPROC_FDS): + New constants. + (record_kill_process): New arg, the temp name. All callers changed. + (delete_temp_file): Now just a simple wrapper around unlink. + (call_process_kill): New arg, the call_process_fd array. + Close them all. Clear synch_process_pid. Remove the temp file, + or arrange for it to be removed. + (call_process_cleanup) [MSDOS]: Arg no longer contains file name; + that's been moved to synch_process_tempfile. Caller changed. + Do not remove the tempfile; that's now call_process_kill's + responsibility. + (call_process_cleanup) [!MSDOS]: Do not record unwind-protect for + call_process_kill; the caller now does that. + (call_process_cleanup): Do not close the process fd; that's now + call_process_kill's responsibility. + (Fcall_process): Implement via new function call_process, which + has most of the old body of Fcall_process, but with a different API. + (call_process): New function that does not open or close filefd if + it is nonnegative. Record which fds need to be closed, and let + call_process_kill close (and remove the tempfile, on MSDOS) on error. + Signal an error if invoked recursively (could be done via a hook). + Simplify creation of the tempfile in the MSDOS case. + Don't create the output file until after checking for the executable. + Report any failure to open /dev/null. + Don't open /dev/null for writing twice; once is enough. + Don't create pipe if all output is being discarded or sent to file. + Don't worry about setting up the coding system or reading from the + pipe if all output is being discarded. + Hoist fd_error local into top level, to lessen block nesting. + Don't record deleted pid here; now done by Fcall_process_region. + (Fcall_process) [MSDOS]: Report mktemp failure immediately, + and note its success in synch_process_tempfile. + Do not leak resources when child_setup fails. + (Fcall_process) [!MSDOS && !WINDOWSNT]: Remove duplicate assignment + to child_errno. Remove unnecessary close of fd0; it's close-on-exec. + (create_temp_file): Now returns open fd, with an additional + Lisp_Object * argument to return the name. All callers changed. + Do not close the file; rewind it instead, and leave it open for + the caller. Do not lock the temp file. Unwind-protect the file + and the file-descriptor. + (Fcall_process_region): If the input is /dev/null, unwind-protect it. + If an asynchrounous process, record it here, not in call_process. + (syms_of_callproc) [MSDOS]: Initialize synch_process_tempfile. + * eval.c (set_unwind_protect): New function. + * fileio.c (write_region): New function, generalized from the + old Fwrite_region. Do not lock temp files. + (Fwrite_region): Use it. + * lisp.h (set_unwind_protect, write_region): New decls. + * process.c: Include <verify.h>. + (make_process): Mark fds as initially closed. + (deleted_pid_list): Now a list of pid-filename pairs. + All uses changed. + (close_process_fd): New function. + (SUBPROCESS_STDIN, WRITE_TO_SUBPROCESS, READ_FROM_SUBPROCESS) + (SUBPROCESS_STDOUT, READ_FROM_EXEC_MONITOR, EXEC_MONITOR_OUTPUT): + New constants. Verify that their number matches PROCESS_OPEN_FDS. + (create_process, create_pty, Fmake_serial_process) + (server_accept_connection): Record which fds need to be closed, + and let deactivate_process close them. + (Fmake_network_process): Do not discard the unwind-protect + until it's safe to do so. + (deactivate_process): Close the fds opened by create_process etc. + (Fprocess_send_eof): Adjust to new way of recording open fds. + Report an error if /dev/null can't be opened, instead of aborting. + * process.h (PROCESS_OPEN_FDS): New constant. + (struct Lisp_Process): New member open_fds. + (record_kill_process, record_deleted_pid): Adjust signatures. + (record_deleted_pid): Move decl here ... + * syswait.h (record_deleted_pid): ... from here. + + 2013-08-11 Paul Eggert <eggert@cs.ucla.edu> + + * decompress.c: Fix bugs with large buffers and weird inputs. + Tune a bit. Reindent as per usual Emacs style. + (BUFFER_SIZE): Remove. + (Fdecompress_gzipped_region): Do not mishandle input buffers with + more than UINT_MAX bytes. Decompress into the gap instead of into + an auto buffer, as this should avoid copying. Return nil if + 'inflate' returns Z_NEED_DICT, as we have no dictionary. Do not + set immediate_quit; we shouldn't trust zlib code that much. + + 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * decompress.c (Fdecompress_gzipped_region): Respect all zlib + errors, and really move the gap to where we want it. + + * lisp.h: Include decompress.c support. + + * emacs.c (main): Include decompress.c support. + + * Makefile.in: Include -lz if present. + + 2013-08-11 Jan Djärv <jan.h.d@swipnet.se> + + * nsmenu.m (ns_update_menubar): Call fillWithWidgetValue:frame: + (initWithTitle:): Initialize frame to 0. + (fillWithWidgetValue:): Call fillWithWidgetValue:frame. + (fillWithWidgetValue:frame:): Rename from + fillWithWidgetValue:setDelegate, call initWithTile:frame: if f. + + * nsterm.h (EmacsMenu): fillWithWidgetValue:setDelegate renamed to + fillWithWidgetValue:frame: + + * nsfns.m (Fns_convert_utf8_nfd_to_nfc): Allocate and release pool to + remove memory leak warnings. + + * nsterm.m (menu_pending_title, ns_get_pending_menu_title): Remove. + (ns_check_menu_open): Handle menu == nil. Remove assignment to + menu_pending_title. + + * nsmenu.m (ns_update_menubar): Call fillWithWidgetValue:setDelegate. + (x_activate_menubar): Update the whole menu. + (trackingNotification:): Call ns_check_menu_open if tracking ends. + (menuWillOpen:): Increment trackingMenu. For OSX <= 10.6, exit if + current event is not NSSystemDefined (Bug#15001). + Call ns_check_menu_open only if trackingMenu is 2. + (menuDidClose:): New method, decrease trackingMenu. + (fillWithWidgetValue:setDelegate:): New method. + (fillWithWidgetValue:): Call the above. + + * nsterm.h (EmacsMenu): Add fillWithWidgetValue:setDelegate: + + 2013-08-11 Paul Eggert <eggert@cs.ucla.edu> + + Omit some unnecessary casts. + Many of these go back to the old pre-C89 days, when they may have + been needed, but we've been assuming C89 or later for a while now. + * alloc.c (live_string_p, live_cons_p, live_symbol_p) + (live_float_p, live_misc_p, live_vector_p): + * buffer.c (compare_overlays, cmp_for_strings, mmap_find) + (mmap_alloc, alloc_buffer_text, enlarge_buffer_text) + (defvar_per_buffer): + * callint.c (Fcall_interactively): + * doc.c (Fsubstitute_command_keys): + * filelock.c (get_boot_time): + * frame.c (xrdb_get_resource): + * gtkutil.c (hierarchy_ch_cb, qttip_cb, style_changed_cb) + (delete_cb, xg_dialog_response_cb, xg_maybe_add_timer) + (xg_get_file_name_from_selector, menuitem_destroy_callback) + (menuitem_highlight_callback, menu_destroy_callback) + (xg_update_menu_item, xg_modify_menubar_widgets, menubar_map_cb) + (xg_tool_bar_callback, xg_get_tool_bar_widgets) + (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback) + (xg_tool_bar_help_callback, tb_size_cb): + * image.c (xpm_alloc_color, png_read_from_memory) + (png_read_from_file, png_load_body, our_memory_skip_input_data) + (jpeg_memory_src, jpeg_file_src, imagemagick_load_image) + (syms_of_image): + * keymap.c (describe_map): + * nsfns.m (Fns_display_monitor_attributes_list): + * nsmenu.m (process_dialog:): + * nsterm.m (hold_event): + * process.c (wait_reading_process_output): + * regex.c (REGEX_REALLOCATE, re_set_registers, re_exec, regexec): + * scroll.c (do_direct_scrolling, scrolling_1): + * termcap.c (tgetent): + * window.c (check_window_containing, add_window_to_list) + (freeze_window_starts): + * xdisp.c (compare_overlay_entries, vmessage): + * xfns.c (x_window, x_get_monitor_attributes_xinerama) + (x_get_monitor_attributes_xrandr) + (Fx_display_monitor_attributes_list, x_display_info_for_name) + (Fx_open_connection, file_dialog_cb, file_dialog_unmap_cb): + * xfont.c (xfont_match, xfont_open): + * xmenu.c (x_menu_wait_for_event, menu_highlight_callback) + (menubar_selection_callback, menu_position_func) + (popup_selection_callback, create_and_show_popup_menu) + (dialog_selection_callback, create_and_show_dialog): + * xrdb.c (x_get_string_resource) + (main) [TESTRM]: + * xsmfns.c (x_session_check_input): + * xterm.c (x_draw_glyphless_glyph_string_foreground) + (xm_scroll_callback, xg_scroll_callback, xg_end_scroll_callback) + (xaw_jump_callback, xaw_scroll_callback): + Omit unnecessary casts. + + 2013-08-10 Paul Eggert <eggert@cs.ucla.edu> + + Minor string-length refactoring. + * alloc.c (xstrdup): Use memcpy, not strcpy, since the length's known. + * frame.c (make_monitor_attribute_list): + Prefer build_string to strlen + make_string. + + 2013-08-10 Jan Djärv <jan.h.d@swipnet.se> + + * xterm.c (x_error_handler): Also ignore BadWindow for X_SetInputFocus, + don't check minor_code (Bug#14417). + + 2013-08-09 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (draw_glyphs): Don't compare row pointers, compare row + vertical positions instead. This avoids calling MATRIX_ROW with + row numbers that are possibly beyond valid limits. (Bug#15064) + + 2013-08-09 Dmitry Antipov <dmantipov@yandex.ru> + + Use xstrdup and build_unibyte_string where applicable. + * alloc.c (xstrdup): Tiny cleanup. Add eassert. + * xfns.c (x_window): + * xrdb.c (x_get_customization_string): + * xterm.c (xim_initialize): + * w32fns.c (w32_window): Use xstrdup. + (w32_display_monitor_attributes_list): + * emacs.c (init_cmdargs): + * keyboard.c (PUSH_C_STR): + * nsfont.m (nsfont_open): + * sysdep.c (system_process_attributes): + * w32.c (system_process_attributes): + * xdisp.c (message1, message1_nolog): Use build_unibyte_string. + + 2013-08-09 Eli Zaretskii <eliz@gnu.org> + + * w32.c (PEXCEPTION_POINTERS, PEXCEPTION_RECORD, PCONTEXT): Define + variables of these types so that GDB would know about them, as aid + for debugging fatal exceptions. (Bug#15024) See also + http://sourceware.org/ml/gdb/2013-08/msg00010.html for related + discussions. + + 2013-08-08 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (ns_update_begin): Don't change clip path if it would be + larger than the NSWindow (Bug#14934). + + 2013-08-08 Dmitry Antipov <dmantipov@yandex.ru> + + Redesign redisplay interface to drop global variable updated_window. + Always pass currently updated window as a parameter to update routines. + * dispextern.h (updated_window): Remove declaration. + (struct redisplay_interface): Pass window parameter to + write_glyphs, insert_glyphs, clear_end_of_line, cursor_to + and after_update_window_hook. + (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line, x_cursor_to): + Adjust prototypes. + * dispnew.c (updated_window): Remove. + (redraw_overlapped_rows, update_marginal_area, update_text_area) + (update_window_line): Adjust to match redisplay interface changes. + * nsterm.m (ns_update_window_begin, ns_update_window_end) + (ns_scroll_run, ns_after_update_window_line): + * w32term.c (x_update_window_begin, x_update_window_end) + (x_after_update_window_line, x_scroll_run): + * xterm.c (x_update_window_begin, x_update_window_end) + (x_after_update_window_line, x_scroll_run): + * xdisp.c (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): + Likewise. Adjust comments where appropriate. + (x_cursor_to): Simplify because this is always called during window + update (but install debugging check anyway). + (expose_window): Check must_be_updated_p flag to see whether this + function is called during window update. + + 2013-08-08 Dmitry Antipov <dmantipov@yandex.ru> + + Do not reset window modification event counters excessively. + These leftovers and poor man's tricky methods to catch extra + redisplay's attention are no longer needed. + * frame.c (set_menu_bar_lines_1): + * minibuf.c (read_minibuf_unwind): + * window.c (Fset_window_start, set_window_buffer, window_resize_apply) + (grow_mini_window, shrink_mini_window, window_scroll_pixel_based) + (window_scroll_line_based, Fset_window_configuration): + * xdisp.c (redisplay_window): Do not reset last_modified and + last_overlay_modified counters. + + 2013-08-07 Jan Djärv <jan.h.d@swipnet.se> + + * xselect.c (x_send_client_event): Set send_event and serial, memset + data.l as it might be bigger than data.b. Use 24 bit mask to + XSendEvent (Bug#15034). + + 2013-08-07 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (prepare_menu_bars): Don't call x_consider_frame_title + for TTY frames that are not the top frame on their console. + (Bug#14616) + + 2013-08-07 Martin Rudalics <rudalics@gmx.at> + + * w32term.c (w32fullscreen_hook): Really maximize frame when + asked for (Bug#14841). + + 2013-08-07 Dmitry Antipov <dmantipov@yandex.ru> + + Prefer selected_window to Fselected_window, likewise for frames. + * buffer.c (Fbuffer_swap_text): + * data.c (Fvariable_binding_locus): + * window.c (run_window_configuration_change_hook): Adjust users. + * w16select.c (Fw16_set_clipboard_data, Fw16_get_clipboard_data): + Use decode_live_frame. + + 2013-08-07 Dmitry Antipov <dmantipov@yandex.ru> + + Be more careful if selected window shows the buffer other than current, + use window_outdated only if this is not so. This change should also + address some weird issues discussed in Bug#13012. + * window.h (window_outdated): New prototype. + * window.c (window_outdated): Now here. Convert from static and + always assume window's buffer. + (Fwindow_end, Fwindow_line_height): Use it. + * xdisp.c (reconsider_clip_changes): Remove prototype, drop 2nd arg + and always assume window's buffer. + (redisplay_window): Adjust user. + (redisplay_internal): Call to reconsider_clip_changes once and + check whether mode line should be updated only if selected window + shows current buffer. + (run_window_scroll_functions): Use eassert for debugging check. + (Fmove_point_visually, note_mouse_highlight): Use window_outdated. + + 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru> + + * window.c (window_scroll, window_scroll_pixel_based) + (window_scroll_line_based): Use bool for booleans. + + 2013-08-06 Paul Eggert <eggert@cs.ucla.edu> + + * process.c: Fix minor off-by-one issues in descriptor counts. + This shouldn't fix any real bugs, but it cleans up the code a bit. + (max_process_desc, max_input_desc): -1, not 0, means none. + All uses changed. + (delete_input_desc): New function. + (delete_write_fd, delete_keyboard_wait_descriptor): Use it. + (deactivate_process): Scan backwards when recomuting max_process_desc; + that should be faster. + (init_process_emacs): Initialize max_input_desc. + + 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru> + + Use region cache to speedup bidi_find_paragraph_start. + * buffer.h (struct buffer): New member bidi_paragraph_cache. + Rename cache_long_line_scans to cache_long_scans. + * buffer.c (bset_cache_long_line_scans): Rename to + bset_cache_long_scans. + (Fget_buffer_create, Fmake_indirect_buffer, Fkill_buffer) + (Fbuffer_swap_text, init_buffer_once): Take bidi_paragraph_cache + into account. + (syms_of_buffer): Rename cache-long-line-scans to + cache-long-scans. Adjust docstring. + * search.c (newline_cache_on_off): + * indent.c (width_run_cache_on_off): Adjust users. + * bidi.c (bidi_paragraph_cache_on_off): New function. + (bidi_find_paragraph_start): Use bidi_paragraph_cache if needed. + * insdel.c (prepare_to_modify_buffer): + Invalidate bidi_paragraph_cache if enabled. + + 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru> + + Invalidate region caches only if buffer text is going to be changed. + * lisp.h (modify_region_1): Remove 3rd arg and rename to... + (modify_text): ...new prototype. + (prepare_to_modify_buffer_1): New prototype. + * textprop.c (modify_region): Rename to... + (modify_text_properties): ...new function. + (add_text_properties_1, set_text_properties, Fremove_text_properties) + (Fremove_list_of_text_properties): Adjust users. + * insdel.c (modify_region_1): Remove 3rd arg and reimplement as... + (modify_text): ...new function. + (prepare_to_modify_buffer): Reimplement mostly as a wrapper for... + (prepare_to_modify_buffer_1): ...new function. + * casefiddle.c (casify_region): + * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal) + (Ftranspose_regions): Use modify_text. + + 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * lisp.mk (lisp): Add nadvice.elc. + + 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru> + + New macro to iterate over live buffers similar to frames. + * buffer.h (FOR_EACH_LIVE_BUFFER): New macro. + (Vbuffer_alist, Qpriority, Qbefore_string, Qafter_string): + Declare buffer-related variables here to offload lisp.h. + * buffer.c (Vbuffer_alist): Adjust comment. + (Fget_file_buffer, get_truename_buffer, Fother_buffer) + (other_buffer_safely): + * data.c (store_symval_forwarding): + * dispnew.c (Fframe_or_buffer_changed_p): + * fileio.c (Fdo_auto_save): + * filelock.c (unlock_all_files): + * minibuf.c (read_minibuf): Use FOR_EACH_LIVE_BUFFER. + + 2013-08-04 Paul Eggert <eggert@cs.ucla.edu> + + Fix some minor races in hosts lacking mkostemp (Bug#15015). + * callproc.c (create_temp_file): + * filelock.c (create_lock_file): + Assume mkostemp, since it's now provided by Gnulib. + + 2013-08-04 Eli Zaretskii <eliz@gnu.org> + + * w32.c (mkostemp): New function. + (mktemp): Remove, no longer used. Most of the code reused in + mkostemp. (Bug#15015) + (mktemp): Don't undef. + + 2013-08-04 Dmitry Antipov <dmantipov@yandex.ru> + + * dispnew.c (glyph_matrix_count, glyph_pool_count): + Move under GLYPH_DEBUG and ENABLE_CHECKING. + (new_glyph_matrix, free_glyph_matrix, new_glyph_pool) + (free_glyph_pool, check_glyph_memory): Likewise for + all users. Adjust comments where appropriate. + + 2013-08-03 Paul Eggert <eggert@cs.ucla.edu> + + * composite.h: Minor fixups. + (composition_registered_p): Rename from COMPOSITION_REGISTERD_P + to fix a misspelling, and change it to an inline function while + we're at it (it need not be a macro). All uses changed. + (composition_method, composition_valid_p): + Rewrite to avoid assignments in if-conditions. + + 2013-08-03 Dmitry Antipov <dmantipov@yandex.ru> + + Do not use global Lisp_Object in composition macros. + * composite.h (composition_temp): Remove declaration. + (COMPOSITION_METHOD, COMPOSITION_VALID_P): Replace with... + (composition_method, composition_valid_p): ...inline functions. + (compose_region): Remove the leftover. + * composite.c (composition_temp): Remove. + (run_composition_function, update_compositions) + (composition_compute_stop_pos, composition_adjust_point) + (Ffind_composition_internal): + * coding.c (handle_composition_annotation): + * xdisp.c (handle_composition_prop, check_point_in_composition): + Related users changed. + + 2013-08-03 Dmitry Antipov <dmantipov@yandex.ru> + + Drop FRAME_PTR typedef. + * composite.c, font.c, font.h, fontset.c, fontset.h, frame.c, frame.h: + * ftfont.c, ftxfont.c, gtkutil.c, gtkutil.h, image.c, keyboard.c: + * menu.c, menu.h, msdos.c, nsfns.m, nsfont.m, nsmenu.m, nsterm.h: + * nsterm.m, scroll.c, term.c, w32fns.c, w32font.c, w32font.h: + * w32inevt.c, w32inevt.h, w32menu.c, w32notify.c, w32term.c, w32term.h: + * w32uniscribe.c, w32xfns.c, widget.c, window.c, xdisp.c, xfaces.c: + * xfns.c, xfont.c, xftfont.c, xmenu.c, xselect.c, xterm.c: + All related users changed. + + 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca> + + * eval.c (default_toplevel_binding): New function. + (Fdefvar): Use it. + (unbind_to, backtrace_eval_unrewind): Do a bit of CSE simplification. + (Fdefault_toplevel_value, Fset_default_toplevel_value): New subrs. + (syms_of_eval): Export them. + * data.c (Fdefault_value): Micro cleanup. + * term.c (init_tty): Use "false". + + 2013-08-02 Dmitry Antipov <dmantipov@yandex.ru> + + Fix X GC leak in GTK and raw (no toolkit) X ports. + * xterm.c (x_free_frame_resources): If white and black relief + GCs are allocated, always free them here. + * xfns.c (x_make_gc): Omit redundant initialization. + * widget.c (create_frame_gcs): Remove the leftover. + (EmacsFrameDestroy): Do nothing because all GCs are now freed + in x_free_frame_resources. + + 2013-08-02 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (windowWillResize:toSize:): Only change title if + ! maximizing_resize && FULLSCREEN_NONE (Bug#15005). strdup title before + modifying it. + (viewDidEndLiveResize): New method. + + * nsterm.h (EmacsView): Add maximizing_resize, put it and old_title + inside NS_IMPL_COCOA. + + 2013-08-02 Dmitry Antipov <dmantipov@yandex.ru> + + * insdel.c (adjust_after_replace, replace_range, del_range_2): + Do not check whether undo is enabled because record_insert and + record_delete does that themselves. + + 2013-08-02 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.h (struct x_output) [HAVE_X_I18N]: Remove xic_base_fontname + member which is not really used any more. + (FRAME_XIC_BASE_FONTNAME): Remove. + * xfns.c (xic_free_fontset): Adjust user. + * xmenu.c (mouse_position_for_popup, x_activate_menubar) + (update_frame_menubar, set_frame_menubar, free_frame_menubar) + (create_and_show_popup_menu, xmenu_show, create_and_show_dialog) + (xdialog_show): Use eassert for debugging check. + * w32term.c (x_unfocus_frame): Remove unused dummy function. + + 2013-08-01 Paul Eggert <eggert@cs.ucla.edu> + + * fileio.c, fns.c (merge): Move extern decl from here ... + * lisp.h (merge): ... to here. + + 2013-08-01 Dmitry Antipov <dmantipov@yandex.ru> + + Fix last font-related change. + * w32font.h (w32font_list_internal, w32font_match_internal): + Fix prototype. + * w32uniscribe.c (uniscribe_list, uniscribe_match) + (uniscribe_list_family): Adjust to match font API change. + MS-Windows breakage reported by Juanma Barranquero <lekktu@gmail.com> + at http://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00006.html. + + 2013-08-01 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.h (FRAME_MOUSE_UPDATE): + * nsterm.m (ns_frame_up_to_date): Omit redundant check + whether hlinfo->mouse_face_mouse_frame is non-NULL. + + 2013-08-01 Dmitry Antipov <dmantipov@yandex.ru> + + Avoid redundant Lisp_Object <-> struct frame conversions in font API. + * font.h (struct font_driver): Change list, match, and list_family + functions to accept struct frame * as first arg. + * font.c (font_score, font_compare, font_sort_entities): + Remove prototypes. + (font_sort_entities, font_list_entities, font_select_entity) + (font_find_for_lface, Flist_fonts, Ffont_family_list): Adjust to + match font API change. + * xfont.c (xfont_list, xfont_match, xfont_list_family): + * ftfont.c (ftfont_list, ftfont_match, ftfont_list_family): + * ftxfont.c (ftxfont_list, ftxfont_match): + * xftfont.c (xftfont_list, xftfont_match): + * nsfont.m (nsfont_list, nsfont_match, nsfont_list_family): + * w32font.c (w32font_list, w32font_match, w32font_list) + (w32font_list_internal, w32_font_match_internal): Likewise. + * xfaces.c (Fx_family_fonts): Adjust user. + + 2013-08-01 Dmitry Antipov <dmantipov@yandex.ru> + + Do not use pure Xism x_wm_set_icon_position in non-X ports. + * frame.c (x_set_frame_parameters): Call to x_wm_set_icon_position + only if HAVE_X_WINDOWS is in use. + * frame.h (x_set_frame_parameters): Move under HAVE_X_WINDOWS. + * nsterm.m (x_wm_set_icon_position): Remove no-op. + * w32term.c (x_wm_set_icon_position): Likewise. + * w32fns.c (x_icon): Adjust user. + + 2013-08-01 Dmitry Antipov <dmantipov@yandex.ru> + + * xterm.c (last_mouse_press_frame): Remove the + leftover which is not really used any more. + (handle_one_xevent, syms_of_xterm): Adjust users. + (x_flush): Call XFlush once per each X display, not frame. + This is better because this code always unconditionally skips + non-X frames in Vframe_list and issues the only XFlush if we + have more than one X frame on the same X display. + (any_help_event_p, x_draw_glyph_string_background, x_display_ok): + Use bool for booleans. + (x_draw_glyph_string_background, cvt_string_to_pixel) + (cvt_pixel_dtor): Drop unnecessary prototypes. + * xterm.h (x_display_ok): Adjust prototype. + + 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru> + + Drop unnecessary functions that deals with frame pixel size. + * frame.h, msdos.h, w32term.h, xterm.h (x_pixel_width) + (x_pixel_height): Drop prototypes. + * msdos.c, nsfns.m, w32fns.c, xfns.c (x_pixel_width) + (x_pixel_height): Drop implementations. + * frame.c (Fframe_pixel_height): Use FRAME_PIXEL_HEIGHT + which should be always valid for window frame. + (Frame_pixel_width): Likewise with FRAME_PIXEL_WIDTH. + * w32menu.c (Fx_popup_dialog): + * xmenu.c (Fx_popup_dialog): Likewise for both. + + 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.c (Fmake_terminal_frame): Use store_in_alist to setup + frame parameters and call to Fmodify_frame_parameters just once. + (Fset_frame_height, Fset_frame_width): Mention nil frame in docstring. + (Fset_frame_size, Fset_frame_position): Use decode_live_frame + and mention nil frame in docstring. + + 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.c (make_frame, x_set_frame_parameters): Use bool for boolean. + (x_figure_window_size): Likewise. Adjust to return long. + (syms_of_frame): Do not DEFSYM Qterminal_live_p. + (toplevel): Move Qterminal_live_p to... + * terminal.c (toplevel): ...here, make it static, and... + (syms_of_terminal): ...DEFSYM here. + * frame.h (Qterminal_live_p): Remove declaration. + (make_frame, x_figure_window_size): Adjust prototype. + * nsfns.m (Fx_create_frame): Use long for window flags. + + 2013-07-30 Paul Eggert <eggert@cs.ucla.edu> + + Fix tempfile bug on platforms lacking mkostemp and mkstemp (Bug#14986). + * callproc.c (create_temp_file) [! (HAVE_MKOSTEMP || HAVE_MKSTEMP)]: + Do not assume that emacs_close (INT_MAX) is a no-op. + + 2013-07-30 Dmitry Antipov <dmantipov@yandex.ru> + + * xfaces.c (make_face_cache): For struct face_cache, prefer + xmalloc to xzalloc and so avoid redundant call to memset. + (Finternal_set_lisp_face_attribute): Fix comment typo and style. + + 2013-07-30 Dmitry Antipov <dmantipov@yandex.ru> + + * fringe.c (draw_window_fringes, update_window_fringes) + (compute_fringe_widths): + * w32term.c (x_draw_glyph_string): + * window.c (candidate_window_p, Frecenter): + * xfaces.c (realize_basic_faces, realize_default_face) + (Fbitmap_space_p, Finternal_set_lisp_face_attribute) + (x_update_menu_appearance, face_attr_equal_p, lface_equal_p): + * xfns.c (x_set_cursor_color, xic_free_xfontset): + * xmenu.c (Fx_menu_bar_open_internal): + * xselect.c (x_reply_selection_request, Fx_get_atom_name): + * xsettings.c (xft_settings_event): + * xterm.c (x_draw_glyph_string, x_had_errors_p): + Use bool for booleans. Adjust style and comments where + appropriate. + * dispextern.h (draw_window_fringes, update_window_fringes) + (compute_fringe_widths): + * xterm.h (x_had_errors_p): Adjust prototype. + + 2013-07-30 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.c (Fmodify_frame_parameters): Always check 2nd arg with + CHECK_LIST. Rewrite the loop to avoid useless local variable. + + 2013-07-29 Dmitry Antipov <dmantipov@yandex.ru> + + * fns.c (toplevel): Remove comment before Fsafe_length because + it checks for QUIT. + + 2013-07-28 Paul Eggert <eggert@cs.ucla.edu> + + * frame.c (delete_frame): Avoid unnecessary 'this_f' test (Bug#14970). + + 2013-07-28 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (w32_wnd_proc) <WM_IME_STARTCOMPOSITION>: Make sure the + frame which got the message is still alive, before dereferencing + its pointer. (Bug#14970) + + * frame.c (delete_frame): Test "this" frame's minibuffer window to + be a live window, before using it as such. (Bug#14970) + + 2013-07-27 Eli Zaretskii <eliz@gnu.org> + + * w32term.c (w32_read_socket) <WM_KILLFOCUS>: Call + w32_detect_focus_change instead of doing part of its job by hand. + This fixes the problem whereby FOCUS_OUT events were not sent to + the event queue. + + 2013-07-26 Eli Zaretskii <eliz@gnu.org> + + * process.c (Fprocess_list): Doc fix. + + * w32term.c (w32_read_socket) <WM_EMACS_PAINT>: Warn about frame + being re-exposed only if it didn't ask to become visible. + <WM_SIZE>: Under SIZE_RESTORED, only set the frame visible if it + was previously iconified. (Bug#14841) + (x_iconify_frame): Mark the frame iconified. + + 2013-07-26 Paul Eggert <eggert@cs.ucla.edu> + + Fix minor problems found by static checking. + * eval.c (get_backtrace_frame, backtrace_eval_unrewind): Now static. + (backtrace_eval_unrewind): ';' -> '{}' to pacify GCC. + + 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca> + + * eval.c (set_specpdl_old_value): New function. + (unbind_to): Minor simplification. + (get_backtrace_frame): New function. + (Fbacktrace_frame): Use it. Add `base' argument. + (backtrace_eval_unrewind, Fbacktrace_eval): New functions. + (syms_of_eval): Export backtrace-eval. + * xterm.c (x_focus_changed): Simplify. + + 2013-07-25 Paul Eggert <eggert@cs.ucla.edu> + + * fileio.c (Finsert_file_contents): Avoid double-close (Bug#14936). + + 2013-07-24 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (redisplay_window): Instead of moving point out of + scroll margin, reject the force_start method, and try scrolling + instead. (Bug#14780) + + 2013-07-24 Ken Brown <kbrown@cornell.edu> + + * alloc.c (make_save_ptr): Define if HAVE_NTGUI is defined + (Bug#14944). + + 2013-07-24 Paul Eggert <eggert@cs.ucla.edu> + + * eval.c (Fprogn): Do not check that BODY is a proper list. + This undoes the previous change. The check slows down the + interpreter, and is not needed to prevent a crash. See + <http://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00693.html>. + + 2013-07-23 Glenn Morris <rgm@gnu.org> + + * Makefile.in ($(etc)/DOC, temacs$(EXEEXT)): Ensure etc/ exists. + + 2013-07-23 Paul Eggert <eggert@cs.ucla.edu> + + Port to GNU/Linux systems with tinfo but not ncurses. + * dispnew.c (init_display): Depend on USE_NCURSES, not GNU_LINUX, + to decide whether ncurses is being used. Without this change, + GCC complains about tgetent not being declared, on a system + that has tinfo installed but ncurses not installed. + + * eval.c (Fprogn): Check that BODY is a proper list. + + Tune UNEVALLED functions by using XCAR instead of Fcar, etc. + * data.c (Fsetq_default): + * eval.c (Fif, Fcond, Fprog1, Fsetq, Fquote, Ffunction, Fdefvar) + (Fdefconst, FletX, Flet, Fwhile, Fcatch, Funwind_protect) + (Fcondition_case): + Tune by taking advantage of the fact that ARGS is always a list + when a function is declared to have UNEVALLED args. + + * emacsgtkfixed.c: Port to GCC 4.6. + GCC 4.6 complains about -Wunused-local-typedefs, introduced in 4.7. + + 2013-07-23 Juanma Barranquero <lekktu@gmail.com> + + * callproc.c (child_setup)[!WINDOWSNT]: Move exec_errno and pid + here to silence compiler warnings. + + 2013-07-22 Paul Eggert <eggert@cs.ucla.edu> + + * sysdep.c (frame) [__FreeBSD__]: #define to freebsd_frame + when including <sys/user.h>, to prevent Sparc/ARM machine/frame.h + from messing up Emacs's 'struct frame' (Bug#14923). + + 2013-07-21 Paul Eggert <eggert@cs.ucla.edu> + + * alloc.c (make_save_ptr_ptr): Define this function. + It was inadvertently omitted. It's needed only if + HAVE_MENUS && ! (USE_X_TOOLKIT || USE_GTK). + + 2013-07-21 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (sendEvent:): Skip mouse moved if no dialog and no Emacs + frame have focus (Bug#14895). + + 2013-07-21 Paul Eggert <eggert@cs.ucla.edu> + + Avoid vfork-related deadlock more cleanly. + * callproc.c (child_setup): When the child's exec fails, output + the program name, as that's more useful. Use O_NONBLOCK to avoid + deadlock. + * process.c (create_process_1): Remove; no longer needed. + (create_process): Remove timer hack; no longer needed, now that + the child avoids deadlock. + + 2013-07-20 Glenn Morris <rgm@gnu.org> + + * image.c (Fimage_flush): Fix doc typo. + + 2013-07-20 Paul Eggert <eggert@cs.ucla.edu> + + Fix array bounds violation when pty allocation fails. + * process.c (PTY_NAME_SIZE): New constant. + (pty_name): Remove static variable; it's now auto. + (allocate_pty): Define even if !HAVE_PTYS; that's simpler. + Take pty_name as an arg rather than using a static variable. + All callers changed. + (create_process): Recover pty_flag from process, not from volatile local. + (create_pty): Stay inside array even when pty allocation fails. + (Fmake_serial_process): Omit unnecessary initializaiton of pty_flag. + + * lread.c (Fload): Avoid initialization only when lint checking. + Mention that it's needed only for older GCCs. + + 2013-07-20 Kenichi Handa <handa@gnu.org> + + * coding.c (CODING_ISO_FLAG_LEVEL_4): New macro. + (decode_coding_iso_2022): Check the single-shift area. (Bug#8522) + + 2013-07-20 Andreas Schwab <schwab@linux-m68k.org> + + * lread.c (Fload): Avoid uninitialized warning. + + 2013-07-19 Paul Eggert <eggert@cs.ucla.edu> + + Fix some minor file descriptor leaks and related glitches. + * filelock.c (create_lock_file) [!O_CLOEXEC]: Use fcntl with FD_CLOEXEC. + (create_lock_file): Use write, not emacs_write. + * image.c (slurp_file, png_load_body): + * process.c (Fnetwork_interface_list, Fnetwork_interface_info) + (server_accept_connection): + Don't leak an fd on memory allocation failure. + * image.c (slurp_file): Add a cheap heuristic for growing files. + * xfaces.c (Fx_load_color_file): Block input around the fopen too, + as that's what the other routines do. Maybe input need not be + blocked at all, but it's better to be consistent. + Avoid undefined behavior when strlen is zero. + + * alloc.c (staticpro): Avoid buffer overrun on repeated calls. + (NSTATICS): Now a constant; doesn't need to be a macro. + + 2013-07-19 Richard Stallman <rms@gnu.org> + + * coding.c (decode_coding_utf_8): Add simple loop for fast + processing of ASCII characters. + + 2013-07-19 Paul Eggert <eggert@cs.ucla.edu> + + * conf_post.h (RE_TRANSLATE_P) [emacs]: Remove obsolete optimization. + + 2013-07-19 Eli Zaretskii <eliz@gnu.org> + + * keyboard.c (kbd_buffer_get_event): Use Display_Info instead of + unportable 'struct x_display_info'. + (DISPLAY_LIST_INFO): Delete macro: not needed, since Display_Info + is a portable type. + + 2013-07-19 Paul Eggert <eggert@cs.ucla.edu> + + * sysdep.c [GNU_LINUX]: Fix fd and memory leaks and similar issues. + (procfs_ttyname): Don't use uninitialized storage if emacs_fopen + or fscanf fails. + (system_process_attributes): Prefer plain char to unsigned char + when either will do. Clean up properly if interrupted or if + memory allocations fail. Don't assume sscanf succeeds. + Remove no-longer-needed workaround to stop GCC from whining. + Read command-line once, instead of multiple times. Check read status a + bit more carefully. + + Fix obscure porting bug with varargs functions. + The code assumed that int is treated like ptrdiff_t in a vararg + function, which is not a portable assumption. There was a similar + -- though these days less likely -- porting problem with various + assumptions that pointers of different types all smell the same as + far as vararg functions is conserved. To make this problem less + likely in the future, redo the API to use varargs functions. + * alloc.c (make_save_value): Remove this vararg function. + All uses changed to ... + (make_save_int_int_int, make_save_obj_obj_obj_obj) + (make_save_ptr_int, make_save_funcptr_ptr_obj, make_save_memory): + New functions. + (make_save_ptr): Rename from make_save_pointer, for consistency with + the above. Define only on platforms that need it. All uses changed. + + 2013-07-18 Paul Eggert <eggert@cs.ucla.edu> + + * keyboard.c: Try to fix typos in previous change. + (DISPLAY_LIST_INFO): New macro. + (kbd_buffer_get_event): Do not access members that are not present + in X11. Revert inadvertent change of "!=" to "=". + + 2013-07-18 Juanma Barranquero <lekktu@gmail.com> + + * keyboard.c (kbd_buffer_get_event): + * w32term.c (x_focus_changed): Port FOCUS_(IN|OUT)_EVENT changes to W32. + Followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se. + + 2013-07-18 Paul Eggert <eggert@cs.ucla.edu> + + * filelock.c: Fix unlikely file descriptor leaks. + (get_boot_time_1): Rework to avoid using emacs_open. + This doesn't actually fix a leak, but is better anyway. + (read_lock_data): Use read, not emacs_read. + + * doc.c: Fix minor memory and file descriptor leaks. + * doc.c (get_doc_string): Fix memory leak when doc file absent. + (get_doc_string, Fsnarf_documentation): + Fix file descriptor leak on error. + + * term.c: Fix minor fdopen-related file descriptor leaks. + * term.c (Fresume_tty) [!MSDOS]: Close fd if fdopen (fd) fails. + (init_tty) [!DOS_NT]: Likewise. Also close fd if isatty (fd) fails. + + * charset.c: Fix file descriptor leaks and errno issues. + Include <errno.h>. + (load_charset_map_from_file): Don't leak file descriptor on error. + Use plain record_xmalloc since the allocation is larger than + MAX_ALLOCA; that's simpler here. Simplify test for exhaustion + of entries. + * eval.c (record_unwind_protect_nothing): + * fileio.c (fclose_unwind): + New functions. + * lread.c (load_unwind): Remove. All uses replaced by fclose_unwind. + The replacement doesn't block input, but that no longer seems + necessary. + + 2013-07-17 Paul Eggert <eggert@cs.ucla.edu> + + * lread.c: Fix file descriptor leaks and errno issues. + (Fload): Close some races that leaked fds or streams when 'load' + was interrupted. + (Fload, openp): Report error number of last nontrivial failure to open. + ENOENT counts as trivial. + * eval.c (do_nothing, clear_unwind_protect, set_unwind_protect_ptr): + New functions. + * fileio.c (close_file_unwind): No need to test whether FD is nonnegative, + now that the function is always called with a nonnegative arg. + * lisp.h (set_unwind_protect_ptr, set_unwind_protect_int): Remove. + All uses replaced with ... + (clear_unwind_protect, set_unwind_protect_ptr): New decls. + + A few more minor file errno-reporting bugs. + * callproc.c (Fcall_process): + * doc.c (Fsnarf_documentation): + * fileio.c (Frename_file, Fadd_name_to_file, Fmake_symbolic_link): + * process.c (set_socket_option): + Don't let a constructor trash errno. + * doc.c: Include <errno.h>. + + 2013-07-16 Juanma Barranquero <lekktu@gmail.com> + + * w32fns.c (unwind_create_tip_frame): Fix declaration. + + 2013-07-16 Paul Eggert <eggert@cs.ucla.edu> + + Fix w32 bug with call-process-region (Bug#14885). + * callproc.c (Fcall_process_region): Pass nil, not "/dev/null", + to Fcall_process when the input is empty. This simplifies the + code a bit. It makes no difference on POSIXish platforms but + apparently it fixes a bug on w32. + + Fix bug where insert-file-contents closes a file twice (Bug#14839). + * fileio.c (close_file_unwind): Don't close if FD is negative; + this can happen when unwinding a zapped file descriptor. + (Finsert_file_contents): Unwind-protect the fd before the point marker, + in case Emacs runs out of memory between the two unwind-protects. + Don't trash errno when closing FD. + Zap the FD in the specpdl when closing it, instead of deferring + the removal of the unwind-protect; this fixes a bug where a child + function unwinds the stack past us. + + New unwind-protect flavors to better type-check C callbacks. + This also lessens the need to write wrappers for callbacks, + and the need for make_save_pointer. + * alloc.c (free_save_value): + * atimer.c (run_all_atimers): + Now extern. + * alloc.c (safe_alloca_unwind): + * atimer.c (unwind_stop_other_atimers): + * keyboard.c (cancel_hourglass_unwind) [HAVE_WINDOW_SYSTEM]: + * menu.c (cleanup_popup_menu) [HAVE_NS]: + * minibuf.c (choose_minibuf_frame_1): + * process.c (make_serial_process_unwind): + * xdisp.c (pop_message_unwind): + * xselect.c (queue_selection_requests_unwind): + Remove no-longer-needed wrapper. All uses replaced by the wrappee. + * alloc.c (record_xmalloc): + Prefer record_unwind_protect_ptr to record_unwind_protect with + make_save_pointer. + * alloc.c (Fgarbage_collect): + Prefer record_unwind_protect_void to passing a dummy. + * buffer.c (restore_buffer): + * window.c (restore_window_configuration): + * xfns.c, w32fns.c (do_unwind_create_frame) + New wrapper. All record-unwind uses of wrappee changed. + * buffer.c (set_buffer_if_live): + * callproc.c (call_process_cleanup, delete_temp_file): + * coding.c (code_conversion_restore): + * dired.c (directory_files_internal_w32_unwind) [WINDOWSNT]: + * editfns.c (save_excursion_restore) + (subst_char_in_region_unwind, subst_char_in_region_unwind_1) + (save_restriction_restore): + * eval.c (restore_stack_limits, un_autoload): + * fns.c (require_unwind): + * keyboard.c (recursive_edit_unwind, tracking_off): + * lread.c (record_load_unwind, load_warn_old_style_backquotes): + * macros.c (pop_kbd_macro, restore_menu_items): + * nsfns.m (unwind_create_frame): + * print.c (print_unwind): + * process.c (start_process_unwind): + * search.c (unwind_set_match_data): + * window.c (select_window_norecord, select_frame_norecord): + * xdisp.c (unwind_with_echo_area_buffer, unwind_format_mode_line) + (fast_set_selected_frame): + * xfns.c, w32fns.c (unwind_create_tip_frame): + Return void, not a dummy Lisp_Object. All uses changed. + * buffer.h (set_buffer_if_live): Move decl here from lisp.h. + * callproc.c (call_process_kill): + * fileio.c (restore_point_unwind, decide_coding_unwind) + (build_annotations_unwind): + * insdel.c (Fcombine_after_change_execute_1): + * keyboard.c (read_char_help_form_unwind): + * menu.c (unuse_menu_items): + * minibuf.c (run_exit_minibuf_hook, read_minibuf_unwind): + * sound.c (sound_cleanup): + * xdisp.c (unwind_redisplay): + * xfns.c (clean_up_dialog): + * xselect.c (x_selection_request_lisp_error, x_catch_errors_unwind): + Accept no args and return void, instead of accepting and returning + a dummy Lisp_Object. All uses changed. + * cygw32.c (fchdir_unwind): + * fileio.c (close_file_unwind): + * keyboard.c (restore_kboard_configuration): + * lread.c (readevalllop_1): + * process.c (wait_reading_process_output_unwind): + Accept int and return void, rather than accepting an Emacs integer + and returning a dummy object. In some cases this fixes an + unlikely bug when the corresponding int is outside Emacs integer + range. All uses changed. + * dired.c (directory_files_internal_unwind): + * fileio.c (do_auto_save_unwind): + * gtkutil.c (pop_down_dialog): + * insdel.c (reset_var_on_error): + * lread.c (load_unwind): + * xfns.c (clean_up_file_dialog): + * xmenu.c, nsmenu.m (pop_down_menu): + * xmenu.c (cleanup_widget_value_tree): + * xselect.c (wait_for_property_change_unwind): + Accept pointer and return void, rather than accepting an Emacs + save value encapsulating the pointer and returning a dummy object. + All uses changed. + * editfns.c (Fformat): Update the saved pointer directly via + set_unwind_protect_ptr rather than indirectly via make_save_pointer. + * eval.c (specpdl_func): Remove. All uses replaced by definiens. + (unwind_body): New function. + (record_unwind_protect): First arg is now a function returning void, + not a dummy Lisp_Object. + (record_unwind_protect_ptr, record_unwind_protect_int) + (record_unwind_protect_void): New functions. + (unbind_to): Support SPECPDL_UNWIND_PTR etc. + * fileio.c (struct auto_save_unwind): New type. + (do_auto_save_unwind): Use it. + (do_auto_save_unwind_1): Remove; subsumed by new do_auto_save_unwind. + * insdel.c (struct rvoe_arg): New type. + (reset_var_on_error): Use it. + * lisp.h (SPECPDL_UNWIND_PTR, SPECPDL_UNWIND_INT, SPECPDL_UNWIND_VOID): + New constants. + (specbinding_func): Remove; there are now several such functions. + (union specbinding): New members unwind_ptr, unwind_int, unwind_void. + (set_unwind_protect_ptr): New function. + * xselect.c: Remove unnecessary forward decls, to simplify maintenance. + + Be simpler and more consistent about reporting I/O errors. + * fileio.c (Fcopy_file, Finsert_file_contents, Fwrite_region): + Say "Read error" and "Write error", rather than "I/O error", or + "IO error reading", or "IO error writing", when a read or write + error occurs. + * process.c (Fmake_network_process, wait_reading_process_output) + (send_process, Fprocess_send_eof, wait_reading_process_output): + Capitalize diagnostics consistently. Put "failed foo" at the + start of the diagnostic, so that we don't capitalize the + function name "foo". Consistently say "failed" for such + diagnostics. + * sysdep.c, w32.c (serial_open): Now accepts Lisp string, not C string. + All callers changed. This is so it can use report_file_error. + * sysdep.c (serial_open, serial_configure): Capitalize I/O + diagnostics consistently as above. + + * fileio.c (report_file_errno): Fix errno reporting bug. + If the file name is neither null nor a pair, package it up as a + singleton list. All callers changed, both to this function and to + report_file_error. This fixes a bug where the memory allocator + invoked by list1 set errno so that the immediately following + report_file_error reported the wrong errno value. + + Fix minor problems found by --enable-gcc-warnings. + * frame.c (Fhandle_focus_in, Fhandle_focus_out): Return a value. + * keyboard.c (kbd_buffer_get_event): Remove unused local. + + 2013-07-16 Jan Djärv <jan.h.d@swipnet.se> + + * xterm.c (x_focus_changed): Always generate FOCUS_IN_EVENT. + Set event->arg to Qt if switch-event shall be generated. + Generate FOCUS_OUT_EVENT for FocusOut if this is the focused frame. + + * termhooks.h (enum event_kind): Add FOCUS_OUT_EVENT. + + * nsterm.m (windowDidResignKey): If this is the focused frame, generate + FOCUS_OUT_EVENT. + + * keyboard.c (Qfocus_in, Qfocus_out): New static objects. + (make_lispy_focus_in, make_lispy_focus_out): Declare and define. + (kbd_buffer_get_event): For FOCUS_IN, make a focus_in event if no + switch frame event is made. Check ! NILP (event->arg) if X11 (moved + from xterm.c). Make focus_out event for FOCUS_OUT_EVENT if NS or X11 + and there is a focused frame. + (head_table): Add focus-in and focus-out. + (keys_of_keyboard): Add focus-in and focus-out to Vspecial_event_map, + bind to handle-focus-in/out. + + * frame.c (Fhandle_focus_in, Fhandle_focus_out): New functions. + (Fhandle_switch_frame): Call Fhandle_focus_in. + (syms_of_frame): defsubr handle-focus-in/out. + + 2013-07-16 Paul Eggert <eggert@cs.ucla.edu> + + Fix porting bug to older POSIXish platforms (Bug#14862). + * sysdep.c (emacs_pipe): New function, that implements + pipe2 (fd, O_CLOEXEC) even on hosts that lack O_CLOEXEC. + This should port better to CentOS 5 and to Mac OS X 10.6. + All calls to pipe2 changed. + + Prefer list1 (X) to Fcons (X, Qnil) when building lists. + This makes the code easier to read and the executable a bit smaller. + Do not replace all calls to Fcons that happen to create lists, + just calls that are intended to create lists. For example, when + creating an alist that maps FOO to nil, use list1 (Fcons (FOO, Qnil)) + rather than list1 (list1 (FOO)) or Fcons (Fcons (FOO, Qnil), Qnil). + Similarly for list2 through list5. + * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): + * bytecode.c (exec_byte_code): + * callint.c (quotify_arg, Fcall_interactively): + * callproc.c (Fcall_process, create_temp_file): + * charset.c (load_charset_map_from_file) + (Fdefine_charset_internal, init_charset): + * coding.c (get_translation_table, detect_coding_system) + (Fcheck_coding_systems_region) + (Fset_terminal_coding_system_internal) + (Fdefine_coding_system_internal, Fdefine_coding_system_alias): + * composite.c (update_compositions, Ffind_composition_internal): + * dired.c (directory_files_internal, file_name_completion) + (Fsystem_users): + * dispnew.c (Fopen_termscript, bitch_at_user, init_display): + * doc.c (Fsnarf_documentation): + * editfns.c (Fmessage_box): + * emacs.c (main): + * eval.c (do_debug_on_call, signal_error, maybe_call_debugger) + (Feval, eval_sub, Ffuncall, apply_lambda): + * fileio.c (make_temp_name, Fcopy_file, Faccess_file) + (Fset_file_selinux_context, Fset_file_acl, Fset_file_modes) + (Fset_file_times, Finsert_file_contents) + (Fchoose_write_coding_system, Fwrite_region): + * fns.c (Flax_plist_put, Fyes_or_no_p, syms_of_fns): + * font.c (font_registry_charsets, font_parse_fcname) + (font_prepare_cache, font_update_drivers, Flist_fonts): + * fontset.c (Fset_fontset_font, Ffontset_info, syms_of_fontset): + * frame.c (make_frame, Fmake_terminal_frame) + (x_set_frame_parameters, x_report_frame_params) + (x_default_parameter, Fx_parse_geometry): + * ftfont.c (syms_of_ftfont): + * image.c (gif_load): + * keyboard.c (command_loop_1): + * keymap.c (Fmake_keymap, Fmake_sparse_keymap, access_keymap_1) + (Fcopy_keymap, append_key, Fcurrent_active_maps) + (Fminor_mode_key_binding, accessible_keymaps_1) + (Faccessible_keymaps, Fwhere_is_internal): + * lread.c (read_emacs_mule_char): + * menu.c (find_and_return_menu_selection): + * minibuf.c (get_minibuffer): + * nsfns.m (Fns_perform_service): + * nsfont.m (ns_script_to_charset): + * nsmenu.m (ns_popup_dialog): + * nsselect.m (ns_get_local_selection, ns_string_from_pasteboard) + (Fx_own_selection_internal): + * nsterm.m (append2): + * print.c (Fredirect_debugging_output) + (print_prune_string_charset): + * process.c (Fdelete_process, Fprocess_contact) + (Fformat_network_address, set_socket_option) + (read_and_dispose_of_process_output, write_queue_push) + (send_process, exec_sentinel): + * sound.c (Fplay_sound_internal): + * textprop.c (validate_plist, add_properties) + (Fput_text_property, Fadd_face_text_property) + (copy_text_properties, text_property_list, syms_of_textprop): + * unexaix.c (report_error): + * unexcoff.c (report_error): + * unexsol.c (unexec): + * xdisp.c (redisplay_tool_bar, store_mode_line_string) + (Fformat_mode_line, syms_of_xdisp): + * xfaces.c (set_font_frame_param) + (Finternal_lisp_face_attribute_values) + (Finternal_merge_in_global_face, syms_of_xfaces): + * xfns.c (x_default_scroll_bar_color_parameter) + (x_default_font_parameter, x_create_tip_frame): + * xfont.c (xfont_supported_scripts): + * xmenu.c (Fx_popup_dialog, xmenu_show, xdialog_show) + (menu_help_callback, xmenu_show): + * xml.c (make_dom): + * xterm.c (set_wm_state): + Prefer list1 (FOO) to Fcons (FOO, Qnil) when creating a list, + and similarly for list2 through list5. + + 2013-07-15 Paul Eggert <eggert@cs.ucla.edu> + + * callproc.c (Fcall_process_region): Fix minor race and tune. + (create_temp_file): New function, with the temp-file-creation part + of the old Fcall_process_region. Use Fcopy_sequence to create the + temp file name, rather than alloca + build_string, for simplicity. + Don't bother to block input around the temp file creation; + shouldn't be needed. Simplify use of mktemp. + Use record_unwind_protect immediately after creating the temp file; + this closes an unlikely race where the temp file was not removed. + Use memcpy rather than an open-coded loop. + (Fcall_process_region): Use the new function. If the input is + empty, redirect from /dev/null rather than from a newly created + empty temp file; this avoids unnecessary file system traffic. + + 2013-07-14 Paul Eggert <eggert@cs.ucla.edu> + + * filelock.c (create_lock_file) [!HAVE_MKOSTEMP && !HAVE_MKSTEMP]: + Simplify by making this case like the other two. This is a bit + slower on obsolete hosts, but the extra complexity isn't worth it. + + * callproc.c (child_setup, relocate_fd) [!DOS_NT]: + * process.c (create_process) [!DOS_NT]: + Remove now-unnecessary calls to emacs_close. + + 2013-07-13 Eli Zaretskii <eliz@gnu.org> + + * w32term.c (x_draw_hollow_cursor): Delete the brush object when + returning early. (Bug#14850) + + * coding.c (syms_of_coding): Set up inhibit-null-byte-detection + and inhibit-iso-escape-detection attributes of 'undecided'. + (Bug#14822) + + 2013-07-13 Paul Eggert <eggert@cs.ucla.edu> + + * deps.mk (sysdep.o): Remove dependency on ../lib/ignore-value.h. + Reported by Herbert J. Skuhra in + <http://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00455.html>. + + Don't lose top specpdl entry when memory is exhausted. + * eval.c (grow_specpdl): Increment specpdl top by 1 and check for + specpdl overflow here, to simplify callers; all callers changed. + Always reserve an unused entry at the stack top; this avoids + losing the top entry's information when memory is exhausted. + + 2013-07-12 Paul Eggert <eggert@cs.ucla.edu> + + Clean up errno reporting and fix some errno-reporting bugs. + * callproc.c (Fcall_process): + * fileio.c (Fcopy_file, Finsert_file_contents, Fwrite_region): + * process.c (create_process, Fmake_network_process): + * unexaix.c (report_error): + * unexcoff.c (report_error): + Be more careful about reporting the errno of failed operations. + The code previously reported the wrong errno sometimes. + Also, prefer report_file_errno to setting errno + report_file_error. + (Fcall_process): Look at openp return value rather than at path, + as that's a bit faster and clearer when there's a numeric predicate. + * fileio.c (report_file_errno): New function, with most of the + old contents of report_file_error. + (report_file_error): Use it. + (Ffile_exists_p, Ffile_accessible_directory_p): + Set errno to 0 when it is junk. + * fileio.c (Faccess_file): + * image.c (x_create_bitmap_from_file): + Use faccessat rather than opening the file, to avoid the hassle of + having a file descriptor open. + * lisp.h (report_file_errno): New decl. + * lread.c (Flocate_file_internal): File descriptor 0 is valid, too. + + Minor EBADF fixes. + * process.c (create_process, wait_reading_process_output) [AIX]: + Remove obsolete SIGHUP-related code, as Emacs no longer disables + SIGHUP, so EBADF is no longer acceptable here (it wouldn't work in + a multithreaded environment anyway). + * sysdep.c (emacs_close): It's not dangerous to invoke emacs_close (-1). + + 2013-07-12 Andreas Schwab <schwab@linux-m68k.org> + + * image.c (x_find_image_file): Don't close a remote file handle. + + 2013-07-12 Paul Eggert <eggert@cs.ucla.edu> + + Fix races with threads and file descriptors. + * callproc.c (Fcall_process_region): + * dired.c (open_directory): + * emacs.c (main, Fdaemon_initialized): + * image.c (x_find_image_file): + * inotify.c (Finotify_rm_watch): + * lread.c (Flocate_file_internal): + * process.c (Fnetwork_interface_list, Fnetwork_interface_info): + * term.c (term_mouse_moveto, init_tty): + * termcap.c (tgetent): + * unexaix.c, unexcoff.c (report_error, report_error_1, adjust_lnnoptrs) + * unexaix.c, unexcoff.c, unexcw.c, unexelf.c (unexec): + * unexhp9k800.c, unexmacosx.c (unexec): + * callproc.c (Fcall_process_region): + Use emacs_close, not close. + * sysdep.c (POSIX_CLOSE_RESTART, posix_close) [!POSIX_CLOSE_RESTART]: + New macro and function, which emulates the POSIX_CLOSE_RESTART macro + and posix_close function on current platforms (which all lack them). + (emacs_close): Use it. This should fix the races on GNU/Linux and + on AIX and on future platforms that support POSIX_CLOSE_RESTART, + and it should avoid closing random victim file descriptors on + other platforms. + + 2013-07-11 Paul Eggert <eggert@cs.ucla.edu> + + * inotify.c (uninitialized): Remove. All uses replaced by -1. + (Finotify_add_watch): Simplify, since -1 means uninitialized now. + Touch up doc a bit. + + * eval.c (backtrace_function, backtrace_args): Now EXTERNALLY_VISIBLE. + This is for .gdbinit xbacktrace. + + * sysdep.c, term.c, termcap.c, terminal.c: Integer-related minor fixes. + * sysdep.c (emacs_get_tty): Return void, since nobody uses the value. + (emacs_set_tty): Now static. + * sysdep.c (emacs_set_tty, tabs_safe_p, emacs_close): + * term.c (tty_capable_p, tty_default_color_capabilities) + (get_tty_terminal, term_mouse_movement) + (handle_one_term_event, init_tty, maybe_fatal): + * termcap.c (tgetst1, struct termcap_buffer, valid_filename_p) + (tgetent, scan_file, name_match, compare_contin): + * terminal.c (get_terminal): + Use bool for boolean. + * sysdep.c (init_system_name): Don't overflow stack on huge hostname. + Prefer char to unsigned char if either will do. + * term.c (OUTPUT, turn_on_face): Omit unnecessary casts to int. + (tty_write_glyphs): Prefer int to unsigned. + (produce_glyphless_glyph): Remove 2nd (unused) int arg. + All callers changed. + * termcap.c (tprint, main) [TEST]: Remove non-working test. + + 2013-07-10 Paul Eggert <eggert@cs.ucla.edu> + + Port to C89. + * bytecode.c (BYTE_CODE_THREADED): Do not define if __STRICT_ANSI__. + (B__dummy__): New dummy symbol, to pacify C89. + * dbusbind.c (XD_DEBUG_MESSAGE): Omit debugging on C89 hosts, since + they can't grok varargs macros. + * dispnew.c (add_window_display_history) + (add_frame_display_history): + * print.c (print_object): + * xdisp.c (debug_method_add): + Use %p printf format only for void pointers. + * emacs.c (usage_message): New constant, replacing ... + (USAGE1, USAGE2, USAGE3): Remove; they were too long for C89. + (main): Adjust to usage reorg. + * fns.c (syms_of_fns): + * profiler.c (syms_of_profiler): + Don't use non-constant struct initializers. + * gnutls.h (gnutls_initstage_t): + * lisp.h (enum Lisp_Fwd_Type): + * lread.c (lisp_file_lexically_bound_p): + * xsettings.c (anonymous enum): + Remove trailing comma. + * xsettings.c (apply_xft_settings): Use %f, not %lf; %lf is a C99ism. + * lisp.h (ENUM_BF): Use unsigned if pedantic. + (DEFUN_FUNCTION_INIT): New macro, that falls back on a cast if pre-C99. + (DEFUN): Use it. + * regex.c (const_re_char): New type, to pacify strict C89. + All uses of 'const re_char' replaced to use it. + * regex.h (_Restrict_): Rename from __restrict, to avoid clash + with glibc when strict C89. This change is imported from gnulib. + All uses changed. + (_Restrict_arr_): Rename from __restrict_arr, similarly. + * sysdep.c (time_from_jiffies) [!HAVE_LONG_LONG_INT]: + Omit GNU_LINUX implementation, since it requires long long. + * xterm.c (x_draw_underwave): + Do not assume the traditional order of struct's members. + (x_term_init): Rewrite to avoid the need for non-constant structure + initializers. + + Syntax cleanup, mostly replacing macros with functions. + This removes the need for the syntax_temp hack. + * search.c: Include syntax.h after buffer.h, since syntax.h uses BVAR. + * syntax.c (SYNTAX_INLINE): New macro. + (SYNTAX_FLAGS_COMSTART_FIRST, SYNTAX_FLAGS_COMSTART_SECOND) + (SYNTAX_FLAGS_COMEND_FIRST, SYNTAX_FLAGS_COMEND_SECOND) + (SYNTAX_FLAGS_PREFIX, SYNTAX_FLAGS_COMMENT_STYLEB) + (SYNTAX_FLAGS_COMMENT_STYLEC, SYNTAX_FLAGS_COMMENT_STYLEC2) + (SYNTAX_FLAGS_COMMENT_NESTED, SYNTAX_FLAGS_COMMENT_STYLE) + (SYNTAX_COMEND_FIRST): Now functions, not macros. + (ST_COMMENT_STYLE, ST_STRING_STYLE, INTERVALS_AT_ONCE): + Now constants, not macros. + (syntax_temp) [!__GNUC__]: Remove. + (SYNTAX_PREFIX): Remove; all uses replaced by syntax_prefix_flag_p. + (syntax_prefix_flag_p): Move implementation of SYNTAX_PREFIX here. + (SET_RAW_SYNTAX_ENTRY, SET_RAW_SYNTAX_ENTRY_RANGE, SYNTAX_MATCH) + (SETUP_SYNTAX_TABLE, SETUP_SYNTAX_TABLE_FOR_OBJECT): + Move here from syntax.h; now functions, not macros. Except for the + last function, these are static since only syntax.c uses them. + (syntax_multibyte): Rename from SYNTAX_WITH_MULTIBYTE_CHECK. + All uses changed. Now a function, not a macro; use this fact + to simplify the code. + (scan_lists, scan_sexps_forward): Remove workarounds for ancient + compiler bugs; no longer relevant. + * syntax.h: Use INLINE_HEADER_BEGIN, INLINE_HEADER_END. + (SYNTAX_INLINE): New macro. + (struct gl_state_s, gl_state): Move earlier, so that it's in scope + for the new functions. Use bool for boolean member. + (SYNTAX_ENTRY, SYNTAX, SYNTAX_WITH_FLAGS, SYNTAX_MATCH) + (SYNTAX_TABLE_BYTE_TO_CHAR, UPDATE_SYNTAX_TABLE_FORWARD) + (UPDATE_SYNTAX_TABLE_BACKWARD, UPDATE_SYNTAX_TABLE) + (SETUP_BUFFER_SYNTAX_TABLE): + Now extern inline functions, not macros. + (CURRENT_SYNTAX_TABLE, SYNTAX_ENTRY_INT): + Remove; all uses replaced by implementation. + (syntax_temp) [!__GNUC__]: Remove decl. + (SETUP_SYNTAX_TABLE_FOR_OBJECT): New decl. + + 2013-07-10 Jan Djärv <jan.h.d@swipnet.se> + + * emacs.c (main): Fix syntax error. + + 2013-07-10 Paul Eggert <eggert@cs.ucla.edu> + + Timestamp fixes for undo (Bug#14824). + * atimer.c (schedule_atimer): + * fileio.c (Ffile_newer_than_file_p): + Minor cleanup: use EMACS_TIME_LT so that we can remove EMACS_TIME_GT. + * buffer.c (buffer-undo-list): Document (t . 0) and (t . -1). + * fileio.c (Fclear_visited_file_modtime): Move to lisp/files.el. + (syms_of_fileio): Remove Sclear_visited_file_name. + (Fvisited_file_modtime): Return -1, not (-1 ...), when the visited + file doesn't exist; this avoids an ambiguity with negative timestamps. + (Fset_visited_file_modtime): Accept -1 and 0 as time-list arg. + * systime.h (make_emacs_time, invalid_emacs_time): + Don't assume struct timespec layout; POSIX doesn't guarantee it. + (EMACS_TIME_NE, EMACS_TIME_GT, EMACS_TIME_GE): Remove. + * undo.c (record_first_change): Push (visited-file-modtime) onto + undo list rather than reimplementing it by hand, incorrectly. + + 2013-07-09 Ken Brown <kbrown@cornell.edu> + + * sheap.c (STATIC_HEAP_SIZE) [__x86_64__]: Increase to 18MB. + + 2013-07-09 Juanma Barranquero <lekktu@gmail.com> + + * makefile.w32-in ($(BLD)/emacs.$(O), $(BLD)/sysdep.$(O)): Update. + + 2013-07-09 Paul Eggert <eggert@cs.ucla.edu> + + Handle errno and exit status a bit more carefully. + * callproc.c (child_setup) [!DOS_NT]: Don't try to stuff an error + number into an exit status. Instead, use EXIT_CANCELED. + (child_setup) [!MSDOS]: Avoid possible deadlock with vfork. + * callproc.c (relocate_fd): + * emacs.c (close_output_streams, main): + * process.c (create_process): + * sysdep.c (sys_subshell) [!DOS_NT || !WINDOWSNT]: + Use emacs_perror for simplicity. + * callproc.c (relocate_fd, main): + * sysdep.c (sys_subshell): + Exit with EXIT_CANCELED etc., not 1, when exec setup fails. + (shut_down_emacs): Use emacs_write, not write. + * emacs.c, sysdep.c: Don't include <ignore-value.h>. + * fileio.c (Fcopy_file, e_write): + * nsterm.m (ns_select): + * process.c (send_process): + * sound.c (vox_write): + Use emacs_write_sig, not emacs_write. + * lisp.h (emacs_write_sig, emacs_perror): New decls. + * process.h (EXIT_CANCELED), EXIT_CANNOT_INVOKE, EXIT_ENOENT): + New constants. + * sysdep.c (emacs_backtrace): Use emacs_write, not ignore_value + of write. + (emacs_full_write): New function. + (emacs_write): Rewrite to use it. + (emacswrite_sig, emacs_perror): New functions. + * xrdb.c (fatal): Don't invoke perror, since errno might be garbage. + + 2013-07-08 Magnus Henoch <magnus.henoch@gmail.com> (tiny change) + + * image.c (imagemagick_load_image): Do not use MagickExportImagePixels + on NS even if it is present. Pixmap on NS is a void*. + + 2013-07-07 Paul Eggert <eggert@cs.ucla.edu> + + Port to Ubuntu 10 (Bug#14803). Reported by T.V. Raman. + * process.c (close_on_exec, accept4, process_socket): + Define these if !HAVE_ACCEPT4, not if !SOCK_CLOEXEC. + + 2013-07-07 Eli Zaretskii <eliz@gnu.org> + + * w32.c (sys_dup): Declare prototype. + + * filelock.c: + * emacs.c: + * callproc.c [WINDOWSNT]: Include sys/socket.h. + + 2013-07-07 Paul Eggert <eggert@cs.ucla.edu> + + Make file descriptors close-on-exec when possible (Bug#14803). + This simplifies Emacs a bit, since it no longer needs to worry + about closing file descriptors by hand in some cases. + It also fixes some unlikely races. Not all such races, as + libraries often open files internally without setting + close-on-exec, but it's an improvement. + * alloc.c (valid_pointer_p) [!WINDOWSNT]: + * callproc.c (Fcall_process) [!MSDOS]: + * emacs.c (main) [!DOS_NT]: + * nsterm.m (ns_term_init): + * process.c (create_process): + Use 'pipe2' with O_CLOEXEC instead of 'pipe'. + * emacs.c (Fcall_process_region) [HAVE_MKOSTEMP]: + * filelock.c (create_lock_file) [HAVE_MKOSTEMP]: + Prefer mkostemp with O_CLOEXEC to mkstemp. + * callproc.c (relocate_fd) [!WINDOWSNT]: + * emacs.c (main): Use F_DUPFD_CLOEXEC, not plain F_DUPFD. + No need to use fcntl (..., F_SETFD, FD_CLOEXEC), since we're + now using pipe2. + * filelock.c (create_lock_file) [! HAVE_MKOSTEMP]: + Make the resulting file descriptor close-on-exec. + * lisp.h, lread.c, process.c (close_load_descs, close_process_descs): + * lread.c (load_descriptor_list, load_descriptor_unwind): + Remove; no longer needed. All uses removed. + * process.c (SOCK_CLOEXEC): Define to 0 if not supplied by system. + (close_on_exec, accept4, process_socket) [!SOCK_CLOEXEC]: + New functions. + (socket) [!SOCK_CLOEXEC]: Supply a substitute. + (Fmake_network_process, Fnetwork_interface_list) + (Fnetwork_interface_info, server_accept_connection): + Make newly-created socket close-on-exec. + * sysdep.c (emacs_open, emacs_fopen): + Make new-created descriptor close-on-exec. + * w32.c (fcntl): Support F_DUPFD_CLOEXEC well enough for Emacs. + * w32.c, w32.h (pipe2): Rename from 'pipe', with new flags arg. + + 2013-07-07 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (sendEvent:): Propagate keyboard events to modal windows + for NS_IMPL_GNUSTEP. + + 2013-07-07 Paul Eggert <eggert@cs.ucla.edu> + + Fix openp errno handling. + * callproc.c (Fcall_process): Preserve openp errno around close. + * lread.c (openp): Set errno when returning -1, as some callers + expect this. + + 2013-07-06 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (sendEvent:): Handle NSAPP_DATA2_RUNFILEDIALOG. + + * nsterm.h (NSSavePanel): Update comment. + (NSAPP_DATA2_RUNFILEDIALOG): Define. + (ns_run_file_dialog): Declare. + + * nsfns.m: Remove panelOK. + (ns_fd_data): New. + (ns_run_file_dialog): New function. + (Fns_read_file_name): Fill in ns_fd_data, post an event and start the + event loop, so file dialog is popped up by ns_run_file_dialog, called + by sendEvent (Bug#14578). + (EmacsSavePanel, EmacsOpenPanel): Remove ok and cancel methods. + + 2013-07-06 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (default_line_pixel_height): New function. + (pos_visible_p, move_it_vertically_backward, try_scrolling) + (try_cursor_movement, redisplay_window, try_window) + (try_window_id): Use it instead of FRAME_LINE_HEIGHT. (Bug#14771) + + * window.c (window_scroll_pixel_based): + use default_line_pixel_height. + + * dispextern.h (default_line_pixel_height): Add prototype. + + * frame.c (x_set_line_spacing): Accept a float value for + line-spacing parameter, per the documentation. + + * data.c (Fmultibyte_string_p): Doc fix. + + 2013-07-05 Paul Eggert <eggert@cs.ucla.edu> + + Use emacs_open more consistently when opening files. + This handles EINTR more consistently now, and makes it easier + to introduce other uniform changes to file descriptor handling. + * sysstdio.h: New file. + * buffer.c (mmap_init): + * cygw32.c (chdir_to_default_directory): + * dispnew.c (Fopen_termscript): + * emacs.c (Fdaemon_initialized): + * fileio.c (Fdo_auto_save): + * image.c (slurp_file, png_load_body, jpeg_load_body): + * keyboard.c (Fopen_dribble_file): + * lread.c (Fload): + * print.c (Fredirect_debugging_output): + * sysdep.c (get_up_time, procfs_ttyname, procfs_get_total_memory): + * termcap.c (tgetent): + * unexaix.c, unexcoff.c (unexec, adjust_lnnoptrs): + * unexcw.c, unexelf.c, unexhp9k800.c, unexmacosx.c (unexec): + * w32term.c (w32_initialize) [CYGWIN]: + * xfaces.c (Fx_load_color_file): + Use emacs_open instead of plain open, and emacs_fopen instead of + plain fopen. + * dispnew.c, fileio.c, image.c, keyboard.c, lread.c, print.c, sysdep.c: + * xfaces.c: Include sysstdio.h rather than stdio.h, for emacs_fopen. + * callproc.c (default_output_mode): New constant. + (Fcall_process): Use it to call emacs_open instead of plain creat. + * dispnew.c (Fopen_termscript): Fix minor race in opening termscript. + * sysdep.c (emacs_open): Add commentary and don't call file name "path". + (emacs_fopen): New function. + * unexaix.c, unexcoff.c, unexelf.c, unexhp9k800.c, unexmacosx.c: + Include <lisp.h>, for emacs_open. + * unexelf.c (fatal): Remove decl; not needed with <lisp.h> included. + + Remove duplicate #include directives. + * alloc.c [GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES]: + * xfaces.c: + Don't include stdio.h twice. + * buffer.c [USE_MMAP_FOR_BUFFERS]: + Don't include sys/types.h or stdio.h twice. + * fileio.c [WINDOWSNT | MSDOS]: Don't include fcntl.h twice. + * lread.c: Don't include coding.h twice. + * nsfont.m: Don't include frame.h twice. + * process.c [HAVE_RES_INIT]: Don't include <netinet/in.h> twice. + * ralloc.c: Don't include <unistd.h> twice. + * xdisp.c: Don't include font.h twice. + * xterm.c: Don't include fontset.h twice. + * xterm.h [USE_X_TOOLKIT]: Don't include X11/StringDefs.h twice. + + 2013-07-04 Paul Eggert <eggert@cs.ucla.edu> + + Scale ImageMagick images more carefully. + * image.c (scale_image_size) [HAVE_IMAGEMAGICK]: New function. + (compute_image_size): Use it. Define only if HAVE_IMAGEMAGICK. + Be more careful about avoiding undefined behavior after + integer overflow and division by zero. + + 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * w32fns.c (Qgeometry, Qworkarea, Qmm_size, Qframes): New variables. + (syms_of_w32fns): DEFSYM them. + (MONITORINFOF_PRIMARY, SM_XVIRTUALSCREEN, SM_YVIRTUALSCREEN) + (CCHDEVICENAME): Define macros if not defined. + (struct MONITOR_INFO_EX): New struct. + (MonitorEnum_Proc, EnumDisplayMonitors_Proc): New prototypes. + (enum_display_monitors_fn): New variable. + (globals_of_w32fns): Initialize it. + (Fx_display_pixel_width, Fx_display_pixel_height) + (Fx_display_mm_height, Fx_display_mm_width): Mention behavior on + multi-monitor setups in docstrings. + (Fx_display_mm_height, Fx_display_mm_width): Approximate whole + screen size by primary monitor's millimeter per pixel. + (w32_monitor_enum, w32_display_monitor_attributes_list) + (w32_display_monitor_attributes_list_fallback) + (Fw32_display_monitor_attributes_list): New functions. + (syms_of_w32fns): Defsubr Sw32_display_monitor_attributes_list. + + * w32term.c (SM_CXVIRTUALSCREEN, SM_CYVIRTUALSCREEN): Define macros + if not defined. + (x_display_pixel_height, x_display_pixel_width): Use GetSystemMetrics. + + 2013-07-04 Michael Albinus <michael.albinus@gmx.de> + + * fileio.c (Qfile_notify_error): New error symbol. + + * gfilenotify.c (Fgfile_add_watch, Fgfile_rm_watch): + * inotify.c (inotify_callback, symbol_to_inotifymask) + (Finotify_add_watch, Finotify_rm_watch): Use it. + (inotifyevent_to_event): Exchange order of cookie and file name. + (Finotify_add_watch): Adapt docstring. + + * lisp.h (Qfile_notify_error): Declare. + + 2013-07-04 Paul Eggert <eggert@cs.ucla.edu> + + Try again to fix FreeBSD bug re multithreaded memory alloc (Bug#14569). + * emacs.c (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: + Do not clear _malloc_thread_enabled_p, undoing the previous change, + which did not work (see <http://bugs.gnu.org/14569#307>). + (main): Do not invoke malloc_enable_thread if (! CANNOT_DUMP + && (!noninteractive || initialized)). This attempts to thread + the needle between the Scylla of FreeBSD and the Charybdis of Cygwin. + + 2013-07-04 Juanma Barranquero <lekktu@gmail.com> + + * image.c (x_to_xcolors) [HAVE_NTGUI]: Remove unused var `hdc'. + (x_build_heuristic_mask) [HAVE_NTGUI]: Remove unused var `frame_dc'. + + 2013-07-04 Paul Eggert <eggert@cs.ucla.edu> + + Try to fix FreeBSD bug re multithreaded memory allocation (Bug#14569). + * emacs.c (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: + Clear _malloc_thread_enabled_p at startup. Reported by Ashish SHUKLA in + <http://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00088.html>. + + 2013-07-02 Paul Eggert <eggert@cs.ucla.edu> + + * sysdep.c (sys_siglist) [HAVE_DECL___SYS_SIGLIST]: + Define to __sys_siglist. + + 2013-07-02 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (IT_OVERFLOW_NEWLINE_INTO_FRINGE): Don't disallow + word-wrap, so that overflow-newline-into-fringe would work in + visual-line-mode. (Bug#2749) + (move_it_in_display_line_to): When the last scanned display + element fits exactly on the display line, and + overflow-newline-into-fringe is non-nil, but wrap_it is valid, + don't return MOVE_NEWLINE_OR_CR, but instead back up to the last + wrap point and return MOVE_LINE_CONTINUED. Fixes problems with + finding buffer position that corresponds to pixel coordinates, + e.g. in buffer_posn_from_coords. + + 2013-07-02 Jan Djärv <jan.h.d@swipnet.se> + + * process.c (handle_child_signal): Call catch_child_signal if + NS_IMPL_GNUSTEP. + + 2013-07-02 Paul Eggert <eggert@cs.ucla.edu> + + Don't convert function pointers to void * and back. + It isn't portable C, and it's easy enough to avoid. + * alloc.c: Verify SAVE_FUNCPOINTER bits, too. + (make_save_value): Add support for SAVE_FUNCPOINTER. + * keymap.c (map_keymap_char_table_item, map_keymap_internal): + * print.c (print_object): + Distinguish function from object pointers. + * lisp.h (SAVE_FUNCPOINTER): New constant. + (SAVE_SLOT_BITS): Adjust to it. + (SAVE_TYPE_FUNCPTR_PTR_OBJ): New constant, replacing + SAVE_TYPE_PTR_PTR_OBJ. Change the only use. + (voidfuncptr): New typedef. + (struct Lisp_Save_Value): New member data[0].funcpointer. + (XSAVE_FUNCPOINTER): New function. + + Simplify buildobj processing. + * Makefile.in (buildobj.h): Make it a sequence of strings each + followed by comma, rather than a single string. Put it into a + .tmp file in case there's an error while generating it. + (gl-stamp): Use .tmp for temp files. + (mostlyclean): Clean .tmp files. + * doc.c (buildobj): Move to just the routine that needs it. + It's now an array of strings, so processing is simpler. + + 2013-07-01 Paul Eggert <eggert@cs.ucla.edu> + + Fix bug re noninteractive multithreaded memory allocation (Bug#14569). + * emacs.c (malloc_enable_thread): Hoist extern decl to top level. + (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: + Invoke malloc_enable_thread even when not interactive. + Reported by Ken Brown in <http://bugs.gnu.org/14569#275>. + * process.c (init_process_emacs) [CYGWIN]: Tickle glib even + in this case, since the underlying bug has now been fixed. + + 2013-07-01 Juanma Barranquero <lekktu@gmail.com> + + * emacs.c (Fkill_emacs): Expand Vauto_save_list_file_name before + unlinking it (bug#14691). + + 2013-06-30 Michal Nazarewicz <mina86@mina86.com> + + * buffer.c (FKill_buffer): Run `kill-buffer-query-functions' + before checking whether buffer is modified. This lets + `kill-buffer-query-functions' cancel killing of the buffer or save + its content before `kill-buffer' asks user the "Buffer %s + modified; kill anyway?" question. + + 2013-06-30 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m (handlePanelKeys): Don't process Command+Function keys. + Let the super performKeyEquivalent deal with them (Bug#14747). + + 2013-06-30 Paul Eggert <eggert@cs.ucla.edu> + + * widget.c (resize_cb): Remove unused local. + + Do not use GTK 3 if it exists but cannot be compiled. + * xmenu.c (x_menu_wait_for_event) [!USE_GTK]: + * xterm.c (x_error_handler) [!USE_GTK]: + Do not use GTK 3. + + * intervals.c (get_local_map): Actually clip POSITION (Bug#14753). + + 2013-06-30 Eli Zaretskii <eliz@gnu.org> + + * intervals.c (get_local_map): Instead of aborting, clip POSITION + to the valid range of values. (Bug#14753) + + * xdisp.c (Fmove_point_visually): Invalidate the cursor position + when moving point by using the current glyph matrix. This avoids + the need to force redisplay when this function is called in a + loop. + + 2013-06-29 Paul Eggert <eggert@cs.ucla.edu> + + Fix minor problems found by static checking. + * coding.c (encode_inhibit_flag, inhibit_flag): New functions. + Redo the latter's body to sidestep GCC parenthesization warnings. + (setup_coding_system, detect_coding, detect_coding_system): Use them. + * coding.c (detect_coding, detect_coding_system): + * coding.h (struct undecided_spec): + Use bool for boolean. + * image.c (QCmax_width, QCmax_height): Now static. + * xdisp.c (Fmove_point_visually): Remove unused local. + + 2013-06-29 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (Fmove_point_visually): New function. + + 2013-06-28 Kenichi Handa <handa@gnu.org> + + * coding.h (define_coding_undecided_arg_index): New enum. + (coding_attr_index): New members + coding_attr_undecided_inhibit_null_byte_detection, + coding_attr_undecided_inhibit_iso_escape_detection, + coding_attr_undecided_prefer_utf_8. + (undecided_spec): New struct. + (struct coding_system): New member `undecided' of the member + `spec'. + + * coding.c (setup_coding_system): Handle CODING->spec.undecided. + (detect_coding): Likewise. + (detect_coding_system): Likewise. + (Fdefine_coding_system_internal): New coding system properties + :inhibit-null-byte-detection, :inhibit-iso-escape-detection, and + :prefer-utf-8. + (syms_of_coding): Adjust for coding_arg_undecided_max. + + 2013-06-28 Paul Eggert <eggert@cs.ucla.edu> + + * image.c (x_from_xcolors): Remove unused local. + + 2013-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + Defer image data transfer between X client and server until actual + display happens. + + * dispextern.h (struct image) [HAVE_X_WINDOWS]: New members `ximg' + and `mask_img'. + + * image.c (Destroy_Image): Remove. + (x_clear_image_1): New arg `flags' instead of 3 bools `pixmap_p', + `mask_p', and `colors_p'. All uses changed. + (x_clear_image_1) [HAVE_X_WINDOWS]: Destroy `ximg' and `mask_img'. + (CLEAR_IMAGE_PIXMAP, CLEAR_IMAGE_MASK, CLEAR_IMAGE_COLORS): + New macros for `flags' arg to x_clear_image_1. + (postprocess_image, xpm_load_image, x_build_heuristic_mask) + (png_load_body): Use x_clear_image_1 instead of Free_Pixmap. + (ZPixmap, XGetImage) [HAVE_NS]: Remove. + (image_get_x_image_or_dc, image_unget_x_image_or_dc) + (image_get_x_image, image_unget_x_image): New functions or macros. + (image_background, image_background_transparent, x_to_xcolors) + (x_build_heuristic_mask): Use image_get_x_image_or_dc instead of + XGetImage or CreateCompatibleDC. Use image_unget_x_image_or_dc + instead of Destroy_Image. + (image_create_x_image_and_pixmap, image_put_x_image): New functions. + (xpm_load_image, x_from_xcolors, x_build_heuristic_mask, pbm_load) + (png_load_body, jpeg_load_body, tiff_load, gif_load) + (imagemagick_load_image, svg_load_image): Use them instead of + x_create_x_image_and_pixmap, and x_put_x_image followed by + x_destroy_x_image, respectively. + (xpm_load) [HAVE_XPM && !HAVE_NTGUI]: Use XpmReadFileToImage and + XpmCreateImageFromBuffer instead of XpmReadFileToPixmap and + XpmCreatePixmapFromBuffer. Create pixmaps. Fill background and + background_transparent fields. + (image_sync_to_pixmaps) [HAVE_X_WINDOWS]: New function. + (prepare_image_for_display, x_disable_image) [HAVE_X_WINDOWS]: Use it. + + 2013-06-27 Paul Eggert <eggert@cs.ucla.edu> + + Do not tickle glib SIGCHLD handling if Cygwin (Bug#14569). + This mostly consists of undoing recent changes. + * callproc.c (Fcall_process): + * process.c (create_process): + Do not worry about catching SIGCHLD here, undoing previous change. + * nsterm.m (ns_term_init): Re-catch SIGCHLD, undoing previous change. + * process.c, process.h (catch_child_signal): + No longer extern if !NS_IMPL_GNUSTEP, undoing 06-22 change. + * process.c (catch_child_handler): Don't worry about being called + lazily and do not assume caller has blocked SIGCHLD, undoing + previous change. Move first-time stuff back to + init_process_emacs, undoing 06-22 change. If CYGWIN, do not + tickle glib, as that causes Cygwin bootstrap to fail. Do not + set lib_child_handler if it's already initialized, which may + help avoid problems on GNUstep. + + 2013-06-23 Paul Eggert <eggert@cs.ucla.edu> + + A more-conservative workaround for Cygwin SIGCHLD issues (Bug#14569). + * callproc.c (Fcall_process): + * process.c (create_process): + Make sure SIGCHLD is caught before we fork, + since Emacs startup no arranges to catch SIGCHLD. + * process.c (lib_child_handler): Initialize to null, not to + dummy_handler. + (catch_child_signal): Allow self to be called lazily. + Do nothing if it's already been called. + Assume caller has blocked SIGCHLD (all callers do now). + * emacs.c (main): Do not catch SIGCHLD here; defer it until + just before it's really needed. + * nsterm.m (ns_term_init): No need to re-catch SIGCHLD here, + since it hasn't been caught yet. + + 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * image.c (compute_image_size): New function to implement + :max-width and :max-height. + (imagemagick_load_image): Use it. + + 2013-06-23 Paul Eggert <eggert@cs.ucla.edu> + + Try to avoid malloc SEGVs on Cygwin (Bug#14569). + * callproc.c, process.h (block_child_signal, unblock_child_signal): + Now extern. + * emacs.c (main): Catch SIGCHLD just before initializing gfilenotify. + * process.c (catch_child_signal): Block SIGCHLD while futzing with + the SIGCHLD handler, since the code is not atomic and (due to glib) + signals may be arriving now. + * sysdep.c (init_signals): Do not catch child signals here; + 'main' now does that later, at a safer time. + + 2013-06-22 Paul Eggert <eggert@cs.ucla.edu> + + Clean up SIGCHLD handling a bit (Bug#14569). + * process.c, process.h (catch_child_signal): + Now always extern, even if !NS_IMPL_GNUSTEP. + * process.c (catch_child_signal): Move glib tickler here from + init_process_emacs, so that it's done earlier in Emacs + initialization. Also move the noninteractive && !initialized + check here from init_process_emacs. This is all a bit cleaner for + GNUish platforms, and I hope it works around the Cygwin bug. + * sysdep.c (init_signals): Invoke catch_child_signal here, so + that glib signal handling is tickled before glib creates threads. + + * process.c (wait_reading_process_output): Avoid int overflow + when reading more than 2 GiB total from a process. + + 2013-06-21 Paul Eggert <eggert@cs.ucla.edu> + + * process.c (create_process): Handle a couple more cases, + i.e., work even if new_argv and wait_child_setup[i] are cached. + Use Fcall_process's style for volatile vars. + + 2013-06-21 Andreas Schwab <schwab@linux-m68k.org> + + * process.c (create_process): Mark PROCESS volatile. + + 2013-06-21 Paul Eggert <eggert@cs.ucla.edu> + + Use C99-style flexible array members if available. + This avoids some subtle aliasing issues, which typically + aren't a problem with GCC but may be a problem elsewhere. + * alloc.c (sdata): New typedef, replacing the old struct sdata. + It is a struct if GC_CHECK_STRING_BYTES, a union otherwise. + In either case, it uses a flexible array member rather than + the old struct hack. All uses changed. + (SDATA_NBYTES, sweep_strings) [!GC_CHECK_STRING_BYTES]: + Adjust to sdata reorganization. + * alloc.c (VBLOCK_BYTES_MIN, allocate_vectorlike, Fgarbage_collect): + Use offsetof (struct, flex_array_member), not sizeof (struct), as + that ports better to pre-C99 non-GCC. + * chartab.c (Fmake_char_table, make_sub_char_table, copy_char_table): + Use CHAR_TABLE_STANDARD_SLOTS rather than its definition, + as the latter has changed. + * conf_post.h (FLEXIBLE_ARRAY_MEMBER): Move here from w32.c, + and port better to pre-C99 GCC. + * image.c (struct xpm_cached_color): + * lisp.h (struct Lisp_Vector, struct Lisp_Bool_Vector) + (struct Lisp_Char_Table, struct Lisp_Sub_Char_Table): + Use FLEXIBLE_ARRAY_MEMBER. + * lisp.h (string_bytes) [GC_CHECK_STRING_BYTES]: + Move decl to top level so it gets checked against implementation. + (CHAR_TABLE_STANDARD_SLOTS): Adjust to struct Lisp_Char_Table change. + * w32.c (FLEXIBLE_ARRAY_MEMBER): Move to conf_post.h. + + 2013-06-20 Paul Eggert <eggert@cs.ucla.edu> + + * syntax.c: Integer cleanups. + (SYNTAX_FLAGS_COMMENT_STYLEC): Return a boolean, not 0-or-2. + All uses that need 0-or-2 changed to: + (SYNTAX_FLAGS_COMMENT_STYLEC2): New macro, with the same semantics + as the old SYNTAX_FLAGS_COMMENT_STYLEC. + (struct lisp_parse_state, syntax_prefix_flag_p, update_syntax_table) + (char_quoted, prev_char_comend_first, back_comment) + (Finternal_describe_syntax_value, skip_chars, skip_syntaxes) + (in_classes, forw_comment, scan_lists, scan_sexps_forward): + Use bool for boolean. + (update_syntax_table, skip_chars, skip_syntaxes): + Prefer int to unsigned when either will do. + (back_comment): Return boolean success flag, like forw_comment, + instead of positive-or-minus-1 (which might have overflowed int anyway). + Don't stuff ptrdiff_t into int. + (syntax_spec_code, syntax_code_spec): Now const. + (Fmatching_paren, scan_lists, scan_sexps_forward): + Use enum syntaxcode for syntax code. + (Fmatching_paren): Check that arg is a character, not just an integer. + (Fstring_to_syntax): Don't assume 0377 fits in enum syntaxcode. + (Finternal_describe_syntax_value): Omit no-longer-needed + comparison to 0. + (skip_chars): Use char, not unsigned char, when the distinction + doesn't matter. + (forw_comment, scan_lists): Prefer A |= B to A = A || B when B's cheap. + * bytecode.c (exec_byte_code): + * syntax.c (syntax_spec_code, Fchar_syntax) + (Finternal_describe_syntax_value, skip_chars, skip_syntaxes) + (init_syntax_once): + * syntax.h (SYNTAX_WITH_FLAGS): + Omit unnecessary casts. + + 2013-06-20 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (w32_wnd_proc): Don't compute the header line and mode + line dimensions here, to avoid race conditions with the main + thread. (Bug#14062, bug#14630, bug#14669) + + * w32term.c (w32_draw_window_cursor): Compute the header line and + mode line dimensions here. + <w32_system_caret_window, w32_system_caret_hdr_height>: + <w32_system_caret_mode_height>: New variables. + + * w32term.h: Declare them. + + 2013-06-20 Paul Eggert <eggert@cs.ucla.edu> + + * alloc.c (die): Move "assertion failed" string here ... + * lisp.h (eassert): ... from here. Also, suppress evaluation of + COND when SUPPRESS_CHECKING. This shrinks the executable text + size by 0.8% to 2.2% when configured with --enable-checking, + depending on optimization flags (GCC 4.8.1 x86-64). + + * floatfns.c (Flog10): Move to Lisp (marked obsolete there). + + 2013-06-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de> + + * floatfns.c (Flog) [HAVE_LOG2]: Use log2 if available and if the + base is 2; this is more accurate. + + 2013-06-19 Juanma Barranquero <lekktu@gmail.com> + + * sound.c (string_default): Move to !WINDOWSNT section. + (Fplay_sound_internal) [WINDOWSNT]: Remove i_result to avoid warning. + + 2013-06-19 Paul Eggert <eggert@cs.ucla.edu> + + * sound.c: Integer cleanups. + Remove unnecessary forward decls. + (struct sound_device): The 'file' member is now a Lisp_Object, not + a char *, so that we needn't invoke alloca on a huge size. + (Fplay_sound_internal): Adjust to this. + (string_default): New function. + (vox_open, vox_init, alsa_open, alsa_configure, alsa_init): + Use it to adjust to the struct sound_device change. + (parse_sound, wav_init, au_init, alsa_init): Use bool for booleans. + (be2hs) [0]: Remove. + + * syntax.c (skip_chars): Don't use uninitialized storage + when searching a multibyte buffer for characters that are not in a + unibyte string that contains non-ASCII characters. + + 2013-06-18 Jan Djärv <jan.h.d@swipnet.se> + + * process.c: Include xgselect.h if HAVE_GLIB. Include glib.h + if HAVE_GLIB && ! WINDOWSNT (Bug#14654). + + 2013-06-18 Paul Eggert <eggert@cs.ucla.edu> + + * conf_post.h: Add comments for INLINE, EXTERN_INLINE, etc. + + 2013-06-18 Kenichi Handa <handa@gnu.org> + + * font.c (Ffont_spec): Signal an error for an invalid font name + (Bug#14648). + + 2013-06-18 Paul Eggert <eggert@cs.ucla.edu> + + Porting fixes for merged specpdl and backtrace stacks (Bug#14643). + In particular this ports to 32-bit sparc Sun cc. + * eval.c (init_eval_once, grow_specpdl): Allocate a specbinding + array with a dummy element at specpdl[-1], so that its address can + be taken portably. + (unbind_to): Do not copy the binding; not needed, now that we + copy old_value in the one place where the copy is needed. + * fileio.c (Fwrite_region): Use ptrdiff_t, not int, for specpdl count. + * lisp.h (BITS_PER_PTRDIFF_T): Remove; no longer needed. + (union specbinding): Rename from struct specbinding. Redo layout + to avoid the need for 'ptrdiff_t nargs : BITS_PER_PTRDIFF_T - 1;', + which is not portable. With Sun C 5.12 32-bit sparc, the + declaration causes nargs to be an unsigned bitfield, a behavior + that the C standard allows; but Emacs wants nargs to be signed. + The overall type is now a union of structures rather than a + structure of union of structures, and the 'kind' member is now a + bitfield, so that the overall type doesn't grow. All uses changed. + * process.c (Fmake_serial_process): Remove unnecessary initialization. + + 2013-06-17 Paul Eggert <eggert@cs.ucla.edu> + + * frame.c (x_report_frame_params): Cast parent_desc to uintptr_t. + Needed if HAVE_NTGUI. Reported by Juanma Barranquero. + + * nsfont.m (ns_registry_to_script): Parenthesize while expression. + + 2013-06-17 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (w32_wnd_proc): Don't call WINDOW_HEADER_LINE_HEIGHT + unless we know that the window w's frame is a frame object. + Another attempt at solving bug#14062 and bug#14630. + + 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org> + + * textprop.c (property_set_type): New enum. + (add_properties): Allow appending/prepending text properties. + (add_text_properties_1): Factored out of Fadd_text_properties. + (Fadd_text_properties): Move all the code into + add_text_properties_1. + (Fadd_face_text_property): New function that calls + add_text_properties_1. + + 2013-06-17 Paul Eggert <eggert@cs.ucla.edu> + + Move functions from lisp.h to individual modules when possible. + From a suggestion by Andreas Schwab in <http://bugs.gnu.org/11935#68>. + * alloc.c (XFLOAT_INIT, set_symbol_name): + * buffer.c (CHECK_OVERLAY): + * chartab.c (CHECK_CHAR_TABLE, set_char_table_ascii) + (set_char_table_parent): + * coding.c (CHECK_NATNUM_CAR, CHECK_NATNUM_CDR): + * data.c (BOOLFWDP, INTFWDP, KBOARD_OBJFWDP, OBJFWDP, XBOOLFWD) + (XKBOARD_OBJFWD, XINTFWD, XOBJFWD, CHECK_SUBR, set_blv_found) + (blv_value, set_blv_value, set_blv_where, set_blv_defcell) + (set_blv_valcell): + * emacs.c (setlocale) [!HAVE_SETLOCALE]: + * eval.c (specpdl_symbol, specpdl_old_value, specpdl_where) + (specpdl_arg, specpdl_func, backtrace_function, backtrace_nargs) + (backtrace_args, backtrace_debug_on_exit): + * floatfns.c (CHECK_FLOAT): + * fns.c (CHECK_HASH_TABLE, CHECK_LIST_END) + (set_hash_key_and_value, set_hash_next, set_hash_next_slot) + (set_hash_hash, set_hash_hash_slot, set_hash_index) + (set_hash_index_slot): + * keymap.c (CHECK_VECTOR_OR_CHAR_TABLE): + * marker.c (CHECK_MARKER): + * textprop.c (CHECK_STRING_OR_BUFFER): + * window.c (CHECK_WINDOW_CONFIGURATION): + Move here from lisp.h, and make these functions static rather than + extern inline. + * buffer.c (Qoverlayp): + * data.c (Qsubrp): + * fns.c (Qhash_table_p): + * window.c (Qwindow_configuration_p): + Now static. + * lisp.h: Remove the abovementioned defns and decls. + + Use functions, not macros, for XINT etc (Bug#11935). + In lisp.h, prefer functions to function-like macros, and + constants to object-like macros, when either will do. This: + . simplifies use, as there's no more need to worry about + arguments' side effects being evaluated multiple times. + . makes the code easier to debug on some platforms. + However, when using gcc -O0, keep using function-like macros + for a few critical operations, for performance reasons. + This sort of thing isn't needed with gcc -Og, but -Og + is a GCC 4.8 feature and isn't widely-enough available yet. + * alloc.c (gdb_make_enums_visible) [USE_LSB_TAG]: + Remove enum lsb_bits; no longer needed. + (allocate_misc, free_misc): Don't use XMISCTYPE as an lvalue. + * buffer.c (Qoverlap): + * data.c (Qsubrp): + * fns.c (Qhash_table_p): + Now extern, so lisp.h can use these symbols. + * dispextern.h: Include character.h, for MAX_CHAR etc. + (GLYPH, GLYPH_CHAR, GLYPH_FACE, SET_GLYPH_CHAR, SET_GLYPH_FACE) + (SET_GLYPH, GLYPH_CODE_CHAR, GLYPH_CODE_FACE) + (SET_GLYPH_FROM_GLYPH_CODE, GLYPH_MODE_LINE_FACE, GLYPH_CHAR_VALID_P) + (GLYPH_CODE_P): Move here from lisp.h. + (GLYPH_CHAR, GLYPH_FACE, GLYPH_CODE_CHAR, GLYPH_CODE_FACE) + (GLYPH_CHAR_VALID_P, GLYPH_CODE_P): Now functions, not macros. + (GLYPH_MODE_LINE_FACE): Now enums, not macros. + * eval.c (Fautoload): Cast XUNTAG output to intptr_t, since + XUNTAG now returns void *. + * lisp.h (lisp_h_XLI, lisp_h_XIL, lisp_h_CHECK_LIST_CONS) + (lisp_h_CHECK_NUMBER CHECK_SYMBOL, lisp_h_CHECK_TYPE) + (lisp_h_CONSP, lisp_h_EQ, lisp_h_FLOATP, lisp_h_INTEGERP) + (lisp_h_MARKERP, lisp_h_MISCP, lisp_h_NILP) + (lisp_h_SET_SYMBOL_VAL, lisp_h_SYMBOL_CONSTANT_P) + (lisp_h_SYMBOL_VAL, lisp_h_SYMBOLP, lisp_h_VECTORLIKEP) + (lisp_h_XCAR, lisp_h_XCDR, lisp_h_XCONS, lisp_h_XHASH) + (lisp_h_XPNTR, lisp_h_XSYMBOL): + New macros, renamed from their sans-lisp_h_ counterparts. + (XLI, XIL, CHECK_LIST_CONS, CHECK_NUMBER CHECK_SYMBOL) + (CHECK_TYPE, CONSP, EQ, FLOATP, INTEGERP, MARKERP) + (MISCP, NILP, SET_SYMBOL_VAL, SYMBOL_CONSTANT_P, SYMBOL_VAL, SYMBOLP) + (VECTORLIKEP, XCAR, XCDR, XCONS, XHASH, XPNTR, XSYMBOL): + If compiling via GCC without optimization, define these as macros + in addition to inline functions. + To disable this, compile with -DINLINING=0. + (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): New macros. + (check_cons_list) [!GC_CHECK_CONS_LIST]: Likewise. + (make_number, XFASTINT, XINT, XTYPE, XUNTAG): Likewise, but + hand-optimize only in the USE_LSB_TAG case, as GNUish hosts do that. + (INTMASK, VALMASK): Now macros, since static values cannot be + accessed from extern inline functions. + (VALMASK): Also a constant, for benefit of old GDB. + (LISP_INT_TAG_P): Remove; no longer needed as the only caller + is INTEGERP, which can fold it in. + (XLI, XIL, XHASH, XTYPE, XINT, XFASTINT, XUINT) + (make_number, XPNTR, XUNTAG, EQ, XCONS, XVECTOR, XSTRING, XSYMBOL) + (XFLOAT, XPROCESS, XWINDOW, XTERMINAL, XSUBR, XBUFFER, XCHAR_TABLE) + (XSUB_CHAR_TABLE, XBOOL_VECTOR, make_lisp_ptr, CHECK_TYPE) + (CHECK_STRING_OR_BUFFER, XCAR, XCDR, XSETCAR, XSETCDR, CAR, CDR) + (CAR_SAFE, CDR_SAFE, STRING_MULTIBYTE, SDATA, SSDATA, SREF, SSET) + (SCHARS, STRING_BYTES, SBYTES, STRING_SET_CHARS, STRING_COPYIN, AREF) + (ASIZE, ASET, CHAR_TABLE_REF_ASCII, CHAR_TABLE_REF) + (CHAR_TABLE_SET, CHAR_TABLE_EXTRA_SLOTS, SYMBOL_VAL, SYMBOL_ALIAS) + (SYMBOL_BLV, SYMBOL_FWD, SET_SYMBOL_VAL, SET_SYMBOL_ALIAS) + (SET_SYMBOL_BLV, SET_SYMBOL_FWD, SYMBOL_NAME, SYMBOL_INTERNED_P) + (SYMBOL_INTERNED_IN_INITIAL_OBARRAY_P, SYMBOL_CONSTANT_P) + (XHASH_TABLE, HASH_TABLE_P, CHECK_HASH_TABLE, HASH_KEY, HASH_VALUE) + (HASH_NEXT, HASH_HASH, HASH_INDEX, HASH_TABLE_SIZE) + (XMISC, XMISCANY, XMARKER, XOVERLAY, XSAVE_VALUE, XFWDTYPE) + (XINTFWD, XBOOLFWD, XOBJFWD, XBUFFER_OBJFWD, XKBOARD_OBJFWD) + (XFLOAT_DATA, XFLOAT_INIT, NILP, NUMBERP, NATNUMP) + (RANGED_INTEGERP, CONSP, FLOATP, MISCP, STRINGP, SYMBOLP) + (INTEGERP, VECTORLIKEP, VECTORP, OVERLAYP) + (MARKERP, SAVE_VALUEP, AUTOLOADP, INTFWDP, BOOLFWDP, OBJFWDP) + (BUFFER_OBJFWDP, KBOARD_OBJFWDP, PSEUDOVECTOR_TYPEP) + (PSEUDOVECTORP, WINDOW_CONFIGURATIONP, PROCESSP, WINDOWP) + (TERMINALP, SUBRP, COMPILEDP, BUFFERP, CHAR_TABLE_P) + (SUB_CHAR_TABLE_P, BOOL_VECTOR_P, FRAMEP, IMAGEP, ARRAYP) + (CHECK_LIST, CHECK_LIST_CONS, CHECK_LIST_END, CHECK_STRING) + (CHECK_STRING_CAR, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE) + (CHECK_VECTOR, CHECK_VECTOR_OR_STRING, CHECK_ARRAY) + (CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER, CHECK_WINDOW) + (CHECK_WINDOW_CONFIGURATION, CHECK_PROCESS, CHECK_SUBR) + (CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER, XFLOATINT) + (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT, CHECK_OVERLAY) + (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR, CHECK_NATNUM_CAR) + (CHECK_NATNUM_CDR, FUNCTIONP, SPECPDL_INDEX, LOADHIST_ATTACH) + Now functions. + (check_cons_list) [!GC_CHECK_CONS_LIST]: New empty function. + (LISP_MAKE_RVALUE, TYPEMASK): Remove; no longer needed. + (VALMASK): Define in one place rather than in two, merging the + USE_LSB_TAG parts; this is simpler. + (aref_addr, gc_aset, MOST_POSITIVE_FIXNUM, MOST_NEGATIVE_FIXNUM) + (max, min, struct Lisp_String, UNSIGNED_CMP, ASCII_CHAR_P): + Move up, to avoid use before definition. + Also include "globals.h" earlier, for the same reason. + (make_natnum): New function. + (XUNTAG): Now returns void *, not intptr_t, as this means fewer casts. + (union Lisp_Fwd, BOOLFWDP, BOOL_VECTOR_P, BUFFER_OBJFWDP, BUFFERP) + (CHAR_TABLE_P, CHAR_TABLE_REF_ASCII, CONSP, FLOATP, INTEGERP, INTFWDP) + (KBOARD_OBJFWDP, MARKERP, MISCP, NILP, OBJFWDP, OVERLAYP, PROCESSP) + (PSEUDOVECTORP, SAVE_VALUEP, STRINGP, SUB_CHAR_TABLE_P, SUBRP, SYMBOLP) + (VECTORLIKEP, WINDOWP, Qoverlayp, char_table_ref, char_table_set) + (char_table_translate, Qarrayp, Qbufferp, Qbuffer_or_string_p) + (Qchar_table_p, Qconsp, Qfloatp, Qintegerp, Qlambda, Qlistp, Qmarkerp) + (Qnil, Qnumberp, Qsubrp, Qstringp, Qsymbolp, Qvectorp) + (Qvector_or_char_table_p, Qwholenump, Ffboundp, wrong_type_argument) + (initialized, Qhash_table_p, extract_float, Qprocessp, Qwindowp) + (Qwindow_configuration_p, Qimage): New forward declarations. + (XSETFASTINT): Simplify by rewriting in terms of make_natnum. + (STRING_COPYIN): Remove; unused. + (XCAR_AS_LVALUE, XCDR_AS_LVALUE): Remove these macros, replacing with ... + (xcar_addr, xcdr_addr): New functions. All uses changed. + (IEEE_FLOATING_POINT): Now a constant, not a macro. + (GLYPH, GLYPH_CHAR, GLYPH_FACE, SET_GLYPH_CHAR, SET_GLYPH_FACE) + (SET_GLYPH, GLYPH_CODE_CHAR, GLYPH_CODE_FACE) + (SET_GLYPH_FROM_GLYPH_CODE, GLYPH_MODE_LINE_FACE, GLYPH_CHAR_VALID_P) + (GLYPH_CODE_P): Move to dispextern.h, to avoid define-before-use. + (TYPE_RANGED_INTEGERP): Simplify. + (Qsubrp, Qhash_table_p, Qoverlayp): New extern decls. + (setlocale, fixup_locale, synchronize_system_messages_locale) + (synchronize_system_time_locale) [!HAVE_SETLOCALE]: + Now empty functions, not macros. + (functionp): Return bool, not int. + * window.c (Qwindow_configuration_p): Now extern, + so window.h can use it. + * window.h (Qwindowp): Move decl back to lisp.h. + + 2013-06-15 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (Fline_pixel_height): New function, required for solving + bug #14567. + + 2013-06-15 Paul Eggert <eggert@cs.ucla.edu> + + * fns.c (Fcopy_sequence): Simplify XTYPE calculation. + + 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca> + + * lread.c (syms_of_lread): + * fns.c (Fprovide): Adjust to new format of after-load-alist. + + 2013-06-13 Kelly Dean <kellydeanch@yahoo.com> (tiny change) + + * fileio.c (Fdo_auto_save): Trap errors in auto-save-hook. (Bug#14479) + + 2013-06-12 Xue Fuqiao <xfq.free@gmail.com> + + * fileio.c (expand_file_name): Doc fix. + + 2013-06-11 Paul Eggert <eggert@cs.ucla.edu> + + Tickle glib by waiting for Emacs itself, not for process 0 (Bug#14569). + * process.c (init_process_emacs) [HAVE_GLIB && !WINDOWSNT]: + Wait for self, not for 0. This can't hurt on GNU or similar + system, and may help with Cygwin. + + * keyboard.c: Don't use PROP (...) as an lvalue. + (parse_tool_bar_item) [!USE_GTK && !HAVE_NS]: + Use set_prop (A, B), not PROP (A) = B. + + 2013-06-10 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (get_it_property): Use it->window instead of generating + a Lisp object from it->w. + + 2013-06-09 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (get_it_property): If it->object is a buffer, pass to + get-char-property the window that is being rendered, instead of + the buffer, to support window-specific overlays. (Bug#14575) + (compute_display_string_pos): When W is NULL, use the current + buffer as the object to pass to get-char-property. + (Fcurrent_bidi_paragraph_direction): Assign NULL to the window + pointer member of the bidi iterator, since no window is pertinent + to this function. + + 2013-06-08 Eli Zaretskii <eliz@gnu.org> + + * bidi.c (bidi_fetch_char): Accept additional argument, the window + being displayed, and pass it to compute_display_string_pos. + (bidi_level_of_next_char, bidi_resolve_explicit_1) + (bidi_paragraph_init): All callers changed. + + * xdisp.c (init_from_display_pos, init_iterator) + (handle_single_display_spec, next_overlay_string) + (get_overlay_strings_1, reseat_1, reseat_to_string) + (push_prefix_prop, Fcurrent_bidi_paragraph_direction): + Set bidi_it.w member from it->w. + (compute_display_string_pos): Accept additional argument, the + window being displayed, and pass it to Fget_char_property. + (Bug#14575) + + * dispextern.h (struct bidi_it): New member w, the window being + displayed. + (compute_display_string_pos): Adjust prototype. + + 2013-06-08 Jan Djärv <jan.h.d@swipnet.se> + + * xgselect.c: Remove unneeded include xterm.h. + + * process.c (wait_reading_process_output): Check for NS before GLIB. + GLIB may be linked in due to rsvg, but ns_select must be called. + + * xgselect.c (xg_select): Remove call to window_system_available + and g_main_context_pending at the top, so Gdk events (i.e. file + notify) are processed when Emacs is started with -nw. + + 2013-06-07 Eli Zaretskii <eliz@gnu.org> + + * Makefile.in (ctagsfiles1, ctagsfiles2): Don't include *.m files. + (ctagsfiles3): New variable, includes only *.m files. + (TAGS): Use an explicit language name in the regular expressions, + to avoid transformation of '/SOMETHING' by MSYS to + 'c:\MSYS\SOMETHING'. + + 2013-06-07 Richard Copley <rcopley@gmail.com> (tiny change) + + * epaths.in: Fix commentary to PATH_SITELOADSEARCH. + + 2013-06-06 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (note_mouse_highlight): When mouse-highlight is off, + still need to set the mouse pointer shape and activate help-echo. + (Bug#14558) + + 2013-06-06 Paul Eggert <eggert@cs.ucla.edu> + + A few porting etc. fixes for the new file monitor code. + See the thread containing + <http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00109.html>. + * gfilenotify.c (dir_monitor_callback, Fgfile_add_watch) + (Fgfile_rm_watch): Don't assume EMACS_INT is the same width as a pointer. + (dir_monitor_callback, Fgfile_rm_watch): + Use assq_no_quit instead of Fassoc, for speed. + (dir_monitor_callback, Fgfile_rm_watch): + eassert that the monitor is a fixnum. + (dir_monitor_callback): No need for CDR_SAFE. + Simplify building of lisp with alternative tails. + (Fgfile_add_watch, Fgfile_rm_watch): + Do not assume glib functions set errno reliably on failure. + (Fgfile_add_watch): Check that the monitor survives the XIL trick, + and signal an error otherwise. + (Fgfile_rm_watch): Prefer CONSP to !NILP. + Use Fdelq instead of Fdelete, for speed. + + 2013-06-05 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (handle_tool_bar_click): When mouse-highlight is off, + don't insist on being invoked on a highlighted tool-bar button. + Avoids losing tool-bar functionality when mouse-highlight is nil. + (note_tool_bar_highlight, note_mode_line_or_margin_highlight): + Don't highlight when mouse-highlight is nil. + (note_mouse_highlight): When mouse-highlight is nil, don't return + right away; instead, run tool-bar and mode-line highlight + subroutine, clear any existing highlight, and revert the mouse + pointer to its default shape. (Bug#14558) + + 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * lisp.mk (lisp): Add prog-mode.el. + + 2013-06-05 Paul Eggert <eggert@cs.ucla.edu> + + Chain glib's SIGCHLD handler from Emacs's (Bug#14474). + * process.c (dummy_handler): New function. + (lib_child_handler): New static var. + (handle_child_signal): Invoke it. + (catch_child_signal): If a library has set up a signal handler, + save it into lib_child_handler. + (init_process_emacs): If using glib and not on Windows, tickle glib's + child-handling code so that it initializes its private SIGCHLD handler. + * syssignal.h (SA_SIGINFO): Default to 0. + * xterm.c (x_term_init): Remove D-bus hack that I installed on May + 31; it should no longer be needed now. + + 2013-06-05 Michael Albinus <michael.albinus@gmx.de> + + * emacs.c (main) [HAVE_GFILENOTIFY]: Call globals_of_gfilenotify. + + * gfilenotify.c (globals_of_gfilenotify): New function. + (syms_of_gfilenotify): Move global initialization there. + + * lisp.h (globals_of_gfilenotify) [HAVE_GFILENOTIFY]: Add prototype. + + 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca> + + * keymap.c (Fcurrent_active_maps, Fdescribe_buffer_bindings): + * keyboard.c (menu_bar_items, tool_bar_items): + * doc.c (Fsubstitute_command_keys): Voverriding_terminal_local_map does + not override local keymaps any more. + + 2013-06-04 Eli Zaretskii <eliz@gnu.org> + + * window.c (Fpos_visible_in_window_p): Doc fix. (Bug#14540) + + 2013-06-03 Eli Zaretskii <eliz@gnu.org> + + * w32console.c (initialize_w32_display): Return the dimensions of + the console window via 2 additional arguments, not via the current + frame. This avoids crashes due to overrunning the bounds of + frame's decode_mode_spec_buffer, which is not resized following + the change of the frame dimensions from the initial 10x10. + + * w32term.h (w32_initialize_display_info): Adjust prototype. + + * term.c (init_tty): Take dimensions of the frame from the values + returned by initialize_w32_display. + + * Makefile.in (GFILENOTIFY_CFLAGS, GFILENOTIFY_LIBS): New variables. + (ALL_CFLAGS): Add $(GFILENOTIFY_CFLAGS). + (LIBES): Add $(GFILENOTIFY_LIBS). + + * w32inevt.c (handle_file_notifications): Add dummy implementation + for !HAVE_W32NOTIFY. + + * w32term.c: Wrap code with HAVE_W32NOTIFY. + + 2013-06-03 Jan Djärv <jan.h.d@swipnet.se> + + * xgselect.c: Replace #if defined ... with #ifdef HAVE_GLIB. + + * process.c (wait_reading_process_output): Call xg_select if HAVE_GLIB. + + * Makefile.in (XGSELOBJ): New, xgselect.o if GLib is used, or empty. + + 2013-06-03 Paul Eggert <eggert@cs.ucla.edu> + + Fix minor problems found by static checking. + * data.c (pure_write_error): + Use xsignal2, not Fsignal, as Fsignal might return. + * eval.c (set_backtrace_debug_on_exit): Now static. + (backtrace_p, backtrace_top, backtrace_next, record_in_backtrace): + No longer inline. EXTERN_INLINE is needed only for functions + defined in .h files. Reindent function header as per GNU style. + (backtrace_p, backtrace_top, backtrace_next): + Mark EXTERNALLY_VISIBLE so they don't get optimized away by the + compiler or linker. Add extern decls to pacify gcc -Wall. + * frame.c, frame.h (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): + Now static. + * frame.c (free_monitors): Define only on platforms that need it. + * nsterm.m (ns_term_init): + * process.c (catch_child_signal): + Don't worry about whether SIGCHLD is defined, as SIGCHLD is + defined on all porting targets these days. + * process.c, process.h (catch_child_signal): + Make it extern only if NS_IMPL_GNUSTEP is defined. + + 2013-06-03 Eli Zaretskii <eliz@gnu.org> + + * w32.c (gettimeofday): Make the signature identical to prototype + in nt/inc/sys/time.h. + + 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca> + + * eval.c (backtrace_p, backtrace_top, backtrace_next): Export them to + .gdbinit. + + * keyboard.c (safe_run_hooks_error): Improve error message. + + * data.c (pure_write_error): Add `object' argument. + * puresize.h (CHECK_IMPURE): Use it. + + 2013-06-03 Michael Albinus <michael.albinus@gmx.de> + + * Makefile.in (NOTIFY_OBJ): New variable. + (base_obj): Replace inotify.o by $(NOTIFY_OBJ). + + * emacs.c (main): Use HAVE_W32NOTIFY to wrap respective code. + Call syms_of_gfilenotify. + + * gfilenotify.c: New file. + + * keyboard.c (Qfile_notify): New variable. Replaces Qfile_inotify + and Qfile_w32notify. + (top): Wrap respective code by HAVE_GFILENOTIFY, HAVE_INOTIFY, + HAVE_W32NOTIFY and USE_FILE_NOTIFY. + + * lisp.h: Declare syms_of_gfilenotify. + + * termhooks.h (e): Wrap enum by USE_FILE_NOTIFY. + + 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca> + + Merge the specpdl and backtrace stacks. Make the structure of the + specpdl entries more obvious via a tagged union of structs. + * lisp.h (BITS_PER_PTRDIFF_T): New constant. + (enum specbind_tag): New enum. + (struct specbinding): Make it a tagged union of structs. + Add a case for backtrace records. + (specpdl_symbol, specpdl_old_value, specpdl_where, specpdl_arg) + (specpdl_func, backtrace_function, backtrace_nargs, backtrace_args) + (backtrace_debug_on_exit): New accessors. + (struct backtrace): Remove. + (struct catchtag): Remove backlist field. + * data.c (let_shadows_buffer_binding_p, let_shadows_global_binding_p): + Move to eval.c. + (Flocal_variable_p): Speed up the common case where the binding is + already loaded. + * eval.c (backtrace_list): Remove. + (set_specpdl_symbol, set_specpdl_old_value): Remove. + (set_backtrace_args, set_backtrace_nargs) + (set_backtrace_debug_on_exit, backtrace_p, backtrace_top) + (backtrace_next): New functions. + (Fdefvaralias, Fdefvar): Adjust to new specpdl format. + (unwind_to_catch, internal_lisp_condition_case) + (internal_condition_case, internal_condition_case_1) + (internal_condition_case_2, internal_condition_case_n): Don't bother + with backtrace_list any more. + (Fsignal): Adjust to new backtrace format. + (grow_specpdl): Move up. + (record_in_backtrace): New function. + (eval_sub, Ffuncall): Use it. + (apply_lambda): Adjust to new backtrace format. + (let_shadows_buffer_binding_p, let_shadows_global_binding_p): Move from + data.c. + (specbind): Adjust to new specpdl format. Simplify. + (record_unwind_protect, unbind_to): Adjust to new specpdl format. + (Fbacktrace_debug, Fbacktrace, Fbacktrace_frame): Adjust to new + backtrace format. + (mark_backtrace): Remove. + (mark_specpdl, get_backtrace, backtrace_top_function): New functions. + * xdisp.c (redisplay_internal): Use record_in_backtrace. + * alloc.c (Fgarbage_collect): Use record_in_backtrace. + Use mark_specpdl. + * profiler.c (record_backtrace): Use get_backtrace. + (handle_profiler_signal): Use backtrace_top_function. + * .gdbinit (xbacktrace, hookpost-backtrace): Use new backtrace + accessor functions. + + 2013-06-02 Jan Djärv <jan.h.d@swipnet.se> + + * process.h (catch_child_signal): Declare. + + * process.c (catch_child_signal): New function. + (init_process_emacs): Call it. + + * nsterm.m: Include process.h if NS_IMPL_GNUSTEP. + (ns_menu_bar_is_hidden, menu_will_open_state): Define only if + NS_IMPL_COCOA. + (x_set_cursor_type): Remove declaration. + (ns_update_begin): Only use r and bp if NS_IMPL_COCOA. + (ns_update_end, ns_focus, ns_unfocus): Remove GNUstep specific code. + (x_set_window_size): Remove 3 pixels from toolbar if NS_IMPL_GNUSTEP. + (ns_get_color): Use F suffix on float. + (ns_color_to_lisp, ns_query_color): Use EmacsCGFloat. + (ns_get_rgb_color): Remove. + (x_set_frame_alpha): Move view inside NS_IMPL_COCOA. + (note_mouse_movement): x and y are CGFloat. + (ns_draw_fringe_bitmap): Remove unused rowY. + Change #if to COCOA && >= 10_6. + (ns_draw_window_cursor): Remove unused overspill. + (ns_draw_underwave): width and x are EamcsCGFloat. + (ns_draw_box): thickness is CGFloat. + (ns_dumpglyphs_image): Change #if to COCOA && >= 10_6. + (ns_send_appdefined): When NS_IMPL_GNUSTEP, redirect to main thread + if not in main thread. + (ns_get_pending_menu_title, ns_check_menu_open) + (ns_check_pending_open_menu): Put inside #if COCOA && >= 10_5. + (ns_term_init): Call catch_child_signal if NS_IMPL_GNUSTEP && SIGCHLD. + (sendFromMainThread:): New method. + (changeFont:): size is CGFloat. + (keyDown:): Check for Delete when NS_IMPL_GNUSTEP. + Disable warning about permanent text. + (characterIndexForPoint:): Adjust return type depending on GNUstep + version. + (mouseDown:): delta is CGFloat. + (updateFrameSize): Remove unised variable f. + (initFrameFromEmacs): Move toggleButton inside NS_IMPL_COCOA. + Cast float to EmacsCGFloat. + (windowWillUseStandardFrame:defaultFrame:): Set maximized_height + also to -1 when restoring. + (windowDidExitFullScreen:): Put call to updateCollectionBehaviour + inside NS_IMPL_COCOA. + (toggleFullScreen:): Put call to toggleFullScreen inside + NS_IMPL_COCOA. Cast float to EmacsCGFloat. + (setPosition:portion:whole:): por is CGFloat. + (getMouseMotionPart:window:x:y:): Add F suffix to float. + (mouseDown:): Use CGFloat. + (mouseDragged:): Remove unised variable edge. + (EmacsDocument): Implement for NS_IMPL_GNUSTEP. + + * nsterm.h (EmacsCGFloat): Typedef for OSX and GNUstep when the size + of CGFloat differs. + (EmacsApp): New variable nextappdefined. Declare sendFromMainThread + when NS_IMPL_GNUSTEP. + (EmacsDocument): Declare when NS_IMPL_GNUSTEP. + (EmacsView): Remove unlockFocusNeedsFlush, add windowDidMove. + (EmacsToolbar): Add clearAll. Add tag argument to + addDisplayItemWithImage. + (EmacsSavePanel, EmacsOpenPanel): Remove getFilename and getDirectory. + + * nsselect.m (ns_get_local_selection): Remove unused variable type. + + * nsmenu.m (ns_update_menubar): Make static. + (x_activate_menubar): Surround with ifdef NS_IMPL_COCOA + (fillWithWidgetValue:): Add cast to SEL for setAction. + (addSubmenuWithTitle:forFrame:): Add cast to SEL for action. + (update_frame_tool_bar): Update code for GNUstep. + (clearAll): New method. + (addDisplayItemWithImage:idx:tag:helpText:enabled:): Handle new tag + argument. Call insertItemWithItemIdentifier when NS_IMPL_GNUSTEP. + Move identifierToItem setObject and activeIdentifiers addObject before + call to insertItemWithItemIdentifier. + (validateVisibleItems): Fix indentation. + (toolbarAllowedItemIdentifiers:): Return activeIdentifiers. + (initWithContentRect:styleMask:backing:defer:): Add ClosableWindow and + UtilityWindow to aStyle, remove call to setStyleMask. + + * nsimage.m (setXBMColor:, getPixelAtX:Y:): Use EmacsCGFloat. + + * nsfont.m (ns_attribute_fvalue, ns_spec_to_descriptor) + (ns_charset_covers, ns_get_covering_families, nsfont_open): + Use F suffix on floats. + (ns_char_width): Returns CGFloat. + (ns_ascii_average_width): w is CGFloat instead of float. + (nsfont_draw): cbuf and c are unsigned. Cast to char* in call to + DPSxshow. + (ns_glyph_metrics): CGFloat instead of float. + + * nsfns.m (x_set_foreground_color, x_set_background_color): + Use EmacsCGFloat. + (ns_implicitly_set_icon_type, Fx_create_frame): Make static, + remove unused variables. + (Fns_read_file_name): Keep track if panel is for save. + Use ns_filename_from_panel/ns_directory_from_panel. + (Fns_list_services): delegate only used for COCOA. + (Fns_convert_utf8_nfd_to_nfc): Remove warning for GNUstep. + Just return the input if GNUstep. + (x_screen_planes): Remove. + (Fxw_color_values): Use EmacsCGFloat + (Fns_display_monitor_attributes_list): Only get screen number for + Cocoa. + (getDirectory, getFilename): Remove from EmacsOpenPanel and + EmacsSavePanel. + (EmacsOpenPanel:ok:): Use ns_filename_from_panel and + ns_directory_from_panel. + + 2013-06-01 Paul Eggert <eggert@cs.ucla.edu> + + * process.c (handle_child_signal): Also use WCONTINUED. + This is so that list-processes doesn't mistakenly list the process + as stopped, when the process has actually been continued and is + now running. + + 2013-05-31 Paul Eggert <eggert@cs.ucla.edu> + + Don't let D-bus autolaunch mess up SIGCHLD handling (Bug#14474). + * xterm.c (x_term_init): Inhibit D-Bus autolaunch if D-Bus is + not already configured. + + * fileio.c (Finsert_file_contents): Remove unused local (Bug#8447). + + 2013-05-29 Eli Zaretskii <eliz@gnu.org> + + * Makefile.in (mostlyclean): Remove *.res files. + + 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * fileio.c (Finsert_file_contents): Preserve undo info when reverting + a buffer (bug#8447). + + 2013-05-27 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (pos_visible_p): When CHARPOS is displayed frrom a + display vector, and we backtrack, handle the case that the + previous character position is also displayed from a display + vector or covered by a display string or image. (Bug#14476) + + 2013-05-25 Jan Djärv <jan.h.d@swipnet.se> + + * xfns.c (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Remove. + (struct MonitorInfo, free_monitors): Remove. + (x_make_monitor_attribute_list): Call make_monitor_attribute_list. + (Fx_display_monitor_attributes_list): Call make_monitor_attribute_list. + (syms_of_xfns): Remove DEFSYM for Qgeometry, Qworkarea, Qmm_size, + Qframes, Qsource. + + * nsfns.m (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Remove. + (struct MonitorInfo, free_monitors): Remove. + (ns_screen_name): Make static. + (ns_make_monitor_attribute_list): Call make_monitor_attribute_list. + (syms_of_nsfns): Remove DEFSYM for Qgeometry, Qworkarea, Qmm_size, + Qframes, Qsource. + + * frame.h (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Declare. + (struct MonitorInfo): New struct. + (free_monitors, make_monitor_attribute_list): Declare. + + * frame.c (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): + New Lisp_Object:s. + (free_monitors, make_monitor_attribute_list): New functions. + (syms_of_frame): DEFSYM Qgeometry, Qworkarea, Qmm_size, Qframes, + Qsource. + + 2013-05-25 Xue Fuqiao <xfq.free@gmail.com> + + * callproc.c (call_process): Refine the doc string. (Bug#14045) + + 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c: Apply keyboard decoding only to events that come directly + from the tty, not from unread-command-events (bug#14368). + (read_event_from_main_queue): New function, extracted from read_char. + (read_decoded_char): Remove. + (read_decoded_event_from_main_queue): New function to replace it. + (read_char): Use it. + (read_key_sequence): Use read_char rather than read_decoded_char. + + * keyboard.c (read_decoded_char): Don't decode under w32 (bug#14403). + + 2013-05-22 Barry O'Reilly <gundaetiapo@gmail.com> + + * casetab.c (init_casetab_once): Fix last change (bug#14424). + + 2013-05-22 Kenichi Handa <handa@gnu.org> + + The following changes are to fix the setting of + buffer-file-coding-system on, for instance, C-x RET c unix RET + _FILE_OF_DOS_EOL_TYPE_ RET. + + * coding.h (struct coding_system): New member detected_utf8_chars. + + * coding.c (detect_coding_utf_8): Count characters and check EOL + format. Include CATEGORY_MASK_UTF_8_AUTO in detect_info->found if + BOM is there. + (setup_coding_system): Do not initialize coding->head_ascii. + (check_ascii): Do not set coding->eol_seen but update it. Do not + call adjust_coding_eol_type here. + (detect_coding): Fix detection of BOM for utf-8 and utf-16. + If the eol-type of CODING is already specified, adjust the eol type + of the found coding-system. + (decode_coding_gap): Cancel previous change. Utilize the + character numbers counted by detect_coding_utf_8. Fix detection + of BOM for utf-8. + + 2013-05-21 Barry O'Reilly <gundaetiapo@gmail.com> + + * search.c (looking_at_1): Only set last_thing_searched if the match + changed the match-data (bug#14281). + + 2013-05-21 Dmitry Antipov <dmantipov@yandex.ru> + + * xdisp.c (reseat_at_previous_visible_line_start): + Already declared in dispextern.h, so remove it here. + (move_it_vertically_backward): Likewise. + + 2013-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * xfns.c (check_x_display_info): Don't use XINT for terminal object. + (Fx_display_pixel_width, Fx_display_pixel_height) + (Fx_display_mm_width, Fx_display_mm_height): + Mention `display-monitor-attributes-list' in docstrings. + + * nsfns.m (ns_get_screen): Remove function. All uses removed. + (check_ns_display_info): Sync with check_x_display_info in xfns.c. + (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) + (Fx_display_screens, Fx_display_mm_width, Fx_display_mm_height) + (Fx_display_backing_store, Fx_display_visual_class) + (Fx_display_save_under, Fx_close_connection, Fxw_display_color_p) + (Fx_display_grayscale_p, Fx_display_pixel_width) + (Fx_display_pixel_height, Fx_display_planes) + (Fx_display_color_cells): Sync args and docstrings with xfns.c. + (Fx_display_screens): Don't confuse X11 screens with NS screens. + (Fx_display_mm_width, Fx_display_mm_height) + (Fx_display_pixel_width, Fx_display_pixel_width): Return width or + height for all physical monitors as in X11. + + * nsterm.m (x_display_pixel_width, x_display_pixel_height): + Return pixel width or height for all physical monitors as in X11. + + 2013-05-18 Paul Eggert <eggert@cs.ucla.edu> + + Port --enable-gcc-warnings to clang. + * bytecode.c (exec_byte_code): + * regex.c: + Redo diagnostic pragmas to pacify clang, too. + * dbusbind.c (xd_retrieve_arg): Do not use uninitialized variable. + * editfns.c (Fencode_time): + * fileio.c (file_accessible_directory_p): + * font.c (font_unparse_xlfd): + Use '&"string"[index]' instead of '"string" + (index)'. + * undo.c (user_error): Remove; unused. + + 2013-05-16 Eli Zaretskii <eliz@gnu.org> + + * insdel.c (insert_1_both): Document the arguments, instead of + referring to insert_1, which no longer exists. + + * xdisp.c (message_dolog): If the *Messages* buffer is shown in + some window, increment windows_or_buffers_changed, so that + *Messages* display in that window is updated. (Bug#14408) + + * w32.c: Include epaths.h. + (init_environment): Use cmdproxy.exe without leading directories. + Support emacs.exe in src; point SHELL to cmdproxy in ../nt in that + case. + (gettimeofday): Adjust signature and return value to Posix + expectations. + + * unexw32.c (open_output_file): Delete the existing emacs.exe + before creating it, to break the hard link to the versioned + executable. + + * Makefile.in (EMACS_MANIFEST, CM_OBJ, TEMACS_POST_LINK) + (ADDSECTION, EMACS_HEAPSIZE, MINGW_TEMACS_POST_LINK) + (FIRSTFILE_OBJ): New variables. + (W32_RES): Rename to EMACSRES. All users changed. + (base_obj): Use $(CM_OBJ). + (ALLOBJS): Use $(FIRSTFILE_OBJ). + (emacs$(EXEEXT)): Depend on $(ADDSECTION). + (temacs$(EXEEXT)): Use $(TEMACS_POST_LINK), and move + $(W32_RES_LINK) before $(LIBES). + (emacs.res): Depend on $(EMACS_MANIFEST). Put emacs.rc in nt. + + 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> + + * makefile.w32-in (DOC): Use just "DOC". + + * Makefile.in (bootstrap-clean): DOC-* doesn't exist any more. + + * process.c: Export default filters and sentinels to Elisp. + (Qinternal_default_process_sentinel, Qinternal_default_process_filter): + New constants. + (pset_filter, pset_sentinel, make_process, Fset_process_filter) + (Fset_process_sentinel, Fformat_network_address): + Default to them instead of nil. + (server_accept_connection): Sentinels can't be nil any more. + (read_and_dispose_of_process_output): New function, extracted from + read_process_output. + (read_process_output): Use it; filters can't be nil. + (Finternal_default_process_filter): New function, extracted from + read_process_output. + (exec_sentinel_unwind): Remove function. + (exec_sentinel): Don't zilch sentinel while running. + (status_notify): Sentinels can't be nil. + (Finternal_default_process_sentinel): New function extracted from + status_notify. + (setup_process_coding_systems): Default filter is not nil any more. + (syms_of_process): Export new Elisp functions and initialize + new constants. + * lisp.h (make_lisp_proc): New function. + + 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca> + + * regex.c (regex_compile) [\=, \>, \<]: Don't forget to set laststart. + + 2013-05-14 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (w32_wnd_proc): Don't call WINDOW_HEADER_LINE_HEIGHT + unless we know that the window w is a leaf window. + Another attempt at solving bug#14062. + + 2013-05-14 Jan Djärv <jan.h.d@swipnet.se> + + * nsfont.m (ns_spec_to_descriptor): Retain and autorelease + fdesc (Bug#14375). + + 2013-05-12 Paul Eggert <eggert@cs.ucla.edu> + + * image.c (gif_load): Check that subimages fit (Bug#14345). + + 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca> + + * lread.c (skip_dyn_eof): New function. + (read1): Use it to skip the end of a file in response to #@00. + + * doc.c (get_doc_string): Slightly relax the sanity checking. + + 2013-05-09 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m: Include IOGraphicsLib.h if Cocoa. + (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): Declare. + (MonitorInfo): New struct. + (free_monitors, ns_screen_name, ns_make_monitor_attribute_list) + (Fns_display_monitor_attributes_list): New functions. + (display-usable-bounds): Remove. + (syms_of_nsfns): DEFSYM Qgeometry, Qworkarea, Qmm_size, Qframes and + Qsource. + + 2013-05-09 Paul Eggert <eggert@cs.ucla.edu> + + * xterm.h (GTK_PREREQ): Remove, replacing with GTK_CHECK_VERSION. + (GTK_CHECK_VERSION): New macro, if not already defined. + All uses of GTK_PREREQ, GTK_MAJOR_VERSION, etc. + replaced by GTK_CHECK_VERSION. + + 2013-05-08 Paul Eggert <eggert@cs.ucla.edu> + + * xterm.h (GTK_PREREQ): New macro. + All simple uses of GTK_MAJOR_VERSION and GTK_MINOR_VERSION changed + to use this macro instead, for consistency and clarity. + + 2013-05-08 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (row_for_charpos_p): New function, with code of + cursor_row_p, but accepts an additional argument CHARPOS instead + of using a hardcoded PT. + (cursor_row_p): Call row_for_charpos_p with 2nd argument PT. + (row_containing_pos): Call row_for_charpos_p instead of partially + doing the same. Fixes cursor positioning under longlines-mode + when longlines-show-effect includes more than one newline, when + moving the cursor vertically up. + + 2013-05-08 Juanma Barranquero <lekktu@gmail.com> + + * makefile.w32-in (ACL_H): New macro. + ($(BLD)/fileio.$(O)): Update dependencies. + + 2013-05-07 Paul Eggert <eggert@cs.ucla.edu> + + Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295) + * Makefile.in (LIB_ACL): New macro. + (LIBACL_LIBS): Remove. + (LIBES): Use LIB_ACL, not LIBACL_LIBS. + * fileio.c: Include <acl.h>. + Use HAVE_ACL_SET_FILE rather than HAVE_POSIX_ACL. + (ACL_NOT_WELL_SUPPORTED): Remove. All uses replaced by + !acl_errno_valid. + (Fcopy_file) [!WINDOWSNT]: Use qcopy_acl instead of rolling + it ourselves. + + * unexelf.c: Don't assume ElfW (Half) fits in int. + (entry_address, find_section, unexec): Use ptrdiff_t, not int, + when dealing with ElfW (Half) values, since they can exceed 2**31 + on 64-bit OpenBSD hosts. Reported by Han Boetes (privately). + (entry_address): Omit unused NUM arg. All uses changed. + + 2013-05-07 Juri Linkov <juri@jurta.org> + + * callint.c (Fcall_interactively): Set `visargs[i]' for code 'n' + to the string converted from number with `Fnumber_to_string'. + (Bug#14254) + + 2013-05-07 Paul Eggert <eggert@cs.ucla.edu> + + * xfns.c (x_get_net_workarea): Define only if !GTK || GTK<3.4. + This fixes a problem introduced by my previous change. + + 2013-05-07 Glenn Morris <rgm@gnu.org> + + * lread.c (readchar): Don't read from a dead buffer. (Bug#14280) + + 2013-05-07 Jan Djärv <jan.h.d@swipnet.se> + + * xfns.c: Move misplaced ifndef USE_GTK from previous checkin. + + 2013-05-07 Paul Eggert <eggert@cs.ucla.edu> + + Static checking by GCC 4.8.0. + * xfns.c (x_get_net_workarea, struct MonitorInfo, free_monitors) + (x_get_monitor_for_frame, x_make_monitor_attribute_list) + (x_get_monitor_attributes_fallback) + (x_get_monitor_attributes_xinerama) + (x_get_monitor_attributes_xrandr, x_get_monitor_attributes): + Define only if USE_GTK. + (free_monitors): Define only if HAVE_XINERAMA || HAVE_XRANDR. + (x_get_monitor_attributes_fallback): Omit unused locals. + (x_get_monitor_attributes_xinerama, Fx_display_monitor_attributes_list): + Use double, not float, to avoid mixed-mode floating point arithmetic. + + 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + Jan Djärv <jan.h.d@swipnet.se> + + * Makefile.in (XRANDR_LIBS, XRANDR_CFLAGS, XINERAMA_LIBS) + (XINERAMA_CFLAGS): New macros. + (ALL_CFLAGS, LIBES): Use them. + + * xfns.c: Include <X11/extensions/Xrandr.h> if HAVE_XRANDR, and + include <X11/extensions/Xinerama.h> if HAVE_XINERAMA. + (Qgeometry, Qworkarea, Qmm_size, Qframes, Qsource): New variables. + (syms_of_xfns): DEFSYM them. + (struct MonitorInfo): New struct. + (x_get_net_workarea, free_monitors, x_get_monitor_for_frame) + (x_make_monitor_attribute_list, x_get_monitor_attributes_fallback) + (x_get_monitor_attributes_xrandr, x_get_monitor_attributes) + (x_get_monitor_attributes_xinerama): New functions. + (Fx_display_monitor_attributes_list): New primitive. + (syms_of_xfns): Defsubr it. + + * xterm.h (x_display_info): Add Xatom_net_workarea and + Xatom_net_current_desktop. + + * xterm.c (x_term_init): Initialize dpyinfo->Xatom_net_workarea + and dpyinfo->Xatom_net_current_desktop. + + 2013-05-06 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (pos_visible_p): Use the special code for finding the + beginning of a display property or overlay for any "replacing" + display property, not just for display strings. This solves + incorrect reporting of position by posn-at-point. (Bug#14241) + + 2013-05-06 Paul Eggert <eggert@cs.ucla.edu> + + * unexelf.c: Fix some 32-bit integer problems, notably when debugging. + Include <limits.h>, <stdbool.h>, <intprops.h>, <verify.h>. + Verify that ElfW (Half) fits in int. + (fatal): Use same signature as lisp.h. + (UNEXELF_DEBUG): New macro, replacing DEBUG, so that people can + configure and build with -DUNEXELF_DEBUG without worrying about + other modules that use DEBUG. + (DEBUG_LOG) [UNEXELF_DEBUG]: New macro. All debug code that prints + possibly-wide integers now uses it instead of plain fprintf. + (entry_address): New function, which avoids problems with 32-bit + overflow on 64-bit hosts. + (OLD_SECTION_H, NEW_SECTION_H, NEW_PROGRAM_H): Use it. + (round_up): Don't assume the remainder fits in int. + (find_section): Use bool for boolean. Simplify debug code. + (unexec): Don't assume file sizes fit in int or size_t. + Omit unnecessary trailing newline in 'fatal' format. + Use strerror rather than outputting decimal error number. + Remove unused code when emacs is not defined; + this file relies on Emacs now. + Don't assume e_phnum and e_shnum are positive. + + * regex.c: Fix problems when DEBUG is defined. + (extract_number, extract_number_and_incr): Define regardless of + whether DEBUG is defined; that's simpler and makes the code less + likely to go stale in the normal case when DEBUG is not defined. + Return int rather than taking an int * arg. All callers changed. + (DEBUG_PRINT1, DEBUG_PRINT2, DEBUG_PRINT3, DEBUG_PRINT4): + Remove, replacing with ... + (DEBUG_PRINT): New macro. All callers changed. + (DEBUG_COMPILES_ARGUMENTS): New macro. + (print_fastmap, print_partial_compiled_pattern) [DEBUG]: + (print_compiled_pattern, print_double_string) [DEBUG]: + Use prototype rather than old-style definition. + (print_partial_compiled_pattern, print_compiled_pattern) [DEBUG]: + (ENSURE_FAIL_STACK, PUSH_FAILURE_REG) [DEBUG]: + (POP_FAILURE_REG_OR_COUNT, PUSH_FAILURE_POINT) [DEBUG]: + (POP_FAILURE_POINT, re_match_2_internal) [DEBUG]: + Don't assume ptrdiff_t, size_t, and long are the same width as int. + (POINTER_TO_OFFSET): Return ptrdiff_t, not regoff_t. + This matters only when DEBUG is defined. + + 2013-05-05 Eli Zaretskii <eliz@gnu.org> + + * xdisp.c (set_iterator_to_next): Set the + ignore_overlay_strings_at_pos_p flag only if we are _really_ + iterating over an overlay string, as indicated by the + current.overlay_string_index member. (Bug#14306) + + 2013-05-05 Jan Djärv <jan.h.d@swipnet.se> + + * nsmenu.m (ns_update_menubar): Move initialization of submenuTitle + to where it is used, to avoid autorelease issues (Bug#14050). + + 2013-05-05 Paul Eggert <eggert@cs.ucla.edu> + + `write-region-inhibit-fsync' defaults to noninteractive (Bug#14273). + * fileio.c (syms_of_fileio): Implement this. + * filelock.c (create_lock_file): If symbolic links don't work, so + we use a regular file as a lock file, do not fsync the lock file; + it's not needed. + + 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca> + + * minibuf.c (Fread_minibuffer, Feval_minibuffer): Move to Elisp. + (syms_of_minibuf): Adjust accodingly. + * lread.c (Fread): + * callint.c (Fcall_interactively): Adjust calls accordingly. + + 2013-05-04 Eli Zaretskii <eliz@gnu.org> + + * dispextern.h (WINDOW_WANTS_HEADER_LINE_P): Verify that + w->contents is a buffer before computing everything else. + Use parentheses to disambiguate last part of the condition. + + * w32fns.c (w32_wnd_proc): Remove temporary code used to trap + assertion violations. (Bug#14062) + + 2013-05-01 David Reitter <david.reitter@gmail.com> + + * nsfns.m (ns_tooltip): Initialize. + + 2013-04-28 Eli Zaretskii <eliz@gnu.org> + + * coding.c (decode_coding_gap): Don't remove the character before + a newline unless it's a CR character. (Bug#14287) + + 2013-04-28 Dan Nicolaescu <dann@gnu.org> + + * dispextern.h (struct face): Move enum face_underline_type + earlier so that bitfields can be in the same word. + + 2013-04-28 Jan Djärv <jan.h.d@swipnet.se> + + * nsfns.m (handlePanelKeys): New function. + (EmacsOpenPanel:performKeyEquivalent:) + (EmacsSavePanel:performKeyEquivalent:): Call handlePanelKeys to handle + arrows/function/control and copy/paste keys (Bug#14296). + + 2013-04-27 Juri Linkov <juri@jurta.org> + + * callint.c (Fcall_interactively): Call `Qread_number' for + interactive code letter `n' instead of using duplicate code. + (Bug#14254) + + 2013-04-27 Paul Eggert <eggert@cs.ucla.edu> + + * systime.h (make_timeval): Declare as 'const'. + + 2013-04-27 Kenichi Handa <handa@gnu.org> + + * font.c (font_open_entity): Always open a font of manageable + size. + + 2013-04-26 Paul Eggert <eggert@cs.ucla.edu> + + Port better to AIX (Bug#14258). + * lisp.h (ENUM_BF) [__IBMC__]: Make it 'unsigned int' here, too, + to pacify AIX xlc. + + 2013-04-24 Kenichi Handa <handa@gnu.org> + + * coding.c (decode_coding_iso_2022): When an invalid escape + sequence is encountered, reset the invocation and designation + status to the safest one. + + 2013-04-22 Paul Eggert <eggert@cs.ucla.edu> + + * Makefile.in (bootstrap-clean): Remove stamp-h1 too. + Without this fix, "make distclean" leaves stamp-h1 behind. + + 2013-04-20 Erik Charlebois <erikcharlebois@gmail.com> + + * w32fns.c (w32_fullscreen_rect): New function to compute the + window rectangle for the given fullscreen mode. + (w32_wnd_proc): When in a fullscreen mode, WM_WINDOWPOSCHANGING no + longer tunes the window size. This keeps the window's edges flush + with the screen and allows the taskbar to hide itself in fullboth. + + * w32term.c (w32fullscreen_hook): 'fullboth' now shows without + window decorations and uses the entire screen. + + * w32term.h (w32_fullscreen_rect) Add prototype. + (struct w32_output): Replace normal_width, normal_height, + normal_top, and normal_left members with a single normal_placement + struct. + (FRAME_NORMAL_WIDTH, FRAME_NORMAL_HEIGHT, FRAME_NORMAL_TOP): + Remove macros. + (FRAME_NORMAL_PLACEMENT): New macro. + + 2013-04-16 Juanma Barranquero <lekktu@gmail.com> + + * minibuf.c (Ftest_completion): Silence compiler warning. + + 2013-04-15 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (w32_wnd_proc): Add more assertions to investigate + bug#14062. + + * frame.h (WINDOW_FRAME): Protect macro and its argument with + parentheses. + + * dispextern.h (CURRENT_MODE_LINE_HEIGHT) + (CURRENT_HEADER_LINE_HEIGHT, WINDOW_WANTS_MODELINE_P) + (WINDOW_WANTS_HEADER_LINE_P): Protect macro arguments with + parentheses where appropriate. + + 2013-04-14 Paul Eggert <eggert@cs.ucla.edu> + + * keyboard.c (timer_start_idle): Remove no-longer-used local. + + 2013-04-14 Eli Zaretskii <eliz@gnu.org> + + * buffer.c (syms_of_buffer) <left-margin-width, right-margin-width>: + <left-fringe-width, right-fringe-width, fringes-outside-margins>: + Mention in the doc string that setting these variables takes + effect only after a call to set-window-buffer. (Bug#14200) + + 2013-04-13 Eli Zaretskii <eliz@gnu.org> + + * indent.c (Fvertical_motion): Don't consider display strings on + overlay strings as display strings on the buffer position we + started from. This prevents vertical cursor motion from jumping + more than one line when there's an overlay string with a display + property at end of line. + Reported by Karl Chen <Karl.Chen@quarl.org> in + http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00362.html. + + 2013-04-12 Stefan Monnier <monnier@iro.umontreal.ca> + + * window.c (select_window): `record_buffer' even if window is + already selected (bug#14191). + + 2013-04-11 Eli Zaretskii <eliz@gnu.org> + + * window.c (Fwindow_end): Test more flags, including the buffer's + last_overlay_modified flag, to determine whether the window's + display is really up-to-date. Prevents the function from + returning a stale value. (Bug#14170) + (Fwindow_line_height): Fix the test for up-to-date-ness of the + current matrix. + + 2013-04-10 Eli Zaretskii <eliz@gnu.org> + + * frame.c (do_switch_frame): Mark the TTY frame we switch to as + garbaged only if it is not already the top frame on its TTY. + This prevents flickering due to constant redrawing of TTY frames when + there are GUI frames open in the same session. (Bug#13864) + + 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca> + + * keyboard.c (timer_start_idle): Call internal-timer-start-idle instead + of marking the idle timers directly. + + 2013-04-09 Stefan Monnier <monnier@iro.umontreal.ca> + + * minibuf.c (Ftest_completion): Ignore non-string/symbol keys in hash + tables (bug#14054). + + 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca> + + * window.c (select_window): Don't record_buffer while the invariant is + temporarily broken (bug#14161). + + * fns.c (Fdelq): Don't assume !NILP => CONSP. + + 2013-04-07 Eli Zaretskii <eliz@gnu.org> + + * fileio.c (ACL_NOT_WELL_SUPPORTED): Define macro for WINDOWSNT. + + 2013-04-07 Romain Francoise <romain@orebokech.com> + + Ignore additional platform-specific ACL errors (Bug#13702). + * fileio.c (ACL_NOT_WELL_SUPPORTED): New macro copied from gnulib. + (Fcopy_file, Fset_file_acl) [HAVE_POSIX_ACL]: Use it. + + 2013-03-31 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (ns_mouse_position): Use NS_FRAME_P instead of checking + f->output_data.ns. + + 2013-04-07 Paul Eggert <eggert@cs.ucla.edu> + + Fix --enable-profiling bug introduced by 2013-02-25 change (Bug#13783). + This bug was introduced by my 2013-02-25 change that simplified + data_start configuration. Without this change, on GNU/Linux + an Emacs configured with --enable-profiling fails immediately + due to a profiler signal. + * Makefile.in: Compile with $(PROFILING_CFLAGS), but do not link + with these flags. On platforms where special flags are needed + when linking temacs, the flags are now in LD_SWITCH_SYSTEM_TEMACS. + (ALL_CFLAGS): Remove $(PROFILING_CFLAGS). + (.c.o, .m.o): Compile with $(PROFILING_CFLAGS). + + 2013-04-07 Dmitry Antipov <dmantipov@yandex.ru> + + Get rid of some platform-specific functions examining window + system and its capabilities. This is a partial rework of the + 2013-04-05 change. + * lisp.h (have_menus_p): Remove prototype. This function is + replaced with platform-independent window_system_available. + (check_window_system): Move to... + * frame.h (decode_window_system_frame, window_system_available): + ...here, add new prototypes. + * frame.c (window_system_available, decode_window_system_frame): + New functions. + (check_window_system): Platform-independent now. + * xterm.h (x_in_use): Remove declaration. + (check_x_frame): + * w32term.h (check_x_frame): + * nsterm.h (check_x_frame): Remove prototypes. This function + is replaced with platform-independent decode_window_system_frame. + * msdos.c (have_menus_p): Remove. + * nsfns.m (check_window_system, have_menus_p, check_ns_frame): + Remove platform-specific functions. Use check_window_system, + decode_window_system_frame and check_ns_display_info where + appropriate. Minor style and comment tweaks. + * w32fns.c (w32_in_use, check_window_system, have_menus_p) + (check_x_frame): Likewise. + * xfns.c (x_in_use, check_window_system, have_menus_p, check_x_frame): + Likewise. + * fileio.c, fns.c, font.c, fontset.c, image.c, menu.c, nsmenu.m: + * nsselect.m, nsterm.m, w32font.c, w32menu.c, xfaces.c, xgselect.c: + * xmenu.c, xselect.c: All related users changed. + + 2013-04-03 Kenichi Handa <handa@gnu.org> + + The following changes is to optimize the code for reading UTF-8 + files. + + * coding.c (check_ascii): Rename from detect_ascii. Return value + changed. Check EOL format. Do not call adjust_coding_eol_type + here. + (check_utf_8): New function. + (adjust_coding_eol_type): Do nothing if already adjusted. + (detect_coding): Compare the return value of check_ascii with + coding->src_bytes. Call adjust_coding_eol_type if necessary. + (decode_coding_gap): Optimize for valid UTF-8. + + 2013-03-21 Kenichi Handa <handa@gnu.org> + + * coding.c (syms_of_coding): Cancel previous change. + + * insdel.c (insert_from_gap): Fix previous change. + + 2013-04-05 Dmitry Antipov <dmantipov@yandex.ru> + + Consistently use platform-specific function to detect window system. + * lisp.h (check_window_system): New prototype. This function is + going to replace check_x, check_w32 and check_ns. + (have_menus_p): Mention msdos.c in comment. + * fontset.c (check_window_system_func): Remove. Adjust all users. + * fontset.h (check_window_system_func): Remove prototype. + * nsterm.h (check_ns): + * xterm.h (check_x): + * w32term.h (check_w32): Likewise. + * menu.c (Fx_popup_menu): Use check_window_system. + * msdos.c (check_window_system): Define for MS-DOS. + * nsfns.m (check_window_system): Define for NS. Adjust all users. + * w32fns.c (check_window_system): Likewise for MS-Windows. + * xfns.c (check_window_system): Likewise for X. + * font.c, frame.c, nsmenu.m, nsselect.m, nsterm.m, w32menu.c: + * xfaces.c, xmenu.c: Use check_window_system where appropriate. + + 2013-04-02 Paul Eggert <eggert@cs.ucla.edu> + + Prefer < to > in range checks such as 0 <= i && i < N. + This makes it easier to visualize quantities on a number line. + This patch doesn't apply to all such range checks, + only to the range checks affected by the 2013-03-24 change. + This patch reverts most of the 2013-03-24 change. + * alloc.c (xpalloc, Fgarbage_collect): + * ccl.c (ccl_driver, resolve_symbol_ccl_program): + * character.c (string_escape_byte8): + * charset.c (read_hex): + * data.c (cons_to_unsigned): + * dispnew.c (update_frame_1): + * doc.c (Fsubstitute_command_keys): + * doprnt.c (doprnt): + * editfns.c (hi_time, decode_time_components): + * fileio.c (file_offset): + * fns.c (larger_vector, make_hash_table, Fmake_hash_table): + * font.c (font_intern_prop): + * frame.c (x_set_alpha): + * gtkutil.c (get_utf8_string): + * indent.c (check_display_width): + * keymap.c (Fkey_description): + * lisp.h (FIXNUM_OVERFLOW_P, vcopy): + * lread.c (read1): + * minibuf.c (read_minibuf_noninteractive): + * process.c (wait_reading_process_output): + * search.c (Freplace_match): + * window.c (get_phys_cursor_glyph): + * xdisp.c (redisplay_internal): + * xsmfns.c (smc_save_yourself_CB): + Prefer < to > for range checks. + * dispnew.c (sit_for): Don't mishandle NaNs. + This fixes a bug introduced in the 2013-03-24 change. + * editfns.c (decode_time_components): Don't hoist comparison. + This fixes another bug introduced in the 2013-03-24 change. + + 2013-03-31 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.h (struct frame): Drop scroll_bottom_vpos + member becaue all real users are dead long ago. + (FRAME_SCROLL_BOTTOM_VPOS): Remove. + * xdisp.c (redisplay_internal): Adjust user. + + 2013-03-30 Darren Hoo <darren.hoo@gmail.com> (tiny change) + + * nsmenu.m (showAtX:Y:for:): setLevel to + NSPopUpMenuWindowLevel (Bug#13998). + + 2013-03-30 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.h (ns_get_pending_menu_title, ns_check_menu_open) + (ns_check_pending_open_menu): Declare. + + * nsmenu.m (ns_update_menubar): Correct NSTRACE. + (x_activate_menubar): Update the menu with title that matches + ns_get_pending_menu_title, and call + ns_check_pending_openmenu (Bug#12698). + (menuWillOpen:): New method. + (menuNeedsUpdate:): Add check for ! COCOA || OSX < 10.5 (Bug#12698). + + * nsterm.m (menu_will_open_state, menu_mouse_point) + (menu_pending_title): New varaibles. + (ns_get_pending_menu_title, ns_check_menu_open) + (ns_check_pending_open_menu): New functions. + + 2013-03-29 Dmitry Antipov <dmantipov@yandex.ru> + + * indent.c (current_column_bol_cache): Remove leftover which is not + used in Fmove_to_column any more. + (current_column, scan_for_column): Adjust users. + * keyboard.c (last_point_position_buffer, last_point_position_window): + Remove leftovers which are not used for recording undo any more. + (command_loop_1, syms_of_keyboard): Adjust users. + * xdisp.c (last_max_ascent): Remove leftover which is not used in + redisplay_window any more. + (move_it_to): Adjust user. + + 2013-03-29 Juanma Barranquero <lekktu@gmail.com> + + * makefile.w32-in ($(BLD)/filelock.$(O), $(BLD)/filelock.$(O)): + Update dependencies. + + 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca> + + * lisp.h (save_type, XSAVE_POINTER, set_save_pointer, XSAVE_INTEGER) + (set_save_integer, XSAVE_OBJECT, XSAVE_VALUE): Move to avoid + forward references. + + 2013-03-28 Dmitry Antipov <dmantipov@yandex.ru> + + * window.h (struct window): Replace hchild, vchild and buffer slots + with a single slot 'contents'. This is possible because each valid + window may have either the child window (in vertical or horizontal + combination) or buffer to display (for the leaf window). Using that, + a lot of operations to traverse and/or change window hierarchies may + be simplified. New member horizontal is used to distinguish between + horizontal and vertical combinations of internal windows. + (WINDOW_LEAF_P, WINDOW_HORIZONTAL_COMBINATION_P) + (WINDOW_VERTICAL_COMBINATION_P): New macros. + (WINDOW_VALID_P, WINDOW_LIVE_P): Adjust to match struct window changes. + * window.c (wset_hchild, wset_vchild): Remove. Adjust all users. + Use contents slot, not buffer, where appropriate. + (wset_combination): New function. + (wset_buffer): Add eassert. + (Fframe_first_window): Simplify the loop reaching first window. + (Fwindow_buffer): Use WINDOW_LEAF_P. + (Fwindow_top_child): Use WINDOW_VERTICAL_COMBINATION_P. + (Fwindow_left_child): Use WINDOW_HORIZONTAL_COMBINATION_P. + (unshow_buffer): Convert initial debugging check to eassert. + (replace_window, recombine_windows, Fdelete_other_windows_internal) + (make_parent_window, window_resize_check, window_resize_apply) + (resize_frame_windows, Fsplit_window_internal, Fdelete_window_internal) + (Fset_window_configuration, delete_all_child_windows, save_window_save): + Adjust to match struct window changes. + (window_loop): Check for broken markers in CHECK_ALL_WINDOWS. + (mark_window_cursors_off, count_windows, get_leaf_windows) + (foreach_window_1): Simplify the loop. + * alloc.c (mark_object): Do not check for the leaf window because + internal windows has no glyph matrices anyway. + * dispnew.c (clear_window_matrices, showing_window_margins_p) + (allocate_matrices_for_window_redisplay, fake_current_matrices) + (allocate_matrices_for_frame_redisplay, free_window_matrices) + (build_frame_matrix_from_window_tree, mirror_make_current) + (frame_row_to_window, mirror_line_dance, check_window_matrix_pointers) + (update_window_tree, set_window_update_flags): Simplify the loop. + (sync_window_with_frame_matrix_rows): Enforce live window. + Use contents slot, not buffer, where appropriate. + * frame.c (set_menu_bar_lines_1): Use WINDOW_VERTICAL_COMBINATION_P + and WINDOW_HORIZONTAL_COMBINATION_P. + (make_frame_visible_1): Simplify the loop. + Use contents slot, not buffer, where appropriate. + * xdisp.c (hscroll_window_tree, mark_window_display_accurate) + (redisplay_windows, redisplay_mode_lines, update_cursor_in_window_tree) + (expose_window_tree): Likewise. + Use contents slot, not buffer, where appropriate. + * textprop.c (get_char_property_and_overlay): Add CHECK_LIVE_WINDOW + to avoid deleted windows. Use contents slot instead of buffer. + * buffer.c, dispextern.h, editfns.c, fileio.c, font.c, fringe.c: + * indent.c, insdel.c, keyboard.c, keymap.c, minibuf.c, msdos.c: + * nsfns.m, nsmenu.m, nsterm.m, print.c, w32fns.c, w32menu.c, xfaces.c: + * xfns.c, xmenu.c: Use contents slot, not buffer, where appropriate. + + 2013-03-28 Eli Zaretskii <eliz@gnu.org> + + * w32fns.c (w32_wnd_proc) [ENABLE_CHECKING]: Add code to help + identify the reasons for assertion violations in bug#14062 and + similar ones. + (Fx_show_tip): Fix compilation error under + "--enable-check-lisp-object-type". (Bug#14073) + + * image.c (g_error_free) [WINDOWSNT]: Add DEF_IMGLIB_FN. + Reported by <rzl24ozi@gmail.com>. + + 2013-03-28 Dmitry Antipov <dmantipov@yandex.ru> + + * xdisp.c (with_echo_area_buffer_unwind_data): Save window + start marker... + (unwind_with_echo_area_buffer): ...to restore it here. + This is needed to ensure that... + (redisplay_window): ...both window markers are valid here, + which is verified by eassert. + * editfns.c (save_excursion_save): Do not assume that + selected_window always displays the buffer. + * buffer.c (Fbuffer_swap_text): Adjust window start markers. + Fix comment. + + 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca> + + * casetab.c (init_casetab_once): Don't abuse the ascii eqv table for + the upcase table. + + 2013-03-27 rzl24ozi <rzl24ozi@gmail.com> (tiny changes) + + * image.c [WINDOWSNT]: Fix calls to DEF_IMGLIB_FN for SVG function. + + 2013-03-27 Eli Zaretskii <eliz@gnu.org> + + * w32proc.c (IsValidLocale) [__GNUC__]: Don't declare prototype, + since MinGW's w32api headers do. This avoids compiler warnings. + + * w32.c (FSCTL_GET_REPARSE_POINT) [_MSC_VER || _W64]: Don't define + if already defined. + + 2013-03-26 Eli Zaretskii <eliz@gnu.org> + + * w32.c (_REPARSE_DATA_BUFFER): Condition by _MSVC and _W64. + + 2013-03-26 Jan Djärv <jan.h.d@swipnet.se> + + * gtkutil.c (style_changed_cb): Check if frame is live and an + X frame (Bug#14038). + + 2013-03-26 Eli Zaretskii <eliz@gnu.org> + + * w32.c (_PROCESS_MEMORY_COUNTERS_EX) [_WIN32_WINNT < 0x0500]: + Define only for _WIN32_WINNT less than 0x0500. + (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT) [!_W64]: Don't define for + MinGW64. + Move inclusion of time.h before sys/time.h, so that MinGW64 could + see its own definitions of 'struct timeval' and 'struct timezone'. + + Fix incompatibilities between MinGW.org and MinGW64 headers. + * w32term.c (WCRANGE, GLYPHSET): Don't define if _W64 is defined. + + * w32.c (REPARSE_DATA_BUFFER): Guard with + MAXIMUM_REPARSE_DATA_BUFFER_SIZE being defined. + + 2013-03-25 Jan Djärv <jan.h.d@swipnet.se> + + * xterm.c: Include X11/XKBlib.h + (XTring_bell): Use XkbBell if HAVE_XKB (Bug#14041). + + 2013-03-24 Andreas Schwab <schwab@linux-m68k.org> + + * alloc.c (xpalloc, Fgarbage_collect): Reorder conditions that are + written backwards. + * blockinput.h (input_blocked_p): Likewise. + * bytecode.c (exec_byte_code): Likewise. + * callproc.c (call_process_kill, call_process_cleanup) + (Fcall_process): Likewise. + * ccl.c (ccl_driver, resolve_symbol_ccl_program) + (Fccl_execute_on_string): Likewise. + * character.c (string_escape_byte8): Likewise. + * charset.c (read_hex): Likewise. + * cm.c (calccost): Likewise. + * data.c (cons_to_unsigned): Likewise. + * dired.c (directory_files_internal, file_name_completion): + Likewise. + * dispnew.c (scrolling_window, update_frame_1, Fsleep_for) + (sit_for): Likewise. + * doc.c (Fsubstitute_command_keys): Likewise. + * doprnt.c (doprnt): Likewise. + * editfns.c (hi_time, decode_time_components, Fformat): Likewise. + * emacsgtkfixed.c: Likewise. + * fileio.c (file_offset, Fwrite_region): Likewise. + * floatfns.c (Fexpt, fmod_float): Likewise. + * fns.c (larger_vector, make_hash_table, Fmake_hash_table): + Likewise. + * font.c (font_intern_prop): Likewise. + * frame.c (x_set_alpha): Likewise. + * gtkutil.c (get_utf8_string): Likewise. + * indent.c (check_display_width): Likewise. + * intervals.c (create_root_interval, rotate_right, rotate_left) + (split_interval_right, split_interval_left) + (adjust_intervals_for_insertion, delete_node) + (interval_deletion_adjustment, adjust_intervals_for_deletion) + (merge_interval_right, merge_interval_left, copy_intervals) + (set_intervals_multibyte_1): Likewise. + * keyboard.c (gobble_input, append_tool_bar_item): Likewise. + * keymap.c (Fkey_description): Likewise. + * lisp.h (FIXNUM_OVERFLOW_P, vcopy): Likewise. + * lread.c (openp, read_integer, read1, string_to_number): + Likewise. + * menu.c (ensure_menu_items): Likewise. + * minibuf.c (read_minibuf_noninteractive): Likewise. + * print.c (printchar, strout): Likewise. + * process.c (create_process, Faccept_process_output) + (wait_reading_process_output, read_process_output, send_process) + (wait_reading_process_output): Likewise. + * profiler.c (make_log, handle_profiler_signal): Likewise. + * regex.c (re_exec): Likewise. + * regex.h: Likewise. + * search.c (looking_at_1, Freplace_match): Likewise. + * sysdep.c (get_child_status, procfs_ttyname) + (procfs_get_total_memory): Likewise. + * systime.h (EMACS_TIME_VALID_P): Likewise. + * term.c (dissociate_if_controlling_tty): Likewise. + * window.c (get_phys_cursor_glyph): Likewise. + * xdisp.c (init_iterator, redisplay_internal, redisplay_window) + (try_window_reusing_current_matrix, try_window_id, pint2hrstr): + Likewise. + * xfns.c (Fx_window_property): Likewise. + * xmenu.c (set_frame_menubar): Likewise. + * xselect.c (x_get_window_property, x_handle_dnd_message): + Likewise. + * xsmfns.c (smc_save_yourself_CB): Likewise. + * xterm.c (x_scroll_bar_set_handle): Likewise. + + 2013-03-24 Dmitry Antipov <dmantipov@yandex.ru> + + * xfaces.c (Finternal_face_x_get_resource): Allow 3rd (frame) argument + to be optional or nil. Adjust comment and convert it to docstring. + * xselect.c (Fx_send_client_event): Rename to Fx_send_client_message. + * frame.c (display_x_get_resource, Fx_get_resource): Break long line. + + 2013-03-24 Paul Eggert <eggert@cs.ucla.edu> + + Static checking by GCC 4.8-20130319. + * image.c (gif_load): Assume pass < 3 to pacify GCC. + * process.c (Fset_process_datagram_address) + (Fmake_network_process): Check get_lisp_to_sockaddr_size return value. + * xdisp.c (get_char_face_and_encoding) + (get_glyph_face_and_encoding): Ensure that *CHAR2B is initialized. + (get_glyph_face_and_encoding): Prepare face before possibly using it. + (get_per_char_metric): Don't use CHAR2B if it might not be initialized. + + 2013-03-24 Ken Brown <kbrown@cornell.edu> + + * w32fns.c (emacs_abort) [CYGWIN]: Define `_open' as a macro to + fix compilation on 64-bit Cygwin, where underscores are not + automatically prepended. + + * w32term.c (w32_initialize): Silence compiler warning. + + 2013-03-23 Eli Zaretskii <eliz@gnu.org> + + * w32term.c (w32fullscreen_hook): Use FRAME_NORMAL_WIDTH, + FRAME_NORMAL_HEIGHT, and FRAME_PREV_FSMODE, instead of static + variables, to save and restore frame dimensions. + Use FRAME_NORMAL_LEFT and FRAME_NORMAL_TOP to restore frame position + after returning from a 'fullscreen' configuration. + use SendMessage instead of PostMessage to send the SC_RESTORE message, + to avoid races between the main thread and the input thread. + + * w32term.h (struct w32_output): New members normal_width, + normal_height, normal_top, normal_left, and prev_fsmode. + (FRAME_NORMAL_WIDTH, FRAME_NORMAL_HEIGHT, FRAME_NORMAL_TOP) + (FRAME_NORMAL_LEFT, FRAME_PREV_FSMODE): New macros to access these + members of a frame. + + * w32term.c (w32fullscreen_hook): Record last value of the frame's + 'fullscreen' parameter. Always record previous width and height + of the frame, except when switching out of maximized modes, so + that they could be restored correctly, instead of resetting to the + default frame dimensions. Send SC_RESTORE command to the frame, + unless we are going to send SC_MAXIMIZE, to restore the frame + resize hints in the mouse pointer shown by the window manager. + (Bug#14032) + + * frame.c (get_frame_param): Now extern for WINDOWSNT as well. + + * lisp.h (get_frame_param): Adjust conditions for prototype + declaration. + + 2013-03-22 Ken Brown <kbrown@cornell.edu> + + * unexcw.c: Drop unneeded inclusion of w32common.h. + (report_sheap_usage): Declare. + (read_exe_header): Add magic numbers for x86_64. + (fixup_executable): Fix printf format specifier for unsigned long + argument. + + 2013-03-22 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.h (struct frame): Put menu_bar_window under #ifdef + because this member is not needed when X toolkit is in use. + (fset_menu_bar_window): + * dispnew.c (clear_current_matrices, clear_desired_matrices) + (free_glyphs, update_frame): + * xdisp.c (expose_frame): Likewise. + (display_menu_bar): Likewise. Remove redundant eassert. + * window.h (WINDOW_MENU_BAR_P): Always define to 0 if X + toolkit is in use. + + 2013-03-21 Paul Eggert <eggert@cs.ucla.edu> + + Use functions and constants to manipulate Lisp_Save_Value objects. + This replaces code that used macros and strings and token-pasting. + The change makes the C source a bit easier to follow, + and shrinks the Emacs executable a bit. + * alloc.c: Verify some properties of Lisp_Save_Value's representation. + (make_save_value): Change 1st arg from string to enum. All callers + changed. + (INTX): Remove. + (mark_object): Use if, not #if, for GC_MARK_STACK. + * lisp.h (SAVE_VALUEP, XSAVE_VALUE, XSAVE_POINTER, XSAVE_INTEGER) + (XSAVE_OBJECT): Now functions, not macros. + (STRING_BYTES_BOUND): Now just a macro, not a constant too; + the constant was never used. + (SAVE_SLOT_BITS, SAVE_VALUE_SLOTS, SAVE_TYPE_BITS, SAVE_TYPE_INT_INT) + (SAVE_TYPE_INT_INT_INT, SAVE_TYPE_OBJ_OBJ, SAVE_TYPE_OBJ_OBJ_OBJ) + (SAVE_TYPE_OBJ_OBJ_OBJ_OBJ, SAVE_TYPE_PTR_INT, SAVE_TYPE_PTR_OBJ) + (SAVE_TYPE_PTR_PTR, SAVE_TYPE_PTR_PTR_OBJ, SAVE_TYPE_MEMORY): + New constants. + (struct Lisp_Save_Value): Replace members area, type0, type1, type2, + type3 with a single member save_type. All uses changed. + (save_type, set_save_pointer, set_save_integer): New functions. + * print.c (PRINTX): Remove. + + * alloc.c: Remove redundant static declarations. + + 2013-03-20 Dmitry Antipov <dmantipov@yandex.ru> + + * window.h (struct window): Convert left_col, top_line, total_lines + and total_cols from Lisp_Objects to integers. Adjust comments. + (wset_left_col, wset_top_line, wset_total_cols, wset_total_lines): + Remove. + (WINDOW_TOTAL_COLS, WINDOW_TOTAL_LINES, WINDOW_LEFT_EDGE_COL) + (WINDOW_TOP_EDGE_LINE): Drop Lisp_Object to integer conversion. + * dispnew.c, frame.c, w32fns.c, window.c, xdisp.c, xfns.c: + Adjust users where appropriate. + + 2013-03-20 Dmitry Antipov <dmantipov@yandex.ru> + + * frame.h (struct frame): Drop resx and resy because the same data is + available from window system-specific output context. Adjust users. + (default_pixels_per_inch_x, default_pixels_per_inch_y): + New functions to provide defaults when no window system available. + (FRAME_RES_X, FRAME_RES_Y): New macros. + (NUMVAL): Move from xdisp.c. + * font.c (font_pixel_size, font_find_for_lface, font_open_for_lface) + (Ffont_face_attributes, Fopen_font): + * image.c (gs_load): + * w32font.c (fill_in_logfont): + * xdisp.c (calc_pixel_width_or_height): + * xfaces.c (Fx_family_fonts, set_lface_from_font): Use them. + * xsettings.c (apply_xft_settings): Drop frame loop and adjust comment. + + 2013-03-20 Kenichi Handa <handa@gnu.org> + + * coding.c (syms_of_coding): Initialize disable_ascii_optimization + to 1 (temporary workaround until a bug related to ASCII + optimization is fixed). + + 2013-03-19 Dmitry Antipov <dmantipov@yandex.ru> + + * window.c (Fwindow_combination_limit, Fset_window_combination_limit): + Signal error if window is not internal. Adjust docstring. + (delete_all_child_windows): Use combination_limit to save the buffer. + (Fset_window_configuration): Adjust accordingly. + * print.c (syms_of_print): Initialize debugging output not here... + (init_print_once): ...but in a new function here. + * lisp.h (init_print_once): Add prototype. + * emacs.c (main): Add call to init_print_once. Adjust comments. + + 2013-03-18 Dmitry Antipov <dmantipov@yandex.ru> + + * window.c (window_resize_check, window_resize_apply) + (window_from_coordinates, recombine_windows, set_window_buffer) + (make_parent_window, Fwindow_resize_apply, resize_frame_windows) + (Fsplit_window_internal, Fdelete_window_internal) + (freeze_window_starts): Use bool for booleans. + * window.h (window_frame_coordinates, resize_frame_windows) + (freeze_window_starts, set_window_buffer): Adjust prototypes. + + 2013-03-17 Stefan Monnier <monnier@iro.umontreal.ca> + + * dispnew.c (bitch_at_user): Use `user-error'. + + 2013-03-17 Ken Brown <kbrown@cornell.edu> + + * dispextern.h (RGB_PIXEL_COLOR): Move here from image.c. Use it + as return type of image_background. (Bug#13981) + * image.c (RGB_PIXEL_COLOR): Move to dispextern.h. + + 2013-03-16 Jan Djärv <jan.h.d@swipnet.se> + + * nsterm.m (updateFrameSize:): Change resize increments if needed. + (ns_select): Don't return with result uninitialized. + + * nsterm.h (EmacsSavePanel, EmacsOpenPanel): Add getFilename + and getDirectory. + + * nsfns.m (ns_filename_from_panel, ns_directory_from_panel): + New functions. + (Fns_read_file_name): ret is BOOL. If ! dir_only_p, don't choose + directories. If filename is nil, get directory name (Bug#13932). + Use getFilename and getDirectory. + (getFilename, getDirectory): New methods for EmacsSavePanel and + EmacsOpenPanel. + (ok:): In EmacsOpenPanel, if we can't choose directories, just return. + + 2013-03-15 Paul Eggert <eggert@cs.ucla.edu> + + * coding.c (decode_coding_gap): Fix typo caught by static checking. + + 2013-03-15 Kenichi Handa <handa@gnu.org> + + * insdel.c (insert_from_gap): New arg text_at_gap_tail. + (adjust_after_replace): Make it back to static. Delete the third + arg text_at_gap_tail. Cancel the code for handling it. + + * coding.h (struct coding_system): New member eol_seen. + + * coding.c (detect_ascii): New function. + (detect_coding): Set coding->head_ascii and coding->eol_seen only + when the source bytes are actually scanned. On detecting for + coding_category_utf_8_auto, call detect_ascii instead of scanning + source bytes directly. + (produce_chars): Call insert_from_gap with the new arg 0. + (encode_coding): Likewise. + (decode_coding_gap): Control ASCII optimization by the variable + disable_ascii_optimization instead of #ifndef .. #endif. + Deccode EOL format according to coding->eol_seen. + (syms_of_coding): Declare disable-ascii-optimization as a Lisp + variable. + + * lisp.h (adjust_after_replace): Cancel externing it. + (insert_from_gap): Adjust prototype. + + 2013-03-15 Eli Zaretskii <eliz@gnu.org> + + * w32term.c (w32fullscreen_hook): Swap FULLSCREEN_BOTH and + FULLSCREEN_MAXIMIZED. (Bug#13935) + + 2013-03-15 Dmitry Antipov <dmantipov@yandex.ru> + + * region-cache.c (find_cache_boundary, move_cache_gap) + (insert_cache_boundary, delete_cache_boundaries, set_cache_region): + Simplify debugging check and convert to eassert. Adjust comment. + (pp_cache): Put under ENABLE_CHECKING. + + 2013-03-14 Eli Zaretskii <eliz@gnu.org> + + * w32term.c (w32_read_socket) <WM_WINDOWPOSCHANGED>: Remove old + and incorrect code. Treat WM_WINDOWPOSCHANGED like WM_ACTIVATE + and WM_ACTIVATEAPP. + (w32fullscreen_hook): If the frame is visible, reset + f->want_fullscreen flag after changing the frame size. If the + frame is not visible, set f->want_fullscreen to FULLSCREEN_WAIT. + (Bug#13953) + + 2013-03-13 Daniel Colascione <dancol@dancol.org> + + * emacs.c (main): Call syms_of_cygw32 on CYGWIN non-NTGUI builds + too so that these builds can use Cygwin's file conversion + functions. (We've been building and linking cygw32.o all along + and just not using it.) + + 2013-03-13 Paul Eggert <eggert@cs.ucla.edu> + + File synchronization fixes (Bug#13944). + * Makefile.in (LIB_FDATASYNC): New macro. + (LIBES): Use it. + * conf_post.h (BSD_SYSTEM, BSD_SYSTEM_AHB): Remove; no longer needed. + * fileio.c (Fwrite_region, write_region_inhibit_fsync): + Don't worry about HAVE_FSYNC, since a substitute fsync is + available if the system lacks one. + (Fwrite_regin): Retry fsync if interrupted. + + 2013-03-13 Eli Zaretskii <eliz@gnu.org> + + * w32term.c (w32_read_socket): If the Emacs frame is being + activated, call w32fullscreen_hook, to make sure the new frame + dimensions are in effect. (Bug#13937) + + 2013-03-13 Dmitry Antipov <dmantipov@yandex.ru> + + * xdisp.c (init_iterator): Simplify because both character and byte + positions are either specified or -1. Add eassert. Adjust comment. + * window.c (Fscroll_other_window): Use SET_PT_BOTH because both + character and byte positions can be obtained from marker. + + 2013-03-13 Paul Eggert <eggert@cs.ucla.edu> + + Static checking by Sun C 5.12. + * alloc.c (buffer_memory_full) [REL_ALLOC]: + * bytecode.c (exec_byte_code): + * dispnew.c (init_display): + * eval.c (error): + * fileio.c (Fsubstitute_in_file_name): + * keyboard.c (Fevent_convert_list): + * keymap.c (Fsingle_key_description): + * term.c (maybe_fatal, fatal): + * xfns.c (Fx_display_backing_store, Fx_display_visual_class): + * xsmfns.c (Fhandle_save_session): + Omit unreachable code. + * keymap.c (map_keymap_char_table_item): Cast void * to + a function pointer type; the C Standard requires this. + + * sysdep.c: Remove a use of BSD_SYSTEM, which I'm trying to phase out. + Include <sys/param.h> unconditionally, as that works elsewhere and + is simpler here. Include <sys/sysctl.h> if DARWIN_OS || + __FreeBSD__, not if BSD_SYSTEM, since it's needed only for Darwin + and FreeBSD now. + + See ChangeLog.12 for earlier changes. + + ;; Local Variables: + ;; coding: utf-8 + ;; End: + + Copyright (C) 2011-2015 Free Software Foundation, Inc. + + This file is part of GNU Emacs. + + GNU Emacs is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + GNU Emacs is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.