------------------------------------------------------------ revno: 116094 committer: Glenn Morris branch nick: trunk timestamp: Tue 2014-01-21 00:49:46 -0800 message: ChangeLog fixes diff: === modified file 'ChangeLog' --- ChangeLog 2014-01-20 22:39:59 +0000 +++ ChangeLog 2014-01-21 08:49:46 +0000 @@ -29,11 +29,8 @@ 2014-01-08 Eric S. Raymond - * INSTALL.BZR: Renamed to INSTALL.REPO - * INSTALL, autogen.sh, etc/AUTHORS, etc/CONTRIBUTE, - lisp/emacs-lisp/authors.el, nt/INSTALL: Carry through the - above renaming. - * INSTALL.REPO: remove all references to any specific VCS. + * INSTALL.BZR: Rename to INSTALL.REPO. Remove refs to specific VCS. + * INSTALL, autogen.sh: Update for above change. 2014-01-05 Paul Eggert @@ -2079,9 +2076,8 @@ All uses changed to waitpid and WEXITSTATUS. Avoid needless autoheader after autogen.sh. - * src/stamp-h.in: Remove from bzr repository; no longer needed there. - * .bzrignore: Add it. - * autogen.sh: Create it. + * .bzrignore: Add src/stamp-h.in. + * autogen.sh: Create src/stamp-h.in. 2012-08-01 Glenn Morris @@ -3056,7 +3052,6 @@ (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. - * etc/NEWS: Mention --enable-gcc-warnings. * INSTALL (DETAILED BUILDING AND INSTALLATION): Likewise. * lib/Makefile.am (AM_CFLAGS): New macro. * m4/manywarnings.m4, m4/warnings.m4: New files, from gnulib. @@ -3998,7 +3993,7 @@ src/makefile.w32-in and adapt. Depend on stamp_BLD. (GNULIBOBJS): Add $(BLD)/filemode.$(O). -2011-02-20 Paul Eggert +2011-02-21 Paul Eggert Import filemode module from gnulib. * .bzrignore: Add lib/sys/. @@ -4007,7 +4002,6 @@ * 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. - * lisp/emacs-lisp/find-gc.el (find-gc-source-files): Remove filemode.c. * 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: @@ -4044,8 +4038,6 @@ * 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. - * admin/notes/copyright: Remove src/md5.c and src/md5.h as - special cases. 2011-02-19 Eli Zaretskii @@ -4065,7 +4057,6 @@ Import getloadavg module from gnulib. * .bzrignore: Add lib/stdlib.h. * Makefile.in (GNULIB_MODULES): Add getloadavg. - * admin/notes/copyright: Remove src/getloadavg.c as a special case. * 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. @@ -4079,7 +4070,7 @@ * 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: - * src/config.in: Regenerate. + Regenerate. 2011-02-15 Paul Eggert @@ -4506,7 +4497,7 @@ * 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, lisp/dired.el, src/config.in: Regenerate. + * configure: Regenerate. Automate syncing from gnulib. * INSTALL, README: Document new subdirectory 'lib'. === modified file 'admin/ChangeLog' --- admin/ChangeLog 2014-01-16 08:34:43 +0000 +++ admin/ChangeLog 2014-01-21 08:49:46 +0000 @@ -1036,6 +1036,10 @@ * notes/bugtracker (bugtracker_debbugs_url): Fix typo. +2011-02-20 Paul Eggert + + * notes/copyright: Remove src/md5.c and src/md5.h as special cases. + 2011-02-19 Eli Zaretskii * admin.el (set-version): Add msdos/sed2v2.inp. @@ -1045,6 +1049,7 @@ Remove no-longer needed getloadavg symbols. * CPP-DEFINES (LOAD_AVE_CVT, LOAD_AVE_TYPE, FSCALE, KERNEL_FILE): (LDAV_SYMBOL): Remove. + * notes/copyright: Remove src/getloadavg.c as a special case. 2011-02-12 Glenn Morris @@ -1567,7 +1572,7 @@ Sub-directory `unidata' is for codes to generate charprop.el and many other uni-*.el files from `UnicodeData.txt'. - * Unidata/README: New file. + * unidata/README: New file. * unidata/Makefile: New file. === modified file 'doc/emacs/ChangeLog' --- doc/emacs/ChangeLog 2014-01-20 22:39:59 +0000 +++ doc/emacs/ChangeLog 2014-01-21 08:49:46 +0000 @@ -9695,13 +9695,13 @@ 2003-11-02 Jesper Harder (tiny change) - * man/ack.texi, man/basic.texi, man/cmdargs.texi: - * man/commands.texi, man/custom.texi, man/display.texi: - * man/emacs.texi, man/files.texi: - * man/frames.texi, man/glossary.texi, man/killing.texi: - * man/macos.texi, man/mark.texi, man/misc.texi, man/msdog.texi: - * man/mule.texi, man/rmail.texi, man/search.texi: - * man/sending.texi, man/text.texi, man/trouble.texi: + * ack.texi, basic.texi, cmdargs.texi: + * commands.texi, custom.texi, display.texi: + * emacs.texi, files.texi: + * frames.texi, glossary.texi, killing.texi: + * macos.texi, mark.texi, misc.texi, msdog.texi: + * mule.texi, rmail.texi, search.texi: + * sending.texi, text.texi, trouble.texi: Replace @sc{ascii} and ASCII with @acronym{ASCII}. 2003-11-01 Alan Mackenzie === modified file 'doc/misc/ChangeLog' --- doc/misc/ChangeLog 2014-01-20 22:39:59 +0000 +++ doc/misc/ChangeLog 2014-01-21 08:49:46 +0000 @@ -4835,7 +4835,7 @@ 2009-12-15 Jay Belanger - * calc/calc.texi (Radix Modes): Clarify two's complement notation. + * calc.texi (Radix Modes): Clarify two's complement notation. 2009-12-14 Chong Yidong @@ -10593,8 +10593,8 @@ 2003-11-02 Jesper Harder (tiny change) - * man/ediff.texi, man/tramp.texi, man/vip.texi, man/viper.texi: - * man/widget.texi, man/woman.texi: Replace @sc{ascii} and ASCII with + * ediff.texi, tramp.texi, vip.texi, viper.texi: + * widget.texi, woman.texi: Replace @sc{ascii} and ASCII with @acronym{ASCII}. 2003-10-26 Karl Berry @@ -11207,7 +11207,7 @@ 1993-11-15 Paul Eggert (eggert@twinsun.com) - * man/Makefile (../info/cl.info): Rename from ../info/cl. + * Makefile (../info/cl.info): Rename from ../info/cl. 1993-11-15 Richard Stallman (rms@mole.gnu.ai.mit.edu) === modified file 'etc/ChangeLog' --- etc/ChangeLog 2014-01-16 20:18:55 +0000 +++ etc/ChangeLog 2014-01-21 08:49:46 +0000 @@ -739,6 +739,11 @@ * MORE.STUFF: General update. Mention list-packages. Remove many old/outdated URLs. + +2012-04-18 Paul Eggert + + * NEWS: Mention --enable-gcc-warnings. + 2012-04-10 Lars Magne Ingebrigtsen * publicsuffix.txt: New file (bug#1401). === modified file 'lib-src/ChangeLog' --- lib-src/ChangeLog 2014-01-19 08:50:53 +0000 +++ lib-src/ChangeLog 2014-01-21 08:49:46 +0000 @@ -725,7 +725,7 @@ 2012-05-05 Jim Meyering - * lib-src/pop.c (pop_stat, pop_list, pop_multi_first, pop_last): + * pop.c (pop_stat, pop_list, pop_multi_first, pop_last): NUL-terminate the error buffer (Bug#11372). 2012-05-02 Juanma Barranquero === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-21 08:26:31 +0000 +++ lisp/ChangeLog 2014-01-21 08:49:46 +0000 @@ -347,6 +347,8 @@ 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. === modified file 'lisp/ChangeLog.15' --- lisp/ChangeLog.15 2014-01-15 03:06:07 +0000 +++ lisp/ChangeLog.15 2014-01-21 08:49:46 +0000 @@ -578,6 +578,10 @@ * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use `field' property of `rfn-eshadow-overlay'. +2011-02-21 Paul Eggert + + * emacs-lisp/find-gc.el (find-gc-source-files): Remove filemode.c. + 2011-02-21 Lars Ingebrigtsen * net/netrc.el (netrc-parse): Comment fix. @@ -2033,6 +2037,10 @@ Don't auto-indent for indent-to-left-margin, it's too often counter-productive. +2011-01-17 Paul Eggert + + * dired.el: Regenerate. + 2011-01-16 Tassilo Horn * strokes.el (strokes-read-stroke): Re-fill strokes buffer with === modified file 'lwlib/ChangeLog' --- lwlib/ChangeLog 2014-01-15 08:49:38 +0000 +++ lwlib/ChangeLog 2014-01-21 08:49:46 +0000 @@ -1234,7 +1234,7 @@ 1998-07-30 Paul Eggert - * lwlib/Makefile.in (lwlib-utils.o, lwlib.o, lwlib-Xlw.o) + * 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. === modified file 'msdos/ChangeLog' --- msdos/ChangeLog 2014-01-01 07:43:34 +0000 +++ msdos/ChangeLog 2014-01-21 08:49:46 +0000 @@ -44,7 +44,7 @@ 2012-10-04 Paul Eggert Merge from gnulib. - * msdos/sedlibmk.inp (REPLACE_PTSNAME): Edit to appropriate value. + * sedlibmk.inp (REPLACE_PTSNAME): Edit to appropriate value. 2012-09-27 Paul Eggert === modified file 'src/ChangeLog.11' --- src/ChangeLog.11 2014-01-16 08:34:43 +0000 +++ src/ChangeLog.11 2014-01-21 08:49:46 +0000 @@ -1837,6 +1837,8 @@ (float_to_string): Use dtoastr rather than rolling our own code, which had an off-by-one bug on non-IEEE hosts. + * config.in: Regenerate. + Automate syncing from gnulib. * Makefile.in (lib): New macro. (ALL_CFLAGS): Add -I$(lib) -I$(srcdir)/../lib. === modified file 'src/ChangeLog.12' --- src/ChangeLog.12 2014-01-15 03:06:07 +0000 +++ src/ChangeLog.12 2014-01-21 08:49:46 +0000 @@ -8160,6 +8160,11 @@ * nsterm.m (ns_exec_path, ns_load_path): Use SEPCHAR rather than hard-coding the path separator. +2012-08-02 Paul Eggert + + * stamp-h.in: Remove from bzr repository; no longer needed there + now ../autogen.sh creates it. + 2012-08-01 Paul Eggert Use "ASET (a, i, v)" rather than "AREF (a, i) = v". ------------------------------------------------------------ revno: 116093 committer: Michael Albinus branch nick: trunk timestamp: Tue 2014-01-21 09:32:06 +0100 message: * automated/comint-testsuite.el (comint-testsuite-password-strings): Add localized examples. diff: === modified file 'test/ChangeLog' --- test/ChangeLog 2014-01-17 11:50:15 +0000 +++ test/ChangeLog 2014-01-21 08:32:06 +0000 @@ -1,3 +1,8 @@ +2014-01-21 Michael Albinus + + * automated/comint-testsuite.el + (comint-testsuite-password-strings): Add localized examples. + 2014-01-17 Michael Albinus * automated/inotify-test.el (inotify-file-watch-simple): Skip test === modified file 'test/automated/comint-testsuite.el' --- test/automated/comint-testsuite.el 2014-01-01 07:43:34 +0000 +++ test/automated/comint-testsuite.el 2014-01-21 08:32:06 +0000 @@ -27,7 +27,7 @@ (require 'ert) (defvar comint-testsuite-password-strings - '("foo@example.net's password: " ;ssh + '("foo@example.net's password: " ; ssh "Password for foo@example.org: " ; kinit "Please enter the password for foo@example.org: " ; kinit "Kerberos password for devnull/root GNU.ORG: " ; ksu @@ -37,7 +37,9 @@ "Passphrase for key root@GNU.ORG: " ; plink "[sudo] password for user:" ; Ubuntu sudo "Password (again):" - "Enter password:") + "Enter password:" + "Mot de Passe:" ; localized + "Passwort:") ; localized "List of strings that should match `comint-password-prompt-regexp'.") (ert-deftest comint-test-password-regexp () ------------------------------------------------------------ revno: 116092 committer: Tassilo Horn branch nick: build timestamp: Tue 2014-01-21 09:26:31 +0100 message: Fix reftex-create-bibtex-file autoload. * lisp/textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to specify it's an interactive function. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-21 08:18:30 +0000 +++ lisp/ChangeLog 2014-01-21 08:26:31 +0000 @@ -1,5 +1,8 @@ 2014-01-21 Tassilo Horn + * 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. === modified file 'lisp/textmodes/reftex.el' --- lisp/textmodes/reftex.el 2014-01-01 07:43:34 +0000 +++ lisp/textmodes/reftex.el 2014-01-21 08:26:31 +0000 @@ -135,7 +135,9 @@ "Make a citation using BibTeX database files." t) (autoload 'reftex-default-bibliography "reftex-cite") (autoload 'reftex-bib-or-thebib "reftex-cite") -(autoload 'reftex-create-bibtex-file "reftex-cite") +(autoload 'reftex-create-bibtex-file "reftex-cite" + "Create a new BibTeX database BIBFILE with all entries referenced in document." + t) ;; Selection (autoload 'reftex-select-label-mode "reftex-sel") ------------------------------------------------------------ revno: 116091 committer: Tassilo Horn branch nick: build timestamp: Tue 2014-01-21 09:18:30 +0100 message: Fix regex used for searching citation keys. * lisp/textmodes/reftex-cite.el (reftex-all-used-citation-keys): Fix regex used for scanning for citation keys which failed for citations with optional arguments. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-21 01:58:16 +0000 +++ lisp/ChangeLog 2014-01-21 08:18:30 +0000 @@ -1,3 +1,9 @@ +2014-01-21 Tassilo Horn + + * 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 * simple.el (read--expression): Don't enable eldoc-mode. === modified file 'lisp/textmodes/reftex-cite.el' --- lisp/textmodes/reftex-cite.el 2014-01-01 07:43:34 +0000 +++ lisp/textmodes/reftex-cite.el 2014-01-21 08:18:30 +0000 @@ -1130,7 +1130,7 @@ (save-restriction (widen) (goto-char (point-min)) - (while (re-search-forward "\\(?:^\\|\\=\\)[^%\n\r]*?\\\\\\(bibentry\\|[a-zA-Z]*cite[a-zA-Z]*\\)\\(\\[[^\\]]*\\]\\)?{\\([^}]+\\)}" nil t) + (while (re-search-forward "\\(?:^\\|\\=\\)[^%\n\r]*?\\\\\\(bibentry\\|[a-zA-Z]*cite[a-zA-Z]*\\)\\(\\[[^]]*\\]\\)?{\\([^}]+\\)}" nil t) (setq kk (match-string-no-properties 3)) (while (string-match "%.*\n?" kk) (setq kk (replace-match "" t t kk))) ------------------------------------------------------------ revno: 116090 committer: Dmitry Antipov branch nick: trunk timestamp: Tue 2014-01-21 06:28:57 +0400 message: * 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. diff: === modified file 'src/ChangeLog' --- src/ChangeLog 2014-01-20 19:44:56 +0000 +++ src/ChangeLog 2014-01-21 02:28:57 +0000 @@ -1,3 +1,10 @@ +2014-01-21 Dmitry Antipov + + * 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 Avoid undefined behavior by initializing buffer redisplay bit. === modified file 'src/buffer.c' --- src/buffer.c 2014-01-20 16:55:28 +0000 +++ src/buffer.c 2014-01-21 02:28:57 +0000 @@ -1868,6 +1868,7 @@ if (b->base_buffer) { + INTERVAL i; /* Unchain all markers that belong to this indirect buffer. Don't unchain the markers that belong to the base buffer or its other indirect buffers. */ @@ -1882,6 +1883,14 @@ else mp = &m->next; } + /* Intervals should be owned by the base buffer (Bug#16502). */ + i = buffer_intervals (b); + if (i) + { + Lisp_Object owner; + XSETBUFFER (owner, b->base_buffer); + set_interval_object (i, owner); + } } else { === modified file 'src/intervals.c' --- src/intervals.c 2014-01-01 07:43:34 +0000 +++ src/intervals.c 2014-01-21 02:28:57 +0000 @@ -60,16 +60,7 @@ /* Utility functions for intervals. */ -/* Use these functions to set Lisp_Object - or pointer slots of struct interval. */ - -static void -set_interval_object (INTERVAL i, Lisp_Object obj) -{ - eassert (BUFFERP (obj) || STRINGP (obj)); - i->up_obj = 1; - i->up.obj = obj; -} +/* Use these functions to set pointer slots of struct interval. */ static void set_interval_left (INTERVAL i, INTERVAL left) === modified file 'src/intervals.h' --- src/intervals.h 2014-01-01 07:43:34 +0000 +++ src/intervals.h 2014-01-21 02:28:57 +0000 @@ -134,6 +134,14 @@ or pointer slots of struct interval. */ INLINE void +set_interval_object (INTERVAL i, Lisp_Object obj) +{ + eassert (BUFFERP (obj) || STRINGP (obj)); + i->up_obj = 1; + i->up.obj = obj; +} + +INLINE void set_interval_parent (INTERVAL i, INTERVAL parent) { i->up_obj = false; ------------------------------------------------------------ revno: 116089 committer: Leo Liu branch nick: trunk timestamp: Tue 2014-01-21 09:58:16 +0800 message: * simple.el (read--expression): Don't enable eldoc-mode. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-20 19:44:56 +0000 +++ lisp/ChangeLog 2014-01-21 01:58:16 +0000 @@ -1,3 +1,7 @@ +2014-01-21 Leo Liu + + * simple.el (read--expression): Don't enable eldoc-mode. + 2014-01-20 Stefan Monnier * simple.el (move-beginning-of-line): Make sure we don't move forward === modified file 'lisp/simple.el' --- lisp/simple.el 2014-01-20 19:15:10 +0000 +++ lisp/simple.el 2014-01-21 01:58:16 +0000 @@ -1387,7 +1387,6 @@ (lambda () (add-hook 'completion-at-point-functions #'lisp-completion-at-point nil t) - (eldoc-mode 1) (run-hooks 'eval-expression-minibuffer-setup-hook)) (read-from-minibuffer prompt initial-contents read-expression-map t ------------------------------------------------------------ revno: 116088 committer: Glenn Morris branch nick: trunk timestamp: Mon 2014-01-20 17:39:59 -0500 message: ChangeLog fixes diff: === modified file 'ChangeLog' --- ChangeLog 2014-01-20 20:48:14 +0000 +++ ChangeLog 2014-01-20 22:39:59 +0000 @@ -4,8 +4,7 @@ 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 - * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/strtoimax.c: - Update from gnulib. + * lib/stdalign.in.h, lib/strtoimax.c: Update from gnulib. 2014-01-12 Glenn Morris @@ -1747,11 +1746,6 @@ Merge from gnulib, incorporating: 2012-09-22 sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases -2012-09-19 Tassilo Horn - - * doc/emacs/misc.texi (DocView Slicing): Document new slice from - BoundingBox feature. - 2012-09-18 Jan Djärv * configure.ac (HAVE_GTK): Mention if we use GTK2 or GTK3. @@ -2188,11 +2182,6 @@ * 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-30 Paul Eggert - - Merge from gnulib, incorporating: - * doc/misc/texinfo.tex: Update to 2012-07-29.17 version. - 2012-07-29 Jan Djärv * Makefile.in (install-arch-indep): Handle space in locallisppath. @@ -2714,7 +2703,7 @@ 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, doc/misc/texinfo.tex: + * 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: @@ -3340,7 +3329,7 @@ * 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. - * doc/misc/texinfo.tex, lib/dup2.c, lib/gnulib.mk, lib/signal.in.h: + * 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: === modified file 'doc/emacs/ChangeLog' --- doc/emacs/ChangeLog 2014-01-17 12:43:51 +0000 +++ doc/emacs/ChangeLog 2014-01-20 22:39:59 +0000 @@ -803,6 +803,11 @@ * trouble.texi (Crashing): Document addr2line. +2012-09-19 Tassilo Horn + + * misc.texi (DocView Slicing): Document new slice from + BoundingBox feature. + 2012-09-19 Chong Yidong * killing.texi (Yanking): Minor clarification (Bug#12469). === modified file 'doc/misc/ChangeLog' --- doc/misc/ChangeLog 2014-01-16 08:34:43 +0000 +++ doc/misc/ChangeLog 2014-01-20 22:39:59 +0000 @@ -1,3 +1,7 @@ +2014-01-20 Paul Eggert + + * texinfo.tex: Update from gnulib. + 2014-01-15 Glenn Morris * Makefile.in (eww_deps): Does not depend on emacsver.texi. @@ -761,6 +765,10 @@ (efaq-w32.pdf, efaq-w32.html): New rules. (clean): Remove efaq-w32 products. +2013-08-26 Paul Eggert + + * texinfo.tex: Update from gnulib. + 2013-08-19 Katsumi Yamaoka * emacs-mime.texi (Encoding Customization): Exclude iso-2022-jp-2 and @@ -902,6 +910,10 @@ `gnus-subthread-sort-functions' and remove the obsolete documentation of `gnus-sort-threads-recursively'. +2012-07-30 Paul Eggert + + * texinfo.tex: Update to 2012-07-29.17 version. + 2013-07-29 David Engster * eieio.texi (top): Make clear that EIEIO is not a full CLOS @@ -2245,6 +2257,10 @@ * org.texi (Durations and time values): Fix typo. +2012-05-26 Paul Eggert + + * texinfo.tex: Update from gnulib. + 2012-05-19 Jay Belanger * calc.texi (Basic Operations on Units, Customizing Calc): @@ -2877,6 +2893,10 @@ * gnus.texi (Gnus Utility Functions): Add more references and explanations (bug#9683). +2011-09-26 Paul Eggert + + * texinfo.tex: Merge from gnulib. + 2011-09-21 Lars Magne Ingebrigtsen * gnus.texi (Archived Messages): Note the default (bug#9552). ------------------------------------------------------------ revno: 116087 committer: Paul Eggert branch nick: trunk timestamp: Mon 2014-01-20 12:48:14 -0800 message: Merge from gnulib. This incorporates: 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 * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/strtoimax.c: Update from gnulib. diff: === modified file 'ChangeLog' --- ChangeLog 2014-01-12 18:11:49 +0000 +++ ChangeLog 2014-01-20 20:48:14 +0000 @@ -1,3 +1,12 @@ +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 + * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/strtoimax.c: + Update from gnulib. + 2014-01-12 Glenn Morris * README: Replace reference to etc/MAILINGLISTS. === modified file 'doc/misc/texinfo.tex' --- doc/misc/texinfo.tex 2014-01-11 07:01:30 +0000 +++ doc/misc/texinfo.tex 2014-01-20 20:48:14 +0000 @@ -3,7 +3,7 @@ % Load plain if necessary, i.e., if running under initex. \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi % -\def\texinfoversion{2014-01-06.16} +\def\texinfoversion{2014-01-16.10} % % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, @@ -8334,8 +8334,9 @@ % % Auto-number footnotes. Otherwise like plain. \gdef\footnote{% - %\let\indent=\ptexindent - %\let\noindent=\ptexnoindent + \let\indent=\ptexindent + \let\noindent=\ptexnoindent + % \global\advance\footnoteno by \@ne \edef\thisfootno{$^{\the\footnoteno}$}% % @@ -8359,6 +8360,11 @@ % \gdef\dofootnote{% \insert\footins\bgroup + % + % Nested footnotes are not supported in TeX, that would take a lot + % more work. (\startsavinginserts does not suffice.) + \let\footnote=\errfootnote + % % We want to typeset this text as a normal paragraph, even if the % footnote reference occurs in (for example) a display environment. % So reset some parameters. @@ -8396,13 +8402,19 @@ } }%end \catcode `\@=11 +\def\errfootnote{% + \errhelp=\EMsimple + \errmessage{Nested footnotes not supported in texinfo.tex, + even though they work in makeinfo; sorry} +} + % In case a @footnote appears in a vbox, save the footnote text and create % the real \insert just after the vbox finished. Otherwise, the insertion % would be lost. % Similarly, if a @footnote appears inside an alignment, save the footnote % text to a box and make the \insert when a row of the table is finished. % And the same can be done for other insert classes. --kasal, 16nov03. - +% % Replace the \insert primitive by a cheating macro. % Deeper inside, just make sure that the saved insertions are not spilled % out prematurely. === modified file 'lib/stdalign.in.h' --- lib/stdalign.in.h 2014-01-01 07:43:34 +0000 +++ lib/stdalign.in.h 2014-01-20 20:48:14 +0000 @@ -95,7 +95,8 @@ #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112 # if defined __cplusplus && 201103 <= __cplusplus # define _Alignas(a) alignas (a) -# elif __GNUC__ || __IBMC__ || __IBMCPP__ || __ICC || 0x5110 <= __SUNPRO_C +# elif (__GNUC__ || __HP_cc || __HP_aCC || __IBMC__ || __IBMCPP__ \ + || __ICC || 0x5110 <= __SUNPRO_C) # define _Alignas(a) __attribute__ ((__aligned__ (a))) # elif 1300 <= _MSC_VER # define _Alignas(a) __declspec (align (a)) === modified file 'lib/strtoimax.c' --- lib/strtoimax.c 2014-01-01 07:43:34 +0000 +++ lib/strtoimax.c 2014-01-20 20:48:14 +0000 @@ -28,20 +28,24 @@ #include "verify.h" #ifdef UNSIGNED -# ifndef HAVE_DECL_STRTOULL +# if HAVE_UNSIGNED_LONG_LONG_INT +# ifndef HAVE_DECL_STRTOULL "this configure-time declaration test was not run" -# endif -# if !HAVE_DECL_STRTOULL && HAVE_UNSIGNED_LONG_LONG_INT +# endif +# if !HAVE_DECL_STRTOULL unsigned long long int strtoull (char const *, char **, int); +# endif # endif #else -# ifndef HAVE_DECL_STRTOLL +# if HAVE_LONG_LONG_INT +# ifndef HAVE_DECL_STRTOLL "this configure-time declaration test was not run" -# endif -# if !HAVE_DECL_STRTOLL && HAVE_LONG_LONG_INT +# endif +# if !HAVE_DECL_STRTOLL long long int strtoll (char const *, char **, int); +# endif # endif #endif ------------------------------------------------------------ revno: 116086 committer: Glenn Morris branch nick: trunk timestamp: Mon 2014-01-20 15:07:57 -0500 message: * etc/NEWS: Small edits diff: === modified file 'etc/NEWS' --- etc/NEWS 2014-01-20 20:05:04 +0000 +++ etc/NEWS 2014-01-20 20:07:57 +0000 @@ -57,11 +57,6 @@ ** Emacs for NS (Mac OS X, GNUstep) can be built with ImageMagick support. This requires pkg-config to be available at configure time. -** New Core Text based font backend for Mac OS X 10.5 and newer. -GNUstep and Mac OS X 10.4 use the old font backend. -To use the old backend by default, do on the command line: -% defaults write org.gnu.Emacs FontBackend ns - * Startup Changes in Emacs 24.4 @@ -765,32 +760,34 @@ ** Todo mode has been rewritten and enhanced. New features include: -- support for multiple todo files and archive files of done items; -- renaming, reordering, moving, merging, and deleting categories; -- sortable tabular summaries of categories and the types of items they contain; -- cross-category lists of items filtered by specific criteria; -- more fine-grained interaction with the Emacs diary, by being able to decide - for each todo item whether it appears in the Fancy Diary display; -- highly flexible new item insertion and item editing; -- moving items between categories, storing done items in their category or in - archive files, undoing or unarchiving done items; -- reprioritizing items by inputting a numerical priority; -- extensive customizability of operation and display, including numerous faces. -The Todo mode user manual describes all commands and most user options. -To support some of these features, a new file format is used, which is -incompatible with the old format; however, you can convert old todo and done -item files to the new format on initializing the first new todo file, or at any -later time with the provided conversion command. The old version of -todo-mode.el has been made obsolete and renamed otodo-mode.el. - -** trace-function was largely rewritten. -New features include: -- no prompting for the destination buffer, unless a prefix-arg was used. -- additionally to prompting for a destination buffer, when a prefix-arg is - used, the user can enter a "context", i.e. Lisp expression whose value at the - time the function is entered/exited will be printed along with the function - name and arguments. Useful to trace the value of (current-buffer) or - (point) when the function is invoked. +*** Support for multiple todo files and archive files of done items +*** Renaming, reordering, moving, merging, and deleting categories +*** Sortable tabular summaries of categories and the types of items they contain +*** Cross-category lists of items filtered by specific criteria +*** More fine-grained interaction with the Emacs diary, by being able to decide + for each todo item whether it appears in the Fancy Diary display +*** Highly flexible new item insertion and item editing +*** Moving items between categories, storing done items in their category or in + archive files, undoing or unarchiving done items +*** Reprioritizing items by inputting a numerical priority +*** Extensive customizability of operation and display, including numerous faces + +The Todo mode user manual describes all commands and most user +options. To support some of these features, a new file format is +used, which is incompatible with the old format; however, you can +convert old todo and done item files to the new format on initializing +the first new todo file, or at any later time with the provided +conversion command. The previous version of todo-mode.el has been +renamed to otodo-mode.el and is now obsolete. + +** trace-function + +*** No prompting for the destination buffer, unless a prefix argument is used. + +*** With a prefix argument, you can enter a "context"; i.e., a Lisp +expression whose value at the time the function is entered/exited will +be printed along with the function name and arguments. For example, +you can use this to trace the value of current-buffer or point. ** Tramp @@ -887,10 +884,12 @@ +++ ** New package nadvice.el offers lighter-weight advice facilities. It is layered as: -- add-function/remove-function which can be used to add/remove code on any - function-carrying place, such as process-filters or `-function' hooks. -- advice-add/advice-remove to add/remove a piece of advice on a named function, - much like `defadvice' does. + +*** add-function/remove-function, which can be used to add/remove code on any +function-carrying place, such as process-filters or `-function' hooks. + +*** advice-add/advice-remove to add/remove a piece of advice on a named +function,much like `defadvice' does. ** New package frameset.el. It provides a set of operations to save a frameset (the state of all @@ -1331,14 +1330,19 @@ "Interlocking" in the Emacs User Manual for the details. To disable file locking, customize `create-lockfiles' to nil. +** New Core Text based font backend for Mac OS X 10.5 and newer. +GNUstep and Mac OS X 10.4 use the old font backend. +To use the old backend by default, do on the command line: +% defaults write org.gnu.Emacs FontBackend ns + ** Improved fullscreen support on Mac OS X. -Both native (>= Mac OS X 10.7) and "old style" fullscreen are supported. -Customize `ns-use-native-fullscreen' to change style. For >= 10.7 -native is the default. +Emacs supports both native (Mac OS X 10.7 and newer) and "old style" fullscreen. +Customize `ns-use-native-fullscreen' to change the style. +For Mac OS X 10.7 and newer, native is the default. -** Mac OS X >= 10.7 can use sRGB colorspace. -Customize `ns-use-srgb-colorspace' to change style. t is the default. -Note: This does not apply to images. +** On Mac OS X 10.7 and newer, Emacs uses sRGB colorspace by default. +Customize `ns-use-srgb-colorspace' to disable this. Note that this +does not apply to images. * Installation Changes in Emacs 24.3 ------------------------------------------------------------ revno: 116085 committer: Glenn Morris branch nick: trunk timestamp: Mon 2014-01-20 15:05:04 -0500 message: Do not document subr-x.el in the manuals * doc/lispref/hash.texi (Other Hash): Do not mention subr-x.el functions; reverts 2013-12-22 change. * lisp/emacs-lisp/subr-x.el: Comment. * etc/NEWS: Small related edits. diff: === modified file 'doc/lispref/ChangeLog' --- doc/lispref/ChangeLog 2014-01-11 03:55:50 +0000 +++ doc/lispref/ChangeLog 2014-01-20 20:05:04 +0000 @@ -1,3 +1,8 @@ +2014-01-20 Glenn Morris + + * hash.texi (Other Hash): Do not mention subr-x.el functions; + reverts 2013-12-22 change. + 2014-01-10 Stefan Monnier * functions.texi (Advising Functions): New section. === modified file 'doc/lispref/hash.texi' --- doc/lispref/hash.texi 2014-01-10 17:54:32 +0000 +++ doc/lispref/hash.texi 2014-01-20 20:05:04 +0000 @@ -353,14 +353,3 @@ @defun hash-table-size table This returns the current nominal size of @var{table}. @end defun - -The following two functions are provided by the @file{subr-x} library. -To use them, you need to load this library first. - -@defun hash-table-keys hash-table -This returns a list of keys in @var{hash-table}. -@end defun - -@defun hash-table-values hash-table -This returns a list of values in @var{hash-table}. -@end defun === modified file 'etc/NEWS' --- etc/NEWS 2014-01-20 08:15:16 +0000 +++ etc/NEWS 2014-01-20 20:05:04 +0000 @@ -1081,12 +1081,10 @@ ** New macro `with-eval-after-load'. This is like the old `eval-after-load', but better behaved. -** New library subr-x.el for misc helper functions -+++ +--- +** New library subr-x.el with miscellaneous small utility functions *** `hash-table-keys' -+++ *** `hash-table-values' ---- *** `string-blank-p` *** `string-empty-p` *** `string-join` === modified file 'lisp/emacs-lisp/subr-x.el' --- lisp/emacs-lisp/subr-x.el 2014-01-01 07:43:34 +0000 +++ lisp/emacs-lisp/subr-x.el 2014-01-20 20:05:04 +0000 @@ -27,6 +27,9 @@ ;; C code (like hash-tables and strings), and are not eligible for inclusion ;; in subr.el. +;; Do not document these functions in the lispref. +;; http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01006.html + ;;; Code: (defsubst hash-table-keys (hash-table) ------------------------------------------------------------ revno: 116084 committer: Glenn Morris branch nick: trunk timestamp: Mon 2014-01-20 14:44:56 -0500 message: Fix spelling of "GNUstep" diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-20 19:15:10 +0000 +++ lisp/ChangeLog 2014-01-20 19:44:56 +0000 @@ -3571,7 +3571,7 @@ * term/ns-win.el (ns-initialize-window-system): Rename Help to Info in menu bar. - * menu-bar.el: Move GNUStep specific menus... + * menu-bar.el: Move GNUstep specific menus... * term/ns-win.el (ns-initialize-window-system): ... to here. === modified file 'lisp/term/ns-win.el' --- lisp/term/ns-win.el 2014-01-06 06:25:30 +0000 +++ lisp/term/ns-win.el 2014-01-20 19:44:56 +0000 @@ -898,7 +898,7 @@ (x-open-connection (system-name) nil t) - ;; Add GNUStep menu items Services, Hide and Quit. Rename Help to Info + ;; Add GNUstep menu items Services, Hide and Quit. Rename Help to Info ;; and put it first (i.e. omit from menu-bar-final-items. (if (featurep 'gnustep) (progn === modified file 'src/ChangeLog' --- src/ChangeLog 2014-01-20 16:55:28 +0000 +++ src/ChangeLog 2014-01-20 19:44:56 +0000 @@ -1103,9 +1103,9 @@ 2013-12-08 Jan Djärv - * nsterm.m (updateFrameSize:): Fix GNUStep toolbar not updating. + * nsterm.m (updateFrameSize:): Fix GNUstep toolbar not updating. - * emacs.c (main): Call fixup_locale a second time for GNUStep. + * emacs.c (main): Call fixup_locale a second time for GNUstep. 2013-12-08 Martin Rudalics @@ -1147,7 +1147,7 @@ * nsterm.m (x_set_window_size): Remove fprintf. (init): Define always. Set applicationDidFinishLaunchingCalled - for GNUStep. + for GNUstep. (applicationDidFinishLaunching:): Set applicationDidFinishLaunchingCalled. (applicationDidBecomeActive:): Call applicationDidFinishLaunching if @@ -2610,7 +2610,7 @@ * 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. + (ns_get_color): Make selection color work for GNUstep also. 2013-10-18 Eli Zaretskii @@ -3868,7 +3868,7 @@ 2013-09-15 Jan Djärv * nsfns.m (Fx_create_frame): Fix font driver registration for - GNUStep. + GNUstep. * font.c (syms_of_font): Check MAC_OS_X_VERSION_MAX_ALLOWED >= 1050 for syms_of_macfont. @@ -7120,7 +7120,7 @@ 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. + help avoid problems on GNUstep. 2013-06-23 Paul Eggert @@ -7828,7 +7828,7 @@ 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. + (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. @@ -7850,7 +7850,7 @@ (changeFont:): size is CGFloat. (keyDown:): Check for Delete when NS_IMPL_GNUSTEP. Disable warning about permanent text. - (characterIndexForPoint:): Adjust return type depending on GNUStep + (characterIndexForPoint:): Adjust return type depending on GNUstep version. (mouseDown:): delta is CGFloat. (updateFrameSize): Remove unised variable f. @@ -7868,7 +7868,7 @@ (mouseDragged:): Remove unised variable edge. (EmacsDocument): Implement for NS_IMPL_GNUSTEP. - * nsterm.h (EmacsCGFloat): Typedef for OSX and GNUStep when the size + * nsterm.h (EmacsCGFloat): Typedef for OSX and GNUstep when the size of CGFloat differs. (EmacsApp): New variable nextappdefined. Declare sendFromMainThread when NS_IMPL_GNUSTEP. @@ -7884,7 +7884,7 @@ (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. + (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. @@ -7913,8 +7913,8 @@ (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. + (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 === modified file 'src/emacs.c' --- src/emacs.c 2014-01-18 11:46:22 +0000 +++ src/emacs.c 2014-01-20 19:44:56 +0000 @@ -1227,7 +1227,7 @@ #ifdef HAVE_NS ns_pool = ns_alloc_autorelease_pool (); #ifdef NS_IMPL_GNUSTEP - /* GNUStep stupidly resets our locale settings after we made them. */ + /* GNUstep stupidly resets our locale settings after we made them. */ fixup_locale (); #endif === modified file 'src/nsmenu.m' --- src/nsmenu.m 2014-01-01 07:43:34 +0000 +++ src/nsmenu.m 2014-01-20 19:44:56 +0000 @@ -1096,7 +1096,7 @@ /* Check if this is a separator. */ if (EQ (TOOLPROP (TOOL_BAR_ITEM_TYPE), Qt)) { - /* Skip separators. Newer OSX don't show them, and on GNUStep they + /* Skip separators. Newer OSX don't show them, and on GNUstep they are wide as a button, thus overflowing the toolbar most of the time. */ continue; @@ -1936,7 +1936,7 @@ syms_of_nsmenu (void) { #ifndef NS_IMPL_COCOA - /* Don't know how to keep track of this in Next/Open/Gnustep. Always + /* Don't know how to keep track of this in Next/Open/GNUstep. Always update menus there. */ trackingMenu = 1; #endif === modified file 'src/nsterm.h' --- src/nsterm.h 2014-01-05 02:56:08 +0000 +++ src/nsterm.h 2014-01-20 19:44:56 +0000 @@ -51,7 +51,7 @@ #ifdef __OBJC__ -/* CGFloat on GNUStep may be 4 or 8 byte, but functions expect float* for some +/* CGFloat on GNUstep may be 4 or 8 byte, but functions expect float* for some versions. On Cocoa >= 10.5, functions expect CGFloat*. Make compatible type. */ #ifdef NS_IMPL_COCOA === modified file 'src/nsterm.m' --- src/nsterm.m 2014-01-06 06:25:30 +0000 +++ src/nsterm.m 2014-01-20 19:44:56 +0000 @@ -3433,7 +3433,7 @@ /*NSTRACE (ns_send_appdefined); */ #ifdef NS_IMPL_GNUSTEP - // GNUStep needs postEvent to happen on the main thread. + // GNUstep needs postEvent to happen on the main thread. if (! [[NSThread currentThread] isMainThread]) { EmacsApp *app = (EmacsApp *)NSApp; @@ -3503,7 +3503,7 @@ } #endif -/* GNUStep and OSX <= 10.4 does not have cancelTracking. */ +/* GNUstep and OSX <= 10.4 does not have cancelTracking. */ #if defined (NS_IMPL_COCOA) && \ MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 /* Check if menu open should be canceled or continued as normal. */ @@ -5750,7 +5750,7 @@ if (! [self isFullscreen]) { #ifdef NS_IMPL_GNUSTEP - // GNUStep does not always update the tool bar height. Force it. + // GNUstep does not always update the tool bar height. Force it. if (toolbar) update_frame_tool_bar (emacsframe); #endif @@ -7648,7 +7648,7 @@ DEFVAR_BOOL ("ns-use-srgb-colorspace", ns_use_srgb_colorspace, doc: /*Non-nil means to use sRGB colorspace on OSX >= 10.7. Note that this does not apply to images. -This variable is ignored on OSX < 10.7 and GNUStep. Default is t. */); +This variable is ignored on OSX < 10.7 and GNUstep. Default is t. */); ns_use_srgb_colorspace = YES; /* TODO: move to common code */ === modified file 'src/process.c' --- src/process.c 2014-01-01 07:43:34 +0000 +++ src/process.c 2014-01-20 19:44:56 +0000 @@ -6232,7 +6232,7 @@ lib_child_handler (sig); #ifdef NS_IMPL_GNUSTEP - /* NSTask in GNUStep sets its child handler each time it is called. + /* NSTask in GNUstep sets its child handler each time it is called. So we must re-set ours. */ catch_child_signal(); #endif ------------------------------------------------------------ revno: 116083 fixes bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16497 committer: Stefan Monnier branch nick: trunk timestamp: Mon 2014-01-20 14:15:10 -0500 message: * lisp/simple.el (move-beginning-of-line): Make sure we don't move forward. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-20 08:52:44 +0000 +++ lisp/ChangeLog 2014-01-20 19:15:10 +0000 @@ -1,3 +1,8 @@ +2014-01-20 Stefan Monnier + + * simple.el (move-beginning-of-line): Make sure we don't move forward + (bug#16497). + 2014-01-20 Juri Linkov * saveplace.el (toggle-save-place, save-place-to-alist) === modified file 'lisp/simple.el' --- lisp/simple.el 2014-01-18 22:23:38 +0000 +++ lisp/simple.el 2014-01-20 19:15:10 +0000 @@ -5534,9 +5534,9 @@ (goto-char (previous-char-property-change (point))) (skip-chars-backward "^\n")) - ;; Now find first visible char in the line - (while (and (not (eobp)) (invisible-p (point))) - (goto-char (next-char-property-change (point)))) + ;; Now find first visible char in the line. + (while (and (< (point) orig) (invisible-p (point))) + (goto-char (next-char-property-change (point) orig))) (setq first-vis (point)) ;; See if fields would stop us from reaching FIRST-VIS. ------------------------------------------------------------ revno: 116082 committer: Paul Eggert branch nick: trunk timestamp: Mon 2014-01-20 08:55:28 -0800 message: Apply previous change even if valgrind is not in use, since it avoids undefined behavior. This is simpler. diff: === modified file 'src/ChangeLog' --- src/ChangeLog 2014-01-20 16:47:41 +0000 +++ src/ChangeLog 2014-01-20 16:55:28 +0000 @@ -1,12 +1,9 @@ 2014-01-20 Paul Eggert - Pacify valgrind by initializing buffer redisplay bit. + Avoid undefined behavior by initializing buffer redisplay bit. Problem reported by Dmitry Antipov in . - * alloc.c (USE_VALGRIND): Move this to ... - * conf_post.h (USE_VALGRIND): ... here. Use booleans. - * buffer.c (Fget_buffer_create): Initialize redisplay bit - to pacify valgrind. + * 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. === modified file 'src/alloc.c' --- src/alloc.c 2014-01-20 16:47:41 +0000 +++ src/alloc.c 2014-01-20 16:55:28 +0000 @@ -48,6 +48,12 @@ #include +#if (defined ENABLE_CHECKING \ + && defined HAVE_VALGRIND_VALGRIND_H \ + && !defined USE_VALGRIND) +# define USE_VALGRIND 1 +#endif + #if USE_VALGRIND #include #include === modified file 'src/buffer.c' --- src/buffer.c 2014-01-20 16:47:41 +0000 +++ src/buffer.c 2014-01-20 16:55:28 +0000 @@ -574,8 +574,7 @@ BUF_BEG_UNCHANGED (b) = 0; *(BUF_GPT_ADDR (b)) = *(BUF_Z_ADDR (b)) = 0; /* Put an anchor '\0'. */ b->text->inhibit_shrinking = false; - if (USE_VALGRIND) - b->text->redisplay = false; + b->text->redisplay = false; b->newline_cache = 0; b->width_run_cache = 0; === modified file 'src/conf_post.h' --- src/conf_post.h 2014-01-20 16:47:41 +0000 +++ src/conf_post.h 2014-01-20 16:55:28 +0000 @@ -65,15 +65,6 @@ # define ADDRESS_SANITIZER false #endif -/* True if Emacs might be run under valgrind. */ -#ifndef USE_VALGRIND -# if defined ENABLE_CHECKING && defined HAVE_VALGRIND_VALGRIND_H -# define USE_VALGRIND true -# else -# define USE_VALGRIND false -# endif -#endif - #ifdef DARWIN_OS #ifdef emacs #define malloc unexec_malloc ------------------------------------------------------------ revno: 116081 author: Paul Eggert committer: Paul Eggert branch nick: trunk timestamp: Mon 2014-01-20 08:47:41 -0800 message: Pacify valgrind by initializing buffer redisplay bit. Problem reported by Dmitry Antipov in . * alloc.c (USE_VALGRIND): Move this to ... * conf_post.h (USE_VALGRIND): ... here. Use booleans. * buffer.c (Fget_buffer_create): Initialize redisplay bit to pacify valgrind. diff: === modified file 'src/ChangeLog' --- src/ChangeLog 2014-01-20 07:56:28 +0000 +++ src/ChangeLog 2014-01-20 16:47:41 +0000 @@ -1,5 +1,13 @@ 2014-01-20 Paul Eggert + Pacify valgrind by initializing buffer redisplay bit. + Problem reported by Dmitry Antipov in + . + * alloc.c (USE_VALGRIND): Move this to ... + * conf_post.h (USE_VALGRIND): ... here. Use booleans. + * buffer.c (Fget_buffer_create): Initialize redisplay bit + to pacify valgrind. + Revert some of the CANNOT_DUMP fix (Bug#16494). * lread.c (init_lread): Fix typo: NILP, not !NILP. === modified file 'src/alloc.c' --- src/alloc.c 2014-01-03 06:42:23 +0000 +++ src/alloc.c 2014-01-20 16:47:41 +0000 @@ -48,12 +48,6 @@ #include -#if (defined ENABLE_CHECKING \ - && defined HAVE_VALGRIND_VALGRIND_H \ - && !defined USE_VALGRIND) -# define USE_VALGRIND 1 -#endif - #if USE_VALGRIND #include #include === modified file 'src/buffer.c' --- src/buffer.c 2014-01-01 07:43:34 +0000 +++ src/buffer.c 2014-01-20 16:47:41 +0000 @@ -573,7 +573,9 @@ BUF_END_UNCHANGED (b) = 0; BUF_BEG_UNCHANGED (b) = 0; *(BUF_GPT_ADDR (b)) = *(BUF_Z_ADDR (b)) = 0; /* Put an anchor '\0'. */ - b->text->inhibit_shrinking = 0; + b->text->inhibit_shrinking = false; + if (USE_VALGRIND) + b->text->redisplay = false; b->newline_cache = 0; b->width_run_cache = 0; === modified file 'src/conf_post.h' --- src/conf_post.h 2014-01-01 07:43:34 +0000 +++ src/conf_post.h 2014-01-20 16:47:41 +0000 @@ -65,6 +65,15 @@ # define ADDRESS_SANITIZER false #endif +/* True if Emacs might be run under valgrind. */ +#ifndef USE_VALGRIND +# if defined ENABLE_CHECKING && defined HAVE_VALGRIND_VALGRIND_H +# define USE_VALGRIND true +# else +# define USE_VALGRIND false +# endif +#endif + #ifdef DARWIN_OS #ifdef emacs #define malloc unexec_malloc ------------------------------------------------------------ revno: 116080 fixes bug: http://debbugs.gnu.org/16477 committer: Juri Linkov branch nick: trunk timestamp: Mon 2014-01-20 10:52:44 +0200 message: * lisp/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. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2014-01-20 08:45:56 +0000 +++ lisp/ChangeLog 2014-01-20 08:52:44 +0000 @@ -1,5 +1,11 @@ 2014-01-20 Juri Linkov + * 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 + * indent.el (indent-line-to): Use backward-to-indentation instead of back-to-indentation. (Bug#16461) === modified file 'lisp/saveplace.el' --- lisp/saveplace.el 2014-01-01 07:43:34 +0000 +++ lisp/saveplace.el 2014-01-20 08:52:44 +0000 @@ -152,7 +152,8 @@ \(setq-default save-place t\)" (interactive "P") - (if (not (or buffer-file-name dired-directory)) + (if (not (or buffer-file-name (and (derived-mode-p 'dired-mode) + dired-directory))) (message "Buffer `%s' not visiting a file or directory" (buffer-name)) (if (and save-place (or (not parg) (<= parg 0))) (progn @@ -172,10 +173,11 @@ ;; will be saved again when Emacs is killed. (or save-place-loaded (load-save-place-alist-from-file)) (let ((item (or buffer-file-name - (and dired-directory - (if (consp dired-directory) - (expand-file-name (car dired-directory)) - (expand-file-name dired-directory)))))) + (and (derived-mode-p 'dired-mode) + dired-directory + (expand-file-name (if (consp dired-directory) + (car dired-directory) + dired-directory)))))) (when (and item (or (not save-place-ignore-files-regexp) (not (string-match save-place-ignore-files-regexp @@ -184,7 +186,8 @@ (position (cond ((eq major-mode 'hexl-mode) (with-no-warnings (1+ (hexl-current-address)))) - (dired-directory + ((and (derived-mode-p 'dired-mode) + dired-directory) (let ((filename (dired-get-filename nil t))) (if filename `((dired-filename . ,filename)) @@ -301,7 +304,8 @@ (with-current-buffer (car buf-list) ;; save-place checks buffer-file-name too, but we can avoid ;; overhead of function call by checking here too. - (and (or buffer-file-name dired-directory) + (and (or buffer-file-name (and (derived-mode-p 'dired-mode) + dired-directory)) (save-place-to-alist)) (setq buf-list (cdr buf-list)))))) @@ -321,9 +325,11 @@ (defun save-place-dired-hook () "Position the point in a dired buffer." (or save-place-loaded (load-save-place-alist-from-file)) - (let ((cell (assoc (if (consp dired-directory) - (expand-file-name (car dired-directory)) - (expand-file-name dired-directory)) + (let ((cell (assoc (and (derived-mode-p 'dired-mode) + dired-directory + (expand-file-name (if (consp dired-directory) + (car dired-directory) + dired-directory))) save-place-alist))) (if cell (progn