diff options
| author | Paul Eggert | 2015-03-03 14:41:30 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-03-03 14:41:30 -0800 |
| commit | 37ad855a38786722833d06dfe78786acc7e9f412 (patch) | |
| tree | de0f0c7aac92eb2c321c1d6ec3254250316d1035 | |
| parent | 36a50f38fbbcf5cc0cafc44af9d1bfcd6c13fc25 (diff) | |
| parent | f1601063f29c99be77d2513320ed6d2494926c1d (diff) | |
| download | emacs-37ad855a38786722833d06dfe78786acc7e9f412.tar.gz emacs-37ad855a38786722833d06dfe78786acc7e9f412.zip | |
Merge from origin/emacs-24
f160106 Avoid assertion violations in Rmail due to newline cache
1b0ebbd browse-url-firefox: update for firefox 36's removal of -remote
1817892 Avoid erratic behavior of menu-bar tooltips on w32 (Bug#19925)
0260932 Bump python.el version
b0adfc7 Spelling fixes
35f047c * src/fileio.c (Fmake_temp_name): Doc tweaks.
6f2971a * lisp/comint.el (comint-line-beginning-position): Revert searching
65d8ac7 Mention in admin/notes/repo how to mark commits not to be merged.
86fe750 # Remove NEWS temporary markup
4fa778b erc.el: Add old version header for package.el compatibilty
9366f05 Tramp: Disable paging with PAGER=cat
Conflicts:
admin/notes/repo
etc/NEWS
lisp/ChangeLog
lisp/erc/ChangeLog
src/ChangeLog
| -rw-r--r-- | admin/notes/repo | 21 | ||||
| -rw-r--r-- | etc/NEWS | 29 | ||||
| -rw-r--r-- | lisp/ChangeLog | 28 | ||||
| -rw-r--r-- | lisp/comint.el | 7 | ||||
| -rw-r--r-- | lisp/erc/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 2 | ||||
| -rw-r--r-- | lisp/frame.el | 6 | ||||
| -rw-r--r-- | lisp/net/browse-url.el | 80 | ||||
| -rw-r--r-- | lisp/org/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 2 | ||||
| -rw-r--r-- | nt/cmdproxy.c | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 23 | ||||
| -rw-r--r-- | src/fileio.c | 18 | ||||
| -rw-r--r-- | src/search.c | 6 | ||||
| -rw-r--r-- | src/w32fns.c | 10 |
15 files changed, 155 insertions, 87 deletions
diff --git a/admin/notes/repo b/admin/notes/repo index 2d4cc2a55cf..4f9dc59eb0f 100644 --- a/admin/notes/repo +++ b/admin/notes/repo | |||
| @@ -7,6 +7,27 @@ package archive (elpa.gnu.org). See admin/notes/elpa for further | |||
| 7 | explanation, and the README file in the branch for usage | 7 | explanation, and the README file in the branch for usage |
| 8 | instructions. | 8 | instructions. |
| 9 | 9 | ||
| 10 | * Install changes only on one branch, let them get merged elsewhere if needed. | ||
| 11 | |||
| 12 | In particular, install bug-fixes only on the release branch (if there | ||
| 13 | is one) and let them get synced to the trunk; do not install them by | ||
| 14 | hand on the trunk as well. E.g. if there is an active "emacs-24" branch | ||
| 15 | and you have a bug-fix appropriate for the next emacs-24.x release, | ||
| 16 | install it only on the emacs-24 branch, not on the trunk as well. | ||
| 17 | |||
| 18 | Installing things manually into more than one branch makes merges more | ||
| 19 | difficult. | ||
| 20 | |||
| 21 | http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01124.html | ||
| 22 | |||
| 23 | The exception is, if you know that the change will be difficult to | ||
| 24 | merge to the trunk (eg because the trunk code has changed a lot). | ||
| 25 | In that case, it's helpful if you can apply the change to both trunk | ||
| 26 | and branch yourself (when committing the branch change, indicate | ||
| 27 | in the commit log that it should not be merged to the trunk, by | ||
| 28 | including the phrase "Not to be merged to master", or any other phrase | ||
| 29 | that matches "merge"). | ||
| 30 | |||
| 10 | * Installing changes from your personal branches. | 31 | * Installing changes from your personal branches. |
| 11 | 32 | ||
| 12 | If your branch has only a single commit, or many different real | 33 | If your branch has only a single commit, or many different real |
| @@ -14,13 +14,6 @@ and NEWS.1-17 for changes in older Emacs versions. | |||
| 14 | You can narrow news to a specific version by calling `view-emacs-news' | 14 | You can narrow news to a specific version by calling `view-emacs-news' |
| 15 | with a prefix argument or by typing C-u C-h C-n. | 15 | with a prefix argument or by typing C-u C-h C-n. |
| 16 | 16 | ||
| 17 | Temporary note: | ||
| 18 | +++ indicates that all necessary documentation updates are complete. | ||
| 19 | (This means all relevant manuals in doc/ AND lisp doc-strings.) | ||
| 20 | --- means no change in the manuals is needed. | ||
| 21 | When you add a new item, use the appropriate mark if you are sure it applies, | ||
| 22 | otherwise leave it unmarked. | ||
| 23 | |||
| 24 | 17 | ||
| 25 | * Installation Changes in Emacs 25.1 | 18 | * Installation Changes in Emacs 25.1 |
| 26 | 19 | ||
| @@ -28,13 +21,16 @@ otherwise leave it unmarked. | |||
| 28 | 21 | ||
| 29 | ** Building Emacs now requires C99 or later. | 22 | ** Building Emacs now requires C99 or later. |
| 30 | 23 | ||
| 24 | ** The default value of `history-length' has increased to 100. | ||
| 25 | |||
| 31 | ** The variable `redisplay-dont-pause' is obsolete. | 26 | ** The variable `redisplay-dont-pause' is obsolete. |
| 32 | 27 | ||
| 33 | ** Building Emacs now requires GNU make, version 3.81 or later. | 28 | ** Building Emacs now requires GNU make, version 3.81 or later. |
| 34 | 29 | ||
| 35 | +++ | 30 | ** `call-process-shell-command' and `process-file-shell-command' no longer |
| 36 | ** `call-process-shell-command' and `process-file-shell-command' | 31 | take "&rest args". |
| 37 | don't take "&rest args" any more. | 32 | |
| 33 | ** The option `browse-url-firefox-startup-arguments' no longer has an effect. | ||
| 38 | 34 | ||
| 39 | ** By default, Emacs no longer works on IRIX. We expect that Emacs | 35 | ** By default, Emacs no longer works on IRIX. We expect that Emacs |
| 40 | users are not affected by this, as SGI stopped supporting IRIX in | 36 | users are not affected by this, as SGI stopped supporting IRIX in |
| @@ -51,32 +47,33 @@ If gnustep-config is not available, the old heuristics are used. | |||
| 51 | +++ | 47 | +++ |
| 52 | *** New option `erc-rename-buffers'. | 48 | *** New option `erc-rename-buffers'. |
| 53 | 49 | ||
| 54 | --- | ||
| 55 | *** New faces `erc-my-nick-prefix-face' and `erc-nick-prefix-face'. | 50 | *** New faces `erc-my-nick-prefix-face' and `erc-nick-prefix-face'. |
| 56 | 51 | ||
| 57 | +++ | ||
| 58 | *** `erc-format-@nick' displays all user modes instead of only op and voice. | 52 | *** `erc-format-@nick' displays all user modes instead of only op and voice. |
| 59 | 53 | ||
| 60 | --- | ||
| 61 | *** The display of irc commands in the current buffer has been disabled. | 54 | *** The display of irc commands in the current buffer has been disabled. |
| 62 | 55 | ||
| 63 | --- | ||
| 64 | *** `erc-version' now follows the Emacs version. | 56 | *** `erc-version' now follows the Emacs version. |
| 65 | 57 | ||
| 66 | ** Obsolete packages | 58 | ** Obsolete packages |
| 67 | 59 | ||
| 68 | --- | ||
| 69 | *** cc-compat.el | 60 | *** cc-compat.el |
| 70 | 61 | ||
| 71 | --- | 62 | --- |
| 72 | ** The configure option `--with-pkg-config-prog' has been removed. | 63 | ** The configure option `--with-pkg-config-prog' has been removed. |
| 73 | Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to. | 64 | Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to. |
| 74 | 65 | ||
| 66 | *** crisp.el (moved to elpa.gnu.org) | ||
| 67 | |||
| 75 | ** The configure option '--enable-silent-rules' is now the default, | 68 | ** The configure option '--enable-silent-rules' is now the default, |
| 76 | and silent rules are now quieter. To get the old behavior where | 69 | and silent rules are now quieter. To get the old behavior where |
| 77 | 'make' chatters a lot, configure with '--disable-silent-rules' or | 70 | 'make' chatters a lot, configure with '--disable-silent-rules' or |
| 78 | build with 'make V=1'. | 71 | build with 'make V=1'. |
| 79 | 72 | ||
| 73 | *** tpu-edt.el, ws-mode.el | ||
| 74 | These emulations of old editors are believed to be no longer relevant | ||
| 75 | - contact emacs-devel@gnu.org if you disagree. | ||
| 76 | |||
| 80 | --- | 77 | --- |
| 81 | ** The configure option '--with-gameuser' now allows to specify a | 78 | ** The configure option '--with-gameuser' now allows to specify a |
| 82 | group instead of a user if its argument is prefixed by ':' (a colon). | 79 | group instead of a user if its argument is prefixed by ':' (a colon). |
| @@ -89,6 +86,8 @@ be installed setgid. The option now defaults to the 'games' group. | |||
| 89 | It has no particular connection to Emacs and has not changed in years, | 86 | It has no particular connection to Emacs and has not changed in years, |
| 90 | so if you want to use it, you can always take a copy from an older Emacs. | 87 | so if you want to use it, you can always take a copy from an older Emacs. |
| 91 | 88 | ||
| 89 | *** vi.el, vip.el (try M-x viper instead) | ||
| 90 | |||
| 92 | 91 | ||
| 93 | * Startup Changes in Emacs 25.1 | 92 | * Startup Changes in Emacs 25.1 |
| 94 | 93 | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 47ddedae883..ad4a05f9129 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,33 @@ | |||
| 1 | 2015-03-03 Glenn Morris <rgm@gnu.org> | 1 | 2015-03-03 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * net/browse-url.el (browse-url-firefox-startup-arguments): | ||
| 4 | Make obsolete. | ||
| 5 | (browse-url-firefox): Doc fix. Remove -remote, which no longer | ||
| 6 | exists in Firefox 36. (Bug#19921) | ||
| 7 | (browse-url-firefox-sentinel): Remove function. | ||
| 8 | |||
| 9 | 2015-03-03 Eli Zaretskii <eliz@gnu.org> | ||
| 10 | |||
| 11 | * frame.el (blink-cursor-timer-function): Don't increment | ||
| 12 | blink-cursor-blinks-done counter when a menu is active on a w32 | ||
| 13 | frame. (Bug#19925) | ||
| 14 | |||
| 15 | 2015-03-03 Juri Linkov <juri@linkov.net> | ||
| 16 | |||
| 17 | * comint.el (comint-line-beginning-position): Revert searching for | ||
| 18 | the prompt when comint-use-prompt-regexp is non-nil because it | ||
| 19 | doesn't distinguish input from output. Check the field property | ||
| 20 | `output' for the case when comint-use-prompt-regexp is nil. | ||
| 21 | (Bug#19710) | ||
| 22 | |||
| 23 | 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com> | ||
| 24 | |||
| 25 | * net/tramp-sh.el (tramp-remote-process-environment): Disable paging | ||
| 26 | with PAGER=cat. (Bug#19870) | ||
| 27 | |||
| 28 | 2015-03-03 Glenn Morris <rgm@gnu.org> | ||
| 29 | 2015-03-03 Glenn Morris <rgm@gnu.org> | ||
| 30 | |||
| 3 | * textmodes/flyspell.el (flyspell-duplicate-distance): | 31 | * textmodes/flyspell.el (flyspell-duplicate-distance): |
| 4 | Bump :version. | 32 | Bump :version. |
| 5 | 33 | ||
diff --git a/lisp/comint.el b/lisp/comint.el index 722a42d6af2..b6944da355c 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -2274,8 +2274,6 @@ a buffer local variable." | |||
| 2274 | ;; Use comint-prompt-regexp | 2274 | ;; Use comint-prompt-regexp |
| 2275 | (save-excursion | 2275 | (save-excursion |
| 2276 | (beginning-of-line) | 2276 | (beginning-of-line) |
| 2277 | (unless (looking-at comint-prompt-regexp) | ||
| 2278 | (re-search-backward comint-prompt-regexp nil t)) | ||
| 2279 | (comint-skip-prompt) | 2277 | (comint-skip-prompt) |
| 2280 | (point)) | 2278 | (point)) |
| 2281 | ;; Use input fields. Note that, unlike the behavior of | 2279 | ;; Use input fields. Note that, unlike the behavior of |
| @@ -2285,7 +2283,10 @@ a buffer local variable." | |||
| 2285 | ;; if there are two fields on a line, then the first one is the | 2283 | ;; if there are two fields on a line, then the first one is the |
| 2286 | ;; prompt, and the second one is an input field, and is front-sticky | 2284 | ;; prompt, and the second one is an input field, and is front-sticky |
| 2287 | ;; (as input fields should be). | 2285 | ;; (as input fields should be). |
| 2288 | (constrain-to-field (field-beginning) (line-end-position)))) | 2286 | (constrain-to-field (if (eq (field-at-pos (point)) 'output) |
| 2287 | (line-beginning-position) | ||
| 2288 | (field-beginning)) | ||
| 2289 | (line-end-position)))) | ||
| 2289 | 2290 | ||
| 2290 | (defun comint-bol (&optional arg) | 2291 | (defun comint-bol (&optional arg) |
| 2291 | "Go to the beginning of line, then skip past the prompt, if any. | 2292 | "Go to the beginning of line, then skip past the prompt, if any. |
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index f89d5a2d043..22ebae4576c 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2015-03-03 Kelvin White <kwhite@gnu.org> | ||
| 2 | |||
| 3 | * erc.el: Add old version string back to file header for | ||
| 4 | package.el compatibility | ||
| 5 | |||
| 6 | 2015-03-03 Glenn Morris <rgm@gnu.org> | ||
| 1 | 2015-03-03 Glenn Morris <rgm@gnu.org> | 7 | 2015-03-03 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * erc.el (erc-rename-buffers): Doc fix. Add :version. | 9 | * erc.el (erc-rename-buffers): Doc fix. Add :version. |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index e2366a1b58f..a84f9f07523 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | ;; Kelvin White (kwhite@gnu.org) | 12 | ;; Kelvin White (kwhite@gnu.org) |
| 13 | ;; Maintainer: emacs-devel@gnu.org | 13 | ;; Maintainer: emacs-devel@gnu.org |
| 14 | ;; Keywords: IRC, chat, client, Internet | 14 | ;; Keywords: IRC, chat, client, Internet |
| 15 | 15 | ;; Version: 5.3 | |
| 16 | 16 | ||
| 17 | ;; This file is part of GNU Emacs. | 17 | ;; This file is part of GNU Emacs. |
| 18 | 18 | ||
diff --git a/lisp/frame.el b/lisp/frame.el index 94e581b1e24..e8a89828b8d 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -1816,8 +1816,12 @@ command starts, by installing a pre-command hook." | |||
| 1816 | (defun blink-cursor-timer-function () | 1816 | (defun blink-cursor-timer-function () |
| 1817 | "Timer function of timer `blink-cursor-timer'." | 1817 | "Timer function of timer `blink-cursor-timer'." |
| 1818 | (internal-show-cursor nil (not (internal-show-cursor-p))) | 1818 | (internal-show-cursor nil (not (internal-show-cursor-p))) |
| 1819 | ;; Suspend counting blinks when the w32 menu-bar menu is displayed, | ||
| 1820 | ;; since otherwise menu tooltips will behave erratically. | ||
| 1821 | (or (and (fboundp 'w32--menu-bar-in-use) | ||
| 1822 | (w32--menu-bar-in-use)) | ||
| 1823 | (setq blink-cursor-blinks-done (1+ blink-cursor-blinks-done))) | ||
| 1819 | ;; Each blink is two calls to this function. | 1824 | ;; Each blink is two calls to this function. |
| 1820 | (setq blink-cursor-blinks-done (1+ blink-cursor-blinks-done)) | ||
| 1821 | (when (and (> blink-cursor-blinks 0) | 1825 | (when (and (> blink-cursor-blinks 0) |
| 1822 | (<= (* 2 blink-cursor-blinks) blink-cursor-blinks-done)) | 1826 | (<= (* 2 blink-cursor-blinks) blink-cursor-blinks-done)) |
| 1823 | (blink-cursor-suspend) | 1827 | (blink-cursor-suspend) |
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 42fb9549255..4c8ebf01588 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el | |||
| @@ -337,6 +337,9 @@ Defaults to the value of `browse-url-firefox-arguments' at the time | |||
| 337 | :type '(repeat (string :tag "Argument")) | 337 | :type '(repeat (string :tag "Argument")) |
| 338 | :group 'browse-url) | 338 | :group 'browse-url) |
| 339 | 339 | ||
| 340 | (make-obsolete-variable 'browse-url-firefox-startup-arguments | ||
| 341 | "it no longer has any effect." "24.5") | ||
| 342 | |||
| 340 | (defcustom browse-url-chromium-program | 343 | (defcustom browse-url-chromium-program |
| 341 | (let ((candidates '("chromium" "chromium-browser"))) | 344 | (let ((candidates '("chromium" "chromium-browser"))) |
| 342 | (while (and candidates (not (executable-find (car candidates)))) | 345 | (while (and candidates (not (executable-find (car candidates)))) |
| @@ -1102,68 +1105,39 @@ used instead of `browse-url-new-window-flag'." | |||
| 1102 | ;;;###autoload | 1105 | ;;;###autoload |
| 1103 | (defun browse-url-firefox (url &optional new-window) | 1106 | (defun browse-url-firefox (url &optional new-window) |
| 1104 | "Ask the Firefox WWW browser to load URL. | 1107 | "Ask the Firefox WWW browser to load URL. |
| 1105 | Default to the URL around or before point. The strings in | 1108 | Defaults to the URL around or before point. Passes the strings |
| 1106 | variable `browse-url-firefox-arguments' are also passed to | 1109 | in the variable `browse-url-firefox-arguments' to Firefox. |
| 1107 | Firefox. | ||
| 1108 | 1110 | ||
| 1109 | When called interactively, if variable | 1111 | Interactively, if the variable `browse-url-new-window-flag' is non-nil, |
| 1110 | `browse-url-new-window-flag' is non-nil, load the document in a | 1112 | loads the document in a new Firefox window. A non-nil prefix argument |
| 1111 | new Firefox window, otherwise use a random existing one. A | 1113 | reverses the effect of `browse-url-new-window-flag'. |
| 1112 | non-nil interactive prefix argument reverses the effect of | ||
| 1113 | `browse-url-new-window-flag'. | ||
| 1114 | 1114 | ||
| 1115 | If `browse-url-firefox-new-window-is-tab' is non-nil, then | 1115 | If `browse-url-firefox-new-window-is-tab' is non-nil, then |
| 1116 | whenever a document would otherwise be loaded in a new window, it | 1116 | whenever a document would otherwise be loaded in a new window, it |
| 1117 | is loaded in a new tab in an existing window instead. | 1117 | is loaded in a new tab in an existing window instead. |
| 1118 | 1118 | ||
| 1119 | When called non-interactively, optional second argument | 1119 | Non-interactively, this uses the optional second argument NEW-WINDOW |
| 1120 | NEW-WINDOW is used instead of `browse-url-new-window-flag'. | 1120 | instead of `browse-url-new-window-flag'. |
| 1121 | 1121 | ||
| 1122 | On MS-Windows systems the optional `new-window' parameter is | 1122 | On MS Windows, this ignores `browse-url-new-window-flag' and |
| 1123 | ignored. Firefox for Windows does not support the \"-remote\" | 1123 | `browse-url-firefox-new-window-is-tab', as well as the NEW-WINDOW argument. |
| 1124 | command line parameter. Therefore, the | 1124 | It always uses a new window." |
| 1125 | `browse-url-new-window-flag' and `browse-url-firefox-new-window-is-tab' | ||
| 1126 | are ignored as well. Firefox on Windows will always open the requested | ||
| 1127 | URL in a new window." | ||
| 1128 | (interactive (browse-url-interactive-arg "URL: ")) | 1125 | (interactive (browse-url-interactive-arg "URL: ")) |
| 1129 | (setq url (browse-url-encode-url url)) | 1126 | (setq url (browse-url-encode-url url)) |
| 1130 | (let* ((process-environment (browse-url-process-environment)) | 1127 | (let* ((process-environment (browse-url-process-environment))) |
| 1131 | (use-remote | 1128 | (apply 'start-process |
| 1132 | (not (memq system-type '(windows-nt ms-dos)))) | 1129 | (concat "firefox " url) nil |
| 1133 | (process | 1130 | browse-url-firefox-program |
| 1134 | (apply 'start-process | 1131 | (append |
| 1135 | (concat "firefox " url) nil | 1132 | browse-url-firefox-arguments |
| 1136 | browse-url-firefox-program | 1133 | ;; FIXME someone should check if this limitation |
| 1137 | (append | 1134 | ;; still applies. |
| 1138 | browse-url-firefox-arguments | 1135 | (unless (memq system-type '(windows-nt ms-dos)) |
| 1139 | (if use-remote | 1136 | (if (browse-url-maybe-new-window new-window) |
| 1140 | (list "-remote" | 1137 | (if browse-url-firefox-new-window-is-tab |
| 1141 | (concat | 1138 | '("-new-tab") |
| 1142 | "openURL(" | 1139 | '("-new-window")))) |
| 1143 | url | 1140 | (list url))))) |
| 1144 | (if (browse-url-maybe-new-window new-window) | ||
| 1145 | (if browse-url-firefox-new-window-is-tab | ||
| 1146 | ",new-tab" | ||
| 1147 | ",new-window")) | ||
| 1148 | ")")) | ||
| 1149 | (list url)))))) | ||
| 1150 | ;; If we use -remote, the process exits with status code 2 if | ||
| 1151 | ;; Firefox is not already running. The sentinel runs firefox | ||
| 1152 | ;; directly if that happens. | ||
| 1153 | (when use-remote | ||
| 1154 | (set-process-sentinel process | ||
| 1155 | `(lambda (process change) | ||
| 1156 | (browse-url-firefox-sentinel process ,url)))))) | ||
| 1157 | |||
| 1158 | (defun browse-url-firefox-sentinel (process url) | ||
| 1159 | "Handle a change to the process communicating with Firefox." | ||
| 1160 | (or (eq (process-exit-status process) 0) | ||
| 1161 | (let* ((process-environment (browse-url-process-environment))) | ||
| 1162 | ;; Firefox is not running - start it | ||
| 1163 | (message "Starting Firefox...") | ||
| 1164 | (apply 'start-process (concat "firefox " url) nil | ||
| 1165 | browse-url-firefox-program | ||
| 1166 | (append browse-url-firefox-startup-arguments (list url)))))) | ||
| 1167 | 1141 | ||
| 1168 | ;;;###autoload | 1142 | ;;;###autoload |
| 1169 | (defun browse-url-chromium (url &optional _new-window) | 1143 | (defun browse-url-chromium (url &optional _new-window) |
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index ce39bb7d568..35e6ef1eccd 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog | |||
| @@ -13109,7 +13109,7 @@ | |||
| 13109 | 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com> | 13109 | 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com> |
| 13110 | 13110 | ||
| 13111 | * org.el (org-fontify-meta-lines-and-blocks-1): | 13111 | * org.el (org-fontify-meta-lines-and-blocks-1): |
| 13112 | Recognize "name" as a valid keyword that can preceed a block. | 13112 | Recognize "name" as a valid keyword that can precede a block. |
| 13113 | 13113 | ||
| 13114 | 2012-01-03 Eric Schulte <schulte.eric@gmail.com> | 13114 | 2012-01-03 Eric Schulte <schulte.eric@gmail.com> |
| 13115 | 13115 | ||
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 1c3f7466c8c..42272a9d558 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Fabián E. Gallina <fabian@anue.biz> | 5 | ;; Author: Fabián E. Gallina <fabian@anue.biz> |
| 6 | ;; URL: https://github.com/fgallina/python.el | 6 | ;; URL: https://github.com/fgallina/python.el |
| 7 | ;; Version: 0.24.4 | 7 | ;; Version: 0.24.5 |
| 8 | ;; Maintainer: emacs-devel@gnu.org | 8 | ;; Maintainer: emacs-devel@gnu.org |
| 9 | ;; Created: Jul 2010 | 9 | ;; Created: Jul 2010 |
| 10 | ;; Keywords: languages | 10 | ;; Keywords: languages |
diff --git a/nt/cmdproxy.c b/nt/cmdproxy.c index 3157a69c1b6..d4832ea9cef 100644 --- a/nt/cmdproxy.c +++ b/nt/cmdproxy.c | |||
| @@ -220,7 +220,7 @@ get_next_token (char * buf, const char ** pSrc) | |||
| 220 | { | 220 | { |
| 221 | /* Output literal backslashes. Note that we don't | 221 | /* Output literal backslashes. Note that we don't |
| 222 | treat a backslash as an escape character here, | 222 | treat a backslash as an escape character here, |
| 223 | since it doesn't preceed a quote. */ | 223 | since it doesn't precede a quote. */ |
| 224 | for ( ; escape_char_run > 0; escape_char_run--) | 224 | for ( ; escape_char_run > 0; escape_char_run--) |
| 225 | *o++ = escape_char; | 225 | *o++ = escape_char; |
| 226 | } | 226 | } |
diff --git a/src/ChangeLog b/src/ChangeLog index 7a30c6e897a..b1d9822f2f4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,28 @@ | |||
| 1 | 2015-03-03 Eli Zaretskii <eliz@gnu.org> | 1 | 2015-03-03 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * search.c (find_newline): Avoid assertion violations in | ||
| 4 | CHAR_TO_BYTE when a portion of the buffer was deleted and we look | ||
| 5 | for newlines near the end of the buffer. This happens in Rmail | ||
| 6 | hen JIT font-lock fontifies a newly displayed portion of the | ||
| 7 | buffer. | ||
| 8 | |||
| 9 | 2015-03-03 Eli Zaretskii <eliz@gnu.org> | ||
| 10 | |||
| 11 | * w32fns.c (Fw32__menu_bar_in_use): New internal function. | ||
| 12 | (Bug#19925) | ||
| 13 | |||
| 14 | 2015-03-03 Glenn Morris <rgm@gnu.org> | ||
| 15 | |||
| 16 | * fileio.c (Fmake_temp_name): Doc tweaks. (Bug#19858) | ||
| 17 | |||
| 18 | 2015-03-03 Eli Zaretskii <eliz@gnu.org> | ||
| 19 | |||
| 20 | * menu.c (Fx_popup_menu) [HAVE_X_WINDOWS]: Call | ||
| 21 | mouse_position_for_popup only for X frames. (Bug#19862) | ||
| 22 | |||
| 23 | 2015-03-03 Eli Zaretskii <eliz@gnu.org> | ||
| 24 | 2015-03-03 Eli Zaretskii <eliz@gnu.org> | ||
| 25 | |||
| 3 | * buffer.c (syms_of_buffer): Doc fix. (Bug#19841) | 26 | * buffer.c (syms_of_buffer): Doc fix. (Bug#19841) |
| 4 | 27 | ||
| 5 | 2015-03-03 Eli Zaretskii <eliz@gnu.org> | 28 | 2015-03-03 Eli Zaretskii <eliz@gnu.org> |
diff --git a/src/fileio.c b/src/fileio.c index 43ab456d813..d4e12cbe277 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -724,20 +724,16 @@ make_temp_name (Lisp_Object prefix, bool base64_p) | |||
| 724 | 724 | ||
| 725 | DEFUN ("make-temp-name", Fmake_temp_name, Smake_temp_name, 1, 1, 0, | 725 | DEFUN ("make-temp-name", Fmake_temp_name, Smake_temp_name, 1, 1, 0, |
| 726 | doc: /* Generate temporary file name (string) starting with PREFIX (a string). | 726 | doc: /* Generate temporary file name (string) starting with PREFIX (a string). |
| 727 | The Emacs process number forms part of the result, | 727 | The Emacs process number forms part of the result, so there is no |
| 728 | so there is no danger of generating a name being used by another process. | 728 | danger of generating a name being used by another Emacs process |
| 729 | \(so long as only a single host can access the containing directory...). | ||
| 729 | 730 | ||
| 730 | In addition, this function makes an attempt to choose a name | 731 | This function tries to choose a name that has no existing file. |
| 731 | which has no existing file. To make this work, | 732 | For this to work, PREFIX should be an absolute file name. |
| 732 | PREFIX should be an absolute file name. | ||
| 733 | 733 | ||
| 734 | There is a race condition between calling `make-temp-name' and creating the | 734 | There is a race condition between calling `make-temp-name' and creating the |
| 735 | file which opens all kinds of security holes. For that reason, you should | 735 | file, which opens all kinds of security holes. For that reason, you should |
| 736 | probably use `make-temp-file' instead, except in three circumstances: | 736 | normally use `make-temp-file' instead. */) |
| 737 | |||
| 738 | * If you are creating the file in the user's home directory. | ||
| 739 | * If you are creating a directory rather than an ordinary file. | ||
| 740 | * If you are taking special precautions as `make-temp-file' does. */) | ||
| 741 | (Lisp_Object prefix) | 737 | (Lisp_Object prefix) |
| 742 | { | 738 | { |
| 743 | return make_temp_name (prefix, 0); | 739 | return make_temp_name (prefix, 0); |
diff --git a/src/search.c b/src/search.c index e9617985c18..5da99c408a5 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -706,6 +706,12 @@ find_newline (ptrdiff_t start, ptrdiff_t start_byte, ptrdiff_t end, | |||
| 706 | start, &next_change); | 706 | start, &next_change); |
| 707 | if (result) | 707 | if (result) |
| 708 | { | 708 | { |
| 709 | /* When the cache revalidation is deferred, | ||
| 710 | next-change might point beyond ZV, which will | ||
| 711 | cause assertion violation in CHAR_TO_BYTE below. | ||
| 712 | Limit next_change to ZV to avoid that. */ | ||
| 713 | if (next_change > ZV) | ||
| 714 | next_change = ZV; | ||
| 709 | start = next_change; | 715 | start = next_change; |
| 710 | lim1 = next_change = end; | 716 | lim1 = next_change = end; |
| 711 | } | 717 | } |
diff --git a/src/w32fns.c b/src/w32fns.c index 6f404e98a62..64532ae6629 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -8238,6 +8238,15 @@ w32_sys_ring_bell (struct frame *f) | |||
| 8238 | MessageBeep (sound_type); | 8238 | MessageBeep (sound_type); |
| 8239 | } | 8239 | } |
| 8240 | 8240 | ||
| 8241 | DEFUN ("w32--menu-bar-in-use", Fw32__menu_bar_in_use, Sw32__menu_bar_in_use, | ||
| 8242 | 0, 0, 0, | ||
| 8243 | doc: /* Return non-nil when a menu-bar menu is being used. | ||
| 8244 | Internal use only. */) | ||
| 8245 | (void) | ||
| 8246 | { | ||
| 8247 | return menubar_in_use ? Qt : Qnil; | ||
| 8248 | } | ||
| 8249 | |||
| 8241 | 8250 | ||
| 8242 | /*********************************************************************** | 8251 | /*********************************************************************** |
| 8243 | Initialization | 8252 | Initialization |
| @@ -8615,6 +8624,7 @@ only be necessary if the default setting causes problems. */); | |||
| 8615 | defsubr (&Sw32_frame_rect); | 8624 | defsubr (&Sw32_frame_rect); |
| 8616 | defsubr (&Sw32_frame_menu_bar_size); | 8625 | defsubr (&Sw32_frame_menu_bar_size); |
| 8617 | defsubr (&Sw32_battery_status); | 8626 | defsubr (&Sw32_battery_status); |
| 8627 | defsubr (&Sw32__menu_bar_in_use); | ||
| 8618 | 8628 | ||
| 8619 | #ifdef WINDOWSNT | 8629 | #ifdef WINDOWSNT |
| 8620 | defsubr (&Sfile_system_info); | 8630 | defsubr (&Sfile_system_info); |