aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Zlatanov2014-11-26 21:31:11 -0500
committerTed Zlatanov2014-11-26 21:31:11 -0500
commitba4502fe1465f7803beca3ae187e41f0b25bef10 (patch)
treede8bdc219eeeba72e1a8b271ac96234c3c5af447
parentb121ef10f500c0377c2ce665e8ccd8b97a6aedfd (diff)
parent81e0cca7bbc99dbfda898a8aaab740ae121cf045 (diff)
downloademacs-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.el4
-rw-r--r--.gitignore40
-rw-r--r--ChangeLog18
-rw-r--r--admin/CPP-DEFINES3
-rw-r--r--admin/ChangeLog4
-rw-r--r--doc/emacs/.gitignore23
-rw-r--r--doc/emacs/ChangeLog6
-rw-r--r--doc/emacs/misc.texi8
-rw-r--r--doc/lispintro/.gitignore24
-rw-r--r--doc/lispref/.gitignore13
-rw-r--r--doc/misc/.gitignore23
-rw-r--r--lisp/ChangeLog24
-rw-r--r--lisp/progmodes/js.el4
-rw-r--r--lisp/progmodes/python.el9
-rw-r--r--lisp/vc/vc-bzr.el4
-rw-r--r--lisp/window.el2
-rw-r--r--lwlib/.gitignore1
-rw-r--r--nt/ChangeLog10
-rw-r--r--nt/addpm.c5
-rw-r--r--nt/inc/ms-w32.h17
-rw-r--r--nt/preprep.c2
-rw-r--r--oldXMenu/.gitignore1
-rw-r--r--src/ChangeLog10
-rw-r--r--src/frame.c2
-rw-r--r--src/w32.c2
-rw-r--r--src/w32term.c4
-rw-r--r--test/indent/js.js8
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
1configure 4configure
2aclocal.m4 5aclocal.m4
3compile 6compile
@@ -9,7 +12,6 @@ missing
9lib/Makefile.in 12lib/Makefile.in
10src/config.in 13src/config.in
11autom4te.cache 14autom4te.cache
12makefile
13TAGS 15TAGS
14*~ 16*~
15.#* 17.#*
@@ -24,7 +26,6 @@ info/dir
24info/*.info 26info/*.info
25test/biditest.txt 27test/biditest.txt
26 28
27Makefile
28config.log 29config.log
29config.status 30config.status
30config.cache 31config.cache
@@ -72,9 +73,38 @@ src/stamp-h1
72src/temacs 73src/temacs
73src/temacs.map 74src/temacs.map
74src/temacs.tmp 75src/temacs.tmp
75doc/emacs/emacsver.texi 76doc/*/*.aux
76doc/man/emacs.1 77doc/*/*.cm
77etc/refcards/emacsver.tex 78doc/*/*.cms
79doc/*/*.cp
80doc/*/*.cps
81doc/*/*.dvi
82doc/*/*.fn
83doc/*/*.fns
84doc/*/*.html
85doc/*/*.ky
86doc/*/*.kys
87doc/*/*.log
88doc/*/*.op
89doc/*/*.ops
90doc/*/*.pdf
91doc/*/*.pg
92doc/*/*.pgs
93doc/*/*.pj
94doc/*/*.pjs
95doc/*/*.ps
96doc/*/*.sc
97doc/*/*.scs
98doc/*/*.tg
99doc/*/*.tgs
100doc/*/*.tmp
101doc/*/*.toc
102doc/*/*.tp
103doc/*/*.tps
104doc/*/*.vr
105doc/*/*.vrs
106doc/*/texput.log
107doc/misc/cc-mode.ss
78lib/.deps/ 108lib/.deps/
79lisp/international/uni-brackets.el 109lisp/international/uni-brackets.el
80lwlib/deps/ 110lwlib/deps/
diff --git a/ChangeLog b/ChangeLog
index 55c6778a960..0fc6be90b48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
12014-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
12014-11-26 Dani Moncayo <dmoncayo@gmail.com> 192014-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.
20DOS_NT Compiling for either the MS-DOS or native MS-Windows port. 20DOS_NT Compiling for either the MS-DOS or native MS-Windows port.
21WINDOWSNT Compiling the native MS-Windows (W32) port. 21WINDOWSNT 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.
24MINGW_W64 Compiling the W32 port with the MinGW-w64 port of GCC.
24DARWIN_OS Compiling on Mac OS X or pure Darwin (and using s/darwin.h). 25DARWIN_OS Compiling on Mac OS X or pure Darwin (and using s/darwin.h).
25SOLARIS2 26SOLARIS2
26USG 27USG
diff --git a/admin/ChangeLog b/admin/ChangeLog
index cc69367555f..6d134046a38 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,7 @@
12014-11-17 Oscar Fuentes <ofv@wanadoo.es>
2
3 * admin/CPP-DEFINES: Mention MINGW_W64.
4
12014-11-22 Glenn Morris <rgm@gnu.org> 52014-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*.pdf
13*.pg
14*.pgs
15*.ps
16*.tmp
17*.toc
18*.tp
19*.tps
20*.vr
21*.vrs
22Makefile
23makefile
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 @@
12014-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
12014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org> 72014-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
527m} (@code{doc-view-set-slice-using-mouse}), where you use the mouse to 527m} (@code{doc-view-set-slice-using-mouse}), where you use the mouse to
528select the slice. 528select the slice. Simply press and hold the left mouse button at the
529@c ??? How does this work? 529upper-left corner of the region you want to have in the slice, then
530move the mouse pointer to the lower-right corner and release the
531button.
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
532BoundingBox information automatically determined from the document by 534BoundingBox information automatically determined from the document by
533typing @kbd{s b} (@code{doc-view-set-slice-using-mouse}). 535typing @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
20Makefile
21makefile
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 @@
1texput.log
2elisp.??
3elisp.???
4config.log
5config.cache
6config.status
7Makefile
8makefile
9elisp
10elisp-?
11elisp-??
12elisp1*
13elisp2*
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*.pdf
13*.pg
14*.pgs
15*.ps
16*.tmp
17*.toc
18*.tp
19*.tps
20*.vr
21*.vrs
22Makefile
23makefile
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 53414ed7a7b..92b50d98880 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,27 @@
12014-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
82014-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
132014-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
212014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
24
12014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org> 252014-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 @@
1Makefile
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 01dc0b1feed..ae292add9c6 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,13 @@
12014-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
12014-11-24 Glenn Morris <rgm@gnu.org> 112014-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;
370typedef int ssize_t; 379typedef int ssize_t;
371#endif 380#endif
372 381
373#ifdef _W64 /* MinGW64 */ 382#ifdef MINGW_W64
374#ifndef _POSIX 383#ifndef _POSIX
375typedef _sigset_t sigset_t; 384typedef _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 @@
1Makefile
diff --git a/src/ChangeLog b/src/ChangeLog
index df704efdf2d..e6bbeb8b864 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,13 @@
12014-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
72014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8
9 * frame.c (Fhandle_switch_frame): Deactivate shift-region (bug#19003).
10
12014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org> 112014-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
1197DEFUN ("handle-switch-frame", Fhandle_switch_frame, Shandle_switch_frame, 1, 1, "e", 1197DEFUN ("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.
1199Switch-frame events are usually bound to this function. 1199Switch-frame events are usually bound to this function.
1200A switch-frame event tells Emacs that the window manager has requested 1200A switch-frame event tells Emacs that the window manager has requested
diff --git a/src/w32.c b/src/w32.c
index f014cd73a76..ca5e14bc60a 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -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);
101struct w32_display_info one_w32_display_info; 101struct w32_display_info one_w32_display_info;
102struct w32_display_info *x_display_list; 102struct 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
109typedef struct tagWCRANGE 109typedef 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
48var evens = [e for each (e in range(0, 21)) 48var 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
55a++
56b +=
57 c