diff options
| author | Glenn Morris | 2014-10-12 15:56:45 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-10-12 15:56:45 -0700 |
| commit | b1d5ab0352b6132eee4feaf9091ce7dc7a3e6a84 (patch) | |
| tree | df2e6708c30f53f071bd824c49c7f00dfbe0ffba /lisp | |
| parent | ec11ab9b783fc1f2c0ce858a711baa5f728c238b (diff) | |
| parent | e175fabcdd37f89db13ab90615cf0baa7bade4d9 (diff) | |
| download | emacs-b1d5ab0352b6132eee4feaf9091ce7dc7a3e6a84.tar.gz emacs-b1d5ab0352b6132eee4feaf9091ce7dc7a3e6a84.zip | |
Merge from emacs-24; up to 2014-07-26T11:58:24Z!schwab@linux-m68k.org
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/org/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/org/org-agenda.el | 4 | ||||
| -rw-r--r-- | lisp/org/org-version.el | 4 | ||||
| -rw-r--r-- | lisp/org/org.el | 21 | ||||
| -rw-r--r-- | lisp/org/ox-publish.el | 6 | ||||
| -rw-r--r-- | lisp/org/ox.el | 5 | ||||
| -rw-r--r-- | lisp/progmodes/bat-mode.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/prolog.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 8 |
10 files changed, 55 insertions, 23 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b07a6b0d851..41c68d7fbee 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org> | ||
| 2 | |||
| 3 | Fix import completion. (Bug#18582) | ||
| 4 | * progmodes/python.el (python-shell-completion-get-completions): | ||
| 5 | Fix import case regexp. | ||
| 6 | |||
| 7 | 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 8 | |||
| 9 | * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo | ||
| 10 | (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>. | ||
| 11 | * progmodes/prolog.el (prolog-electric--underscore): Same. | ||
| 12 | |||
| 1 | 2014-10-12 Michael Albinus <michael.albinus@gmx.de> | 13 | 2014-10-12 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 14 | ||
| 3 | * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid". | 15 | * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid". |
diff --git a/lisp/org/ChangeLog b/lisp/org/ChangeLog index 5a8a9b250a1..38e2eb7a96f 100644 --- a/lisp/org/ChangeLog +++ b/lisp/org/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2014-10-12 Christopher Schmidt <ch@ristopher.com> | ||
| 2 | |||
| 3 | * org.el (orgstruct-make-binding): Do not use loop in interpreted code. | ||
| 4 | |||
| 5 | 2014-10-12 Mike McLean <mike.mclean@pobox.com> (tiny change) | ||
| 6 | |||
| 7 | * org-agenda.el (org-agenda-time-grid): Change docstring. | ||
| 8 | |||
| 9 | 2014-10-12 Nicolas Goaziou <mail@nicolasgoaziou.fr> | ||
| 10 | |||
| 11 | * ox.el (org-export-async-start): Allow to use symbols as function. | ||
| 12 | |||
| 1 | 2014-10-03 Achim Gratz <Stromeko@Stromeko.DE> | 13 | 2014-10-03 Achim Gratz <Stromeko@Stromeko.DE> |
| 2 | 14 | ||
| 3 | * ob-sh.el (org-babel-sh-initiate-session): After initiating a | 15 | * ob-sh.el (org-babel-sh-initiate-session): After initiating a |
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index 6f9db514d43..c11c1c8ba41 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el | |||
| @@ -1472,6 +1472,7 @@ symbols specifying conditions when the grid should be displayed: | |||
| 1472 | weekly if the agenda shows an entire week | 1472 | weekly if the agenda shows an entire week |
| 1473 | today show grid on current date, independent of daily/weekly display | 1473 | today show grid on current date, independent of daily/weekly display |
| 1474 | require-timed show grid only if at least one item has a time specification | 1474 | require-timed show grid only if at least one item has a time specification |
| 1475 | remove-match skip grid times already present in an entry | ||
| 1475 | 1476 | ||
| 1476 | The second item is a string which will be placed behind the grid time. | 1477 | The second item is a string which will be placed behind the grid time. |
| 1477 | 1478 | ||
| @@ -5088,8 +5089,7 @@ of what a project is and how to check if it stuck, customize the variable | |||
| 5088 | "Get the (Emacs Calendar) diary entries for DATE." | 5089 | "Get the (Emacs Calendar) diary entries for DATE." |
| 5089 | (require 'diary-lib) | 5090 | (require 'diary-lib) |
| 5090 | (let* ((diary-fancy-buffer "*temporary-fancy-diary-buffer*") | 5091 | (let* ((diary-fancy-buffer "*temporary-fancy-diary-buffer*") |
| 5091 | (diary-display-hook '(fancy-diary-display)) | 5092 | (diary-display-function 'diary-fancy-display) |
| 5092 | (diary-display-function 'fancy-diary-display) | ||
| 5093 | (pop-up-frames nil) | 5093 | (pop-up-frames nil) |
| 5094 | (diary-list-entries-hook | 5094 | (diary-list-entries-hook |
| 5095 | (cons 'org-diary-default-entry diary-list-entries-hook)) | 5095 | (cons 'org-diary-default-entry diary-list-entries-hook)) |
diff --git a/lisp/org/org-version.el b/lisp/org/org-version.el index b96025785c2..aae65cc6d37 100644 --- a/lisp/org/org-version.el +++ b/lisp/org/org-version.el | |||
| @@ -5,13 +5,13 @@ | |||
| 5 | (defun org-release () | 5 | (defun org-release () |
| 6 | "The release version of org-mode. | 6 | "The release version of org-mode. |
| 7 | Inserted by installing org-mode or when a release is made." | 7 | Inserted by installing org-mode or when a release is made." |
| 8 | (let ((org-release "8.2.8")) | 8 | (let ((org-release "8.2.10")) |
| 9 | org-release)) | 9 | org-release)) |
| 10 | ;;;###autoload | 10 | ;;;###autoload |
| 11 | (defun org-git-version () | 11 | (defun org-git-version () |
| 12 | "The Git version of org-mode. | 12 | "The Git version of org-mode. |
| 13 | Inserted by installing org-mode or when a release is made." | 13 | Inserted by installing org-mode or when a release is made." |
| 14 | (let ((org-git-version "release_8.2.8")) | 14 | (let ((org-git-version "release_8.2.10")) |
| 15 | org-git-version)) | 15 | org-git-version)) |
| 16 | 16 | ||
| 17 | (provide 'org-version) | 17 | (provide 'org-version) |
diff --git a/lisp/org/org.el b/lisp/org/org.el index 05a26a80cbe..1604241f6b3 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -9099,14 +9099,16 @@ if `orgstruct-heading-prefix-regexp' is not empty." | |||
| 9099 | (if fallback | 9099 | (if fallback |
| 9100 | (let* ((orgstruct-mode) | 9100 | (let* ((orgstruct-mode) |
| 9101 | (binding | 9101 | (binding |
| 9102 | (loop with key = ,key | 9102 | (let ((key ,key)) |
| 9103 | for rep in | 9103 | (catch 'exit |
| 9104 | '(nil | 9104 | (dolist |
| 9105 | ("<\\([^>]*\\)tab>" . "\\1TAB") | 9105 | (rep |
| 9106 | ("<\\([^>]*\\)return>" . "\\1RET") | 9106 | '(nil |
| 9107 | ("<\\([^>]*\\)escape>" . "\\1ESC") | 9107 | ("<\\([^>]*\\)tab>" . "\\1TAB") |
| 9108 | ("<\\([^>]*\\)delete>" . "\\1DEL")) | 9108 | ("<\\([^>]*\\)return>" . "\\1RET") |
| 9109 | do | 9109 | ("<\\([^>]*\\)escape>" . "\\1ESC") |
| 9110 | ("<\\([^>]*\\)delete>" . "\\1DEL")) | ||
| 9111 | nil) | ||
| 9110 | (when rep | 9112 | (when rep |
| 9111 | (setq key (read-kbd-macro | 9113 | (setq key (read-kbd-macro |
| 9112 | (let ((case-fold-search)) | 9114 | (let ((case-fold-search)) |
| @@ -9114,7 +9116,8 @@ if `orgstruct-heading-prefix-regexp' is not empty." | |||
| 9114 | (car rep) | 9116 | (car rep) |
| 9115 | (cdr rep) | 9117 | (cdr rep) |
| 9116 | (key-description key)))))) | 9118 | (key-description key)))))) |
| 9117 | thereis (key-binding key)))) | 9119 | (when (key-binding key) |
| 9120 | (throw 'exit (key-binding key)))))))) | ||
| 9118 | (if (keymapp binding) | 9121 | (if (keymapp binding) |
| 9119 | (org-set-transient-map binding) | 9122 | (org-set-transient-map binding) |
| 9120 | (let ((func (or binding | 9123 | (let ((func (or binding |
diff --git a/lisp/org/ox-publish.el b/lisp/org/ox-publish.el index 1dc790daf37..efc70d22a83 100644 --- a/lisp/org/ox-publish.el +++ b/lisp/org/ox-publish.el | |||
| @@ -881,7 +881,7 @@ publishing will be done asynchronously, in another process." | |||
| 881 | ;; project is still a string here. | 881 | ;; project is still a string here. |
| 882 | (list (assoc project org-publish-project-alist))))) | 882 | (list (assoc project org-publish-project-alist))))) |
| 883 | (if async | 883 | (if async |
| 884 | (org-export-async-start 'ignore | 884 | (org-export-async-start (lambda (results) nil) |
| 885 | `(let ((org-publish-use-timestamps-flag | 885 | `(let ((org-publish-use-timestamps-flag |
| 886 | (if ',force nil ,org-publish-use-timestamps-flag))) | 886 | (if ',force nil ,org-publish-use-timestamps-flag))) |
| 887 | (org-publish-projects ',project-alist))) | 887 | (org-publish-projects ',project-alist))) |
| @@ -899,7 +899,7 @@ optional argument ASYNC, publishing will be done asynchronously, | |||
| 899 | in another process." | 899 | in another process." |
| 900 | (interactive "P") | 900 | (interactive "P") |
| 901 | (if async | 901 | (if async |
| 902 | (org-export-async-start 'ignore | 902 | (org-export-async-start (lambda (results) nil) |
| 903 | `(progn | 903 | `(progn |
| 904 | (when ',force (org-publish-remove-all-timestamps)) | 904 | (when ',force (org-publish-remove-all-timestamps)) |
| 905 | (let ((org-publish-use-timestamps-flag | 905 | (let ((org-publish-use-timestamps-flag |
| @@ -921,7 +921,7 @@ asynchronously, in another process." | |||
| 921 | (interactive "P") | 921 | (interactive "P") |
| 922 | (let ((file (buffer-file-name (buffer-base-buffer)))) | 922 | (let ((file (buffer-file-name (buffer-base-buffer)))) |
| 923 | (if async | 923 | (if async |
| 924 | (org-export-async-start 'ignore | 924 | (org-export-async-start (lambda (results) nil) |
| 925 | `(let ((org-publish-use-timestamps-flag | 925 | `(let ((org-publish-use-timestamps-flag |
| 926 | (if ',force nil ,org-publish-use-timestamps-flag))) | 926 | (if ',force nil ,org-publish-use-timestamps-flag))) |
| 927 | (org-publish-file ,file))) | 927 | (org-publish-file ,file))) |
diff --git a/lisp/org/ox.el b/lisp/org/ox.el index dd81ad13d1d..1327ae409ed 100644 --- a/lisp/org/ox.el +++ b/lisp/org/ox.el | |||
| @@ -5479,8 +5479,9 @@ to `:default' encoding. If it fails, return S." | |||
| 5479 | (defmacro org-export-async-start (fun &rest body) | 5479 | (defmacro org-export-async-start (fun &rest body) |
| 5480 | "Call function FUN on the results returned by BODY evaluation. | 5480 | "Call function FUN on the results returned by BODY evaluation. |
| 5481 | 5481 | ||
| 5482 | BODY evaluation happens in an asynchronous process, from a buffer | 5482 | FUN is an anonymous function of one argument. BODY evaluation |
| 5483 | which is an exact copy of the current one. | 5483 | happens in an asynchronous process, from a buffer which is an |
| 5484 | exact copy of the current one. | ||
| 5484 | 5485 | ||
| 5485 | Use `org-export-add-to-stack' in FUN in order to register results | 5486 | Use `org-export-add-to-stack' in FUN in order to register results |
| 5486 | in the stack. | 5487 | in the stack. |
diff --git a/lisp/progmodes/bat-mode.el b/lisp/progmodes/bat-mode.el index e328cfa0d8b..266c24adcca 100644 --- a/lisp/progmodes/bat-mode.el +++ b/lisp/progmodes/bat-mode.el | |||
| @@ -78,11 +78,11 @@ | |||
| 78 | "goto" "gtr" "if" "in" "leq" "lss" "neq" "not" "start")) | 78 | "goto" "gtr" "if" "in" "leq" "lss" "neq" "not" "start")) |
| 79 | (UNIX | 79 | (UNIX |
| 80 | '("bash" "cat" "cp" "fgrep" "grep" "ls" "sed" "sh" "mv" "rm"))) | 80 | '("bash" "cat" "cp" "fgrep" "grep" "ls" "sed" "sh" "mv" "rm"))) |
| 81 | `(("\\<_\\(call\\|goto\\)\\_>[ \t]+%?\\([A-Za-z0-9-_\\:.]+\\)%?" | 81 | `(("\\_<\\(call\\|goto\\)\\_>[ \t]+%?\\([A-Za-z0-9-_\\:.]+\\)%?" |
| 82 | (2 font-lock-constant-face t)) | 82 | (2 font-lock-constant-face t)) |
| 83 | ("^:[^:].*" | 83 | ("^:[^:].*" |
| 84 | . 'bat-label-face) | 84 | . 'bat-label-face) |
| 85 | ("\\<_\\(defined\\|set\\)\\_>[ \t]*\\(\\w+\\)" | 85 | ("\\_<\\(defined\\|set\\)\\_>[ \t]*\\(\\w+\\)" |
| 86 | (2 font-lock-variable-name-face)) | 86 | (2 font-lock-variable-name-face)) |
| 87 | ("%\\(\\w+\\)%?" | 87 | ("%\\(\\w+\\)%?" |
| 88 | (1 font-lock-variable-name-face)) | 88 | (1 font-lock-variable-name-face)) |
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 853f2d0dad2..3f98708e2e3 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el | |||
| @@ -3139,7 +3139,7 @@ the following comma and whitespace, if any." | |||
| 3139 | (eq (char-before) ?_) | 3139 | (eq (char-before) ?_) |
| 3140 | (save-excursion | 3140 | (save-excursion |
| 3141 | (skip-chars-backward "[:alpha:]_") | 3141 | (skip-chars-backward "[:alpha:]_") |
| 3142 | (looking-at "\\<_[_[:upper:]][[:alnum:]_]*\\_>"))) | 3142 | (looking-at "\\_<[_[:upper:]][[:alnum:]_]*\\_>"))) |
| 3143 | (replace-match "_") | 3143 | (replace-match "_") |
| 3144 | (skip-chars-forward ", \t\n"))))) | 3144 | (skip-chars-forward ", \t\n"))))) |
| 3145 | 3145 | ||
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index dfefe837569..b230992fc98 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2886,9 +2886,13 @@ When IMPORT is non-nil takes precedence over INPUT for | |||
| 2886 | completion." | 2886 | completion." |
| 2887 | (with-current-buffer (process-buffer process) | 2887 | (with-current-buffer (process-buffer process) |
| 2888 | (let* ((prompt | 2888 | (let* ((prompt |
| 2889 | (let ((prompt-boundaries (python-util-comint-last-prompt))) | 2889 | ;; Get last prompt of the inferior process buffer (this |
| 2890 | ;; intentionally avoids using `comint-last-prompt' because | ||
| 2891 | ;; of incompatibilities with Emacs 24.x). | ||
| 2892 | (save-excursion | ||
| 2890 | (buffer-substring-no-properties | 2893 | (buffer-substring-no-properties |
| 2891 | (car prompt-boundaries) (cdr prompt-boundaries)))) | 2894 | (line-beginning-position) ;End of prompt. |
| 2895 | (re-search-backward "^")))) | ||
| 2892 | (completion-code | 2896 | (completion-code |
| 2893 | ;; Check whether a prompt matches a pdb string, an import | 2897 | ;; Check whether a prompt matches a pdb string, an import |
| 2894 | ;; statement or just the standard prompt and use the | 2898 | ;; statement or just the standard prompt and use the |