* filecache.el (file-cache-add-file): Handle relative file name in the argument.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ec15e0ff
CY
12012-11-17 Chong Yidong <cyd@gnu.org>
2
3 * filecache.el (file-cache-add-file): Handle relative file name in
4 the argument (Bug#12694).
5
60c4ee66
JH
62012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
7
8 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
9
cdc5d88c
SM
102012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11
dd0c5bbb
SM
12 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
13
cdc5d88c
SM
14 * emacs-lisp/cl-lib.el: Set more meaningful version number.
15
0ff7851c
MR
162012-11-16 Martin Rudalics <rudalics@gmx.at>
17
18 * window.el (enlarge-window, shrink-window): Don't mention return
19 value in doc-string (Bug#12896).
20 (window--display-buffer): Don't resize frames - it won't work
21 with all window managers and defeat pop-up-frame-alist.
22 (display-buffer-alist): In doc-string explain that CONDITION can
23 be a function and which arguments are passed to it (Bug#12854).
24 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
25 expressions (Bug#12854).
26 (display-buffer): Pass ACTION argument to
27 display-buffer-assq-regexp.
28
dedd1884
GM
292012-11-16 Glenn Morris <rgm@gnu.org>
30
7c82753d
GM
31 * window.el (fit-frame-to-buffer-bottom-margin)
32 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
33
dedd1884
GM
34 * faces.el (face-underline-p): Use face-attribute-specified-or.
35
96e05507 362012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
37
38 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
39
96e05507 402012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
41
42 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
43
96e05507 442012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 45
17c083ac
GM
46 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
47 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
48
bde3c6c0
GM
49 * faces.el (face-underline-p): Doc fix. Handle :underline being
50 things other than `t' (a string, a list).
51 (face-inverse-video-p): Doc fix.
52 (set-face-underline): Rename it back from set-face-underline-p.
53 Doc fix. Allow interactive input of values other than t.
54 (read-face-attribute): Apply formatting to :underline,
55 since like :box and :stipple it can take list values.
56
e2e13f18
GM
57 * term.el (ansi-term): Don't let C-x escape-char binding
58 clobber the more standard C-c binding. (Bug#12842)
59
e0ea8060
GM
60 * subr.el (set-temporary-overlay-map): Doc fix.
61
96e05507 622012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
63
64 * window.el (record-window-buffer)
65 (display-buffer-record-window): When copying the markers to
66 window-point preserve window-point-insertion-type. (Bug#12588)
67
96e05507 682012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
69
70 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
71 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
72 Use new names for hooks rather than obsolete aliases.
73
faeafc01
DC
742012-11-15 Daniel Colascione <dancol@dancol.org>
75
76 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
77 prefix instead of "file:" so that when FILE-NAME begins with "//",
78 as it does when the target file is on a network share, url-handler
79 isn't confused.
80
1232d6c2
SM
812012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
82
83 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
84 a preactivated advice from an old advice.el; they're not compatible!
85
47f01a8a
KY
862012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
87
88 * emacs-lisp/nadvice.el (advice--make-interactive-form):
89 Fix string-spec case.
90
91 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
92
a61428c4
SM
932012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
96 (advice--buffer-local-function-sample): New var.
97 (advice--set-buffer-local, advice--buffer-local): New functions.
98 (add-function, remove-function): Use them.
99
875ce3a7
DA
1002012-11-15 Drew Adams <drew.adams@oracle.com>
101
102 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
103
589fc479
SM
1042012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
105
106 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
107 potential binding of print-gensym to t, and prettify (back)quotes in
108 case they appear in args's default values (bug#12884).
109
1668ea90
SM
1102012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
111
112 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
113 (advice-eval-interactive-spec): New function.
114 (advice--make-interactive-form): Support around advice (bug#12844).
115
8619323f
DG
1162012-11-14 Dmitry Gutov <dgutov@yandex.ru>
117
118 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
119 more strict. Add docstring.
c62792e7
DG
120 (ruby-expression-expansion-re): Extract from
121 `ruby-match-expression-expansion'.
122 (ruby-syntax-propertize-function): After everything else, search
123 for expansions in string literals, mark their insides as
124 whitespace syntax and save match data for font-lock.
125 (ruby-font-lock-keywords): Use the 2nd group from expression
126 expansion matches.
127 (ruby-match-expression-expansion): Use the match data saved to the
128 text property in ruby-syntax-propertize-function.
8619323f 129
9c3912d3
SM
1302012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
131
132 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
133 (bug#12879).
134
5e9419e8
DG
1352012-11-13 Dmitry Gutov <dgutov@yandex.ru>
136
137 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
138 start/end keyword a bit harder. Works with different values of N.
139 Add more comments.
140 (ruby-end-of-block): Update accordingly.
141
3c442f8b
SM
1422012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
143
fa470af0
SM
144 * woman.el (woman-file-name): Don't mess with unread-command-events
145 (bug#12861).
146
3c442f8b
SM
147 * emacs-lisp/advice.el: Layer on top of nadvice.el.
148 Remove out of date self-require hack.
149 (ad-do-advised-functions): Use simple `dolist'.
150 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
151 (ad-advice-definition): Redefine as functions.
152 (ad-advice-classes): Move before first use.
153 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 154 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 155 (ad--defalias-fset): Remove functions.
fa470af0 156 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
157 (ad-get-orig-definition): Rewrite.
158 (ad-make-advised-definition-docstring): Change base docstring.
159 (ad-real-orig-definition): Rewrite.
160 (ad-map-arglists): Change name of called function.
161 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
162 (ad-make-advised-definition): Simplify.
163 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 164 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
165 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
166 function and call ad-activate if needed.
167 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
168 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
169 (ad-compile-function): Compile ad-Advice-*.
170 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
171 (ad-start-advice, ad-stop-advice): Remove.
172
5745cae6
DG
1732012-11-13 Dmitry Gutov <dgutov@yandex.ru>
174
175 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
176 period before class method names, not after. Remove handling of
177 one impossible case. Add comments.
178
413d4689
SM
1792012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
180
7db1bda8
SM
181 * emacs-lisp/advice.el: Remove support for freezing.
182 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
183 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
184 Remove support for `freeze'.
185
413d4689
SM
186 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
187 override the default.
188 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
189 cl--dotimes/dolist.
190 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
191 `cl' is loaded.
192
193 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
194 from add-advice.
195 (advice--strip-macro): New function.
196 (advice--defalias-fset): Use them to handle macros.
197 (advice-add): Use them.
198 (advice-member-p): Correctly handle macros.
199
f178c32d
DG
2002012-11-13 Dmitry Gutov <dgutov@yandex.ru>
201
7db1bda8
SM
202 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
203 Never font-lock the beginning of singleton class as heredoc.
f178c32d 204
f78ee6af 2052012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
206
207 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
208
f78ee6af 2092012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
210
211 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
212 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
213 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 214
f78ee6af 2152012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
216
217 Fix end-of-defun misbehavior.
218 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
219 python-beginning-of-defun-function. Handle nested defuns
220 correctly.
221 (python-nav-end-of-defun): Rename from
222 python-end-of-defun-function. Ensure forward movement.
f8705f6e 223 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
224 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
225 parent defuns as soon as possible.
226
f78ee6af 2272012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
228
229 * progmodes/flymake.el (flymake-error-bitmap)
230 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
231 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
232
f78ee6af 2332012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
234
235 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
236 backward, always stop at indentation. Reverts the change from
237 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
238
f78ee6af 2392012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 240
a1d3e07e
GM
241 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
242 Add ibuffer-filter-by-derived-mode.
243
84acf328
GM
244 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
245 the same name shadowing each other.
246
38785e75
GM
247 * window.el (with-temp-buffer-window): Doc tweak.
248
57fc0fee
GM
249 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
250
6ba6a3e5
GM
251 * help.el (temp-buffer-max-height):
252 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
253 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
254
231d8498
SM
2552012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
256
257 * emacs-lisp/nadvice.el: New package.
258 * subr.el (special-form-p): New function.
259 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
260 (elp-all-instrumented-list): Remove var.
261 (elp-not-profilable): Remove elp-wrapper.
262 (elp-profilable-p): Use autoloadp and special-form-p.
263 (elp--advice-name): New const.
264 (elp-instrument-function): Use advice-add.
265 (elp--instrumented-p): New predicate.
266 (elp-restore-function): Use advice-remove.
267 (elp-restore-all, elp-reset-all): Use mapatoms.
268 (elp-set-master): Use elp--instrumented-p.
269 (elp--make-wrapper): Rename from elp-wrapper, return a function
270 suitable for advice-add. Use cl-inf.
271 (elp-results): Use mapatoms+elp--instrumented-p.
272 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
273 (debug-function-list): Remove var.
274 (debug): Rename arg, and then let-bind it explicitly inside.
275 (debugger-setup-buffer): Rename arg.
276 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
277 (debugger-frame-number): Adjust to new debug-on-entry setup.
278 (debug--implement-debug-on-entry): Rename from
279 implement-debug-on-entry, add argument.
280 (debugger-special-form-p): Remove, use special-form-p instead.
281 (debug-on-entry): Use advice-add.
282 (debug--function-list): New function.
283 (cancel-debug-on-entry): Use it, along with advice-remove.
284 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
285 (debugger-list-functions): Use debug--function-list instead of
286 debug-function-list.
287 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
288 (ad-special-form-p): Remove, use special-form-p instead.
289 (ad-set-advice-info): Use add-function and remove-function.
290 (ad--defalias-fset): Adjust accordingly.
291
19e09879
GM
2922012-11-10 Glenn Morris <rgm@gnu.org>
293
714cebd1
GM
294 * mail/emacsbug.el (report-emacs-bug-tracker-url)
295 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
296 (report-emacs-bug-create-existing-bugs-buffer)
297 (report-emacs-bug-parse-query-results)
298 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
299
bf67dafa
GM
300 * term.el (term-default-fg-color, term-default-bg-color):
301 Make obsolete, rather than just saying "deprecated" in the doc.
302
19e09879
GM
303 * term.el (term): Rename from `term-face'.
304 (term-current-face, ansi-term-color-vector)
305 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
306 Update all users.
307
6baf66d5 3082012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
309
310 * server.el (server-create-window-system-frame): Handle Nextstep
311 specially (Bug#12780).
312
6baf66d5 3132012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
314
315 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
316 Unautoload, and make obsolete. (Bug#7449)
317
6baf66d5 3182012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
319
320 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
321 rename from diff-remove-trailing-whitespace (Bug#12831).
322
6baf66d5 3232012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
324
325 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
326 miscompilation of trace.el.
327
6baf66d5 3282012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
329
330 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
331
6baf66d5 3322012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
333
334 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
335 (bug#12812).
336
6baf66d5 3372012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
338
339 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
340 a defcustom with an appropriate :set function.
341 (minibuffer-default--in-prompt-regexps): New function.
342
6baf66d5 3432012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 344
031b2ea7
GM
345 * emacs-lisp/cl.el (define-setf-expander, defsetf)
346 (define-modify-macro): Doc fixes.
347
2ee1d59f
GM
348 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
349 (gv-define-simple-setter): Update doc of `fix-return'.
350
6baf66d5 3512012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 352
b715ed44
SM
353 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
354 twice when `fix-return' is set (bug#12813).
355
d57c286e
SM
356 * emacs-lisp/cl.el (defsetf): Pass the third arg to
357 gv-define-simple-setter (bug#12812).
358
c9cac599
SM
359 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
360 (bug#12756).
361
6baf66d5 3622012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
363
364 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
365
5593ed90
GM
366 * emacs-lisp/cl-extra.el (cl-prettyexpand):
367 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
368 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
369 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
370
371 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
372
05a859c1
LL
3732012-11-10 Leo Liu <sdl.web@gmail.com>
374
375 * ido.el (ido-set-matches-1): Improve flex matching performance by
376 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
377
32e5c58c
SM
3782012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
381 (ad--defalias-fset): New function.
382 (ad-safe-fset): Remove.
383 (ad-make-freeze-definition): Use cl-letf*.
384
f5925cd9
SM
3852012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
386
da03ef8a
SM
387 * subr.el (dolist): Don't bind VAR in RESULT.
388
6858633a
SM
389 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
390 (fset, documentation): Don't save real def since we don't advise.
391 (ad-do-advised-functions): Remove problematic `result-form'.
392 (ad-safe-fset): `ad-real-fset' => `fset'.
393 (ad-read-advised-function): Don't assume that ad-do-advised-functions
394 uses CL's dolist internally.
395 (ad-arglist): Remove unused arg `name'.
396 (ad-docstring, ad-make-advised-docstring):
397 `ad-real-documentation' => `documentation'.
398 (warning-suppress-types): Declare.
399 (ad-set-arguments): Simple CSE.
400 (ad-recover-normality): Sanity check.
401
f5925cd9
SM
402 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
403 (funcall '(lambda ..) ..) into ((lambda ..) ..).
404
93a66b3a
VB
4052012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
406
407 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
408 `ses-cell'. This means that the same mapping is done for all SES
409 sheets. That is good enough for cells with standard A1 names, but
410 not for named cell. So a hash map is added for the latter.
411 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
412 (ses-sym-rowcol): Use hashmap for named cell.
413 (ses-is-cell-sym-p): New defun.
414 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
415 (ses-create-cell-variable): Add cell to hashmap when name is not
416 A1-like.
93a66b3a
VB
417 (ses-rename-cell): Check that cell new name is not already in
418 spreadsheet with the use of ses-is-cell-sym-p
419 (ses-rename-cell): Use hash map for named cells, but accept also
420 renaming back to A1-like.
421
67dd8ad1
SM
4222012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
423
57618ecf
SM
424 * emacs-lisp/advice.el: Use new dynamic docstrings.
425 (ad-make-advised-definition-docstring, ad-advised-definition-p):
426 Use dynamic-docstring-function instead of ad-advice-info.
427 (ad--make-advised-docstring): New function extracted from
428 ad-make-advised-docstring.
429 (ad-make-advised-docstring): Use it.
430 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
431 from sql-help.
432 (sql-help): Use it with dynamic-docstring-function.
433
67dd8ad1
SM
434 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
435
be883b34
SM
4362012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
437
d41706aa
SM
438 * files.el (hack-one-local-variable--obsolete): New function.
439 (hack-one-local-variable): Use it for obsolete settings.
440
85e55412
SM
441 * subr.el (locate-user-emacs-file): If both old and new name exist, use
442 the new name.
443
be883b34
SM
444 * progmodes/js.el (js--filling-paragraph): New var.
445 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
446 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
447 less sneaky.
448
cabc040a
JD
4492012-11-08 Julien Danjou <julien@danjou.info>
450
451 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
452 `auto-mode-alist' (Bug#12835).
453
d14bb752
SM
4542012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
455
79b3e376
SM
456 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
457 (perl--prettify-symbols-alist): New const.
458 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
459 New functions.
460 (perl-font-lock-keywords-2): Use them.
461 (perl-electric-noindent-p): New function.
462 (perl-mode): Use it to set up electric-indent-mode.
463 (perl-electric-terminator, perl-indent-command): Mark obsolete.
464 (perl-mode-map): Remove bindings for them.
465 (perl-imenu-generic-expression, perl-outline-level):
466 Match functions&packages in column>0.
467
3b11e6ac
SM
468 * env.el (env--substitute-vars-regexp): New const.
469 (substitute-env-vars): Use it. Add `only-defined' arg.
470 * net/tramp.el (tramp-replace-environment-variables): Use it.
471
784c1a7b
SM
472 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
473 Byte-compile *before* eval in eval-and-compile.
474 (byte-compile-log-warning): Remove redundant inhibit-read-only.
475 (byte-compile-file-form-autoload): Don't hide actual definition.
476 (byte-compile-maybe-guarded): Accept `functionp' as well.
477
d14bb752
SM
478 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
479
499a0f7a
MA
4802012-11-07 Michael Albinus <michael.albinus@gmx.de>
481
482 * notifications.el (notifications-get-server-information-method):
483 New defconst.
484 (notifications-get-capabilities): Fix docstring.
485 (notifications-get-server-information): New defun.
486
f0704a9a
AM
4872012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
488
489 * textmodes/ispell.el (ispell-region): Standard re-indent for better
490 readability.
491
b159a1fd
AM
492 * textmodes/ispell.el: Experimental support for support debugging.
493 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
494 buffer for ispell.
495 (ispell-print-if-debug): New function to print stuff to
496 `ispell-debug-buffer' if debugging is enabled.
497 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
498 show some debugging info.
499 (ispell-buffer-with-debug): New function that creates a debugging
500 buffer and calls `ispell-buffer' with debugging enabled.
501
056cb3a1
AM
502 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
503 comment in autoconf mode. (Bug#12768)
504
8e6a67b7
DA
5052012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
506
507 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
508 frame-first-window, frame-root-window, frame-selected-window,
509 minibuffer-selected-window, minibuffer-window,
510 window-absolute-pixel-edges, window-at, window-body-height,
511 window-body-width, window-display-table, window-combination-limit,
512 window-frame, window-fringes, window-inside-absolute-pixel-edges,
513 window-inside-edges, window-inside-pixel-edges, window-left-child,
514 window-left-column, window-margins, window-next-buffers,
515 window-next-sibling, window-new-normal, window-new-total,
516 window-normal-size, window-parameter, window-parameters, window-parent,
517 window-pixel-edges, window-point, window-prev-buffers,
518 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
519 window-start, window-text-height, window-top-child, window-top-line,
520 window-total-height, window-total-width and window-use-time to the list
521 of functions without side-effects.
522 (toplevel): Add window-valid-p to the list of error-free functions
523 without side-effects.
524
53fc914f
AM
5252012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
526
f5925cd9
SM
527 * textmodes/ispell.el (ispell-program-name):
528 Update spellchecker parameters when customized.
53fc914f 529
9749e2b0
GM
5302012-11-04 Glenn Morris <rgm@gnu.org>
531
532 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
533
2cbafa56
CY
5342012-11-04 Chong Yidong <cyd@gnu.org>
535
536 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
537 same-window-* variables.
538
85178ca1
JL
5392012-11-04 Juri Linkov <juri@jurta.org>
540
541 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
542 (isearch-describe-key, isearch-describe-mode): Use a display
543 action instead of binding same-window-* variables (Bug#10040).
544
5c677d44
GM
5452012-11-03 Glenn Morris <rgm@gnu.org>
546
49138400
GM
547 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
548 Rename handler properties back from cl-- to cl-. (Bug#12788)
549
5c677d44
GM
550 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
551
1d4341f9
EZ
5522012-11-03 Eli Zaretskii <eliz@gnu.org>
553
554 * term/pc-win.el: Don't load term/internal from here.
555
556 * loadup.el: Load term/internal from here.
557
12fd5ee1
FEG
5582012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
559
560 * progmodes/python.el (inferior-python-mode): Fix hang in
561 jit-lock (Bug#12645).
562
43bcfda6
MR
5632012-11-03 Martin Rudalics <rudalics@gmx.at>
564
565 * window.el (switch-to-visible-buffer)
566 (switch-to-buffer-preserve-window-point): Fix doc-strings.
567
376a8e83
GM
5682012-11-03 Glenn Morris <rgm@gnu.org>
569
570 * emacs-lisp/cl-lib.el (cl--random-time):
571 Rename from cl-random-time. (Bug#12773)
572 (cl--gensym-counter, cl--random-state): Update callers.
573 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
574
0f7b074f
CY
5752012-11-03 Chong Yidong <cyd@gnu.org>
576
577 * cus-start.el: Make cursor-type customizable (Bug#11633).
578
3a6851d9
GM
5792012-11-02 Glenn Morris <rgm@gnu.org>
580
00a3b041
GM
581 * filecache.el: No need to load find-lisp when compiling.
582 (find-lisp-find-files): Autoload it.
583 (file-cache-add-directory-recursively): Don't require find-lisp.
584
11fef14a
GM
585 * image.el (image-type-from-file-name): Trivial simplification.
586
3a6851d9
GM
587 * emacs-lisp/bytecomp.el (byte-compile-eval):
588 Decouple "noruntime" and "cl-functions" warnings.
589
b4b096e4
SB
5902012-11-01 Stephen Berman <stephen.berman@gmx.net>
591
592 * play/gomoku.el (gomoku-display-statistics): Update mode line
593 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
594
218e997a
MR
5952012-10-31 Martin Rudalics <rudalics@gmx.at>
596
597 * window.el (quit-restore-window): If the window has been
598 created on an existing frame and ended up as the sole window on
599 that frame, do not delete it (Bug#12764).
600
b08b6da7
SM
6012012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
602
3618df45
SM
603 * progmodes/sh-script.el (sh--inside-noncommand-expression):
604 Rename from sh--inside-arithmetic-expression, handle more cases
605 (bug#11263).
606
b08b6da7
SM
607 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
608 (sh-font-lock-open-heredoc): Use it (bug#12770).
609
4ddedf94
GM
6102012-10-30 Glenn Morris <rgm@gnu.org>
611
f43a5263
GM
612 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
613
4ddedf94
GM
614 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
615
748b0d84
CY
6162012-10-29 Chong Yidong <cyd@gnu.org>
617
b5dd9a77
CY
618 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
619 function key is stored in a keyboard macro (Bug#4894).
620
748b0d84
CY
621 * thingatpt.el (number-at-point): Apply a thing-at-point property.
622
e07fcbdc
SM
6232012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
624
d7f9cc85
SM
625 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
626 header comments".
627 (diff-unified->context, diff-context->unified)
628 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
629
c606253c
SM
630 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
631
e07fcbdc
SM
632 * files.el (find-alternate-file): Only ask one question (bug#12487).
633
894b9dd9
CY
6342012-10-29 Chong Yidong <cyd@gnu.org>
635
1dc2755a
CY
636 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
637 Suggested by Dan Nicolaescu (Bug#6326).
638
329c48d8
CY
639 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
640
2230fa5b 641 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 642
e84cad57
CY
643 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
644
1913c5f5
CY
645 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
646
894b9dd9
CY
647 * face-remap.el (face-remap-add-relative): Handle the case where a
648 face-remapping-alist entry is a cons cell (Bug#12762).
649
329c48d8
CY
6502012-10-29 Kevin Ryde <user42@zip.com.au>
651
652 * woman.el (woman-parse-numeric-value): Handle picas correctly
653 (Bug#12639).
654
a0ccbcbd
GM
6552012-10-29 Glenn Morris <rgm@gnu.org>
656
657 * emacs-lisp/cl.el (defsetf): Doc fix.
658
b3871e59
SM
6592012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
660
661 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
662 syntax to the matching opener, if any (bug#12547).
663 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
664 matching open as a "case-(".
665 (sh-smie-rc-grammar): Add a corresponding rule for it.
666
cd44022c
DH
6672012-10-28 Daniel Hackney <dan@haxney.org>
668
669 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
670 "PKGNAME-autoloads.el" in case we created it.
671
70edffb1
SM
6722012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
673
86957a0c
SM
674 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
675 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 676 (completion--twq-all): Disable too-strict assertions.
86957a0c 677
70edffb1
SM
678 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
679
d069271c
EZ
6802012-10-27 Eli Zaretskii <eliz@gnu.org>
681
682 * profiler.el (profiler-report-make-entry-part): Fix help-echo
683 text to match the real keybindings.
684
e2f022a3
JL
6852012-10-27 Juri Linkov <juri@jurta.org>
686
687 * wdired.el (wdired-keep-marker-rename): New defcustom.
688 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
689 (Bug#11795)
690
691 * dired.el (dired-keep-marker-rename): Add reference to
692 `wdired-keep-marker-rename' in the docstring.
693 Add default character value ?R to display initially in
694 Customization UI instead of ?@.
695
df171c23
MR
6962012-10-27 Martin Rudalics <rudalics@gmx.at>
697
698 * window.el (display-buffer): In doc-string describe
699 window-height and window-width alist entries.
700
701 * time.el (display-time-world): Restore fit-window-to-buffer
702 behavior.
703
05b621a6
CY
7042012-10-27 Chong Yidong <cyd@gnu.org>
705
706 * subr.el (insert-buffer-substring-as-yank): Doc fix.
707
55f197b2
J
7082012-10-26 Jambunathan K <kjambunathan@gmail.com>
709
710 * minibuffer.el (completion-category-overrides): New completion
711 category `bookmark' (bug#11131).
712
372212df
SM
7132012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
714
150f809c
SM
715 * emacs-lisp/advice.el (ad-assemble-advised-definition):
716 Silence bogus compiler warnings for ad-do-it.
717
372212df
SM
718 * bookmark.el (bookmark-completing-read): Set the completion category
719 to `bookmark' (bug#11131).
720
c5772569
B
7212012-10-26 Bastien <bzg@altern.org>
722 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * face-remap.el: Use lexical-binding.
725 (text-scale-adjust): Improve docstring. Use itself for the temporary
726 overlay-map bindings, so as to repeat the "Use..." message each time.
727
a2be0357
SM
7282012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
729
63314e57
SM
730 * emacs-lisp/macroexp.el (macroexp--expand-all):
731 Obey byte-compile-warning-enabled-p (bug#12486).
732
a2be0357
SM
733 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
734 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
735
8c7727c3
MR
7362012-10-26 Martin Rudalics <rudalics@gmx.at>
737
738 * mouse.el (mouse-drag-line): Move last form into preceding when
739 clause (Bug#12731).
740
741 * help.el (resize-temp-buffer-window): Fix doc-string.
742
3f2a848d
DE
7432012-10-25 David Engster <deng@randomsample.de>
744
745 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 746 Remove. This feature is already integrated in imenu.
3f2a848d
DE
747
748 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
749 always loaded. Require `speedbar' unconditionally.
750
a7723be6
SM
7512012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
752
aaabfc8b
SM
753 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
754
414a8595
SM
755 * minibuffer.el (minibuffer-force-complete): Fix thinko.
756
fb5b9475
SM
757 * net/ldap.el (ldap-search-internal): The official ldif format starts
758 with a "version: 1" header (bug#12724).
759
a7723be6
SM
760 * emacs-lisp/package.el (package-installed-p): Warn if not ready
761 (bug#12721).
762
a05cb6e3
GM
7632012-10-25 Glenn Morris <rgm@gnu.org>
764
765 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
766
3c92de70
SM
7672012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * minibuffer.el (minibuffer-force-complete): Use one more marker
770 for the temporary-overlay-map command (bug#12619).
771
a4b6d7c6
CY
7722012-10-24 Chong Yidong <cyd@gnu.org>
773
774 * time.el (display-time-world-mode): Derive from special-mode.
775 (display-time-world): Use display-buffer (Bug#12708).
776 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
777 (display-time-world-display): Wrap the final delete-char inside
778 inhibit-read-only.
a4b6d7c6 779
75e8f9d2
CY
7802012-10-24 Chong Yidong <cyd@gnu.org>
781
cd996018
CY
782 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
783 Doc fix.
784
75e8f9d2
CY
785 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
786
d92df117
SM
7872012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * minibuffer.el (completion--all-sorted-completions-location): New var.
790 (completion--cache-all-sorted-completions)
791 (completion--flush-all-sorted-completions): Use it.
792 (completion-in-region, completion-in-region--postch)
793 (completion-at-point, completion-help-at-point): Use markers in
794 completion-in-region--data (bug#12619).
795
9c3e39f3
SM
7962012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
797
c79825bd
SM
798 * progmodes/compile.el (compilation-start): Try to handle common
799 quoting of `cd' argument (bug#12640).
800
9c3e39f3
SM
801 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
802 (bug#12671).
803
a6709bc7
GM
8042012-10-23 Glenn Morris <rgm@gnu.org>
805
806 * progmodes/gud.el (gud-menu-map):
807 Check gdb-active-process is bound. (Bug#12358)
808
d1069532
SM
8092012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
810
d20d69c0
SM
811 * repeat.el (repeat): Set real-this-command (bug#12232).
812
d1069532
SM
813 * htmlfontify.el (hfy-post-html-hook):
814 * filesets.el (filesets-cache-fill-content-hook):
815 * arc-mode.el (archive-extract-hook):
816 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
817 * net/rcirc.el (rcirc-sentinel-functions)
818 (rcirc-receive-message-functions, rcirc-activity-functions)
819 (rcirc-print-functions):
820 * net/dbus.el (dbus-event-error-functions):
821 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
822 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
823 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
824 * term/sun.el (sun-raw-prefix-hooks):
825 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
826
f7eac6d8
MA
8272012-10-23 Michael Albinus <michael.albinus@gmx.de>
828
d1069532
SM
829 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
830 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
831 (tramp-smb-wait-for-output): Add timeout to
832 `tramp-accept-process-output' calls.
833
608d9d7c
CY
8342012-10-23 Chong Yidong <cyd@gnu.org>
835
49238e7f
CY
836 * faces.el (font-list-limit): Define as an obsolete variable.
837
838 * startup.el (command-line):
839 * cus-start.el: Don't refer to font-list-limit.
840
608d9d7c
CY
841 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
842
4ff5b1b2
SM
8432012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
844
845 * subr.el (internal-temp-output-buffer-show): Rename from
846 temp-output-buffer-show, since previously compiled files expect this name.
847
ea1d4aac
GM
8482012-10-23 Glenn Morris <rgm@gnu.org>
849
850 * image.el (image-type-from-file-name): If multiple types match,
851 return the first one that is supported. (Bug#9045)
852
eda82a31
GM
8532012-10-22 Glenn Morris <rgm@gnu.org>
854
855 * image.el (imagemagick-enabled-types): Doc fix.
856
4f020bec
TA
8572012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
858
859 * progmodes/which-func.el (which-func-current): The hash-table may have
860 an explicit nil (bug#12338).
861
c77d37e2
SM
8622012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
863
864 * electric.el (electric-pair-delete-selection-self-insert-function):
865 Rename to electric-pair-will-use-region, return a boolean.
866 (electric-pair-mode): Adjust accordingly. Don't require delsel.
867
868 * delsel.el (delete-selection-helper): Use a function instead of a hook.
869 (delete-selection-pre-hook): Use use-region-p.
870 (delete-selection-self-insert-function): Remove.
871 (self-insert-command): Obey self-insert-uses-region-functions.
872 (self-insert-iso): Revert to previous setting, since we don't actually
873 know what that command does.
874 (delete-selection-self-insert-hooks): Remove.
875
b1d39ccc
SL
8762012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
877
878 * delsel.el (delete-selection-helper): New function, extracted from
879 delete-selection-pre-hook.
880 (delete-selection-pre-hook): Use it.
881 (delete-selection-self-insert-function): New function.
882 (delete-selection-self-insert-hooks): New hook.
883 (self-insert-command, self-insert-iso): Use it.
884 * electric.el (electric-pair-syntax): New function, extracted from
885 electric-pair-post-self-insert-function.
886 (electric-pair-post-self-insert-function): Use it.
887 (electric-pair-delete-selection-self-insert-function): New function.
888 (electric-pair-mode): Require delsel and setup
889 delete-selection-self-insert-hooks (bug#11520).
890
045ef729
CY
8912012-10-20 Chong Yidong <cyd@gnu.org>
892
4c5d08a8
CY
893 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
894 no changes to show (Bug#12586).
895
045ef729
CY
896 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
897 list explicitly (Bug#12571).
898
3503c798 8992012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 900
b1d39ccc
SL
901 * progmodes/flymake.el (flymake-create-temp-inplace):
902 Use file-truename.
79e1997a 903
2068905b
EZ
9042012-10-20 Eli Zaretskii <eliz@gnu.org>
905
906 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
907
4c9e9550
JB
9082012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
909
910 * calc/calc-units.el (math-extract-units): Properly extract powers
911 of units.
912
1a6e7e38
DC
9132012-10-20 Daniel Colascione <dancol@dancol.org>
914
915 * frame.el (make-frame): Set x-display-name as we used to in order
916 to unbreak creating an X11 frame from an Emacs daemon started
917 without a display.
918
8e808318
SM
9192012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
920
921 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 922 the same completion-field (bug#12221).
8e808318 923
fb0104da
MR
9242012-10-19 Martin Rudalics <rudalics@gmx.at>
925
926 * emacs-lisp/debug.el (debug): Record height of debugger window
927 also when debugger will be back (Bug#8789).
928
8c27235e
CY
9292012-10-18 Chong Yidong <cyd@gnu.org>
930
931 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
932 Convert to defcustom.
933 (gdb-get-source-file): Don't bind pop-up-windows.
934
935 * progmodes/gud.el (gud-display-line): Don't specially re-use
936 other frames for the gdb-mi case (Bug#12648).
937
90eacf99
SM
9382012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
939
aaf0c300
SM
940 * emacs-lisp/advice.el: Clean up commentary a bit.
941 (ad-do-advised-functions, ad-with-originals): Use `declare'.
942 (byte-code-function-p): Never redefine.
943
90eacf99
SM
944 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
945
281c9d2b
GM
9462012-10-18 Glenn Morris <rgm@gnu.org>
947
40714e3d
GM
948 * dired.el (dired-sort-toggle): Some ls implementations only allow
949 a single option string. (Bug#12666)
950
281c9d2b
GM
951 * minibuffer.el (completion-cycle-threshold): Doc fix.
952
b278604e
KH
9532012-10-17 Kenichi Handa <handa@gnu.org>
954
90eacf99
SM
955 * international/mule.el (set-keyboard-coding-system):
956 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
957 Supply TERMINAL arg to set-input-meta-mode.
958
df171c23 9592012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
960
961 * wdired.el (wdired-old-marks): New variable.
962 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
963 (wdired-do-renames): Move point with renamed file and don't lose
964 mark status (Bug#11795).
965
e5a94ec4
JL
9662012-10-16 Juri Linkov <juri@jurta.org>
967
968 * replace.el (query-replace-help): Mention multi-buffer replacement
969 keys in the Help message. (Bug#12655)
970
d18a0d24
CY
9712012-10-15 Chong Yidong <cyd@gnu.org>
972
973 * emacs-lisp/byte-run.el (defsubst): Doc fix.
974
8111f5e6
EZ
9752012-10-14 Eli Zaretskii <eliz@gnu.org>
976
7b9abf24
EZ
977 * window.el (display-buffer): Doc fix.
978
8111f5e6
EZ
979 * progmodes/compile.el (compilation-error-regexp-alist-alist):
980 Adjust the msft regexp to the output of Studio 2010, and move msft
981 before edg-1. See the discussion on emacs-devel,
982 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
983 for the details.
984
5046ef67
SM
9852012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
986
9760c73c
SM
987 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
988 (oset): Move uses of object-class-fast macro after its definition.
989
5046ef67
SM
990 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
991
0d11ff1c
CY
9922012-10-13 Chong Yidong <cyd@gnu.org>
993
994 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
995 enabled, re-enable it (Bug#11963).
996
88ded8ac
MR
9972012-10-13 Martin Rudalics <rudalics@gmx.at>
998
999 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1000 non-nil, restore window configuration (Bug#12623).
1001
bd0ffffd
SM
10022012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1003
06485aa8
SM
1004 * help-fns.el (describe-variable, describe-function-1):
1005 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1006
bd0ffffd
SM
1007 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1008
3a989246
GM
10092012-10-12 Glenn Morris <rgm@gnu.org>
1010
1011 * mail/rmailsum.el (rmail-header-summary):
1012 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1013
55cd00c8
FEG
10142012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1015
bd0ffffd
SM
1016 * progmodes/python.el (python-mode-map):
1017 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1018 (python-nav--up-list): Fix behavior for blocks on the same level.
1019
ac9fc2c7
SM
10202012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1021
d8cc4c00 1022 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1023
5253a5fd
SM
1024 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1025 changes to the format of load-history.
1026
ac9fc2c7
SM
1027 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1028 completion-ignore-case in case that var is buffer-local (bug#12615).
1029
cde44a77
KH
10302012-10-11 Kenichi Handa <handa@gnu.org>
1031
1032 * international/eucjp-ms.el: Re-generated.
1033
4ef4a10d
KH
10342012-10-10 Kenichi Handa <handa@gnu.org>
1035
1036 * select.el (xselect--encode-string): If a coding is specified for
1037 selection, and that is compatible with COMPOUND_TEXT, use it.
1038
9d7f027b
MR
10392012-10-10 Martin Rudalics <rudalics@gmx.at>
1040
1041 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1042 (switch-to-buffer):
1043 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1044
238f3a58
SM
10452012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1048 Don't document nil as a useful value (bug#12583).
1049
1d51f99c
MA
10502012-10-09 Michael Albinus <michael.albinus@gmx.de>
1051
238f3a58
SM
1052 * net/tramp.el (tramp-debug-message):
1053 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1054 (with-tramp-progress-reporter): Rename from
1055 `tramp-with-progress-reporter'.
238f3a58
SM
1056 (with-tramp-file-property, with-tramp-connection-property):
1057 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1058 `with-connection-property', respectively.
1059
1060 * net/tramp-cache.el: Remove `with-file-property' and
1061 `with-connection-property'.
1062
1063 * net/tramp.el:
1064 * net/tramp-gvfs.el:
1065 * net/tramp-sh.el:
1066 * net/tramp-smb.el: Adapt callees.
1067
1068 * net/trampver.el: Update release number.
1069
26b77251
GM
10702012-10-09 Glenn Morris <rgm@gnu.org>
1071
9a5f296f
GM
1072 * w32-fns.el (set-message-beep):
1073 * term/w32-win.el (set-message-beep): Update declarations.
1074
94c66ce5
SM
10752012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1076
10766e9e
SM
1077 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1078 (mode-line-widen, mode-line-input-method-map)
1079 (mode-line-coding-system-map, mode-line-remote)
1080 (mode-line-unbury-buffer, mode-line-bury-buffer)
1081 (mode-line-next-buffer, mode-line-previous-buffer):
1082 Replace save-selected-window+select-window => with-selected-window.
1083
f754db08
SM
1084 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1085 * progmodes/cc-vars.el (bq-process): Remove, unused.
1086
94c66ce5
SM
1087 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1088
a4ff7fe1
FEG
10892012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1090
1091 Implemented `backward-up-list'-like navigation.
1092 * progmodes/python.el (python-nav-up-list)
1093 (python-nav-backward-up-list): New functions.
1094 (python-mode-map): Define substitute key for backward-up-list to
1095 python-nav-backward-up-list.
1096
24517d82
FEG
10972012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1098
1099 * progmodes/python.el (python-fill-paragraph): Rename from
1100 python-fill-paragraph-function. Fixed fill-paragraph for
1101 decorators (Bug#12605).
1102
51867ae2
FEG
11032012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1104
1105 * progmodes/python.el (python-shell-output-filter): Handle extra
1106 carriage return in OSX (Bug#12409).
1107
a5b773c4
FEG
11082012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1109
1110 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1111 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1112 (python-syntax-propertize-function): Use it.
1113 (python-shell-output-syntax-table): New var.
1114 (inferior-python-mode): Prevent unbalanced parens/quotes from
1115 previous output mess with current input context.
1116
13373538
JB
11172012-10-08 Juanma Barranquero <lekktu@gmail.com>
1118
1119 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1120 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1121
775a132d
MA
11222012-10-08 Michael Albinus <michael.albinus@gmx.de>
1123
1124 * ffap.el (ffap-replace-file-component): Support Tramp file name
1125 syntax, not only ange-ftp's one.
1126
3ab44929
GM
11272012-10-08 Glenn Morris <rgm@gnu.org>
1128
57f1dee4
GM
1129 * cus-start.el (message-log-max): Set :version.
1130
3ab44929
GM
1131 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1132
6a088630
MR
11332012-10-08 Martin Rudalics <rudalics@gmx.at>
1134
1135 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1136 the minibuffer window (Bug#10851).
1137
8dbce54c
FEG
11382012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1139
1140 Enhancements on forward-sexp movement.
1141 * progmodes/python.el (python-nav-beginning-of-statement)
1142 (python-nav-end-of-statement): Return point-marker.
1143 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1144 (python-info-current-symbol)
1145 (python-info-statement-starts-block-p): Rename from
1146 python-info-beginning-of-block-p.
1147 (python-info-statement-ends-block-p): Rename from
1148 python-info-end-of-block-p.
1149 (python-info-beginning-of-statement-p)
1150 (python-info-end-of-statement-p)
1151 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1152 New functions.
1153
5acd2b3e
SM
11542012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1157 frame-selected-windows.
1158
e08348a0
DC
11592012-10-08 Daniel Colascione <dancol@dancol.org>
1160
1161 * battery.el (battery-status-function): Check for
1162 w32-battery-status itself, not system-time windows-nt.
1163
1164 * frame.el: Require cl-lib.
1165 (display-format-alist): New variable mapping frame types to
1166 functions that initialize them.
1167 (window-system-for-display): New function: interprets
1168 display-format-alist.
1169 (make-frame-on-display): Remove existing display-selection logic
1170 and just forward to make-frame, which will now DTRT.
1171 (make-frame): Restructure to use window-system-for-display to
1172 figure out how to create a frame on a given display.
1173 (display-mouse-p): Look for frame-type w32, not a particular
1174 system-type.
1175
1176 * loadup.el: Load w32 lisp code when we have the w32 feature.
1177
1178 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1179 system-type windows-nt.
1180
1181 * server.el (server-create-window-system-frame): Look for window
1182 type.
1183 (server-proces-filter): Only force a window system when windows-nt
1184 _and_ w32. Explain why.
1185
1186 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1187 of window systems we configure for the mode.
1188
1189 * startup.el (command-line): Mark window system is initialized
1190 after we've done it.
1191
1192 * common-win.el (x-select-text): Look for w32, not windows-nt.
1193
1194 * ns-win.el: Require cl-lib. Add ourselves to
1195 display-format-alist.
1196 (ns-initialize-window-system): Assert we're not initialized twice.
1197
1198 * w32-win.el: Enable lexical binding; require cl-lib; add
1199 ourselves to display-format-alist.
1200 (w32-handle-dropped-file): Convert incoming dropped files from
1201 Windows paths to Cygwin ones before passing them on to the rest of
1202 Emacs.
1203 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1204 (w32-initialize-window-system): Assert we're not initialized twice.
1205
1206 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1207 (x-initialize-window-system): Assert we're not initialized twice.
1208
1209 * w32-common-fns.el: New File.
1210 (w32-version, w32-using-nt, w32-get-clipboard-data)
1211 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1212 (w32-charset-info-alist, x-last-selected, text)
1213 (x-get-selection-value, x-selection-value): Move here.
1214
1215 * w32-fns.el: Require w32-common-fns.
1216 (w32-version, w32-using-nt, w32-get-clipboard-data)
1217 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1218 (w32-charset-info-alist, x-last-selected, text)
1219 (x-get-selection-value, x-selection-value): Move to
1220 w32-common-fns.
1221
1222 * w32-vars.el:
1223 (w32-allow-system-shell, w32-system-shells): Define only in
1224 non-cygwin case.
1225
795b1482
SM
12262012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1227
1228 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1229 (read-passwd): Remove a few more potential sources of leaks.
1230
f27c99dc
FEG
12312012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1232
1233 * progmodes/python.el (inferior-python-mode)
795b1482 1234 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1235 variables copied from parent buffer.
1236
fcacb558
JD
12372012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1238
1239 * term/ns-win.el (ns-read-file-name): Update declaration to match
1240 nsfns.m.
1241 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1242 it is set when font is acted upon.
1243
be0d5bae
FEG
12442012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1245
1246 Enhancements to indentation.
1247 * progmodes/python.el (python-indent-context): Give priority to
1248 inside-string context. Make comments indentation markers.
1249 (python-indent-region): Do not mess with strings, unless it's the
1250 enclosing set of quotes.
1251
13af0d10
SM
12522012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1253
662a9d0e
SM
1254 * window.el (internal--before-save-selected-window)
1255 (internal--after-save-selected-window): New functions extracted from
1256 save-selected-window. Make sure we return the `alist' we construct.
1257 (save-selected-window): Use them.
1258
1259 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1260 Use with-selected-window.
1261
13af0d10
SM
1262 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1263 forms that define macros (bug#12593).
1264
6aa75fb6
KH
12652012-10-07 Kenichi Handa <handa@gnu.org>
1266
13af0d10
SM
1267 * international/mule-conf.el (compound-text-with-extensions):
1268 Add :mime-charset property as x-ctext.
6aa75fb6 1269
78d876b9
SM
12702012-10-07 Stefan Merten <smerten@oekonux.de>
1271
1272 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1273 (rst-indent-literal-normal, rst-indent-literal-minimized)
1274 (rst-indent-comment): Correct :version tag.
557337e9 1275 (rst-official-cvs-rev): Correct version string.
78d876b9 1276
99a1e701
GM
12772012-10-07 Glenn Morris <rgm@gnu.org>
1278
1279 * mail/rmailmm.el (rmail-mime-process-multipart):
1280 Do not confuse a multipart message with an epilogue
1281 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1282
08f18c3d
FEG
12832012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1284
1285 Fix shell output retrieval and comint-prompt-regexp init.
1286 * progmodes/python.el (inferior-python-mode):
1287 (python-shell-make-comint): Fix initialization of
1288 comint-prompt-regexp from copied file local variables.
1289 (python-shell-fetched-lines): Remove var.
1290 (python-shell-output-filter-in-progress): Rename from
1291 python-shell-fetch-lines-in-progress.
1292 (python-shell-output-filter-buffer): Rename from
1293 python-shell-fetch-lines-string.
1294 (python-shell-fetch-lines-filter): Delete function.
1295 (python-shell-output-filter): New function.
1296 (python-shell-send-string-no-output): Use them.
1297
82ed3ab4
GM
12982012-10-07 Glenn Morris <rgm@gnu.org>
1299
1595ecfa
GM
1300 * hi-lock.el (hi-lock-process-phrase):
1301 Try to make it less fragile. (Bug#7161)
1302
82ed3ab4
GM
1303 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1304
f1f4dba0
GM
13052012-10-06 Glenn Morris <rgm@gnu.org>
1306
addc11ed 1307 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1308 non-existent mode `help'.
1309 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1310
460042b8
GM
1311 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1312 (reftex-create-bibtex-footer): Fix custom types.
1313
67667c70
GM
1314 * progmodes/sh-script.el (sh-indent-after-continuation):
1315 Add explicit :group.
1316
18dec750
GM
1317 * textmodes/rst.el (rst-preferred-decorations)
1318 (rst-shift-basic-offset): Clarify obsolescence versions.
1319
d1a1c7e6
GM
1320 * profiler.el (profiler): Add missing group :version tag.
1321 * avoid.el (mouse-avoidance-banish-position):
1322 * proced.el (proced-renice-command):
1323 * calc/calc.el (calc-ensure-consistent-units):
1324 * calendar/icalendar.el (icalendar-import-format-uid):
1325 * net/tramp.el (tramp-save-ad-hoc-proxies):
1326 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1327 * progmodes/flymake.el (flymake-error-bitmap)
1328 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1329 * progmodes/sh-script.el (sh-indent-after-continuation):
1330 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1331 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1332 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1333 (vhdl-array-index-record-field-in-sensitivity-list)
1334 (vhdl-indent-comment-like-next-code-line):
1335 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1336 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1337 (reftex-cite-key-separator, reftex-create-bibtex-header)
1338 (reftex-create-bibtex-footer):
1339 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1340 (rst-indent-literal-normal, rst-indent-literal-minimized)
1341 (rst-indent-comment): Add missing custom :version tags.
1342
ef35abb4
GM
1343 * calendar/timeclock.el (timeclock-modeline-display):
1344 Add missing obsolete alias for renamed user option.
1345
d1aae614
GM
1346 * strokes.el (strokes-modeline-string):
1347 * emulation/crisp.el (crisp-mode-modeline-string):
1348 * eshell/esh-mode.el (eshell-status-in-modeline):
1349 Aliases to defcustoms must come before the defcustom.
1350
f1f4dba0
GM
1351 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1352 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1353 (cal-tex-cursor-week-monday): Doc fixes.
1354 (cal-tex-cursor-week2-summary): Doc fix.
1355 Rename from cal-tex-cursor-week-at-a-glance.
1356
1357 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1358 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1359
1360 * calendar/calendar.el (calendar-mode-map):
1361 Add cal-tex-cursor-week2-summary.
1362
d39109c3
SM
13632012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1364
685f87b0
SM
1365 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1366
d39109c3
SM
1367 * subr.el (read-passwd-map): New var.
1368 (read-passwd): Use `read-string' again.
1369 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1370
5694896d
J
13712012-10-06 Jambunathan K <kjambunathan@gmail.com>
1372
1373 * register.el (append-to-register, prepend-to-register):
1374 Deactivate mark, as does `copy-to-register' (bug#12389).
1375
9414dd8d
CY
13762012-10-06 Chong Yidong <cyd@gnu.org>
1377
1378 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1379
2b89bca4
KH
13802012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1381
1382 * international/characters.el: Fix simple mistake ((car chars) ->
1383 elt), delete duplicated code.
1384
d5acb99a
GM
13852012-10-06 Glenn Morris <rgm@gnu.org>
1386
1387 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1388
123ec157
JS
13892012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1390
1391 * color.el (color-hsl-to-rgb): Fix incorrect results for
1392 small and large hue values. (Bug#12559)
1393
7fa36ccb
FEG
13942012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1395
1396 Enhancements to docstring formatting when filling paragraphs.
1397 * progmodes/python.el (python-fill-docstring-style): Rename from
1398 python-fill-string-style. Added new style.
1399 (python-fill-string): Use new style. Better checks for
1400 docstrings.
1401
d8788e1e
GM
14022012-10-05 Glenn Morris <rgm@gnu.org>
1403
204f3953
GM
1404 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1405
d8788e1e
GM
1406 * color.el (color-name-to-rgb, color-rgb-to-hex)
1407 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1408 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1409 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1410 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1411
8d956cef
GM
1412 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1413
e8757f09 14142012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1415
1416 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1417 to get the correct size across symlinks.
1418
e8757f09
GM
1419 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1420
0e2ae83d
JL
14212012-10-04 Juri Linkov <juri@jurta.org>
1422
1423 * replace.el (query-replace-interactive): Declare obsolete.
1424 (query-replace-read-from): Add the last incremental search string
1425 to the list of default values accessible via M-n.
1426 (map-query-replace-regexp): Use `read-regexp'.
1427 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1428 (map-query-replace-regexp, replace-string, replace-regexp):
1429 Fix docstrings to replace mentions of `query-replace-interactive'
1430 with alternatives. (Bug#12526)
1431
93cacb6d
JL
14322012-10-04 Juri Linkov <juri@jurta.org>
1433
1434 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1435 (dired-pop-to-buffer): Declare obsolete.
1436 (dired-mark-pop-up): Doc fix.
1437
fc345011
FEG
14382012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1439
1440 Allow user to set docstring style for fill-paragraph.
1441 * progmodes/python.el
1442 (python-fill-comment-function, python-fill-string-function)
1443 (python-fill-decorator-function, python-fill-paren-function):
1444 Remove :safe for defcustoms.
1445 (python-fill-string-style): New defcustom
5694896d 1446 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1447 (python-fill-string): Honor python-fill-string-style settings.
1448
6bab5d8b
MR
14492012-10-04 Martin Rudalics <rudalics@gmx.at>
1450
1451 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1452 after setting its buffer (Bug#10805).
1453
a1a9f411
FEG
14542012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1455
1456 Fix cornercase for string syntax.
1457 * progmodes/python.el (python-syntax-propertize-function):
1458 Simplify and enhance the regexp for unescaped quotes. Now it also
1459 matches quotes in weird situations like the single quote in
1460 "something\"'".
1461 (python-syntax-stringify): Simplify num-quotes detecting code.
1462
05e153a6
GM
14632012-10-03 Glenn Morris <rgm@gnu.org>
1464
1465 * help-macro.el (three-step-help):
1466 Revert 2012-09-29 change. (Bug#12567)
1467
2e566ecb
MR
14682012-10-03 Martin Rudalics <rudalics@gmx.at>
1469
96ef9ccd
MR
1470 * menu-bar.el (kill-this-buffer): Don't do anything when
1471 `menu-frame' is not alive or visible (Bug#8184).
1472
2e566ecb
MR
1473 * emacs-lisp/debug.el (debug): When quitting the debugger window
1474 restore current buffer (Bug#12502).
1475
a96e1cb7
CY
14762012-10-02 Chong Yidong <cyd@gnu.org>
1477
5694896d
J
1478 * progmodes/hideif.el (hif-lookup, hif-defined):
1479 Handle semantic-c-takeover-hideif.
a96e1cb7 1480
b3ecad33
PE
14812012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1482
1483 Change sampling interval units from ms to ns.
1484 * profiler.el (profiler-sampling-interval): Change units
1485 from ms to ns, multiplying the default by 1000000 so that
1486 it remains 1 ms.
1487 (profiler-report-cpu-line-format): Give enough room for
1488 the maximum counters on 64-bit hosts.
1489 (profiler-report-render-calltree-1): Call them "CPU samples",
1490 not "Time (ms)", since they are not milliseconds now (and
1491 never really were).
1492
8cb51b66 14932012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1494
5694896d
J
1495 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1496 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1497
fd795bf4
CY
14982012-10-02 Chong Yidong <cyd@gnu.org>
1499
1500 * emacs-lisp/eieio.el: Restore Version header.
1501
fe0a74f9
SM
15022012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1503
6be9197e
SM
1504 * vc/diff-mode.el (diff--auto-refine-data): New var.
1505 (diff-hunk): Use it to delay refinement.
1506 (diff-mode): Remove overlays when we turn off font-lock.
1507
18486139
SM
1508 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1509 (table-initialize-table-fixed-width-mode)
1510 (table-set-table-fixed-width-mode): Remove functions.
1511 (table-command-list): Move initialization into declaration.
1512 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1513 (table-with-cache-buffer): Use `declare'.
1514 (table-span-cell): Simplify via CSE.
1515 (table-fixed-width-mode): Use define-minor-mode.
1516 (table-call-interactively, table-funcall, table-apply): Remove.
1517 (table-function): New function, to replace them.
1518
d83ef976
SM
1519 * bookmark.el (bookmark-search-pattern): Remove var.
1520 (bookmark-read-search-input): Remove function.
1521 (bookmark-bmenu-search): Reimplement using a minibuffer.
1522
cd386662
SM
1523 * faces.el (modeline): Remove obsolete face name.
1524
fe0a74f9
SM
1525 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1526 and give a non-nil default value.
1527 (add-change-log-entry): Simplify accordingly.
1528
9f7b98f8
DG
15292012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1530
1531 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1532 (vc-git-log-edit-toggle-amend): New function.
1533 (vc-git-log-edit-toggle-signoff): New function.
1534 (vc-git-log-edit-mode): New major mode.
1535 (vc-git-log-edit-mode-map): Keymap for it.
1536 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1537
1538 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1539 header names.
1540 (log-edit-toggle-header): New function.
1541 (log-edit-extract-headers): Accept function values in HEADERS alist.
1542
62a81506
CY
15432012-10-01 David Engster <deng@randomsample.de>
1544
1545 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1546 from symbol property and change message to be more consistent with
1547 Emacs proper.
1548 (eieio-describe-generic): Add filename for each implementation.
1549 Fix indices for generic and normal methods.
1550 (eieio-method-def, eieio-class-def): New buttons.
1551 (eieio-help-find-method-definition)
1552 (eieio-help-find-class-definition): New functions.
1553 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1554 class, constructor and method definitions.
1555
1556 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1557 information in symbol property.
1558 (scoped-class): Remove.
1559 (eieio-slot-name-index, call-next-method): Check if it is bound.
1560
15612012-10-01 Leo P. White <lpw25@cam.ac.uk>
1562
1563 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1564 (eieio-custom-mode): New major mode.
1565 (eieio-customize-object): Use it.
1566
15672012-10-01 Eric Ludlam <zappo@gnu.org>
1568
1569 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1570 specifying the expected class, and whether subclassing is allowed.
1571 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1572 (eieio-persistent-validate/fix-slot-value)
1573 (eieio-persistent-slot-type-is-class-p): New functions.
1574 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1575
1576 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1577 Stop using unused publd variable.
1578
1579 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1580 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1581 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1582 (eieio-speedbar-handle-click): Do not specify a class for the
1583 method. Fixes method invocation order problems with EDE.
1584
375e49d4
SM
15852012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1588 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1589
16ce6ccd
KF
15902012-10-01 Karl Fogel <kfogel@red-bean.com>
1591
1592 * bookmark.el (bookmark-version-control): Give tags in the
1593 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1594 (bookmark-write-file): Bind `print-circle' to `t' to allow
1595 circular custom bookmark types. (Bug#12503)
16ce6ccd 1596
19e54a4d
PE
15972012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1598
86ec63ba
PE
1599 Revert the FOLLOW-SYMLINKS change for file-attributes.
1600 * files.el (remote-file-name-inhibit-cache, after-find-file):
1601 * time.el (display-time-file-nonempty-p): Undo last change.
1602
19e54a4d
PE
1603 * profiler.el (profiler-sampling-interval): Change default back to 1.
1604 See Stefan Monnier in
1605 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1606
0478776b
FEG
16072012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1608
1609 Shell output catching a la gud-gdb.
1610 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1611 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1612 New Vars.
0478776b
FEG
1613 (python-shell-fetch-lines-filter): New function.
1614 (python-shell-send-string-no-output): Use them.
1615
c22bac2c
TM
16162012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1617
1618 * profiler.el (profiler-sampling-interval): Rename from
1619 profiler-sample-interval.
1620 (profiler-sampling-interval): Default to 10.
1621 (profiler-find-profile): New command (was profiler-find-log).
1622 (profiler-find-profile-other-window): New command.
1623 (profiler-find-profile-other-frame): New command.
1624 (profiler-profile): Introduce API-level data structure.
1625
e7a2937b
PE
16262012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1627
1628 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1629 * files.el (remote-file-name-inhibit-cache):
1630 * time.el (display-time-file-nonempty-p): Use it.
1631 * files.el (after-find-file): Don't chase links before calling
1632 file-exists-p, as file-exists-p already does the right thing.
1633
4f595e15
RA
16342012-09-30 Ralf Angeli <angeli@caeruleus.net>
1635
1636 Merge from standalone RefTeX repository.
1637
1638 The following ChangeLog entries are shortened versions of the
1639 original ones with file paths adapted. A not so strongly edited
1640 version of the original ChangeLog can be found in the commit log.
1641
1642 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1643 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1644 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1645
1646 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1647 that entries with whitespace at various places are found.
1648 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1649 Include @String definitions in the resulting bib file. Add header
1650 and footer defined in `reftex-create-bibtex-header' and
1651 `reftex-create-bibtex-footer'.
1652 (reftex-do-citation): Make it possible again to insert
1653 non-existent entries. Save match data when asking for optional
1654 arguments. Return all keys, not just the first one.
1655 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1656 all citations in the same line.
1657 (reftex-parse-bibtex-entry): Accept additional optional argument
1658 `raw' and keep quotes or braces if it is non-nil. Match fields
1659 containing hyphens besides word constituents.
1660 (reftex-get-string-refs): New function.
1661 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1662 and ask if it should be reread in case it did.
1663 (reftex-pop-to-bibtex-entry)
1664 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1665 entries with spaces or tabs in front of arguments.
1666 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1667 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1668 Match entries containing numbers and symbol constituents.
1669 (reftex-do-citation, reftex-figure-out-cite-format):
1670 Use `reftex-cite-key-separator'.
4f595e15
RA
1671
1672 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1673 (reftex-mouse-view-crossref): Explain why point is set.
1674
1675 * textmodes/reftex-global.el: Whitespace changes.
1676
1677 * textmodes/reftex-index.el: Move provide statement to end of
1678 file.
1679 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1680 (reftex-index-visit-phrases-buffer): Set marker when visiting
1681 buffer. This allows for returning from the phrases file to the
1682 file one was just editing instead of the file where the last
1683 phrases was added from.
1684 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1685 punctuation syntax as it usually is not used as string quote in
1686 TeX-related modes and may occur unmatched. The change also
1687 prevents fontification of quoted content.
1688 (reftex-index-phrases-mode): Use it.
1689
375e49d4
SM
1690 * textmodes/reftex-parse.el (reftex-parse-from-file):
1691 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1692 (reftex-parse-from-file): Use beginning of match instead of end as
1693 bound.
1694
1695 * textmodes/reftex-ref.el: Adapt creation of
1696 `reftex-<package>-<macro>' functions to new structure of
1697 `reftex-ref-style-alist'.
375e49d4
SM
1698 (reftex-reference): Use `reftex-ref-style-list' function.
1699 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1700 reference macro if `reftex-ref-macro-prompt' is non-nil.
1701 (reftex-reference): Pass refstyle to `reftex-format-special'.
1702 Determine reference macro by looking at
375e49d4
SM
1703 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1704 Use only one special format function.
4f595e15
RA
1705 (reftex-varioref-vref, reftex-fancyref-fref)
1706 (reftex-fancyref-Fref): Remove definitions. The functions are now
1707 generated from `reftex-ref-style-alist'.
1708 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1709 Remove.
1710 (reftex-format-special): New function.
1711
1712 * textmodes/reftex-sel.el
1713 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1714 of `reftex-ref-style-alist'. Remove code for testing macro type.
1715 (reftex-select-toggle-varioref)
1716 (reftex-select-toggle-fancyref): Remove.
1717 (reftex-select-cycle-ref-style-internal)
1718 (reftex-select-cycle-ref-style-forward)
1719 (reftex-select-cycle-ref-style-backward): New functions.
1720 (reftex-select-label-map): Use `v' and `V' for general cycling
1721 through reference styles. Add `p' for switching between number
1722 and page reference types.
1723
375e49d4
SM
1724 * textmodes/reftex-toc.el (reftex-re-enlarge):
1725 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1726 the horizontal version throws an error even if the parameter is 0.
1727
1728 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1729 (reftex-plug-into-AUCTeX): Doc fix.
1730 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1731 string. Adapt to new name.
1732 (reftex-ref-style-alist): Change structure so that it is not
1733 possible to use multiple different package names within a style.
375e49d4
SM
1734 Remove the symbols for symbols for macro type distinction.
1735 Add characters for macro selection.
4f595e15
RA
1736 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1737 (reftex-create-bibtex-footer): New variables.
1738 (reftex-format-ref-function): Mention third argument of special
1739 format function.
375e49d4
SM
1740 (reftex-ref-style-alist, reftex-ref-style-default-list):
1741 New variables.
4f595e15
RA
1742 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1743 to new implementation. Mark as obsolete. Add compatibility code
1744 for honoring the variable values in case they are set.
375e49d4
SM
1745 (reftex-cite-format-builtin, reftex-bibliography-commands):
1746 Add support for ConTeXt.
1747 (reftex-format-ref-function, reftex-format-cite-function):
1748 Fix custom type.
4f595e15
RA
1749 (reftex-cite-key-separator): New variable.
1750
1751 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1752 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1753 `reftex-syntax-table' because parens have to retain their paren
1754 syntax in order for parsing of BibTeX entries like @book(...) to
1755 work.
1756 (reftex-in-comment): Do not error out if `comment-start-skip' is
1757 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1758 (reftex-tie-multifile-symbols): Add doc string.
1759 Initialize `reftex-ref-style-list'.
4f595e15
RA
1760 (reftex-untie-multifile-symbols): Add doc string.
1761 (reftex-add-index-macros): Doc fix.
1762 (reftex-ref-style-activate, reftex-ref-style-toggle)
1763 (reftex-ref-style-list): New functions.
1764 (reftex-mode-menu): Use them. Adapt to new structure of
1765 `reftex-ref-style-alist'.
1766 (reftex-select-with-char): Kill the RefTeX Select buffer when
1767 done.
1768 (reftex-remove-if): New function.
1769 (reftex-erase-all-selection-and-index-buffers)
1770 (reftex-mode-menu): Reference styles are now computed from
1771 `reftex-ref-style-alist'. Fix typo.
1772 (reftex-report-bug): New function.
1773 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1774 algorithms with O(n log n). Introduce optional argument SORT (not
1775 yet used).
1776
440ba395
FEG
17772012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1778
1779 Enhancements for triple-quote string syntax.
375e49d4
SM
1780 * progmodes/python.el (python-syntax-propertize-function):
1781 Match both quote cases in one regexp.
440ba395
FEG
1782 (python-syntax-stringify): Handle matches properly.
1783
4c478e6b
JL
17842012-09-30 Juri Linkov <juri@jurta.org>
1785
1786 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1787 to nil around the call to `insert' to prevent
4c478e6b
JL
1788 directory time modification by lock_file. (Bug#2295)
1789 * tar-mode.el (tar-summarize-buffer): Idem.
1790
d80d54b2
JL
17912012-09-30 Juri Linkov <juri@jurta.org>
1792
1793 * facemenu.el (list-colors-sort): Add option "Luminance".
1794 (list-colors-sort-key): Implement it.
1795
1796 * vc/diff-mode.el (diff-refine-removed):
1797 * vc/ediff-init.el (ediff-fine-diff-A):
1798 * vc/smerge-mode.el (smerge-refined-removed):
1799 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1800
d7e642cc
JD
18012012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1802
1803 * term/ns-win.el (x-file-dialog): New function.
1804
ee41332b
JB
18052012-09-30 Juanma Barranquero <lekktu@gmail.com>
1806
1807 * ido.el (ido-max-directory-size): Default to nil; the current
1808 default is small for POSIX systems, and impractical on Windows 7
1809 now that lstat returns directory sizes for NTFS.
1810
5938d519
MR
18112012-09-30 Martin Rudalics <rudalics@gmx.at>
1812
1813 In buffer display functions handle window-height/window-width
1814 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1815 * window.el (window--display-buffer): New argument ALIST.
1816 Obey window-height and window-width alist entries.
1817 (window--try-to-split-window): New argument ALIST.
1818 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1819 changed and window-combination-limit equals `window-size'.
1820 (display-buffer-in-atom-window)
1821 (display-buffer-in-major-side-window)
1822 (display-buffer-in-side-window, display-buffer-same-window)
1823 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1824 (display-buffer-pop-up-window, display-buffer-below-selected)
1825 (display-buffer-at-bottom, display-buffer-in-previous-window)
1826 (display-buffer-use-some-window): Adjust all callers of
1827 window--display-buffer and window--try-to-split-window.
1828 (fit-frame-to-buffer): New option.
1829 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1830 is non-nil.
1831 (display-buffer-in-major-side-window): Evaluate window-height /
1832 window-width alist entries.
1833
1834 * help.el (temp-buffer-resize-frames)
1835 (temp-buffer-resize-regexps): Remove options.
1836 (temp-buffer-resize-mode): Adjust doc-string.
1837 (resize-temp-buffer-window): Don't consult
1838 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1839 temp-buffer-resize-frames.
1840
375e49d4
SM
1841 * dired.el (dired-mark-pop-up):
1842 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1843 entry.
1844
c4c0c2df
CY
18452012-09-30 Chong Yidong <cyd@gnu.org>
1846
48de8b12
CY
1847 * server.el (server-host): Document the security implications.
1848 (server-auth-key): Doc fix.
1849
1850 * startup.el (initial-buffer-choice): Doc fix.
1851
1852 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1853
a97dc380
CY
1854 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1855 restriction change.
1856
d39d3c8e
CY
1857 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1858
c4c0c2df
CY
1859 * help-fns.el (help-fns--obsolete): Fix last change.
1860
98a5e33b
SM
18612012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1862
34cf6f39
SM
1863 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1864 (minor-mode-map-alist): Remove redundant code.
1865
e01c13fe
SM
1866 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1867 visited in a buffer.
1868 (cvs-insert-visited-file): New function.
1869 (find-file-hook): Use it.
1870
1871 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1872
02661b3a
SM
1873 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1874 chose face.
1875 (log-edit-empty-buffer-p): Don't require a space after a header.
1876
43711d4b
SM
1877 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1878
38a30d64
SM
1879 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1880
4ffb41a9
SM
1881 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1882 a proper minor-mode.
1883
98a5e33b
SM
1884 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1885
de82e29b
GM
18862012-09-29 Glenn Morris <rgm@gnu.org>
1887
5cc2e639
GM
1888 * winner.el (winner-mode): Remove variable (let define-minor-mode
1889 handle it).
1890 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1891 Doc fixes.
1892 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1893 (winner-mode): Use define-minor-mode.
1894
7bd302eb
GM
1895 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1896 the full definition in loaddefs, rather than duplicating it.
1897
2923922f 1898 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1899
0e3e4156
GM
1900 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1901 (inferior-lisp-program, inferior-lisp-load-command)
1902 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1903 No need to autoload defcustoms.
0e3e4156 1904
de82e29b
GM
1905 * hippie-exp.el (hippie-expand-try-functions-list)
1906 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1907 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1908 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1909 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1910 * progmodes/vhdl-mode.el (vhdl-line-expand):
1911 Explicitly load hippie-exp, so it does not get autoloaded
1912 while hippie-expand-try-functions-list is let-bound.
1913
e60b51ab
GM
19142012-09-28 Glenn Morris <rgm@gnu.org>
1915
277f0cfa
GM
1916 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1917
e60b51ab
GM
1918 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1919 Only "cl.el" counts as cl these days.
1920
53baf48a
JL
19212012-09-28 Juri Linkov <juri@jurta.org>
1922
1923 Display archive errors in the echo area instead of inserting
1924 to the file buffer.
1925
1926 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1927 to STDERR-TEST that can be a regexp matching a successful output.
1928 Create a temporary file and redirect stderr to it. Search for
1929 STDERR-TEST in the stderr output and display it in the echo area
1930 if no match is found.
1931 (archive-extract-by-file): New function like
1932 `archive-extract-by-stdout' but extracting archives to files
1933 and looking for successful matches in stdout. Function body is
1934 mostly copied from `archive-rar-extract'.
1935 (archive-rar-extract): Use `archive-extract-by-file'.
1936 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1937
9c1228c3
LL
19382012-09-28 Leo Liu <sdl.web@gmail.com>
1939
375e49d4
SM
1940 * pcomplete.el (pcomplete-show-completions):
1941 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1942
9c1228c3
LL
1943 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1944
7f457c06
SM
19452012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1946
3df749b0
SM
1947 * type-break.el: Use lexical-binding.
1948 (type-break-mode): Use define-minor-mode.
1949
7f457c06
SM
1950 * emacs-lisp/pcase.el (pcase--mark-used): New.
1951 (pcase--u1): Use it (bug#12512).
1952
1953 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1954 in load-history with the right file name.
1955
c00ebc98
TH
19562012-09-28 Tassilo Horn <tsdh@gnu.org>
1957
1958 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1959 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1960 (doc-view-get-bounding-box): Make bounding box slicing work for
1961 ODF and DVI documents.
1962
96fb7170
GM
19632012-09-28 Glenn Morris <rgm@gnu.org>
1964
1965 * type-break.el (type-break-mode, type-break-interval)
1966 (type-break-good-rest-interval, type-break-keystroke-threshold):
1967 No need to autoload.
1968 (type-break-good-rest-interval, type-break-keystroke-threshold):
1969 Add :set-after.
1970
5bc93c67
CY
19712012-09-28 Chong Yidong <cyd@gnu.org>
1972
1973 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1974 Add :version tag.
1975
9cad61d6
SM
19762012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1977
e28e67b3 1978 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1979
daee954c
GM
19802012-09-27 Glenn Morris <rgm@gnu.org>
1981
a88324d4
GM
1982 * faces.el (x-display-name): Declare (for without-x builds).
1983
8e5064e5
GM
1984 * linum.el (linum-format): Don't autoload it. Improve :type.
1985
cc1783c2
GM
1986 * progmodes/tcl.el: Don't require outline when compiling.
1987 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1988 * textmodes/sgml-mode.el: Don't require outline when compiling.
1989 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1990
48c339f2
GM
1991 * term.el (term-ansi-reset):
1992 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1993
daee954c
GM
1994 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1995 files for RCS and SCCS. (Bug#9781)
1996
b7f42161
CY
19972012-09-27 Chong Yidong <cyd@gnu.org>
1998
1999 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2000 change; value should be t.
2001
a2e770db
SM
20022012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2003
83600dc8
SM
2004 * image-mode.el: Use lexical-binding.
2005 (image-mode-winprops): Use t to stand for the window of
2006 a buffer that's not displayed.
2007 * doc-view.el (doc-view-new-window-function): Handle the new
2008 t in winprops.
2009 (doc-view-enlarge): Make it a real nop if the size is not changed.
2010 (doc-view-display): Handle the case where the buffer is not (yet?)
2011 displayed in any window.
2012 (doc-view-saved-settings): New var.
2013 (doc-view-mode): Use it.
2014 (doc-view-fallback-mode): Set it.
2015
a2e770db
SM
2016 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2017 Set lexical-binding.
2018 (minibuffer-eldef-shorten-default): New var.
2019 (minibuffer-default-in-prompt-regexps): Use it for new default.
2020 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2021
e3b60857
JB
20222012-09-26 Juanma Barranquero <lekktu@gmail.com>
2023
2024 * international/uni-bidi.el:
2025 * international/uni-category.el:
2026 * international/uni-name.el:
2027 * international/uni-numeric.el: Regenerate.
2028
3a880af4
SM
20292012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2030 Stefan Monnier <monnier@iro.umontreal.ca>
2031
2032 * profiler.el: New file.
2033
07b1a5fb
SM
20342012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2037 (testcover-reinstrument): Simplify with CSE.
2038
42019c2e
JB
20392012-09-26 Juanma Barranquero <lekktu@gmail.com>
2040
2041 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2042
179f044b
WS
20432012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2044
2045 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2046 (verilog-auto-input, verilog-auto-insert-lisp)
2047 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2048 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2049 (verilog-auto-unused, verilog-auto-wire)
2050 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2051 newline. Reported by Andrew Jones.
2052 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2053 Reported by Brad Dobbie.
07b1a5fb
SM
2054 (verilog-batch-delete-trailing-whitespace):
2055 Create verilog-batch-delete-trailing-whitespace.
2056 Reported by Brad Dobbie.
179f044b
WS
2057 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2058 parameters from another module. Reported by Dan Katz.
2059 (verilog-auto, verilog-auto-assign-modport)
2060 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2061 AUTOINOUTMODPORT for UVM interface module shell generation.
2062 Reported by Brad Dobbie.
2063 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2064 standard behavior.
2065 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2066 Reported by Matt Martin.
2067
9c52dd5a
MR
20682012-09-25 Martin Rudalics <rudalics@gmx.at>
2069
2070 * window.el (window--resize-child-windows): When resizing child
2071 windows proportionally, process them in reverse order to
2072 preserve the "when splitting a window the new one gets the odd
2073 line" behavior.
2074 (window--resize-root-window-vertically): When resizing the
2075 minibuffer window try to affect only windows at the bottom of the
2076 frame. (Bug#12419)
2077
863666eb
CY
20782012-09-25 Chong Yidong <cyd@gnu.org>
2079
2080 * subr.el (declare): Doc fix.
2081
2082 * help-fns.el (help-fns--obsolete): Handle macros properly.
2083
59f7af81
CY
20842012-09-25 Chong Yidong <cyd@gnu.org>
2085
2086 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2087 this function obsolete.
2088
2089 * calendar/cal-x.el (calendar-two-frame-setup)
2090 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2091 * calendar/calendar.el (american-calendar, european-calendar)
2092 (calendar-for-loop):
2093 * comint.el (comint-dynamic-simple-complete)
2094 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2095 * desktop.el (desktop-load-default):
2096 * dired-x.el (dired-omit-here-always)
2097 (dired-hack-local-variables, dired-default-directory):
2098 * emacs-lisp/derived.el (derived-mode-class):
2099 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2100 * emacs-lock.el (toggle-emacs-lock):
2101 * epa.el (epa-display-verify-result):
2102 * epg.el (epg-sign-keys, epg-start-sign-keys)
2103 (epg-passphrase-callback-function):
2104 * eshell/esh-util.el (eshell-for):
2105 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2106 (eshell-add-to-window-buffer-names):
2107 * files.el (locate-file-completion):
2108 * imenu.el (imenu-example--create-c-index)
2109 (imenu-example--create-lisp-index)
2110 (imenu-example--lisp-extract-index-name)
2111 (imenu-example--name-and-position):
2112 * international/mule-cmds.el (princ-list):
2113 * international/mule-diag.el (decode-codepage-char):
2114 * international/mule-util.el (detect-coding-with-priority):
2115 * iswitchb.el (iswitchb-read-buffer):
2116 * mail/mailalias.el (mail-complete):
2117 * mail/sendmail.el (mail-sent-via):
2118 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2119 (mouse-major-mode-menu):
2120 * password-cache.el (password-read-and-add):
2121 * pcomplete.el (pcomplete-parse-comint-arguments):
2122 * progmodes/sh-script.el (sh-maybe-here-document):
2123 * replace.el (query-replace-regexp-eval):
2124 * savehist.el (savehist-load):
2125 * simple.el (choose-completion-delete-max-match):
2126 * term.el (term-dynamic-simple-complete):
2127 * vc/ediff-init.el (ediff-check-version):
2128 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2129 * vc/vc.el (vc-diff-switches-list):
2130 * view.el (view-return-to-alist-update): Likewise.
2131
2132 * subr.el (eval-next-after-load, makehash, insert-string)
2133 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2134 mark obsolete.
2135 (mode-line-inverse-video): Variable deleted.
2136
2137 * international/mule-util.el (string-to-sequence): Remove.
2138
2139 * calendar/calendar.el (calendar-version):
2140 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2141 (icalendar-convert-diary-to-ical):
2142 * cus-edit.el (custom-mode):
2143 * ansi-color.el (ansi-color-unfontify-region):
2144 * international/latin1-disp.el (latin1-char-displayable-p):
2145 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2146 * progmodes/which-func.el (which-func-update-1):
2147 Use define-obsolete-function-alias.
59f7af81
CY
2148
2149 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2150 * net/newst-treeview.el (newsticker-groups-filename):
2151 Fix incorrect obsolescence declaration.
59f7af81
CY
2152
2153 * allout.el (allout-passphrase-hint-string): Likewise.
2154 (allout-init): Use a declare form to mark obsolete.
2155
2156 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2157 this applies to functions.
2158
2159 * iswitchb.el (iswitchb-read-buffer): Move code of
2160 iswitchb-define-mode-map here, and delete that obsolete function.
2161
2162 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2163 font-lock-reference-face.
2164
cca96c97
GM
21652012-09-25 Glenn Morris <rgm@gnu.org>
2166
b06eeda8
GM
2167 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2168 Doc fixes.
2169
cca96c97
GM
2170 * eshell/em-term.el (eshell-term-name):
2171 Default to term-term-name. (Bug#12485)
2172
dc4f818b
FEG
21732012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2174
cca96c97
GM
2175 * progmodes/python.el (python-shell-send-buffer): Better handling
2176 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2177
289c24bd
GM
21782012-09-24 Glenn Morris <rgm@gnu.org>
2179
2180 * eshell/esh-cmd.el (eshell-find-alias-function):
2181 Tighten up file-name regexp. (Bug#12499)
2182
8fb8b88f
FEG
21832012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2184
2185 Enhancements for triple-quote string syntax.
2186 * progmodes/python.el (python-quote-syntax): Remove.
2187 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2188 (python-syntax-count-quotes, python-syntax-stringify):
2189 New functions.
8fb8b88f 2190
6c27f0f8
CY
21912012-09-24 Chong Yidong <cyd@gnu.org>
2192
a5f2b6ec
CY
2193 * mail/supercite.el (sc-version): Remove obsolete function.
2194 (sc-describe): Don't mark as obsolete, since it is bound.
2195 (sc-submit-bug-report): Remove.
2196
2197 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2198 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2199 (log-edit-require-final-newline)
2200 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2201
2202 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2203 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2204 * vc/vc.el (vc-checkout-carefully): Likewise.
2205
2206 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2207 (emerge-version): Remove.
2208
2209 * progmodes/compile.el (compile-internal): Remove.
2210 (compilation-parse-errors-function): Fix typo.
2211
2212 * international/mule.el (set-char-table-default): Remove.
2213 (set-coding-priority, make-coding-system, generic-char-p)
2214 (charset-list, charset-bytes, charset-id): Use declare to mark
2215 functions as obsolete.
2216
2217 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2218 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2219 * vc/vc-hooks.el (vc-default-registered): Don't use
2220 vc-master-templates.
2221
07b1a5fb
SM
2222 * font-lock.el (font-lock-reference-face):
2223 Use define-obsolete-variable-alias.
6c27f0f8
CY
2224
2225 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2226 * calendar/calendar.el (calendar-font-lock-keywords):
2227 * calendar/diary-lib.el (diary-font-lock-keywords)
2228 (diary-fancy-font-lock-keywords):
2229 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2230 * textmodes/reftex-index.el (reftex-insert-index):
2231 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2232 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2233 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2234 * progmodes/prolog.el (prolog-font-lock-keywords):
2235 * progmodes/idlwave.el (idlwave-idl-keywords):
2236 * progmodes/ada-mode.el (ada-font-lock-keywords):
2237 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2238
bcc0adbf
GM
22392012-09-24 Glenn Morris <rgm@gnu.org>
2240
2241 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2242
095bb823
FEG
22432012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2244
2245 * progmodes/python.el (python-indent-line): More consistent cursor
2246 movement behavior.
2247
70efc5c9
SM
22482012-09-23 Stefan Merten <smerten@oekonux.de>
2249
2250 * textmodes/rst.el: Fix compiler warning.
2251
2f438239
RW
22522012-09-23 Roland Winkler <winkler@gnu.org>
2253
07b1a5fb
SM
2254 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2255 Transcribe also LaTeX hyphenation.
2f438239
RW
2256 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2257 bibtex-reformat-previous-options.
2258
936ad041
RW
22592012-09-23 Roland Winkler <winkler@gnu.org>
2260
2261 * proced.el (proced-renice-command): New variable.
2262 (proced-marked-processes): New function.
2263 (proced-with-processes-buffer): New macro.
2264 (proced-send-signal): Use them.
2265 (proced-renice): New command bound to r.
2266
6fab0274
RW
22672012-09-23 Roland Winkler <winkler@gnu.org>
2268
2269 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2270 ibuffer-saved-filter-groups has one element, shortcut the call of
2271 completing-read. (Bug#12331)
2272
9a930676
CY
22732012-09-23 Chong Yidong <cyd@gnu.org>
2274
2275 * bindings.el (mode-line-toggle-read-only):
2276 * bs.el (bs-toggle-readonly):
2277 * buff-menu.el (Buffer-menu-toggle-read-only):
2278 * dired.el (dired-toggle-read-only):
2279 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2280
d07ff9db
CY
22812012-09-23 Chong Yidong <cyd@gnu.org>
2282
2283 * image.el (image-type-available-p): Adapt to init-image-library
2284 argument changes.
2285
51c4474e
JL
22862012-09-22 Juri Linkov <juri@jurta.org>
2287
2288 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2289 `dired-toggle-read-only'. (Bug#12462)
2290
43bf5e8e
MR
22912012-09-22 Martin Rudalics <rudalics@gmx.at>
2292
2293 * subr.el (temp-output-buffer-show): New function.
2294 (with-output-to-temp-buffer): Call temp-output-buffer-show
2295 instead of internal-temp-output-buffer-show.
2296
c88b867f
CY
22972012-09-22 Chong Yidong <cyd@gnu.org>
2298
3df47cd5
CY
2299 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2300 (Bug#12462).
2301
c88b867f
CY
2302 * repeat.el (repeat): Doc fix (Bug#12348).
2303
2304 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2305 (Bug#10909).
2306
2307 * simple.el (shell-command-on-region): Doc fix.
3171e303 2308 (read-only-mode): Doc fix.
c88b867f 2309
df9685f3
EZ
23102012-09-22 Eli Zaretskii <eliz@gnu.org>
2311
2312 * emacs-lisp/timer.el (run-with-idle-timer)
2313 (timer-activate-when-idle): Warn against reinvoking an idle timer
2314 from within its own timer action. (Bug#12447)
2315
8e17c9ba
MR
23162012-09-22 Martin Rudalics <rudalics@gmx.at>
2317
2318 * cus-start.el (window-combination-limit): Add new optional
2319 values.
2320 * window.el (temp-buffer-window-show)
2321 (window--try-to-split-window): Handle new values of
2322 window-combination-limit (Bug#1806).
2323 (split-window): Test window-combination-limit for t instead of
2324 non-nil.
2325 (display-buffer-at-bottom): New buffer display action function.
2326 * help.el (temp-buffer-resize-regexps): New option.
2327 (temp-buffer-resize-mode): Rewrite doc-string.
2328 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2329 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2330
48a24920
SM
23312012-09-22 Stefan Merten <smerten@oekonux.de>
2332
70efc5c9 2333 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2334 (rst-official-version)
2335 (rst-package-emacs-version-alist): Sync with official version
2336 V1.4.0.
2337 (rst-faces-defaults, rst-set-level-default)
2338 (rst-level-face-max, rst-level-face-base-color)
2339 (rst-level-face-base-light, rst-level-face-format-light)
2340 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2341 (rst-adornment-faces-alist): Match new setup.
2342 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2343 (rst-level-5, rst-level-6): New faces.
2344
82f8cd94
CY
23452012-09-22 Chong Yidong <cyd@gnu.org>
2346
2347 * simple.el (undo): Handle indirect buffers (Bug#8207).
2348
acfa068f 23492012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2350
2351 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2352 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2353 (ido-set-matches-1): Use it. (Bug#2042)
2354
acfa068f 23552012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2356
2357 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2358 Fix 2011-05-17 change. (Bug#12418)
2359
acfa068f 23602012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2361
2362 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2363
acfa068f 23642012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2365
2366 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2367 Be more robust about locating simple.el.
2368
acfa068f 23692012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2370
2371 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2372
acfa068f
CY
23732012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2374
2375 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2376
41a97e6f
JL
23772012-09-20 Juri Linkov <juri@jurta.org>
2378
eb2deaff
JL
2379 * replace.el (query-replace-read-from): Use `read-regexp' instead
2380 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2381 (occur-read-primary-args): Use `read-regexp' instead of
2382 `read-string'.
2383 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2384 `read-from-minibuffer'.
2385 * isearch.el (isearch-occur): Use `read-regexp' instead of
2386 `read-string'.
2387 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2388 `read-from-minibuffer'.
2389 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2390 of `read-string'. (Bug#7567)
2391
5825610b
JL
2392 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2393 and allow accepting a list of strings prepended to a list of
2394 standard default values. Doc fix. (Bug#12321)
2395
eebbf404
JL
2396 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2397
41a97e6f
JL
2398 * replace.el (read-regexp): Don't add ": " when PROMPT already
2399 ends with a colon and space. (Bug#12321)
2400
c9e452d3
TH
24012012-09-20 Tassilo Horn <tsdh@gnu.org>
2402
2403 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2404 error.
2405
ee97deee
SM
24062012-09-20 Stefan Merten <smerten@oekonux.de>
2407
70efc5c9 2408 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2409 Fixes feature request bug#11711.
2410 (rst-mode): Create `imenu-create-index-function'.
2411 (rst-get-stripped-line): Delete after refactoring.
2412 (rst-section-tree, rst-section-tree-rec)
2413 (rst-section-tree-point): Refactor and document properly.
2414 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2415 (rst-imenu-convert-cell, rst-imenu-create-index):
2416 New function.
ee97deee 2417
f490dab9
SM
24182012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2419
95b9712e
SM
2420 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2421 (macroexp--expand-all): Use it.
2422 (macroexp--funcall-and-return): Remove by folding it into its sole
2423 caller (macroexp--warn-and-return).
2424 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2425 Use macroexp--obsolete-warning.
2426
f490dab9
SM
2427 * calc/calc.el: Fix last change by removing the whole chunk, since it
2428 was only needed back when Calc was not bundled.
2429
96e8d411
MR
24302012-09-20 Martin Rudalics <rudalics@gmx.at>
2431
2432 * emacs-lisp/debug.el (debug): Restore assignment to
2433 debugger-old-buffer removed on 2012-09-08.
2434
0876a82d
JL
24352012-09-20 Juri Linkov <juri@jurta.org>
2436
2437 * dired-aux.el (dired-diff): Remove (require 'diff) since
2438 `diff-latest-backup-file' is now autoloaded.
2439
9f7c28f0
CY
24402012-09-20 Chong Yidong <cyd@gnu.org>
2441
2442 * vc/diff.el (diff-latest-backup-file): Autoload.
2443
7a04bee9
SM
24442012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2445
e6f0a80d
SM
2446 * calc/calc.el: Remove redundant autoload shape check.
2447 (sel-mode): Don't defvar.
2448 (calc-get-stack-element): Add `sel-mode' arg instead.
2449 (calc-top, calc-top-list): Pass it this additional argument.
2450 * calc/calc-store.el (calc-store-map):
2451 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2452 (calc-map-equation, calc-outer-product, calc-inner-product):
2453 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2454
7a04bee9
SM
2455 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2456
12734222
JL
24572012-09-19 Juri Linkov <juri@jurta.org>
2458
2459 * dired-aux.el (dired-diff): Add (require 'diff) because
2460 `diff-latest-backup-file' is not autoloaded.
2461 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2462 of `dired-get-filename' to t to not report error when there is
2463 no default file on the current line.
2464
46624b4f
SM
24652012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2466
ce97595b
SM
2467 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2468 macroexp--eval-if-compile.
2469 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2470 (macroexp--expand-all): Use them (bug#12371).
2471
46624b4f
SM
2472 * doc-view.el (doc-view-guess-paper-size)
2473 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2474
db8a5a18
TH
24752012-09-19 Tassilo Horn <tsdh@gnu.org>
2476
2477 New feature: set optimal slice from BoundingBox information.
2478 * doc-view.el (doc-view-mode-map): Add keybinding.
2479 (doc-view-menu): Add menu entry.
2480 (doc-view-set-slice): Adapt docstring.
2481 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2482 (doc-view-scale-bounding-box)
2483 (doc-view-set-slice-from-bounding-box): New functions.
2484 (doc-view-paper-sizes): New defvar.
2485
69f6644c
GM
24862012-09-19 Glenn Morris <rgm@gnu.org>
2487
35f5b19d
GM
2488 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2489 (byte-compile-log-warning): Autoload. (Bug#12371)
2490
69f6644c
GM
2491 * calendar/calendar.el (calendar-american-month-header)
2492 (calendar-european-month-header, calendar-iso-month-header)
2493 (calendar-month-header): New options.
2494 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2495 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2496
e543ae91
JD
24972012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2498
2499 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2500
2fd5e67d
JL
25012012-09-18 Juri Linkov <juri@jurta.org>
2502
2503 * dired-aux.el (dired-diff): Restore original functionality of
2504 getting the default value, but keep new feature of using the
2505 latest existing backup file (`diff-latest-backup-file').
2506
42917e79
JL
25072012-09-18 Juri Linkov <juri@jurta.org>
2508
2509 * dired.el (dired-mark): If the region is active in Transient Mark
2510 mode, mark all files in the active region. Doc fix.
2511 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2512 Doc fix. (Bug#10624)
2513
20f70ede
JL
25142012-09-18 Juri Linkov <juri@jurta.org>
2515
2516 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2517 attributes for M-n are pulled from the file at point.
2518 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2519 Suggested by Drew Adams. (Bug#10624)
2520
32fb8162
DG
25212012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2522
2523 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2524 whitespace after "end".
2525 (ruby-do-end-to-brace): Collapse block to one line if it fits
2526 within fill-column.
2527
37ab5092
MR
25282012-09-18 Martin Rudalics <rudalics@gmx.at>
2529
2530 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2531 value.
2532 (debug): Don't remove debugger window when debugger is expected
2533 to be back.
2534
ed1f0bd3
CY
25352012-09-18 Chong Yidong <cyd@gnu.org>
2536
2537 * custom.el (defface): Doc fix.
2538
2539 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2540
a11035b8
MB
25412012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2542
2543 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2544 to initialize query-on-exit; then test that instead (bug#12288).
2545
64f6a736
SM
25462012-09-17 Stefan Merten <smerten@oekonux.de>
2547
70efc5c9 2548 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2549 (rst-defcustom-testcover, rst-testcover-add-compose)
2550 (rst-testcover-add-1value): New functions.
2551 (rst-portable-mark-active-p): Replace by `use-region-p'.
2552 (rst-update-section, rst-classify-adornment)
2553 (rst-find-title-line): Mark `1value' forms.
2554 (rst-classify-adornment): Remove superfluous form.
2555 (rst-update-section, rst-get-adornments-around)
2556 (rst-adornment-complete-p, rst-get-next-adornment)
2557 (rst-adjust, rst-promote-region)
2558 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2559 (rst-find-pfx-in-region, rst-section-tree-rec)
2560 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2561 (rst-toc-node, rst-toc, rst-forward-section)
2562 (rst-iterate-leftmost-paragraphs)
2563 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2564 (rst-bullet-list-region)
2565 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2566 (rst-compile-find-conf, rst-compile)
2567 (rst-repeat-last-character): Fix style.
2568
580bd868
CY
25692012-09-17 Chong Yidong <cyd@gnu.org>
2570
2571 * comint.el (comint--complete-file-name-data): Don't add a space
2572 if the status is `sole'; that adds a gratuitous space in the
2573 completion-cycling case (Bug#12092).
2574
2575 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2576
69de3ec6
RS
25772012-09-17 Richard Stallman <rms@gnu.org>
2578
0dee970c
RS
2579 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2580 only in the mime-shown mode, not in raw mode.
2581 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2582 mime processing. (Bug#12305)
0dee970c 2583
6b250df6
GM
2584 * mail/rmail.el (rmail-retry-failure):
2585 Turn off mime processing first. (Bug#12037)
acb1c47b 2586
69de3ec6
RS
2587 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2588
d079ee5f
CY
25892012-09-17 Chong Yidong <cyd@gnu.org>
2590
2591 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2592 (shell-dynamic-complete-functions): Convert to defcustom.
2593 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2594
865fe16f
CY
2595 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2596 * comint.el (comint-prompt-read-only):
2597 * custom.el (defcustom):
2598 * hi-lock.el (hi-lock-mode):
2599 * ibuffer.el (ibuffer-formats):
2600 * ielm.el (ielm-prompt-read-only):
2601 * novice.el (disable-command):
2602 * saveplace.el (toggle-save-place):
2603 * speedbar.el (speedbar-supported-extension-expressions):
2604 * startup.el (auto-save-list-file-prefix, init-file-user)
2605 (after-init-hook, inhibit-startup-echo-area-message):
2606 * strokes.el (strokes-help):
2607 * time-stamp.el (time-stamp):
2608 * calendar/calendar.el (calendar, diary-file):
2609 * calendar/diary-lib.el (diary-mail-entries, diary)
2610 (diary-list-entries-hook):
2611 * calendar/holidays.el (holidays, calendar-holidays):
2612 * calendar/lunar.el (lunar-phases):
2613 * calendar/solar.el (sunrise-sunset):
2614 * emulation/edt.el (edt-load-keys):
2615 * emulation/viper.el (viper-mode):
2616 * eshell/em-alias.el (eshell-command-aliases-list):
2617 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2618 * international/ogonek.el (ogonek-information):
2619 * net/tramp-cmds.el (tramp-bug):
2620 * net/quickurl.el (quickurl-reread-hook-postfix):
2621 * play/decipher.el (decipher-font-lock-keywords):
2622 * progmodes/cc-styles.el (c-set-style):
2623 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2624 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2625 * progmodes/octave-mod.el (octave-mode):
2626 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2627 * progmodes/verilog-mode.el (verilog-read-defines):
2628 * textmodes/two-column.el (2C-mode): Likewise.
2629
48093eb9
KY
26302012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2631
2632 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2633 that holds many addresses.
2634
c584eaf9
CY
26352012-09-16 Chong Yidong <cyd@gnu.org>
2636
40d70ecb
CY
2637 * align.el (align-areas): Call the indication function with
2638 positions instead of markers for arguments (Bug#12343).
2639
1667e065
CY
2640 * files.el (parse-colon-path): Use split-string (Bug#12351).
2641
fdc2806d 2642 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2643 (display-buffer-function): Mark as obsolete.
fdc2806d 2644
f1be615c 2645 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2646 values similar to font-lock-keywords (Bug#12136).
2647 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2648 (compilation-error-regexp-alist): Doc fix.
2649
f40a9709
GM
26502012-09-15 Glenn Morris <rgm@gnu.org>
2651
72aa16e1
GM
2652 * version.el (emacs-bzr-version-bzr): New function.
2653 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2654
82375160
GM
2655 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2656 checkouts, check the parent dirstate matches the branch.
2657 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2658 empty string.
2659
f40a9709
GM
2660 * version.el (emacs-bzr-version): Doc fix.
2661 (emacs-bzr-version-dirstate): New function.
2662 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2663 is local try and check that it matches the branch. If not, just
2664 use dirstate information. (Bug#12441)
2665
cb26b7f5
JL
26662012-09-14 Juri Linkov <juri@jurta.org>
2667
2668 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2669 (Bug#12399)
2670
2de39f08
SM
26712012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2672
0fb3cb7c
SM
2673 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2674
2de39f08
SM
2675 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2676 Remove obsolete byte-compiler hack that tried to silence some warnings.
2677 (edebug-submit-bug-report): Remove.
2678 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2679 Remove aliases, use the un-prefixed name instead.
2680 (edebug-pop-to-buffer): Consider other frames.
2681 (edebug-original-read):: Make it more obvious that it's always defined.
2682 (edebug--make-form-data-entry, edebug--form-data-name)
2683 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2684 single-dashed name, and implement with cl-defstruct.
2685 (edebug-set-form-data-entry): Use the standard accessors.
2686 (edebug-make-top-form-data-entry): Use push.
2687 (edebug-no-match): Drop useless `funcall'.
2688 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2689 to functions.
2690 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2691 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2692 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2693 (easy-menu-define, with-custom-print): Remove redundant specs.
2694 (edebug-outside-overriding-local-map)
2695 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2696 (edebug--display): Bind unread-command-events directly to nil rather
2697 than binding it to unread-command-events and later setting it to nil.
2698 (edebug--display): Kill edebug-eval-buffer here...
2699 (edebug--recursive-edit): ...rather than here.
2700 Bind standard-output and standard-input.
2701 (edebug-eval): Check cl-macroexpand-all is fboundp.
2702 (edebug-temp-display-freq-count): Fix last change.
2703
2704 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2705 * subr.el (noreturn, 1value): Add `debug' spec.
2706 * emacs-lisp/advice.el: Require cl-lib.
2707 (ad-copy-tree): Remove, use copy-tree instead.
2708 (ad-dolist): Remove use dolist or cl-dolist instead.
2709 (ad-do-return): Remove, use cl-return instead.
2710 (defadvice): Add `debug' spec.
2711
5b68b333
JL
27122012-09-13 Juri Linkov <juri@jurta.org>
2713
2714 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2715 (Bug#12399)
2716
b9800ec4
GM
27172012-09-13 Glenn Morris <rgm@gnu.org>
2718
6a2e6868
GM
2719 * calc/calc.el (math-compose-expr):
2720 * calc/calc-ext.el (math-compose-expr):
2721 * progmodes/cc-defs.el (cl-macroexpand-all):
2722 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2723 (cl-macroexpand-all): Update declarations.
2724
b9800ec4
GM
2725 * vc/vc.el: No need to require ediff.
2726 (ediff-load-version-control): Declare.
2727 (ediff-vc-internal): Fix declaration.
2728 (vc-version-ediff): Require ediff.
2729
c18e885b
PE
27302012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2731
2732 Use a more backwards-compatible timer format (Bug#12430).
2733 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2734 being right after USECS, as that better supports old code that
2735 inadvisedly looked directly at the timer vector.
2736
d607d303
KH
27372012-09-13 Kenichi Handa <handa@gnu.org>
2738
2739 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2740 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2741 `coding-priority' property of these language environment.
2742
72eac303
PE
27432012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2744
2745 Fix glitches caused by addition of psec to timers (Bug#12430).
2746 * image.el (image-animate-timer):
2747 * time.el (display-time-world-timer):
2748 Use timer--function and timer--args rather than raw access to
2749 timer vector.
2750
2168fe4f
GM
27512012-09-13 Glenn Morris <rgm@gnu.org>
2752
2753 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2754 If not compiling a file, try using load-file-name.
2755
bd8d6108
SM
27562012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2757
c0c54fbd
SM
2758 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2759 Fix last change.
2760 (edebug-update-eval-list): Use `push'.
2761
bd8d6108
SM
2762 * emacs-lisp/edebug.el: Use lexical-binding.
2763 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2764 Mark unused args with underscore.
2765 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2766 (edebug-form-data): Use defvar-local.
2767 (edebug-make-before-and-after-form, edebug-make-after-form):
2768 Use backquote.
2769 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2770 Not dynamically scoped any more.
2771 (edebug--enter-trace): Add arguments `function' and `args'.
2772 Rename from edebug-enter-trace.
2773 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2774 (edebug--update-coverage): Add `after-index' and `value' args.
2775 Rename from edebug-update-coverage.
2776 (edebug-slow-after): Call it accordingly.
2777 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2778 edebug-recursive-edit.
2779 (edebug--display): Call it accordingly. Add args `value',
2780 `offset-index', and `arg-mode'. Rename from edebug-display.
2781 (edebug-debugger, edebug): Call it accordingly.
2782 (edebug-eval-display-list): Use dolist.
2783
a9f9d9de
JL
27842012-09-12 Juri Linkov <juri@jurta.org>
2785
2786 * info.el (Info-search): Don't check for isearch-mode and
2787 isearch-regexp before let-binding search-spaces-regexp to
2788 Info-search-whitespace-regexp.
2789 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2790 search-whitespace-regexp if isearch-lax-whitespace or
2791 isearch-regexp-lax-whitespace is non-nil.
2792 (Info-mode): Don't set local variable search-whitespace-regexp.
2793 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2794
bfeae2cf
SM
27952012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2798 (debugger-env-macro): Remove support for unread-command-char.
2799
2800 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2801 the temporary map re-appearing on emulation-mode-map-alists.
2802
2803 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2804 since 22.1.
2805
2806 * ehelp.el (with-electric-help): Accept functions in
2807 electric-help-form-to-execute.
2808 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2809 And replace unread-command-char -> unread-command-events.
2810
fbbcaf1b
MA
28112012-09-12 Michael Albinus <michael.albinus@gmx.de>
2812
2813 Sync with Tramp 2.2.6.
2814
2815 * net/tramp.el (tramp-accept-process-output): Don't use
2816 JUST-THIS-ONE in the XEmacs case.
2817
2818 * net/trampver.el: Update release number.
2819
4dece104
MR
28202012-09-12 Martin Rudalics <rudalics@gmx.at>
2821
bfeae2cf
SM
2822 * emacs-lisp/debug.el (debugger-previous-window-height):
2823 New variable.
4dece104
MR
2824 (debug): When debugger-jumping-flag is non-nil try to restore
2825 height of debugger window. (Bug#8789)
2826
45b82ad0
SM
28272012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2828
60c49c0f
SM
2829 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2830 overriding-local-map and pre/post-command-hook here.
2831 (edebug-recursive-edit): Do it here instead (bug#12345).
2832 (edebug-outside-unread-command-char): Remove all uses of
2833 unread-command-char.
2834
45b82ad0
SM
2835 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2836 inhibit-debugger is bound instead.
2837
baa26ea0
BG
28382012-09-11 Bastien Guerry <bzg@gnu.org>
2839
2840 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2841 (Bug#12346)
baa26ea0 2842
04e8abfa
BG
28432012-09-11 Bastien Guerry <bzg@gnu.org>
2844
96d03571 2845 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2846 (Bug#12347)
96d03571
BG
2847
28482012-09-11 Bastien Guerry <bzg@gnu.org>
2849
fc0c31f8 2850 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2851
04e082b0
MM
28522012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2853
2854 * progmodes/sql.el: Version 3.1
2855 (sql-db2-escape-newlines): New variable.
2856 (sql-escape-newlines-filter): Use it.
2857
399a361b
JB
28582012-09-10 Juanma Barranquero <lekktu@gmail.com>
2859
2860 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2861
0780c517
DN
28622012-09-10 Dan Nicolaescu <dann@gnu.org>
2863
45b82ad0
SM
2864 * vc/diff-mode.el (diff-mode-menu):
2865 Bind diff-remove-trailing-whitespace.
0780c517 2866
9b851e25
SM
28672012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2868
2869 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2870 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2871 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2872 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2873 (eval-defun-2): Remove bogus interactive spec.
2874 (lisp-indent-line): Remove redundant whole-exp code, now done in
2875 indent-according-to-mode.
2876 (save-match-data): Remove redundant indent data.
2877
2878 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2879 Use `declare'.
2880
3231d532
JL
28812012-09-09 Juri Linkov <juri@jurta.org>
2882
2883 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2884 (replace-lax-whitespace, query-replace-regexp)
2885 (query-replace-regexp-eval, replace-regexp): Doc fix.
2886 (perform-replace, replace-highlight): Let-bind
2887 isearch-lax-whitespace to replace-lax-whitespace and
2888 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2889
2890 * isearch.el (isearch-query-replace): Let-bind
2891 replace-lax-whitespace to isearch-lax-whitespace and
2892 replace-regexp-lax-whitespace to
2893 isearch-regexp-lax-whitespace. (Bug#10885)
2894
70fe8236
SM
28952012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2898
8ed43f15
AM
28992012-09-09 Alan Mackenzie <acm@muc.de>
2900
70fe8236
SM
2901 * progmodes/cc-engine.el (c-state-cache-init):
2902 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2903 (c-record-parse-state-state):
2904 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2905
bfabf70a
AS
29062012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2907
2908 * register.el (register-separator): Rename from
2909 separator-register. All uses changed. Doc fix.
2910 (register): Fix version.
2911
011474aa
CY
29122012-09-09 Chong Yidong <cyd@gnu.org>
2913
2914 * replace.el (query-replace-map): Bind four new symbols for
2915 requesting window scrolling.
2916
2917 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2918 query-replace-map (Bug#8948).
2919
2920 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2921
2922 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2923 since they are now in query-replace-map.
2924
2925 * window.el (scroll-other-window-down): Make the arg optional.
2926
a8b7cd8d
CY
29272012-09-09 Chong Yidong <cyd@gnu.org>
2928
2929 * files.el (hack-local-variables-confirm): Use quit-window to kill
2930 the *Local Variables* buffer.
2931
c3268831
DG
29322012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2933
2934 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2935 not just expect to be at its beginning. Adjust callees.
2936 Succeed when do-end block has no space before the pipe character.
2937 (ruby-brace-to-do-end): When the original block is one-liner,
2938 convert to multiline. Reindent the result.
2939
0979429b
J
29402012-09-08 Jambunathan K <kjambunathan@gmail.com>
2941
2942 * register.el (register): New group.
27359e99 2943 (separator-register): New user option.
0979429b
J
2944 (increment-register): Route it to `append-to-register', if
2945 register contains text. Implication is that `C-x r +' can now be
2946 used for appending to a text register (bug#12217).
2947 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2948 `separator-register'.
0979429b 2949
ace2989a
AM
29502012-09-08 Alan Mackenzie <acm@muc.de>
2951
2952 AWK Mode: make auto-newline work when there's "==" in the pattern.
2953 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2954 correctly.
0979429b
J
2955 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2956 Test more rigorously for "=" token.
ace2989a 2957
616c6c36
DG
29582012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2959
0979429b
J
2960 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2961 Only fail when reached LIMIT.
616c6c36 2962
35d98877
CY
29632012-09-08 Chong Yidong <cyd@gnu.org>
2964
2965 * dired.el (dired-mode-map): Don't bind M-=.
2966
2967 * dired-aux.el (dired-diff): Use backup file as default.
2968
1715f2db
DA
29692012-09-08 Drew Adams <drew.adams@oracle.com>
2970
2971 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2972
6dcef6ec
CY
29732012-09-08 Chong Yidong <cyd@gnu.org>
2974
2975 * subr.el (syntax-after, syntax-class): Doc fix.
2976
fa2bcf43
MR
29772012-09-08 Martin Rudalics <rudalics@gmx.at>
2978
2979 * window.el (display-buffer-in-previous-window): New buffer
2980 display action function.
2981
2982 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2983 (debugger-previous-window): New variable.
2984 (debug): Rewrite using display-buffer-in-previous-window,
2985 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2986
daac280a
SM
29872012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2988
2989 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2990
9dd40b00
MM
29912012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2992
daac280a
SM
2993 * progmodes/python.el (python-shell-send-string):
2994 When default-directory is remote, create temp file on remote
9dd40b00
MM
2995 filesystem.
2996 (python-shell-send-file): When file is remote, pass local view of
2997 file paths to remote Python interpreter. (Bug#12340)
2998
145823ec
CY
29992012-09-07 Chong Yidong <cyd@gnu.org>
3000
cee2e90d
CY
3001 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3002
0d7eb2ea
CY
3003 * files.el (after-find-file): Don't fail on a read-only buffer if
3004 require-final-newline is `visit' or `visit-save' (Bug#11156).
3005
145823ec
CY
3006 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3007
daac280a
SM
3008 * userlock.el (ask-user-about-supersession-threat):
3009 Use read-char-choice (Bug#12093).
145823ec 3010
74c582e6
CY
30112012-09-07 Chong Yidong <cyd@gnu.org>
3012
e5c2edf7
CY
3013 * subr.el (buffer-narrowed-p): New function.
3014
3015 * ses.el (ses-widen):
3016 * simple.el (count-words--buffer-message):
1f9f395d 3017 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3018
3019 * simple.el (count-words-region): Don't signal an error if there
3020 is a non-nil prefix arg and the mark is not set.
c640e87d 3021
74c582e6
CY
3022 * help.el (describe-key-briefly): Allow the message to be seen
3023 when invoked from the minibuffer (Bug#7014).
3024
d81ceaaf
DG
30252012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3026
3027 * progmodes/ruby-mode.el (ruby-end-of-defun)
3028 (ruby-beginning-of-defun): Simplify, allow indentation before
3029 block beginning and end keywords.
8f06acce
DG
3030 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3031 (ruby-end-of-defun): Expect that the point is at the beginning of
3032 the defun.
d81ceaaf 3033
d458ef98
SM
30342012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3037 (bug#12367).
3038 (cl--make-usage-args): Strip _ from argument names.
3039
20367d28
RS
30402012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3041
3042 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3043 obsolete alias speedbar-key-map.
3044 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3045 (vhdl-index-menu-init): Don't use obsolete variable
3046 font-lock-maximum-size.
3047
3424a4f6
CY
30482012-09-06 Chong Yidong <cyd@gnu.org>
3049
3050 * frame.el (window-system-version): Mark as obsolete.
3051
fcbfbdea
CY
3052 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3053 of obsolete variable speedbar-key-map.
3054
826b3235
JL
30552012-09-06 Juri Linkov <juri@jurta.org>
3056
3057 * replace.el (replace-lax-whitespace): New defcustom.
3058 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3059 (replace-string, replace-regexp): Mention it in docstrings.
3060 (perform-replace, replace-highlight): Let-bind
3061 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3062 to the values of replace-lax-whitespace and regexp-flag.
3063 Don't let-bind search-whitespace-regexp. (Bug#10885)
3064
3065 * isearch.el (isearch-query-replace): Let-bind
3066 replace-lax-whitespace instead of let-binding
3067 replace-search-function and replace-re-search-function.
3068 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3069 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3070 (isearch-toggle-symbol): Set isearch-regexp to nil
3071 in isearch-word mode (like in isearch-toggle-word).
3072
1ec5e41d
JL
30732012-09-06 Juri Linkov <juri@jurta.org>
3074
3075 * replace.el (replace-search-function)
3076 (replace-re-search-function): Set default values to nil.
3077 (perform-replace): Let-bind isearch-related variables based on
3078 replace-related values, call `isearch-search-fun' and let-bind
3079 the result to `search-function'. Remove code that sets
3080 `search-function' and `search-string' separately for
3081 `delimited-flag'.
3082 (replace-highlight): Add new argument `delimited-flag' and
3083 rename other arguments to the names used in `perform-replace'.
3084 Let-bind `isearch-word' to the argument `delimited-flag'.
3085 (Bug#10885, bug#10887)
3086
0ba2d4b6
DG
30872012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3088
3089 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3090 ruby-beginning-of-indent, simplify, allow all keywords to have
3091 indentation before them.
3092 (ruby-beginning-of-indent): Adjust for above. Search until the
3093 found point is not inside a string or comment.
3094 (ruby-font-lock-keywords): Allow symbols to start with "@"
3095 character, give them higher priority than variables.
3096 (ruby-syntax-propertize-function)
3097 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3098 matchers. Expression expansions are not comments when inside a
3099 string, and there comment syntax status is irrelevant.
3100 (ruby-match-expression-expansion): New function. Check that
3101 expression expansion is inside a string, and it's not escaped.
3102 (ruby-font-lock-keywords): Use it.
3103
ef654460
MR
31042012-09-05 Martin Rudalics <rudalics@gmx.at>
3105
3106 * help.el (temp-buffer-max-height): New default value.
3107 (temp-buffer-resize-frames): New option.
3108 (resize-temp-buffer-window): Optionally resize frame.
3109
3110 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3111 (fit-frame-to-buffer): New function.
3112
7e570fbf 31132012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3114
3115 * emulation/cua-rect.el (cua--init-rectangles):
3116 * textmodes/picture.el (picture-mode-map):
3117 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3118 like forward-char and backward-char. (Bug#12317)
3119
7e570fbf 31202012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3121
3122 * progmodes/flymake.el (flymake-warning-re): New variable.
3123 (flymake-parse-line): Use it.
3124
7e570fbf 31252012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3126
3127 * calendar/holidays.el (holiday-christian-holidays):
3128 Rename an entry. (Bug#12289)
3129
7e570fbf 31302012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3131
3132 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3133 (bug#12222).
3134
972debf2
SM
31352012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * loadup.el: Load macroexp. Remove hack.
3138 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3139 (macroexp--expand-all): Use it to get better warnings.
3140 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3141 (internal-macroexpand-for-load): New functions.
3142 (macroexp--pending-eager-loads): New var.
3143 (emacs-startup-hook): New hack to replace one in loadup.el.
3144 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3145 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3146 (cl-psetf): Simplify.
3147 (cl-defstruct): Add indent rule.
3148
8ce192e3
LI
31492012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3150
3151 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3152 over `user-mail-address' for the SMTP MAIL FROM envelope.
3153 (smtpmail-via-smtp): Ditto.
3154
6578b4d8
DG
31552012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3156
3157 * progmodes/ruby-mode.el: Clean up keybindings.
3158 (ruby-mode-map): Don't bind ruby-electric-brace,
3159 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3160 backward-kill-word, reindent-then-newline-and-indent.
3161 (ruby-mark-defun): Remove.
3162 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3163 (ruby-mode): Set local beginning-of-defun-function and
3164 end-of-defun-function values.
3165
c5e28e39
MR
31662012-09-03 Martin Rudalics <rudalics@gmx.at>
3167
3168 * window.el (temp-buffer-window-setup-hook)
3169 (temp-buffer-window-show-hook): New hooks.
3170 (temp-buffer-window-setup, temp-buffer-window-show)
3171 (with-temp-buffer-window): New functions.
972debf2
SM
3172 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3173 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3174
3175 * help.el (temp-buffer-resize-mode): Fix doc-string.
3176 (resize-temp-buffer-window): New optional argument WINDOW.
3177
3178 * files.el (recover-file, save-buffers-kill-emacs):
3179 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3180
73406194
MA
31812012-09-02 Michael Albinus <michael.albinus@gmx.de>
3182
3183 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3184 remote definition of `default-directory', ensure we can connect.
3185
63dd1c6f
JL
31862012-09-02 Juri Linkov <juri@jurta.org>
3187
3188 Toggle whitespace matching mode with M-s SPC.
3189 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3190
3191 * isearch.el (search-whitespace-regexp): Doc fix.
3192 Remove cons cell customization.
3193 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3194 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3195 New variables.
3196 (isearch-forward, isearch-forward-regexp): Doc fix.
3197 (isearch-toggle-lax-whitespace): New command.
3198 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3199 (re-search-forward-lax-whitespace)
3200 (re-search-backward-lax-whitespace): New functions.
3201 (isearch-whitespace-regexp): Remove function.
3202 (isearch-query-replace): Let-bind replace-search-function and
3203 replace-re-search-function.
3204 (isearch-occur): Let-bind search-spaces-regexp according to the
3205 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3206 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3207 condition for C-q SPC.
3208 (isearch-search-fun-default): Use new functions mentioned above.
3209 (isearch-search-forward, isearch-search-backward): Remove functions.
3210 (isearch-search): Don't let-bind search-spaces-regexp.
3211 (isearch-lazy-highlight-space-regexp): Remove variable.
3212 (isearch-lazy-highlight-lax-whitespace)
3213 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3214 (isearch-lazy-highlight-new-loop): Use them.
3215 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3216
af7dda05
CY
32172012-09-02 Chong Yidong <cyd@gnu.org>
3218
3219 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3220
d67d3afd
GM
32212012-09-02 Glenn Morris <rgm@gnu.org>
3222
3223 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3224
69678719
GM
32252012-09-01 Glenn Morris <rgm@gnu.org>
3226
3227 * term.el: Tidy up menu definitions.
3228 (term-mode-map): Use easymenu for In/Out, Complete menus.
3229 (term-pager-break-map): Initialize in the defvar.
3230 (term-terminal-menu, term-signals-menu): Define with easymenu.
3231 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3232 (term-pager-menu): New, extracted from term-process-pager.
3233 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3234 (term-update-mode-line): Propertize line/char and page items.
3235 (term-process-pager): Move keymap initialization elsewhere.
3236
78dd6ab1
MR
32372012-09-01 Martin Rudalics <rudalics@gmx.at>
3238
3239 * window.el (switch-to-prev-buffer): Handle additional values of
3240 BURY-OR-KILL argument. Don't switch in minibuffer window.
3241 (switch-to-next-buffer): Don't switch in minibuffer window.
3242 (quit-restore-window): New function based on quit-window.
3243 Handle additional values of former KILL argument.
3244 (quit-window): Call quit-restore-window with appropriate
3245 interpretation of KILL argument.
3246 (display-buffer-below-selected): New buffer display action
3247 function.
3248
3d10e134
SM
32492012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * minibuffer.el (completion-at-point-functions): Complete docstring
3252 (bug#12254).
3253
0e23ef9d
PE
32542012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3255
3256 Better seed support for (random).
3257 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3258 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3259 * play/mpuz.el, play/tetris.el, play/zone.el:
3260 * calc/calc-comb.el (math-init-random-base):
3261 * play/blackbox.el (bb-init-board):
3262 * play/life.el (life):
3263 * server.el (server-use-tcp):
3264 * type-break.el (type-break):
3265 Remove unnecessary call to (random t).
3266 * net/sasl.el (sasl-unique-id-function):
3267 Change (random t) to (random), now that the latter is more random.
3268 * play/life.el (life-initialized): Remove no-longer-needed var.
3269
862382df
MR
32702012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3271
3272 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3273 Consider frame's buffer predicate when choosing the buffer.
3274 (Bug#12081)
3275
262a66e1
RS
32762012-08-30 Richard Stallman <rms@gnu.org>
3277
3278 * simple.el (special-mode-map): Delete binding for `z'.
3279
f17e1d00
AS
32802012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3281
3282 * progmodes/compile.el (compilation-always-kill): Doc fix.
3283
24777832
CY
32842012-08-30 Chong Yidong <cyd@gnu.org>
3285
3286 * window.el (display-buffer-reuse-frames): Make the obsolescence
3287 message more informative.
3288
69ba1f04
GM
32892012-08-30 Glenn Morris <rgm@gnu.org>
3290
3291 * paren.el (show-paren-delay):
3292 Add a :set function. Doc fix. (Bug#12297)
3293
f0019ede
MB
32942012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3295
3296 * progmodes/compile.el (compilation-always-kill): New var.
3297 (compilation-start): Use it.
3298
35e62fc9
SM
32992012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3300
af070a1c
SM
3301 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3302 * files.el (read-only-mode): Move to simple.el.
3303
35e62fc9
SM
3304 * files.el (read-only-mode): New minor mode.
3305 (toggle-read-only): Use it and mark obsolete.
3306 (find-file--read-only):
3307 * vc/vc.el (vc-next-action, vc-checkout):
3308 * vc/vc-cvs.el (vc-cvs-checkout):
3309 * obsolete/vc-mcvs.el (vc-mcvs-update):
3310 * ffap.el (ffap--toggle-read-only): Update callers.
3311
c2c43c23
MA
33122012-08-29 Michael Albinus <michael.albinus@gmx.de>
3313
3314 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3315 remote shell scripts.
3316 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3317
3318 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3319 "/usr/local/sbin".
3320
9fba804b
SM
33212012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3324
eada0861 33252012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3326
806f0cc7
LL
3327 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3328 completion-at-point. (Bug#12220)
3329
3bb213b9
LL
3330 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3331
22ab32ef
LL
3332 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3333
eada0861 33342012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3335
19c17fc1
CY
3336 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3337 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3338
eada0861 33392012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3340
3341 * progmodes/hideif.el (hif-compress-define-list):
3342 Fix typo. (Bug#11951)
3343
eada0861 33442012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3345
3346 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3347 buffer local setting.
3348
27d6c5a8
LL
3349 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3350 rcirc-encode-coding-system.
3351
eada0861 33522012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3353
3354 * net/rcirc.el (rcirc-split-message): New function.
3355 (rcirc-send-message): Use it. (Bug#12051)
3356
d44688e4
JL
33572012-08-28 Juri Linkov <juri@jurta.org>
3358
3359 * info.el (Info-fontify-node): Hide empty lines at the end of
3360 the node. (Bug#12272)
3361
34f10d41
MR
33622012-08-27 Drew Adams <drew.adams@oracle.com>
3363
3364 * dired.el (dired-pop-to-buffer): Make window start at beginning
3365 of buffer (Bug#12281).
3366
77f1f99c
CY
33672012-08-26 Chong Yidong <cyd@gnu.org>
3368
3369 * window.el (special-display-regexps, special-display-frame-alist)
3370 (special-display-buffer-names, special-display-function)
3371 (display-buffer-reuse-frames): Mark as obsolete.
3372
3373 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3374
3375 * help.el (help-print-return-message): Don't treat
3376 display-buffer-reuse-frames specially.
3377
d97af5a0
CY
33782012-08-26 Chong Yidong <cyd@gnu.org>
3379
9fba804b
SM
3380 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3381 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3382 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3383 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3384 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3385 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3386 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3387 the functions directly with gdb-display-buffer-other-frame-action.
3388 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3389 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3390 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3391 (gdb-display-registers-buffer): Define directly.
3392 (def-gdb-display-buffer): Macro deleted.
3393 (gdb-display-buffer): Remove second and third args, callers don't
3394 use them. Defer to the default display-buffer behavior, apart
3395 from making windows dedicated.
3396 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3397
3398 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3399
3400 * window.el (display-buffer-pop-up-frame): Handle a
3401 pop-up-frame-parameters alist entry.
3402 (display-buffer): Document it.
3403
dd7ffad6
CY
34042012-08-26 Chong Yidong <cyd@gnu.org>
3405
3406 * isearch.el (search-whitespace-regexp): Make string and nil
3407 values apply to both ordinary and regexp search. Allow a cons
3408 cell value to distinguish between the two.
3409 (isearch-whitespace-regexp, isearch-search-forward)
3410 (isearch-search-backward): New functions.
3411 (isearch-occur, isearch-search-fun-default, isearch-search)
3412 (isearch-lazy-highlight-new-loop): Use them.
3413 (isearch-forward, isearch-forward-regexp): Doc fix.
3414
4c47bd1e
CY
34152012-08-26 Chong Yidong <cyd@gnu.org>
3416
3417 * faces.el (help-argument-name): Always inherit from italic
3418 (Bug#12213).
3419
9aba119d
MR
34202012-08-25 Martin Rudalics <rudalics@gmx.at>
3421
3422 * window.el (window--even-window-heights): Even heights when
3423 WINDOW and the selected window form a vertical combination.
3424 (display-buffer-use-some-window): Provide that window used gets
3425 sized back by quit-window. (Bug#11880) and (Bug#12091)
3426
ca5256ad
PE
34272012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3428
3429 Fix file time stamp problem with bzr and CVS (Bug#12001).
3430 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3431 in the file's time stamp, since the version control system loses
3432 that information.
3433
d1c0d176
JL
34342012-08-22 Juri Linkov <juri@jurta.org>
3435
3436 * info.el (Info-fontify-node): Hide the suffix of the
3437 Info file name in the header line. (Bug#12187)
3438
141562ff
GM
34392012-08-22 Glenn Morris <rgm@gnu.org>
3440
3441 * calendar/cal-tex.el (cal-tex-weekly-common):
3442 Restore leading blank page.
3443
61a48e19 34442012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
3445
3446 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3447 the region under `shift-select-mode'. (Bug#12231)
3448
34492012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3450
3451 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3452 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3453 gives details on why the space is never needed.
3454
ea95074e
MR
34552012-08-22 Martin Rudalics <rudalics@gmx.at>
3456
9fba804b
SM
3457 * window.el (walk-window-tree, window-with-parameter):
3458 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3459 should run on the minibuffer window.
3460 (window-at-side-list): Don't operate on minibuffer window.
3461 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3462 (window--size-ignore): Rename to window--size-ignore-p.
3463 Update callers.
caceae25
MR
3464 (display-buffer-in-atom-window, window--major-non-side-window)
3465 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3466 (delete-side-window, display-buffer-in-side-window):
3467 New functions.
caceae25
MR
3468 (window--side-check, window-deletable-p, delete-window)
3469 (delete-other-windows, split-window): Handle side windows and
3470 atomic windows appropriately.
3471 (window--display-buffer): Call display-buffer-record-window also
3472 when the window buffer did not change.
ea95074e 3473
80a51fa0
CS
34742012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3475
3476 * help-fns.el (help-fns--key-bindings):
3477 Abbreviate non-symbol remap targets. (Bug#12174)
3478
fbb6300b
MR
34792012-08-22 Martin Rudalics <rudalics@gmx.at>
3480
3481 * dired.el (dired-mark-remembered): Don't clobber point.
3482 (Bug#11795)
3483
2b2c0794
GM
34842012-08-22 Glenn Morris <rgm@gnu.org>
3485
3486 * progmodes/bug-reference.el (bug-reference): New custom group.
3487 (bug-reference-bug-regexp): Make it a defcustom.
3488
37219830
DU
34892012-08-22 Daiki Ueno <ueno@unixuser.org>
3490
3491 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3492 (js-paren-indent-offset, js-square-indent-offset)
3493 (js-curly-indent-offset): Add :safe (Bug#12257).
3494
94e0e559
EC
34952012-08-22 Edward O'Connor <hober0@gmail.com>
3496
3497 * json.el (json-key-format): Add error properties.
3498 (json-encode-key): New function.
3499 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3500 Use json-encode-key.
3501
da485f5e
GM
35022012-08-22 Glenn Morris <rgm@gnu.org>
3503
3504 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3505 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3506 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3507 Update for above change.
3508
c6cc78b8
AS
35092012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3510
3511 * cus-face.el (custom-face-attributes): Fix customize type for the
3512 :underline attribute. (Bug#11805)
3513
5481664a
MR
35142012-08-21 Martin Rudalics <rudalics@gmx.at>
3515
3516 * window.el (window-point-1, set-window-point-1): Remove.
3517 (window-in-direction, record-window-buffer)
3518 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3519 (window--state-get-1, display-buffer-record-window):
3520 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3521 window-point and set-window-point respectively.
3522
6d74698e
GM
35232012-08-21 Glenn Morris <rgm@gnu.org>
3524
b7fa2691
GM
3525 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3526 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3527 Use it.
3528
52f56d5a
GM
3529 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3530 (cal-tex-shortday): New function.
3531 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3532 (cal-tex-cursor-filofax-daily): Use the above.
3533
9f1ee09e
GM
3534 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3535 New functions.
3536 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3537 (cal-tex-cursor-filofax-week): Use them.
3538
79858159
GM
3539 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3540 New constants.
3541 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3542 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3543
d346b2b4
GM
3544 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3545 (cal-tex-end-document): Don't rely on buffer name.
3546
b2403709
GM
3547 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3548 Use cal-tex-vspace.
3549 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3550 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3551 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3552 Use cal-tex-arg.
b2403709 3553
1cebb5c0
GM
3554 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3555 (cal-tex-cursor-week, cal-tex-cursor-week2)
3556 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3557 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3558 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3559 (cal-tex-insert-preamble, cal-tex-b-document)
3560 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3561 Improve cal-tex-cmd usage.
3562
c68cd5d4
GM
3563 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3564 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3565 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3566 (cal-tex-weekly-paper): New function.
3567 (cal-tex-cursor-week, cal-tex-cursor-week2)
3568 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3569 (cal-tex-cursor-day): Use it.
3570
9dca4801
GM
3571 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3572 (cal-tex-cursor-filofax-week): Remove leading blank page.
3573
1941e134
GM
3574 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3575 Add autoload cookie. For now at least, don't use color, since
3576 no other cal-tex function does.
3577
6d74698e
GM
3578 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3579 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3580 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3581
64cde199
JL
35822012-08-21 Juri Linkov <juri@jurta.org>
3583
3584 * info.el (Info-file-attributes): New variable.
3585 (info-insert-file-contents): Add file attributes to
3586 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3587 `Info-toc-nodes' when previous modtime of the Info file is less
3588 than new modtime.
3589 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3590 of info.el. (Bug#12230)
3591
32757648
GM
35922012-08-20 Glenn Morris <rgm@gnu.org>
3593
3594 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3595 * calendar/holidays.el (calendar-holiday-list):
3596 Report errors with display-warning rather than beep'n'sleep.
3597
a32fbbcf
MA
35982012-08-20 Michael Albinus <michael.albinus@gmx.de>
3599
3600 * net/tramp.el (tramp-accept-process-output): Accept only output
3601 from PROC. Otherwise, process filters and sentinels might be
3602 confused. (Bug#12145)
3603
a05731a0
CY
36042012-08-20 Chong Yidong <cyd@gnu.org>
3605
3606 * descr-text.el (describe-text-properties-1): Use overlays-in to
3607 report on empty overlays (Bug#3322).
3608
36e8d1eb
GM
36092012-08-20 Glenn Morris <rgm@gnu.org>
3610
3d300447
GM
3611 * mail/rmailout.el (rmail-output-read-file-name):
3612 Trap and report errors in rmail-output-file-alist elements.
3613
36e8d1eb
GM
3614 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3615 since most non-font-lock faces are not also variables).
3616
b96e5814
ER
36172012-08-20 Edward Reingold <reingold@iit.edu>
3618
3619 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3620 New function. (Bug12160)
3621
7cef3569
GM
36222012-08-19 Glenn Morris <rgm@gnu.org>
3623
3624 * mail/rmailout.el (rmail-output-read-file-name):
3625 Fix previous change (when the alist is nil or does not match).
3626
17975d7f
CY
36272012-08-19 Chong Yidong <cyd@gnu.org>
3628
3629 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3630 (Bug#12228).
3631
2170b1bd
CY
36322012-08-18 Chong Yidong <cyd@gnu.org>
3633
3634 * simple.el (yank-handled-properties): New defcustom.
3635 (yank-excluded-properties): Add font-lock-face and category.
3636 (yank): Doc fix.
3637
9fba804b
SM
3638 * subr.el (remove-yank-excluded-properties):
3639 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3640 and category is now done this way, instead of being hard-coded.
3641 (insert-for-yank-1): Remove font-lock-face handling.
3642 (yank-handle-font-lock-face-property)
3643 (yank-handle-category-property): New function.
3644
ee218151
GM
36452012-08-17 Glenn Morris <rgm@gnu.org>
3646
3647 * mail/rmailout.el (rmail-output-read-file-name):
3648 Check rmail-output-file-alist against the full message body
3649 in the correct rmail buffer. (Bug#12214)
3650
4a6bc3fd
MA
36512012-08-17 Michael Albinus <michael.albinus@gmx.de>
3652
9fba804b
SM
3653 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3654 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3655
383dcbf9
CY
36562012-08-17 Chong Yidong <cyd@gnu.org>
3657
3658 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3659 font spec, set the font directly (Bug#3228).
3660
998c4a6a
MR
36612012-08-17 Martin Rudalics <rudalics@gmx.at>
3662
3663 * window.el (delete-window): Fix last fix.
3664
52162052
MR
36652012-08-16 Martin Rudalics <rudalics@gmx.at>
3666
3667 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3668 (window-child, window-child-count, window-last-child)
3669 (window-normalize-window, window-combined-p)
3670 (window-combinations, window-atom-root, window-min-size)
3671 (window-sizable, window-sizable-p, window-size-fixed-p)
3672 (window-min-delta, window-max-delta, window--resizable)
3673 (window--resizable-p, window-resizable, window-total-size)
3674 (window-full-height-p, window-full-width-p, window-body-size)
3675 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3676 (minimize-window, window-deletable-p, delete-window)
3677 (delete-other-windows, set-window-buffer-start-and-point)
3678 (next-buffer, previous-buffer, split-window, balance-windows-2)
3679 (set-window-text-height, window-buffer-height)
3680 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3681 (truncated-partial-width-window-p): Minor code adjustments.
3682 In doc-strings state whether the argument window has to denote a
85c2386b 3683 live, valid or any window.
52162052 3684
1c308380
PS
36852012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3686
3687 * progmodes/subword.el (subword-forward-function)
3688 (subword-backward-function, subword-forward-regexp)
3689 (subword-backward-regexp): New variables.
3690 (subword-forward, subword-forward-internal, subword-backward-internal):
3691 Use new variables, eg so that different "word" definitions
3692 can be easily used. (Bug#11411)
3693
94c9ece1
SM
36942012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3695
3696 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3697 for composite selectors.
3698 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3699 operation just because we can't find a previous revision.
3700
f2045622
CY
37012012-08-15 Chong Yidong <cyd@gnu.org>
3702
3703 * frame.el (set-frame-font): Accept font objects.
3704
582db660
SM
37052012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3706
3707 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3708
2f29c200
WJ
37092012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3710
456e62c2
WJ
3711 * man.el (Man-overstrike-face, Man-underline-face)
3712 (Man-reverse-face): Remove variables.
3713 (Man-overstrike, Man-underline, Man-reverse): New faces.
3714 (Man-fontify-manpage): Use them instead of the variables.
3715 (Man-cleanup-manpage): Comment change.
3716 (Man-ansi-color-map): New variable.
3717 (Man-fontify-manpage): Use it.
3718 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3719
2f29c200
WJ
3720 Implement ANSI SGR parameters 22-27 (bug#12146).
3721 * ansi-color.el (ansi-colors): Doc fix.
3722 (ansi-color-context, ansi-color-context-region): Doc fix.
3723 (ansi-color--find-face): New function.
3724 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3725 Rename the local variable `face' to `codes' since it is now a list of
3726 ansi codes. Doc fix.
3727 (ansi-color-get-face): Remove.
3728 (ansi-color-parse-sequence): New function, derived from
3729 ansi-color-get-face.
3730 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3731 codes 22-27.
3732
b4f5e9df
SM
37332012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * subr.el (read-passwd): Allow use from a minibuffer.
3736
ba025fbd
EZ
37372012-08-14 Eli Zaretskii <eliz@gnu.org>
3738
3739 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3740 inside comments and strings as identifiers.
3741
3742 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3743 expression to evaluate. This allows to evaluate expressions with
3744 embedded whitespace.
3745 (gud-tooltip-tips): Add a blank before the newline in the
3746 message-box text, for the benefit of message-box emulation on
3747 MS-Windows.
3748
3749 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3750 messages from GDB, pop them up in a tooltip to give feedback to
3751 user.
b4f5e9df
SM
3752 (gdb-tooltip-print-1): Quote the expression to evaluate.
3753 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3754 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3755 if the TTY name is nil or empty (which happens when communicating
3756 with the inferior via pipes, e.g. on MS-Windows).
3757 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3758 don't send that to the GUD buffer.
3759
c548f821
GM
37602012-08-14 Glenn Morris <rgm@gnu.org>
3761
3762 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3763 Optimize away setq-default with no args, as for setq. (Bug#12195)
3764
55802e4a
CY
37652012-08-14 Chong Yidong <cyd@gnu.org>
3766
4abcdac8
CY
3767 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3768
55802e4a
CY
3769 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3770 (Bug#12085).
3771
3c3cda1a
GM
37722012-08-14 Glenn Morris <rgm@gnu.org>
3773
3774 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3775
e1873bd0
MA
37762012-08-14 Michael Albinus <michael.albinus@gmx.de>
3777
3778 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3779 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3780 Use cached shell name.
3781
925411b4
FEG
37822012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3783
3784 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3785 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3786
e636fafe
DG
37872012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3788
3789 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3790 (ruby-percent-literal-beg-re): New constant.
3791 (ruby-syntax-general-delimiters-goto-beg): Rename to
3792 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3793 (ruby-syntax-propertize-general-delimiters): Rename to
3794 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3795 popular term. Adjust comments everywhere.
3796 (ruby-syntax-propertize-percent-literal): Only propertize when not
3797 inside a simple string or comment. When the literal is unclosed,
3798 leave the text after it unpropertized.
f063063a
DG
3799 (ruby-syntax-methods-before-regexp): New constant.
3800 (ruby-syntax-propertize-function): Use it to recognize regexps.
3801 Don't look at the text after regexp, just use the whitelist.
e636fafe 3802
e5b19827
AS
38032012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3804
3805 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3806 non-nil always load the compiled file if it exists. (Bug#12197)
3807
a9f6f311
CY
38082012-08-14 Chong Yidong <cyd@gnu.org>
3809
3810 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3811 (hi-lock-set-pattern): When deciding whether to use font lock or
3812 overlays, look at font-lock-mode instead of font-lock-fontified
3813 (Bug#12168).
3814 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3815 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3816
7d806b1e
DU
38172012-08-14 Daiki Ueno <ueno@unixuser.org>
3818
3819 * subr.el (internal--after-with-selected-window): Fix typo
3820 (Bug#12193).
3821
5beed586
FEG
38222012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3823
3824 Use `completion-table-dynamic' for completion functions.
3825 * progmodes/python.el
3826 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3827 (python-shell-completion--get-completions):
3828 Remove functions.
5beed586
FEG
3829 (python-shell-completion-complete-at-point): New function.
3830 (python-completion-complete-at-point): Use it.
3831
92cb3b04
J
38322012-08-13 Jambunathan K <kjambunathan@gmail.com>
3833
3834 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3835 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3836
89660017
SM
38372012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3838
3c98c962
SM
3839 * subr.el (function-get): Refine `autoload' arg so it can also
3840 autoload functions for gv.el (bug#12191).
3841 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3842 autoloads macros.
3843
aa7c6dbe
SM
3844 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3845 Prefer pcase-let over destructuring-bind.
3846 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3847 Also, remove whitespace as we go, rather than after accumulating the
3848 various places.
3849
89660017
SM
3850 * subr.el (internal--before-with-selected-window)
3851 (internal--after-with-selected-window): Fix typo seleted->selected.
3852 (with-selected-window): Adjust callers.
3853 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3854
31cd32c9
BG
38552012-08-13 Bastien Guerry <bzg@gnu.org>
3856
0fcd3d9f 3857 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3858 enhancement. (Bug#12172)
3859
1b15d8ad
AS
38602012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3861
31e54db0
AS
3862 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3863 type 1-6.
3864 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3865 extended headers.
3866
1b15d8ad
AS
3867 * files.el (hack-local-variables-filter): Remove useless eval.
3868
35cb9c06
MR
38692012-08-13 Martin Rudalics <rudalics@gmx.at>
3870
3871 * subr.el (with-selected-window): Fix last change.
3872
1439443b
SM
38732012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3874
3875 * subr.el (internal--before-with-seleted-window)
3876 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3877 (with-selected-window): Use them, to replace dependency on
3878 tty-top-frame.
1439443b 3879
0d9e2599
NN
38802012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3881
3882 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3883 binding for `newline'.
3884 (ruby-move-to-block): When moving backward, stop at block opening,
3885 not indentation.
3886 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3887 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3888 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3889 `ruby-toggle-block'.
3890
ba10c48c
SM
38912012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3892
3893 * ibuffer.el (ibuffer-do-toggle-read-only):
3894 * dired.el (dired-toggle-read-only):
3895 * buff-menu.el (Buffer-menu-toggle-read-only):
3896 * bindings.el (mode-line-toggle-read-only):
3897 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3898
9229c658
AS
38992012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3900
3901 * descr-text.el (describe-char): Put the overlays over the
3902 "displayed as" character.
3903
0fd09128
JB
39042012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3905
3906 * calc/calc-units.el (math-default-units-table): Give an
3907 initial value.
3908 (math-put-default-units): Add options to put composite units and
3909 unit systems in the default units table.
3910 (calc-convert-units): Send composite units to
3911 `math-put-default-units' when appropriate.
3912
9ff9402d 39132012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3914
fbb5e336
GM
3915 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3916
7aacaf15
GM
3917 * tutorial.el (help-with-tutorial):
3918 * emacs-lisp/copyright.el (copyright-update-directory):
3919 * emacs-lisp/autoload.el (autoload-find-generated-file)
3920 (autoload-find-file): Disable local eval: (for insurance).
3921
f40b9f10
GM
3922 * files.el (hack-local-variables-filter): If an eval: form is not
3923 known to be safe, and enable-local-variables is :safe, then ignore
3924 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3925 This is CVE-2012-3479.
f40b9f10 3926
daa9f1a6
SM
39272012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3928
3929 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3930 (rx-form): Simplify.
3931
9cd80478
DG
39322012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3933
0d9e2599
NN
3934 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3935 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3936 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3937 (ruby-syntax-propertize-function): Adjust for changes in
3938 `ruby-syntax-propertize-heredoc'.
3939
39402012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3941
9cd80478
DG
3942 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3943 binding (use `M-;' instead).
9cd80478 3944 (ruby-singleton-class-p): New function.
0d9e2599 3945 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3946
d301b413
SM
39472012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3948
3949 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3950
1530c98e
CY
39512012-08-10 Chong Yidong <cyd@gnu.org>
3952
3953 * progmodes/python.el (python-shell-get-process-name): Don't mess
3954 with same-window-buffer-names.
3955
3956 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3957 (eshell-remove-from-window-buffer-names): Make obsolete.
3958 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3959 (eshell): Just use pop-to-buffer-same-window instead.
3960
e1293765
CY
39612012-08-10 Chong Yidong <cyd@gnu.org>
3962
3963 * bindings.el: Bind M-= back to count-words-region.
3964
3965 * simple.el (count-words-region): Accept a prefix arg for acting
3966 on the entire buffer.
3967 (count-words--buffer-message): New helper function.
3968
e1894109
SM
39692012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3970
3971 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3972 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3973 (event-start, event-end): Use posn-at-point to return a more
3974 informative posn.
3975 (posnp): New function.
3976 * mouse.el (popup-menu-normalize-position): Use it.
3977
c69f56a2
MY
39782012-08-10 Masatake YAMATO <yamato@redhat.com>
3979
3980 * mouse.el (popup-menu-normalize-position): New function.
3981 (popup-menu): Use `popup-menu-normalize-position' to normalize
3982 the form for POSITION argument.
3983
3984 * term/x-win.el (x-menu-bar-open):
3985 Use the value returend from (posn-at-point) as position
3986 passed to `popup-menu'.
3987
31673780
JB
39882012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3989
3990 * calc/calccomp.el (math-compose-expr): Add extra argument
3991 indicating that parentheses should be put around products in
3992 denominators. Give multiplication precedence over division during
3993 composition.
3994
dab7711b
CY
39952012-08-09 Chong Yidong <cyd@gnu.org>
3996
dee4ef93
CY
3997 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3998 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3999 (Man-untabify-command, manual-program): Convert to defcustom
4000 (Bug#10429).
4001
73e2bbc5
CY
4002 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4003
3e861c8a
CY
4004 * descr-text.el (describe-char): Don't insert extra newlines
4005 (Bug#10127).
4006
a9f5a649
CY
4007 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4008 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4009
dab7711b
CY
4010 * align.el (align-region): Delete temporary markers (Bug#10047).
4011 Plus some code cleanups.
4012
e0cc4efa
FEG
40132012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4014
4015 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4016 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4017 (python-shell-internal-last-output): Use make-local-variable
4018 instead of make-variable-buffer-local.
4019
489af14f
FEG
40202012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4021
4022 * progmodes/python.el: Enhancements to forward-sexp.
4023 (python-nav-forward-sexp): Rename from
4024 python-nav-forward-sexp-function.
c69f56a2
MY
4025 (python-nav--forward-sexp, python-nav--backward-sexp):
4026 New functions.
489af14f 4027
0fc50303
JB
40282012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4029
4030 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4031 modes and simplification modes.
4032
5d65606a
SM
40332012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * delsel.el (delete-selection-pre-hook): Don't propagate the
4036 file-supersession signals (bug#12161).
4037
4250fdf5
SM
40382012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4039
4040 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4041 (cl-map-extents): Add compatibility aliases (bug#12135).
4042
d9f9b465
MA
40432012-08-08 Michael Albinus <michael.albinus@gmx.de>
4044
4045 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4046 tests by `ignore-error'.
4047 (tramp-find-shell): Open also a new shell, when cache is already
4048 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4049
ce0fcefa
JL
40502012-08-08 Juri Linkov <juri@jurta.org>
4051
4052 * bookmark.el: Add `defaults' property to the bookmark record.
4053 (bookmark-current-buffer): Doc fix.
4054 (bookmark-make-record): Add `defaults' property with default values
4055 to the bookmark record.
4056 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4057 with `bookmark-insert-current-bookmark'.
4058 (bookmark-set): Get `defaults' property from the bookmark record
4059 and use it in `read-from-minibuffer'.
4060 (bookmark-insert-current-bookmark): Remove function.
4061
4062 * info.el (Info-bookmark-make-record): Add `defaults' property
4063 with values of canonical Info node name, the current Info file
4064 name and the current Info node name. (Bug#12107)
4065
53fa8652
JL
40662012-08-08 Juri Linkov <juri@jurta.org>
4067
4068 * files.el (basic-save-buffer): Use `buffer-name' as the default
4069 of `read-file-name' when buffer is not visiting a file (bug#12128).
4070
242c0a95
JL
40712012-08-08 Juri Linkov <juri@jurta.org>
4072
4073 * info.el (Info-isearch-search): Doc fix.
4074 (Info-search): Change search-failed message from "initial node" to
4075 "end of node" (bug#12078).
4076 (Info-isearch-search): Change `isearch-string-state' to
4077 `isearch--state-string'.
4078
32ac3a6b
GM
40792012-08-08 Glenn Morris <rgm@gnu.org>
4080
4081 * language/persian.el: Remove file.
f8c1afd5 4082 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4083 * loadup.el: Remove language/persian.
4084
2c2d9c9c
OF
40852012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4086
4087 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4088
2d79ec42
FEG
40892012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4090
4091 * progmodes/python.el Fixed defsubst warning.
4092 (python-syntax-context) Rename from python-info-ppss-context.
4093 (python-syntax-context-type): Rename from
4094 python-info-ppss-context-type.
4095 (python-syntax-comment-or-string-p): Rename from
4096 python-info-ppss-comment-or-string-p.
4097
2bd255dd
JB
40982012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4099
4100 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4101
c395097f
AS
41022012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4103
6125983e
AS
4104 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4105 a defcustom that is quoted with backquote.
4106
4250fdf5
SM
4107 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4108 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4109 (math-do-arg-check, math-define-function-body): Use backquote forms.
4110 * calc/calc-ext.el (math-defcache): Likewise.
4111 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4112 * allout.el (allout-new-exposure): Likewise.
4113 * calc/calcalg2.el (math-tracing-integral): Likewise.
4114 * info.el (Info-last-menu-item): Likewise.
4115 * emulation/vip.el (vip-loop): Likewise.
4116 * textmodes/artist.el (artist-funcall): Likewise.
4117 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4118 Construct menu-item directly.
4119
4250fdf5
SM
4120 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4121 Don't declare.
c395097f 4122
5fb50dd3
CY
41232012-08-07 Chong Yidong <cyd@gnu.org>
4124
4125 * simple.el (deactivate-mark): Preserve text properties when
4126 saving the primary selection (Bug#8384).
4127
54eea618
KR
41282012-08-07 Kevin Ryde <user42@zip.com.au>
4129
4130 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4131 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4132 and continue processing (Bug#12110).
4133
638eaeb9
SM
41342012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4135
4136 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4137 syntax-propertize-function (bug#10095).
4138
ea376861
SM
41392012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4140
f91b35be
SM
4141 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4142 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4143 describe-function-1.
4144 (describe-function-1): Use them. Move compiler macro after sig.
4145 (help-fns--compiler-macro): Use function-get. Assume we're already in
4146 standard-output. Adjust layout to new call order.
4147
ea376861
SM
4148 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4149 re-binding a symbol that has a symbol-macro (bug#12119).
4150
d5be7bd0
MB
41512012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4152
4153 * language/persian.el: New file. (Bug#11812)
4154 * loadup.el: Add language/persian.el.
4155
90749b53
CY
41562012-08-06 Chong Yidong <cyd@gnu.org>
4157
4158 * window.el (window--maybe-raise-frame): New function.
4159 (window--display-buffer): Split off from here.
4160 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4161 (display-buffer-pop-up-window, display-buffer-use-some-window):
4162 Obey an inhibit-switch-frame action alist entry.
4163 (display-buffer): Update doc.
4164
4165 * replace.el (occur-after-change-function): Avoid losing focus by
4166 using the inhibit-switch-frame display parameter (Bug#12139).
4167
ba7b0154
FEG
41682012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4169
4170 Make internal shell process buffer names start with space.
4171 * progmodes/python.el (python-shell-make-comint): Add optional
4172 argument INTERNAL.
4173 (run-python-internal): Use it.
4174 (python-shell-internal-get-or-create-process): Check for new
4175 internal buffer names.
4176
5eaeacb5
GM
41772012-08-06 Glenn Morris <rgm@gnu.org>
4178
e296d94b 4179 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4180 Do less getting and setting of environment variables.
4181
b7ccbdc2
CY
41822012-08-05 Chong Yidong <cyd@gnu.org>
4183
777fe95e
CY
4184 * proced.el (proced): Add substitution string to docstring to
4185 trigger autoloading of the proced library on C-h f (Bug#1768).
4186
4250fdf5
SM
4187 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4188 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4189
4190 * imenu.el (imenu-generic-expression): Move documentation here
4191 from imenu--generic-function.
4192 (imenu--generic-function): Refer to imenu-generic-expression.
4193
9e3b7800 41942012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4195
4196 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4197 indentation declaration.
4198 (viper-loop): Add indentation declaration (Bug#7025).
4199
e5d9c0d1
CY
42002012-08-05 Chong Yidong <cyd@gnu.org>
4201
f0422feb
CY
4202 * help-fns.el (describe-variable): Add hyperlink for
4203 directory-local variables files. Improve buffer-local and
4204 permanent-local reporting; suggested by MON KEY (Bug#6644).
4205
4206 * help-mode.el (help-dir-local-var-def): New button type.
4207
e5d9c0d1
CY
4208 * files.el (kill-buffer-hook): Provide a defvar.
4209
a4f2deaa
GM
42102012-08-05 Glenn Morris <rgm@gnu.org>
4211
4212 * eshell/esh-ext.el (eshell/addpath):
4213 Also update eshell-path-env. (Bug#12013)
4214
a9dd5754
CY
42152012-08-05 Chong Yidong <cyd@gnu.org>
4216
a4f2deaa 4217 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4218
d014c740
CY
4219 * fringe.el (fringe-styles): Add docstring.
4220 (fringe--check-mode): New function.
4221 (set-fringe-mode, set-fringe-style): Use it.
4222 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4223
a9dd5754
CY
4224 * files.el (set-auto-mode): Fix invalid setq call.
4225
7c2dc8bd
SM
42262012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * isearch.el: Misc simplification; use defstruct.
4229 (isearch-mode-map): Dense maps now work like sparse ones.
4230 (isearch--state): New defstruct.
4231 (isearch-string-state, isearch-message-state, isearch-point-state)
4232 (isearch-success-state, isearch-forward-state)
4233 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4234 (isearch-wrapped-state, isearch-barrier-state)
4235 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4236 replaced by defstruct's accessors.
4237 (isearch--set-state): Rename from isearch-top-state and change
4238 calling convention.
4239 (isearch-push-state): Use new isearch--get-state.
4240 (isearch-toggle-word): Disable regexp when enabling word.
4241 (isearch-message-prefix): Remove unused arg _c-q-hack.
4242 (isearch-message-suffix): Remove unused arg _ellipsis.
4243
7fcc0070
AS
42442012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4245
4246 * simple.el (list-processes--refresh): For a server use :host or
4247 :local as the address.
97ad0769 4248 (list-processes): Doc fix.
7fcc0070 4249
a11035b8 42502012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4251
4252 * lisp/mpc.el: Support password in host argument.
4253 (mpc--proc-connect): Parse and use new password element.
4254 Set mpc-proc variable instead of returning process.
4255 (mpc-proc): Adjust accordingly.
4256
6dad7178
EZ
42572012-08-03 Eli Zaretskii <eliz@gnu.org>
4258
18949c2f
EZ
4259 * whitespace.el (whitespace-display-mappings): Use Unicode
4260 codepoints, instead of emacs-mule codepoints. See
4261 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4262 for the details.
4263
6dad7178
EZ
4264 * files.el (file-truename): Don't skip symlink-chasing part on
4265 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
4266 Windows into the loop that recursively chases symlinks.
4267 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
4268 MS-DOS.
4269
385b0198
CY
42702012-08-03 Chong Yidong <cyd@gnu.org>
4271
6200f3c4
CY
4272 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4273
385b0198
CY
4274 * sort.el (sort-regexp-fields): Doc fix.
4275
b9e74744
TH
42762012-08-03 Tassilo Horn <tsdh@gnu.org>
4277
4278 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4279 labels regex position point at the expected place.
4280
41013cb4
MK
42812012-08-03 MON KEY <monkey@sandpframing.com>
4282
4283 * net/imap.el (imap-interactive-login, imap-authenticate)
4284 (imap-mailbox-lsub, imap-mailbox-list)
4285 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4286 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4287 (imap-parse-response): Doc fix.
4288
0ffee616
JT
42892012-08-03 João Távora <joaotavora@gmail.com>
4290
4291 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4292 if sexp scanning does not move point (Bug#5734).
4293
cfcc9cc8
TH
42942012-08-02 Tassilo Horn <tsdh@gnu.org>
4295
4296 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4297 Add listings, minted, and ctable packages.
4298 (reftex-label-alist-builtin): Move listings, minted, and ctable
4299 entries before LaTeX.
a01bbb84 4300 (reftex-label-alist): Docfix.
cfcc9cc8 4301
66ec2442
BG
43022012-08-02 Bastien Guerry <bzg@gnu.org>
4303
4304 * replace.el (occur): Fix docstring (bug#12122).
4305
837b365b
GM
43062012-08-02 Glenn Morris <rgm@gnu.org>
4307
4308 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4309
e098de97
PE
43102012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4311
4312 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4313 * international/mule-cmds.el: Create
4314 inactivate-current-input-method-function as an obsolete alias for
4315 deactivate-current-input-method-function. See Katsumi Yamaoka in
4316 <http://bugs.gnu.org/10150#46>.
4317
a0f95636
JB
43182012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4319
4320 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4321 of nested `if's.
4322
0d26d7c4
GM
43232012-08-01 Glenn Morris <rgm@gnu.org>
4324
4325 * progmodes/autoconf.el (autoconf-definition-regexp):
4326 Add AH_TEMPLATE, adjust submatch numbering.
4327 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4328 (autoconf-current-defun-function): Update for above change.
4329 (autoconf-current-defun-function): First skip to end of current word.
4330
b686ba06
RS
43312012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4332
4333 * calendar/cal-html.el (cal-html-insert-agenda-days):
4334 Fix typo. (Bug#12018)
4335
0d49da68
FEG
43362012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4337
4338 Shell processes: enhancements to startup and CEDET compatibility.
4339 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4340 (python-shell-make-comint): accept-process-output at startup.
4341 (run-python-internal): Set inferior-python-mode-hook to nil.
4342 (python-shell-internal-get-or-create-process): call sit-for.
4343 (python-preoutput-result): Add obsolete alias.
4344 (python-shell-internal-send-string): Use it.
4345 (python-shell-send-setup-code): Remove call to
4346 accept-process-output.
4347
f1a71c6e
AS
43482012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4349
4350 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4351 (Bug#12108)
4352
d2605269
JB
43532012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4354
4355 * calc-mode.el (calc-basic-simplification-mode): Rename from
4356 `calc-limited-simplification-mode'.
4357 (calc-alg-simplification-mode): New function.
fc0c31f8 4358 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4359
d2605269
JB
4360 * calc.el (calc-set-mode-line): Adjust mode line display for
4361 basic simplification mode.
4362
4363 * calc-help.el (calc-m-prefix-help): Update help message.
4364
4365 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4366 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4367
a3827a43
BG
43682012-07-31 Bastien Guerry <bzg@gnu.org>
4369
4370 * man.el (man): Fix comment. (bug#12101)
4371
502e3f89
MR
43722012-07-31 Martin Rudalics <rudalics@gmx.at>
4373
4374 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4375 Don't return a non-nil value when no suitable buffer was found.
4376
d7714961
FEG
43772012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4378
4379 * progmodes/python.el (run-python-internal): Disable font lock for
4380 internal shells.
4381
1f45e27e
SM
43822012-07-30 Stefan Merten <smerten@oekonux.de>
4383
70efc5c9 4384 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4385 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4386 (rst-official-version, rst-official-cvs-rev)
4387 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4388 (rst-mode-map): New key binding.
4389
0aee6912
PE
43902012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4391
4392 Update .PHONY listings in makefiles.
4393 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4394 autoloads, update-subdirs, updates, bzr-update, update-authors,
4395 compile-onefile, compile-calc, backup-compiled-files,
4396 compile-after-backup, compile-one-process, mh-autoloads,
4397 bootstrap-clean, distclean, maintainer-clean.
4398
9052f9f0
JB
43992012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4400
1823ac5a
JB
4401 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4402 (calc-set-mode-line): Don't display "AlgSimp ".
4403
4404 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4405 (calc-lim-simplify-mode): New function.
4406 (calc-set-simplify-mode): Default to 'alg.
4407 (calc-default-simplify-mode): Make algebraic simplifications
4408 the default.
4409
4410 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4411 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4412
8d7c7eed 4413 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4414 indicate new simplification modes.
4415
1823ac5a
JB
4416 * calc/README: Mention new default simplification mode.
4417
9052f9f0
JB
4418 * calc/calc.el (math-normalize-error): New variable.
4419 (math-normalize): Set `math-normalize-error' to t
4420 when there's an error.
4421
4422 * calc/calc-alg.el (math-simplify): Don't simplify when
4423 `math-normalize' returns an error.
4424
20ba0cb4
EZ
44252012-07-29 Eli Zaretskii <eliz@gnu.org>
4426
4427 * international/mule-cmds.el (set-locale-environment): Revert last
4428 change, since display-graphic-p returns nil when this function is
4429 called during startup. Instead...
4430
4431 * term/w32console.el (terminal-init-w32console): ...setup the
4432 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4433
a5dcc929
JL
44342012-07-29 Juri Linkov <juri@jurta.org>
4435
4436 * simple.el (goto-line): Don't display default line number in the
4437 prompt because it should be displayed by `read-number' (bug#9952).
4438 Add the current line number to the defaults of `goto-line' to
4439 allow its easier modification by users with `M-n' (bug#9201).
4440
4441 * subr.el (read-number): Support multiple default values like in
4442 other minibuffer reading functions. Replace `read' with
4443 `string-to-number' for consistency with `number-to-string'.
4444
72b255c7
PE
44452012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4446
4447 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4448 * emulation/viper-init.el (viper-deactivate-input-method-action):
4449 Rename from viper-inactivate-input-method-action.
4450 (viper-deactivate-input-method):
4451 Rename from viper-inactivate-input-method.
4452 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4453 * international/mule-cmds.el (deactivate-input-method):
4454 Rename from inactivate-input-method.
4455 Also run input-method-deactivate-hook.
4456 (deactivate-current-input-method-function):
4457 Rename from inactivate-current-input-method-function.
4458 (input-method-deactivate-hook): New hook.
4459 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4460 (inactivate-input-method): Mark obsolete.
4461
72b255c7
PE
4462 * international/quail.el (quail-activate):
4463 Also run quail-deactivate-hook.
4464 (quail-deactivate): Rename from quail-inactivate.
4465 * international/robin.el (robin-activate):
4466 Also run robin-deactivate-hook.
4467 (robin-deactivate): Rename from robin-inactivate.
4468
2549c068
CY
44692012-07-29 Chong Yidong <cyd@gnu.org>
4470
4471 * simple.el (indicate-copied-region): New function.
4472 (kill-ring-save): Split off from here.
4473
4474 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4475 (kill-rectangle): Set deactivate-mark to t on read-only error.
4476
4477 * register.el (copy-to-register, copy-rectangle-to-register):
4478 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4479 (append-to-register, prepend-to-register): Call indicate-copied-region.
4480
44812012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4482
4483 * simple.el (async-shell-command-buffer): New defcustom.
4484 (shell-command): Use it. (Bug#4719)
4485
01bd1b0d
EZ
44862012-07-28 Eli Zaretskii <eliz@gnu.org>
4487
4488 * international/mule-cmds.el (set-locale-environment): In a
4489 console session on MS-Windows, set up keyboard and terminal
4490 encoding from the OEM codepage, not the ANSI codepage.
4491 (Bug#12055)
4492
a55739d3
CY
44932012-07-28 Chong Yidong <cyd@gnu.org>
4494
4495 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4496 gdb-get-location.
4497
0e1a094f 44982012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4499
4500 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4501 the alist (bug#12029).
4502
20329d73
EZ
45032012-07-28 Eli Zaretskii <eliz@gnu.org>
4504
4505 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4506 (compile-always, compile-first)
4507 ($(lisp)/calendar/cal-loaddefs.el)
4508 ($(lisp)/calendar/diary-loaddefs.el)
4509 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4510 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4511 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4512 instead of on update-subdirs.
4513 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4514
345a2258
CY
45152012-07-28 Chong Yidong <cyd@gnu.org>
4516
1eee6341
CY
4517 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4518 directory if vc-deduce-backend returns nil (Bug#7350).
4519
345a2258
CY
4520 * simple.el (delete-trailing-lines): New option.
4521 (delete-trailing-whitespace): Obey it (Bug#11879).
4522
049a0936
DE
45232012-07-28 David Engster <deng@randomsample.de>
4524
4525 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4526 Explanation of new 'symbol-qnames feature in doc-strings.
4527 (xml-maybe-do-ns): Return expanded names as plain symbols if
4528 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4529 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4530
aa81af71
FEG
45312012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4532
4533 Consistent completion in inferior python with emacs -nw.
4534 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4535 binding in inferior-python-mode-map with "\t".
4536 (python-shell-completion-complete-at-point)
4537 (python-completion-complete-at-point): Remove interactive spec.
4538
e827b1eb
JB
45392012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4540
4541 * calc/calccomp.el (math-compose-expr): Undo previous change.
4542
a90dfb95
FEG
45432012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4544
4250fdf5 4545 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4546 run-python.
4547 (python-shell-make-comint): Fix pop-to-buffer call.
4548 (run-python): Autoload. New arg SHOW.
4549 (python-shell-get-or-create-process): Do not pop python process
4550 buffer.
4551
32770973 45522012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4553
4554 * notifications.el (notifications-on-action-signal)
4555 (notifications-on-closed-signal): Use also the bus address for the map.
4556 (notifications-notify, notifications-close-notification)
fc0c31f8 4557 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4558
86332df2
TH
45592012-07-27 Tassilo Horn <tsdh@gnu.org>
4560
4250fdf5
SM
4561 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4562 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4563 ctable macro.
4564 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4565 labels written in keyvals syntax.
4566
ca1302a4
JB
45672012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4568
4569 * calc/calccomp.el (math-compose-expr): Use parentheses when
4570 there is a product in the denominator of a fraction.
4571
f8b91036
EZ
45722012-07-26 Eli Zaretskii <eliz@gnu.org>
4573
4574 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4575 ($(lisp)/calendar/diary-loaddefs.el)
4576 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4577 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4578 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4579 rewritten while the autoload files are built at the same time,
4580 which needs to load subdirs.el.
4581
c8e5a42c
MR
45822012-07-26 Martin Rudalics <rudalics@gmx.at>
4583
4584 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4585 (mouse-drag-line): Don't exit tracking when a switch-frame or
4586 switch-window event occurs (Bug#12006).
4587
670d85ea
SM
45882012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4589
4590 * mouse.el (popup-menu): Fix last change.
4591
7abaf5cc
SM
45922012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 Autoload from Lisp with more care. Follow aliases when looking for
4595 function properties.
4596 * subr.el (autoloadp): New function.
4597 (symbol-file): Use it.
4598 (function-get): New function.
4599 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4600 autoload-do-load.
4601 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4602 (lisp-indent-function):
4603 * emacs-lisp/gv.el (gv-get):
4604 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4605 * emacs-lisp/byte-opt.el (byte-optimize-form):
4606 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4607 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4608 Use function-get.
4609 * emacs-lisp/cl.el: Don't propagate function properties any more.
4610
4611 * speedbar.el (speedbar-add-localized-speedbar-support):
4612 * emacs-lisp/disass.el (disassemble-internal):
4613 * desktop.el (desktop-load-file):
4614 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4615 (describe-function-1):
4616 * emacs-lisp/find-func.el (find-function-noselect):
4617 * emacs-lisp/elp.el (elp-instrument-function):
4618 * emacs-lisp/advice.el (ad-has-proper-definition):
4619 * apropos.el (apropos-safe-documentation, apropos-macrop):
4620 * emacs-lisp/debug.el (debug-on-entry):
4621 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4622 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4623 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4624
b1364986
AA
46252012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4626
4627 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4628 function, not an obsolete variable (Bug#12046).
4629
67ada220
AS
46302012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4631
4632 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4633
f08088e3
CS
46342012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4635
4636 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4637 window only if it is still live (Bug#12034).
4638
8137e7b3
MR
46392012-07-25 Martin Rudalics <rudalics@gmx.at>
4640
4641 * subr.el (redirect-frame-focus): Add advertised calling
4642 convention (Bug#12030).
4643
09ae5da1
PE
46442012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4645
4646 Prefer typical American spelling for "acknowledgment".
4647 * vc/add-log.el (change-log-acknowledgment): Rename from
4648 change-log-acknowledgement, with an alias for the old name.
4649
3cc5a3a8
JB
46502012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4651
4652 * calc-alg.el (math-simplify-divide): Don't cross multiply
4653 in an equation when the lhs is a variable.
4654
b7af7f62
JD
46552012-07-24 Julien Danjou <julien@danjou.info>
4656
4657 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4658 Remove, unused.
4659
ec1b09b1
EZ
46602012-07-23 Eli Zaretskii <eliz@gnu.org>
4661
4662 * startup.el (command-line): Don't display an empty user name in
4663 the error message about non-existent home directory, when
4664 init-file-user was set to an empty string. See
4665 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4666 for the details and context.
4667
b525fd8a
VB
46682012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4669
4670 * ses.el (ses-cell-formula-aset): New macro.
4671 (ses-cell-references-aset): New macro.
4672 (ses-cell-p): New function.
4673 (ses-rename-cell): Do no longer rely on complex operations like
4674 ses-cell-set-formula or ses-set-cell to change the cell and handle
4675 the undo at the same time, but rather use lower level new macros
4676 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4677 the undo directly. Refresh the mode line.
b525fd8a 4678
2c73e345
LL
46792012-07-21 Leo Liu <sdl.web@gmail.com>
4680
670d85ea
SM
4681 * progmodes/cc-cmds.el (c-defun-name):
4682 Use match-string-no-properties instead for consistency.
2c73e345 4683
542dfbde
LL
46842012-07-20 Leo Liu <sdl.web@gmail.com>
4685
3646bcd6
LL
4686 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4687 (Bug#7879)
4688
542dfbde
LL
4689 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4690
25721031
CY
46912012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4694 * progmodes/bug-reference.el, misearch.el: Provide themselves
4695 (bug#11915).
4696
4697 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4698 of narrowed buffer (bug#11966).
4699
316e68a7
VB
47002012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4701
4702 * ses.el (ses-rename-cell): Set new name also in reference list of
4703 cells of which the renamed cell depends.
4704
bbf0e7d9
MY
47052012-07-20 Masatake YAMATO <yamato@redhat.com>
4706
4707 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4708 to check whether menu-bar is shown or not. If not shown,
4709 show the menu-bar as a popup menu instead of using tmm.
4710 * mouse.el (popup-menu): Accept `point' as `position' argument.
4711
c28662a8
DG
47122012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4713
4714 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4715 up inside string symbol literal (bug#11923).
4716
87ab808f
EZ
47172012-07-20 Eli Zaretskii <eliz@gnu.org>
4718
4719 * startup.el (fancy-startup-text): Read the whole tutorial, not
4720 just its first 256 bytes. Prevents gibberish in display of the
4721 tutorial title.
4722
89dea803
DA
47232012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4724
4725 Drop idle buffer compaction due to an absence of the
4726 proved efficiency.
4727 * compact.el: Remove.
4728
8a4e6db8
SS
47292012-07-19 Sam Steingold <sds@gnu.org>
4730
4731 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4732 vc-bzr-pull & vc-bzr-merge-branch.
4733 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4734 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4735 for consistency with compilation-error-regexp-alist.
4736 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4737 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4738 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4739 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4740
5db81e33
SM
47412012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 * emacs-lisp/chart.el: Use lexical-binding.
4744 (chart-emacs-storage): Don't hardcode the list of entries.
4745
5b835e1d
DA
47462012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4747
4748 Next round of tweaks caused by Fgarbage_collect changes.
4749 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4750
9cd47b72
DA
47512012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4752
4753 Compact buffers when idle.
4754 * compact.el: New file.
4755
1d6fc0df
SM
47562012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4757
4758 * subr.el (eventp): Presume that if it looks vaguely like an event,
4759 it's an event (bug#10190).
4760
1d29cc7d
FEG
47612012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4762
4763 Enhancements to ppss related code (thanks Stefan).
4764 * progmodes/python.el (python-indent-context)
4765 (python-indent-calculate-indentation, python-indent-dedent-line)
4766 (python-indent-electric-colon, python-nav-forward-block)
4767 (python-mode-abbrev-table)
1d6fc0df 4768 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4769 for ppss context.
4770 (python-info-continuation-line-p): Cleanup.
4771 (python-info-ppss-context): Do not catch 'quote.
4772 (python-info-ppss-context-type)
4773 (python-info-ppss-comment-or-string-p): Simplify.
4774
d583cbe6
FEG
47752012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4776
4777 * progmodes/python.el: Enhancements to eldoc support.
4778 (python-info-current-symbol): New function.
4779 (python-eldoc-at-point): Use python-info-current-symbol.
4780 (python-info-current-defun): Fix cornercase on first defun scan.
4781 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4782 and signal error when no inferior python process is available.
4783
eceb6feb
DG
47842012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4785
4786 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4787 assume it's always t.
4788 (vc-git-registered): Remove caching, the function is only called
4789 once.
4790 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4791
4c8ff0fe
CY
47922012-07-18 Chong Yidong <cyd@gnu.org>
4793
19fb7186
CY
4794 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4795
9587c688
CY
4796 * simple.el (count-words): Report on narrowing (Bug#9959).
4797
0fe776a1
CY
4798 * bindings.el: Bind M-= to count-words.
4799
4c8ff0fe
CY
4800 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4801
7f5331cc
MY
48022012-07-18 Masatake YAMATO <yamato@redhat.com>
4803
4804 * progmodes/sh-script.el (sh-imenu-generic-expression):
4805 Capture a function with `function' keyword and without parentheses
4806 like "function FOO" (bug#11856).
4807
2dc2a609
TH
48082012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4809
4810 * window.el (split-window-sensibly): Make WINDOW argument
4811 optional.
4812
439f7677
CY
48132012-07-18 Chong Yidong <cyd@gnu.org>
4814
9aeb25a6
CY
4815 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4816
439f7677
CY
4817 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4818 and make C-x 8 RET exit isearch (Bug#11439).
4819
4820 * international/iso-transl.el: Move isearch-mode-map key
4821 definitions to isearch.el.
4822
12999ea8
SM
48232012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4826 (eieio-defclass): Use gv-define-setter when possible.
4827
3ab6e069
DA
48282012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4829
4830 Reflect recent changes in Fgarbage_collect.
4831 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4832 reflect new format of data returned by Fgarbage_collect.
4833
0a60bc10
FEG
48342012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4835
4836 New utility functions + python-info-ppss-context fix (Bug#11910).
4837 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4838 (python-info-ppss-comment-or-string-p): New functions.
4839 (python-info-ppss-context): Small fix for string check.
4840
6dafa0d5
JL
48412012-07-17 Juri Linkov <juri@jurta.org>
4842
4843 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4844 (dired-do-async-shell-command): Don't add `*' at the end of the
4845 command (Bug#11815).
4846 (dired-do-shell-command): Doc fix.
4847 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4848 Join the individual commands using either "&" or ";" as the
4849 separator depending on the values of these trailing characters.
4850 At the end re-add the trailing "&". (Bug#10598)
4851
4852 * simple.el (async-shell-command): Sync the interactive spec with
4853 `shell-command'. Doc fix.
4854 (shell-command): Doc fix.
4855
b19dd9d1
JL
48562012-07-17 Juri Linkov <juri@jurta.org>
4857
4858 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4859
bcdc27d7 48602012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4861
bcdc27d7 4862 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4863 * progmodes/python.el (python-nav-beginning-of-statement):
4864 Rename from python-nav-statement-start.
bcdc27d7
FEG
4865 (python-nav-end-of-statement): Rename from
4866 python-nav-statement-end.
4867 (python-nav-beginning-of-block): Rename from
4868 python-nav-block-start.
4869 (python-nav-end-of-block): Rename from python-nav-block-end.
4870
191da00e
FEG
48712012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4872
7f5331cc
MY
4873 * progmodes/python.el (python-shell-send-string-no-output):
4874 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4875 future interactions (Bug#11868).
4876
4dc7c8d5 48772012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4878
88ecaf8f
SM
4879 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4880
ef501ef0
SM
4881 * emacs-lisp/elint.el (elint-find-args-in-code):
4882 Use help-function-arglist, so as to handle lexical byte-code.
4883
aa7aaf8f
SM
4884 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4885 change (bug#11826).
4886
45fd731c
SM
48872012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4888
2143fa32
SM
4889 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4890 Avoid spuriously marking the buffer as modified because of c-is-sws.
4891
efc26dbe
SM
4892 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4893 as not-a-comment (bug#11946).
4894
f5695c9a
SM
4895 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4896 for uninterned vars.
4897
4898 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4899 Use read-event since we don't really want to read chars but bytes.
4900
45fd731c
SM
4901 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4902 $$..$$ but also $..$ using regexps (bug#11953).
4903 Use tex-verbatim for \url and \path.
4904 (tex-font-lock-keywords): Define as defconst like the others.
4905 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4906
ddfc8813
RK
49072012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4908
4909 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4910 alias for insert-char.
4911
758e556a
FEG
49122012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4913
4914 * progmodes/python.el: Simplified imenu implementation.
4915 (python-nav-jump-to-defun): Remove command.
4916 (python-mode-map): Use `imenu' instead.
4917 (python-nav-list-defun-positions-cache)
4918 (python-imenu-include-defun-type, python-imenu-make-tree)
4919 (python-imenu-subtree-root-label, python-imenu-index-alist):
4920 Remove vars.
4921 (python-nav-list-defun-positions, python-nav-read-defun)
4922 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4923 (python-imenu-make-tree, python-imenu-create-index):
4924 Remove functions.
758e556a
FEG
4925 (python-mode): Update to interact with imenu by setting
4926 `imenu-extract-index-name-function' only.
4927
032d23ab
FEG
49282012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4929
4930 * progmodes/python.el: Enhancements to navigation commands.
4931 (python-nav-backward-sentence)
4932 (python-nav-forward-sentence): Remove.
4933 (python-nav-backward-statement, python-nav-forward-statement)
4934 (python-nav-statement-start, python-nav-statement-end)
4935 (python-nav-backward-block, python-nav-forward-block)
4936 (python-nav-block-start, python-nav-block-end)
4937 (python-nav-forward-sexp-function)
4938 (python-info-current-line-comment-p)
4939 (python-info-current-line-empty-p): New functions.
4940 (python-indent-context): Use `python-nav-statement-start'.
4941
01795a1b
MA
49422012-07-16 Michael Albinus <michael.albinus@gmx.de>
4943
9328d9aa
MA
4944 * eshell/em-ls.el (eshell/ls): Use `apply'.
4945
4946 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4947 multi-hops, instead of Tramp internals.
4948
01795a1b
MA
4949 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4950
4951 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4952 when F1 and F2 are located on different hosts.
4953
63408057
CY
49542012-07-14 Chong Yidong <cyd@gnu.org>
4955
4956 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4957 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4958 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4959 (xterm-mouse--read-event-sequence-1000)
4960 (xterm-mouse--read-event-sequence-1006): New functions. For old
4961 mouse protocol, handle M-mouse-X events correctly.
4962 (xterm-mouse-event): New arg specifying mouse protocol.
4963 (turn-on-xterm-mouse-tracking-on-terminal)
4964 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4965 sequence to toggle extended coordinates on newer XTerms.
4966 This appears to be harmless on terminals which do not support this.
63408057 4967
cd276f6e
LL
49682012-07-14 Leo Liu <sdl.web@gmail.com>
4969
28ca98ac
LL
4970 Add fringe bitmap indicators for flymake. (Bug#11253)
4971 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4972 (flymake-make-overlay): New arg BITMAP.
4973 (flymake-error-bitmap, flymake-warning-bitmap)
4974 (flymake-fringe-indicator-position): New user variables.
4975
cd276f6e
LL
4976 * fringe.el: New bitmap exclamation-mark.
4977
04408072
JD
49782012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4979
4980 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4981 also (Bug#7879).
4982
b5cf7fc4
CY
49832012-07-14 Chong Yidong <cyd@gnu.org>
4984
4985 * electric.el (electric-pair-post-self-insert-function): Fix pair
4986 insertion in empty-region case (Bug#11520).
4987
be755c79
RT
49882012-07-14 Chong Yidong <cyd@gnu.org>
4989
45fd731c
SM
4990 * bindings.el: Consolidate ctl-x-r-map bindings.
4991 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4992
4993 * rect.el, register.el: Move bindings to bindings.el.
4994
49952012-07-14 Reuben Thomas <rrt@sc3d.org>
4996
4997 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4998
7f5b3198
AS
49992012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5000
5001 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5002
97662200
JB
50032012-07-13 Juanma Barranquero <lekktu@gmail.com>
5004
80185fed
JB
5005 * bindings.el (top): Use `mapc' instead of `mapcar'.
5006
97662200
JB
5007 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5008
2bb1ae55
MA
50092012-07-13 Michael Albinus <michael.albinus@gmx.de>
5010
5011 * progmodes/sql.el (sql-comint): Suppress the check for program on
5012 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5013 (Bug#11908)
5014
dea31bd3
CY
50152012-07-13 Chong Yidong <cyd@gnu.org>
5016
5017 * bindings.el: Assign a non-nil permanent-local property to
5018 per-buffer variables which lack a default value (Bug#11930).
5019
5020 * help-fns.el (describe-variable): In the "automatically becomes
5021 local" notice, take note of permanent-local variables.
5022
b68b3337
CY
50232012-07-13 Chong Yidong <cyd@gnu.org>
5024
5025 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5026 to allow printing the message when called from Lisp.
5027
5028 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5029 Remove toggle-read-only.
5030
5031 * bs.el (bs-toggle-readonly):
45fd731c
SM
5032 * buff-menu.el (Buffer-menu-toggle-read-only):
5033 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5034
5035 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5036 Remove with-no-warnings around toggle-read-only.
5037 (ffap-read-only, ffap-read-only-other-window)
5038 (ffap-read-only-other-frame): Callers changed.
5039
5040 * help-mode.el: Don't require view package.
5041 (help-mode-finish): Set buffer-read-only instead of calling
5042 toggle-read-only.
5043
5044 * bindings.el (mode-line-toggle-read-only):
5045 * dired.el (dired-toggle-read-only):
5046 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5047 with non-nil second arg.
5048
5049 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5050 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5051 directly.
5052
56bc1586
EZ
50532012-07-12 Eli Zaretskii <eliz@gnu.org>
5054
5055 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5056 not incf.
5057
a464a6c7
SM
50582012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5059
5060 More CL cleanups and reduction of use of cl.el.
5061 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5062 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5063 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5064 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5065 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5066 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5067 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5068 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5069 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5070 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5071 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5072 * eshell/em-cmpl.el, eshell/em-banner.el:
5073 * calendar/parse-time.el: Use cl-lib.
5074 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5075 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5076 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5077 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5078 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5079 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5080 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5081 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5082 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5083 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5084 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5085 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5086 `lambda' rather than with `quote'.
5087 (eshell-do-opt): Adjust accordingly.
5088 (eshell-process-option): Simplify.
5089 * eshell/esh-var.el:
5090 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5091 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5092 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5093 to `pcase--dontcare'.
5094 * emacs-lisp/cl.el (labels): Mark obsolete.
5095 (cl--letf, letf): Move to cl-lib.
5096 (cl--letf*, letf*): Remove.
5097 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5098 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5099 (cl-progv): Rewrite.
5100 (cl--letf, cl-letf): Move from cl.el.
5101 (cl-letf*): New macro.
5102 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5103
7ad4afe1
MA
51042012-07-11 Michael Albinus <michael.albinus@gmx.de>
5105
5106 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5107
9af57756
CY
51082012-07-11 Chong Yidong <cyd@gnu.org>
5109
5110 * vc/log-edit.el (log-edit-vc-backend): New variable.
5111 (log-edit): Doc fix.
5112
5113 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5114 argument of log-edit to set up all local variables.
5115 (vc-start-logentry): New optional arg specifying VC backend.
5116
5117 * vc/vc.el (vc-checkin): Use it.
5118 (vc-deduce-fileset): Handle Log Edit buffers.
5119 (vc-diff): Make first argument optional too.
5120
5121 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5122
8477cc7a
MA
51232012-07-10 Michael Albinus <michael.albinus@gmx.de>
5124
5125 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5126 command, just in case. The function is not needed anymore.
5127 (eshell-external-command): Do not call `eshell-remote-command'.
5128
19faa8e8
SM
51292012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5130
f58e0fd5
SM
5131 Reduce use of (require 'cl).
5132 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5133 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5134 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5135 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5136 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5137 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5138 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5139 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5140 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5141 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5142 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5143 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5144 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5145 (byte-compile-unfold-bcf, byte-compile-check-variable):
5146 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5147 (byte-compile-nilconstp):
5148 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5149 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5150
2519d43a
SM
5151 * emacs-lisp/gv.el (cond): Make it a valid place.
5152 (if): Simplify slightly.
5153
19faa8e8
SM
5154 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5155 (pcase--self-quoting-p): New function.
5156 (pcase--u1): Use it.
5157
c4907a5e
GM
51582012-07-10 Glenn Morris <rgm@gnu.org>
5159
5160 * emacs-lisp/authors.el (authors-fixed-entries):
5161 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5162
c4444d16
PE
51632012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5164
5165 Rename configure.in to configure.ac (Bug#11603).
5166 * emacs-lisp/authors.el (authors-canonical-file-name):
5167 * progmodes/autoconf.el (autoconf-mode):
5168 Prefer configure.ac to configure.in.
5169
d75be97d
CY
51702012-07-08 Chong Yidong <cyd@gnu.org>
5171
01ac65bd
CY
5172 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5173 Implement the mouse-1-click-follows-link handling properly.
5174
5175 * info.el (Info-link-keymap): Use follow-link mechanism for
5176 header-line links (Bug#374).
5177
d75be97d
CY
5178 * simple.el (deactivate-mark): Do not set the primary selection
5179 if another program has acquired it (Bug#11772).
5180
87a92845 51812012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5182
5183 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5184 (woman-decode-region): Replace escaped-escapes without destroying
5185 bold or underline (Bug#11552).
87a92845 5186 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5187
621b9d6c
CY
51882012-07-07 Chong Yidong <cyd@gnu.org>
5189
5190 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5191 (interprogram-cut-function, interprogram-paste-function):
5192 Mention that we typically mean the clipboard.
621b9d6c 5193
133a11fc
GM
51942012-07-06 Glenn Morris <rgm@gnu.org>
5195
0d27a45e
GM
5196 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5197
133a11fc
GM
5198 * files.el (toggle-read-only): Restrict message to interactive use.
5199
07b151f1
MA
52002012-07-06 Michael Albinus <michael.albinus@gmx.de>
5201
5202 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5203
5204 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5205
211b896b
GM
52062012-07-06 Glenn Morris <rgm@gnu.org>
5207
50394322
GM
5208 * Makefile.in (compile-one-process): Rename from "recompile".
5209
211b896b
GM
5210 * Makefile.in (bzr-update): "compile" is the same as "recompile
5211 autoloads", but parallelizable, so use that instead.
5212
4737eec9
DG
52132012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5214
5215 * window.el (quit-window): Always restore window height when
8137e7b3 5216 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5217
226c3633 52182012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5219
5220 * simple.el (kill-whole-line): Doc tweak.
5221
226c3633 52222012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5223
5224 * files.el (file-relative-name): Compare file names
5225 case-insensitively if on MS-Windows or MS-DOS, or if
5226 read-file-name-completion-ignore-case is non-nil. Don't use
5227 case-fold-search for this purpose. (Bug#11827)
5228
4dc7c8d5
SM
52292012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5230
5231 * calendar/cal-dst.el (calendar-current-time-zone):
5232 Return calendar-current-time-zone-cache if non-nil.
5233
52342012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 52352012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5236
19faa8e8
SM
5237 * calendar/cal-dst.el (calendar-current-time-zone):
5238 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5239
60198fc9
GM
52402012-07-06 Glenn Morris <rgm@gnu.org>
5241
5242 * Makefile.in (cvs-update): Remove old alias.
5243
957b3189
MA
52442012-07-05 Michael Albinus <michael.albinus@gmx.de>
5245
5246 Sync with Tramp 2.2.6-pre.
5247
5248 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5249 compatible declaration.
5250
19faa8e8
SM
5251 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5252 Protect `list-load-path-shadows' call.
957b3189
MA
5253
5254 * net/tramp-compat.el (top): Require packages, which aren't
5255 autoloaded anymore for XEmacs. Protect call of
5256 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5257 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5258 it hurts at least for SXEmacs.
5259 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5260 standard-value for `temporary-file-directory'.
5261
5262 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5263 Redirect stderr to /dev/null.
5264 (tramp-sh-handle-write-region): uid and gid can be floats.
5265 Reported by Russell Sim <russell.sim@gmail.com>.
5266 (tramp-sh-handle-vc-registered): Hide errors.
5267 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5268 and `start-file-process'.
5269 (tramp-maybe-open-connection): Check also whether `non-essential'
5270 is bound.
5271
566df3fc
CY
52722012-07-04 Chong Yidong <cyd@gnu.org>
5273
5274 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5275 (xml-parse-tag): Likewise, and avoid changing entity tables.
5276 (xml-syntax-table): Define from scratch, making sure not to give
5277 x2000 and other Unicode spaces whitespace syntax, since those are
5278 not spaces in XML.
5279 (xml-parse-fragment): Delete unused function.
5280 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5281 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5282 (xml-entity-ref, xml-pe-reference-re)
5283 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5284 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5285 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5286 (xml-entity-value-re): Use syntax references in regexps where
5287 possible; no need to define inside a let-binding.
5288 (xml-parse-dtd): Use xml-pe-reference-re.
5289 (xml-entity-or-char-ref-re): New defconst.
5290 (xml-parse-string, xml-substitute-special): Use it.
5291
30eabd7a
SM
52922012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5293
0781098a
SM
5294 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5295 (find-file--read-only): New function.
5296 (find-file-read-only, find-file-read-only-other-window)
5297 (find-file-read-only-other-frame): Use it.
5298 (insert-file-contents-literally): Don't `fset'.
5299 (get-free-disk-space): Use locate-dominating-file.
5300
b5771c0d
SM
5301 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5302 function is already compiled.
5303
30eabd7a
SM
5304 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5305
b4886f6e
MA
53062012-07-03 Michael Albinus <michael.albinus@gmx.de>
5307
5308 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5309 files on the same host.
5310
b9d82339
AS
53112012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5312
5313 * help-fns.el (describe-function-1): Only call
5314 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5315
a76e6535
CY
53162012-07-03 Chong Yidong <cyd@gnu.org>
5317
5318 * xml.el: Protect parser against XML bombs.
5319 (xml-entity-expansion-limit): New variable.
5320 (xml-parse-string, xml-substitute-special): Use it.
5321 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5322
b544fef2
GM
53232012-07-03 Glenn Morris <rgm@gnu.org>
5324
5325 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5326 Allow linking to specific messages in debbugs reports (eg 123#5).
5327
a7aef6f5
CY
53282012-07-02 Chong Yidong <cyd@gnu.org>
5329
5330 * xml.el: Fix entity and character reference expansion, allowing
5331 them to expand into markup as per XML spec.
5332 (xml-default-ns): New variable.
5333 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5334 (xml-parse-region): Make first two arguments optional.
5335 Discard text properties.
5336 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5337 All callers changed.
a7aef6f5
CY
5338 (xml-parse-tag): Call xml-parse-tag-1. For backward
5339 compatibility, this function should not modify buffer contents.
5340 (xml-parse-tag-1): Fix opening-tag regexp.
5341 (xml-parse-string): Rewrite, handling entity and character
5342 references properly.
5343 (xml--entity-replacement-text): Signal an error if a parameter
5344 entity is undefined.
5345
3df31c9f
SM
53462012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5347
2b5208f1
SM
5348 * comint.el (comint-output-filter): Filter out repeated prompts.
5349
3df31c9f
SM
5350 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5351 and file-name-absolute-p.
5352 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5353 internal calls.
5354
e3ac1281
PE
53552012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5356
5357 Spelling fixes.
5358 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5359 Rename from byte-compile--refiy-function. All uses changed.
5360
fbf2e7ad
CY
53612012-07-01 Chong Yidong <cyd@gnu.org>
5362
5363 * xml.el (xml--parse-buffer): New function. Move most of
5364 xml-parse-region here.
5365 (xml-parse-region): Copy region into a temporary buffer, since
5366 parameter entity substitution requires changing buffer contents.
5367 Use xml--parse-buffer.
5368 (xml-parse-file): Use xml--parse-buffer.
5369 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5370 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5371
9bf0aa15
GM
53722012-06-30 Glenn Morris <rgm@gnu.org>
5373
bbce2853
GM
5374 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5375
9bf0aa15
GM
5376 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5377 Remove outdated and unnecessary dbus declarations.
5378
0d23c240
EZ
53792012-06-30 Eli Zaretskii <eliz@gnu.org>
5380
5381 * emacs-lisp/timer.el (timer-until): Subtract results of
5382 float-time, instead of taking float-time of the result of
5383 time-subtract, since float-time signals an error for negative time
5384 arguments.
5385
b3218de1
CY
53862012-06-30 Chong Yidong <cyd@gnu.org>
5387
5388 * xml.el (xml-*-re): Convert defvars into defconsts, and
5389 eval-and-compile them so eval-and-compile works on derivatives.
5390 (xml--entity-replacement-text): Use eval-and-comple.
5391
a40c87a0
MA
53922012-06-30 Michael Albinus <michael.albinus@gmx.de>
5393
5394 * vc/vc-git.el (vc-git-registered): Use cache property
5395 `git-registered'.
5396 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5397 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5398 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5399
ac87de97
DG
54002012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5401
5402 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5403 removed (likely outside Emacs). (Bug#11757)
ac87de97 5404
ac10fe06
SM
54052012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5406
3df31c9f 5407 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5408
7f3fbd5d
CY
54092012-06-30 Chong Yidong <cyd@gnu.org>
5410
5411 * xml.el: Implement XML parameter entities.
5412 (xml-parameter-entity-alist): New variable.
5413 (xml-parse-region, xml-parse-fragment): Preserve previous values
5414 of xml-entity-alist and xml-parameter-entity-alist, so that
5415 repeated calls on different documents do not change them.
5416 (xml-parse-tag): Fix doctype regexp.
5417 (xml--entity-replacement-text): New function.
5418 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5419 properly requires url retrieval which is unimplemented.
5420 (xml-escape-string): Doc fix.
5421
3cfbebba
SM
54222012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5423
5424 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5425
2af3565e
DA
54262012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5427
5428 * fringe.el (fringe-mode): Doc fix.
5429
929df0e7
MA
54302012-06-29 Michael Albinus <michael.albinus@gmx.de>
5431
5432 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5433 is non-nil.
5434 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5435 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5436
c8d3a25c 54372012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5438
c8d3a25c
GM
5439 * calendar/cal-dst.el (calendar-current-time-zone):
5440 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5441
c8d3a25c 54422012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5443
5444 * progmodes/which-func.el (which-func-format):
5445 Add mouse-face. (Bug#11698)
5446
c8d3a25c
GM
54472012-06-29 Leo Liu <sdl.web@gmail.com>
5448
5449 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5450
54512012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * minibuffer.el (minibuffer-confirm-exit-commands):
5454 Add completion-at-point (bug#11725).
5455
54562012-06-29 Glenn Morris <rgm@gnu.org>
5457
5458 * progmodes/f90.el (f90-font-lock-keywords-2):
5459 Add some preprocessor elements. (Bug#10499)
5460
54612012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5464 Use syntax-propertize (bug#11739).
5465
2badeec4
JB
54662012-06-28 Juanma Barranquero <lekktu@gmail.com>
5467
5468 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5469
ae4969c2
JD
54702012-06-28 Julien Danjou <julien@danjou.info>
5471
5472 * term.el (term-handle-colors-array): Use a set of new faces to
5473 color the terminal. Also uses :inverse-video property.
5474 (term-default-fg-color): Set to nil by default, deprecate in favor
5475 of `term-face'.
5476 (term-default-bg-color): Set to nil by default, deprecate in favor
5477 of `term-face'.
5478 (term-current-face): Use `term-face' by default.
5479 (term-bold-attribute): Variable deleted.
5480
1c9bd870
GM
54812012-06-28 Glenn Morris <rgm@gnu.org>
5482
5483 * simple.el (completion-list-mode-finish):
5484 Don't use toggle-read-only. (Since completion-list-mode has
5485 a special mode-class, it wasn't doing anything extra anyway.)
5486
c207708c
SM
54872012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5488
5489 Make inlining of other-mode interpreted functions work (bug#11799).
5490 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5491 (byte-compile): Use it to fix compilation of lexical-binding closures.
5492 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5493 function, if needed.
5494
3fd56834
SM
54952012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5496
04901786
SM
5497 * help-mode.el (help-make-xrefs): Don't just withstand
5498 cyclic-variable-indirection but any error in documentation-property.
5499
1ec4b7b2
SM
5500 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5501 memory use.
5502 * bindings.el (bindings--define-key): New function.
5503 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5504 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5505 * bindings.el: Use it to purecopy define-key bindings.
5506
e309e2a5
SM
5507 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5508
d5c6faf9
SM
5509 * emacs-lisp/cl.el (flet): Mark obsolete.
5510 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5511 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5512 * progmodes/js.el (js-c-fill-paragraph):
5513 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5514 (ebrowse-switch-member-buffer-to-derived-class):
5515 * play/5x5.el (5x5-solver): Use cl-flet.
5516
6e9590e2
SM
5517 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5518 (cl--symbol-function): New macro.
5519 (cl--letf, cl--letf*): Use it.
5520
3fd56834
SM
5521 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5522 Strip "toggle-" if any.
5523
35ff222c
GM
55242012-06-27 Glenn Morris <rgm@gnu.org>
5525
1ba6038a
GM
5526 * info.el (Info-default-directory-list): Move here from paths.el.
5527 * paths.el: Remove file, which is now empty.
5528 * loadup.el: No longer load "paths".
5529
0ea0e51b
GM
5530 * custom.el (custom-initialize-delay): Doc fix.
5531
35ff222c
GM
5532 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5533 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5534 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5535 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5536 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5537 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5538 * eshell/eshell.el (eshell-defgroup): Remove alias.
5539
c89926a5
CY
55402012-06-27 Chong Yidong <cyd@gnu.org>
5541
5542 * help.el (help-enable-auto-load): New variable.
5543
5544 * help-fns.el (help-fns--autoloaded-p): New function.
5545 (describe-function-1): Refer to a function as "autoloaded" if it
5546 was autoloaded at any time in the past. Perform autoloading if
5547 help-enable-auto-load is non-nil.
5548
cc06e7e7
EZ
55492012-06-26 Eli Zaretskii <eliz@gnu.org>
5550
5551 * makefile.w32-in (compile, compile-always): Depend on
5552 update-subdirs, not on subdirs.el. Otherwise, several different
5553 sub-targets of 'bootstrap' running in parallel could
5554 simultaneously write to subdirs.el, producing a garbled file.
5555
d2c32364
SS
55562012-06-26 Sam Steingold <sds@gnu.org>
5557
5558 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5559 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5560 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5561 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5562 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5563 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5564 * textmodes/tex-mode.el: Use it.
5565 Did not touch cedet and org because they are maintained elsewhere.
5566
5cf983b2
MR
55672012-06-26 Martin Rudalics <rudalics@gmx.at>
5568
5569 * calendar/calendar.el (calendar-exit): Don't try to delete or
5570 iconify last frame. See:
5571 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5572
8c4f2952
JD
55732012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5574
5575 * server.el (server-process-filter): Remember dir in the
5576 process's `server-client-directory' properties.
5577
772b2e2c
CY
55782012-06-24 Chong Yidong <cyd@gnu.org>
5579
5580 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5581 non-tag text.
5582
711b11e1
JB
55832012-06-23 Juanma Barranquero <lekktu@gmail.com>
5584
5585 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5586
dc5d230c
SM
55872012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5588
5589 * help-fns.el (describe-variable): Don't croak when doc is not found.
5590 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5591 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5592 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5593 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5594 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5595 ((lambda ..) ..).
5596 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5597
136e1c1d
CY
55982012-06-23 Chong Yidong <cyd@gnu.org>
5599
e8c1cabf
CY
5600 * info.el (Info-mouse-follow-link): Accept symbol values of
5601 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5602 (Info-fontify-node): Use Info-link-keymap for all navigation
5603 buttons, with link-args property to perform the desired action.
5604 (Info-link-keymap): Doc fix.
5605 (Info-next-link-keymap, Info-prev-link-keymap)
5606 (Info-up-link-keymap): Delete now-unused keymaps.
5607
0e9e6c6a
CY
56082012-06-23 Chong Yidong <cyd@gnu.org>
5609
05e89fea
CY
5610 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5611
0e9e6c6a
CY
5612 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5613 system abbrevs.
5614
5615 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5616
e33c6771
SM
56172012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5618
b68581e2
SM
5619 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5620 (bug#11719).
5621
e33c6771
SM
5622 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5623 the requote function doesn't work properly (bug#11714).
5624
7117e105
GM
56252012-06-23 Glenn Morris <rgm@gnu.org>
5626
5627 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5628
36cec983
SM
56292012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 Further GV/CL cleanups.
5632 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5633 gv-expander.
5634 (gv--defun-declaration): New function.
5635 (defun-declarations-alist): Use it.
5636 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5637 (gv-place): Autoload.
5638 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5639 original definition of dotimes and dolist.
5640 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5641 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5642 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5643 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5644 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5645 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5646 to the function's definition.
5647 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5648 * window.el:
5649 * files.el:
5650 * faces.el:
5651 * env.el: Don't use CL.
5652
d35af63c
PE
56532012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5654
5655 Support higher-resolution time stamps (Bug#9000).
5656
5657 * calendar/time-date.el (with-decoded-time-value): New arg
5658 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5659 (encode-time-value): New optional arg PICO. New type 3.
5660 (time-to-seconds) [!float-time]: Support the new picoseconds
5661 component if it's used.
5662 (seconds-to-time, time-subtract, time-add):
5663 Support ps-resolution time stamps as well.
5664
5665 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5666 (timerp): Timer vectors now have length 9, not 8.
5667 (timer--time): Support new-style (4-part) time stamps.
5668 (timer-next-integral-multiple-of-time): Time stamps now have
5669 picosecond resolution, so take a bit more care about rounding.
5670 (timer-relative-time, timer-inc-time): New optional arg psecs.
5671 (timer-set-time-with-usecs): Set psecs to 0.
5672 (timer--activate): Check psecs component, too.
5673
5674 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5675
ac77b21a
SM
56762012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5677
f143bfe3
SM
5678 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5679 Move the non-essential binding to the post/pre-command-hook where it is
5680 more obviously correct.
5681
ac77b21a
SM
5682 * subr.el (read-passwd): Don't use a history at all.
5683 * savehist.el (savehist-save): Remove password saved accidentally
5684 because of the above bug.
5685
76386c5a
BG
56862012-06-22 Bastien Guerry <bzg@gnu.org>
5687
5688 * files.el (toggle-read-only): Display a message telling whether
5689 the buffer is read-only or not (bug#11726).
5690
2ee3d7f0
SM
56912012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * emacs-lisp/gv.el: New file.
5694 * subr.el (push, pop): Extend to generalized variables.
5695 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5696 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5697 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5698 gv-define-simple-setter, and gv-define-expander.
5699 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5700 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5701 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5702 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5703 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5704 gv-letplace.
5705 (cl-defstruct): Don't define setf-method any more.
5706 * emacs-lisp/cl.el (flet): Don't autoload.
5707 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5708 (define-setf-expander, defsetf, define-modify-macro)
5709 (cl-struct-setf-expander): Move from cl-lib.el.
5710 * emacs-lisp/syntax.el:
5711 * emacs-lisp/ewoc.el:
5712 * emacs-lisp/smie.el:
5713 * emacs-lisp/cconv.el:
5714 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5715 (timer--time): Use gv-define-simple-setter.
5716 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5717 to avoid coding-system problems in subr.el. Adjust all users.
5718 (macroexp--maxsize, macroexp-small-p): New functions.
5719 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5720 * scroll-bar.el (scroll-bar-mode):
5721 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5722 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5723 * winner.el (winner-configuration, winner-make-point-alist)
5724 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5725 * files.el (locate-file-completion-table): Avoid list*.
5726
c5695d1d
CY
57272012-06-22 Chong Yidong <cyd@gnu.org>
5728
5729 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5730 (dired-create-files): Doc fix (Bug#11329).
5731 (dired-do-copy): Doc fix (Bug#11334).
5732 (dired-mark-read-string): Doc fix (Bug#11553).
5733
2ee3d7f0
SM
5734 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5735 Doc fix (Bug#11326).
c5695d1d
CY
5736 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5737 (dired-dwim-target): Doc fix.
5738
5739 * wdired.el (wdired-mode): Doc fix.
5740
89b5595a
GM
57412012-06-22 Glenn Morris <rgm@gnu.org>
5742
575db3f1
GM
5743 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5744 (pcmpl-rpm-cache-stamp-file): New constant.
5745 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5746 (pcmpl-rpm-packages): Optionally cache list of packages.
5747
a4c8dd51
GM
5748 * pcmpl-rpm.el (pcmpl-rpm): New group.
5749 (pcmpl-rpm-query-options): New option.
5750 (pcmpl-rpm-packages): No need to inline it.
5751 Use pcmpl-rpm-query-options.
5752
89b5595a
GM
5753 * calendar/calendar.el (calendar-in-read-only-buffer):
5754 Avoid some needless mode changes.
5755
e76f0800
CY
57562012-06-21 Chong Yidong <cyd@gnu.org>
5757
5758 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5759 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5760 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5761
297a8f1d
CY
57622012-06-20 Chong Yidong <cyd@gnu.org>
5763
5764 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5765
d34c18b1
DR
57662012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5767
5768 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5769 (bug#11201).
5770
32f7f28e
CY
57712012-06-20 Chong Yidong <cyd@gnu.org>
5772
5773 * term.el (term-window-width): Handle the case of a missing right
5774 fringe (Bug#8837).
5775 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5776 (term-mode): Use define-derived-mode. Minor cleanups.
5777 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5778 (term-move-columns, term-insert-char, term-emulate-terminal)
5779 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5780
493c6688
MA
57812012-06-20 Michael Albinus <michael.albinus@gmx.de>
5782
d34c18b1
DR
5783 * net/ange-ftp.el (ange-ftp-get-passwd):
5784 Bind `enable-recursive-minibuffers'.
493c6688
MA
5785 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5786
3f06ecf4
DR
57872012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5788
5789 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5790
68f12411
GM
57912012-06-19 Glenn Morris <rgm@gnu.org>
5792
5793 * progmodes/python.el (python-mode): Derive from prog-mode.
5794
b3820318
KG
57952012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5796
5797 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5798 (edt-user-menu-bar-update-buffers): New functions.
5799 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5800
c6bf3022
CY
58012012-06-19 Chong Yidong <cyd@gnu.org>
5802
5803 * subr.el (with-selected-window): Preserve the selected window's
5804 terminal's top-frame (Bug#4702).
5805
5806 * window.el (save-selected-window): Likewise.
5807
25f09295
SM
58082012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5809
5810 * progmodes/python.el (python-rx-constituents): Move backquote.
5811 (python-skeleton-define, python-define-auxiliary-skeleton):
5812 Use `declare'.
5813
6b11952a
MA
58142012-06-18 Michael Albinus <michael.albinus@gmx.de>
5815
5816 * minibuffer.el (read-file-name-default): Revert the patch from
5817 2012-06-17.
5818
ee4b1330
SM
58192012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5820
5821 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5822 (pcase--u1, pcase--q1): Don't use apply-partially.
5823
35647f79
GM
58242012-06-18 Glenn Morris <rgm@gnu.org>
5825
5826 * progmodes/python.el (python-proc, python-buffer)
5827 (python-send-receive, python-send-string): Fix obsolete versions.
5828
24b0cff0
MR
58292012-06-18 Martin Rudalics <rudalics@gmx.at>
5830
5831 * window.el (special-display-p): Completely remove stringp
5832 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5833
29855149
MA
58342012-06-17 Michael Albinus <michael.albinus@gmx.de>
5835
5836 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5837
5838 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5839
5840 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5841 * net/tramp-sh.el (tramp-maybe-open-connection):
5842 Throw if `non-essential' is non-nil.
5843
07463363
MR
58442012-06-17 Martin Rudalics <rudalics@gmx.at>
5845
5846 * window.el (special-display-p): Signal an error if BUFFER-NAME
5847 is not a string (Bug#11713).
5848
48d1354e
PE
58492012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5850
5851 * progmodes/python.el (python-info-beginning-of-backslash):
5852 Rename from python-info-beginning-of-backlash, as a spelling fix.
5853
eb4a8a9a
CY
58542012-06-17 Chong Yidong <cyd@gnu.org>
5855
5856 * term.el (term-emulate-terminal): If term-check-size is called,
5857 move point to the process mark without resetting point (Bug#4635).
5858
ddfbf826 58592012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5860
5861 * international/mule-cmds.el (mule-menu-keymap)
5862 (set-language-environment, set-locale-environment): Doc tweaks.
5863
9b0e3eba
AA
58642012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5865
5866 * cus-face.el (custom-face-attributes): Add wave-style underline
5867 attribute.
5868 * faces.el (set-face-attribute): Update docstring to describe
5869 wave-style underline attribute.
5870
771e3eae
CY
58712012-06-16 Chong Yidong <cyd@gnu.org>
5872
5873 * term/xterm.el (terminal-init-xterm): Discard input before
5874 querying background mode (Bug#10959).
5875
7ae2ea10
SM
58762012-06-16 Stefan Merten <smerten@oekonux.de>
5877
5878 * textmodes/rst.el: Added and corrected some comments.
5879 (rst-re-alist-def): Improve symbol syntax.
5880 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5881 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5882 (rst-official-version, rst-official-cvs-rev): Update version
5883 information.
7ae2ea10 5884
b6974efa
JB
58852012-06-15 Juanma Barranquero <lekktu@gmail.com>
5886
5887 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5888 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5889
8826d473
GM
58902012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5891
5892 * progmodes/python.el: New python.el merge.
5893 (python-guess-indent): Obsolete var.
5894 (python-indent-guess-indent-offset): New defcustom.
5895 (python-indent): Obsolete var.
5896 (python-indent-offset): New defcustom.
5897 (python-python-command, python-jython-command): Delete var.
5898 (python-shell-interpreter): New defcustom.
5899 (python-pdbtrack-do-tracking-p): Delete var.
5900 (python-pdbtrack-activate): New defcustom.
5901 (python-use-skeletons): Obsolete var.
5902 (python-skeleton-autoinsert): New defcustom.
5903 (inferior-python-filter-regexp, python-continuation-offset)
5904 (python-honour-comment-indentation, python-indent-string-contents)
5905 (python-jython-packages, python-mode-hook)
5906 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5907 (python-shell-prompt-alist)
5908 (python-source-modes): Delete defcustoms.
5909 (python-check-buffer-name, python-eldoc-setup-code)
5910 (python-eldoc-string-code, python-ffap-setup-code)
5911 (python-ffap-string-code, python-fill-comment-function)
5912 (python-fill-decorator-function, python-fill-paren-function)
5913 (python-fill-string-function, python-imenu-include-defun-type)
5914 (python-imenu-make-tree, python-imenu-subtree-root-label)
5915 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5916 (python-shell-compilation-regexp-alist)
5917 (python-shell-completion-module-string-code)
5918 (python-shell-completion-pdb-string-code)
5919 (python-shell-completion-setup-code)
5920 (python-shell-completion-string-code)
5921 (python-shell-enable-font-lock, python-shell-exec-path)
5922 (python-shell-extra-pythonpaths)
5923 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5924 (python-shell-process-environment)
5925 (python-shell-prompt-block-regexp)
5926 (python-shell-prompt-output-regexp)
5927 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5928 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5929 (python-shell-virtualenv-path): New defcustoms.
5930 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5931 (inferior-python-mode-syntax-table, python--prompt-regexp)
5932 (python-buffer, python-command python-python-command)
5933 (python-default-template, python-imports, python-indent-index)
5934 (python-indent-list, python-indent-list-length)
5935 (python-mode-running, python-pdbtrack-is-tracking-p)
5936 (python-preoutput-continuation, python-preoutput-leftover)
5937 (python-preoutput-result, python-preoutput-skip-next-prompt)
5938 (python-prev-dir/file, python-recursing)
5939 (python-saved-check-command, python-version-checked)
5940 (python-which-func-length-limit)
5941 (view-return-to-alist): Delete vars.
5942 (python-check-custom-command, python-dotty-syntax-table)
5943 (python-imenu-index-alist, python-indent-current-level)
5944 (python-indent-dedenters, python-indent-levels)
5945 (python-nav-beginning-of-defun-regexp)
5946 (python-nav-list-defun-positions-cache)
5947 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5948 (python-shell-internal-buffer)
5949 (python-skeleton-available): New vars.
5950 (def-python-skeleton): Delete macro.
5951 (python-skeleton-define): New macro.
5952 (python-define-auxiliary-skeleton, python-rx): New macros.
5953 (python-insert-class): Delete command.
5954 (python-skeleton-class): New command.
5955 (python-insert-def): Delete command.
5956 (python-skeleton-def): New command.
5957 (python-insert-for): Delete command.
5958 (python-skeleton-for): New command.
5959 (python-insert-if): Delete command.
5960 (python-skeleton-if): New command.
5961 (python-insert-try/except, python-insert-try/finally): Delete commands.
5962 (python-skeleton-try): New command.
5963 (python-insert-while): Delete command.
5964 (python-skeleton-while): New command.
5965 (python-backspace): Delete command.
5966 (python-indent-dedent-line-backspace): New command.
5967 (python-electric-colon): Delete command.
5968 (python-indent-electric-colon): New command.
5969 (python-guess-indent): Delete command.
5970 (python-indent-guess-indent-offset): New command.
5971 (python-shift-left): Delete command.
5972 (python-indent-shift-left): New command.
5973 (python-shift-right): Delete command.
5974 (python-indent-shift-right): New command.
5975 (python-find-function): Delete command.
5976 (python-nav-jump-to-defun): New command.
5977 (python-next-statement): Delete command.
5978 (python-nav-forward-sentence): New command.
5979 (python-previous-statement): Delete command.
5980 (python-nav-backward-sentence): New command.
5981 (python-fill-paragraph): Delete command.
5982 (python-fill-paragraph-function): New command.
5983 (python-send-buffer): Delete command.
5984 (python-shell-send-buffer): New command.
5985 (python-send-defun): Delete command.
5986 (python-shell-send-defun): New command.
5987 (python-send-region, python-send-region-and-go): Delete commands.
5988 (python-shell-send-region)
5989 (python-shell-switch-to-shell): New commands.
5990 (python-send-string): Delete command.
5991 (python-shell-send-string): New command.
5992 (python-switch-to-python): Delete command.
5993 (python-shell-switch-to-shell): New command.
5994 (python-describe-symbol): Delete command.
5995 (python-eldoc-at-point): New command.
5996 (python--set-prompt-regexp, python-args-to-list)
5997 (python-after-info-look, python-check-version)
5998 (python-check-comint-prompt, python-find-imports)
5999 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6000 (python-unload-function, python-expand-template)
6001 (python-maybe-jython, python-preoutput-filter)
6002 (python-pdbtrack-get-source-buffer)
6003 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6004 (python-pdbtrack-toggle-stack-tracking)
6005 (python-pdbtrack-track-stack-file, python-initial-text)
6006 (python-first-word, python-comment-line-p, python-send-command)
6007 (python-setup-brm, python-sentinel, python-set-proc)
6008 (python-skip-out, python-input-filter, python-outdent-p)
6009 (python-outline-level, python-backslash-continuation-line-p)
6010 (python-end-of-block, python-end-of-statement, python-mark-block)
6011 (python-beginning-of-block, python-beginning-of-statement)
6012 (python-blank-line-p, python-beginning-of-string)
6013 (python-open-block-statement-p): Delete functions.
6014 (python-indent-line, python-indent-line-1): Delete functions.
6015 (python-indent-line): New function.
6016 (python-indentation-levels): Delete function.
6017 (python-indent-calculate-levels): New function.
6018 (python-proc): Delete function.
6019 (python-shell-get-process): New function.
6020 (python-send-receive): Delete function.
6021 (python-shell-send-string-no-output): New function.
6022 (python-module-path): Delete function.
6023 (python-ffap-module-path): New function.
6024 (python-completion-at-point)
6025 (python-symbol-completions): Delete functions.
6026 (python-completion-complete-at-point): New function.
6027 (python-load-file): Delete function.
6028 (python-shell-send-file): New function.
6029 (python-calculate-indentation): Delete function.
6030 (python-indent-calculate-indentation): New function.
6031 (python-skip-comments/blanks): Delete function.
6032 (python-util-forward-comment): New function.
6033 (python-continuation-line-p): Delete function.
6034 (python-info-continuation-line-p): New function.
6035 (python-which-func, python-current-defun): Delete function.
6036 (python-info-current-defun): New function.
6037 (python-beginning-of-defun): Delete function.
6038 (python-nav-beginning-of-defun): New function.
6039 (python-close-block-statement-p)
6040 (python-block-end-p): Delete function.
6041 (python-info-closing-block): New function.
6042 (python-comint-output-filter-function)
6043 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6044 (python-fill-comment, python-fill-decorator, python-fill-paren)
6045 (python-fill-string, python-imenu-make-element-tree)
6046 (python-imenu-make-tree, python-imenu-tree-assoc)
6047 (python-indent-context, python-indent-dedent-line)
6048 (python-indent-line-function)
6049 (python-indent-post-self-insert-function)
6050 (python-indent-toggle-levels)
6051 (python-info-assignment-continuation-line-p)
6052 (python-info-beginning-of-backlash)
6053 (python-info-block-continuation-line-p)
6054 (python-info-closing-block-message)
6055 (python-info-line-ends-backslash-p)
6056 (python-info-looking-at-beginning-of-defun)
6057 (python-info-ppss-context, python-info-ppss-context-type)
6058 (python-nav-list-defun-positions, python-nav-read-defun)
6059 (python-nav-sentence-end, python-nav-sentence-start)
6060 (python-pdbtrack-comint-output-filter-function)
6061 (python-pdbtrack-set-tracked-buffer)
6062 (python-shell-calculate-exec-path)
6063 (python-shell-calculate-process-environment)
6064 (python-shell-completion--do-completion-at-point)
6065 (python-shell-completion--get-completions)
6066 (python-shell-completion-complete-at-point)
6067 (python-shell-completion-complete-or-indent)
6068 (python-shell-get-or-create-process)
6069 (python-shell-get-process-name)
6070 (python-shell-internal-get-or-create-process)
6071 (python-shell-internal-get-process-name)
6072 (python-shell-internal-send-string, python-shell-make-comint)
6073 (python-shell-parse-command, python-shell-send-setup-code)
6074 (python-skeleton-add-menu-items)
6075 (python-util-clone-local-variables, python-util-position)
6076 (run-python-internal, python-indentation-levels)
6077 (python-nav-beginning-of-defun)
6078 (python-completion-complete-at-point): New functions.
6079 (run-python): Change arguments. New API requirements.
6080
4302f5ba
SM
60812012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6082
f38ea36d
SM
6083 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6084 (bug#11649).
6085
6086 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6087 (macroexp--expand-all): Use it.
6088
4302f5ba
SM
6089 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6090 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6091 Use `cl-function' instead.
6092
33377562
JB
60932012-06-14 Juanma Barranquero <lekktu@gmail.com>
6094
6095 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6096 Suggested by Stefan Monnier while discussing bug#11657.
6097
54c5ba1a
SS
60982012-06-14 Sam Steingold <sds@gnu.org>
6099
6100 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6101
f9f1b1fe
AS
61022012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6103
6104 * play/doctor.el (doctor-doc): Remove parameter and use
6105 doctor-sent instead of sent.
6106 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6107
a81068ba
SM
61082012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6109
5a315f9c
SM
6110 * files.el: Require cl-lib.
6111 (file-name-non-special): Replace case -> cl-case.
6112
6113 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6114
a81068ba
SM
6115 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6116 mapping from #' to function*.
6117
8cca9703
CY
61182012-06-13 Chong Yidong <cyd@gnu.org>
6119
6120 * mouse.el (mouse-drag-track): Do not set the mark if the user
6121 releases the mouse without selecting anything (Bug#11588).
6122
a12ac9d7
SM
61232012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6124
ccf1dc18
SM
6125 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6126 as well (bug#11646).
6127
ef62b23d
SM
6128 * loadup.el: Count byte-code functions as well.
6129
c4c8444a
SM
6130 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6131 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6132
a12ac9d7
SM
6133 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6134 (bug#11649). Add cl-defun and cl-defmacro.
6135
87e6e64f
DA
61362012-06-13 Drew Adams <drew.adams@oracle.com>
6137
6138 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6139 Fix last change.
6140
682cefaf
MA
61412012-06-13 Michael Albinus <michael.albinus@gmx.de>
6142
6143 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6144 Otherwise, it blocks in batch mode.
6145
773e1f08
JB
61462012-06-13 Juanma Barranquero <lekktu@gmail.com>
6147
6148 * help-mode.el (bookmark-make-record-default): Declare.
6149
60057926
CY
61502012-06-13 Chong Yidong <cyd@gnu.org>
6151
6152 * emacs-lisp/package.el (list-packages): Compute a list of
6153 packages that are newly-available since the last list-packages
6154 invocation.
6155 (package-menu--new-package-list): New var.
6156 (package-menu--generate, package-menu--print-info)
6157 (package-menu--status-predicate, package-menu-mark-install):
6158 Handle new status label "new".
6159
ad4d226c
SM
61602012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6161
6162 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6163 conversion to backquotes.
6164
f1a4e679
CY
61652012-06-12 Chong Yidong <cyd@gnu.org>
6166
6167 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6168 Rename from gud-inhibit-global-bindings.
6169
6170 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6171
6172 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6173 hook from nxml-glyph-set-hook.
6174
6175 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6176 declaration.
6177
6178 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6179
6180 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6181 Convert to defcustom.
6182
0c9e42b5
DA
61832012-06-12 Drew Adams <drew.adams@oracle.com>
6184
6185 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6186 New functions.
6187 (help-mode): Use them.
6188
09e06855
GM
61892012-06-11 Glenn Morris <rgm@gnu.org>
6190
6191 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6192 Use preprocessor face for directives.
6193 (fortran-directive-re): Doc fix.
6194
71adb94b
SM
61952012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6196
2eb87922
SM
6197 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6198 conversion to backquotes (bug#11652).
6199
71adb94b
SM
6200 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6201 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6202 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6203 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6204 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6205 (cl-ninth, cl-tenth): Mark them as inlinable.
6206 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6207 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6208 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6209 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6210 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6211 (cl-list*, cl-adjoin): Don't put an autoload manually.
6212 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6213 (cl--compiler-macro-list*): Add autoload cookie.
6214 (cl--compiler-macro-cXXr): New function.
2eb87922 6215
71adb94b
SM
6216 * help-fns.el (help-fns--compiler-macro): New function extracted from
6217 describe-function-1; follow aliases and use `compiler-macro' property.
6218 (describe-function-1): Use it.
6219
a6674402
CY
62202012-06-11 Chong Yidong <cyd@gnu.org>
6221
6222 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6223 is uninstalled, if imagemagick is installed.
6224
bb3faf5b
SM
62252012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * emacs-lisp/cl-lib.el: Use lexical-binding.
6228 (cl-map-extents, cl-maclisp-member): Remove.
6229 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6230 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6231 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6232 * emacs-lisp/cl-extra.el: Use lexical-binding.
6233 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6234 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6235 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6236 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6237 * emacs-lisp/cl-seq.el: Use lexical-binding.
6238 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6239 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6240 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6241 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6242 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6243 CL's internals.
6244
2fe4b125
MA
62452012-06-11 Michael Albinus <michael.albinus@gmx.de>
6246
6247 Sync with Tramp 2.2.6-pre.
6248
6249 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6250 `print-length' and `print-level' to nil, in order to avoid
6251 truncation. Reported by Christopher Schmidt
6252 <christopher@ristopher.com>.
6253
6254 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6255
6256 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6257 New defmacro.
6258 (tramp-compat-copy-directory): Add optional argument
6259 COPY-CONTENTS. It is not handled yet.
6260
6261 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6262 (tramp-ftp-file-name-p): Simplify.
6263
6264 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6265 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6266 connection vector.
6267
6268 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6269 (tramp-methods): Do not use `tramp-password-end-of-line'.
6270 (tramp-completion-function-alist-putty): Handle UNIX case.
6271 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6272 (tramp-do-file-attributes-with-stat)
6273 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6274 gid as real numbers. They could run out of integer range on cygwin.
6275 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6276 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
6277 (tramp-open-connection-setup-interactive-shell):
6278 Use `tramp-cleanup'. Move check for busyboxes ...
6279 (tramp-find-shell): ... here. Simplify implementation.
6280 Set "remote-shell" property also for alternative shells.
6281 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6282 If failing, a regular file would be written otherwise.
6283 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
6284 (tramp-find-inline-encoding): Cache the coding commands in the
6285 process cache. Apply test command on the remote side, if defined.
6286 (tramp-find-inline-compress): Cache the compress commands in the
6287 process cache.
6288 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6289 when requested. Handle hops.
6290 (tramp-current-connection): New defvar.
87e6e64f
DA
6291 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6292 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6293 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6294 (tramp-get-inline-compress, tramp-get-inline-coding):
6295 Read connection properties from the process cache.
2fe4b125
MA
6296
6297 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6298 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6299 New defconsts.
2fe4b125
MA
6300 (tramp-smb-prompt): Extend for powershell prompt.
6301 (tramp-smb-file-name-handler-alist): Add handlers for
6302 `process-file', `shell-command' and `start-file-process'.
6303 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6304 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6305 (tramp-smb-file-name-p): Simplify.
6306 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6307 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6308 (tramp-smb-shell-quote-argument): New defuns.
6309 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6310 Implement using "tar". By this, time-stamps are preserved.
6311 (tramp-smb-handle-copy-file): Handle also the case of directories.
6312 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6313 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6314 Use `tramp-get-connection-buffer').
2fe4b125
MA
6315 (tramp-smb-handle-rename-file): Use "rename", when source and
6316 target are on the same share.
87e6e64f
DA
6317 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6318 Use `tramp-smb-server-version'.
2fe4b125
MA
6319 (tramp-smb-wait-for-output): Remove prompt.
6320
6321 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6322 (tramp-methods, tramp-rsh-end-of-line):
6323 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6324 (tramp-save-ad-hoc-proxies): New defcustom.
6325 (tramp-completion-function-alist): Adapt docstring.
6326 (tramp-default-password-end-of-line): Remove defcustom.
6327 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6328 (tramp-user-regexp, tramp-file-name-regexp-unified)
6329 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6330 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6331 (tramp-remote-file-name-spec-regexp): New defconst.
6332 (tramp-file-name-structure): Extend structure for hops.
6333 (tramp-get-method-parameter): Move up.
6334 (tramp-file-name-p, tramp-dissect-file-name)
6335 (with-parsed-tramp-file-name): Handle hops.
6336 (tramp-file-name-hop): New defun.
6337 (tramp-make-tramp-file-name): New optional arg HOP.
6338 (tramp-message-show-progress-reporter-message): New defvar.
6339 (tramp-with-progress-reporter): Use it. We cannot use
6340 `tramp-message-show-message' here, because this suppresses also
6341 error buffers.
6342 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6343 `tramp-message-show-message' is nil.
6344 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6345 (tramp-cleanup): New defun.
6346 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6347 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6348 an error unchanged.
6349 (tramp-completion-handle-file-name-all-completions): Handle hops.
6350 Fix an error when called from ido.
6351 (tramp-completion-dissect-file-name): Use better local variable
6352 name. Add hop to the vector.
6353 (tramp-handle-insert-file-contents): Use progress-reporter for the
6354 whole scenario.
6355 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6356 to `t'.
6357 (tramp-check-for-regexp): Simplify search.
6358 (tramp-enter-password): Remove it. Move implementation ...
6359 (tramp-action-password): ... here.
6360 (tramp-mode-string-to-int, tramp-local-host-p)
6361 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6362 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6363 Set tramp-autoload cookie.
2fe4b125
MA
6364
6365 * net/trampver.el: Update release number.
6366
63672012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6368 Michael Albinus <michael.albinus@gmx.de>
6369
6370 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6371 (tramp-parse-group, tramp-parse-file)
6372 (tramp-parse-shostkeys-sknownhosts): New defuns.
6373 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6374 (tramp-parse-shosts-group, tramp-parse-sconfig)
6375 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6376 (tramp-parse-sknownhosts, tramp-parse-hosts)
6377 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6378 Use them.
6379 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6380 (tramp-parse-putty-group): Don't narrow.
6381 (tramp-parse-putty): Make a loop.
6382 (tramp-file-name-handler): Catch the `suppress' signal.
6383
72834e10
CY
63842012-06-11 Chong Yidong <cyd@gnu.org>
6385
6386 * image.el (imagemagick-register-types): Put the ImageMagick entry
6387 at the end of image-type-file-name-regexps.
6388
a4712e11
JB
63892012-06-11 Johan Bockgård <bojohan@gnu.org>
6390
6391 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6392 (pcase, pcase-let*, pcase-dolist): Use them.
6393
82ad98e3
SM
63942012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6395
6396 * emacs-lisp/pcase.el (pcase--let*): New function.
6397 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6398 (pcase--expand): Use macroexp-let².
6399
f80efb86
SM
64002012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6401
6402 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6403 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6404 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6405 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6406 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6407 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6408
31ca4639 64092012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6410
31ca4639
CY
6411 * mail/rmail.el (rmail-yank-current-message): Leave point at
6412 correct position. (Bug#11660)
94f0aa34 6413
31ca4639 64142012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6415
31ca4639 6416 * allout-widgets.el: Fix code header.
9e1b8ec4 6417
31ca4639 64182012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6419
f80efb86
SM
6420 * cus-edit.el (customize-changed-options-previous-release):
6421 Bump to 24.1.
31ca4639 6422
642b6d30
AS
64232012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6424
6425 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6426
4f5d2ba1
CY
64272012-06-09 Chong Yidong <cyd@gnu.org>
6428
6429 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6430
e75852fd
MR
64312012-06-09 Martin Rudalics <rudalics@gmx.at>
6432
6433 * window.el (special-display-popup-frame): Don't use
6434 window--display-buffer (Bug#11651).
6435
1e48e282
EZ
64362012-06-09 Eli Zaretskii <eliz@gnu.org>
6437
8a26b487
EZ
6438 Fix parallel builds: make sure loaddefs.el is not being written
6439 while Lisp files are compiled.
6440 (compile): Don't depend on 'mh-autoloads'.
6441 (compile-CMD, compile-SH): Depend on 'autoloads'.
6442 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6443
1e48e282
EZ
6444 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6445
6175e34b
CY
64462012-06-09 Chong Yidong <cyd@gnu.org>
6447
6448 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6449 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6450 Doc fixes (Bug#11225).
6451
d9857e53
SM
64522012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6455 a function if there's a clear indication that it has a compiler-macro.
6456 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6457 (macro-declarations-alist): Add arglist to declaration functions.
6458 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6459 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6460 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6461 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6462 Also add autoload to find the compiler macro.
6463 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6464 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6465 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6466 (cl--compiler-macro-get): New functions, replacing calls to
6467 cl-define-compiler-macro.
6468 (cl-typep) [compiler-macro]: Use macroexp-let².
6469
f81298f8 64702012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6471
6472 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6473 string properly, fixes Bug#11473.
6474
4b56d0fe
CY
64752012-06-08 Chong Yidong <cyd@gnu.org>
6476
6477 * faces.el (set-face-attribute): Doc fix.
6478 (modify-face): Don't use :bold and :italic.
6479 (error, warning, success): Tweak definitions.
6480
6481 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6482 (custom-modified, custom-set, custom-changed, custom-themed)
6483 (custom-saved, custom-button, custom-button-mouse)
6484 (custom-button-pressed, custom-state, custom-comment-tag)
6485 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6486 (custom-group-subtitle): Use new-style face specs.
6487 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6488 (custom-set-face, custom-changed-face, custom-saved-face)
6489 (custom-button-face, custom-button-pressed-face)
6490 (custom-documentation-face, custom-state-face)
6491 (custom-comment-face, custom-comment-tag-face)
6492 (custom-variable-tag-face, custom-variable-button-face)
6493 (custom-face-tag-face, custom-group-tag-face-1)
6494 (custom-group-tag-face): Remove obsolete face alias.
6495
6496 * epa.el (epa-validity-high, epa-validity-medium)
6497 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6498 (epa-field-name, epa-field-body):
6499 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6500 (font-lock-keyword-face, font-lock-builtin-face)
6501 (font-lock-function-name-face, font-lock-variable-name-face)
6502 (font-lock-type-face, font-lock-constant-face):
6503 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6504 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6505 * speedbar.el (speedbar-button-face, speedbar-file-face)
6506 (speedbar-directory-face, speedbar-tag-face)
6507 (speedbar-selected-face, speedbar-highlight-face)
6508 (speedbar-separator-face):
6509 * whitespace.el (whitespace-newline, whitespace-space)
6510 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6511 (whitespace-line, whitespace-space-before-tab)
6512 (whitespace-space-after-tab, whitespace-indentation)
6513 (whitespace-empty):
6514 * emulation/cua-base.el (cua-global-mark):
6515 * eshell/em-prompt.el (eshell-prompt):
6516 * net/newst-plainview.el (newsticker-new-item-face)
6517 (newsticker-old-item-face, newsticker-immortal-item-face)
6518 (newsticker-obsolete-item-face, newsticker-date-face)
6519 (newsticker-statistics-face, newsticker-default-face):
6520 * net/newst-reader.el (newsticker-feed-face)
6521 (newsticker-extra-face, newsticker-enclosure-face):
6522 * net/newst-treeview.el (newsticker-treeview-face)
6523 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6524 (newsticker-treeview-immortal-face)
6525 (newsticker-treeview-obsolete-face)
6526 (newsticker-treeview-selection-face):
6527 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6528 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6529 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6530 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6531 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6532 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6533 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6534 (mpuz-text):
6535 * progmodes/vera-mode.el (vera-font-lock-number)
6536 (vera-font-lock-function, vera-font-lock-interface):
6537 * textmodes/table.el (table-cell): Use new-style face specs, and
6538 don't use the old :bold and :italic attributes.
6539
6540 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6541 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6542 (ebrowse-member-class, ebrowse-progress): Likewise.
6543 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6544 (ebrowse-file-name-face, ebrowse-default-face)
6545 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6546 (ebrowse-progress-face): Remove obsolete faces.
6547
6548 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6549 Inherit from error and warning faces respectively.
6550
6551 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6552 Likewise.
f80efb86
SM
6553 (flyspell-incorrect-face, flyspell-duplicate-face):
6554 Remove obsolete aliases.
4b56d0fe 6555
03310646
MA
65562012-06-08 Michael Albinus <michael.albinus@gmx.de>
6557
6558 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6559 Avoid infloop.
6560
513749ee
SM
65612012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * startup.el (argv, argi): Make lexically scoped.
6564 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6565 * emacs-lisp/cl-macs.el: Use lexical-binding.
6566 Rename cl-bind-* to cl--bind-*.
6567 * files.el: Don't require `cl' since it doesn't use it.
6568 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6569
595ef4ad
JB
65702012-06-08 Juanma Barranquero <lekktu@gmail.com>
6571
6572 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6573 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6574 instead of calling external sort utility.
6575 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6576
e9f66fcb
EZ
65772012-06-08 Eli Zaretskii <eliz@gnu.org>
6578
6579 * descr-text.el (describe-char): Mention how to insert the
6580 character, if the current input method doesn't support it.
6581 See the discussion in this thread for the details:
6582 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6583
3d10db47
SS
65842012-06-08 Sam Steingold <sds@gnu.org>
6585
6586 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6587 XF86Back to previous-buffer.
6588 (minibuffer-local-map): Bind them to next-history-element and
6589 previous-history-element respectively.
6590 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6591 help-go-back respectively.
6592 * info.el (Info-mode-map): Bind them to Info-history-forward and
6593 Info-history-back respectively.
6594 These are the keys next to Up on the ThinkPad keyboard.
6595
de7e2b36
SM
65962012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6597
6598 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6599 * emacs-lisp/cl-macs.el: Provide itself.
6600 (cl--labels-convert-cache): New var.
6601 (cl--labels-convert): New function.
6602 (cl-flet, cl-labels): New implementation with new semantics, relying on
6603 lexical-binding.
6604 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6605 (cl-closure-vars, cl--function-convert-cache)
6606 (cl--function-convert): Move from cl-macs.el.
6607 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6608 rename by removing the "cl-" prefix.
6609 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6610
6fa6c4ae
SM
66112012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6614 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6615 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6616 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6617 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6618 (cl-hash-table-count): Add old compatibility aliases.
6619
6620 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6621 Use macroexpand-all-environment instead.
6622 (cl--old-macroexpand): New var.
6623 (cl--sm-macroexpand): New function.
6624 (cl-symbol-macrolet): Use it during macro expansion.
6625 (cl--function-convert-cache): New var.
6626 (cl--function-convert): New function, extracted from
6627 cl-macroexpand-all.
6628 (cl-lexical-let): Use it.
6629
6630 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6631 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6632 (cl-member): Remove old alias.
6633
6634 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6635 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6636 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6637 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6638 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6639 (cl-macroexpand-cmacs): Remove var.
6640 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6641 Use macroexpand-all instead.
6642
4dd1c416
SM
66432012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6644
6645 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6646 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6647 (macroexp-copyable-p): New functions and macros.
6648 * emacs-lisp/edebug.el (edebug-unwrap):
6649 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6650 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6651 (pcase--let*): Remove.
6652 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6653 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6654 macroexp-const-p instead.
6655 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6656
6657 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6658 instead of "cl-" for internal definitions. Use macroexp-const-p.
6659 (cl-old-bc-file-form): Remove var.
6660 (cl-const-exprs-p): Remove fun.
6661 (cl-labels, cl-macrolet): Use backquote.
6662 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6663 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6664 (cl-define-setf-expander): Rename from cl-define-setf-method.
6665 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6666
6667 * international/mule-cmds.el: Don't require CL.
6668 (view-hello-file): Don't use `letf'.
6669
ed8bd4d7
SM
66702012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6671
7287f2f3
SM
6672 * tmm.el (tmm-prompt): Use string-prefix-p.
6673 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6674 (tmm-add-prompt): Use minibuffer-completion-help.
6675 (tmm-delete-map): Remove.
6676
ed8bd4d7
SM
6677 * subr.el (kbd): Make it its own function.
6678
7b4cdbf4
SM
66792012-06-07 Stefan Merten <smerten@oekonux.de>
6680
6681 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6682 Silence compiler warnings. Fix versions.
ed8bd4d7 6683 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6684 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6685 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6686 (rst-package-emacs-version-alist): Correct Emacs version to
6687 represent major merge with upstream.
ed8bd4d7 6688 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6689
2b48d721
GM
66902012-06-06 Glenn Morris <rgm@gnu.org>
6691
6692 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6693 Only print environment variables if set.
6694
fa779ab0
SM
66952012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6696
6697 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6698 (macroexp--cons): Rename from maybe-cons.
6699 (macroexp--accumulate): Rename from macroexp-accumulate.
6700 (macroexp--all-forms): Rename from macroexpand-all-forms.
6701 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6702 (macroexp--expand-all): Rename from macroexpand-all-1.
6703
628299e0
SS
67042012-06-06 Sam Steingold <sds@gnu.org>
6705
6706 * calendar/calendar.el (calendar-in-read-only-buffer):
6707 Call `special-mode' to enable the standard read-only keybindings.
6708
b7bb5838
SM
67092012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6710
6711 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6712 with "loading" messages (bug#11635).
6713
dfb308ba
MA
67142012-06-06 Michael Albinus <michael.albinus@gmx.de>
6715
6716 * files.el (enable-remote-dir-locals): New option.
6717 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6718
0372ee92
MA
6719 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6720 Ensure, that the temp directory is local.
6721
6722 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6723 `temporary-file-directory'.
6724
eed0bb91
MA
6725 * progmodes/python.el (python-send-region): Ensure, that the
6726 temporary file is created also in the remote case.
6727
7a58f64d
GM
67282012-06-06 Glenn Morris <rgm@gnu.org>
6729
f7dd4e98
GM
6730 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6731 (vc-rcs-update-changelog): Use it.
6732
090bd7cb 6733 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6734
7a58f64d
GM
6735 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6736 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6737 (vc-sccs-diff): Replace use of the external vcdiff script.
6738
daed4003
GM
67392012-06-05 Glenn Morris <rgm@gnu.org>
6740
6741 * ledit.el: Move to obsolete/.
6742
48c455c7
SS
67432012-06-05 Sam Steingold <sds@gnu.org>
6744
ed9265fc 6745 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6746 patch (Bug#11140).
6747
57a7d507
SM
67482012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6749
090bd7cb 6750 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6751
53aacf21
SM
6752 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6753 compiler-macro expansion.
6754
57a7d507
SM
6755 Add native compiler-macro support.
6756 * emacs-lisp/macroexp.el (macroexpand-all-1):
6757 Support compiler-macros directly. Properly follow aliases and apply
6758 the compiler macros more thoroughly.
6759 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6760 macroexpand now properly follows aliases.
6761 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6762 (cl-compiler-macroexpand): Use new prop.
6763 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6764
6765 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6766
51a5f9d8
MR
67672012-06-05 Martin Rudalics <rudalics@gmx.at>
6768
6769 * window.el (get-lru-window, get-mru-window, get-largest-window):
6770 New argument NOT-SELECTED to avoid picking the selected window.
6771 (window--display-buffer-1, window--display-buffer-2): Replace by
6772 new function window--display-buffer
6773 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6774 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6775 Use window--display-buffer.
51a5f9d8
MR
6776 (display-buffer-use-some-window): Remove temporary dedication
6777 hack by calling get-lru-window and get-largest-window with
6778 NOT-SELECTED argument non-nil. Call window--display-buffer.
6779
08f9f738
GM
67802012-06-05 Glenn Morris <rgm@gnu.org>
6781
6782 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6783 Replace external vcdiff script.
6784
e364a2b7
SM
67852012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6786
6787 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6788
041df390
CY
67892012-06-04 Chong Yidong <cyd@gnu.org>
6790
e364a2b7
SM
6791 * image.el (imagemagick-types-inhibit): Revert last change.
6792 Add INFO and M.
47b36b94 6793 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6794
7c1898a7
SM
67952012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6796
6797 * emacs-lisp/cl-lib.el: Rename from cl.el.
6798 * emacs-lisp/cl.el: New compatibility file.
6799 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6800 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6801 to obey the "cl-" prefix.
6802 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6803
0c3461de
GM
68042012-06-03 Glenn Morris <rgm@gnu.org>
6805
1e266c88
GM
6806 * emacs-lisp/authors.el (authors-aliases): Addition.
6807
0c3461de
GM
6808 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6809 Fix :version.
6810
d8a52e15
SM
68112012-06-03 Stefan Merten <smerten@oekonux.de>
6812
6813 * textmodes/rst.el: Add comments.
6814 (rst-transition, rst-adornment): New faces.
6815 (rst-adornment-faces-alist): Make default safe to reevaluate.
6816 Fixes
6817 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6818 Improve customization tags.
6819 (rst-define-level-faces): Clarify meaning.
6820
5205d6f6
CY
68212012-06-03 Chong Yidong <cyd@gnu.org>
6822
6823 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6824 (compilation-mode-line-run, compilation-mode-line-exit):
6825 New faces.
5205d6f6
CY
6826 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6827
757ee657
JD
68282012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6829
7c1898a7
SM
6830 * progmodes/which-func.el (which-func-update-ediff-windows):
6831 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6832
5f2c76c6
CY
68332012-06-03 Chong Yidong <cyd@gnu.org>
6834
6835 * bindings.el: Remove explicit help text from format-mode-line.
6836 It is now supplied by mode-line-default-help-echo.
6837 (mode-line-front-space, mode-line-end-spaces)
6838 (mode-line-misc-info): New variables.
6839 (mode-line-modes, mode-line-position): Move the default value to
6840 the variable definition.
6841 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6842 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6843 (mode-line-modified-help-echo): New functions.
6844 (mode-line-mule-info, mode-line-modified): Use them.
6845 (mode-line-eol-desc, propertized-buffer-identification):
6846 Consistency fixes for help text.
cbe46e5f
CY
6847 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6848 set-buffer-file-coding-system (Bug#289).
6849 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6850
f2d6a3df
SM
68512012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6852
6853 * simple.el (execute-extended-command): Set real-this-command
6854 (bug#11506).
6855
37269466
CY
68562012-06-02 Chong Yidong <cyd@gnu.org>
6857
6858 Remove incorrect uses of "modeline" in comments, docstrings, and
6859 function/variable names (Bug#10329).
6860
6861 * cus-edit.el (mode-line):
6862 * dframe.el (dframe-mouse-hscroll):
6863 * emacs-lisp/re-builder.el:
6864 * emacs-lisp/easy-mmode.el (define-minor-mode):
6865 * frame.el (set-frame-name):
6866 * help.el (lookup-minor-mode-from-indicator):
6867 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6868 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6869 (c-toggle-hungry-state):
6870 * progmodes/antlr-mode.el (antlr-language-alist):
6871 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6872 * progmodes/vhdl-mode.el (vhdl-mode):
6873 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6874 * term/ns-win.el (ns-face-at-pos):
6875 * term/sup-mouse.el (sup-mouse-report):
6876 * textmodes/flyspell.el (flyspell-mode-line-string):
6877 * textmodes/ispell.el (ispell-highlight-face):
6878 * textmodes/reftex-global.el:
6879 * vc/vc-arch.el (vc-arch-mode-line-string):
6880 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6881 * vc/vc-git.el (vc-git-mode-line-string):
6882 * vc/vc-hooks.el (vc-display-status)
6883 (vc-default-mode-line-string):
6884 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6885
6886 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6887
6888 * dired.el (dired-sort-set-mode-line): Rename from
6889 dired-sort-set-modeline. All callers changed.
6890
6891 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6892 eshell-status-in-modeline.
6893
6894 * foldout.el (foldout-mode-line-string): Rename from
6895 foldout-modeline-string. All callers changed.
6896 (foldout-update-mode-line): Rename from foldout-update-modeline.
6897
6898 * subr.el (redraw-modeline): Make into obsolete alias.
6899
6900 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6901 timeclock-modeline-display. Make old name an alias.
6902 (timeclock-update-mode-line): Likewise. All callers changed.
6903 (timeclock-mode-line-display): No need to check before using
6904 add-hook.
6905 (timeclock-relative, timeclock-day-over-hook)
6906 (timeclock-use-elapsed, timeclock-mode-string)
6907 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6908
6909 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6910 crisp-mode-modeline-string.
6911
6912 * play/solitaire.el (solitaire-build-mode-line): Rename from
6913 solitaire-build-modeline. All callers changed.
6914
6915 * play/zone.el (zone-hiding-mode-line): Rename from
6916 zone-hiding-modeline. All callers changed.
6917 (zone): Remove unusued `modeline-hidden-level' property.
6918
6919 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6920 xscheme-modeline-initialize. All callers changed.
6921
6922 * strokes.el (strokes-lighter): Rename from
6923 strokes-modeline-string.
6924
6925 * textmodes/sgml-mode.el (html-face-tag-alist)
6926 (html-tag-face-alist): Use mode-line face instead of obsolete
6927 alias modeline.
6928
42152ee4
SM
69292012-06-02 Stefan Merten <smerten@oekonux.de>
6930
6931 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6932 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6933
95f520b5
CY
69342012-06-02 Chong Yidong <cyd@gnu.org>
6935
6936 * image.el (imagemagick-enabled-types): Rename from
6937 imagemagick-types-enable. Add many more types.
6938 (imagemagick-types-inhibit): Change default to nil.
6939 (imagemagick-filter-types): Caller changed.
6940
4a5f187a
SM
69412012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6942
03fef3e6
SM
6943 * emacs-lisp/cl-macs.el: Use backquotes.
6944 (cl-transform-function-property): Use eval-and-compile rather than
6945 abusing `require'.
6946 (defstruct): Use declare-function instead of with-no-warnings.
6947
4a5f187a
SM
6948 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6949 (byte-compile-output-docform): Re-add the print-circle bindings.
6950 (byte-compile-fix-header): Use #$ just because it's shorter.
6951 (byte-compile-output-file-form): Remove defun/defmacro.
6952
bd56924f
MR
69532012-06-01 Martin Rudalics <rudalics@gmx.at>
6954
6955 * simple.el (choose-completion): Remove now obsolete binding for
6956 owindow.
6957
046e38ce
MA
69582012-06-01 Michael Albinus <michael.albinus@gmx.de>
6959
6960 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6961 in order to avoid "Stack overflow in regexp matcher".
6962
32d72c2f
GM
69632012-05-31 Glenn Morris <rgm@gnu.org>
6964
6965 * image.el: For clarity, call imagemagick-register-types at
6966 top-level, rather than relying on a custom :initialize.
6967 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6968 (imagemagick-filter-types): New function. (Bug#7406)
6969 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6970 If disabling support, remove elements altogether rather
6971 than using an impossible regexp.
6972 (imagemagick-types-inhibit): Give it the default init function.
6973
dd41169b
SM
69742012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6975
4a5f187a
SM
6976 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6977 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6978
efc00ab1 69792012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6980
6981 * desktop.el (desktop-read): Clear previous and next buffers for
6982 all windows and bury *Messages* buffer (bug#11556).
6983
500fcedc
SM
69842012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6985
6986 Add `declare' for `defun'. Align `defmacro's with it.
6987 * emacs-lisp/easy-mmode.el (define-minor-mode)
6988 (define-globalized-minor-mode): Don't autoload the var definitions.
6989 * emacs-lisp/byte-run.el: Use lexical-binding.
6990 (defun-declarations-alist, macro-declarations-alist): New vars.
6991 (defmacro, defun): Use them.
6992 (make-obsolete, define-obsolete-function-alias)
6993 (make-obsolete-variable, define-obsolete-variable-alias):
6994 Use `declare'.
6995 (macro-declaration-function): Mark obsolete.
6996 * emacs-lisp/autoload.el: Use lexical-binding.
6997 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6998
6e8a1786
AM
69992012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7000
7001 * textmodes/ispell.el (ispell-with-no-warnings):
7002 Define as a macro.
500fcedc
SM
7003 (ispell-kill-ispell, ispell-change-dictionary):
7004 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7005 `interactive-p'.
7006
61b108cc
SM
70072012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7008
7009 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7010 (macro-declaration-function): Move var from C code.
7011 (macro-declaration-function): Define function with defalias.
7012 * emacs-lisp/macroexp.el (macroexpand-all-1):
7013 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7014 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7015 defun/defmacro any more.
7016 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7017 Provide fallback for unknown arglist.
7018 (byte-compile-arglist-warn): Change calling convention.
7019 (byte-compile-output-file-form): Move print-vars binding.
7020 (byte-compile-output-docform): Simplify accordingly.
7021 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7022 (byte-compile-defmacro-declaration): Remove.
7023 (byte-compile-file-form-defmumble): Generalize to defalias.
7024 (byte-compile-output-as-comment): Return byte-positions.
7025 Simplify callers accordingly.
7026 (byte-compile-lambda): Use `assert'.
7027 (byte-compile-defun, byte-compile-defmacro): Remove.
7028 (byte-compile-file-form-defalias):
7029 Use byte-compile-file-form-defmumble.
7030 (byte-compile-defalias-warn): Remove.
7031
6d3f7c2f
SM
70322012-05-29 Stefan Merten <smerten@oekonux.de>
7033
7034 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7035 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7036
7037 (rst-mode-abbrev-table): Merge definition.
7038 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7039 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7040
6dbaa1c7
UJ
70412012-05-29 Ulf Jasper <ulf.jasper@web.de>
7042
7043 * calendar/icalendar.el
7044 (icalendar-export-region): Export UID properly.
7045
d209e2fb 70462012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7047 * calendar/icalendar.el (icalendar-import-format):
7048 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7049 (icalendar-import-format-uid): New.
7050 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7051 Export UID.
7052
6876a58d
SM
70532012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7056 different alternative patterns.
7057 (pcase-codegen): Be more careful to preserve identity.
7058 (pcase--u1): Don't forget to mark vars as used.
7059
7060 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7061 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7062 (byte-compile-from-buffer): ...rather than here.
7063
7064 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7065 functions from byte-compile-function-environment.
7066
46b7967e
TN
70672012-05-29 Troels Nielsen <bn.troels@gmail.com>
7068
7069 * window.el (window-deletable-p): Avoid deleting the root window
7070 of a frame with an active minibuffer.
7071
69d565e2
MR
70722012-05-29 Martin Rudalics <rudalics@gmx.at>
7073
7074 * simple.el (choose-completion): Use quit-window (Bug#11567).
7075
a149fa51
CY
70762012-05-29 Chong Yidong <cyd@gnu.org>
7077
7078 * whitespace.el (whitespace-cleanup): Fix usage of
7079 whitespace-empty-at-bob-regexp (Bug#11492).
7080
2b311310
AH
70812012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7082
7083 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7084 revert (Bug#11488).
7085
b9cb2387
JL
70862012-05-29 Juri Linkov <juri@jurta.org>
7087
7088 * isearch.el (isearch-mode-map): Bind `M-s _' to
7089 `isearch-toggle-symbol'. Bind `M-s c' to
7090 `isearch-toggle-case-fold'.
7091 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7092 (isearch-forward): Add `M-s _' to the docstring.
7093 (isearch-forward-symbol, isearch-toggle-case-fold)
7094 (isearch-symbol-regexp): New functions. (Bug#11381)
7095
d5e61c1c
JL
70962012-05-29 Juri Linkov <juri@jurta.org>
7097
7098 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7099 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7100 a function, call it to get the regexp.
7101 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7102 property `isearch-message-prefix' instead of the string "word ".
7103 (isearch-search-fun-default): For the case of `isearch-word',
7104 return a lambda that calls re-search-forward/re-search-backward
7105 with a regexp returned by `word-search-regexp' or by the function
7106 in `isearch-word'.
7107
8cbd80f7
JL
71082012-05-29 Juri Linkov <juri@jurta.org>
7109
7110 * isearch.el (isearch-search-fun-default): New function.
7111 (isearch-search-fun): Move default part to the new function
7112 `isearch-search-fun-default'.
7113 (isearch-search-fun-function): Set the default value to
7114 `isearch-search-fun-default'. (Bug#11381)
7115
7116 * comint.el (comint-history-isearch-end):
7117 Use `isearch-search-fun-default'.
7118 (comint-history-isearch-search): Use `isearch-search-fun-default'
7119 and remove spacial case for `isearch-word'.
7120 (comint-history-isearch-wrap): Remove spacial case for
7121 `isearch-word'.
7122
7123 * hexl.el (hexl-isearch-search-function):
7124 Use `isearch-search-fun-default'.
7125
7126 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7127 Use `word-search-regexp' for `isearch-word'.
7128
7129 * misearch.el (multi-isearch-search-fun):
7130 Use `isearch-search-fun-default'.
7131
7132 * simple.el (minibuffer-history-isearch-search):
7133 Use `isearch-search-fun-default' and remove spacial case for
7134 `isearch-word'.
7135 (minibuffer-history-isearch-wrap): Remove spacial case for
7136 `isearch-word'.
7137
7138 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7139 Remove spacial case for `isearch-word'.
7140 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7141
85c8c5b6
AM
71422012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7143
7144 Decrease XEmacs incompatibilities.
7145 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7146 Use `string-match'.
7147 (flyspell-delete-region-overlays): Use alternative definition for
7148 XEmacs.
7149 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7150 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7151 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7152 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7153 `define-obsolete-face-alias' under XEmacs, but old method.
7154
7155 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7156 `with-no-warnings' definition or Emacs alias.
7157 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7158 (ispell-word): Do not use `region-p' if XEmacs.
7159
8cab9efc
AM
71602012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7161
7162 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7163 Check for `ispell-dictionary-base-alist' instead of full
7164 `ispell-dictionary-alist'.
7165 (ispell-init-process): Show spellchecker when starting new Ispell
7166 process.
7167
fda91268
RZ
71682012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7169
7170 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7171 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7172
694ea8e3
JB
71732012-05-27 Juanma Barranquero <lekktu@gmail.com>
7174
7175 * version.el (motif-version-string, gtk-version-string)
7176 (ns-version-string): Declare.
7177
e4d4f539
JL
71782012-05-27 Juri Linkov <juri@jurta.org>
7179
7180 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7181 after the `eval-defun-1' specialcaseing
7182 like in `edebug-eval-defun' (bug#10181).
7183
7184 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7185 like in `eval-defun-1'.
7186
33017faf 71872012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7188
fda91268
RZ
7189 * mail/sendmail.el (mail-yank-region):
7190 Recognize rmail-yank-current-message in addition to insert-buffer.
7191 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7192 a *mail* buffer created through rmail-start-mail with sendmail as
7193 mail-user-agent.
7194
33017faf
GM
71952012-05-27 Chong Yidong <cyd@gnu.org>
7196
7197 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7198 Default to 256 (Bug#11267).
7199
7200 * help.el (describe-mode): Doc fix.
7201
04188bb9
GM
72022012-05-26 Glenn Morris <rgm@gnu.org>
7203
38264cc9
GM
7204 * w32-fns.el (w32-init-info): Remove.
7205 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7206
eb7afdad
GM
7207 * info.el (info-initialize): For self-contained NS builds, put the
7208 included info/ directory at the front. (Bug#2791)
7209
04188bb9
GM
7210 * paths.el (Info-default-directory-list): Make it a defcustom,
7211 mainly so that we can use custom-initialize-delay.
7212
a179e3f7
SM
72132012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7214
43416392
SM
7215 * subr.el (buffer-has-markers-at): Mark obsolete.
7216
a179e3f7 7217 * subr.el (lambda): Use declare.
43416392 7218
a179e3f7
SM
7219 * emacs-lisp/lisp-mode.el (lambda):
7220 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7221
34a008d9
AH
72222012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7223
7224 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7225
0a3b289f
GM
72262012-05-26 Glenn Morris <rgm@gnu.org>
7227
7228 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7229
758c81e8
GM
72302012-05-25 Glenn Morris <rgm@gnu.org>
7231
f9f334f0
GM
7232 * paths.el: Remove no-byte-compile.
7233 * loadup.el: No need to load paths.el uncompiled.
7234
87eb79c2
GM
7235 * image.el (imagemagick-types-inhibit): Doc fix.
7236
758c81e8
GM
7237 * version.el: Remove no-byte-compile and associated formatting.
7238 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7239 is ancient code from when there was an "inc-vers.el".
7240
e7e85dc0
SM
72412012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7242
7243 * progmodes/gdb-mi.el: Minor style changes.
7244 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7245 Turn into minor modes.
7246 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7247 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7248 (gdb-shell): Remove unneeded let-binding.
7249 (gdb-get-many-fields): Eliminate O(n²) behavior.
7250
f31237a4
EZ
72512012-05-25 Eli Zaretskii <eliz@gnu.org>
7252
7253 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7254 platforms that don't link in fontset.c.
7255
bc1b21bb
JL
72562012-05-25 Juri Linkov <juri@jurta.org>
7257
7258 Use the same diff color scheme as in modern VCSes (bug#10181).
7259
7260 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7261 to avoid confusion with `diff-added' that now uses green colors.
7262 (diff-removed): Use shades of red.
7263 (diff-added): Use shades of green.
7264 (diff-changed): Leave just the yellow color.
7265 (diff-use-changed-face): New variable.
7266 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7267 how to highlight context diff changes.
7268 (diff-refine-change): Use shades of yellow.
7269 (diff-refine-removed): New face that uses shades of red.
7270 (diff-refine-added): New face that uses shades of green.
7271 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7272 `diff-refine-removed' in the call to `smerge-refine-subst'
7273 depending on the value of `diff-use-changed-face'.
7274
7275 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7276 (smerge-other): Use shades of green.
7277 (smerge-base): Use shades of yellow.
7278 (smerge-refined-change): Empty face.
7279 (smerge-refined-removed): New face that uses shades of red.
7280 (smerge-refined-added): New face that uses shades of green.
7281 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7282 args `props-r' and `props-a', and use them. Doc fix.
7283 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7284 on its value use different faces `smerge-refined-change',
7285 `smerge-refined-removed', `smerge-refined-added' in the call to
7286 `smerge-refine-subst'.
7287
7288 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7289 Add face condition `min-colors 88' with shades of red.
7290 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7291 `min-colors 88' with shades of green.
7292 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7293 `min-colors 88' with shades of yellow.
7294
6df9112c
GM
72952012-05-24 Glenn Morris <rgm@gnu.org>
7296
ead5edc0
GM
7297 * paths.el (prune-directory-list, remote-shell-program): Move to...
7298 * files.el (prune-directory-list, remote-shell-program): ...here.
7299 For the latter, delay initialization, prefer ssh, just search PATH.
7300
f18b81e6
GM
7301 * paths.el (term-file-prefix): Move to faces.el (the only user).
7302 * faces.el (term-file-prefix): Move here, make it a defcustom.
7303
ee2f89a6
GM
7304 * paths.el (news-directory, news-path, news-inews-program):
7305 Move to gnus/nnspool.el.
61a583ca 7306
f8815e4c
GM
7307 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7308
c8f3b42c
GM
7309 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7310 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7311 Make the latter a defcustom, with a delayed initialization.
7312
6df9112c
GM
7313 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7314 These were deleted from Gnus itself late 2010.
7315
5dadff36
JB
73162012-05-22 Juanma Barranquero <lekktu@gmail.com>
7317
9e1701c6
JB
7318 * progmodes/which-func.el (which-func-ff-hook):
7319 Check against user-error, not error.
7320
bd7239f5 7321 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7322 cl-specs.el, which no longer exists.
7323
3290526d
GM
73242012-05-22 Glenn Morris <rgm@gnu.org>
7325
7326 * info.el (info-emacs-bug): New command.
7327 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7328 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7329
ff0c3cfb
GM
73302012-05-21 Glenn Morris <rgm@gnu.org>
7331
7332 * makefile.w32-in (update-subdirs-SH):
7333 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7334
5814f126
SM
73352012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7336
a52c0aa0
SM
7337 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7338
5814f126
SM
7339 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7340 Simplify Maven regexp, and make sure the file can't start with a space
7341 (bug#11517).
7342
b847032c
GM
73432012-05-21 Glenn Morris <rgm@gnu.org>
7344
7345 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7346 Scrap superfluous subshells.
7347
3858bfe7
SM
73482012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7351 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7352
d14b0029
JB
73532012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7354
7355 * calc/calc.el (calc-ensure-consistent-units): New variable.
7356
a52c0aa0
SM
7357 * calc/calc-units.el (math-consistent-units-p)
7358 (math-check-unit-consistency): New functions.
7359 (calc-quick-units, calc-convert-units):
7360 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7361 is non-nil.
d14b0029
JB
7362 (calc-extract-units): Fix typo.
7363
60c4db3a
SM
73642012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7365
77f3b62e
SM
7366 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7367
60c4db3a
SM
7368 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7369 (flyspell-default-deplacement-commands): Don't spell check after
7370 repeated window/frame switches (e.g. triggered by mouse-movement).
7371 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7372 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7373 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7374 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7375 Remove unused vars.
7376 (flyspell-get-casechars, flyspell-get-not-casechars):
7377 Simplify; Don't bother removing a ] just to add it back.
7378 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7379
d209e2fb 73802012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7381
7382 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7383 New functions.
bd7239f5 7384 (math-function-table): Add support for more C functions.
b1a10716 7385
3f1b25b5
AM
73862012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7387
090bd7cb
JB
7388 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7389 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7390 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7391
b581bb5c
SM
73922012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7393
7394 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7395 their respective macro declarations.
7396 * skeleton.el (define-skeleton):
7397 * progmodes/compile.el (define-compilation-mode):
7398 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7399 (define-ibuffer-filter):
7400 * emacs-lisp/generic.el (define-generic-mode):
7401 * emacs-lisp/easy-mmode.el (define-minor-mode)
7402 (define-globalized-minor-mode):
7403 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7404 * emacs-lisp/byte-run.el (defsubst):
7405 * custom.el (deftheme): Add doc-string metadata.
7406
70b8ef8f
SM
74072012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7408
7409 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7410
b1198e17
SM
74112012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7412
9abdc45d
SM
7413 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7414
b1198e17
SM
7415 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7416 * emacs-lisp/cl-macs.el: Idem.
7417 * emacs-lisp/cl-specs.el: Remove.
7418
4735906a
SM
74192012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7420
7421 Minor renaming of internal CL functions and variables.
7422 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7423 (cl--position): Rename from cl-position.
7424 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7425 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7426 (cl--random-state): Rename from *random-state*.
7427
ac348012
SM
74282012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7431 parens around the arg list (bug#11499).
7432
a0a79cde
JL
74332012-05-17 Juri Linkov <juri@jurta.org>
7434
7435 * isearch.el (word-search-regexp, word-search-backward)
7436 (word-search-forward, word-search-backward-lax)
7437 (word-search-forward-lax): Move functions from search.c
7438 (bug#10145, bug#11381).
7439
65034a51
AM
74402012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7441
090bd7cb
JB
7442 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7443 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7444 Delay for otherchars as for normal word components.
65034a51 7445
1a72a195
SM
74462012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7447
7448 * minibuffer.el (completion--sifn-requote): Fix last change.
7449 (minibuffer-local-must-match-filename-map):
7450 Move define-obsolete-variable-alias before its var.
7451
fdb058c2
SM
74522012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7453
c41045e6
SM
7454 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7455
036dfb8b
SM
7456 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7457 behavior.
7458 (completion--string-equal-p): New function.
7459 (completion--twq-all): Use it to get better assertion failure data.
7460
2473256d
SM
7461 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7462 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7463 (shell--requote-argument): New functions.
7464 (shell-completion-vars): Use them.
7465 (shell--parse-pcomplete-arguments): Rename from
7466 shell-parse-pcomplete-arguments.
7467 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7468 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7469 Obey comint-file-name-quote-list.
7470
fdb058c2
SM
7471 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7472 (smie-indent-keyword): Use it.
7473
51fa99f1
SM
74742012-05-14 Stefan Merten <smerten@oekonux.de>
7475
7476 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7477
e18afed7 74782012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7479
7480 * net/rlogin.el (rlogin-mode-map): Fix last change.
7481
e18afed7 74822012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7483
7484 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7485 the following \r\n using a single `process-send-string', since the
7486 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7487 with two `process-send-string's (Bug#11444).
8633b1f4 7488
e18afed7 74892012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7490
fdb058c2
SM
7491 * shell.el (shell-parse-pcomplete-arguments):
7492 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7493
2d21d7f6
WJ
74942012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7495
e18afed7 7496 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7497 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7498 (image-transform-width, image-transform-fit-width): New functions.
7499 (image-transform-properties): Use them.
7500 (image-transform-check-size): New function.
7501 (image-toggle-display-image): Use it (for testing).
7502 (image-transform-set-rotation): Reduce angle mod 360.
7503 Delete obsolete comment.
7504
7102e6d0
WJ
75052012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7506
7507 * image-mode.el: Fix scaling (bug#11399).
7508 (image-transform-resize): Doc fix.
7509 (image-transform-properties): Default scale is 1 and height should
7510 be an integer.
7511
06bc5e6e
SM
75122012-05-13 Johan Bockgård <bojohan@gnu.org>
7513
7514 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7515 than hard-coding `car', to fix misbehavior when moving forward.
7516
0ae03b6a
CY
75172012-05-13 Chong Yidong <cyd@gnu.org>
7518
7519 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7520 (tabulated-list-entries, tabulated-list-padding)
7521 (tabulated-list-sort-key): Make permanent-local.
7522
7523 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7524 (electric-buffer-list): Put electric buffer menu
7525 command descriptions in this docstring, instead of the docstring
7526 of electric-buffer-menu-mode. Code cleanups.
7527 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7528 Electric-buffer-menu-mode.
7529 (electric-buffer-update-highlight): Minor code cleanup.
7530
205a7391
MA
75312012-05-13 Michael Albinus <michael.albinus@gmx.de>
7532
7533 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7534 (Bug#11447)
7535
e5bd0a28
SM
75362012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7537
7538 Move define-obsolete-variable-alias before the var's definition.
7539 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7540 * tooltip.el (tooltip-hook):
7541 * textmodes/reftex-toc.el (reftex-toc-map):
7542 * textmodes/reftex-sel.el (reftex-select-label-map)
7543 (reftex-select-bib-map):
7544 * textmodes/reftex-index.el (reftex-index-map)
7545 (reftex-index-phrases-map):
7546 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7547 * progmodes/meta-mode.el (meta-mode-map):
7548 * novice.el (disabled-command-hook):
7549 * loadhist.el (unload-hook-features-list):
7550 * frame.el (blink-cursor):
7551 * files.el (find-file-not-found-hooks, write-file-hooks)
7552 (write-contents-hooks):
7553 * emulation/tpu-edt.el (GOLD-map):
7554 * emacs-lock.el (emacs-lock-from-exiting):
7555 * emacs-lisp/generic.el (generic-font-lock-defaults):
7556 * emacs-lisp/chart.el (chart-map):
7557 * dos-fns.el (register-name-alist):
7558 * dired-x.el (dired-omit-files-p):
7559 * desktop.el (desktop-enable):
7560 * cus-edit.el (custom-mode-hook):
7561 * buff-menu.el (buffer-menu-mode-hook):
7562 * bookmark.el (bookmark-read-annotation-text-func)
7563 (bookmark-exit-hooks):
7564 * allout.el (allout-mode-deactivate-hook)
7565 (allout-exposure-change-hook, allout-structure-added-hook)
7566 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7567 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7568 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7569 comes before the corresponding variable's definition.
7570
ac59c2f6
CY
75712012-05-12 Chong Yidong <cyd@gnu.org>
7572
7573 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7574 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7575 (Buffer-menu-mode-map): Bind it.
7576 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7577
dee6c9a3
SM
75782012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7579
2171cea5
SM
7580 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7581 (prolog-upper-case-string, prolog-lower-case-string)
7582 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7583 (prolog-use-smie, prolog-smie-grammar): New vars.
7584 (prolog-smie-forward-token, prolog-smie-backward-token)
7585 (prolog-smie-rules): New funs.
7586 (prolog-comment-indent): Remove.
7587 (prolog-mode-variables): Use default comment indentation instead.
7588 Setup SMIE.
7589 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7590 (prolog-mode): Don't call them any more.
7591 (prolog-electric-colon, prolog-electric-dash)
7592 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7593
aa0382bd
SM
7594 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7595
dbacb4bd
SM
7596 * minibuffer.el (completion--twq-all): Again, allow case differences.
7597
13bdd94c
SM
7598 * term.el: Move keymap initialization code to be more idiomatic.
7599 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7600 (term-terminal-menu): Move initialization into declaration.
7601 (term-escape-char): Let the user set it in her .emacs.
7602
ff46c759
SM
7603 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7604 Provide SMIE-based indentation (not enabled by default yet).
7605 (sh-mode-map): Don't bind electric keys.
7606 Use electric-pair-mode instead of skeleton-pair.
7607 (sh-assignment-regexp): Fit within 80 columns.
7608 (sh-indent-supported): Specify actual shell name instead of boolean.
7609 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7610 (sh-maybe-here-document): Use it. Make obsolete.
7611 (sh-electric-here-document-mode) New minor mode.
7612 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7613 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7614 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7615 (sh-smie-rc-grammar, sh-use-smie): New vars.
7616 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7617 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7618 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7619 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7620 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7621 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7622 (sh-set-shell): Use smie-setup if requested.
7623
dee6c9a3
SM
7624 * term.el (term-set-escape-char): Properly set term-escape-char.
7625 See http://stackoverflow.com/questions/10524656.
7626
9f9aa044
CY
76272012-05-10 Chong Yidong <cyd@gnu.org>
7628
7629 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7630 Use url-generic-parse-url, and handle host names and Windows
7631 filenames properly.
7632 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7633 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7634 URL schemes to work on.
7635 (ffap--toggle-read-only): New function.
7636 (ffap-read-only, ffap-read-only-other-window)
7637 (ffap-read-only-other-frame): Use it.
7638 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7639 necessary for ffap-url-unwrap-remote.
7640
836d29b3
DA
76412012-05-10 Dave Abrahams <dave@boostpro.com>
7642
7643 * cus-start.el (create-lockfiles): Add it.
7644
00fd78ed
CY
76452012-05-09 Chong Yidong <cyd@gnu.org>
7646
7647 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7648 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7649
666b903b 76502012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7651
7652 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7653
666b903b 76542012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7655
7656 * ansi-color.el (ansi-color-process-output): Check for validity of
7657 comint-last-output-start before using it. This avoids a bad
7658 interaction with gdb-mi's input/output buffer.
7659
666b903b 76602012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7661
7662 * files.el (dir-locals-read-from-file):
7663 Mention dir-locals in any error message.
7664
666b903b 76652012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7666
7667 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7668 package (Bug#11410).
7669
f677562b
CY
7670 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7671 variables into description.
7672
666b903b 76732012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7674
7675 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7676 shell-delimiter-argument-list (bug#11348).
7677 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7678
b499d8d0
JB
76792012-05-09 Juanma Barranquero <lekktu@gmail.com>
7680
8f6b6da8
JB
7681 * textmodes/rst.el: Silence byte-compiler warnings.
7682 (rst-re-alist, rst-reset-section-caches): Move around.
7683 (rst-re): Use `characterp', not `char-valid-p'.
7684 (font-lock-beg, font-lock-end): Declare.
7685
4824146a
JB
7686 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7687 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7688
b499d8d0
JB
7689 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7690
ad89bb83
GM
76912012-05-08 Glenn Morris <rgm@gnu.org>
7692
7693 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7694
8bba5a75
SM
76952012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7696
49ed9c8e
SM
7697 * vc/log-edit.el: Add GNU coding standards highlighting.
7698 (log-edit-font-lock-gnu-style)
7699 (log-edit-font-lock-gnu-keywords): New vars.
7700 (log-edit-font-lock-keywords): New fun.
7701 (log-edit-mode): Don't fold case in font-lock.
7702 (log-edit-font-lock-keywords): Do not assume case-folding.
7703
07d00b56
SM
7704 * imenu.el: Misc cleanup. Make docstrings out of comments.
7705 Use lexical-binding.
7706 (imenu--index-alist, imenu--last-menubar-index-alist)
7707 (imenu-menubar-modified-tick): Use defvar-local.
7708 (imenu--split-menu): Remove unused var.
7709 (imenu--cleanup-seen): Declare as global.
7710 (imenu--cleanup): Use dolist.
7711
8bba5a75
SM
7712 * subr.el (defvar-local): Add debug spec and doc-string position.
7713
5075bdb5
GM
77142012-05-08 Glenn Morris <rgm@gnu.org>
7715
090bd7cb 7716 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7717 * language/english.el, language/georgian.el, language/greek.el:
7718 * language/japanese.el, language/khmer.el, language/korean.el:
7719 * language/lao.el, language/misc-lang.el, language/romanian.el:
7720 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7721 * language/thai.el, language/utf-8-lang.el:
7722 Remove no-byte-compile setting.
7723
5075bdb5
GM
7724 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7725
06f679a7
AH
77262012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7727
7728 * progmodes/make-mode.el (makefile-browse):
7729 Remove unnecessary interactive. (Bug#11324)
7730
03794570
GM
77312012-05-07 Glenn Morris <rgm@gnu.org>
7732
af8630f4
GM
7733 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7734
03794570
GM
7735 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7736
f0809a9d
SM
77372012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7738
28be5ce7
SM
7739 * loadup.el: Preload newcomment.el.
7740 * newcomment.el: Move autoload-only code to toplevel.
7741
f0809a9d
SM
7742 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7743 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7744 Handle new :right-align column property.
7745 (tabulated-list-print-col): Idem, plus use `display' text-property to
7746 try and preserve alignment for variable pitch fonts.
7747
1241b724
CY
77482012-05-07 Chong Yidong <cyd@gnu.org>
7749
7750 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7751 (tabulated-list-use-header-line): New var.
7752 (tabulated-list-init-header): Use it.
7753 (tabulated-list-print-fake-header): New function.
7754 (tabulated-list-print): Use it.
7755 (tabulated-list-sort-button-map): Add non-header-line commands.
7756 (tabulated-list-init-header): Add column name property to basic
7757 labels as well.
7758 (tabulated-list-col-sort): Handle non-header-line button case.
7759 (tabulated-list--sort-by-column-name): Fix a corner case.
7760
f0809a9d
SM
7761 * buff-menu.el (list-buffers--refresh):
7762 Handle Buffer-menu-use-header-line.
1241b724 7763
e5f9458f
CY
77642012-05-06 Chong Yidong <cyd@gnu.org>
7765
7766 * buff-menu.el: Convert to Tabulated List mode.
7767 (Buffer-menu-buffer+size-width): Make obsolete.
7768 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7769 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7770 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7771 documentation into docstring of buffer-menu.
7772 (Buffer-menu-toggle-files-only): Add an informative message.
7773 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7774 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7775 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7776 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7777 (Buffer-menu-execute, Buffer-menu-select)
7778 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7779 (Buffer-menu-bury): Use Tabulated List machinery.
7780 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7781 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7782 Delete.
e5f9458f
CY
7783 (list-buffers--refresh): New function.
7784 (list-buffers-noselect): Use it.
7785 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7786 (Buffer-menu--pretty-file-name): New helper functions.
7787
7788 * loadup.el: Preload tabulated-list.
7789
7790 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7791 tabulated-list-sort-column.
7792 (tabulated-list-init-header): Add the initial aligning space even
7793 if tabulated-list-padding is zero.
7794
e129292c
CS
77952012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7796
7797 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7798 whose cdr is not a cons cell correctly (bug#11038).
7799
6632d361
CY
78002012-05-06 Chong Yidong <cyd@gnu.org>
7801
e129292c
CS
7802 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7803 Accept additional plist in column descriptors.
6632d361
CY
7804 (tabulated-list-init-header): Obey it.
7805 (tabulated-list-get-entry): New function.
7806 (tabulated-list-put-tag): Use it. Use string-width instead of
7807 length.
7808 (tabulated-list--column-number): New function.
7809 (tabulated-list-print): Use it.
e129292c
CS
7810 (tabulated-list-print-col): New function.
7811 Set `tabulated-list-column-name' property on each column's text.
6632d361 7812 (tabulated-list-print-entry): Use it.
e129292c
CS
7813 (tabulated-list-delete-entry, tabulated-list-set-col):
7814 New functions.
6632d361
CY
7815 (tabulated-list-sort-column): New command (Bug#11337).
7816
3cc99f68
CY
7817 * buff-menu.el (list-buffers): Move C-x C-b binding from
7818 buff-menu.el to bindings.el.
7819
7820 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7821 :advertised-binding feature.
7822
52b61776
TN
78232012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7824
7825 * progmodes/compile.el (compilation-internal-error-properties):
7826 Calculate start position correctly when end-col is set but
7827 end-line is not (Bug#11382).
7828
ebfe2597
WJ
78292012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7830
7831 * man.el (Man-unindent): Use text-property-default-nonsticky to
7832 prevent untabify from inheriting face properties (Bug#11408).
7833
6d3f7c2f
SM
78342012-05-05 Stefan Merten <smerten@oekonux.de>
7835
7836 * textmodes/rst.el: Major merge with upstream development up to
7837 Docutils SVN r7399 / rst.el V1.2.1.
7838
7839 Clarify maintainership and authors.
7840
7841 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7842 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7843 (rst-official-version, rst-official-cvs-rev, rst-version)
7844 (rst-package-emacs-version-alist): New functions and variables
7845 for version information.
7846
7847 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7848 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7849 (rst-mode-syntax-table, rst-mode): New and corrected functions
7850 and variables representing reStructuredText features.
7851
7852 (rst-re): New function for reStructuredText regexes. Use in
7853 many places.
7854
7855 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7856 (rst-mode-map): Rebind keys.
7857
7858 (rst-mode-lazy, rst-font-lock-keywords)
7859 (rst-font-lock-extend-region)
7860 (rst-font-lock-extend-region-internal)
7861 (rst-font-lock-extend-region-extend)
7862 (rst-font-lock-find-unindented-line-limit)
7863 (rst-font-lock-find-unindented-line-match)
7864 (rst-adornment-level, rst-font-lock-adornment-level)
7865 (rst-font-lock-adornment-match)
7866 (rst-font-lock-handle-adornment-pre-match-form)
7867 (rst-font-lock-handle-adornment-matcher): Major revision of
7868 font-locking. Integrate with other code. Use `jit-lock-mode'.
7869
7870 (rst-preferred-adornments, rst-adjust-hook)
7871 (rst-new-adornment-down, rst-preferred-bullets)
7872 (rst-preferred-bullets, rst-indent, rst-indent-width)
7873 (rst-indent-field, rst-indent-literal-normal)
7874 (rst-indent-literal-minimized, rst-indent-comment): Change,
7875 extend and improve customization.
7876
7877 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7878 (rst-normalize-cursor-position, rst-get-decoration)
7879 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7880 (rst-rstrip, rst-toc-insert-find-delete-contents)
7881 (rst-shift-fill-region, rst-compute-bullet-tabs)
7882 (rst-debug-print-tabs, rst-debug-mark-found)
7883 (rst-shift-region-guts, rst-shift-region-right)
7884 (rst-shift-region-left, rst-use-char-classes)
7885 (rst-font-lock-keywords-function)
7886 (rst-font-lock-indentation-point)
7887 (rst-font-lock-find-unindented-line-begin)
7888 (rst-font-lock-find-unindented-line-end)
7889 (rst-font-lock-find-unindented-line)
7890 (rst-font-lock-adornment-point, rst-font-lock-level)
7891 (rst-adornment-level-alist): Remove functions and variables.
7892
7893 (rst-compare-adornments, rst-get-adornment-match)
7894 (rst-suggest-new-adornment, rst-get-adornments-around)
7895 (rst-adornment-complete-p, rst-get-next-adornment)
7896 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7897 (rst-straighten-adornments): Standardize function names to
7898 use "adornment" instead of "decoration". Correct callers.
7899 Similar standardizing in many places.
7900
7901 (rst-update-section, rst-adjust, rst-promote-region)
7902 (rst-enumerate-region, rst-bullet-list-region)
7903 (rst-repeat-last-character): Correct use of `interactive'.
7904
7905 (rst-classify-adornment, rst-find-all-adornments)
7906 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7907 (rst-find-leftmost-column, rst-repeat-last-character):
7908 Refactor functions.
7909
7910 (rst-find-title-line, rst-reset-section-caches)
7911 (rst-get-adornments-around, rst-adjust-adornment-work)
7912 (rst-arabic-to-roman, rst-roman-to-arabic)
7913 (rst-insert-list-pos, rst-insert-list-new-item)
7914 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7915 New functions.
7916
7917 (rst-all-sections, rst-section-hierarchy)
7918 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7919 New variables.
7920
7921 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7922 configuration instead of only buffer. Change where necessary.
7923
7924 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7925 (rst-shift-region, rst-adaptive-fill): New functions for
7926 indentation and filling.
7927
7928 (rst-comment-line-break, rst-comment-indent)
7929 (rst-comment-insert-comment, rst-comment-region)
7930 (rst-uncomment-region): New functions for handling comments.
7931
7932 (rst-compile): Quote shell arguments.
7933
7934 (rst-compile-pdf-preview, rst-compile-slides-preview):
7935 Delete temporary files after use.
7936
a43f98b3
GM
79372012-05-05 Glenn Morris <rgm@gnu.org>
7938
48176e8b
GM
7939 * calendar/cal-html.el: Optionally include holidays in the output.
7940 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7941 (cal-html-holidays): New option.
7942 (cal-html-css-default): Add holiday entry.
7943 (holiday-in-range): Autoload it.
7944 (cal-html-htmlify-entry): Add optional class argument.
7945 (cal-html-htmlify-list): Add optional holidays argument.
7946 (cal-html-insert-agenda-days): Include holidays in the output.
7947 (cal-html-one-month): Maybe include holidays.
7948
a43f98b3
GM
7949 * calendar/holidays.el (holiday-in-range):
7950 Move here from cal-tex-list-holidays.
7951 * calendar/cal-tex.el (cal-tex-list-holidays):
7952 Make it an obsolete alias for holiday-in-range. Update all callers.
7953
fef9d149 79542012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7955
7956 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7957 Nextstep.
7958
248da2f4
RW
79592012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7960
7961 * files.el (file-auto-mode-skip): New var.
7962 (set-auto-mode-1): Use it.
7963
f95e9344
SM
79642012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7965
df96ab1e
SM
7966 * repeat.el: Use lexical-binding.
7967 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7968 (repeat-undo-count): Remove.
7969 (repeat):
7970 * progmodes/octave-mod.el (octave-abbrev-start):
7971 * progmodes/f90.el (f90-abbrev-start):
7972 * face-remap.el (text-scale-adjust):
7973 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7974
5342bb06
SM
7975 * emacs-lisp/pcase.el (pcase--let*): New function.
7976 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7977 a bit more.
7978 (pcase--split-pred): Be more clever about ruling out overlap between
7979 a predicate and some constant pattern.
7980 (pcase--q1): Use `null' instead of (eq foo nil).
7981
f95e9344
SM
7982 * subr.el (setq-local, defvar-local): New macros.
7983 (kbd): Redefine as an alias.
7984 (with-selected-window): Leave unrelated frames alone.
7985 (set-temporary-overlay-map): New function.
7986
71873e2b
SM
79872012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7988
7989 * subr.el (user-error): New function.
7990 * window.el (switch-to-buffer):
7991 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7992 (smerge-match-conflict):
7993 * simple.el (previous-matching-history-element)
7994 (next-matching-history-element, goto-history-element, undo-more)
7995 (undo-start):
7996 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7997 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7998 (next-file, tags-loop-scan, list-tags, complete-tag):
7999 * progmodes/compile.el (compilation-loop):
8000 * mouse.el (mouse-minibuffer-check):
8001 * man.el (Man-bgproc-sentinel, Man-goto-page):
8002 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8003 (Info-history-forward, Info-follow-reference, Info-menu)
8004 (Info-extract-menu-item, Info-extract-menu-counting)
8005 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8006 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8007 (Info-next-reference, Info-prev-reference, Info-index)
8008 (Info-index-next, Info-follow-nearest-node)
8009 (Info-copy-current-node-name):
8010 * imenu.el (imenu--make-index-alist)
8011 (imenu-default-create-index-function, imenu-add-to-menubar):
8012 * files.el (basic-save-buffer, recover-file):
8013 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8014 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8015 (checkdoc-message-text, checkdoc-defun):
8016 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8017 * cus-edit.el (customize-changed-options, customize-rogue)
8018 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8019 (custom-variable-mark-to-reset-standard)
8020 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8021 (custom-file):
8022 * completion.el (check-completion-length):
8023 * comint.el (comint-search-arg)
8024 (comint-previous-matching-input-string-position)
8025 (comint-previous-matching-input)
8026 (comint-replace-by-expanded-history-before-point, comint-send-input)
8027 (comint-copy-old-input, comint-backward-matching-input)
8028 (comint-goto-process-mark, comint-set-process-mark):
8029 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8030 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8031
8a61ee22
SM
80322012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8033
66408d1e
SM
8034 * dabbrev.el (dabbrev--ignore-case-p): New function.
8035 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8036 Use it.
8037
8a61ee22
SM
8038 * files.el (automount-dir-prefix): Mark as obsolete.
8039
3c74813a
GM
80402012-05-04 Glenn Morris <rgm@gnu.org>
8041
8042 * patcomp.el, play/bruce.el: Move to obsolete/.
8043
0bfcf5c5
PE
80442012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8045
8046 Fix minor Y10k bugs.
8047 * arc-mode.el (archive-unixdate):
8048 * autoinsert.el (auto-insert-alist):
8049 * calc/calc-forms.el (math-this-year):
8050 * emacs-lisp/copyright.el (copyright-current-year)
8051 (copyright-update-year, copyright):
8052 * tar-mode.el (tar-clip-time-string):
8053 * time.el (display-time-update):
8054 Don't assume years have 4 digits.
8055
78f3273a
CY
80562012-05-04 Chong Yidong <cyd@gnu.org>
8057
8058 * dos-w32.el (file-name-buffer-file-type-alist)
8059 (direct-print-region-use-command-dot-com):
8060 * ffap.el (ffap-menu-regexp):
8061 * find-file.el (ff-special-constructs):
8062 * follow.el (follow-debug):
8063 * forms.el (forms--debug):
8064 * iswitchb.el (iswitchb-all-frames):
8065 * ido.el (ido-all-frames):
8066 * emacs-lisp/timer.el (timer-max-repeats):
8067 * mail/feedmail.el (feedmail-mail-send-hook)
8068 (feedmail-mail-send-hook-queued):
8069 * mail/footnote.el (footnote-signature-separator):
8070 * mail/mailabbrev.el (mail-alias-separator-string)
8071 (mail-abbrev-mode-regexp):
8072 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8073 * progmodes/idlwave.el (idlwave-libinfo-file)
8074 (idlwave-default-completion-case-is-down)
8075 (idlwave-library-routines): Convert defvars to defcustoms.
8076
8077 * mail/rmail.el (rmail-decode-mime-charset):
8078 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8079 (idlwave-shell-fix-inserted-breaks)
8080 (idlwave-shell-activate-alt-keybindings)
8081 (idlwave-shell-use-breakpoint-glyph):
8082 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8083
f7ae6719
SM
80842012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8085
8086 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8087
47086495
WS
80882012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8089
8090 * progmodes/verilog-mode.el (font-lock-keywords):
8091 Fix mis-highligting auto. Reported by Craig Barner.
8092 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8093 defines from global name space. Reported by Dan Dever.
47086495
WS
8094 (verilog-auto-reset, verilog-auto-reset-widths)
8095 (verilog-auto-tieoff): Support using unbased numbers for
8096 AUTORESET and AUTOTIEOFF.
8097 (verilog-submit-bug-report): Update variable list.
8098 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8099 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8100 (verilog-auto-template-lint): Fix hash error when linting modules
8101 with no used templates.
8102 (verilog-warn, verilog-warn-error)
8103 (verilog-warn-fatal): When non-interactive report multiple
8104 warnings before exiting. Suggested by Brad Dobbie.
8105 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8106 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8107 to report unused template errors. Reported by Brad Dobbie.
8108 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8109 nets, bug438. Reported by Vns Blore.
47086495
WS
8110 (verilog-auto-inout-module, verilog-auto-reg)
8111 (verilog-read-decls, verilog-read-sub-decls-sig)
8112 (verilog-signals-edit-wire-reg, verilog-signals-with):
8113 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8114 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8115 "reg" for backwards compatibility presuming Verilog 2001.
8116 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8117 (verilog-preprocess): Fix replication of preprocess output.
8118 Reported by Brad Dobbie.
8119 (verilog-auto-inst-interfaced-ports):
8120 Create verilog-auto-inst-interfaced-ports, bug429.
8121 Reported by Julian Gorfajn.
8122 (verilog-after-save-font-hook)
8123 (verilog-before-save-font-hook): New variable.
8124 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8125 (verilog-save-font-mods): Wrap disabling fontification, reported
8126 by David Rogoff.
8127 (verilog-do-indent, verilog-pretty-declarations-auto)
8128 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8129 Reported by Pierre-David Pfister.
8130 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8131 of class declarations, bug292. Reported by Kevin Heilman.
8132 (verilog-read-decls): Fix 'parameter type' not appearing in
8133 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8134 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8135 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8136 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8137 Reported by David Kravitz.
8138
81392012-05-03 Michael McNamara <mac@mail.brushroad.com>
8140
8141 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8142 assignment with tests in ifs and for loops.
8143 (verilog-extended-complete-re, verilog-complete-reg): Change so
8144 that DPI inport functions don't look like fuction declarations.
8145 (verilog-pretty-expr): Don't line up assignment
8146 operations to the test and increment in if and for loops
8147 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8148 that DPI inport functions don't look like fuction declarations.
47086495 8149
2e51d4b5
KH
81502012-05-03 Kenichi Handa <handa@m17n.org>
8151
8152 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8153 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8154 (Bug#11282).
8155
2bd785a2
SM
81562012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8157
8158 * emacs-lisp/bytecomp.el
8159 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8160 since cconv.el might have introduced :fun-body, internal-make-closure,
8161 and friends for bytecomp to handle (bug#11391).
8162 * custom.el (defcustom): Avoid ((λ ..) ..).
8163
99d27583
SM
81642012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8167
55a71479
JB
81682012-05-02 Juanma Barranquero <lekktu@gmail.com>
8169
8170 * notifications.el (dbus-debug):
8171 * term/linux.el (gpm-mouse-enable):
8172 * term/screen.el (xterm-register-default-colors): Declare.
8173
7b97c764
CY
81742012-05-02 Chong Yidong <cyd@gnu.org>
8175
2bc356d7
CY
8176 * cus-start.el (gc-cons-percentage, exec-suffixes)
8177 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8178 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8179 (make-cursor-line-fully-visible, void-text-area-pointer)
8180 (font-list-limit): Add customization data.
8181
7b97c764
CY
8182 * allout.el (allout-exposure-change-functions)
8183 (allout-structure-added-functions)
8184 (allout-structure-deleted-functions)
8185 (allout-structure-shifted-functions): Rename abnormal hooks from
8186 *-hook, and convert to defcustoms.
5d3385a0
JB
8187 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8188 Convert to defcustoms.
7b97c764
CY
8189 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8190
8191 * allout-widgets.el: Hook callers changed.
8192
90207a15 81932012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8194
8195 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8196 the yanked message in preference to the default value of
8197 buffer-file-coding-system.
8198
90207a15 81992012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8200
5d3385a0
JB
8201 * window.el (display-buffer--action-function-custom-type):
8202 Fix entry.
d9558cad 8203
90207a15 82042012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8205
8206 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8207
d80ac57b
GM
82082012-05-01 Glenn Morris <rgm@gnu.org>
8209
976f7668
GM
8210 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8211
beb83b5a
GM
8212 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8213
d80ac57b
GM
8214 * cus-edit.el (custom-variable-documentation): Simplify with format.
8215
b593d6a9 82162012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8217 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8218
8219 * simple.el (suggest-key-bindings, execute-extended-command):
8220 Move from keyboard.c.
8221
782fbf2a
CY
82222012-05-01 Chong Yidong <cyd@gnu.org>
8223
8224 * follow.el: Eliminate advice.
8225 (set-process-filter, process-filter, sit-for): Advice deleted.
8226 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8227 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8228 Vars deleted.
782fbf2a
CY
8229 (follow-auto): Use a :set function.
8230 (follow-mode): Rewritten. Don't advise process filters.
8231 (follow-switch-to-current-buffer-all, follow-scroll-up)
8232 (follow-scroll-down): Assume follow-mode is bound.
8233 (follow-comint-scroll-to-bottom)
8234 (follow-align-compilation-windows): New functions.
8235 (follow--window-sorter): New function.
8236 (follow-all-followers): Use it to explicitly sort windows by their
8237 positions; don't make assumptions about next-window order.
8238 (follow-windows-start-end, follow-delete-other-windows-and-split)
8239 (follow-calc-win-start): Doc fix.
8240 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8241 vertical-motion unnecessarily.
8242 (follow-adjust-window): New function.
8243 (follow-post-command-hook): Use it.
8244 (follow-call-set-process-filter, follow-call-process-filter)
8245 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8246 (follow-stop-intercept-process-output, follow-generic-filter):
8247 Functions deleted.
8248 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8249 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8250 New functions, replacing advice on scroll-bar-* commands.
87233a14 8251 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8252
8253 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8254 (comint-postoutput-scroll-to-bottom): Use it.
8255 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8256
290af740
GM
82572012-05-01 Glenn Morris <rgm@gnu.org>
8258
8259 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8260 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8261 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8262 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8263 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8264 Remove no-byte-compile setting.
8265
6eac8dc9
SM
82662012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8267
8268 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8269 all-completions code to not return a number in the last cdr.
8270
9cc7819c
LL
82712012-04-30 Leo Liu <sdl.web@gmail.com>
8272
8273 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8274 read-only error.
8275
c93b886f
CY
82762012-04-29 Chong Yidong <cyd@gnu.org>
8277
8278 * follow.el (follow-calc-win-end): Rewrite to handle partial
8279 screen lines correctly (Bug#8390).
8280 (follow-avoid-tail-recenter): Minor cleanup.
8281
8b6c19f4
SM
82822012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8283
8284 Avoid the obsolete `assoc' package.
8285 * speedbar.el (speedbar-refresh): Avoid adelete.
8286 (speedbar-file-lists): Simplify and avoid aput.
8287 * man.el (Man--sections, Man--refpages): New vars, replacing
8288 Man-sections-alist and Man-refpages-alist.
8289 (Man-build-section-alist, Man-build-references-alist):
8290 Use them; avoid aput.
8291 (Man--last-section, Man--last-refpage): New vars.
8292 (Man-follow-manual-reference): Use them.
8293 Use the `default' arg of completing-read.
8294 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8295
c5bb7569
CY
82962012-04-27 Chong Yidong <cyd@gnu.org>
8297
d1d2e2e8
CY
8298 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8299
15cd8efd
CY
8300 * startup.el (x-apply-session-resources): New function.
8301
8302 * term/ns-win.el (ns-initialize-window-system):
8303 * term/w32-win.el (w32-initialize-window-system):
8304 * term/x-win.el (x-initialize-window-system): Use it to properly
8305 set menu-bar-mode and other vars from X resources, even if the
8306 initial frame is not a window-system frame (Bug#2299).
8307
c5bb7569
CY
8308 * subr.el (read-key): Avoid running filter function when setting
8309 up temporary tool bar entries (Bug#9922).
8310
a8e7d6d7 83112012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8312
8313 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8314 (Bug#11344)
8315
a8e7d6d7 83162012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8317
8318 * select.el (xselect--encode-string): New function, split from
8319 xselect-convert-to-string.
8320 (xselect-convert-to-string): Use it.
8321 (xselect-convert-to-filename, xselect-convert-to-os)
8322 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8323 returned strings are properly encoded (Bug#11315).
8324
a8e7d6d7 83252012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8326
8327 * simple.el (delete-active-region): Move to killing custom group.
8328
a8e7d6d7 83292012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8330
8331 * progmodes/which-func.el (which-func-current): Quote %
8332 characters for mode-line processing.
8333
578c1d4b 83342012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8335
8336 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8337 reaching eob (Bug#11286).
8338
a8e7d6d7 83392012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8340
8341 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8342 (gdb): Make it buffer-local and init to zero.
8343 (gdb-control-commands-regexp): New variable.
8344 (gdb-send): Don't wrap in "-interpreter-exec console" if
8345 gdb-control-level is positive. Increment gdb-control-level
8346 whenever the command matches gdb-control-commands-regexp, and
8347 decrement it each time the command is "end". (Bug#11279)
8348
a8e7d6d7 83492012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8350
8351 * window.el (adjust-window-trailing-edge, enlarge-window)
8352 (shrink-window, window-resize):
8353 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8354 windows (Bug#11276).
8355
b3608390
CY
83562012-04-27 Chong Yidong <cyd@gnu.org>
8357
8358 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8359 fix "missing prefix" warning. All callers changed.
b3608390 8360
797e6e88
SM
83612012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8362
8363 * emacs-lisp/assoc.el: Move to obsolete/.
8364
e95a67dc
SM
83652012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8366
657c21e4 8367 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8368
8369 * term/ns-win.el (ns-define-service):
8370 * progmodes/pascal.el (pascal-goto-defun):
8371 * progmodes/js.el (js--read-tab):
8372 * progmodes/etags.el (tags-lazy-completion-table):
8373 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8374 * emacs-lisp/ewoc.el (ewoc--wrap):
8375 * emacs-lisp/assoc.el (aput, adelete, amake):
8376 * doc-view.el (doc-view-convert-current-doc):
8377 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8378
cb3e7ae0
CY
83792012-04-26 Chong Yidong <cyd@gnu.org>
8380
dce04f7f
CY
8381 * image.el (image-type-from-buffer): Only return supported image
8382 type (Bug#9045).
8383
cb3e7ae0
CY
8384 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8385 value, for symmetry with diff-end-of-hunk.
8386 (diff-split-hunk, diff-find-source-location)
8387 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8388 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8389 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8390 compute the relevant hunk or file properly (Bug#6005).
8391 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8392
0d42eb3e
SM
83932012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8394
8395 * vc/vc-mtn.el:
8396 * vc/vc-hg.el:
8397 * vc/vc-git.el:
8398 * vc/vc-dir.el:
8399 * vc/vc-cvs.el:
8400 * vc/vc-bzr.el:
8401 * vc/vc-arch.el:
8402 * vc/vc.el: Replace lexical-let by lexical-binding.
8403 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8404 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8405 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8406
f08ae1c9
CY
84072012-04-26 Chong Yidong <cyd@gnu.org>
8408
8b71081d
CY
8409 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8410 (diff-mode-shared-map): Bind it to / and [remap undo].
8411
f08ae1c9
CY
8412 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8413 (ediff-window-setup-function): Use it as the default, to set up
8414 windows based on whether the current frame is graphical (Bug#2138).
8415 (ediff-choose-window-setup-function-automatically): Make obsolete.
8416
8417 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8418
ef24141c
SM
84192012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8420
cc356a5d
SM
8421 * ffap.el: Remove old code for obsolete package.
8422 (ffap-complete-as-file-p): Remove.
8423
b4ff4f1f
SM
8424 Use completion-table-with-quoting for comint and pcomplete.
8425 * comint.el (comint--unquote&requote-argument)
8426 (comint--unquote-argument, comint--requote-argument): New functions.
8427 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8428 (comint-quote-filename): Use regexp-opt-charset.
8429 (comint--common-suffix, comint--common-quoted-suffix)
8430 (comint--table-subvert): Remove.
8431 (comint-unquote-function, comint-requote-function): New vars.
8432 (comint--complete-file-name-data): Use them with
8433 completion-table-with-quoting.
8434 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8435 * pcomplete.el (pcomplete-arg-quote-list)
8436 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8437 (pcomplete-unquote-argument-function): Default to non-nil.
8438 (pcomplete-unquote-argument): Simplify.
8439 (pcomplete--common-quoted-suffix): Remove.
8440 (pcomplete-requote-argument-function): New var.
8441 (pcomplete--common-suffix): New function.
8442 (pcomplete-completions-at-point): Use completion-table-with-quoting
8443 and completion-table-subvert.
8444
79c4eeb4
SM
8445 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8446 (minibuffer--double-dollars): Preserve properties.
8447 (completion--sifn-requote): New function.
8448 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8449
ef24141c
SM
8450 * minibuffer.el: Add support for completion of quoted/escaped data.
8451 (completion-table-with-quoting, completion-table-subvert): New funs.
8452 (completion--twq-try, completion--twq-all): New functions.
8453 (completion--nth-completion): New function.
8454 (completion-try-completion, completion-all-completions): Use it.
8455
784e7d6e
LL
84562012-04-25 Leo Liu <sdl.web@gmail.com>
8457
dd2ac746
SM
8458 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8459 Use compilation-message if available to find real filename.
784e7d6e 8460
07875ee7
CY
84612012-04-25 Chong Yidong <cyd@gnu.org>
8462
8463 * vc/diff-mode.el (diff-setup-whitespace): New function.
8464 (diff-mode): Use it.
8465
8466 * vc/diff.el (diff-sentinel):
8467 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8468 Whitespace mode variables based on diff style (Bug#8612).
8469
5055880d
LL
84702012-04-25 Leo Liu <sdl.web@gmail.com>
8471
daf75653
LL
8472 * progmodes/python.el (python-send-region): Add suffix .py to the
8473 temp file.
8474
5055880d
LL
8475 * files.el (auto-mode-alist): Use javascript-mode instead.
8476
db9b177b
AH
84772012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8478
ef24141c 8479 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8480
090bd7cb 8481 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8482 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8483 references, see Bug#9.
ef24141c 8484 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8485 when receiving a fault reply.
ef24141c 8486 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8487
090bd7cb 8488 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8489 (soap-inspect-simple-type): New function.
db9b177b 8490
090bd7cb 8491 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8492 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8493 (soap-decode-basic-type, soap-encode-basic-type):
8494 support unsignedInt and double basic types.
db9b177b 8495 (soap-resolve-references-for-simple-type)
ef24141c
SM
8496 (soap-parse-simple-type, soap-encode-simple-type): New function.
8497 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8498
090bd7cb 8499 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8500 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8501 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8502 the local name of "soapenc:Array".
8503 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8504 decoding integer, byte and anyURI xsd types.
8505
1fc6097b
CY
85062012-04-25 Chong Yidong <cyd@gnu.org>
8507
8508 * cus-edit.el (custom-buffer-create-internal): Update header text.
8509
afc6df87
EZ
85102012-04-25 Eli Zaretskii <eliz@gnu.org>
8511
8512 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8513 settings on 'system-type', not on 'window-system'. On MS-Windows,
8514 set interactive-mode on in GDB.
8515
dfbd787f
SM
85162012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8517
8518 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8519 (ruby-syntax-propertize-regexp): Remove.
8520 (ruby-syntax-propertize-function): Split regexp into chunks.
8521 Match following code directly.
8522
85222d44
DG
85232012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8524
51a8ea2a
DG
8525 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8526 (ruby-syntax-propertize-regexp): New function.
8527 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8528 by a special keyword.
8529
85222d44
DG
8530 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8531 (ruby-syntax-general-delimiters-goto-beg)
8532 (ruby-syntax-propertize-general-delimiters): New functions.
8533 (ruby-syntax-propertize-function): Use them to handle GDL.
8534 (ruby-font-lock-keywords): Move old handling of GDL...
8535 (ruby-font-lock-syntactic-keywords): .. to here.
8536 (ruby-calculate-indent): Adjust indentation for GDL.
8537
b613912b
MA
85382012-04-24 Michael Albinus <michael.albinus@gmx.de>
8539
b5380639
MA
8540 * notifications.el (top): Remove unneeded declarations.
8541 (notifications-specification-version): Change to "1.2".
e43042fe 8542 (notifications-interface, notifications-notify-method)
b613912b
MA
8543 (notifications-close-notification-method): Fix docstring.
8544 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8545 (notifications-notify): Add :action-items, :resident and
8546 :transient hints. Change "image_data" to "image-data" and
8547 "image_path" to "image-path".
b613912b
MA
8548 (notifications-get-capabilities): New defun.
8549
257440aa
LL
85502012-04-24 Leo Liu <sdl.web@gmail.com>
8551
8552 * progmodes/python.el: Move hideshow setup to the end.
8553
b1bac16e
MR
85542012-04-24 Martin Rudalics <rudalics@gmx.at>
8555
8556 * window.el (handle-select-window): Clear echo area since this is
8557 no more done by read_char (Bug#11304).
8558
d81bd059
SM
85592012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8562 and `/ M' to filter-derived-mode.
8563 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8564 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8565 (ibuffer-mark-by-mode): Use default rather than initial-input.
8566 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8567
c4cf6d91
IA
85682012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8569
8570 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8571 (ibuffer-filter-by-derived-mode): New filter.
8572 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8573
7511ded8
CY
85742012-04-23 Andreas Politz <politza@fh-trier.de>
8575
8576 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8577
775c916b
CY
85782012-04-23 Chong Yidong <cyd@gnu.org>
8579
8580 * cus-edit.el (customize-apropos, customize-apropos-options):
8581 Disable matching of non-option variables (Bug#11176).
8582 (customize-option, customize-option-other-window)
8583 (customize-changed-options): Doc fix.
8584 (customize-apropos-options, customize-apropos-faces)
8585 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8586
8587 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8588 Fix word list splitting (Bug#11132).
46c71e23
CY
8589 (apropos-symbol, apropos-keybinding, apropos-label)
8590 (apropos-property, apropos-function-button)
8591 (apropos-variable-button, apropos-misc-button): New faces.
8592 (apropos-symbol-face, apropos-keybinding-face)
8593 (apropos-label-face, apropos-property-face, apropos-match-face):
8594 Variables removed (Bug#8396).
8595 (apropos-library-button, apropos-format-plist, apropos-print)
8596 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8597
2df41f9c
MA
85982012-04-23 Michael Albinus <michael.albinus@gmx.de>
8599
8600 * net/xesam.el (xesam-mode-map): Use let-bound map in
8601 initialization. (Bug#11292)
8602
da00640a
AM
86032012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8604
8605 Preserve ispell session localwords when switching back to
8606 original buffer.
8607
090bd7cb
JB
8608 * textmodes/ispell.el (ispell-buffer-session-localwords):
8609 New buffer-local variable to hold buffer session localwords.
ed9265fc 8610 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8611 localwords.
8612 (ispell-command-loop, ispell-change-dictionary)
8613 (ispell-buffer-local-words): Preserve session localwords when
8614 needed.
8615
090bd7cb
JB
8616 * textmodes/flyspell.el (flyspell-process-localwords)
8617 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8618
f621ccf5
AM
86192012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8620
090bd7cb
JB
8621 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8622 using obsolete `translation-table-for-input'.
ef24141c
SM
8623 (ispell-word, ispell-process-line, ispell-complete-word):
8624 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8625
c2d1019e
CY
86262012-04-22 Chong Yidong <cyd@gnu.org>
8627
8628 * cus-edit.el (custom-variable-menu)
8629 (custom-variable-reset-saved, custom-face-menu)
8630 (custom-face-reset-saved): If there is no saved value, make the
8631 "reset-saved" operation bring back the default (Bug#9509).
8632 (custom-face-state): Properly detect themed faces.
8633
eeddc531
CY
8634 * faces.el (face-spec-set): Stop supporting deprecated form of
8635 third arg.
8636
dcbf5805
MA
86372012-04-22 Michael Albinus <michael.albinus@gmx.de>
8638
8639 Move functions from C to Lisp. Make non-blocking method calls
8640 the default. Implement further D-Bus standard interfaces.
8641
ef24141c
SM
8642 * net/dbus.el (dbus-message-internal): Declare function.
8643 Remove unneeded function declarations.
dcbf5805
MA
8644 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8645 (dbus-message-type-method-return, dbus-message-type-error)
8646 (dbus-message-type-signal): Declare variables. Remove local
8647 definitions.
8648 (dbus-interface-dbus, dbus-interface-peer)
8649 (dbus-interface-introspectable, dbus-interface-properties)
8650 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8651 Adapt docstring.
8652 (dbus-interface-objectmanager): New defconst.
8653 (dbus-call-method, dbus-call-method-asynchronously)
8654 (dbus-send-signal, dbus-method-return-internal)
8655 (dbus-method-error-internal, dbus-register-service)
8656 (dbus-register-signal, dbus-register-method): New defuns, moved
8657 from dbusbind.c
8658 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8659 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8660 New defuns.
dcbf5805
MA
8661 (dbus-call-method-non-blocking): Make it an obsolete function.
8662 (dbus-unregister-object, dbus-unregister-service)
8663 (dbus-handle-event, dbus-register-property)
8664 (dbus-property-handler): Obey the new structure of
8665 `bus-registered-objects'.
8666 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8667 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8668 Use `dbus-call-method'.
8669
cf20dee0
CY
86702012-04-22 Chong Yidong <cyd@gnu.org>
8671
8672 * cus-edit.el (custom-commands, custom-reset-menu)
8673 (Custom-reset-standard): Tweak labels.
8674 (custom-reset-button-menu): Change default to t.
8675 (custom-buffer-create-internal): For the custom-reset-button-menu
8676 case, put the revert button first.
8677 (custom-group-subtitle): New face.
8678 (custom-group-value-create): Align docstring to a specific column.
8679
8680 * wid-edit.el (widget-documentation-link-add): Don't handle
8681 indentation in this function.
8682 (widget-documentation-string-indent-to): New function.
8683 (widget-documentation-string-value-create): Use it.
8684
8685 * autorevert.el (auto-revert):
8686 * epg-config.el (epg):
8687 * ibuffer.el (ibuffer):
8688 * mpc.el (mpc):
8689 * ses.el (ses):
8690 * eshell/eshell.el (eshell):
8691 * net/ange-ftp.el (ange-ftp):
8692 * progmodes/ebnf2ps.el (postscript):
8693 * progmodes/flymake.el (flymake):
8694 * progmodes/prolog.el (prolog):
8695 * progmodes/verilog-mode.el (verilog-mode):
8696 * progmodes/which-func.el (which-func):
8697 * term/xterm.el (xterm):
8698 * textmodes/picture.el (picture):
8699 * textmodes/tildify.el (tildify):
8700 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8701 customization buffers.
8702
583e23bd
AM
87032012-04-22 Alan Mackenzie <acm@muc.de>
8704
8705 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8706 Adding a ) can hide the resulting (..) from searches. Fix it.
8707 Bound the backward search to the position of the existing (.
8708
7dd51bf1
JB
87092012-04-21 Juanma Barranquero <lekktu@gmail.com>
8710
8711 * progmodes/verilog-mode.el (verilog-mode): Check whether
8712 which-func-modes is t before adding verilog-mode.
8713 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8714
d64a438f
LL
87152012-04-21 Leo Liu <sdl.web@gmail.com>
8716
7dd51bf1 8717 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8718
081e8d65
MV
87192012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8720
8721 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8722 filling of the last column of a table (Bug#5635).
8723 (woman-find-next-control-line): New arg, specifying an additional
8724 regexp component for the control line.
8725 (woman2-roff-buffer): Use it.
8726 (woman-break-table): New function.
8727 (woman2-TS): Use it.
8728
87292012-04-21 Chong Yidong <cyd@gnu.org>
8730
8731 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8732 (woman-horizontal-escapes, woman-negative-vertical-space)
8733 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8734 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8735
ed571ccb
SM
87362012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8737
8738 * minibuffer.el (completion-file-name-table): Complete user names.
8739
39773899
LL
87402012-04-20 Leo Liu <sdl.web@gmail.com>
8741
8742 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8743 and pcase-let*.
8744
de6ff46d
CY
87452012-04-20 Chong Yidong <cyd@gnu.org>
8746
8747 * server.el (server-execute): Respect initial-buffer-choice if it
8748 is a string and there are no files to open (Bug#2825).
8749 (server-create-window-system-frame, server-create-tty-frame):
8750 Don't switch buffers here.
2d0e8e61
CY
8751 (server-process-filter): Only try to open a window system frame if
8752 compiled with graphical support (Bug#8314).
de6ff46d 8753
54071013
DN
87542012-04-20 Dan Nicolaescu <dann@gnu.org>
8755
8756 * battery.el (battery-echo-area-format): Display remaining time
8757 for sysfs backend too (Bug#11269).
8758 (battery-linux-sysfs): Fix conditional for the charge.
8759
f30d612a
CY
87602012-04-20 Chong Yidong <cyd@gnu.org>
8761
c07a4c0b 8762 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8763 (gdb-inferior-io--init-proc): New function.
8764 (gdb-init-1): Use it.
8765 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8766 responsible for allocating a new pty and hooking it to gdb when
8767 the old pty gets an EIO due to process exit.
8768 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8769 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8770 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8771
2116e93c
EZ
87722012-04-20 Eli Zaretskii <eliz@gnu.org>
8773
8774 * window.el (window-min-size, window-sizable, window-min-delta)
8775 (window-max-delta, window--resizable, window-resizable)
8776 (window-total-size, window-full-height-p, window-full-width-p)
8777 (window-in-direction, window--resize-mini-window, window-resize)
8778 (window--resize-child-windows-normal)
8779 (window--resize-child-windows, window--resize-siblings)
8780 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8781 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8782
c07a4c0b 87832012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8784
ef24141c
SM
8785 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8786 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8787 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8788 pty process (Bug#11273).
8789 (gdb-update): New arg to suppress talking to the gdb process.
8790 (gdb-done-or-error): Use it.
8791 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8792 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8793 sentinel not being called.
8794
8795 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8796
d02766ab
CY
8797 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8798
c07a4c0b 87992012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8800
8801 * net/network-stream.el (open-network-stream): Doc fix.
8802
c07a4c0b 88032012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8804
8805 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8806
c07a4c0b 88072012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8808
8809 Ensure searching for keywords is case sensitive.
8810
8811 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8812 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8813 (c-defun-name, c-mark-function, c-cpp-define-name)
8814 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8815 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8816
ef24141c
SM
8817 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8818 Bind case-fold-search to nil.
f0f6bc35 8819
c07a4c0b 88202012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8821
8822 * mail/sendmail.el (mail-bury): Call return action with the right
8823 Rmail buffer (Bug#11242).
8824
9a864fa2
CY
8825 * server.el (server-process-filter): Handle corner case where both
8826 tty and nowait options are present (Bug#11102).
8827
539aa513
EZ
88282012-04-20 Eli Zaretskii <eliz@gnu.org>
8829
8830 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8831 (top level): Put into the executable the ident-style '$Id:' tag on
8832 windows-nt as well.
539aa513 8833
cfc7d5da
SM
88342012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8835
8836 * electric.el (electric-indent-post-self-insert-function): Check that
8837 electric-indent-mode is enabled in current buffer.
8838
5b01685c
JB
88392012-04-19 Juanma Barranquero <lekktu@gmail.com>
8840
8841 * imenu.el (imenu-progress-message): Restore; it is "used" in
8842 erc/erc-imenu.el and net/snmp-mode.el.
8843
4d6769e1
JB
88442012-04-19 Juanma Barranquero <lekktu@gmail.com>
8845
8846 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8847 (mouse-avoidance-nudge-mouse): Remove unused binding.
8848
8849 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8850
8851 * descr-text.el (describe-char):
8852 * progmodes/python.el (python-describe-symbol):
8853 Don't call `toggle-read-only', set `buffer-read-only'.
8854
8855 * imenu.el (imenu-default-goto-function): Mark unused args.
8856 (imenu-progress-message): Remove obsolete macro; all callers changed.
8857
8858 * subr.el (keymap-canonicalize): Remove unused binding.
8859 (read-passwd): Mark unused arg.
8860
8861 * tutorial.el (tutorial--display-changes): Remove unused binding.
8862 (tutorial--save-tutorial-to): Remove unused variable.
8863
8864 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8865 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8866 (package-generate-autoloads, package-menu--generate)
8867 (package-menu--find-upgrades): Remove unused bindings.
8868
8869 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8870 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8871 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8872 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8873 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8874 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8875 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8876 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8877 (cua-delete-char-rectangle): Mark unused args.
8878 (cua-align-rectangle): Remove unused binding.
8879
8880 * mail/rmail.el (compilation--message->loc)
8881 (epa--find-coding-system-for-mime-charset): Declare.
8882
8883 * net/dbus.el (dbus-register-service): Declare.
8884 (dbus-name-owner-changed-handler): Remove unused binding.
8885
8886 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8887 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8888 (nxml-scan-backward-within): Mark unused arg.
8889 (nxml-dynamic-markup-word): Remove unused binding.
8890
8891 * mouse.el (mouse-menu-major-mode-map):
8892 * emacs-lisp/authors.el (authors-scan-change-log)
8893 (authors-add-to-author-list):
8894 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8895 * emacs-lisp/smie.el (smie-auto-fill):
8896 * mail/sendmail.el (mail-bury):
8897 * mail/unrmail.el (unrmail):
8898 * net/tls.el (open-tls-stream):
8899 * textmodes/picture.el (picture-mouse-set-point):
8900 Remove unused bindings.
8901
8c8fc5df
MA
89022012-04-19 Michael Albinus <michael.albinus@gmx.de>
8903
8904 * net/tramp.el (tramp-action-password): Let-bind
8905 `enable-recursive-minibuffers' to t.
8906
a77b0ac9
SS
89072012-04-18 Sam Steingold <sds@gnu.org>
8908
8909 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8910 instead of 'string to accommodate values like [f11].
8911 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8912 * progmodes/gdb-mi.el: Likewise.
8913
12a106a9
LL
89142012-04-18 Leo Liu <sdl.web@gmail.com>
8915
8916 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8917 current buffer.
8918 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8919 LOCAL is nil.
8920
bc6494ef
CY
89212012-04-18 Chong Yidong <cyd@gnu.org>
8922
8923 * simple.el (line-move): Use forward-line if in batch mode
8924 (Bug#11053).
8925
c09c46b2
CS
89262012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8927
8928 * files.el (after-find-file): Do not try to add a final newline if
8929 the buffer is read-only (Bug#11156).
8930
5f6530ea
RS
89312012-04-17 Richard Stallman <rms@gnu.org>
8932
8933 * mail/rmail.el (rmail-start-mail):
8934 Pass (rmail-mail-return...) for the return-action.
8935 Pass (rmail-yank-current-message...) for the yank-action.
8936 (rmail-yank-current-message): New function.
8937 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8938 (rmail-reply): Likewise.
8939 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8940
8941 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8942 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8943 buffer, not newbuf.
8944
197b6f3c
JB
89452012-04-17 Juanma Barranquero <lekktu@gmail.com>
8946
8947 * server.el (server-ensure-safe-dir): Simplify.
8948
2311d8e5 89492012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8950
2311d8e5
GM
8951 * emacs-lisp/smie.el: Provide smarter auto-filling.
8952 (smie-auto-fill): New function.
8953 (smie-setup): Use it.
98fb480e 8954
2311d8e5
GM
8955 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8956
89572012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8958
8959 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8960 (comment-indent): Use it.
8961
2311d8e5 89622012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8963
8964 * ses.el: The overall change is to add cell renaming, that is
8965 setting fancy names for cell symbols other than name matching
8966 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8967 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8968 (ses-create-cell-variable): New defun.
2311d8e5 8969 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8970 (ses-relocate-formula): Relocate formulas only for cells the
8971 symbols of which are not renamed, i.e. symbols whose names do not
8972 match regexp "\\`[A-Z]+[0-9]+\\'".
8973 (ses-relocate-all): Relocate values only for cells the symbols of
8974 which are not renamed.
8975 (ses-load): Create cells variables as the (ses-cell ...) are read,
8976 in order to check row col consistency with cell symbol name only
8977 for cells that are not renamed.
8978 (ses-replace-name-in-formula): New defun.
8979 (ses-rename-cell): New defun.
4bdf2ad2 8980
fc72b15c
PO
89812012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8982
8983 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8984 New option (bug#11118).
8985 (perl-calculate-indent): Respect it.
8986
12e10e61
GM
89872012-04-17 Glenn Morris <rgm@gnu.org>
8988
8989 * dired-aux.el (dired-mark-read-string): Doc fix.
8990
30009afd
DA
89912012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8992
8993 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8994 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8995
41f03f4d
GM
89962012-04-17 Glenn Morris <rgm@gnu.org>
8997
8998 * mouse.el (mouse-drag-track):
8999 * speedbar.el (speedbar-frame-mode):
9000 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9001
f45f90f3
LL
90022012-04-16 Leo Liu <sdl.web@gmail.com>
9003
9004 * progmodes/python.el: Trivial cleanup.
9005
94ee8db5
GM
90062012-04-16 Glenn Morris <rgm@gnu.org>
9007
121b8917
GM
9008 * vc/vc.el (vc-string-prefix-p):
9009 * vc/pcvs-util.el (cvs-string-prefix-p):
9010 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9011 * mpc.el (mpc-string-prefix-p):
9012 Make all of these into obsolete aliases for string-prefix-p.
9013 Update callers.
9014 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9015
1197ecfa
GM
9016 * textmodes/two-column.el: Move custom options to the start.
9017 (frame-width): Remove compat definition.
9018 (2C-associate-buffer, 2C-dissociate):
9019 Use with-current-buffer rather than save-excursion.
9020 (2C-dissociate): Force a mode-line update.
9021 (2C-autoscroll): Use ignore-errors.
9022
099e7202
GM
9023 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9024 Autoload trivia.
9025
bf350d6a
GM
9026 * emacs-lisp/cl-extra.el (*random-state*):
9027 Remove unnecessary declaration.
9028
0e829eab
GM
9029 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9030
e3ad7552
GM
9031 * play/cookie1.el (cookie-snarf):
9032 Give an explicit error if input file cannot be read.
9033
68892d27
GM
9034 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9035
20f0c46d
GM
9036 * progmodes/perl-mode.el (c-macro-expand):
9037 Remove unnecessary autoload (it is in loaddefs.el).
9038
5a0978ce
GM
9039 * textmodes/picture.el (picture-desired-column)
9040 (picture-update-desired-column): Convert comments to doc-strings.
9041 (picture-substitute): Remove function.
9042 (picture-mode-map): Initialize in the defvar.
9043
6b955486
GM
9044 * woman.el: Remove eval-after-load for tar-mode.
9045 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9046 (woman-tar-extract-file): Autoload it.
9047
94ee8db5
GM
9048 * frame.el (automatic-hscrolling): Make this alias obsolete.
9049
177eca34
AM
90502012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9051
090bd7cb 9052 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9053 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9054 (ispell-dictionary-base-alist): Revert to original XEmacs
9055 friendly version for default. [:alpha:] will be added in
090bd7cb 9056 `ispell-set-spellchecker-params' if needed.
177eca34 9057
c505aaeb
CY
90582012-04-16 Chong Yidong <cyd@gnu.org>
9059
b19dd9d1 9060 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9061 (imagemagick-register-types): Use it.
9062 (imagemagick-types-inhibit): Add :set function. Allow new value
9063 of t to inhibit all types.
9064
9065 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9066 so we can preload it.
9067
9068 * loadup.el (fboundp): Preload regexp-opt, needed by
9069 imagemagick-register-types.
9070
60efac0f
CY
90712012-04-15 Chong Yidong <cyd@gnu.org>
9072
9073 * frame.el (scrolling): Remove nearly unused customization group.
9074
9075 * scroll-all.el (scroll-all-mode): Move to windows group.
9076
5dd1713e
CY
90772012-04-15 Chong Yidong <cyd@gnu.org>
9078
9079 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9080
e6fd457e
CY
90812012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9082
9083 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9084 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9085
e153c136
GM
90862012-04-15 Glenn Morris <rgm@gnu.org>
9087
9088 * simple.el (process-file-side-effects): Doc fix.
9089
e6fd457e 90902012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9091
9092 * international/mule-cmds.el (set-language-environment): Doc fix.
9093
3603c3b1
JB
90942012-04-14 Juanma Barranquero <lekktu@gmail.com>
9095
9096 * server.el (server-auth-key, server-generate-key): Doc fixes.
9097 (server-get-auth-key): Doc fix. Use `string-match-p'.
9098 (server-start): Reflow docstring.
9099
e6de100c
LI
91002012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9101
9102 * server.el (server-generate-key): `called-interactively-p'
9103 requires a parameter.
9104
29734c21
MN
91052012-04-14 Michal Nazarewicz <mina86@mina86.com>
9106
9107 * server.el (server-auth-key): New variable.
75f1671a 9108 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9109 (server-start): Use the new variable and functions to allow
9110 setting a permanent server key (bug#9423).
9111
d65c9521
LL
91122012-04-14 Leo Liu <sdl.web@gmail.com>
9113
9114 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9115
5ae255c7
PE
91162012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9117
9118 Spelling fixes.
9119 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9120 Emacs uses American spelling.
9121
d5e6342e
JB
91222012-04-14 Juanma Barranquero <lekktu@gmail.com>
9123
9124 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9125 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9126 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9127 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9128
ab036cd7
SM
91292012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * progmodes/which-func.el (which-func-modes): Change default.
9132
35dc09a1 91332012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9134
9135 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9136 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9137
35dc09a1 91382012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9139
9140 * custom.el (custom-theme-set-variables): Doc fix.
9141
35dc09a1 91422012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9143
9144 * international/mule.el (set-auto-coding-for-load): Doc fix.
9145
35dc09a1 91462012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9147
35dc09a1
GM
9148 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9149 imenu work again for Objective C Mode. Correct the *-index values,
9150 these having been disturbed by a previous change in 2011-08.
57f845ee 9151
0de3da9f
AM
9152 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9153 Correct two search limits.
9154
35dc09a1 91552012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9156
9157 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9158
35dc09a1 91592012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9160
9161 * international/characters.el: Fix sorting.
9162
35dc09a1 91632012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9164
9165 * international/characters.el: Add more missing Latin case pairs.
9166
35dc09a1 91672012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9168
9169 * files.el (dir-locals-set-class-variables): Doc fix.
9170
35dc09a1 91712012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9172
3f1b5bf8
EZ
9173 * international/characters.el: Add set-case-syntax-pair call for
9174 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9175 counterpart. (Bug#11209)
9176
9f847f41
EZ
9177 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9178
35dc09a1 91792012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9180
9181 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9182
35dc09a1 91832012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9184
35dc09a1
GM
9185 * textmodes/ispell.el (ispell-dictionary-base-alist):
9186 Add data for Hebrew.
e2627d21 9187
35dc09a1 91882012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9189
35dc09a1
GM
9190 * net/rcirc.el (rcirc-cmd-quit):
9191 Revert 2012-03-18 change (Bug#11192).
5c14e333 9192
35dc09a1 91932012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9194
9195 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9196
35dc09a1 91972012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9198
4517fe3a
SM
9199 * minibuffer.el (completion-in-region-mode-map):
9200 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9201
b472a594
VD
92022012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9203
9204 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9205
09b95ce3
MY
92062012-04-13 Masatake YAMATO <yamato@redhat.com>
9207
9208 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9209 to allow `C-M-f' and `C-M-b' to move to the nearest path
9210 separator (bug#9511).
9211
4b63a9ca
LI
92122012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9213
9214 * avoid.el: Require cl when compiling. And also move the
9215 `provide' to the end.
9216
7b55b8bf
TV
92172012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9218
9219 * avoid.el (mouse-avoidance-banish-position): New variable.
9220 (mouse-avoidance-banish-destination): Use it (bug#10165).
9221
adedaa1f
LL
92222012-04-13 Leo Liu <sdl.web@gmail.com>
9223
9224 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9225
70e74021
KB
92262012-04-13 Ken Brown <kbrown@cornell.edu>
9227
9228 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9229 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9230 (browse-url-filename-alist): For the same reason, don't modify
9231 file:// URLs on Cygwin.
9232
e75e89ba
SM
92332012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9234
9235 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9236 the region on shift if the binding is already shifted (bug#11221).
9237
82f289a4
GM
92382012-04-12 Glenn Morris <rgm@gnu.org>
9239
9240 * mail/mailpost.el: Move to obsolete/.
9241
d333dc4c
DA
92422012-04-12 Drew Adams <drew.adams@oracle.com>
9243
9244 * imenu.el (imenu--generic-function): Ignore invisible definitions
9245 (bug#10123).
9246
0d15b5ba
VD
92472012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9248
9249 * hexl.el (hexl-bits): New variable.
9250 (hexl-options): Mention the variable in the doc string.
75f1671a 9251 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9252 (hexl-mode): Mention the new variable.
75f1671a
JB
9253 (hexl-mode, hexl-current-address, hexl-current-address):
9254 Use the displen.
0d15b5ba
VD
9255 (hexl-ascii-start-column): New function.
9256 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9257 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9258
64a440db
AM
92592012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9260
9261 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9262 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9263 the encoding, as expected by hunspell.
9264
6decb6c2
SM
92652012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9266
9267 * battery.el (battery--linux-sysfs-regexp): New const.
9268 (battery-status-function): Use it. Remove yeeloong special case.
9269 (battery-yeeloong-sysfs): Remove.
9270 (battery-echo-area-format): Remove yeeloong special case.
9271
088be6fb
SM
92722012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9273
6622e416
SM
9274 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9275 Reported by Noah Friedman.
9276
088be6fb
SM
9277 * subr.el (read-passwd): Use read-string.
9278
b49f886e
LMI
92792012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9280
9281 * vcursor.el (vcursor-move): Increase the priority of the overlay
9282 (bug#9663).
9283
a63067fc
DD
92842012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9285
9286 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9287 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9288
ac3cf14a
WS
92892012-04-11 William Stevenson <yhvh2000@gmail.com>
9290
9291 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9292 define-minor-mode (bug#10760).
9293
c4fc691b 92942012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9295
4d6769e1 9296 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9297 that directories matching `grep-find-ignored-files' won't be
9298 pruned (bug#10351).
9299
af23e2e5
CY
93002012-04-11 Chong Yidong <cyd@gnu.org>
9301
9302 * startup.el (command-line): Remove support for long-obsolete
9303 variable font-lock-face-attributes.
9304
ab7ce8c1
GM
93052012-04-11 Glenn Morris <rgm@gnu.org>
9306
9307 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9308
de8c03dc
SM
93092012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * window.el (window--state-get-1): Obey window-point-insertion-type.
9312
050cc68b
LB
93132012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9314
9315 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9316 to previous function when point is on the first character of a
75f1671a 9317 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9318
a38c310c
GM
93192012-04-11 Glenn Morris <rgm@gnu.org>
9320
effed0c2
GM
9321 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9322 not just file-errors.
9323
a38c310c
GM
9324 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9325 (vc-bzr-sha1): Use internal sha1.
9326
0221e323
SM
93272012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9330
43956923
SG
93312012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9332
9333 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9334 that start in the middle of the line (bug#10496).
9335
6a8c9eaf
DN
93362012-04-10 Dan Nicolaescu <dann@gnu.org>
9337
9338 * battery.el (battery-linux-proc-acpi): Only one battery is
9339 discharged at a time, but that seems to confuse battery.el when
9340 computing `rate-type' for the battery not being discharged
9341 (bug#10332).
9342
1930bf5d
SM
93432012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9344
2a718f6f
SM
9345 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9346
599430d0
SM
9347 * international/quail.el: Use dolist and simplify.
9348 (quail-define-package, quail-update-keyboard-layout)
9349 (quail-define-rules): Use dolist.
9350 (quail-insert-kbd-layout, quail-get-translation): CSE.
9351
a2754b6c
SM
9352 * tmm.el: Use dolist, remove left over hook.
9353 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9354 Use dolist.
9355 (calendar-load-hook): Don't mess with it.
9356
1930bf5d
SM
9357 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9358 Use derived-mode-p. Run the diff asynchronously.
9359
9f67961c
LMI
93602012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9361
9362 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9363
2a8ce227
JB
93642012-04-10 Juanma Barranquero <lekktu@gmail.com>
9365
9366 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9367 (list-dynamic-libraries--loaded): New function.
9368 (list-dynamic-libraries--refresh): Use it.
9369
8f33b5f8
NW
93702012-04-10 Nathan Weizenbaum <nweiz@google.com>
9371
1930bf5d
SM
9372 * progmodes/python.el (python-fill-paragraph):
9373 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9374 disabled (bug#7018).
9375
b12f0439
L
93762012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9377
1930bf5d 9378 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9379 DOS/MS Windows for the Baltic languages. There are still plenty
9380 of texts written in this encoding/codepage (bug#6519).
b12f0439 9381
57c3bd01
GM
93822012-04-10 Glenn Morris <rgm@gnu.org>
9383
9384 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9385 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9386
6c3eab30
FA
93872012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9388
1930bf5d 9389 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9390 next-line "n" and previous-line "p" in order to make recentf more
9391 consistent with ibuffer, dired or org-mode (bug#9387).
9392
24d78a88
LMI
93932012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9394
bc72b5d9
LMI
9395 * image.el (put-image): Return the overlay created instead of the
9396 optional input string (bug#7834). Note that this may break code
9397 that is (for some reason or other) depending on `put-image'
9398 returning the string.
9399
bd2dba5a
LMI
9400 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9401
74beb59f
LMI
9402 * simple.el (zap-to-char): Allow zapping using input methods
9403 (bug#1580).
9404
24d78a88
LMI
9405 * textmodes/fill.el (fill-region): Leave point and mark where they
9406 were before filling (bug#5399).
9407
263f20cd
GM
94082012-04-09 Glenn Morris <rgm@gnu.org>
9409
9410 * version.el (emacs-bzr-get-version):
9411 Handle lightweight checkouts of local branches.
9412
58d1f797
AS
94132012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9414
263f20cd 9415 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9416
b4d3bc10
CY
94172012-04-09 Chong Yidong <cyd@gnu.org>
9418
9419 * custom.el (custom-variable-p): Return nil for non-symbol
9420 arguments instead of signaling an error.
9421 (user-variable-p): Obsolete alias for custom-variable-p.
9422
9423 * apropos.el (apropos-variable):
9424 * files-x.el (read-file-local-variable):
9425 * simple.el (set-variable):
9426 * woman.el (woman-mini-help):
9427 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9428
fd06db5d
GM
94292012-04-09 Glenn Morris <rgm@gnu.org>
9430
e5fcdb5e
GM
9431 * startup.el (normal-top-level): Don't look for leim-list.el
9432 in places where it will not be found. (Bug#910)
9433
fd06db5d
GM
9434 * international/mule-cmds.el (set-default-coding-systems):
9435 * files.el (normal-mode):
9436 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9437 This function was removed with ucs-tables.el in 2008.
9438
b39bb7e1
EZ
94392012-04-08 Eli Zaretskii <eliz@gnu.org>
9440
9441 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9442 ispell-encoding8-command to "-i", without a trailing space.
9443 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9444 separate command-line arguments, to specify the encoding, since
9445 that's how hunspell expects it.
9446
5c5b8e23
GM
94472012-04-08 Glenn Morris <rgm@gnu.org>
9448
9449 * loadup.el: Load bindings before cus-start.
9450 This reduces somewhat the number of "rogue" settings in emacs -Q.
9451
a1ed8b05
GM
94522012-04-07 Glenn Morris <rgm@gnu.org>
9453
9454 * version.el (emacs-bzr-get-version): New function.
dfae128a 9455 (emacs-bzr-version): New variable.
a1ed8b05
GM
9456 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9457 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9458
b142f158
EZ
94592012-04-07 Eli Zaretskii <eliz@gnu.org>
9460
dfae128a
GM
9461 * international/uni-bidi.el, international/uni-category.el:
9462 * international/uni-combining.el, international/uni-decimal.el:
9463 * international/uni-decomposition.el, international/uni-digit.el:
9464 * international/uni-lowercase.el, international/uni-mirrored.el:
9465 * international/uni-name.el, international/uni-numeric.el:
9466 * international/uni-titlecase.el, international/uni-uppercase.el:
9467 Update for Unicode 6.1.
b142f158 9468
9078ead6
EZ
94692012-04-07 Eli Zaretskii <eliz@gnu.org>
9470
9471 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9472
f23d2c7d
LMI
94732012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9474
9475 * window.el (shrink-window): Mention the `window-min-height'
9476 variable in the doc string.
9477
0a0a3573
BG
94782012-04-05 Bastien Guerry <bzg@altern.org>
9479
9480 * color.el (color-lighten-name): Fix typo.
9481
e5248ac9
SM
94822012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * server.el (server--on-display-p): New function.
9485 (server--on-display-p): Use it.
9486
b4243e22
GV
94872012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9488
9489 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9490 (bug#11145).
9491
305d9f44
SM
94922012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9493
9494 * comint.el (comint--common-quoted-suffix): Check string boundary
9495 before comparing (bug#11158).
9496 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9497
3d439cd1
CY
94982012-04-04 Chong Yidong <cyd@gnu.org>
9499
321cc491
CY
9500 * minibuffer.el (completion-extra-properties): Doc fix.
9501
3d439cd1
CY
9502 * subr.el (delayed-warnings-hook): Doc fix.
9503
2d562c0f
DU
95042012-04-04 Daiki Ueno <ueno@unixuser.org>
9505
9506 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9507 selection (Bug#11159).
9508 (epa-insert-keys): Inform that the default public key will be
9509 exported if no key is selected.
9510
4443f204
RS
95112012-04-04 Richard Stallman <rms@gnu.org>
9512
9513 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9514
529c06b6
CY
95152012-04-03 Chong Yidong <cyd@gnu.org>
9516
9517 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9518 mail-insert-file, not its obsolete alias mail-attach-file.
9519
66b907dc
MA
95202012-04-03 Michael Albinus <michael.albinus@gmx.de>
9521
9522 * notifications.el (notifications-notify): Fix docstring.
9523
c0ea195d
GM
95242012-04-02 Glenn Morris <rgm@gnu.org>
9525
9526 * emacs-lisp/authors.el (authors-aliases): Another addition.
9527
5ca64e00
MA
95282012-04-02 Michael Albinus <michael.albinus@gmx.de>
9529
9530 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9531 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9532 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9533
42ee526b
CY
95342012-04-01 Chong Yidong <cyd@gnu.org>
9535
9536 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9537 Handle root directory properly.
9538 (copy-directory): Caller changed.
9539
9540 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9541 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9542
0b021094
GM
95432012-03-31 Glenn Morris <rgm@gnu.org>
9544
40f86458
GM
9545 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9546
7019c177
GM
9547 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9548
a1daddd6
GM
9549 * calendar/calendar.el (calendar-window-list)
9550 (calendar-hide-window): Restore. (Bug#11140)
9551 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9552
0b021094
GM
9553 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9554
40311efc
TV
95552012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9556
9557 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9558 Check if file is a symlink (Bug#10489).
9559
9560 * files.el (copy-directory): Likewise.
9561
5319014e
CY
95622012-03-30 Chong Yidong <cyd@gnu.org>
9563
9564 * image.el (imagemagick-types-inhibit)
9565 (imagemagick-register-types): Doc fix.
9566
935d1290
AM
95672012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9568
090bd7cb 9569 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9570 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9571 and treats ~word as ordinary words in pipe mode.
935d1290 9572
61c6e8fd
GM
95732012-03-30 Glenn Morris <rgm@gnu.org>
9574
9575 * tutorial.el (help-with-tutorial): Ensure local variables don't
9576 happen to make the buffer read-only. (Bug#11127)
9577
81fdff00
SM
95782012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9579
9580 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9581 (perl-calculate-indent): Return `noindent' in strings.
9582
6e7a6ec0
SS
95832012-03-28 Sam Steingold <sds@gnu.org>
9584
9585 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9586 instead of the broken adhockery which does not prevent calendar
9587 buffers from being displayed at random after exit.
9588 (calendar-window-list, calendar-hide-window): Remove the broken
9589 adhockery.
9590
fee88ca0
GM
95912012-03-28 Glenn Morris <rgm@gnu.org>
9592
9593 * replace.el (query-replace-map): Doc fix.
9594
38de3354
AS
95952012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9596
9597 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9598 contents. (Bug#11109)
9599
b973155e
SM
96002012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9603 (bug#11077).
9604 (avl-tree--check, avl-tree--check-node): New funs.
9605
dcb6e7b3
MR
96062012-03-27 Martin Rudalics <rudalics@gmx.at>
9607
9608 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9609 (switch-to-prev-buffer, switch-to-next-buffer):
9610 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9611 showing a buffer already is done on the same frame.
9612
b4fa35fa
GM
96132012-03-27 Glenn Morris <rgm@gnu.org>
9614
9615 * startup.el (mail-host-address): Doc fix.
9616
f9210e18
SM
96172012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9618
9619 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9620 than 197 variables.
9621
c0bf7753
AF
96222012-03-26 Ami Fischman <ami@fischman.org>
9623
9624 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9625
33da7b16
GM
96262012-03-26 Glenn Morris <rgm@gnu.org>
9627
02243d9d
GM
9628 * files.el (save-buffers-kill-emacs): Doc fix.
9629
33da7b16
GM
9630 * startup.el (normal-top-level, command-line, command-line-1):
9631 Give them doc strings.
9632
e5a69fd0
EZ
96332012-03-25 Eli Zaretskii <eliz@gnu.org>
9634
9635 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9636 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9637
9a69676a
CY
96382012-03-25 Chong Yidong <cyd@gnu.org>
9639
4125cb8b
CY
9640 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9641 theme if it was previously enabled before (Bug#11031).
9642
dd470960
CY
9643 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9644 spec with custom-face-get-current-spec if its :shown-value is not
9645 determined yet (Bug#9337).
4125cb8b 9646 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9647
9a69676a
CY
9648 * button.el (button-at): Minor addition to docstring.
9649
6e7e90fa
SL
96502012-03-24 Simon Leinen <simon.leinen@gmail.com>
9651
9652 * vc/vc.el (vc-merge): Fix a prompt.
9653
f06e2758
CY
96542012-03-24 Chong Yidong <cyd@gnu.org>
9655
9656 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9657 point (Bug#9623).
9658
6e7e90fa
SL
9659 * button.el (button-at): Minor addition to docstring.
9660
b9d0879b
SM
96612012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9662
9663 * newcomment.el (comment-choose-indent): No space after BOL.
9664
e71cebb3
SS
96652012-03-22 Sam Steingold <sds@gnu.org>
9666
9667 * window.el (switch-to-prev-buffer): Revert last patch because the
9668 bug turned out to be an advertised feature (Elisp manual 28.14).
9669
335aff35
GM
96702012-03-22 Glenn Morris <rgm@gnu.org>
9671
9672 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9673 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9674
c676576a
LMI
96752012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9676
9677 * net/network-stream.el (network-stream-open-starttls): Make error
9678 message under Windows be less misleading.
9679
126f3d39
LW
96802012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9681
9682 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9683 understands (bug#9942).
9684
64fee311
CY
96852012-03-22 Chong Yidong <cyd@gnu.org>
9686
9687 * simple.el (end-of-visible-line): Handle return value of
9688 next-single-property-change properly (Bug#9371).
9689
a640d29a
KH
96902012-03-22 Kenichi Handa <handa@m17n.org>
9691
9692 * international/quail.el (quail-insert-kbd-layout): Fix previous
9693 change. To avoid unwanted bidi reordering, use
9694 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9695
39675016
DG
96962012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9697
9698 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9699 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9700 (ruby-beginning-of-indent): Be more careful with the difference
9701 between word-boundary and symbol boundary.
9702 (ruby-mode-syntax-table): Make : a symbol constituent.
9703
0a6934fc 97042012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9705
3d008e4f
SM
9706 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9707
0a6934fc
SM
97082012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9709
af67c9d7
SM
9710 * progmodes/etags.el (tags-completion-at-point-function):
9711 Improve last fix.
9712
1acad97c
SM
9713 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9714
e298b5da
SS
97152012-03-21 Sam Steingold <sds@gnu.org>
9716
9717 * progmodes/etags.el (tags-completion-at-point-function):
9718 Avoid the error when point is inside the pattern.
9719
91d82a70
JY
97202012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9721
9722 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9723 line (Bug#10855).
9724
69188b79
CY
97252012-03-21 Drew Adams <drew.adams@oracle.com>
9726
9727 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9728
99fc91fe
AK
97292012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9730
9731 * ido.el (ido-set-current-directory, ido-read-internal)
9732 (ido-choose-completion-string, ido-completion-help): Handle nil
9733 value of ido-completion-buffer (Bug#11008).
9734
087bbb4c
SS
97352012-03-21 Sam Steingold <sds@gnu.org>
9736
9737 * window.el (switch-to-prev-buffer): Do not switch to a visible
9738 window previous buffer, just like with the frame previous buffers.
9739
fb5b8aca
CY
97402012-03-21 Chong Yidong <cyd@gnu.org>
9741
9742 * faces.el (make-face, make-empty-face, copy-face):
9743 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9744 Doc fixes.
9745
dc9924b8
SM
97462012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9749 (widget-complete): Remove broken use of it.
9750
f0bcceb9
CY
97512012-03-20 Chong Yidong <cyd@gnu.org>
9752
dc9924b8
SM
9753 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9754 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9755 characters.
9756
ee52ebf3
TH
97572012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9758
9759 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9760 to draw rectangles, not squares. (Regression introduced by revno
9761 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9762
4c5779ab
CY
97632012-03-18 Chong Yidong <cyd@gnu.org>
9764
9765 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9766 it is not yet defined (for temacs).
9767
15360934
LL
97682012-03-18 Leo Liu <sdl.web@gmail.com>
9769
735135f9
PE
9770 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9771 prefix.
15360934 9772
d9a8eb66
EZ
97732012-03-17 Eli Zaretskii <eliz@gnu.org>
9774
9775 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9776 (ispell-choices-win-default-height, ispell-silently-savep)
9777 (ispell-dictionary-alist, ispell-encoding8-command)
9778 (ispell-check-version, ispell-aspell-find-dictionary)
9779 (ispell-valid-dictionary-list, ispell-words-keyword)
9780 (ispell-get-word, ispell-internal-change-dictionary)
9781 (ispell-region, ispell-skip-region-list)
9782 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9783 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9784 (ispell-message-text-end, ispell-message)
9785 (ispell-buffer-local-parsing): Doc fix.
9786
f02ff80d
J
97872012-03-13 Jambunathan K <kjambunathan@gmail.com>
9788
9789 * htmlfontify.el: Add support for code block fontification for ODT
9790 export (Bug #9914).
9791 (hfy-optimisations): Define new option
9792 `body-text-only'
9793 (hfy-fontify-buffer): Honor above setting.
9794 (hfy-begin-span, hfy-end-span): New routines factored out form
9795 `hfy-fontify-buffer'.
9796 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9797 that permit insertion of custom tags.
9798 (hfy-fontify-buffer): Use above handlers.
9799 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9800 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9801 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9802 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9803 bind a special variable `hfy-user-sheet-assoc'.
9804 (htmlfontify-string): New defun.
9805 (hfy-compile-face-map): Make sure that the last char in the
9806 buffer is correctly fontified.
9807 (hfy-face-resolve-face): Whitespace only change.
9808
9ac7a13f
EZ
98092012-03-17 Eli Zaretskii <eliz@gnu.org>
9810
9811 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9812 message more clear.
9813
e2b5bdd7
LL
98142012-03-16 Leo Liu <sdl.web@gmail.com>
9815
9816 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9817
2e492df3
AM
98182012-03-16 Alan Mackenzie <acm@muc.de>
9819
9820 Further optimise the handling of large macros.
9821
9822 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9823 limit to a call of `c-literal-limits'.
9824 (c-determine-+ve-limit): New function.
dc9924b8
SM
9825 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9826 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9827 In CASE 5B, restrict a search limit to 500.
9828 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9829
9830 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9831 Restrict macro bounds to +-500 from after-change's BEG END.
9832
50e94f0c
LL
98332012-03-16 Leo Liu <sdl.web@gmail.com>
9834
9835 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9836
6f09f6ed
AH
98372012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9838
9839 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9840 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9841
c7e73d51
GM
98422012-03-16 Glenn Morris <rgm@gnu.org>
9843
da986230
GM
9844 * view.el (view-buffer, view-buffer-other-window)
9845 (view-buffer-other-frame): Doc fixes re special mode-class.
9846
0835f01e
GM
9847 * subr.el (eval-after-load): If named feature is provided not from
9848 a file, run after-load forms. (Bug#10946)
9849
c7e73d51
GM
9850 * calendar/calendar.el (calendar-insert-at-column):
9851 Handle non-unit-width characters a bit better. (Bug#10978)
9852
3f2eafd1
CY
98532012-03-15 Chong Yidong <cyd@gnu.org>
9854
9855 * emacs-lisp/ring.el (ring-extend): New function.
9856 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9857
9858 * comint.el (comint-read-input-ring)
9859 (comint-add-to-input-history): Grow comint-input-ring lazily.
9860
103af3fe
SM
98612012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9862
663b1677
SM
9863 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9864 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9865
103af3fe
SM
9866 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9867 (imenu-add-to-menubar): Don't add a redundant index.
9868 (imenu-update-menubar): Handle a dynamically composed keymap.
9869
899cb7cb
KY
98702012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9871
9872 * mail/sendmail.el (mail-encode-header):
9873 Bind rfc2047-encode-encoded-words to nil.
9874
3809f91d
GM
98752012-03-13 Glenn Morris <rgm@gnu.org>
9876
9877 * calendar/calendar.el (calendar-string-spread):
9878 Handle non-unit-width characters a bit better. (Bug#10978)
9879
9e345a01
LL
98802012-03-13 Leo Liu <sdl.web@gmail.com>
9881
9882 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9883 directory and file as argument (Bug#10822).
9884
4a07df36
KS
98852012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9886
9887 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9888 For dynamically generated code, follow $PC.
9889 (gdb-disassembly-handler-custom): Handle no function name case.
9890
4aaa9356
TL
98912012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9892
9893 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9894 * emulation/ws-mode.el (ws-query-replace):
9895 * sort.el (sort-regexp-fields):
9896 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9897
225979da
SM
98982012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9899
9900 * dabbrev.el: Fix cycle completion order (bug#10963).
9901 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9902 (dabbrev-completion): Don't use an obarray; provide
9903 a cycle-sort-function.
9904
e2f1fdab
LL
99052012-03-12 Leo Liu <sdl.web@gmail.com>
9906
dc9924b8 9907 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9908 (kill-do-not-save-duplicates): Doc fix.
9909
b19490ed
SM
99102012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * dabbrev.el: Fix cycle completion (bug#10963).
9913 Use lexical binding and wrap to 80 columns.
9914 (dabbrev-completion): Delay computing the list of completions.
9915
4b05d722
KH
99162012-03-12 Kenichi Handa <handa@m17n.org>
9917
9918 * international/quail.el (quail-insert-kbd-layout): Surround each
9919 row by LRO and PDF instead of inserting many LRMs. Pad the left
9920 and right of each non-spacing marks. Insert invisible space
9921 between lower and upper characters to prevent composition.
9922
dbbc2e69
SM
99232012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9924
9925 * minibuffer.el (minibuffer-complete): Don't get confused when the
9926 function is run twice via different commands (bug#10958).
9927 (complete-with-action): Fix docstring.
9928
292112ed
CY
99292012-03-12 Chong Yidong <cyd@gnu.org>
9930
5d1ac394
CY
9931 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9932 (nxml-completion-at-point-function): New function.
9933 (nxml-mode): Use it.
9934 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9935
292112ed
CY
9936 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9937 Load generated autoloads file before byte compiling (Bug#10970).
9938 (package--make-autoloads-and-compile): New helper fun.
9939
4098f8f7
CS
99402012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9941
9942 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9943
8f754691
MA
99442012-03-11 Michael Albinus <michael.albinus@gmx.de>
9945
9946 * autorevert.el (auto-revert-handler): Ensure, that
9947 file-readable-p is applied only for local files or in
9948 auto-revert-tail-mode.
9949
e29ab36b
AS
99502012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9951
dbbc2e69
SM
9952 * server.el (server-eval-at): Handle non-tcp connections.
9953 Decode result string.
ad0bf5b6 9954
e29ab36b
AS
9955 * server.el (server-msg-size): New constant.
9956 (server-reply-print): New function.
9957 (server-eval-and-print): Use it.
9958 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9959 Handle -print-nonl.
9960
de5939ba
CS
99612012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9962
9963 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9964 (Bug#10987).
9965
0c93eabf
CY
99662012-03-11 Chong Yidong <cyd@gnu.org>
9967
397a688f
CY
9968 * simple.el (goto-line): Doc fix (Bug#9938).
9969
2cc775f9
CY
9970 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9971
0c93eabf
CY
9972 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9973 when finished (Bug#10963).
9974
c491fa41
MR
99752012-03-11 Martin Rudalics <rudalics@gmx.at>
9976
9977 * window.el (split-window-below): Fix bug in case where
9978 split-window-keep-point is nil (Bug#10971).
9979
300e8fa5
JL
99802012-03-11 Juri Linkov <juri@jurta.org>
9981
9982 * replace.el (replace-highlight): Set isearch-word to nil
9983 unconditionally. (Bug#10887)
9984
dbf6c5a1
EZ
99852012-03-10 Eli Zaretskii <eliz@gnu.org>
9986
9987 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9988 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9989 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9990 (mairix-widget-create-query): Add usage information about mairix
9991 search forms: negating words, searching for substrings, etc.
9992
b9e501de
JP
99932012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9994
9995 * international/fontset.el (font-encoding-alist): Add an entry for
9996 ksx1001 (Bug#5667).
9997
92795c91
RS
99982012-03-10 Richard Stallman <rms@gnu.org>
9999
1694e6c1
RS
10000 * mail/sendmail.el (mail-encode-header):
10001 Set rfc2047-encode-encoded-words.
10002
607e8555
RS
10003 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10004
de3bc99a
RS
10005 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10006 view buffer means not swapped.
10007 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10008 (rmail-write-region-annotate): Error if real text has disappeared.
10009
92795c91
RS
10010 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10011
699bd04e
CY
100122012-03-10 Chong Yidong <cyd@gnu.org>
10013
10014 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10015 * emulation/cua-base.el (cua--init-keymaps):
10016 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10017
570a1714
MR
100182012-03-10 Martin Rudalics <rudalics@gmx.at>
10019
dbbc2e69
SM
10020 * speedbar.el (speedbar-unhighlight-one-tag-line):
10021 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10022
82dcf4e4
CY
100232012-03-10 Chong Yidong <cyd@gnu.org>
10024
7a2c7ca7
CY
10025 * minibuffer.el (completion-in-region, completion-help-at-point):
10026 Give the completion field overlay a high priority (Bug#6830).
10027
82dcf4e4
CY
10028 * dired.el (dired-goto-file): Recognize absolute file name
10029 listings (Bug#7126).
10030 (dired-goto-file-1): New helper function.
10031 (dired-toggle-read-only): Inhibit warnings.
10032
052e28ac
MA
100332012-03-09 Michael Albinus <michael.albinus@gmx.de>
10034
75f1671a 10035 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10036 there are no properties.
10037
95d5e396
LL
100382012-03-09 Leo Liu <sdl.web@gmail.com>
10039
10040 * savehist.el (savehist-printable): Stricter check for string
10041 value (Bug#10937).
10042
3f018d6d
EZ
100432012-03-09 Eli Zaretskii <eliz@gnu.org>
10044
dbbc2e69
SM
10045 * mail/smtpmail.el (smtpmail-send-it):
10046 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10047 valid mbox format.
10048
f7fd3d79
GM
100492012-03-09 Glenn Morris <rgm@gnu.org>
10050
10051 * files.el (dir-locals-find-file):
10052 Don't check result is regular, readable.
10053 (dir-locals-read-from-file): Demote errors.
10054
6ff6e72f
EZ
100552012-03-08 Eli Zaretskii <eliz@gnu.org>
10056
dbbc2e69
SM
10057 * international/quail.el (quail-insert-kbd-layout):
10058 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10059 layout cell, to prevent their reordering by bidi display engine.
10060 For details, see the discussion in
10061 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10062
9cec7834
AM
100632012-03-08 Alan Mackenzie <acm@muc.de>
10064
10065 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10066 the starting position; make it extend the marked region when
10067 invoked repeatedly - all under appropriate circumstances.
10068 Fixes bugs #5525, #10906.
10069
9a40b8d4
GM
100702012-03-08 Glenn Morris <rgm@gnu.org>
10071
10072 * files.el (locate-dominating-file, dir-locals-find-file):
10073 Undo 2012-03-06 change.
10074
7a08ed35
EZ
100752012-03-07 Eli Zaretskii <eliz@gnu.org>
10076
dbbc2e69
SM
10077 * international/quail.el (quail-help):
10078 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10079 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10080 for the reason.
10081
5aca4f71 100822012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10083
10084 Avoid superfluous registering of signals. (Bug#10807)
10085
10086 * notifications.el (notifications-on-action-object)
10087 (notifications-on-close-object): New defvars.
10088 (notifications-on-action-signal, notifications-on-closed-signal):
10089 Unregister the signal if not needed any longer.
10090 (notifications-notify): Register `notifications-action-signal' or
10091 `notifications-closed-signal', if :on-action or :on-close has been
10092 passed as argument.
10093
78e8b10a
CY
100942012-03-07 Chong Yidong <cyd@gnu.org>
10095
10096 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10097 non-X platforms.
10098
69481eb8
GM
100992012-03-06 Glenn Morris <rgm@gnu.org>
10100
10101 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10102 (x-disown-selection-internal, x-get-selection-internal):
10103 Doc fix (add arglist signatures). (Bug#10783)
10104
133b8e11
KS
101052012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10106
10107 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10108 Handle breakpoints with no "type".
10109
99a83064
GM
101102012-03-06 Glenn Morris <rgm@gnu.org>
10111
10112 * files.el (locate-dominating-file): Add optional predicate argument.
10113 (dir-locals-find-file): Make use of above change.
10114
17798e78
TTN
101152012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10116
10117 * info.el (Info-insert-dir): Also try "dir.gz".
10118
eb182446
GM
101192012-03-06 Glenn Morris <rgm@gnu.org>
10120
8f2114ee
GM
10121 * files.el (dir-locals-find-file):
10122 Ignore non-readable or non-regular files. (Bug#10928)
10123
eb182446
GM
10124 * files.el (locate-dominating-file): Doc fix.
10125
24679323
AS
101262012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10127
10128 * calendar/calendar.el (calendar-set-mode-line):
10129 `getenv' returns a string. (Bug#10951)
10130
01d972a9
LL
101312012-03-05 Leo Liu <sdl.web@gmail.com>
10132
109aa8a9
LL
10133 * simple.el (backward-delete-char-untabify): Constrain point to
10134 field (Bug#10939).
10135
01d972a9
LL
10136 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10137
10607bea
CY
101382012-03-05 Chong Yidong <cyd@gnu.org>
10139
10140 * simple.el (count-words): If called from Lisp, return the word
10141 count, for symmetry with `count-lines'. Arglist changed.
10142 (count-words--message): Args changed. Consolidate counting code
10143 from count-words and count-words-region.
10144 (count-words-region): Caller changed.
10145 (count-lines-region): Make it an obsolete alias.
10146
5dd11cfe
TH
101472012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10148
10149 * saveplace.el (save-place-to-alist)
10150 (save-place-ignore-files-regexp): Allow value nil to disable this
10151 feature.
10152
c349f4e6
CY
101532012-03-04 Chong Yidong <cyd@gnu.org>
10154
10155 * faces.el (face-spec-reset-face): For the default face, reset the
10156 attributes to default values (Bug#10748).
10157
e627be4c
LMI
101582012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10159
10160 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10161 previous patch: Check `message-send-mail-function', and not the
10162 default function (bug#10897).
10163
ebeabff4
MA
101642012-03-04 Michael Albinus <michael.albinus@gmx.de>
10165
a41a6cf4
MA
10166 * notifications.el (notifications-on-action-signal)
10167 (notifications-on-closed-signal): Check for unique service name of
10168 incoming event. Fix error in removing entry.
ebeabff4 10169 (top): Register for signals with wildcard service name.
a41a6cf4 10170 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10171
c1ca42b4
CY
101722012-03-04 Chong Yidong <cyd@gnu.org>
10173
dc9924b8 10174 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10175
ea16568d
GM
101762012-03-04 Glenn Morris <rgm@gnu.org>
10177
10178 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10179 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10180 (expand-abbrev, define-abbrev-table): Doc fixes.
10181
fbae4637
LMI
101822012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10183
10184 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10185 `message-default-send-mail-function' and not `send-mail-function'
10186 when doing the prompting for `sendmail-query-once' before sending
10187 in Message buffers (bug#10897).
10188
a1e7225c
LMI
10189 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10190 This is inconsistent with all the other stream functions, which leave
10191 the setting up to the higher levels (if so wanted) (bug#10931).
10192
56d093a9
AM
101932012-03-02 Alan Mackenzie <acm@muc.de>
10194
10195 Depessimize the handling of very large macros.
10196
10197 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10198 (c-macro-cache-syntactic): New variables to implement a one
10199 element macro cache.
10200 (c-invalidate-macro-cache): New function.
10201 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10202 Adapt to use the new cache.
10203 (c-state-safe-place): Use better the cache of safe positions.
10204 (c-state-semi-nonlit-pos-cache)
10205 (c-state-semi-nonlit-pos-cache-limit):
10206 New variables for...
10207 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10208 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10209 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10210 Use c-state-semi-safe-place.
56d093a9 10211
dbbc2e69
SM
10212 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10213 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10214
817e5c3d
MA
102152012-03-02 Michael Albinus <michael.albinus@gmx.de>
10216
dbbc2e69
SM
10217 * jka-compr.el (jka-compr-call-process):
10218 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10219 not remote.
10220
a032a702
MA
102212012-03-01 Michael Albinus <michael.albinus@gmx.de>
10222
10223 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10224 access of FILE2, if FILE1 does not exist.
10225
99a54f21
MA
10226 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10227 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10228
10229 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10230 Add "PAGER=" to `process-environment'.
10231
f6561e1f
MM
102322012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10233
10234 * progmodes/sql.el: Bug fix
10235 (sql-get-login-ext): Save login values in globals.
10236 (sql-get-login): Use new version of `sql-get-login-ext'.
10237 (sql-interactive-mode): Set global `sql-connection' to nil.
10238 (sql-connect): Set global values for connection.
10239 (sql-product-interactive): Save global values as buffer local.
10240
2d44d9cc
LL
102412012-02-29 Leo Liu <sdl.web@gmail.com>
10242
10243 * abbrev.el (define-abbrevs): Reset sys to nil.
10244
96b49301 102452012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10246
bf7f9bc5
JB
10247 * files.el (file-equal-p): Rename from `files-equal-p'.
10248 Return nil when one or both files don't exist.
96b49301 10249 (file-subdir-of-p): Now only top directory must exists,
10250 return nil if it doesn't.
bf7f9bc5
JB
10251 (copy-directory): No need to test with `file-subdir-of-p' after
10252 creating dir.
10253 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10254 to `file-equal-p'.
96b49301 10255
44e97401
GM
102562012-02-28 Glenn Morris <rgm@gnu.org>
10257
10258 * shell.el (shell-mode):
10259 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10260 * play/landmark.el (landmark-font-lock-face-O):
10261 * play/handwrite.el (handwrite):
10262 * play/gomoku.el (gomoku-O):
10263 * net/browse-url.el (browse-url-browser-display):
10264 * international/mule.el (define-charset):
10265 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10266 * filesets.el (filesets-find-file-delay):
10267 * eshell/em-xtra.el (eshell-xtra):
10268 * eshell/em-unix.el (eshell-grep):
10269 * emulation/viper.el (viper-mode):
10270 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10271 * emacs-lisp/easymenu.el (easy-menu-define):
10272 * calendar/timeclock.el (timeclock-use-display-time):
10273 * bs.el (bs-mode):
10274 * bookmark.el (bookmark-save-flag):
10275 Doc fix (standardize possessive apostrophe usage).
10276
c98c6276
CY
102772012-02-27 Chong Yidong <cyd@gnu.org>
10278
bf7f9bc5
JB
10279 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10280 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 10281
c98c6276
CY
10282 * font-lock.el (font-lock-specified-p): Rename from
10283 font-lock-spec-present. Callers changed.
10284
9c62cd04 102852012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 10286
bf7f9bc5
JB
10287 * emacs-lisp/package.el (package-compute-transaction):
10288 Handle holding a package version to t in package-load-list.
8ac9e529 10289
530739c9
MA
102902012-02-26 Michael Albinus <michael.albinus@gmx.de>
10291
10292 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10293 (tramp-get-inode, tramp-get-device): Use cached values.
10294
487915d7
AM
102952012-02-26 Alan Mackenzie <acm@muc.de>
10296
10297 Check there is a font-lock specification before doing initial
10298 fontification.
10299
10300 * font-core.el (font-lock-mode): Move the conditional from
10301 :after-hook to font-lock-initial-fontify.
10302 (font-lock-default-function): Move the check for a specification
10303 to font-lock-spec-present.
10304
dc9924b8 10305 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10306 (font-lock-spec-present): New function.
10307
4fd96557
JB
103082012-02-26 Jim Blandy <jimb@red-bean.com>
10309
10310 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10311 (gdb-send): Apply it to the operand of the '-interpreter-exec
10312 console' command, so that we can pass arguments with (say) quotes
10313 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10314
9a4888c0
CY
103152012-02-26 Chong Yidong <cyd@gnu.org>
10316
07498861
CY
10317 * help-fns.el (describe-function-1): Clarify description of
10318 remapping (Bug#10844).
10319
9a4888c0
CY
10320 * files.el (files-equal-p): Doc fix.
10321 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10322 and quit the loop once a mismatch is found.
10323
ea8fb88d
JB
103242012-02-25 Juanma Barranquero <lekktu@gmail.com>
10325
10326 * bs.el (bs--show-with-configuration): Don't throw an error
10327 if the window cannot be split; otherwise, subsequent calls to
10328 bs-show fail, restoring a stale window config. (Bug#10882)
10329
525795c1
JD
103302012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10331
10332 * term/ns-win.el (global-map): Bind ns-drag-file to
10333 ns-find-file (Bug#5855, Bug#10050).
10334
f008086f
AS
103352012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10336
10337 * calendar/parse-time.el (parse-time-string): Allow extractor to
10338 return nil.
10339
a3fcfa99
MA
103402012-02-25 Michael Albinus <michael.albinus@gmx.de>
10341
91027d08
JB
10342 * net/tramp.el (tramp-file-name-for-operation):
10343 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10344
10345 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10346 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10347 Add COPY-CONTENTS argument.
a3fcfa99 10348
67b0de11
CY
103492012-02-25 Chong Yidong <cyd@gnu.org>
10350
10351 Add custom groups for VC backends, for consistency with vc-bzr.
10352
10353 * vc/vc-arch.el (vc-arch):
10354 * vc/vc-cvs.el (vc-cvs):
10355 * vc/vc-git.el (vc-git):
10356 * vc/vc-hg.el (vc-hg):
10357 * vc/vc-mtn.el (vc-mtn):
10358 * vc/vc-rcs.el (vc-rcs):
10359 * vc/vc-sccs.el (vc-sccs):
10360 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10361 All relevant defcustoms reassigned.
10362
3c9dfce6
CY
103632012-02-25 Chong Yidong <cyd@gnu.org>
10364
1339bf43
CY
10365 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10366
3c9dfce6
CY
10367 * term/x-win.el (x-initialize-window-system): Reduce default for
10368 x-selection-timeout to 5 seconds (Bug#8869).
10369
25b2e303 103702012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10371
ec70a47d
GM
10372 * files.el (files-equal-p, file-subdir-of-p): New functions.
10373 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10374 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10375 * dired-aux.el (dired-copy-file-recursive): Same.
10376 (dired-create-files): Modify destination when source is equal to
10377 dest when copying files.
53a46cd0 10378 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10379
914260cd
MA
103802012-02-24 Michael Albinus <michael.albinus@gmx.de>
10381
10382 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10383 (Bug#10874)
10384
2cb228f7
AM
103852012-02-23 Alan Mackenzie <acm@muc.de>
10386
10387 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10388 parameter "after-hook:" to allow the expansion to run code after
10389 the execution of the mode hooks.
10390
10391 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10392 from font-lock-mode-internal.
2cb228f7 10393
91027d08 10394 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10395 :after-hook.
10396
8f0fde21
SM
103972012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10398
3e88618b
SM
10399 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10400 (completion--cache-all-sorted-completions): New function.
10401 (completion-all-sorted-completions): Use it.
10402 (completion--do-completion, minibuffer-force-complete):
10403 Use it to re-instate the flush hook.
10404
8f0fde21
SM
10405 * icomplete.el (icomplete-completions): Replace last fix with a better
10406 one (bug#10850).
10407
8e911f6f
DG
104082012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10409
10410 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10411 when it might call us back infinitely (bug#10797).
10412
49fe4321
GM
104132012-02-23 Glenn Morris <rgm@gnu.org>
10414
10415 * minibuffer.el (completion-category-overrides): Doc fix.
10416
b291b572
SM
104172012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10418
10419 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10420 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10421
31a9ef2e
GM
104222012-02-23 Glenn Morris <rgm@gnu.org>
10423
5e6e6794 10424 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10425 (authors-obsolete-files-regexps, authors-ignored-files)
10426 (authors-ambiguous-files, authors-renamed-files-alist):
10427 Add more entries.
10428
0bd1e074
JL
104292012-02-23 Juri Linkov <juri@jurta.org>
10430
10431 * isearch.el (isearch-occur): Sync interactive spec with occur's
10432 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10433
b617673c
JL
10434 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10435
19e9789e
JL
104362012-02-22 Juri Linkov <juri@jurta.org>
10437
10438 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10439 (ucs-insert): Doc fix. Check for hex digits in the string.
10440 Don't display `nil' in the error message. (Bug#10857)
10441
f41ce09d
AM
104422012-02-22 Alan Mackenzie <acm@muc.de>
10443
7a71b18d 10444 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10445
ac2eceee
GM
104462012-02-22 Glenn Morris <rgm@gnu.org>
10447
10448 * ffap.el (ffap-c-path):
10449 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10450
abd1f678
CY
104512012-02-22 Chong Yidong <cyd@gnu.org>
10452
10453 * custom.el (load-theme): Doc fix.
10454
f25aef2e
GM
104552012-02-22 Glenn Morris <rgm@gnu.org>
10456
10457 * dired-x.el (dired-guess-shell-alist-default):
10458 Remove escape sequences from nroff output. (Bug#172)
10459
5f8dc2ca
GM
104602012-02-21 Glenn Morris <rgm@gnu.org>
10461
6ff86ec4
GM
10462 * vc/emerge.el (emerge-defvar-local):
10463 Set `permanent-local' property rather than unused `preserved'.
10464
be3223a3 10465 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10466 (picture-mode-map): Use it. (Bug#10860)
10467 (picture-mode): Doc fix.
10468
3fe58f4f
JB
104692012-02-21 Juanma Barranquero <lekktu@gmail.com>
10470
10471 * newcomment.el (uncomment-region-default): Remove unused binding.
10472
f9a998c3
GM
104732012-02-21 Glenn Morris <rgm@gnu.org>
10474
10475 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10476 (picture-self-insert, picture-tab-chars): Doc fix.
10477 (picture-mode-map): Fix C-a, C-e.
10478
c6029348
GM
104792012-02-20 Glenn Morris <rgm@gnu.org>
10480
10481 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10482
ab1ce9d7
LL
104832012-02-20 Leo Liu <sdl.web@gmail.com>
10484
10485 * icomplete.el (icomplete-completions): Check FROM arg before
10486 passing to substring (Bug#10850).
10487
0fd40f89
CY
104882012-02-19 Chong Yidong <cyd@gnu.org>
10489
10490 * comint.el: Require ansi-color.
10491 (comint-output-filter-functions): Add ansi-color-process-output.
10492
10493 * ansi-color.el: Don't set comint-output-filter-functions; it is
10494 now in the initial value defined in comint.el.
10495 (ansi-color-apply-face-function): New variable.
10496 (ansi-color-apply-on-region): Use it.
10497 (ansi-color-apply-overlay-face): New function.
10498
10499 * shell.el (shell): No need to require ansi-color.
10500 (shell-mode): Use ansi-color-apply-face-function to highlight
10501 color escapes using font-lock-face property (Bug#10835).
10502
20af2394
CY
105032012-02-19 Chong Yidong <cyd@gnu.org>
10504
10505 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10506 mode-line formats (Bug#10839).
10507
e23a3fbe
GM
105082012-02-18 Glenn Morris <rgm@gnu.org>
10509
b474519e
GM
10510 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10511
10512 * mail/undigest.el (unforward-rmail-message): Doc fix.
10513
e23a3fbe
GM
10514 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10515
57939ff4
EZ
105162012-02-18 Eli Zaretskii <eliz@gnu.org>
10517
10518 * international/characters.el (script-list): Sync with the latest
10519 Unicode Character Database.
10520
0c23686e
AS
105212012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10522
10523 * international/titdic-cnv.el: Remove duplicate coding tag.
10524 * language/cham.el: Likewise.
10525 * language/tai-viet.el: Likewise.
10526
6818b449
GM
105272012-02-18 Glenn Morris <rgm@gnu.org>
10528
10529 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10530 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10531 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10532 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10533 * calendar/holidays.el (holiday-bahai-holidays)
10534 (calendar-holidays, list-holidays):
10535 Use utf-8 Bahá'í in doc-strings, menus, etc.
10536
0311a3fc
TH
105372012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10538
10539 * saveplace.el (save-place-ignore-files-regexp): New variable
10540 allowing for excluding files from saving their location of point.
10541 The default value matches the temporary commit message editing
10542 files from Git, SVN, Bazaar, and Mercurial.
10543 (save-place-to-alist): Use it.
10544
d209e2fb 105452012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10546 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10547
10548 * newcomment.el (uncomment-region-default): Don't leave extra space
10549 when an arg is provided (bug#8150).
10550
ee0ce425
TZ
105512012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10552
eb864a71 10553 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10554
95ddf442
GM
105552012-02-17 Glenn Morris <rgm@gnu.org>
10556
10557 * net/socks.el: Require network-stream. (Bug#10599)
10558
48dd1e39 105592012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10560
10561 * international/charprop.el:
10562 * international/uni-name.el:
10563 * international/uni-old-name.el:
10564 * international/uni-comment.el: Regenerate.
10565
d68cd087
GM
105662012-02-16 Glenn Morris <rgm@gnu.org>
10567
10568 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10569 Interactively in calendar buffer, give an error if not on a date.
10570
13932042
GM
105712012-02-15 Glenn Morris <rgm@gnu.org>
10572
10573 * shell.el (shell-delimiter-argument-list):
10574 Revert 2011-02-17 change. (Bug#8027)
10575
c3a70e2b
CY
105762012-02-15 Chong Yidong <cyd@gnu.org>
10577
60236b0d
CY
10578 * minibuffer.el (completion-at-point-functions): Doc fix.
10579
c3a70e2b
CY
10580 * custom.el (defcustom): Doc fix; note use of defvar.
10581
9f26dc24
GM
105822012-02-15 Glenn Morris <rgm@gnu.org>
10583
10584 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10585 Doc fixes.
10586
6546b134
GM
105872012-02-14 Glenn Morris <rgm@gnu.org>
10588
10589 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10590
d29b2b4c
LI
105912012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10592
10593 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10594 way the ports list is computed.
835bdcba
LI
10595 (smtpmail-query-smtp-server): Prompt the user for a port number if
10596 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10597
08dcdbc9
TZ
105982012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10599
10600 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10601
2605051a
GM
106022012-02-13 Glenn Morris <rgm@gnu.org>
10603
10604 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10605
7ee99f32
TZ
106062012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10607
10608 * net/gnutls.el (gnutls-trustfiles): New variable.
10609 (gnutls-negotiate): Use it.
10610
5f0af64f
LI
106112012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10612
10613 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10614 does its stuff if Gnus is running.
10615
c14fcc95
AM
106162012-02-13 Alan Mackenzie <acm@muc.de>
10617
10618 Fix a loop in c-set-fl-decl-start.
10619
7a71b18d 10620 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10621 c-backward-syntactic-ws actually moves backwards.
10622
142b4d90
LL
106232012-02-13 Leo Liu <sdl.web@gmail.com>
10624
10625 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10626 beginning so that all \C-o chars are removed.
10627
fa9958a6
TZ
106282012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10629
dc9924b8 10630 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10631
0bc5886a
AM
106322012-02-12 Alan Mackenzie <acm@muc.de>
10633
10634 Fix infinite loop with long macros.
4d6769e1 10635 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10636
d4bd55e7
CY
106372012-02-12 Chong Yidong <cyd@gnu.org>
10638
10639 * window.el (display-buffer): Doc fix (Bug#10785).
10640
66f3fe22
GM
106412012-02-12 Glenn Morris <rgm@gnu.org>
10642
bd7da63e
GM
10643 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10644 (x-disown-selection-internal, x-get-selection-internal):
10645 Sync docs with the xselect.c versions.
10646
66f3fe22
GM
10647 * allout-widgets.el: Add missing license notice.
10648
3e0d2fa7
GM
106492012-02-11 Glenn Morris <rgm@gnu.org>
10650
cfecdf09
GM
10651 * select.el (x-get-selection-internal, x-own-selection-internal)
10652 (x-disown-selection-internal):
10653 * x-dnd.el (x-get-selection-internal): Update declarations.
10654
6d216d7f
GM
10655 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10656
2bed3f04
GM
10657 * window.el (window-sides-slots):
10658 * tool-bar.el (tool-bar-position):
10659 * term/xterm.el (xterm-extra-capabilities):
10660 * ses.el (ses-self-reference-early-detection):
10661 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10662 (verilog-auto-wire-type)
10663 (verilog-auto-delete-trailing-whitespace)
10664 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10665 (verilog-auto-tieoff-declaration):
10666 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10667 (sql-oracle-statement-starters, sql-oracle-scan-on):
10668 * progmodes/prolog.el (prolog-align-comments-flag)
10669 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10670 (prolog-left-indent-regexp, prolog-paren-indent-p)
10671 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10672 (prolog-types, prolog-mode-specificators)
10673 (prolog-determinism-specificators, prolog-directives)
10674 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10675 (prolog-electric-dot-flag)
10676 (prolog-electric-dot-full-predicate-template)
10677 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10678 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10679 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10680 (prolog-program-switches, prolog-prompt-regexp)
10681 (prolog-debug-on-string, prolog-debug-off-string)
10682 (prolog-trace-on-string, prolog-trace-off-string)
10683 (prolog-zip-on-string, prolog-zip-off-string)
10684 (prolog-use-standard-consult-compile-method-flag)
10685 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10686 (prolog-imenu-max-lines, prolog-info-predicate-index)
10687 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10688 (prolog-char-quote-workaround):
10689 * progmodes/cc-vars.el (c-defun-tactic):
10690 * net/tramp.el (tramp-encoding-command-interactive)
10691 (tramp-local-end-of-line):
10692 * net/soap-client.el (soap-client):
10693 * net/netrc.el (netrc-file):
10694 * net/gnutls.el (gnutls):
10695 * minibuffer.el (completion-category-overrides)
10696 (completion-cycle-threshold)
10697 (completion-pcm-complete-word-inserts-delimiters):
10698 * man.el (Man-name-local-regexp):
10699 * mail/feedmail.el (feedmail-display-full-frame):
10700 * international/characters.el (glyphless-char-display-control):
10701 * eshell/em-ls.el (eshell-ls-date-format):
10702 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10703 (lisp-lambda-list-keyword-parameter-indentation)
10704 (lisp-lambda-list-keyword-parameter-alignment):
10705 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10706 * dired-x.el (dired-omit-verbose):
10707 * cus-theme.el (custom-theme-allow-multiple-selections):
10708 * calc/calc.el (calc-highlight-selections-with-faces)
10709 (calc-lu-field-reference, calc-lu-power-reference)
10710 (calc-note-threshold):
10711 * battery.el (battery-mode-line-limit):
10712 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10713 (archive-7z-update):
10714 * allout.el (allout-prefixed-keybindings)
10715 (allout-unprefixed-keybindings)
10716 (allout-inhibit-auto-fill-on-headline)
10717 (allout-flattened-numbering-abbreviation):
10718 * allout-widgets.el (allout-widgets-auto-activation)
10719 (allout-widgets-icons-dark-subdir)
10720 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10721 (allout-widgets-theme-dark-background)
10722 (allout-widgets-theme-light-background)
10723 (allout-widgets-item-image-properties-emacs)
10724 (allout-widgets-item-image-properties-xemacs)
10725 (allout-widgets-run-unit-tests-on-load)
10726 (allout-widgets-time-decoration-activity)
10727 (allout-widgets-hook-error-post-time)
10728 (allout-widgets-track-decoration):
10729 Add missing :version tags to new defcustoms and defgroups.
10730
5fec1b8e
GM
10731 * progmodes/sql.el (sql-ansi-statement-starters)
10732 (sql-oracle-statement-starters): Add custom type.
10733
3e0d2fa7
GM
10734 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10735 (prolog-system-version): Give it a type.
10736
90b671e2
EZ
107372012-02-11 Eli Zaretskii <eliz@gnu.org>
10738
10739 * term/pc-win.el (x-select-text, x-selection-owner-p)
10740 (x-own-selection-internal, x-disown-selection-internal)
10741 (x-get-selection-internal): Sync doc strings and argument lists
10742 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10743
5eac0c02
LL
107442012-02-11 Leo Liu <sdl.web@gmail.com>
10745
10746 * progmodes/python.el (python-end-of-statement): Fix infinite
10747 loop. (Bug#10788)
10748
f82cb659
GM
107492012-02-10 Glenn Morris <rgm@gnu.org>
10750
10751 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10752 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10753
cc26d239
LI
107542012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10755
10756 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10757 about SMTP before checking the From header.
10758
91027d08 10759 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10760 into own function for reuse by emacsbug.el.
10761
1be3ca5a
LL
107622012-02-10 Leo Liu <sdl.web@gmail.com>
10763
10764 * subr.el (condition-case-unless-debug): Rename from
10765 condition-case-no-debug. All callers changed.
10766 (with-demoted-errors): Fix caller.
10767
10768 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10769 * nxml/rng-valid.el (rng-do-some-validation):
10770 * emacs-lisp/package.el (package-refresh-contents)
10771 (package-menu-execute):
10772 * desktop.el (desktop-create-buffer):
91027d08 10773 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10774
b011fbfe
GM
107752012-02-10 Glenn Morris <rgm@gnu.org>
10776
b2096d72
GM
10777 * textmodes/bibtex.el:
10778 Add missing :version tags for new/changed defcustoms.
10779
b011fbfe
GM
10780 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10781
4c7e65bf
LI
107822012-02-09 Lars Ingebrigtsen <larsi@rusty>
10783
10784 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10785 (smtpmail-via-smtp): Use it, or fall back on the From address.
10786 (smtpmail-send-it): Ditto.
10787
f3934f6f
SM
107882012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10789
10790 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10791 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10792 (byte-compile-tmp-var): New const.
10793 (byte-compile-defvar): Use it to minimize .elc size.
10794 Just use `defvar' rather than simulate it (bug#10761).
10795
a075a2c5
GM
107962012-02-09 Glenn Morris <rgm@gnu.org>
10797
cf3aa21b
GM
10798 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10799
354998cd
GM
10800 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10801 Add :version tags.
10802
dc9924b8
SM
10803 * progmodes/compile.el (compilation-error-screen-columns)
10804 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10805
dab3703d
GM
10806 * vc/log-view.el (log-view-toggle-entry-display):
10807 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10808
3f88cd72
GM
10809 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10810 (report-emacs-bug-can-use-xdg-email):
10811 (report-emacs-bug-insert-to-mailer): Doc fixes.
10812 (report-emacs-bug): Message fix.
10813
d95b247d
GM
10814 * net/browse-url.el (browse-url-can-use-xdg-open)
10815 (browse-url-xdg-open): Doc fixes.
10816
a075a2c5
GM
10817 * electric.el (electric-indent-mode, electric-pair-mode)
10818 (electric-layout-rules, electric-layout-mode): Doc fixes.
10819 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10820
ffb6157e
MR
108212012-02-08 Martin Rudalics <rudalics@gmx.at>
10822
10823 * server.el (server-unselect-display): Don't inadvertently kill
10824 the current buffer. (Bug#10729)
10825
e1ac4066
GM
108262012-02-08 Glenn Morris <rgm@gnu.org>
10827
34e8a2da
GM
10828 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10829 (sql-list-table): Doc fixes.
10830
b4ac6e8c
GM
10831 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10832 Comment out (does nothing).
10833
e1ac4066
GM
10834 * completion.el (dynamic-completion-mode):
10835 * dirtrack.el (dirtrack-debug-mode):
10836 * electric.el (electric-layout-mode):
10837 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10838 * face-remap.el (text-scale-mode, buffer-face-mode):
10839 * iimage.el (iimage-mode):
10840 * image-mode.el (image-transform-mode):
10841 * minibuffer.el (completion-in-region-mode):
10842 * scroll-lock.el (scroll-lock-mode):
10843 * simple.el (next-error-follow-minor-mode):
10844 * tar-mode.el (tar-subfile-mode):
10845 * tooltip.el (tooltip-mode):
10846 * vcursor.el (vcursor-use-vcursor-map):
10847 * wid-browse.el (widget-minor-mode):
10848 * emulation/tpu-edt.el (tpu-edt-mode):
10849 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10850 * international/iso-ascii.el (iso-ascii-mode):
10851 * language/thai-util.el (thai-word-mode):
10852 * mail/supercite.el (sc-minor-mode):
10853 * net/goto-addr.el (goto-address-mode):
10854 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10855 * progmodes/cwarn.el (cwarn-mode):
10856 * progmodes/flymake.el (flymake-mode):
10857 * progmodes/glasses.el (glasses-mode):
10858 * progmodes/hideshow.el (hs-minor-mode):
10859 * progmodes/pascal.el (pascal-outline-mode):
10860 * textmodes/enriched.el (enriched-mode):
10861 * vc/smerge-mode.el (smerge-mode):
10862 Doc fixes (minor mode argument).
10863
5e0d957f
EZ
108642012-02-07 Eli Zaretskii <eliz@gnu.org>
10865
10866 * ls-lisp.el (ls-lisp-sanitize): New function.
10867 (ls-lisp-insert-directory): Use it to fix or remove any elements
10868 in file-alist with missing attributes. (Bug#4673)
10869
98d7371e
AM
108702012-02-07 Alan Mackenzie <acm@muc.de>
10871
10872 Fix spurious recognition of c-in-knr-argdecl.
10873
10874 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10875 putative K&R region.
10876
667ced3a
AM
108772012-02-07 Alan Mackenzie <acm@muc.de>
10878
eb864a71
LM
10879 * progmodes/cc-engine.el (c-forward-objc-directive):
10880 Prevent looping in "#pragma mark @implementation".
667ced3a 10881
5b77774d
MA
108822012-02-07 Michael Albinus <michael.albinus@gmx.de>
10883
10884 * notifications.el (notifications-on-closed-signal): Make `reason'
10885 optional. (Bug#10744)
10886
af008560
GM
108872012-02-07 Glenn Morris <rgm@gnu.org>
10888
60d47423
GM
10889 * emacs-lisp/easy-mmode.el (define-minor-mode):
10890 Doc fixes for the macro and the mode it defines.
10891
dd605cc4
GM
10892 * image.el (imagemagick-types-inhibit): Doc fix.
10893
af008560
GM
10894 * cus-start.el (imagemagick-render-type): Add it.
10895
5cc59a37
LI
108962012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10897
4d6769e1
JB
10898 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10899 Set the default at load time, too, so that `font-lock-fontify-buffer'
10900 can be called without setting up the entire mode first. This fixes
10901 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10902
9a6dd747
CY
109032012-02-06 Chong Yidong <cyd@gnu.org>
10904
2d16b285
CY
10905 * simple.el (list-processes--refresh): Delete exited processes
10906 (Bug#8094).
10907
171e9b6e
CY
10908 * comint.el (comint-next-prompt): next-single-char-property-change
10909 and prev-single-char-property-change never return nil (Bug#8657).
10910
9a6dd747
CY
10911 * custom.el (defcustom): Doc fix (Bug#9711).
10912
aa4589a7
CY
109132012-02-05 Chong Yidong <cyd@gnu.org>
10914
5c2a252f
CY
10915 * cus-edit.el (custom-variable-reset-backup): Quote the value
10916 before storing it in the customized-value property (Bug#6712).
4aab9006 10917 (custom-display): Add a customization type tag.
983b9602 10918 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10919
aa4589a7
CY
10920 * wid-edit.el (widget-field-value-get): New optional arg to
10921 suppress trailing whitespace truncation.
10922 (character): Use it (Bug#2689).
10923
1ff980ae
AS
109242012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10925
10926 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10927 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10928
03988c98
CY
109292012-02-05 Chong Yidong <cyd@gnu.org>
10930
eeb6cc88
CY
10931 * cus-edit.el (custom-variable-value-create): For mismatched
10932 types, show the current value (Bug#7600).
10933
03988c98
CY
10934 * custom.el (defcustom): Doc fix.
10935
f8cdeef0
GM
109362012-02-05 Glenn Morris <rgm@gnu.org>
10937
10938 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10939
0696d255
JB
109402012-02-05 Juanma Barranquero <lekktu@gmail.com>
10941
10942 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10943 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10944 (pp-last-sexp): Use `looking-at-p'.
10945
34c99998
GM
109462012-02-04 Glenn Morris <rgm@gnu.org>
10947
8f05da42
GM
10948 * files.el (revert-buffer):
10949 Doc fix (mention revert-buffer-in-progress-p).
10950
f160676e
GM
10951 * emacs-lisp/ert-x.el (ert-simulate-command):
10952 Check deferred-action-list (which is obsolete) is bound.
10953
c7291ad9
GM
10954 * subr.el (with-wrapper-hook): Doc fixes.
10955
34c99998
GM
10956 * simple.el (filter-buffer-substring-functions)
10957 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10958
6283a7d3
LL
109592012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10960
10961 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10962 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10963
e96e3013
LL
109642012-02-04 Leo Liu <sdl.web@gmail.com>
10965
10966 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10967
8ded50f2
GM
109682012-02-04 Glenn Morris <rgm@gnu.org>
10969
82ff1d13
GM
10970 * image.el (image-extension-data): Add obsolete alias.
10971
987a0a16
GM
10972 * isearch.el (isearch-update): Doc fix.
10973
ea32ef46
GM
10974 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10975
8ded50f2
GM
10976 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10977
eea14f31
GM
109782012-02-03 Glenn Morris <rgm@gnu.org>
10979
10980 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10981 (image-animate-timeout): Doc fix.
10982
10983 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10984
12f381b7
GM
109852012-02-02 Glenn Morris <rgm@gnu.org>
10986
953cebf5
GM
10987 * server.el (server-auth-dir): Doc fix.
10988 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10989
12f381b7
GM
10990 * subr.el (run-mode-hooks): Doc fix.
10991
953a8c3b
JL
109922012-02-02 Juri Linkov <juri@jurta.org>
10993
10994 * image-mode.el (image-toggle-display-image): Remove tautological
10995 `major-mode' from the `derived-mode-p' test.
10996
c5d3843c
KH
109972012-02-02 Kenichi Handa <handa@m17n.org>
10998
9f6e692e 10999 * composite.el (compose-region): Cancel previous change.
c5d3843c 11000
159462d4 110012012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11002
11003 * composite.el (compose-region, compose-string): Signal error for
11004 a null string component (Bug#6988).
11005
9f562668
CY
110062012-02-01 Chong Yidong <cyd@gnu.org>
11007
e2cef717
CY
11008 * view.el (view-buffer-other-window, view-buffer-other-frame):
11009 Handle special modes like view-buffer (Bug#10650).
11010 (view-buffer): Simplify.
11011
9f562668
CY
11012 * frame.el (set-frame-font): Tweak meaning of third argument.
11013
9f6e692e
JB
11014 * dynamic-setting.el (font-setting-change-default-font):
11015 Use set-frame-font (Bug#9982).
9f562668 11016
781acb9f
GM
110172012-02-01 Glenn Morris <rgm@gnu.org>
11018
6035be52
GM
11019 * progmodes/compile.el (compilation-internal-error-properties):
11020 Respect compilation-first-column in the "*compilation*" buffer.
11021
781acb9f
GM
11022 * emacs-lisp/easy-mmode.el (define-minor-mode):
11023 Relax :variable's test for a named function.
11024
abbceb00
AM
110252012-01-31 Alan Mackenzie <acm@muc.de>
11026
11027 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11028 off by one error.
11029
fce3fdeb
CY
110302012-01-31 Chong Yidong <cyd@gnu.org>
11031
11032 * frame.el (set-frame-font): New arg ALL-FRAMES.
11033
11034 * menu-bar.el (menu-set-font): Use set-frame-font.
11035
11036 * faces.el (face-spec-reset-face): Don't apply unspecified
11037 attribute values to the default face.
11038
47893581
JB
110392012-01-31 Juanma Barranquero <lekktu@gmail.com>
11040
11041 * progmodes/cwarn.el (cwarn): Remove dead link.
11042 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11043 Remove * from defcustom docstrings.
11044 (turn-on-cwarn-mode): Make obsolete.
11045 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11046 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11047
e58e988a
GM
110482012-01-31 Glenn Morris <rgm@gnu.org>
11049
60dc2671 11050 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11051 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11052 Allow named functions to be used as the cdr of :variable.
e58e988a 11053
7a3f511d
GM
110542012-01-30 Glenn Morris <rgm@gnu.org>
11055
11056 * emacs-lisp/authors.el (authors-fixed-entries):
11057 Remove reference to deleted file rnewspost.el.
11058
cb882333
JB
110592012-01-29 Juanma Barranquero <lekktu@gmail.com>
11060
11061 * window.el (window-with-parameter): Remove unused variable `windows'.
11062 (window--side-check): Remove unused variable `code'.
11063 (window--resize-siblings): Remove unused variable `first'.
11064 (adjust-window-trailing-edge): Remove unused variable `failed'.
11065 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11066 Use `let', not `let*'.
11067 (balance-windows-2): Remove unused variable `found'.
11068 (window--state-put-2): Remove unused variable `splits'.
11069 (window-state-put): Remove unused variable `selected'.
11070 (same-window-p): Use `string-match-p'.
11071 (display-buffer-assq-regexp): Remove unused variable `value'.
11072 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11073 Mark argument ALIST as ignored.
11074 (pop-to-buffer): Remove unused variable `old-window'.
11075
907201af
EZ
110762012-01-29 Eli Zaretskii <eliz@gnu.org>
11077
11078 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11079 and .lzma compressed files.
11080
ea162670
CY
110812012-01-29 Chong Yidong <cyd@gnu.org>
11082
5b95ee8a
CY
11083 * frame.el (window-system-default-frame-alist): Doc fix.
11084
ea162670
CY
11085 * dynamic-setting.el (font-setting-change-default-font): Don't
11086 change the default face if SET-FONT argument is non-nil (Bug#9982).
11087
d6e6f4b1
SB
110882012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
11089
11090 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11091
0f29fa41 110922012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11093
11094 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11095 breakpoints in files outside current directory (Bug#6098).
11096
db174434
CY
110972012-01-29 Chong Yidong <cyd@gnu.org>
11098
6b25e4e2
SE
11099 * progmodes/python.el: Require ansi-color at top-level.
11100
6df6ae42
JB
11101 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11102 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11103 (lisp-mode-abbrev-table): Add doc.
11104 (lisp-mode-variables): Don't set local-abbrev-table.
11105 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11106
e70ee681
RW
111072012-01-28 Roland Winkler <winkler@gnu.org>
11108
11109 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11110
ace88aa2
RW
111112012-01-28 Roland Winkler <winkler@gnu.org>
11112
11113 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11114 (bibtex-set-dialect): Use it. Either set global values of
11115 dialect-dependent variables or bind these variables buffer-locally
11116 (Bug#10254).
11117 (bibtex-mode): Call bibtex-set-dialect via
11118 hack-local-variables-hook.
eb864a71
LM
11119 (bibtex-dialect): Update docstring.
11120 Add safe-local-variable predicate.
ace88aa2
RW
11121 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11122 bibtex-set-dialect.
11123 (bibtex-mode-map): Define menu for each dialect.
11124 (bibtex-entry): Fix docstring.
11125
93376c5b
CY
111262012-01-28 Chong Yidong <cyd@gnu.org>
11127
11128 * eshell/esh-arg.el (eshell-quote-argument): New function.
11129
11130 * eshell/esh-ext.el (eshell-invoke-batch-file):
11131 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11132 first arg to eshell-parse-command (Bug#10523).
11133
4372494f
DA
111342012-01-28 Drew Adams <drew.adams@oracle.com>
11135
11136 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11137 `default-directory' is non-nil.
11138
4d4ec1f8
EZ
111392012-01-28 Eli Zaretskii <eliz@gnu.org>
11140
11141 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11142 line that displays system-configuration-options. (Bug#9924)
11143
7c188927
DA
111442012-01-28 Drew Adams <drew.adams@oracle.com>
11145
11146 * descr-text.el (describe-char): Show information about POS, in
11147 addition to information about the character at POS. Improve and
11148 update the doc string. Change "code point" to "code point in
11149 charset", to avoid confusion with the character's Unicode code
11150 point shown above that. (Bug#10129)
11151
e0da685a
EZ
111522012-01-28 Eli Zaretskii <eliz@gnu.org>
11153
11154 * descr-text.el (describe-char): Show the raw character, not only
11155 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11156 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11157 for the reasons.
11158
70550acf
PH
111592012-01-28 Phil Hagelberg <phil@hagelb.org>
11160
eb864a71
LM
11161 * emacs-lisp/package.el (package-install):
11162 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11163
0ce8e868
CY
111642012-01-28 Chong Yidong <cyd@gnu.org>
11165
cb882333
JB
11166 * emacs-lisp/package.el (package-maybe-load-descriptor):
11167 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11168 (package-maybe-load-descriptor): Use it.
11169 (package-download-transaction): Fully load required packages
11170 inside the loop, so that `require' calls work (Bug#10593).
11171 (package-install): No need to call package-initialize now.
11172
2e7f3bea
CY
111732012-01-28 Chong Yidong <cyd@gnu.org>
11174
6e9bad14
CY
11175 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11176
f823b8ca
CY
11177 * tooltip.el (tooltip-mode): Doc fix.
11178 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11179
2680c309
CY
11180 * frame.el (set-cursor-color): Doc fix (Bug#352).
11181
d7a9e63b
CY
11182 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11183 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11184
2e7f3bea
CY
11185 * cus-edit.el (custom-buffer-create-internal): Fix search button
11186 action (Bug#10542).
2ae01800 11187 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11188
fc4f7a23
EW
111892012-01-27 Eduard Wiebe <usenet@pusto.de>
11190
11191 * dired.el (dired-mark-files-regexp):
11192 Include any subdirectory components. (Bug#10445)
11193
7dd37071
ML
111942012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11195
11196 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11197 Handle [host]:port syntax. (Bug#10533)
11198
a268160b
AH
111992012-01-27 Alex Harsanyi <harsanyi@mac.com>
11200
11201 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11202
e43273ef
GM
112032012-01-26 Glenn Morris <rgm@gnu.org>
11204
11205 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11206 * term.el (term-raw-escape-map): Use Control-X-prefix.
11207 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11208
1edf595d
MR
112092012-01-25 Martin Rudalics <rudalics@gmx.at>
11210
11211 * window.el (window-state-get, window--state-get-1): Don't deal
11212 with fixed-sizeness of windows. Simplify code.
11213
fa8eafef
JC
112142012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11215
6df6ae42
JB
11216 * window.el (window--state-get-1, window--state-put-2):
11217 Don't save and restore the mark.
fa8eafef 11218
0b21c100
CY
112192012-01-25 Chong Yidong <cyd@gnu.org>
11220
11221 * custom.el (custom-variable-p): Doc fix.
11222
5ae1a6c8
GM
112232012-01-25 Glenn Morris <rgm@gnu.org>
11224
40047858
GM
11225 * dired.el (dired-goto-file): Handle some of the more common
11226 characters that `ls -b' escapes. (Bug#10596)
11227
5ddce96c
GM
11228 * progmodes/compile.el (compilation-next-error-function):
11229 Respect compilation-first-column in the "*compilation*" buffer.
11230 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11231
5ae1a6c8
GM
11232 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11233
b559f1a9
GM
112342012-01-24 Glenn Morris <rgm@gnu.org>
11235
11236 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11237
6725d21a
JD
112382012-01-24 Julien Danjou <julien@danjou.info>
11239
11240 * color.el (color-rgb-to-hsl): Fix value computing.
11241 (color-hue-to-rgb): New function.
11242 (color-hsl-to-rgb): New function.
11243 (color-clamp, color-saturate-hsl, color-saturate-name)
11244 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11245 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11246
70df4bbe
GM
112472012-01-24 Glenn Morris <rgm@gnu.org>
11248
11249 * vc/vc-rcs.el (vc-rcs-create-tag):
11250 * vc/vc-sccs.el (vc-sccs-create-tag):
11251 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11252
802a2ae2
ML
112532012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11254
11255 * eshell/esh-util.el (eshell-read-hosts-file):
11256 Skip comment lines. (Bug#10549)
11257
d7128bb1
ML
11258 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11259
d1a5c3b4
JB
112602012-01-23 Juanma Barranquero <lekktu@gmail.com>
11261
2724d9c7
JB
11262 * subr.el (display-delayed-warnings): Doc fix.
11263 (collapse-delayed-warnings): New function to collapse identical
11264 adjacent warnings.
11265 (delayed-warnings-hook): Add it.
d1a5c3b4 11266
a5509865
MA
112672012-01-22 Michael Albinus <michael.albinus@gmx.de>
11268
11269 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11270
a5509865
MA
11271 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11272 (tramp-default-user-alist): Don't add "pscp".
11273 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11274 property "login-as", if set. (Bug#10530)
11275
cc6d5805
MA
112762012-01-21 Michael Albinus <michael.albinus@gmx.de>
11277
11278 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11279 "plink1" and "psftp". (Bug#10530)
11280
112812012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
11282
11283 * international/mule-cmds.el (prefer-coding-system): Show a
11284 warning message if the default value of file-name-coding-system
11285 was not changed.
11286
f0960428
JC
112872012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11288
cb882333
JB
11289 * windmove.el (windmove-reference-loc):
11290 Fix windmove-reference-loc miscalculation.
f0960428 11291
dd6f2a63
JB
112922012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11293
11294 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11295 default unit.
11296
7b447e9b
GM
112972012-01-21 Glenn Morris <rgm@gnu.org>
11298
117a9ea1
GM
11299 * international/mule.el (auto-coding-alist): Add .tbz.
11300
7b447e9b
GM
11301 * files.el (local-enable-local-variables): Doc fix.
11302 (inhibit-local-variables-regexps): Rename from
11303 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11304 Doc fix. Add some extensions from auto-coding-alist.
11305 (inhibit-local-variables-suffixes):
11306 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11307 (inhibit-local-variables-p):
11308 New function, extracted from set-auto-mode-1.
11309 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11310 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11311 (hack-local-variables): Doc fix. Make the mode-only case
11312 respect enable-local-variables and friends.
11313 Respect inhibit-local-variables-regexps for file-locals, but
11314 not for directory-locals.
11315 (set-visited-file-name):
11316 Take account of inhibit-local-variables-regexps.
11317 Whether it applies may change as the file name is changed.
11318 * jka-cmpr-hook.el (jka-compr-install):
11319 * jka-compr.el (jka-compr-uninstall):
11320 Update for inhibit-first-line-modes-suffixes name change.
11321
dd6e3cdd
MR
113222012-01-20 Martin Rudalics <rudalics@gmx.at>
11323
11324 * help-macro.el (make-help-screen): Temporarily restore original
11325 binding for minor-mode-map-alist (Bug#10454).
11326
0d0deb38
JD
113272012-01-19 Julien Danjou <julien@danjou.info>
11328
11329 * color.el (color-name-to-rgb): Use the white color to find the max
11330 color component value and return correctly computed values.
11331 (color-name-to-rgb): Add missing float conversion for max value.
11332
34a02f46
MR
113332012-01-19 Martin Rudalics <rudalics@gmx.at>
11334
11335 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11336 special state value for window-persistent-parameters.
11337 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11338 (window--state-put-2): Reset all window parameters to nil before
11339 assigning values of persistent parameters.
11340
606c44c4
AM
113412012-01-18 Alan Mackenzie <acm@muc.de>
11342
11343 Eliminate sluggishness and hangs in fontification of "semicolon
11344 deserts".
11345
cb882333
JB
11346 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11347 Change value 10000 -> 3000.
606c44c4
AM
11348 (c-state-safe-place): Reformulate so it doesn't stack up an
11349 infinite number of wrong entries in c-state-nonlit-pos-cache.
11350 (c-determine-limit-get-base, c-determine-limit): New functions to
11351 determine backward search limits disregarding literals.
11352 (c-find-decl-spots): Amend commenting.
11353 (c-cheap-inside-bracelist-p): New function which detects "={".
11354
11355 * progmodes/cc-fonts.el
11356 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11357 backward search.
11358 (c-font-lock-declarations): Fix an occurrence of point being
11359 undefined. Check additionally for point being in a bracelist or
11360 near a macro invocation without a semicolon so as to avoid a
11361 fruitless time consuming search for a declarator. Give a more
11362 precise search limit for declarators using the new
11363 c-determine-limit.
11364
f3860cea
GM
113652012-01-18 Glenn Morris <rgm@gnu.org>
11366
11367 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11368 (set-auto-mode): Doc fixes.
11369
1db03b16
GM
113702012-01-17 Glenn Morris <rgm@gnu.org>
11371
0e6038be
GM
11372 * isearch.el (search-nonincremental-instead): Fix doc typo.
11373
1db03b16
GM
11374 * dired.el (dired-insert-directory): Handle newlines in directory name.
11375 (dired-build-subdir-alist): Unescape newlines in directory name.
11376
4cb0aa75
MA
113772012-01-17 Michael Albinus <michael.albinus@gmx.de>
11378
11379 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11380 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11381 (tramp-action-terminal): Use it. (Bug#10530)
11382
1d00653d
SM
113832012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11384
11385 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11386
6a6ee00d
MR
113872012-01-16 Martin Rudalics <rudalics@gmx.at>
11388
11389 * window.el (window-state-ignored-parameters): Remove variable.
11390 (window--state-get-1): Rename argument MARKERS to IGNORE.
11391 Handle persistent window parameters. Make copy of clone-of
11392 parameter only if requested. (Bug#10348)
11393 (window--state-put-2): Install a window parameter only if it has
11394 a non-nil value or an existing parameter shall be overwritten.
11395
97912def
MA
113962012-01-15 Michael Albinus <michael.albinus@gmx.de>
11397
11398 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11399
688070a5
EZ
114002012-01-14 Eli Zaretskii <eliz@gnu.org>
11401
11402 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11403 don't pass the (nil) value of `upnode' to string-match.
11404
301afadc
CY
114052012-01-14 Chong Yidong <cyd@gnu.org>
11406
11407 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11408 Fix values recognized by the cursorBlink resource.
301afadc 11409
9e5788aa
PE
114102012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11411
11412 * epg.el (epg--make-temp-file): Avoid permission race condition
11413 when running on old Emacs versions (bug#10403).
11414
3cdb7f5a
GM
114152012-01-14 Glenn Morris <rgm@gnu.org>
11416
11417 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11418
8c82b1b4
AM
114192012-01-13 Alan Mackenzie <acm@muc.de>
11420
11421 Fix filling for when filladapt mode is enabled.
11422
11423 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11424 c-mask-paragraph, pass in `fill-paragraph' rather than
11425 `fill-region-as-paragraph'. (This is a reversion of a previous
11426 change.)
eb864a71
LM
11427 * progmodes/cc-mode.el (c-basic-common-init):
11428 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11429
e517eda4
GM
114302012-01-13 Glenn Morris <rgm@gnu.org>
11431
1498536e
GM
11432 * dired.el (dired-switches-escape-p): New function.
11433 (dired-insert-directory): Use dired-switches-escape-p.
11434 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11435
e517eda4
GM
11436 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11437
328f984d
GM
114382012-01-12 Glenn Morris <rgm@gnu.org>
11439
11440 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11441 changes in adaptive-fill-regexp. (Bug#10276)
11442
2cc769a8
AM
114432012-01-11 Alan Mackenzie <acm@muc.de>
11444
11445 Fix Emacs bug #10463 - put `widen's around the critical spots.
11446
1d00653d 11447 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11448 widen around each invocation of c-state-pp-to-literal. Remove an
11449 unused let variable.
11450
e52c37fa
GM
114512012-01-11 Glenn Morris <rgm@gnu.org>
11452
11453 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11454 Doc fix.
e52c37fa 11455
96f8741e
CY
114562012-01-10 Chong Yidong <cyd@gnu.org>
11457
1d00653d
SM
11458 * net/network-stream.el (network-stream-open-starttls):
11459 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11460 response to the capability command.
11461
b09a806e
GM
114622012-01-10 Glenn Morris <rgm@gnu.org>
11463
11464 * mail/unrmail.el (unrmail): Tweak previous change.
11465
7655cb66
CY
114662012-01-09 Chong Yidong <cyd@gnu.org>
11467
11468 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11469
9d5a8f0b
AM
114702012-01-08 Alan Mackenzie <acm@muc.de>
11471
11472 Optimise font locking in long enum definitions.
11473
11474 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11475 arm to a cond form to handle enums.
11476 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11477 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11478
9a0115ab 114792012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11480
11481 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11482 (Bug#10401)
6bb72cbd 11483
f186bb95
LMI
114842012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11485
29232a68
LMI
11486 * faces.el (set-face-attribute): Clarify the meaning of the nil
11487 frame (bug#10294).
11488
4e5d086d
LMI
11489 * subr.el (with-selected-frame): Mention that the selected frame
11490 is restored (bug#9980).
11491
8e66aebe
LMI
11492 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11493 (bug#9759).
11494
cd394be1 11495 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11496 (password-read): Don't autoload unused function.
11497
adf4e762
JB
114982012-01-07 Juanma Barranquero <lekktu@gmail.com>
11499
11500 * progmodes/which-func.el (which-func-mode): Turn into a
11501 non-interactive function and mark as obsolete (bug#10428).
11502
89bd9ccd
CY
115032012-01-06 Chong Yidong <cyd@gnu.org>
11504
11505 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11506 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11507 functions, along with 1 and -1.
11508
4afee9d5
EZ
115092012-01-06 Eli Zaretskii <eliz@gnu.org>
11510
11511 * time.el (display-time-load-average)
11512 (display-time-default-load-average): Doc fixes. See the thread
11513 starting at
11514 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11515 for the details.
11516
536aea70
GM
115172012-01-06 Glenn Morris <rgm@gnu.org>
11518
665ae865
GM
11519 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11520 has no messages. (Bug#10377)
11521
c869783d
GM
11522 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11523 than Info-edit. (Bug#10385)
11524
2bb4227e
GM
11525 * time.el (display-time-load-average, display-time-next-load-average):
11526 Doc fixes.
11527
7d5944b9
GM
11528 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11529 local setting of buffer-read-only to the input buffer. (Bug#10419)
11530
536aea70
GM
11531 * calendar/calendar.el (calendar-mode):
11532 Locally set scroll-margin to 0. (Bug#10379)
11533
7dccca16
UM
115342012-01-06 Ulrich Mueller <ulm@gentoo.org>
11535
11536 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11537
afbb7930
GM
115382012-01-05 Glenn Morris <rgm@gnu.org>
11539
11540 * eshell/em-unix.el (diff-no-select): Autoload it.
11541 (eshell/diff): Use diff-no-select. (Bug#10420)
11542
04482335
CY
115432012-01-05 Chong Yidong <cyd@gnu.org>
11544
7baca3bc
CY
11545 * shell.el (shell-dynamic-complete-functions): Revert last change.
11546 (shell-command-completion-function): New function.
11547 (shell-completion-vars): Use it to implement
11548 shell-completion-execonly (Bug#10417).
11549
04482335
CY
11550 * custom.el (enable-theme): Don't set custom-safe-themes.
11551
1d00653d
SM
11552 * cus-theme.el (custom-theme-merge-theme):
11553 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11554
bb5aa5d6
MM
115552012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11556
11557 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11558 first prompt in `sql-interacive-mode'.
11559 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11560 keywords.
6df6ae42 11561 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11562 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11563 context of original buffer. Invoke `sql-login-hook'.
11564
a7183d7c
EZ
115652012-01-04 Eli Zaretskii <eliz@gnu.org>
11566
11567 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11568 letters in cite-prefix.
11569
a1eacd1e
LMI
115702012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11571
11572 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11573
787cdb34
CY
115742012-01-03 Chong Yidong <cyd@gnu.org>
11575
1d00653d
SM
11576 * shell.el (shell-dynamic-complete-functions):
11577 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11578 comint-filename-completion first (Bug#10417).
11579
30710442
RS
115802012-01-02 Richard Stallman <rms@gnu.org>
11581
11582 * battery.el (battery-status-function):
11583 Detect when to use battery-yeeloong-sysfs.
11584 (battery-echo-area-format): Add string for Yeeloong.
11585 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11586 (battery-yeeloong-sysfs): New function.
11587
f75bfc33
CY
115882012-01-02 Chong Yidong <cyd@gnu.org>
11589
11590 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11591 (dirtrack): Merge code for handling relative filenames in prompt
11592 from shell-dir-cookie-watcher.
11593 (dirtrack-debug-message): New arg to avoid excess format calls.
11594
11595 * shell.el (shell-dir-cookie-re): Variable deleted.
11596 (shell-dir-cookie-watcher): Function deleted.
11597 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11598 with dirtrack-mode.
11599
651e947e
EZ
116002012-01-01 Eli Zaretskii <eliz@gnu.org>
11601
1d00653d
SM
11602 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11603 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11604 libgnutls-26.dll.
11605
94d4c7dc
AS
116062011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11607
11608 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11609
8d43f3cd
EZ
116102011-12-31 Eli Zaretskii <eliz@gnu.org>
11611
11612 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11613 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11614
98c8795a
MA
116152011-12-29 Michael Albinus <michael.albinus@gmx.de>
11616
11617 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11618 also for alternative shells.
11619 (tramp-open-connection-setup-interactive-shell): Check, whether
11620 the shell is a busybox.
11621 (tramp-send-command): Don't suppress multiple prompts for
11622 busyboxes, it hurts.
11623
51281b32
CY
116242011-12-28 Chong Yidong <cyd@gnu.org>
11625
11626 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11627 (gdb-get-source-file): Move mode line update to
11628 gdb-get-source-file (Bug#10087).
11629
2170cb53
CY
116302011-12-25 Chong Yidong <cyd@gnu.org>
11631
11632 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11633 gud-gdb-marker-filter without taking it as an argument.
11634 (gud-gdb-run-command-fetch-lines): Caller changed.
11635 (gud-gdb-completion-function): New variable.
11636 (gud-gdb-completion-at-point): Use it.
11637 (gud-gdb-completions-1): Split from gud-gdb-completions.
11638
11639 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11640 function as separate arguments.
11641 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11642 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11643 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11644 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11645 (gdb-stopped, def-gdb-auto-update-trigger)
11646 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11647 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11648 Callers changed.
2170cb53
CY
11649 (gud-gdbmi-completions): New function.
11650 (gdb): Use it for generating the completion table.
11651
be8b11bb
AM
116522011-12-24 Alan Mackenzie <acm@muc.de>
11653
11654 Introduce a mechanism to widen the region used in context font
1d00653d 11655 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11656
1d00653d
SM
11657 * progmodes/cc-langs.el (c-before-font-lock-functions):
11658 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11659 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11660 functions to be run just before context (etc.) font locking.
11661
11662 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11663 New, functionality extracted from
be8b11bb 11664 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11665 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11666 (c-after-change): Set c-in-after-change-fontification.
11667 (c-set-fl-decl-start): Rejig its interface, so it can be called
11668 from both after-change and context fontifying.
b81d40f0
JB
11669 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11670 New functions.
11671 (c-standard-font-lock-fontify-region-function): New variable.
11672 (c-font-lock-fontify-region): New function.
be8b11bb 11673
341cf6ac
JL
116742011-12-24 Juri Linkov <juri@jurta.org>
11675
11676 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11677 (Bug#10348)
11678
bffcee0a
MA
116792011-12-23 Michael Albinus <michael.albinus@gmx.de>
11680
11681 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11682 existence of source file. (Bug#10325)
11683
cb5e207c
AM
116842011-12-23 Alan Mackenzie <acm@muc.de>
11685
11686 Fix unstable fontification inside templates.
11687
b81d40f0
JB
11688 * progmodes/cc-langs.el (c-before-font-lock-functions):
11689 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11690 additionally has c-set-fl-decl-start. The other languages (apart
11691 from AWK) have that as a single entry.
11692
b81d40f0
JB
11693 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11694 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11695 c-set-fl-decl-start.
11696
b81d40f0
JB
11697 * progmodes/cc-mode.el (c-common-init, c-after-change):
11698 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11699 (c-set-fl-decl-start): New function, extracted from
11700 c-font-lock-enclosing-decls and enhanced.
11701
60ff536c
JB
117022011-12-23 Juanma Barranquero <lekktu@gmail.com>
11703
11704 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11705
1c4757d6
JL
117062011-12-22 Juri Linkov <juri@jurta.org>
11707
11708 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11709
d031f2c7
CY
117102011-12-22 Chong Yidong <cyd@gnu.org>
11711
11712 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11713
bace743a
DA
117142011-12-21 Drew Adams <drew.adams@oracle.com>
11715
11716 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11717
728a1f2b
JC
117182011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11719
11720 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11721
0d373f73
TZ
117222011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11723
fec0aaa4
TZ
11724 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11725 highlighting and support. Fix up comments for capitalization.
11726 (cfengine-mode-debug): New var.
11727 (cfengine3-mode): Change the modeline indicator to "CFE3".
11728 (cfengine3-font-lock-keywords): Improve defun highlighting.
11729 (cfengine2-actions): Rename from `cfengine-actions'.
11730 (cfengine2-font-lock-keywords): Rename from
11731 `cfengine-font-lock-keywords'.
11732 (cfengine2-imenu-expression): Rename from
11733 `cfengine-imenu-expression'.
11734 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11735 (cfengine2-beginning-of-defun): Rename from
11736 `cfengine-beginning-of-defun'.
11737 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11738 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11739 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11740 modeline indicator to "CFE2".
11741 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11742 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11743
bc86f573
CY
117442011-12-21 Chong Yidong <cyd@gnu.org>
11745
11746 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11747 filename argument.
11748
d45ba96b
MR
117492011-12-20 Martin Rudalics <rudalics@gmx.at>
11750
11751 * window.el (window-normalize-buffer-to-display): Remove.
11752 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11753
a6198c90
CY
117542011-12-19 Chong Yidong <cyd@gnu.org>
11755
11756 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11757 Don't signal an error in a predicate function; return non-nil.
11758 (vc-dir-mark-file): Move the error here.
11759 (vc-dir-mark-unmark): If acting on the region, keep going if one
11760 of the entries cannot be marked/unmarked.
11761 (vc-dir-mark-all-files): If current entry is a directory, mark
11762 only child files, as documented.
11763
34c5fb55
VB
117642011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11765
11766 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11767 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11768 addition.
11769
c803b2b7
JD
117702011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11771
11772 * term/ns-win.el (ns-get-selection-internal)
11773 (ns-store-selection-internal): Declare.
1154d12e
JB
11774 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11775 Declare as obsolete.
11776 (ns-get-pasteboard, ns-paste-secondary):
11777 Use ns-get-selection-internal.
41e9b956 11778 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11779 Use ns-store-selection-internal.
c803b2b7 11780
9cff91f8 117812011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11782
11783 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11784 (vc-deduce-fileset): Doc fix.
99a289d9 11785
f16c898a
AS
117862011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11787
11788 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11789
763237c4
SS
117902011-12-13 Sam Steingold <sds@gnu.org>
11791
11792 * man.el (Man-getpage-in-background): When running under a
11793 window-system, ignore $MANWIDTH and $COLUMNS.
11794
5fc1c122
KH
117952011-12-15 Kenichi Handa <handa@m17n.org>
11796
11797 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11798 (setup-ethiopic-environment-internal): Comment out key-binding for
11799 ethio-toggle-punctuation.
11800
13d49cbb
AM
118012011-12-13 Alan Mackenzie <acm@muc.de>
11802
898169a2
AM
11803 Add the switch statement to AWK Mode.
11804
7a71b18d 11805 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11806 "default" to the keywords regexp.
11807
7a71b18d 11808 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11809 expression as the rest.
1d00653d
SM
11810 (c-nonlabel-token-key): Allow string literals for AWK.
11811 Refactor for the other modes.
898169a2 11812
13d49cbb 11813 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11814 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11815 routines. Limit backward searching in c-font-lock-enclosing.decl.
11816
11817 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11818 pp-state and literal type in addition to the limits.
1d00653d 11819 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11820 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11821 (c-slow-in-literal, c-fast-in-literal): Remove.
11822 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11823
11824 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11825 being in a literal. Add a limit for backward searching.
11826
11827 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11828 c-slow-in-literal.
11829
15e0efc7
SM
118302011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11833
454592a6
MR
118342011-12-13 Martin Rudalics <rudalics@gmx.at>
11835
11836 * window.el (delete-other-windows): Use correct frame in call to
11837 window-with-parameter.
11838
87393f26
DP
118392011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11840
11841 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11842 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11843 (makefile-gmake-statements, makefile-makepp-statements):
11844 Use it and add new makepp keywords.
11845 (makefile-makepp-font-lock-keywords): Add new patterns.
11846 (makefile-match-function-end): Match new [...] and [[...]].
11847
11636b22
JB
118482011-12-11 Juanma Barranquero <lekktu@gmail.com>
11849
11850 * ses.el (ses-call-printer-return, ses-cell-property-get)
11851 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11852 (ses-create-cell-variable, ses-reset-header-string)
11853 (ses-cell-set-formula, ses-repair-cell-reference-all)
11854 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11855 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11856 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11857 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11858 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11859 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11860 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11861 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11862 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11863 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11864 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11865 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11866
cf018193
VB
118672011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11868
11869 * ses.el: The overall change is to add cell renaming, that is
11870 setting fancy names for cell symbols other than name matching
11871 "\\`[A-Z]+[0-9]+\\'" regexp .
11872 (ses-create-cell-variable): New defun.
11873 (ses-relocate-formula): Relocate formulas only for cells the
11874 symbols of which are not renamed, i.e. symbols whose names do not
11875 match regexp "\\`[A-Z]+[0-9]+\\'".
11876 (ses-relocate-all): Relocate values only for cells the symbols of
11877 which are not renamed.
11878 (ses-load): Create cells variables as the (ses-cell ...) are read,
11879 in order to check row col consistency with cell symbol name only
11880 for cells that are not renamed.
11881 (ses-replace-name-in-formula): New defun.
11882 (ses-rename-cell): New defun.
11883
ee957461
CY
118842011-12-11 Chong Yidong <cyd@gnu.org>
11885
11886 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11887 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11888
9a9e9ef0
MR
118892011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11890
11891 * window.el (other-window): Fix docstring.
11892
92a8eba5
EZ
118932011-12-10 Eli Zaretskii <eliz@gnu.org>
11894
11895 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11896 `from' or `to' address before taking its substring.
11897 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11898 encoded name is chopped in the middle of the encoded string, and
11899 thus displayed encoded.
11900
e152e577
JB
119012011-12-10 Juanma Barranquero <lekktu@gmail.com>
11902
11903 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11904
e5d84bfe
EZ
119052011-12-10 Eli Zaretskii <eliz@gnu.org>
11906
11907 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11908 to use texinfo-update-node and commands that call it if the
11909 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11910 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11911 (texinfo-all-menus-update, texinfo-master-menu)
11912 (texinfo-update-node, texinfo-every-node-update)
11913 (texinfo-multiple-files-update): Doc fix. Warn against updating
11914 all the @node lines.
11915 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11916 argument is numeric. Explain better in the doc string what the
11917 function really does.
11918 (texinfo-insert-master-menu-list): Improve the error message
11919 displayed if there's no menu in the Top node.
11920 (Bug#2975) See also this thread:
e5d84bfe
EZ
11921 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11922
1d84e9bb
MG
119232011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11924
11925 * speedbar.el (speedbar-supported-extension-expressions):
11926 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11927
382c953b
JB
119282011-12-09 Juanma Barranquero <lekktu@gmail.com>
11929
11930 * printing.el (pr-mode-alist):
11931 * simple.el (filter-buffer-substring-functions)
11932 (completion-list-insert-choice-function):
11933 * window.el (window-with-parameter, window-atom-root)
11934 (window-sides-slots, window-size-fixed, window-min-delta)
11935 (window-max-delta, window--resize-mini-window)
11936 (window--resize-child-windows-normal, window-tree)
11937 (delete-other-windows, quit-window, split-window)
11938 (display-buffer-record-window, special-display-buffer-names)
11939 (special-display-regexps, special-display-popup-frame)
11940 (same-window-p, split-window-sensibly)
11941 (display-buffer-overriding-action, display-buffer-alist)
11942 (display-buffer-base-action, display-buffer, switch-to-buffer)
11943 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11944 (fit-window-to-buffer, recenter-positions)
11945 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11946 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11947 and remove unneeded backslashes in docstrings.
11948
39c9faef
SM
119492011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11950
98449af8
SM
11951 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11952
39c9faef
SM
11953 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11954 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11955 end in ".mk".
11956 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11957 when reading the makefile (bug#10116).
11958
86ed9fdc
SM
119592011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11960
11961 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11962 (bug#10116).
11963
5580f89d
GM
119642011-12-06 Glenn Morris <rgm@gnu.org>
11965
11966 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11967
28d3917c
CY
119682011-12-06 Chong Yidong <cyd@gnu.org>
11969
11970 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11971
a98edce9
JB
119722011-12-06 Juanma Barranquero <lekktu@gmail.com>
11973
11974 * textmodes/table.el (table-shorten-cell): Fix typo.
11975
e65adfac
CG
119762011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11977
11978 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11979
71cc0b74
EZ
119802011-12-05 Eli Zaretskii <eliz@gnu.org>
11981
11982 * descr-text.el (describe-char): Fix display of strong
11983 right-to-left characters and directional embeddings and overrides.
11984
11985 * simple.el (what-cursor-position): Fix display of codepoints of
11986 strong right-to-left characters.
11987
315bc30d
CY
119882011-12-05 Chong Yidong <cyd@gnu.org>
11989
11990 * faces.el (read-color): Doc fix.
11991
58a70b94
GM
119922011-12-05 Glenn Morris <rgm@gnu.org>
11993
11994 * align.el (align--set-marker): Add doc-string.
11995 Don't try to move something that is not a marker. (Bug#10216)
11996
5158face
GM
119972011-12-04 Glenn Morris <rgm@gnu.org>
11998
11999 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12000 overly zealous deletion of trailing whitespace.
12001
520fca41
JB
120022011-12-04 Juanma Barranquero <lekktu@gmail.com>
12003
12004 * server.el (server-delete-client): On Windows, do not try to delete
12005 the only terminal.
12006 (server-process-filter): On Windows, treat requests for a tty frame as
12007 if they were for a GUI frame if the running server is in GUI mode.
12008
5e605a2e
GM
120092011-12-03 Glenn Morris <rgm@gnu.org>
12010
12011 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12012
5c3fe83f
SM
120132011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12014
6f5e57e7
SM
12015 * electric.el: Streamline electric-indent's hook.
12016 (electric-indent-chars): Revert to simple list.
12017 (electric-indent-functions): New var.
12018 (electric-indent-post-self-insert-function): Use it.
12019
5c3fe83f
SM
12020 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12021 there's no inferior buffer (bug#10196).
12022 (prolog-consult-compile): Don't use toggle-read-only.
12023
6bdac736
MA
120242011-12-02 Michael Albinus <michael.albinus@gmx.de>
12025
12026 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12027 interrupt. (Bug#10187)
12028
6131ba7f
SM
120292011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12030
99c79fee
SM
12031 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12032 (bug#9160).
12033
6131ba7f
SM
12034 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12035 (bug#10191).
12036
cb0a02ea
JL
120372011-12-02 Juri Linkov <juri@jurta.org>
12038
12039 * info.el (Info-search): Display "end of manual" when Isearch
12040 reaches the end of single-file Info manual. (Bug#9918)
12041
66e0570c
EZ
120422011-12-02 Eli Zaretskii <eliz@gnu.org>
12043
12044 * isearch.el (isearch-message-prefix): Run the input method part
12045 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12046
02b16839
JL
120472011-12-02 Juri Linkov <juri@jurta.org>
12048
12049 * isearch.el (isearch-occur): Use `word-search-regexp' for
12050 `isearch-word'.
12051 (isearch-search-and-update): Add condition for `isearch-word' and
12052 call `word-search-regexp'. (Bug#10145)
12053
0b950688
GM
120542011-12-01 Glenn Morris <rgm@gnu.org>
12055
12056 * eshell/em-hist.el (eshell-hist-initialize):
12057 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12058 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12059
9505c3c7
SM
120602011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12061
12062 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12063
1bbe96b2 120642011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12065
a1beca85
SM
12066 * progmodes/verilog-mode.el (verilog-pretty-expr):
12067 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12068 verilog, such as += *= and the like.
12069 (verilog-assignment-operator-re): Regular expression to find the
12070 assigment operator in a verilog assignment.
12071 (verilog-assignment-operation-re): Regular expression to find an
12072 assignment statement for pretty-expr.
12073 (verilog-in-attribute-p): Query returns true if point is in an
12074 attribute context; used to skip these for expression line up from
12075 pretty-expr.
12076 (verilog-in-parameter-p): Query returns true if point is in an
12077 parameter definition context; used to skip these for expression
12078 line up from pretty-expr.
12079 (verilog-in-parenthesis-p): Query returns true if point is in a
12080 parenthetical expression, specifically ( ) but not [ ] or { };
12081 used by pretty-expr.
12082 (verilog-just-one-space): If there is no space, don't add one.
12083 (verilog-get-lineup-indent-2): Specifically skip just attribute
12084 contexts for expression lineup, rather than skipping all
12085 parenthetical expressions.
12086 (verilog-calculate-indent): Fix comment, and fix indent.
12087 (verilog-do-indent): Indent declarations in lists (suggested by
12088 Joachim Lechner).
12089 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12090 skeleton items.
12091 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12092 by Alain Mellan).
12093
1bbe96b2 120942011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12095
12096 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12097 parameters with embedded comments. Reported by Ray Stevens.
12098 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12099 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12100 Reported by Tim Holt.
12101 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12102 instantiated by upper module causing wrong expansion until AUTOed a
12103 second time. Reported by K C Buckenmaier.
12104 (verilog-diff-auto): Fix showing .* as a difference when
12105 `verilog-auto-star-save' off. Reported by Dan Dever.
12106 (verilog-auto-reset, verilog-read-always-signals)
12107 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12108 temporary signals in reset list if
12109 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12110 style to each signal's assignment type, bug381.
12111 Reported by Thomas Esposito.
6288f0ca
WS
12112 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12113 (verilog-uvm-statement-re): Support UVM indentation and
12114 highlighting, with old OVM keywords only.
a1beca85 12115 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12116 Support AUTOTIEOFF creating non-wire data types.
12117 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12118 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12119 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12120 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12121 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12122 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12123 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12124 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12125 non-numeric vector width. Reported by Alex Reed.
12126 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12127 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12128 (verilog-auto-delete-trailing-whitespace):
12129 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12130 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12131 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12132 Fix verilog-scan-cache corruption when running user AUTO expansion
12133 hooks that call indentation routines.
12134 (verilog-simplify-range-expression): Fix typo ignoring lower case
12135 identifiers.
12136 (verilog-delete-auto): Fix delete-autos to also remove user created
12137 automatics, as long as they start with AUTO.
12138 (verilog-batch-diff-auto, verilog-diff-auto)
12139 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12140 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12141 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12142 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12143 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12144 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12145 is disabled and its cache will get corrupt, causing AUTOS not to
12146 expand. Instead use only -quick functions.
12147 (verilog-scan-region): Fix scanning over escaped quotes.
12148 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12149 (verilog-re-search-backward-quick)
12150 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12151 related functions now ignore strings, to fix misparsing of strings
12152 with magic comments embedded in them.
a1beca85
SM
12153 (verilog-read-auto-template):
12154 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12155 Reported by Brad Dobbie.
12156 (verilog-read-auto-template):
12157 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12158 Reported by Brad Dobbie.
6288f0ca
WS
12159 (verilog-auto-inst, verilog-auto-inst-param)
12160 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12161 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12162 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12163 debugging templates without merge conflicts, bug357.
12164 Reported by Brad Dobbie.
12165 (verilog-read-auto-template):
12166 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12167 Reported by Brad Dobbie.
12168 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12169 abbrevs so user won't be asked to save.
12170 (verilog-read-auto-lisp-present): Fix to start at beginning of
12171 buffer in case called outside of verilog-auto.
12172 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12173 to "X-2". Reported by Matthew Myers.
12174 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12175 all inputs from module templates. Reported by Leith Johnson.
12176 (verilog-module-inside-filename-p): Fix locating programs as with
12177 modules.
12178 (verilog-auto-inst-port): Fix vl-width expressions when using
12179 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12180 (verilog-decls-get-regs, verilog-decls-get-signals,
12181 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12182 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12183 verilog-read-decls): Combine reg and wire structures into one var
12184 structure to represent SystemVerilog concepts.
12185 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12186 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12187 (verilog-auto-wire-type, verilog-insert-definition):
12188 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12189 SystemVerilog "logic" keyword instead of "wire"/"reg".
12190 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12191 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12192 ifdef or generate if so there's not a driver conflict).
12193 Reported by Matthew Myers.
12194 (verilog-auto-declare-nettype, verilog-insert-definition):
12195 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12196 `default_nettype none. Reported by Julian Gorfajn.
12197 (verilog-read-always-signals-recurse, verilog-read-decls)
12198 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12199 malformed end statement, bug325. Reported by Joshua Wise and
12200 Andrew Drake.
12201 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12202 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12203 when expanding .* in interfaces, bug320.
12204 Reported by Pierre-David Pfister.
6288f0ca 12205 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12206 name and open parenthesis, bug317.
12207 Reported by Pierre-David Pfister.
6288f0ca
WS
12208 (verilog-simplify-range-expression): Fix simplification of
12209 multiplications inside AUTOWIRE connections, bug303.
12210 (verilog-auto-inst-port): Support parameter expansion in
12211 multidimensional arrays.
12212 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12213 after "assert property". Reported by Julian Gorfajn.
12214 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12215 with multiplication, bug303.
12216 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12217 Reported by Jan Frode Lonnum.
12218
1bbe96b2
GM
122192011-11-30 Juanma Barranquero <lekktu@gmail.com>
12220
12221 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12222 (hfy-shell-file-name, hfy-shell):
12223 * international/fontset.el (x-decompose-font-name): Fix typos.
12224
122252011-11-29 Ken Brown <kbrown@cornell.edu>
12226
12227 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12228 (gdb-version): Remove defvar.
12229 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12230 (gdb-gud-context-command, gdb-non-stop-handler)
12231 (gdb-current-context-command, gdb-stopped): Use it.
12232 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12233 (gdb-non-stop-handler): Don't enable pretty-printing here.
12234 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12235 non-stop mode. Use the following.
12236 (gdb-check-target-async): New defun.
12237 (gud-watch, gdb-stopped): Fix whitespace.
12238 (gdb-get-source-file): Don't try to display the source file if
12239 `gdb-main-file' is nil.
12240
122412011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12242
12243 * align.el: Try to generate fewer markers (bug#10047).
12244 (align--set-marker): New macro.
12245 (align-region): Use it.
12246
c935221f
SM
122472011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12248
12249 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12250
e70b5064
CY
122512011-11-29 Chong Yidong <cyd@gnu.org>
12252
12253 * indent.el (indent-for-tab-command, indent-according-to-mode):
12254 Doc fix.
12255 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12256
f3af92b7
MA
122572011-11-29 Michael Albinus <michael.albinus@gmx.de>
12258
12259 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12260 aware of remote file names. (Bug#10124)
12261
ed472be9
CY
122622011-11-29 Chong Yidong <cyd@gnu.org>
12263
12264 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12265
24510c22
SM
122662011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12267
12268 * files.el (find-file): Don't use force-same-window (bug#10144).
12269 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12270 use pop-to-buffer if the selected window can't be used.
12271 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12272
c60c3703
EZ
122732011-11-28 Eli Zaretskii <eliz@gnu.org>
12274
12275 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12276 special-mode-map.
12277
e95def75
CY
122782011-11-28 Chong Yidong <cyd@gnu.org>
12279
12280 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12281
c3f1c606
NR
122822011-11-27 Nick Roberts <nickrob@snap.net.nz>
12283
12284 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12285 gdb-get-source-file-list on gdb-create-source-file-list.
12286
00db469c
EZ
122872011-11-26 Eli Zaretskii <eliz@gnu.org>
12288
12289 * whitespace.el (whitespace-newline): Use a different foreground
12290 color for 16-color light-background displays.
12291
4ad3bc2a
CY
122922011-11-24 Chong Yidong <cyd@gnu.org>
12293
12294 * window.el (display-buffer--special-action): Doc fix.
12295
e9fce1ac
JB
122962011-11-25 Juanma Barranquero <lekktu@gmail.com>
12297
12298 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12299 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12300 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12301 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12302 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12303 (avl-tree-stack-first):
12304 * emacs-lisp/cconv.el (cconv--analyse-use):
12305 * net/gnutls.el (gnutls-negotiate): Fix typos.
12306
cb825e5d
GM
123072011-11-24 Glenn Morris <rgm@gnu.org>
12308
3adbe224
GM
12309 * lpr.el (lpr-windows-system, lpr-lp-system):
12310 * mail/binhex.el (binhex-begin-line):
12311 * progmodes/grep.el (grep-history, grep-find-history):
12312 * textmodes/flyspell.el:
12313 * vc/pcvs-defs.el (cvs-global-menu):
12314 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12315 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12316 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12317
321decc8
GM
12318 * net/tls.el: Fix case of "GnuTLS".
12319
420b63ad
GM
12320 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12321
cb825e5d
GM
12322 * version.el (emacs-build-system): Give it a doc-string.
12323
a0649f08
JL
123242011-11-24 Juri Linkov <juri@jurta.org>
12325
12326 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12327
c0bc0fd4
GM
123282011-11-24 Glenn Morris <rgm@gnu.org>
12329
12330 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12331 if called on a non-mime message just toggle the headers. (Bug#8006)
12332
20db1522
JB
123332011-11-24 Juanma Barranquero <lekktu@gmail.com>
12334
12335 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12336 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12337 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12338 (allout-rebullet-heading, allout-open-sibtopic)
12339 (allout-toggle-current-subtree-encryption)
12340 (allout-toggle-subtree-encryption, allout-encrypt-string)
12341 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12342 (allout-distinctive-bullets-string, allout-auto-activation):
12343 * window.el (window-normalize-buffer-to-display):
12344 * progmodes/verilog-mode.el (verilog-batch-indent):
12345 * textmodes/bibtex.el (bibtex-field-braces-opt)
12346 (bibtex-field-strings-opt):
12347 * vc/cvs-status.el (cvs-tree-merge):
12348 Fix typos.
12349
7262a87c
MA
123502011-11-23 Michael Albinus <michael.albinus@gmx.de>
12351
12352 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12353 `non-essential' to t, in order to avoid remote connections.
12354
283430a1
EZ
123552011-11-23 Eli Zaretskii <eliz@gnu.org>
12356
a1beca85
SM
12357 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12358 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12359 case-insensitively.
12360
d2992a38
ML
123612011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12362
12363 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12364
50419064
GM
123652011-11-23 Glenn Morris <rgm@gnu.org>
12366
da94eca1
GM
12367 * paths.el (rmail-file-name): Reformat the doc-string so that it
12368 is picked up.
12369
9aac4de2
GM
12370 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12371 (rmail-auto-file): Ignore case in the "special" field names,
12372 as mail-fetch-field does for all others.
12373
8038d2d2
GM
12374 * mail/rmail.el (rmail-forward):
12375 * mail/rmailkwd.el (rmail-set-label):
12376 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12377 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12378
f3fe222a
GM
12379 * mail/rmail.el (rmail-current-message): Doc fix.
12380
50419064
GM
12381 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12382
28109f49
SM
123832011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12384
12385 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12386
394c65f1
GM
123872011-11-22 Glenn Morris <rgm@gnu.org>
12388
12389 * mail/rmailmm.el (test-rmail-mime-handler)
12390 (test-rmail-mime-bulk-handler)
12391 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12392
f2a0aa3a
JL
123932011-11-21 Juri Linkov <juri@jurta.org>
12394
1154d12e
JB
12395 * calc/calc.el (calc-read-key-sequence):
12396 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12397
9c34a344
LMI
123982011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12399
12400 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12401 Tell the caller that the next line needs recomputation, even
12402 though it doesn't start a sexp (bug#10094).
12403
f04a3be9
SM
124042011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12405
12406 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12407
7978747f
SM
124082011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12409
f04a3be9
SM
12410 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12411 Use force-same-window.
7978747f 12412
fe7a3057
JB
124132011-11-20 Juanma Barranquero <lekktu@gmail.com>
12414
12415 * descr-text.el (describe-char-unicode-data):
12416 * json.el (json-string-escape):
12417 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12418 (Footnote-unicode, Footnote-style-p):
12419 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12420
24901d61
CY
124212011-11-20 Chong Yidong <cyd@gnu.org>
12422
12423 * window.el (replace-buffer-in-windows): Restore interactive spec.
12424
bac7ff22
SM
124252011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12426
24f3d7b9
SM
12427 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12428
bac7ff22
SM
12429 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12430 (byte-compile-global-not-obsolete-vars): New var.
12431 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12432 Use it.
12433 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12434
cd1181db
JB
124352011-11-20 Juanma Barranquero <lekktu@gmail.com>
12436
12437 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12438 * progmodes/pascal.el (electric-pascal-equal):
12439 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12440 * xml.el (xml-substitute-special): Fix typos.
12441
7fb18e9e
GM
124422011-11-20 Glenn Morris <rgm@gnu.org>
12443
12444 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12445 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12446 Doc fixes.
12447 (rmail-decode-mime-charset): Mark as obsolete.
12448
12449 * mail/rmailsum.el (rmail-message-regexp-p-1):
12450 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12451 Before using mime functions, check they are set. (Bug#10077)
12452
d5a6b3ba
JL
124532011-11-19 Juri Linkov <juri@jurta.org>
12454
12455 * info.el (Info-finder-find-node): Use `package--builtins' instead
12456 of `package-alist'. Use node names formed by the pattern "Keyword "
12457 and the keyword name.
12458
e981b61f
AS
124592011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12460
1d00653d 12461 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12462
3ffbc301
JL
124632011-11-19 Juri Linkov <juri@jurta.org>
12464
12465 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12466 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12467 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12468 `old-history', `old-history-forward'. Add let-binding
12469 `window-selected'. Remove calls to `kill-buffer',
12470 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12471 before calling `Info-find-node', so `Info-find-node-2' will reread
12472 the Info file. Restore window positions only when `window-selected'
12473 is non-nil.
12474
30c62133
JL
124752011-11-19 Juri Linkov <juri@jurta.org>
12476
12477 * isearch.el (isearch-lazy-highlight-new-loop):
12478 Remove condition `(not isearch-error)'. (Bug#9918)
12479
12480 * misearch.el (multi-isearch-search-fun): Add condition
12481 `(not bound)' to ignore lazy-highlighting search.
12482 Add the search-failed message "end of multi" when the end of
12483 multi-sequence is reached. Uncapitalize the search-failed
12484 message "Repeat for next buffer".
12485
12486 * info.el (Info-search): Add the search-failed message
12487 "end of the manual" when the end of the manual is reached
12488 in Isearch mode.
12489
645ca9cf
JL
124902011-11-19 Juri Linkov <juri@jurta.org>
12491
12492 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12493 Use non-destructive `remove' instead of `delete' because
12494 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12495 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12496
df754f66
JL
124972011-11-19 Juri Linkov <juri@jurta.org>
12498
12499 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12500 to nil instead of binding `search-ring' and `regexp-search-ring'.
12501 (Bug#9185)
12502
0e23d96a
EZ
125032011-11-19 Eli Zaretskii <eliz@gnu.org>
12504
12505 * simple.el (line-move): Force movement by logical lines for any
12506 hscrolled window, not only when auto-hscroll-mode is on.
12507 (line-move-visual): Update doc string to that effect. (Bug#10076)
12508
8a6ccb66
AS
125092011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12510
12511 * language/european.el (macintosh): Define as alias for mac-roman.
12512
49ae5b39
EZ
125132011-11-19 Eli Zaretskii <eliz@gnu.org>
12514
12515 * mail/rmailmm.el (rmail-mime-display-header)
12516 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12517 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12518 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12519 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12520 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12521 of a raw aref.
12522 (rmail-mime-entity-segment): To get past the tagline, move forward
12523 2 more lines, to account for the 2 empty lines that precede and
12524 follow the line with the buttons.
12525 (rmail-mime-update-tagline): Move one more line, to get past the
12526 empty line that follows the buttons in the tagline. (Bug#9520)
12527
c56cad4a
MR
125282011-11-19 Martin Rudalics <rudalics@gmx.at>
12529
12530 * window.el (window-max-delta-1, window-min-delta-1)
12531 (window-min-size-1, window-state-get-1, window-state-put-1)
12532 (window-state-put-2): Use "window--" prefix.
12533
cbe71af3
SM
125342011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12535
2ad52c60
SM
12536 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12537 (smie-warning-count): New var.
12538 (smie-set-prec2tab): Use it.
12539 (smie-bnf->prec2): Improve warnings. Add docstring.
12540 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12541 (smie-bnf--set-class): New function.
12542 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12543 corner case.
12544
6944dbc1
SM
12545 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12546 (compilation-error-properties, compilation-move-to-column):
12547 Handle compilation-first-column while in the target buffer.
12548
c400c4d7
SM
12549 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12550 Don't hardcode point-min==1.
12551
6dbe3e96
SM
12552 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12553 (eshell-rewrite-for-command): Remove workaround.
12554 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12555 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12556 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12557
cbe71af3
SM
12558 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12559
a8e1496d
GM
125602011-11-17 Glenn Morris <rgm@gnu.org>
12561
12562 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12563 Ignore buffer-local generated-autoload-file if it is the same
12564 as the global value. (Bug#10049)
12565
df85d315
JB
125662011-11-17 Juanma Barranquero <lekktu@gmail.com>
12567
12568 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12569 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12570 (reftex-toc-previous-heading, reftex-toc-max-level)
12571 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12572 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12573 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12574 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12575 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12576 (reftex-toc-rename-label, reftex-toc-visit-location)
12577 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12578 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12579 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12580 leaving "*toc*" only for references to the buffer.
12581
a0c2d0ae
MR
125822011-11-17 Martin Rudalics <rudalics@gmx.at>
12583
12584 * window.el (window-resize, delete-window, split-window):
12585 Replace window-splits by window-combination-resize.
1d00653d 12586 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12587
35c0bac8
GM
125882011-11-17 Glenn Morris <rgm@gnu.org>
12589
12590 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12591 Make bash entry derive from sh entry, not shell entry.
12592
d0c8fc8a
MA
125932011-11-16 Michael Albinus <michael.albinus@gmx.de>
12594
7262a87c
MA
12595 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12596 local file name.
12597
7877f373
JB
125982011-11-16 Juanma Barranquero <lekktu@gmail.com>
12599
12600 * menu-bar.el (menu-bar-file-menu):
12601 * printing.el (pr-ps-utility):
12602 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12603 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12604 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12605 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12606 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12607 (icalendar--convert-cyclic-to-ical)
12608 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12609 (icalendar--convert-ical-to-diary)
12610 (icalendar--convert-recurring-to-diary)
12611 (icalendar--convert-non-recurring-all-day-to-diary)
12612 (icalendar-import-format-sample):
12613 * progmodes/idlw-shell.el (idlwave-shell-mode):
12614 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12615 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12616 (vhdl-ps-print-init): Fix typos.
12617
10649b82
KM
126182011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12619
9d0cfcd6
GM
12620 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12621 FSF and collapse date sequence, obscure author/maintainer email address
12622 better, remove extra version line, track relocation of author's webpage.
10649b82 12623
9d0cfcd6
GM
12624 * progmodes/python.el (python-pdbtrack-input-prompt)
12625 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12626 regular python pdb prompts. Adjustments shamelessly taken exactly as
12627 suggested in EmacsWiki page (tiny change):
12628 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12629
58179cce
JB
126302011-11-16 Juanma Barranquero <lekktu@gmail.com>
12631
12632 * expand.el (expand-pos, expand-index, expand-point):
12633 Remove redundant info from docstring.
12634 (expand-add-abbrevs): Doc fix.
12635 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12636 (expand-sample-perl-mode-expand-list): Fix typos.
12637
12638 * net/dbus.el (dbus-event-member-name):
12639 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12640 * term/pc-win.el (msdos-create-frame-with-faces):
12641 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12642
b6f67890
MR
126432011-11-16 Martin Rudalics <rudalics@gmx.at>
12644
12645 * window.el (split-window, window-state-get-1)
12646 (window-state-put-1, window-state-put-2): Rename occurrences of
12647 window-nest to window-combination-limit.
1d00653d 12648 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12649
ce7ddba0
CY
126502011-11-16 Chong Yidong <cyd@gnu.org>
12651
12652 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12653 regexp (Bug#10033).
12654
3ae704f4
SM
126552011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12656
12657 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12658 `completing-read' will remove *Completions* and will preserve
12659 current-buffer for us.
12660 (tmm-add-prompt): Users of *Completions* will always (re)set its
12661 major mode.
12662 (tmm-old-comp-map): Remove.
12663
6ad1cdde
GM
126642011-11-16 Glenn Morris <rgm@gnu.org>
12665
12666 * mail/rmailedit.el: Require rmailmm when compiling.
12667 (rmail-old-mime-state): New declaration.
12668 (rmail-edit-current-message): If editing a mime message,
12669 edit the "raw" message from the mbox buffer.
12670 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12671
d20faa20
GM
126722011-11-15 Glenn Morris <rgm@gnu.org>
12673
12674 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12675 which wasn't being used. Add optional arg to force given state.
12676 (rmail-mime): Add optional arg to force given state.
12677
c7015153
JB
126782011-11-15 Juanma Barranquero <lekktu@gmail.com>
12679
12680 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12681 * frame.el (display-mm-dimensions-alist):
12682 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12683 (outline-move-subtree-down):
12684 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12685 (newsticker--treeview-do-get-node):
12686 * net/quickurl.el (quickurl-list-buffer-name):
12687 * progmodes/dcl-mode.el (dcl-mode):
12688 * progmodes/gdb-mi.el (gdb-mapcar*):
12689 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12690
45261b50
GM
126912011-11-15 Glenn Morris <rgm@gnu.org>
12692
12693 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12694 in a boolean sense, so just make it a boolean, and fix the doc.
12695 (rmail-show-mime-function, rmail-mime-feature)
12696 (rmail-require-mime-maybe): Doc fixes.
12697 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12698
12699 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12700
0d26e0b6
JB
127012011-11-15 Juanma Barranquero <lekktu@gmail.com>
12702
12703 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12704 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12705 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12706 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12707
447f30f6
GM
127082011-11-15 Glenn Morris <rgm@gnu.org>
12709
672b871d
GM
12710 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12711 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12712 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12713 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12714 (rmail-mime, rmail-show-mime): Doc fixes.
12715
f6aa5bb1
GM
12716 * term/ns-win.el (mode-line-frame-identification):
12717 Leave it alone. (Bug#10051)
12718
947cd66b
GM
12719 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12720
447f30f6
GM
12721 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12722 Handle empty buffers. (Bug#9978)
12723
0b381c7e
JB
127242011-11-14 Juanma Barranquero <lekktu@gmail.com>
12725
12726 * international/mule.el (define-charset):
12727 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12728 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12729 * progmodes/verilog-mode.el (verilog-backward-token):
12730 * textmodes/ispell.el (lookup-words):
12731 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12732
71e027ac
GM
127332011-11-14 Glenn Morris <rgm@gnu.org>
12734
56632ce4
GM
12735 * progmodes/executable.el
12736 (executable-make-buffer-file-executable-if-script-p):
12737 Handle file-modes returning nil.
12738
40500957
GM
12739 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12740 message - not necessary, and causes problems. (Bug#9831)
12741
071c2340
GM
12742 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12743
d3cfca60
GM
12744 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12745
71e027ac
GM
12746 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12747 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12748 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12749
89d61221
MR
127502011-11-12 Martin Rudalics <rudalics@gmx.at>
12751
12752 * window.el (window-resize, delete-window): Use window-splits
12753 variable instead of function.
12754 (window-state-get-1, window-state-put-2, window-state-put):
12755 Don't deal with windows' splits status.
12756
98282f6f
GM
127572011-11-12 Glenn Morris <rgm@gnu.org>
12758
12759 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12760 (apropos-documentation): Doc fixes.
12761
40a8bdf6
JB
127622011-11-11 Juanma Barranquero <lekktu@gmail.com>
12763
12764 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12765 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12766
65bd19ff
SM
127672011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12768
12769 * electric.el (electric-indent-post-self-insert-function): Make it
12770 possible for a char to only indent in some circumstances.
12771 (electric-indent-mode): Simplify.
12772
54f9154c
MR
127732011-11-11 Martin Rudalics <rudalics@gmx.at>
12774
12775 * window.el (windows-with-parameter): Remove unused function.
12776 (windows-at-side): Rename to window-at-side-list.
12777 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12778 (window-side-check, window-size-ignore, window-size-fixed-1)
12779 (window-in-direction-2): Prefix with "window--".
12780 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12781
68cbc58b
GM
127822011-11-11 Glenn Morris <rgm@gnu.org>
12783
12784 * subr.el (eval-after-load): If FILE is already loaded,
12785 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12786
b2621720
GM
127872011-11-10 Glenn Morris <rgm@gnu.org>
12788
9a4de110
GM
12789 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12790 Call svn via vc-svn-command rather than vc-do-command.
12791 (vc-svn-command): Add --non-interactive. (Bug#9993)
12792 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12793
b2621720
GM
12794 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12795 Add toggle-read-only. (Bug#7292)
12796 * files.el (toggle-read-only): Mention that it should only
12797 be used interactively. (Bug#10006)
12798
1dce7193
SM
127992011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12800
d9ac1a1e
SM
12801 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12802 Adjust regexp for OCaml warnings.
12803
0c325082
SM
12804 * electric.el (electric-pair-post-self-insert-function): Let user
12805 turn it off buffer-locally (bug#9932).
12806
90132c14
SM
12807 * progmodes/python.el (python-beginning-of-statement):
12808 Rewrite (bug#2703).
12809
1dce7193
SM
12810 * progmodes/compile.el: Better handle TABs (bug#9749).
12811 (compilation-internal-error-properties)
12812 (compilation-next-error-function): Obey the target buffer's
12813 compilation-error-screen-columns.
12814
c4e7c63a
JB
128152011-11-09 Juanma Barranquero <lekktu@gmail.com>
12816
12817 * progmodes/meta-mode.el: Remove obsolete comments.
12818 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12819 Fix typos in docstrings.
12820
2cffd681
MR
128212011-11-09 Martin Rudalics <rudalics@gmx.at>
12822
12823 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12824 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12825 (window--resizable): New function. Make all callers of
12826 window-resizable call window--resizable instead.
12827 (window-resizable): Rewrite in terms of window--resizable.
12828
0edcba87
GM
128292011-11-08 Glenn Morris <rgm@gnu.org>
12830
12831 * progmodes/delphi.el (delphi-mode-syntax-table):
12832 Let define-derived-mode define a proper syntax table. (Bug#9994)
12833
4b0d61e3
SM
128342011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12835
12836 * window.el: Stay away from defsubst.
12837 (window-list-no-nils): Remove.
12838 (window-state-get-1, window-state-get): Use backquote instead.
12839
cd394be1 128402011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12841
4b0d61e3 12842 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12843 Fix incorrect use of default argument in `completing-read'.
12844
e1c2c6f2
MR
128452011-11-08 Martin Rudalics <rudalics@gmx.at>
12846
12847 * window.el (display-buffer-function, special-display-function):
12848 Mention display-buffer-record-window but do not mention
12849 help-setup parameter in doc-strings.
b3f4a882 12850 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12851
105216ed
CY
128522011-11-08 Chong Yidong <cyd@gnu.org>
12853
12854 * window.el (window-total-height, window-total-width): Doc fix.
12855 (window-body-size): Move from C.
12856 (window-body-height, window-body-width): Move to C.
12857
0a9f9ab5
SM
128582011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12859
12860 * window.el: Make special-display like display-buffer-alist (bug#9532).
12861 (display-buffer--special-action): New function, morphed
12862 from display-buffer--special.
12863 (display-buffer): Use it to handle special-display-buffers at higher
12864 priority (just after display-buffer-alist).
12865 (display-buffer-fallback-action, display-buffer--other-frame-action)
12866 (pop-to-buffer-same-window): Remove display-buffer--special.
12867
a769dd15
GM
128682011-11-07 Glenn Morris <rgm@gnu.org>
12869
12870 * calendar/cal-menu.el (cal-menu-set-date-title):
12871 Do nothing if not in a calendar. (Bug#9976)
12872
05a61ee3
SM
128732011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12874
12875 * files.el (find-file): Always use selected-window.
12876
be7f5545
MR
128772011-11-07 Martin Rudalics <rudalics@gmx.at>
12878
12879 * window.el (window-combinations): Make WINDOW argument
12880 mandatory. Rewrite doc-string.
12881 (walk-window-subtree, window-atom-check, window-min-delta)
12882 (window-max-delta, window--resize-this-window)
12883 (window--resize-root-window-vertically, window-tree)
12884 (balance-windows, window-state-put): Rewrite doc-strings as to
12885 not mention the term "subwindow".
12886 (window--resize-subwindows-skip-p): Rename to
12887 window--resize-child-windows-skip-p.
12888 (window--resize-subwindows-normal): Rename to
12889 window--resize-child-windows-normal.
12890 (window--resize-subwindows): Rename to
12891 window--resize-child-windows.
12892 (window-or-subwindow-p): Rename to window--in-subtree-p.
12893
3c6702ef
ML
128942011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12895
12896 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12897 Ensure that mbox format messages end in two newlines (Bug#9974).
12898
49745b39
CY
128992011-11-06 Chong Yidong <cyd@gnu.org>
12900
12901 * window.el (window-combination-p): Function deleted; its
12902 side-effect is not used in any existing code.
12903 (window-combinations, window-combined-p): Call window-*-child
12904 directly.
12905
24300f5f
CY
129062011-11-05 Chong Yidong <cyd@gnu.org>
12907
12908 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12909 (window-size-ignore, window-state-get): Callers changed.
12910 (window-normalize-window): Rename from window-normalize-any-window.
12911 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12912 (window-normalize-live-window): Delete.
447f16b8
CY
12913 (window-combination-p, window-combined-p, window-combinations)
12914 (walk-window-subtree, window-atom-root, window-min-size)
12915 (window-sizable, window-sizable-p, window-size-fixed-p)
12916 (window-min-delta, window-max-delta, window-resizable)
12917 (window-resizable-p, window-full-height-p, window-full-width-p)
12918 (window-current-scroll-bars, window-point-1, set-window-point-1)
12919 (window-at-side-p, window-in-direction, window-resize)
12920 (adjust-window-trailing-edge, maximize-window, minimize-window)
12921 (window-deletable-p, delete-window, delete-other-windows)
12922 (record-window-buffer, unrecord-window-buffer)
12923 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12924 (quit-window, split-window, window-state-put)
12925 (set-window-text-height, fit-window-to-buffer)
12926 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12927
89bd5ee1
EZ
129282011-11-04 Eli Zaretskii <eliz@gnu.org>
12929
53479029
EZ
12930 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12931 rfc2047-decode-string.
12932 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12933 warnings.
12934
89bd5ee1
EZ
12935 * window.el (window-body-height, window-body-width): Mention in
12936 the doc string that the return values are in frame's canonical
12937 units. (Bug#9949)
12938
bd17fdee
AM
129392011-11-03 Alan Mackenzie <acm@muc.de>
12940
12941 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12942 change in cc-engine.el.
12943
acc825c5
SM
129442011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12945
12946 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12947
1885e5b8
MR
129482011-11-02 Martin Rudalics <rudalics@gmx.at>
12949
12950 * window.el (quit-window): Call unrecord-window-buffer after
12951 showing another buffer in the window. (Bug#9937)
acc825c5 12952 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12953
ebe06da9
JB
129542011-11-02 Juanma Barranquero <lekktu@gmail.com>
12955
12956 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12957 Accept status with more than 9 shelves. (Bug#9935)
12958 Reported by Colin D Bennett <colin@gibibit.com>.
12959
4ee88440
MR
129602011-11-01 Martin Rudalics <rudalics@gmx.at>
12961
12962 * help.el (with-help-window): Don't reference
12963 temp-buffer-show-specifiers in doc-string.
12964
08e1d82c
AS
129652011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12966
12967 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12968 menu-item.
12969
84bd6e9e
VJL
129702011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12971
12972 * whitespace.el: New version 13.2.2.
12973 (whitespace-newline-mode): Disable properly. Reported by Sarah
12974 <EmacsWiki>.
12975
dba0634a
UJ
129762011-10-30 Ulf Jasper <ulf.jasper@web.de>
12977
12978 * net/newst-treeview.el: Remove "Time-stamp".
12979 (newsticker--group-manage-orphan-feeds): Do not call
12980 newsticker--treeview-tree-update.
db22a3c2
JB
12981 (newsticker-treeview-update, newsticker-treeview):
12982 Call newsticker--treeview-tree-update if necessary.
dba0634a 12983
3d8daefe
MR
129842011-10-30 Martin Rudalics <rudalics@gmx.at>
12985
12986 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12987 (window-iso-combinations): Remove "iso-" infix.
12988 Suggested by Chong Yidong.
3d8daefe
MR
12989 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12990 (window-max-delta-1, window-resize, window--resize-siblings)
12991 (window--resize-this-window, adjust-window-trailing-edge)
12992 (split-window, balance-windows-1)
12993 (shrink-window-if-larger-than-buffer):
12994 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12995 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12996
1bc4c3ae
SM
129972011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12998
12999 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13000 in place (bug#9907).
13001 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13002 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13003 (eshell-structure-basic-command, eshell-rewrite-while-command)
13004 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13005 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13006 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13007 (eshell-do-pipelines-synchronously, eshell-eval-command):
13008 Use backquotes and prefer setq to set.
13009 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13010 (eshell-macrop): Use functionp.
c1e2f5fa 13011 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13012
30b65d9c
CY
130132011-10-30 Chong Yidong <cyd@gnu.org>
13014
13015 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13016 instead of set-mark (Bug#9810).
13017
2d197ffb
CY
130182011-10-30 Chong Yidong <cyd@gnu.org>
13019
13020 * window.el (split-window-below, split-window-right): Rename from
13021 split-window-above-each-other and split-window-side-by-side
13022 respectively. All callers changed.
13023 (split-window-sensibly, split-window-sensibly): Use them.
13024 (split-window-keep-point): Doc fix.
13025
13026 * isearch.el: Add isearch-scroll property to split-window-below
13027 and split-window-right.
13028
13029 * follow.el (follow-mode):
13030 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13031 * progmodes/ada-xref.el (ada-gdb-application):
13032 * emulation/vip.el (vip-buffer-in-two-windows):
13033 * image-dired.el (image-dired-dired-with-window-configuration):
13034 * dired-x.el (dired-do-find-marked-files):
13035 * dired.el (dired-pop-to-buffer):
13036 * bs.el (bs--show-with-configuration):
13037 * vc/emerge.el (emerge-setup-windows):
13038 * textmodes/two-column.el (2C-two-columns):
13039 * textmodes/reftex-toc.el (reftex-toc):
13040 * progmodes/gdb-mi.el (gdb-setup-windows):
13041 * progmodes/fortran.el (fortran-window-create):
13042 * net/newst-treeview.el (newsticker--treeview-window-init):
13043 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13044 * emulation/tpu-edt.el (tpu-gold-map):
13045 * emulation/crisp.el (crisp-mode-map):
13046 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13047
38bb2ca8
CY
130482011-10-29 Chong Yidong <cyd@gnu.org>
13049
aa4de341
CY
13050 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13051
e1eb5385
CY
13052 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13053
5d2ece3c
CY
13054 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13055 forged Ispell output (Bug#7904).
13056
38bb2ca8
CY
13057 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13058
d0af9f77
SM
130592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13060
13061 * doc-view.el: Avoid ugly errors about not finding nil.
13062 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13063 (doc-view-dvipdf-program, doc-view-unoconv-program)
13064 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13065 Avoid nil or absolute file name as default value.
13066 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13067
52bedd34
AM
130682011-10-28 Alan Mackenzie <acm@muc.de>
13069
db22a3c2 13070 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13071
7e43cfa5
AM
130722011-10-28 Alan Mackenzie <acm@muc.de>
13073
13074 Amend the handling of c-beginning/end-of-defun in nested declaration
13075 scopes.
13076
52bedd34
AM
13077 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13078 cc-langs.el. Change it to a defcustom.
7e43cfa5 13079
52bedd34
AM
13080 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13081 cc-vars.el.
7e43cfa5 13082
d0af9f77
SM
13083 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13084 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13085
52bedd34 13086 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13087 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13088 (c-widen-to-enclosing-decl-scope): New function.
13089 (c-while-widening-to-decl-block): New macro.
13090 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13091 outward for defun boundaries, and correspondingly change symbol
13092 `respect-enclosure' to `go-outward'.
13093 (c-declaration-limits): Change algorithm to report only the "innermost"
13094 defun's boundaries.
13095
1a2ce9ee
DD
130962011-10-28 Deniz Dogan <deniz@dogan.se>
13097
13098 * net/rcirc.el (rcirc-mode): Use hard newlines.
13099
bc97a826
AM
131002011-10-28 Alan Mackenzie <acm@muc.de>
13101
13102 Amend to indent and fontify macros "which include their own semicolon"
13103 correctly, using the "virtual semicolon" mechanism.
13104
52bedd34 13105 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13106
d0af9f77 13107 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13108 Recode to scan one line at a time rather than having \n and \r
58179cce 13109 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13110 (c-forward-label): Amend for virtual semicolons.
58179cce 13111 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13112
52bedd34
AM
13113 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13114 of the new C macros.
bc97a826 13115
52bedd34 13116 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13117 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13118 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13119 (c-opt-cpp-macro-define): Make into a full language variable.
13120 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13121 AWK Mode (including \n, \r) removed, no longer needed.
13122
d0af9f77
SM
13123 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13124 Invoke c-make-macro-with-semi-re.
bc97a826 13125
52bedd34
AM
13126 * progmodes/cc-vars.el (c-macro-with-semi-re):
13127 (c-macro-names-with-semicolon): New variables.
58179cce 13128 (c-make-macro-with-semi-re): New function.
bc97a826 13129
7a6c0941
SM
131302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13131
13132 * vc/log-edit.el: Fill empty field rather than adding new one.
13133 (log-edit-add-field): New function.
13134 (log-edit-insert-changelog): Use it.
13135
b0c4cdcf
ML
131362011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13137
13138 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13139
ee1f1da9
SM
131402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13141
13142 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13143 (gdb--check-interpreter): New function.
13144 (gdb): Use it.
13145
51bc5f8b
GM
131462011-10-27 Glenn Morris <rgm@gnu.org>
13147
416a2c45
GM
13148 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13149 (least-positive-float, least-negative-float)
13150 (least-positive-normalized-float, least-negative-normalized-float)
13151 (float-epsilon, float-negative-epsilon):
13152 Remove unnecessary declarations.
13153
13154 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13155 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13156 (least-positive-float, least-negative-float)
13157 (least-positive-normalized-float, least-negative-normalized-float)
13158 (float-epsilon, float-negative-epsilon): Add doc-strings,
13159 based on those in cl.texi.
13160
51bc5f8b
GM
13161 * files.el (set-visited-file-name): If the major-mode changed,
13162 reload the local variables. (Bug#9796)
13163
15de15c6
CY
131642011-10-27 Chong Yidong <cyd@gnu.org>
13165
13166 * subr.el (change-major-mode-after-body-hook): New hook.
13167 (run-mode-hooks): Run it.
13168
ee1f1da9
SM
13169 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13170 Use change-major-mode-before-body-hook.
15de15c6
CY
13171
13172 * simple.el (fundamental-mode):
13173 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13174 change introducing fundamental-mode-hook.
13175
5430d399
JB
131762011-10-26 Juanma Barranquero <lekktu@gmail.com>
13177
acc825c5 13178 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13179
ad74a69e
MA
131802011-10-26 Michael Albinus <michael.albinus@gmx.de>
13181
13182 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13183 tramp.el explicitly. (Bug#7583)
ad74a69e 13184
71d4c2a5
SM
131852011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13186
13187 * progmodes/octave-mod.el:
13188 * progmodes/octave-inf.el: Update maintainer.
13189
b1f6fa26
CY
131902011-10-26 Chong Yidong <cyd@gnu.org>
13191
13192 * subr.el (with-wrapper-hook): Rewrite doc.
13193
3f04efd6
MA
131942011-10-25 Michael Albinus <michael.albinus@gmx.de>
13195
13196 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13197 filenames "/method:foo:". (Bug#9793)
3f04efd6 13198
410488d3
SM
131992011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13200
13201 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13202 (bug#9865).
13203
c1ebb47e
GM
132042011-10-24 Glenn Morris <rgm@gnu.org>
13205
13206 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13207
7f5c46c7
MA
132082011-10-24 Michael Albinus <michael.albinus@gmx.de>
13209
13210 * notifications.el: Add the requirement of a running D-Bus session
13211 bus to the Commentary.
13212
db2440b6
JL
132132011-10-24 Juri Linkov <juri@jurta.org>
13214
13215 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13216 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13217 (Bug#9364)
13218
feecf435
JL
132192011-10-24 Juri Linkov <juri@jurta.org>
13220
13221 * info.el (Info-following-node-name-re): Add newline to the list
13222 of allowed characters for leading space. (Bug#9824)
13223
a3839de2
SM
132242011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13225
acc825c5
SM
13226 * progmodes/octave-inf.el (inferior-octave-mode-map):
13227 Fix C-c C-h binding.
a3839de2
SM
13228 * progmodes/octave-mod.el (octave-help): Remove.
13229
09388e76
MA
132302011-10-23 Michael Albinus <michael.albinus@gmx.de>
13231
13232 Sync with Tramp 2.2.3.
13233
13234 * net/tramp-cache.el (top): Pacify byte-compiler using
13235 `init-file-user' and `site-run-file'.
13236
13237 * net/trampver.el: Update release number.
13238
86c60681
CY
132392011-10-23 Chong Yidong <cyd@gnu.org>
13240
13241 * files.el (toggle-read-only): Remove obsolete comment about
13242 version control.
13243
13244 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13245 for toggle-read-only. Note that this hasn't called vc-next-action
13246 since 2008-05-02, though it wasn't documented at the time.
13247
a3839de2
SM
13248 * vc/ediff-init.el (ediff-toggle-read-only-function):
13249 Use toggle-read-only.
86c60681 13250
cd5495ff
AM
132512011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13252
13253 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13254 of c-parse-state.
13255
00b77525 13256 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13257 correct faulty logical expression.
cd5495ff
AM
13258 (c-parse-state-state, c-record-parse-state-state):
13259 (c-replay-parse-state-state): New defvar/defuns.
13260 (c-debug-parse-state): Use new functions.
13261
42ee24ed
MR
132622011-10-22 Martin Rudalics <rudalics@gmx.at>
13263
13264 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 13265 last fix. Use window-in-direction correctly.
42ee24ed 13266
a7dee7e7
CY
132672011-10-21 Chong Yidong <cyd@gnu.org>
13268
13269 * progmodes/idlwave.el (idlwave-mode):
13270 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
13271 require-final-newline; that's done in prog-mode.
13272 Suggested by Stefan Monnier.
a7dee7e7 13273
e07b9a6d
MR
132742011-10-21 Martin Rudalics <rudalics@gmx.at>
13275
13276 * mouse.el (mouse-drag-window-above)
13277 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13278 (mouse-drag-mode-line-1, mouse-drag-header-line)
13279 (mouse-drag-vertical-line-rightward-window): Remove.
13280 (mouse-drag-line): New function.
13281 (mouse-drag-mode-line, mouse-drag-header-line)
13282 (mouse-drag-vertical-line): Call mouse-drag-line.
13283 * window.el (window-at-side-p, windows-at-side): New functions.
13284
7e1361d9
UM
132852011-10-21 Ulrich Mueller <ulm@gentoo.org>
13286
13287 * tar-mode.el (tar-grind-file-mode):
13288 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13289
30fcaf3a
CY
132902011-10-21 Chong Yidong <cyd@gnu.org>
13291
13292 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13293 * progmodes/vera-mode.el (vera-mode):
13294 Use mode-require-final-newline.
30fcaf3a 13295
516eddb0
GM
132962011-10-20 Glenn Morris <rgm@gnu.org>
13297
db22a3c2 13298 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13299
10d5f513
CS
133002011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13301
13302 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13303
ac6c8639
CY
133042011-10-20 Chong Yidong <cyd@gnu.org>
13305
13306 * emulation/cua-base.el (cua-mode):
13307 * mail/footnote.el (footnote-mode):
13308 * mail/mailabbrev.el (mail-abbrevs-mode):
13309 * net/xesam.el (xesam-minor-mode):
13310 * progmodes/bug-reference.el (bug-reference-mode):
13311 * progmodes/cap-words.el (capitalized-words-mode):
13312 * progmodes/compile.el (compilation-minor-mode)
13313 (compilation-shell-minor-mode):
13314 * progmodes/gud.el (gud-tooltip-mode):
13315 * progmodes/hideif.el (hide-ifdef-mode):
13316 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13317 * progmodes/subword.el (subword-mode):
13318 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13319 * progmodes/which-func.el (which-function-mode):
13320 * term/tvi970.el (tvi970-set-keypad-mode):
13321 * term/vt100.el (vt100-wide-mode):
13322 * textmodes/flyspell.el (flyspell-mode):
13323 * textmodes/ispell.el (ispell-minor-mode):
13324 * textmodes/nroff-mode.el (nroff-electric-mode):
13325 * textmodes/paragraphs.el (use-hard-newlines):
13326 * textmodes/refill.el (refill-mode):
13327 * textmodes/reftex.el (reftex-mode):
13328 * textmodes/rst.el (rst-minor-mode):
13329 * textmodes/sgml-mode.el (html-autoview-mode)
13330 (sgml-electric-tag-pair-mode):
13331 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13332 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13333 * emulation/crisp.el (crisp-mode):
13334 * emacs-lisp/eldoc.el (eldoc-mode):
13335 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13336 minor mode behavior.
13337
aa42ab43
JL
133382011-10-19 Juri Linkov <juri@jurta.org>
13339
13340 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13341 the list of hard-coded chars with escape-glyph face.
13342
89400f1d
SM
133432011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13344
13345 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13346
305c07f6
MA
133472011-10-19 Michael Albinus <michael.albinus@gmx.de>
13348
13349 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13350 running process.
13351
13754b54
GM
133522011-10-19 Glenn Morris <rgm@gnu.org>
13353
13354 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13355 Ignore ignored files. (Bug#9726)
13356
06e21633
CY
133572011-10-19 Chong Yidong <cyd@gnu.org>
13358
13359 Doc fix for minor modes, stating that an omitted argument enables
13360 the mode unconditionally when called from Lisp.
13361
13362 * abbrev.el (abbrev-mode):
13363 * allout.el (allout-mode):
13364 * autoinsert.el (auto-insert-mode):
13365 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13366 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13367 (global-auto-revert-mode):
13368 * battery.el (display-battery-mode):
13369 * composite.el (global-auto-composition-mode)
13370 (auto-composition-mode):
13371 * delsel.el (delete-selection-mode):
13372 * desktop.el (desktop-save-mode):
13373 * dired-x.el (dired-omit-mode):
13374 * dirtrack.el (dirtrack-mode):
13375 * doc-view.el (doc-view-minor-mode):
13376 * double.el (double-mode):
13377 * electric.el (electric-indent-mode, electric-pair-mode):
13378 * emacs-lock.el (emacs-lock-mode):
13379 * epa-hook.el (auto-encryption-mode):
13380 * follow.el (follow-mode):
13381 * font-core.el (font-lock-mode):
13382 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13383 * help.el (temp-buffer-resize-mode):
13384 * hilit-chg.el (highlight-changes-mode)
13385 (highlight-changes-visible-mode):
13386 * hi-lock.el (hi-lock-mode):
13387 * hl-line.el (hl-line-mode, global-hl-line-mode):
13388 * icomplete.el (icomplete-mode):
13389 * ido.el (ido-everywhere):
13390 * image-file.el (auto-image-file-mode):
13391 * image-mode.el (image-minor-mode):
13392 * iswitchb.el (iswitchb-mode):
13393 * jka-cmpr-hook.el (auto-compression-mode):
13394 * linum.el (linum-mode):
13395 * longlines.el (longlines-mode):
13396 * master.el (master-mode):
13397 * mb-depth.el (minibuffer-depth-indicate-mode):
13398 * menu-bar.el (menu-bar-mode):
13399 * minibuf-eldef.el (minibuffer-electric-default-mode):
13400 * mouse-sel.el (mouse-sel-mode):
13401 * msb.el (msb-mode):
13402 * mwheel.el (mouse-wheel-mode):
13403 * outline.el (outline-minor-mode):
13404 * paren.el (show-paren-mode):
13405 * recentf.el (recentf-mode):
13406 * reveal.el (reveal-mode, global-reveal-mode):
13407 * rfn-eshadow.el (file-name-shadow-mode):
13408 * ruler-mode.el (ruler-mode):
13409 * savehist.el (savehist-mode):
13410 * scroll-all.el (scroll-all-mode):
13411 * scroll-bar.el (scroll-bar-mode):
13412 * server.el (server-mode):
13413 * shell.el (shell-dirtrack-mode):
13414 * simple.el (auto-fill-mode, transient-mark-mode)
13415 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13416 (line-number-mode, column-number-mode, size-indication-mode)
13417 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13418 * strokes.el (strokes-mode):
13419 * time.el (display-time-mode):
13420 * t-mouse.el (gpm-mouse-mode):
13421 * tool-bar.el (tool-bar-mode):
13422 * tooltip.el (tooltip-mode):
13423 * type-break.el (type-break-mode-line-message-mode)
13424 (type-break-query-mode):
13425 * view.el (view-mode):
13426 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13427 (global-whitespace-mode, global-whitespace-newline-mode):
13428 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13429
a3839de2
SM
13430 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13431 Fix autogenerated docstring.
06e21633 13432
5214e501
JL
134332011-10-19 Juri Linkov <juri@jurta.org>
13434
13435 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13436 by checking environment variables "DESKTOP_SESSION" and
13437 "XDG_CURRENT_DESKTOP". (Bug#9779)
13438
195f8db9
JL
134392011-10-19 Juri Linkov <juri@jurta.org>
13440
13441 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13442 (browse-url-chromium-program, browse-url-chromium-arguments):
13443 New defcustoms.
13444 (browse-url-default-browser): Check for `browse-url-chromium' and
13445 call `browse-url-chromium-program'.
13446 (browse-url-chromium): New command. (Bug#9779)
13447
343a34ff
JB
134482011-10-18 Juanma Barranquero <lekktu@gmail.com>
13449
13450 * facemenu.el (list-colors-duplicates): On Windows, detect more
13451 duplicates by assuming that only colors matching "^System" are
13452 special "system colors". (Bug#9722)
13453
6978a151
SM
134542011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13455
13456 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13457 to distinguish the author from the committer.
13458
6a80b297
MA
134592011-10-18 Michael Albinus <michael.albinus@gmx.de>
13460
13461 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13462
b31a5677
JK
134632011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13464
13465 * international/mule.el (sgml-html-meta-auto-coding-function):
13466 Add support for detecting encoding in HTML5 specified only as
13467 <meta charset="UTF-8">. Implementation just makes http-equiv and
13468 content-type parts from HTML4 encoding string optional. (Bug#9716)
13469
80c6d77f
GM
134702011-10-18 Glenn Morris <rgm@gnu.org>
13471
13472 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13473
08b0fee8
CY
134742011-10-18 Chong Yidong <cyd@gnu.org>
13475
13476 * faces.el (cursor): Doc fix.
13477
67e729a5
CY
134782011-10-17 Chong Yidong <cyd@gnu.org>
13479
13480 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13481
343a34ff 134822011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13483
13484 * dirtrack.el (dirtrack): Support shell buffers with path
13485 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13486
0bc06380
TZ
134872011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13488
13489 * json.el: Bump version to 1.3 and note change in History.
13490 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13491
8b79f3e0
SM
134922011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13493
5a7c536b
SM
13494 * comint.el (comint-insert-input, comint-send-input)
13495 (comint-get-old-input-default, comint-backward-matching-input)
13496 (comint-next-prompt): Use nil instead of `input' for field property of
13497 past user input (bug#114).
13498
96a8a0df
SM
13499 * minibuffer.el (completion--replace): Inherit surrounding properties
13500 (bug#114).
13501 (minibuffer-complete-and-exit): Use it.
13502
8b79f3e0
SM
13503 * comint.el (comint--table-subvert): Quote the all-completions output
13504 (bug#9160).
13505
b8f7ff0d
MR
135062011-10-17 Martin Rudalics <rudalics@gmx.at>
13507
8b79f3e0 13508 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13509
b8f7ff0d 13510 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13511 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13512 entries and separate them from frame entries.
13513
c235b555
GM
135142011-10-15 Glenn Morris <rgm@gnu.org>
13515
13516 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13517 Doc fixes.
13518
6bbfa6e1
CY
135192011-10-15 Chong Yidong <cyd@stupidchicken.com>
13520
8b79f3e0
SM
13521 * net/network-stream.el (network-stream-open-starttls):
13522 Improve detection of failure due to lack of TLS support.
ec5c990d 13523
6bbfa6e1
CY
13524 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13525 putting the input text in front and in bold.
13526
98488977
SM
135272011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13528
3d1337be
SM
13529 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13530
ee0b45e4
SM
13531 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13532 empty buffer.
13533
98488977
SM
13534 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13535 unread-command-events rather than pushing yet-another event.
13536
186f4720
EZ
135372011-10-14 Eli Zaretskii <eliz@gnu.org>
13538
13539 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13540 the explanation of the possible choices. Make the options passed
13541 to completing-read shorter.
13542
8b7a997c
AM
135432011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13544
13545 * textmodes/flyspell.el (flyspell-large-region): Make sure
13546 extended character mode is used if defined (Bug#1339).
13547
12587bbb
EZ
135482011-10-13 Eli Zaretskii <eliz@gnu.org>
13549
13550 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13551 character info for LRE, LRO, RLE, and RLO characters by appending
13552 an invisible PDF.
12587bbb 13553
bad41229
SM
135542011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13555
13556 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13557 even in case of error; add debug spec; simplify data flow.
13558 (with-timeout-handler): Remove.
13559
28dbc92f
MA
135602011-10-12 Michael Albinus <michael.albinus@gmx.de>
13561
13562 Fix Bug#6019, Bug#9315.
13563
13564 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13565 complete `buffer-file-name', the local file name part could look
13566 remotely (for example on VMS).
13567
13568 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13569 `tramp-run-real-handler'.
13570 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13571 already quoted by '"'.
13572
13573 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13574 Let `file-name-handler-alist' be nil, the local file name part
13575 could look remotely (for example on VMS).
13576
e1b0b23a
SM
135772011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13580 from here...
13581 (flyspell-post-command-hook): ...to here.
13582
a120bde9
SM
135832011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13584
13585 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13586 if not needed.
13587 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13588 using completion. Protect against "slow" callers.
13589 Remove the "message hack".
13590
7ce7717b
JL
135912011-10-11 Juri Linkov <juri@jurta.org>
13592
13593 * isearch.el (isearch-lazy-highlight-word): New variable.
13594 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13595 Use it. (Bug#9727)
13596
c02ee9d6
GM
135972011-10-11 Glenn Morris <rgm@gnu.org>
13598
13599 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13600 like f90-previous-statement does.
13601
93e616fd 136022011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13603
1f190e73 13604 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13605 only in interactive use, to avoid error.
13606
af7b6078
SM
136072011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13608
13609 * minibuffer.el (completion-file-name-table): Fix last change,
13610 i.e. ignore normal errors but not the other ones.
13611
0563dae9
MR
136122011-10-10 Martin Rudalics <rudalics@gmx.at>
13613
13614 * window.el (special-display-buffer-names)
13615 (special-display-regexps): Remove some remnants of earlier
13616 changes from doc-strings.
366ca7f3
MR
13617 (quit-windows-on): New function.
13618
13619 * vc/vc.el (vc-revert, vc-rollback):
13620 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13621 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13622 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13623
49677495
MR
136242011-10-09 Martin Rudalics <rudalics@gmx.at>
13625
13626 * window.el (frame-auto-hide-function): Add version tag.
13627 (Bug#9699)
13628
56f2d1e1
MA
136292011-10-09 Michael Albinus <michael.albinus@gmx.de>
13630
13631 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13632 condition.
13633
112a6592
LL
136342011-10-09 Leo Liu <sdl.web@gmail.com>
13635
13636 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13637 (Bug#9701)
13638
0812589b
GM
136392011-10-08 Glenn Morris <rgm@gnu.org>
13640
13641 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13642 before the first code statement zero indent. (Bug#9690)
13643
b2b0776e
CY
136442011-10-08 Chong Yidong <cyd@stupidchicken.com>
13645
13646 * simple.el (count-words-region): Always count in the region.
13647 Report the number of lines and characters too.
13648 (count-words): New command, which counts in the buffer if the
13649 region is inactive, as count-words-region used to.
13650 (count-words--message): New function. Handle plurals.
13651 (count-lines-region): Make it an alias for count-words-region.
13652
13653 * bindings.el (esc-map): Replace count-lines-region with
13654 count-words-region.
13655
c557cd6b
MR
136562011-10-08 Martin Rudalics <rudalics@gmx.at>
13657
13658 * window.el (window--delete): Delete dedicated frame
13659 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13660 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13661
61a57ef4 136622011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13663
3a7d293b 13664 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13665
c3833279
CY
136662011-10-07 Chong Yidong <cyd@stupidchicken.com>
13667
13668 * bindings.el ([M-left],[M-right]): Bind to left-word and
13669 right-word respectively.
13670
21ce8245
GM
136712011-10-07 Glenn Morris <rgm@gnu.org>
13672
13673 * cus-start.el (debug-on-quit): Fix custom type.
13674
6d823bb2
LMI
136752011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13676
0181e193
LMI
13677 * subr.el (define-key-after): Clarify that the function is not
13678 useful for non-menu keymaps.
13679
6d823bb2
LMI
13680 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13681
8e3459ce 136822011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13683
21ce8245 13684 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13685 in current minibuffer (Fix bug with recursive minibuffers).
13686
a1c2d21e
CY
136872011-10-06 Chong Yidong <cyd@stupidchicken.com>
13688
13689 * progmodes/gdb-mi.el (gdb): Doc fix.
13690
5a4cf282
MR
136912011-10-05 Martin Rudalics <rudalics@gmx.at>
13692
13693 * window.el (frame-auto-hide-function): New option replacing
13694 frame-auto-delete. Suggested by Stefan Monnier.
13695 (window--delete): Call frame-auto-hide-function instead of
13696 investigating frame-auto-delete.
c96111ea
MR
13697 (window-point-1, set-window-point-1): New functions.
13698 (window-in-direction, record-window-buffer, window-state-get-1)
13699 (display-buffer-record-window): Use window-point-1 instead of
13700 window-point.
13701 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13702
9854542e
SM
137032011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13704
13705 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13706
8943cfb0
GM
137072011-10-05 Glenn Morris <rgm@gnu.org>
13708
13709 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13710 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13711
647ab967
LL
137122011-10-05 Leo Liu <sdl.web@gmail.com>
13713
13714 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13715 works with buffer object.
13716
3ddfbced
SM
137172011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13718
13719 * mpc.el (mpc-tool-bar-map): Add labels.
13720
bdfa5dd2
GM
137212011-10-04 Glenn Morris <rgm@gnu.org>
13722
13723 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13724
0e2070b5
MR
137252011-10-04 Martin Rudalics <rudalics@gmx.at>
13726
13727 * window.el (window--delete): New function.
13728 (frame-auto-delete): Resuscitate option.
13729 (bury-buffer, replace-buffer-in-windows)
13730 (quit-window): Rewrite using window--delete.
13731 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13732 Pass display-buffer-mark-dedicated to window--display-buffer-2
13733 (Bug#9639).
13734
3dc61a09
SM
137352011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13736
915a9b64
SM
13737 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13738 returns a list (bug#9554). Add remote file name completion.
13739 * comint.el (comint--table-subvert): Curry and get quote&unquote
13740 functions as arguments.
13741 (comint--complete-file-name-data): Adjust call accordingly.
13742 * pcomplete.el (pcomplete--table-subvert): Remove.
13743 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13744
3dc61a09
SM
13745 * minibuffer.el (completion-table-case-fold): Use currying.
13746 (completion--styles-type, completion--cycling-threshold-type):
13747 New constants.
13748 (completion-styles, completion-category-overrides)
13749 (completion-cycle-threshold): Use them.
13750 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13751 completion-table-case-fold.
13752
8ea0a993
SB
137532011-10-03 Stephen Berman <stephen.berman@gmx.net>
13754
13755 * minibuffer.el (completion-category-overrides): Fix type of styles
13756 and add more user friendly tags (bug#9660).
13757
8c24b7f6
SM
137582011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13759
13760 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13761 (mule-input-method-string): New widget.
13762 (default-input-method, language-info-custom-alist): Use it.
13763
428fe61a
SM
137642011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13765
32c1fffd
SM
13766 * pcomplete.el: Require comint.
13767 (pcomplete--common-suffix): Remove.
13768 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13769 (pcomplete--table-subvert): Sync with comint--table-subvert.
13770 (pcomplete--entries): Use comint-completion-file-name-table.
13771 * comint.el (comint-unquote-filename): Simplify.
13772 (comint-completion-file-name-table): New function (bug#9616).
13773 (comint--complete-file-name-data): Use it.
13774
428fe61a
SM
13775 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13776 (pcmpl-gnu-tar-buffer): Remove.
13777 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13778 around. Make sure pcomplete-suffix-list is only changed temporarily.
13779 Don't look inside the tar's file if it's too large.
428fe61a 13780
04c52e2f
CY
137812011-10-01 Chong Yidong <cyd@stupidchicken.com>
13782
ce3cefcc
CY
13783 * cus-edit.el (custom-mode-map):
13784 * epa.el (epa-key-list-mode-map):
13785 * man.el (Man-mode-map):
13786 * startup.el (splash-screen-keymap):
13787 * simple.el (special-mode-map): Use scroll-up-command and
13788 scroll-down-command.
13789
13790 * progmodes/idlw-help.el (idlwave-help-mode-map):
13791 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13792 * net/newst-plainview.el (newsticker-mode-map):
13793 * emulation/ws-mode.el (wordstar-mode-map):
13794 * emulation/vi.el (vi-com-map):
13795 * calc/calc-graph.el (calc-graph-show-dumb):
13796 * term/sun.el (terminal-init-sun):
13797 * term/ns-win.el (global-map):
13798 * progmodes/grep.el (grep-mode-map):
13799 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13800 * mail/rmail.el (rmail-mode-map):
13801 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13802
04c52e2f
CY
13803 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13804 custom-safe-themes as special.
13805
79adf8c8
JD
138062011-10-01 Julien Danjou <julien@danjou.info>
13807
13808 * notifications.el (notifications-notify): Fix docstring.
13809
63bd50d3
PS
138102011-10-01 Per Starbäck <per@starback.se>
13811
13812 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13813
199e4c7e
MR
138142011-09-30 Martin Rudalics <rudalics@gmx.at>
13815
13816 * startup.el (command-line-1): Fix last fix by inserting
13817 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13818 (Bug#9605) and (Bug#9636)
199e4c7e 13819
fe5f08dd
EZ
138202011-09-29 Eli Zaretskii <eliz@gnu.org>
13821
13822 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13823 window is hscrolled, move by logical lines. (Bug#9607)
13824 (line-move-visual): Update the doc string to the above effect.
13825
b5516bbd
MR
138262011-09-29 Martin Rudalics <rudalics@gmx.at>
13827
ccee00c0
MR
13828 * window.el (display-buffer-record-window): When WINDOW is the
13829 selected window use `point' instead of `window-point'. (Bug#9626)
13830
b5516bbd
MR
13831 * startup.el (command-line-1): Use insert-before-markers when
13832 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13833
b5516bbd
MR
13834 * help.el (help-window): Remove variable.
13835
52aa0014
GM
138362011-09-29 Glenn Morris <rgm@gnu.org>
13837
13838 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13839
df9a7357
JB
138402011-09-29 Juanma Barranquero <lekktu@gmail.com>
13841
13842 * descr-text.el (describe-char-categories): Accept category
13843 descriptions more than one line long.
13844
a8406c20
SM
138452011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13846
88d9610c
SM
13847 * simple.el (delete-trailing-whitespace): Fix last change.
13848
a5daf810
SM
13849 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13850 Don't confuse "y => 3" as the beginning of a `y' operation.
13851
a8406c20
SM
13852 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13853 object has more than 4 slots (bug#9613).
13854
a239d4e9
JB
138552011-09-28 Juanma Barranquero <lekktu@gmail.com>
13856
13857 * subr.el (with-output-to-temp-buffer):
13858 * net/quickurl.el (quickurl, quickurl-browse-url):
13859 Fix typos in docstrings.
13860
693fbdb6
EZ
138612011-09-27 Eli Zaretskii <eliz@gnu.org>
13862
13863 * minibuffer.el (completion-styles)
13864 (completion-category-overrides): Cross reference each other in doc
13865 strings.
13866
8b457e28
GM
138672011-09-27 Glenn Morris <rgm@gnu.org>
13868
13869 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13870 to split-string. (Bug#9606)
13871
85a16208
LMI
138722011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13873
13874 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13875 (bug#9615).
13876
502f9ebd
CY
138772011-09-27 Chong Yidong <cyd@stupidchicken.com>
13878
13879 * emacs-lisp/package.el (list-packages): Fix echo area message.
13880
7690bdea
LL
138812011-09-27 Leo Liu <sdl.web@gmail.com>
13882
13883 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13884
e2ee6f30
MA
138852011-09-25 Michael Albinus <michael.albinus@gmx.de>
13886
13887 * net/dbus.el (dbus-unregister-object): Don't release services for
13888 registered signals. (Bug#9581)
13889
f3f98342
TZ
138902011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13891
13892 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13893 function that picks between cfengine 2 and 3 support
13894 automatically. Update docs accordingly.
13895
dd7aa8dd
KH
138962011-09-22 Kenichi Handa <handa@m17n.org>
13897
13898 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13899 ZERO.
13900 (indian-itrans-v5-table-for-tamil): New variable.
13901 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13902
3f2b07f8
KM
139032011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13904
13905 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13906 that's true if the current command involved collapsing of text.
13907 It's reset to false at the beginning of the next command.
13908 (allout-post-command-business): Move the cursor to the beginning
13909 of entry if the cursor is hidden and collapsing activity just
13910 happened.
13911
371d6a61
CY
139122011-09-24 Chong Yidong <cyd@stupidchicken.com>
13913
13914 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13915 tracking (Bug#9541).
13916
2ac2721a
UJ
139172011-09-24 Ulf Jasper <ulf.jasper@web.de>
13918
13919 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13920 (newsticker-show-news): Automatically load html rendering package
13921 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13922 because w3m-fill-column is let-bound" and the error "Symbol's value
13923 as variable is void: w3m-fill-column".
2ac2721a 13924
fac7ae53
MA
139252011-09-24 Michael Albinus <michael.albinus@gmx.de>
13926
13927 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13928 Release services only if they are defined. (Bug#9581)
13929
e08b633b
RS
139302011-09-23 Richard Stallman <rms@gnu.org>
13931
e488d29c
RS
13932 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13933 distinguish start of paragraph from start of its text.
13934
19c38752
RS
13935 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13936
e08b633b
RS
13937 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13938 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13939 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13940
0a39f27e
AS
139412011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13942
13943 * international/mule-diag.el (mule-diag): Insert a newline after
13944 each fontset description.
13945
db4e950d
SM
139462011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13947
13948 * simple.el (delete-trailing-whitespace):
13949 Document last change; simplify.
13950
eca3f3ea
PW
139512011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13952
d68e189a
PW
13953 * simple.el (delete-trailing-whitespace): Also delete
13954 extra newlines at the end of the buffer.
13955
eca3f3ea
PW
13956 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13957 (picture-newline): Use forward-line so as to ignore fields.
13958
01c157cc
SM
139592011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13960
13961 * subr.el (with-wrapper-hook): Fix edebug spec.
13962
022de23e
LMI
139632011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13964
13965 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13966 (bug#4538).
13967
91683089
MA
139682011-09-23 Michael Albinus <michael.albinus@gmx.de>
13969
eca3f3ea
PW
13970 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13971 Fix nasty bug using wrong cached values.
91683089 13972
5bdd6fa4
AM
139732011-09-23 Alan Mackenzie <acm@muc.de>
13974
13975 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13976
97adfb97
CY
139772011-09-23 Chong Yidong <cyd@stupidchicken.com>
13978
13979 * window.el (pop-to-buffer): Ensure right window is selected if we
13980 chose another frame.
13981
d4ef2b50
EZ
139822011-09-22 Eli Zaretskii <eliz@gnu.org>
13983
13984 * simple.el (what-cursor-position): Use get-char-property-change
13985 and next-single-char-property-change, to be able to show display
13986 properties that come from overlays as well as text properties.
13987
72258fe5
CY
139882011-09-22 Chong Yidong <cyd@stupidchicken.com>
13989
13990 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13991
13992 * cmuscheme.el (run-scheme, switch-to-scheme):
13993 * cus-edit.el (customize-group, custom-buffer-create)
13994 (customize-browse):
13995 * info.el (info):
13996 * shell.el (shell):
13997 * mail/sendmail.el (mail):
13998 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13999
8f098516
RS
140002011-09-22 Richard Stallman <rms@gnu.org>
14001
14002 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14003 move back only to line beg, don't move back over blank lines.
14004
e74f1bb6
MA
140052011-09-22 Michael Albinus <michael.albinus@gmx.de>
14006
14007 * files.el (copy-directory): Set directory attributes only in case
14008 they could be retrieved from the source directory. (Bug#9565)
14009
bfeef8b6
DK
140102011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14011
14012 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14013 (hs-find-block-beginning, hs-hide-level-recursive):
14014 Ignore strings as well as comments. (Bug#9502)
14015
7e423bb8
AS
140162011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14017
14018 * progmodes/sql.el (sql-comint-postgres):
14019 Convert port number to a string. (Bug#9566)
14020
b4d72fcf
MR
140212011-09-22 Martin Rudalics <rudalics@gmx.at>
14022
14023 * window.el (quit-window): Undedicate window when switching to
14024 previous buffer. Reported by Thierry Volpiatto
14025 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14026 (special-display-popup-frame): When popping up a new frame reset
14027 its previous buffers to nil. Simplify code.
b4d72fcf 14028
a7b88dc6
MA
140292011-09-21 Michael Albinus <michael.albinus@gmx.de>
14030
14031 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14032 and process filter, as done also in `shell-command'.
14033
cf4eacfd
MR
140342011-09-21 Martin Rudalics <rudalics@gmx.at>
14035
eca3f3ea 14036 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14037 Call set-window-start with NOFORCE argument t.
14038 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14039 (quit-window): Reword doc-string. Handle new format of
14040 quit-restore parameter. Don't delete window if it has a
14041 previous buffer we can show instead of the present one.
14042 (display-buffer-record-window): Rewrite using a new format for
14043 the quit-restore window parameter
14044 (special-display-popup-frame, display-buffer-same-window)
14045 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14046 (display-buffer-pop-up-window, display-buffer-use-some-window):
14047 Adapt symbol passed to display-buffer-record-window.
14048 * help.el (help-window-setup): Handle new format of quit-restore
14049 parameter.
14050
8d28cb95
SM
140512011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14052
94ab793f
SM
14053 * faces.el (face-list): Fix docstring (bug#9564).
14054
8d28cb95
SM
14055 * window.el (display-buffer--action-function-custom-type):
14056 Don't include internal functions in the Custom interface.
14057
3820edeb
JL
140582011-09-20 Juri Linkov <juri@jurta.org>
14059
14060 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14061 (Info-forward-node, Info-backward-node, Info-next-preorder)
14062 (Info-last-preorder): Use it. (Bug#9528)
14063
5147931d
JL
140642011-09-20 Juri Linkov <juri@jurta.org>
14065
14066 * info.el (Info-last-preorder): Visit last menu item only when
14067 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14068
cf499a1a
JD
140692011-09-20 Julien Danjou <julien@danjou.info>
14070
14071 * password-cache.el (password-cache-remove): Remove entries even if the
14072 value is nil, so that password with a nil value (negative caching) is
14073 possible to invalidate.
14074
f84e2fe2
LM
140752011-09-20 Lawrence Mitchell <wence@gmx.li>
14076
14077 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14078 all whitespace around breakpoint. (Bug#9553)
14079 (f90-find-breakpoint): Only break at whitespace inside a comment.
14080
78054a46
SM
140812011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14082
14083 * minibuffer.el (completion-file-name-table): Keep track of errors.
14084 (completion-table-with-predicate): Handle the case where pred1 is nil.
14085 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14086
345083b2
SM
140872011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14088
e24e27be
SM
14089 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14090 (debugger-return-value): Signal an error if the debugging context does
14091 not await any return value.
14092
345083b2
SM
14093 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14094 * image-mode.el (image-toggle-display-text)
14095 (image-toggle-display-image): Stay away from evil `intangible'.
14096
08d355e3
LL
140972011-09-19 Leo Liu <sdl.web@gmail.com>
14098
14099 * replace.el (occur-revert-arguments): Make it permanent-local.
14100 (occur-mode): Don't call font-lock-defontify.
14101
f01da43f
CY
141022011-09-19 Chong Yidong <cyd@stupidchicken.com>
14103
14104 * net/ldap.el (ldap-search-internal): Don't push empty search
14105 result (Bug#9508).
14106
b6072fa6
SM
141072011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14108
14109 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14110
443d6696
MA
141112011-09-19 Michael Albinus <michael.albinus@gmx.de>
14112
14113 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14114 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14115
7cc6e154
JL
141162011-09-18 Juri Linkov <juri@jurta.org>
14117
14118 * buff-menu.el (Buffer-menu-mode-map):
14119 * dired.el (dired-mode-map):
14120 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14121 (lisp-interaction-mode-map):
14122 * emacs-lisp/package.el (package-menu-mode-map):
14123 * epa.el (epa-key-list-mode-map):
14124 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14125 (menu-bar-options-menu):
14126 * outline.el (outline-mode-menu-bar-map):
14127 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14128 * vc/vc-dir.el (vc-dir-menu-map):
14129 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14130 Capitalize non-function content words in menu item strings.
14131
14132 * dired.el (dired-mode-map): Add menu item for
14133 `image-dired-dired-toggle-marked-thumbs'.
14134
80302a81
JL
141352011-09-18 Juri Linkov <juri@jurta.org>
14136
14137 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14138 to `isearch-case-fold-search' and restore its original value
14139 after the `isearch-mode' call.
14140
46c5cf66
JL
141412011-09-18 Juri Linkov <juri@jurta.org>
14142
14143 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14144 because `zgrep' returns 1 for successful matches (bug#9226).
14145
d18b513b
JL
141462011-09-18 Juri Linkov <juri@jurta.org>
14147
14148 * info.el (Info-extract-menu-node-name): Check the second match
14149 for empty string (second test-case of bug#9528).
14150 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14151 intermediate nodes to the history (first test-case of bug#9528).
14152
72753f87
JL
141532011-09-18 Juri Linkov <juri@jurta.org>
14154
14155 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14156 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14157
c9384295
JL
141582011-09-18 Juri Linkov <juri@jurta.org>
14159
1154d12e
JB
14160 * info.el (Info-file-supports-index-cookies):
14161 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14162 outputs one more line for long file names (bug#4142).
c9384295 14163
d473dce8
CY
141642011-09-18 Chong Yidong <cyd@stupidchicken.com>
14165
14166 * newcomment.el (comment-normalize-vars): If prompting for
14167 comment-start, set comment-start-skip too (Bug#8424).
14168
2176854d
JB
141692011-09-18 Johan Bockgård <bojohan@gnu.org>
14170
14171 * icomplete.el: Fix previous fix of Bug#5849.
14172 (icomplete-mode): Don't set completion-show-inline-help.
14173 (icomplete-minibuffer-setup): Set completion-show-inline-help
14174 locally during icompletion.
14175
3aace4e4
CY
141762011-09-18 Chong Yidong <cyd@stupidchicken.com>
14177
c940224f
CY
14178 * woman.el (woman2-process-escapes): Don't delete unrecognized
14179 escapes (Bug#7843).
14180
3aace4e4
CY
14181 * files.el (inhibit-first-line-modes-regexps): Add image files.
14182 (hack-local-variables-prop-line): Return nil for malformed
14183 prop-lines (Bug#9044).
14184
710dec63
MA
141852011-09-18 Michael Albinus <michael.albinus@gmx.de>
14186
14187 * net/tramp.el (top): Don't require 'shell.
14188 (tramp-methods): Fix docstring.
14189 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14190 Return complete remote file name. Handle "smb" case.
14191 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14192 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14193
14194 * net/tramp-compat.el (top): Require 'shell.
14195
14196 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14197 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14198 `tramp-current-host'.
14199 (tramp-get-remote-tmpdir): Remove.
14200
14201 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14202 `tramp-tmpdir' entries.
14203 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14204 (tramp-smb-handle-file-attributes): Ignore errors.
14205 (tramp-smb-wait-for-output): Check also for process end.
14206
5d5ac8ec
LMI
142072011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14208
14209 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14210 when sending QUIT (bug#9312).
14211
8c0f49f0
CY
142122011-09-17 Chong Yidong <cyd@stupidchicken.com>
14213
14214 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14215 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14216 occur-mode-display-occurrence.
14217 (occur-edit-mode): Add usage message.
14218 (occur-cease-edit): New command.
14219 (occur-after-change-function): Use text properties to find the
14220 position of the prefix text.
14221 (occur-engine): Set stickiness of prefix text properties.
14222
8f1383f7
GM
142232011-09-17 Glenn Morris <rgm@gnu.org>
14224
14225 * progmodes/etags.el (complete-tag):
14226 Fix call to completion-in-region. (Bug#9526)
14227
744ba0e3
JL
142282011-09-17 Juri Linkov <juri@jurta.org>
14229
14230 * textmodes/ispell.el (ispell-word): Add to the error message
14231 the word, ispell program name and current dictionary (bug#9121).
14232 (ispell-tex-arg-end): Capitalize "error" in the error message.
14233
d9bbf400
AS
142342011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14235
14236 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14237 check. (Bug#4251)
14238
8da11505
JL
142392011-09-17 Juri Linkov <juri@jurta.org>
14240
14241 * window.el (window-safe-min-height, window-safe-min-width):
14242 Fix typos (followup to bug#9522).
14243
a91adc7e
SJ
142442011-09-17 Sven Joachim <svenjoac@gmx.de>
14245
14246 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14247
064f328a
EZ
142482011-09-16 Eli Zaretskii <eliz@gnu.org>
14249
14250 * simple.el (line-move): If goal-column is set, move by logical
14251 lines, not by display lines. (Bug#971)
14252 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14253 to reflect the above change.
14254
e69df516
SM
142552011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14256
14257 * image.el (imagemagick-register-types): Use regexp-opt.
14258
cbb0f9ab
CY
142592011-09-15 Chong Yidong <cyd@stupidchicken.com>
14260
14261 * window.el (display-buffer-base-action): Rename from
14262 display-buffer-default-action. Make default value empty.
14263 (display-buffer-overriding-action): Convert to defvar.
14264 (display-buffer-fallback-action): New var.
14265
25322144
CY
142662011-09-15 Chong Yidong <cyd@stupidchicken.com>
14267
14268 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14269 declaration.
14270 (package--add-to-archive-contents): If there is a duplicate entry
14271 with an older version, remove it.
14272 (package-menu-mark-delete, package-menu-mark-install)
14273 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
14274 (package-menu-mark-obsolete-for-deletion):
14275 Use package-menu-get-status instead of a regexp search.
25322144
CY
14276 (package-menu-get-status): Use tabulated-list-entry.
14277 (package-menu-mark-upgrades): New command.
d770725a 14278 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
14279 (package-menu-execute): Do installation before deletion.
14280 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14281 instead of checking major-mode.
14282 (package-menu--find-upgrades): New function.
14283
7520339c
LMI
142842011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14285
14286 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14287 passwords in the log buffer.
65a046c4
LMI
14288 (smtpmail-process-filter): Update the process marker so that the
14289 "broken by peer" status message is inserted in the right place.
7520339c 14290
d3c30954
SM
142912011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14292
3fe48822
SM
14293 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14294 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14295 bibtex-completion-at-point-function.
14296 (bibtex-completion-at-point-function): Use them.
14297
1b8b3954
SM
14298 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14299
d3c30954
SM
14300 * mpc.el (mpc-constraints-tag-lookup): New function.
14301 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14302 also to browser "album|playlist".
14303
72779976
JL
143042011-09-14 Juri Linkov <juri@jurta.org>
14305
14306 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14307 (isearch-edit-string): Use length of `isearch-string' when
14308 `isearch-fail-pos' returns nil.
14309 (isearch-message): Remove duplicate code and call
14310 `isearch-fail-pos' with arg `t'.
14311
a0bf2bcd
CY
143122011-09-14 Chong Yidong <cyd@stupidchicken.com>
14313
17bb0a2d
CY
14314 * replace.el (occur-mode-goto-occurrence): Don't force using other
14315 window (Bug#9499).
14316
a0bf2bcd
CY
14317 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14318
f678e0b6
MR
143192011-09-14 Martin Rudalics <rudalics@gmx.at>
14320
14321 * window.el (display-buffer-window): Remove.
14322 (display-buffer-record-window): Use help-setup window parameter
14323 instead of variable display-buffer-window.
14324 (display-buffer-function, special-display-buffer-names)
14325 (special-display-function): Mention help-setup parameter instead
14326 of display-buffer-window in doc-string.
d3c30954
SM
14327 * help.el (help-window-setup): New argument help-window.
14328 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14329 Reword some messages.
14330 (with-help-window): Pass window used for displaying the buffer
14331 to help-window-setup. Don't set display-buffer-window.
14332
8e39b2e8
GM
143332011-09-13 Glenn Morris <rgm@gnu.org>
14334
14335 * emacs-lisp/debug.el (debugger-make-xrefs):
14336 Preserve point. (Bug#9462)
14337
85e9c04b
CY
143382011-09-13 Chong Yidong <cyd@stupidchicken.com>
14339
14340 * window.el (window-deletable-p): Use next-frame.
14341
1b36ed6a
MR
143422011-09-13 Martin Rudalics <rudalics@gmx.at>
14343
14344 * window.el (window-auto-delete): Remove.
14345 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14346 dedication and previous buffers.
1b36ed6a
MR
14347 (switch-to-prev-buffer): Don't delete window.
14348 (delete-windows-on): Delete a window's frame if and only if the
14349 window is dedicated.
14350 (replace-buffer-in-windows): Delete buffer's window or frame if
14351 and only if window is dedicated.
14352 (quit-window): Handle quit-restore as before last change.
4d61f28d 14353 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14354
ef8ef9fb
CY
143552011-09-13 Chong Yidong <cyd@stupidchicken.com>
14356
14357 * window.el (window-deletable-p): Never delete the last frame on a
14358 given terminal.
14359
b2cba41e
GM
143602011-09-13 Glenn Morris <rgm@gnu.org>
14361
14362 * help.el (describe-key-briefly): Copy previous standard-output change.
14363
51553db6 143642011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14365
14366 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14367
b7556719
GM
143682011-09-13 Glenn Morris <rgm@gnu.org>
14369
14370 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14371 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14372
64b51947
CY
143732011-09-12 Chong Yidong <cyd@stupidchicken.com>
14374
14375 * dired-aux.el (dired-mark-read-string): Don't return default
14376 value on empty input (Bug#9361).
14377 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14378 Omit initial minibuffer contents.
14379 (dired-do-chmod): Signal an error on empty input.
14380 (dired-mark-read-string): Don't return default on empty input.
14381
14382 * files.el (file-modes-symbolic-to-number): Doc fix.
14383
393a301e
SM
143842011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14385
14386 * international/mule-cmds.el (ucs-completions): Remove.
14387 (read-char-by-name): Use complete-with-action instead; add metadata.
14388
fa5660f9
CY
143892011-09-11 Chong Yidong <cyd@stupidchicken.com>
14390
14391 * window.el (display-buffer--action-function-custom-type)
14392 (display-buffer--action-custom-type): New vars.
14393 (display-buffer-alist, display-buffer-default-action)
14394 (display-buffer-overriding-action): Add defcustom types.
14395
4a592f66
CY
14396 * frame.el (delete-other-frames): Doc fix (Bug#276).
14397
73d56dbd
LMI
143982011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14399
14400 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14401
37ac18a3
CY
144022011-09-11 Chong Yidong <cyd@stupidchicken.com>
14403
14404 Change modes that used same-window-* vars to use switch-to-buffer.
14405
14406 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14407 Use switch-to-buffer.
14408
14409 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14410 (customize-browse, custom-buffer-create-other-window):
14411 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14412
14413 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14414 (Info-prev, Info-up, Info-speedbar-goto-node)
14415 (info-display-manual): Use switch-to-buffer.
14416 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14417
14418 * mail/sendmail.el (mail): Use switch-to-buffer.
14419 (mail-recover): Use switch-to-buffer-other-window.
14420
14421 * cmuscheme.el (run-scheme, switch-to-scheme):
14422 * ielm.el (ielm):
14423 * shell.el (shell):
14424 * net/rlogin.el (rlogin):
14425 * net/telnet.el (telnet, rsh):
14426 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14427
10195bd6
AS
144282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14429
14430 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14431
b322f63a
LMI
144322011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14433
39d7fed6
LMI
14434 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14435 so don't mention it (bug#9301).
ba5a81f1 14436 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14437
ee0e9f11
LMI
14438 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14439 match `x', `w32' and `ns', like the manual says (bug#9029).
14440
0b1c89c1 14441 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14442 (process-kill-buffer-query-function): Mention the buffer name in
14443 the query.
0b1c89c1 14444
77549ea8
LMI
14445 * image-mode.el (image-next-line): The line parameter is mandatory
14446 (bug#9258).
14447
803ef892
LMI
14448 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14449 which can be useful (bug#9301).
14450
12980837
LMI
14451 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14452
91054f8f
LMI
14453 * subr.el (match-string): Mention that the current buffer should
14454 be the same as the search was done in (bug#9282).
14455
b322f63a
LMI
14456 * facemenu.el: Disable the remove-* commands if the mark isn't
14457 active (bug#9162).
14458
3199b96f
CY
144592011-09-10 Chong Yidong <cyd@stupidchicken.com>
14460
14461 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14462 of display-buffer.
14463 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14464
14465 * replace.el (occur-mode-goto-occurrence)
14466 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14467 and display-buffer.
14468
14469 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14470 display-buffer.
14471
14472 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14473 special-display and same-window variables.
14474 (mail-other-window): Use switch-to-buffer-other-window.
14475 (mail-other-frame): USe switch-to-buffer-other-frame.
14476
393a301e
SM
14477 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14478 Use display-buffer-other-frame.
3199b96f
CY
14479 (gdb-display-gdb-buffer): Use pop-to-buffer.
14480
14481 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14482
14483 * progmodes/python.el: Don't set same-window-buffer-names.
14484
14485 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14486
14487 * window.el (display-buffer-alist): Add *Python*.
14488
8319e0bf
CY
144892011-09-10 Chong Yidong <cyd@stupidchicken.com>
14490
14491 * window.el (display-buffer-alist): Add entry for buffers
14492 previously handled same-window-*.
14493 (display-buffer-alist, display-buffer-default-action)
14494 (display-buffer-overriding-action): Mark as risky.
14495 (display-buffer-alist): Document action function changes.
14496 (display-buffer--same-window-action)
14497 (display-buffer--other-frame-action): New variables.
14498 (switch-to-buffer, display-buffer-other-frame): Use them.
14499 (display-buffer): Rename reuse-frame entry to reusable-frames.
14500 (display-buffer-reuse-selected-window): Function deleted.
14501 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14502 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14503 (display-buffer-special): New function.
14504 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14505 display-buffer-reuse-or-pop-window. Split off special-display
14506 part into display-buffer-special.
14507 (display-buffer-use-some-window): Don't perform any special
14508 pop-up-frames handling.
14509 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14510 (display-buffer--maybe-same-window): Rename from
0d3ff375 14511 display-buffer-maybe-same-window.
8319e0bf 14512
919a69aa
CY
14513 * info.el: Don't set same-window-regexps.
14514 (info-setup): New function.
14515 (info-other-window, info): Call it.
14516
14517 * cus-edit.el: Don't set same-window-regexps.
14518 (customize-group): New argument.
14519 (customize-group-other-window): Use it.
14520 (customize-face, customize-face-other-window): Likewise.
14521 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14522
8319e0bf
CY
14523 * net/rlogin.el:
14524 * net/telnet.el:
14525 * progmodes/gud.el: Don't set same-window-regexps.
14526
14527 * cmuscheme.el:
14528 * ielm.el:
14529 * shell.el:
14530 * mail/sendmail.el:
14531 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14532
25173000
JL
145332011-09-10 Juri Linkov <juri@jurta.org>
14534
14535 * isearch.el (isearch-edit-string): Remove obsolete mention of
14536 `C-w' (`isearch-yank-word-or-char') from docstring.
14537 (isearch-query-replace): Fix typo in docstring (bug#9466).
14538
056e44ef
JL
145392011-09-10 Juri Linkov <juri@jurta.org>
14540
14541 * paren.el (show-paren-function): Don't show escaped parens.
14542 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14543
c3760c17
EZ
145442011-09-10 Eli Zaretskii <eliz@gnu.org>
14545
14546 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14547 (mm-default-file-encoding): Remove autoload forms, they are
14548 replaced with autoload cookies in mml.el and mm-encode.el.
14549 (mail-add-attachment): New command.
14550 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14551 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14552 the doc string.
14553 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14554
fece895e
RT
145552011-09-10 Reuben Thomas <rrt@sc3d.org>
14556
e69df516
SM
14557 * simple.el (count-words-region): Use buffer if there's no region
14558 (bug#9429).
fece895e 14559
5e68ce4a
JL
145602011-09-09 Juri Linkov <juri@jurta.org>
14561
14562 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14563 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14564 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14565
0a6b9622
AM
145662011-09-09 Alan Mackenzie <acm@muc.de>
14567
14568 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14569 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14570
14a29deb
EZ
145712011-09-09 Eli Zaretskii <eliz@gnu.org>
14572
14573 Fix for Savannah bug#9392.
14574 * simple.el (mail-encode-mml): New defvar.
14575
14576 * mail/rmail.el (mail-encode-mml): Add a defvar.
14577 (rmail-enable-mime-composing): Default to t.
14578 (rmail-forward): Use MIME method of forwarding only if both
14579 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14580 Set mail-encode-mml non-nil if the MIME method was used.
14581
14582 * mail/sendmail.el (mml-to-mime): Add autoload form.
14583 (mail-encode-mml): Add a defvar.
14584 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14585 to nil.
14586 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14587 message through mml-to-mime, and reset mail-encode-mml to nil.
14588
28c45130
GM
145892011-09-09 Glenn Morris <rgm@gnu.org>
14590
14591 * woman.el (woman-if-body): When processing an .el block,
14592 do not delete the next .el block as well. (Bug#9447)
69f4b618 14593 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14594
9b1c252e
MR
145952011-09-08 Martin Rudalics <rudalics@gmx.at>
14596
14597 * window.el (window-deletable-p): Make sure window is live before
14598 invoking window-prev-buffers.
14599
567457e3
LL
146002011-09-08 Leo Liu <sdl.web@gmail.com>
14601
14602 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14603
97f05794
JL
146042011-09-08 Juri Linkov <juri@jurta.org>
14605
14606 * progmodes/compile.el (compilation-environment): Make it
14607 a defcustom (bug#8340).
14608
8b0874b5
MR
146092011-09-08 Martin Rudalics <rudalics@gmx.at>
14610
14611 * window.el (frame-auto-delete): Rename to window-auto-delete.
14612 Make it control auto-deletion of windows and/or frames.
14613 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14614 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14615 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14616 Rewrite handling of case when window/frame can be deleted.
14617 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14618 argument t. (Bug#9456)
8b0874b5 14619
4feb6e73
CY
146202011-09-07 Chong Yidong <cyd@stupidchicken.com>
14621
14622 * help-mode.el (help-mode): Restore autoload.
14623
91ab9c13
JL
146242011-09-07 Juri Linkov <juri@jurta.org>
14625
14626 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14627 `compilation-environment'. Set buffer-local
14628 `compilation-environment' to `thisenv' later after (funcall mode).
14629 (Bug#8340)
14630
14631 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14632 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14633 instead of replacing its value. (Bug#8340)
14634
0527e251
JL
146352011-09-07 Juri Linkov <juri@jurta.org>
14636
14637 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14638 based on text properties put by `grep-filter' instead of matching
14639 escape sequences.
14640 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14641 to the value of `grep-error-screen-columns' (bug#9438).
14642
249f792c
JL
146432011-09-07 Juri Linkov <juri@jurta.org>
14644
14645 * simple.el (next-error-highlight, next-error-highlight-no-select):
14646 Doc fix (bug#9432).
14647
ff7271b9
OT
146482011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14649
14650 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14651 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14652
183fc730
LL
146532011-09-07 Leo Liu <sdl.web@gmail.com>
14654
14655 * net/rcirc.el (rcirc-mode): Conditionally initialize
14656 rcirc-input-ring.
14657
77694924
SM
146582011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14659
14660 * emacs-lisp/find-func.el (find-function-C-source): Only set
14661 find-function-C-source-directory after checking that we found a source
14662 file there (bug#9440).
14663
d809b8eb
AM
146642011-09-06 Alan Mackenzie <acm@muc.de>
14665
14666 * isearch.el (isearch-other-meta-char): Wherever a key list is
14667 unread, "unread" the prefix arg, too. This fixes bug #8901.
14668
453de99f
OG
146692011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14670
14671 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14672
90439906
JL
146732011-09-05 Juri Linkov <juri@jurta.org>
14674
14675 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14676
f62bd846
JL
146772011-09-05 Juri Linkov <juri@jurta.org>
14678
14679 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14680 keeping point where processing of grep matches begins, and
14681 continue to delete remaining escape sequences from the same point.
14682 (grep-filter): Make leading zero optional in "0?1;31m" because
14683 git-grep emits "\033[1;31m" escape sequences unlike expected
14684 "\033[01;31m" as GNU Grep does (bug#9408).
14685 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14686
045820ec
JL
146872011-09-05 Juri Linkov <juri@jurta.org>
14688
14689 * subr.el (y-or-n-p): Capitalize "yes".
14690
f5e29b9b
MA
146912011-09-04 Michael Albinus <michael.albinus@gmx.de>
14692
14693 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14694 `tramp-cache-unload-hook' where appropriate.
14695 (tramp-methods): Rename `tramp-remote-sh' to
14696 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14697 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14698
14699 * net/tramp-sh.el (top): Don't require 'shell.
14700 (tramp-methods): Add `tramp-remote-shell' and
14701 `tramp-remote-shell-args' entries.
14702 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14703 (tramp-sh-handle-shell-command): Remove.
14704 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14705 Use `tramp-remote-shell'.
14706
2784c434
CY
147072011-09-03 Chong Yidong <cyd@stupidchicken.com>
14708
393a301e 14709 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14710 (sendmail-query-once): Save directly to send-mail-function.
14711 Update message-send-mail-function too.
14712
14713 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14714
464cdf56
CS
147152011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14716
14717 * progmodes/python.el (python-mode-map): Use correct function to
14718 start python interpreter from menu-bar (as reported by Geert
14719 Kloosterman).
14720 (inferior-python-mode-map): Fix typo.
393a301e 14721 (python-shell-map): Remove.
464cdf56 14722
d37e5c87
DD
147232011-09-03 Deniz Dogan <deniz@dogan.se>
14724
14725 * net/rcirc.el (rcirc-print): Simplify code for
14726 rcirc-scroll-show-maximum-output. There is no need to walk
14727 through all windows to find the right one.
14728
f3ada0ee
CS
147292011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14730
14731 * help.el (help-return-method): Doc fix.
14732
1f3c99ca
MR
147332011-09-03 Martin Rudalics <rudalics@gmx.at>
14734
14735 * window.el (window-deletable-p): Don't return a non-nil value
14736 when there's a buffer that was shown in the window before.
14737 (Bug#9419)
393a301e
SM
14738 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14739 Set window's previous buffers to nil.
1f3c99ca 14740
a3cf097f
EZ
147412011-09-03 Eli Zaretskii <eliz@gnu.org>
14742
14743 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14744 newline before and after the tag line, so it doesn't interfere
14745 with determining the paragraph direction of bidirectional text.
14746
3d03de90
LL
147472011-09-03 Leo Liu <sdl.web@gmail.com>
14748
14749 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14750
c3313451
CY
147512011-09-02 Chong Yidong <cyd@stupidchicken.com>
14752
393a301e 14753 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14754 (pop-to-buffer): Change interactive spec. Pass second argument
14755 directly to display-buffer.
14756 (display-buffer): Fix interactive spec. Use functionp to
14757 distinguish between a function and a list of functions.
14758
14759 * abbrev.el (edit-abbrevs):
14760 * arc-mode.el (archive-extract):
14761 * autoinsert.el (auto-insert):
14762 * bookmark.el (bookmark-bmenu-list):
14763 * files.el (find-file):
14764 * view.el (view-buffer):
14765 * progmodes/compile.el (compilation-goto-locus):
14766 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14767
89894cd8
CY
147682011-09-02 Chong Yidong <cyd@stupidchicken.com>
14769
14770 * window.el (display-buffer-alist): Doc fix.
14771 (display-buffer): Add docstring. Don't treat
14772 display-buffer-default specially.
14773 (display-buffer-reuse-selected-window)
14774 (display-buffer-same-window, display-buffer-maybe-same-window)
14775 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14776 (display-buffer-pop-up-window)
14777 (display-buffer-reuse-or-pop-window)
14778 (display-buffer-use-some-window): New functions.
14779 (display-buffer-default-action): Use them.
393a301e 14780 (display-buffer-default): Delete.
89894cd8
CY
14781 (pop-to-buffer-1): Fix choice of actions.
14782
ae0bc9fb
SM
147832011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14784
14785 * minibuffer.el (completion--insert-strings): Don't get confused by
14786 completion entries that end with an LF char.
14787
e9d90883
EZ
147882011-09-01 Eli Zaretskii <eliz@gnu.org>
14789
14790 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14791
437014c8
CY
147922011-09-01 Chong Yidong <cyd@stupidchicken.com>
14793
14794 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14795 (display-buffer-same-window, display-buffer-other-window):
14796 New functions.
437014c8
CY
14797 (pop-to-buffer-1): New function. Use the above.
14798 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14799 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14800
14801 * view.el (view-buffer-other-window, view-buffer-other-frame):
14802 Just use pop-to-buffer.
14803
a5e063d5
TV
148042011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14805
14806 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14807
793d32bb
WH
148082011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14809
14810 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14811
d65e4c15
RS
148122011-08-31 Richard Stallman <rms@gnu.org>
14813
14814 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14815 of the separation of rmail-view-buffer from rmail-buffer.
14816 If you say no to "replace original", the decrypt is in the
14817 view buffer. If you say yes, the decrypt goes into the
14818 rmail buffer also.
14819
f818cd2a
MR
148202011-08-31 Martin Rudalics <rudalics@gmx.at>
14821
14822 * window.el (display-buffer-window): Rewrite doc-string.
14823 (display-buffer-record-window): New function.
14824 (display-buffer-macro-specifiers)
14825 (display-buffer-even-window-sizes, display-buffer-set-height)
14826 (display-buffer-set-width, display-buffer-in-window)
14827 (display-buffer-reuse-window, display-buffer-split-specifiers)
14828 (display-buffer-side-specifiers, display-buffer-split-window-1)
14829 (display-buffer-split-window, display-buffer-split-atom-window)
14830 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14831 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14832 (display-buffer-other-window-means-other-frame)
14833 (display-buffer-normalize-special)
14834 (display-buffer-normalize-default)
14835 (display-buffer-normalize-argument)
14836 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14837 (display-buffer-normalize-specifiers, display-buffer-frame)
14838 (display-buffer-same-window, display-buffer-same-frame)
14839 (display-buffer-other-window)
14840 (display-buffer-same-frame-other-window)
14841 (display-buffer-other-frame, pop-to-buffer-same-window)
14842 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14843 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14844 (switch-to-buffer-same-frame)
14845 (switch-to-buffer-other-window-same-frame)
14846 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14847 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14848 (display-buffer-alist-set): Remove.
14849 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14850 (special-display-regexps, special-display-function):
14851 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14852 parameter.
14853 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14854 (special-display-frame-alist, special-display-popup-frame)
14855 (same-window-buffer-names, same-window-regexps, same-window-p)
14856 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14857 (split-window-preferred-function, split-height-threshold)
14858 (split-width-threshold, window-splittable-p)
14859 (split-window-sensibly, window--try-to-split-window)
14860 (window--frame-usable-p, even-window-heights)
14861 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14862 (window--display-buffer-2, display-buffer-other-frame):
14863 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14864 (display-buffer-default, display-buffer-assq-regexp): New functions.
14865 (display-buffer-alist): Rewrite doc-string.
14866 (display-buffer-default-action)
14867 (display-buffer-overriding-action): New variables.
14868 (display-buffer, switch-to-buffer): Rewrite.
14869 (pop-to-buffer): Restore Emacs 23 behavior but use
14870 window-normalize-buffer-to-display.
14871 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14872 Restore Emacs 23 behavior but use
14873 window-normalize-buffer-to-switch-to.
14874 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14875 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14876 Rewrite using Emacs 23 options.
f818cd2a 14877
5bc3b51d
MA
148782011-08-31 Michael Albinus <michael.albinus@gmx.de>
14879
14880 * net/tramp.el (tramp-root-regexp): Remove.
14881 (tramp-completion-file-name-regexp-unified)
14882 (tramp-completion-file-name-regexp-separate)
14883 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14884 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14885 (tramp-drop-volume-letter): Simplify definition.
14886 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14887
b1a4f8e1
SM
148882011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14889
14890 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14891 (bug#9356).
14892
5664fa7b
RT
148932011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14894
b1a4f8e1 14895 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14896
9a45d6c3
JL
148972011-08-29 Juri Linkov <juri@jurta.org>
14898
14899 * isearch.el (isearch-done): Don't display message "Mark saved"
14900 when arg `edit' is non-nil to prevent its flicker in the echo area.
14901
fb87e0fb
CY
149022011-08-28 Chong Yidong <cyd@stupidchicken.com>
14903
14904 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14905 obsolete packages for deletion.
14906
09ac1c2a
CS
149072011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14908
14909 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14910 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14911 view-mode from help-mode.
14912 (help-xref-override-view-map): Remove.
14913 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14914 view-mode is not used anymore.
14915
7a1ff57f
CY
149162011-08-28 Chong Yidong <cyd@stupidchicken.com>
14917
14918 * server.el (server-port): Doc fix.
14919
b9696605
CY
14920 * cus-theme.el (custom-theme-choose-mode): Inherit from
14921 special-mode (Bug#9124).
14922 (custom-theme-choose-mode-map): Add special-mode to parent.
14923
ef8cdf8c
AM
149242011-08-28 Alan Mackenzie <acm@muc.de>
14925
14926 * progmodes/cc-fonts.el
14927 (c-make-font-lock-BO-decl-search-function): New function.
14928 (c-basic-matchers-after - "Fontify the clauses after various
14929 keywords"): Extract the three keyword lists for the 3 erroneous
14930 constructs from the list of four, and use the new function above
14931 in place of an old one.
14932
27de4e20
DD
149332011-08-28 Deniz Dogan <deniz@dogan.se>
14934
14935 * net/rcirc.el (rcirc-insert-prev-input)
14936 (rcirc-insert-next-input): Remove unused argument.
14937
356a3681
SM
149382011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14939
14940 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14941
3fc9b218
AM
149422011-08-27 Alan Mackenzie <acm@muc.de>
14943
14944 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14945 handle function pointer parameters properly.
14946
538a061c
MR
149472011-08-27 Martin Rudalics <rudalics@gmx.at>
14948
14949 * window.el (display-buffer-reuse-window): Fix case where
14950 selected window was reused with non-nil OTHER-WINDOW argument.
14951 (Bug#9381)
14952
35b1c40c
DD
149532011-08-27 Deniz Dogan <deniz@dogan.se>
14954
14955 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14956 oftc's NickServ messages.
14957
2f6a3e79
GM
149582011-08-27 Glenn Morris <rgm@gnu.org>
14959
14960 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14961
7254299e
CY
149622011-08-26 Chong Yidong <cyd@stupidchicken.com>
14963
14964 * emacs-lisp/package.el (package-install): Call package-initialize
14965 if called interactively.
14966
f8ccf167
LL
149672011-08-26 Leo Liu <sdl.web@gmail.com>
14968
14969 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14970
3e8cd5ce
JL
149712011-08-25 Juri Linkov <juri@jurta.org>
14972
14973 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14974 `search-whitespace-regexp' (bug#9364).
14975
93eb7113
JL
149762011-08-25 Juri Linkov <juri@jurta.org>
14977
14978 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14979 `regexp-search-ring' to their global values to protect from
14980 updating by `read-from-minibuffer' (bug#9185).
14981
f65d1611
JL
149822011-08-25 Juri Linkov <juri@jurta.org>
14983
14984 * textmodes/ispell.el (ispell-command-loop): Add newline
14985 at the end of the "Use option `i'..." line.
14986
f1cf7a31
JL
149872011-08-25 Juri Linkov <juri@jurta.org>
14988
14989 * battery.el (display-battery-mode): If `battery-status-function'
14990 or `battery-mode-line-format' is nil, display the message and set
14991 `display-battery-mode' to nil (bug#9363).
14992
0c95fcf7
EZ
149932011-08-25 Eli Zaretskii <eliz@gnu.org>
14994
14995 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14996 bidi-string-mark-left-to-right; they are unnecessary now.
14997
a2ebe600
DD
149982011-08-25 Deniz Dogan <deniz@dogan.se>
14999
15000 * net/quickurl.el: Documentation typo fixes.
15001
e4ed06f1
CY
150022011-08-25 Chong Yidong <cyd@stupidchicken.com>
15003
15004 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15005
e5f1c99e
GM
150062011-08-25 Glenn Morris <rgm@gnu.org>
15007
b2948976
GM
15008 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15009
e5f1c99e
GM
15010 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15011 (smtpmail-via-smtp): Handle nil response from smtp.
15012
f22f4808
JL
150132011-08-24 Juri Linkov <juri@jurta.org>
15014
15015 * proced.el (proced-marked): Inherit from `error' instead of
15016 `font-lock-warning-face'.
15017
15018 * ibuffer.el (ibuffer-marked-face): Change default face from
15019 `font-lock-warning-face' to `warning'.
15020 (ibuffer-deletion-face): Change default face from
15021 `font-lock-type-face' to `error'.
15022
15023 * battery.el (battery-update): Use the face `error' instead of
15024 `font-lock-warning-face' (bug#6117).
15025
6a93965e
JL
150262011-08-24 Juri Linkov <juri@jurta.org>
15027
15028 * faces.el (success): Change face color from "Green3" to
15029 "ForestGreen" on light background (bug#9353).
15030
1ed43b09
CY
150312011-08-24 Chong Yidong <cyd@stupidchicken.com>
15032
5664fa7b
RT
15033 * window.el (quit-window): Rename from quit-restore-window.
15034 Use same arglist as old quit-window.
1ed43b09
CY
15035 (frame-auto-delete): Doc fix.
15036
15037 * view.el (view-mode-exit): Use quit-window.
15038
11dcdbb2
JL
150392011-08-24 Juri Linkov <juri@jurta.org>
15040
15041 * isearch.el (isearch-ring-adjust1): Start visiting previous
15042 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15043 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15044 for empty search string (when the last search string is reused
15045 automatically) to adjust the isearch ring to the last element and
15046 prepare the correct index for further M-p commands (bug#9185).
15047
de62b4df
KH
150482011-08-24 Kenichi Handa <handa@m17n.org>
15049
15050 * international/ucs-normalize.el: If decomposition property of
15051 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15052 nil.
15053 (nfd, nfkd): Likewise.
15054
963b492b
SM
150552011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15056
15057 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15058 from process filters aren't reliably transmitted to the surrounding
15059 accept-process-output.
15060 (mpc-proc-check): New function.
15061 (mpc-proc-sync): Use it (bug#8293)
15062
93b6b5e1
SM
150632011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15064
15065 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15066 Add compatibility functions (bug#9313).
15067
bca633fb
EZ
150682011-08-23 Eli Zaretskii <eliz@gnu.org>
15069
b177498a
EZ
15070 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15071
6df6ae42 15072 * international/uni-bidi.el: Regenerate.
bca633fb 15073
0902a04e
KH
150742011-08-23 Kenichi Handa <handa@m17n.org>
15075
15076 * international/charprop.el:
15077 * international/uni-bidi.el:
15078 * international/uni-category.el:
15079 * international/uni-combining.el:
15080 * international/uni-comment.el:
15081 * international/uni-decimal.el:
15082 * international/uni-decomposition.el:
15083 * international/uni-digit.el:
15084 * international/uni-lowercase.el:
15085 * international/uni-mirrored.el:
15086 * international/uni-name.el:
15087 * international/uni-numeric.el:
15088 * international/uni-old-name.el:
15089 * international/uni-titlecase.el:
15090 * international/uni-uppercase.el: Regenerate.
15091
3bbf23bc
MR
150922011-08-23 Martin Rudalics <rudalics@gmx.at>
15093
15094 * help.el (help-window-setup): Fix message displayed when other
15095 window is reused. (Bug#9341)
15096
b3fd59bd
SM
150972011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15098
1802e444
SM
15099 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15100 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15101
b3fd59bd
SM
15102 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15103 Mark obsolete.
15104 * shell.el (shell-parse-pcomplete-arguments): New function.
15105 (shell-completion-vars): Use it instead (bug#9160).
15106
4eb61348
SM
151072011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15108
867cab74
SM
15109 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15110 strings and comments (bug#9333).
15111
4eb61348
SM
15112 * emacs-lisp/debug.el (debug-arglist): New function.
15113 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15114 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15115
262a1439
JL
151162011-08-22 Juri Linkov <juri@jurta.org>
15117
56ee679c
JL
15118 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15119 Revert regexp that highlights output switches to its old
15120 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15121
262a1439
JL
15122 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15123 to check for empty output (bug#9226).
15124
f13f86fb
CY
151252011-08-22 Chong Yidong <cyd@stupidchicken.com>
15126
15127 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15128 symbol-constituent as the default, as that stops font-lock from
15129 working properly (Bug#8843).
15130
c65c9622
LMI
151312011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15132
15133 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15134 `coding-system-for-*' around the process open call to avoid
15135 auth-source side effects.
e7f2c178 15136 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15137 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15138 probe hangs.
c65c9622 15139
23a8a5ab
CY
151402011-08-21 Chong Yidong <cyd@stupidchicken.com>
15141
ff98b2dd
CY
15142 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15143
23a8a5ab
CY
15144 * emacs-lisp/find-func.el (find-function-noselect): New arg
15145 lisp-only.
15146
15147 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15148 signal an error for built-in functions (Bug#6664).
15149
f5e3c598
LMI
151502011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15151
15152 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15153 (smtpmail-try-auth-methods): Use it.
15154
a3f2468a
CY
151552011-08-21 Chong Yidong <cyd@stupidchicken.com>
15156
2c34e8da
CY
15157 * font-lock.el (font-lock-fontify-region)
15158 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15159 (font-lock-default-unfontify-buffer)
15160 (font-lock-default-fontify-region)
15161 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15162
b3fd59bd
SM
15163 * progmodes/compile.el (compilation-error-properties):
15164 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15165 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15166 `ant' regexp.
ee31aabc 15167
a3f2468a
CY
15168 * net/browse-url.el (browse-url-firefox): Don't call
15169 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15170
8e999f70
GM
151712011-08-20 Glenn Morris <rgm@gnu.org>
15172
c21a496a
GM
15173 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15174
59ee0542
GM
15175 * tutorial.el (tutorial--default-keys): Update some default bindings.
15176
8e999f70
GM
15177 * files.el (hack-local-variables): Fully ignore case for "mode:".
15178
e3715033
AM
151792011-08-20 Alan Mackenzie <acm@muc.de>
15180
15181 Resolve invalid use of a regexp in regexp-opt.
15182
4d61f28d
JB
15183 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15184 detection for a java annotation.
e3715033 15185
4d61f28d 15186 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15187 detection for a java annotation.
15188
4d61f28d
JB
15189 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15190 handling for java.
e3715033
AM
15191 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15192
04ed2e9c
CY
151932011-08-20 Chong Yidong <cyd@stupidchicken.com>
15194
15195 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15196 (Bug#9274).
15197
826cee64
AM
151982011-08-20 Alan Mackenzie <acm@muc.de>
15199
58179cce 15200 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15201 such a construct. Mainly for when jit-lock etc. starts a chunk
15202 here.
15203
58179cce 15204 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15205 variable.
58179cce 15206 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15207 c-make-font-lock-search-function.
15208 (c-make-font-lock-search-function): Use the above function.
15209 (c-make-font-lock-context-search-function): New function.
15210 (c-cpp-matchers): Enhance the preprocessor expression case with
15211 the above function
15212 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15213 which takes an expression.
15214
15215 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15216
13009bd8
MR
152172011-08-20 Martin Rudalics <rudalics@gmx.at>
15218
15219 * window.el (display-buffer-reuse-window)
15220 (display-buffer-pop-up-window): Don't reuse or split a side
15221 window.
15222
9234ff7f
GM
152232011-08-19 Glenn Morris <rgm@gnu.org>
15224
15225 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15226 Downcase "Mode:". (Bug#9331)
9234ff7f 15227
f635daa1
CY
152282011-08-18 Chong Yidong <cyd@stupidchicken.com>
15229
15230 * international/characters.el: Add L and R categories.
15231
15232 * subr.el (bidi-string-mark-left-to-right): Rename from
15233 string-mark-left-to-right. Use category search.
15234
15235 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15236
bc987f8b
JL
152372011-08-18 Juri Linkov <juri@jurta.org>
15238
15239 * faces.el (error, warning, success): New faces with definitions
15240 copied from old default values of `font-lock-warning-face',
15241 `compilation-warning', `compilation-info' (bug#6117).
15242
15243 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15244
15245 * progmodes/compile.el (compilation-error): Inherit from `error'.
15246 (compilation-warning): Inherit from `warning'.
15247 (compilation-info): Inherit from `success'.
15248
15249 * dired.el (dired-marked): Inherit from `warning'.
15250 (dired-flagged): Inherit from `error'.
15251
57173b96
LMI
152522011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15253
3e79eb87
LMI
15254 * mail/smtpmail.el (auth-source): Require to avoid problems with
15255 binding variables (bug#9298). Also clean up some unused
15256 autoloads.
15257
b3fd59bd
SM
15258 * net/network-stream.el (network-stream-open-starttls):
15259 Support using starttls.el without using gnutls-cli.
57173b96 15260
02b404de
JL
152612011-08-17 Juri Linkov <juri@jurta.org>
15262
15263 * progmodes/grep.el (rgrep): Handle the case when
15264 `grep-find-command' is a cons cell (bug#9278).
15265
8c9177f2
MR
152662011-08-17 Martin Rudalics <rudalics@gmx.at>
15267
15268 * window.el (display-buffer-pop-up-frame): Run frame creation
15269 function with BUFFER current (as special-display-popup-frame
15270 does). Reported by Drew Adams.
15271
3644a0ab
DU
152722011-08-17 Daiki Ueno <ueno@unixuser.org>
15273
15274 * epa-mail.el: Simplify GnuPG group expansion using
15275 epg-expand-group.
15276 (epa-mail-group-alist, epa-mail-group-modtime)
15277 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15278 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15279 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15280 Remove.
15281
5e617bc2 152822011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
15283
15284 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15285
9c4aeabf
AM
152862011-08-16 Alan Mackenzie <acm@muc.de>
15287
15288 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15289 Correct, to avoid the inside of macros.
15290
3a99bf64
RS
152912011-08-16 Richard Stallman <rms@gnu.org>
15292
04963aa8
RS
15293 * epa-mail.el: Handle GnuPG group definitions.
15294 (epa-mail-group-alist, epa-mail-group-modtime)
15295 (epa-mail-gnupg-conf-file): New variables.
15296 (epa-mail-parse-groups, epa-mail-sync-groups)
15297 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15298 (epa-mail-expand-recipients): New functions.
15299 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15300
177549d0
RS
15301 * mail/rmail.el (rmail-epa-decrypt): New command.
15302
fe38beef
RS
15303 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15304 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15305 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15306 (epa-decrypt-armor-in-region): Make error message clearer.
15307
934eacb9
SM
153082011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15309
15310 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15311 and "a2b" to "ab" for `prefix'.
15312
d024fb4e
CY
153132011-08-14 Chong Yidong <cyd@stupidchicken.com>
15314
15315 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15316 filter groups.
de148fee
CY
15317 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15318 Fourquet (Bug#8804).
d024fb4e 15319
62f1ca49
JB
153202011-08-12 Juanma Barranquero <lekktu@gmail.com>
15321
15322 * startup.el (argi): Declare as global variable (bug#9275).
15323
9ccaaa4b
CY
153242011-08-12 Chong Yidong <cyd@stupidchicken.com>
15325
15326 * subr.el (string-mark-left-to-right): Search the entire string
15327 for RTL script, not just the terminating character. Doc fix.
15328
a3dae87a
SM
153292011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15330
6cd18349
SM
15331 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15332 New function.
15333 (js--regexp-literal, js-syntax-propertize-function): Remove.
15334 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15335 (js-mode-map): Don't rebind electric keys.
15336 (js-insert-and-indent): Remove.
15337 (js-mode): Setup electric-layout and electric-indent instead.
15338
a3dae87a
SM
15339 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15340
9d5cb631
DU
153412011-08-12 Daiki Ueno <ueno@unixuser.org>
15342
15343 * epa.el (epa-progress-callback-function): Fix the logic of
15344 displaying progress.
15345 * epa-file.el (epa-file-insert-file-contents): Make progress
15346 display more user-friendly.
15347 (epa-file-write-region): Ditto.
15348
3e26a4a2
CY
153492011-08-10 Chong Yidong <cyd@stupidchicken.com>
15350
15351 * subr.el (string-mark-left-to-right): New function.
15352
15353 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15354 Use string-mark-left-to-right.
15355 (list-buffers-noselect): Caller changed.
15356
a3dae87a
SM
15357 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15358 Use string-mark-left-to-right.
3e26a4a2
CY
15359 (tabulated-list-print): Recenter after moving point.
15360
ac8cf6e6
JL
153612011-08-10 Juri Linkov <juri@jurta.org>
15362
15363 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15364 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15365 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15366
8d96c9a4
CY
153672011-08-09 Chong Yidong <cyd@stupidchicken.com>
15368
15369 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15370 (Bug#7554).
15371
7be1c708 153722011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15373
15374 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15375 character. (Bug#6594)
15376
37e11a63
CY
153772011-08-08 Chong Yidong <cyd@stupidchicken.com>
15378
839dde57
CY
15379 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15380 (image-dired--with-db-file): New macro.
15381 (image-dired-write-tags, image-dired-remove-tag)
15382 (image-dired-create-gallery-lists, image-dired-write-comments)
15383 (image-dired-get-comment, image-dired-mark-tagged-files)
15384 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15385 (image-dired-gallery-generate): Use insert-file-contents.
15386
37e11a63
CY
15387 * time.el (display-time-world-list, display-time-world-display):
15388 * time-stamp.el (time-stamp-string):
15389 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15390 set-time-zone-rule (Bug#7337).
15391
0b4946c4
DU
153922011-08-08 Daiki Ueno <ueno@unixuser.org>
15393
15394 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15395 (epg-error-to-string, epg-errors-to-string): New function.
15396 (epg-wait-for-completion): Reverse errors list.
15397 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15398 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15399 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15400 (epg-sign-keys, epg-generate-key-from-file)
15401 (epg-generate-key-from-string): Format errors by using
15402 epg-errors-to-string (bug#9255).
15403 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15404
75bfc667
JL
154052011-08-07 Juri Linkov <juri@jurta.org>
15406
15407 * faces.el (list-faces-display): Remove extra angle bracket
15408 from `help-mode-map'.
15409
15410 * info.el (Info-history-toc-nodes): Doc fix.
15411
15412 * longlines.el (longlines-mode): Doc fix.
15413
673e08bb
SM
154142011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15415
4640dd88
SM
15416 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15417 of statements and in a few more cases (bug#9183).
15418
673e08bb
SM
15419 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15420 New functions.
15421 (cl-transform-lambda): Use them (bug#9239).
15422
89b3f019
MR
154232011-08-05 Martin Rudalics <rudalics@gmx.at>
15424
15425 * window.el (display-buffer-same-window)
15426 (display-buffer-same-frame, display-buffer-other-window)
15427 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15428 (pop-to-buffer-other-window)
15429 (pop-to-buffer-same-frame-other-window)
15430 (pop-to-buffer-other-frame): Make them defuns.
15431 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15432
640c8776
SM
154332011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15434
15435 * subr.el (make-composed-keymap): Move from C. Change calling
15436 convention, and improve docstring to bring attention to a subtle point.
15437 * minibuffer.el (completing-read-default): Adjust accordingly.
15438
63648a95
MA
154392011-08-03 Michael Albinus <michael.albinus@gmx.de>
15440
15441 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15442 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15443
15444 * net/trampver.el: Update release number.
15445
b796c9b7
SM
154462011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15447
15448 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15449 "in" (bug#9190).
15450
2239d7d5
LMI
154512011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15452
e07dd7c3
LMI
15453 * mail/sendmail.el (sendmail-query-once): Restore the current
15454 buffer after querying (bug#9074).
15455
0e6a2bd7
LMI
15456 * dired.el (dired-flagged): Use different faces for marked and
15457 flagged files (bug#6117).
15458
ce887515
LMI
15459 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15460 (bug#4433).
15461
92f2affc
LMI
15462 * ido.el (ido-mode): Switch off the message if called
15463 non-interactively.
15464
57d5aff0
LMI
15465 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15466 before 587, since it appears that that's more likely to work for
15467 more people.
15468
98cd6c18 15469 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15470 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15471 exist.
15472
b96dec83
LMI
15473 * info.el: Remove the `Info-beginning-of-buffer' function
15474 (bug#8325).
15475
b796c9b7
SM
15476 * net/network-stream.el (network-stream-open-starttls):
15477 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15478
d90e2ea0
MR
154792011-08-01 Martin Rudalics <rudalics@gmx.at>
15480
15481 * window.el (display-buffer-in-window): Don't set dedicated status
15482 of window here (Bug#9215).
15483 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15484 (display-buffer-pop-up-side-window)
b796c9b7 15485 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15486
cca09170
SM
154872011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15488
15489 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15490 before binding generated-autoload-file.
15491
027b979c
DD
154922011-08-01 Deniz Dogan <deniz@dogan.se>
15493
15494 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15495
3c7ee4f3
MA
154962011-07-30 Michael Albinus <michael.albinus@gmx.de>
15497
15498 Sync with Tramp 2.2.2.
15499
15500 * net/trampver.el: Update release number.
15501
2cc8e51a
JL
155022011-07-30 Juri Linkov <juri@jurta.org>
15503
15504 * dired-aux.el (dired-touch-initial): Remove function.
15505 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15506 current time, and `default' to the last modification time of the
15507 current marked file (bug#6887).
15508
a514d856
JM
155092011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15510
15511 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15512 numeric argument to read-number (bug#9163).
a514d856 15513
8a7eddd7
MA
155142011-07-27 Michael Albinus <michael.albinus@gmx.de>
15515
15516 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15517 connection process, it could be nil.
15518
1ddd96f5
LL
155192011-07-27 Leo Liu <sdl.web@gmail.com>
15520
15521 Simplify url handling in rcirc-mode.
15522
15523 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15524 (rcirc-browse-url-at-mouse): Remove.
15525 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15526
b248a85d
AM
155272011-07-26 Alan Mackenzie <acm@muc.de>
15528
15529 Fontify bitfield declarations properly.
15530
15531 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15532 (c-symbol-chars): Now exported as a lang variable.
15533 (c-not-primitive-type-keywords): New lang variable.
15534
15535 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15536 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15537 parsed as a bitfield declaration.
b248a85d 15538
b796c9b7
SM
15539 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15540 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15541 (c-punctuation-in): New function.
15542 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15543 declarations properly.
15544
68575ab0
UJ
155452011-07-26 Ulf Jasper <ulf.jasper@web.de>
15546
15547 * calendar/icalendar.el (icalendar--all-events): Take care of
15548 multiple vcalendars in a single file.
b796c9b7 15549 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15550
0f0a88b9
DD
155512011-07-25 Deniz Dogan <deniz@dogan.se>
15552
15553 * image.el (insert-image): Clarifying docstring.
15554
0b3f36df
MA
155552011-07-24 Michael Albinus <michael.albinus@gmx.de>
15556
15557 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15558 `tramp-send-command-and-check' if there is no error.
15559 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15560
a9901f61
AM
155612011-07-22 Alan Mackenzie <acm@muc.de>
15562
15563 Prevent cc-langs.elc being loaded at run time.
15564
15565 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15566 cc-langs.
15567
4d61f28d 15568 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15569 "(require 'cc-langs)". Quote a form so it will evaluate at
15570 (cc-mode's) compilation time.
15571
11d074b2
MA
155722011-07-22 Michael Albinus <michael.albinus@gmx.de>
15573
15574 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15575 loading. (Bug#9114)
15576
938b94c8
MR
155772011-07-21 Martin Rudalics <rudalics@gmx.at>
15578
15579 * window.el (display-buffer-pop-up-window)
15580 (display-buffer-pop-up-side-window)
15581 (display-buffer-in-side-window): Call display-buffer-set-height
15582 and display-buffer-set-width after setting the new window's
b796c9b7 15583 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15584
bfa4f190
SS
155852011-07-20 Sam Steingold <sds@gnu.org>
15586
15587 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15588 (etags-tags-included-tables): Call `convert-standard-filename' on
15589 the file names contained in TAGS so that windows Emacs can handle
15590 TAGS files created by cygwin ctags.
15591
8ca42262
LMI
155922011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15593
15594 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15595 which apparently didn't work.
15596
5db2afd2 155972011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15598
5db2afd2
RW
15599 * proced.el (proced-send-signal): For *Marked Processes* buffer
15600 put point at beginning of buffer.
15601
92e15d10
SB
156022011-07-19 Stephen Berman <stephen.berman@gmx.net>
15603
15604 * proced.el (proced-format): Make header lines align with the text
15605 (bug#1779).
15606
1bfd59e5
LMI
156072011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15608
15609 * view.el (view-buffer): Allow running in `special' modes if we're
15610 visiting a file (bug#8615).
15611
f5aae37c
MR
156122011-07-19 Martin Rudalics <rudalics@gmx.at>
15613
15614 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15615 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15616 New functions.
f5aae37c
MR
15617 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15618 more accurately.
15619
bf2c1571
AM
156202011-07-18 Alan Mackenzie <acm@muc.de>
15621
15622 Fontify declarators properly when, e.g., a jit-lock chunk begins
15623 inside a declaration.
15624
15625 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15626
b796c9b7
SM
15627 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15628 New function.
bf2c1571
AM
15629 (c-complex-decl-matchers): Insert reference to
15630 c-font-lock-enclosing-decls.
15631
15632 * progmodes/cc-engine.el (c-backward-single-comment):
15633 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15634 to nil around calls to (forward-comment -1).
15635
4e190b80
LMI
156362011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15637
12dc863d
LMI
15638 * image.el (put-image): Doc typo fix.
15639
a762e966
LMI
15640 * progmodes/etags.el (tags-search): Doc typo fix.
15641
4e190b80
LMI
15642 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15643 password if we get errors 550 to 554.
15644
f019fb21
LMI
156452011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15646
b796c9b7 15647 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15648
81746738
LMI
15649 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15650 indentation character (bug#6380).
15651
3ee3a1b5
LMI
15652 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15653
c82f64de
LMI
15654 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15655 to clarify what the problem is (bug#4291).
15656
f019fb21
LMI
15657 * simple.el (current-kill): Clarify what
15658 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15659 (auto-fill-mode): Document `auto-fill-function' in relation to
15660 `auto-fill-mode' (bug#2470).
f019fb21 15661
0794775d
LM
156622011-07-16 Lawrence Mitchell <wence@gmx.li>
15663
15664 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15665 method if slot is read-only (bug#9035).
15666
be39b8cc
MR
156672011-07-16 Martin Rudalics <rudalics@gmx.at>
15668
b796c9b7 15669 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15670 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15671 selected before, see discussion of (Bug#8615), (Bug#6954).
15672 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15673
6ccf7859
GM
156742011-07-15 Glenn Morris <rgm@gnu.org>
15675
15676 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15677 Respect help-form.
6ccf7859 15678
87e86684
LM
156792011-07-09 Lawrence Mitchell <wence@gmx.li>
15680
15681 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15682 (gnutls-negotiate): Use it.
15683
d6066239
LMI
156842011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15685
b796c9b7
SM
15686 * net/gnutls.el (gnutls-negotiate):
15687 Upcase `gnutls-algorithm-priority'.
d6066239 15688
bd23ebc0
GM
156892011-07-15 Glenn Morris <rgm@gnu.org>
15690
c65bca65
GM
15691 * jka-compr.el (jka-compr-verbose): Move from here...
15692 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15693 Add missing :version tag.
15694 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15695
478615cc
LMI
156962011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15697
7b41decb
LMI
15698 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15699 (gnutls-negotiate): Use it.
15700
dbc44fcd
LMI
15701 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15702
06789f97
LMI
15703 * info.el (Info-beginning-of-buffer): New command.
15704 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15705 announcing `b' as the key (bug#8325).
ab896c37 15706 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15707
c39da690
LMI
15708 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15709
3aa5f34b
LMI
15710 * international/mule-cmds.el
15711 (describe-specified-language-support): Make the error message
15712 clearer (bug#8905).
15713
4bf0979f
LMI
15714 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15715
478615cc
LMI
15716 * isearch.el (isearch-barrier): Add a doc string, since it's
15717 mentioned in a function doc string (bug#8678).
15718
75c68aa1
MR
157192011-07-15 Martin Rudalics <rudalics@gmx.at>
15720
15721 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15722 buffer argument (Bug#9083) and self-identifying label argument.
15723
a7c33da2
GM
157242011-07-15 Glenn Morris <rgm@gnu.org>
15725
15726 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15727
2f5c6024
LMI
157282011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15729
15730 * man.el (Man-fontify-manpage): Fix message when formatting the
15731 man page (bug#7929).
15732
0bb23927 157332011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15734
15735 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15736 argument LRM; if non-nil, append an invisible LRM character to the
15737 buffer name.
15738 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15739 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15740 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15741 paragraph direction.
cce4b0a7 15742
621ef9ab
LMI
157432011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15744
d1583c48
LMI
15745 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15746 the man page name (bug#7929).
15747
6a57fb5f
LMI
15748 * image.el (put-image): Mention the `put-image' overlay property
15749 (bug#7834).
15750
d7956b14
LMI
15751 * scroll-bar.el (set-scroll-bar-mode): Mention that
15752 `scroll-bar-mode' lists the values (bug#7772).
15753
5b2d4a66
LMI
15754 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15755 command (bug#7729).
15756
7509a874
LMI
15757 * rect.el (apply-on-rectangle): Return the point after the last
15758 operation.
15759 (string-rectangle): Go to the point after the last operation
15760 (bug#7522).
15761
4fe74b19
LMI
15762 * printing.el (pr-toggle-region): Clarify the documentation
15763 slightly (bug#7493).
15764
b796c9b7
SM
15765 * time.el (display-time-update):
15766 Allow `display-time-mail-function' to return nil (bug#7158).
15767 Fix suggested by Detlev Zundel.
ab283561 15768
fc233c9d
LMI
15769 * vc/diff.el (diff): Clarify the order the file names are read
15770 (bug#7111).
15771
43f5740b
LMI
15772 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15773 the doc string (bug#7015).
15774
f2182a76
LMI
15775 * font-lock.el (font-lock-maximum-decoration): Mention what
15776 numeric levels mean (bug#6935).
15777
621ef9ab
LMI
15778 * startup.el (initial-buffer-choice): Don't mention the `none'
15779 selection, which is against policy.
15780
adc47434
MR
157812011-07-14 Martin Rudalics <rudalics@gmx.at>
15782
b796c9b7
SM
15783 * window.el (display-buffer-normalize-special):
15784 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15785
7e5bfb8f
EZ
157862011-07-14 Eli Zaretskii <eliz@gnu.org>
15787
15788 * subr.el (version<, version<=, version=): Mention "-CVS" and
15789 "-12345" alpha version numbers.
15790
27fa387a
CY
157912011-07-14 Chong Yidong <cyd@stupidchicken.com>
15792
15793 * bindings.el: Add advertised binding for set-mark-command
15794 (Bug#5772).
15795
8bdfa064
CY
157962011-07-14 Chong Yidong <cyd@stupidchicken.com>
15797
15798 * bindings.el (mode-line-other-buffer):
15799 * bookmark.el (bookmark-bmenu-2-window):
15800 * bs.el (bs-cycle-next, bs-cycle-previous):
15801 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15802 switch-to-buffer.
15803
15804 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15805 Delete.
8bdfa064 15806
5eba16a3
JB
158072011-07-14 Juanma Barranquero <lekktu@gmail.com>
15808
15809 * follow.el (follow-debug-message, follow-redisplay):
15810 * jka-cmpr-hook.el (with-auto-compression-mode):
15811 Fix typos in docstrings.
15812
15853710
LMI
158132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15814
a28e4607
LMI
15815 * subr.el (with-silent-modifications): Clarify somewhat what the
15816 macro inhibits (bug#6525).
15817
15853710
LMI
15818 * simple.el (eval-expression): Note what it does if called
15819 interactively (bug#6495).
15820
bee0fcef
CY
158212011-07-13 Chong Yidong <cyd@stupidchicken.com>
15822
b796c9b7
SM
15823 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15824 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15825
15826 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15827 Remove switch-to-buffer.
15828
58274504
LMI
158292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15830
bd2fcc8d
LMI
15831 * files.el (make-directory): Clarify that an error will be raised
15832 if there's an error (bug#6397).
15833
0f04b32c
LMI
15834 * startup.el (initial-buffer-choice): Add `none' as a choice
15835 (bug#6234).
15836
465c5fc8
LMI
15837 * subr.el (add-hook): Clarify section about buffer-local hooks
15838 (bug#6218).
15839
58274504
LMI
15840 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15841
bead9a43
JB
158422011-07-13 Juanma Barranquero <lekktu@gmail.com>
15843
15844 * tabify.el (untabify): Preserve the current column so that point
15845 doesn't move (bug#6032).
15846
3af98a7b
LMI
158472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15848
b796c9b7
SM
15849 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15850 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15851
6240145a
GM
158522011-07-13 Glenn Morris <rgm@gnu.org>
15853
15854 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15855 (dired-insert-directory): Give a message the first time
15856 if ls is found not to support --dired.
15857
1d8c2ccc
LMI
158582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15859
15860 * simple.el (toggle-truncate-lines): Clarify what is toggled
15861 (bug#5580). Text by Drew Adams.
15862
5fc4038e
CY
158632011-07-13 Chong Yidong <cyd@stupidchicken.com>
15864
15865 * simple.el (blink-matching-open): Make the error message from the
15866 last change less verbose.
15867
bf6012e5
DN
158682011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15869
15870 * font-lock.el (font-lock-comment-face): Use the high contrast
15871 "yellow" color for font-lock-comment-face on low color terminals
15872 using a dark background color (bug#4221).
15873
343c3b5a
LMI
158742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15875
7e9505c5
LMI
15876 * dired.el (dired-insert-set-properties): Make the doc string
15877 reflect what it does now (bug#5325).
15878
c26fdcf5
LMI
15879 * simple.el (blink-matching-open): Say that we were unable to find
15880 the match within the limit, if we're limited (bug#5122).
15881
bb388cc5
LMI
15882 * international/mule-cmds.el (prefer-coding-system): Add an
15883 example (bug#4869).
15884
343c3b5a
LMI
15885 * progmodes/etags.el (tags-search): Document `file-list-form'
15886 (bug#4731).
15887
2a517d45
LM
158882011-07-13 Lawrence Mitchell <wence@gmx.li>
15889
15890 * net/browse-url.el (browse-url-default-browser)
15891 (browse-url-browser-function): Make the default browser choice a
15892 bit more logical (bug#4300). Also clean up the doc string.
15893
b6c78ef2
JB
158942011-07-13 Juanma Barranquero <lekktu@gmail.com>
15895
15896 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15897 binary endings (bug#4440).
15898
1c4dd947
LMI
158992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15900
a2014063
LMI
15901 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15902 which can be pretty annoying (bug#8971).
15903
9c9c2d88
LMI
15904 * jka-compr.el (jka-compr-verbose): New variable, and use
15905 throughout (bug#8971).
15906
1c4dd947
LMI
15907 * info.el (Info-find-file): Fall back on the installation
15908 directory if we can't find the info node anywhere else.
15909
a1c9f41b
SO
159102011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15911
15912 * vc/vc.el (vc-revert-file):
15913 Don't set file time-stamp in the past. (Bug#5181)
15914
536f3d36
LMI
159152011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15916
7152b011
LMI
15917 * files.el (after-find-file): Give a better error message when
15918 trying to find a symlink that points to a file that doesn't exist
15919 (bug#4398).
15920
536f3d36
LMI
15921 * progmodes/cc-vars.el: Remove (probably) misleading comment
15922 (bug#4396).
15923
460c0fba
JB
159242011-07-12 Johan Bockgård <bojohan@gnu.org>
15925
15926 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15927
7a6bda45
CY
159282011-07-12 Chong Yidong <cyd@stupidchicken.com>
15929
15930 * mouse-sel.el: Hack restoring functionality, while keeping
15931 compatibility with 2010-07-03 changes to mouse selection.
15932 (mouse-sel-primary-overlay): New var.
15933 (mouse-sel-selection-alist): Use it.
15934 (mouse-sel-mode): Doc fix; remove points that are default features
15935 of mouse.el.
15936
c79598ef
JB
159372011-07-12 Johan Bockgård <bojohan@gnu.org>
15938
15939 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15940 Fix previous fix (bug#2490).
15941
ff8be6ef
RW
159422011-07-12 Roland Winkler <winkler@gnu.org>
15943
b796c9b7
SM
15944 * textmodes/bibtex.el (bibtex-initialize):
15945 Use pop-to-buffer-same-window.
ff8be6ef
RW
15946 (bibtex-search-entries): Fix interactive call.
15947
296ba3ee
LMI
159482011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15949
f5242a02 15950 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15951 Fontise bytecomp Error lines more correctly (bug#2490).
15952 Fix suggested by Johan Bockgård.
f5242a02 15953
296ba3ee
LMI
15954 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15955
15956 * dired-x.el (dired-guess-default): Use `delete-dups'.
15957
f69fd0d2
CY
159582011-07-12 Chong Yidong <cyd@stupidchicken.com>
15959
15960 * dired.el (dired-mark-prompt):
15961 * dired-aux.el (dired-read-shell-command): Doc fix.
15962
eab5dc07
LMI
159632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15964
b796c9b7
SM
15965 * mail/sendmail.el (sendmail-query-once):
15966 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15967 emacs -Q.
15968
15969 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15970
eab5dc07
LMI
15971 * cus-edit.el (custom-file): Take an optional no-error variable.
15972 (customize-save-variable): Set the variable, and give a warning if
15973 running under "emacs -q".
15974
a1e65d42
JB
159752011-07-11 Juanma Barranquero <lekktu@gmail.com>
15976
15977 * loadhist.el (unload-feature-special-hooks):
15978 Add `auto-coding-functions', `fill-nobreak-predicate' and
15979 `find-directory-functions' (bug#5327).
15980
1d52da10
LMI
159812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15982
be958f1d
LMI
15983 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15984
5bedb26c
LMI
15985 * cus-edit.el (custom-guess-name-alist): -alist variables should
15986 use the `alist' type (bug#3120). Suggested by Drew Adams.
15987
1d52da10
LMI
15988 * printing.el: Add documentation to all the `pr-toggle-' commands.
15989
cd394be1 159902011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15991
15992 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15993 backends where it makes sense (bug#2623).
15994
dcc88d8a
LMI
159952011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15996
c3de9feb
LMI
15997 * dired-x.el (dired-guess-default): Remove duplicate shell command
15998 entries (bug#2028).
8a93078b 15999 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16000 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16001
dcc88d8a
LMI
16002 * subr.el (remove-duplicates): New conveniency function.
16003
505e3645
LMI
160042011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16005
16006 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16007 (bug#1526).
16008
160092011-07-10 Martin Rudalics <rudalics@gmx.at>
16010
16011 * window.el (display-buffer-normalize-default): Don't invert
16012 meaning of even-window-heights. Reported by Eli Zaretskii
16013 <eliz@gnu.org>.
16014
455e4fa1
BR
160152011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16016
16017 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16018
8e0bc3e9
CY
160192011-07-10 Chong Yidong <cyd@stupidchicken.com>
16020
16021 * window.el (display-buffer): Fix arguments to
16022 display-buffer-reuse-window in last change.
16023
fa7c3228
CY
16024 * faces.el (link): Use a less saturated blue on light backgrounds.
16025
16026 * startup.el (fancy-startup-text, fancy-about-text)
16027 (fancy-startup-tail): Use font-lock faces, for background safety.
16028
c0a7f300
BN
160292011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16030
b796c9b7
SM
16031 * emulation/viper-cmd.el (viper-change-state-to-vi):
16032 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16033
4dc2a129
MR
160342011-07-09 Martin Rudalics <rudalics@gmx.at>
16035
16036 * window.el (display-buffer-default-specifiers): Remove.
16037 (display-buffer-macro-specifiers): Remove default specifiers.
16038 (display-buffer-alist): Default to nil.
b796c9b7 16039 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16040 (display-buffer-pop-up-window): Allow splitting internal
16041 windows. Check whether a live window was created.
16042 (display-buffer-other-window-means-other-frame)
16043 (display-buffer-normalize-arguments): Rename to
16044 display-buffer-normalize-argument and rewrite. Set the
16045 other-window specifier.
16046 (display-buffer-normalize-special): New function.
16047 (display-buffer-normalize-options): Rename to
16048 display-buffer-normalize-default and rewrite.
16049 (display-buffer-normalize-options-inhibit): Remove.
16050 (display-buffer-normalize-specifiers): Rewrite.
16051 (display-buffer): Process other-window specifier and call
16052 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16053 more faithfully.
b796c9b7 16054 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16055 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16056 (display-buffer-in-window, display-buffer-alist-set):
16057 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16058 <tassilo@member.fsf.org>.
16059
2d43b8c9
LL
160602011-07-09 Leo Liu <sdl.web@gmail.com>
16061
16062 * register.el (insert-register): Restore accidental change on
16063 2011-06-26. (Bug#9028)
16064
7f9b7c53
GM
160652011-07-09 Glenn Morris <rgm@gnu.org>
16066
16067 * subr.el (remq): Handle the empty list. (Bug#9024)
16068
f042cfd8
AS
160692011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16070
16071 * mail/sendmail.el (send-mail-function): No longer delay custom
16072 initialization.
16073 * custom.el (custom-initialize-delay): Doc fix.
16074
856b2f11
SM
160752011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16076
16077 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16078
afae1d68
MA
160792011-07-08 Michael Albinus <michael.albinus@gmx.de>
16080
16081 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16082 human-friendly prompt.
16083
0757af94
SM
160842011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16085
16086 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16087 provided by a particular plugin.
16088
d760b731
LMI
160892011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16090
16091 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16092 save customizations (with "emacs -Q"), just set the variable
16093 instead of erroring out.
16094
16095 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16096
cd79ce90
JL
160972011-07-08 Juri Linkov <juri@jurta.org>
16098
16099 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16100 (archive-zip-update-case): Use 7z if found by `executable-find'.
16101 The order of searching the available programs is the same as in
16102 `archive-zip-extract' (bug#8968).
16103
14cc04aa
CY
161042011-07-07 Chong Yidong <cyd@stupidchicken.com>
16105
16106 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16107 (menu-bar-options-menu): Tweak descriptions.
16108
0a1848ec
LMI
161092011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16110
16111 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16112 menu items into verb phrases (bug#1421). Also refill to fit under
16113 80 columns.
16114
f5bd0689
CY
161152011-07-07 Chong Yidong <cyd@stupidchicken.com>
16116
538e85c6
CY
16117 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16118 (Info-read-node-name): Doc fix (Bug#1084).
16119
f5bd0689
CY
16120 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16121 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16122 (end-of-sexp, beginning-of-sexp)
16123 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16124 (forward-symbol, forward-same-syntax, word-at-point)
16125 (sentence-at-point): Doc fix (Bug#1144).
16126
56ec5115
LMI
161272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16128
f3f8e37f
LMI
16129 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16130 should cover it (bug#1281).
16131
0757af94 16132 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16133
e9fce1ac 16134 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16135 negotiation fails, then possibly try again with a non-encrypted
16136 connection (bug#9017).
16137
56ec5115
LMI
16138 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16139 be used.
16140
c2f9aec8
RS
161412011-07-07 Richard Stallman <rms@gnu.org>
16142
16143 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16144 property, and handle its changed format.
16145 Look for the correct line number.
16146 Use file's line contents (but not past first =) to find
16147 correct line in message.
16148
ef7b981d 161492011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16150
16151 * international/characters.el (build-unicode-category-table):
16152 Delete it.
0757af94 16153 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16154
0757af94 16155 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16156 to src/chartab.c.
16157 (get-char-code-property): Call unicode-property-table-internal to
16158 load a file. Call get-unicode-property-internal where necessary.
16159 (put-char-code-property): Call unicode-property-table-internal to
16160 load a file. Call put-unicode-property-internal where necessary.
16161 put-unicode-property-internal where necessary.
0757af94
SM
16162 (char-code-property-description):
16163 Call unicode-property-table-internal to load a file.
c805dec0
KH
16164
16165 * international/charprop.el:
16166 * international/uni-bidi.el:
16167 * international/uni-category.el:
16168 * international/uni-combining.el:
16169 * international/uni-comment.el:
16170 * international/uni-decimal.el:
16171 * international/uni-decomposition.el:
16172 * international/uni-digit.el:
16173 * international/uni-lowercase.el:
16174 * international/uni-mirrored.el:
16175 * international/uni-name.el:
16176 * international/uni-numeric.el:
16177 * international/uni-old-name.el:
16178 * international/uni-titlecase.el:
16179 * international/uni-uppercase.el: Regenerate.
16180
16181 * loadup.el: Load international/charprop.el before
16182 international/characters.
16183
e14b388a
CY
161842011-07-07 Chong Yidong <cyd@stupidchicken.com>
16185
16186 * window.el (next-buffer, previous-buffer): Signal an error if
16187 called from a minibuffer window.
16188
16189 * bindings.el: Revert 2011-07-04 change.
16190
354cf0ba
RS
161912011-07-06 Richard Stallman <rms@gnu.org>
16192
16193 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16194 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16195 Treat markers like ints.
16196 (rmail-mime-entity): Doc fix.
16197
a48868a7
LMI
161982011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16199
4906cd3d
LMI
16200 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16201 defcustom again for backwards compatibility.
16202
e0457abe
LMI
16203 * simple.el (shell-command-on-region): Fill.
16204
d67f7e1f
LMI
16205 * dired-aux.el (dired-kill-line): Add a doc string.
16206
fe204702
LMI
16207 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16208 to "\\sw\\|\\s_" (bug#358).
16209
a48868a7
LMI
16210 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16211 (dired-unmark-backward): Ditto.
16212 (dired-flag-backup-files): Ditto.
16213
16214 * dired-x.el (dired-mark-sexp): Ditto.
16215
aa8a705c
RS
162162011-07-06 Richard Stallman <rms@gnu.org>
16217
16218 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16219 (rmail-mime-entity): New arg TRUNCATED.
16220 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16221 New functions.
16222 (rmail-mime-save): Warn if entity is truncated.
16223 (rmail-mime-toggle-hidden): Likewise, for showing.
16224 (rmail-mime-process-multipart): Record when an entity is truncated.
16225
a9a936b9
RS
16226 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16227 if ENTITY is a string.
16228
1f2b92cb
LMI
162292011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16230
f4f73198 16231 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16232 of faces when `M-C-x'-ing their definitions (bug#8378).
16233 Also clean up the code slightly.
f4f73198 16234
12b16734 16235 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16236 because that makes the colors go away.
12b16734 16237
f0691d22
LMI
16238 * mail/sendmail.el (send-mail-function): Change the default to
16239 `sendmail-query-once'.
9e87df06 16240 (sendmail-query-once): Add an autoload cookie.
f0691d22 16241
1f2b92cb
LMI
16242 * net/network-stream.el (network-stream-open-starttls): Try using
16243 a plain connection even if the server offered STARTTLS, and we
16244 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16245 capability. This should make smtpmail.el work in slightly more
16246 configurations.
16247
1cdd2a1b
MA
162482011-07-06 Michael Albinus <michael.albinus@gmx.de>
16249
16250 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16251 New defun.
16252 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16253
fbcc67e2
MM
162542011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16255
16256 * progmodes/sql.el: Version 3.0
0757af94 16257 (sql-product-alist): Add product :completion-object,
fbcc67e2 16258 :completion-column, and :statement attributes.
0757af94 16259 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16260 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16261 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16262 ansi keywords.
16263 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 16264 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
16265 (sql-oracle-show-reserved-words): New function for development.
16266 (sql-product-font-lock): Simplify for source code buffers.
16267 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16268 New functions.
16269 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
16270 (sql-mode-map): Add statement movement functions.
16271 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16272 New variable.
fbcc67e2
MM
16273 (sql-statement-regexp, sql-beginning-of-statement)
16274 (sql-end-of-statement, sql-signum): New functions.
0757af94 16275 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
16276 (sql-show-sqli-buffer): Bug fix.
16277 (sql-interactive-mode): Store connection data as buffer local.
0757af94 16278 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
16279 with sql-interactive-mode.
16280 (sql-save-connection): Save buffer local settings.
0757af94 16281 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
16282 (sql-product-interactive): Bug fix.
16283 (sql-preoutput-hold): New variable.
16284 (sql-interactive-remove-continuation-prompt): Bug fixes.
16285 (sql-debug-redirect): New variable.
16286 (sql-str-literal): New function.
16287 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 16288 Redesign.
fbcc67e2
MM
16289 (sql-oracle-save-settings, sql-oracle-restore-settings)
16290 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16291 (sql-completion-object, sql-completion-column)
16292 (sql-completion-sqlbuf): New variables.
16293 (sql-build-completions-1, sql-build-completions)
16294 (sql-try-completion): New functions.
16295 (sql-read-table-name): Use them.
16296 (sql-contains-names): New buffer local variable.
16297 (sql-list-all, sql-list-table): Use it.
16298 (sql-oracle-completion-types): New variable.
16299 (sql-oracle-completion-object, sql-sqlite-completion-object)
16300 (sql-postgres-completion-object): New functions.
16301
d4eaeab1
GM
163022011-07-06 Glenn Morris <rgm@gnu.org>
16303
16304 * window.el (pop-to-buffer): Doc fix.
16305
322b7dab 163062011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16307
16308 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16309
322b7dab 163102011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16311
322b7dab 16312 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16313
322b7dab 16314 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16315
605dd5bf
CY
163162011-07-05 Chong Yidong <cyd@stupidchicken.com>
16317
16318 * button.el (button): Inherit from link face. Suggested by Dan
16319 Nicolaescu.
16320
7dbfa719
SM
163212011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16322
3db614b0
SM
16323 * progmodes/gdb-mi.el: Fit in 80 columns.
16324 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16325 switch-to-buffer.
16326
7dbfa719
SM
16327 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16328 if imenu is simply not configured (bug#8941).
16329
919d884a
KM
163302011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16331
16332 * allout.el (allout-post-undo-hook): New allout outline-change
16333 event hook to signal undo activity.
16334 (allout-post-command-business): Run allout-post-undo-hook if an
16335 undo just occurred.
7dbfa719
SM
16336 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16337 * allout-widgets.el (allout-widgets-after-undo-function):
16338 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16339 in the vicinity of an undo.
16340 (allout-widgets-mode): Include allout-widgets-after-undo-function
16341 on the new allout-post-undo-hook.
16342
450a0f09
SM
163432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16344
16345 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16346 Let define-derived-mode define it.
16347 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16348 cycles of abbrev-table inheritance (bug#8998).
16349
2de69e00
RW
163502011-07-05 Roland Winkler <winkler@gnu.org>
16351
16352 * textmodes/bibtex.el: Add support for biblatex.
16353 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16354 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16355 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16356 (bibtex-entry-alist, bibtex-field-alist): New variables.
16357 (bibtex-entry-field-alist): Obsolete alias for
16358 bibtex-BibTeX-entry-alist.
16359 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16360 (bibtex-set-dialect): New command.
16361 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16362 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16363 Bind via bibtex-set-dialect.
2de69e00
RW
16364 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16365 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16366 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16367 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16368 Define via bibtex-set-dialect.
450a0f09
SM
16369 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16370 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16371 (bibtex-vec-push, bibtex-vec-incr): New functions.
16372 (bibtex-format-entry, bibtex-field-list)
16373 (bibtex-print-help-message, bibtex-validate)
16374 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16375
2dcdbdd9
SM
163762011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16377
16378 * progmodes/compile.el (compilation-goto-locus):
16379 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16380 * bs.el (bs-cycle-next, bs-cycle-previous):
16381 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16382 * bindings.el (mode-line-other-buffer):
16383 * autoinsert.el (auto-insert):
16384 * arc-mode.el (archive-extract):
16385 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16386
b27640fe
JB
163872011-07-05 Juanma Barranquero <lekktu@gmail.com>
16388
16389 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16390 Fix check of `emacs-lock-unlockable-modes'.
16391 Coerce true values of `emacs-lock--try-unlocking' to t.
16392
53bbe3ad
JB
163932011-07-05 Juanma Barranquero <lekktu@gmail.com>
16394
16395 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16396 * emacs-lock.el: New file.
16397
1d3cdbc7
JD
163982011-07-05 Julien Danjou <julien@danjou.info>
16399
16400 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16401 than `boundp' to check if face is set.
16402
9173deec
JB
164032011-07-05 Juanma Barranquero <lekktu@gmail.com>
16404
16405 * register.el (registerv-make):
16406 * window.el (window-min-height): Fix typos in docstrings.
16407
869795d6
JD
164082011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16409
9173deec 16410 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16411 Update doc string.
16412
b768cdcd
JB
164132011-07-04 Juanma Barranquero <lekktu@gmail.com>
16414
16415 * server.el (server-execute): Catch quit and call
16416 `server-return-error' to pass the error back to emacsclient and
16417 close the connection (bug#8942).
16418
13aa217b
KM
164192011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16420
16421 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16422 insecure exception for current topic. Also note that auto-saves
16423 are handled differently.
16424
5d3385a0 16425 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16426 State variables for tracking auto-save inhibition situation.
16427
16428 (allout-write-contents-hook-handler): Rename from
16429 'allout-write-file-hook-handler', and describe how it depends on
16430 write-contents-functions sensitivity to non-nil value to prevent
16431 file write.
16432
16433 (allout-auto-save-hook-handler): Remove. auto-save does not check
16434 this in individual buffers, only in the starting buffer, so this
16435 is not the right way for us to inhibit auto-save in a buffer
16436 according to its condition.
16437
16438 (allout-mode): Use new allout-write-contents-hook-handler, and
16439 only with write-contents-functions. Remove auto-save provisions -
16440 they're implemented elsewhere.
16441
16442 (allout-before-change-handler): If undo is in progress, note that
16443 for attention of allout-post-command-business.
16444
16445 (allout-post-command-business): If the command we're following was
16446 an undo, check for change in the status of encrypted items and
16447 adjust auto-save inhibitions accordingly.
16448
16449 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16450 according to whether there are or aren't any plain-text topics
16451 pending encryption.
16452
2dcdbdd9 16453 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16454 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16455 if there are plain-text topics pending encryption.
13aa217b
KM
16456
16457 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16458 buffer-saved-size and some allout state to not inhibit auto-saves
16459 if there are no longer any plain-text topics pending encryption.
16460
0757af94
SM
16461 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16462 No longer provide for exemption of the current topic.
13aa217b 16463
ac89b32c
JL
164642011-07-04 Juri Linkov <juri@jurta.org>
16465
16466 Add 7z operations to delete and save changed members (bug#8968).
16467 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16468 New defcustoms.
16469 (archive-7z-write-file-member): New function.
16470 (archive-7z-summarize): Fix the number of dashes in the
16471 listing output.
16472
8fa39615
SM
164732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16474
16475 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16476 (bug#8958).
16477
2f11b3f1
CY
164782011-07-04 Chong Yidong <cyd@stupidchicken.com>
16479
d66fef2b
CY
16480 * bindings.el: Ignore next-buffer and previous-buffer in
16481 minibuffer-local-map.
16482
2f11b3f1
CY
16483 * font-lock.el (font-lock-builtin-face): Change light background
16484 color to dark slate blue (Bug#6693).
16485
f932a347
WD
164862011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16487
16488 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16489
c8af70e1
SM
164902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16491
16492 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16493 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16494 Add switch-to-buffer.
16495
f158badc
LMI
164962011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16497
16498 * isearch.el (isearch-search-fun-function): Clarify further the
16499 meaning of the function returned.
16500
6d95bd46
MA
165012011-07-04 Michael Albinus <michael.albinus@gmx.de>
16502
16503 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16504
16505 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16506 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16507 Use it.
16508 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16509 `tramp-default-remote-path' does not exist.
16510 (tramp-send-command-and-read): New optional argument NOERROR.
16511 (tramp-open-connection-setup-interactive-shell)
16512 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16513 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16514 (tramp-process-sentinel): Flush also process' connection property.
16515 (tramp-sh-handle-start-file-process): Do not set process
16516 sentinel. It is done now ...
16517 (tramp-maybe-open-connection): ... here. (Bug#8929)
16518
909e6b67
MK
165192011-07-04 MON KEY <monkey@sandpframing.com>
16520
16521 * play/animate.el (animate-string): Doc fixes and allow changing
16522 the buffer name (bug#5417).
16523
165242011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16525
c8af70e1 16526 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16527
f34755dc
PE
165282011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16529
396cec72
PE
16530 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16531 This is simpler and helps future-proof the code.
16532 (timer-until): Use time-subtract and float-time.
08235028 16533 (timer--time-less-p): Use time-less-p.
f34755dc 16534
56e6cc31
JB
165352011-07-04 Juanma Barranquero <lekktu@gmail.com>
16536
3abb79e5
JB
16537 * type-break.el (timep): Use the value of `float-time' to avoid a
16538 byte-compiler warning.
16539
56e6cc31
JB
16540 * server.el (server-eval-and-print): Return any result, even nil.
16541
7b9430b4
PE
165422011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16543
16544 * type-break.el: Accept time formats that the builtins accept.
16545 (timep, type-break-time-difference): Accept any format that
16546 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16547 This is simpler and helps future-proof the code.
16548 (type-break-time-difference): Round rather than ignoring
16549 subseconds components.
16550
3034e9e7
LMI
165512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16552
16553 * info.el (Info-apropos-matches): Make non-interactive, since it
16554 doesn't seem to do anything useful as a command (bug#8829).
16555
1485f4c0
CY
165562011-07-03 Chong Yidong <cyd@stupidchicken.com>
16557
16558 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16559 Move from faces.el.
1485f4c0
CY
16560 (frame-default-terminal-background): New function.
16561
16562 * custom.el (custom-push-theme): Don't record faces in `changed'
16563 theme; this doesn't work correctly for per-frame face settings.
16564 (disable-theme): Use face-set-after-frame-default to reset faces.
16565 (custom--frame-color-default): New function.
16566
9fa3dd45
LMI
165672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16568
c8af70e1 16569 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16570 (bug#8769).
16571
6cbbc20c
KR
165722011-03-29 Kevin Ryde <user42@zip.com.au>
16573
16574 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16575 `perl-Test2' extend to match possible "fail #N" rep count
16576 (bug#8377).
16577
c7f98048
LMI
165782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16579
65676592
LMI
16580 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16581 `smtpmail-via-smtp' now returns the error instead of nil.
16582
c7f98048
LMI
16583 * isearch.el (isearch-search-fun-function): Clarify the doc string
16584 (bug#8101).
16585
56e6cc31 165862011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16587
16588 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16589 unnecessary spaces (bug#8987).
16590
2b216704
LMI
165912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16592
16593 * net/network-stream.el (open-network-stream): Use the
16594 :end-of-capability command thoughout.
16595
165962011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16597
16598 * net/network-stream.el (open-network-stream): Add the
16599 :end-of-capability command parameter, used by pop3.el.
16600
36adf6ce
LMI
166012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16602
1ca0da0e
LMI
16603 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16604
fc00f69c
LMI
16605 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16606 for list)" (bug#6475).
16607
28fd8759 16608 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16609 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16610 an error (bug#6297).
16611
0dd8b6da
LMI
16612 * man.el (Man-reference-regexp): Allow matching possible
16613 word-wrapped references (bug#6289).
16614
ce1438d6
LMI
16615 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16616 for consistency with the other vc buffers (bug#6197).
16617 (vc-checkin): Ditto.
16618
16619 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16620
36adf6ce
LMI
16621 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16622
e83cc1f7
LMI
166232011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16624
8a20ca4c
LMI
16625 * custom.el (defcustom): Clarify that :set is only used in the
16626 Customize user interface (bug#6089).
16627
83319045
LMI
16628 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16629 associated with a file, refuse to run instead of erroring out
16630 (bug#6084).
16631
a8392169
LMI
16632 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16633 the doc string, since it appears that using `fill-column' always
16634 controls the width (bug#7845).
16635
e83cc1f7
LMI
16636 * simple.el (shell-command-on-region): Say where the error output
16637 went if `shell-command-default-error-buffer' is set (bug#6857).
16638
e47ca23b
KM
166392011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16640
16641 * allout.el (allout-yank-processing): Adjust cursor position for
16642 backwards-deleted space.
16643
16644 (allout-rebullet-heading): Register changes with
16645 allout-exposure-changed-hook, so the modified topic is properly
16646 decorated.
16647
5cf56143
LMI
166482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16649
08549772
LMI
16650 * minibuffer.el (completion-in-region): Document PREDICATE
16651 (bug#7136).
16652
48e96771
LMI
16653 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16654 of keyword/argument pairs (bug#6904).
16655
c8af70e1
SM
16656 * replace.el (multi-occur):
16657 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16658
e17d05e2
LMI
166592011-07-02 Drew Adams <drew.adams@oracle.com>
16660
16661 * dired.el (dired-mark-if): Make the message about whether it's
16662 marking or unmarking clearer (bug#8523).
16663
063b0e45
LMI
166642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16665
16666 * disp-table.el (display-table-print-array): New function.
16667 (describe-display-table): Use it to print the vectors more pretty
16668 (Bug#8859).
16669
28545e04
MR
166702011-07-02 Martin Rudalics <rudalics@gmx.at>
16671
16672 * window.el (window-state-get-1): Don't assign clone numbers.
16673 Add clone-of item to list of window parameters.
16674 (window-state-put-2): Don't process clone numbers.
16675 (display-buffer-alist): Fix doc-string.
16676
3349e122
SM
166772011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16678
16679 * subr.el (remq): Don't allocate if it's not needed.
16680 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16681 (keymap--merge-bindings): New functions.
16682 (keymap-canonicalize): Use them to refine the canonicalization.
16683 * minibuffer.el (minibuffer-local-completion-map)
16684 (minibuffer-local-must-match-map): Move initialization from C.
16685 (minibuffer-local-filename-completion-map): Move initialization from C;
16686 don't inherit from anything here.
16687 (minibuffer-local-filename-must-match-map): Make obsolete.
16688 (completing-read-default): Use make-composed-keymap to combine
16689 minibuffer-local-filename-completion-map with either
16690 minibuffer-local-must-match-map or
16691 minibuffer-local-filename-completion-map.
16692
d224ac83
GM
166932011-07-01 Glenn Morris <rgm@gnu.org>
16694
3de63bf8
GM
16695 * type-break.el (type-break-time-sum): Use dolist.
16696
d224ac83
GM
16697 * textmodes/flyspell.el (flyspell-word-search-backward):
16698 Replace CL function.
16699
1a1e3f32
SM
167002011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16701
fe3f64d5
SM
16702 * mouse.el (mouse--strip-first-event): New function.
16703 (function-key-map): Use it to map fringe clicks to normal clicks
16704 by default.
16705
eb604e34
SM
16706 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16707 (vc-bzr-revision-completion-table): Add support for annotate and date.
16708
1a1e3f32
SM
16709 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16710 inherit from parent.
16711
5bd35902
LMI
167122011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16713
ace6c69c 16714 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16715 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16716
191e2bed
LMI
16717 * dired.el (dired-mode): Fix up the doc string as suggested by
16718 Drew Adams (bug#8817).
16719
5bd35902
LMI
16720 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16721 cookie, since the manual says that it should be possible to add
16722 this function to `find-file-hook' (bug#8709).
16723
eee8207a
TZ
167242011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16725
16726 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16727 here. Noted Ted Zlatanov as the maintainer.
16728 (cfengine-common-settings, cfengine-common-syntax): New functions
16729 to set up common things between `cfengine-mode' and
16730 `cfengine3-mode'.
16731 (cfengine3-mode): New mode.
16732 (cfengine3-defuns cfengine3-defuns-regex
16733 (cfengine3-class-selector-regex cfengine3-category-regex)
16734 (cfengine3-vartypes cfengine3-font-lock-keywords)
16735 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16736 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16737
36b148cf
MA
167382011-07-01 Michael Albinus <michael.albinus@gmx.de>
16739
16740 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16741
16742 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16743
0bf4ba9a
MR
167442011-07-01 Martin Rudalics <rudalics@gmx.at>
16745
16746 * window.el (same-window-buffer-names, same-window-regexps)
16747 (same-window-p, special-display-frame-alist)
16748 (special-display-popup-frame, special-display-function)
16749 (special-display-buffer-names, special-display-regexps)
16750 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16751 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16752 (split-window-preferred-function, split-height-threshold)
16753 (split-width-threshold, even-window-heights)
16754 (display-buffer-mark-dedicated, window-splittable-p)
16755 (split-window-sensibly, window-safely-shrinkable-p):
16756 Un-obsolete.
16757 (display-buffer): Don't spread args with function specifier
16758 because special-display-popup-frame won't like it.
16759
35837f51
PE
167602011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16761
d0672f86
PE
16762 Time-stamp simplifications and fixes.
16763 These improve accuracy slightly, and future-proof the code
16764 against some potential changes to current-time format.
16765
b9444d97
PE
16766 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16767 by using time-since and float-time.
16768
0ef923dc
PE
16769 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16770 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16771 + NNN microseconds".
16772
2f81380d
PE
16773 * type-break.el (type-break-time-sum): Rewrite using time-add.
16774
845b5c3e
PE
16775 * play/hanoi.el (hanoi-current-time-float): Remove.
16776 All uses replaced by float-time.
16777
ee6f1be0
PE
16778 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16779 This yields a more-accurate answer.
16780 (rng-time-to-float): Remove; no longer needed.
16781
fe955043
PE
16782 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16783
5777162a
PE
16784 * calendar/timeclock.el (timeclock-seconds-to-time):
16785 Defalias to seconds-to-time, since they're the same thing.
16786
3103f8b6 16787 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16788 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16789 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16790
0e61a35f
SM
167912011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16792
16793 * window.el (bury-buffer): Don't iconify the only frame.
16794 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16795 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16796
ddd63a1e
CY
167972011-07-01 Chong Yidong <cyd@stupidchicken.com>
16798
0e61a35f
SM
16799 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16800 Add mouse-yank-primary.
ddd63a1e 16801
055f4923
TZ
168022011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16803
16804 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16805
6a2fb145
SM
168062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16807
16808 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16809 (find-library-name): Use it to find relative load names when provided
16810 absolute file name (bug#8803).
16811
fd4983f2
LMI
168122011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16813
887d14ad
LMI
16814 * textmodes/flyspell.el (flyspell-word): Consider words that
16815 differ only in case as potential doublons (bug#5687).
16816
c53dc7fc
LMI
16817 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16818 Remove two rather uninteresting debugging-like messages to make
16819 debbugs.el more silent.
16820
fd4983f2
LMI
16821 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16822 a password-like phrase.
16823
7a71b18d 168242011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16825
16826 * progmodes/cc-guess.el: New file.
16827
6a2fb145 16828 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16829
16830 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16831 derived from `c-basic-common-init'.
16832
16833 * progmodes/cc-mode.el (top-level): Require cc-guess.
16834 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16835
1fa280a3
LM
168362011-06-30 Lawrence Mitchell <wence@gmx.li>
16837
16838 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16839
e6597158
AM
168402011-06-30 Alan Mackenzie <acm@muc.de>
16841
1fa280a3
LM
16842 * progmodes/cc-engine.el (c-guess-continued-construct):
16843 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16844 lock is disabled. Name this case as "CASE G".
16845
68ba37fb
KM
168462011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16847
16848 * allout.el (allout-yank-processing): Fix injection of extra space
16849 between bullet and non-whitespace character in first topic when
16850 pasting, ensuring that the actual spacing in the pasted topic
16851 following the bullet char is preserved. This extra space was
16852 causing pasted encrypted topics to get a decrypted status even
16853 when the content was actually still encrypted. Now the decryption
16854 status from before the paste is preserved.
16855
16856 (allout-flag-region): Set all allout overlays so they evaporate
16857 when reduced to zero length (evanescent), to prevent overlay
16858 leakage.
16859
887a0b34
GM
168602011-06-30 Glenn Morris <rgm@gnu.org>
16861
94b9acce
GM
16862 * w32-fns.el (w32-charset-info-alist): Declare.
16863
1d9b46d4
GM
16864 * find-dired.el (find-grep-options): Simplify.
16865
cc232200
GM
16866 * term/ns-win.el (ns-set-resource): Declare.
16867
28e77c46
GM
16868 * ses.el (row, col): Declare dynamic variables honestly.
16869
887a0b34
GM
16870 * textmodes/reftex-parse.el (index-tags): Declare.
16871
658d8eb8
CY
168722011-06-30 Chong Yidong <cyd@stupidchicken.com>
16873
16874 * cus-edit.el (customize-push-and-save): New function.
16875
16876 * files.el (hack-local-variables-confirm): Use it.
16877
1fa280a3
LM
16878 * custom.el (load-theme): New arg NO-CONFIRM.
16879 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16880 (custom-enabled-themes): Doc fix.
16881
16882 * cus-theme.el (customize-create-theme)
16883 (custom-theme-merge-theme): Callers to load-theme changed.
16884
bb617717
LMI
168852011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16886
d61bdd5d
LMI
16887 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16888 short URLs have at least one dot in them (bug #7614).
16889
bb617717
LMI
16890 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16891 nil, because using a pty is apparently too slow (bug #895).
16892
2f31f37a
LMI
168932011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16894
16895 * mail/sendmail.el (sendmail-query-once): New function.
16896 (sendmail-query-once-function): New variable.
16897
3076b24e
GM
168982011-06-29 Glenn Morris <rgm@gnu.org>
16899
faf2a174
GM
16900 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16901
3076b24e
GM
16902 * ses.el (top-level): Require cl when compiling.
16903 (ses-set-localvars): Fix error statement.
16904 Call it at compile time to silence a storm of warnings.
16905
5386012d
MR
169062011-06-29 Martin Rudalics <rudalics@gmx.at>
16907
16908 * window.el (normalize-live-buffer): Rename to
16909 window-normalize-buffer.
16910 (normalize-live-frame): Rename to window-normalize-frame.
16911 (normalize-any-window): Rename to window-normalize-any-window.
16912 (normalize-live-window): Rename to window-normalize-live-window.
16913 (make-window-atom): Rename to window-make-atom.
16914 (window-resize-reset): Rename to window--resize-reset.
16915 (window-resize-reset-1): Rename to window--resize-reset-1.
16916 (resize-mini-window): Rename to window--resize-mini-window.
16917 (resize-subwindows-skip-p): Rename to
16918 window--resize-subwindows-skip-p.
16919 (resize-subwindows-normal): Rename to
16920 window--resize-subwindows-normal.
16921 (resize-subwindows): Rename to window--resize-subwindows.
16922 (resize-other-windows): Rename to window--resize-siblings.
16923 (resize-this-window): Rename to window--resize-this-window.
16924 (resize-root-window): Rename to window--resize-root-window.
16925 (resize-root-window-vertically): Rename to
16926 window--resize-root-window-vertically.
16927 (normalize-buffer-to-display): Rename to
16928 window-normalize-buffer-to-display.
16929 (normalize-buffer-to-switch-to): Rename to
16930 window-normalize-buffer-to-switch-to.
16931 Correspondingly update all callers of the functions listed
16932 above.
16933 (display-buffer-alist, display-buffer-normalize-arguments)
16934 (display-buffer-normalize-options, display-buffer)
16935 (display-buffer-alist-set): Use "function" instead of
16936 "fun-with-args".
16937
1176868d
CY
169382011-06-28 Chong Yidong <cyd@stupidchicken.com>
16939
16940 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16941 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16942 debbugs.gnu.org. Mention acknowledgment email.
16943
20a7a65f
LMI
169442011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16945
16946 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16947 buffer multibyteness, since it shouldn't matter.
16948
5f45cca5
MR
169492011-06-28 Martin Rudalics <rudalics@gmx.at>
16950
16951 * window.el (display-buffer-in-side-window): Handle dedicated
16952 windows as in display-buffer-reuse-window.
16953 (display-buffer-normalize-alist): Use value of override
16954 specifier.
16955 (display-buffer-normalize-specifiers): Use value of
16956 other-window-means-other-frame specifier.
16957 (display-buffer-alist): Rewrite some texts in widgets.
16958 (display-buffer): Spread arguments when calling function
16959 specified by fun-with-args.
16960
ad85fe1f
DD
169612011-06-28 Deniz Dogan <deniz@dogan.se>
16962
1fa280a3
LM
16963 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16964 Unnest `let'.
da68c4c8 16965
ad85fe1f
DD
16966 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16967 selectors (Bug#5732).
ec49bd31 16968 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16969
a08cc025
JA
169702011-06-27 Jari Aalto <jari.aalto@cante.net>
16971
16972 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16973 (eshell-ls-date-format): New defcustom.
16974 (eshell-ls-file): Use it.
16975
e2b551c5
SM
169762011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16977
16978 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16979
8982b231
KY
169802011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16981
16982 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16983 (ange-ftp-make-tmp-name): New arg.
16984 (ange-ftp-file-local-copy): Use it.
16985
36c9fa27
J
169862011-06-27 Jambunathan K <kjambunathan@gmail.com>
16987
16988 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16989 no-conversion (Bug#8870).
16990
d68443dc
MR
169912011-06-27 Martin Rudalics <rudalics@gmx.at>
16992
16993 * window.el (window-right, window-left, window-child)
16994 (window-child-count, window-last-child)
16995 (window-iso-combination-p, walk-window-tree-1)
16996 (window-atom-check-1, window-tree-1, delete-window)
16997 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16998 new naming conventions - window-vchild, window-hchild,
16999 window-next and window-prev are now called window-top-child,
17000 window-left-child, window-next-sibling and window-prev-sibling
17001 respectively.
d615d6d2
MR
17002 (resize-window-reset): Rename to window-resize-reset.
17003 (resize-window-reset-1): Rename to window-resize-reset-1.
17004 (resize-window): Rename to window-resize.
17005 (window-min-height, window-min-width)
17006 (resize-mini-window, resize-this-window, resize-root-window)
17007 (resize-root-window-vertically, adjust-window-trailing-edge)
17008 (enlarge-window, shrink-window, maximize-window)
17009 (minimize-window, delete-window, quit-restore-window)
17010 (split-window, balance-windows, balance-windows-area-adjust)
17011 (balance-windows-area, window-state-put-2)
17012 (display-buffer-even-window-sizes, display-buffer-set-height)
17013 (display-buffer-set-width, set-window-text-height)
17014 (fit-window-to-buffer): Rename all "resize-window" prefixed
17015 calls to use the "window-resize" prefix convention.
17016 (display-buffer-alist): Fix symbol for label specifier.
17017 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17018 corresponding specifier.
17019 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17020
b6458526
VB
170212011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17022
17023 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17024 convention.
17025 (ses-call-printer): Does not pass an empty string to formatter when the
17026 cell is empty to keep from barking printer Calc math-format-value.
17027
d31fd9ac
RS
170282011-06-27 Richard Stallman <rms@gnu.org>
17029
43d5bf84
RS
17030 * battery.el (battery-mode-line-limit): New variable.
17031 (battery-update): Handle it.
17032
d31fd9ac
RS
17033 * mail/rmailmm.el (rmail-mime-process-multipart):
17034 Handle truncated messages.
17035
819a6054
GM
170362011-06-27 Glenn Morris <rgm@gnu.org>
17037
17038 * progmodes/flymake.el (flymake-err-line-patterns):
17039 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17040
cedc73f2
VB
170412011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17042
819a6054 17043 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17044 (ses--clean-!, ses--clean-_): New functions.
17045 (ses-range): Add configurability of readout order, and conversion
17046 to Calc vector.
17047
5e5d49b6
VB
17048 * ses.el (ses-repair-cell-reference-all): New function.
17049 (ses-cell-symbol): Set macro as safe, so that it can be used in
17050 formulas.
17051
56e6cc31 17052 * ses.el: Update cycle detection algorithm.
90ca8b49 17053 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17054 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17055 (ses-set-localvars): New function.
17056 (ses-make-cell): Add property-list as a cell element.
17057 (ses-cell-property-get-fun, ses-cell-property-get)
17058 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17059 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17060 New functions.
90ca8b49
VB
17061 (ses-cell-property-set, ses-cell-property-pop)
17062 (ses-cell-property-get-handle): New macro.
17063 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17064 New aliases, used for code readability.
17065 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17066 cycle detection.
17067 (ses-self-reference-early-detection): New defcustom.
fac916bf 17068 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17069 (ses-mode): Use ses-set-localvars.
17070 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17071 before lauching the update processing.
17072 (ses-initialize-Dijkstra-attempt): New function.
17073 (ses-recalculate-cell): Update for cycle detection based on
17074 Dijkstra algorithm.
17075
2bb63e81
VB
17076 * ses.el: Fix commenting and indenting convention.
17077
c9d29fb8
SM
170782011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17079
17080 * bs.el (bs-cycle-next): Complete last change.
17081
d8e4b68b
JB
170822011-06-27 Drew Adams <drew.adams@oracle.com>
17083
17084 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17085
40098786
LMI
170862011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17087
c9d29fb8
SM
17088 * net/network-stream.el (network-stream-open-starttls):
17089 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17090 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17091
40098786
LMI
17092 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17093 to binary to possibly avoid line encoding issues on Windows (among
17094 other things).
17095
468d09d4
LMI
170962011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17097
17098 * net/network-stream.el (open-network-stream): Return an :error
17099 saying what the problem was, if possible.
17100
17101 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17102 server.
17103
17104 * net/network-stream.el (network-stream-open-starttls): If we
17105 wanted to use STARTTLS, and the server offered it, but we weren't
17106 able to because we had no STARTTLS support, then close the connection.
17107 (open-network-stream): Return an :error element, if present.
17108
16f07dd7
CY
171092011-06-26 Chong Yidong <cyd@stupidchicken.com>
17110
88821ca0
CY
17111 * hl-line.el (hl-line-sticky-flag): Doc fix.
17112 (global-hl-line-sticky-flag): New option (Bug#8323).
17113 (global-hl-line-highlight): Obey it.
17114
16f07dd7
CY
17115 * vc/vc.el (vc-revert-show-diff): Default to t.
17116
6b5ccddf
KM
171172011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17118
c9d29fb8
SM
17119 * allout-widgets.el (allout-widgets-post-command-business):
17120 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17121 undecorated when an isearch is continued past, and isearch
17122 automatically collapses them. This leads to "widget leaks", where
17123 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17124 hidden widgets can slow down cursor travel, substantially.
17125 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17126 so we're doing without this nicety.
17127
17128 (allout-widgets-tally-string): Don't try to do a hash-table-count
17129 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17130 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17131 *Messages* when allout-widgets-maintain-tally is t.
17132
355f2e07
MR
171332011-06-26 Martin Rudalics <rudalics@gmx.at>
17134
17135 * window.el (display-buffer-normalize-argument): Rename to
17136 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17137 LABEL argument. Respect special-display-function when popping up
17138 a new frame. Fix code searching for a window showing the buffer
17139 on another frame.
c9d29fb8
SM
17140 (display-buffer-normalize-specifiers):
17141 Call display-buffer-normalize-arguments.
355f2e07
MR
17142 (display-buffer-in-window): Don't undedicate the window if its
17143 buffer remains the same.
17144 Reported by Drew Adams <drew.adams@oracle.com>.
17145 (display-buffer-alist): Add choice for same-window macro
17146 specfier.
17147 (display-buffer): Mention special meaning of LABEL argument in
17148 doc-string. Fix quoting. Don't pop up a new frame even as
17149 fallback.
17150
7ca8fc42
JB
171512011-06-26 Juanma Barranquero <lekktu@gmail.com>
17152
17153 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17154 avoid deleting the current window in some cases (bug#8911).
17155
bc312254
AS
171562011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17157
17158 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17159 (Bug#8934)
17160
2db18f3f
LMI
171612011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17162
c9d29fb8
SM
17163 * net/network-stream.el (network-stream-open-starttls):
17164 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17165 (network-stream-open-tls): Ditto.
17166
6302e0d3
LL
171672011-06-26 Leo Liu <sdl.web@gmail.com>
17168
17169 * register.el (registerv): New struct.
17170 (registerv-make): New function.
c9d29fb8
SM
17171 (jump-to-register, describe-register-1, insert-register):
17172 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17173 struct. (Bug#8415)
17174
5fdd4046
CY
171752011-06-26 Chong Yidong <cyd@stupidchicken.com>
17176
2afef60a
CY
17177 * vc/vc.el (vc-revert-show-diff): New defcustom.
17178 (vc-diff-internal): New arg specifying diff buffer.
17179 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17180 reuse an existing *vc-diff* buffer (Bug#8927).
17181
5fdd4046
CY
17182 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17183
e93db24a
GM
171842011-06-26 Glenn Morris <rgm@gnu.org>
17185
17186 * progmodes/f90.el (f90-critical-indent): New option.
17187 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17188 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17189 (f90-mode): Doc fix.
17190 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17191 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17192 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17193 (f90-match-end): Handle block, critical.
17194
eefff499
GM
171952011-06-25 Glenn Morris <rgm@gnu.org>
17196
f6ba4cc9
GM
17197 * calendar/diary-lib.el (diary-included-files): Doc fix.
17198 (diary-include-files): New function, extracted from
17199 diary-include-other-diary-files and diary-mark-included-diary-files.
17200 (diary-include-other-diary-files, diary-mark-included-diary-files):
17201 Just call diary-include-files.
17202 (diary-mark-entries): Reset diary-included-files on first call.
17203
16712304
GM
17204 * calendar/diary-lib.el (diary-mark-entries)
17205 (diary-mark-included-diary-files):
17206 Visit included diary-files in temp buffers.
17207
5d8e0d43
GM
17208 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17209 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17210 (f90-start-block-re, f90-imenu-generic-expression)
17211 (f90-looking-at-program-block-start, f90-no-block-limit):
17212 Add support for submodules.
17213
ccf7a5d5
GM
17214 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17215 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17216
11fdef7d 172172011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17218
17219 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17220 buffer-file-type before setting its value, to avoid disastrous
eefff499 17221 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17222
74f53697
JB
172232011-06-25 Juanma Barranquero <lekktu@gmail.com>
17224
17225 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17226
17227 * ses.el (ses-unload-function):
17228 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17229
17230 * proced.el (proced-unload-function):
17231 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17232
18a4ce5e
AR
172332011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17234
17235 * server.el (server-create-window-system-frame): Add parameters arg.
17236 (server-process-filter): Doc fix. Handle frame-parameters.
17237
519d22cc
JB
172382011-06-25 Juanma Barranquero <lekktu@gmail.com>
17239
17240 Fix bug#8730, bug#8781.
17241
17242 * loadhist.el (unload--set-major-mode): New function.
17243 (unload-feature): Use it.
17244
17245 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17246 (python-unload-function): New function.
17247
c206f5b0
SM
172482011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17249
17250 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17251
f9ad64f3
GS
172522011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17253
17254 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17255 the candidates list.
17256
7d0da90e
JB
172572011-06-24 Juanma Barranquero <lekktu@gmail.com>
17258
17259 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17260
14b4e83d
RS
172612011-06-23 Richard Stallman <rms@gnu.org>
17262
17263 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17264 (rmail-variables): Set next-error-move-function.
17265 (rmail-what-message): Take argument POS.
17266 (rmail-next-error-move): New function.
17267
273d2baf
SM
172682011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17269
17270 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17271 messages for adjacent non-terminals.
17272
56c2cc9a
RS
172732011-06-23 Richard Stallman <rms@gnu.org>
17274
17275 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 17276 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
17277 (rmail-start-mail): Don't specify use of rmail-mail-return;
17278 that's done by mail-bury now.
17279 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 17280
d59eb518
MA
172812011-06-23 Michael Albinus <michael.albinus@gmx.de>
17282
17283 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17284 SIZE is a number.
17285
02cfc6d6
MR
172862011-06-23 Martin Rudalics <rudalics@gmx.at>
17287
17288 * window.el (get-lru-window, get-mru-window)
17289 (get-largest-window): Never return a minibuffer window.
17290 (display-buffer-pop-up-window): Fix a bug that could lead to
17291 reusing the minibuffer window.
17292 (display-buffer): Pass original specifier argument to
17293 display-buffer-function instead of the normalized one.
17294 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17295
4e323265
LL
172962011-06-22 Leo Liu <sdl.web@gmail.com>
17297
17298 * minibuffer.el (completing-read-function)
1f9f395d 17299 (completing-read-default): Move from minibuf.c.
4e323265 17300
7a70468f
RS
173012011-06-22 Richard Stallman <rms@gnu.org>
17302
50718fc2
RS
17303 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17304 to Rmail even if not started by a special Rmail command.
17305
7a70468f
RS
17306 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17307 Copy the buffer currently showing just one message.
17308
297dde5a
RW
173092011-06-22 Roland Winkler <winkler@gnu.org>
17310
17311 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17312 (bibtex-clean-entry): First delete the old key so that a
17313 customized algorithm for generating the new key does not get
17314 confused by the old key.
17315 (bibtex-url): Obey regexp of first step.
17316 (bibtex-search-entries): Do not use add-to-list with local
17317 list-var.
17318
97bb1093
LMI
173192011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17320
17321 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17322 stored a user name, then query for the password first, instead of
17323 waiting for SMTP to give an error message and the trying again.
17324
1c0f1a19
JD
173252011-06-22 Lawrence Mitchell <wence@gmx.li>
17326
17327 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17328 BUFFER in call-process.
17329
396f7c9d
LMI
173302011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17331
17332 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17333 QUIT twice.
ddb7ffee
LMI
17334 (smtpmail-try-auth-methods): Require user name and password from
17335 auth-source.
396f7c9d 17336
8998d1b3
MR
173372011-06-22 Martin Rudalics <rudalics@gmx.at>
17338
17339 * window.el (display-buffer-default-specifiers)
17340 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17341 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17342 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17343
17344 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17345 (special-display-frame-alist, special-display-popup-frame):
17346 Remove duplicate declarations. These are now in window.el.
17347
4ea31e07
LMI
173482011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17349
c9d29fb8
SM
17350 * mail/smtpmail.el (smtpmail-via-smtp):
17351 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17352 server supports it. SMTP servers that support STARTTLS commonly
17353 require it.
17354
17355 * net/network-stream.el (network-stream-open-starttls): Support
17356 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17357 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17358
95f41d9a
LMI
17359 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17360 upgrades with `open-network-stream', and rely solely on
17361 auth-source for all credentials. Big changes throughout the file,
17362 but in particular:
c9d29fb8
SM
17363 (smtpmail-auth-credentials): Remove.
17364 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17365 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17366 MAIL FROM, too.
95f41d9a 17367
c9d29fb8
SM
17368 * net/network-stream.el (network-stream-open-starttls):
17369 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17370 STARTTLS.
17371 (auth-source): Require.
17372 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17373 (network-stream-certificate): Change cert-cert to cert and
17374 cert-key to key.
4ea31e07 17375
065ec2c7
MA
173762011-06-21 Michael Albinus <michael.albinus@gmx.de>
17377
17378 * net/tramp-cache.el (top): Don't load the persistency file when
17379 "emacs -Q" has been called.
17380
cd93b359
DR
173812011-06-21 Tim Harper <timcharper@gmail.com>
17382
d8e4b68b
JB
17383 * term/ns-win.el (ns-initialize-window-system):
17384 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17385 resource to NO as it is not yet supported by the NS port.
17386
ae9c0411
JB
173872011-06-21 Juanma Barranquero <lekktu@gmail.com>
17388
17389 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17390 (list-dynamic-libraries): ...not here.
17391
7f3f739f
LL
173922011-06-21 Leo Liu <sdl.web@gmail.com>
17393
17394 * subr.el (sha1): Implement sha1 using secure-hash.
17395
327c8fb1
MR
173962011-06-21 Martin Rudalics <rudalics@gmx.at>
17397
17398 * window.el (display-buffer-alist): In default value do not
17399 enforce searching a window on any but the selected frame.
17400 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17401 (display-buffer-select-window): Remove function.
17402 (display-buffer-in-window): When a window on another frame gets
17403 reused, do not select it any more but just raise its frame if
17404 necessary (Bug#8851) and (Bug#8856).
17405 (display-buffer-normalize-options): Handle pop-up-frames related
17406 options more faithfully.
17407 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17408 window if it is on another frame.
c9d29fb8
SM
17409 (display-buffer-alist, display-buffer-default-specifiers):
17410 Don't make new frame unsplittable by default.
9e9de014
MR
17411 (display-buffer-normalize-argument): Fix doc-string typo and use
17412 'same-frame-other-window instead of 'other-window when associating
17413 with display-buffer-macro-specifiers.
327c8fb1 17414
7cf3f556
VB
174152011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17416
17417 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17418 New functions.
17419 (5x5-mode-map, 5x5-mode-menu): Bind them.
17420 (5x5-draw-grid): Tweak the solver's rendering.
17421
60a406cf
SM
174222011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17423
17424 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17425 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17426
d8e4b68b 174272011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17428
17429 * menu-bar.el: Use function variable instead of switch-to-buffer.
17430 (menu-bar-select-buffer-function): New variable.
60a406cf 17431 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17432
478d6f95
SM
174332011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17434
17435 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17436 variable's status.
17437
ca530739
JD
174382011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17439
17440 * x-dnd.el (x-dnd-version-from-flags)
17441 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17442 and long as number (Bug#8899).
17443 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17444
bcd70d97
SM
174452011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17446
60a406cf 17447 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17448 (completion-try-completion, completion-all-completions): Compute the
17449 metadata argument if it's missing; make it optional (bug#8795).
17450
60a406cf 17451 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17452 (widget-complete): Use new :completion-function property.
17453 (widget-completions-at-point): New function.
17454 (default): Use :completion-function instead of :complete.
60a406cf
SM
17455 (widget-default-completions): Rename from widget-default-complete;
17456 Rewrite.
bcd70d97
SM
17457 (widget-string-complete, widget-file-complete, widget-color-complete):
17458 Remove functions.
17459 (file, symbol, function, variable, coding-system, color):
17460 * international/mule-cmds.el (default-input-method, charset)
17461 (language-info-custom-alist):
17462 * cus-edit.el (face): Use new property :completions.
17463
17464 * progmodes/pascal.el (pascal-completions-at-point): New function.
17465 (pascal-mode): Use it.
17466 (pascal-mode-map): Use completion-at-point.
17467 (pascal-toggle-completions): Make obsolete.
17468 (pascal-complete-word, pascal-show-completions):
17469 * progmodes/octave-mod.el (octave-complete-symbol):
17470 Redefine as obsolete alias.
17471 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17472 Signal absence of completion info for old Octave,
17473 (inferior-octave-complete): Redefine as obsolete alias.
17474 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17475 (meta-completions-at-point): Rename from meta-complete-symbol and
17476 adapt it for use on completion-at-point-functions.
17477 (meta-common-mode): Use it.
17478 (meta-looking-at-backward, meta-match-buffer): Remove.
17479 (meta-complete-symbol): Redefine as obsolete alias.
17480 (meta-common-mode-map): Use completion-at-point.
17481 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17482 (makefile-mode-map): Use completion-at-point.
17483 (makefile-completions-at-point): Rename from makefile-complete and
17484 adapt it for use on completion-at-point-functions.
17485 (makefile-mode): Use it.
17486 (makefile-complete): Redefine as obsolete alias.
17487
aebf69c8
DD
174882011-06-20 Deniz Dogan <deniz@dogan.se>
17489
17490 * net/rcirc.el: Delete trailing whitespaces once and for all.
17491
bfbbb27d
DC
174922011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17493
17494 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17495
d264a46b
CY
174962011-06-19 Chong Yidong <cyd@stupidchicken.com>
17497
4ca009e5
CY
17498 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17499
d264a46b
CY
17500 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17501
fbf5b3ce
MR
175022011-06-19 Martin Rudalics <rudalics@gmx.at>
17503
17504 * window.el (display-buffer-other-window-means-other-frame):
17505 Call display-buffer-normalize-alist.
17506 (display-buffer-normalize-specifiers-1): Rename to
17507 display-buffer-normalize-argument. New argument other-frame.
17508 Rewrite.
17509 (display-buffer-normalize-specifiers-2): Rename to
17510 display-buffer-normalize-options.
17511 (display-buffer-normalize-alist-1): New function.
17512 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17513 display-buffer-normalize-alist.
17514 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17515 (display-buffer-normalize-options-inhibit): New variable.
17516 (display-buffer-normalize-specifiers): Rewrite calling
17517 display-buffer-normalize-alist,
17518 display-buffer-normalize-argument, and
17519 display-buffer-normalize-options. Don't call the latter if
17520 display-buffer-normalize-options-inhibit is non-nil.
17521 (frame-auto-delete): New option.
17522 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17523 (window-list-no-nils, window-state-ignored-parameters)
17524 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17525 (window-state-put-1, window-state-put-2, window-state-put):
17526 New functions.
9a028c23
MR
17527 (display-buffer-normalize-options): Move special-display-p group
17528 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17529
6d10d800
CY
175302011-06-18 Chong Yidong <cyd@stupidchicken.com>
17531
6420d28b
CY
17532 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17533 groups (Bug#8776).
17534 (rx-submatch-n): New function.
17535 (rx): Document it.
17536
ddb8b596
CY
17537 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17538 (Bug#8768).
17539
17540 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17541
77080289
CY
17542 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17543
61dfb316
CY
17544 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17545 anytime existing face settings are present (Bug#8889).
17546
6d10d800
CY
17547 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17548 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17549 Remove unused argument.
17550
be3fb2b8
MR
175512011-06-18 Martin Rudalics <rudalics@gmx.at>
17552
bcd70d97
SM
17553 * window.el (display-buffer-default-specifiers):
17554 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17555 pop-up-window-min-width, and another reuse-window specifier
17556 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17557 (display-buffer-normalize-specifiers-2):
17558 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17559 pop-up-windows is unset. Add a reuse-window specifier for the
17560 case popping up a new window fails.
17561 (special-display-popup-frame): Remove double quoting.
28dec25a 17562 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17563
1c6d8c76
SM
175642011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17565
17566 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17567 according to comint-completion-addsuffix.
17568
17569 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17570 (pcomplete-suffix-list): Mark as obsolete.
17571 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17572 pcomplete-seen in the closure.
17573 (pcomplete-comint-setup): Setup completion-at-point as well.
17574 (pcomplete--entries): New function.
17575 (pcomplete--env-regexp): New var.
17576 (pcomplete-entries): Rewrite to work with partial-completion and
17577 without relying on pcomplete-suffix-list.
17578 (pcomplete-pare-list): Remove, unused.
17579
25aef8b8
MR
175802011-06-17 Martin Rudalics <rudalics@gmx.at>
17581
17582 * window.el (display-buffer-alist): Set pop-up-window-min-height
17583 and pop-up-window-min-width in default value. Reported by
17584 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17585 other-window-means-other-frame.
17586 (display-buffer-macro-specifiers): Comment out entry for
17587 other-window specifier.
17588 (display-buffer-other-window-means-other-frame): New function.
17589 (display-buffer-normalize-specifiers-1): New arguments
17590 buffer-name and label. Treat other-window case specially.
17591 (display-buffer-normalize-specifiers-2): Treat other-window case
17592 specially.
17593 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17594 (display-buffer-normalize-specifiers):
17595 Call display-buffer-normalize-specifiers-3.
25aef8b8 17596
dbad4f69
MR
175972011-06-17 Martin Rudalics <rudalics@gmx.at>
17598
17599 * window.el (same-window-p): Fix two typos introduced when
17600 adding with-no-warnings.
d1067961
MR
17601 (display-buffer-normalize-specifiers-1): Don't check
17602 pop-up-frames for 'unset initialization.
17603 (display-buffer-normalize-specifiers-2): Major rewrite using
17604 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17605 (pop-up-frames, display-buffer-reuse-frames)
17606 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17607 Suggested by David Engster <deng@randomsample.de>.
17608 (even-window-heights): Initialize to 'unset.
17609 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17610 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17611 other window case.
dbad4f69 17612
9b9c9e3a
MR
176132011-06-16 Martin Rudalics <rudalics@gmx.at>
17614
bcd70d97
SM
17615 * window.el (display-buffer-normalize-specifiers-1):
17616 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17617 second argument of display-buffer (Bug#8865).
981d5c09
MR
17618 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17619 (switch-to-buffer-other-window-same-frame)
17620 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17621 Adams (Bug#8875).
9c2755e9
MR
17622 (display-buffer): Don't check noninteractive when calling
17623 display-buffer-pop-up-frame.
17624 (display-buffer-pop-up-frame): Never pop up a frame in
17625 noninteractive mode (Bug#8857).
67222e1d
MR
17626 (enlarge-window, shrink-window): Don't report an error when the
17627 window can't be resized as requested (Bug#8862).
9b9c9e3a 17628
2b75be67
SM
176292011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17630
9ffdd3ba
SM
17631 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17632
cb581a67
SM
17633 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17634
2b75be67
SM
17635 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17636
8c0e3589
AM
176372011-06-15 Alan Mackenzie <acm@muc.de>
17638
cb581a67
SM
17639 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17640 for declarators, disable knr checking to speed up for normal files.
17641 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17642
b96e6cde
LMI
176432011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17644
4bba86e6
LMI
17645 * net/network-stream.el (open-network-stream): Add the keyword
17646 :always-query-capabilities for the case where you want to force a
17647 `plain' network connection, but the protocol still requires the
17648 capabilitiy command (i.e., SMTP and EHLO).
17649
2b75be67 17650 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17651 consistency with other `-live-p' functions.
17652
efdcdbf8
SM
176532011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17654
17655 * window.el (same-window-buffer-names, same-window-regexps)
17656 (special-display-frame-alist, special-display-popup-frame)
17657 (special-display-function, special-display-buffer-names)
17658 (special-display-regexps, pop-up-frame-alist)
17659 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17660 (pop-up-windows, split-window-preferred-function)
17661 (split-height-threshold, split-width-threshold, even-window-heights)
17662 (display-buffer-mark-dedicated): Don't encourage the use of
17663 display-buffer-alist from Elisp code.
17664
c5cde042
DN
176652011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17666
17667 * progmodes/python.el (python-mode): Derive from prog-mode.
17668 * progmodes/ps-mode.el (ps-mode):
17669 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17670 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17671 * progmodes/ld-script.el (ld-script-mode): Likewise.
17672
baa1c9ab
MR
176732011-06-15 Martin Rudalics <rudalics@gmx.at>
17674
17675 * window.el (display-buffer-alist): Trim default value to avoid
17676 popping up a new frame (Bug#8857) or reusing an arbitrary window
17677 on another frame.
17678 (display-buffer): Do not fall back on popping up a new frame in
17679 batch mode (Bug#8857).
17680
c5dd5a51
CY
176812011-06-14 Chong Yidong <cyd@stupidchicken.com>
17682
17683 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17684 (custom-theme-summary): New function.
17685 (customize-themes): Use it.
17686
d647b7c4
GM
176872011-06-13 Glenn Morris <rgm@gnu.org>
17688
17689 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17690
9481c002
MR
176912011-06-13 Martin Rudalics <rudalics@gmx.at>
17692
357f93d2
MR
17693 * help.el (help-window): Remove variable.
17694 (help-window-point-marker, temp-buffer-max-height)
17695 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17696 (help-print-return-message): Don't set help-window.
17697 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17698 (help-window-setup-finish): Remove.
17699 (help-window-display-message, help-window-setup)
17700 (with-help-window): Major rewrite based on new
17701 display-buffer-window variable.
17702
17703 * help-mode.el (help-mode-finish): Remove help-window related
17704 code.
17705
17706 * view.el (view-exits-all-viewing-windows): Remove reference to
17707 view-return-to-alist in doc-string.
17708 (view-return-to-alist): Make obsolete.
17709 (view-buffer): Call pop-to-buffer-same-window and remove
17710 undo-window code.
17711 (view-buffer-other-window): Call pop-to-buffer-other-window and
17712 simplify code. Ignore second argument.
17713 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17714 simplify code. Ignore second argument.
17715 (view-return-to-alist-update): Make obsolete.
17716 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17717 Rewrite using quit-restore window parameters.
2b75be67
SM
17718 (view-mode-exit): Rename second argument to EXIT-ONLY.
17719 Rewrite using quit-restore-window.
357f93d2
MR
17720 (View-exit, View-exit-and-edit, View-leave, View-quit)
17721 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17722 appropriate arguments.
17723 (view-end-message): Use quit-restore window parameter.
17724
9481c002
MR
17725 * window.el (display-buffer-function): Rewrite doc-string.
17726 (display-buffer-window, display-buffer-alist): New variables.
17727 (display-buffer-split-specifiers)
17728 (display-buffer-side-specifiers)
17729 (display-buffer-macro-specifiers): New constants.
17730 (display-buffer-even-window-sizes, display-buffer-set-height)
17731 (display-buffer-set-width, display-buffer-select-window)
17732 (display-buffer-in-window, display-buffer-reuse-window)
17733 (display-buffer-split-window-1, display-buffer-split-window)
17734 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17735 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17736 (display-buffer-in-side-window, normalize-buffer-to-display)
17737 (display-buffer-normalize-specifiers-1)
17738 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17739 (display-buffer-normalize-specifiers, display-buffer-frame):
17740 New functions.
9481c002
MR
17741 (display-buffer): Major rewrite.
17742 (display-buffer-other-window, display-buffer-other-frame)
17743 (pop-to-buffer, switch-to-buffer-other-window)
17744 (switch-to-buffer-other-frame): Rewrite.
17745 (display-buffer-same-window, display-buffer-same-frame)
17746 (display-buffer-same-frame-other-window)
17747 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17748 (pop-to-buffer-other-window)
17749 (pop-to-buffer-same-frame-other-window)
17750 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17751 (switch-to-buffer-other-window-same-frame): New functions.
17752 (same-window-p, special-display-p): Rewrite disabling warnings.
17753 Make obsolete.
17754 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17755 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17756 Make obsolete
17757 (same-window-buffer-names, same-window-regexps)
17758 (special-display-frame-alist, special-display-popup-frame)
17759 (special-display-function, special-display-buffer-names)
17760 (special-display-regexps, pop-up-frame-alist)
17761 (pop-up-frame-function, split-window-preferred-function)
17762 (split-height-threshold, split-width-threshold)
17763 (even-window-heights): Make obsolete.
17764
9db51aca
GM
177652011-06-12 Glenn Morris <rgm@gnu.org>
17766
17767 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17768 Misc simplifications.
9db51aca 17769
39cffb44
MR
177702011-06-12 Martin Rudalics <rudalics@gmx.at>
17771
17772 * window.el (window-safely-shrinkable-p): Restore function which
17773 was inadvertently removed in change from 2011-06-11. Declare as
17774 obsolete.
17775
2b75be67
SM
17776 * calendar/calendar.el (calendar-generate-window):
17777 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17778 window-safely-shrinkable-p.
17779
a8955be7
GM
177802011-06-12 Glenn Morris <rgm@gnu.org>
17781
17782 * progmodes/fortran.el (fortran-mode-syntax-table):
17783 * progmodes/f90.el (f90-mode-syntax-table):
17784 Set % to punctuation. (Bug#8820)
17785 (f90-find-tag-default): Remove, no longer needed.
17786
f0d4059d
DC
177872011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17788
17789 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17790
1100a63c
CY
177912011-06-11 Chong Yidong <cyd@stupidchicken.com>
17792
17793 * image.el (image-animated-p): Return animation delay in seconds.
17794 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17795 (image-animate-timeout): Remove DELAY argument. Don't assume
17796 every subimage has the same delay; get it from image-animated-p.
17797 (image-animate): Caller changed.
17798
def722bf
MA
177992011-06-11 Michael Albinus <michael.albinus@gmx.de>
17800
17801 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17802 to ignored backtrace functions.
17803
0a2bb1a9
GM
178042011-06-11 Glenn Morris <rgm@gnu.org>
17805
17806 * calendar/appt.el (appt-disp-window-function): Doc fix.
17807 (appt-check): Handle overlapping appointments. (Bug#8337)
17808
6198ccd0
MR
178092011-06-11 Martin Rudalics <rudalics@gmx.at>
17810
17811 * window.el (window-tree-1, window-tree): New functions, moving
17812 the latter to window.el.
17813 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17814 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17815 (bw-refresh-edges): Remove.
17816 (balance-windows-1, balance-windows-2): New functions.
17817 (balance-windows): Rewrite in terms of window tree functions,
17818 balance-windows-1 and balance-windows-2.
17819 (bw-adjust-window): Remove.
17820 (balance-windows-area-adjust): New function with functionality of
17821 bw-adjust-window but using resize-window.
2b75be67
SM
17822 (set-window-text-height): Rewrite doc-string.
17823 Use normalize-live-window and resize-window.
17824 (enlarge-window-horizontally, shrink-window-horizontally):
17825 Rename argument to DELTA.
6198ccd0
MR
17826 (window-buffer-height): New function.
17827 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17828 Rewrite using new window resize routines.
2b75be67
SM
17829 (kill-buffer-and-window, mouse-autoselect-window-select):
17830 Use ignore-errors instead of condition-case.
6198ccd0
MR
17831 (quit-window): Call delete-frame instead of delete-windows-on
17832 for the only buffer on frame.
17833
9397e56f
MR
178342011-06-10 Martin Rudalics <rudalics@gmx.at>
17835
17836 * loadup.el (top-level): Load window before files for the sake
17837 of replace-buffer-in-windows.
17838
17839 * files.el (read-buffer-to-switch)
17840 (switch-to-buffer-other-window)
2b75be67
SM
17841 (switch-to-buffer-other-frame, display-buffer-other-frame):
17842 Move to window.el.
9397e56f
MR
17843
17844 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17845 (previous-buffer): Move to window.el.
17846
17847 * bindings.el (unbury-buffer): Move to window.el.
17848
17849 * window.el (delete-other-windows-vertically): Move after
17850 definition of delete-other-windows.
17851 (other-window, delete-windows-on, replace-buffer-in-windows):
17852 Move here from window.c.
17853 (record-window-buffer, unrecord-window-buffer)
17854 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17855 (switch-to-next-buffer): New functions.
17856 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17857 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17858 (previous-buffer): Move here from simple.el.
17859 Call switch-to-prev-buffer.
9397e56f
MR
17860 (bury-buffer): Move here from buffer.c. Switch to previous
17861 buffer when window cannot be deleted.
17862 (unbury-buffer): Move here from bindings.el.
17863 (ctl-x-map): Move binding for other-window from window.c to
17864 here.
17865 (read-buffer-to-switch, switch-to-buffer-other-window)
17866 (switch-to-buffer-other-frame): Move here from files.el.
17867 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17868 (switch-to-buffer): Move here from buffer.c.
17869 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17870
562dd5e9
MR
178712011-06-10 Martin Rudalics <rudalics@gmx.at>
17872
17873 * window.el (window-min-height, window-min-width): Move here
17874 from window.c. Add defcustoms and rewrite doc-strings.
17875 (resize-mini-window, resize-window): New functions.
17876 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17877 Move here from window.c.
17878 (maximize-window, minimize-window): New functions.
17879 (delete-window, delete-other-windows, split-window): Move here
17880 from window.c.
17881 (window-split-min-size): New function.
17882 (split-window-keep-point): Mention split-window-above-each-other
17883 instead of split-window-vertically.
2b75be67 17884 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17885 Rename split-window-vertically to split-window-above-each-other
17886 and provide defalias for old definition.
17887 (split-window-side-by-side, split-window-horizontally):
17888 Rename split-window-horizontally to split-window-side-by-side
17889 and provide defalias for the old definition.
562dd5e9
MR
17890 (ctl-x-map): Move bindings for delete-window,
17891 delete-other-windows and enlarge-window here from window.c.
17892 Replace bindings for split-window-vertically and
17893 split-window-horizontally by bindings for
17894 split-window-above-each-other and split-window-side-by-side.
17895
17896 * cus-start.el (all): Remove entries for window-min-height and
17897 window-min-width. Add entries for window-splits and
17898 window-nest.
17899
f0da764a
GM
179002011-06-09 Glenn Morris <rgm@gnu.org>
17901
80675c21
GM
17902 * calendar/appt.el (appt-mode-line): New function.
17903 (appt-check, appt-disp-window): Use it.
17904
f0da764a
GM
17905 * files.el (hack-one-local-variable-eval-safep):
17906 Allow minor-modes with explicit +/-1 arguments.
17907
59f623b7
TZ
179082011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17909
17910 * term/xterm.el (xterm): Add defgroup.
17911 (xterm-extra-capabilities): Add defcustom to supply known xterm
17912 capabilities, skip querying them, or query them (default).
17913 (terminal-init-xterm): Use it.
17914 (terminal-init-xterm-modify-other-keys): New function to set up
17915 modifyOtherKeys support to simplify `terminal-init-xterm'.
17916
9aab8e0d
MR
179172011-06-09 Martin Rudalics <rudalics@gmx.at>
17918
17919 * window.el (resize-window-reset, resize-window-reset-1)
17920 (resize-subwindows-skip-p, resize-subwindows-normal)
17921 (resize-subwindows, resize-other-windows, resize-this-window)
17922 (resize-root-window, resize-root-window-vertically)
17923 (window-deletable-p, window-or-subwindow-p)
17924 (frame-root-window-p): New functions.
17925
e8b08aee
GM
179262011-06-09 Glenn Morris <rgm@gnu.org>
17927
17928 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17929 (ange-ftp-get-files): Use it.
17930
254c37a5
AK
179312011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17932
17933 * mail/sendmail.el (mail-recover-1, mail-recover):
17934 * files.el (recover-file, recover-session):
17935 Handle dired-listing-switches not being just a single short option.
17936
35d7dbd3
GM
179372011-06-09 Glenn Morris <rgm@gnu.org>
17938
17939 * calendar/appt.el (appt-display-message, appt-disp-window):
17940 Handle lists of appointments.
17941
387522b2
MR
179422011-06-08 Martin Rudalics <rudalics@gmx.at>
17943
2b75be67
SM
17944 * window.el (one-window-p): Move down in code.
17945 Rewrite doc-string.
17946 (window-current-scroll-bars): Rewrite doc-string.
17947 Normalize live window argument.
387522b2
MR
17948 (walk-windows, get-window-with-predicate, count-windows):
17949 Rewrite doc-string. Use window-list-1.
17950 (window-in-direction-2, window-in-direction, get-mru-window):
17951 New functions.
17952
d8e4b68b 179532011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17954
17955 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17956 Doc fix (Bug#8713).
17957
179582011-06-08 Chong Yidong <cyd@stupidchicken.com>
17959
17960 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17961
179622011-06-08 Juanma Barranquero <lekktu@gmail.com>
17963
17964 * loadhist.el (unload-feature-special-hooks):
17965 Add `comint-output-filter-functions'.
17966
0de12c52
IK
179672011-06-08 Ivan Kanis <gnu@kanis.fr>
17968
17969 * calendar/appt.el (appt-check): Move some initializations into the let.
17970
f3d1777e
MR
179712011-06-08 Martin Rudalics <rudalics@gmx.at>
17972
17973 * window.el (window-height): Defalias to window-total-height.
17974 (window-width): Defalias to window-body-width.
17975
18af70d0
CY
179762011-06-07 Chong Yidong <cyd@stupidchicken.com>
17977
17978 * image-mode.el (image-toggle-animation): New command.
17979 (image-mode-map): Bind it to RET.
17980 (image-mode): Update message.
17981 (image-toggle-display-image): Avoid a spurious cache flush.
17982 (image-transform-rotation): Doc fix.
17983 (image-transform-properties): Return quickly in the normal case.
17984 (image-animate-loop): Rename from image-animate-max-time.
17985
2b75be67 17986 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17987 (create-animated-image): Remove unnecessary function.
17988 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17989 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17990 (image-animate-timer): Use car-safe.
17991 (image-animate-timeout): Rename argument.
17992
190b47e6
MR
179932011-06-07 Martin Rudalics <rudalics@gmx.at>
17994
17995 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17996 window.c. Rename first argument to ALL-FRAMES.
17997 Rephrase doc-strings.
17998 (get-buffer-window-list): Rewrite using window-list-1.
17999 Rephrase doc-string.
a1511caf
MR
18000 (window-safe-min-height, window-safe-min-width): New constants.
18001 (window-size-ignore, window-min-size, window-min-size-1)
18002 (window-sizable, window-sizable-p, window-size-fixed-1)
18003 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18004 (window-max-delta-1, window-max-delta, window-resizable)
18005 (window-resizable-p, window-total-height, window-total-width)
18006 (window-body-width): New functions.
18007 (window-full-height-p, window-full-width-p): Rewrite using
18008 window-total-size.
18009 (window-body-height): Rewrite using window-body-size.
190b47e6 18010
85cc1f11
MR
180112011-06-06 Martin Rudalics <rudalics@gmx.at>
18012
18013 * window.el (window-right, window-left, window-child)
18014 (window-child-count, window-last-child, window-any-p)
18015 (normalize-live-buffer, normalize-live-frame)
18016 (normalize-any-window, normalize-live-window)
18017 (window-iso-combination-p, window-iso-combined-p)
18018 (window-iso-combinations)
18019 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18020 (windows-with-parameter, window-with-parameter)
18021 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18022 (window-atom-check, window-side-check, window-check):
18023 New functions.
85cc1f11
MR
18024 (ignore-window-parameters, window-sides, window-sides-vertical)
18025 (window-sides-slots): New variables.
18026 (window-size-fixed): Move down in code. Minor doc-string fix.
18027
e7156492
AS
180282011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18029
18030 * comint.el (comint-dynamic-complete-as-filename)
18031 (comint-dynamic-complete-filename): Correctly call
18032 completion-in-region.
18033
7e821d0d
DD
180342011-06-05 Deniz Dogan <deniz@dogan.se>
18035
18036 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18037 in last change.
18038
ac09b8a1
DD
180392011-06-05 Deniz Dogan <deniz@dogan.se>
18040
18041 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18042 (rcirc): Use it to prompt for encryption.
18043
34699b85
RW
180442011-06-05 Roland Winkler <winkler@gnu.org>
18045
18046 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18047 (bibtex-search-entries): New command bound to C-c C-a.
18048 (bibtex-display-entries): New function.
18049
004dedd3
RW
180502011-06-05 Roland Winkler <winkler@gnu.org>
18051
18052 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18053 (bibtex-insert-kill): After yanking insert newline if necessary.
18054 (bibtex-initialize): Call bibtex-string-files-init only once.
18055 (bibtex-mode): Do not call easy-menu-add.
18056 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18057 (bibtex-yank): Set arg properly if nil.
18058
022fe7ce
RW
180592011-06-05 Roland Winkler <winkler@gnu.org>
18060
2b75be67
SM
18061 * textmodes/bibtex.el (bibtex-search-entry-globally):
18062 New variable.
022fe7ce
RW
18063 (bibtex-search-entry): Use it.
18064
b7c3692a
RW
180652011-06-05 Roland Winkler <winkler@gnu.org>
18066
18067 * textmodes/bibtex.el (bibtex-entry-format): New option
18068 sort-fields.
18069 (bibtex-format-entry, bibtex-reformat): Honor this option.
18070 (bibtex-parse-entry): Return fields in proper order.
18071
8eda563d
JB
180722011-06-05 Juanma Barranquero <lekktu@gmail.com>
18073
18074 * doc-view.el (doc-view-remove-if): Move computation of result out
18075 of `dolist' to silence misleading lexical-binding warning.
18076
7dbe3dbc
CY
180772011-06-04 Chong Yidong <cyd@stupidchicken.com>
18078
18079 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18080 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18081
0c33dd17
MA
180822011-06-04 Michael Albinus <michael.albinus@gmx.de>
18083
18084 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18085 "SunOS 5.10".
18086
f8f91c2b
MA
180872011-06-04 Michael Albinus <michael.albinus@gmx.de>
18088
18089 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18090 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18091 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18092 (tramp-parse-putty):
18093 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18094 (tramp-completion-function-alist-ssh)
18095 (tramp-completion-function-alist-telnet)
18096 (tramp-completion-function-alist-su)
18097 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18098 cookie.
18099
18100 * net/tramp-ftp.el:
18101 * net/tramp-sh.el:
18102 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18103 load "tramp.el" `tramp-set-completion-function'.
18104
e17d9003
SM
181052011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18106
18107 * shell.el: Require and use pcomplete.
18108 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18109 (shell-completion-vars): Set pcomplete-default-completion-function.
18110
6c4cab03
DD
181112011-06-04 Deniz Dogan <deniz@dogan.se>
18112
18113 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18114 `memq' (Bug#8799).
18115
ea9fafe0
SM
181162011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18117
18118 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18119
b3e945d3
JB
181202011-06-02 Juanma Barranquero <lekktu@gmail.com>
18121
18122 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18123 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18124 * vc/log-view.el (log-view-beginning-of-defun):
18125 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18126 (smerge-refine-forward, smerge-refine-chopup-region):
18127 Silence warning for unused `dotimes' counter variables.
18128
7d520089
SM
181292011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18130
18131 * net/tramp.el (tramp-with-progress-reporter): Rename from
18132 with-progress-reporter. Use `declare'.
18133 * net/tramp-smb.el:
18134 * net/tramp-sh.el:
18135 * net/tramp-gvfs.el: Update all uses.
18136
a1c2400f
JB
181372011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18138
18139 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18140 buffer isn't killed before making it current.
18141
2403c841
SM
181422011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18143
18144 Silence various byte-compiler warnings.
18145 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18146 `access-type' and new obsolescence format.
18147 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18148 new format.
18149 (byte-compile-check-variable): New `access-type' argument.
18150 Only warn if the access-type is obsolete.
18151 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18152 (byte-compile-variable-set): Adjust callers.
18153 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18154 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18155 setting it as obsolete.
18156 * simple.el (minibuffer-completing-symbol):
18157 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18158 access as obsolete.
18159 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18160 obsolete yet.
18161 * international/quail.el (quail-mouse-choose-completion): Remove unused
18162 code referring to obsolete var.
18163 (quail-choose-completion-string): Remove.
18164 * server.el (server-clients-with, server-kill-buffer-query-function)
18165 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18166 * proced.el (proced-send-signal):
18167 * emacs-lisp/lisp.el (lisp-complete-symbol):
18168 Replace completion-annotate-function with completion-extra-properties.
18169
2462470b
SM
181702011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18171
fb5b2591
SM
18172 * simple.el (goto-line): Use read-number.
18173 (overriding-map-is-bound): Remove.
18174 (saved-overriding-map): Change default.
18175 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18176 Take the map as argument.
18177 (universal-argument, negative-argument, digit-argument): Use it.
18178 (restore-overriding-map): Adjust.
18179 (do-auto-fill): Use fill-forward-paragraph.
18180 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18181
fd6fa53f
SM
18182 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18183 (minibuffer-inactive-mode): New major mode.
18184 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18185 the *Messages* buffer" hack.
18186 (mouse-popup-menubar): Don't burp if the event is a normal key.
18187
2462470b
SM
18188 Miscellaneous tweaks.
18189 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18190 lexical scoping as in subr.el's dolist and dotimes.
18191 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18192 Silence compiler warning.
18193 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18194 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18195 * international/ccl.el (ccl-compile): Trivial simplification.
18196 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18197 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18198 `printflag' argument.
18199 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18200 Purecopy the whole obsolescence data.
18201
108bf785
LL
182022011-06-01 Leo Liu <sdl.web@gmail.com>
18203
18204 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18205 improve doc-string as suggested by Marco Pessotto
18206 <melmothx@gmail.com>.
18207 (rcirc-print): Fix last change.
18208
30a23501
SM
182092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18210
18211 * minibuffer.el (complete-with-action): Return nil for the metadata and
18212 boundaries of non-functional tables.
18213 (completion-table-dynamic): Return nil for the metadata.
18214 (completion-table-with-terminator): Add default case, using
18215 complete-with-action.
18216 (completion--metadata): New function.
18217 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18218 to try and avoid pathological performance problems.
18219 (completion--embedded-envvar-table): Return `category' metadata.
18220
bcd54f83
LMI
182212011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18222
18223 * subr.el (process-alive-p): New tiny convenience function.
18224
e227544d
SM
182252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18226
18227 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18228 content but also its previous major mode.
18229
e8296fdc
HE
182302011-05-31 Helmut Eller <eller.helmut@gmail.com>
18231
4d61f28d 18232 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18233 *Backtrace* buffer when we exit with C-M-c.
18234
620c53a6
SM
182352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18236
18237 * minibuffer.el: Add metadata method to completion tables.
18238 (completion-category-overrides): New defcustom.
18239 (completion-metadata, completion--field-metadata)
18240 (completion-metadata-get, completion--styles)
18241 (completion--cycle-threshold): New functions.
18242 (completion-try-completion, completion-all-completions):
18243 Add `metadata' argument to choose completion-styles.
18244 (completion--do-completion): Use metadata to choose cycling.
18245 (completion-all-sorted-completions): Use metadata for sorting.
18246 Remove :completion-cycle-penalty which is not needed any more.
18247 (completion--try-word-completion): Add `metadata' argument.
18248 (minibuffer-completion-help): Check metadata for annotation function
18249 and sorting.
18250 (completion-file-name-table): Return `category' metadata.
18251 (minibuffer-completing-file-name): Make obsolete.
18252 * simple.el (minibuffer-completing-symbol): Make obsolete.
18253 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18254 completion-try-completion.
18255
1257e755
SM
182562011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18257
18258 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18259
3767e706
LL
182602011-05-30 Leo Liu <sdl.web@gmail.com>
18261
18262 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18263 (rcirc-print): Decode all incoming messages (bug#8744).
18264 (rcirc-decode-coding-system): Allow value nil for automatic coding
18265 system detection.
3767e706 18266
d1a5d56a
GM
182672011-06-01 Glenn Morris <rgm@gnu.org>
18268
18269 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18270
e8cbec34
CY
182712011-05-29 Chong Yidong <cyd@stupidchicken.com>
18272
18273 * image.el (image-animate-max-time): Allow nil and t values.
18274 Default to nil.
18275 (create-animated-image): Doc fix.
18276 (image-animate-start): Remove second arg; just use
18277 image-animate-max-time.
18278 (image-animate-timeout): Doc fix. Args changed.
18279
18280 * image-mode.el (image-toggle-display-image): Ensure that the
18281 image spec passed to the animate timer is the same object as in
58179cce 18282 the buffer's display property (Bug#6981).
e8cbec34
CY
18283 (image-transform-properties): Doc fix.
18284
18285 * image.el (image-animate-max-time): Default to nil.
18286
159daf87
MR
182872011-05-29 Martin Rudalics <rudalics@gmx.at>
18288
18289 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18290 entire buffer list (Bug#8184).
18291
d66c4c7c
CY
182922011-05-29 Chong Yidong <cyd@stupidchicken.com>
18293
18294 * image.el (imagemagick-types-inhibit)
18295 (imagemagick-register-types): Doc fix.
18296
80aec780
DD
182972011-05-29 Deniz Dogan <deniz@dogan.se>
18298
18299 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18300 default.
18301
1dd3c2d9
CY
183022011-05-29 Chong Yidong <cyd@stupidchicken.com>
18303
18304 * select.el: Don't perform clipboard-manager saving in hooks;
18305 leave the hooks empty.
18306
60e56523
LL
183072011-05-28 Leo Liu <sdl.web@gmail.com>
18308
18309 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18310 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18311 (occur-edit-mode): New major mode (Bug#8463).
18312 (occur-after-change-function): New function.
18313 (occur-engine): Give Occur tags a read-only property.
18314
2b1e1a22
KR
183152011-05-28 Kevin Ryde <user42@zip.com.au>
18316
18317 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18318
5d344e88
CY
183192011-05-28 Chong Yidong <cyd@stupidchicken.com>
18320
8e6ca83d
CY
18321 * bindings.el (help-echo): Make the initial non-indicator dash
18322 empty on graphical terminals (Bug#7295).
18323
5d344e88
CY
18324 * files.el (auto-mode-alist): Move config rule after the
18325 in-stripping one (Bug#8547).
18326
bfbbace7
CY
18327 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18328
fbeba6e2
CY
18329 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18330 setting (Bug#8740).
18331
60ed8c72
AA
183322011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18333
4ac619f0
AA
18334 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18335 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18336 (Bug#8539).
60ed8c72 18337
23db196e
CY
183382011-05-28 Chong Yidong <cyd@stupidchicken.com>
18339
18340 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18341
5012f24c
DK
183422011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18343
18344 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18345 (hs-hide-block-at-point, hs-find-block-beginning)
18346 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18347 (Bug#8279).
18348
6a639b16
GM
183492011-05-28 Glenn Morris <rgm@gnu.org>
18350
18351 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18352
d43eaf2c
CY
183532011-05-28 Chong Yidong <cyd@stupidchicken.com>
18354
5199bde1
CY
18355 * help-fns.el (describe-function-1): If the function is a derived
18356 major mode, print the parent mode.
18357
d43eaf2c
CY
18358 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18359 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18360
423428a8
SM
183612011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18362
0ff8e1ba 18363 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18364 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18365 * progmodes/etags.el (tags-completion-at-point-function):
18366 * info-look.el (info-lookup-completions-at-point): Mark as
18367 non-exclusive.
18368 (info-complete): Adjust accordingly.
18369
423428a8
SM
18370 * info-look.el: Convert to lexical-binding and completion-at-point.
18371 (info-lookup-completions-at-point): New function.
18372 (info-complete): Use it and completion-in-region.
18373
b74aa22b
DA
183742011-05-28 Drew Adams <drew.adams@oracle.com>
18375
18376 * isearch.el: Let M-e start with point at the first mismatched char.
18377 (isearch-fail-pos): New function.
18378 (isearch-edit-string): Use it.
18379
66e2e71d
DK
183802011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18381
18382 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18383
b1890b0f 183842011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18385
18386 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18387 traversal functions for avl-trees.
18388 (avl-tree--stack): New struct.
18389 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18390 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18391 (avl-tree--do-enter): Add optional `updatefun' arg.
18392 Change return value.
eb95d01d 18393 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18394 (avl-tree--do-delete): Add `test' and `nilflag' args.
18395 Change return value.
eb95d01d
TC
18396 (avl-tree-member): Add optional `nilflag'
18397 (avl-tree-member-p): New function.
18398 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18399 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18400 (avl-tree-stack-empty-p): New functions.
18401
3769ddcf
TC
18402 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18403 avl-tree--del-balance1 and make it work both ways.
18404 (avl-tree--del-balance2): Remove.
18405 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18406 make it work both ways.
18407 (avl-tree--enter-balance2): Remove.
18408 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18409 New macros.
18410 (avl-tree--mapc, avl-tree-map): Add direction argument.
18411
eb95d01d 184122011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18413
18414 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18415
a9f737ee
CY
184162011-05-27 Chong Yidong <cyd@stupidchicken.com>
18417
18418 * select.el: Support clipboard managers with built-in function
18419 x-clipboard-manager-save, via delete-frame-functions and
18420 kill-emacs-hook.
18421 (xselect-convert-to-targets): Add MULTIPLE target to list.
18422 (xselect-convert-to-save-targets): New function.
18423
c92a1e54
KH
184242011-05-27 Kenichi Handa <handa@m17n.org>
18425
18426 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18427 let-binding rfc2047-encode-encoded-words to nil.
18428
e145f188
GM
184292011-05-27 Glenn Morris <rgm@gnu.org>
18430
5ec8a862
GM
18431 * mail/emacsbug.el: Don't require url-util.
18432
4b29d9fb
GM
18433 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18434
e145f188
GM
18435 * files.el (set-auto-mode):
18436 Also respect mode: entries at the end of the file. (Bug#8586)
18437
7d15102b
GM
184382011-05-26 Glenn Morris <rgm@gnu.org>
18439
98f593b8
GM
18440 * files.el (hack-local-variables-prop-line, hack-local-variables):
18441 Downcase mode names, as seems to be traditional.
27b48e63 18442 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18443
7d15102b
GM
18444 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18445 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18446
51d5b4ec
JD
184472011-05-25 Julien Danjou <julien@danjou.info>
18448
18449 * textmodes/rst.el (rst-define-level-faces): Do not define face
18450 symbol if it is already defined.
18451
91513f63
VB
184522011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18453
18454 * play/5x5.el (5x5-new-game, 5x5-randomize):
18455 Reset 5x5-solver-output to nil when a new grid is cast.
18456 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18457 these debugging traces, as defmacro breaks the compiled code.
18458
4d90d6d0
DK
184592011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18460
18461 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18462
e1b90ef6
LL
184632011-05-24 Leo Liu <sdl.web@gmail.com>
18464
18465 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18466 (vc-bzr-sha1): Adapt.
18467
d8e4b68b 18468 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18469
18470 * bindings.el: Provide sha1 feature.
18471
db0406bb 184722011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18473
18474 * mail/sendmail.el: Require `rfc2047'.
18475 (mail-insert-from-field): Do not perform RFC2047 encoding.
18476 (mail-encode-header): New function.
18477 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18478 buffer to the return value of select-message-coding-system.
18479 Call mail-encode-header.
b8d747b9
KH
18480
18481 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18482
db0406bb 184832011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18484
4d90d6d0
DK
18485 * mail/supercite.el (sc-default-cite-frame):
18486 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18487
eb8a5e9b
GM
184882011-05-24 Glenn Morris <rgm@gnu.org>
18489
f8630703
GM
18490 * progmodes/python.el (brm-menu): Declare.
18491
8831bbed
GM
18492 * emulation/viper.el (viper-set-hooks): Declare.
18493
eb8a5e9b
GM
18494 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18495 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18496 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18497 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18498 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18499 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18500
a2a25d24
SM
185012011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18502
18503 Add an :exit-function for completion-at-point.
18504
18505 * minibuffer.el (completion--done): New fun.
18506 (completion--do-completion): Use it. New arg `expect-exact'.
18507 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18508 since completion--do-completion does it for us now.
18509 (minibuffer-force-complete): Use completion--done and
18510 completion--replace. Handle sole-completion case with more care.
18511 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18512 (completion-extra-properties): New var.
18513 (completion-annotate-function): Make obsolete.
18514 (minibuffer-completion-help): Adjust accordingly.
18515 Use completion-list-insert-choice-function.
18516 (completion-at-point, completion-help-at-point):
18517 Bind completion-extra-properties.
18518 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18519 * simple.el (completion-list-insert-choice-function): New var.
18520 (completion-setup-function): Preserve it.
18521 (choose-completion): Pay attention to it, shuffle the code a bit.
18522 (choose-completion-string): New arg `insert-function'.
18523
18524 * textmodes/bibtex.el: Convert to lexical binding.
18525 (bibtex-mode-map): Use completion-at-point.
18526 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18527 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18528 (bibtex-complete): Define as obsolete alias.
18529 (bibtex-complete-internal): Remove.
18530 (bibtex-format-entry): Remove unused sub-group in regexp.
18531 * shell.el (shell--command-completion-data)
18532 (shell-environment-variable-completion):
18533 * pcomplete.el (pcomplete-completions-at-point):
18534 * comint.el (comint--complete-file-name-data): Use :exit-function
18535 instead of completion-table-with-terminator so it also works for
18536 choose-completion.
18537
e44e373d
SM
185382011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18539
4f91a816
SM
18540 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18541
782fc819
SM
18542 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18543 (bug#8710).
18544
e44e373d
SM
18545 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18546
381987c3
KM
185472011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18548
18549 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18550 customization variable and implement: If non-nil, auto-fill will
18551 be inhibited while on topic's header line.
18552
b776bc70
VB
185532011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18554
18555 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18556 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18557 always have a solution in grid size = 5 cases.
18558 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18559 (5x5-solver-output, 5x5-log-buffer): New vars.
18560 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18561 Make these variables buffer local to achieve 5x5 multi-session-ness.
18562 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18563 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18564 (5x5-solve-suggest): New funs.
18565 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18566 randomize a grid so that we ensure that there is always a solution.
18567 (5x5-make-random-grid): Allow other movement than flipping.
18568
7de88b6e
KR
185692011-05-23 Kevin Ryde <user42@zip.com.au>
18570
18571 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18572 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18573 advice and passes PREDICATE.
18574
b1ef1257
SM
185752011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18576
bbca48fe
SM
18577 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18578 byte-compile-lambda if it's actually a lambda.
18579
b1ef1257
SM
18580 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18581 Fix function quoting. Use backquote better.
18582
92a9cc65
YS
185832011-05-22 Yuanle Song <sylecn@gmail.com>
18584
18585 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18586 matching (Bug#8516).
18587
f0fb8059
JA
185882011-01-22 Jari Aalto <jari.aalto@cante.net>
18589
18590 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18591 different face (Bug#8178).
18592
d5b44c93
CY
185932011-05-22 Chong Yidong <cyd@stupidchicken.com>
18594
18595 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18596 defface (Bug#8144).
18597
79106a44
SM
185982011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18599
9c848d8a
SM
18600 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18601 funcall as well (bug#8712). Warn when performing those conversions.
18602 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18603
79106a44
SM
18604 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18605
88dfa756
GM
186062011-05-22 Glenn Morris <rgm@gnu.org>
18607
18608 * files.el (hack-local-variables-prop-line): Small simplifications.
18609 (hack-local-variables, hack-local-variables-prop-line):
18610 If MODE-ONLY, return the mode, rather than just `t'.
18611
b7cf2c79
SM
186122011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18613
18614 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18615
3f1a8558
GM
186162011-05-21 Glenn Morris <rgm@gnu.org>
18617
7e4ccca3
GM
18618 * files.el (hack-local-variables-prop-line, hack-local-variables):
18619 If only interested in the mode, don't bother doing the other stuff.
18620
637d46ca
GM
18621 * image-mode.el (image-after-revert-hook):
18622 Redraw all frames on which the image is visible. (Bug#8567)
18623
973d955b
GM
18624 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18625
3f1a8558
GM
18626 * wid-edit.el (widget-checklist-match-inline):
18627 Fix 2011-04-19 change. (Bug#8649)
18628
96479927
SM
186292011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18630
1dcf791f
SM
18631 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18632 Also allow singlespace after single-letter capitals followed by a dot.
18633
96479927
SM
18634 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18635 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18636
35fd0881
N
186372011-05-20 Nix <nix@esperi.org.uk>
18638
18639 * files.el (basic-save-buffer-2):
18640 Fix handling of break-hardlink-on-save with non-existent files.
18641
82745640
DD
186422011-05-19 Deniz Dogan <deniz@dogan.se>
18643
18644 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18645 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18646
4a720484
GM
186472011-05-19 Glenn Morris <rgm@gnu.org>
18648
d1f21341
GM
18649 * progmodes/f90.el (f90-type-def-re):
18650 Handle "type, bind(c)". (Bug#8691)
18651
4a720484
GM
18652 * emacs-lisp/autoload.el (batch-update-autoloads):
18653 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18654
2fb0a219
MA
186552011-05-18 Michael Albinus <michael.albinus@gmx.de>
18656
18657 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18658 property for the correct connection in case of multihops.
18659
e565dd37
GM
186602011-05-18 Glenn Morris <rgm@gnu.org>
18661
c2571358 18662 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18663 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18664
e565dd37
GM
18665 Rationalize calendar handling of day and month abbrev-arrays.
18666 * calendar/calendar.el (calendar-customized-p): New function.
18667 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18668 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18669 Add :set function.
18670 (calendar-abbrev-length, calendar-day-abbrev-array)
18671 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18672 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18673 Elements may no longer be nil.
18674 (calendar-day-name, calendar-month-name):
18675 Update for changed nature of abbrev arrays.
18676 * calendar/diary-lib.el (diary-name-pattern):
18677 Update for changed nature of abbrev arrays.
18678 (diary-mark-entries-1): Update calendar-make-alist calls.
18679 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18680 * calendar/cal-html.el (cal-html-day-abbrev-array):
18681 Simply inherit from calendar-day-abbrev-array.
18682
1d99a745
SM
186832011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18684
18685 * progmodes/grep.el (grep-mode): Disable default
18686 compilation-directory-matcher setting (bug#8684).
18687
7c1d9aa0
MA
186882011-05-17 Michael Albinus <michael.albinus@gmx.de>
18689
18690 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18691 instead of "head" and "tail". There were problems with SunOS 5.9,
18692 and it performs better.
18693
3952e9d8
GM
186942011-05-17 Glenn Morris <rgm@gnu.org>
18695
2dd12e7f
GM
18696 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18697
e4157b9c
GM
18698 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18699 Replace obsolete function.
18700
8e249bbd
GM
18701 * shell.el (pcomplete-parse-arguments-function): Declare.
18702
3952e9d8
GM
18703 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18704 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18705 (appt-check): Doc fixes.
18706 (appt-disp-window-function, appt-delete-window-function):
18707 Remove needless special case in custom :type.
18708 (appt-display-count): Default to 0, not nil.
18709 (appt-check): Reset appt-display-count to 0, not nil.
18710
c71a0d48 187112011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18712
c71a0d48
GM
18713 * progmodes/python.el (python-font-lock-keywords):
18714 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18715
31d55be9
SM
187162011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18717
18718 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18719
3bfacb2f
KR
187202011-05-16 Kevin Ryde <user42@zip.com.au>
18721
18722 * info-look.el (makefile-automake-mode): New setups, looking in
18723 automake manual, then makefile-mode.
18724 (makefile-mode): Remove automake manual, have it just in
18725 makefile-automake-mode since there's various things different or
18726 not relevant to plain make.
18727 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18728 believe a hypothetical automake-mode would go to makefile-mode,
18729 not the other way around.
18730
c8e83751
CY
187312011-05-15 Chong Yidong <cyd@stupidchicken.com>
18732
5e9e35cd
CY
18733 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18734 hunk-end tags (Bug#8672).
18735
c8e83751
CY
18736 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18737 vc-annotate-show-diff-revision-at-line (Bug#8671).
18738
50b23e5a
GM
187392011-05-14 Glenn Morris <rgm@gnu.org>
18740
7210a739
GM
18741 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18742 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18743 (change-log-font-lock-keywords): Also handle multiple author lines
18744 with leading tabs. (Bug#8644)
7210a739 18745
4691905a
GM
18746 * calendar/appt.el (appt-check): Rename some local variables.
18747 Some simplification/reordering.
18748
50b23e5a
GM
18749 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18750 (feedmail-sendmail-f-doesnt-sell-me-out)
18751 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18752 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18753 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18754 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18755 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18756 (feedmail-binmail-gnulinuxish-template):
18757 Rename from feedmail-binmail-linuxish-template.
18758 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18759 Use insert-buffer-substring.
18760
215cda7c
BC
187612011-05-14 Bill Carpenter <bill@carpenter.org>
18762
18763 * mail/feedmail.el (feedmail-patch-level): Increase.
18764 (feedmail-debug): New custom group.
18765 (feedmail-confirm-outgoing-timeout)
18766 (feedmail-sendmail-f-doesnt-sell-me-out)
18767 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18768 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18769 (feedmail-sender-line, feedmail-from-line)
18770 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18771 (feedmail-spray-this-address)
215cda7c
BC
18772 (feedmail-spray-address-fiddle-plex-list)
18773 (feedmail-queue-use-send-time-for-date)
18774 (feedmail-queue-use-send-time-for-message-id)
18775 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18776 (feedmail-buffer-eating-function):
18777 Doc fixes.
18778 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18779 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18780 (feedmail-message-action-scroll-down): New functions.
18781 (feedmail-queue-directory, feedmail-queue-draft-directory):
18782 Use expand-file-name.
18783 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18784 Remove C-v help entry.
18785 (feedmail-queue-buffer-file-name): New variable.
18786 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18787 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18788 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18789 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18790 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18791 (feedmail-message-action-toggle-spray)
18792 (feedmail-run-the-queue-no-prompts)
18793 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18794 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18795 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18796 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18797 (feedmail-envelope-deducer, feedmail-fiddle-from)
18798 (feedmail-fiddle-sender, feedmail-default-date-generator)
18799 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18800 (feedmail-fiddle-spray-address)
18801 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18802 (feedmail-fiddle-list-of-fiddle-plexes)
18803 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18804 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18805 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18806 Change default. Doc fix.
18807 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18808 (feedmail-binmail-linuxish-template): New constant.
18809 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18810 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18811 (feedmail-send-it): Add debug call.
18812 Use feedmail-queue-buffer-file-name, and
18813 feedmail-send-it-immediately-wrapper.
18814 (feedmail-message-action-send): Add debug call.
18815 Use feedmail-send-it-immediately-wrapper.
18816 (feedmail-queue-express-to-queue): Add debug call.
18817 Run feedmail-queue-express-hook.
18818 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18819 (feedmail-message-action-help-blat):
18820 Rename from feedmail-queue-send-edit-prompt-help-first.
18821 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18822 Check line-endings. Handle errors better.
18823 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18824 Doc fix. Add debug call.
18825 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18826 Use feedmail-queue-send-edit-prompt-inner.
18827 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18828 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18829 from feedmail-queue-send-edit-prompt.
18830 (feedmail-queue-send-edit-prompt-help)
18831 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18832 (feedmail-tidy-up-slug): Add debug call.
18833 Respect feedmail-queue-slug-suspect-regexp.
18834 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18835 (feedmail-dump-message-to-queue): Add debug call.
18836 Expand queue-directory.
18837 (feedmail-dump-message-to-queue): Change message slightly.
18838 Use feedmail-say-chatter.
18839 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18840 (feedmail-send-it-immediately-wrapper): New function.
18841 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18842 Insert empty string rather than newline. Handle full-frame case.
18843 Use catch/throw. Use feedmail-say-chatter.
18844 (feedmail-fiddle-from): Try mail-host-address.
18845 (feedmail-default-message-id-generator): Doc fix.
18846 Bind system-time-locale. Handle missing end.
18847 (feedmail-fiddle-x-mailer): Add debug call.
18848 Handle feedmail-x-mailer-line being nil.
18849 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18850 Add debug call. Use buffer-substring-no-properties.
18851 (feedmail-say-debug, feedmail-say-chatter): New functions.
18852 (feedmail-find-eoh): Give an explicit error.
18853
42c7e61e
UJ
188542011-05-13 Ulf Jasper <ulf.jasper@web.de>
18855
c2571358 18856 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18857 family from helvetica to sans.
c2571358 18858 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18859 etc/images/newsticker.
18860
c2571358 18861 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18862 family from helvetica to sans.
18863
18864 * net/newst-plainview.el (newsticker-new-item-face)
18865 (newsticker-old-item-face, newsticker-immortal-item-face)
18866 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18867 (newsticker-statistics-face): Change default family from
42c7e61e 18868 helvetica to sans.
c2571358 18869 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18870 etc/images/newsticker.
18871
5d3385a0
JB
18872 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18873 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18874 auto-marking.
18875
8497a297
DV
188762011-05-13 Didier Verna <didier@xemacs.org>
18877
18878 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18879 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18880 TODO entries.
8497a297
DV
18881 (lisp-lambda-list-keyword-parameter-indentation)
18882 (lisp-lambda-list-keyword-parameter-alignment)
18883 (lisp-lambda-list-keyword-alignment): New customizable user options.
18884 (lisp-indent-defun-method): Improve docstring.
18885 (extended-loop-p): Fix comment.
18886 (lisp-indent-lambda-list-keywords-regexp): New variable.
18887 (lisp-indent-lambda-list): New function.
18888 (lisp-indent-259): Use it.
18889 (lisp-indent-defmethod): Support for more than one
18890 method qualifier and properly indent methods lambda-lists.
18891 (defgeneric): Provide a missing common-lisp-indent-function property.
18892
f278f87f
SM
188932011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18894
18895 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18896 bounds for the empty string (bug#8667).
18897
5233edd7
GM
188982011-05-13 Glenn Morris <rgm@gnu.org>
18899
5237a44f
GM
18900 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18901
8340026c 18902 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18903 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18904
5233edd7 18905 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18906 (appt-time-msg-list): Doc fix.
a5464014 18907 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18908
92d10796
AS
189092011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18910
18911 * progmodes/ld-script.el (ld-script-keywords)
18912 (ld-script-builtins): Update keywords list.
18913
914a0ae1
SM
189142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18915
c89be45f
SM
18916 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18917
914a0ae1
SM
18918 * shell.el (shell-completion-vars): New function.
18919 (shell-mode):
18920 * simple.el (read-shell-command): Use it.
18921 (blink-matching-open): No need for " [...]" in minibuffer-message.
18922
98dc3df3
GM
189232011-05-12 Glenn Morris <rgm@gnu.org>
18924
18925 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18926 (appt-check): Simplify.
18927
d2fc7e3d 189282011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18929
4d61f28d 18930 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18931 literal "/dev/null".
18932
d2fc7e3d 189332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18934
18935 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18936 Fix typo.
18937
d2fc7e3d 189382011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18939
3f254caa
SM
18940 * progmodes/which-func.el (which-function):
18941 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18942 which might not be defined (Bug#8260).
18943
d45885f7
GM
189442011-05-12 Glenn Morris <rgm@gnu.org>
18945
18946 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18947 Let byte-compile-initial-macro-environment always take precedence.
18948
488086f4
SM
189492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18950
18951 * net/rcirc.el: Add support for SSL/TLS connections.
18952 (rcirc-server-alist): New field `encryption'.
18953 (rcirc): Check `encryption' settings.
18954 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18955 Merge make-local-variable into `set'.
18956 (rcirc--connection-open-p): New function.
18957 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18958 the process is not a network process (e.g. running gnutls-cli).
18959 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18960 Make rcirc-(en|de)code-coding-system local here.
18961 (rcirc-mode): Merge make-local-variable into `set'.
18962 (rcirc-parent-buffer): Make permanent buffer-local.
18963 (rcirc-multiline-minor-mode): Don't do it here.
18964 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18965 there's no server buffer.
18966
7d3b9d44
GM
189672011-05-11 Glenn Morris <rgm@gnu.org>
18968
f64049c6
GM
18969 * newcomment.el (comment-kill): Prefix "unused" local.
18970
93c9df73
GM
18971 * term/w32console.el (get-screen-color): Declare.
18972
7d3b9d44
GM
18973 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18974 Handle symbol elements of byte-compile-initial-macro-environment.
18975
9e2dd53f
LL
189762011-05-10 Leo Liu <sdl.web@gmail.com>
18977
488086f4
SM
18978 * bookmark.el (bookmark-bmenu-mode-map):
18979 Bind bookmark-bmenu-search to `/'.
8b340240 18980
9e2dd53f 18981 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18982 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18983 (Footnote-unicode): New function.
18984 (footnote-style-alist): Add unicode style to the list.
18985 (footnote-style): Doc fix.
9e2dd53f 18986
79b70037
GM
189872011-05-10 Jim Meyering <meyering@redhat.com>
18988
18989 Fix doubled-word typos.
18990 * international/quail.el (quail-insert-kbd-layout): and and -> and
18991 * kermit.el: and and -> and
18992 * net/ldap.el (ldap-search-internal): to to -> to
18993 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18994 * progmodes/js.el (js-mode): and and -> and
18995 * textmodes/artist.el (artist-move-to-xy): at at -> at
18996 (artist-draw-region-trim-line-endings): if if -> if
18997 And Safetyc -> Safety.
18998 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18999
b8f82dc1 190002011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19001 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19002
19003 * files.el (hack-one-local-variable-eval-safep):
19004 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19005
4f99f44b
GM
190062011-05-10 Glenn Morris <rgm@gnu.org>
19007
19008 * calendar/diary-lib.el (diary-list-entries-hook)
19009 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19010 (diary-nongregorian-marking-hook, diary-list-entries)
19011 (diary-include-other-diary-files, diary-mark-entries)
19012 (diary-mark-included-diary-files): Doc fixes.
19013
84f29e6b
JB
190142011-05-09 Juanma Barranquero <lekktu@gmail.com>
19015
19016 * misc.el: Require tabulated-list.el during compilation.
19017
9bedd73a
CY
190182011-05-09 Chong Yidong <cyd@stupidchicken.com>
19019
488086f4
SM
19020 * progmodes/compile.el (compilation-start):
19021 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19022 (compilation-filter-hook): Doc fix.
19023
797c735c
DD
190242011-05-09 Deniz Dogan <deniz@dogan.se>
19025
19026 * wdired.el: Remove outdated installation comment. Fix usage
19027 comment.
19028
5f4b1dfe
JB
190292011-05-09 Juanma Barranquero <lekktu@gmail.com>
19030
19031 * misc.el: Implement new command `list-dynamic-libraries'.
19032 (list-dynamic-libraries--loaded-only-p): New variable.
19033 (list-dynamic-libraries--refresh): New function.
19034 (list-dynamic-libraries): New command.
19035
4c44026c
CY
190362011-05-09 Chong Yidong <cyd@stupidchicken.com>
19037
488086f4
SM
19038 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19039 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19040 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19041 higher priority to avoid clobbering by gnu.
19042
027f966d
CY
190432011-05-08 Chong Yidong <cyd@stupidchicken.com>
19044
19045 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19046 if the face has existing theme settings (Bug#8454).
19047
085f5d7d
CY
190482011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19049
488086f4
SM
19050 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19051 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19052
2a86a00c
RS
19053 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19054 special file names `.' and `..' (Bug#8259).
19055
d9c54a06
CY
190562011-05-08 Chong Yidong <cyd@stupidchicken.com>
19057
488086f4
SM
19058 * progmodes/grep.el (grep-mode-font-lock-keywords):
19059 Remove buffer-changing entries.
d9c54a06
CY
19060 (grep-filter): New function.
19061 (grep-mode): Add it to compilation-filter-hook.
19062
19063 * progmodes/compile.el (compilation-filter-hook)
19064 (compilation-filter-start): New defvars.
19065 (compilation-filter): Call compilation-filter-hook prior to
19066 updating the process mark.
19067
c4662635
SM
190682011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19069
19070 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19071
b0512a1d
EZ
190722011-05-07 Eli Zaretskii <eliz@gnu.org>
19073
605c9376
EZ
19074 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19075 mailclient-send-it even if window-system is nil. (Bug#8595)
19076
c4662635
SM
19077 * term/w32console.el (terminal-init-w32console):
19078 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19079 background-mode. (Bug#8597)
19080
d1dc2cc2
SM
190812011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19082
19083 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19084 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19085 New functions.
19086 (defgeneric, eieio--defmethod): Use them.
19087 (eieio-defgeneric): Remove.
19088 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19089
915d1300
GM
190902011-05-07 Glenn Morris <rgm@gnu.org>
19091
a3961c3e
GM
19092 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19093 Use let rather than let*.
19094 (timeclock-find-discrep): Remove unused local.
19095
314347b9
GM
19096 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19097
915d1300
GM
19098 * calendar/appt.el (appt-time-msg-list): Doc fix.
19099
275b59b0
NF
191002011-05-06 Noah Friedman <friedman@splode.com>
19101
19102 * apropos.el (apropos-print-doc): Only use
19103 emacs-lisp-docstring-fill-column when it is bound to an integer,
19104 per that variable's documentation.
19105
6c19f744
SM
191062011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19107
19108 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19109 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19110
60f884b2
GM
191112011-05-06 Glenn Morris <rgm@gnu.org>
19112
5006e634
GM
19113 * calendar/appt.el (appt-message-warning-time): Doc fix.
19114 (appt-warning-time-regexp): New option.
19115 (appt-make-list): Respect appt-message-warning-time.
19116
548d0a63
GM
19117 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19118 New options.
19119 (diary-add-to-list): Strip comments from the displayed string.
19120 (diary-mode): Set comment-start and comment-end.
19121
60f884b2
GM
19122 * vc/diff-mode.el (smerge-refine-subst): Declare.
19123 (diff-refine-hunk): Don't require smerge-mode when compiling.
19124
989681bb
JB
191252011-05-06 Juanma Barranquero <lekktu@gmail.com>
19126
19127 * simple.el (list-processes): Return nil as the docstring says.
19128
a6bc05e1
MA
191292011-05-05 Michael Albinus <michael.albinus@gmx.de>
19130
19131 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19132 to "".
19133 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19134 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19135 determining of binary transfer. (Bug#7383)
19136
23c22e9a
MA
191372011-05-05 Michael Albinus <michael.albinus@gmx.de>
19138
c4662635
SM
19139 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19140 Fix port computation bug. (Bug#8618)
23c22e9a 19141
0bff894f
GM
191422011-05-05 Glenn Morris <rgm@gnu.org>
19143
b8296902
GM
19144 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19145
1f522ce8
GM
19146 * simple.el (shell-dynamic-complete-functions)
19147 (comint-dynamic-complete-functions): Declare.
19148
cf5bee67
GM
19149 * net/network-stream.el (gnutls-negotiate):
19150 * simple.el (tabulated-list-print): Fix declarations.
19151
19152 * progmodes/gud.el (syntax-symbol, syntax-point):
19153 Remove unnecessary and incorrect declarations.
19154
0bff894f 19155 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19156 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19157
9869b3ae
SM
191582011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19159
19160 Fix earlier half-done eieio-defmethod change (bug#8338).
19161 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19162 Streamline and change calling convention.
19163 (defmethod): Adjust accordingly and simplify.
19164 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19165 new eieio--defmethod.
19166 (slot-boundp): Minor CSE simplification.
19167
9c1d5ac5
MZ
191682011-05-05 Milan Zamazal <pdm@zamazal.org>
19169
19170 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19171 (glasses-make-readable): Use glasses-separate-capital-groups.
19172
455c834e
JB
191732011-05-05 Juanma Barranquero <lekktu@gmail.com>
19174
19175 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19176 (warning-series): Doc fix.
19177 (display-warning): Don't try to create the buffer if we just found it.
19178
9ed7c8cb
CY
191792011-05-04 Chong Yidong <cyd@stupidchicken.com>
19180
19181 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19182 (autoload-find-generated-file): New function.
19183 (generate-file-autoloads): Bind generated-autoload-file to
19184 buffer-file-name.
9869b3ae
SM
19185 (update-file-autoloads, update-directory-autoloads):
19186 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19187 output file (Bug#7989).
19188 (batch-update-autoloads): Doc fix.
19189
0898ca10
JB
191902011-05-04 Juanma Barranquero <lekktu@gmail.com>
19191
19192 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19193
31dfb76c
GM
191942011-05-04 Glenn Morris <rgm@gnu.org>
19195
f330b642
GM
19196 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19197 function, so it follows changes in calendar-date-style.
19198 (diary-fancy-date-matcher): New function.
19199 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19200 (diary-fancy-font-lock-fontify-region-function):
19201 Use diary-fancy-date-pattern as a function.
19202
31dfb76c
GM
19203 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19204 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19205
48e79d6a
TZ
192062011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19207
19208 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19209 instead of positional arguments. Allow :keylist and :crlfiles
19210 arguments.
19211 (open-gnutls-stream): Call it.
19212
19213 * net/network-stream.el (network-stream-open-starttls): Adjust to
19214 call `gnutls-negotiate' with :process and :hostname arguments.
19215
dd5a5ee0
SM
192162011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19217
ef80fc09
SM
19218 * minibuffer.el (completion--message): New function.
19219 (completion--do-completion, minibuffer-complete)
19220 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19221 (completion--do-completion): Don't ignore completion-auto-help when in
19222 icomplete-mode.
19223
dd5a5ee0
SM
19224 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19225 internal encoding (e.g. tibetan zero is not whitespace).
19226 (global-whitespace-mode): Prefer save-current-buffer.
19227 (whitespace-trailing-regexp): Remove useless save-match-data.
19228 (whitespace-empty-at-bob-regexp): Minor simplification.
19229
b7d22a83
CY
192302011-05-03 Chong Yidong <cyd@stupidchicken.com>
19231
19232 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19233
5192af46
AM
192342011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19235
19236 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19237 Use `concat' to create string for insertion.
5192af46 19238
5767d190
SM
192392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19240
19241 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19242 Avoid open-line which runs post-self-insert-hook.
19243 (bibtex-fill-entry): Remove unused `end' var.
19244
bf242939
AM
192452011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19246
5767d190
SM
19247 * textmodes/ispell.el (ispell-add-per-file-word-list):
19248 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19249
25666126
LL
192502011-05-03 Leo Liu <sdl.web@gmail.com>
19251
19252 * isearch.el (isearch-yank-pop): New command.
5767d190 19253 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19254 (isearch-forward): Mention it.
19255
52d3c2d0
SM
192562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19257
1bcace58
SM
19258 * simple.el (minibuffer-complete-shell-command): Remove.
19259 (minibuffer-local-shell-command-map): Use completion-at-point.
19260 (read-shell-command): Setup completion vars here instead.
19261 (read-expression-map): Bind TAB to symbol completion.
19262
52d3c2d0
SM
19263 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19264 error directly rather via storing it into `results'.
19265
35813471
LL
192662011-05-02 Leo Liu <sdl.web@gmail.com>
19267
19268 * vc/diff.el: Fix description.
19269
e793a940
LMI
192702011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19271
19272 * server.el (server-eval-at): New function.
19273
8de66e05
LMI
192742011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19275
19276 * net/network-stream.el (open-network-stream): Take a :nowait
19277 parameter and pass it on to `make-network-process'.
19278 (network-stream-open-plain): Ditto.
19279
dcb79f20
AS
192802011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19281
19282 * faces.el (face-spec-set-match-display): Don't match toolkit
19283 options on terminal frames.
19284
14a7fbd8
SM
192852011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19286
7eabc1be
SM
19287 * progmodes/pascal.el: Use lexical binding.
19288 (pascal-mode-map): Remove author preferences.
19289
14a7fbd8
SM
19290 * pcomplete.el (pcomplete-std-complete): Don't abuse
19291 completion-at-point.
19292
50f84510
JB
192932011-04-28 Juanma Barranquero <lekktu@gmail.com>
19294
6e087a44
JB
19295 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19296 removing code that has been dead since 1991 or so.
19297
50f84510
JB
19298 * startup.el (command-line): When warning about "_emacs", use a
19299 delayed warning to allow the user to filter it out.
19300
0ba690bd
DD
193012011-04-28 Deniz Dogan <deniz@dogan.se>
19302
19303 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19304 user has not joined.
19305
08abfaad
SM
193062011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19307
19308 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19309 aren't any completions at point.
19310
638f053a
JB
193112011-04-28 Juanma Barranquero <lekktu@gmail.com>
19312
19313 * subr.el (display-delayed-warnings): New function.
19314 (delayed-warnings-hook): New variable.
19315
8fff8daa
SM
193162011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19317
08abfaad
SM
19318 * minibuffer.el (completion-at-point, completion-help-at-point):
19319 Don't presume that a given completion-at-point-function will always
19320 use the same calling convention.
19321
8fff8daa
SM
19322 * pcomplete.el (pcomplete-completions-at-point):
19323 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19324 pcomplete-seen is non-nil.
19325 (pcomplete-comint-setup): Also recognize the new comint/shell
19326 completion functions.
19327 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19328 pcomplete-seen is non-nil.
19329
841a1577 193302011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19331
841a1577 19332 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19333 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19334 the first character in the entry. This allows for code to add its
211ec907
UJ
19335 own uid to the entry.
19336 (icalendar--convert-float-to-ical): Add export of
19337 `diary-float'-entries save for those with the optional DAY
19338 argument.
19339
2a782793
DC
193402011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19341
19342 * subr.el (shell-quote-argument): Use alternate escaping strategy
19343 when we spot a variable reference in a string.
19344
0438ce91
DC
193452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19346
19347 * cus-start.el (all): Define customization for debug-on-event.
19348
841a1577 193492011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19350
19351 * subr.el (shell-quote-argument): Escape correctly under Windows.
19352
d090ed6c
SM
193532011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19354
19355 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19356
bfd31217
MA
193572011-04-25 Michael Albinus <michael.albinus@gmx.de>
19358
d090ed6c
SM
19359 * net/tramp.el (tramp-process-actions): Add POS argument.
19360 Delete region between POS and (pos).
bfd31217 19361
d090ed6c
SM
19362 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19363 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19364 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19365
19366 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19367 position in `tramp-process-actions' call.
19368
19369 * net/trampver.el: Update release number.
19370
e92f3bd3
SM
193712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19372
850256b5
SM
19373 * custom.el (defcustom): Obey lexical-binding.
19374
e92f3bd3
SM
19375 Fix octave-inf completion problems reported by Alexander Klimov.
19376 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19377 Inherit from octave-mode-syntax-table.
19378 (inferior-octave-mode): Set info-lookup-mode.
19379 (inferior-octave-completion-at-point): New function.
19380 (inferior-octave-complete): Use it and completion-in-region.
19381 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19382 comint-filename-completion.
19383 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19384 symbol elements which shouldn't be word elements.
19385 (octave-font-lock-keywords, octave-beginning-of-defun)
19386 (octave-function-header-regexp): Adjust regexps accordingly.
19387 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19388
cd22b309
JB
193892011-04-25 Juanma Barranquero <lekktu@gmail.com>
19390
19391 * net/gnutls.el (gnutls-errorp): Declare before first use.
19392
8b492194
TZ
193932011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19394
19395 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19396 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19397 default trustfile exists before going to use it. Add missing
5a5fa834 19398 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19399 Reported by Claudio Bley <claudio.bley@gmail.com>.
19400 (open-gnutls-stream): Add usage example.
19401
19402 * net/network-stream.el (network-stream-open-starttls): Give host
19403 parameter to `gnutls-negotiate'.
19404 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19405 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19406
841a1577 194072011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19408
cd22b309
JB
19409 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19410 Use correct match group (bug#8438).
05842630 19411
3ba7869c
CY
194122011-04-24 Chong Yidong <cyd@stupidchicken.com>
19413
512e3ae1
CY
19414 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19415 (package-menu--generate): New arg specifying packages to show.
19416 (package-menu-refresh, package-menu-execute, list-packages):
19417 Callers changed.
19418 (package-show-package-list): New function, replacing deleted
19419 package--list-packages (renamed because it is non-internal).
19420
19421 * finder.el (finder-list-matches): Use package-show-package-list
19422 instead of deleted package--list-packages.
19423
e92f3bd3
SM
19424 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19425 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19426 (vc-annotate-mode-map): Bind it to RET.
19427
7031be6d
UR
194282011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19429
19430 * progmodes/etags.el (next-file): Don't use set-buffer to change
19431 buffers (Bug#8478).
19432
4ef177aa
CY
194332011-04-24 Chong Yidong <cyd@stupidchicken.com>
19434
c8d173eb
CY
19435 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19436
4ef177aa
CY
19437 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19438 (apropos-accumulator): Doc fix.
19439 (apropos-function, apropos-macro, apropos-command)
19440 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19441 (apropos-plist): Add face property.
19442 (apropos-symbols-internal): Fix indentation.
19443 (apropos-print): Simplify help, and recognize apropos-multi-type.
19444 (apropos-print-doc): Use button-type-get to extract the button's
19445 face property. Fill docstring (Bug#8352).
19446
4ffd0d6b 194472011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19448
19449 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19450
c6c32125 19451 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19452 (mpuz-mode-map): Use mapc.
c6c32125
JB
19453 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19454 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19455 Fix typos in docstrings.
19456
58d468b4
JB
19457 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19458 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19459
6470c3c6
JB
19460 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19461
4ffd0d6b 194622011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19463
19464 * minibuffer.el (completion--do-completion): Avoid the "Next char
19465 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19466
3ad8bad0
CY
19467 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19468 mouse-2 into unread-command-events, it is interpreted correctly.
19469
71d73c9c 19470 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19471 (image-toggle-display): Doc fix.
71d73c9c 19472
841a1577 194732011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19474
4ffd0d6b
GM
19475 * textmodes/page.el (what-page): Use line-number-at-pos to
19476 calculate line number (Bug#6825).
6e1dbaa9 19477
c2fb1b60
JB
194782011-04-22 Juanma Barranquero <lekktu@gmail.com>
19479
19480 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19481 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19482 Pass argument NO-DEFAULT to `find-tag-interactive'.
19483
e02f48d7
JB
194842011-04-22 Juanma Barranquero <lekktu@gmail.com>
19485
19486 Lexical-binding cleanup.
19487
19488 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19489 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19490 * progmodes/ada-prj.el (ada-prj-initialize-values)
19491 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19492 (ada-prj-show-value):
19493 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19494 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19495 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19496 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19497 * progmodes/bug-reference.el (bug-reference-push-button):
19498 * progmodes/fortran.el (fortran-line-length):
19499 * progmodes/glasses.el (glasses-change):
19500 * progmodes/octave-mod.el (octave-fill-paragraph):
19501 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19502 (python-pdbtrack-grub-for-buffer, python-sentinel):
19503 * progmodes/sql.el (sql-save-connection):
19504 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19505 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19506 Mark unused parameters.
19507
19508 * progmodes/compile.el (compilation--flush-directory-cache)
19509 (compilation--flush-parse, compile-internal): Mark unused parameters.
19510 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19511 (compilation-next-error-function): Remove unused variable `timestamp'.
19512
19513 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19514 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19515
19516 * progmodes/dcl-mode.el (dcl-end-of-command):
19517 Remove unused variable `start'.
19518 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19519 (dcl-option-value-basic, dcl-option-value-offset)
19520 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19521 Mark unused parameters.
19522 (dcl-save-local-variable): Remove unused variable `val'.
19523 (mode): Declare.
19524
19525 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19526 Mark unused parameters.
19527 (delphi-ignore-changes): Move before first use.
19528 (delphi-charset-token-at): Remove unused variable `start'.
19529 (delphi-else-start): Remove unused variable `if-count'.
19530 (delphi-comment-block-start, delphi-comment-block-end):
19531 Remove unused variable `kind'.
19532 (delphi-indent-line): Remove unused variable `new-point'.
19533
19534 * progmodes/ebrowse.el (ebrowse-files-list)
19535 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19536 Mark unused parameters. Don't quote `lambda'.
19537 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19538 Don't quote `lambda'.
19539 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19540 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19541 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19542 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19543 Use `ignore-errors'.
19544 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19545 (ebrowse-view/find-file-and-search-pattern)
19546 (ebrowse-view/find-member-declaration/definition):
19547 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19548 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19549 Rename parameter PREFIX-ARG to PREFIX.
19550 (ebrowse-tags-read-name): Remove unused variables `start' and
19551 `member-info'.
19552 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19553 to `tags-file'.
19554
19555 * progmodes/etags.el (local-find-tag-hook): Declare.
19556 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19557 Mark unused parameters.
19558
19559 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19560 (executable-interpret): Mark unused parameter.
19561
19562 * progmodes/flymake.el (flymake-process-sentinel)
19563 (flymake-after-change-function)
19564 (flymake-create-temp-with-folder-structure)
19565 (flymake-get-include-dirs-dot): Mark unused parameters.
19566 (flymake-safe-delete-directory): Remove unused variable `err'.
19567
19568 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19569 (speedbar-timer-fn, speedbar-line-text)
19570 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19571 (speedbar-center-buffer-smartly): Declare functions.
19572 (gdb-find-watch-expression): Remove unused variable `array'.
19573 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19574 (gdb-starting): Mark unused parameters.
19575 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19576 (gdb-table-string): Remove unused variable `res'.
19577 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19578 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19579 (gdb-display-buffer): Remove unused variable `cur-size'.
19580
19581 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19582 allow lexical-binding compilation.
19583 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19584 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19585 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19586 Mark unused parameters.
19587 (gud-gdb-marker-filter): Remove unused variable `match'.
19588 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19589 lambda expressions and funcall them, instead of using `fset'.
19590
19591 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19592 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19593
19594 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19595 variable `header-beg'; use `let'.
19596
19597 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19598 `restart', `last-sexp' and `at-do'.
19599
19600 * progmodes/js.el (js--debug): Mark unused parameter.
19601 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19602 (js--splice-into-items): Remove unused variable `item'.
19603 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19604
19605 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19606 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19607 (makefile-complete): Remove unused variable `try'.
19608 (makefile-fill-paragraph, makefile-match-function-end):
19609 Mark unused parameters.
19610
19611 * progmodes/octave-inf.el (inferior-octave-complete):
19612 Remove unused variable `proc'.
19613 (inferior-octave-output-digest): Mark unused parameter.
19614
19615 * progmodes/perl-mode.el (perl-calculate-indent):
19616 Remove unused variable `err'.
19617
19618 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19619 (prolog-indent-line): Mark unused parameters.
19620 (prolog-indent-line): Remove unused variable `beg'.
19621
19622 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19623 (reporter-dont-compact-list): Declare.
19624
19625 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19626 Remove unused variable `char'.
19627 (sh-debug): Mark unused parameter.
19628 (sh-get-indent-info): Remove unused variable `start'.
19629 (sh-calculate-indent): Remove unused variable `var'.
19630
19631 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19632 (simula-electric-keyword): Remove unused variable `null'.
19633 (simula-search-backward, simula-search-forward): Remove unused
19634 variables `begin' and `end'.
19635
19636 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19637 Remove unused variable `pos'.
19638 (vera-electric-tab, vera-comment-uncomment-region):
19639 Mark unused parameters.
19640 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19641
7ede3b65
CY
196422011-04-22 Chong Yidong <cyd@stupidchicken.com>
19643
19644 * emacs-lisp/package.el (package--builtins, package-alist)
19645 (package-load-descriptor, package-built-in-p, package-activate)
19646 (define-package, package-installed-p)
19647 (package-compute-transaction, package-buffer-info)
19648 (package--push): Doc fix. Distinguish more clearly between
19649 version strings and version lists.
19650
121656e9
JB
196512011-04-21 Juanma Barranquero <lekktu@gmail.com>
19652
19653 Lexical-binding cleanup.
19654
19655 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19656 (5x5-make-mutate-best):
19657 * play/fortune.el (fortune-in-buffer):
19658 * play/gomoku.el (gomoku-init-display):
19659 * play/solitaire.el (solitaire, solitaire-do-check):
19660 * play/tetris.el (tetris-default-update-speed-function):
19661 Mark unused parameters.
19662
19663 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19664 (bubbles--shift): Remove unused variable `char-org'.
19665 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19666 (bubbles--show-images): Remove unused variable `char'.
19667
19668 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19669 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19670 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19671 (decipher-analyze-buffer): Use ?\s.
19672 (decipher-make-checkpoint): Remove unused variable `mapping'.
19673
19674 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19675
19676 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19677 Remove unused variable `result'; use `let'.
19678
19679 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19680 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19681 (gametree-children-shown-p, gametree-compute-reduced-score):
19682 Use `ignore-errors'.
19683
19684 * play/handwrite.el (ps-lpr-switches): Declare.
19685 (handwrite): Remove unused variables `pmin' and `lastp'.
19686
19687 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19688
19689 * play/landmark.el (landmark-init-display)
19690 (landmark-update-naught-weights): Mark unused parameters.
19691 (landmark-y): Remove unused variable `noise'. Simplify.
19692 (landmark-human-plays): Remove unused variable `score'.
19693
19694 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19695 (mpuz-try-proposal): Remove unused variable `game'.
19696
19697 * play/zone.el (life-patterns): Declare.
19698
80f499c7
JB
196992011-04-20 Juanma Barranquero <lekktu@gmail.com>
19700
19701 * vc/vc.el (ediff-vc-internal): Declare function.
19702
024ff170
SM
197032011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19704
c0a193ea
SM
19705 * shell.el: Use lexical-binding and std completion UI.
19706 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19707 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19708 comint-preoutput-filter-functions rather than on
19709 comint-output-filter-functions.
19710 (shell-command-completion, shell--command-completion-data)
19711 (shell-filename-completion, shell-environment-variable-completion)
19712 (shell-c-a-p-replace-by-expanded-directory): New functions.
19713 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19714 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19715 (shell-dynamic-complete-environment-variable): Use them.
19716 (shell-dynamic-complete-as-environment-variable)
19717 (shell-dynamic-complete-as-command): Remove.
19718 (shell-match-partial-variable): Match past point.
19719 * comint.el: Clean up use of completion-at-point-functions.
19720 (comint-completion-at-point): New function.
19721 (comint-mode): Use it completion-at-point-functions.
19722 (comint-dynamic-complete): Make it obsolete.
19723 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19724 (comint-c-a-p-replace-by-expanded-history): New function.
19725 (comint-dynamic-complete-functions)
19726 (comint-replace-by-expanded-history): Use it.
19727 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19728 termination strings. Try harder to avoid second try-completion.
19729 (completion-in-region-mode-map): Disable bindings that don't work yet.
19730
2dbaa080
SM
19731 * comint.el: Use lexical-binding. Require CL.
19732 (comint-dynamic-complete-functions): Use comint-filename-completion.
19733 (comint-completion-addsuffix): Tweak custom type.
19734 (comint-filename-completion, comint--common-suffix)
19735 (comint--common-quoted-suffix, comint--table-subvert)
19736 (comint--complete-file-name-data): New functions.
19737 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19738 (comint-dynamic-list-filename-completions): Use them.
19739 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19740
2dbaa080
SM
19741 * minibuffer.el (completion-in-region-mode):
19742 Keep completion-in-region-mode--predicate global.
19743 (completion-in-region--postch):
19744 Assume completion-in-region-mode--predicate is not null.
19745
c79a6f38
SM
19746 * progmodes/flymake.el (flymake-start-syntax-check-process):
19747 Obey `dir'. Simplify.
19748
024ff170
SM
19749 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19750 we're in VC after all.
19751
1c6c854e
CS
197522011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19753
19754 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19755 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19756 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19757
bed7f140
SM
197582011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19759
332e62ab
SM
19760 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19761 add sanity check.
19762
bed7f140
SM
19763 * obsolete/erc-hecomplete.el: Make obsolete.
19764 * obsolete/: Standardize obsolescence info in the header.
19765
f195c582
GM
197662011-04-20 Glenn Morris <rgm@gnu.org>
19767
19768 * calendar/solar.el (solar-horizontal-coordinates):
19769 Use the longitude argument rather than `calendar-longitude'.
19770 (solar-date-next-longitude): Remove unused locals.
19771
cb79b8c0
VJL
197722011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19773
19774 * whitespace.el: New version 13.2.1.
19775
197762011-04-20 felix <EmacsWiki> (tiny change)
19777
d8e4b68b 19778 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19779 switching between major modes on a file.
19780
602ea69d
SM
197812011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19782
19783 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19784 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19785 multi-line comments as well.
19786
06b60517
JB
197872011-04-19 Juanma Barranquero <lekktu@gmail.com>
19788
19789 Lexical-binding cleanup.
19790
19791 * arc-mode.el (archive-mode-revert):
19792 * cmuscheme.el (scheme-interactively-start-process):
19793 * custom.el (custom-initialize-delay):
19794 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19795 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19796 * emacs-lock.el (emacs-lock-clear-sentinel):
19797 * ezimage.el (defezimage):
19798 * follow.el (follow-avoid-tail-recenter):
19799 * fringe.el (set-fringe-mode-1):
19800 * generic-x.el (bat-generic-mode-compile):
19801 * help-mode.el (help-info-variable, help-do-xref)
19802 (help-mode-revert-buffer):
19803 * help.el (view-emacs-todo):
19804 * iswitchb.el (iswitchb-completion-help):
19805 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19806 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19807 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19808 * locate.el (locate-update):
19809 * longlines.el (longlines-encode-region)
19810 (longlines-after-change-function):
19811 * outline.el (outline-isearch-open-invisible):
19812 * ps-def.el (declare-function, charset-dimension, char-width)
19813 (encode-char):
19814 * ps-mule.el (ps-mule-plot-string):
19815 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19816 (recentf-edit-list-select, recentf-edit-list-validate)
19817 (recentf-open-files-action):
19818 * rect.el (delete-whitespace-rectangle-line)
19819 (rectangle-number-line-callback):
19820 * register.el (window-configuration-to-register)
19821 (frame-configuration-to-register):
19822 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19823 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19824 (xselect-convert-to-targets, xselect-convert-to-delete)
19825 (xselect-convert-to-filename, xselect-convert-to-charpos)
19826 (xselect-convert-to-lineno, xselect-convert-to-colno)
19827 (xselect-convert-to-os, xselect-convert-to-host)
19828 (xselect-convert-to-user, xselect-convert-to-class)
19829 (xselect-convert-to-name, xselect-convert-to-integer)
19830 (xselect-convert-to-atom, xselect-convert-to-identity):
19831 * subr.el (declare, ignore, process-kill-without-query)
19832 (text-clone-maintain):
19833 * terminal.el (te-get-char, te-tic-sentinel):
19834 * tool-bar.el (tool-bar-make-keymap):
19835 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19836 * type-break.el (type-break-mode, type-break-noninteractive-query):
19837 * view.el (View-back-to-mark):
19838 * wid-browse.el (widget-browse-action, widget-browse-widget)
19839 (widget-browse-widgets, widget-browse-sexp):
19840 * widget.el (define-widget-keywords):
19841 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19842 Mark unused parameters.
19843
19844 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19845 (align-areas): Remove unused variable `look'.
19846 (align-region): Remove unused variables `real-end' and `pos-list'.
19847
19848 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19849
19850 * bindings.el (mode-line-modified, mode-line-remote):
19851 Mark unused parameters.
19852 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19853
19854 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19855 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19856
19857 * comint.el (comint-history-isearch-pop-state)
19858 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19859 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19860 (comint-substitute-in-file-name): Doc fix.
19861
19862 * completion.el (cmpl-statistics-block): Mark unused parameter.
19863 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19864 (save-completions-to-file, load-completions-from-file):
19865 Remove unused local variable `e'.
19866
19867 * composite.el (compose-chars): Remove unused variable `len'.
19868 (lgstring-insert-glyph): Remove unused variable `g'.
19869 (compose-glyph-string): Remove unused variables `ascent',
19870 `descent', `lbearing' and `rbearing'.
19871 (compose-glyph-string-relative): Remove unused variables
19872 `lbearing', `rbearing' and `wadjust'.
19873 (compose-gstring-for-graphic): Remove unused variables `header',
19874 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19875 (compose-gstring-for-terminal): Remove unused variables `header'
19876 and `nchars'. Use `let', not `let*'.
19877
19878 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19879 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19880 (Custom-buffer-done, custom-buffer-create-internal)
19881 (custom-browse-visibility-action, custom-browse-group-tag-action)
19882 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19883 (widget-magic-mouse-down-action, custom-toggle-parent)
19884 (custom-add-parent-links, custom-toggle-hide-variable)
19885 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19886 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19887 (custom-face-menu-create, custom-variable-menu-create, get)
19888 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19889 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19890 (customize-apropos): Remove unused variable `tests'.
19891 (custom-group-value-create): Remove unused variable `hidden-p'.
19892 (sort-fold-case): Declare.
19893
19894 * cus-theme.el (custom-reset-standard-faces-list)
19895 (custom-reset-standard-variables-list): Declare.
19896 (customize-create-theme, custom-theme-revert, custom-theme-write)
19897 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19898 Mark unused parameters.
19899
19900 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19901
19902 * delim-col.el (delimit-columns-max): Move defvar before first use.
19903
19904 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19905 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19906
19907 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19908 (auto-insert): Declare.
19909 (desktop-restore-file-buffer): Rename desktop-* parameters;
19910 mark unused ones.
19911 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19912 (desktop-buffer): Rename desktop-* parameters.
19913
19914 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19915 (dframe-reposition-frame-xemacs, dframe-help-echo)
19916 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19917 Mark unused parameters.
19918
19919 * dired-aux.el (backup-extract-version-start, overwrite-query)
19920 (overwrite-backup-query, rename-regexp-query)
19921 (rename-non-directory-query): Declare.
19922 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19923 (dired-add-entry): Remove unused variable `orig-file-name'.
19924 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19925 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19926 `dired-copy-preserve-time' directly.
19927 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19928 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19929
19930 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19931 (dired-virtual-revert, dired-make-relative-symlink):
19932 Mark unused parameters.
19933 (manual-program): Declare.
19934 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19935 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19936 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19937
19938 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19939
19940 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19941
19942 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19943 Declare.
19944
19945 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19946
19947 * electric.el (Electric-command-loop): Rename parameter
19948 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19949
19950 * expand.el (expand-in-literal): Remove unused variable `here'.
19951
19952 * facemenu.el (facemenu-add-new-color):
19953 Remove unused variable `docstring'.
19954
19955 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19956 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19957 (face-attr-construct): Mark unused parameter. Doc fix.
19958 (read-color): Remove unused variable `hex-string'.
19959
19960 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19961 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19962 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19963 (display-buffer-other-frame): Remove unused variable `old-window'.
19964 (kill-buffer-hook): Declare.
19965 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19966 Mark unused parameters.
19967 (after-find-file): Pass 1 to `auto-save-mode', not t.
19968
19969 * files-x.el (auto-insert): Declare.
19970 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19971
19972 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19973 variable `buf'. Mark unused parameter.
06b60517
JB
19974 (find-lisp-insert-directory): Mark unused parameter.
19975
19976 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19977 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19978 (format-common-tail): Remove, unused.
19979 (format-deannotate-region): Remove unused variable `loc'.
19980 (format-annotate-region): Remove unused variable `p'.
19981 (format-annotate-single-property-change): Remove unused variables
19982 `default' and `tail'.
19983
19984 * forms.el (read-file-filter): Declare.
19985 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19986
19987 * frame.el (frame-creation-function-alist): Mark unused parameter.
19988 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19989
19990 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19991 Remove unused parameters.
19992 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19993 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19994
19995 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19996 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19997 (hfy-prepare-tag-map): Mark unused parameters.
19998 (htmlfontify-buffer): Use `called-interactively-p'.
19999
20000 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20001 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20002 (ibuffer-do-occur): Mark unused parameters.
20003 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20004 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20005
20006 * ibuffer.el: Don't quote `lambda'.
20007 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20008 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20009 Mark unused parameters.
20010
20011 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20012 (ido-completing-read): Mark unused parameters.
20013 (ido-copy-current-word): Mark unused parameters;
20014 remove unused variable `name'.
20015 (ido-sort-merged-list): Remove unused parameter `dirs'.
20016
20017 * ielm.el (ielm-input-sender): Mark unused parameter.
20018 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20019 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20020 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20021 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20022 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20023
20024 * image-dired.el (image-dired-display-thumbs): Remove unused
20025 variables `curr-file' and `count'.
20026 (image-dired-remove-tag): Remove unused variable `start'.
20027 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20028 variable `curr-file'
20029 (image-dired-rotate-original): Remove unused variable `temp-file'.
20030 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20031 Remove unused variable `file'.
20032 (image-dired-gallery-generate): Remove unused variable `curr'.
20033 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20034
20035 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20036
20037 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20038
20039 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20040
20041 * isearch.el (minibuffer-history-symbol): Declare.
20042 (isearch-edit-string): Remove unused variable `err'.
20043 (isearch-message-prefix, isearch-message-suffix):
20044 Mark unused parameters.
20045
20046 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20047
20048 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20049
20050 * makesum.el (double-column): Remove unused variable `cnt'.
20051
20052 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20053 (ido-ignore-item-temp-list): Declare.
20054
20055 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20056 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20057 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20058 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20059 `mouse-col-delta'.
20060
20061 * mouse-sel.el (mouse-extend-internal):
20062 Remove unused variable `orig-window-frame'.
20063
20064 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20065 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20066 Move declarations before first use.
20067 (pcomplete-opt): Mark unused parameters; doc fix.
20068
20069 * proced.el (proced-revert): Mark unused parameter.
20070 (proced-send-signal): Remove unused variable `err'.
20071
20072 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20073 Rename parameter PREFIX-ARG to ARG.
20074 (ps-basic-plot-string, ps-basic-plot-whitespace):
20075 Mark unused parameters.
20076
20077 * replace.el (replace-count): Define.
20078 (occur-revert-function): Mark unused parameters.
20079 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20080 (isearch-case-fold-search, isearch-string): Declare.
20081 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20082 bind `case-fold-search'. Remove unused variables `beg' and `end',
20083 and simplify.
20084 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20085 COUNT and bind `replace-count'.
20086 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20087 to COUNT.
20088
20089 * savehist.el (print-readably, print-string-length): Declare.
20090
20091 * shadowfile.el (shadow-expand-cluster-in-file-name):
20092 Remove unused variable `cluster'.
20093 (shadow-copy-file): Remove unused variable `i'.
20094 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20095 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20096 (shadow-define-literal-group, shadow-define-regexp-group)
20097 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20098
20099 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20100 (shell): Use `called-interactively-p'.
20101 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20102
20103 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20104 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20105 (delete-backward-char): Remove unused variable `ocol'.
20106 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20107 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20108 (event-apply-hyper-modifier, event-apply-shift-modifier)
20109 (event-apply-control-modifier, event-apply-meta-modifier):
20110 Mark unused parameters.
20111 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20112 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20113
20114 * speedbar.el (speedbar-ignored-directory-expressions)
20115 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20116 (speedbar-find-file, speedbar-dir-follow)
20117 (speedbar-directory-buttons-follow, speedbar-tag-find)
20118 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20119 (speedbar-buffers-line-directory, speedbar-buffer-click):
20120 Mark unused parameters.
20121 (speedbar-tag-file): Remove unused variable `mode'.
20122 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20123
20124 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20125
20126 * talk.el (talk): Remove unused variable `display'.
20127
20128 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20129 (tar-write-region-annotate): Mark unused parameter.
20130
20131 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20132 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20133 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20134 warning by another.
20135
20136 * time-stamp.el (time-stamp-string-preprocess):
20137 Remove unused variable `require-padding'.
20138
20139 * tree-widget.el (widget-glyph-enable): Declare.
20140 (tree-widget-action): Mark unused parameter.
20141
20142 * w32-fns.el (x-get-selection): Mark unused parameter.
20143 (autoload-make-program, generated-autoload-file): Declare.
20144
20145 * wdired.el (wdired-revert): Mark unused parameters.
20146 (wdired-xcase-word): Remove unused variable `err'.
20147
20148 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20149 (whitespace-help-scroll): Remove unused variable `data-help'.
20150
20151 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20152 (widget-image-insert, widget-after-change, default)
20153 (widget-default-format-handler, widget-default-notify)
20154 (widget-default-prompt-value, widget-info-link-action)
20155 (widget-url-link-action, widget-function-link-action)
20156 (widget-variable-link-action, widget-file-link-action)
20157 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20158 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20159 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20160 (widget-insert-button-action, widget-delete-button-action, visibility)
20161 (widget-documentation-link-action, widget-documentation-string-action)
20162 (widget-const-prompt-value, widget-regexp-match, symbol)
20163 (widget-coding-system-prompt-value)
20164 (widget-key-sequence-value-to-external, sexp)
20165 (widget-sexp-value-to-internal, character, vector, cons)
20166 (widget-choice-prompt-value, widget-boolean-prompt-value)
20167 (widget-color--choose-action): Mark unused parameters.
20168 (widget-item-match-inline, widget-choice-match-inline)
20169 (widget-checklist-match, widget-checklist-match-inline)
20170 (widget-group-match): Rename parameter VALUES to VALS.
20171 (widget-field-value-set): Remove unused variable `size'.
20172 (widget-color-action): Remove unused variables `value' and `start'.
20173
20174 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20175 variable `dir'. Doc fix.
06b60517
JB
20176 (windmove-find-other-window): Don't pass it.
20177
20178 * window.el (count-windows): Mark unused parameter.
20179 (bw-adjust-window): Remove unused variable `err'.
20180
20181 * woman.el (woman-file-name): Remove unused variable `default'.
20182 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20183 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20184 (global-font-lock-mode): Declare.
20185 (woman-decode-region): Mark unused parameter.
20186 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20187
20188 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20189 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20190 (x-dnd-handle-moz-url): Remove unused variable `title'.
20191 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20192
20193 * xml.el (xml-parse-tag, xml-parse-attlist):
20194 Remove unused variable `pos'.
20195
bc4f7f3d
GM
201962011-04-19 Glenn Morris <rgm@gnu.org>
20197
20198 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20199 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20200 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20201 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20202 * calendar/cal-html.el (cal-html-insert-minical):
20203 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20204 (calendar-mark-date-pattern):
20205 Prefix "unused" locals.
20206
20207 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20208 optional argument `style'.
20209
20210 * calendar/appt.el (appt-make-list):
20211 * calendar/cal-china.el (calendar-chinese-date-string):
20212 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20213 (diary-hebrew-yahrzeit):
20214 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20215 * calendar/calendar.el (calendar-generate-window):
20216 * calendar/time-date.el (time-to-days):
20217 Remove unused local variables.
20218
16a43933
CY
202192011-04-18 Chong Yidong <cyd@stupidchicken.com>
20220
20221 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20222 glyphless-char-display table.
20223 (tabulated-list-glyphless-char-display): New var.
20224
7eed1860
SS
202252011-04-18 Sam Steingold <sds@gnu.org>
20226
20227 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20228 to acknowledgments.
20229
4d2d1ccd
GM
202302011-04-17 Glenn Morris <rgm@gnu.org>
20231
20232 * calendar/diary-lib.el (diary-sexp-entry):
20233 * calendar/holidays.el (holiday-sexp):
20234 Set debug-on-error rather than the removed stack-trace-on-error.
20235
239da61d
GM
202362011-04-16 Glenn Morris <rgm@gnu.org>
20237
20238 * progmodes/f90.el: Use lexical-binding.
20239 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20240
8b05752a
SM
202412011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20242
daca8ba5
SM
20243 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20244 (mail-mode): Setup mailalias completion here instead.
20245 * mail/mailalias.el: Use lexical-binding.
20246 (pattern, mailalias-done): Declare dynamic.
20247 (mail-completion-at-point-function): New function, from mail-complete.
20248 (mail-complete): Use it.
20249 (mail-completion-expand): New function.
20250 (mail-get-names): Use it.
20251 (mail-directory, mail-directory-process, mail-directory-stream):
20252 Don't use `pattern' for lexically bound arg.
20253
6f542485
SM
20254 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20255
037e7c3f
SM
20256 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20257 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20258 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20259
8b05752a
SM
20260 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20261 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20262 (byte-interactive-p): Define them again, for use when inlining
20263 old code.
20264
49093f60
JB
202652011-04-15 Juanma Barranquero <lekktu@gmail.com>
20266
20267 * loadup.el: Use `string-to-number', not `string-to-int'.
20268
b5b8e7de
SM
202692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20270
20271 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20272 gud-gdb-complete-command.
20273 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20274 (gud-gdb-completion-at-point): New function.
20275 (gud-gdb-completions): Remove.
20276
f42efeb5
MA
202772011-04-14 Michael Albinus <michael.albinus@gmx.de>
20278
49093f60
JB
20279 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20280 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20281 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20282 whether `executable-find' is bound.
f42efeb5
MA
20283
20284 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20285
e240cc21
SM
202862011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20287
20288 * minibuffer.el (completion-in-region-mode-predicate)
20289 (completion-in-region-mode--predicate): New vars.
20290 (completion-in-region, completion-in-region--postch)
20291 (completion-in-region-mode): Use them.
20292 (completion--capf-wrapper): Also return the hook function.
20293 (completion-at-point, completion-help-at-point):
20294 Adjust and provide a predicate.
c2bd2ab0
SM
20295
20296 Preserve arg names for advice of subr and lexical functions (bug#8457).
20297 * help-fns.el (help-function-arglist): Consolidate the subr and
20298 new-byte-code cases. Add argument `preserve-names' to extract names
20299 from the docstring when needed.
20300 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20301 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20302 (ad-arglist): Use help-function-arglist's new arg.
20303 (ad-definition-type): Use cond.
20304
c183f693
JB
203052011-04-13 Juanma Barranquero <lekktu@gmail.com>
20306
06641a47
JB
20307 * autorevert.el (auto-revert-handler):
20308 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20309 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20310 Don't quote lambda.
20311
c183f693
JB
20312 * image-mode.el (image-transform-set-scale):
20313 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20314
1e3b6001
G
203152011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20316
20317 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20318 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20319 Upgrades via gnutls-cli are too slow to be done opportunistically.
20320
2d6af8dd
JB
203212011-04-12 Juanma Barranquero <lekktu@gmail.com>
20322
20323 * dframe.el (dframe-current-frame): Remove spurious quote.
20324
c0749a51
GM
203252011-04-12 Glenn Morris <rgm@gnu.org>
20326
088d0d61
GM
20327 * calendar/cal-tex.el (cal-tex-end-document):
20328 Try to automatically use latin1 input if needed.
20329
c0749a51
GM
20330 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20331 Don't try to cons a mark onto an empty element.
20332
5c90fde0
LL
203332011-04-11 Leo Liu <sdl.web@gmail.com>
20334
20335 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20336 buffers.
20337 (ido-kill-buffer-at-head): Support killing virtual buffers.
20338
369e974d
CY
203392011-04-10 Chong Yidong <cyd@stupidchicken.com>
20340
20341 * minibuffer.el (completion-show-inline-help): New var.
20342 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20343 (minibuffer-force-complete, minibuffer-complete-word):
20344 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20345
20346 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20347 to avoid interference from inline help (Bug#5849).
20348
37f1c930
LL
203492011-04-10 Leo Liu <sdl.web@gmail.com>
20350
099c39a4
JB
20351 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20352 Fix typo.
37f1c930 20353
a32d4040
CY
203542011-04-09 Chong Yidong <cyd@stupidchicken.com>
20355
20356 * image-mode.el (image-toggle-display-image): Signal an error if
20357 not in Image mode.
20358 (image-transform-mode, image-transform-resize)
20359 (image-transform-set-rotation): Doc fix.
daca8ba5 20360 (image-transform-set-resize): Delete.
a32d4040
CY
20361 (image-transform-set-scale, image-transform-fit-to-height)
20362 (image-transform-fit-to-width): Handle image-toggle-display-image
20363 and image-transform-resize directly.
20364
099c39a4 203652011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20366
20367 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20368 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20369 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20370 (doc-view-mode-map): Add bindings for the new functions.
20371
099c39a4 203722011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20373
4d61f28d 20374 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20375 Fix typo in docstring.
20376
3726838a
EZ
203772011-04-08 Eli Zaretskii <eliz@gnu.org>
20378
04f33f1e
EZ
20379 * files.el (file-size-human-readable): Produce one digit after
20380 decimal, like "ls -lh" does.
20381
20382 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20383 the file size representation.
20384
3726838a
EZ
20385 * simple.el (list-processes): If async subprocesses are not
20386 available, error out with a clear error message.
20387
cbb59342
CY
203882011-04-08 Chong Yidong <cyd@stupidchicken.com>
20389
20390 * help.el (help-form-show): New function, to be called from C.
20391 Put help-form output in a buffer named differently than *Help*.
20392
e3971c44
EZ
203932011-04-08 Eli Zaretskii <eliz@gnu.org>
20394
20395 * files.el (file-size-human-readable): New function.
20396
20397 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20398 computing the representation inline. Don't require `cl'.
20399
12544bbe
GM
204002011-04-08 Glenn Morris <rgm@gnu.org>
20401
a1de6c6a
GM
20402 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20403
3c4671f4
GM
20404 * net/browse-url.el (browse-url-firefox):
20405 Test system-type, not system-configuration.
20406
b605679c
GM
20407 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20408 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20409 Use log-edit-empty-buffer-p. (Bug#7598)
20410
56442f0c
GM
20411 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20412 (rlogin-mode-map): Initialize in the defvar.
20413 (rlogin): Use ignore-errors.
20414
12544bbe
GM
20415 * replace.el (occur-mode-map): Some fixes for menu items.
20416
eb237b0f
AH
204172011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20418
20419 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20420
7d668f2c
CY
204212011-04-06 Chong Yidong <cyd@stupidchicken.com>
20422
e67a13ab
CY
20423 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20424 issuing unused warnings.
20425
20426 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20427 macro directly.
20428
7d668f2c
CY
20429 * simple.el: Lisp reimplement of list-processes. Based on an
20430 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20431 (process-menu-mode): New major mode.
20432 (list-processes--refresh, list-processes):
20433 (process-menu-visit-buffer): New functions.
20434
20435 * files.el (save-buffers-kill-emacs): Don't assume any return
20436 value of list-processes, which is undocumented anyway.
20437
a83ec3c9
CY
204382011-04-06 Chong Yidong <cyd@stupidchicken.com>
20439
20440 * emacs-lisp/tabulated-list.el: New file.
20441
e91a96fe
CY
20442 * emacs-lisp/package.el: Use Tabulated List mode.
20443 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20444 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20445 table format using Tabulated List mode variables.
20446 (package--push): New macro, replacing package-list-maybe-add.
20447 (package-menu--generate): Use package--push. Renamed from
20448 package--generate-package-list.
20449 (package-menu-refresh, list-packages): Use it.
daca8ba5 20450 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20451 Return insertion data instead of inserting it directly.
099c39a4
JB
20452 (package-menu-describe-package, package-menu-execute):
20453 Use tabulated-list-get-id.
e91a96fe
CY
20454 (package-menu-mark-delete, package-menu-mark-install)
20455 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20456 (package-menu-mark-obsolete-for-deletion):
20457 Use tabulated-list-put-tag.
e91a96fe
CY
20458 (package--list-packages, package-menu-revert)
20459 (package-menu-get-package, package-menu-get-version)
20460 (package-menu-sort-by-column): Functions deleted.
20461 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20462 (package-menu--status-predicate, package-menu--version-predicate)
20463 (package-menu--name-predicate)
20464 (package-menu--description-predicate): Handle arguments in the
20465 Tabulated List format.
20466 (package-list-packages-no-fetch): Call list-packages.
20467
3e214b50
JB
204682011-04-06 Juanma Barranquero <lekktu@gmail.com>
20469
20470 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20471 (after-find-file): Don't bind it.
3e214b50
JB
20472 (revert-buffer-in-progress-p): New variable.
20473 (revert-buffer): Bind it.
20474 Pass nil for `after-find-file-from-revert-buffer'.
20475
20476 * saveplace.el (save-place-find-file-hook): Use new variable
20477 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20478
3f0f1700
GM
204792011-04-06 Glenn Morris <rgm@gnu.org>
20480
c0274801
GM
20481 * Makefile.in (AUTOGEN_VCS): New variable.
20482 (autoloads): Use $AUTOGEN_VCS.
20483
3f0f1700
GM
20484 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20485 * calendar/calendar.el (calendar-mode-map):
20486 Check for toolkit scroll bars. (Bug#8305)
20487
41ea9e48
CY
204882011-04-05 Chong Yidong <cyd@stupidchicken.com>
20489
20490 * minibuffer.el (completion-in-region--postch)
20491 (completion-in-region-mode): Remove unnecessary messages.
20492
6194c800
JB
204932011-04-05 Juanma Barranquero <lekktu@gmail.com>
20494
33256f14
JB
20495 * font-lock.el (font-lock-refresh-defaults):
20496 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20497 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20498
6194c800
JB
20499 * info.el (Info-directory-list, Info-read-node-name-2)
20500 (Info-split-parameter-string): Doc fixes.
20501 (Info-virtual-nodes): Reflow docstring.
20502 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20503 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20504 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20505 Fix typos in docstrings.
20506 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20507 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20508 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20509 (Info-restore-desktop-buffer): Mark unused parameters.
20510 (Info-directory-find-file, Info-directory-find-node)
20511 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20512 (Info-virtual-index-find-node, Info-apropos-find-file)
20513 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20514 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20515 (Info-virtual-index): Remove unused local variable `nodename'.
20516
b87a8200 205172011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20518
b87a8200
DD
20519 * net/rcirc.el: Update my e-mail address.
20520 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20521
3b2ff876
CY
205222011-04-05 Chong Yidong <cyd@stupidchicken.com>
20523
20524 * startup.el (command-line): Save the cursor's theme-face
20525 directly, instead of using face-override-spec.
20526
20527 * custom.el (load-theme): Minor optimization in assigning faces.
20528
8d17e7ca
JB
205292011-04-04 Juanma Barranquero <lekktu@gmail.com>
20530
20531 * help-fns.el (describe-variable): Complete all variables having
20532 documentation, including keywords.
20533 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20534
2fbc1934
JB
205352011-04-04 Juanma Barranquero <lekktu@gmail.com>
20536
20537 Convert to lexical-binding.
20538
20539 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20540 (bs--get-marked-string, bs--get-modified-string)
20541 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20542 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20543 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20544
20545 * ehelp.el (electric-help-execute-extended)
20546 (electric-help-ctrl-x-prefix):
20547 * hexl.el (hexl-revert-buffer-function):
20548 * linum.el (linum-after-change, linum-after-scroll):
20549 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20550
20551 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20552
74f50695
DU
205532011-04-04 Daiki Ueno <ueno@unixuser.org>
20554
20555 * epa-dired.el:
20556 * epa-mail.el:
20557 * epa-hook.el:
20558 * epa-file.el:
20559 * epa.el:
20560 * epg.el: Use lexical binding.
20561
c11325f7
CY
205622011-04-03 Chong Yidong <cyd@stupidchicken.com>
20563
0d9e9a12
CY
20564 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20565
c11325f7 20566 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20567 dictionary case for flyspell-mark-duplications-exceptions.
20568 Use regexp matching for languages.
c11325f7
CY
20569 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20570 default dictionary (Bug#7926).
20571
da91b5f2
CY
205722011-04-02 Chong Yidong <cyd@stupidchicken.com>
20573
099c39a4
JB
20574 * emacs-lisp/package.el (package--with-work-buffer):
20575 Recognize https URLs.
da91b5f2 20576
099c39a4
JB
20577 * net/network-stream.el: Move from gnus/proto-stream.el.
20578 Change prefix to network-stream throughout.
da91b5f2
CY
20579 (open-protocol-stream): Merge into open-network-stream, leaving
20580 open-protocol-stream as an alias. Handle nil BUFFER args.
20581
20582 * subr.el (open-network-stream): Move to net/network-stream.el.
20583
afa8e9f6
GM
205842011-04-02 Glenn Morris <rgm@gnu.org>
20585
1d2e369d
GM
20586 * find-dired.el (find-exec-terminator): New option.
20587 (find-ls-option): Test for -ls support.
20588 (find-ls-subdir-switches): Test for -b in find-ls-option.
20589 (find-dired, find-grep-dired): Doc fixes.
20590 (find-dired): Use find-exec-terminator.
20591
8abb7da8 20592 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20593 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20594 (find-name-arg): Remove purecopy.
8abb7da8 20595
f3ca7378
GM
20596 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20597 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20598 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20599 accordingly. Don't add the null-device if not needed.
20600
afa8e9f6
GM
20601 * files.el (save-some-buffers): Doc fix.
20602
35eae264
EZ
206032011-04-02 Eli Zaretskii <eliz@gnu.org>
20604
20605 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20606
26b51db5
JB
206072011-04-01 Juanma Barranquero <lekktu@gmail.com>
20608
20609 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20610 Use `dolist' rather than `mapcar'.
20611
7200d79c
SM
206122011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20613
03408648 20614 Add lexical binding.
7200d79c 20615
03408648
SM
20616 * subr.el (apply-partially): Use new closures rather than CL.
20617 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20618 (dolist, dotimes): Use slightly different expansion for lexical code.
20619 (functionp): Move to C.
20620 (letrec): New macro.
20621 (with-wrapper-hook): Use it and apply-partially instead of CL.
20622 (eval-after-load): Preserve lexical-binding.
20623 (save-window-excursion, with-output-to-temp-buffer): Turn them
20624 into macros.
7200d79c 20625
03408648
SM
20626 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20627
20628 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20629 than the arglist.
20630 (help-add-fundoc-usage): Don't add `Not documented'.
20631 (help-function-arglist): Handle closures, subroutines, and new
20632 byte-code-functions.
20633 (help-make-usage): Remove leading underscores.
20634 (describe-function-1): Handle closures.
20635 (describe-variable): Use special-variable-p for completion.
20636
20637 * files.el (lexical-binding): Declare safe.
f488fb65 20638
03408648
SM
20639 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20640 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20641 (pcase): Add `let' pattern.
20642 Change memoization so it actually works.
20643 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20644 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20645 <let>: New case.
f488fb65 20646
03408648
SM
20647 * emacs-lisp/macroexp.el: Use lexical binding.
20648 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20649 Don't convert ' to #' without checking that it's indeed quoting
20650 a lambda.
20651
20652 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20653 Use eval-sexp-add-defvars.
03408648
SM
20654 (eval-sexp-add-defvars): New fun.
20655
20656 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20657
20658 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20659 Don't autoload.
20660 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20661 than the internal `byte-compile-lambda'.
20662 (defmethod): Don't hide code under quotes.
20663 (eieio-defmethod): New `code' argument.
20664
20665 * emacs-lisp/eieio-comp.el: Remove.
20666
20667 * emacs-lisp/edebug.el (edebug-eval-defun)
20668 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20669 (edebug-toggle): Avoid `eval'.
20670
20671 * emacs-lisp/disass.el (disassemble-internal): Handle new
20672 `closure' objects.
20673 (disassemble-1): Handle new byte codes.
20674
20675 * emacs-lisp/cl.el (pushnew): Silence warning.
20676
20677 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20678 (cl-byte-compile-throw): Remove.
20679 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20680
20681 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20682 closures.
20683
20684 * emacs-lisp/cconv.el: New file.
20685
20686 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20687 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20688 (byte-compile-initial-macro-environment):
20689 Handle declare-function here.
20690 (byte-compile--lexical-environment): New var.
20691 (byte-stack-ref, byte-stack-set, byte-discardN)
20692 (byte-discardN-preserve-tos): New lap codes.
20693 (byte-interactive-p): Don't use any more.
20694 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20695 New macros.
20696 (byte-compile-lapcode): Use them and handle new lap codes.
20697 (byte-compile-obsolete): Remove.
20698 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20699 (byte-compile-arglist-warn): Check late def of inlinable funs.
20700 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20701 since they should have been expanded by now.
20702 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20703 (byte-compile-from-buffer): Remove unused second arg.
20704 (byte-compile-preprocess): New function.
20705 (byte-compile-toplevel-file-form): New function to distinguish
20706 file-form calls from outside from file-form calls from hunk-handlers.
20707 (byte-compile-file-form): Simplify.
20708 (byte-compile-file-form-defsubst): Remove.
20709 (byte-compile-file-form-defmumble): Simplify now that
20710 byte-compile-lambda always returns a byte-code-function.
20711 (byte-compile): Preprocess.
20712 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20713 Remove, not used any more.
20714 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20715 (byte-compile-make-args-desc): New funs.
20716 (byte-compile-lambda): Handle lexical functions. Always return
20717 a byte-code-function.
20718 (byte-compile-reserved-constants): New var, to make up room for
20719 closed-over variables.
20720 (byte-compile-constants-vector): Obey it.
20721 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20722 (byte-compile-macroexpand-declare-function): New function.
20723 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20724 byte-code-functions.
20725 (byte-compile-form): Check obsolescence here.
20726 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20727 (byte-compile-variable-ref): Remove.
20728 (byte-compile-dynamic-variable-op): New fun.
20729 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20730 (byte-compile-variable-set): New funs.
20731 (byte-compile-discard): Add 2 args.
20732 (byte-compile-stack-ref, byte-compile-stack-set)
20733 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20734 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20735 macroexpand-all instead.
20736 (byte-compile-quote-form): Remove.
20737 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20738 (byte-compile-bind, byte-compile-unbind): New funs.
20739 (byte-compile-let): Handle let* and lexical binding.
20740 (byte-compile-let*): Remove.
20741 (byte-compile-catch, byte-compile-unwind-protect)
20742 (byte-compile-track-mouse, byte-compile-condition-case):
20743 Handle a new :fun-body form, used for lexical scoping.
20744 (byte-compile-save-window-excursion)
20745 (byte-compile-with-output-to-temp-buffer): Remove.
20746 (byte-compile-defun): Simplify.
20747 (byte-compile-stack-adjustment): New fun.
20748 (byte-compile-out): Use it.
20749 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20750
20751 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20752 handler any more.
20753
20754 * emacs-lisp/byte-opt.el: Use lexical binding.
20755 (byte-inline-lapcode): Remove (to bytecomp).
20756 (byte-compile-inline-expand): Pay attention to inlining to/from
20757 lexically bound code.
20758 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20759 any more.
20760 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20761 any more and don't call compiler-macros.
20762 (byte-compile-splice-in-already-compiled-code): Remove.
20763 (byte-code): Don't inline any more.
20764 (disassemble-offset): Receive `bytes' as argument rather than via
20765 dynamic scoping.
20766 (byte-compile-tag-number): Declare before first use.
20767 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20768 `return' even if make-spliceable.
20769 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20770 obsolete interactive-p.
20771 (byte-optimize-lapcode): Optimize new lap-codes.
20772 Don't trip up on new form of `byte-constant' lap code.
20773
20774 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20775
20776 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20777
20778 * custom.el (custom-initialize-default, custom-declare-variable):
20779 Use `defvar'.
20780
20781 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20782 New variables.
20783 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20784 (COMPILE_FIRST): Add macroexp and cconv.
20785 * makefile.w32-in: Mirror changes in Makefile.in.
20786
20787 * vc/cvs-status.el:
20788 * vc/diff-mode.el:
20789 * vc/log-edit.el:
20790 * vc/log-view.el:
20791 * vc/smerge-mode.el:
20792 * textmodes/bibtex-style.el:
090bd7cb 20793 * textmodes/css-mode.el:
03408648
SM
20794 * startup.el:
20795 * uniquify.el:
da91b5f2
CY
20796 * minibuffer.el:
20797 * newcomment.el:
20798 * reveal.el:
20799 * server.el:
20800 * mpc.el:
20801 * emacs-lisp/smie.el:
20802 * doc-view.el:
20803 * dired.el:
03408648
SM
20804 * abbrev.el: Use lexical binding.
20805
0f0c1f27
EZ
208062011-04-01 Eli Zaretskii <eliz@gnu.org>
20807
20808 * info.el (info-display-manual): New function.
20809
c82b2579
SM
208102011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20811
20812 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20813
221ddf68
TH
208142011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20815
20816 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20817 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20818
cba6e77e
GM
208192011-03-31 Glenn Morris <rgm@gnu.org>
20820
e040639f
GM
20821 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20822
cba6e77e
GM
20823 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20824
6d0f1c9e
CS
208252011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20826
20827 * progmodes/python.el (python-default-interpreter)
20828 (python-python-command-args, python-jython-command-args)
20829 (python-which-shell, python-which-args, python-which-bufname)
20830 (python-file-queue, python-comint-output-filter-function)
20831 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20832 variables and functions.
20833
3e2d70fd
SM
208342011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20835
20836 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20837 (completion-in-region-mode): New minor mode.
20838 (completion-in-region): Use it.
20839 (completion-in-region--data, completion-in-region-mode-map): New vars.
20840 (completion-in-region--postch): New function.
20841 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20842 New vars.
20843 (completion--capf-wrapper): New function.
20844 (completion-at-point): Use it to track well-behavedness of
20845 hook functions.
20846 (completion-help-at-point): New command.
20847
f3e4086c
JM
208482011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20849
20850 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20851 syntax class to search for whitespace on a single line
20852 (Message-ID: <4D938140.4030905@redhat.com>).
20853
eb7ffc14
LL
208542011-03-30 Leo Liu <sdl.web@gmail.com>
20855
20856 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20857 New commands.
20858 (edit-abbrevs-map): Bind them here.
20859 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20860
d806ab68
KM
208612011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20862
20863 * allout.el (allout-hide-by-annotation, allout-flag-region):
20864 Reduce possibility of overlay leakage by making them volatile.
20865
20866 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20867 hash is not shared between buffers. Mode initialization is
20868 responsible for giving it a useful starting value.
20869 (allout-item-span): Reduce possibility of overlay leakage by
20870 making them volatile.
20871 (allout-widgets-count-buttons-in-region): Add diagnostic function
20872 for tracking down button overlay leaks.
20873
ea622834
LL
208742011-03-29 Leo Liu <sdl.web@gmail.com>
20875
20876 * ido.el (ido-read-internal): Use the default history var
20877 minibuffer-history if no HISTORY is specified.
20878
b62f8267
G
208792011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20880
03408648
SM
20881 * net/imap.el (imap-shell-open, imap-process-connection-type):
20882 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20883 Kerberos, SSL, other subprocesses.
20884
947b6566
LL
208852011-03-28 Leo Liu <sdl.web@gmail.com>
20886
20887 * abbrev.el (abbrev-table-empty-p): New function.
20888 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20889 nonempty ones. (Bug#5937)
20890
5ffb62aa
JD
208912011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20892
20893 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20894
7a097943
LL
208952011-03-27 Leo Liu <sdl.web@gmail.com>
20896
20897 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20898 for foreground and background colors.
20899 (ansi-color-make-color-map): Adapt.
20900
c5b40130
LL
209012011-03-25 Leo Liu <sdl.web@gmail.com>
20902
1f48f7d2
LL
20903 * midnight.el (midnight-time-float): Remove. Note it calculates
20904 the microsecond component incorrectly and seconds-to-time does the
20905 same job.
625897ec 20906 Remove redundant (require 'timer).
1f48f7d2 20907
c5b40130
LL
20908 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20909 (ido-completions): Remove unused arguments. (Bug#8329)
20910
d86d2721
SM
209112011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20912
20913 * minibuffer.el (completion--flush-all-sorted-completions):
20914 Remove itself from hook.
20915 (completion-at-point): Let the functions perform the completion
20916 immediately and return nil or t.
20917 * comint.el (comint-dynamic-complete-functions): Now identical to
20918 completion-at-point-functions.
20919 (comint-dynamic-list-input-ring): Remove unused var `index'.
20920 (comint--match-partial-filename, comint--unquote&expand-filename):
20921 New funs, split from comint-match-partial-filename.
20922 (comint-dynamic-complete): Use completion-at-point.
20923 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20924
e8974c48
DA
209252011-03-24 Drew Adams <drew.adams@oracle.com>
20926
20927 * thingatpt.el: Support `defun'.
20928
def71b5e
LL
209292011-03-23 Leo Liu <sdl.web@gmail.com>
20930
cb5af48e
LL
20931 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20932
def71b5e
LL
20933 * help-mode.el (help-mode-finish): Tweak regexp.
20934
927c53e7
GM
209352011-03-23 Glenn Morris <rgm@gnu.org>
20936
18d05bed
GM
20937 * eshell/esh-opt.el (eshell-eval-using-options):
20938 Do not bind unused local variable `eshell-option-stub'.
20939
927c53e7
GM
20940 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20941
9d0da923
JB
209422011-03-22 Juanma Barranquero <lekktu@gmail.com>
20943
20944 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20945 keymap variable in `with-no-warnings' to avoid a warning when the
20946 keymap has been already `defconst'ed.
20947
4b978a67
LL
209482011-03-22 Leo Liu <sdl.web@gmail.com>
20949
20950 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20951 encode all chars in abbrevs; otherwise use emacs-mule or
20952 utf-8-emacs. (Bug#8308)
20953
5fd62452
JB
209542011-03-22 Juanma Barranquero <lekktu@gmail.com>
20955
0b1596c6
JB
20956 * simple.el (backward-delete-char-untabify):
20957 Avoid warning about using `delete-backward-char'.
20958
5fd62452
JB
20959 * image.el (image-type-file-name-regexps): Make it variable.
20960 `imagemagick-register-types' modifies it, and the user may want
20961 to add new extensions for known image types.
20962 (imagemagick-register-types): Throw error if not using ImageMagick.
20963
0b4e93f1
LL
209642011-03-22 Leo Liu <sdl.web@gmail.com>
20965
20966 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20967 located before rcirc-prompt-end-marker.
20968 (rcirc-complete): Error if point is not after rcirc prompt.
20969 Handle the case when table is nil.
9882e214 20970 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20971
fccee4ab
CY
209722011-03-22 Chong Yidong <cyd@stupidchicken.com>
20973
20974 * custom.el (custom--inhibit-theme-enable): Make it affect only
20975 custom-theme-set-variables and custom-theme-set-faces.
20976 (provide-theme): Ignore custom--inhibit-theme-enable.
20977 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20978 (custom-enabling-themes): Delete variable.
d86d2721
SM
20979 (enable-theme): Accept only loaded themes as arguments.
20980 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20981 (custom-enabled-themes): Forbid themes from setting this.
20982 Eliminate use of custom-enabling-themes.
20983 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20984
af896da6
LL
209852011-03-21 Leo Liu <sdl.web@gmail.com>
20986
20987 * ido.el (ido-read-internal): Add ido-selected to history instead
20988 of user input.
20989
78f64af0
SM
209902011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20991
20992 * subr.el (deferred-action-list, deferred-action-function):
20993 Mark obsolete.
20994
b16ac1ec
LL
209952011-03-21 Leo Liu <sdl.web@gmail.com>
20996
810f7698
LL
20997 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20998 change on 2011-02-13 (bug#8309).
20999
b16ac1ec
LL
21000 * minibuffer.el (read-file-name-function): Change default value.
21001 (read-file-name--defaults): Rename from read-file-name-defaults.
21002 (read-file-name-default): Rename from read-file-name.
21003 (read-file-name): Call read-file-name-function.
21004
4e05e67e
GM
210052011-03-21 Glenn Morris <rgm@gnu.org>
21006
21007 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21008 Doc fixes.
21009
4359915b
CY
210102011-03-21 Chong Yidong <cyd@stupidchicken.com>
21011
21012 * cus-theme.el: Add missing provide statement.
21013 (customize-create-theme): Extract theme value correctly.
21014 (custom-theme-visit-theme): Autoload.
21015 (customize-create-theme): Prompt before inserting default faces.
21016
1fe275ee
JB
210172011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21018
21019 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21020 units and musical notes.
21021
cd394be1 210222011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21023
21024 * ido.el (ido-read-internal): Use completing-read-default.
21025 (ido-completing-read): Fix compatibility with completing-read.
21026
7d476bde
CO
210272011-03-20 Christian Ohler <ohler@gnu.org>
21028
21029 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21030 (ert-delete-all-tests): Use `called-interactively-p' rather than
21031 `interactive-p'.
21032 (ert--make-xrefs-region): Respect END.
21033
fe0fb33e
CY
210342011-03-19 Chong Yidong <cyd@stupidchicken.com>
21035
ff854b0b
CY
21036 * dired-aux.el (dired-create-directory): Signal an error if the
21037 directory already exists (Bug#8246).
21038
fe0fb33e
CY
21039 * facemenu.el (list-colors-display): Call list-faces-display
21040 inside with-help-window.
21041 (list-colors-print): Use display property to align the final
21042 column, instead of checking window-width.
21043
576bce32
EZ
210442011-03-19 Eli Zaretskii <eliz@gnu.org>
21045
4d61f28d 21046 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21047 windows-nt systems.
21048 (emerge-protect-metachars): Quote correctly for ms-dos and
21049 windows-nt systems.
21050
89c41d68 210512011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21052
21053 * info.el (info-initialize): Replace all uses of `:' with
21054 path-separator for compatibility with non-Unix systems.
21055 Cache quoting of path-separator. (Bug#8258)
21056
b14e3e21 210572011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21058
21059 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21060 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21061 (mouse-avoidance-mode): Fix typos in docstrings.
21062
4525ce3e
CY
210632011-03-19 Chong Yidong <cyd@stupidchicken.com>
21064
21065 * startup.el (package-subdirectory-regexp): Move from package.el.
21066 Omit \\` and \\', and let callers add them.
21067
21068 * emacs-lisp/package.el (package-strip-version)
21069 (package-load-all-descriptors): Add \\` and \\' to
21070 package-subdirectory-regexp before using it.
21071 (package-untar-buffer): New arg DIR; ensure that file untars only
21072 into this expected directory. Remove superfluous delete-region.
21073 (package-unpack): Caller changed.
21074 (package-tar-file-info): Use package-subdirectory-regexp.
21075
a904a09a 210762011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21077
a904a09a
SM
21078 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21079 diff-mode-shared-map (bug#8284).
21080 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21081
210822011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21083
21084 * calendar/time-date.el (format-seconds): Use assoc instead of
21085 assoc-string, since assoc-string doesn't exist in XEmacs.
21086
171fc304
JB
210872011-03-17 Juanma Barranquero <lekktu@gmail.com>
21088
21089 * custom.el (custom-known-themes): Reflow docstring.
21090 (custom-theme-load-path): Fix typo in docstring.
21091 (load-theme): Fix typo in error message.
21092 (custom-available-themes, custom-variable-theme-value):
21093 Use `let', not `let*'.
21094
d71990a1
JB
210952011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21096
21097 * calc/README: Mention inclusion of musical notes.
21098
21099 * calc/calc-units.el (calc-lu-quant): Rename from
21100 `calc-logunits-quantity'.
21101 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21102 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21103 (calc-db): Rename from `calc-dblevel'.
21104 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21105 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21106 (calc-np): Rename from `calc-nplevel'.
21107 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21108 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21109 (calc-lu-plus): Rename from `calc-logunits-add'.
21110 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21111 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21112 (calc-lu-minus): Rename from `calc-logunits-sub'.
21113 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21114 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21115 (calc-lu-times): Rename from `calc-logunits-mul'.
21116 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21117 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21118 (calc-lu-divide): Rename from `calc-logunits-div'.
21119 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21120 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21121
21122 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21123 functions being autoloaded.
21124
21125 * calc/calc.el (calc-lu-power-reference): Rename from
21126 `calc-logunits-power-reference'.
21127 (calc-lu-field-reference): Rename from
21128 `calc-logunits-field-reference'.
21129
7a71b18d
GM
21130 * calc/calc-help.el (calc-l-prefix-help):
21131 Mention musical note functions.
d71990a1 21132
40c2934b
SM
211332011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21134
21135 * minibuffer.el (completion-all-sorted-completions):
21136 Use :completion-cycle-penalty text property if present.
21137
b0911414
KM
211382011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21139
21140 * allout.el (allout-yank-processing): Adjust for new rebulleting
21141 regime so bullet being yanked is used without prompting the user
21142 for a choice.
21143
8a05b668
JB
211442011-03-16 Juanma Barranquero <lekktu@gmail.com>
21145
21146 * startup.el (command-line): Warn the user that _emacs is deprecated.
21147
5ba5fb81
JB
211482011-03-16 Juanma Barranquero <lekktu@gmail.com>
21149
21150 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21151 (delphi-verbose, delphi-comment-face, delphi-string-face)
21152 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21153 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21154 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21155 (delphi-new-comment-line, delphi-font-lock-defaults)
21156 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21157 Fix typos in docstrings.
21158
2dab465b
KM
211592011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21160
5ba5fb81 21161 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21162 Invert the roles of character and string values for INSTEAD, so a
21163 string is used for the more common case of a defaulting prompt.
21164
0adf5618
SM
211652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21166
21167 * progmodes/ruby-mode.el (ruby-backward-sexp):
21168 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21169 * play/gamegrid.el (gamegrid-make-face):
21170 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21171 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21172 * notifications.el (notifications-notify):
21173 * net/xesam.el (xesam-search-engines):
21174 * net/quickurl.el (quickurl-list-insert):
21175 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21176
d72700e5
CY
211772011-03-15 Chong Yidong <cyd@stupidchicken.com>
21178
21179 * startup.el (command-line): Update package subdirectory regexp.
21180
49c5410a
SM
211812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21182
c6eee9aa
SM
21183 * allout.el (allout-abbreviate-flattened-numbering)
21184 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21185
49c5410a
SM
21186 * subr.el (read-char-choice): Only show the cursor after the prompt,
21187 not after the answer.
21188
047b2bb9
KR
211892011-03-15 Kevin Ryde <user42@zip.com.au>
21190
21191 * help-fns.el (variable-at-point): Skip leading quotes, if any
21192 (bug#8253).
21193
0a57d256
SM
211942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21195
21196 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21197 warning message.
21198
77c992bc
MA
211992011-03-14 Michael Albinus <michael.albinus@gmx.de>
21200
21201 * shell.el (shell): When called interactively, offer to change the
21202 shell file name on remote hosts.
21203
eebc475d
TZ
212042011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21205
21206 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21207 integration for LDAP parameters. The host, base, user or binddn,
21208 and secret tokens can be specified in a netrc file, for instance.
21209 This is optional because an `auth-source' parameter must be
21210 specified in the search attributes.
21211
9d05d1ba
JB
212122011-03-13 Juanma Barranquero <lekktu@gmail.com>
21213
21214 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21215
09d9db2c
GM
212162011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21217
21218 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21219 into declaration. Remove redundant and harmful binding.
21220
212212011-03-12 Eli Zaretskii <eliz@gnu.org>
21222
21223 * files.el (file-ownership-preserved-p): Pass `integer' as an
21224 explicit 2nd argument to `file-attributes'. If the file's owner
21225 is the Administrators group on Windows, and the current user is
21226 Administrator, consider that a match.
21227
21228 * server.el (server-ensure-safe-dir): Consider server directory
21229 safe on MS-Windows if its owner is the Administrators group while
21230 the current Emacs user is Administrator. Use `=' to compare
21231 numerical UIDs, since they could be integers or floats.
21232
219bd536
JB
212332011-03-12 Juanma Barranquero <lekktu@gmail.com>
21234
21235 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21236
f3afd36b
MA
212372011-03-12 Michael Albinus <michael.albinus@gmx.de>
21238
21239 Sync with Tramp 2.2.1.
21240
21241 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21242
21243 * net/trampver.el: Update release number.
21244
3aaaa6f1
SM
212452011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21246
94642599
SM
21247 * progmodes/compile.el (compilation--previous-directory): Fix up
21248 various nil/dead-marker mismatches (bug#8014).
21249 (compilation-directory-properties, compilation-error-properties):
21250 Don't call it at a position past the one we're about to change.
21251
3aaaa6f1
SM
21252 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21253 Disable obsolescence warnings in the file that declares it.
21254
14239447
KM
212552011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21256
099c39a4
JB
21257 * allout-widgets.el (allout-widgets-tally):
21258 Initialize allout-widgets-tally as a hash table rather than nil to
21259 prevent mode-line redisplay warnings. Also, clarify the module
21260 description and fix a comment typo.
14239447 21261
135e287c
JB
212622011-03-11 Juanma Barranquero <lekktu@gmail.com>
21263
21264 * help-fns.el (describe-variable): Don't complete keywords.
21265 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21266
ffbf300e
CY
212672011-03-10 Chong Yidong <cyd@stupidchicken.com>
21268
ba08b241
CY
21269 * emacs-lisp/package.el (package-version-join): Impose a standard
21270 string representation for pre/alpha/beta version lists.
21271 (package-unpack-single): Standardize the directory name by passing
21272 it through package-version-join.
21273 (package-strip-rcs-id): Accept any version string that does not
21274 signal an error in version-to-list.
ffbf300e 21275
f346fd6b
MA
212762011-03-10 Michael Albinus <michael.albinus@gmx.de>
21277
21278 * simple.el (delete-trailing-whitespace): Return nil for the
21279 benefit of `write-file-functions'.
21280
ccb55d27
GM
212812011-03-10 Glenn Morris <rgm@gnu.org>
21282
5ceaac0c
GM
21283 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21284
02da65ff
GM
21285 * vc/vc-git.el (vc-git-program): New option.
21286 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21287 (vc-git--call): Use it.
21288
b2f603cc
GM
21289 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21290
5772caab
GM
21291 * cus-edit.el (Custom-newline): If no button at point, look
21292 for a subgroup button at start-of-line. (Bug#2298)
21293
ccb55d27
GM
21294 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21295
ec6ecaed
JD
212962011-03-10 Julien Danjou <julien@danjou.info>
21297
21298 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21299 `cursor-type' is nil.
21300
9d5aa01d
JB
213012011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21302
21303 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21304
b6a5875b
KM
213052011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21306
7a71b18d 21307 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21308 preserves the existing header prefix, rebulleting it if necessary,
21309 rather than replacing it. This is necessary for proper operation
21310 of cooperative addons like allout-widgets.
1154d12e
JB
21311 (allout-make-topic-prefix, allout-rebullet-heading):
21312 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21313 value as alternate bullet to be used, instead of prompting the user
21314 for a bullet character.
b6a5875b 21315
ee545c35
MA
213162011-03-09 Michael Albinus <michael.albinus@gmx.de>
21317
d86d2721
SM
21318 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21319 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21320 `tramp-default-port'.
21321
c47971d7
DD
213222011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21323
21324 * net/rcirc.el (rcirc-handler-001): Remove useless
21325 with-rcirc-process-buffer.
21326 (rcirc-check-auth-status): Swap arguments to string-match.
21327
13522cb4
GM
213282011-03-09 Glenn Morris <rgm@gnu.org>
21329
0be6f4f1
GM
21330 * shell.el (shell-mode):
21331 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21332
13522cb4
GM
21333 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21334 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21335
515de2e3
CY
213362011-03-08 Chong Yidong <cyd@stupidchicken.com>
21337
21338 * emacs-lisp/package.el (package-refresh-contents)
21339 (package-menu-execute): Use condition-case-no-debug.
21340
b511b994
MA
213412011-03-08 Michael Albinus <michael.albinus@gmx.de>
21342
21343 * simple.el (shell-command-to-string): Use `process-file'.
21344
21345 * emacs-lisp/package.el (package-tar-file-info): Handle also
21346 remote files.
21347
d86d2721
SM
21348 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21349 Use `equal' for upload base check.
b511b994 21350
25bbfb31
AM
213512011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21352
21353 * textmodes/texinfo.el (texinfo-environments):
21354 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21355
be996521
GM
213562011-03-08 Glenn Morris <rgm@gnu.org>
21357
e9c8529f
GM
21358 * cus-start.el (cursor-in-non-selected-windows):
21359 Fix :set quoting oddness. (Bug#8192)
21360
be996521
GM
21361 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21362 in some setf expressions. (Bug#2159)
21363
2bb5649e
CY
213642011-03-08 Chong Yidong <cyd@stupidchicken.com>
21365
21366 * custom.el (custom-available-themes): Return themes in
21367 alphabetical order.
21368
33383987 21369See ChangeLog.15 for earlier changes.
e3d51b27
MR
21370
21371;; Local Variables:
21372;; coding: utf-8
e3d51b27
MR
21373;; End:
21374
acaf905b 21375 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
21376
21377 This file is part of GNU Emacs.
21378
21379 GNU Emacs is free software: you can redistribute it and/or modify
21380 it under the terms of the GNU General Public License as published by
21381 the Free Software Foundation, either version 3 of the License, or
21382 (at your option) any later version.
21383
21384 GNU Emacs is distributed in the hope that it will be useful,
21385 but WITHOUT ANY WARRANTY; without even the implied warranty of
21386 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21387 GNU General Public License for more details.
21388
21389 You should have received a copy of the GNU General Public License
21390 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.