merge trunk
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
8111f5e6
EZ
12012-10-14 Eli Zaretskii <eliz@gnu.org>
2
3 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4 Adjust the msft regexp to the output of Studio 2010, and move msft
5 before edg-1. See the discussion on emacs-devel,
6 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7 for the details.
8
5046ef67
SM
92012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
10
9760c73c
SM
11 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
12 (oset): Move uses of object-class-fast macro after its definition.
13
5046ef67
SM
14 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
15
0d11ff1c
CY
162012-10-13 Chong Yidong <cyd@gnu.org>
17
18 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
19 enabled, re-enable it (Bug#11963).
20
88ded8ac
MR
212012-10-13 Martin Rudalics <rudalics@gmx.at>
22
23 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
24 non-nil, restore window configuration (Bug#12623).
25
bd0ffffd
SM
262012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
27
06485aa8
SM
28 * help-fns.el (describe-variable, describe-function-1):
29 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
30
bd0ffffd
SM
31 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
32
3a989246
GM
332012-10-12 Glenn Morris <rgm@gnu.org>
34
35 * mail/rmailsum.el (rmail-header-summary):
36 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
37
55cd00c8
FEG
382012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
39
bd0ffffd
SM
40 * progmodes/python.el (python-mode-map):
41 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
42 (python-nav--up-list): Fix behavior for blocks on the same level.
43
ac9fc2c7
SM
442012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
45
d8cc4c00 46 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 47
5253a5fd
SM
48 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
49 changes to the format of load-history.
50
ac9fc2c7
SM
51 * international/mule-cmds.el (read-char-by-name): Move let-binding of
52 completion-ignore-case in case that var is buffer-local (bug#12615).
53
cde44a77
KH
542012-10-11 Kenichi Handa <handa@gnu.org>
55
56 * international/eucjp-ms.el: Re-generated.
57
4ef4a10d
KH
582012-10-10 Kenichi Handa <handa@gnu.org>
59
60 * select.el (xselect--encode-string): If a coding is specified for
61 selection, and that is compatible with COMPOUND_TEXT, use it.
62
9d7f027b
MR
632012-10-10 Martin Rudalics <rudalics@gmx.at>
64
65 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
66 (switch-to-buffer):
67 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 68
238f3a58
SM
692012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
72 Don't document nil as a useful value (bug#12583).
73
1d51f99c
MA
742012-10-09 Michael Albinus <michael.albinus@gmx.de>
75
238f3a58
SM
76 * net/tramp.el (tramp-debug-message):
77 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
78 (with-tramp-progress-reporter): Rename from
79 `tramp-with-progress-reporter'.
238f3a58
SM
80 (with-tramp-file-property, with-tramp-connection-property):
81 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
82 `with-connection-property', respectively.
83
84 * net/tramp-cache.el: Remove `with-file-property' and
85 `with-connection-property'.
86
87 * net/tramp.el:
88 * net/tramp-gvfs.el:
89 * net/tramp-sh.el:
90 * net/tramp-smb.el: Adapt callees.
91
92 * net/trampver.el: Update release number.
93
26b77251
GM
942012-10-09 Glenn Morris <rgm@gnu.org>
95
9a5f296f
GM
96 * w32-fns.el (set-message-beep):
97 * term/w32-win.el (set-message-beep): Update declarations.
98
94c66ce5
SM
992012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
100
10766e9e
SM
101 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
102 (mode-line-widen, mode-line-input-method-map)
103 (mode-line-coding-system-map, mode-line-remote)
104 (mode-line-unbury-buffer, mode-line-bury-buffer)
105 (mode-line-next-buffer, mode-line-previous-buffer):
106 Replace save-selected-window+select-window => with-selected-window.
107
f754db08
SM
108 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
109 * progmodes/cc-vars.el (bq-process): Remove, unused.
110
94c66ce5
SM
111 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
112
a4ff7fe1
FEG
1132012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
114
115 Implemented `backward-up-list'-like navigation.
116 * progmodes/python.el (python-nav-up-list)
117 (python-nav-backward-up-list): New functions.
118 (python-mode-map): Define substitute key for backward-up-list to
119 python-nav-backward-up-list.
120
24517d82
FEG
1212012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
122
123 * progmodes/python.el (python-fill-paragraph): Rename from
124 python-fill-paragraph-function. Fixed fill-paragraph for
125 decorators (Bug#12605).
126
51867ae2
FEG
1272012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
128
129 * progmodes/python.el (python-shell-output-filter): Handle extra
130 carriage return in OSX (Bug#12409).
131
a5b773c4
FEG
1322012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
133
134 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 135 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
136 (python-syntax-propertize-function): Use it.
137 (python-shell-output-syntax-table): New var.
138 (inferior-python-mode): Prevent unbalanced parens/quotes from
139 previous output mess with current input context.
140
13373538
JB
1412012-10-08 Juanma Barranquero <lekktu@gmail.com>
142
143 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
144 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
145
775a132d
MA
1462012-10-08 Michael Albinus <michael.albinus@gmx.de>
147
148 * ffap.el (ffap-replace-file-component): Support Tramp file name
149 syntax, not only ange-ftp's one.
150
3ab44929
GM
1512012-10-08 Glenn Morris <rgm@gnu.org>
152
57f1dee4
GM
153 * cus-start.el (message-log-max): Set :version.
154
3ab44929
GM
155 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
156
6a088630
MR
1572012-10-08 Martin Rudalics <rudalics@gmx.at>
158
159 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
160 the minibuffer window (Bug#10851).
161
8dbce54c
FEG
1622012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
163
164 Enhancements on forward-sexp movement.
165 * progmodes/python.el (python-nav-beginning-of-statement)
166 (python-nav-end-of-statement): Return point-marker.
167 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
168 (python-info-current-symbol)
169 (python-info-statement-starts-block-p): Rename from
170 python-info-beginning-of-block-p.
171 (python-info-statement-ends-block-p): Rename from
172 python-info-end-of-block-p.
173 (python-info-beginning-of-statement-p)
174 (python-info-end-of-statement-p)
175 (python-info-beginning-of-block-p, python-info-end-of-block-p):
176 New functions.
177
5acd2b3e
SM
1782012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
181 frame-selected-windows.
182
e08348a0
DC
1832012-10-08 Daniel Colascione <dancol@dancol.org>
184
185 * battery.el (battery-status-function): Check for
186 w32-battery-status itself, not system-time windows-nt.
187
188 * frame.el: Require cl-lib.
189 (display-format-alist): New variable mapping frame types to
190 functions that initialize them.
191 (window-system-for-display): New function: interprets
192 display-format-alist.
193 (make-frame-on-display): Remove existing display-selection logic
194 and just forward to make-frame, which will now DTRT.
195 (make-frame): Restructure to use window-system-for-display to
196 figure out how to create a frame on a given display.
197 (display-mouse-p): Look for frame-type w32, not a particular
198 system-type.
199
200 * loadup.el: Load w32 lisp code when we have the w32 feature.
201
202 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
203 system-type windows-nt.
204
205 * server.el (server-create-window-system-frame): Look for window
206 type.
207 (server-proces-filter): Only force a window system when windows-nt
208 _and_ w32. Explain why.
209
210 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
211 of window systems we configure for the mode.
212
213 * startup.el (command-line): Mark window system is initialized
214 after we've done it.
215
216 * common-win.el (x-select-text): Look for w32, not windows-nt.
217
218 * ns-win.el: Require cl-lib. Add ourselves to
219 display-format-alist.
220 (ns-initialize-window-system): Assert we're not initialized twice.
221
222 * w32-win.el: Enable lexical binding; require cl-lib; add
223 ourselves to display-format-alist.
224 (w32-handle-dropped-file): Convert incoming dropped files from
225 Windows paths to Cygwin ones before passing them on to the rest of
226 Emacs.
227 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
228 (w32-initialize-window-system): Assert we're not initialized twice.
229
230 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
231 (x-initialize-window-system): Assert we're not initialized twice.
232
233 * w32-common-fns.el: New File.
234 (w32-version, w32-using-nt, w32-get-clipboard-data)
235 (w32-set-clipboard-data, x-set-selection, x-get-selection)
236 (w32-charset-info-alist, x-last-selected, text)
237 (x-get-selection-value, x-selection-value): Move here.
238
239 * w32-fns.el: Require w32-common-fns.
240 (w32-version, w32-using-nt, w32-get-clipboard-data)
241 (w32-set-clipboard-data, x-set-selection, x-get-selection)
242 (w32-charset-info-alist, x-last-selected, text)
243 (x-get-selection-value, x-selection-value): Move to
244 w32-common-fns.
245
246 * w32-vars.el:
247 (w32-allow-system-shell, w32-system-shells): Define only in
248 non-cygwin case.
249
795b1482
SM
2502012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
251
252 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
253 (read-passwd): Remove a few more potential sources of leaks.
254
f27c99dc
FEG
2552012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
256
257 * progmodes/python.el (inferior-python-mode)
795b1482 258 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
259 variables copied from parent buffer.
260
fcacb558
JD
2612012-10-07 Jan Djärv <jan.h.d@swipnet.se>
262
263 * term/ns-win.el (ns-read-file-name): Update declaration to match
264 nsfns.m.
265 (ns-respond-to-change-font): Change fontsize separatly so we are sure
266 it is set when font is acted upon.
267
be0d5bae
FEG
2682012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
269
270 Enhancements to indentation.
271 * progmodes/python.el (python-indent-context): Give priority to
272 inside-string context. Make comments indentation markers.
273 (python-indent-region): Do not mess with strings, unless it's the
274 enclosing set of quotes.
275
13af0d10
SM
2762012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
277
662a9d0e
SM
278 * window.el (internal--before-save-selected-window)
279 (internal--after-save-selected-window): New functions extracted from
280 save-selected-window. Make sure we return the `alist' we construct.
281 (save-selected-window): Use them.
282
283 * textmodes/tex-mode.el (tex-recenter-output-buffer):
284 Use with-selected-window.
285
13af0d10
SM
286 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
287 forms that define macros (bug#12593).
288
6aa75fb6
KH
2892012-10-07 Kenichi Handa <handa@gnu.org>
290
13af0d10
SM
291 * international/mule-conf.el (compound-text-with-extensions):
292 Add :mime-charset property as x-ctext.
6aa75fb6 293
78d876b9
SM
2942012-10-07 Stefan Merten <smerten@oekonux.de>
295
296 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
297 (rst-indent-literal-normal, rst-indent-literal-minimized)
298 (rst-indent-comment): Correct :version tag.
557337e9 299 (rst-official-cvs-rev): Correct version string.
78d876b9 300
99a1e701
GM
3012012-10-07 Glenn Morris <rgm@gnu.org>
302
303 * mail/rmailmm.el (rmail-mime-process-multipart):
304 Do not confuse a multipart message with an epilogue
305 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
306
08f18c3d
FEG
3072012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
308
309 Fix shell output retrieval and comint-prompt-regexp init.
310 * progmodes/python.el (inferior-python-mode):
311 (python-shell-make-comint): Fix initialization of
312 comint-prompt-regexp from copied file local variables.
313 (python-shell-fetched-lines): Remove var.
314 (python-shell-output-filter-in-progress): Rename from
315 python-shell-fetch-lines-in-progress.
316 (python-shell-output-filter-buffer): Rename from
317 python-shell-fetch-lines-string.
318 (python-shell-fetch-lines-filter): Delete function.
319 (python-shell-output-filter): New function.
320 (python-shell-send-string-no-output): Use them.
321
82ed3ab4
GM
3222012-10-07 Glenn Morris <rgm@gnu.org>
323
1595ecfa
GM
324 * hi-lock.el (hi-lock-process-phrase):
325 Try to make it less fragile. (Bug#7161)
326
82ed3ab4
GM
327 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
328
f1f4dba0
GM
3292012-10-06 Glenn Morris <rgm@gnu.org>
330
addc11ed 331 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
332 non-existent mode `help'.
333 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 334
460042b8
GM
335 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
336 (reftex-create-bibtex-footer): Fix custom types.
337
67667c70
GM
338 * progmodes/sh-script.el (sh-indent-after-continuation):
339 Add explicit :group.
340
18dec750
GM
341 * textmodes/rst.el (rst-preferred-decorations)
342 (rst-shift-basic-offset): Clarify obsolescence versions.
343
d1a1c7e6
GM
344 * profiler.el (profiler): Add missing group :version tag.
345 * avoid.el (mouse-avoidance-banish-position):
346 * proced.el (proced-renice-command):
347 * calc/calc.el (calc-ensure-consistent-units):
348 * calendar/icalendar.el (icalendar-import-format-uid):
349 * net/tramp.el (tramp-save-ad-hoc-proxies):
350 * progmodes/bug-reference.el (bug-reference-bug-regexp):
351 * progmodes/flymake.el (flymake-error-bitmap)
352 (flymake-warning-bitmap, flymake-fringe-indicator-position):
353 * progmodes/sh-script.el (sh-indent-after-continuation):
354 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
355 (verilog-before-save-font-hook, verilog-after-save-font-hook):
356 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
357 (vhdl-array-index-record-field-in-sensitivity-list)
358 (vhdl-indent-comment-like-next-code-line):
359 * textmodes/reftex-vars.el (reftex-ref-style-alist)
360 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
361 (reftex-cite-key-separator, reftex-create-bibtex-header)
362 (reftex-create-bibtex-footer):
363 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
364 (rst-indent-literal-normal, rst-indent-literal-minimized)
365 (rst-indent-comment): Add missing custom :version tags.
366
ef35abb4
GM
367 * calendar/timeclock.el (timeclock-modeline-display):
368 Add missing obsolete alias for renamed user option.
369
d1aae614
GM
370 * strokes.el (strokes-modeline-string):
371 * emulation/crisp.el (crisp-mode-modeline-string):
372 * eshell/esh-mode.el (eshell-status-in-modeline):
373 Aliases to defcustoms must come before the defcustom.
374
f1f4dba0
GM
375 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
376 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
377 (cal-tex-cursor-week-monday): Doc fixes.
378 (cal-tex-cursor-week2-summary): Doc fix.
379 Rename from cal-tex-cursor-week-at-a-glance.
380
381 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
382 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
383
384 * calendar/calendar.el (calendar-mode-map):
385 Add cal-tex-cursor-week2-summary.
386
d39109c3
SM
3872012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
388
685f87b0
SM
389 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
390
d39109c3
SM
391 * subr.el (read-passwd-map): New var.
392 (read-passwd): Use `read-string' again.
393 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
394
5694896d
J
3952012-10-06 Jambunathan K <kjambunathan@gmail.com>
396
397 * register.el (append-to-register, prepend-to-register):
398 Deactivate mark, as does `copy-to-register' (bug#12389).
399
9414dd8d
CY
4002012-10-06 Chong Yidong <cyd@gnu.org>
401
402 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
403
2b89bca4
KH
4042012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
405
406 * international/characters.el: Fix simple mistake ((car chars) ->
407 elt), delete duplicated code.
408
d5acb99a
GM
4092012-10-06 Glenn Morris <rgm@gnu.org>
410
411 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
412
123ec157
JS
4132012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
414
415 * color.el (color-hsl-to-rgb): Fix incorrect results for
416 small and large hue values. (Bug#12559)
417
7fa36ccb
FEG
4182012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
419
420 Enhancements to docstring formatting when filling paragraphs.
421 * progmodes/python.el (python-fill-docstring-style): Rename from
422 python-fill-string-style. Added new style.
423 (python-fill-string): Use new style. Better checks for
424 docstrings.
425
d8788e1e
GM
4262012-10-05 Glenn Morris <rgm@gnu.org>
427
204f3953
GM
428 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
429
d8788e1e
GM
430 * color.el (color-name-to-rgb, color-rgb-to-hex)
431 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
432 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
433 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
434 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
435
8d956cef
GM
436 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
437
e8757f09 4382012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
439
440 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
441 to get the correct size across symlinks.
442
e8757f09
GM
443 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
444
0e2ae83d
JL
4452012-10-04 Juri Linkov <juri@jurta.org>
446
447 * replace.el (query-replace-interactive): Declare obsolete.
448 (query-replace-read-from): Add the last incremental search string
449 to the list of default values accessible via M-n.
450 (map-query-replace-regexp): Use `read-regexp'.
451 (query-replace, query-replace-regexp, query-replace-regexp-eval)
452 (map-query-replace-regexp, replace-string, replace-regexp):
453 Fix docstrings to replace mentions of `query-replace-interactive'
454 with alternatives. (Bug#12526)
455
93cacb6d
JL
4562012-10-04 Juri Linkov <juri@jurta.org>
457
458 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
459 (dired-pop-to-buffer): Declare obsolete.
460 (dired-mark-pop-up): Doc fix.
461
fc345011
FEG
4622012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
463
464 Allow user to set docstring style for fill-paragraph.
465 * progmodes/python.el
466 (python-fill-comment-function, python-fill-string-function)
467 (python-fill-decorator-function, python-fill-paren-function):
468 Remove :safe for defcustoms.
469 (python-fill-string-style): New defcustom
5694896d 470 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
471 (python-fill-string): Honor python-fill-string-style settings.
472
6bab5d8b
MR
4732012-10-04 Martin Rudalics <rudalics@gmx.at>
474
475 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
476 after setting its buffer (Bug#10805).
477
a1a9f411
FEG
4782012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
479
480 Fix cornercase for string syntax.
481 * progmodes/python.el (python-syntax-propertize-function):
482 Simplify and enhance the regexp for unescaped quotes. Now it also
483 matches quotes in weird situations like the single quote in
484 "something\"'".
485 (python-syntax-stringify): Simplify num-quotes detecting code.
486
05e153a6
GM
4872012-10-03 Glenn Morris <rgm@gnu.org>
488
489 * help-macro.el (three-step-help):
490 Revert 2012-09-29 change. (Bug#12567)
491
2e566ecb
MR
4922012-10-03 Martin Rudalics <rudalics@gmx.at>
493
96ef9ccd
MR
494 * menu-bar.el (kill-this-buffer): Don't do anything when
495 `menu-frame' is not alive or visible (Bug#8184).
496
2e566ecb
MR
497 * emacs-lisp/debug.el (debug): When quitting the debugger window
498 restore current buffer (Bug#12502).
499
a96e1cb7
CY
5002012-10-02 Chong Yidong <cyd@gnu.org>
501
5694896d
J
502 * progmodes/hideif.el (hif-lookup, hif-defined):
503 Handle semantic-c-takeover-hideif.
a96e1cb7 504
b3ecad33
PE
5052012-10-02 Paul Eggert <eggert@cs.ucla.edu>
506
507 Change sampling interval units from ms to ns.
508 * profiler.el (profiler-sampling-interval): Change units
509 from ms to ns, multiplying the default by 1000000 so that
510 it remains 1 ms.
511 (profiler-report-cpu-line-format): Give enough room for
512 the maximum counters on 64-bit hosts.
513 (profiler-report-render-calltree-1): Call them "CPU samples",
514 not "Time (ms)", since they are not milliseconds now (and
515 never really were).
516
8cb51b66 5172012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 518
5694896d
J
519 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
520 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 521
fd795bf4
CY
5222012-10-02 Chong Yidong <cyd@gnu.org>
523
524 * emacs-lisp/eieio.el: Restore Version header.
525
fe0a74f9
SM
5262012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
527
6be9197e
SM
528 * vc/diff-mode.el (diff--auto-refine-data): New var.
529 (diff-hunk): Use it to delay refinement.
530 (diff-mode): Remove overlays when we turn off font-lock.
531
18486139
SM
532 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
533 (table-initialize-table-fixed-width-mode)
534 (table-set-table-fixed-width-mode): Remove functions.
535 (table-command-list): Move initialization into declaration.
536 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
537 (table-with-cache-buffer): Use `declare'.
538 (table-span-cell): Simplify via CSE.
539 (table-fixed-width-mode): Use define-minor-mode.
540 (table-call-interactively, table-funcall, table-apply): Remove.
541 (table-function): New function, to replace them.
542
d83ef976
SM
543 * bookmark.el (bookmark-search-pattern): Remove var.
544 (bookmark-read-search-input): Remove function.
545 (bookmark-bmenu-search): Reimplement using a minibuffer.
546
cd386662
SM
547 * faces.el (modeline): Remove obsolete face name.
548
fe0a74f9
SM
549 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
550 and give a non-nil default value.
551 (add-change-log-entry): Simplify accordingly.
552
9f7b98f8
DG
5532012-10-01 Dmitry Gutov <dgutov@yandex.ru>
554
555 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
556 (vc-git-log-edit-toggle-amend): New function.
557 (vc-git-log-edit-toggle-signoff): New function.
558 (vc-git-log-edit-mode): New major mode.
559 (vc-git-log-edit-mode-map): Keymap for it.
560 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
561
562 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
563 header names.
564 (log-edit-toggle-header): New function.
565 (log-edit-extract-headers): Accept function values in HEADERS alist.
566
62a81506
CY
5672012-10-01 David Engster <deng@randomsample.de>
568
569 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
570 from symbol property and change message to be more consistent with
571 Emacs proper.
572 (eieio-describe-generic): Add filename for each implementation.
573 Fix indices for generic and normal methods.
574 (eieio-method-def, eieio-class-def): New buttons.
575 (eieio-help-find-method-definition)
576 (eieio-help-find-class-definition): New functions.
577 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
578 class, constructor and method definitions.
579
580 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
581 information in symbol property.
582 (scoped-class): Remove.
583 (eieio-slot-name-index, call-next-method): Check if it is bound.
584
5852012-10-01 Leo P. White <lpw25@cam.ac.uk>
586
587 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
588 (eieio-custom-mode): New major mode.
589 (eieio-customize-object): Use it.
590
5912012-10-01 Eric Ludlam <zappo@gnu.org>
592
593 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
594 specifying the expected class, and whether subclassing is allowed.
595 (eieio-persistent-convert-list-to-object):
596 (eieio-persistent-validate/fix-slot-value)
597 (eieio-persistent-slot-type-is-class-p): New functions.
598 (eieio-named::slot-missing): Doc fix.
599
600 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
601 Stop using unused publd variable.
602
603 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
604 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
605 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
606 (eieio-speedbar-handle-click): Do not specify a class for the
607 method. Fixes method invocation order problems with EDE.
608
375e49d4
SM
6092012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
612 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
613
16ce6ccd
KF
6142012-10-01 Karl Fogel <kfogel@red-bean.com>
615
616 * bookmark.el (bookmark-version-control): Give tags in the
617 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
618 (bookmark-write-file): Bind `print-circle' to `t' to allow
619 circular custom bookmark types. (Bug#12503)
16ce6ccd 620
19e54a4d
PE
6212012-10-01 Paul Eggert <eggert@cs.ucla.edu>
622
86ec63ba
PE
623 Revert the FOLLOW-SYMLINKS change for file-attributes.
624 * files.el (remote-file-name-inhibit-cache, after-find-file):
625 * time.el (display-time-file-nonempty-p): Undo last change.
626
19e54a4d
PE
627 * profiler.el (profiler-sampling-interval): Change default back to 1.
628 See Stefan Monnier in
629 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
630
0478776b
FEG
6312012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
632
633 Shell output catching a la gud-gdb.
634 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
635 (python-shell-fetch-lines-string, python-shell-fetched-lines):
636 New Vars.
0478776b
FEG
637 (python-shell-fetch-lines-filter): New function.
638 (python-shell-send-string-no-output): Use them.
639
c22bac2c
TM
6402012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
641
642 * profiler.el (profiler-sampling-interval): Rename from
643 profiler-sample-interval.
644 (profiler-sampling-interval): Default to 10.
645 (profiler-find-profile): New command (was profiler-find-log).
646 (profiler-find-profile-other-window): New command.
647 (profiler-find-profile-other-frame): New command.
648 (profiler-profile): Introduce API-level data structure.
649
e7a2937b
PE
6502012-09-30 Paul Eggert <eggert@cs.ucla.edu>
651
652 file-attributes has a new optional arg FOLLOW-SYMLINKS.
653 * files.el (remote-file-name-inhibit-cache):
654 * time.el (display-time-file-nonempty-p): Use it.
655 * files.el (after-find-file): Don't chase links before calling
656 file-exists-p, as file-exists-p already does the right thing.
657
4f595e15
RA
6582012-09-30 Ralf Angeli <angeli@caeruleus.net>
659
660 Merge from standalone RefTeX repository.
661
662 The following ChangeLog entries are shortened versions of the
663 original ones with file paths adapted. A not so strongly edited
664 version of the original ChangeLog can be found in the commit log.
665
666 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
667 (reftex-arg-cite): Use `reftex-cite-key-separator'.
668 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
669
670 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
671 that entries with whitespace at various places are found.
672 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
673 Include @String definitions in the resulting bib file. Add header
674 and footer defined in `reftex-create-bibtex-header' and
675 `reftex-create-bibtex-footer'.
676 (reftex-do-citation): Make it possible again to insert
677 non-existent entries. Save match data when asking for optional
678 arguments. Return all keys, not just the first one.
679 (reftex-all-used-citation-keys): Fix regexp to correctly extract
680 all citations in the same line.
681 (reftex-parse-bibtex-entry): Accept additional optional argument
682 `raw' and keep quotes or braces if it is non-nil. Match fields
683 containing hyphens besides word constituents.
684 (reftex-get-string-refs): New function.
685 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
686 and ask if it should be reread in case it did.
687 (reftex-pop-to-bibtex-entry)
688 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
689 entries with spaces or tabs in front of arguments.
690 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
691 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
692 Match entries containing numbers and symbol constituents.
693 (reftex-do-citation, reftex-figure-out-cite-format):
694 Use `reftex-cite-key-separator'.
4f595e15
RA
695
696 * textmodes/reftex-dcr.el: Move provide statement to end of file.
697 (reftex-mouse-view-crossref): Explain why point is set.
698
699 * textmodes/reftex-global.el: Whitespace changes.
700
701 * textmodes/reftex-index.el: Move provide statement to end of
702 file.
703 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
704 (reftex-index-visit-phrases-buffer): Set marker when visiting
705 buffer. This allows for returning from the phrases file to the
706 file one was just editing instead of the file where the last
707 phrases was added from.
708 (reftex-index-phrases-syntax-table): New variable. Give ?\"
709 punctuation syntax as it usually is not used as string quote in
710 TeX-related modes and may occur unmatched. The change also
711 prevents fontification of quoted content.
712 (reftex-index-phrases-mode): Use it.
713
375e49d4
SM
714 * textmodes/reftex-parse.el (reftex-parse-from-file):
715 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
716 (reftex-parse-from-file): Use beginning of match instead of end as
717 bound.
718
719 * textmodes/reftex-ref.el: Adapt creation of
720 `reftex-<package>-<macro>' functions to new structure of
721 `reftex-ref-style-alist'.
375e49d4
SM
722 (reftex-reference): Use `reftex-ref-style-list' function.
723 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
724 reference macro if `reftex-ref-macro-prompt' is non-nil.
725 (reftex-reference): Pass refstyle to `reftex-format-special'.
726 Determine reference macro by looking at
375e49d4
SM
727 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
728 Use only one special format function.
4f595e15
RA
729 (reftex-varioref-vref, reftex-fancyref-fref)
730 (reftex-fancyref-Fref): Remove definitions. The functions are now
731 generated from `reftex-ref-style-alist'.
732 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
733 Remove.
734 (reftex-format-special): New function.
735
736 * textmodes/reftex-sel.el
737 (reftex-select-cycle-ref-style-internal): Adapt to new structure
738 of `reftex-ref-style-alist'. Remove code for testing macro type.
739 (reftex-select-toggle-varioref)
740 (reftex-select-toggle-fancyref): Remove.
741 (reftex-select-cycle-ref-style-internal)
742 (reftex-select-cycle-ref-style-forward)
743 (reftex-select-cycle-ref-style-backward): New functions.
744 (reftex-select-label-map): Use `v' and `V' for general cycling
745 through reference styles. Add `p' for switching between number
746 and page reference types.
747
375e49d4
SM
748 * textmodes/reftex-toc.el (reftex-re-enlarge):
749 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
750 the horizontal version throws an error even if the parameter is 0.
751
752 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
753 (reftex-plug-into-AUCTeX): Doc fix.
754 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
755 string. Adapt to new name.
756 (reftex-ref-style-alist): Change structure so that it is not
757 possible to use multiple different package names within a style.
375e49d4
SM
758 Remove the symbols for symbols for macro type distinction.
759 Add characters for macro selection.
4f595e15
RA
760 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
761 (reftex-create-bibtex-footer): New variables.
762 (reftex-format-ref-function): Mention third argument of special
763 format function.
375e49d4
SM
764 (reftex-ref-style-alist, reftex-ref-style-default-list):
765 New variables.
4f595e15
RA
766 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
767 to new implementation. Mark as obsolete. Add compatibility code
768 for honoring the variable values in case they are set.
375e49d4
SM
769 (reftex-cite-format-builtin, reftex-bibliography-commands):
770 Add support for ConTeXt.
771 (reftex-format-ref-function, reftex-format-cite-function):
772 Fix custom type.
4f595e15
RA
773 (reftex-cite-key-separator): New variable.
774
775 * textmodes/reftex.el (reftex-syntax-table-for-bib)
776 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
777 `reftex-syntax-table' because parens have to retain their paren
778 syntax in order for parsing of BibTeX entries like @book(...) to
779 work.
780 (reftex-in-comment): Do not error out if `comment-start-skip' is
781 not set. Deal correctly with escaped comment characters.
375e49d4
SM
782 (reftex-tie-multifile-symbols): Add doc string.
783 Initialize `reftex-ref-style-list'.
4f595e15
RA
784 (reftex-untie-multifile-symbols): Add doc string.
785 (reftex-add-index-macros): Doc fix.
786 (reftex-ref-style-activate, reftex-ref-style-toggle)
787 (reftex-ref-style-list): New functions.
788 (reftex-mode-menu): Use them. Adapt to new structure of
789 `reftex-ref-style-alist'.
790 (reftex-select-with-char): Kill the RefTeX Select buffer when
791 done.
792 (reftex-remove-if): New function.
793 (reftex-erase-all-selection-and-index-buffers)
794 (reftex-mode-menu): Reference styles are now computed from
795 `reftex-ref-style-alist'. Fix typo.
796 (reftex-report-bug): New function.
797 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
798 algorithms with O(n log n). Introduce optional argument SORT (not
799 yet used).
800
440ba395
FEG
8012012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
802
803 Enhancements for triple-quote string syntax.
375e49d4
SM
804 * progmodes/python.el (python-syntax-propertize-function):
805 Match both quote cases in one regexp.
440ba395
FEG
806 (python-syntax-stringify): Handle matches properly.
807
4c478e6b
JL
8082012-09-30 Juri Linkov <juri@jurta.org>
809
810 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 811 to nil around the call to `insert' to prevent
4c478e6b
JL
812 directory time modification by lock_file. (Bug#2295)
813 * tar-mode.el (tar-summarize-buffer): Idem.
814
d80d54b2
JL
8152012-09-30 Juri Linkov <juri@jurta.org>
816
817 * facemenu.el (list-colors-sort): Add option "Luminance".
818 (list-colors-sort-key): Implement it.
819
820 * vc/diff-mode.el (diff-refine-removed):
821 * vc/ediff-init.el (ediff-fine-diff-A):
822 * vc/smerge-mode.el (smerge-refined-removed):
823 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
824
d7e642cc
JD
8252012-09-30 Jan Djärv <jan.h.d@swipnet.se>
826
827 * term/ns-win.el (x-file-dialog): New function.
828
ee41332b
JB
8292012-09-30 Juanma Barranquero <lekktu@gmail.com>
830
831 * ido.el (ido-max-directory-size): Default to nil; the current
832 default is small for POSIX systems, and impractical on Windows 7
833 now that lstat returns directory sizes for NTFS.
834
5938d519
MR
8352012-09-30 Martin Rudalics <rudalics@gmx.at>
836
837 In buffer display functions handle window-height/window-width
838 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
839 * window.el (window--display-buffer): New argument ALIST.
840 Obey window-height and window-width alist entries.
841 (window--try-to-split-window): New argument ALIST.
842 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
843 changed and window-combination-limit equals `window-size'.
844 (display-buffer-in-atom-window)
845 (display-buffer-in-major-side-window)
846 (display-buffer-in-side-window, display-buffer-same-window)
847 (display-buffer-reuse-window, display-buffer-pop-up-frame)
848 (display-buffer-pop-up-window, display-buffer-below-selected)
849 (display-buffer-at-bottom, display-buffer-in-previous-window)
850 (display-buffer-use-some-window): Adjust all callers of
851 window--display-buffer and window--try-to-split-window.
852 (fit-frame-to-buffer): New option.
853 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
854 is non-nil.
855 (display-buffer-in-major-side-window): Evaluate window-height /
856 window-width alist entries.
857
858 * help.el (temp-buffer-resize-frames)
859 (temp-buffer-resize-regexps): Remove options.
860 (temp-buffer-resize-mode): Adjust doc-string.
861 (resize-temp-buffer-window): Don't consult
862 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
863 temp-buffer-resize-frames.
864
375e49d4
SM
865 * dired.el (dired-mark-pop-up):
866 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
867 entry.
868
c4c0c2df
CY
8692012-09-30 Chong Yidong <cyd@gnu.org>
870
48de8b12
CY
871 * server.el (server-host): Document the security implications.
872 (server-auth-key): Doc fix.
873
874 * startup.el (initial-buffer-choice): Doc fix.
875
876 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
877
a97dc380
CY
878 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
879 restriction change.
880
d39d3c8e
CY
881 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
882
c4c0c2df
CY
883 * help-fns.el (help-fns--obsolete): Fix last change.
884
98a5e33b
SM
8852012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
886
34cf6f39
SM
887 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
888 (minor-mode-map-alist): Remove redundant code.
889
e01c13fe
SM
890 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
891 visited in a buffer.
892 (cvs-insert-visited-file): New function.
893 (find-file-hook): Use it.
894
895 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
896
02661b3a
SM
897 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
898 chose face.
899 (log-edit-empty-buffer-p): Don't require a space after a header.
900
43711d4b
SM
901 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
902
38a30d64
SM
903 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
904
4ffb41a9
SM
905 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
906 a proper minor-mode.
907
98a5e33b
SM
908 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
909
de82e29b
GM
9102012-09-29 Glenn Morris <rgm@gnu.org>
911
5cc2e639
GM
912 * winner.el (winner-mode): Remove variable (let define-minor-mode
913 handle it).
914 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
915 Doc fixes.
916 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
917 (winner-mode): Use define-minor-mode.
918
7bd302eb
GM
919 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
920 the full definition in loaddefs, rather than duplicating it.
921
2923922f 922 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 923
0e3e4156
GM
924 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
925 (inferior-lisp-program, inferior-lisp-load-command)
926 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 927 No need to autoload defcustoms.
0e3e4156 928
de82e29b
GM
929 * hippie-exp.el (hippie-expand-try-functions-list)
930 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
931 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
932 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 933 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
934 * progmodes/vhdl-mode.el (vhdl-line-expand):
935 Explicitly load hippie-exp, so it does not get autoloaded
936 while hippie-expand-try-functions-list is let-bound.
937
e60b51ab
GM
9382012-09-28 Glenn Morris <rgm@gnu.org>
939
277f0cfa
GM
940 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
941
e60b51ab
GM
942 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
943 Only "cl.el" counts as cl these days.
944
53baf48a
JL
9452012-09-28 Juri Linkov <juri@jurta.org>
946
947 Display archive errors in the echo area instead of inserting
948 to the file buffer.
949
950 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
951 to STDERR-TEST that can be a regexp matching a successful output.
952 Create a temporary file and redirect stderr to it. Search for
953 STDERR-TEST in the stderr output and display it in the echo area
954 if no match is found.
955 (archive-extract-by-file): New function like
956 `archive-extract-by-stdout' but extracting archives to files
957 and looking for successful matches in stdout. Function body is
958 mostly copied from `archive-rar-extract'.
959 (archive-rar-extract): Use `archive-extract-by-file'.
960 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
961
9c1228c3
LL
9622012-09-28 Leo Liu <sdl.web@gmail.com>
963
375e49d4
SM
964 * pcomplete.el (pcomplete-show-completions):
965 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 966
9c1228c3
LL
967 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
968
7f457c06
SM
9692012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
970
3df749b0
SM
971 * type-break.el: Use lexical-binding.
972 (type-break-mode): Use define-minor-mode.
973
7f457c06
SM
974 * emacs-lisp/pcase.el (pcase--mark-used): New.
975 (pcase--u1): Use it (bug#12512).
976
977 * custom.el (load-theme): Set buffer-file-name so the load is recorded
978 in load-history with the right file name.
979
c00ebc98
TH
9802012-09-28 Tassilo Horn <tsdh@gnu.org>
981
982 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
983 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
984 (doc-view-get-bounding-box): Make bounding box slicing work for
985 ODF and DVI documents.
986
96fb7170
GM
9872012-09-28 Glenn Morris <rgm@gnu.org>
988
989 * type-break.el (type-break-mode, type-break-interval)
990 (type-break-good-rest-interval, type-break-keystroke-threshold):
991 No need to autoload.
992 (type-break-good-rest-interval, type-break-keystroke-threshold):
993 Add :set-after.
994
5bc93c67
CY
9952012-09-28 Chong Yidong <cyd@gnu.org>
996
997 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
998 Add :version tag.
999
9cad61d6
SM
10002012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1001
e28e67b3 1002 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1003
daee954c
GM
10042012-09-27 Glenn Morris <rgm@gnu.org>
1005
a88324d4
GM
1006 * faces.el (x-display-name): Declare (for without-x builds).
1007
8e5064e5
GM
1008 * linum.el (linum-format): Don't autoload it. Improve :type.
1009
cc1783c2
GM
1010 * progmodes/tcl.el: Don't require outline when compiling.
1011 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1012 * textmodes/sgml-mode.el: Don't require outline when compiling.
1013 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1014
48c339f2
GM
1015 * term.el (term-ansi-reset):
1016 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1017
daee954c
GM
1018 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1019 files for RCS and SCCS. (Bug#9781)
1020
b7f42161
CY
10212012-09-27 Chong Yidong <cyd@gnu.org>
1022
1023 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1024 change; value should be t.
1025
a2e770db
SM
10262012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1027
83600dc8
SM
1028 * image-mode.el: Use lexical-binding.
1029 (image-mode-winprops): Use t to stand for the window of
1030 a buffer that's not displayed.
1031 * doc-view.el (doc-view-new-window-function): Handle the new
1032 t in winprops.
1033 (doc-view-enlarge): Make it a real nop if the size is not changed.
1034 (doc-view-display): Handle the case where the buffer is not (yet?)
1035 displayed in any window.
1036 (doc-view-saved-settings): New var.
1037 (doc-view-mode): Use it.
1038 (doc-view-fallback-mode): Set it.
1039
a2e770db
SM
1040 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1041 Set lexical-binding.
1042 (minibuffer-eldef-shorten-default): New var.
1043 (minibuffer-default-in-prompt-regexps): Use it for new default.
1044 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1045
e3b60857
JB
10462012-09-26 Juanma Barranquero <lekktu@gmail.com>
1047
1048 * international/uni-bidi.el:
1049 * international/uni-category.el:
1050 * international/uni-name.el:
1051 * international/uni-numeric.el: Regenerate.
1052
3a880af4
SM
10532012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1054 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * profiler.el: New file.
1057
07b1a5fb
SM
10582012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1061 (testcover-reinstrument): Simplify with CSE.
1062
42019c2e
JB
10632012-09-26 Juanma Barranquero <lekktu@gmail.com>
1064
1065 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1066
179f044b
WS
10672012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1068
1069 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1070 (verilog-auto-input, verilog-auto-insert-lisp)
1071 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1072 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1073 (verilog-auto-unused, verilog-auto-wire)
1074 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1075 newline. Reported by Andrew Jones.
1076 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1077 Reported by Brad Dobbie.
07b1a5fb
SM
1078 (verilog-batch-delete-trailing-whitespace):
1079 Create verilog-batch-delete-trailing-whitespace.
1080 Reported by Brad Dobbie.
179f044b
WS
1081 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1082 parameters from another module. Reported by Dan Katz.
1083 (verilog-auto, verilog-auto-assign-modport)
1084 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1085 AUTOINOUTMODPORT for UVM interface module shell generation.
1086 Reported by Brad Dobbie.
1087 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1088 standard behavior.
1089 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1090 Reported by Matt Martin.
1091
9c52dd5a
MR
10922012-09-25 Martin Rudalics <rudalics@gmx.at>
1093
1094 * window.el (window--resize-child-windows): When resizing child
1095 windows proportionally, process them in reverse order to
1096 preserve the "when splitting a window the new one gets the odd
1097 line" behavior.
1098 (window--resize-root-window-vertically): When resizing the
1099 minibuffer window try to affect only windows at the bottom of the
1100 frame. (Bug#12419)
1101
863666eb
CY
11022012-09-25 Chong Yidong <cyd@gnu.org>
1103
1104 * subr.el (declare): Doc fix.
1105
1106 * help-fns.el (help-fns--obsolete): Handle macros properly.
1107
59f7af81
CY
11082012-09-25 Chong Yidong <cyd@gnu.org>
1109
1110 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1111 this function obsolete.
1112
1113 * calendar/cal-x.el (calendar-two-frame-setup)
1114 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1115 * calendar/calendar.el (american-calendar, european-calendar)
1116 (calendar-for-loop):
1117 * comint.el (comint-dynamic-simple-complete)
1118 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1119 * desktop.el (desktop-load-default):
1120 * dired-x.el (dired-omit-here-always)
1121 (dired-hack-local-variables, dired-default-directory):
1122 * emacs-lisp/derived.el (derived-mode-class):
1123 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1124 * emacs-lock.el (toggle-emacs-lock):
1125 * epa.el (epa-display-verify-result):
1126 * epg.el (epg-sign-keys, epg-start-sign-keys)
1127 (epg-passphrase-callback-function):
1128 * eshell/esh-util.el (eshell-for):
1129 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1130 (eshell-add-to-window-buffer-names):
1131 * files.el (locate-file-completion):
1132 * imenu.el (imenu-example--create-c-index)
1133 (imenu-example--create-lisp-index)
1134 (imenu-example--lisp-extract-index-name)
1135 (imenu-example--name-and-position):
1136 * international/mule-cmds.el (princ-list):
1137 * international/mule-diag.el (decode-codepage-char):
1138 * international/mule-util.el (detect-coding-with-priority):
1139 * iswitchb.el (iswitchb-read-buffer):
1140 * mail/mailalias.el (mail-complete):
1141 * mail/sendmail.el (mail-sent-via):
1142 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1143 (mouse-major-mode-menu):
1144 * password-cache.el (password-read-and-add):
1145 * pcomplete.el (pcomplete-parse-comint-arguments):
1146 * progmodes/sh-script.el (sh-maybe-here-document):
1147 * replace.el (query-replace-regexp-eval):
1148 * savehist.el (savehist-load):
1149 * simple.el (choose-completion-delete-max-match):
1150 * term.el (term-dynamic-simple-complete):
1151 * vc/ediff-init.el (ediff-check-version):
1152 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1153 * vc/vc.el (vc-diff-switches-list):
1154 * view.el (view-return-to-alist-update): Likewise.
1155
1156 * subr.el (eval-next-after-load, makehash, insert-string)
1157 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1158 mark obsolete.
1159 (mode-line-inverse-video): Variable deleted.
1160
1161 * international/mule-util.el (string-to-sequence): Remove.
1162
1163 * calendar/calendar.el (calendar-version):
1164 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1165 (icalendar-convert-diary-to-ical):
1166 * cus-edit.el (custom-mode):
1167 * ansi-color.el (ansi-color-unfontify-region):
1168 * international/latin1-disp.el (latin1-char-displayable-p):
1169 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1170 * progmodes/which-func.el (which-func-update-1):
1171 Use define-obsolete-function-alias.
59f7af81
CY
1172
1173 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1174 * net/newst-treeview.el (newsticker-groups-filename):
1175 Fix incorrect obsolescence declaration.
59f7af81
CY
1176
1177 * allout.el (allout-passphrase-hint-string): Likewise.
1178 (allout-init): Use a declare form to mark obsolete.
1179
1180 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1181 this applies to functions.
1182
1183 * iswitchb.el (iswitchb-read-buffer): Move code of
1184 iswitchb-define-mode-map here, and delete that obsolete function.
1185
1186 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1187 font-lock-reference-face.
1188
cca96c97
GM
11892012-09-25 Glenn Morris <rgm@gnu.org>
1190
b06eeda8
GM
1191 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1192 Doc fixes.
1193
cca96c97
GM
1194 * eshell/em-term.el (eshell-term-name):
1195 Default to term-term-name. (Bug#12485)
1196
dc4f818b
FEG
11972012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1198
cca96c97
GM
1199 * progmodes/python.el (python-shell-send-buffer): Better handling
1200 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1201
289c24bd
GM
12022012-09-24 Glenn Morris <rgm@gnu.org>
1203
1204 * eshell/esh-cmd.el (eshell-find-alias-function):
1205 Tighten up file-name regexp. (Bug#12499)
1206
8fb8b88f
FEG
12072012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1208
1209 Enhancements for triple-quote string syntax.
1210 * progmodes/python.el (python-quote-syntax): Remove.
1211 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1212 (python-syntax-count-quotes, python-syntax-stringify):
1213 New functions.
8fb8b88f 1214
6c27f0f8
CY
12152012-09-24 Chong Yidong <cyd@gnu.org>
1216
a5f2b6ec
CY
1217 * mail/supercite.el (sc-version): Remove obsolete function.
1218 (sc-describe): Don't mark as obsolete, since it is bound.
1219 (sc-submit-bug-report): Remove.
1220
1221 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1222 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1223 (log-edit-require-final-newline)
1224 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1225
1226 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1227 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1228 * vc/vc.el (vc-checkout-carefully): Likewise.
1229
1230 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1231 (emerge-version): Remove.
1232
1233 * progmodes/compile.el (compile-internal): Remove.
1234 (compilation-parse-errors-function): Fix typo.
1235
1236 * international/mule.el (set-char-table-default): Remove.
1237 (set-coding-priority, make-coding-system, generic-char-p)
1238 (charset-list, charset-bytes, charset-id): Use declare to mark
1239 functions as obsolete.
1240
1241 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1242 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1243 * vc/vc-hooks.el (vc-default-registered): Don't use
1244 vc-master-templates.
1245
07b1a5fb
SM
1246 * font-lock.el (font-lock-reference-face):
1247 Use define-obsolete-variable-alias.
6c27f0f8
CY
1248
1249 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1250 * calendar/calendar.el (calendar-font-lock-keywords):
1251 * calendar/diary-lib.el (diary-font-lock-keywords)
1252 (diary-fancy-font-lock-keywords):
1253 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1254 * textmodes/reftex-index.el (reftex-insert-index):
1255 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1256 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1257 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1258 * progmodes/prolog.el (prolog-font-lock-keywords):
1259 * progmodes/idlwave.el (idlwave-idl-keywords):
1260 * progmodes/ada-mode.el (ada-font-lock-keywords):
1261 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1262
bcc0adbf
GM
12632012-09-24 Glenn Morris <rgm@gnu.org>
1264
1265 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1266
095bb823
FEG
12672012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1268
1269 * progmodes/python.el (python-indent-line): More consistent cursor
1270 movement behavior.
1271
70efc5c9
SM
12722012-09-23 Stefan Merten <smerten@oekonux.de>
1273
1274 * textmodes/rst.el: Fix compiler warning.
1275
2f438239
RW
12762012-09-23 Roland Winkler <winkler@gnu.org>
1277
07b1a5fb
SM
1278 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1279 Transcribe also LaTeX hyphenation.
2f438239
RW
1280 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1281 bibtex-reformat-previous-options.
1282
936ad041
RW
12832012-09-23 Roland Winkler <winkler@gnu.org>
1284
1285 * proced.el (proced-renice-command): New variable.
1286 (proced-marked-processes): New function.
1287 (proced-with-processes-buffer): New macro.
1288 (proced-send-signal): Use them.
1289 (proced-renice): New command bound to r.
1290
6fab0274
RW
12912012-09-23 Roland Winkler <winkler@gnu.org>
1292
1293 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1294 ibuffer-saved-filter-groups has one element, shortcut the call of
1295 completing-read. (Bug#12331)
1296
9a930676
CY
12972012-09-23 Chong Yidong <cyd@gnu.org>
1298
1299 * bindings.el (mode-line-toggle-read-only):
1300 * bs.el (bs-toggle-readonly):
1301 * buff-menu.el (Buffer-menu-toggle-read-only):
1302 * dired.el (dired-toggle-read-only):
1303 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1304
d07ff9db
CY
13052012-09-23 Chong Yidong <cyd@gnu.org>
1306
1307 * image.el (image-type-available-p): Adapt to init-image-library
1308 argument changes.
1309
51c4474e
JL
13102012-09-22 Juri Linkov <juri@jurta.org>
1311
1312 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1313 `dired-toggle-read-only'. (Bug#12462)
1314
43bf5e8e
MR
13152012-09-22 Martin Rudalics <rudalics@gmx.at>
1316
1317 * subr.el (temp-output-buffer-show): New function.
1318 (with-output-to-temp-buffer): Call temp-output-buffer-show
1319 instead of internal-temp-output-buffer-show.
1320
c88b867f
CY
13212012-09-22 Chong Yidong <cyd@gnu.org>
1322
3df47cd5
CY
1323 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1324 (Bug#12462).
1325
c88b867f
CY
1326 * repeat.el (repeat): Doc fix (Bug#12348).
1327
1328 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1329 (Bug#10909).
1330
1331 * simple.el (shell-command-on-region): Doc fix.
3171e303 1332 (read-only-mode): Doc fix.
c88b867f 1333
df9685f3
EZ
13342012-09-22 Eli Zaretskii <eliz@gnu.org>
1335
1336 * emacs-lisp/timer.el (run-with-idle-timer)
1337 (timer-activate-when-idle): Warn against reinvoking an idle timer
1338 from within its own timer action. (Bug#12447)
1339
8e17c9ba
MR
13402012-09-22 Martin Rudalics <rudalics@gmx.at>
1341
1342 * cus-start.el (window-combination-limit): Add new optional
1343 values.
1344 * window.el (temp-buffer-window-show)
1345 (window--try-to-split-window): Handle new values of
1346 window-combination-limit (Bug#1806).
1347 (split-window): Test window-combination-limit for t instead of
1348 non-nil.
1349 (display-buffer-at-bottom): New buffer display action function.
1350 * help.el (temp-buffer-resize-regexps): New option.
1351 (temp-buffer-resize-mode): Rewrite doc-string.
1352 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1353 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1354
48a24920
SM
13552012-09-22 Stefan Merten <smerten@oekonux.de>
1356
70efc5c9 1357 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1358 (rst-official-version)
1359 (rst-package-emacs-version-alist): Sync with official version
1360 V1.4.0.
1361 (rst-faces-defaults, rst-set-level-default)
1362 (rst-level-face-max, rst-level-face-base-color)
1363 (rst-level-face-base-light, rst-level-face-format-light)
1364 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1365 (rst-adornment-faces-alist): Match new setup.
1366 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1367 (rst-level-5, rst-level-6): New faces.
1368
82f8cd94
CY
13692012-09-22 Chong Yidong <cyd@gnu.org>
1370
1371 * simple.el (undo): Handle indirect buffers (Bug#8207).
1372
acfa068f 13732012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1374
1375 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1376 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1377 (ido-set-matches-1): Use it. (Bug#2042)
1378
acfa068f 13792012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1380
1381 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1382 Fix 2011-05-17 change. (Bug#12418)
1383
acfa068f 13842012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1385
1386 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1387
acfa068f 13882012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1389
1390 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1391 Be more robust about locating simple.el.
1392
acfa068f 13932012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1394
1395 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1396
acfa068f
CY
13972012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1398
1399 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1400
41a97e6f
JL
14012012-09-20 Juri Linkov <juri@jurta.org>
1402
eb2deaff
JL
1403 * replace.el (query-replace-read-from): Use `read-regexp' instead
1404 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1405 (occur-read-primary-args): Use `read-regexp' instead of
1406 `read-string'.
1407 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1408 `read-from-minibuffer'.
1409 * isearch.el (isearch-occur): Use `read-regexp' instead of
1410 `read-string'.
1411 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1412 `read-from-minibuffer'.
1413 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1414 of `read-string'. (Bug#7567)
1415
5825610b
JL
1416 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1417 and allow accepting a list of strings prepended to a list of
1418 standard default values. Doc fix. (Bug#12321)
1419
eebbf404
JL
1420 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1421
41a97e6f
JL
1422 * replace.el (read-regexp): Don't add ": " when PROMPT already
1423 ends with a colon and space. (Bug#12321)
1424
c9e452d3
TH
14252012-09-20 Tassilo Horn <tsdh@gnu.org>
1426
1427 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1428 error.
1429
ee97deee
SM
14302012-09-20 Stefan Merten <smerten@oekonux.de>
1431
70efc5c9 1432 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1433 Fixes feature request bug#11711.
1434 (rst-mode): Create `imenu-create-index-function'.
1435 (rst-get-stripped-line): Delete after refactoring.
1436 (rst-section-tree, rst-section-tree-rec)
1437 (rst-section-tree-point): Refactor and document properly.
1438 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1439 (rst-imenu-convert-cell, rst-imenu-create-index):
1440 New function.
ee97deee 1441
f490dab9
SM
14422012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1443
95b9712e
SM
1444 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1445 (macroexp--expand-all): Use it.
1446 (macroexp--funcall-and-return): Remove by folding it into its sole
1447 caller (macroexp--warn-and-return).
1448 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1449 Use macroexp--obsolete-warning.
1450
f490dab9
SM
1451 * calc/calc.el: Fix last change by removing the whole chunk, since it
1452 was only needed back when Calc was not bundled.
1453
96e8d411
MR
14542012-09-20 Martin Rudalics <rudalics@gmx.at>
1455
1456 * emacs-lisp/debug.el (debug): Restore assignment to
1457 debugger-old-buffer removed on 2012-09-08.
1458
0876a82d
JL
14592012-09-20 Juri Linkov <juri@jurta.org>
1460
1461 * dired-aux.el (dired-diff): Remove (require 'diff) since
1462 `diff-latest-backup-file' is now autoloaded.
1463
9f7c28f0
CY
14642012-09-20 Chong Yidong <cyd@gnu.org>
1465
1466 * vc/diff.el (diff-latest-backup-file): Autoload.
1467
7a04bee9
SM
14682012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1469
e6f0a80d
SM
1470 * calc/calc.el: Remove redundant autoload shape check.
1471 (sel-mode): Don't defvar.
1472 (calc-get-stack-element): Add `sel-mode' arg instead.
1473 (calc-top, calc-top-list): Pass it this additional argument.
1474 * calc/calc-store.el (calc-store-map):
1475 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1476 (calc-map-equation, calc-outer-product, calc-inner-product):
1477 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1478
7a04bee9
SM
1479 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1480
12734222
JL
14812012-09-19 Juri Linkov <juri@jurta.org>
1482
1483 * dired-aux.el (dired-diff): Add (require 'diff) because
1484 `diff-latest-backup-file' is not autoloaded.
1485 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1486 of `dired-get-filename' to t to not report error when there is
1487 no default file on the current line.
1488
46624b4f
SM
14892012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1490
ce97595b
SM
1491 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1492 macroexp--eval-if-compile.
1493 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1494 (macroexp--expand-all): Use them (bug#12371).
1495
46624b4f
SM
1496 * doc-view.el (doc-view-guess-paper-size)
1497 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1498
db8a5a18
TH
14992012-09-19 Tassilo Horn <tsdh@gnu.org>
1500
1501 New feature: set optimal slice from BoundingBox information.
1502 * doc-view.el (doc-view-mode-map): Add keybinding.
1503 (doc-view-menu): Add menu entry.
1504 (doc-view-set-slice): Adapt docstring.
1505 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1506 (doc-view-scale-bounding-box)
1507 (doc-view-set-slice-from-bounding-box): New functions.
1508 (doc-view-paper-sizes): New defvar.
1509
69f6644c
GM
15102012-09-19 Glenn Morris <rgm@gnu.org>
1511
35f5b19d
GM
1512 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1513 (byte-compile-log-warning): Autoload. (Bug#12371)
1514
69f6644c
GM
1515 * calendar/calendar.el (calendar-american-month-header)
1516 (calendar-european-month-header, calendar-iso-month-header)
1517 (calendar-month-header): New options.
1518 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1519 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1520
e543ae91
JD
15212012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1522
1523 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1524
2fd5e67d
JL
15252012-09-18 Juri Linkov <juri@jurta.org>
1526
1527 * dired-aux.el (dired-diff): Restore original functionality of
1528 getting the default value, but keep new feature of using the
1529 latest existing backup file (`diff-latest-backup-file').
1530
42917e79
JL
15312012-09-18 Juri Linkov <juri@jurta.org>
1532
1533 * dired.el (dired-mark): If the region is active in Transient Mark
1534 mode, mark all files in the active region. Doc fix.
1535 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1536 Doc fix. (Bug#10624)
1537
20f70ede
JL
15382012-09-18 Juri Linkov <juri@jurta.org>
1539
1540 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1541 attributes for M-n are pulled from the file at point.
1542 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1543 Suggested by Drew Adams. (Bug#10624)
1544
32fb8162
DG
15452012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1546
1547 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1548 whitespace after "end".
1549 (ruby-do-end-to-brace): Collapse block to one line if it fits
1550 within fill-column.
1551
37ab5092
MR
15522012-09-18 Martin Rudalics <rudalics@gmx.at>
1553
1554 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1555 value.
1556 (debug): Don't remove debugger window when debugger is expected
1557 to be back.
1558
ed1f0bd3
CY
15592012-09-18 Chong Yidong <cyd@gnu.org>
1560
1561 * custom.el (defface): Doc fix.
1562
1563 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1564
a11035b8
MB
15652012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1566
1567 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1568 to initialize query-on-exit; then test that instead (bug#12288).
1569
64f6a736
SM
15702012-09-17 Stefan Merten <smerten@oekonux.de>
1571
70efc5c9 1572 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1573 (rst-defcustom-testcover, rst-testcover-add-compose)
1574 (rst-testcover-add-1value): New functions.
1575 (rst-portable-mark-active-p): Replace by `use-region-p'.
1576 (rst-update-section, rst-classify-adornment)
1577 (rst-find-title-line): Mark `1value' forms.
1578 (rst-classify-adornment): Remove superfluous form.
1579 (rst-update-section, rst-get-adornments-around)
1580 (rst-adornment-complete-p, rst-get-next-adornment)
1581 (rst-adjust, rst-promote-region)
1582 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1583 (rst-find-pfx-in-region, rst-section-tree-rec)
1584 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1585 (rst-toc-node, rst-toc, rst-forward-section)
1586 (rst-iterate-leftmost-paragraphs)
1587 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1588 (rst-bullet-list-region)
1589 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1590 (rst-compile-find-conf, rst-compile)
1591 (rst-repeat-last-character): Fix style.
1592
580bd868
CY
15932012-09-17 Chong Yidong <cyd@gnu.org>
1594
1595 * comint.el (comint--complete-file-name-data): Don't add a space
1596 if the status is `sole'; that adds a gratuitous space in the
1597 completion-cycling case (Bug#12092).
1598
1599 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1600
69de3ec6
RS
16012012-09-17 Richard Stallman <rms@gnu.org>
1602
0dee970c
RS
1603 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1604 only in the mime-shown mode, not in raw mode.
1605 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1606 mime processing. (Bug#12305)
0dee970c 1607
6b250df6
GM
1608 * mail/rmail.el (rmail-retry-failure):
1609 Turn off mime processing first. (Bug#12037)
acb1c47b 1610
69de3ec6
RS
1611 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1612
d079ee5f
CY
16132012-09-17 Chong Yidong <cyd@gnu.org>
1614
1615 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1616 (shell-dynamic-complete-functions): Convert to defcustom.
1617 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1618
865fe16f
CY
1619 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1620 * comint.el (comint-prompt-read-only):
1621 * custom.el (defcustom):
1622 * hi-lock.el (hi-lock-mode):
1623 * ibuffer.el (ibuffer-formats):
1624 * ielm.el (ielm-prompt-read-only):
1625 * novice.el (disable-command):
1626 * saveplace.el (toggle-save-place):
1627 * speedbar.el (speedbar-supported-extension-expressions):
1628 * startup.el (auto-save-list-file-prefix, init-file-user)
1629 (after-init-hook, inhibit-startup-echo-area-message):
1630 * strokes.el (strokes-help):
1631 * time-stamp.el (time-stamp):
1632 * calendar/calendar.el (calendar, diary-file):
1633 * calendar/diary-lib.el (diary-mail-entries, diary)
1634 (diary-list-entries-hook):
1635 * calendar/holidays.el (holidays, calendar-holidays):
1636 * calendar/lunar.el (lunar-phases):
1637 * calendar/solar.el (sunrise-sunset):
1638 * emulation/edt.el (edt-load-keys):
1639 * emulation/viper.el (viper-mode):
1640 * eshell/em-alias.el (eshell-command-aliases-list):
1641 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1642 * international/ogonek.el (ogonek-information):
1643 * net/tramp-cmds.el (tramp-bug):
1644 * net/quickurl.el (quickurl-reread-hook-postfix):
1645 * play/decipher.el (decipher-font-lock-keywords):
1646 * progmodes/cc-styles.el (c-set-style):
1647 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1648 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1649 * progmodes/octave-mod.el (octave-mode):
1650 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1651 * progmodes/verilog-mode.el (verilog-read-defines):
1652 * textmodes/two-column.el (2C-mode): Likewise.
1653
48093eb9
KY
16542012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1655
1656 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1657 that holds many addresses.
1658
c584eaf9
CY
16592012-09-16 Chong Yidong <cyd@gnu.org>
1660
40d70ecb
CY
1661 * align.el (align-areas): Call the indication function with
1662 positions instead of markers for arguments (Bug#12343).
1663
1667e065
CY
1664 * files.el (parse-colon-path): Use split-string (Bug#12351).
1665
fdc2806d 1666 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1667 (display-buffer-function): Mark as obsolete.
fdc2806d 1668
f1be615c 1669 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1670 values similar to font-lock-keywords (Bug#12136).
1671 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1672 (compilation-error-regexp-alist): Doc fix.
1673
f40a9709
GM
16742012-09-15 Glenn Morris <rgm@gnu.org>
1675
72aa16e1
GM
1676 * version.el (emacs-bzr-version-bzr): New function.
1677 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1678
82375160
GM
1679 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1680 checkouts, check the parent dirstate matches the branch.
1681 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1682 empty string.
1683
f40a9709
GM
1684 * version.el (emacs-bzr-version): Doc fix.
1685 (emacs-bzr-version-dirstate): New function.
1686 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1687 is local try and check that it matches the branch. If not, just
1688 use dirstate information. (Bug#12441)
1689
cb26b7f5
JL
16902012-09-14 Juri Linkov <juri@jurta.org>
1691
1692 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1693 (Bug#12399)
1694
2de39f08
SM
16952012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1696
0fb3cb7c
SM
1697 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1698
2de39f08
SM
1699 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1700 Remove obsolete byte-compiler hack that tried to silence some warnings.
1701 (edebug-submit-bug-report): Remove.
1702 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1703 Remove aliases, use the un-prefixed name instead.
1704 (edebug-pop-to-buffer): Consider other frames.
1705 (edebug-original-read):: Make it more obvious that it's always defined.
1706 (edebug--make-form-data-entry, edebug--form-data-name)
1707 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1708 single-dashed name, and implement with cl-defstruct.
1709 (edebug-set-form-data-entry): Use the standard accessors.
1710 (edebug-make-top-form-data-entry): Use push.
1711 (edebug-no-match): Drop useless `funcall'.
1712 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1713 to functions.
1714 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1715 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1716 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1717 (easy-menu-define, with-custom-print): Remove redundant specs.
1718 (edebug-outside-overriding-local-map)
1719 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1720 (edebug--display): Bind unread-command-events directly to nil rather
1721 than binding it to unread-command-events and later setting it to nil.
1722 (edebug--display): Kill edebug-eval-buffer here...
1723 (edebug--recursive-edit): ...rather than here.
1724 Bind standard-output and standard-input.
1725 (edebug-eval): Check cl-macroexpand-all is fboundp.
1726 (edebug-temp-display-freq-count): Fix last change.
1727
1728 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1729 * subr.el (noreturn, 1value): Add `debug' spec.
1730 * emacs-lisp/advice.el: Require cl-lib.
1731 (ad-copy-tree): Remove, use copy-tree instead.
1732 (ad-dolist): Remove use dolist or cl-dolist instead.
1733 (ad-do-return): Remove, use cl-return instead.
1734 (defadvice): Add `debug' spec.
1735
5b68b333
JL
17362012-09-13 Juri Linkov <juri@jurta.org>
1737
1738 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1739 (Bug#12399)
1740
b9800ec4
GM
17412012-09-13 Glenn Morris <rgm@gnu.org>
1742
6a2e6868
GM
1743 * calc/calc.el (math-compose-expr):
1744 * calc/calc-ext.el (math-compose-expr):
1745 * progmodes/cc-defs.el (cl-macroexpand-all):
1746 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1747 (cl-macroexpand-all): Update declarations.
1748
b9800ec4
GM
1749 * vc/vc.el: No need to require ediff.
1750 (ediff-load-version-control): Declare.
1751 (ediff-vc-internal): Fix declaration.
1752 (vc-version-ediff): Require ediff.
1753
c18e885b
PE
17542012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1755
1756 Use a more backwards-compatible timer format (Bug#12430).
1757 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1758 being right after USECS, as that better supports old code that
1759 inadvisedly looked directly at the timer vector.
1760
d607d303
KH
17612012-09-13 Kenichi Handa <handa@gnu.org>
1762
1763 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1764 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1765 `coding-priority' property of these language environment.
1766
72eac303
PE
17672012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1768
1769 Fix glitches caused by addition of psec to timers (Bug#12430).
1770 * image.el (image-animate-timer):
1771 * time.el (display-time-world-timer):
1772 Use timer--function and timer--args rather than raw access to
1773 timer vector.
1774
2168fe4f
GM
17752012-09-13 Glenn Morris <rgm@gnu.org>
1776
1777 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1778 If not compiling a file, try using load-file-name.
1779
bd8d6108
SM
17802012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1781
c0c54fbd
SM
1782 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1783 Fix last change.
1784 (edebug-update-eval-list): Use `push'.
1785
bd8d6108
SM
1786 * emacs-lisp/edebug.el: Use lexical-binding.
1787 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1788 Mark unused args with underscore.
1789 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1790 (edebug-form-data): Use defvar-local.
1791 (edebug-make-before-and-after-form, edebug-make-after-form):
1792 Use backquote.
1793 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1794 Not dynamically scoped any more.
1795 (edebug--enter-trace): Add arguments `function' and `args'.
1796 Rename from edebug-enter-trace.
1797 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1798 (edebug--update-coverage): Add `after-index' and `value' args.
1799 Rename from edebug-update-coverage.
1800 (edebug-slow-after): Call it accordingly.
1801 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1802 edebug-recursive-edit.
1803 (edebug--display): Call it accordingly. Add args `value',
1804 `offset-index', and `arg-mode'. Rename from edebug-display.
1805 (edebug-debugger, edebug): Call it accordingly.
1806 (edebug-eval-display-list): Use dolist.
1807
a9f9d9de
JL
18082012-09-12 Juri Linkov <juri@jurta.org>
1809
1810 * info.el (Info-search): Don't check for isearch-mode and
1811 isearch-regexp before let-binding search-spaces-regexp to
1812 Info-search-whitespace-regexp.
1813 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1814 search-whitespace-regexp if isearch-lax-whitespace or
1815 isearch-regexp-lax-whitespace is non-nil.
1816 (Info-mode): Don't set local variable search-whitespace-regexp.
1817 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1818
bfeae2cf
SM
18192012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1820
1821 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1822 (debugger-env-macro): Remove support for unread-command-char.
1823
1824 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1825 the temporary map re-appearing on emulation-mode-map-alists.
1826
1827 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1828 since 22.1.
1829
1830 * ehelp.el (with-electric-help): Accept functions in
1831 electric-help-form-to-execute.
1832 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1833 And replace unread-command-char -> unread-command-events.
1834
fbbcaf1b
MA
18352012-09-12 Michael Albinus <michael.albinus@gmx.de>
1836
1837 Sync with Tramp 2.2.6.
1838
1839 * net/tramp.el (tramp-accept-process-output): Don't use
1840 JUST-THIS-ONE in the XEmacs case.
1841
1842 * net/trampver.el: Update release number.
1843
4dece104
MR
18442012-09-12 Martin Rudalics <rudalics@gmx.at>
1845
bfeae2cf
SM
1846 * emacs-lisp/debug.el (debugger-previous-window-height):
1847 New variable.
4dece104
MR
1848 (debug): When debugger-jumping-flag is non-nil try to restore
1849 height of debugger window. (Bug#8789)
1850
45b82ad0
SM
18512012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1852
60c49c0f
SM
1853 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1854 overriding-local-map and pre/post-command-hook here.
1855 (edebug-recursive-edit): Do it here instead (bug#12345).
1856 (edebug-outside-unread-command-char): Remove all uses of
1857 unread-command-char.
1858
45b82ad0
SM
1859 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1860 inhibit-debugger is bound instead.
1861
baa26ea0
BG
18622012-09-11 Bastien Guerry <bzg@gnu.org>
1863
1864 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1865 (Bug#12346)
baa26ea0 1866
04e8abfa
BG
18672012-09-11 Bastien Guerry <bzg@gnu.org>
1868
96d03571 1869 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1870 (Bug#12347)
96d03571
BG
1871
18722012-09-11 Bastien Guerry <bzg@gnu.org>
1873
fc0c31f8 1874 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1875
04e082b0
MM
18762012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1877
1878 * progmodes/sql.el: Version 3.1
1879 (sql-db2-escape-newlines): New variable.
1880 (sql-escape-newlines-filter): Use it.
1881
399a361b
JB
18822012-09-10 Juanma Barranquero <lekktu@gmail.com>
1883
1884 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1885
0780c517
DN
18862012-09-10 Dan Nicolaescu <dann@gnu.org>
1887
45b82ad0
SM
1888 * vc/diff-mode.el (diff-mode-menu):
1889 Bind diff-remove-trailing-whitespace.
0780c517 1890
9b851e25
SM
18912012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1894 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1895 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1896 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1897 (eval-defun-2): Remove bogus interactive spec.
1898 (lisp-indent-line): Remove redundant whole-exp code, now done in
1899 indent-according-to-mode.
1900 (save-match-data): Remove redundant indent data.
1901
1902 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1903 Use `declare'.
1904
3231d532
JL
19052012-09-09 Juri Linkov <juri@jurta.org>
1906
1907 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1908 (replace-lax-whitespace, query-replace-regexp)
1909 (query-replace-regexp-eval, replace-regexp): Doc fix.
1910 (perform-replace, replace-highlight): Let-bind
1911 isearch-lax-whitespace to replace-lax-whitespace and
1912 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1913
1914 * isearch.el (isearch-query-replace): Let-bind
1915 replace-lax-whitespace to isearch-lax-whitespace and
1916 replace-regexp-lax-whitespace to
1917 isearch-regexp-lax-whitespace. (Bug#10885)
1918
70fe8236
SM
19192012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1922
8ed43f15
AM
19232012-09-09 Alan Mackenzie <acm@muc.de>
1924
70fe8236
SM
1925 * progmodes/cc-engine.el (c-state-cache-init):
1926 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1927 (c-record-parse-state-state):
1928 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1929
bfabf70a
AS
19302012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1931
1932 * register.el (register-separator): Rename from
1933 separator-register. All uses changed. Doc fix.
1934 (register): Fix version.
1935
011474aa
CY
19362012-09-09 Chong Yidong <cyd@gnu.org>
1937
1938 * replace.el (query-replace-map): Bind four new symbols for
1939 requesting window scrolling.
1940
1941 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1942 query-replace-map (Bug#8948).
1943
1944 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1945
1946 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1947 since they are now in query-replace-map.
1948
1949 * window.el (scroll-other-window-down): Make the arg optional.
1950
a8b7cd8d
CY
19512012-09-09 Chong Yidong <cyd@gnu.org>
1952
1953 * files.el (hack-local-variables-confirm): Use quit-window to kill
1954 the *Local Variables* buffer.
1955
c3268831
DG
19562012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1957
1958 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1959 not just expect to be at its beginning. Adjust callees.
1960 Succeed when do-end block has no space before the pipe character.
1961 (ruby-brace-to-do-end): When the original block is one-liner,
1962 convert to multiline. Reindent the result.
1963
0979429b
J
19642012-09-08 Jambunathan K <kjambunathan@gmail.com>
1965
1966 * register.el (register): New group.
27359e99 1967 (separator-register): New user option.
0979429b
J
1968 (increment-register): Route it to `append-to-register', if
1969 register contains text. Implication is that `C-x r +' can now be
1970 used for appending to a text register (bug#12217).
1971 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 1972 `separator-register'.
0979429b 1973
ace2989a
AM
19742012-09-08 Alan Mackenzie <acm@muc.de>
1975
1976 AWK Mode: make auto-newline work when there's "==" in the pattern.
1977 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1978 correctly.
0979429b
J
1979 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1980 Test more rigorously for "=" token.
ace2989a 1981
616c6c36
DG
19822012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1983
0979429b
J
1984 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1985 Only fail when reached LIMIT.
616c6c36 1986
35d98877
CY
19872012-09-08 Chong Yidong <cyd@gnu.org>
1988
1989 * dired.el (dired-mode-map): Don't bind M-=.
1990
1991 * dired-aux.el (dired-diff): Use backup file as default.
1992
1715f2db
DA
19932012-09-08 Drew Adams <drew.adams@oracle.com>
1994
1995 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1996
6dcef6ec
CY
19972012-09-08 Chong Yidong <cyd@gnu.org>
1998
1999 * subr.el (syntax-after, syntax-class): Doc fix.
2000
fa2bcf43
MR
20012012-09-08 Martin Rudalics <rudalics@gmx.at>
2002
2003 * window.el (display-buffer-in-previous-window): New buffer
2004 display action function.
2005
2006 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2007 (debugger-previous-window): New variable.
2008 (debug): Rewrite using display-buffer-in-previous-window,
2009 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2010
daac280a
SM
20112012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2014
9dd40b00
MM
20152012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2016
daac280a
SM
2017 * progmodes/python.el (python-shell-send-string):
2018 When default-directory is remote, create temp file on remote
9dd40b00
MM
2019 filesystem.
2020 (python-shell-send-file): When file is remote, pass local view of
2021 file paths to remote Python interpreter. (Bug#12340)
2022
145823ec
CY
20232012-09-07 Chong Yidong <cyd@gnu.org>
2024
cee2e90d
CY
2025 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2026
0d7eb2ea
CY
2027 * files.el (after-find-file): Don't fail on a read-only buffer if
2028 require-final-newline is `visit' or `visit-save' (Bug#11156).
2029
145823ec
CY
2030 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2031
daac280a
SM
2032 * userlock.el (ask-user-about-supersession-threat):
2033 Use read-char-choice (Bug#12093).
145823ec 2034
74c582e6
CY
20352012-09-07 Chong Yidong <cyd@gnu.org>
2036
e5c2edf7
CY
2037 * subr.el (buffer-narrowed-p): New function.
2038
2039 * ses.el (ses-widen):
2040 * simple.el (count-words--buffer-message):
2041 * net/browse-url.el (browse-url-of-buffer): Use it
2042
2043 * simple.el (count-words-region): Don't signal an error if there
2044 is a non-nil prefix arg and the mark is not set.
c640e87d 2045
74c582e6
CY
2046 * help.el (describe-key-briefly): Allow the message to be seen
2047 when invoked from the minibuffer (Bug#7014).
2048
d81ceaaf
DG
20492012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2050
2051 * progmodes/ruby-mode.el (ruby-end-of-defun)
2052 (ruby-beginning-of-defun): Simplify, allow indentation before
2053 block beginning and end keywords.
8f06acce
DG
2054 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2055 (ruby-end-of-defun): Expect that the point is at the beginning of
2056 the defun.
d81ceaaf 2057
d458ef98
SM
20582012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2061 (bug#12367).
2062 (cl--make-usage-args): Strip _ from argument names.
2063
20367d28
RS
20642012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2065
2066 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2067 obsolete alias speedbar-key-map.
2068 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2069 (vhdl-index-menu-init): Don't use obsolete variable
2070 font-lock-maximum-size.
2071
3424a4f6
CY
20722012-09-06 Chong Yidong <cyd@gnu.org>
2073
2074 * frame.el (window-system-version): Mark as obsolete.
2075
fcbfbdea
CY
2076 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2077 of obsolete variable speedbar-key-map.
2078
826b3235
JL
20792012-09-06 Juri Linkov <juri@jurta.org>
2080
2081 * replace.el (replace-lax-whitespace): New defcustom.
2082 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2083 (replace-string, replace-regexp): Mention it in docstrings.
2084 (perform-replace, replace-highlight): Let-bind
2085 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2086 to the values of replace-lax-whitespace and regexp-flag.
2087 Don't let-bind search-whitespace-regexp. (Bug#10885)
2088
2089 * isearch.el (isearch-query-replace): Let-bind
2090 replace-lax-whitespace instead of let-binding
2091 replace-search-function and replace-re-search-function.
2092 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2093 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2094 (isearch-toggle-symbol): Set isearch-regexp to nil
2095 in isearch-word mode (like in isearch-toggle-word).
2096
1ec5e41d
JL
20972012-09-06 Juri Linkov <juri@jurta.org>
2098
2099 * replace.el (replace-search-function)
2100 (replace-re-search-function): Set default values to nil.
2101 (perform-replace): Let-bind isearch-related variables based on
2102 replace-related values, call `isearch-search-fun' and let-bind
2103 the result to `search-function'. Remove code that sets
2104 `search-function' and `search-string' separately for
2105 `delimited-flag'.
2106 (replace-highlight): Add new argument `delimited-flag' and
2107 rename other arguments to the names used in `perform-replace'.
2108 Let-bind `isearch-word' to the argument `delimited-flag'.
2109 (Bug#10885, bug#10887)
2110
0ba2d4b6
DG
21112012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2112
2113 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2114 ruby-beginning-of-indent, simplify, allow all keywords to have
2115 indentation before them.
2116 (ruby-beginning-of-indent): Adjust for above. Search until the
2117 found point is not inside a string or comment.
2118 (ruby-font-lock-keywords): Allow symbols to start with "@"
2119 character, give them higher priority than variables.
2120 (ruby-syntax-propertize-function)
2121 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2122 matchers. Expression expansions are not comments when inside a
2123 string, and there comment syntax status is irrelevant.
2124 (ruby-match-expression-expansion): New function. Check that
2125 expression expansion is inside a string, and it's not escaped.
2126 (ruby-font-lock-keywords): Use it.
2127
ef654460
MR
21282012-09-05 Martin Rudalics <rudalics@gmx.at>
2129
2130 * help.el (temp-buffer-max-height): New default value.
2131 (temp-buffer-resize-frames): New option.
2132 (resize-temp-buffer-window): Optionally resize frame.
2133
2134 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2135 (fit-frame-to-buffer): New function.
2136
7e570fbf 21372012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2138
2139 * emulation/cua-rect.el (cua--init-rectangles):
2140 * textmodes/picture.el (picture-mode-map):
2141 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2142 like forward-char and backward-char. (Bug#12317)
2143
7e570fbf 21442012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2145
2146 * progmodes/flymake.el (flymake-warning-re): New variable.
2147 (flymake-parse-line): Use it.
2148
7e570fbf 21492012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2150
2151 * calendar/holidays.el (holiday-christian-holidays):
2152 Rename an entry. (Bug#12289)
2153
7e570fbf 21542012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2155
2156 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2157 (bug#12222).
2158
972debf2
SM
21592012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2160
2161 * loadup.el: Load macroexp. Remove hack.
2162 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2163 (macroexp--expand-all): Use it to get better warnings.
2164 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2165 (internal-macroexpand-for-load): New functions.
2166 (macroexp--pending-eager-loads): New var.
2167 (emacs-startup-hook): New hack to replace one in loadup.el.
2168 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2169 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2170 (cl-psetf): Simplify.
2171 (cl-defstruct): Add indent rule.
2172
8ce192e3
LI
21732012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2174
2175 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2176 over `user-mail-address' for the SMTP MAIL FROM envelope.
2177 (smtpmail-via-smtp): Ditto.
2178
6578b4d8
DG
21792012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2180
2181 * progmodes/ruby-mode.el: Clean up keybindings.
2182 (ruby-mode-map): Don't bind ruby-electric-brace,
2183 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2184 backward-kill-word, reindent-then-newline-and-indent.
2185 (ruby-mark-defun): Remove.
2186 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2187 (ruby-mode): Set local beginning-of-defun-function and
2188 end-of-defun-function values.
2189
c5e28e39
MR
21902012-09-03 Martin Rudalics <rudalics@gmx.at>
2191
2192 * window.el (temp-buffer-window-setup-hook)
2193 (temp-buffer-window-show-hook): New hooks.
2194 (temp-buffer-window-setup, temp-buffer-window-show)
2195 (with-temp-buffer-window): New functions.
972debf2
SM
2196 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2197 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2198
2199 * help.el (temp-buffer-resize-mode): Fix doc-string.
2200 (resize-temp-buffer-window): New optional argument WINDOW.
2201
2202 * files.el (recover-file, save-buffers-kill-emacs):
2203 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2204
73406194
MA
22052012-09-02 Michael Albinus <michael.albinus@gmx.de>
2206
2207 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2208 remote definition of `default-directory', ensure we can connect.
2209
63dd1c6f
JL
22102012-09-02 Juri Linkov <juri@jurta.org>
2211
2212 Toggle whitespace matching mode with M-s SPC.
2213 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2214
2215 * isearch.el (search-whitespace-regexp): Doc fix.
2216 Remove cons cell customization.
2217 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2218 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2219 New variables.
2220 (isearch-forward, isearch-forward-regexp): Doc fix.
2221 (isearch-toggle-lax-whitespace): New command.
2222 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2223 (re-search-forward-lax-whitespace)
2224 (re-search-backward-lax-whitespace): New functions.
2225 (isearch-whitespace-regexp): Remove function.
2226 (isearch-query-replace): Let-bind replace-search-function and
2227 replace-re-search-function.
2228 (isearch-occur): Let-bind search-spaces-regexp according to the
2229 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2230 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2231 condition for C-q SPC.
2232 (isearch-search-fun-default): Use new functions mentioned above.
2233 (isearch-search-forward, isearch-search-backward): Remove functions.
2234 (isearch-search): Don't let-bind search-spaces-regexp.
2235 (isearch-lazy-highlight-space-regexp): Remove variable.
2236 (isearch-lazy-highlight-lax-whitespace)
2237 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2238 (isearch-lazy-highlight-new-loop): Use them.
2239 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2240
af7dda05
CY
22412012-09-02 Chong Yidong <cyd@gnu.org>
2242
2243 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2244
d67d3afd
GM
22452012-09-02 Glenn Morris <rgm@gnu.org>
2246
2247 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2248
69678719
GM
22492012-09-01 Glenn Morris <rgm@gnu.org>
2250
2251 * term.el: Tidy up menu definitions.
2252 (term-mode-map): Use easymenu for In/Out, Complete menus.
2253 (term-pager-break-map): Initialize in the defvar.
2254 (term-terminal-menu, term-signals-menu): Define with easymenu.
2255 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2256 (term-pager-menu): New, extracted from term-process-pager.
2257 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2258 (term-update-mode-line): Propertize line/char and page items.
2259 (term-process-pager): Move keymap initialization elsewhere.
2260
78dd6ab1
MR
22612012-09-01 Martin Rudalics <rudalics@gmx.at>
2262
2263 * window.el (switch-to-prev-buffer): Handle additional values of
2264 BURY-OR-KILL argument. Don't switch in minibuffer window.
2265 (switch-to-next-buffer): Don't switch in minibuffer window.
2266 (quit-restore-window): New function based on quit-window.
2267 Handle additional values of former KILL argument.
2268 (quit-window): Call quit-restore-window with appropriate
2269 interpretation of KILL argument.
2270 (display-buffer-below-selected): New buffer display action
2271 function.
2272
3d10e134
SM
22732012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2274
2275 * minibuffer.el (completion-at-point-functions): Complete docstring
2276 (bug#12254).
2277
0e23ef9d
PE
22782012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2279
2280 Better seed support for (random).
2281 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2282 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2283 * play/mpuz.el, play/tetris.el, play/zone.el:
2284 * calc/calc-comb.el (math-init-random-base):
2285 * play/blackbox.el (bb-init-board):
2286 * play/life.el (life):
2287 * server.el (server-use-tcp):
2288 * type-break.el (type-break):
2289 Remove unnecessary call to (random t).
2290 * net/sasl.el (sasl-unique-id-function):
2291 Change (random t) to (random), now that the latter is more random.
2292 * play/life.el (life-initialized): Remove no-longer-needed var.
2293
862382df
MR
22942012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2295
2296 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2297 Consider frame's buffer predicate when choosing the buffer.
2298 (Bug#12081)
2299
262a66e1
RS
23002012-08-30 Richard Stallman <rms@gnu.org>
2301
2302 * simple.el (special-mode-map): Delete binding for `z'.
2303
f17e1d00
AS
23042012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2305
2306 * progmodes/compile.el (compilation-always-kill): Doc fix.
2307
24777832
CY
23082012-08-30 Chong Yidong <cyd@gnu.org>
2309
2310 * window.el (display-buffer-reuse-frames): Make the obsolescence
2311 message more informative.
2312
69ba1f04
GM
23132012-08-30 Glenn Morris <rgm@gnu.org>
2314
2315 * paren.el (show-paren-delay):
2316 Add a :set function. Doc fix. (Bug#12297)
2317
f0019ede
MB
23182012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2319
2320 * progmodes/compile.el (compilation-always-kill): New var.
2321 (compilation-start): Use it.
2322
35e62fc9
SM
23232012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2324
af070a1c
SM
2325 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2326 * files.el (read-only-mode): Move to simple.el.
2327
35e62fc9
SM
2328 * files.el (read-only-mode): New minor mode.
2329 (toggle-read-only): Use it and mark obsolete.
2330 (find-file--read-only):
2331 * vc/vc.el (vc-next-action, vc-checkout):
2332 * vc/vc-cvs.el (vc-cvs-checkout):
2333 * obsolete/vc-mcvs.el (vc-mcvs-update):
2334 * ffap.el (ffap--toggle-read-only): Update callers.
2335
c2c43c23
MA
23362012-08-29 Michael Albinus <michael.albinus@gmx.de>
2337
2338 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2339 remote shell scripts.
2340 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2341
2342 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2343 "/usr/local/sbin".
2344
9fba804b
SM
23452012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2348
eada0861 23492012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2350
806f0cc7
LL
2351 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2352 completion-at-point. (Bug#12220)
2353
3bb213b9
LL
2354 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2355
22ab32ef
LL
2356 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2357
eada0861 23582012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2359
19c17fc1
CY
2360 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2361 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2362
eada0861 23632012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2364
2365 * progmodes/hideif.el (hif-compress-define-list):
2366 Fix typo. (Bug#11951)
2367
eada0861 23682012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2369
2370 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2371 buffer local setting.
2372
27d6c5a8
LL
2373 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2374 rcirc-encode-coding-system.
2375
eada0861 23762012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2377
2378 * net/rcirc.el (rcirc-split-message): New function.
2379 (rcirc-send-message): Use it. (Bug#12051)
2380
d44688e4
JL
23812012-08-28 Juri Linkov <juri@jurta.org>
2382
2383 * info.el (Info-fontify-node): Hide empty lines at the end of
2384 the node. (Bug#12272)
2385
34f10d41
MR
23862012-08-27 Drew Adams <drew.adams@oracle.com>
2387
2388 * dired.el (dired-pop-to-buffer): Make window start at beginning
2389 of buffer (Bug#12281).
2390
77f1f99c
CY
23912012-08-26 Chong Yidong <cyd@gnu.org>
2392
2393 * window.el (special-display-regexps, special-display-frame-alist)
2394 (special-display-buffer-names, special-display-function)
2395 (display-buffer-reuse-frames): Mark as obsolete.
2396
2397 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2398
2399 * help.el (help-print-return-message): Don't treat
2400 display-buffer-reuse-frames specially.
2401
d97af5a0
CY
24022012-08-26 Chong Yidong <cyd@gnu.org>
2403
9fba804b
SM
2404 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2405 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2406 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2407 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2408 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2409 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2410 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2411 the functions directly with gdb-display-buffer-other-frame-action.
2412 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2413 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2414 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2415 (gdb-display-registers-buffer): Define directly.
2416 (def-gdb-display-buffer): Macro deleted.
2417 (gdb-display-buffer): Remove second and third args, callers don't
2418 use them. Defer to the default display-buffer behavior, apart
2419 from making windows dedicated.
2420 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2421
2422 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2423
2424 * window.el (display-buffer-pop-up-frame): Handle a
2425 pop-up-frame-parameters alist entry.
2426 (display-buffer): Document it.
2427
dd7ffad6
CY
24282012-08-26 Chong Yidong <cyd@gnu.org>
2429
2430 * isearch.el (search-whitespace-regexp): Make string and nil
2431 values apply to both ordinary and regexp search. Allow a cons
2432 cell value to distinguish between the two.
2433 (isearch-whitespace-regexp, isearch-search-forward)
2434 (isearch-search-backward): New functions.
2435 (isearch-occur, isearch-search-fun-default, isearch-search)
2436 (isearch-lazy-highlight-new-loop): Use them.
2437 (isearch-forward, isearch-forward-regexp): Doc fix.
2438
4c47bd1e
CY
24392012-08-26 Chong Yidong <cyd@gnu.org>
2440
2441 * faces.el (help-argument-name): Always inherit from italic
2442 (Bug#12213).
2443
9aba119d
MR
24442012-08-25 Martin Rudalics <rudalics@gmx.at>
2445
2446 * window.el (window--even-window-heights): Even heights when
2447 WINDOW and the selected window form a vertical combination.
2448 (display-buffer-use-some-window): Provide that window used gets
2449 sized back by quit-window. (Bug#11880) and (Bug#12091)
2450
ca5256ad
PE
24512012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2452
2453 Fix file time stamp problem with bzr and CVS (Bug#12001).
2454 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2455 in the file's time stamp, since the version control system loses
2456 that information.
2457
d1c0d176
JL
24582012-08-22 Juri Linkov <juri@jurta.org>
2459
2460 * info.el (Info-fontify-node): Hide the suffix of the
2461 Info file name in the header line. (Bug#12187)
2462
141562ff
GM
24632012-08-22 Glenn Morris <rgm@gnu.org>
2464
2465 * calendar/cal-tex.el (cal-tex-weekly-common):
2466 Restore leading blank page.
2467
61a48e19 24682012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2469
2470 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2471 the region under `shift-select-mode'. (Bug#12231)
2472
24732012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2474
2475 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2476 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2477 gives details on why the space is never needed.
2478
ea95074e
MR
24792012-08-22 Martin Rudalics <rudalics@gmx.at>
2480
9fba804b
SM
2481 * window.el (walk-window-tree, window-with-parameter):
2482 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2483 should run on the minibuffer window.
2484 (window-at-side-list): Don't operate on minibuffer window.
2485 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2486 (window--size-ignore): Rename to window--size-ignore-p.
2487 Update callers.
caceae25
MR
2488 (display-buffer-in-atom-window, window--major-non-side-window)
2489 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2490 (delete-side-window, display-buffer-in-side-window):
2491 New functions.
caceae25
MR
2492 (window--side-check, window-deletable-p, delete-window)
2493 (delete-other-windows, split-window): Handle side windows and
2494 atomic windows appropriately.
2495 (window--display-buffer): Call display-buffer-record-window also
2496 when the window buffer did not change.
ea95074e 2497
80a51fa0
CS
24982012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2499
2500 * help-fns.el (help-fns--key-bindings):
2501 Abbreviate non-symbol remap targets. (Bug#12174)
2502
fbb6300b
MR
25032012-08-22 Martin Rudalics <rudalics@gmx.at>
2504
2505 * dired.el (dired-mark-remembered): Don't clobber point.
2506 (Bug#11795)
2507
2b2c0794
GM
25082012-08-22 Glenn Morris <rgm@gnu.org>
2509
2510 * progmodes/bug-reference.el (bug-reference): New custom group.
2511 (bug-reference-bug-regexp): Make it a defcustom.
2512
37219830
DU
25132012-08-22 Daiki Ueno <ueno@unixuser.org>
2514
2515 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2516 (js-paren-indent-offset, js-square-indent-offset)
2517 (js-curly-indent-offset): Add :safe (Bug#12257).
2518
94e0e559
EC
25192012-08-22 Edward O'Connor <hober0@gmail.com>
2520
2521 * json.el (json-key-format): Add error properties.
2522 (json-encode-key): New function.
2523 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2524 Use json-encode-key.
2525
da485f5e
GM
25262012-08-22 Glenn Morris <rgm@gnu.org>
2527
2528 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2529 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2530 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2531 Update for above change.
2532
c6cc78b8
AS
25332012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2534
2535 * cus-face.el (custom-face-attributes): Fix customize type for the
2536 :underline attribute. (Bug#11805)
2537
5481664a
MR
25382012-08-21 Martin Rudalics <rudalics@gmx.at>
2539
2540 * window.el (window-point-1, set-window-point-1): Remove.
2541 (window-in-direction, record-window-buffer)
2542 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2543 (window--state-get-1, display-buffer-record-window):
2544 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2545 window-point and set-window-point respectively.
2546
6d74698e
GM
25472012-08-21 Glenn Morris <rgm@gnu.org>
2548
b7fa2691
GM
2549 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2550 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2551 Use it.
2552
52f56d5a
GM
2553 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2554 (cal-tex-shortday): New function.
2555 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2556 (cal-tex-cursor-filofax-daily): Use the above.
2557
9f1ee09e
GM
2558 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2559 New functions.
2560 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2561 (cal-tex-cursor-filofax-week): Use them.
2562
79858159
GM
2563 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2564 New constants.
2565 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2566 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2567
d346b2b4
GM
2568 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2569 (cal-tex-end-document): Don't rely on buffer name.
2570
b2403709
GM
2571 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2572 Use cal-tex-vspace.
2573 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2574 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2575 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2576 Use cal-tex-arg.
b2403709 2577
1cebb5c0
GM
2578 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2579 (cal-tex-cursor-week, cal-tex-cursor-week2)
2580 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2581 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2582 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2583 (cal-tex-insert-preamble, cal-tex-b-document)
2584 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2585 Improve cal-tex-cmd usage.
2586
c68cd5d4
GM
2587 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2588 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2589 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2590 (cal-tex-weekly-paper): New function.
2591 (cal-tex-cursor-week, cal-tex-cursor-week2)
2592 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2593 (cal-tex-cursor-day): Use it.
2594
9dca4801
GM
2595 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2596 (cal-tex-cursor-filofax-week): Remove leading blank page.
2597
1941e134
GM
2598 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2599 Add autoload cookie. For now at least, don't use color, since
2600 no other cal-tex function does.
2601
6d74698e
GM
2602 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2603 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2604 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2605
64cde199
JL
26062012-08-21 Juri Linkov <juri@jurta.org>
2607
2608 * info.el (Info-file-attributes): New variable.
2609 (info-insert-file-contents): Add file attributes to
2610 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2611 `Info-toc-nodes' when previous modtime of the Info file is less
2612 than new modtime.
2613 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2614 of info.el. (Bug#12230)
2615
32757648
GM
26162012-08-20 Glenn Morris <rgm@gnu.org>
2617
2618 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2619 * calendar/holidays.el (calendar-holiday-list):
2620 Report errors with display-warning rather than beep'n'sleep.
2621
a32fbbcf
MA
26222012-08-20 Michael Albinus <michael.albinus@gmx.de>
2623
2624 * net/tramp.el (tramp-accept-process-output): Accept only output
2625 from PROC. Otherwise, process filters and sentinels might be
2626 confused. (Bug#12145)
2627
a05731a0
CY
26282012-08-20 Chong Yidong <cyd@gnu.org>
2629
2630 * descr-text.el (describe-text-properties-1): Use overlays-in to
2631 report on empty overlays (Bug#3322).
2632
36e8d1eb
GM
26332012-08-20 Glenn Morris <rgm@gnu.org>
2634
3d300447
GM
2635 * mail/rmailout.el (rmail-output-read-file-name):
2636 Trap and report errors in rmail-output-file-alist elements.
2637
36e8d1eb
GM
2638 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2639 since most non-font-lock faces are not also variables).
2640
b96e5814
ER
26412012-08-20 Edward Reingold <reingold@iit.edu>
2642
2643 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2644 New function. (Bug12160)
2645
7cef3569
GM
26462012-08-19 Glenn Morris <rgm@gnu.org>
2647
2648 * mail/rmailout.el (rmail-output-read-file-name):
2649 Fix previous change (when the alist is nil or does not match).
2650
17975d7f
CY
26512012-08-19 Chong Yidong <cyd@gnu.org>
2652
2653 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2654 (Bug#12228).
2655
2170b1bd
CY
26562012-08-18 Chong Yidong <cyd@gnu.org>
2657
2658 * simple.el (yank-handled-properties): New defcustom.
2659 (yank-excluded-properties): Add font-lock-face and category.
2660 (yank): Doc fix.
2661
9fba804b
SM
2662 * subr.el (remove-yank-excluded-properties):
2663 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2664 and category is now done this way, instead of being hard-coded.
2665 (insert-for-yank-1): Remove font-lock-face handling.
2666 (yank-handle-font-lock-face-property)
2667 (yank-handle-category-property): New function.
2668
ee218151
GM
26692012-08-17 Glenn Morris <rgm@gnu.org>
2670
2671 * mail/rmailout.el (rmail-output-read-file-name):
2672 Check rmail-output-file-alist against the full message body
2673 in the correct rmail buffer. (Bug#12214)
2674
4a6bc3fd
MA
26752012-08-17 Michael Albinus <michael.albinus@gmx.de>
2676
9fba804b
SM
2677 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2678 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2679
383dcbf9
CY
26802012-08-17 Chong Yidong <cyd@gnu.org>
2681
2682 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2683 font spec, set the font directly (Bug#3228).
2684
998c4a6a
MR
26852012-08-17 Martin Rudalics <rudalics@gmx.at>
2686
2687 * window.el (delete-window): Fix last fix.
2688
52162052
MR
26892012-08-16 Martin Rudalics <rudalics@gmx.at>
2690
2691 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2692 (window-child, window-child-count, window-last-child)
2693 (window-normalize-window, window-combined-p)
2694 (window-combinations, window-atom-root, window-min-size)
2695 (window-sizable, window-sizable-p, window-size-fixed-p)
2696 (window-min-delta, window-max-delta, window--resizable)
2697 (window--resizable-p, window-resizable, window-total-size)
2698 (window-full-height-p, window-full-width-p, window-body-size)
2699 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2700 (minimize-window, window-deletable-p, delete-window)
2701 (delete-other-windows, set-window-buffer-start-and-point)
2702 (next-buffer, previous-buffer, split-window, balance-windows-2)
2703 (set-window-text-height, window-buffer-height)
2704 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2705 (truncated-partial-width-window-p): Minor code adjustments.
2706 In doc-strings state whether the argument window has to denote a
85c2386b 2707 live, valid or any window.
52162052 2708
1c308380
PS
27092012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2710
2711 * progmodes/subword.el (subword-forward-function)
2712 (subword-backward-function, subword-forward-regexp)
2713 (subword-backward-regexp): New variables.
2714 (subword-forward, subword-forward-internal, subword-backward-internal):
2715 Use new variables, eg so that different "word" definitions
2716 can be easily used. (Bug#11411)
2717
94c9ece1
SM
27182012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2719
2720 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2721 for composite selectors.
2722 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2723 operation just because we can't find a previous revision.
2724
f2045622
CY
27252012-08-15 Chong Yidong <cyd@gnu.org>
2726
2727 * frame.el (set-frame-font): Accept font objects.
2728
582db660
SM
27292012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2732
2f29c200
WJ
27332012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2734
456e62c2
WJ
2735 * man.el (Man-overstrike-face, Man-underline-face)
2736 (Man-reverse-face): Remove variables.
2737 (Man-overstrike, Man-underline, Man-reverse): New faces.
2738 (Man-fontify-manpage): Use them instead of the variables.
2739 (Man-cleanup-manpage): Comment change.
2740 (Man-ansi-color-map): New variable.
2741 (Man-fontify-manpage): Use it.
2742 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2743
2f29c200
WJ
2744 Implement ANSI SGR parameters 22-27 (bug#12146).
2745 * ansi-color.el (ansi-colors): Doc fix.
2746 (ansi-color-context, ansi-color-context-region): Doc fix.
2747 (ansi-color--find-face): New function.
2748 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2749 Rename the local variable `face' to `codes' since it is now a list of
2750 ansi codes. Doc fix.
2751 (ansi-color-get-face): Remove.
2752 (ansi-color-parse-sequence): New function, derived from
2753 ansi-color-get-face.
2754 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2755 codes 22-27.
2756
b4f5e9df
SM
27572012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * subr.el (read-passwd): Allow use from a minibuffer.
2760
ba025fbd
EZ
27612012-08-14 Eli Zaretskii <eliz@gnu.org>
2762
2763 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2764 inside comments and strings as identifiers.
2765
2766 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2767 expression to evaluate. This allows to evaluate expressions with
2768 embedded whitespace.
2769 (gud-tooltip-tips): Add a blank before the newline in the
2770 message-box text, for the benefit of message-box emulation on
2771 MS-Windows.
2772
2773 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2774 messages from GDB, pop them up in a tooltip to give feedback to
2775 user.
b4f5e9df
SM
2776 (gdb-tooltip-print-1): Quote the expression to evaluate.
2777 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2778 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2779 if the TTY name is nil or empty (which happens when communicating
2780 with the inferior via pipes, e.g. on MS-Windows).
2781 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2782 don't send that to the GUD buffer.
2783
c548f821
GM
27842012-08-14 Glenn Morris <rgm@gnu.org>
2785
2786 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2787 Optimize away setq-default with no args, as for setq. (Bug#12195)
2788
55802e4a
CY
27892012-08-14 Chong Yidong <cyd@gnu.org>
2790
4abcdac8
CY
2791 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2792
55802e4a
CY
2793 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2794 (Bug#12085).
2795
3c3cda1a
GM
27962012-08-14 Glenn Morris <rgm@gnu.org>
2797
2798 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2799
e1873bd0
MA
28002012-08-14 Michael Albinus <michael.albinus@gmx.de>
2801
2802 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2803 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2804 Use cached shell name.
2805
925411b4
FEG
28062012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2807
2808 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2809 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2810
e636fafe
DG
28112012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2812
2813 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2814 (ruby-percent-literal-beg-re): New constant.
2815 (ruby-syntax-general-delimiters-goto-beg): Rename to
2816 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2817 (ruby-syntax-propertize-general-delimiters): Rename to
2818 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2819 popular term. Adjust comments everywhere.
2820 (ruby-syntax-propertize-percent-literal): Only propertize when not
2821 inside a simple string or comment. When the literal is unclosed,
2822 leave the text after it unpropertized.
f063063a
DG
2823 (ruby-syntax-methods-before-regexp): New constant.
2824 (ruby-syntax-propertize-function): Use it to recognize regexps.
2825 Don't look at the text after regexp, just use the whitelist.
e636fafe 2826
e5b19827
AS
28272012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2828
2829 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2830 non-nil always load the compiled file if it exists. (Bug#12197)
2831
a9f6f311
CY
28322012-08-14 Chong Yidong <cyd@gnu.org>
2833
2834 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2835 (hi-lock-set-pattern): When deciding whether to use font lock or
2836 overlays, look at font-lock-mode instead of font-lock-fontified
2837 (Bug#12168).
2838 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2839 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2840
7d806b1e
DU
28412012-08-14 Daiki Ueno <ueno@unixuser.org>
2842
2843 * subr.el (internal--after-with-selected-window): Fix typo
2844 (Bug#12193).
2845
5beed586
FEG
28462012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2847
2848 Use `completion-table-dynamic' for completion functions.
2849 * progmodes/python.el
2850 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2851 (python-shell-completion--get-completions):
2852 Remove functions.
5beed586
FEG
2853 (python-shell-completion-complete-at-point): New function.
2854 (python-completion-complete-at-point): Use it.
2855
92cb3b04
J
28562012-08-13 Jambunathan K <kjambunathan@gmail.com>
2857
2858 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2859 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2860
89660017
SM
28612012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2862
3c98c962
SM
2863 * subr.el (function-get): Refine `autoload' arg so it can also
2864 autoload functions for gv.el (bug#12191).
2865 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2866 autoloads macros.
2867
aa7c6dbe
SM
2868 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2869 Prefer pcase-let over destructuring-bind.
2870 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2871 Also, remove whitespace as we go, rather than after accumulating the
2872 various places.
2873
89660017
SM
2874 * subr.el (internal--before-with-selected-window)
2875 (internal--after-with-selected-window): Fix typo seleted->selected.
2876 (with-selected-window): Adjust callers.
2877 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2878
31cd32c9
BG
28792012-08-13 Bastien Guerry <bzg@gnu.org>
2880
0fcd3d9f 2881 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2882 enhancement. (Bug#12172)
2883
1b15d8ad
AS
28842012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2885
31e54db0
AS
2886 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2887 type 1-6.
2888 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2889 extended headers.
2890
1b15d8ad
AS
2891 * files.el (hack-local-variables-filter): Remove useless eval.
2892
35cb9c06
MR
28932012-08-13 Martin Rudalics <rudalics@gmx.at>
2894
2895 * subr.el (with-selected-window): Fix last change.
2896
1439443b
SM
28972012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2898
2899 * subr.el (internal--before-with-seleted-window)
2900 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2901 (with-selected-window): Use them, to replace dependency on
2902 tty-top-frame.
1439443b 2903
0d9e2599
NN
29042012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2905
2906 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2907 binding for `newline'.
2908 (ruby-move-to-block): When moving backward, stop at block opening,
2909 not indentation.
2910 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2911 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2912 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2913 `ruby-toggle-block'.
2914
ba10c48c
SM
29152012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2916
2917 * ibuffer.el (ibuffer-do-toggle-read-only):
2918 * dired.el (dired-toggle-read-only):
2919 * buff-menu.el (Buffer-menu-toggle-read-only):
2920 * bindings.el (mode-line-toggle-read-only):
2921 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2922
9229c658
AS
29232012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2924
2925 * descr-text.el (describe-char): Put the overlays over the
2926 "displayed as" character.
2927
0fd09128
JB
29282012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2929
2930 * calc/calc-units.el (math-default-units-table): Give an
2931 initial value.
2932 (math-put-default-units): Add options to put composite units and
2933 unit systems in the default units table.
2934 (calc-convert-units): Send composite units to
2935 `math-put-default-units' when appropriate.
2936
9ff9402d 29372012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2938
fbb5e336
GM
2939 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2940
7aacaf15
GM
2941 * tutorial.el (help-with-tutorial):
2942 * emacs-lisp/copyright.el (copyright-update-directory):
2943 * emacs-lisp/autoload.el (autoload-find-generated-file)
2944 (autoload-find-file): Disable local eval: (for insurance).
2945
f40b9f10
GM
2946 * files.el (hack-local-variables-filter): If an eval: form is not
2947 known to be safe, and enable-local-variables is :safe, then ignore
2948 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2949 This is CVE-2012-3479.
f40b9f10 2950
daa9f1a6
SM
29512012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2954 (rx-form): Simplify.
2955
9cd80478
DG
29562012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2957
0d9e2599
NN
2958 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2959 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2960 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2961 (ruby-syntax-propertize-function): Adjust for changes in
2962 `ruby-syntax-propertize-heredoc'.
2963
29642012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2965
9cd80478
DG
2966 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2967 binding (use `M-;' instead).
9cd80478 2968 (ruby-singleton-class-p): New function.
0d9e2599 2969 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2970
d301b413
SM
29712012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2972
2973 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2974
1530c98e
CY
29752012-08-10 Chong Yidong <cyd@gnu.org>
2976
2977 * progmodes/python.el (python-shell-get-process-name): Don't mess
2978 with same-window-buffer-names.
2979
2980 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2981 (eshell-remove-from-window-buffer-names): Make obsolete.
2982 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2983 (eshell): Just use pop-to-buffer-same-window instead.
2984
e1293765
CY
29852012-08-10 Chong Yidong <cyd@gnu.org>
2986
2987 * bindings.el: Bind M-= back to count-words-region.
2988
2989 * simple.el (count-words-region): Accept a prefix arg for acting
2990 on the entire buffer.
2991 (count-words--buffer-message): New helper function.
2992
e1894109
SM
29932012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2994
2995 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2996 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2997 (event-start, event-end): Use posn-at-point to return a more
2998 informative posn.
2999 (posnp): New function.
3000 * mouse.el (popup-menu-normalize-position): Use it.
3001
c69f56a2
MY
30022012-08-10 Masatake YAMATO <yamato@redhat.com>
3003
3004 * mouse.el (popup-menu-normalize-position): New function.
3005 (popup-menu): Use `popup-menu-normalize-position' to normalize
3006 the form for POSITION argument.
3007
3008 * term/x-win.el (x-menu-bar-open):
3009 Use the value returend from (posn-at-point) as position
3010 passed to `popup-menu'.
3011
31673780
JB
30122012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3013
3014 * calc/calccomp.el (math-compose-expr): Add extra argument
3015 indicating that parentheses should be put around products in
3016 denominators. Give multiplication precedence over division during
3017 composition.
3018
dab7711b
CY
30192012-08-09 Chong Yidong <cyd@gnu.org>
3020
dee4ef93
CY
3021 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3022 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3023 (Man-untabify-command, manual-program): Convert to defcustom
3024 (Bug#10429).
3025
73e2bbc5
CY
3026 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3027
3e861c8a
CY
3028 * descr-text.el (describe-char): Don't insert extra newlines
3029 (Bug#10127).
3030
a9f5a649
CY
3031 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3032 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3033
dab7711b
CY
3034 * align.el (align-region): Delete temporary markers (Bug#10047).
3035 Plus some code cleanups.
3036
e0cc4efa
FEG
30372012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3038
3039 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3040 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3041 (python-shell-internal-last-output): Use make-local-variable
3042 instead of make-variable-buffer-local.
3043
489af14f
FEG
30442012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3045
3046 * progmodes/python.el: Enhancements to forward-sexp.
3047 (python-nav-forward-sexp): Rename from
3048 python-nav-forward-sexp-function.
c69f56a2
MY
3049 (python-nav--forward-sexp, python-nav--backward-sexp):
3050 New functions.
489af14f 3051
0fc50303
JB
30522012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3053
3054 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3055 modes and simplification modes.
3056
5d65606a
SM
30572012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * delsel.el (delete-selection-pre-hook): Don't propagate the
3060 file-supersession signals (bug#12161).
3061
4250fdf5
SM
30622012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3063
3064 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3065 (cl-map-extents): Add compatibility aliases (bug#12135).
3066
d9f9b465
MA
30672012-08-08 Michael Albinus <michael.albinus@gmx.de>
3068
3069 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3070 tests by `ignore-error'.
3071 (tramp-find-shell): Open also a new shell, when cache is already
3072 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3073
ce0fcefa
JL
30742012-08-08 Juri Linkov <juri@jurta.org>
3075
3076 * bookmark.el: Add `defaults' property to the bookmark record.
3077 (bookmark-current-buffer): Doc fix.
3078 (bookmark-make-record): Add `defaults' property with default values
3079 to the bookmark record.
3080 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3081 with `bookmark-insert-current-bookmark'.
3082 (bookmark-set): Get `defaults' property from the bookmark record
3083 and use it in `read-from-minibuffer'.
3084 (bookmark-insert-current-bookmark): Remove function.
3085
3086 * info.el (Info-bookmark-make-record): Add `defaults' property
3087 with values of canonical Info node name, the current Info file
3088 name and the current Info node name. (Bug#12107)
3089
53fa8652
JL
30902012-08-08 Juri Linkov <juri@jurta.org>
3091
3092 * files.el (basic-save-buffer): Use `buffer-name' as the default
3093 of `read-file-name' when buffer is not visiting a file (bug#12128).
3094
242c0a95
JL
30952012-08-08 Juri Linkov <juri@jurta.org>
3096
3097 * info.el (Info-isearch-search): Doc fix.
3098 (Info-search): Change search-failed message from "initial node" to
3099 "end of node" (bug#12078).
3100 (Info-isearch-search): Change `isearch-string-state' to
3101 `isearch--state-string'.
3102
32ac3a6b
GM
31032012-08-08 Glenn Morris <rgm@gnu.org>
3104
3105 * language/persian.el: Remove file.
f8c1afd5 3106 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3107 * loadup.el: Remove language/persian.
3108
2c2d9c9c
OF
31092012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3110
3111 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3112
2d79ec42
FEG
31132012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3114
3115 * progmodes/python.el Fixed defsubst warning.
3116 (python-syntax-context) Rename from python-info-ppss-context.
3117 (python-syntax-context-type): Rename from
3118 python-info-ppss-context-type.
3119 (python-syntax-comment-or-string-p): Rename from
3120 python-info-ppss-comment-or-string-p.
3121
2bd255dd
JB
31222012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3123
3124 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3125
c395097f
AS
31262012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3127
6125983e
AS
3128 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3129 a defcustom that is quoted with backquote.
3130
4250fdf5
SM
3131 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3132 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3133 (math-do-arg-check, math-define-function-body): Use backquote forms.
3134 * calc/calc-ext.el (math-defcache): Likewise.
3135 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3136 * allout.el (allout-new-exposure): Likewise.
3137 * calc/calcalg2.el (math-tracing-integral): Likewise.
3138 * info.el (Info-last-menu-item): Likewise.
3139 * emulation/vip.el (vip-loop): Likewise.
3140 * textmodes/artist.el (artist-funcall): Likewise.
3141 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3142 Construct menu-item directly.
3143
4250fdf5
SM
3144 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3145 Don't declare.
c395097f 3146
5fb50dd3
CY
31472012-08-07 Chong Yidong <cyd@gnu.org>
3148
3149 * simple.el (deactivate-mark): Preserve text properties when
3150 saving the primary selection (Bug#8384).
3151
54eea618
KR
31522012-08-07 Kevin Ryde <user42@zip.com.au>
3153
3154 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3155 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3156 and continue processing (Bug#12110).
3157
638eaeb9
SM
31582012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3159
3160 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3161 syntax-propertize-function (bug#10095).
3162
ea376861
SM
31632012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3164
f91b35be
SM
3165 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3166 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3167 describe-function-1.
3168 (describe-function-1): Use them. Move compiler macro after sig.
3169 (help-fns--compiler-macro): Use function-get. Assume we're already in
3170 standard-output. Adjust layout to new call order.
3171
ea376861
SM
3172 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3173 re-binding a symbol that has a symbol-macro (bug#12119).
3174
d5be7bd0
MB
31752012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3176
3177 * language/persian.el: New file. (Bug#11812)
3178 * loadup.el: Add language/persian.el.
3179
90749b53
CY
31802012-08-06 Chong Yidong <cyd@gnu.org>
3181
3182 * window.el (window--maybe-raise-frame): New function.
3183 (window--display-buffer): Split off from here.
3184 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3185 (display-buffer-pop-up-window, display-buffer-use-some-window):
3186 Obey an inhibit-switch-frame action alist entry.
3187 (display-buffer): Update doc.
3188
3189 * replace.el (occur-after-change-function): Avoid losing focus by
3190 using the inhibit-switch-frame display parameter (Bug#12139).
3191
ba7b0154
FEG
31922012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3193
3194 Make internal shell process buffer names start with space.
3195 * progmodes/python.el (python-shell-make-comint): Add optional
3196 argument INTERNAL.
3197 (run-python-internal): Use it.
3198 (python-shell-internal-get-or-create-process): Check for new
3199 internal buffer names.
3200
5eaeacb5
GM
32012012-08-06 Glenn Morris <rgm@gnu.org>
3202
e296d94b 3203 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3204 Do less getting and setting of environment variables.
3205
b7ccbdc2
CY
32062012-08-05 Chong Yidong <cyd@gnu.org>
3207
777fe95e
CY
3208 * proced.el (proced): Add substitution string to docstring to
3209 trigger autoloading of the proced library on C-h f (Bug#1768).
3210
4250fdf5
SM
3211 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3212 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3213
3214 * imenu.el (imenu-generic-expression): Move documentation here
3215 from imenu--generic-function.
3216 (imenu--generic-function): Refer to imenu-generic-expression.
3217
9e3b7800 32182012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3219
3220 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3221 indentation declaration.
3222 (viper-loop): Add indentation declaration (Bug#7025).
3223
e5d9c0d1
CY
32242012-08-05 Chong Yidong <cyd@gnu.org>
3225
f0422feb
CY
3226 * help-fns.el (describe-variable): Add hyperlink for
3227 directory-local variables files. Improve buffer-local and
3228 permanent-local reporting; suggested by MON KEY (Bug#6644).
3229
3230 * help-mode.el (help-dir-local-var-def): New button type.
3231
e5d9c0d1
CY
3232 * files.el (kill-buffer-hook): Provide a defvar.
3233
a4f2deaa
GM
32342012-08-05 Glenn Morris <rgm@gnu.org>
3235
3236 * eshell/esh-ext.el (eshell/addpath):
3237 Also update eshell-path-env. (Bug#12013)
3238
a9dd5754
CY
32392012-08-05 Chong Yidong <cyd@gnu.org>
3240
a4f2deaa 3241 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3242
d014c740
CY
3243 * fringe.el (fringe-styles): Add docstring.
3244 (fringe--check-mode): New function.
3245 (set-fringe-mode, set-fringe-style): Use it.
3246 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3247
a9dd5754
CY
3248 * files.el (set-auto-mode): Fix invalid setq call.
3249
7c2dc8bd
SM
32502012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3251
3252 * isearch.el: Misc simplification; use defstruct.
3253 (isearch-mode-map): Dense maps now work like sparse ones.
3254 (isearch--state): New defstruct.
3255 (isearch-string-state, isearch-message-state, isearch-point-state)
3256 (isearch-success-state, isearch-forward-state)
3257 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3258 (isearch-wrapped-state, isearch-barrier-state)
3259 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3260 replaced by defstruct's accessors.
3261 (isearch--set-state): Rename from isearch-top-state and change
3262 calling convention.
3263 (isearch-push-state): Use new isearch--get-state.
3264 (isearch-toggle-word): Disable regexp when enabling word.
3265 (isearch-message-prefix): Remove unused arg _c-q-hack.
3266 (isearch-message-suffix): Remove unused arg _ellipsis.
3267
7fcc0070
AS
32682012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3269
3270 * simple.el (list-processes--refresh): For a server use :host or
3271 :local as the address.
97ad0769 3272 (list-processes): Doc fix.
7fcc0070 3273
a11035b8 32742012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3275
3276 * lisp/mpc.el: Support password in host argument.
3277 (mpc--proc-connect): Parse and use new password element.
3278 Set mpc-proc variable instead of returning process.
3279 (mpc-proc): Adjust accordingly.
3280
6dad7178
EZ
32812012-08-03 Eli Zaretskii <eliz@gnu.org>
3282
18949c2f
EZ
3283 * whitespace.el (whitespace-display-mappings): Use Unicode
3284 codepoints, instead of emacs-mule codepoints. See
3285 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3286 for the details.
3287
6dad7178
EZ
3288 * files.el (file-truename): Don't skip symlink-chasing part on
3289 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3290 Windows into the loop that recursively chases symlinks.
3291 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3292 MS-DOS.
3293
385b0198
CY
32942012-08-03 Chong Yidong <cyd@gnu.org>
3295
6200f3c4
CY
3296 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3297
385b0198
CY
3298 * sort.el (sort-regexp-fields): Doc fix.
3299
b9e74744
TH
33002012-08-03 Tassilo Horn <tsdh@gnu.org>
3301
3302 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3303 labels regex position point at the expected place.
3304
41013cb4
MK
33052012-08-03 MON KEY <monkey@sandpframing.com>
3306
3307 * net/imap.el (imap-interactive-login, imap-authenticate)
3308 (imap-mailbox-lsub, imap-mailbox-list)
3309 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3310 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3311 (imap-parse-response): Doc fix.
3312
0ffee616
JT
33132012-08-03 João Távora <joaotavora@gmail.com>
3314
3315 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3316 if sexp scanning does not move point (Bug#5734).
3317
cfcc9cc8
TH
33182012-08-02 Tassilo Horn <tsdh@gnu.org>
3319
3320 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3321 Add listings, minted, and ctable packages.
3322 (reftex-label-alist-builtin): Move listings, minted, and ctable
3323 entries before LaTeX.
a01bbb84 3324 (reftex-label-alist): Docfix.
cfcc9cc8 3325
66ec2442
BG
33262012-08-02 Bastien Guerry <bzg@gnu.org>
3327
3328 * replace.el (occur): Fix docstring (bug#12122).
3329
837b365b
GM
33302012-08-02 Glenn Morris <rgm@gnu.org>
3331
3332 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3333
e098de97
PE
33342012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3335
3336 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3337 * international/mule-cmds.el: Create
3338 inactivate-current-input-method-function as an obsolete alias for
3339 deactivate-current-input-method-function. See Katsumi Yamaoka in
3340 <http://bugs.gnu.org/10150#46>.
3341
a0f95636
JB
33422012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3343
3344 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3345 of nested `if's.
3346
0d26d7c4
GM
33472012-08-01 Glenn Morris <rgm@gnu.org>
3348
3349 * progmodes/autoconf.el (autoconf-definition-regexp):
3350 Add AH_TEMPLATE, adjust submatch numbering.
3351 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3352 (autoconf-current-defun-function): Update for above change.
3353 (autoconf-current-defun-function): First skip to end of current word.
3354
b686ba06
RS
33552012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3356
3357 * calendar/cal-html.el (cal-html-insert-agenda-days):
3358 Fix typo. (Bug#12018)
3359
0d49da68
FEG
33602012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3361
3362 Shell processes: enhancements to startup and CEDET compatibility.
3363 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3364 (python-shell-make-comint): accept-process-output at startup.
3365 (run-python-internal): Set inferior-python-mode-hook to nil.
3366 (python-shell-internal-get-or-create-process): call sit-for.
3367 (python-preoutput-result): Add obsolete alias.
3368 (python-shell-internal-send-string): Use it.
3369 (python-shell-send-setup-code): Remove call to
3370 accept-process-output.
3371
f1a71c6e
AS
33722012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3373
3374 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3375 (Bug#12108)
3376
d2605269
JB
33772012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3378
3379 * calc-mode.el (calc-basic-simplification-mode): Rename from
3380 `calc-limited-simplification-mode'.
3381 (calc-alg-simplification-mode): New function.
fc0c31f8 3382 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3383
d2605269
JB
3384 * calc.el (calc-set-mode-line): Adjust mode line display for
3385 basic simplification mode.
3386
3387 * calc-help.el (calc-m-prefix-help): Update help message.
3388
3389 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3390 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3391
a3827a43
BG
33922012-07-31 Bastien Guerry <bzg@gnu.org>
3393
3394 * man.el (man): Fix comment. (bug#12101)
3395
502e3f89
MR
33962012-07-31 Martin Rudalics <rudalics@gmx.at>
3397
3398 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3399 Don't return a non-nil value when no suitable buffer was found.
3400
d7714961
FEG
34012012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3402
3403 * progmodes/python.el (run-python-internal): Disable font lock for
3404 internal shells.
3405
1f45e27e
SM
34062012-07-30 Stefan Merten <smerten@oekonux.de>
3407
70efc5c9 3408 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3409 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3410 (rst-official-version, rst-official-cvs-rev)
3411 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3412 (rst-mode-map): New key binding.
3413
0aee6912
PE
34142012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3415
3416 Update .PHONY listings in makefiles.
3417 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3418 autoloads, update-subdirs, updates, bzr-update, update-authors,
3419 compile-onefile, compile-calc, backup-compiled-files,
3420 compile-after-backup, compile-one-process, mh-autoloads,
3421 bootstrap-clean, distclean, maintainer-clean.
3422
9052f9f0
JB
34232012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3424
1823ac5a
JB
3425 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3426 (calc-set-mode-line): Don't display "AlgSimp ".
3427
3428 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3429 (calc-lim-simplify-mode): New function.
3430 (calc-set-simplify-mode): Default to 'alg.
3431 (calc-default-simplify-mode): Make algebraic simplifications
3432 the default.
3433
3434 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3435 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3436
8d7c7eed 3437 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3438 indicate new simplification modes.
3439
1823ac5a
JB
3440 * calc/README: Mention new default simplification mode.
3441
9052f9f0
JB
3442 * calc/calc.el (math-normalize-error): New variable.
3443 (math-normalize): Set `math-normalize-error' to t
3444 when there's an error.
3445
3446 * calc/calc-alg.el (math-simplify): Don't simplify when
3447 `math-normalize' returns an error.
3448
20ba0cb4
EZ
34492012-07-29 Eli Zaretskii <eliz@gnu.org>
3450
3451 * international/mule-cmds.el (set-locale-environment): Revert last
3452 change, since display-graphic-p returns nil when this function is
3453 called during startup. Instead...
3454
3455 * term/w32console.el (terminal-init-w32console): ...setup the
3456 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3457
a5dcc929
JL
34582012-07-29 Juri Linkov <juri@jurta.org>
3459
3460 * simple.el (goto-line): Don't display default line number in the
3461 prompt because it should be displayed by `read-number' (bug#9952).
3462 Add the current line number to the defaults of `goto-line' to
3463 allow its easier modification by users with `M-n' (bug#9201).
3464
3465 * subr.el (read-number): Support multiple default values like in
3466 other minibuffer reading functions. Replace `read' with
3467 `string-to-number' for consistency with `number-to-string'.
3468
72b255c7
PE
34692012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3470
3471 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3472 * emulation/viper-init.el (viper-deactivate-input-method-action):
3473 Rename from viper-inactivate-input-method-action.
3474 (viper-deactivate-input-method):
3475 Rename from viper-inactivate-input-method.
3476 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3477 * international/mule-cmds.el (deactivate-input-method):
3478 Rename from inactivate-input-method.
3479 Also run input-method-deactivate-hook.
3480 (deactivate-current-input-method-function):
3481 Rename from inactivate-current-input-method-function.
3482 (input-method-deactivate-hook): New hook.
3483 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3484 (inactivate-input-method): Mark obsolete.
3485
72b255c7
PE
3486 * international/quail.el (quail-activate):
3487 Also run quail-deactivate-hook.
3488 (quail-deactivate): Rename from quail-inactivate.
3489 * international/robin.el (robin-activate):
3490 Also run robin-deactivate-hook.
3491 (robin-deactivate): Rename from robin-inactivate.
3492
2549c068
CY
34932012-07-29 Chong Yidong <cyd@gnu.org>
3494
3495 * simple.el (indicate-copied-region): New function.
3496 (kill-ring-save): Split off from here.
3497
3498 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3499 (kill-rectangle): Set deactivate-mark to t on read-only error.
3500
3501 * register.el (copy-to-register, copy-rectangle-to-register):
3502 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3503 (append-to-register, prepend-to-register): Call indicate-copied-region.
3504
35052012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3506
3507 * simple.el (async-shell-command-buffer): New defcustom.
3508 (shell-command): Use it. (Bug#4719)
3509
01bd1b0d
EZ
35102012-07-28 Eli Zaretskii <eliz@gnu.org>
3511
3512 * international/mule-cmds.el (set-locale-environment): In a
3513 console session on MS-Windows, set up keyboard and terminal
3514 encoding from the OEM codepage, not the ANSI codepage.
3515 (Bug#12055)
3516
a55739d3
CY
35172012-07-28 Chong Yidong <cyd@gnu.org>
3518
3519 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3520 gdb-get-location.
3521
0e1a094f 35222012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3523
3524 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3525 the alist (bug#12029).
3526
20329d73
EZ
35272012-07-28 Eli Zaretskii <eliz@gnu.org>
3528
3529 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3530 (compile-always, compile-first)
3531 ($(lisp)/calendar/cal-loaddefs.el)
3532 ($(lisp)/calendar/diary-loaddefs.el)
3533 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3534 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3535 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3536 instead of on update-subdirs.
3537 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3538
345a2258
CY
35392012-07-28 Chong Yidong <cyd@gnu.org>
3540
1eee6341
CY
3541 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3542 directory if vc-deduce-backend returns nil (Bug#7350).
3543
345a2258
CY
3544 * simple.el (delete-trailing-lines): New option.
3545 (delete-trailing-whitespace): Obey it (Bug#11879).
3546
049a0936
DE
35472012-07-28 David Engster <deng@randomsample.de>
3548
3549 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3550 Explanation of new 'symbol-qnames feature in doc-strings.
3551 (xml-maybe-do-ns): Return expanded names as plain symbols if
3552 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3553 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3554
aa81af71
FEG
35552012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3556
3557 Consistent completion in inferior python with emacs -nw.
3558 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3559 binding in inferior-python-mode-map with "\t".
3560 (python-shell-completion-complete-at-point)
3561 (python-completion-complete-at-point): Remove interactive spec.
3562
e827b1eb
JB
35632012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3564
3565 * calc/calccomp.el (math-compose-expr): Undo previous change.
3566
a90dfb95
FEG
35672012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3568
4250fdf5 3569 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3570 run-python.
3571 (python-shell-make-comint): Fix pop-to-buffer call.
3572 (run-python): Autoload. New arg SHOW.
3573 (python-shell-get-or-create-process): Do not pop python process
3574 buffer.
3575
32770973 35762012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3577
3578 * notifications.el (notifications-on-action-signal)
3579 (notifications-on-closed-signal): Use also the bus address for the map.
3580 (notifications-notify, notifications-close-notification)
fc0c31f8 3581 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3582
86332df2
TH
35832012-07-27 Tassilo Horn <tsdh@gnu.org>
3584
4250fdf5
SM
3585 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3586 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3587 ctable macro.
3588 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3589 labels written in keyvals syntax.
3590
ca1302a4
JB
35912012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3592
3593 * calc/calccomp.el (math-compose-expr): Use parentheses when
3594 there is a product in the denominator of a fraction.
3595
f8b91036
EZ
35962012-07-26 Eli Zaretskii <eliz@gnu.org>
3597
3598 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3599 ($(lisp)/calendar/diary-loaddefs.el)
3600 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3601 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3602 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3603 rewritten while the autoload files are built at the same time,
3604 which needs to load subdirs.el.
3605
c8e5a42c
MR
36062012-07-26 Martin Rudalics <rudalics@gmx.at>
3607
3608 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3609 (mouse-drag-line): Don't exit tracking when a switch-frame or
3610 switch-window event occurs (Bug#12006).
3611
670d85ea
SM
36122012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3613
3614 * mouse.el (popup-menu): Fix last change.
3615
7abaf5cc
SM
36162012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3617
3618 Autoload from Lisp with more care. Follow aliases when looking for
3619 function properties.
3620 * subr.el (autoloadp): New function.
3621 (symbol-file): Use it.
3622 (function-get): New function.
3623 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3624 autoload-do-load.
3625 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3626 (lisp-indent-function):
3627 * emacs-lisp/gv.el (gv-get):
3628 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3629 * emacs-lisp/byte-opt.el (byte-optimize-form):
3630 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3631 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3632 Use function-get.
3633 * emacs-lisp/cl.el: Don't propagate function properties any more.
3634
3635 * speedbar.el (speedbar-add-localized-speedbar-support):
3636 * emacs-lisp/disass.el (disassemble-internal):
3637 * desktop.el (desktop-load-file):
3638 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3639 (describe-function-1):
3640 * emacs-lisp/find-func.el (find-function-noselect):
3641 * emacs-lisp/elp.el (elp-instrument-function):
3642 * emacs-lisp/advice.el (ad-has-proper-definition):
3643 * apropos.el (apropos-safe-documentation, apropos-macrop):
3644 * emacs-lisp/debug.el (debug-on-entry):
3645 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3646 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3647 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3648
b1364986
AA
36492012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3650
3651 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3652 function, not an obsolete variable (Bug#12046).
3653
67ada220
AS
36542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3655
3656 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3657
f08088e3
CS
36582012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3659
3660 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3661 window only if it is still live (Bug#12034).
3662
8137e7b3
MR
36632012-07-25 Martin Rudalics <rudalics@gmx.at>
3664
3665 * subr.el (redirect-frame-focus): Add advertised calling
3666 convention (Bug#12030).
3667
09ae5da1
PE
36682012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3669
3670 Prefer typical American spelling for "acknowledgment".
3671 * vc/add-log.el (change-log-acknowledgment): Rename from
3672 change-log-acknowledgement, with an alias for the old name.
3673
3cc5a3a8
JB
36742012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3675
3676 * calc-alg.el (math-simplify-divide): Don't cross multiply
3677 in an equation when the lhs is a variable.
3678
b7af7f62
JD
36792012-07-24 Julien Danjou <julien@danjou.info>
3680
3681 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3682 Remove, unused.
3683
ec1b09b1
EZ
36842012-07-23 Eli Zaretskii <eliz@gnu.org>
3685
3686 * startup.el (command-line): Don't display an empty user name in
3687 the error message about non-existent home directory, when
3688 init-file-user was set to an empty string. See
3689 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3690 for the details and context.
3691
b525fd8a
VB
36922012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3693
3694 * ses.el (ses-cell-formula-aset): New macro.
3695 (ses-cell-references-aset): New macro.
3696 (ses-cell-p): New function.
3697 (ses-rename-cell): Do no longer rely on complex operations like
3698 ses-cell-set-formula or ses-set-cell to change the cell and handle
3699 the undo at the same time, but rather use lower level new macros
3700 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3701 the undo directly. Refresh the mode line.
b525fd8a 3702
2c73e345
LL
37032012-07-21 Leo Liu <sdl.web@gmail.com>
3704
670d85ea
SM
3705 * progmodes/cc-cmds.el (c-defun-name):
3706 Use match-string-no-properties instead for consistency.
2c73e345 3707
542dfbde
LL
37082012-07-20 Leo Liu <sdl.web@gmail.com>
3709
3646bcd6
LL
3710 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3711 (Bug#7879)
3712
542dfbde
LL
3713 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3714
25721031
CY
37152012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3716
3717 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3718 * progmodes/bug-reference.el, misearch.el: Provide themselves
3719 (bug#11915).
3720
3721 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3722 of narrowed buffer (bug#11966).
3723
316e68a7
VB
37242012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3725
3726 * ses.el (ses-rename-cell): Set new name also in reference list of
3727 cells of which the renamed cell depends.
3728
bbf0e7d9
MY
37292012-07-20 Masatake YAMATO <yamato@redhat.com>
3730
3731 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3732 to check whether menu-bar is shown or not. If not shown,
3733 show the menu-bar as a popup menu instead of using tmm.
3734 * mouse.el (popup-menu): Accept `point' as `position' argument.
3735
c28662a8
DG
37362012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3737
3738 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3739 up inside string symbol literal (bug#11923).
3740
87ab808f
EZ
37412012-07-20 Eli Zaretskii <eliz@gnu.org>
3742
3743 * startup.el (fancy-startup-text): Read the whole tutorial, not
3744 just its first 256 bytes. Prevents gibberish in display of the
3745 tutorial title.
3746
89dea803
DA
37472012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3748
3749 Drop idle buffer compaction due to an absence of the
3750 proved efficiency.
3751 * compact.el: Remove.
3752
8a4e6db8
SS
37532012-07-19 Sam Steingold <sds@gnu.org>
3754
3755 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3756 vc-bzr-pull & vc-bzr-merge-branch.
3757 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3758 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3759 for consistency with compilation-error-regexp-alist.
3760 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3761 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3762 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3763 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3764
5db81e33
SM
37652012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3766
3767 * emacs-lisp/chart.el: Use lexical-binding.
3768 (chart-emacs-storage): Don't hardcode the list of entries.
3769
5b835e1d
DA
37702012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3771
3772 Next round of tweaks caused by Fgarbage_collect changes.
3773 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3774
9cd47b72
DA
37752012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3776
3777 Compact buffers when idle.
3778 * compact.el: New file.
3779
1d6fc0df
SM
37802012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * subr.el (eventp): Presume that if it looks vaguely like an event,
3783 it's an event (bug#10190).
3784
1d29cc7d
FEG
37852012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3786
3787 Enhancements to ppss related code (thanks Stefan).
3788 * progmodes/python.el (python-indent-context)
3789 (python-indent-calculate-indentation, python-indent-dedent-line)
3790 (python-indent-electric-colon, python-nav-forward-block)
3791 (python-mode-abbrev-table)
1d6fc0df 3792 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3793 for ppss context.
3794 (python-info-continuation-line-p): Cleanup.
3795 (python-info-ppss-context): Do not catch 'quote.
3796 (python-info-ppss-context-type)
3797 (python-info-ppss-comment-or-string-p): Simplify.
3798
d583cbe6
FEG
37992012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3800
3801 * progmodes/python.el: Enhancements to eldoc support.
3802 (python-info-current-symbol): New function.
3803 (python-eldoc-at-point): Use python-info-current-symbol.
3804 (python-info-current-defun): Fix cornercase on first defun scan.
3805 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3806 and signal error when no inferior python process is available.
3807
eceb6feb
DG
38082012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3809
3810 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3811 assume it's always t.
3812 (vc-git-registered): Remove caching, the function is only called
3813 once.
3814 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3815
4c8ff0fe
CY
38162012-07-18 Chong Yidong <cyd@gnu.org>
3817
19fb7186
CY
3818 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3819
9587c688
CY
3820 * simple.el (count-words): Report on narrowing (Bug#9959).
3821
0fe776a1
CY
3822 * bindings.el: Bind M-= to count-words.
3823
4c8ff0fe
CY
3824 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3825
7f5331cc
MY
38262012-07-18 Masatake YAMATO <yamato@redhat.com>
3827
3828 * progmodes/sh-script.el (sh-imenu-generic-expression):
3829 Capture a function with `function' keyword and without parentheses
3830 like "function FOO" (bug#11856).
3831
2dc2a609
TH
38322012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3833
3834 * window.el (split-window-sensibly): Make WINDOW argument
3835 optional.
3836
439f7677
CY
38372012-07-18 Chong Yidong <cyd@gnu.org>
3838
9aeb25a6
CY
3839 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3840
439f7677
CY
3841 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3842 and make C-x 8 RET exit isearch (Bug#11439).
3843
3844 * international/iso-transl.el: Move isearch-mode-map key
3845 definitions to isearch.el.
3846
12999ea8
SM
38472012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3848
3849 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3850 (eieio-defclass): Use gv-define-setter when possible.
3851
3ab6e069
DA
38522012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3853
3854 Reflect recent changes in Fgarbage_collect.
3855 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3856 reflect new format of data returned by Fgarbage_collect.
3857
0a60bc10
FEG
38582012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3859
3860 New utility functions + python-info-ppss-context fix (Bug#11910).
3861 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3862 (python-info-ppss-comment-or-string-p): New functions.
3863 (python-info-ppss-context): Small fix for string check.
3864
6dafa0d5
JL
38652012-07-17 Juri Linkov <juri@jurta.org>
3866
3867 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3868 (dired-do-async-shell-command): Don't add `*' at the end of the
3869 command (Bug#11815).
3870 (dired-do-shell-command): Doc fix.
3871 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3872 Join the individual commands using either "&" or ";" as the
3873 separator depending on the values of these trailing characters.
3874 At the end re-add the trailing "&". (Bug#10598)
3875
3876 * simple.el (async-shell-command): Sync the interactive spec with
3877 `shell-command'. Doc fix.
3878 (shell-command): Doc fix.
3879
b19dd9d1
JL
38802012-07-17 Juri Linkov <juri@jurta.org>
3881
3882 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3883
bcdc27d7 38842012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3885
bcdc27d7 3886 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3887 * progmodes/python.el (python-nav-beginning-of-statement):
3888 Rename from python-nav-statement-start.
bcdc27d7
FEG
3889 (python-nav-end-of-statement): Rename from
3890 python-nav-statement-end.
3891 (python-nav-beginning-of-block): Rename from
3892 python-nav-block-start.
3893 (python-nav-end-of-block): Rename from python-nav-block-end.
3894
191da00e
FEG
38952012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3896
7f5331cc
MY
3897 * progmodes/python.el (python-shell-send-string-no-output):
3898 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3899 future interactions (Bug#11868).
3900
4dc7c8d5 39012012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3902
88ecaf8f
SM
3903 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3904
ef501ef0
SM
3905 * emacs-lisp/elint.el (elint-find-args-in-code):
3906 Use help-function-arglist, so as to handle lexical byte-code.
3907
aa7aaf8f
SM
3908 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3909 change (bug#11826).
3910
45fd731c
SM
39112012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3912
2143fa32
SM
3913 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3914 Avoid spuriously marking the buffer as modified because of c-is-sws.
3915
efc26dbe
SM
3916 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3917 as not-a-comment (bug#11946).
3918
f5695c9a
SM
3919 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3920 for uninterned vars.
3921
3922 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3923 Use read-event since we don't really want to read chars but bytes.
3924
45fd731c
SM
3925 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3926 $$..$$ but also $..$ using regexps (bug#11953).
3927 Use tex-verbatim for \url and \path.
3928 (tex-font-lock-keywords): Define as defconst like the others.
3929 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3930
ddfc8813
RK
39312012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3932
3933 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3934 alias for insert-char.
3935
758e556a
FEG
39362012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3937
3938 * progmodes/python.el: Simplified imenu implementation.
3939 (python-nav-jump-to-defun): Remove command.
3940 (python-mode-map): Use `imenu' instead.
3941 (python-nav-list-defun-positions-cache)
3942 (python-imenu-include-defun-type, python-imenu-make-tree)
3943 (python-imenu-subtree-root-label, python-imenu-index-alist):
3944 Remove vars.
3945 (python-nav-list-defun-positions, python-nav-read-defun)
3946 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3947 (python-imenu-make-tree, python-imenu-create-index):
3948 Remove functions.
758e556a
FEG
3949 (python-mode): Update to interact with imenu by setting
3950 `imenu-extract-index-name-function' only.
3951
032d23ab
FEG
39522012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3953
3954 * progmodes/python.el: Enhancements to navigation commands.
3955 (python-nav-backward-sentence)
3956 (python-nav-forward-sentence): Remove.
3957 (python-nav-backward-statement, python-nav-forward-statement)
3958 (python-nav-statement-start, python-nav-statement-end)
3959 (python-nav-backward-block, python-nav-forward-block)
3960 (python-nav-block-start, python-nav-block-end)
3961 (python-nav-forward-sexp-function)
3962 (python-info-current-line-comment-p)
3963 (python-info-current-line-empty-p): New functions.
3964 (python-indent-context): Use `python-nav-statement-start'.
3965
01795a1b
MA
39662012-07-16 Michael Albinus <michael.albinus@gmx.de>
3967
9328d9aa
MA
3968 * eshell/em-ls.el (eshell/ls): Use `apply'.
3969
3970 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3971 multi-hops, instead of Tramp internals.
3972
01795a1b
MA
3973 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3974
3975 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3976 when F1 and F2 are located on different hosts.
3977
63408057
CY
39782012-07-14 Chong Yidong <cyd@gnu.org>
3979
3980 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3981 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3982 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3983 (xterm-mouse--read-event-sequence-1000)
3984 (xterm-mouse--read-event-sequence-1006): New functions. For old
3985 mouse protocol, handle M-mouse-X events correctly.
3986 (xterm-mouse-event): New arg specifying mouse protocol.
3987 (turn-on-xterm-mouse-tracking-on-terminal)
3988 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
3989 sequence to toggle extended coordinates on newer XTerms.
3990 This appears to be harmless on terminals which do not support this.
63408057 3991
cd276f6e
LL
39922012-07-14 Leo Liu <sdl.web@gmail.com>
3993
28ca98ac
LL
3994 Add fringe bitmap indicators for flymake. (Bug#11253)
3995 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3996 (flymake-make-overlay): New arg BITMAP.
3997 (flymake-error-bitmap, flymake-warning-bitmap)
3998 (flymake-fringe-indicator-position): New user variables.
3999
cd276f6e
LL
4000 * fringe.el: New bitmap exclamation-mark.
4001
04408072
JD
40022012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4003
4004 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4005 also (Bug#7879).
4006
b5cf7fc4
CY
40072012-07-14 Chong Yidong <cyd@gnu.org>
4008
4009 * electric.el (electric-pair-post-self-insert-function): Fix pair
4010 insertion in empty-region case (Bug#11520).
4011
be755c79
RT
40122012-07-14 Chong Yidong <cyd@gnu.org>
4013
45fd731c
SM
4014 * bindings.el: Consolidate ctl-x-r-map bindings.
4015 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4016
4017 * rect.el, register.el: Move bindings to bindings.el.
4018
40192012-07-14 Reuben Thomas <rrt@sc3d.org>
4020
4021 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4022
7f5b3198
AS
40232012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4024
4025 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4026
97662200
JB
40272012-07-13 Juanma Barranquero <lekktu@gmail.com>
4028
80185fed
JB
4029 * bindings.el (top): Use `mapc' instead of `mapcar'.
4030
97662200
JB
4031 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4032
2bb1ae55
MA
40332012-07-13 Michael Albinus <michael.albinus@gmx.de>
4034
4035 * progmodes/sql.el (sql-comint): Suppress the check for program on
4036 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4037 (Bug#11908)
4038
dea31bd3
CY
40392012-07-13 Chong Yidong <cyd@gnu.org>
4040
4041 * bindings.el: Assign a non-nil permanent-local property to
4042 per-buffer variables which lack a default value (Bug#11930).
4043
4044 * help-fns.el (describe-variable): In the "automatically becomes
4045 local" notice, take note of permanent-local variables.
4046
b68b3337
CY
40472012-07-13 Chong Yidong <cyd@gnu.org>
4048
4049 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4050 to allow printing the message when called from Lisp.
4051
4052 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4053 Remove toggle-read-only.
4054
4055 * bs.el (bs-toggle-readonly):
45fd731c
SM
4056 * buff-menu.el (Buffer-menu-toggle-read-only):
4057 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4058
4059 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4060 Remove with-no-warnings around toggle-read-only.
4061 (ffap-read-only, ffap-read-only-other-window)
4062 (ffap-read-only-other-frame): Callers changed.
4063
4064 * help-mode.el: Don't require view package.
4065 (help-mode-finish): Set buffer-read-only instead of calling
4066 toggle-read-only.
4067
4068 * bindings.el (mode-line-toggle-read-only):
4069 * dired.el (dired-toggle-read-only):
4070 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4071 with non-nil second arg.
4072
4073 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4074 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4075 directly.
4076
56bc1586
EZ
40772012-07-12 Eli Zaretskii <eliz@gnu.org>
4078
4079 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4080 not incf.
4081
a464a6c7
SM
40822012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4083
4084 More CL cleanups and reduction of use of cl.el.
4085 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4086 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4087 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4088 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4089 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4090 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4091 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4092 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4093 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4094 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4095 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4096 * eshell/em-cmpl.el, eshell/em-banner.el:
4097 * calendar/parse-time.el: Use cl-lib.
4098 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4099 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4100 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4101 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4102 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4103 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4104 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4105 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4106 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4107 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4108 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4109 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4110 `lambda' rather than with `quote'.
4111 (eshell-do-opt): Adjust accordingly.
4112 (eshell-process-option): Simplify.
4113 * eshell/esh-var.el:
4114 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4115 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4116 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4117 to `pcase--dontcare'.
4118 * emacs-lisp/cl.el (labels): Mark obsolete.
4119 (cl--letf, letf): Move to cl-lib.
4120 (cl--letf*, letf*): Remove.
4121 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4122 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4123 (cl-progv): Rewrite.
4124 (cl--letf, cl-letf): Move from cl.el.
4125 (cl-letf*): New macro.
4126 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4127
7ad4afe1
MA
41282012-07-11 Michael Albinus <michael.albinus@gmx.de>
4129
4130 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4131
9af57756
CY
41322012-07-11 Chong Yidong <cyd@gnu.org>
4133
4134 * vc/log-edit.el (log-edit-vc-backend): New variable.
4135 (log-edit): Doc fix.
4136
4137 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4138 argument of log-edit to set up all local variables.
4139 (vc-start-logentry): New optional arg specifying VC backend.
4140
4141 * vc/vc.el (vc-checkin): Use it.
4142 (vc-deduce-fileset): Handle Log Edit buffers.
4143 (vc-diff): Make first argument optional too.
4144
4145 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4146
8477cc7a
MA
41472012-07-10 Michael Albinus <michael.albinus@gmx.de>
4148
4149 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4150 command, just in case. The function is not needed anymore.
4151 (eshell-external-command): Do not call `eshell-remote-command'.
4152
19faa8e8
SM
41532012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4154
f58e0fd5
SM
4155 Reduce use of (require 'cl).
4156 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4157 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4158 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4159 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4160 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4161 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4162 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4163 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4164 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4165 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4166 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4167 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4168 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4169 (byte-compile-unfold-bcf, byte-compile-check-variable):
4170 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4171 (byte-compile-nilconstp):
4172 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4173 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4174
2519d43a
SM
4175 * emacs-lisp/gv.el (cond): Make it a valid place.
4176 (if): Simplify slightly.
4177
19faa8e8
SM
4178 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4179 (pcase--self-quoting-p): New function.
4180 (pcase--u1): Use it.
4181
c4907a5e
GM
41822012-07-10 Glenn Morris <rgm@gnu.org>
4183
4184 * emacs-lisp/authors.el (authors-fixed-entries):
4185 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4186
c4444d16
PE
41872012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4188
4189 Rename configure.in to configure.ac (Bug#11603).
4190 * emacs-lisp/authors.el (authors-canonical-file-name):
4191 * progmodes/autoconf.el (autoconf-mode):
4192 Prefer configure.ac to configure.in.
4193
d75be97d
CY
41942012-07-08 Chong Yidong <cyd@gnu.org>
4195
01ac65bd
CY
4196 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4197 Implement the mouse-1-click-follows-link handling properly.
4198
4199 * info.el (Info-link-keymap): Use follow-link mechanism for
4200 header-line links (Bug#374).
4201
d75be97d
CY
4202 * simple.el (deactivate-mark): Do not set the primary selection
4203 if another program has acquired it (Bug#11772).
4204
87a92845 42052012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4206
4207 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4208 (woman-decode-region): Replace escaped-escapes without destroying
4209 bold or underline (Bug#11552).
87a92845 4210 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4211
621b9d6c
CY
42122012-07-07 Chong Yidong <cyd@gnu.org>
4213
4214 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4215 (interprogram-cut-function, interprogram-paste-function):
4216 Mention that we typically mean the clipboard.
621b9d6c 4217
133a11fc
GM
42182012-07-06 Glenn Morris <rgm@gnu.org>
4219
0d27a45e
GM
4220 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4221
133a11fc
GM
4222 * files.el (toggle-read-only): Restrict message to interactive use.
4223
07b151f1
MA
42242012-07-06 Michael Albinus <michael.albinus@gmx.de>
4225
4226 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4227
4228 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4229
211b896b
GM
42302012-07-06 Glenn Morris <rgm@gnu.org>
4231
50394322
GM
4232 * Makefile.in (compile-one-process): Rename from "recompile".
4233
211b896b
GM
4234 * Makefile.in (bzr-update): "compile" is the same as "recompile
4235 autoloads", but parallelizable, so use that instead.
4236
4737eec9
DG
42372012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4238
4239 * window.el (quit-window): Always restore window height when
8137e7b3 4240 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4241
226c3633 42422012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4243
4244 * simple.el (kill-whole-line): Doc tweak.
4245
226c3633 42462012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4247
4248 * files.el (file-relative-name): Compare file names
4249 case-insensitively if on MS-Windows or MS-DOS, or if
4250 read-file-name-completion-ignore-case is non-nil. Don't use
4251 case-fold-search for this purpose. (Bug#11827)
4252
4dc7c8d5
SM
42532012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4254
4255 * calendar/cal-dst.el (calendar-current-time-zone):
4256 Return calendar-current-time-zone-cache if non-nil.
4257
42582012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 42592012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4260
19faa8e8
SM
4261 * calendar/cal-dst.el (calendar-current-time-zone):
4262 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4263
60198fc9
GM
42642012-07-06 Glenn Morris <rgm@gnu.org>
4265
4266 * Makefile.in (cvs-update): Remove old alias.
4267
957b3189
MA
42682012-07-05 Michael Albinus <michael.albinus@gmx.de>
4269
4270 Sync with Tramp 2.2.6-pre.
4271
4272 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4273 compatible declaration.
4274
19faa8e8
SM
4275 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4276 Protect `list-load-path-shadows' call.
957b3189
MA
4277
4278 * net/tramp-compat.el (top): Require packages, which aren't
4279 autoloaded anymore for XEmacs. Protect call of
4280 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4281 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4282 it hurts at least for SXEmacs.
4283 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4284 standard-value for `temporary-file-directory'.
4285
4286 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4287 Redirect stderr to /dev/null.
4288 (tramp-sh-handle-write-region): uid and gid can be floats.
4289 Reported by Russell Sim <russell.sim@gmail.com>.
4290 (tramp-sh-handle-vc-registered): Hide errors.
4291 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4292 and `start-file-process'.
4293 (tramp-maybe-open-connection): Check also whether `non-essential'
4294 is bound.
4295
566df3fc
CY
42962012-07-04 Chong Yidong <cyd@gnu.org>
4297
4298 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4299 (xml-parse-tag): Likewise, and avoid changing entity tables.
4300 (xml-syntax-table): Define from scratch, making sure not to give
4301 x2000 and other Unicode spaces whitespace syntax, since those are
4302 not spaces in XML.
4303 (xml-parse-fragment): Delete unused function.
4304 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4305 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4306 (xml-entity-ref, xml-pe-reference-re)
4307 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4308 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4309 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4310 (xml-entity-value-re): Use syntax references in regexps where
4311 possible; no need to define inside a let-binding.
4312 (xml-parse-dtd): Use xml-pe-reference-re.
4313 (xml-entity-or-char-ref-re): New defconst.
4314 (xml-parse-string, xml-substitute-special): Use it.
4315
30eabd7a
SM
43162012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4317
0781098a
SM
4318 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4319 (find-file--read-only): New function.
4320 (find-file-read-only, find-file-read-only-other-window)
4321 (find-file-read-only-other-frame): Use it.
4322 (insert-file-contents-literally): Don't `fset'.
4323 (get-free-disk-space): Use locate-dominating-file.
4324
b5771c0d
SM
4325 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4326 function is already compiled.
4327
30eabd7a
SM
4328 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4329
b4886f6e
MA
43302012-07-03 Michael Albinus <michael.albinus@gmx.de>
4331
4332 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4333 files on the same host.
4334
b9d82339
AS
43352012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4336
4337 * help-fns.el (describe-function-1): Only call
4338 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4339
a76e6535
CY
43402012-07-03 Chong Yidong <cyd@gnu.org>
4341
4342 * xml.el: Protect parser against XML bombs.
4343 (xml-entity-expansion-limit): New variable.
4344 (xml-parse-string, xml-substitute-special): Use it.
4345 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4346
b544fef2
GM
43472012-07-03 Glenn Morris <rgm@gnu.org>
4348
4349 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4350 Allow linking to specific messages in debbugs reports (eg 123#5).
4351
a7aef6f5
CY
43522012-07-02 Chong Yidong <cyd@gnu.org>
4353
4354 * xml.el: Fix entity and character reference expansion, allowing
4355 them to expand into markup as per XML spec.
4356 (xml-default-ns): New variable.
4357 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4358 (xml-parse-region): Make first two arguments optional.
4359 Discard text properties.
4360 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4361 All callers changed.
a7aef6f5
CY
4362 (xml-parse-tag): Call xml-parse-tag-1. For backward
4363 compatibility, this function should not modify buffer contents.
4364 (xml-parse-tag-1): Fix opening-tag regexp.
4365 (xml-parse-string): Rewrite, handling entity and character
4366 references properly.
4367 (xml--entity-replacement-text): Signal an error if a parameter
4368 entity is undefined.
4369
3df31c9f
SM
43702012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4371
2b5208f1
SM
4372 * comint.el (comint-output-filter): Filter out repeated prompts.
4373
3df31c9f
SM
4374 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4375 and file-name-absolute-p.
4376 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4377 internal calls.
4378
e3ac1281
PE
43792012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4380
4381 Spelling fixes.
4382 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4383 Rename from byte-compile--refiy-function. All uses changed.
4384
fbf2e7ad
CY
43852012-07-01 Chong Yidong <cyd@gnu.org>
4386
4387 * xml.el (xml--parse-buffer): New function. Move most of
4388 xml-parse-region here.
4389 (xml-parse-region): Copy region into a temporary buffer, since
4390 parameter entity substitution requires changing buffer contents.
4391 Use xml--parse-buffer.
4392 (xml-parse-file): Use xml--parse-buffer.
4393 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4394 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4395
9bf0aa15
GM
43962012-06-30 Glenn Morris <rgm@gnu.org>
4397
bbce2853
GM
4398 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4399
9bf0aa15
GM
4400 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4401 Remove outdated and unnecessary dbus declarations.
4402
0d23c240
EZ
44032012-06-30 Eli Zaretskii <eliz@gnu.org>
4404
4405 * emacs-lisp/timer.el (timer-until): Subtract results of
4406 float-time, instead of taking float-time of the result of
4407 time-subtract, since float-time signals an error for negative time
4408 arguments.
4409
b3218de1
CY
44102012-06-30 Chong Yidong <cyd@gnu.org>
4411
4412 * xml.el (xml-*-re): Convert defvars into defconsts, and
4413 eval-and-compile them so eval-and-compile works on derivatives.
4414 (xml--entity-replacement-text): Use eval-and-comple.
4415
a40c87a0
MA
44162012-06-30 Michael Albinus <michael.albinus@gmx.de>
4417
4418 * vc/vc-git.el (vc-git-registered): Use cache property
4419 `git-registered'.
4420 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4421 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4422 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4423
ac87de97
DG
44242012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4425
4426 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4427 removed (likely outside Emacs). (Bug#11757)
ac87de97 4428
ac10fe06
SM
44292012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4430
3df31c9f 4431 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4432
7f3fbd5d
CY
44332012-06-30 Chong Yidong <cyd@gnu.org>
4434
4435 * xml.el: Implement XML parameter entities.
4436 (xml-parameter-entity-alist): New variable.
4437 (xml-parse-region, xml-parse-fragment): Preserve previous values
4438 of xml-entity-alist and xml-parameter-entity-alist, so that
4439 repeated calls on different documents do not change them.
4440 (xml-parse-tag): Fix doctype regexp.
4441 (xml--entity-replacement-text): New function.
4442 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4443 properly requires url retrieval which is unimplemented.
4444 (xml-escape-string): Doc fix.
4445
3cfbebba
SM
44462012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4449
2af3565e
DA
44502012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4451
4452 * fringe.el (fringe-mode): Doc fix.
4453
929df0e7
MA
44542012-06-29 Michael Albinus <michael.albinus@gmx.de>
4455
4456 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4457 is non-nil.
4458 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4459 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4460
c8d3a25c 44612012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4462
c8d3a25c
GM
4463 * calendar/cal-dst.el (calendar-current-time-zone):
4464 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4465
c8d3a25c 44662012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4467
4468 * progmodes/which-func.el (which-func-format):
4469 Add mouse-face. (Bug#11698)
4470
c8d3a25c
GM
44712012-06-29 Leo Liu <sdl.web@gmail.com>
4472
4473 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4474
44752012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4476
4477 * minibuffer.el (minibuffer-confirm-exit-commands):
4478 Add completion-at-point (bug#11725).
4479
44802012-06-29 Glenn Morris <rgm@gnu.org>
4481
4482 * progmodes/f90.el (f90-font-lock-keywords-2):
4483 Add some preprocessor elements. (Bug#10499)
4484
44852012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4488 Use syntax-propertize (bug#11739).
4489
2badeec4
JB
44902012-06-28 Juanma Barranquero <lekktu@gmail.com>
4491
4492 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4493
ae4969c2
JD
44942012-06-28 Julien Danjou <julien@danjou.info>
4495
4496 * term.el (term-handle-colors-array): Use a set of new faces to
4497 color the terminal. Also uses :inverse-video property.
4498 (term-default-fg-color): Set to nil by default, deprecate in favor
4499 of `term-face'.
4500 (term-default-bg-color): Set to nil by default, deprecate in favor
4501 of `term-face'.
4502 (term-current-face): Use `term-face' by default.
4503 (term-bold-attribute): Variable deleted.
4504
1c9bd870
GM
45052012-06-28 Glenn Morris <rgm@gnu.org>
4506
4507 * simple.el (completion-list-mode-finish):
4508 Don't use toggle-read-only. (Since completion-list-mode has
4509 a special mode-class, it wasn't doing anything extra anyway.)
4510
c207708c
SM
45112012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4512
4513 Make inlining of other-mode interpreted functions work (bug#11799).
4514 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4515 (byte-compile): Use it to fix compilation of lexical-binding closures.
4516 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4517 function, if needed.
4518
3fd56834
SM
45192012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4520
04901786
SM
4521 * help-mode.el (help-make-xrefs): Don't just withstand
4522 cyclic-variable-indirection but any error in documentation-property.
4523
1ec4b7b2
SM
4524 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4525 memory use.
4526 * bindings.el (bindings--define-key): New function.
4527 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4528 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4529 * bindings.el: Use it to purecopy define-key bindings.
4530
e309e2a5
SM
4531 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4532
d5c6faf9
SM
4533 * emacs-lisp/cl.el (flet): Mark obsolete.
4534 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4535 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4536 * progmodes/js.el (js-c-fill-paragraph):
4537 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4538 (ebrowse-switch-member-buffer-to-derived-class):
4539 * play/5x5.el (5x5-solver): Use cl-flet.
4540
6e9590e2
SM
4541 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4542 (cl--symbol-function): New macro.
4543 (cl--letf, cl--letf*): Use it.
4544
3fd56834
SM
4545 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4546 Strip "toggle-" if any.
4547
35ff222c
GM
45482012-06-27 Glenn Morris <rgm@gnu.org>
4549
1ba6038a
GM
4550 * info.el (Info-default-directory-list): Move here from paths.el.
4551 * paths.el: Remove file, which is now empty.
4552 * loadup.el: No longer load "paths".
4553
0ea0e51b
GM
4554 * custom.el (custom-initialize-delay): Doc fix.
4555
35ff222c
GM
4556 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4557 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4558 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4559 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4560 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4561 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4562 * eshell/eshell.el (eshell-defgroup): Remove alias.
4563
c89926a5
CY
45642012-06-27 Chong Yidong <cyd@gnu.org>
4565
4566 * help.el (help-enable-auto-load): New variable.
4567
4568 * help-fns.el (help-fns--autoloaded-p): New function.
4569 (describe-function-1): Refer to a function as "autoloaded" if it
4570 was autoloaded at any time in the past. Perform autoloading if
4571 help-enable-auto-load is non-nil.
4572
cc06e7e7
EZ
45732012-06-26 Eli Zaretskii <eliz@gnu.org>
4574
4575 * makefile.w32-in (compile, compile-always): Depend on
4576 update-subdirs, not on subdirs.el. Otherwise, several different
4577 sub-targets of 'bootstrap' running in parallel could
4578 simultaneously write to subdirs.el, producing a garbled file.
4579
d2c32364
SS
45802012-06-26 Sam Steingold <sds@gnu.org>
4581
4582 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4583 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4584 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4585 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4586 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4587 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4588 * textmodes/tex-mode.el: Use it.
4589 Did not touch cedet and org because they are maintained elsewhere.
4590
5cf983b2
MR
45912012-06-26 Martin Rudalics <rudalics@gmx.at>
4592
4593 * calendar/calendar.el (calendar-exit): Don't try to delete or
4594 iconify last frame. See:
4595 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4596
8c4f2952
JD
45972012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4598
4599 * server.el (server-process-filter): Remember dir in the
4600 process's `server-client-directory' properties.
4601
772b2e2c
CY
46022012-06-24 Chong Yidong <cyd@gnu.org>
4603
4604 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4605 non-tag text.
4606
711b11e1
JB
46072012-06-23 Juanma Barranquero <lekktu@gmail.com>
4608
4609 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4610
dc5d230c
SM
46112012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4612
4613 * help-fns.el (describe-variable): Don't croak when doc is not found.
4614 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4615 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4616 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4617 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4618 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4619 ((lambda ..) ..).
4620 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4621
136e1c1d
CY
46222012-06-23 Chong Yidong <cyd@gnu.org>
4623
e8c1cabf
CY
4624 * info.el (Info-mouse-follow-link): Accept symbol values of
4625 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4626 (Info-fontify-node): Use Info-link-keymap for all navigation
4627 buttons, with link-args property to perform the desired action.
4628 (Info-link-keymap): Doc fix.
4629 (Info-next-link-keymap, Info-prev-link-keymap)
4630 (Info-up-link-keymap): Delete now-unused keymaps.
4631
0e9e6c6a
CY
46322012-06-23 Chong Yidong <cyd@gnu.org>
4633
05e89fea
CY
4634 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4635
0e9e6c6a
CY
4636 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4637 system abbrevs.
4638
4639 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4640
e33c6771
SM
46412012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4642
b68581e2
SM
4643 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4644 (bug#11719).
4645
e33c6771
SM
4646 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4647 the requote function doesn't work properly (bug#11714).
4648
7117e105
GM
46492012-06-23 Glenn Morris <rgm@gnu.org>
4650
4651 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4652
36cec983
SM
46532012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 Further GV/CL cleanups.
4656 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4657 gv-expander.
4658 (gv--defun-declaration): New function.
4659 (defun-declarations-alist): Use it.
4660 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4661 (gv-place): Autoload.
4662 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4663 original definition of dotimes and dolist.
4664 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4665 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4666 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4667 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4668 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4669 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4670 to the function's definition.
4671 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4672 * window.el:
4673 * files.el:
4674 * faces.el:
4675 * env.el: Don't use CL.
4676
d35af63c
PE
46772012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4678
4679 Support higher-resolution time stamps (Bug#9000).
4680
4681 * calendar/time-date.el (with-decoded-time-value): New arg
4682 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4683 (encode-time-value): New optional arg PICO. New type 3.
4684 (time-to-seconds) [!float-time]: Support the new picoseconds
4685 component if it's used.
4686 (seconds-to-time, time-subtract, time-add):
4687 Support ps-resolution time stamps as well.
4688
4689 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4690 (timerp): Timer vectors now have length 9, not 8.
4691 (timer--time): Support new-style (4-part) time stamps.
4692 (timer-next-integral-multiple-of-time): Time stamps now have
4693 picosecond resolution, so take a bit more care about rounding.
4694 (timer-relative-time, timer-inc-time): New optional arg psecs.
4695 (timer-set-time-with-usecs): Set psecs to 0.
4696 (timer--activate): Check psecs component, too.
4697
4698 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4699
ac77b21a
SM
47002012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4701
f143bfe3
SM
4702 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4703 Move the non-essential binding to the post/pre-command-hook where it is
4704 more obviously correct.
4705
ac77b21a
SM
4706 * subr.el (read-passwd): Don't use a history at all.
4707 * savehist.el (savehist-save): Remove password saved accidentally
4708 because of the above bug.
4709
76386c5a
BG
47102012-06-22 Bastien Guerry <bzg@gnu.org>
4711
4712 * files.el (toggle-read-only): Display a message telling whether
4713 the buffer is read-only or not (bug#11726).
4714
2ee3d7f0
SM
47152012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4717 * emacs-lisp/gv.el: New file.
4718 * subr.el (push, pop): Extend to generalized variables.
4719 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4720 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4721 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4722 gv-define-simple-setter, and gv-define-expander.
4723 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4724 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4725 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4726 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4727 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4728 gv-letplace.
4729 (cl-defstruct): Don't define setf-method any more.
4730 * emacs-lisp/cl.el (flet): Don't autoload.
4731 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4732 (define-setf-expander, defsetf, define-modify-macro)
4733 (cl-struct-setf-expander): Move from cl-lib.el.
4734 * emacs-lisp/syntax.el:
4735 * emacs-lisp/ewoc.el:
4736 * emacs-lisp/smie.el:
4737 * emacs-lisp/cconv.el:
4738 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4739 (timer--time): Use gv-define-simple-setter.
4740 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4741 to avoid coding-system problems in subr.el. Adjust all users.
4742 (macroexp--maxsize, macroexp-small-p): New functions.
4743 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4744 * scroll-bar.el (scroll-bar-mode):
4745 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4746 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4747 * winner.el (winner-configuration, winner-make-point-alist)
4748 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4749 * files.el (locate-file-completion-table): Avoid list*.
4750
c5695d1d
CY
47512012-06-22 Chong Yidong <cyd@gnu.org>
4752
4753 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4754 (dired-create-files): Doc fix (Bug#11329).
4755 (dired-do-copy): Doc fix (Bug#11334).
4756 (dired-mark-read-string): Doc fix (Bug#11553).
4757
2ee3d7f0
SM
4758 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4759 Doc fix (Bug#11326).
c5695d1d
CY
4760 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4761 (dired-dwim-target): Doc fix.
4762
4763 * wdired.el (wdired-mode): Doc fix.
4764
89b5595a
GM
47652012-06-22 Glenn Morris <rgm@gnu.org>
4766
575db3f1
GM
4767 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4768 (pcmpl-rpm-cache-stamp-file): New constant.
4769 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4770 (pcmpl-rpm-packages): Optionally cache list of packages.
4771
a4c8dd51
GM
4772 * pcmpl-rpm.el (pcmpl-rpm): New group.
4773 (pcmpl-rpm-query-options): New option.
4774 (pcmpl-rpm-packages): No need to inline it.
4775 Use pcmpl-rpm-query-options.
4776
89b5595a
GM
4777 * calendar/calendar.el (calendar-in-read-only-buffer):
4778 Avoid some needless mode changes.
4779
e76f0800
CY
47802012-06-21 Chong Yidong <cyd@gnu.org>
4781
4782 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4783 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4784 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4785
297a8f1d
CY
47862012-06-20 Chong Yidong <cyd@gnu.org>
4787
4788 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4789
d34c18b1
DR
47902012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4791
4792 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4793 (bug#11201).
4794
32f7f28e
CY
47952012-06-20 Chong Yidong <cyd@gnu.org>
4796
4797 * term.el (term-window-width): Handle the case of a missing right
4798 fringe (Bug#8837).
4799 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4800 (term-mode): Use define-derived-mode. Minor cleanups.
4801 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4802 (term-move-columns, term-insert-char, term-emulate-terminal)
4803 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4804
493c6688
MA
48052012-06-20 Michael Albinus <michael.albinus@gmx.de>
4806
d34c18b1
DR
4807 * net/ange-ftp.el (ange-ftp-get-passwd):
4808 Bind `enable-recursive-minibuffers'.
493c6688
MA
4809 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4810
3f06ecf4
DR
48112012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4812
4813 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4814
68f12411
GM
48152012-06-19 Glenn Morris <rgm@gnu.org>
4816
4817 * progmodes/python.el (python-mode): Derive from prog-mode.
4818
b3820318
KG
48192012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4820
4821 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4822 (edt-user-menu-bar-update-buffers): New functions.
4823 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4824
c6bf3022
CY
48252012-06-19 Chong Yidong <cyd@gnu.org>
4826
4827 * subr.el (with-selected-window): Preserve the selected window's
4828 terminal's top-frame (Bug#4702).
4829
4830 * window.el (save-selected-window): Likewise.
4831
25f09295
SM
48322012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4833
4834 * progmodes/python.el (python-rx-constituents): Move backquote.
4835 (python-skeleton-define, python-define-auxiliary-skeleton):
4836 Use `declare'.
4837
6b11952a
MA
48382012-06-18 Michael Albinus <michael.albinus@gmx.de>
4839
4840 * minibuffer.el (read-file-name-default): Revert the patch from
4841 2012-06-17.
4842
ee4b1330
SM
48432012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4846 (pcase--u1, pcase--q1): Don't use apply-partially.
4847
35647f79
GM
48482012-06-18 Glenn Morris <rgm@gnu.org>
4849
4850 * progmodes/python.el (python-proc, python-buffer)
4851 (python-send-receive, python-send-string): Fix obsolete versions.
4852
24b0cff0
MR
48532012-06-18 Martin Rudalics <rudalics@gmx.at>
4854
4855 * window.el (special-display-p): Completely remove stringp
4856 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4857
29855149
MA
48582012-06-17 Michael Albinus <michael.albinus@gmx.de>
4859
4860 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4861
4862 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4863
4864 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4865 * net/tramp-sh.el (tramp-maybe-open-connection):
4866 Throw if `non-essential' is non-nil.
4867
07463363
MR
48682012-06-17 Martin Rudalics <rudalics@gmx.at>
4869
4870 * window.el (special-display-p): Signal an error if BUFFER-NAME
4871 is not a string (Bug#11713).
4872
48d1354e
PE
48732012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4874
4875 * progmodes/python.el (python-info-beginning-of-backslash):
4876 Rename from python-info-beginning-of-backlash, as a spelling fix.
4877
eb4a8a9a
CY
48782012-06-17 Chong Yidong <cyd@gnu.org>
4879
4880 * term.el (term-emulate-terminal): If term-check-size is called,
4881 move point to the process mark without resetting point (Bug#4635).
4882
ddfbf826 48832012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4884
4885 * international/mule-cmds.el (mule-menu-keymap)
4886 (set-language-environment, set-locale-environment): Doc tweaks.
4887
9b0e3eba
AA
48882012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4889
4890 * cus-face.el (custom-face-attributes): Add wave-style underline
4891 attribute.
4892 * faces.el (set-face-attribute): Update docstring to describe
4893 wave-style underline attribute.
4894
771e3eae
CY
48952012-06-16 Chong Yidong <cyd@gnu.org>
4896
4897 * term/xterm.el (terminal-init-xterm): Discard input before
4898 querying background mode (Bug#10959).
4899
7ae2ea10
SM
49002012-06-16 Stefan Merten <smerten@oekonux.de>
4901
4902 * textmodes/rst.el: Added and corrected some comments.
4903 (rst-re-alist-def): Improve symbol syntax.
4904 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4905 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4906 (rst-official-version, rst-official-cvs-rev): Update version
4907 information.
7ae2ea10 4908
b6974efa
JB
49092012-06-15 Juanma Barranquero <lekktu@gmail.com>
4910
4911 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4912 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4913
8826d473
GM
49142012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4915
4916 * progmodes/python.el: New python.el merge.
4917 (python-guess-indent): Obsolete var.
4918 (python-indent-guess-indent-offset): New defcustom.
4919 (python-indent): Obsolete var.
4920 (python-indent-offset): New defcustom.
4921 (python-python-command, python-jython-command): Delete var.
4922 (python-shell-interpreter): New defcustom.
4923 (python-pdbtrack-do-tracking-p): Delete var.
4924 (python-pdbtrack-activate): New defcustom.
4925 (python-use-skeletons): Obsolete var.
4926 (python-skeleton-autoinsert): New defcustom.
4927 (inferior-python-filter-regexp, python-continuation-offset)
4928 (python-honour-comment-indentation, python-indent-string-contents)
4929 (python-jython-packages, python-mode-hook)
4930 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4931 (python-shell-prompt-alist)
4932 (python-source-modes): Delete defcustoms.
4933 (python-check-buffer-name, python-eldoc-setup-code)
4934 (python-eldoc-string-code, python-ffap-setup-code)
4935 (python-ffap-string-code, python-fill-comment-function)
4936 (python-fill-decorator-function, python-fill-paren-function)
4937 (python-fill-string-function, python-imenu-include-defun-type)
4938 (python-imenu-make-tree, python-imenu-subtree-root-label)
4939 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4940 (python-shell-compilation-regexp-alist)
4941 (python-shell-completion-module-string-code)
4942 (python-shell-completion-pdb-string-code)
4943 (python-shell-completion-setup-code)
4944 (python-shell-completion-string-code)
4945 (python-shell-enable-font-lock, python-shell-exec-path)
4946 (python-shell-extra-pythonpaths)
4947 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4948 (python-shell-process-environment)
4949 (python-shell-prompt-block-regexp)
4950 (python-shell-prompt-output-regexp)
4951 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4952 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4953 (python-shell-virtualenv-path): New defcustoms.
4954 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4955 (inferior-python-mode-syntax-table, python--prompt-regexp)
4956 (python-buffer, python-command python-python-command)
4957 (python-default-template, python-imports, python-indent-index)
4958 (python-indent-list, python-indent-list-length)
4959 (python-mode-running, python-pdbtrack-is-tracking-p)
4960 (python-preoutput-continuation, python-preoutput-leftover)
4961 (python-preoutput-result, python-preoutput-skip-next-prompt)
4962 (python-prev-dir/file, python-recursing)
4963 (python-saved-check-command, python-version-checked)
4964 (python-which-func-length-limit)
4965 (view-return-to-alist): Delete vars.
4966 (python-check-custom-command, python-dotty-syntax-table)
4967 (python-imenu-index-alist, python-indent-current-level)
4968 (python-indent-dedenters, python-indent-levels)
4969 (python-nav-beginning-of-defun-regexp)
4970 (python-nav-list-defun-positions-cache)
4971 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4972 (python-shell-internal-buffer)
4973 (python-skeleton-available): New vars.
4974 (def-python-skeleton): Delete macro.
4975 (python-skeleton-define): New macro.
4976 (python-define-auxiliary-skeleton, python-rx): New macros.
4977 (python-insert-class): Delete command.
4978 (python-skeleton-class): New command.
4979 (python-insert-def): Delete command.
4980 (python-skeleton-def): New command.
4981 (python-insert-for): Delete command.
4982 (python-skeleton-for): New command.
4983 (python-insert-if): Delete command.
4984 (python-skeleton-if): New command.
4985 (python-insert-try/except, python-insert-try/finally): Delete commands.
4986 (python-skeleton-try): New command.
4987 (python-insert-while): Delete command.
4988 (python-skeleton-while): New command.
4989 (python-backspace): Delete command.
4990 (python-indent-dedent-line-backspace): New command.
4991 (python-electric-colon): Delete command.
4992 (python-indent-electric-colon): New command.
4993 (python-guess-indent): Delete command.
4994 (python-indent-guess-indent-offset): New command.
4995 (python-shift-left): Delete command.
4996 (python-indent-shift-left): New command.
4997 (python-shift-right): Delete command.
4998 (python-indent-shift-right): New command.
4999 (python-find-function): Delete command.
5000 (python-nav-jump-to-defun): New command.
5001 (python-next-statement): Delete command.
5002 (python-nav-forward-sentence): New command.
5003 (python-previous-statement): Delete command.
5004 (python-nav-backward-sentence): New command.
5005 (python-fill-paragraph): Delete command.
5006 (python-fill-paragraph-function): New command.
5007 (python-send-buffer): Delete command.
5008 (python-shell-send-buffer): New command.
5009 (python-send-defun): Delete command.
5010 (python-shell-send-defun): New command.
5011 (python-send-region, python-send-region-and-go): Delete commands.
5012 (python-shell-send-region)
5013 (python-shell-switch-to-shell): New commands.
5014 (python-send-string): Delete command.
5015 (python-shell-send-string): New command.
5016 (python-switch-to-python): Delete command.
5017 (python-shell-switch-to-shell): New command.
5018 (python-describe-symbol): Delete command.
5019 (python-eldoc-at-point): New command.
5020 (python--set-prompt-regexp, python-args-to-list)
5021 (python-after-info-look, python-check-version)
5022 (python-check-comint-prompt, python-find-imports)
5023 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5024 (python-unload-function, python-expand-template)
5025 (python-maybe-jython, python-preoutput-filter)
5026 (python-pdbtrack-get-source-buffer)
5027 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5028 (python-pdbtrack-toggle-stack-tracking)
5029 (python-pdbtrack-track-stack-file, python-initial-text)
5030 (python-first-word, python-comment-line-p, python-send-command)
5031 (python-setup-brm, python-sentinel, python-set-proc)
5032 (python-skip-out, python-input-filter, python-outdent-p)
5033 (python-outline-level, python-backslash-continuation-line-p)
5034 (python-end-of-block, python-end-of-statement, python-mark-block)
5035 (python-beginning-of-block, python-beginning-of-statement)
5036 (python-blank-line-p, python-beginning-of-string)
5037 (python-open-block-statement-p): Delete functions.
5038 (python-indent-line, python-indent-line-1): Delete functions.
5039 (python-indent-line): New function.
5040 (python-indentation-levels): Delete function.
5041 (python-indent-calculate-levels): New function.
5042 (python-proc): Delete function.
5043 (python-shell-get-process): New function.
5044 (python-send-receive): Delete function.
5045 (python-shell-send-string-no-output): New function.
5046 (python-module-path): Delete function.
5047 (python-ffap-module-path): New function.
5048 (python-completion-at-point)
5049 (python-symbol-completions): Delete functions.
5050 (python-completion-complete-at-point): New function.
5051 (python-load-file): Delete function.
5052 (python-shell-send-file): New function.
5053 (python-calculate-indentation): Delete function.
5054 (python-indent-calculate-indentation): New function.
5055 (python-skip-comments/blanks): Delete function.
5056 (python-util-forward-comment): New function.
5057 (python-continuation-line-p): Delete function.
5058 (python-info-continuation-line-p): New function.
5059 (python-which-func, python-current-defun): Delete function.
5060 (python-info-current-defun): New function.
5061 (python-beginning-of-defun): Delete function.
5062 (python-nav-beginning-of-defun): New function.
5063 (python-close-block-statement-p)
5064 (python-block-end-p): Delete function.
5065 (python-info-closing-block): New function.
5066 (python-comint-output-filter-function)
5067 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5068 (python-fill-comment, python-fill-decorator, python-fill-paren)
5069 (python-fill-string, python-imenu-make-element-tree)
5070 (python-imenu-make-tree, python-imenu-tree-assoc)
5071 (python-indent-context, python-indent-dedent-line)
5072 (python-indent-line-function)
5073 (python-indent-post-self-insert-function)
5074 (python-indent-toggle-levels)
5075 (python-info-assignment-continuation-line-p)
5076 (python-info-beginning-of-backlash)
5077 (python-info-block-continuation-line-p)
5078 (python-info-closing-block-message)
5079 (python-info-line-ends-backslash-p)
5080 (python-info-looking-at-beginning-of-defun)
5081 (python-info-ppss-context, python-info-ppss-context-type)
5082 (python-nav-list-defun-positions, python-nav-read-defun)
5083 (python-nav-sentence-end, python-nav-sentence-start)
5084 (python-pdbtrack-comint-output-filter-function)
5085 (python-pdbtrack-set-tracked-buffer)
5086 (python-shell-calculate-exec-path)
5087 (python-shell-calculate-process-environment)
5088 (python-shell-completion--do-completion-at-point)
5089 (python-shell-completion--get-completions)
5090 (python-shell-completion-complete-at-point)
5091 (python-shell-completion-complete-or-indent)
5092 (python-shell-get-or-create-process)
5093 (python-shell-get-process-name)
5094 (python-shell-internal-get-or-create-process)
5095 (python-shell-internal-get-process-name)
5096 (python-shell-internal-send-string, python-shell-make-comint)
5097 (python-shell-parse-command, python-shell-send-setup-code)
5098 (python-skeleton-add-menu-items)
5099 (python-util-clone-local-variables, python-util-position)
5100 (run-python-internal, python-indentation-levels)
5101 (python-nav-beginning-of-defun)
5102 (python-completion-complete-at-point): New functions.
5103 (run-python): Change arguments. New API requirements.
5104
4302f5ba
SM
51052012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5106
f38ea36d
SM
5107 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5108 (bug#11649).
5109
5110 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5111 (macroexp--expand-all): Use it.
5112
4302f5ba
SM
5113 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5114 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5115 Use `cl-function' instead.
5116
33377562
JB
51172012-06-14 Juanma Barranquero <lekktu@gmail.com>
5118
5119 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5120 Suggested by Stefan Monnier while discussing bug#11657.
5121
54c5ba1a
SS
51222012-06-14 Sam Steingold <sds@gnu.org>
5123
5124 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5125
f9f1b1fe
AS
51262012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5127
5128 * play/doctor.el (doctor-doc): Remove parameter and use
5129 doctor-sent instead of sent.
5130 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5131
a81068ba
SM
51322012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5133
5a315f9c
SM
5134 * files.el: Require cl-lib.
5135 (file-name-non-special): Replace case -> cl-case.
5136
5137 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5138
a81068ba
SM
5139 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5140 mapping from #' to function*.
5141
8cca9703
CY
51422012-06-13 Chong Yidong <cyd@gnu.org>
5143
5144 * mouse.el (mouse-drag-track): Do not set the mark if the user
5145 releases the mouse without selecting anything (Bug#11588).
5146
a12ac9d7
SM
51472012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5148
ccf1dc18
SM
5149 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5150 as well (bug#11646).
5151
ef62b23d
SM
5152 * loadup.el: Count byte-code functions as well.
5153
c4c8444a
SM
5154 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5155 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5156
a12ac9d7
SM
5157 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5158 (bug#11649). Add cl-defun and cl-defmacro.
5159
87e6e64f
DA
51602012-06-13 Drew Adams <drew.adams@oracle.com>
5161
5162 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5163 Fix last change.
5164
682cefaf
MA
51652012-06-13 Michael Albinus <michael.albinus@gmx.de>
5166
5167 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5168 Otherwise, it blocks in batch mode.
5169
773e1f08
JB
51702012-06-13 Juanma Barranquero <lekktu@gmail.com>
5171
5172 * help-mode.el (bookmark-make-record-default): Declare.
5173
60057926
CY
51742012-06-13 Chong Yidong <cyd@gnu.org>
5175
5176 * emacs-lisp/package.el (list-packages): Compute a list of
5177 packages that are newly-available since the last list-packages
5178 invocation.
5179 (package-menu--new-package-list): New var.
5180 (package-menu--generate, package-menu--print-info)
5181 (package-menu--status-predicate, package-menu-mark-install):
5182 Handle new status label "new".
5183
ad4d226c
SM
51842012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5187 conversion to backquotes.
5188
f1a4e679
CY
51892012-06-12 Chong Yidong <cyd@gnu.org>
5190
5191 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5192 Rename from gud-inhibit-global-bindings.
5193
5194 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5195
5196 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5197 hook from nxml-glyph-set-hook.
5198
5199 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5200 declaration.
5201
5202 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5203
5204 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5205 Convert to defcustom.
5206
0c9e42b5
DA
52072012-06-12 Drew Adams <drew.adams@oracle.com>
5208
5209 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5210 New functions.
5211 (help-mode): Use them.
5212
09e06855
GM
52132012-06-11 Glenn Morris <rgm@gnu.org>
5214
5215 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5216 Use preprocessor face for directives.
5217 (fortran-directive-re): Doc fix.
5218
71adb94b
SM
52192012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5220
2eb87922
SM
5221 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5222 conversion to backquotes (bug#11652).
5223
71adb94b
SM
5224 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5225 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5226 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5227 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5228 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5229 (cl-ninth, cl-tenth): Mark them as inlinable.
5230 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5231 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5232 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5233 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5234 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5235 (cl-list*, cl-adjoin): Don't put an autoload manually.
5236 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5237 (cl--compiler-macro-list*): Add autoload cookie.
5238 (cl--compiler-macro-cXXr): New function.
2eb87922 5239
71adb94b
SM
5240 * help-fns.el (help-fns--compiler-macro): New function extracted from
5241 describe-function-1; follow aliases and use `compiler-macro' property.
5242 (describe-function-1): Use it.
5243
a6674402
CY
52442012-06-11 Chong Yidong <cyd@gnu.org>
5245
5246 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5247 is uninstalled, if imagemagick is installed.
5248
bb3faf5b
SM
52492012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5250
5251 * emacs-lisp/cl-lib.el: Use lexical-binding.
5252 (cl-map-extents, cl-maclisp-member): Remove.
5253 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5254 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5255 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5256 * emacs-lisp/cl-extra.el: Use lexical-binding.
5257 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5258 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5259 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5260 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5261 * emacs-lisp/cl-seq.el: Use lexical-binding.
5262 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5263 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5264 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5265 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5266 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5267 CL's internals.
5268
2fe4b125
MA
52692012-06-11 Michael Albinus <michael.albinus@gmx.de>
5270
5271 Sync with Tramp 2.2.6-pre.
5272
5273 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5274 `print-length' and `print-level' to nil, in order to avoid
5275 truncation. Reported by Christopher Schmidt
5276 <christopher@ristopher.com>.
5277
5278 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5279
5280 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5281 New defmacro.
5282 (tramp-compat-copy-directory): Add optional argument
5283 COPY-CONTENTS. It is not handled yet.
5284
5285 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5286 (tramp-ftp-file-name-p): Simplify.
5287
5288 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5289 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5290 connection vector.
5291
5292 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5293 (tramp-methods): Do not use `tramp-password-end-of-line'.
5294 (tramp-completion-function-alist-putty): Handle UNIX case.
5295 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5296 (tramp-do-file-attributes-with-stat)
5297 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5298 gid as real numbers. They could run out of integer range on cygwin.
5299 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5300 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5301 (tramp-open-connection-setup-interactive-shell):
5302 Use `tramp-cleanup'. Move check for busyboxes ...
5303 (tramp-find-shell): ... here. Simplify implementation.
5304 Set "remote-shell" property also for alternative shells.
5305 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5306 If failing, a regular file would be written otherwise.
5307 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5308 (tramp-find-inline-encoding): Cache the coding commands in the
5309 process cache. Apply test command on the remote side, if defined.
5310 (tramp-find-inline-compress): Cache the compress commands in the
5311 process cache.
5312 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5313 when requested. Handle hops.
5314 (tramp-current-connection): New defvar.
87e6e64f
DA
5315 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5316 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5317 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5318 (tramp-get-inline-compress, tramp-get-inline-coding):
5319 Read connection properties from the process cache.
2fe4b125
MA
5320
5321 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5322 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5323 New defconsts.
2fe4b125
MA
5324 (tramp-smb-prompt): Extend for powershell prompt.
5325 (tramp-smb-file-name-handler-alist): Add handlers for
5326 `process-file', `shell-command' and `start-file-process'.
5327 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5328 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5329 (tramp-smb-file-name-p): Simplify.
5330 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5331 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5332 (tramp-smb-shell-quote-argument): New defuns.
5333 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5334 Implement using "tar". By this, time-stamps are preserved.
5335 (tramp-smb-handle-copy-file): Handle also the case of directories.
5336 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5337 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5338 Use `tramp-get-connection-buffer').
2fe4b125
MA
5339 (tramp-smb-handle-rename-file): Use "rename", when source and
5340 target are on the same share.
87e6e64f
DA
5341 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5342 Use `tramp-smb-server-version'.
2fe4b125
MA
5343 (tramp-smb-wait-for-output): Remove prompt.
5344
5345 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5346 (tramp-methods, tramp-rsh-end-of-line):
5347 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5348 (tramp-save-ad-hoc-proxies): New defcustom.
5349 (tramp-completion-function-alist): Adapt docstring.
5350 (tramp-default-password-end-of-line): Remove defcustom.
5351 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5352 (tramp-user-regexp, tramp-file-name-regexp-unified)
5353 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5354 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5355 (tramp-remote-file-name-spec-regexp): New defconst.
5356 (tramp-file-name-structure): Extend structure for hops.
5357 (tramp-get-method-parameter): Move up.
5358 (tramp-file-name-p, tramp-dissect-file-name)
5359 (with-parsed-tramp-file-name): Handle hops.
5360 (tramp-file-name-hop): New defun.
5361 (tramp-make-tramp-file-name): New optional arg HOP.
5362 (tramp-message-show-progress-reporter-message): New defvar.
5363 (tramp-with-progress-reporter): Use it. We cannot use
5364 `tramp-message-show-message' here, because this suppresses also
5365 error buffers.
5366 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5367 `tramp-message-show-message' is nil.
5368 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5369 (tramp-cleanup): New defun.
5370 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5371 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5372 an error unchanged.
5373 (tramp-completion-handle-file-name-all-completions): Handle hops.
5374 Fix an error when called from ido.
5375 (tramp-completion-dissect-file-name): Use better local variable
5376 name. Add hop to the vector.
5377 (tramp-handle-insert-file-contents): Use progress-reporter for the
5378 whole scenario.
5379 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5380 to `t'.
5381 (tramp-check-for-regexp): Simplify search.
5382 (tramp-enter-password): Remove it. Move implementation ...
5383 (tramp-action-password): ... here.
5384 (tramp-mode-string-to-int, tramp-local-host-p)
5385 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5386 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5387 Set tramp-autoload cookie.
2fe4b125
MA
5388
5389 * net/trampver.el: Update release number.
5390
53912012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5392 Michael Albinus <michael.albinus@gmx.de>
5393
5394 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5395 (tramp-parse-group, tramp-parse-file)
5396 (tramp-parse-shostkeys-sknownhosts): New defuns.
5397 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5398 (tramp-parse-shosts-group, tramp-parse-sconfig)
5399 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5400 (tramp-parse-sknownhosts, tramp-parse-hosts)
5401 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5402 Use them.
5403 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5404 (tramp-parse-putty-group): Don't narrow.
5405 (tramp-parse-putty): Make a loop.
5406 (tramp-file-name-handler): Catch the `suppress' signal.
5407
72834e10
CY
54082012-06-11 Chong Yidong <cyd@gnu.org>
5409
5410 * image.el (imagemagick-register-types): Put the ImageMagick entry
5411 at the end of image-type-file-name-regexps.
5412
a4712e11
JB
54132012-06-11 Johan Bockgård <bojohan@gnu.org>
5414
5415 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5416 (pcase, pcase-let*, pcase-dolist): Use them.
5417
82ad98e3
SM
54182012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * emacs-lisp/pcase.el (pcase--let*): New function.
5421 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5422 (pcase--expand): Use macroexp-let².
5423
f80efb86
SM
54242012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5425
5426 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5427 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5428 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5429 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5430 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5431 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5432
31ca4639 54332012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5434
31ca4639
CY
5435 * mail/rmail.el (rmail-yank-current-message): Leave point at
5436 correct position. (Bug#11660)
94f0aa34 5437
31ca4639 54382012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5439
31ca4639 5440 * allout-widgets.el: Fix code header.
9e1b8ec4 5441
31ca4639 54422012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5443
f80efb86
SM
5444 * cus-edit.el (customize-changed-options-previous-release):
5445 Bump to 24.1.
31ca4639 5446
642b6d30
AS
54472012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5448
5449 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5450
4f5d2ba1
CY
54512012-06-09 Chong Yidong <cyd@gnu.org>
5452
5453 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5454
e75852fd
MR
54552012-06-09 Martin Rudalics <rudalics@gmx.at>
5456
5457 * window.el (special-display-popup-frame): Don't use
5458 window--display-buffer (Bug#11651).
5459
1e48e282
EZ
54602012-06-09 Eli Zaretskii <eliz@gnu.org>
5461
8a26b487
EZ
5462 Fix parallel builds: make sure loaddefs.el is not being written
5463 while Lisp files are compiled.
5464 (compile): Don't depend on 'mh-autoloads'.
5465 (compile-CMD, compile-SH): Depend on 'autoloads'.
5466 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5467
1e48e282
EZ
5468 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5469
6175e34b
CY
54702012-06-09 Chong Yidong <cyd@gnu.org>
5471
5472 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5473 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5474 Doc fixes (Bug#11225).
5475
d9857e53
SM
54762012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5477
5478 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5479 a function if there's a clear indication that it has a compiler-macro.
5480 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5481 (macro-declarations-alist): Add arglist to declaration functions.
5482 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5483 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5484 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5485 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5486 Also add autoload to find the compiler macro.
5487 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5488 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5489 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5490 (cl--compiler-macro-get): New functions, replacing calls to
5491 cl-define-compiler-macro.
5492 (cl-typep) [compiler-macro]: Use macroexp-let².
5493
f81298f8 54942012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5495
5496 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5497 string properly, fixes Bug#11473.
5498
4b56d0fe
CY
54992012-06-08 Chong Yidong <cyd@gnu.org>
5500
5501 * faces.el (set-face-attribute): Doc fix.
5502 (modify-face): Don't use :bold and :italic.
5503 (error, warning, success): Tweak definitions.
5504
5505 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5506 (custom-modified, custom-set, custom-changed, custom-themed)
5507 (custom-saved, custom-button, custom-button-mouse)
5508 (custom-button-pressed, custom-state, custom-comment-tag)
5509 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5510 (custom-group-subtitle): Use new-style face specs.
5511 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5512 (custom-set-face, custom-changed-face, custom-saved-face)
5513 (custom-button-face, custom-button-pressed-face)
5514 (custom-documentation-face, custom-state-face)
5515 (custom-comment-face, custom-comment-tag-face)
5516 (custom-variable-tag-face, custom-variable-button-face)
5517 (custom-face-tag-face, custom-group-tag-face-1)
5518 (custom-group-tag-face): Remove obsolete face alias.
5519
5520 * epa.el (epa-validity-high, epa-validity-medium)
5521 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5522 (epa-field-name, epa-field-body):
5523 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5524 (font-lock-keyword-face, font-lock-builtin-face)
5525 (font-lock-function-name-face, font-lock-variable-name-face)
5526 (font-lock-type-face, font-lock-constant-face):
5527 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5528 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5529 * speedbar.el (speedbar-button-face, speedbar-file-face)
5530 (speedbar-directory-face, speedbar-tag-face)
5531 (speedbar-selected-face, speedbar-highlight-face)
5532 (speedbar-separator-face):
5533 * whitespace.el (whitespace-newline, whitespace-space)
5534 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5535 (whitespace-line, whitespace-space-before-tab)
5536 (whitespace-space-after-tab, whitespace-indentation)
5537 (whitespace-empty):
5538 * emulation/cua-base.el (cua-global-mark):
5539 * eshell/em-prompt.el (eshell-prompt):
5540 * net/newst-plainview.el (newsticker-new-item-face)
5541 (newsticker-old-item-face, newsticker-immortal-item-face)
5542 (newsticker-obsolete-item-face, newsticker-date-face)
5543 (newsticker-statistics-face, newsticker-default-face):
5544 * net/newst-reader.el (newsticker-feed-face)
5545 (newsticker-extra-face, newsticker-enclosure-face):
5546 * net/newst-treeview.el (newsticker-treeview-face)
5547 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5548 (newsticker-treeview-immortal-face)
5549 (newsticker-treeview-obsolete-face)
5550 (newsticker-treeview-selection-face):
5551 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5552 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5553 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5554 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5555 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5556 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5557 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5558 (mpuz-text):
5559 * progmodes/vera-mode.el (vera-font-lock-number)
5560 (vera-font-lock-function, vera-font-lock-interface):
5561 * textmodes/table.el (table-cell): Use new-style face specs, and
5562 don't use the old :bold and :italic attributes.
5563
5564 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5565 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5566 (ebrowse-member-class, ebrowse-progress): Likewise.
5567 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5568 (ebrowse-file-name-face, ebrowse-default-face)
5569 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5570 (ebrowse-progress-face): Remove obsolete faces.
5571
5572 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5573 Inherit from error and warning faces respectively.
5574
5575 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5576 Likewise.
f80efb86
SM
5577 (flyspell-incorrect-face, flyspell-duplicate-face):
5578 Remove obsolete aliases.
4b56d0fe 5579
03310646
MA
55802012-06-08 Michael Albinus <michael.albinus@gmx.de>
5581
5582 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5583 Avoid infloop.
5584
513749ee
SM
55852012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5586
5587 * startup.el (argv, argi): Make lexically scoped.
5588 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5589 * emacs-lisp/cl-macs.el: Use lexical-binding.
5590 Rename cl-bind-* to cl--bind-*.
5591 * files.el: Don't require `cl' since it doesn't use it.
5592 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5593
595ef4ad
JB
55942012-06-08 Juanma Barranquero <lekktu@gmail.com>
5595
5596 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5597 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5598 instead of calling external sort utility.
5599 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5600
e9f66fcb
EZ
56012012-06-08 Eli Zaretskii <eliz@gnu.org>
5602
5603 * descr-text.el (describe-char): Mention how to insert the
5604 character, if the current input method doesn't support it.
5605 See the discussion in this thread for the details:
5606 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5607
3d10db47
SS
56082012-06-08 Sam Steingold <sds@gnu.org>
5609
5610 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5611 XF86Back to previous-buffer.
5612 (minibuffer-local-map): Bind them to next-history-element and
5613 previous-history-element respectively.
5614 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5615 help-go-back respectively.
5616 * info.el (Info-mode-map): Bind them to Info-history-forward and
5617 Info-history-back respectively.
5618 These are the keys next to Up on the ThinkPad keyboard.
5619
de7e2b36
SM
56202012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5623 * emacs-lisp/cl-macs.el: Provide itself.
5624 (cl--labels-convert-cache): New var.
5625 (cl--labels-convert): New function.
5626 (cl-flet, cl-labels): New implementation with new semantics, relying on
5627 lexical-binding.
5628 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5629 (cl-closure-vars, cl--function-convert-cache)
5630 (cl--function-convert): Move from cl-macs.el.
5631 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5632 rename by removing the "cl-" prefix.
5633 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5634
6fa6c4ae
SM
56352012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5636
5637 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5638 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5639 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5640 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5641 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5642 (cl-hash-table-count): Add old compatibility aliases.
5643
5644 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5645 Use macroexpand-all-environment instead.
5646 (cl--old-macroexpand): New var.
5647 (cl--sm-macroexpand): New function.
5648 (cl-symbol-macrolet): Use it during macro expansion.
5649 (cl--function-convert-cache): New var.
5650 (cl--function-convert): New function, extracted from
5651 cl-macroexpand-all.
5652 (cl-lexical-let): Use it.
5653
5654 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5655 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5656 (cl-member): Remove old alias.
5657
5658 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5659 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5660 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5661 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5662 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5663 (cl-macroexpand-cmacs): Remove var.
5664 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5665 Use macroexpand-all instead.
5666
4dd1c416
SM
56672012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5668
5669 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5670 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5671 (macroexp-copyable-p): New functions and macros.
5672 * emacs-lisp/edebug.el (edebug-unwrap):
5673 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5674 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5675 (pcase--let*): Remove.
5676 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5677 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5678 macroexp-const-p instead.
5679 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5680
5681 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5682 instead of "cl-" for internal definitions. Use macroexp-const-p.
5683 (cl-old-bc-file-form): Remove var.
5684 (cl-const-exprs-p): Remove fun.
5685 (cl-labels, cl-macrolet): Use backquote.
5686 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5687 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5688 (cl-define-setf-expander): Rename from cl-define-setf-method.
5689 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5690
5691 * international/mule-cmds.el: Don't require CL.
5692 (view-hello-file): Don't use `letf'.
5693
ed8bd4d7
SM
56942012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5695
7287f2f3
SM
5696 * tmm.el (tmm-prompt): Use string-prefix-p.
5697 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5698 (tmm-add-prompt): Use minibuffer-completion-help.
5699 (tmm-delete-map): Remove.
5700
ed8bd4d7
SM
5701 * subr.el (kbd): Make it its own function.
5702
7b4cdbf4
SM
57032012-06-07 Stefan Merten <smerten@oekonux.de>
5704
5705 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5706 Silence compiler warnings. Fix versions.
ed8bd4d7 5707 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5708 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5709 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5710 (rst-package-emacs-version-alist): Correct Emacs version to
5711 represent major merge with upstream.
ed8bd4d7 5712 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5713
2b48d721
GM
57142012-06-06 Glenn Morris <rgm@gnu.org>
5715
5716 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5717 Only print environment variables if set.
5718
fa779ab0
SM
57192012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5720
5721 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5722 (macroexp--cons): Rename from maybe-cons.
5723 (macroexp--accumulate): Rename from macroexp-accumulate.
5724 (macroexp--all-forms): Rename from macroexpand-all-forms.
5725 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5726 (macroexp--expand-all): Rename from macroexpand-all-1.
5727
628299e0
SS
57282012-06-06 Sam Steingold <sds@gnu.org>
5729
5730 * calendar/calendar.el (calendar-in-read-only-buffer):
5731 Call `special-mode' to enable the standard read-only keybindings.
5732
b7bb5838
SM
57332012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5736 with "loading" messages (bug#11635).
5737
dfb308ba
MA
57382012-06-06 Michael Albinus <michael.albinus@gmx.de>
5739
5740 * files.el (enable-remote-dir-locals): New option.
5741 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5742
0372ee92
MA
5743 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5744 Ensure, that the temp directory is local.
5745
5746 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5747 `temporary-file-directory'.
5748
eed0bb91
MA
5749 * progmodes/python.el (python-send-region): Ensure, that the
5750 temporary file is created also in the remote case.
5751
7a58f64d
GM
57522012-06-06 Glenn Morris <rgm@gnu.org>
5753
f7dd4e98
GM
5754 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5755 (vc-rcs-update-changelog): Use it.
5756
090bd7cb 5757 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5758
7a58f64d
GM
5759 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5760 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5761 (vc-sccs-diff): Replace use of the external vcdiff script.
5762
daed4003
GM
57632012-06-05 Glenn Morris <rgm@gnu.org>
5764
5765 * ledit.el: Move to obsolete/.
5766
48c455c7
SS
57672012-06-05 Sam Steingold <sds@gnu.org>
5768
ed9265fc 5769 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5770 patch (Bug#11140).
5771
57a7d507
SM
57722012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5773
090bd7cb 5774 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5775
53aacf21
SM
5776 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5777 compiler-macro expansion.
5778
57a7d507
SM
5779 Add native compiler-macro support.
5780 * emacs-lisp/macroexp.el (macroexpand-all-1):
5781 Support compiler-macros directly. Properly follow aliases and apply
5782 the compiler macros more thoroughly.
5783 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5784 macroexpand now properly follows aliases.
5785 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5786 (cl-compiler-macroexpand): Use new prop.
5787 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5788
5789 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5790
51a5f9d8
MR
57912012-06-05 Martin Rudalics <rudalics@gmx.at>
5792
5793 * window.el (get-lru-window, get-mru-window, get-largest-window):
5794 New argument NOT-SELECTED to avoid picking the selected window.
5795 (window--display-buffer-1, window--display-buffer-2): Replace by
5796 new function window--display-buffer
5797 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5798 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5799 Use window--display-buffer.
51a5f9d8
MR
5800 (display-buffer-use-some-window): Remove temporary dedication
5801 hack by calling get-lru-window and get-largest-window with
5802 NOT-SELECTED argument non-nil. Call window--display-buffer.
5803
08f9f738
GM
58042012-06-05 Glenn Morris <rgm@gnu.org>
5805
5806 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5807 Replace external vcdiff script.
5808
e364a2b7
SM
58092012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5812
041df390
CY
58132012-06-04 Chong Yidong <cyd@gnu.org>
5814
e364a2b7
SM
5815 * image.el (imagemagick-types-inhibit): Revert last change.
5816 Add INFO and M.
47b36b94 5817 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5818
7c1898a7
SM
58192012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5820
5821 * emacs-lisp/cl-lib.el: Rename from cl.el.
5822 * emacs-lisp/cl.el: New compatibility file.
5823 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5824 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5825 to obey the "cl-" prefix.
5826 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5827
0c3461de
GM
58282012-06-03 Glenn Morris <rgm@gnu.org>
5829
1e266c88
GM
5830 * emacs-lisp/authors.el (authors-aliases): Addition.
5831
0c3461de
GM
5832 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5833 Fix :version.
5834
d8a52e15
SM
58352012-06-03 Stefan Merten <smerten@oekonux.de>
5836
5837 * textmodes/rst.el: Add comments.
5838 (rst-transition, rst-adornment): New faces.
5839 (rst-adornment-faces-alist): Make default safe to reevaluate.
5840 Fixes
5841 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5842 Improve customization tags.
5843 (rst-define-level-faces): Clarify meaning.
5844
5205d6f6
CY
58452012-06-03 Chong Yidong <cyd@gnu.org>
5846
5847 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5848 (compilation-mode-line-run, compilation-mode-line-exit):
5849 New faces.
5205d6f6
CY
5850 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5851
757ee657
JD
58522012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5853
7c1898a7
SM
5854 * progmodes/which-func.el (which-func-update-ediff-windows):
5855 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5856
5f2c76c6
CY
58572012-06-03 Chong Yidong <cyd@gnu.org>
5858
5859 * bindings.el: Remove explicit help text from format-mode-line.
5860 It is now supplied by mode-line-default-help-echo.
5861 (mode-line-front-space, mode-line-end-spaces)
5862 (mode-line-misc-info): New variables.
5863 (mode-line-modes, mode-line-position): Move the default value to
5864 the variable definition.
5865 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5866 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5867 (mode-line-modified-help-echo): New functions.
5868 (mode-line-mule-info, mode-line-modified): Use them.
5869 (mode-line-eol-desc, propertized-buffer-identification):
5870 Consistency fixes for help text.
cbe46e5f
CY
5871 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5872 set-buffer-file-coding-system (Bug#289).
5873 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5874
f2d6a3df
SM
58752012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * simple.el (execute-extended-command): Set real-this-command
5878 (bug#11506).
5879
37269466
CY
58802012-06-02 Chong Yidong <cyd@gnu.org>
5881
5882 Remove incorrect uses of "modeline" in comments, docstrings, and
5883 function/variable names (Bug#10329).
5884
5885 * cus-edit.el (mode-line):
5886 * dframe.el (dframe-mouse-hscroll):
5887 * emacs-lisp/re-builder.el:
5888 * emacs-lisp/easy-mmode.el (define-minor-mode):
5889 * frame.el (set-frame-name):
5890 * help.el (lookup-minor-mode-from-indicator):
5891 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5892 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5893 (c-toggle-hungry-state):
5894 * progmodes/antlr-mode.el (antlr-language-alist):
5895 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5896 * progmodes/vhdl-mode.el (vhdl-mode):
5897 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5898 * term/ns-win.el (ns-face-at-pos):
5899 * term/sup-mouse.el (sup-mouse-report):
5900 * textmodes/flyspell.el (flyspell-mode-line-string):
5901 * textmodes/ispell.el (ispell-highlight-face):
5902 * textmodes/reftex-global.el:
5903 * vc/vc-arch.el (vc-arch-mode-line-string):
5904 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5905 * vc/vc-git.el (vc-git-mode-line-string):
5906 * vc/vc-hooks.el (vc-display-status)
5907 (vc-default-mode-line-string):
5908 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5909
5910 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5911
5912 * dired.el (dired-sort-set-mode-line): Rename from
5913 dired-sort-set-modeline. All callers changed.
5914
5915 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5916 eshell-status-in-modeline.
5917
5918 * foldout.el (foldout-mode-line-string): Rename from
5919 foldout-modeline-string. All callers changed.
5920 (foldout-update-mode-line): Rename from foldout-update-modeline.
5921
5922 * subr.el (redraw-modeline): Make into obsolete alias.
5923
5924 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5925 timeclock-modeline-display. Make old name an alias.
5926 (timeclock-update-mode-line): Likewise. All callers changed.
5927 (timeclock-mode-line-display): No need to check before using
5928 add-hook.
5929 (timeclock-relative, timeclock-day-over-hook)
5930 (timeclock-use-elapsed, timeclock-mode-string)
5931 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5932
5933 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5934 crisp-mode-modeline-string.
5935
5936 * play/solitaire.el (solitaire-build-mode-line): Rename from
5937 solitaire-build-modeline. All callers changed.
5938
5939 * play/zone.el (zone-hiding-mode-line): Rename from
5940 zone-hiding-modeline. All callers changed.
5941 (zone): Remove unusued `modeline-hidden-level' property.
5942
5943 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5944 xscheme-modeline-initialize. All callers changed.
5945
5946 * strokes.el (strokes-lighter): Rename from
5947 strokes-modeline-string.
5948
5949 * textmodes/sgml-mode.el (html-face-tag-alist)
5950 (html-tag-face-alist): Use mode-line face instead of obsolete
5951 alias modeline.
5952
42152ee4
SM
59532012-06-02 Stefan Merten <smerten@oekonux.de>
5954
5955 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5956 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5957
95f520b5
CY
59582012-06-02 Chong Yidong <cyd@gnu.org>
5959
5960 * image.el (imagemagick-enabled-types): Rename from
5961 imagemagick-types-enable. Add many more types.
5962 (imagemagick-types-inhibit): Change default to nil.
5963 (imagemagick-filter-types): Caller changed.
5964
4a5f187a
SM
59652012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5966
03fef3e6
SM
5967 * emacs-lisp/cl-macs.el: Use backquotes.
5968 (cl-transform-function-property): Use eval-and-compile rather than
5969 abusing `require'.
5970 (defstruct): Use declare-function instead of with-no-warnings.
5971
4a5f187a
SM
5972 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5973 (byte-compile-output-docform): Re-add the print-circle bindings.
5974 (byte-compile-fix-header): Use #$ just because it's shorter.
5975 (byte-compile-output-file-form): Remove defun/defmacro.
5976
bd56924f
MR
59772012-06-01 Martin Rudalics <rudalics@gmx.at>
5978
5979 * simple.el (choose-completion): Remove now obsolete binding for
5980 owindow.
5981
046e38ce
MA
59822012-06-01 Michael Albinus <michael.albinus@gmx.de>
5983
5984 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5985 in order to avoid "Stack overflow in regexp matcher".
5986
32d72c2f
GM
59872012-05-31 Glenn Morris <rgm@gnu.org>
5988
5989 * image.el: For clarity, call imagemagick-register-types at
5990 top-level, rather than relying on a custom :initialize.
5991 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
5992 (imagemagick-filter-types): New function. (Bug#7406)
5993 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
5994 If disabling support, remove elements altogether rather
5995 than using an impossible regexp.
5996 (imagemagick-types-inhibit): Give it the default init function.
5997
dd41169b
SM
59982012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5999
4a5f187a
SM
6000 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6001 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6002
efc00ab1 60032012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6004
6005 * desktop.el (desktop-read): Clear previous and next buffers for
6006 all windows and bury *Messages* buffer (bug#11556).
6007
500fcedc
SM
60082012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 Add `declare' for `defun'. Align `defmacro's with it.
6011 * emacs-lisp/easy-mmode.el (define-minor-mode)
6012 (define-globalized-minor-mode): Don't autoload the var definitions.
6013 * emacs-lisp/byte-run.el: Use lexical-binding.
6014 (defun-declarations-alist, macro-declarations-alist): New vars.
6015 (defmacro, defun): Use them.
6016 (make-obsolete, define-obsolete-function-alias)
6017 (make-obsolete-variable, define-obsolete-variable-alias):
6018 Use `declare'.
6019 (macro-declaration-function): Mark obsolete.
6020 * emacs-lisp/autoload.el: Use lexical-binding.
6021 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6022
6e8a1786
AM
60232012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6024
6025 * textmodes/ispell.el (ispell-with-no-warnings):
6026 Define as a macro.
500fcedc
SM
6027 (ispell-kill-ispell, ispell-change-dictionary):
6028 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6029 `interactive-p'.
6030
61b108cc
SM
60312012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6032
6033 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6034 (macro-declaration-function): Move var from C code.
6035 (macro-declaration-function): Define function with defalias.
6036 * emacs-lisp/macroexp.el (macroexpand-all-1):
6037 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6038 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6039 defun/defmacro any more.
6040 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6041 Provide fallback for unknown arglist.
6042 (byte-compile-arglist-warn): Change calling convention.
6043 (byte-compile-output-file-form): Move print-vars binding.
6044 (byte-compile-output-docform): Simplify accordingly.
6045 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6046 (byte-compile-defmacro-declaration): Remove.
6047 (byte-compile-file-form-defmumble): Generalize to defalias.
6048 (byte-compile-output-as-comment): Return byte-positions.
6049 Simplify callers accordingly.
6050 (byte-compile-lambda): Use `assert'.
6051 (byte-compile-defun, byte-compile-defmacro): Remove.
6052 (byte-compile-file-form-defalias):
6053 Use byte-compile-file-form-defmumble.
6054 (byte-compile-defalias-warn): Remove.
6055
6d3f7c2f
SM
60562012-05-29 Stefan Merten <smerten@oekonux.de>
6057
6058 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6059 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6060
6061 (rst-mode-abbrev-table): Merge definition.
6062 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6063 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6064
6dbaa1c7
UJ
60652012-05-29 Ulf Jasper <ulf.jasper@web.de>
6066
6067 * calendar/icalendar.el
6068 (icalendar-export-region): Export UID properly.
6069
d209e2fb 60702012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6071 * calendar/icalendar.el (icalendar-import-format):
6072 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6073 (icalendar-import-format-uid): New.
6074 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6075 Export UID.
6076
6876a58d
SM
60772012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6078
6079 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6080 different alternative patterns.
6081 (pcase-codegen): Be more careful to preserve identity.
6082 (pcase--u1): Don't forget to mark vars as used.
6083
6084 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6085 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6086 (byte-compile-from-buffer): ...rather than here.
6087
6088 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6089 functions from byte-compile-function-environment.
6090
46b7967e
TN
60912012-05-29 Troels Nielsen <bn.troels@gmail.com>
6092
6093 * window.el (window-deletable-p): Avoid deleting the root window
6094 of a frame with an active minibuffer.
6095
69d565e2
MR
60962012-05-29 Martin Rudalics <rudalics@gmx.at>
6097
6098 * simple.el (choose-completion): Use quit-window (Bug#11567).
6099
a149fa51
CY
61002012-05-29 Chong Yidong <cyd@gnu.org>
6101
6102 * whitespace.el (whitespace-cleanup): Fix usage of
6103 whitespace-empty-at-bob-regexp (Bug#11492).
6104
2b311310
AH
61052012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6106
6107 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6108 revert (Bug#11488).
6109
b9cb2387
JL
61102012-05-29 Juri Linkov <juri@jurta.org>
6111
6112 * isearch.el (isearch-mode-map): Bind `M-s _' to
6113 `isearch-toggle-symbol'. Bind `M-s c' to
6114 `isearch-toggle-case-fold'.
6115 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6116 (isearch-forward): Add `M-s _' to the docstring.
6117 (isearch-forward-symbol, isearch-toggle-case-fold)
6118 (isearch-symbol-regexp): New functions. (Bug#11381)
6119
d5e61c1c
JL
61202012-05-29 Juri Linkov <juri@jurta.org>
6121
6122 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6123 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6124 a function, call it to get the regexp.
6125 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6126 property `isearch-message-prefix' instead of the string "word ".
6127 (isearch-search-fun-default): For the case of `isearch-word',
6128 return a lambda that calls re-search-forward/re-search-backward
6129 with a regexp returned by `word-search-regexp' or by the function
6130 in `isearch-word'.
6131
8cbd80f7
JL
61322012-05-29 Juri Linkov <juri@jurta.org>
6133
6134 * isearch.el (isearch-search-fun-default): New function.
6135 (isearch-search-fun): Move default part to the new function
6136 `isearch-search-fun-default'.
6137 (isearch-search-fun-function): Set the default value to
6138 `isearch-search-fun-default'. (Bug#11381)
6139
6140 * comint.el (comint-history-isearch-end):
6141 Use `isearch-search-fun-default'.
6142 (comint-history-isearch-search): Use `isearch-search-fun-default'
6143 and remove spacial case for `isearch-word'.
6144 (comint-history-isearch-wrap): Remove spacial case for
6145 `isearch-word'.
6146
6147 * hexl.el (hexl-isearch-search-function):
6148 Use `isearch-search-fun-default'.
6149
6150 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6151 Use `word-search-regexp' for `isearch-word'.
6152
6153 * misearch.el (multi-isearch-search-fun):
6154 Use `isearch-search-fun-default'.
6155
6156 * simple.el (minibuffer-history-isearch-search):
6157 Use `isearch-search-fun-default' and remove spacial case for
6158 `isearch-word'.
6159 (minibuffer-history-isearch-wrap): Remove spacial case for
6160 `isearch-word'.
6161
6162 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6163 Remove spacial case for `isearch-word'.
6164 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6165
85c8c5b6
AM
61662012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6167
6168 Decrease XEmacs incompatibilities.
6169 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6170 Use `string-match'.
6171 (flyspell-delete-region-overlays): Use alternative definition for
6172 XEmacs.
6173 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6174 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6175 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6176 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6177 `define-obsolete-face-alias' under XEmacs, but old method.
6178
6179 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6180 `with-no-warnings' definition or Emacs alias.
6181 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6182 (ispell-word): Do not use `region-p' if XEmacs.
6183
8cab9efc
AM
61842012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6185
6186 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6187 Check for `ispell-dictionary-base-alist' instead of full
6188 `ispell-dictionary-alist'.
6189 (ispell-init-process): Show spellchecker when starting new Ispell
6190 process.
6191
fda91268
RZ
61922012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6193
6194 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6195 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6196
694ea8e3
JB
61972012-05-27 Juanma Barranquero <lekktu@gmail.com>
6198
6199 * version.el (motif-version-string, gtk-version-string)
6200 (ns-version-string): Declare.
6201
e4d4f539
JL
62022012-05-27 Juri Linkov <juri@jurta.org>
6203
6204 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6205 after the `eval-defun-1' specialcaseing
6206 like in `edebug-eval-defun' (bug#10181).
6207
6208 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6209 like in `eval-defun-1'.
6210
33017faf 62112012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6212
fda91268
RZ
6213 * mail/sendmail.el (mail-yank-region):
6214 Recognize rmail-yank-current-message in addition to insert-buffer.
6215 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6216 a *mail* buffer created through rmail-start-mail with sendmail as
6217 mail-user-agent.
6218
33017faf
GM
62192012-05-27 Chong Yidong <cyd@gnu.org>
6220
6221 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6222 Default to 256 (Bug#11267).
6223
6224 * help.el (describe-mode): Doc fix.
6225
04188bb9
GM
62262012-05-26 Glenn Morris <rgm@gnu.org>
6227
38264cc9
GM
6228 * w32-fns.el (w32-init-info): Remove.
6229 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6230
eb7afdad
GM
6231 * info.el (info-initialize): For self-contained NS builds, put the
6232 included info/ directory at the front. (Bug#2791)
6233
04188bb9
GM
6234 * paths.el (Info-default-directory-list): Make it a defcustom,
6235 mainly so that we can use custom-initialize-delay.
6236
a179e3f7
SM
62372012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6238
43416392
SM
6239 * subr.el (buffer-has-markers-at): Mark obsolete.
6240
a179e3f7 6241 * subr.el (lambda): Use declare.
43416392 6242
a179e3f7
SM
6243 * emacs-lisp/lisp-mode.el (lambda):
6244 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6245
34a008d9
AH
62462012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6247
6248 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6249
0a3b289f
GM
62502012-05-26 Glenn Morris <rgm@gnu.org>
6251
6252 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6253
758c81e8
GM
62542012-05-25 Glenn Morris <rgm@gnu.org>
6255
f9f334f0
GM
6256 * paths.el: Remove no-byte-compile.
6257 * loadup.el: No need to load paths.el uncompiled.
6258
87eb79c2
GM
6259 * image.el (imagemagick-types-inhibit): Doc fix.
6260
758c81e8
GM
6261 * version.el: Remove no-byte-compile and associated formatting.
6262 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6263 is ancient code from when there was an "inc-vers.el".
6264
e7e85dc0
SM
62652012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * progmodes/gdb-mi.el: Minor style changes.
6268 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6269 Turn into minor modes.
6270 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6271 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6272 (gdb-shell): Remove unneeded let-binding.
6273 (gdb-get-many-fields): Eliminate O(n²) behavior.
6274
f31237a4
EZ
62752012-05-25 Eli Zaretskii <eliz@gnu.org>
6276
6277 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6278 platforms that don't link in fontset.c.
6279
bc1b21bb
JL
62802012-05-25 Juri Linkov <juri@jurta.org>
6281
6282 Use the same diff color scheme as in modern VCSes (bug#10181).
6283
6284 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6285 to avoid confusion with `diff-added' that now uses green colors.
6286 (diff-removed): Use shades of red.
6287 (diff-added): Use shades of green.
6288 (diff-changed): Leave just the yellow color.
6289 (diff-use-changed-face): New variable.
6290 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6291 how to highlight context diff changes.
6292 (diff-refine-change): Use shades of yellow.
6293 (diff-refine-removed): New face that uses shades of red.
6294 (diff-refine-added): New face that uses shades of green.
6295 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6296 `diff-refine-removed' in the call to `smerge-refine-subst'
6297 depending on the value of `diff-use-changed-face'.
6298
6299 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6300 (smerge-other): Use shades of green.
6301 (smerge-base): Use shades of yellow.
6302 (smerge-refined-change): Empty face.
6303 (smerge-refined-removed): New face that uses shades of red.
6304 (smerge-refined-added): New face that uses shades of green.
6305 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6306 args `props-r' and `props-a', and use them. Doc fix.
6307 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6308 on its value use different faces `smerge-refined-change',
6309 `smerge-refined-removed', `smerge-refined-added' in the call to
6310 `smerge-refine-subst'.
6311
6312 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6313 Add face condition `min-colors 88' with shades of red.
6314 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6315 `min-colors 88' with shades of green.
6316 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6317 `min-colors 88' with shades of yellow.
6318
6df9112c
GM
63192012-05-24 Glenn Morris <rgm@gnu.org>
6320
ead5edc0
GM
6321 * paths.el (prune-directory-list, remote-shell-program): Move to...
6322 * files.el (prune-directory-list, remote-shell-program): ...here.
6323 For the latter, delay initialization, prefer ssh, just search PATH.
6324
f18b81e6
GM
6325 * paths.el (term-file-prefix): Move to faces.el (the only user).
6326 * faces.el (term-file-prefix): Move here, make it a defcustom.
6327
ee2f89a6
GM
6328 * paths.el (news-directory, news-path, news-inews-program):
6329 Move to gnus/nnspool.el.
61a583ca 6330
f8815e4c
GM
6331 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6332
c8f3b42c
GM
6333 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6334 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6335 Make the latter a defcustom, with a delayed initialization.
6336
6df9112c
GM
6337 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6338 These were deleted from Gnus itself late 2010.
6339
5dadff36
JB
63402012-05-22 Juanma Barranquero <lekktu@gmail.com>
6341
9e1701c6
JB
6342 * progmodes/which-func.el (which-func-ff-hook):
6343 Check against user-error, not error.
6344
bd7239f5 6345 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6346 cl-specs.el, which no longer exists.
6347
3290526d
GM
63482012-05-22 Glenn Morris <rgm@gnu.org>
6349
6350 * info.el (info-emacs-bug): New command.
6351 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6352 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6353
ff0c3cfb
GM
63542012-05-21 Glenn Morris <rgm@gnu.org>
6355
6356 * makefile.w32-in (update-subdirs-SH):
6357 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6358
5814f126
SM
63592012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6360
a52c0aa0
SM
6361 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6362
5814f126
SM
6363 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6364 Simplify Maven regexp, and make sure the file can't start with a space
6365 (bug#11517).
6366
b847032c
GM
63672012-05-21 Glenn Morris <rgm@gnu.org>
6368
6369 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6370 Scrap superfluous subshells.
6371
3858bfe7
SM
63722012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6373
6374 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6375 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6376
d14b0029
JB
63772012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6378
6379 * calc/calc.el (calc-ensure-consistent-units): New variable.
6380
a52c0aa0
SM
6381 * calc/calc-units.el (math-consistent-units-p)
6382 (math-check-unit-consistency): New functions.
6383 (calc-quick-units, calc-convert-units):
6384 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6385 is non-nil.
d14b0029
JB
6386 (calc-extract-units): Fix typo.
6387
60c4db3a
SM
63882012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6389
77f3b62e
SM
6390 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6391
60c4db3a
SM
6392 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6393 (flyspell-default-deplacement-commands): Don't spell check after
6394 repeated window/frame switches (e.g. triggered by mouse-movement).
6395 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6396 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6397 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6398 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6399 Remove unused vars.
6400 (flyspell-get-casechars, flyspell-get-not-casechars):
6401 Simplify; Don't bother removing a ] just to add it back.
6402 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6403
d209e2fb 64042012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6405
6406 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6407 New functions.
bd7239f5 6408 (math-function-table): Add support for more C functions.
b1a10716 6409
3f1b25b5
AM
64102012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6411
090bd7cb
JB
6412 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6413 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6414 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6415
b581bb5c
SM
64162012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6419 their respective macro declarations.
6420 * skeleton.el (define-skeleton):
6421 * progmodes/compile.el (define-compilation-mode):
6422 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6423 (define-ibuffer-filter):
6424 * emacs-lisp/generic.el (define-generic-mode):
6425 * emacs-lisp/easy-mmode.el (define-minor-mode)
6426 (define-globalized-minor-mode):
6427 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6428 * emacs-lisp/byte-run.el (defsubst):
6429 * custom.el (deftheme): Add doc-string metadata.
6430
70b8ef8f
SM
64312012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6434
b1198e17
SM
64352012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6436
9abdc45d
SM
6437 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6438
b1198e17
SM
6439 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6440 * emacs-lisp/cl-macs.el: Idem.
6441 * emacs-lisp/cl-specs.el: Remove.
6442
4735906a
SM
64432012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 Minor renaming of internal CL functions and variables.
6446 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6447 (cl--position): Rename from cl-position.
6448 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6449 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6450 (cl--random-state): Rename from *random-state*.
6451
ac348012
SM
64522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6455 parens around the arg list (bug#11499).
6456
a0a79cde
JL
64572012-05-17 Juri Linkov <juri@jurta.org>
6458
6459 * isearch.el (word-search-regexp, word-search-backward)
6460 (word-search-forward, word-search-backward-lax)
6461 (word-search-forward-lax): Move functions from search.c
6462 (bug#10145, bug#11381).
6463
65034a51
AM
64642012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6465
090bd7cb
JB
6466 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6467 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6468 Delay for otherchars as for normal word components.
65034a51 6469
1a72a195
SM
64702012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * minibuffer.el (completion--sifn-requote): Fix last change.
6473 (minibuffer-local-must-match-filename-map):
6474 Move define-obsolete-variable-alias before its var.
6475
fdb058c2
SM
64762012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6477
c41045e6
SM
6478 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6479
036dfb8b
SM
6480 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6481 behavior.
6482 (completion--string-equal-p): New function.
6483 (completion--twq-all): Use it to get better assertion failure data.
6484
2473256d
SM
6485 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6486 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6487 (shell--requote-argument): New functions.
6488 (shell-completion-vars): Use them.
6489 (shell--parse-pcomplete-arguments): Rename from
6490 shell-parse-pcomplete-arguments.
6491 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6492 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6493 Obey comint-file-name-quote-list.
6494
fdb058c2
SM
6495 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6496 (smie-indent-keyword): Use it.
6497
51fa99f1
SM
64982012-05-14 Stefan Merten <smerten@oekonux.de>
6499
6500 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6501
e18afed7 65022012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6503
6504 * net/rlogin.el (rlogin-mode-map): Fix last change.
6505
e18afed7 65062012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6507
6508 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6509 the following \r\n using a single `process-send-string', since the
6510 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6511 with two `process-send-string's (Bug#11444).
8633b1f4 6512
e18afed7 65132012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6514
fdb058c2
SM
6515 * shell.el (shell-parse-pcomplete-arguments):
6516 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6517
2d21d7f6
WJ
65182012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6519
e18afed7 6520 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6521 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6522 (image-transform-width, image-transform-fit-width): New functions.
6523 (image-transform-properties): Use them.
6524 (image-transform-check-size): New function.
6525 (image-toggle-display-image): Use it (for testing).
6526 (image-transform-set-rotation): Reduce angle mod 360.
6527 Delete obsolete comment.
6528
7102e6d0
WJ
65292012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6530
6531 * image-mode.el: Fix scaling (bug#11399).
6532 (image-transform-resize): Doc fix.
6533 (image-transform-properties): Default scale is 1 and height should
6534 be an integer.
6535
06bc5e6e
SM
65362012-05-13 Johan Bockgård <bojohan@gnu.org>
6537
6538 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6539 than hard-coding `car', to fix misbehavior when moving forward.
6540
0ae03b6a
CY
65412012-05-13 Chong Yidong <cyd@gnu.org>
6542
6543 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6544 (tabulated-list-entries, tabulated-list-padding)
6545 (tabulated-list-sort-key): Make permanent-local.
6546
6547 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6548 (electric-buffer-list): Put electric buffer menu
6549 command descriptions in this docstring, instead of the docstring
6550 of electric-buffer-menu-mode. Code cleanups.
6551 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6552 Electric-buffer-menu-mode.
6553 (electric-buffer-update-highlight): Minor code cleanup.
6554
205a7391
MA
65552012-05-13 Michael Albinus <michael.albinus@gmx.de>
6556
6557 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6558 (Bug#11447)
6559
e5bd0a28
SM
65602012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 Move define-obsolete-variable-alias before the var's definition.
6563 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6564 * tooltip.el (tooltip-hook):
6565 * textmodes/reftex-toc.el (reftex-toc-map):
6566 * textmodes/reftex-sel.el (reftex-select-label-map)
6567 (reftex-select-bib-map):
6568 * textmodes/reftex-index.el (reftex-index-map)
6569 (reftex-index-phrases-map):
6570 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6571 * progmodes/meta-mode.el (meta-mode-map):
6572 * novice.el (disabled-command-hook):
6573 * loadhist.el (unload-hook-features-list):
6574 * frame.el (blink-cursor):
6575 * files.el (find-file-not-found-hooks, write-file-hooks)
6576 (write-contents-hooks):
6577 * emulation/tpu-edt.el (GOLD-map):
6578 * emacs-lock.el (emacs-lock-from-exiting):
6579 * emacs-lisp/generic.el (generic-font-lock-defaults):
6580 * emacs-lisp/chart.el (chart-map):
6581 * dos-fns.el (register-name-alist):
6582 * dired-x.el (dired-omit-files-p):
6583 * desktop.el (desktop-enable):
6584 * cus-edit.el (custom-mode-hook):
6585 * buff-menu.el (buffer-menu-mode-hook):
6586 * bookmark.el (bookmark-read-annotation-text-func)
6587 (bookmark-exit-hooks):
6588 * allout.el (allout-mode-deactivate-hook)
6589 (allout-exposure-change-hook, allout-structure-added-hook)
6590 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6591 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6592 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6593 comes before the corresponding variable's definition.
6594
ac59c2f6
CY
65952012-05-12 Chong Yidong <cyd@gnu.org>
6596
6597 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6598 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6599 (Buffer-menu-mode-map): Bind it.
6600 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6601
dee6c9a3
SM
66022012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6603
2171cea5
SM
6604 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6605 (prolog-upper-case-string, prolog-lower-case-string)
6606 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6607 (prolog-use-smie, prolog-smie-grammar): New vars.
6608 (prolog-smie-forward-token, prolog-smie-backward-token)
6609 (prolog-smie-rules): New funs.
6610 (prolog-comment-indent): Remove.
6611 (prolog-mode-variables): Use default comment indentation instead.
6612 Setup SMIE.
6613 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6614 (prolog-mode): Don't call them any more.
6615 (prolog-electric-colon, prolog-electric-dash)
6616 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6617
aa0382bd
SM
6618 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6619
dbacb4bd
SM
6620 * minibuffer.el (completion--twq-all): Again, allow case differences.
6621
13bdd94c
SM
6622 * term.el: Move keymap initialization code to be more idiomatic.
6623 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6624 (term-terminal-menu): Move initialization into declaration.
6625 (term-escape-char): Let the user set it in her .emacs.
6626
ff46c759
SM
6627 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6628 Provide SMIE-based indentation (not enabled by default yet).
6629 (sh-mode-map): Don't bind electric keys.
6630 Use electric-pair-mode instead of skeleton-pair.
6631 (sh-assignment-regexp): Fit within 80 columns.
6632 (sh-indent-supported): Specify actual shell name instead of boolean.
6633 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6634 (sh-maybe-here-document): Use it. Make obsolete.
6635 (sh-electric-here-document-mode) New minor mode.
6636 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6637 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6638 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6639 (sh-smie-rc-grammar, sh-use-smie): New vars.
6640 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6641 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6642 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6643 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6644 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6645 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6646 (sh-set-shell): Use smie-setup if requested.
6647
dee6c9a3
SM
6648 * term.el (term-set-escape-char): Properly set term-escape-char.
6649 See http://stackoverflow.com/questions/10524656.
6650
9f9aa044
CY
66512012-05-10 Chong Yidong <cyd@gnu.org>
6652
6653 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6654 Use url-generic-parse-url, and handle host names and Windows
6655 filenames properly.
6656 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6657 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6658 URL schemes to work on.
6659 (ffap--toggle-read-only): New function.
6660 (ffap-read-only, ffap-read-only-other-window)
6661 (ffap-read-only-other-frame): Use it.
6662 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6663 necessary for ffap-url-unwrap-remote.
6664
836d29b3
DA
66652012-05-10 Dave Abrahams <dave@boostpro.com>
6666
6667 * cus-start.el (create-lockfiles): Add it.
6668
00fd78ed
CY
66692012-05-09 Chong Yidong <cyd@gnu.org>
6670
6671 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6672 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6673
666b903b 66742012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6675
6676 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6677
666b903b 66782012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6679
6680 * ansi-color.el (ansi-color-process-output): Check for validity of
6681 comint-last-output-start before using it. This avoids a bad
6682 interaction with gdb-mi's input/output buffer.
6683
666b903b 66842012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6685
6686 * files.el (dir-locals-read-from-file):
6687 Mention dir-locals in any error message.
6688
666b903b 66892012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6690
6691 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6692 package (Bug#11410).
6693
f677562b
CY
6694 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6695 variables into description.
6696
666b903b 66972012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6698
6699 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6700 shell-delimiter-argument-list (bug#11348).
6701 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6702
b499d8d0
JB
67032012-05-09 Juanma Barranquero <lekktu@gmail.com>
6704
8f6b6da8
JB
6705 * textmodes/rst.el: Silence byte-compiler warnings.
6706 (rst-re-alist, rst-reset-section-caches): Move around.
6707 (rst-re): Use `characterp', not `char-valid-p'.
6708 (font-lock-beg, font-lock-end): Declare.
6709
4824146a
JB
6710 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6711 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6712
b499d8d0
JB
6713 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6714
ad89bb83
GM
67152012-05-08 Glenn Morris <rgm@gnu.org>
6716
6717 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6718
8bba5a75
SM
67192012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6720
49ed9c8e
SM
6721 * vc/log-edit.el: Add GNU coding standards highlighting.
6722 (log-edit-font-lock-gnu-style)
6723 (log-edit-font-lock-gnu-keywords): New vars.
6724 (log-edit-font-lock-keywords): New fun.
6725 (log-edit-mode): Don't fold case in font-lock.
6726 (log-edit-font-lock-keywords): Do not assume case-folding.
6727
07d00b56
SM
6728 * imenu.el: Misc cleanup. Make docstrings out of comments.
6729 Use lexical-binding.
6730 (imenu--index-alist, imenu--last-menubar-index-alist)
6731 (imenu-menubar-modified-tick): Use defvar-local.
6732 (imenu--split-menu): Remove unused var.
6733 (imenu--cleanup-seen): Declare as global.
6734 (imenu--cleanup): Use dolist.
6735
8bba5a75
SM
6736 * subr.el (defvar-local): Add debug spec and doc-string position.
6737
5075bdb5
GM
67382012-05-08 Glenn Morris <rgm@gnu.org>
6739
090bd7cb 6740 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6741 * language/english.el, language/georgian.el, language/greek.el:
6742 * language/japanese.el, language/khmer.el, language/korean.el:
6743 * language/lao.el, language/misc-lang.el, language/romanian.el:
6744 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6745 * language/thai.el, language/utf-8-lang.el:
6746 Remove no-byte-compile setting.
6747
5075bdb5
GM
6748 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6749
06f679a7
AH
67502012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6751
6752 * progmodes/make-mode.el (makefile-browse):
6753 Remove unnecessary interactive. (Bug#11324)
6754
03794570
GM
67552012-05-07 Glenn Morris <rgm@gnu.org>
6756
af8630f4
GM
6757 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6758
03794570
GM
6759 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6760
f0809a9d
SM
67612012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6762
28be5ce7
SM
6763 * loadup.el: Preload newcomment.el.
6764 * newcomment.el: Move autoload-only code to toplevel.
6765
f0809a9d
SM
6766 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6767 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6768 Handle new :right-align column property.
6769 (tabulated-list-print-col): Idem, plus use `display' text-property to
6770 try and preserve alignment for variable pitch fonts.
6771
1241b724
CY
67722012-05-07 Chong Yidong <cyd@gnu.org>
6773
6774 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6775 (tabulated-list-use-header-line): New var.
6776 (tabulated-list-init-header): Use it.
6777 (tabulated-list-print-fake-header): New function.
6778 (tabulated-list-print): Use it.
6779 (tabulated-list-sort-button-map): Add non-header-line commands.
6780 (tabulated-list-init-header): Add column name property to basic
6781 labels as well.
6782 (tabulated-list-col-sort): Handle non-header-line button case.
6783 (tabulated-list--sort-by-column-name): Fix a corner case.
6784
f0809a9d
SM
6785 * buff-menu.el (list-buffers--refresh):
6786 Handle Buffer-menu-use-header-line.
1241b724 6787
e5f9458f
CY
67882012-05-06 Chong Yidong <cyd@gnu.org>
6789
6790 * buff-menu.el: Convert to Tabulated List mode.
6791 (Buffer-menu-buffer+size-width): Make obsolete.
6792 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6793 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6794 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6795 documentation into docstring of buffer-menu.
6796 (Buffer-menu-toggle-files-only): Add an informative message.
6797 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6798 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6799 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6800 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6801 (Buffer-menu-execute, Buffer-menu-select)
6802 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6803 (Buffer-menu-bury): Use Tabulated List machinery.
6804 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6805 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6806 Delete.
e5f9458f
CY
6807 (list-buffers--refresh): New function.
6808 (list-buffers-noselect): Use it.
6809 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6810 (Buffer-menu--pretty-file-name): New helper functions.
6811
6812 * loadup.el: Preload tabulated-list.
6813
6814 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6815 tabulated-list-sort-column.
6816 (tabulated-list-init-header): Add the initial aligning space even
6817 if tabulated-list-padding is zero.
6818
e129292c
CS
68192012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6820
6821 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6822 whose cdr is not a cons cell correctly (bug#11038).
6823
6632d361
CY
68242012-05-06 Chong Yidong <cyd@gnu.org>
6825
e129292c
CS
6826 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6827 Accept additional plist in column descriptors.
6632d361
CY
6828 (tabulated-list-init-header): Obey it.
6829 (tabulated-list-get-entry): New function.
6830 (tabulated-list-put-tag): Use it. Use string-width instead of
6831 length.
6832 (tabulated-list--column-number): New function.
6833 (tabulated-list-print): Use it.
e129292c
CS
6834 (tabulated-list-print-col): New function.
6835 Set `tabulated-list-column-name' property on each column's text.
6632d361 6836 (tabulated-list-print-entry): Use it.
e129292c
CS
6837 (tabulated-list-delete-entry, tabulated-list-set-col):
6838 New functions.
6632d361
CY
6839 (tabulated-list-sort-column): New command (Bug#11337).
6840
3cc99f68
CY
6841 * buff-menu.el (list-buffers): Move C-x C-b binding from
6842 buff-menu.el to bindings.el.
6843
6844 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6845 :advertised-binding feature.
6846
52b61776
TN
68472012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6848
6849 * progmodes/compile.el (compilation-internal-error-properties):
6850 Calculate start position correctly when end-col is set but
6851 end-line is not (Bug#11382).
6852
ebfe2597
WJ
68532012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6854
6855 * man.el (Man-unindent): Use text-property-default-nonsticky to
6856 prevent untabify from inheriting face properties (Bug#11408).
6857
6d3f7c2f
SM
68582012-05-05 Stefan Merten <smerten@oekonux.de>
6859
6860 * textmodes/rst.el: Major merge with upstream development up to
6861 Docutils SVN r7399 / rst.el V1.2.1.
6862
6863 Clarify maintainership and authors.
6864
6865 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6866 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6867 (rst-official-version, rst-official-cvs-rev, rst-version)
6868 (rst-package-emacs-version-alist): New functions and variables
6869 for version information.
6870
6871 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6872 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6873 (rst-mode-syntax-table, rst-mode): New and corrected functions
6874 and variables representing reStructuredText features.
6875
6876 (rst-re): New function for reStructuredText regexes. Use in
6877 many places.
6878
6879 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6880 (rst-mode-map): Rebind keys.
6881
6882 (rst-mode-lazy, rst-font-lock-keywords)
6883 (rst-font-lock-extend-region)
6884 (rst-font-lock-extend-region-internal)
6885 (rst-font-lock-extend-region-extend)
6886 (rst-font-lock-find-unindented-line-limit)
6887 (rst-font-lock-find-unindented-line-match)
6888 (rst-adornment-level, rst-font-lock-adornment-level)
6889 (rst-font-lock-adornment-match)
6890 (rst-font-lock-handle-adornment-pre-match-form)
6891 (rst-font-lock-handle-adornment-matcher): Major revision of
6892 font-locking. Integrate with other code. Use `jit-lock-mode'.
6893
6894 (rst-preferred-adornments, rst-adjust-hook)
6895 (rst-new-adornment-down, rst-preferred-bullets)
6896 (rst-preferred-bullets, rst-indent, rst-indent-width)
6897 (rst-indent-field, rst-indent-literal-normal)
6898 (rst-indent-literal-minimized, rst-indent-comment): Change,
6899 extend and improve customization.
6900
6901 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6902 (rst-normalize-cursor-position, rst-get-decoration)
6903 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6904 (rst-rstrip, rst-toc-insert-find-delete-contents)
6905 (rst-shift-fill-region, rst-compute-bullet-tabs)
6906 (rst-debug-print-tabs, rst-debug-mark-found)
6907 (rst-shift-region-guts, rst-shift-region-right)
6908 (rst-shift-region-left, rst-use-char-classes)
6909 (rst-font-lock-keywords-function)
6910 (rst-font-lock-indentation-point)
6911 (rst-font-lock-find-unindented-line-begin)
6912 (rst-font-lock-find-unindented-line-end)
6913 (rst-font-lock-find-unindented-line)
6914 (rst-font-lock-adornment-point, rst-font-lock-level)
6915 (rst-adornment-level-alist): Remove functions and variables.
6916
6917 (rst-compare-adornments, rst-get-adornment-match)
6918 (rst-suggest-new-adornment, rst-get-adornments-around)
6919 (rst-adornment-complete-p, rst-get-next-adornment)
6920 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6921 (rst-straighten-adornments): Standardize function names to
6922 use "adornment" instead of "decoration". Correct callers.
6923 Similar standardizing in many places.
6924
6925 (rst-update-section, rst-adjust, rst-promote-region)
6926 (rst-enumerate-region, rst-bullet-list-region)
6927 (rst-repeat-last-character): Correct use of `interactive'.
6928
6929 (rst-classify-adornment, rst-find-all-adornments)
6930 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6931 (rst-find-leftmost-column, rst-repeat-last-character):
6932 Refactor functions.
6933
6934 (rst-find-title-line, rst-reset-section-caches)
6935 (rst-get-adornments-around, rst-adjust-adornment-work)
6936 (rst-arabic-to-roman, rst-roman-to-arabic)
6937 (rst-insert-list-pos, rst-insert-list-new-item)
6938 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6939 New functions.
6940
6941 (rst-all-sections, rst-section-hierarchy)
6942 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6943 New variables.
6944
6945 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6946 configuration instead of only buffer. Change where necessary.
6947
6948 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6949 (rst-shift-region, rst-adaptive-fill): New functions for
6950 indentation and filling.
6951
6952 (rst-comment-line-break, rst-comment-indent)
6953 (rst-comment-insert-comment, rst-comment-region)
6954 (rst-uncomment-region): New functions for handling comments.
6955
6956 (rst-compile): Quote shell arguments.
6957
6958 (rst-compile-pdf-preview, rst-compile-slides-preview):
6959 Delete temporary files after use.
6960
a43f98b3
GM
69612012-05-05 Glenn Morris <rgm@gnu.org>
6962
48176e8b
GM
6963 * calendar/cal-html.el: Optionally include holidays in the output.
6964 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6965 (cal-html-holidays): New option.
6966 (cal-html-css-default): Add holiday entry.
6967 (holiday-in-range): Autoload it.
6968 (cal-html-htmlify-entry): Add optional class argument.
6969 (cal-html-htmlify-list): Add optional holidays argument.
6970 (cal-html-insert-agenda-days): Include holidays in the output.
6971 (cal-html-one-month): Maybe include holidays.
6972
a43f98b3
GM
6973 * calendar/holidays.el (holiday-in-range):
6974 Move here from cal-tex-list-holidays.
6975 * calendar/cal-tex.el (cal-tex-list-holidays):
6976 Make it an obsolete alias for holiday-in-range. Update all callers.
6977
fef9d149 69782012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6979
6980 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6981 Nextstep.
6982
248da2f4
RW
69832012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6984
6985 * files.el (file-auto-mode-skip): New var.
6986 (set-auto-mode-1): Use it.
6987
f95e9344
SM
69882012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6989
df96ab1e
SM
6990 * repeat.el: Use lexical-binding.
6991 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6992 (repeat-undo-count): Remove.
6993 (repeat):
6994 * progmodes/octave-mod.el (octave-abbrev-start):
6995 * progmodes/f90.el (f90-abbrev-start):
6996 * face-remap.el (text-scale-adjust):
6997 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6998
5342bb06
SM
6999 * emacs-lisp/pcase.el (pcase--let*): New function.
7000 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7001 a bit more.
7002 (pcase--split-pred): Be more clever about ruling out overlap between
7003 a predicate and some constant pattern.
7004 (pcase--q1): Use `null' instead of (eq foo nil).
7005
f95e9344
SM
7006 * subr.el (setq-local, defvar-local): New macros.
7007 (kbd): Redefine as an alias.
7008 (with-selected-window): Leave unrelated frames alone.
7009 (set-temporary-overlay-map): New function.
7010
71873e2b
SM
70112012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7012
7013 * subr.el (user-error): New function.
7014 * window.el (switch-to-buffer):
7015 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7016 (smerge-match-conflict):
7017 * simple.el (previous-matching-history-element)
7018 (next-matching-history-element, goto-history-element, undo-more)
7019 (undo-start):
7020 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7021 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7022 (next-file, tags-loop-scan, list-tags, complete-tag):
7023 * progmodes/compile.el (compilation-loop):
7024 * mouse.el (mouse-minibuffer-check):
7025 * man.el (Man-bgproc-sentinel, Man-goto-page):
7026 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7027 (Info-history-forward, Info-follow-reference, Info-menu)
7028 (Info-extract-menu-item, Info-extract-menu-counting)
7029 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7030 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7031 (Info-next-reference, Info-prev-reference, Info-index)
7032 (Info-index-next, Info-follow-nearest-node)
7033 (Info-copy-current-node-name):
7034 * imenu.el (imenu--make-index-alist)
7035 (imenu-default-create-index-function, imenu-add-to-menubar):
7036 * files.el (basic-save-buffer, recover-file):
7037 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7038 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7039 (checkdoc-message-text, checkdoc-defun):
7040 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7041 * cus-edit.el (customize-changed-options, customize-rogue)
7042 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7043 (custom-variable-mark-to-reset-standard)
7044 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7045 (custom-file):
7046 * completion.el (check-completion-length):
7047 * comint.el (comint-search-arg)
7048 (comint-previous-matching-input-string-position)
7049 (comint-previous-matching-input)
7050 (comint-replace-by-expanded-history-before-point, comint-send-input)
7051 (comint-copy-old-input, comint-backward-matching-input)
7052 (comint-goto-process-mark, comint-set-process-mark):
7053 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7054 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7055
8a61ee22
SM
70562012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7057
66408d1e
SM
7058 * dabbrev.el (dabbrev--ignore-case-p): New function.
7059 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7060 Use it.
7061
8a61ee22
SM
7062 * files.el (automount-dir-prefix): Mark as obsolete.
7063
3c74813a
GM
70642012-05-04 Glenn Morris <rgm@gnu.org>
7065
7066 * patcomp.el, play/bruce.el: Move to obsolete/.
7067
0bfcf5c5
PE
70682012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7069
7070 Fix minor Y10k bugs.
7071 * arc-mode.el (archive-unixdate):
7072 * autoinsert.el (auto-insert-alist):
7073 * calc/calc-forms.el (math-this-year):
7074 * emacs-lisp/copyright.el (copyright-current-year)
7075 (copyright-update-year, copyright):
7076 * tar-mode.el (tar-clip-time-string):
7077 * time.el (display-time-update):
7078 Don't assume years have 4 digits.
7079
78f3273a
CY
70802012-05-04 Chong Yidong <cyd@gnu.org>
7081
7082 * dos-w32.el (file-name-buffer-file-type-alist)
7083 (direct-print-region-use-command-dot-com):
7084 * ffap.el (ffap-menu-regexp):
7085 * find-file.el (ff-special-constructs):
7086 * follow.el (follow-debug):
7087 * forms.el (forms--debug):
7088 * iswitchb.el (iswitchb-all-frames):
7089 * ido.el (ido-all-frames):
7090 * emacs-lisp/timer.el (timer-max-repeats):
7091 * mail/feedmail.el (feedmail-mail-send-hook)
7092 (feedmail-mail-send-hook-queued):
7093 * mail/footnote.el (footnote-signature-separator):
7094 * mail/mailabbrev.el (mail-alias-separator-string)
7095 (mail-abbrev-mode-regexp):
7096 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7097 * progmodes/idlwave.el (idlwave-libinfo-file)
7098 (idlwave-default-completion-case-is-down)
7099 (idlwave-library-routines): Convert defvars to defcustoms.
7100
7101 * mail/rmail.el (rmail-decode-mime-charset):
7102 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7103 (idlwave-shell-fix-inserted-breaks)
7104 (idlwave-shell-activate-alt-keybindings)
7105 (idlwave-shell-use-breakpoint-glyph):
7106 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7107
f7ae6719
SM
71082012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7111
47086495
WS
71122012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7113
7114 * progmodes/verilog-mode.el (font-lock-keywords):
7115 Fix mis-highligting auto. Reported by Craig Barner.
7116 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7117 defines from global name space. Reported by Dan Dever.
47086495
WS
7118 (verilog-auto-reset, verilog-auto-reset-widths)
7119 (verilog-auto-tieoff): Support using unbased numbers for
7120 AUTORESET and AUTOTIEOFF.
7121 (verilog-submit-bug-report): Update variable list.
7122 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7123 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7124 (verilog-auto-template-lint): Fix hash error when linting modules
7125 with no used templates.
7126 (verilog-warn, verilog-warn-error)
7127 (verilog-warn-fatal): When non-interactive report multiple
7128 warnings before exiting. Suggested by Brad Dobbie.
7129 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7130 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7131 to report unused template errors. Reported by Brad Dobbie.
7132 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7133 nets, bug438. Reported by Vns Blore.
47086495
WS
7134 (verilog-auto-inout-module, verilog-auto-reg)
7135 (verilog-read-decls, verilog-read-sub-decls-sig)
7136 (verilog-signals-edit-wire-reg, verilog-signals-with):
7137 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7138 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7139 "reg" for backwards compatibility presuming Verilog 2001.
7140 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7141 (verilog-preprocess): Fix replication of preprocess output.
7142 Reported by Brad Dobbie.
7143 (verilog-auto-inst-interfaced-ports):
7144 Create verilog-auto-inst-interfaced-ports, bug429.
7145 Reported by Julian Gorfajn.
7146 (verilog-after-save-font-hook)
7147 (verilog-before-save-font-hook): New variable.
7148 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7149 (verilog-save-font-mods): Wrap disabling fontification, reported
7150 by David Rogoff.
7151 (verilog-do-indent, verilog-pretty-declarations-auto)
7152 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7153 Reported by Pierre-David Pfister.
7154 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7155 of class declarations, bug292. Reported by Kevin Heilman.
7156 (verilog-read-decls): Fix 'parameter type' not appearing in
7157 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7158 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7159 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7160 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7161 Reported by David Kravitz.
7162
71632012-05-03 Michael McNamara <mac@mail.brushroad.com>
7164
7165 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7166 assignment with tests in ifs and for loops.
7167 (verilog-extended-complete-re, verilog-complete-reg): Change so
7168 that DPI inport functions don't look like fuction declarations.
7169 (verilog-pretty-expr): Don't line up assignment
7170 operations to the test and increment in if and for loops
7171 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7172 that DPI inport functions don't look like fuction declarations.
47086495 7173
2e51d4b5
KH
71742012-05-03 Kenichi Handa <handa@m17n.org>
7175
7176 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7177 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7178 (Bug#11282).
7179
2bd785a2
SM
71802012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7181
7182 * emacs-lisp/bytecomp.el
7183 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7184 since cconv.el might have introduced :fun-body, internal-make-closure,
7185 and friends for bytecomp to handle (bug#11391).
7186 * custom.el (defcustom): Avoid ((λ ..) ..).
7187
99d27583
SM
71882012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7191
55a71479
JB
71922012-05-02 Juanma Barranquero <lekktu@gmail.com>
7193
7194 * notifications.el (dbus-debug):
7195 * term/linux.el (gpm-mouse-enable):
7196 * term/screen.el (xterm-register-default-colors): Declare.
7197
7b97c764
CY
71982012-05-02 Chong Yidong <cyd@gnu.org>
7199
2bc356d7
CY
7200 * cus-start.el (gc-cons-percentage, exec-suffixes)
7201 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7202 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7203 (make-cursor-line-fully-visible, void-text-area-pointer)
7204 (font-list-limit): Add customization data.
7205
7b97c764
CY
7206 * allout.el (allout-exposure-change-functions)
7207 (allout-structure-added-functions)
7208 (allout-structure-deleted-functions)
7209 (allout-structure-shifted-functions): Rename abnormal hooks from
7210 *-hook, and convert to defcustoms.
5d3385a0
JB
7211 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7212 Convert to defcustoms.
7b97c764
CY
7213 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7214
7215 * allout-widgets.el: Hook callers changed.
7216
90207a15 72172012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7218
7219 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7220 the yanked message in preference to the default value of
7221 buffer-file-coding-system.
7222
90207a15 72232012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7224
5d3385a0
JB
7225 * window.el (display-buffer--action-function-custom-type):
7226 Fix entry.
d9558cad 7227
90207a15 72282012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7229
7230 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7231
d80ac57b
GM
72322012-05-01 Glenn Morris <rgm@gnu.org>
7233
976f7668
GM
7234 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7235
beb83b5a
GM
7236 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7237
d80ac57b
GM
7238 * cus-edit.el (custom-variable-documentation): Simplify with format.
7239
b593d6a9 72402012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7241 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7242
7243 * simple.el (suggest-key-bindings, execute-extended-command):
7244 Move from keyboard.c.
7245
782fbf2a
CY
72462012-05-01 Chong Yidong <cyd@gnu.org>
7247
7248 * follow.el: Eliminate advice.
7249 (set-process-filter, process-filter, sit-for): Advice deleted.
7250 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7251 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7252 Vars deleted.
782fbf2a
CY
7253 (follow-auto): Use a :set function.
7254 (follow-mode): Rewritten. Don't advise process filters.
7255 (follow-switch-to-current-buffer-all, follow-scroll-up)
7256 (follow-scroll-down): Assume follow-mode is bound.
7257 (follow-comint-scroll-to-bottom)
7258 (follow-align-compilation-windows): New functions.
7259 (follow--window-sorter): New function.
7260 (follow-all-followers): Use it to explicitly sort windows by their
7261 positions; don't make assumptions about next-window order.
7262 (follow-windows-start-end, follow-delete-other-windows-and-split)
7263 (follow-calc-win-start): Doc fix.
7264 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7265 vertical-motion unnecessarily.
7266 (follow-adjust-window): New function.
7267 (follow-post-command-hook): Use it.
7268 (follow-call-set-process-filter, follow-call-process-filter)
7269 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7270 (follow-stop-intercept-process-output, follow-generic-filter):
7271 Functions deleted.
7272 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7273 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7274 New functions, replacing advice on scroll-bar-* commands.
87233a14 7275 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7276
7277 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7278 (comint-postoutput-scroll-to-bottom): Use it.
7279 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7280
290af740
GM
72812012-05-01 Glenn Morris <rgm@gnu.org>
7282
7283 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7284 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7285 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7286 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7287 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7288 Remove no-byte-compile setting.
7289
6eac8dc9
SM
72902012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7293 all-completions code to not return a number in the last cdr.
7294
9cc7819c
LL
72952012-04-30 Leo Liu <sdl.web@gmail.com>
7296
7297 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7298 read-only error.
7299
c93b886f
CY
73002012-04-29 Chong Yidong <cyd@gnu.org>
7301
7302 * follow.el (follow-calc-win-end): Rewrite to handle partial
7303 screen lines correctly (Bug#8390).
7304 (follow-avoid-tail-recenter): Minor cleanup.
7305
8b6c19f4
SM
73062012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7307
7308 Avoid the obsolete `assoc' package.
7309 * speedbar.el (speedbar-refresh): Avoid adelete.
7310 (speedbar-file-lists): Simplify and avoid aput.
7311 * man.el (Man--sections, Man--refpages): New vars, replacing
7312 Man-sections-alist and Man-refpages-alist.
7313 (Man-build-section-alist, Man-build-references-alist):
7314 Use them; avoid aput.
7315 (Man--last-section, Man--last-refpage): New vars.
7316 (Man-follow-manual-reference): Use them.
7317 Use the `default' arg of completing-read.
7318 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7319
c5bb7569
CY
73202012-04-27 Chong Yidong <cyd@gnu.org>
7321
d1d2e2e8
CY
7322 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7323
15cd8efd
CY
7324 * startup.el (x-apply-session-resources): New function.
7325
7326 * term/ns-win.el (ns-initialize-window-system):
7327 * term/w32-win.el (w32-initialize-window-system):
7328 * term/x-win.el (x-initialize-window-system): Use it to properly
7329 set menu-bar-mode and other vars from X resources, even if the
7330 initial frame is not a window-system frame (Bug#2299).
7331
c5bb7569
CY
7332 * subr.el (read-key): Avoid running filter function when setting
7333 up temporary tool bar entries (Bug#9922).
7334
a8e7d6d7 73352012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7336
7337 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7338 (Bug#11344)
7339
a8e7d6d7 73402012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7341
7342 * select.el (xselect--encode-string): New function, split from
7343 xselect-convert-to-string.
7344 (xselect-convert-to-string): Use it.
7345 (xselect-convert-to-filename, xselect-convert-to-os)
7346 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7347 returned strings are properly encoded (Bug#11315).
7348
a8e7d6d7 73492012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7350
7351 * simple.el (delete-active-region): Move to killing custom group.
7352
a8e7d6d7 73532012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7354
7355 * progmodes/which-func.el (which-func-current): Quote %
7356 characters for mode-line processing.
7357
578c1d4b 73582012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7359
7360 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7361 reaching eob (Bug#11286).
7362
a8e7d6d7 73632012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7364
7365 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7366 (gdb): Make it buffer-local and init to zero.
7367 (gdb-control-commands-regexp): New variable.
7368 (gdb-send): Don't wrap in "-interpreter-exec console" if
7369 gdb-control-level is positive. Increment gdb-control-level
7370 whenever the command matches gdb-control-commands-regexp, and
7371 decrement it each time the command is "end". (Bug#11279)
7372
a8e7d6d7 73732012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7374
7375 * window.el (adjust-window-trailing-edge, enlarge-window)
7376 (shrink-window, window-resize):
7377 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7378 windows (Bug#11276).
7379
b3608390
CY
73802012-04-27 Chong Yidong <cyd@gnu.org>
7381
7382 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7383 fix "missing prefix" warning. All callers changed.
b3608390 7384
797e6e88
SM
73852012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7386
7387 * emacs-lisp/assoc.el: Move to obsolete/.
7388
e95a67dc
SM
73892012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7390
657c21e4 7391 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7392
7393 * term/ns-win.el (ns-define-service):
7394 * progmodes/pascal.el (pascal-goto-defun):
7395 * progmodes/js.el (js--read-tab):
7396 * progmodes/etags.el (tags-lazy-completion-table):
7397 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7398 * emacs-lisp/ewoc.el (ewoc--wrap):
7399 * emacs-lisp/assoc.el (aput, adelete, amake):
7400 * doc-view.el (doc-view-convert-current-doc):
7401 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7402
cb3e7ae0
CY
74032012-04-26 Chong Yidong <cyd@gnu.org>
7404
dce04f7f
CY
7405 * image.el (image-type-from-buffer): Only return supported image
7406 type (Bug#9045).
7407
cb3e7ae0
CY
7408 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7409 value, for symmetry with diff-end-of-hunk.
7410 (diff-split-hunk, diff-find-source-location)
7411 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7412 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7413 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7414 compute the relevant hunk or file properly (Bug#6005).
7415 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7416
0d42eb3e
SM
74172012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7418
7419 * vc/vc-mtn.el:
7420 * vc/vc-hg.el:
7421 * vc/vc-git.el:
7422 * vc/vc-dir.el:
7423 * vc/vc-cvs.el:
7424 * vc/vc-bzr.el:
7425 * vc/vc-arch.el:
7426 * vc/vc.el: Replace lexical-let by lexical-binding.
7427 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7428 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7429 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7430
f08ae1c9
CY
74312012-04-26 Chong Yidong <cyd@gnu.org>
7432
8b71081d
CY
7433 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7434 (diff-mode-shared-map): Bind it to / and [remap undo].
7435
f08ae1c9
CY
7436 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7437 (ediff-window-setup-function): Use it as the default, to set up
7438 windows based on whether the current frame is graphical (Bug#2138).
7439 (ediff-choose-window-setup-function-automatically): Make obsolete.
7440
7441 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7442
ef24141c
SM
74432012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7444
cc356a5d
SM
7445 * ffap.el: Remove old code for obsolete package.
7446 (ffap-complete-as-file-p): Remove.
7447
b4ff4f1f
SM
7448 Use completion-table-with-quoting for comint and pcomplete.
7449 * comint.el (comint--unquote&requote-argument)
7450 (comint--unquote-argument, comint--requote-argument): New functions.
7451 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7452 (comint-quote-filename): Use regexp-opt-charset.
7453 (comint--common-suffix, comint--common-quoted-suffix)
7454 (comint--table-subvert): Remove.
7455 (comint-unquote-function, comint-requote-function): New vars.
7456 (comint--complete-file-name-data): Use them with
7457 completion-table-with-quoting.
7458 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7459 * pcomplete.el (pcomplete-arg-quote-list)
7460 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7461 (pcomplete-unquote-argument-function): Default to non-nil.
7462 (pcomplete-unquote-argument): Simplify.
7463 (pcomplete--common-quoted-suffix): Remove.
7464 (pcomplete-requote-argument-function): New var.
7465 (pcomplete--common-suffix): New function.
7466 (pcomplete-completions-at-point): Use completion-table-with-quoting
7467 and completion-table-subvert.
7468
79c4eeb4
SM
7469 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7470 (minibuffer--double-dollars): Preserve properties.
7471 (completion--sifn-requote): New function.
7472 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7473
ef24141c
SM
7474 * minibuffer.el: Add support for completion of quoted/escaped data.
7475 (completion-table-with-quoting, completion-table-subvert): New funs.
7476 (completion--twq-try, completion--twq-all): New functions.
7477 (completion--nth-completion): New function.
7478 (completion-try-completion, completion-all-completions): Use it.
7479
784e7d6e
LL
74802012-04-25 Leo Liu <sdl.web@gmail.com>
7481
dd2ac746
SM
7482 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7483 Use compilation-message if available to find real filename.
784e7d6e 7484
07875ee7
CY
74852012-04-25 Chong Yidong <cyd@gnu.org>
7486
7487 * vc/diff-mode.el (diff-setup-whitespace): New function.
7488 (diff-mode): Use it.
7489
7490 * vc/diff.el (diff-sentinel):
7491 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7492 Whitespace mode variables based on diff style (Bug#8612).
7493
5055880d
LL
74942012-04-25 Leo Liu <sdl.web@gmail.com>
7495
daf75653
LL
7496 * progmodes/python.el (python-send-region): Add suffix .py to the
7497 temp file.
7498
5055880d
LL
7499 * files.el (auto-mode-alist): Use javascript-mode instead.
7500
db9b177b
AH
75012012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7502
ef24141c 7503 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7504
090bd7cb 7505 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7506 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7507 references, see Bug#9.
ef24141c 7508 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7509 when receiving a fault reply.
ef24141c 7510 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7511
090bd7cb 7512 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7513 (soap-inspect-simple-type): New function.
db9b177b 7514
090bd7cb 7515 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7516 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7517 (soap-decode-basic-type, soap-encode-basic-type):
7518 support unsignedInt and double basic types.
db9b177b 7519 (soap-resolve-references-for-simple-type)
ef24141c
SM
7520 (soap-parse-simple-type, soap-encode-simple-type): New function.
7521 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7522
090bd7cb 7523 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7524 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7525 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7526 the local name of "soapenc:Array".
7527 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7528 decoding integer, byte and anyURI xsd types.
7529
1fc6097b
CY
75302012-04-25 Chong Yidong <cyd@gnu.org>
7531
7532 * cus-edit.el (custom-buffer-create-internal): Update header text.
7533
afc6df87
EZ
75342012-04-25 Eli Zaretskii <eliz@gnu.org>
7535
7536 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7537 settings on 'system-type', not on 'window-system'. On MS-Windows,
7538 set interactive-mode on in GDB.
7539
dfbd787f
SM
75402012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7541
7542 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7543 (ruby-syntax-propertize-regexp): Remove.
7544 (ruby-syntax-propertize-function): Split regexp into chunks.
7545 Match following code directly.
7546
85222d44
DG
75472012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7548
51a8ea2a
DG
7549 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7550 (ruby-syntax-propertize-regexp): New function.
7551 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7552 by a special keyword.
7553
85222d44
DG
7554 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7555 (ruby-syntax-general-delimiters-goto-beg)
7556 (ruby-syntax-propertize-general-delimiters): New functions.
7557 (ruby-syntax-propertize-function): Use them to handle GDL.
7558 (ruby-font-lock-keywords): Move old handling of GDL...
7559 (ruby-font-lock-syntactic-keywords): .. to here.
7560 (ruby-calculate-indent): Adjust indentation for GDL.
7561
b613912b
MA
75622012-04-24 Michael Albinus <michael.albinus@gmx.de>
7563
b5380639
MA
7564 * notifications.el (top): Remove unneeded declarations.
7565 (notifications-specification-version): Change to "1.2".
e43042fe 7566 (notifications-interface, notifications-notify-method)
b613912b
MA
7567 (notifications-close-notification-method): Fix docstring.
7568 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7569 (notifications-notify): Add :action-items, :resident and
7570 :transient hints. Change "image_data" to "image-data" and
7571 "image_path" to "image-path".
b613912b
MA
7572 (notifications-get-capabilities): New defun.
7573
257440aa
LL
75742012-04-24 Leo Liu <sdl.web@gmail.com>
7575
7576 * progmodes/python.el: Move hideshow setup to the end.
7577
b1bac16e
MR
75782012-04-24 Martin Rudalics <rudalics@gmx.at>
7579
7580 * window.el (handle-select-window): Clear echo area since this is
7581 no more done by read_char (Bug#11304).
7582
d81bd059
SM
75832012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7584
7585 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7586 and `/ M' to filter-derived-mode.
7587 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7588 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7589 (ibuffer-mark-by-mode): Use default rather than initial-input.
7590 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7591
c4cf6d91
IA
75922012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7593
7594 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7595 (ibuffer-filter-by-derived-mode): New filter.
7596 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7597
7511ded8
CY
75982012-04-23 Andreas Politz <politza@fh-trier.de>
7599
7600 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7601
775c916b
CY
76022012-04-23 Chong Yidong <cyd@gnu.org>
7603
7604 * cus-edit.el (customize-apropos, customize-apropos-options):
7605 Disable matching of non-option variables (Bug#11176).
7606 (customize-option, customize-option-other-window)
7607 (customize-changed-options): Doc fix.
7608 (customize-apropos-options, customize-apropos-faces)
7609 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7610
7611 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7612 Fix word list splitting (Bug#11132).
46c71e23
CY
7613 (apropos-symbol, apropos-keybinding, apropos-label)
7614 (apropos-property, apropos-function-button)
7615 (apropos-variable-button, apropos-misc-button): New faces.
7616 (apropos-symbol-face, apropos-keybinding-face)
7617 (apropos-label-face, apropos-property-face, apropos-match-face):
7618 Variables removed (Bug#8396).
7619 (apropos-library-button, apropos-format-plist, apropos-print)
7620 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7621
2df41f9c
MA
76222012-04-23 Michael Albinus <michael.albinus@gmx.de>
7623
7624 * net/xesam.el (xesam-mode-map): Use let-bound map in
7625 initialization. (Bug#11292)
7626
da00640a
AM
76272012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7628
7629 Preserve ispell session localwords when switching back to
7630 original buffer.
7631
090bd7cb
JB
7632 * textmodes/ispell.el (ispell-buffer-session-localwords):
7633 New buffer-local variable to hold buffer session localwords.
ed9265fc 7634 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7635 localwords.
7636 (ispell-command-loop, ispell-change-dictionary)
7637 (ispell-buffer-local-words): Preserve session localwords when
7638 needed.
7639
090bd7cb
JB
7640 * textmodes/flyspell.el (flyspell-process-localwords)
7641 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7642
f621ccf5
AM
76432012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7644
090bd7cb
JB
7645 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7646 using obsolete `translation-table-for-input'.
ef24141c
SM
7647 (ispell-word, ispell-process-line, ispell-complete-word):
7648 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7649
c2d1019e
CY
76502012-04-22 Chong Yidong <cyd@gnu.org>
7651
7652 * cus-edit.el (custom-variable-menu)
7653 (custom-variable-reset-saved, custom-face-menu)
7654 (custom-face-reset-saved): If there is no saved value, make the
7655 "reset-saved" operation bring back the default (Bug#9509).
7656 (custom-face-state): Properly detect themed faces.
7657
eeddc531
CY
7658 * faces.el (face-spec-set): Stop supporting deprecated form of
7659 third arg.
7660
dcbf5805
MA
76612012-04-22 Michael Albinus <michael.albinus@gmx.de>
7662
7663 Move functions from C to Lisp. Make non-blocking method calls
7664 the default. Implement further D-Bus standard interfaces.
7665
ef24141c
SM
7666 * net/dbus.el (dbus-message-internal): Declare function.
7667 Remove unneeded function declarations.
dcbf5805
MA
7668 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7669 (dbus-message-type-method-return, dbus-message-type-error)
7670 (dbus-message-type-signal): Declare variables. Remove local
7671 definitions.
7672 (dbus-interface-dbus, dbus-interface-peer)
7673 (dbus-interface-introspectable, dbus-interface-properties)
7674 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7675 Adapt docstring.
7676 (dbus-interface-objectmanager): New defconst.
7677 (dbus-call-method, dbus-call-method-asynchronously)
7678 (dbus-send-signal, dbus-method-return-internal)
7679 (dbus-method-error-internal, dbus-register-service)
7680 (dbus-register-signal, dbus-register-method): New defuns, moved
7681 from dbusbind.c
7682 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7683 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7684 New defuns.
dcbf5805
MA
7685 (dbus-call-method-non-blocking): Make it an obsolete function.
7686 (dbus-unregister-object, dbus-unregister-service)
7687 (dbus-handle-event, dbus-register-property)
7688 (dbus-property-handler): Obey the new structure of
7689 `bus-registered-objects'.
7690 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7691 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7692 Use `dbus-call-method'.
7693
cf20dee0
CY
76942012-04-22 Chong Yidong <cyd@gnu.org>
7695
7696 * cus-edit.el (custom-commands, custom-reset-menu)
7697 (Custom-reset-standard): Tweak labels.
7698 (custom-reset-button-menu): Change default to t.
7699 (custom-buffer-create-internal): For the custom-reset-button-menu
7700 case, put the revert button first.
7701 (custom-group-subtitle): New face.
7702 (custom-group-value-create): Align docstring to a specific column.
7703
7704 * wid-edit.el (widget-documentation-link-add): Don't handle
7705 indentation in this function.
7706 (widget-documentation-string-indent-to): New function.
7707 (widget-documentation-string-value-create): Use it.
7708
7709 * autorevert.el (auto-revert):
7710 * epg-config.el (epg):
7711 * ibuffer.el (ibuffer):
7712 * mpc.el (mpc):
7713 * ses.el (ses):
7714 * eshell/eshell.el (eshell):
7715 * net/ange-ftp.el (ange-ftp):
7716 * progmodes/ebnf2ps.el (postscript):
7717 * progmodes/flymake.el (flymake):
7718 * progmodes/prolog.el (prolog):
7719 * progmodes/verilog-mode.el (verilog-mode):
7720 * progmodes/which-func.el (which-func):
7721 * term/xterm.el (xterm):
7722 * textmodes/picture.el (picture):
7723 * textmodes/tildify.el (tildify):
7724 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7725 customization buffers.
7726
583e23bd
AM
77272012-04-22 Alan Mackenzie <acm@muc.de>
7728
7729 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7730 Adding a ) can hide the resulting (..) from searches. Fix it.
7731 Bound the backward search to the position of the existing (.
7732
7dd51bf1
JB
77332012-04-21 Juanma Barranquero <lekktu@gmail.com>
7734
7735 * progmodes/verilog-mode.el (verilog-mode): Check whether
7736 which-func-modes is t before adding verilog-mode.
7737 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7738
d64a438f
LL
77392012-04-21 Leo Liu <sdl.web@gmail.com>
7740
7dd51bf1 7741 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7742
081e8d65
MV
77432012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7744
7745 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7746 filling of the last column of a table (Bug#5635).
7747 (woman-find-next-control-line): New arg, specifying an additional
7748 regexp component for the control line.
7749 (woman2-roff-buffer): Use it.
7750 (woman-break-table): New function.
7751 (woman2-TS): Use it.
7752
77532012-04-21 Chong Yidong <cyd@gnu.org>
7754
7755 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7756 (woman-horizontal-escapes, woman-negative-vertical-space)
7757 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7758 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7759
ed571ccb
SM
77602012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7762 * minibuffer.el (completion-file-name-table): Complete user names.
7763
39773899
LL
77642012-04-20 Leo Liu <sdl.web@gmail.com>
7765
7766 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7767 and pcase-let*.
7768
de6ff46d
CY
77692012-04-20 Chong Yidong <cyd@gnu.org>
7770
7771 * server.el (server-execute): Respect initial-buffer-choice if it
7772 is a string and there are no files to open (Bug#2825).
7773 (server-create-window-system-frame, server-create-tty-frame):
7774 Don't switch buffers here.
2d0e8e61
CY
7775 (server-process-filter): Only try to open a window system frame if
7776 compiled with graphical support (Bug#8314).
de6ff46d 7777
54071013
DN
77782012-04-20 Dan Nicolaescu <dann@gnu.org>
7779
7780 * battery.el (battery-echo-area-format): Display remaining time
7781 for sysfs backend too (Bug#11269).
7782 (battery-linux-sysfs): Fix conditional for the charge.
7783
f30d612a
CY
77842012-04-20 Chong Yidong <cyd@gnu.org>
7785
c07a4c0b 7786 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7787 (gdb-inferior-io--init-proc): New function.
7788 (gdb-init-1): Use it.
7789 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7790 responsible for allocating a new pty and hooking it to gdb when
7791 the old pty gets an EIO due to process exit.
7792 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7793 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7794 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7795
2116e93c
EZ
77962012-04-20 Eli Zaretskii <eliz@gnu.org>
7797
7798 * window.el (window-min-size, window-sizable, window-min-delta)
7799 (window-max-delta, window--resizable, window-resizable)
7800 (window-total-size, window-full-height-p, window-full-width-p)
7801 (window-in-direction, window--resize-mini-window, window-resize)
7802 (window--resize-child-windows-normal)
7803 (window--resize-child-windows, window--resize-siblings)
7804 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7805 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7806
c07a4c0b 78072012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7808
ef24141c
SM
7809 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7810 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7811 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7812 pty process (Bug#11273).
7813 (gdb-update): New arg to suppress talking to the gdb process.
7814 (gdb-done-or-error): Use it.
7815 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7816 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7817 sentinel not being called.
7818
7819 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7820
d02766ab
CY
7821 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7822
c07a4c0b 78232012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7824
7825 * net/network-stream.el (open-network-stream): Doc fix.
7826
c07a4c0b 78272012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7828
7829 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7830
c07a4c0b 78312012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7832
7833 Ensure searching for keywords is case sensitive.
7834
7835 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7836 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7837 (c-defun-name, c-mark-function, c-cpp-define-name)
7838 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7839 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7840
ef24141c
SM
7841 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7842 Bind case-fold-search to nil.
f0f6bc35 7843
c07a4c0b 78442012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7845
7846 * mail/sendmail.el (mail-bury): Call return action with the right
7847 Rmail buffer (Bug#11242).
7848
9a864fa2
CY
7849 * server.el (server-process-filter): Handle corner case where both
7850 tty and nowait options are present (Bug#11102).
7851
539aa513
EZ
78522012-04-20 Eli Zaretskii <eliz@gnu.org>
7853
7854 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7855 (top level): Put into the executable the ident-style '$Id:' tag on
7856 windows-nt as well.
539aa513 7857
cfc7d5da
SM
78582012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7859
7860 * electric.el (electric-indent-post-self-insert-function): Check that
7861 electric-indent-mode is enabled in current buffer.
7862
5b01685c
JB
78632012-04-19 Juanma Barranquero <lekktu@gmail.com>
7864
7865 * imenu.el (imenu-progress-message): Restore; it is "used" in
7866 erc/erc-imenu.el and net/snmp-mode.el.
7867
4d6769e1
JB
78682012-04-19 Juanma Barranquero <lekktu@gmail.com>
7869
7870 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7871 (mouse-avoidance-nudge-mouse): Remove unused binding.
7872
7873 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7874
7875 * descr-text.el (describe-char):
7876 * progmodes/python.el (python-describe-symbol):
7877 Don't call `toggle-read-only', set `buffer-read-only'.
7878
7879 * imenu.el (imenu-default-goto-function): Mark unused args.
7880 (imenu-progress-message): Remove obsolete macro; all callers changed.
7881
7882 * subr.el (keymap-canonicalize): Remove unused binding.
7883 (read-passwd): Mark unused arg.
7884
7885 * tutorial.el (tutorial--display-changes): Remove unused binding.
7886 (tutorial--save-tutorial-to): Remove unused variable.
7887
7888 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7889 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7890 (package-generate-autoloads, package-menu--generate)
7891 (package-menu--find-upgrades): Remove unused bindings.
7892
7893 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7894 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7895 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7896 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7897 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7898 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7899 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7900 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7901 (cua-delete-char-rectangle): Mark unused args.
7902 (cua-align-rectangle): Remove unused binding.
7903
7904 * mail/rmail.el (compilation--message->loc)
7905 (epa--find-coding-system-for-mime-charset): Declare.
7906
7907 * net/dbus.el (dbus-register-service): Declare.
7908 (dbus-name-owner-changed-handler): Remove unused binding.
7909
7910 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7911 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7912 (nxml-scan-backward-within): Mark unused arg.
7913 (nxml-dynamic-markup-word): Remove unused binding.
7914
7915 * mouse.el (mouse-menu-major-mode-map):
7916 * emacs-lisp/authors.el (authors-scan-change-log)
7917 (authors-add-to-author-list):
7918 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7919 * emacs-lisp/smie.el (smie-auto-fill):
7920 * mail/sendmail.el (mail-bury):
7921 * mail/unrmail.el (unrmail):
7922 * net/tls.el (open-tls-stream):
7923 * textmodes/picture.el (picture-mouse-set-point):
7924 Remove unused bindings.
7925
8c8fc5df
MA
79262012-04-19 Michael Albinus <michael.albinus@gmx.de>
7927
7928 * net/tramp.el (tramp-action-password): Let-bind
7929 `enable-recursive-minibuffers' to t.
7930
a77b0ac9
SS
79312012-04-18 Sam Steingold <sds@gnu.org>
7932
7933 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7934 instead of 'string to accommodate values like [f11].
7935 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7936 * progmodes/gdb-mi.el: Likewise.
7937
12a106a9
LL
79382012-04-18 Leo Liu <sdl.web@gmail.com>
7939
7940 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7941 current buffer.
7942 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7943 LOCAL is nil.
7944
bc6494ef
CY
79452012-04-18 Chong Yidong <cyd@gnu.org>
7946
7947 * simple.el (line-move): Use forward-line if in batch mode
7948 (Bug#11053).
7949
c09c46b2
CS
79502012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7951
7952 * files.el (after-find-file): Do not try to add a final newline if
7953 the buffer is read-only (Bug#11156).
7954
5f6530ea
RS
79552012-04-17 Richard Stallman <rms@gnu.org>
7956
7957 * mail/rmail.el (rmail-start-mail):
7958 Pass (rmail-mail-return...) for the return-action.
7959 Pass (rmail-yank-current-message...) for the yank-action.
7960 (rmail-yank-current-message): New function.
7961 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7962 (rmail-reply): Likewise.
7963 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7964
7965 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7966 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7967 buffer, not newbuf.
7968
197b6f3c
JB
79692012-04-17 Juanma Barranquero <lekktu@gmail.com>
7970
7971 * server.el (server-ensure-safe-dir): Simplify.
7972
2311d8e5 79732012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7974
2311d8e5
GM
7975 * emacs-lisp/smie.el: Provide smarter auto-filling.
7976 (smie-auto-fill): New function.
7977 (smie-setup): Use it.
98fb480e 7978
2311d8e5
GM
7979 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7980
79812012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7982
7983 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7984 (comment-indent): Use it.
7985
2311d8e5 79862012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7987
7988 * ses.el: The overall change is to add cell renaming, that is
7989 setting fancy names for cell symbols other than name matching
7990 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 7991 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 7992 (ses-create-cell-variable): New defun.
2311d8e5 7993 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
7994 (ses-relocate-formula): Relocate formulas only for cells the
7995 symbols of which are not renamed, i.e. symbols whose names do not
7996 match regexp "\\`[A-Z]+[0-9]+\\'".
7997 (ses-relocate-all): Relocate values only for cells the symbols of
7998 which are not renamed.
7999 (ses-load): Create cells variables as the (ses-cell ...) are read,
8000 in order to check row col consistency with cell symbol name only
8001 for cells that are not renamed.
8002 (ses-replace-name-in-formula): New defun.
8003 (ses-rename-cell): New defun.
4bdf2ad2 8004
fc72b15c
PO
80052012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8006
8007 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8008 New option (bug#11118).
8009 (perl-calculate-indent): Respect it.
8010
12e10e61
GM
80112012-04-17 Glenn Morris <rgm@gnu.org>
8012
8013 * dired-aux.el (dired-mark-read-string): Doc fix.
8014
30009afd
DA
80152012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8016
8017 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8018 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8019
41f03f4d
GM
80202012-04-17 Glenn Morris <rgm@gnu.org>
8021
8022 * mouse.el (mouse-drag-track):
8023 * speedbar.el (speedbar-frame-mode):
8024 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8025
f45f90f3
LL
80262012-04-16 Leo Liu <sdl.web@gmail.com>
8027
8028 * progmodes/python.el: Trivial cleanup.
8029
94ee8db5
GM
80302012-04-16 Glenn Morris <rgm@gnu.org>
8031
121b8917
GM
8032 * vc/vc.el (vc-string-prefix-p):
8033 * vc/pcvs-util.el (cvs-string-prefix-p):
8034 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8035 * mpc.el (mpc-string-prefix-p):
8036 Make all of these into obsolete aliases for string-prefix-p.
8037 Update callers.
8038 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8039
1197ecfa
GM
8040 * textmodes/two-column.el: Move custom options to the start.
8041 (frame-width): Remove compat definition.
8042 (2C-associate-buffer, 2C-dissociate):
8043 Use with-current-buffer rather than save-excursion.
8044 (2C-dissociate): Force a mode-line update.
8045 (2C-autoscroll): Use ignore-errors.
8046
099e7202
GM
8047 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8048 Autoload trivia.
8049
bf350d6a
GM
8050 * emacs-lisp/cl-extra.el (*random-state*):
8051 Remove unnecessary declaration.
8052
0e829eab
GM
8053 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8054
e3ad7552
GM
8055 * play/cookie1.el (cookie-snarf):
8056 Give an explicit error if input file cannot be read.
8057
68892d27
GM
8058 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8059
20f0c46d
GM
8060 * progmodes/perl-mode.el (c-macro-expand):
8061 Remove unnecessary autoload (it is in loaddefs.el).
8062
5a0978ce
GM
8063 * textmodes/picture.el (picture-desired-column)
8064 (picture-update-desired-column): Convert comments to doc-strings.
8065 (picture-substitute): Remove function.
8066 (picture-mode-map): Initialize in the defvar.
8067
6b955486
GM
8068 * woman.el: Remove eval-after-load for tar-mode.
8069 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8070 (woman-tar-extract-file): Autoload it.
8071
94ee8db5
GM
8072 * frame.el (automatic-hscrolling): Make this alias obsolete.
8073
177eca34
AM
80742012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8075
090bd7cb 8076 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8077 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8078 (ispell-dictionary-base-alist): Revert to original XEmacs
8079 friendly version for default. [:alpha:] will be added in
090bd7cb 8080 `ispell-set-spellchecker-params' if needed.
177eca34 8081
c505aaeb
CY
80822012-04-16 Chong Yidong <cyd@gnu.org>
8083
b19dd9d1 8084 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8085 (imagemagick-register-types): Use it.
8086 (imagemagick-types-inhibit): Add :set function. Allow new value
8087 of t to inhibit all types.
8088
8089 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8090 so we can preload it.
8091
8092 * loadup.el (fboundp): Preload regexp-opt, needed by
8093 imagemagick-register-types.
8094
60efac0f
CY
80952012-04-15 Chong Yidong <cyd@gnu.org>
8096
8097 * frame.el (scrolling): Remove nearly unused customization group.
8098
8099 * scroll-all.el (scroll-all-mode): Move to windows group.
8100
5dd1713e
CY
81012012-04-15 Chong Yidong <cyd@gnu.org>
8102
8103 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8104
e6fd457e
CY
81052012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8106
8107 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8108 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8109
e153c136
GM
81102012-04-15 Glenn Morris <rgm@gnu.org>
8111
8112 * simple.el (process-file-side-effects): Doc fix.
8113
e6fd457e 81142012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8115
8116 * international/mule-cmds.el (set-language-environment): Doc fix.
8117
3603c3b1
JB
81182012-04-14 Juanma Barranquero <lekktu@gmail.com>
8119
8120 * server.el (server-auth-key, server-generate-key): Doc fixes.
8121 (server-get-auth-key): Doc fix. Use `string-match-p'.
8122 (server-start): Reflow docstring.
8123
e6de100c
LI
81242012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8125
8126 * server.el (server-generate-key): `called-interactively-p'
8127 requires a parameter.
8128
29734c21
MN
81292012-04-14 Michal Nazarewicz <mina86@mina86.com>
8130
8131 * server.el (server-auth-key): New variable.
75f1671a 8132 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8133 (server-start): Use the new variable and functions to allow
8134 setting a permanent server key (bug#9423).
8135
d65c9521
LL
81362012-04-14 Leo Liu <sdl.web@gmail.com>
8137
8138 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8139
5ae255c7
PE
81402012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8141
8142 Spelling fixes.
8143 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8144 Emacs uses American spelling.
8145
d5e6342e
JB
81462012-04-14 Juanma Barranquero <lekktu@gmail.com>
8147
8148 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8149 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8150 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8151 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8152
ab036cd7
SM
81532012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * progmodes/which-func.el (which-func-modes): Change default.
8156
35dc09a1 81572012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8158
8159 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8160 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8161
35dc09a1 81622012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8163
8164 * custom.el (custom-theme-set-variables): Doc fix.
8165
35dc09a1 81662012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8167
8168 * international/mule.el (set-auto-coding-for-load): Doc fix.
8169
35dc09a1 81702012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8171
35dc09a1
GM
8172 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8173 imenu work again for Objective C Mode. Correct the *-index values,
8174 these having been disturbed by a previous change in 2011-08.
57f845ee 8175
0de3da9f
AM
8176 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8177 Correct two search limits.
8178
35dc09a1 81792012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8180
8181 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8182
35dc09a1 81832012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8184
8185 * international/characters.el: Fix sorting.
8186
35dc09a1 81872012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8188
8189 * international/characters.el: Add more missing Latin case pairs.
8190
35dc09a1 81912012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8192
8193 * files.el (dir-locals-set-class-variables): Doc fix.
8194
35dc09a1 81952012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8196
3f1b5bf8
EZ
8197 * international/characters.el: Add set-case-syntax-pair call for
8198 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8199 counterpart. (Bug#11209)
8200
9f847f41
EZ
8201 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8202
35dc09a1 82032012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8204
8205 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8206
35dc09a1 82072012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8208
35dc09a1
GM
8209 * textmodes/ispell.el (ispell-dictionary-base-alist):
8210 Add data for Hebrew.
e2627d21 8211
35dc09a1 82122012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8213
35dc09a1
GM
8214 * net/rcirc.el (rcirc-cmd-quit):
8215 Revert 2012-03-18 change (Bug#11192).
5c14e333 8216
35dc09a1 82172012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8218
8219 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8220
35dc09a1 82212012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8222
4517fe3a
SM
8223 * minibuffer.el (completion-in-region-mode-map):
8224 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8225
b472a594
VD
82262012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8227
8228 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8229
09b95ce3
MY
82302012-04-13 Masatake YAMATO <yamato@redhat.com>
8231
8232 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8233 to allow `C-M-f' and `C-M-b' to move to the nearest path
8234 separator (bug#9511).
8235
4b63a9ca
LI
82362012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8237
8238 * avoid.el: Require cl when compiling. And also move the
8239 `provide' to the end.
8240
7b55b8bf
TV
82412012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8242
8243 * avoid.el (mouse-avoidance-banish-position): New variable.
8244 (mouse-avoidance-banish-destination): Use it (bug#10165).
8245
adedaa1f
LL
82462012-04-13 Leo Liu <sdl.web@gmail.com>
8247
8248 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8249
70e74021
KB
82502012-04-13 Ken Brown <kbrown@cornell.edu>
8251
8252 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8253 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8254 (browse-url-filename-alist): For the same reason, don't modify
8255 file:// URLs on Cygwin.
8256
e75e89ba
SM
82572012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8258
8259 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8260 the region on shift if the binding is already shifted (bug#11221).
8261
82f289a4
GM
82622012-04-12 Glenn Morris <rgm@gnu.org>
8263
8264 * mail/mailpost.el: Move to obsolete/.
8265
d333dc4c
DA
82662012-04-12 Drew Adams <drew.adams@oracle.com>
8267
8268 * imenu.el (imenu--generic-function): Ignore invisible definitions
8269 (bug#10123).
8270
0d15b5ba
VD
82712012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8272
8273 * hexl.el (hexl-bits): New variable.
8274 (hexl-options): Mention the variable in the doc string.
75f1671a 8275 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8276 (hexl-mode): Mention the new variable.
75f1671a
JB
8277 (hexl-mode, hexl-current-address, hexl-current-address):
8278 Use the displen.
0d15b5ba
VD
8279 (hexl-ascii-start-column): New function.
8280 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8281 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8282
64a440db
AM
82832012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8284
8285 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8286 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8287 the encoding, as expected by hunspell.
8288
6decb6c2
SM
82892012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8290
8291 * battery.el (battery--linux-sysfs-regexp): New const.
8292 (battery-status-function): Use it. Remove yeeloong special case.
8293 (battery-yeeloong-sysfs): Remove.
8294 (battery-echo-area-format): Remove yeeloong special case.
8295
088be6fb
SM
82962012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8297
6622e416
SM
8298 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8299 Reported by Noah Friedman.
8300
088be6fb
SM
8301 * subr.el (read-passwd): Use read-string.
8302
b49f886e
LMI
83032012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8304
8305 * vcursor.el (vcursor-move): Increase the priority of the overlay
8306 (bug#9663).
8307
a63067fc
DD
83082012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8309
8310 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8311 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8312
ac3cf14a
WS
83132012-04-11 William Stevenson <yhvh2000@gmail.com>
8314
8315 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8316 define-minor-mode (bug#10760).
8317
c4fc691b 83182012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8319
4d6769e1 8320 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8321 that directories matching `grep-find-ignored-files' won't be
8322 pruned (bug#10351).
8323
af23e2e5
CY
83242012-04-11 Chong Yidong <cyd@gnu.org>
8325
8326 * startup.el (command-line): Remove support for long-obsolete
8327 variable font-lock-face-attributes.
8328
ab7ce8c1
GM
83292012-04-11 Glenn Morris <rgm@gnu.org>
8330
8331 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8332
de8c03dc
SM
83332012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8334
8335 * window.el (window--state-get-1): Obey window-point-insertion-type.
8336
050cc68b
LB
83372012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8338
8339 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8340 to previous function when point is on the first character of a
75f1671a 8341 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8342
a38c310c
GM
83432012-04-11 Glenn Morris <rgm@gnu.org>
8344
effed0c2
GM
8345 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8346 not just file-errors.
8347
a38c310c
GM
8348 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8349 (vc-bzr-sha1): Use internal sha1.
8350
0221e323
SM
83512012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8352
8353 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8354
43956923
SG
83552012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8356
8357 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8358 that start in the middle of the line (bug#10496).
8359
6a8c9eaf
DN
83602012-04-10 Dan Nicolaescu <dann@gnu.org>
8361
8362 * battery.el (battery-linux-proc-acpi): Only one battery is
8363 discharged at a time, but that seems to confuse battery.el when
8364 computing `rate-type' for the battery not being discharged
8365 (bug#10332).
8366
1930bf5d
SM
83672012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8368
2a718f6f
SM
8369 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8370
599430d0
SM
8371 * international/quail.el: Use dolist and simplify.
8372 (quail-define-package, quail-update-keyboard-layout)
8373 (quail-define-rules): Use dolist.
8374 (quail-insert-kbd-layout, quail-get-translation): CSE.
8375
a2754b6c
SM
8376 * tmm.el: Use dolist, remove left over hook.
8377 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8378 Use dolist.
8379 (calendar-load-hook): Don't mess with it.
8380
1930bf5d
SM
8381 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8382 Use derived-mode-p. Run the diff asynchronously.
8383
9f67961c
LMI
83842012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8385
8386 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8387
2a8ce227
JB
83882012-04-10 Juanma Barranquero <lekktu@gmail.com>
8389
8390 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8391 (list-dynamic-libraries--loaded): New function.
8392 (list-dynamic-libraries--refresh): Use it.
8393
8f33b5f8
NW
83942012-04-10 Nathan Weizenbaum <nweiz@google.com>
8395
1930bf5d
SM
8396 * progmodes/python.el (python-fill-paragraph):
8397 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8398 disabled (bug#7018).
8399
b12f0439
L
84002012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8401
1930bf5d 8402 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8403 DOS/MS Windows for the Baltic languages. There are still plenty
8404 of texts written in this encoding/codepage (bug#6519).
b12f0439 8405
57c3bd01
GM
84062012-04-10 Glenn Morris <rgm@gnu.org>
8407
8408 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8409 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8410
6c3eab30
FA
84112012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8412
1930bf5d 8413 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8414 next-line "n" and previous-line "p" in order to make recentf more
8415 consistent with ibuffer, dired or org-mode (bug#9387).
8416
24d78a88
LMI
84172012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8418
bc72b5d9
LMI
8419 * image.el (put-image): Return the overlay created instead of the
8420 optional input string (bug#7834). Note that this may break code
8421 that is (for some reason or other) depending on `put-image'
8422 returning the string.
8423
bd2dba5a
LMI
8424 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8425
74beb59f
LMI
8426 * simple.el (zap-to-char): Allow zapping using input methods
8427 (bug#1580).
8428
24d78a88
LMI
8429 * textmodes/fill.el (fill-region): Leave point and mark where they
8430 were before filling (bug#5399).
8431
263f20cd
GM
84322012-04-09 Glenn Morris <rgm@gnu.org>
8433
8434 * version.el (emacs-bzr-get-version):
8435 Handle lightweight checkouts of local branches.
8436
58d1f797
AS
84372012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8438
263f20cd 8439 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8440
b4d3bc10
CY
84412012-04-09 Chong Yidong <cyd@gnu.org>
8442
8443 * custom.el (custom-variable-p): Return nil for non-symbol
8444 arguments instead of signaling an error.
8445 (user-variable-p): Obsolete alias for custom-variable-p.
8446
8447 * apropos.el (apropos-variable):
8448 * files-x.el (read-file-local-variable):
8449 * simple.el (set-variable):
8450 * woman.el (woman-mini-help):
8451 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8452
fd06db5d
GM
84532012-04-09 Glenn Morris <rgm@gnu.org>
8454
e5fcdb5e
GM
8455 * startup.el (normal-top-level): Don't look for leim-list.el
8456 in places where it will not be found. (Bug#910)
8457
fd06db5d
GM
8458 * international/mule-cmds.el (set-default-coding-systems):
8459 * files.el (normal-mode):
8460 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8461 This function was removed with ucs-tables.el in 2008.
8462
b39bb7e1
EZ
84632012-04-08 Eli Zaretskii <eliz@gnu.org>
8464
8465 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8466 ispell-encoding8-command to "-i", without a trailing space.
8467 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8468 separate command-line arguments, to specify the encoding, since
8469 that's how hunspell expects it.
8470
5c5b8e23
GM
84712012-04-08 Glenn Morris <rgm@gnu.org>
8472
8473 * loadup.el: Load bindings before cus-start.
8474 This reduces somewhat the number of "rogue" settings in emacs -Q.
8475
a1ed8b05
GM
84762012-04-07 Glenn Morris <rgm@gnu.org>
8477
8478 * version.el (emacs-bzr-get-version): New function.
dfae128a 8479 (emacs-bzr-version): New variable.
a1ed8b05
GM
8480 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8481 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8482
b142f158
EZ
84832012-04-07 Eli Zaretskii <eliz@gnu.org>
8484
dfae128a
GM
8485 * international/uni-bidi.el, international/uni-category.el:
8486 * international/uni-combining.el, international/uni-decimal.el:
8487 * international/uni-decomposition.el, international/uni-digit.el:
8488 * international/uni-lowercase.el, international/uni-mirrored.el:
8489 * international/uni-name.el, international/uni-numeric.el:
8490 * international/uni-titlecase.el, international/uni-uppercase.el:
8491 Update for Unicode 6.1.
b142f158 8492
9078ead6
EZ
84932012-04-07 Eli Zaretskii <eliz@gnu.org>
8494
8495 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8496
f23d2c7d
LMI
84972012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8498
8499 * window.el (shrink-window): Mention the `window-min-height'
8500 variable in the doc string.
8501
0a0a3573
BG
85022012-04-05 Bastien Guerry <bzg@altern.org>
8503
8504 * color.el (color-lighten-name): Fix typo.
8505
e5248ac9
SM
85062012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 * server.el (server--on-display-p): New function.
8509 (server--on-display-p): Use it.
8510
b4243e22
GV
85112012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8512
8513 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8514 (bug#11145).
8515
305d9f44
SM
85162012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8517
8518 * comint.el (comint--common-quoted-suffix): Check string boundary
8519 before comparing (bug#11158).
8520 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8521
3d439cd1
CY
85222012-04-04 Chong Yidong <cyd@gnu.org>
8523
321cc491
CY
8524 * minibuffer.el (completion-extra-properties): Doc fix.
8525
3d439cd1
CY
8526 * subr.el (delayed-warnings-hook): Doc fix.
8527
2d562c0f
DU
85282012-04-04 Daiki Ueno <ueno@unixuser.org>
8529
8530 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8531 selection (Bug#11159).
8532 (epa-insert-keys): Inform that the default public key will be
8533 exported if no key is selected.
8534
4443f204
RS
85352012-04-04 Richard Stallman <rms@gnu.org>
8536
8537 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8538
529c06b6
CY
85392012-04-03 Chong Yidong <cyd@gnu.org>
8540
8541 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8542 mail-insert-file, not its obsolete alias mail-attach-file.
8543
66b907dc
MA
85442012-04-03 Michael Albinus <michael.albinus@gmx.de>
8545
8546 * notifications.el (notifications-notify): Fix docstring.
8547
c0ea195d
GM
85482012-04-02 Glenn Morris <rgm@gnu.org>
8549
8550 * emacs-lisp/authors.el (authors-aliases): Another addition.
8551
5ca64e00
MA
85522012-04-02 Michael Albinus <michael.albinus@gmx.de>
8553
8554 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8555 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8556 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8557
42ee526b
CY
85582012-04-01 Chong Yidong <cyd@gnu.org>
8559
8560 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8561 Handle root directory properly.
8562 (copy-directory): Caller changed.
8563
8564 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8565 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8566
0b021094
GM
85672012-03-31 Glenn Morris <rgm@gnu.org>
8568
40f86458
GM
8569 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8570
7019c177
GM
8571 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8572
a1daddd6
GM
8573 * calendar/calendar.el (calendar-window-list)
8574 (calendar-hide-window): Restore. (Bug#11140)
8575 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8576
0b021094
GM
8577 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8578
40311efc
TV
85792012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8580
8581 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8582 Check if file is a symlink (Bug#10489).
8583
8584 * files.el (copy-directory): Likewise.
8585
5319014e
CY
85862012-03-30 Chong Yidong <cyd@gnu.org>
8587
8588 * image.el (imagemagick-types-inhibit)
8589 (imagemagick-register-types): Doc fix.
8590
935d1290
AM
85912012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8592
090bd7cb 8593 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8594 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8595 and treats ~word as ordinary words in pipe mode.
935d1290 8596
61c6e8fd
GM
85972012-03-30 Glenn Morris <rgm@gnu.org>
8598
8599 * tutorial.el (help-with-tutorial): Ensure local variables don't
8600 happen to make the buffer read-only. (Bug#11127)
8601
81fdff00
SM
86022012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8603
8604 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8605 (perl-calculate-indent): Return `noindent' in strings.
8606
6e7a6ec0
SS
86072012-03-28 Sam Steingold <sds@gnu.org>
8608
8609 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8610 instead of the broken adhockery which does not prevent calendar
8611 buffers from being displayed at random after exit.
8612 (calendar-window-list, calendar-hide-window): Remove the broken
8613 adhockery.
8614
fee88ca0
GM
86152012-03-28 Glenn Morris <rgm@gnu.org>
8616
8617 * replace.el (query-replace-map): Doc fix.
8618
38de3354
AS
86192012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8620
8621 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8622 contents. (Bug#11109)
8623
b973155e
SM
86242012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8625
8626 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8627 (bug#11077).
8628 (avl-tree--check, avl-tree--check-node): New funs.
8629
dcb6e7b3
MR
86302012-03-27 Martin Rudalics <rudalics@gmx.at>
8631
8632 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8633 (switch-to-prev-buffer, switch-to-next-buffer):
8634 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8635 showing a buffer already is done on the same frame.
8636
b4fa35fa
GM
86372012-03-27 Glenn Morris <rgm@gnu.org>
8638
8639 * startup.el (mail-host-address): Doc fix.
8640
f9210e18
SM
86412012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8642
8643 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8644 than 197 variables.
8645
c0bf7753
AF
86462012-03-26 Ami Fischman <ami@fischman.org>
8647
8648 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8649
33da7b16
GM
86502012-03-26 Glenn Morris <rgm@gnu.org>
8651
02243d9d
GM
8652 * files.el (save-buffers-kill-emacs): Doc fix.
8653
33da7b16
GM
8654 * startup.el (normal-top-level, command-line, command-line-1):
8655 Give them doc strings.
8656
e5a69fd0
EZ
86572012-03-25 Eli Zaretskii <eliz@gnu.org>
8658
8659 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8660 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8661
9a69676a
CY
86622012-03-25 Chong Yidong <cyd@gnu.org>
8663
4125cb8b
CY
8664 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8665 theme if it was previously enabled before (Bug#11031).
8666
dd470960
CY
8667 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8668 spec with custom-face-get-current-spec if its :shown-value is not
8669 determined yet (Bug#9337).
4125cb8b 8670 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8671
9a69676a
CY
8672 * button.el (button-at): Minor addition to docstring.
8673
6e7e90fa
SL
86742012-03-24 Simon Leinen <simon.leinen@gmail.com>
8675
8676 * vc/vc.el (vc-merge): Fix a prompt.
8677
f06e2758
CY
86782012-03-24 Chong Yidong <cyd@gnu.org>
8679
8680 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8681 point (Bug#9623).
8682
6e7e90fa
SL
8683 * button.el (button-at): Minor addition to docstring.
8684
b9d0879b
SM
86852012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8686
8687 * newcomment.el (comment-choose-indent): No space after BOL.
8688
e71cebb3
SS
86892012-03-22 Sam Steingold <sds@gnu.org>
8690
8691 * window.el (switch-to-prev-buffer): Revert last patch because the
8692 bug turned out to be an advertised feature (Elisp manual 28.14).
8693
335aff35
GM
86942012-03-22 Glenn Morris <rgm@gnu.org>
8695
8696 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8697 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8698
c676576a
LMI
86992012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8700
8701 * net/network-stream.el (network-stream-open-starttls): Make error
8702 message under Windows be less misleading.
8703
126f3d39
LW
87042012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8705
8706 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8707 understands (bug#9942).
8708
64fee311
CY
87092012-03-22 Chong Yidong <cyd@gnu.org>
8710
8711 * simple.el (end-of-visible-line): Handle return value of
8712 next-single-property-change properly (Bug#9371).
8713
a640d29a
KH
87142012-03-22 Kenichi Handa <handa@m17n.org>
8715
8716 * international/quail.el (quail-insert-kbd-layout): Fix previous
8717 change. To avoid unwanted bidi reordering, use
8718 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8719
39675016
DG
87202012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8721
8722 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8723 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8724 (ruby-beginning-of-indent): Be more careful with the difference
8725 between word-boundary and symbol boundary.
8726 (ruby-mode-syntax-table): Make : a symbol constituent.
8727
0a6934fc 87282012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8729
3d008e4f
SM
8730 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8731
0a6934fc
SM
87322012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8733
af67c9d7
SM
8734 * progmodes/etags.el (tags-completion-at-point-function):
8735 Improve last fix.
8736
1acad97c
SM
8737 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8738
e298b5da
SS
87392012-03-21 Sam Steingold <sds@gnu.org>
8740
8741 * progmodes/etags.el (tags-completion-at-point-function):
8742 Avoid the error when point is inside the pattern.
8743
91d82a70
JY
87442012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8745
8746 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8747 line (Bug#10855).
8748
69188b79
CY
87492012-03-21 Drew Adams <drew.adams@oracle.com>
8750
8751 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8752
99fc91fe
AK
87532012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8754
8755 * ido.el (ido-set-current-directory, ido-read-internal)
8756 (ido-choose-completion-string, ido-completion-help): Handle nil
8757 value of ido-completion-buffer (Bug#11008).
8758
087bbb4c
SS
87592012-03-21 Sam Steingold <sds@gnu.org>
8760
8761 * window.el (switch-to-prev-buffer): Do not switch to a visible
8762 window previous buffer, just like with the frame previous buffers.
8763
fb5b8aca
CY
87642012-03-21 Chong Yidong <cyd@gnu.org>
8765
8766 * faces.el (make-face, make-empty-face, copy-face):
8767 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8768 Doc fixes.
8769
dc9924b8
SM
87702012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8773 (widget-complete): Remove broken use of it.
8774
f0bcceb9
CY
87752012-03-20 Chong Yidong <cyd@gnu.org>
8776
dc9924b8
SM
8777 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8778 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8779 characters.
8780
ee52ebf3
TH
87812012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8782
8783 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8784 to draw rectangles, not squares. (Regression introduced by revno
8785 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8786
4c5779ab
CY
87872012-03-18 Chong Yidong <cyd@gnu.org>
8788
8789 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8790 it is not yet defined (for temacs).
8791
15360934
LL
87922012-03-18 Leo Liu <sdl.web@gmail.com>
8793
735135f9
PE
8794 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8795 prefix.
15360934 8796
d9a8eb66
EZ
87972012-03-17 Eli Zaretskii <eliz@gnu.org>
8798
8799 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8800 (ispell-choices-win-default-height, ispell-silently-savep)
8801 (ispell-dictionary-alist, ispell-encoding8-command)
8802 (ispell-check-version, ispell-aspell-find-dictionary)
8803 (ispell-valid-dictionary-list, ispell-words-keyword)
8804 (ispell-get-word, ispell-internal-change-dictionary)
8805 (ispell-region, ispell-skip-region-list)
8806 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8807 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8808 (ispell-message-text-end, ispell-message)
8809 (ispell-buffer-local-parsing): Doc fix.
8810
f02ff80d
J
88112012-03-13 Jambunathan K <kjambunathan@gmail.com>
8812
8813 * htmlfontify.el: Add support for code block fontification for ODT
8814 export (Bug #9914).
8815 (hfy-optimisations): Define new option
8816 `body-text-only'
8817 (hfy-fontify-buffer): Honor above setting.
8818 (hfy-begin-span, hfy-end-span): New routines factored out form
8819 `hfy-fontify-buffer'.
8820 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8821 that permit insertion of custom tags.
8822 (hfy-fontify-buffer): Use above handlers.
8823 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8824 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8825 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8826 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8827 bind a special variable `hfy-user-sheet-assoc'.
8828 (htmlfontify-string): New defun.
8829 (hfy-compile-face-map): Make sure that the last char in the
8830 buffer is correctly fontified.
8831 (hfy-face-resolve-face): Whitespace only change.
8832
9ac7a13f
EZ
88332012-03-17 Eli Zaretskii <eliz@gnu.org>
8834
8835 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8836 message more clear.
8837
e2b5bdd7
LL
88382012-03-16 Leo Liu <sdl.web@gmail.com>
8839
8840 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8841
2e492df3
AM
88422012-03-16 Alan Mackenzie <acm@muc.de>
8843
8844 Further optimise the handling of large macros.
8845
8846 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8847 limit to a call of `c-literal-limits'.
8848 (c-determine-+ve-limit): New function.
dc9924b8
SM
8849 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8850 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8851 In CASE 5B, restrict a search limit to 500.
8852 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8853
8854 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8855 Restrict macro bounds to +-500 from after-change's BEG END.
8856
50e94f0c
LL
88572012-03-16 Leo Liu <sdl.web@gmail.com>
8858
8859 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8860
6f09f6ed
AH
88612012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8862
8863 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8864 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8865
c7e73d51
GM
88662012-03-16 Glenn Morris <rgm@gnu.org>
8867
da986230
GM
8868 * view.el (view-buffer, view-buffer-other-window)
8869 (view-buffer-other-frame): Doc fixes re special mode-class.
8870
0835f01e
GM
8871 * subr.el (eval-after-load): If named feature is provided not from
8872 a file, run after-load forms. (Bug#10946)
8873
c7e73d51
GM
8874 * calendar/calendar.el (calendar-insert-at-column):
8875 Handle non-unit-width characters a bit better. (Bug#10978)
8876
3f2eafd1
CY
88772012-03-15 Chong Yidong <cyd@gnu.org>
8878
8879 * emacs-lisp/ring.el (ring-extend): New function.
8880 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8881
8882 * comint.el (comint-read-input-ring)
8883 (comint-add-to-input-history): Grow comint-input-ring lazily.
8884
103af3fe
SM
88852012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8886
663b1677
SM
8887 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8888 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8889
103af3fe
SM
8890 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8891 (imenu-add-to-menubar): Don't add a redundant index.
8892 (imenu-update-menubar): Handle a dynamically composed keymap.
8893
899cb7cb
KY
88942012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8895
8896 * mail/sendmail.el (mail-encode-header):
8897 Bind rfc2047-encode-encoded-words to nil.
8898
3809f91d
GM
88992012-03-13 Glenn Morris <rgm@gnu.org>
8900
8901 * calendar/calendar.el (calendar-string-spread):
8902 Handle non-unit-width characters a bit better. (Bug#10978)
8903
9e345a01
LL
89042012-03-13 Leo Liu <sdl.web@gmail.com>
8905
8906 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8907 directory and file as argument (Bug#10822).
8908
4a07df36
KS
89092012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8910
8911 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8912 For dynamically generated code, follow $PC.
8913 (gdb-disassembly-handler-custom): Handle no function name case.
8914
4aaa9356
TL
89152012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8916
8917 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8918 * emulation/ws-mode.el (ws-query-replace):
8919 * sort.el (sort-regexp-fields):
8920 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8921
225979da
SM
89222012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8923
8924 * dabbrev.el: Fix cycle completion order (bug#10963).
8925 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8926 (dabbrev-completion): Don't use an obarray; provide
8927 a cycle-sort-function.
8928
e2f1fdab
LL
89292012-03-12 Leo Liu <sdl.web@gmail.com>
8930
dc9924b8 8931 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8932 (kill-do-not-save-duplicates): Doc fix.
8933
b19490ed
SM
89342012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * dabbrev.el: Fix cycle completion (bug#10963).
8937 Use lexical binding and wrap to 80 columns.
8938 (dabbrev-completion): Delay computing the list of completions.
8939
4b05d722
KH
89402012-03-12 Kenichi Handa <handa@m17n.org>
8941
8942 * international/quail.el (quail-insert-kbd-layout): Surround each
8943 row by LRO and PDF instead of inserting many LRMs. Pad the left
8944 and right of each non-spacing marks. Insert invisible space
8945 between lower and upper characters to prevent composition.
8946
dbbc2e69
SM
89472012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * minibuffer.el (minibuffer-complete): Don't get confused when the
8950 function is run twice via different commands (bug#10958).
8951 (complete-with-action): Fix docstring.
8952
292112ed
CY
89532012-03-12 Chong Yidong <cyd@gnu.org>
8954
5d1ac394
CY
8955 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8956 (nxml-completion-at-point-function): New function.
8957 (nxml-mode): Use it.
8958 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8959
292112ed
CY
8960 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8961 Load generated autoloads file before byte compiling (Bug#10970).
8962 (package--make-autoloads-and-compile): New helper fun.
8963
4098f8f7
CS
89642012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8965
8966 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8967
8f754691
MA
89682012-03-11 Michael Albinus <michael.albinus@gmx.de>
8969
8970 * autorevert.el (auto-revert-handler): Ensure, that
8971 file-readable-p is applied only for local files or in
8972 auto-revert-tail-mode.
8973
e29ab36b
AS
89742012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8975
dbbc2e69
SM
8976 * server.el (server-eval-at): Handle non-tcp connections.
8977 Decode result string.
ad0bf5b6 8978
e29ab36b
AS
8979 * server.el (server-msg-size): New constant.
8980 (server-reply-print): New function.
8981 (server-eval-and-print): Use it.
8982 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8983 Handle -print-nonl.
8984
de5939ba
CS
89852012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8986
8987 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8988 (Bug#10987).
8989
0c93eabf
CY
89902012-03-11 Chong Yidong <cyd@gnu.org>
8991
397a688f
CY
8992 * simple.el (goto-line): Doc fix (Bug#9938).
8993
2cc775f9
CY
8994 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8995
0c93eabf
CY
8996 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8997 when finished (Bug#10963).
8998
c491fa41
MR
89992012-03-11 Martin Rudalics <rudalics@gmx.at>
9000
9001 * window.el (split-window-below): Fix bug in case where
9002 split-window-keep-point is nil (Bug#10971).
9003
300e8fa5
JL
90042012-03-11 Juri Linkov <juri@jurta.org>
9005
9006 * replace.el (replace-highlight): Set isearch-word to nil
9007 unconditionally. (Bug#10887)
9008
dbf6c5a1
EZ
90092012-03-10 Eli Zaretskii <eliz@gnu.org>
9010
9011 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9012 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9013 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9014 (mairix-widget-create-query): Add usage information about mairix
9015 search forms: negating words, searching for substrings, etc.
9016
b9e501de
JP
90172012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9018
9019 * international/fontset.el (font-encoding-alist): Add an entry for
9020 ksx1001 (Bug#5667).
9021
92795c91
RS
90222012-03-10 Richard Stallman <rms@gnu.org>
9023
1694e6c1
RS
9024 * mail/sendmail.el (mail-encode-header):
9025 Set rfc2047-encode-encoded-words.
9026
607e8555
RS
9027 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9028
de3bc99a
RS
9029 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9030 view buffer means not swapped.
9031 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9032 (rmail-write-region-annotate): Error if real text has disappeared.
9033
92795c91
RS
9034 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9035
699bd04e
CY
90362012-03-10 Chong Yidong <cyd@gnu.org>
9037
9038 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9039 * emulation/cua-base.el (cua--init-keymaps):
9040 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9041
570a1714
MR
90422012-03-10 Martin Rudalics <rudalics@gmx.at>
9043
dbbc2e69
SM
9044 * speedbar.el (speedbar-unhighlight-one-tag-line):
9045 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9046
82dcf4e4
CY
90472012-03-10 Chong Yidong <cyd@gnu.org>
9048
7a2c7ca7
CY
9049 * minibuffer.el (completion-in-region, completion-help-at-point):
9050 Give the completion field overlay a high priority (Bug#6830).
9051
82dcf4e4
CY
9052 * dired.el (dired-goto-file): Recognize absolute file name
9053 listings (Bug#7126).
9054 (dired-goto-file-1): New helper function.
9055 (dired-toggle-read-only): Inhibit warnings.
9056
052e28ac
MA
90572012-03-09 Michael Albinus <michael.albinus@gmx.de>
9058
75f1671a 9059 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9060 there are no properties.
9061
95d5e396
LL
90622012-03-09 Leo Liu <sdl.web@gmail.com>
9063
9064 * savehist.el (savehist-printable): Stricter check for string
9065 value (Bug#10937).
9066
3f018d6d
EZ
90672012-03-09 Eli Zaretskii <eliz@gnu.org>
9068
dbbc2e69
SM
9069 * mail/smtpmail.el (smtpmail-send-it):
9070 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9071 valid mbox format.
9072
f7fd3d79
GM
90732012-03-09 Glenn Morris <rgm@gnu.org>
9074
9075 * files.el (dir-locals-find-file):
9076 Don't check result is regular, readable.
9077 (dir-locals-read-from-file): Demote errors.
9078
6ff6e72f
EZ
90792012-03-08 Eli Zaretskii <eliz@gnu.org>
9080
dbbc2e69
SM
9081 * international/quail.el (quail-insert-kbd-layout):
9082 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9083 layout cell, to prevent their reordering by bidi display engine.
9084 For details, see the discussion in
9085 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9086
9cec7834
AM
90872012-03-08 Alan Mackenzie <acm@muc.de>
9088
9089 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9090 the starting position; make it extend the marked region when
9091 invoked repeatedly - all under appropriate circumstances.
9092 Fixes bugs #5525, #10906.
9093
9a40b8d4
GM
90942012-03-08 Glenn Morris <rgm@gnu.org>
9095
9096 * files.el (locate-dominating-file, dir-locals-find-file):
9097 Undo 2012-03-06 change.
9098
7a08ed35
EZ
90992012-03-07 Eli Zaretskii <eliz@gnu.org>
9100
dbbc2e69
SM
9101 * international/quail.el (quail-help):
9102 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9103 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9104 for the reason.
9105
5aca4f71 91062012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9107
9108 Avoid superfluous registering of signals. (Bug#10807)
9109
9110 * notifications.el (notifications-on-action-object)
9111 (notifications-on-close-object): New defvars.
9112 (notifications-on-action-signal, notifications-on-closed-signal):
9113 Unregister the signal if not needed any longer.
9114 (notifications-notify): Register `notifications-action-signal' or
9115 `notifications-closed-signal', if :on-action or :on-close has been
9116 passed as argument.
9117
78e8b10a
CY
91182012-03-07 Chong Yidong <cyd@gnu.org>
9119
9120 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9121 non-X platforms.
9122
69481eb8
GM
91232012-03-06 Glenn Morris <rgm@gnu.org>
9124
9125 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9126 (x-disown-selection-internal, x-get-selection-internal):
9127 Doc fix (add arglist signatures). (Bug#10783)
9128
133b8e11
KS
91292012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9130
9131 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9132 Handle breakpoints with no "type".
9133
99a83064
GM
91342012-03-06 Glenn Morris <rgm@gnu.org>
9135
9136 * files.el (locate-dominating-file): Add optional predicate argument.
9137 (dir-locals-find-file): Make use of above change.
9138
17798e78
TTN
91392012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9140
9141 * info.el (Info-insert-dir): Also try "dir.gz".
9142
eb182446
GM
91432012-03-06 Glenn Morris <rgm@gnu.org>
9144
8f2114ee
GM
9145 * files.el (dir-locals-find-file):
9146 Ignore non-readable or non-regular files. (Bug#10928)
9147
eb182446
GM
9148 * files.el (locate-dominating-file): Doc fix.
9149
24679323
AS
91502012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9151
9152 * calendar/calendar.el (calendar-set-mode-line):
9153 `getenv' returns a string. (Bug#10951)
9154
01d972a9
LL
91552012-03-05 Leo Liu <sdl.web@gmail.com>
9156
109aa8a9
LL
9157 * simple.el (backward-delete-char-untabify): Constrain point to
9158 field (Bug#10939).
9159
01d972a9
LL
9160 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9161
10607bea
CY
91622012-03-05 Chong Yidong <cyd@gnu.org>
9163
9164 * simple.el (count-words): If called from Lisp, return the word
9165 count, for symmetry with `count-lines'. Arglist changed.
9166 (count-words--message): Args changed. Consolidate counting code
9167 from count-words and count-words-region.
9168 (count-words-region): Caller changed.
9169 (count-lines-region): Make it an obsolete alias.
9170
5dd11cfe
TH
91712012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9172
9173 * saveplace.el (save-place-to-alist)
9174 (save-place-ignore-files-regexp): Allow value nil to disable this
9175 feature.
9176
c349f4e6
CY
91772012-03-04 Chong Yidong <cyd@gnu.org>
9178
9179 * faces.el (face-spec-reset-face): For the default face, reset the
9180 attributes to default values (Bug#10748).
9181
e627be4c
LMI
91822012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9183
9184 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9185 previous patch: Check `message-send-mail-function', and not the
9186 default function (bug#10897).
9187
ebeabff4
MA
91882012-03-04 Michael Albinus <michael.albinus@gmx.de>
9189
a41a6cf4
MA
9190 * notifications.el (notifications-on-action-signal)
9191 (notifications-on-closed-signal): Check for unique service name of
9192 incoming event. Fix error in removing entry.
ebeabff4 9193 (top): Register for signals with wildcard service name.
a41a6cf4 9194 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9195
c1ca42b4
CY
91962012-03-04 Chong Yidong <cyd@gnu.org>
9197
dc9924b8 9198 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9199
ea16568d
GM
92002012-03-04 Glenn Morris <rgm@gnu.org>
9201
9202 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9203 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9204 (expand-abbrev, define-abbrev-table): Doc fixes.
9205
fbae4637
LMI
92062012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9207
9208 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9209 `message-default-send-mail-function' and not `send-mail-function'
9210 when doing the prompting for `sendmail-query-once' before sending
9211 in Message buffers (bug#10897).
9212
a1e7225c
LMI
9213 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9214 This is inconsistent with all the other stream functions, which leave
9215 the setting up to the higher levels (if so wanted) (bug#10931).
9216
56d093a9
AM
92172012-03-02 Alan Mackenzie <acm@muc.de>
9218
9219 Depessimize the handling of very large macros.
9220
9221 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9222 (c-macro-cache-syntactic): New variables to implement a one
9223 element macro cache.
9224 (c-invalidate-macro-cache): New function.
9225 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9226 Adapt to use the new cache.
9227 (c-state-safe-place): Use better the cache of safe positions.
9228 (c-state-semi-nonlit-pos-cache)
9229 (c-state-semi-nonlit-pos-cache-limit):
9230 New variables for...
9231 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9232 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9233 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9234 Use c-state-semi-safe-place.
56d093a9 9235
dbbc2e69
SM
9236 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9237 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9238
817e5c3d
MA
92392012-03-02 Michael Albinus <michael.albinus@gmx.de>
9240
dbbc2e69
SM
9241 * jka-compr.el (jka-compr-call-process):
9242 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9243 not remote.
9244
a032a702
MA
92452012-03-01 Michael Albinus <michael.albinus@gmx.de>
9246
9247 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9248 access of FILE2, if FILE1 does not exist.
9249
99a54f21
MA
9250 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9251 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9252
9253 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9254 Add "PAGER=" to `process-environment'.
9255
f6561e1f
MM
92562012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9257
9258 * progmodes/sql.el: Bug fix
9259 (sql-get-login-ext): Save login values in globals.
9260 (sql-get-login): Use new version of `sql-get-login-ext'.
9261 (sql-interactive-mode): Set global `sql-connection' to nil.
9262 (sql-connect): Set global values for connection.
9263 (sql-product-interactive): Save global values as buffer local.
9264
2d44d9cc
LL
92652012-02-29 Leo Liu <sdl.web@gmail.com>
9266
9267 * abbrev.el (define-abbrevs): Reset sys to nil.
9268
96b49301 92692012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9270
bf7f9bc5
JB
9271 * files.el (file-equal-p): Rename from `files-equal-p'.
9272 Return nil when one or both files don't exist.
96b49301 9273 (file-subdir-of-p): Now only top directory must exists,
9274 return nil if it doesn't.
bf7f9bc5
JB
9275 (copy-directory): No need to test with `file-subdir-of-p' after
9276 creating dir.
9277 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9278 to `file-equal-p'.
96b49301 9279
44e97401
GM
92802012-02-28 Glenn Morris <rgm@gnu.org>
9281
9282 * shell.el (shell-mode):
9283 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9284 * play/landmark.el (landmark-font-lock-face-O):
9285 * play/handwrite.el (handwrite):
9286 * play/gomoku.el (gomoku-O):
9287 * net/browse-url.el (browse-url-browser-display):
9288 * international/mule.el (define-charset):
9289 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9290 * filesets.el (filesets-find-file-delay):
9291 * eshell/em-xtra.el (eshell-xtra):
9292 * eshell/em-unix.el (eshell-grep):
9293 * emulation/viper.el (viper-mode):
9294 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9295 * emacs-lisp/easymenu.el (easy-menu-define):
9296 * calendar/timeclock.el (timeclock-use-display-time):
9297 * bs.el (bs-mode):
9298 * bookmark.el (bookmark-save-flag):
9299 Doc fix (standardize possessive apostrophe usage).
9300
c98c6276
CY
93012012-02-27 Chong Yidong <cyd@gnu.org>
9302
bf7f9bc5
JB
9303 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9304 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9305
c98c6276
CY
9306 * font-lock.el (font-lock-specified-p): Rename from
9307 font-lock-spec-present. Callers changed.
9308
9c62cd04 93092012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9310
bf7f9bc5
JB
9311 * emacs-lisp/package.el (package-compute-transaction):
9312 Handle holding a package version to t in package-load-list.
8ac9e529 9313
530739c9
MA
93142012-02-26 Michael Albinus <michael.albinus@gmx.de>
9315
9316 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9317 (tramp-get-inode, tramp-get-device): Use cached values.
9318
487915d7
AM
93192012-02-26 Alan Mackenzie <acm@muc.de>
9320
9321 Check there is a font-lock specification before doing initial
9322 fontification.
9323
9324 * font-core.el (font-lock-mode): Move the conditional from
9325 :after-hook to font-lock-initial-fontify.
9326 (font-lock-default-function): Move the check for a specification
9327 to font-lock-spec-present.
9328
dc9924b8 9329 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9330 (font-lock-spec-present): New function.
9331
4fd96557
JB
93322012-02-26 Jim Blandy <jimb@red-bean.com>
9333
9334 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9335 (gdb-send): Apply it to the operand of the '-interpreter-exec
9336 console' command, so that we can pass arguments with (say) quotes
9337 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9338
9a4888c0
CY
93392012-02-26 Chong Yidong <cyd@gnu.org>
9340
07498861
CY
9341 * help-fns.el (describe-function-1): Clarify description of
9342 remapping (Bug#10844).
9343
9a4888c0
CY
9344 * files.el (files-equal-p): Doc fix.
9345 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9346 and quit the loop once a mismatch is found.
9347
ea8fb88d
JB
93482012-02-25 Juanma Barranquero <lekktu@gmail.com>
9349
9350 * bs.el (bs--show-with-configuration): Don't throw an error
9351 if the window cannot be split; otherwise, subsequent calls to
9352 bs-show fail, restoring a stale window config. (Bug#10882)
9353
525795c1
JD
93542012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9355
9356 * term/ns-win.el (global-map): Bind ns-drag-file to
9357 ns-find-file (Bug#5855, Bug#10050).
9358
f008086f
AS
93592012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9360
9361 * calendar/parse-time.el (parse-time-string): Allow extractor to
9362 return nil.
9363
a3fcfa99
MA
93642012-02-25 Michael Albinus <michael.albinus@gmx.de>
9365
91027d08
JB
9366 * net/tramp.el (tramp-file-name-for-operation):
9367 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9368
9369 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9370 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9371 Add COPY-CONTENTS argument.
a3fcfa99 9372
67b0de11
CY
93732012-02-25 Chong Yidong <cyd@gnu.org>
9374
9375 Add custom groups for VC backends, for consistency with vc-bzr.
9376
9377 * vc/vc-arch.el (vc-arch):
9378 * vc/vc-cvs.el (vc-cvs):
9379 * vc/vc-git.el (vc-git):
9380 * vc/vc-hg.el (vc-hg):
9381 * vc/vc-mtn.el (vc-mtn):
9382 * vc/vc-rcs.el (vc-rcs):
9383 * vc/vc-sccs.el (vc-sccs):
9384 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9385 All relevant defcustoms reassigned.
9386
3c9dfce6
CY
93872012-02-25 Chong Yidong <cyd@gnu.org>
9388
1339bf43
CY
9389 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9390
3c9dfce6
CY
9391 * term/x-win.el (x-initialize-window-system): Reduce default for
9392 x-selection-timeout to 5 seconds (Bug#8869).
9393
25b2e303 93942012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9395
ec70a47d
GM
9396 * files.el (files-equal-p, file-subdir-of-p): New functions.
9397 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9398 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9399 * dired-aux.el (dired-copy-file-recursive): Same.
9400 (dired-create-files): Modify destination when source is equal to
9401 dest when copying files.
53a46cd0 9402 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9403
914260cd
MA
94042012-02-24 Michael Albinus <michael.albinus@gmx.de>
9405
9406 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9407 (Bug#10874)
9408
2cb228f7
AM
94092012-02-23 Alan Mackenzie <acm@muc.de>
9410
9411 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9412 parameter "after-hook:" to allow the expansion to run code after
9413 the execution of the mode hooks.
9414
9415 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9416 from font-lock-mode-internal.
2cb228f7 9417
91027d08 9418 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9419 :after-hook.
9420
8f0fde21
SM
94212012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9422
3e88618b
SM
9423 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9424 (completion--cache-all-sorted-completions): New function.
9425 (completion-all-sorted-completions): Use it.
9426 (completion--do-completion, minibuffer-force-complete):
9427 Use it to re-instate the flush hook.
9428
8f0fde21
SM
9429 * icomplete.el (icomplete-completions): Replace last fix with a better
9430 one (bug#10850).
9431
8e911f6f
DG
94322012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9433
9434 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9435 when it might call us back infinitely (bug#10797).
9436
49fe4321
GM
94372012-02-23 Glenn Morris <rgm@gnu.org>
9438
9439 * minibuffer.el (completion-category-overrides): Doc fix.
9440
b291b572
SM
94412012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9442
9443 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9444 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9445
31a9ef2e
GM
94462012-02-23 Glenn Morris <rgm@gnu.org>
9447
5e6e6794 9448 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9449 (authors-obsolete-files-regexps, authors-ignored-files)
9450 (authors-ambiguous-files, authors-renamed-files-alist):
9451 Add more entries.
9452
0bd1e074
JL
94532012-02-23 Juri Linkov <juri@jurta.org>
9454
9455 * isearch.el (isearch-occur): Sync interactive spec with occur's
9456 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9457
b617673c
JL
9458 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9459
19e9789e
JL
94602012-02-22 Juri Linkov <juri@jurta.org>
9461
9462 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9463 (ucs-insert): Doc fix. Check for hex digits in the string.
9464 Don't display `nil' in the error message. (Bug#10857)
9465
f41ce09d
AM
94662012-02-22 Alan Mackenzie <acm@muc.de>
9467
7a71b18d 9468 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9469
ac2eceee
GM
94702012-02-22 Glenn Morris <rgm@gnu.org>
9471
9472 * ffap.el (ffap-c-path):
9473 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9474
abd1f678
CY
94752012-02-22 Chong Yidong <cyd@gnu.org>
9476
9477 * custom.el (load-theme): Doc fix.
9478
f25aef2e
GM
94792012-02-22 Glenn Morris <rgm@gnu.org>
9480
9481 * dired-x.el (dired-guess-shell-alist-default):
9482 Remove escape sequences from nroff output. (Bug#172)
9483
5f8dc2ca
GM
94842012-02-21 Glenn Morris <rgm@gnu.org>
9485
6ff86ec4
GM
9486 * vc/emerge.el (emerge-defvar-local):
9487 Set `permanent-local' property rather than unused `preserved'.
9488
be3223a3 9489 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9490 (picture-mode-map): Use it. (Bug#10860)
9491 (picture-mode): Doc fix.
9492
3fe58f4f
JB
94932012-02-21 Juanma Barranquero <lekktu@gmail.com>
9494
9495 * newcomment.el (uncomment-region-default): Remove unused binding.
9496
f9a998c3
GM
94972012-02-21 Glenn Morris <rgm@gnu.org>
9498
9499 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9500 (picture-self-insert, picture-tab-chars): Doc fix.
9501 (picture-mode-map): Fix C-a, C-e.
9502
c6029348
GM
95032012-02-20 Glenn Morris <rgm@gnu.org>
9504
9505 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9506
ab1ce9d7
LL
95072012-02-20 Leo Liu <sdl.web@gmail.com>
9508
9509 * icomplete.el (icomplete-completions): Check FROM arg before
9510 passing to substring (Bug#10850).
9511
0fd40f89
CY
95122012-02-19 Chong Yidong <cyd@gnu.org>
9513
9514 * comint.el: Require ansi-color.
9515 (comint-output-filter-functions): Add ansi-color-process-output.
9516
9517 * ansi-color.el: Don't set comint-output-filter-functions; it is
9518 now in the initial value defined in comint.el.
9519 (ansi-color-apply-face-function): New variable.
9520 (ansi-color-apply-on-region): Use it.
9521 (ansi-color-apply-overlay-face): New function.
9522
9523 * shell.el (shell): No need to require ansi-color.
9524 (shell-mode): Use ansi-color-apply-face-function to highlight
9525 color escapes using font-lock-face property (Bug#10835).
9526
20af2394
CY
95272012-02-19 Chong Yidong <cyd@gnu.org>
9528
9529 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9530 mode-line formats (Bug#10839).
9531
e23a3fbe
GM
95322012-02-18 Glenn Morris <rgm@gnu.org>
9533
b474519e
GM
9534 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9535
9536 * mail/undigest.el (unforward-rmail-message): Doc fix.
9537
e23a3fbe
GM
9538 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9539
57939ff4
EZ
95402012-02-18 Eli Zaretskii <eliz@gnu.org>
9541
9542 * international/characters.el (script-list): Sync with the latest
9543 Unicode Character Database.
9544
0c23686e
AS
95452012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9546
9547 * international/titdic-cnv.el: Remove duplicate coding tag.
9548 * language/cham.el: Likewise.
9549 * language/tai-viet.el: Likewise.
9550
6818b449
GM
95512012-02-18 Glenn Morris <rgm@gnu.org>
9552
9553 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9554 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9555 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9556 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9557 * calendar/holidays.el (holiday-bahai-holidays)
9558 (calendar-holidays, list-holidays):
9559 Use utf-8 Bahá'í in doc-strings, menus, etc.
9560
0311a3fc
TH
95612012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9562
9563 * saveplace.el (save-place-ignore-files-regexp): New variable
9564 allowing for excluding files from saving their location of point.
9565 The default value matches the temporary commit message editing
9566 files from Git, SVN, Bazaar, and Mercurial.
9567 (save-place-to-alist): Use it.
9568
d209e2fb 95692012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9570 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9571
9572 * newcomment.el (uncomment-region-default): Don't leave extra space
9573 when an arg is provided (bug#8150).
9574
ee0ce425
TZ
95752012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9576
eb864a71 9577 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9578
95ddf442
GM
95792012-02-17 Glenn Morris <rgm@gnu.org>
9580
9581 * net/socks.el: Require network-stream. (Bug#10599)
9582
48dd1e39 95832012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9584
9585 * international/charprop.el:
9586 * international/uni-name.el:
9587 * international/uni-old-name.el:
9588 * international/uni-comment.el: Regenerate.
9589
d68cd087
GM
95902012-02-16 Glenn Morris <rgm@gnu.org>
9591
9592 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9593 Interactively in calendar buffer, give an error if not on a date.
9594
13932042
GM
95952012-02-15 Glenn Morris <rgm@gnu.org>
9596
9597 * shell.el (shell-delimiter-argument-list):
9598 Revert 2011-02-17 change. (Bug#8027)
9599
c3a70e2b
CY
96002012-02-15 Chong Yidong <cyd@gnu.org>
9601
60236b0d
CY
9602 * minibuffer.el (completion-at-point-functions): Doc fix.
9603
c3a70e2b
CY
9604 * custom.el (defcustom): Doc fix; note use of defvar.
9605
9f26dc24
GM
96062012-02-15 Glenn Morris <rgm@gnu.org>
9607
9608 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9609 Doc fixes.
9610
6546b134
GM
96112012-02-14 Glenn Morris <rgm@gnu.org>
9612
9613 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9614
d29b2b4c
LI
96152012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9616
9617 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9618 way the ports list is computed.
835bdcba
LI
9619 (smtpmail-query-smtp-server): Prompt the user for a port number if
9620 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9621
08dcdbc9
TZ
96222012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9623
9624 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9625
2605051a
GM
96262012-02-13 Glenn Morris <rgm@gnu.org>
9627
9628 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9629
7ee99f32
TZ
96302012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9631
9632 * net/gnutls.el (gnutls-trustfiles): New variable.
9633 (gnutls-negotiate): Use it.
9634
5f0af64f
LI
96352012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9636
9637 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9638 does its stuff if Gnus is running.
9639
c14fcc95
AM
96402012-02-13 Alan Mackenzie <acm@muc.de>
9641
9642 Fix a loop in c-set-fl-decl-start.
9643
7a71b18d 9644 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9645 c-backward-syntactic-ws actually moves backwards.
9646
142b4d90
LL
96472012-02-13 Leo Liu <sdl.web@gmail.com>
9648
9649 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9650 beginning so that all \C-o chars are removed.
9651
fa9958a6
TZ
96522012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9653
dc9924b8 9654 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9655
0bc5886a
AM
96562012-02-12 Alan Mackenzie <acm@muc.de>
9657
9658 Fix infinite loop with long macros.
4d6769e1 9659 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9660
d4bd55e7
CY
96612012-02-12 Chong Yidong <cyd@gnu.org>
9662
9663 * window.el (display-buffer): Doc fix (Bug#10785).
9664
66f3fe22
GM
96652012-02-12 Glenn Morris <rgm@gnu.org>
9666
bd7da63e
GM
9667 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9668 (x-disown-selection-internal, x-get-selection-internal):
9669 Sync docs with the xselect.c versions.
9670
66f3fe22
GM
9671 * allout-widgets.el: Add missing license notice.
9672
3e0d2fa7
GM
96732012-02-11 Glenn Morris <rgm@gnu.org>
9674
cfecdf09
GM
9675 * select.el (x-get-selection-internal, x-own-selection-internal)
9676 (x-disown-selection-internal):
9677 * x-dnd.el (x-get-selection-internal): Update declarations.
9678
6d216d7f
GM
9679 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9680
2bed3f04
GM
9681 * window.el (window-sides-slots):
9682 * tool-bar.el (tool-bar-position):
9683 * term/xterm.el (xterm-extra-capabilities):
9684 * ses.el (ses-self-reference-early-detection):
9685 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9686 (verilog-auto-wire-type)
9687 (verilog-auto-delete-trailing-whitespace)
9688 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9689 (verilog-auto-tieoff-declaration):
9690 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9691 (sql-oracle-statement-starters, sql-oracle-scan-on):
9692 * progmodes/prolog.el (prolog-align-comments-flag)
9693 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9694 (prolog-left-indent-regexp, prolog-paren-indent-p)
9695 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9696 (prolog-types, prolog-mode-specificators)
9697 (prolog-determinism-specificators, prolog-directives)
9698 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9699 (prolog-electric-dot-flag)
9700 (prolog-electric-dot-full-predicate-template)
9701 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9702 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9703 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9704 (prolog-program-switches, prolog-prompt-regexp)
9705 (prolog-debug-on-string, prolog-debug-off-string)
9706 (prolog-trace-on-string, prolog-trace-off-string)
9707 (prolog-zip-on-string, prolog-zip-off-string)
9708 (prolog-use-standard-consult-compile-method-flag)
9709 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9710 (prolog-imenu-max-lines, prolog-info-predicate-index)
9711 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9712 (prolog-char-quote-workaround):
9713 * progmodes/cc-vars.el (c-defun-tactic):
9714 * net/tramp.el (tramp-encoding-command-interactive)
9715 (tramp-local-end-of-line):
9716 * net/soap-client.el (soap-client):
9717 * net/netrc.el (netrc-file):
9718 * net/gnutls.el (gnutls):
9719 * minibuffer.el (completion-category-overrides)
9720 (completion-cycle-threshold)
9721 (completion-pcm-complete-word-inserts-delimiters):
9722 * man.el (Man-name-local-regexp):
9723 * mail/feedmail.el (feedmail-display-full-frame):
9724 * international/characters.el (glyphless-char-display-control):
9725 * eshell/em-ls.el (eshell-ls-date-format):
9726 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9727 (lisp-lambda-list-keyword-parameter-indentation)
9728 (lisp-lambda-list-keyword-parameter-alignment):
9729 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9730 * dired-x.el (dired-omit-verbose):
9731 * cus-theme.el (custom-theme-allow-multiple-selections):
9732 * calc/calc.el (calc-highlight-selections-with-faces)
9733 (calc-lu-field-reference, calc-lu-power-reference)
9734 (calc-note-threshold):
9735 * battery.el (battery-mode-line-limit):
9736 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9737 (archive-7z-update):
9738 * allout.el (allout-prefixed-keybindings)
9739 (allout-unprefixed-keybindings)
9740 (allout-inhibit-auto-fill-on-headline)
9741 (allout-flattened-numbering-abbreviation):
9742 * allout-widgets.el (allout-widgets-auto-activation)
9743 (allout-widgets-icons-dark-subdir)
9744 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9745 (allout-widgets-theme-dark-background)
9746 (allout-widgets-theme-light-background)
9747 (allout-widgets-item-image-properties-emacs)
9748 (allout-widgets-item-image-properties-xemacs)
9749 (allout-widgets-run-unit-tests-on-load)
9750 (allout-widgets-time-decoration-activity)
9751 (allout-widgets-hook-error-post-time)
9752 (allout-widgets-track-decoration):
9753 Add missing :version tags to new defcustoms and defgroups.
9754
5fec1b8e
GM
9755 * progmodes/sql.el (sql-ansi-statement-starters)
9756 (sql-oracle-statement-starters): Add custom type.
9757
3e0d2fa7
GM
9758 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9759 (prolog-system-version): Give it a type.
9760
90b671e2
EZ
97612012-02-11 Eli Zaretskii <eliz@gnu.org>
9762
9763 * term/pc-win.el (x-select-text, x-selection-owner-p)
9764 (x-own-selection-internal, x-disown-selection-internal)
9765 (x-get-selection-internal): Sync doc strings and argument lists
9766 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9767
5eac0c02
LL
97682012-02-11 Leo Liu <sdl.web@gmail.com>
9769
9770 * progmodes/python.el (python-end-of-statement): Fix infinite
9771 loop. (Bug#10788)
9772
f82cb659
GM
97732012-02-10 Glenn Morris <rgm@gnu.org>
9774
9775 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9776 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9777
cc26d239
LI
97782012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9779
9780 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9781 about SMTP before checking the From header.
9782
91027d08 9783 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9784 into own function for reuse by emacsbug.el.
9785
1be3ca5a
LL
97862012-02-10 Leo Liu <sdl.web@gmail.com>
9787
9788 * subr.el (condition-case-unless-debug): Rename from
9789 condition-case-no-debug. All callers changed.
9790 (with-demoted-errors): Fix caller.
9791
9792 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9793 * nxml/rng-valid.el (rng-do-some-validation):
9794 * emacs-lisp/package.el (package-refresh-contents)
9795 (package-menu-execute):
9796 * desktop.el (desktop-create-buffer):
91027d08 9797 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9798
b011fbfe
GM
97992012-02-10 Glenn Morris <rgm@gnu.org>
9800
b2096d72
GM
9801 * textmodes/bibtex.el:
9802 Add missing :version tags for new/changed defcustoms.
9803
b011fbfe
GM
9804 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9805
4c7e65bf
LI
98062012-02-09 Lars Ingebrigtsen <larsi@rusty>
9807
9808 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9809 (smtpmail-via-smtp): Use it, or fall back on the From address.
9810 (smtpmail-send-it): Ditto.
9811
f3934f6f
SM
98122012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9815 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9816 (byte-compile-tmp-var): New const.
9817 (byte-compile-defvar): Use it to minimize .elc size.
9818 Just use `defvar' rather than simulate it (bug#10761).
9819
a075a2c5
GM
98202012-02-09 Glenn Morris <rgm@gnu.org>
9821
cf3aa21b
GM
9822 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9823
354998cd
GM
9824 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9825 Add :version tags.
9826
dc9924b8
SM
9827 * progmodes/compile.el (compilation-error-screen-columns)
9828 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9829
dab3703d
GM
9830 * vc/log-view.el (log-view-toggle-entry-display):
9831 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9832
3f88cd72
GM
9833 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9834 (report-emacs-bug-can-use-xdg-email):
9835 (report-emacs-bug-insert-to-mailer): Doc fixes.
9836 (report-emacs-bug): Message fix.
9837
d95b247d
GM
9838 * net/browse-url.el (browse-url-can-use-xdg-open)
9839 (browse-url-xdg-open): Doc fixes.
9840
a075a2c5
GM
9841 * electric.el (electric-indent-mode, electric-pair-mode)
9842 (electric-layout-rules, electric-layout-mode): Doc fixes.
9843 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9844
ffb6157e
MR
98452012-02-08 Martin Rudalics <rudalics@gmx.at>
9846
9847 * server.el (server-unselect-display): Don't inadvertently kill
9848 the current buffer. (Bug#10729)
9849
e1ac4066
GM
98502012-02-08 Glenn Morris <rgm@gnu.org>
9851
34e8a2da
GM
9852 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9853 (sql-list-table): Doc fixes.
9854
b4ac6e8c
GM
9855 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9856 Comment out (does nothing).
9857
e1ac4066
GM
9858 * completion.el (dynamic-completion-mode):
9859 * dirtrack.el (dirtrack-debug-mode):
9860 * electric.el (electric-layout-mode):
9861 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9862 * face-remap.el (text-scale-mode, buffer-face-mode):
9863 * iimage.el (iimage-mode):
9864 * image-mode.el (image-transform-mode):
9865 * minibuffer.el (completion-in-region-mode):
9866 * scroll-lock.el (scroll-lock-mode):
9867 * simple.el (next-error-follow-minor-mode):
9868 * tar-mode.el (tar-subfile-mode):
9869 * tooltip.el (tooltip-mode):
9870 * vcursor.el (vcursor-use-vcursor-map):
9871 * wid-browse.el (widget-minor-mode):
9872 * emulation/tpu-edt.el (tpu-edt-mode):
9873 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9874 * international/iso-ascii.el (iso-ascii-mode):
9875 * language/thai-util.el (thai-word-mode):
9876 * mail/supercite.el (sc-minor-mode):
9877 * net/goto-addr.el (goto-address-mode):
9878 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9879 * progmodes/cwarn.el (cwarn-mode):
9880 * progmodes/flymake.el (flymake-mode):
9881 * progmodes/glasses.el (glasses-mode):
9882 * progmodes/hideshow.el (hs-minor-mode):
9883 * progmodes/pascal.el (pascal-outline-mode):
9884 * textmodes/enriched.el (enriched-mode):
9885 * vc/smerge-mode.el (smerge-mode):
9886 Doc fixes (minor mode argument).
9887
5e0d957f
EZ
98882012-02-07 Eli Zaretskii <eliz@gnu.org>
9889
9890 * ls-lisp.el (ls-lisp-sanitize): New function.
9891 (ls-lisp-insert-directory): Use it to fix or remove any elements
9892 in file-alist with missing attributes. (Bug#4673)
9893
98d7371e
AM
98942012-02-07 Alan Mackenzie <acm@muc.de>
9895
9896 Fix spurious recognition of c-in-knr-argdecl.
9897
9898 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9899 putative K&R region.
9900
667ced3a
AM
99012012-02-07 Alan Mackenzie <acm@muc.de>
9902
eb864a71
LM
9903 * progmodes/cc-engine.el (c-forward-objc-directive):
9904 Prevent looping in "#pragma mark @implementation".
667ced3a 9905
5b77774d
MA
99062012-02-07 Michael Albinus <michael.albinus@gmx.de>
9907
9908 * notifications.el (notifications-on-closed-signal): Make `reason'
9909 optional. (Bug#10744)
9910
af008560
GM
99112012-02-07 Glenn Morris <rgm@gnu.org>
9912
60d47423
GM
9913 * emacs-lisp/easy-mmode.el (define-minor-mode):
9914 Doc fixes for the macro and the mode it defines.
9915
dd605cc4
GM
9916 * image.el (imagemagick-types-inhibit): Doc fix.
9917
af008560
GM
9918 * cus-start.el (imagemagick-render-type): Add it.
9919
5cc59a37
LI
99202012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9921
4d6769e1
JB
9922 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9923 Set the default at load time, too, so that `font-lock-fontify-buffer'
9924 can be called without setting up the entire mode first. This fixes
9925 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9926
9a6dd747
CY
99272012-02-06 Chong Yidong <cyd@gnu.org>
9928
2d16b285
CY
9929 * simple.el (list-processes--refresh): Delete exited processes
9930 (Bug#8094).
9931
171e9b6e
CY
9932 * comint.el (comint-next-prompt): next-single-char-property-change
9933 and prev-single-char-property-change never return nil (Bug#8657).
9934
9a6dd747
CY
9935 * custom.el (defcustom): Doc fix (Bug#9711).
9936
aa4589a7
CY
99372012-02-05 Chong Yidong <cyd@gnu.org>
9938
5c2a252f
CY
9939 * cus-edit.el (custom-variable-reset-backup): Quote the value
9940 before storing it in the customized-value property (Bug#6712).
4aab9006 9941 (custom-display): Add a customization type tag.
983b9602 9942 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9943
aa4589a7
CY
9944 * wid-edit.el (widget-field-value-get): New optional arg to
9945 suppress trailing whitespace truncation.
9946 (character): Use it (Bug#2689).
9947
1ff980ae
AS
99482012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9949
9950 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9951 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9952
03988c98
CY
99532012-02-05 Chong Yidong <cyd@gnu.org>
9954
eeb6cc88
CY
9955 * cus-edit.el (custom-variable-value-create): For mismatched
9956 types, show the current value (Bug#7600).
9957
03988c98
CY
9958 * custom.el (defcustom): Doc fix.
9959
f8cdeef0
GM
99602012-02-05 Glenn Morris <rgm@gnu.org>
9961
9962 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9963
0696d255
JB
99642012-02-05 Juanma Barranquero <lekktu@gmail.com>
9965
9966 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9967 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9968 (pp-last-sexp): Use `looking-at-p'.
9969
34c99998
GM
99702012-02-04 Glenn Morris <rgm@gnu.org>
9971
8f05da42
GM
9972 * files.el (revert-buffer):
9973 Doc fix (mention revert-buffer-in-progress-p).
9974
f160676e
GM
9975 * emacs-lisp/ert-x.el (ert-simulate-command):
9976 Check deferred-action-list (which is obsolete) is bound.
9977
c7291ad9
GM
9978 * subr.el (with-wrapper-hook): Doc fixes.
9979
34c99998
GM
9980 * simple.el (filter-buffer-substring-functions)
9981 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9982
6283a7d3
LL
99832012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9984
9985 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9986 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9987
e96e3013
LL
99882012-02-04 Leo Liu <sdl.web@gmail.com>
9989
9990 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9991
8ded50f2
GM
99922012-02-04 Glenn Morris <rgm@gnu.org>
9993
82ff1d13
GM
9994 * image.el (image-extension-data): Add obsolete alias.
9995
987a0a16
GM
9996 * isearch.el (isearch-update): Doc fix.
9997
ea32ef46
GM
9998 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9999
8ded50f2
GM
10000 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10001
eea14f31
GM
100022012-02-03 Glenn Morris <rgm@gnu.org>
10003
10004 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10005 (image-animate-timeout): Doc fix.
10006
10007 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10008
12f381b7
GM
100092012-02-02 Glenn Morris <rgm@gnu.org>
10010
953cebf5
GM
10011 * server.el (server-auth-dir): Doc fix.
10012 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10013
12f381b7
GM
10014 * subr.el (run-mode-hooks): Doc fix.
10015
953a8c3b
JL
100162012-02-02 Juri Linkov <juri@jurta.org>
10017
10018 * image-mode.el (image-toggle-display-image): Remove tautological
10019 `major-mode' from the `derived-mode-p' test.
10020
c5d3843c
KH
100212012-02-02 Kenichi Handa <handa@m17n.org>
10022
9f6e692e 10023 * composite.el (compose-region): Cancel previous change.
c5d3843c 10024
159462d4 100252012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10026
10027 * composite.el (compose-region, compose-string): Signal error for
10028 a null string component (Bug#6988).
10029
9f562668
CY
100302012-02-01 Chong Yidong <cyd@gnu.org>
10031
e2cef717
CY
10032 * view.el (view-buffer-other-window, view-buffer-other-frame):
10033 Handle special modes like view-buffer (Bug#10650).
10034 (view-buffer): Simplify.
10035
9f562668
CY
10036 * frame.el (set-frame-font): Tweak meaning of third argument.
10037
9f6e692e
JB
10038 * dynamic-setting.el (font-setting-change-default-font):
10039 Use set-frame-font (Bug#9982).
9f562668 10040
781acb9f
GM
100412012-02-01 Glenn Morris <rgm@gnu.org>
10042
6035be52
GM
10043 * progmodes/compile.el (compilation-internal-error-properties):
10044 Respect compilation-first-column in the "*compilation*" buffer.
10045
781acb9f
GM
10046 * emacs-lisp/easy-mmode.el (define-minor-mode):
10047 Relax :variable's test for a named function.
10048
abbceb00
AM
100492012-01-31 Alan Mackenzie <acm@muc.de>
10050
10051 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10052 off by one error.
10053
fce3fdeb
CY
100542012-01-31 Chong Yidong <cyd@gnu.org>
10055
10056 * frame.el (set-frame-font): New arg ALL-FRAMES.
10057
10058 * menu-bar.el (menu-set-font): Use set-frame-font.
10059
10060 * faces.el (face-spec-reset-face): Don't apply unspecified
10061 attribute values to the default face.
10062
47893581
JB
100632012-01-31 Juanma Barranquero <lekktu@gmail.com>
10064
10065 * progmodes/cwarn.el (cwarn): Remove dead link.
10066 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10067 Remove * from defcustom docstrings.
10068 (turn-on-cwarn-mode): Make obsolete.
10069 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10070 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10071
e58e988a
GM
100722012-01-31 Glenn Morris <rgm@gnu.org>
10073
60dc2671 10074 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10075 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10076 Allow named functions to be used as the cdr of :variable.
e58e988a 10077
7a3f511d
GM
100782012-01-30 Glenn Morris <rgm@gnu.org>
10079
10080 * emacs-lisp/authors.el (authors-fixed-entries):
10081 Remove reference to deleted file rnewspost.el.
10082
cb882333
JB
100832012-01-29 Juanma Barranquero <lekktu@gmail.com>
10084
10085 * window.el (window-with-parameter): Remove unused variable `windows'.
10086 (window--side-check): Remove unused variable `code'.
10087 (window--resize-siblings): Remove unused variable `first'.
10088 (adjust-window-trailing-edge): Remove unused variable `failed'.
10089 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10090 Use `let', not `let*'.
10091 (balance-windows-2): Remove unused variable `found'.
10092 (window--state-put-2): Remove unused variable `splits'.
10093 (window-state-put): Remove unused variable `selected'.
10094 (same-window-p): Use `string-match-p'.
10095 (display-buffer-assq-regexp): Remove unused variable `value'.
10096 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10097 Mark argument ALIST as ignored.
10098 (pop-to-buffer): Remove unused variable `old-window'.
10099
907201af
EZ
101002012-01-29 Eli Zaretskii <eliz@gnu.org>
10101
10102 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10103 and .lzma compressed files.
10104
ea162670
CY
101052012-01-29 Chong Yidong <cyd@gnu.org>
10106
5b95ee8a
CY
10107 * frame.el (window-system-default-frame-alist): Doc fix.
10108
ea162670
CY
10109 * dynamic-setting.el (font-setting-change-default-font): Don't
10110 change the default face if SET-FONT argument is non-nil (Bug#9982).
10111
d6e6f4b1
SB
101122012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10113
10114 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10115
0f29fa41 101162012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10117
10118 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10119 breakpoints in files outside current directory (Bug#6098).
10120
db174434
CY
101212012-01-29 Chong Yidong <cyd@gnu.org>
10122
6b25e4e2
SE
10123 * progmodes/python.el: Require ansi-color at top-level.
10124
6df6ae42
JB
10125 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10126 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10127 (lisp-mode-abbrev-table): Add doc.
10128 (lisp-mode-variables): Don't set local-abbrev-table.
10129 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10130
e70ee681
RW
101312012-01-28 Roland Winkler <winkler@gnu.org>
10132
10133 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10134
ace88aa2
RW
101352012-01-28 Roland Winkler <winkler@gnu.org>
10136
10137 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10138 (bibtex-set-dialect): Use it. Either set global values of
10139 dialect-dependent variables or bind these variables buffer-locally
10140 (Bug#10254).
10141 (bibtex-mode): Call bibtex-set-dialect via
10142 hack-local-variables-hook.
eb864a71
LM
10143 (bibtex-dialect): Update docstring.
10144 Add safe-local-variable predicate.
ace88aa2
RW
10145 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10146 bibtex-set-dialect.
10147 (bibtex-mode-map): Define menu for each dialect.
10148 (bibtex-entry): Fix docstring.
10149
93376c5b
CY
101502012-01-28 Chong Yidong <cyd@gnu.org>
10151
10152 * eshell/esh-arg.el (eshell-quote-argument): New function.
10153
10154 * eshell/esh-ext.el (eshell-invoke-batch-file):
10155 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10156 first arg to eshell-parse-command (Bug#10523).
10157
4372494f
DA
101582012-01-28 Drew Adams <drew.adams@oracle.com>
10159
10160 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10161 `default-directory' is non-nil.
10162
4d4ec1f8
EZ
101632012-01-28 Eli Zaretskii <eliz@gnu.org>
10164
10165 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10166 line that displays system-configuration-options. (Bug#9924)
10167
7c188927
DA
101682012-01-28 Drew Adams <drew.adams@oracle.com>
10169
10170 * descr-text.el (describe-char): Show information about POS, in
10171 addition to information about the character at POS. Improve and
10172 update the doc string. Change "code point" to "code point in
10173 charset", to avoid confusion with the character's Unicode code
10174 point shown above that. (Bug#10129)
10175
e0da685a
EZ
101762012-01-28 Eli Zaretskii <eliz@gnu.org>
10177
10178 * descr-text.el (describe-char): Show the raw character, not only
10179 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10180 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10181 for the reasons.
10182
70550acf
PH
101832012-01-28 Phil Hagelberg <phil@hagelb.org>
10184
eb864a71
LM
10185 * emacs-lisp/package.el (package-install):
10186 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10187
0ce8e868
CY
101882012-01-28 Chong Yidong <cyd@gnu.org>
10189
cb882333
JB
10190 * emacs-lisp/package.el (package-maybe-load-descriptor):
10191 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10192 (package-maybe-load-descriptor): Use it.
10193 (package-download-transaction): Fully load required packages
10194 inside the loop, so that `require' calls work (Bug#10593).
10195 (package-install): No need to call package-initialize now.
10196
2e7f3bea
CY
101972012-01-28 Chong Yidong <cyd@gnu.org>
10198
6e9bad14
CY
10199 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10200
f823b8ca
CY
10201 * tooltip.el (tooltip-mode): Doc fix.
10202 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10203
2680c309
CY
10204 * frame.el (set-cursor-color): Doc fix (Bug#352).
10205
d7a9e63b
CY
10206 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10207 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10208
2e7f3bea
CY
10209 * cus-edit.el (custom-buffer-create-internal): Fix search button
10210 action (Bug#10542).
2ae01800 10211 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10212
fc4f7a23
EW
102132012-01-27 Eduard Wiebe <usenet@pusto.de>
10214
10215 * dired.el (dired-mark-files-regexp):
10216 Include any subdirectory components. (Bug#10445)
10217
7dd37071
ML
102182012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10219
10220 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10221 Handle [host]:port syntax. (Bug#10533)
10222
a268160b
AH
102232012-01-27 Alex Harsanyi <harsanyi@mac.com>
10224
10225 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10226
e43273ef
GM
102272012-01-26 Glenn Morris <rgm@gnu.org>
10228
10229 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10230 * term.el (term-raw-escape-map): Use Control-X-prefix.
10231 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10232
1edf595d
MR
102332012-01-25 Martin Rudalics <rudalics@gmx.at>
10234
10235 * window.el (window-state-get, window--state-get-1): Don't deal
10236 with fixed-sizeness of windows. Simplify code.
10237
fa8eafef
JC
102382012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10239
6df6ae42
JB
10240 * window.el (window--state-get-1, window--state-put-2):
10241 Don't save and restore the mark.
fa8eafef 10242
0b21c100
CY
102432012-01-25 Chong Yidong <cyd@gnu.org>
10244
10245 * custom.el (custom-variable-p): Doc fix.
10246
5ae1a6c8
GM
102472012-01-25 Glenn Morris <rgm@gnu.org>
10248
40047858
GM
10249 * dired.el (dired-goto-file): Handle some of the more common
10250 characters that `ls -b' escapes. (Bug#10596)
10251
5ddce96c
GM
10252 * progmodes/compile.el (compilation-next-error-function):
10253 Respect compilation-first-column in the "*compilation*" buffer.
10254 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10255
5ae1a6c8
GM
10256 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10257
b559f1a9
GM
102582012-01-24 Glenn Morris <rgm@gnu.org>
10259
10260 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10261
6725d21a
JD
102622012-01-24 Julien Danjou <julien@danjou.info>
10263
10264 * color.el (color-rgb-to-hsl): Fix value computing.
10265 (color-hue-to-rgb): New function.
10266 (color-hsl-to-rgb): New function.
10267 (color-clamp, color-saturate-hsl, color-saturate-name)
10268 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10269 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10270
70df4bbe
GM
102712012-01-24 Glenn Morris <rgm@gnu.org>
10272
10273 * vc/vc-rcs.el (vc-rcs-create-tag):
10274 * vc/vc-sccs.el (vc-sccs-create-tag):
10275 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10276
802a2ae2
ML
102772012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10278
10279 * eshell/esh-util.el (eshell-read-hosts-file):
10280 Skip comment lines. (Bug#10549)
10281
d7128bb1
ML
10282 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10283
d1a5c3b4
JB
102842012-01-23 Juanma Barranquero <lekktu@gmail.com>
10285
2724d9c7
JB
10286 * subr.el (display-delayed-warnings): Doc fix.
10287 (collapse-delayed-warnings): New function to collapse identical
10288 adjacent warnings.
10289 (delayed-warnings-hook): Add it.
d1a5c3b4 10290
a5509865
MA
102912012-01-22 Michael Albinus <michael.albinus@gmx.de>
10292
10293 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10294
a5509865
MA
10295 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10296 (tramp-default-user-alist): Don't add "pscp".
10297 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10298 property "login-as", if set. (Bug#10530)
10299
cc6d5805
MA
103002012-01-21 Michael Albinus <michael.albinus@gmx.de>
10301
10302 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10303 "plink1" and "psftp". (Bug#10530)
10304
103052012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10306
10307 * international/mule-cmds.el (prefer-coding-system): Show a
10308 warning message if the default value of file-name-coding-system
10309 was not changed.
10310
f0960428
JC
103112012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10312
cb882333
JB
10313 * windmove.el (windmove-reference-loc):
10314 Fix windmove-reference-loc miscalculation.
f0960428 10315
dd6f2a63
JB
103162012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10317
10318 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10319 default unit.
10320
7b447e9b
GM
103212012-01-21 Glenn Morris <rgm@gnu.org>
10322
117a9ea1
GM
10323 * international/mule.el (auto-coding-alist): Add .tbz.
10324
7b447e9b
GM
10325 * files.el (local-enable-local-variables): Doc fix.
10326 (inhibit-local-variables-regexps): Rename from
10327 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10328 Doc fix. Add some extensions from auto-coding-alist.
10329 (inhibit-local-variables-suffixes):
10330 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10331 (inhibit-local-variables-p):
10332 New function, extracted from set-auto-mode-1.
10333 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10334 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10335 (hack-local-variables): Doc fix. Make the mode-only case
10336 respect enable-local-variables and friends.
10337 Respect inhibit-local-variables-regexps for file-locals, but
10338 not for directory-locals.
10339 (set-visited-file-name):
10340 Take account of inhibit-local-variables-regexps.
10341 Whether it applies may change as the file name is changed.
10342 * jka-cmpr-hook.el (jka-compr-install):
10343 * jka-compr.el (jka-compr-uninstall):
10344 Update for inhibit-first-line-modes-suffixes name change.
10345
dd6e3cdd
MR
103462012-01-20 Martin Rudalics <rudalics@gmx.at>
10347
10348 * help-macro.el (make-help-screen): Temporarily restore original
10349 binding for minor-mode-map-alist (Bug#10454).
10350
0d0deb38
JD
103512012-01-19 Julien Danjou <julien@danjou.info>
10352
10353 * color.el (color-name-to-rgb): Use the white color to find the max
10354 color component value and return correctly computed values.
10355 (color-name-to-rgb): Add missing float conversion for max value.
10356
34a02f46
MR
103572012-01-19 Martin Rudalics <rudalics@gmx.at>
10358
10359 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10360 special state value for window-persistent-parameters.
10361 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10362 (window--state-put-2): Reset all window parameters to nil before
10363 assigning values of persistent parameters.
10364
606c44c4
AM
103652012-01-18 Alan Mackenzie <acm@muc.de>
10366
10367 Eliminate sluggishness and hangs in fontification of "semicolon
10368 deserts".
10369
cb882333
JB
10370 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10371 Change value 10000 -> 3000.
606c44c4
AM
10372 (c-state-safe-place): Reformulate so it doesn't stack up an
10373 infinite number of wrong entries in c-state-nonlit-pos-cache.
10374 (c-determine-limit-get-base, c-determine-limit): New functions to
10375 determine backward search limits disregarding literals.
10376 (c-find-decl-spots): Amend commenting.
10377 (c-cheap-inside-bracelist-p): New function which detects "={".
10378
10379 * progmodes/cc-fonts.el
10380 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10381 backward search.
10382 (c-font-lock-declarations): Fix an occurrence of point being
10383 undefined. Check additionally for point being in a bracelist or
10384 near a macro invocation without a semicolon so as to avoid a
10385 fruitless time consuming search for a declarator. Give a more
10386 precise search limit for declarators using the new
10387 c-determine-limit.
10388
f3860cea
GM
103892012-01-18 Glenn Morris <rgm@gnu.org>
10390
10391 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10392 (set-auto-mode): Doc fixes.
10393
1db03b16
GM
103942012-01-17 Glenn Morris <rgm@gnu.org>
10395
0e6038be
GM
10396 * isearch.el (search-nonincremental-instead): Fix doc typo.
10397
1db03b16
GM
10398 * dired.el (dired-insert-directory): Handle newlines in directory name.
10399 (dired-build-subdir-alist): Unescape newlines in directory name.
10400
4cb0aa75
MA
104012012-01-17 Michael Albinus <michael.albinus@gmx.de>
10402
10403 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10404 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10405 (tramp-action-terminal): Use it. (Bug#10530)
10406
1d00653d
SM
104072012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10408
10409 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10410
6a6ee00d
MR
104112012-01-16 Martin Rudalics <rudalics@gmx.at>
10412
10413 * window.el (window-state-ignored-parameters): Remove variable.
10414 (window--state-get-1): Rename argument MARKERS to IGNORE.
10415 Handle persistent window parameters. Make copy of clone-of
10416 parameter only if requested. (Bug#10348)
10417 (window--state-put-2): Install a window parameter only if it has
10418 a non-nil value or an existing parameter shall be overwritten.
10419
97912def
MA
104202012-01-15 Michael Albinus <michael.albinus@gmx.de>
10421
10422 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10423
688070a5
EZ
104242012-01-14 Eli Zaretskii <eliz@gnu.org>
10425
10426 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10427 don't pass the (nil) value of `upnode' to string-match.
10428
301afadc
CY
104292012-01-14 Chong Yidong <cyd@gnu.org>
10430
10431 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10432 Fix values recognized by the cursorBlink resource.
301afadc 10433
9e5788aa
PE
104342012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10435
10436 * epg.el (epg--make-temp-file): Avoid permission race condition
10437 when running on old Emacs versions (bug#10403).
10438
3cdb7f5a
GM
104392012-01-14 Glenn Morris <rgm@gnu.org>
10440
10441 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10442
8c82b1b4
AM
104432012-01-13 Alan Mackenzie <acm@muc.de>
10444
10445 Fix filling for when filladapt mode is enabled.
10446
10447 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10448 c-mask-paragraph, pass in `fill-paragraph' rather than
10449 `fill-region-as-paragraph'. (This is a reversion of a previous
10450 change.)
eb864a71
LM
10451 * progmodes/cc-mode.el (c-basic-common-init):
10452 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10453
e517eda4
GM
104542012-01-13 Glenn Morris <rgm@gnu.org>
10455
1498536e
GM
10456 * dired.el (dired-switches-escape-p): New function.
10457 (dired-insert-directory): Use dired-switches-escape-p.
10458 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10459
e517eda4
GM
10460 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10461
328f984d
GM
104622012-01-12 Glenn Morris <rgm@gnu.org>
10463
10464 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10465 changes in adaptive-fill-regexp. (Bug#10276)
10466
2cc769a8
AM
104672012-01-11 Alan Mackenzie <acm@muc.de>
10468
10469 Fix Emacs bug #10463 - put `widen's around the critical spots.
10470
1d00653d 10471 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10472 widen around each invocation of c-state-pp-to-literal. Remove an
10473 unused let variable.
10474
e52c37fa
GM
104752012-01-11 Glenn Morris <rgm@gnu.org>
10476
10477 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10478 Doc fix.
e52c37fa 10479
96f8741e
CY
104802012-01-10 Chong Yidong <cyd@gnu.org>
10481
1d00653d
SM
10482 * net/network-stream.el (network-stream-open-starttls):
10483 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10484 response to the capability command.
10485
b09a806e
GM
104862012-01-10 Glenn Morris <rgm@gnu.org>
10487
10488 * mail/unrmail.el (unrmail): Tweak previous change.
10489
7655cb66
CY
104902012-01-09 Chong Yidong <cyd@gnu.org>
10491
10492 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10493
9d5a8f0b
AM
104942012-01-08 Alan Mackenzie <acm@muc.de>
10495
10496 Optimise font locking in long enum definitions.
10497
10498 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10499 arm to a cond form to handle enums.
10500 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10501 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10502
9a0115ab 105032012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10504
10505 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10506 (Bug#10401)
6bb72cbd 10507
f186bb95
LMI
105082012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10509
29232a68
LMI
10510 * faces.el (set-face-attribute): Clarify the meaning of the nil
10511 frame (bug#10294).
10512
4e5d086d
LMI
10513 * subr.el (with-selected-frame): Mention that the selected frame
10514 is restored (bug#9980).
10515
8e66aebe
LMI
10516 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10517 (bug#9759).
10518
cd394be1 10519 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10520 (password-read): Don't autoload unused function.
10521
adf4e762
JB
105222012-01-07 Juanma Barranquero <lekktu@gmail.com>
10523
10524 * progmodes/which-func.el (which-func-mode): Turn into a
10525 non-interactive function and mark as obsolete (bug#10428).
10526
89bd9ccd
CY
105272012-01-06 Chong Yidong <cyd@gnu.org>
10528
10529 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10530 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10531 functions, along with 1 and -1.
10532
4afee9d5
EZ
105332012-01-06 Eli Zaretskii <eliz@gnu.org>
10534
10535 * time.el (display-time-load-average)
10536 (display-time-default-load-average): Doc fixes. See the thread
10537 starting at
10538 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10539 for the details.
10540
536aea70
GM
105412012-01-06 Glenn Morris <rgm@gnu.org>
10542
665ae865
GM
10543 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10544 has no messages. (Bug#10377)
10545
c869783d
GM
10546 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10547 than Info-edit. (Bug#10385)
10548
2bb4227e
GM
10549 * time.el (display-time-load-average, display-time-next-load-average):
10550 Doc fixes.
10551
7d5944b9
GM
10552 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10553 local setting of buffer-read-only to the input buffer. (Bug#10419)
10554
536aea70
GM
10555 * calendar/calendar.el (calendar-mode):
10556 Locally set scroll-margin to 0. (Bug#10379)
10557
7dccca16
UM
105582012-01-06 Ulrich Mueller <ulm@gentoo.org>
10559
10560 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10561
afbb7930
GM
105622012-01-05 Glenn Morris <rgm@gnu.org>
10563
10564 * eshell/em-unix.el (diff-no-select): Autoload it.
10565 (eshell/diff): Use diff-no-select. (Bug#10420)
10566
04482335
CY
105672012-01-05 Chong Yidong <cyd@gnu.org>
10568
7baca3bc
CY
10569 * shell.el (shell-dynamic-complete-functions): Revert last change.
10570 (shell-command-completion-function): New function.
10571 (shell-completion-vars): Use it to implement
10572 shell-completion-execonly (Bug#10417).
10573
04482335
CY
10574 * custom.el (enable-theme): Don't set custom-safe-themes.
10575
1d00653d
SM
10576 * cus-theme.el (custom-theme-merge-theme):
10577 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10578
bb5aa5d6
MM
105792012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10580
10581 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10582 first prompt in `sql-interacive-mode'.
10583 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10584 keywords.
6df6ae42 10585 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10586 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10587 context of original buffer. Invoke `sql-login-hook'.
10588
a7183d7c
EZ
105892012-01-04 Eli Zaretskii <eliz@gnu.org>
10590
10591 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10592 letters in cite-prefix.
10593
a1eacd1e
LMI
105942012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10595
10596 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10597
787cdb34
CY
105982012-01-03 Chong Yidong <cyd@gnu.org>
10599
1d00653d
SM
10600 * shell.el (shell-dynamic-complete-functions):
10601 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10602 comint-filename-completion first (Bug#10417).
10603
30710442
RS
106042012-01-02 Richard Stallman <rms@gnu.org>
10605
10606 * battery.el (battery-status-function):
10607 Detect when to use battery-yeeloong-sysfs.
10608 (battery-echo-area-format): Add string for Yeeloong.
10609 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10610 (battery-yeeloong-sysfs): New function.
10611
f75bfc33
CY
106122012-01-02 Chong Yidong <cyd@gnu.org>
10613
10614 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10615 (dirtrack): Merge code for handling relative filenames in prompt
10616 from shell-dir-cookie-watcher.
10617 (dirtrack-debug-message): New arg to avoid excess format calls.
10618
10619 * shell.el (shell-dir-cookie-re): Variable deleted.
10620 (shell-dir-cookie-watcher): Function deleted.
10621 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10622 with dirtrack-mode.
10623
651e947e
EZ
106242012-01-01 Eli Zaretskii <eliz@gnu.org>
10625
1d00653d
SM
10626 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10627 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10628 libgnutls-26.dll.
10629
94d4c7dc
AS
106302011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10631
10632 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10633
8d43f3cd
EZ
106342011-12-31 Eli Zaretskii <eliz@gnu.org>
10635
10636 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10637 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10638
98c8795a
MA
106392011-12-29 Michael Albinus <michael.albinus@gmx.de>
10640
10641 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10642 also for alternative shells.
10643 (tramp-open-connection-setup-interactive-shell): Check, whether
10644 the shell is a busybox.
10645 (tramp-send-command): Don't suppress multiple prompts for
10646 busyboxes, it hurts.
10647
51281b32
CY
106482011-12-28 Chong Yidong <cyd@gnu.org>
10649
10650 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10651 (gdb-get-source-file): Move mode line update to
10652 gdb-get-source-file (Bug#10087).
10653
2170cb53
CY
106542011-12-25 Chong Yidong <cyd@gnu.org>
10655
10656 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10657 gud-gdb-marker-filter without taking it as an argument.
10658 (gud-gdb-run-command-fetch-lines): Caller changed.
10659 (gud-gdb-completion-function): New variable.
10660 (gud-gdb-completion-at-point): Use it.
10661 (gud-gdb-completions-1): Split from gud-gdb-completions.
10662
10663 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10664 function as separate arguments.
10665 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10666 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10667 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10668 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10669 (gdb-stopped, def-gdb-auto-update-trigger)
10670 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10671 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10672 Callers changed.
2170cb53
CY
10673 (gud-gdbmi-completions): New function.
10674 (gdb): Use it for generating the completion table.
10675
be8b11bb
AM
106762011-12-24 Alan Mackenzie <acm@muc.de>
10677
10678 Introduce a mechanism to widen the region used in context font
1d00653d 10679 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10680
1d00653d
SM
10681 * progmodes/cc-langs.el (c-before-font-lock-functions):
10682 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10683 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10684 functions to be run just before context (etc.) font locking.
10685
10686 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10687 New, functionality extracted from
be8b11bb 10688 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10689 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10690 (c-after-change): Set c-in-after-change-fontification.
10691 (c-set-fl-decl-start): Rejig its interface, so it can be called
10692 from both after-change and context fontifying.
b81d40f0
JB
10693 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10694 New functions.
10695 (c-standard-font-lock-fontify-region-function): New variable.
10696 (c-font-lock-fontify-region): New function.
be8b11bb 10697
341cf6ac
JL
106982011-12-24 Juri Linkov <juri@jurta.org>
10699
10700 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10701 (Bug#10348)
10702
bffcee0a
MA
107032011-12-23 Michael Albinus <michael.albinus@gmx.de>
10704
10705 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10706 existence of source file. (Bug#10325)
10707
cb5e207c
AM
107082011-12-23 Alan Mackenzie <acm@muc.de>
10709
10710 Fix unstable fontification inside templates.
10711
b81d40f0
JB
10712 * progmodes/cc-langs.el (c-before-font-lock-functions):
10713 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10714 additionally has c-set-fl-decl-start. The other languages (apart
10715 from AWK) have that as a single entry.
10716
b81d40f0
JB
10717 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10718 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10719 c-set-fl-decl-start.
10720
b81d40f0
JB
10721 * progmodes/cc-mode.el (c-common-init, c-after-change):
10722 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10723 (c-set-fl-decl-start): New function, extracted from
10724 c-font-lock-enclosing-decls and enhanced.
10725
60ff536c
JB
107262011-12-23 Juanma Barranquero <lekktu@gmail.com>
10727
10728 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10729
1c4757d6
JL
107302011-12-22 Juri Linkov <juri@jurta.org>
10731
10732 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10733
d031f2c7
CY
107342011-12-22 Chong Yidong <cyd@gnu.org>
10735
10736 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10737
bace743a
DA
107382011-12-21 Drew Adams <drew.adams@oracle.com>
10739
10740 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10741
728a1f2b
JC
107422011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10743
10744 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10745
0d373f73
TZ
107462011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10747
fec0aaa4
TZ
10748 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10749 highlighting and support. Fix up comments for capitalization.
10750 (cfengine-mode-debug): New var.
10751 (cfengine3-mode): Change the modeline indicator to "CFE3".
10752 (cfengine3-font-lock-keywords): Improve defun highlighting.
10753 (cfengine2-actions): Rename from `cfengine-actions'.
10754 (cfengine2-font-lock-keywords): Rename from
10755 `cfengine-font-lock-keywords'.
10756 (cfengine2-imenu-expression): Rename from
10757 `cfengine-imenu-expression'.
10758 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10759 (cfengine2-beginning-of-defun): Rename from
10760 `cfengine-beginning-of-defun'.
10761 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10762 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10763 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10764 modeline indicator to "CFE2".
10765 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10766 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10767
bc86f573
CY
107682011-12-21 Chong Yidong <cyd@gnu.org>
10769
10770 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10771 filename argument.
10772
d45ba96b
MR
107732011-12-20 Martin Rudalics <rudalics@gmx.at>
10774
10775 * window.el (window-normalize-buffer-to-display): Remove.
10776 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10777
a6198c90
CY
107782011-12-19 Chong Yidong <cyd@gnu.org>
10779
10780 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10781 Don't signal an error in a predicate function; return non-nil.
10782 (vc-dir-mark-file): Move the error here.
10783 (vc-dir-mark-unmark): If acting on the region, keep going if one
10784 of the entries cannot be marked/unmarked.
10785 (vc-dir-mark-all-files): If current entry is a directory, mark
10786 only child files, as documented.
10787
34c5fb55
VB
107882011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10789
10790 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10791 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10792 addition.
10793
c803b2b7
JD
107942011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10795
10796 * term/ns-win.el (ns-get-selection-internal)
10797 (ns-store-selection-internal): Declare.
1154d12e
JB
10798 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10799 Declare as obsolete.
10800 (ns-get-pasteboard, ns-paste-secondary):
10801 Use ns-get-selection-internal.
41e9b956 10802 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10803 Use ns-store-selection-internal.
c803b2b7 10804
9cff91f8 108052011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10806
10807 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10808 (vc-deduce-fileset): Doc fix.
99a289d9 10809
f16c898a
AS
108102011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10811
10812 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10813
763237c4
SS
108142011-12-13 Sam Steingold <sds@gnu.org>
10815
10816 * man.el (Man-getpage-in-background): When running under a
10817 window-system, ignore $MANWIDTH and $COLUMNS.
10818
5fc1c122
KH
108192011-12-15 Kenichi Handa <handa@m17n.org>
10820
10821 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10822 (setup-ethiopic-environment-internal): Comment out key-binding for
10823 ethio-toggle-punctuation.
10824
13d49cbb
AM
108252011-12-13 Alan Mackenzie <acm@muc.de>
10826
898169a2
AM
10827 Add the switch statement to AWK Mode.
10828
7a71b18d 10829 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10830 "default" to the keywords regexp.
10831
7a71b18d 10832 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10833 expression as the rest.
1d00653d
SM
10834 (c-nonlabel-token-key): Allow string literals for AWK.
10835 Refactor for the other modes.
898169a2 10836
13d49cbb 10837 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10838 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10839 routines. Limit backward searching in c-font-lock-enclosing.decl.
10840
10841 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10842 pp-state and literal type in addition to the limits.
1d00653d 10843 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10844 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10845 (c-slow-in-literal, c-fast-in-literal): Remove.
10846 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10847
10848 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10849 being in a literal. Add a limit for backward searching.
10850
10851 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10852 c-slow-in-literal.
10853
15e0efc7
SM
108542011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10855
10856 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10857
454592a6
MR
108582011-12-13 Martin Rudalics <rudalics@gmx.at>
10859
10860 * window.el (delete-other-windows): Use correct frame in call to
10861 window-with-parameter.
10862
87393f26
DP
108632011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10864
10865 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10866 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10867 (makefile-gmake-statements, makefile-makepp-statements):
10868 Use it and add new makepp keywords.
10869 (makefile-makepp-font-lock-keywords): Add new patterns.
10870 (makefile-match-function-end): Match new [...] and [[...]].
10871
11636b22
JB
108722011-12-11 Juanma Barranquero <lekktu@gmail.com>
10873
10874 * ses.el (ses-call-printer-return, ses-cell-property-get)
10875 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10876 (ses-create-cell-variable, ses-reset-header-string)
10877 (ses-cell-set-formula, ses-repair-cell-reference-all)
10878 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10879 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10880 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10881 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10882 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10883 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10884 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10885 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10886 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10887 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10888 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10889 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10890
cf018193
VB
108912011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10892
10893 * ses.el: The overall change is to add cell renaming, that is
10894 setting fancy names for cell symbols other than name matching
10895 "\\`[A-Z]+[0-9]+\\'" regexp .
10896 (ses-create-cell-variable): New defun.
10897 (ses-relocate-formula): Relocate formulas only for cells the
10898 symbols of which are not renamed, i.e. symbols whose names do not
10899 match regexp "\\`[A-Z]+[0-9]+\\'".
10900 (ses-relocate-all): Relocate values only for cells the symbols of
10901 which are not renamed.
10902 (ses-load): Create cells variables as the (ses-cell ...) are read,
10903 in order to check row col consistency with cell symbol name only
10904 for cells that are not renamed.
10905 (ses-replace-name-in-formula): New defun.
10906 (ses-rename-cell): New defun.
10907
ee957461
CY
109082011-12-11 Chong Yidong <cyd@gnu.org>
10909
10910 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10911 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10912
9a9e9ef0
MR
109132011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10914
10915 * window.el (other-window): Fix docstring.
10916
92a8eba5
EZ
109172011-12-10 Eli Zaretskii <eliz@gnu.org>
10918
10919 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10920 `from' or `to' address before taking its substring.
10921 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10922 encoded name is chopped in the middle of the encoded string, and
10923 thus displayed encoded.
10924
e152e577
JB
109252011-12-10 Juanma Barranquero <lekktu@gmail.com>
10926
10927 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10928
e5d84bfe
EZ
109292011-12-10 Eli Zaretskii <eliz@gnu.org>
10930
10931 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10932 to use texinfo-update-node and commands that call it if the
10933 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10934 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10935 (texinfo-all-menus-update, texinfo-master-menu)
10936 (texinfo-update-node, texinfo-every-node-update)
10937 (texinfo-multiple-files-update): Doc fix. Warn against updating
10938 all the @node lines.
10939 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10940 argument is numeric. Explain better in the doc string what the
10941 function really does.
10942 (texinfo-insert-master-menu-list): Improve the error message
10943 displayed if there's no menu in the Top node.
10944 (Bug#2975) See also this thread:
e5d84bfe
EZ
10945 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10946
1d84e9bb
MG
109472011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10948
10949 * speedbar.el (speedbar-supported-extension-expressions):
10950 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10951
382c953b
JB
109522011-12-09 Juanma Barranquero <lekktu@gmail.com>
10953
10954 * printing.el (pr-mode-alist):
10955 * simple.el (filter-buffer-substring-functions)
10956 (completion-list-insert-choice-function):
10957 * window.el (window-with-parameter, window-atom-root)
10958 (window-sides-slots, window-size-fixed, window-min-delta)
10959 (window-max-delta, window--resize-mini-window)
10960 (window--resize-child-windows-normal, window-tree)
10961 (delete-other-windows, quit-window, split-window)
10962 (display-buffer-record-window, special-display-buffer-names)
10963 (special-display-regexps, special-display-popup-frame)
10964 (same-window-p, split-window-sensibly)
10965 (display-buffer-overriding-action, display-buffer-alist)
10966 (display-buffer-base-action, display-buffer, switch-to-buffer)
10967 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10968 (fit-window-to-buffer, recenter-positions)
10969 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10970 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10971 and remove unneeded backslashes in docstrings.
10972
39c9faef
SM
109732011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10974
98449af8
SM
10975 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10976
39c9faef
SM
10977 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10978 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10979 end in ".mk".
10980 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10981 when reading the makefile (bug#10116).
10982
86ed9fdc
SM
109832011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10984
10985 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10986 (bug#10116).
10987
5580f89d
GM
109882011-12-06 Glenn Morris <rgm@gnu.org>
10989
10990 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10991
28d3917c
CY
109922011-12-06 Chong Yidong <cyd@gnu.org>
10993
10994 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10995
a98edce9
JB
109962011-12-06 Juanma Barranquero <lekktu@gmail.com>
10997
10998 * textmodes/table.el (table-shorten-cell): Fix typo.
10999
e65adfac
CG
110002011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11001
11002 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11003
71cc0b74
EZ
110042011-12-05 Eli Zaretskii <eliz@gnu.org>
11005
11006 * descr-text.el (describe-char): Fix display of strong
11007 right-to-left characters and directional embeddings and overrides.
11008
11009 * simple.el (what-cursor-position): Fix display of codepoints of
11010 strong right-to-left characters.
11011
315bc30d
CY
110122011-12-05 Chong Yidong <cyd@gnu.org>
11013
11014 * faces.el (read-color): Doc fix.
11015
58a70b94
GM
110162011-12-05 Glenn Morris <rgm@gnu.org>
11017
11018 * align.el (align--set-marker): Add doc-string.
11019 Don't try to move something that is not a marker. (Bug#10216)
11020
5158face
GM
110212011-12-04 Glenn Morris <rgm@gnu.org>
11022
11023 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11024 overly zealous deletion of trailing whitespace.
11025
520fca41
JB
110262011-12-04 Juanma Barranquero <lekktu@gmail.com>
11027
11028 * server.el (server-delete-client): On Windows, do not try to delete
11029 the only terminal.
11030 (server-process-filter): On Windows, treat requests for a tty frame as
11031 if they were for a GUI frame if the running server is in GUI mode.
11032
5e605a2e
GM
110332011-12-03 Glenn Morris <rgm@gnu.org>
11034
11035 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11036
5c3fe83f
SM
110372011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11038
6f5e57e7
SM
11039 * electric.el: Streamline electric-indent's hook.
11040 (electric-indent-chars): Revert to simple list.
11041 (electric-indent-functions): New var.
11042 (electric-indent-post-self-insert-function): Use it.
11043
5c3fe83f
SM
11044 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11045 there's no inferior buffer (bug#10196).
11046 (prolog-consult-compile): Don't use toggle-read-only.
11047
6bdac736
MA
110482011-12-02 Michael Albinus <michael.albinus@gmx.de>
11049
11050 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11051 interrupt. (Bug#10187)
11052
6131ba7f
SM
110532011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11054
99c79fee
SM
11055 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11056 (bug#9160).
11057
6131ba7f
SM
11058 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11059 (bug#10191).
11060
cb0a02ea
JL
110612011-12-02 Juri Linkov <juri@jurta.org>
11062
11063 * info.el (Info-search): Display "end of manual" when Isearch
11064 reaches the end of single-file Info manual. (Bug#9918)
11065
66e0570c
EZ
110662011-12-02 Eli Zaretskii <eliz@gnu.org>
11067
11068 * isearch.el (isearch-message-prefix): Run the input method part
11069 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11070
02b16839
JL
110712011-12-02 Juri Linkov <juri@jurta.org>
11072
11073 * isearch.el (isearch-occur): Use `word-search-regexp' for
11074 `isearch-word'.
11075 (isearch-search-and-update): Add condition for `isearch-word' and
11076 call `word-search-regexp'. (Bug#10145)
11077
0b950688
GM
110782011-12-01 Glenn Morris <rgm@gnu.org>
11079
11080 * eshell/em-hist.el (eshell-hist-initialize):
11081 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11082 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11083
9505c3c7
SM
110842011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11087
1bbe96b2 110882011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11089
a1beca85
SM
11090 * progmodes/verilog-mode.el (verilog-pretty-expr):
11091 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11092 verilog, such as += *= and the like.
11093 (verilog-assignment-operator-re): Regular expression to find the
11094 assigment operator in a verilog assignment.
11095 (verilog-assignment-operation-re): Regular expression to find an
11096 assignment statement for pretty-expr.
11097 (verilog-in-attribute-p): Query returns true if point is in an
11098 attribute context; used to skip these for expression line up from
11099 pretty-expr.
11100 (verilog-in-parameter-p): Query returns true if point is in an
11101 parameter definition context; used to skip these for expression
11102 line up from pretty-expr.
11103 (verilog-in-parenthesis-p): Query returns true if point is in a
11104 parenthetical expression, specifically ( ) but not [ ] or { };
11105 used by pretty-expr.
11106 (verilog-just-one-space): If there is no space, don't add one.
11107 (verilog-get-lineup-indent-2): Specifically skip just attribute
11108 contexts for expression lineup, rather than skipping all
11109 parenthetical expressions.
11110 (verilog-calculate-indent): Fix comment, and fix indent.
11111 (verilog-do-indent): Indent declarations in lists (suggested by
11112 Joachim Lechner).
11113 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11114 skeleton items.
11115 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11116 by Alain Mellan).
11117
1bbe96b2 111182011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11119
11120 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11121 parameters with embedded comments. Reported by Ray Stevens.
11122 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11123 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11124 Reported by Tim Holt.
11125 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11126 instantiated by upper module causing wrong expansion until AUTOed a
11127 second time. Reported by K C Buckenmaier.
11128 (verilog-diff-auto): Fix showing .* as a difference when
11129 `verilog-auto-star-save' off. Reported by Dan Dever.
11130 (verilog-auto-reset, verilog-read-always-signals)
11131 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11132 temporary signals in reset list if
11133 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11134 style to each signal's assignment type, bug381.
11135 Reported by Thomas Esposito.
6288f0ca
WS
11136 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11137 (verilog-uvm-statement-re): Support UVM indentation and
11138 highlighting, with old OVM keywords only.
a1beca85 11139 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11140 Support AUTOTIEOFF creating non-wire data types.
11141 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11142 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11143 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11144 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11145 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11146 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11147 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11148 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11149 non-numeric vector width. Reported by Alex Reed.
11150 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11151 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11152 (verilog-auto-delete-trailing-whitespace):
11153 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11154 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11155 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11156 Fix verilog-scan-cache corruption when running user AUTO expansion
11157 hooks that call indentation routines.
11158 (verilog-simplify-range-expression): Fix typo ignoring lower case
11159 identifiers.
11160 (verilog-delete-auto): Fix delete-autos to also remove user created
11161 automatics, as long as they start with AUTO.
11162 (verilog-batch-diff-auto, verilog-diff-auto)
11163 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11164 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11165 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11166 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11167 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11168 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11169 is disabled and its cache will get corrupt, causing AUTOS not to
11170 expand. Instead use only -quick functions.
11171 (verilog-scan-region): Fix scanning over escaped quotes.
11172 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11173 (verilog-re-search-backward-quick)
11174 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11175 related functions now ignore strings, to fix misparsing of strings
11176 with magic comments embedded in them.
a1beca85
SM
11177 (verilog-read-auto-template):
11178 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11179 Reported by Brad Dobbie.
11180 (verilog-read-auto-template):
11181 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11182 Reported by Brad Dobbie.
6288f0ca
WS
11183 (verilog-auto-inst, verilog-auto-inst-param)
11184 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11185 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11186 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11187 debugging templates without merge conflicts, bug357.
11188 Reported by Brad Dobbie.
11189 (verilog-read-auto-template):
11190 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11191 Reported by Brad Dobbie.
11192 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11193 abbrevs so user won't be asked to save.
11194 (verilog-read-auto-lisp-present): Fix to start at beginning of
11195 buffer in case called outside of verilog-auto.
11196 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11197 to "X-2". Reported by Matthew Myers.
11198 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11199 all inputs from module templates. Reported by Leith Johnson.
11200 (verilog-module-inside-filename-p): Fix locating programs as with
11201 modules.
11202 (verilog-auto-inst-port): Fix vl-width expressions when using
11203 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11204 (verilog-decls-get-regs, verilog-decls-get-signals,
11205 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11206 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11207 verilog-read-decls): Combine reg and wire structures into one var
11208 structure to represent SystemVerilog concepts.
11209 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11210 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11211 (verilog-auto-wire-type, verilog-insert-definition):
11212 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11213 SystemVerilog "logic" keyword instead of "wire"/"reg".
11214 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11215 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11216 ifdef or generate if so there's not a driver conflict).
11217 Reported by Matthew Myers.
11218 (verilog-auto-declare-nettype, verilog-insert-definition):
11219 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11220 `default_nettype none. Reported by Julian Gorfajn.
11221 (verilog-read-always-signals-recurse, verilog-read-decls)
11222 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11223 malformed end statement, bug325. Reported by Joshua Wise and
11224 Andrew Drake.
11225 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11226 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11227 when expanding .* in interfaces, bug320.
11228 Reported by Pierre-David Pfister.
6288f0ca 11229 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11230 name and open parenthesis, bug317.
11231 Reported by Pierre-David Pfister.
6288f0ca
WS
11232 (verilog-simplify-range-expression): Fix simplification of
11233 multiplications inside AUTOWIRE connections, bug303.
11234 (verilog-auto-inst-port): Support parameter expansion in
11235 multidimensional arrays.
11236 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11237 after "assert property". Reported by Julian Gorfajn.
11238 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11239 with multiplication, bug303.
11240 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11241 Reported by Jan Frode Lonnum.
11242
1bbe96b2
GM
112432011-11-30 Juanma Barranquero <lekktu@gmail.com>
11244
11245 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11246 (hfy-shell-file-name, hfy-shell):
11247 * international/fontset.el (x-decompose-font-name): Fix typos.
11248
112492011-11-29 Ken Brown <kbrown@cornell.edu>
11250
11251 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11252 (gdb-version): Remove defvar.
11253 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11254 (gdb-gud-context-command, gdb-non-stop-handler)
11255 (gdb-current-context-command, gdb-stopped): Use it.
11256 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11257 (gdb-non-stop-handler): Don't enable pretty-printing here.
11258 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11259 non-stop mode. Use the following.
11260 (gdb-check-target-async): New defun.
11261 (gud-watch, gdb-stopped): Fix whitespace.
11262 (gdb-get-source-file): Don't try to display the source file if
11263 `gdb-main-file' is nil.
11264
112652011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * align.el: Try to generate fewer markers (bug#10047).
11268 (align--set-marker): New macro.
11269 (align-region): Use it.
11270
c935221f
SM
112712011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11272
11273 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11274
e70b5064
CY
112752011-11-29 Chong Yidong <cyd@gnu.org>
11276
11277 * indent.el (indent-for-tab-command, indent-according-to-mode):
11278 Doc fix.
11279 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11280
f3af92b7
MA
112812011-11-29 Michael Albinus <michael.albinus@gmx.de>
11282
11283 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11284 aware of remote file names. (Bug#10124)
11285
ed472be9
CY
112862011-11-29 Chong Yidong <cyd@gnu.org>
11287
11288 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11289
24510c22
SM
112902011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11291
11292 * files.el (find-file): Don't use force-same-window (bug#10144).
11293 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11294 use pop-to-buffer if the selected window can't be used.
11295 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11296
c60c3703
EZ
112972011-11-28 Eli Zaretskii <eliz@gnu.org>
11298
11299 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11300 special-mode-map.
11301
e95def75
CY
113022011-11-28 Chong Yidong <cyd@gnu.org>
11303
11304 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11305
c3f1c606
NR
113062011-11-27 Nick Roberts <nickrob@snap.net.nz>
11307
11308 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11309 gdb-get-source-file-list on gdb-create-source-file-list.
11310
00db469c
EZ
113112011-11-26 Eli Zaretskii <eliz@gnu.org>
11312
11313 * whitespace.el (whitespace-newline): Use a different foreground
11314 color for 16-color light-background displays.
11315
4ad3bc2a
CY
113162011-11-24 Chong Yidong <cyd@gnu.org>
11317
11318 * window.el (display-buffer--special-action): Doc fix.
11319
e9fce1ac
JB
113202011-11-25 Juanma Barranquero <lekktu@gmail.com>
11321
11322 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11323 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11324 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11325 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11326 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11327 (avl-tree-stack-first):
11328 * emacs-lisp/cconv.el (cconv--analyse-use):
11329 * net/gnutls.el (gnutls-negotiate): Fix typos.
11330
cb825e5d
GM
113312011-11-24 Glenn Morris <rgm@gnu.org>
11332
3adbe224
GM
11333 * lpr.el (lpr-windows-system, lpr-lp-system):
11334 * mail/binhex.el (binhex-begin-line):
11335 * progmodes/grep.el (grep-history, grep-find-history):
11336 * textmodes/flyspell.el:
11337 * vc/pcvs-defs.el (cvs-global-menu):
11338 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11339 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11340 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11341
321decc8
GM
11342 * net/tls.el: Fix case of "GnuTLS".
11343
420b63ad
GM
11344 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11345
cb825e5d
GM
11346 * version.el (emacs-build-system): Give it a doc-string.
11347
a0649f08
JL
113482011-11-24 Juri Linkov <juri@jurta.org>
11349
11350 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11351
c0bc0fd4
GM
113522011-11-24 Glenn Morris <rgm@gnu.org>
11353
11354 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11355 if called on a non-mime message just toggle the headers. (Bug#8006)
11356
20db1522
JB
113572011-11-24 Juanma Barranquero <lekktu@gmail.com>
11358
11359 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11360 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11361 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11362 (allout-rebullet-heading, allout-open-sibtopic)
11363 (allout-toggle-current-subtree-encryption)
11364 (allout-toggle-subtree-encryption, allout-encrypt-string)
11365 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11366 (allout-distinctive-bullets-string, allout-auto-activation):
11367 * window.el (window-normalize-buffer-to-display):
11368 * progmodes/verilog-mode.el (verilog-batch-indent):
11369 * textmodes/bibtex.el (bibtex-field-braces-opt)
11370 (bibtex-field-strings-opt):
11371 * vc/cvs-status.el (cvs-tree-merge):
11372 Fix typos.
11373
7262a87c
MA
113742011-11-23 Michael Albinus <michael.albinus@gmx.de>
11375
11376 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11377 `non-essential' to t, in order to avoid remote connections.
11378
283430a1
EZ
113792011-11-23 Eli Zaretskii <eliz@gnu.org>
11380
a1beca85
SM
11381 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11382 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11383 case-insensitively.
11384
d2992a38
ML
113852011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11386
11387 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11388
50419064
GM
113892011-11-23 Glenn Morris <rgm@gnu.org>
11390
da94eca1
GM
11391 * paths.el (rmail-file-name): Reformat the doc-string so that it
11392 is picked up.
11393
9aac4de2
GM
11394 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11395 (rmail-auto-file): Ignore case in the "special" field names,
11396 as mail-fetch-field does for all others.
11397
8038d2d2
GM
11398 * mail/rmail.el (rmail-forward):
11399 * mail/rmailkwd.el (rmail-set-label):
11400 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11401 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11402
f3fe222a
GM
11403 * mail/rmail.el (rmail-current-message): Doc fix.
11404
50419064
GM
11405 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11406
28109f49
SM
114072011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11408
11409 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11410
394c65f1
GM
114112011-11-22 Glenn Morris <rgm@gnu.org>
11412
11413 * mail/rmailmm.el (test-rmail-mime-handler)
11414 (test-rmail-mime-bulk-handler)
11415 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11416
f2a0aa3a
JL
114172011-11-21 Juri Linkov <juri@jurta.org>
11418
1154d12e
JB
11419 * calc/calc.el (calc-read-key-sequence):
11420 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11421
9c34a344
LMI
114222011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11423
11424 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11425 Tell the caller that the next line needs recomputation, even
11426 though it doesn't start a sexp (bug#10094).
11427
f04a3be9
SM
114282011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11429
11430 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11431
7978747f
SM
114322011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11433
f04a3be9
SM
11434 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11435 Use force-same-window.
7978747f 11436
fe7a3057
JB
114372011-11-20 Juanma Barranquero <lekktu@gmail.com>
11438
11439 * descr-text.el (describe-char-unicode-data):
11440 * json.el (json-string-escape):
11441 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11442 (Footnote-unicode, Footnote-style-p):
11443 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11444
24901d61
CY
114452011-11-20 Chong Yidong <cyd@gnu.org>
11446
11447 * window.el (replace-buffer-in-windows): Restore interactive spec.
11448
bac7ff22
SM
114492011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11450
24f3d7b9
SM
11451 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11452
bac7ff22
SM
11453 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11454 (byte-compile-global-not-obsolete-vars): New var.
11455 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11456 Use it.
11457 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11458
cd1181db
JB
114592011-11-20 Juanma Barranquero <lekktu@gmail.com>
11460
11461 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11462 * progmodes/pascal.el (electric-pascal-equal):
11463 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11464 * xml.el (xml-substitute-special): Fix typos.
11465
7fb18e9e
GM
114662011-11-20 Glenn Morris <rgm@gnu.org>
11467
11468 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11469 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11470 Doc fixes.
11471 (rmail-decode-mime-charset): Mark as obsolete.
11472
11473 * mail/rmailsum.el (rmail-message-regexp-p-1):
11474 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11475 Before using mime functions, check they are set. (Bug#10077)
11476
d5a6b3ba
JL
114772011-11-19 Juri Linkov <juri@jurta.org>
11478
11479 * info.el (Info-finder-find-node): Use `package--builtins' instead
11480 of `package-alist'. Use node names formed by the pattern "Keyword "
11481 and the keyword name.
11482
e981b61f
AS
114832011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11484
1d00653d 11485 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11486
3ffbc301
JL
114872011-11-19 Juri Linkov <juri@jurta.org>
11488
11489 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11490 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11491 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11492 `old-history', `old-history-forward'. Add let-binding
11493 `window-selected'. Remove calls to `kill-buffer',
11494 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11495 before calling `Info-find-node', so `Info-find-node-2' will reread
11496 the Info file. Restore window positions only when `window-selected'
11497 is non-nil.
11498
30c62133
JL
114992011-11-19 Juri Linkov <juri@jurta.org>
11500
11501 * isearch.el (isearch-lazy-highlight-new-loop):
11502 Remove condition `(not isearch-error)'. (Bug#9918)
11503
11504 * misearch.el (multi-isearch-search-fun): Add condition
11505 `(not bound)' to ignore lazy-highlighting search.
11506 Add the search-failed message "end of multi" when the end of
11507 multi-sequence is reached. Uncapitalize the search-failed
11508 message "Repeat for next buffer".
11509
11510 * info.el (Info-search): Add the search-failed message
11511 "end of the manual" when the end of the manual is reached
11512 in Isearch mode.
11513
645ca9cf
JL
115142011-11-19 Juri Linkov <juri@jurta.org>
11515
11516 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11517 Use non-destructive `remove' instead of `delete' because
11518 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11519 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11520
df754f66
JL
115212011-11-19 Juri Linkov <juri@jurta.org>
11522
11523 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11524 to nil instead of binding `search-ring' and `regexp-search-ring'.
11525 (Bug#9185)
11526
0e23d96a
EZ
115272011-11-19 Eli Zaretskii <eliz@gnu.org>
11528
11529 * simple.el (line-move): Force movement by logical lines for any
11530 hscrolled window, not only when auto-hscroll-mode is on.
11531 (line-move-visual): Update doc string to that effect. (Bug#10076)
11532
8a6ccb66
AS
115332011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11534
11535 * language/european.el (macintosh): Define as alias for mac-roman.
11536
49ae5b39
EZ
115372011-11-19 Eli Zaretskii <eliz@gnu.org>
11538
11539 * mail/rmailmm.el (rmail-mime-display-header)
11540 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11541 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11542 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11543 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11544 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11545 of a raw aref.
11546 (rmail-mime-entity-segment): To get past the tagline, move forward
11547 2 more lines, to account for the 2 empty lines that precede and
11548 follow the line with the buttons.
11549 (rmail-mime-update-tagline): Move one more line, to get past the
11550 empty line that follows the buttons in the tagline. (Bug#9520)
11551
c56cad4a
MR
115522011-11-19 Martin Rudalics <rudalics@gmx.at>
11553
11554 * window.el (window-max-delta-1, window-min-delta-1)
11555 (window-min-size-1, window-state-get-1, window-state-put-1)
11556 (window-state-put-2): Use "window--" prefix.
11557
cbe71af3
SM
115582011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11559
2ad52c60
SM
11560 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11561 (smie-warning-count): New var.
11562 (smie-set-prec2tab): Use it.
11563 (smie-bnf->prec2): Improve warnings. Add docstring.
11564 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11565 (smie-bnf--set-class): New function.
11566 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11567 corner case.
11568
6944dbc1
SM
11569 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11570 (compilation-error-properties, compilation-move-to-column):
11571 Handle compilation-first-column while in the target buffer.
11572
c400c4d7
SM
11573 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11574 Don't hardcode point-min==1.
11575
6dbe3e96
SM
11576 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11577 (eshell-rewrite-for-command): Remove workaround.
11578 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11579 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11580 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11581
cbe71af3
SM
11582 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11583
a8e1496d
GM
115842011-11-17 Glenn Morris <rgm@gnu.org>
11585
11586 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11587 Ignore buffer-local generated-autoload-file if it is the same
11588 as the global value. (Bug#10049)
11589
df85d315
JB
115902011-11-17 Juanma Barranquero <lekktu@gmail.com>
11591
11592 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11593 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11594 (reftex-toc-previous-heading, reftex-toc-max-level)
11595 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11596 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11597 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11598 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11599 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11600 (reftex-toc-rename-label, reftex-toc-visit-location)
11601 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11602 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11603 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11604 leaving "*toc*" only for references to the buffer.
11605
a0c2d0ae
MR
116062011-11-17 Martin Rudalics <rudalics@gmx.at>
11607
11608 * window.el (window-resize, delete-window, split-window):
11609 Replace window-splits by window-combination-resize.
1d00653d 11610 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11611
35c0bac8
GM
116122011-11-17 Glenn Morris <rgm@gnu.org>
11613
11614 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11615 Make bash entry derive from sh entry, not shell entry.
11616
d0c8fc8a
MA
116172011-11-16 Michael Albinus <michael.albinus@gmx.de>
11618
7262a87c
MA
11619 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11620 local file name.
11621
7877f373
JB
116222011-11-16 Juanma Barranquero <lekktu@gmail.com>
11623
11624 * menu-bar.el (menu-bar-file-menu):
11625 * printing.el (pr-ps-utility):
11626 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11627 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11628 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11629 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11630 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11631 (icalendar--convert-cyclic-to-ical)
11632 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11633 (icalendar--convert-ical-to-diary)
11634 (icalendar--convert-recurring-to-diary)
11635 (icalendar--convert-non-recurring-all-day-to-diary)
11636 (icalendar-import-format-sample):
11637 * progmodes/idlw-shell.el (idlwave-shell-mode):
11638 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11639 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11640 (vhdl-ps-print-init): Fix typos.
11641
10649b82
KM
116422011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11643
9d0cfcd6
GM
11644 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11645 FSF and collapse date sequence, obscure author/maintainer email address
11646 better, remove extra version line, track relocation of author's webpage.
10649b82 11647
9d0cfcd6
GM
11648 * progmodes/python.el (python-pdbtrack-input-prompt)
11649 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11650 regular python pdb prompts. Adjustments shamelessly taken exactly as
11651 suggested in EmacsWiki page (tiny change):
11652 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11653
58179cce
JB
116542011-11-16 Juanma Barranquero <lekktu@gmail.com>
11655
11656 * expand.el (expand-pos, expand-index, expand-point):
11657 Remove redundant info from docstring.
11658 (expand-add-abbrevs): Doc fix.
11659 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11660 (expand-sample-perl-mode-expand-list): Fix typos.
11661
11662 * net/dbus.el (dbus-event-member-name):
11663 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11664 * term/pc-win.el (msdos-create-frame-with-faces):
11665 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11666
b6f67890
MR
116672011-11-16 Martin Rudalics <rudalics@gmx.at>
11668
11669 * window.el (split-window, window-state-get-1)
11670 (window-state-put-1, window-state-put-2): Rename occurrences of
11671 window-nest to window-combination-limit.
1d00653d 11672 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11673
ce7ddba0
CY
116742011-11-16 Chong Yidong <cyd@gnu.org>
11675
11676 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11677 regexp (Bug#10033).
11678
3ae704f4
SM
116792011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11680
11681 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11682 `completing-read' will remove *Completions* and will preserve
11683 current-buffer for us.
11684 (tmm-add-prompt): Users of *Completions* will always (re)set its
11685 major mode.
11686 (tmm-old-comp-map): Remove.
11687
6ad1cdde
GM
116882011-11-16 Glenn Morris <rgm@gnu.org>
11689
11690 * mail/rmailedit.el: Require rmailmm when compiling.
11691 (rmail-old-mime-state): New declaration.
11692 (rmail-edit-current-message): If editing a mime message,
11693 edit the "raw" message from the mbox buffer.
11694 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11695
d20faa20
GM
116962011-11-15 Glenn Morris <rgm@gnu.org>
11697
11698 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11699 which wasn't being used. Add optional arg to force given state.
11700 (rmail-mime): Add optional arg to force given state.
11701
c7015153
JB
117022011-11-15 Juanma Barranquero <lekktu@gmail.com>
11703
11704 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11705 * frame.el (display-mm-dimensions-alist):
11706 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11707 (outline-move-subtree-down):
11708 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11709 (newsticker--treeview-do-get-node):
11710 * net/quickurl.el (quickurl-list-buffer-name):
11711 * progmodes/dcl-mode.el (dcl-mode):
11712 * progmodes/gdb-mi.el (gdb-mapcar*):
11713 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11714
45261b50
GM
117152011-11-15 Glenn Morris <rgm@gnu.org>
11716
11717 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11718 in a boolean sense, so just make it a boolean, and fix the doc.
11719 (rmail-show-mime-function, rmail-mime-feature)
11720 (rmail-require-mime-maybe): Doc fixes.
11721 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11722
11723 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11724
0d26e0b6
JB
117252011-11-15 Juanma Barranquero <lekktu@gmail.com>
11726
11727 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11728 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11729 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11730 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11731
447f30f6
GM
117322011-11-15 Glenn Morris <rgm@gnu.org>
11733
672b871d
GM
11734 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11735 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11736 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11737 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11738 (rmail-mime, rmail-show-mime): Doc fixes.
11739
f6aa5bb1
GM
11740 * term/ns-win.el (mode-line-frame-identification):
11741 Leave it alone. (Bug#10051)
11742
947cd66b
GM
11743 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11744
447f30f6
GM
11745 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11746 Handle empty buffers. (Bug#9978)
11747
0b381c7e
JB
117482011-11-14 Juanma Barranquero <lekktu@gmail.com>
11749
11750 * international/mule.el (define-charset):
11751 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11752 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11753 * progmodes/verilog-mode.el (verilog-backward-token):
11754 * textmodes/ispell.el (lookup-words):
11755 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11756
71e027ac
GM
117572011-11-14 Glenn Morris <rgm@gnu.org>
11758
56632ce4
GM
11759 * progmodes/executable.el
11760 (executable-make-buffer-file-executable-if-script-p):
11761 Handle file-modes returning nil.
11762
40500957
GM
11763 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11764 message - not necessary, and causes problems. (Bug#9831)
11765
071c2340
GM
11766 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11767
d3cfca60
GM
11768 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11769
71e027ac
GM
11770 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11771 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11772 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11773
89d61221
MR
117742011-11-12 Martin Rudalics <rudalics@gmx.at>
11775
11776 * window.el (window-resize, delete-window): Use window-splits
11777 variable instead of function.
11778 (window-state-get-1, window-state-put-2, window-state-put):
11779 Don't deal with windows' splits status.
11780
98282f6f
GM
117812011-11-12 Glenn Morris <rgm@gnu.org>
11782
11783 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11784 (apropos-documentation): Doc fixes.
11785
40a8bdf6
JB
117862011-11-11 Juanma Barranquero <lekktu@gmail.com>
11787
11788 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11789 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11790
65bd19ff
SM
117912011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11792
11793 * electric.el (electric-indent-post-self-insert-function): Make it
11794 possible for a char to only indent in some circumstances.
11795 (electric-indent-mode): Simplify.
11796
54f9154c
MR
117972011-11-11 Martin Rudalics <rudalics@gmx.at>
11798
11799 * window.el (windows-with-parameter): Remove unused function.
11800 (windows-at-side): Rename to window-at-side-list.
11801 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11802 (window-side-check, window-size-ignore, window-size-fixed-1)
11803 (window-in-direction-2): Prefix with "window--".
11804 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11805
68cbc58b
GM
118062011-11-11 Glenn Morris <rgm@gnu.org>
11807
11808 * subr.el (eval-after-load): If FILE is already loaded,
11809 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11810
b2621720
GM
118112011-11-10 Glenn Morris <rgm@gnu.org>
11812
9a4de110
GM
11813 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11814 Call svn via vc-svn-command rather than vc-do-command.
11815 (vc-svn-command): Add --non-interactive. (Bug#9993)
11816 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11817
b2621720
GM
11818 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11819 Add toggle-read-only. (Bug#7292)
11820 * files.el (toggle-read-only): Mention that it should only
11821 be used interactively. (Bug#10006)
11822
1dce7193
SM
118232011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11824
d9ac1a1e
SM
11825 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11826 Adjust regexp for OCaml warnings.
11827
0c325082
SM
11828 * electric.el (electric-pair-post-self-insert-function): Let user
11829 turn it off buffer-locally (bug#9932).
11830
90132c14
SM
11831 * progmodes/python.el (python-beginning-of-statement):
11832 Rewrite (bug#2703).
11833
1dce7193
SM
11834 * progmodes/compile.el: Better handle TABs (bug#9749).
11835 (compilation-internal-error-properties)
11836 (compilation-next-error-function): Obey the target buffer's
11837 compilation-error-screen-columns.
11838
c4e7c63a
JB
118392011-11-09 Juanma Barranquero <lekktu@gmail.com>
11840
11841 * progmodes/meta-mode.el: Remove obsolete comments.
11842 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11843 Fix typos in docstrings.
11844
2cffd681
MR
118452011-11-09 Martin Rudalics <rudalics@gmx.at>
11846
11847 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11848 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11849 (window--resizable): New function. Make all callers of
11850 window-resizable call window--resizable instead.
11851 (window-resizable): Rewrite in terms of window--resizable.
11852
0edcba87
GM
118532011-11-08 Glenn Morris <rgm@gnu.org>
11854
11855 * progmodes/delphi.el (delphi-mode-syntax-table):
11856 Let define-derived-mode define a proper syntax table. (Bug#9994)
11857
4b0d61e3
SM
118582011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11859
11860 * window.el: Stay away from defsubst.
11861 (window-list-no-nils): Remove.
11862 (window-state-get-1, window-state-get): Use backquote instead.
11863
cd394be1 118642011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11865
4b0d61e3 11866 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11867 Fix incorrect use of default argument in `completing-read'.
11868
e1c2c6f2
MR
118692011-11-08 Martin Rudalics <rudalics@gmx.at>
11870
11871 * window.el (display-buffer-function, special-display-function):
11872 Mention display-buffer-record-window but do not mention
11873 help-setup parameter in doc-strings.
b3f4a882 11874 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11875
105216ed
CY
118762011-11-08 Chong Yidong <cyd@gnu.org>
11877
11878 * window.el (window-total-height, window-total-width): Doc fix.
11879 (window-body-size): Move from C.
11880 (window-body-height, window-body-width): Move to C.
11881
0a9f9ab5
SM
118822011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11883
11884 * window.el: Make special-display like display-buffer-alist (bug#9532).
11885 (display-buffer--special-action): New function, morphed
11886 from display-buffer--special.
11887 (display-buffer): Use it to handle special-display-buffers at higher
11888 priority (just after display-buffer-alist).
11889 (display-buffer-fallback-action, display-buffer--other-frame-action)
11890 (pop-to-buffer-same-window): Remove display-buffer--special.
11891
a769dd15
GM
118922011-11-07 Glenn Morris <rgm@gnu.org>
11893
11894 * calendar/cal-menu.el (cal-menu-set-date-title):
11895 Do nothing if not in a calendar. (Bug#9976)
11896
05a61ee3
SM
118972011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11898
11899 * files.el (find-file): Always use selected-window.
11900
be7f5545
MR
119012011-11-07 Martin Rudalics <rudalics@gmx.at>
11902
11903 * window.el (window-combinations): Make WINDOW argument
11904 mandatory. Rewrite doc-string.
11905 (walk-window-subtree, window-atom-check, window-min-delta)
11906 (window-max-delta, window--resize-this-window)
11907 (window--resize-root-window-vertically, window-tree)
11908 (balance-windows, window-state-put): Rewrite doc-strings as to
11909 not mention the term "subwindow".
11910 (window--resize-subwindows-skip-p): Rename to
11911 window--resize-child-windows-skip-p.
11912 (window--resize-subwindows-normal): Rename to
11913 window--resize-child-windows-normal.
11914 (window--resize-subwindows): Rename to
11915 window--resize-child-windows.
11916 (window-or-subwindow-p): Rename to window--in-subtree-p.
11917
3c6702ef
ML
119182011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11919
11920 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11921 Ensure that mbox format messages end in two newlines (Bug#9974).
11922
49745b39
CY
119232011-11-06 Chong Yidong <cyd@gnu.org>
11924
11925 * window.el (window-combination-p): Function deleted; its
11926 side-effect is not used in any existing code.
11927 (window-combinations, window-combined-p): Call window-*-child
11928 directly.
11929
24300f5f
CY
119302011-11-05 Chong Yidong <cyd@gnu.org>
11931
11932 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11933 (window-size-ignore, window-state-get): Callers changed.
11934 (window-normalize-window): Rename from window-normalize-any-window.
11935 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11936 (window-normalize-live-window): Delete.
447f16b8
CY
11937 (window-combination-p, window-combined-p, window-combinations)
11938 (walk-window-subtree, window-atom-root, window-min-size)
11939 (window-sizable, window-sizable-p, window-size-fixed-p)
11940 (window-min-delta, window-max-delta, window-resizable)
11941 (window-resizable-p, window-full-height-p, window-full-width-p)
11942 (window-current-scroll-bars, window-point-1, set-window-point-1)
11943 (window-at-side-p, window-in-direction, window-resize)
11944 (adjust-window-trailing-edge, maximize-window, minimize-window)
11945 (window-deletable-p, delete-window, delete-other-windows)
11946 (record-window-buffer, unrecord-window-buffer)
11947 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11948 (quit-window, split-window, window-state-put)
11949 (set-window-text-height, fit-window-to-buffer)
11950 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11951
89bd5ee1
EZ
119522011-11-04 Eli Zaretskii <eliz@gnu.org>
11953
53479029
EZ
11954 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11955 rfc2047-decode-string.
11956 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11957 warnings.
11958
89bd5ee1
EZ
11959 * window.el (window-body-height, window-body-width): Mention in
11960 the doc string that the return values are in frame's canonical
11961 units. (Bug#9949)
11962
bd17fdee
AM
119632011-11-03 Alan Mackenzie <acm@muc.de>
11964
11965 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11966 change in cc-engine.el.
11967
acc825c5
SM
119682011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11969
11970 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11971
1885e5b8
MR
119722011-11-02 Martin Rudalics <rudalics@gmx.at>
11973
11974 * window.el (quit-window): Call unrecord-window-buffer after
11975 showing another buffer in the window. (Bug#9937)
acc825c5 11976 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11977
ebe06da9
JB
119782011-11-02 Juanma Barranquero <lekktu@gmail.com>
11979
11980 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11981 Accept status with more than 9 shelves. (Bug#9935)
11982 Reported by Colin D Bennett <colin@gibibit.com>.
11983
4ee88440
MR
119842011-11-01 Martin Rudalics <rudalics@gmx.at>
11985
11986 * help.el (with-help-window): Don't reference
11987 temp-buffer-show-specifiers in doc-string.
11988
08e1d82c
AS
119892011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11990
11991 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11992 menu-item.
11993
84bd6e9e
VJL
119942011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11995
11996 * whitespace.el: New version 13.2.2.
11997 (whitespace-newline-mode): Disable properly. Reported by Sarah
11998 <EmacsWiki>.
11999
dba0634a
UJ
120002011-10-30 Ulf Jasper <ulf.jasper@web.de>
12001
12002 * net/newst-treeview.el: Remove "Time-stamp".
12003 (newsticker--group-manage-orphan-feeds): Do not call
12004 newsticker--treeview-tree-update.
db22a3c2
JB
12005 (newsticker-treeview-update, newsticker-treeview):
12006 Call newsticker--treeview-tree-update if necessary.
dba0634a 12007
3d8daefe
MR
120082011-10-30 Martin Rudalics <rudalics@gmx.at>
12009
12010 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12011 (window-iso-combinations): Remove "iso-" infix.
12012 Suggested by Chong Yidong.
3d8daefe
MR
12013 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12014 (window-max-delta-1, window-resize, window--resize-siblings)
12015 (window--resize-this-window, adjust-window-trailing-edge)
12016 (split-window, balance-windows-1)
12017 (shrink-window-if-larger-than-buffer):
12018 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12019 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12020
1bc4c3ae
SM
120212011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12022
12023 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12024 in place (bug#9907).
12025 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12026 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12027 (eshell-structure-basic-command, eshell-rewrite-while-command)
12028 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12029 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12030 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12031 (eshell-do-pipelines-synchronously, eshell-eval-command):
12032 Use backquotes and prefer setq to set.
12033 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12034 (eshell-macrop): Use functionp.
c1e2f5fa 12035 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12036
30b65d9c
CY
120372011-10-30 Chong Yidong <cyd@gnu.org>
12038
12039 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12040 instead of set-mark (Bug#9810).
12041
2d197ffb
CY
120422011-10-30 Chong Yidong <cyd@gnu.org>
12043
12044 * window.el (split-window-below, split-window-right): Rename from
12045 split-window-above-each-other and split-window-side-by-side
12046 respectively. All callers changed.
12047 (split-window-sensibly, split-window-sensibly): Use them.
12048 (split-window-keep-point): Doc fix.
12049
12050 * isearch.el: Add isearch-scroll property to split-window-below
12051 and split-window-right.
12052
12053 * follow.el (follow-mode):
12054 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12055 * progmodes/ada-xref.el (ada-gdb-application):
12056 * emulation/vip.el (vip-buffer-in-two-windows):
12057 * image-dired.el (image-dired-dired-with-window-configuration):
12058 * dired-x.el (dired-do-find-marked-files):
12059 * dired.el (dired-pop-to-buffer):
12060 * bs.el (bs--show-with-configuration):
12061 * vc/emerge.el (emerge-setup-windows):
12062 * textmodes/two-column.el (2C-two-columns):
12063 * textmodes/reftex-toc.el (reftex-toc):
12064 * progmodes/gdb-mi.el (gdb-setup-windows):
12065 * progmodes/fortran.el (fortran-window-create):
12066 * net/newst-treeview.el (newsticker--treeview-window-init):
12067 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12068 * emulation/tpu-edt.el (tpu-gold-map):
12069 * emulation/crisp.el (crisp-mode-map):
12070 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12071
38bb2ca8
CY
120722011-10-29 Chong Yidong <cyd@gnu.org>
12073
aa4de341
CY
12074 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12075
e1eb5385
CY
12076 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12077
5d2ece3c
CY
12078 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12079 forged Ispell output (Bug#7904).
12080
38bb2ca8
CY
12081 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12082
d0af9f77
SM
120832011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12084
12085 * doc-view.el: Avoid ugly errors about not finding nil.
12086 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12087 (doc-view-dvipdf-program, doc-view-unoconv-program)
12088 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12089 Avoid nil or absolute file name as default value.
12090 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12091
52bedd34
AM
120922011-10-28 Alan Mackenzie <acm@muc.de>
12093
db22a3c2 12094 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12095
7e43cfa5
AM
120962011-10-28 Alan Mackenzie <acm@muc.de>
12097
12098 Amend the handling of c-beginning/end-of-defun in nested declaration
12099 scopes.
12100
52bedd34
AM
12101 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12102 cc-langs.el. Change it to a defcustom.
7e43cfa5 12103
52bedd34
AM
12104 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12105 cc-vars.el.
7e43cfa5 12106
d0af9f77
SM
12107 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12108 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12109
52bedd34 12110 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12111 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12112 (c-widen-to-enclosing-decl-scope): New function.
12113 (c-while-widening-to-decl-block): New macro.
12114 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12115 outward for defun boundaries, and correspondingly change symbol
12116 `respect-enclosure' to `go-outward'.
12117 (c-declaration-limits): Change algorithm to report only the "innermost"
12118 defun's boundaries.
12119
1a2ce9ee
DD
121202011-10-28 Deniz Dogan <deniz@dogan.se>
12121
12122 * net/rcirc.el (rcirc-mode): Use hard newlines.
12123
bc97a826
AM
121242011-10-28 Alan Mackenzie <acm@muc.de>
12125
12126 Amend to indent and fontify macros "which include their own semicolon"
12127 correctly, using the "virtual semicolon" mechanism.
12128
52bedd34 12129 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12130
d0af9f77 12131 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12132 Recode to scan one line at a time rather than having \n and \r
58179cce 12133 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12134 (c-forward-label): Amend for virtual semicolons.
58179cce 12135 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12136
52bedd34
AM
12137 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12138 of the new C macros.
bc97a826 12139
52bedd34 12140 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12141 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12142 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12143 (c-opt-cpp-macro-define): Make into a full language variable.
12144 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12145 AWK Mode (including \n, \r) removed, no longer needed.
12146
d0af9f77
SM
12147 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12148 Invoke c-make-macro-with-semi-re.
bc97a826 12149
52bedd34
AM
12150 * progmodes/cc-vars.el (c-macro-with-semi-re):
12151 (c-macro-names-with-semicolon): New variables.
58179cce 12152 (c-make-macro-with-semi-re): New function.
bc97a826 12153
7a6c0941
SM
121542011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12155
12156 * vc/log-edit.el: Fill empty field rather than adding new one.
12157 (log-edit-add-field): New function.
12158 (log-edit-insert-changelog): Use it.
12159
b0c4cdcf
ML
121602011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12161
12162 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12163
ee1f1da9
SM
121642011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12165
12166 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12167 (gdb--check-interpreter): New function.
12168 (gdb): Use it.
12169
51bc5f8b
GM
121702011-10-27 Glenn Morris <rgm@gnu.org>
12171
416a2c45
GM
12172 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12173 (least-positive-float, least-negative-float)
12174 (least-positive-normalized-float, least-negative-normalized-float)
12175 (float-epsilon, float-negative-epsilon):
12176 Remove unnecessary declarations.
12177
12178 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12179 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12180 (least-positive-float, least-negative-float)
12181 (least-positive-normalized-float, least-negative-normalized-float)
12182 (float-epsilon, float-negative-epsilon): Add doc-strings,
12183 based on those in cl.texi.
12184
51bc5f8b
GM
12185 * files.el (set-visited-file-name): If the major-mode changed,
12186 reload the local variables. (Bug#9796)
12187
15de15c6
CY
121882011-10-27 Chong Yidong <cyd@gnu.org>
12189
12190 * subr.el (change-major-mode-after-body-hook): New hook.
12191 (run-mode-hooks): Run it.
12192
ee1f1da9
SM
12193 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12194 Use change-major-mode-before-body-hook.
15de15c6
CY
12195
12196 * simple.el (fundamental-mode):
12197 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12198 change introducing fundamental-mode-hook.
12199
5430d399
JB
122002011-10-26 Juanma Barranquero <lekktu@gmail.com>
12201
acc825c5 12202 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12203
ad74a69e
MA
122042011-10-26 Michael Albinus <michael.albinus@gmx.de>
12205
12206 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12207 tramp.el explicitly. (Bug#7583)
ad74a69e 12208
71d4c2a5
SM
122092011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12210
12211 * progmodes/octave-mod.el:
12212 * progmodes/octave-inf.el: Update maintainer.
12213
b1f6fa26
CY
122142011-10-26 Chong Yidong <cyd@gnu.org>
12215
12216 * subr.el (with-wrapper-hook): Rewrite doc.
12217
3f04efd6
MA
122182011-10-25 Michael Albinus <michael.albinus@gmx.de>
12219
12220 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12221 filenames "/method:foo:". (Bug#9793)
3f04efd6 12222
410488d3
SM
122232011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12224
12225 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12226 (bug#9865).
12227
c1ebb47e
GM
122282011-10-24 Glenn Morris <rgm@gnu.org>
12229
12230 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12231
7f5c46c7
MA
122322011-10-24 Michael Albinus <michael.albinus@gmx.de>
12233
12234 * notifications.el: Add the requirement of a running D-Bus session
12235 bus to the Commentary.
12236
db2440b6
JL
122372011-10-24 Juri Linkov <juri@jurta.org>
12238
12239 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12240 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12241 (Bug#9364)
12242
feecf435
JL
122432011-10-24 Juri Linkov <juri@jurta.org>
12244
12245 * info.el (Info-following-node-name-re): Add newline to the list
12246 of allowed characters for leading space. (Bug#9824)
12247
a3839de2
SM
122482011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12249
acc825c5
SM
12250 * progmodes/octave-inf.el (inferior-octave-mode-map):
12251 Fix C-c C-h binding.
a3839de2
SM
12252 * progmodes/octave-mod.el (octave-help): Remove.
12253
09388e76
MA
122542011-10-23 Michael Albinus <michael.albinus@gmx.de>
12255
12256 Sync with Tramp 2.2.3.
12257
12258 * net/tramp-cache.el (top): Pacify byte-compiler using
12259 `init-file-user' and `site-run-file'.
12260
12261 * net/trampver.el: Update release number.
12262
86c60681
CY
122632011-10-23 Chong Yidong <cyd@gnu.org>
12264
12265 * files.el (toggle-read-only): Remove obsolete comment about
12266 version control.
12267
12268 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12269 for toggle-read-only. Note that this hasn't called vc-next-action
12270 since 2008-05-02, though it wasn't documented at the time.
12271
a3839de2
SM
12272 * vc/ediff-init.el (ediff-toggle-read-only-function):
12273 Use toggle-read-only.
86c60681 12274
cd5495ff
AM
122752011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12276
12277 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12278 of c-parse-state.
12279
00b77525 12280 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12281 correct faulty logical expression.
cd5495ff
AM
12282 (c-parse-state-state, c-record-parse-state-state):
12283 (c-replay-parse-state-state): New defvar/defuns.
12284 (c-debug-parse-state): Use new functions.
12285
42ee24ed
MR
122862011-10-22 Martin Rudalics <rudalics@gmx.at>
12287
12288 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12289 last fix. Use window-in-direction correctly.
42ee24ed 12290
a7dee7e7
CY
122912011-10-21 Chong Yidong <cyd@gnu.org>
12292
12293 * progmodes/idlwave.el (idlwave-mode):
12294 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12295 require-final-newline; that's done in prog-mode.
12296 Suggested by Stefan Monnier.
a7dee7e7 12297
e07b9a6d
MR
122982011-10-21 Martin Rudalics <rudalics@gmx.at>
12299
12300 * mouse.el (mouse-drag-window-above)
12301 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12302 (mouse-drag-mode-line-1, mouse-drag-header-line)
12303 (mouse-drag-vertical-line-rightward-window): Remove.
12304 (mouse-drag-line): New function.
12305 (mouse-drag-mode-line, mouse-drag-header-line)
12306 (mouse-drag-vertical-line): Call mouse-drag-line.
12307 * window.el (window-at-side-p, windows-at-side): New functions.
12308
7e1361d9
UM
123092011-10-21 Ulrich Mueller <ulm@gentoo.org>
12310
12311 * tar-mode.el (tar-grind-file-mode):
12312 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12313
30fcaf3a
CY
123142011-10-21 Chong Yidong <cyd@gnu.org>
12315
12316 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12317 * progmodes/vera-mode.el (vera-mode):
12318 Use mode-require-final-newline.
30fcaf3a 12319
516eddb0
GM
123202011-10-20 Glenn Morris <rgm@gnu.org>
12321
db22a3c2 12322 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12323
10d5f513
CS
123242011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12325
12326 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12327
ac6c8639
CY
123282011-10-20 Chong Yidong <cyd@gnu.org>
12329
12330 * emulation/cua-base.el (cua-mode):
12331 * mail/footnote.el (footnote-mode):
12332 * mail/mailabbrev.el (mail-abbrevs-mode):
12333 * net/xesam.el (xesam-minor-mode):
12334 * progmodes/bug-reference.el (bug-reference-mode):
12335 * progmodes/cap-words.el (capitalized-words-mode):
12336 * progmodes/compile.el (compilation-minor-mode)
12337 (compilation-shell-minor-mode):
12338 * progmodes/gud.el (gud-tooltip-mode):
12339 * progmodes/hideif.el (hide-ifdef-mode):
12340 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12341 * progmodes/subword.el (subword-mode):
12342 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12343 * progmodes/which-func.el (which-function-mode):
12344 * term/tvi970.el (tvi970-set-keypad-mode):
12345 * term/vt100.el (vt100-wide-mode):
12346 * textmodes/flyspell.el (flyspell-mode):
12347 * textmodes/ispell.el (ispell-minor-mode):
12348 * textmodes/nroff-mode.el (nroff-electric-mode):
12349 * textmodes/paragraphs.el (use-hard-newlines):
12350 * textmodes/refill.el (refill-mode):
12351 * textmodes/reftex.el (reftex-mode):
12352 * textmodes/rst.el (rst-minor-mode):
12353 * textmodes/sgml-mode.el (html-autoview-mode)
12354 (sgml-electric-tag-pair-mode):
12355 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12356 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12357 * emulation/crisp.el (crisp-mode):
12358 * emacs-lisp/eldoc.el (eldoc-mode):
12359 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12360 minor mode behavior.
12361
aa42ab43
JL
123622011-10-19 Juri Linkov <juri@jurta.org>
12363
12364 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12365 the list of hard-coded chars with escape-glyph face.
12366
89400f1d
SM
123672011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12368
12369 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12370
305c07f6
MA
123712011-10-19 Michael Albinus <michael.albinus@gmx.de>
12372
12373 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12374 running process.
12375
13754b54
GM
123762011-10-19 Glenn Morris <rgm@gnu.org>
12377
12378 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12379 Ignore ignored files. (Bug#9726)
12380
06e21633
CY
123812011-10-19 Chong Yidong <cyd@gnu.org>
12382
12383 Doc fix for minor modes, stating that an omitted argument enables
12384 the mode unconditionally when called from Lisp.
12385
12386 * abbrev.el (abbrev-mode):
12387 * allout.el (allout-mode):
12388 * autoinsert.el (auto-insert-mode):
12389 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12390 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12391 (global-auto-revert-mode):
12392 * battery.el (display-battery-mode):
12393 * composite.el (global-auto-composition-mode)
12394 (auto-composition-mode):
12395 * delsel.el (delete-selection-mode):
12396 * desktop.el (desktop-save-mode):
12397 * dired-x.el (dired-omit-mode):
12398 * dirtrack.el (dirtrack-mode):
12399 * doc-view.el (doc-view-minor-mode):
12400 * double.el (double-mode):
12401 * electric.el (electric-indent-mode, electric-pair-mode):
12402 * emacs-lock.el (emacs-lock-mode):
12403 * epa-hook.el (auto-encryption-mode):
12404 * follow.el (follow-mode):
12405 * font-core.el (font-lock-mode):
12406 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12407 * help.el (temp-buffer-resize-mode):
12408 * hilit-chg.el (highlight-changes-mode)
12409 (highlight-changes-visible-mode):
12410 * hi-lock.el (hi-lock-mode):
12411 * hl-line.el (hl-line-mode, global-hl-line-mode):
12412 * icomplete.el (icomplete-mode):
12413 * ido.el (ido-everywhere):
12414 * image-file.el (auto-image-file-mode):
12415 * image-mode.el (image-minor-mode):
12416 * iswitchb.el (iswitchb-mode):
12417 * jka-cmpr-hook.el (auto-compression-mode):
12418 * linum.el (linum-mode):
12419 * longlines.el (longlines-mode):
12420 * master.el (master-mode):
12421 * mb-depth.el (minibuffer-depth-indicate-mode):
12422 * menu-bar.el (menu-bar-mode):
12423 * minibuf-eldef.el (minibuffer-electric-default-mode):
12424 * mouse-sel.el (mouse-sel-mode):
12425 * msb.el (msb-mode):
12426 * mwheel.el (mouse-wheel-mode):
12427 * outline.el (outline-minor-mode):
12428 * paren.el (show-paren-mode):
12429 * recentf.el (recentf-mode):
12430 * reveal.el (reveal-mode, global-reveal-mode):
12431 * rfn-eshadow.el (file-name-shadow-mode):
12432 * ruler-mode.el (ruler-mode):
12433 * savehist.el (savehist-mode):
12434 * scroll-all.el (scroll-all-mode):
12435 * scroll-bar.el (scroll-bar-mode):
12436 * server.el (server-mode):
12437 * shell.el (shell-dirtrack-mode):
12438 * simple.el (auto-fill-mode, transient-mark-mode)
12439 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12440 (line-number-mode, column-number-mode, size-indication-mode)
12441 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12442 * strokes.el (strokes-mode):
12443 * time.el (display-time-mode):
12444 * t-mouse.el (gpm-mouse-mode):
12445 * tool-bar.el (tool-bar-mode):
12446 * tooltip.el (tooltip-mode):
12447 * type-break.el (type-break-mode-line-message-mode)
12448 (type-break-query-mode):
12449 * view.el (view-mode):
12450 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12451 (global-whitespace-mode, global-whitespace-newline-mode):
12452 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12453
a3839de2
SM
12454 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12455 Fix autogenerated docstring.
06e21633 12456
5214e501
JL
124572011-10-19 Juri Linkov <juri@jurta.org>
12458
12459 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12460 by checking environment variables "DESKTOP_SESSION" and
12461 "XDG_CURRENT_DESKTOP". (Bug#9779)
12462
195f8db9
JL
124632011-10-19 Juri Linkov <juri@jurta.org>
12464
12465 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12466 (browse-url-chromium-program, browse-url-chromium-arguments):
12467 New defcustoms.
12468 (browse-url-default-browser): Check for `browse-url-chromium' and
12469 call `browse-url-chromium-program'.
12470 (browse-url-chromium): New command. (Bug#9779)
12471
343a34ff
JB
124722011-10-18 Juanma Barranquero <lekktu@gmail.com>
12473
12474 * facemenu.el (list-colors-duplicates): On Windows, detect more
12475 duplicates by assuming that only colors matching "^System" are
12476 special "system colors". (Bug#9722)
12477
6978a151
SM
124782011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12479
12480 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12481 to distinguish the author from the committer.
12482
6a80b297
MA
124832011-10-18 Michael Albinus <michael.albinus@gmx.de>
12484
12485 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12486
b31a5677
JK
124872011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12488
12489 * international/mule.el (sgml-html-meta-auto-coding-function):
12490 Add support for detecting encoding in HTML5 specified only as
12491 <meta charset="UTF-8">. Implementation just makes http-equiv and
12492 content-type parts from HTML4 encoding string optional. (Bug#9716)
12493
80c6d77f
GM
124942011-10-18 Glenn Morris <rgm@gnu.org>
12495
12496 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12497
08b0fee8
CY
124982011-10-18 Chong Yidong <cyd@gnu.org>
12499
12500 * faces.el (cursor): Doc fix.
12501
67e729a5
CY
125022011-10-17 Chong Yidong <cyd@gnu.org>
12503
12504 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12505
343a34ff 125062011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12507
12508 * dirtrack.el (dirtrack): Support shell buffers with path
12509 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12510
0bc06380
TZ
125112011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12512
12513 * json.el: Bump version to 1.3 and note change in History.
12514 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12515
8b79f3e0
SM
125162011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12517
5a7c536b
SM
12518 * comint.el (comint-insert-input, comint-send-input)
12519 (comint-get-old-input-default, comint-backward-matching-input)
12520 (comint-next-prompt): Use nil instead of `input' for field property of
12521 past user input (bug#114).
12522
96a8a0df
SM
12523 * minibuffer.el (completion--replace): Inherit surrounding properties
12524 (bug#114).
12525 (minibuffer-complete-and-exit): Use it.
12526
8b79f3e0
SM
12527 * comint.el (comint--table-subvert): Quote the all-completions output
12528 (bug#9160).
12529
b8f7ff0d
MR
125302011-10-17 Martin Rudalics <rudalics@gmx.at>
12531
8b79f3e0 12532 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12533
b8f7ff0d 12534 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12535 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12536 entries and separate them from frame entries.
12537
c235b555
GM
125382011-10-15 Glenn Morris <rgm@gnu.org>
12539
12540 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12541 Doc fixes.
12542
6bbfa6e1
CY
125432011-10-15 Chong Yidong <cyd@stupidchicken.com>
12544
8b79f3e0
SM
12545 * net/network-stream.el (network-stream-open-starttls):
12546 Improve detection of failure due to lack of TLS support.
ec5c990d 12547
6bbfa6e1
CY
12548 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12549 putting the input text in front and in bold.
12550
98488977
SM
125512011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12552
3d1337be
SM
12553 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12554
ee0b45e4
SM
12555 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12556 empty buffer.
12557
98488977
SM
12558 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12559 unread-command-events rather than pushing yet-another event.
12560
186f4720
EZ
125612011-10-14 Eli Zaretskii <eliz@gnu.org>
12562
12563 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12564 the explanation of the possible choices. Make the options passed
12565 to completing-read shorter.
12566
8b7a997c
AM
125672011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12568
12569 * textmodes/flyspell.el (flyspell-large-region): Make sure
12570 extended character mode is used if defined (Bug#1339).
12571
12587bbb
EZ
125722011-10-13 Eli Zaretskii <eliz@gnu.org>
12573
12574 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12575 character info for LRE, LRO, RLE, and RLO characters by appending
12576 an invisible PDF.
12587bbb 12577
bad41229
SM
125782011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12579
12580 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12581 even in case of error; add debug spec; simplify data flow.
12582 (with-timeout-handler): Remove.
12583
28dbc92f
MA
125842011-10-12 Michael Albinus <michael.albinus@gmx.de>
12585
12586 Fix Bug#6019, Bug#9315.
12587
12588 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12589 complete `buffer-file-name', the local file name part could look
12590 remotely (for example on VMS).
12591
12592 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12593 `tramp-run-real-handler'.
12594 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12595 already quoted by '"'.
12596
12597 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12598 Let `file-name-handler-alist' be nil, the local file name part
12599 could look remotely (for example on VMS).
12600
e1b0b23a
SM
126012011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12602
12603 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12604 from here...
12605 (flyspell-post-command-hook): ...to here.
12606
a120bde9
SM
126072011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12608
12609 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12610 if not needed.
12611 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12612 using completion. Protect against "slow" callers.
12613 Remove the "message hack".
12614
7ce7717b
JL
126152011-10-11 Juri Linkov <juri@jurta.org>
12616
12617 * isearch.el (isearch-lazy-highlight-word): New variable.
12618 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12619 Use it. (Bug#9727)
12620
c02ee9d6
GM
126212011-10-11 Glenn Morris <rgm@gnu.org>
12622
12623 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12624 like f90-previous-statement does.
12625
93e616fd 126262011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12627
1f190e73 12628 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12629 only in interactive use, to avoid error.
12630
af7b6078
SM
126312011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12632
12633 * minibuffer.el (completion-file-name-table): Fix last change,
12634 i.e. ignore normal errors but not the other ones.
12635
0563dae9
MR
126362011-10-10 Martin Rudalics <rudalics@gmx.at>
12637
12638 * window.el (special-display-buffer-names)
12639 (special-display-regexps): Remove some remnants of earlier
12640 changes from doc-strings.
366ca7f3
MR
12641 (quit-windows-on): New function.
12642
12643 * vc/vc.el (vc-revert, vc-rollback):
12644 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12645 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12646 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12647
49677495
MR
126482011-10-09 Martin Rudalics <rudalics@gmx.at>
12649
12650 * window.el (frame-auto-hide-function): Add version tag.
12651 (Bug#9699)
12652
56f2d1e1
MA
126532011-10-09 Michael Albinus <michael.albinus@gmx.de>
12654
12655 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12656 condition.
12657
112a6592
LL
126582011-10-09 Leo Liu <sdl.web@gmail.com>
12659
12660 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12661 (Bug#9701)
12662
0812589b
GM
126632011-10-08 Glenn Morris <rgm@gnu.org>
12664
12665 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12666 before the first code statement zero indent. (Bug#9690)
12667
b2b0776e
CY
126682011-10-08 Chong Yidong <cyd@stupidchicken.com>
12669
12670 * simple.el (count-words-region): Always count in the region.
12671 Report the number of lines and characters too.
12672 (count-words): New command, which counts in the buffer if the
12673 region is inactive, as count-words-region used to.
12674 (count-words--message): New function. Handle plurals.
12675 (count-lines-region): Make it an alias for count-words-region.
12676
12677 * bindings.el (esc-map): Replace count-lines-region with
12678 count-words-region.
12679
c557cd6b
MR
126802011-10-08 Martin Rudalics <rudalics@gmx.at>
12681
12682 * window.el (window--delete): Delete dedicated frame
12683 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12684 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12685
61a57ef4 126862011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12687
3a7d293b 12688 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12689
c3833279
CY
126902011-10-07 Chong Yidong <cyd@stupidchicken.com>
12691
12692 * bindings.el ([M-left],[M-right]): Bind to left-word and
12693 right-word respectively.
12694
21ce8245
GM
126952011-10-07 Glenn Morris <rgm@gnu.org>
12696
12697 * cus-start.el (debug-on-quit): Fix custom type.
12698
6d823bb2
LMI
126992011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12700
0181e193
LMI
12701 * subr.el (define-key-after): Clarify that the function is not
12702 useful for non-menu keymaps.
12703
6d823bb2
LMI
12704 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12705
8e3459ce 127062011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12707
21ce8245 12708 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12709 in current minibuffer (Fix bug with recursive minibuffers).
12710
a1c2d21e
CY
127112011-10-06 Chong Yidong <cyd@stupidchicken.com>
12712
12713 * progmodes/gdb-mi.el (gdb): Doc fix.
12714
5a4cf282
MR
127152011-10-05 Martin Rudalics <rudalics@gmx.at>
12716
12717 * window.el (frame-auto-hide-function): New option replacing
12718 frame-auto-delete. Suggested by Stefan Monnier.
12719 (window--delete): Call frame-auto-hide-function instead of
12720 investigating frame-auto-delete.
c96111ea
MR
12721 (window-point-1, set-window-point-1): New functions.
12722 (window-in-direction, record-window-buffer, window-state-get-1)
12723 (display-buffer-record-window): Use window-point-1 instead of
12724 window-point.
12725 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12726
9854542e
SM
127272011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12728
12729 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12730
8943cfb0
GM
127312011-10-05 Glenn Morris <rgm@gnu.org>
12732
12733 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12734 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12735
647ab967
LL
127362011-10-05 Leo Liu <sdl.web@gmail.com>
12737
12738 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12739 works with buffer object.
12740
3ddfbced
SM
127412011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12742
12743 * mpc.el (mpc-tool-bar-map): Add labels.
12744
bdfa5dd2
GM
127452011-10-04 Glenn Morris <rgm@gnu.org>
12746
12747 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12748
0e2070b5
MR
127492011-10-04 Martin Rudalics <rudalics@gmx.at>
12750
12751 * window.el (window--delete): New function.
12752 (frame-auto-delete): Resuscitate option.
12753 (bury-buffer, replace-buffer-in-windows)
12754 (quit-window): Rewrite using window--delete.
12755 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12756 Pass display-buffer-mark-dedicated to window--display-buffer-2
12757 (Bug#9639).
12758
3dc61a09
SM
127592011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12760
915a9b64
SM
12761 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12762 returns a list (bug#9554). Add remote file name completion.
12763 * comint.el (comint--table-subvert): Curry and get quote&unquote
12764 functions as arguments.
12765 (comint--complete-file-name-data): Adjust call accordingly.
12766 * pcomplete.el (pcomplete--table-subvert): Remove.
12767 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12768
3dc61a09
SM
12769 * minibuffer.el (completion-table-case-fold): Use currying.
12770 (completion--styles-type, completion--cycling-threshold-type):
12771 New constants.
12772 (completion-styles, completion-category-overrides)
12773 (completion-cycle-threshold): Use them.
12774 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12775 completion-table-case-fold.
12776
8ea0a993
SB
127772011-10-03 Stephen Berman <stephen.berman@gmx.net>
12778
12779 * minibuffer.el (completion-category-overrides): Fix type of styles
12780 and add more user friendly tags (bug#9660).
12781
8c24b7f6
SM
127822011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12783
12784 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12785 (mule-input-method-string): New widget.
12786 (default-input-method, language-info-custom-alist): Use it.
12787
428fe61a
SM
127882011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12789
32c1fffd
SM
12790 * pcomplete.el: Require comint.
12791 (pcomplete--common-suffix): Remove.
12792 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12793 (pcomplete--table-subvert): Sync with comint--table-subvert.
12794 (pcomplete--entries): Use comint-completion-file-name-table.
12795 * comint.el (comint-unquote-filename): Simplify.
12796 (comint-completion-file-name-table): New function (bug#9616).
12797 (comint--complete-file-name-data): Use it.
12798
428fe61a
SM
12799 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12800 (pcmpl-gnu-tar-buffer): Remove.
12801 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12802 around. Make sure pcomplete-suffix-list is only changed temporarily.
12803 Don't look inside the tar's file if it's too large.
428fe61a 12804
04c52e2f
CY
128052011-10-01 Chong Yidong <cyd@stupidchicken.com>
12806
ce3cefcc
CY
12807 * cus-edit.el (custom-mode-map):
12808 * epa.el (epa-key-list-mode-map):
12809 * man.el (Man-mode-map):
12810 * startup.el (splash-screen-keymap):
12811 * simple.el (special-mode-map): Use scroll-up-command and
12812 scroll-down-command.
12813
12814 * progmodes/idlw-help.el (idlwave-help-mode-map):
12815 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12816 * net/newst-plainview.el (newsticker-mode-map):
12817 * emulation/ws-mode.el (wordstar-mode-map):
12818 * emulation/vi.el (vi-com-map):
12819 * calc/calc-graph.el (calc-graph-show-dumb):
12820 * term/sun.el (terminal-init-sun):
12821 * term/ns-win.el (global-map):
12822 * progmodes/grep.el (grep-mode-map):
12823 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12824 * mail/rmail.el (rmail-mode-map):
12825 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12826
04c52e2f
CY
12827 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12828 custom-safe-themes as special.
12829
79adf8c8
JD
128302011-10-01 Julien Danjou <julien@danjou.info>
12831
12832 * notifications.el (notifications-notify): Fix docstring.
12833
63bd50d3
PS
128342011-10-01 Per Starbäck <per@starback.se>
12835
12836 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12837
199e4c7e
MR
128382011-09-30 Martin Rudalics <rudalics@gmx.at>
12839
12840 * startup.el (command-line-1): Fix last fix by inserting
12841 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12842 (Bug#9605) and (Bug#9636)
199e4c7e 12843
fe5f08dd
EZ
128442011-09-29 Eli Zaretskii <eliz@gnu.org>
12845
12846 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12847 window is hscrolled, move by logical lines. (Bug#9607)
12848 (line-move-visual): Update the doc string to the above effect.
12849
b5516bbd
MR
128502011-09-29 Martin Rudalics <rudalics@gmx.at>
12851
ccee00c0
MR
12852 * window.el (display-buffer-record-window): When WINDOW is the
12853 selected window use `point' instead of `window-point'. (Bug#9626)
12854
b5516bbd
MR
12855 * startup.el (command-line-1): Use insert-before-markers when
12856 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12857
b5516bbd
MR
12858 * help.el (help-window): Remove variable.
12859
52aa0014
GM
128602011-09-29 Glenn Morris <rgm@gnu.org>
12861
12862 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12863
df9a7357
JB
128642011-09-29 Juanma Barranquero <lekktu@gmail.com>
12865
12866 * descr-text.el (describe-char-categories): Accept category
12867 descriptions more than one line long.
12868
a8406c20
SM
128692011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12870
88d9610c
SM
12871 * simple.el (delete-trailing-whitespace): Fix last change.
12872
a5daf810
SM
12873 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12874 Don't confuse "y => 3" as the beginning of a `y' operation.
12875
a8406c20
SM
12876 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12877 object has more than 4 slots (bug#9613).
12878
a239d4e9
JB
128792011-09-28 Juanma Barranquero <lekktu@gmail.com>
12880
12881 * subr.el (with-output-to-temp-buffer):
12882 * net/quickurl.el (quickurl, quickurl-browse-url):
12883 Fix typos in docstrings.
12884
693fbdb6
EZ
128852011-09-27 Eli Zaretskii <eliz@gnu.org>
12886
12887 * minibuffer.el (completion-styles)
12888 (completion-category-overrides): Cross reference each other in doc
12889 strings.
12890
8b457e28
GM
128912011-09-27 Glenn Morris <rgm@gnu.org>
12892
12893 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12894 to split-string. (Bug#9606)
12895
85a16208
LMI
128962011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12897
12898 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12899 (bug#9615).
12900
502f9ebd
CY
129012011-09-27 Chong Yidong <cyd@stupidchicken.com>
12902
12903 * emacs-lisp/package.el (list-packages): Fix echo area message.
12904
7690bdea
LL
129052011-09-27 Leo Liu <sdl.web@gmail.com>
12906
12907 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12908
e2ee6f30
MA
129092011-09-25 Michael Albinus <michael.albinus@gmx.de>
12910
12911 * net/dbus.el (dbus-unregister-object): Don't release services for
12912 registered signals. (Bug#9581)
12913
f3f98342
TZ
129142011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12915
12916 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12917 function that picks between cfengine 2 and 3 support
12918 automatically. Update docs accordingly.
12919
dd7aa8dd
KH
129202011-09-22 Kenichi Handa <handa@m17n.org>
12921
12922 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12923 ZERO.
12924 (indian-itrans-v5-table-for-tamil): New variable.
12925 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12926
3f2b07f8
KM
129272011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12928
12929 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12930 that's true if the current command involved collapsing of text.
12931 It's reset to false at the beginning of the next command.
12932 (allout-post-command-business): Move the cursor to the beginning
12933 of entry if the cursor is hidden and collapsing activity just
12934 happened.
12935
371d6a61
CY
129362011-09-24 Chong Yidong <cyd@stupidchicken.com>
12937
12938 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12939 tracking (Bug#9541).
12940
2ac2721a
UJ
129412011-09-24 Ulf Jasper <ulf.jasper@web.de>
12942
12943 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12944 (newsticker-show-news): Automatically load html rendering package
12945 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12946 because w3m-fill-column is let-bound" and the error "Symbol's value
12947 as variable is void: w3m-fill-column".
2ac2721a 12948
fac7ae53
MA
129492011-09-24 Michael Albinus <michael.albinus@gmx.de>
12950
12951 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12952 Release services only if they are defined. (Bug#9581)
12953
e08b633b
RS
129542011-09-23 Richard Stallman <rms@gnu.org>
12955
e488d29c
RS
12956 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12957 distinguish start of paragraph from start of its text.
12958
19c38752
RS
12959 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12960
e08b633b
RS
12961 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12962 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12963 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12964
0a39f27e
AS
129652011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12966
12967 * international/mule-diag.el (mule-diag): Insert a newline after
12968 each fontset description.
12969
db4e950d
SM
129702011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12971
12972 * simple.el (delete-trailing-whitespace):
12973 Document last change; simplify.
12974
eca3f3ea
PW
129752011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12976
d68e189a
PW
12977 * simple.el (delete-trailing-whitespace): Also delete
12978 extra newlines at the end of the buffer.
12979
eca3f3ea
PW
12980 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12981 (picture-newline): Use forward-line so as to ignore fields.
12982
01c157cc
SM
129832011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12984
12985 * subr.el (with-wrapper-hook): Fix edebug spec.
12986
022de23e
LMI
129872011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12988
12989 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12990 (bug#4538).
12991
91683089
MA
129922011-09-23 Michael Albinus <michael.albinus@gmx.de>
12993
eca3f3ea
PW
12994 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12995 Fix nasty bug using wrong cached values.
91683089 12996
5bdd6fa4
AM
129972011-09-23 Alan Mackenzie <acm@muc.de>
12998
12999 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13000
97adfb97
CY
130012011-09-23 Chong Yidong <cyd@stupidchicken.com>
13002
13003 * window.el (pop-to-buffer): Ensure right window is selected if we
13004 chose another frame.
13005
d4ef2b50
EZ
130062011-09-22 Eli Zaretskii <eliz@gnu.org>
13007
13008 * simple.el (what-cursor-position): Use get-char-property-change
13009 and next-single-char-property-change, to be able to show display
13010 properties that come from overlays as well as text properties.
13011
72258fe5
CY
130122011-09-22 Chong Yidong <cyd@stupidchicken.com>
13013
13014 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13015
13016 * cmuscheme.el (run-scheme, switch-to-scheme):
13017 * cus-edit.el (customize-group, custom-buffer-create)
13018 (customize-browse):
13019 * info.el (info):
13020 * shell.el (shell):
13021 * mail/sendmail.el (mail):
13022 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13023
8f098516
RS
130242011-09-22 Richard Stallman <rms@gnu.org>
13025
13026 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13027 move back only to line beg, don't move back over blank lines.
13028
e74f1bb6
MA
130292011-09-22 Michael Albinus <michael.albinus@gmx.de>
13030
13031 * files.el (copy-directory): Set directory attributes only in case
13032 they could be retrieved from the source directory. (Bug#9565)
13033
bfeef8b6
DK
130342011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13035
13036 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13037 (hs-find-block-beginning, hs-hide-level-recursive):
13038 Ignore strings as well as comments. (Bug#9502)
13039
7e423bb8
AS
130402011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13041
13042 * progmodes/sql.el (sql-comint-postgres):
13043 Convert port number to a string. (Bug#9566)
13044
b4d72fcf
MR
130452011-09-22 Martin Rudalics <rudalics@gmx.at>
13046
13047 * window.el (quit-window): Undedicate window when switching to
13048 previous buffer. Reported by Thierry Volpiatto
13049 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13050 (special-display-popup-frame): When popping up a new frame reset
13051 its previous buffers to nil. Simplify code.
b4d72fcf 13052
a7b88dc6
MA
130532011-09-21 Michael Albinus <michael.albinus@gmx.de>
13054
13055 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13056 and process filter, as done also in `shell-command'.
13057
cf4eacfd
MR
130582011-09-21 Martin Rudalics <rudalics@gmx.at>
13059
eca3f3ea 13060 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13061 Call set-window-start with NOFORCE argument t.
13062 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13063 (quit-window): Reword doc-string. Handle new format of
13064 quit-restore parameter. Don't delete window if it has a
13065 previous buffer we can show instead of the present one.
13066 (display-buffer-record-window): Rewrite using a new format for
13067 the quit-restore window parameter
13068 (special-display-popup-frame, display-buffer-same-window)
13069 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13070 (display-buffer-pop-up-window, display-buffer-use-some-window):
13071 Adapt symbol passed to display-buffer-record-window.
13072 * help.el (help-window-setup): Handle new format of quit-restore
13073 parameter.
13074
8d28cb95
SM
130752011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13076
94ab793f
SM
13077 * faces.el (face-list): Fix docstring (bug#9564).
13078
8d28cb95
SM
13079 * window.el (display-buffer--action-function-custom-type):
13080 Don't include internal functions in the Custom interface.
13081
3820edeb
JL
130822011-09-20 Juri Linkov <juri@jurta.org>
13083
13084 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13085 (Info-forward-node, Info-backward-node, Info-next-preorder)
13086 (Info-last-preorder): Use it. (Bug#9528)
13087
5147931d
JL
130882011-09-20 Juri Linkov <juri@jurta.org>
13089
13090 * info.el (Info-last-preorder): Visit last menu item only when
13091 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13092
cf499a1a
JD
130932011-09-20 Julien Danjou <julien@danjou.info>
13094
13095 * password-cache.el (password-cache-remove): Remove entries even if the
13096 value is nil, so that password with a nil value (negative caching) is
13097 possible to invalidate.
13098
f84e2fe2
LM
130992011-09-20 Lawrence Mitchell <wence@gmx.li>
13100
13101 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13102 all whitespace around breakpoint. (Bug#9553)
13103 (f90-find-breakpoint): Only break at whitespace inside a comment.
13104
78054a46
SM
131052011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13106
13107 * minibuffer.el (completion-file-name-table): Keep track of errors.
13108 (completion-table-with-predicate): Handle the case where pred1 is nil.
13109 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13110
345083b2
SM
131112011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13112
e24e27be
SM
13113 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13114 (debugger-return-value): Signal an error if the debugging context does
13115 not await any return value.
13116
345083b2
SM
13117 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13118 * image-mode.el (image-toggle-display-text)
13119 (image-toggle-display-image): Stay away from evil `intangible'.
13120
08d355e3
LL
131212011-09-19 Leo Liu <sdl.web@gmail.com>
13122
13123 * replace.el (occur-revert-arguments): Make it permanent-local.
13124 (occur-mode): Don't call font-lock-defontify.
13125
f01da43f
CY
131262011-09-19 Chong Yidong <cyd@stupidchicken.com>
13127
13128 * net/ldap.el (ldap-search-internal): Don't push empty search
13129 result (Bug#9508).
13130
b6072fa6
SM
131312011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13132
13133 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13134
443d6696
MA
131352011-09-19 Michael Albinus <michael.albinus@gmx.de>
13136
13137 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13138 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13139
7cc6e154
JL
131402011-09-18 Juri Linkov <juri@jurta.org>
13141
13142 * buff-menu.el (Buffer-menu-mode-map):
13143 * dired.el (dired-mode-map):
13144 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13145 (lisp-interaction-mode-map):
13146 * emacs-lisp/package.el (package-menu-mode-map):
13147 * epa.el (epa-key-list-mode-map):
13148 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13149 (menu-bar-options-menu):
13150 * outline.el (outline-mode-menu-bar-map):
13151 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13152 * vc/vc-dir.el (vc-dir-menu-map):
13153 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13154 Capitalize non-function content words in menu item strings.
13155
13156 * dired.el (dired-mode-map): Add menu item for
13157 `image-dired-dired-toggle-marked-thumbs'.
13158
80302a81
JL
131592011-09-18 Juri Linkov <juri@jurta.org>
13160
13161 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13162 to `isearch-case-fold-search' and restore its original value
13163 after the `isearch-mode' call.
13164
46c5cf66
JL
131652011-09-18 Juri Linkov <juri@jurta.org>
13166
13167 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13168 because `zgrep' returns 1 for successful matches (bug#9226).
13169
d18b513b
JL
131702011-09-18 Juri Linkov <juri@jurta.org>
13171
13172 * info.el (Info-extract-menu-node-name): Check the second match
13173 for empty string (second test-case of bug#9528).
13174 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13175 intermediate nodes to the history (first test-case of bug#9528).
13176
72753f87
JL
131772011-09-18 Juri Linkov <juri@jurta.org>
13178
13179 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13180 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13181
c9384295
JL
131822011-09-18 Juri Linkov <juri@jurta.org>
13183
1154d12e
JB
13184 * info.el (Info-file-supports-index-cookies):
13185 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13186 outputs one more line for long file names (bug#4142).
c9384295 13187
d473dce8
CY
131882011-09-18 Chong Yidong <cyd@stupidchicken.com>
13189
13190 * newcomment.el (comment-normalize-vars): If prompting for
13191 comment-start, set comment-start-skip too (Bug#8424).
13192
2176854d
JB
131932011-09-18 Johan Bockgård <bojohan@gnu.org>
13194
13195 * icomplete.el: Fix previous fix of Bug#5849.
13196 (icomplete-mode): Don't set completion-show-inline-help.
13197 (icomplete-minibuffer-setup): Set completion-show-inline-help
13198 locally during icompletion.
13199
3aace4e4
CY
132002011-09-18 Chong Yidong <cyd@stupidchicken.com>
13201
c940224f
CY
13202 * woman.el (woman2-process-escapes): Don't delete unrecognized
13203 escapes (Bug#7843).
13204
3aace4e4
CY
13205 * files.el (inhibit-first-line-modes-regexps): Add image files.
13206 (hack-local-variables-prop-line): Return nil for malformed
13207 prop-lines (Bug#9044).
13208
710dec63
MA
132092011-09-18 Michael Albinus <michael.albinus@gmx.de>
13210
13211 * net/tramp.el (top): Don't require 'shell.
13212 (tramp-methods): Fix docstring.
13213 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13214 Return complete remote file name. Handle "smb" case.
13215 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13216 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13217
13218 * net/tramp-compat.el (top): Require 'shell.
13219
13220 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13221 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13222 `tramp-current-host'.
13223 (tramp-get-remote-tmpdir): Remove.
13224
13225 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13226 `tramp-tmpdir' entries.
13227 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13228 (tramp-smb-handle-file-attributes): Ignore errors.
13229 (tramp-smb-wait-for-output): Check also for process end.
13230
5d5ac8ec
LMI
132312011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13232
13233 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13234 when sending QUIT (bug#9312).
13235
8c0f49f0
CY
132362011-09-17 Chong Yidong <cyd@stupidchicken.com>
13237
13238 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13239 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13240 occur-mode-display-occurrence.
13241 (occur-edit-mode): Add usage message.
13242 (occur-cease-edit): New command.
13243 (occur-after-change-function): Use text properties to find the
13244 position of the prefix text.
13245 (occur-engine): Set stickiness of prefix text properties.
13246
8f1383f7
GM
132472011-09-17 Glenn Morris <rgm@gnu.org>
13248
13249 * progmodes/etags.el (complete-tag):
13250 Fix call to completion-in-region. (Bug#9526)
13251
744ba0e3
JL
132522011-09-17 Juri Linkov <juri@jurta.org>
13253
13254 * textmodes/ispell.el (ispell-word): Add to the error message
13255 the word, ispell program name and current dictionary (bug#9121).
13256 (ispell-tex-arg-end): Capitalize "error" in the error message.
13257
d9bbf400
AS
132582011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13259
13260 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13261 check. (Bug#4251)
13262
8da11505
JL
132632011-09-17 Juri Linkov <juri@jurta.org>
13264
13265 * window.el (window-safe-min-height, window-safe-min-width):
13266 Fix typos (followup to bug#9522).
13267
a91adc7e
SJ
132682011-09-17 Sven Joachim <svenjoac@gmx.de>
13269
13270 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13271
064f328a
EZ
132722011-09-16 Eli Zaretskii <eliz@gnu.org>
13273
13274 * simple.el (line-move): If goal-column is set, move by logical
13275 lines, not by display lines. (Bug#971)
13276 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13277 to reflect the above change.
13278
e69df516
SM
132792011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13280
13281 * image.el (imagemagick-register-types): Use regexp-opt.
13282
cbb0f9ab
CY
132832011-09-15 Chong Yidong <cyd@stupidchicken.com>
13284
13285 * window.el (display-buffer-base-action): Rename from
13286 display-buffer-default-action. Make default value empty.
13287 (display-buffer-overriding-action): Convert to defvar.
13288 (display-buffer-fallback-action): New var.
13289
25322144
CY
132902011-09-15 Chong Yidong <cyd@stupidchicken.com>
13291
13292 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13293 declaration.
13294 (package--add-to-archive-contents): If there is a duplicate entry
13295 with an older version, remove it.
13296 (package-menu-mark-delete, package-menu-mark-install)
13297 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13298 (package-menu-mark-obsolete-for-deletion):
13299 Use package-menu-get-status instead of a regexp search.
25322144
CY
13300 (package-menu-get-status): Use tabulated-list-entry.
13301 (package-menu-mark-upgrades): New command.
d770725a 13302 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13303 (package-menu-execute): Do installation before deletion.
13304 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13305 instead of checking major-mode.
13306 (package-menu--find-upgrades): New function.
13307
7520339c
LMI
133082011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13309
13310 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13311 passwords in the log buffer.
65a046c4
LMI
13312 (smtpmail-process-filter): Update the process marker so that the
13313 "broken by peer" status message is inserted in the right place.
7520339c 13314
d3c30954
SM
133152011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13316
3fe48822
SM
13317 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13318 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13319 bibtex-completion-at-point-function.
13320 (bibtex-completion-at-point-function): Use them.
13321
1b8b3954
SM
13322 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13323
d3c30954
SM
13324 * mpc.el (mpc-constraints-tag-lookup): New function.
13325 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13326 also to browser "album|playlist".
13327
72779976
JL
133282011-09-14 Juri Linkov <juri@jurta.org>
13329
13330 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13331 (isearch-edit-string): Use length of `isearch-string' when
13332 `isearch-fail-pos' returns nil.
13333 (isearch-message): Remove duplicate code and call
13334 `isearch-fail-pos' with arg `t'.
13335
a0bf2bcd
CY
133362011-09-14 Chong Yidong <cyd@stupidchicken.com>
13337
17bb0a2d
CY
13338 * replace.el (occur-mode-goto-occurrence): Don't force using other
13339 window (Bug#9499).
13340
a0bf2bcd
CY
13341 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13342
f678e0b6
MR
133432011-09-14 Martin Rudalics <rudalics@gmx.at>
13344
13345 * window.el (display-buffer-window): Remove.
13346 (display-buffer-record-window): Use help-setup window parameter
13347 instead of variable display-buffer-window.
13348 (display-buffer-function, special-display-buffer-names)
13349 (special-display-function): Mention help-setup parameter instead
13350 of display-buffer-window in doc-string.
d3c30954
SM
13351 * help.el (help-window-setup): New argument help-window.
13352 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13353 Reword some messages.
13354 (with-help-window): Pass window used for displaying the buffer
13355 to help-window-setup. Don't set display-buffer-window.
13356
8e39b2e8
GM
133572011-09-13 Glenn Morris <rgm@gnu.org>
13358
13359 * emacs-lisp/debug.el (debugger-make-xrefs):
13360 Preserve point. (Bug#9462)
13361
85e9c04b
CY
133622011-09-13 Chong Yidong <cyd@stupidchicken.com>
13363
13364 * window.el (window-deletable-p): Use next-frame.
13365
1b36ed6a
MR
133662011-09-13 Martin Rudalics <rudalics@gmx.at>
13367
13368 * window.el (window-auto-delete): Remove.
13369 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13370 dedication and previous buffers.
1b36ed6a
MR
13371 (switch-to-prev-buffer): Don't delete window.
13372 (delete-windows-on): Delete a window's frame if and only if the
13373 window is dedicated.
13374 (replace-buffer-in-windows): Delete buffer's window or frame if
13375 and only if window is dedicated.
13376 (quit-window): Handle quit-restore as before last change.
4d61f28d 13377 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13378
ef8ef9fb
CY
133792011-09-13 Chong Yidong <cyd@stupidchicken.com>
13380
13381 * window.el (window-deletable-p): Never delete the last frame on a
13382 given terminal.
13383
b2cba41e
GM
133842011-09-13 Glenn Morris <rgm@gnu.org>
13385
13386 * help.el (describe-key-briefly): Copy previous standard-output change.
13387
51553db6 133882011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13389
13390 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13391
b7556719
GM
133922011-09-13 Glenn Morris <rgm@gnu.org>
13393
13394 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13395 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13396
64b51947
CY
133972011-09-12 Chong Yidong <cyd@stupidchicken.com>
13398
13399 * dired-aux.el (dired-mark-read-string): Don't return default
13400 value on empty input (Bug#9361).
13401 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13402 Omit initial minibuffer contents.
13403 (dired-do-chmod): Signal an error on empty input.
13404 (dired-mark-read-string): Don't return default on empty input.
13405
13406 * files.el (file-modes-symbolic-to-number): Doc fix.
13407
393a301e
SM
134082011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13409
13410 * international/mule-cmds.el (ucs-completions): Remove.
13411 (read-char-by-name): Use complete-with-action instead; add metadata.
13412
fa5660f9
CY
134132011-09-11 Chong Yidong <cyd@stupidchicken.com>
13414
13415 * window.el (display-buffer--action-function-custom-type)
13416 (display-buffer--action-custom-type): New vars.
13417 (display-buffer-alist, display-buffer-default-action)
13418 (display-buffer-overriding-action): Add defcustom types.
13419
4a592f66
CY
13420 * frame.el (delete-other-frames): Doc fix (Bug#276).
13421
73d56dbd
LMI
134222011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13423
13424 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13425
37ac18a3
CY
134262011-09-11 Chong Yidong <cyd@stupidchicken.com>
13427
13428 Change modes that used same-window-* vars to use switch-to-buffer.
13429
13430 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13431 Use switch-to-buffer.
13432
13433 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13434 (customize-browse, custom-buffer-create-other-window):
13435 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13436
13437 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13438 (Info-prev, Info-up, Info-speedbar-goto-node)
13439 (info-display-manual): Use switch-to-buffer.
13440 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13441
13442 * mail/sendmail.el (mail): Use switch-to-buffer.
13443 (mail-recover): Use switch-to-buffer-other-window.
13444
13445 * cmuscheme.el (run-scheme, switch-to-scheme):
13446 * ielm.el (ielm):
13447 * shell.el (shell):
13448 * net/rlogin.el (rlogin):
13449 * net/telnet.el (telnet, rsh):
13450 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13451
10195bd6
AS
134522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13453
13454 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13455
b322f63a
LMI
134562011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13457
39d7fed6
LMI
13458 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13459 so don't mention it (bug#9301).
ba5a81f1 13460 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13461
ee0e9f11
LMI
13462 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13463 match `x', `w32' and `ns', like the manual says (bug#9029).
13464
0b1c89c1 13465 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13466 (process-kill-buffer-query-function): Mention the buffer name in
13467 the query.
0b1c89c1 13468
77549ea8
LMI
13469 * image-mode.el (image-next-line): The line parameter is mandatory
13470 (bug#9258).
13471
803ef892
LMI
13472 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13473 which can be useful (bug#9301).
13474
12980837
LMI
13475 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13476
91054f8f
LMI
13477 * subr.el (match-string): Mention that the current buffer should
13478 be the same as the search was done in (bug#9282).
13479
b322f63a
LMI
13480 * facemenu.el: Disable the remove-* commands if the mark isn't
13481 active (bug#9162).
13482
3199b96f
CY
134832011-09-10 Chong Yidong <cyd@stupidchicken.com>
13484
13485 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13486 of display-buffer.
13487 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13488
13489 * replace.el (occur-mode-goto-occurrence)
13490 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13491 and display-buffer.
13492
13493 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13494 display-buffer.
13495
13496 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13497 special-display and same-window variables.
13498 (mail-other-window): Use switch-to-buffer-other-window.
13499 (mail-other-frame): USe switch-to-buffer-other-frame.
13500
393a301e
SM
13501 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13502 Use display-buffer-other-frame.
3199b96f
CY
13503 (gdb-display-gdb-buffer): Use pop-to-buffer.
13504
13505 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13506
13507 * progmodes/python.el: Don't set same-window-buffer-names.
13508
13509 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13510
13511 * window.el (display-buffer-alist): Add *Python*.
13512
8319e0bf
CY
135132011-09-10 Chong Yidong <cyd@stupidchicken.com>
13514
13515 * window.el (display-buffer-alist): Add entry for buffers
13516 previously handled same-window-*.
13517 (display-buffer-alist, display-buffer-default-action)
13518 (display-buffer-overriding-action): Mark as risky.
13519 (display-buffer-alist): Document action function changes.
13520 (display-buffer--same-window-action)
13521 (display-buffer--other-frame-action): New variables.
13522 (switch-to-buffer, display-buffer-other-frame): Use them.
13523 (display-buffer): Rename reuse-frame entry to reusable-frames.
13524 (display-buffer-reuse-selected-window): Function deleted.
13525 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13526 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13527 (display-buffer-special): New function.
13528 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13529 display-buffer-reuse-or-pop-window. Split off special-display
13530 part into display-buffer-special.
13531 (display-buffer-use-some-window): Don't perform any special
13532 pop-up-frames handling.
13533 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13534 (display-buffer--maybe-same-window): Rename from
0d3ff375 13535 display-buffer-maybe-same-window.
8319e0bf 13536
919a69aa
CY
13537 * info.el: Don't set same-window-regexps.
13538 (info-setup): New function.
13539 (info-other-window, info): Call it.
13540
13541 * cus-edit.el: Don't set same-window-regexps.
13542 (customize-group): New argument.
13543 (customize-group-other-window): Use it.
13544 (customize-face, customize-face-other-window): Likewise.
13545 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13546
8319e0bf
CY
13547 * net/rlogin.el:
13548 * net/telnet.el:
13549 * progmodes/gud.el: Don't set same-window-regexps.
13550
13551 * cmuscheme.el:
13552 * ielm.el:
13553 * shell.el:
13554 * mail/sendmail.el:
13555 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13556
25173000
JL
135572011-09-10 Juri Linkov <juri@jurta.org>
13558
13559 * isearch.el (isearch-edit-string): Remove obsolete mention of
13560 `C-w' (`isearch-yank-word-or-char') from docstring.
13561 (isearch-query-replace): Fix typo in docstring (bug#9466).
13562
056e44ef
JL
135632011-09-10 Juri Linkov <juri@jurta.org>
13564
13565 * paren.el (show-paren-function): Don't show escaped parens.
13566 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13567
c3760c17
EZ
135682011-09-10 Eli Zaretskii <eliz@gnu.org>
13569
13570 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13571 (mm-default-file-encoding): Remove autoload forms, they are
13572 replaced with autoload cookies in mml.el and mm-encode.el.
13573 (mail-add-attachment): New command.
13574 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13575 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13576 the doc string.
13577 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13578
fece895e
RT
135792011-09-10 Reuben Thomas <rrt@sc3d.org>
13580
e69df516
SM
13581 * simple.el (count-words-region): Use buffer if there's no region
13582 (bug#9429).
fece895e 13583
5e68ce4a
JL
135842011-09-09 Juri Linkov <juri@jurta.org>
13585
13586 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13587 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13588 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13589
0a6b9622
AM
135902011-09-09 Alan Mackenzie <acm@muc.de>
13591
13592 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13593 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13594
14a29deb
EZ
135952011-09-09 Eli Zaretskii <eliz@gnu.org>
13596
13597 Fix for Savannah bug#9392.
13598 * simple.el (mail-encode-mml): New defvar.
13599
13600 * mail/rmail.el (mail-encode-mml): Add a defvar.
13601 (rmail-enable-mime-composing): Default to t.
13602 (rmail-forward): Use MIME method of forwarding only if both
13603 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13604 Set mail-encode-mml non-nil if the MIME method was used.
13605
13606 * mail/sendmail.el (mml-to-mime): Add autoload form.
13607 (mail-encode-mml): Add a defvar.
13608 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13609 to nil.
13610 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13611 message through mml-to-mime, and reset mail-encode-mml to nil.
13612
28c45130
GM
136132011-09-09 Glenn Morris <rgm@gnu.org>
13614
13615 * woman.el (woman-if-body): When processing an .el block,
13616 do not delete the next .el block as well. (Bug#9447)
69f4b618 13617 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13618
9b1c252e
MR
136192011-09-08 Martin Rudalics <rudalics@gmx.at>
13620
13621 * window.el (window-deletable-p): Make sure window is live before
13622 invoking window-prev-buffers.
13623
567457e3
LL
136242011-09-08 Leo Liu <sdl.web@gmail.com>
13625
13626 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13627
97f05794
JL
136282011-09-08 Juri Linkov <juri@jurta.org>
13629
13630 * progmodes/compile.el (compilation-environment): Make it
13631 a defcustom (bug#8340).
13632
8b0874b5
MR
136332011-09-08 Martin Rudalics <rudalics@gmx.at>
13634
13635 * window.el (frame-auto-delete): Rename to window-auto-delete.
13636 Make it control auto-deletion of windows and/or frames.
13637 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13638 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13639 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13640 Rewrite handling of case when window/frame can be deleted.
13641 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13642 argument t. (Bug#9456)
8b0874b5 13643
4feb6e73
CY
136442011-09-07 Chong Yidong <cyd@stupidchicken.com>
13645
13646 * help-mode.el (help-mode): Restore autoload.
13647
91ab9c13
JL
136482011-09-07 Juri Linkov <juri@jurta.org>
13649
13650 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13651 `compilation-environment'. Set buffer-local
13652 `compilation-environment' to `thisenv' later after (funcall mode).
13653 (Bug#8340)
13654
13655 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13656 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13657 instead of replacing its value. (Bug#8340)
13658
0527e251
JL
136592011-09-07 Juri Linkov <juri@jurta.org>
13660
13661 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13662 based on text properties put by `grep-filter' instead of matching
13663 escape sequences.
13664 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13665 to the value of `grep-error-screen-columns' (bug#9438).
13666
249f792c
JL
136672011-09-07 Juri Linkov <juri@jurta.org>
13668
13669 * simple.el (next-error-highlight, next-error-highlight-no-select):
13670 Doc fix (bug#9432).
13671
ff7271b9
OT
136722011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13673
13674 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13675 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13676
183fc730
LL
136772011-09-07 Leo Liu <sdl.web@gmail.com>
13678
13679 * net/rcirc.el (rcirc-mode): Conditionally initialize
13680 rcirc-input-ring.
13681
77694924
SM
136822011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13683
13684 * emacs-lisp/find-func.el (find-function-C-source): Only set
13685 find-function-C-source-directory after checking that we found a source
13686 file there (bug#9440).
13687
d809b8eb
AM
136882011-09-06 Alan Mackenzie <acm@muc.de>
13689
13690 * isearch.el (isearch-other-meta-char): Wherever a key list is
13691 unread, "unread" the prefix arg, too. This fixes bug #8901.
13692
453de99f
OG
136932011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13694
13695 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13696
90439906
JL
136972011-09-05 Juri Linkov <juri@jurta.org>
13698
13699 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13700
f62bd846
JL
137012011-09-05 Juri Linkov <juri@jurta.org>
13702
13703 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13704 keeping point where processing of grep matches begins, and
13705 continue to delete remaining escape sequences from the same point.
13706 (grep-filter): Make leading zero optional in "0?1;31m" because
13707 git-grep emits "\033[1;31m" escape sequences unlike expected
13708 "\033[01;31m" as GNU Grep does (bug#9408).
13709 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13710
045820ec
JL
137112011-09-05 Juri Linkov <juri@jurta.org>
13712
13713 * subr.el (y-or-n-p): Capitalize "yes".
13714
f5e29b9b
MA
137152011-09-04 Michael Albinus <michael.albinus@gmx.de>
13716
13717 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13718 `tramp-cache-unload-hook' where appropriate.
13719 (tramp-methods): Rename `tramp-remote-sh' to
13720 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13721 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13722
13723 * net/tramp-sh.el (top): Don't require 'shell.
13724 (tramp-methods): Add `tramp-remote-shell' and
13725 `tramp-remote-shell-args' entries.
13726 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13727 (tramp-sh-handle-shell-command): Remove.
13728 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13729 Use `tramp-remote-shell'.
13730
2784c434
CY
137312011-09-03 Chong Yidong <cyd@stupidchicken.com>
13732
393a301e 13733 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13734 (sendmail-query-once): Save directly to send-mail-function.
13735 Update message-send-mail-function too.
13736
13737 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13738
464cdf56
CS
137392011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13740
13741 * progmodes/python.el (python-mode-map): Use correct function to
13742 start python interpreter from menu-bar (as reported by Geert
13743 Kloosterman).
13744 (inferior-python-mode-map): Fix typo.
393a301e 13745 (python-shell-map): Remove.
464cdf56 13746
d37e5c87
DD
137472011-09-03 Deniz Dogan <deniz@dogan.se>
13748
13749 * net/rcirc.el (rcirc-print): Simplify code for
13750 rcirc-scroll-show-maximum-output. There is no need to walk
13751 through all windows to find the right one.
13752
f3ada0ee
CS
137532011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13754
13755 * help.el (help-return-method): Doc fix.
13756
1f3c99ca
MR
137572011-09-03 Martin Rudalics <rudalics@gmx.at>
13758
13759 * window.el (window-deletable-p): Don't return a non-nil value
13760 when there's a buffer that was shown in the window before.
13761 (Bug#9419)
393a301e
SM
13762 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13763 Set window's previous buffers to nil.
1f3c99ca 13764
a3cf097f
EZ
137652011-09-03 Eli Zaretskii <eliz@gnu.org>
13766
13767 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13768 newline before and after the tag line, so it doesn't interfere
13769 with determining the paragraph direction of bidirectional text.
13770
3d03de90
LL
137712011-09-03 Leo Liu <sdl.web@gmail.com>
13772
13773 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13774
c3313451
CY
137752011-09-02 Chong Yidong <cyd@stupidchicken.com>
13776
393a301e 13777 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13778 (pop-to-buffer): Change interactive spec. Pass second argument
13779 directly to display-buffer.
13780 (display-buffer): Fix interactive spec. Use functionp to
13781 distinguish between a function and a list of functions.
13782
13783 * abbrev.el (edit-abbrevs):
13784 * arc-mode.el (archive-extract):
13785 * autoinsert.el (auto-insert):
13786 * bookmark.el (bookmark-bmenu-list):
13787 * files.el (find-file):
13788 * view.el (view-buffer):
13789 * progmodes/compile.el (compilation-goto-locus):
13790 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13791
89894cd8
CY
137922011-09-02 Chong Yidong <cyd@stupidchicken.com>
13793
13794 * window.el (display-buffer-alist): Doc fix.
13795 (display-buffer): Add docstring. Don't treat
13796 display-buffer-default specially.
13797 (display-buffer-reuse-selected-window)
13798 (display-buffer-same-window, display-buffer-maybe-same-window)
13799 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13800 (display-buffer-pop-up-window)
13801 (display-buffer-reuse-or-pop-window)
13802 (display-buffer-use-some-window): New functions.
13803 (display-buffer-default-action): Use them.
393a301e 13804 (display-buffer-default): Delete.
89894cd8
CY
13805 (pop-to-buffer-1): Fix choice of actions.
13806
ae0bc9fb
SM
138072011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13808
13809 * minibuffer.el (completion--insert-strings): Don't get confused by
13810 completion entries that end with an LF char.
13811
e9d90883
EZ
138122011-09-01 Eli Zaretskii <eliz@gnu.org>
13813
13814 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13815
437014c8
CY
138162011-09-01 Chong Yidong <cyd@stupidchicken.com>
13817
13818 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13819 (display-buffer-same-window, display-buffer-other-window):
13820 New functions.
437014c8
CY
13821 (pop-to-buffer-1): New function. Use the above.
13822 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13823 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13824
13825 * view.el (view-buffer-other-window, view-buffer-other-frame):
13826 Just use pop-to-buffer.
13827
a5e063d5
TV
138282011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13829
13830 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13831
793d32bb
WH
138322011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13833
13834 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13835
d65e4c15
RS
138362011-08-31 Richard Stallman <rms@gnu.org>
13837
13838 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13839 of the separation of rmail-view-buffer from rmail-buffer.
13840 If you say no to "replace original", the decrypt is in the
13841 view buffer. If you say yes, the decrypt goes into the
13842 rmail buffer also.
13843
f818cd2a
MR
138442011-08-31 Martin Rudalics <rudalics@gmx.at>
13845
13846 * window.el (display-buffer-window): Rewrite doc-string.
13847 (display-buffer-record-window): New function.
13848 (display-buffer-macro-specifiers)
13849 (display-buffer-even-window-sizes, display-buffer-set-height)
13850 (display-buffer-set-width, display-buffer-in-window)
13851 (display-buffer-reuse-window, display-buffer-split-specifiers)
13852 (display-buffer-side-specifiers, display-buffer-split-window-1)
13853 (display-buffer-split-window, display-buffer-split-atom-window)
13854 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13855 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13856 (display-buffer-other-window-means-other-frame)
13857 (display-buffer-normalize-special)
13858 (display-buffer-normalize-default)
13859 (display-buffer-normalize-argument)
13860 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13861 (display-buffer-normalize-specifiers, display-buffer-frame)
13862 (display-buffer-same-window, display-buffer-same-frame)
13863 (display-buffer-other-window)
13864 (display-buffer-same-frame-other-window)
13865 (display-buffer-other-frame, pop-to-buffer-same-window)
13866 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13867 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13868 (switch-to-buffer-same-frame)
13869 (switch-to-buffer-other-window-same-frame)
13870 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13871 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13872 (display-buffer-alist-set): Remove.
13873 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13874 (special-display-regexps, special-display-function):
13875 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13876 parameter.
13877 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13878 (special-display-frame-alist, special-display-popup-frame)
13879 (same-window-buffer-names, same-window-regexps, same-window-p)
13880 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13881 (split-window-preferred-function, split-height-threshold)
13882 (split-width-threshold, window-splittable-p)
13883 (split-window-sensibly, window--try-to-split-window)
13884 (window--frame-usable-p, even-window-heights)
13885 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13886 (window--display-buffer-2, display-buffer-other-frame):
13887 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13888 (display-buffer-default, display-buffer-assq-regexp): New functions.
13889 (display-buffer-alist): Rewrite doc-string.
13890 (display-buffer-default-action)
13891 (display-buffer-overriding-action): New variables.
13892 (display-buffer, switch-to-buffer): Rewrite.
13893 (pop-to-buffer): Restore Emacs 23 behavior but use
13894 window-normalize-buffer-to-display.
13895 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13896 Restore Emacs 23 behavior but use
13897 window-normalize-buffer-to-switch-to.
13898 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13899 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13900 Rewrite using Emacs 23 options.
f818cd2a 13901
5bc3b51d
MA
139022011-08-31 Michael Albinus <michael.albinus@gmx.de>
13903
13904 * net/tramp.el (tramp-root-regexp): Remove.
13905 (tramp-completion-file-name-regexp-unified)
13906 (tramp-completion-file-name-regexp-separate)
13907 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13908 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13909 (tramp-drop-volume-letter): Simplify definition.
13910 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13911
b1a4f8e1
SM
139122011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13913
13914 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13915 (bug#9356).
13916
5664fa7b
RT
139172011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13918
b1a4f8e1 13919 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13920
9a45d6c3
JL
139212011-08-29 Juri Linkov <juri@jurta.org>
13922
13923 * isearch.el (isearch-done): Don't display message "Mark saved"
13924 when arg `edit' is non-nil to prevent its flicker in the echo area.
13925
fb87e0fb
CY
139262011-08-28 Chong Yidong <cyd@stupidchicken.com>
13927
13928 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13929 obsolete packages for deletion.
13930
09ac1c2a
CS
139312011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13932
13933 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13934 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13935 view-mode from help-mode.
13936 (help-xref-override-view-map): Remove.
13937 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13938 view-mode is not used anymore.
13939
7a1ff57f
CY
139402011-08-28 Chong Yidong <cyd@stupidchicken.com>
13941
13942 * server.el (server-port): Doc fix.
13943
b9696605
CY
13944 * cus-theme.el (custom-theme-choose-mode): Inherit from
13945 special-mode (Bug#9124).
13946 (custom-theme-choose-mode-map): Add special-mode to parent.
13947
ef8cdf8c
AM
139482011-08-28 Alan Mackenzie <acm@muc.de>
13949
13950 * progmodes/cc-fonts.el
13951 (c-make-font-lock-BO-decl-search-function): New function.
13952 (c-basic-matchers-after - "Fontify the clauses after various
13953 keywords"): Extract the three keyword lists for the 3 erroneous
13954 constructs from the list of four, and use the new function above
13955 in place of an old one.
13956
27de4e20
DD
139572011-08-28 Deniz Dogan <deniz@dogan.se>
13958
13959 * net/rcirc.el (rcirc-insert-prev-input)
13960 (rcirc-insert-next-input): Remove unused argument.
13961
356a3681
SM
139622011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13963
13964 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13965
3fc9b218
AM
139662011-08-27 Alan Mackenzie <acm@muc.de>
13967
13968 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13969 handle function pointer parameters properly.
13970
538a061c
MR
139712011-08-27 Martin Rudalics <rudalics@gmx.at>
13972
13973 * window.el (display-buffer-reuse-window): Fix case where
13974 selected window was reused with non-nil OTHER-WINDOW argument.
13975 (Bug#9381)
13976
35b1c40c
DD
139772011-08-27 Deniz Dogan <deniz@dogan.se>
13978
13979 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13980 oftc's NickServ messages.
13981
2f6a3e79
GM
139822011-08-27 Glenn Morris <rgm@gnu.org>
13983
13984 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13985
7254299e
CY
139862011-08-26 Chong Yidong <cyd@stupidchicken.com>
13987
13988 * emacs-lisp/package.el (package-install): Call package-initialize
13989 if called interactively.
13990
f8ccf167
LL
139912011-08-26 Leo Liu <sdl.web@gmail.com>
13992
13993 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13994
3e8cd5ce
JL
139952011-08-25 Juri Linkov <juri@jurta.org>
13996
13997 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13998 `search-whitespace-regexp' (bug#9364).
13999
93eb7113
JL
140002011-08-25 Juri Linkov <juri@jurta.org>
14001
14002 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14003 `regexp-search-ring' to their global values to protect from
14004 updating by `read-from-minibuffer' (bug#9185).
14005
f65d1611
JL
140062011-08-25 Juri Linkov <juri@jurta.org>
14007
14008 * textmodes/ispell.el (ispell-command-loop): Add newline
14009 at the end of the "Use option `i'..." line.
14010
f1cf7a31
JL
140112011-08-25 Juri Linkov <juri@jurta.org>
14012
14013 * battery.el (display-battery-mode): If `battery-status-function'
14014 or `battery-mode-line-format' is nil, display the message and set
14015 `display-battery-mode' to nil (bug#9363).
14016
0c95fcf7
EZ
140172011-08-25 Eli Zaretskii <eliz@gnu.org>
14018
14019 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14020 bidi-string-mark-left-to-right; they are unnecessary now.
14021
a2ebe600
DD
140222011-08-25 Deniz Dogan <deniz@dogan.se>
14023
14024 * net/quickurl.el: Documentation typo fixes.
14025
e4ed06f1
CY
140262011-08-25 Chong Yidong <cyd@stupidchicken.com>
14027
14028 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14029
e5f1c99e
GM
140302011-08-25 Glenn Morris <rgm@gnu.org>
14031
b2948976
GM
14032 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14033
e5f1c99e
GM
14034 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14035 (smtpmail-via-smtp): Handle nil response from smtp.
14036
f22f4808
JL
140372011-08-24 Juri Linkov <juri@jurta.org>
14038
14039 * proced.el (proced-marked): Inherit from `error' instead of
14040 `font-lock-warning-face'.
14041
14042 * ibuffer.el (ibuffer-marked-face): Change default face from
14043 `font-lock-warning-face' to `warning'.
14044 (ibuffer-deletion-face): Change default face from
14045 `font-lock-type-face' to `error'.
14046
14047 * battery.el (battery-update): Use the face `error' instead of
14048 `font-lock-warning-face' (bug#6117).
14049
6a93965e
JL
140502011-08-24 Juri Linkov <juri@jurta.org>
14051
14052 * faces.el (success): Change face color from "Green3" to
14053 "ForestGreen" on light background (bug#9353).
14054
1ed43b09
CY
140552011-08-24 Chong Yidong <cyd@stupidchicken.com>
14056
5664fa7b
RT
14057 * window.el (quit-window): Rename from quit-restore-window.
14058 Use same arglist as old quit-window.
1ed43b09
CY
14059 (frame-auto-delete): Doc fix.
14060
14061 * view.el (view-mode-exit): Use quit-window.
14062
11dcdbb2
JL
140632011-08-24 Juri Linkov <juri@jurta.org>
14064
14065 * isearch.el (isearch-ring-adjust1): Start visiting previous
14066 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14067 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14068 for empty search string (when the last search string is reused
14069 automatically) to adjust the isearch ring to the last element and
14070 prepare the correct index for further M-p commands (bug#9185).
14071
de62b4df
KH
140722011-08-24 Kenichi Handa <handa@m17n.org>
14073
14074 * international/ucs-normalize.el: If decomposition property of
14075 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14076 nil.
14077 (nfd, nfkd): Likewise.
14078
963b492b
SM
140792011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14080
14081 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14082 from process filters aren't reliably transmitted to the surrounding
14083 accept-process-output.
14084 (mpc-proc-check): New function.
14085 (mpc-proc-sync): Use it (bug#8293)
14086
93b6b5e1
SM
140872011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14088
14089 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14090 Add compatibility functions (bug#9313).
14091
bca633fb
EZ
140922011-08-23 Eli Zaretskii <eliz@gnu.org>
14093
b177498a
EZ
14094 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14095
6df6ae42 14096 * international/uni-bidi.el: Regenerate.
bca633fb 14097
0902a04e
KH
140982011-08-23 Kenichi Handa <handa@m17n.org>
14099
14100 * international/charprop.el:
14101 * international/uni-bidi.el:
14102 * international/uni-category.el:
14103 * international/uni-combining.el:
14104 * international/uni-comment.el:
14105 * international/uni-decimal.el:
14106 * international/uni-decomposition.el:
14107 * international/uni-digit.el:
14108 * international/uni-lowercase.el:
14109 * international/uni-mirrored.el:
14110 * international/uni-name.el:
14111 * international/uni-numeric.el:
14112 * international/uni-old-name.el:
14113 * international/uni-titlecase.el:
14114 * international/uni-uppercase.el: Regenerate.
14115
3bbf23bc
MR
141162011-08-23 Martin Rudalics <rudalics@gmx.at>
14117
14118 * help.el (help-window-setup): Fix message displayed when other
14119 window is reused. (Bug#9341)
14120
b3fd59bd
SM
141212011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14122
1802e444
SM
14123 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14124 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14125
b3fd59bd
SM
14126 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14127 Mark obsolete.
14128 * shell.el (shell-parse-pcomplete-arguments): New function.
14129 (shell-completion-vars): Use it instead (bug#9160).
14130
4eb61348
SM
141312011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14132
867cab74
SM
14133 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14134 strings and comments (bug#9333).
14135
4eb61348
SM
14136 * emacs-lisp/debug.el (debug-arglist): New function.
14137 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14138 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14139
262a1439
JL
141402011-08-22 Juri Linkov <juri@jurta.org>
14141
56ee679c
JL
14142 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14143 Revert regexp that highlights output switches to its old
14144 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14145
262a1439
JL
14146 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14147 to check for empty output (bug#9226).
14148
f13f86fb
CY
141492011-08-22 Chong Yidong <cyd@stupidchicken.com>
14150
14151 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14152 symbol-constituent as the default, as that stops font-lock from
14153 working properly (Bug#8843).
14154
c65c9622
LMI
141552011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14156
14157 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14158 `coding-system-for-*' around the process open call to avoid
14159 auth-source side effects.
e7f2c178 14160 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14161 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14162 probe hangs.
c65c9622 14163
23a8a5ab
CY
141642011-08-21 Chong Yidong <cyd@stupidchicken.com>
14165
ff98b2dd
CY
14166 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14167
23a8a5ab
CY
14168 * emacs-lisp/find-func.el (find-function-noselect): New arg
14169 lisp-only.
14170
14171 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14172 signal an error for built-in functions (Bug#6664).
14173
f5e3c598
LMI
141742011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14175
14176 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14177 (smtpmail-try-auth-methods): Use it.
14178
a3f2468a
CY
141792011-08-21 Chong Yidong <cyd@stupidchicken.com>
14180
2c34e8da
CY
14181 * font-lock.el (font-lock-fontify-region)
14182 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14183 (font-lock-default-unfontify-buffer)
14184 (font-lock-default-fontify-region)
14185 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14186
b3fd59bd
SM
14187 * progmodes/compile.el (compilation-error-properties):
14188 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14189 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14190 `ant' regexp.
ee31aabc 14191
a3f2468a
CY
14192 * net/browse-url.el (browse-url-firefox): Don't call
14193 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14194
8e999f70
GM
141952011-08-20 Glenn Morris <rgm@gnu.org>
14196
c21a496a
GM
14197 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14198
59ee0542
GM
14199 * tutorial.el (tutorial--default-keys): Update some default bindings.
14200
8e999f70
GM
14201 * files.el (hack-local-variables): Fully ignore case for "mode:".
14202
e3715033
AM
142032011-08-20 Alan Mackenzie <acm@muc.de>
14204
14205 Resolve invalid use of a regexp in regexp-opt.
14206
4d61f28d
JB
14207 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14208 detection for a java annotation.
e3715033 14209
4d61f28d 14210 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14211 detection for a java annotation.
14212
4d61f28d
JB
14213 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14214 handling for java.
e3715033
AM
14215 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14216
04ed2e9c
CY
142172011-08-20 Chong Yidong <cyd@stupidchicken.com>
14218
14219 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14220 (Bug#9274).
14221
826cee64
AM
142222011-08-20 Alan Mackenzie <acm@muc.de>
14223
58179cce 14224 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14225 such a construct. Mainly for when jit-lock etc. starts a chunk
14226 here.
14227
58179cce 14228 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14229 variable.
58179cce 14230 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14231 c-make-font-lock-search-function.
14232 (c-make-font-lock-search-function): Use the above function.
14233 (c-make-font-lock-context-search-function): New function.
14234 (c-cpp-matchers): Enhance the preprocessor expression case with
14235 the above function
14236 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14237 which takes an expression.
14238
14239 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14240
13009bd8
MR
142412011-08-20 Martin Rudalics <rudalics@gmx.at>
14242
14243 * window.el (display-buffer-reuse-window)
14244 (display-buffer-pop-up-window): Don't reuse or split a side
14245 window.
14246
9234ff7f
GM
142472011-08-19 Glenn Morris <rgm@gnu.org>
14248
14249 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14250 Downcase "Mode:". (Bug#9331)
9234ff7f 14251
f635daa1
CY
142522011-08-18 Chong Yidong <cyd@stupidchicken.com>
14253
14254 * international/characters.el: Add L and R categories.
14255
14256 * subr.el (bidi-string-mark-left-to-right): Rename from
14257 string-mark-left-to-right. Use category search.
14258
14259 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14260
bc987f8b
JL
142612011-08-18 Juri Linkov <juri@jurta.org>
14262
14263 * faces.el (error, warning, success): New faces with definitions
14264 copied from old default values of `font-lock-warning-face',
14265 `compilation-warning', `compilation-info' (bug#6117).
14266
14267 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14268
14269 * progmodes/compile.el (compilation-error): Inherit from `error'.
14270 (compilation-warning): Inherit from `warning'.
14271 (compilation-info): Inherit from `success'.
14272
14273 * dired.el (dired-marked): Inherit from `warning'.
14274 (dired-flagged): Inherit from `error'.
14275
57173b96
LMI
142762011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14277
3e79eb87
LMI
14278 * mail/smtpmail.el (auth-source): Require to avoid problems with
14279 binding variables (bug#9298). Also clean up some unused
14280 autoloads.
14281
b3fd59bd
SM
14282 * net/network-stream.el (network-stream-open-starttls):
14283 Support using starttls.el without using gnutls-cli.
57173b96 14284
02b404de
JL
142852011-08-17 Juri Linkov <juri@jurta.org>
14286
14287 * progmodes/grep.el (rgrep): Handle the case when
14288 `grep-find-command' is a cons cell (bug#9278).
14289
8c9177f2
MR
142902011-08-17 Martin Rudalics <rudalics@gmx.at>
14291
14292 * window.el (display-buffer-pop-up-frame): Run frame creation
14293 function with BUFFER current (as special-display-popup-frame
14294 does). Reported by Drew Adams.
14295
3644a0ab
DU
142962011-08-17 Daiki Ueno <ueno@unixuser.org>
14297
14298 * epa-mail.el: Simplify GnuPG group expansion using
14299 epg-expand-group.
14300 (epa-mail-group-alist, epa-mail-group-modtime)
14301 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14302 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14303 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14304 Remove.
14305
5e617bc2 143062011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14307
14308 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14309
9c4aeabf
AM
143102011-08-16 Alan Mackenzie <acm@muc.de>
14311
14312 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14313 Correct, to avoid the inside of macros.
14314
3a99bf64
RS
143152011-08-16 Richard Stallman <rms@gnu.org>
14316
04963aa8
RS
14317 * epa-mail.el: Handle GnuPG group definitions.
14318 (epa-mail-group-alist, epa-mail-group-modtime)
14319 (epa-mail-gnupg-conf-file): New variables.
14320 (epa-mail-parse-groups, epa-mail-sync-groups)
14321 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14322 (epa-mail-expand-recipients): New functions.
14323 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14324
177549d0
RS
14325 * mail/rmail.el (rmail-epa-decrypt): New command.
14326
fe38beef
RS
14327 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14328 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14329 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14330 (epa-decrypt-armor-in-region): Make error message clearer.
14331
934eacb9
SM
143322011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14333
14334 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14335 and "a2b" to "ab" for `prefix'.
14336
d024fb4e
CY
143372011-08-14 Chong Yidong <cyd@stupidchicken.com>
14338
14339 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14340 filter groups.
de148fee
CY
14341 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14342 Fourquet (Bug#8804).
d024fb4e 14343
62f1ca49
JB
143442011-08-12 Juanma Barranquero <lekktu@gmail.com>
14345
14346 * startup.el (argi): Declare as global variable (bug#9275).
14347
9ccaaa4b
CY
143482011-08-12 Chong Yidong <cyd@stupidchicken.com>
14349
14350 * subr.el (string-mark-left-to-right): Search the entire string
14351 for RTL script, not just the terminating character. Doc fix.
14352
a3dae87a
SM
143532011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14354
6cd18349
SM
14355 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14356 New function.
14357 (js--regexp-literal, js-syntax-propertize-function): Remove.
14358 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14359 (js-mode-map): Don't rebind electric keys.
14360 (js-insert-and-indent): Remove.
14361 (js-mode): Setup electric-layout and electric-indent instead.
14362
a3dae87a
SM
14363 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14364
9d5cb631
DU
143652011-08-12 Daiki Ueno <ueno@unixuser.org>
14366
14367 * epa.el (epa-progress-callback-function): Fix the logic of
14368 displaying progress.
14369 * epa-file.el (epa-file-insert-file-contents): Make progress
14370 display more user-friendly.
14371 (epa-file-write-region): Ditto.
14372
3e26a4a2
CY
143732011-08-10 Chong Yidong <cyd@stupidchicken.com>
14374
14375 * subr.el (string-mark-left-to-right): New function.
14376
14377 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14378 Use string-mark-left-to-right.
14379 (list-buffers-noselect): Caller changed.
14380
a3dae87a
SM
14381 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14382 Use string-mark-left-to-right.
3e26a4a2
CY
14383 (tabulated-list-print): Recenter after moving point.
14384
ac8cf6e6
JL
143852011-08-10 Juri Linkov <juri@jurta.org>
14386
14387 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14388 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14389 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14390
8d96c9a4
CY
143912011-08-09 Chong Yidong <cyd@stupidchicken.com>
14392
14393 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14394 (Bug#7554).
14395
7be1c708 143962011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14397
14398 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14399 character. (Bug#6594)
14400
37e11a63
CY
144012011-08-08 Chong Yidong <cyd@stupidchicken.com>
14402
839dde57
CY
14403 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14404 (image-dired--with-db-file): New macro.
14405 (image-dired-write-tags, image-dired-remove-tag)
14406 (image-dired-create-gallery-lists, image-dired-write-comments)
14407 (image-dired-get-comment, image-dired-mark-tagged-files)
14408 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14409 (image-dired-gallery-generate): Use insert-file-contents.
14410
37e11a63
CY
14411 * time.el (display-time-world-list, display-time-world-display):
14412 * time-stamp.el (time-stamp-string):
14413 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14414 set-time-zone-rule (Bug#7337).
14415
0b4946c4
DU
144162011-08-08 Daiki Ueno <ueno@unixuser.org>
14417
14418 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14419 (epg-error-to-string, epg-errors-to-string): New function.
14420 (epg-wait-for-completion): Reverse errors list.
14421 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14422 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14423 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14424 (epg-sign-keys, epg-generate-key-from-file)
14425 (epg-generate-key-from-string): Format errors by using
14426 epg-errors-to-string (bug#9255).
14427 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14428
75bfc667
JL
144292011-08-07 Juri Linkov <juri@jurta.org>
14430
14431 * faces.el (list-faces-display): Remove extra angle bracket
14432 from `help-mode-map'.
14433
14434 * info.el (Info-history-toc-nodes): Doc fix.
14435
14436 * longlines.el (longlines-mode): Doc fix.
14437
673e08bb
SM
144382011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14439
4640dd88
SM
14440 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14441 of statements and in a few more cases (bug#9183).
14442
673e08bb
SM
14443 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14444 New functions.
14445 (cl-transform-lambda): Use them (bug#9239).
14446
89b3f019
MR
144472011-08-05 Martin Rudalics <rudalics@gmx.at>
14448
14449 * window.el (display-buffer-same-window)
14450 (display-buffer-same-frame, display-buffer-other-window)
14451 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14452 (pop-to-buffer-other-window)
14453 (pop-to-buffer-same-frame-other-window)
14454 (pop-to-buffer-other-frame): Make them defuns.
14455 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14456
640c8776
SM
144572011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14458
14459 * subr.el (make-composed-keymap): Move from C. Change calling
14460 convention, and improve docstring to bring attention to a subtle point.
14461 * minibuffer.el (completing-read-default): Adjust accordingly.
14462
63648a95
MA
144632011-08-03 Michael Albinus <michael.albinus@gmx.de>
14464
14465 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14466 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14467
14468 * net/trampver.el: Update release number.
14469
b796c9b7
SM
144702011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14471
14472 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14473 "in" (bug#9190).
14474
2239d7d5
LMI
144752011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14476
e07dd7c3
LMI
14477 * mail/sendmail.el (sendmail-query-once): Restore the current
14478 buffer after querying (bug#9074).
14479
0e6a2bd7
LMI
14480 * dired.el (dired-flagged): Use different faces for marked and
14481 flagged files (bug#6117).
14482
ce887515
LMI
14483 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14484 (bug#4433).
14485
92f2affc
LMI
14486 * ido.el (ido-mode): Switch off the message if called
14487 non-interactively.
14488
57d5aff0
LMI
14489 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14490 before 587, since it appears that that's more likely to work for
14491 more people.
14492
98cd6c18 14493 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14494 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14495 exist.
14496
b96dec83
LMI
14497 * info.el: Remove the `Info-beginning-of-buffer' function
14498 (bug#8325).
14499
b796c9b7
SM
14500 * net/network-stream.el (network-stream-open-starttls):
14501 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14502
d90e2ea0
MR
145032011-08-01 Martin Rudalics <rudalics@gmx.at>
14504
14505 * window.el (display-buffer-in-window): Don't set dedicated status
14506 of window here (Bug#9215).
14507 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14508 (display-buffer-pop-up-side-window)
b796c9b7 14509 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14510
cca09170
SM
145112011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14512
14513 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14514 before binding generated-autoload-file.
14515
027b979c
DD
145162011-08-01 Deniz Dogan <deniz@dogan.se>
14517
14518 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14519
3c7ee4f3
MA
145202011-07-30 Michael Albinus <michael.albinus@gmx.de>
14521
14522 Sync with Tramp 2.2.2.
14523
14524 * net/trampver.el: Update release number.
14525
2cc8e51a
JL
145262011-07-30 Juri Linkov <juri@jurta.org>
14527
14528 * dired-aux.el (dired-touch-initial): Remove function.
14529 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14530 current time, and `default' to the last modification time of the
14531 current marked file (bug#6887).
14532
a514d856
JM
145332011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14534
14535 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14536 numeric argument to read-number (bug#9163).
a514d856 14537
8a7eddd7
MA
145382011-07-27 Michael Albinus <michael.albinus@gmx.de>
14539
14540 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14541 connection process, it could be nil.
14542
1ddd96f5
LL
145432011-07-27 Leo Liu <sdl.web@gmail.com>
14544
14545 Simplify url handling in rcirc-mode.
14546
14547 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14548 (rcirc-browse-url-at-mouse): Remove.
14549 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14550
b248a85d
AM
145512011-07-26 Alan Mackenzie <acm@muc.de>
14552
14553 Fontify bitfield declarations properly.
14554
14555 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14556 (c-symbol-chars): Now exported as a lang variable.
14557 (c-not-primitive-type-keywords): New lang variable.
14558
14559 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14560 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14561 parsed as a bitfield declaration.
b248a85d 14562
b796c9b7
SM
14563 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14564 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14565 (c-punctuation-in): New function.
14566 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14567 declarations properly.
14568
68575ab0
UJ
145692011-07-26 Ulf Jasper <ulf.jasper@web.de>
14570
14571 * calendar/icalendar.el (icalendar--all-events): Take care of
14572 multiple vcalendars in a single file.
b796c9b7 14573 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14574
0f0a88b9
DD
145752011-07-25 Deniz Dogan <deniz@dogan.se>
14576
14577 * image.el (insert-image): Clarifying docstring.
14578
0b3f36df
MA
145792011-07-24 Michael Albinus <michael.albinus@gmx.de>
14580
14581 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14582 `tramp-send-command-and-check' if there is no error.
14583 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14584
a9901f61
AM
145852011-07-22 Alan Mackenzie <acm@muc.de>
14586
14587 Prevent cc-langs.elc being loaded at run time.
14588
14589 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14590 cc-langs.
14591
4d61f28d 14592 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14593 "(require 'cc-langs)". Quote a form so it will evaluate at
14594 (cc-mode's) compilation time.
14595
11d074b2
MA
145962011-07-22 Michael Albinus <michael.albinus@gmx.de>
14597
14598 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14599 loading. (Bug#9114)
14600
938b94c8
MR
146012011-07-21 Martin Rudalics <rudalics@gmx.at>
14602
14603 * window.el (display-buffer-pop-up-window)
14604 (display-buffer-pop-up-side-window)
14605 (display-buffer-in-side-window): Call display-buffer-set-height
14606 and display-buffer-set-width after setting the new window's
b796c9b7 14607 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14608
bfa4f190
SS
146092011-07-20 Sam Steingold <sds@gnu.org>
14610
14611 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14612 (etags-tags-included-tables): Call `convert-standard-filename' on
14613 the file names contained in TAGS so that windows Emacs can handle
14614 TAGS files created by cygwin ctags.
14615
8ca42262
LMI
146162011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14617
14618 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14619 which apparently didn't work.
14620
5db2afd2 146212011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14622
5db2afd2
RW
14623 * proced.el (proced-send-signal): For *Marked Processes* buffer
14624 put point at beginning of buffer.
14625
92e15d10
SB
146262011-07-19 Stephen Berman <stephen.berman@gmx.net>
14627
14628 * proced.el (proced-format): Make header lines align with the text
14629 (bug#1779).
14630
1bfd59e5
LMI
146312011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14632
14633 * view.el (view-buffer): Allow running in `special' modes if we're
14634 visiting a file (bug#8615).
14635
f5aae37c
MR
146362011-07-19 Martin Rudalics <rudalics@gmx.at>
14637
14638 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14639 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14640 New functions.
f5aae37c
MR
14641 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14642 more accurately.
14643
bf2c1571
AM
146442011-07-18 Alan Mackenzie <acm@muc.de>
14645
14646 Fontify declarators properly when, e.g., a jit-lock chunk begins
14647 inside a declaration.
14648
14649 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14650
b796c9b7
SM
14651 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14652 New function.
bf2c1571
AM
14653 (c-complex-decl-matchers): Insert reference to
14654 c-font-lock-enclosing-decls.
14655
14656 * progmodes/cc-engine.el (c-backward-single-comment):
14657 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14658 to nil around calls to (forward-comment -1).
14659
4e190b80
LMI
146602011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14661
12dc863d
LMI
14662 * image.el (put-image): Doc typo fix.
14663
a762e966
LMI
14664 * progmodes/etags.el (tags-search): Doc typo fix.
14665
4e190b80
LMI
14666 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14667 password if we get errors 550 to 554.
14668
f019fb21
LMI
146692011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14670
b796c9b7 14671 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14672
81746738
LMI
14673 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14674 indentation character (bug#6380).
14675
3ee3a1b5
LMI
14676 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14677
c82f64de
LMI
14678 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14679 to clarify what the problem is (bug#4291).
14680
f019fb21
LMI
14681 * simple.el (current-kill): Clarify what
14682 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14683 (auto-fill-mode): Document `auto-fill-function' in relation to
14684 `auto-fill-mode' (bug#2470).
f019fb21 14685
0794775d
LM
146862011-07-16 Lawrence Mitchell <wence@gmx.li>
14687
14688 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14689 method if slot is read-only (bug#9035).
14690
be39b8cc
MR
146912011-07-16 Martin Rudalics <rudalics@gmx.at>
14692
b796c9b7 14693 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14694 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14695 selected before, see discussion of (Bug#8615), (Bug#6954).
14696 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14697
6ccf7859
GM
146982011-07-15 Glenn Morris <rgm@gnu.org>
14699
14700 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14701 Respect help-form.
6ccf7859 14702
87e86684
LM
147032011-07-09 Lawrence Mitchell <wence@gmx.li>
14704
14705 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14706 (gnutls-negotiate): Use it.
14707
d6066239
LMI
147082011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14709
b796c9b7
SM
14710 * net/gnutls.el (gnutls-negotiate):
14711 Upcase `gnutls-algorithm-priority'.
d6066239 14712
bd23ebc0
GM
147132011-07-15 Glenn Morris <rgm@gnu.org>
14714
c65bca65
GM
14715 * jka-compr.el (jka-compr-verbose): Move from here...
14716 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14717 Add missing :version tag.
14718 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14719
478615cc
LMI
147202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14721
7b41decb
LMI
14722 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14723 (gnutls-negotiate): Use it.
14724
dbc44fcd
LMI
14725 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14726
06789f97
LMI
14727 * info.el (Info-beginning-of-buffer): New command.
14728 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14729 announcing `b' as the key (bug#8325).
ab896c37 14730 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14731
c39da690
LMI
14732 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14733
3aa5f34b
LMI
14734 * international/mule-cmds.el
14735 (describe-specified-language-support): Make the error message
14736 clearer (bug#8905).
14737
4bf0979f
LMI
14738 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14739
478615cc
LMI
14740 * isearch.el (isearch-barrier): Add a doc string, since it's
14741 mentioned in a function doc string (bug#8678).
14742
75c68aa1
MR
147432011-07-15 Martin Rudalics <rudalics@gmx.at>
14744
14745 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14746 buffer argument (Bug#9083) and self-identifying label argument.
14747
a7c33da2
GM
147482011-07-15 Glenn Morris <rgm@gnu.org>
14749
14750 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14751
2f5c6024
LMI
147522011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14753
14754 * man.el (Man-fontify-manpage): Fix message when formatting the
14755 man page (bug#7929).
14756
0bb23927 147572011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14758
14759 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14760 argument LRM; if non-nil, append an invisible LRM character to the
14761 buffer name.
14762 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14763 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14764 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14765 paragraph direction.
cce4b0a7 14766
621ef9ab
LMI
147672011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14768
d1583c48
LMI
14769 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14770 the man page name (bug#7929).
14771
6a57fb5f
LMI
14772 * image.el (put-image): Mention the `put-image' overlay property
14773 (bug#7834).
14774
d7956b14
LMI
14775 * scroll-bar.el (set-scroll-bar-mode): Mention that
14776 `scroll-bar-mode' lists the values (bug#7772).
14777
5b2d4a66
LMI
14778 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14779 command (bug#7729).
14780
7509a874
LMI
14781 * rect.el (apply-on-rectangle): Return the point after the last
14782 operation.
14783 (string-rectangle): Go to the point after the last operation
14784 (bug#7522).
14785
4fe74b19
LMI
14786 * printing.el (pr-toggle-region): Clarify the documentation
14787 slightly (bug#7493).
14788
b796c9b7
SM
14789 * time.el (display-time-update):
14790 Allow `display-time-mail-function' to return nil (bug#7158).
14791 Fix suggested by Detlev Zundel.
ab283561 14792
fc233c9d
LMI
14793 * vc/diff.el (diff): Clarify the order the file names are read
14794 (bug#7111).
14795
43f5740b
LMI
14796 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14797 the doc string (bug#7015).
14798
f2182a76
LMI
14799 * font-lock.el (font-lock-maximum-decoration): Mention what
14800 numeric levels mean (bug#6935).
14801
621ef9ab
LMI
14802 * startup.el (initial-buffer-choice): Don't mention the `none'
14803 selection, which is against policy.
14804
adc47434
MR
148052011-07-14 Martin Rudalics <rudalics@gmx.at>
14806
b796c9b7
SM
14807 * window.el (display-buffer-normalize-special):
14808 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14809
7e5bfb8f
EZ
148102011-07-14 Eli Zaretskii <eliz@gnu.org>
14811
14812 * subr.el (version<, version<=, version=): Mention "-CVS" and
14813 "-12345" alpha version numbers.
14814
27fa387a
CY
148152011-07-14 Chong Yidong <cyd@stupidchicken.com>
14816
14817 * bindings.el: Add advertised binding for set-mark-command
14818 (Bug#5772).
14819
8bdfa064
CY
148202011-07-14 Chong Yidong <cyd@stupidchicken.com>
14821
14822 * bindings.el (mode-line-other-buffer):
14823 * bookmark.el (bookmark-bmenu-2-window):
14824 * bs.el (bs-cycle-next, bs-cycle-previous):
14825 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14826 switch-to-buffer.
14827
14828 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14829 Delete.
8bdfa064 14830
5eba16a3
JB
148312011-07-14 Juanma Barranquero <lekktu@gmail.com>
14832
14833 * follow.el (follow-debug-message, follow-redisplay):
14834 * jka-cmpr-hook.el (with-auto-compression-mode):
14835 Fix typos in docstrings.
14836
15853710
LMI
148372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14838
a28e4607
LMI
14839 * subr.el (with-silent-modifications): Clarify somewhat what the
14840 macro inhibits (bug#6525).
14841
15853710
LMI
14842 * simple.el (eval-expression): Note what it does if called
14843 interactively (bug#6495).
14844
bee0fcef
CY
148452011-07-13 Chong Yidong <cyd@stupidchicken.com>
14846
b796c9b7
SM
14847 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14848 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14849
14850 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14851 Remove switch-to-buffer.
14852
58274504
LMI
148532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14854
bd2fcc8d
LMI
14855 * files.el (make-directory): Clarify that an error will be raised
14856 if there's an error (bug#6397).
14857
0f04b32c
LMI
14858 * startup.el (initial-buffer-choice): Add `none' as a choice
14859 (bug#6234).
14860
465c5fc8
LMI
14861 * subr.el (add-hook): Clarify section about buffer-local hooks
14862 (bug#6218).
14863
58274504
LMI
14864 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14865
bead9a43
JB
148662011-07-13 Juanma Barranquero <lekktu@gmail.com>
14867
14868 * tabify.el (untabify): Preserve the current column so that point
14869 doesn't move (bug#6032).
14870
3af98a7b
LMI
148712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14872
b796c9b7
SM
14873 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14874 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14875
6240145a
GM
148762011-07-13 Glenn Morris <rgm@gnu.org>
14877
14878 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14879 (dired-insert-directory): Give a message the first time
14880 if ls is found not to support --dired.
14881
1d8c2ccc
LMI
148822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14883
14884 * simple.el (toggle-truncate-lines): Clarify what is toggled
14885 (bug#5580). Text by Drew Adams.
14886
5fc4038e
CY
148872011-07-13 Chong Yidong <cyd@stupidchicken.com>
14888
14889 * simple.el (blink-matching-open): Make the error message from the
14890 last change less verbose.
14891
bf6012e5
DN
148922011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14893
14894 * font-lock.el (font-lock-comment-face): Use the high contrast
14895 "yellow" color for font-lock-comment-face on low color terminals
14896 using a dark background color (bug#4221).
14897
343c3b5a
LMI
148982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14899
7e9505c5
LMI
14900 * dired.el (dired-insert-set-properties): Make the doc string
14901 reflect what it does now (bug#5325).
14902
c26fdcf5
LMI
14903 * simple.el (blink-matching-open): Say that we were unable to find
14904 the match within the limit, if we're limited (bug#5122).
14905
bb388cc5
LMI
14906 * international/mule-cmds.el (prefer-coding-system): Add an
14907 example (bug#4869).
14908
343c3b5a
LMI
14909 * progmodes/etags.el (tags-search): Document `file-list-form'
14910 (bug#4731).
14911
2a517d45
LM
149122011-07-13 Lawrence Mitchell <wence@gmx.li>
14913
14914 * net/browse-url.el (browse-url-default-browser)
14915 (browse-url-browser-function): Make the default browser choice a
14916 bit more logical (bug#4300). Also clean up the doc string.
14917
b6c78ef2
JB
149182011-07-13 Juanma Barranquero <lekktu@gmail.com>
14919
14920 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14921 binary endings (bug#4440).
14922
1c4dd947
LMI
149232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14924
a2014063
LMI
14925 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14926 which can be pretty annoying (bug#8971).
14927
9c9c2d88
LMI
14928 * jka-compr.el (jka-compr-verbose): New variable, and use
14929 throughout (bug#8971).
14930
1c4dd947
LMI
14931 * info.el (Info-find-file): Fall back on the installation
14932 directory if we can't find the info node anywhere else.
14933
a1c9f41b
SO
149342011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14935
14936 * vc/vc.el (vc-revert-file):
14937 Don't set file time-stamp in the past. (Bug#5181)
14938
536f3d36
LMI
149392011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14940
7152b011
LMI
14941 * files.el (after-find-file): Give a better error message when
14942 trying to find a symlink that points to a file that doesn't exist
14943 (bug#4398).
14944
536f3d36
LMI
14945 * progmodes/cc-vars.el: Remove (probably) misleading comment
14946 (bug#4396).
14947
460c0fba
JB
149482011-07-12 Johan Bockgård <bojohan@gnu.org>
14949
14950 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14951
7a6bda45
CY
149522011-07-12 Chong Yidong <cyd@stupidchicken.com>
14953
14954 * mouse-sel.el: Hack restoring functionality, while keeping
14955 compatibility with 2010-07-03 changes to mouse selection.
14956 (mouse-sel-primary-overlay): New var.
14957 (mouse-sel-selection-alist): Use it.
14958 (mouse-sel-mode): Doc fix; remove points that are default features
14959 of mouse.el.
14960
c79598ef
JB
149612011-07-12 Johan Bockgård <bojohan@gnu.org>
14962
14963 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14964 Fix previous fix (bug#2490).
14965
ff8be6ef
RW
149662011-07-12 Roland Winkler <winkler@gnu.org>
14967
b796c9b7
SM
14968 * textmodes/bibtex.el (bibtex-initialize):
14969 Use pop-to-buffer-same-window.
ff8be6ef
RW
14970 (bibtex-search-entries): Fix interactive call.
14971
296ba3ee
LMI
149722011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14973
f5242a02 14974 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14975 Fontise bytecomp Error lines more correctly (bug#2490).
14976 Fix suggested by Johan Bockgård.
f5242a02 14977
296ba3ee
LMI
14978 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14979
14980 * dired-x.el (dired-guess-default): Use `delete-dups'.
14981
f69fd0d2
CY
149822011-07-12 Chong Yidong <cyd@stupidchicken.com>
14983
14984 * dired.el (dired-mark-prompt):
14985 * dired-aux.el (dired-read-shell-command): Doc fix.
14986
eab5dc07
LMI
149872011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14988
b796c9b7
SM
14989 * mail/sendmail.el (sendmail-query-once):
14990 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
14991 emacs -Q.
14992
14993 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14994
eab5dc07
LMI
14995 * cus-edit.el (custom-file): Take an optional no-error variable.
14996 (customize-save-variable): Set the variable, and give a warning if
14997 running under "emacs -q".
14998
a1e65d42
JB
149992011-07-11 Juanma Barranquero <lekktu@gmail.com>
15000
15001 * loadhist.el (unload-feature-special-hooks):
15002 Add `auto-coding-functions', `fill-nobreak-predicate' and
15003 `find-directory-functions' (bug#5327).
15004
1d52da10
LMI
150052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15006
be958f1d
LMI
15007 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15008
5bedb26c
LMI
15009 * cus-edit.el (custom-guess-name-alist): -alist variables should
15010 use the `alist' type (bug#3120). Suggested by Drew Adams.
15011
1d52da10
LMI
15012 * printing.el: Add documentation to all the `pr-toggle-' commands.
15013
cd394be1 150142011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15015
15016 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15017 backends where it makes sense (bug#2623).
15018
dcc88d8a
LMI
150192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15020
c3de9feb
LMI
15021 * dired-x.el (dired-guess-default): Remove duplicate shell command
15022 entries (bug#2028).
8a93078b 15023 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15024 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15025
dcc88d8a
LMI
15026 * subr.el (remove-duplicates): New conveniency function.
15027
505e3645
LMI
150282011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15029
15030 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15031 (bug#1526).
15032
150332011-07-10 Martin Rudalics <rudalics@gmx.at>
15034
15035 * window.el (display-buffer-normalize-default): Don't invert
15036 meaning of even-window-heights. Reported by Eli Zaretskii
15037 <eliz@gnu.org>.
15038
455e4fa1
BR
150392011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15040
15041 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15042
8e0bc3e9
CY
150432011-07-10 Chong Yidong <cyd@stupidchicken.com>
15044
15045 * window.el (display-buffer): Fix arguments to
15046 display-buffer-reuse-window in last change.
15047
fa7c3228
CY
15048 * faces.el (link): Use a less saturated blue on light backgrounds.
15049
15050 * startup.el (fancy-startup-text, fancy-about-text)
15051 (fancy-startup-tail): Use font-lock faces, for background safety.
15052
c0a7f300
BN
150532011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15054
b796c9b7
SM
15055 * emulation/viper-cmd.el (viper-change-state-to-vi):
15056 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15057
4dc2a129
MR
150582011-07-09 Martin Rudalics <rudalics@gmx.at>
15059
15060 * window.el (display-buffer-default-specifiers): Remove.
15061 (display-buffer-macro-specifiers): Remove default specifiers.
15062 (display-buffer-alist): Default to nil.
b796c9b7 15063 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15064 (display-buffer-pop-up-window): Allow splitting internal
15065 windows. Check whether a live window was created.
15066 (display-buffer-other-window-means-other-frame)
15067 (display-buffer-normalize-arguments): Rename to
15068 display-buffer-normalize-argument and rewrite. Set the
15069 other-window specifier.
15070 (display-buffer-normalize-special): New function.
15071 (display-buffer-normalize-options): Rename to
15072 display-buffer-normalize-default and rewrite.
15073 (display-buffer-normalize-options-inhibit): Remove.
15074 (display-buffer-normalize-specifiers): Rewrite.
15075 (display-buffer): Process other-window specifier and call
15076 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15077 more faithfully.
b796c9b7 15078 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15079 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15080 (display-buffer-in-window, display-buffer-alist-set):
15081 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15082 <tassilo@member.fsf.org>.
15083
2d43b8c9
LL
150842011-07-09 Leo Liu <sdl.web@gmail.com>
15085
15086 * register.el (insert-register): Restore accidental change on
15087 2011-06-26. (Bug#9028)
15088
7f9b7c53
GM
150892011-07-09 Glenn Morris <rgm@gnu.org>
15090
15091 * subr.el (remq): Handle the empty list. (Bug#9024)
15092
f042cfd8
AS
150932011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15094
15095 * mail/sendmail.el (send-mail-function): No longer delay custom
15096 initialization.
15097 * custom.el (custom-initialize-delay): Doc fix.
15098
856b2f11
SM
150992011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15100
15101 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15102
afae1d68
MA
151032011-07-08 Michael Albinus <michael.albinus@gmx.de>
15104
15105 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15106 human-friendly prompt.
15107
0757af94
SM
151082011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15109
15110 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15111 provided by a particular plugin.
15112
d760b731
LMI
151132011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15114
15115 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15116 save customizations (with "emacs -Q"), just set the variable
15117 instead of erroring out.
15118
15119 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15120
cd79ce90
JL
151212011-07-08 Juri Linkov <juri@jurta.org>
15122
15123 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15124 (archive-zip-update-case): Use 7z if found by `executable-find'.
15125 The order of searching the available programs is the same as in
15126 `archive-zip-extract' (bug#8968).
15127
14cc04aa
CY
151282011-07-07 Chong Yidong <cyd@stupidchicken.com>
15129
15130 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15131 (menu-bar-options-menu): Tweak descriptions.
15132
0a1848ec
LMI
151332011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15134
15135 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15136 menu items into verb phrases (bug#1421). Also refill to fit under
15137 80 columns.
15138
f5bd0689
CY
151392011-07-07 Chong Yidong <cyd@stupidchicken.com>
15140
538e85c6
CY
15141 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15142 (Info-read-node-name): Doc fix (Bug#1084).
15143
f5bd0689
CY
15144 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15145 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15146 (end-of-sexp, beginning-of-sexp)
15147 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15148 (forward-symbol, forward-same-syntax, word-at-point)
15149 (sentence-at-point): Doc fix (Bug#1144).
15150
56ec5115
LMI
151512011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15152
f3f8e37f
LMI
15153 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15154 should cover it (bug#1281).
15155
0757af94 15156 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15157
e9fce1ac 15158 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15159 negotiation fails, then possibly try again with a non-encrypted
15160 connection (bug#9017).
15161
56ec5115
LMI
15162 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15163 be used.
15164
c2f9aec8
RS
151652011-07-07 Richard Stallman <rms@gnu.org>
15166
15167 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15168 property, and handle its changed format.
15169 Look for the correct line number.
15170 Use file's line contents (but not past first =) to find
15171 correct line in message.
15172
ef7b981d 151732011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15174
15175 * international/characters.el (build-unicode-category-table):
15176 Delete it.
0757af94 15177 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15178
0757af94 15179 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15180 to src/chartab.c.
15181 (get-char-code-property): Call unicode-property-table-internal to
15182 load a file. Call get-unicode-property-internal where necessary.
15183 (put-char-code-property): Call unicode-property-table-internal to
15184 load a file. Call put-unicode-property-internal where necessary.
15185 put-unicode-property-internal where necessary.
0757af94
SM
15186 (char-code-property-description):
15187 Call unicode-property-table-internal to load a file.
c805dec0
KH
15188
15189 * international/charprop.el:
15190 * international/uni-bidi.el:
15191 * international/uni-category.el:
15192 * international/uni-combining.el:
15193 * international/uni-comment.el:
15194 * international/uni-decimal.el:
15195 * international/uni-decomposition.el:
15196 * international/uni-digit.el:
15197 * international/uni-lowercase.el:
15198 * international/uni-mirrored.el:
15199 * international/uni-name.el:
15200 * international/uni-numeric.el:
15201 * international/uni-old-name.el:
15202 * international/uni-titlecase.el:
15203 * international/uni-uppercase.el: Regenerate.
15204
15205 * loadup.el: Load international/charprop.el before
15206 international/characters.
15207
e14b388a
CY
152082011-07-07 Chong Yidong <cyd@stupidchicken.com>
15209
15210 * window.el (next-buffer, previous-buffer): Signal an error if
15211 called from a minibuffer window.
15212
15213 * bindings.el: Revert 2011-07-04 change.
15214
354cf0ba
RS
152152011-07-06 Richard Stallman <rms@gnu.org>
15216
15217 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15218 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15219 Treat markers like ints.
15220 (rmail-mime-entity): Doc fix.
15221
a48868a7
LMI
152222011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15223
4906cd3d
LMI
15224 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15225 defcustom again for backwards compatibility.
15226
e0457abe
LMI
15227 * simple.el (shell-command-on-region): Fill.
15228
d67f7e1f
LMI
15229 * dired-aux.el (dired-kill-line): Add a doc string.
15230
fe204702
LMI
15231 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15232 to "\\sw\\|\\s_" (bug#358).
15233
a48868a7
LMI
15234 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15235 (dired-unmark-backward): Ditto.
15236 (dired-flag-backup-files): Ditto.
15237
15238 * dired-x.el (dired-mark-sexp): Ditto.
15239
aa8a705c
RS
152402011-07-06 Richard Stallman <rms@gnu.org>
15241
15242 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15243 (rmail-mime-entity): New arg TRUNCATED.
15244 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15245 New functions.
15246 (rmail-mime-save): Warn if entity is truncated.
15247 (rmail-mime-toggle-hidden): Likewise, for showing.
15248 (rmail-mime-process-multipart): Record when an entity is truncated.
15249
a9a936b9
RS
15250 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15251 if ENTITY is a string.
15252
1f2b92cb
LMI
152532011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15254
f4f73198 15255 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15256 of faces when `M-C-x'-ing their definitions (bug#8378).
15257 Also clean up the code slightly.
f4f73198 15258
12b16734 15259 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15260 because that makes the colors go away.
12b16734 15261
f0691d22
LMI
15262 * mail/sendmail.el (send-mail-function): Change the default to
15263 `sendmail-query-once'.
9e87df06 15264 (sendmail-query-once): Add an autoload cookie.
f0691d22 15265
1f2b92cb
LMI
15266 * net/network-stream.el (network-stream-open-starttls): Try using
15267 a plain connection even if the server offered STARTTLS, and we
15268 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15269 capability. This should make smtpmail.el work in slightly more
15270 configurations.
15271
1cdd2a1b
MA
152722011-07-06 Michael Albinus <michael.albinus@gmx.de>
15273
15274 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15275 New defun.
15276 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15277
fbcc67e2
MM
152782011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15279
15280 * progmodes/sql.el: Version 3.0
0757af94 15281 (sql-product-alist): Add product :completion-object,
fbcc67e2 15282 :completion-column, and :statement attributes.
0757af94 15283 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15284 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15285 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15286 ansi keywords.
15287 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15288 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15289 (sql-oracle-show-reserved-words): New function for development.
15290 (sql-product-font-lock): Simplify for source code buffers.
15291 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15292 New functions.
15293 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15294 (sql-mode-map): Add statement movement functions.
15295 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15296 New variable.
fbcc67e2
MM
15297 (sql-statement-regexp, sql-beginning-of-statement)
15298 (sql-end-of-statement, sql-signum): New functions.
0757af94 15299 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15300 (sql-show-sqli-buffer): Bug fix.
15301 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15302 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15303 with sql-interactive-mode.
15304 (sql-save-connection): Save buffer local settings.
0757af94 15305 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15306 (sql-product-interactive): Bug fix.
15307 (sql-preoutput-hold): New variable.
15308 (sql-interactive-remove-continuation-prompt): Bug fixes.
15309 (sql-debug-redirect): New variable.
15310 (sql-str-literal): New function.
15311 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15312 Redesign.
fbcc67e2
MM
15313 (sql-oracle-save-settings, sql-oracle-restore-settings)
15314 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15315 (sql-completion-object, sql-completion-column)
15316 (sql-completion-sqlbuf): New variables.
15317 (sql-build-completions-1, sql-build-completions)
15318 (sql-try-completion): New functions.
15319 (sql-read-table-name): Use them.
15320 (sql-contains-names): New buffer local variable.
15321 (sql-list-all, sql-list-table): Use it.
15322 (sql-oracle-completion-types): New variable.
15323 (sql-oracle-completion-object, sql-sqlite-completion-object)
15324 (sql-postgres-completion-object): New functions.
15325
d4eaeab1
GM
153262011-07-06 Glenn Morris <rgm@gnu.org>
15327
15328 * window.el (pop-to-buffer): Doc fix.
15329
322b7dab 153302011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15331
15332 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15333
322b7dab 153342011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15335
322b7dab 15336 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15337
322b7dab 15338 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15339
605dd5bf
CY
153402011-07-05 Chong Yidong <cyd@stupidchicken.com>
15341
15342 * button.el (button): Inherit from link face. Suggested by Dan
15343 Nicolaescu.
15344
7dbfa719
SM
153452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15346
3db614b0
SM
15347 * progmodes/gdb-mi.el: Fit in 80 columns.
15348 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15349 switch-to-buffer.
15350
7dbfa719
SM
15351 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15352 if imenu is simply not configured (bug#8941).
15353
919d884a
KM
153542011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15355
15356 * allout.el (allout-post-undo-hook): New allout outline-change
15357 event hook to signal undo activity.
15358 (allout-post-command-business): Run allout-post-undo-hook if an
15359 undo just occurred.
7dbfa719
SM
15360 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15361 * allout-widgets.el (allout-widgets-after-undo-function):
15362 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15363 in the vicinity of an undo.
15364 (allout-widgets-mode): Include allout-widgets-after-undo-function
15365 on the new allout-post-undo-hook.
15366
450a0f09
SM
153672011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15368
15369 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15370 Let define-derived-mode define it.
15371 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15372 cycles of abbrev-table inheritance (bug#8998).
15373
2de69e00
RW
153742011-07-05 Roland Winkler <winkler@gnu.org>
15375
15376 * textmodes/bibtex.el: Add support for biblatex.
15377 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15378 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15379 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15380 (bibtex-entry-alist, bibtex-field-alist): New variables.
15381 (bibtex-entry-field-alist): Obsolete alias for
15382 bibtex-BibTeX-entry-alist.
15383 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15384 (bibtex-set-dialect): New command.
15385 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15386 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15387 Bind via bibtex-set-dialect.
2de69e00
RW
15388 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15389 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15390 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15391 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15392 Define via bibtex-set-dialect.
450a0f09
SM
15393 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15394 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15395 (bibtex-vec-push, bibtex-vec-incr): New functions.
15396 (bibtex-format-entry, bibtex-field-list)
15397 (bibtex-print-help-message, bibtex-validate)
15398 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15399
2dcdbdd9
SM
154002011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15401
15402 * progmodes/compile.el (compilation-goto-locus):
15403 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15404 * bs.el (bs-cycle-next, bs-cycle-previous):
15405 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15406 * bindings.el (mode-line-other-buffer):
15407 * autoinsert.el (auto-insert):
15408 * arc-mode.el (archive-extract):
15409 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15410
b27640fe
JB
154112011-07-05 Juanma Barranquero <lekktu@gmail.com>
15412
15413 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15414 Fix check of `emacs-lock-unlockable-modes'.
15415 Coerce true values of `emacs-lock--try-unlocking' to t.
15416
53bbe3ad
JB
154172011-07-05 Juanma Barranquero <lekktu@gmail.com>
15418
15419 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15420 * emacs-lock.el: New file.
15421
1d3cdbc7
JD
154222011-07-05 Julien Danjou <julien@danjou.info>
15423
15424 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15425 than `boundp' to check if face is set.
15426
9173deec
JB
154272011-07-05 Juanma Barranquero <lekktu@gmail.com>
15428
15429 * register.el (registerv-make):
15430 * window.el (window-min-height): Fix typos in docstrings.
15431
869795d6
JD
154322011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15433
9173deec 15434 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15435 Update doc string.
15436
b768cdcd
JB
154372011-07-04 Juanma Barranquero <lekktu@gmail.com>
15438
15439 * server.el (server-execute): Catch quit and call
15440 `server-return-error' to pass the error back to emacsclient and
15441 close the connection (bug#8942).
15442
13aa217b
KM
154432011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15444
15445 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15446 insecure exception for current topic. Also note that auto-saves
15447 are handled differently.
15448
5d3385a0 15449 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15450 State variables for tracking auto-save inhibition situation.
15451
15452 (allout-write-contents-hook-handler): Rename from
15453 'allout-write-file-hook-handler', and describe how it depends on
15454 write-contents-functions sensitivity to non-nil value to prevent
15455 file write.
15456
15457 (allout-auto-save-hook-handler): Remove. auto-save does not check
15458 this in individual buffers, only in the starting buffer, so this
15459 is not the right way for us to inhibit auto-save in a buffer
15460 according to its condition.
15461
15462 (allout-mode): Use new allout-write-contents-hook-handler, and
15463 only with write-contents-functions. Remove auto-save provisions -
15464 they're implemented elsewhere.
15465
15466 (allout-before-change-handler): If undo is in progress, note that
15467 for attention of allout-post-command-business.
15468
15469 (allout-post-command-business): If the command we're following was
15470 an undo, check for change in the status of encrypted items and
15471 adjust auto-save inhibitions accordingly.
15472
15473 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15474 according to whether there are or aren't any plain-text topics
15475 pending encryption.
15476
2dcdbdd9 15477 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15478 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15479 if there are plain-text topics pending encryption.
13aa217b
KM
15480
15481 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15482 buffer-saved-size and some allout state to not inhibit auto-saves
15483 if there are no longer any plain-text topics pending encryption.
15484
0757af94
SM
15485 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15486 No longer provide for exemption of the current topic.
13aa217b 15487
ac89b32c
JL
154882011-07-04 Juri Linkov <juri@jurta.org>
15489
15490 Add 7z operations to delete and save changed members (bug#8968).
15491 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15492 New defcustoms.
15493 (archive-7z-write-file-member): New function.
15494 (archive-7z-summarize): Fix the number of dashes in the
15495 listing output.
15496
8fa39615
SM
154972011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15498
15499 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15500 (bug#8958).
15501
2f11b3f1
CY
155022011-07-04 Chong Yidong <cyd@stupidchicken.com>
15503
d66fef2b
CY
15504 * bindings.el: Ignore next-buffer and previous-buffer in
15505 minibuffer-local-map.
15506
2f11b3f1
CY
15507 * font-lock.el (font-lock-builtin-face): Change light background
15508 color to dark slate blue (Bug#6693).
15509
f932a347
WD
155102011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15511
15512 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15513
c8af70e1
SM
155142011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15515
15516 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15517 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15518 Add switch-to-buffer.
15519
f158badc
LMI
155202011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15521
15522 * isearch.el (isearch-search-fun-function): Clarify further the
15523 meaning of the function returned.
15524
6d95bd46
MA
155252011-07-04 Michael Albinus <michael.albinus@gmx.de>
15526
15527 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15528
15529 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15530 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15531 Use it.
15532 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15533 `tramp-default-remote-path' does not exist.
15534 (tramp-send-command-and-read): New optional argument NOERROR.
15535 (tramp-open-connection-setup-interactive-shell)
15536 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15537 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15538 (tramp-process-sentinel): Flush also process' connection property.
15539 (tramp-sh-handle-start-file-process): Do not set process
15540 sentinel. It is done now ...
15541 (tramp-maybe-open-connection): ... here. (Bug#8929)
15542
909e6b67
MK
155432011-07-04 MON KEY <monkey@sandpframing.com>
15544
15545 * play/animate.el (animate-string): Doc fixes and allow changing
15546 the buffer name (bug#5417).
15547
155482011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15549
c8af70e1 15550 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15551
f34755dc
PE
155522011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15553
396cec72
PE
15554 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15555 This is simpler and helps future-proof the code.
15556 (timer-until): Use time-subtract and float-time.
08235028 15557 (timer--time-less-p): Use time-less-p.
f34755dc 15558
56e6cc31
JB
155592011-07-04 Juanma Barranquero <lekktu@gmail.com>
15560
3abb79e5
JB
15561 * type-break.el (timep): Use the value of `float-time' to avoid a
15562 byte-compiler warning.
15563
56e6cc31
JB
15564 * server.el (server-eval-and-print): Return any result, even nil.
15565
7b9430b4
PE
155662011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15567
15568 * type-break.el: Accept time formats that the builtins accept.
15569 (timep, type-break-time-difference): Accept any format that
15570 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15571 This is simpler and helps future-proof the code.
15572 (type-break-time-difference): Round rather than ignoring
15573 subseconds components.
15574
3034e9e7
LMI
155752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15576
15577 * info.el (Info-apropos-matches): Make non-interactive, since it
15578 doesn't seem to do anything useful as a command (bug#8829).
15579
1485f4c0
CY
155802011-07-03 Chong Yidong <cyd@stupidchicken.com>
15581
15582 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15583 Move from faces.el.
1485f4c0
CY
15584 (frame-default-terminal-background): New function.
15585
15586 * custom.el (custom-push-theme): Don't record faces in `changed'
15587 theme; this doesn't work correctly for per-frame face settings.
15588 (disable-theme): Use face-set-after-frame-default to reset faces.
15589 (custom--frame-color-default): New function.
15590
9fa3dd45
LMI
155912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15592
c8af70e1 15593 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15594 (bug#8769).
15595
6cbbc20c
KR
155962011-03-29 Kevin Ryde <user42@zip.com.au>
15597
15598 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15599 `perl-Test2' extend to match possible "fail #N" rep count
15600 (bug#8377).
15601
c7f98048
LMI
156022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15603
65676592
LMI
15604 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15605 `smtpmail-via-smtp' now returns the error instead of nil.
15606
c7f98048
LMI
15607 * isearch.el (isearch-search-fun-function): Clarify the doc string
15608 (bug#8101).
15609
56e6cc31 156102011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15611
15612 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15613 unnecessary spaces (bug#8987).
15614
2b216704
LMI
156152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15616
15617 * net/network-stream.el (open-network-stream): Use the
15618 :end-of-capability command thoughout.
15619
156202011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15621
15622 * net/network-stream.el (open-network-stream): Add the
15623 :end-of-capability command parameter, used by pop3.el.
15624
36adf6ce
LMI
156252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15626
1ca0da0e
LMI
15627 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15628
fc00f69c
LMI
15629 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15630 for list)" (bug#6475).
15631
28fd8759 15632 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15633 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15634 an error (bug#6297).
15635
0dd8b6da
LMI
15636 * man.el (Man-reference-regexp): Allow matching possible
15637 word-wrapped references (bug#6289).
15638
ce1438d6
LMI
15639 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15640 for consistency with the other vc buffers (bug#6197).
15641 (vc-checkin): Ditto.
15642
15643 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15644
36adf6ce
LMI
15645 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15646
e83cc1f7
LMI
156472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15648
8a20ca4c
LMI
15649 * custom.el (defcustom): Clarify that :set is only used in the
15650 Customize user interface (bug#6089).
15651
83319045
LMI
15652 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15653 associated with a file, refuse to run instead of erroring out
15654 (bug#6084).
15655
a8392169
LMI
15656 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15657 the doc string, since it appears that using `fill-column' always
15658 controls the width (bug#7845).
15659
e83cc1f7
LMI
15660 * simple.el (shell-command-on-region): Say where the error output
15661 went if `shell-command-default-error-buffer' is set (bug#6857).
15662
e47ca23b
KM
156632011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15664
15665 * allout.el (allout-yank-processing): Adjust cursor position for
15666 backwards-deleted space.
15667
15668 (allout-rebullet-heading): Register changes with
15669 allout-exposure-changed-hook, so the modified topic is properly
15670 decorated.
15671
5cf56143
LMI
156722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15673
08549772
LMI
15674 * minibuffer.el (completion-in-region): Document PREDICATE
15675 (bug#7136).
15676
48e96771
LMI
15677 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15678 of keyword/argument pairs (bug#6904).
15679
c8af70e1
SM
15680 * replace.el (multi-occur):
15681 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15682
e17d05e2
LMI
156832011-07-02 Drew Adams <drew.adams@oracle.com>
15684
15685 * dired.el (dired-mark-if): Make the message about whether it's
15686 marking or unmarking clearer (bug#8523).
15687
063b0e45
LMI
156882011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15689
15690 * disp-table.el (display-table-print-array): New function.
15691 (describe-display-table): Use it to print the vectors more pretty
15692 (Bug#8859).
15693
28545e04
MR
156942011-07-02 Martin Rudalics <rudalics@gmx.at>
15695
15696 * window.el (window-state-get-1): Don't assign clone numbers.
15697 Add clone-of item to list of window parameters.
15698 (window-state-put-2): Don't process clone numbers.
15699 (display-buffer-alist): Fix doc-string.
15700
3349e122
SM
157012011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15702
15703 * subr.el (remq): Don't allocate if it's not needed.
15704 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15705 (keymap--merge-bindings): New functions.
15706 (keymap-canonicalize): Use them to refine the canonicalization.
15707 * minibuffer.el (minibuffer-local-completion-map)
15708 (minibuffer-local-must-match-map): Move initialization from C.
15709 (minibuffer-local-filename-completion-map): Move initialization from C;
15710 don't inherit from anything here.
15711 (minibuffer-local-filename-must-match-map): Make obsolete.
15712 (completing-read-default): Use make-composed-keymap to combine
15713 minibuffer-local-filename-completion-map with either
15714 minibuffer-local-must-match-map or
15715 minibuffer-local-filename-completion-map.
15716
d224ac83
GM
157172011-07-01 Glenn Morris <rgm@gnu.org>
15718
3de63bf8
GM
15719 * type-break.el (type-break-time-sum): Use dolist.
15720
d224ac83
GM
15721 * textmodes/flyspell.el (flyspell-word-search-backward):
15722 Replace CL function.
15723
1a1e3f32
SM
157242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15725
fe3f64d5
SM
15726 * mouse.el (mouse--strip-first-event): New function.
15727 (function-key-map): Use it to map fringe clicks to normal clicks
15728 by default.
15729
eb604e34
SM
15730 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15731 (vc-bzr-revision-completion-table): Add support for annotate and date.
15732
1a1e3f32
SM
15733 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15734 inherit from parent.
15735
5bd35902
LMI
157362011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15737
ace6c69c 15738 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15739 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15740
191e2bed
LMI
15741 * dired.el (dired-mode): Fix up the doc string as suggested by
15742 Drew Adams (bug#8817).
15743
5bd35902
LMI
15744 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15745 cookie, since the manual says that it should be possible to add
15746 this function to `find-file-hook' (bug#8709).
15747
eee8207a
TZ
157482011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15749
15750 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15751 here. Noted Ted Zlatanov as the maintainer.
15752 (cfengine-common-settings, cfengine-common-syntax): New functions
15753 to set up common things between `cfengine-mode' and
15754 `cfengine3-mode'.
15755 (cfengine3-mode): New mode.
15756 (cfengine3-defuns cfengine3-defuns-regex
15757 (cfengine3-class-selector-regex cfengine3-category-regex)
15758 (cfengine3-vartypes cfengine3-font-lock-keywords)
15759 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15760 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15761
36b148cf
MA
157622011-07-01 Michael Albinus <michael.albinus@gmx.de>
15763
15764 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15765
15766 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15767
0bf4ba9a
MR
157682011-07-01 Martin Rudalics <rudalics@gmx.at>
15769
15770 * window.el (same-window-buffer-names, same-window-regexps)
15771 (same-window-p, special-display-frame-alist)
15772 (special-display-popup-frame, special-display-function)
15773 (special-display-buffer-names, special-display-regexps)
15774 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15775 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15776 (split-window-preferred-function, split-height-threshold)
15777 (split-width-threshold, even-window-heights)
15778 (display-buffer-mark-dedicated, window-splittable-p)
15779 (split-window-sensibly, window-safely-shrinkable-p):
15780 Un-obsolete.
15781 (display-buffer): Don't spread args with function specifier
15782 because special-display-popup-frame won't like it.
15783
35837f51
PE
157842011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15785
d0672f86
PE
15786 Time-stamp simplifications and fixes.
15787 These improve accuracy slightly, and future-proof the code
15788 against some potential changes to current-time format.
15789
b9444d97
PE
15790 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15791 by using time-since and float-time.
15792
0ef923dc
PE
15793 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15794 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15795 + NNN microseconds".
15796
2f81380d
PE
15797 * type-break.el (type-break-time-sum): Rewrite using time-add.
15798
845b5c3e
PE
15799 * play/hanoi.el (hanoi-current-time-float): Remove.
15800 All uses replaced by float-time.
15801
ee6f1be0
PE
15802 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15803 This yields a more-accurate answer.
15804 (rng-time-to-float): Remove; no longer needed.
15805
fe955043
PE
15806 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15807
5777162a
PE
15808 * calendar/timeclock.el (timeclock-seconds-to-time):
15809 Defalias to seconds-to-time, since they're the same thing.
15810
3103f8b6 15811 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15812 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15813 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15814
0e61a35f
SM
158152011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15816
15817 * window.el (bury-buffer): Don't iconify the only frame.
15818 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15819 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15820
ddd63a1e
CY
158212011-07-01 Chong Yidong <cyd@stupidchicken.com>
15822
0e61a35f
SM
15823 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15824 Add mouse-yank-primary.
ddd63a1e 15825
055f4923
TZ
158262011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15827
15828 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15829
6a2fb145
SM
158302011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15831
15832 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15833 (find-library-name): Use it to find relative load names when provided
15834 absolute file name (bug#8803).
15835
fd4983f2
LMI
158362011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15837
887d14ad
LMI
15838 * textmodes/flyspell.el (flyspell-word): Consider words that
15839 differ only in case as potential doublons (bug#5687).
15840
c53dc7fc
LMI
15841 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15842 Remove two rather uninteresting debugging-like messages to make
15843 debbugs.el more silent.
15844
fd4983f2
LMI
15845 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15846 a password-like phrase.
15847
7a71b18d 158482011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15849
15850 * progmodes/cc-guess.el: New file.
15851
6a2fb145 15852 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15853
15854 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15855 derived from `c-basic-common-init'.
15856
15857 * progmodes/cc-mode.el (top-level): Require cc-guess.
15858 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15859
1fa280a3
LM
158602011-06-30 Lawrence Mitchell <wence@gmx.li>
15861
15862 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15863
e6597158
AM
158642011-06-30 Alan Mackenzie <acm@muc.de>
15865
1fa280a3
LM
15866 * progmodes/cc-engine.el (c-guess-continued-construct):
15867 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15868 lock is disabled. Name this case as "CASE G".
15869
68ba37fb
KM
158702011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15871
15872 * allout.el (allout-yank-processing): Fix injection of extra space
15873 between bullet and non-whitespace character in first topic when
15874 pasting, ensuring that the actual spacing in the pasted topic
15875 following the bullet char is preserved. This extra space was
15876 causing pasted encrypted topics to get a decrypted status even
15877 when the content was actually still encrypted. Now the decryption
15878 status from before the paste is preserved.
15879
15880 (allout-flag-region): Set all allout overlays so they evaporate
15881 when reduced to zero length (evanescent), to prevent overlay
15882 leakage.
15883
887a0b34
GM
158842011-06-30 Glenn Morris <rgm@gnu.org>
15885
94b9acce
GM
15886 * w32-fns.el (w32-charset-info-alist): Declare.
15887
1d9b46d4
GM
15888 * find-dired.el (find-grep-options): Simplify.
15889
cc232200
GM
15890 * term/ns-win.el (ns-set-resource): Declare.
15891
28e77c46
GM
15892 * ses.el (row, col): Declare dynamic variables honestly.
15893
887a0b34
GM
15894 * textmodes/reftex-parse.el (index-tags): Declare.
15895
658d8eb8
CY
158962011-06-30 Chong Yidong <cyd@stupidchicken.com>
15897
15898 * cus-edit.el (customize-push-and-save): New function.
15899
15900 * files.el (hack-local-variables-confirm): Use it.
15901
1fa280a3
LM
15902 * custom.el (load-theme): New arg NO-CONFIRM.
15903 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15904 (custom-enabled-themes): Doc fix.
15905
15906 * cus-theme.el (customize-create-theme)
15907 (custom-theme-merge-theme): Callers to load-theme changed.
15908
bb617717
LMI
159092011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15910
d61bdd5d
LMI
15911 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15912 short URLs have at least one dot in them (bug #7614).
15913
bb617717
LMI
15914 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15915 nil, because using a pty is apparently too slow (bug #895).
15916
2f31f37a
LMI
159172011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15918
15919 * mail/sendmail.el (sendmail-query-once): New function.
15920 (sendmail-query-once-function): New variable.
15921
3076b24e
GM
159222011-06-29 Glenn Morris <rgm@gnu.org>
15923
faf2a174
GM
15924 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15925
3076b24e
GM
15926 * ses.el (top-level): Require cl when compiling.
15927 (ses-set-localvars): Fix error statement.
15928 Call it at compile time to silence a storm of warnings.
15929
5386012d
MR
159302011-06-29 Martin Rudalics <rudalics@gmx.at>
15931
15932 * window.el (normalize-live-buffer): Rename to
15933 window-normalize-buffer.
15934 (normalize-live-frame): Rename to window-normalize-frame.
15935 (normalize-any-window): Rename to window-normalize-any-window.
15936 (normalize-live-window): Rename to window-normalize-live-window.
15937 (make-window-atom): Rename to window-make-atom.
15938 (window-resize-reset): Rename to window--resize-reset.
15939 (window-resize-reset-1): Rename to window--resize-reset-1.
15940 (resize-mini-window): Rename to window--resize-mini-window.
15941 (resize-subwindows-skip-p): Rename to
15942 window--resize-subwindows-skip-p.
15943 (resize-subwindows-normal): Rename to
15944 window--resize-subwindows-normal.
15945 (resize-subwindows): Rename to window--resize-subwindows.
15946 (resize-other-windows): Rename to window--resize-siblings.
15947 (resize-this-window): Rename to window--resize-this-window.
15948 (resize-root-window): Rename to window--resize-root-window.
15949 (resize-root-window-vertically): Rename to
15950 window--resize-root-window-vertically.
15951 (normalize-buffer-to-display): Rename to
15952 window-normalize-buffer-to-display.
15953 (normalize-buffer-to-switch-to): Rename to
15954 window-normalize-buffer-to-switch-to.
15955 Correspondingly update all callers of the functions listed
15956 above.
15957 (display-buffer-alist, display-buffer-normalize-arguments)
15958 (display-buffer-normalize-options, display-buffer)
15959 (display-buffer-alist-set): Use "function" instead of
15960 "fun-with-args".
15961
1176868d
CY
159622011-06-28 Chong Yidong <cyd@stupidchicken.com>
15963
15964 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15965 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15966 debbugs.gnu.org. Mention acknowledgment email.
15967
20a7a65f
LMI
159682011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15969
15970 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15971 buffer multibyteness, since it shouldn't matter.
15972
5f45cca5
MR
159732011-06-28 Martin Rudalics <rudalics@gmx.at>
15974
15975 * window.el (display-buffer-in-side-window): Handle dedicated
15976 windows as in display-buffer-reuse-window.
15977 (display-buffer-normalize-alist): Use value of override
15978 specifier.
15979 (display-buffer-normalize-specifiers): Use value of
15980 other-window-means-other-frame specifier.
15981 (display-buffer-alist): Rewrite some texts in widgets.
15982 (display-buffer): Spread arguments when calling function
15983 specified by fun-with-args.
15984
ad85fe1f
DD
159852011-06-28 Deniz Dogan <deniz@dogan.se>
15986
1fa280a3
LM
15987 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15988 Unnest `let'.
da68c4c8 15989
ad85fe1f
DD
15990 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15991 selectors (Bug#5732).
ec49bd31 15992 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 15993
a08cc025
JA
159942011-06-27 Jari Aalto <jari.aalto@cante.net>
15995
15996 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15997 (eshell-ls-date-format): New defcustom.
15998 (eshell-ls-file): Use it.
15999
e2b551c5
SM
160002011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16001
16002 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16003
8982b231
KY
160042011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16005
16006 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16007 (ange-ftp-make-tmp-name): New arg.
16008 (ange-ftp-file-local-copy): Use it.
16009
36c9fa27
J
160102011-06-27 Jambunathan K <kjambunathan@gmail.com>
16011
16012 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16013 no-conversion (Bug#8870).
16014
d68443dc
MR
160152011-06-27 Martin Rudalics <rudalics@gmx.at>
16016
16017 * window.el (window-right, window-left, window-child)
16018 (window-child-count, window-last-child)
16019 (window-iso-combination-p, walk-window-tree-1)
16020 (window-atom-check-1, window-tree-1, delete-window)
16021 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16022 new naming conventions - window-vchild, window-hchild,
16023 window-next and window-prev are now called window-top-child,
16024 window-left-child, window-next-sibling and window-prev-sibling
16025 respectively.
d615d6d2
MR
16026 (resize-window-reset): Rename to window-resize-reset.
16027 (resize-window-reset-1): Rename to window-resize-reset-1.
16028 (resize-window): Rename to window-resize.
16029 (window-min-height, window-min-width)
16030 (resize-mini-window, resize-this-window, resize-root-window)
16031 (resize-root-window-vertically, adjust-window-trailing-edge)
16032 (enlarge-window, shrink-window, maximize-window)
16033 (minimize-window, delete-window, quit-restore-window)
16034 (split-window, balance-windows, balance-windows-area-adjust)
16035 (balance-windows-area, window-state-put-2)
16036 (display-buffer-even-window-sizes, display-buffer-set-height)
16037 (display-buffer-set-width, set-window-text-height)
16038 (fit-window-to-buffer): Rename all "resize-window" prefixed
16039 calls to use the "window-resize" prefix convention.
16040 (display-buffer-alist): Fix symbol for label specifier.
16041 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16042 corresponding specifier.
16043 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16044
b6458526
VB
160452011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16046
16047 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16048 convention.
16049 (ses-call-printer): Does not pass an empty string to formatter when the
16050 cell is empty to keep from barking printer Calc math-format-value.
16051
d31fd9ac
RS
160522011-06-27 Richard Stallman <rms@gnu.org>
16053
43d5bf84
RS
16054 * battery.el (battery-mode-line-limit): New variable.
16055 (battery-update): Handle it.
16056
d31fd9ac
RS
16057 * mail/rmailmm.el (rmail-mime-process-multipart):
16058 Handle truncated messages.
16059
819a6054
GM
160602011-06-27 Glenn Morris <rgm@gnu.org>
16061
16062 * progmodes/flymake.el (flymake-err-line-patterns):
16063 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16064
cedc73f2
VB
160652011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16066
819a6054 16067 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16068 (ses--clean-!, ses--clean-_): New functions.
16069 (ses-range): Add configurability of readout order, and conversion
16070 to Calc vector.
16071
5e5d49b6
VB
16072 * ses.el (ses-repair-cell-reference-all): New function.
16073 (ses-cell-symbol): Set macro as safe, so that it can be used in
16074 formulas.
16075
56e6cc31 16076 * ses.el: Update cycle detection algorithm.
90ca8b49 16077 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16078 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16079 (ses-set-localvars): New function.
16080 (ses-make-cell): Add property-list as a cell element.
16081 (ses-cell-property-get-fun, ses-cell-property-get)
16082 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16083 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16084 New functions.
90ca8b49
VB
16085 (ses-cell-property-set, ses-cell-property-pop)
16086 (ses-cell-property-get-handle): New macro.
16087 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16088 New aliases, used for code readability.
16089 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16090 cycle detection.
16091 (ses-self-reference-early-detection): New defcustom.
fac916bf 16092 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16093 (ses-mode): Use ses-set-localvars.
16094 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16095 before lauching the update processing.
16096 (ses-initialize-Dijkstra-attempt): New function.
16097 (ses-recalculate-cell): Update for cycle detection based on
16098 Dijkstra algorithm.
16099
2bb63e81
VB
16100 * ses.el: Fix commenting and indenting convention.
16101
c9d29fb8
SM
161022011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16103
16104 * bs.el (bs-cycle-next): Complete last change.
16105
d8e4b68b
JB
161062011-06-27 Drew Adams <drew.adams@oracle.com>
16107
16108 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16109
40098786
LMI
161102011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16111
c9d29fb8
SM
16112 * net/network-stream.el (network-stream-open-starttls):
16113 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16114 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16115
40098786
LMI
16116 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16117 to binary to possibly avoid line encoding issues on Windows (among
16118 other things).
16119
468d09d4
LMI
161202011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16121
16122 * net/network-stream.el (open-network-stream): Return an :error
16123 saying what the problem was, if possible.
16124
16125 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16126 server.
16127
16128 * net/network-stream.el (network-stream-open-starttls): If we
16129 wanted to use STARTTLS, and the server offered it, but we weren't
16130 able to because we had no STARTTLS support, then close the connection.
16131 (open-network-stream): Return an :error element, if present.
16132
16f07dd7
CY
161332011-06-26 Chong Yidong <cyd@stupidchicken.com>
16134
88821ca0
CY
16135 * hl-line.el (hl-line-sticky-flag): Doc fix.
16136 (global-hl-line-sticky-flag): New option (Bug#8323).
16137 (global-hl-line-highlight): Obey it.
16138
16f07dd7
CY
16139 * vc/vc.el (vc-revert-show-diff): Default to t.
16140
6b5ccddf
KM
161412011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16142
c9d29fb8
SM
16143 * allout-widgets.el (allout-widgets-post-command-business):
16144 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16145 undecorated when an isearch is continued past, and isearch
16146 automatically collapses them. This leads to "widget leaks", where
16147 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16148 hidden widgets can slow down cursor travel, substantially.
16149 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16150 so we're doing without this nicety.
16151
16152 (allout-widgets-tally-string): Don't try to do a hash-table-count
16153 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16154 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16155 *Messages* when allout-widgets-maintain-tally is t.
16156
355f2e07
MR
161572011-06-26 Martin Rudalics <rudalics@gmx.at>
16158
16159 * window.el (display-buffer-normalize-argument): Rename to
16160 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16161 LABEL argument. Respect special-display-function when popping up
16162 a new frame. Fix code searching for a window showing the buffer
16163 on another frame.
c9d29fb8
SM
16164 (display-buffer-normalize-specifiers):
16165 Call display-buffer-normalize-arguments.
355f2e07
MR
16166 (display-buffer-in-window): Don't undedicate the window if its
16167 buffer remains the same.
16168 Reported by Drew Adams <drew.adams@oracle.com>.
16169 (display-buffer-alist): Add choice for same-window macro
16170 specfier.
16171 (display-buffer): Mention special meaning of LABEL argument in
16172 doc-string. Fix quoting. Don't pop up a new frame even as
16173 fallback.
16174
7ca8fc42
JB
161752011-06-26 Juanma Barranquero <lekktu@gmail.com>
16176
16177 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16178 avoid deleting the current window in some cases (bug#8911).
16179
bc312254
AS
161802011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16181
16182 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16183 (Bug#8934)
16184
2db18f3f
LMI
161852011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16186
c9d29fb8
SM
16187 * net/network-stream.el (network-stream-open-starttls):
16188 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16189 (network-stream-open-tls): Ditto.
16190
6302e0d3
LL
161912011-06-26 Leo Liu <sdl.web@gmail.com>
16192
16193 * register.el (registerv): New struct.
16194 (registerv-make): New function.
c9d29fb8
SM
16195 (jump-to-register, describe-register-1, insert-register):
16196 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16197 struct. (Bug#8415)
16198
5fdd4046
CY
161992011-06-26 Chong Yidong <cyd@stupidchicken.com>
16200
2afef60a
CY
16201 * vc/vc.el (vc-revert-show-diff): New defcustom.
16202 (vc-diff-internal): New arg specifying diff buffer.
16203 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16204 reuse an existing *vc-diff* buffer (Bug#8927).
16205
5fdd4046
CY
16206 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16207
e93db24a
GM
162082011-06-26 Glenn Morris <rgm@gnu.org>
16209
16210 * progmodes/f90.el (f90-critical-indent): New option.
16211 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16212 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16213 (f90-mode): Doc fix.
16214 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16215 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16216 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16217 (f90-match-end): Handle block, critical.
16218
eefff499
GM
162192011-06-25 Glenn Morris <rgm@gnu.org>
16220
f6ba4cc9
GM
16221 * calendar/diary-lib.el (diary-included-files): Doc fix.
16222 (diary-include-files): New function, extracted from
16223 diary-include-other-diary-files and diary-mark-included-diary-files.
16224 (diary-include-other-diary-files, diary-mark-included-diary-files):
16225 Just call diary-include-files.
16226 (diary-mark-entries): Reset diary-included-files on first call.
16227
16712304
GM
16228 * calendar/diary-lib.el (diary-mark-entries)
16229 (diary-mark-included-diary-files):
16230 Visit included diary-files in temp buffers.
16231
5d8e0d43
GM
16232 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16233 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16234 (f90-start-block-re, f90-imenu-generic-expression)
16235 (f90-looking-at-program-block-start, f90-no-block-limit):
16236 Add support for submodules.
16237
ccf7a5d5
GM
16238 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16239 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16240
11fdef7d 162412011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16242
16243 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16244 buffer-file-type before setting its value, to avoid disastrous
eefff499 16245 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16246
74f53697
JB
162472011-06-25 Juanma Barranquero <lekktu@gmail.com>
16248
16249 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16250
16251 * ses.el (ses-unload-function):
16252 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16253
16254 * proced.el (proced-unload-function):
16255 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16256
18a4ce5e
AR
162572011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16258
16259 * server.el (server-create-window-system-frame): Add parameters arg.
16260 (server-process-filter): Doc fix. Handle frame-parameters.
16261
519d22cc
JB
162622011-06-25 Juanma Barranquero <lekktu@gmail.com>
16263
16264 Fix bug#8730, bug#8781.
16265
16266 * loadhist.el (unload--set-major-mode): New function.
16267 (unload-feature): Use it.
16268
16269 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16270 (python-unload-function): New function.
16271
c206f5b0
SM
162722011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16273
16274 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16275
f9ad64f3
GS
162762011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16277
16278 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16279 the candidates list.
16280
7d0da90e
JB
162812011-06-24 Juanma Barranquero <lekktu@gmail.com>
16282
16283 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16284
14b4e83d
RS
162852011-06-23 Richard Stallman <rms@gnu.org>
16286
16287 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16288 (rmail-variables): Set next-error-move-function.
16289 (rmail-what-message): Take argument POS.
16290 (rmail-next-error-move): New function.
16291
273d2baf
SM
162922011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16293
16294 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16295 messages for adjacent non-terminals.
16296
56c2cc9a
RS
162972011-06-23 Richard Stallman <rms@gnu.org>
16298
16299 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16300 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16301 (rmail-start-mail): Don't specify use of rmail-mail-return;
16302 that's done by mail-bury now.
16303 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16304
d59eb518
MA
163052011-06-23 Michael Albinus <michael.albinus@gmx.de>
16306
16307 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16308 SIZE is a number.
16309
02cfc6d6
MR
163102011-06-23 Martin Rudalics <rudalics@gmx.at>
16311
16312 * window.el (get-lru-window, get-mru-window)
16313 (get-largest-window): Never return a minibuffer window.
16314 (display-buffer-pop-up-window): Fix a bug that could lead to
16315 reusing the minibuffer window.
16316 (display-buffer): Pass original specifier argument to
16317 display-buffer-function instead of the normalized one.
16318 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16319
4e323265
LL
163202011-06-22 Leo Liu <sdl.web@gmail.com>
16321
16322 * minibuffer.el (completing-read-function)
16323 (completing-read-default): Move from minibuf.c
16324
7a70468f
RS
163252011-06-22 Richard Stallman <rms@gnu.org>
16326
50718fc2
RS
16327 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16328 to Rmail even if not started by a special Rmail command.
16329
7a70468f
RS
16330 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16331 Copy the buffer currently showing just one message.
16332
297dde5a
RW
163332011-06-22 Roland Winkler <winkler@gnu.org>
16334
16335 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16336 (bibtex-clean-entry): First delete the old key so that a
16337 customized algorithm for generating the new key does not get
16338 confused by the old key.
16339 (bibtex-url): Obey regexp of first step.
16340 (bibtex-search-entries): Do not use add-to-list with local
16341 list-var.
16342
97bb1093
LMI
163432011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16344
16345 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16346 stored a user name, then query for the password first, instead of
16347 waiting for SMTP to give an error message and the trying again.
16348
1c0f1a19
JD
163492011-06-22 Lawrence Mitchell <wence@gmx.li>
16350
16351 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16352 BUFFER in call-process.
16353
396f7c9d
LMI
163542011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16355
16356 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16357 QUIT twice.
ddb7ffee
LMI
16358 (smtpmail-try-auth-methods): Require user name and password from
16359 auth-source.
396f7c9d 16360
8998d1b3
MR
163612011-06-22 Martin Rudalics <rudalics@gmx.at>
16362
16363 * window.el (display-buffer-default-specifiers)
16364 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16365 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16366 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16367
16368 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16369 (special-display-frame-alist, special-display-popup-frame):
16370 Remove duplicate declarations. These are now in window.el.
16371
4ea31e07
LMI
163722011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16373
c9d29fb8
SM
16374 * mail/smtpmail.el (smtpmail-via-smtp):
16375 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16376 server supports it. SMTP servers that support STARTTLS commonly
16377 require it.
16378
16379 * net/network-stream.el (network-stream-open-starttls): Support
16380 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16381 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16382
95f41d9a
LMI
16383 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16384 upgrades with `open-network-stream', and rely solely on
16385 auth-source for all credentials. Big changes throughout the file,
16386 but in particular:
c9d29fb8
SM
16387 (smtpmail-auth-credentials): Remove.
16388 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16389 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16390 MAIL FROM, too.
95f41d9a 16391
c9d29fb8
SM
16392 * net/network-stream.el (network-stream-open-starttls):
16393 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16394 STARTTLS.
16395 (auth-source): Require.
16396 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16397 (network-stream-certificate): Change cert-cert to cert and
16398 cert-key to key.
4ea31e07 16399
065ec2c7
MA
164002011-06-21 Michael Albinus <michael.albinus@gmx.de>
16401
16402 * net/tramp-cache.el (top): Don't load the persistency file when
16403 "emacs -Q" has been called.
16404
cd93b359
DR
164052011-06-21 Tim Harper <timcharper@gmail.com>
16406
d8e4b68b
JB
16407 * term/ns-win.el (ns-initialize-window-system):
16408 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16409 resource to NO as it is not yet supported by the NS port.
16410
ae9c0411
JB
164112011-06-21 Juanma Barranquero <lekktu@gmail.com>
16412
16413 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16414 (list-dynamic-libraries): ...not here.
16415
7f3f739f
LL
164162011-06-21 Leo Liu <sdl.web@gmail.com>
16417
16418 * subr.el (sha1): Implement sha1 using secure-hash.
16419
327c8fb1
MR
164202011-06-21 Martin Rudalics <rudalics@gmx.at>
16421
16422 * window.el (display-buffer-alist): In default value do not
16423 enforce searching a window on any but the selected frame.
16424 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16425 (display-buffer-select-window): Remove function.
16426 (display-buffer-in-window): When a window on another frame gets
16427 reused, do not select it any more but just raise its frame if
16428 necessary (Bug#8851) and (Bug#8856).
16429 (display-buffer-normalize-options): Handle pop-up-frames related
16430 options more faithfully.
16431 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16432 window if it is on another frame.
c9d29fb8
SM
16433 (display-buffer-alist, display-buffer-default-specifiers):
16434 Don't make new frame unsplittable by default.
9e9de014
MR
16435 (display-buffer-normalize-argument): Fix doc-string typo and use
16436 'same-frame-other-window instead of 'other-window when associating
16437 with display-buffer-macro-specifiers.
327c8fb1 16438
7cf3f556
VB
164392011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16440
16441 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16442 New functions.
16443 (5x5-mode-map, 5x5-mode-menu): Bind them.
16444 (5x5-draw-grid): Tweak the solver's rendering.
16445
60a406cf
SM
164462011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16447
16448 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16449 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16450
d8e4b68b 164512011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16452
16453 * menu-bar.el: Use function variable instead of switch-to-buffer.
16454 (menu-bar-select-buffer-function): New variable.
60a406cf 16455 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16456
478d6f95
SM
164572011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16458
16459 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16460 variable's status.
16461
ca530739
JD
164622011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16463
16464 * x-dnd.el (x-dnd-version-from-flags)
16465 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16466 and long as number (Bug#8899).
16467 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16468
bcd70d97
SM
164692011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16470
60a406cf 16471 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16472 (completion-try-completion, completion-all-completions): Compute the
16473 metadata argument if it's missing; make it optional (bug#8795).
16474
60a406cf 16475 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16476 (widget-complete): Use new :completion-function property.
16477 (widget-completions-at-point): New function.
16478 (default): Use :completion-function instead of :complete.
60a406cf
SM
16479 (widget-default-completions): Rename from widget-default-complete;
16480 Rewrite.
bcd70d97
SM
16481 (widget-string-complete, widget-file-complete, widget-color-complete):
16482 Remove functions.
16483 (file, symbol, function, variable, coding-system, color):
16484 * international/mule-cmds.el (default-input-method, charset)
16485 (language-info-custom-alist):
16486 * cus-edit.el (face): Use new property :completions.
16487
16488 * progmodes/pascal.el (pascal-completions-at-point): New function.
16489 (pascal-mode): Use it.
16490 (pascal-mode-map): Use completion-at-point.
16491 (pascal-toggle-completions): Make obsolete.
16492 (pascal-complete-word, pascal-show-completions):
16493 * progmodes/octave-mod.el (octave-complete-symbol):
16494 Redefine as obsolete alias.
16495 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16496 Signal absence of completion info for old Octave,
16497 (inferior-octave-complete): Redefine as obsolete alias.
16498 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16499 (meta-completions-at-point): Rename from meta-complete-symbol and
16500 adapt it for use on completion-at-point-functions.
16501 (meta-common-mode): Use it.
16502 (meta-looking-at-backward, meta-match-buffer): Remove.
16503 (meta-complete-symbol): Redefine as obsolete alias.
16504 (meta-common-mode-map): Use completion-at-point.
16505 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16506 (makefile-mode-map): Use completion-at-point.
16507 (makefile-completions-at-point): Rename from makefile-complete and
16508 adapt it for use on completion-at-point-functions.
16509 (makefile-mode): Use it.
16510 (makefile-complete): Redefine as obsolete alias.
16511
aebf69c8
DD
165122011-06-20 Deniz Dogan <deniz@dogan.se>
16513
16514 * net/rcirc.el: Delete trailing whitespaces once and for all.
16515
bfbbb27d
DC
165162011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16517
16518 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16519
d264a46b
CY
165202011-06-19 Chong Yidong <cyd@stupidchicken.com>
16521
4ca009e5
CY
16522 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16523
d264a46b
CY
16524 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16525
fbf5b3ce
MR
165262011-06-19 Martin Rudalics <rudalics@gmx.at>
16527
16528 * window.el (display-buffer-other-window-means-other-frame):
16529 Call display-buffer-normalize-alist.
16530 (display-buffer-normalize-specifiers-1): Rename to
16531 display-buffer-normalize-argument. New argument other-frame.
16532 Rewrite.
16533 (display-buffer-normalize-specifiers-2): Rename to
16534 display-buffer-normalize-options.
16535 (display-buffer-normalize-alist-1): New function.
16536 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16537 display-buffer-normalize-alist.
16538 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16539 (display-buffer-normalize-options-inhibit): New variable.
16540 (display-buffer-normalize-specifiers): Rewrite calling
16541 display-buffer-normalize-alist,
16542 display-buffer-normalize-argument, and
16543 display-buffer-normalize-options. Don't call the latter if
16544 display-buffer-normalize-options-inhibit is non-nil.
16545 (frame-auto-delete): New option.
16546 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16547 (window-list-no-nils, window-state-ignored-parameters)
16548 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16549 (window-state-put-1, window-state-put-2, window-state-put):
16550 New functions.
9a028c23
MR
16551 (display-buffer-normalize-options): Move special-display-p group
16552 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16553
6d10d800
CY
165542011-06-18 Chong Yidong <cyd@stupidchicken.com>
16555
6420d28b
CY
16556 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16557 groups (Bug#8776).
16558 (rx-submatch-n): New function.
16559 (rx): Document it.
16560
ddb8b596
CY
16561 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16562 (Bug#8768).
16563
16564 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16565
77080289
CY
16566 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16567
61dfb316
CY
16568 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16569 anytime existing face settings are present (Bug#8889).
16570
6d10d800
CY
16571 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16572 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16573 Remove unused argument.
16574
be3fb2b8
MR
165752011-06-18 Martin Rudalics <rudalics@gmx.at>
16576
bcd70d97
SM
16577 * window.el (display-buffer-default-specifiers):
16578 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16579 pop-up-window-min-width, and another reuse-window specifier
16580 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16581 (display-buffer-normalize-specifiers-2):
16582 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16583 pop-up-windows is unset. Add a reuse-window specifier for the
16584 case popping up a new window fails.
16585 (special-display-popup-frame): Remove double quoting.
28dec25a 16586 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16587
1c6d8c76
SM
165882011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16589
16590 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16591 according to comint-completion-addsuffix.
16592
16593 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16594 (pcomplete-suffix-list): Mark as obsolete.
16595 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16596 pcomplete-seen in the closure.
16597 (pcomplete-comint-setup): Setup completion-at-point as well.
16598 (pcomplete--entries): New function.
16599 (pcomplete--env-regexp): New var.
16600 (pcomplete-entries): Rewrite to work with partial-completion and
16601 without relying on pcomplete-suffix-list.
16602 (pcomplete-pare-list): Remove, unused.
16603
25aef8b8
MR
166042011-06-17 Martin Rudalics <rudalics@gmx.at>
16605
16606 * window.el (display-buffer-alist): Set pop-up-window-min-height
16607 and pop-up-window-min-width in default value. Reported by
16608 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16609 other-window-means-other-frame.
16610 (display-buffer-macro-specifiers): Comment out entry for
16611 other-window specifier.
16612 (display-buffer-other-window-means-other-frame): New function.
16613 (display-buffer-normalize-specifiers-1): New arguments
16614 buffer-name and label. Treat other-window case specially.
16615 (display-buffer-normalize-specifiers-2): Treat other-window case
16616 specially.
16617 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16618 (display-buffer-normalize-specifiers):
16619 Call display-buffer-normalize-specifiers-3.
25aef8b8 16620
dbad4f69
MR
166212011-06-17 Martin Rudalics <rudalics@gmx.at>
16622
16623 * window.el (same-window-p): Fix two typos introduced when
16624 adding with-no-warnings.
d1067961
MR
16625 (display-buffer-normalize-specifiers-1): Don't check
16626 pop-up-frames for 'unset initialization.
16627 (display-buffer-normalize-specifiers-2): Major rewrite using
16628 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16629 (pop-up-frames, display-buffer-reuse-frames)
16630 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16631 Suggested by David Engster <deng@randomsample.de>.
16632 (even-window-heights): Initialize to 'unset.
16633 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16634 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16635 other window case.
dbad4f69 16636
9b9c9e3a
MR
166372011-06-16 Martin Rudalics <rudalics@gmx.at>
16638
bcd70d97
SM
16639 * window.el (display-buffer-normalize-specifiers-1):
16640 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16641 second argument of display-buffer (Bug#8865).
981d5c09
MR
16642 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16643 (switch-to-buffer-other-window-same-frame)
16644 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16645 Adams (Bug#8875).
9c2755e9
MR
16646 (display-buffer): Don't check noninteractive when calling
16647 display-buffer-pop-up-frame.
16648 (display-buffer-pop-up-frame): Never pop up a frame in
16649 noninteractive mode (Bug#8857).
67222e1d
MR
16650 (enlarge-window, shrink-window): Don't report an error when the
16651 window can't be resized as requested (Bug#8862).
9b9c9e3a 16652
2b75be67
SM
166532011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16654
9ffdd3ba
SM
16655 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16656
cb581a67
SM
16657 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16658
2b75be67
SM
16659 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16660
8c0e3589
AM
166612011-06-15 Alan Mackenzie <acm@muc.de>
16662
cb581a67
SM
16663 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16664 for declarators, disable knr checking to speed up for normal files.
16665 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16666
b96e6cde
LMI
166672011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16668
4bba86e6
LMI
16669 * net/network-stream.el (open-network-stream): Add the keyword
16670 :always-query-capabilities for the case where you want to force a
16671 `plain' network connection, but the protocol still requires the
16672 capabilitiy command (i.e., SMTP and EHLO).
16673
2b75be67 16674 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16675 consistency with other `-live-p' functions.
16676
efdcdbf8
SM
166772011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16678
16679 * window.el (same-window-buffer-names, same-window-regexps)
16680 (special-display-frame-alist, special-display-popup-frame)
16681 (special-display-function, special-display-buffer-names)
16682 (special-display-regexps, pop-up-frame-alist)
16683 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16684 (pop-up-windows, split-window-preferred-function)
16685 (split-height-threshold, split-width-threshold, even-window-heights)
16686 (display-buffer-mark-dedicated): Don't encourage the use of
16687 display-buffer-alist from Elisp code.
16688
c5cde042
DN
166892011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16690
16691 * progmodes/python.el (python-mode): Derive from prog-mode.
16692 * progmodes/ps-mode.el (ps-mode):
16693 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16694 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16695 * progmodes/ld-script.el (ld-script-mode): Likewise.
16696
baa1c9ab
MR
166972011-06-15 Martin Rudalics <rudalics@gmx.at>
16698
16699 * window.el (display-buffer-alist): Trim default value to avoid
16700 popping up a new frame (Bug#8857) or reusing an arbitrary window
16701 on another frame.
16702 (display-buffer): Do not fall back on popping up a new frame in
16703 batch mode (Bug#8857).
16704
c5dd5a51
CY
167052011-06-14 Chong Yidong <cyd@stupidchicken.com>
16706
16707 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16708 (custom-theme-summary): New function.
16709 (customize-themes): Use it.
16710
d647b7c4
GM
167112011-06-13 Glenn Morris <rgm@gnu.org>
16712
16713 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16714
9481c002
MR
167152011-06-13 Martin Rudalics <rudalics@gmx.at>
16716
357f93d2
MR
16717 * help.el (help-window): Remove variable.
16718 (help-window-point-marker, temp-buffer-max-height)
16719 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16720 (help-print-return-message): Don't set help-window.
16721 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16722 (help-window-setup-finish): Remove.
16723 (help-window-display-message, help-window-setup)
16724 (with-help-window): Major rewrite based on new
16725 display-buffer-window variable.
16726
16727 * help-mode.el (help-mode-finish): Remove help-window related
16728 code.
16729
16730 * view.el (view-exits-all-viewing-windows): Remove reference to
16731 view-return-to-alist in doc-string.
16732 (view-return-to-alist): Make obsolete.
16733 (view-buffer): Call pop-to-buffer-same-window and remove
16734 undo-window code.
16735 (view-buffer-other-window): Call pop-to-buffer-other-window and
16736 simplify code. Ignore second argument.
16737 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16738 simplify code. Ignore second argument.
16739 (view-return-to-alist-update): Make obsolete.
16740 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16741 Rewrite using quit-restore window parameters.
2b75be67
SM
16742 (view-mode-exit): Rename second argument to EXIT-ONLY.
16743 Rewrite using quit-restore-window.
357f93d2
MR
16744 (View-exit, View-exit-and-edit, View-leave, View-quit)
16745 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16746 appropriate arguments.
16747 (view-end-message): Use quit-restore window parameter.
16748
9481c002
MR
16749 * window.el (display-buffer-function): Rewrite doc-string.
16750 (display-buffer-window, display-buffer-alist): New variables.
16751 (display-buffer-split-specifiers)
16752 (display-buffer-side-specifiers)
16753 (display-buffer-macro-specifiers): New constants.
16754 (display-buffer-even-window-sizes, display-buffer-set-height)
16755 (display-buffer-set-width, display-buffer-select-window)
16756 (display-buffer-in-window, display-buffer-reuse-window)
16757 (display-buffer-split-window-1, display-buffer-split-window)
16758 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16759 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16760 (display-buffer-in-side-window, normalize-buffer-to-display)
16761 (display-buffer-normalize-specifiers-1)
16762 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16763 (display-buffer-normalize-specifiers, display-buffer-frame):
16764 New functions.
9481c002
MR
16765 (display-buffer): Major rewrite.
16766 (display-buffer-other-window, display-buffer-other-frame)
16767 (pop-to-buffer, switch-to-buffer-other-window)
16768 (switch-to-buffer-other-frame): Rewrite.
16769 (display-buffer-same-window, display-buffer-same-frame)
16770 (display-buffer-same-frame-other-window)
16771 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16772 (pop-to-buffer-other-window)
16773 (pop-to-buffer-same-frame-other-window)
16774 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16775 (switch-to-buffer-other-window-same-frame): New functions.
16776 (same-window-p, special-display-p): Rewrite disabling warnings.
16777 Make obsolete.
16778 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16779 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16780 Make obsolete
16781 (same-window-buffer-names, same-window-regexps)
16782 (special-display-frame-alist, special-display-popup-frame)
16783 (special-display-function, special-display-buffer-names)
16784 (special-display-regexps, pop-up-frame-alist)
16785 (pop-up-frame-function, split-window-preferred-function)
16786 (split-height-threshold, split-width-threshold)
16787 (even-window-heights): Make obsolete.
16788
9db51aca
GM
167892011-06-12 Glenn Morris <rgm@gnu.org>
16790
16791 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16792 Misc simplifications.
9db51aca 16793
39cffb44
MR
167942011-06-12 Martin Rudalics <rudalics@gmx.at>
16795
16796 * window.el (window-safely-shrinkable-p): Restore function which
16797 was inadvertently removed in change from 2011-06-11. Declare as
16798 obsolete.
16799
2b75be67
SM
16800 * calendar/calendar.el (calendar-generate-window):
16801 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16802 window-safely-shrinkable-p.
16803
a8955be7
GM
168042011-06-12 Glenn Morris <rgm@gnu.org>
16805
16806 * progmodes/fortran.el (fortran-mode-syntax-table):
16807 * progmodes/f90.el (f90-mode-syntax-table):
16808 Set % to punctuation. (Bug#8820)
16809 (f90-find-tag-default): Remove, no longer needed.
16810
f0d4059d
DC
168112011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16812
16813 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16814
1100a63c
CY
168152011-06-11 Chong Yidong <cyd@stupidchicken.com>
16816
16817 * image.el (image-animated-p): Return animation delay in seconds.
16818 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16819 (image-animate-timeout): Remove DELAY argument. Don't assume
16820 every subimage has the same delay; get it from image-animated-p.
16821 (image-animate): Caller changed.
16822
def722bf
MA
168232011-06-11 Michael Albinus <michael.albinus@gmx.de>
16824
16825 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16826 to ignored backtrace functions.
16827
0a2bb1a9
GM
168282011-06-11 Glenn Morris <rgm@gnu.org>
16829
16830 * calendar/appt.el (appt-disp-window-function): Doc fix.
16831 (appt-check): Handle overlapping appointments. (Bug#8337)
16832
6198ccd0
MR
168332011-06-11 Martin Rudalics <rudalics@gmx.at>
16834
16835 * window.el (window-tree-1, window-tree): New functions, moving
16836 the latter to window.el.
16837 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16838 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16839 (bw-refresh-edges): Remove.
16840 (balance-windows-1, balance-windows-2): New functions.
16841 (balance-windows): Rewrite in terms of window tree functions,
16842 balance-windows-1 and balance-windows-2.
16843 (bw-adjust-window): Remove.
16844 (balance-windows-area-adjust): New function with functionality of
16845 bw-adjust-window but using resize-window.
2b75be67
SM
16846 (set-window-text-height): Rewrite doc-string.
16847 Use normalize-live-window and resize-window.
16848 (enlarge-window-horizontally, shrink-window-horizontally):
16849 Rename argument to DELTA.
6198ccd0
MR
16850 (window-buffer-height): New function.
16851 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16852 Rewrite using new window resize routines.
2b75be67
SM
16853 (kill-buffer-and-window, mouse-autoselect-window-select):
16854 Use ignore-errors instead of condition-case.
6198ccd0
MR
16855 (quit-window): Call delete-frame instead of delete-windows-on
16856 for the only buffer on frame.
16857
9397e56f
MR
168582011-06-10 Martin Rudalics <rudalics@gmx.at>
16859
16860 * loadup.el (top-level): Load window before files for the sake
16861 of replace-buffer-in-windows.
16862
16863 * files.el (read-buffer-to-switch)
16864 (switch-to-buffer-other-window)
2b75be67
SM
16865 (switch-to-buffer-other-frame, display-buffer-other-frame):
16866 Move to window.el.
9397e56f
MR
16867
16868 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16869 (previous-buffer): Move to window.el.
16870
16871 * bindings.el (unbury-buffer): Move to window.el.
16872
16873 * window.el (delete-other-windows-vertically): Move after
16874 definition of delete-other-windows.
16875 (other-window, delete-windows-on, replace-buffer-in-windows):
16876 Move here from window.c.
16877 (record-window-buffer, unrecord-window-buffer)
16878 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16879 (switch-to-next-buffer): New functions.
16880 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16881 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16882 (previous-buffer): Move here from simple.el.
16883 Call switch-to-prev-buffer.
9397e56f
MR
16884 (bury-buffer): Move here from buffer.c. Switch to previous
16885 buffer when window cannot be deleted.
16886 (unbury-buffer): Move here from bindings.el.
16887 (ctl-x-map): Move binding for other-window from window.c to
16888 here.
16889 (read-buffer-to-switch, switch-to-buffer-other-window)
16890 (switch-to-buffer-other-frame): Move here from files.el.
16891 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16892 (switch-to-buffer): Move here from buffer.c.
16893 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16894
562dd5e9
MR
168952011-06-10 Martin Rudalics <rudalics@gmx.at>
16896
16897 * window.el (window-min-height, window-min-width): Move here
16898 from window.c. Add defcustoms and rewrite doc-strings.
16899 (resize-mini-window, resize-window): New functions.
16900 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16901 Move here from window.c.
16902 (maximize-window, minimize-window): New functions.
16903 (delete-window, delete-other-windows, split-window): Move here
16904 from window.c.
16905 (window-split-min-size): New function.
16906 (split-window-keep-point): Mention split-window-above-each-other
16907 instead of split-window-vertically.
2b75be67 16908 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16909 Rename split-window-vertically to split-window-above-each-other
16910 and provide defalias for old definition.
16911 (split-window-side-by-side, split-window-horizontally):
16912 Rename split-window-horizontally to split-window-side-by-side
16913 and provide defalias for the old definition.
562dd5e9
MR
16914 (ctl-x-map): Move bindings for delete-window,
16915 delete-other-windows and enlarge-window here from window.c.
16916 Replace bindings for split-window-vertically and
16917 split-window-horizontally by bindings for
16918 split-window-above-each-other and split-window-side-by-side.
16919
16920 * cus-start.el (all): Remove entries for window-min-height and
16921 window-min-width. Add entries for window-splits and
16922 window-nest.
16923
f0da764a
GM
169242011-06-09 Glenn Morris <rgm@gnu.org>
16925
80675c21
GM
16926 * calendar/appt.el (appt-mode-line): New function.
16927 (appt-check, appt-disp-window): Use it.
16928
f0da764a
GM
16929 * files.el (hack-one-local-variable-eval-safep):
16930 Allow minor-modes with explicit +/-1 arguments.
16931
59f623b7
TZ
169322011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16933
16934 * term/xterm.el (xterm): Add defgroup.
16935 (xterm-extra-capabilities): Add defcustom to supply known xterm
16936 capabilities, skip querying them, or query them (default).
16937 (terminal-init-xterm): Use it.
16938 (terminal-init-xterm-modify-other-keys): New function to set up
16939 modifyOtherKeys support to simplify `terminal-init-xterm'.
16940
9aab8e0d
MR
169412011-06-09 Martin Rudalics <rudalics@gmx.at>
16942
16943 * window.el (resize-window-reset, resize-window-reset-1)
16944 (resize-subwindows-skip-p, resize-subwindows-normal)
16945 (resize-subwindows, resize-other-windows, resize-this-window)
16946 (resize-root-window, resize-root-window-vertically)
16947 (window-deletable-p, window-or-subwindow-p)
16948 (frame-root-window-p): New functions.
16949
e8b08aee
GM
169502011-06-09 Glenn Morris <rgm@gnu.org>
16951
16952 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16953 (ange-ftp-get-files): Use it.
16954
254c37a5
AK
169552011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16956
16957 * mail/sendmail.el (mail-recover-1, mail-recover):
16958 * files.el (recover-file, recover-session):
16959 Handle dired-listing-switches not being just a single short option.
16960
35d7dbd3
GM
169612011-06-09 Glenn Morris <rgm@gnu.org>
16962
16963 * calendar/appt.el (appt-display-message, appt-disp-window):
16964 Handle lists of appointments.
16965
387522b2
MR
169662011-06-08 Martin Rudalics <rudalics@gmx.at>
16967
2b75be67
SM
16968 * window.el (one-window-p): Move down in code.
16969 Rewrite doc-string.
16970 (window-current-scroll-bars): Rewrite doc-string.
16971 Normalize live window argument.
387522b2
MR
16972 (walk-windows, get-window-with-predicate, count-windows):
16973 Rewrite doc-string. Use window-list-1.
16974 (window-in-direction-2, window-in-direction, get-mru-window):
16975 New functions.
16976
d8e4b68b 169772011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16978
16979 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16980 Doc fix (Bug#8713).
16981
169822011-06-08 Chong Yidong <cyd@stupidchicken.com>
16983
16984 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16985
169862011-06-08 Juanma Barranquero <lekktu@gmail.com>
16987
16988 * loadhist.el (unload-feature-special-hooks):
16989 Add `comint-output-filter-functions'.
16990
0de12c52
IK
169912011-06-08 Ivan Kanis <gnu@kanis.fr>
16992
16993 * calendar/appt.el (appt-check): Move some initializations into the let.
16994
f3d1777e
MR
169952011-06-08 Martin Rudalics <rudalics@gmx.at>
16996
16997 * window.el (window-height): Defalias to window-total-height.
16998 (window-width): Defalias to window-body-width.
16999
18af70d0
CY
170002011-06-07 Chong Yidong <cyd@stupidchicken.com>
17001
17002 * image-mode.el (image-toggle-animation): New command.
17003 (image-mode-map): Bind it to RET.
17004 (image-mode): Update message.
17005 (image-toggle-display-image): Avoid a spurious cache flush.
17006 (image-transform-rotation): Doc fix.
17007 (image-transform-properties): Return quickly in the normal case.
17008 (image-animate-loop): Rename from image-animate-max-time.
17009
2b75be67 17010 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17011 (create-animated-image): Remove unnecessary function.
17012 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17013 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17014 (image-animate-timer): Use car-safe.
17015 (image-animate-timeout): Rename argument.
17016
190b47e6
MR
170172011-06-07 Martin Rudalics <rudalics@gmx.at>
17018
17019 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17020 window.c. Rename first argument to ALL-FRAMES.
17021 Rephrase doc-strings.
17022 (get-buffer-window-list): Rewrite using window-list-1.
17023 Rephrase doc-string.
a1511caf
MR
17024 (window-safe-min-height, window-safe-min-width): New constants.
17025 (window-size-ignore, window-min-size, window-min-size-1)
17026 (window-sizable, window-sizable-p, window-size-fixed-1)
17027 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17028 (window-max-delta-1, window-max-delta, window-resizable)
17029 (window-resizable-p, window-total-height, window-total-width)
17030 (window-body-width): New functions.
17031 (window-full-height-p, window-full-width-p): Rewrite using
17032 window-total-size.
17033 (window-body-height): Rewrite using window-body-size.
190b47e6 17034
85cc1f11
MR
170352011-06-06 Martin Rudalics <rudalics@gmx.at>
17036
17037 * window.el (window-right, window-left, window-child)
17038 (window-child-count, window-last-child, window-any-p)
17039 (normalize-live-buffer, normalize-live-frame)
17040 (normalize-any-window, normalize-live-window)
17041 (window-iso-combination-p, window-iso-combined-p)
17042 (window-iso-combinations)
17043 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17044 (windows-with-parameter, window-with-parameter)
17045 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17046 (window-atom-check, window-side-check, window-check):
17047 New functions.
85cc1f11
MR
17048 (ignore-window-parameters, window-sides, window-sides-vertical)
17049 (window-sides-slots): New variables.
17050 (window-size-fixed): Move down in code. Minor doc-string fix.
17051
e7156492
AS
170522011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17053
17054 * comint.el (comint-dynamic-complete-as-filename)
17055 (comint-dynamic-complete-filename): Correctly call
17056 completion-in-region.
17057
7e821d0d
DD
170582011-06-05 Deniz Dogan <deniz@dogan.se>
17059
17060 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17061 in last change.
17062
ac09b8a1
DD
170632011-06-05 Deniz Dogan <deniz@dogan.se>
17064
17065 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17066 (rcirc): Use it to prompt for encryption.
17067
34699b85
RW
170682011-06-05 Roland Winkler <winkler@gnu.org>
17069
17070 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17071 (bibtex-search-entries): New command bound to C-c C-a.
17072 (bibtex-display-entries): New function.
17073
004dedd3
RW
170742011-06-05 Roland Winkler <winkler@gnu.org>
17075
17076 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17077 (bibtex-insert-kill): After yanking insert newline if necessary.
17078 (bibtex-initialize): Call bibtex-string-files-init only once.
17079 (bibtex-mode): Do not call easy-menu-add.
17080 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17081 (bibtex-yank): Set arg properly if nil.
17082
022fe7ce
RW
170832011-06-05 Roland Winkler <winkler@gnu.org>
17084
2b75be67
SM
17085 * textmodes/bibtex.el (bibtex-search-entry-globally):
17086 New variable.
022fe7ce
RW
17087 (bibtex-search-entry): Use it.
17088
b7c3692a
RW
170892011-06-05 Roland Winkler <winkler@gnu.org>
17090
17091 * textmodes/bibtex.el (bibtex-entry-format): New option
17092 sort-fields.
17093 (bibtex-format-entry, bibtex-reformat): Honor this option.
17094 (bibtex-parse-entry): Return fields in proper order.
17095
8eda563d
JB
170962011-06-05 Juanma Barranquero <lekktu@gmail.com>
17097
17098 * doc-view.el (doc-view-remove-if): Move computation of result out
17099 of `dolist' to silence misleading lexical-binding warning.
17100
7dbe3dbc
CY
171012011-06-04 Chong Yidong <cyd@stupidchicken.com>
17102
17103 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17104 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17105
0c33dd17
MA
171062011-06-04 Michael Albinus <michael.albinus@gmx.de>
17107
17108 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17109 "SunOS 5.10".
17110
f8f91c2b
MA
171112011-06-04 Michael Albinus <michael.albinus@gmx.de>
17112
17113 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17114 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17115 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17116 (tramp-parse-putty):
17117 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17118 (tramp-completion-function-alist-ssh)
17119 (tramp-completion-function-alist-telnet)
17120 (tramp-completion-function-alist-su)
17121 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17122 cookie.
17123
17124 * net/tramp-ftp.el:
17125 * net/tramp-sh.el:
17126 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17127 load "tramp.el" `tramp-set-completion-function'.
17128
e17d9003
SM
171292011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17130
17131 * shell.el: Require and use pcomplete.
17132 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17133 (shell-completion-vars): Set pcomplete-default-completion-function.
17134
6c4cab03
DD
171352011-06-04 Deniz Dogan <deniz@dogan.se>
17136
17137 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17138 `memq' (Bug#8799).
17139
ea9fafe0
SM
171402011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17141
17142 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17143
b3e945d3
JB
171442011-06-02 Juanma Barranquero <lekktu@gmail.com>
17145
17146 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17147 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17148 * vc/log-view.el (log-view-beginning-of-defun):
17149 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17150 (smerge-refine-forward, smerge-refine-chopup-region):
17151 Silence warning for unused `dotimes' counter variables.
17152
7d520089
SM
171532011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17154
17155 * net/tramp.el (tramp-with-progress-reporter): Rename from
17156 with-progress-reporter. Use `declare'.
17157 * net/tramp-smb.el:
17158 * net/tramp-sh.el:
17159 * net/tramp-gvfs.el: Update all uses.
17160
a1c2400f
JB
171612011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17162
17163 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17164 buffer isn't killed before making it current.
17165
2403c841
SM
171662011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17167
17168 Silence various byte-compiler warnings.
17169 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17170 `access-type' and new obsolescence format.
17171 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17172 new format.
17173 (byte-compile-check-variable): New `access-type' argument.
17174 Only warn if the access-type is obsolete.
17175 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17176 (byte-compile-variable-set): Adjust callers.
17177 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17178 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17179 setting it as obsolete.
17180 * simple.el (minibuffer-completing-symbol):
17181 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17182 access as obsolete.
17183 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17184 obsolete yet.
17185 * international/quail.el (quail-mouse-choose-completion): Remove unused
17186 code referring to obsolete var.
17187 (quail-choose-completion-string): Remove.
17188 * server.el (server-clients-with, server-kill-buffer-query-function)
17189 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17190 * proced.el (proced-send-signal):
17191 * emacs-lisp/lisp.el (lisp-complete-symbol):
17192 Replace completion-annotate-function with completion-extra-properties.
17193
2462470b
SM
171942011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17195
fb5b2591
SM
17196 * simple.el (goto-line): Use read-number.
17197 (overriding-map-is-bound): Remove.
17198 (saved-overriding-map): Change default.
17199 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17200 Take the map as argument.
17201 (universal-argument, negative-argument, digit-argument): Use it.
17202 (restore-overriding-map): Adjust.
17203 (do-auto-fill): Use fill-forward-paragraph.
17204 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17205
fd6fa53f
SM
17206 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17207 (minibuffer-inactive-mode): New major mode.
17208 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17209 the *Messages* buffer" hack.
17210 (mouse-popup-menubar): Don't burp if the event is a normal key.
17211
2462470b
SM
17212 Miscellaneous tweaks.
17213 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17214 lexical scoping as in subr.el's dolist and dotimes.
17215 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17216 Silence compiler warning.
17217 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17218 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17219 * international/ccl.el (ccl-compile): Trivial simplification.
17220 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17221 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17222 `printflag' argument.
17223 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17224 Purecopy the whole obsolescence data.
17225
108bf785
LL
172262011-06-01 Leo Liu <sdl.web@gmail.com>
17227
17228 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17229 improve doc-string as suggested by Marco Pessotto
17230 <melmothx@gmail.com>.
17231 (rcirc-print): Fix last change.
17232
30a23501
SM
172332011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17234
17235 * minibuffer.el (complete-with-action): Return nil for the metadata and
17236 boundaries of non-functional tables.
17237 (completion-table-dynamic): Return nil for the metadata.
17238 (completion-table-with-terminator): Add default case, using
17239 complete-with-action.
17240 (completion--metadata): New function.
17241 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17242 to try and avoid pathological performance problems.
17243 (completion--embedded-envvar-table): Return `category' metadata.
17244
bcd54f83
LMI
172452011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17246
17247 * subr.el (process-alive-p): New tiny convenience function.
17248
e227544d
SM
172492011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17250
17251 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17252 content but also its previous major mode.
17253
e8296fdc
HE
172542011-05-31 Helmut Eller <eller.helmut@gmail.com>
17255
4d61f28d 17256 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17257 *Backtrace* buffer when we exit with C-M-c.
17258
620c53a6
SM
172592011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17260
17261 * minibuffer.el: Add metadata method to completion tables.
17262 (completion-category-overrides): New defcustom.
17263 (completion-metadata, completion--field-metadata)
17264 (completion-metadata-get, completion--styles)
17265 (completion--cycle-threshold): New functions.
17266 (completion-try-completion, completion-all-completions):
17267 Add `metadata' argument to choose completion-styles.
17268 (completion--do-completion): Use metadata to choose cycling.
17269 (completion-all-sorted-completions): Use metadata for sorting.
17270 Remove :completion-cycle-penalty which is not needed any more.
17271 (completion--try-word-completion): Add `metadata' argument.
17272 (minibuffer-completion-help): Check metadata for annotation function
17273 and sorting.
17274 (completion-file-name-table): Return `category' metadata.
17275 (minibuffer-completing-file-name): Make obsolete.
17276 * simple.el (minibuffer-completing-symbol): Make obsolete.
17277 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17278 completion-try-completion.
17279
1257e755
SM
172802011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17281
17282 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17283
3767e706
LL
172842011-05-30 Leo Liu <sdl.web@gmail.com>
17285
17286 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17287 (rcirc-print): Decode all incoming messages (bug#8744).
17288 (rcirc-decode-coding-system): Allow value nil for automatic coding
17289 system detection.
3767e706 17290
d1a5d56a
GM
172912011-06-01 Glenn Morris <rgm@gnu.org>
17292
17293 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17294
e8cbec34
CY
172952011-05-29 Chong Yidong <cyd@stupidchicken.com>
17296
17297 * image.el (image-animate-max-time): Allow nil and t values.
17298 Default to nil.
17299 (create-animated-image): Doc fix.
17300 (image-animate-start): Remove second arg; just use
17301 image-animate-max-time.
17302 (image-animate-timeout): Doc fix. Args changed.
17303
17304 * image-mode.el (image-toggle-display-image): Ensure that the
17305 image spec passed to the animate timer is the same object as in
58179cce 17306 the buffer's display property (Bug#6981).
e8cbec34
CY
17307 (image-transform-properties): Doc fix.
17308
17309 * image.el (image-animate-max-time): Default to nil.
17310
159daf87
MR
173112011-05-29 Martin Rudalics <rudalics@gmx.at>
17312
17313 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17314 entire buffer list (Bug#8184).
17315
d66c4c7c
CY
173162011-05-29 Chong Yidong <cyd@stupidchicken.com>
17317
17318 * image.el (imagemagick-types-inhibit)
17319 (imagemagick-register-types): Doc fix.
17320
80aec780
DD
173212011-05-29 Deniz Dogan <deniz@dogan.se>
17322
17323 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17324 default.
17325
1dd3c2d9
CY
173262011-05-29 Chong Yidong <cyd@stupidchicken.com>
17327
17328 * select.el: Don't perform clipboard-manager saving in hooks;
17329 leave the hooks empty.
17330
60e56523
LL
173312011-05-28 Leo Liu <sdl.web@gmail.com>
17332
17333 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17334 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17335 (occur-edit-mode): New major mode (Bug#8463).
17336 (occur-after-change-function): New function.
17337 (occur-engine): Give Occur tags a read-only property.
17338
2b1e1a22
KR
173392011-05-28 Kevin Ryde <user42@zip.com.au>
17340
17341 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17342
5d344e88
CY
173432011-05-28 Chong Yidong <cyd@stupidchicken.com>
17344
8e6ca83d
CY
17345 * bindings.el (help-echo): Make the initial non-indicator dash
17346 empty on graphical terminals (Bug#7295).
17347
5d344e88
CY
17348 * files.el (auto-mode-alist): Move config rule after the
17349 in-stripping one (Bug#8547).
17350
bfbbace7
CY
17351 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17352
fbeba6e2
CY
17353 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17354 setting (Bug#8740).
17355
60ed8c72
AA
173562011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17357
4ac619f0
AA
17358 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17359 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17360 (Bug#8539).
60ed8c72 17361
23db196e
CY
173622011-05-28 Chong Yidong <cyd@stupidchicken.com>
17363
17364 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17365
5012f24c
DK
173662011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17367
17368 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17369 (hs-hide-block-at-point, hs-find-block-beginning)
17370 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17371 (Bug#8279).
17372
6a639b16
GM
173732011-05-28 Glenn Morris <rgm@gnu.org>
17374
17375 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17376
d43eaf2c
CY
173772011-05-28 Chong Yidong <cyd@stupidchicken.com>
17378
5199bde1
CY
17379 * help-fns.el (describe-function-1): If the function is a derived
17380 major mode, print the parent mode.
17381
d43eaf2c
CY
17382 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17383 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17384
423428a8
SM
173852011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17386
0ff8e1ba 17387 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17388 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17389 * progmodes/etags.el (tags-completion-at-point-function):
17390 * info-look.el (info-lookup-completions-at-point): Mark as
17391 non-exclusive.
17392 (info-complete): Adjust accordingly.
17393
423428a8
SM
17394 * info-look.el: Convert to lexical-binding and completion-at-point.
17395 (info-lookup-completions-at-point): New function.
17396 (info-complete): Use it and completion-in-region.
17397
b74aa22b
DA
173982011-05-28 Drew Adams <drew.adams@oracle.com>
17399
17400 * isearch.el: Let M-e start with point at the first mismatched char.
17401 (isearch-fail-pos): New function.
17402 (isearch-edit-string): Use it.
17403
66e2e71d
DK
174042011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17405
17406 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17407
b1890b0f 174082011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17409
17410 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17411 traversal functions for avl-trees.
17412 (avl-tree--stack): New struct.
17413 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17414 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17415 (avl-tree--do-enter): Add optional `updatefun' arg.
17416 Change return value.
eb95d01d 17417 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17418 (avl-tree--do-delete): Add `test' and `nilflag' args.
17419 Change return value.
eb95d01d
TC
17420 (avl-tree-member): Add optional `nilflag'
17421 (avl-tree-member-p): New function.
17422 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17423 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17424 (avl-tree-stack-empty-p): New functions.
17425
3769ddcf
TC
17426 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17427 avl-tree--del-balance1 and make it work both ways.
17428 (avl-tree--del-balance2): Remove.
17429 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17430 make it work both ways.
17431 (avl-tree--enter-balance2): Remove.
17432 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17433 New macros.
17434 (avl-tree--mapc, avl-tree-map): Add direction argument.
17435
eb95d01d 174362011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17437
17438 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17439
a9f737ee
CY
174402011-05-27 Chong Yidong <cyd@stupidchicken.com>
17441
17442 * select.el: Support clipboard managers with built-in function
17443 x-clipboard-manager-save, via delete-frame-functions and
17444 kill-emacs-hook.
17445 (xselect-convert-to-targets): Add MULTIPLE target to list.
17446 (xselect-convert-to-save-targets): New function.
17447
c92a1e54
KH
174482011-05-27 Kenichi Handa <handa@m17n.org>
17449
17450 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17451 let-binding rfc2047-encode-encoded-words to nil.
17452
e145f188
GM
174532011-05-27 Glenn Morris <rgm@gnu.org>
17454
5ec8a862
GM
17455 * mail/emacsbug.el: Don't require url-util.
17456
4b29d9fb
GM
17457 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17458
e145f188
GM
17459 * files.el (set-auto-mode):
17460 Also respect mode: entries at the end of the file. (Bug#8586)
17461
7d15102b
GM
174622011-05-26 Glenn Morris <rgm@gnu.org>
17463
98f593b8
GM
17464 * files.el (hack-local-variables-prop-line, hack-local-variables):
17465 Downcase mode names, as seems to be traditional.
27b48e63 17466 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17467
7d15102b
GM
17468 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17469 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17470
51d5b4ec
JD
174712011-05-25 Julien Danjou <julien@danjou.info>
17472
17473 * textmodes/rst.el (rst-define-level-faces): Do not define face
17474 symbol if it is already defined.
17475
91513f63
VB
174762011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17477
17478 * play/5x5.el (5x5-new-game, 5x5-randomize):
17479 Reset 5x5-solver-output to nil when a new grid is cast.
17480 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17481 these debugging traces, as defmacro breaks the compiled code.
17482
4d90d6d0
DK
174832011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17484
17485 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17486
e1b90ef6
LL
174872011-05-24 Leo Liu <sdl.web@gmail.com>
17488
17489 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17490 (vc-bzr-sha1): Adapt.
17491
d8e4b68b 17492 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17493
17494 * bindings.el: Provide sha1 feature.
17495
db0406bb 174962011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17497
17498 * mail/sendmail.el: Require `rfc2047'.
17499 (mail-insert-from-field): Do not perform RFC2047 encoding.
17500 (mail-encode-header): New function.
17501 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17502 buffer to the return value of select-message-coding-system.
17503 Call mail-encode-header.
b8d747b9
KH
17504
17505 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17506
db0406bb 175072011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17508
4d90d6d0
DK
17509 * mail/supercite.el (sc-default-cite-frame):
17510 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17511
eb8a5e9b
GM
175122011-05-24 Glenn Morris <rgm@gnu.org>
17513
f8630703
GM
17514 * progmodes/python.el (brm-menu): Declare.
17515
8831bbed
GM
17516 * emulation/viper.el (viper-set-hooks): Declare.
17517
eb8a5e9b
GM
17518 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17519 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17520 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17521 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17522 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17523 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17524
a2a25d24
SM
175252011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17526
17527 Add an :exit-function for completion-at-point.
17528
17529 * minibuffer.el (completion--done): New fun.
17530 (completion--do-completion): Use it. New arg `expect-exact'.
17531 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17532 since completion--do-completion does it for us now.
17533 (minibuffer-force-complete): Use completion--done and
17534 completion--replace. Handle sole-completion case with more care.
17535 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17536 (completion-extra-properties): New var.
17537 (completion-annotate-function): Make obsolete.
17538 (minibuffer-completion-help): Adjust accordingly.
17539 Use completion-list-insert-choice-function.
17540 (completion-at-point, completion-help-at-point):
17541 Bind completion-extra-properties.
17542 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17543 * simple.el (completion-list-insert-choice-function): New var.
17544 (completion-setup-function): Preserve it.
17545 (choose-completion): Pay attention to it, shuffle the code a bit.
17546 (choose-completion-string): New arg `insert-function'.
17547
17548 * textmodes/bibtex.el: Convert to lexical binding.
17549 (bibtex-mode-map): Use completion-at-point.
17550 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17551 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17552 (bibtex-complete): Define as obsolete alias.
17553 (bibtex-complete-internal): Remove.
17554 (bibtex-format-entry): Remove unused sub-group in regexp.
17555 * shell.el (shell--command-completion-data)
17556 (shell-environment-variable-completion):
17557 * pcomplete.el (pcomplete-completions-at-point):
17558 * comint.el (comint--complete-file-name-data): Use :exit-function
17559 instead of completion-table-with-terminator so it also works for
17560 choose-completion.
17561
e44e373d
SM
175622011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17563
4f91a816
SM
17564 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17565
782fc819
SM
17566 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17567 (bug#8710).
17568
e44e373d
SM
17569 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17570
381987c3
KM
175712011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17572
17573 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17574 customization variable and implement: If non-nil, auto-fill will
17575 be inhibited while on topic's header line.
17576
b776bc70
VB
175772011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17578
17579 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17580 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17581 always have a solution in grid size = 5 cases.
17582 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17583 (5x5-solver-output, 5x5-log-buffer): New vars.
17584 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17585 Make these variables buffer local to achieve 5x5 multi-session-ness.
17586 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17587 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17588 (5x5-solve-suggest): New funs.
17589 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17590 randomize a grid so that we ensure that there is always a solution.
17591 (5x5-make-random-grid): Allow other movement than flipping.
17592
7de88b6e
KR
175932011-05-23 Kevin Ryde <user42@zip.com.au>
17594
17595 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17596 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17597 advice and passes PREDICATE.
17598
b1ef1257
SM
175992011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17600
bbca48fe
SM
17601 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17602 byte-compile-lambda if it's actually a lambda.
17603
b1ef1257
SM
17604 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17605 Fix function quoting. Use backquote better.
17606
92a9cc65
YS
176072011-05-22 Yuanle Song <sylecn@gmail.com>
17608
17609 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17610 matching (Bug#8516).
17611
f0fb8059
JA
176122011-01-22 Jari Aalto <jari.aalto@cante.net>
17613
17614 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17615 different face (Bug#8178).
17616
d5b44c93
CY
176172011-05-22 Chong Yidong <cyd@stupidchicken.com>
17618
17619 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17620 defface (Bug#8144).
17621
79106a44
SM
176222011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17623
9c848d8a
SM
17624 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17625 funcall as well (bug#8712). Warn when performing those conversions.
17626 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17627
79106a44
SM
17628 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17629
88dfa756
GM
176302011-05-22 Glenn Morris <rgm@gnu.org>
17631
17632 * files.el (hack-local-variables-prop-line): Small simplifications.
17633 (hack-local-variables, hack-local-variables-prop-line):
17634 If MODE-ONLY, return the mode, rather than just `t'.
17635
b7cf2c79
SM
176362011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17637
17638 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17639
3f1a8558
GM
176402011-05-21 Glenn Morris <rgm@gnu.org>
17641
7e4ccca3
GM
17642 * files.el (hack-local-variables-prop-line, hack-local-variables):
17643 If only interested in the mode, don't bother doing the other stuff.
17644
637d46ca
GM
17645 * image-mode.el (image-after-revert-hook):
17646 Redraw all frames on which the image is visible. (Bug#8567)
17647
973d955b
GM
17648 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17649
3f1a8558
GM
17650 * wid-edit.el (widget-checklist-match-inline):
17651 Fix 2011-04-19 change. (Bug#8649)
17652
96479927
SM
176532011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17654
1dcf791f
SM
17655 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17656 Also allow singlespace after single-letter capitals followed by a dot.
17657
96479927
SM
17658 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17659 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17660
35fd0881
N
176612011-05-20 Nix <nix@esperi.org.uk>
17662
17663 * files.el (basic-save-buffer-2):
17664 Fix handling of break-hardlink-on-save with non-existent files.
17665
82745640
DD
176662011-05-19 Deniz Dogan <deniz@dogan.se>
17667
17668 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17669 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17670
4a720484
GM
176712011-05-19 Glenn Morris <rgm@gnu.org>
17672
d1f21341
GM
17673 * progmodes/f90.el (f90-type-def-re):
17674 Handle "type, bind(c)". (Bug#8691)
17675
4a720484
GM
17676 * emacs-lisp/autoload.el (batch-update-autoloads):
17677 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17678
2fb0a219
MA
176792011-05-18 Michael Albinus <michael.albinus@gmx.de>
17680
17681 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17682 property for the correct connection in case of multihops.
17683
e565dd37
GM
176842011-05-18 Glenn Morris <rgm@gnu.org>
17685
c2571358 17686 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17687 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17688
e565dd37
GM
17689 Rationalize calendar handling of day and month abbrev-arrays.
17690 * calendar/calendar.el (calendar-customized-p): New function.
17691 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17692 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17693 Add :set function.
17694 (calendar-abbrev-length, calendar-day-abbrev-array)
17695 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17696 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17697 Elements may no longer be nil.
17698 (calendar-day-name, calendar-month-name):
17699 Update for changed nature of abbrev arrays.
17700 * calendar/diary-lib.el (diary-name-pattern):
17701 Update for changed nature of abbrev arrays.
17702 (diary-mark-entries-1): Update calendar-make-alist calls.
17703 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17704 * calendar/cal-html.el (cal-html-day-abbrev-array):
17705 Simply inherit from calendar-day-abbrev-array.
17706
1d99a745
SM
177072011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17708
17709 * progmodes/grep.el (grep-mode): Disable default
17710 compilation-directory-matcher setting (bug#8684).
17711
7c1d9aa0
MA
177122011-05-17 Michael Albinus <michael.albinus@gmx.de>
17713
17714 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17715 instead of "head" and "tail". There were problems with SunOS 5.9,
17716 and it performs better.
17717
3952e9d8
GM
177182011-05-17 Glenn Morris <rgm@gnu.org>
17719
2dd12e7f
GM
17720 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17721
e4157b9c
GM
17722 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17723 Replace obsolete function.
17724
8e249bbd
GM
17725 * shell.el (pcomplete-parse-arguments-function): Declare.
17726
3952e9d8
GM
17727 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17728 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17729 (appt-check): Doc fixes.
17730 (appt-disp-window-function, appt-delete-window-function):
17731 Remove needless special case in custom :type.
17732 (appt-display-count): Default to 0, not nil.
17733 (appt-check): Reset appt-display-count to 0, not nil.
17734
c71a0d48 177352011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17736
c71a0d48
GM
17737 * progmodes/python.el (python-font-lock-keywords):
17738 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17739
31d55be9
SM
177402011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17741
17742 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17743
3bfacb2f
KR
177442011-05-16 Kevin Ryde <user42@zip.com.au>
17745
17746 * info-look.el (makefile-automake-mode): New setups, looking in
17747 automake manual, then makefile-mode.
17748 (makefile-mode): Remove automake manual, have it just in
17749 makefile-automake-mode since there's various things different or
17750 not relevant to plain make.
17751 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17752 believe a hypothetical automake-mode would go to makefile-mode,
17753 not the other way around.
17754
c8e83751
CY
177552011-05-15 Chong Yidong <cyd@stupidchicken.com>
17756
5e9e35cd
CY
17757 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17758 hunk-end tags (Bug#8672).
17759
c8e83751
CY
17760 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17761 vc-annotate-show-diff-revision-at-line (Bug#8671).
17762
50b23e5a
GM
177632011-05-14 Glenn Morris <rgm@gnu.org>
17764
7210a739
GM
17765 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17766 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17767 (change-log-font-lock-keywords): Also handle multiple author lines
17768 with leading tabs. (Bug#8644)
7210a739 17769
4691905a
GM
17770 * calendar/appt.el (appt-check): Rename some local variables.
17771 Some simplification/reordering.
17772
50b23e5a
GM
17773 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17774 (feedmail-sendmail-f-doesnt-sell-me-out)
17775 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17776 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17777 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17778 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17779 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17780 (feedmail-binmail-gnulinuxish-template):
17781 Rename from feedmail-binmail-linuxish-template.
17782 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17783 Use insert-buffer-substring.
17784
215cda7c
BC
177852011-05-14 Bill Carpenter <bill@carpenter.org>
17786
17787 * mail/feedmail.el (feedmail-patch-level): Increase.
17788 (feedmail-debug): New custom group.
17789 (feedmail-confirm-outgoing-timeout)
17790 (feedmail-sendmail-f-doesnt-sell-me-out)
17791 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17792 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17793 (feedmail-sender-line, feedmail-from-line)
17794 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17795 (feedmail-spray-this-address)
215cda7c
BC
17796 (feedmail-spray-address-fiddle-plex-list)
17797 (feedmail-queue-use-send-time-for-date)
17798 (feedmail-queue-use-send-time-for-message-id)
17799 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17800 (feedmail-buffer-eating-function):
17801 Doc fixes.
17802 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17803 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17804 (feedmail-message-action-scroll-down): New functions.
17805 (feedmail-queue-directory, feedmail-queue-draft-directory):
17806 Use expand-file-name.
17807 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17808 Remove C-v help entry.
17809 (feedmail-queue-buffer-file-name): New variable.
17810 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17811 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17812 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17813 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17814 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17815 (feedmail-message-action-toggle-spray)
17816 (feedmail-run-the-queue-no-prompts)
17817 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17818 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17819 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17820 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17821 (feedmail-envelope-deducer, feedmail-fiddle-from)
17822 (feedmail-fiddle-sender, feedmail-default-date-generator)
17823 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17824 (feedmail-fiddle-spray-address)
17825 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17826 (feedmail-fiddle-list-of-fiddle-plexes)
17827 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17828 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17829 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17830 Change default. Doc fix.
17831 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17832 (feedmail-binmail-linuxish-template): New constant.
17833 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17834 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17835 (feedmail-send-it): Add debug call.
17836 Use feedmail-queue-buffer-file-name, and
17837 feedmail-send-it-immediately-wrapper.
17838 (feedmail-message-action-send): Add debug call.
17839 Use feedmail-send-it-immediately-wrapper.
17840 (feedmail-queue-express-to-queue): Add debug call.
17841 Run feedmail-queue-express-hook.
17842 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17843 (feedmail-message-action-help-blat):
17844 Rename from feedmail-queue-send-edit-prompt-help-first.
17845 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17846 Check line-endings. Handle errors better.
17847 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17848 Doc fix. Add debug call.
17849 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17850 Use feedmail-queue-send-edit-prompt-inner.
17851 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17852 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17853 from feedmail-queue-send-edit-prompt.
17854 (feedmail-queue-send-edit-prompt-help)
17855 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17856 (feedmail-tidy-up-slug): Add debug call.
17857 Respect feedmail-queue-slug-suspect-regexp.
17858 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17859 (feedmail-dump-message-to-queue): Add debug call.
17860 Expand queue-directory.
17861 (feedmail-dump-message-to-queue): Change message slightly.
17862 Use feedmail-say-chatter.
17863 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17864 (feedmail-send-it-immediately-wrapper): New function.
17865 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17866 Insert empty string rather than newline. Handle full-frame case.
17867 Use catch/throw. Use feedmail-say-chatter.
17868 (feedmail-fiddle-from): Try mail-host-address.
17869 (feedmail-default-message-id-generator): Doc fix.
17870 Bind system-time-locale. Handle missing end.
17871 (feedmail-fiddle-x-mailer): Add debug call.
17872 Handle feedmail-x-mailer-line being nil.
17873 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17874 Add debug call. Use buffer-substring-no-properties.
17875 (feedmail-say-debug, feedmail-say-chatter): New functions.
17876 (feedmail-find-eoh): Give an explicit error.
17877
42c7e61e
UJ
178782011-05-13 Ulf Jasper <ulf.jasper@web.de>
17879
c2571358 17880 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17881 family from helvetica to sans.
c2571358 17882 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17883 etc/images/newsticker.
17884
c2571358 17885 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17886 family from helvetica to sans.
17887
17888 * net/newst-plainview.el (newsticker-new-item-face)
17889 (newsticker-old-item-face, newsticker-immortal-item-face)
17890 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17891 (newsticker-statistics-face): Change default family from
42c7e61e 17892 helvetica to sans.
c2571358 17893 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17894 etc/images/newsticker.
17895
5d3385a0
JB
17896 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17897 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17898 auto-marking.
17899
8497a297
DV
179002011-05-13 Didier Verna <didier@xemacs.org>
17901
17902 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17903 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17904 TODO entries.
8497a297
DV
17905 (lisp-lambda-list-keyword-parameter-indentation)
17906 (lisp-lambda-list-keyword-parameter-alignment)
17907 (lisp-lambda-list-keyword-alignment): New customizable user options.
17908 (lisp-indent-defun-method): Improve docstring.
17909 (extended-loop-p): Fix comment.
17910 (lisp-indent-lambda-list-keywords-regexp): New variable.
17911 (lisp-indent-lambda-list): New function.
17912 (lisp-indent-259): Use it.
17913 (lisp-indent-defmethod): Support for more than one
17914 method qualifier and properly indent methods lambda-lists.
17915 (defgeneric): Provide a missing common-lisp-indent-function property.
17916
f278f87f
SM
179172011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17918
17919 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17920 bounds for the empty string (bug#8667).
17921
5233edd7
GM
179222011-05-13 Glenn Morris <rgm@gnu.org>
17923
5237a44f
GM
17924 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17925
8340026c 17926 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17927 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17928
5233edd7 17929 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17930 (appt-time-msg-list): Doc fix.
a5464014 17931 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17932
92d10796
AS
179332011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17934
17935 * progmodes/ld-script.el (ld-script-keywords)
17936 (ld-script-builtins): Update keywords list.
17937
914a0ae1
SM
179382011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17939
c89be45f
SM
17940 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17941
914a0ae1
SM
17942 * shell.el (shell-completion-vars): New function.
17943 (shell-mode):
17944 * simple.el (read-shell-command): Use it.
17945 (blink-matching-open): No need for " [...]" in minibuffer-message.
17946
98dc3df3
GM
179472011-05-12 Glenn Morris <rgm@gnu.org>
17948
17949 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17950 (appt-check): Simplify.
17951
d2fc7e3d 179522011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17953
4d61f28d 17954 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17955 literal "/dev/null".
17956
d2fc7e3d 179572011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17958
17959 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17960 Fix typo.
17961
d2fc7e3d 179622011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17963
3f254caa
SM
17964 * progmodes/which-func.el (which-function):
17965 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17966 which might not be defined (Bug#8260).
17967
d45885f7
GM
179682011-05-12 Glenn Morris <rgm@gnu.org>
17969
17970 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17971 Let byte-compile-initial-macro-environment always take precedence.
17972
488086f4
SM
179732011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17974
17975 * net/rcirc.el: Add support for SSL/TLS connections.
17976 (rcirc-server-alist): New field `encryption'.
17977 (rcirc): Check `encryption' settings.
17978 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17979 Merge make-local-variable into `set'.
17980 (rcirc--connection-open-p): New function.
17981 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17982 the process is not a network process (e.g. running gnutls-cli).
17983 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17984 Make rcirc-(en|de)code-coding-system local here.
17985 (rcirc-mode): Merge make-local-variable into `set'.
17986 (rcirc-parent-buffer): Make permanent buffer-local.
17987 (rcirc-multiline-minor-mode): Don't do it here.
17988 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17989 there's no server buffer.
17990
7d3b9d44
GM
179912011-05-11 Glenn Morris <rgm@gnu.org>
17992
f64049c6
GM
17993 * newcomment.el (comment-kill): Prefix "unused" local.
17994
93c9df73
GM
17995 * term/w32console.el (get-screen-color): Declare.
17996
7d3b9d44
GM
17997 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17998 Handle symbol elements of byte-compile-initial-macro-environment.
17999
9e2dd53f
LL
180002011-05-10 Leo Liu <sdl.web@gmail.com>
18001
488086f4
SM
18002 * bookmark.el (bookmark-bmenu-mode-map):
18003 Bind bookmark-bmenu-search to `/'.
8b340240 18004
9e2dd53f 18005 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18006 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18007 (Footnote-unicode): New function.
18008 (footnote-style-alist): Add unicode style to the list.
18009 (footnote-style): Doc fix.
9e2dd53f 18010
79b70037
GM
180112011-05-10 Jim Meyering <meyering@redhat.com>
18012
18013 Fix doubled-word typos.
18014 * international/quail.el (quail-insert-kbd-layout): and and -> and
18015 * kermit.el: and and -> and
18016 * net/ldap.el (ldap-search-internal): to to -> to
18017 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18018 * progmodes/js.el (js-mode): and and -> and
18019 * textmodes/artist.el (artist-move-to-xy): at at -> at
18020 (artist-draw-region-trim-line-endings): if if -> if
18021 And Safetyc -> Safety.
18022 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18023
b8f82dc1 180242011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18025 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18026
18027 * files.el (hack-one-local-variable-eval-safep):
18028 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18029
4f99f44b
GM
180302011-05-10 Glenn Morris <rgm@gnu.org>
18031
18032 * calendar/diary-lib.el (diary-list-entries-hook)
18033 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18034 (diary-nongregorian-marking-hook, diary-list-entries)
18035 (diary-include-other-diary-files, diary-mark-entries)
18036 (diary-mark-included-diary-files): Doc fixes.
18037
84f29e6b
JB
180382011-05-09 Juanma Barranquero <lekktu@gmail.com>
18039
18040 * misc.el: Require tabulated-list.el during compilation.
18041
9bedd73a
CY
180422011-05-09 Chong Yidong <cyd@stupidchicken.com>
18043
488086f4
SM
18044 * progmodes/compile.el (compilation-start):
18045 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18046 (compilation-filter-hook): Doc fix.
18047
797c735c
DD
180482011-05-09 Deniz Dogan <deniz@dogan.se>
18049
18050 * wdired.el: Remove outdated installation comment. Fix usage
18051 comment.
18052
5f4b1dfe
JB
180532011-05-09 Juanma Barranquero <lekktu@gmail.com>
18054
18055 * misc.el: Implement new command `list-dynamic-libraries'.
18056 (list-dynamic-libraries--loaded-only-p): New variable.
18057 (list-dynamic-libraries--refresh): New function.
18058 (list-dynamic-libraries): New command.
18059
4c44026c
CY
180602011-05-09 Chong Yidong <cyd@stupidchicken.com>
18061
488086f4
SM
18062 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18063 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18064 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18065 higher priority to avoid clobbering by gnu.
18066
027f966d
CY
180672011-05-08 Chong Yidong <cyd@stupidchicken.com>
18068
18069 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18070 if the face has existing theme settings (Bug#8454).
18071
085f5d7d
CY
180722011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18073
488086f4
SM
18074 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18075 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18076
2a86a00c
RS
18077 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18078 special file names `.' and `..' (Bug#8259).
18079
d9c54a06
CY
180802011-05-08 Chong Yidong <cyd@stupidchicken.com>
18081
488086f4
SM
18082 * progmodes/grep.el (grep-mode-font-lock-keywords):
18083 Remove buffer-changing entries.
d9c54a06
CY
18084 (grep-filter): New function.
18085 (grep-mode): Add it to compilation-filter-hook.
18086
18087 * progmodes/compile.el (compilation-filter-hook)
18088 (compilation-filter-start): New defvars.
18089 (compilation-filter): Call compilation-filter-hook prior to
18090 updating the process mark.
18091
c4662635
SM
180922011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18093
18094 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18095
b0512a1d
EZ
180962011-05-07 Eli Zaretskii <eliz@gnu.org>
18097
605c9376
EZ
18098 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18099 mailclient-send-it even if window-system is nil. (Bug#8595)
18100
c4662635
SM
18101 * term/w32console.el (terminal-init-w32console):
18102 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18103 background-mode. (Bug#8597)
18104
d1dc2cc2
SM
181052011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18106
18107 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18108 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18109 New functions.
18110 (defgeneric, eieio--defmethod): Use them.
18111 (eieio-defgeneric): Remove.
18112 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18113
915d1300
GM
181142011-05-07 Glenn Morris <rgm@gnu.org>
18115
a3961c3e
GM
18116 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18117 Use let rather than let*.
18118 (timeclock-find-discrep): Remove unused local.
18119
314347b9
GM
18120 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18121
915d1300
GM
18122 * calendar/appt.el (appt-time-msg-list): Doc fix.
18123
275b59b0
NF
181242011-05-06 Noah Friedman <friedman@splode.com>
18125
18126 * apropos.el (apropos-print-doc): Only use
18127 emacs-lisp-docstring-fill-column when it is bound to an integer,
18128 per that variable's documentation.
18129
6c19f744
SM
181302011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18131
18132 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18133 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18134
60f884b2
GM
181352011-05-06 Glenn Morris <rgm@gnu.org>
18136
5006e634
GM
18137 * calendar/appt.el (appt-message-warning-time): Doc fix.
18138 (appt-warning-time-regexp): New option.
18139 (appt-make-list): Respect appt-message-warning-time.
18140
548d0a63
GM
18141 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18142 New options.
18143 (diary-add-to-list): Strip comments from the displayed string.
18144 (diary-mode): Set comment-start and comment-end.
18145
60f884b2
GM
18146 * vc/diff-mode.el (smerge-refine-subst): Declare.
18147 (diff-refine-hunk): Don't require smerge-mode when compiling.
18148
989681bb
JB
181492011-05-06 Juanma Barranquero <lekktu@gmail.com>
18150
18151 * simple.el (list-processes): Return nil as the docstring says.
18152
a6bc05e1
MA
181532011-05-05 Michael Albinus <michael.albinus@gmx.de>
18154
18155 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18156 to "".
18157 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18158 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18159 determining of binary transfer. (Bug#7383)
18160
23c22e9a
MA
181612011-05-05 Michael Albinus <michael.albinus@gmx.de>
18162
c4662635
SM
18163 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18164 Fix port computation bug. (Bug#8618)
23c22e9a 18165
0bff894f
GM
181662011-05-05 Glenn Morris <rgm@gnu.org>
18167
b8296902
GM
18168 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18169
1f522ce8
GM
18170 * simple.el (shell-dynamic-complete-functions)
18171 (comint-dynamic-complete-functions): Declare.
18172
cf5bee67
GM
18173 * net/network-stream.el (gnutls-negotiate):
18174 * simple.el (tabulated-list-print): Fix declarations.
18175
18176 * progmodes/gud.el (syntax-symbol, syntax-point):
18177 Remove unnecessary and incorrect declarations.
18178
0bff894f
GM
18179 * emacs-lisp/check-declare.el (check-declare-scan):
18180 Handle byte-compile-initial-macro-environment in bytecomp.el
18181
9869b3ae
SM
181822011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18183
18184 Fix earlier half-done eieio-defmethod change (bug#8338).
18185 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18186 Streamline and change calling convention.
18187 (defmethod): Adjust accordingly and simplify.
18188 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18189 new eieio--defmethod.
18190 (slot-boundp): Minor CSE simplification.
18191
9c1d5ac5
MZ
181922011-05-05 Milan Zamazal <pdm@zamazal.org>
18193
18194 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18195 (glasses-make-readable): Use glasses-separate-capital-groups.
18196
455c834e
JB
181972011-05-05 Juanma Barranquero <lekktu@gmail.com>
18198
18199 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18200 (warning-series): Doc fix.
18201 (display-warning): Don't try to create the buffer if we just found it.
18202
9ed7c8cb
CY
182032011-05-04 Chong Yidong <cyd@stupidchicken.com>
18204
18205 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18206 (autoload-find-generated-file): New function.
18207 (generate-file-autoloads): Bind generated-autoload-file to
18208 buffer-file-name.
9869b3ae
SM
18209 (update-file-autoloads, update-directory-autoloads):
18210 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18211 output file (Bug#7989).
18212 (batch-update-autoloads): Doc fix.
18213
0898ca10
JB
182142011-05-04 Juanma Barranquero <lekktu@gmail.com>
18215
18216 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18217
31dfb76c
GM
182182011-05-04 Glenn Morris <rgm@gnu.org>
18219
f330b642
GM
18220 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18221 function, so it follows changes in calendar-date-style.
18222 (diary-fancy-date-matcher): New function.
18223 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18224 (diary-fancy-font-lock-fontify-region-function):
18225 Use diary-fancy-date-pattern as a function.
18226
31dfb76c
GM
18227 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18228 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18229
48e79d6a
TZ
182302011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18231
18232 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18233 instead of positional arguments. Allow :keylist and :crlfiles
18234 arguments.
18235 (open-gnutls-stream): Call it.
18236
18237 * net/network-stream.el (network-stream-open-starttls): Adjust to
18238 call `gnutls-negotiate' with :process and :hostname arguments.
18239
dd5a5ee0
SM
182402011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18241
ef80fc09
SM
18242 * minibuffer.el (completion--message): New function.
18243 (completion--do-completion, minibuffer-complete)
18244 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18245 (completion--do-completion): Don't ignore completion-auto-help when in
18246 icomplete-mode.
18247
dd5a5ee0
SM
18248 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18249 internal encoding (e.g. tibetan zero is not whitespace).
18250 (global-whitespace-mode): Prefer save-current-buffer.
18251 (whitespace-trailing-regexp): Remove useless save-match-data.
18252 (whitespace-empty-at-bob-regexp): Minor simplification.
18253
b7d22a83
CY
182542011-05-03 Chong Yidong <cyd@stupidchicken.com>
18255
18256 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18257
5192af46
AM
182582011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18259
18260 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18261 Use `concat' to create string for insertion.
5192af46 18262
5767d190
SM
182632011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18264
18265 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18266 Avoid open-line which runs post-self-insert-hook.
18267 (bibtex-fill-entry): Remove unused `end' var.
18268
bf242939
AM
182692011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18270
5767d190
SM
18271 * textmodes/ispell.el (ispell-add-per-file-word-list):
18272 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18273
25666126
LL
182742011-05-03 Leo Liu <sdl.web@gmail.com>
18275
18276 * isearch.el (isearch-yank-pop): New command.
5767d190 18277 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18278 (isearch-forward): Mention it.
18279
52d3c2d0
SM
182802011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18281
1bcace58
SM
18282 * simple.el (minibuffer-complete-shell-command): Remove.
18283 (minibuffer-local-shell-command-map): Use completion-at-point.
18284 (read-shell-command): Setup completion vars here instead.
18285 (read-expression-map): Bind TAB to symbol completion.
18286
52d3c2d0
SM
18287 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18288 error directly rather via storing it into `results'.
18289
35813471
LL
182902011-05-02 Leo Liu <sdl.web@gmail.com>
18291
18292 * vc/diff.el: Fix description.
18293
e793a940
LMI
182942011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18295
18296 * server.el (server-eval-at): New function.
18297
8de66e05
LMI
182982011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18299
18300 * net/network-stream.el (open-network-stream): Take a :nowait
18301 parameter and pass it on to `make-network-process'.
18302 (network-stream-open-plain): Ditto.
18303
dcb79f20
AS
183042011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18305
18306 * faces.el (face-spec-set-match-display): Don't match toolkit
18307 options on terminal frames.
18308
14a7fbd8
SM
183092011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18310
7eabc1be
SM
18311 * progmodes/pascal.el: Use lexical binding.
18312 (pascal-mode-map): Remove author preferences.
18313
14a7fbd8
SM
18314 * pcomplete.el (pcomplete-std-complete): Don't abuse
18315 completion-at-point.
18316
50f84510
JB
183172011-04-28 Juanma Barranquero <lekktu@gmail.com>
18318
6e087a44
JB
18319 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18320 removing code that has been dead since 1991 or so.
18321
50f84510
JB
18322 * startup.el (command-line): When warning about "_emacs", use a
18323 delayed warning to allow the user to filter it out.
18324
0ba690bd
DD
183252011-04-28 Deniz Dogan <deniz@dogan.se>
18326
18327 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18328 user has not joined.
18329
08abfaad
SM
183302011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18331
18332 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18333 aren't any completions at point.
18334
638f053a
JB
183352011-04-28 Juanma Barranquero <lekktu@gmail.com>
18336
18337 * subr.el (display-delayed-warnings): New function.
18338 (delayed-warnings-hook): New variable.
18339
8fff8daa
SM
183402011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18341
08abfaad
SM
18342 * minibuffer.el (completion-at-point, completion-help-at-point):
18343 Don't presume that a given completion-at-point-function will always
18344 use the same calling convention.
18345
8fff8daa
SM
18346 * pcomplete.el (pcomplete-completions-at-point):
18347 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18348 pcomplete-seen is non-nil.
18349 (pcomplete-comint-setup): Also recognize the new comint/shell
18350 completion functions.
18351 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18352 pcomplete-seen is non-nil.
18353
841a1577 183542011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18355
841a1577 18356 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18357 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18358 the first character in the entry. This allows for code to add its
211ec907
UJ
18359 own uid to the entry.
18360 (icalendar--convert-float-to-ical): Add export of
18361 `diary-float'-entries save for those with the optional DAY
18362 argument.
18363
2a782793
DC
183642011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18365
18366 * subr.el (shell-quote-argument): Use alternate escaping strategy
18367 when we spot a variable reference in a string.
18368
0438ce91
DC
183692011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18370
18371 * cus-start.el (all): Define customization for debug-on-event.
18372
841a1577 183732011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18374
18375 * subr.el (shell-quote-argument): Escape correctly under Windows.
18376
d090ed6c
SM
183772011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18378
18379 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18380
bfd31217
MA
183812011-04-25 Michael Albinus <michael.albinus@gmx.de>
18382
d090ed6c
SM
18383 * net/tramp.el (tramp-process-actions): Add POS argument.
18384 Delete region between POS and (pos).
bfd31217 18385
d090ed6c
SM
18386 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18387 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18388 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18389
18390 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18391 position in `tramp-process-actions' call.
18392
18393 * net/trampver.el: Update release number.
18394
e92f3bd3
SM
183952011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18396
850256b5
SM
18397 * custom.el (defcustom): Obey lexical-binding.
18398
e92f3bd3
SM
18399 Fix octave-inf completion problems reported by Alexander Klimov.
18400 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18401 Inherit from octave-mode-syntax-table.
18402 (inferior-octave-mode): Set info-lookup-mode.
18403 (inferior-octave-completion-at-point): New function.
18404 (inferior-octave-complete): Use it and completion-in-region.
18405 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18406 comint-filename-completion.
18407 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18408 symbol elements which shouldn't be word elements.
18409 (octave-font-lock-keywords, octave-beginning-of-defun)
18410 (octave-function-header-regexp): Adjust regexps accordingly.
18411 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18412
cd22b309
JB
184132011-04-25 Juanma Barranquero <lekktu@gmail.com>
18414
18415 * net/gnutls.el (gnutls-errorp): Declare before first use.
18416
8b492194
TZ
184172011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18418
18419 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18420 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18421 default trustfile exists before going to use it. Add missing
5a5fa834 18422 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18423 Reported by Claudio Bley <claudio.bley@gmail.com>.
18424 (open-gnutls-stream): Add usage example.
18425
18426 * net/network-stream.el (network-stream-open-starttls): Give host
18427 parameter to `gnutls-negotiate'.
18428 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18429 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18430
841a1577 184312011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18432
cd22b309
JB
18433 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18434 Use correct match group (bug#8438).
05842630 18435
3ba7869c
CY
184362011-04-24 Chong Yidong <cyd@stupidchicken.com>
18437
512e3ae1
CY
18438 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18439 (package-menu--generate): New arg specifying packages to show.
18440 (package-menu-refresh, package-menu-execute, list-packages):
18441 Callers changed.
18442 (package-show-package-list): New function, replacing deleted
18443 package--list-packages (renamed because it is non-internal).
18444
18445 * finder.el (finder-list-matches): Use package-show-package-list
18446 instead of deleted package--list-packages.
18447
e92f3bd3
SM
18448 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18449 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18450 (vc-annotate-mode-map): Bind it to RET.
18451
7031be6d
UR
184522011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18453
18454 * progmodes/etags.el (next-file): Don't use set-buffer to change
18455 buffers (Bug#8478).
18456
4ef177aa
CY
184572011-04-24 Chong Yidong <cyd@stupidchicken.com>
18458
c8d173eb
CY
18459 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18460
4ef177aa
CY
18461 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18462 (apropos-accumulator): Doc fix.
18463 (apropos-function, apropos-macro, apropos-command)
18464 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18465 (apropos-plist): Add face property.
18466 (apropos-symbols-internal): Fix indentation.
18467 (apropos-print): Simplify help, and recognize apropos-multi-type.
18468 (apropos-print-doc): Use button-type-get to extract the button's
18469 face property. Fill docstring (Bug#8352).
18470
4ffd0d6b 184712011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18472
18473 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18474
c6c32125 18475 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18476 (mpuz-mode-map): Use mapc.
c6c32125
JB
18477 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18478 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18479 Fix typos in docstrings.
18480
58d468b4
JB
18481 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18482 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18483
6470c3c6
JB
18484 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18485
4ffd0d6b 184862011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18487
18488 * minibuffer.el (completion--do-completion): Avoid the "Next char
18489 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18490
3ad8bad0
CY
18491 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18492 mouse-2 into unread-command-events, it is interpreted correctly.
18493
71d73c9c 18494 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18495 (image-toggle-display): Doc fix.
71d73c9c 18496
841a1577 184972011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18498
4ffd0d6b
GM
18499 * textmodes/page.el (what-page): Use line-number-at-pos to
18500 calculate line number (Bug#6825).
6e1dbaa9 18501
c2fb1b60
JB
185022011-04-22 Juanma Barranquero <lekktu@gmail.com>
18503
18504 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18505 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18506 Pass argument NO-DEFAULT to `find-tag-interactive'.
18507
e02f48d7
JB
185082011-04-22 Juanma Barranquero <lekktu@gmail.com>
18509
18510 Lexical-binding cleanup.
18511
18512 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18513 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18514 * progmodes/ada-prj.el (ada-prj-initialize-values)
18515 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18516 (ada-prj-show-value):
18517 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18518 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18519 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18520 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18521 * progmodes/bug-reference.el (bug-reference-push-button):
18522 * progmodes/fortran.el (fortran-line-length):
18523 * progmodes/glasses.el (glasses-change):
18524 * progmodes/octave-mod.el (octave-fill-paragraph):
18525 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18526 (python-pdbtrack-grub-for-buffer, python-sentinel):
18527 * progmodes/sql.el (sql-save-connection):
18528 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18529 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18530 Mark unused parameters.
18531
18532 * progmodes/compile.el (compilation--flush-directory-cache)
18533 (compilation--flush-parse, compile-internal): Mark unused parameters.
18534 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18535 (compilation-next-error-function): Remove unused variable `timestamp'.
18536
18537 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18538 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18539
18540 * progmodes/dcl-mode.el (dcl-end-of-command):
18541 Remove unused variable `start'.
18542 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18543 (dcl-option-value-basic, dcl-option-value-offset)
18544 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18545 Mark unused parameters.
18546 (dcl-save-local-variable): Remove unused variable `val'.
18547 (mode): Declare.
18548
18549 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18550 Mark unused parameters.
18551 (delphi-ignore-changes): Move before first use.
18552 (delphi-charset-token-at): Remove unused variable `start'.
18553 (delphi-else-start): Remove unused variable `if-count'.
18554 (delphi-comment-block-start, delphi-comment-block-end):
18555 Remove unused variable `kind'.
18556 (delphi-indent-line): Remove unused variable `new-point'.
18557
18558 * progmodes/ebrowse.el (ebrowse-files-list)
18559 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18560 Mark unused parameters. Don't quote `lambda'.
18561 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18562 Don't quote `lambda'.
18563 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18564 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18565 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18566 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18567 Use `ignore-errors'.
18568 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18569 (ebrowse-view/find-file-and-search-pattern)
18570 (ebrowse-view/find-member-declaration/definition):
18571 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18572 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18573 Rename parameter PREFIX-ARG to PREFIX.
18574 (ebrowse-tags-read-name): Remove unused variables `start' and
18575 `member-info'.
18576 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18577 to `tags-file'.
18578
18579 * progmodes/etags.el (local-find-tag-hook): Declare.
18580 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18581 Mark unused parameters.
18582
18583 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18584 (executable-interpret): Mark unused parameter.
18585
18586 * progmodes/flymake.el (flymake-process-sentinel)
18587 (flymake-after-change-function)
18588 (flymake-create-temp-with-folder-structure)
18589 (flymake-get-include-dirs-dot): Mark unused parameters.
18590 (flymake-safe-delete-directory): Remove unused variable `err'.
18591
18592 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18593 (speedbar-timer-fn, speedbar-line-text)
18594 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18595 (speedbar-center-buffer-smartly): Declare functions.
18596 (gdb-find-watch-expression): Remove unused variable `array'.
18597 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18598 (gdb-starting): Mark unused parameters.
18599 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18600 (gdb-table-string): Remove unused variable `res'.
18601 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18602 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18603 (gdb-display-buffer): Remove unused variable `cur-size'.
18604
18605 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18606 allow lexical-binding compilation.
18607 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18608 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18609 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18610 Mark unused parameters.
18611 (gud-gdb-marker-filter): Remove unused variable `match'.
18612 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18613 lambda expressions and funcall them, instead of using `fset'.
18614
18615 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18616 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18617
18618 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18619 variable `header-beg'; use `let'.
18620
18621 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18622 `restart', `last-sexp' and `at-do'.
18623
18624 * progmodes/js.el (js--debug): Mark unused parameter.
18625 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18626 (js--splice-into-items): Remove unused variable `item'.
18627 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18628
18629 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18630 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18631 (makefile-complete): Remove unused variable `try'.
18632 (makefile-fill-paragraph, makefile-match-function-end):
18633 Mark unused parameters.
18634
18635 * progmodes/octave-inf.el (inferior-octave-complete):
18636 Remove unused variable `proc'.
18637 (inferior-octave-output-digest): Mark unused parameter.
18638
18639 * progmodes/perl-mode.el (perl-calculate-indent):
18640 Remove unused variable `err'.
18641
18642 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18643 (prolog-indent-line): Mark unused parameters.
18644 (prolog-indent-line): Remove unused variable `beg'.
18645
18646 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18647 (reporter-dont-compact-list): Declare.
18648
18649 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18650 Remove unused variable `char'.
18651 (sh-debug): Mark unused parameter.
18652 (sh-get-indent-info): Remove unused variable `start'.
18653 (sh-calculate-indent): Remove unused variable `var'.
18654
18655 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18656 (simula-electric-keyword): Remove unused variable `null'.
18657 (simula-search-backward, simula-search-forward): Remove unused
18658 variables `begin' and `end'.
18659
18660 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18661 Remove unused variable `pos'.
18662 (vera-electric-tab, vera-comment-uncomment-region):
18663 Mark unused parameters.
18664 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18665
7ede3b65
CY
186662011-04-22 Chong Yidong <cyd@stupidchicken.com>
18667
18668 * emacs-lisp/package.el (package--builtins, package-alist)
18669 (package-load-descriptor, package-built-in-p, package-activate)
18670 (define-package, package-installed-p)
18671 (package-compute-transaction, package-buffer-info)
18672 (package--push): Doc fix. Distinguish more clearly between
18673 version strings and version lists.
18674
121656e9
JB
186752011-04-21 Juanma Barranquero <lekktu@gmail.com>
18676
18677 Lexical-binding cleanup.
18678
18679 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18680 (5x5-make-mutate-best):
18681 * play/fortune.el (fortune-in-buffer):
18682 * play/gomoku.el (gomoku-init-display):
18683 * play/solitaire.el (solitaire, solitaire-do-check):
18684 * play/tetris.el (tetris-default-update-speed-function):
18685 Mark unused parameters.
18686
18687 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18688 (bubbles--shift): Remove unused variable `char-org'.
18689 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18690 (bubbles--show-images): Remove unused variable `char'.
18691
18692 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18693 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18694 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18695 (decipher-analyze-buffer): Use ?\s.
18696 (decipher-make-checkpoint): Remove unused variable `mapping'.
18697
18698 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18699
18700 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18701 Remove unused variable `result'; use `let'.
18702
18703 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18704 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18705 (gametree-children-shown-p, gametree-compute-reduced-score):
18706 Use `ignore-errors'.
18707
18708 * play/handwrite.el (ps-lpr-switches): Declare.
18709 (handwrite): Remove unused variables `pmin' and `lastp'.
18710
18711 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18712
18713 * play/landmark.el (landmark-init-display)
18714 (landmark-update-naught-weights): Mark unused parameters.
18715 (landmark-y): Remove unused variable `noise'. Simplify.
18716 (landmark-human-plays): Remove unused variable `score'.
18717
18718 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18719 (mpuz-try-proposal): Remove unused variable `game'.
18720
18721 * play/zone.el (life-patterns): Declare.
18722
80f499c7
JB
187232011-04-20 Juanma Barranquero <lekktu@gmail.com>
18724
18725 * vc/vc.el (ediff-vc-internal): Declare function.
18726
024ff170
SM
187272011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18728
c0a193ea
SM
18729 * shell.el: Use lexical-binding and std completion UI.
18730 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18731 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18732 comint-preoutput-filter-functions rather than on
18733 comint-output-filter-functions.
18734 (shell-command-completion, shell--command-completion-data)
18735 (shell-filename-completion, shell-environment-variable-completion)
18736 (shell-c-a-p-replace-by-expanded-directory): New functions.
18737 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18738 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18739 (shell-dynamic-complete-environment-variable): Use them.
18740 (shell-dynamic-complete-as-environment-variable)
18741 (shell-dynamic-complete-as-command): Remove.
18742 (shell-match-partial-variable): Match past point.
18743 * comint.el: Clean up use of completion-at-point-functions.
18744 (comint-completion-at-point): New function.
18745 (comint-mode): Use it completion-at-point-functions.
18746 (comint-dynamic-complete): Make it obsolete.
18747 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18748 (comint-c-a-p-replace-by-expanded-history): New function.
18749 (comint-dynamic-complete-functions)
18750 (comint-replace-by-expanded-history): Use it.
18751 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18752 termination strings. Try harder to avoid second try-completion.
18753 (completion-in-region-mode-map): Disable bindings that don't work yet.
18754
2dbaa080
SM
18755 * comint.el: Use lexical-binding. Require CL.
18756 (comint-dynamic-complete-functions): Use comint-filename-completion.
18757 (comint-completion-addsuffix): Tweak custom type.
18758 (comint-filename-completion, comint--common-suffix)
18759 (comint--common-quoted-suffix, comint--table-subvert)
18760 (comint--complete-file-name-data): New functions.
18761 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18762 (comint-dynamic-list-filename-completions): Use them.
18763 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18764
2dbaa080
SM
18765 * minibuffer.el (completion-in-region-mode):
18766 Keep completion-in-region-mode--predicate global.
18767 (completion-in-region--postch):
18768 Assume completion-in-region-mode--predicate is not null.
18769
c79a6f38
SM
18770 * progmodes/flymake.el (flymake-start-syntax-check-process):
18771 Obey `dir'. Simplify.
18772
024ff170
SM
18773 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18774 we're in VC after all.
18775
1c6c854e
CS
187762011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18777
18778 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18779 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18780 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18781
bed7f140
SM
187822011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18783
332e62ab
SM
18784 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18785 add sanity check.
18786
bed7f140
SM
18787 * obsolete/erc-hecomplete.el: Make obsolete.
18788 * obsolete/: Standardize obsolescence info in the header.
18789
f195c582
GM
187902011-04-20 Glenn Morris <rgm@gnu.org>
18791
18792 * calendar/solar.el (solar-horizontal-coordinates):
18793 Use the longitude argument rather than `calendar-longitude'.
18794 (solar-date-next-longitude): Remove unused locals.
18795
cb79b8c0
VJL
187962011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18797
18798 * whitespace.el: New version 13.2.1.
18799
188002011-04-20 felix <EmacsWiki> (tiny change)
18801
d8e4b68b 18802 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18803 switching between major modes on a file.
18804
602ea69d
SM
188052011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18806
18807 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18808 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18809 multi-line comments as well.
18810
06b60517
JB
188112011-04-19 Juanma Barranquero <lekktu@gmail.com>
18812
18813 Lexical-binding cleanup.
18814
18815 * arc-mode.el (archive-mode-revert):
18816 * cmuscheme.el (scheme-interactively-start-process):
18817 * custom.el (custom-initialize-delay):
18818 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18819 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18820 * emacs-lock.el (emacs-lock-clear-sentinel):
18821 * ezimage.el (defezimage):
18822 * follow.el (follow-avoid-tail-recenter):
18823 * fringe.el (set-fringe-mode-1):
18824 * generic-x.el (bat-generic-mode-compile):
18825 * help-mode.el (help-info-variable, help-do-xref)
18826 (help-mode-revert-buffer):
18827 * help.el (view-emacs-todo):
18828 * iswitchb.el (iswitchb-completion-help):
18829 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18830 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18831 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18832 * locate.el (locate-update):
18833 * longlines.el (longlines-encode-region)
18834 (longlines-after-change-function):
18835 * outline.el (outline-isearch-open-invisible):
18836 * ps-def.el (declare-function, charset-dimension, char-width)
18837 (encode-char):
18838 * ps-mule.el (ps-mule-plot-string):
18839 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18840 (recentf-edit-list-select, recentf-edit-list-validate)
18841 (recentf-open-files-action):
18842 * rect.el (delete-whitespace-rectangle-line)
18843 (rectangle-number-line-callback):
18844 * register.el (window-configuration-to-register)
18845 (frame-configuration-to-register):
18846 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18847 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18848 (xselect-convert-to-targets, xselect-convert-to-delete)
18849 (xselect-convert-to-filename, xselect-convert-to-charpos)
18850 (xselect-convert-to-lineno, xselect-convert-to-colno)
18851 (xselect-convert-to-os, xselect-convert-to-host)
18852 (xselect-convert-to-user, xselect-convert-to-class)
18853 (xselect-convert-to-name, xselect-convert-to-integer)
18854 (xselect-convert-to-atom, xselect-convert-to-identity):
18855 * subr.el (declare, ignore, process-kill-without-query)
18856 (text-clone-maintain):
18857 * terminal.el (te-get-char, te-tic-sentinel):
18858 * tool-bar.el (tool-bar-make-keymap):
18859 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18860 * type-break.el (type-break-mode, type-break-noninteractive-query):
18861 * view.el (View-back-to-mark):
18862 * wid-browse.el (widget-browse-action, widget-browse-widget)
18863 (widget-browse-widgets, widget-browse-sexp):
18864 * widget.el (define-widget-keywords):
18865 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18866 Mark unused parameters.
18867
18868 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18869 (align-areas): Remove unused variable `look'.
18870 (align-region): Remove unused variables `real-end' and `pos-list'.
18871
18872 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18873
18874 * bindings.el (mode-line-modified, mode-line-remote):
18875 Mark unused parameters.
18876 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18877
18878 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18879 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18880
18881 * comint.el (comint-history-isearch-pop-state)
18882 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18883 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18884 (comint-substitute-in-file-name): Doc fix.
18885
18886 * completion.el (cmpl-statistics-block): Mark unused parameter.
18887 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18888 (save-completions-to-file, load-completions-from-file):
18889 Remove unused local variable `e'.
18890
18891 * composite.el (compose-chars): Remove unused variable `len'.
18892 (lgstring-insert-glyph): Remove unused variable `g'.
18893 (compose-glyph-string): Remove unused variables `ascent',
18894 `descent', `lbearing' and `rbearing'.
18895 (compose-glyph-string-relative): Remove unused variables
18896 `lbearing', `rbearing' and `wadjust'.
18897 (compose-gstring-for-graphic): Remove unused variables `header',
18898 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18899 (compose-gstring-for-terminal): Remove unused variables `header'
18900 and `nchars'. Use `let', not `let*'.
18901
18902 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18903 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18904 (Custom-buffer-done, custom-buffer-create-internal)
18905 (custom-browse-visibility-action, custom-browse-group-tag-action)
18906 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18907 (widget-magic-mouse-down-action, custom-toggle-parent)
18908 (custom-add-parent-links, custom-toggle-hide-variable)
18909 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18910 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18911 (custom-face-menu-create, custom-variable-menu-create, get)
18912 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18913 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18914 (customize-apropos): Remove unused variable `tests'.
18915 (custom-group-value-create): Remove unused variable `hidden-p'.
18916 (sort-fold-case): Declare.
18917
18918 * cus-theme.el (custom-reset-standard-faces-list)
18919 (custom-reset-standard-variables-list): Declare.
18920 (customize-create-theme, custom-theme-revert, custom-theme-write)
18921 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18922 Mark unused parameters.
18923
18924 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18925
18926 * delim-col.el (delimit-columns-max): Move defvar before first use.
18927
18928 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18929 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18930
18931 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18932 (auto-insert): Declare.
18933 (desktop-restore-file-buffer): Rename desktop-* parameters;
18934 mark unused ones.
18935 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18936 (desktop-buffer): Rename desktop-* parameters.
18937
18938 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18939 (dframe-reposition-frame-xemacs, dframe-help-echo)
18940 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18941 Mark unused parameters.
18942
18943 * dired-aux.el (backup-extract-version-start, overwrite-query)
18944 (overwrite-backup-query, rename-regexp-query)
18945 (rename-non-directory-query): Declare.
18946 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18947 (dired-add-entry): Remove unused variable `orig-file-name'.
18948 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18949 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18950 `dired-copy-preserve-time' directly.
18951 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18952 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18953
18954 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18955 (dired-virtual-revert, dired-make-relative-symlink):
18956 Mark unused parameters.
18957 (manual-program): Declare.
18958 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18959 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18960 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18961
18962 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18963
18964 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18965
18966 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18967 Declare.
18968
18969 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18970
18971 * electric.el (Electric-command-loop): Rename parameter
18972 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18973
18974 * expand.el (expand-in-literal): Remove unused variable `here'.
18975
18976 * facemenu.el (facemenu-add-new-color):
18977 Remove unused variable `docstring'.
18978
18979 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18980 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18981 (face-attr-construct): Mark unused parameter. Doc fix.
18982 (read-color): Remove unused variable `hex-string'.
18983
18984 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18985 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18986 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18987 (display-buffer-other-frame): Remove unused variable `old-window'.
18988 (kill-buffer-hook): Declare.
18989 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18990 Mark unused parameters.
18991 (after-find-file): Pass 1 to `auto-save-mode', not t.
18992
18993 * files-x.el (auto-insert): Declare.
18994 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18995
18996 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 18997 variable `buf'. Mark unused parameter.
06b60517
JB
18998 (find-lisp-insert-directory): Mark unused parameter.
18999
19000 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19001 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19002 (format-common-tail): Remove, unused.
19003 (format-deannotate-region): Remove unused variable `loc'.
19004 (format-annotate-region): Remove unused variable `p'.
19005 (format-annotate-single-property-change): Remove unused variables
19006 `default' and `tail'.
19007
19008 * forms.el (read-file-filter): Declare.
19009 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19010
19011 * frame.el (frame-creation-function-alist): Mark unused parameter.
19012 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19013
19014 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19015 Remove unused parameters.
19016 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19017 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19018
19019 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19020 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19021 (hfy-prepare-tag-map): Mark unused parameters.
19022 (htmlfontify-buffer): Use `called-interactively-p'.
19023
19024 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19025 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19026 (ibuffer-do-occur): Mark unused parameters.
19027 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19028 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19029
19030 * ibuffer.el: Don't quote `lambda'.
19031 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19032 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19033 Mark unused parameters.
19034
19035 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19036 (ido-completing-read): Mark unused parameters.
19037 (ido-copy-current-word): Mark unused parameters;
19038 remove unused variable `name'.
19039 (ido-sort-merged-list): Remove unused parameter `dirs'.
19040
19041 * ielm.el (ielm-input-sender): Mark unused parameter.
19042 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19043 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19044 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19045 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19046 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19047
19048 * image-dired.el (image-dired-display-thumbs): Remove unused
19049 variables `curr-file' and `count'.
19050 (image-dired-remove-tag): Remove unused variable `start'.
19051 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19052 variable `curr-file'
19053 (image-dired-rotate-original): Remove unused variable `temp-file'.
19054 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19055 Remove unused variable `file'.
19056 (image-dired-gallery-generate): Remove unused variable `curr'.
19057 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19058
19059 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19060
19061 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19062
19063 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19064
19065 * isearch.el (minibuffer-history-symbol): Declare.
19066 (isearch-edit-string): Remove unused variable `err'.
19067 (isearch-message-prefix, isearch-message-suffix):
19068 Mark unused parameters.
19069
19070 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19071
19072 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19073
19074 * makesum.el (double-column): Remove unused variable `cnt'.
19075
19076 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19077 (ido-ignore-item-temp-list): Declare.
19078
19079 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19080 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19081 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19082 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19083 `mouse-col-delta'.
19084
19085 * mouse-sel.el (mouse-extend-internal):
19086 Remove unused variable `orig-window-frame'.
19087
19088 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19089 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19090 Move declarations before first use.
19091 (pcomplete-opt): Mark unused parameters; doc fix.
19092
19093 * proced.el (proced-revert): Mark unused parameter.
19094 (proced-send-signal): Remove unused variable `err'.
19095
19096 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19097 Rename parameter PREFIX-ARG to ARG.
19098 (ps-basic-plot-string, ps-basic-plot-whitespace):
19099 Mark unused parameters.
19100
19101 * replace.el (replace-count): Define.
19102 (occur-revert-function): Mark unused parameters.
19103 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19104 (isearch-case-fold-search, isearch-string): Declare.
19105 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19106 bind `case-fold-search'. Remove unused variables `beg' and `end',
19107 and simplify.
19108 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19109 COUNT and bind `replace-count'.
19110 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19111 to COUNT.
19112
19113 * savehist.el (print-readably, print-string-length): Declare.
19114
19115 * shadowfile.el (shadow-expand-cluster-in-file-name):
19116 Remove unused variable `cluster'.
19117 (shadow-copy-file): Remove unused variable `i'.
19118 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19119 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19120 (shadow-define-literal-group, shadow-define-regexp-group)
19121 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19122
19123 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19124 (shell): Use `called-interactively-p'.
19125 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19126
19127 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19128 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19129 (delete-backward-char): Remove unused variable `ocol'.
19130 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19131 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19132 (event-apply-hyper-modifier, event-apply-shift-modifier)
19133 (event-apply-control-modifier, event-apply-meta-modifier):
19134 Mark unused parameters.
19135 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19136 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19137
19138 * speedbar.el (speedbar-ignored-directory-expressions)
19139 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19140 (speedbar-find-file, speedbar-dir-follow)
19141 (speedbar-directory-buttons-follow, speedbar-tag-find)
19142 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19143 (speedbar-buffers-line-directory, speedbar-buffer-click):
19144 Mark unused parameters.
19145 (speedbar-tag-file): Remove unused variable `mode'.
19146 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19147
19148 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19149
19150 * talk.el (talk): Remove unused variable `display'.
19151
19152 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19153 (tar-write-region-annotate): Mark unused parameter.
19154
19155 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19156 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19157 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19158 warning by another.
19159
19160 * time-stamp.el (time-stamp-string-preprocess):
19161 Remove unused variable `require-padding'.
19162
19163 * tree-widget.el (widget-glyph-enable): Declare.
19164 (tree-widget-action): Mark unused parameter.
19165
19166 * w32-fns.el (x-get-selection): Mark unused parameter.
19167 (autoload-make-program, generated-autoload-file): Declare.
19168
19169 * wdired.el (wdired-revert): Mark unused parameters.
19170 (wdired-xcase-word): Remove unused variable `err'.
19171
19172 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19173 (whitespace-help-scroll): Remove unused variable `data-help'.
19174
19175 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19176 (widget-image-insert, widget-after-change, default)
19177 (widget-default-format-handler, widget-default-notify)
19178 (widget-default-prompt-value, widget-info-link-action)
19179 (widget-url-link-action, widget-function-link-action)
19180 (widget-variable-link-action, widget-file-link-action)
19181 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19182 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19183 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19184 (widget-insert-button-action, widget-delete-button-action, visibility)
19185 (widget-documentation-link-action, widget-documentation-string-action)
19186 (widget-const-prompt-value, widget-regexp-match, symbol)
19187 (widget-coding-system-prompt-value)
19188 (widget-key-sequence-value-to-external, sexp)
19189 (widget-sexp-value-to-internal, character, vector, cons)
19190 (widget-choice-prompt-value, widget-boolean-prompt-value)
19191 (widget-color--choose-action): Mark unused parameters.
19192 (widget-item-match-inline, widget-choice-match-inline)
19193 (widget-checklist-match, widget-checklist-match-inline)
19194 (widget-group-match): Rename parameter VALUES to VALS.
19195 (widget-field-value-set): Remove unused variable `size'.
19196 (widget-color-action): Remove unused variables `value' and `start'.
19197
19198 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19199 variable `dir'. Doc fix.
06b60517
JB
19200 (windmove-find-other-window): Don't pass it.
19201
19202 * window.el (count-windows): Mark unused parameter.
19203 (bw-adjust-window): Remove unused variable `err'.
19204
19205 * woman.el (woman-file-name): Remove unused variable `default'.
19206 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19207 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19208 (global-font-lock-mode): Declare.
19209 (woman-decode-region): Mark unused parameter.
19210 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19211
19212 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19213 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19214 (x-dnd-handle-moz-url): Remove unused variable `title'.
19215 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19216
19217 * xml.el (xml-parse-tag, xml-parse-attlist):
19218 Remove unused variable `pos'.
19219
bc4f7f3d
GM
192202011-04-19 Glenn Morris <rgm@gnu.org>
19221
19222 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19223 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19224 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19225 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19226 * calendar/cal-html.el (cal-html-insert-minical):
19227 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19228 (calendar-mark-date-pattern):
19229 Prefix "unused" locals.
19230
19231 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19232 optional argument `style'.
19233
19234 * calendar/appt.el (appt-make-list):
19235 * calendar/cal-china.el (calendar-chinese-date-string):
19236 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19237 (diary-hebrew-yahrzeit):
19238 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19239 * calendar/calendar.el (calendar-generate-window):
19240 * calendar/time-date.el (time-to-days):
19241 Remove unused local variables.
19242
16a43933
CY
192432011-04-18 Chong Yidong <cyd@stupidchicken.com>
19244
19245 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19246 glyphless-char-display table.
19247 (tabulated-list-glyphless-char-display): New var.
19248
7eed1860
SS
192492011-04-18 Sam Steingold <sds@gnu.org>
19250
19251 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19252 to acknowledgments.
19253
4d2d1ccd
GM
192542011-04-17 Glenn Morris <rgm@gnu.org>
19255
19256 * calendar/diary-lib.el (diary-sexp-entry):
19257 * calendar/holidays.el (holiday-sexp):
19258 Set debug-on-error rather than the removed stack-trace-on-error.
19259
239da61d
GM
192602011-04-16 Glenn Morris <rgm@gnu.org>
19261
19262 * progmodes/f90.el: Use lexical-binding.
19263 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19264
8b05752a
SM
192652011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19266
daca8ba5
SM
19267 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19268 (mail-mode): Setup mailalias completion here instead.
19269 * mail/mailalias.el: Use lexical-binding.
19270 (pattern, mailalias-done): Declare dynamic.
19271 (mail-completion-at-point-function): New function, from mail-complete.
19272 (mail-complete): Use it.
19273 (mail-completion-expand): New function.
19274 (mail-get-names): Use it.
19275 (mail-directory, mail-directory-process, mail-directory-stream):
19276 Don't use `pattern' for lexically bound arg.
19277
6f542485
SM
19278 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19279
037e7c3f
SM
19280 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19281 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19282 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19283
8b05752a
SM
19284 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19285 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19286 (byte-interactive-p): Define them again, for use when inlining
19287 old code.
19288
49093f60
JB
192892011-04-15 Juanma Barranquero <lekktu@gmail.com>
19290
19291 * loadup.el: Use `string-to-number', not `string-to-int'.
19292
b5b8e7de
SM
192932011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19294
19295 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19296 gud-gdb-complete-command.
19297 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19298 (gud-gdb-completion-at-point): New function.
19299 (gud-gdb-completions): Remove.
19300
f42efeb5
MA
193012011-04-14 Michael Albinus <michael.albinus@gmx.de>
19302
49093f60
JB
19303 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19304 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19305 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19306 whether `executable-find' is bound.
f42efeb5
MA
19307
19308 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19309
e240cc21
SM
193102011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19311
19312 * minibuffer.el (completion-in-region-mode-predicate)
19313 (completion-in-region-mode--predicate): New vars.
19314 (completion-in-region, completion-in-region--postch)
19315 (completion-in-region-mode): Use them.
19316 (completion--capf-wrapper): Also return the hook function.
19317 (completion-at-point, completion-help-at-point):
19318 Adjust and provide a predicate.
c2bd2ab0
SM
19319
19320 Preserve arg names for advice of subr and lexical functions (bug#8457).
19321 * help-fns.el (help-function-arglist): Consolidate the subr and
19322 new-byte-code cases. Add argument `preserve-names' to extract names
19323 from the docstring when needed.
19324 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19325 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19326 (ad-arglist): Use help-function-arglist's new arg.
19327 (ad-definition-type): Use cond.
19328
c183f693
JB
193292011-04-13 Juanma Barranquero <lekktu@gmail.com>
19330
06641a47
JB
19331 * autorevert.el (auto-revert-handler):
19332 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19333 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19334 Don't quote lambda.
19335
c183f693
JB
19336 * image-mode.el (image-transform-set-scale):
19337 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19338
1e3b6001
G
193392011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19340
19341 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19342 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19343 Upgrades via gnutls-cli are too slow to be done opportunistically.
19344
2d6af8dd
JB
193452011-04-12 Juanma Barranquero <lekktu@gmail.com>
19346
19347 * dframe.el (dframe-current-frame): Remove spurious quote.
19348
c0749a51
GM
193492011-04-12 Glenn Morris <rgm@gnu.org>
19350
088d0d61
GM
19351 * calendar/cal-tex.el (cal-tex-end-document):
19352 Try to automatically use latin1 input if needed.
19353
c0749a51
GM
19354 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19355 Don't try to cons a mark onto an empty element.
19356
5c90fde0
LL
193572011-04-11 Leo Liu <sdl.web@gmail.com>
19358
19359 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19360 buffers.
19361 (ido-kill-buffer-at-head): Support killing virtual buffers.
19362
369e974d
CY
193632011-04-10 Chong Yidong <cyd@stupidchicken.com>
19364
19365 * minibuffer.el (completion-show-inline-help): New var.
19366 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19367 (minibuffer-force-complete, minibuffer-complete-word):
19368 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19369
19370 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19371 to avoid interference from inline help (Bug#5849).
19372
37f1c930
LL
193732011-04-10 Leo Liu <sdl.web@gmail.com>
19374
099c39a4
JB
19375 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19376 Fix typo.
37f1c930 19377
a32d4040
CY
193782011-04-09 Chong Yidong <cyd@stupidchicken.com>
19379
19380 * image-mode.el (image-toggle-display-image): Signal an error if
19381 not in Image mode.
19382 (image-transform-mode, image-transform-resize)
19383 (image-transform-set-rotation): Doc fix.
daca8ba5 19384 (image-transform-set-resize): Delete.
a32d4040
CY
19385 (image-transform-set-scale, image-transform-fit-to-height)
19386 (image-transform-fit-to-width): Handle image-toggle-display-image
19387 and image-transform-resize directly.
19388
099c39a4 193892011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19390
19391 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19392 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19393 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19394 (doc-view-mode-map): Add bindings for the new functions.
19395
099c39a4 193962011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19397
4d61f28d 19398 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19399 Fix typo in docstring.
19400
3726838a
EZ
194012011-04-08 Eli Zaretskii <eliz@gnu.org>
19402
04f33f1e
EZ
19403 * files.el (file-size-human-readable): Produce one digit after
19404 decimal, like "ls -lh" does.
19405
19406 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19407 the file size representation.
19408
3726838a
EZ
19409 * simple.el (list-processes): If async subprocesses are not
19410 available, error out with a clear error message.
19411
cbb59342
CY
194122011-04-08 Chong Yidong <cyd@stupidchicken.com>
19413
19414 * help.el (help-form-show): New function, to be called from C.
19415 Put help-form output in a buffer named differently than *Help*.
19416
e3971c44
EZ
194172011-04-08 Eli Zaretskii <eliz@gnu.org>
19418
19419 * files.el (file-size-human-readable): New function.
19420
19421 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19422 computing the representation inline. Don't require `cl'.
19423
12544bbe
GM
194242011-04-08 Glenn Morris <rgm@gnu.org>
19425
a1de6c6a
GM
19426 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19427
3c4671f4
GM
19428 * net/browse-url.el (browse-url-firefox):
19429 Test system-type, not system-configuration.
19430
b605679c
GM
19431 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19432 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19433 Use log-edit-empty-buffer-p. (Bug#7598)
19434
56442f0c
GM
19435 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19436 (rlogin-mode-map): Initialize in the defvar.
19437 (rlogin): Use ignore-errors.
19438
12544bbe
GM
19439 * replace.el (occur-mode-map): Some fixes for menu items.
19440
eb237b0f
AH
194412011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19442
19443 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19444
7d668f2c
CY
194452011-04-06 Chong Yidong <cyd@stupidchicken.com>
19446
e67a13ab
CY
19447 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19448 issuing unused warnings.
19449
19450 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19451 macro directly.
19452
7d668f2c
CY
19453 * simple.el: Lisp reimplement of list-processes. Based on an
19454 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19455 (process-menu-mode): New major mode.
19456 (list-processes--refresh, list-processes):
19457 (process-menu-visit-buffer): New functions.
19458
19459 * files.el (save-buffers-kill-emacs): Don't assume any return
19460 value of list-processes, which is undocumented anyway.
19461
a83ec3c9
CY
194622011-04-06 Chong Yidong <cyd@stupidchicken.com>
19463
19464 * emacs-lisp/tabulated-list.el: New file.
19465
e91a96fe
CY
19466 * emacs-lisp/package.el: Use Tabulated List mode.
19467 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19468 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19469 table format using Tabulated List mode variables.
19470 (package--push): New macro, replacing package-list-maybe-add.
19471 (package-menu--generate): Use package--push. Renamed from
19472 package--generate-package-list.
19473 (package-menu-refresh, list-packages): Use it.
daca8ba5 19474 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19475 Return insertion data instead of inserting it directly.
099c39a4
JB
19476 (package-menu-describe-package, package-menu-execute):
19477 Use tabulated-list-get-id.
e91a96fe
CY
19478 (package-menu-mark-delete, package-menu-mark-install)
19479 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19480 (package-menu-mark-obsolete-for-deletion):
19481 Use tabulated-list-put-tag.
e91a96fe
CY
19482 (package--list-packages, package-menu-revert)
19483 (package-menu-get-package, package-menu-get-version)
19484 (package-menu-sort-by-column): Functions deleted.
19485 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19486 (package-menu--status-predicate, package-menu--version-predicate)
19487 (package-menu--name-predicate)
19488 (package-menu--description-predicate): Handle arguments in the
19489 Tabulated List format.
19490 (package-list-packages-no-fetch): Call list-packages.
19491
3e214b50
JB
194922011-04-06 Juanma Barranquero <lekktu@gmail.com>
19493
19494 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19495 (after-find-file): Don't bind it.
3e214b50
JB
19496 (revert-buffer-in-progress-p): New variable.
19497 (revert-buffer): Bind it.
19498 Pass nil for `after-find-file-from-revert-buffer'.
19499
19500 * saveplace.el (save-place-find-file-hook): Use new variable
19501 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19502
3f0f1700
GM
195032011-04-06 Glenn Morris <rgm@gnu.org>
19504
c0274801
GM
19505 * Makefile.in (AUTOGEN_VCS): New variable.
19506 (autoloads): Use $AUTOGEN_VCS.
19507
3f0f1700
GM
19508 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19509 * calendar/calendar.el (calendar-mode-map):
19510 Check for toolkit scroll bars. (Bug#8305)
19511
41ea9e48
CY
195122011-04-05 Chong Yidong <cyd@stupidchicken.com>
19513
19514 * minibuffer.el (completion-in-region--postch)
19515 (completion-in-region-mode): Remove unnecessary messages.
19516
6194c800
JB
195172011-04-05 Juanma Barranquero <lekktu@gmail.com>
19518
33256f14
JB
19519 * font-lock.el (font-lock-refresh-defaults):
19520 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19521 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19522
6194c800
JB
19523 * info.el (Info-directory-list, Info-read-node-name-2)
19524 (Info-split-parameter-string): Doc fixes.
19525 (Info-virtual-nodes): Reflow docstring.
19526 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19527 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19528 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19529 Fix typos in docstrings.
19530 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19531 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19532 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19533 (Info-restore-desktop-buffer): Mark unused parameters.
19534 (Info-directory-find-file, Info-directory-find-node)
19535 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19536 (Info-virtual-index-find-node, Info-apropos-find-file)
19537 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19538 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19539 (Info-virtual-index): Remove unused local variable `nodename'.
19540
b87a8200 195412011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19542
b87a8200
DD
19543 * net/rcirc.el: Update my e-mail address.
19544 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19545
3b2ff876
CY
195462011-04-05 Chong Yidong <cyd@stupidchicken.com>
19547
19548 * startup.el (command-line): Save the cursor's theme-face
19549 directly, instead of using face-override-spec.
19550
19551 * custom.el (load-theme): Minor optimization in assigning faces.
19552
8d17e7ca
JB
195532011-04-04 Juanma Barranquero <lekktu@gmail.com>
19554
19555 * help-fns.el (describe-variable): Complete all variables having
19556 documentation, including keywords.
19557 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19558
2fbc1934
JB
195592011-04-04 Juanma Barranquero <lekktu@gmail.com>
19560
19561 Convert to lexical-binding.
19562
19563 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19564 (bs--get-marked-string, bs--get-modified-string)
19565 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19566 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19567 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19568
19569 * ehelp.el (electric-help-execute-extended)
19570 (electric-help-ctrl-x-prefix):
19571 * hexl.el (hexl-revert-buffer-function):
19572 * linum.el (linum-after-change, linum-after-scroll):
19573 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19574
19575 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19576
74f50695
DU
195772011-04-04 Daiki Ueno <ueno@unixuser.org>
19578
19579 * epa-dired.el:
19580 * epa-mail.el:
19581 * epa-hook.el:
19582 * epa-file.el:
19583 * epa.el:
19584 * epg.el: Use lexical binding.
19585
c11325f7
CY
195862011-04-03 Chong Yidong <cyd@stupidchicken.com>
19587
0d9e9a12
CY
19588 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19589
c11325f7 19590 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19591 dictionary case for flyspell-mark-duplications-exceptions.
19592 Use regexp matching for languages.
c11325f7
CY
19593 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19594 default dictionary (Bug#7926).
19595
da91b5f2
CY
195962011-04-02 Chong Yidong <cyd@stupidchicken.com>
19597
099c39a4
JB
19598 * emacs-lisp/package.el (package--with-work-buffer):
19599 Recognize https URLs.
da91b5f2 19600
099c39a4
JB
19601 * net/network-stream.el: Move from gnus/proto-stream.el.
19602 Change prefix to network-stream throughout.
da91b5f2
CY
19603 (open-protocol-stream): Merge into open-network-stream, leaving
19604 open-protocol-stream as an alias. Handle nil BUFFER args.
19605
19606 * subr.el (open-network-stream): Move to net/network-stream.el.
19607
afa8e9f6
GM
196082011-04-02 Glenn Morris <rgm@gnu.org>
19609
1d2e369d
GM
19610 * find-dired.el (find-exec-terminator): New option.
19611 (find-ls-option): Test for -ls support.
19612 (find-ls-subdir-switches): Test for -b in find-ls-option.
19613 (find-dired, find-grep-dired): Doc fixes.
19614 (find-dired): Use find-exec-terminator.
19615
8abb7da8 19616 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19617 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19618 (find-name-arg): Remove purecopy.
8abb7da8 19619
f3ca7378
GM
19620 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19621 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19622 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19623 accordingly. Don't add the null-device if not needed.
19624
afa8e9f6
GM
19625 * files.el (save-some-buffers): Doc fix.
19626
35eae264
EZ
196272011-04-02 Eli Zaretskii <eliz@gnu.org>
19628
19629 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19630
26b51db5
JB
196312011-04-01 Juanma Barranquero <lekktu@gmail.com>
19632
19633 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19634 Use `dolist' rather than `mapcar'.
19635
7200d79c
SM
196362011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19637
03408648 19638 Add lexical binding.
7200d79c 19639
03408648
SM
19640 * subr.el (apply-partially): Use new closures rather than CL.
19641 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19642 (dolist, dotimes): Use slightly different expansion for lexical code.
19643 (functionp): Move to C.
19644 (letrec): New macro.
19645 (with-wrapper-hook): Use it and apply-partially instead of CL.
19646 (eval-after-load): Preserve lexical-binding.
19647 (save-window-excursion, with-output-to-temp-buffer): Turn them
19648 into macros.
7200d79c 19649
03408648
SM
19650 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19651
19652 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19653 than the arglist.
19654 (help-add-fundoc-usage): Don't add `Not documented'.
19655 (help-function-arglist): Handle closures, subroutines, and new
19656 byte-code-functions.
19657 (help-make-usage): Remove leading underscores.
19658 (describe-function-1): Handle closures.
19659 (describe-variable): Use special-variable-p for completion.
19660
19661 * files.el (lexical-binding): Declare safe.
f488fb65 19662
03408648
SM
19663 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19664 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19665 (pcase): Add `let' pattern.
19666 Change memoization so it actually works.
19667 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19668 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19669 <let>: New case.
f488fb65 19670
03408648
SM
19671 * emacs-lisp/macroexp.el: Use lexical binding.
19672 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19673 Don't convert ' to #' without checking that it's indeed quoting
19674 a lambda.
19675
19676 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19677 Use eval-sexp-add-defvars.
03408648
SM
19678 (eval-sexp-add-defvars): New fun.
19679
19680 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19681
19682 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19683 Don't autoload.
19684 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19685 than the internal `byte-compile-lambda'.
19686 (defmethod): Don't hide code under quotes.
19687 (eieio-defmethod): New `code' argument.
19688
19689 * emacs-lisp/eieio-comp.el: Remove.
19690
19691 * emacs-lisp/edebug.el (edebug-eval-defun)
19692 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19693 (edebug-toggle): Avoid `eval'.
19694
19695 * emacs-lisp/disass.el (disassemble-internal): Handle new
19696 `closure' objects.
19697 (disassemble-1): Handle new byte codes.
19698
19699 * emacs-lisp/cl.el (pushnew): Silence warning.
19700
19701 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19702 (cl-byte-compile-throw): Remove.
19703 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19704
19705 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19706 closures.
19707
19708 * emacs-lisp/cconv.el: New file.
19709
19710 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19711 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19712 (byte-compile-initial-macro-environment):
19713 Handle declare-function here.
19714 (byte-compile--lexical-environment): New var.
19715 (byte-stack-ref, byte-stack-set, byte-discardN)
19716 (byte-discardN-preserve-tos): New lap codes.
19717 (byte-interactive-p): Don't use any more.
19718 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19719 New macros.
19720 (byte-compile-lapcode): Use them and handle new lap codes.
19721 (byte-compile-obsolete): Remove.
19722 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19723 (byte-compile-arglist-warn): Check late def of inlinable funs.
19724 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19725 since they should have been expanded by now.
19726 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19727 (byte-compile-from-buffer): Remove unused second arg.
19728 (byte-compile-preprocess): New function.
19729 (byte-compile-toplevel-file-form): New function to distinguish
19730 file-form calls from outside from file-form calls from hunk-handlers.
19731 (byte-compile-file-form): Simplify.
19732 (byte-compile-file-form-defsubst): Remove.
19733 (byte-compile-file-form-defmumble): Simplify now that
19734 byte-compile-lambda always returns a byte-code-function.
19735 (byte-compile): Preprocess.
19736 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19737 Remove, not used any more.
19738 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19739 (byte-compile-make-args-desc): New funs.
19740 (byte-compile-lambda): Handle lexical functions. Always return
19741 a byte-code-function.
19742 (byte-compile-reserved-constants): New var, to make up room for
19743 closed-over variables.
19744 (byte-compile-constants-vector): Obey it.
19745 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19746 (byte-compile-macroexpand-declare-function): New function.
19747 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19748 byte-code-functions.
19749 (byte-compile-form): Check obsolescence here.
19750 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19751 (byte-compile-variable-ref): Remove.
19752 (byte-compile-dynamic-variable-op): New fun.
19753 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19754 (byte-compile-variable-set): New funs.
19755 (byte-compile-discard): Add 2 args.
19756 (byte-compile-stack-ref, byte-compile-stack-set)
19757 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19758 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19759 macroexpand-all instead.
19760 (byte-compile-quote-form): Remove.
19761 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19762 (byte-compile-bind, byte-compile-unbind): New funs.
19763 (byte-compile-let): Handle let* and lexical binding.
19764 (byte-compile-let*): Remove.
19765 (byte-compile-catch, byte-compile-unwind-protect)
19766 (byte-compile-track-mouse, byte-compile-condition-case):
19767 Handle a new :fun-body form, used for lexical scoping.
19768 (byte-compile-save-window-excursion)
19769 (byte-compile-with-output-to-temp-buffer): Remove.
19770 (byte-compile-defun): Simplify.
19771 (byte-compile-stack-adjustment): New fun.
19772 (byte-compile-out): Use it.
19773 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19774
19775 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19776 handler any more.
19777
19778 * emacs-lisp/byte-opt.el: Use lexical binding.
19779 (byte-inline-lapcode): Remove (to bytecomp).
19780 (byte-compile-inline-expand): Pay attention to inlining to/from
19781 lexically bound code.
19782 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19783 any more.
19784 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19785 any more and don't call compiler-macros.
19786 (byte-compile-splice-in-already-compiled-code): Remove.
19787 (byte-code): Don't inline any more.
19788 (disassemble-offset): Receive `bytes' as argument rather than via
19789 dynamic scoping.
19790 (byte-compile-tag-number): Declare before first use.
19791 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19792 `return' even if make-spliceable.
19793 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19794 obsolete interactive-p.
19795 (byte-optimize-lapcode): Optimize new lap-codes.
19796 Don't trip up on new form of `byte-constant' lap code.
19797
19798 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19799
19800 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19801
19802 * custom.el (custom-initialize-default, custom-declare-variable):
19803 Use `defvar'.
19804
19805 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19806 New variables.
19807 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19808 (COMPILE_FIRST): Add macroexp and cconv.
19809 * makefile.w32-in: Mirror changes in Makefile.in.
19810
19811 * vc/cvs-status.el:
19812 * vc/diff-mode.el:
19813 * vc/log-edit.el:
19814 * vc/log-view.el:
19815 * vc/smerge-mode.el:
19816 * textmodes/bibtex-style.el:
090bd7cb 19817 * textmodes/css-mode.el:
03408648
SM
19818 * startup.el:
19819 * uniquify.el:
da91b5f2
CY
19820 * minibuffer.el:
19821 * newcomment.el:
19822 * reveal.el:
19823 * server.el:
19824 * mpc.el:
19825 * emacs-lisp/smie.el:
19826 * doc-view.el:
19827 * dired.el:
03408648
SM
19828 * abbrev.el: Use lexical binding.
19829
0f0c1f27
EZ
198302011-04-01 Eli Zaretskii <eliz@gnu.org>
19831
19832 * info.el (info-display-manual): New function.
19833
c82b2579
SM
198342011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19835
19836 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19837
221ddf68
TH
198382011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19839
19840 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19841 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19842
cba6e77e
GM
198432011-03-31 Glenn Morris <rgm@gnu.org>
19844
e040639f
GM
19845 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19846
cba6e77e
GM
19847 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19848
6d0f1c9e
CS
198492011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19850
19851 * progmodes/python.el (python-default-interpreter)
19852 (python-python-command-args, python-jython-command-args)
19853 (python-which-shell, python-which-args, python-which-bufname)
19854 (python-file-queue, python-comint-output-filter-function)
19855 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19856 variables and functions.
19857
3e2d70fd
SM
198582011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19859
19860 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19861 (completion-in-region-mode): New minor mode.
19862 (completion-in-region): Use it.
19863 (completion-in-region--data, completion-in-region-mode-map): New vars.
19864 (completion-in-region--postch): New function.
19865 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19866 New vars.
19867 (completion--capf-wrapper): New function.
19868 (completion-at-point): Use it to track well-behavedness of
19869 hook functions.
19870 (completion-help-at-point): New command.
19871
f3e4086c
JM
198722011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19873
19874 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19875 syntax class to search for whitespace on a single line
19876 (Message-ID: <4D938140.4030905@redhat.com>).
19877
eb7ffc14
LL
198782011-03-30 Leo Liu <sdl.web@gmail.com>
19879
19880 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19881 New commands.
19882 (edit-abbrevs-map): Bind them here.
19883 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19884
d806ab68
KM
198852011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19886
19887 * allout.el (allout-hide-by-annotation, allout-flag-region):
19888 Reduce possibility of overlay leakage by making them volatile.
19889
19890 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19891 hash is not shared between buffers. Mode initialization is
19892 responsible for giving it a useful starting value.
19893 (allout-item-span): Reduce possibility of overlay leakage by
19894 making them volatile.
19895 (allout-widgets-count-buttons-in-region): Add diagnostic function
19896 for tracking down button overlay leaks.
19897
ea622834
LL
198982011-03-29 Leo Liu <sdl.web@gmail.com>
19899
19900 * ido.el (ido-read-internal): Use the default history var
19901 minibuffer-history if no HISTORY is specified.
19902
b62f8267
G
199032011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19904
03408648
SM
19905 * net/imap.el (imap-shell-open, imap-process-connection-type):
19906 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19907 Kerberos, SSL, other subprocesses.
19908
947b6566
LL
199092011-03-28 Leo Liu <sdl.web@gmail.com>
19910
19911 * abbrev.el (abbrev-table-empty-p): New function.
19912 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19913 nonempty ones. (Bug#5937)
19914
5ffb62aa
JD
199152011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19916
19917 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19918
7a097943
LL
199192011-03-27 Leo Liu <sdl.web@gmail.com>
19920
19921 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19922 for foreground and background colors.
19923 (ansi-color-make-color-map): Adapt.
19924
c5b40130
LL
199252011-03-25 Leo Liu <sdl.web@gmail.com>
19926
1f48f7d2
LL
19927 * midnight.el (midnight-time-float): Remove. Note it calculates
19928 the microsecond component incorrectly and seconds-to-time does the
19929 same job.
625897ec 19930 Remove redundant (require 'timer).
1f48f7d2 19931
c5b40130
LL
19932 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19933 (ido-completions): Remove unused arguments. (Bug#8329)
19934
d86d2721
SM
199352011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19936
19937 * minibuffer.el (completion--flush-all-sorted-completions):
19938 Remove itself from hook.
19939 (completion-at-point): Let the functions perform the completion
19940 immediately and return nil or t.
19941 * comint.el (comint-dynamic-complete-functions): Now identical to
19942 completion-at-point-functions.
19943 (comint-dynamic-list-input-ring): Remove unused var `index'.
19944 (comint--match-partial-filename, comint--unquote&expand-filename):
19945 New funs, split from comint-match-partial-filename.
19946 (comint-dynamic-complete): Use completion-at-point.
19947 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19948
e8974c48
DA
199492011-03-24 Drew Adams <drew.adams@oracle.com>
19950
19951 * thingatpt.el: Support `defun'.
19952
def71b5e
LL
199532011-03-23 Leo Liu <sdl.web@gmail.com>
19954
cb5af48e
LL
19955 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19956
def71b5e
LL
19957 * help-mode.el (help-mode-finish): Tweak regexp.
19958
927c53e7
GM
199592011-03-23 Glenn Morris <rgm@gnu.org>
19960
18d05bed
GM
19961 * eshell/esh-opt.el (eshell-eval-using-options):
19962 Do not bind unused local variable `eshell-option-stub'.
19963
927c53e7
GM
19964 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19965
9d0da923
JB
199662011-03-22 Juanma Barranquero <lekktu@gmail.com>
19967
19968 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19969 keymap variable in `with-no-warnings' to avoid a warning when the
19970 keymap has been already `defconst'ed.
19971
4b978a67
LL
199722011-03-22 Leo Liu <sdl.web@gmail.com>
19973
19974 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19975 encode all chars in abbrevs; otherwise use emacs-mule or
19976 utf-8-emacs. (Bug#8308)
19977
5fd62452
JB
199782011-03-22 Juanma Barranquero <lekktu@gmail.com>
19979
0b1596c6
JB
19980 * simple.el (backward-delete-char-untabify):
19981 Avoid warning about using `delete-backward-char'.
19982
5fd62452
JB
19983 * image.el (image-type-file-name-regexps): Make it variable.
19984 `imagemagick-register-types' modifies it, and the user may want
19985 to add new extensions for known image types.
19986 (imagemagick-register-types): Throw error if not using ImageMagick.
19987
0b4e93f1
LL
199882011-03-22 Leo Liu <sdl.web@gmail.com>
19989
19990 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19991 located before rcirc-prompt-end-marker.
19992 (rcirc-complete): Error if point is not after rcirc prompt.
19993 Handle the case when table is nil.
9882e214 19994 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 19995
fccee4ab
CY
199962011-03-22 Chong Yidong <cyd@stupidchicken.com>
19997
19998 * custom.el (custom--inhibit-theme-enable): Make it affect only
19999 custom-theme-set-variables and custom-theme-set-faces.
20000 (provide-theme): Ignore custom--inhibit-theme-enable.
20001 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20002 (custom-enabling-themes): Delete variable.
d86d2721
SM
20003 (enable-theme): Accept only loaded themes as arguments.
20004 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20005 (custom-enabled-themes): Forbid themes from setting this.
20006 Eliminate use of custom-enabling-themes.
20007 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20008
af896da6
LL
200092011-03-21 Leo Liu <sdl.web@gmail.com>
20010
20011 * ido.el (ido-read-internal): Add ido-selected to history instead
20012 of user input.
20013
78f64af0
SM
200142011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20015
20016 * subr.el (deferred-action-list, deferred-action-function):
20017 Mark obsolete.
20018
b16ac1ec
LL
200192011-03-21 Leo Liu <sdl.web@gmail.com>
20020
810f7698
LL
20021 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20022 change on 2011-02-13 (bug#8309).
20023
b16ac1ec
LL
20024 * minibuffer.el (read-file-name-function): Change default value.
20025 (read-file-name--defaults): Rename from read-file-name-defaults.
20026 (read-file-name-default): Rename from read-file-name.
20027 (read-file-name): Call read-file-name-function.
20028
4e05e67e
GM
200292011-03-21 Glenn Morris <rgm@gnu.org>
20030
20031 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20032 Doc fixes.
20033
4359915b
CY
200342011-03-21 Chong Yidong <cyd@stupidchicken.com>
20035
20036 * cus-theme.el: Add missing provide statement.
20037 (customize-create-theme): Extract theme value correctly.
20038 (custom-theme-visit-theme): Autoload.
20039 (customize-create-theme): Prompt before inserting default faces.
20040
1fe275ee
JB
200412011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20042
20043 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20044 units and musical notes.
20045
cd394be1 200462011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20047
20048 * ido.el (ido-read-internal): Use completing-read-default.
20049 (ido-completing-read): Fix compatibility with completing-read.
20050
7d476bde
CO
200512011-03-20 Christian Ohler <ohler@gnu.org>
20052
20053 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20054 (ert-delete-all-tests): Use `called-interactively-p' rather than
20055 `interactive-p'.
20056 (ert--make-xrefs-region): Respect END.
20057
fe0fb33e
CY
200582011-03-19 Chong Yidong <cyd@stupidchicken.com>
20059
ff854b0b
CY
20060 * dired-aux.el (dired-create-directory): Signal an error if the
20061 directory already exists (Bug#8246).
20062
fe0fb33e
CY
20063 * facemenu.el (list-colors-display): Call list-faces-display
20064 inside with-help-window.
20065 (list-colors-print): Use display property to align the final
20066 column, instead of checking window-width.
20067
576bce32
EZ
200682011-03-19 Eli Zaretskii <eliz@gnu.org>
20069
4d61f28d 20070 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20071 windows-nt systems.
20072 (emerge-protect-metachars): Quote correctly for ms-dos and
20073 windows-nt systems.
20074
89c41d68 200752011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20076
20077 * info.el (info-initialize): Replace all uses of `:' with
20078 path-separator for compatibility with non-Unix systems.
20079 Cache quoting of path-separator. (Bug#8258)
20080
b14e3e21 200812011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20082
20083 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20084 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20085 (mouse-avoidance-mode): Fix typos in docstrings.
20086
4525ce3e
CY
200872011-03-19 Chong Yidong <cyd@stupidchicken.com>
20088
20089 * startup.el (package-subdirectory-regexp): Move from package.el.
20090 Omit \\` and \\', and let callers add them.
20091
20092 * emacs-lisp/package.el (package-strip-version)
20093 (package-load-all-descriptors): Add \\` and \\' to
20094 package-subdirectory-regexp before using it.
20095 (package-untar-buffer): New arg DIR; ensure that file untars only
20096 into this expected directory. Remove superfluous delete-region.
20097 (package-unpack): Caller changed.
20098 (package-tar-file-info): Use package-subdirectory-regexp.
20099
a904a09a 201002011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20101
a904a09a
SM
20102 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20103 diff-mode-shared-map (bug#8284).
20104 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20105
201062011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20107
20108 * calendar/time-date.el (format-seconds): Use assoc instead of
20109 assoc-string, since assoc-string doesn't exist in XEmacs.
20110
171fc304
JB
201112011-03-17 Juanma Barranquero <lekktu@gmail.com>
20112
20113 * custom.el (custom-known-themes): Reflow docstring.
20114 (custom-theme-load-path): Fix typo in docstring.
20115 (load-theme): Fix typo in error message.
20116 (custom-available-themes, custom-variable-theme-value):
20117 Use `let', not `let*'.
20118
d71990a1
JB
201192011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20120
20121 * calc/README: Mention inclusion of musical notes.
20122
20123 * calc/calc-units.el (calc-lu-quant): Rename from
20124 `calc-logunits-quantity'.
20125 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20126 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20127 (calc-db): Rename from `calc-dblevel'.
20128 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20129 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20130 (calc-np): Rename from `calc-nplevel'.
20131 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20132 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20133 (calc-lu-plus): Rename from `calc-logunits-add'.
20134 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20135 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20136 (calc-lu-minus): Rename from `calc-logunits-sub'.
20137 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20138 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20139 (calc-lu-times): Rename from `calc-logunits-mul'.
20140 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20141 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20142 (calc-lu-divide): Rename from `calc-logunits-div'.
20143 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20144 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20145
20146 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20147 functions being autoloaded.
20148
20149 * calc/calc.el (calc-lu-power-reference): Rename from
20150 `calc-logunits-power-reference'.
20151 (calc-lu-field-reference): Rename from
20152 `calc-logunits-field-reference'.
20153
7a71b18d
GM
20154 * calc/calc-help.el (calc-l-prefix-help):
20155 Mention musical note functions.
d71990a1 20156
40c2934b
SM
201572011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20158
20159 * minibuffer.el (completion-all-sorted-completions):
20160 Use :completion-cycle-penalty text property if present.
20161
b0911414
KM
201622011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20163
20164 * allout.el (allout-yank-processing): Adjust for new rebulleting
20165 regime so bullet being yanked is used without prompting the user
20166 for a choice.
20167
8a05b668
JB
201682011-03-16 Juanma Barranquero <lekktu@gmail.com>
20169
20170 * startup.el (command-line): Warn the user that _emacs is deprecated.
20171
5ba5fb81
JB
201722011-03-16 Juanma Barranquero <lekktu@gmail.com>
20173
20174 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20175 (delphi-verbose, delphi-comment-face, delphi-string-face)
20176 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20177 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20178 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20179 (delphi-new-comment-line, delphi-font-lock-defaults)
20180 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20181 Fix typos in docstrings.
20182
2dab465b
KM
201832011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20184
5ba5fb81 20185 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20186 Invert the roles of character and string values for INSTEAD, so a
20187 string is used for the more common case of a defaulting prompt.
20188
0adf5618
SM
201892011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20190
20191 * progmodes/ruby-mode.el (ruby-backward-sexp):
20192 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20193 * play/gamegrid.el (gamegrid-make-face):
20194 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20195 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20196 * notifications.el (notifications-notify):
20197 * net/xesam.el (xesam-search-engines):
20198 * net/quickurl.el (quickurl-list-insert):
20199 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20200
d72700e5
CY
202012011-03-15 Chong Yidong <cyd@stupidchicken.com>
20202
20203 * startup.el (command-line): Update package subdirectory regexp.
20204
49c5410a
SM
202052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20206
c6eee9aa
SM
20207 * allout.el (allout-abbreviate-flattened-numbering)
20208 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20209
49c5410a
SM
20210 * subr.el (read-char-choice): Only show the cursor after the prompt,
20211 not after the answer.
20212
047b2bb9
KR
202132011-03-15 Kevin Ryde <user42@zip.com.au>
20214
20215 * help-fns.el (variable-at-point): Skip leading quotes, if any
20216 (bug#8253).
20217
0a57d256
SM
202182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20219
20220 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20221 warning message.
20222
77c992bc
MA
202232011-03-14 Michael Albinus <michael.albinus@gmx.de>
20224
20225 * shell.el (shell): When called interactively, offer to change the
20226 shell file name on remote hosts.
20227
eebc475d
TZ
202282011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20229
20230 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20231 integration for LDAP parameters. The host, base, user or binddn,
20232 and secret tokens can be specified in a netrc file, for instance.
20233 This is optional because an `auth-source' parameter must be
20234 specified in the search attributes.
20235
9d05d1ba
JB
202362011-03-13 Juanma Barranquero <lekktu@gmail.com>
20237
20238 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20239
09d9db2c
GM
202402011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20241
20242 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20243 into declaration. Remove redundant and harmful binding.
20244
202452011-03-12 Eli Zaretskii <eliz@gnu.org>
20246
20247 * files.el (file-ownership-preserved-p): Pass `integer' as an
20248 explicit 2nd argument to `file-attributes'. If the file's owner
20249 is the Administrators group on Windows, and the current user is
20250 Administrator, consider that a match.
20251
20252 * server.el (server-ensure-safe-dir): Consider server directory
20253 safe on MS-Windows if its owner is the Administrators group while
20254 the current Emacs user is Administrator. Use `=' to compare
20255 numerical UIDs, since they could be integers or floats.
20256
219bd536
JB
202572011-03-12 Juanma Barranquero <lekktu@gmail.com>
20258
20259 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20260
f3afd36b
MA
202612011-03-12 Michael Albinus <michael.albinus@gmx.de>
20262
20263 Sync with Tramp 2.2.1.
20264
20265 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20266
20267 * net/trampver.el: Update release number.
20268
3aaaa6f1
SM
202692011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20270
94642599
SM
20271 * progmodes/compile.el (compilation--previous-directory): Fix up
20272 various nil/dead-marker mismatches (bug#8014).
20273 (compilation-directory-properties, compilation-error-properties):
20274 Don't call it at a position past the one we're about to change.
20275
3aaaa6f1
SM
20276 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20277 Disable obsolescence warnings in the file that declares it.
20278
14239447
KM
202792011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20280
099c39a4
JB
20281 * allout-widgets.el (allout-widgets-tally):
20282 Initialize allout-widgets-tally as a hash table rather than nil to
20283 prevent mode-line redisplay warnings. Also, clarify the module
20284 description and fix a comment typo.
14239447 20285
135e287c
JB
202862011-03-11 Juanma Barranquero <lekktu@gmail.com>
20287
20288 * help-fns.el (describe-variable): Don't complete keywords.
20289 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20290
ffbf300e
CY
202912011-03-10 Chong Yidong <cyd@stupidchicken.com>
20292
ba08b241
CY
20293 * emacs-lisp/package.el (package-version-join): Impose a standard
20294 string representation for pre/alpha/beta version lists.
20295 (package-unpack-single): Standardize the directory name by passing
20296 it through package-version-join.
20297 (package-strip-rcs-id): Accept any version string that does not
20298 signal an error in version-to-list.
ffbf300e 20299
f346fd6b
MA
203002011-03-10 Michael Albinus <michael.albinus@gmx.de>
20301
20302 * simple.el (delete-trailing-whitespace): Return nil for the
20303 benefit of `write-file-functions'.
20304
ccb55d27
GM
203052011-03-10 Glenn Morris <rgm@gnu.org>
20306
5ceaac0c
GM
20307 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20308
02da65ff
GM
20309 * vc/vc-git.el (vc-git-program): New option.
20310 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20311 (vc-git--call): Use it.
20312
b2f603cc
GM
20313 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20314
5772caab
GM
20315 * cus-edit.el (Custom-newline): If no button at point, look
20316 for a subgroup button at start-of-line. (Bug#2298)
20317
ccb55d27
GM
20318 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20319
ec6ecaed
JD
203202011-03-10 Julien Danjou <julien@danjou.info>
20321
20322 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20323 `cursor-type' is nil.
20324
9d5aa01d
JB
203252011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20326
20327 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20328
b6a5875b
KM
203292011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20330
7a71b18d 20331 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20332 preserves the existing header prefix, rebulleting it if necessary,
20333 rather than replacing it. This is necessary for proper operation
20334 of cooperative addons like allout-widgets.
1154d12e
JB
20335 (allout-make-topic-prefix, allout-rebullet-heading):
20336 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20337 value as alternate bullet to be used, instead of prompting the user
20338 for a bullet character.
b6a5875b 20339
ee545c35
MA
203402011-03-09 Michael Albinus <michael.albinus@gmx.de>
20341
d86d2721
SM
20342 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20343 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20344 `tramp-default-port'.
20345
c47971d7
DD
203462011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20347
20348 * net/rcirc.el (rcirc-handler-001): Remove useless
20349 with-rcirc-process-buffer.
20350 (rcirc-check-auth-status): Swap arguments to string-match.
20351
13522cb4
GM
203522011-03-09 Glenn Morris <rgm@gnu.org>
20353
0be6f4f1
GM
20354 * shell.el (shell-mode):
20355 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20356
13522cb4
GM
20357 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20358 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20359
515de2e3
CY
203602011-03-08 Chong Yidong <cyd@stupidchicken.com>
20361
20362 * emacs-lisp/package.el (package-refresh-contents)
20363 (package-menu-execute): Use condition-case-no-debug.
20364
b511b994
MA
203652011-03-08 Michael Albinus <michael.albinus@gmx.de>
20366
20367 * simple.el (shell-command-to-string): Use `process-file'.
20368
20369 * emacs-lisp/package.el (package-tar-file-info): Handle also
20370 remote files.
20371
d86d2721
SM
20372 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20373 Use `equal' for upload base check.
b511b994 20374
25bbfb31
AM
203752011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20376
20377 * textmodes/texinfo.el (texinfo-environments):
20378 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20379
be996521
GM
203802011-03-08 Glenn Morris <rgm@gnu.org>
20381
e9c8529f
GM
20382 * cus-start.el (cursor-in-non-selected-windows):
20383 Fix :set quoting oddness. (Bug#8192)
20384
be996521
GM
20385 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20386 in some setf expressions. (Bug#2159)
20387
2bb5649e
CY
203882011-03-08 Chong Yidong <cyd@stupidchicken.com>
20389
20390 * custom.el (custom-available-themes): Return themes in
20391 alphabetical order.
20392
33383987 20393See ChangeLog.15 for earlier changes.
e3d51b27
MR
20394
20395;; Local Variables:
20396;; coding: utf-8
e3d51b27
MR
20397;; End:
20398
acaf905b 20399 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20400
20401 This file is part of GNU Emacs.
20402
20403 GNU Emacs is free software: you can redistribute it and/or modify
20404 it under the terms of the GNU General Public License as published by
20405 the Free Software Foundation, either version 3 of the License, or
20406 (at your option) any later version.
20407
20408 GNU Emacs is distributed in the hope that it will be useful,
20409 but WITHOUT ANY WARRANTY; without even the implied warranty of
20410 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20411 GNU General Public License for more details.
20412
20413 You should have received a copy of the GNU General Public License
20414 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.