diff options
| author | Joakim Verona | 2012-12-27 09:31:53 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-12-27 09:31:53 +0100 |
| commit | a5418f70809c7add030eab14c4eb5123b7b05ce8 (patch) | |
| tree | 4d27f583984ac389a1813ae51ac17f12b4876b80 /lisp | |
| parent | 9a5cff17394a488182a65808569cc4efe6151933 (diff) | |
| parent | 82e2a1f054cc0306494d1194036af4c5d7301caf (diff) | |
| download | emacs-a5418f70809c7add030eab14c4eb5123b7b05ce8.tar.gz emacs-a5418f70809c7add030eab14c4eb5123b7b05ce8.zip | |
auto upstream
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 14 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/plstore.el | 3 | ||||
| -rw-r--r-- | lisp/progmodes/cc-fonts.el | 3 | ||||
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 7 |
6 files changed, 34 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 03122ff5000..f058c8632b7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2012-12-27 Dmitry Gutov <dgutov@yandex.ru> | ||
| 2 | |||
| 3 | * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class", | ||
| 4 | "module" and "def" to have indentation before them. Regression | ||
| 5 | from 109911 (see the new test). | ||
| 6 | |||
| 7 | * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200). | ||
| 8 | |||
| 9 | 2012-12-27 Alan Mackenzie <acm@muc.de> | ||
| 10 | |||
| 11 | Speed up fontification where there's large brace blocks. | ||
| 12 | * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit | ||
| 13 | to a call of c-beginning-of-decl-1. | ||
| 14 | |||
| 1 | 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change) | 15 | 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change) |
| 2 | 16 | ||
| 3 | * comint.el (comint-adjust-window-point): New function. | 17 | * comint.el (comint-adjust-window-point): New function. |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index d95c9cdee30..a830088f3b6 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2012-12-27 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * plstore.el (plstore-passphrase-callback-function): | ||
| 4 | Use plstore-get-file. | ||
| 5 | |||
| 6 | 2012-12-27 Andreas Schwab <schwab@linux-m68k.org> | ||
| 7 | |||
| 8 | * nnimap.el (nnimap-find-article-by-message-id): | ||
| 9 | Don't error out if group is nil. | ||
| 10 | |||
| 11 | * shr.el (shr-tag-em): Render as italic, not bold. | ||
| 12 | |||
| 1 | 2012-12-26 Katsumi Yamaoka <yamaoka@jpl.org> | 13 | 2012-12-26 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 14 | ||
| 3 | * mml2015.el (mml2015-epg-key-image): Use mm-set-buffer-multibyte. | 15 | * mml2015.el (mml2015-epg-key-image): Use mm-set-buffer-multibyte. |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index bc0818efa7c..38ece41ad37 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -980,7 +980,7 @@ textual parts.") | |||
| 980 | (defun nnimap-find-article-by-message-id (group message-id) | 980 | (defun nnimap-find-article-by-message-id (group message-id) |
| 981 | (with-current-buffer (nnimap-buffer) | 981 | (with-current-buffer (nnimap-buffer) |
| 982 | (erase-buffer) | 982 | (erase-buffer) |
| 983 | (unless (equal group (nnimap-group nnimap-object)) | 983 | (unless (or (not group) (equal group (nnimap-group nnimap-object))) |
| 984 | (setf (nnimap-group nnimap-object) nil) | 984 | (setf (nnimap-group nnimap-object) nil) |
| 985 | (setf (nnimap-examined nnimap-object) group) | 985 | (setf (nnimap-examined nnimap-object) group) |
| 986 | (nnimap-send-command "EXAMINE %S" (utf7-encode group t))) | 986 | (nnimap-send-command "EXAMINE %S" (utf7-encode group t))) |
diff --git a/lisp/gnus/plstore.el b/lisp/gnus/plstore.el index f130bfca853..b428cab64e3 100644 --- a/lisp/gnus/plstore.el +++ b/lisp/gnus/plstore.el | |||
| @@ -126,8 +126,7 @@ symmetric encryption will be used.") | |||
| 126 | 126 | ||
| 127 | (defun plstore-passphrase-callback-function (_context _key-id plstore) | 127 | (defun plstore-passphrase-callback-function (_context _key-id plstore) |
| 128 | (if plstore-cache-passphrase-for-symmetric-encryption | 128 | (if plstore-cache-passphrase-for-symmetric-encryption |
| 129 | (let* ((file (file-truename (buffer-file-name | 129 | (let* ((file (file-truename (plstore-get-file plstore))) |
| 130 | (plstore--get-buffer plstore)))) | ||
| 131 | (entry (assoc file plstore-passphrase-alist)) | 130 | (entry (assoc file plstore-passphrase-alist)) |
| 132 | passphrase) | 131 | passphrase) |
| 133 | (or (copy-sequence (cdr entry)) | 132 | (or (copy-sequence (cdr entry)) |
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el index 2d116e1ecdc..c29e2220211 100644 --- a/lisp/progmodes/cc-fonts.el +++ b/lisp/progmodes/cc-fonts.el | |||
| @@ -1591,6 +1591,7 @@ casts and declarations are fontified. Used on level 2 and higher." | |||
| 1591 | ;; prevent a repeat invocation. See elisp/lispref page "Search-based | 1591 | ;; prevent a repeat invocation. See elisp/lispref page "Search-based |
| 1592 | ;; Fontification". | 1592 | ;; Fontification". |
| 1593 | (let* ((paren-state (c-parse-state)) | 1593 | (let* ((paren-state (c-parse-state)) |
| 1594 | (decl-search-lim (c-determine-limit 1000)) | ||
| 1594 | decl-context in-typedef ps-elt) | 1595 | decl-context in-typedef ps-elt) |
| 1595 | ;; Are we in any nested struct/union/class/etc. braces? | 1596 | ;; Are we in any nested struct/union/class/etc. braces? |
| 1596 | (while paren-state | 1597 | (while paren-state |
| @@ -1599,7 +1600,7 @@ casts and declarations are fontified. Used on level 2 and higher." | |||
| 1599 | (when (and (atom ps-elt) | 1600 | (when (and (atom ps-elt) |
| 1600 | (eq (char-after ps-elt) ?\{)) | 1601 | (eq (char-after ps-elt) ?\{)) |
| 1601 | (goto-char ps-elt) | 1602 | (goto-char ps-elt) |
| 1602 | (setq decl-context (c-beginning-of-decl-1) | 1603 | (setq decl-context (c-beginning-of-decl-1 decl-search-lim) |
| 1603 | in-typedef (looking-at c-typedef-key)) | 1604 | in-typedef (looking-at c-typedef-key)) |
| 1604 | (if in-typedef (c-forward-token-2)) | 1605 | (if in-typedef (c-forward-token-2)) |
| 1605 | (when (and c-opt-block-decls-with-vars-key | 1606 | (when (and c-opt-block-decls-with-vars-key |
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index b223aece416..5cba1df3c8f 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | ;; URL: http://www.emacswiki.org/cgi-bin/wiki/RubyMode | 7 | ;; URL: http://www.emacswiki.org/cgi-bin/wiki/RubyMode |
| 8 | ;; Created: Fri Feb 4 14:49:13 JST 1994 | 8 | ;; Created: Fri Feb 4 14:49:13 JST 1994 |
| 9 | ;; Keywords: languages ruby | 9 | ;; Keywords: languages ruby |
| 10 | ;; Version: 1.0 | 10 | ;; Version: 1.2 |
| 11 | 11 | ||
| 12 | ;; This file is part of GNU Emacs. | 12 | ;; This file is part of GNU Emacs. |
| 13 | 13 | ||
| @@ -64,8 +64,9 @@ | |||
| 64 | "Regexp to match keywords that nest without blocks.") | 64 | "Regexp to match keywords that nest without blocks.") |
| 65 | 65 | ||
| 66 | (defconst ruby-indent-beg-re | 66 | (defconst ruby-indent-beg-re |
| 67 | (concat "^\\s *" (regexp-opt '("class" "module" "def" "if" "unless" "case" | 67 | (concat "^\\(\\s *" (regexp-opt '("class" "module" "def")) "\\|" |
| 68 | "while" "until" "for" "begin")) "\\_>") | 68 | (regexp-opt '("if" "unless" "case" "while" "until" "for" "begin")) |
| 69 | "\\)\\_>") | ||
| 69 | "Regexp to match where the indentation gets deeper.") | 70 | "Regexp to match where the indentation gets deeper.") |
| 70 | 71 | ||
| 71 | (defconst ruby-modifier-beg-keywords | 72 | (defconst ruby-modifier-beg-keywords |