Handle window-height and window-width alist entries in `display-buffer'.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
5938d519
MR
12012-09-30 Martin Rudalics <rudalics@gmx.at>
2
3 In buffer display functions handle window-height/window-width
4 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5 * window.el (window--display-buffer): New argument ALIST. Obey
6 window-height and window-width alist entries.
7 (window--try-to-split-window): New argument ALIST. Bind
8 window-combination-limit to t when the window's size shall be
9 changed and window-combination-limit equals `window-size'.
10 (display-buffer-in-atom-window)
11 (display-buffer-in-major-side-window)
12 (display-buffer-in-side-window, display-buffer-same-window)
13 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14 (display-buffer-pop-up-window, display-buffer-below-selected)
15 (display-buffer-at-bottom, display-buffer-in-previous-window)
16 (display-buffer-use-some-window): Adjust all callers of
17 window--display-buffer and window--try-to-split-window.
18 (fit-frame-to-buffer): New option.
19 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
20 is non-nil.
21 (display-buffer-in-major-side-window): Evaluate window-height /
22 window-width alist entries.
23
24 * help.el (temp-buffer-resize-frames)
25 (temp-buffer-resize-regexps): Remove options.
26 (temp-buffer-resize-mode): Adjust doc-string.
27 (resize-temp-buffer-window): Don't consult
28 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
29 temp-buffer-resize-frames.
30
31 * dired.el (dired-mark-pop-up): Call
32 display-buffer-below-selected with a fit-window-to-buffer alist
33 entry.
34
c4c0c2df
CY
352012-09-30 Chong Yidong <cyd@gnu.org>
36
a97dc380
CY
37 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
38 restriction change.
39
d39d3c8e
CY
40 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
41
c4c0c2df
CY
42 * help-fns.el (help-fns--obsolete): Fix last change.
43
98a5e33b
SM
442012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
45
34cf6f39
SM
46 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
47 (minor-mode-map-alist): Remove redundant code.
48
e01c13fe
SM
49 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
50 visited in a buffer.
51 (cvs-insert-visited-file): New function.
52 (find-file-hook): Use it.
53
54 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
55
02661b3a
SM
56 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
57 chose face.
58 (log-edit-empty-buffer-p): Don't require a space after a header.
59
43711d4b
SM
60 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
61
38a30d64
SM
62 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
63
4ffb41a9
SM
64 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
65 a proper minor-mode.
66
98a5e33b
SM
67 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
68
de82e29b
GM
692012-09-29 Glenn Morris <rgm@gnu.org>
70
5cc2e639
GM
71 * winner.el (winner-mode): Remove variable (let define-minor-mode
72 handle it).
73 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
74 Doc fixes.
75 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
76 (winner-mode): Use define-minor-mode.
77
7bd302eb
GM
78 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
79 the full definition in loaddefs, rather than duplicating it.
80
2923922f 81 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 82
0e3e4156
GM
83 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
84 (inferior-lisp-program, inferior-lisp-load-command)
85 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 86 No need to autoload defcustoms.
0e3e4156 87
de82e29b
GM
88 * hippie-exp.el (hippie-expand-try-functions-list)
89 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
90 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
91 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 92 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
93 * progmodes/vhdl-mode.el (vhdl-line-expand):
94 Explicitly load hippie-exp, so it does not get autoloaded
95 while hippie-expand-try-functions-list is let-bound.
96
e60b51ab
GM
972012-09-28 Glenn Morris <rgm@gnu.org>
98
277f0cfa
GM
99 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
100
e60b51ab
GM
101 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
102 Only "cl.el" counts as cl these days.
103
53baf48a
JL
1042012-09-28 Juri Linkov <juri@jurta.org>
105
106 Display archive errors in the echo area instead of inserting
107 to the file buffer.
108
109 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
110 to STDERR-TEST that can be a regexp matching a successful output.
111 Create a temporary file and redirect stderr to it. Search for
112 STDERR-TEST in the stderr output and display it in the echo area
113 if no match is found.
114 (archive-extract-by-file): New function like
115 `archive-extract-by-stdout' but extracting archives to files
116 and looking for successful matches in stdout. Function body is
117 mostly copied from `archive-rar-extract'.
118 (archive-rar-extract): Use `archive-extract-by-file'.
119 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
120
9c1228c3
LL
1212012-09-28 Leo Liu <sdl.web@gmail.com>
122
147c0425
LL
123 * pcomplete.el (pcomplete-show-completions): Use
124 minibuffer-message to make pcomplete usable in minibuffer.
125
9c1228c3
LL
126 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
127
7f457c06
SM
1282012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
129
3df749b0
SM
130 * type-break.el: Use lexical-binding.
131 (type-break-mode): Use define-minor-mode.
132
7f457c06
SM
133 * emacs-lisp/pcase.el (pcase--mark-used): New.
134 (pcase--u1): Use it (bug#12512).
135
136 * custom.el (load-theme): Set buffer-file-name so the load is recorded
137 in load-history with the right file name.
138
c00ebc98
TH
1392012-09-28 Tassilo Horn <tsdh@gnu.org>
140
141 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
142 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
143 (doc-view-get-bounding-box): Make bounding box slicing work for
144 ODF and DVI documents.
145
96fb7170
GM
1462012-09-28 Glenn Morris <rgm@gnu.org>
147
148 * type-break.el (type-break-mode, type-break-interval)
149 (type-break-good-rest-interval, type-break-keystroke-threshold):
150 No need to autoload.
151 (type-break-good-rest-interval, type-break-keystroke-threshold):
152 Add :set-after.
153
5bc93c67
CY
1542012-09-28 Chong Yidong <cyd@gnu.org>
155
156 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
157 Add :version tag.
158
9cad61d6
SM
1592012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
160
e28e67b3 161 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 162
daee954c
GM
1632012-09-27 Glenn Morris <rgm@gnu.org>
164
a88324d4
GM
165 * faces.el (x-display-name): Declare (for without-x builds).
166
8e5064e5
GM
167 * linum.el (linum-format): Don't autoload it. Improve :type.
168
cc1783c2
GM
169 * progmodes/tcl.el: Don't require outline when compiling.
170 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
171 * textmodes/sgml-mode.el: Don't require outline when compiling.
172 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
173
48c339f2
GM
174 * term.el (term-ansi-reset):
175 Try setting term-ansi-face-already-done to nil. (Bug#11785)
176
daee954c
GM
177 * vc/vc.el (vc-next-action): Only gripe about committing read-only
178 files for RCS and SCCS. (Bug#9781)
179
b7f42161
CY
1802012-09-27 Chong Yidong <cyd@gnu.org>
181
182 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
183 change; value should be t.
184
a2e770db
SM
1852012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
186
83600dc8
SM
187 * image-mode.el: Use lexical-binding.
188 (image-mode-winprops): Use t to stand for the window of
189 a buffer that's not displayed.
190 * doc-view.el (doc-view-new-window-function): Handle the new
191 t in winprops.
192 (doc-view-enlarge): Make it a real nop if the size is not changed.
193 (doc-view-display): Handle the case where the buffer is not (yet?)
194 displayed in any window.
195 (doc-view-saved-settings): New var.
196 (doc-view-mode): Use it.
197 (doc-view-fallback-mode): Set it.
198
a2e770db
SM
199 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
200 Set lexical-binding.
201 (minibuffer-eldef-shorten-default): New var.
202 (minibuffer-default-in-prompt-regexps): Use it for new default.
203 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
204
e3b60857
JB
2052012-09-26 Juanma Barranquero <lekktu@gmail.com>
206
207 * international/uni-bidi.el:
208 * international/uni-category.el:
209 * international/uni-name.el:
210 * international/uni-numeric.el: Regenerate.
211
3a880af4
SM
2122012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
213 Stefan Monnier <monnier@iro.umontreal.ca>
214
215 * profiler.el: New file.
216
07b1a5fb
SM
2172012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
220 (testcover-reinstrument): Simplify with CSE.
221
42019c2e
JB
2222012-09-26 Juanma Barranquero <lekktu@gmail.com>
223
224 * window.el (temp-buffer-window-setup): Fix typo in docstring.
225
179f044b
WS
2262012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
227
228 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
229 (verilog-auto-input, verilog-auto-insert-lisp)
230 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
231 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
232 (verilog-auto-unused, verilog-auto-wire)
233 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
234 newline. Reported by Andrew Jones.
235 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
236 Reported by Brad Dobbie.
07b1a5fb
SM
237 (verilog-batch-delete-trailing-whitespace):
238 Create verilog-batch-delete-trailing-whitespace.
239 Reported by Brad Dobbie.
179f044b
WS
240 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
241 parameters from another module. Reported by Dan Katz.
242 (verilog-auto, verilog-auto-assign-modport)
243 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
244 AUTOINOUTMODPORT for UVM interface module shell generation.
245 Reported by Brad Dobbie.
246 (verilog-auto-inst-interfaced-ports): Make default nil, as more
247 standard behavior.
248 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
249 Reported by Matt Martin.
250
9c52dd5a
MR
2512012-09-25 Martin Rudalics <rudalics@gmx.at>
252
253 * window.el (window--resize-child-windows): When resizing child
254 windows proportionally, process them in reverse order to
255 preserve the "when splitting a window the new one gets the odd
256 line" behavior.
257 (window--resize-root-window-vertically): When resizing the
258 minibuffer window try to affect only windows at the bottom of the
259 frame. (Bug#12419)
260
863666eb
CY
2612012-09-25 Chong Yidong <cyd@gnu.org>
262
263 * subr.el (declare): Doc fix.
264
265 * help-fns.el (help-fns--obsolete): Handle macros properly.
266
59f7af81
CY
2672012-09-25 Chong Yidong <cyd@gnu.org>
268
269 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
270 this function obsolete.
271
272 * calendar/cal-x.el (calendar-two-frame-setup)
273 (calendar-only-one-frame-setup, calendar-one-frame-setup):
274 * calendar/calendar.el (american-calendar, european-calendar)
275 (calendar-for-loop):
276 * comint.el (comint-dynamic-simple-complete)
277 (comint-dynamic-complete-as-filename, comint-unquote-filename):
278 * desktop.el (desktop-load-default):
279 * dired-x.el (dired-omit-here-always)
280 (dired-hack-local-variables, dired-default-directory):
281 * emacs-lisp/derived.el (derived-mode-class):
282 * emacs-lisp/timer.el (timer-set-time-with-usecs):
283 * emacs-lock.el (toggle-emacs-lock):
284 * epa.el (epa-display-verify-result):
285 * epg.el (epg-sign-keys, epg-start-sign-keys)
286 (epg-passphrase-callback-function):
287 * eshell/esh-util.el (eshell-for):
288 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
289 (eshell-add-to-window-buffer-names):
290 * files.el (locate-file-completion):
291 * imenu.el (imenu-example--create-c-index)
292 (imenu-example--create-lisp-index)
293 (imenu-example--lisp-extract-index-name)
294 (imenu-example--name-and-position):
295 * international/mule-cmds.el (princ-list):
296 * international/mule-diag.el (decode-codepage-char):
297 * international/mule-util.el (detect-coding-with-priority):
298 * iswitchb.el (iswitchb-read-buffer):
299 * mail/mailalias.el (mail-complete):
300 * mail/sendmail.el (mail-sent-via):
301 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
302 (mouse-major-mode-menu):
303 * password-cache.el (password-read-and-add):
304 * pcomplete.el (pcomplete-parse-comint-arguments):
305 * progmodes/sh-script.el (sh-maybe-here-document):
306 * replace.el (query-replace-regexp-eval):
307 * savehist.el (savehist-load):
308 * simple.el (choose-completion-delete-max-match):
309 * term.el (term-dynamic-simple-complete):
310 * vc/ediff-init.el (ediff-check-version):
311 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
312 * vc/vc.el (vc-diff-switches-list):
313 * view.el (view-return-to-alist-update): Likewise.
314
315 * subr.el (eval-next-after-load, makehash, insert-string)
316 (assoc-ignore-representation, assoc-ignore-case): Use declare to
317 mark obsolete.
318 (mode-line-inverse-video): Variable deleted.
319
320 * international/mule-util.el (string-to-sequence): Remove.
321
322 * calendar/calendar.el (calendar-version):
323 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
324 (icalendar-convert-diary-to-ical):
325 * cus-edit.el (custom-mode):
326 * ansi-color.el (ansi-color-unfontify-region):
327 * international/latin1-disp.el (latin1-char-displayable-p):
328 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
329 * progmodes/which-func.el (which-func-update-1):
330 Use define-obsolete-function-alias.
59f7af81
CY
331
332 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
333 * net/newst-treeview.el (newsticker-groups-filename):
334 Fix incorrect obsolescence declaration.
59f7af81
CY
335
336 * allout.el (allout-passphrase-hint-string): Likewise.
337 (allout-init): Use a declare form to mark obsolete.
338
339 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
340 this applies to functions.
341
342 * iswitchb.el (iswitchb-read-buffer): Move code of
343 iswitchb-define-mode-map here, and delete that obsolete function.
344
345 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
346 font-lock-reference-face.
347
cca96c97
GM
3482012-09-25 Glenn Morris <rgm@gnu.org>
349
b06eeda8
GM
350 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
351 Doc fixes.
352
cca96c97
GM
353 * eshell/em-term.el (eshell-term-name):
354 Default to term-term-name. (Bug#12485)
355
dc4f818b
FEG
3562012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
357
cca96c97
GM
358 * progmodes/python.el (python-shell-send-buffer): Better handling
359 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 360
289c24bd
GM
3612012-09-24 Glenn Morris <rgm@gnu.org>
362
363 * eshell/esh-cmd.el (eshell-find-alias-function):
364 Tighten up file-name regexp. (Bug#12499)
365
8fb8b88f
FEG
3662012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
367
368 Enhancements for triple-quote string syntax.
369 * progmodes/python.el (python-quote-syntax): Remove.
370 (python-syntax-propertize-function): New value.
07b1a5fb
SM
371 (python-syntax-count-quotes, python-syntax-stringify):
372 New functions.
8fb8b88f 373
6c27f0f8
CY
3742012-09-24 Chong Yidong <cyd@gnu.org>
375
a5f2b6ec
CY
376 * mail/supercite.el (sc-version): Remove obsolete function.
377 (sc-describe): Don't mark as obsolete, since it is bound.
378 (sc-submit-bug-report): Remove.
379
380 * vc/log-edit.el (cvs-changelog-full-paragraphs)
381 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
382 (log-edit-require-final-newline)
383 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
384
385 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
386 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
387 * vc/vc.el (vc-checkout-carefully): Likewise.
388
389 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
390 (emerge-version): Remove.
391
392 * progmodes/compile.el (compile-internal): Remove.
393 (compilation-parse-errors-function): Fix typo.
394
395 * international/mule.el (set-char-table-default): Remove.
396 (set-coding-priority, make-coding-system, generic-char-p)
397 (charset-list, charset-bytes, charset-id): Use declare to mark
398 functions as obsolete.
399
400 * vc/pcvs-defs.el (cvs-buffer-name-alist)
401 (cvs-invert-ignore-marks): Remove references to obsolete vars.
402 * vc/vc-hooks.el (vc-default-registered): Don't use
403 vc-master-templates.
404
07b1a5fb
SM
405 * font-lock.el (font-lock-reference-face):
406 Use define-obsolete-variable-alias.
6c27f0f8
CY
407
408 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
409 * calendar/calendar.el (calendar-font-lock-keywords):
410 * calendar/diary-lib.el (diary-font-lock-keywords)
411 (diary-fancy-font-lock-keywords):
412 * textmodes/reftex-sel.el (reftex-insert-docstruct):
413 * textmodes/reftex-index.el (reftex-insert-index):
414 * textmodes/reftex-cite.el (reftex-format-bib-entry):
415 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
416 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
417 * progmodes/prolog.el (prolog-font-lock-keywords):
418 * progmodes/idlwave.el (idlwave-idl-keywords):
419 * progmodes/ada-mode.el (ada-font-lock-keywords):
420 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
421
bcc0adbf
GM
4222012-09-24 Glenn Morris <rgm@gnu.org>
423
424 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
425
095bb823
FEG
4262012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
427
428 * progmodes/python.el (python-indent-line): More consistent cursor
429 movement behavior.
430
70efc5c9
SM
4312012-09-23 Stefan Merten <smerten@oekonux.de>
432
433 * textmodes/rst.el: Fix compiler warning.
434
2f438239
RW
4352012-09-23 Roland Winkler <winkler@gnu.org>
436
07b1a5fb
SM
437 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
438 Transcribe also LaTeX hyphenation.
2f438239
RW
439 (bibtex-reformat): Bug fix. Do not quote twice the elements of
440 bibtex-reformat-previous-options.
441
936ad041
RW
4422012-09-23 Roland Winkler <winkler@gnu.org>
443
444 * proced.el (proced-renice-command): New variable.
445 (proced-marked-processes): New function.
446 (proced-with-processes-buffer): New macro.
447 (proced-send-signal): Use them.
448 (proced-renice): New command bound to r.
449
6fab0274
RW
4502012-09-23 Roland Winkler <winkler@gnu.org>
451
452 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
453 ibuffer-saved-filter-groups has one element, shortcut the call of
454 completing-read. (Bug#12331)
455
9a930676
CY
4562012-09-23 Chong Yidong <cyd@gnu.org>
457
458 * bindings.el (mode-line-toggle-read-only):
459 * bs.el (bs-toggle-readonly):
460 * buff-menu.el (Buffer-menu-toggle-read-only):
461 * dired.el (dired-toggle-read-only):
462 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
463
d07ff9db
CY
4642012-09-23 Chong Yidong <cyd@gnu.org>
465
466 * image.el (image-type-available-p): Adapt to init-image-library
467 argument changes.
468
51c4474e
JL
4692012-09-22 Juri Linkov <juri@jurta.org>
470
471 * dired.el (dired-mode-map): Add [remap read-only-mode] for
472 `dired-toggle-read-only'. (Bug#12462)
473
43bf5e8e
MR
4742012-09-22 Martin Rudalics <rudalics@gmx.at>
475
476 * subr.el (temp-output-buffer-show): New function.
477 (with-output-to-temp-buffer): Call temp-output-buffer-show
478 instead of internal-temp-output-buffer-show.
479
c88b867f
CY
4802012-09-22 Chong Yidong <cyd@gnu.org>
481
3df47cd5
CY
482 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
483 (Bug#12462).
484
c88b867f
CY
485 * repeat.el (repeat): Doc fix (Bug#12348).
486
487 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
488 (Bug#10909).
489
490 * simple.el (shell-command-on-region): Doc fix.
3171e303 491 (read-only-mode): Doc fix.
c88b867f 492
df9685f3
EZ
4932012-09-22 Eli Zaretskii <eliz@gnu.org>
494
495 * emacs-lisp/timer.el (run-with-idle-timer)
496 (timer-activate-when-idle): Warn against reinvoking an idle timer
497 from within its own timer action. (Bug#12447)
498
8e17c9ba
MR
4992012-09-22 Martin Rudalics <rudalics@gmx.at>
500
501 * cus-start.el (window-combination-limit): Add new optional
502 values.
503 * window.el (temp-buffer-window-show)
504 (window--try-to-split-window): Handle new values of
505 window-combination-limit (Bug#1806).
506 (split-window): Test window-combination-limit for t instead of
507 non-nil.
508 (display-buffer-at-bottom): New buffer display action function.
509 * help.el (temp-buffer-resize-regexps): New option.
510 (temp-buffer-resize-mode): Rewrite doc-string.
511 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 512 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 513
48a24920
SM
5142012-09-22 Stefan Merten <smerten@oekonux.de>
515
70efc5c9 516 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
517 (rst-official-version)
518 (rst-package-emacs-version-alist): Sync with official version
519 V1.4.0.
520 (rst-faces-defaults, rst-set-level-default)
521 (rst-level-face-max, rst-level-face-base-color)
522 (rst-level-face-base-light, rst-level-face-format-light)
523 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
524 (rst-adornment-faces-alist): Match new setup.
525 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
526 (rst-level-5, rst-level-6): New faces.
527
82f8cd94
CY
5282012-09-22 Chong Yidong <cyd@gnu.org>
529
530 * simple.el (undo): Handle indirect buffers (Bug#8207).
531
acfa068f 5322012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
533
534 IDO: Disable match re-ordering for buffer switching.
2bc9406c 535 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
536 (ido-set-matches-1): Use it. (Bug#2042)
537
acfa068f 5382012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
539
540 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
541 Fix 2011-05-17 change. (Bug#12418)
542
acfa068f 5432012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
544
545 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
546
acfa068f 5472012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
548
549 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
550 Be more robust about locating simple.el.
551
acfa068f 5522012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
553
554 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
555
acfa068f
CY
5562012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
557
558 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
559
41a97e6f
JL
5602012-09-20 Juri Linkov <juri@jurta.org>
561
eb2deaff
JL
562 * replace.el (query-replace-read-from): Use `read-regexp' instead
563 of `read-from-minibuffer' when `regexp-flag' is non-nil.
564 (occur-read-primary-args): Use `read-regexp' instead of
565 `read-string'.
566 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
567 `read-from-minibuffer'.
568 * isearch.el (isearch-occur): Use `read-regexp' instead of
569 `read-string'.
570 * dired.el (dired-read-regexp): Use `read-regexp' instead of
571 `read-from-minibuffer'.
572 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
573 of `read-string'. (Bug#7567)
574
5825610b
JL
575 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
576 and allow accepting a list of strings prepended to a list of
577 standard default values. Doc fix. (Bug#12321)
578
eebbf404
JL
579 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
580
41a97e6f
JL
581 * replace.el (read-regexp): Don't add ": " when PROMPT already
582 ends with a colon and space. (Bug#12321)
583
c9e452d3
TH
5842012-09-20 Tassilo Horn <tsdh@gnu.org>
585
586 * doc-view.el (doc-view-display): Better fix for the cl-assertion
587 error.
588
ee97deee
SM
5892012-09-20 Stefan Merten <smerten@oekonux.de>
590
70efc5c9 591 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
592 Fixes feature request bug#11711.
593 (rst-mode): Create `imenu-create-index-function'.
594 (rst-get-stripped-line): Delete after refactoring.
595 (rst-section-tree, rst-section-tree-rec)
596 (rst-section-tree-point): Refactor and document properly.
597 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
598 (rst-imenu-convert-cell, rst-imenu-create-index):
599 New function.
ee97deee 600
f490dab9
SM
6012012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
602
95b9712e
SM
603 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
604 (macroexp--expand-all): Use it.
605 (macroexp--funcall-and-return): Remove by folding it into its sole
606 caller (macroexp--warn-and-return).
607 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
608 Use macroexp--obsolete-warning.
609
f490dab9
SM
610 * calc/calc.el: Fix last change by removing the whole chunk, since it
611 was only needed back when Calc was not bundled.
612
96e8d411
MR
6132012-09-20 Martin Rudalics <rudalics@gmx.at>
614
615 * emacs-lisp/debug.el (debug): Restore assignment to
616 debugger-old-buffer removed on 2012-09-08.
617
0876a82d
JL
6182012-09-20 Juri Linkov <juri@jurta.org>
619
620 * dired-aux.el (dired-diff): Remove (require 'diff) since
621 `diff-latest-backup-file' is now autoloaded.
622
9f7c28f0
CY
6232012-09-20 Chong Yidong <cyd@gnu.org>
624
625 * vc/diff.el (diff-latest-backup-file): Autoload.
626
7a04bee9
SM
6272012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
628
e6f0a80d
SM
629 * calc/calc.el: Remove redundant autoload shape check.
630 (sel-mode): Don't defvar.
631 (calc-get-stack-element): Add `sel-mode' arg instead.
632 (calc-top, calc-top-list): Pass it this additional argument.
633 * calc/calc-store.el (calc-store-map):
634 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
635 (calc-map-equation, calc-outer-product, calc-inner-product):
636 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
637
7a04bee9
SM
638 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
639
12734222
JL
6402012-09-19 Juri Linkov <juri@jurta.org>
641
642 * dired-aux.el (dired-diff): Add (require 'diff) because
643 `diff-latest-backup-file' is not autoloaded.
644 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
645 of `dired-get-filename' to t to not report error when there is
646 no default file on the current line.
647
46624b4f
SM
6482012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
649
ce97595b
SM
650 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
651 macroexp--eval-if-compile.
652 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
653 (macroexp--expand-all): Use them (bug#12371).
654
46624b4f
SM
655 * doc-view.el (doc-view-guess-paper-size)
656 (doc-view-scale-bounding-box): Fix unbound `caddr'.
657
db8a5a18
TH
6582012-09-19 Tassilo Horn <tsdh@gnu.org>
659
660 New feature: set optimal slice from BoundingBox information.
661 * doc-view.el (doc-view-mode-map): Add keybinding.
662 (doc-view-menu): Add menu entry.
663 (doc-view-set-slice): Adapt docstring.
664 (doc-view-get-bounding-box, doc-view-guess-paper-size)
665 (doc-view-scale-bounding-box)
666 (doc-view-set-slice-from-bounding-box): New functions.
667 (doc-view-paper-sizes): New defvar.
668
69f6644c
GM
6692012-09-19 Glenn Morris <rgm@gnu.org>
670
35f5b19d
GM
671 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
672 (byte-compile-log-warning): Autoload. (Bug#12371)
673
69f6644c
GM
674 * calendar/calendar.el (calendar-american-month-header)
675 (calendar-european-month-header, calendar-iso-month-header)
676 (calendar-month-header): New options.
677 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
678 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
679
e543ae91
JD
6802012-09-19 Jan Djärv <jan.h.d@swipnet.se>
681
682 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
683
2fd5e67d
JL
6842012-09-18 Juri Linkov <juri@jurta.org>
685
686 * dired-aux.el (dired-diff): Restore original functionality of
687 getting the default value, but keep new feature of using the
688 latest existing backup file (`diff-latest-backup-file').
689
42917e79
JL
6902012-09-18 Juri Linkov <juri@jurta.org>
691
692 * dired.el (dired-mark): If the region is active in Transient Mark
693 mode, mark all files in the active region. Doc fix.
694 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
695 Doc fix. (Bug#10624)
696
20f70ede
JL
6972012-09-18 Juri Linkov <juri@jurta.org>
698
699 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
700 attributes for M-n are pulled from the file at point.
701 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
702 Suggested by Drew Adams. (Bug#10624)
703
32fb8162
DG
7042012-09-18 Dmitry Gutov <dgutov@yandex.ru>
705
706 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
707 whitespace after "end".
708 (ruby-do-end-to-brace): Collapse block to one line if it fits
709 within fill-column.
710
37ab5092
MR
7112012-09-18 Martin Rudalics <rudalics@gmx.at>
712
713 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
714 value.
715 (debug): Don't remove debugger window when debugger is expected
716 to be back.
717
ed1f0bd3
CY
7182012-09-18 Chong Yidong <cyd@gnu.org>
719
720 * custom.el (defface): Doc fix.
721
722 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
723
a11035b8
MB
7242012-09-18 Martin Blais <blais@furius.ca> (tiny change)
725
726 * progmodes/compile.el (compilation-start): Use compilation-always-kill
727 to initialize query-on-exit; then test that instead (bug#12288).
728
64f6a736
SM
7292012-09-17 Stefan Merten <smerten@oekonux.de>
730
70efc5c9 731 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
732 (rst-defcustom-testcover, rst-testcover-add-compose)
733 (rst-testcover-add-1value): New functions.
734 (rst-portable-mark-active-p): Replace by `use-region-p'.
735 (rst-update-section, rst-classify-adornment)
736 (rst-find-title-line): Mark `1value' forms.
737 (rst-classify-adornment): Remove superfluous form.
738 (rst-update-section, rst-get-adornments-around)
739 (rst-adornment-complete-p, rst-get-next-adornment)
740 (rst-adjust, rst-promote-region)
741 (rst-display-adornments-hierarchy, rst-straighten-adornments)
742 (rst-find-pfx-in-region, rst-section-tree-rec)
743 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
744 (rst-toc-node, rst-toc, rst-forward-section)
745 (rst-iterate-leftmost-paragraphs)
746 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
747 (rst-bullet-list-region)
748 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
749 (rst-compile-find-conf, rst-compile)
750 (rst-repeat-last-character): Fix style.
751
580bd868
CY
7522012-09-17 Chong Yidong <cyd@gnu.org>
753
754 * comint.el (comint--complete-file-name-data): Don't add a space
755 if the status is `sole'; that adds a gratuitous space in the
756 completion-cycling case (Bug#12092).
757
758 * pcomplete.el (pcomplete-completions-at-point): Likewise.
759
69de3ec6
RS
7602012-09-17 Richard Stallman <rms@gnu.org>
761
0dee970c
RS
762 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
763 only in the mime-shown mode, not in raw mode.
764 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 765 mime processing. (Bug#12305)
0dee970c 766
6b250df6
GM
767 * mail/rmail.el (rmail-retry-failure):
768 Turn off mime processing first. (Bug#12037)
acb1c47b 769
69de3ec6
RS
770 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
771
d079ee5f
CY
7722012-09-17 Chong Yidong <cyd@gnu.org>
773
774 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
775 (shell-dynamic-complete-functions): Convert to defcustom.
776 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
777
865fe16f
CY
778 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
779 * comint.el (comint-prompt-read-only):
780 * custom.el (defcustom):
781 * hi-lock.el (hi-lock-mode):
782 * ibuffer.el (ibuffer-formats):
783 * ielm.el (ielm-prompt-read-only):
784 * novice.el (disable-command):
785 * saveplace.el (toggle-save-place):
786 * speedbar.el (speedbar-supported-extension-expressions):
787 * startup.el (auto-save-list-file-prefix, init-file-user)
788 (after-init-hook, inhibit-startup-echo-area-message):
789 * strokes.el (strokes-help):
790 * time-stamp.el (time-stamp):
791 * calendar/calendar.el (calendar, diary-file):
792 * calendar/diary-lib.el (diary-mail-entries, diary)
793 (diary-list-entries-hook):
794 * calendar/holidays.el (holidays, calendar-holidays):
795 * calendar/lunar.el (lunar-phases):
796 * calendar/solar.el (sunrise-sunset):
797 * emulation/edt.el (edt-load-keys):
798 * emulation/viper.el (viper-mode):
799 * eshell/em-alias.el (eshell-command-aliases-list):
800 * eshell/esh-util.el (eshell-convert-numeric-arguments):
801 * international/ogonek.el (ogonek-information):
802 * net/tramp-cmds.el (tramp-bug):
803 * net/quickurl.el (quickurl-reread-hook-postfix):
804 * play/decipher.el (decipher-font-lock-keywords):
805 * progmodes/cc-styles.el (c-set-style):
806 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
807 * progmodes/inf-lisp.el (inferior-lisp-prompt):
808 * progmodes/octave-mod.el (octave-mode):
809 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
810 * progmodes/verilog-mode.el (verilog-read-defines):
811 * textmodes/two-column.el (2C-mode): Likewise.
812
48093eb9
KY
8132012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
814
815 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
816 that holds many addresses.
817
c584eaf9
CY
8182012-09-16 Chong Yidong <cyd@gnu.org>
819
40d70ecb
CY
820 * align.el (align-areas): Call the indication function with
821 positions instead of markers for arguments (Bug#12343).
822
1667e065
CY
823 * files.el (parse-colon-path): Use split-string (Bug#12351).
824
fdc2806d 825 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 826 (display-buffer-function): Mark as obsolete.
fdc2806d 827
f1be615c 828 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
829 values similar to font-lock-keywords (Bug#12136).
830 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
831 (compilation-error-regexp-alist): Doc fix.
832
f40a9709
GM
8332012-09-15 Glenn Morris <rgm@gnu.org>
834
72aa16e1
GM
835 * version.el (emacs-bzr-version-bzr): New function.
836 (emacs-bzr-get-version): Add optional EXTERNAL argument.
837
82375160
GM
838 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
839 checkouts, check the parent dirstate matches the branch.
840 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
841 empty string.
842
f40a9709
GM
843 * version.el (emacs-bzr-version): Doc fix.
844 (emacs-bzr-version-dirstate): New function.
845 (emacs-bzr-get-version): For lightweight checkouts, if the parent
846 is local try and check that it matches the branch. If not, just
847 use dirstate information. (Bug#12441)
848
cb26b7f5
JL
8492012-09-14 Juri Linkov <juri@jurta.org>
850
851 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
852 (Bug#12399)
853
2de39f08
SM
8542012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
855
0fb3cb7c
SM
856 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
857
2de39f08
SM
858 * emacs-lisp/edebug.el: Miscellaneous cleanup.
859 Remove obsolete byte-compiler hack that tried to silence some warnings.
860 (edebug-submit-bug-report): Remove.
861 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
862 Remove aliases, use the un-prefixed name instead.
863 (edebug-pop-to-buffer): Consider other frames.
864 (edebug-original-read):: Make it more obvious that it's always defined.
865 (edebug--make-form-data-entry, edebug--form-data-name)
866 (edebug--form-data-begin, edebug--form-data-end): Rename from the
867 single-dashed name, and implement with cl-defstruct.
868 (edebug-set-form-data-entry): Use the standard accessors.
869 (edebug-make-top-form-data-entry): Use push.
870 (edebug-no-match): Drop useless `funcall'.
871 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
872 to functions.
873 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
874 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
875 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
876 (easy-menu-define, with-custom-print): Remove redundant specs.
877 (edebug-outside-overriding-local-map)
878 (edebug-outside-overriding-terminal-local-map): Remove, unused.
879 (edebug--display): Bind unread-command-events directly to nil rather
880 than binding it to unread-command-events and later setting it to nil.
881 (edebug--display): Kill edebug-eval-buffer here...
882 (edebug--recursive-edit): ...rather than here.
883 Bind standard-output and standard-input.
884 (edebug-eval): Check cl-macroexpand-all is fboundp.
885 (edebug-temp-display-freq-count): Fix last change.
886
887 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
888 * subr.el (noreturn, 1value): Add `debug' spec.
889 * emacs-lisp/advice.el: Require cl-lib.
890 (ad-copy-tree): Remove, use copy-tree instead.
891 (ad-dolist): Remove use dolist or cl-dolist instead.
892 (ad-do-return): Remove, use cl-return instead.
893 (defadvice): Add `debug' spec.
894
5b68b333
JL
8952012-09-13 Juri Linkov <juri@jurta.org>
896
897 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
898 (Bug#12399)
899
b9800ec4
GM
9002012-09-13 Glenn Morris <rgm@gnu.org>
901
6a2e6868
GM
902 * calc/calc.el (math-compose-expr):
903 * calc/calc-ext.el (math-compose-expr):
904 * progmodes/cc-defs.el (cl-macroexpand-all):
905 * progmodes/cc-langs.el (delete-duplicates, mapcan)
906 (cl-macroexpand-all): Update declarations.
907
b9800ec4
GM
908 * vc/vc.el: No need to require ediff.
909 (ediff-load-version-control): Declare.
910 (ediff-vc-internal): Fix declaration.
911 (vc-version-ediff): Require ediff.
912
c18e885b
PE
9132012-09-13 Paul Eggert <eggert@cs.ucla.edu>
914
915 Use a more backwards-compatible timer format (Bug#12430).
916 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
917 being right after USECS, as that better supports old code that
918 inadvisedly looked directly at the timer vector.
919
d607d303
KH
9202012-09-13 Kenichi Handa <handa@gnu.org>
921
922 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
923 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
924 `coding-priority' property of these language environment.
925
72eac303
PE
9262012-09-13 Paul Eggert <eggert@cs.ucla.edu>
927
928 Fix glitches caused by addition of psec to timers (Bug#12430).
929 * image.el (image-animate-timer):
930 * time.el (display-time-world-timer):
931 Use timer--function and timer--args rather than raw access to
932 timer vector.
933
2168fe4f
GM
9342012-09-13 Glenn Morris <rgm@gnu.org>
935
936 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
937 If not compiling a file, try using load-file-name.
938
bd8d6108
SM
9392012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
940
c0c54fbd
SM
941 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
942 Fix last change.
943 (edebug-update-eval-list): Use `push'.
944
bd8d6108
SM
945 * emacs-lisp/edebug.el: Use lexical-binding.
946 Remove the "edebug-" prefix from non-dynamically-scoped variables.
947 Mark unused args with underscore.
948 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
949 (edebug-form-data): Use defvar-local.
950 (edebug-make-before-and-after-form, edebug-make-after-form):
951 Use backquote.
952 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
953 Not dynamically scoped any more.
954 (edebug--enter-trace): Add arguments `function' and `args'.
955 Rename from edebug-enter-trace.
956 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
957 (edebug--update-coverage): Add `after-index' and `value' args.
958 Rename from edebug-update-coverage.
959 (edebug-slow-after): Call it accordingly.
960 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
961 edebug-recursive-edit.
962 (edebug--display): Call it accordingly. Add args `value',
963 `offset-index', and `arg-mode'. Rename from edebug-display.
964 (edebug-debugger, edebug): Call it accordingly.
965 (edebug-eval-display-list): Use dolist.
966
a9f9d9de
JL
9672012-09-12 Juri Linkov <juri@jurta.org>
968
969 * info.el (Info-search): Don't check for isearch-mode and
970 isearch-regexp before let-binding search-spaces-regexp to
971 Info-search-whitespace-regexp.
972 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
973 search-whitespace-regexp if isearch-lax-whitespace or
974 isearch-regexp-lax-whitespace is non-nil.
975 (Info-mode): Don't set local variable search-whitespace-regexp.
976 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
977
bfeae2cf
SM
9782012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
979
980 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
981 (debugger-env-macro): Remove support for unread-command-char.
982
983 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
984 the temporary map re-appearing on emulation-mode-map-alists.
985
986 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
987 since 22.1.
988
989 * ehelp.el (with-electric-help): Accept functions in
990 electric-help-form-to-execute.
991 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
992 And replace unread-command-char -> unread-command-events.
993
fbbcaf1b
MA
9942012-09-12 Michael Albinus <michael.albinus@gmx.de>
995
996 Sync with Tramp 2.2.6.
997
998 * net/tramp.el (tramp-accept-process-output): Don't use
999 JUST-THIS-ONE in the XEmacs case.
1000
1001 * net/trampver.el: Update release number.
1002
4dece104
MR
10032012-09-12 Martin Rudalics <rudalics@gmx.at>
1004
bfeae2cf
SM
1005 * emacs-lisp/debug.el (debugger-previous-window-height):
1006 New variable.
4dece104
MR
1007 (debug): When debugger-jumping-flag is non-nil try to restore
1008 height of debugger window. (Bug#8789)
1009
45b82ad0
SM
10102012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1011
60c49c0f
SM
1012 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1013 overriding-local-map and pre/post-command-hook here.
1014 (edebug-recursive-edit): Do it here instead (bug#12345).
1015 (edebug-outside-unread-command-char): Remove all uses of
1016 unread-command-char.
1017
45b82ad0
SM
1018 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1019 inhibit-debugger is bound instead.
1020
baa26ea0
BG
10212012-09-11 Bastien Guerry <bzg@gnu.org>
1022
1023 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1024 (Bug#12346)
baa26ea0 1025
04e8abfa
BG
10262012-09-11 Bastien Guerry <bzg@gnu.org>
1027
96d03571 1028 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1029 (Bug#12347)
96d03571
BG
1030
10312012-09-11 Bastien Guerry <bzg@gnu.org>
1032
fc0c31f8 1033 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1034
04e082b0
MM
10352012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1036
1037 * progmodes/sql.el: Version 3.1
1038 (sql-db2-escape-newlines): New variable.
1039 (sql-escape-newlines-filter): Use it.
1040
399a361b
JB
10412012-09-10 Juanma Barranquero <lekktu@gmail.com>
1042
1043 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1044
0780c517
DN
10452012-09-10 Dan Nicolaescu <dann@gnu.org>
1046
45b82ad0
SM
1047 * vc/diff-mode.el (diff-mode-menu):
1048 Bind diff-remove-trailing-whitespace.
0780c517 1049
9b851e25
SM
10502012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1053 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1054 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1055 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1056 (eval-defun-2): Remove bogus interactive spec.
1057 (lisp-indent-line): Remove redundant whole-exp code, now done in
1058 indent-according-to-mode.
1059 (save-match-data): Remove redundant indent data.
1060
1061 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1062 Use `declare'.
1063
3231d532
JL
10642012-09-09 Juri Linkov <juri@jurta.org>
1065
1066 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1067 (replace-lax-whitespace, query-replace-regexp)
1068 (query-replace-regexp-eval, replace-regexp): Doc fix.
1069 (perform-replace, replace-highlight): Let-bind
1070 isearch-lax-whitespace to replace-lax-whitespace and
1071 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1072
1073 * isearch.el (isearch-query-replace): Let-bind
1074 replace-lax-whitespace to isearch-lax-whitespace and
1075 replace-regexp-lax-whitespace to
1076 isearch-regexp-lax-whitespace. (Bug#10885)
1077
70fe8236
SM
10782012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1081
8ed43f15
AM
10822012-09-09 Alan Mackenzie <acm@muc.de>
1083
70fe8236
SM
1084 * progmodes/cc-engine.el (c-state-cache-init):
1085 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1086 (c-record-parse-state-state):
1087 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1088
bfabf70a
AS
10892012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1090
1091 * register.el (register-separator): Rename from
1092 separator-register. All uses changed. Doc fix.
1093 (register): Fix version.
1094
011474aa
CY
10952012-09-09 Chong Yidong <cyd@gnu.org>
1096
1097 * replace.el (query-replace-map): Bind four new symbols for
1098 requesting window scrolling.
1099
1100 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1101 query-replace-map (Bug#8948).
1102
1103 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1104
1105 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1106 since they are now in query-replace-map.
1107
1108 * window.el (scroll-other-window-down): Make the arg optional.
1109
a8b7cd8d
CY
11102012-09-09 Chong Yidong <cyd@gnu.org>
1111
1112 * files.el (hack-local-variables-confirm): Use quit-window to kill
1113 the *Local Variables* buffer.
1114
c3268831
DG
11152012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1116
1117 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1118 not just expect to be at its beginning. Adjust callees.
1119 Succeed when do-end block has no space before the pipe character.
1120 (ruby-brace-to-do-end): When the original block is one-liner,
1121 convert to multiline. Reindent the result.
1122
0979429b
J
11232012-09-08 Jambunathan K <kjambunathan@gmail.com>
1124
1125 * register.el (register): New group.
1126 (register-separator): New user option.
1127 (increment-register): Route it to `append-to-register', if
1128 register contains text. Implication is that `C-x r +' can now be
1129 used for appending to a text register (bug#12217).
1130 (append-to-register, prepend-to-register): Add separator based on
1131 `register-separator.
1132
ace2989a
AM
11332012-09-08 Alan Mackenzie <acm@muc.de>
1134
1135 AWK Mode: make auto-newline work when there's "==" in the pattern.
1136 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1137 correctly.
0979429b
J
1138 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1139 Test more rigorously for "=" token.
ace2989a 1140
616c6c36
DG
11412012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1142
0979429b
J
1143 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1144 Only fail when reached LIMIT.
616c6c36 1145
35d98877
CY
11462012-09-08 Chong Yidong <cyd@gnu.org>
1147
1148 * dired.el (dired-mode-map): Don't bind M-=.
1149
1150 * dired-aux.el (dired-diff): Use backup file as default.
1151
1715f2db
DA
11522012-09-08 Drew Adams <drew.adams@oracle.com>
1153
1154 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1155
6dcef6ec
CY
11562012-09-08 Chong Yidong <cyd@gnu.org>
1157
1158 * subr.el (syntax-after, syntax-class): Doc fix.
1159
fa2bcf43
MR
11602012-09-08 Martin Rudalics <rudalics@gmx.at>
1161
1162 * window.el (display-buffer-in-previous-window): New buffer
1163 display action function.
1164
1165 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1166 (debugger-previous-window): New variable.
1167 (debug): Rewrite using display-buffer-in-previous-window,
1168 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1169
daac280a
SM
11702012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1173
9dd40b00
MM
11742012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1175
daac280a
SM
1176 * progmodes/python.el (python-shell-send-string):
1177 When default-directory is remote, create temp file on remote
9dd40b00
MM
1178 filesystem.
1179 (python-shell-send-file): When file is remote, pass local view of
1180 file paths to remote Python interpreter. (Bug#12340)
1181
145823ec
CY
11822012-09-07 Chong Yidong <cyd@gnu.org>
1183
cee2e90d
CY
1184 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1185
0d7eb2ea
CY
1186 * files.el (after-find-file): Don't fail on a read-only buffer if
1187 require-final-newline is `visit' or `visit-save' (Bug#11156).
1188
145823ec
CY
1189 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1190
daac280a
SM
1191 * userlock.el (ask-user-about-supersession-threat):
1192 Use read-char-choice (Bug#12093).
145823ec 1193
74c582e6
CY
11942012-09-07 Chong Yidong <cyd@gnu.org>
1195
e5c2edf7
CY
1196 * subr.el (buffer-narrowed-p): New function.
1197
1198 * ses.el (ses-widen):
1199 * simple.el (count-words--buffer-message):
1200 * net/browse-url.el (browse-url-of-buffer): Use it
1201
1202 * simple.el (count-words-region): Don't signal an error if there
1203 is a non-nil prefix arg and the mark is not set.
c640e87d 1204
74c582e6
CY
1205 * help.el (describe-key-briefly): Allow the message to be seen
1206 when invoked from the minibuffer (Bug#7014).
1207
d81ceaaf
DG
12082012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1209
1210 * progmodes/ruby-mode.el (ruby-end-of-defun)
1211 (ruby-beginning-of-defun): Simplify, allow indentation before
1212 block beginning and end keywords.
8f06acce
DG
1213 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1214 (ruby-end-of-defun): Expect that the point is at the beginning of
1215 the defun.
d81ceaaf 1216
d458ef98
SM
12172012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1218
1219 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1220 (bug#12367).
1221 (cl--make-usage-args): Strip _ from argument names.
1222
20367d28
RS
12232012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1224
1225 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1226 obsolete alias speedbar-key-map.
1227 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1228 (vhdl-index-menu-init): Don't use obsolete variable
1229 font-lock-maximum-size.
1230
3424a4f6
CY
12312012-09-06 Chong Yidong <cyd@gnu.org>
1232
1233 * frame.el (window-system-version): Mark as obsolete.
1234
fcbfbdea
CY
1235 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1236 of obsolete variable speedbar-key-map.
1237
826b3235
JL
12382012-09-06 Juri Linkov <juri@jurta.org>
1239
1240 * replace.el (replace-lax-whitespace): New defcustom.
1241 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1242 (replace-string, replace-regexp): Mention it in docstrings.
1243 (perform-replace, replace-highlight): Let-bind
1244 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1245 to the values of replace-lax-whitespace and regexp-flag.
1246 Don't let-bind search-whitespace-regexp. (Bug#10885)
1247
1248 * isearch.el (isearch-query-replace): Let-bind
1249 replace-lax-whitespace instead of let-binding
1250 replace-search-function and replace-re-search-function.
1251 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1252 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1253 (isearch-toggle-symbol): Set isearch-regexp to nil
1254 in isearch-word mode (like in isearch-toggle-word).
1255
1ec5e41d
JL
12562012-09-06 Juri Linkov <juri@jurta.org>
1257
1258 * replace.el (replace-search-function)
1259 (replace-re-search-function): Set default values to nil.
1260 (perform-replace): Let-bind isearch-related variables based on
1261 replace-related values, call `isearch-search-fun' and let-bind
1262 the result to `search-function'. Remove code that sets
1263 `search-function' and `search-string' separately for
1264 `delimited-flag'.
1265 (replace-highlight): Add new argument `delimited-flag' and
1266 rename other arguments to the names used in `perform-replace'.
1267 Let-bind `isearch-word' to the argument `delimited-flag'.
1268 (Bug#10885, bug#10887)
1269
0ba2d4b6
DG
12702012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1271
1272 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1273 ruby-beginning-of-indent, simplify, allow all keywords to have
1274 indentation before them.
1275 (ruby-beginning-of-indent): Adjust for above. Search until the
1276 found point is not inside a string or comment.
1277 (ruby-font-lock-keywords): Allow symbols to start with "@"
1278 character, give them higher priority than variables.
1279 (ruby-syntax-propertize-function)
1280 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1281 matchers. Expression expansions are not comments when inside a
1282 string, and there comment syntax status is irrelevant.
1283 (ruby-match-expression-expansion): New function. Check that
1284 expression expansion is inside a string, and it's not escaped.
1285 (ruby-font-lock-keywords): Use it.
1286
ef654460
MR
12872012-09-05 Martin Rudalics <rudalics@gmx.at>
1288
1289 * help.el (temp-buffer-max-height): New default value.
1290 (temp-buffer-resize-frames): New option.
1291 (resize-temp-buffer-window): Optionally resize frame.
1292
1293 * window.el (fit-frame-to-buffer-bottom-margin): New option.
1294 (fit-frame-to-buffer): New function.
1295
7e570fbf 12962012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
1297
1298 * emulation/cua-rect.el (cua--init-rectangles):
1299 * textmodes/picture.el (picture-mode-map):
1300 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1301 like forward-char and backward-char. (Bug#12317)
1302
7e570fbf 13032012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
1304
1305 * progmodes/flymake.el (flymake-warning-re): New variable.
1306 (flymake-parse-line): Use it.
1307
7e570fbf 13082012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
1309
1310 * calendar/holidays.el (holiday-christian-holidays):
1311 Rename an entry. (Bug#12289)
1312
7e570fbf 13132012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
1314
1315 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1316 (bug#12222).
1317
972debf2
SM
13182012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 * loadup.el: Load macroexp. Remove hack.
1321 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1322 (macroexp--expand-all): Use it to get better warnings.
1323 (macroexp--backtrace, macroexp--trim-backtrace-frame)
1324 (internal-macroexpand-for-load): New functions.
1325 (macroexp--pending-eager-loads): New var.
1326 (emacs-startup-hook): New hack to replace one in loadup.el.
1327 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1328 (cl--compiler-macro-cXXr): Move to top, before they can be used.
1329 (cl-psetf): Simplify.
1330 (cl-defstruct): Add indent rule.
1331
8ce192e3
LI
13322012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
1333
1334 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1335 over `user-mail-address' for the SMTP MAIL FROM envelope.
1336 (smtpmail-via-smtp): Ditto.
1337
6578b4d8
DG
13382012-09-04 Dmitry Gutov <dgutov@yandex.ru>
1339
1340 * progmodes/ruby-mode.el: Clean up keybindings.
1341 (ruby-mode-map): Don't bind ruby-electric-brace,
1342 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1343 backward-kill-word, reindent-then-newline-and-indent.
1344 (ruby-mark-defun): Remove.
1345 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
1346 (ruby-mode): Set local beginning-of-defun-function and
1347 end-of-defun-function values.
1348
c5e28e39
MR
13492012-09-03 Martin Rudalics <rudalics@gmx.at>
1350
1351 * window.el (temp-buffer-window-setup-hook)
1352 (temp-buffer-window-show-hook): New hooks.
1353 (temp-buffer-window-setup, temp-buffer-window-show)
1354 (with-temp-buffer-window): New functions.
972debf2
SM
1355 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1356 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
1357
1358 * help.el (temp-buffer-resize-mode): Fix doc-string.
1359 (resize-temp-buffer-window): New optional argument WINDOW.
1360
1361 * files.el (recover-file, save-buffers-kill-emacs):
1362 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1363
73406194
MA
13642012-09-02 Michael Albinus <michael.albinus@gmx.de>
1365
1366 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1367 remote definition of `default-directory', ensure we can connect.
1368
63dd1c6f
JL
13692012-09-02 Juri Linkov <juri@jurta.org>
1370
1371 Toggle whitespace matching mode with M-s SPC.
1372 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1373
1374 * isearch.el (search-whitespace-regexp): Doc fix.
1375 Remove cons cell customization.
1376 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1377 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1378 New variables.
1379 (isearch-forward, isearch-forward-regexp): Doc fix.
1380 (isearch-toggle-lax-whitespace): New command.
1381 (search-forward-lax-whitespace, search-backward-lax-whitespace)
1382 (re-search-forward-lax-whitespace)
1383 (re-search-backward-lax-whitespace): New functions.
1384 (isearch-whitespace-regexp): Remove function.
1385 (isearch-query-replace): Let-bind replace-search-function and
1386 replace-re-search-function.
1387 (isearch-occur): Let-bind search-spaces-regexp according to the
1388 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1389 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1390 condition for C-q SPC.
1391 (isearch-search-fun-default): Use new functions mentioned above.
1392 (isearch-search-forward, isearch-search-backward): Remove functions.
1393 (isearch-search): Don't let-bind search-spaces-regexp.
1394 (isearch-lazy-highlight-space-regexp): Remove variable.
1395 (isearch-lazy-highlight-lax-whitespace)
1396 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1397 (isearch-lazy-highlight-new-loop): Use them.
1398 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1399
af7dda05
CY
14002012-09-02 Chong Yidong <cyd@gnu.org>
1401
1402 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1403
d67d3afd
GM
14042012-09-02 Glenn Morris <rgm@gnu.org>
1405
1406 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
1407
69678719
GM
14082012-09-01 Glenn Morris <rgm@gnu.org>
1409
1410 * term.el: Tidy up menu definitions.
1411 (term-mode-map): Use easymenu for In/Out, Complete menus.
1412 (term-pager-break-map): Initialize in the defvar.
1413 (term-terminal-menu, term-signals-menu): Define with easymenu.
1414 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
1415 (term-pager-menu): New, extracted from term-process-pager.
1416 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1417 (term-update-mode-line): Propertize line/char and page items.
1418 (term-process-pager): Move keymap initialization elsewhere.
1419
78dd6ab1
MR
14202012-09-01 Martin Rudalics <rudalics@gmx.at>
1421
1422 * window.el (switch-to-prev-buffer): Handle additional values of
1423 BURY-OR-KILL argument. Don't switch in minibuffer window.
1424 (switch-to-next-buffer): Don't switch in minibuffer window.
1425 (quit-restore-window): New function based on quit-window.
1426 Handle additional values of former KILL argument.
1427 (quit-window): Call quit-restore-window with appropriate
1428 interpretation of KILL argument.
1429 (display-buffer-below-selected): New buffer display action
1430 function.
1431
3d10e134
SM
14322012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1433
1434 * minibuffer.el (completion-at-point-functions): Complete docstring
1435 (bug#12254).
1436
0e23ef9d
PE
14372012-09-01 Paul Eggert <eggert@cs.ucla.edu>
1438
1439 Better seed support for (random).
1440 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1441 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1442 * play/mpuz.el, play/tetris.el, play/zone.el:
1443 * calc/calc-comb.el (math-init-random-base):
1444 * play/blackbox.el (bb-init-board):
1445 * play/life.el (life):
1446 * server.el (server-use-tcp):
1447 * type-break.el (type-break):
1448 Remove unnecessary call to (random t).
1449 * net/sasl.el (sasl-unique-id-function):
1450 Change (random t) to (random), now that the latter is more random.
1451 * play/life.el (life-initialized): Remove no-longer-needed var.
1452
862382df
MR
14532012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
1454
1455 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1456 Consider frame's buffer predicate when choosing the buffer.
1457 (Bug#12081)
1458
262a66e1
RS
14592012-08-30 Richard Stallman <rms@gnu.org>
1460
1461 * simple.el (special-mode-map): Delete binding for `z'.
1462
f17e1d00
AS
14632012-08-30 Andreas Schwab <schwab@linux-m68k.org>
1464
1465 * progmodes/compile.el (compilation-always-kill): Doc fix.
1466
24777832
CY
14672012-08-30 Chong Yidong <cyd@gnu.org>
1468
1469 * window.el (display-buffer-reuse-frames): Make the obsolescence
1470 message more informative.
1471
69ba1f04
GM
14722012-08-30 Glenn Morris <rgm@gnu.org>
1473
1474 * paren.el (show-paren-delay):
1475 Add a :set function. Doc fix. (Bug#12297)
1476
f0019ede
MB
14772012-08-29 Martin Blais <blais@furius.ca> (tiny change)
1478
1479 * progmodes/compile.el (compilation-always-kill): New var.
1480 (compilation-start): Use it.
1481
35e62fc9
SM
14822012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1483
af070a1c
SM
1484 * simple.el (read-only-mode): Move from files.el for bootstrapping.
1485 * files.el (read-only-mode): Move to simple.el.
1486
35e62fc9
SM
1487 * files.el (read-only-mode): New minor mode.
1488 (toggle-read-only): Use it and mark obsolete.
1489 (find-file--read-only):
1490 * vc/vc.el (vc-next-action, vc-checkout):
1491 * vc/vc-cvs.el (vc-cvs-checkout):
1492 * obsolete/vc-mcvs.el (vc-mcvs-update):
1493 * ffap.el (ffap--toggle-read-only): Update callers.
1494
c2c43c23
MA
14952012-08-29 Michael Albinus <michael.albinus@gmx.de>
1496
1497 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
1498 remote shell scripts.
1499 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
1500
1501 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1502 "/usr/local/sbin".
1503
9fba804b
SM
15042012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1507
eada0861 15082012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 1509
806f0cc7
LL
1510 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1511 completion-at-point. (Bug#12220)
1512
3bb213b9
LL
1513 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1514
22ab32ef
LL
1515 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1516
eada0861 15172012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 1518
19c17fc1
CY
1519 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1520 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 1521
eada0861 15222012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
1523
1524 * progmodes/hideif.el (hif-compress-define-list):
1525 Fix typo. (Bug#11951)
1526
eada0861 15272012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
1528
1529 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1530 buffer local setting.
1531
27d6c5a8
LL
1532 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1533 rcirc-encode-coding-system.
1534
eada0861 15352012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
1536
1537 * net/rcirc.el (rcirc-split-message): New function.
1538 (rcirc-send-message): Use it. (Bug#12051)
1539
d44688e4
JL
15402012-08-28 Juri Linkov <juri@jurta.org>
1541
1542 * info.el (Info-fontify-node): Hide empty lines at the end of
1543 the node. (Bug#12272)
1544
34f10d41
MR
15452012-08-27 Drew Adams <drew.adams@oracle.com>
1546
1547 * dired.el (dired-pop-to-buffer): Make window start at beginning
1548 of buffer (Bug#12281).
1549
77f1f99c
CY
15502012-08-26 Chong Yidong <cyd@gnu.org>
1551
1552 * window.el (special-display-regexps, special-display-frame-alist)
1553 (special-display-buffer-names, special-display-function)
1554 (display-buffer-reuse-frames): Mark as obsolete.
1555
1556 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1557
1558 * help.el (help-print-return-message): Don't treat
1559 display-buffer-reuse-frames specially.
1560
d97af5a0
CY
15612012-08-26 Chong Yidong <cyd@gnu.org>
1562
9fba804b
SM
1563 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1564 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
1565 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1566 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1567 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1568 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1569 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
1570 the functions directly with gdb-display-buffer-other-frame-action.
1571 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1572 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1573 (gdb-display-stack-buffer, gdb-display-locals-buffer)
1574 (gdb-display-registers-buffer): Define directly.
1575 (def-gdb-display-buffer): Macro deleted.
1576 (gdb-display-buffer): Remove second and third args, callers don't
1577 use them. Defer to the default display-buffer behavior, apart
1578 from making windows dedicated.
1579 (gdb-setup-windows): Don't call display-buffer unnecessarily.
1580
1581 * progmodes/gud.el (gud-display-line): Just use display-buffer.
1582
1583 * window.el (display-buffer-pop-up-frame): Handle a
1584 pop-up-frame-parameters alist entry.
1585 (display-buffer): Document it.
1586
dd7ffad6
CY
15872012-08-26 Chong Yidong <cyd@gnu.org>
1588
1589 * isearch.el (search-whitespace-regexp): Make string and nil
1590 values apply to both ordinary and regexp search. Allow a cons
1591 cell value to distinguish between the two.
1592 (isearch-whitespace-regexp, isearch-search-forward)
1593 (isearch-search-backward): New functions.
1594 (isearch-occur, isearch-search-fun-default, isearch-search)
1595 (isearch-lazy-highlight-new-loop): Use them.
1596 (isearch-forward, isearch-forward-regexp): Doc fix.
1597
4c47bd1e
CY
15982012-08-26 Chong Yidong <cyd@gnu.org>
1599
1600 * faces.el (help-argument-name): Always inherit from italic
1601 (Bug#12213).
1602
9aba119d
MR
16032012-08-25 Martin Rudalics <rudalics@gmx.at>
1604
1605 * window.el (window--even-window-heights): Even heights when
1606 WINDOW and the selected window form a vertical combination.
1607 (display-buffer-use-some-window): Provide that window used gets
1608 sized back by quit-window. (Bug#11880) and (Bug#12091)
1609
ca5256ad
PE
16102012-08-24 Paul Eggert <eggert@cs.ucla.edu>
1611
1612 Fix file time stamp problem with bzr and CVS (Bug#12001).
1613 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1614 in the file's time stamp, since the version control system loses
1615 that information.
1616
d1c0d176
JL
16172012-08-22 Juri Linkov <juri@jurta.org>
1618
1619 * info.el (Info-fontify-node): Hide the suffix of the
1620 Info file name in the header line. (Bug#12187)
1621
141562ff
GM
16222012-08-22 Glenn Morris <rgm@gnu.org>
1623
1624 * calendar/cal-tex.el (cal-tex-weekly-common):
1625 Restore leading blank page.
1626
61a48e19 16272012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
1628
1629 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
1630 the region under `shift-select-mode'. (Bug#12231)
1631
16322012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
1633
1634 * progmodes/executable.el (executable-prefix): Set to "#!" instead
1635 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
1636 gives details on why the space is never needed.
1637
ea95074e
MR
16382012-08-22 Martin Rudalics <rudalics@gmx.at>
1639
9fba804b
SM
1640 * window.el (walk-window-tree, window-with-parameter):
1641 New optional argument MINIBUF to control whether these functions
ea95074e
MR
1642 should run on the minibuffer window.
1643 (window-at-side-list): Don't operate on minibuffer window.
1644 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
1645 (window--size-ignore): Rename to window--size-ignore-p.
1646 Update callers.
caceae25
MR
1647 (display-buffer-in-atom-window, window--major-non-side-window)
1648 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
1649 (delete-side-window, display-buffer-in-side-window):
1650 New functions.
caceae25
MR
1651 (window--side-check, window-deletable-p, delete-window)
1652 (delete-other-windows, split-window): Handle side windows and
1653 atomic windows appropriately.
1654 (window--display-buffer): Call display-buffer-record-window also
1655 when the window buffer did not change.
ea95074e 1656
80a51fa0
CS
16572012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
1658
1659 * help-fns.el (help-fns--key-bindings):
1660 Abbreviate non-symbol remap targets. (Bug#12174)
1661
fbb6300b
MR
16622012-08-22 Martin Rudalics <rudalics@gmx.at>
1663
1664 * dired.el (dired-mark-remembered): Don't clobber point.
1665 (Bug#11795)
1666
2b2c0794
GM
16672012-08-22 Glenn Morris <rgm@gnu.org>
1668
1669 * progmodes/bug-reference.el (bug-reference): New custom group.
1670 (bug-reference-bug-regexp): Make it a defcustom.
1671
37219830
DU
16722012-08-22 Daiki Ueno <ueno@unixuser.org>
1673
1674 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1675 (js-paren-indent-offset, js-square-indent-offset)
1676 (js-curly-indent-offset): Add :safe (Bug#12257).
1677
94e0e559
EC
16782012-08-22 Edward O'Connor <hober0@gmail.com>
1679
1680 * json.el (json-key-format): Add error properties.
1681 (json-encode-key): New function.
1682 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1683 Use json-encode-key.
1684
da485f5e
GM
16852012-08-22 Glenn Morris <rgm@gnu.org>
1686
1687 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1688 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1689 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1690 Update for above change.
1691
c6cc78b8
AS
16922012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1693
1694 * cus-face.el (custom-face-attributes): Fix customize type for the
1695 :underline attribute. (Bug#11805)
1696
5481664a
MR
16972012-08-21 Martin Rudalics <rudalics@gmx.at>
1698
1699 * window.el (window-point-1, set-window-point-1): Remove.
1700 (window-in-direction, record-window-buffer)
1701 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
1702 (window--state-get-1, display-buffer-record-window):
1703 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
1704 window-point and set-window-point respectively.
1705
6d74698e
GM
17062012-08-21 Glenn Morris <rgm@gnu.org>
1707
b7fa2691
GM
1708 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1709 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1710 Use it.
1711
52f56d5a
GM
1712 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1713 (cal-tex-shortday): New function.
1714 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1715 (cal-tex-cursor-filofax-daily): Use the above.
1716
9f1ee09e
GM
1717 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1718 New functions.
1719 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1720 (cal-tex-cursor-filofax-week): Use them.
1721
79858159
GM
1722 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1723 New constants.
1724 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1725 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1726
d346b2b4
GM
1727 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1728 (cal-tex-end-document): Don't rely on buffer name.
1729
b2403709
GM
1730 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1731 Use cal-tex-vspace.
1732 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1733 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
1734 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1735 Use cal-tex-arg.
b2403709 1736
1cebb5c0
GM
1737 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1738 (cal-tex-cursor-week, cal-tex-cursor-week2)
1739 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1740 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1741 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1742 (cal-tex-insert-preamble, cal-tex-b-document)
1743 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1744 Improve cal-tex-cmd usage.
1745
c68cd5d4
GM
1746 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1747 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1748 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1749 (cal-tex-weekly-paper): New function.
1750 (cal-tex-cursor-week, cal-tex-cursor-week2)
1751 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1752 (cal-tex-cursor-day): Use it.
1753
9dca4801
GM
1754 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1755 (cal-tex-cursor-filofax-week): Remove leading blank page.
1756
1941e134
GM
1757 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1758 Add autoload cookie. For now at least, don't use color, since
1759 no other cal-tex function does.
1760
6d74698e
GM
1761 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1762 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1763 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1764
64cde199
JL
17652012-08-21 Juri Linkov <juri@jurta.org>
1766
1767 * info.el (Info-file-attributes): New variable.
1768 (info-insert-file-contents): Add file attributes to
1769 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1770 `Info-toc-nodes' when previous modtime of the Info file is less
1771 than new modtime.
1772 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1773 of info.el. (Bug#12230)
1774
32757648
GM
17752012-08-20 Glenn Morris <rgm@gnu.org>
1776
1777 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1778 * calendar/holidays.el (calendar-holiday-list):
1779 Report errors with display-warning rather than beep'n'sleep.
1780
a32fbbcf
MA
17812012-08-20 Michael Albinus <michael.albinus@gmx.de>
1782
1783 * net/tramp.el (tramp-accept-process-output): Accept only output
1784 from PROC. Otherwise, process filters and sentinels might be
1785 confused. (Bug#12145)
1786
a05731a0
CY
17872012-08-20 Chong Yidong <cyd@gnu.org>
1788
1789 * descr-text.el (describe-text-properties-1): Use overlays-in to
1790 report on empty overlays (Bug#3322).
1791
36e8d1eb
GM
17922012-08-20 Glenn Morris <rgm@gnu.org>
1793
3d300447
GM
1794 * mail/rmailout.el (rmail-output-read-file-name):
1795 Trap and report errors in rmail-output-file-alist elements.
1796
36e8d1eb
GM
1797 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1798 since most non-font-lock faces are not also variables).
1799
b96e5814
ER
18002012-08-20 Edward Reingold <reingold@iit.edu>
1801
1802 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1803 New function. (Bug12160)
1804
7cef3569
GM
18052012-08-19 Glenn Morris <rgm@gnu.org>
1806
1807 * mail/rmailout.el (rmail-output-read-file-name):
1808 Fix previous change (when the alist is nil or does not match).
1809
17975d7f
CY
18102012-08-19 Chong Yidong <cyd@gnu.org>
1811
1812 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1813 (Bug#12228).
1814
2170b1bd
CY
18152012-08-18 Chong Yidong <cyd@gnu.org>
1816
1817 * simple.el (yank-handled-properties): New defcustom.
1818 (yank-excluded-properties): Add font-lock-face and category.
1819 (yank): Doc fix.
1820
9fba804b
SM
1821 * subr.el (remove-yank-excluded-properties):
1822 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
1823 and category is now done this way, instead of being hard-coded.
1824 (insert-for-yank-1): Remove font-lock-face handling.
1825 (yank-handle-font-lock-face-property)
1826 (yank-handle-category-property): New function.
1827
ee218151
GM
18282012-08-17 Glenn Morris <rgm@gnu.org>
1829
1830 * mail/rmailout.el (rmail-output-read-file-name):
1831 Check rmail-output-file-alist against the full message body
1832 in the correct rmail buffer. (Bug#12214)
1833
4a6bc3fd
MA
18342012-08-17 Michael Albinus <michael.albinus@gmx.de>
1835
9fba804b
SM
1836 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1837 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 1838
383dcbf9
CY
18392012-08-17 Chong Yidong <cyd@gnu.org>
1840
1841 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1842 font spec, set the font directly (Bug#3228).
1843
998c4a6a
MR
18442012-08-17 Martin Rudalics <rudalics@gmx.at>
1845
1846 * window.el (delete-window): Fix last fix.
1847
52162052
MR
18482012-08-16 Martin Rudalics <rudalics@gmx.at>
1849
1850 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
1851 (window-child, window-child-count, window-last-child)
1852 (window-normalize-window, window-combined-p)
1853 (window-combinations, window-atom-root, window-min-size)
1854 (window-sizable, window-sizable-p, window-size-fixed-p)
1855 (window-min-delta, window-max-delta, window--resizable)
1856 (window--resizable-p, window-resizable, window-total-size)
1857 (window-full-height-p, window-full-width-p, window-body-size)
1858 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1859 (minimize-window, window-deletable-p, delete-window)
1860 (delete-other-windows, set-window-buffer-start-and-point)
1861 (next-buffer, previous-buffer, split-window, balance-windows-2)
1862 (set-window-text-height, window-buffer-height)
1863 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
1864 (truncated-partial-width-window-p): Minor code adjustments.
1865 In doc-strings state whether the argument window has to denote a
85c2386b 1866 live, valid or any window.
52162052 1867
1c308380
PS
18682012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1869
1870 * progmodes/subword.el (subword-forward-function)
1871 (subword-backward-function, subword-forward-regexp)
1872 (subword-backward-regexp): New variables.
1873 (subword-forward, subword-forward-internal, subword-backward-internal):
1874 Use new variables, eg so that different "word" definitions
1875 can be easily used. (Bug#11411)
1876
94c9ece1
SM
18772012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1880 for composite selectors.
1881 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1882 operation just because we can't find a previous revision.
1883
f2045622
CY
18842012-08-15 Chong Yidong <cyd@gnu.org>
1885
1886 * frame.el (set-frame-font): Accept font objects.
1887
582db660
SM
18882012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1889
1890 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1891
2f29c200
WJ
18922012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1893
456e62c2
WJ
1894 * man.el (Man-overstrike-face, Man-underline-face)
1895 (Man-reverse-face): Remove variables.
1896 (Man-overstrike, Man-underline, Man-reverse): New faces.
1897 (Man-fontify-manpage): Use them instead of the variables.
1898 (Man-cleanup-manpage): Comment change.
1899 (Man-ansi-color-map): New variable.
1900 (Man-fontify-manpage): Use it.
1901 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1902
2f29c200
WJ
1903 Implement ANSI SGR parameters 22-27 (bug#12146).
1904 * ansi-color.el (ansi-colors): Doc fix.
1905 (ansi-color-context, ansi-color-context-region): Doc fix.
1906 (ansi-color--find-face): New function.
1907 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1908 Rename the local variable `face' to `codes' since it is now a list of
1909 ansi codes. Doc fix.
1910 (ansi-color-get-face): Remove.
1911 (ansi-color-parse-sequence): New function, derived from
1912 ansi-color-get-face.
1913 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1914 codes 22-27.
1915
b4f5e9df
SM
19162012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * subr.el (read-passwd): Allow use from a minibuffer.
1919
ba025fbd
EZ
19202012-08-14 Eli Zaretskii <eliz@gnu.org>
1921
1922 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1923 inside comments and strings as identifiers.
1924
1925 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1926 expression to evaluate. This allows to evaluate expressions with
1927 embedded whitespace.
1928 (gud-tooltip-tips): Add a blank before the newline in the
1929 message-box text, for the benefit of message-box emulation on
1930 MS-Windows.
1931
1932 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1933 messages from GDB, pop them up in a tooltip to give feedback to
1934 user.
b4f5e9df
SM
1935 (gdb-tooltip-print-1): Quote the expression to evaluate.
1936 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
1937 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1938 if the TTY name is nil or empty (which happens when communicating
1939 with the inferior via pipes, e.g. on MS-Windows).
1940 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1941 don't send that to the GUD buffer.
1942
c548f821
GM
19432012-08-14 Glenn Morris <rgm@gnu.org>
1944
1945 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1946 Optimize away setq-default with no args, as for setq. (Bug#12195)
1947
55802e4a
CY
19482012-08-14 Chong Yidong <cyd@gnu.org>
1949
4abcdac8
CY
1950 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1951
55802e4a
CY
1952 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1953 (Bug#12085).
1954
3c3cda1a
GM
19552012-08-14 Glenn Morris <rgm@gnu.org>
1956
1957 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1958
e1873bd0
MA
19592012-08-14 Michael Albinus <michael.albinus@gmx.de>
1960
1961 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1962 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1963 Use cached shell name.
1964
925411b4
FEG
19652012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1966
1967 * progmodes/python.el (python-shell-send-string):
3c3cda1a 1968 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 1969
e636fafe
DG
19702012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1971
1972 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1973 (ruby-percent-literal-beg-re): New constant.
1974 (ruby-syntax-general-delimiters-goto-beg): Rename to
1975 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1976 (ruby-syntax-propertize-general-delimiters): Rename to
1977 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1978 popular term. Adjust comments everywhere.
1979 (ruby-syntax-propertize-percent-literal): Only propertize when not
1980 inside a simple string or comment. When the literal is unclosed,
1981 leave the text after it unpropertized.
f063063a
DG
1982 (ruby-syntax-methods-before-regexp): New constant.
1983 (ruby-syntax-propertize-function): Use it to recognize regexps.
1984 Don't look at the text after regexp, just use the whitelist.
e636fafe 1985
e5b19827
AS
19862012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1987
1988 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1989 non-nil always load the compiled file if it exists. (Bug#12197)
1990
a9f6f311
CY
19912012-08-14 Chong Yidong <cyd@gnu.org>
1992
1993 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1994 (hi-lock-set-pattern): When deciding whether to use font lock or
1995 overlays, look at font-lock-mode instead of font-lock-fontified
1996 (Bug#12168).
1997 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1998 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1999
7d806b1e
DU
20002012-08-14 Daiki Ueno <ueno@unixuser.org>
2001
2002 * subr.el (internal--after-with-selected-window): Fix typo
2003 (Bug#12193).
2004
5beed586
FEG
20052012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2006
2007 Use `completion-table-dynamic' for completion functions.
2008 * progmodes/python.el
2009 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2010 (python-shell-completion--get-completions):
2011 Remove functions.
5beed586
FEG
2012 (python-shell-completion-complete-at-point): New function.
2013 (python-completion-complete-at-point): Use it.
2014
92cb3b04
J
20152012-08-13 Jambunathan K <kjambunathan@gmail.com>
2016
2017 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2018 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2019
89660017
SM
20202012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2021
3c98c962
SM
2022 * subr.el (function-get): Refine `autoload' arg so it can also
2023 autoload functions for gv.el (bug#12191).
2024 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2025 autoloads macros.
2026
aa7c6dbe
SM
2027 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2028 Prefer pcase-let over destructuring-bind.
2029 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2030 Also, remove whitespace as we go, rather than after accumulating the
2031 various places.
2032
89660017
SM
2033 * subr.el (internal--before-with-selected-window)
2034 (internal--after-with-selected-window): Fix typo seleted->selected.
2035 (with-selected-window): Adjust callers.
2036 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2037
31cd32c9
BG
20382012-08-13 Bastien Guerry <bzg@gnu.org>
2039
0fcd3d9f 2040 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2041 enhancement. (Bug#12172)
2042
1b15d8ad
AS
20432012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2044
31e54db0
AS
2045 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2046 type 1-6.
2047 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2048 extended headers.
2049
1b15d8ad
AS
2050 * files.el (hack-local-variables-filter): Remove useless eval.
2051
35cb9c06
MR
20522012-08-13 Martin Rudalics <rudalics@gmx.at>
2053
2054 * subr.el (with-selected-window): Fix last change.
2055
1439443b
SM
20562012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2057
2058 * subr.el (internal--before-with-seleted-window)
2059 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2060 (with-selected-window): Use them, to replace dependency on
2061 tty-top-frame.
1439443b 2062
0d9e2599
NN
20632012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2064
2065 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2066 binding for `newline'.
2067 (ruby-move-to-block): When moving backward, stop at block opening,
2068 not indentation.
2069 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2070 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2071 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2072 `ruby-toggle-block'.
2073
ba10c48c
SM
20742012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2075
2076 * ibuffer.el (ibuffer-do-toggle-read-only):
2077 * dired.el (dired-toggle-read-only):
2078 * buff-menu.el (Buffer-menu-toggle-read-only):
2079 * bindings.el (mode-line-toggle-read-only):
2080 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2081
9229c658
AS
20822012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2083
2084 * descr-text.el (describe-char): Put the overlays over the
2085 "displayed as" character.
2086
0fd09128
JB
20872012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2088
2089 * calc/calc-units.el (math-default-units-table): Give an
2090 initial value.
2091 (math-put-default-units): Add options to put composite units and
2092 unit systems in the default units table.
2093 (calc-convert-units): Send composite units to
2094 `math-put-default-units' when appropriate.
2095
9ff9402d 20962012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2097
fbb5e336
GM
2098 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2099
7aacaf15
GM
2100 * tutorial.el (help-with-tutorial):
2101 * emacs-lisp/copyright.el (copyright-update-directory):
2102 * emacs-lisp/autoload.el (autoload-find-generated-file)
2103 (autoload-find-file): Disable local eval: (for insurance).
2104
f40b9f10
GM
2105 * files.el (hack-local-variables-filter): If an eval: form is not
2106 known to be safe, and enable-local-variables is :safe, then ignore
2107 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2108 This is CVE-2012-3479.
f40b9f10 2109
daa9f1a6
SM
21102012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2113 (rx-form): Simplify.
2114
9cd80478
DG
21152012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2116
0d9e2599
NN
2117 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2118 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2119 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2120 (ruby-syntax-propertize-function): Adjust for changes in
2121 `ruby-syntax-propertize-heredoc'.
2122
21232012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2124
9cd80478
DG
2125 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2126 binding (use `M-;' instead).
9cd80478 2127 (ruby-singleton-class-p): New function.
0d9e2599 2128 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2129
d301b413
SM
21302012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2133
1530c98e
CY
21342012-08-10 Chong Yidong <cyd@gnu.org>
2135
2136 * progmodes/python.el (python-shell-get-process-name): Don't mess
2137 with same-window-buffer-names.
2138
2139 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2140 (eshell-remove-from-window-buffer-names): Make obsolete.
2141 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2142 (eshell): Just use pop-to-buffer-same-window instead.
2143
e1293765
CY
21442012-08-10 Chong Yidong <cyd@gnu.org>
2145
2146 * bindings.el: Bind M-= back to count-words-region.
2147
2148 * simple.el (count-words-region): Accept a prefix arg for acting
2149 on the entire buffer.
2150 (count-words--buffer-message): New helper function.
2151
e1894109
SM
21522012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2153
2154 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2155 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2156 (event-start, event-end): Use posn-at-point to return a more
2157 informative posn.
2158 (posnp): New function.
2159 * mouse.el (popup-menu-normalize-position): Use it.
2160
c69f56a2
MY
21612012-08-10 Masatake YAMATO <yamato@redhat.com>
2162
2163 * mouse.el (popup-menu-normalize-position): New function.
2164 (popup-menu): Use `popup-menu-normalize-position' to normalize
2165 the form for POSITION argument.
2166
2167 * term/x-win.el (x-menu-bar-open):
2168 Use the value returend from (posn-at-point) as position
2169 passed to `popup-menu'.
2170
31673780
JB
21712012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2172
2173 * calc/calccomp.el (math-compose-expr): Add extra argument
2174 indicating that parentheses should be put around products in
2175 denominators. Give multiplication precedence over division during
2176 composition.
2177
dab7711b
CY
21782012-08-09 Chong Yidong <cyd@gnu.org>
2179
dee4ef93
CY
2180 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2181 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2182 (Man-untabify-command, manual-program): Convert to defcustom
2183 (Bug#10429).
2184
73e2bbc5
CY
2185 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2186
3e861c8a
CY
2187 * descr-text.el (describe-char): Don't insert extra newlines
2188 (Bug#10127).
2189
a9f5a649
CY
2190 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2191 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2192
dab7711b
CY
2193 * align.el (align-region): Delete temporary markers (Bug#10047).
2194 Plus some code cleanups.
2195
e0cc4efa
FEG
21962012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2197
2198 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2199 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2200 (python-shell-internal-last-output): Use make-local-variable
2201 instead of make-variable-buffer-local.
2202
489af14f
FEG
22032012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2204
2205 * progmodes/python.el: Enhancements to forward-sexp.
2206 (python-nav-forward-sexp): Rename from
2207 python-nav-forward-sexp-function.
c69f56a2
MY
2208 (python-nav--forward-sexp, python-nav--backward-sexp):
2209 New functions.
489af14f 2210
0fc50303
JB
22112012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2212
2213 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2214 modes and simplification modes.
2215
5d65606a
SM
22162012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2217
2218 * delsel.el (delete-selection-pre-hook): Don't propagate the
2219 file-supersession signals (bug#12161).
2220
4250fdf5
SM
22212012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2224 (cl-map-extents): Add compatibility aliases (bug#12135).
2225
d9f9b465
MA
22262012-08-08 Michael Albinus <michael.albinus@gmx.de>
2227
2228 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2229 tests by `ignore-error'.
2230 (tramp-find-shell): Open also a new shell, when cache is already
2231 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2232
ce0fcefa
JL
22332012-08-08 Juri Linkov <juri@jurta.org>
2234
2235 * bookmark.el: Add `defaults' property to the bookmark record.
2236 (bookmark-current-buffer): Doc fix.
2237 (bookmark-make-record): Add `defaults' property with default values
2238 to the bookmark record.
2239 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2240 with `bookmark-insert-current-bookmark'.
2241 (bookmark-set): Get `defaults' property from the bookmark record
2242 and use it in `read-from-minibuffer'.
2243 (bookmark-insert-current-bookmark): Remove function.
2244
2245 * info.el (Info-bookmark-make-record): Add `defaults' property
2246 with values of canonical Info node name, the current Info file
2247 name and the current Info node name. (Bug#12107)
2248
53fa8652
JL
22492012-08-08 Juri Linkov <juri@jurta.org>
2250
2251 * files.el (basic-save-buffer): Use `buffer-name' as the default
2252 of `read-file-name' when buffer is not visiting a file (bug#12128).
2253
242c0a95
JL
22542012-08-08 Juri Linkov <juri@jurta.org>
2255
2256 * info.el (Info-isearch-search): Doc fix.
2257 (Info-search): Change search-failed message from "initial node" to
2258 "end of node" (bug#12078).
2259 (Info-isearch-search): Change `isearch-string-state' to
2260 `isearch--state-string'.
2261
32ac3a6b
GM
22622012-08-08 Glenn Morris <rgm@gnu.org>
2263
2264 * language/persian.el: Remove file.
f8c1afd5 2265 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
2266 * loadup.el: Remove language/persian.
2267
2c2d9c9c
OF
22682012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2269
2270 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2271
2d79ec42
FEG
22722012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2273
2274 * progmodes/python.el Fixed defsubst warning.
2275 (python-syntax-context) Rename from python-info-ppss-context.
2276 (python-syntax-context-type): Rename from
2277 python-info-ppss-context-type.
2278 (python-syntax-comment-or-string-p): Rename from
2279 python-info-ppss-comment-or-string-p.
2280
2bd255dd
JB
22812012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2282
2283 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2284
c395097f
AS
22852012-08-07 Andreas Schwab <schwab@linux-m68k.org>
2286
6125983e
AS
2287 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2288 a defcustom that is quoted with backquote.
2289
4250fdf5
SM
2290 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2291 Fix handling of interactive spec when the body uses return.
651eaf36
AS
2292 (math-do-arg-check, math-define-function-body): Use backquote forms.
2293 * calc/calc-ext.el (math-defcache): Likewise.
2294 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2295 * allout.el (allout-new-exposure): Likewise.
2296 * calc/calcalg2.el (math-tracing-integral): Likewise.
2297 * info.el (Info-last-menu-item): Likewise.
2298 * emulation/vip.el (vip-loop): Likewise.
2299 * textmodes/artist.el (artist-funcall): Likewise.
2300 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2301 Construct menu-item directly.
2302
4250fdf5
SM
2303 * progmodes/autoconf.el (font-lock-syntactic-keywords):
2304 Don't declare.
c395097f 2305
5fb50dd3
CY
23062012-08-07 Chong Yidong <cyd@gnu.org>
2307
2308 * simple.el (deactivate-mark): Preserve text properties when
2309 saving the primary selection (Bug#8384).
2310
54eea618
KR
23112012-08-07 Kevin Ryde <user42@zip.com.au>
2312
2313 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2314 (woman-parse-numeric-value): On a bad .IP line, issue a warning
2315 and continue processing (Bug#12110).
2316
638eaeb9
SM
23172012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2318
2319 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2320 syntax-propertize-function (bug#10095).
2321
ea376861
SM
23222012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
2323
f91b35be
SM
2324 * help-fns.el (help-fns--key-bindings, help-fns--signature)
2325 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2326 describe-function-1.
2327 (describe-function-1): Use them. Move compiler macro after sig.
2328 (help-fns--compiler-macro): Use function-get. Assume we're already in
2329 standard-output. Adjust layout to new call order.
2330
ea376861
SM
2331 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2332 re-binding a symbol that has a symbol-macro (bug#12119).
2333
d5be7bd0
MB
23342012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
2335
2336 * language/persian.el: New file. (Bug#11812)
2337 * loadup.el: Add language/persian.el.
2338
90749b53
CY
23392012-08-06 Chong Yidong <cyd@gnu.org>
2340
2341 * window.el (window--maybe-raise-frame): New function.
2342 (window--display-buffer): Split off from here.
2343 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2344 (display-buffer-pop-up-window, display-buffer-use-some-window):
2345 Obey an inhibit-switch-frame action alist entry.
2346 (display-buffer): Update doc.
2347
2348 * replace.el (occur-after-change-function): Avoid losing focus by
2349 using the inhibit-switch-frame display parameter (Bug#12139).
2350
ba7b0154
FEG
23512012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
2352
2353 Make internal shell process buffer names start with space.
2354 * progmodes/python.el (python-shell-make-comint): Add optional
2355 argument INTERNAL.
2356 (run-python-internal): Use it.
2357 (python-shell-internal-get-or-create-process): Check for new
2358 internal buffer names.
2359
5eaeacb5
GM
23602012-08-06 Glenn Morris <rgm@gnu.org>
2361
e296d94b 2362 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
2363 Do less getting and setting of environment variables.
2364
b7ccbdc2
CY
23652012-08-05 Chong Yidong <cyd@gnu.org>
2366
777fe95e
CY
2367 * proced.el (proced): Add substitution string to docstring to
2368 trigger autoloading of the proced library on C-h f (Bug#1768).
2369
4250fdf5
SM
2370 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2371 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
2372
2373 * imenu.el (imenu-generic-expression): Move documentation here
2374 from imenu--generic-function.
2375 (imenu--generic-function): Refer to imenu-generic-expression.
2376
9e3b7800 23772012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
2378
2379 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2380 indentation declaration.
2381 (viper-loop): Add indentation declaration (Bug#7025).
2382
e5d9c0d1
CY
23832012-08-05 Chong Yidong <cyd@gnu.org>
2384
f0422feb
CY
2385 * help-fns.el (describe-variable): Add hyperlink for
2386 directory-local variables files. Improve buffer-local and
2387 permanent-local reporting; suggested by MON KEY (Bug#6644).
2388
2389 * help-mode.el (help-dir-local-var-def): New button type.
2390
e5d9c0d1
CY
2391 * files.el (kill-buffer-hook): Provide a defvar.
2392
a4f2deaa
GM
23932012-08-05 Glenn Morris <rgm@gnu.org>
2394
2395 * eshell/esh-ext.el (eshell/addpath):
2396 Also update eshell-path-env. (Bug#12013)
2397
a9dd5754
CY
23982012-08-05 Chong Yidong <cyd@gnu.org>
2399
a4f2deaa 2400 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 2401
d014c740
CY
2402 * fringe.el (fringe-styles): Add docstring.
2403 (fringe--check-mode): New function.
2404 (set-fringe-mode, set-fringe-style): Use it.
2405 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2406
a9dd5754
CY
2407 * files.el (set-auto-mode): Fix invalid setq call.
2408
7c2dc8bd
SM
24092012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2410
2411 * isearch.el: Misc simplification; use defstruct.
2412 (isearch-mode-map): Dense maps now work like sparse ones.
2413 (isearch--state): New defstruct.
2414 (isearch-string-state, isearch-message-state, isearch-point-state)
2415 (isearch-success-state, isearch-forward-state)
2416 (isearch-other-end-state, isearch-word-state, isearch-error-state)
2417 (isearch-wrapped-state, isearch-barrier-state)
2418 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2419 replaced by defstruct's accessors.
2420 (isearch--set-state): Rename from isearch-top-state and change
2421 calling convention.
2422 (isearch-push-state): Use new isearch--get-state.
2423 (isearch-toggle-word): Disable regexp when enabling word.
2424 (isearch-message-prefix): Remove unused arg _c-q-hack.
2425 (isearch-message-suffix): Remove unused arg _ellipsis.
2426
7fcc0070
AS
24272012-08-04 Andreas Schwab <schwab@linux-m68k.org>
2428
2429 * simple.el (list-processes--refresh): For a server use :host or
2430 :local as the address.
97ad0769 2431 (list-processes): Doc fix.
7fcc0070 2432
a11035b8 24332012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
2434
2435 * lisp/mpc.el: Support password in host argument.
2436 (mpc--proc-connect): Parse and use new password element.
2437 Set mpc-proc variable instead of returning process.
2438 (mpc-proc): Adjust accordingly.
2439
6dad7178
EZ
24402012-08-03 Eli Zaretskii <eliz@gnu.org>
2441
18949c2f
EZ
2442 * whitespace.el (whitespace-display-mappings): Use Unicode
2443 codepoints, instead of emacs-mule codepoints. See
2444 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2445 for the details.
2446
6dad7178
EZ
2447 * files.el (file-truename): Don't skip symlink-chasing part on
2448 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
2449 Windows into the loop that recursively chases symlinks.
2450 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
2451 MS-DOS.
2452
385b0198
CY
24532012-08-03 Chong Yidong <cyd@gnu.org>
2454
6200f3c4
CY
2455 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2456
385b0198
CY
2457 * sort.el (sort-regexp-fields): Doc fix.
2458
b9e74744
TH
24592012-08-03 Tassilo Horn <tsdh@gnu.org>
2460
2461 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2462 labels regex position point at the expected place.
2463
41013cb4
MK
24642012-08-03 MON KEY <monkey@sandpframing.com>
2465
2466 * net/imap.el (imap-interactive-login, imap-authenticate)
2467 (imap-mailbox-lsub, imap-mailbox-list)
2468 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2469 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2470 (imap-parse-response): Doc fix.
2471
0ffee616
JT
24722012-08-03 João Távora <joaotavora@gmail.com>
2473
2474 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2475 if sexp scanning does not move point (Bug#5734).
2476
cfcc9cc8
TH
24772012-08-02 Tassilo Horn <tsdh@gnu.org>
2478
2479 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2480 Add listings, minted, and ctable packages.
2481 (reftex-label-alist-builtin): Move listings, minted, and ctable
2482 entries before LaTeX.
a01bbb84 2483 (reftex-label-alist): Docfix.
cfcc9cc8 2484
66ec2442
BG
24852012-08-02 Bastien Guerry <bzg@gnu.org>
2486
2487 * replace.el (occur): Fix docstring (bug#12122).
2488
837b365b
GM
24892012-08-02 Glenn Morris <rgm@gnu.org>
2490
2491 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2492
e098de97
PE
24932012-08-02 Paul Eggert <eggert@cs.ucla.edu>
2494
2495 Obsolete alias inactivate-current-input-method-function (Bug#10150).
2496 * international/mule-cmds.el: Create
2497 inactivate-current-input-method-function as an obsolete alias for
2498 deactivate-current-input-method-function. See Katsumi Yamaoka in
2499 <http://bugs.gnu.org/10150#46>.
2500
a0f95636
JB
25012012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
2502
2503 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2504 of nested `if's.
2505
0d26d7c4
GM
25062012-08-01 Glenn Morris <rgm@gnu.org>
2507
2508 * progmodes/autoconf.el (autoconf-definition-regexp):
2509 Add AH_TEMPLATE, adjust submatch numbering.
2510 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2511 (autoconf-current-defun-function): Update for above change.
2512 (autoconf-current-defun-function): First skip to end of current word.
2513
b686ba06
RS
25142012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
2515
2516 * calendar/cal-html.el (cal-html-insert-agenda-days):
2517 Fix typo. (Bug#12018)
2518
0d49da68
FEG
25192012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2520
2521 Shell processes: enhancements to startup and CEDET compatibility.
2522 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2523 (python-shell-make-comint): accept-process-output at startup.
2524 (run-python-internal): Set inferior-python-mode-hook to nil.
2525 (python-shell-internal-get-or-create-process): call sit-for.
2526 (python-preoutput-result): Add obsolete alias.
2527 (python-shell-internal-send-string): Use it.
2528 (python-shell-send-setup-code): Remove call to
2529 accept-process-output.
2530
f1a71c6e
AS
25312012-07-31 Andreas Schwab <schwab@linux-m68k.org>
2532
2533 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2534 (Bug#12108)
2535
d2605269
JB
25362012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
2537
2538 * calc-mode.el (calc-basic-simplification-mode): Rename from
2539 `calc-limited-simplification-mode'.
2540 (calc-alg-simplification-mode): New function.
fc0c31f8 2541 (calc-set-simplify-mode): Adjust message.
f1a71c6e 2542
d2605269
JB
2543 * calc.el (calc-set-mode-line): Adjust mode line display for
2544 basic simplification mode.
2545
2546 * calc-help.el (calc-m-prefix-help): Update help message.
2547
2548 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2549 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2550
a3827a43
BG
25512012-07-31 Bastien Guerry <bzg@gnu.org>
2552
2553 * man.el (man): Fix comment. (bug#12101)
2554
502e3f89
MR
25552012-07-31 Martin Rudalics <rudalics@gmx.at>
2556
2557 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2558 Don't return a non-nil value when no suitable buffer was found.
2559
d7714961
FEG
25602012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
2561
2562 * progmodes/python.el (run-python-internal): Disable font lock for
2563 internal shells.
2564
1f45e27e
SM
25652012-07-30 Stefan Merten <smerten@oekonux.de>
2566
70efc5c9 2567 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
2568 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2569 (rst-official-version, rst-official-cvs-rev)
2570 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2571 (rst-mode-map): New key binding.
2572
0aee6912
PE
25732012-07-30 Paul Eggert <eggert@cs.ucla.edu>
2574
2575 Update .PHONY listings in makefiles.
2576 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2577 autoloads, update-subdirs, updates, bzr-update, update-authors,
2578 compile-onefile, compile-calc, backup-compiled-files,
2579 compile-after-backup, compile-one-process, mh-autoloads,
2580 bootstrap-clean, distclean, maintainer-clean.
2581
9052f9f0
JB
25822012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
2583
1823ac5a
JB
2584 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2585 (calc-set-mode-line): Don't display "AlgSimp ".
2586
2587 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2588 (calc-lim-simplify-mode): New function.
2589 (calc-set-simplify-mode): Default to 'alg.
2590 (calc-default-simplify-mode): Make algebraic simplifications
2591 the default.
2592
2593 * calc/calc-ext.el (calc-init-extensions): Remove binding for
2594 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
2595
8d7c7eed 2596 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
2597 indicate new simplification modes.
2598
1823ac5a
JB
2599 * calc/README: Mention new default simplification mode.
2600
9052f9f0
JB
2601 * calc/calc.el (math-normalize-error): New variable.
2602 (math-normalize): Set `math-normalize-error' to t
2603 when there's an error.
2604
2605 * calc/calc-alg.el (math-simplify): Don't simplify when
2606 `math-normalize' returns an error.
2607
20ba0cb4
EZ
26082012-07-29 Eli Zaretskii <eliz@gnu.org>
2609
2610 * international/mule-cmds.el (set-locale-environment): Revert last
2611 change, since display-graphic-p returns nil when this function is
2612 called during startup. Instead...
2613
2614 * term/w32console.el (terminal-init-w32console): ...setup the
2615 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
2616
a5dcc929
JL
26172012-07-29 Juri Linkov <juri@jurta.org>
2618
2619 * simple.el (goto-line): Don't display default line number in the
2620 prompt because it should be displayed by `read-number' (bug#9952).
2621 Add the current line number to the defaults of `goto-line' to
2622 allow its easier modification by users with `M-n' (bug#9201).
2623
2624 * subr.el (read-number): Support multiple default values like in
2625 other minibuffer reading functions. Replace `read' with
2626 `string-to-number' for consistency with `number-to-string'.
2627
72b255c7
PE
26282012-07-29 Paul Eggert <eggert@cs.ucla.edu>
2629
2630 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2631 * emulation/viper-init.el (viper-deactivate-input-method-action):
2632 Rename from viper-inactivate-input-method-action.
2633 (viper-deactivate-input-method):
2634 Rename from viper-inactivate-input-method.
2635 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2636 * international/mule-cmds.el (deactivate-input-method):
2637 Rename from inactivate-input-method.
2638 Also run input-method-deactivate-hook.
2639 (deactivate-current-input-method-function):
2640 Rename from inactivate-current-input-method-function.
2641 (input-method-deactivate-hook): New hook.
2642 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
2643 (inactivate-input-method): Mark obsolete.
2644
72b255c7
PE
2645 * international/quail.el (quail-activate):
2646 Also run quail-deactivate-hook.
2647 (quail-deactivate): Rename from quail-inactivate.
2648 * international/robin.el (robin-activate):
2649 Also run robin-deactivate-hook.
2650 (robin-deactivate): Rename from robin-inactivate.
2651
2549c068
CY
26522012-07-29 Chong Yidong <cyd@gnu.org>
2653
2654 * simple.el (indicate-copied-region): New function.
2655 (kill-ring-save): Split off from here.
2656
2657 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2658 (kill-rectangle): Set deactivate-mark to t on read-only error.
2659
2660 * register.el (copy-to-register, copy-rectangle-to-register):
2661 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
2662 (append-to-register, prepend-to-register):
2663 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
2664
2665 * simple.el (async-shell-command-buffer): New defcustom.
2666 (shell-command): Use it. (Bug#4719)
2667
01bd1b0d
EZ
26682012-07-28 Eli Zaretskii <eliz@gnu.org>
2669
2670 * international/mule-cmds.el (set-locale-environment): In a
2671 console session on MS-Windows, set up keyboard and terminal
2672 encoding from the OEM codepage, not the ANSI codepage.
2673 (Bug#12055)
2674
a55739d3
CY
26752012-07-28 Chong Yidong <cyd@gnu.org>
2676
2677 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2678 gdb-get-location.
2679
0e1a094f 26802012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
2681
2682 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2683 the alist (bug#12029).
2684
20329d73
EZ
26852012-07-28 Eli Zaretskii <eliz@gnu.org>
2686
2687 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2688 (compile-always, compile-first)
2689 ($(lisp)/calendar/cal-loaddefs.el)
2690 ($(lisp)/calendar/diary-loaddefs.el)
2691 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2692 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2693 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2694 instead of on update-subdirs.
2695 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2696
345a2258
CY
26972012-07-28 Chong Yidong <cyd@gnu.org>
2698
1eee6341
CY
2699 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2700 directory if vc-deduce-backend returns nil (Bug#7350).
2701
345a2258
CY
2702 * simple.el (delete-trailing-lines): New option.
2703 (delete-trailing-whitespace): Obey it (Bug#11879).
2704
049a0936
DE
27052012-07-28 David Engster <deng@randomsample.de>
2706
2707 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2708 Explanation of new 'symbol-qnames feature in doc-strings.
2709 (xml-maybe-do-ns): Return expanded names as plain symbols if
2710 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2711 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2712
aa81af71
FEG
27132012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2714
2715 Consistent completion in inferior python with emacs -nw.
2716 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2717 binding in inferior-python-mode-map with "\t".
2718 (python-shell-completion-complete-at-point)
2719 (python-completion-complete-at-point): Remove interactive spec.
2720
e827b1eb
JB
27212012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2722
2723 * calc/calccomp.el (math-compose-expr): Undo previous change.
2724
a90dfb95
FEG
27252012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2726
4250fdf5 2727 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
2728 run-python.
2729 (python-shell-make-comint): Fix pop-to-buffer call.
2730 (run-python): Autoload. New arg SHOW.
2731 (python-shell-get-or-create-process): Do not pop python process
2732 buffer.
2733
32770973 27342012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
2735
2736 * notifications.el (notifications-on-action-signal)
2737 (notifications-on-closed-signal): Use also the bus address for the map.
2738 (notifications-notify, notifications-close-notification)
fc0c31f8 2739 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 2740
86332df2
TH
27412012-07-27 Tassilo Horn <tsdh@gnu.org>
2742
4250fdf5
SM
2743 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2744 Add support for the lstlisting and minted environments, and for the
86332df2
TH
2745 ctable macro.
2746 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2747 labels written in keyvals syntax.
2748
ca1302a4
JB
27492012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2750
2751 * calc/calccomp.el (math-compose-expr): Use parentheses when
2752 there is a product in the denominator of a fraction.
2753
f8b91036
EZ
27542012-07-26 Eli Zaretskii <eliz@gnu.org>
2755
2756 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2757 ($(lisp)/calendar/diary-loaddefs.el)
2758 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
2759 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2760 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
2761 rewritten while the autoload files are built at the same time,
2762 which needs to load subdirs.el.
2763
c8e5a42c
MR
27642012-07-26 Martin Rudalics <rudalics@gmx.at>
2765
2766 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2767 (mouse-drag-line): Don't exit tracking when a switch-frame or
2768 switch-window event occurs (Bug#12006).
2769
670d85ea
SM
27702012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * mouse.el (popup-menu): Fix last change.
2773
7abaf5cc
SM
27742012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2775
2776 Autoload from Lisp with more care. Follow aliases when looking for
2777 function properties.
2778 * subr.el (autoloadp): New function.
2779 (symbol-file): Use it.
2780 (function-get): New function.
2781 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2782 autoload-do-load.
2783 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2784 (lisp-indent-function):
2785 * emacs-lisp/gv.el (gv-get):
2786 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2787 * emacs-lisp/byte-opt.el (byte-optimize-form):
2788 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2789 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2790 Use function-get.
2791 * emacs-lisp/cl.el: Don't propagate function properties any more.
2792
2793 * speedbar.el (speedbar-add-localized-speedbar-support):
2794 * emacs-lisp/disass.el (disassemble-internal):
2795 * desktop.el (desktop-load-file):
2796 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2797 (describe-function-1):
2798 * emacs-lisp/find-func.el (find-function-noselect):
2799 * emacs-lisp/elp.el (elp-instrument-function):
2800 * emacs-lisp/advice.el (ad-has-proper-definition):
2801 * apropos.el (apropos-safe-documentation, apropos-macrop):
2802 * emacs-lisp/debug.el (debug-on-entry):
2803 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2804 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2805 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2806
b1364986
AA
28072012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2808
2809 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2810 function, not an obsolete variable (Bug#12046).
2811
67ada220
AS
28122012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2813
2814 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2815
f08088e3
CS
28162012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2817
2818 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2819 window only if it is still live (Bug#12034).
2820
8137e7b3
MR
28212012-07-25 Martin Rudalics <rudalics@gmx.at>
2822
2823 * subr.el (redirect-frame-focus): Add advertised calling
2824 convention (Bug#12030).
2825
09ae5da1
PE
28262012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2827
2828 Prefer typical American spelling for "acknowledgment".
2829 * vc/add-log.el (change-log-acknowledgment): Rename from
2830 change-log-acknowledgement, with an alias for the old name.
2831
3cc5a3a8
JB
28322012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2833
2834 * calc-alg.el (math-simplify-divide): Don't cross multiply
2835 in an equation when the lhs is a variable.
2836
b7af7f62
JD
28372012-07-24 Julien Danjou <julien@danjou.info>
2838
2839 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2840 Remove, unused.
2841
ec1b09b1
EZ
28422012-07-23 Eli Zaretskii <eliz@gnu.org>
2843
2844 * startup.el (command-line): Don't display an empty user name in
2845 the error message about non-existent home directory, when
2846 init-file-user was set to an empty string. See
2847 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2848 for the details and context.
2849
b525fd8a
VB
28502012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2851
2852 * ses.el (ses-cell-formula-aset): New macro.
2853 (ses-cell-references-aset): New macro.
2854 (ses-cell-p): New function.
2855 (ses-rename-cell): Do no longer rely on complex operations like
2856 ses-cell-set-formula or ses-set-cell to change the cell and handle
2857 the undo at the same time, but rather use lower level new macros
2858 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 2859 the undo directly. Refresh the mode line.
b525fd8a 2860
2c73e345
LL
28612012-07-21 Leo Liu <sdl.web@gmail.com>
2862
670d85ea
SM
2863 * progmodes/cc-cmds.el (c-defun-name):
2864 Use match-string-no-properties instead for consistency.
2c73e345 2865
542dfbde
LL
28662012-07-20 Leo Liu <sdl.web@gmail.com>
2867
3646bcd6
LL
2868 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2869 (Bug#7879)
2870
542dfbde
LL
2871 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2872
25721031
CY
28732012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2874
2875 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2876 * progmodes/bug-reference.el, misearch.el: Provide themselves
2877 (bug#11915).
2878
2879 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2880 of narrowed buffer (bug#11966).
2881
316e68a7
VB
28822012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2883
2884 * ses.el (ses-rename-cell): Set new name also in reference list of
2885 cells of which the renamed cell depends.
2886
bbf0e7d9
MY
28872012-07-20 Masatake YAMATO <yamato@redhat.com>
2888
2889 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2890 to check whether menu-bar is shown or not. If not shown,
2891 show the menu-bar as a popup menu instead of using tmm.
2892 * mouse.el (popup-menu): Accept `point' as `position' argument.
2893
c28662a8
DG
28942012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2895
2896 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2897 up inside string symbol literal (bug#11923).
2898
87ab808f
EZ
28992012-07-20 Eli Zaretskii <eliz@gnu.org>
2900
2901 * startup.el (fancy-startup-text): Read the whole tutorial, not
2902 just its first 256 bytes. Prevents gibberish in display of the
2903 tutorial title.
2904
89dea803
DA
29052012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2906
2907 Drop idle buffer compaction due to an absence of the
2908 proved efficiency.
2909 * compact.el: Remove.
2910
8a4e6db8
SS
29112012-07-19 Sam Steingold <sds@gnu.org>
2912
2913 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2914 vc-bzr-pull & vc-bzr-merge-branch.
2915 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2916 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2917 for consistency with compilation-error-regexp-alist.
2918 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2919 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2920 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2921 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2922
5db81e33
SM
29232012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * emacs-lisp/chart.el: Use lexical-binding.
2926 (chart-emacs-storage): Don't hardcode the list of entries.
2927
5b835e1d
DA
29282012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2929
2930 Next round of tweaks caused by Fgarbage_collect changes.
2931 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2932
9cd47b72
DA
29332012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2934
2935 Compact buffers when idle.
2936 * compact.el: New file.
2937
1d6fc0df
SM
29382012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2939
2940 * subr.el (eventp): Presume that if it looks vaguely like an event,
2941 it's an event (bug#10190).
2942
1d29cc7d
FEG
29432012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2944
2945 Enhancements to ppss related code (thanks Stefan).
2946 * progmodes/python.el (python-indent-context)
2947 (python-indent-calculate-indentation, python-indent-dedent-line)
2948 (python-indent-electric-colon, python-nav-forward-block)
2949 (python-mode-abbrev-table)
1d6fc0df 2950 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
2951 for ppss context.
2952 (python-info-continuation-line-p): Cleanup.
2953 (python-info-ppss-context): Do not catch 'quote.
2954 (python-info-ppss-context-type)
2955 (python-info-ppss-comment-or-string-p): Simplify.
2956
d583cbe6
FEG
29572012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2958
2959 * progmodes/python.el: Enhancements to eldoc support.
2960 (python-info-current-symbol): New function.
2961 (python-eldoc-at-point): Use python-info-current-symbol.
2962 (python-info-current-defun): Fix cornercase on first defun scan.
2963 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2964 and signal error when no inferior python process is available.
2965
eceb6feb
DG
29662012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2967
2968 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2969 assume it's always t.
2970 (vc-git-registered): Remove caching, the function is only called
2971 once.
2972 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2973
4c8ff0fe
CY
29742012-07-18 Chong Yidong <cyd@gnu.org>
2975
19fb7186
CY
2976 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2977
9587c688
CY
2978 * simple.el (count-words): Report on narrowing (Bug#9959).
2979
0fe776a1
CY
2980 * bindings.el: Bind M-= to count-words.
2981
4c8ff0fe
CY
2982 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2983
7f5331cc
MY
29842012-07-18 Masatake YAMATO <yamato@redhat.com>
2985
2986 * progmodes/sh-script.el (sh-imenu-generic-expression):
2987 Capture a function with `function' keyword and without parentheses
2988 like "function FOO" (bug#11856).
2989
2dc2a609
TH
29902012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2991
2992 * window.el (split-window-sensibly): Make WINDOW argument
2993 optional.
2994
439f7677
CY
29952012-07-18 Chong Yidong <cyd@gnu.org>
2996
9aeb25a6
CY
2997 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2998
439f7677
CY
2999 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3000 and make C-x 8 RET exit isearch (Bug#11439).
3001
3002 * international/iso-transl.el: Move isearch-mode-map key
3003 definitions to isearch.el.
3004
12999ea8
SM
30052012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3006
3007 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3008 (eieio-defclass): Use gv-define-setter when possible.
3009
3ab6e069
DA
30102012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3011
3012 Reflect recent changes in Fgarbage_collect.
3013 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3014 reflect new format of data returned by Fgarbage_collect.
3015
0a60bc10
FEG
30162012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3017
3018 New utility functions + python-info-ppss-context fix (Bug#11910).
3019 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3020 (python-info-ppss-comment-or-string-p): New functions.
3021 (python-info-ppss-context): Small fix for string check.
3022
6dafa0d5
JL
30232012-07-17 Juri Linkov <juri@jurta.org>
3024
3025 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3026 (dired-do-async-shell-command): Don't add `*' at the end of the
3027 command (Bug#11815).
3028 (dired-do-shell-command): Doc fix.
3029 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3030 Join the individual commands using either "&" or ";" as the
3031 separator depending on the values of these trailing characters.
3032 At the end re-add the trailing "&". (Bug#10598)
3033
3034 * simple.el (async-shell-command): Sync the interactive spec with
3035 `shell-command'. Doc fix.
3036 (shell-command): Doc fix.
3037
b19dd9d1
JL
30382012-07-17 Juri Linkov <juri@jurta.org>
3039
3040 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3041
bcdc27d7 30422012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3043
bcdc27d7 3044 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3045 * progmodes/python.el (python-nav-beginning-of-statement):
3046 Rename from python-nav-statement-start.
bcdc27d7
FEG
3047 (python-nav-end-of-statement): Rename from
3048 python-nav-statement-end.
3049 (python-nav-beginning-of-block): Rename from
3050 python-nav-block-start.
3051 (python-nav-end-of-block): Rename from python-nav-block-end.
3052
191da00e
FEG
30532012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3054
7f5331cc
MY
3055 * progmodes/python.el (python-shell-send-string-no-output):
3056 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3057 future interactions (Bug#11868).
3058
4dc7c8d5 30592012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3060
88ecaf8f
SM
3061 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3062
ef501ef0
SM
3063 * emacs-lisp/elint.el (elint-find-args-in-code):
3064 Use help-function-arglist, so as to handle lexical byte-code.
3065
aa7aaf8f
SM
3066 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3067 change (bug#11826).
3068
45fd731c
SM
30692012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3070
2143fa32
SM
3071 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3072 Avoid spuriously marking the buffer as modified because of c-is-sws.
3073
efc26dbe
SM
3074 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3075 as not-a-comment (bug#11946).
3076
f5695c9a
SM
3077 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3078 for uninterned vars.
3079
3080 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3081 Use read-event since we don't really want to read chars but bytes.
3082
45fd731c
SM
3083 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3084 $$..$$ but also $..$ using regexps (bug#11953).
3085 Use tex-verbatim for \url and \path.
3086 (tex-font-lock-keywords): Define as defconst like the others.
3087 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3088
ddfc8813
RK
30892012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3090
3091 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3092 alias for insert-char.
3093
758e556a
FEG
30942012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3095
3096 * progmodes/python.el: Simplified imenu implementation.
3097 (python-nav-jump-to-defun): Remove command.
3098 (python-mode-map): Use `imenu' instead.
3099 (python-nav-list-defun-positions-cache)
3100 (python-imenu-include-defun-type, python-imenu-make-tree)
3101 (python-imenu-subtree-root-label, python-imenu-index-alist):
3102 Remove vars.
3103 (python-nav-list-defun-positions, python-nav-read-defun)
3104 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3105 (python-imenu-make-tree, python-imenu-create-index):
3106 Remove functions.
758e556a
FEG
3107 (python-mode): Update to interact with imenu by setting
3108 `imenu-extract-index-name-function' only.
3109
032d23ab
FEG
31102012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3111
3112 * progmodes/python.el: Enhancements to navigation commands.
3113 (python-nav-backward-sentence)
3114 (python-nav-forward-sentence): Remove.
3115 (python-nav-backward-statement, python-nav-forward-statement)
3116 (python-nav-statement-start, python-nav-statement-end)
3117 (python-nav-backward-block, python-nav-forward-block)
3118 (python-nav-block-start, python-nav-block-end)
3119 (python-nav-forward-sexp-function)
3120 (python-info-current-line-comment-p)
3121 (python-info-current-line-empty-p): New functions.
3122 (python-indent-context): Use `python-nav-statement-start'.
3123
01795a1b
MA
31242012-07-16 Michael Albinus <michael.albinus@gmx.de>
3125
9328d9aa
MA
3126 * eshell/em-ls.el (eshell/ls): Use `apply'.
3127
3128 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3129 multi-hops, instead of Tramp internals.
3130
01795a1b
MA
3131 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3132
3133 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3134 when F1 and F2 are located on different hosts.
3135
63408057
CY
31362012-07-14 Chong Yidong <cyd@gnu.org>
3137
3138 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3139 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3140 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3141 (xterm-mouse--read-event-sequence-1000)
3142 (xterm-mouse--read-event-sequence-1006): New functions. For old
3143 mouse protocol, handle M-mouse-X events correctly.
3144 (xterm-mouse-event): New arg specifying mouse protocol.
3145 (turn-on-xterm-mouse-tracking-on-terminal)
3146 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3147 sequence to toggle extended coordinates on newer XTerms.
3148 This appears to be harmless on terminals which do not support this.
63408057 3149
cd276f6e
LL
31502012-07-14 Leo Liu <sdl.web@gmail.com>
3151
28ca98ac
LL
3152 Add fringe bitmap indicators for flymake. (Bug#11253)
3153 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3154 (flymake-make-overlay): New arg BITMAP.
3155 (flymake-error-bitmap, flymake-warning-bitmap)
3156 (flymake-fringe-indicator-position): New user variables.
3157
cd276f6e
LL
3158 * fringe.el: New bitmap exclamation-mark.
3159
04408072
JD
31602012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3161
3162 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3163 also (Bug#7879).
3164
b5cf7fc4
CY
31652012-07-14 Chong Yidong <cyd@gnu.org>
3166
3167 * electric.el (electric-pair-post-self-insert-function): Fix pair
3168 insertion in empty-region case (Bug#11520).
3169
be755c79
RT
31702012-07-14 Chong Yidong <cyd@gnu.org>
3171
45fd731c
SM
3172 * bindings.el: Consolidate ctl-x-r-map bindings.
3173 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
3174
3175 * rect.el, register.el: Move bindings to bindings.el.
3176
31772012-07-14 Reuben Thomas <rrt@sc3d.org>
3178
3179 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3180
7f5b3198
AS
31812012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3182
3183 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3184
97662200
JB
31852012-07-13 Juanma Barranquero <lekktu@gmail.com>
3186
80185fed
JB
3187 * bindings.el (top): Use `mapc' instead of `mapcar'.
3188
97662200
JB
3189 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3190
2bb1ae55
MA
31912012-07-13 Michael Albinus <michael.albinus@gmx.de>
3192
3193 * progmodes/sql.el (sql-comint): Suppress the check for program on
3194 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3195 (Bug#11908)
3196
dea31bd3
CY
31972012-07-13 Chong Yidong <cyd@gnu.org>
3198
3199 * bindings.el: Assign a non-nil permanent-local property to
3200 per-buffer variables which lack a default value (Bug#11930).
3201
3202 * help-fns.el (describe-variable): In the "automatically becomes
3203 local" notice, take note of permanent-local variables.
3204
b68b3337
CY
32052012-07-13 Chong Yidong <cyd@gnu.org>
3206
3207 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3208 to allow printing the message when called from Lisp.
3209
3210 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3211 Remove toggle-read-only.
3212
3213 * bs.el (bs-toggle-readonly):
45fd731c
SM
3214 * buff-menu.el (Buffer-menu-toggle-read-only):
3215 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
3216
3217 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3218 Remove with-no-warnings around toggle-read-only.
3219 (ffap-read-only, ffap-read-only-other-window)
3220 (ffap-read-only-other-frame): Callers changed.
3221
3222 * help-mode.el: Don't require view package.
3223 (help-mode-finish): Set buffer-read-only instead of calling
3224 toggle-read-only.
3225
3226 * bindings.el (mode-line-toggle-read-only):
3227 * dired.el (dired-toggle-read-only):
3228 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3229 with non-nil second arg.
3230
3231 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3232 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3233 directly.
3234
56bc1586
EZ
32352012-07-12 Eli Zaretskii <eliz@gnu.org>
3236
3237 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3238 not incf.
3239
a464a6c7
SM
32402012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 More CL cleanups and reduction of use of cl.el.
3243 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3244 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3245 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3246 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3247 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3248 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3249 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3250 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3251 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3252 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3253 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3254 * eshell/em-cmpl.el, eshell/em-banner.el:
3255 * calendar/parse-time.el: Use cl-lib.
3256 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3257 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3258 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3259 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3260 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3261 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3262 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3263 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3264 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3265 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3266 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3267 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3268 `lambda' rather than with `quote'.
3269 (eshell-do-opt): Adjust accordingly.
3270 (eshell-process-option): Simplify.
3271 * eshell/esh-var.el:
3272 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3273 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3274 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3275 to `pcase--dontcare'.
3276 * emacs-lisp/cl.el (labels): Mark obsolete.
3277 (cl--letf, letf): Move to cl-lib.
3278 (cl--letf*, letf*): Remove.
3279 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3280 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3281 (cl-progv): Rewrite.
3282 (cl--letf, cl-letf): Move from cl.el.
3283 (cl-letf*): New macro.
3284 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3285
7ad4afe1
MA
32862012-07-11 Michael Albinus <michael.albinus@gmx.de>
3287
3288 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3289
9af57756
CY
32902012-07-11 Chong Yidong <cyd@gnu.org>
3291
3292 * vc/log-edit.el (log-edit-vc-backend): New variable.
3293 (log-edit): Doc fix.
3294
3295 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
3296 argument of log-edit to set up all local variables.
3297 (vc-start-logentry): New optional arg specifying VC backend.
3298
3299 * vc/vc.el (vc-checkin): Use it.
3300 (vc-deduce-fileset): Handle Log Edit buffers.
3301 (vc-diff): Make first argument optional too.
3302
3303 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3304
8477cc7a
MA
33052012-07-10 Michael Albinus <michael.albinus@gmx.de>
3306
3307 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3308 command, just in case. The function is not needed anymore.
3309 (eshell-external-command): Do not call `eshell-remote-command'.
3310
19faa8e8
SM
33112012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
3312
f58e0fd5
SM
3313 Reduce use of (require 'cl).
3314 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3315 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3316 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3317 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3318 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3319 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3320 * battery.el, avoid.el, abbrev.el: Use cl-lib.
3321 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3322 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3323 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3324 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3325 * calculator.el, autorevert.el, apropos.el: Don't require CL.
3326 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3327 (byte-compile-unfold-bcf, byte-compile-check-variable):
3328 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3329 (byte-compile-nilconstp):
3330 * emacs-lisp/autoload.el (make-autoload): Use pcase.
3331 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3332
2519d43a
SM
3333 * emacs-lisp/gv.el (cond): Make it a valid place.
3334 (if): Simplify slightly.
3335
19faa8e8
SM
3336 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3337 (pcase--self-quoting-p): New function.
3338 (pcase--u1): Use it.
3339
c4907a5e
GM
33402012-07-10 Glenn Morris <rgm@gnu.org>
3341
3342 * emacs-lisp/authors.el (authors-fixed-entries):
3343 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3344
c4444d16
PE
33452012-07-09 Paul Eggert <eggert@cs.ucla.edu>
3346
3347 Rename configure.in to configure.ac (Bug#11603).
3348 * emacs-lisp/authors.el (authors-canonical-file-name):
3349 * progmodes/autoconf.el (autoconf-mode):
3350 Prefer configure.ac to configure.in.
3351
d75be97d
CY
33522012-07-08 Chong Yidong <cyd@gnu.org>
3353
01ac65bd
CY
3354 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3355 Implement the mouse-1-click-follows-link handling properly.
3356
3357 * info.el (Info-link-keymap): Use follow-link mechanism for
3358 header-line links (Bug#374).
3359
d75be97d
CY
3360 * simple.el (deactivate-mark): Do not set the primary selection
3361 if another program has acquired it (Bug#11772).
3362
87a92845 33632012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
3364
3365 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3366 (woman-decode-region): Replace escaped-escapes without destroying
3367 bold or underline (Bug#11552).
87a92845 3368 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 3369
621b9d6c
CY
33702012-07-07 Chong Yidong <cyd@gnu.org>
3371
3372 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
3373 (interprogram-cut-function, interprogram-paste-function):
3374 Mention that we typically mean the clipboard.
621b9d6c 3375
133a11fc
GM
33762012-07-06 Glenn Morris <rgm@gnu.org>
3377
0d27a45e
GM
3378 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
3379
133a11fc
GM
3380 * files.el (toggle-read-only): Restrict message to interactive use.
3381
07b151f1
MA
33822012-07-06 Michael Albinus <michael.albinus@gmx.de>
3383
3384 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3385
3386 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3387
211b896b
GM
33882012-07-06 Glenn Morris <rgm@gnu.org>
3389
50394322
GM
3390 * Makefile.in (compile-one-process): Rename from "recompile".
3391
211b896b
GM
3392 * Makefile.in (bzr-update): "compile" is the same as "recompile
3393 autoloads", but parallelizable, so use that instead.
3394
4737eec9
DG
33952012-07-06 Dmitry Gutov <dgutov@yandex.ru>
3396
3397 * window.el (quit-window): Always restore window height when
8137e7b3 3398 it's saved in quit-restore parameter (Bug#11810).
4737eec9 3399
226c3633 34002012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
3401
3402 * simple.el (kill-whole-line): Doc tweak.
3403
226c3633 34042012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
3405
3406 * files.el (file-relative-name): Compare file names
3407 case-insensitively if on MS-Windows or MS-DOS, or if
3408 read-file-name-completion-ignore-case is non-nil. Don't use
3409 case-fold-search for this purpose. (Bug#11827)
3410
4dc7c8d5
SM
34112012-07-17 Andreas Schwab <schwab@linux-m68k.org>
3412
3413 * calendar/cal-dst.el (calendar-current-time-zone):
3414 Return calendar-current-time-zone-cache if non-nil.
3415
34162012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 34172012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3418
19faa8e8
SM
3419 * calendar/cal-dst.el (calendar-current-time-zone):
3420 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3421
60198fc9
GM
34222012-07-06 Glenn Morris <rgm@gnu.org>
3423
3424 * Makefile.in (cvs-update): Remove old alias.
3425
957b3189
MA
34262012-07-05 Michael Albinus <michael.albinus@gmx.de>
3427
3428 Sync with Tramp 2.2.6-pre.
3429
3430 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3431 compatible declaration.
3432
19faa8e8
SM
3433 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3434 Protect `list-load-path-shadows' call.
957b3189
MA
3435
3436 * net/tramp-compat.el (top): Require packages, which aren't
3437 autoloaded anymore for XEmacs. Protect call of
3438 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3439 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
3440 it hurts at least for SXEmacs.
3441 (tramp-compat-temporary-file-directory): In XEmacs, there is no
3442 standard-value for `temporary-file-directory'.
3443
3444 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3445 Redirect stderr to /dev/null.
3446 (tramp-sh-handle-write-region): uid and gid can be floats.
3447 Reported by Russell Sim <russell.sim@gmail.com>.
3448 (tramp-sh-handle-vc-registered): Hide errors.
3449 (tramp-vc-file-name-handler): Use dummy results for `process-file'
3450 and `start-file-process'.
3451 (tramp-maybe-open-connection): Check also whether `non-essential'
3452 is bound.
3453
566df3fc
CY
34542012-07-04 Chong Yidong <cyd@gnu.org>
3455
3456 * xml.el (xml--parse-buffer): Use xml-syntax-table.
3457 (xml-parse-tag): Likewise, and avoid changing entity tables.
3458 (xml-syntax-table): Define from scratch, making sure not to give
3459 x2000 and other Unicode spaces whitespace syntax, since those are
3460 not spaces in XML.
3461 (xml-parse-fragment): Delete unused function.
3462 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3463 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3464 (xml-entity-ref, xml-pe-reference-re)
3465 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3466 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3467 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3468 (xml-entity-value-re): Use syntax references in regexps where
3469 possible; no need to define inside a let-binding.
3470 (xml-parse-dtd): Use xml-pe-reference-re.
3471 (xml-entity-or-char-ref-re): New defconst.
3472 (xml-parse-string, xml-substitute-special): Use it.
3473
30eabd7a
SM
34742012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3475
0781098a
SM
3476 * files.el (locate-dominating-file): Allow `name' to be a predicate.
3477 (find-file--read-only): New function.
3478 (find-file-read-only, find-file-read-only-other-window)
3479 (find-file-read-only-other-frame): Use it.
3480 (insert-file-contents-literally): Don't `fset'.
3481 (get-free-disk-space): Use locate-dominating-file.
3482
b5771c0d
SM
3483 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3484 function is already compiled.
3485
30eabd7a
SM
3486 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
3487
b4886f6e
MA
34882012-07-03 Michael Albinus <michael.albinus@gmx.de>
3489
3490 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3491 files on the same host.
3492
b9d82339
AS
34932012-07-03 Andreas Schwab <schwab@linux-m68k.org>
3494
3495 * help-fns.el (describe-function-1): Only call
3496 help-fns--autoloaded-p when we have a file name. (Bug#11848)
3497
a76e6535
CY
34982012-07-03 Chong Yidong <cyd@gnu.org>
3499
3500 * xml.el: Protect parser against XML bombs.
3501 (xml-entity-expansion-limit): New variable.
3502 (xml-parse-string, xml-substitute-special): Use it.
3503 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3504
b544fef2
GM
35052012-07-03 Glenn Morris <rgm@gnu.org>
3506
3507 * progmodes/bug-reference.el (bug-reference-bug-regexp):
3508 Allow linking to specific messages in debbugs reports (eg 123#5).
3509
a7aef6f5
CY
35102012-07-02 Chong Yidong <cyd@gnu.org>
3511
3512 * xml.el: Fix entity and character reference expansion, allowing
3513 them to expand into markup as per XML spec.
3514 (xml-default-ns): New variable.
3515 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
3516 (xml-parse-region): Make first two arguments optional.
3517 Discard text properties.
3518 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3519 All callers changed.
a7aef6f5
CY
3520 (xml-parse-tag): Call xml-parse-tag-1. For backward
3521 compatibility, this function should not modify buffer contents.
3522 (xml-parse-tag-1): Fix opening-tag regexp.
3523 (xml-parse-string): Rewrite, handling entity and character
3524 references properly.
3525 (xml--entity-replacement-text): Signal an error if a parameter
3526 entity is undefined.
3527
3df31c9f
SM
35282012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3529
2b5208f1
SM
3530 * comint.el (comint-output-filter): Filter out repeated prompts.
3531
3df31c9f
SM
3532 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3533 and file-name-absolute-p.
3534 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3535 internal calls.
3536
e3ac1281
PE
35372012-07-02 Paul Eggert <eggert@cs.ucla.edu>
3538
3539 Spelling fixes.
3540 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3541 Rename from byte-compile--refiy-function. All uses changed.
3542
fbf2e7ad
CY
35432012-07-01 Chong Yidong <cyd@gnu.org>
3544
3545 * xml.el (xml--parse-buffer): New function. Move most of
3546 xml-parse-region here.
3547 (xml-parse-region): Copy region into a temporary buffer, since
3548 parameter entity substitution requires changing buffer contents.
3549 Use xml--parse-buffer.
3550 (xml-parse-file): Use xml--parse-buffer.
3551 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 3552 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 3553
9bf0aa15
GM
35542012-06-30 Glenn Morris <rgm@gnu.org>
3555
bbce2853
GM
3556 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3557
9bf0aa15
GM
3558 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3559 Remove outdated and unnecessary dbus declarations.
3560
0d23c240
EZ
35612012-06-30 Eli Zaretskii <eliz@gnu.org>
3562
3563 * emacs-lisp/timer.el (timer-until): Subtract results of
3564 float-time, instead of taking float-time of the result of
3565 time-subtract, since float-time signals an error for negative time
3566 arguments.
3567
b3218de1
CY
35682012-06-30 Chong Yidong <cyd@gnu.org>
3569
3570 * xml.el (xml-*-re): Convert defvars into defconsts, and
3571 eval-and-compile them so eval-and-compile works on derivatives.
3572 (xml--entity-replacement-text): Use eval-and-comple.
3573
a40c87a0
MA
35742012-06-30 Michael Albinus <michael.albinus@gmx.de>
3575
3576 * vc/vc-git.el (vc-git-registered): Use cache property
3577 `git-registered'.
3578 (vc-git-mode-line-string): Call `vc-working-revision' instead of
3579 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 3580 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 3581
ac87de97
DG
35822012-06-30 Dmitry Gutov <dgutov@yandex.ru>
3583
3584 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 3585 removed (likely outside Emacs). (Bug#11757)
ac87de97 3586
ac10fe06
SM
35872012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3588
3df31c9f 3589 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 3590
7f3fbd5d
CY
35912012-06-30 Chong Yidong <cyd@gnu.org>
3592
3593 * xml.el: Implement XML parameter entities.
3594 (xml-parameter-entity-alist): New variable.
3595 (xml-parse-region, xml-parse-fragment): Preserve previous values
3596 of xml-entity-alist and xml-parameter-entity-alist, so that
3597 repeated calls on different documents do not change them.
3598 (xml-parse-tag): Fix doctype regexp.
3599 (xml--entity-replacement-text): New function.
3600 (xml-parse-dtd): Use it. Don't handle system entities; doing that
3601 properly requires url retrieval which is unimplemented.
3602 (xml-escape-string): Doc fix.
3603
3cfbebba
SM
36042012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
3605
3606 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3607
2af3565e
DA
36082012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
3609
3610 * fringe.el (fringe-mode): Doc fix.
3611
929df0e7
MA
36122012-06-29 Michael Albinus <michael.albinus@gmx.de>
3613
3614 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3615 is non-nil.
3616 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3617 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
3618
c8d3a25c 36192012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 3620
c8d3a25c
GM
3621 * calendar/cal-dst.el (calendar-current-time-zone):
3622 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 3623
c8d3a25c 36242012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
3625
3626 * progmodes/which-func.el (which-func-format):
3627 Add mouse-face. (Bug#11698)
3628
c8d3a25c
GM
36292012-06-29 Leo Liu <sdl.web@gmail.com>
3630
3631 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3632
36332012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * minibuffer.el (minibuffer-confirm-exit-commands):
3636 Add completion-at-point (bug#11725).
3637
36382012-06-29 Glenn Morris <rgm@gnu.org>
3639
3640 * progmodes/f90.el (f90-font-lock-keywords-2):
3641 Add some preprocessor elements. (Bug#10499)
3642
36432012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
3644
3645 * progmodes/cperl-mode.el (cperl-update-syntaxification):
3646 Use syntax-propertize (bug#11739).
3647
2badeec4
JB
36482012-06-28 Juanma Barranquero <lekktu@gmail.com>
3649
3650 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3651
ae4969c2
JD
36522012-06-28 Julien Danjou <julien@danjou.info>
3653
3654 * term.el (term-handle-colors-array): Use a set of new faces to
3655 color the terminal. Also uses :inverse-video property.
3656 (term-default-fg-color): Set to nil by default, deprecate in favor
3657 of `term-face'.
3658 (term-default-bg-color): Set to nil by default, deprecate in favor
3659 of `term-face'.
3660 (term-current-face): Use `term-face' by default.
3661 (term-bold-attribute): Variable deleted.
3662
1c9bd870
GM
36632012-06-28 Glenn Morris <rgm@gnu.org>
3664
3665 * simple.el (completion-list-mode-finish):
3666 Don't use toggle-read-only. (Since completion-list-mode has
3667 a special mode-class, it wasn't doing anything extra anyway.)
3668
c207708c
SM
36692012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 Make inlining of other-mode interpreted functions work (bug#11799).
3672 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3673 (byte-compile): Use it to fix compilation of lexical-binding closures.
3674 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3675 function, if needed.
3676
3fd56834
SM
36772012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3678
04901786
SM
3679 * help-mode.el (help-make-xrefs): Don't just withstand
3680 cyclic-variable-indirection but any error in documentation-property.
3681
1ec4b7b2
SM
3682 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3683 memory use.
3684 * bindings.el (bindings--define-key): New function.
3685 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3686 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3687 * bindings.el: Use it to purecopy define-key bindings.
3688
e309e2a5
SM
3689 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3690
d5c6faf9
SM
3691 * emacs-lisp/cl.el (flet): Mark obsolete.
3692 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3693 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3694 * progmodes/js.el (js-c-fill-paragraph):
3695 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3696 (ebrowse-switch-member-buffer-to-derived-class):
3697 * play/5x5.el (5x5-solver): Use cl-flet.
3698
6e9590e2
SM
3699 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3700 (cl--symbol-function): New macro.
3701 (cl--letf, cl--letf*): Use it.
3702
3fd56834
SM
3703 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3704 Strip "toggle-" if any.
3705
35ff222c
GM
37062012-06-27 Glenn Morris <rgm@gnu.org>
3707
1ba6038a
GM
3708 * info.el (Info-default-directory-list): Move here from paths.el.
3709 * paths.el: Remove file, which is now empty.
3710 * loadup.el: No longer load "paths".
3711
0ea0e51b
GM
3712 * custom.el (custom-initialize-delay): Doc fix.
3713
35ff222c
GM
3714 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3715 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3716 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3717 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3718 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3719 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3720 * eshell/eshell.el (eshell-defgroup): Remove alias.
3721
c89926a5
CY
37222012-06-27 Chong Yidong <cyd@gnu.org>
3723
3724 * help.el (help-enable-auto-load): New variable.
3725
3726 * help-fns.el (help-fns--autoloaded-p): New function.
3727 (describe-function-1): Refer to a function as "autoloaded" if it
3728 was autoloaded at any time in the past. Perform autoloading if
3729 help-enable-auto-load is non-nil.
3730
cc06e7e7
EZ
37312012-06-26 Eli Zaretskii <eliz@gnu.org>
3732
3733 * makefile.w32-in (compile, compile-always): Depend on
3734 update-subdirs, not on subdirs.el. Otherwise, several different
3735 sub-targets of 'bootstrap' running in parallel could
3736 simultaneously write to subdirs.el, producing a garbled file.
3737
d2c32364
SS
37382012-06-26 Sam Steingold <sds@gnu.org>
3739
3740 * files.el (file-name-base): New convenience function.
0d14cc21
GM
3741 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3742 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3743 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3744 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3745 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
3746 * textmodes/tex-mode.el: Use it.
3747 Did not touch cedet and org because they are maintained elsewhere.
3748
5cf983b2
MR
37492012-06-26 Martin Rudalics <rudalics@gmx.at>
3750
3751 * calendar/calendar.el (calendar-exit): Don't try to delete or
3752 iconify last frame. See:
3753 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3754
8c4f2952
JD
37552012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3756
3757 * server.el (server-process-filter): Remember dir in the
3758 process's `server-client-directory' properties.
3759
772b2e2c
CY
37602012-06-24 Chong Yidong <cyd@gnu.org>
3761
3762 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3763 non-tag text.
3764
711b11e1
JB
37652012-06-23 Juanma Barranquero <lekktu@gmail.com>
3766
3767 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3768
dc5d230c
SM
37692012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3770
3771 * help-fns.el (describe-variable): Don't croak when doc is not found.
3772 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3773 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3774 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3775 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3776 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3777 ((lambda ..) ..).
3778 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3779
136e1c1d
CY
37802012-06-23 Chong Yidong <cyd@gnu.org>
3781
e8c1cabf
CY
3782 * info.el (Info-mouse-follow-link): Accept symbol values of
3783 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
3784 (Info-fontify-node): Use Info-link-keymap for all navigation
3785 buttons, with link-args property to perform the desired action.
3786 (Info-link-keymap): Doc fix.
3787 (Info-next-link-keymap, Info-prev-link-keymap)
3788 (Info-up-link-keymap): Delete now-unused keymaps.
3789
0e9e6c6a
CY
37902012-06-23 Chong Yidong <cyd@gnu.org>
3791
05e89fea
CY
3792 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3793
0e9e6c6a
CY
3794 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3795 system abbrevs.
3796
3797 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3798
e33c6771
SM
37992012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3800
b68581e2
SM
3801 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3802 (bug#11719).
3803
e33c6771
SM
3804 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3805 the requote function doesn't work properly (bug#11714).
3806
7117e105
GM
38072012-06-23 Glenn Morris <rgm@gnu.org>
3808
3809 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3810
36cec983
SM
38112012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 Further GV/CL cleanups.
3814 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3815 gv-expander.
3816 (gv--defun-declaration): New function.
3817 (defun-declarations-alist): Use it.
3818 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3819 (gv-place): Autoload.
3820 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3821 original definition of dotimes and dolist.
3822 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3823 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3824 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3825 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3826 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3827 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3828 to the function's definition.
3829 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3830 * window.el:
3831 * files.el:
3832 * faces.el:
3833 * env.el: Don't use CL.
3834
d35af63c
PE
38352012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3836
3837 Support higher-resolution time stamps (Bug#9000).
3838
3839 * calendar/time-date.el (with-decoded-time-value): New arg
3840 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3841 (encode-time-value): New optional arg PICO. New type 3.
3842 (time-to-seconds) [!float-time]: Support the new picoseconds
3843 component if it's used.
3844 (seconds-to-time, time-subtract, time-add):
3845 Support ps-resolution time stamps as well.
3846
3847 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3848 (timerp): Timer vectors now have length 9, not 8.
3849 (timer--time): Support new-style (4-part) time stamps.
3850 (timer-next-integral-multiple-of-time): Time stamps now have
3851 picosecond resolution, so take a bit more care about rounding.
3852 (timer-relative-time, timer-inc-time): New optional arg psecs.
3853 (timer-set-time-with-usecs): Set psecs to 0.
3854 (timer--activate): Check psecs component, too.
3855
3856 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3857
ac77b21a
SM
38582012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3859
f143bfe3
SM
3860 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3861 Move the non-essential binding to the post/pre-command-hook where it is
3862 more obviously correct.
3863
ac77b21a
SM
3864 * subr.el (read-passwd): Don't use a history at all.
3865 * savehist.el (savehist-save): Remove password saved accidentally
3866 because of the above bug.
3867
76386c5a
BG
38682012-06-22 Bastien Guerry <bzg@gnu.org>
3869
3870 * files.el (toggle-read-only): Display a message telling whether
3871 the buffer is read-only or not (bug#11726).
3872
2ee3d7f0
SM
38732012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3874
3875 * emacs-lisp/gv.el: New file.
3876 * subr.el (push, pop): Extend to generalized variables.
3877 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3878 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3879 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3880 gv-define-simple-setter, and gv-define-expander.
3881 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3882 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3883 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3884 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3885 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3886 gv-letplace.
3887 (cl-defstruct): Don't define setf-method any more.
3888 * emacs-lisp/cl.el (flet): Don't autoload.
3889 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3890 (define-setf-expander, defsetf, define-modify-macro)
3891 (cl-struct-setf-expander): Move from cl-lib.el.
3892 * emacs-lisp/syntax.el:
3893 * emacs-lisp/ewoc.el:
3894 * emacs-lisp/smie.el:
3895 * emacs-lisp/cconv.el:
3896 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3897 (timer--time): Use gv-define-simple-setter.
3898 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3899 to avoid coding-system problems in subr.el. Adjust all users.
3900 (macroexp--maxsize, macroexp-small-p): New functions.
3901 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3902 * scroll-bar.el (scroll-bar-mode):
3903 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3904 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3905 * winner.el (winner-configuration, winner-make-point-alist)
3906 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3907 * files.el (locate-file-completion-table): Avoid list*.
3908
c5695d1d
CY
39092012-06-22 Chong Yidong <cyd@gnu.org>
3910
3911 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3912 (dired-create-files): Doc fix (Bug#11329).
3913 (dired-do-copy): Doc fix (Bug#11334).
3914 (dired-mark-read-string): Doc fix (Bug#11553).
3915
2ee3d7f0
SM
3916 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3917 Doc fix (Bug#11326).
c5695d1d
CY
3918 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3919 (dired-dwim-target): Doc fix.
3920
3921 * wdired.el (wdired-mode): Doc fix.
3922
89b5595a
GM
39232012-06-22 Glenn Morris <rgm@gnu.org>
3924
575db3f1
GM
3925 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3926 (pcmpl-rpm-cache-stamp-file): New constant.
3927 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3928 (pcmpl-rpm-packages): Optionally cache list of packages.
3929
a4c8dd51
GM
3930 * pcmpl-rpm.el (pcmpl-rpm): New group.
3931 (pcmpl-rpm-query-options): New option.
3932 (pcmpl-rpm-packages): No need to inline it.
3933 Use pcmpl-rpm-query-options.
3934
89b5595a
GM
3935 * calendar/calendar.el (calendar-in-read-only-buffer):
3936 Avoid some needless mode changes.
3937
e76f0800
CY
39382012-06-21 Chong Yidong <cyd@gnu.org>
3939
3940 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3941 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 3942 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 3943
297a8f1d
CY
39442012-06-20 Chong Yidong <cyd@gnu.org>
3945
3946 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3947
d34c18b1
DR
39482012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3949
3950 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3951 (bug#11201).
3952
32f7f28e
CY
39532012-06-20 Chong Yidong <cyd@gnu.org>
3954
3955 * term.el (term-window-width): Handle the case of a missing right
3956 fringe (Bug#8837).
3957 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
3958 (term-mode): Use define-derived-mode. Minor cleanups.
3959 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
3960 (term-move-columns, term-insert-char, term-emulate-terminal)
3961 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 3962
493c6688
MA
39632012-06-20 Michael Albinus <michael.albinus@gmx.de>
3964
d34c18b1
DR
3965 * net/ange-ftp.el (ange-ftp-get-passwd):
3966 Bind `enable-recursive-minibuffers'.
493c6688
MA
3967 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3968
3f06ecf4
DR
39692012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3970
3971 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3972
68f12411
GM
39732012-06-19 Glenn Morris <rgm@gnu.org>
3974
3975 * progmodes/python.el (python-mode): Derive from prog-mode.
3976
b3820318
KG
39772012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3978
3979 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3980 (edt-user-menu-bar-update-buffers): New functions.
3981 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3982
c6bf3022
CY
39832012-06-19 Chong Yidong <cyd@gnu.org>
3984
3985 * subr.el (with-selected-window): Preserve the selected window's
3986 terminal's top-frame (Bug#4702).
3987
3988 * window.el (save-selected-window): Likewise.
3989
25f09295
SM
39902012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * progmodes/python.el (python-rx-constituents): Move backquote.
3993 (python-skeleton-define, python-define-auxiliary-skeleton):
3994 Use `declare'.
3995
6b11952a
MA
39962012-06-18 Michael Albinus <michael.albinus@gmx.de>
3997
3998 * minibuffer.el (read-file-name-default): Revert the patch from
3999 2012-06-17.
4000
ee4b1330
SM
40012012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4002
4003 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4004 (pcase--u1, pcase--q1): Don't use apply-partially.
4005
35647f79
GM
40062012-06-18 Glenn Morris <rgm@gnu.org>
4007
4008 * progmodes/python.el (python-proc, python-buffer)
4009 (python-send-receive, python-send-string): Fix obsolete versions.
4010
24b0cff0
MR
40112012-06-18 Martin Rudalics <rudalics@gmx.at>
4012
4013 * window.el (special-display-p): Completely remove stringp
4014 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4015
29855149
MA
40162012-06-17 Michael Albinus <michael.albinus@gmx.de>
4017
4018 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4019
4020 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4021
4022 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4023 * net/tramp-sh.el (tramp-maybe-open-connection):
4024 Throw if `non-essential' is non-nil.
4025
07463363
MR
40262012-06-17 Martin Rudalics <rudalics@gmx.at>
4027
4028 * window.el (special-display-p): Signal an error if BUFFER-NAME
4029 is not a string (Bug#11713).
4030
48d1354e
PE
40312012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4032
4033 * progmodes/python.el (python-info-beginning-of-backslash):
4034 Rename from python-info-beginning-of-backlash, as a spelling fix.
4035
eb4a8a9a
CY
40362012-06-17 Chong Yidong <cyd@gnu.org>
4037
4038 * term.el (term-emulate-terminal): If term-check-size is called,
4039 move point to the process mark without resetting point (Bug#4635).
4040
ddfbf826 40412012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4042
4043 * international/mule-cmds.el (mule-menu-keymap)
4044 (set-language-environment, set-locale-environment): Doc tweaks.
4045
9b0e3eba
AA
40462012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4047
4048 * cus-face.el (custom-face-attributes): Add wave-style underline
4049 attribute.
4050 * faces.el (set-face-attribute): Update docstring to describe
4051 wave-style underline attribute.
4052
771e3eae
CY
40532012-06-16 Chong Yidong <cyd@gnu.org>
4054
4055 * term/xterm.el (terminal-init-xterm): Discard input before
4056 querying background mode (Bug#10959).
4057
7ae2ea10
SM
40582012-06-16 Stefan Merten <smerten@oekonux.de>
4059
4060 * textmodes/rst.el: Added and corrected some comments.
4061 (rst-re-alist-def): Improve symbol syntax.
4062 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4063 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4064 (rst-official-version, rst-official-cvs-rev): Update version
4065 information.
7ae2ea10 4066
b6974efa
JB
40672012-06-15 Juanma Barranquero <lekktu@gmail.com>
4068
4069 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4070 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4071
8826d473
GM
40722012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4073
4074 * progmodes/python.el: New python.el merge.
4075 (python-guess-indent): Obsolete var.
4076 (python-indent-guess-indent-offset): New defcustom.
4077 (python-indent): Obsolete var.
4078 (python-indent-offset): New defcustom.
4079 (python-python-command, python-jython-command): Delete var.
4080 (python-shell-interpreter): New defcustom.
4081 (python-pdbtrack-do-tracking-p): Delete var.
4082 (python-pdbtrack-activate): New defcustom.
4083 (python-use-skeletons): Obsolete var.
4084 (python-skeleton-autoinsert): New defcustom.
4085 (inferior-python-filter-regexp, python-continuation-offset)
4086 (python-honour-comment-indentation, python-indent-string-contents)
4087 (python-jython-packages, python-mode-hook)
4088 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4089 (python-shell-prompt-alist)
4090 (python-source-modes): Delete defcustoms.
4091 (python-check-buffer-name, python-eldoc-setup-code)
4092 (python-eldoc-string-code, python-ffap-setup-code)
4093 (python-ffap-string-code, python-fill-comment-function)
4094 (python-fill-decorator-function, python-fill-paren-function)
4095 (python-fill-string-function, python-imenu-include-defun-type)
4096 (python-imenu-make-tree, python-imenu-subtree-root-label)
4097 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4098 (python-shell-compilation-regexp-alist)
4099 (python-shell-completion-module-string-code)
4100 (python-shell-completion-pdb-string-code)
4101 (python-shell-completion-setup-code)
4102 (python-shell-completion-string-code)
4103 (python-shell-enable-font-lock, python-shell-exec-path)
4104 (python-shell-extra-pythonpaths)
4105 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4106 (python-shell-process-environment)
4107 (python-shell-prompt-block-regexp)
4108 (python-shell-prompt-output-regexp)
4109 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4110 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4111 (python-shell-virtualenv-path): New defcustoms.
4112 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4113 (inferior-python-mode-syntax-table, python--prompt-regexp)
4114 (python-buffer, python-command python-python-command)
4115 (python-default-template, python-imports, python-indent-index)
4116 (python-indent-list, python-indent-list-length)
4117 (python-mode-running, python-pdbtrack-is-tracking-p)
4118 (python-preoutput-continuation, python-preoutput-leftover)
4119 (python-preoutput-result, python-preoutput-skip-next-prompt)
4120 (python-prev-dir/file, python-recursing)
4121 (python-saved-check-command, python-version-checked)
4122 (python-which-func-length-limit)
4123 (view-return-to-alist): Delete vars.
4124 (python-check-custom-command, python-dotty-syntax-table)
4125 (python-imenu-index-alist, python-indent-current-level)
4126 (python-indent-dedenters, python-indent-levels)
4127 (python-nav-beginning-of-defun-regexp)
4128 (python-nav-list-defun-positions-cache)
4129 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4130 (python-shell-internal-buffer)
4131 (python-skeleton-available): New vars.
4132 (def-python-skeleton): Delete macro.
4133 (python-skeleton-define): New macro.
4134 (python-define-auxiliary-skeleton, python-rx): New macros.
4135 (python-insert-class): Delete command.
4136 (python-skeleton-class): New command.
4137 (python-insert-def): Delete command.
4138 (python-skeleton-def): New command.
4139 (python-insert-for): Delete command.
4140 (python-skeleton-for): New command.
4141 (python-insert-if): Delete command.
4142 (python-skeleton-if): New command.
4143 (python-insert-try/except, python-insert-try/finally): Delete commands.
4144 (python-skeleton-try): New command.
4145 (python-insert-while): Delete command.
4146 (python-skeleton-while): New command.
4147 (python-backspace): Delete command.
4148 (python-indent-dedent-line-backspace): New command.
4149 (python-electric-colon): Delete command.
4150 (python-indent-electric-colon): New command.
4151 (python-guess-indent): Delete command.
4152 (python-indent-guess-indent-offset): New command.
4153 (python-shift-left): Delete command.
4154 (python-indent-shift-left): New command.
4155 (python-shift-right): Delete command.
4156 (python-indent-shift-right): New command.
4157 (python-find-function): Delete command.
4158 (python-nav-jump-to-defun): New command.
4159 (python-next-statement): Delete command.
4160 (python-nav-forward-sentence): New command.
4161 (python-previous-statement): Delete command.
4162 (python-nav-backward-sentence): New command.
4163 (python-fill-paragraph): Delete command.
4164 (python-fill-paragraph-function): New command.
4165 (python-send-buffer): Delete command.
4166 (python-shell-send-buffer): New command.
4167 (python-send-defun): Delete command.
4168 (python-shell-send-defun): New command.
4169 (python-send-region, python-send-region-and-go): Delete commands.
4170 (python-shell-send-region)
4171 (python-shell-switch-to-shell): New commands.
4172 (python-send-string): Delete command.
4173 (python-shell-send-string): New command.
4174 (python-switch-to-python): Delete command.
4175 (python-shell-switch-to-shell): New command.
4176 (python-describe-symbol): Delete command.
4177 (python-eldoc-at-point): New command.
4178 (python--set-prompt-regexp, python-args-to-list)
4179 (python-after-info-look, python-check-version)
4180 (python-check-comint-prompt, python-find-imports)
4181 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4182 (python-unload-function, python-expand-template)
4183 (python-maybe-jython, python-preoutput-filter)
4184 (python-pdbtrack-get-source-buffer)
4185 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4186 (python-pdbtrack-toggle-stack-tracking)
4187 (python-pdbtrack-track-stack-file, python-initial-text)
4188 (python-first-word, python-comment-line-p, python-send-command)
4189 (python-setup-brm, python-sentinel, python-set-proc)
4190 (python-skip-out, python-input-filter, python-outdent-p)
4191 (python-outline-level, python-backslash-continuation-line-p)
4192 (python-end-of-block, python-end-of-statement, python-mark-block)
4193 (python-beginning-of-block, python-beginning-of-statement)
4194 (python-blank-line-p, python-beginning-of-string)
4195 (python-open-block-statement-p): Delete functions.
4196 (python-indent-line, python-indent-line-1): Delete functions.
4197 (python-indent-line): New function.
4198 (python-indentation-levels): Delete function.
4199 (python-indent-calculate-levels): New function.
4200 (python-proc): Delete function.
4201 (python-shell-get-process): New function.
4202 (python-send-receive): Delete function.
4203 (python-shell-send-string-no-output): New function.
4204 (python-module-path): Delete function.
4205 (python-ffap-module-path): New function.
4206 (python-completion-at-point)
4207 (python-symbol-completions): Delete functions.
4208 (python-completion-complete-at-point): New function.
4209 (python-load-file): Delete function.
4210 (python-shell-send-file): New function.
4211 (python-calculate-indentation): Delete function.
4212 (python-indent-calculate-indentation): New function.
4213 (python-skip-comments/blanks): Delete function.
4214 (python-util-forward-comment): New function.
4215 (python-continuation-line-p): Delete function.
4216 (python-info-continuation-line-p): New function.
4217 (python-which-func, python-current-defun): Delete function.
4218 (python-info-current-defun): New function.
4219 (python-beginning-of-defun): Delete function.
4220 (python-nav-beginning-of-defun): New function.
4221 (python-close-block-statement-p)
4222 (python-block-end-p): Delete function.
4223 (python-info-closing-block): New function.
4224 (python-comint-output-filter-function)
4225 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4226 (python-fill-comment, python-fill-decorator, python-fill-paren)
4227 (python-fill-string, python-imenu-make-element-tree)
4228 (python-imenu-make-tree, python-imenu-tree-assoc)
4229 (python-indent-context, python-indent-dedent-line)
4230 (python-indent-line-function)
4231 (python-indent-post-self-insert-function)
4232 (python-indent-toggle-levels)
4233 (python-info-assignment-continuation-line-p)
4234 (python-info-beginning-of-backlash)
4235 (python-info-block-continuation-line-p)
4236 (python-info-closing-block-message)
4237 (python-info-line-ends-backslash-p)
4238 (python-info-looking-at-beginning-of-defun)
4239 (python-info-ppss-context, python-info-ppss-context-type)
4240 (python-nav-list-defun-positions, python-nav-read-defun)
4241 (python-nav-sentence-end, python-nav-sentence-start)
4242 (python-pdbtrack-comint-output-filter-function)
4243 (python-pdbtrack-set-tracked-buffer)
4244 (python-shell-calculate-exec-path)
4245 (python-shell-calculate-process-environment)
4246 (python-shell-completion--do-completion-at-point)
4247 (python-shell-completion--get-completions)
4248 (python-shell-completion-complete-at-point)
4249 (python-shell-completion-complete-or-indent)
4250 (python-shell-get-or-create-process)
4251 (python-shell-get-process-name)
4252 (python-shell-internal-get-or-create-process)
4253 (python-shell-internal-get-process-name)
4254 (python-shell-internal-send-string, python-shell-make-comint)
4255 (python-shell-parse-command, python-shell-send-setup-code)
4256 (python-skeleton-add-menu-items)
4257 (python-util-clone-local-variables, python-util-position)
4258 (run-python-internal, python-indentation-levels)
4259 (python-nav-beginning-of-defun)
4260 (python-completion-complete-at-point): New functions.
4261 (run-python): Change arguments. New API requirements.
4262
4302f5ba
SM
42632012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4264
f38ea36d
SM
4265 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4266 (bug#11649).
4267
4268 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4269 (macroexp--expand-all): Use it.
4270
4302f5ba
SM
4271 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4272 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4273 Use `cl-function' instead.
4274
33377562
JB
42752012-06-14 Juanma Barranquero <lekktu@gmail.com>
4276
4277 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4278 Suggested by Stefan Monnier while discussing bug#11657.
4279
54c5ba1a
SS
42802012-06-14 Sam Steingold <sds@gnu.org>
4281
4282 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4283
f9f1b1fe
AS
42842012-06-14 Andreas Schwab <schwab@linux-m68k.org>
4285
4286 * play/doctor.el (doctor-doc): Remove parameter and use
4287 doctor-sent instead of sent.
4288 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
4289
a81068ba
SM
42902012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4291
5a315f9c
SM
4292 * files.el: Require cl-lib.
4293 (file-name-non-special): Replace case -> cl-case.
4294
4295 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4296
a81068ba
SM
4297 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4298 mapping from #' to function*.
4299
8cca9703
CY
43002012-06-13 Chong Yidong <cyd@gnu.org>
4301
4302 * mouse.el (mouse-drag-track): Do not set the mark if the user
4303 releases the mouse without selecting anything (Bug#11588).
4304
a12ac9d7
SM
43052012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4306
ccf1dc18
SM
4307 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4308 as well (bug#11646).
4309
ef62b23d
SM
4310 * loadup.el: Count byte-code functions as well.
4311
c4c8444a
SM
4312 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4313 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4314
a12ac9d7
SM
4315 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4316 (bug#11649). Add cl-defun and cl-defmacro.
4317
87e6e64f
DA
43182012-06-13 Drew Adams <drew.adams@oracle.com>
4319
4320 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4321 Fix last change.
4322
682cefaf
MA
43232012-06-13 Michael Albinus <michael.albinus@gmx.de>
4324
4325 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4326 Otherwise, it blocks in batch mode.
4327
773e1f08
JB
43282012-06-13 Juanma Barranquero <lekktu@gmail.com>
4329
4330 * help-mode.el (bookmark-make-record-default): Declare.
4331
60057926
CY
43322012-06-13 Chong Yidong <cyd@gnu.org>
4333
4334 * emacs-lisp/package.el (list-packages): Compute a list of
4335 packages that are newly-available since the last list-packages
4336 invocation.
4337 (package-menu--new-package-list): New var.
4338 (package-menu--generate, package-menu--print-info)
4339 (package-menu--status-predicate, package-menu-mark-install):
4340 Handle new status label "new".
4341
ad4d226c
SM
43422012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4343
4344 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4345 conversion to backquotes.
4346
f1a4e679
CY
43472012-06-12 Chong Yidong <cyd@gnu.org>
4348
4349 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4350 Rename from gud-inhibit-global-bindings.
4351
4352 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4353
4354 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4355 hook from nxml-glyph-set-hook.
4356
4357 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4358 declaration.
4359
4360 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4361
4362 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4363 Convert to defcustom.
4364
0c9e42b5
DA
43652012-06-12 Drew Adams <drew.adams@oracle.com>
4366
4367 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4368 New functions.
4369 (help-mode): Use them.
4370
09e06855
GM
43712012-06-11 Glenn Morris <rgm@gnu.org>
4372
4373 * progmodes/fortran.el (fortran-font-lock-keywords-3):
4374 Use preprocessor face for directives.
4375 (fortran-directive-re): Doc fix.
4376
71adb94b
SM
43772012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4378
2eb87922
SM
4379 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4380 conversion to backquotes (bug#11652).
4381
71adb94b
SM
4382 Fix compiler-expansion of CL's cXXr functions (bug#11673).
4383 * emacs-lisp/cl-lib.el (cl--defalias): New function.
4384 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4385 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4386 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4387 (cl-ninth, cl-tenth): Mark them as inlinable.
4388 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4389 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4390 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4391 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4392 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4393 (cl-list*, cl-adjoin): Don't put an autoload manually.
4394 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4395 (cl--compiler-macro-list*): Add autoload cookie.
4396 (cl--compiler-macro-cXXr): New function.
2eb87922 4397
71adb94b
SM
4398 * help-fns.el (help-fns--compiler-macro): New function extracted from
4399 describe-function-1; follow aliases and use `compiler-macro' property.
4400 (describe-function-1): Use it.
4401
a6674402
CY
44022012-06-11 Chong Yidong <cyd@gnu.org>
4403
4404 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4405 is uninstalled, if imagemagick is installed.
4406
bb3faf5b
SM
44072012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 * emacs-lisp/cl-lib.el: Use lexical-binding.
4410 (cl-map-extents, cl-maclisp-member): Remove.
4411 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4412 (cl--set-substring, cl--block-wrapper, cl--block-throw)
4413 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4414 * emacs-lisp/cl-extra.el: Use lexical-binding.
4415 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4416 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4417 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4418 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4419 * emacs-lisp/cl-seq.el: Use lexical-binding.
4420 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4421 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4422 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4423 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4424 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4425 CL's internals.
4426
2fe4b125
MA
44272012-06-11 Michael Albinus <michael.albinus@gmx.de>
4428
4429 Sync with Tramp 2.2.6-pre.
4430
4431 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4432 `print-length' and `print-level' to nil, in order to avoid
4433 truncation. Reported by Christopher Schmidt
4434 <christopher@ristopher.com>.
4435
4436 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4437
4438 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4439 New defmacro.
4440 (tramp-compat-copy-directory): Add optional argument
4441 COPY-CONTENTS. It is not handled yet.
4442
4443 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4444 (tramp-ftp-file-name-p): Simplify.
4445
4446 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4447 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4448 connection vector.
4449
4450 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4451 (tramp-methods): Do not use `tramp-password-end-of-line'.
4452 (tramp-completion-function-alist-putty): Handle UNIX case.
4453 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4454 (tramp-do-file-attributes-with-stat)
4455 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4456 gid as real numbers. They could run out of integer range on cygwin.
4457 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4458 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
4459 (tramp-open-connection-setup-interactive-shell):
4460 Use `tramp-cleanup'. Move check for busyboxes ...
4461 (tramp-find-shell): ... here. Simplify implementation.
4462 Set "remote-shell" property also for alternative shells.
4463 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4464 If failing, a regular file would be written otherwise.
4465 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
4466 (tramp-find-inline-encoding): Cache the coding commands in the
4467 process cache. Apply test command on the remote side, if defined.
4468 (tramp-find-inline-compress): Cache the compress commands in the
4469 process cache.
4470 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4471 when requested. Handle hops.
4472 (tramp-current-connection): New defvar.
87e6e64f
DA
4473 (tramp-maybe-open-connection): Use `tramp-cleanup'.
4474 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 4475 Handle user interrupt. (Bug#10187)
87e6e64f
DA
4476 (tramp-get-inline-compress, tramp-get-inline-coding):
4477 Read connection properties from the process cache.
2fe4b125
MA
4478
4479 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
4480 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4481 New defconsts.
2fe4b125
MA
4482 (tramp-smb-prompt): Extend for powershell prompt.
4483 (tramp-smb-file-name-handler-alist): Add handlers for
4484 `process-file', `shell-command' and `start-file-process'.
4485 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4486 (tramp-smb-winexe-shell-command-switch): New defcustoms.
4487 (tramp-smb-file-name-p): Simplify.
4488 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4489 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4490 (tramp-smb-shell-quote-argument): New defuns.
4491 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4492 Implement using "tar". By this, time-stamps are preserved.
4493 (tramp-smb-handle-copy-file): Handle also the case of directories.
4494 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
4495 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4496 Use `tramp-get-connection-buffer').
2fe4b125
MA
4497 (tramp-smb-handle-rename-file): Use "rename", when source and
4498 target are on the same share.
87e6e64f
DA
4499 (tramp-smb-maybe-open-connection): Handle wrong passwords.
4500 Use `tramp-smb-server-version'.
2fe4b125
MA
4501 (tramp-smb-wait-for-output): Remove prompt.
4502
4503 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
4504 (tramp-methods, tramp-rsh-end-of-line):
4505 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
4506 (tramp-save-ad-hoc-proxies): New defcustom.
4507 (tramp-completion-function-alist): Adapt docstring.
4508 (tramp-default-password-end-of-line): Remove defcustom.
4509 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
4510 (tramp-user-regexp, tramp-file-name-regexp-unified)
4511 (tramp-file-name-regexp-url): Extend regexp by hop separator.
4512 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4513 (tramp-remote-file-name-spec-regexp): New defconst.
4514 (tramp-file-name-structure): Extend structure for hops.
4515 (tramp-get-method-parameter): Move up.
4516 (tramp-file-name-p, tramp-dissect-file-name)
4517 (with-parsed-tramp-file-name): Handle hops.
4518 (tramp-file-name-hop): New defun.
4519 (tramp-make-tramp-file-name): New optional arg HOP.
4520 (tramp-message-show-progress-reporter-message): New defvar.
4521 (tramp-with-progress-reporter): Use it. We cannot use
4522 `tramp-message-show-message' here, because this suppresses also
4523 error buffers.
4524 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
4525 `tramp-message-show-message' is nil.
4526 Use `tramp-get-connection-buffer'.
2fe4b125
MA
4527 (tramp-cleanup): New defun.
4528 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4529 (tramp-file-name-handler): If `debug-on-error' is set, propagate
4530 an error unchanged.
4531 (tramp-completion-handle-file-name-all-completions): Handle hops.
4532 Fix an error when called from ido.
4533 (tramp-completion-dissect-file-name): Use better local variable
4534 name. Add hop to the vector.
4535 (tramp-handle-insert-file-contents): Use progress-reporter for the
4536 whole scenario.
4537 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4538 to `t'.
4539 (tramp-check-for-regexp): Simplify search.
4540 (tramp-enter-password): Remove it. Move implementation ...
4541 (tramp-action-password): ... here.
4542 (tramp-mode-string-to-int, tramp-local-host-p)
4543 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
4544 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4545 Set tramp-autoload cookie.
2fe4b125
MA
4546
4547 * net/trampver.el: Update release number.
4548
45492012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4550 Michael Albinus <michael.albinus@gmx.de>
4551
4552 * net/tramp.el (tramp-set-completion-function): Fix docstring.
4553 (tramp-parse-group, tramp-parse-file)
4554 (tramp-parse-shostkeys-sknownhosts): New defuns.
4555 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4556 (tramp-parse-shosts-group, tramp-parse-sconfig)
4557 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4558 (tramp-parse-sknownhosts, tramp-parse-hosts)
4559 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4560 Use them.
4561 (tramp-parse-passwd-group, tramp-parse-netrc-group)
4562 (tramp-parse-putty-group): Don't narrow.
4563 (tramp-parse-putty): Make a loop.
4564 (tramp-file-name-handler): Catch the `suppress' signal.
4565
72834e10
CY
45662012-06-11 Chong Yidong <cyd@gnu.org>
4567
4568 * image.el (imagemagick-register-types): Put the ImageMagick entry
4569 at the end of image-type-file-name-regexps.
4570
a4712e11
JB
45712012-06-11 Johan Bockgård <bojohan@gnu.org>
4572
4573 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4574 (pcase, pcase-let*, pcase-dolist): Use them.
4575
82ad98e3
SM
45762012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4577
4578 * emacs-lisp/pcase.el (pcase--let*): New function.
4579 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
4580 (pcase--expand): Use macroexp-let².
4581
f80efb86
SM
45822012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4585 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4586 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4587 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4588 * emacs-lisp/derived.el: Use pcase instead of `cl'.
4589 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4590
31ca4639 45912012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 4592
31ca4639
CY
4593 * mail/rmail.el (rmail-yank-current-message): Leave point at
4594 correct position. (Bug#11660)
94f0aa34 4595
31ca4639 45962012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 4597
31ca4639 4598 * allout-widgets.el: Fix code header.
9e1b8ec4 4599
31ca4639 46002012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 4601
f80efb86
SM
4602 * cus-edit.el (customize-changed-options-previous-release):
4603 Bump to 24.1.
31ca4639 4604
642b6d30
AS
46052012-06-09 Andreas Schwab <schwab@linux-m68k.org>
4606
4607 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4608
4f5d2ba1
CY
46092012-06-09 Chong Yidong <cyd@gnu.org>
4610
4611 * ebuff-menu.el (electric-buffer-list): Preserve header line.
4612
e75852fd
MR
46132012-06-09 Martin Rudalics <rudalics@gmx.at>
4614
4615 * window.el (special-display-popup-frame): Don't use
4616 window--display-buffer (Bug#11651).
4617
1e48e282
EZ
46182012-06-09 Eli Zaretskii <eliz@gnu.org>
4619
8a26b487
EZ
4620 Fix parallel builds: make sure loaddefs.el is not being written
4621 while Lisp files are compiled.
4622 (compile): Don't depend on 'mh-autoloads'.
4623 (compile-CMD, compile-SH): Depend on 'autoloads'.
4624 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4625
1e48e282
EZ
4626 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
4627
6175e34b
CY
46282012-06-09 Chong Yidong <cyd@gnu.org>
4629
4630 * face-remap.el (face-remap-add-relative, face-remap-set-base)
4631 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4632 Doc fixes (Bug#11225).
4633
d9857e53
SM
46342012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4637 a function if there's a clear indication that it has a compiler-macro.
4638 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4639 (macro-declarations-alist): Add arglist to declaration functions.
4640 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4641 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4642 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4643 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4644 Also add autoload to find the compiler macro.
4645 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4646 (cl--compiler-macro-member, cl--compiler-macro-assoc)
4647 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4648 (cl--compiler-macro-get): New functions, replacing calls to
4649 cl-define-compiler-macro.
4650 (cl-typep) [compiler-macro]: Use macroexp-let².
4651
f81298f8 46522012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
4653
4654 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4655 string properly, fixes Bug#11473.
4656
4b56d0fe
CY
46572012-06-08 Chong Yidong <cyd@gnu.org>
4658
4659 * faces.el (set-face-attribute): Doc fix.
4660 (modify-face): Don't use :bold and :italic.
4661 (error, warning, success): Tweak definitions.
4662
4663 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4664 (custom-modified, custom-set, custom-changed, custom-themed)
4665 (custom-saved, custom-button, custom-button-mouse)
4666 (custom-button-pressed, custom-state, custom-comment-tag)
4667 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4668 (custom-group-subtitle): Use new-style face specs.
4669 (custom-invalid-face, custom-rogue-face, custom-modified-face)
4670 (custom-set-face, custom-changed-face, custom-saved-face)
4671 (custom-button-face, custom-button-pressed-face)
4672 (custom-documentation-face, custom-state-face)
4673 (custom-comment-face, custom-comment-tag-face)
4674 (custom-variable-tag-face, custom-variable-button-face)
4675 (custom-face-tag-face, custom-group-tag-face-1)
4676 (custom-group-tag-face): Remove obsolete face alias.
4677
4678 * epa.el (epa-validity-high, epa-validity-medium)
4679 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4680 (epa-field-name, epa-field-body):
4681 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4682 (font-lock-keyword-face, font-lock-builtin-face)
4683 (font-lock-function-name-face, font-lock-variable-name-face)
4684 (font-lock-type-face, font-lock-constant-face):
4685 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4686 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4687 * speedbar.el (speedbar-button-face, speedbar-file-face)
4688 (speedbar-directory-face, speedbar-tag-face)
4689 (speedbar-selected-face, speedbar-highlight-face)
4690 (speedbar-separator-face):
4691 * whitespace.el (whitespace-newline, whitespace-space)
4692 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4693 (whitespace-line, whitespace-space-before-tab)
4694 (whitespace-space-after-tab, whitespace-indentation)
4695 (whitespace-empty):
4696 * emulation/cua-base.el (cua-global-mark):
4697 * eshell/em-prompt.el (eshell-prompt):
4698 * net/newst-plainview.el (newsticker-new-item-face)
4699 (newsticker-old-item-face, newsticker-immortal-item-face)
4700 (newsticker-obsolete-item-face, newsticker-date-face)
4701 (newsticker-statistics-face, newsticker-default-face):
4702 * net/newst-reader.el (newsticker-feed-face)
4703 (newsticker-extra-face, newsticker-enclosure-face):
4704 * net/newst-treeview.el (newsticker-treeview-face)
4705 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4706 (newsticker-treeview-immortal-face)
4707 (newsticker-treeview-obsolete-face)
4708 (newsticker-treeview-selection-face):
4709 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4710 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4711 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4712 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4713 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4714 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4715 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4716 (mpuz-text):
4717 * progmodes/vera-mode.el (vera-font-lock-number)
4718 (vera-font-lock-function, vera-font-lock-interface):
4719 * textmodes/table.el (table-cell): Use new-style face specs, and
4720 don't use the old :bold and :italic attributes.
4721
4722 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4723 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4724 (ebrowse-member-class, ebrowse-progress): Likewise.
4725 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4726 (ebrowse-file-name-face, ebrowse-default-face)
4727 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4728 (ebrowse-progress-face): Remove obsolete faces.
4729
4730 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4731 Inherit from error and warning faces respectively.
4732
4733 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4734 Likewise.
f80efb86
SM
4735 (flyspell-incorrect-face, flyspell-duplicate-face):
4736 Remove obsolete aliases.
4b56d0fe 4737
03310646
MA
47382012-06-08 Michael Albinus <michael.albinus@gmx.de>
4739
4740 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4741 Avoid infloop.
4742
513749ee
SM
47432012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4744
4745 * startup.el (argv, argi): Make lexically scoped.
4746 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4747 * emacs-lisp/cl-macs.el: Use lexical-binding.
4748 Rename cl-bind-* to cl--bind-*.
4749 * files.el: Don't require `cl' since it doesn't use it.
4750 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4751
595ef4ad
JB
47522012-06-08 Juanma Barranquero <lekktu@gmail.com>
4753
4754 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4755 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4756 instead of calling external sort utility.
4757 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4758
e9f66fcb
EZ
47592012-06-08 Eli Zaretskii <eliz@gnu.org>
4760
4761 * descr-text.el (describe-char): Mention how to insert the
4762 character, if the current input method doesn't support it.
4763 See the discussion in this thread for the details:
4764 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4765
3d10db47
SS
47662012-06-08 Sam Steingold <sds@gnu.org>
4767
4768 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4769 XF86Back to previous-buffer.
4770 (minibuffer-local-map): Bind them to next-history-element and
4771 previous-history-element respectively.
4772 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4773 help-go-back respectively.
4774 * info.el (Info-mode-map): Bind them to Info-history-forward and
4775 Info-history-back respectively.
4776 These are the keys next to Up on the ThinkPad keyboard.
4777
de7e2b36
SM
47782012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4779
4780 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4781 * emacs-lisp/cl-macs.el: Provide itself.
4782 (cl--labels-convert-cache): New var.
4783 (cl--labels-convert): New function.
4784 (cl-flet, cl-labels): New implementation with new semantics, relying on
4785 lexical-binding.
4786 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4787 (cl-closure-vars, cl--function-convert-cache)
4788 (cl--function-convert): Move from cl-macs.el.
4789 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4790 rename by removing the "cl-" prefix.
4791 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4792
6fa6c4ae
SM
47932012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4794
4795 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4796 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4797 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4798 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4799 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4800 (cl-hash-table-count): Add old compatibility aliases.
4801
4802 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4803 Use macroexpand-all-environment instead.
4804 (cl--old-macroexpand): New var.
4805 (cl--sm-macroexpand): New function.
4806 (cl-symbol-macrolet): Use it during macro expansion.
4807 (cl--function-convert-cache): New var.
4808 (cl--function-convert): New function, extracted from
4809 cl-macroexpand-all.
4810 (cl-lexical-let): Use it.
4811
4812 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4813 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4814 (cl-member): Remove old alias.
4815
4816 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4817 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4818 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4819 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4820 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4821 (cl-macroexpand-cmacs): Remove var.
4822 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4823 Use macroexpand-all instead.
4824
4dd1c416
SM
48252012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4826
4827 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4828 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4829 (macroexp-copyable-p): New functions and macros.
4830 * emacs-lisp/edebug.el (edebug-unwrap):
4831 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4832 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4833 (pcase--let*): Remove.
4834 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4835 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4836 macroexp-const-p instead.
4837 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4838
4839 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4840 instead of "cl-" for internal definitions. Use macroexp-const-p.
4841 (cl-old-bc-file-form): Remove var.
4842 (cl-const-exprs-p): Remove fun.
4843 (cl-labels, cl-macrolet): Use backquote.
4844 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4845 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4846 (cl-define-setf-expander): Rename from cl-define-setf-method.
4847 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4848
4849 * international/mule-cmds.el: Don't require CL.
4850 (view-hello-file): Don't use `letf'.
4851
ed8bd4d7
SM
48522012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4853
7287f2f3
SM
4854 * tmm.el (tmm-prompt): Use string-prefix-p.
4855 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4856 (tmm-add-prompt): Use minibuffer-completion-help.
4857 (tmm-delete-map): Remove.
4858
ed8bd4d7
SM
4859 * subr.el (kbd): Make it its own function.
4860
7b4cdbf4
SM
48612012-06-07 Stefan Merten <smerten@oekonux.de>
4862
4863 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4864 Silence compiler warnings. Fix versions.
ed8bd4d7 4865 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 4866 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 4867 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
4868 (rst-package-emacs-version-alist): Correct Emacs version to
4869 represent major merge with upstream.
ed8bd4d7 4870 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 4871
2b48d721
GM
48722012-06-06 Glenn Morris <rgm@gnu.org>
4873
4874 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4875 Only print environment variables if set.
4876
fa779ab0
SM
48772012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4880 (macroexp--cons): Rename from maybe-cons.
4881 (macroexp--accumulate): Rename from macroexp-accumulate.
4882 (macroexp--all-forms): Rename from macroexpand-all-forms.
4883 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4884 (macroexp--expand-all): Rename from macroexpand-all-1.
4885
628299e0
SS
48862012-06-06 Sam Steingold <sds@gnu.org>
4887
4888 * calendar/calendar.el (calendar-in-read-only-buffer):
4889 Call `special-mode' to enable the standard read-only keybindings.
4890
b7bb5838
SM
48912012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4892
4893 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4894 with "loading" messages (bug#11635).
4895
dfb308ba
MA
48962012-06-06 Michael Albinus <michael.albinus@gmx.de>
4897
4898 * files.el (enable-remote-dir-locals): New option.
4899 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4900
0372ee92
MA
4901 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4902 Ensure, that the temp directory is local.
4903
4904 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4905 `temporary-file-directory'.
4906
eed0bb91
MA
4907 * progmodes/python.el (python-send-region): Ensure, that the
4908 temporary file is created also in the remote case.
4909
7a58f64d
GM
49102012-06-06 Glenn Morris <rgm@gnu.org>
4911
f7dd4e98
GM
4912 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4913 (vc-rcs-update-changelog): Use it.
4914
090bd7cb 4915 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 4916
7a58f64d
GM
4917 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4918 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4919 (vc-sccs-diff): Replace use of the external vcdiff script.
4920
daed4003
GM
49212012-06-05 Glenn Morris <rgm@gnu.org>
4922
4923 * ledit.el: Move to obsolete/.
4924
48c455c7
SS
49252012-06-05 Sam Steingold <sds@gnu.org>
4926
ed9265fc 4927 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
4928 patch (Bug#11140).
4929
57a7d507
SM
49302012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4931
090bd7cb 4932 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 4933
53aacf21
SM
4934 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4935 compiler-macro expansion.
4936
57a7d507
SM
4937 Add native compiler-macro support.
4938 * emacs-lisp/macroexp.el (macroexpand-all-1):
4939 Support compiler-macros directly. Properly follow aliases and apply
4940 the compiler macros more thoroughly.
4941 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4942 macroexpand now properly follows aliases.
4943 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4944 (cl-compiler-macroexpand): Use new prop.
4945 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4946
4947 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4948
51a5f9d8
MR
49492012-06-05 Martin Rudalics <rudalics@gmx.at>
4950
4951 * window.el (get-lru-window, get-mru-window, get-largest-window):
4952 New argument NOT-SELECTED to avoid picking the selected window.
4953 (window--display-buffer-1, window--display-buffer-2): Replace by
4954 new function window--display-buffer
4955 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
4956 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4957 Use window--display-buffer.
51a5f9d8
MR
4958 (display-buffer-use-some-window): Remove temporary dedication
4959 hack by calling get-lru-window and get-largest-window with
4960 NOT-SELECTED argument non-nil. Call window--display-buffer.
4961
08f9f738
GM
49622012-06-05 Glenn Morris <rgm@gnu.org>
4963
4964 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4965 Replace external vcdiff script.
4966
e364a2b7
SM
49672012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4970
041df390
CY
49712012-06-04 Chong Yidong <cyd@gnu.org>
4972
e364a2b7
SM
4973 * image.el (imagemagick-types-inhibit): Revert last change.
4974 Add INFO and M.
47b36b94 4975 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 4976
7c1898a7
SM
49772012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4978
4979 * emacs-lisp/cl-lib.el: Rename from cl.el.
4980 * emacs-lisp/cl.el: New compatibility file.
4981 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4982 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4983 to obey the "cl-" prefix.
4984 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4985
0c3461de
GM
49862012-06-03 Glenn Morris <rgm@gnu.org>
4987
1e266c88
GM
4988 * emacs-lisp/authors.el (authors-aliases): Addition.
4989
0c3461de
GM
4990 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4991 Fix :version.
4992
d8a52e15
SM
49932012-06-03 Stefan Merten <smerten@oekonux.de>
4994
4995 * textmodes/rst.el: Add comments.
4996 (rst-transition, rst-adornment): New faces.
4997 (rst-adornment-faces-alist): Make default safe to reevaluate.
4998 Fixes
4999 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5000 Improve customization tags.
5001 (rst-define-level-faces): Clarify meaning.
5002
5205d6f6
CY
50032012-06-03 Chong Yidong <cyd@gnu.org>
5004
5005 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5006 (compilation-mode-line-run, compilation-mode-line-exit):
5007 New faces.
5205d6f6
CY
5008 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5009
757ee657
JD
50102012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5011
7c1898a7
SM
5012 * progmodes/which-func.el (which-func-update-ediff-windows):
5013 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5014
5f2c76c6
CY
50152012-06-03 Chong Yidong <cyd@gnu.org>
5016
5017 * bindings.el: Remove explicit help text from format-mode-line.
5018 It is now supplied by mode-line-default-help-echo.
5019 (mode-line-front-space, mode-line-end-spaces)
5020 (mode-line-misc-info): New variables.
5021 (mode-line-modes, mode-line-position): Move the default value to
5022 the variable definition.
5023 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5024 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5025 (mode-line-modified-help-echo): New functions.
5026 (mode-line-mule-info, mode-line-modified): Use them.
5027 (mode-line-eol-desc, propertized-buffer-identification):
5028 Consistency fixes for help text.
cbe46e5f
CY
5029 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5030 set-buffer-file-coding-system (Bug#289).
5031 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5032
f2d6a3df
SM
50332012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5034
5035 * simple.el (execute-extended-command): Set real-this-command
5036 (bug#11506).
5037
37269466
CY
50382012-06-02 Chong Yidong <cyd@gnu.org>
5039
5040 Remove incorrect uses of "modeline" in comments, docstrings, and
5041 function/variable names (Bug#10329).
5042
5043 * cus-edit.el (mode-line):
5044 * dframe.el (dframe-mouse-hscroll):
5045 * emacs-lisp/re-builder.el:
5046 * emacs-lisp/easy-mmode.el (define-minor-mode):
5047 * frame.el (set-frame-name):
5048 * help.el (lookup-minor-mode-from-indicator):
5049 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5050 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5051 (c-toggle-hungry-state):
5052 * progmodes/antlr-mode.el (antlr-language-alist):
5053 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5054 * progmodes/vhdl-mode.el (vhdl-mode):
5055 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5056 * term/ns-win.el (ns-face-at-pos):
5057 * term/sup-mouse.el (sup-mouse-report):
5058 * textmodes/flyspell.el (flyspell-mode-line-string):
5059 * textmodes/ispell.el (ispell-highlight-face):
5060 * textmodes/reftex-global.el:
5061 * vc/vc-arch.el (vc-arch-mode-line-string):
5062 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5063 * vc/vc-git.el (vc-git-mode-line-string):
5064 * vc/vc-hooks.el (vc-display-status)
5065 (vc-default-mode-line-string):
5066 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5067
5068 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5069
5070 * dired.el (dired-sort-set-mode-line): Rename from
5071 dired-sort-set-modeline. All callers changed.
5072
5073 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5074 eshell-status-in-modeline.
5075
5076 * foldout.el (foldout-mode-line-string): Rename from
5077 foldout-modeline-string. All callers changed.
5078 (foldout-update-mode-line): Rename from foldout-update-modeline.
5079
5080 * subr.el (redraw-modeline): Make into obsolete alias.
5081
5082 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5083 timeclock-modeline-display. Make old name an alias.
5084 (timeclock-update-mode-line): Likewise. All callers changed.
5085 (timeclock-mode-line-display): No need to check before using
5086 add-hook.
5087 (timeclock-relative, timeclock-day-over-hook)
5088 (timeclock-use-elapsed, timeclock-mode-string)
5089 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5090
5091 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5092 crisp-mode-modeline-string.
5093
5094 * play/solitaire.el (solitaire-build-mode-line): Rename from
5095 solitaire-build-modeline. All callers changed.
5096
5097 * play/zone.el (zone-hiding-mode-line): Rename from
5098 zone-hiding-modeline. All callers changed.
5099 (zone): Remove unusued `modeline-hidden-level' property.
5100
5101 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5102 xscheme-modeline-initialize. All callers changed.
5103
5104 * strokes.el (strokes-lighter): Rename from
5105 strokes-modeline-string.
5106
5107 * textmodes/sgml-mode.el (html-face-tag-alist)
5108 (html-tag-face-alist): Use mode-line face instead of obsolete
5109 alias modeline.
5110
42152ee4
SM
51112012-06-02 Stefan Merten <smerten@oekonux.de>
5112
5113 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5114 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5115
95f520b5
CY
51162012-06-02 Chong Yidong <cyd@gnu.org>
5117
5118 * image.el (imagemagick-enabled-types): Rename from
5119 imagemagick-types-enable. Add many more types.
5120 (imagemagick-types-inhibit): Change default to nil.
5121 (imagemagick-filter-types): Caller changed.
5122
4a5f187a
SM
51232012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5124
03fef3e6
SM
5125 * emacs-lisp/cl-macs.el: Use backquotes.
5126 (cl-transform-function-property): Use eval-and-compile rather than
5127 abusing `require'.
5128 (defstruct): Use declare-function instead of with-no-warnings.
5129
4a5f187a
SM
5130 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5131 (byte-compile-output-docform): Re-add the print-circle bindings.
5132 (byte-compile-fix-header): Use #$ just because it's shorter.
5133 (byte-compile-output-file-form): Remove defun/defmacro.
5134
bd56924f
MR
51352012-06-01 Martin Rudalics <rudalics@gmx.at>
5136
5137 * simple.el (choose-completion): Remove now obsolete binding for
5138 owindow.
5139
046e38ce
MA
51402012-06-01 Michael Albinus <michael.albinus@gmx.de>
5141
5142 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5143 in order to avoid "Stack overflow in regexp matcher".
5144
32d72c2f
GM
51452012-05-31 Glenn Morris <rgm@gnu.org>
5146
5147 * image.el: For clarity, call imagemagick-register-types at
5148 top-level, rather than relying on a custom :initialize.
5149 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5150 (imagemagick-filter-types): New function. (Bug#7406)
5151 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5152 If disabling support, remove elements altogether rather
5153 than using an impossible regexp.
5154 (imagemagick-types-inhibit): Give it the default init function.
5155
dd41169b
SM
51562012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5157
4a5f187a
SM
5158 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5159 Handle arbitrary file name lengths (Bug#11585).
dd41169b 5160
efc00ab1 51612012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
5162
5163 * desktop.el (desktop-read): Clear previous and next buffers for
5164 all windows and bury *Messages* buffer (bug#11556).
5165
500fcedc
SM
51662012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5167
5168 Add `declare' for `defun'. Align `defmacro's with it.
5169 * emacs-lisp/easy-mmode.el (define-minor-mode)
5170 (define-globalized-minor-mode): Don't autoload the var definitions.
5171 * emacs-lisp/byte-run.el: Use lexical-binding.
5172 (defun-declarations-alist, macro-declarations-alist): New vars.
5173 (defmacro, defun): Use them.
5174 (make-obsolete, define-obsolete-function-alias)
5175 (make-obsolete-variable, define-obsolete-variable-alias):
5176 Use `declare'.
5177 (macro-declaration-function): Mark obsolete.
5178 * emacs-lisp/autoload.el: Use lexical-binding.
5179 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5180
6e8a1786
AM
51812012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5182
5183 * textmodes/ispell.el (ispell-with-no-warnings):
5184 Define as a macro.
500fcedc
SM
5185 (ispell-kill-ispell, ispell-change-dictionary):
5186 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
5187 `interactive-p'.
5188
61b108cc
SM
51892012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5192 (macro-declaration-function): Move var from C code.
5193 (macro-declaration-function): Define function with defalias.
5194 * emacs-lisp/macroexp.el (macroexpand-all-1):
5195 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5196 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5197 defun/defmacro any more.
5198 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5199 Provide fallback for unknown arglist.
5200 (byte-compile-arglist-warn): Change calling convention.
5201 (byte-compile-output-file-form): Move print-vars binding.
5202 (byte-compile-output-docform): Simplify accordingly.
5203 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5204 (byte-compile-defmacro-declaration): Remove.
5205 (byte-compile-file-form-defmumble): Generalize to defalias.
5206 (byte-compile-output-as-comment): Return byte-positions.
5207 Simplify callers accordingly.
5208 (byte-compile-lambda): Use `assert'.
5209 (byte-compile-defun, byte-compile-defmacro): Remove.
5210 (byte-compile-file-form-defalias):
5211 Use byte-compile-file-form-defmumble.
5212 (byte-compile-defalias-warn): Remove.
5213
6d3f7c2f
SM
52142012-05-29 Stefan Merten <smerten@oekonux.de>
5215
5216 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 5217 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
5218
5219 (rst-mode-abbrev-table): Merge definition.
5220 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5221 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5222
6dbaa1c7
UJ
52232012-05-29 Ulf Jasper <ulf.jasper@web.de>
5224
5225 * calendar/icalendar.el
5226 (icalendar-export-region): Export UID properly.
5227
d209e2fb 52282012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
5229 * calendar/icalendar.el (icalendar-import-format):
5230 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
5231 (icalendar-import-format-uid): New.
5232 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5233 Export UID.
5234
6876a58d
SM
52352012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5236
5237 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5238 different alternative patterns.
5239 (pcase-codegen): Be more careful to preserve identity.
5240 (pcase--u1): Don't forget to mark vars as used.
5241
5242 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5243 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5244 (byte-compile-from-buffer): ...rather than here.
5245
5246 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5247 functions from byte-compile-function-environment.
5248
46b7967e
TN
52492012-05-29 Troels Nielsen <bn.troels@gmail.com>
5250
5251 * window.el (window-deletable-p): Avoid deleting the root window
5252 of a frame with an active minibuffer.
5253
69d565e2
MR
52542012-05-29 Martin Rudalics <rudalics@gmx.at>
5255
5256 * simple.el (choose-completion): Use quit-window (Bug#11567).
5257
a149fa51
CY
52582012-05-29 Chong Yidong <cyd@gnu.org>
5259
5260 * whitespace.el (whitespace-cleanup): Fix usage of
5261 whitespace-empty-at-bob-regexp (Bug#11492).
5262
2b311310
AH
52632012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5264
5265 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5266 revert (Bug#11488).
5267
b9cb2387
JL
52682012-05-29 Juri Linkov <juri@jurta.org>
5269
5270 * isearch.el (isearch-mode-map): Bind `M-s _' to
5271 `isearch-toggle-symbol'. Bind `M-s c' to
5272 `isearch-toggle-case-fold'.
5273 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5274 (isearch-forward): Add `M-s _' to the docstring.
5275 (isearch-forward-symbol, isearch-toggle-case-fold)
5276 (isearch-symbol-regexp): New functions. (Bug#11381)
5277
d5e61c1c
JL
52782012-05-29 Juri Linkov <juri@jurta.org>
5279
5280 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5281 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5282 a function, call it to get the regexp.
5283 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5284 property `isearch-message-prefix' instead of the string "word ".
5285 (isearch-search-fun-default): For the case of `isearch-word',
5286 return a lambda that calls re-search-forward/re-search-backward
5287 with a regexp returned by `word-search-regexp' or by the function
5288 in `isearch-word'.
5289
8cbd80f7
JL
52902012-05-29 Juri Linkov <juri@jurta.org>
5291
5292 * isearch.el (isearch-search-fun-default): New function.
5293 (isearch-search-fun): Move default part to the new function
5294 `isearch-search-fun-default'.
5295 (isearch-search-fun-function): Set the default value to
5296 `isearch-search-fun-default'. (Bug#11381)
5297
5298 * comint.el (comint-history-isearch-end):
5299 Use `isearch-search-fun-default'.
5300 (comint-history-isearch-search): Use `isearch-search-fun-default'
5301 and remove spacial case for `isearch-word'.
5302 (comint-history-isearch-wrap): Remove spacial case for
5303 `isearch-word'.
5304
5305 * hexl.el (hexl-isearch-search-function):
5306 Use `isearch-search-fun-default'.
5307
5308 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5309 Use `word-search-regexp' for `isearch-word'.
5310
5311 * misearch.el (multi-isearch-search-fun):
5312 Use `isearch-search-fun-default'.
5313
5314 * simple.el (minibuffer-history-isearch-search):
5315 Use `isearch-search-fun-default' and remove spacial case for
5316 `isearch-word'.
5317 (minibuffer-history-isearch-wrap): Remove spacial case for
5318 `isearch-word'.
5319
5320 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5321 Remove spacial case for `isearch-word'.
5322 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5323
85c8c5b6
AM
53242012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5325
5326 Decrease XEmacs incompatibilities.
5327 * textmodes/flyspell.el (flyspell-check-pre-word-p):
5328 Use `string-match'.
5329 (flyspell-delete-region-overlays): Use alternative definition for
5330 XEmacs.
5331 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5332 (flyspell-word): Use `process-kill-without-query' if XEmacs.
5333 (flyspell-mode-on): Use `interactive-p' if XEmacs.
5334 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5335 `define-obsolete-face-alias' under XEmacs, but old method.
5336
5337 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5338 `with-no-warnings' definition or Emacs alias.
5339 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5340 (ispell-word): Do not use `region-p' if XEmacs.
5341
8cab9efc
AM
53422012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5343
5344 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5345 Check for `ispell-dictionary-base-alist' instead of full
5346 `ispell-dictionary-alist'.
5347 (ispell-init-process): Show spellchecker when starting new Ispell
5348 process.
5349
fda91268
RZ
53502012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5351
5352 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5353 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5354
694ea8e3
JB
53552012-05-27 Juanma Barranquero <lekktu@gmail.com>
5356
5357 * version.el (motif-version-string, gtk-version-string)
5358 (ns-version-string): Declare.
5359
e4d4f539
JL
53602012-05-27 Juri Linkov <juri@jurta.org>
5361
5362 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5363 after the `eval-defun-1' specialcaseing
5364 like in `edebug-eval-defun' (bug#10181).
5365
5366 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5367 like in `eval-defun-1'.
5368
33017faf 53692012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 5370
fda91268
RZ
5371 * mail/sendmail.el (mail-yank-region):
5372 Recognize rmail-yank-current-message in addition to insert-buffer.
5373 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
5374 a *mail* buffer created through rmail-start-mail with sendmail as
5375 mail-user-agent.
5376
33017faf
GM
53772012-05-27 Chong Yidong <cyd@gnu.org>
5378
5379 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5380 Default to 256 (Bug#11267).
5381
5382 * help.el (describe-mode): Doc fix.
5383
04188bb9
GM
53842012-05-26 Glenn Morris <rgm@gnu.org>
5385
38264cc9
GM
5386 * w32-fns.el (w32-init-info): Remove.
5387 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5388
eb7afdad
GM
5389 * info.el (info-initialize): For self-contained NS builds, put the
5390 included info/ directory at the front. (Bug#2791)
5391
04188bb9
GM
5392 * paths.el (Info-default-directory-list): Make it a defcustom,
5393 mainly so that we can use custom-initialize-delay.
5394
a179e3f7
SM
53952012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
5396
43416392
SM
5397 * subr.el (buffer-has-markers-at): Mark obsolete.
5398
a179e3f7 5399 * subr.el (lambda): Use declare.
43416392 5400
a179e3f7
SM
5401 * emacs-lisp/lisp-mode.el (lambda):
5402 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5403
34a008d9
AH
54042012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5405
5406 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
5407
0a3b289f
GM
54082012-05-26 Glenn Morris <rgm@gnu.org>
5409
5410 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5411
758c81e8
GM
54122012-05-25 Glenn Morris <rgm@gnu.org>
5413
f9f334f0
GM
5414 * paths.el: Remove no-byte-compile.
5415 * loadup.el: No need to load paths.el uncompiled.
5416
87eb79c2
GM
5417 * image.el (imagemagick-types-inhibit): Doc fix.
5418
758c81e8
GM
5419 * version.el: Remove no-byte-compile and associated formatting.
5420 * loadup.el: No need to load version.el uncompiled. AFAICS, this
5421 is ancient code from when there was an "inc-vers.el".
5422
e7e85dc0
SM
54232012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * progmodes/gdb-mi.el: Minor style changes.
5426 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5427 Turn into minor modes.
5428 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5429 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5430 (gdb-shell): Remove unneeded let-binding.
5431 (gdb-get-many-fields): Eliminate O(n²) behavior.
5432
f31237a4
EZ
54332012-05-25 Eli Zaretskii <eliz@gnu.org>
5434
5435 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5436 platforms that don't link in fontset.c.
5437
bc1b21bb
JL
54382012-05-25 Juri Linkov <juri@jurta.org>
5439
5440 Use the same diff color scheme as in modern VCSes (bug#10181).
5441
5442 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5443 to avoid confusion with `diff-added' that now uses green colors.
5444 (diff-removed): Use shades of red.
5445 (diff-added): Use shades of green.
5446 (diff-changed): Leave just the yellow color.
5447 (diff-use-changed-face): New variable.
5448 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5449 how to highlight context diff changes.
5450 (diff-refine-change): Use shades of yellow.
5451 (diff-refine-removed): New face that uses shades of red.
5452 (diff-refine-added): New face that uses shades of green.
5453 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5454 `diff-refine-removed' in the call to `smerge-refine-subst'
5455 depending on the value of `diff-use-changed-face'.
5456
5457 * vc/smerge-mode.el (smerge-mine): Use shades of red.
5458 (smerge-other): Use shades of green.
5459 (smerge-base): Use shades of yellow.
5460 (smerge-refined-change): Empty face.
5461 (smerge-refined-removed): New face that uses shades of red.
5462 (smerge-refined-added): New face that uses shades of green.
5463 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
5464 args `props-r' and `props-a', and use them. Doc fix.
5465 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5466 on its value use different faces `smerge-refined-change',
5467 `smerge-refined-removed', `smerge-refined-added' in the call to
5468 `smerge-refine-subst'.
5469
5470 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5471 Add face condition `min-colors 88' with shades of red.
5472 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5473 `min-colors 88' with shades of green.
5474 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5475 `min-colors 88' with shades of yellow.
5476
6df9112c
GM
54772012-05-24 Glenn Morris <rgm@gnu.org>
5478
ead5edc0
GM
5479 * paths.el (prune-directory-list, remote-shell-program): Move to...
5480 * files.el (prune-directory-list, remote-shell-program): ...here.
5481 For the latter, delay initialization, prefer ssh, just search PATH.
5482
f18b81e6
GM
5483 * paths.el (term-file-prefix): Move to faces.el (the only user).
5484 * faces.el (term-file-prefix): Move here, make it a defcustom.
5485
ee2f89a6
GM
5486 * paths.el (news-directory, news-path, news-inews-program):
5487 Move to gnus/nnspool.el.
61a583ca 5488
f8815e4c
GM
5489 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5490
c8f3b42c
GM
5491 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5492 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5493 Make the latter a defcustom, with a delayed initialization.
5494
6df9112c
GM
5495 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5496 These were deleted from Gnus itself late 2010.
5497
5dadff36
JB
54982012-05-22 Juanma Barranquero <lekktu@gmail.com>
5499
9e1701c6
JB
5500 * progmodes/which-func.el (which-func-ff-hook):
5501 Check against user-error, not error.
5502
bd7239f5 5503 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
5504 cl-specs.el, which no longer exists.
5505
3290526d
GM
55062012-05-22 Glenn Morris <rgm@gnu.org>
5507
5508 * info.el (info-emacs-bug): New command.
5509 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5510 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5511
ff0c3cfb
GM
55122012-05-21 Glenn Morris <rgm@gnu.org>
5513
5514 * makefile.w32-in (update-subdirs-SH):
5515 * Makefile.in (update-subdirs): Update for moved update-subdirs.
5516
5814f126
SM
55172012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5518
a52c0aa0
SM
5519 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5520
5814f126
SM
5521 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5522 Simplify Maven regexp, and make sure the file can't start with a space
5523 (bug#11517).
5524
b847032c
GM
55252012-05-21 Glenn Morris <rgm@gnu.org>
5526
5527 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5528 Scrap superfluous subshells.
5529
3858bfe7
SM
55302012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5533 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5534
d14b0029
JB
55352012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
5536
5537 * calc/calc.el (calc-ensure-consistent-units): New variable.
5538
a52c0aa0
SM
5539 * calc/calc-units.el (math-consistent-units-p)
5540 (math-check-unit-consistency): New functions.
5541 (calc-quick-units, calc-convert-units):
5542 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5543 is non-nil.
d14b0029
JB
5544 (calc-extract-units): Fix typo.
5545
60c4db3a
SM
55462012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5547
77f3b62e
SM
5548 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5549
60c4db3a
SM
5550 * textmodes/flyspell.el: Commenting style, plus code simplifications.
5551 (flyspell-default-deplacement-commands): Don't spell check after
5552 repeated window/frame switches (e.g. triggered by mouse-movement).
5553 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5554 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5555 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5556 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5557 Remove unused vars.
5558 (flyspell-get-casechars, flyspell-get-not-casechars):
5559 Simplify; Don't bother removing a ] just to add it back.
5560 * textmodes/ispell.el (ispell-program-name): Use executable-find.
5561
d209e2fb 55622012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
5563
5564 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5565 New functions.
bd7239f5 5566 (math-function-table): Add support for more C functions.
b1a10716 5567
3f1b25b5
AM
55682012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5569
090bd7cb
JB
5570 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5571 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5572 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 5573
b581bb5c
SM
55742012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5577 their respective macro declarations.
5578 * skeleton.el (define-skeleton):
5579 * progmodes/compile.el (define-compilation-mode):
5580 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5581 (define-ibuffer-filter):
5582 * emacs-lisp/generic.el (define-generic-mode):
5583 * emacs-lisp/easy-mmode.el (define-minor-mode)
5584 (define-globalized-minor-mode):
5585 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5586 * emacs-lisp/byte-run.el (defsubst):
5587 * custom.el (deftheme): Add doc-string metadata.
5588
70b8ef8f
SM
55892012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5590
5591 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5592
b1198e17
SM
55932012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5594
9abdc45d
SM
5595 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5596
b1198e17
SM
5597 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5598 * emacs-lisp/cl-macs.el: Idem.
5599 * emacs-lisp/cl-specs.el: Remove.
5600
4735906a
SM
56012012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5602
5603 Minor renaming of internal CL functions and variables.
5604 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5605 (cl--position): Rename from cl-position.
5606 (cl--delete-duplicates): Rename from cl-delete-duplicates.
5607 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5608 (cl--random-state): Rename from *random-state*.
5609
ac348012
SM
56102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5611
5612 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5613 parens around the arg list (bug#11499).
5614
a0a79cde
JL
56152012-05-17 Juri Linkov <juri@jurta.org>
5616
5617 * isearch.el (word-search-regexp, word-search-backward)
5618 (word-search-forward, word-search-backward-lax)
5619 (word-search-forward-lax): Move functions from search.c
5620 (bug#10145, bug#11381).
5621
65034a51
AM
56222012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5623
090bd7cb
JB
5624 * textmodes/flyspell.el (flyspell-check-pre-word-p)
5625 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5626 Delay for otherchars as for normal word components.
65034a51 5627
1a72a195
SM
56282012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * minibuffer.el (completion--sifn-requote): Fix last change.
5631 (minibuffer-local-must-match-filename-map):
5632 Move define-obsolete-variable-alias before its var.
5633
fdb058c2
SM
56342012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5635
c41045e6
SM
5636 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5637
036dfb8b
SM
5638 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5639 behavior.
5640 (completion--string-equal-p): New function.
5641 (completion--twq-all): Use it to get better assertion failure data.
5642
2473256d
SM
5643 Only handle ".." and '..' quoting in shell-mode (bug#11466).
5644 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5645 (shell--requote-argument): New functions.
5646 (shell-completion-vars): Use them.
5647 (shell--parse-pcomplete-arguments): Rename from
5648 shell-parse-pcomplete-arguments.
5649 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
5650 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5651 Obey comint-file-name-quote-list.
5652
fdb058c2
SM
5653 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5654 (smie-indent-keyword): Use it.
5655
51fa99f1
SM
56562012-05-14 Stefan Merten <smerten@oekonux.de>
5657
5658 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5659
e18afed7 56602012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
5661
5662 * net/rlogin.el (rlogin-mode-map): Fix last change.
5663
e18afed7 56642012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
5665
5666 * mail/smtpmail.el (smtpmail-send-command): Send the command and
5667 the following \r\n using a single `process-send-string', since the
5668 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 5669 with two `process-send-string's (Bug#11444).
8633b1f4 5670
e18afed7 56712012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 5672
fdb058c2
SM
5673 * shell.el (shell-parse-pcomplete-arguments):
5674 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 5675
2d21d7f6
WJ
56762012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5677
e18afed7 5678 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
5679 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5680 (image-transform-width, image-transform-fit-width): New functions.
5681 (image-transform-properties): Use them.
5682 (image-transform-check-size): New function.
5683 (image-toggle-display-image): Use it (for testing).
5684 (image-transform-set-rotation): Reduce angle mod 360.
5685 Delete obsolete comment.
5686
7102e6d0
WJ
56872012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5688
5689 * image-mode.el: Fix scaling (bug#11399).
5690 (image-transform-resize): Doc fix.
5691 (image-transform-properties): Default scale is 1 and height should
5692 be an integer.
5693
06bc5e6e
SM
56942012-05-13 Johan Bockgård <bojohan@gnu.org>
5695
5696 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5697 than hard-coding `car', to fix misbehavior when moving forward.
5698
0ae03b6a
CY
56992012-05-13 Chong Yidong <cyd@gnu.org>
5700
5701 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5702 (tabulated-list-entries, tabulated-list-padding)
5703 (tabulated-list-sort-key): Make permanent-local.
5704
5705 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5706 (electric-buffer-list): Put electric buffer menu
5707 command descriptions in this docstring, instead of the docstring
5708 of electric-buffer-menu-mode. Code cleanups.
5709 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5710 Electric-buffer-menu-mode.
5711 (electric-buffer-update-highlight): Minor code cleanup.
5712
205a7391
MA
57132012-05-13 Michael Albinus <michael.albinus@gmx.de>
5714
5715 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5716 (Bug#11447)
5717
e5bd0a28
SM
57182012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5719
5720 Move define-obsolete-variable-alias before the var's definition.
5721 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5722 * tooltip.el (tooltip-hook):
5723 * textmodes/reftex-toc.el (reftex-toc-map):
5724 * textmodes/reftex-sel.el (reftex-select-label-map)
5725 (reftex-select-bib-map):
5726 * textmodes/reftex-index.el (reftex-index-map)
5727 (reftex-index-phrases-map):
5728 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5729 * progmodes/meta-mode.el (meta-mode-map):
5730 * novice.el (disabled-command-hook):
5731 * loadhist.el (unload-hook-features-list):
5732 * frame.el (blink-cursor):
5733 * files.el (find-file-not-found-hooks, write-file-hooks)
5734 (write-contents-hooks):
5735 * emulation/tpu-edt.el (GOLD-map):
5736 * emacs-lock.el (emacs-lock-from-exiting):
5737 * emacs-lisp/generic.el (generic-font-lock-defaults):
5738 * emacs-lisp/chart.el (chart-map):
5739 * dos-fns.el (register-name-alist):
5740 * dired-x.el (dired-omit-files-p):
5741 * desktop.el (desktop-enable):
5742 * cus-edit.el (custom-mode-hook):
5743 * buff-menu.el (buffer-menu-mode-hook):
5744 * bookmark.el (bookmark-read-annotation-text-func)
5745 (bookmark-exit-hooks):
5746 * allout.el (allout-mode-deactivate-hook)
5747 (allout-exposure-change-hook, allout-structure-added-hook)
5748 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5749 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5750 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5751 comes before the corresponding variable's definition.
5752
ac59c2f6
CY
57532012-05-12 Chong Yidong <cyd@gnu.org>
5754
5755 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
5756 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5757 (Buffer-menu-mode-map): Bind it.
5758 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 5759
dee6c9a3
SM
57602012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5761
2171cea5
SM
5762 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5763 (prolog-upper-case-string, prolog-lower-case-string)
5764 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5765 (prolog-use-smie, prolog-smie-grammar): New vars.
5766 (prolog-smie-forward-token, prolog-smie-backward-token)
5767 (prolog-smie-rules): New funs.
5768 (prolog-comment-indent): Remove.
5769 (prolog-mode-variables): Use default comment indentation instead.
5770 Setup SMIE.
5771 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5772 (prolog-mode): Don't call them any more.
5773 (prolog-electric-colon, prolog-electric-dash)
5774 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5775
aa0382bd
SM
5776 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5777
dbacb4bd
SM
5778 * minibuffer.el (completion--twq-all): Again, allow case differences.
5779
13bdd94c
SM
5780 * term.el: Move keymap initialization code to be more idiomatic.
5781 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5782 (term-terminal-menu): Move initialization into declaration.
5783 (term-escape-char): Let the user set it in her .emacs.
5784
ff46c759
SM
5785 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5786 Provide SMIE-based indentation (not enabled by default yet).
5787 (sh-mode-map): Don't bind electric keys.
5788 Use electric-pair-mode instead of skeleton-pair.
5789 (sh-assignment-regexp): Fit within 80 columns.
5790 (sh-indent-supported): Specify actual shell name instead of boolean.
5791 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5792 (sh-maybe-here-document): Use it. Make obsolete.
5793 (sh-electric-here-document-mode) New minor mode.
5794 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5795 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5796 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5797 (sh-smie-rc-grammar, sh-use-smie): New vars.
5798 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5799 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5800 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5801 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5802 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5803 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5804 (sh-set-shell): Use smie-setup if requested.
5805
dee6c9a3
SM
5806 * term.el (term-set-escape-char): Properly set term-escape-char.
5807 See http://stackoverflow.com/questions/10524656.
5808
9f9aa044
CY
58092012-05-10 Chong Yidong <cyd@gnu.org>
5810
5811 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5812 Use url-generic-parse-url, and handle host names and Windows
5813 filenames properly.
5814 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5815 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5816 URL schemes to work on.
5817 (ffap--toggle-read-only): New function.
5818 (ffap-read-only, ffap-read-only-other-window)
5819 (ffap-read-only-other-frame): Use it.
5820 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5821 necessary for ffap-url-unwrap-remote.
5822
836d29b3
DA
58232012-05-10 Dave Abrahams <dave@boostpro.com>
5824
5825 * cus-start.el (create-lockfiles): Add it.
5826
00fd78ed
CY
58272012-05-09 Chong Yidong <cyd@gnu.org>
5828
5829 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5830 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5831
666b903b 58322012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
5833
5834 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5835
666b903b 58362012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
5837
5838 * ansi-color.el (ansi-color-process-output): Check for validity of
5839 comint-last-output-start before using it. This avoids a bad
5840 interaction with gdb-mi's input/output buffer.
5841
666b903b 58422012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
5843
5844 * files.el (dir-locals-read-from-file):
5845 Mention dir-locals in any error message.
5846
666b903b 58472012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
5848
5849 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5850 package (Bug#11410).
5851
f677562b
CY
5852 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5853 variables into description.
5854
666b903b 58552012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
5856
5857 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5858 shell-delimiter-argument-list (bug#11348).
5859 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5860
b499d8d0
JB
58612012-05-09 Juanma Barranquero <lekktu@gmail.com>
5862
8f6b6da8
JB
5863 * textmodes/rst.el: Silence byte-compiler warnings.
5864 (rst-re-alist, rst-reset-section-caches): Move around.
5865 (rst-re): Use `characterp', not `char-valid-p'.
5866 (font-lock-beg, font-lock-end): Declare.
5867
4824146a
JB
5868 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5869 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5870
b499d8d0
JB
5871 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5872
ad89bb83
GM
58732012-05-08 Glenn Morris <rgm@gnu.org>
5874
5875 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5876
8bba5a75
SM
58772012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5878
49ed9c8e
SM
5879 * vc/log-edit.el: Add GNU coding standards highlighting.
5880 (log-edit-font-lock-gnu-style)
5881 (log-edit-font-lock-gnu-keywords): New vars.
5882 (log-edit-font-lock-keywords): New fun.
5883 (log-edit-mode): Don't fold case in font-lock.
5884 (log-edit-font-lock-keywords): Do not assume case-folding.
5885
07d00b56
SM
5886 * imenu.el: Misc cleanup. Make docstrings out of comments.
5887 Use lexical-binding.
5888 (imenu--index-alist, imenu--last-menubar-index-alist)
5889 (imenu-menubar-modified-tick): Use defvar-local.
5890 (imenu--split-menu): Remove unused var.
5891 (imenu--cleanup-seen): Declare as global.
5892 (imenu--cleanup): Use dolist.
5893
8bba5a75
SM
5894 * subr.el (defvar-local): Add debug spec and doc-string position.
5895
5075bdb5
GM
58962012-05-08 Glenn Morris <rgm@gnu.org>
5897
090bd7cb 5898 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
5899 * language/english.el, language/georgian.el, language/greek.el:
5900 * language/japanese.el, language/khmer.el, language/korean.el:
5901 * language/lao.el, language/misc-lang.el, language/romanian.el:
5902 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5903 * language/thai.el, language/utf-8-lang.el:
5904 Remove no-byte-compile setting.
5905
5075bdb5
GM
5906 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5907
06f679a7
AH
59082012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5909
5910 * progmodes/make-mode.el (makefile-browse):
5911 Remove unnecessary interactive. (Bug#11324)
5912
03794570
GM
59132012-05-07 Glenn Morris <rgm@gnu.org>
5914
af8630f4
GM
5915 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5916
03794570
GM
5917 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5918
f0809a9d
SM
59192012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5920
28be5ce7
SM
5921 * loadup.el: Preload newcomment.el.
5922 * newcomment.el: Move autoload-only code to toplevel.
5923
f0809a9d
SM
5924 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5925 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5926 Handle new :right-align column property.
5927 (tabulated-list-print-col): Idem, plus use `display' text-property to
5928 try and preserve alignment for variable pitch fonts.
5929
1241b724
CY
59302012-05-07 Chong Yidong <cyd@gnu.org>
5931
5932 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5933 (tabulated-list-use-header-line): New var.
5934 (tabulated-list-init-header): Use it.
5935 (tabulated-list-print-fake-header): New function.
5936 (tabulated-list-print): Use it.
5937 (tabulated-list-sort-button-map): Add non-header-line commands.
5938 (tabulated-list-init-header): Add column name property to basic
5939 labels as well.
5940 (tabulated-list-col-sort): Handle non-header-line button case.
5941 (tabulated-list--sort-by-column-name): Fix a corner case.
5942
f0809a9d
SM
5943 * buff-menu.el (list-buffers--refresh):
5944 Handle Buffer-menu-use-header-line.
1241b724 5945
e5f9458f
CY
59462012-05-06 Chong Yidong <cyd@gnu.org>
5947
5948 * buff-menu.el: Convert to Tabulated List mode.
5949 (Buffer-menu-buffer+size-width): Make obsolete.
5950 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5951 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5952 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5953 documentation into docstring of buffer-menu.
5954 (Buffer-menu-toggle-files-only): Add an informative message.
5955 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5956 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5957 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5958 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5959 (Buffer-menu-execute, Buffer-menu-select)
5960 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5961 (Buffer-menu-bury): Use Tabulated List machinery.
5962 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5963 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 5964 Delete.
e5f9458f
CY
5965 (list-buffers--refresh): New function.
5966 (list-buffers-noselect): Use it.
5967 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5968 (Buffer-menu--pretty-file-name): New helper functions.
5969
5970 * loadup.el: Preload tabulated-list.
5971
5972 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5973 tabulated-list-sort-column.
5974 (tabulated-list-init-header): Add the initial aligning space even
5975 if tabulated-list-padding is zero.
5976
e129292c
CS
59772012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5978
5979 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5980 whose cdr is not a cons cell correctly (bug#11038).
5981
6632d361
CY
59822012-05-06 Chong Yidong <cyd@gnu.org>
5983
e129292c
CS
5984 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5985 Accept additional plist in column descriptors.
6632d361
CY
5986 (tabulated-list-init-header): Obey it.
5987 (tabulated-list-get-entry): New function.
5988 (tabulated-list-put-tag): Use it. Use string-width instead of
5989 length.
5990 (tabulated-list--column-number): New function.
5991 (tabulated-list-print): Use it.
e129292c
CS
5992 (tabulated-list-print-col): New function.
5993 Set `tabulated-list-column-name' property on each column's text.
6632d361 5994 (tabulated-list-print-entry): Use it.
e129292c
CS
5995 (tabulated-list-delete-entry, tabulated-list-set-col):
5996 New functions.
6632d361
CY
5997 (tabulated-list-sort-column): New command (Bug#11337).
5998
3cc99f68
CY
5999 * buff-menu.el (list-buffers): Move C-x C-b binding from
6000 buff-menu.el to bindings.el.
6001
6002 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6003 :advertised-binding feature.
6004
52b61776
TN
60052012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6006
6007 * progmodes/compile.el (compilation-internal-error-properties):
6008 Calculate start position correctly when end-col is set but
6009 end-line is not (Bug#11382).
6010
ebfe2597
WJ
60112012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6012
6013 * man.el (Man-unindent): Use text-property-default-nonsticky to
6014 prevent untabify from inheriting face properties (Bug#11408).
6015
6d3f7c2f
SM
60162012-05-05 Stefan Merten <smerten@oekonux.de>
6017
6018 * textmodes/rst.el: Major merge with upstream development up to
6019 Docutils SVN r7399 / rst.el V1.2.1.
6020
6021 Clarify maintainership and authors.
6022
6023 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6024 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6025 (rst-official-version, rst-official-cvs-rev, rst-version)
6026 (rst-package-emacs-version-alist): New functions and variables
6027 for version information.
6028
6029 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6030 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6031 (rst-mode-syntax-table, rst-mode): New and corrected functions
6032 and variables representing reStructuredText features.
6033
6034 (rst-re): New function for reStructuredText regexes. Use in
6035 many places.
6036
6037 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6038 (rst-mode-map): Rebind keys.
6039
6040 (rst-mode-lazy, rst-font-lock-keywords)
6041 (rst-font-lock-extend-region)
6042 (rst-font-lock-extend-region-internal)
6043 (rst-font-lock-extend-region-extend)
6044 (rst-font-lock-find-unindented-line-limit)
6045 (rst-font-lock-find-unindented-line-match)
6046 (rst-adornment-level, rst-font-lock-adornment-level)
6047 (rst-font-lock-adornment-match)
6048 (rst-font-lock-handle-adornment-pre-match-form)
6049 (rst-font-lock-handle-adornment-matcher): Major revision of
6050 font-locking. Integrate with other code. Use `jit-lock-mode'.
6051
6052 (rst-preferred-adornments, rst-adjust-hook)
6053 (rst-new-adornment-down, rst-preferred-bullets)
6054 (rst-preferred-bullets, rst-indent, rst-indent-width)
6055 (rst-indent-field, rst-indent-literal-normal)
6056 (rst-indent-literal-minimized, rst-indent-comment): Change,
6057 extend and improve customization.
6058
6059 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6060 (rst-normalize-cursor-position, rst-get-decoration)
6061 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6062 (rst-rstrip, rst-toc-insert-find-delete-contents)
6063 (rst-shift-fill-region, rst-compute-bullet-tabs)
6064 (rst-debug-print-tabs, rst-debug-mark-found)
6065 (rst-shift-region-guts, rst-shift-region-right)
6066 (rst-shift-region-left, rst-use-char-classes)
6067 (rst-font-lock-keywords-function)
6068 (rst-font-lock-indentation-point)
6069 (rst-font-lock-find-unindented-line-begin)
6070 (rst-font-lock-find-unindented-line-end)
6071 (rst-font-lock-find-unindented-line)
6072 (rst-font-lock-adornment-point, rst-font-lock-level)
6073 (rst-adornment-level-alist): Remove functions and variables.
6074
6075 (rst-compare-adornments, rst-get-adornment-match)
6076 (rst-suggest-new-adornment, rst-get-adornments-around)
6077 (rst-adornment-complete-p, rst-get-next-adornment)
6078 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6079 (rst-straighten-adornments): Standardize function names to
6080 use "adornment" instead of "decoration". Correct callers.
6081 Similar standardizing in many places.
6082
6083 (rst-update-section, rst-adjust, rst-promote-region)
6084 (rst-enumerate-region, rst-bullet-list-region)
6085 (rst-repeat-last-character): Correct use of `interactive'.
6086
6087 (rst-classify-adornment, rst-find-all-adornments)
6088 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6089 (rst-find-leftmost-column, rst-repeat-last-character):
6090 Refactor functions.
6091
6092 (rst-find-title-line, rst-reset-section-caches)
6093 (rst-get-adornments-around, rst-adjust-adornment-work)
6094 (rst-arabic-to-roman, rst-roman-to-arabic)
6095 (rst-insert-list-pos, rst-insert-list-new-item)
6096 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6097 New functions.
6098
6099 (rst-all-sections, rst-section-hierarchy)
6100 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6101 New variables.
6102
6103 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6104 configuration instead of only buffer. Change where necessary.
6105
6106 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6107 (rst-shift-region, rst-adaptive-fill): New functions for
6108 indentation and filling.
6109
6110 (rst-comment-line-break, rst-comment-indent)
6111 (rst-comment-insert-comment, rst-comment-region)
6112 (rst-uncomment-region): New functions for handling comments.
6113
6114 (rst-compile): Quote shell arguments.
6115
6116 (rst-compile-pdf-preview, rst-compile-slides-preview):
6117 Delete temporary files after use.
6118
a43f98b3
GM
61192012-05-05 Glenn Morris <rgm@gnu.org>
6120
48176e8b
GM
6121 * calendar/cal-html.el: Optionally include holidays in the output.
6122 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6123 (cal-html-holidays): New option.
6124 (cal-html-css-default): Add holiday entry.
6125 (holiday-in-range): Autoload it.
6126 (cal-html-htmlify-entry): Add optional class argument.
6127 (cal-html-htmlify-list): Add optional holidays argument.
6128 (cal-html-insert-agenda-days): Include holidays in the output.
6129 (cal-html-one-month): Maybe include holidays.
6130
a43f98b3
GM
6131 * calendar/holidays.el (holiday-in-range):
6132 Move here from cal-tex-list-holidays.
6133 * calendar/cal-tex.el (cal-tex-list-holidays):
6134 Make it an obsolete alias for holiday-in-range. Update all callers.
6135
fef9d149 61362012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6137
6138 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6139 Nextstep.
6140
248da2f4
RW
61412012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6142
6143 * files.el (file-auto-mode-skip): New var.
6144 (set-auto-mode-1): Use it.
6145
f95e9344
SM
61462012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6147
df96ab1e
SM
6148 * repeat.el: Use lexical-binding.
6149 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6150 (repeat-undo-count): Remove.
6151 (repeat):
6152 * progmodes/octave-mod.el (octave-abbrev-start):
6153 * progmodes/f90.el (f90-abbrev-start):
6154 * face-remap.el (text-scale-adjust):
6155 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6156
5342bb06
SM
6157 * emacs-lisp/pcase.el (pcase--let*): New function.
6158 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6159 a bit more.
6160 (pcase--split-pred): Be more clever about ruling out overlap between
6161 a predicate and some constant pattern.
6162 (pcase--q1): Use `null' instead of (eq foo nil).
6163
f95e9344
SM
6164 * subr.el (setq-local, defvar-local): New macros.
6165 (kbd): Redefine as an alias.
6166 (with-selected-window): Leave unrelated frames alone.
6167 (set-temporary-overlay-map): New function.
6168
71873e2b
SM
61692012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * subr.el (user-error): New function.
6172 * window.el (switch-to-buffer):
6173 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6174 (smerge-match-conflict):
6175 * simple.el (previous-matching-history-element)
6176 (next-matching-history-element, goto-history-element, undo-more)
6177 (undo-start):
6178 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6179 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6180 (next-file, tags-loop-scan, list-tags, complete-tag):
6181 * progmodes/compile.el (compilation-loop):
6182 * mouse.el (mouse-minibuffer-check):
6183 * man.el (Man-bgproc-sentinel, Man-goto-page):
6184 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6185 (Info-history-forward, Info-follow-reference, Info-menu)
6186 (Info-extract-menu-item, Info-extract-menu-counting)
6187 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6188 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6189 (Info-next-reference, Info-prev-reference, Info-index)
6190 (Info-index-next, Info-follow-nearest-node)
6191 (Info-copy-current-node-name):
6192 * imenu.el (imenu--make-index-alist)
6193 (imenu-default-create-index-function, imenu-add-to-menubar):
6194 * files.el (basic-save-buffer, recover-file):
6195 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6196 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6197 (checkdoc-message-text, checkdoc-defun):
6198 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6199 * cus-edit.el (customize-changed-options, customize-rogue)
6200 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6201 (custom-variable-mark-to-reset-standard)
6202 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6203 (custom-file):
6204 * completion.el (check-completion-length):
6205 * comint.el (comint-search-arg)
6206 (comint-previous-matching-input-string-position)
6207 (comint-previous-matching-input)
6208 (comint-replace-by-expanded-history-before-point, comint-send-input)
6209 (comint-copy-old-input, comint-backward-matching-input)
6210 (comint-goto-process-mark, comint-set-process-mark):
6211 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6212 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6213
8a61ee22
SM
62142012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6215
66408d1e
SM
6216 * dabbrev.el (dabbrev--ignore-case-p): New function.
6217 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6218 Use it.
6219
8a61ee22
SM
6220 * files.el (automount-dir-prefix): Mark as obsolete.
6221
3c74813a
GM
62222012-05-04 Glenn Morris <rgm@gnu.org>
6223
6224 * patcomp.el, play/bruce.el: Move to obsolete/.
6225
0bfcf5c5
PE
62262012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6227
6228 Fix minor Y10k bugs.
6229 * arc-mode.el (archive-unixdate):
6230 * autoinsert.el (auto-insert-alist):
6231 * calc/calc-forms.el (math-this-year):
6232 * emacs-lisp/copyright.el (copyright-current-year)
6233 (copyright-update-year, copyright):
6234 * tar-mode.el (tar-clip-time-string):
6235 * time.el (display-time-update):
6236 Don't assume years have 4 digits.
6237
78f3273a
CY
62382012-05-04 Chong Yidong <cyd@gnu.org>
6239
6240 * dos-w32.el (file-name-buffer-file-type-alist)
6241 (direct-print-region-use-command-dot-com):
6242 * ffap.el (ffap-menu-regexp):
6243 * find-file.el (ff-special-constructs):
6244 * follow.el (follow-debug):
6245 * forms.el (forms--debug):
6246 * iswitchb.el (iswitchb-all-frames):
6247 * ido.el (ido-all-frames):
6248 * emacs-lisp/timer.el (timer-max-repeats):
6249 * mail/feedmail.el (feedmail-mail-send-hook)
6250 (feedmail-mail-send-hook-queued):
6251 * mail/footnote.el (footnote-signature-separator):
6252 * mail/mailabbrev.el (mail-alias-separator-string)
6253 (mail-abbrev-mode-regexp):
6254 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6255 * progmodes/idlwave.el (idlwave-libinfo-file)
6256 (idlwave-default-completion-case-is-down)
6257 (idlwave-library-routines): Convert defvars to defcustoms.
6258
6259 * mail/rmail.el (rmail-decode-mime-charset):
6260 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6261 (idlwave-shell-fix-inserted-breaks)
6262 (idlwave-shell-activate-alt-keybindings)
6263 (idlwave-shell-use-breakpoint-glyph):
6264 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6265
f7ae6719
SM
62662012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6269
47086495
WS
62702012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6271
6272 * progmodes/verilog-mode.el (font-lock-keywords):
6273 Fix mis-highligting auto. Reported by Craig Barner.
6274 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 6275 defines from global name space. Reported by Dan Dever.
47086495
WS
6276 (verilog-auto-reset, verilog-auto-reset-widths)
6277 (verilog-auto-tieoff): Support using unbased numbers for
6278 AUTORESET and AUTOTIEOFF.
6279 (verilog-submit-bug-report): Update variable list.
6280 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 6281 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
6282 (verilog-auto-template-lint): Fix hash error when linting modules
6283 with no used templates.
6284 (verilog-warn, verilog-warn-error)
6285 (verilog-warn-fatal): When non-interactive report multiple
6286 warnings before exiting. Suggested by Brad Dobbie.
6287 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6288 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6289 to report unused template errors. Reported by Brad Dobbie.
6290 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 6291 nets, bug438. Reported by Vns Blore.
47086495
WS
6292 (verilog-auto-inout-module, verilog-auto-reg)
6293 (verilog-read-decls, verilog-read-sub-decls-sig)
6294 (verilog-signals-edit-wire-reg, verilog-signals-with):
6295 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 6296 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
6297 "reg" for backwards compatibility presuming Verilog 2001.
6298 (verilog-auto-ascii-enum): Add "auto enum" as alias.
6299 (verilog-preprocess): Fix replication of preprocess output.
6300 Reported by Brad Dobbie.
6301 (verilog-auto-inst-interfaced-ports):
6302 Create verilog-auto-inst-interfaced-ports, bug429.
6303 Reported by Julian Gorfajn.
6304 (verilog-after-save-font-hook)
6305 (verilog-before-save-font-hook): New variable.
6306 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6307 (verilog-save-font-mods): Wrap disabling fontification, reported
6308 by David Rogoff.
6309 (verilog-do-indent, verilog-pretty-declarations-auto)
6310 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6311 Reported by Pierre-David Pfister.
6312 (verilog-set-auto-endcomments): Fix endtask auto comments outside
6313 of class declarations, bug292. Reported by Kevin Heilman.
6314 (verilog-read-decls): Fix 'parameter type' not appearing in
6315 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
6316 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 6317 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
6318 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6319 Reported by David Kravitz.
6320
63212012-05-03 Michael McNamara <mac@mail.brushroad.com>
6322
6323 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6324 assignment with tests in ifs and for loops.
6325 (verilog-extended-complete-re, verilog-complete-reg): Change so
6326 that DPI inport functions don't look like fuction declarations.
6327 (verilog-pretty-expr): Don't line up assignment
6328 operations to the test and increment in if and for loops
6329 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 6330 that DPI inport functions don't look like fuction declarations.
47086495 6331
2e51d4b5
KH
63322012-05-03 Kenichi Handa <handa@m17n.org>
6333
6334 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 6335 decoding, and show a warning message without signaling an error
2e51d4b5
KH
6336 (Bug#11282).
6337
2bd785a2
SM
63382012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 * emacs-lisp/bytecomp.el
6341 (byte-compile-file-form-custom-declare-variable): Compile all elements,
6342 since cconv.el might have introduced :fun-body, internal-make-closure,
6343 and friends for bytecomp to handle (bug#11391).
6344 * custom.el (defcustom): Avoid ((λ ..) ..).
6345
99d27583
SM
63462012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
6347
6348 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6349
55a71479
JB
63502012-05-02 Juanma Barranquero <lekktu@gmail.com>
6351
6352 * notifications.el (dbus-debug):
6353 * term/linux.el (gpm-mouse-enable):
6354 * term/screen.el (xterm-register-default-colors): Declare.
6355
7b97c764
CY
63562012-05-02 Chong Yidong <cyd@gnu.org>
6357
2bc356d7
CY
6358 * cus-start.el (gc-cons-percentage, exec-suffixes)
6359 (dos-display-scancodes, dos-hyper-key, dos-super-key)
6360 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6361 (make-cursor-line-fully-visible, void-text-area-pointer)
6362 (font-list-limit): Add customization data.
6363
7b97c764
CY
6364 * allout.el (allout-exposure-change-functions)
6365 (allout-structure-added-functions)
6366 (allout-structure-deleted-functions)
6367 (allout-structure-shifted-functions): Rename abnormal hooks from
6368 *-hook, and convert to defcustoms.
5d3385a0
JB
6369 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6370 Convert to defcustoms.
7b97c764
CY
6371 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6372
6373 * allout-widgets.el: Hook callers changed.
6374
90207a15 63752012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
6376
6377 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6378 the yanked message in preference to the default value of
6379 buffer-file-coding-system.
6380
90207a15 63812012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 6382
5d3385a0
JB
6383 * window.el (display-buffer--action-function-custom-type):
6384 Fix entry.
d9558cad 6385
90207a15 63862012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
6387
6388 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6389
d80ac57b
GM
63902012-05-01 Glenn Morris <rgm@gnu.org>
6391
976f7668
GM
6392 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6393
beb83b5a
GM
6394 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
6395
d80ac57b
GM
6396 * cus-edit.el (custom-variable-documentation): Simplify with format.
6397
b593d6a9 63982012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 6399 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
6400
6401 * simple.el (suggest-key-bindings, execute-extended-command):
6402 Move from keyboard.c.
6403
782fbf2a
CY
64042012-05-01 Chong Yidong <cyd@gnu.org>
6405
6406 * follow.el: Eliminate advice.
6407 (set-process-filter, process-filter, sit-for): Advice deleted.
6408 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
6409 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6410 Vars deleted.
782fbf2a
CY
6411 (follow-auto): Use a :set function.
6412 (follow-mode): Rewritten. Don't advise process filters.
6413 (follow-switch-to-current-buffer-all, follow-scroll-up)
6414 (follow-scroll-down): Assume follow-mode is bound.
6415 (follow-comint-scroll-to-bottom)
6416 (follow-align-compilation-windows): New functions.
6417 (follow--window-sorter): New function.
6418 (follow-all-followers): Use it to explicitly sort windows by their
6419 positions; don't make assumptions about next-window order.
6420 (follow-windows-start-end, follow-delete-other-windows-and-split)
6421 (follow-calc-win-start): Doc fix.
6422 (follow-windows-aligned-p, follow-select-if-visible): Don't call
6423 vertical-motion unnecessarily.
6424 (follow-adjust-window): New function.
6425 (follow-post-command-hook): Use it.
6426 (follow-call-set-process-filter, follow-call-process-filter)
6427 (follow-intercept-process-output, follow-tidy-process-filter-alist)
6428 (follow-stop-intercept-process-output, follow-generic-filter):
6429 Functions deleted.
6430 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
6431 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6432 New functions, replacing advice on scroll-bar-* commands.
87233a14 6433 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
6434
6435 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
6436 (comint-postoutput-scroll-to-bottom): Use it.
6437 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 6438
290af740
GM
64392012-05-01 Glenn Morris <rgm@gnu.org>
6440
6441 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6442 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6443 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6444 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6445 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6446 Remove no-byte-compile setting.
6447
6eac8dc9
SM
64482012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
6449
6450 * minibuffer.el (completion-table-with-quoting): Fix compatibility
6451 all-completions code to not return a number in the last cdr.
6452
9cc7819c
LL
64532012-04-30 Leo Liu <sdl.web@gmail.com>
6454
6455 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6456 read-only error.
6457
c93b886f
CY
64582012-04-29 Chong Yidong <cyd@gnu.org>
6459
6460 * follow.el (follow-calc-win-end): Rewrite to handle partial
6461 screen lines correctly (Bug#8390).
6462 (follow-avoid-tail-recenter): Minor cleanup.
6463
8b6c19f4
SM
64642012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6465
6466 Avoid the obsolete `assoc' package.
6467 * speedbar.el (speedbar-refresh): Avoid adelete.
6468 (speedbar-file-lists): Simplify and avoid aput.
6469 * man.el (Man--sections, Man--refpages): New vars, replacing
6470 Man-sections-alist and Man-refpages-alist.
6471 (Man-build-section-alist, Man-build-references-alist):
6472 Use them; avoid aput.
6473 (Man--last-section, Man--last-refpage): New vars.
6474 (Man-follow-manual-reference): Use them.
6475 Use the `default' arg of completing-read.
6476 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
6477
c5bb7569
CY
64782012-04-27 Chong Yidong <cyd@gnu.org>
6479
d1d2e2e8
CY
6480 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6481
15cd8efd
CY
6482 * startup.el (x-apply-session-resources): New function.
6483
6484 * term/ns-win.el (ns-initialize-window-system):
6485 * term/w32-win.el (w32-initialize-window-system):
6486 * term/x-win.el (x-initialize-window-system): Use it to properly
6487 set menu-bar-mode and other vars from X resources, even if the
6488 initial frame is not a window-system frame (Bug#2299).
6489
c5bb7569
CY
6490 * subr.el (read-key): Avoid running filter function when setting
6491 up temporary tool bar entries (Bug#9922).
6492
a8e7d6d7 64932012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
6494
6495 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6496 (Bug#11344)
6497
a8e7d6d7 64982012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
6499
6500 * select.el (xselect--encode-string): New function, split from
6501 xselect-convert-to-string.
6502 (xselect-convert-to-string): Use it.
6503 (xselect-convert-to-filename, xselect-convert-to-os)
6504 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6505 returned strings are properly encoded (Bug#11315).
6506
a8e7d6d7 65072012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
6508
6509 * simple.el (delete-active-region): Move to killing custom group.
6510
a8e7d6d7 65112012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
6512
6513 * progmodes/which-func.el (which-func-current): Quote %
6514 characters for mode-line processing.
6515
578c1d4b 65162012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
6517
6518 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6519 reaching eob (Bug#11286).
6520
a8e7d6d7 65212012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
6522
6523 * progmodes/gdb-mi.el (gdb-control-level): New variable.
6524 (gdb): Make it buffer-local and init to zero.
6525 (gdb-control-commands-regexp): New variable.
6526 (gdb-send): Don't wrap in "-interpreter-exec console" if
6527 gdb-control-level is positive. Increment gdb-control-level
6528 whenever the command matches gdb-control-commands-regexp, and
6529 decrement it each time the command is "end". (Bug#11279)
6530
a8e7d6d7 65312012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
6532
6533 * window.el (adjust-window-trailing-edge, enlarge-window)
6534 (shrink-window, window-resize):
6535 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6536 windows (Bug#11276).
6537
b3608390
CY
65382012-04-27 Chong Yidong <cyd@gnu.org>
6539
6540 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 6541 fix "missing prefix" warning. All callers changed.
b3608390 6542
797e6e88
SM
65432012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6544
6545 * emacs-lisp/assoc.el: Move to obsolete/.
6546
e95a67dc
SM
65472012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6548
657c21e4 6549 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
6550
6551 * term/ns-win.el (ns-define-service):
6552 * progmodes/pascal.el (pascal-goto-defun):
6553 * progmodes/js.el (js--read-tab):
6554 * progmodes/etags.el (tags-lazy-completion-table):
6555 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6556 * emacs-lisp/ewoc.el (ewoc--wrap):
6557 * emacs-lisp/assoc.el (aput, adelete, amake):
6558 * doc-view.el (doc-view-convert-current-doc):
6559 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6560
cb3e7ae0
CY
65612012-04-26 Chong Yidong <cyd@gnu.org>
6562
dce04f7f
CY
6563 * image.el (image-type-from-buffer): Only return supported image
6564 type (Bug#9045).
6565
cb3e7ae0
CY
6566 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6567 value, for symmetry with diff-end-of-hunk.
6568 (diff-split-hunk, diff-find-source-location)
6569 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6570 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6571 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6572 compute the relevant hunk or file properly (Bug#6005).
6573 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6574
0d42eb3e
SM
65752012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6576
6577 * vc/vc-mtn.el:
6578 * vc/vc-hg.el:
6579 * vc/vc-git.el:
6580 * vc/vc-dir.el:
6581 * vc/vc-cvs.el:
6582 * vc/vc-bzr.el:
6583 * vc/vc-arch.el:
6584 * vc/vc.el: Replace lexical-let by lexical-binding.
6585 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6586 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6587 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6588
f08ae1c9
CY
65892012-04-26 Chong Yidong <cyd@gnu.org>
6590
8b71081d
CY
6591 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6592 (diff-mode-shared-map): Bind it to / and [remap undo].
6593
f08ae1c9
CY
6594 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6595 (ediff-window-setup-function): Use it as the default, to set up
6596 windows based on whether the current frame is graphical (Bug#2138).
6597 (ediff-choose-window-setup-function-automatically): Make obsolete.
6598
6599 * vc/ediff-init.el: Always define ediff-pixel-width/height.
6600
ef24141c
SM
66012012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6602
cc356a5d
SM
6603 * ffap.el: Remove old code for obsolete package.
6604 (ffap-complete-as-file-p): Remove.
6605
b4ff4f1f
SM
6606 Use completion-table-with-quoting for comint and pcomplete.
6607 * comint.el (comint--unquote&requote-argument)
6608 (comint--unquote-argument, comint--requote-argument): New functions.
6609 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6610 (comint-quote-filename): Use regexp-opt-charset.
6611 (comint--common-suffix, comint--common-quoted-suffix)
6612 (comint--table-subvert): Remove.
6613 (comint-unquote-function, comint-requote-function): New vars.
6614 (comint--complete-file-name-data): Use them with
6615 completion-table-with-quoting.
6616 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6617 * pcomplete.el (pcomplete-arg-quote-list)
6618 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6619 (pcomplete-unquote-argument-function): Default to non-nil.
6620 (pcomplete-unquote-argument): Simplify.
6621 (pcomplete--common-quoted-suffix): Remove.
6622 (pcomplete-requote-argument-function): New var.
6623 (pcomplete--common-suffix): New function.
6624 (pcomplete-completions-at-point): Use completion-table-with-quoting
6625 and completion-table-subvert.
6626
79c4eeb4
SM
6627 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6628 (minibuffer--double-dollars): Preserve properties.
6629 (completion--sifn-requote): New function.
6630 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6631
ef24141c
SM
6632 * minibuffer.el: Add support for completion of quoted/escaped data.
6633 (completion-table-with-quoting, completion-table-subvert): New funs.
6634 (completion--twq-try, completion--twq-all): New functions.
6635 (completion--nth-completion): New function.
6636 (completion-try-completion, completion-all-completions): Use it.
6637
784e7d6e
LL
66382012-04-25 Leo Liu <sdl.web@gmail.com>
6639
dd2ac746
SM
6640 * progmodes/python.el (python-pdbtrack-get-source-buffer):
6641 Use compilation-message if available to find real filename.
784e7d6e 6642
07875ee7
CY
66432012-04-25 Chong Yidong <cyd@gnu.org>
6644
6645 * vc/diff-mode.el (diff-setup-whitespace): New function.
6646 (diff-mode): Use it.
6647
6648 * vc/diff.el (diff-sentinel):
6649 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6650 Whitespace mode variables based on diff style (Bug#8612).
6651
5055880d
LL
66522012-04-25 Leo Liu <sdl.web@gmail.com>
6653
daf75653
LL
6654 * progmodes/python.el (python-send-region): Add suffix .py to the
6655 temp file.
6656
5055880d
LL
6657 * files.el (auto-mode-alist): Use javascript-mode instead.
6658
db9b177b
AH
66592012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
6660
ef24141c 6661 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 6662
090bd7cb 6663 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 6664 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 6665 references, see Bug#9.
ef24141c 6666 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 6667 when receiving a fault reply.
ef24141c 6668 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 6669
090bd7cb 6670 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 6671 (soap-inspect-simple-type): New function.
db9b177b 6672
090bd7cb 6673 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 6674 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
6675 (soap-decode-basic-type, soap-encode-basic-type):
6676 support unsignedInt and double basic types.
db9b177b 6677 (soap-resolve-references-for-simple-type)
ef24141c
SM
6678 (soap-parse-simple-type, soap-encode-simple-type): New function.
6679 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 6680
090bd7cb 6681 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
6682 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6683 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6684 the local name of "soapenc:Array".
6685 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
6686 decoding integer, byte and anyURI xsd types.
6687
1fc6097b
CY
66882012-04-25 Chong Yidong <cyd@gnu.org>
6689
6690 * cus-edit.el (custom-buffer-create-internal): Update header text.
6691
afc6df87
EZ
66922012-04-25 Eli Zaretskii <eliz@gnu.org>
6693
6694 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6695 settings on 'system-type', not on 'window-system'. On MS-Windows,
6696 set interactive-mode on in GDB.
6697
dfbd787f
SM
66982012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6701 (ruby-syntax-propertize-regexp): Remove.
6702 (ruby-syntax-propertize-function): Split regexp into chunks.
6703 Match following code directly.
6704
85222d44
DG
67052012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6706
51a8ea2a
DG
6707 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6708 (ruby-syntax-propertize-regexp): New function.
6709 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6710 by a special keyword.
6711
85222d44
DG
6712 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6713 (ruby-syntax-general-delimiters-goto-beg)
6714 (ruby-syntax-propertize-general-delimiters): New functions.
6715 (ruby-syntax-propertize-function): Use them to handle GDL.
6716 (ruby-font-lock-keywords): Move old handling of GDL...
6717 (ruby-font-lock-syntactic-keywords): .. to here.
6718 (ruby-calculate-indent): Adjust indentation for GDL.
6719
b613912b
MA
67202012-04-24 Michael Albinus <michael.albinus@gmx.de>
6721
b5380639
MA
6722 * notifications.el (top): Remove unneeded declarations.
6723 (notifications-specification-version): Change to "1.2".
e43042fe 6724 (notifications-interface, notifications-notify-method)
b613912b
MA
6725 (notifications-close-notification-method): Fix docstring.
6726 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
6727 (notifications-notify): Add :action-items, :resident and
6728 :transient hints. Change "image_data" to "image-data" and
6729 "image_path" to "image-path".
b613912b
MA
6730 (notifications-get-capabilities): New defun.
6731
257440aa
LL
67322012-04-24 Leo Liu <sdl.web@gmail.com>
6733
6734 * progmodes/python.el: Move hideshow setup to the end.
6735
b1bac16e
MR
67362012-04-24 Martin Rudalics <rudalics@gmx.at>
6737
6738 * window.el (handle-select-window): Clear echo area since this is
6739 no more done by read_char (Bug#11304).
6740
d81bd059
SM
67412012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6742
6743 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6744 and `/ M' to filter-derived-mode.
6745 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6746 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6747 (ibuffer-mark-by-mode): Use default rather than initial-input.
6748 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6749
c4cf6d91
IA
67502012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6751
6752 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6753 (ibuffer-filter-by-derived-mode): New filter.
6754 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6755
7511ded8
CY
67562012-04-23 Andreas Politz <politza@fh-trier.de>
6757
6758 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6759
775c916b
CY
67602012-04-23 Chong Yidong <cyd@gnu.org>
6761
6762 * cus-edit.el (customize-apropos, customize-apropos-options):
6763 Disable matching of non-option variables (Bug#11176).
6764 (customize-option, customize-option-other-window)
6765 (customize-changed-options): Doc fix.
6766 (customize-apropos-options, customize-apropos-faces)
6767 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6768
6769 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 6770 Fix word list splitting (Bug#11132).
46c71e23
CY
6771 (apropos-symbol, apropos-keybinding, apropos-label)
6772 (apropos-property, apropos-function-button)
6773 (apropos-variable-button, apropos-misc-button): New faces.
6774 (apropos-symbol-face, apropos-keybinding-face)
6775 (apropos-label-face, apropos-property-face, apropos-match-face):
6776 Variables removed (Bug#8396).
6777 (apropos-library-button, apropos-format-plist, apropos-print)
6778 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 6779
2df41f9c
MA
67802012-04-23 Michael Albinus <michael.albinus@gmx.de>
6781
6782 * net/xesam.el (xesam-mode-map): Use let-bound map in
6783 initialization. (Bug#11292)
6784
da00640a
AM
67852012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6786
6787 Preserve ispell session localwords when switching back to
6788 original buffer.
6789
090bd7cb
JB
6790 * textmodes/ispell.el (ispell-buffer-session-localwords):
6791 New buffer-local variable to hold buffer session localwords.
ed9265fc 6792 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
6793 localwords.
6794 (ispell-command-loop, ispell-change-dictionary)
6795 (ispell-buffer-local-words): Preserve session localwords when
6796 needed.
6797
090bd7cb
JB
6798 * textmodes/flyspell.el (flyspell-process-localwords)
6799 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 6800
f621ccf5
AM
68012012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6802
090bd7cb
JB
6803 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6804 using obsolete `translation-table-for-input'.
ef24141c
SM
6805 (ispell-word, ispell-process-line, ispell-complete-word):
6806 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 6807
c2d1019e
CY
68082012-04-22 Chong Yidong <cyd@gnu.org>
6809
6810 * cus-edit.el (custom-variable-menu)
6811 (custom-variable-reset-saved, custom-face-menu)
6812 (custom-face-reset-saved): If there is no saved value, make the
6813 "reset-saved" operation bring back the default (Bug#9509).
6814 (custom-face-state): Properly detect themed faces.
6815
eeddc531
CY
6816 * faces.el (face-spec-set): Stop supporting deprecated form of
6817 third arg.
6818
dcbf5805
MA
68192012-04-22 Michael Albinus <michael.albinus@gmx.de>
6820
6821 Move functions from C to Lisp. Make non-blocking method calls
6822 the default. Implement further D-Bus standard interfaces.
6823
ef24141c
SM
6824 * net/dbus.el (dbus-message-internal): Declare function.
6825 Remove unneeded function declarations.
dcbf5805
MA
6826 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6827 (dbus-message-type-method-return, dbus-message-type-error)
6828 (dbus-message-type-signal): Declare variables. Remove local
6829 definitions.
6830 (dbus-interface-dbus, dbus-interface-peer)
6831 (dbus-interface-introspectable, dbus-interface-properties)
6832 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6833 Adapt docstring.
6834 (dbus-interface-objectmanager): New defconst.
6835 (dbus-call-method, dbus-call-method-asynchronously)
6836 (dbus-send-signal, dbus-method-return-internal)
6837 (dbus-method-error-internal, dbus-register-service)
6838 (dbus-register-signal, dbus-register-method): New defuns, moved
6839 from dbusbind.c
6840 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
6841 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6842 New defuns.
dcbf5805
MA
6843 (dbus-call-method-non-blocking): Make it an obsolete function.
6844 (dbus-unregister-object, dbus-unregister-service)
6845 (dbus-handle-event, dbus-register-property)
6846 (dbus-property-handler): Obey the new structure of
6847 `bus-registered-objects'.
6848 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6849 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6850 Use `dbus-call-method'.
6851
cf20dee0
CY
68522012-04-22 Chong Yidong <cyd@gnu.org>
6853
6854 * cus-edit.el (custom-commands, custom-reset-menu)
6855 (Custom-reset-standard): Tweak labels.
6856 (custom-reset-button-menu): Change default to t.
6857 (custom-buffer-create-internal): For the custom-reset-button-menu
6858 case, put the revert button first.
6859 (custom-group-subtitle): New face.
6860 (custom-group-value-create): Align docstring to a specific column.
6861
6862 * wid-edit.el (widget-documentation-link-add): Don't handle
6863 indentation in this function.
6864 (widget-documentation-string-indent-to): New function.
6865 (widget-documentation-string-value-create): Use it.
6866
6867 * autorevert.el (auto-revert):
6868 * epg-config.el (epg):
6869 * ibuffer.el (ibuffer):
6870 * mpc.el (mpc):
6871 * ses.el (ses):
6872 * eshell/eshell.el (eshell):
6873 * net/ange-ftp.el (ange-ftp):
6874 * progmodes/ebnf2ps.el (postscript):
6875 * progmodes/flymake.el (flymake):
6876 * progmodes/prolog.el (prolog):
6877 * progmodes/verilog-mode.el (verilog-mode):
6878 * progmodes/which-func.el (which-func):
6879 * term/xterm.el (xterm):
6880 * textmodes/picture.el (picture):
6881 * textmodes/tildify.el (tildify):
6882 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6883 customization buffers.
6884
583e23bd
AM
68852012-04-22 Alan Mackenzie <acm@muc.de>
6886
6887 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6888 Adding a ) can hide the resulting (..) from searches. Fix it.
6889 Bound the backward search to the position of the existing (.
6890
7dd51bf1
JB
68912012-04-21 Juanma Barranquero <lekktu@gmail.com>
6892
6893 * progmodes/verilog-mode.el (verilog-mode): Check whether
6894 which-func-modes is t before adding verilog-mode.
6895 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6896
d64a438f
LL
68972012-04-21 Leo Liu <sdl.web@gmail.com>
6898
7dd51bf1 6899 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 6900
081e8d65
MV
69012012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6902
6903 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6904 filling of the last column of a table (Bug#5635).
6905 (woman-find-next-control-line): New arg, specifying an additional
6906 regexp component for the control line.
6907 (woman2-roff-buffer): Use it.
6908 (woman-break-table): New function.
6909 (woman2-TS): Use it.
6910
69112012-04-21 Chong Yidong <cyd@gnu.org>
6912
6913 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6914 (woman-horizontal-escapes, woman-negative-vertical-space)
6915 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6916 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6917
ed571ccb
SM
69182012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6919
6920 * minibuffer.el (completion-file-name-table): Complete user names.
6921
39773899
LL
69222012-04-20 Leo Liu <sdl.web@gmail.com>
6923
6924 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6925 and pcase-let*.
6926
de6ff46d
CY
69272012-04-20 Chong Yidong <cyd@gnu.org>
6928
6929 * server.el (server-execute): Respect initial-buffer-choice if it
6930 is a string and there are no files to open (Bug#2825).
6931 (server-create-window-system-frame, server-create-tty-frame):
6932 Don't switch buffers here.
2d0e8e61
CY
6933 (server-process-filter): Only try to open a window system frame if
6934 compiled with graphical support (Bug#8314).
de6ff46d 6935
54071013
DN
69362012-04-20 Dan Nicolaescu <dann@gnu.org>
6937
6938 * battery.el (battery-echo-area-format): Display remaining time
6939 for sysfs backend too (Bug#11269).
6940 (battery-linux-sysfs): Fix conditional for the charge.
6941
f30d612a
CY
69422012-04-20 Chong Yidong <cyd@gnu.org>
6943
c07a4c0b 6944 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
6945 (gdb-inferior-io--init-proc): New function.
6946 (gdb-init-1): Use it.
6947 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6948 responsible for allocating a new pty and hooking it to gdb when
6949 the old pty gets an EIO due to process exit.
6950 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6951 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6952 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6953
2116e93c
EZ
69542012-04-20 Eli Zaretskii <eliz@gnu.org>
6955
6956 * window.el (window-min-size, window-sizable, window-min-delta)
6957 (window-max-delta, window--resizable, window-resizable)
6958 (window-total-size, window-full-height-p, window-full-width-p)
6959 (window-in-direction, window--resize-mini-window, window-resize)
6960 (window--resize-child-windows-normal)
6961 (window--resize-child-windows, window--resize-siblings)
6962 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 6963 (enlarge-window, shrink-window): Doc fixes.
2116e93c 6964
c07a4c0b 69652012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 6966
ef24141c
SM
6967 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6968 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
6969 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6970 pty process (Bug#11273).
6971 (gdb-update): New arg to suppress talking to the gdb process.
6972 (gdb-done-or-error): Use it.
6973 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6974 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6975 sentinel not being called.
6976
6977 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6978
d02766ab
CY
6979 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6980
c07a4c0b 69812012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
6982
6983 * net/network-stream.el (open-network-stream): Doc fix.
6984
c07a4c0b 69852012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
6986
6987 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6988
c07a4c0b 69892012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
6990
6991 Ensure searching for keywords is case sensitive.
6992
6993 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6994 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6995 (c-defun-name, c-mark-function, c-cpp-define-name)
6996 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 6997 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 6998
ef24141c
SM
6999 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7000 Bind case-fold-search to nil.
f0f6bc35 7001
c07a4c0b 70022012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7003
7004 * mail/sendmail.el (mail-bury): Call return action with the right
7005 Rmail buffer (Bug#11242).
7006
9a864fa2
CY
7007 * server.el (server-process-filter): Handle corner case where both
7008 tty and nowait options are present (Bug#11102).
7009
539aa513
EZ
70102012-04-20 Eli Zaretskii <eliz@gnu.org>
7011
7012 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7013 (top level): Put into the executable the ident-style '$Id:' tag on
7014 windows-nt as well.
539aa513 7015
cfc7d5da
SM
70162012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 * electric.el (electric-indent-post-self-insert-function): Check that
7019 electric-indent-mode is enabled in current buffer.
7020
5b01685c
JB
70212012-04-19 Juanma Barranquero <lekktu@gmail.com>
7022
7023 * imenu.el (imenu-progress-message): Restore; it is "used" in
7024 erc/erc-imenu.el and net/snmp-mode.el.
7025
4d6769e1
JB
70262012-04-19 Juanma Barranquero <lekktu@gmail.com>
7027
7028 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7029 (mouse-avoidance-nudge-mouse): Remove unused binding.
7030
7031 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7032
7033 * descr-text.el (describe-char):
7034 * progmodes/python.el (python-describe-symbol):
7035 Don't call `toggle-read-only', set `buffer-read-only'.
7036
7037 * imenu.el (imenu-default-goto-function): Mark unused args.
7038 (imenu-progress-message): Remove obsolete macro; all callers changed.
7039
7040 * subr.el (keymap-canonicalize): Remove unused binding.
7041 (read-passwd): Mark unused arg.
7042
7043 * tutorial.el (tutorial--display-changes): Remove unused binding.
7044 (tutorial--save-tutorial-to): Remove unused variable.
7045
7046 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7047 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7048 (package-generate-autoloads, package-menu--generate)
7049 (package-menu--find-upgrades): Remove unused bindings.
7050
7051 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7052 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7053 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7054 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7055 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7056 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7057 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7058 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7059 (cua-delete-char-rectangle): Mark unused args.
7060 (cua-align-rectangle): Remove unused binding.
7061
7062 * mail/rmail.el (compilation--message->loc)
7063 (epa--find-coding-system-for-mime-charset): Declare.
7064
7065 * net/dbus.el (dbus-register-service): Declare.
7066 (dbus-name-owner-changed-handler): Remove unused binding.
7067
7068 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7069 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7070 (nxml-scan-backward-within): Mark unused arg.
7071 (nxml-dynamic-markup-word): Remove unused binding.
7072
7073 * mouse.el (mouse-menu-major-mode-map):
7074 * emacs-lisp/authors.el (authors-scan-change-log)
7075 (authors-add-to-author-list):
7076 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7077 * emacs-lisp/smie.el (smie-auto-fill):
7078 * mail/sendmail.el (mail-bury):
7079 * mail/unrmail.el (unrmail):
7080 * net/tls.el (open-tls-stream):
7081 * textmodes/picture.el (picture-mouse-set-point):
7082 Remove unused bindings.
7083
8c8fc5df
MA
70842012-04-19 Michael Albinus <michael.albinus@gmx.de>
7085
7086 * net/tramp.el (tramp-action-password): Let-bind
7087 `enable-recursive-minibuffers' to t.
7088
a77b0ac9
SS
70892012-04-18 Sam Steingold <sds@gnu.org>
7090
7091 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7092 instead of 'string to accommodate values like [f11].
7093 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7094 * progmodes/gdb-mi.el: Likewise.
7095
12a106a9
LL
70962012-04-18 Leo Liu <sdl.web@gmail.com>
7097
7098 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7099 current buffer.
7100 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7101 LOCAL is nil.
7102
bc6494ef
CY
71032012-04-18 Chong Yidong <cyd@gnu.org>
7104
7105 * simple.el (line-move): Use forward-line if in batch mode
7106 (Bug#11053).
7107
c09c46b2
CS
71082012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7109
7110 * files.el (after-find-file): Do not try to add a final newline if
7111 the buffer is read-only (Bug#11156).
7112
5f6530ea
RS
71132012-04-17 Richard Stallman <rms@gnu.org>
7114
7115 * mail/rmail.el (rmail-start-mail):
7116 Pass (rmail-mail-return...) for the return-action.
7117 Pass (rmail-yank-current-message...) for the yank-action.
7118 (rmail-yank-current-message): New function.
7119 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7120 (rmail-reply): Likewise.
7121 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7122
7123 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7124 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7125 buffer, not newbuf.
7126
197b6f3c
JB
71272012-04-17 Juanma Barranquero <lekktu@gmail.com>
7128
7129 * server.el (server-ensure-safe-dir): Simplify.
7130
2311d8e5 71312012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7132
2311d8e5
GM
7133 * emacs-lisp/smie.el: Provide smarter auto-filling.
7134 (smie-auto-fill): New function.
7135 (smie-setup): Use it.
98fb480e 7136
2311d8e5
GM
7137 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7138
71392012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7140
7141 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7142 (comment-indent): Use it.
7143
2311d8e5 71442012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7145
7146 * ses.el: The overall change is to add cell renaming, that is
7147 setting fancy names for cell symbols other than name matching
7148 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7149 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7150 (ses-create-cell-variable): New defun.
2311d8e5 7151 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7152 (ses-relocate-formula): Relocate formulas only for cells the
7153 symbols of which are not renamed, i.e. symbols whose names do not
7154 match regexp "\\`[A-Z]+[0-9]+\\'".
7155 (ses-relocate-all): Relocate values only for cells the symbols of
7156 which are not renamed.
7157 (ses-load): Create cells variables as the (ses-cell ...) are read,
7158 in order to check row col consistency with cell symbol name only
7159 for cells that are not renamed.
7160 (ses-replace-name-in-formula): New defun.
7161 (ses-rename-cell): New defun.
4bdf2ad2 7162
fc72b15c
PO
71632012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7164
7165 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7166 New option (bug#11118).
7167 (perl-calculate-indent): Respect it.
7168
12e10e61
GM
71692012-04-17 Glenn Morris <rgm@gnu.org>
7170
7171 * dired-aux.el (dired-mark-read-string): Doc fix.
7172
30009afd
DA
71732012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7174
7175 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7176 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7177
41f03f4d
GM
71782012-04-17 Glenn Morris <rgm@gnu.org>
7179
7180 * mouse.el (mouse-drag-track):
7181 * speedbar.el (speedbar-frame-mode):
7182 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7183
f45f90f3
LL
71842012-04-16 Leo Liu <sdl.web@gmail.com>
7185
7186 * progmodes/python.el: Trivial cleanup.
7187
94ee8db5
GM
71882012-04-16 Glenn Morris <rgm@gnu.org>
7189
121b8917
GM
7190 * vc/vc.el (vc-string-prefix-p):
7191 * vc/pcvs-util.el (cvs-string-prefix-p):
7192 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7193 * mpc.el (mpc-string-prefix-p):
7194 Make all of these into obsolete aliases for string-prefix-p.
7195 Update callers.
7196 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7197
1197ecfa
GM
7198 * textmodes/two-column.el: Move custom options to the start.
7199 (frame-width): Remove compat definition.
7200 (2C-associate-buffer, 2C-dissociate):
7201 Use with-current-buffer rather than save-excursion.
7202 (2C-dissociate): Force a mode-line update.
7203 (2C-autoscroll): Use ignore-errors.
7204
099e7202
GM
7205 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7206 Autoload trivia.
7207
bf350d6a
GM
7208 * emacs-lisp/cl-extra.el (*random-state*):
7209 Remove unnecessary declaration.
7210
0e829eab
GM
7211 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7212
e3ad7552
GM
7213 * play/cookie1.el (cookie-snarf):
7214 Give an explicit error if input file cannot be read.
7215
68892d27
GM
7216 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7217
20f0c46d
GM
7218 * progmodes/perl-mode.el (c-macro-expand):
7219 Remove unnecessary autoload (it is in loaddefs.el).
7220
5a0978ce
GM
7221 * textmodes/picture.el (picture-desired-column)
7222 (picture-update-desired-column): Convert comments to doc-strings.
7223 (picture-substitute): Remove function.
7224 (picture-mode-map): Initialize in the defvar.
7225
6b955486
GM
7226 * woman.el: Remove eval-after-load for tar-mode.
7227 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7228 (woman-tar-extract-file): Autoload it.
7229
94ee8db5
GM
7230 * frame.el (automatic-hscrolling): Make this alias obsolete.
7231
177eca34
AM
72322012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7233
090bd7cb 7234 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 7235 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
7236 (ispell-dictionary-base-alist): Revert to original XEmacs
7237 friendly version for default. [:alpha:] will be added in
090bd7cb 7238 `ispell-set-spellchecker-params' if needed.
177eca34 7239
c505aaeb
CY
72402012-04-16 Chong Yidong <cyd@gnu.org>
7241
b19dd9d1 7242 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
7243 (imagemagick-register-types): Use it.
7244 (imagemagick-types-inhibit): Add :set function. Allow new value
7245 of t to inhibit all types.
7246
7247 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7248 so we can preload it.
7249
7250 * loadup.el (fboundp): Preload regexp-opt, needed by
7251 imagemagick-register-types.
7252
60efac0f
CY
72532012-04-15 Chong Yidong <cyd@gnu.org>
7254
7255 * frame.el (scrolling): Remove nearly unused customization group.
7256
7257 * scroll-all.el (scroll-all-mode): Move to windows group.
7258
5dd1713e
CY
72592012-04-15 Chong Yidong <cyd@gnu.org>
7260
7261 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7262
e6fd457e
CY
72632012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7264
7265 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 7266 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 7267
e153c136
GM
72682012-04-15 Glenn Morris <rgm@gnu.org>
7269
7270 * simple.el (process-file-side-effects): Doc fix.
7271
e6fd457e 72722012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
7273
7274 * international/mule-cmds.el (set-language-environment): Doc fix.
7275
3603c3b1
JB
72762012-04-14 Juanma Barranquero <lekktu@gmail.com>
7277
7278 * server.el (server-auth-key, server-generate-key): Doc fixes.
7279 (server-get-auth-key): Doc fix. Use `string-match-p'.
7280 (server-start): Reflow docstring.
7281
e6de100c
LI
72822012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7283
7284 * server.el (server-generate-key): `called-interactively-p'
7285 requires a parameter.
7286
29734c21
MN
72872012-04-14 Michal Nazarewicz <mina86@mina86.com>
7288
7289 * server.el (server-auth-key): New variable.
75f1671a 7290 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
7291 (server-start): Use the new variable and functions to allow
7292 setting a permanent server key (bug#9423).
7293
d65c9521
LL
72942012-04-14 Leo Liu <sdl.web@gmail.com>
7295
7296 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7297
5ae255c7
PE
72982012-04-14 Paul Eggert <eggert@cs.ucla.edu>
7299
7300 Spelling fixes.
7301 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7302 Emacs uses American spelling.
7303
d5e6342e
JB
73042012-04-14 Juanma Barranquero <lekktu@gmail.com>
7305
7306 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7307 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
7308 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7309 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
7310
ab036cd7
SM
73112012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7312
7313 * progmodes/which-func.el (which-func-modes): Change default.
7314
35dc09a1 73152012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
7316
7317 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7318 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7319
35dc09a1 73202012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
7321
7322 * custom.el (custom-theme-set-variables): Doc fix.
7323
35dc09a1 73242012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
7325
7326 * international/mule.el (set-auto-coding-for-load): Doc fix.
7327
35dc09a1 73282012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 7329
35dc09a1
GM
7330 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7331 imenu work again for Objective C Mode. Correct the *-index values,
7332 these having been disturbed by a previous change in 2011-08.
57f845ee 7333
0de3da9f
AM
7334 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7335 Correct two search limits.
7336
35dc09a1 73372012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
7338
7339 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7340
35dc09a1 73412012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
7342
7343 * international/characters.el: Fix sorting.
7344
35dc09a1 73452012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
7346
7347 * international/characters.el: Add more missing Latin case pairs.
7348
35dc09a1 73492012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
7350
7351 * files.el (dir-locals-set-class-variables): Doc fix.
7352
35dc09a1 73532012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 7354
3f1b5bf8
EZ
7355 * international/characters.el: Add set-case-syntax-pair call for
7356 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7357 counterpart. (Bug#11209)
7358
9f847f41
EZ
7359 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
7360
35dc09a1 73612012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
7362
7363 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7364
35dc09a1 73652012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 7366
35dc09a1
GM
7367 * textmodes/ispell.el (ispell-dictionary-base-alist):
7368 Add data for Hebrew.
e2627d21 7369
35dc09a1 73702012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 7371
35dc09a1
GM
7372 * net/rcirc.el (rcirc-cmd-quit):
7373 Revert 2012-03-18 change (Bug#11192).
5c14e333 7374
35dc09a1 73752012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
7376
7377 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7378
35dc09a1 73792012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 7380
4517fe3a
SM
7381 * minibuffer.el (completion-in-region-mode-map):
7382 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 7383
b472a594
VD
73842012-04-13 Vivek Dasmohapatra <vivek@etla.org>
7385
7386 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7387
09b95ce3
MY
73882012-04-13 Masatake YAMATO <yamato@redhat.com>
7389
7390 * minibuffer.el (minibuffer-local-filename-syntax): New variable
7391 to allow `C-M-f' and `C-M-b' to move to the nearest path
7392 separator (bug#9511).
7393
4b63a9ca
LI
73942012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
7395
7396 * avoid.el: Require cl when compiling. And also move the
7397 `provide' to the end.
7398
7b55b8bf
TV
73992012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7400
7401 * avoid.el (mouse-avoidance-banish-position): New variable.
7402 (mouse-avoidance-banish-destination): Use it (bug#10165).
7403
adedaa1f
LL
74042012-04-13 Leo Liu <sdl.web@gmail.com>
7405
7406 * progmodes/which-func.el (which-func-modes): Add objc-mode.
7407
70e74021
KB
74082012-04-13 Ken Brown <kbrown@cornell.edu>
7409
7410 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 7411 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
7412 (browse-url-filename-alist): For the same reason, don't modify
7413 file:// URLs on Cygwin.
7414
e75e89ba
SM
74152012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
7416
7417 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7418 the region on shift if the binding is already shifted (bug#11221).
7419
82f289a4
GM
74202012-04-12 Glenn Morris <rgm@gnu.org>
7421
7422 * mail/mailpost.el: Move to obsolete/.
7423
d333dc4c
DA
74242012-04-12 Drew Adams <drew.adams@oracle.com>
7425
7426 * imenu.el (imenu--generic-function): Ignore invisible definitions
7427 (bug#10123).
7428
0d15b5ba
VD
74292012-04-12 Vivek Dasmohapatra <vivek@etla.org>
7430
7431 * hexl.el (hexl-bits): New variable.
7432 (hexl-options): Mention the variable in the doc string.
75f1671a 7433 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 7434 (hexl-mode): Mention the new variable.
75f1671a
JB
7435 (hexl-mode, hexl-current-address, hexl-current-address):
7436 Use the displen.
0d15b5ba
VD
7437 (hexl-ascii-start-column): New function.
7438 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7439 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7440
64a440db
AM
74412012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7442
7443 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7444 '("-i" ENCODING), in 2 separate command-line arguments, to specify
7445 the encoding, as expected by hunspell.
7446
6decb6c2
SM
74472012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
7448
7449 * battery.el (battery--linux-sysfs-regexp): New const.
7450 (battery-status-function): Use it. Remove yeeloong special case.
7451 (battery-yeeloong-sysfs): Remove.
7452 (battery-echo-area-format): Remove yeeloong special case.
7453
088be6fb
SM
74542012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7455
6622e416
SM
7456 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7457 Reported by Noah Friedman.
7458
088be6fb
SM
7459 * subr.el (read-passwd): Use read-string.
7460
b49f886e
LMI
74612012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7462
7463 * vcursor.el (vcursor-move): Increase the priority of the overlay
7464 (bug#9663).
7465
a63067fc
DD
74662012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
7467
7468 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7469 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7470
ac3cf14a
WS
74712012-04-11 William Stevenson <yhvh2000@gmail.com>
7472
7473 * textmodes/artist.el (artist-mode): Convert artist-mode to use
7474 define-minor-mode (bug#10760).
7475
c4fc691b 74762012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 7477
4d6769e1 7478 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
7479 that directories matching `grep-find-ignored-files' won't be
7480 pruned (bug#10351).
7481
af23e2e5
CY
74822012-04-11 Chong Yidong <cyd@gnu.org>
7483
7484 * startup.el (command-line): Remove support for long-obsolete
7485 variable font-lock-face-attributes.
7486
ab7ce8c1
GM
74872012-04-11 Glenn Morris <rgm@gnu.org>
7488
7489 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7490
de8c03dc
SM
74912012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7492
7493 * window.el (window--state-get-1): Obey window-point-insertion-type.
7494
050cc68b
LB
74952012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
7496
7497 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7498 to previous function when point is on the first character of a
75f1671a 7499 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 7500
a38c310c
GM
75012012-04-11 Glenn Morris <rgm@gnu.org>
7502
effed0c2
GM
7503 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7504 not just file-errors.
7505
a38c310c
GM
7506 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7507 (vc-bzr-sha1): Use internal sha1.
7508
0221e323
SM
75092012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
7510
7511 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7512
43956923
SG
75132012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
7514
7515 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7516 that start in the middle of the line (bug#10496).
7517
6a8c9eaf
DN
75182012-04-10 Dan Nicolaescu <dann@gnu.org>
7519
7520 * battery.el (battery-linux-proc-acpi): Only one battery is
7521 discharged at a time, but that seems to confuse battery.el when
7522 computing `rate-type' for the battery not being discharged
7523 (bug#10332).
7524
1930bf5d
SM
75252012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7526
2a718f6f
SM
7527 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7528
599430d0
SM
7529 * international/quail.el: Use dolist and simplify.
7530 (quail-define-package, quail-update-keyboard-layout)
7531 (quail-define-rules): Use dolist.
7532 (quail-insert-kbd-layout, quail-get-translation): CSE.
7533
a2754b6c
SM
7534 * tmm.el: Use dolist, remove left over hook.
7535 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7536 Use dolist.
7537 (calendar-load-hook): Don't mess with it.
7538
1930bf5d
SM
7539 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7540 Use derived-mode-p. Run the diff asynchronously.
7541
9f67961c
LMI
75422012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7543
7544 * obsolete/mouse-sel.el: Add an Obsolete-since header.
7545
2a8ce227
JB
75462012-04-10 Juanma Barranquero <lekktu@gmail.com>
7547
7548 * misc.el: Display absolute path of loaded DLLs (bug#10424).
7549 (list-dynamic-libraries--loaded): New function.
7550 (list-dynamic-libraries--refresh): Use it.
7551
8f33b5f8
NW
75522012-04-10 Nathan Weizenbaum <nweiz@google.com>
7553
1930bf5d
SM
7554 * progmodes/python.el (python-fill-paragraph):
7555 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
7556 disabled (bug#7018).
7557
b12f0439
L
75582012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
7559
1930bf5d 7560 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
7561 DOS/MS Windows for the Baltic languages. There are still plenty
7562 of texts written in this encoding/codepage (bug#6519).
b12f0439 7563
57c3bd01
GM
75642012-04-10 Glenn Morris <rgm@gnu.org>
7565
7566 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7567 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7568
6c3eab30
FA
75692012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
7570
1930bf5d 7571 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
7572 next-line "n" and previous-line "p" in order to make recentf more
7573 consistent with ibuffer, dired or org-mode (bug#9387).
7574
24d78a88
LMI
75752012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7576
bc72b5d9
LMI
7577 * image.el (put-image): Return the overlay created instead of the
7578 optional input string (bug#7834). Note that this may break code
7579 that is (for some reason or other) depending on `put-image'
7580 returning the string.
7581
bd2dba5a
LMI
7582 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7583
74beb59f
LMI
7584 * simple.el (zap-to-char): Allow zapping using input methods
7585 (bug#1580).
7586
24d78a88
LMI
7587 * textmodes/fill.el (fill-region): Leave point and mark where they
7588 were before filling (bug#5399).
7589
263f20cd
GM
75902012-04-09 Glenn Morris <rgm@gnu.org>
7591
7592 * version.el (emacs-bzr-get-version):
7593 Handle lightweight checkouts of local branches.
7594
58d1f797
AS
75952012-04-09 Andreas Schwab <schwab@linux-m68k.org>
7596
263f20cd 7597 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 7598
b4d3bc10
CY
75992012-04-09 Chong Yidong <cyd@gnu.org>
7600
7601 * custom.el (custom-variable-p): Return nil for non-symbol
7602 arguments instead of signaling an error.
7603 (user-variable-p): Obsolete alias for custom-variable-p.
7604
7605 * apropos.el (apropos-variable):
7606 * files-x.el (read-file-local-variable):
7607 * simple.el (set-variable):
7608 * woman.el (woman-mini-help):
7609 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7610
fd06db5d
GM
76112012-04-09 Glenn Morris <rgm@gnu.org>
7612
e5fcdb5e
GM
7613 * startup.el (normal-top-level): Don't look for leim-list.el
7614 in places where it will not be found. (Bug#910)
7615
fd06db5d
GM
7616 * international/mule-cmds.el (set-default-coding-systems):
7617 * files.el (normal-mode):
7618 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
7619 This function was removed with ucs-tables.el in 2008.
7620
b39bb7e1
EZ
76212012-04-08 Eli Zaretskii <eliz@gnu.org>
7622
7623 * textmodes/ispell.el (ispell-check-version): For hunspell, set
7624 ispell-encoding8-command to "-i", without a trailing space.
7625 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7626 separate command-line arguments, to specify the encoding, since
7627 that's how hunspell expects it.
7628
5c5b8e23
GM
76292012-04-08 Glenn Morris <rgm@gnu.org>
7630
7631 * loadup.el: Load bindings before cus-start.
7632 This reduces somewhat the number of "rogue" settings in emacs -Q.
7633
a1ed8b05
GM
76342012-04-07 Glenn Morris <rgm@gnu.org>
7635
7636 * version.el (emacs-bzr-get-version): New function.
dfae128a 7637 (emacs-bzr-version): New variable.
a1ed8b05
GM
7638 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
7639 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7640
b142f158
EZ
76412012-04-07 Eli Zaretskii <eliz@gnu.org>
7642
dfae128a
GM
7643 * international/uni-bidi.el, international/uni-category.el:
7644 * international/uni-combining.el, international/uni-decimal.el:
7645 * international/uni-decomposition.el, international/uni-digit.el:
7646 * international/uni-lowercase.el, international/uni-mirrored.el:
7647 * international/uni-name.el, international/uni-numeric.el:
7648 * international/uni-titlecase.el, international/uni-uppercase.el:
7649 Update for Unicode 6.1.
b142f158 7650
9078ead6
EZ
76512012-04-07 Eli Zaretskii <eliz@gnu.org>
7652
7653 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7654
f23d2c7d
LMI
76552012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7656
7657 * window.el (shrink-window): Mention the `window-min-height'
7658 variable in the doc string.
7659
0a0a3573
BG
76602012-04-05 Bastien Guerry <bzg@altern.org>
7661
7662 * color.el (color-lighten-name): Fix typo.
7663
e5248ac9
SM
76642012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7665
7666 * server.el (server--on-display-p): New function.
7667 (server--on-display-p): Use it.
7668
b4243e22
GV
76692012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
7670
7671 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7672 (bug#11145).
7673
305d9f44
SM
76742012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7675
7676 * comint.el (comint--common-quoted-suffix): Check string boundary
7677 before comparing (bug#11158).
7678 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7679
3d439cd1
CY
76802012-04-04 Chong Yidong <cyd@gnu.org>
7681
321cc491
CY
7682 * minibuffer.el (completion-extra-properties): Doc fix.
7683
3d439cd1
CY
7684 * subr.el (delayed-warnings-hook): Doc fix.
7685
2d562c0f
DU
76862012-04-04 Daiki Ueno <ueno@unixuser.org>
7687
7688 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7689 selection (Bug#11159).
7690 (epa-insert-keys): Inform that the default public key will be
7691 exported if no key is selected.
7692
4443f204
RS
76932012-04-04 Richard Stallman <rms@gnu.org>
7694
7695 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7696
529c06b6
CY
76972012-04-03 Chong Yidong <cyd@gnu.org>
7698
7699 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7700 mail-insert-file, not its obsolete alias mail-attach-file.
7701
66b907dc
MA
77022012-04-03 Michael Albinus <michael.albinus@gmx.de>
7703
7704 * notifications.el (notifications-notify): Fix docstring.
7705
c0ea195d
GM
77062012-04-02 Glenn Morris <rgm@gnu.org>
7707
7708 * emacs-lisp/authors.el (authors-aliases): Another addition.
7709
5ca64e00
MA
77102012-04-02 Michael Albinus <michael.albinus@gmx.de>
7711
7712 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7713 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7714 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7715
42ee526b
CY
77162012-04-01 Chong Yidong <cyd@gnu.org>
7717
7718 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7719 Handle root directory properly.
7720 (copy-directory): Caller changed.
7721
7722 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7723 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7724
0b021094
GM
77252012-03-31 Glenn Morris <rgm@gnu.org>
7726
40f86458
GM
7727 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7728
7019c177
GM
7729 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7730
a1daddd6
GM
7731 * calendar/calendar.el (calendar-window-list)
7732 (calendar-hide-window): Restore. (Bug#11140)
7733 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7734
0b021094
GM
7735 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7736
40311efc
TV
77372012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7738
7739 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7740 Check if file is a symlink (Bug#10489).
7741
7742 * files.el (copy-directory): Likewise.
7743
5319014e
CY
77442012-03-30 Chong Yidong <cyd@gnu.org>
7745
7746 * image.el (imagemagick-types-inhibit)
7747 (imagemagick-register-types): Doc fix.
7748
935d1290
AM
77492012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7750
090bd7cb 7751 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 7752 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 7753 and treats ~word as ordinary words in pipe mode.
935d1290 7754
61c6e8fd
GM
77552012-03-30 Glenn Morris <rgm@gnu.org>
7756
7757 * tutorial.el (help-with-tutorial): Ensure local variables don't
7758 happen to make the buffer read-only. (Bug#11127)
7759
81fdff00
SM
77602012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7762 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7763 (perl-calculate-indent): Return `noindent' in strings.
7764
6e7a6ec0
SS
77652012-03-28 Sam Steingold <sds@gnu.org>
7766
7767 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7768 instead of the broken adhockery which does not prevent calendar
7769 buffers from being displayed at random after exit.
7770 (calendar-window-list, calendar-hide-window): Remove the broken
7771 adhockery.
7772
fee88ca0
GM
77732012-03-28 Glenn Morris <rgm@gnu.org>
7774
7775 * replace.el (query-replace-map): Doc fix.
7776
38de3354
AS
77772012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7778
7779 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7780 contents. (Bug#11109)
7781
b973155e
SM
77822012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7783
7784 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7785 (bug#11077).
7786 (avl-tree--check, avl-tree--check-node): New funs.
7787
dcb6e7b3
MR
77882012-03-27 Martin Rudalics <rudalics@gmx.at>
7789
7790 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
7791 (switch-to-prev-buffer, switch-to-next-buffer):
7792 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
7793 showing a buffer already is done on the same frame.
7794
b4fa35fa
GM
77952012-03-27 Glenn Morris <rgm@gnu.org>
7796
7797 * startup.el (mail-host-address): Doc fix.
7798
f9210e18
SM
77992012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7800
7801 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7802 than 197 variables.
7803
c0bf7753
AF
78042012-03-26 Ami Fischman <ami@fischman.org>
7805
7806 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7807
33da7b16
GM
78082012-03-26 Glenn Morris <rgm@gnu.org>
7809
02243d9d
GM
7810 * files.el (save-buffers-kill-emacs): Doc fix.
7811
33da7b16
GM
7812 * startup.el (normal-top-level, command-line, command-line-1):
7813 Give them doc strings.
7814
e5a69fd0
EZ
78152012-03-25 Eli Zaretskii <eliz@gnu.org>
7816
7817 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 7818 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 7819
9a69676a
CY
78202012-03-25 Chong Yidong <cyd@gnu.org>
7821
4125cb8b
CY
7822 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7823 theme if it was previously enabled before (Bug#11031).
7824
dd470960
CY
7825 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7826 spec with custom-face-get-current-spec if its :shown-value is not
7827 determined yet (Bug#9337).
4125cb8b 7828 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 7829
9a69676a
CY
7830 * button.el (button-at): Minor addition to docstring.
7831
6e7e90fa
SL
78322012-03-24 Simon Leinen <simon.leinen@gmail.com>
7833
7834 * vc/vc.el (vc-merge): Fix a prompt.
7835
f06e2758
CY
78362012-03-24 Chong Yidong <cyd@gnu.org>
7837
7838 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7839 point (Bug#9623).
7840
6e7e90fa
SL
7841 * button.el (button-at): Minor addition to docstring.
7842
b9d0879b
SM
78432012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * newcomment.el (comment-choose-indent): No space after BOL.
7846
e71cebb3
SS
78472012-03-22 Sam Steingold <sds@gnu.org>
7848
7849 * window.el (switch-to-prev-buffer): Revert last patch because the
7850 bug turned out to be an advertised feature (Elisp manual 28.14).
7851
335aff35
GM
78522012-03-22 Glenn Morris <rgm@gnu.org>
7853
7854 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7855 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7856
c676576a
LMI
78572012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7858
7859 * net/network-stream.el (network-stream-open-starttls): Make error
7860 message under Windows be less misleading.
7861
126f3d39
LW
78622012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7863
7864 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7865 understands (bug#9942).
7866
64fee311
CY
78672012-03-22 Chong Yidong <cyd@gnu.org>
7868
7869 * simple.el (end-of-visible-line): Handle return value of
7870 next-single-property-change properly (Bug#9371).
7871
a640d29a
KH
78722012-03-22 Kenichi Handa <handa@m17n.org>
7873
7874 * international/quail.el (quail-insert-kbd-layout): Fix previous
7875 change. To avoid unwanted bidi reordering, use
7876 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7877
39675016
DG
78782012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7879
7880 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7881 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7882 (ruby-beginning-of-indent): Be more careful with the difference
7883 between word-boundary and symbol boundary.
7884 (ruby-mode-syntax-table): Make : a symbol constituent.
7885
0a6934fc 78862012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 7887
3d008e4f
SM
7888 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7889
0a6934fc
SM
78902012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7891
af67c9d7
SM
7892 * progmodes/etags.el (tags-completion-at-point-function):
7893 Improve last fix.
7894
1acad97c
SM
7895 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7896
e298b5da
SS
78972012-03-21 Sam Steingold <sds@gnu.org>
7898
7899 * progmodes/etags.el (tags-completion-at-point-function):
7900 Avoid the error when point is inside the pattern.
7901
91d82a70
JY
79022012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7903
7904 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7905 line (Bug#10855).
7906
69188b79
CY
79072012-03-21 Drew Adams <drew.adams@oracle.com>
7908
7909 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7910
99fc91fe
AK
79112012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7912
7913 * ido.el (ido-set-current-directory, ido-read-internal)
7914 (ido-choose-completion-string, ido-completion-help): Handle nil
7915 value of ido-completion-buffer (Bug#11008).
7916
087bbb4c
SS
79172012-03-21 Sam Steingold <sds@gnu.org>
7918
7919 * window.el (switch-to-prev-buffer): Do not switch to a visible
7920 window previous buffer, just like with the frame previous buffers.
7921
fb5b8aca
CY
79222012-03-21 Chong Yidong <cyd@gnu.org>
7923
7924 * faces.el (make-face, make-empty-face, copy-face):
7925 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7926 Doc fixes.
7927
dc9924b8
SM
79282012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7931 (widget-complete): Remove broken use of it.
7932
f0bcceb9
CY
79332012-03-20 Chong Yidong <cyd@gnu.org>
7934
dc9924b8
SM
7935 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7936 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
7937 characters.
7938
ee52ebf3
TH
79392012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7940
7941 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7942 to draw rectangles, not squares. (Regression introduced by revno
7943 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7944
4c5779ab
CY
79452012-03-18 Chong Yidong <cyd@gnu.org>
7946
7947 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7948 it is not yet defined (for temacs).
7949
15360934
LL
79502012-03-18 Leo Liu <sdl.web@gmail.com>
7951
dc9924b8 7952 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 7953
d9a8eb66
EZ
79542012-03-17 Eli Zaretskii <eliz@gnu.org>
7955
7956 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7957 (ispell-choices-win-default-height, ispell-silently-savep)
7958 (ispell-dictionary-alist, ispell-encoding8-command)
7959 (ispell-check-version, ispell-aspell-find-dictionary)
7960 (ispell-valid-dictionary-list, ispell-words-keyword)
7961 (ispell-get-word, ispell-internal-change-dictionary)
7962 (ispell-region, ispell-skip-region-list)
7963 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7964 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7965 (ispell-message-text-end, ispell-message)
7966 (ispell-buffer-local-parsing): Doc fix.
7967
f02ff80d
J
79682012-03-13 Jambunathan K <kjambunathan@gmail.com>
7969
7970 * htmlfontify.el: Add support for code block fontification for ODT
7971 export (Bug #9914).
7972 (hfy-optimisations): Define new option
7973 `body-text-only'
7974 (hfy-fontify-buffer): Honor above setting.
7975 (hfy-begin-span, hfy-end-span): New routines factored out form
7976 `hfy-fontify-buffer'.
7977 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7978 that permit insertion of custom tags.
7979 (hfy-fontify-buffer): Use above handlers.
7980 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7981 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 7982 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 7983 over multiple runs. This is made possible by having the caller let
f02ff80d
J
7984 bind a special variable `hfy-user-sheet-assoc'.
7985 (htmlfontify-string): New defun.
7986 (hfy-compile-face-map): Make sure that the last char in the
7987 buffer is correctly fontified.
7988 (hfy-face-resolve-face): Whitespace only change.
7989
9ac7a13f
EZ
79902012-03-17 Eli Zaretskii <eliz@gnu.org>
7991
7992 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7993 message more clear.
7994
e2b5bdd7
LL
79952012-03-16 Leo Liu <sdl.web@gmail.com>
7996
7997 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7998
2e492df3
AM
79992012-03-16 Alan Mackenzie <acm@muc.de>
8000
8001 Further optimise the handling of large macros.
8002
8003 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8004 limit to a call of `c-literal-limits'.
8005 (c-determine-+ve-limit): New function.
dc9924b8
SM
8006 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8007 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8008 In CASE 5B, restrict a search limit to 500.
8009 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8010
8011 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8012 Restrict macro bounds to +-500 from after-change's BEG END.
8013
50e94f0c
LL
80142012-03-16 Leo Liu <sdl.web@gmail.com>
8015
8016 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8017
6f09f6ed
AH
80182012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8019
8020 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8021 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8022
c7e73d51
GM
80232012-03-16 Glenn Morris <rgm@gnu.org>
8024
da986230
GM
8025 * view.el (view-buffer, view-buffer-other-window)
8026 (view-buffer-other-frame): Doc fixes re special mode-class.
8027
0835f01e
GM
8028 * subr.el (eval-after-load): If named feature is provided not from
8029 a file, run after-load forms. (Bug#10946)
8030
c7e73d51
GM
8031 * calendar/calendar.el (calendar-insert-at-column):
8032 Handle non-unit-width characters a bit better. (Bug#10978)
8033
3f2eafd1
CY
80342012-03-15 Chong Yidong <cyd@gnu.org>
8035
8036 * emacs-lisp/ring.el (ring-extend): New function.
8037 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8038
8039 * comint.el (comint-read-input-ring)
8040 (comint-add-to-input-history): Grow comint-input-ring lazily.
8041
103af3fe
SM
80422012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8043
663b1677
SM
8044 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8045 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8046
103af3fe
SM
8047 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8048 (imenu-add-to-menubar): Don't add a redundant index.
8049 (imenu-update-menubar): Handle a dynamically composed keymap.
8050
899cb7cb
KY
80512012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8052
8053 * mail/sendmail.el (mail-encode-header):
8054 Bind rfc2047-encode-encoded-words to nil.
8055
3809f91d
GM
80562012-03-13 Glenn Morris <rgm@gnu.org>
8057
8058 * calendar/calendar.el (calendar-string-spread):
8059 Handle non-unit-width characters a bit better. (Bug#10978)
8060
9e345a01
LL
80612012-03-13 Leo Liu <sdl.web@gmail.com>
8062
8063 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8064 directory and file as argument (Bug#10822).
8065
4a07df36
KS
80662012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8067
8068 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8069 For dynamically generated code, follow $PC.
8070 (gdb-disassembly-handler-custom): Handle no function name case.
8071
4aaa9356
TL
80722012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8073
8074 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8075 * emulation/ws-mode.el (ws-query-replace):
8076 * sort.el (sort-regexp-fields):
8077 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8078
225979da
SM
80792012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8080
8081 * dabbrev.el: Fix cycle completion order (bug#10963).
8082 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8083 (dabbrev-completion): Don't use an obarray; provide
8084 a cycle-sort-function.
8085
e2f1fdab
LL
80862012-03-12 Leo Liu <sdl.web@gmail.com>
8087
dc9924b8 8088 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8089 (kill-do-not-save-duplicates): Doc fix.
8090
b19490ed
SM
80912012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8092
8093 * dabbrev.el: Fix cycle completion (bug#10963).
8094 Use lexical binding and wrap to 80 columns.
8095 (dabbrev-completion): Delay computing the list of completions.
8096
4b05d722
KH
80972012-03-12 Kenichi Handa <handa@m17n.org>
8098
8099 * international/quail.el (quail-insert-kbd-layout): Surround each
8100 row by LRO and PDF instead of inserting many LRMs. Pad the left
8101 and right of each non-spacing marks. Insert invisible space
8102 between lower and upper characters to prevent composition.
8103
dbbc2e69
SM
81042012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8105
8106 * minibuffer.el (minibuffer-complete): Don't get confused when the
8107 function is run twice via different commands (bug#10958).
8108 (complete-with-action): Fix docstring.
8109
292112ed
CY
81102012-03-12 Chong Yidong <cyd@gnu.org>
8111
5d1ac394
CY
8112 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8113 (nxml-completion-at-point-function): New function.
8114 (nxml-mode): Use it.
8115 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8116
292112ed
CY
8117 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8118 Load generated autoloads file before byte compiling (Bug#10970).
8119 (package--make-autoloads-and-compile): New helper fun.
8120
4098f8f7
CS
81212012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8122
8123 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8124
8f754691
MA
81252012-03-11 Michael Albinus <michael.albinus@gmx.de>
8126
8127 * autorevert.el (auto-revert-handler): Ensure, that
8128 file-readable-p is applied only for local files or in
8129 auto-revert-tail-mode.
8130
e29ab36b
AS
81312012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8132
dbbc2e69
SM
8133 * server.el (server-eval-at): Handle non-tcp connections.
8134 Decode result string.
ad0bf5b6 8135
e29ab36b
AS
8136 * server.el (server-msg-size): New constant.
8137 (server-reply-print): New function.
8138 (server-eval-and-print): Use it.
8139 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8140 Handle -print-nonl.
8141
de5939ba
CS
81422012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8143
8144 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8145 (Bug#10987).
8146
0c93eabf
CY
81472012-03-11 Chong Yidong <cyd@gnu.org>
8148
397a688f
CY
8149 * simple.el (goto-line): Doc fix (Bug#9938).
8150
2cc775f9
CY
8151 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8152
0c93eabf
CY
8153 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8154 when finished (Bug#10963).
8155
c491fa41
MR
81562012-03-11 Martin Rudalics <rudalics@gmx.at>
8157
8158 * window.el (split-window-below): Fix bug in case where
8159 split-window-keep-point is nil (Bug#10971).
8160
300e8fa5
JL
81612012-03-11 Juri Linkov <juri@jurta.org>
8162
8163 * replace.el (replace-highlight): Set isearch-word to nil
8164 unconditionally. (Bug#10887)
8165
dbf6c5a1
EZ
81662012-03-10 Eli Zaretskii <eliz@gnu.org>
8167
8168 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8169 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 8170 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
8171 (mairix-widget-create-query): Add usage information about mairix
8172 search forms: negating words, searching for substrings, etc.
8173
b9e501de
JP
81742012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8175
8176 * international/fontset.el (font-encoding-alist): Add an entry for
8177 ksx1001 (Bug#5667).
8178
92795c91
RS
81792012-03-10 Richard Stallman <rms@gnu.org>
8180
1694e6c1
RS
8181 * mail/sendmail.el (mail-encode-header):
8182 Set rfc2047-encode-encoded-words.
8183
607e8555
RS
8184 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8185
de3bc99a
RS
8186 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8187 view buffer means not swapped.
8188 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8189 (rmail-write-region-annotate): Error if real text has disappeared.
8190
92795c91
RS
8191 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8192
699bd04e
CY
81932012-03-10 Chong Yidong <cyd@gnu.org>
8194
8195 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
8196 * emulation/cua-base.el (cua--init-keymaps):
8197 Add delete-forward-char to remappings (Bug#9666).
699bd04e 8198
570a1714
MR
81992012-03-10 Martin Rudalics <rudalics@gmx.at>
8200
dbbc2e69
SM
8201 * speedbar.el (speedbar-unhighlight-one-tag-line):
8202 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 8203
82dcf4e4
CY
82042012-03-10 Chong Yidong <cyd@gnu.org>
8205
7a2c7ca7
CY
8206 * minibuffer.el (completion-in-region, completion-help-at-point):
8207 Give the completion field overlay a high priority (Bug#6830).
8208
82dcf4e4
CY
8209 * dired.el (dired-goto-file): Recognize absolute file name
8210 listings (Bug#7126).
8211 (dired-goto-file-1): New helper function.
8212 (dired-toggle-read-only): Inhibit warnings.
8213
052e28ac
MA
82142012-03-09 Michael Albinus <michael.albinus@gmx.de>
8215
75f1671a 8216 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
8217 there are no properties.
8218
95d5e396
LL
82192012-03-09 Leo Liu <sdl.web@gmail.com>
8220
8221 * savehist.el (savehist-printable): Stricter check for string
8222 value (Bug#10937).
8223
3f018d6d
EZ
82242012-03-09 Eli Zaretskii <eliz@gnu.org>
8225
dbbc2e69
SM
8226 * mail/smtpmail.el (smtpmail-send-it):
8227 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
8228 valid mbox format.
8229
f7fd3d79
GM
82302012-03-09 Glenn Morris <rgm@gnu.org>
8231
8232 * files.el (dir-locals-find-file):
8233 Don't check result is regular, readable.
8234 (dir-locals-read-from-file): Demote errors.
8235
6ff6e72f
EZ
82362012-03-08 Eli Zaretskii <eliz@gnu.org>
8237
dbbc2e69
SM
8238 * international/quail.el (quail-insert-kbd-layout):
8239 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
8240 layout cell, to prevent their reordering by bidi display engine.
8241 For details, see the discussion in
8242 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8243
9cec7834
AM
82442012-03-08 Alan Mackenzie <acm@muc.de>
8245
8246 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8247 the starting position; make it extend the marked region when
8248 invoked repeatedly - all under appropriate circumstances.
8249 Fixes bugs #5525, #10906.
8250
9a40b8d4
GM
82512012-03-08 Glenn Morris <rgm@gnu.org>
8252
8253 * files.el (locate-dominating-file, dir-locals-find-file):
8254 Undo 2012-03-06 change.
8255
7a08ed35
EZ
82562012-03-07 Eli Zaretskii <eliz@gnu.org>
8257
dbbc2e69
SM
8258 * international/quail.el (quail-help):
8259 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
8260 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8261 for the reason.
8262
5aca4f71 82632012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
8264
8265 Avoid superfluous registering of signals. (Bug#10807)
8266
8267 * notifications.el (notifications-on-action-object)
8268 (notifications-on-close-object): New defvars.
8269 (notifications-on-action-signal, notifications-on-closed-signal):
8270 Unregister the signal if not needed any longer.
8271 (notifications-notify): Register `notifications-action-signal' or
8272 `notifications-closed-signal', if :on-action or :on-close has been
8273 passed as argument.
8274
78e8b10a
CY
82752012-03-07 Chong Yidong <cyd@gnu.org>
8276
8277 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8278 non-X platforms.
8279
69481eb8
GM
82802012-03-06 Glenn Morris <rgm@gnu.org>
8281
8282 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8283 (x-disown-selection-internal, x-get-selection-internal):
8284 Doc fix (add arglist signatures). (Bug#10783)
8285
133b8e11
KS
82862012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8287
8288 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8289 Handle breakpoints with no "type".
8290
99a83064
GM
82912012-03-06 Glenn Morris <rgm@gnu.org>
8292
8293 * files.el (locate-dominating-file): Add optional predicate argument.
8294 (dir-locals-find-file): Make use of above change.
8295
17798e78
TTN
82962012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
8297
8298 * info.el (Info-insert-dir): Also try "dir.gz".
8299
eb182446
GM
83002012-03-06 Glenn Morris <rgm@gnu.org>
8301
8f2114ee
GM
8302 * files.el (dir-locals-find-file):
8303 Ignore non-readable or non-regular files. (Bug#10928)
8304
eb182446
GM
8305 * files.el (locate-dominating-file): Doc fix.
8306
24679323
AS
83072012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
8308
8309 * calendar/calendar.el (calendar-set-mode-line):
8310 `getenv' returns a string. (Bug#10951)
8311
01d972a9
LL
83122012-03-05 Leo Liu <sdl.web@gmail.com>
8313
109aa8a9
LL
8314 * simple.el (backward-delete-char-untabify): Constrain point to
8315 field (Bug#10939).
8316
01d972a9
LL
8317 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8318
10607bea
CY
83192012-03-05 Chong Yidong <cyd@gnu.org>
8320
8321 * simple.el (count-words): If called from Lisp, return the word
8322 count, for symmetry with `count-lines'. Arglist changed.
8323 (count-words--message): Args changed. Consolidate counting code
8324 from count-words and count-words-region.
8325 (count-words-region): Caller changed.
8326 (count-lines-region): Make it an obsolete alias.
8327
5dd11cfe
TH
83282012-03-04 Tassilo Horn <tassilo@member.fsf.org>
8329
8330 * saveplace.el (save-place-to-alist)
8331 (save-place-ignore-files-regexp): Allow value nil to disable this
8332 feature.
8333
c349f4e6
CY
83342012-03-04 Chong Yidong <cyd@gnu.org>
8335
8336 * faces.el (face-spec-reset-face): For the default face, reset the
8337 attributes to default values (Bug#10748).
8338
e627be4c
LMI
83392012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
8340
8341 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8342 previous patch: Check `message-send-mail-function', and not the
8343 default function (bug#10897).
8344
ebeabff4
MA
83452012-03-04 Michael Albinus <michael.albinus@gmx.de>
8346
a41a6cf4
MA
8347 * notifications.el (notifications-on-action-signal)
8348 (notifications-on-closed-signal): Check for unique service name of
8349 incoming event. Fix error in removing entry.
ebeabff4 8350 (top): Register for signals with wildcard service name.
a41a6cf4 8351 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 8352
c1ca42b4
CY
83532012-03-04 Chong Yidong <cyd@gnu.org>
8354
dc9924b8 8355 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 8356
ea16568d
GM
83572012-03-04 Glenn Morris <rgm@gnu.org>
8358
8359 * abbrev.el (copy-abbrev-table, abbrev-table-p)
8360 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8361 (expand-abbrev, define-abbrev-table): Doc fixes.
8362
fbae4637
LMI
83632012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
8364
8365 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8366 `message-default-send-mail-function' and not `send-mail-function'
8367 when doing the prompting for `sendmail-query-once' before sending
8368 in Message buffers (bug#10897).
8369
a1e7225c
LMI
8370 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8371 This is inconsistent with all the other stream functions, which leave
8372 the setting up to the higher levels (if so wanted) (bug#10931).
8373
56d093a9
AM
83742012-03-02 Alan Mackenzie <acm@muc.de>
8375
8376 Depessimize the handling of very large macros.
8377
8378 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8379 (c-macro-cache-syntactic): New variables to implement a one
8380 element macro cache.
8381 (c-invalidate-macro-cache): New function.
8382 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8383 Adapt to use the new cache.
8384 (c-state-safe-place): Use better the cache of safe positions.
8385 (c-state-semi-nonlit-pos-cache)
8386 (c-state-semi-nonlit-pos-cache-limit):
8387 New variables for...
8388 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
8389 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
8390 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8391 Use c-state-semi-safe-place.
56d093a9 8392
dbbc2e69
SM
8393 * progmodes/cc-langs.el (c-get-state-before-change-functions):
8394 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 8395
817e5c3d
MA
83962012-03-02 Michael Albinus <michael.albinus@gmx.de>
8397
dbbc2e69
SM
8398 * jka-compr.el (jka-compr-call-process):
8399 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
8400 not remote.
8401
a032a702
MA
84022012-03-01 Michael Albinus <michael.albinus@gmx.de>
8403
8404 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
8405 access of FILE2, if FILE1 does not exist.
8406
99a54f21
MA
8407 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8408 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8409
8410 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8411 Add "PAGER=" to `process-environment'.
8412
f6561e1f
MM
84132012-03-01 Michael R. Mauger <mmaug@yahoo.com>
8414
8415 * progmodes/sql.el: Bug fix
8416 (sql-get-login-ext): Save login values in globals.
8417 (sql-get-login): Use new version of `sql-get-login-ext'.
8418 (sql-interactive-mode): Set global `sql-connection' to nil.
8419 (sql-connect): Set global values for connection.
8420 (sql-product-interactive): Save global values as buffer local.
8421
2d44d9cc
LL
84222012-02-29 Leo Liu <sdl.web@gmail.com>
8423
8424 * abbrev.el (define-abbrevs): Reset sys to nil.
8425
96b49301 84262012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8427
bf7f9bc5
JB
8428 * files.el (file-equal-p): Rename from `files-equal-p'.
8429 Return nil when one or both files don't exist.
96b49301 8430 (file-subdir-of-p): Now only top directory must exists,
8431 return nil if it doesn't.
bf7f9bc5
JB
8432 (copy-directory): No need to test with `file-subdir-of-p' after
8433 creating dir.
8434 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8435 to `file-equal-p'.
96b49301 8436
44e97401
GM
84372012-02-28 Glenn Morris <rgm@gnu.org>
8438
8439 * shell.el (shell-mode):
8440 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8441 * play/landmark.el (landmark-font-lock-face-O):
8442 * play/handwrite.el (handwrite):
8443 * play/gomoku.el (gomoku-O):
8444 * net/browse-url.el (browse-url-browser-display):
8445 * international/mule.el (define-charset):
8446 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8447 * filesets.el (filesets-find-file-delay):
8448 * eshell/em-xtra.el (eshell-xtra):
8449 * eshell/em-unix.el (eshell-grep):
8450 * emulation/viper.el (viper-mode):
8451 * emacs-lisp/regexp-opt.el (regexp-opt-group):
8452 * emacs-lisp/easymenu.el (easy-menu-define):
8453 * calendar/timeclock.el (timeclock-use-display-time):
8454 * bs.el (bs-mode):
8455 * bookmark.el (bookmark-save-flag):
8456 Doc fix (standardize possessive apostrophe usage).
8457
c98c6276
CY
84582012-02-27 Chong Yidong <cyd@gnu.org>
8459
bf7f9bc5
JB
8460 * emulation/viper-cmd.el (viper-intercept-ESC-key):
8461 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 8462
c98c6276
CY
8463 * font-lock.el (font-lock-specified-p): Rename from
8464 font-lock-spec-present. Callers changed.
8465
9c62cd04 84662012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 8467
bf7f9bc5
JB
8468 * emacs-lisp/package.el (package-compute-transaction):
8469 Handle holding a package version to t in package-load-list.
8ac9e529 8470
530739c9
MA
84712012-02-26 Michael Albinus <michael.albinus@gmx.de>
8472
8473 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8474 (tramp-get-inode, tramp-get-device): Use cached values.
8475
487915d7
AM
84762012-02-26 Alan Mackenzie <acm@muc.de>
8477
8478 Check there is a font-lock specification before doing initial
8479 fontification.
8480
8481 * font-core.el (font-lock-mode): Move the conditional from
8482 :after-hook to font-lock-initial-fontify.
8483 (font-lock-default-function): Move the check for a specification
8484 to font-lock-spec-present.
8485
dc9924b8 8486 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
8487 (font-lock-spec-present): New function.
8488
4fd96557
JB
84892012-02-26 Jim Blandy <jimb@red-bean.com>
8490
8491 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8492 (gdb-send): Apply it to the operand of the '-interpreter-exec
8493 console' command, so that we can pass arguments with (say) quotes
8494 in them. Store exact string sent in gdb-debug-log (Bug#10765).
8495
9a4888c0
CY
84962012-02-26 Chong Yidong <cyd@gnu.org>
8497
07498861
CY
8498 * help-fns.el (describe-function-1): Clarify description of
8499 remapping (Bug#10844).
8500
9a4888c0
CY
8501 * files.el (files-equal-p): Doc fix.
8502 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
8503 and quit the loop once a mismatch is found.
8504
ea8fb88d
JB
85052012-02-25 Juanma Barranquero <lekktu@gmail.com>
8506
8507 * bs.el (bs--show-with-configuration): Don't throw an error
8508 if the window cannot be split; otherwise, subsequent calls to
8509 bs-show fail, restoring a stale window config. (Bug#10882)
8510
525795c1
JD
85112012-02-25 Jan Djärv <jan.h.d@swipnet.se>
8512
8513 * term/ns-win.el (global-map): Bind ns-drag-file to
8514 ns-find-file (Bug#5855, Bug#10050).
8515
f008086f
AS
85162012-02-25 Andreas Schwab <schwab@linux-m68k.org>
8517
8518 * calendar/parse-time.el (parse-time-string): Allow extractor to
8519 return nil.
8520
a3fcfa99
MA
85212012-02-25 Michael Albinus <michael.albinus@gmx.de>
8522
91027d08
JB
8523 * net/tramp.el (tramp-file-name-for-operation):
8524 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
8525
8526 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
8527 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8528 Add COPY-CONTENTS argument.
a3fcfa99 8529
67b0de11
CY
85302012-02-25 Chong Yidong <cyd@gnu.org>
8531
8532 Add custom groups for VC backends, for consistency with vc-bzr.
8533
8534 * vc/vc-arch.el (vc-arch):
8535 * vc/vc-cvs.el (vc-cvs):
8536 * vc/vc-git.el (vc-git):
8537 * vc/vc-hg.el (vc-hg):
8538 * vc/vc-mtn.el (vc-mtn):
8539 * vc/vc-rcs.el (vc-rcs):
8540 * vc/vc-sccs.el (vc-sccs):
8541 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8542 All relevant defcustoms reassigned.
8543
3c9dfce6
CY
85442012-02-25 Chong Yidong <cyd@gnu.org>
8545
1339bf43
CY
8546 * newcomment.el (comment-styles): Add autoload (Bug#10868).
8547
3c9dfce6
CY
8548 * term/x-win.el (x-initialize-window-system): Reduce default for
8549 x-selection-timeout to 5 seconds (Bug#8869).
8550
25b2e303 85512012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8552
ec70a47d
GM
8553 * files.el (files-equal-p, file-subdir-of-p): New functions.
8554 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 8555 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
8556 * dired-aux.el (dired-copy-file-recursive): Same.
8557 (dired-create-files): Modify destination when source is equal to
8558 dest when copying files.
53a46cd0 8559 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 8560
914260cd
MA
85612012-02-24 Michael Albinus <michael.albinus@gmx.de>
8562
8563 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8564 (Bug#10874)
8565
2cb228f7
AM
85662012-02-23 Alan Mackenzie <acm@muc.de>
8567
8568 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8569 parameter "after-hook:" to allow the expansion to run code after
8570 the execution of the mode hooks.
8571
8572 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 8573 from font-lock-mode-internal.
2cb228f7 8574
91027d08 8575 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
8576 :after-hook.
8577
8f0fde21
SM
85782012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8579
3e88618b
SM
8580 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8581 (completion--cache-all-sorted-completions): New function.
8582 (completion-all-sorted-completions): Use it.
8583 (completion--do-completion, minibuffer-force-complete):
8584 Use it to re-instate the flush hook.
8585
8f0fde21
SM
8586 * icomplete.el (icomplete-completions): Replace last fix with a better
8587 one (bug#10850).
8588
8e911f6f
DG
85892012-02-23 Dmitry Gutov <dgutov@yandex.ru>
8590
8591 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8592 when it might call us back infinitely (bug#10797).
8593
49fe4321
GM
85942012-02-23 Glenn Morris <rgm@gnu.org>
8595
8596 * minibuffer.el (completion-category-overrides): Doc fix.
8597
b291b572
SM
85982012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * minibuffer.el (completion-table-with-context): Fix inf-loop.
8601 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8602
31a9ef2e
GM
86032012-02-23 Glenn Morris <rgm@gnu.org>
8604
5e6e6794 8605 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
8606 (authors-obsolete-files-regexps, authors-ignored-files)
8607 (authors-ambiguous-files, authors-renamed-files-alist):
8608 Add more entries.
8609
0bd1e074
JL
86102012-02-23 Juri Linkov <juri@jurta.org>
8611
8612 * isearch.el (isearch-occur): Sync interactive spec with occur's
8613 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
8614
b617673c
JL
8615 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8616
19e9789e
JL
86172012-02-22 Juri Linkov <juri@jurta.org>
8618
8619 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8620 (ucs-insert): Doc fix. Check for hex digits in the string.
8621 Don't display `nil' in the error message. (Bug#10857)
8622
f41ce09d
AM
86232012-02-22 Alan Mackenzie <acm@muc.de>
8624
7a71b18d 8625 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 8626
ac2eceee
GM
86272012-02-22 Glenn Morris <rgm@gnu.org>
8628
8629 * ffap.el (ffap-c-path):
8630 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
8631
abd1f678
CY
86322012-02-22 Chong Yidong <cyd@gnu.org>
8633
8634 * custom.el (load-theme): Doc fix.
8635
f25aef2e
GM
86362012-02-22 Glenn Morris <rgm@gnu.org>
8637
8638 * dired-x.el (dired-guess-shell-alist-default):
8639 Remove escape sequences from nroff output. (Bug#172)
8640
5f8dc2ca
GM
86412012-02-21 Glenn Morris <rgm@gnu.org>
8642
6ff86ec4
GM
8643 * vc/emerge.el (emerge-defvar-local):
8644 Set `permanent-local' property rather than unused `preserved'.
8645
be3223a3 8646 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
8647 (picture-mode-map): Use it. (Bug#10860)
8648 (picture-mode): Doc fix.
8649
3fe58f4f
JB
86502012-02-21 Juanma Barranquero <lekktu@gmail.com>
8651
8652 * newcomment.el (uncomment-region-default): Remove unused binding.
8653
f9a998c3
GM
86542012-02-21 Glenn Morris <rgm@gnu.org>
8655
8656 * textmodes/picture.el (picture-motion, picture-motion-reverse)
8657 (picture-self-insert, picture-tab-chars): Doc fix.
8658 (picture-mode-map): Fix C-a, C-e.
8659
c6029348
GM
86602012-02-20 Glenn Morris <rgm@gnu.org>
8661
8662 * emacs-lisp/authors.el (authors-aliases): Add another entry.
8663
ab1ce9d7
LL
86642012-02-20 Leo Liu <sdl.web@gmail.com>
8665
8666 * icomplete.el (icomplete-completions): Check FROM arg before
8667 passing to substring (Bug#10850).
8668
0fd40f89
CY
86692012-02-19 Chong Yidong <cyd@gnu.org>
8670
8671 * comint.el: Require ansi-color.
8672 (comint-output-filter-functions): Add ansi-color-process-output.
8673
8674 * ansi-color.el: Don't set comint-output-filter-functions; it is
8675 now in the initial value defined in comint.el.
8676 (ansi-color-apply-face-function): New variable.
8677 (ansi-color-apply-on-region): Use it.
8678 (ansi-color-apply-overlay-face): New function.
8679
8680 * shell.el (shell): No need to require ansi-color.
8681 (shell-mode): Use ansi-color-apply-face-function to highlight
8682 color escapes using font-lock-face property (Bug#10835).
8683
20af2394
CY
86842012-02-19 Chong Yidong <cyd@gnu.org>
8685
8686 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8687 mode-line formats (Bug#10839).
8688
e23a3fbe
GM
86892012-02-18 Glenn Morris <rgm@gnu.org>
8690
b474519e
GM
8691 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8692
8693 * mail/undigest.el (unforward-rmail-message): Doc fix.
8694
e23a3fbe
GM
8695 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8696
57939ff4
EZ
86972012-02-18 Eli Zaretskii <eliz@gnu.org>
8698
8699 * international/characters.el (script-list): Sync with the latest
8700 Unicode Character Database.
8701
0c23686e
AS
87022012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8703
8704 * international/titdic-cnv.el: Remove duplicate coding tag.
8705 * language/cham.el: Likewise.
8706 * language/tai-viet.el: Likewise.
8707
6818b449
GM
87082012-02-18 Glenn Morris <rgm@gnu.org>
8709
8710 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8711 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8712 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8713 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8714 * calendar/holidays.el (holiday-bahai-holidays)
8715 (calendar-holidays, list-holidays):
8716 Use utf-8 Bahá'í in doc-strings, menus, etc.
8717
0311a3fc
TH
87182012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8719
8720 * saveplace.el (save-place-ignore-files-regexp): New variable
8721 allowing for excluding files from saving their location of point.
8722 The default value matches the temporary commit message editing
8723 files from Git, SVN, Bazaar, and Mercurial.
8724 (save-place-to-alist): Use it.
8725
d209e2fb 87262012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 8727 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
8728
8729 * newcomment.el (uncomment-region-default): Don't leave extra space
8730 when an arg is provided (bug#8150).
8731
ee0ce425
TZ
87322012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8733
eb864a71 8734 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 8735
95ddf442
GM
87362012-02-17 Glenn Morris <rgm@gnu.org>
8737
8738 * net/socks.el: Require network-stream. (Bug#10599)
8739
48dd1e39 87402012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
8741
8742 * international/charprop.el:
8743 * international/uni-name.el:
8744 * international/uni-old-name.el:
8745 * international/uni-comment.el: Regenerate.
8746
d68cd087
GM
87472012-02-16 Glenn Morris <rgm@gnu.org>
8748
8749 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8750 Interactively in calendar buffer, give an error if not on a date.
8751
13932042
GM
87522012-02-15 Glenn Morris <rgm@gnu.org>
8753
8754 * shell.el (shell-delimiter-argument-list):
8755 Revert 2011-02-17 change. (Bug#8027)
8756
c3a70e2b
CY
87572012-02-15 Chong Yidong <cyd@gnu.org>
8758
60236b0d
CY
8759 * minibuffer.el (completion-at-point-functions): Doc fix.
8760
c3a70e2b
CY
8761 * custom.el (defcustom): Doc fix; note use of defvar.
8762
9f26dc24
GM
87632012-02-15 Glenn Morris <rgm@gnu.org>
8764
8765 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8766 Doc fixes.
8767
6546b134
GM
87682012-02-14 Glenn Morris <rgm@gnu.org>
8769
8770 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8771
d29b2b4c
LI
87722012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8773
8774 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8775 way the ports list is computed.
835bdcba
LI
8776 (smtpmail-query-smtp-server): Prompt the user for a port number if
8777 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 8778
08dcdbc9
TZ
87792012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8780
8781 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8782
2605051a
GM
87832012-02-13 Glenn Morris <rgm@gnu.org>
8784
8785 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8786
7ee99f32
TZ
87872012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8788
8789 * net/gnutls.el (gnutls-trustfiles): New variable.
8790 (gnutls-negotiate): Use it.
8791
5f0af64f
LI
87922012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8793
8794 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8795 does its stuff if Gnus is running.
8796
c14fcc95
AM
87972012-02-13 Alan Mackenzie <acm@muc.de>
8798
8799 Fix a loop in c-set-fl-decl-start.
8800
7a71b18d 8801 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
8802 c-backward-syntactic-ws actually moves backwards.
8803
142b4d90
LL
88042012-02-13 Leo Liu <sdl.web@gmail.com>
8805
8806 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8807 beginning so that all \C-o chars are removed.
8808
fa9958a6
TZ
88092012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8810
dc9924b8 8811 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 8812
0bc5886a
AM
88132012-02-12 Alan Mackenzie <acm@muc.de>
8814
8815 Fix infinite loop with long macros.
4d6769e1 8816 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 8817
d4bd55e7
CY
88182012-02-12 Chong Yidong <cyd@gnu.org>
8819
8820 * window.el (display-buffer): Doc fix (Bug#10785).
8821
66f3fe22
GM
88222012-02-12 Glenn Morris <rgm@gnu.org>
8823
bd7da63e
GM
8824 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8825 (x-disown-selection-internal, x-get-selection-internal):
8826 Sync docs with the xselect.c versions.
8827
66f3fe22
GM
8828 * allout-widgets.el: Add missing license notice.
8829
3e0d2fa7
GM
88302012-02-11 Glenn Morris <rgm@gnu.org>
8831
cfecdf09
GM
8832 * select.el (x-get-selection-internal, x-own-selection-internal)
8833 (x-disown-selection-internal):
8834 * x-dnd.el (x-get-selection-internal): Update declarations.
8835
6d216d7f
GM
8836 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8837
2bed3f04
GM
8838 * window.el (window-sides-slots):
8839 * tool-bar.el (tool-bar-position):
8840 * term/xterm.el (xterm-extra-capabilities):
8841 * ses.el (ses-self-reference-early-detection):
8842 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8843 (verilog-auto-wire-type)
8844 (verilog-auto-delete-trailing-whitespace)
8845 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8846 (verilog-auto-tieoff-declaration):
8847 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8848 (sql-oracle-statement-starters, sql-oracle-scan-on):
8849 * progmodes/prolog.el (prolog-align-comments-flag)
8850 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8851 (prolog-left-indent-regexp, prolog-paren-indent-p)
8852 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8853 (prolog-types, prolog-mode-specificators)
8854 (prolog-determinism-specificators, prolog-directives)
8855 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8856 (prolog-electric-dot-flag)
8857 (prolog-electric-dot-full-predicate-template)
8858 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8859 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8860 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8861 (prolog-program-switches, prolog-prompt-regexp)
8862 (prolog-debug-on-string, prolog-debug-off-string)
8863 (prolog-trace-on-string, prolog-trace-off-string)
8864 (prolog-zip-on-string, prolog-zip-off-string)
8865 (prolog-use-standard-consult-compile-method-flag)
8866 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8867 (prolog-imenu-max-lines, prolog-info-predicate-index)
8868 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8869 (prolog-char-quote-workaround):
8870 * progmodes/cc-vars.el (c-defun-tactic):
8871 * net/tramp.el (tramp-encoding-command-interactive)
8872 (tramp-local-end-of-line):
8873 * net/soap-client.el (soap-client):
8874 * net/netrc.el (netrc-file):
8875 * net/gnutls.el (gnutls):
8876 * minibuffer.el (completion-category-overrides)
8877 (completion-cycle-threshold)
8878 (completion-pcm-complete-word-inserts-delimiters):
8879 * man.el (Man-name-local-regexp):
8880 * mail/feedmail.el (feedmail-display-full-frame):
8881 * international/characters.el (glyphless-char-display-control):
8882 * eshell/em-ls.el (eshell-ls-date-format):
8883 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8884 (lisp-lambda-list-keyword-parameter-indentation)
8885 (lisp-lambda-list-keyword-parameter-alignment):
8886 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8887 * dired-x.el (dired-omit-verbose):
8888 * cus-theme.el (custom-theme-allow-multiple-selections):
8889 * calc/calc.el (calc-highlight-selections-with-faces)
8890 (calc-lu-field-reference, calc-lu-power-reference)
8891 (calc-note-threshold):
8892 * battery.el (battery-mode-line-limit):
8893 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8894 (archive-7z-update):
8895 * allout.el (allout-prefixed-keybindings)
8896 (allout-unprefixed-keybindings)
8897 (allout-inhibit-auto-fill-on-headline)
8898 (allout-flattened-numbering-abbreviation):
8899 * allout-widgets.el (allout-widgets-auto-activation)
8900 (allout-widgets-icons-dark-subdir)
8901 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8902 (allout-widgets-theme-dark-background)
8903 (allout-widgets-theme-light-background)
8904 (allout-widgets-item-image-properties-emacs)
8905 (allout-widgets-item-image-properties-xemacs)
8906 (allout-widgets-run-unit-tests-on-load)
8907 (allout-widgets-time-decoration-activity)
8908 (allout-widgets-hook-error-post-time)
8909 (allout-widgets-track-decoration):
8910 Add missing :version tags to new defcustoms and defgroups.
8911
5fec1b8e
GM
8912 * progmodes/sql.el (sql-ansi-statement-starters)
8913 (sql-oracle-statement-starters): Add custom type.
8914
3e0d2fa7
GM
8915 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8916 (prolog-system-version): Give it a type.
8917
90b671e2
EZ
89182012-02-11 Eli Zaretskii <eliz@gnu.org>
8919
8920 * term/pc-win.el (x-select-text, x-selection-owner-p)
8921 (x-own-selection-internal, x-disown-selection-internal)
8922 (x-get-selection-internal): Sync doc strings and argument lists
8923 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8924
5eac0c02
LL
89252012-02-11 Leo Liu <sdl.web@gmail.com>
8926
8927 * progmodes/python.el (python-end-of-statement): Fix infinite
8928 loop. (Bug#10788)
8929
f82cb659
GM
89302012-02-10 Glenn Morris <rgm@gnu.org>
8931
8932 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8933 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8934
cc26d239
LI
89352012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8936
8937 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8938 about SMTP before checking the From header.
8939
91027d08 8940 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
8941 into own function for reuse by emacsbug.el.
8942
1be3ca5a
LL
89432012-02-10 Leo Liu <sdl.web@gmail.com>
8944
8945 * subr.el (condition-case-unless-debug): Rename from
8946 condition-case-no-debug. All callers changed.
8947 (with-demoted-errors): Fix caller.
8948
8949 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8950 * nxml/rng-valid.el (rng-do-some-validation):
8951 * emacs-lisp/package.el (package-refresh-contents)
8952 (package-menu-execute):
8953 * desktop.el (desktop-create-buffer):
91027d08 8954 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 8955
b011fbfe
GM
89562012-02-10 Glenn Morris <rgm@gnu.org>
8957
b2096d72
GM
8958 * textmodes/bibtex.el:
8959 Add missing :version tags for new/changed defcustoms.
8960
b011fbfe
GM
8961 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8962
4c7e65bf
LI
89632012-02-09 Lars Ingebrigtsen <larsi@rusty>
8964
8965 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8966 (smtpmail-via-smtp): Use it, or fall back on the From address.
8967 (smtpmail-send-it): Ditto.
8968
f3934f6f
SM
89692012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8972 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8973 (byte-compile-tmp-var): New const.
8974 (byte-compile-defvar): Use it to minimize .elc size.
8975 Just use `defvar' rather than simulate it (bug#10761).
8976
a075a2c5
GM
89772012-02-09 Glenn Morris <rgm@gnu.org>
8978
cf3aa21b
GM
8979 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8980
354998cd
GM
8981 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8982 Add :version tags.
8983
dc9924b8
SM
8984 * progmodes/compile.el (compilation-error-screen-columns)
8985 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 8986
dab3703d
GM
8987 * vc/log-view.el (log-view-toggle-entry-display):
8988 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8989
3f88cd72
GM
8990 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8991 (report-emacs-bug-can-use-xdg-email):
8992 (report-emacs-bug-insert-to-mailer): Doc fixes.
8993 (report-emacs-bug): Message fix.
8994
d95b247d
GM
8995 * net/browse-url.el (browse-url-can-use-xdg-open)
8996 (browse-url-xdg-open): Doc fixes.
8997
a075a2c5
GM
8998 * electric.el (electric-indent-mode, electric-pair-mode)
8999 (electric-layout-rules, electric-layout-mode): Doc fixes.
9000 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9001
ffb6157e
MR
90022012-02-08 Martin Rudalics <rudalics@gmx.at>
9003
9004 * server.el (server-unselect-display): Don't inadvertently kill
9005 the current buffer. (Bug#10729)
9006
e1ac4066
GM
90072012-02-08 Glenn Morris <rgm@gnu.org>
9008
34e8a2da
GM
9009 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9010 (sql-list-table): Doc fixes.
9011
b4ac6e8c
GM
9012 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9013 Comment out (does nothing).
9014
e1ac4066
GM
9015 * completion.el (dynamic-completion-mode):
9016 * dirtrack.el (dirtrack-debug-mode):
9017 * electric.el (electric-layout-mode):
9018 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9019 * face-remap.el (text-scale-mode, buffer-face-mode):
9020 * iimage.el (iimage-mode):
9021 * image-mode.el (image-transform-mode):
9022 * minibuffer.el (completion-in-region-mode):
9023 * scroll-lock.el (scroll-lock-mode):
9024 * simple.el (next-error-follow-minor-mode):
9025 * tar-mode.el (tar-subfile-mode):
9026 * tooltip.el (tooltip-mode):
9027 * vcursor.el (vcursor-use-vcursor-map):
9028 * wid-browse.el (widget-minor-mode):
9029 * emulation/tpu-edt.el (tpu-edt-mode):
9030 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9031 * international/iso-ascii.el (iso-ascii-mode):
9032 * language/thai-util.el (thai-word-mode):
9033 * mail/supercite.el (sc-minor-mode):
9034 * net/goto-addr.el (goto-address-mode):
9035 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9036 * progmodes/cwarn.el (cwarn-mode):
9037 * progmodes/flymake.el (flymake-mode):
9038 * progmodes/glasses.el (glasses-mode):
9039 * progmodes/hideshow.el (hs-minor-mode):
9040 * progmodes/pascal.el (pascal-outline-mode):
9041 * textmodes/enriched.el (enriched-mode):
9042 * vc/smerge-mode.el (smerge-mode):
9043 Doc fixes (minor mode argument).
9044
5e0d957f
EZ
90452012-02-07 Eli Zaretskii <eliz@gnu.org>
9046
9047 * ls-lisp.el (ls-lisp-sanitize): New function.
9048 (ls-lisp-insert-directory): Use it to fix or remove any elements
9049 in file-alist with missing attributes. (Bug#4673)
9050
98d7371e
AM
90512012-02-07 Alan Mackenzie <acm@muc.de>
9052
9053 Fix spurious recognition of c-in-knr-argdecl.
9054
9055 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9056 putative K&R region.
9057
667ced3a
AM
90582012-02-07 Alan Mackenzie <acm@muc.de>
9059
eb864a71
LM
9060 * progmodes/cc-engine.el (c-forward-objc-directive):
9061 Prevent looping in "#pragma mark @implementation".
667ced3a 9062
5b77774d
MA
90632012-02-07 Michael Albinus <michael.albinus@gmx.de>
9064
9065 * notifications.el (notifications-on-closed-signal): Make `reason'
9066 optional. (Bug#10744)
9067
af008560
GM
90682012-02-07 Glenn Morris <rgm@gnu.org>
9069
60d47423
GM
9070 * emacs-lisp/easy-mmode.el (define-minor-mode):
9071 Doc fixes for the macro and the mode it defines.
9072
dd605cc4
GM
9073 * image.el (imagemagick-types-inhibit): Doc fix.
9074
af008560
GM
9075 * cus-start.el (imagemagick-render-type): Add it.
9076
5cc59a37
LI
90772012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9078
4d6769e1
JB
9079 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9080 Set the default at load time, too, so that `font-lock-fontify-buffer'
9081 can be called without setting up the entire mode first. This fixes
9082 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9083
9a6dd747
CY
90842012-02-06 Chong Yidong <cyd@gnu.org>
9085
2d16b285
CY
9086 * simple.el (list-processes--refresh): Delete exited processes
9087 (Bug#8094).
9088
171e9b6e
CY
9089 * comint.el (comint-next-prompt): next-single-char-property-change
9090 and prev-single-char-property-change never return nil (Bug#8657).
9091
9a6dd747
CY
9092 * custom.el (defcustom): Doc fix (Bug#9711).
9093
aa4589a7
CY
90942012-02-05 Chong Yidong <cyd@gnu.org>
9095
5c2a252f
CY
9096 * cus-edit.el (custom-variable-reset-backup): Quote the value
9097 before storing it in the customized-value property (Bug#6712).
4aab9006 9098 (custom-display): Add a customization type tag.
983b9602 9099 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9100
aa4589a7
CY
9101 * wid-edit.el (widget-field-value-get): New optional arg to
9102 suppress trailing whitespace truncation.
9103 (character): Use it (Bug#2689).
9104
1ff980ae
AS
91052012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9106
9107 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9108 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9109
03988c98
CY
91102012-02-05 Chong Yidong <cyd@gnu.org>
9111
eeb6cc88
CY
9112 * cus-edit.el (custom-variable-value-create): For mismatched
9113 types, show the current value (Bug#7600).
9114
03988c98
CY
9115 * custom.el (defcustom): Doc fix.
9116
f8cdeef0
GM
91172012-02-05 Glenn Morris <rgm@gnu.org>
9118
9119 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9120
0696d255
JB
91212012-02-05 Juanma Barranquero <lekktu@gmail.com>
9122
9123 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9124 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9125 (pp-last-sexp): Use `looking-at-p'.
9126
34c99998
GM
91272012-02-04 Glenn Morris <rgm@gnu.org>
9128
8f05da42
GM
9129 * files.el (revert-buffer):
9130 Doc fix (mention revert-buffer-in-progress-p).
9131
f160676e
GM
9132 * emacs-lisp/ert-x.el (ert-simulate-command):
9133 Check deferred-action-list (which is obsolete) is bound.
9134
c7291ad9
GM
9135 * subr.el (with-wrapper-hook): Doc fixes.
9136
34c99998
GM
9137 * simple.el (filter-buffer-substring-functions)
9138 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9139
6283a7d3
LL
91402012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9141
9142 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9143 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9144
e96e3013
LL
91452012-02-04 Leo Liu <sdl.web@gmail.com>
9146
9147 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9148
8ded50f2
GM
91492012-02-04 Glenn Morris <rgm@gnu.org>
9150
82ff1d13
GM
9151 * image.el (image-extension-data): Add obsolete alias.
9152
987a0a16
GM
9153 * isearch.el (isearch-update): Doc fix.
9154
ea32ef46
GM
9155 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9156
8ded50f2
GM
9157 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9158
eea14f31
GM
91592012-02-03 Glenn Morris <rgm@gnu.org>
9160
9161 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9162 (image-animate-timeout): Doc fix.
9163
9164 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9165
12f381b7
GM
91662012-02-02 Glenn Morris <rgm@gnu.org>
9167
953cebf5
GM
9168 * server.el (server-auth-dir): Doc fix.
9169 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9170
12f381b7
GM
9171 * subr.el (run-mode-hooks): Doc fix.
9172
953a8c3b
JL
91732012-02-02 Juri Linkov <juri@jurta.org>
9174
9175 * image-mode.el (image-toggle-display-image): Remove tautological
9176 `major-mode' from the `derived-mode-p' test.
9177
c5d3843c
KH
91782012-02-02 Kenichi Handa <handa@m17n.org>
9179
9f6e692e 9180 * composite.el (compose-region): Cancel previous change.
c5d3843c 9181
159462d4 91822012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
9183
9184 * composite.el (compose-region, compose-string): Signal error for
9185 a null string component (Bug#6988).
9186
9f562668
CY
91872012-02-01 Chong Yidong <cyd@gnu.org>
9188
e2cef717
CY
9189 * view.el (view-buffer-other-window, view-buffer-other-frame):
9190 Handle special modes like view-buffer (Bug#10650).
9191 (view-buffer): Simplify.
9192
9f562668
CY
9193 * frame.el (set-frame-font): Tweak meaning of third argument.
9194
9f6e692e
JB
9195 * dynamic-setting.el (font-setting-change-default-font):
9196 Use set-frame-font (Bug#9982).
9f562668 9197
781acb9f
GM
91982012-02-01 Glenn Morris <rgm@gnu.org>
9199
6035be52
GM
9200 * progmodes/compile.el (compilation-internal-error-properties):
9201 Respect compilation-first-column in the "*compilation*" buffer.
9202
781acb9f
GM
9203 * emacs-lisp/easy-mmode.el (define-minor-mode):
9204 Relax :variable's test for a named function.
9205
abbceb00
AM
92062012-01-31 Alan Mackenzie <acm@muc.de>
9207
9208 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9209 off by one error.
9210
fce3fdeb
CY
92112012-01-31 Chong Yidong <cyd@gnu.org>
9212
9213 * frame.el (set-frame-font): New arg ALL-FRAMES.
9214
9215 * menu-bar.el (menu-set-font): Use set-frame-font.
9216
9217 * faces.el (face-spec-reset-face): Don't apply unspecified
9218 attribute values to the default face.
9219
47893581
JB
92202012-01-31 Juanma Barranquero <lekktu@gmail.com>
9221
9222 * progmodes/cwarn.el (cwarn): Remove dead link.
9223 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9224 Remove * from defcustom docstrings.
9225 (turn-on-cwarn-mode): Make obsolete.
9226 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9227 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9228
e58e988a
GM
92292012-01-31 Glenn Morris <rgm@gnu.org>
9230
60dc2671 9231 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 9232 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 9233 Allow named functions to be used as the cdr of :variable.
e58e988a 9234
7a3f511d
GM
92352012-01-30 Glenn Morris <rgm@gnu.org>
9236
9237 * emacs-lisp/authors.el (authors-fixed-entries):
9238 Remove reference to deleted file rnewspost.el.
9239
cb882333
JB
92402012-01-29 Juanma Barranquero <lekktu@gmail.com>
9241
9242 * window.el (window-with-parameter): Remove unused variable `windows'.
9243 (window--side-check): Remove unused variable `code'.
9244 (window--resize-siblings): Remove unused variable `first'.
9245 (adjust-window-trailing-edge): Remove unused variable `failed'.
9246 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9247 Use `let', not `let*'.
9248 (balance-windows-2): Remove unused variable `found'.
9249 (window--state-put-2): Remove unused variable `splits'.
9250 (window-state-put): Remove unused variable `selected'.
9251 (same-window-p): Use `string-match-p'.
9252 (display-buffer-assq-regexp): Remove unused variable `value'.
9253 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9254 Mark argument ALIST as ignored.
9255 (pop-to-buffer): Remove unused variable `old-window'.
9256
907201af
EZ
92572012-01-29 Eli Zaretskii <eliz@gnu.org>
9258
9259 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9260 and .lzma compressed files.
9261
ea162670
CY
92622012-01-29 Chong Yidong <cyd@gnu.org>
9263
5b95ee8a
CY
9264 * frame.el (window-system-default-frame-alist): Doc fix.
9265
ea162670
CY
9266 * dynamic-setting.el (font-setting-change-default-font): Don't
9267 change the default face if SET-FONT argument is non-nil (Bug#9982).
9268
d6e6f4b1
SB
92692012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9270
9271 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9272
0f29fa41 92732012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
9274
9275 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9276 breakpoints in files outside current directory (Bug#6098).
9277
db174434
CY
92782012-01-29 Chong Yidong <cyd@gnu.org>
9279
6b25e4e2
SE
9280 * progmodes/python.el: Require ansi-color at top-level.
9281
6df6ae42
JB
9282 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9283 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
9284 (lisp-mode-abbrev-table): Add doc.
9285 (lisp-mode-variables): Don't set local-abbrev-table.
9286 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9287
e70ee681
RW
92882012-01-28 Roland Winkler <winkler@gnu.org>
9289
9290 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9291
ace88aa2
RW
92922012-01-28 Roland Winkler <winkler@gnu.org>
9293
9294 * textmodes/bibtex.el (bibtex-entry-alist): New function.
9295 (bibtex-set-dialect): Use it. Either set global values of
9296 dialect-dependent variables or bind these variables buffer-locally
9297 (Bug#10254).
9298 (bibtex-mode): Call bibtex-set-dialect via
9299 hack-local-variables-hook.
eb864a71
LM
9300 (bibtex-dialect): Update docstring.
9301 Add safe-local-variable predicate.
ace88aa2
RW
9302 (bibtex-entry-alist, bibtex-field-alist): Initialize via
9303 bibtex-set-dialect.
9304 (bibtex-mode-map): Define menu for each dialect.
9305 (bibtex-entry): Fix docstring.
9306
93376c5b
CY
93072012-01-28 Chong Yidong <cyd@gnu.org>
9308
9309 * eshell/esh-arg.el (eshell-quote-argument): New function.
9310
9311 * eshell/esh-ext.el (eshell-invoke-batch-file):
9312 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9313 first arg to eshell-parse-command (Bug#10523).
9314
4372494f
DA
93152012-01-28 Drew Adams <drew.adams@oracle.com>
9316
9317 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9318 `default-directory' is non-nil.
9319
4d4ec1f8
EZ
93202012-01-28 Eli Zaretskii <eliz@gnu.org>
9321
9322 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9323 line that displays system-configuration-options. (Bug#9924)
9324
7c188927
DA
93252012-01-28 Drew Adams <drew.adams@oracle.com>
9326
9327 * descr-text.el (describe-char): Show information about POS, in
9328 addition to information about the character at POS. Improve and
9329 update the doc string. Change "code point" to "code point in
9330 charset", to avoid confusion with the character's Unicode code
9331 point shown above that. (Bug#10129)
9332
e0da685a
EZ
93332012-01-28 Eli Zaretskii <eliz@gnu.org>
9334
9335 * descr-text.el (describe-char): Show the raw character, not only
9336 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
9337 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9338 for the reasons.
9339
70550acf
PH
93402012-01-28 Phil Hagelberg <phil@hagelb.org>
9341
eb864a71
LM
9342 * emacs-lisp/package.el (package-install):
9343 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 9344
0ce8e868
CY
93452012-01-28 Chong Yidong <cyd@gnu.org>
9346
cb882333
JB
9347 * emacs-lisp/package.el (package-maybe-load-descriptor):
9348 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
9349 (package-maybe-load-descriptor): Use it.
9350 (package-download-transaction): Fully load required packages
9351 inside the loop, so that `require' calls work (Bug#10593).
9352 (package-install): No need to call package-initialize now.
9353
2e7f3bea
CY
93542012-01-28 Chong Yidong <cyd@gnu.org>
9355
6e9bad14
CY
9356 * simple.el (deactivate-mark): Doc fix (Bug#8614).
9357
f823b8ca
CY
9358 * tooltip.el (tooltip-mode): Doc fix.
9359 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9360
2680c309
CY
9361 * frame.el (set-cursor-color): Doc fix (Bug#352).
9362
d7a9e63b
CY
9363 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9364 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9365
2e7f3bea
CY
9366 * cus-edit.el (custom-buffer-create-internal): Fix search button
9367 action (Bug#10542).
2ae01800 9368 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 9369
fc4f7a23
EW
93702012-01-27 Eduard Wiebe <usenet@pusto.de>
9371
9372 * dired.el (dired-mark-files-regexp):
9373 Include any subdirectory components. (Bug#10445)
9374
7dd37071
ML
93752012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
9376
9377 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9378 Handle [host]:port syntax. (Bug#10533)
9379
a268160b
AH
93802012-01-27 Alex Harsanyi <harsanyi@mac.com>
9381
9382 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9383
e43273ef
GM
93842012-01-26 Glenn Morris <rgm@gnu.org>
9385
9386 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9387 * term.el (term-raw-escape-map): Use Control-X-prefix.
9388 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
9389
1edf595d
MR
93902012-01-25 Martin Rudalics <rudalics@gmx.at>
9391
9392 * window.el (window-state-get, window--state-get-1): Don't deal
9393 with fixed-sizeness of windows. Simplify code.
9394
fa8eafef
JC
93952012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
9396
6df6ae42
JB
9397 * window.el (window--state-get-1, window--state-put-2):
9398 Don't save and restore the mark.
fa8eafef 9399
0b21c100
CY
94002012-01-25 Chong Yidong <cyd@gnu.org>
9401
9402 * custom.el (custom-variable-p): Doc fix.
9403
5ae1a6c8
GM
94042012-01-25 Glenn Morris <rgm@gnu.org>
9405
40047858
GM
9406 * dired.el (dired-goto-file): Handle some of the more common
9407 characters that `ls -b' escapes. (Bug#10596)
9408
5ddce96c
GM
9409 * progmodes/compile.el (compilation-next-error-function):
9410 Respect compilation-first-column in the "*compilation*" buffer.
9411 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
9412
5ae1a6c8
GM
9413 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
9414
b559f1a9
GM
94152012-01-24 Glenn Morris <rgm@gnu.org>
9416
9417 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
9418
6725d21a
JD
94192012-01-24 Julien Danjou <julien@danjou.info>
9420
9421 * color.el (color-rgb-to-hsl): Fix value computing.
9422 (color-hue-to-rgb): New function.
9423 (color-hsl-to-rgb): New function.
9424 (color-clamp, color-saturate-hsl, color-saturate-name)
9425 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9426 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9427
70df4bbe
GM
94282012-01-24 Glenn Morris <rgm@gnu.org>
9429
9430 * vc/vc-rcs.el (vc-rcs-create-tag):
9431 * vc/vc-sccs.el (vc-sccs-create-tag):
9432 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
9433
802a2ae2
ML
94342012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
9435
9436 * eshell/esh-util.el (eshell-read-hosts-file):
9437 Skip comment lines. (Bug#10549)
9438
d7128bb1
ML
9439 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
9440
d1a5c3b4
JB
94412012-01-23 Juanma Barranquero <lekktu@gmail.com>
9442
2724d9c7
JB
9443 * subr.el (display-delayed-warnings): Doc fix.
9444 (collapse-delayed-warnings): New function to collapse identical
9445 adjacent warnings.
9446 (delayed-warnings-hook): Add it.
d1a5c3b4 9447
a5509865
MA
94482012-01-22 Michael Albinus <michael.albinus@gmx.de>
9449
9450 * net/tramp.el (tramp-action-login): Set connection property "login-as".
9451
a5509865
MA
9452 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9453 (tramp-default-user-alist): Don't add "pscp".
9454 (tramp-do-copy-or-rename-file-out-of-band): Use connection
9455 property "login-as", if set. (Bug#10530)
9456
cc6d5805
MA
94572012-01-21 Michael Albinus <michael.albinus@gmx.de>
9458
9459 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9460 "plink1" and "psftp". (Bug#10530)
9461
94622012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
9463
9464 * international/mule-cmds.el (prefer-coding-system): Show a
9465 warning message if the default value of file-name-coding-system
9466 was not changed.
9467
f0960428
JC
94682012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9469
cb882333
JB
9470 * windmove.el (windmove-reference-loc):
9471 Fix windmove-reference-loc miscalculation.
f0960428 9472
dd6f2a63
JB
94732012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
9474
9475 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9476 default unit.
9477
7b447e9b
GM
94782012-01-21 Glenn Morris <rgm@gnu.org>
9479
117a9ea1
GM
9480 * international/mule.el (auto-coding-alist): Add .tbz.
9481
7b447e9b
GM
9482 * files.el (local-enable-local-variables): Doc fix.
9483 (inhibit-local-variables-regexps): Rename from
9484 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
9485 Doc fix. Add some extensions from auto-coding-alist.
9486 (inhibit-local-variables-suffixes):
9487 Rename from inhibit-first-line-modes-suffixes. Doc fix.
9488 (inhibit-local-variables-p):
9489 New function, extracted from set-auto-mode-1.
9490 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
9491 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
9492 (hack-local-variables): Doc fix. Make the mode-only case
9493 respect enable-local-variables and friends.
9494 Respect inhibit-local-variables-regexps for file-locals, but
9495 not for directory-locals.
9496 (set-visited-file-name):
9497 Take account of inhibit-local-variables-regexps.
9498 Whether it applies may change as the file name is changed.
9499 * jka-cmpr-hook.el (jka-compr-install):
9500 * jka-compr.el (jka-compr-uninstall):
9501 Update for inhibit-first-line-modes-suffixes name change.
9502
dd6e3cdd
MR
95032012-01-20 Martin Rudalics <rudalics@gmx.at>
9504
9505 * help-macro.el (make-help-screen): Temporarily restore original
9506 binding for minor-mode-map-alist (Bug#10454).
9507
0d0deb38
JD
95082012-01-19 Julien Danjou <julien@danjou.info>
9509
9510 * color.el (color-name-to-rgb): Use the white color to find the max
9511 color component value and return correctly computed values.
9512 (color-name-to-rgb): Add missing float conversion for max value.
9513
34a02f46
MR
95142012-01-19 Martin Rudalics <rudalics@gmx.at>
9515
9516 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
9517 special state value for window-persistent-parameters.
9518 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
9519 (window--state-put-2): Reset all window parameters to nil before
9520 assigning values of persistent parameters.
9521
606c44c4
AM
95222012-01-18 Alan Mackenzie <acm@muc.de>
9523
9524 Eliminate sluggishness and hangs in fontification of "semicolon
9525 deserts".
9526
cb882333
JB
9527 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9528 Change value 10000 -> 3000.
606c44c4
AM
9529 (c-state-safe-place): Reformulate so it doesn't stack up an
9530 infinite number of wrong entries in c-state-nonlit-pos-cache.
9531 (c-determine-limit-get-base, c-determine-limit): New functions to
9532 determine backward search limits disregarding literals.
9533 (c-find-decl-spots): Amend commenting.
9534 (c-cheap-inside-bracelist-p): New function which detects "={".
9535
9536 * progmodes/cc-fonts.el
9537 (c-make-font-lock-BO-decl-search-function): Give a limit to a
9538 backward search.
9539 (c-font-lock-declarations): Fix an occurrence of point being
9540 undefined. Check additionally for point being in a bracelist or
9541 near a macro invocation without a semicolon so as to avoid a
9542 fruitless time consuming search for a declarator. Give a more
9543 precise search limit for declarators using the new
9544 c-determine-limit.
9545
f3860cea
GM
95462012-01-18 Glenn Morris <rgm@gnu.org>
9547
9548 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9549 (set-auto-mode): Doc fixes.
9550
1db03b16
GM
95512012-01-17 Glenn Morris <rgm@gnu.org>
9552
0e6038be
GM
9553 * isearch.el (search-nonincremental-instead): Fix doc typo.
9554
1db03b16
GM
9555 * dired.el (dired-insert-directory): Handle newlines in directory name.
9556 (dired-build-subdir-alist): Unescape newlines in directory name.
9557
4cb0aa75
MA
95582012-01-17 Michael Albinus <michael.albinus@gmx.de>
9559
9560 * net/tramp.el (tramp-local-end-of-line): New defcustom.
9561 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9562 (tramp-action-terminal): Use it. (Bug#10530)
9563
1d00653d
SM
95642012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
9565
9566 * minibuffer.el (completion--replace): Strip properties (bug#10062).
9567
6a6ee00d
MR
95682012-01-16 Martin Rudalics <rudalics@gmx.at>
9569
9570 * window.el (window-state-ignored-parameters): Remove variable.
9571 (window--state-get-1): Rename argument MARKERS to IGNORE.
9572 Handle persistent window parameters. Make copy of clone-of
9573 parameter only if requested. (Bug#10348)
9574 (window--state-put-2): Install a window parameter only if it has
9575 a non-nil value or an existing parameter shall be overwritten.
9576
97912def
MA
95772012-01-15 Michael Albinus <michael.albinus@gmx.de>
9578
9579 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9580
688070a5
EZ
95812012-01-14 Eli Zaretskii <eliz@gnu.org>
9582
9583 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9584 don't pass the (nil) value of `upnode' to string-match.
9585
301afadc
CY
95862012-01-14 Chong Yidong <cyd@gnu.org>
9587
9588 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 9589 Fix values recognized by the cursorBlink resource.
301afadc 9590
9e5788aa
PE
95912012-01-14 Paul Eggert <eggert@cs.ucla.edu>
9592
9593 * epg.el (epg--make-temp-file): Avoid permission race condition
9594 when running on old Emacs versions (bug#10403).
9595
3cdb7f5a
GM
95962012-01-14 Glenn Morris <rgm@gnu.org>
9597
9598 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9599
8c82b1b4
AM
96002012-01-13 Alan Mackenzie <acm@muc.de>
9601
9602 Fix filling for when filladapt mode is enabled.
9603
9604 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9605 c-mask-paragraph, pass in `fill-paragraph' rather than
9606 `fill-region-as-paragraph'. (This is a reversion of a previous
9607 change.)
eb864a71
LM
9608 * progmodes/cc-mode.el (c-basic-common-init):
9609 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 9610
e517eda4
GM
96112012-01-13 Glenn Morris <rgm@gnu.org>
9612
1498536e
GM
9613 * dired.el (dired-switches-escape-p): New function.
9614 (dired-insert-directory): Use dired-switches-escape-p.
9615 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
9616
e517eda4
GM
9617 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
9618
328f984d
GM
96192012-01-12 Glenn Morris <rgm@gnu.org>
9620
9621 * mail/sendmail.el (mail-mode): Update paragraph-separate for
9622 changes in adaptive-fill-regexp. (Bug#10276)
9623
2cc769a8
AM
96242012-01-11 Alan Mackenzie <acm@muc.de>
9625
9626 Fix Emacs bug #10463 - put `widen's around the critical spots.
9627
1d00653d 9628 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
9629 widen around each invocation of c-state-pp-to-literal. Remove an
9630 unused let variable.
9631
e52c37fa
GM
96322012-01-11 Glenn Morris <rgm@gnu.org>
9633
9634 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 9635 Doc fix.
e52c37fa 9636
96f8741e
CY
96372012-01-10 Chong Yidong <cyd@gnu.org>
9638
1d00653d
SM
9639 * net/network-stream.el (network-stream-open-starttls):
9640 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
9641 response to the capability command.
9642
b09a806e
GM
96432012-01-10 Glenn Morris <rgm@gnu.org>
9644
9645 * mail/unrmail.el (unrmail): Tweak previous change.
9646
7655cb66
CY
96472012-01-09 Chong Yidong <cyd@gnu.org>
9648
9649 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9650
9d5a8f0b
AM
96512012-01-08 Alan Mackenzie <acm@muc.de>
9652
9653 Optimise font locking in long enum definitions.
9654
9655 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9656 arm to a cond form to handle enums.
9657 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9658 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9659
9a0115ab 96602012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
9661
9662 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 9663 (Bug#10401)
6bb72cbd 9664
f186bb95
LMI
96652012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9666
29232a68
LMI
9667 * faces.el (set-face-attribute): Clarify the meaning of the nil
9668 frame (bug#10294).
9669
4e5d086d
LMI
9670 * subr.el (with-selected-frame): Mention that the selected frame
9671 is restored (bug#9980).
9672
8e66aebe
LMI
9673 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9674 (bug#9759).
9675
cd394be1 9676 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
9677 (password-read): Don't autoload unused function.
9678
adf4e762
JB
96792012-01-07 Juanma Barranquero <lekktu@gmail.com>
9680
9681 * progmodes/which-func.el (which-func-mode): Turn into a
9682 non-interactive function and mark as obsolete (bug#10428).
9683
89bd9ccd
CY
96842012-01-06 Chong Yidong <cyd@gnu.org>
9685
9686 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9687 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9688 functions, along with 1 and -1.
9689
4afee9d5
EZ
96902012-01-06 Eli Zaretskii <eliz@gnu.org>
9691
9692 * time.el (display-time-load-average)
9693 (display-time-default-load-average): Doc fixes. See the thread
9694 starting at
9695 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9696 for the details.
9697
536aea70
GM
96982012-01-06 Glenn Morris <rgm@gnu.org>
9699
665ae865
GM
9700 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9701 has no messages. (Bug#10377)
9702
c869783d
GM
9703 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9704 than Info-edit. (Bug#10385)
9705
2bb4227e
GM
9706 * time.el (display-time-load-average, display-time-next-load-average):
9707 Doc fixes.
9708
7d5944b9
GM
9709 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9710 local setting of buffer-read-only to the input buffer. (Bug#10419)
9711
536aea70
GM
9712 * calendar/calendar.el (calendar-mode):
9713 Locally set scroll-margin to 0. (Bug#10379)
9714
7dccca16
UM
97152012-01-06 Ulrich Mueller <ulm@gentoo.org>
9716
9717 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9718
afbb7930
GM
97192012-01-05 Glenn Morris <rgm@gnu.org>
9720
9721 * eshell/em-unix.el (diff-no-select): Autoload it.
9722 (eshell/diff): Use diff-no-select. (Bug#10420)
9723
04482335
CY
97242012-01-05 Chong Yidong <cyd@gnu.org>
9725
7baca3bc
CY
9726 * shell.el (shell-dynamic-complete-functions): Revert last change.
9727 (shell-command-completion-function): New function.
9728 (shell-completion-vars): Use it to implement
9729 shell-completion-execonly (Bug#10417).
9730
04482335
CY
9731 * custom.el (enable-theme): Don't set custom-safe-themes.
9732
1d00653d
SM
9733 * cus-theme.el (custom-theme-merge-theme):
9734 Ignore custom-enabled-themes and custom-safe-themes.
04482335 9735
bb5aa5d6
MM
97362012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9737
9738 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9739 first prompt in `sql-interacive-mode'.
9740 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 9741 keywords.
6df6ae42 9742 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
9743 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9744 context of original buffer. Invoke `sql-login-hook'.
9745
a7183d7c
EZ
97462012-01-04 Eli Zaretskii <eliz@gnu.org>
9747
9748 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9749 letters in cite-prefix.
9750
a1eacd1e
LMI
97512012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9752
9753 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9754
787cdb34
CY
97552012-01-03 Chong Yidong <cyd@gnu.org>
9756
1d00653d
SM
9757 * shell.el (shell-dynamic-complete-functions):
9758 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
9759 comint-filename-completion first (Bug#10417).
9760
30710442
RS
97612012-01-02 Richard Stallman <rms@gnu.org>
9762
9763 * battery.el (battery-status-function):
9764 Detect when to use battery-yeeloong-sysfs.
9765 (battery-echo-area-format): Add string for Yeeloong.
9766 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9767 (battery-yeeloong-sysfs): New function.
9768
f75bfc33
CY
97692012-01-02 Chong Yidong <cyd@gnu.org>
9770
9771 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9772 (dirtrack): Merge code for handling relative filenames in prompt
9773 from shell-dir-cookie-watcher.
9774 (dirtrack-debug-message): New arg to avoid excess format calls.
9775
9776 * shell.el (shell-dir-cookie-re): Variable deleted.
9777 (shell-dir-cookie-watcher): Function deleted.
9778 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9779 with dirtrack-mode.
9780
651e947e
EZ
97812012-01-01 Eli Zaretskii <eliz@gnu.org>
9782
1d00653d
SM
9783 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9784 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
9785 libgnutls-26.dll.
9786
94d4c7dc
AS
97872011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9788
9789 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9790
8d43f3cd
EZ
97912011-12-31 Eli Zaretskii <eliz@gnu.org>
9792
9793 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9794 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9795
98c8795a
MA
97962011-12-29 Michael Albinus <michael.albinus@gmx.de>
9797
9798 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9799 also for alternative shells.
9800 (tramp-open-connection-setup-interactive-shell): Check, whether
9801 the shell is a busybox.
9802 (tramp-send-command): Don't suppress multiple prompts for
9803 busyboxes, it hurts.
9804
51281b32
CY
98052011-12-28 Chong Yidong <cyd@gnu.org>
9806
9807 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9808 (gdb-get-source-file): Move mode line update to
9809 gdb-get-source-file (Bug#10087).
9810
2170cb53
CY
98112011-12-25 Chong Yidong <cyd@gnu.org>
9812
9813 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9814 gud-gdb-marker-filter without taking it as an argument.
9815 (gud-gdb-run-command-fetch-lines): Caller changed.
9816 (gud-gdb-completion-function): New variable.
9817 (gud-gdb-completion-at-point): Use it.
9818 (gud-gdb-completions-1): Split from gud-gdb-completions.
9819
9820 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9821 function as separate arguments.
9822 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9823 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9824 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9825 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9826 (gdb-stopped, def-gdb-auto-update-trigger)
9827 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
9828 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9829 Callers changed.
2170cb53
CY
9830 (gud-gdbmi-completions): New function.
9831 (gdb): Use it for generating the completion table.
9832
be8b11bb
AM
98332011-12-24 Alan Mackenzie <acm@muc.de>
9834
9835 Introduce a mechanism to widen the region used in context font
1d00653d 9836 locking. Use this to protect declarations from losing their contexts.
be8b11bb 9837
1d00653d
SM
9838 * progmodes/cc-langs.el (c-before-font-lock-functions):
9839 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 9840 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
9841 functions to be run just before context (etc.) font locking.
9842
9843 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 9844 New, functionality extracted from
be8b11bb 9845 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 9846 (c-in-after-change-fontification): New variable.
be8b11bb
AM
9847 (c-after-change): Set c-in-after-change-fontification.
9848 (c-set-fl-decl-start): Rejig its interface, so it can be called
9849 from both after-change and context fontifying.
b81d40f0
JB
9850 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9851 New functions.
9852 (c-standard-font-lock-fontify-region-function): New variable.
9853 (c-font-lock-fontify-region): New function.
be8b11bb 9854
341cf6ac
JL
98552011-12-24 Juri Linkov <juri@jurta.org>
9856
9857 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9858 (Bug#10348)
9859
bffcee0a
MA
98602011-12-23 Michael Albinus <michael.albinus@gmx.de>
9861
9862 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9863 existence of source file. (Bug#10325)
9864
cb5e207c
AM
98652011-12-23 Alan Mackenzie <acm@muc.de>
9866
9867 Fix unstable fontification inside templates.
9868
b81d40f0
JB
9869 * progmodes/cc-langs.el (c-before-font-lock-functions):
9870 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
9871 additionally has c-set-fl-decl-start. The other languages (apart
9872 from AWK) have that as a single entry.
9873
b81d40f0
JB
9874 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9875 The functionality for "local" declarations has been extracted to
cb5e207c
AM
9876 c-set-fl-decl-start.
9877
b81d40f0
JB
9878 * progmodes/cc-mode.el (c-common-init, c-after-change):
9879 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
9880 (c-set-fl-decl-start): New function, extracted from
9881 c-font-lock-enclosing-decls and enhanced.
9882
60ff536c
JB
98832011-12-23 Juanma Barranquero <lekktu@gmail.com>
9884
9885 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9886
1c4757d6
JL
98872011-12-22 Juri Linkov <juri@jurta.org>
9888
9889 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9890
d031f2c7
CY
98912011-12-22 Chong Yidong <cyd@gnu.org>
9892
9893 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9894
bace743a
DA
98952011-12-21 Drew Adams <drew.adams@oracle.com>
9896
9897 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9898
728a1f2b
JC
98992011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9900
9901 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9902
0d373f73
TZ
99032011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9904
fec0aaa4
TZ
9905 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9906 highlighting and support. Fix up comments for capitalization.
9907 (cfengine-mode-debug): New var.
9908 (cfengine3-mode): Change the modeline indicator to "CFE3".
9909 (cfengine3-font-lock-keywords): Improve defun highlighting.
9910 (cfengine2-actions): Rename from `cfengine-actions'.
9911 (cfengine2-font-lock-keywords): Rename from
9912 `cfengine-font-lock-keywords'.
9913 (cfengine2-imenu-expression): Rename from
9914 `cfengine-imenu-expression'.
9915 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9916 (cfengine2-beginning-of-defun): Rename from
9917 `cfengine-beginning-of-defun'.
9918 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9919 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9920 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9921 modeline indicator to "CFE2".
9922 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9923 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 9924
bc86f573
CY
99252011-12-21 Chong Yidong <cyd@gnu.org>
9926
9927 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9928 filename argument.
9929
d45ba96b
MR
99302011-12-20 Martin Rudalics <rudalics@gmx.at>
9931
9932 * window.el (window-normalize-buffer-to-display): Remove.
9933 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9934
a6198c90
CY
99352011-12-19 Chong Yidong <cyd@gnu.org>
9936
9937 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9938 Don't signal an error in a predicate function; return non-nil.
9939 (vc-dir-mark-file): Move the error here.
9940 (vc-dir-mark-unmark): If acting on the region, keep going if one
9941 of the entries cannot be marked/unmarked.
9942 (vc-dir-mark-all-files): If current entry is a directory, mark
9943 only child files, as documented.
9944
34c5fb55
VB
99452011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9946
9947 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9948 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9949 addition.
9950
c803b2b7
JD
99512011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9952
9953 * term/ns-win.el (ns-get-selection-internal)
9954 (ns-store-selection-internal): Declare.
1154d12e
JB
9955 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9956 Declare as obsolete.
9957 (ns-get-pasteboard, ns-paste-secondary):
9958 Use ns-get-selection-internal.
41e9b956 9959 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 9960 Use ns-store-selection-internal.
c803b2b7 9961
9cff91f8 99622011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
9963
9964 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 9965 (vc-deduce-fileset): Doc fix.
99a289d9 9966
f16c898a
AS
99672011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9968
9969 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9970
763237c4
SS
99712011-12-13 Sam Steingold <sds@gnu.org>
9972
9973 * man.el (Man-getpage-in-background): When running under a
9974 window-system, ignore $MANWIDTH and $COLUMNS.
9975
5fc1c122
KH
99762011-12-15 Kenichi Handa <handa@m17n.org>
9977
9978 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9979 (setup-ethiopic-environment-internal): Comment out key-binding for
9980 ethio-toggle-punctuation.
9981
13d49cbb
AM
99822011-12-13 Alan Mackenzie <acm@muc.de>
9983
898169a2
AM
9984 Add the switch statement to AWK Mode.
9985
7a71b18d 9986 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
9987 "default" to the keywords regexp.
9988
7a71b18d 9989 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 9990 expression as the rest.
1d00653d
SM
9991 (c-nonlabel-token-key): Allow string literals for AWK.
9992 Refactor for the other modes.
898169a2 9993
13d49cbb 9994 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 9995 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
9996 routines. Limit backward searching in c-font-lock-enclosing.decl.
9997
9998 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9999 pp-state and literal type in addition to the limits.
1d00653d 10000 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10001 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10002 (c-slow-in-literal, c-fast-in-literal): Remove.
10003 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10004
10005 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10006 being in a literal. Add a limit for backward searching.
10007
10008 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10009 c-slow-in-literal.
10010
15e0efc7
SM
100112011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10014
454592a6
MR
100152011-12-13 Martin Rudalics <rudalics@gmx.at>
10016
10017 * window.el (delete-other-windows): Use correct frame in call to
10018 window-with-parameter.
10019
87393f26
DP
100202011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10021
10022 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10023 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10024 (makefile-gmake-statements, makefile-makepp-statements):
10025 Use it and add new makepp keywords.
10026 (makefile-makepp-font-lock-keywords): Add new patterns.
10027 (makefile-match-function-end): Match new [...] and [[...]].
10028
11636b22
JB
100292011-12-11 Juanma Barranquero <lekktu@gmail.com>
10030
10031 * ses.el (ses-call-printer-return, ses-cell-property-get)
10032 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10033 (ses-create-cell-variable, ses-reset-header-string)
10034 (ses-cell-set-formula, ses-repair-cell-reference-all)
10035 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10036 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10037 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10038 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10039 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10040 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10041 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10042 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10043 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10044 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10045 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10046 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10047
cf018193
VB
100482011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10049
10050 * ses.el: The overall change is to add cell renaming, that is
10051 setting fancy names for cell symbols other than name matching
10052 "\\`[A-Z]+[0-9]+\\'" regexp .
10053 (ses-create-cell-variable): New defun.
10054 (ses-relocate-formula): Relocate formulas only for cells the
10055 symbols of which are not renamed, i.e. symbols whose names do not
10056 match regexp "\\`[A-Z]+[0-9]+\\'".
10057 (ses-relocate-all): Relocate values only for cells the symbols of
10058 which are not renamed.
10059 (ses-load): Create cells variables as the (ses-cell ...) are read,
10060 in order to check row col consistency with cell symbol name only
10061 for cells that are not renamed.
10062 (ses-replace-name-in-formula): New defun.
10063 (ses-rename-cell): New defun.
10064
ee957461
CY
100652011-12-11 Chong Yidong <cyd@gnu.org>
10066
10067 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10068 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10069
9a9e9ef0
MR
100702011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10071
10072 * window.el (other-window): Fix docstring.
10073
92a8eba5
EZ
100742011-12-10 Eli Zaretskii <eliz@gnu.org>
10075
10076 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10077 `from' or `to' address before taking its substring.
10078 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10079 encoded name is chopped in the middle of the encoded string, and
10080 thus displayed encoded.
10081
e152e577
JB
100822011-12-10 Juanma Barranquero <lekktu@gmail.com>
10083
10084 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10085
e5d84bfe
EZ
100862011-12-10 Eli Zaretskii <eliz@gnu.org>
10087
10088 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10089 to use texinfo-update-node and commands that call it if the
10090 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10091 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10092 (texinfo-all-menus-update, texinfo-master-menu)
10093 (texinfo-update-node, texinfo-every-node-update)
10094 (texinfo-multiple-files-update): Doc fix. Warn against updating
10095 all the @node lines.
10096 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10097 argument is numeric. Explain better in the doc string what the
10098 function really does.
10099 (texinfo-insert-master-menu-list): Improve the error message
10100 displayed if there's no menu in the Top node.
10101 (Bug#2975) See also this thread:
e5d84bfe
EZ
10102 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10103
1d84e9bb
MG
101042011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10105
10106 * speedbar.el (speedbar-supported-extension-expressions):
10107 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10108
382c953b
JB
101092011-12-09 Juanma Barranquero <lekktu@gmail.com>
10110
10111 * printing.el (pr-mode-alist):
10112 * simple.el (filter-buffer-substring-functions)
10113 (completion-list-insert-choice-function):
10114 * window.el (window-with-parameter, window-atom-root)
10115 (window-sides-slots, window-size-fixed, window-min-delta)
10116 (window-max-delta, window--resize-mini-window)
10117 (window--resize-child-windows-normal, window-tree)
10118 (delete-other-windows, quit-window, split-window)
10119 (display-buffer-record-window, special-display-buffer-names)
10120 (special-display-regexps, special-display-popup-frame)
10121 (same-window-p, split-window-sensibly)
10122 (display-buffer-overriding-action, display-buffer-alist)
10123 (display-buffer-base-action, display-buffer, switch-to-buffer)
10124 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10125 (fit-window-to-buffer, recenter-positions)
10126 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10127 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10128 and remove unneeded backslashes in docstrings.
10129
39c9faef
SM
101302011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10131
98449af8
SM
10132 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10133
39c9faef
SM
10134 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10135 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10136 end in ".mk".
10137 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10138 when reading the makefile (bug#10116).
10139
86ed9fdc
SM
101402011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10141
10142 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10143 (bug#10116).
10144
5580f89d
GM
101452011-12-06 Glenn Morris <rgm@gnu.org>
10146
10147 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10148
28d3917c
CY
101492011-12-06 Chong Yidong <cyd@gnu.org>
10150
10151 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10152
a98edce9
JB
101532011-12-06 Juanma Barranquero <lekktu@gmail.com>
10154
10155 * textmodes/table.el (table-shorten-cell): Fix typo.
10156
e65adfac
CG
101572011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10158
10159 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10160
71cc0b74
EZ
101612011-12-05 Eli Zaretskii <eliz@gnu.org>
10162
10163 * descr-text.el (describe-char): Fix display of strong
10164 right-to-left characters and directional embeddings and overrides.
10165
10166 * simple.el (what-cursor-position): Fix display of codepoints of
10167 strong right-to-left characters.
10168
315bc30d
CY
101692011-12-05 Chong Yidong <cyd@gnu.org>
10170
10171 * faces.el (read-color): Doc fix.
10172
58a70b94
GM
101732011-12-05 Glenn Morris <rgm@gnu.org>
10174
10175 * align.el (align--set-marker): Add doc-string.
10176 Don't try to move something that is not a marker. (Bug#10216)
10177
5158face
GM
101782011-12-04 Glenn Morris <rgm@gnu.org>
10179
10180 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10181 overly zealous deletion of trailing whitespace.
10182
520fca41
JB
101832011-12-04 Juanma Barranquero <lekktu@gmail.com>
10184
10185 * server.el (server-delete-client): On Windows, do not try to delete
10186 the only terminal.
10187 (server-process-filter): On Windows, treat requests for a tty frame as
10188 if they were for a GUI frame if the running server is in GUI mode.
10189
5e605a2e
GM
101902011-12-03 Glenn Morris <rgm@gnu.org>
10191
10192 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10193
5c3fe83f
SM
101942011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10195
6f5e57e7
SM
10196 * electric.el: Streamline electric-indent's hook.
10197 (electric-indent-chars): Revert to simple list.
10198 (electric-indent-functions): New var.
10199 (electric-indent-post-self-insert-function): Use it.
10200
5c3fe83f
SM
10201 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10202 there's no inferior buffer (bug#10196).
10203 (prolog-consult-compile): Don't use toggle-read-only.
10204
6bdac736
MA
102052011-12-02 Michael Albinus <michael.albinus@gmx.de>
10206
10207 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10208 interrupt. (Bug#10187)
10209
6131ba7f
SM
102102011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10211
99c79fee
SM
10212 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10213 (bug#9160).
10214
6131ba7f
SM
10215 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10216 (bug#10191).
10217
cb0a02ea
JL
102182011-12-02 Juri Linkov <juri@jurta.org>
10219
10220 * info.el (Info-search): Display "end of manual" when Isearch
10221 reaches the end of single-file Info manual. (Bug#9918)
10222
66e0570c
EZ
102232011-12-02 Eli Zaretskii <eliz@gnu.org>
10224
10225 * isearch.el (isearch-message-prefix): Run the input method part
10226 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10227
02b16839
JL
102282011-12-02 Juri Linkov <juri@jurta.org>
10229
10230 * isearch.el (isearch-occur): Use `word-search-regexp' for
10231 `isearch-word'.
10232 (isearch-search-and-update): Add condition for `isearch-word' and
10233 call `word-search-regexp'. (Bug#10145)
10234
0b950688
GM
102352011-12-01 Glenn Morris <rgm@gnu.org>
10236
10237 * eshell/em-hist.el (eshell-hist-initialize):
10238 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 10239 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 10240
9505c3c7
SM
102412011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10242
10243 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10244
1bbe96b2 102452011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 10246
a1beca85
SM
10247 * progmodes/verilog-mode.el (verilog-pretty-expr):
10248 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
10249 verilog, such as += *= and the like.
10250 (verilog-assignment-operator-re): Regular expression to find the
10251 assigment operator in a verilog assignment.
10252 (verilog-assignment-operation-re): Regular expression to find an
10253 assignment statement for pretty-expr.
10254 (verilog-in-attribute-p): Query returns true if point is in an
10255 attribute context; used to skip these for expression line up from
10256 pretty-expr.
10257 (verilog-in-parameter-p): Query returns true if point is in an
10258 parameter definition context; used to skip these for expression
10259 line up from pretty-expr.
10260 (verilog-in-parenthesis-p): Query returns true if point is in a
10261 parenthetical expression, specifically ( ) but not [ ] or { };
10262 used by pretty-expr.
10263 (verilog-just-one-space): If there is no space, don't add one.
10264 (verilog-get-lineup-indent-2): Specifically skip just attribute
10265 contexts for expression lineup, rather than skipping all
10266 parenthetical expressions.
10267 (verilog-calculate-indent): Fix comment, and fix indent.
10268 (verilog-do-indent): Indent declarations in lists (suggested by
10269 Joachim Lechner).
10270 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10271 skeleton items.
10272 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10273 by Alain Mellan).
10274
1bbe96b2 102752011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
10276
10277 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10278 parameters with embedded comments. Reported by Ray Stevens.
10279 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10280 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10281 Reported by Tim Holt.
10282 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10283 instantiated by upper module causing wrong expansion until AUTOed a
10284 second time. Reported by K C Buckenmaier.
10285 (verilog-diff-auto): Fix showing .* as a difference when
10286 `verilog-auto-star-save' off. Reported by Dan Dever.
10287 (verilog-auto-reset, verilog-read-always-signals)
10288 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10289 temporary signals in reset list if
10290 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
10291 style to each signal's assignment type, bug381.
10292 Reported by Thomas Esposito.
6288f0ca
WS
10293 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10294 (verilog-uvm-statement-re): Support UVM indentation and
10295 highlighting, with old OVM keywords only.
a1beca85 10296 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
10297 Support AUTOTIEOFF creating non-wire data types.
10298 Suggested by Jonathan Greenlaw.
6288f0ca
WS
10299 (verilog-auto-insert-lisp, verilog-delete-to-paren)
10300 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10301 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
10302 (verilog-read-sub-decls, verilog-read-sub-decls-line):
10303 Fix mismatching parenthesis inside commented out code when deleting
382c953b 10304 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
10305 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10306 non-numeric vector width. Reported by Alex Reed.
10307 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 10308 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
10309 (verilog-auto-delete-trailing-whitespace):
10310 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
10311 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
10312 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10313 Fix verilog-scan-cache corruption when running user AUTO expansion
10314 hooks that call indentation routines.
10315 (verilog-simplify-range-expression): Fix typo ignoring lower case
10316 identifiers.
10317 (verilog-delete-auto): Fix delete-autos to also remove user created
10318 automatics, as long as they start with AUTO.
10319 (verilog-batch-diff-auto, verilog-diff-auto)
10320 (verilog-diff-function): Add `verilog-diff-auto' and bind to
10321 "C-c?" to report differences in AUTO expansion, ignoring spaces.
10322 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10323 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
10324 (verilog-re-search-forward-quick, verilog-syntax-ppss):
10325 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
10326 is disabled and its cache will get corrupt, causing AUTOS not to
10327 expand. Instead use only -quick functions.
10328 (verilog-scan-region): Fix scanning over escaped quotes.
10329 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10330 (verilog-re-search-backward-quick)
10331 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10332 related functions now ignore strings, to fix misparsing of strings
10333 with magic comments embedded in them.
a1beca85
SM
10334 (verilog-read-auto-template):
10335 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10336 Reported by Brad Dobbie.
10337 (verilog-read-auto-template):
10338 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 10339 Reported by Brad Dobbie.
6288f0ca
WS
10340 (verilog-auto-inst, verilog-auto-inst-param)
10341 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10342 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
10343 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
10344 debugging templates without merge conflicts, bug357.
10345 Reported by Brad Dobbie.
10346 (verilog-read-auto-template):
10347 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
10348 Reported by Brad Dobbie.
10349 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10350 abbrevs so user won't be asked to save.
10351 (verilog-read-auto-lisp-present): Fix to start at beginning of
10352 buffer in case called outside of verilog-auto.
10353 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10354 to "X-2". Reported by Matthew Myers.
10355 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10356 all inputs from module templates. Reported by Leith Johnson.
10357 (verilog-module-inside-filename-p): Fix locating programs as with
10358 modules.
10359 (verilog-auto-inst-port): Fix vl-width expressions when using
10360 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
10361 (verilog-decls-get-regs, verilog-decls-get-signals,
10362 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10363 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10364 verilog-read-decls): Combine reg and wire structures into one var
10365 structure to represent SystemVerilog concepts.
10366 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10367 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
10368 (verilog-auto-wire-type, verilog-insert-definition):
10369 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
10370 SystemVerilog "logic" keyword instead of "wire"/"reg".
10371 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10372 to declares outputs that also have assignments (presumably in an
a1beca85
SM
10373 ifdef or generate if so there's not a driver conflict).
10374 Reported by Matthew Myers.
10375 (verilog-auto-declare-nettype, verilog-insert-definition):
10376 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
10377 `default_nettype none. Reported by Julian Gorfajn.
10378 (verilog-read-always-signals-recurse, verilog-read-decls)
10379 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10380 malformed end statement, bug325. Reported by Joshua Wise and
10381 Andrew Drake.
10382 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10383 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
10384 when expanding .* in interfaces, bug320.
10385 Reported by Pierre-David Pfister.
6288f0ca 10386 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
10387 name and open parenthesis, bug317.
10388 Reported by Pierre-David Pfister.
6288f0ca
WS
10389 (verilog-simplify-range-expression): Fix simplification of
10390 multiplications inside AUTOWIRE connections, bug303.
10391 (verilog-auto-inst-port): Support parameter expansion in
10392 multidimensional arrays.
10393 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10394 after "assert property". Reported by Julian Gorfajn.
10395 (verilog-simplify-range-expression): Fix "couldn't merge" errors
10396 with multiplication, bug303.
10397 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10398 Reported by Jan Frode Lonnum.
10399
1bbe96b2
GM
104002011-11-30 Juanma Barranquero <lekktu@gmail.com>
10401
10402 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10403 (hfy-shell-file-name, hfy-shell):
10404 * international/fontset.el (x-decompose-font-name): Fix typos.
10405
104062011-11-29 Ken Brown <kbrown@cornell.edu>
10407
10408 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10409 (gdb-version): Remove defvar.
10410 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10411 (gdb-gud-context-command, gdb-non-stop-handler)
10412 (gdb-current-context-command, gdb-stopped): Use it.
10413 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
10414 (gdb-non-stop-handler): Don't enable pretty-printing here.
10415 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
10416 non-stop mode. Use the following.
10417 (gdb-check-target-async): New defun.
10418 (gud-watch, gdb-stopped): Fix whitespace.
10419 (gdb-get-source-file): Don't try to display the source file if
10420 `gdb-main-file' is nil.
10421
104222011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10423
10424 * align.el: Try to generate fewer markers (bug#10047).
10425 (align--set-marker): New macro.
10426 (align-region): Use it.
10427
c935221f
SM
104282011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
10429
10430 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10431
e70b5064
CY
104322011-11-29 Chong Yidong <cyd@gnu.org>
10433
10434 * indent.el (indent-for-tab-command, indent-according-to-mode):
10435 Doc fix.
10436 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
10437
f3af92b7
MA
104382011-11-29 Michael Albinus <michael.albinus@gmx.de>
10439
10440 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10441 aware of remote file names. (Bug#10124)
10442
ed472be9
CY
104432011-11-29 Chong Yidong <cyd@gnu.org>
10444
10445 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10446
24510c22
SM
104472011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
10448
10449 * files.el (find-file): Don't use force-same-window (bug#10144).
10450 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10451 use pop-to-buffer if the selected window can't be used.
10452 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10453
c60c3703
EZ
104542011-11-28 Eli Zaretskii <eliz@gnu.org>
10455
10456 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10457 special-mode-map.
10458
e95def75
CY
104592011-11-28 Chong Yidong <cyd@gnu.org>
10460
10461 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10462
c3f1c606
NR
104632011-11-27 Nick Roberts <nickrob@snap.net.nz>
10464
10465 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10466 gdb-get-source-file-list on gdb-create-source-file-list.
10467
00db469c
EZ
104682011-11-26 Eli Zaretskii <eliz@gnu.org>
10469
10470 * whitespace.el (whitespace-newline): Use a different foreground
10471 color for 16-color light-background displays.
10472
4ad3bc2a
CY
104732011-11-24 Chong Yidong <cyd@gnu.org>
10474
10475 * window.el (display-buffer--special-action): Doc fix.
10476
e9fce1ac
JB
104772011-11-25 Juanma Barranquero <lekktu@gmail.com>
10478
10479 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10480 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10481 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10482 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10483 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10484 (avl-tree-stack-first):
10485 * emacs-lisp/cconv.el (cconv--analyse-use):
10486 * net/gnutls.el (gnutls-negotiate): Fix typos.
10487
cb825e5d
GM
104882011-11-24 Glenn Morris <rgm@gnu.org>
10489
3adbe224
GM
10490 * lpr.el (lpr-windows-system, lpr-lp-system):
10491 * mail/binhex.el (binhex-begin-line):
10492 * progmodes/grep.el (grep-history, grep-find-history):
10493 * textmodes/flyspell.el:
10494 * vc/pcvs-defs.el (cvs-global-menu):
10495 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10496 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10497 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10498
321decc8
GM
10499 * net/tls.el: Fix case of "GnuTLS".
10500
420b63ad
GM
10501 * paths.el (rmail-file-name): Format doc-string for make-docfile.
10502
cb825e5d
GM
10503 * version.el (emacs-build-system): Give it a doc-string.
10504
a0649f08
JL
105052011-11-24 Juri Linkov <juri@jurta.org>
10506
10507 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
10508
c0bc0fd4
GM
105092011-11-24 Glenn Morris <rgm@gnu.org>
10510
10511 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10512 if called on a non-mime message just toggle the headers. (Bug#8006)
10513
20db1522
JB
105142011-11-24 Juanma Barranquero <lekktu@gmail.com>
10515
10516 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10517 (allout-lead-with-comment-string, allout-structure-deleted-hook)
10518 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10519 (allout-rebullet-heading, allout-open-sibtopic)
10520 (allout-toggle-current-subtree-encryption)
10521 (allout-toggle-subtree-encryption, allout-encrypt-string)
10522 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10523 (allout-distinctive-bullets-string, allout-auto-activation):
10524 * window.el (window-normalize-buffer-to-display):
10525 * progmodes/verilog-mode.el (verilog-batch-indent):
10526 * textmodes/bibtex.el (bibtex-field-braces-opt)
10527 (bibtex-field-strings-opt):
10528 * vc/cvs-status.el (cvs-tree-merge):
10529 Fix typos.
10530
7262a87c
MA
105312011-11-23 Michael Albinus <michael.albinus@gmx.de>
10532
10533 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10534 `non-essential' to t, in order to avoid remote connections.
10535
283430a1
EZ
105362011-11-23 Eli Zaretskii <eliz@gnu.org>
10537
a1beca85
SM
10538 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10539 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
10540 case-insensitively.
10541
d2992a38
ML
105422011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10543
10544 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
10545
50419064
GM
105462011-11-23 Glenn Morris <rgm@gnu.org>
10547
da94eca1
GM
10548 * paths.el (rmail-file-name): Reformat the doc-string so that it
10549 is picked up.
10550
9aac4de2
GM
10551 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10552 (rmail-auto-file): Ignore case in the "special" field names,
10553 as mail-fetch-field does for all others.
10554
8038d2d2
GM
10555 * mail/rmail.el (rmail-forward):
10556 * mail/rmailkwd.el (rmail-set-label):
10557 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10558 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
10559
f3fe222a
GM
10560 * mail/rmail.el (rmail-current-message): Doc fix.
10561
50419064
GM
10562 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
10563
28109f49
SM
105642011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
10565
10566 * server.el (server-eval-and-print): Allow C-g (bug#6585).
10567
394c65f1
GM
105682011-11-22 Glenn Morris <rgm@gnu.org>
10569
10570 * mail/rmailmm.el (test-rmail-mime-handler)
10571 (test-rmail-mime-bulk-handler)
10572 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10573
f2a0aa3a
JL
105742011-11-21 Juri Linkov <juri@jurta.org>
10575
1154d12e
JB
10576 * calc/calc.el (calc-read-key-sequence):
10577 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 10578
9c34a344
LMI
105792011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10580
10581 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10582 Tell the caller that the next line needs recomputation, even
10583 though it doesn't start a sexp (bug#10094).
10584
f04a3be9
SM
105852011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10586
10587 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10588
7978747f
SM
105892011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10590
f04a3be9
SM
10591 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10592 Use force-same-window.
7978747f 10593
fe7a3057
JB
105942011-11-20 Juanma Barranquero <lekktu@gmail.com>
10595
10596 * descr-text.el (describe-char-unicode-data):
10597 * json.el (json-string-escape):
10598 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10599 (Footnote-unicode, Footnote-style-p):
10600 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10601
24901d61
CY
106022011-11-20 Chong Yidong <cyd@gnu.org>
10603
10604 * window.el (replace-buffer-in-windows): Restore interactive spec.
10605
bac7ff22
SM
106062011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
10607
24f3d7b9
SM
10608 * electric.el (electric-indent-mode): Fix last change (too optimistic).
10609
bac7ff22
SM
10610 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10611 (byte-compile-global-not-obsolete-vars): New var.
10612 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10613 Use it.
10614 (byte-compile-warn-obsolete): Align text with the one in *Help*.
10615
cd1181db
JB
106162011-11-20 Juanma Barranquero <lekktu@gmail.com>
10617
10618 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10619 * progmodes/pascal.el (electric-pascal-equal):
10620 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10621 * xml.el (xml-substitute-special): Fix typos.
10622
7fb18e9e
GM
106232011-11-20 Glenn Morris <rgm@gnu.org>
10624
10625 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10626 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10627 Doc fixes.
10628 (rmail-decode-mime-charset): Mark as obsolete.
10629
10630 * mail/rmailsum.el (rmail-message-regexp-p-1):
10631 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10632 Before using mime functions, check they are set. (Bug#10077)
10633
d5a6b3ba
JL
106342011-11-19 Juri Linkov <juri@jurta.org>
10635
10636 * info.el (Info-finder-find-node): Use `package--builtins' instead
10637 of `package-alist'. Use node names formed by the pattern "Keyword "
10638 and the keyword name.
10639
e981b61f
AS
106402011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10641
1d00653d 10642 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 10643
3ffbc301
JL
106442011-11-19 Juri Linkov <juri@jurta.org>
10645
10646 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10647 that calls `revert-buffer' on all Info buffers. (Bug#9915)
10648 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10649 `old-history', `old-history-forward'. Add let-binding
10650 `window-selected'. Remove calls to `kill-buffer',
10651 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
10652 before calling `Info-find-node', so `Info-find-node-2' will reread
10653 the Info file. Restore window positions only when `window-selected'
10654 is non-nil.
10655
30c62133
JL
106562011-11-19 Juri Linkov <juri@jurta.org>
10657
10658 * isearch.el (isearch-lazy-highlight-new-loop):
10659 Remove condition `(not isearch-error)'. (Bug#9918)
10660
10661 * misearch.el (multi-isearch-search-fun): Add condition
10662 `(not bound)' to ignore lazy-highlighting search.
10663 Add the search-failed message "end of multi" when the end of
10664 multi-sequence is reached. Uncapitalize the search-failed
10665 message "Repeat for next buffer".
10666
10667 * info.el (Info-search): Add the search-failed message
10668 "end of the manual" when the end of the manual is reached
10669 in Isearch mode.
10670
645ca9cf
JL
106712011-11-19 Juri Linkov <juri@jurta.org>
10672
10673 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10674 Use non-destructive `remove' instead of `delete' because
10675 `Info-history-list' stored to `Info-isearch-initial-history-list' in
10676 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10677
df754f66
JL
106782011-11-19 Juri Linkov <juri@jurta.org>
10679
10680 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10681 to nil instead of binding `search-ring' and `regexp-search-ring'.
10682 (Bug#9185)
10683
0e23d96a
EZ
106842011-11-19 Eli Zaretskii <eliz@gnu.org>
10685
10686 * simple.el (line-move): Force movement by logical lines for any
10687 hscrolled window, not only when auto-hscroll-mode is on.
10688 (line-move-visual): Update doc string to that effect. (Bug#10076)
10689
8a6ccb66
AS
106902011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10691
10692 * language/european.el (macintosh): Define as alias for mac-roman.
10693
49ae5b39
EZ
106942011-11-19 Eli Zaretskii <eliz@gnu.org>
10695
10696 * mail/rmailmm.el (rmail-mime-display-header)
10697 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10698 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10699 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10700 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10701 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10702 of a raw aref.
10703 (rmail-mime-entity-segment): To get past the tagline, move forward
10704 2 more lines, to account for the 2 empty lines that precede and
10705 follow the line with the buttons.
10706 (rmail-mime-update-tagline): Move one more line, to get past the
10707 empty line that follows the buttons in the tagline. (Bug#9520)
10708
c56cad4a
MR
107092011-11-19 Martin Rudalics <rudalics@gmx.at>
10710
10711 * window.el (window-max-delta-1, window-min-delta-1)
10712 (window-min-size-1, window-state-get-1, window-state-put-1)
10713 (window-state-put-2): Use "window--" prefix.
10714
cbe71af3
SM
107152011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10716
2ad52c60
SM
10717 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10718 (smie-warning-count): New var.
10719 (smie-set-prec2tab): Use it.
10720 (smie-bnf->prec2): Improve warnings. Add docstring.
10721 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10722 (smie-bnf--set-class): New function.
10723 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10724 corner case.
10725
6944dbc1
SM
10726 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10727 (compilation-error-properties, compilation-move-to-column):
10728 Handle compilation-first-column while in the target buffer.
10729
c400c4d7
SM
10730 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10731 Don't hardcode point-min==1.
10732
6dbe3e96
SM
10733 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10734 (eshell-rewrite-for-command): Remove workaround.
10735 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10736 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10737 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10738
cbe71af3
SM
10739 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10740
a8e1496d
GM
107412011-11-17 Glenn Morris <rgm@gnu.org>
10742
10743 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10744 Ignore buffer-local generated-autoload-file if it is the same
10745 as the global value. (Bug#10049)
10746
df85d315
JB
107472011-11-17 Juanma Barranquero <lekktu@gmail.com>
10748
10749 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10750 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10751 (reftex-toc-previous-heading, reftex-toc-max-level)
10752 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10753 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10754 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10755 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10756 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10757 (reftex-toc-rename-label, reftex-toc-visit-location)
10758 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10759 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10760 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10761 leaving "*toc*" only for references to the buffer.
10762
a0c2d0ae
MR
107632011-11-17 Martin Rudalics <rudalics@gmx.at>
10764
10765 * window.el (window-resize, delete-window, split-window):
10766 Replace window-splits by window-combination-resize.
1d00653d 10767 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 10768
35c0bac8
GM
107692011-11-17 Glenn Morris <rgm@gnu.org>
10770
10771 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10772 Make bash entry derive from sh entry, not shell entry.
10773
d0c8fc8a
MA
107742011-11-16 Michael Albinus <michael.albinus@gmx.de>
10775
7262a87c
MA
10776 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10777 local file name.
10778
7877f373
JB
107792011-11-16 Juanma Barranquero <lekktu@gmail.com>
10780
10781 * menu-bar.el (menu-bar-file-menu):
10782 * printing.el (pr-ps-utility):
10783 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10784 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10785 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10786 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10787 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10788 (icalendar--convert-cyclic-to-ical)
10789 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10790 (icalendar--convert-ical-to-diary)
10791 (icalendar--convert-recurring-to-diary)
10792 (icalendar--convert-non-recurring-all-day-to-diary)
10793 (icalendar-import-format-sample):
10794 * progmodes/idlw-shell.el (idlwave-shell-mode):
10795 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10796 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10797 (vhdl-ps-print-init): Fix typos.
10798
10649b82
KM
107992011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10800
9d0cfcd6
GM
10801 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10802 FSF and collapse date sequence, obscure author/maintainer email address
10803 better, remove extra version line, track relocation of author's webpage.
10649b82 10804
9d0cfcd6
GM
10805 * progmodes/python.el (python-pdbtrack-input-prompt)
10806 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10807 regular python pdb prompts. Adjustments shamelessly taken exactly as
10808 suggested in EmacsWiki page (tiny change):
10809 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 10810
58179cce
JB
108112011-11-16 Juanma Barranquero <lekktu@gmail.com>
10812
10813 * expand.el (expand-pos, expand-index, expand-point):
10814 Remove redundant info from docstring.
10815 (expand-add-abbrevs): Doc fix.
10816 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10817 (expand-sample-perl-mode-expand-list): Fix typos.
10818
10819 * net/dbus.el (dbus-event-member-name):
10820 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10821 * term/pc-win.el (msdos-create-frame-with-faces):
10822 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10823
b6f67890
MR
108242011-11-16 Martin Rudalics <rudalics@gmx.at>
10825
10826 * window.el (split-window, window-state-get-1)
10827 (window-state-put-1, window-state-put-2): Rename occurrences of
10828 window-nest to window-combination-limit.
1d00653d 10829 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 10830
ce7ddba0
CY
108312011-11-16 Chong Yidong <cyd@gnu.org>
10832
10833 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10834 regexp (Bug#10033).
10835
3ae704f4
SM
108362011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10837
10838 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10839 `completing-read' will remove *Completions* and will preserve
10840 current-buffer for us.
10841 (tmm-add-prompt): Users of *Completions* will always (re)set its
10842 major mode.
10843 (tmm-old-comp-map): Remove.
10844
6ad1cdde
GM
108452011-11-16 Glenn Morris <rgm@gnu.org>
10846
10847 * mail/rmailedit.el: Require rmailmm when compiling.
10848 (rmail-old-mime-state): New declaration.
10849 (rmail-edit-current-message): If editing a mime message,
10850 edit the "raw" message from the mbox buffer.
10851 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10852
d20faa20
GM
108532011-11-15 Glenn Morris <rgm@gnu.org>
10854
10855 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10856 which wasn't being used. Add optional arg to force given state.
10857 (rmail-mime): Add optional arg to force given state.
10858
c7015153
JB
108592011-11-15 Juanma Barranquero <lekktu@gmail.com>
10860
10861 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10862 * frame.el (display-mm-dimensions-alist):
10863 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10864 (outline-move-subtree-down):
10865 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10866 (newsticker--treeview-do-get-node):
10867 * net/quickurl.el (quickurl-list-buffer-name):
10868 * progmodes/dcl-mode.el (dcl-mode):
10869 * progmodes/gdb-mi.el (gdb-mapcar*):
10870 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10871
45261b50
GM
108722011-11-15 Glenn Morris <rgm@gnu.org>
10873
10874 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10875 in a boolean sense, so just make it a boolean, and fix the doc.
10876 (rmail-show-mime-function, rmail-mime-feature)
10877 (rmail-require-mime-maybe): Doc fixes.
10878 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10879
10880 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10881
0d26e0b6
JB
108822011-11-15 Juanma Barranquero <lekktu@gmail.com>
10883
10884 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10885 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10886 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10887 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10888
447f30f6
GM
108892011-11-15 Glenn Morris <rgm@gnu.org>
10890
672b871d
GM
10891 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10892 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10893 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10894 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10895 (rmail-mime, rmail-show-mime): Doc fixes.
10896
f6aa5bb1
GM
10897 * term/ns-win.el (mode-line-frame-identification):
10898 Leave it alone. (Bug#10051)
10899
947cd66b
GM
10900 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10901
447f30f6
GM
10902 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10903 Handle empty buffers. (Bug#9978)
10904
0b381c7e
JB
109052011-11-14 Juanma Barranquero <lekktu@gmail.com>
10906
10907 * international/mule.el (define-charset):
10908 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10909 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10910 * progmodes/verilog-mode.el (verilog-backward-token):
10911 * textmodes/ispell.el (lookup-words):
10912 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10913
71e027ac
GM
109142011-11-14 Glenn Morris <rgm@gnu.org>
10915
56632ce4
GM
10916 * progmodes/executable.el
10917 (executable-make-buffer-file-executable-if-script-p):
10918 Handle file-modes returning nil.
10919
40500957
GM
10920 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10921 message - not necessary, and causes problems. (Bug#9831)
10922
071c2340
GM
10923 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10924
d3cfca60
GM
10925 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10926
71e027ac
GM
10927 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10928 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10929 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10930
89d61221
MR
109312011-11-12 Martin Rudalics <rudalics@gmx.at>
10932
10933 * window.el (window-resize, delete-window): Use window-splits
10934 variable instead of function.
10935 (window-state-get-1, window-state-put-2, window-state-put):
10936 Don't deal with windows' splits status.
10937
98282f6f
GM
109382011-11-12 Glenn Morris <rgm@gnu.org>
10939
10940 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10941 (apropos-documentation): Doc fixes.
10942
40a8bdf6
JB
109432011-11-11 Juanma Barranquero <lekktu@gmail.com>
10944
10945 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10946 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10947
65bd19ff
SM
109482011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10949
10950 * electric.el (electric-indent-post-self-insert-function): Make it
10951 possible for a char to only indent in some circumstances.
10952 (electric-indent-mode): Simplify.
10953
54f9154c
MR
109542011-11-11 Martin Rudalics <rudalics@gmx.at>
10955
10956 * window.el (windows-with-parameter): Remove unused function.
10957 (windows-at-side): Rename to window-at-side-list.
10958 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
10959 (window-side-check, window-size-ignore, window-size-fixed-1)
10960 (window-in-direction-2): Prefix with "window--".
10961 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 10962
68cbc58b
GM
109632011-11-11 Glenn Morris <rgm@gnu.org>
10964
10965 * subr.el (eval-after-load): If FILE is already loaded,
10966 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10967
b2621720
GM
109682011-11-10 Glenn Morris <rgm@gnu.org>
10969
9a4de110
GM
10970 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10971 Call svn via vc-svn-command rather than vc-do-command.
10972 (vc-svn-command): Add --non-interactive. (Bug#9993)
10973 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10974
b2621720
GM
10975 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10976 Add toggle-read-only. (Bug#7292)
10977 * files.el (toggle-read-only): Mention that it should only
10978 be used interactively. (Bug#10006)
10979
1dce7193
SM
109802011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10981
d9ac1a1e
SM
10982 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10983 Adjust regexp for OCaml warnings.
10984
0c325082
SM
10985 * electric.el (electric-pair-post-self-insert-function): Let user
10986 turn it off buffer-locally (bug#9932).
10987
90132c14
SM
10988 * progmodes/python.el (python-beginning-of-statement):
10989 Rewrite (bug#2703).
10990
1dce7193
SM
10991 * progmodes/compile.el: Better handle TABs (bug#9749).
10992 (compilation-internal-error-properties)
10993 (compilation-next-error-function): Obey the target buffer's
10994 compilation-error-screen-columns.
10995
c4e7c63a
JB
109962011-11-09 Juanma Barranquero <lekktu@gmail.com>
10997
10998 * progmodes/meta-mode.el: Remove obsolete comments.
10999 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11000 Fix typos in docstrings.
11001
2cffd681
MR
110022011-11-09 Martin Rudalics <rudalics@gmx.at>
11003
11004 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11005 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11006 (window--resizable): New function. Make all callers of
11007 window-resizable call window--resizable instead.
11008 (window-resizable): Rewrite in terms of window--resizable.
11009
0edcba87
GM
110102011-11-08 Glenn Morris <rgm@gnu.org>
11011
11012 * progmodes/delphi.el (delphi-mode-syntax-table):
11013 Let define-derived-mode define a proper syntax table. (Bug#9994)
11014
4b0d61e3
SM
110152011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11016
11017 * window.el: Stay away from defsubst.
11018 (window-list-no-nils): Remove.
11019 (window-state-get-1, window-state-get): Use backquote instead.
11020
cd394be1 110212011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11022
4b0d61e3 11023 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11024 Fix incorrect use of default argument in `completing-read'.
11025
e1c2c6f2
MR
110262011-11-08 Martin Rudalics <rudalics@gmx.at>
11027
11028 * window.el (display-buffer-function, special-display-function):
11029 Mention display-buffer-record-window but do not mention
11030 help-setup parameter in doc-strings.
b3f4a882 11031 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11032
105216ed
CY
110332011-11-08 Chong Yidong <cyd@gnu.org>
11034
11035 * window.el (window-total-height, window-total-width): Doc fix.
11036 (window-body-size): Move from C.
11037 (window-body-height, window-body-width): Move to C.
11038
0a9f9ab5
SM
110392011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11040
11041 * window.el: Make special-display like display-buffer-alist (bug#9532).
11042 (display-buffer--special-action): New function, morphed
11043 from display-buffer--special.
11044 (display-buffer): Use it to handle special-display-buffers at higher
11045 priority (just after display-buffer-alist).
11046 (display-buffer-fallback-action, display-buffer--other-frame-action)
11047 (pop-to-buffer-same-window): Remove display-buffer--special.
11048
a769dd15
GM
110492011-11-07 Glenn Morris <rgm@gnu.org>
11050
11051 * calendar/cal-menu.el (cal-menu-set-date-title):
11052 Do nothing if not in a calendar. (Bug#9976)
11053
05a61ee3
SM
110542011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11055
11056 * files.el (find-file): Always use selected-window.
11057
be7f5545
MR
110582011-11-07 Martin Rudalics <rudalics@gmx.at>
11059
11060 * window.el (window-combinations): Make WINDOW argument
11061 mandatory. Rewrite doc-string.
11062 (walk-window-subtree, window-atom-check, window-min-delta)
11063 (window-max-delta, window--resize-this-window)
11064 (window--resize-root-window-vertically, window-tree)
11065 (balance-windows, window-state-put): Rewrite doc-strings as to
11066 not mention the term "subwindow".
11067 (window--resize-subwindows-skip-p): Rename to
11068 window--resize-child-windows-skip-p.
11069 (window--resize-subwindows-normal): Rename to
11070 window--resize-child-windows-normal.
11071 (window--resize-subwindows): Rename to
11072 window--resize-child-windows.
11073 (window-or-subwindow-p): Rename to window--in-subtree-p.
11074
3c6702ef
ML
110752011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11076
11077 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11078 Ensure that mbox format messages end in two newlines (Bug#9974).
11079
49745b39
CY
110802011-11-06 Chong Yidong <cyd@gnu.org>
11081
11082 * window.el (window-combination-p): Function deleted; its
11083 side-effect is not used in any existing code.
11084 (window-combinations, window-combined-p): Call window-*-child
11085 directly.
11086
24300f5f
CY
110872011-11-05 Chong Yidong <cyd@gnu.org>
11088
11089 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11090 (window-size-ignore, window-state-get): Callers changed.
11091 (window-normalize-window): Rename from window-normalize-any-window.
11092 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11093 (window-normalize-live-window): Delete.
447f16b8
CY
11094 (window-combination-p, window-combined-p, window-combinations)
11095 (walk-window-subtree, window-atom-root, window-min-size)
11096 (window-sizable, window-sizable-p, window-size-fixed-p)
11097 (window-min-delta, window-max-delta, window-resizable)
11098 (window-resizable-p, window-full-height-p, window-full-width-p)
11099 (window-current-scroll-bars, window-point-1, set-window-point-1)
11100 (window-at-side-p, window-in-direction, window-resize)
11101 (adjust-window-trailing-edge, maximize-window, minimize-window)
11102 (window-deletable-p, delete-window, delete-other-windows)
11103 (record-window-buffer, unrecord-window-buffer)
11104 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11105 (quit-window, split-window, window-state-put)
11106 (set-window-text-height, fit-window-to-buffer)
11107 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11108
89bd5ee1
EZ
111092011-11-04 Eli Zaretskii <eliz@gnu.org>
11110
53479029
EZ
11111 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11112 rfc2047-decode-string.
11113 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11114 warnings.
11115
89bd5ee1
EZ
11116 * window.el (window-body-height, window-body-width): Mention in
11117 the doc string that the return values are in frame's canonical
11118 units. (Bug#9949)
11119
bd17fdee
AM
111202011-11-03 Alan Mackenzie <acm@muc.de>
11121
11122 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11123 change in cc-engine.el.
11124
acc825c5
SM
111252011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11128
1885e5b8
MR
111292011-11-02 Martin Rudalics <rudalics@gmx.at>
11130
11131 * window.el (quit-window): Call unrecord-window-buffer after
11132 showing another buffer in the window. (Bug#9937)
acc825c5 11133 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11134
ebe06da9
JB
111352011-11-02 Juanma Barranquero <lekktu@gmail.com>
11136
11137 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11138 Accept status with more than 9 shelves. (Bug#9935)
11139 Reported by Colin D Bennett <colin@gibibit.com>.
11140
4ee88440
MR
111412011-11-01 Martin Rudalics <rudalics@gmx.at>
11142
11143 * help.el (with-help-window): Don't reference
11144 temp-buffer-show-specifiers in doc-string.
11145
08e1d82c
AS
111462011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11147
11148 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11149 menu-item.
11150
84bd6e9e
VJL
111512011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11152
11153 * whitespace.el: New version 13.2.2.
11154 (whitespace-newline-mode): Disable properly. Reported by Sarah
11155 <EmacsWiki>.
11156
dba0634a
UJ
111572011-10-30 Ulf Jasper <ulf.jasper@web.de>
11158
11159 * net/newst-treeview.el: Remove "Time-stamp".
11160 (newsticker--group-manage-orphan-feeds): Do not call
11161 newsticker--treeview-tree-update.
db22a3c2
JB
11162 (newsticker-treeview-update, newsticker-treeview):
11163 Call newsticker--treeview-tree-update if necessary.
dba0634a 11164
3d8daefe
MR
111652011-10-30 Martin Rudalics <rudalics@gmx.at>
11166
11167 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
11168 (window-iso-combinations): Remove "iso-" infix.
11169 Suggested by Chong Yidong.
3d8daefe
MR
11170 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11171 (window-max-delta-1, window-resize, window--resize-siblings)
11172 (window--resize-this-window, adjust-window-trailing-edge)
11173 (split-window, balance-windows-1)
11174 (shrink-window-if-larger-than-buffer):
11175 * calendar/calendar.el (calendar-generate-window):
db22a3c2 11176 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 11177
1bc4c3ae
SM
111782011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11179
11180 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11181 in place (bug#9907).
11182 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11183 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11184 (eshell-structure-basic-command, eshell-rewrite-while-command)
11185 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11186 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11187 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11188 (eshell-do-pipelines-synchronously, eshell-eval-command):
11189 Use backquotes and prefer setq to set.
11190 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11191 (eshell-macrop): Use functionp.
c1e2f5fa 11192 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 11193
30b65d9c
CY
111942011-10-30 Chong Yidong <cyd@gnu.org>
11195
11196 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11197 instead of set-mark (Bug#9810).
11198
2d197ffb
CY
111992011-10-30 Chong Yidong <cyd@gnu.org>
11200
11201 * window.el (split-window-below, split-window-right): Rename from
11202 split-window-above-each-other and split-window-side-by-side
11203 respectively. All callers changed.
11204 (split-window-sensibly, split-window-sensibly): Use them.
11205 (split-window-keep-point): Doc fix.
11206
11207 * isearch.el: Add isearch-scroll property to split-window-below
11208 and split-window-right.
11209
11210 * follow.el (follow-mode):
11211 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11212 * progmodes/ada-xref.el (ada-gdb-application):
11213 * emulation/vip.el (vip-buffer-in-two-windows):
11214 * image-dired.el (image-dired-dired-with-window-configuration):
11215 * dired-x.el (dired-do-find-marked-files):
11216 * dired.el (dired-pop-to-buffer):
11217 * bs.el (bs--show-with-configuration):
11218 * vc/emerge.el (emerge-setup-windows):
11219 * textmodes/two-column.el (2C-two-columns):
11220 * textmodes/reftex-toc.el (reftex-toc):
11221 * progmodes/gdb-mi.el (gdb-setup-windows):
11222 * progmodes/fortran.el (fortran-window-create):
11223 * net/newst-treeview.el (newsticker--treeview-window-init):
11224 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11225 * emulation/tpu-edt.el (tpu-gold-map):
11226 * emulation/crisp.el (crisp-mode-map):
11227 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11228
38bb2ca8
CY
112292011-10-29 Chong Yidong <cyd@gnu.org>
11230
aa4de341
CY
11231 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11232
e1eb5385
CY
11233 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11234
5d2ece3c
CY
11235 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11236 forged Ispell output (Bug#7904).
11237
38bb2ca8
CY
11238 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11239
d0af9f77
SM
112402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11241
11242 * doc-view.el: Avoid ugly errors about not finding nil.
11243 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11244 (doc-view-dvipdf-program, doc-view-unoconv-program)
11245 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11246 Avoid nil or absolute file name as default value.
11247 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11248
52bedd34
AM
112492011-10-28 Alan Mackenzie <acm@muc.de>
11250
db22a3c2 11251 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 11252
7e43cfa5
AM
112532011-10-28 Alan Mackenzie <acm@muc.de>
11254
11255 Amend the handling of c-beginning/end-of-defun in nested declaration
11256 scopes.
11257
52bedd34
AM
11258 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11259 cc-langs.el. Change it to a defcustom.
7e43cfa5 11260
52bedd34
AM
11261 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11262 cc-vars.el.
7e43cfa5 11263
d0af9f77
SM
11264 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11265 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 11266
52bedd34 11267 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 11268 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
11269 (c-widen-to-enclosing-decl-scope): New function.
11270 (c-while-widening-to-decl-block): New macro.
11271 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11272 outward for defun boundaries, and correspondingly change symbol
11273 `respect-enclosure' to `go-outward'.
11274 (c-declaration-limits): Change algorithm to report only the "innermost"
11275 defun's boundaries.
11276
1a2ce9ee
DD
112772011-10-28 Deniz Dogan <deniz@dogan.se>
11278
11279 * net/rcirc.el (rcirc-mode): Use hard newlines.
11280
bc97a826
AM
112812011-10-28 Alan Mackenzie <acm@muc.de>
11282
11283 Amend to indent and fontify macros "which include their own semicolon"
11284 correctly, using the "virtual semicolon" mechanism.
11285
52bedd34 11286 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 11287
d0af9f77 11288 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 11289 Recode to scan one line at a time rather than having \n and \r
58179cce 11290 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 11291 (c-forward-label): Amend for virtual semicolons.
58179cce 11292 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 11293
52bedd34
AM
11294 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11295 of the new C macros.
bc97a826 11296
52bedd34 11297 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
11298 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11299 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
11300 (c-opt-cpp-macro-define): Make into a full language variable.
11301 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11302 AWK Mode (including \n, \r) removed, no longer needed.
11303
d0af9f77
SM
11304 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11305 Invoke c-make-macro-with-semi-re.
bc97a826 11306
52bedd34
AM
11307 * progmodes/cc-vars.el (c-macro-with-semi-re):
11308 (c-macro-names-with-semicolon): New variables.
58179cce 11309 (c-make-macro-with-semi-re): New function.
bc97a826 11310
7a6c0941
SM
113112011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11312
11313 * vc/log-edit.el: Fill empty field rather than adding new one.
11314 (log-edit-add-field): New function.
11315 (log-edit-insert-changelog): Use it.
11316
b0c4cdcf
ML
113172011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11318
11319 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11320
ee1f1da9
SM
113212011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11322
11323 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11324 (gdb--check-interpreter): New function.
11325 (gdb): Use it.
11326
51bc5f8b
GM
113272011-10-27 Glenn Morris <rgm@gnu.org>
11328
416a2c45
GM
11329 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11330 (least-positive-float, least-negative-float)
11331 (least-positive-normalized-float, least-negative-normalized-float)
11332 (float-epsilon, float-negative-epsilon):
11333 Remove unnecessary declarations.
11334
11335 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11336 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11337 (least-positive-float, least-negative-float)
11338 (least-positive-normalized-float, least-negative-normalized-float)
11339 (float-epsilon, float-negative-epsilon): Add doc-strings,
11340 based on those in cl.texi.
11341
51bc5f8b
GM
11342 * files.el (set-visited-file-name): If the major-mode changed,
11343 reload the local variables. (Bug#9796)
11344
15de15c6
CY
113452011-10-27 Chong Yidong <cyd@gnu.org>
11346
11347 * subr.el (change-major-mode-after-body-hook): New hook.
11348 (run-mode-hooks): Run it.
11349
ee1f1da9
SM
11350 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11351 Use change-major-mode-before-body-hook.
15de15c6
CY
11352
11353 * simple.el (fundamental-mode):
11354 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11355 change introducing fundamental-mode-hook.
11356
5430d399
JB
113572011-10-26 Juanma Barranquero <lekktu@gmail.com>
11358
acc825c5 11359 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 11360
ad74a69e
MA
113612011-10-26 Michael Albinus <michael.albinus@gmx.de>
11362
11363 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 11364 tramp.el explicitly. (Bug#7583)
ad74a69e 11365
71d4c2a5
SM
113662011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11367
11368 * progmodes/octave-mod.el:
11369 * progmodes/octave-inf.el: Update maintainer.
11370
b1f6fa26
CY
113712011-10-26 Chong Yidong <cyd@gnu.org>
11372
11373 * subr.el (with-wrapper-hook): Rewrite doc.
11374
3f04efd6
MA
113752011-10-25 Michael Albinus <michael.albinus@gmx.de>
11376
11377 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 11378 filenames "/method:foo:". (Bug#9793)
3f04efd6 11379
410488d3
SM
113802011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11381
11382 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11383 (bug#9865).
11384
c1ebb47e
GM
113852011-10-24 Glenn Morris <rgm@gnu.org>
11386
11387 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
11388
7f5c46c7
MA
113892011-10-24 Michael Albinus <michael.albinus@gmx.de>
11390
11391 * notifications.el: Add the requirement of a running D-Bus session
11392 bus to the Commentary.
11393
db2440b6
JL
113942011-10-24 Juri Linkov <juri@jurta.org>
11395
11396 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11397 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11398 (Bug#9364)
11399
feecf435
JL
114002011-10-24 Juri Linkov <juri@jurta.org>
11401
11402 * info.el (Info-following-node-name-re): Add newline to the list
11403 of allowed characters for leading space. (Bug#9824)
11404
a3839de2
SM
114052011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11406
acc825c5
SM
11407 * progmodes/octave-inf.el (inferior-octave-mode-map):
11408 Fix C-c C-h binding.
a3839de2
SM
11409 * progmodes/octave-mod.el (octave-help): Remove.
11410
09388e76
MA
114112011-10-23 Michael Albinus <michael.albinus@gmx.de>
11412
11413 Sync with Tramp 2.2.3.
11414
11415 * net/tramp-cache.el (top): Pacify byte-compiler using
11416 `init-file-user' and `site-run-file'.
11417
11418 * net/trampver.el: Update release number.
11419
86c60681
CY
114202011-10-23 Chong Yidong <cyd@gnu.org>
11421
11422 * files.el (toggle-read-only): Remove obsolete comment about
11423 version control.
11424
11425 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11426 for toggle-read-only. Note that this hasn't called vc-next-action
11427 since 2008-05-02, though it wasn't documented at the time.
11428
a3839de2
SM
11429 * vc/ediff-init.el (ediff-toggle-read-only-function):
11430 Use toggle-read-only.
86c60681 11431
cd5495ff
AM
114322011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
11433
11434 Fix bug #9560, sporadic wrong indentation; improve instrumentation
11435 of c-parse-state.
11436
00b77525 11437 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 11438 correct faulty logical expression.
cd5495ff
AM
11439 (c-parse-state-state, c-record-parse-state-state):
11440 (c-replay-parse-state-state): New defvar/defuns.
11441 (c-debug-parse-state): Use new functions.
11442
42ee24ed
MR
114432011-10-22 Martin Rudalics <rudalics@gmx.at>
11444
11445 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 11446 last fix. Use window-in-direction correctly.
42ee24ed 11447
a7dee7e7
CY
114482011-10-21 Chong Yidong <cyd@gnu.org>
11449
11450 * progmodes/idlwave.el (idlwave-mode):
11451 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
11452 require-final-newline; that's done in prog-mode.
11453 Suggested by Stefan Monnier.
a7dee7e7 11454
e07b9a6d
MR
114552011-10-21 Martin Rudalics <rudalics@gmx.at>
11456
11457 * mouse.el (mouse-drag-window-above)
11458 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11459 (mouse-drag-mode-line-1, mouse-drag-header-line)
11460 (mouse-drag-vertical-line-rightward-window): Remove.
11461 (mouse-drag-line): New function.
11462 (mouse-drag-mode-line, mouse-drag-header-line)
11463 (mouse-drag-vertical-line): Call mouse-drag-line.
11464 * window.el (window-at-side-p, windows-at-side): New functions.
11465
7e1361d9
UM
114662011-10-21 Ulrich Mueller <ulm@gentoo.org>
11467
11468 * tar-mode.el (tar-grind-file-mode):
11469 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
11470
30fcaf3a
CY
114712011-10-21 Chong Yidong <cyd@gnu.org>
11472
11473 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
11474 * progmodes/vera-mode.el (vera-mode):
11475 Use mode-require-final-newline.
30fcaf3a 11476
516eddb0
GM
114772011-10-20 Glenn Morris <rgm@gnu.org>
11478
db22a3c2 11479 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 11480
10d5f513
CS
114812011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
11482
11483 * emulation/cua-base.el (cua-set-mark): Fix case of string.
11484
ac6c8639
CY
114852011-10-20 Chong Yidong <cyd@gnu.org>
11486
11487 * emulation/cua-base.el (cua-mode):
11488 * mail/footnote.el (footnote-mode):
11489 * mail/mailabbrev.el (mail-abbrevs-mode):
11490 * net/xesam.el (xesam-minor-mode):
11491 * progmodes/bug-reference.el (bug-reference-mode):
11492 * progmodes/cap-words.el (capitalized-words-mode):
11493 * progmodes/compile.el (compilation-minor-mode)
11494 (compilation-shell-minor-mode):
11495 * progmodes/gud.el (gud-tooltip-mode):
11496 * progmodes/hideif.el (hide-ifdef-mode):
11497 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11498 * progmodes/subword.el (subword-mode):
11499 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11500 * progmodes/which-func.el (which-function-mode):
11501 * term/tvi970.el (tvi970-set-keypad-mode):
11502 * term/vt100.el (vt100-wide-mode):
11503 * textmodes/flyspell.el (flyspell-mode):
11504 * textmodes/ispell.el (ispell-minor-mode):
11505 * textmodes/nroff-mode.el (nroff-electric-mode):
11506 * textmodes/paragraphs.el (use-hard-newlines):
11507 * textmodes/refill.el (refill-mode):
11508 * textmodes/reftex.el (reftex-mode):
11509 * textmodes/rst.el (rst-minor-mode):
11510 * textmodes/sgml-mode.el (html-autoview-mode)
11511 (sgml-electric-tag-pair-mode):
11512 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11513 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11514 * emulation/crisp.el (crisp-mode):
11515 * emacs-lisp/eldoc.el (eldoc-mode):
11516 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11517 minor mode behavior.
11518
aa42ab43
JL
115192011-10-19 Juri Linkov <juri@jurta.org>
11520
11521 * descr-text.el (describe-char): Add #x2010 and #x2011 to
11522 the list of hard-coded chars with escape-glyph face.
11523
89400f1d
SM
115242011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11525
11526 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11527
305c07f6
MA
115282011-10-19 Michael Albinus <michael.albinus@gmx.de>
11529
11530 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11531 running process.
11532
13754b54
GM
115332011-10-19 Glenn Morris <rgm@gnu.org>
11534
11535 * vc/vc-bzr.el (vc-bzr-after-dir-status):
11536 Ignore ignored files. (Bug#9726)
11537
06e21633
CY
115382011-10-19 Chong Yidong <cyd@gnu.org>
11539
11540 Doc fix for minor modes, stating that an omitted argument enables
11541 the mode unconditionally when called from Lisp.
11542
11543 * abbrev.el (abbrev-mode):
11544 * allout.el (allout-mode):
11545 * autoinsert.el (auto-insert-mode):
11546 * autoarg.el (autoarg-mode, autoarg-kp-mode):
11547 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11548 (global-auto-revert-mode):
11549 * battery.el (display-battery-mode):
11550 * composite.el (global-auto-composition-mode)
11551 (auto-composition-mode):
11552 * delsel.el (delete-selection-mode):
11553 * desktop.el (desktop-save-mode):
11554 * dired-x.el (dired-omit-mode):
11555 * dirtrack.el (dirtrack-mode):
11556 * doc-view.el (doc-view-minor-mode):
11557 * double.el (double-mode):
11558 * electric.el (electric-indent-mode, electric-pair-mode):
11559 * emacs-lock.el (emacs-lock-mode):
11560 * epa-hook.el (auto-encryption-mode):
11561 * follow.el (follow-mode):
11562 * font-core.el (font-lock-mode):
11563 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11564 * help.el (temp-buffer-resize-mode):
11565 * hilit-chg.el (highlight-changes-mode)
11566 (highlight-changes-visible-mode):
11567 * hi-lock.el (hi-lock-mode):
11568 * hl-line.el (hl-line-mode, global-hl-line-mode):
11569 * icomplete.el (icomplete-mode):
11570 * ido.el (ido-everywhere):
11571 * image-file.el (auto-image-file-mode):
11572 * image-mode.el (image-minor-mode):
11573 * iswitchb.el (iswitchb-mode):
11574 * jka-cmpr-hook.el (auto-compression-mode):
11575 * linum.el (linum-mode):
11576 * longlines.el (longlines-mode):
11577 * master.el (master-mode):
11578 * mb-depth.el (minibuffer-depth-indicate-mode):
11579 * menu-bar.el (menu-bar-mode):
11580 * minibuf-eldef.el (minibuffer-electric-default-mode):
11581 * mouse-sel.el (mouse-sel-mode):
11582 * msb.el (msb-mode):
11583 * mwheel.el (mouse-wheel-mode):
11584 * outline.el (outline-minor-mode):
11585 * paren.el (show-paren-mode):
11586 * recentf.el (recentf-mode):
11587 * reveal.el (reveal-mode, global-reveal-mode):
11588 * rfn-eshadow.el (file-name-shadow-mode):
11589 * ruler-mode.el (ruler-mode):
11590 * savehist.el (savehist-mode):
11591 * scroll-all.el (scroll-all-mode):
11592 * scroll-bar.el (scroll-bar-mode):
11593 * server.el (server-mode):
11594 * shell.el (shell-dirtrack-mode):
11595 * simple.el (auto-fill-mode, transient-mark-mode)
11596 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11597 (line-number-mode, column-number-mode, size-indication-mode)
11598 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11599 * strokes.el (strokes-mode):
11600 * time.el (display-time-mode):
11601 * t-mouse.el (gpm-mouse-mode):
11602 * tool-bar.el (tool-bar-mode):
11603 * tooltip.el (tooltip-mode):
11604 * type-break.el (type-break-mode-line-message-mode)
11605 (type-break-query-mode):
11606 * view.el (view-mode):
11607 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11608 (global-whitespace-mode, global-whitespace-newline-mode):
11609 * xt-mouse.el (xterm-mouse-mode): Doc fix.
11610
a3839de2
SM
11611 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11612 Fix autogenerated docstring.
06e21633 11613
5214e501
JL
116142011-10-19 Juri Linkov <juri@jurta.org>
11615
11616 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11617 by checking environment variables "DESKTOP_SESSION" and
11618 "XDG_CURRENT_DESKTOP". (Bug#9779)
11619
195f8db9
JL
116202011-10-19 Juri Linkov <juri@jurta.org>
11621
11622 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11623 (browse-url-chromium-program, browse-url-chromium-arguments):
11624 New defcustoms.
11625 (browse-url-default-browser): Check for `browse-url-chromium' and
11626 call `browse-url-chromium-program'.
11627 (browse-url-chromium): New command. (Bug#9779)
11628
343a34ff
JB
116292011-10-18 Juanma Barranquero <lekktu@gmail.com>
11630
11631 * facemenu.el (list-colors-duplicates): On Windows, detect more
11632 duplicates by assuming that only colors matching "^System" are
11633 special "system colors". (Bug#9722)
11634
6978a151
SM
116352011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11636
11637 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11638 to distinguish the author from the committer.
11639
6a80b297
MA
116402011-10-18 Michael Albinus <michael.albinus@gmx.de>
11641
11642 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11643
b31a5677
JK
116442011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
11645
11646 * international/mule.el (sgml-html-meta-auto-coding-function):
11647 Add support for detecting encoding in HTML5 specified only as
11648 <meta charset="UTF-8">. Implementation just makes http-equiv and
11649 content-type parts from HTML4 encoding string optional. (Bug#9716)
11650
80c6d77f
GM
116512011-10-18 Glenn Morris <rgm@gnu.org>
11652
11653 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
11654
08b0fee8
CY
116552011-10-18 Chong Yidong <cyd@gnu.org>
11656
11657 * faces.el (cursor): Doc fix.
11658
67e729a5
CY
116592011-10-17 Chong Yidong <cyd@gnu.org>
11660
11661 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11662
343a34ff 116632011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
11664
11665 * dirtrack.el (dirtrack): Support shell buffers with path
11666 prefixes, e.g. tramp-based remote shells. (Bug#9647)
11667
0bc06380
TZ
116682011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
11669
11670 * json.el: Bump version to 1.3 and note change in History.
11671 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11672
8b79f3e0
SM
116732011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11674
5a7c536b
SM
11675 * comint.el (comint-insert-input, comint-send-input)
11676 (comint-get-old-input-default, comint-backward-matching-input)
11677 (comint-next-prompt): Use nil instead of `input' for field property of
11678 past user input (bug#114).
11679
96a8a0df
SM
11680 * minibuffer.el (completion--replace): Inherit surrounding properties
11681 (bug#114).
11682 (minibuffer-complete-and-exit): Use it.
11683
8b79f3e0
SM
11684 * comint.el (comint--table-subvert): Quote the all-completions output
11685 (bug#9160).
11686
b8f7ff0d
MR
116872011-10-17 Martin Rudalics <rudalics@gmx.at>
11688
8b79f3e0 11689 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 11690
b8f7ff0d 11691 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 11692 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
11693 entries and separate them from frame entries.
11694
c235b555
GM
116952011-10-15 Glenn Morris <rgm@gnu.org>
11696
11697 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11698 Doc fixes.
11699
6bbfa6e1
CY
117002011-10-15 Chong Yidong <cyd@stupidchicken.com>
11701
8b79f3e0
SM
11702 * net/network-stream.el (network-stream-open-starttls):
11703 Improve detection of failure due to lack of TLS support.
ec5c990d 11704
6bbfa6e1
CY
11705 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11706 putting the input text in front and in bold.
11707
98488977
SM
117082011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11709
3d1337be
SM
11710 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11711
ee0b45e4
SM
11712 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11713 empty buffer.
11714
98488977
SM
11715 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11716 unread-command-events rather than pushing yet-another event.
11717
186f4720
EZ
117182011-10-14 Eli Zaretskii <eliz@gnu.org>
11719
11720 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11721 the explanation of the possible choices. Make the options passed
11722 to completing-read shorter.
11723
8b7a997c
AM
117242011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11725
11726 * textmodes/flyspell.el (flyspell-large-region): Make sure
11727 extended character mode is used if defined (Bug#1339).
11728
12587bbb
EZ
117292011-10-13 Eli Zaretskii <eliz@gnu.org>
11730
11731 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
11732 character info for LRE, LRO, RLE, and RLO characters by appending
11733 an invisible PDF.
12587bbb 11734
bad41229
SM
117352011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11736
11737 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11738 even in case of error; add debug spec; simplify data flow.
11739 (with-timeout-handler): Remove.
11740
28dbc92f
MA
117412011-10-12 Michael Albinus <michael.albinus@gmx.de>
11742
11743 Fix Bug#6019, Bug#9315.
11744
11745 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11746 complete `buffer-file-name', the local file name part could look
11747 remotely (for example on VMS).
11748
11749 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11750 `tramp-run-real-handler'.
11751 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11752 already quoted by '"'.
11753
11754 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11755 Let `file-name-handler-alist' be nil, the local file name part
11756 could look remotely (for example on VMS).
11757
e1b0b23a
SM
117582011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11759
11760 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11761 from here...
11762 (flyspell-post-command-hook): ...to here.
11763
a120bde9
SM
117642011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11767 if not needed.
11768 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11769 using completion. Protect against "slow" callers.
11770 Remove the "message hack".
11771
7ce7717b
JL
117722011-10-11 Juri Linkov <juri@jurta.org>
11773
11774 * isearch.el (isearch-lazy-highlight-word): New variable.
11775 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11776 Use it. (Bug#9727)
11777
c02ee9d6
GM
117782011-10-11 Glenn Morris <rgm@gnu.org>
11779
11780 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11781 like f90-previous-statement does.
11782
93e616fd 117832011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11784
1f190e73 11785 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
11786 only in interactive use, to avoid error.
11787
af7b6078
SM
117882011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11789
11790 * minibuffer.el (completion-file-name-table): Fix last change,
11791 i.e. ignore normal errors but not the other ones.
11792
0563dae9
MR
117932011-10-10 Martin Rudalics <rudalics@gmx.at>
11794
11795 * window.el (special-display-buffer-names)
11796 (special-display-regexps): Remove some remnants of earlier
11797 changes from doc-strings.
366ca7f3
MR
11798 (quit-windows-on): New function.
11799
11800 * vc/vc.el (vc-revert, vc-rollback):
11801 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11802 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 11803 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 11804
49677495
MR
118052011-10-09 Martin Rudalics <rudalics@gmx.at>
11806
11807 * window.el (frame-auto-hide-function): Add version tag.
11808 (Bug#9699)
11809
56f2d1e1
MA
118102011-10-09 Michael Albinus <michael.albinus@gmx.de>
11811
11812 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11813 condition.
11814
112a6592
LL
118152011-10-09 Leo Liu <sdl.web@gmail.com>
11816
11817 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11818 (Bug#9701)
11819
0812589b
GM
118202011-10-08 Glenn Morris <rgm@gnu.org>
11821
11822 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11823 before the first code statement zero indent. (Bug#9690)
11824
b2b0776e
CY
118252011-10-08 Chong Yidong <cyd@stupidchicken.com>
11826
11827 * simple.el (count-words-region): Always count in the region.
11828 Report the number of lines and characters too.
11829 (count-words): New command, which counts in the buffer if the
11830 region is inactive, as count-words-region used to.
11831 (count-words--message): New function. Handle plurals.
11832 (count-lines-region): Make it an alias for count-words-region.
11833
11834 * bindings.el (esc-map): Replace count-lines-region with
11835 count-words-region.
11836
c557cd6b
MR
118372011-10-08 Martin Rudalics <rudalics@gmx.at>
11838
11839 * window.el (window--delete): Delete dedicated frame
11840 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 11841 (switch-to-buffer): Fix doc-string typo.
c557cd6b 11842
61a57ef4 118432011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11844
3a7d293b 11845 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 11846
c3833279
CY
118472011-10-07 Chong Yidong <cyd@stupidchicken.com>
11848
11849 * bindings.el ([M-left],[M-right]): Bind to left-word and
11850 right-word respectively.
11851
21ce8245
GM
118522011-10-07 Glenn Morris <rgm@gnu.org>
11853
11854 * cus-start.el (debug-on-quit): Fix custom type.
11855
6d823bb2
LMI
118562011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11857
0181e193
LMI
11858 * subr.el (define-key-after): Clarify that the function is not
11859 useful for non-menu keymaps.
11860
6d823bb2
LMI
11861 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11862
8e3459ce 118632011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11864
21ce8245 11865 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 11866 in current minibuffer (Fix bug with recursive minibuffers).
11867
a1c2d21e
CY
118682011-10-06 Chong Yidong <cyd@stupidchicken.com>
11869
11870 * progmodes/gdb-mi.el (gdb): Doc fix.
11871
5a4cf282
MR
118722011-10-05 Martin Rudalics <rudalics@gmx.at>
11873
11874 * window.el (frame-auto-hide-function): New option replacing
11875 frame-auto-delete. Suggested by Stefan Monnier.
11876 (window--delete): Call frame-auto-hide-function instead of
11877 investigating frame-auto-delete.
c96111ea
MR
11878 (window-point-1, set-window-point-1): New functions.
11879 (window-in-direction, record-window-buffer, window-state-get-1)
11880 (display-buffer-record-window): Use window-point-1 instead of
11881 window-point.
11882 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 11883
9854542e
SM
118842011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11885
11886 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11887
8943cfb0
GM
118882011-10-05 Glenn Morris <rgm@gnu.org>
11889
11890 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11891 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11892
647ab967
LL
118932011-10-05 Leo Liu <sdl.web@gmail.com>
11894
11895 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11896 works with buffer object.
11897
3ddfbced
SM
118982011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11899
11900 * mpc.el (mpc-tool-bar-map): Add labels.
11901
bdfa5dd2
GM
119022011-10-04 Glenn Morris <rgm@gnu.org>
11903
11904 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11905
0e2070b5
MR
119062011-10-04 Martin Rudalics <rudalics@gmx.at>
11907
11908 * window.el (window--delete): New function.
11909 (frame-auto-delete): Resuscitate option.
11910 (bury-buffer, replace-buffer-in-windows)
11911 (quit-window): Rewrite using window--delete.
11912 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11913 Pass display-buffer-mark-dedicated to window--display-buffer-2
11914 (Bug#9639).
11915
3dc61a09
SM
119162011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11917
915a9b64
SM
11918 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11919 returns a list (bug#9554). Add remote file name completion.
11920 * comint.el (comint--table-subvert): Curry and get quote&unquote
11921 functions as arguments.
11922 (comint--complete-file-name-data): Adjust call accordingly.
11923 * pcomplete.el (pcomplete--table-subvert): Remove.
11924 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11925
3dc61a09
SM
11926 * minibuffer.el (completion-table-case-fold): Use currying.
11927 (completion--styles-type, completion--cycling-threshold-type):
11928 New constants.
11929 (completion-styles, completion-category-overrides)
11930 (completion-cycle-threshold): Use them.
11931 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11932 completion-table-case-fold.
11933
8ea0a993
SB
119342011-10-03 Stephen Berman <stephen.berman@gmx.net>
11935
11936 * minibuffer.el (completion-category-overrides): Fix type of styles
11937 and add more user friendly tags (bug#9660).
11938
8c24b7f6
SM
119392011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11940
11941 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11942 (mule-input-method-string): New widget.
11943 (default-input-method, language-info-custom-alist): Use it.
11944
428fe61a
SM
119452011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11946
32c1fffd
SM
11947 * pcomplete.el: Require comint.
11948 (pcomplete--common-suffix): Remove.
11949 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11950 (pcomplete--table-subvert): Sync with comint--table-subvert.
11951 (pcomplete--entries): Use comint-completion-file-name-table.
11952 * comint.el (comint-unquote-filename): Simplify.
11953 (comint-completion-file-name-table): New function (bug#9616).
11954 (comint--complete-file-name-data): Use it.
11955
428fe61a
SM
11956 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11957 (pcmpl-gnu-tar-buffer): Remove.
11958 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
11959 around. Make sure pcomplete-suffix-list is only changed temporarily.
11960 Don't look inside the tar's file if it's too large.
428fe61a 11961
04c52e2f
CY
119622011-10-01 Chong Yidong <cyd@stupidchicken.com>
11963
ce3cefcc
CY
11964 * cus-edit.el (custom-mode-map):
11965 * epa.el (epa-key-list-mode-map):
11966 * man.el (Man-mode-map):
11967 * startup.el (splash-screen-keymap):
11968 * simple.el (special-mode-map): Use scroll-up-command and
11969 scroll-down-command.
11970
11971 * progmodes/idlw-help.el (idlwave-help-mode-map):
11972 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11973 * net/newst-plainview.el (newsticker-mode-map):
11974 * emulation/ws-mode.el (wordstar-mode-map):
11975 * emulation/vi.el (vi-com-map):
11976 * calc/calc-graph.el (calc-graph-show-dumb):
11977 * term/sun.el (terminal-init-sun):
11978 * term/ns-win.el (global-map):
11979 * progmodes/grep.el (grep-mode-map):
11980 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11981 * mail/rmail.el (rmail-mode-map):
11982 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11983
04c52e2f
CY
11984 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11985 custom-safe-themes as special.
11986
79adf8c8
JD
119872011-10-01 Julien Danjou <julien@danjou.info>
11988
11989 * notifications.el (notifications-notify): Fix docstring.
11990
63bd50d3
PS
119912011-10-01 Per Starbäck <per@starback.se>
11992
11993 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11994
199e4c7e
MR
119952011-09-30 Martin Rudalics <rudalics@gmx.at>
11996
11997 * startup.el (command-line-1): Fix last fix by inserting
11998 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 11999 (Bug#9605) and (Bug#9636)
199e4c7e 12000
fe5f08dd
EZ
120012011-09-29 Eli Zaretskii <eliz@gnu.org>
12002
12003 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12004 window is hscrolled, move by logical lines. (Bug#9607)
12005 (line-move-visual): Update the doc string to the above effect.
12006
b5516bbd
MR
120072011-09-29 Martin Rudalics <rudalics@gmx.at>
12008
ccee00c0
MR
12009 * window.el (display-buffer-record-window): When WINDOW is the
12010 selected window use `point' instead of `window-point'. (Bug#9626)
12011
b5516bbd
MR
12012 * startup.el (command-line-1): Use insert-before-markers when
12013 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12014
b5516bbd
MR
12015 * help.el (help-window): Remove variable.
12016
52aa0014
GM
120172011-09-29 Glenn Morris <rgm@gnu.org>
12018
12019 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12020
df9a7357
JB
120212011-09-29 Juanma Barranquero <lekktu@gmail.com>
12022
12023 * descr-text.el (describe-char-categories): Accept category
12024 descriptions more than one line long.
12025
a8406c20
SM
120262011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12027
88d9610c
SM
12028 * simple.el (delete-trailing-whitespace): Fix last change.
12029
a5daf810
SM
12030 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12031 Don't confuse "y => 3" as the beginning of a `y' operation.
12032
a8406c20
SM
12033 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12034 object has more than 4 slots (bug#9613).
12035
a239d4e9
JB
120362011-09-28 Juanma Barranquero <lekktu@gmail.com>
12037
12038 * subr.el (with-output-to-temp-buffer):
12039 * net/quickurl.el (quickurl, quickurl-browse-url):
12040 Fix typos in docstrings.
12041
693fbdb6
EZ
120422011-09-27 Eli Zaretskii <eliz@gnu.org>
12043
12044 * minibuffer.el (completion-styles)
12045 (completion-category-overrides): Cross reference each other in doc
12046 strings.
12047
8b457e28
GM
120482011-09-27 Glenn Morris <rgm@gnu.org>
12049
12050 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12051 to split-string. (Bug#9606)
12052
85a16208
LMI
120532011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12054
12055 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12056 (bug#9615).
12057
502f9ebd
CY
120582011-09-27 Chong Yidong <cyd@stupidchicken.com>
12059
12060 * emacs-lisp/package.el (list-packages): Fix echo area message.
12061
7690bdea
LL
120622011-09-27 Leo Liu <sdl.web@gmail.com>
12063
12064 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12065
e2ee6f30
MA
120662011-09-25 Michael Albinus <michael.albinus@gmx.de>
12067
12068 * net/dbus.el (dbus-unregister-object): Don't release services for
12069 registered signals. (Bug#9581)
12070
f3f98342
TZ
120712011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12072
12073 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12074 function that picks between cfengine 2 and 3 support
12075 automatically. Update docs accordingly.
12076
dd7aa8dd
KH
120772011-09-22 Kenichi Handa <handa@m17n.org>
12078
12079 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12080 ZERO.
12081 (indian-itrans-v5-table-for-tamil): New variable.
12082 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12083
3f2b07f8
KM
120842011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12085
12086 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12087 that's true if the current command involved collapsing of text.
12088 It's reset to false at the beginning of the next command.
12089 (allout-post-command-business): Move the cursor to the beginning
12090 of entry if the cursor is hidden and collapsing activity just
12091 happened.
12092
371d6a61
CY
120932011-09-24 Chong Yidong <cyd@stupidchicken.com>
12094
12095 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12096 tracking (Bug#9541).
12097
2ac2721a
UJ
120982011-09-24 Ulf Jasper <ulf.jasper@web.de>
12099
12100 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12101 (newsticker-show-news): Automatically load html rendering package
12102 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12103 because w3m-fill-column is let-bound" and the error "Symbol's value
12104 as variable is void: w3m-fill-column".
2ac2721a 12105
fac7ae53
MA
121062011-09-24 Michael Albinus <michael.albinus@gmx.de>
12107
12108 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12109 Release services only if they are defined. (Bug#9581)
12110
e08b633b
RS
121112011-09-23 Richard Stallman <rms@gnu.org>
12112
e488d29c
RS
12113 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12114 distinguish start of paragraph from start of its text.
12115
19c38752
RS
12116 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12117
e08b633b
RS
12118 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12119 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12120 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12121
0a39f27e
AS
121222011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12123
12124 * international/mule-diag.el (mule-diag): Insert a newline after
12125 each fontset description.
12126
db4e950d
SM
121272011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12128
12129 * simple.el (delete-trailing-whitespace):
12130 Document last change; simplify.
12131
eca3f3ea
PW
121322011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12133
d68e189a
PW
12134 * simple.el (delete-trailing-whitespace): Also delete
12135 extra newlines at the end of the buffer.
12136
eca3f3ea
PW
12137 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12138 (picture-newline): Use forward-line so as to ignore fields.
12139
01c157cc
SM
121402011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12141
12142 * subr.el (with-wrapper-hook): Fix edebug spec.
12143
022de23e
LMI
121442011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12145
12146 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12147 (bug#4538).
12148
91683089
MA
121492011-09-23 Michael Albinus <michael.albinus@gmx.de>
12150
eca3f3ea
PW
12151 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12152 Fix nasty bug using wrong cached values.
91683089 12153
5bdd6fa4
AM
121542011-09-23 Alan Mackenzie <acm@muc.de>
12155
12156 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12157
97adfb97
CY
121582011-09-23 Chong Yidong <cyd@stupidchicken.com>
12159
12160 * window.el (pop-to-buffer): Ensure right window is selected if we
12161 chose another frame.
12162
d4ef2b50
EZ
121632011-09-22 Eli Zaretskii <eliz@gnu.org>
12164
12165 * simple.el (what-cursor-position): Use get-char-property-change
12166 and next-single-char-property-change, to be able to show display
12167 properties that come from overlays as well as text properties.
12168
72258fe5
CY
121692011-09-22 Chong Yidong <cyd@stupidchicken.com>
12170
12171 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12172
12173 * cmuscheme.el (run-scheme, switch-to-scheme):
12174 * cus-edit.el (customize-group, custom-buffer-create)
12175 (customize-browse):
12176 * info.el (info):
12177 * shell.el (shell):
12178 * mail/sendmail.el (mail):
12179 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12180
8f098516
RS
121812011-09-22 Richard Stallman <rms@gnu.org>
12182
12183 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12184 move back only to line beg, don't move back over blank lines.
12185
e74f1bb6
MA
121862011-09-22 Michael Albinus <michael.albinus@gmx.de>
12187
12188 * files.el (copy-directory): Set directory attributes only in case
12189 they could be retrieved from the source directory. (Bug#9565)
12190
bfeef8b6
DK
121912011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12192
12193 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12194 (hs-find-block-beginning, hs-hide-level-recursive):
12195 Ignore strings as well as comments. (Bug#9502)
12196
7e423bb8
AS
121972011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12198
12199 * progmodes/sql.el (sql-comint-postgres):
12200 Convert port number to a string. (Bug#9566)
12201
b4d72fcf
MR
122022011-09-22 Martin Rudalics <rudalics@gmx.at>
12203
12204 * window.el (quit-window): Undedicate window when switching to
12205 previous buffer. Reported by Thierry Volpiatto
12206 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
12207 (special-display-popup-frame): When popping up a new frame reset
12208 its previous buffers to nil. Simplify code.
b4d72fcf 12209
a7b88dc6
MA
122102011-09-21 Michael Albinus <michael.albinus@gmx.de>
12211
12212 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12213 and process filter, as done also in `shell-command'.
12214
cf4eacfd
MR
122152011-09-21 Martin Rudalics <rudalics@gmx.at>
12216
eca3f3ea 12217 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
12218 Call set-window-start with NOFORCE argument t.
12219 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
12220 (quit-window): Reword doc-string. Handle new format of
12221 quit-restore parameter. Don't delete window if it has a
12222 previous buffer we can show instead of the present one.
12223 (display-buffer-record-window): Rewrite using a new format for
12224 the quit-restore window parameter
12225 (special-display-popup-frame, display-buffer-same-window)
12226 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12227 (display-buffer-pop-up-window, display-buffer-use-some-window):
12228 Adapt symbol passed to display-buffer-record-window.
12229 * help.el (help-window-setup): Handle new format of quit-restore
12230 parameter.
12231
8d28cb95
SM
122322011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12233
94ab793f
SM
12234 * faces.el (face-list): Fix docstring (bug#9564).
12235
8d28cb95
SM
12236 * window.el (display-buffer--action-function-custom-type):
12237 Don't include internal functions in the Custom interface.
12238
3820edeb
JL
122392011-09-20 Juri Linkov <juri@jurta.org>
12240
12241 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12242 (Info-forward-node, Info-backward-node, Info-next-preorder)
12243 (Info-last-preorder): Use it. (Bug#9528)
12244
5147931d
JL
122452011-09-20 Juri Linkov <juri@jurta.org>
12246
12247 * info.el (Info-last-preorder): Visit last menu item only when
12248 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12249
cf499a1a
JD
122502011-09-20 Julien Danjou <julien@danjou.info>
12251
12252 * password-cache.el (password-cache-remove): Remove entries even if the
12253 value is nil, so that password with a nil value (negative caching) is
12254 possible to invalidate.
12255
f84e2fe2
LM
122562011-09-20 Lawrence Mitchell <wence@gmx.li>
12257
12258 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12259 all whitespace around breakpoint. (Bug#9553)
12260 (f90-find-breakpoint): Only break at whitespace inside a comment.
12261
78054a46
SM
122622011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12263
12264 * minibuffer.el (completion-file-name-table): Keep track of errors.
12265 (completion-table-with-predicate): Handle the case where pred1 is nil.
12266 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12267
345083b2
SM
122682011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12269
e24e27be
SM
12270 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12271 (debugger-return-value): Signal an error if the debugging context does
12272 not await any return value.
12273
345083b2
SM
12274 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12275 * image-mode.el (image-toggle-display-text)
12276 (image-toggle-display-image): Stay away from evil `intangible'.
12277
08d355e3
LL
122782011-09-19 Leo Liu <sdl.web@gmail.com>
12279
12280 * replace.el (occur-revert-arguments): Make it permanent-local.
12281 (occur-mode): Don't call font-lock-defontify.
12282
f01da43f
CY
122832011-09-19 Chong Yidong <cyd@stupidchicken.com>
12284
12285 * net/ldap.el (ldap-search-internal): Don't push empty search
12286 result (Bug#9508).
12287
b6072fa6
SM
122882011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12289
12290 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12291
443d6696
MA
122922011-09-19 Michael Albinus <michael.albinus@gmx.de>
12293
12294 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12295 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12296
7cc6e154
JL
122972011-09-18 Juri Linkov <juri@jurta.org>
12298
12299 * buff-menu.el (Buffer-menu-mode-map):
12300 * dired.el (dired-mode-map):
12301 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12302 (lisp-interaction-mode-map):
12303 * emacs-lisp/package.el (package-menu-mode-map):
12304 * epa.el (epa-key-list-mode-map):
12305 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12306 (menu-bar-options-menu):
12307 * outline.el (outline-mode-menu-bar-map):
12308 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12309 * vc/vc-dir.el (vc-dir-menu-map):
12310 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12311 Capitalize non-function content words in menu item strings.
12312
12313 * dired.el (dired-mode-map): Add menu item for
12314 `image-dired-dired-toggle-marked-thumbs'.
12315
80302a81
JL
123162011-09-18 Juri Linkov <juri@jurta.org>
12317
12318 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12319 to `isearch-case-fold-search' and restore its original value
12320 after the `isearch-mode' call.
12321
46c5cf66
JL
123222011-09-18 Juri Linkov <juri@jurta.org>
12323
12324 * progmodes/grep.el (grep-process-setup): Don't check code for 1
12325 because `zgrep' returns 1 for successful matches (bug#9226).
12326
d18b513b
JL
123272011-09-18 Juri Linkov <juri@jurta.org>
12328
12329 * info.el (Info-extract-menu-node-name): Check the second match
12330 for empty string (second test-case of bug#9528).
12331 (Info-last-preorder): Let-bind `Info-history' to nil to not add
12332 intermediate nodes to the history (first test-case of bug#9528).
12333
72753f87
JL
123342011-09-18 Juri Linkov <juri@jurta.org>
12335
12336 * info.el (Info-mode-syntax-table): New variable.
1154d12e 12337 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 12338
c9384295
JL
123392011-09-18 Juri Linkov <juri@jurta.org>
12340
1154d12e
JB
12341 * info.el (Info-file-supports-index-cookies):
12342 Increment line-beginning-position's arg from 3 to 4 because makeinfo
12343 outputs one more line for long file names (bug#4142).
c9384295 12344
d473dce8
CY
123452011-09-18 Chong Yidong <cyd@stupidchicken.com>
12346
12347 * newcomment.el (comment-normalize-vars): If prompting for
12348 comment-start, set comment-start-skip too (Bug#8424).
12349
2176854d
JB
123502011-09-18 Johan Bockgård <bojohan@gnu.org>
12351
12352 * icomplete.el: Fix previous fix of Bug#5849.
12353 (icomplete-mode): Don't set completion-show-inline-help.
12354 (icomplete-minibuffer-setup): Set completion-show-inline-help
12355 locally during icompletion.
12356
3aace4e4
CY
123572011-09-18 Chong Yidong <cyd@stupidchicken.com>
12358
c940224f
CY
12359 * woman.el (woman2-process-escapes): Don't delete unrecognized
12360 escapes (Bug#7843).
12361
3aace4e4
CY
12362 * files.el (inhibit-first-line-modes-regexps): Add image files.
12363 (hack-local-variables-prop-line): Return nil for malformed
12364 prop-lines (Bug#9044).
12365
710dec63
MA
123662011-09-18 Michael Albinus <michael.albinus@gmx.de>
12367
12368 * net/tramp.el (top): Don't require 'shell.
12369 (tramp-methods): Fix docstring.
12370 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
12371 Return complete remote file name. Handle "smb" case.
12372 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
12373 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12374
12375 * net/tramp-compat.el (top): Require 'shell.
12376
12377 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12378 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12379 `tramp-current-host'.
12380 (tramp-get-remote-tmpdir): Remove.
12381
12382 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12383 `tramp-tmpdir' entries.
12384 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12385 (tramp-smb-handle-file-attributes): Ignore errors.
12386 (tramp-smb-wait-for-output): Check also for process end.
12387
5d5ac8ec
LMI
123882011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12389
12390 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12391 when sending QUIT (bug#9312).
12392
8c0f49f0
CY
123932011-09-17 Chong Yidong <cyd@stupidchicken.com>
12394
12395 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12396 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12397 occur-mode-display-occurrence.
12398 (occur-edit-mode): Add usage message.
12399 (occur-cease-edit): New command.
12400 (occur-after-change-function): Use text properties to find the
12401 position of the prefix text.
12402 (occur-engine): Set stickiness of prefix text properties.
12403
8f1383f7
GM
124042011-09-17 Glenn Morris <rgm@gnu.org>
12405
12406 * progmodes/etags.el (complete-tag):
12407 Fix call to completion-in-region. (Bug#9526)
12408
744ba0e3
JL
124092011-09-17 Juri Linkov <juri@jurta.org>
12410
12411 * textmodes/ispell.el (ispell-word): Add to the error message
12412 the word, ispell program name and current dictionary (bug#9121).
12413 (ispell-tex-arg-end): Capitalize "error" in the error message.
12414
d9bbf400
AS
124152011-09-17 Andreas Schwab <schwab@linux-m68k.org>
12416
12417 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12418 check. (Bug#4251)
12419
8da11505
JL
124202011-09-17 Juri Linkov <juri@jurta.org>
12421
12422 * window.el (window-safe-min-height, window-safe-min-width):
12423 Fix typos (followup to bug#9522).
12424
a91adc7e
SJ
124252011-09-17 Sven Joachim <svenjoac@gmx.de>
12426
12427 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12428
064f328a
EZ
124292011-09-16 Eli Zaretskii <eliz@gnu.org>
12430
12431 * simple.el (line-move): If goal-column is set, move by logical
12432 lines, not by display lines. (Bug#971)
12433 (next-line, previous-line, goal-column, line-move-visual): Doc fix
12434 to reflect the above change.
12435
e69df516
SM
124362011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
12437
12438 * image.el (imagemagick-register-types): Use regexp-opt.
12439
cbb0f9ab
CY
124402011-09-15 Chong Yidong <cyd@stupidchicken.com>
12441
12442 * window.el (display-buffer-base-action): Rename from
12443 display-buffer-default-action. Make default value empty.
12444 (display-buffer-overriding-action): Convert to defvar.
12445 (display-buffer-fallback-action): New var.
12446
25322144
CY
124472011-09-15 Chong Yidong <cyd@stupidchicken.com>
12448
12449 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12450 declaration.
12451 (package--add-to-archive-contents): If there is a duplicate entry
12452 with an older version, remove it.
12453 (package-menu-mark-delete, package-menu-mark-install)
12454 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
12455 (package-menu-mark-obsolete-for-deletion):
12456 Use package-menu-get-status instead of a regexp search.
25322144
CY
12457 (package-menu-get-status): Use tabulated-list-entry.
12458 (package-menu-mark-upgrades): New command.
d770725a 12459 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
12460 (package-menu-execute): Do installation before deletion.
12461 (package-menu-refresh, package-menu-execute): Use derived-mode-p
12462 instead of checking major-mode.
12463 (package-menu--find-upgrades): New function.
12464
7520339c
LMI
124652011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12466
12467 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12468 passwords in the log buffer.
65a046c4
LMI
12469 (smtpmail-process-filter): Update the process marker so that the
12470 "broken by peer" status message is inserted in the right place.
7520339c 12471
d3c30954
SM
124722011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
12473
3fe48822
SM
12474 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12475 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12476 bibtex-completion-at-point-function.
12477 (bibtex-completion-at-point-function): Use them.
12478
1b8b3954
SM
12479 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12480
d3c30954
SM
12481 * mpc.el (mpc-constraints-tag-lookup): New function.
12482 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12483 also to browser "album|playlist".
12484
72779976
JL
124852011-09-14 Juri Linkov <juri@jurta.org>
12486
12487 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
12488 (isearch-edit-string): Use length of `isearch-string' when
12489 `isearch-fail-pos' returns nil.
12490 (isearch-message): Remove duplicate code and call
12491 `isearch-fail-pos' with arg `t'.
12492
a0bf2bcd
CY
124932011-09-14 Chong Yidong <cyd@stupidchicken.com>
12494
17bb0a2d
CY
12495 * replace.el (occur-mode-goto-occurrence): Don't force using other
12496 window (Bug#9499).
12497
a0bf2bcd
CY
12498 * dired-aux.el (dired-do-chmod): Don't provide initial input.
12499
f678e0b6
MR
125002011-09-14 Martin Rudalics <rudalics@gmx.at>
12501
12502 * window.el (display-buffer-window): Remove.
12503 (display-buffer-record-window): Use help-setup window parameter
12504 instead of variable display-buffer-window.
12505 (display-buffer-function, special-display-buffer-names)
12506 (special-display-function): Mention help-setup parameter instead
12507 of display-buffer-window in doc-string.
d3c30954
SM
12508 * help.el (help-window-setup): New argument help-window.
12509 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
12510 Reword some messages.
12511 (with-help-window): Pass window used for displaying the buffer
12512 to help-window-setup. Don't set display-buffer-window.
12513
8e39b2e8
GM
125142011-09-13 Glenn Morris <rgm@gnu.org>
12515
12516 * emacs-lisp/debug.el (debugger-make-xrefs):
12517 Preserve point. (Bug#9462)
12518
85e9c04b
CY
125192011-09-13 Chong Yidong <cyd@stupidchicken.com>
12520
12521 * window.el (window-deletable-p): Use next-frame.
12522
1b36ed6a
MR
125232011-09-13 Martin Rudalics <rudalics@gmx.at>
12524
12525 * window.el (window-auto-delete): Remove.
12526 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 12527 dedication and previous buffers.
1b36ed6a
MR
12528 (switch-to-prev-buffer): Don't delete window.
12529 (delete-windows-on): Delete a window's frame if and only if the
12530 window is dedicated.
12531 (replace-buffer-in-windows): Delete buffer's window or frame if
12532 and only if window is dedicated.
12533 (quit-window): Handle quit-restore as before last change.
4d61f28d 12534 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 12535
ef8ef9fb
CY
125362011-09-13 Chong Yidong <cyd@stupidchicken.com>
12537
12538 * window.el (window-deletable-p): Never delete the last frame on a
12539 given terminal.
12540
b2cba41e
GM
125412011-09-13 Glenn Morris <rgm@gnu.org>
12542
12543 * help.el (describe-key-briefly): Copy previous standard-output change.
12544
51553db6 125452011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
12546
12547 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
12548
b7556719
GM
125492011-09-13 Glenn Morris <rgm@gnu.org>
12550
12551 * emacs-lisp/lisp-mode.el (lisp-indent-function):
12552 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12553
64b51947
CY
125542011-09-12 Chong Yidong <cyd@stupidchicken.com>
12555
12556 * dired-aux.el (dired-mark-read-string): Don't return default
12557 value on empty input (Bug#9361).
12558 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12559 Omit initial minibuffer contents.
12560 (dired-do-chmod): Signal an error on empty input.
12561 (dired-mark-read-string): Don't return default on empty input.
12562
12563 * files.el (file-modes-symbolic-to-number): Doc fix.
12564
393a301e
SM
125652011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
12566
12567 * international/mule-cmds.el (ucs-completions): Remove.
12568 (read-char-by-name): Use complete-with-action instead; add metadata.
12569
fa5660f9
CY
125702011-09-11 Chong Yidong <cyd@stupidchicken.com>
12571
12572 * window.el (display-buffer--action-function-custom-type)
12573 (display-buffer--action-custom-type): New vars.
12574 (display-buffer-alist, display-buffer-default-action)
12575 (display-buffer-overriding-action): Add defcustom types.
12576
4a592f66
CY
12577 * frame.el (delete-other-frames): Doc fix (Bug#276).
12578
73d56dbd
LMI
125792011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12580
12581 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12582
37ac18a3
CY
125832011-09-11 Chong Yidong <cyd@stupidchicken.com>
12584
12585 Change modes that used same-window-* vars to use switch-to-buffer.
12586
12587 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12588 Use switch-to-buffer.
12589
12590 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
12591 (customize-browse, custom-buffer-create-other-window):
12592 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
12593
12594 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12595 (Info-prev, Info-up, Info-speedbar-goto-node)
12596 (info-display-manual): Use switch-to-buffer.
12597 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12598
12599 * mail/sendmail.el (mail): Use switch-to-buffer.
12600 (mail-recover): Use switch-to-buffer-other-window.
12601
12602 * cmuscheme.el (run-scheme, switch-to-scheme):
12603 * ielm.el (ielm):
12604 * shell.el (shell):
12605 * net/rlogin.el (rlogin):
12606 * net/telnet.el (telnet, rsh):
12607 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12608
10195bd6
AS
126092011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12610
12611 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12612
b322f63a
LMI
126132011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12614
39d7fed6
LMI
12615 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12616 so don't mention it (bug#9301).
ba5a81f1 12617 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 12618
ee0e9f11
LMI
12619 * faces.el (face-spec-set-match-display): Make `(type graphic)'
12620 match `x', `w32' and `ns', like the manual says (bug#9029).
12621
0b1c89c1 12622 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
12623 (process-kill-buffer-query-function): Mention the buffer name in
12624 the query.
0b1c89c1 12625
77549ea8
LMI
12626 * image-mode.el (image-next-line): The line parameter is mandatory
12627 (bug#9258).
12628
803ef892
LMI
12629 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12630 which can be useful (bug#9301).
12631
12980837
LMI
12632 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12633
91054f8f
LMI
12634 * subr.el (match-string): Mention that the current buffer should
12635 be the same as the search was done in (bug#9282).
12636
b322f63a
LMI
12637 * facemenu.el: Disable the remove-* commands if the mark isn't
12638 active (bug#9162).
12639
3199b96f
CY
126402011-09-10 Chong Yidong <cyd@stupidchicken.com>
12641
12642 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12643 of display-buffer.
12644 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12645
12646 * replace.el (occur-mode-goto-occurrence)
12647 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12648 and display-buffer.
12649
12650 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12651 display-buffer.
12652
12653 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12654 special-display and same-window variables.
12655 (mail-other-window): Use switch-to-buffer-other-window.
12656 (mail-other-frame): USe switch-to-buffer-other-frame.
12657
393a301e
SM
12658 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12659 Use display-buffer-other-frame.
3199b96f
CY
12660 (gdb-display-gdb-buffer): Use pop-to-buffer.
12661
12662 * progmodes/gud.el (gud-goto-info): Use info-other-window.
12663
12664 * progmodes/python.el: Don't set same-window-buffer-names.
12665
12666 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12667
12668 * window.el (display-buffer-alist): Add *Python*.
12669
8319e0bf
CY
126702011-09-10 Chong Yidong <cyd@stupidchicken.com>
12671
12672 * window.el (display-buffer-alist): Add entry for buffers
12673 previously handled same-window-*.
12674 (display-buffer-alist, display-buffer-default-action)
12675 (display-buffer-overriding-action): Mark as risky.
12676 (display-buffer-alist): Document action function changes.
12677 (display-buffer--same-window-action)
12678 (display-buffer--other-frame-action): New variables.
12679 (switch-to-buffer, display-buffer-other-frame): Use them.
12680 (display-buffer): Rename reuse-frame entry to reusable-frames.
12681 (display-buffer-reuse-selected-window): Function deleted.
12682 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12683 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12684 (display-buffer-special): New function.
12685 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12686 display-buffer-reuse-or-pop-window. Split off special-display
12687 part into display-buffer-special.
12688 (display-buffer-use-some-window): Don't perform any special
12689 pop-up-frames handling.
12690 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 12691 (display-buffer--maybe-same-window): Rename from
0d3ff375 12692 display-buffer-maybe-same-window.
8319e0bf 12693
919a69aa
CY
12694 * info.el: Don't set same-window-regexps.
12695 (info-setup): New function.
12696 (info-other-window, info): Call it.
12697
12698 * cus-edit.el: Don't set same-window-regexps.
12699 (customize-group): New argument.
12700 (customize-group-other-window): Use it.
12701 (customize-face, customize-face-other-window): Likewise.
12702 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12703
8319e0bf
CY
12704 * net/rlogin.el:
12705 * net/telnet.el:
12706 * progmodes/gud.el: Don't set same-window-regexps.
12707
12708 * cmuscheme.el:
12709 * ielm.el:
12710 * shell.el:
12711 * mail/sendmail.el:
12712 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12713
25173000
JL
127142011-09-10 Juri Linkov <juri@jurta.org>
12715
12716 * isearch.el (isearch-edit-string): Remove obsolete mention of
12717 `C-w' (`isearch-yank-word-or-char') from docstring.
12718 (isearch-query-replace): Fix typo in docstring (bug#9466).
12719
056e44ef
JL
127202011-09-10 Juri Linkov <juri@jurta.org>
12721
12722 * paren.el (show-paren-function): Don't show escaped parens.
12723 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12724
c3760c17
EZ
127252011-09-10 Eli Zaretskii <eliz@gnu.org>
12726
12727 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12728 (mm-default-file-encoding): Remove autoload forms, they are
12729 replaced with autoload cookies in mml.el and mm-encode.el.
12730 (mail-add-attachment): New command.
12731 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12732 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12733 the doc string.
12734 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12735
fece895e
RT
127362011-09-10 Reuben Thomas <rrt@sc3d.org>
12737
e69df516
SM
12738 * simple.el (count-words-region): Use buffer if there's no region
12739 (bug#9429).
fece895e 12740
5e68ce4a
JL
127412011-09-09 Juri Linkov <juri@jurta.org>
12742
12743 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12744 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12745 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12746
0a6b9622
AM
127472011-09-09 Alan Mackenzie <acm@muc.de>
12748
12749 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12750 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12751
14a29deb
EZ
127522011-09-09 Eli Zaretskii <eliz@gnu.org>
12753
12754 Fix for Savannah bug#9392.
12755 * simple.el (mail-encode-mml): New defvar.
12756
12757 * mail/rmail.el (mail-encode-mml): Add a defvar.
12758 (rmail-enable-mime-composing): Default to t.
12759 (rmail-forward): Use MIME method of forwarding only if both
12760 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12761 Set mail-encode-mml non-nil if the MIME method was used.
12762
12763 * mail/sendmail.el (mml-to-mime): Add autoload form.
12764 (mail-encode-mml): Add a defvar.
12765 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12766 to nil.
12767 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12768 message through mml-to-mime, and reset mail-encode-mml to nil.
12769
28c45130
GM
127702011-09-09 Glenn Morris <rgm@gnu.org>
12771
12772 * woman.el (woman-if-body): When processing an .el block,
12773 do not delete the next .el block as well. (Bug#9447)
69f4b618 12774 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 12775
9b1c252e
MR
127762011-09-08 Martin Rudalics <rudalics@gmx.at>
12777
12778 * window.el (window-deletable-p): Make sure window is live before
12779 invoking window-prev-buffers.
12780
567457e3
LL
127812011-09-08 Leo Liu <sdl.web@gmail.com>
12782
12783 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12784
97f05794
JL
127852011-09-08 Juri Linkov <juri@jurta.org>
12786
12787 * progmodes/compile.el (compilation-environment): Make it
12788 a defcustom (bug#8340).
12789
8b0874b5
MR
127902011-09-08 Martin Rudalics <rudalics@gmx.at>
12791
12792 * window.el (frame-auto-delete): Rename to window-auto-delete.
12793 Make it control auto-deletion of windows and/or frames.
12794 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 12795 for deleting window/frame. (Bug#9419)
8b0874b5
MR
12796 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12797 Rewrite handling of case when window/frame can be deleted.
12798 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 12799 argument t. (Bug#9456)
8b0874b5 12800
4feb6e73
CY
128012011-09-07 Chong Yidong <cyd@stupidchicken.com>
12802
12803 * help-mode.el (help-mode): Restore autoload.
12804
91ab9c13
JL
128052011-09-07 Juri Linkov <juri@jurta.org>
12806
12807 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12808 `compilation-environment'. Set buffer-local
12809 `compilation-environment' to `thisenv' later after (funcall mode).
12810 (Bug#8340)
12811
12812 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12813 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12814 instead of replacing its value. (Bug#8340)
12815
0527e251
JL
128162011-09-07 Juri Linkov <juri@jurta.org>
12817
12818 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12819 based on text properties put by `grep-filter' instead of matching
12820 escape sequences.
12821 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12822 to the value of `grep-error-screen-columns' (bug#9438).
12823
249f792c
JL
128242011-09-07 Juri Linkov <juri@jurta.org>
12825
12826 * simple.el (next-error-highlight, next-error-highlight-no-select):
12827 Doc fix (bug#9432).
12828
ff7271b9
OT
128292011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12830
12831 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12832 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12833
183fc730
LL
128342011-09-07 Leo Liu <sdl.web@gmail.com>
12835
12836 * net/rcirc.el (rcirc-mode): Conditionally initialize
12837 rcirc-input-ring.
12838
77694924
SM
128392011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12840
12841 * emacs-lisp/find-func.el (find-function-C-source): Only set
12842 find-function-C-source-directory after checking that we found a source
12843 file there (bug#9440).
12844
d809b8eb
AM
128452011-09-06 Alan Mackenzie <acm@muc.de>
12846
12847 * isearch.el (isearch-other-meta-char): Wherever a key list is
12848 unread, "unread" the prefix arg, too. This fixes bug #8901.
12849
453de99f
OG
128502011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12851
12852 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12853
90439906
JL
128542011-09-05 Juri Linkov <juri@jurta.org>
12855
12856 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12857
f62bd846
JL
128582011-09-05 Juri Linkov <juri@jurta.org>
12859
12860 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12861 keeping point where processing of grep matches begins, and
12862 continue to delete remaining escape sequences from the same point.
12863 (grep-filter): Make leading zero optional in "0?1;31m" because
12864 git-grep emits "\033[1;31m" escape sequences unlike expected
12865 "\033[01;31m" as GNU Grep does (bug#9408).
12866 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12867
045820ec
JL
128682011-09-05 Juri Linkov <juri@jurta.org>
12869
12870 * subr.el (y-or-n-p): Capitalize "yes".
12871
f5e29b9b
MA
128722011-09-04 Michael Albinus <michael.albinus@gmx.de>
12873
12874 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12875 `tramp-cache-unload-hook' where appropriate.
12876 (tramp-methods): Rename `tramp-remote-sh' to
12877 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12878 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12879
12880 * net/tramp-sh.el (top): Don't require 'shell.
12881 (tramp-methods): Add `tramp-remote-shell' and
12882 `tramp-remote-shell-args' entries.
12883 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12884 (tramp-sh-handle-shell-command): Remove.
12885 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12886 Use `tramp-remote-shell'.
12887
2784c434
CY
128882011-09-03 Chong Yidong <cyd@stupidchicken.com>
12889
393a301e 12890 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
12891 (sendmail-query-once): Save directly to send-mail-function.
12892 Update message-send-mail-function too.
12893
12894 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12895
464cdf56
CS
128962011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12897
12898 * progmodes/python.el (python-mode-map): Use correct function to
12899 start python interpreter from menu-bar (as reported by Geert
12900 Kloosterman).
12901 (inferior-python-mode-map): Fix typo.
393a301e 12902 (python-shell-map): Remove.
464cdf56 12903
d37e5c87
DD
129042011-09-03 Deniz Dogan <deniz@dogan.se>
12905
12906 * net/rcirc.el (rcirc-print): Simplify code for
12907 rcirc-scroll-show-maximum-output. There is no need to walk
12908 through all windows to find the right one.
12909
f3ada0ee
CS
129102011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12911
12912 * help.el (help-return-method): Doc fix.
12913
1f3c99ca
MR
129142011-09-03 Martin Rudalics <rudalics@gmx.at>
12915
12916 * window.el (window-deletable-p): Don't return a non-nil value
12917 when there's a buffer that was shown in the window before.
12918 (Bug#9419)
393a301e
SM
12919 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12920 Set window's previous buffers to nil.
1f3c99ca 12921
a3cf097f
EZ
129222011-09-03 Eli Zaretskii <eliz@gnu.org>
12923
12924 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12925 newline before and after the tag line, so it doesn't interfere
12926 with determining the paragraph direction of bidirectional text.
12927
3d03de90
LL
129282011-09-03 Leo Liu <sdl.web@gmail.com>
12929
12930 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12931
c3313451
CY
129322011-09-02 Chong Yidong <cyd@stupidchicken.com>
12933
393a301e 12934 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
12935 (pop-to-buffer): Change interactive spec. Pass second argument
12936 directly to display-buffer.
12937 (display-buffer): Fix interactive spec. Use functionp to
12938 distinguish between a function and a list of functions.
12939
12940 * abbrev.el (edit-abbrevs):
12941 * arc-mode.el (archive-extract):
12942 * autoinsert.el (auto-insert):
12943 * bookmark.el (bookmark-bmenu-list):
12944 * files.el (find-file):
12945 * view.el (view-buffer):
12946 * progmodes/compile.el (compilation-goto-locus):
12947 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12948
89894cd8
CY
129492011-09-02 Chong Yidong <cyd@stupidchicken.com>
12950
12951 * window.el (display-buffer-alist): Doc fix.
12952 (display-buffer): Add docstring. Don't treat
12953 display-buffer-default specially.
12954 (display-buffer-reuse-selected-window)
12955 (display-buffer-same-window, display-buffer-maybe-same-window)
12956 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12957 (display-buffer-pop-up-window)
12958 (display-buffer-reuse-or-pop-window)
12959 (display-buffer-use-some-window): New functions.
12960 (display-buffer-default-action): Use them.
393a301e 12961 (display-buffer-default): Delete.
89894cd8
CY
12962 (pop-to-buffer-1): Fix choice of actions.
12963
ae0bc9fb
SM
129642011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12965
12966 * minibuffer.el (completion--insert-strings): Don't get confused by
12967 completion entries that end with an LF char.
12968
e9d90883
EZ
129692011-09-01 Eli Zaretskii <eliz@gnu.org>
12970
12971 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12972
437014c8
CY
129732011-09-01 Chong Yidong <cyd@stupidchicken.com>
12974
12975 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
12976 (display-buffer-same-window, display-buffer-other-window):
12977 New functions.
437014c8
CY
12978 (pop-to-buffer-1): New function. Use the above.
12979 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 12980 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
12981
12982 * view.el (view-buffer-other-window, view-buffer-other-frame):
12983 Just use pop-to-buffer.
12984
a5e063d5
TV
129852011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12986
12987 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12988
793d32bb
WH
129892011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12990
12991 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12992
d65e4c15
RS
129932011-08-31 Richard Stallman <rms@gnu.org>
12994
12995 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12996 of the separation of rmail-view-buffer from rmail-buffer.
12997 If you say no to "replace original", the decrypt is in the
12998 view buffer. If you say yes, the decrypt goes into the
12999 rmail buffer also.
13000
f818cd2a
MR
130012011-08-31 Martin Rudalics <rudalics@gmx.at>
13002
13003 * window.el (display-buffer-window): Rewrite doc-string.
13004 (display-buffer-record-window): New function.
13005 (display-buffer-macro-specifiers)
13006 (display-buffer-even-window-sizes, display-buffer-set-height)
13007 (display-buffer-set-width, display-buffer-in-window)
13008 (display-buffer-reuse-window, display-buffer-split-specifiers)
13009 (display-buffer-side-specifiers, display-buffer-split-window-1)
13010 (display-buffer-split-window, display-buffer-split-atom-window)
13011 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13012 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13013 (display-buffer-other-window-means-other-frame)
13014 (display-buffer-normalize-special)
13015 (display-buffer-normalize-default)
13016 (display-buffer-normalize-argument)
13017 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13018 (display-buffer-normalize-specifiers, display-buffer-frame)
13019 (display-buffer-same-window, display-buffer-same-frame)
13020 (display-buffer-other-window)
13021 (display-buffer-same-frame-other-window)
13022 (display-buffer-other-frame, pop-to-buffer-same-window)
13023 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13024 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13025 (switch-to-buffer-same-frame)
13026 (switch-to-buffer-other-window-same-frame)
13027 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13028 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13029 (display-buffer-alist-set): Remove.
13030 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13031 (special-display-regexps, special-display-function):
13032 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13033 parameter.
13034 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13035 (special-display-frame-alist, special-display-popup-frame)
13036 (same-window-buffer-names, same-window-regexps, same-window-p)
13037 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13038 (split-window-preferred-function, split-height-threshold)
13039 (split-width-threshold, window-splittable-p)
13040 (split-window-sensibly, window--try-to-split-window)
13041 (window--frame-usable-p, even-window-heights)
13042 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13043 (window--display-buffer-2, display-buffer-other-frame):
13044 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13045 (display-buffer-default, display-buffer-assq-regexp): New functions.
13046 (display-buffer-alist): Rewrite doc-string.
13047 (display-buffer-default-action)
13048 (display-buffer-overriding-action): New variables.
13049 (display-buffer, switch-to-buffer): Rewrite.
13050 (pop-to-buffer): Restore Emacs 23 behavior but use
13051 window-normalize-buffer-to-display.
13052 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13053 Restore Emacs 23 behavior but use
13054 window-normalize-buffer-to-switch-to.
13055 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13056 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13057 Rewrite using Emacs 23 options.
f818cd2a 13058
5bc3b51d
MA
130592011-08-31 Michael Albinus <michael.albinus@gmx.de>
13060
13061 * net/tramp.el (tramp-root-regexp): Remove.
13062 (tramp-completion-file-name-regexp-unified)
13063 (tramp-completion-file-name-regexp-separate)
13064 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13065 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13066 (tramp-drop-volume-letter): Simplify definition.
13067 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13068
b1a4f8e1
SM
130692011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13070
13071 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13072 (bug#9356).
13073
5664fa7b
RT
130742011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13075
b1a4f8e1 13076 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13077
9a45d6c3
JL
130782011-08-29 Juri Linkov <juri@jurta.org>
13079
13080 * isearch.el (isearch-done): Don't display message "Mark saved"
13081 when arg `edit' is non-nil to prevent its flicker in the echo area.
13082
fb87e0fb
CY
130832011-08-28 Chong Yidong <cyd@stupidchicken.com>
13084
13085 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13086 obsolete packages for deletion.
13087
09ac1c2a
CS
130882011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13089
13090 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13091 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13092 view-mode from help-mode.
13093 (help-xref-override-view-map): Remove.
13094 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13095 view-mode is not used anymore.
13096
7a1ff57f
CY
130972011-08-28 Chong Yidong <cyd@stupidchicken.com>
13098
13099 * server.el (server-port): Doc fix.
13100
b9696605
CY
13101 * cus-theme.el (custom-theme-choose-mode): Inherit from
13102 special-mode (Bug#9124).
13103 (custom-theme-choose-mode-map): Add special-mode to parent.
13104
ef8cdf8c
AM
131052011-08-28 Alan Mackenzie <acm@muc.de>
13106
13107 * progmodes/cc-fonts.el
13108 (c-make-font-lock-BO-decl-search-function): New function.
13109 (c-basic-matchers-after - "Fontify the clauses after various
13110 keywords"): Extract the three keyword lists for the 3 erroneous
13111 constructs from the list of four, and use the new function above
13112 in place of an old one.
13113
27de4e20
DD
131142011-08-28 Deniz Dogan <deniz@dogan.se>
13115
13116 * net/rcirc.el (rcirc-insert-prev-input)
13117 (rcirc-insert-next-input): Remove unused argument.
13118
356a3681
SM
131192011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13120
13121 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13122
3fc9b218
AM
131232011-08-27 Alan Mackenzie <acm@muc.de>
13124
13125 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13126 handle function pointer parameters properly.
13127
538a061c
MR
131282011-08-27 Martin Rudalics <rudalics@gmx.at>
13129
13130 * window.el (display-buffer-reuse-window): Fix case where
13131 selected window was reused with non-nil OTHER-WINDOW argument.
13132 (Bug#9381)
13133
35b1c40c
DD
131342011-08-27 Deniz Dogan <deniz@dogan.se>
13135
13136 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13137 oftc's NickServ messages.
13138
2f6a3e79
GM
131392011-08-27 Glenn Morris <rgm@gnu.org>
13140
13141 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13142
7254299e
CY
131432011-08-26 Chong Yidong <cyd@stupidchicken.com>
13144
13145 * emacs-lisp/package.el (package-install): Call package-initialize
13146 if called interactively.
13147
f8ccf167
LL
131482011-08-26 Leo Liu <sdl.web@gmail.com>
13149
13150 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13151
3e8cd5ce
JL
131522011-08-25 Juri Linkov <juri@jurta.org>
13153
13154 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13155 `search-whitespace-regexp' (bug#9364).
13156
93eb7113
JL
131572011-08-25 Juri Linkov <juri@jurta.org>
13158
13159 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13160 `regexp-search-ring' to their global values to protect from
13161 updating by `read-from-minibuffer' (bug#9185).
13162
f65d1611
JL
131632011-08-25 Juri Linkov <juri@jurta.org>
13164
13165 * textmodes/ispell.el (ispell-command-loop): Add newline
13166 at the end of the "Use option `i'..." line.
13167
f1cf7a31
JL
131682011-08-25 Juri Linkov <juri@jurta.org>
13169
13170 * battery.el (display-battery-mode): If `battery-status-function'
13171 or `battery-mode-line-format' is nil, display the message and set
13172 `display-battery-mode' to nil (bug#9363).
13173
0c95fcf7
EZ
131742011-08-25 Eli Zaretskii <eliz@gnu.org>
13175
13176 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13177 bidi-string-mark-left-to-right; they are unnecessary now.
13178
a2ebe600
DD
131792011-08-25 Deniz Dogan <deniz@dogan.se>
13180
13181 * net/quickurl.el: Documentation typo fixes.
13182
e4ed06f1
CY
131832011-08-25 Chong Yidong <cyd@stupidchicken.com>
13184
13185 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13186
e5f1c99e
GM
131872011-08-25 Glenn Morris <rgm@gnu.org>
13188
b2948976
GM
13189 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13190
e5f1c99e
GM
13191 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13192 (smtpmail-via-smtp): Handle nil response from smtp.
13193
f22f4808
JL
131942011-08-24 Juri Linkov <juri@jurta.org>
13195
13196 * proced.el (proced-marked): Inherit from `error' instead of
13197 `font-lock-warning-face'.
13198
13199 * ibuffer.el (ibuffer-marked-face): Change default face from
13200 `font-lock-warning-face' to `warning'.
13201 (ibuffer-deletion-face): Change default face from
13202 `font-lock-type-face' to `error'.
13203
13204 * battery.el (battery-update): Use the face `error' instead of
13205 `font-lock-warning-face' (bug#6117).
13206
6a93965e
JL
132072011-08-24 Juri Linkov <juri@jurta.org>
13208
13209 * faces.el (success): Change face color from "Green3" to
13210 "ForestGreen" on light background (bug#9353).
13211
1ed43b09
CY
132122011-08-24 Chong Yidong <cyd@stupidchicken.com>
13213
5664fa7b
RT
13214 * window.el (quit-window): Rename from quit-restore-window.
13215 Use same arglist as old quit-window.
1ed43b09
CY
13216 (frame-auto-delete): Doc fix.
13217
13218 * view.el (view-mode-exit): Use quit-window.
13219
11dcdbb2
JL
132202011-08-24 Juri Linkov <juri@jurta.org>
13221
13222 * isearch.el (isearch-ring-adjust1): Start visiting previous
13223 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13224 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13225 for empty search string (when the last search string is reused
13226 automatically) to adjust the isearch ring to the last element and
13227 prepare the correct index for further M-p commands (bug#9185).
13228
de62b4df
KH
132292011-08-24 Kenichi Handa <handa@m17n.org>
13230
13231 * international/ucs-normalize.el: If decomposition property of
13232 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13233 nil.
13234 (nfd, nfkd): Likewise.
13235
963b492b
SM
132362011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13237
13238 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13239 from process filters aren't reliably transmitted to the surrounding
13240 accept-process-output.
13241 (mpc-proc-check): New function.
13242 (mpc-proc-sync): Use it (bug#8293)
13243
93b6b5e1
SM
132442011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13245
13246 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13247 Add compatibility functions (bug#9313).
13248
bca633fb
EZ
132492011-08-23 Eli Zaretskii <eliz@gnu.org>
13250
b177498a
EZ
13251 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13252
6df6ae42 13253 * international/uni-bidi.el: Regenerate.
bca633fb 13254
0902a04e
KH
132552011-08-23 Kenichi Handa <handa@m17n.org>
13256
13257 * international/charprop.el:
13258 * international/uni-bidi.el:
13259 * international/uni-category.el:
13260 * international/uni-combining.el:
13261 * international/uni-comment.el:
13262 * international/uni-decimal.el:
13263 * international/uni-decomposition.el:
13264 * international/uni-digit.el:
13265 * international/uni-lowercase.el:
13266 * international/uni-mirrored.el:
13267 * international/uni-name.el:
13268 * international/uni-numeric.el:
13269 * international/uni-old-name.el:
13270 * international/uni-titlecase.el:
13271 * international/uni-uppercase.el: Regenerate.
13272
3bbf23bc
MR
132732011-08-23 Martin Rudalics <rudalics@gmx.at>
13274
13275 * help.el (help-window-setup): Fix message displayed when other
13276 window is reused. (Bug#9341)
13277
b3fd59bd
SM
132782011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13279
1802e444
SM
13280 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13281 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13282
b3fd59bd
SM
13283 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13284 Mark obsolete.
13285 * shell.el (shell-parse-pcomplete-arguments): New function.
13286 (shell-completion-vars): Use it instead (bug#9160).
13287
4eb61348
SM
132882011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
13289
867cab74
SM
13290 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13291 strings and comments (bug#9333).
13292
4eb61348
SM
13293 * emacs-lisp/debug.el (debug-arglist): New function.
13294 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
13295 (debug-on-entry-1): Handle interpreted closures (bug#9120).
13296
262a1439
JL
132972011-08-22 Juri Linkov <juri@jurta.org>
13298
56ee679c
JL
13299 * progmodes/compile.el (compilation-mode-font-lock-keywords):
13300 Revert regexp that highlights output switches to its old
13301 pre-2010-10-28 value and remove one `?' from it (bug#9319).
13302
262a1439
JL
13303 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13304 to check for empty output (bug#9226).
13305
f13f86fb
CY
133062011-08-22 Chong Yidong <cyd@stupidchicken.com>
13307
13308 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13309 symbol-constituent as the default, as that stops font-lock from
13310 working properly (Bug#8843).
13311
c65c9622
LMI
133122011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13313
13314 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13315 `coding-system-for-*' around the process open call to avoid
13316 auth-source side effects.
e7f2c178 13317 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
13318 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13319 probe hangs.
c65c9622 13320
23a8a5ab
CY
133212011-08-21 Chong Yidong <cyd@stupidchicken.com>
13322
ff98b2dd
CY
13323 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13324
23a8a5ab
CY
13325 * emacs-lisp/find-func.el (find-function-noselect): New arg
13326 lisp-only.
13327
13328 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13329 signal an error for built-in functions (Bug#6664).
13330
f5e3c598
LMI
133312011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13332
13333 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13334 (smtpmail-try-auth-methods): Use it.
13335
a3f2468a
CY
133362011-08-21 Chong Yidong <cyd@stupidchicken.com>
13337
2c34e8da
CY
13338 * font-lock.el (font-lock-fontify-region)
13339 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13340 (font-lock-default-unfontify-buffer)
13341 (font-lock-default-fontify-region)
13342 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13343
b3fd59bd
SM
13344 * progmodes/compile.el (compilation-error-properties):
13345 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
13346 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13347 `ant' regexp.
ee31aabc 13348
a3f2468a
CY
13349 * net/browse-url.el (browse-url-firefox): Don't call
13350 browse-url-firefox-sentinel unless using -remote (Bug#9328).
13351
8e999f70
GM
133522011-08-20 Glenn Morris <rgm@gnu.org>
13353
c21a496a
GM
13354 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13355
59ee0542
GM
13356 * tutorial.el (tutorial--default-keys): Update some default bindings.
13357
8e999f70
GM
13358 * files.el (hack-local-variables): Fully ignore case for "mode:".
13359
e3715033
AM
133602011-08-20 Alan Mackenzie <acm@muc.de>
13361
13362 Resolve invalid use of a regexp in regexp-opt.
13363
4d61f28d
JB
13364 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13365 detection for a java annotation.
e3715033 13366
4d61f28d 13367 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
13368 detection for a java annotation.
13369
4d61f28d
JB
13370 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13371 handling for java.
e3715033
AM
13372 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13373
04ed2e9c
CY
133742011-08-20 Chong Yidong <cyd@stupidchicken.com>
13375
13376 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13377 (Bug#9274).
13378
826cee64
AM
133792011-08-20 Alan Mackenzie <acm@muc.de>
13380
58179cce 13381 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
13382 such a construct. Mainly for when jit-lock etc. starts a chunk
13383 here.
13384
58179cce 13385 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 13386 variable.
58179cce 13387 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
13388 c-make-font-lock-search-function.
13389 (c-make-font-lock-search-function): Use the above function.
13390 (c-make-font-lock-context-search-function): New function.
13391 (c-cpp-matchers): Enhance the preprocessor expression case with
13392 the above function
13393 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13394 which takes an expression.
13395
13396 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13397
13009bd8
MR
133982011-08-20 Martin Rudalics <rudalics@gmx.at>
13399
13400 * window.el (display-buffer-reuse-window)
13401 (display-buffer-pop-up-window): Don't reuse or split a side
13402 window.
13403
9234ff7f
GM
134042011-08-19 Glenn Morris <rgm@gnu.org>
13405
13406 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 13407 Downcase "Mode:". (Bug#9331)
9234ff7f 13408
f635daa1
CY
134092011-08-18 Chong Yidong <cyd@stupidchicken.com>
13410
13411 * international/characters.el: Add L and R categories.
13412
13413 * subr.el (bidi-string-mark-left-to-right): Rename from
13414 string-mark-left-to-right. Use category search.
13415
13416 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13417
bc987f8b
JL
134182011-08-18 Juri Linkov <juri@jurta.org>
13419
13420 * faces.el (error, warning, success): New faces with definitions
13421 copied from old default values of `font-lock-warning-face',
13422 `compilation-warning', `compilation-info' (bug#6117).
13423
13424 * font-lock.el (font-lock-warning-face): Inherit from `error'.
13425
13426 * progmodes/compile.el (compilation-error): Inherit from `error'.
13427 (compilation-warning): Inherit from `warning'.
13428 (compilation-info): Inherit from `success'.
13429
13430 * dired.el (dired-marked): Inherit from `warning'.
13431 (dired-flagged): Inherit from `error'.
13432
57173b96
LMI
134332011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13434
3e79eb87
LMI
13435 * mail/smtpmail.el (auth-source): Require to avoid problems with
13436 binding variables (bug#9298). Also clean up some unused
13437 autoloads.
13438
b3fd59bd
SM
13439 * net/network-stream.el (network-stream-open-starttls):
13440 Support using starttls.el without using gnutls-cli.
57173b96 13441
02b404de
JL
134422011-08-17 Juri Linkov <juri@jurta.org>
13443
13444 * progmodes/grep.el (rgrep): Handle the case when
13445 `grep-find-command' is a cons cell (bug#9278).
13446
8c9177f2
MR
134472011-08-17 Martin Rudalics <rudalics@gmx.at>
13448
13449 * window.el (display-buffer-pop-up-frame): Run frame creation
13450 function with BUFFER current (as special-display-popup-frame
13451 does). Reported by Drew Adams.
13452
3644a0ab
DU
134532011-08-17 Daiki Ueno <ueno@unixuser.org>
13454
13455 * epa-mail.el: Simplify GnuPG group expansion using
13456 epg-expand-group.
13457 (epa-mail-group-alist, epa-mail-group-modtime)
13458 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13459 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13460 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13461 Remove.
13462
5e617bc2 134632011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
13464
13465 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13466
9c4aeabf
AM
134672011-08-16 Alan Mackenzie <acm@muc.de>
13468
13469 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13470 Correct, to avoid the inside of macros.
13471
3a99bf64
RS
134722011-08-16 Richard Stallman <rms@gnu.org>
13473
04963aa8
RS
13474 * epa-mail.el: Handle GnuPG group definitions.
13475 (epa-mail-group-alist, epa-mail-group-modtime)
13476 (epa-mail-gnupg-conf-file): New variables.
13477 (epa-mail-parse-groups, epa-mail-sync-groups)
13478 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13479 (epa-mail-expand-recipients): New functions.
13480 (epa-mail-encrypt): Call epa-mail-expand-recipients.
13481
177549d0
RS
13482 * mail/rmail.el (rmail-epa-decrypt): New command.
13483
fe38beef
RS
13484 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13485 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
13486 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13487 (epa-decrypt-armor-in-region): Make error message clearer.
13488
934eacb9
SM
134892011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
13490
13491 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13492 and "a2b" to "ab" for `prefix'.
13493
d024fb4e
CY
134942011-08-14 Chong Yidong <cyd@stupidchicken.com>
13495
13496 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13497 filter groups.
de148fee
CY
13498 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
13499 Fourquet (Bug#8804).
d024fb4e 13500
62f1ca49
JB
135012011-08-12 Juanma Barranquero <lekktu@gmail.com>
13502
13503 * startup.el (argi): Declare as global variable (bug#9275).
13504
9ccaaa4b
CY
135052011-08-12 Chong Yidong <cyd@stupidchicken.com>
13506
13507 * subr.el (string-mark-left-to-right): Search the entire string
13508 for RTL script, not just the terminating character. Doc fix.
13509
a3dae87a
SM
135102011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
13511
6cd18349
SM
13512 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13513 New function.
13514 (js--regexp-literal, js-syntax-propertize-function): Remove.
13515 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13516 (js-mode-map): Don't rebind electric keys.
13517 (js-insert-and-indent): Remove.
13518 (js-mode): Setup electric-layout and electric-indent instead.
13519
a3dae87a
SM
13520 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13521
9d5cb631
DU
135222011-08-12 Daiki Ueno <ueno@unixuser.org>
13523
13524 * epa.el (epa-progress-callback-function): Fix the logic of
13525 displaying progress.
13526 * epa-file.el (epa-file-insert-file-contents): Make progress
13527 display more user-friendly.
13528 (epa-file-write-region): Ditto.
13529
3e26a4a2
CY
135302011-08-10 Chong Yidong <cyd@stupidchicken.com>
13531
13532 * subr.el (string-mark-left-to-right): New function.
13533
13534 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13535 Use string-mark-left-to-right.
13536 (list-buffers-noselect): Caller changed.
13537
a3dae87a
SM
13538 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13539 Use string-mark-left-to-right.
3e26a4a2
CY
13540 (tabulated-list-print): Recenter after moving point.
13541
ac8cf6e6
JL
135422011-08-10 Juri Linkov <juri@jurta.org>
13543
13544 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13545 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
13546 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
13547
8d96c9a4
CY
135482011-08-09 Chong Yidong <cyd@stupidchicken.com>
13549
13550 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13551 (Bug#7554).
13552
7be1c708 135532011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
13554
13555 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13556 character. (Bug#6594)
13557
37e11a63
CY
135582011-08-08 Chong Yidong <cyd@stupidchicken.com>
13559
839dde57
CY
13560 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13561 (image-dired--with-db-file): New macro.
13562 (image-dired-write-tags, image-dired-remove-tag)
13563 (image-dired-create-gallery-lists, image-dired-write-comments)
13564 (image-dired-get-comment, image-dired-mark-tagged-files)
13565 (image-dired-list-tags, image-dired-gallery-generate): Use it.
13566 (image-dired-gallery-generate): Use insert-file-contents.
13567
37e11a63
CY
13568 * time.el (display-time-world-list, display-time-world-display):
13569 * time-stamp.el (time-stamp-string):
13570 * vc/add-log.el (add-change-log-entry): Use setenv instead of
13571 set-time-zone-rule (Bug#7337).
13572
0b4946c4
DU
135732011-08-08 Daiki Ueno <ueno@unixuser.org>
13574
13575 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13576 (epg-error-to-string, epg-errors-to-string): New function.
13577 (epg-wait-for-completion): Reverse errors list.
13578 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13579 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13580 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13581 (epg-sign-keys, epg-generate-key-from-file)
13582 (epg-generate-key-from-string): Format errors by using
13583 epg-errors-to-string (bug#9255).
13584 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13585
75bfc667
JL
135862011-08-07 Juri Linkov <juri@jurta.org>
13587
13588 * faces.el (list-faces-display): Remove extra angle bracket
13589 from `help-mode-map'.
13590
13591 * info.el (Info-history-toc-nodes): Doc fix.
13592
13593 * longlines.el (longlines-mode): Doc fix.
13594
673e08bb
SM
135952011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
13596
4640dd88
SM
13597 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13598 of statements and in a few more cases (bug#9183).
13599
673e08bb
SM
13600 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13601 New functions.
13602 (cl-transform-lambda): Use them (bug#9239).
13603
89b3f019
MR
136042011-08-05 Martin Rudalics <rudalics@gmx.at>
13605
13606 * window.el (display-buffer-same-window)
13607 (display-buffer-same-frame, display-buffer-other-window)
13608 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13609 (pop-to-buffer-other-window)
13610 (pop-to-buffer-same-frame-other-window)
13611 (pop-to-buffer-other-frame): Make them defuns.
13612 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13613
640c8776
SM
136142011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13615
13616 * subr.el (make-composed-keymap): Move from C. Change calling
13617 convention, and improve docstring to bring attention to a subtle point.
13618 * minibuffer.el (completing-read-default): Adjust accordingly.
13619
63648a95
MA
136202011-08-03 Michael Albinus <michael.albinus@gmx.de>
13621
13622 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13623 (tramp-open-shell): Use `tramp-shell-quote-argument'.
13624
13625 * net/trampver.el: Update release number.
13626
b796c9b7
SM
136272011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
13628
13629 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13630 "in" (bug#9190).
13631
2239d7d5
LMI
136322011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13633
e07dd7c3
LMI
13634 * mail/sendmail.el (sendmail-query-once): Restore the current
13635 buffer after querying (bug#9074).
13636
0e6a2bd7
LMI
13637 * dired.el (dired-flagged): Use different faces for marked and
13638 flagged files (bug#6117).
13639
ce887515
LMI
13640 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13641 (bug#4433).
13642
92f2affc
LMI
13643 * ido.el (ido-mode): Switch off the message if called
13644 non-interactively.
13645
57d5aff0
LMI
13646 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13647 before 587, since it appears that that's more likely to work for
13648 more people.
13649
98cd6c18 13650 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 13651 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
13652 exist.
13653
b96dec83
LMI
13654 * info.el: Remove the `Info-beginning-of-buffer' function
13655 (bug#8325).
13656
b796c9b7
SM
13657 * net/network-stream.el (network-stream-open-starttls):
13658 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 13659
d90e2ea0
MR
136602011-08-01 Martin Rudalics <rudalics@gmx.at>
13661
13662 * window.el (display-buffer-in-window): Don't set dedicated status
13663 of window here (Bug#9215).
13664 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13665 (display-buffer-pop-up-side-window)
b796c9b7 13666 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 13667
cca09170
SM
136682011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
13669
13670 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13671 before binding generated-autoload-file.
13672
027b979c
DD
136732011-08-01 Deniz Dogan <deniz@dogan.se>
13674
13675 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13676
3c7ee4f3
MA
136772011-07-30 Michael Albinus <michael.albinus@gmx.de>
13678
13679 Sync with Tramp 2.2.2.
13680
13681 * net/trampver.el: Update release number.
13682
2cc8e51a
JL
136832011-07-30 Juri Linkov <juri@jurta.org>
13684
13685 * dired-aux.el (dired-touch-initial): Remove function.
13686 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13687 current time, and `default' to the last modification time of the
13688 current marked file (bug#6887).
13689
a514d856
JM
136902011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13691
13692 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 13693 numeric argument to read-number (bug#9163).
a514d856 13694
8a7eddd7
MA
136952011-07-27 Michael Albinus <michael.albinus@gmx.de>
13696
13697 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13698 connection process, it could be nil.
13699
1ddd96f5
LL
137002011-07-27 Leo Liu <sdl.web@gmail.com>
13701
13702 Simplify url handling in rcirc-mode.
13703
13704 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13705 (rcirc-browse-url-at-mouse): Remove.
13706 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13707
b248a85d
AM
137082011-07-26 Alan Mackenzie <acm@muc.de>
13709
13710 Fontify bitfield declarations properly.
13711
13712 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13713 (c-symbol-chars): Now exported as a lang variable.
13714 (c-not-primitive-type-keywords): New lang variable.
13715
13716 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13717 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 13718 parsed as a bitfield declaration.
b248a85d 13719
b796c9b7
SM
13720 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13721 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
13722 (c-punctuation-in): New function.
13723 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13724 declarations properly.
13725
68575ab0
UJ
137262011-07-26 Ulf Jasper <ulf.jasper@web.de>
13727
13728 * calendar/icalendar.el (icalendar--all-events): Take care of
13729 multiple vcalendars in a single file.
b796c9b7 13730 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 13731
0f0a88b9
DD
137322011-07-25 Deniz Dogan <deniz@dogan.se>
13733
13734 * image.el (insert-image): Clarifying docstring.
13735
0b3f36df
MA
137362011-07-24 Michael Albinus <michael.albinus@gmx.de>
13737
13738 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13739 `tramp-send-command-and-check' if there is no error.
13740 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13741
a9901f61
AM
137422011-07-22 Alan Mackenzie <acm@muc.de>
13743
13744 Prevent cc-langs.elc being loaded at run time.
13745
13746 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13747 cc-langs.
13748
4d61f28d 13749 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
13750 "(require 'cc-langs)". Quote a form so it will evaluate at
13751 (cc-mode's) compilation time.
13752
11d074b2
MA
137532011-07-22 Michael Albinus <michael.albinus@gmx.de>
13754
13755 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13756 loading. (Bug#9114)
13757
938b94c8
MR
137582011-07-21 Martin Rudalics <rudalics@gmx.at>
13759
13760 * window.el (display-buffer-pop-up-window)
13761 (display-buffer-pop-up-side-window)
13762 (display-buffer-in-side-window): Call display-buffer-set-height
13763 and display-buffer-set-width after setting the new window's
b796c9b7 13764 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 13765
bfa4f190
SS
137662011-07-20 Sam Steingold <sds@gnu.org>
13767
13768 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13769 (etags-tags-included-tables): Call `convert-standard-filename' on
13770 the file names contained in TAGS so that windows Emacs can handle
13771 TAGS files created by cygwin ctags.
13772
8ca42262
LMI
137732011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13774
13775 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13776 which apparently didn't work.
13777
5db2afd2 137782011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 13779
5db2afd2
RW
13780 * proced.el (proced-send-signal): For *Marked Processes* buffer
13781 put point at beginning of buffer.
13782
92e15d10
SB
137832011-07-19 Stephen Berman <stephen.berman@gmx.net>
13784
13785 * proced.el (proced-format): Make header lines align with the text
13786 (bug#1779).
13787
1bfd59e5
LMI
137882011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13789
13790 * view.el (view-buffer): Allow running in `special' modes if we're
13791 visiting a file (bug#8615).
13792
f5aae37c
MR
137932011-07-19 Martin Rudalics <rudalics@gmx.at>
13794
13795 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
13796 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13797 New functions.
f5aae37c
MR
13798 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13799 more accurately.
13800
bf2c1571
AM
138012011-07-18 Alan Mackenzie <acm@muc.de>
13802
13803 Fontify declarators properly when, e.g., a jit-lock chunk begins
13804 inside a declaration.
13805
13806 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13807
b796c9b7
SM
13808 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13809 New function.
bf2c1571
AM
13810 (c-complex-decl-matchers): Insert reference to
13811 c-font-lock-enclosing-decls.
13812
13813 * progmodes/cc-engine.el (c-backward-single-comment):
13814 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13815 to nil around calls to (forward-comment -1).
13816
4e190b80
LMI
138172011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13818
12dc863d
LMI
13819 * image.el (put-image): Doc typo fix.
13820
a762e966
LMI
13821 * progmodes/etags.el (tags-search): Doc typo fix.
13822
4e190b80
LMI
13823 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13824 password if we get errors 550 to 554.
13825
f019fb21
LMI
138262011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13827
b796c9b7 13828 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 13829
81746738
LMI
13830 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13831 indentation character (bug#6380).
13832
3ee3a1b5
LMI
13833 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13834
c82f64de
LMI
13835 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13836 to clarify what the problem is (bug#4291).
13837
f019fb21
LMI
13838 * simple.el (current-kill): Clarify what
13839 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
13840 (auto-fill-mode): Document `auto-fill-function' in relation to
13841 `auto-fill-mode' (bug#2470).
f019fb21 13842
0794775d
LM
138432011-07-16 Lawrence Mitchell <wence@gmx.li>
13844
13845 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13846 method if slot is read-only (bug#9035).
13847
be39b8cc
MR
138482011-07-16 Martin Rudalics <rudalics@gmx.at>
13849
b796c9b7 13850 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 13851 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
13852 selected before, see discussion of (Bug#8615), (Bug#6954).
13853 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 13854
6ccf7859
GM
138552011-07-15 Glenn Morris <rgm@gnu.org>
13856
13857 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 13858 Respect help-form.
6ccf7859 13859
87e86684
LM
138602011-07-09 Lawrence Mitchell <wence@gmx.li>
13861
13862 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13863 (gnutls-negotiate): Use it.
13864
d6066239
LMI
138652011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13866
b796c9b7
SM
13867 * net/gnutls.el (gnutls-negotiate):
13868 Upcase `gnutls-algorithm-priority'.
d6066239 13869
bd23ebc0
GM
138702011-07-15 Glenn Morris <rgm@gnu.org>
13871
c65bca65
GM
13872 * jka-compr.el (jka-compr-verbose): Move from here...
13873 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13874 Add missing :version tag.
13875 * info.el: No need to require jka-compr when compiling.
bd23ebc0 13876
478615cc
LMI
138772011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13878
7b41decb
LMI
13879 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13880 (gnutls-negotiate): Use it.
13881
dbc44fcd
LMI
13882 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13883
06789f97
LMI
13884 * info.el (Info-beginning-of-buffer): New command.
13885 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13886 announcing `b' as the key (bug#8325).
ab896c37 13887 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 13888
c39da690
LMI
13889 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13890
3aa5f34b
LMI
13891 * international/mule-cmds.el
13892 (describe-specified-language-support): Make the error message
13893 clearer (bug#8905).
13894
4bf0979f
LMI
13895 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13896
478615cc
LMI
13897 * isearch.el (isearch-barrier): Add a doc string, since it's
13898 mentioned in a function doc string (bug#8678).
13899
75c68aa1
MR
139002011-07-15 Martin Rudalics <rudalics@gmx.at>
13901
13902 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13903 buffer argument (Bug#9083) and self-identifying label argument.
13904
a7c33da2
GM
139052011-07-15 Glenn Morris <rgm@gnu.org>
13906
13907 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13908
2f5c6024
LMI
139092011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13910
13911 * man.el (Man-fontify-manpage): Fix message when formatting the
13912 man page (bug#7929).
13913
0bb23927 139142011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
13915
13916 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13917 argument LRM; if non-nil, append an invisible LRM character to the
13918 buffer name.
13919 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13920 last argument non-nil, when formatting buffer names.
0bb23927
EZ
13921 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13922 paragraph direction.
cce4b0a7 13923
621ef9ab
LMI
139242011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13925
d1583c48
LMI
13926 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13927 the man page name (bug#7929).
13928
6a57fb5f
LMI
13929 * image.el (put-image): Mention the `put-image' overlay property
13930 (bug#7834).
13931
d7956b14
LMI
13932 * scroll-bar.el (set-scroll-bar-mode): Mention that
13933 `scroll-bar-mode' lists the values (bug#7772).
13934
5b2d4a66
LMI
13935 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13936 command (bug#7729).
13937
7509a874
LMI
13938 * rect.el (apply-on-rectangle): Return the point after the last
13939 operation.
13940 (string-rectangle): Go to the point after the last operation
13941 (bug#7522).
13942
4fe74b19
LMI
13943 * printing.el (pr-toggle-region): Clarify the documentation
13944 slightly (bug#7493).
13945
b796c9b7
SM
13946 * time.el (display-time-update):
13947 Allow `display-time-mail-function' to return nil (bug#7158).
13948 Fix suggested by Detlev Zundel.
ab283561 13949
fc233c9d
LMI
13950 * vc/diff.el (diff): Clarify the order the file names are read
13951 (bug#7111).
13952
43f5740b
LMI
13953 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13954 the doc string (bug#7015).
13955
f2182a76
LMI
13956 * font-lock.el (font-lock-maximum-decoration): Mention what
13957 numeric levels mean (bug#6935).
13958
621ef9ab
LMI
13959 * startup.el (initial-buffer-choice): Don't mention the `none'
13960 selection, which is against policy.
13961
adc47434
MR
139622011-07-14 Martin Rudalics <rudalics@gmx.at>
13963
b796c9b7
SM
13964 * window.el (display-buffer-normalize-special):
13965 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 13966
7e5bfb8f
EZ
139672011-07-14 Eli Zaretskii <eliz@gnu.org>
13968
13969 * subr.el (version<, version<=, version=): Mention "-CVS" and
13970 "-12345" alpha version numbers.
13971
27fa387a
CY
139722011-07-14 Chong Yidong <cyd@stupidchicken.com>
13973
13974 * bindings.el: Add advertised binding for set-mark-command
13975 (Bug#5772).
13976
8bdfa064
CY
139772011-07-14 Chong Yidong <cyd@stupidchicken.com>
13978
13979 * bindings.el (mode-line-other-buffer):
13980 * bookmark.el (bookmark-bmenu-2-window):
13981 * bs.el (bs-cycle-next, bs-cycle-previous):
13982 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13983 switch-to-buffer.
13984
13985 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 13986 Delete.
8bdfa064 13987
5eba16a3
JB
139882011-07-14 Juanma Barranquero <lekktu@gmail.com>
13989
13990 * follow.el (follow-debug-message, follow-redisplay):
13991 * jka-cmpr-hook.el (with-auto-compression-mode):
13992 Fix typos in docstrings.
13993
15853710
LMI
139942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13995
a28e4607
LMI
13996 * subr.el (with-silent-modifications): Clarify somewhat what the
13997 macro inhibits (bug#6525).
13998
15853710
LMI
13999 * simple.el (eval-expression): Note what it does if called
14000 interactively (bug#6495).
14001
bee0fcef
CY
140022011-07-13 Chong Yidong <cyd@stupidchicken.com>
14003
b796c9b7
SM
14004 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14005 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14006
14007 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14008 Remove switch-to-buffer.
14009
58274504
LMI
140102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14011
bd2fcc8d
LMI
14012 * files.el (make-directory): Clarify that an error will be raised
14013 if there's an error (bug#6397).
14014
0f04b32c
LMI
14015 * startup.el (initial-buffer-choice): Add `none' as a choice
14016 (bug#6234).
14017
465c5fc8
LMI
14018 * subr.el (add-hook): Clarify section about buffer-local hooks
14019 (bug#6218).
14020
58274504
LMI
14021 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14022
bead9a43
JB
140232011-07-13 Juanma Barranquero <lekktu@gmail.com>
14024
14025 * tabify.el (untabify): Preserve the current column so that point
14026 doesn't move (bug#6032).
14027
3af98a7b
LMI
140282011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14029
b796c9b7
SM
14030 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14031 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14032
6240145a
GM
140332011-07-13 Glenn Morris <rgm@gnu.org>
14034
14035 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14036 (dired-insert-directory): Give a message the first time
14037 if ls is found not to support --dired.
14038
1d8c2ccc
LMI
140392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14040
14041 * simple.el (toggle-truncate-lines): Clarify what is toggled
14042 (bug#5580). Text by Drew Adams.
14043
5fc4038e
CY
140442011-07-13 Chong Yidong <cyd@stupidchicken.com>
14045
14046 * simple.el (blink-matching-open): Make the error message from the
14047 last change less verbose.
14048
bf6012e5
DN
140492011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14050
14051 * font-lock.el (font-lock-comment-face): Use the high contrast
14052 "yellow" color for font-lock-comment-face on low color terminals
14053 using a dark background color (bug#4221).
14054
343c3b5a
LMI
140552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14056
7e9505c5
LMI
14057 * dired.el (dired-insert-set-properties): Make the doc string
14058 reflect what it does now (bug#5325).
14059
c26fdcf5
LMI
14060 * simple.el (blink-matching-open): Say that we were unable to find
14061 the match within the limit, if we're limited (bug#5122).
14062
bb388cc5
LMI
14063 * international/mule-cmds.el (prefer-coding-system): Add an
14064 example (bug#4869).
14065
343c3b5a
LMI
14066 * progmodes/etags.el (tags-search): Document `file-list-form'
14067 (bug#4731).
14068
2a517d45
LM
140692011-07-13 Lawrence Mitchell <wence@gmx.li>
14070
14071 * net/browse-url.el (browse-url-default-browser)
14072 (browse-url-browser-function): Make the default browser choice a
14073 bit more logical (bug#4300). Also clean up the doc string.
14074
b6c78ef2
JB
140752011-07-13 Juanma Barranquero <lekktu@gmail.com>
14076
14077 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14078 binary endings (bug#4440).
14079
1c4dd947
LMI
140802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14081
a2014063
LMI
14082 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14083 which can be pretty annoying (bug#8971).
14084
9c9c2d88
LMI
14085 * jka-compr.el (jka-compr-verbose): New variable, and use
14086 throughout (bug#8971).
14087
1c4dd947
LMI
14088 * info.el (Info-find-file): Fall back on the installation
14089 directory if we can't find the info node anywhere else.
14090
a1c9f41b
SO
140912011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14092
14093 * vc/vc.el (vc-revert-file):
14094 Don't set file time-stamp in the past. (Bug#5181)
14095
536f3d36
LMI
140962011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14097
7152b011
LMI
14098 * files.el (after-find-file): Give a better error message when
14099 trying to find a symlink that points to a file that doesn't exist
14100 (bug#4398).
14101
536f3d36
LMI
14102 * progmodes/cc-vars.el: Remove (probably) misleading comment
14103 (bug#4396).
14104
460c0fba
JB
141052011-07-12 Johan Bockgård <bojohan@gnu.org>
14106
14107 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14108
7a6bda45
CY
141092011-07-12 Chong Yidong <cyd@stupidchicken.com>
14110
14111 * mouse-sel.el: Hack restoring functionality, while keeping
14112 compatibility with 2010-07-03 changes to mouse selection.
14113 (mouse-sel-primary-overlay): New var.
14114 (mouse-sel-selection-alist): Use it.
14115 (mouse-sel-mode): Doc fix; remove points that are default features
14116 of mouse.el.
14117
c79598ef
JB
141182011-07-12 Johan Bockgård <bojohan@gnu.org>
14119
14120 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14121 Fix previous fix (bug#2490).
14122
ff8be6ef
RW
141232011-07-12 Roland Winkler <winkler@gnu.org>
14124
b796c9b7
SM
14125 * textmodes/bibtex.el (bibtex-initialize):
14126 Use pop-to-buffer-same-window.
ff8be6ef
RW
14127 (bibtex-search-entries): Fix interactive call.
14128
296ba3ee
LMI
141292011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14130
f5242a02 14131 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14132 Fontise bytecomp Error lines more correctly (bug#2490).
14133 Fix suggested by Johan Bockgård.
f5242a02 14134
296ba3ee
LMI
14135 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14136
14137 * dired-x.el (dired-guess-default): Use `delete-dups'.
14138
f69fd0d2
CY
141392011-07-12 Chong Yidong <cyd@stupidchicken.com>
14140
14141 * dired.el (dired-mark-prompt):
14142 * dired-aux.el (dired-read-shell-command): Doc fix.
14143
eab5dc07
LMI
141442011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14145
b796c9b7
SM
14146 * mail/sendmail.el (sendmail-query-once):
14147 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14148 emacs -Q.
14149
14150 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14151
eab5dc07
LMI
14152 * cus-edit.el (custom-file): Take an optional no-error variable.
14153 (customize-save-variable): Set the variable, and give a warning if
14154 running under "emacs -q".
14155
a1e65d42
JB
141562011-07-11 Juanma Barranquero <lekktu@gmail.com>
14157
14158 * loadhist.el (unload-feature-special-hooks):
14159 Add `auto-coding-functions', `fill-nobreak-predicate' and
14160 `find-directory-functions' (bug#5327).
14161
1d52da10
LMI
141622011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14163
be958f1d
LMI
14164 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14165
5bedb26c
LMI
14166 * cus-edit.el (custom-guess-name-alist): -alist variables should
14167 use the `alist' type (bug#3120). Suggested by Drew Adams.
14168
1d52da10
LMI
14169 * printing.el: Add documentation to all the `pr-toggle-' commands.
14170
cd394be1 141712011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
14172
14173 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14174 backends where it makes sense (bug#2623).
14175
dcc88d8a
LMI
141762011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14177
c3de9feb
LMI
14178 * dired-x.el (dired-guess-default): Remove duplicate shell command
14179 entries (bug#2028).
8a93078b 14180 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 14181 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 14182
dcc88d8a
LMI
14183 * subr.el (remove-duplicates): New conveniency function.
14184
505e3645
LMI
141852011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14186
14187 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14188 (bug#1526).
14189
141902011-07-10 Martin Rudalics <rudalics@gmx.at>
14191
14192 * window.el (display-buffer-normalize-default): Don't invert
14193 meaning of even-window-heights. Reported by Eli Zaretskii
14194 <eliz@gnu.org>.
14195
455e4fa1
BR
141962011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14197
14198 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14199
8e0bc3e9
CY
142002011-07-10 Chong Yidong <cyd@stupidchicken.com>
14201
14202 * window.el (display-buffer): Fix arguments to
14203 display-buffer-reuse-window in last change.
14204
fa7c3228
CY
14205 * faces.el (link): Use a less saturated blue on light backgrounds.
14206
14207 * startup.el (fancy-startup-text, fancy-about-text)
14208 (fancy-startup-tail): Use font-lock faces, for background safety.
14209
c0a7f300
BN
142102011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14211
b796c9b7
SM
14212 * emulation/viper-cmd.el (viper-change-state-to-vi):
14213 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 14214
4dc2a129
MR
142152011-07-09 Martin Rudalics <rudalics@gmx.at>
14216
14217 * window.el (display-buffer-default-specifiers): Remove.
14218 (display-buffer-macro-specifiers): Remove default specifiers.
14219 (display-buffer-alist): Default to nil.
b796c9b7 14220 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
14221 (display-buffer-pop-up-window): Allow splitting internal
14222 windows. Check whether a live window was created.
14223 (display-buffer-other-window-means-other-frame)
14224 (display-buffer-normalize-arguments): Rename to
14225 display-buffer-normalize-argument and rewrite. Set the
14226 other-window specifier.
14227 (display-buffer-normalize-special): New function.
14228 (display-buffer-normalize-options): Rename to
14229 display-buffer-normalize-default and rewrite.
14230 (display-buffer-normalize-options-inhibit): Remove.
14231 (display-buffer-normalize-specifiers): Rewrite.
14232 (display-buffer): Process other-window specifier and call
14233 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14234 more faithfully.
b796c9b7 14235 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 14236 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
14237 (display-buffer-in-window, display-buffer-alist-set):
14238 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
14239 <tassilo@member.fsf.org>.
14240
2d43b8c9
LL
142412011-07-09 Leo Liu <sdl.web@gmail.com>
14242
14243 * register.el (insert-register): Restore accidental change on
14244 2011-06-26. (Bug#9028)
14245
7f9b7c53
GM
142462011-07-09 Glenn Morris <rgm@gnu.org>
14247
14248 * subr.el (remq): Handle the empty list. (Bug#9024)
14249
f042cfd8
AS
142502011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14251
14252 * mail/sendmail.el (send-mail-function): No longer delay custom
14253 initialization.
14254 * custom.el (custom-initialize-delay): Doc fix.
14255
856b2f11
SM
142562011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14257
14258 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14259
afae1d68
MA
142602011-07-08 Michael Albinus <michael.albinus@gmx.de>
14261
14262 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14263 human-friendly prompt.
14264
0757af94
SM
142652011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14266
14267 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14268 provided by a particular plugin.
14269
d760b731
LMI
142702011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14271
14272 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14273 save customizations (with "emacs -Q"), just set the variable
14274 instead of erroring out.
14275
14276 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14277
cd79ce90
JL
142782011-07-08 Juri Linkov <juri@jurta.org>
14279
14280 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14281 (archive-zip-update-case): Use 7z if found by `executable-find'.
14282 The order of searching the available programs is the same as in
14283 `archive-zip-extract' (bug#8968).
14284
14cc04aa
CY
142852011-07-07 Chong Yidong <cyd@stupidchicken.com>
14286
14287 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14288 (menu-bar-options-menu): Tweak descriptions.
14289
0a1848ec
LMI
142902011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14291
14292 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14293 menu items into verb phrases (bug#1421). Also refill to fit under
14294 80 columns.
14295
f5bd0689
CY
142962011-07-07 Chong Yidong <cyd@stupidchicken.com>
14297
538e85c6
CY
14298 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14299 (Info-read-node-name): Doc fix (Bug#1084).
14300
f5bd0689
CY
14301 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14302 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14303 (end-of-sexp, beginning-of-sexp)
14304 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14305 (forward-symbol, forward-same-syntax, word-at-point)
14306 (sentence-at-point): Doc fix (Bug#1144).
14307
56ec5115
LMI
143082011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14309
f3f8e37f
LMI
14310 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14311 should cover it (bug#1281).
14312
0757af94 14313 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 14314
e9fce1ac 14315 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
14316 negotiation fails, then possibly try again with a non-encrypted
14317 connection (bug#9017).
14318
56ec5115
LMI
14319 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14320 be used.
14321
c2f9aec8
RS
143222011-07-07 Richard Stallman <rms@gnu.org>
14323
14324 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14325 property, and handle its changed format.
14326 Look for the correct line number.
14327 Use file's line contents (but not past first =) to find
14328 correct line in message.
14329
ef7b981d 143302011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
14331
14332 * international/characters.el (build-unicode-category-table):
14333 Delete it.
0757af94 14334 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 14335
0757af94 14336 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
14337 to src/chartab.c.
14338 (get-char-code-property): Call unicode-property-table-internal to
14339 load a file. Call get-unicode-property-internal where necessary.
14340 (put-char-code-property): Call unicode-property-table-internal to
14341 load a file. Call put-unicode-property-internal where necessary.
14342 put-unicode-property-internal where necessary.
0757af94
SM
14343 (char-code-property-description):
14344 Call unicode-property-table-internal to load a file.
c805dec0
KH
14345
14346 * international/charprop.el:
14347 * international/uni-bidi.el:
14348 * international/uni-category.el:
14349 * international/uni-combining.el:
14350 * international/uni-comment.el:
14351 * international/uni-decimal.el:
14352 * international/uni-decomposition.el:
14353 * international/uni-digit.el:
14354 * international/uni-lowercase.el:
14355 * international/uni-mirrored.el:
14356 * international/uni-name.el:
14357 * international/uni-numeric.el:
14358 * international/uni-old-name.el:
14359 * international/uni-titlecase.el:
14360 * international/uni-uppercase.el: Regenerate.
14361
14362 * loadup.el: Load international/charprop.el before
14363 international/characters.
14364
e14b388a
CY
143652011-07-07 Chong Yidong <cyd@stupidchicken.com>
14366
14367 * window.el (next-buffer, previous-buffer): Signal an error if
14368 called from a minibuffer window.
14369
14370 * bindings.el: Revert 2011-07-04 change.
14371
354cf0ba
RS
143722011-07-06 Richard Stallman <rms@gnu.org>
14373
14374 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14375 (rmail-mime-insert-bulk, rmail-mime-insert-text):
14376 Treat markers like ints.
14377 (rmail-mime-entity): Doc fix.
14378
a48868a7
LMI
143792011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14380
4906cd3d
LMI
14381 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14382 defcustom again for backwards compatibility.
14383
e0457abe
LMI
14384 * simple.el (shell-command-on-region): Fill.
14385
d67f7e1f
LMI
14386 * dired-aux.el (dired-kill-line): Add a doc string.
14387
fe204702
LMI
14388 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14389 to "\\sw\\|\\s_" (bug#358).
14390
a48868a7
LMI
14391 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14392 (dired-unmark-backward): Ditto.
14393 (dired-flag-backup-files): Ditto.
14394
14395 * dired-x.el (dired-mark-sexp): Ditto.
14396
aa8a705c
RS
143972011-07-06 Richard Stallman <rms@gnu.org>
14398
14399 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14400 (rmail-mime-entity): New arg TRUNCATED.
14401 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14402 New functions.
14403 (rmail-mime-save): Warn if entity is truncated.
14404 (rmail-mime-toggle-hidden): Likewise, for showing.
14405 (rmail-mime-process-multipart): Record when an entity is truncated.
14406
a9a936b9
RS
14407 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14408 if ENTITY is a string.
14409
1f2b92cb
LMI
144102011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14411
f4f73198 14412 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
14413 of faces when `M-C-x'-ing their definitions (bug#8378).
14414 Also clean up the code slightly.
f4f73198 14415
12b16734 14416 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 14417 because that makes the colors go away.
12b16734 14418
f0691d22
LMI
14419 * mail/sendmail.el (send-mail-function): Change the default to
14420 `sendmail-query-once'.
9e87df06 14421 (sendmail-query-once): Add an autoload cookie.
f0691d22 14422
1f2b92cb
LMI
14423 * net/network-stream.el (network-stream-open-starttls): Try using
14424 a plain connection even if the server offered STARTTLS, and we
14425 kinda wanted to use it, if Emacs doesn't have any STARTTLS
14426 capability. This should make smtpmail.el work in slightly more
14427 configurations.
14428
1cdd2a1b
MA
144292011-07-06 Michael Albinus <michael.albinus@gmx.de>
14430
14431 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14432 New defun.
14433 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14434
fbcc67e2
MM
144352011-07-06 Michael R. Mauger <mmaug@yahoo.com>
14436
14437 * progmodes/sql.el: Version 3.0
0757af94 14438 (sql-product-alist): Add product :completion-object,
fbcc67e2 14439 :completion-column, and :statement attributes.
0757af94 14440 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 14441 (sql-mode-syntax-table): Mark all punctuation.
0757af94 14442 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
14443 ansi keywords.
14444 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 14445 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
14446 (sql-oracle-show-reserved-words): New function for development.
14447 (sql-product-font-lock): Simplify for source code buffers.
14448 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14449 New functions.
14450 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
14451 (sql-mode-map): Add statement movement functions.
14452 (sql-ansi-statement-starters, sql-oracle-statement-starters):
14453 New variable.
fbcc67e2
MM
14454 (sql-statement-regexp, sql-beginning-of-statement)
14455 (sql-end-of-statement, sql-signum): New functions.
0757af94 14456 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
14457 (sql-show-sqli-buffer): Bug fix.
14458 (sql-interactive-mode): Store connection data as buffer local.
0757af94 14459 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
14460 with sql-interactive-mode.
14461 (sql-save-connection): Save buffer local settings.
0757af94 14462 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
14463 (sql-product-interactive): Bug fix.
14464 (sql-preoutput-hold): New variable.
14465 (sql-interactive-remove-continuation-prompt): Bug fixes.
14466 (sql-debug-redirect): New variable.
14467 (sql-str-literal): New function.
14468 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 14469 Redesign.
fbcc67e2
MM
14470 (sql-oracle-save-settings, sql-oracle-restore-settings)
14471 (sql-oracle-list-all, sql-oracle-list-table): New functions.
14472 (sql-completion-object, sql-completion-column)
14473 (sql-completion-sqlbuf): New variables.
14474 (sql-build-completions-1, sql-build-completions)
14475 (sql-try-completion): New functions.
14476 (sql-read-table-name): Use them.
14477 (sql-contains-names): New buffer local variable.
14478 (sql-list-all, sql-list-table): Use it.
14479 (sql-oracle-completion-types): New variable.
14480 (sql-oracle-completion-object, sql-sqlite-completion-object)
14481 (sql-postgres-completion-object): New functions.
14482
d4eaeab1
GM
144832011-07-06 Glenn Morris <rgm@gnu.org>
14484
14485 * window.el (pop-to-buffer): Doc fix.
14486
322b7dab 144872011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
14488
14489 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14490
322b7dab 144912011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 14492
322b7dab 14493 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 14494
322b7dab 14495 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 14496
605dd5bf
CY
144972011-07-05 Chong Yidong <cyd@stupidchicken.com>
14498
14499 * button.el (button): Inherit from link face. Suggested by Dan
14500 Nicolaescu.
14501
7dbfa719
SM
145022011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14503
3db614b0
SM
14504 * progmodes/gdb-mi.el: Fit in 80 columns.
14505 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14506 switch-to-buffer.
14507
7dbfa719
SM
14508 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14509 if imenu is simply not configured (bug#8941).
14510
919d884a
KM
145112011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
14512
14513 * allout.el (allout-post-undo-hook): New allout outline-change
14514 event hook to signal undo activity.
14515 (allout-post-command-business): Run allout-post-undo-hook if an
14516 undo just occurred.
7dbfa719
SM
14517 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14518 * allout-widgets.el (allout-widgets-after-undo-function):
14519 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
14520 in the vicinity of an undo.
14521 (allout-widgets-mode): Include allout-widgets-after-undo-function
14522 on the new allout-post-undo-hook.
14523
450a0f09
SM
145242011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14525
14526 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14527 Let define-derived-mode define it.
14528 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14529 cycles of abbrev-table inheritance (bug#8998).
14530
2de69e00
RW
145312011-07-05 Roland Winkler <winkler@gnu.org>
14532
14533 * textmodes/bibtex.el: Add support for biblatex.
14534 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14535 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14536 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14537 (bibtex-entry-alist, bibtex-field-alist): New variables.
14538 (bibtex-entry-field-alist): Obsolete alias for
14539 bibtex-BibTeX-entry-alist.
14540 (bibtex-entry-alist, bibtex-field-alist): New widgets.
14541 (bibtex-set-dialect): New command.
14542 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
14543 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14544 Bind via bibtex-set-dialect.
2de69e00
RW
14545 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14546 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14547 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14548 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14549 Define via bibtex-set-dialect.
450a0f09
SM
14550 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14551 Obey bibtex-no-opt-remove-re.
2de69e00
RW
14552 (bibtex-vec-push, bibtex-vec-incr): New functions.
14553 (bibtex-format-entry, bibtex-field-list)
14554 (bibtex-print-help-message, bibtex-validate)
14555 (bibtex-search-entries): Use new format of bibtex-entry-alist.
14556
2dcdbdd9
SM
145572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
14558
14559 * progmodes/compile.el (compilation-goto-locus):
14560 * net/tramp-cmds.el (tramp-append-tramp-buffers):
14561 * bs.el (bs-cycle-next, bs-cycle-previous):
14562 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14563 * bindings.el (mode-line-other-buffer):
14564 * autoinsert.el (auto-insert):
14565 * arc-mode.el (archive-extract):
14566 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14567
b27640fe
JB
145682011-07-05 Juanma Barranquero <lekktu@gmail.com>
14569
14570 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14571 Fix check of `emacs-lock-unlockable-modes'.
14572 Coerce true values of `emacs-lock--try-unlocking' to t.
14573
53bbe3ad
JB
145742011-07-05 Juanma Barranquero <lekktu@gmail.com>
14575
14576 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14577 * emacs-lock.el: New file.
14578
1d3cdbc7
JD
145792011-07-05 Julien Danjou <julien@danjou.info>
14580
14581 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14582 than `boundp' to check if face is set.
14583
9173deec
JB
145842011-07-05 Juanma Barranquero <lekktu@gmail.com>
14585
14586 * register.el (registerv-make):
14587 * window.el (window-min-height): Fix typos in docstrings.
14588
869795d6
JD
145892011-07-05 Jan Djärv <jan.h.d@swipnet.se>
14590
9173deec 14591 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
14592 Update doc string.
14593
b768cdcd
JB
145942011-07-04 Juanma Barranquero <lekktu@gmail.com>
14595
14596 * server.el (server-execute): Catch quit and call
14597 `server-return-error' to pass the error back to emacsclient and
14598 close the connection (bug#8942).
14599
13aa217b
KM
146002011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
14601
14602 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14603 insecure exception for current topic. Also note that auto-saves
14604 are handled differently.
14605
5d3385a0 14606 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
14607 State variables for tracking auto-save inhibition situation.
14608
14609 (allout-write-contents-hook-handler): Rename from
14610 'allout-write-file-hook-handler', and describe how it depends on
14611 write-contents-functions sensitivity to non-nil value to prevent
14612 file write.
14613
14614 (allout-auto-save-hook-handler): Remove. auto-save does not check
14615 this in individual buffers, only in the starting buffer, so this
14616 is not the right way for us to inhibit auto-save in a buffer
14617 according to its condition.
14618
14619 (allout-mode): Use new allout-write-contents-hook-handler, and
14620 only with write-contents-functions. Remove auto-save provisions -
14621 they're implemented elsewhere.
14622
14623 (allout-before-change-handler): If undo is in progress, note that
14624 for attention of allout-post-command-business.
14625
14626 (allout-post-command-business): If the command we're following was
14627 an undo, check for change in the status of encrypted items and
14628 adjust auto-save inhibitions accordingly.
14629
14630 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14631 according to whether there are or aren't any plain-text topics
14632 pending encryption.
14633
2dcdbdd9 14634 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
14635 Adjust buffer-saved-size and some allout state to inhibit auto-saves
14636 if there are plain-text topics pending encryption.
13aa217b
KM
14637
14638 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14639 buffer-saved-size and some allout state to not inhibit auto-saves
14640 if there are no longer any plain-text topics pending encryption.
14641
0757af94
SM
14642 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14643 No longer provide for exemption of the current topic.
13aa217b 14644
ac89b32c
JL
146452011-07-04 Juri Linkov <juri@jurta.org>
14646
14647 Add 7z operations to delete and save changed members (bug#8968).
14648 * arc-mode.el (archive-7z-expunge, archive-7z-update):
14649 New defcustoms.
14650 (archive-7z-write-file-member): New function.
14651 (archive-7z-summarize): Fix the number of dashes in the
14652 listing output.
14653
8fa39615
SM
146542011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14655
14656 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14657 (bug#8958).
14658
2f11b3f1
CY
146592011-07-04 Chong Yidong <cyd@stupidchicken.com>
14660
d66fef2b
CY
14661 * bindings.el: Ignore next-buffer and previous-buffer in
14662 minibuffer-local-map.
14663
2f11b3f1
CY
14664 * font-lock.el (font-lock-builtin-face): Change light background
14665 color to dark slate blue (Bug#6693).
14666
f932a347
WD
146672011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
14668
14669 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14670
c8af70e1
SM
146712011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
14672
14673 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14674 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14675 Add switch-to-buffer.
14676
f158badc
LMI
146772011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14678
14679 * isearch.el (isearch-search-fun-function): Clarify further the
14680 meaning of the function returned.
14681
6d95bd46
MA
146822011-07-04 Michael Albinus <michael.albinus@gmx.de>
14683
14684 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14685
14686 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14687 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14688 Use it.
14689 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14690 `tramp-default-remote-path' does not exist.
14691 (tramp-send-command-and-read): New optional argument NOERROR.
14692 (tramp-open-connection-setup-interactive-shell)
14693 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14694 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14695 (tramp-process-sentinel): Flush also process' connection property.
14696 (tramp-sh-handle-start-file-process): Do not set process
14697 sentinel. It is done now ...
14698 (tramp-maybe-open-connection): ... here. (Bug#8929)
14699
909e6b67
MK
147002011-07-04 MON KEY <monkey@sandpframing.com>
14701
14702 * play/animate.el (animate-string): Doc fixes and allow changing
14703 the buffer name (bug#5417).
14704
147052011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14706
c8af70e1 14707 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 14708
f34755dc
PE
147092011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14710
396cec72
PE
14711 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14712 This is simpler and helps future-proof the code.
14713 (timer-until): Use time-subtract and float-time.
08235028 14714 (timer--time-less-p): Use time-less-p.
f34755dc 14715
56e6cc31
JB
147162011-07-04 Juanma Barranquero <lekktu@gmail.com>
14717
3abb79e5
JB
14718 * type-break.el (timep): Use the value of `float-time' to avoid a
14719 byte-compiler warning.
14720
56e6cc31
JB
14721 * server.el (server-eval-and-print): Return any result, even nil.
14722
7b9430b4
PE
147232011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14724
14725 * type-break.el: Accept time formats that the builtins accept.
14726 (timep, type-break-time-difference): Accept any format that
14727 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14728 This is simpler and helps future-proof the code.
14729 (type-break-time-difference): Round rather than ignoring
14730 subseconds components.
14731
3034e9e7
LMI
147322011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14733
14734 * info.el (Info-apropos-matches): Make non-interactive, since it
14735 doesn't seem to do anything useful as a command (bug#8829).
14736
1485f4c0
CY
147372011-07-03 Chong Yidong <cyd@stupidchicken.com>
14738
14739 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 14740 Move from faces.el.
1485f4c0
CY
14741 (frame-default-terminal-background): New function.
14742
14743 * custom.el (custom-push-theme): Don't record faces in `changed'
14744 theme; this doesn't work correctly for per-frame face settings.
14745 (disable-theme): Use face-set-after-frame-default to reset faces.
14746 (custom--frame-color-default): New function.
14747
9fa3dd45
LMI
147482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14749
c8af70e1 14750 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
14751 (bug#8769).
14752
6cbbc20c
KR
147532011-03-29 Kevin Ryde <user42@zip.com.au>
14754
14755 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14756 `perl-Test2' extend to match possible "fail #N" rep count
14757 (bug#8377).
14758
c7f98048
LMI
147592011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14760
65676592
LMI
14761 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14762 `smtpmail-via-smtp' now returns the error instead of nil.
14763
c7f98048
LMI
14764 * isearch.el (isearch-search-fun-function): Clarify the doc string
14765 (bug#8101).
14766
56e6cc31 147672011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
14768
14769 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14770 unnecessary spaces (bug#8987).
14771
2b216704
LMI
147722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14773
14774 * net/network-stream.el (open-network-stream): Use the
14775 :end-of-capability command thoughout.
14776
147772011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14778
14779 * net/network-stream.el (open-network-stream): Add the
14780 :end-of-capability command parameter, used by pop3.el.
14781
36adf6ce
LMI
147822011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14783
1ca0da0e
LMI
14784 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14785
fc00f69c
LMI
14786 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14787 for list)" (bug#6475).
14788
28fd8759 14789 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 14790 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
14791 an error (bug#6297).
14792
0dd8b6da
LMI
14793 * man.el (Man-reference-regexp): Allow matching possible
14794 word-wrapped references (bug#6289).
14795
ce1438d6
LMI
14796 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14797 for consistency with the other vc buffers (bug#6197).
14798 (vc-checkin): Ditto.
14799
14800 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14801
36adf6ce
LMI
14802 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14803
e83cc1f7
LMI
148042011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14805
8a20ca4c
LMI
14806 * custom.el (defcustom): Clarify that :set is only used in the
14807 Customize user interface (bug#6089).
14808
83319045
LMI
14809 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14810 associated with a file, refuse to run instead of erroring out
14811 (bug#6084).
14812
a8392169
LMI
14813 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14814 the doc string, since it appears that using `fill-column' always
14815 controls the width (bug#7845).
14816
e83cc1f7
LMI
14817 * simple.el (shell-command-on-region): Say where the error output
14818 went if `shell-command-default-error-buffer' is set (bug#6857).
14819
e47ca23b
KM
148202011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14821
14822 * allout.el (allout-yank-processing): Adjust cursor position for
14823 backwards-deleted space.
14824
14825 (allout-rebullet-heading): Register changes with
14826 allout-exposure-changed-hook, so the modified topic is properly
14827 decorated.
14828
5cf56143
LMI
148292011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14830
08549772
LMI
14831 * minibuffer.el (completion-in-region): Document PREDICATE
14832 (bug#7136).
14833
48e96771
LMI
14834 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14835 of keyword/argument pairs (bug#6904).
14836
c8af70e1
SM
14837 * replace.el (multi-occur):
14838 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 14839
e17d05e2
LMI
148402011-07-02 Drew Adams <drew.adams@oracle.com>
14841
14842 * dired.el (dired-mark-if): Make the message about whether it's
14843 marking or unmarking clearer (bug#8523).
14844
063b0e45
LMI
148452011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14846
14847 * disp-table.el (display-table-print-array): New function.
14848 (describe-display-table): Use it to print the vectors more pretty
14849 (Bug#8859).
14850
28545e04
MR
148512011-07-02 Martin Rudalics <rudalics@gmx.at>
14852
14853 * window.el (window-state-get-1): Don't assign clone numbers.
14854 Add clone-of item to list of window parameters.
14855 (window-state-put-2): Don't process clone numbers.
14856 (display-buffer-alist): Fix doc-string.
14857
3349e122
SM
148582011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14859
14860 * subr.el (remq): Don't allocate if it's not needed.
14861 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14862 (keymap--merge-bindings): New functions.
14863 (keymap-canonicalize): Use them to refine the canonicalization.
14864 * minibuffer.el (minibuffer-local-completion-map)
14865 (minibuffer-local-must-match-map): Move initialization from C.
14866 (minibuffer-local-filename-completion-map): Move initialization from C;
14867 don't inherit from anything here.
14868 (minibuffer-local-filename-must-match-map): Make obsolete.
14869 (completing-read-default): Use make-composed-keymap to combine
14870 minibuffer-local-filename-completion-map with either
14871 minibuffer-local-must-match-map or
14872 minibuffer-local-filename-completion-map.
14873
d224ac83
GM
148742011-07-01 Glenn Morris <rgm@gnu.org>
14875
3de63bf8
GM
14876 * type-break.el (type-break-time-sum): Use dolist.
14877
d224ac83
GM
14878 * textmodes/flyspell.el (flyspell-word-search-backward):
14879 Replace CL function.
14880
1a1e3f32
SM
148812011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14882
fe3f64d5
SM
14883 * mouse.el (mouse--strip-first-event): New function.
14884 (function-key-map): Use it to map fringe clicks to normal clicks
14885 by default.
14886
eb604e34
SM
14887 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14888 (vc-bzr-revision-completion-table): Add support for annotate and date.
14889
1a1e3f32
SM
14890 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14891 inherit from parent.
14892
5bd35902
LMI
148932011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14894
ace6c69c 14895 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 14896 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 14897
191e2bed
LMI
14898 * dired.el (dired-mode): Fix up the doc string as suggested by
14899 Drew Adams (bug#8817).
14900
5bd35902
LMI
14901 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14902 cookie, since the manual says that it should be possible to add
14903 this function to `find-file-hook' (bug#8709).
14904
eee8207a
TZ
149052011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14906
14907 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14908 here. Noted Ted Zlatanov as the maintainer.
14909 (cfengine-common-settings, cfengine-common-syntax): New functions
14910 to set up common things between `cfengine-mode' and
14911 `cfengine3-mode'.
14912 (cfengine3-mode): New mode.
14913 (cfengine3-defuns cfengine3-defuns-regex
14914 (cfengine3-class-selector-regex cfengine3-category-regex)
14915 (cfengine3-vartypes cfengine3-font-lock-keywords)
14916 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 14917 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 14918
36b148cf
MA
149192011-07-01 Michael Albinus <michael.albinus@gmx.de>
14920
14921 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14922
14923 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14924
0bf4ba9a
MR
149252011-07-01 Martin Rudalics <rudalics@gmx.at>
14926
14927 * window.el (same-window-buffer-names, same-window-regexps)
14928 (same-window-p, special-display-frame-alist)
14929 (special-display-popup-frame, special-display-function)
14930 (special-display-buffer-names, special-display-regexps)
14931 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14932 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14933 (split-window-preferred-function, split-height-threshold)
14934 (split-width-threshold, even-window-heights)
14935 (display-buffer-mark-dedicated, window-splittable-p)
14936 (split-window-sensibly, window-safely-shrinkable-p):
14937 Un-obsolete.
14938 (display-buffer): Don't spread args with function specifier
14939 because special-display-popup-frame won't like it.
14940
35837f51
PE
149412011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14942
d0672f86
PE
14943 Time-stamp simplifications and fixes.
14944 These improve accuracy slightly, and future-proof the code
14945 against some potential changes to current-time format.
14946
b9444d97
PE
14947 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14948 by using time-since and float-time.
14949
0ef923dc
PE
14950 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14951 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14952 + NNN microseconds".
14953
2f81380d
PE
14954 * type-break.el (type-break-time-sum): Rewrite using time-add.
14955
845b5c3e
PE
14956 * play/hanoi.el (hanoi-current-time-float): Remove.
14957 All uses replaced by float-time.
14958
ee6f1be0
PE
14959 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14960 This yields a more-accurate answer.
14961 (rng-time-to-float): Remove; no longer needed.
14962
fe955043
PE
14963 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14964
5777162a
PE
14965 * calendar/timeclock.el (timeclock-seconds-to-time):
14966 Defalias to seconds-to-time, since they're the same thing.
14967
3103f8b6 14968 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 14969 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
14970 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14971
0e61a35f
SM
149722011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14973
14974 * window.el (bury-buffer): Don't iconify the only frame.
14975 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14976 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14977
ddd63a1e
CY
149782011-07-01 Chong Yidong <cyd@stupidchicken.com>
14979
0e61a35f
SM
14980 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14981 Add mouse-yank-primary.
ddd63a1e 14982
055f4923
TZ
149832011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14984
14985 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14986
6a2fb145
SM
149872011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14988
14989 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14990 (find-library-name): Use it to find relative load names when provided
14991 absolute file name (bug#8803).
14992
fd4983f2
LMI
149932011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14994
887d14ad
LMI
14995 * textmodes/flyspell.el (flyspell-word): Consider words that
14996 differ only in case as potential doublons (bug#5687).
14997
c53dc7fc
LMI
14998 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14999 Remove two rather uninteresting debugging-like messages to make
15000 debbugs.el more silent.
15001
fd4983f2
LMI
15002 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15003 a password-like phrase.
15004
7a71b18d 150052011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15006
15007 * progmodes/cc-guess.el: New file.
15008
6a2fb145 15009 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15010
15011 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15012 derived from `c-basic-common-init'.
15013
15014 * progmodes/cc-mode.el (top-level): Require cc-guess.
15015 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15016
1fa280a3
LM
150172011-06-30 Lawrence Mitchell <wence@gmx.li>
15018
15019 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15020
e6597158
AM
150212011-06-30 Alan Mackenzie <acm@muc.de>
15022
1fa280a3
LM
15023 * progmodes/cc-engine.el (c-guess-continued-construct):
15024 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15025 lock is disabled. Name this case as "CASE G".
15026
68ba37fb
KM
150272011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15028
15029 * allout.el (allout-yank-processing): Fix injection of extra space
15030 between bullet and non-whitespace character in first topic when
15031 pasting, ensuring that the actual spacing in the pasted topic
15032 following the bullet char is preserved. This extra space was
15033 causing pasted encrypted topics to get a decrypted status even
15034 when the content was actually still encrypted. Now the decryption
15035 status from before the paste is preserved.
15036
15037 (allout-flag-region): Set all allout overlays so they evaporate
15038 when reduced to zero length (evanescent), to prevent overlay
15039 leakage.
15040
887a0b34
GM
150412011-06-30 Glenn Morris <rgm@gnu.org>
15042
94b9acce
GM
15043 * w32-fns.el (w32-charset-info-alist): Declare.
15044
1d9b46d4
GM
15045 * find-dired.el (find-grep-options): Simplify.
15046
cc232200
GM
15047 * term/ns-win.el (ns-set-resource): Declare.
15048
28e77c46
GM
15049 * ses.el (row, col): Declare dynamic variables honestly.
15050
887a0b34
GM
15051 * textmodes/reftex-parse.el (index-tags): Declare.
15052
658d8eb8
CY
150532011-06-30 Chong Yidong <cyd@stupidchicken.com>
15054
15055 * cus-edit.el (customize-push-and-save): New function.
15056
15057 * files.el (hack-local-variables-confirm): Use it.
15058
1fa280a3
LM
15059 * custom.el (load-theme): New arg NO-CONFIRM.
15060 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15061 (custom-enabled-themes): Doc fix.
15062
15063 * cus-theme.el (customize-create-theme)
15064 (custom-theme-merge-theme): Callers to load-theme changed.
15065
bb617717
LMI
150662011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15067
d61bdd5d
LMI
15068 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15069 short URLs have at least one dot in them (bug #7614).
15070
bb617717
LMI
15071 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15072 nil, because using a pty is apparently too slow (bug #895).
15073
2f31f37a
LMI
150742011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15075
15076 * mail/sendmail.el (sendmail-query-once): New function.
15077 (sendmail-query-once-function): New variable.
15078
3076b24e
GM
150792011-06-29 Glenn Morris <rgm@gnu.org>
15080
faf2a174
GM
15081 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15082
3076b24e
GM
15083 * ses.el (top-level): Require cl when compiling.
15084 (ses-set-localvars): Fix error statement.
15085 Call it at compile time to silence a storm of warnings.
15086
5386012d
MR
150872011-06-29 Martin Rudalics <rudalics@gmx.at>
15088
15089 * window.el (normalize-live-buffer): Rename to
15090 window-normalize-buffer.
15091 (normalize-live-frame): Rename to window-normalize-frame.
15092 (normalize-any-window): Rename to window-normalize-any-window.
15093 (normalize-live-window): Rename to window-normalize-live-window.
15094 (make-window-atom): Rename to window-make-atom.
15095 (window-resize-reset): Rename to window--resize-reset.
15096 (window-resize-reset-1): Rename to window--resize-reset-1.
15097 (resize-mini-window): Rename to window--resize-mini-window.
15098 (resize-subwindows-skip-p): Rename to
15099 window--resize-subwindows-skip-p.
15100 (resize-subwindows-normal): Rename to
15101 window--resize-subwindows-normal.
15102 (resize-subwindows): Rename to window--resize-subwindows.
15103 (resize-other-windows): Rename to window--resize-siblings.
15104 (resize-this-window): Rename to window--resize-this-window.
15105 (resize-root-window): Rename to window--resize-root-window.
15106 (resize-root-window-vertically): Rename to
15107 window--resize-root-window-vertically.
15108 (normalize-buffer-to-display): Rename to
15109 window-normalize-buffer-to-display.
15110 (normalize-buffer-to-switch-to): Rename to
15111 window-normalize-buffer-to-switch-to.
15112 Correspondingly update all callers of the functions listed
15113 above.
15114 (display-buffer-alist, display-buffer-normalize-arguments)
15115 (display-buffer-normalize-options, display-buffer)
15116 (display-buffer-alist-set): Use "function" instead of
15117 "fun-with-args".
15118
1176868d
CY
151192011-06-28 Chong Yidong <cyd@stupidchicken.com>
15120
15121 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15122 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15123 debbugs.gnu.org. Mention acknowledgment email.
15124
20a7a65f
LMI
151252011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15126
15127 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15128 buffer multibyteness, since it shouldn't matter.
15129
5f45cca5
MR
151302011-06-28 Martin Rudalics <rudalics@gmx.at>
15131
15132 * window.el (display-buffer-in-side-window): Handle dedicated
15133 windows as in display-buffer-reuse-window.
15134 (display-buffer-normalize-alist): Use value of override
15135 specifier.
15136 (display-buffer-normalize-specifiers): Use value of
15137 other-window-means-other-frame specifier.
15138 (display-buffer-alist): Rewrite some texts in widgets.
15139 (display-buffer): Spread arguments when calling function
15140 specified by fun-with-args.
15141
ad85fe1f
DD
151422011-06-28 Deniz Dogan <deniz@dogan.se>
15143
1fa280a3
LM
15144 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15145 Unnest `let'.
da68c4c8 15146
ad85fe1f
DD
15147 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15148 selectors (Bug#5732).
ec49bd31 15149 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15150
a08cc025
JA
151512011-06-27 Jari Aalto <jari.aalto@cante.net>
15152
15153 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15154 (eshell-ls-date-format): New defcustom.
15155 (eshell-ls-file): Use it.
15156
e2b551c5
SM
151572011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15158
15159 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15160
8982b231
KY
151612011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15162
15163 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15164 (ange-ftp-make-tmp-name): New arg.
15165 (ange-ftp-file-local-copy): Use it.
15166
36c9fa27
J
151672011-06-27 Jambunathan K <kjambunathan@gmail.com>
15168
15169 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15170 no-conversion (Bug#8870).
15171
d68443dc
MR
151722011-06-27 Martin Rudalics <rudalics@gmx.at>
15173
15174 * window.el (window-right, window-left, window-child)
15175 (window-child-count, window-last-child)
15176 (window-iso-combination-p, walk-window-tree-1)
15177 (window-atom-check-1, window-tree-1, delete-window)
15178 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15179 new naming conventions - window-vchild, window-hchild,
15180 window-next and window-prev are now called window-top-child,
15181 window-left-child, window-next-sibling and window-prev-sibling
15182 respectively.
d615d6d2
MR
15183 (resize-window-reset): Rename to window-resize-reset.
15184 (resize-window-reset-1): Rename to window-resize-reset-1.
15185 (resize-window): Rename to window-resize.
15186 (window-min-height, window-min-width)
15187 (resize-mini-window, resize-this-window, resize-root-window)
15188 (resize-root-window-vertically, adjust-window-trailing-edge)
15189 (enlarge-window, shrink-window, maximize-window)
15190 (minimize-window, delete-window, quit-restore-window)
15191 (split-window, balance-windows, balance-windows-area-adjust)
15192 (balance-windows-area, window-state-put-2)
15193 (display-buffer-even-window-sizes, display-buffer-set-height)
15194 (display-buffer-set-width, set-window-text-height)
15195 (fit-window-to-buffer): Rename all "resize-window" prefixed
15196 calls to use the "window-resize" prefix convention.
15197 (display-buffer-alist): Fix symbol for label specifier.
15198 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15199 corresponding specifier.
15200 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 15201
b6458526
VB
152022011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15203
15204 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15205 convention.
15206 (ses-call-printer): Does not pass an empty string to formatter when the
15207 cell is empty to keep from barking printer Calc math-format-value.
15208
d31fd9ac
RS
152092011-06-27 Richard Stallman <rms@gnu.org>
15210
43d5bf84
RS
15211 * battery.el (battery-mode-line-limit): New variable.
15212 (battery-update): Handle it.
15213
d31fd9ac
RS
15214 * mail/rmailmm.el (rmail-mime-process-multipart):
15215 Handle truncated messages.
15216
819a6054
GM
152172011-06-27 Glenn Morris <rgm@gnu.org>
15218
15219 * progmodes/flymake.el (flymake-err-line-patterns):
15220 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15221
cedc73f2
VB
152222011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15223
819a6054 15224 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
15225 (ses--clean-!, ses--clean-_): New functions.
15226 (ses-range): Add configurability of readout order, and conversion
15227 to Calc vector.
15228
5e5d49b6
VB
15229 * ses.el (ses-repair-cell-reference-all): New function.
15230 (ses-cell-symbol): Set macro as safe, so that it can be used in
15231 formulas.
15232
56e6cc31 15233 * ses.el: Update cycle detection algorithm.
90ca8b49 15234 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 15235 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
15236 (ses-set-localvars): New function.
15237 (ses-make-cell): Add property-list as a cell element.
15238 (ses-cell-property-get-fun, ses-cell-property-get)
15239 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
15240 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15241 New functions.
90ca8b49
VB
15242 (ses-cell-property-set, ses-cell-property-pop)
15243 (ses-cell-property-get-handle): New macro.
15244 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15245 New aliases, used for code readability.
15246 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15247 cycle detection.
15248 (ses-self-reference-early-detection): New defcustom.
fac916bf 15249 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
15250 (ses-mode): Use ses-set-localvars.
15251 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15252 before lauching the update processing.
15253 (ses-initialize-Dijkstra-attempt): New function.
15254 (ses-recalculate-cell): Update for cycle detection based on
15255 Dijkstra algorithm.
15256
2bb63e81
VB
15257 * ses.el: Fix commenting and indenting convention.
15258
c9d29fb8
SM
152592011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15260
15261 * bs.el (bs-cycle-next): Complete last change.
15262
d8e4b68b
JB
152632011-06-27 Drew Adams <drew.adams@oracle.com>
15264
15265 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15266
40098786
LMI
152672011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15268
c9d29fb8
SM
15269 * net/network-stream.el (network-stream-open-starttls):
15270 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
15271 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15272
40098786
LMI
15273 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15274 to binary to possibly avoid line encoding issues on Windows (among
15275 other things).
15276
468d09d4
LMI
152772011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15278
15279 * net/network-stream.el (open-network-stream): Return an :error
15280 saying what the problem was, if possible.
15281
15282 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15283 server.
15284
15285 * net/network-stream.el (network-stream-open-starttls): If we
15286 wanted to use STARTTLS, and the server offered it, but we weren't
15287 able to because we had no STARTTLS support, then close the connection.
15288 (open-network-stream): Return an :error element, if present.
15289
16f07dd7
CY
152902011-06-26 Chong Yidong <cyd@stupidchicken.com>
15291
88821ca0
CY
15292 * hl-line.el (hl-line-sticky-flag): Doc fix.
15293 (global-hl-line-sticky-flag): New option (Bug#8323).
15294 (global-hl-line-highlight): Obey it.
15295
16f07dd7
CY
15296 * vc/vc.el (vc-revert-show-diff): Default to t.
15297
6b5ccddf
KM
152982011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
15299
c9d29fb8
SM
15300 * allout-widgets.el (allout-widgets-post-command-business):
15301 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
15302 undecorated when an isearch is continued past, and isearch
15303 automatically collapses them. This leads to "widget leaks", where
15304 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
15305 hidden widgets can slow down cursor travel, substantially.
15306 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
15307 so we're doing without this nicety.
15308
15309 (allout-widgets-tally-string): Don't try to do a hash-table-count
15310 of allout-widgets-tally when it's nil. This eliminates spurious "Error
15311 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15312 *Messages* when allout-widgets-maintain-tally is t.
15313
355f2e07
MR
153142011-06-26 Martin Rudalics <rudalics@gmx.at>
15315
15316 * window.el (display-buffer-normalize-argument): Rename to
15317 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
15318 LABEL argument. Respect special-display-function when popping up
15319 a new frame. Fix code searching for a window showing the buffer
15320 on another frame.
c9d29fb8
SM
15321 (display-buffer-normalize-specifiers):
15322 Call display-buffer-normalize-arguments.
355f2e07
MR
15323 (display-buffer-in-window): Don't undedicate the window if its
15324 buffer remains the same.
15325 Reported by Drew Adams <drew.adams@oracle.com>.
15326 (display-buffer-alist): Add choice for same-window macro
15327 specfier.
15328 (display-buffer): Mention special meaning of LABEL argument in
15329 doc-string. Fix quoting. Don't pop up a new frame even as
15330 fallback.
15331
7ca8fc42
JB
153322011-06-26 Juanma Barranquero <lekktu@gmail.com>
15333
15334 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15335 avoid deleting the current window in some cases (bug#8911).
15336
bc312254
AS
153372011-06-26 Andreas Schwab <schwab@linux-m68k.org>
15338
15339 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15340 (Bug#8934)
15341
2db18f3f
LMI
153422011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15343
c9d29fb8
SM
15344 * net/network-stream.el (network-stream-open-starttls):
15345 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
15346 (network-stream-open-tls): Ditto.
15347
6302e0d3
LL
153482011-06-26 Leo Liu <sdl.web@gmail.com>
15349
15350 * register.el (registerv): New struct.
15351 (registerv-make): New function.
c9d29fb8
SM
15352 (jump-to-register, describe-register-1, insert-register):
15353 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
15354 struct. (Bug#8415)
15355
5fdd4046
CY
153562011-06-26 Chong Yidong <cyd@stupidchicken.com>
15357
2afef60a
CY
15358 * vc/vc.el (vc-revert-show-diff): New defcustom.
15359 (vc-diff-internal): New arg specifying diff buffer.
15360 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
15361 reuse an existing *vc-diff* buffer (Bug#8927).
15362
5fdd4046
CY
15363 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15364
e93db24a
GM
153652011-06-26 Glenn Morris <rgm@gnu.org>
15366
15367 * progmodes/f90.el (f90-critical-indent): New option.
15368 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15369 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15370 (f90-mode): Doc fix.
15371 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15372 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15373 (f90-beginning-of-block, f90-next-block, f90-indent-region)
15374 (f90-match-end): Handle block, critical.
15375
eefff499
GM
153762011-06-25 Glenn Morris <rgm@gnu.org>
15377
f6ba4cc9
GM
15378 * calendar/diary-lib.el (diary-included-files): Doc fix.
15379 (diary-include-files): New function, extracted from
15380 diary-include-other-diary-files and diary-mark-included-diary-files.
15381 (diary-include-other-diary-files, diary-mark-included-diary-files):
15382 Just call diary-include-files.
15383 (diary-mark-entries): Reset diary-included-files on first call.
15384
16712304
GM
15385 * calendar/diary-lib.el (diary-mark-entries)
15386 (diary-mark-included-diary-files):
15387 Visit included diary-files in temp buffers.
15388
5d8e0d43
GM
15389 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15390 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15391 (f90-start-block-re, f90-imenu-generic-expression)
15392 (f90-looking-at-program-block-start, f90-no-block-limit):
15393 Add support for submodules.
15394
ccf7a5d5
GM
15395 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15396 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 15397
11fdef7d 153982011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
15399
15400 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15401 buffer-file-type before setting its value, to avoid disastrous
eefff499 15402 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 15403
74f53697
JB
154042011-06-25 Juanma Barranquero <lekktu@gmail.com>
15405
15406 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15407
15408 * ses.el (ses-unload-function):
15409 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15410
15411 * proced.el (proced-unload-function):
15412 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15413
18a4ce5e
AR
154142011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
15415
15416 * server.el (server-create-window-system-frame): Add parameters arg.
15417 (server-process-filter): Doc fix. Handle frame-parameters.
15418
519d22cc
JB
154192011-06-25 Juanma Barranquero <lekktu@gmail.com>
15420
15421 Fix bug#8730, bug#8781.
15422
15423 * loadhist.el (unload--set-major-mode): New function.
15424 (unload-feature): Use it.
15425
15426 * progmodes/python.el (python-after-info-look): Add autoload cookie.
15427 (python-unload-function): New function.
15428
c206f5b0
SM
154292011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
15430
15431 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15432
f9ad64f3
GS
154332011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
15434
15435 * net/browse-url.el (browse-url-firefox-program): Add icecat to
15436 the candidates list.
15437
7d0da90e
JB
154382011-06-24 Juanma Barranquero <lekktu@gmail.com>
15439
15440 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15441
14b4e83d
RS
154422011-06-23 Richard Stallman <rms@gnu.org>
15443
15444 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15445 (rmail-variables): Set next-error-move-function.
15446 (rmail-what-message): Take argument POS.
15447 (rmail-next-error-move): New function.
15448
273d2baf
SM
154492011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
15450
15451 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15452 messages for adjacent non-terminals.
15453
56c2cc9a
RS
154542011-06-23 Richard Stallman <rms@gnu.org>
15455
15456 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 15457 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
15458 (rmail-start-mail): Don't specify use of rmail-mail-return;
15459 that's done by mail-bury now.
15460 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 15461
d59eb518
MA
154622011-06-23 Michael Albinus <michael.albinus@gmx.de>
15463
15464 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15465 SIZE is a number.
15466
02cfc6d6
MR
154672011-06-23 Martin Rudalics <rudalics@gmx.at>
15468
15469 * window.el (get-lru-window, get-mru-window)
15470 (get-largest-window): Never return a minibuffer window.
15471 (display-buffer-pop-up-window): Fix a bug that could lead to
15472 reusing the minibuffer window.
15473 (display-buffer): Pass original specifier argument to
15474 display-buffer-function instead of the normalized one.
15475 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15476
4e323265
LL
154772011-06-22 Leo Liu <sdl.web@gmail.com>
15478
15479 * minibuffer.el (completing-read-function)
15480 (completing-read-default): Move from minibuf.c
15481
7a70468f
RS
154822011-06-22 Richard Stallman <rms@gnu.org>
15483
50718fc2
RS
15484 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15485 to Rmail even if not started by a special Rmail command.
15486
7a70468f
RS
15487 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15488 Copy the buffer currently showing just one message.
15489
297dde5a
RW
154902011-06-22 Roland Winkler <winkler@gnu.org>
15491
15492 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15493 (bibtex-clean-entry): First delete the old key so that a
15494 customized algorithm for generating the new key does not get
15495 confused by the old key.
15496 (bibtex-url): Obey regexp of first step.
15497 (bibtex-search-entries): Do not use add-to-list with local
15498 list-var.
15499
97bb1093
LMI
155002011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15501
15502 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15503 stored a user name, then query for the password first, instead of
15504 waiting for SMTP to give an error message and the trying again.
15505
1c0f1a19
JD
155062011-06-22 Lawrence Mitchell <wence@gmx.li>
15507
15508 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15509 BUFFER in call-process.
15510
396f7c9d
LMI
155112011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15512
15513 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15514 QUIT twice.
ddb7ffee
LMI
15515 (smtpmail-try-auth-methods): Require user name and password from
15516 auth-source.
396f7c9d 15517
8998d1b3
MR
155182011-06-22 Martin Rudalics <rudalics@gmx.at>
15519
15520 * window.el (display-buffer-default-specifiers)
15521 (display-buffer-alist): Remove entries for pop-up-frame-alist.
15522 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 15523 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
15524
15525 * frame.el (pop-up-frame-alist, pop-up-frame-function)
15526 (special-display-frame-alist, special-display-popup-frame):
15527 Remove duplicate declarations. These are now in window.el.
15528
4ea31e07
LMI
155292011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15530
c9d29fb8
SM
15531 * mail/smtpmail.el (smtpmail-via-smtp):
15532 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
15533 server supports it. SMTP servers that support STARTTLS commonly
15534 require it.
15535
15536 * net/network-stream.el (network-stream-open-starttls): Support
15537 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 15538 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 15539
95f41d9a
LMI
15540 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15541 upgrades with `open-network-stream', and rely solely on
15542 auth-source for all credentials. Big changes throughout the file,
15543 but in particular:
c9d29fb8
SM
15544 (smtpmail-auth-credentials): Remove.
15545 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
15546 (smtpmail-via-smtp): Check for servers saying they want AUTH after
15547 MAIL FROM, too.
95f41d9a 15548
c9d29fb8
SM
15549 * net/network-stream.el (network-stream-open-starttls):
15550 Provide support for client certificates both for external and built-in
4ea31e07
LMI
15551 STARTTLS.
15552 (auth-source): Require.
15553 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
15554 (network-stream-certificate): Change cert-cert to cert and
15555 cert-key to key.
4ea31e07 15556
065ec2c7
MA
155572011-06-21 Michael Albinus <michael.albinus@gmx.de>
15558
15559 * net/tramp-cache.el (top): Don't load the persistency file when
15560 "emacs -Q" has been called.
15561
cd93b359
DR
155622011-06-21 Tim Harper <timcharper@gmail.com>
15563
d8e4b68b
JB
15564 * term/ns-win.el (ns-initialize-window-system):
15565 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
15566 resource to NO as it is not yet supported by the NS port.
15567
ae9c0411
JB
155682011-06-21 Juanma Barranquero <lekktu@gmail.com>
15569
15570 * misc.el (list-dynamic-libraries--refresh): Compute header here...
15571 (list-dynamic-libraries): ...not here.
15572
7f3f739f
LL
155732011-06-21 Leo Liu <sdl.web@gmail.com>
15574
15575 * subr.el (sha1): Implement sha1 using secure-hash.
15576
327c8fb1
MR
155772011-06-21 Martin Rudalics <rudalics@gmx.at>
15578
15579 * window.el (display-buffer-alist): In default value do not
15580 enforce searching a window on any but the selected frame.
15581 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15582 (display-buffer-select-window): Remove function.
15583 (display-buffer-in-window): When a window on another frame gets
15584 reused, do not select it any more but just raise its frame if
15585 necessary (Bug#8851) and (Bug#8856).
15586 (display-buffer-normalize-options): Handle pop-up-frames related
15587 options more faithfully.
15588 (pop-to-buffer): Don't rely on `display-buffer' selecting the
15589 window if it is on another frame.
c9d29fb8
SM
15590 (display-buffer-alist, display-buffer-default-specifiers):
15591 Don't make new frame unsplittable by default.
9e9de014
MR
15592 (display-buffer-normalize-argument): Fix doc-string typo and use
15593 'same-frame-other-window instead of 'other-window when associating
15594 with display-buffer-macro-specifiers.
327c8fb1 15595
7cf3f556
VB
155962011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
15597
15598 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15599 New functions.
15600 (5x5-mode-map, 5x5-mode-menu): Bind them.
15601 (5x5-draw-grid): Tweak the solver's rendering.
15602
60a406cf
SM
156032011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15604
15605 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15606 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15607
d8e4b68b 156082011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
15609
15610 * menu-bar.el: Use function variable instead of switch-to-buffer.
15611 (menu-bar-select-buffer-function): New variable.
60a406cf 15612 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 15613
478d6f95
SM
156142011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
15615
15616 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15617 variable's status.
15618
ca530739
JD
156192011-06-20 Jan Djärv <jan.h.d@swipnet.se>
15620
15621 * x-dnd.el (x-dnd-version-from-flags)
15622 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15623 and long as number (Bug#8899).
15624 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15625
bcd70d97
SM
156262011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
15627
60a406cf 15628 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
15629 (completion-try-completion, completion-all-completions): Compute the
15630 metadata argument if it's missing; make it optional (bug#8795).
15631
60a406cf 15632 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
15633 (widget-complete): Use new :completion-function property.
15634 (widget-completions-at-point): New function.
15635 (default): Use :completion-function instead of :complete.
60a406cf
SM
15636 (widget-default-completions): Rename from widget-default-complete;
15637 Rewrite.
bcd70d97
SM
15638 (widget-string-complete, widget-file-complete, widget-color-complete):
15639 Remove functions.
15640 (file, symbol, function, variable, coding-system, color):
15641 * international/mule-cmds.el (default-input-method, charset)
15642 (language-info-custom-alist):
15643 * cus-edit.el (face): Use new property :completions.
15644
15645 * progmodes/pascal.el (pascal-completions-at-point): New function.
15646 (pascal-mode): Use it.
15647 (pascal-mode-map): Use completion-at-point.
15648 (pascal-toggle-completions): Make obsolete.
15649 (pascal-complete-word, pascal-show-completions):
15650 * progmodes/octave-mod.el (octave-complete-symbol):
15651 Redefine as obsolete alias.
15652 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15653 Signal absence of completion info for old Octave,
15654 (inferior-octave-complete): Redefine as obsolete alias.
15655 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15656 (meta-completions-at-point): Rename from meta-complete-symbol and
15657 adapt it for use on completion-at-point-functions.
15658 (meta-common-mode): Use it.
15659 (meta-looking-at-backward, meta-match-buffer): Remove.
15660 (meta-complete-symbol): Redefine as obsolete alias.
15661 (meta-common-mode-map): Use completion-at-point.
15662 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15663 (makefile-mode-map): Use completion-at-point.
15664 (makefile-completions-at-point): Rename from makefile-complete and
15665 adapt it for use on completion-at-point-functions.
15666 (makefile-mode): Use it.
15667 (makefile-complete): Redefine as obsolete alias.
15668
aebf69c8
DD
156692011-06-20 Deniz Dogan <deniz@dogan.se>
15670
15671 * net/rcirc.el: Delete trailing whitespaces once and for all.
15672
bfbbb27d
DC
156732011-06-20 Daniel Colascione <dan.colascione@gmail.com>
15674
15675 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15676
d264a46b
CY
156772011-06-19 Chong Yidong <cyd@stupidchicken.com>
15678
4ca009e5
CY
15679 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15680
d264a46b
CY
15681 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15682
fbf5b3ce
MR
156832011-06-19 Martin Rudalics <rudalics@gmx.at>
15684
15685 * window.el (display-buffer-other-window-means-other-frame):
15686 Call display-buffer-normalize-alist.
15687 (display-buffer-normalize-specifiers-1): Rename to
15688 display-buffer-normalize-argument. New argument other-frame.
15689 Rewrite.
15690 (display-buffer-normalize-specifiers-2): Rename to
15691 display-buffer-normalize-options.
15692 (display-buffer-normalize-alist-1): New function.
15693 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
15694 display-buffer-normalize-alist.
15695 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
15696 (display-buffer-normalize-options-inhibit): New variable.
15697 (display-buffer-normalize-specifiers): Rewrite calling
15698 display-buffer-normalize-alist,
15699 display-buffer-normalize-argument, and
15700 display-buffer-normalize-options. Don't call the latter if
15701 display-buffer-normalize-options-inhibit is non-nil.
15702 (frame-auto-delete): New option.
15703 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
15704 (window-list-no-nils, window-state-ignored-parameters)
15705 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
15706 (window-state-put-1, window-state-put-2, window-state-put):
15707 New functions.
9a028c23
MR
15708 (display-buffer-normalize-options): Move special-display-p group
15709 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 15710
6d10d800
CY
157112011-06-18 Chong Yidong <cyd@stupidchicken.com>
15712
6420d28b
CY
15713 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15714 groups (Bug#8776).
15715 (rx-submatch-n): New function.
15716 (rx): Document it.
15717
ddb8b596
CY
15718 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15719 (Bug#8768).
15720
15721 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15722
77080289
CY
15723 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15724
61dfb316
CY
15725 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15726 anytime existing face settings are present (Bug#8889).
15727
6d10d800
CY
15728 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15729 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15730 Remove unused argument.
15731
be3fb2b8
MR
157322011-06-18 Martin Rudalics <rudalics@gmx.at>
15733
bcd70d97
SM
15734 * window.el (display-buffer-default-specifiers):
15735 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
15736 pop-up-window-min-width, and another reuse-window specifier
15737 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
15738 (display-buffer-normalize-specifiers-2):
15739 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
15740 pop-up-windows is unset. Add a reuse-window specifier for the
15741 case popping up a new window fails.
15742 (special-display-popup-frame): Remove double quoting.
28dec25a 15743 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 15744
1c6d8c76
SM
157452011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15746
15747 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15748 according to comint-completion-addsuffix.
15749
15750 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15751 (pcomplete-suffix-list): Mark as obsolete.
15752 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15753 pcomplete-seen in the closure.
15754 (pcomplete-comint-setup): Setup completion-at-point as well.
15755 (pcomplete--entries): New function.
15756 (pcomplete--env-regexp): New var.
15757 (pcomplete-entries): Rewrite to work with partial-completion and
15758 without relying on pcomplete-suffix-list.
15759 (pcomplete-pare-list): Remove, unused.
15760
25aef8b8
MR
157612011-06-17 Martin Rudalics <rudalics@gmx.at>
15762
15763 * window.el (display-buffer-alist): Set pop-up-window-min-height
15764 and pop-up-window-min-width in default value. Reported by
15765 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15766 other-window-means-other-frame.
15767 (display-buffer-macro-specifiers): Comment out entry for
15768 other-window specifier.
15769 (display-buffer-other-window-means-other-frame): New function.
15770 (display-buffer-normalize-specifiers-1): New arguments
15771 buffer-name and label. Treat other-window case specially.
15772 (display-buffer-normalize-specifiers-2): Treat other-window case
15773 specially.
15774 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
15775 (display-buffer-normalize-specifiers):
15776 Call display-buffer-normalize-specifiers-3.
25aef8b8 15777
dbad4f69
MR
157782011-06-17 Martin Rudalics <rudalics@gmx.at>
15779
15780 * window.el (same-window-p): Fix two typos introduced when
15781 adding with-no-warnings.
d1067961
MR
15782 (display-buffer-normalize-specifiers-1): Don't check
15783 pop-up-frames for 'unset initialization.
15784 (display-buffer-normalize-specifiers-2): Major rewrite using
15785 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15786 (pop-up-frames, display-buffer-reuse-frames)
15787 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15788 Suggested by David Engster <deng@randomsample.de>.
15789 (even-window-heights): Initialize to 'unset.
15790 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
15791 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15792 other window case.
dbad4f69 15793
9b9c9e3a
MR
157942011-06-16 Martin Rudalics <rudalics@gmx.at>
15795
bcd70d97
SM
15796 * window.el (display-buffer-normalize-specifiers-1):
15797 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 15798 second argument of display-buffer (Bug#8865).
981d5c09
MR
15799 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15800 (switch-to-buffer-other-window-same-frame)
15801 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15802 Adams (Bug#8875).
9c2755e9
MR
15803 (display-buffer): Don't check noninteractive when calling
15804 display-buffer-pop-up-frame.
15805 (display-buffer-pop-up-frame): Never pop up a frame in
15806 noninteractive mode (Bug#8857).
67222e1d
MR
15807 (enlarge-window, shrink-window): Don't report an error when the
15808 window can't be resized as requested (Bug#8862).
9b9c9e3a 15809
2b75be67
SM
158102011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15811
9ffdd3ba
SM
15812 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15813
cb581a67
SM
15814 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15815
2b75be67
SM
15816 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15817
8c0e3589
AM
158182011-06-15 Alan Mackenzie <acm@muc.de>
15819
cb581a67
SM
15820 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15821 for declarators, disable knr checking to speed up for normal files.
15822 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 15823
b96e6cde
LMI
158242011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15825
4bba86e6
LMI
15826 * net/network-stream.el (open-network-stream): Add the keyword
15827 :always-query-capabilities for the case where you want to force a
15828 `plain' network connection, but the protocol still requires the
15829 capabilitiy command (i.e., SMTP and EHLO).
15830
2b75be67 15831 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
15832 consistency with other `-live-p' functions.
15833
efdcdbf8
SM
158342011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15835
15836 * window.el (same-window-buffer-names, same-window-regexps)
15837 (special-display-frame-alist, special-display-popup-frame)
15838 (special-display-function, special-display-buffer-names)
15839 (special-display-regexps, pop-up-frame-alist)
15840 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15841 (pop-up-windows, split-window-preferred-function)
15842 (split-height-threshold, split-width-threshold, even-window-heights)
15843 (display-buffer-mark-dedicated): Don't encourage the use of
15844 display-buffer-alist from Elisp code.
15845
c5cde042
DN
158462011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15847
15848 * progmodes/python.el (python-mode): Derive from prog-mode.
15849 * progmodes/ps-mode.el (ps-mode):
15850 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 15851 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
15852 * progmodes/ld-script.el (ld-script-mode): Likewise.
15853
baa1c9ab
MR
158542011-06-15 Martin Rudalics <rudalics@gmx.at>
15855
15856 * window.el (display-buffer-alist): Trim default value to avoid
15857 popping up a new frame (Bug#8857) or reusing an arbitrary window
15858 on another frame.
15859 (display-buffer): Do not fall back on popping up a new frame in
15860 batch mode (Bug#8857).
15861
c5dd5a51
CY
158622011-06-14 Chong Yidong <cyd@stupidchicken.com>
15863
15864 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15865 (custom-theme-summary): New function.
15866 (customize-themes): Use it.
15867
d647b7c4
GM
158682011-06-13 Glenn Morris <rgm@gnu.org>
15869
15870 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15871
9481c002
MR
158722011-06-13 Martin Rudalics <rudalics@gmx.at>
15873
357f93d2
MR
15874 * help.el (help-window): Remove variable.
15875 (help-window-point-marker, temp-buffer-max-height)
15876 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15877 (help-print-return-message): Don't set help-window.
15878 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15879 (help-window-setup-finish): Remove.
15880 (help-window-display-message, help-window-setup)
15881 (with-help-window): Major rewrite based on new
15882 display-buffer-window variable.
15883
15884 * help-mode.el (help-mode-finish): Remove help-window related
15885 code.
15886
15887 * view.el (view-exits-all-viewing-windows): Remove reference to
15888 view-return-to-alist in doc-string.
15889 (view-return-to-alist): Make obsolete.
15890 (view-buffer): Call pop-to-buffer-same-window and remove
15891 undo-window code.
15892 (view-buffer-other-window): Call pop-to-buffer-other-window and
15893 simplify code. Ignore second argument.
15894 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15895 simplify code. Ignore second argument.
15896 (view-return-to-alist-update): Make obsolete.
15897 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15898 Rewrite using quit-restore window parameters.
2b75be67
SM
15899 (view-mode-exit): Rename second argument to EXIT-ONLY.
15900 Rewrite using quit-restore-window.
357f93d2
MR
15901 (View-exit, View-exit-and-edit, View-leave, View-quit)
15902 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15903 appropriate arguments.
15904 (view-end-message): Use quit-restore window parameter.
15905
9481c002
MR
15906 * window.el (display-buffer-function): Rewrite doc-string.
15907 (display-buffer-window, display-buffer-alist): New variables.
15908 (display-buffer-split-specifiers)
15909 (display-buffer-side-specifiers)
15910 (display-buffer-macro-specifiers): New constants.
15911 (display-buffer-even-window-sizes, display-buffer-set-height)
15912 (display-buffer-set-width, display-buffer-select-window)
15913 (display-buffer-in-window, display-buffer-reuse-window)
15914 (display-buffer-split-window-1, display-buffer-split-window)
15915 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15916 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15917 (display-buffer-in-side-window, normalize-buffer-to-display)
15918 (display-buffer-normalize-specifiers-1)
15919 (display-buffer-normalize-specifiers-2)
2b75be67
SM
15920 (display-buffer-normalize-specifiers, display-buffer-frame):
15921 New functions.
9481c002
MR
15922 (display-buffer): Major rewrite.
15923 (display-buffer-other-window, display-buffer-other-frame)
15924 (pop-to-buffer, switch-to-buffer-other-window)
15925 (switch-to-buffer-other-frame): Rewrite.
15926 (display-buffer-same-window, display-buffer-same-frame)
15927 (display-buffer-same-frame-other-window)
15928 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15929 (pop-to-buffer-other-window)
15930 (pop-to-buffer-same-frame-other-window)
15931 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15932 (switch-to-buffer-other-window-same-frame): New functions.
15933 (same-window-p, special-display-p): Rewrite disabling warnings.
15934 Make obsolete.
15935 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15936 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15937 Make obsolete
15938 (same-window-buffer-names, same-window-regexps)
15939 (special-display-frame-alist, special-display-popup-frame)
15940 (special-display-function, special-display-buffer-names)
15941 (special-display-regexps, pop-up-frame-alist)
15942 (pop-up-frame-function, split-window-preferred-function)
15943 (split-height-threshold, split-width-threshold)
15944 (even-window-heights): Make obsolete.
15945
9db51aca
GM
159462011-06-12 Glenn Morris <rgm@gnu.org>
15947
15948 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 15949 Misc simplifications.
9db51aca 15950
39cffb44
MR
159512011-06-12 Martin Rudalics <rudalics@gmx.at>
15952
15953 * window.el (window-safely-shrinkable-p): Restore function which
15954 was inadvertently removed in change from 2011-06-11. Declare as
15955 obsolete.
15956
2b75be67
SM
15957 * calendar/calendar.el (calendar-generate-window):
15958 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
15959 window-safely-shrinkable-p.
15960
a8955be7
GM
159612011-06-12 Glenn Morris <rgm@gnu.org>
15962
15963 * progmodes/fortran.el (fortran-mode-syntax-table):
15964 * progmodes/f90.el (f90-mode-syntax-table):
15965 Set % to punctuation. (Bug#8820)
15966 (f90-find-tag-default): Remove, no longer needed.
15967
f0d4059d
DC
159682011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15969
15970 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15971
1100a63c
CY
159722011-06-11 Chong Yidong <cyd@stupidchicken.com>
15973
15974 * image.el (image-animated-p): Return animation delay in seconds.
15975 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15976 (image-animate-timeout): Remove DELAY argument. Don't assume
15977 every subimage has the same delay; get it from image-animated-p.
15978 (image-animate): Caller changed.
15979
def722bf
MA
159802011-06-11 Michael Albinus <michael.albinus@gmx.de>
15981
15982 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15983 to ignored backtrace functions.
15984
0a2bb1a9
GM
159852011-06-11 Glenn Morris <rgm@gnu.org>
15986
15987 * calendar/appt.el (appt-disp-window-function): Doc fix.
15988 (appt-check): Handle overlapping appointments. (Bug#8337)
15989
6198ccd0
MR
159902011-06-11 Martin Rudalics <rudalics@gmx.at>
15991
15992 * window.el (window-tree-1, window-tree): New functions, moving
15993 the latter to window.el.
15994 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15995 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15996 (bw-refresh-edges): Remove.
15997 (balance-windows-1, balance-windows-2): New functions.
15998 (balance-windows): Rewrite in terms of window tree functions,
15999 balance-windows-1 and balance-windows-2.
16000 (bw-adjust-window): Remove.
16001 (balance-windows-area-adjust): New function with functionality of
16002 bw-adjust-window but using resize-window.
2b75be67
SM
16003 (set-window-text-height): Rewrite doc-string.
16004 Use normalize-live-window and resize-window.
16005 (enlarge-window-horizontally, shrink-window-horizontally):
16006 Rename argument to DELTA.
6198ccd0
MR
16007 (window-buffer-height): New function.
16008 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16009 Rewrite using new window resize routines.
2b75be67
SM
16010 (kill-buffer-and-window, mouse-autoselect-window-select):
16011 Use ignore-errors instead of condition-case.
6198ccd0
MR
16012 (quit-window): Call delete-frame instead of delete-windows-on
16013 for the only buffer on frame.
16014
9397e56f
MR
160152011-06-10 Martin Rudalics <rudalics@gmx.at>
16016
16017 * loadup.el (top-level): Load window before files for the sake
16018 of replace-buffer-in-windows.
16019
16020 * files.el (read-buffer-to-switch)
16021 (switch-to-buffer-other-window)
2b75be67
SM
16022 (switch-to-buffer-other-frame, display-buffer-other-frame):
16023 Move to window.el.
9397e56f
MR
16024
16025 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16026 (previous-buffer): Move to window.el.
16027
16028 * bindings.el (unbury-buffer): Move to window.el.
16029
16030 * window.el (delete-other-windows-vertically): Move after
16031 definition of delete-other-windows.
16032 (other-window, delete-windows-on, replace-buffer-in-windows):
16033 Move here from window.c.
16034 (record-window-buffer, unrecord-window-buffer)
16035 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16036 (switch-to-next-buffer): New functions.
16037 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16038 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16039 (previous-buffer): Move here from simple.el.
16040 Call switch-to-prev-buffer.
9397e56f
MR
16041 (bury-buffer): Move here from buffer.c. Switch to previous
16042 buffer when window cannot be deleted.
16043 (unbury-buffer): Move here from bindings.el.
16044 (ctl-x-map): Move binding for other-window from window.c to
16045 here.
16046 (read-buffer-to-switch, switch-to-buffer-other-window)
16047 (switch-to-buffer-other-frame): Move here from files.el.
16048 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16049 (switch-to-buffer): Move here from buffer.c.
16050 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16051
562dd5e9
MR
160522011-06-10 Martin Rudalics <rudalics@gmx.at>
16053
16054 * window.el (window-min-height, window-min-width): Move here
16055 from window.c. Add defcustoms and rewrite doc-strings.
16056 (resize-mini-window, resize-window): New functions.
16057 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16058 Move here from window.c.
16059 (maximize-window, minimize-window): New functions.
16060 (delete-window, delete-other-windows, split-window): Move here
16061 from window.c.
16062 (window-split-min-size): New function.
16063 (split-window-keep-point): Mention split-window-above-each-other
16064 instead of split-window-vertically.
2b75be67 16065 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16066 Rename split-window-vertically to split-window-above-each-other
16067 and provide defalias for old definition.
16068 (split-window-side-by-side, split-window-horizontally):
16069 Rename split-window-horizontally to split-window-side-by-side
16070 and provide defalias for the old definition.
562dd5e9
MR
16071 (ctl-x-map): Move bindings for delete-window,
16072 delete-other-windows and enlarge-window here from window.c.
16073 Replace bindings for split-window-vertically and
16074 split-window-horizontally by bindings for
16075 split-window-above-each-other and split-window-side-by-side.
16076
16077 * cus-start.el (all): Remove entries for window-min-height and
16078 window-min-width. Add entries for window-splits and
16079 window-nest.
16080
f0da764a
GM
160812011-06-09 Glenn Morris <rgm@gnu.org>
16082
80675c21
GM
16083 * calendar/appt.el (appt-mode-line): New function.
16084 (appt-check, appt-disp-window): Use it.
16085
f0da764a
GM
16086 * files.el (hack-one-local-variable-eval-safep):
16087 Allow minor-modes with explicit +/-1 arguments.
16088
59f623b7
TZ
160892011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16090
16091 * term/xterm.el (xterm): Add defgroup.
16092 (xterm-extra-capabilities): Add defcustom to supply known xterm
16093 capabilities, skip querying them, or query them (default).
16094 (terminal-init-xterm): Use it.
16095 (terminal-init-xterm-modify-other-keys): New function to set up
16096 modifyOtherKeys support to simplify `terminal-init-xterm'.
16097
9aab8e0d
MR
160982011-06-09 Martin Rudalics <rudalics@gmx.at>
16099
16100 * window.el (resize-window-reset, resize-window-reset-1)
16101 (resize-subwindows-skip-p, resize-subwindows-normal)
16102 (resize-subwindows, resize-other-windows, resize-this-window)
16103 (resize-root-window, resize-root-window-vertically)
16104 (window-deletable-p, window-or-subwindow-p)
16105 (frame-root-window-p): New functions.
16106
e8b08aee
GM
161072011-06-09 Glenn Morris <rgm@gnu.org>
16108
16109 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16110 (ange-ftp-get-files): Use it.
16111
254c37a5
AK
161122011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16113
16114 * mail/sendmail.el (mail-recover-1, mail-recover):
16115 * files.el (recover-file, recover-session):
16116 Handle dired-listing-switches not being just a single short option.
16117
35d7dbd3
GM
161182011-06-09 Glenn Morris <rgm@gnu.org>
16119
16120 * calendar/appt.el (appt-display-message, appt-disp-window):
16121 Handle lists of appointments.
16122
387522b2
MR
161232011-06-08 Martin Rudalics <rudalics@gmx.at>
16124
2b75be67
SM
16125 * window.el (one-window-p): Move down in code.
16126 Rewrite doc-string.
16127 (window-current-scroll-bars): Rewrite doc-string.
16128 Normalize live window argument.
387522b2
MR
16129 (walk-windows, get-window-with-predicate, count-windows):
16130 Rewrite doc-string. Use window-list-1.
16131 (window-in-direction-2, window-in-direction, get-mru-window):
16132 New functions.
16133
d8e4b68b 161342011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16135
16136 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16137 Doc fix (Bug#8713).
16138
161392011-06-08 Chong Yidong <cyd@stupidchicken.com>
16140
16141 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16142
161432011-06-08 Juanma Barranquero <lekktu@gmail.com>
16144
16145 * loadhist.el (unload-feature-special-hooks):
16146 Add `comint-output-filter-functions'.
16147
0de12c52
IK
161482011-06-08 Ivan Kanis <gnu@kanis.fr>
16149
16150 * calendar/appt.el (appt-check): Move some initializations into the let.
16151
f3d1777e
MR
161522011-06-08 Martin Rudalics <rudalics@gmx.at>
16153
16154 * window.el (window-height): Defalias to window-total-height.
16155 (window-width): Defalias to window-body-width.
16156
18af70d0
CY
161572011-06-07 Chong Yidong <cyd@stupidchicken.com>
16158
16159 * image-mode.el (image-toggle-animation): New command.
16160 (image-mode-map): Bind it to RET.
16161 (image-mode): Update message.
16162 (image-toggle-display-image): Avoid a spurious cache flush.
16163 (image-transform-rotation): Doc fix.
16164 (image-transform-properties): Return quickly in the normal case.
16165 (image-animate-loop): Rename from image-animate-max-time.
16166
2b75be67 16167 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
16168 (create-animated-image): Remove unnecessary function.
16169 (image-animate): Rename from image-animate-start. New arg.
2b75be67 16170 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
16171 (image-animate-timer): Use car-safe.
16172 (image-animate-timeout): Rename argument.
16173
190b47e6
MR
161742011-06-07 Martin Rudalics <rudalics@gmx.at>
16175
16176 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
16177 window.c. Rename first argument to ALL-FRAMES.
16178 Rephrase doc-strings.
16179 (get-buffer-window-list): Rewrite using window-list-1.
16180 Rephrase doc-string.
a1511caf
MR
16181 (window-safe-min-height, window-safe-min-width): New constants.
16182 (window-size-ignore, window-min-size, window-min-size-1)
16183 (window-sizable, window-sizable-p, window-size-fixed-1)
16184 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16185 (window-max-delta-1, window-max-delta, window-resizable)
16186 (window-resizable-p, window-total-height, window-total-width)
16187 (window-body-width): New functions.
16188 (window-full-height-p, window-full-width-p): Rewrite using
16189 window-total-size.
16190 (window-body-height): Rewrite using window-body-size.
190b47e6 16191
85cc1f11
MR
161922011-06-06 Martin Rudalics <rudalics@gmx.at>
16193
16194 * window.el (window-right, window-left, window-child)
16195 (window-child-count, window-last-child, window-any-p)
16196 (normalize-live-buffer, normalize-live-frame)
16197 (normalize-any-window, normalize-live-window)
16198 (window-iso-combination-p, window-iso-combined-p)
16199 (window-iso-combinations)
16200 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16201 (windows-with-parameter, window-with-parameter)
16202 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
16203 (window-atom-check, window-side-check, window-check):
16204 New functions.
85cc1f11
MR
16205 (ignore-window-parameters, window-sides, window-sides-vertical)
16206 (window-sides-slots): New variables.
16207 (window-size-fixed): Move down in code. Minor doc-string fix.
16208
e7156492
AS
162092011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16210
16211 * comint.el (comint-dynamic-complete-as-filename)
16212 (comint-dynamic-complete-filename): Correctly call
16213 completion-in-region.
16214
7e821d0d
DD
162152011-06-05 Deniz Dogan <deniz@dogan.se>
16216
16217 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16218 in last change.
16219
ac09b8a1
DD
162202011-06-05 Deniz Dogan <deniz@dogan.se>
16221
16222 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16223 (rcirc): Use it to prompt for encryption.
16224
34699b85
RW
162252011-06-05 Roland Winkler <winkler@gnu.org>
16226
16227 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16228 (bibtex-search-entries): New command bound to C-c C-a.
16229 (bibtex-display-entries): New function.
16230
004dedd3
RW
162312011-06-05 Roland Winkler <winkler@gnu.org>
16232
16233 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16234 (bibtex-insert-kill): After yanking insert newline if necessary.
16235 (bibtex-initialize): Call bibtex-string-files-init only once.
16236 (bibtex-mode): Do not call easy-menu-add.
16237 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16238 (bibtex-yank): Set arg properly if nil.
16239
022fe7ce
RW
162402011-06-05 Roland Winkler <winkler@gnu.org>
16241
2b75be67
SM
16242 * textmodes/bibtex.el (bibtex-search-entry-globally):
16243 New variable.
022fe7ce
RW
16244 (bibtex-search-entry): Use it.
16245
b7c3692a
RW
162462011-06-05 Roland Winkler <winkler@gnu.org>
16247
16248 * textmodes/bibtex.el (bibtex-entry-format): New option
16249 sort-fields.
16250 (bibtex-format-entry, bibtex-reformat): Honor this option.
16251 (bibtex-parse-entry): Return fields in proper order.
16252
8eda563d
JB
162532011-06-05 Juanma Barranquero <lekktu@gmail.com>
16254
16255 * doc-view.el (doc-view-remove-if): Move computation of result out
16256 of `dolist' to silence misleading lexical-binding warning.
16257
7dbe3dbc
CY
162582011-06-04 Chong Yidong <cyd@stupidchicken.com>
16259
16260 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16261 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16262
0c33dd17
MA
162632011-06-04 Michael Albinus <michael.albinus@gmx.de>
16264
16265 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16266 "SunOS 5.10".
16267
f8f91c2b
MA
162682011-06-04 Michael Albinus <michael.albinus@gmx.de>
16269
16270 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16271 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16272 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16273 (tramp-parse-putty):
16274 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16275 (tramp-completion-function-alist-ssh)
16276 (tramp-completion-function-alist-telnet)
16277 (tramp-completion-function-alist-su)
16278 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16279 cookie.
16280
16281 * net/tramp-ftp.el:
16282 * net/tramp-sh.el:
16283 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16284 load "tramp.el" `tramp-set-completion-function'.
16285
e17d9003
SM
162862011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
16287
16288 * shell.el: Require and use pcomplete.
16289 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16290 (shell-completion-vars): Set pcomplete-default-completion-function.
16291
6c4cab03
DD
162922011-06-04 Deniz Dogan <deniz@dogan.se>
16293
16294 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16295 `memq' (Bug#8799).
16296
ea9fafe0
SM
162972011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16298
16299 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16300
b3e945d3
JB
163012011-06-02 Juanma Barranquero <lekktu@gmail.com>
16302
16303 * bs.el (bs--mark-unmark, bs--nth-wrapper):
16304 * mpc.el (mpc-select-extend, mpc-songpointer-context):
16305 * vc/log-view.el (log-view-beginning-of-defun):
16306 * vc/smerge-mode.el (smerge-apply-resolution-patch)
16307 (smerge-refine-forward, smerge-refine-chopup-region):
16308 Silence warning for unused `dotimes' counter variables.
16309
7d520089
SM
163102011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
16311
16312 * net/tramp.el (tramp-with-progress-reporter): Rename from
16313 with-progress-reporter. Use `declare'.
16314 * net/tramp-smb.el:
16315 * net/tramp-sh.el:
16316 * net/tramp-gvfs.el: Update all uses.
16317
a1c2400f
JB
163182011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
16319
16320 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16321 buffer isn't killed before making it current.
16322
2403c841
SM
163232011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16324
16325 Silence various byte-compiler warnings.
16326 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16327 `access-type' and new obsolescence format.
16328 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16329 new format.
16330 (byte-compile-check-variable): New `access-type' argument.
16331 Only warn if the access-type is obsolete.
16332 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16333 (byte-compile-variable-set): Adjust callers.
16334 * help-fns.el (describe-variable): Adjust to new obsolescence format.
16335 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16336 setting it as obsolete.
16337 * simple.el (minibuffer-completing-symbol):
16338 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16339 access as obsolete.
16340 * minibuffer.el (minibuffer-completing-file-name): Don't make it
16341 obsolete yet.
16342 * international/quail.el (quail-mouse-choose-completion): Remove unused
16343 code referring to obsolete var.
16344 (quail-choose-completion-string): Remove.
16345 * server.el (server-clients-with, server-kill-buffer-query-function)
16346 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16347 * proced.el (proced-send-signal):
16348 * emacs-lisp/lisp.el (lisp-complete-symbol):
16349 Replace completion-annotate-function with completion-extra-properties.
16350
2462470b
SM
163512011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
16352
fb5b2591
SM
16353 * simple.el (goto-line): Use read-number.
16354 (overriding-map-is-bound): Remove.
16355 (saved-overriding-map): Change default.
16356 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16357 Take the map as argument.
16358 (universal-argument, negative-argument, digit-argument): Use it.
16359 (restore-overriding-map): Adjust.
16360 (do-auto-fill): Use fill-forward-paragraph.
16361 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16362
fd6fa53f
SM
16363 * minibuffer.el (minibuffer-inactive-mode-map): New var.
16364 (minibuffer-inactive-mode): New major mode.
16365 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16366 the *Messages* buffer" hack.
16367 (mouse-popup-menubar): Don't burp if the event is a normal key.
16368
2462470b
SM
16369 Miscellaneous tweaks.
16370 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16371 lexical scoping as in subr.el's dolist and dotimes.
16372 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16373 Silence compiler warning.
16374 * thingatpt.el (forward-whitespace): Trivial coding style fix.
16375 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16376 * international/ccl.el (ccl-compile): Trivial simplification.
16377 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16378 * emacs-lisp/testcover.el (testcover-end): Remove spurious
16379 `printflag' argument.
16380 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16381 Purecopy the whole obsolescence data.
16382
108bf785
LL
163832011-06-01 Leo Liu <sdl.web@gmail.com>
16384
16385 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16386 improve doc-string as suggested by Marco Pessotto
16387 <melmothx@gmail.com>.
16388 (rcirc-print): Fix last change.
16389
30a23501
SM
163902011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16391
16392 * minibuffer.el (complete-with-action): Return nil for the metadata and
16393 boundaries of non-functional tables.
16394 (completion-table-dynamic): Return nil for the metadata.
16395 (completion-table-with-terminator): Add default case, using
16396 complete-with-action.
16397 (completion--metadata): New function.
16398 (completion-all-sorted-completions, minibuffer-completion-help): Use it
16399 to try and avoid pathological performance problems.
16400 (completion--embedded-envvar-table): Return `category' metadata.
16401
bcd54f83
LMI
164022011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
16403
16404 * subr.el (process-alive-p): New tiny convenience function.
16405
e227544d
SM
164062011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16407
16408 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16409 content but also its previous major mode.
16410
e8296fdc
HE
164112011-05-31 Helmut Eller <eller.helmut@gmail.com>
16412
4d61f28d 16413 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
16414 *Backtrace* buffer when we exit with C-M-c.
16415
620c53a6
SM
164162011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
16417
16418 * minibuffer.el: Add metadata method to completion tables.
16419 (completion-category-overrides): New defcustom.
16420 (completion-metadata, completion--field-metadata)
16421 (completion-metadata-get, completion--styles)
16422 (completion--cycle-threshold): New functions.
16423 (completion-try-completion, completion-all-completions):
16424 Add `metadata' argument to choose completion-styles.
16425 (completion--do-completion): Use metadata to choose cycling.
16426 (completion-all-sorted-completions): Use metadata for sorting.
16427 Remove :completion-cycle-penalty which is not needed any more.
16428 (completion--try-word-completion): Add `metadata' argument.
16429 (minibuffer-completion-help): Check metadata for annotation function
16430 and sorting.
16431 (completion-file-name-table): Return `category' metadata.
16432 (minibuffer-completing-file-name): Make obsolete.
16433 * simple.el (minibuffer-completing-symbol): Make obsolete.
16434 * icomplete.el (icomplete-completions): Pass new `metadata' param to
16435 completion-try-completion.
16436
1257e755
SM
164372011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
16438
16439 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16440
3767e706
LL
164412011-05-30 Leo Liu <sdl.web@gmail.com>
16442
16443 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
16444 (rcirc-print): Decode all incoming messages (bug#8744).
16445 (rcirc-decode-coding-system): Allow value nil for automatic coding
16446 system detection.
3767e706 16447
d1a5d56a
GM
164482011-06-01 Glenn Morris <rgm@gnu.org>
16449
16450 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16451
e8cbec34
CY
164522011-05-29 Chong Yidong <cyd@stupidchicken.com>
16453
16454 * image.el (image-animate-max-time): Allow nil and t values.
16455 Default to nil.
16456 (create-animated-image): Doc fix.
16457 (image-animate-start): Remove second arg; just use
16458 image-animate-max-time.
16459 (image-animate-timeout): Doc fix. Args changed.
16460
16461 * image-mode.el (image-toggle-display-image): Ensure that the
16462 image spec passed to the animate timer is the same object as in
58179cce 16463 the buffer's display property (Bug#6981).
e8cbec34
CY
16464 (image-transform-properties): Doc fix.
16465
16466 * image.el (image-animate-max-time): Default to nil.
16467
159daf87
MR
164682011-05-29 Martin Rudalics <rudalics@gmx.at>
16469
16470 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16471 entire buffer list (Bug#8184).
16472
d66c4c7c
CY
164732011-05-29 Chong Yidong <cyd@stupidchicken.com>
16474
16475 * image.el (imagemagick-types-inhibit)
16476 (imagemagick-register-types): Doc fix.
16477
80aec780
DD
164782011-05-29 Deniz Dogan <deniz@dogan.se>
16479
16480 * net/rcirc.el (rcirc): Use the user's stored encryption method by
16481 default.
16482
1dd3c2d9
CY
164832011-05-29 Chong Yidong <cyd@stupidchicken.com>
16484
16485 * select.el: Don't perform clipboard-manager saving in hooks;
16486 leave the hooks empty.
16487
60e56523
LL
164882011-05-28 Leo Liu <sdl.web@gmail.com>
16489
16490 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16491 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
16492 (occur-edit-mode): New major mode (Bug#8463).
16493 (occur-after-change-function): New function.
16494 (occur-engine): Give Occur tags a read-only property.
16495
2b1e1a22
KR
164962011-05-28 Kevin Ryde <user42@zip.com.au>
16497
16498 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16499
5d344e88
CY
165002011-05-28 Chong Yidong <cyd@stupidchicken.com>
16501
8e6ca83d
CY
16502 * bindings.el (help-echo): Make the initial non-indicator dash
16503 empty on graphical terminals (Bug#7295).
16504
5d344e88
CY
16505 * files.el (auto-mode-alist): Move config rule after the
16506 in-stripping one (Bug#8547).
16507
bfbbace7
CY
16508 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16509
fbeba6e2
CY
16510 * startup.el (normal-splash-screen): Remove gratuitous mode-line
16511 setting (Bug#8740).
16512
60ed8c72
AA
165132011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
16514
4ac619f0
AA
16515 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16516 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16517 (Bug#8539).
60ed8c72 16518
23db196e
CY
165192011-05-28 Chong Yidong <cyd@stupidchicken.com>
16520
16521 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16522
5012f24c
DK
165232011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
16524
16525 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16526 (hs-hide-block-at-point, hs-find-block-beginning)
16527 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16528 (Bug#8279).
16529
6a639b16
GM
165302011-05-28 Glenn Morris <rgm@gnu.org>
16531
16532 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
16533
d43eaf2c
CY
165342011-05-28 Chong Yidong <cyd@stupidchicken.com>
16535
5199bde1
CY
16536 * help-fns.el (describe-function-1): If the function is a derived
16537 major mode, print the parent mode.
16538
d43eaf2c
CY
16539 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16540 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16541
423428a8
SM
165422011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
16543
0ff8e1ba 16544 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 16545 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
16546 * progmodes/etags.el (tags-completion-at-point-function):
16547 * info-look.el (info-lookup-completions-at-point): Mark as
16548 non-exclusive.
16549 (info-complete): Adjust accordingly.
16550
423428a8
SM
16551 * info-look.el: Convert to lexical-binding and completion-at-point.
16552 (info-lookup-completions-at-point): New function.
16553 (info-complete): Use it and completion-in-region.
16554
b74aa22b
DA
165552011-05-28 Drew Adams <drew.adams@oracle.com>
16556
16557 * isearch.el: Let M-e start with point at the first mismatched char.
16558 (isearch-fail-pos): New function.
16559 (isearch-edit-string): Use it.
16560
66e2e71d
DK
165612011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16562
16563 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16564
b1890b0f 165652011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
16566
16567 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
16568 traversal functions for avl-trees.
16569 (avl-tree--stack): New struct.
16570 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16571 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
16572 (avl-tree--do-enter): Add optional `updatefun' arg.
16573 Change return value.
eb95d01d 16574 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
16575 (avl-tree--do-delete): Add `test' and `nilflag' args.
16576 Change return value.
eb95d01d
TC
16577 (avl-tree-member): Add optional `nilflag'
16578 (avl-tree-member-p): New function.
16579 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16580 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16581 (avl-tree-stack-empty-p): New functions.
16582
3769ddcf
TC
16583 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16584 avl-tree--del-balance1 and make it work both ways.
16585 (avl-tree--del-balance2): Remove.
16586 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16587 make it work both ways.
16588 (avl-tree--enter-balance2): Remove.
16589 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16590 New macros.
16591 (avl-tree--mapc, avl-tree-map): Add direction argument.
16592
eb95d01d 165932011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
16594
16595 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16596
a9f737ee
CY
165972011-05-27 Chong Yidong <cyd@stupidchicken.com>
16598
16599 * select.el: Support clipboard managers with built-in function
16600 x-clipboard-manager-save, via delete-frame-functions and
16601 kill-emacs-hook.
16602 (xselect-convert-to-targets): Add MULTIPLE target to list.
16603 (xselect-convert-to-save-targets): New function.
16604
c92a1e54
KH
166052011-05-27 Kenichi Handa <handa@m17n.org>
16606
16607 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16608 let-binding rfc2047-encode-encoded-words to nil.
16609
e145f188
GM
166102011-05-27 Glenn Morris <rgm@gnu.org>
16611
5ec8a862
GM
16612 * mail/emacsbug.el: Don't require url-util.
16613
4b29d9fb
GM
16614 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
16615
e145f188
GM
16616 * files.el (set-auto-mode):
16617 Also respect mode: entries at the end of the file. (Bug#8586)
16618
7d15102b
GM
166192011-05-26 Glenn Morris <rgm@gnu.org>
16620
98f593b8
GM
16621 * files.el (hack-local-variables-prop-line, hack-local-variables):
16622 Downcase mode names, as seems to be traditional.
27b48e63 16623 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 16624
7d15102b
GM
16625 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16626 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
16627
51d5b4ec
JD
166282011-05-25 Julien Danjou <julien@danjou.info>
16629
16630 * textmodes/rst.el (rst-define-level-faces): Do not define face
16631 symbol if it is already defined.
16632
91513f63
VB
166332011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
16634
16635 * play/5x5.el (5x5-new-game, 5x5-randomize):
16636 Reset 5x5-solver-output to nil when a new grid is cast.
16637 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16638 these debugging traces, as defmacro breaks the compiled code.
16639
4d90d6d0
DK
166402011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
16641
16642 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16643
e1b90ef6
LL
166442011-05-24 Leo Liu <sdl.web@gmail.com>
16645
16646 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16647 (vc-bzr-sha1): Adapt.
16648
d8e4b68b 16649 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
16650
16651 * bindings.el: Provide sha1 feature.
16652
db0406bb 166532011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
16654
16655 * mail/sendmail.el: Require `rfc2047'.
16656 (mail-insert-from-field): Do not perform RFC2047 encoding.
16657 (mail-encode-header): New function.
16658 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
16659 buffer to the return value of select-message-coding-system.
16660 Call mail-encode-header.
b8d747b9
KH
16661
16662 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16663
db0406bb 166642011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 16665
4d90d6d0
DK
16666 * mail/supercite.el (sc-default-cite-frame):
16667 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 16668
eb8a5e9b
GM
166692011-05-24 Glenn Morris <rgm@gnu.org>
16670
f8630703
GM
16671 * progmodes/python.el (brm-menu): Declare.
16672
8831bbed
GM
16673 * emulation/viper.el (viper-set-hooks): Declare.
16674
eb8a5e9b
GM
16675 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16676 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16677 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16678 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16679 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16680 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16681
a2a25d24
SM
166822011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16683
16684 Add an :exit-function for completion-at-point.
16685
16686 * minibuffer.el (completion--done): New fun.
16687 (completion--do-completion): Use it. New arg `expect-exact'.
16688 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16689 since completion--do-completion does it for us now.
16690 (minibuffer-force-complete): Use completion--done and
16691 completion--replace. Handle sole-completion case with more care.
16692 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16693 (completion-extra-properties): New var.
16694 (completion-annotate-function): Make obsolete.
16695 (minibuffer-completion-help): Adjust accordingly.
16696 Use completion-list-insert-choice-function.
16697 (completion-at-point, completion-help-at-point):
16698 Bind completion-extra-properties.
16699 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16700 * simple.el (completion-list-insert-choice-function): New var.
16701 (completion-setup-function): Preserve it.
16702 (choose-completion): Pay attention to it, shuffle the code a bit.
16703 (choose-completion-string): New arg `insert-function'.
16704
16705 * textmodes/bibtex.el: Convert to lexical binding.
16706 (bibtex-mode-map): Use completion-at-point.
16707 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16708 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16709 (bibtex-complete): Define as obsolete alias.
16710 (bibtex-complete-internal): Remove.
16711 (bibtex-format-entry): Remove unused sub-group in regexp.
16712 * shell.el (shell--command-completion-data)
16713 (shell-environment-variable-completion):
16714 * pcomplete.el (pcomplete-completions-at-point):
16715 * comint.el (comint--complete-file-name-data): Use :exit-function
16716 instead of completion-table-with-terminator so it also works for
16717 choose-completion.
16718
e44e373d
SM
167192011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16720
4f91a816
SM
16721 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16722
782fc819
SM
16723 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16724 (bug#8710).
16725
e44e373d
SM
16726 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16727
381987c3
KM
167282011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16729
16730 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16731 customization variable and implement: If non-nil, auto-fill will
16732 be inhibited while on topic's header line.
16733
b776bc70
VB
167342011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16735
16736 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 16737 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
16738 always have a solution in grid size = 5 cases.
16739 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16740 (5x5-solver-output, 5x5-log-buffer): New vars.
16741 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16742 Make these variables buffer local to achieve 5x5 multi-session-ness.
16743 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16744 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16745 (5x5-solve-suggest): New funs.
16746 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16747 randomize a grid so that we ensure that there is always a solution.
16748 (5x5-make-random-grid): Allow other movement than flipping.
16749
7de88b6e
KR
167502011-05-23 Kevin Ryde <user42@zip.com.au>
16751
16752 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 16753 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
16754 advice and passes PREDICATE.
16755
b1ef1257
SM
167562011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16757
bbca48fe
SM
16758 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16759 byte-compile-lambda if it's actually a lambda.
16760
b1ef1257
SM
16761 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16762 Fix function quoting. Use backquote better.
16763
92a9cc65
YS
167642011-05-22 Yuanle Song <sylecn@gmail.com>
16765
16766 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16767 matching (Bug#8516).
16768
f0fb8059
JA
167692011-01-22 Jari Aalto <jari.aalto@cante.net>
16770
16771 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16772 different face (Bug#8178).
16773
d5b44c93
CY
167742011-05-22 Chong Yidong <cyd@stupidchicken.com>
16775
16776 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16777 defface (Bug#8144).
16778
79106a44
SM
167792011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16780
9c848d8a
SM
16781 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16782 funcall as well (bug#8712). Warn when performing those conversions.
16783 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16784
79106a44
SM
16785 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16786
88dfa756
GM
167872011-05-22 Glenn Morris <rgm@gnu.org>
16788
16789 * files.el (hack-local-variables-prop-line): Small simplifications.
16790 (hack-local-variables, hack-local-variables-prop-line):
16791 If MODE-ONLY, return the mode, rather than just `t'.
16792
b7cf2c79
SM
167932011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16794
16795 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16796
3f1a8558
GM
167972011-05-21 Glenn Morris <rgm@gnu.org>
16798
7e4ccca3
GM
16799 * files.el (hack-local-variables-prop-line, hack-local-variables):
16800 If only interested in the mode, don't bother doing the other stuff.
16801
637d46ca
GM
16802 * image-mode.el (image-after-revert-hook):
16803 Redraw all frames on which the image is visible. (Bug#8567)
16804
973d955b
GM
16805 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16806
3f1a8558
GM
16807 * wid-edit.el (widget-checklist-match-inline):
16808 Fix 2011-04-19 change. (Bug#8649)
16809
96479927
SM
168102011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16811
1dcf791f
SM
16812 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16813 Also allow singlespace after single-letter capitals followed by a dot.
16814
96479927
SM
16815 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16816 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16817
35fd0881
N
168182011-05-20 Nix <nix@esperi.org.uk>
16819
16820 * files.el (basic-save-buffer-2):
16821 Fix handling of break-hardlink-on-save with non-existent files.
16822
82745640
DD
168232011-05-19 Deniz Dogan <deniz@dogan.se>
16824
16825 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 16826 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 16827
4a720484
GM
168282011-05-19 Glenn Morris <rgm@gnu.org>
16829
d1f21341
GM
16830 * progmodes/f90.el (f90-type-def-re):
16831 Handle "type, bind(c)". (Bug#8691)
16832
4a720484
GM
16833 * emacs-lisp/autoload.el (batch-update-autoloads):
16834 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16835
2fb0a219
MA
168362011-05-18 Michael Albinus <michael.albinus@gmx.de>
16837
16838 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16839 property for the correct connection in case of multihops.
16840
e565dd37
GM
168412011-05-18 Glenn Morris <rgm@gnu.org>
16842
c2571358 16843 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
16844 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16845
e565dd37
GM
16846 Rationalize calendar handling of day and month abbrev-arrays.
16847 * calendar/calendar.el (calendar-customized-p): New function.
16848 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16849 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16850 Add :set function.
16851 (calendar-abbrev-length, calendar-day-abbrev-array)
16852 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16853 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16854 Elements may no longer be nil.
16855 (calendar-day-name, calendar-month-name):
16856 Update for changed nature of abbrev arrays.
16857 * calendar/diary-lib.el (diary-name-pattern):
16858 Update for changed nature of abbrev arrays.
16859 (diary-mark-entries-1): Update calendar-make-alist calls.
16860 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16861 * calendar/cal-html.el (cal-html-day-abbrev-array):
16862 Simply inherit from calendar-day-abbrev-array.
16863
1d99a745
SM
168642011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16865
16866 * progmodes/grep.el (grep-mode): Disable default
16867 compilation-directory-matcher setting (bug#8684).
16868
7c1d9aa0
MA
168692011-05-17 Michael Albinus <michael.albinus@gmx.de>
16870
16871 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16872 instead of "head" and "tail". There were problems with SunOS 5.9,
16873 and it performs better.
16874
3952e9d8
GM
168752011-05-17 Glenn Morris <rgm@gnu.org>
16876
2dd12e7f
GM
16877 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16878
e4157b9c
GM
16879 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16880 Replace obsolete function.
16881
8e249bbd
GM
16882 * shell.el (pcomplete-parse-arguments-function): Declare.
16883
3952e9d8
GM
16884 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16885 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16886 (appt-check): Doc fixes.
16887 (appt-disp-window-function, appt-delete-window-function):
16888 Remove needless special case in custom :type.
16889 (appt-display-count): Default to 0, not nil.
16890 (appt-check): Reset appt-display-count to 0, not nil.
16891
c71a0d48 168922011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 16893
c71a0d48
GM
16894 * progmodes/python.el (python-font-lock-keywords):
16895 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 16896
31d55be9
SM
168972011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16898
16899 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16900
3bfacb2f
KR
169012011-05-16 Kevin Ryde <user42@zip.com.au>
16902
16903 * info-look.el (makefile-automake-mode): New setups, looking in
16904 automake manual, then makefile-mode.
16905 (makefile-mode): Remove automake manual, have it just in
16906 makefile-automake-mode since there's various things different or
16907 not relevant to plain make.
16908 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16909 believe a hypothetical automake-mode would go to makefile-mode,
16910 not the other way around.
16911
c8e83751
CY
169122011-05-15 Chong Yidong <cyd@stupidchicken.com>
16913
5e9e35cd
CY
16914 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16915 hunk-end tags (Bug#8672).
16916
c8e83751
CY
16917 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16918 vc-annotate-show-diff-revision-at-line (Bug#8671).
16919
50b23e5a
GM
169202011-05-14 Glenn Morris <rgm@gnu.org>
16921
7210a739
GM
16922 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16923 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
16924 (change-log-font-lock-keywords): Also handle multiple author lines
16925 with leading tabs. (Bug#8644)
7210a739 16926
4691905a
GM
16927 * calendar/appt.el (appt-check): Rename some local variables.
16928 Some simplification/reordering.
16929
50b23e5a
GM
16930 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16931 (feedmail-sendmail-f-doesnt-sell-me-out)
16932 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16933 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16934 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
16935 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16936 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
16937 (feedmail-binmail-gnulinuxish-template):
16938 Rename from feedmail-binmail-linuxish-template.
16939 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16940 Use insert-buffer-substring.
16941
215cda7c
BC
169422011-05-14 Bill Carpenter <bill@carpenter.org>
16943
16944 * mail/feedmail.el (feedmail-patch-level): Increase.
16945 (feedmail-debug): New custom group.
16946 (feedmail-confirm-outgoing-timeout)
16947 (feedmail-sendmail-f-doesnt-sell-me-out)
16948 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16949 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16950 (feedmail-sender-line, feedmail-from-line)
16951 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 16952 (feedmail-spray-this-address)
215cda7c
BC
16953 (feedmail-spray-address-fiddle-plex-list)
16954 (feedmail-queue-use-send-time-for-date)
16955 (feedmail-queue-use-send-time-for-message-id)
16956 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16957 (feedmail-buffer-eating-function):
16958 Doc fixes.
16959 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16960 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16961 (feedmail-message-action-scroll-down): New functions.
16962 (feedmail-queue-directory, feedmail-queue-draft-directory):
16963 Use expand-file-name.
16964 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16965 Remove C-v help entry.
16966 (feedmail-queue-buffer-file-name): New variable.
16967 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16968 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16969 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16970 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16971 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16972 (feedmail-message-action-toggle-spray)
16973 (feedmail-run-the-queue-no-prompts)
16974 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16975 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16976 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16977 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16978 (feedmail-envelope-deducer, feedmail-fiddle-from)
16979 (feedmail-fiddle-sender, feedmail-default-date-generator)
16980 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16981 (feedmail-fiddle-spray-address)
16982 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16983 (feedmail-fiddle-list-of-fiddle-plexes)
16984 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16985 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16986 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16987 Change default. Doc fix.
16988 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16989 (feedmail-binmail-linuxish-template): New constant.
16990 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16991 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16992 (feedmail-send-it): Add debug call.
16993 Use feedmail-queue-buffer-file-name, and
16994 feedmail-send-it-immediately-wrapper.
16995 (feedmail-message-action-send): Add debug call.
16996 Use feedmail-send-it-immediately-wrapper.
16997 (feedmail-queue-express-to-queue): Add debug call.
16998 Run feedmail-queue-express-hook.
16999 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17000 (feedmail-message-action-help-blat):
17001 Rename from feedmail-queue-send-edit-prompt-help-first.
17002 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17003 Check line-endings. Handle errors better.
17004 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17005 Doc fix. Add debug call.
17006 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17007 Use feedmail-queue-send-edit-prompt-inner.
17008 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17009 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17010 from feedmail-queue-send-edit-prompt.
17011 (feedmail-queue-send-edit-prompt-help)
17012 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17013 (feedmail-tidy-up-slug): Add debug call.
17014 Respect feedmail-queue-slug-suspect-regexp.
17015 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17016 (feedmail-dump-message-to-queue): Add debug call.
17017 Expand queue-directory.
17018 (feedmail-dump-message-to-queue): Change message slightly.
17019 Use feedmail-say-chatter.
17020 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17021 (feedmail-send-it-immediately-wrapper): New function.
17022 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17023 Insert empty string rather than newline. Handle full-frame case.
17024 Use catch/throw. Use feedmail-say-chatter.
17025 (feedmail-fiddle-from): Try mail-host-address.
17026 (feedmail-default-message-id-generator): Doc fix.
17027 Bind system-time-locale. Handle missing end.
17028 (feedmail-fiddle-x-mailer): Add debug call.
17029 Handle feedmail-x-mailer-line being nil.
17030 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17031 Add debug call. Use buffer-substring-no-properties.
17032 (feedmail-say-debug, feedmail-say-chatter): New functions.
17033 (feedmail-find-eoh): Give an explicit error.
17034
42c7e61e
UJ
170352011-05-13 Ulf Jasper <ulf.jasper@web.de>
17036
c2571358 17037 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17038 family from helvetica to sans.
c2571358 17039 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17040 etc/images/newsticker.
17041
c2571358 17042 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17043 family from helvetica to sans.
17044
17045 * net/newst-plainview.el (newsticker-new-item-face)
17046 (newsticker-old-item-face, newsticker-immortal-item-face)
17047 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17048 (newsticker-statistics-face): Change default family from
42c7e61e 17049 helvetica to sans.
c2571358 17050 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17051 etc/images/newsticker.
17052
5d3385a0
JB
17053 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17054 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17055 auto-marking.
17056
8497a297
DV
170572011-05-13 Didier Verna <didier@xemacs.org>
17058
17059 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17060 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17061 TODO entries.
8497a297
DV
17062 (lisp-lambda-list-keyword-parameter-indentation)
17063 (lisp-lambda-list-keyword-parameter-alignment)
17064 (lisp-lambda-list-keyword-alignment): New customizable user options.
17065 (lisp-indent-defun-method): Improve docstring.
17066 (extended-loop-p): Fix comment.
17067 (lisp-indent-lambda-list-keywords-regexp): New variable.
17068 (lisp-indent-lambda-list): New function.
17069 (lisp-indent-259): Use it.
17070 (lisp-indent-defmethod): Support for more than one
17071 method qualifier and properly indent methods lambda-lists.
17072 (defgeneric): Provide a missing common-lisp-indent-function property.
17073
f278f87f
SM
170742011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17075
17076 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17077 bounds for the empty string (bug#8667).
17078
5233edd7
GM
170792011-05-13 Glenn Morris <rgm@gnu.org>
17080
5237a44f
GM
17081 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17082
8340026c 17083 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17084 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17085
5233edd7 17086 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17087 (appt-time-msg-list): Doc fix.
a5464014 17088 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17089
92d10796
AS
170902011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17091
17092 * progmodes/ld-script.el (ld-script-keywords)
17093 (ld-script-builtins): Update keywords list.
17094
914a0ae1
SM
170952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17096
c89be45f
SM
17097 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17098
914a0ae1
SM
17099 * shell.el (shell-completion-vars): New function.
17100 (shell-mode):
17101 * simple.el (read-shell-command): Use it.
17102 (blink-matching-open): No need for " [...]" in minibuffer-message.
17103
98dc3df3
GM
171042011-05-12 Glenn Morris <rgm@gnu.org>
17105
17106 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17107 (appt-check): Simplify.
17108
d2fc7e3d 171092011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17110
4d61f28d 17111 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17112 literal "/dev/null".
17113
d2fc7e3d 171142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17115
17116 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17117 Fix typo.
17118
d2fc7e3d 171192011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17120
3f254caa
SM
17121 * progmodes/which-func.el (which-function):
17122 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17123 which might not be defined (Bug#8260).
17124
d45885f7
GM
171252011-05-12 Glenn Morris <rgm@gnu.org>
17126
17127 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17128 Let byte-compile-initial-macro-environment always take precedence.
17129
488086f4
SM
171302011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17131
17132 * net/rcirc.el: Add support for SSL/TLS connections.
17133 (rcirc-server-alist): New field `encryption'.
17134 (rcirc): Check `encryption' settings.
17135 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17136 Merge make-local-variable into `set'.
17137 (rcirc--connection-open-p): New function.
17138 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17139 the process is not a network process (e.g. running gnutls-cli).
17140 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17141 Make rcirc-(en|de)code-coding-system local here.
17142 (rcirc-mode): Merge make-local-variable into `set'.
17143 (rcirc-parent-buffer): Make permanent buffer-local.
17144 (rcirc-multiline-minor-mode): Don't do it here.
17145 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17146 there's no server buffer.
17147
7d3b9d44
GM
171482011-05-11 Glenn Morris <rgm@gnu.org>
17149
f64049c6
GM
17150 * newcomment.el (comment-kill): Prefix "unused" local.
17151
93c9df73
GM
17152 * term/w32console.el (get-screen-color): Declare.
17153
7d3b9d44
GM
17154 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17155 Handle symbol elements of byte-compile-initial-macro-environment.
17156
9e2dd53f
LL
171572011-05-10 Leo Liu <sdl.web@gmail.com>
17158
488086f4
SM
17159 * bookmark.el (bookmark-bmenu-mode-map):
17160 Bind bookmark-bmenu-search to `/'.
8b340240 17161
9e2dd53f 17162 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
17163 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17164 (Footnote-unicode): New function.
17165 (footnote-style-alist): Add unicode style to the list.
17166 (footnote-style): Doc fix.
9e2dd53f 17167
79b70037
GM
171682011-05-10 Jim Meyering <meyering@redhat.com>
17169
17170 Fix doubled-word typos.
17171 * international/quail.el (quail-insert-kbd-layout): and and -> and
17172 * kermit.el: and and -> and
17173 * net/ldap.el (ldap-search-internal): to to -> to
17174 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17175 * progmodes/js.el (js-mode): and and -> and
17176 * textmodes/artist.el (artist-move-to-xy): at at -> at
17177 (artist-draw-region-trim-line-endings): if if -> if
17178 And Safetyc -> Safety.
17179 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17180
b8f82dc1 171812011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 17182 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
17183
17184 * files.el (hack-one-local-variable-eval-safep):
17185 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17186
4f99f44b
GM
171872011-05-10 Glenn Morris <rgm@gnu.org>
17188
17189 * calendar/diary-lib.el (diary-list-entries-hook)
17190 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17191 (diary-nongregorian-marking-hook, diary-list-entries)
17192 (diary-include-other-diary-files, diary-mark-entries)
17193 (diary-mark-included-diary-files): Doc fixes.
17194
84f29e6b
JB
171952011-05-09 Juanma Barranquero <lekktu@gmail.com>
17196
17197 * misc.el: Require tabulated-list.el during compilation.
17198
9bedd73a
CY
171992011-05-09 Chong Yidong <cyd@stupidchicken.com>
17200
488086f4
SM
17201 * progmodes/compile.el (compilation-start):
17202 Run compilation-filter-hook for the async case too.
9bedd73a
CY
17203 (compilation-filter-hook): Doc fix.
17204
797c735c
DD
172052011-05-09 Deniz Dogan <deniz@dogan.se>
17206
17207 * wdired.el: Remove outdated installation comment. Fix usage
17208 comment.
17209
5f4b1dfe
JB
172102011-05-09 Juanma Barranquero <lekktu@gmail.com>
17211
17212 * misc.el: Implement new command `list-dynamic-libraries'.
17213 (list-dynamic-libraries--loaded-only-p): New variable.
17214 (list-dynamic-libraries--refresh): New function.
17215 (list-dynamic-libraries): New command.
17216
4c44026c
CY
172172011-05-09 Chong Yidong <cyd@stupidchicken.com>
17218
488086f4
SM
17219 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17220 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
17221 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17222 higher priority to avoid clobbering by gnu.
17223
027f966d
CY
172242011-05-08 Chong Yidong <cyd@stupidchicken.com>
17225
17226 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17227 if the face has existing theme settings (Bug#8454).
17228
085f5d7d
CY
172292011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17230
488086f4
SM
17231 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17232 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 17233
2a86a00c
RS
17234 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17235 special file names `.' and `..' (Bug#8259).
17236
d9c54a06
CY
172372011-05-08 Chong Yidong <cyd@stupidchicken.com>
17238
488086f4
SM
17239 * progmodes/grep.el (grep-mode-font-lock-keywords):
17240 Remove buffer-changing entries.
d9c54a06
CY
17241 (grep-filter): New function.
17242 (grep-mode): Add it to compilation-filter-hook.
17243
17244 * progmodes/compile.el (compilation-filter-hook)
17245 (compilation-filter-start): New defvars.
17246 (compilation-filter): Call compilation-filter-hook prior to
17247 updating the process mark.
17248
c4662635
SM
172492011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17250
17251 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17252
b0512a1d
EZ
172532011-05-07 Eli Zaretskii <eliz@gnu.org>
17254
605c9376
EZ
17255 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17256 mailclient-send-it even if window-system is nil. (Bug#8595)
17257
c4662635
SM
17258 * term/w32console.el (terminal-init-w32console):
17259 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
17260 background-mode. (Bug#8597)
17261
d1dc2cc2
SM
172622011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17263
17264 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17265 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17266 New functions.
17267 (defgeneric, eieio--defmethod): Use them.
17268 (eieio-defgeneric): Remove.
17269 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17270
915d1300
GM
172712011-05-07 Glenn Morris <rgm@gnu.org>
17272
a3961c3e
GM
17273 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17274 Use let rather than let*.
17275 (timeclock-find-discrep): Remove unused local.
17276
314347b9
GM
17277 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17278
915d1300
GM
17279 * calendar/appt.el (appt-time-msg-list): Doc fix.
17280
275b59b0
NF
172812011-05-06 Noah Friedman <friedman@splode.com>
17282
17283 * apropos.el (apropos-print-doc): Only use
17284 emacs-lisp-docstring-fill-column when it is bound to an integer,
17285 per that variable's documentation.
17286
6c19f744
SM
172872011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
17288
17289 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 17290 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 17291
60f884b2
GM
172922011-05-06 Glenn Morris <rgm@gnu.org>
17293
5006e634
GM
17294 * calendar/appt.el (appt-message-warning-time): Doc fix.
17295 (appt-warning-time-regexp): New option.
17296 (appt-make-list): Respect appt-message-warning-time.
17297
548d0a63
GM
17298 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17299 New options.
17300 (diary-add-to-list): Strip comments from the displayed string.
17301 (diary-mode): Set comment-start and comment-end.
17302
60f884b2
GM
17303 * vc/diff-mode.el (smerge-refine-subst): Declare.
17304 (diff-refine-hunk): Don't require smerge-mode when compiling.
17305
989681bb
JB
173062011-05-06 Juanma Barranquero <lekktu@gmail.com>
17307
17308 * simple.el (list-processes): Return nil as the docstring says.
17309
a6bc05e1
MA
173102011-05-05 Michael Albinus <michael.albinus@gmx.de>
17311
17312 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17313 to "".
17314 (ange-ftp-write-region, ange-ftp-insert-file-contents)
17315 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17316 determining of binary transfer. (Bug#7383)
17317
23c22e9a
MA
173182011-05-05 Michael Albinus <michael.albinus@gmx.de>
17319
c4662635
SM
17320 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17321 Fix port computation bug. (Bug#8618)
23c22e9a 17322
0bff894f
GM
173232011-05-05 Glenn Morris <rgm@gnu.org>
17324
b8296902
GM
17325 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17326
1f522ce8
GM
17327 * simple.el (shell-dynamic-complete-functions)
17328 (comint-dynamic-complete-functions): Declare.
17329
cf5bee67
GM
17330 * net/network-stream.el (gnutls-negotiate):
17331 * simple.el (tabulated-list-print): Fix declarations.
17332
17333 * progmodes/gud.el (syntax-symbol, syntax-point):
17334 Remove unnecessary and incorrect declarations.
17335
0bff894f
GM
17336 * emacs-lisp/check-declare.el (check-declare-scan):
17337 Handle byte-compile-initial-macro-environment in bytecomp.el
17338
9869b3ae
SM
173392011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
17340
17341 Fix earlier half-done eieio-defmethod change (bug#8338).
17342 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17343 Streamline and change calling convention.
17344 (defmethod): Adjust accordingly and simplify.
17345 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17346 new eieio--defmethod.
17347 (slot-boundp): Minor CSE simplification.
17348
9c1d5ac5
MZ
173492011-05-05 Milan Zamazal <pdm@zamazal.org>
17350
17351 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17352 (glasses-make-readable): Use glasses-separate-capital-groups.
17353
455c834e
JB
173542011-05-05 Juanma Barranquero <lekktu@gmail.com>
17355
17356 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17357 (warning-series): Doc fix.
17358 (display-warning): Don't try to create the buffer if we just found it.
17359
9ed7c8cb
CY
173602011-05-04 Chong Yidong <cyd@stupidchicken.com>
17361
17362 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17363 (autoload-find-generated-file): New function.
17364 (generate-file-autoloads): Bind generated-autoload-file to
17365 buffer-file-name.
9869b3ae
SM
17366 (update-file-autoloads, update-directory-autoloads):
17367 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
17368 output file (Bug#7989).
17369 (batch-update-autoloads): Doc fix.
17370
0898ca10
JB
173712011-05-04 Juanma Barranquero <lekktu@gmail.com>
17372
17373 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17374
31dfb76c
GM
173752011-05-04 Glenn Morris <rgm@gnu.org>
17376
f330b642
GM
17377 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17378 function, so it follows changes in calendar-date-style.
17379 (diary-fancy-date-matcher): New function.
17380 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17381 (diary-fancy-font-lock-fontify-region-function):
17382 Use diary-fancy-date-pattern as a function.
17383
31dfb76c
GM
17384 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17385 non-numbers for `year' etc pseudo-variables. (Bug#8583)
17386
48e79d6a
TZ
173872011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
17388
17389 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17390 instead of positional arguments. Allow :keylist and :crlfiles
17391 arguments.
17392 (open-gnutls-stream): Call it.
17393
17394 * net/network-stream.el (network-stream-open-starttls): Adjust to
17395 call `gnutls-negotiate' with :process and :hostname arguments.
17396
dd5a5ee0
SM
173972011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
17398
ef80fc09
SM
17399 * minibuffer.el (completion--message): New function.
17400 (completion--do-completion, minibuffer-complete)
17401 (minibuffer-force-complete, minibuffer-complete-word): Use it.
17402 (completion--do-completion): Don't ignore completion-auto-help when in
17403 icomplete-mode.
17404
dd5a5ee0
SM
17405 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17406 internal encoding (e.g. tibetan zero is not whitespace).
17407 (global-whitespace-mode): Prefer save-current-buffer.
17408 (whitespace-trailing-regexp): Remove useless save-match-data.
17409 (whitespace-empty-at-bob-regexp): Minor simplification.
17410
b7d22a83
CY
174112011-05-03 Chong Yidong <cyd@stupidchicken.com>
17412
17413 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17414
5192af46
AM
174152011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
17416
17417 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 17418 Use `concat' to create string for insertion.
5192af46 17419
5767d190
SM
174202011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17421
17422 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17423 Avoid open-line which runs post-self-insert-hook.
17424 (bibtex-fill-entry): Remove unused `end' var.
17425
bf242939
AM
174262011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
17427
5767d190
SM
17428 * textmodes/ispell.el (ispell-add-per-file-word-list):
17429 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 17430
25666126
LL
174312011-05-03 Leo Liu <sdl.web@gmail.com>
17432
17433 * isearch.el (isearch-yank-pop): New command.
5767d190 17434 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
17435 (isearch-forward): Mention it.
17436
52d3c2d0
SM
174372011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
17438
1bcace58
SM
17439 * simple.el (minibuffer-complete-shell-command): Remove.
17440 (minibuffer-local-shell-command-map): Use completion-at-point.
17441 (read-shell-command): Setup completion vars here instead.
17442 (read-expression-map): Bind TAB to symbol completion.
17443
52d3c2d0
SM
17444 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17445 error directly rather via storing it into `results'.
17446
35813471
LL
174472011-05-02 Leo Liu <sdl.web@gmail.com>
17448
17449 * vc/diff.el: Fix description.
17450
e793a940
LMI
174512011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17452
17453 * server.el (server-eval-at): New function.
17454
8de66e05
LMI
174552011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17456
17457 * net/network-stream.el (open-network-stream): Take a :nowait
17458 parameter and pass it on to `make-network-process'.
17459 (network-stream-open-plain): Ditto.
17460
dcb79f20
AS
174612011-04-30 Andreas Schwab <schwab@linux-m68k.org>
17462
17463 * faces.el (face-spec-set-match-display): Don't match toolkit
17464 options on terminal frames.
17465
14a7fbd8
SM
174662011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
17467
7eabc1be
SM
17468 * progmodes/pascal.el: Use lexical binding.
17469 (pascal-mode-map): Remove author preferences.
17470
14a7fbd8
SM
17471 * pcomplete.el (pcomplete-std-complete): Don't abuse
17472 completion-at-point.
17473
50f84510
JB
174742011-04-28 Juanma Barranquero <lekktu@gmail.com>
17475
6e087a44
JB
17476 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17477 removing code that has been dead since 1991 or so.
17478
50f84510
JB
17479 * startup.el (command-line): When warning about "_emacs", use a
17480 delayed warning to allow the user to filter it out.
17481
0ba690bd
DD
174822011-04-28 Deniz Dogan <deniz@dogan.se>
17483
17484 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17485 user has not joined.
17486
08abfaad
SM
174872011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17488
17489 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17490 aren't any completions at point.
17491
638f053a
JB
174922011-04-28 Juanma Barranquero <lekktu@gmail.com>
17493
17494 * subr.el (display-delayed-warnings): New function.
17495 (delayed-warnings-hook): New variable.
17496
8fff8daa
SM
174972011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
17498
08abfaad
SM
17499 * minibuffer.el (completion-at-point, completion-help-at-point):
17500 Don't presume that a given completion-at-point-function will always
17501 use the same calling convention.
17502
8fff8daa
SM
17503 * pcomplete.el (pcomplete-completions-at-point):
17504 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
17505 pcomplete-seen is non-nil.
17506 (pcomplete-comint-setup): Also recognize the new comint/shell
17507 completion functions.
17508 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17509 pcomplete-seen is non-nil.
17510
841a1577 175112011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 17512
841a1577 17513 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 17514 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 17515 the first character in the entry. This allows for code to add its
211ec907
UJ
17516 own uid to the entry.
17517 (icalendar--convert-float-to-ical): Add export of
17518 `diary-float'-entries save for those with the optional DAY
17519 argument.
17520
2a782793
DC
175212011-04-27 Daniel Colascione <dan.colascione@gmail.com>
17522
17523 * subr.el (shell-quote-argument): Use alternate escaping strategy
17524 when we spot a variable reference in a string.
17525
0438ce91
DC
175262011-04-26 Daniel Colascione <dan.colascione@gmail.com>
17527
17528 * cus-start.el (all): Define customization for debug-on-event.
17529
841a1577 175302011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
17531
17532 * subr.el (shell-quote-argument): Escape correctly under Windows.
17533
d090ed6c
SM
175342011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17535
17536 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17537
bfd31217
MA
175382011-04-25 Michael Albinus <michael.albinus@gmx.de>
17539
d090ed6c
SM
17540 * net/tramp.el (tramp-process-actions): Add POS argument.
17541 Delete region between POS and (pos).
bfd31217 17542
d090ed6c
SM
17543 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17544 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
17545 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17546
17547 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17548 position in `tramp-process-actions' call.
17549
17550 * net/trampver.el: Update release number.
17551
e92f3bd3
SM
175522011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
17553
850256b5
SM
17554 * custom.el (defcustom): Obey lexical-binding.
17555
e92f3bd3
SM
17556 Fix octave-inf completion problems reported by Alexander Klimov.
17557 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17558 Inherit from octave-mode-syntax-table.
17559 (inferior-octave-mode): Set info-lookup-mode.
17560 (inferior-octave-completion-at-point): New function.
17561 (inferior-octave-complete): Use it and completion-in-region.
17562 (inferior-octave-dynamic-complete-functions): Use it as well, and use
17563 comint-filename-completion.
17564 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17565 symbol elements which shouldn't be word elements.
17566 (octave-font-lock-keywords, octave-beginning-of-defun)
17567 (octave-function-header-regexp): Adjust regexps accordingly.
17568 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17569
cd22b309
JB
175702011-04-25 Juanma Barranquero <lekktu@gmail.com>
17571
17572 * net/gnutls.el (gnutls-errorp): Declare before first use.
17573
8b492194
TZ
175742011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
17575
17576 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17577 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 17578 default trustfile exists before going to use it. Add missing
5a5fa834 17579 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
17580 Reported by Claudio Bley <claudio.bley@gmail.com>.
17581 (open-gnutls-stream): Add usage example.
17582
17583 * net/network-stream.el (network-stream-open-starttls): Give host
17584 parameter to `gnutls-negotiate'.
17585 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 17586 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 17587
841a1577 175882011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 17589
cd22b309
JB
17590 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17591 Use correct match group (bug#8438).
05842630 17592
3ba7869c
CY
175932011-04-24 Chong Yidong <cyd@stupidchicken.com>
17594
512e3ae1
CY
17595 * emacs-lisp/package.el (package-built-in-p): Fix typo.
17596 (package-menu--generate): New arg specifying packages to show.
17597 (package-menu-refresh, package-menu-execute, list-packages):
17598 Callers changed.
17599 (package-show-package-list): New function, replacing deleted
17600 package--list-packages (renamed because it is non-internal).
17601
17602 * finder.el (finder-list-matches): Use package-show-package-list
17603 instead of deleted package--list-packages.
17604
e92f3bd3
SM
17605 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17606 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
17607 (vc-annotate-mode-map): Bind it to RET.
17608
7031be6d
UR
176092011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
17610
17611 * progmodes/etags.el (next-file): Don't use set-buffer to change
17612 buffers (Bug#8478).
17613
4ef177aa
CY
176142011-04-24 Chong Yidong <cyd@stupidchicken.com>
17615
c8d173eb
CY
17616 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17617
4ef177aa
CY
17618 * apropos.el (apropos-label-face): Avoid variable-pitch face.
17619 (apropos-accumulator): Doc fix.
17620 (apropos-function, apropos-macro, apropos-command)
17621 (apropos-variable, apropos-face, apropos-group, apropos-widget)
17622 (apropos-plist): Add face property.
17623 (apropos-symbols-internal): Fix indentation.
17624 (apropos-print): Simplify help, and recognize apropos-multi-type.
17625 (apropos-print-doc): Use button-type-get to extract the button's
17626 face property. Fill docstring (Bug#8352).
17627
4ffd0d6b 176282011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
17629
17630 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17631
c6c32125 17632 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 17633 (mpuz-mode-map): Use mapc.
c6c32125
JB
17634 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17635 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17636 Fix typos in docstrings.
17637
58d468b4
JB
17638 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17639 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17640
6470c3c6
JB
17641 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17642
4ffd0d6b 176432011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
17644
17645 * minibuffer.el (completion--do-completion): Avoid the "Next char
17646 not unique" prompt if icomplete-mode is enabled (Bug#5849).
17647
3ad8bad0
CY
17648 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17649 mouse-2 into unread-command-events, it is interpreted correctly.
17650
71d73c9c 17651 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 17652 (image-toggle-display): Doc fix.
71d73c9c 17653
841a1577 176542011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 17655
4ffd0d6b
GM
17656 * textmodes/page.el (what-page): Use line-number-at-pos to
17657 calculate line number (Bug#6825).
6e1dbaa9 17658
c2fb1b60
JB
176592011-04-22 Juanma Barranquero <lekktu@gmail.com>
17660
17661 * eshell/esh-mode.el (find-tag-interactive): Declare function.
17662 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17663 Pass argument NO-DEFAULT to `find-tag-interactive'.
17664
e02f48d7
JB
176652011-04-22 Juanma Barranquero <lekktu@gmail.com>
17666
17667 Lexical-binding cleanup.
17668
17669 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17670 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17671 * progmodes/ada-prj.el (ada-prj-initialize-values)
17672 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17673 (ada-prj-show-value):
17674 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17675 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17676 (antlr-invalidate-context-cache, antlr-options-menu-filter)
17677 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17678 * progmodes/bug-reference.el (bug-reference-push-button):
17679 * progmodes/fortran.el (fortran-line-length):
17680 * progmodes/glasses.el (glasses-change):
17681 * progmodes/octave-mod.el (octave-fill-paragraph):
17682 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17683 (python-pdbtrack-grub-for-buffer, python-sentinel):
17684 * progmodes/sql.el (sql-save-connection):
17685 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17686 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17687 Mark unused parameters.
17688
17689 * progmodes/compile.el (compilation--flush-directory-cache)
17690 (compilation--flush-parse, compile-internal): Mark unused parameters.
17691 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17692 (compilation-next-error-function): Remove unused variable `timestamp'.
17693
17694 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17695 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17696
17697 * progmodes/dcl-mode.el (dcl-end-of-command):
17698 Remove unused variable `start'.
17699 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17700 (dcl-option-value-basic, dcl-option-value-offset)
17701 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17702 Mark unused parameters.
17703 (dcl-save-local-variable): Remove unused variable `val'.
17704 (mode): Declare.
17705
17706 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17707 Mark unused parameters.
17708 (delphi-ignore-changes): Move before first use.
17709 (delphi-charset-token-at): Remove unused variable `start'.
17710 (delphi-else-start): Remove unused variable `if-count'.
17711 (delphi-comment-block-start, delphi-comment-block-end):
17712 Remove unused variable `kind'.
17713 (delphi-indent-line): Remove unused variable `new-point'.
17714
17715 * progmodes/ebrowse.el (ebrowse-files-list)
17716 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17717 Mark unused parameters. Don't quote `lambda'.
17718 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17719 Don't quote `lambda'.
17720 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17721 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17722 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17723 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17724 Use `ignore-errors'.
17725 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17726 (ebrowse-view/find-file-and-search-pattern)
17727 (ebrowse-view/find-member-declaration/definition):
17728 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17729 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17730 Rename parameter PREFIX-ARG to PREFIX.
17731 (ebrowse-tags-read-name): Remove unused variables `start' and
17732 `member-info'.
17733 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17734 to `tags-file'.
17735
17736 * progmodes/etags.el (local-find-tag-hook): Declare.
17737 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17738 Mark unused parameters.
17739
17740 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17741 (executable-interpret): Mark unused parameter.
17742
17743 * progmodes/flymake.el (flymake-process-sentinel)
17744 (flymake-after-change-function)
17745 (flymake-create-temp-with-folder-structure)
17746 (flymake-get-include-dirs-dot): Mark unused parameters.
17747 (flymake-safe-delete-directory): Remove unused variable `err'.
17748
17749 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17750 (speedbar-timer-fn, speedbar-line-text)
17751 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17752 (speedbar-center-buffer-smartly): Declare functions.
17753 (gdb-find-watch-expression): Remove unused variable `array'.
17754 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17755 (gdb-starting): Mark unused parameters.
17756 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17757 (gdb-table-string): Remove unused variable `res'.
17758 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17759 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17760 (gdb-display-buffer): Remove unused variable `cur-size'.
17761
17762 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17763 allow lexical-binding compilation.
17764 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17765 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17766 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17767 Mark unused parameters.
17768 (gud-gdb-marker-filter): Remove unused variable `match'.
17769 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17770 lambda expressions and funcall them, instead of using `fset'.
17771
17772 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17773 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17774
17775 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17776 variable `header-beg'; use `let'.
17777
17778 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17779 `restart', `last-sexp' and `at-do'.
17780
17781 * progmodes/js.el (js--debug): Mark unused parameter.
17782 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17783 (js--splice-into-items): Remove unused variable `item'.
17784 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17785
17786 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17787 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17788 (makefile-complete): Remove unused variable `try'.
17789 (makefile-fill-paragraph, makefile-match-function-end):
17790 Mark unused parameters.
17791
17792 * progmodes/octave-inf.el (inferior-octave-complete):
17793 Remove unused variable `proc'.
17794 (inferior-octave-output-digest): Mark unused parameter.
17795
17796 * progmodes/perl-mode.el (perl-calculate-indent):
17797 Remove unused variable `err'.
17798
17799 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17800 (prolog-indent-line): Mark unused parameters.
17801 (prolog-indent-line): Remove unused variable `beg'.
17802
17803 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17804 (reporter-dont-compact-list): Declare.
17805
17806 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17807 Remove unused variable `char'.
17808 (sh-debug): Mark unused parameter.
17809 (sh-get-indent-info): Remove unused variable `start'.
17810 (sh-calculate-indent): Remove unused variable `var'.
17811
17812 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17813 (simula-electric-keyword): Remove unused variable `null'.
17814 (simula-search-backward, simula-search-forward): Remove unused
17815 variables `begin' and `end'.
17816
17817 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17818 Remove unused variable `pos'.
17819 (vera-electric-tab, vera-comment-uncomment-region):
17820 Mark unused parameters.
17821 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17822
7ede3b65
CY
178232011-04-22 Chong Yidong <cyd@stupidchicken.com>
17824
17825 * emacs-lisp/package.el (package--builtins, package-alist)
17826 (package-load-descriptor, package-built-in-p, package-activate)
17827 (define-package, package-installed-p)
17828 (package-compute-transaction, package-buffer-info)
17829 (package--push): Doc fix. Distinguish more clearly between
17830 version strings and version lists.
17831
121656e9
JB
178322011-04-21 Juanma Barranquero <lekktu@gmail.com>
17833
17834 Lexical-binding cleanup.
17835
17836 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17837 (5x5-make-mutate-best):
17838 * play/fortune.el (fortune-in-buffer):
17839 * play/gomoku.el (gomoku-init-display):
17840 * play/solitaire.el (solitaire, solitaire-do-check):
17841 * play/tetris.el (tetris-default-update-speed-function):
17842 Mark unused parameters.
17843
17844 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17845 (bubbles--shift): Remove unused variable `char-org'.
17846 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17847 (bubbles--show-images): Remove unused variable `char'.
17848
17849 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17850 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17851 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17852 (decipher-analyze-buffer): Use ?\s.
17853 (decipher-make-checkpoint): Remove unused variable `mapping'.
17854
17855 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17856
17857 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17858 Remove unused variable `result'; use `let'.
17859
17860 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17861 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17862 (gametree-children-shown-p, gametree-compute-reduced-score):
17863 Use `ignore-errors'.
17864
17865 * play/handwrite.el (ps-lpr-switches): Declare.
17866 (handwrite): Remove unused variables `pmin' and `lastp'.
17867
17868 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17869
17870 * play/landmark.el (landmark-init-display)
17871 (landmark-update-naught-weights): Mark unused parameters.
17872 (landmark-y): Remove unused variable `noise'. Simplify.
17873 (landmark-human-plays): Remove unused variable `score'.
17874
17875 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17876 (mpuz-try-proposal): Remove unused variable `game'.
17877
17878 * play/zone.el (life-patterns): Declare.
17879
80f499c7
JB
178802011-04-20 Juanma Barranquero <lekktu@gmail.com>
17881
17882 * vc/vc.el (ediff-vc-internal): Declare function.
17883
024ff170
SM
178842011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17885
c0a193ea
SM
17886 * shell.el: Use lexical-binding and std completion UI.
17887 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17888 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17889 comint-preoutput-filter-functions rather than on
17890 comint-output-filter-functions.
17891 (shell-command-completion, shell--command-completion-data)
17892 (shell-filename-completion, shell-environment-variable-completion)
17893 (shell-c-a-p-replace-by-expanded-directory): New functions.
17894 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17895 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17896 (shell-dynamic-complete-environment-variable): Use them.
17897 (shell-dynamic-complete-as-environment-variable)
17898 (shell-dynamic-complete-as-command): Remove.
17899 (shell-match-partial-variable): Match past point.
17900 * comint.el: Clean up use of completion-at-point-functions.
17901 (comint-completion-at-point): New function.
17902 (comint-mode): Use it completion-at-point-functions.
17903 (comint-dynamic-complete): Make it obsolete.
17904 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17905 (comint-c-a-p-replace-by-expanded-history): New function.
17906 (comint-dynamic-complete-functions)
17907 (comint-replace-by-expanded-history): Use it.
17908 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17909 termination strings. Try harder to avoid second try-completion.
17910 (completion-in-region-mode-map): Disable bindings that don't work yet.
17911
2dbaa080
SM
17912 * comint.el: Use lexical-binding. Require CL.
17913 (comint-dynamic-complete-functions): Use comint-filename-completion.
17914 (comint-completion-addsuffix): Tweak custom type.
17915 (comint-filename-completion, comint--common-suffix)
17916 (comint--common-quoted-suffix, comint--table-subvert)
17917 (comint--complete-file-name-data): New functions.
17918 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17919 (comint-dynamic-list-filename-completions): Use them.
17920 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 17921
2dbaa080
SM
17922 * minibuffer.el (completion-in-region-mode):
17923 Keep completion-in-region-mode--predicate global.
17924 (completion-in-region--postch):
17925 Assume completion-in-region-mode--predicate is not null.
17926
c79a6f38
SM
17927 * progmodes/flymake.el (flymake-start-syntax-check-process):
17928 Obey `dir'. Simplify.
17929
024ff170
SM
17930 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17931 we're in VC after all.
17932
1c6c854e
CS
179332011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17934
17935 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 17936 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
17937 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17938
bed7f140
SM
179392011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17940
332e62ab
SM
17941 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17942 add sanity check.
17943
bed7f140
SM
17944 * obsolete/erc-hecomplete.el: Make obsolete.
17945 * obsolete/: Standardize obsolescence info in the header.
17946
f195c582
GM
179472011-04-20 Glenn Morris <rgm@gnu.org>
17948
17949 * calendar/solar.el (solar-horizontal-coordinates):
17950 Use the longitude argument rather than `calendar-longitude'.
17951 (solar-date-next-longitude): Remove unused locals.
17952
cb79b8c0
VJL
179532011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17954
17955 * whitespace.el: New version 13.2.1.
17956
179572011-04-20 felix <EmacsWiki> (tiny change)
17958
d8e4b68b 17959 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
17960 switching between major modes on a file.
17961
602ea69d
SM
179622011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17963
17964 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17965 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17966 multi-line comments as well.
17967
06b60517
JB
179682011-04-19 Juanma Barranquero <lekktu@gmail.com>
17969
17970 Lexical-binding cleanup.
17971
17972 * arc-mode.el (archive-mode-revert):
17973 * cmuscheme.el (scheme-interactively-start-process):
17974 * custom.el (custom-initialize-delay):
17975 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17976 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17977 * emacs-lock.el (emacs-lock-clear-sentinel):
17978 * ezimage.el (defezimage):
17979 * follow.el (follow-avoid-tail-recenter):
17980 * fringe.el (set-fringe-mode-1):
17981 * generic-x.el (bat-generic-mode-compile):
17982 * help-mode.el (help-info-variable, help-do-xref)
17983 (help-mode-revert-buffer):
17984 * help.el (view-emacs-todo):
17985 * iswitchb.el (iswitchb-completion-help):
17986 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17987 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17988 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17989 * locate.el (locate-update):
17990 * longlines.el (longlines-encode-region)
17991 (longlines-after-change-function):
17992 * outline.el (outline-isearch-open-invisible):
17993 * ps-def.el (declare-function, charset-dimension, char-width)
17994 (encode-char):
17995 * ps-mule.el (ps-mule-plot-string):
17996 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17997 (recentf-edit-list-select, recentf-edit-list-validate)
17998 (recentf-open-files-action):
17999 * rect.el (delete-whitespace-rectangle-line)
18000 (rectangle-number-line-callback):
18001 * register.el (window-configuration-to-register)
18002 (frame-configuration-to-register):
18003 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18004 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18005 (xselect-convert-to-targets, xselect-convert-to-delete)
18006 (xselect-convert-to-filename, xselect-convert-to-charpos)
18007 (xselect-convert-to-lineno, xselect-convert-to-colno)
18008 (xselect-convert-to-os, xselect-convert-to-host)
18009 (xselect-convert-to-user, xselect-convert-to-class)
18010 (xselect-convert-to-name, xselect-convert-to-integer)
18011 (xselect-convert-to-atom, xselect-convert-to-identity):
18012 * subr.el (declare, ignore, process-kill-without-query)
18013 (text-clone-maintain):
18014 * terminal.el (te-get-char, te-tic-sentinel):
18015 * tool-bar.el (tool-bar-make-keymap):
18016 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18017 * type-break.el (type-break-mode, type-break-noninteractive-query):
18018 * view.el (View-back-to-mark):
18019 * wid-browse.el (widget-browse-action, widget-browse-widget)
18020 (widget-browse-widgets, widget-browse-sexp):
18021 * widget.el (define-widget-keywords):
18022 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18023 Mark unused parameters.
18024
18025 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18026 (align-areas): Remove unused variable `look'.
18027 (align-region): Remove unused variables `real-end' and `pos-list'.
18028
18029 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18030
18031 * bindings.el (mode-line-modified, mode-line-remote):
18032 Mark unused parameters.
18033 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18034
18035 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18036 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18037
18038 * comint.el (comint-history-isearch-pop-state)
18039 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18040 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18041 (comint-substitute-in-file-name): Doc fix.
18042
18043 * completion.el (cmpl-statistics-block): Mark unused parameter.
18044 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18045 (save-completions-to-file, load-completions-from-file):
18046 Remove unused local variable `e'.
18047
18048 * composite.el (compose-chars): Remove unused variable `len'.
18049 (lgstring-insert-glyph): Remove unused variable `g'.
18050 (compose-glyph-string): Remove unused variables `ascent',
18051 `descent', `lbearing' and `rbearing'.
18052 (compose-glyph-string-relative): Remove unused variables
18053 `lbearing', `rbearing' and `wadjust'.
18054 (compose-gstring-for-graphic): Remove unused variables `header',
18055 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18056 (compose-gstring-for-terminal): Remove unused variables `header'
18057 and `nchars'. Use `let', not `let*'.
18058
18059 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18060 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18061 (Custom-buffer-done, custom-buffer-create-internal)
18062 (custom-browse-visibility-action, custom-browse-group-tag-action)
18063 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18064 (widget-magic-mouse-down-action, custom-toggle-parent)
18065 (custom-add-parent-links, custom-toggle-hide-variable)
18066 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18067 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18068 (custom-face-menu-create, custom-variable-menu-create, get)
18069 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18070 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18071 (customize-apropos): Remove unused variable `tests'.
18072 (custom-group-value-create): Remove unused variable `hidden-p'.
18073 (sort-fold-case): Declare.
18074
18075 * cus-theme.el (custom-reset-standard-faces-list)
18076 (custom-reset-standard-variables-list): Declare.
18077 (customize-create-theme, custom-theme-revert, custom-theme-write)
18078 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18079 Mark unused parameters.
18080
18081 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18082
18083 * delim-col.el (delimit-columns-max): Move defvar before first use.
18084
18085 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18086 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18087
18088 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18089 (auto-insert): Declare.
18090 (desktop-restore-file-buffer): Rename desktop-* parameters;
18091 mark unused ones.
18092 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18093 (desktop-buffer): Rename desktop-* parameters.
18094
18095 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18096 (dframe-reposition-frame-xemacs, dframe-help-echo)
18097 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18098 Mark unused parameters.
18099
18100 * dired-aux.el (backup-extract-version-start, overwrite-query)
18101 (overwrite-backup-query, rename-regexp-query)
18102 (rename-non-directory-query): Declare.
18103 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18104 (dired-add-entry): Remove unused variable `orig-file-name'.
18105 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18106 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18107 `dired-copy-preserve-time' directly.
18108 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18109 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18110
18111 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18112 (dired-virtual-revert, dired-make-relative-symlink):
18113 Mark unused parameters.
18114 (manual-program): Declare.
18115 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18116 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18117 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18118
18119 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18120
18121 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18122
18123 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18124 Declare.
18125
18126 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18127
18128 * electric.el (Electric-command-loop): Rename parameter
18129 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18130
18131 * expand.el (expand-in-literal): Remove unused variable `here'.
18132
18133 * facemenu.el (facemenu-add-new-color):
18134 Remove unused variable `docstring'.
18135
18136 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18137 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18138 (face-attr-construct): Mark unused parameter. Doc fix.
18139 (read-color): Remove unused variable `hex-string'.
18140
18141 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18142 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18143 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18144 (display-buffer-other-frame): Remove unused variable `old-window'.
18145 (kill-buffer-hook): Declare.
18146 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18147 Mark unused parameters.
18148 (after-find-file): Pass 1 to `auto-save-mode', not t.
18149
18150 * files-x.el (auto-insert): Declare.
18151 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18152
18153 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18154 variable `buf'. Mark unused parameter.
06b60517
JB
18155 (find-lisp-insert-directory): Mark unused parameter.
18156
18157 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18158 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18159 (format-common-tail): Remove, unused.
18160 (format-deannotate-region): Remove unused variable `loc'.
18161 (format-annotate-region): Remove unused variable `p'.
18162 (format-annotate-single-property-change): Remove unused variables
18163 `default' and `tail'.
18164
18165 * forms.el (read-file-filter): Declare.
18166 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18167
18168 * frame.el (frame-creation-function-alist): Mark unused parameter.
18169 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18170
18171 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18172 Remove unused parameters.
18173 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18174 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18175
18176 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18177 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18178 (hfy-prepare-tag-map): Mark unused parameters.
18179 (htmlfontify-buffer): Use `called-interactively-p'.
18180
18181 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18182 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18183 (ibuffer-do-occur): Mark unused parameters.
18184 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18185 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18186
18187 * ibuffer.el: Don't quote `lambda'.
18188 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18189 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18190 Mark unused parameters.
18191
18192 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18193 (ido-completing-read): Mark unused parameters.
18194 (ido-copy-current-word): Mark unused parameters;
18195 remove unused variable `name'.
18196 (ido-sort-merged-list): Remove unused parameter `dirs'.
18197
18198 * ielm.el (ielm-input-sender): Mark unused parameter.
18199 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18200 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18201 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18202 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18203 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18204
18205 * image-dired.el (image-dired-display-thumbs): Remove unused
18206 variables `curr-file' and `count'.
18207 (image-dired-remove-tag): Remove unused variable `start'.
18208 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18209 variable `curr-file'
18210 (image-dired-rotate-original): Remove unused variable `temp-file'.
18211 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18212 Remove unused variable `file'.
18213 (image-dired-gallery-generate): Remove unused variable `curr'.
18214 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18215
18216 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18217
18218 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18219
18220 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18221
18222 * isearch.el (minibuffer-history-symbol): Declare.
18223 (isearch-edit-string): Remove unused variable `err'.
18224 (isearch-message-prefix, isearch-message-suffix):
18225 Mark unused parameters.
18226
18227 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18228
18229 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18230
18231 * makesum.el (double-column): Remove unused variable `cnt'.
18232
18233 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18234 (ido-ignore-item-temp-list): Declare.
18235
18236 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18237 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18238 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18239 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18240 `mouse-col-delta'.
18241
18242 * mouse-sel.el (mouse-extend-internal):
18243 Remove unused variable `orig-window-frame'.
18244
18245 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18246 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18247 Move declarations before first use.
18248 (pcomplete-opt): Mark unused parameters; doc fix.
18249
18250 * proced.el (proced-revert): Mark unused parameter.
18251 (proced-send-signal): Remove unused variable `err'.
18252
18253 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18254 Rename parameter PREFIX-ARG to ARG.
18255 (ps-basic-plot-string, ps-basic-plot-whitespace):
18256 Mark unused parameters.
18257
18258 * replace.el (replace-count): Define.
18259 (occur-revert-function): Mark unused parameters.
18260 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18261 (isearch-case-fold-search, isearch-string): Declare.
18262 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18263 bind `case-fold-search'. Remove unused variables `beg' and `end',
18264 and simplify.
18265 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18266 COUNT and bind `replace-count'.
18267 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18268 to COUNT.
18269
18270 * savehist.el (print-readably, print-string-length): Declare.
18271
18272 * shadowfile.el (shadow-expand-cluster-in-file-name):
18273 Remove unused variable `cluster'.
18274 (shadow-copy-file): Remove unused variable `i'.
18275 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18276 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18277 (shadow-define-literal-group, shadow-define-regexp-group)
18278 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18279
18280 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18281 (shell): Use `called-interactively-p'.
18282 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18283
18284 * simple.el (compilation-context-lines, comint-file-name-quote-list)
18285 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18286 (delete-backward-char): Remove unused variable `ocol'.
18287 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18288 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18289 (event-apply-hyper-modifier, event-apply-shift-modifier)
18290 (event-apply-control-modifier, event-apply-meta-modifier):
18291 Mark unused parameters.
18292 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18293 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18294
18295 * speedbar.el (speedbar-ignored-directory-expressions)
18296 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18297 (speedbar-find-file, speedbar-dir-follow)
18298 (speedbar-directory-buttons-follow, speedbar-tag-find)
18299 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18300 (speedbar-buffers-line-directory, speedbar-buffer-click):
18301 Mark unused parameters.
18302 (speedbar-tag-file): Remove unused variable `mode'.
18303 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18304
18305 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18306
18307 * talk.el (talk): Remove unused variable `display'.
18308
18309 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18310 (tar-write-region-annotate): Mark unused parameter.
18311
18312 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18313 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18314 Declare them, wrapped in `with-no-warnings' to avoid replacing one
18315 warning by another.
18316
18317 * time-stamp.el (time-stamp-string-preprocess):
18318 Remove unused variable `require-padding'.
18319
18320 * tree-widget.el (widget-glyph-enable): Declare.
18321 (tree-widget-action): Mark unused parameter.
18322
18323 * w32-fns.el (x-get-selection): Mark unused parameter.
18324 (autoload-make-program, generated-autoload-file): Declare.
18325
18326 * wdired.el (wdired-revert): Mark unused parameters.
18327 (wdired-xcase-word): Remove unused variable `err'.
18328
18329 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18330 (whitespace-help-scroll): Remove unused variable `data-help'.
18331
18332 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18333 (widget-image-insert, widget-after-change, default)
18334 (widget-default-format-handler, widget-default-notify)
18335 (widget-default-prompt-value, widget-info-link-action)
18336 (widget-url-link-action, widget-function-link-action)
18337 (widget-variable-link-action, widget-file-link-action)
18338 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18339 (widget-field-prompt-internal, widget-field-action, widget-field-match)
18340 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18341 (widget-insert-button-action, widget-delete-button-action, visibility)
18342 (widget-documentation-link-action, widget-documentation-string-action)
18343 (widget-const-prompt-value, widget-regexp-match, symbol)
18344 (widget-coding-system-prompt-value)
18345 (widget-key-sequence-value-to-external, sexp)
18346 (widget-sexp-value-to-internal, character, vector, cons)
18347 (widget-choice-prompt-value, widget-boolean-prompt-value)
18348 (widget-color--choose-action): Mark unused parameters.
18349 (widget-item-match-inline, widget-choice-match-inline)
18350 (widget-checklist-match, widget-checklist-match-inline)
18351 (widget-group-match): Rename parameter VALUES to VALS.
18352 (widget-field-value-set): Remove unused variable `size'.
18353 (widget-color-action): Remove unused variables `value' and `start'.
18354
18355 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 18356 variable `dir'. Doc fix.
06b60517
JB
18357 (windmove-find-other-window): Don't pass it.
18358
18359 * window.el (count-windows): Mark unused parameter.
18360 (bw-adjust-window): Remove unused variable `err'.
18361
18362 * woman.el (woman-file-name): Remove unused variable `default'.
18363 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18364 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18365 (global-font-lock-mode): Declare.
18366 (woman-decode-region): Mark unused parameter.
18367 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18368
18369 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18370 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18371 (x-dnd-handle-moz-url): Remove unused variable `title'.
18372 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18373
18374 * xml.el (xml-parse-tag, xml-parse-attlist):
18375 Remove unused variable `pos'.
18376
bc4f7f3d
GM
183772011-04-19 Glenn Morris <rgm@gnu.org>
18378
18379 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18380 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18381 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18382 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18383 * calendar/cal-html.el (cal-html-insert-minical):
18384 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18385 (calendar-mark-date-pattern):
18386 Prefix "unused" locals.
18387
18388 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18389 optional argument `style'.
18390
18391 * calendar/appt.el (appt-make-list):
18392 * calendar/cal-china.el (calendar-chinese-date-string):
18393 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18394 (diary-hebrew-yahrzeit):
18395 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18396 * calendar/calendar.el (calendar-generate-window):
18397 * calendar/time-date.el (time-to-days):
18398 Remove unused local variables.
18399
16a43933
CY
184002011-04-18 Chong Yidong <cyd@stupidchicken.com>
18401
18402 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18403 glyphless-char-display table.
18404 (tabulated-list-glyphless-char-display): New var.
18405
7eed1860
SS
184062011-04-18 Sam Steingold <sds@gnu.org>
18407
18408 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18409 to acknowledgments.
18410
4d2d1ccd
GM
184112011-04-17 Glenn Morris <rgm@gnu.org>
18412
18413 * calendar/diary-lib.el (diary-sexp-entry):
18414 * calendar/holidays.el (holiday-sexp):
18415 Set debug-on-error rather than the removed stack-trace-on-error.
18416
239da61d
GM
184172011-04-16 Glenn Morris <rgm@gnu.org>
18418
18419 * progmodes/f90.el: Use lexical-binding.
18420 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18421
8b05752a
SM
184222011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18423
daca8ba5
SM
18424 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18425 (mail-mode): Setup mailalias completion here instead.
18426 * mail/mailalias.el: Use lexical-binding.
18427 (pattern, mailalias-done): Declare dynamic.
18428 (mail-completion-at-point-function): New function, from mail-complete.
18429 (mail-complete): Use it.
18430 (mail-completion-expand): New function.
18431 (mail-get-names): Use it.
18432 (mail-directory, mail-directory-process, mail-directory-stream):
18433 Don't use `pattern' for lexically bound arg.
18434
6f542485
SM
18435 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18436
037e7c3f
SM
18437 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18438 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18439 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18440
8b05752a
SM
18441 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18442 (byte-save-window-excursion, byte-temp-output-buffer-setup)
18443 (byte-interactive-p): Define them again, for use when inlining
18444 old code.
18445
49093f60
JB
184462011-04-15 Juanma Barranquero <lekktu@gmail.com>
18447
18448 * loadup.el: Use `string-to-number', not `string-to-int'.
18449
b5b8e7de
SM
184502011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
18451
18452 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18453 gud-gdb-complete-command.
18454 (gud-gdb-completions): New function, from gud-gdb-complete-command.
18455 (gud-gdb-completion-at-point): New function.
18456 (gud-gdb-completions): Remove.
18457
f42efeb5
MA
184582011-04-14 Michael Albinus <michael.albinus@gmx.de>
18459
49093f60
JB
18460 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18461 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
18462 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18463 whether `executable-find' is bound.
f42efeb5
MA
18464
18465 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18466
e240cc21
SM
184672011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
18468
18469 * minibuffer.el (completion-in-region-mode-predicate)
18470 (completion-in-region-mode--predicate): New vars.
18471 (completion-in-region, completion-in-region--postch)
18472 (completion-in-region-mode): Use them.
18473 (completion--capf-wrapper): Also return the hook function.
18474 (completion-at-point, completion-help-at-point):
18475 Adjust and provide a predicate.
c2bd2ab0
SM
18476
18477 Preserve arg names for advice of subr and lexical functions (bug#8457).
18478 * help-fns.el (help-function-arglist): Consolidate the subr and
18479 new-byte-code cases. Add argument `preserve-names' to extract names
18480 from the docstring when needed.
18481 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18482 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18483 (ad-arglist): Use help-function-arglist's new arg.
18484 (ad-definition-type): Use cond.
18485
c183f693
JB
184862011-04-13 Juanma Barranquero <lekktu@gmail.com>
18487
06641a47
JB
18488 * autorevert.el (auto-revert-handler):
18489 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18490 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
18491 Don't quote lambda.
18492
c183f693
JB
18493 * image-mode.el (image-transform-set-scale):
18494 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
18495
1e3b6001
G
184962011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
18497
18498 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 18499 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
18500 Upgrades via gnutls-cli are too slow to be done opportunistically.
18501
2d6af8dd
JB
185022011-04-12 Juanma Barranquero <lekktu@gmail.com>
18503
18504 * dframe.el (dframe-current-frame): Remove spurious quote.
18505
c0749a51
GM
185062011-04-12 Glenn Morris <rgm@gnu.org>
18507
088d0d61
GM
18508 * calendar/cal-tex.el (cal-tex-end-document):
18509 Try to automatically use latin1 input if needed.
18510
c0749a51
GM
18511 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18512 Don't try to cons a mark onto an empty element.
18513
5c90fde0
LL
185142011-04-11 Leo Liu <sdl.web@gmail.com>
18515
18516 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18517 buffers.
18518 (ido-kill-buffer-at-head): Support killing virtual buffers.
18519
369e974d
CY
185202011-04-10 Chong Yidong <cyd@stupidchicken.com>
18521
18522 * minibuffer.el (completion-show-inline-help): New var.
18523 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
18524 (minibuffer-force-complete, minibuffer-complete-word):
18525 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
18526
18527 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18528 to avoid interference from inline help (Bug#5849).
18529
37f1c930
LL
185302011-04-10 Leo Liu <sdl.web@gmail.com>
18531
099c39a4
JB
18532 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18533 Fix typo.
37f1c930 18534
a32d4040
CY
185352011-04-09 Chong Yidong <cyd@stupidchicken.com>
18536
18537 * image-mode.el (image-toggle-display-image): Signal an error if
18538 not in Image mode.
18539 (image-transform-mode, image-transform-resize)
18540 (image-transform-set-rotation): Doc fix.
daca8ba5 18541 (image-transform-set-resize): Delete.
a32d4040
CY
18542 (image-transform-set-scale, image-transform-fit-to-height)
18543 (image-transform-fit-to-width): Handle image-toggle-display-image
18544 and image-transform-resize directly.
18545
099c39a4 185462011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
18547
18548 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
18549 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18550 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
18551 (doc-view-mode-map): Add bindings for the new functions.
18552
099c39a4 185532011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 18554
4d61f28d 18555 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
18556 Fix typo in docstring.
18557
3726838a
EZ
185582011-04-08 Eli Zaretskii <eliz@gnu.org>
18559
04f33f1e
EZ
18560 * files.el (file-size-human-readable): Produce one digit after
18561 decimal, like "ls -lh" does.
18562
18563 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18564 the file size representation.
18565
3726838a
EZ
18566 * simple.el (list-processes): If async subprocesses are not
18567 available, error out with a clear error message.
18568
cbb59342
CY
185692011-04-08 Chong Yidong <cyd@stupidchicken.com>
18570
18571 * help.el (help-form-show): New function, to be called from C.
18572 Put help-form output in a buffer named differently than *Help*.
18573
e3971c44
EZ
185742011-04-08 Eli Zaretskii <eliz@gnu.org>
18575
18576 * files.el (file-size-human-readable): New function.
18577
18578 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18579 computing the representation inline. Don't require `cl'.
18580
12544bbe
GM
185812011-04-08 Glenn Morris <rgm@gnu.org>
18582
a1de6c6a
GM
18583 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18584
3c4671f4
GM
18585 * net/browse-url.el (browse-url-firefox):
18586 Test system-type, not system-configuration.
18587
b605679c
GM
18588 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18589 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18590 Use log-edit-empty-buffer-p. (Bug#7598)
18591
56442f0c
GM
18592 * net/rlogin.el (rlogin-process-connection-type): Simplify.
18593 (rlogin-mode-map): Initialize in the defvar.
18594 (rlogin): Use ignore-errors.
18595
12544bbe
GM
18596 * replace.el (occur-mode-map): Some fixes for menu items.
18597
eb237b0f
AH
185982011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18599
18600 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
18601
7d668f2c
CY
186022011-04-06 Chong Yidong <cyd@stupidchicken.com>
18603
e67a13ab
CY
18604 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18605 issuing unused warnings.
18606
18607 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18608 macro directly.
18609
7d668f2c
CY
18610 * simple.el: Lisp reimplement of list-processes. Based on an
18611 earlier reimplementation by Leo Liu, but using tabulated-list.el.
18612 (process-menu-mode): New major mode.
18613 (list-processes--refresh, list-processes):
18614 (process-menu-visit-buffer): New functions.
18615
18616 * files.el (save-buffers-kill-emacs): Don't assume any return
18617 value of list-processes, which is undocumented anyway.
18618
a83ec3c9
CY
186192011-04-06 Chong Yidong <cyd@stupidchicken.com>
18620
18621 * emacs-lisp/tabulated-list.el: New file.
18622
e91a96fe
CY
18623 * emacs-lisp/package.el: Use Tabulated List mode.
18624 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18625 (package-menu-mode): Derive from tabulated-list-mode. Set up the
18626 table format using Tabulated List mode variables.
18627 (package--push): New macro, replacing package-list-maybe-add.
18628 (package-menu--generate): Use package--push. Renamed from
18629 package--generate-package-list.
18630 (package-menu-refresh, list-packages): Use it.
daca8ba5 18631 (package-menu--print-info): Rename from package-print-package.
e91a96fe 18632 Return insertion data instead of inserting it directly.
099c39a4
JB
18633 (package-menu-describe-package, package-menu-execute):
18634 Use tabulated-list-get-id.
e91a96fe
CY
18635 (package-menu-mark-delete, package-menu-mark-install)
18636 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
18637 (package-menu-mark-obsolete-for-deletion):
18638 Use tabulated-list-put-tag.
e91a96fe
CY
18639 (package--list-packages, package-menu-revert)
18640 (package-menu-get-package, package-menu-get-version)
18641 (package-menu-sort-by-column): Functions deleted.
18642 (package-menu-package-list, package-menu-sort-key): Vars deleted.
18643 (package-menu--status-predicate, package-menu--version-predicate)
18644 (package-menu--name-predicate)
18645 (package-menu--description-predicate): Handle arguments in the
18646 Tabulated List format.
18647 (package-list-packages-no-fetch): Call list-packages.
18648
3e214b50
JB
186492011-04-06 Juanma Barranquero <lekktu@gmail.com>
18650
18651 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 18652 (after-find-file): Don't bind it.
3e214b50
JB
18653 (revert-buffer-in-progress-p): New variable.
18654 (revert-buffer): Bind it.
18655 Pass nil for `after-find-file-from-revert-buffer'.
18656
18657 * saveplace.el (save-place-find-file-hook): Use new variable
18658 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18659
3f0f1700
GM
186602011-04-06 Glenn Morris <rgm@gnu.org>
18661
c0274801
GM
18662 * Makefile.in (AUTOGEN_VCS): New variable.
18663 (autoloads): Use $AUTOGEN_VCS.
18664
3f0f1700
GM
18665 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18666 * calendar/calendar.el (calendar-mode-map):
18667 Check for toolkit scroll bars. (Bug#8305)
18668
41ea9e48
CY
186692011-04-05 Chong Yidong <cyd@stupidchicken.com>
18670
18671 * minibuffer.el (completion-in-region--postch)
18672 (completion-in-region-mode): Remove unnecessary messages.
18673
6194c800
JB
186742011-04-05 Juanma Barranquero <lekktu@gmail.com>
18675
33256f14
JB
18676 * font-lock.el (font-lock-refresh-defaults):
18677 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18678 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18679
6194c800
JB
18680 * info.el (Info-directory-list, Info-read-node-name-2)
18681 (Info-split-parameter-string): Doc fixes.
18682 (Info-virtual-nodes): Reflow docstring.
18683 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18684 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18685 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18686 Fix typos in docstrings.
18687 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18688 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18689 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18690 (Info-restore-desktop-buffer): Mark unused parameters.
18691 (Info-directory-find-file, Info-directory-find-node)
18692 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18693 (Info-virtual-index-find-node, Info-apropos-find-file)
18694 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 18695 Mark unused parameters; fix typos in docstrings.
6194c800
JB
18696 (Info-virtual-index): Remove unused local variable `nodename'.
18697
b87a8200 186982011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 18699
b87a8200
DD
18700 * net/rcirc.el: Update my e-mail address.
18701 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 18702
3b2ff876
CY
187032011-04-05 Chong Yidong <cyd@stupidchicken.com>
18704
18705 * startup.el (command-line): Save the cursor's theme-face
18706 directly, instead of using face-override-spec.
18707
18708 * custom.el (load-theme): Minor optimization in assigning faces.
18709
8d17e7ca
JB
187102011-04-04 Juanma Barranquero <lekktu@gmail.com>
18711
18712 * help-fns.el (describe-variable): Complete all variables having
18713 documentation, including keywords.
18714 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18715
2fbc1934
JB
187162011-04-04 Juanma Barranquero <lekktu@gmail.com>
18717
18718 Convert to lexical-binding.
18719
18720 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18721 (bs--get-marked-string, bs--get-modified-string)
18722 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18723 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18724 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18725
18726 * ehelp.el (electric-help-execute-extended)
18727 (electric-help-ctrl-x-prefix):
18728 * hexl.el (hexl-revert-buffer-function):
18729 * linum.el (linum-after-change, linum-after-scroll):
18730 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18731
18732 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18733
74f50695
DU
187342011-04-04 Daiki Ueno <ueno@unixuser.org>
18735
18736 * epa-dired.el:
18737 * epa-mail.el:
18738 * epa-hook.el:
18739 * epa-file.el:
18740 * epa.el:
18741 * epg.el: Use lexical binding.
18742
c11325f7
CY
187432011-04-03 Chong Yidong <cyd@stupidchicken.com>
18744
0d9e9a12
CY
18745 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18746
c11325f7 18747 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
18748 dictionary case for flyspell-mark-duplications-exceptions.
18749 Use regexp matching for languages.
c11325f7
CY
18750 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18751 default dictionary (Bug#7926).
18752
da91b5f2
CY
187532011-04-02 Chong Yidong <cyd@stupidchicken.com>
18754
099c39a4
JB
18755 * emacs-lisp/package.el (package--with-work-buffer):
18756 Recognize https URLs.
da91b5f2 18757
099c39a4
JB
18758 * net/network-stream.el: Move from gnus/proto-stream.el.
18759 Change prefix to network-stream throughout.
da91b5f2
CY
18760 (open-protocol-stream): Merge into open-network-stream, leaving
18761 open-protocol-stream as an alias. Handle nil BUFFER args.
18762
18763 * subr.el (open-network-stream): Move to net/network-stream.el.
18764
afa8e9f6
GM
187652011-04-02 Glenn Morris <rgm@gnu.org>
18766
1d2e369d
GM
18767 * find-dired.el (find-exec-terminator): New option.
18768 (find-ls-option): Test for -ls support.
18769 (find-ls-subdir-switches): Test for -b in find-ls-option.
18770 (find-dired, find-grep-dired): Doc fixes.
18771 (find-dired): Use find-exec-terminator.
18772
8abb7da8 18773 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
18774 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18775 (find-name-arg): Remove purecopy.
8abb7da8 18776
f3ca7378
GM
18777 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18778 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18779 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18780 accordingly. Don't add the null-device if not needed.
18781
afa8e9f6
GM
18782 * files.el (save-some-buffers): Doc fix.
18783
35eae264
EZ
187842011-04-02 Eli Zaretskii <eliz@gnu.org>
18785
18786 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18787
26b51db5
JB
187882011-04-01 Juanma Barranquero <lekktu@gmail.com>
18789
18790 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18791 Use `dolist' rather than `mapcar'.
18792
7200d79c
SM
187932011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18794
03408648 18795 Add lexical binding.
7200d79c 18796
03408648
SM
18797 * subr.el (apply-partially): Use new closures rather than CL.
18798 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18799 (dolist, dotimes): Use slightly different expansion for lexical code.
18800 (functionp): Move to C.
18801 (letrec): New macro.
18802 (with-wrapper-hook): Use it and apply-partially instead of CL.
18803 (eval-after-load): Preserve lexical-binding.
18804 (save-window-excursion, with-output-to-temp-buffer): Turn them
18805 into macros.
7200d79c 18806
03408648
SM
18807 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18808
18809 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18810 than the arglist.
18811 (help-add-fundoc-usage): Don't add `Not documented'.
18812 (help-function-arglist): Handle closures, subroutines, and new
18813 byte-code-functions.
18814 (help-make-usage): Remove leading underscores.
18815 (describe-function-1): Handle closures.
18816 (describe-variable): Use special-variable-p for completion.
18817
18818 * files.el (lexical-binding): Declare safe.
f488fb65 18819
03408648
SM
18820 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18821 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18822 (pcase): Add `let' pattern.
18823 Change memoization so it actually works.
18824 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18825 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18826 <let>: New case.
f488fb65 18827
03408648
SM
18828 * emacs-lisp/macroexp.el: Use lexical binding.
18829 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18830 Don't convert ' to #' without checking that it's indeed quoting
18831 a lambda.
18832
18833 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 18834 Use eval-sexp-add-defvars.
03408648
SM
18835 (eval-sexp-add-defvars): New fun.
18836
18837 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18838
18839 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18840 Don't autoload.
18841 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18842 than the internal `byte-compile-lambda'.
18843 (defmethod): Don't hide code under quotes.
18844 (eieio-defmethod): New `code' argument.
18845
18846 * emacs-lisp/eieio-comp.el: Remove.
18847
18848 * emacs-lisp/edebug.el (edebug-eval-defun)
18849 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18850 (edebug-toggle): Avoid `eval'.
18851
18852 * emacs-lisp/disass.el (disassemble-internal): Handle new
18853 `closure' objects.
18854 (disassemble-1): Handle new byte codes.
18855
18856 * emacs-lisp/cl.el (pushnew): Silence warning.
18857
18858 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18859 (cl-byte-compile-throw): Remove.
18860 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18861
18862 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18863 closures.
18864
18865 * emacs-lisp/cconv.el: New file.
18866
18867 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18868 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18869 (byte-compile-initial-macro-environment):
18870 Handle declare-function here.
18871 (byte-compile--lexical-environment): New var.
18872 (byte-stack-ref, byte-stack-set, byte-discardN)
18873 (byte-discardN-preserve-tos): New lap codes.
18874 (byte-interactive-p): Don't use any more.
18875 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18876 New macros.
18877 (byte-compile-lapcode): Use them and handle new lap codes.
18878 (byte-compile-obsolete): Remove.
18879 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18880 (byte-compile-arglist-warn): Check late def of inlinable funs.
18881 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18882 since they should have been expanded by now.
18883 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18884 (byte-compile-from-buffer): Remove unused second arg.
18885 (byte-compile-preprocess): New function.
18886 (byte-compile-toplevel-file-form): New function to distinguish
18887 file-form calls from outside from file-form calls from hunk-handlers.
18888 (byte-compile-file-form): Simplify.
18889 (byte-compile-file-form-defsubst): Remove.
18890 (byte-compile-file-form-defmumble): Simplify now that
18891 byte-compile-lambda always returns a byte-code-function.
18892 (byte-compile): Preprocess.
18893 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18894 Remove, not used any more.
18895 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18896 (byte-compile-make-args-desc): New funs.
18897 (byte-compile-lambda): Handle lexical functions. Always return
18898 a byte-code-function.
18899 (byte-compile-reserved-constants): New var, to make up room for
18900 closed-over variables.
18901 (byte-compile-constants-vector): Obey it.
18902 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18903 (byte-compile-macroexpand-declare-function): New function.
18904 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18905 byte-code-functions.
18906 (byte-compile-form): Check obsolescence here.
18907 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18908 (byte-compile-variable-ref): Remove.
18909 (byte-compile-dynamic-variable-op): New fun.
18910 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18911 (byte-compile-variable-set): New funs.
18912 (byte-compile-discard): Add 2 args.
18913 (byte-compile-stack-ref, byte-compile-stack-set)
18914 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18915 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18916 macroexpand-all instead.
18917 (byte-compile-quote-form): Remove.
18918 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18919 (byte-compile-bind, byte-compile-unbind): New funs.
18920 (byte-compile-let): Handle let* and lexical binding.
18921 (byte-compile-let*): Remove.
18922 (byte-compile-catch, byte-compile-unwind-protect)
18923 (byte-compile-track-mouse, byte-compile-condition-case):
18924 Handle a new :fun-body form, used for lexical scoping.
18925 (byte-compile-save-window-excursion)
18926 (byte-compile-with-output-to-temp-buffer): Remove.
18927 (byte-compile-defun): Simplify.
18928 (byte-compile-stack-adjustment): New fun.
18929 (byte-compile-out): Use it.
18930 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18931
18932 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18933 handler any more.
18934
18935 * emacs-lisp/byte-opt.el: Use lexical binding.
18936 (byte-inline-lapcode): Remove (to bytecomp).
18937 (byte-compile-inline-expand): Pay attention to inlining to/from
18938 lexically bound code.
18939 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18940 any more.
18941 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18942 any more and don't call compiler-macros.
18943 (byte-compile-splice-in-already-compiled-code): Remove.
18944 (byte-code): Don't inline any more.
18945 (disassemble-offset): Receive `bytes' as argument rather than via
18946 dynamic scoping.
18947 (byte-compile-tag-number): Declare before first use.
18948 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18949 `return' even if make-spliceable.
18950 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18951 obsolete interactive-p.
18952 (byte-optimize-lapcode): Optimize new lap-codes.
18953 Don't trip up on new form of `byte-constant' lap code.
18954
18955 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18956
18957 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18958
18959 * custom.el (custom-initialize-default, custom-declare-variable):
18960 Use `defvar'.
18961
18962 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18963 New variables.
18964 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18965 (COMPILE_FIRST): Add macroexp and cconv.
18966 * makefile.w32-in: Mirror changes in Makefile.in.
18967
18968 * vc/cvs-status.el:
18969 * vc/diff-mode.el:
18970 * vc/log-edit.el:
18971 * vc/log-view.el:
18972 * vc/smerge-mode.el:
18973 * textmodes/bibtex-style.el:
090bd7cb 18974 * textmodes/css-mode.el:
03408648
SM
18975 * startup.el:
18976 * uniquify.el:
da91b5f2
CY
18977 * minibuffer.el:
18978 * newcomment.el:
18979 * reveal.el:
18980 * server.el:
18981 * mpc.el:
18982 * emacs-lisp/smie.el:
18983 * doc-view.el:
18984 * dired.el:
03408648
SM
18985 * abbrev.el: Use lexical binding.
18986
0f0c1f27
EZ
189872011-04-01 Eli Zaretskii <eliz@gnu.org>
18988
18989 * info.el (info-display-manual): New function.
18990
c82b2579
SM
189912011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18992
18993 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18994
221ddf68
TH
189952011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18996
18997 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 18998 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 18999
cba6e77e
GM
190002011-03-31 Glenn Morris <rgm@gnu.org>
19001
e040639f
GM
19002 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19003
cba6e77e
GM
19004 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19005
6d0f1c9e
CS
190062011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19007
19008 * progmodes/python.el (python-default-interpreter)
19009 (python-python-command-args, python-jython-command-args)
19010 (python-which-shell, python-which-args, python-which-bufname)
19011 (python-file-queue, python-comint-output-filter-function)
19012 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19013 variables and functions.
19014
3e2d70fd
SM
190152011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19016
19017 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19018 (completion-in-region-mode): New minor mode.
19019 (completion-in-region): Use it.
19020 (completion-in-region--data, completion-in-region-mode-map): New vars.
19021 (completion-in-region--postch): New function.
19022 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19023 New vars.
19024 (completion--capf-wrapper): New function.
19025 (completion-at-point): Use it to track well-behavedness of
19026 hook functions.
19027 (completion-help-at-point): New command.
19028
f3e4086c
JM
190292011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19030
19031 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19032 syntax class to search for whitespace on a single line
19033 (Message-ID: <4D938140.4030905@redhat.com>).
19034
eb7ffc14
LL
190352011-03-30 Leo Liu <sdl.web@gmail.com>
19036
19037 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19038 New commands.
19039 (edit-abbrevs-map): Bind them here.
19040 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19041
d806ab68
KM
190422011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19043
19044 * allout.el (allout-hide-by-annotation, allout-flag-region):
19045 Reduce possibility of overlay leakage by making them volatile.
19046
19047 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19048 hash is not shared between buffers. Mode initialization is
19049 responsible for giving it a useful starting value.
19050 (allout-item-span): Reduce possibility of overlay leakage by
19051 making them volatile.
19052 (allout-widgets-count-buttons-in-region): Add diagnostic function
19053 for tracking down button overlay leaks.
19054
ea622834
LL
190552011-03-29 Leo Liu <sdl.web@gmail.com>
19056
19057 * ido.el (ido-read-internal): Use the default history var
19058 minibuffer-history if no HISTORY is specified.
19059
b62f8267
G
190602011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19061
03408648
SM
19062 * net/imap.el (imap-shell-open, imap-process-connection-type):
19063 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19064 Kerberos, SSL, other subprocesses.
19065
947b6566
LL
190662011-03-28 Leo Liu <sdl.web@gmail.com>
19067
19068 * abbrev.el (abbrev-table-empty-p): New function.
19069 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19070 nonempty ones. (Bug#5937)
19071
5ffb62aa
JD
190722011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19073
19074 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19075
7a097943
LL
190762011-03-27 Leo Liu <sdl.web@gmail.com>
19077
19078 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19079 for foreground and background colors.
19080 (ansi-color-make-color-map): Adapt.
19081
c5b40130
LL
190822011-03-25 Leo Liu <sdl.web@gmail.com>
19083
1f48f7d2
LL
19084 * midnight.el (midnight-time-float): Remove. Note it calculates
19085 the microsecond component incorrectly and seconds-to-time does the
19086 same job.
625897ec 19087 Remove redundant (require 'timer).
1f48f7d2 19088
c5b40130
LL
19089 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19090 (ido-completions): Remove unused arguments. (Bug#8329)
19091
d86d2721
SM
190922011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19093
19094 * minibuffer.el (completion--flush-all-sorted-completions):
19095 Remove itself from hook.
19096 (completion-at-point): Let the functions perform the completion
19097 immediately and return nil or t.
19098 * comint.el (comint-dynamic-complete-functions): Now identical to
19099 completion-at-point-functions.
19100 (comint-dynamic-list-input-ring): Remove unused var `index'.
19101 (comint--match-partial-filename, comint--unquote&expand-filename):
19102 New funs, split from comint-match-partial-filename.
19103 (comint-dynamic-complete): Use completion-at-point.
19104 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19105
e8974c48
DA
191062011-03-24 Drew Adams <drew.adams@oracle.com>
19107
19108 * thingatpt.el: Support `defun'.
19109
def71b5e
LL
191102011-03-23 Leo Liu <sdl.web@gmail.com>
19111
cb5af48e
LL
19112 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19113
def71b5e
LL
19114 * help-mode.el (help-mode-finish): Tweak regexp.
19115
927c53e7
GM
191162011-03-23 Glenn Morris <rgm@gnu.org>
19117
18d05bed
GM
19118 * eshell/esh-opt.el (eshell-eval-using-options):
19119 Do not bind unused local variable `eshell-option-stub'.
19120
927c53e7
GM
19121 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19122
9d0da923
JB
191232011-03-22 Juanma Barranquero <lekktu@gmail.com>
19124
19125 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19126 keymap variable in `with-no-warnings' to avoid a warning when the
19127 keymap has been already `defconst'ed.
19128
4b978a67
LL
191292011-03-22 Leo Liu <sdl.web@gmail.com>
19130
19131 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19132 encode all chars in abbrevs; otherwise use emacs-mule or
19133 utf-8-emacs. (Bug#8308)
19134
5fd62452
JB
191352011-03-22 Juanma Barranquero <lekktu@gmail.com>
19136
0b1596c6
JB
19137 * simple.el (backward-delete-char-untabify):
19138 Avoid warning about using `delete-backward-char'.
19139
5fd62452
JB
19140 * image.el (image-type-file-name-regexps): Make it variable.
19141 `imagemagick-register-types' modifies it, and the user may want
19142 to add new extensions for known image types.
19143 (imagemagick-register-types): Throw error if not using ImageMagick.
19144
0b4e93f1
LL
191452011-03-22 Leo Liu <sdl.web@gmail.com>
19146
19147 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19148 located before rcirc-prompt-end-marker.
19149 (rcirc-complete): Error if point is not after rcirc prompt.
19150 Handle the case when table is nil.
9882e214 19151 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19152
fccee4ab
CY
191532011-03-22 Chong Yidong <cyd@stupidchicken.com>
19154
19155 * custom.el (custom--inhibit-theme-enable): Make it affect only
19156 custom-theme-set-variables and custom-theme-set-faces.
19157 (provide-theme): Ignore custom--inhibit-theme-enable.
19158 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19159 (custom-enabling-themes): Delete variable.
d86d2721
SM
19160 (enable-theme): Accept only loaded themes as arguments.
19161 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
19162 (custom-enabled-themes): Forbid themes from setting this.
19163 Eliminate use of custom-enabling-themes.
19164 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 19165
af896da6
LL
191662011-03-21 Leo Liu <sdl.web@gmail.com>
19167
19168 * ido.el (ido-read-internal): Add ido-selected to history instead
19169 of user input.
19170
78f64af0
SM
191712011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19172
19173 * subr.el (deferred-action-list, deferred-action-function):
19174 Mark obsolete.
19175
b16ac1ec
LL
191762011-03-21 Leo Liu <sdl.web@gmail.com>
19177
810f7698
LL
19178 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19179 change on 2011-02-13 (bug#8309).
19180
b16ac1ec
LL
19181 * minibuffer.el (read-file-name-function): Change default value.
19182 (read-file-name--defaults): Rename from read-file-name-defaults.
19183 (read-file-name-default): Rename from read-file-name.
19184 (read-file-name): Call read-file-name-function.
19185
4e05e67e
GM
191862011-03-21 Glenn Morris <rgm@gnu.org>
19187
19188 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19189 Doc fixes.
19190
4359915b
CY
191912011-03-21 Chong Yidong <cyd@stupidchicken.com>
19192
19193 * cus-theme.el: Add missing provide statement.
19194 (customize-create-theme): Extract theme value correctly.
19195 (custom-theme-visit-theme): Autoload.
19196 (customize-create-theme): Prompt before inserting default faces.
19197
1fe275ee
JB
191982011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19199
19200 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19201 units and musical notes.
19202
cd394be1 192032011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
19204
19205 * ido.el (ido-read-internal): Use completing-read-default.
19206 (ido-completing-read): Fix compatibility with completing-read.
19207
7d476bde
CO
192082011-03-20 Christian Ohler <ohler@gnu.org>
19209
19210 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19211 (ert-delete-all-tests): Use `called-interactively-p' rather than
19212 `interactive-p'.
19213 (ert--make-xrefs-region): Respect END.
19214
fe0fb33e
CY
192152011-03-19 Chong Yidong <cyd@stupidchicken.com>
19216
ff854b0b
CY
19217 * dired-aux.el (dired-create-directory): Signal an error if the
19218 directory already exists (Bug#8246).
19219
fe0fb33e
CY
19220 * facemenu.el (list-colors-display): Call list-faces-display
19221 inside with-help-window.
19222 (list-colors-print): Use display property to align the final
19223 column, instead of checking window-width.
19224
576bce32
EZ
192252011-03-19 Eli Zaretskii <eliz@gnu.org>
19226
4d61f28d 19227 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
19228 windows-nt systems.
19229 (emerge-protect-metachars): Quote correctly for ms-dos and
19230 windows-nt systems.
19231
89c41d68 192322011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
19233
19234 * info.el (info-initialize): Replace all uses of `:' with
19235 path-separator for compatibility with non-Unix systems.
19236 Cache quoting of path-separator. (Bug#8258)
19237
b14e3e21 192382011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
19239
19240 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19241 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19242 (mouse-avoidance-mode): Fix typos in docstrings.
19243
4525ce3e
CY
192442011-03-19 Chong Yidong <cyd@stupidchicken.com>
19245
19246 * startup.el (package-subdirectory-regexp): Move from package.el.
19247 Omit \\` and \\', and let callers add them.
19248
19249 * emacs-lisp/package.el (package-strip-version)
19250 (package-load-all-descriptors): Add \\` and \\' to
19251 package-subdirectory-regexp before using it.
19252 (package-untar-buffer): New arg DIR; ensure that file untars only
19253 into this expected directory. Remove superfluous delete-region.
19254 (package-unpack): Caller changed.
19255 (package-tar-file-info): Use package-subdirectory-regexp.
19256
a904a09a 192572011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 19258
a904a09a
SM
19259 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19260 diff-mode-shared-map (bug#8284).
19261 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
19262
192632011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19264
19265 * calendar/time-date.el (format-seconds): Use assoc instead of
19266 assoc-string, since assoc-string doesn't exist in XEmacs.
19267
171fc304
JB
192682011-03-17 Juanma Barranquero <lekktu@gmail.com>
19269
19270 * custom.el (custom-known-themes): Reflow docstring.
19271 (custom-theme-load-path): Fix typo in docstring.
19272 (load-theme): Fix typo in error message.
19273 (custom-available-themes, custom-variable-theme-value):
19274 Use `let', not `let*'.
19275
d71990a1
JB
192762011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19277
19278 * calc/README: Mention inclusion of musical notes.
19279
19280 * calc/calc-units.el (calc-lu-quant): Rename from
19281 `calc-logunits-quantity'.
19282 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19283 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19284 (calc-db): Rename from `calc-dblevel'.
19285 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19286 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19287 (calc-np): Rename from `calc-nplevel'.
19288 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19289 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19290 (calc-lu-plus): Rename from `calc-logunits-add'.
19291 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19292 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19293 (calc-lu-minus): Rename from `calc-logunits-sub'.
19294 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19295 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19296 (calc-lu-times): Rename from `calc-logunits-mul'.
19297 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19298 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19299 (calc-lu-divide): Rename from `calc-logunits-div'.
19300 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19301 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19302
19303 * calc/calc-ext.el (calc-init-extensions): Update the names of the
19304 functions being autoloaded.
19305
19306 * calc/calc.el (calc-lu-power-reference): Rename from
19307 `calc-logunits-power-reference'.
19308 (calc-lu-field-reference): Rename from
19309 `calc-logunits-field-reference'.
19310
7a71b18d
GM
19311 * calc/calc-help.el (calc-l-prefix-help):
19312 Mention musical note functions.
d71990a1 19313
40c2934b
SM
193142011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
19315
19316 * minibuffer.el (completion-all-sorted-completions):
19317 Use :completion-cycle-penalty text property if present.
19318
b0911414
KM
193192011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
19320
19321 * allout.el (allout-yank-processing): Adjust for new rebulleting
19322 regime so bullet being yanked is used without prompting the user
19323 for a choice.
19324
8a05b668
JB
193252011-03-16 Juanma Barranquero <lekktu@gmail.com>
19326
19327 * startup.el (command-line): Warn the user that _emacs is deprecated.
19328
5ba5fb81
JB
193292011-03-16 Juanma Barranquero <lekktu@gmail.com>
19330
19331 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19332 (delphi-verbose, delphi-comment-face, delphi-string-face)
19333 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19334 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19335 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19336 (delphi-new-comment-line, delphi-font-lock-defaults)
19337 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19338 Fix typos in docstrings.
19339
2dab465b
KM
193402011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
19341
5ba5fb81 19342 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
19343 Invert the roles of character and string values for INSTEAD, so a
19344 string is used for the more common case of a defaulting prompt.
19345
0adf5618
SM
193462011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19347
19348 * progmodes/ruby-mode.el (ruby-backward-sexp):
19349 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19350 * play/gamegrid.el (gamegrid-make-face):
19351 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19352 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19353 * notifications.el (notifications-notify):
19354 * net/xesam.el (xesam-search-engines):
19355 * net/quickurl.el (quickurl-list-insert):
19356 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19357
d72700e5
CY
193582011-03-15 Chong Yidong <cyd@stupidchicken.com>
19359
19360 * startup.el (command-line): Update package subdirectory regexp.
19361
49c5410a
SM
193622011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19363
c6eee9aa
SM
19364 * allout.el (allout-abbreviate-flattened-numbering)
19365 (allout-mode-deactivate-hook): Fix up obsolescence "date".
19366
49c5410a
SM
19367 * subr.el (read-char-choice): Only show the cursor after the prompt,
19368 not after the answer.
19369
047b2bb9
KR
193702011-03-15 Kevin Ryde <user42@zip.com.au>
19371
19372 * help-fns.el (variable-at-point): Skip leading quotes, if any
19373 (bug#8253).
19374
0a57d256
SM
193752011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
19376
19377 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19378 warning message.
19379
77c992bc
MA
193802011-03-14 Michael Albinus <michael.albinus@gmx.de>
19381
19382 * shell.el (shell): When called interactively, offer to change the
19383 shell file name on remote hosts.
19384
eebc475d
TZ
193852011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
19386
19387 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19388 integration for LDAP parameters. The host, base, user or binddn,
19389 and secret tokens can be specified in a netrc file, for instance.
19390 This is optional because an `auth-source' parameter must be
19391 specified in the search attributes.
19392
9d05d1ba
JB
193932011-03-13 Juanma Barranquero <lekktu@gmail.com>
19394
19395 * help.el (describe-mode): Link to the mode's definition (bug#8185).
19396
09d9db2c
GM
193972011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19398
19399 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19400 into declaration. Remove redundant and harmful binding.
19401
194022011-03-12 Eli Zaretskii <eliz@gnu.org>
19403
19404 * files.el (file-ownership-preserved-p): Pass `integer' as an
19405 explicit 2nd argument to `file-attributes'. If the file's owner
19406 is the Administrators group on Windows, and the current user is
19407 Administrator, consider that a match.
19408
19409 * server.el (server-ensure-safe-dir): Consider server directory
19410 safe on MS-Windows if its owner is the Administrators group while
19411 the current Emacs user is Administrator. Use `=' to compare
19412 numerical UIDs, since they could be integers or floats.
19413
219bd536
JB
194142011-03-12 Juanma Barranquero <lekktu@gmail.com>
19415
19416 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19417
f3afd36b
MA
194182011-03-12 Michael Albinus <michael.albinus@gmx.de>
19419
19420 Sync with Tramp 2.2.1.
19421
19422 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19423
19424 * net/trampver.el: Update release number.
19425
3aaaa6f1
SM
194262011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
19427
94642599
SM
19428 * progmodes/compile.el (compilation--previous-directory): Fix up
19429 various nil/dead-marker mismatches (bug#8014).
19430 (compilation-directory-properties, compilation-error-properties):
19431 Don't call it at a position past the one we're about to change.
19432
3aaaa6f1
SM
19433 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19434 Disable obsolescence warnings in the file that declares it.
19435
14239447
KM
194362011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
19437
099c39a4
JB
19438 * allout-widgets.el (allout-widgets-tally):
19439 Initialize allout-widgets-tally as a hash table rather than nil to
19440 prevent mode-line redisplay warnings. Also, clarify the module
19441 description and fix a comment typo.
14239447 19442
135e287c
JB
194432011-03-11 Juanma Barranquero <lekktu@gmail.com>
19444
19445 * help-fns.el (describe-variable): Don't complete keywords.
19446 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19447
ffbf300e
CY
194482011-03-10 Chong Yidong <cyd@stupidchicken.com>
19449
ba08b241
CY
19450 * emacs-lisp/package.el (package-version-join): Impose a standard
19451 string representation for pre/alpha/beta version lists.
19452 (package-unpack-single): Standardize the directory name by passing
19453 it through package-version-join.
19454 (package-strip-rcs-id): Accept any version string that does not
19455 signal an error in version-to-list.
ffbf300e 19456
f346fd6b
MA
194572011-03-10 Michael Albinus <michael.albinus@gmx.de>
19458
19459 * simple.el (delete-trailing-whitespace): Return nil for the
19460 benefit of `write-file-functions'.
19461
ccb55d27
GM
194622011-03-10 Glenn Morris <rgm@gnu.org>
19463
5ceaac0c
GM
19464 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19465
02da65ff
GM
19466 * vc/vc-git.el (vc-git-program): New option.
19467 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19468 (vc-git--call): Use it.
19469
b2f603cc
GM
19470 * eshell/esh-util.el (eshell-condition-case): Doc fix.
19471
5772caab
GM
19472 * cus-edit.el (Custom-newline): If no button at point, look
19473 for a subgroup button at start-of-line. (Bug#2298)
19474
ccb55d27
GM
19475 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19476
ec6ecaed
JD
194772011-03-10 Julien Danjou <julien@danjou.info>
19478
19479 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19480 `cursor-type' is nil.
19481
9d5aa01d
JB
194822011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
19483
19484 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19485
b6a5875b
KM
194862011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
19487
7a71b18d 19488 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
19489 preserves the existing header prefix, rebulleting it if necessary,
19490 rather than replacing it. This is necessary for proper operation
19491 of cooperative addons like allout-widgets.
1154d12e
JB
19492 (allout-make-topic-prefix, allout-rebullet-heading):
19493 Change SOLICIT arg to INSTEAD, and interpret additionally a string
19494 value as alternate bullet to be used, instead of prompting the user
19495 for a bullet character.
b6a5875b 19496
ee545c35
MA
194972011-03-09 Michael Albinus <michael.albinus@gmx.de>
19498
d86d2721
SM
19499 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19500 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
19501 `tramp-default-port'.
19502
c47971d7
DD
195032011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
19504
19505 * net/rcirc.el (rcirc-handler-001): Remove useless
19506 with-rcirc-process-buffer.
19507 (rcirc-check-auth-status): Swap arguments to string-match.
19508
13522cb4
GM
195092011-03-09 Glenn Morris <rgm@gnu.org>
19510
0be6f4f1
GM
19511 * shell.el (shell-mode):
19512 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
19513
13522cb4
GM
19514 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19515 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
19516
515de2e3
CY
195172011-03-08 Chong Yidong <cyd@stupidchicken.com>
19518
19519 * emacs-lisp/package.el (package-refresh-contents)
19520 (package-menu-execute): Use condition-case-no-debug.
19521
b511b994
MA
195222011-03-08 Michael Albinus <michael.albinus@gmx.de>
19523
19524 * simple.el (shell-command-to-string): Use `process-file'.
19525
19526 * emacs-lisp/package.el (package-tar-file-info): Handle also
19527 remote files.
19528
d86d2721
SM
19529 * emacs-lisp/package-x.el (package-upload-buffer-internal):
19530 Use `equal' for upload base check.
b511b994 19531
25bbfb31
AM
195322011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
19533
19534 * textmodes/texinfo.el (texinfo-environments):
19535 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
19536
be996521
GM
195372011-03-08 Glenn Morris <rgm@gnu.org>
19538
e9c8529f
GM
19539 * cus-start.el (cursor-in-non-selected-windows):
19540 Fix :set quoting oddness. (Bug#8192)
19541
be996521
GM
19542 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19543 in some setf expressions. (Bug#2159)
19544
2bb5649e
CY
195452011-03-08 Chong Yidong <cyd@stupidchicken.com>
19546
19547 * custom.el (custom-available-themes): Return themes in
19548 alphabetical order.
19549
33383987 19550See ChangeLog.15 for earlier changes.
e3d51b27
MR
19551
19552;; Local Variables:
19553;; coding: utf-8
e3d51b27
MR
19554;; End:
19555
acaf905b 19556 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
19557
19558 This file is part of GNU Emacs.
19559
19560 GNU Emacs is free software: you can redistribute it and/or modify
19561 it under the terms of the GNU General Public License as published by
19562 the Free Software Foundation, either version 3 of the License, or
19563 (at your option) any later version.
19564
19565 GNU Emacs is distributed in the hope that it will be useful,
19566 but WITHOUT ANY WARRANTY; without even the implied warranty of
19567 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19568 GNU General Public License for more details.
19569
19570 You should have received a copy of the GNU General Public License
19571 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.