diff options
| author | Ted Zlatanov | 2014-11-26 21:31:11 -0500 |
|---|---|---|
| committer | Ted Zlatanov | 2014-11-26 21:31:11 -0500 |
| commit | ba4502fe1465f7803beca3ae187e41f0b25bef10 (patch) | |
| tree | de8bdc219eeeba72e1a8b271ac96234c3c5af447 | |
| parent | b121ef10f500c0377c2ce665e8ccd8b97a6aedfd (diff) | |
| parent | 81e0cca7bbc99dbfda898a8aaab740ae121cf045 (diff) | |
| download | emacs-ba4502fe1465f7803beca3ae187e41f0b25bef10.tar.gz emacs-ba4502fe1465f7803beca3ae187e41f0b25bef10.zip | |
Merge branch 'emacs-24'
Conflicts:
nt/addsection.c
nt/inc/ms-w32.h
src/w32.c
| -rw-r--r-- | .dir-locals.el | 4 | ||||
| -rw-r--r-- | .gitignore | 40 | ||||
| -rw-r--r-- | ChangeLog | 18 | ||||
| -rw-r--r-- | admin/CPP-DEFINES | 3 | ||||
| -rw-r--r-- | admin/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/.gitignore | 23 | ||||
| -rw-r--r-- | doc/emacs/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 8 | ||||
| -rw-r--r-- | doc/lispintro/.gitignore | 24 | ||||
| -rw-r--r-- | doc/lispref/.gitignore | 13 | ||||
| -rw-r--r-- | doc/misc/.gitignore | 23 | ||||
| -rw-r--r-- | lisp/ChangeLog | 24 | ||||
| -rw-r--r-- | lisp/progmodes/js.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 9 | ||||
| -rw-r--r-- | lisp/vc/vc-bzr.el | 4 | ||||
| -rw-r--r-- | lisp/window.el | 2 | ||||
| -rw-r--r-- | lwlib/.gitignore | 1 | ||||
| -rw-r--r-- | nt/ChangeLog | 10 | ||||
| -rw-r--r-- | nt/addpm.c | 5 | ||||
| -rw-r--r-- | nt/inc/ms-w32.h | 17 | ||||
| -rw-r--r-- | nt/preprep.c | 2 | ||||
| -rw-r--r-- | oldXMenu/.gitignore | 1 | ||||
| -rw-r--r-- | src/ChangeLog | 10 | ||||
| -rw-r--r-- | src/frame.c | 2 | ||||
| -rw-r--r-- | src/w32.c | 2 | ||||
| -rw-r--r-- | src/w32term.c | 4 | ||||
| -rw-r--r-- | test/indent/js.js | 8 |
27 files changed, 159 insertions, 112 deletions
diff --git a/.dir-locals.el b/.dir-locals.el index afc68ea3ba6..5e73e0d9acd 100644 --- a/.dir-locals.el +++ b/.dir-locals.el | |||
| @@ -3,7 +3,9 @@ | |||
| 3 | (fill-column . 70))) | 3 | (fill-column . 70))) |
| 4 | (c-mode . ((c-file-style . "GNU"))) | 4 | (c-mode . ((c-file-style . "GNU"))) |
| 5 | (objc-mode . ((c-file-style . "GNU"))) | 5 | (objc-mode . ((c-file-style . "GNU"))) |
| 6 | (log-edit-mode . ((log-edit-font-lock-gnu-style . t) | 6 | (log-edit-mode . ((log-edit-rewrite-fixes |
| 7 | "[ \n](bug#\\([0-9]+\\))" . "debbugs:\\1") | ||
| 8 | (log-edit-font-lock-gnu-style . t) | ||
| 7 | (log-edit-setup-add-author . t))) | 9 | (log-edit-setup-add-author . t))) |
| 8 | (change-log-mode . ((add-log-time-zone-rule . t) | 10 | (change-log-mode . ((add-log-time-zone-rule . t) |
| 9 | (fill-column . 74) | 11 | (fill-column . 74) |
diff --git a/.gitignore b/.gitignore index 16b92c427ae..4200d8a4963 100644 --- a/.gitignore +++ b/.gitignore | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | **/Makefile | ||
| 2 | **/makefile | ||
| 3 | |||
| 1 | configure | 4 | configure |
| 2 | aclocal.m4 | 5 | aclocal.m4 |
| 3 | compile | 6 | compile |
| @@ -9,7 +12,6 @@ missing | |||
| 9 | lib/Makefile.in | 12 | lib/Makefile.in |
| 10 | src/config.in | 13 | src/config.in |
| 11 | autom4te.cache | 14 | autom4te.cache |
| 12 | makefile | ||
| 13 | TAGS | 15 | TAGS |
| 14 | *~ | 16 | *~ |
| 15 | .#* | 17 | .#* |
| @@ -24,7 +26,6 @@ info/dir | |||
| 24 | info/*.info | 26 | info/*.info |
| 25 | test/biditest.txt | 27 | test/biditest.txt |
| 26 | 28 | ||
| 27 | Makefile | ||
| 28 | config.log | 29 | config.log |
| 29 | config.status | 30 | config.status |
| 30 | config.cache | 31 | config.cache |
| @@ -72,9 +73,38 @@ src/stamp-h1 | |||
| 72 | src/temacs | 73 | src/temacs |
| 73 | src/temacs.map | 74 | src/temacs.map |
| 74 | src/temacs.tmp | 75 | src/temacs.tmp |
| 75 | doc/emacs/emacsver.texi | 76 | doc/*/*.aux |
| 76 | doc/man/emacs.1 | 77 | doc/*/*.cm |
| 77 | etc/refcards/emacsver.tex | 78 | doc/*/*.cms |
| 79 | doc/*/*.cp | ||
| 80 | doc/*/*.cps | ||
| 81 | doc/*/*.dvi | ||
| 82 | doc/*/*.fn | ||
| 83 | doc/*/*.fns | ||
| 84 | doc/*/*.html | ||
| 85 | doc/*/*.ky | ||
| 86 | doc/*/*.kys | ||
| 87 | doc/*/*.log | ||
| 88 | doc/*/*.op | ||
| 89 | doc/*/*.ops | ||
| 90 | doc/*/*.pdf | ||
| 91 | doc/*/*.pg | ||
| 92 | doc/*/*.pgs | ||
| 93 | doc/*/*.pj | ||
| 94 | doc/*/*.pjs | ||
| 95 | doc/*/*.ps | ||
| 96 | doc/*/*.sc | ||
| 97 | doc/*/*.scs | ||
| 98 | doc/*/*.tg | ||
| 99 | doc/*/*.tgs | ||
| 100 | doc/*/*.tmp | ||
| 101 | doc/*/*.toc | ||
| 102 | doc/*/*.tp | ||
| 103 | doc/*/*.tps | ||
| 104 | doc/*/*.vr | ||
| 105 | doc/*/*.vrs | ||
| 106 | doc/*/texput.log | ||
| 107 | doc/misc/cc-mode.ss | ||
| 78 | lib/.deps/ | 108 | lib/.deps/ |
| 79 | lisp/international/uni-brackets.el | 109 | lisp/international/uni-brackets.el |
| 80 | lwlib/deps/ | 110 | lwlib/deps/ |
| @@ -1,3 +1,21 @@ | |||
| 1 | 2014-11-17 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Restore 'Bug#' -> 'debbugs:' rewrite in log-edit-mode. | ||
| 4 | * .dir-locals.el (log-edit-mode): Restore the (log-edit-rewrite-fixes | ||
| 5 | "[ \n](bug#\\([0-9]+\\))" . "debbugs:\\1"). See Glenn Morris in: | ||
| 6 | http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01187.html | ||
| 7 | |||
| 8 | Simplify and fix doc-related .gitignore files. | ||
| 9 | This fixes some unwanted 'git status' output after 'make docs'. | ||
| 10 | * .gitignore: Add **/Makefile, **/makefile. | ||
| 11 | Remove Makefile, makefile. | ||
| 12 | Add doc/*/*.xxx rules for the usual kinds of documentation outputs | ||
| 13 | and temporaries. Add doc/misc/cc-mode.ss. | ||
| 14 | * doc/emacs/.gitignore, doc/lispintro/.gitignore, doc/misc/.gitignore: | ||
| 15 | * lwlib/.gitignore, oldXMenu/.gitignore: | ||
| 16 | Remove, as these .gitignore files are no longer needed. | ||
| 17 | * doc/lispintro/.gitignore: Replace with list of exceptional PDF files. | ||
| 18 | |||
| 1 | 2014-11-26 Dani Moncayo <dmoncayo@gmail.com> | 19 | 2014-11-26 Dani Moncayo <dmoncayo@gmail.com> |
| 2 | 20 | ||
| 3 | * configure.ac [MINGW]: Fix the way of getting the right host | 21 | * configure.ac [MINGW]: Fix the way of getting the right host |
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index a98d1b9039e..18423c23420 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES | |||
| @@ -19,8 +19,9 @@ __MSDOS__ Ditto. | |||
| 19 | __DJGPP_MINOR__ Minor version number of the DJGPP library; used only in msdos.c and dosfns.c. | 19 | __DJGPP_MINOR__ Minor version number of the DJGPP library; used only in msdos.c and dosfns.c. |
| 20 | DOS_NT Compiling for either the MS-DOS or native MS-Windows port. | 20 | DOS_NT Compiling for either the MS-DOS or native MS-Windows port. |
| 21 | WINDOWSNT Compiling the native MS-Windows (W32) port. | 21 | WINDOWSNT Compiling the native MS-Windows (W32) port. |
| 22 | __MINGW32__ Compiling the W32 port with the MinGW port of GCC. | 22 | __MINGW32__ Compiling the W32 port with the MinGW or MinGW-w64 ports of GCC. |
| 23 | _MSC_VER Compiling the W32 port with the Microsoft C compiler. | 23 | _MSC_VER Compiling the W32 port with the Microsoft C compiler. |
| 24 | MINGW_W64 Compiling the W32 port with the MinGW-w64 port of GCC. | ||
| 24 | DARWIN_OS Compiling on Mac OS X or pure Darwin (and using s/darwin.h). | 25 | DARWIN_OS Compiling on Mac OS X or pure Darwin (and using s/darwin.h). |
| 25 | SOLARIS2 | 26 | SOLARIS2 |
| 26 | USG | 27 | USG |
diff --git a/admin/ChangeLog b/admin/ChangeLog index cc69367555f..6d134046a38 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-11-17 Oscar Fuentes <ofv@wanadoo.es> | ||
| 2 | |||
| 3 | * admin/CPP-DEFINES: Mention MINGW_W64. | ||
| 4 | |||
| 1 | 2014-11-22 Glenn Morris <rgm@gnu.org> | 5 | 2014-11-22 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * admin.el (set-version): No more need to update nt/*.rc. | 7 | * admin.el (set-version): No more need to update nt/*.rc. |
diff --git a/doc/emacs/.gitignore b/doc/emacs/.gitignore deleted file mode 100644 index 3ff56b474dd..00000000000 --- a/doc/emacs/.gitignore +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | *.aux | ||
| 2 | *.cp | ||
| 3 | *.cps | ||
| 4 | *.dvi | ||
| 5 | *.fn | ||
| 6 | *.fns | ||
| 7 | *.ky | ||
| 8 | *.kys | ||
| 9 | *.log | ||
| 10 | *.op | ||
| 11 | *.ops | ||
| 12 | |||
| 13 | *.pg | ||
| 14 | *.pgs | ||
| 15 | *.ps | ||
| 16 | *.tmp | ||
| 17 | *.toc | ||
| 18 | *.tp | ||
| 19 | *.tps | ||
| 20 | *.vr | ||
| 21 | *.vrs | ||
| 22 | Makefile | ||
| 23 | makefile | ||
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index e608248b263..1ce7aa15aec 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-11-16 Tassilo Horn <tsdh@gnu.org> | ||
| 2 | |||
| 3 | * misc.texi (DocView Slicing): Describe how to slice with the | ||
| 4 | mouse. Fix command mentioned by slice by BoundingBox paragraph. | ||
| 5 | (Bug#18040) | ||
| 6 | |||
| 1 | 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org> | 7 | 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 8 | ||
| 3 | * misc.texi (Network Security): Use "untrustworthy" instead of | 9 | * misc.texi (Network Security): Use "untrustworthy" instead of |
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 5bd0fc88b4e..39632cbe077 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -525,12 +525,14 @@ and the slice's width and height. | |||
| 525 | 525 | ||
| 526 | A more convenient graphical way to specify the slice is with @kbd{s | 526 | A more convenient graphical way to specify the slice is with @kbd{s |
| 527 | m} (@code{doc-view-set-slice-using-mouse}), where you use the mouse to | 527 | m} (@code{doc-view-set-slice-using-mouse}), where you use the mouse to |
| 528 | select the slice. | 528 | select the slice. Simply press and hold the left mouse button at the |
| 529 | @c ??? How does this work? | 529 | upper-left corner of the region you want to have in the slice, then |
| 530 | move the mouse pointer to the lower-right corner and release the | ||
| 531 | button. | ||
| 530 | 532 | ||
| 531 | The most convenient way is to set the optimal slice by using | 533 | The most convenient way is to set the optimal slice by using |
| 532 | BoundingBox information automatically determined from the document by | 534 | BoundingBox information automatically determined from the document by |
| 533 | typing @kbd{s b} (@code{doc-view-set-slice-using-mouse}). | 535 | typing @kbd{s b} (@code{doc-view-set-slice-from-bounding-box}). |
| 534 | 536 | ||
| 535 | @findex doc-view-reset-slice | 537 | @findex doc-view-reset-slice |
| 536 | To cancel the selected slice, type @kbd{s r} | 538 | To cancel the selected slice, type @kbd{s r} |
diff --git a/doc/lispintro/.gitignore b/doc/lispintro/.gitignore index e1af5a918b0..cf992dc8649 100644 --- a/doc/lispintro/.gitignore +++ b/doc/lispintro/.gitignore | |||
| @@ -1,21 +1,3 @@ | |||
| 1 | *.aux | 1 | !cons-*.pdf |
| 2 | *.fn | 2 | !drawers.pdf |
| 3 | *.fns | 3 | !lambda-*.pdf |
| 4 | *.cps | ||
| 5 | *.cp | ||
| 6 | *.kys | ||
| 7 | *.ky | ||
| 8 | *.toc | ||
| 9 | *.pgs | ||
| 10 | *.pg | ||
| 11 | *.log | ||
| 12 | *.vrs | ||
| 13 | *.vr | ||
| 14 | *.dvi | ||
| 15 | *.ps | ||
| 16 | *.tp | ||
| 17 | *.tps | ||
| 18 | *.tmp | ||
| 19 | *.txt | ||
| 20 | Makefile | ||
| 21 | makefile | ||
diff --git a/doc/lispref/.gitignore b/doc/lispref/.gitignore deleted file mode 100644 index ba74d365995..00000000000 --- a/doc/lispref/.gitignore +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | texput.log | ||
| 2 | elisp.?? | ||
| 3 | elisp.??? | ||
| 4 | config.log | ||
| 5 | config.cache | ||
| 6 | config.status | ||
| 7 | Makefile | ||
| 8 | makefile | ||
| 9 | elisp | ||
| 10 | elisp-? | ||
| 11 | elisp-?? | ||
| 12 | elisp1* | ||
| 13 | elisp2* | ||
diff --git a/doc/misc/.gitignore b/doc/misc/.gitignore deleted file mode 100644 index 3ff56b474dd..00000000000 --- a/doc/misc/.gitignore +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | *.aux | ||
| 2 | *.cp | ||
| 3 | *.cps | ||
| 4 | *.dvi | ||
| 5 | *.fn | ||
| 6 | *.fns | ||
| 7 | *.ky | ||
| 8 | *.kys | ||
| 9 | *.log | ||
| 10 | *.op | ||
| 11 | *.ops | ||
| 12 | |||
| 13 | *.pg | ||
| 14 | *.pgs | ||
| 15 | *.ps | ||
| 16 | *.tmp | ||
| 17 | *.toc | ||
| 18 | *.tp | ||
| 19 | *.tps | ||
| 20 | *.vr | ||
| 21 | *.vrs | ||
| 22 | Makefile | ||
| 23 | makefile | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 53414ed7a7b..92b50d98880 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,27 @@ | |||
| 1 | 2014-11-17 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry): | ||
| 4 | Don't assume --long is the default for "bzr log", always specify | ||
| 5 | it explicitly, in case the user defined an alias for 'log' that | ||
| 6 | uses some other format. | ||
| 7 | |||
| 8 | 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org> | ||
| 9 | |||
| 10 | * progmodes/python.el (python-eldoc--get-doc-at-point): Strip | ||
| 11 | shell output before returning. (bug#18794) | ||
| 12 | |||
| 13 | 2014-11-16 Dmitry Gutov <dgutov@yandex.ru> | ||
| 14 | |||
| 15 | Fix indentation before `!=' and after `+='. Originally reported | ||
| 16 | in https://github.com/mooz/js2-mode/issues/174. | ||
| 17 | * progmodes/js.el (js--indent-operator-re): Make assignments and | ||
| 18 | (in)equality operator a separate case. | ||
| 19 | (js--continued-expression-p): Escape the second `+' in the regexp. | ||
| 20 | |||
| 21 | 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 22 | |||
| 23 | * window.el (handle-select-window): Deactivate shift-region (bug#19003). | ||
| 24 | |||
| 1 | 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org> | 25 | 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 26 | ||
| 3 | * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate | 27 | * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate |
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index d7017e9eed1..c2c45aa4ef8 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el | |||
| @@ -1685,7 +1685,7 @@ This performs fontification according to `js--class-styles'." | |||
| 1685 | "Regular expression matching variable declaration keywords.") | 1685 | "Regular expression matching variable declaration keywords.") |
| 1686 | 1686 | ||
| 1687 | (defconst js--indent-operator-re | 1687 | (defconst js--indent-operator-re |
| 1688 | (concat "[-+*/%<>=&^|?:.]\\([^-+*/]\\|$\\)\\|" | 1688 | (concat "[-+*/%<>&^|?:.]\\([^-+*/]\\|$\\)\\|!?=\\|" |
| 1689 | (js--regexp-opt-symbol '("in" "instanceof"))) | 1689 | (js--regexp-opt-symbol '("in" "instanceof"))) |
| 1690 | "Regexp matching operators that affect indentation of continued expressions.") | 1690 | "Regexp matching operators that affect indentation of continued expressions.") |
| 1691 | 1691 | ||
| @@ -1712,7 +1712,7 @@ This performs fontification according to `js--class-styles'." | |||
| 1712 | (save-excursion (backward-char) (not (looking-at "[/*]/"))) | 1712 | (save-excursion (backward-char) (not (looking-at "[/*]/"))) |
| 1713 | (js--looking-at-operator-p) | 1713 | (js--looking-at-operator-p) |
| 1714 | (and (progn (backward-char) | 1714 | (and (progn (backward-char) |
| 1715 | (not (looking-at "++\\|--\\|/[/*]")))))))))) | 1715 | (not (looking-at "+\\+\\|--\\|/[/*]")))))))))) |
| 1716 | 1716 | ||
| 1717 | 1717 | ||
| 1718 | (defun js--end-of-do-while-loop-p () | 1718 | (defun js--end-of-do-while-loop-p () |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 3e204a92cd3..9680a4aa9d5 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -3615,9 +3615,12 @@ returns will be used. If not FORCE-PROCESS is passed what | |||
| 3615 | (let ((input (or force-input | 3615 | (let ((input (or force-input |
| 3616 | (python-info-current-symbol t)))) | 3616 | (python-info-current-symbol t)))) |
| 3617 | (and input | 3617 | (and input |
| 3618 | (python-shell-send-string-no-output | 3618 | ;; Prevent resizing the echo area when iPython is |
| 3619 | (format python-eldoc-string-code input) | 3619 | ;; enabled. Bug#18794. |
| 3620 | process)))))) | 3620 | (python-util-strip-string |
| 3621 | (python-shell-send-string-no-output | ||
| 3622 | (format python-eldoc-string-code input) | ||
| 3623 | process))))))) | ||
| 3621 | 3624 | ||
| 3622 | (defun python-eldoc-function () | 3625 | (defun python-eldoc-function () |
| 3623 | "`eldoc-documentation-function' for Python. | 3626 | "`eldoc-documentation-function' for Python. |
diff --git a/lisp/vc/vc-bzr.el b/lisp/vc/vc-bzr.el index 073c355df6f..471c4799ca0 100644 --- a/lisp/vc/vc-bzr.el +++ b/lisp/vc/vc-bzr.el | |||
| @@ -720,7 +720,7 @@ If LIMIT is non-nil, show no more than this many entries." | |||
| 720 | (with-current-buffer buffer | 720 | (with-current-buffer buffer |
| 721 | (apply 'vc-bzr-command "log" buffer 'async files | 721 | (apply 'vc-bzr-command "log" buffer 'async files |
| 722 | (append | 722 | (append |
| 723 | (when shortlog '("--line")) | 723 | (if shortlog '("--line") '("--long")) |
| 724 | ;; The extra complications here when start-revision and limit | 724 | ;; The extra complications here when start-revision and limit |
| 725 | ;; are set are due to bzr log's --forward argument, which | 725 | ;; are set are due to bzr log's --forward argument, which |
| 726 | ;; could be enabled via an alias in bazaar.conf. | 726 | ;; could be enabled via an alias in bazaar.conf. |
| @@ -755,7 +755,7 @@ If LIMIT is non-nil, show no more than this many entries." | |||
| 755 | (defun vc-bzr-expanded-log-entry (revision) | 755 | (defun vc-bzr-expanded-log-entry (revision) |
| 756 | (with-temp-buffer | 756 | (with-temp-buffer |
| 757 | (apply 'vc-bzr-command "log" t nil nil | 757 | (apply 'vc-bzr-command "log" t nil nil |
| 758 | (list (format "-r%s" revision))) | 758 | (list "--long" (format "-r%s" revision))) |
| 759 | (goto-char (point-min)) | 759 | (goto-char (point-min)) |
| 760 | (when (looking-at "^-+\n") | 760 | (when (looking-at "^-+\n") |
| 761 | ;; Indent the expanded log entry. | 761 | ;; Indent the expanded log entry. |
diff --git a/lisp/window.el b/lisp/window.el index 78257b61218..b1acd93926c 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -7800,7 +7800,7 @@ is active. This function is run by `mouse-autoselect-window-timer'." | |||
| 7800 | 7800 | ||
| 7801 | (defun handle-select-window (event) | 7801 | (defun handle-select-window (event) |
| 7802 | "Handle select-window events." | 7802 | "Handle select-window events." |
| 7803 | (interactive "e") | 7803 | (interactive "^e") |
| 7804 | (let ((window (posn-window (event-start event)))) | 7804 | (let ((window (posn-window (event-start event)))) |
| 7805 | (unless (or (not (window-live-p window)) | 7805 | (unless (or (not (window-live-p window)) |
| 7806 | ;; Don't switch if we're currently in the minibuffer. | 7806 | ;; Don't switch if we're currently in the minibuffer. |
diff --git a/lwlib/.gitignore b/lwlib/.gitignore deleted file mode 100644 index f3c7a7c5da6..00000000000 --- a/lwlib/.gitignore +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | Makefile | ||
diff --git a/nt/ChangeLog b/nt/ChangeLog index 01dc0b1feed..ae292add9c6 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2014-11-17 Oscar Fuentes <ofv@wanadoo.es> | ||
| 2 | |||
| 3 | * inc/ms-w32.h: Define MINGW_W64. | ||
| 4 | |||
| 5 | * nt/addpm.c: Use it. | ||
| 6 | |||
| 7 | * nt/addsection.c: Use it. | ||
| 8 | |||
| 9 | * nt/preprep.c: Use it. | ||
| 10 | |||
| 1 | 2014-11-24 Glenn Morris <rgm@gnu.org> | 11 | 2014-11-24 Glenn Morris <rgm@gnu.org> |
| 2 | 12 | ||
| 3 | * Makefile.in (../src/emacs.res): New target. | 13 | * Makefile.in (../src/emacs.res): New target. |
diff --git a/nt/addpm.c b/nt/addpm.c index 18057b58b49..f7cfba39d08 100644 --- a/nt/addpm.c +++ b/nt/addpm.c | |||
| @@ -38,9 +38,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 38 | #include <stdio.h> | 38 | #include <stdio.h> |
| 39 | #include <malloc.h> | 39 | #include <malloc.h> |
| 40 | 40 | ||
| 41 | /* MinGW64 defines _W64 and barfs if _WIN32_IE is defined to anything | 41 | /* MinGW64 barfs if _WIN32_IE is defined to anything below 0x500. */ |
| 42 | below 0x500. */ | 42 | #ifndef MINGW_W64 |
| 43 | #ifndef _W64 | ||
| 44 | #define _WIN32_IE 0x400 | 43 | #define _WIN32_IE 0x400 |
| 45 | #endif | 44 | #endif |
| 46 | /* Request C Object macros for COM interfaces. */ | 45 | /* Request C Object macros for COM interfaces. */ |
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index edb143c68d4..e54ab87c7eb 100644 --- a/nt/inc/ms-w32.h +++ b/nt/inc/ms-w32.h | |||
| @@ -26,6 +26,16 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 26 | 26 | ||
| 27 | #include <mingw_time.h> | 27 | #include <mingw_time.h> |
| 28 | 28 | ||
| 29 | /* MinGW-w64 gcc does not automotically define a macro for | ||
| 30 | differentiating it fom MinGW gcc. We need to test the presence of | ||
| 31 | __MINGW64_VERSION_MAJOR in _mingw.h: */ | ||
| 32 | #ifdef __MINGW32__ | ||
| 33 | # include <_mingw.h> | ||
| 34 | # ifdef __MINGW64_VERSION_MAJOR | ||
| 35 | # define MINGW_W64 | ||
| 36 | # endif | ||
| 37 | #endif | ||
| 38 | |||
| 29 | /* #undef const */ | 39 | /* #undef const */ |
| 30 | 40 | ||
| 31 | /* Number of chars of output in the buffer of a stdio stream. */ | 41 | /* Number of chars of output in the buffer of a stdio stream. */ |
| @@ -139,8 +149,7 @@ extern char *getenv (); | |||
| 139 | versions we still support. MinGW64 defines this to a higher value | 149 | versions we still support. MinGW64 defines this to a higher value |
| 140 | in its system headers, and is not really compatible with values | 150 | in its system headers, and is not really compatible with values |
| 141 | lower than 0x0500, so leave it alone. */ | 151 | lower than 0x0500, so leave it alone. */ |
| 142 | #ifndef _W64 | 152 | #ifndef MINGW_W64 |
| 143 | # undef _WIN32_WINNT | ||
| 144 | # define _WIN32_WINNT 0x0400 | 153 | # define _WIN32_WINNT 0x0400 |
| 145 | #endif | 154 | #endif |
| 146 | 155 | ||
| @@ -167,7 +176,7 @@ extern char *getenv (); | |||
| 167 | 176 | ||
| 168 | #ifdef emacs | 177 | #ifdef emacs |
| 169 | 178 | ||
| 170 | #ifdef _W64 | 179 | #ifdef MINGW_W64 |
| 171 | /* MinGW64 specific stuff. */ | 180 | /* MinGW64 specific stuff. */ |
| 172 | /* Make sure 'struct timespec' and 'struct timezone' are defined. */ | 181 | /* Make sure 'struct timespec' and 'struct timezone' are defined. */ |
| 173 | #include <sys/types.h> | 182 | #include <sys/types.h> |
| @@ -370,7 +379,7 @@ typedef int sigset_t; | |||
| 370 | typedef int ssize_t; | 379 | typedef int ssize_t; |
| 371 | #endif | 380 | #endif |
| 372 | 381 | ||
| 373 | #ifdef _W64 /* MinGW64 */ | 382 | #ifdef MINGW_W64 |
| 374 | #ifndef _POSIX | 383 | #ifndef _POSIX |
| 375 | typedef _sigset_t sigset_t; | 384 | typedef _sigset_t sigset_t; |
| 376 | #endif | 385 | #endif |
diff --git a/nt/preprep.c b/nt/preprep.c index fda937df0e0..39a9b70e953 100644 --- a/nt/preprep.c +++ b/nt/preprep.c | |||
| @@ -25,7 +25,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #include <stdio.h> | 25 | #include <stdio.h> |
| 26 | #include <fcntl.h> | 26 | #include <fcntl.h> |
| 27 | #include <time.h> | 27 | #include <time.h> |
| 28 | #if defined(__GNUC__) && !defined(_W64) | 28 | #if defined(__GNUC__) && !defined(MINGW_W64) |
| 29 | #define _ANONYMOUS_UNION | 29 | #define _ANONYMOUS_UNION |
| 30 | #define _ANONYMOUS_STRUCT | 30 | #define _ANONYMOUS_STRUCT |
| 31 | #endif | 31 | #endif |
diff --git a/oldXMenu/.gitignore b/oldXMenu/.gitignore deleted file mode 100644 index f3c7a7c5da6..00000000000 --- a/oldXMenu/.gitignore +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | Makefile | ||
diff --git a/src/ChangeLog b/src/ChangeLog index df704efdf2d..e6bbeb8b864 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2014-11-17 Oscar Fuentes <ofv@wanadoo.es> | ||
| 2 | |||
| 3 | * src/w32.c: Use MINGW_W64 instead of _W64. | ||
| 4 | |||
| 5 | * src/w32term.c: Likewise. | ||
| 6 | |||
| 7 | 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 8 | |||
| 9 | * frame.c (Fhandle_switch_frame): Deactivate shift-region (bug#19003). | ||
| 10 | |||
| 1 | 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org> | 11 | 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 12 | ||
| 3 | * gnutls.c (gnutls_ip_address_p): New function. | 13 | * gnutls.c (gnutls_ip_address_p): New function. |
diff --git a/src/frame.c b/src/frame.c index 88f3d1f4fa9..eaab63a0ea4 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1194,7 +1194,7 @@ This function returns FRAME, or nil if FRAME has been deleted. */) | |||
| 1194 | return do_switch_frame (frame, 1, 0, norecord); | 1194 | return do_switch_frame (frame, 1, 0, norecord); |
| 1195 | } | 1195 | } |
| 1196 | 1196 | ||
| 1197 | DEFUN ("handle-switch-frame", Fhandle_switch_frame, Shandle_switch_frame, 1, 1, "e", | 1197 | DEFUN ("handle-switch-frame", Fhandle_switch_frame, Shandle_switch_frame, 1, 1, "^e", |
| 1198 | doc: /* Handle a switch-frame event EVENT. | 1198 | doc: /* Handle a switch-frame event EVENT. |
| 1199 | Switch-frame events are usually bound to this function. | 1199 | Switch-frame events are usually bound to this function. |
| 1200 | A switch-frame event tells Emacs that the window manager has requested | 1200 | A switch-frame event tells Emacs that the window manager has requested |
| @@ -151,7 +151,7 @@ typedef struct _PROCESS_MEMORY_COUNTERS_EX { | |||
| 151 | #define SDDL_REVISION_1 1 | 151 | #define SDDL_REVISION_1 1 |
| 152 | #endif /* SDDL_REVISION_1 */ | 152 | #endif /* SDDL_REVISION_1 */ |
| 153 | 153 | ||
| 154 | #if defined(_MSC_VER) || defined(_W64) | 154 | #if defined(_MSC_VER) || defined(MINGW_W64) |
| 155 | /* MSVC and MinGW64 don't provide the definition of | 155 | /* MSVC and MinGW64 don't provide the definition of |
| 156 | REPARSE_DATA_BUFFER and the associated macros, except on ntifs.h, | 156 | REPARSE_DATA_BUFFER and the associated macros, except on ntifs.h, |
| 157 | which cannot be included because it triggers conflicts with other | 157 | which cannot be included because it triggers conflicts with other |
diff --git a/src/w32term.c b/src/w32term.c index c2a37d078a8..94b332b929f 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -101,10 +101,10 @@ extern Cursor w32_load_cursor (LPCTSTR name); | |||
| 101 | struct w32_display_info one_w32_display_info; | 101 | struct w32_display_info one_w32_display_info; |
| 102 | struct w32_display_info *x_display_list; | 102 | struct w32_display_info *x_display_list; |
| 103 | 103 | ||
| 104 | #if _WIN32_WINNT < 0x0500 && !defined(_W64) | 104 | #if _WIN32_WINNT < 0x0500 && !defined(MINGW_W64) |
| 105 | /* Pre Windows 2000, this was not available, but define it here so | 105 | /* Pre Windows 2000, this was not available, but define it here so |
| 106 | that Emacs compiled on such a platform will run on newer versions. | 106 | that Emacs compiled on such a platform will run on newer versions. |
| 107 | MinGW64 (_W64) defines these unconditionally, so avoid redefining. */ | 107 | MinGW64 defines these unconditionally, so avoid redefining. */ |
| 108 | 108 | ||
| 109 | typedef struct tagWCRANGE | 109 | typedef struct tagWCRANGE |
| 110 | { | 110 | { |
diff --git a/test/indent/js.js b/test/indent/js.js index d623a0dc5bc..1924094e9d8 100644 --- a/test/indent/js.js +++ b/test/indent/js.js | |||
| @@ -47,3 +47,11 @@ var p = { | |||
| 47 | 47 | ||
| 48 | var evens = [e for each (e in range(0, 21)) | 48 | var evens = [e for each (e in range(0, 21)) |
| 49 | if (ed % 2 == 0)]; | 49 | if (ed % 2 == 0)]; |
| 50 | |||
| 51 | !b | ||
| 52 | !=b | ||
| 53 | !==b | ||
| 54 | |||
| 55 | a++ | ||
| 56 | b += | ||
| 57 | c | ||