aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ChangeLog')
-rw-r--r--lisp/ChangeLog310
1 files changed, 304 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 87904b8313b..8de59875674 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,13 +1,311 @@
12012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
4 (emacs-lisp-byte-code-comment)
5 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
6 New functions.
7 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8 (eval-defun-2): Remove bogus interactive spec.
9 (lisp-indent-line): Remove redundant whole-exp code, now done in
10 indent-according-to-mode.
11 (save-match-data): Remove redundant indent data.
12
13 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
14 Use `declare'.
15
162012-09-09 Juri Linkov <juri@jurta.org>
17
18 * replace.el (replace-regexp-lax-whitespace): New defcustom.
19 (replace-lax-whitespace, query-replace-regexp)
20 (query-replace-regexp-eval, replace-regexp): Doc fix.
21 (perform-replace, replace-highlight): Let-bind
22 isearch-lax-whitespace to replace-lax-whitespace and
23 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
24
25 * isearch.el (isearch-query-replace): Let-bind
26 replace-lax-whitespace to isearch-lax-whitespace and
27 replace-regexp-lax-whitespace to
28 isearch-regexp-lax-whitespace. (Bug#10885)
29
302012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
33
342012-09-09 Alan Mackenzie <acm@muc.de>
35
36 * progmodes/cc-engine.el (c-state-cache-init):
37 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
38 (c-record-parse-state-state):
39 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
40
412012-09-09 Andreas Schwab <schwab@linux-m68k.org>
42
43 * register.el (register-separator): Rename from
44 separator-register. All uses changed. Doc fix.
45 (register): Fix version.
46
472012-09-09 Chong Yidong <cyd@gnu.org>
48
49 * replace.el (query-replace-map): Bind four new symbols for
50 requesting window scrolling.
51
52 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
53 query-replace-map (Bug#8948).
54
55 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
56
57 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
58 since they are now in query-replace-map.
59
60 * window.el (scroll-other-window-down): Make the arg optional.
61
622012-09-09 Chong Yidong <cyd@gnu.org>
63
64 * files.el (hack-local-variables-confirm): Use quit-window to kill
65 the *Local Variables* buffer.
66
672012-09-08 Dmitry Gutov <dgutov@yandex.ru>
68
69 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
70 not just expect to be at its beginning. Adjust callees.
71 Succeed when do-end block has no space before the pipe character.
72 (ruby-brace-to-do-end): When the original block is one-liner,
73 convert to multiline. Reindent the result.
74
752012-09-08 Jambunathan K <kjambunathan@gmail.com>
76
77 * register.el (register): New group.
78 (register-separator): New user option.
79 (increment-register): Route it to `append-to-register', if
80 register contains text. Implication is that `C-x r +' can now be
81 used for appending to a text register (bug#12217).
82 (append-to-register, prepend-to-register): Add separator based on
83 `register-separator.
84
852012-09-08 Alan Mackenzie <acm@muc.de>
86
87 AWK Mode: make auto-newline work when there's "==" in the pattern.
88 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
89 correctly.
90 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
91 Test more rigorously for "=" token.
92
932012-09-08 Dmitry Gutov <dgutov@yandex.ru>
94
95 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
96 Only fail when reached LIMIT.
97
982012-09-08 Chong Yidong <cyd@gnu.org>
99
100 * dired.el (dired-mode-map): Don't bind M-=.
101
102 * dired-aux.el (dired-diff): Use backup file as default.
103
1042012-09-08 Drew Adams <drew.adams@oracle.com>
105
106 * subr.el (add-to-history): Fix delete usage (Bug#12314).
107
1082012-09-08 Chong Yidong <cyd@gnu.org>
109
110 * subr.el (syntax-after, syntax-class): Doc fix.
111
1122012-09-08 Martin Rudalics <rudalics@gmx.at>
113
114 * window.el (display-buffer-in-previous-window): New buffer
115 display action function.
116
117 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
118 (debugger-previous-window): New variable.
119 (debug): Rewrite using display-buffer-in-previous-window,
120 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
121
1222012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
123
124 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
125
1262012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
127
128 * progmodes/python.el (python-shell-send-string):
129 When default-directory is remote, create temp file on remote
130 filesystem.
131 (python-shell-send-file): When file is remote, pass local view of
132 file paths to remote Python interpreter. (Bug#12340)
133
1342012-09-07 Chong Yidong <cyd@gnu.org>
135
136 * window.el (switch-to-buffer): Doc fix (Bug#12181).
137
138 * files.el (after-find-file): Don't fail on a read-only buffer if
139 require-final-newline is `visit' or `visit-save' (Bug#11156).
140
141 * subr.el (read-char-choice): Allow quitting via ESC ESC.
142
143 * userlock.el (ask-user-about-supersession-threat):
144 Use read-char-choice (Bug#12093).
145
1462012-09-07 Chong Yidong <cyd@gnu.org>
147
148 * subr.el (buffer-narrowed-p): New function.
149
150 * ses.el (ses-widen):
151 * simple.el (count-words--buffer-message):
152 * net/browse-url.el (browse-url-of-buffer): Use it
153
154 * simple.el (count-words-region): Don't signal an error if there
155 is a non-nil prefix arg and the mark is not set.
156
157 * help.el (describe-key-briefly): Allow the message to be seen
158 when invoked from the minibuffer (Bug#7014).
159
1602012-09-07 Dmitry Gutov <dgutov@yandex.ru>
161
162 * progmodes/ruby-mode.el (ruby-end-of-defun)
163 (ruby-beginning-of-defun): Simplify, allow indentation before
164 block beginning and end keywords.
165 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
166 (ruby-end-of-defun): Expect that the point is at the beginning of
167 the defun.
168
1692012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
170
171 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
172 (bug#12367).
173 (cl--make-usage-args): Strip _ from argument names.
174
1752012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
176
177 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
178 obsolete alias speedbar-key-map.
179 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
180 (vhdl-index-menu-init): Don't use obsolete variable
181 font-lock-maximum-size.
182
1832012-09-06 Chong Yidong <cyd@gnu.org>
184
185 * frame.el (window-system-version): Mark as obsolete.
186
187 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
188 of obsolete variable speedbar-key-map.
189
1902012-09-06 Juri Linkov <juri@jurta.org>
191
192 * replace.el (replace-lax-whitespace): New defcustom.
193 (query-replace, query-replace-regexp, query-replace-regexp-eval)
194 (replace-string, replace-regexp): Mention it in docstrings.
195 (perform-replace, replace-highlight): Let-bind
196 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
197 to the values of replace-lax-whitespace and regexp-flag.
198 Don't let-bind search-whitespace-regexp. (Bug#10885)
199
200 * isearch.el (isearch-query-replace): Let-bind
201 replace-lax-whitespace instead of let-binding
202 replace-search-function and replace-re-search-function.
203 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
204 and isearch-regexp-lax-whitespace to lazy-highlight variables.
205 (isearch-toggle-symbol): Set isearch-regexp to nil
206 in isearch-word mode (like in isearch-toggle-word).
207
2082012-09-06 Juri Linkov <juri@jurta.org>
209
210 * replace.el (replace-search-function)
211 (replace-re-search-function): Set default values to nil.
212 (perform-replace): Let-bind isearch-related variables based on
213 replace-related values, call `isearch-search-fun' and let-bind
214 the result to `search-function'. Remove code that sets
215 `search-function' and `search-string' separately for
216 `delimited-flag'.
217 (replace-highlight): Add new argument `delimited-flag' and
218 rename other arguments to the names used in `perform-replace'.
219 Let-bind `isearch-word' to the argument `delimited-flag'.
220 (Bug#10885, bug#10887)
221
2222012-09-07 Dmitry Gutov <dgutov@yandex.ru>
223
224 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
225 ruby-beginning-of-indent, simplify, allow all keywords to have
226 indentation before them.
227 (ruby-beginning-of-indent): Adjust for above. Search until the
228 found point is not inside a string or comment.
229 (ruby-font-lock-keywords): Allow symbols to start with "@"
230 character, give them higher priority than variables.
231 (ruby-syntax-propertize-function)
232 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
233 matchers. Expression expansions are not comments when inside a
234 string, and there comment syntax status is irrelevant.
235 (ruby-match-expression-expansion): New function. Check that
236 expression expansion is inside a string, and it's not escaped.
237 (ruby-font-lock-keywords): Use it.
238
2392012-09-05 Martin Rudalics <rudalics@gmx.at>
240
241 * help.el (temp-buffer-max-height): New default value.
242 (temp-buffer-resize-frames): New option.
243 (resize-temp-buffer-window): Optionally resize frame.
244
245 * window.el (fit-frame-to-buffer-bottom-margin): New option.
246 (fit-frame-to-buffer): New function.
247
2482012-09-05 Glenn Morris <rgm@gnu.org>
249
250 * emulation/cua-rect.el (cua--init-rectangles):
251 * textmodes/picture.el (picture-mode-map):
252 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
253 like forward-char and backward-char. (Bug#12317)
254
2552012-09-05 Leo Liu <sdl.web@gmail.com>
256
257 * progmodes/flymake.el (flymake-warning-re): New variable.
258 (flymake-parse-line): Use it.
259
2602012-09-05 Glenn Morris <rgm@gnu.org>
261
262 * calendar/holidays.el (holiday-christian-holidays):
263 Rename an entry. (Bug#12289)
264
2652012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
266
267 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
268 (bug#12222).
269
2702012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
271
272 * loadup.el: Load macroexp. Remove hack.
273 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
274 (macroexp--expand-all): Use it to get better warnings.
275 (macroexp--backtrace, macroexp--trim-backtrace-frame)
276 (internal-macroexpand-for-load): New functions.
277 (macroexp--pending-eager-loads): New var.
278 (emacs-startup-hook): New hack to replace one in loadup.el.
279 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
280 (cl--compiler-macro-cXXr): Move to top, before they can be used.
281 (cl-psetf): Simplify.
282 (cl-defstruct): Add indent rule.
283
2842012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
285
286 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
287 over `user-mail-address' for the SMTP MAIL FROM envelope.
288 (smtpmail-via-smtp): Ditto.
289
2902012-09-04 Dmitry Gutov <dgutov@yandex.ru>
291
292 * progmodes/ruby-mode.el: Clean up keybindings.
293 (ruby-mode-map): Don't bind ruby-electric-brace,
294 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
295 backward-kill-word, reindent-then-newline-and-indent.
296 (ruby-mark-defun): Remove.
297 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
298 (ruby-mode): Set local beginning-of-defun-function and
299 end-of-defun-function values.
300
12012-09-03 Martin Rudalics <rudalics@gmx.at> 3012012-09-03 Martin Rudalics <rudalics@gmx.at>
2 302
3 * window.el (temp-buffer-window-setup-hook) 303 * window.el (temp-buffer-window-setup-hook)
4 (temp-buffer-window-show-hook): New hooks. 304 (temp-buffer-window-show-hook): New hooks.
5 (temp-buffer-window-setup, temp-buffer-window-show) 305 (temp-buffer-window-setup, temp-buffer-window-show)
6 (with-temp-buffer-window): New functions. 306 (with-temp-buffer-window): New functions.
7 (fit-window-to-buffer): Remove unused optional argument 307 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8 OVERRIDE. 308 (special-display-popup-frame): Make sure the window used shows BUFFER.
9 (special-display-popup-frame): Make sure the window used shows
10 BUFFER.
11 309
12 * help.el (temp-buffer-resize-mode): Fix doc-string. 310 * help.el (temp-buffer-resize-mode): Fix doc-string.
13 (resize-temp-buffer-window): New optional argument WINDOW. 311 (resize-temp-buffer-window): New optional argument WINDOW.
@@ -149,8 +447,8 @@
1492012-08-29 Michael Albinus <michael.albinus@gmx.de> 4472012-08-29 Michael Albinus <michael.albinus@gmx.de>
150 448
151 * eshell/esh-ext.el (eshell-external-command): Do not examine 449 * eshell/esh-ext.el (eshell-external-command): Do not examine
152 remote shell scripts. See 450 remote shell scripts.
153 <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>. 451 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
154 452
155 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and 453 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
156 "/usr/local/sbin". 454 "/usr/local/sbin".