* doc/emacs/search.texi (Query Replace): Document multi-buffer replacement keys.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e5a94ec4
JL
12012-10-16 Juri Linkov <juri@jurta.org>
2
3 * replace.el (query-replace-help): Mention multi-buffer replacement
4 keys in the Help message. (Bug#12655)
5
d18a0d24
CY
62012-10-15 Chong Yidong <cyd@gnu.org>
7
8 * emacs-lisp/byte-run.el (defsubst): Doc fix.
9
8111f5e6
EZ
102012-10-14 Eli Zaretskii <eliz@gnu.org>
11
7b9abf24
EZ
12 * window.el (display-buffer): Doc fix.
13
8111f5e6
EZ
14 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15 Adjust the msft regexp to the output of Studio 2010, and move msft
16 before edg-1. See the discussion on emacs-devel,
17 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
18 for the details.
19
5046ef67
SM
202012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
21
9760c73c
SM
22 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
23 (oset): Move uses of object-class-fast macro after its definition.
24
5046ef67
SM
25 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
26
0d11ff1c
CY
272012-10-13 Chong Yidong <cyd@gnu.org>
28
29 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
30 enabled, re-enable it (Bug#11963).
31
88ded8ac
MR
322012-10-13 Martin Rudalics <rudalics@gmx.at>
33
34 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
35 non-nil, restore window configuration (Bug#12623).
36
bd0ffffd
SM
372012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
38
06485aa8
SM
39 * help-fns.el (describe-variable, describe-function-1):
40 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
41
bd0ffffd
SM
42 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
43
3a989246
GM
442012-10-12 Glenn Morris <rgm@gnu.org>
45
46 * mail/rmailsum.el (rmail-header-summary):
47 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
48
55cd00c8
FEG
492012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
50
bd0ffffd
SM
51 * progmodes/python.el (python-mode-map):
52 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
53 (python-nav--up-list): Fix behavior for blocks on the same level.
54
ac9fc2c7
SM
552012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
56
d8cc4c00 57 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 58
5253a5fd
SM
59 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
60 changes to the format of load-history.
61
ac9fc2c7
SM
62 * international/mule-cmds.el (read-char-by-name): Move let-binding of
63 completion-ignore-case in case that var is buffer-local (bug#12615).
64
cde44a77
KH
652012-10-11 Kenichi Handa <handa@gnu.org>
66
67 * international/eucjp-ms.el: Re-generated.
68
4ef4a10d
KH
692012-10-10 Kenichi Handa <handa@gnu.org>
70
71 * select.el (xselect--encode-string): If a coding is specified for
72 selection, and that is compatible with COMPOUND_TEXT, use it.
73
9d7f027b
MR
742012-10-10 Martin Rudalics <rudalics@gmx.at>
75
76 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
77 (switch-to-buffer):
78 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 79
238f3a58
SM
802012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
83 Don't document nil as a useful value (bug#12583).
84
1d51f99c
MA
852012-10-09 Michael Albinus <michael.albinus@gmx.de>
86
238f3a58
SM
87 * net/tramp.el (tramp-debug-message):
88 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
89 (with-tramp-progress-reporter): Rename from
90 `tramp-with-progress-reporter'.
238f3a58
SM
91 (with-tramp-file-property, with-tramp-connection-property):
92 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
93 `with-connection-property', respectively.
94
95 * net/tramp-cache.el: Remove `with-file-property' and
96 `with-connection-property'.
97
98 * net/tramp.el:
99 * net/tramp-gvfs.el:
100 * net/tramp-sh.el:
101 * net/tramp-smb.el: Adapt callees.
102
103 * net/trampver.el: Update release number.
104
26b77251
GM
1052012-10-09 Glenn Morris <rgm@gnu.org>
106
9a5f296f
GM
107 * w32-fns.el (set-message-beep):
108 * term/w32-win.el (set-message-beep): Update declarations.
109
94c66ce5
SM
1102012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
111
10766e9e
SM
112 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
113 (mode-line-widen, mode-line-input-method-map)
114 (mode-line-coding-system-map, mode-line-remote)
115 (mode-line-unbury-buffer, mode-line-bury-buffer)
116 (mode-line-next-buffer, mode-line-previous-buffer):
117 Replace save-selected-window+select-window => with-selected-window.
118
f754db08
SM
119 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
120 * progmodes/cc-vars.el (bq-process): Remove, unused.
121
94c66ce5
SM
122 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
123
a4ff7fe1
FEG
1242012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
125
126 Implemented `backward-up-list'-like navigation.
127 * progmodes/python.el (python-nav-up-list)
128 (python-nav-backward-up-list): New functions.
129 (python-mode-map): Define substitute key for backward-up-list to
130 python-nav-backward-up-list.
131
24517d82
FEG
1322012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
133
134 * progmodes/python.el (python-fill-paragraph): Rename from
135 python-fill-paragraph-function. Fixed fill-paragraph for
136 decorators (Bug#12605).
137
51867ae2
FEG
1382012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
139
140 * progmodes/python.el (python-shell-output-filter): Handle extra
141 carriage return in OSX (Bug#12409).
142
a5b773c4
FEG
1432012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
144
145 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 146 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
147 (python-syntax-propertize-function): Use it.
148 (python-shell-output-syntax-table): New var.
149 (inferior-python-mode): Prevent unbalanced parens/quotes from
150 previous output mess with current input context.
151
13373538
JB
1522012-10-08 Juanma Barranquero <lekktu@gmail.com>
153
154 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
155 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
156
775a132d
MA
1572012-10-08 Michael Albinus <michael.albinus@gmx.de>
158
159 * ffap.el (ffap-replace-file-component): Support Tramp file name
160 syntax, not only ange-ftp's one.
161
3ab44929
GM
1622012-10-08 Glenn Morris <rgm@gnu.org>
163
57f1dee4
GM
164 * cus-start.el (message-log-max): Set :version.
165
3ab44929
GM
166 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
167
6a088630
MR
1682012-10-08 Martin Rudalics <rudalics@gmx.at>
169
170 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
171 the minibuffer window (Bug#10851).
172
8dbce54c
FEG
1732012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
174
175 Enhancements on forward-sexp movement.
176 * progmodes/python.el (python-nav-beginning-of-statement)
177 (python-nav-end-of-statement): Return point-marker.
178 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
179 (python-info-current-symbol)
180 (python-info-statement-starts-block-p): Rename from
181 python-info-beginning-of-block-p.
182 (python-info-statement-ends-block-p): Rename from
183 python-info-end-of-block-p.
184 (python-info-beginning-of-statement-p)
185 (python-info-end-of-statement-p)
186 (python-info-beginning-of-block-p, python-info-end-of-block-p):
187 New functions.
188
5acd2b3e
SM
1892012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
190
191 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
192 frame-selected-windows.
193
e08348a0
DC
1942012-10-08 Daniel Colascione <dancol@dancol.org>
195
196 * battery.el (battery-status-function): Check for
197 w32-battery-status itself, not system-time windows-nt.
198
199 * frame.el: Require cl-lib.
200 (display-format-alist): New variable mapping frame types to
201 functions that initialize them.
202 (window-system-for-display): New function: interprets
203 display-format-alist.
204 (make-frame-on-display): Remove existing display-selection logic
205 and just forward to make-frame, which will now DTRT.
206 (make-frame): Restructure to use window-system-for-display to
207 figure out how to create a frame on a given display.
208 (display-mouse-p): Look for frame-type w32, not a particular
209 system-type.
210
211 * loadup.el: Load w32 lisp code when we have the w32 feature.
212
213 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
214 system-type windows-nt.
215
216 * server.el (server-create-window-system-frame): Look for window
217 type.
218 (server-proces-filter): Only force a window system when windows-nt
219 _and_ w32. Explain why.
220
221 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
222 of window systems we configure for the mode.
223
224 * startup.el (command-line): Mark window system is initialized
225 after we've done it.
226
227 * common-win.el (x-select-text): Look for w32, not windows-nt.
228
229 * ns-win.el: Require cl-lib. Add ourselves to
230 display-format-alist.
231 (ns-initialize-window-system): Assert we're not initialized twice.
232
233 * w32-win.el: Enable lexical binding; require cl-lib; add
234 ourselves to display-format-alist.
235 (w32-handle-dropped-file): Convert incoming dropped files from
236 Windows paths to Cygwin ones before passing them on to the rest of
237 Emacs.
238 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
239 (w32-initialize-window-system): Assert we're not initialized twice.
240
241 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
242 (x-initialize-window-system): Assert we're not initialized twice.
243
244 * w32-common-fns.el: New File.
245 (w32-version, w32-using-nt, w32-get-clipboard-data)
246 (w32-set-clipboard-data, x-set-selection, x-get-selection)
247 (w32-charset-info-alist, x-last-selected, text)
248 (x-get-selection-value, x-selection-value): Move here.
249
250 * w32-fns.el: Require w32-common-fns.
251 (w32-version, w32-using-nt, w32-get-clipboard-data)
252 (w32-set-clipboard-data, x-set-selection, x-get-selection)
253 (w32-charset-info-alist, x-last-selected, text)
254 (x-get-selection-value, x-selection-value): Move to
255 w32-common-fns.
256
257 * w32-vars.el:
258 (w32-allow-system-shell, w32-system-shells): Define only in
259 non-cygwin case.
260
795b1482
SM
2612012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
264 (read-passwd): Remove a few more potential sources of leaks.
265
f27c99dc
FEG
2662012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
267
268 * progmodes/python.el (inferior-python-mode)
795b1482 269 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
270 variables copied from parent buffer.
271
fcacb558
JD
2722012-10-07 Jan Djärv <jan.h.d@swipnet.se>
273
274 * term/ns-win.el (ns-read-file-name): Update declaration to match
275 nsfns.m.
276 (ns-respond-to-change-font): Change fontsize separatly so we are sure
277 it is set when font is acted upon.
278
be0d5bae
FEG
2792012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
280
281 Enhancements to indentation.
282 * progmodes/python.el (python-indent-context): Give priority to
283 inside-string context. Make comments indentation markers.
284 (python-indent-region): Do not mess with strings, unless it's the
285 enclosing set of quotes.
286
13af0d10
SM
2872012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
288
662a9d0e
SM
289 * window.el (internal--before-save-selected-window)
290 (internal--after-save-selected-window): New functions extracted from
291 save-selected-window. Make sure we return the `alist' we construct.
292 (save-selected-window): Use them.
293
294 * textmodes/tex-mode.el (tex-recenter-output-buffer):
295 Use with-selected-window.
296
13af0d10
SM
297 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
298 forms that define macros (bug#12593).
299
6aa75fb6
KH
3002012-10-07 Kenichi Handa <handa@gnu.org>
301
13af0d10
SM
302 * international/mule-conf.el (compound-text-with-extensions):
303 Add :mime-charset property as x-ctext.
6aa75fb6 304
78d876b9
SM
3052012-10-07 Stefan Merten <smerten@oekonux.de>
306
307 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
308 (rst-indent-literal-normal, rst-indent-literal-minimized)
309 (rst-indent-comment): Correct :version tag.
557337e9 310 (rst-official-cvs-rev): Correct version string.
78d876b9 311
99a1e701
GM
3122012-10-07 Glenn Morris <rgm@gnu.org>
313
314 * mail/rmailmm.el (rmail-mime-process-multipart):
315 Do not confuse a multipart message with an epilogue
316 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
317
08f18c3d
FEG
3182012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
319
320 Fix shell output retrieval and comint-prompt-regexp init.
321 * progmodes/python.el (inferior-python-mode):
322 (python-shell-make-comint): Fix initialization of
323 comint-prompt-regexp from copied file local variables.
324 (python-shell-fetched-lines): Remove var.
325 (python-shell-output-filter-in-progress): Rename from
326 python-shell-fetch-lines-in-progress.
327 (python-shell-output-filter-buffer): Rename from
328 python-shell-fetch-lines-string.
329 (python-shell-fetch-lines-filter): Delete function.
330 (python-shell-output-filter): New function.
331 (python-shell-send-string-no-output): Use them.
332
82ed3ab4
GM
3332012-10-07 Glenn Morris <rgm@gnu.org>
334
1595ecfa
GM
335 * hi-lock.el (hi-lock-process-phrase):
336 Try to make it less fragile. (Bug#7161)
337
82ed3ab4
GM
338 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
339
f1f4dba0
GM
3402012-10-06 Glenn Morris <rgm@gnu.org>
341
addc11ed 342 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
343 non-existent mode `help'.
344 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 345
460042b8
GM
346 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
347 (reftex-create-bibtex-footer): Fix custom types.
348
67667c70
GM
349 * progmodes/sh-script.el (sh-indent-after-continuation):
350 Add explicit :group.
351
18dec750
GM
352 * textmodes/rst.el (rst-preferred-decorations)
353 (rst-shift-basic-offset): Clarify obsolescence versions.
354
d1a1c7e6
GM
355 * profiler.el (profiler): Add missing group :version tag.
356 * avoid.el (mouse-avoidance-banish-position):
357 * proced.el (proced-renice-command):
358 * calc/calc.el (calc-ensure-consistent-units):
359 * calendar/icalendar.el (icalendar-import-format-uid):
360 * net/tramp.el (tramp-save-ad-hoc-proxies):
361 * progmodes/bug-reference.el (bug-reference-bug-regexp):
362 * progmodes/flymake.el (flymake-error-bitmap)
363 (flymake-warning-bitmap, flymake-fringe-indicator-position):
364 * progmodes/sh-script.el (sh-indent-after-continuation):
365 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
366 (verilog-before-save-font-hook, verilog-after-save-font-hook):
367 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
368 (vhdl-array-index-record-field-in-sensitivity-list)
369 (vhdl-indent-comment-like-next-code-line):
370 * textmodes/reftex-vars.el (reftex-ref-style-alist)
371 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
372 (reftex-cite-key-separator, reftex-create-bibtex-header)
373 (reftex-create-bibtex-footer):
374 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
375 (rst-indent-literal-normal, rst-indent-literal-minimized)
376 (rst-indent-comment): Add missing custom :version tags.
377
ef35abb4
GM
378 * calendar/timeclock.el (timeclock-modeline-display):
379 Add missing obsolete alias for renamed user option.
380
d1aae614
GM
381 * strokes.el (strokes-modeline-string):
382 * emulation/crisp.el (crisp-mode-modeline-string):
383 * eshell/esh-mode.el (eshell-status-in-modeline):
384 Aliases to defcustoms must come before the defcustom.
385
f1f4dba0
GM
386 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
387 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
388 (cal-tex-cursor-week-monday): Doc fixes.
389 (cal-tex-cursor-week2-summary): Doc fix.
390 Rename from cal-tex-cursor-week-at-a-glance.
391
392 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
393 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
394
395 * calendar/calendar.el (calendar-mode-map):
396 Add cal-tex-cursor-week2-summary.
397
d39109c3
SM
3982012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
399
685f87b0
SM
400 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
401
d39109c3
SM
402 * subr.el (read-passwd-map): New var.
403 (read-passwd): Use `read-string' again.
404 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
405
5694896d
J
4062012-10-06 Jambunathan K <kjambunathan@gmail.com>
407
408 * register.el (append-to-register, prepend-to-register):
409 Deactivate mark, as does `copy-to-register' (bug#12389).
410
9414dd8d
CY
4112012-10-06 Chong Yidong <cyd@gnu.org>
412
413 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
414
2b89bca4
KH
4152012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
416
417 * international/characters.el: Fix simple mistake ((car chars) ->
418 elt), delete duplicated code.
419
d5acb99a
GM
4202012-10-06 Glenn Morris <rgm@gnu.org>
421
422 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
423
123ec157
JS
4242012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
425
426 * color.el (color-hsl-to-rgb): Fix incorrect results for
427 small and large hue values. (Bug#12559)
428
7fa36ccb
FEG
4292012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
430
431 Enhancements to docstring formatting when filling paragraphs.
432 * progmodes/python.el (python-fill-docstring-style): Rename from
433 python-fill-string-style. Added new style.
434 (python-fill-string): Use new style. Better checks for
435 docstrings.
436
d8788e1e
GM
4372012-10-05 Glenn Morris <rgm@gnu.org>
438
204f3953
GM
439 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
440
d8788e1e
GM
441 * color.el (color-name-to-rgb, color-rgb-to-hex)
442 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
443 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
444 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
445 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
446
8d956cef
GM
447 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
448
e8757f09 4492012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
450
451 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
452 to get the correct size across symlinks.
453
e8757f09
GM
454 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
455
0e2ae83d
JL
4562012-10-04 Juri Linkov <juri@jurta.org>
457
458 * replace.el (query-replace-interactive): Declare obsolete.
459 (query-replace-read-from): Add the last incremental search string
460 to the list of default values accessible via M-n.
461 (map-query-replace-regexp): Use `read-regexp'.
462 (query-replace, query-replace-regexp, query-replace-regexp-eval)
463 (map-query-replace-regexp, replace-string, replace-regexp):
464 Fix docstrings to replace mentions of `query-replace-interactive'
465 with alternatives. (Bug#12526)
466
93cacb6d
JL
4672012-10-04 Juri Linkov <juri@jurta.org>
468
469 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
470 (dired-pop-to-buffer): Declare obsolete.
471 (dired-mark-pop-up): Doc fix.
472
fc345011
FEG
4732012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
474
475 Allow user to set docstring style for fill-paragraph.
476 * progmodes/python.el
477 (python-fill-comment-function, python-fill-string-function)
478 (python-fill-decorator-function, python-fill-paren-function):
479 Remove :safe for defcustoms.
480 (python-fill-string-style): New defcustom
5694896d 481 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
482 (python-fill-string): Honor python-fill-string-style settings.
483
6bab5d8b
MR
4842012-10-04 Martin Rudalics <rudalics@gmx.at>
485
486 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
487 after setting its buffer (Bug#10805).
488
a1a9f411
FEG
4892012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
490
491 Fix cornercase for string syntax.
492 * progmodes/python.el (python-syntax-propertize-function):
493 Simplify and enhance the regexp for unescaped quotes. Now it also
494 matches quotes in weird situations like the single quote in
495 "something\"'".
496 (python-syntax-stringify): Simplify num-quotes detecting code.
497
05e153a6
GM
4982012-10-03 Glenn Morris <rgm@gnu.org>
499
500 * help-macro.el (three-step-help):
501 Revert 2012-09-29 change. (Bug#12567)
502
2e566ecb
MR
5032012-10-03 Martin Rudalics <rudalics@gmx.at>
504
96ef9ccd
MR
505 * menu-bar.el (kill-this-buffer): Don't do anything when
506 `menu-frame' is not alive or visible (Bug#8184).
507
2e566ecb
MR
508 * emacs-lisp/debug.el (debug): When quitting the debugger window
509 restore current buffer (Bug#12502).
510
a96e1cb7
CY
5112012-10-02 Chong Yidong <cyd@gnu.org>
512
5694896d
J
513 * progmodes/hideif.el (hif-lookup, hif-defined):
514 Handle semantic-c-takeover-hideif.
a96e1cb7 515
b3ecad33
PE
5162012-10-02 Paul Eggert <eggert@cs.ucla.edu>
517
518 Change sampling interval units from ms to ns.
519 * profiler.el (profiler-sampling-interval): Change units
520 from ms to ns, multiplying the default by 1000000 so that
521 it remains 1 ms.
522 (profiler-report-cpu-line-format): Give enough room for
523 the maximum counters on 64-bit hosts.
524 (profiler-report-render-calltree-1): Call them "CPU samples",
525 not "Time (ms)", since they are not milliseconds now (and
526 never really were).
527
8cb51b66 5282012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 529
5694896d
J
530 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
531 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 532
fd795bf4
CY
5332012-10-02 Chong Yidong <cyd@gnu.org>
534
535 * emacs-lisp/eieio.el: Restore Version header.
536
fe0a74f9
SM
5372012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
538
6be9197e
SM
539 * vc/diff-mode.el (diff--auto-refine-data): New var.
540 (diff-hunk): Use it to delay refinement.
541 (diff-mode): Remove overlays when we turn off font-lock.
542
18486139
SM
543 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
544 (table-initialize-table-fixed-width-mode)
545 (table-set-table-fixed-width-mode): Remove functions.
546 (table-command-list): Move initialization into declaration.
547 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
548 (table-with-cache-buffer): Use `declare'.
549 (table-span-cell): Simplify via CSE.
550 (table-fixed-width-mode): Use define-minor-mode.
551 (table-call-interactively, table-funcall, table-apply): Remove.
552 (table-function): New function, to replace them.
553
d83ef976
SM
554 * bookmark.el (bookmark-search-pattern): Remove var.
555 (bookmark-read-search-input): Remove function.
556 (bookmark-bmenu-search): Reimplement using a minibuffer.
557
cd386662
SM
558 * faces.el (modeline): Remove obsolete face name.
559
fe0a74f9
SM
560 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
561 and give a non-nil default value.
562 (add-change-log-entry): Simplify accordingly.
563
9f7b98f8
DG
5642012-10-01 Dmitry Gutov <dgutov@yandex.ru>
565
566 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
567 (vc-git-log-edit-toggle-amend): New function.
568 (vc-git-log-edit-toggle-signoff): New function.
569 (vc-git-log-edit-mode): New major mode.
570 (vc-git-log-edit-mode-map): Keymap for it.
571 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
572
573 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
574 header names.
575 (log-edit-toggle-header): New function.
576 (log-edit-extract-headers): Accept function values in HEADERS alist.
577
62a81506
CY
5782012-10-01 David Engster <deng@randomsample.de>
579
580 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
581 from symbol property and change message to be more consistent with
582 Emacs proper.
583 (eieio-describe-generic): Add filename for each implementation.
584 Fix indices for generic and normal methods.
585 (eieio-method-def, eieio-class-def): New buttons.
586 (eieio-help-find-method-definition)
587 (eieio-help-find-class-definition): New functions.
588 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
589 class, constructor and method definitions.
590
591 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
592 information in symbol property.
593 (scoped-class): Remove.
594 (eieio-slot-name-index, call-next-method): Check if it is bound.
595
5962012-10-01 Leo P. White <lpw25@cam.ac.uk>
597
598 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
599 (eieio-custom-mode): New major mode.
600 (eieio-customize-object): Use it.
601
6022012-10-01 Eric Ludlam <zappo@gnu.org>
603
604 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
605 specifying the expected class, and whether subclassing is allowed.
606 (eieio-persistent-convert-list-to-object):
607 (eieio-persistent-validate/fix-slot-value)
608 (eieio-persistent-slot-type-is-class-p): New functions.
609 (eieio-named::slot-missing): Doc fix.
610
611 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
612 Stop using unused publd variable.
613
614 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
615 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
616 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
617 (eieio-speedbar-handle-click): Do not specify a class for the
618 method. Fixes method invocation order problems with EDE.
619
375e49d4
SM
6202012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
621
622 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
623 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
624
16ce6ccd
KF
6252012-10-01 Karl Fogel <kfogel@red-bean.com>
626
627 * bookmark.el (bookmark-version-control): Give tags in the
628 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
629 (bookmark-write-file): Bind `print-circle' to `t' to allow
630 circular custom bookmark types. (Bug#12503)
16ce6ccd 631
19e54a4d
PE
6322012-10-01 Paul Eggert <eggert@cs.ucla.edu>
633
86ec63ba
PE
634 Revert the FOLLOW-SYMLINKS change for file-attributes.
635 * files.el (remote-file-name-inhibit-cache, after-find-file):
636 * time.el (display-time-file-nonempty-p): Undo last change.
637
19e54a4d
PE
638 * profiler.el (profiler-sampling-interval): Change default back to 1.
639 See Stefan Monnier in
640 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
641
0478776b
FEG
6422012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
643
644 Shell output catching a la gud-gdb.
645 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
646 (python-shell-fetch-lines-string, python-shell-fetched-lines):
647 New Vars.
0478776b
FEG
648 (python-shell-fetch-lines-filter): New function.
649 (python-shell-send-string-no-output): Use them.
650
c22bac2c
TM
6512012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
652
653 * profiler.el (profiler-sampling-interval): Rename from
654 profiler-sample-interval.
655 (profiler-sampling-interval): Default to 10.
656 (profiler-find-profile): New command (was profiler-find-log).
657 (profiler-find-profile-other-window): New command.
658 (profiler-find-profile-other-frame): New command.
659 (profiler-profile): Introduce API-level data structure.
660
e7a2937b
PE
6612012-09-30 Paul Eggert <eggert@cs.ucla.edu>
662
663 file-attributes has a new optional arg FOLLOW-SYMLINKS.
664 * files.el (remote-file-name-inhibit-cache):
665 * time.el (display-time-file-nonempty-p): Use it.
666 * files.el (after-find-file): Don't chase links before calling
667 file-exists-p, as file-exists-p already does the right thing.
668
4f595e15
RA
6692012-09-30 Ralf Angeli <angeli@caeruleus.net>
670
671 Merge from standalone RefTeX repository.
672
673 The following ChangeLog entries are shortened versions of the
674 original ones with file paths adapted. A not so strongly edited
675 version of the original ChangeLog can be found in the commit log.
676
677 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
678 (reftex-arg-cite): Use `reftex-cite-key-separator'.
679 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
680
681 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
682 that entries with whitespace at various places are found.
683 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
684 Include @String definitions in the resulting bib file. Add header
685 and footer defined in `reftex-create-bibtex-header' and
686 `reftex-create-bibtex-footer'.
687 (reftex-do-citation): Make it possible again to insert
688 non-existent entries. Save match data when asking for optional
689 arguments. Return all keys, not just the first one.
690 (reftex-all-used-citation-keys): Fix regexp to correctly extract
691 all citations in the same line.
692 (reftex-parse-bibtex-entry): Accept additional optional argument
693 `raw' and keep quotes or braces if it is non-nil. Match fields
694 containing hyphens besides word constituents.
695 (reftex-get-string-refs): New function.
696 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
697 and ask if it should be reread in case it did.
698 (reftex-pop-to-bibtex-entry)
699 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
700 entries with spaces or tabs in front of arguments.
701 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
702 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
703 Match entries containing numbers and symbol constituents.
704 (reftex-do-citation, reftex-figure-out-cite-format):
705 Use `reftex-cite-key-separator'.
4f595e15
RA
706
707 * textmodes/reftex-dcr.el: Move provide statement to end of file.
708 (reftex-mouse-view-crossref): Explain why point is set.
709
710 * textmodes/reftex-global.el: Whitespace changes.
711
712 * textmodes/reftex-index.el: Move provide statement to end of
713 file.
714 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
715 (reftex-index-visit-phrases-buffer): Set marker when visiting
716 buffer. This allows for returning from the phrases file to the
717 file one was just editing instead of the file where the last
718 phrases was added from.
719 (reftex-index-phrases-syntax-table): New variable. Give ?\"
720 punctuation syntax as it usually is not used as string quote in
721 TeX-related modes and may occur unmatched. The change also
722 prevents fontification of quoted content.
723 (reftex-index-phrases-mode): Use it.
724
375e49d4
SM
725 * textmodes/reftex-parse.el (reftex-parse-from-file):
726 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
727 (reftex-parse-from-file): Use beginning of match instead of end as
728 bound.
729
730 * textmodes/reftex-ref.el: Adapt creation of
731 `reftex-<package>-<macro>' functions to new structure of
732 `reftex-ref-style-alist'.
375e49d4
SM
733 (reftex-reference): Use `reftex-ref-style-list' function.
734 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
735 reference macro if `reftex-ref-macro-prompt' is non-nil.
736 (reftex-reference): Pass refstyle to `reftex-format-special'.
737 Determine reference macro by looking at
375e49d4
SM
738 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
739 Use only one special format function.
4f595e15
RA
740 (reftex-varioref-vref, reftex-fancyref-fref)
741 (reftex-fancyref-Fref): Remove definitions. The functions are now
742 generated from `reftex-ref-style-alist'.
743 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
744 Remove.
745 (reftex-format-special): New function.
746
747 * textmodes/reftex-sel.el
748 (reftex-select-cycle-ref-style-internal): Adapt to new structure
749 of `reftex-ref-style-alist'. Remove code for testing macro type.
750 (reftex-select-toggle-varioref)
751 (reftex-select-toggle-fancyref): Remove.
752 (reftex-select-cycle-ref-style-internal)
753 (reftex-select-cycle-ref-style-forward)
754 (reftex-select-cycle-ref-style-backward): New functions.
755 (reftex-select-label-map): Use `v' and `V' for general cycling
756 through reference styles. Add `p' for switching between number
757 and page reference types.
758
375e49d4
SM
759 * textmodes/reftex-toc.el (reftex-re-enlarge):
760 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
761 the horizontal version throws an error even if the parameter is 0.
762
763 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
764 (reftex-plug-into-AUCTeX): Doc fix.
765 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
766 string. Adapt to new name.
767 (reftex-ref-style-alist): Change structure so that it is not
768 possible to use multiple different package names within a style.
375e49d4
SM
769 Remove the symbols for symbols for macro type distinction.
770 Add characters for macro selection.
4f595e15
RA
771 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
772 (reftex-create-bibtex-footer): New variables.
773 (reftex-format-ref-function): Mention third argument of special
774 format function.
375e49d4
SM
775 (reftex-ref-style-alist, reftex-ref-style-default-list):
776 New variables.
4f595e15
RA
777 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
778 to new implementation. Mark as obsolete. Add compatibility code
779 for honoring the variable values in case they are set.
375e49d4
SM
780 (reftex-cite-format-builtin, reftex-bibliography-commands):
781 Add support for ConTeXt.
782 (reftex-format-ref-function, reftex-format-cite-function):
783 Fix custom type.
4f595e15
RA
784 (reftex-cite-key-separator): New variable.
785
786 * textmodes/reftex.el (reftex-syntax-table-for-bib)
787 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
788 `reftex-syntax-table' because parens have to retain their paren
789 syntax in order for parsing of BibTeX entries like @book(...) to
790 work.
791 (reftex-in-comment): Do not error out if `comment-start-skip' is
792 not set. Deal correctly with escaped comment characters.
375e49d4
SM
793 (reftex-tie-multifile-symbols): Add doc string.
794 Initialize `reftex-ref-style-list'.
4f595e15
RA
795 (reftex-untie-multifile-symbols): Add doc string.
796 (reftex-add-index-macros): Doc fix.
797 (reftex-ref-style-activate, reftex-ref-style-toggle)
798 (reftex-ref-style-list): New functions.
799 (reftex-mode-menu): Use them. Adapt to new structure of
800 `reftex-ref-style-alist'.
801 (reftex-select-with-char): Kill the RefTeX Select buffer when
802 done.
803 (reftex-remove-if): New function.
804 (reftex-erase-all-selection-and-index-buffers)
805 (reftex-mode-menu): Reference styles are now computed from
806 `reftex-ref-style-alist'. Fix typo.
807 (reftex-report-bug): New function.
808 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
809 algorithms with O(n log n). Introduce optional argument SORT (not
810 yet used).
811
440ba395
FEG
8122012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
813
814 Enhancements for triple-quote string syntax.
375e49d4
SM
815 * progmodes/python.el (python-syntax-propertize-function):
816 Match both quote cases in one regexp.
440ba395
FEG
817 (python-syntax-stringify): Handle matches properly.
818
4c478e6b
JL
8192012-09-30 Juri Linkov <juri@jurta.org>
820
821 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 822 to nil around the call to `insert' to prevent
4c478e6b
JL
823 directory time modification by lock_file. (Bug#2295)
824 * tar-mode.el (tar-summarize-buffer): Idem.
825
d80d54b2
JL
8262012-09-30 Juri Linkov <juri@jurta.org>
827
828 * facemenu.el (list-colors-sort): Add option "Luminance".
829 (list-colors-sort-key): Implement it.
830
831 * vc/diff-mode.el (diff-refine-removed):
832 * vc/ediff-init.el (ediff-fine-diff-A):
833 * vc/smerge-mode.el (smerge-refined-removed):
834 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
835
d7e642cc
JD
8362012-09-30 Jan Djärv <jan.h.d@swipnet.se>
837
838 * term/ns-win.el (x-file-dialog): New function.
839
ee41332b
JB
8402012-09-30 Juanma Barranquero <lekktu@gmail.com>
841
842 * ido.el (ido-max-directory-size): Default to nil; the current
843 default is small for POSIX systems, and impractical on Windows 7
844 now that lstat returns directory sizes for NTFS.
845
5938d519
MR
8462012-09-30 Martin Rudalics <rudalics@gmx.at>
847
848 In buffer display functions handle window-height/window-width
849 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
850 * window.el (window--display-buffer): New argument ALIST.
851 Obey window-height and window-width alist entries.
852 (window--try-to-split-window): New argument ALIST.
853 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
854 changed and window-combination-limit equals `window-size'.
855 (display-buffer-in-atom-window)
856 (display-buffer-in-major-side-window)
857 (display-buffer-in-side-window, display-buffer-same-window)
858 (display-buffer-reuse-window, display-buffer-pop-up-frame)
859 (display-buffer-pop-up-window, display-buffer-below-selected)
860 (display-buffer-at-bottom, display-buffer-in-previous-window)
861 (display-buffer-use-some-window): Adjust all callers of
862 window--display-buffer and window--try-to-split-window.
863 (fit-frame-to-buffer): New option.
864 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
865 is non-nil.
866 (display-buffer-in-major-side-window): Evaluate window-height /
867 window-width alist entries.
868
869 * help.el (temp-buffer-resize-frames)
870 (temp-buffer-resize-regexps): Remove options.
871 (temp-buffer-resize-mode): Adjust doc-string.
872 (resize-temp-buffer-window): Don't consult
873 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
874 temp-buffer-resize-frames.
875
375e49d4
SM
876 * dired.el (dired-mark-pop-up):
877 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
878 entry.
879
c4c0c2df
CY
8802012-09-30 Chong Yidong <cyd@gnu.org>
881
48de8b12
CY
882 * server.el (server-host): Document the security implications.
883 (server-auth-key): Doc fix.
884
885 * startup.el (initial-buffer-choice): Doc fix.
886
887 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
888
a97dc380
CY
889 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
890 restriction change.
891
d39d3c8e
CY
892 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
893
c4c0c2df
CY
894 * help-fns.el (help-fns--obsolete): Fix last change.
895
98a5e33b
SM
8962012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
897
34cf6f39
SM
898 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
899 (minor-mode-map-alist): Remove redundant code.
900
e01c13fe
SM
901 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
902 visited in a buffer.
903 (cvs-insert-visited-file): New function.
904 (find-file-hook): Use it.
905
906 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
907
02661b3a
SM
908 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
909 chose face.
910 (log-edit-empty-buffer-p): Don't require a space after a header.
911
43711d4b
SM
912 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
913
38a30d64
SM
914 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
915
4ffb41a9
SM
916 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
917 a proper minor-mode.
918
98a5e33b
SM
919 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
920
de82e29b
GM
9212012-09-29 Glenn Morris <rgm@gnu.org>
922
5cc2e639
GM
923 * winner.el (winner-mode): Remove variable (let define-minor-mode
924 handle it).
925 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
926 Doc fixes.
927 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
928 (winner-mode): Use define-minor-mode.
929
7bd302eb
GM
930 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
931 the full definition in loaddefs, rather than duplicating it.
932
2923922f 933 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 934
0e3e4156
GM
935 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
936 (inferior-lisp-program, inferior-lisp-load-command)
937 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 938 No need to autoload defcustoms.
0e3e4156 939
de82e29b
GM
940 * hippie-exp.el (hippie-expand-try-functions-list)
941 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
942 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
943 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 944 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
945 * progmodes/vhdl-mode.el (vhdl-line-expand):
946 Explicitly load hippie-exp, so it does not get autoloaded
947 while hippie-expand-try-functions-list is let-bound.
948
e60b51ab
GM
9492012-09-28 Glenn Morris <rgm@gnu.org>
950
277f0cfa
GM
951 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
952
e60b51ab
GM
953 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
954 Only "cl.el" counts as cl these days.
955
53baf48a
JL
9562012-09-28 Juri Linkov <juri@jurta.org>
957
958 Display archive errors in the echo area instead of inserting
959 to the file buffer.
960
961 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
962 to STDERR-TEST that can be a regexp matching a successful output.
963 Create a temporary file and redirect stderr to it. Search for
964 STDERR-TEST in the stderr output and display it in the echo area
965 if no match is found.
966 (archive-extract-by-file): New function like
967 `archive-extract-by-stdout' but extracting archives to files
968 and looking for successful matches in stdout. Function body is
969 mostly copied from `archive-rar-extract'.
970 (archive-rar-extract): Use `archive-extract-by-file'.
971 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
972
9c1228c3
LL
9732012-09-28 Leo Liu <sdl.web@gmail.com>
974
375e49d4
SM
975 * pcomplete.el (pcomplete-show-completions):
976 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 977
9c1228c3
LL
978 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
979
7f457c06
SM
9802012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
981
3df749b0
SM
982 * type-break.el: Use lexical-binding.
983 (type-break-mode): Use define-minor-mode.
984
7f457c06
SM
985 * emacs-lisp/pcase.el (pcase--mark-used): New.
986 (pcase--u1): Use it (bug#12512).
987
988 * custom.el (load-theme): Set buffer-file-name so the load is recorded
989 in load-history with the right file name.
990
c00ebc98
TH
9912012-09-28 Tassilo Horn <tsdh@gnu.org>
992
993 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
994 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
995 (doc-view-get-bounding-box): Make bounding box slicing work for
996 ODF and DVI documents.
997
96fb7170
GM
9982012-09-28 Glenn Morris <rgm@gnu.org>
999
1000 * type-break.el (type-break-mode, type-break-interval)
1001 (type-break-good-rest-interval, type-break-keystroke-threshold):
1002 No need to autoload.
1003 (type-break-good-rest-interval, type-break-keystroke-threshold):
1004 Add :set-after.
1005
5bc93c67
CY
10062012-09-28 Chong Yidong <cyd@gnu.org>
1007
1008 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1009 Add :version tag.
1010
9cad61d6
SM
10112012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1012
e28e67b3 1013 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1014
daee954c
GM
10152012-09-27 Glenn Morris <rgm@gnu.org>
1016
a88324d4
GM
1017 * faces.el (x-display-name): Declare (for without-x builds).
1018
8e5064e5
GM
1019 * linum.el (linum-format): Don't autoload it. Improve :type.
1020
cc1783c2
GM
1021 * progmodes/tcl.el: Don't require outline when compiling.
1022 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1023 * textmodes/sgml-mode.el: Don't require outline when compiling.
1024 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1025
48c339f2
GM
1026 * term.el (term-ansi-reset):
1027 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1028
daee954c
GM
1029 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1030 files for RCS and SCCS. (Bug#9781)
1031
b7f42161
CY
10322012-09-27 Chong Yidong <cyd@gnu.org>
1033
1034 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1035 change; value should be t.
1036
a2e770db
SM
10372012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1038
83600dc8
SM
1039 * image-mode.el: Use lexical-binding.
1040 (image-mode-winprops): Use t to stand for the window of
1041 a buffer that's not displayed.
1042 * doc-view.el (doc-view-new-window-function): Handle the new
1043 t in winprops.
1044 (doc-view-enlarge): Make it a real nop if the size is not changed.
1045 (doc-view-display): Handle the case where the buffer is not (yet?)
1046 displayed in any window.
1047 (doc-view-saved-settings): New var.
1048 (doc-view-mode): Use it.
1049 (doc-view-fallback-mode): Set it.
1050
a2e770db
SM
1051 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1052 Set lexical-binding.
1053 (minibuffer-eldef-shorten-default): New var.
1054 (minibuffer-default-in-prompt-regexps): Use it for new default.
1055 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1056
e3b60857
JB
10572012-09-26 Juanma Barranquero <lekktu@gmail.com>
1058
1059 * international/uni-bidi.el:
1060 * international/uni-category.el:
1061 * international/uni-name.el:
1062 * international/uni-numeric.el: Regenerate.
1063
3a880af4
SM
10642012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1065 Stefan Monnier <monnier@iro.umontreal.ca>
1066
1067 * profiler.el: New file.
1068
07b1a5fb
SM
10692012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1070
1071 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1072 (testcover-reinstrument): Simplify with CSE.
1073
42019c2e
JB
10742012-09-26 Juanma Barranquero <lekktu@gmail.com>
1075
1076 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1077
179f044b
WS
10782012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1079
1080 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1081 (verilog-auto-input, verilog-auto-insert-lisp)
1082 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1083 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1084 (verilog-auto-unused, verilog-auto-wire)
1085 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1086 newline. Reported by Andrew Jones.
1087 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1088 Reported by Brad Dobbie.
07b1a5fb
SM
1089 (verilog-batch-delete-trailing-whitespace):
1090 Create verilog-batch-delete-trailing-whitespace.
1091 Reported by Brad Dobbie.
179f044b
WS
1092 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1093 parameters from another module. Reported by Dan Katz.
1094 (verilog-auto, verilog-auto-assign-modport)
1095 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1096 AUTOINOUTMODPORT for UVM interface module shell generation.
1097 Reported by Brad Dobbie.
1098 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1099 standard behavior.
1100 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1101 Reported by Matt Martin.
1102
9c52dd5a
MR
11032012-09-25 Martin Rudalics <rudalics@gmx.at>
1104
1105 * window.el (window--resize-child-windows): When resizing child
1106 windows proportionally, process them in reverse order to
1107 preserve the "when splitting a window the new one gets the odd
1108 line" behavior.
1109 (window--resize-root-window-vertically): When resizing the
1110 minibuffer window try to affect only windows at the bottom of the
1111 frame. (Bug#12419)
1112
863666eb
CY
11132012-09-25 Chong Yidong <cyd@gnu.org>
1114
1115 * subr.el (declare): Doc fix.
1116
1117 * help-fns.el (help-fns--obsolete): Handle macros properly.
1118
59f7af81
CY
11192012-09-25 Chong Yidong <cyd@gnu.org>
1120
1121 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1122 this function obsolete.
1123
1124 * calendar/cal-x.el (calendar-two-frame-setup)
1125 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1126 * calendar/calendar.el (american-calendar, european-calendar)
1127 (calendar-for-loop):
1128 * comint.el (comint-dynamic-simple-complete)
1129 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1130 * desktop.el (desktop-load-default):
1131 * dired-x.el (dired-omit-here-always)
1132 (dired-hack-local-variables, dired-default-directory):
1133 * emacs-lisp/derived.el (derived-mode-class):
1134 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1135 * emacs-lock.el (toggle-emacs-lock):
1136 * epa.el (epa-display-verify-result):
1137 * epg.el (epg-sign-keys, epg-start-sign-keys)
1138 (epg-passphrase-callback-function):
1139 * eshell/esh-util.el (eshell-for):
1140 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1141 (eshell-add-to-window-buffer-names):
1142 * files.el (locate-file-completion):
1143 * imenu.el (imenu-example--create-c-index)
1144 (imenu-example--create-lisp-index)
1145 (imenu-example--lisp-extract-index-name)
1146 (imenu-example--name-and-position):
1147 * international/mule-cmds.el (princ-list):
1148 * international/mule-diag.el (decode-codepage-char):
1149 * international/mule-util.el (detect-coding-with-priority):
1150 * iswitchb.el (iswitchb-read-buffer):
1151 * mail/mailalias.el (mail-complete):
1152 * mail/sendmail.el (mail-sent-via):
1153 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1154 (mouse-major-mode-menu):
1155 * password-cache.el (password-read-and-add):
1156 * pcomplete.el (pcomplete-parse-comint-arguments):
1157 * progmodes/sh-script.el (sh-maybe-here-document):
1158 * replace.el (query-replace-regexp-eval):
1159 * savehist.el (savehist-load):
1160 * simple.el (choose-completion-delete-max-match):
1161 * term.el (term-dynamic-simple-complete):
1162 * vc/ediff-init.el (ediff-check-version):
1163 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1164 * vc/vc.el (vc-diff-switches-list):
1165 * view.el (view-return-to-alist-update): Likewise.
1166
1167 * subr.el (eval-next-after-load, makehash, insert-string)
1168 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1169 mark obsolete.
1170 (mode-line-inverse-video): Variable deleted.
1171
1172 * international/mule-util.el (string-to-sequence): Remove.
1173
1174 * calendar/calendar.el (calendar-version):
1175 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1176 (icalendar-convert-diary-to-ical):
1177 * cus-edit.el (custom-mode):
1178 * ansi-color.el (ansi-color-unfontify-region):
1179 * international/latin1-disp.el (latin1-char-displayable-p):
1180 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1181 * progmodes/which-func.el (which-func-update-1):
1182 Use define-obsolete-function-alias.
59f7af81
CY
1183
1184 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1185 * net/newst-treeview.el (newsticker-groups-filename):
1186 Fix incorrect obsolescence declaration.
59f7af81
CY
1187
1188 * allout.el (allout-passphrase-hint-string): Likewise.
1189 (allout-init): Use a declare form to mark obsolete.
1190
1191 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1192 this applies to functions.
1193
1194 * iswitchb.el (iswitchb-read-buffer): Move code of
1195 iswitchb-define-mode-map here, and delete that obsolete function.
1196
1197 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1198 font-lock-reference-face.
1199
cca96c97
GM
12002012-09-25 Glenn Morris <rgm@gnu.org>
1201
b06eeda8
GM
1202 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1203 Doc fixes.
1204
cca96c97
GM
1205 * eshell/em-term.el (eshell-term-name):
1206 Default to term-term-name. (Bug#12485)
1207
dc4f818b
FEG
12082012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1209
cca96c97
GM
1210 * progmodes/python.el (python-shell-send-buffer): Better handling
1211 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1212
289c24bd
GM
12132012-09-24 Glenn Morris <rgm@gnu.org>
1214
1215 * eshell/esh-cmd.el (eshell-find-alias-function):
1216 Tighten up file-name regexp. (Bug#12499)
1217
8fb8b88f
FEG
12182012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1219
1220 Enhancements for triple-quote string syntax.
1221 * progmodes/python.el (python-quote-syntax): Remove.
1222 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1223 (python-syntax-count-quotes, python-syntax-stringify):
1224 New functions.
8fb8b88f 1225
6c27f0f8
CY
12262012-09-24 Chong Yidong <cyd@gnu.org>
1227
a5f2b6ec
CY
1228 * mail/supercite.el (sc-version): Remove obsolete function.
1229 (sc-describe): Don't mark as obsolete, since it is bound.
1230 (sc-submit-bug-report): Remove.
1231
1232 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1233 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1234 (log-edit-require-final-newline)
1235 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1236
1237 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1238 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1239 * vc/vc.el (vc-checkout-carefully): Likewise.
1240
1241 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1242 (emerge-version): Remove.
1243
1244 * progmodes/compile.el (compile-internal): Remove.
1245 (compilation-parse-errors-function): Fix typo.
1246
1247 * international/mule.el (set-char-table-default): Remove.
1248 (set-coding-priority, make-coding-system, generic-char-p)
1249 (charset-list, charset-bytes, charset-id): Use declare to mark
1250 functions as obsolete.
1251
1252 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1253 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1254 * vc/vc-hooks.el (vc-default-registered): Don't use
1255 vc-master-templates.
1256
07b1a5fb
SM
1257 * font-lock.el (font-lock-reference-face):
1258 Use define-obsolete-variable-alias.
6c27f0f8
CY
1259
1260 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1261 * calendar/calendar.el (calendar-font-lock-keywords):
1262 * calendar/diary-lib.el (diary-font-lock-keywords)
1263 (diary-fancy-font-lock-keywords):
1264 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1265 * textmodes/reftex-index.el (reftex-insert-index):
1266 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1267 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1268 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1269 * progmodes/prolog.el (prolog-font-lock-keywords):
1270 * progmodes/idlwave.el (idlwave-idl-keywords):
1271 * progmodes/ada-mode.el (ada-font-lock-keywords):
1272 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1273
bcc0adbf
GM
12742012-09-24 Glenn Morris <rgm@gnu.org>
1275
1276 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1277
095bb823
FEG
12782012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1279
1280 * progmodes/python.el (python-indent-line): More consistent cursor
1281 movement behavior.
1282
70efc5c9
SM
12832012-09-23 Stefan Merten <smerten@oekonux.de>
1284
1285 * textmodes/rst.el: Fix compiler warning.
1286
2f438239
RW
12872012-09-23 Roland Winkler <winkler@gnu.org>
1288
07b1a5fb
SM
1289 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1290 Transcribe also LaTeX hyphenation.
2f438239
RW
1291 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1292 bibtex-reformat-previous-options.
1293
936ad041
RW
12942012-09-23 Roland Winkler <winkler@gnu.org>
1295
1296 * proced.el (proced-renice-command): New variable.
1297 (proced-marked-processes): New function.
1298 (proced-with-processes-buffer): New macro.
1299 (proced-send-signal): Use them.
1300 (proced-renice): New command bound to r.
1301
6fab0274
RW
13022012-09-23 Roland Winkler <winkler@gnu.org>
1303
1304 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1305 ibuffer-saved-filter-groups has one element, shortcut the call of
1306 completing-read. (Bug#12331)
1307
9a930676
CY
13082012-09-23 Chong Yidong <cyd@gnu.org>
1309
1310 * bindings.el (mode-line-toggle-read-only):
1311 * bs.el (bs-toggle-readonly):
1312 * buff-menu.el (Buffer-menu-toggle-read-only):
1313 * dired.el (dired-toggle-read-only):
1314 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1315
d07ff9db
CY
13162012-09-23 Chong Yidong <cyd@gnu.org>
1317
1318 * image.el (image-type-available-p): Adapt to init-image-library
1319 argument changes.
1320
51c4474e
JL
13212012-09-22 Juri Linkov <juri@jurta.org>
1322
1323 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1324 `dired-toggle-read-only'. (Bug#12462)
1325
43bf5e8e
MR
13262012-09-22 Martin Rudalics <rudalics@gmx.at>
1327
1328 * subr.el (temp-output-buffer-show): New function.
1329 (with-output-to-temp-buffer): Call temp-output-buffer-show
1330 instead of internal-temp-output-buffer-show.
1331
c88b867f
CY
13322012-09-22 Chong Yidong <cyd@gnu.org>
1333
3df47cd5
CY
1334 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1335 (Bug#12462).
1336
c88b867f
CY
1337 * repeat.el (repeat): Doc fix (Bug#12348).
1338
1339 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1340 (Bug#10909).
1341
1342 * simple.el (shell-command-on-region): Doc fix.
3171e303 1343 (read-only-mode): Doc fix.
c88b867f 1344
df9685f3
EZ
13452012-09-22 Eli Zaretskii <eliz@gnu.org>
1346
1347 * emacs-lisp/timer.el (run-with-idle-timer)
1348 (timer-activate-when-idle): Warn against reinvoking an idle timer
1349 from within its own timer action. (Bug#12447)
1350
8e17c9ba
MR
13512012-09-22 Martin Rudalics <rudalics@gmx.at>
1352
1353 * cus-start.el (window-combination-limit): Add new optional
1354 values.
1355 * window.el (temp-buffer-window-show)
1356 (window--try-to-split-window): Handle new values of
1357 window-combination-limit (Bug#1806).
1358 (split-window): Test window-combination-limit for t instead of
1359 non-nil.
1360 (display-buffer-at-bottom): New buffer display action function.
1361 * help.el (temp-buffer-resize-regexps): New option.
1362 (temp-buffer-resize-mode): Rewrite doc-string.
1363 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1364 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1365
48a24920
SM
13662012-09-22 Stefan Merten <smerten@oekonux.de>
1367
70efc5c9 1368 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1369 (rst-official-version)
1370 (rst-package-emacs-version-alist): Sync with official version
1371 V1.4.0.
1372 (rst-faces-defaults, rst-set-level-default)
1373 (rst-level-face-max, rst-level-face-base-color)
1374 (rst-level-face-base-light, rst-level-face-format-light)
1375 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1376 (rst-adornment-faces-alist): Match new setup.
1377 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1378 (rst-level-5, rst-level-6): New faces.
1379
82f8cd94
CY
13802012-09-22 Chong Yidong <cyd@gnu.org>
1381
1382 * simple.el (undo): Handle indirect buffers (Bug#8207).
1383
acfa068f 13842012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1385
1386 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1387 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1388 (ido-set-matches-1): Use it. (Bug#2042)
1389
acfa068f 13902012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1391
1392 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1393 Fix 2011-05-17 change. (Bug#12418)
1394
acfa068f 13952012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1396
1397 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1398
acfa068f 13992012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1400
1401 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1402 Be more robust about locating simple.el.
1403
acfa068f 14042012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1405
1406 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1407
acfa068f
CY
14082012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1409
1410 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1411
41a97e6f
JL
14122012-09-20 Juri Linkov <juri@jurta.org>
1413
eb2deaff
JL
1414 * replace.el (query-replace-read-from): Use `read-regexp' instead
1415 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1416 (occur-read-primary-args): Use `read-regexp' instead of
1417 `read-string'.
1418 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1419 `read-from-minibuffer'.
1420 * isearch.el (isearch-occur): Use `read-regexp' instead of
1421 `read-string'.
1422 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1423 `read-from-minibuffer'.
1424 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1425 of `read-string'. (Bug#7567)
1426
5825610b
JL
1427 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1428 and allow accepting a list of strings prepended to a list of
1429 standard default values. Doc fix. (Bug#12321)
1430
eebbf404
JL
1431 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1432
41a97e6f
JL
1433 * replace.el (read-regexp): Don't add ": " when PROMPT already
1434 ends with a colon and space. (Bug#12321)
1435
c9e452d3
TH
14362012-09-20 Tassilo Horn <tsdh@gnu.org>
1437
1438 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1439 error.
1440
ee97deee
SM
14412012-09-20 Stefan Merten <smerten@oekonux.de>
1442
70efc5c9 1443 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1444 Fixes feature request bug#11711.
1445 (rst-mode): Create `imenu-create-index-function'.
1446 (rst-get-stripped-line): Delete after refactoring.
1447 (rst-section-tree, rst-section-tree-rec)
1448 (rst-section-tree-point): Refactor and document properly.
1449 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1450 (rst-imenu-convert-cell, rst-imenu-create-index):
1451 New function.
ee97deee 1452
f490dab9
SM
14532012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1454
95b9712e
SM
1455 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1456 (macroexp--expand-all): Use it.
1457 (macroexp--funcall-and-return): Remove by folding it into its sole
1458 caller (macroexp--warn-and-return).
1459 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1460 Use macroexp--obsolete-warning.
1461
f490dab9
SM
1462 * calc/calc.el: Fix last change by removing the whole chunk, since it
1463 was only needed back when Calc was not bundled.
1464
96e8d411
MR
14652012-09-20 Martin Rudalics <rudalics@gmx.at>
1466
1467 * emacs-lisp/debug.el (debug): Restore assignment to
1468 debugger-old-buffer removed on 2012-09-08.
1469
0876a82d
JL
14702012-09-20 Juri Linkov <juri@jurta.org>
1471
1472 * dired-aux.el (dired-diff): Remove (require 'diff) since
1473 `diff-latest-backup-file' is now autoloaded.
1474
9f7c28f0
CY
14752012-09-20 Chong Yidong <cyd@gnu.org>
1476
1477 * vc/diff.el (diff-latest-backup-file): Autoload.
1478
7a04bee9
SM
14792012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1480
e6f0a80d
SM
1481 * calc/calc.el: Remove redundant autoload shape check.
1482 (sel-mode): Don't defvar.
1483 (calc-get-stack-element): Add `sel-mode' arg instead.
1484 (calc-top, calc-top-list): Pass it this additional argument.
1485 * calc/calc-store.el (calc-store-map):
1486 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1487 (calc-map-equation, calc-outer-product, calc-inner-product):
1488 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1489
7a04bee9
SM
1490 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1491
12734222
JL
14922012-09-19 Juri Linkov <juri@jurta.org>
1493
1494 * dired-aux.el (dired-diff): Add (require 'diff) because
1495 `diff-latest-backup-file' is not autoloaded.
1496 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1497 of `dired-get-filename' to t to not report error when there is
1498 no default file on the current line.
1499
46624b4f
SM
15002012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1501
ce97595b
SM
1502 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1503 macroexp--eval-if-compile.
1504 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1505 (macroexp--expand-all): Use them (bug#12371).
1506
46624b4f
SM
1507 * doc-view.el (doc-view-guess-paper-size)
1508 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1509
db8a5a18
TH
15102012-09-19 Tassilo Horn <tsdh@gnu.org>
1511
1512 New feature: set optimal slice from BoundingBox information.
1513 * doc-view.el (doc-view-mode-map): Add keybinding.
1514 (doc-view-menu): Add menu entry.
1515 (doc-view-set-slice): Adapt docstring.
1516 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1517 (doc-view-scale-bounding-box)
1518 (doc-view-set-slice-from-bounding-box): New functions.
1519 (doc-view-paper-sizes): New defvar.
1520
69f6644c
GM
15212012-09-19 Glenn Morris <rgm@gnu.org>
1522
35f5b19d
GM
1523 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1524 (byte-compile-log-warning): Autoload. (Bug#12371)
1525
69f6644c
GM
1526 * calendar/calendar.el (calendar-american-month-header)
1527 (calendar-european-month-header, calendar-iso-month-header)
1528 (calendar-month-header): New options.
1529 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1530 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1531
e543ae91
JD
15322012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1533
1534 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1535
2fd5e67d
JL
15362012-09-18 Juri Linkov <juri@jurta.org>
1537
1538 * dired-aux.el (dired-diff): Restore original functionality of
1539 getting the default value, but keep new feature of using the
1540 latest existing backup file (`diff-latest-backup-file').
1541
42917e79
JL
15422012-09-18 Juri Linkov <juri@jurta.org>
1543
1544 * dired.el (dired-mark): If the region is active in Transient Mark
1545 mode, mark all files in the active region. Doc fix.
1546 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1547 Doc fix. (Bug#10624)
1548
20f70ede
JL
15492012-09-18 Juri Linkov <juri@jurta.org>
1550
1551 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1552 attributes for M-n are pulled from the file at point.
1553 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1554 Suggested by Drew Adams. (Bug#10624)
1555
32fb8162
DG
15562012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1557
1558 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1559 whitespace after "end".
1560 (ruby-do-end-to-brace): Collapse block to one line if it fits
1561 within fill-column.
1562
37ab5092
MR
15632012-09-18 Martin Rudalics <rudalics@gmx.at>
1564
1565 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1566 value.
1567 (debug): Don't remove debugger window when debugger is expected
1568 to be back.
1569
ed1f0bd3
CY
15702012-09-18 Chong Yidong <cyd@gnu.org>
1571
1572 * custom.el (defface): Doc fix.
1573
1574 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1575
a11035b8
MB
15762012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1577
1578 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1579 to initialize query-on-exit; then test that instead (bug#12288).
1580
64f6a736
SM
15812012-09-17 Stefan Merten <smerten@oekonux.de>
1582
70efc5c9 1583 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1584 (rst-defcustom-testcover, rst-testcover-add-compose)
1585 (rst-testcover-add-1value): New functions.
1586 (rst-portable-mark-active-p): Replace by `use-region-p'.
1587 (rst-update-section, rst-classify-adornment)
1588 (rst-find-title-line): Mark `1value' forms.
1589 (rst-classify-adornment): Remove superfluous form.
1590 (rst-update-section, rst-get-adornments-around)
1591 (rst-adornment-complete-p, rst-get-next-adornment)
1592 (rst-adjust, rst-promote-region)
1593 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1594 (rst-find-pfx-in-region, rst-section-tree-rec)
1595 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1596 (rst-toc-node, rst-toc, rst-forward-section)
1597 (rst-iterate-leftmost-paragraphs)
1598 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1599 (rst-bullet-list-region)
1600 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1601 (rst-compile-find-conf, rst-compile)
1602 (rst-repeat-last-character): Fix style.
1603
580bd868
CY
16042012-09-17 Chong Yidong <cyd@gnu.org>
1605
1606 * comint.el (comint--complete-file-name-data): Don't add a space
1607 if the status is `sole'; that adds a gratuitous space in the
1608 completion-cycling case (Bug#12092).
1609
1610 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1611
69de3ec6
RS
16122012-09-17 Richard Stallman <rms@gnu.org>
1613
0dee970c
RS
1614 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1615 only in the mime-shown mode, not in raw mode.
1616 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1617 mime processing. (Bug#12305)
0dee970c 1618
6b250df6
GM
1619 * mail/rmail.el (rmail-retry-failure):
1620 Turn off mime processing first. (Bug#12037)
acb1c47b 1621
69de3ec6
RS
1622 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1623
d079ee5f
CY
16242012-09-17 Chong Yidong <cyd@gnu.org>
1625
1626 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1627 (shell-dynamic-complete-functions): Convert to defcustom.
1628 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1629
865fe16f
CY
1630 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1631 * comint.el (comint-prompt-read-only):
1632 * custom.el (defcustom):
1633 * hi-lock.el (hi-lock-mode):
1634 * ibuffer.el (ibuffer-formats):
1635 * ielm.el (ielm-prompt-read-only):
1636 * novice.el (disable-command):
1637 * saveplace.el (toggle-save-place):
1638 * speedbar.el (speedbar-supported-extension-expressions):
1639 * startup.el (auto-save-list-file-prefix, init-file-user)
1640 (after-init-hook, inhibit-startup-echo-area-message):
1641 * strokes.el (strokes-help):
1642 * time-stamp.el (time-stamp):
1643 * calendar/calendar.el (calendar, diary-file):
1644 * calendar/diary-lib.el (diary-mail-entries, diary)
1645 (diary-list-entries-hook):
1646 * calendar/holidays.el (holidays, calendar-holidays):
1647 * calendar/lunar.el (lunar-phases):
1648 * calendar/solar.el (sunrise-sunset):
1649 * emulation/edt.el (edt-load-keys):
1650 * emulation/viper.el (viper-mode):
1651 * eshell/em-alias.el (eshell-command-aliases-list):
1652 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1653 * international/ogonek.el (ogonek-information):
1654 * net/tramp-cmds.el (tramp-bug):
1655 * net/quickurl.el (quickurl-reread-hook-postfix):
1656 * play/decipher.el (decipher-font-lock-keywords):
1657 * progmodes/cc-styles.el (c-set-style):
1658 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1659 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1660 * progmodes/octave-mod.el (octave-mode):
1661 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1662 * progmodes/verilog-mode.el (verilog-read-defines):
1663 * textmodes/two-column.el (2C-mode): Likewise.
1664
48093eb9
KY
16652012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1666
1667 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1668 that holds many addresses.
1669
c584eaf9
CY
16702012-09-16 Chong Yidong <cyd@gnu.org>
1671
40d70ecb
CY
1672 * align.el (align-areas): Call the indication function with
1673 positions instead of markers for arguments (Bug#12343).
1674
1667e065
CY
1675 * files.el (parse-colon-path): Use split-string (Bug#12351).
1676
fdc2806d 1677 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1678 (display-buffer-function): Mark as obsolete.
fdc2806d 1679
f1be615c 1680 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1681 values similar to font-lock-keywords (Bug#12136).
1682 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1683 (compilation-error-regexp-alist): Doc fix.
1684
f40a9709
GM
16852012-09-15 Glenn Morris <rgm@gnu.org>
1686
72aa16e1
GM
1687 * version.el (emacs-bzr-version-bzr): New function.
1688 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1689
82375160
GM
1690 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1691 checkouts, check the parent dirstate matches the branch.
1692 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1693 empty string.
1694
f40a9709
GM
1695 * version.el (emacs-bzr-version): Doc fix.
1696 (emacs-bzr-version-dirstate): New function.
1697 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1698 is local try and check that it matches the branch. If not, just
1699 use dirstate information. (Bug#12441)
1700
cb26b7f5
JL
17012012-09-14 Juri Linkov <juri@jurta.org>
1702
1703 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1704 (Bug#12399)
1705
2de39f08
SM
17062012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1707
0fb3cb7c
SM
1708 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1709
2de39f08
SM
1710 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1711 Remove obsolete byte-compiler hack that tried to silence some warnings.
1712 (edebug-submit-bug-report): Remove.
1713 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1714 Remove aliases, use the un-prefixed name instead.
1715 (edebug-pop-to-buffer): Consider other frames.
1716 (edebug-original-read):: Make it more obvious that it's always defined.
1717 (edebug--make-form-data-entry, edebug--form-data-name)
1718 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1719 single-dashed name, and implement with cl-defstruct.
1720 (edebug-set-form-data-entry): Use the standard accessors.
1721 (edebug-make-top-form-data-entry): Use push.
1722 (edebug-no-match): Drop useless `funcall'.
1723 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1724 to functions.
1725 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1726 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1727 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1728 (easy-menu-define, with-custom-print): Remove redundant specs.
1729 (edebug-outside-overriding-local-map)
1730 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1731 (edebug--display): Bind unread-command-events directly to nil rather
1732 than binding it to unread-command-events and later setting it to nil.
1733 (edebug--display): Kill edebug-eval-buffer here...
1734 (edebug--recursive-edit): ...rather than here.
1735 Bind standard-output and standard-input.
1736 (edebug-eval): Check cl-macroexpand-all is fboundp.
1737 (edebug-temp-display-freq-count): Fix last change.
1738
1739 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1740 * subr.el (noreturn, 1value): Add `debug' spec.
1741 * emacs-lisp/advice.el: Require cl-lib.
1742 (ad-copy-tree): Remove, use copy-tree instead.
1743 (ad-dolist): Remove use dolist or cl-dolist instead.
1744 (ad-do-return): Remove, use cl-return instead.
1745 (defadvice): Add `debug' spec.
1746
5b68b333
JL
17472012-09-13 Juri Linkov <juri@jurta.org>
1748
1749 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1750 (Bug#12399)
1751
b9800ec4
GM
17522012-09-13 Glenn Morris <rgm@gnu.org>
1753
6a2e6868
GM
1754 * calc/calc.el (math-compose-expr):
1755 * calc/calc-ext.el (math-compose-expr):
1756 * progmodes/cc-defs.el (cl-macroexpand-all):
1757 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1758 (cl-macroexpand-all): Update declarations.
1759
b9800ec4
GM
1760 * vc/vc.el: No need to require ediff.
1761 (ediff-load-version-control): Declare.
1762 (ediff-vc-internal): Fix declaration.
1763 (vc-version-ediff): Require ediff.
1764
c18e885b
PE
17652012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1766
1767 Use a more backwards-compatible timer format (Bug#12430).
1768 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1769 being right after USECS, as that better supports old code that
1770 inadvisedly looked directly at the timer vector.
1771
d607d303
KH
17722012-09-13 Kenichi Handa <handa@gnu.org>
1773
1774 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1775 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1776 `coding-priority' property of these language environment.
1777
72eac303
PE
17782012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1779
1780 Fix glitches caused by addition of psec to timers (Bug#12430).
1781 * image.el (image-animate-timer):
1782 * time.el (display-time-world-timer):
1783 Use timer--function and timer--args rather than raw access to
1784 timer vector.
1785
2168fe4f
GM
17862012-09-13 Glenn Morris <rgm@gnu.org>
1787
1788 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1789 If not compiling a file, try using load-file-name.
1790
bd8d6108
SM
17912012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1792
c0c54fbd
SM
1793 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1794 Fix last change.
1795 (edebug-update-eval-list): Use `push'.
1796
bd8d6108
SM
1797 * emacs-lisp/edebug.el: Use lexical-binding.
1798 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1799 Mark unused args with underscore.
1800 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1801 (edebug-form-data): Use defvar-local.
1802 (edebug-make-before-and-after-form, edebug-make-after-form):
1803 Use backquote.
1804 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1805 Not dynamically scoped any more.
1806 (edebug--enter-trace): Add arguments `function' and `args'.
1807 Rename from edebug-enter-trace.
1808 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1809 (edebug--update-coverage): Add `after-index' and `value' args.
1810 Rename from edebug-update-coverage.
1811 (edebug-slow-after): Call it accordingly.
1812 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1813 edebug-recursive-edit.
1814 (edebug--display): Call it accordingly. Add args `value',
1815 `offset-index', and `arg-mode'. Rename from edebug-display.
1816 (edebug-debugger, edebug): Call it accordingly.
1817 (edebug-eval-display-list): Use dolist.
1818
a9f9d9de
JL
18192012-09-12 Juri Linkov <juri@jurta.org>
1820
1821 * info.el (Info-search): Don't check for isearch-mode and
1822 isearch-regexp before let-binding search-spaces-regexp to
1823 Info-search-whitespace-regexp.
1824 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1825 search-whitespace-regexp if isearch-lax-whitespace or
1826 isearch-regexp-lax-whitespace is non-nil.
1827 (Info-mode): Don't set local variable search-whitespace-regexp.
1828 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1829
bfeae2cf
SM
18302012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1831
1832 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1833 (debugger-env-macro): Remove support for unread-command-char.
1834
1835 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1836 the temporary map re-appearing on emulation-mode-map-alists.
1837
1838 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1839 since 22.1.
1840
1841 * ehelp.el (with-electric-help): Accept functions in
1842 electric-help-form-to-execute.
1843 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1844 And replace unread-command-char -> unread-command-events.
1845
fbbcaf1b
MA
18462012-09-12 Michael Albinus <michael.albinus@gmx.de>
1847
1848 Sync with Tramp 2.2.6.
1849
1850 * net/tramp.el (tramp-accept-process-output): Don't use
1851 JUST-THIS-ONE in the XEmacs case.
1852
1853 * net/trampver.el: Update release number.
1854
4dece104
MR
18552012-09-12 Martin Rudalics <rudalics@gmx.at>
1856
bfeae2cf
SM
1857 * emacs-lisp/debug.el (debugger-previous-window-height):
1858 New variable.
4dece104
MR
1859 (debug): When debugger-jumping-flag is non-nil try to restore
1860 height of debugger window. (Bug#8789)
1861
45b82ad0
SM
18622012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1863
60c49c0f
SM
1864 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1865 overriding-local-map and pre/post-command-hook here.
1866 (edebug-recursive-edit): Do it here instead (bug#12345).
1867 (edebug-outside-unread-command-char): Remove all uses of
1868 unread-command-char.
1869
45b82ad0
SM
1870 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1871 inhibit-debugger is bound instead.
1872
baa26ea0
BG
18732012-09-11 Bastien Guerry <bzg@gnu.org>
1874
1875 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 1876 (Bug#12346)
baa26ea0 1877
04e8abfa
BG
18782012-09-11 Bastien Guerry <bzg@gnu.org>
1879
96d03571 1880 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 1881 (Bug#12347)
96d03571
BG
1882
18832012-09-11 Bastien Guerry <bzg@gnu.org>
1884
fc0c31f8 1885 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 1886
04e082b0
MM
18872012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1888
1889 * progmodes/sql.el: Version 3.1
1890 (sql-db2-escape-newlines): New variable.
1891 (sql-escape-newlines-filter): Use it.
1892
399a361b
JB
18932012-09-10 Juanma Barranquero <lekktu@gmail.com>
1894
1895 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1896
0780c517
DN
18972012-09-10 Dan Nicolaescu <dann@gnu.org>
1898
45b82ad0
SM
1899 * vc/diff-mode.el (diff-mode-menu):
1900 Bind diff-remove-trailing-whitespace.
0780c517 1901
9b851e25
SM
19022012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1903
1904 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
1905 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1906 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
1907 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1908 (eval-defun-2): Remove bogus interactive spec.
1909 (lisp-indent-line): Remove redundant whole-exp code, now done in
1910 indent-according-to-mode.
1911 (save-match-data): Remove redundant indent data.
1912
1913 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1914 Use `declare'.
1915
3231d532
JL
19162012-09-09 Juri Linkov <juri@jurta.org>
1917
1918 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1919 (replace-lax-whitespace, query-replace-regexp)
1920 (query-replace-regexp-eval, replace-regexp): Doc fix.
1921 (perform-replace, replace-highlight): Let-bind
1922 isearch-lax-whitespace to replace-lax-whitespace and
1923 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1924
1925 * isearch.el (isearch-query-replace): Let-bind
1926 replace-lax-whitespace to isearch-lax-whitespace and
1927 replace-regexp-lax-whitespace to
1928 isearch-regexp-lax-whitespace. (Bug#10885)
1929
70fe8236
SM
19302012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1931
1932 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1933
8ed43f15
AM
19342012-09-09 Alan Mackenzie <acm@muc.de>
1935
70fe8236
SM
1936 * progmodes/cc-engine.el (c-state-cache-init):
1937 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1938 (c-record-parse-state-state):
1939 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 1940
bfabf70a
AS
19412012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1942
1943 * register.el (register-separator): Rename from
1944 separator-register. All uses changed. Doc fix.
1945 (register): Fix version.
1946
011474aa
CY
19472012-09-09 Chong Yidong <cyd@gnu.org>
1948
1949 * replace.el (query-replace-map): Bind four new symbols for
1950 requesting window scrolling.
1951
1952 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1953 query-replace-map (Bug#8948).
1954
1955 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1956
1957 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1958 since they are now in query-replace-map.
1959
1960 * window.el (scroll-other-window-down): Make the arg optional.
1961
a8b7cd8d
CY
19622012-09-09 Chong Yidong <cyd@gnu.org>
1963
1964 * files.el (hack-local-variables-confirm): Use quit-window to kill
1965 the *Local Variables* buffer.
1966
c3268831
DG
19672012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1968
1969 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1970 not just expect to be at its beginning. Adjust callees.
1971 Succeed when do-end block has no space before the pipe character.
1972 (ruby-brace-to-do-end): When the original block is one-liner,
1973 convert to multiline. Reindent the result.
1974
0979429b
J
19752012-09-08 Jambunathan K <kjambunathan@gmail.com>
1976
1977 * register.el (register): New group.
27359e99 1978 (separator-register): New user option.
0979429b
J
1979 (increment-register): Route it to `append-to-register', if
1980 register contains text. Implication is that `C-x r +' can now be
1981 used for appending to a text register (bug#12217).
1982 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 1983 `separator-register'.
0979429b 1984
ace2989a
AM
19852012-09-08 Alan Mackenzie <acm@muc.de>
1986
1987 AWK Mode: make auto-newline work when there's "==" in the pattern.
1988 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1989 correctly.
0979429b
J
1990 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1991 Test more rigorously for "=" token.
ace2989a 1992
616c6c36
DG
19932012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1994
0979429b
J
1995 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1996 Only fail when reached LIMIT.
616c6c36 1997
35d98877
CY
19982012-09-08 Chong Yidong <cyd@gnu.org>
1999
2000 * dired.el (dired-mode-map): Don't bind M-=.
2001
2002 * dired-aux.el (dired-diff): Use backup file as default.
2003
1715f2db
DA
20042012-09-08 Drew Adams <drew.adams@oracle.com>
2005
2006 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2007
6dcef6ec
CY
20082012-09-08 Chong Yidong <cyd@gnu.org>
2009
2010 * subr.el (syntax-after, syntax-class): Doc fix.
2011
fa2bcf43
MR
20122012-09-08 Martin Rudalics <rudalics@gmx.at>
2013
2014 * window.el (display-buffer-in-previous-window): New buffer
2015 display action function.
2016
2017 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2018 (debugger-previous-window): New variable.
2019 (debug): Rewrite using display-buffer-in-previous-window,
2020 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2021
daac280a
SM
20222012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2023
2024 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2025
9dd40b00
MM
20262012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2027
daac280a
SM
2028 * progmodes/python.el (python-shell-send-string):
2029 When default-directory is remote, create temp file on remote
9dd40b00
MM
2030 filesystem.
2031 (python-shell-send-file): When file is remote, pass local view of
2032 file paths to remote Python interpreter. (Bug#12340)
2033
145823ec
CY
20342012-09-07 Chong Yidong <cyd@gnu.org>
2035
cee2e90d
CY
2036 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2037
0d7eb2ea
CY
2038 * files.el (after-find-file): Don't fail on a read-only buffer if
2039 require-final-newline is `visit' or `visit-save' (Bug#11156).
2040
145823ec
CY
2041 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2042
daac280a
SM
2043 * userlock.el (ask-user-about-supersession-threat):
2044 Use read-char-choice (Bug#12093).
145823ec 2045
74c582e6
CY
20462012-09-07 Chong Yidong <cyd@gnu.org>
2047
e5c2edf7
CY
2048 * subr.el (buffer-narrowed-p): New function.
2049
2050 * ses.el (ses-widen):
2051 * simple.el (count-words--buffer-message):
2052 * net/browse-url.el (browse-url-of-buffer): Use it
2053
2054 * simple.el (count-words-region): Don't signal an error if there
2055 is a non-nil prefix arg and the mark is not set.
c640e87d 2056
74c582e6
CY
2057 * help.el (describe-key-briefly): Allow the message to be seen
2058 when invoked from the minibuffer (Bug#7014).
2059
d81ceaaf
DG
20602012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2061
2062 * progmodes/ruby-mode.el (ruby-end-of-defun)
2063 (ruby-beginning-of-defun): Simplify, allow indentation before
2064 block beginning and end keywords.
8f06acce
DG
2065 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2066 (ruby-end-of-defun): Expect that the point is at the beginning of
2067 the defun.
d81ceaaf 2068
d458ef98
SM
20692012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2072 (bug#12367).
2073 (cl--make-usage-args): Strip _ from argument names.
2074
20367d28
RS
20752012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2076
2077 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2078 obsolete alias speedbar-key-map.
2079 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2080 (vhdl-index-menu-init): Don't use obsolete variable
2081 font-lock-maximum-size.
2082
3424a4f6
CY
20832012-09-06 Chong Yidong <cyd@gnu.org>
2084
2085 * frame.el (window-system-version): Mark as obsolete.
2086
fcbfbdea
CY
2087 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2088 of obsolete variable speedbar-key-map.
2089
826b3235
JL
20902012-09-06 Juri Linkov <juri@jurta.org>
2091
2092 * replace.el (replace-lax-whitespace): New defcustom.
2093 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2094 (replace-string, replace-regexp): Mention it in docstrings.
2095 (perform-replace, replace-highlight): Let-bind
2096 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2097 to the values of replace-lax-whitespace and regexp-flag.
2098 Don't let-bind search-whitespace-regexp. (Bug#10885)
2099
2100 * isearch.el (isearch-query-replace): Let-bind
2101 replace-lax-whitespace instead of let-binding
2102 replace-search-function and replace-re-search-function.
2103 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2104 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2105 (isearch-toggle-symbol): Set isearch-regexp to nil
2106 in isearch-word mode (like in isearch-toggle-word).
2107
1ec5e41d
JL
21082012-09-06 Juri Linkov <juri@jurta.org>
2109
2110 * replace.el (replace-search-function)
2111 (replace-re-search-function): Set default values to nil.
2112 (perform-replace): Let-bind isearch-related variables based on
2113 replace-related values, call `isearch-search-fun' and let-bind
2114 the result to `search-function'. Remove code that sets
2115 `search-function' and `search-string' separately for
2116 `delimited-flag'.
2117 (replace-highlight): Add new argument `delimited-flag' and
2118 rename other arguments to the names used in `perform-replace'.
2119 Let-bind `isearch-word' to the argument `delimited-flag'.
2120 (Bug#10885, bug#10887)
2121
0ba2d4b6
DG
21222012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2123
2124 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2125 ruby-beginning-of-indent, simplify, allow all keywords to have
2126 indentation before them.
2127 (ruby-beginning-of-indent): Adjust for above. Search until the
2128 found point is not inside a string or comment.
2129 (ruby-font-lock-keywords): Allow symbols to start with "@"
2130 character, give them higher priority than variables.
2131 (ruby-syntax-propertize-function)
2132 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2133 matchers. Expression expansions are not comments when inside a
2134 string, and there comment syntax status is irrelevant.
2135 (ruby-match-expression-expansion): New function. Check that
2136 expression expansion is inside a string, and it's not escaped.
2137 (ruby-font-lock-keywords): Use it.
2138
ef654460
MR
21392012-09-05 Martin Rudalics <rudalics@gmx.at>
2140
2141 * help.el (temp-buffer-max-height): New default value.
2142 (temp-buffer-resize-frames): New option.
2143 (resize-temp-buffer-window): Optionally resize frame.
2144
2145 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2146 (fit-frame-to-buffer): New function.
2147
7e570fbf 21482012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2149
2150 * emulation/cua-rect.el (cua--init-rectangles):
2151 * textmodes/picture.el (picture-mode-map):
2152 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2153 like forward-char and backward-char. (Bug#12317)
2154
7e570fbf 21552012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2156
2157 * progmodes/flymake.el (flymake-warning-re): New variable.
2158 (flymake-parse-line): Use it.
2159
7e570fbf 21602012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2161
2162 * calendar/holidays.el (holiday-christian-holidays):
2163 Rename an entry. (Bug#12289)
2164
7e570fbf 21652012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2166
2167 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2168 (bug#12222).
2169
972debf2
SM
21702012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2171
2172 * loadup.el: Load macroexp. Remove hack.
2173 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2174 (macroexp--expand-all): Use it to get better warnings.
2175 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2176 (internal-macroexpand-for-load): New functions.
2177 (macroexp--pending-eager-loads): New var.
2178 (emacs-startup-hook): New hack to replace one in loadup.el.
2179 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2180 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2181 (cl-psetf): Simplify.
2182 (cl-defstruct): Add indent rule.
2183
8ce192e3
LI
21842012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2185
2186 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2187 over `user-mail-address' for the SMTP MAIL FROM envelope.
2188 (smtpmail-via-smtp): Ditto.
2189
6578b4d8
DG
21902012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2191
2192 * progmodes/ruby-mode.el: Clean up keybindings.
2193 (ruby-mode-map): Don't bind ruby-electric-brace,
2194 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2195 backward-kill-word, reindent-then-newline-and-indent.
2196 (ruby-mark-defun): Remove.
2197 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2198 (ruby-mode): Set local beginning-of-defun-function and
2199 end-of-defun-function values.
2200
c5e28e39
MR
22012012-09-03 Martin Rudalics <rudalics@gmx.at>
2202
2203 * window.el (temp-buffer-window-setup-hook)
2204 (temp-buffer-window-show-hook): New hooks.
2205 (temp-buffer-window-setup, temp-buffer-window-show)
2206 (with-temp-buffer-window): New functions.
972debf2
SM
2207 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2208 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2209
2210 * help.el (temp-buffer-resize-mode): Fix doc-string.
2211 (resize-temp-buffer-window): New optional argument WINDOW.
2212
2213 * files.el (recover-file, save-buffers-kill-emacs):
2214 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2215
73406194
MA
22162012-09-02 Michael Albinus <michael.albinus@gmx.de>
2217
2218 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2219 remote definition of `default-directory', ensure we can connect.
2220
63dd1c6f
JL
22212012-09-02 Juri Linkov <juri@jurta.org>
2222
2223 Toggle whitespace matching mode with M-s SPC.
2224 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2225
2226 * isearch.el (search-whitespace-regexp): Doc fix.
2227 Remove cons cell customization.
2228 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2229 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2230 New variables.
2231 (isearch-forward, isearch-forward-regexp): Doc fix.
2232 (isearch-toggle-lax-whitespace): New command.
2233 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2234 (re-search-forward-lax-whitespace)
2235 (re-search-backward-lax-whitespace): New functions.
2236 (isearch-whitespace-regexp): Remove function.
2237 (isearch-query-replace): Let-bind replace-search-function and
2238 replace-re-search-function.
2239 (isearch-occur): Let-bind search-spaces-regexp according to the
2240 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2241 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2242 condition for C-q SPC.
2243 (isearch-search-fun-default): Use new functions mentioned above.
2244 (isearch-search-forward, isearch-search-backward): Remove functions.
2245 (isearch-search): Don't let-bind search-spaces-regexp.
2246 (isearch-lazy-highlight-space-regexp): Remove variable.
2247 (isearch-lazy-highlight-lax-whitespace)
2248 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2249 (isearch-lazy-highlight-new-loop): Use them.
2250 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2251
af7dda05
CY
22522012-09-02 Chong Yidong <cyd@gnu.org>
2253
2254 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2255
d67d3afd
GM
22562012-09-02 Glenn Morris <rgm@gnu.org>
2257
2258 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2259
69678719
GM
22602012-09-01 Glenn Morris <rgm@gnu.org>
2261
2262 * term.el: Tidy up menu definitions.
2263 (term-mode-map): Use easymenu for In/Out, Complete menus.
2264 (term-pager-break-map): Initialize in the defvar.
2265 (term-terminal-menu, term-signals-menu): Define with easymenu.
2266 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2267 (term-pager-menu): New, extracted from term-process-pager.
2268 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2269 (term-update-mode-line): Propertize line/char and page items.
2270 (term-process-pager): Move keymap initialization elsewhere.
2271
78dd6ab1
MR
22722012-09-01 Martin Rudalics <rudalics@gmx.at>
2273
2274 * window.el (switch-to-prev-buffer): Handle additional values of
2275 BURY-OR-KILL argument. Don't switch in minibuffer window.
2276 (switch-to-next-buffer): Don't switch in minibuffer window.
2277 (quit-restore-window): New function based on quit-window.
2278 Handle additional values of former KILL argument.
2279 (quit-window): Call quit-restore-window with appropriate
2280 interpretation of KILL argument.
2281 (display-buffer-below-selected): New buffer display action
2282 function.
2283
3d10e134
SM
22842012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2285
2286 * minibuffer.el (completion-at-point-functions): Complete docstring
2287 (bug#12254).
2288
0e23ef9d
PE
22892012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2290
2291 Better seed support for (random).
2292 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2293 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2294 * play/mpuz.el, play/tetris.el, play/zone.el:
2295 * calc/calc-comb.el (math-init-random-base):
2296 * play/blackbox.el (bb-init-board):
2297 * play/life.el (life):
2298 * server.el (server-use-tcp):
2299 * type-break.el (type-break):
2300 Remove unnecessary call to (random t).
2301 * net/sasl.el (sasl-unique-id-function):
2302 Change (random t) to (random), now that the latter is more random.
2303 * play/life.el (life-initialized): Remove no-longer-needed var.
2304
862382df
MR
23052012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2306
2307 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2308 Consider frame's buffer predicate when choosing the buffer.
2309 (Bug#12081)
2310
262a66e1
RS
23112012-08-30 Richard Stallman <rms@gnu.org>
2312
2313 * simple.el (special-mode-map): Delete binding for `z'.
2314
f17e1d00
AS
23152012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2316
2317 * progmodes/compile.el (compilation-always-kill): Doc fix.
2318
24777832
CY
23192012-08-30 Chong Yidong <cyd@gnu.org>
2320
2321 * window.el (display-buffer-reuse-frames): Make the obsolescence
2322 message more informative.
2323
69ba1f04
GM
23242012-08-30 Glenn Morris <rgm@gnu.org>
2325
2326 * paren.el (show-paren-delay):
2327 Add a :set function. Doc fix. (Bug#12297)
2328
f0019ede
MB
23292012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2330
2331 * progmodes/compile.el (compilation-always-kill): New var.
2332 (compilation-start): Use it.
2333
35e62fc9
SM
23342012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2335
af070a1c
SM
2336 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2337 * files.el (read-only-mode): Move to simple.el.
2338
35e62fc9
SM
2339 * files.el (read-only-mode): New minor mode.
2340 (toggle-read-only): Use it and mark obsolete.
2341 (find-file--read-only):
2342 * vc/vc.el (vc-next-action, vc-checkout):
2343 * vc/vc-cvs.el (vc-cvs-checkout):
2344 * obsolete/vc-mcvs.el (vc-mcvs-update):
2345 * ffap.el (ffap--toggle-read-only): Update callers.
2346
c2c43c23
MA
23472012-08-29 Michael Albinus <michael.albinus@gmx.de>
2348
2349 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2350 remote shell scripts.
2351 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2352
2353 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2354 "/usr/local/sbin".
2355
9fba804b
SM
23562012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2359
eada0861 23602012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2361
806f0cc7
LL
2362 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2363 completion-at-point. (Bug#12220)
2364
3bb213b9
LL
2365 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2366
22ab32ef
LL
2367 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2368
eada0861 23692012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2370
19c17fc1
CY
2371 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2372 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2373
eada0861 23742012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2375
2376 * progmodes/hideif.el (hif-compress-define-list):
2377 Fix typo. (Bug#11951)
2378
eada0861 23792012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2380
2381 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2382 buffer local setting.
2383
27d6c5a8
LL
2384 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2385 rcirc-encode-coding-system.
2386
eada0861 23872012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2388
2389 * net/rcirc.el (rcirc-split-message): New function.
2390 (rcirc-send-message): Use it. (Bug#12051)
2391
d44688e4
JL
23922012-08-28 Juri Linkov <juri@jurta.org>
2393
2394 * info.el (Info-fontify-node): Hide empty lines at the end of
2395 the node. (Bug#12272)
2396
34f10d41
MR
23972012-08-27 Drew Adams <drew.adams@oracle.com>
2398
2399 * dired.el (dired-pop-to-buffer): Make window start at beginning
2400 of buffer (Bug#12281).
2401
77f1f99c
CY
24022012-08-26 Chong Yidong <cyd@gnu.org>
2403
2404 * window.el (special-display-regexps, special-display-frame-alist)
2405 (special-display-buffer-names, special-display-function)
2406 (display-buffer-reuse-frames): Mark as obsolete.
2407
2408 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2409
2410 * help.el (help-print-return-message): Don't treat
2411 display-buffer-reuse-frames specially.
2412
d97af5a0
CY
24132012-08-26 Chong Yidong <cyd@gnu.org>
2414
9fba804b
SM
2415 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2416 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2417 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2418 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2419 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2420 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2421 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2422 the functions directly with gdb-display-buffer-other-frame-action.
2423 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2424 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2425 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2426 (gdb-display-registers-buffer): Define directly.
2427 (def-gdb-display-buffer): Macro deleted.
2428 (gdb-display-buffer): Remove second and third args, callers don't
2429 use them. Defer to the default display-buffer behavior, apart
2430 from making windows dedicated.
2431 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2432
2433 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2434
2435 * window.el (display-buffer-pop-up-frame): Handle a
2436 pop-up-frame-parameters alist entry.
2437 (display-buffer): Document it.
2438
dd7ffad6
CY
24392012-08-26 Chong Yidong <cyd@gnu.org>
2440
2441 * isearch.el (search-whitespace-regexp): Make string and nil
2442 values apply to both ordinary and regexp search. Allow a cons
2443 cell value to distinguish between the two.
2444 (isearch-whitespace-regexp, isearch-search-forward)
2445 (isearch-search-backward): New functions.
2446 (isearch-occur, isearch-search-fun-default, isearch-search)
2447 (isearch-lazy-highlight-new-loop): Use them.
2448 (isearch-forward, isearch-forward-regexp): Doc fix.
2449
4c47bd1e
CY
24502012-08-26 Chong Yidong <cyd@gnu.org>
2451
2452 * faces.el (help-argument-name): Always inherit from italic
2453 (Bug#12213).
2454
9aba119d
MR
24552012-08-25 Martin Rudalics <rudalics@gmx.at>
2456
2457 * window.el (window--even-window-heights): Even heights when
2458 WINDOW and the selected window form a vertical combination.
2459 (display-buffer-use-some-window): Provide that window used gets
2460 sized back by quit-window. (Bug#11880) and (Bug#12091)
2461
ca5256ad
PE
24622012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2463
2464 Fix file time stamp problem with bzr and CVS (Bug#12001).
2465 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2466 in the file's time stamp, since the version control system loses
2467 that information.
2468
d1c0d176
JL
24692012-08-22 Juri Linkov <juri@jurta.org>
2470
2471 * info.el (Info-fontify-node): Hide the suffix of the
2472 Info file name in the header line. (Bug#12187)
2473
141562ff
GM
24742012-08-22 Glenn Morris <rgm@gnu.org>
2475
2476 * calendar/cal-tex.el (cal-tex-weekly-common):
2477 Restore leading blank page.
2478
61a48e19 24792012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2480
2481 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2482 the region under `shift-select-mode'. (Bug#12231)
2483
24842012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2485
2486 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2487 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2488 gives details on why the space is never needed.
2489
ea95074e
MR
24902012-08-22 Martin Rudalics <rudalics@gmx.at>
2491
9fba804b
SM
2492 * window.el (walk-window-tree, window-with-parameter):
2493 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2494 should run on the minibuffer window.
2495 (window-at-side-list): Don't operate on minibuffer window.
2496 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2497 (window--size-ignore): Rename to window--size-ignore-p.
2498 Update callers.
caceae25
MR
2499 (display-buffer-in-atom-window, window--major-non-side-window)
2500 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2501 (delete-side-window, display-buffer-in-side-window):
2502 New functions.
caceae25
MR
2503 (window--side-check, window-deletable-p, delete-window)
2504 (delete-other-windows, split-window): Handle side windows and
2505 atomic windows appropriately.
2506 (window--display-buffer): Call display-buffer-record-window also
2507 when the window buffer did not change.
ea95074e 2508
80a51fa0
CS
25092012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2510
2511 * help-fns.el (help-fns--key-bindings):
2512 Abbreviate non-symbol remap targets. (Bug#12174)
2513
fbb6300b
MR
25142012-08-22 Martin Rudalics <rudalics@gmx.at>
2515
2516 * dired.el (dired-mark-remembered): Don't clobber point.
2517 (Bug#11795)
2518
2b2c0794
GM
25192012-08-22 Glenn Morris <rgm@gnu.org>
2520
2521 * progmodes/bug-reference.el (bug-reference): New custom group.
2522 (bug-reference-bug-regexp): Make it a defcustom.
2523
37219830
DU
25242012-08-22 Daiki Ueno <ueno@unixuser.org>
2525
2526 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2527 (js-paren-indent-offset, js-square-indent-offset)
2528 (js-curly-indent-offset): Add :safe (Bug#12257).
2529
94e0e559
EC
25302012-08-22 Edward O'Connor <hober0@gmail.com>
2531
2532 * json.el (json-key-format): Add error properties.
2533 (json-encode-key): New function.
2534 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2535 Use json-encode-key.
2536
da485f5e
GM
25372012-08-22 Glenn Morris <rgm@gnu.org>
2538
2539 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2540 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2541 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2542 Update for above change.
2543
c6cc78b8
AS
25442012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2545
2546 * cus-face.el (custom-face-attributes): Fix customize type for the
2547 :underline attribute. (Bug#11805)
2548
5481664a
MR
25492012-08-21 Martin Rudalics <rudalics@gmx.at>
2550
2551 * window.el (window-point-1, set-window-point-1): Remove.
2552 (window-in-direction, record-window-buffer)
2553 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2554 (window--state-get-1, display-buffer-record-window):
2555 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2556 window-point and set-window-point respectively.
2557
6d74698e
GM
25582012-08-21 Glenn Morris <rgm@gnu.org>
2559
b7fa2691
GM
2560 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2561 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2562 Use it.
2563
52f56d5a
GM
2564 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2565 (cal-tex-shortday): New function.
2566 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2567 (cal-tex-cursor-filofax-daily): Use the above.
2568
9f1ee09e
GM
2569 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2570 New functions.
2571 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2572 (cal-tex-cursor-filofax-week): Use them.
2573
79858159
GM
2574 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2575 New constants.
2576 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2577 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2578
d346b2b4
GM
2579 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2580 (cal-tex-end-document): Don't rely on buffer name.
2581
b2403709
GM
2582 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2583 Use cal-tex-vspace.
2584 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2585 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2586 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2587 Use cal-tex-arg.
b2403709 2588
1cebb5c0
GM
2589 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2590 (cal-tex-cursor-week, cal-tex-cursor-week2)
2591 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2592 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2593 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2594 (cal-tex-insert-preamble, cal-tex-b-document)
2595 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2596 Improve cal-tex-cmd usage.
2597
c68cd5d4
GM
2598 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2599 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2600 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2601 (cal-tex-weekly-paper): New function.
2602 (cal-tex-cursor-week, cal-tex-cursor-week2)
2603 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2604 (cal-tex-cursor-day): Use it.
2605
9dca4801
GM
2606 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2607 (cal-tex-cursor-filofax-week): Remove leading blank page.
2608
1941e134
GM
2609 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2610 Add autoload cookie. For now at least, don't use color, since
2611 no other cal-tex function does.
2612
6d74698e
GM
2613 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2614 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2615 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2616
64cde199
JL
26172012-08-21 Juri Linkov <juri@jurta.org>
2618
2619 * info.el (Info-file-attributes): New variable.
2620 (info-insert-file-contents): Add file attributes to
2621 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2622 `Info-toc-nodes' when previous modtime of the Info file is less
2623 than new modtime.
2624 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2625 of info.el. (Bug#12230)
2626
32757648
GM
26272012-08-20 Glenn Morris <rgm@gnu.org>
2628
2629 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2630 * calendar/holidays.el (calendar-holiday-list):
2631 Report errors with display-warning rather than beep'n'sleep.
2632
a32fbbcf
MA
26332012-08-20 Michael Albinus <michael.albinus@gmx.de>
2634
2635 * net/tramp.el (tramp-accept-process-output): Accept only output
2636 from PROC. Otherwise, process filters and sentinels might be
2637 confused. (Bug#12145)
2638
a05731a0
CY
26392012-08-20 Chong Yidong <cyd@gnu.org>
2640
2641 * descr-text.el (describe-text-properties-1): Use overlays-in to
2642 report on empty overlays (Bug#3322).
2643
36e8d1eb
GM
26442012-08-20 Glenn Morris <rgm@gnu.org>
2645
3d300447
GM
2646 * mail/rmailout.el (rmail-output-read-file-name):
2647 Trap and report errors in rmail-output-file-alist elements.
2648
36e8d1eb
GM
2649 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2650 since most non-font-lock faces are not also variables).
2651
b96e5814
ER
26522012-08-20 Edward Reingold <reingold@iit.edu>
2653
2654 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2655 New function. (Bug12160)
2656
7cef3569
GM
26572012-08-19 Glenn Morris <rgm@gnu.org>
2658
2659 * mail/rmailout.el (rmail-output-read-file-name):
2660 Fix previous change (when the alist is nil or does not match).
2661
17975d7f
CY
26622012-08-19 Chong Yidong <cyd@gnu.org>
2663
2664 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2665 (Bug#12228).
2666
2170b1bd
CY
26672012-08-18 Chong Yidong <cyd@gnu.org>
2668
2669 * simple.el (yank-handled-properties): New defcustom.
2670 (yank-excluded-properties): Add font-lock-face and category.
2671 (yank): Doc fix.
2672
9fba804b
SM
2673 * subr.el (remove-yank-excluded-properties):
2674 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2675 and category is now done this way, instead of being hard-coded.
2676 (insert-for-yank-1): Remove font-lock-face handling.
2677 (yank-handle-font-lock-face-property)
2678 (yank-handle-category-property): New function.
2679
ee218151
GM
26802012-08-17 Glenn Morris <rgm@gnu.org>
2681
2682 * mail/rmailout.el (rmail-output-read-file-name):
2683 Check rmail-output-file-alist against the full message body
2684 in the correct rmail buffer. (Bug#12214)
2685
4a6bc3fd
MA
26862012-08-17 Michael Albinus <michael.albinus@gmx.de>
2687
9fba804b
SM
2688 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2689 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2690
383dcbf9
CY
26912012-08-17 Chong Yidong <cyd@gnu.org>
2692
2693 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2694 font spec, set the font directly (Bug#3228).
2695
998c4a6a
MR
26962012-08-17 Martin Rudalics <rudalics@gmx.at>
2697
2698 * window.el (delete-window): Fix last fix.
2699
52162052
MR
27002012-08-16 Martin Rudalics <rudalics@gmx.at>
2701
2702 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2703 (window-child, window-child-count, window-last-child)
2704 (window-normalize-window, window-combined-p)
2705 (window-combinations, window-atom-root, window-min-size)
2706 (window-sizable, window-sizable-p, window-size-fixed-p)
2707 (window-min-delta, window-max-delta, window--resizable)
2708 (window--resizable-p, window-resizable, window-total-size)
2709 (window-full-height-p, window-full-width-p, window-body-size)
2710 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2711 (minimize-window, window-deletable-p, delete-window)
2712 (delete-other-windows, set-window-buffer-start-and-point)
2713 (next-buffer, previous-buffer, split-window, balance-windows-2)
2714 (set-window-text-height, window-buffer-height)
2715 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2716 (truncated-partial-width-window-p): Minor code adjustments.
2717 In doc-strings state whether the argument window has to denote a
85c2386b 2718 live, valid or any window.
52162052 2719
1c308380
PS
27202012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2721
2722 * progmodes/subword.el (subword-forward-function)
2723 (subword-backward-function, subword-forward-regexp)
2724 (subword-backward-regexp): New variables.
2725 (subword-forward, subword-forward-internal, subword-backward-internal):
2726 Use new variables, eg so that different "word" definitions
2727 can be easily used. (Bug#11411)
2728
94c9ece1
SM
27292012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2732 for composite selectors.
2733 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2734 operation just because we can't find a previous revision.
2735
f2045622
CY
27362012-08-15 Chong Yidong <cyd@gnu.org>
2737
2738 * frame.el (set-frame-font): Accept font objects.
2739
582db660
SM
27402012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2743
2f29c200
WJ
27442012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2745
456e62c2
WJ
2746 * man.el (Man-overstrike-face, Man-underline-face)
2747 (Man-reverse-face): Remove variables.
2748 (Man-overstrike, Man-underline, Man-reverse): New faces.
2749 (Man-fontify-manpage): Use them instead of the variables.
2750 (Man-cleanup-manpage): Comment change.
2751 (Man-ansi-color-map): New variable.
2752 (Man-fontify-manpage): Use it.
2753 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2754
2f29c200
WJ
2755 Implement ANSI SGR parameters 22-27 (bug#12146).
2756 * ansi-color.el (ansi-colors): Doc fix.
2757 (ansi-color-context, ansi-color-context-region): Doc fix.
2758 (ansi-color--find-face): New function.
2759 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2760 Rename the local variable `face' to `codes' since it is now a list of
2761 ansi codes. Doc fix.
2762 (ansi-color-get-face): Remove.
2763 (ansi-color-parse-sequence): New function, derived from
2764 ansi-color-get-face.
2765 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2766 codes 22-27.
2767
b4f5e9df
SM
27682012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 * subr.el (read-passwd): Allow use from a minibuffer.
2771
ba025fbd
EZ
27722012-08-14 Eli Zaretskii <eliz@gnu.org>
2773
2774 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2775 inside comments and strings as identifiers.
2776
2777 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2778 expression to evaluate. This allows to evaluate expressions with
2779 embedded whitespace.
2780 (gud-tooltip-tips): Add a blank before the newline in the
2781 message-box text, for the benefit of message-box emulation on
2782 MS-Windows.
2783
2784 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2785 messages from GDB, pop them up in a tooltip to give feedback to
2786 user.
b4f5e9df
SM
2787 (gdb-tooltip-print-1): Quote the expression to evaluate.
2788 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2789 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2790 if the TTY name is nil or empty (which happens when communicating
2791 with the inferior via pipes, e.g. on MS-Windows).
2792 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2793 don't send that to the GUD buffer.
2794
c548f821
GM
27952012-08-14 Glenn Morris <rgm@gnu.org>
2796
2797 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2798 Optimize away setq-default with no args, as for setq. (Bug#12195)
2799
55802e4a
CY
28002012-08-14 Chong Yidong <cyd@gnu.org>
2801
4abcdac8
CY
2802 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2803
55802e4a
CY
2804 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2805 (Bug#12085).
2806
3c3cda1a
GM
28072012-08-14 Glenn Morris <rgm@gnu.org>
2808
2809 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2810
e1873bd0
MA
28112012-08-14 Michael Albinus <michael.albinus@gmx.de>
2812
2813 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2814 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2815 Use cached shell name.
2816
925411b4
FEG
28172012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2818
2819 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2820 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2821
e636fafe
DG
28222012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2823
2824 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2825 (ruby-percent-literal-beg-re): New constant.
2826 (ruby-syntax-general-delimiters-goto-beg): Rename to
2827 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2828 (ruby-syntax-propertize-general-delimiters): Rename to
2829 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2830 popular term. Adjust comments everywhere.
2831 (ruby-syntax-propertize-percent-literal): Only propertize when not
2832 inside a simple string or comment. When the literal is unclosed,
2833 leave the text after it unpropertized.
f063063a
DG
2834 (ruby-syntax-methods-before-regexp): New constant.
2835 (ruby-syntax-propertize-function): Use it to recognize regexps.
2836 Don't look at the text after regexp, just use the whitelist.
e636fafe 2837
e5b19827
AS
28382012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2839
2840 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2841 non-nil always load the compiled file if it exists. (Bug#12197)
2842
a9f6f311
CY
28432012-08-14 Chong Yidong <cyd@gnu.org>
2844
2845 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2846 (hi-lock-set-pattern): When deciding whether to use font lock or
2847 overlays, look at font-lock-mode instead of font-lock-fontified
2848 (Bug#12168).
2849 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2850 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2851
7d806b1e
DU
28522012-08-14 Daiki Ueno <ueno@unixuser.org>
2853
2854 * subr.el (internal--after-with-selected-window): Fix typo
2855 (Bug#12193).
2856
5beed586
FEG
28572012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2858
2859 Use `completion-table-dynamic' for completion functions.
2860 * progmodes/python.el
2861 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2862 (python-shell-completion--get-completions):
2863 Remove functions.
5beed586
FEG
2864 (python-shell-completion-complete-at-point): New function.
2865 (python-completion-complete-at-point): Use it.
2866
92cb3b04
J
28672012-08-13 Jambunathan K <kjambunathan@gmail.com>
2868
2869 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2870 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2871
89660017
SM
28722012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2873
3c98c962
SM
2874 * subr.el (function-get): Refine `autoload' arg so it can also
2875 autoload functions for gv.el (bug#12191).
2876 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2877 autoloads macros.
2878
aa7c6dbe
SM
2879 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2880 Prefer pcase-let over destructuring-bind.
2881 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2882 Also, remove whitespace as we go, rather than after accumulating the
2883 various places.
2884
89660017
SM
2885 * subr.el (internal--before-with-selected-window)
2886 (internal--after-with-selected-window): Fix typo seleted->selected.
2887 (with-selected-window): Adjust callers.
2888 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2889
31cd32c9
BG
28902012-08-13 Bastien Guerry <bzg@gnu.org>
2891
0fcd3d9f 2892 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
2893 enhancement. (Bug#12172)
2894
1b15d8ad
AS
28952012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2896
31e54db0
AS
2897 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2898 type 1-6.
2899 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2900 extended headers.
2901
1b15d8ad
AS
2902 * files.el (hack-local-variables-filter): Remove useless eval.
2903
35cb9c06
MR
29042012-08-13 Martin Rudalics <rudalics@gmx.at>
2905
2906 * subr.el (with-selected-window): Fix last change.
2907
1439443b
SM
29082012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 * subr.el (internal--before-with-seleted-window)
2911 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
2912 (with-selected-window): Use them, to replace dependency on
2913 tty-top-frame.
1439443b 2914
0d9e2599
NN
29152012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2916
2917 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2918 binding for `newline'.
2919 (ruby-move-to-block): When moving backward, stop at block opening,
2920 not indentation.
2921 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2922 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2923 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2924 `ruby-toggle-block'.
2925
ba10c48c
SM
29262012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * ibuffer.el (ibuffer-do-toggle-read-only):
2929 * dired.el (dired-toggle-read-only):
2930 * buff-menu.el (Buffer-menu-toggle-read-only):
2931 * bindings.el (mode-line-toggle-read-only):
2932 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2933
9229c658
AS
29342012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2935
2936 * descr-text.el (describe-char): Put the overlays over the
2937 "displayed as" character.
2938
0fd09128
JB
29392012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2940
2941 * calc/calc-units.el (math-default-units-table): Give an
2942 initial value.
2943 (math-put-default-units): Add options to put composite units and
2944 unit systems in the default units table.
2945 (calc-convert-units): Send composite units to
2946 `math-put-default-units' when appropriate.
2947
9ff9402d 29482012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 2949
fbb5e336
GM
2950 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2951
7aacaf15
GM
2952 * tutorial.el (help-with-tutorial):
2953 * emacs-lisp/copyright.el (copyright-update-directory):
2954 * emacs-lisp/autoload.el (autoload-find-generated-file)
2955 (autoload-find-file): Disable local eval: (for insurance).
2956
f40b9f10
GM
2957 * files.el (hack-local-variables-filter): If an eval: form is not
2958 known to be safe, and enable-local-variables is :safe, then ignore
2959 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 2960 This is CVE-2012-3479.
f40b9f10 2961
daa9f1a6
SM
29622012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2963
2964 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2965 (rx-form): Simplify.
2966
9cd80478
DG
29672012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2968
0d9e2599
NN
2969 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2970 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2971 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2972 (ruby-syntax-propertize-function): Adjust for changes in
2973 `ruby-syntax-propertize-heredoc'.
2974
29752012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2976
9cd80478
DG
2977 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2978 binding (use `M-;' instead).
9cd80478 2979 (ruby-singleton-class-p): New function.
0d9e2599 2980 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 2981
d301b413
SM
29822012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2983
2984 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2985
1530c98e
CY
29862012-08-10 Chong Yidong <cyd@gnu.org>
2987
2988 * progmodes/python.el (python-shell-get-process-name): Don't mess
2989 with same-window-buffer-names.
2990
2991 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2992 (eshell-remove-from-window-buffer-names): Make obsolete.
2993 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2994 (eshell): Just use pop-to-buffer-same-window instead.
2995
e1293765
CY
29962012-08-10 Chong Yidong <cyd@gnu.org>
2997
2998 * bindings.el: Bind M-= back to count-words-region.
2999
3000 * simple.el (count-words-region): Accept a prefix arg for acting
3001 on the entire buffer.
3002 (count-words--buffer-message): New helper function.
3003
e1894109
SM
30042012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3005
3006 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3007 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3008 (event-start, event-end): Use posn-at-point to return a more
3009 informative posn.
3010 (posnp): New function.
3011 * mouse.el (popup-menu-normalize-position): Use it.
3012
c69f56a2
MY
30132012-08-10 Masatake YAMATO <yamato@redhat.com>
3014
3015 * mouse.el (popup-menu-normalize-position): New function.
3016 (popup-menu): Use `popup-menu-normalize-position' to normalize
3017 the form for POSITION argument.
3018
3019 * term/x-win.el (x-menu-bar-open):
3020 Use the value returend from (posn-at-point) as position
3021 passed to `popup-menu'.
3022
31673780
JB
30232012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3024
3025 * calc/calccomp.el (math-compose-expr): Add extra argument
3026 indicating that parentheses should be put around products in
3027 denominators. Give multiplication precedence over division during
3028 composition.
3029
dab7711b
CY
30302012-08-09 Chong Yidong <cyd@gnu.org>
3031
dee4ef93
CY
3032 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3033 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3034 (Man-untabify-command, manual-program): Convert to defcustom
3035 (Bug#10429).
3036
73e2bbc5
CY
3037 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3038
3e861c8a
CY
3039 * descr-text.el (describe-char): Don't insert extra newlines
3040 (Bug#10127).
3041
a9f5a649
CY
3042 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3043 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3044
dab7711b
CY
3045 * align.el (align-region): Delete temporary markers (Bug#10047).
3046 Plus some code cleanups.
3047
e0cc4efa
FEG
30482012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3049
3050 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3051 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3052 (python-shell-internal-last-output): Use make-local-variable
3053 instead of make-variable-buffer-local.
3054
489af14f
FEG
30552012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3056
3057 * progmodes/python.el: Enhancements to forward-sexp.
3058 (python-nav-forward-sexp): Rename from
3059 python-nav-forward-sexp-function.
c69f56a2
MY
3060 (python-nav--forward-sexp, python-nav--backward-sexp):
3061 New functions.
489af14f 3062
0fc50303
JB
30632012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3064
3065 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3066 modes and simplification modes.
3067
5d65606a
SM
30682012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * delsel.el (delete-selection-pre-hook): Don't propagate the
3071 file-supersession signals (bug#12161).
3072
4250fdf5
SM
30732012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3076 (cl-map-extents): Add compatibility aliases (bug#12135).
3077
d9f9b465
MA
30782012-08-08 Michael Albinus <michael.albinus@gmx.de>
3079
3080 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3081 tests by `ignore-error'.
3082 (tramp-find-shell): Open also a new shell, when cache is already
3083 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3084
ce0fcefa
JL
30852012-08-08 Juri Linkov <juri@jurta.org>
3086
3087 * bookmark.el: Add `defaults' property to the bookmark record.
3088 (bookmark-current-buffer): Doc fix.
3089 (bookmark-make-record): Add `defaults' property with default values
3090 to the bookmark record.
3091 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3092 with `bookmark-insert-current-bookmark'.
3093 (bookmark-set): Get `defaults' property from the bookmark record
3094 and use it in `read-from-minibuffer'.
3095 (bookmark-insert-current-bookmark): Remove function.
3096
3097 * info.el (Info-bookmark-make-record): Add `defaults' property
3098 with values of canonical Info node name, the current Info file
3099 name and the current Info node name. (Bug#12107)
3100
53fa8652
JL
31012012-08-08 Juri Linkov <juri@jurta.org>
3102
3103 * files.el (basic-save-buffer): Use `buffer-name' as the default
3104 of `read-file-name' when buffer is not visiting a file (bug#12128).
3105
242c0a95
JL
31062012-08-08 Juri Linkov <juri@jurta.org>
3107
3108 * info.el (Info-isearch-search): Doc fix.
3109 (Info-search): Change search-failed message from "initial node" to
3110 "end of node" (bug#12078).
3111 (Info-isearch-search): Change `isearch-string-state' to
3112 `isearch--state-string'.
3113
32ac3a6b
GM
31142012-08-08 Glenn Morris <rgm@gnu.org>
3115
3116 * language/persian.el: Remove file.
f8c1afd5 3117 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3118 * loadup.el: Remove language/persian.
3119
2c2d9c9c
OF
31202012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3121
3122 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3123
2d79ec42
FEG
31242012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3125
3126 * progmodes/python.el Fixed defsubst warning.
3127 (python-syntax-context) Rename from python-info-ppss-context.
3128 (python-syntax-context-type): Rename from
3129 python-info-ppss-context-type.
3130 (python-syntax-comment-or-string-p): Rename from
3131 python-info-ppss-comment-or-string-p.
3132
2bd255dd
JB
31332012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3134
3135 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3136
c395097f
AS
31372012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3138
6125983e
AS
3139 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3140 a defcustom that is quoted with backquote.
3141
4250fdf5
SM
3142 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3143 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3144 (math-do-arg-check, math-define-function-body): Use backquote forms.
3145 * calc/calc-ext.el (math-defcache): Likewise.
3146 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3147 * allout.el (allout-new-exposure): Likewise.
3148 * calc/calcalg2.el (math-tracing-integral): Likewise.
3149 * info.el (Info-last-menu-item): Likewise.
3150 * emulation/vip.el (vip-loop): Likewise.
3151 * textmodes/artist.el (artist-funcall): Likewise.
3152 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3153 Construct menu-item directly.
3154
4250fdf5
SM
3155 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3156 Don't declare.
c395097f 3157
5fb50dd3
CY
31582012-08-07 Chong Yidong <cyd@gnu.org>
3159
3160 * simple.el (deactivate-mark): Preserve text properties when
3161 saving the primary selection (Bug#8384).
3162
54eea618
KR
31632012-08-07 Kevin Ryde <user42@zip.com.au>
3164
3165 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3166 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3167 and continue processing (Bug#12110).
3168
638eaeb9
SM
31692012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3172 syntax-propertize-function (bug#10095).
3173
ea376861
SM
31742012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3175
f91b35be
SM
3176 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3177 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3178 describe-function-1.
3179 (describe-function-1): Use them. Move compiler macro after sig.
3180 (help-fns--compiler-macro): Use function-get. Assume we're already in
3181 standard-output. Adjust layout to new call order.
3182
ea376861
SM
3183 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3184 re-binding a symbol that has a symbol-macro (bug#12119).
3185
d5be7bd0
MB
31862012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3187
3188 * language/persian.el: New file. (Bug#11812)
3189 * loadup.el: Add language/persian.el.
3190
90749b53
CY
31912012-08-06 Chong Yidong <cyd@gnu.org>
3192
3193 * window.el (window--maybe-raise-frame): New function.
3194 (window--display-buffer): Split off from here.
3195 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3196 (display-buffer-pop-up-window, display-buffer-use-some-window):
3197 Obey an inhibit-switch-frame action alist entry.
3198 (display-buffer): Update doc.
3199
3200 * replace.el (occur-after-change-function): Avoid losing focus by
3201 using the inhibit-switch-frame display parameter (Bug#12139).
3202
ba7b0154
FEG
32032012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3204
3205 Make internal shell process buffer names start with space.
3206 * progmodes/python.el (python-shell-make-comint): Add optional
3207 argument INTERNAL.
3208 (run-python-internal): Use it.
3209 (python-shell-internal-get-or-create-process): Check for new
3210 internal buffer names.
3211
5eaeacb5
GM
32122012-08-06 Glenn Morris <rgm@gnu.org>
3213
e296d94b 3214 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3215 Do less getting and setting of environment variables.
3216
b7ccbdc2
CY
32172012-08-05 Chong Yidong <cyd@gnu.org>
3218
777fe95e
CY
3219 * proced.el (proced): Add substitution string to docstring to
3220 trigger autoloading of the proced library on C-h f (Bug#1768).
3221
4250fdf5
SM
3222 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3223 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3224
3225 * imenu.el (imenu-generic-expression): Move documentation here
3226 from imenu--generic-function.
3227 (imenu--generic-function): Refer to imenu-generic-expression.
3228
9e3b7800 32292012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3230
3231 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3232 indentation declaration.
3233 (viper-loop): Add indentation declaration (Bug#7025).
3234
e5d9c0d1
CY
32352012-08-05 Chong Yidong <cyd@gnu.org>
3236
f0422feb
CY
3237 * help-fns.el (describe-variable): Add hyperlink for
3238 directory-local variables files. Improve buffer-local and
3239 permanent-local reporting; suggested by MON KEY (Bug#6644).
3240
3241 * help-mode.el (help-dir-local-var-def): New button type.
3242
e5d9c0d1
CY
3243 * files.el (kill-buffer-hook): Provide a defvar.
3244
a4f2deaa
GM
32452012-08-05 Glenn Morris <rgm@gnu.org>
3246
3247 * eshell/esh-ext.el (eshell/addpath):
3248 Also update eshell-path-env. (Bug#12013)
3249
a9dd5754
CY
32502012-08-05 Chong Yidong <cyd@gnu.org>
3251
a4f2deaa 3252 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3253
d014c740
CY
3254 * fringe.el (fringe-styles): Add docstring.
3255 (fringe--check-mode): New function.
3256 (set-fringe-mode, set-fringe-style): Use it.
3257 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3258
a9dd5754
CY
3259 * files.el (set-auto-mode): Fix invalid setq call.
3260
7c2dc8bd
SM
32612012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * isearch.el: Misc simplification; use defstruct.
3264 (isearch-mode-map): Dense maps now work like sparse ones.
3265 (isearch--state): New defstruct.
3266 (isearch-string-state, isearch-message-state, isearch-point-state)
3267 (isearch-success-state, isearch-forward-state)
3268 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3269 (isearch-wrapped-state, isearch-barrier-state)
3270 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3271 replaced by defstruct's accessors.
3272 (isearch--set-state): Rename from isearch-top-state and change
3273 calling convention.
3274 (isearch-push-state): Use new isearch--get-state.
3275 (isearch-toggle-word): Disable regexp when enabling word.
3276 (isearch-message-prefix): Remove unused arg _c-q-hack.
3277 (isearch-message-suffix): Remove unused arg _ellipsis.
3278
7fcc0070
AS
32792012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3280
3281 * simple.el (list-processes--refresh): For a server use :host or
3282 :local as the address.
97ad0769 3283 (list-processes): Doc fix.
7fcc0070 3284
a11035b8 32852012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3286
3287 * lisp/mpc.el: Support password in host argument.
3288 (mpc--proc-connect): Parse and use new password element.
3289 Set mpc-proc variable instead of returning process.
3290 (mpc-proc): Adjust accordingly.
3291
6dad7178
EZ
32922012-08-03 Eli Zaretskii <eliz@gnu.org>
3293
18949c2f
EZ
3294 * whitespace.el (whitespace-display-mappings): Use Unicode
3295 codepoints, instead of emacs-mule codepoints. See
3296 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3297 for the details.
3298
6dad7178
EZ
3299 * files.el (file-truename): Don't skip symlink-chasing part on
3300 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3301 Windows into the loop that recursively chases symlinks.
3302 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3303 MS-DOS.
3304
385b0198
CY
33052012-08-03 Chong Yidong <cyd@gnu.org>
3306
6200f3c4
CY
3307 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3308
385b0198
CY
3309 * sort.el (sort-regexp-fields): Doc fix.
3310
b9e74744
TH
33112012-08-03 Tassilo Horn <tsdh@gnu.org>
3312
3313 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3314 labels regex position point at the expected place.
3315
41013cb4
MK
33162012-08-03 MON KEY <monkey@sandpframing.com>
3317
3318 * net/imap.el (imap-interactive-login, imap-authenticate)
3319 (imap-mailbox-lsub, imap-mailbox-list)
3320 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3321 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3322 (imap-parse-response): Doc fix.
3323
0ffee616
JT
33242012-08-03 João Távora <joaotavora@gmail.com>
3325
3326 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3327 if sexp scanning does not move point (Bug#5734).
3328
cfcc9cc8
TH
33292012-08-02 Tassilo Horn <tsdh@gnu.org>
3330
3331 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3332 Add listings, minted, and ctable packages.
3333 (reftex-label-alist-builtin): Move listings, minted, and ctable
3334 entries before LaTeX.
a01bbb84 3335 (reftex-label-alist): Docfix.
cfcc9cc8 3336
66ec2442
BG
33372012-08-02 Bastien Guerry <bzg@gnu.org>
3338
3339 * replace.el (occur): Fix docstring (bug#12122).
3340
837b365b
GM
33412012-08-02 Glenn Morris <rgm@gnu.org>
3342
3343 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3344
e098de97
PE
33452012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3346
3347 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3348 * international/mule-cmds.el: Create
3349 inactivate-current-input-method-function as an obsolete alias for
3350 deactivate-current-input-method-function. See Katsumi Yamaoka in
3351 <http://bugs.gnu.org/10150#46>.
3352
a0f95636
JB
33532012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3354
3355 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3356 of nested `if's.
3357
0d26d7c4
GM
33582012-08-01 Glenn Morris <rgm@gnu.org>
3359
3360 * progmodes/autoconf.el (autoconf-definition-regexp):
3361 Add AH_TEMPLATE, adjust submatch numbering.
3362 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3363 (autoconf-current-defun-function): Update for above change.
3364 (autoconf-current-defun-function): First skip to end of current word.
3365
b686ba06
RS
33662012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3367
3368 * calendar/cal-html.el (cal-html-insert-agenda-days):
3369 Fix typo. (Bug#12018)
3370
0d49da68
FEG
33712012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3372
3373 Shell processes: enhancements to startup and CEDET compatibility.
3374 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3375 (python-shell-make-comint): accept-process-output at startup.
3376 (run-python-internal): Set inferior-python-mode-hook to nil.
3377 (python-shell-internal-get-or-create-process): call sit-for.
3378 (python-preoutput-result): Add obsolete alias.
3379 (python-shell-internal-send-string): Use it.
3380 (python-shell-send-setup-code): Remove call to
3381 accept-process-output.
3382
f1a71c6e
AS
33832012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3384
3385 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3386 (Bug#12108)
3387
d2605269
JB
33882012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3389
3390 * calc-mode.el (calc-basic-simplification-mode): Rename from
3391 `calc-limited-simplification-mode'.
3392 (calc-alg-simplification-mode): New function.
fc0c31f8 3393 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3394
d2605269
JB
3395 * calc.el (calc-set-mode-line): Adjust mode line display for
3396 basic simplification mode.
3397
3398 * calc-help.el (calc-m-prefix-help): Update help message.
3399
3400 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3401 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3402
a3827a43
BG
34032012-07-31 Bastien Guerry <bzg@gnu.org>
3404
3405 * man.el (man): Fix comment. (bug#12101)
3406
502e3f89
MR
34072012-07-31 Martin Rudalics <rudalics@gmx.at>
3408
3409 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3410 Don't return a non-nil value when no suitable buffer was found.
3411
d7714961
FEG
34122012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3413
3414 * progmodes/python.el (run-python-internal): Disable font lock for
3415 internal shells.
3416
1f45e27e
SM
34172012-07-30 Stefan Merten <smerten@oekonux.de>
3418
70efc5c9 3419 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3420 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3421 (rst-official-version, rst-official-cvs-rev)
3422 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3423 (rst-mode-map): New key binding.
3424
0aee6912
PE
34252012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3426
3427 Update .PHONY listings in makefiles.
3428 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3429 autoloads, update-subdirs, updates, bzr-update, update-authors,
3430 compile-onefile, compile-calc, backup-compiled-files,
3431 compile-after-backup, compile-one-process, mh-autoloads,
3432 bootstrap-clean, distclean, maintainer-clean.
3433
9052f9f0
JB
34342012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3435
1823ac5a
JB
3436 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3437 (calc-set-mode-line): Don't display "AlgSimp ".
3438
3439 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3440 (calc-lim-simplify-mode): New function.
3441 (calc-set-simplify-mode): Default to 'alg.
3442 (calc-default-simplify-mode): Make algebraic simplifications
3443 the default.
3444
3445 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3446 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3447
8d7c7eed 3448 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3449 indicate new simplification modes.
3450
1823ac5a
JB
3451 * calc/README: Mention new default simplification mode.
3452
9052f9f0
JB
3453 * calc/calc.el (math-normalize-error): New variable.
3454 (math-normalize): Set `math-normalize-error' to t
3455 when there's an error.
3456
3457 * calc/calc-alg.el (math-simplify): Don't simplify when
3458 `math-normalize' returns an error.
3459
20ba0cb4
EZ
34602012-07-29 Eli Zaretskii <eliz@gnu.org>
3461
3462 * international/mule-cmds.el (set-locale-environment): Revert last
3463 change, since display-graphic-p returns nil when this function is
3464 called during startup. Instead...
3465
3466 * term/w32console.el (terminal-init-w32console): ...setup the
3467 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3468
a5dcc929
JL
34692012-07-29 Juri Linkov <juri@jurta.org>
3470
3471 * simple.el (goto-line): Don't display default line number in the
3472 prompt because it should be displayed by `read-number' (bug#9952).
3473 Add the current line number to the defaults of `goto-line' to
3474 allow its easier modification by users with `M-n' (bug#9201).
3475
3476 * subr.el (read-number): Support multiple default values like in
3477 other minibuffer reading functions. Replace `read' with
3478 `string-to-number' for consistency with `number-to-string'.
3479
72b255c7
PE
34802012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3481
3482 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3483 * emulation/viper-init.el (viper-deactivate-input-method-action):
3484 Rename from viper-inactivate-input-method-action.
3485 (viper-deactivate-input-method):
3486 Rename from viper-inactivate-input-method.
3487 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3488 * international/mule-cmds.el (deactivate-input-method):
3489 Rename from inactivate-input-method.
3490 Also run input-method-deactivate-hook.
3491 (deactivate-current-input-method-function):
3492 Rename from inactivate-current-input-method-function.
3493 (input-method-deactivate-hook): New hook.
3494 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3495 (inactivate-input-method): Mark obsolete.
3496
72b255c7
PE
3497 * international/quail.el (quail-activate):
3498 Also run quail-deactivate-hook.
3499 (quail-deactivate): Rename from quail-inactivate.
3500 * international/robin.el (robin-activate):
3501 Also run robin-deactivate-hook.
3502 (robin-deactivate): Rename from robin-inactivate.
3503
2549c068
CY
35042012-07-29 Chong Yidong <cyd@gnu.org>
3505
3506 * simple.el (indicate-copied-region): New function.
3507 (kill-ring-save): Split off from here.
3508
3509 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3510 (kill-rectangle): Set deactivate-mark to t on read-only error.
3511
3512 * register.el (copy-to-register, copy-rectangle-to-register):
3513 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3514 (append-to-register, prepend-to-register): Call indicate-copied-region.
3515
35162012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3517
3518 * simple.el (async-shell-command-buffer): New defcustom.
3519 (shell-command): Use it. (Bug#4719)
3520
01bd1b0d
EZ
35212012-07-28 Eli Zaretskii <eliz@gnu.org>
3522
3523 * international/mule-cmds.el (set-locale-environment): In a
3524 console session on MS-Windows, set up keyboard and terminal
3525 encoding from the OEM codepage, not the ANSI codepage.
3526 (Bug#12055)
3527
a55739d3
CY
35282012-07-28 Chong Yidong <cyd@gnu.org>
3529
3530 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3531 gdb-get-location.
3532
0e1a094f 35332012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3534
3535 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3536 the alist (bug#12029).
3537
20329d73
EZ
35382012-07-28 Eli Zaretskii <eliz@gnu.org>
3539
3540 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3541 (compile-always, compile-first)
3542 ($(lisp)/calendar/cal-loaddefs.el)
3543 ($(lisp)/calendar/diary-loaddefs.el)
3544 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3545 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3546 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3547 instead of on update-subdirs.
3548 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3549
345a2258
CY
35502012-07-28 Chong Yidong <cyd@gnu.org>
3551
1eee6341
CY
3552 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3553 directory if vc-deduce-backend returns nil (Bug#7350).
3554
345a2258
CY
3555 * simple.el (delete-trailing-lines): New option.
3556 (delete-trailing-whitespace): Obey it (Bug#11879).
3557
049a0936
DE
35582012-07-28 David Engster <deng@randomsample.de>
3559
3560 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3561 Explanation of new 'symbol-qnames feature in doc-strings.
3562 (xml-maybe-do-ns): Return expanded names as plain symbols if
3563 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3564 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3565
aa81af71
FEG
35662012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3567
3568 Consistent completion in inferior python with emacs -nw.
3569 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3570 binding in inferior-python-mode-map with "\t".
3571 (python-shell-completion-complete-at-point)
3572 (python-completion-complete-at-point): Remove interactive spec.
3573
e827b1eb
JB
35742012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3575
3576 * calc/calccomp.el (math-compose-expr): Undo previous change.
3577
a90dfb95
FEG
35782012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3579
4250fdf5 3580 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3581 run-python.
3582 (python-shell-make-comint): Fix pop-to-buffer call.
3583 (run-python): Autoload. New arg SHOW.
3584 (python-shell-get-or-create-process): Do not pop python process
3585 buffer.
3586
32770973 35872012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3588
3589 * notifications.el (notifications-on-action-signal)
3590 (notifications-on-closed-signal): Use also the bus address for the map.
3591 (notifications-notify, notifications-close-notification)
fc0c31f8 3592 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3593
86332df2
TH
35942012-07-27 Tassilo Horn <tsdh@gnu.org>
3595
4250fdf5
SM
3596 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3597 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3598 ctable macro.
3599 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3600 labels written in keyvals syntax.
3601
ca1302a4
JB
36022012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3603
3604 * calc/calccomp.el (math-compose-expr): Use parentheses when
3605 there is a product in the denominator of a fraction.
3606
f8b91036
EZ
36072012-07-26 Eli Zaretskii <eliz@gnu.org>
3608
3609 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3610 ($(lisp)/calendar/diary-loaddefs.el)
3611 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3612 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3613 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3614 rewritten while the autoload files are built at the same time,
3615 which needs to load subdirs.el.
3616
c8e5a42c
MR
36172012-07-26 Martin Rudalics <rudalics@gmx.at>
3618
3619 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3620 (mouse-drag-line): Don't exit tracking when a switch-frame or
3621 switch-window event occurs (Bug#12006).
3622
670d85ea
SM
36232012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3624
3625 * mouse.el (popup-menu): Fix last change.
3626
7abaf5cc
SM
36272012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 Autoload from Lisp with more care. Follow aliases when looking for
3630 function properties.
3631 * subr.el (autoloadp): New function.
3632 (symbol-file): Use it.
3633 (function-get): New function.
3634 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3635 autoload-do-load.
3636 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3637 (lisp-indent-function):
3638 * emacs-lisp/gv.el (gv-get):
3639 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3640 * emacs-lisp/byte-opt.el (byte-optimize-form):
3641 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3642 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3643 Use function-get.
3644 * emacs-lisp/cl.el: Don't propagate function properties any more.
3645
3646 * speedbar.el (speedbar-add-localized-speedbar-support):
3647 * emacs-lisp/disass.el (disassemble-internal):
3648 * desktop.el (desktop-load-file):
3649 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3650 (describe-function-1):
3651 * emacs-lisp/find-func.el (find-function-noselect):
3652 * emacs-lisp/elp.el (elp-instrument-function):
3653 * emacs-lisp/advice.el (ad-has-proper-definition):
3654 * apropos.el (apropos-safe-documentation, apropos-macrop):
3655 * emacs-lisp/debug.el (debug-on-entry):
3656 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3657 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3658 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3659
b1364986
AA
36602012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3661
3662 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3663 function, not an obsolete variable (Bug#12046).
3664
67ada220
AS
36652012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3666
3667 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3668
f08088e3
CS
36692012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3670
3671 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3672 window only if it is still live (Bug#12034).
3673
8137e7b3
MR
36742012-07-25 Martin Rudalics <rudalics@gmx.at>
3675
3676 * subr.el (redirect-frame-focus): Add advertised calling
3677 convention (Bug#12030).
3678
09ae5da1
PE
36792012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3680
3681 Prefer typical American spelling for "acknowledgment".
3682 * vc/add-log.el (change-log-acknowledgment): Rename from
3683 change-log-acknowledgement, with an alias for the old name.
3684
3cc5a3a8
JB
36852012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3686
3687 * calc-alg.el (math-simplify-divide): Don't cross multiply
3688 in an equation when the lhs is a variable.
3689
b7af7f62
JD
36902012-07-24 Julien Danjou <julien@danjou.info>
3691
3692 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3693 Remove, unused.
3694
ec1b09b1
EZ
36952012-07-23 Eli Zaretskii <eliz@gnu.org>
3696
3697 * startup.el (command-line): Don't display an empty user name in
3698 the error message about non-existent home directory, when
3699 init-file-user was set to an empty string. See
3700 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3701 for the details and context.
3702
b525fd8a
VB
37032012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3704
3705 * ses.el (ses-cell-formula-aset): New macro.
3706 (ses-cell-references-aset): New macro.
3707 (ses-cell-p): New function.
3708 (ses-rename-cell): Do no longer rely on complex operations like
3709 ses-cell-set-formula or ses-set-cell to change the cell and handle
3710 the undo at the same time, but rather use lower level new macros
3711 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3712 the undo directly. Refresh the mode line.
b525fd8a 3713
2c73e345
LL
37142012-07-21 Leo Liu <sdl.web@gmail.com>
3715
670d85ea
SM
3716 * progmodes/cc-cmds.el (c-defun-name):
3717 Use match-string-no-properties instead for consistency.
2c73e345 3718
542dfbde
LL
37192012-07-20 Leo Liu <sdl.web@gmail.com>
3720
3646bcd6
LL
3721 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3722 (Bug#7879)
3723
542dfbde
LL
3724 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3725
25721031
CY
37262012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3729 * progmodes/bug-reference.el, misearch.el: Provide themselves
3730 (bug#11915).
3731
3732 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3733 of narrowed buffer (bug#11966).
3734
316e68a7
VB
37352012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3736
3737 * ses.el (ses-rename-cell): Set new name also in reference list of
3738 cells of which the renamed cell depends.
3739
bbf0e7d9
MY
37402012-07-20 Masatake YAMATO <yamato@redhat.com>
3741
3742 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3743 to check whether menu-bar is shown or not. If not shown,
3744 show the menu-bar as a popup menu instead of using tmm.
3745 * mouse.el (popup-menu): Accept `point' as `position' argument.
3746
c28662a8
DG
37472012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3748
3749 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3750 up inside string symbol literal (bug#11923).
3751
87ab808f
EZ
37522012-07-20 Eli Zaretskii <eliz@gnu.org>
3753
3754 * startup.el (fancy-startup-text): Read the whole tutorial, not
3755 just its first 256 bytes. Prevents gibberish in display of the
3756 tutorial title.
3757
89dea803
DA
37582012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3759
3760 Drop idle buffer compaction due to an absence of the
3761 proved efficiency.
3762 * compact.el: Remove.
3763
8a4e6db8
SS
37642012-07-19 Sam Steingold <sds@gnu.org>
3765
3766 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3767 vc-bzr-pull & vc-bzr-merge-branch.
3768 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3769 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3770 for consistency with compilation-error-regexp-alist.
3771 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3772 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3773 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3774 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3775
5db81e33
SM
37762012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3777
3778 * emacs-lisp/chart.el: Use lexical-binding.
3779 (chart-emacs-storage): Don't hardcode the list of entries.
3780
5b835e1d
DA
37812012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3782
3783 Next round of tweaks caused by Fgarbage_collect changes.
3784 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3785
9cd47b72
DA
37862012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3787
3788 Compact buffers when idle.
3789 * compact.el: New file.
3790
1d6fc0df
SM
37912012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3792
3793 * subr.el (eventp): Presume that if it looks vaguely like an event,
3794 it's an event (bug#10190).
3795
1d29cc7d
FEG
37962012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3797
3798 Enhancements to ppss related code (thanks Stefan).
3799 * progmodes/python.el (python-indent-context)
3800 (python-indent-calculate-indentation, python-indent-dedent-line)
3801 (python-indent-electric-colon, python-nav-forward-block)
3802 (python-mode-abbrev-table)
1d6fc0df 3803 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3804 for ppss context.
3805 (python-info-continuation-line-p): Cleanup.
3806 (python-info-ppss-context): Do not catch 'quote.
3807 (python-info-ppss-context-type)
3808 (python-info-ppss-comment-or-string-p): Simplify.
3809
d583cbe6
FEG
38102012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3811
3812 * progmodes/python.el: Enhancements to eldoc support.
3813 (python-info-current-symbol): New function.
3814 (python-eldoc-at-point): Use python-info-current-symbol.
3815 (python-info-current-defun): Fix cornercase on first defun scan.
3816 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3817 and signal error when no inferior python process is available.
3818
eceb6feb
DG
38192012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3820
3821 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3822 assume it's always t.
3823 (vc-git-registered): Remove caching, the function is only called
3824 once.
3825 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3826
4c8ff0fe
CY
38272012-07-18 Chong Yidong <cyd@gnu.org>
3828
19fb7186
CY
3829 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3830
9587c688
CY
3831 * simple.el (count-words): Report on narrowing (Bug#9959).
3832
0fe776a1
CY
3833 * bindings.el: Bind M-= to count-words.
3834
4c8ff0fe
CY
3835 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3836
7f5331cc
MY
38372012-07-18 Masatake YAMATO <yamato@redhat.com>
3838
3839 * progmodes/sh-script.el (sh-imenu-generic-expression):
3840 Capture a function with `function' keyword and without parentheses
3841 like "function FOO" (bug#11856).
3842
2dc2a609
TH
38432012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3844
3845 * window.el (split-window-sensibly): Make WINDOW argument
3846 optional.
3847
439f7677
CY
38482012-07-18 Chong Yidong <cyd@gnu.org>
3849
9aeb25a6
CY
3850 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3851
439f7677
CY
3852 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3853 and make C-x 8 RET exit isearch (Bug#11439).
3854
3855 * international/iso-transl.el: Move isearch-mode-map key
3856 definitions to isearch.el.
3857
12999ea8
SM
38582012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3861 (eieio-defclass): Use gv-define-setter when possible.
3862
3ab6e069
DA
38632012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3864
3865 Reflect recent changes in Fgarbage_collect.
3866 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3867 reflect new format of data returned by Fgarbage_collect.
3868
0a60bc10
FEG
38692012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3870
3871 New utility functions + python-info-ppss-context fix (Bug#11910).
3872 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3873 (python-info-ppss-comment-or-string-p): New functions.
3874 (python-info-ppss-context): Small fix for string check.
3875
6dafa0d5
JL
38762012-07-17 Juri Linkov <juri@jurta.org>
3877
3878 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3879 (dired-do-async-shell-command): Don't add `*' at the end of the
3880 command (Bug#11815).
3881 (dired-do-shell-command): Doc fix.
3882 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3883 Join the individual commands using either "&" or ";" as the
3884 separator depending on the values of these trailing characters.
3885 At the end re-add the trailing "&". (Bug#10598)
3886
3887 * simple.el (async-shell-command): Sync the interactive spec with
3888 `shell-command'. Doc fix.
3889 (shell-command): Doc fix.
3890
b19dd9d1
JL
38912012-07-17 Juri Linkov <juri@jurta.org>
3892
3893 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3894
bcdc27d7 38952012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 3896
bcdc27d7 3897 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
3898 * progmodes/python.el (python-nav-beginning-of-statement):
3899 Rename from python-nav-statement-start.
bcdc27d7
FEG
3900 (python-nav-end-of-statement): Rename from
3901 python-nav-statement-end.
3902 (python-nav-beginning-of-block): Rename from
3903 python-nav-block-start.
3904 (python-nav-end-of-block): Rename from python-nav-block-end.
3905
191da00e
FEG
39062012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3907
7f5331cc
MY
3908 * progmodes/python.el (python-shell-send-string-no-output):
3909 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
3910 future interactions (Bug#11868).
3911
4dc7c8d5 39122012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 3913
88ecaf8f
SM
3914 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3915
ef501ef0
SM
3916 * emacs-lisp/elint.el (elint-find-args-in-code):
3917 Use help-function-arglist, so as to handle lexical byte-code.
3918
aa7aaf8f
SM
3919 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3920 change (bug#11826).
3921
45fd731c
SM
39222012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3923
2143fa32
SM
3924 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3925 Avoid spuriously marking the buffer as modified because of c-is-sws.
3926
efc26dbe
SM
3927 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3928 as not-a-comment (bug#11946).
3929
f5695c9a
SM
3930 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3931 for uninterned vars.
3932
3933 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3934 Use read-event since we don't really want to read chars but bytes.
3935
45fd731c
SM
3936 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3937 $$..$$ but also $..$ using regexps (bug#11953).
3938 Use tex-verbatim for \url and \path.
3939 (tex-font-lock-keywords): Define as defconst like the others.
3940 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3941
ddfc8813
RK
39422012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3943
3944 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3945 alias for insert-char.
3946
758e556a
FEG
39472012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3948
3949 * progmodes/python.el: Simplified imenu implementation.
3950 (python-nav-jump-to-defun): Remove command.
3951 (python-mode-map): Use `imenu' instead.
3952 (python-nav-list-defun-positions-cache)
3953 (python-imenu-include-defun-type, python-imenu-make-tree)
3954 (python-imenu-subtree-root-label, python-imenu-index-alist):
3955 Remove vars.
3956 (python-nav-list-defun-positions, python-nav-read-defun)
3957 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
3958 (python-imenu-make-tree, python-imenu-create-index):
3959 Remove functions.
758e556a
FEG
3960 (python-mode): Update to interact with imenu by setting
3961 `imenu-extract-index-name-function' only.
3962
032d23ab
FEG
39632012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3964
3965 * progmodes/python.el: Enhancements to navigation commands.
3966 (python-nav-backward-sentence)
3967 (python-nav-forward-sentence): Remove.
3968 (python-nav-backward-statement, python-nav-forward-statement)
3969 (python-nav-statement-start, python-nav-statement-end)
3970 (python-nav-backward-block, python-nav-forward-block)
3971 (python-nav-block-start, python-nav-block-end)
3972 (python-nav-forward-sexp-function)
3973 (python-info-current-line-comment-p)
3974 (python-info-current-line-empty-p): New functions.
3975 (python-indent-context): Use `python-nav-statement-start'.
3976
01795a1b
MA
39772012-07-16 Michael Albinus <michael.albinus@gmx.de>
3978
9328d9aa
MA
3979 * eshell/em-ls.el (eshell/ls): Use `apply'.
3980
3981 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3982 multi-hops, instead of Tramp internals.
3983
01795a1b
MA
3984 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3985
3986 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3987 when F1 and F2 are located on different hosts.
3988
63408057
CY
39892012-07-14 Chong Yidong <cyd@gnu.org>
3990
3991 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3992 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3993 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3994 (xterm-mouse--read-event-sequence-1000)
3995 (xterm-mouse--read-event-sequence-1006): New functions. For old
3996 mouse protocol, handle M-mouse-X events correctly.
3997 (xterm-mouse-event): New arg specifying mouse protocol.
3998 (turn-on-xterm-mouse-tracking-on-terminal)
3999 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4000 sequence to toggle extended coordinates on newer XTerms.
4001 This appears to be harmless on terminals which do not support this.
63408057 4002
cd276f6e
LL
40032012-07-14 Leo Liu <sdl.web@gmail.com>
4004
28ca98ac
LL
4005 Add fringe bitmap indicators for flymake. (Bug#11253)
4006 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4007 (flymake-make-overlay): New arg BITMAP.
4008 (flymake-error-bitmap, flymake-warning-bitmap)
4009 (flymake-fringe-indicator-position): New user variables.
4010
cd276f6e
LL
4011 * fringe.el: New bitmap exclamation-mark.
4012
04408072
JD
40132012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4014
4015 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4016 also (Bug#7879).
4017
b5cf7fc4
CY
40182012-07-14 Chong Yidong <cyd@gnu.org>
4019
4020 * electric.el (electric-pair-post-self-insert-function): Fix pair
4021 insertion in empty-region case (Bug#11520).
4022
be755c79
RT
40232012-07-14 Chong Yidong <cyd@gnu.org>
4024
45fd731c
SM
4025 * bindings.el: Consolidate ctl-x-r-map bindings.
4026 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4027
4028 * rect.el, register.el: Move bindings to bindings.el.
4029
40302012-07-14 Reuben Thomas <rrt@sc3d.org>
4031
4032 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4033
7f5b3198
AS
40342012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4035
4036 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4037
97662200
JB
40382012-07-13 Juanma Barranquero <lekktu@gmail.com>
4039
80185fed
JB
4040 * bindings.el (top): Use `mapc' instead of `mapcar'.
4041
97662200
JB
4042 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4043
2bb1ae55
MA
40442012-07-13 Michael Albinus <michael.albinus@gmx.de>
4045
4046 * progmodes/sql.el (sql-comint): Suppress the check for program on
4047 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4048 (Bug#11908)
4049
dea31bd3
CY
40502012-07-13 Chong Yidong <cyd@gnu.org>
4051
4052 * bindings.el: Assign a non-nil permanent-local property to
4053 per-buffer variables which lack a default value (Bug#11930).
4054
4055 * help-fns.el (describe-variable): In the "automatically becomes
4056 local" notice, take note of permanent-local variables.
4057
b68b3337
CY
40582012-07-13 Chong Yidong <cyd@gnu.org>
4059
4060 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4061 to allow printing the message when called from Lisp.
4062
4063 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4064 Remove toggle-read-only.
4065
4066 * bs.el (bs-toggle-readonly):
45fd731c
SM
4067 * buff-menu.el (Buffer-menu-toggle-read-only):
4068 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4069
4070 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4071 Remove with-no-warnings around toggle-read-only.
4072 (ffap-read-only, ffap-read-only-other-window)
4073 (ffap-read-only-other-frame): Callers changed.
4074
4075 * help-mode.el: Don't require view package.
4076 (help-mode-finish): Set buffer-read-only instead of calling
4077 toggle-read-only.
4078
4079 * bindings.el (mode-line-toggle-read-only):
4080 * dired.el (dired-toggle-read-only):
4081 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4082 with non-nil second arg.
4083
4084 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4085 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4086 directly.
4087
56bc1586
EZ
40882012-07-12 Eli Zaretskii <eliz@gnu.org>
4089
4090 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4091 not incf.
4092
a464a6c7
SM
40932012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4094
4095 More CL cleanups and reduction of use of cl.el.
4096 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4097 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4098 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4099 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4100 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4101 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4102 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4103 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4104 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4105 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4106 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4107 * eshell/em-cmpl.el, eshell/em-banner.el:
4108 * calendar/parse-time.el: Use cl-lib.
4109 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4110 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4111 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4112 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4113 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4114 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4115 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4116 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4117 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4118 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4119 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4120 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4121 `lambda' rather than with `quote'.
4122 (eshell-do-opt): Adjust accordingly.
4123 (eshell-process-option): Simplify.
4124 * eshell/esh-var.el:
4125 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4126 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4127 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4128 to `pcase--dontcare'.
4129 * emacs-lisp/cl.el (labels): Mark obsolete.
4130 (cl--letf, letf): Move to cl-lib.
4131 (cl--letf*, letf*): Remove.
4132 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4133 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4134 (cl-progv): Rewrite.
4135 (cl--letf, cl-letf): Move from cl.el.
4136 (cl-letf*): New macro.
4137 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4138
7ad4afe1
MA
41392012-07-11 Michael Albinus <michael.albinus@gmx.de>
4140
4141 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4142
9af57756
CY
41432012-07-11 Chong Yidong <cyd@gnu.org>
4144
4145 * vc/log-edit.el (log-edit-vc-backend): New variable.
4146 (log-edit): Doc fix.
4147
4148 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4149 argument of log-edit to set up all local variables.
4150 (vc-start-logentry): New optional arg specifying VC backend.
4151
4152 * vc/vc.el (vc-checkin): Use it.
4153 (vc-deduce-fileset): Handle Log Edit buffers.
4154 (vc-diff): Make first argument optional too.
4155
4156 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4157
8477cc7a
MA
41582012-07-10 Michael Albinus <michael.albinus@gmx.de>
4159
4160 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4161 command, just in case. The function is not needed anymore.
4162 (eshell-external-command): Do not call `eshell-remote-command'.
4163
19faa8e8
SM
41642012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4165
f58e0fd5
SM
4166 Reduce use of (require 'cl).
4167 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4168 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4169 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4170 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4171 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4172 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4173 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4174 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4175 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4176 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4177 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4178 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4179 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4180 (byte-compile-unfold-bcf, byte-compile-check-variable):
4181 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4182 (byte-compile-nilconstp):
4183 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4184 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4185
2519d43a
SM
4186 * emacs-lisp/gv.el (cond): Make it a valid place.
4187 (if): Simplify slightly.
4188
19faa8e8
SM
4189 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4190 (pcase--self-quoting-p): New function.
4191 (pcase--u1): Use it.
4192
c4907a5e
GM
41932012-07-10 Glenn Morris <rgm@gnu.org>
4194
4195 * emacs-lisp/authors.el (authors-fixed-entries):
4196 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4197
c4444d16
PE
41982012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4199
4200 Rename configure.in to configure.ac (Bug#11603).
4201 * emacs-lisp/authors.el (authors-canonical-file-name):
4202 * progmodes/autoconf.el (autoconf-mode):
4203 Prefer configure.ac to configure.in.
4204
d75be97d
CY
42052012-07-08 Chong Yidong <cyd@gnu.org>
4206
01ac65bd
CY
4207 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4208 Implement the mouse-1-click-follows-link handling properly.
4209
4210 * info.el (Info-link-keymap): Use follow-link mechanism for
4211 header-line links (Bug#374).
4212
d75be97d
CY
4213 * simple.el (deactivate-mark): Do not set the primary selection
4214 if another program has acquired it (Bug#11772).
4215
87a92845 42162012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4217
4218 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4219 (woman-decode-region): Replace escaped-escapes without destroying
4220 bold or underline (Bug#11552).
87a92845 4221 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4222
621b9d6c
CY
42232012-07-07 Chong Yidong <cyd@gnu.org>
4224
4225 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4226 (interprogram-cut-function, interprogram-paste-function):
4227 Mention that we typically mean the clipboard.
621b9d6c 4228
133a11fc
GM
42292012-07-06 Glenn Morris <rgm@gnu.org>
4230
0d27a45e
GM
4231 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4232
133a11fc
GM
4233 * files.el (toggle-read-only): Restrict message to interactive use.
4234
07b151f1
MA
42352012-07-06 Michael Albinus <michael.albinus@gmx.de>
4236
4237 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4238
4239 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4240
211b896b
GM
42412012-07-06 Glenn Morris <rgm@gnu.org>
4242
50394322
GM
4243 * Makefile.in (compile-one-process): Rename from "recompile".
4244
211b896b
GM
4245 * Makefile.in (bzr-update): "compile" is the same as "recompile
4246 autoloads", but parallelizable, so use that instead.
4247
4737eec9
DG
42482012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4249
4250 * window.el (quit-window): Always restore window height when
8137e7b3 4251 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4252
226c3633 42532012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4254
4255 * simple.el (kill-whole-line): Doc tweak.
4256
226c3633 42572012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4258
4259 * files.el (file-relative-name): Compare file names
4260 case-insensitively if on MS-Windows or MS-DOS, or if
4261 read-file-name-completion-ignore-case is non-nil. Don't use
4262 case-fold-search for this purpose. (Bug#11827)
4263
4dc7c8d5
SM
42642012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4265
4266 * calendar/cal-dst.el (calendar-current-time-zone):
4267 Return calendar-current-time-zone-cache if non-nil.
4268
42692012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 42702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4271
19faa8e8
SM
4272 * calendar/cal-dst.el (calendar-current-time-zone):
4273 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4274
60198fc9
GM
42752012-07-06 Glenn Morris <rgm@gnu.org>
4276
4277 * Makefile.in (cvs-update): Remove old alias.
4278
957b3189
MA
42792012-07-05 Michael Albinus <michael.albinus@gmx.de>
4280
4281 Sync with Tramp 2.2.6-pre.
4282
4283 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4284 compatible declaration.
4285
19faa8e8
SM
4286 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4287 Protect `list-load-path-shadows' call.
957b3189
MA
4288
4289 * net/tramp-compat.el (top): Require packages, which aren't
4290 autoloaded anymore for XEmacs. Protect call of
4291 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4292 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4293 it hurts at least for SXEmacs.
4294 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4295 standard-value for `temporary-file-directory'.
4296
4297 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4298 Redirect stderr to /dev/null.
4299 (tramp-sh-handle-write-region): uid and gid can be floats.
4300 Reported by Russell Sim <russell.sim@gmail.com>.
4301 (tramp-sh-handle-vc-registered): Hide errors.
4302 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4303 and `start-file-process'.
4304 (tramp-maybe-open-connection): Check also whether `non-essential'
4305 is bound.
4306
566df3fc
CY
43072012-07-04 Chong Yidong <cyd@gnu.org>
4308
4309 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4310 (xml-parse-tag): Likewise, and avoid changing entity tables.
4311 (xml-syntax-table): Define from scratch, making sure not to give
4312 x2000 and other Unicode spaces whitespace syntax, since those are
4313 not spaces in XML.
4314 (xml-parse-fragment): Delete unused function.
4315 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4316 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4317 (xml-entity-ref, xml-pe-reference-re)
4318 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4319 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4320 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4321 (xml-entity-value-re): Use syntax references in regexps where
4322 possible; no need to define inside a let-binding.
4323 (xml-parse-dtd): Use xml-pe-reference-re.
4324 (xml-entity-or-char-ref-re): New defconst.
4325 (xml-parse-string, xml-substitute-special): Use it.
4326
30eabd7a
SM
43272012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4328
0781098a
SM
4329 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4330 (find-file--read-only): New function.
4331 (find-file-read-only, find-file-read-only-other-window)
4332 (find-file-read-only-other-frame): Use it.
4333 (insert-file-contents-literally): Don't `fset'.
4334 (get-free-disk-space): Use locate-dominating-file.
4335
b5771c0d
SM
4336 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4337 function is already compiled.
4338
30eabd7a
SM
4339 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4340
b4886f6e
MA
43412012-07-03 Michael Albinus <michael.albinus@gmx.de>
4342
4343 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4344 files on the same host.
4345
b9d82339
AS
43462012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4347
4348 * help-fns.el (describe-function-1): Only call
4349 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4350
a76e6535
CY
43512012-07-03 Chong Yidong <cyd@gnu.org>
4352
4353 * xml.el: Protect parser against XML bombs.
4354 (xml-entity-expansion-limit): New variable.
4355 (xml-parse-string, xml-substitute-special): Use it.
4356 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4357
b544fef2
GM
43582012-07-03 Glenn Morris <rgm@gnu.org>
4359
4360 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4361 Allow linking to specific messages in debbugs reports (eg 123#5).
4362
a7aef6f5
CY
43632012-07-02 Chong Yidong <cyd@gnu.org>
4364
4365 * xml.el: Fix entity and character reference expansion, allowing
4366 them to expand into markup as per XML spec.
4367 (xml-default-ns): New variable.
4368 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4369 (xml-parse-region): Make first two arguments optional.
4370 Discard text properties.
4371 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4372 All callers changed.
a7aef6f5
CY
4373 (xml-parse-tag): Call xml-parse-tag-1. For backward
4374 compatibility, this function should not modify buffer contents.
4375 (xml-parse-tag-1): Fix opening-tag regexp.
4376 (xml-parse-string): Rewrite, handling entity and character
4377 references properly.
4378 (xml--entity-replacement-text): Signal an error if a parameter
4379 entity is undefined.
4380
3df31c9f
SM
43812012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4382
2b5208f1
SM
4383 * comint.el (comint-output-filter): Filter out repeated prompts.
4384
3df31c9f
SM
4385 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4386 and file-name-absolute-p.
4387 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4388 internal calls.
4389
e3ac1281
PE
43902012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4391
4392 Spelling fixes.
4393 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4394 Rename from byte-compile--refiy-function. All uses changed.
4395
fbf2e7ad
CY
43962012-07-01 Chong Yidong <cyd@gnu.org>
4397
4398 * xml.el (xml--parse-buffer): New function. Move most of
4399 xml-parse-region here.
4400 (xml-parse-region): Copy region into a temporary buffer, since
4401 parameter entity substitution requires changing buffer contents.
4402 Use xml--parse-buffer.
4403 (xml-parse-file): Use xml--parse-buffer.
4404 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4405 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4406
9bf0aa15
GM
44072012-06-30 Glenn Morris <rgm@gnu.org>
4408
bbce2853
GM
4409 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4410
9bf0aa15
GM
4411 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4412 Remove outdated and unnecessary dbus declarations.
4413
0d23c240
EZ
44142012-06-30 Eli Zaretskii <eliz@gnu.org>
4415
4416 * emacs-lisp/timer.el (timer-until): Subtract results of
4417 float-time, instead of taking float-time of the result of
4418 time-subtract, since float-time signals an error for negative time
4419 arguments.
4420
b3218de1
CY
44212012-06-30 Chong Yidong <cyd@gnu.org>
4422
4423 * xml.el (xml-*-re): Convert defvars into defconsts, and
4424 eval-and-compile them so eval-and-compile works on derivatives.
4425 (xml--entity-replacement-text): Use eval-and-comple.
4426
a40c87a0
MA
44272012-06-30 Michael Albinus <michael.albinus@gmx.de>
4428
4429 * vc/vc-git.el (vc-git-registered): Use cache property
4430 `git-registered'.
4431 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4432 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4433 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4434
ac87de97
DG
44352012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4436
4437 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4438 removed (likely outside Emacs). (Bug#11757)
ac87de97 4439
ac10fe06
SM
44402012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4441
3df31c9f 4442 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4443
7f3fbd5d
CY
44442012-06-30 Chong Yidong <cyd@gnu.org>
4445
4446 * xml.el: Implement XML parameter entities.
4447 (xml-parameter-entity-alist): New variable.
4448 (xml-parse-region, xml-parse-fragment): Preserve previous values
4449 of xml-entity-alist and xml-parameter-entity-alist, so that
4450 repeated calls on different documents do not change them.
4451 (xml-parse-tag): Fix doctype regexp.
4452 (xml--entity-replacement-text): New function.
4453 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4454 properly requires url retrieval which is unimplemented.
4455 (xml-escape-string): Doc fix.
4456
3cfbebba
SM
44572012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4458
4459 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4460
2af3565e
DA
44612012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4462
4463 * fringe.el (fringe-mode): Doc fix.
4464
929df0e7
MA
44652012-06-29 Michael Albinus <michael.albinus@gmx.de>
4466
4467 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4468 is non-nil.
4469 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4470 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4471
c8d3a25c 44722012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4473
c8d3a25c
GM
4474 * calendar/cal-dst.el (calendar-current-time-zone):
4475 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4476
c8d3a25c 44772012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4478
4479 * progmodes/which-func.el (which-func-format):
4480 Add mouse-face. (Bug#11698)
4481
c8d3a25c
GM
44822012-06-29 Leo Liu <sdl.web@gmail.com>
4483
4484 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4485
44862012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4487
4488 * minibuffer.el (minibuffer-confirm-exit-commands):
4489 Add completion-at-point (bug#11725).
4490
44912012-06-29 Glenn Morris <rgm@gnu.org>
4492
4493 * progmodes/f90.el (f90-font-lock-keywords-2):
4494 Add some preprocessor elements. (Bug#10499)
4495
44962012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4497
4498 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4499 Use syntax-propertize (bug#11739).
4500
2badeec4
JB
45012012-06-28 Juanma Barranquero <lekktu@gmail.com>
4502
4503 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4504
ae4969c2
JD
45052012-06-28 Julien Danjou <julien@danjou.info>
4506
4507 * term.el (term-handle-colors-array): Use a set of new faces to
4508 color the terminal. Also uses :inverse-video property.
4509 (term-default-fg-color): Set to nil by default, deprecate in favor
4510 of `term-face'.
4511 (term-default-bg-color): Set to nil by default, deprecate in favor
4512 of `term-face'.
4513 (term-current-face): Use `term-face' by default.
4514 (term-bold-attribute): Variable deleted.
4515
1c9bd870
GM
45162012-06-28 Glenn Morris <rgm@gnu.org>
4517
4518 * simple.el (completion-list-mode-finish):
4519 Don't use toggle-read-only. (Since completion-list-mode has
4520 a special mode-class, it wasn't doing anything extra anyway.)
4521
c207708c
SM
45222012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 Make inlining of other-mode interpreted functions work (bug#11799).
4525 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4526 (byte-compile): Use it to fix compilation of lexical-binding closures.
4527 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4528 function, if needed.
4529
3fd56834
SM
45302012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4531
04901786
SM
4532 * help-mode.el (help-make-xrefs): Don't just withstand
4533 cyclic-variable-indirection but any error in documentation-property.
4534
1ec4b7b2
SM
4535 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4536 memory use.
4537 * bindings.el (bindings--define-key): New function.
4538 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4539 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4540 * bindings.el: Use it to purecopy define-key bindings.
4541
e309e2a5
SM
4542 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4543
d5c6faf9
SM
4544 * emacs-lisp/cl.el (flet): Mark obsolete.
4545 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4546 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4547 * progmodes/js.el (js-c-fill-paragraph):
4548 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4549 (ebrowse-switch-member-buffer-to-derived-class):
4550 * play/5x5.el (5x5-solver): Use cl-flet.
4551
6e9590e2
SM
4552 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4553 (cl--symbol-function): New macro.
4554 (cl--letf, cl--letf*): Use it.
4555
3fd56834
SM
4556 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4557 Strip "toggle-" if any.
4558
35ff222c
GM
45592012-06-27 Glenn Morris <rgm@gnu.org>
4560
1ba6038a
GM
4561 * info.el (Info-default-directory-list): Move here from paths.el.
4562 * paths.el: Remove file, which is now empty.
4563 * loadup.el: No longer load "paths".
4564
0ea0e51b
GM
4565 * custom.el (custom-initialize-delay): Doc fix.
4566
35ff222c
GM
4567 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4568 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4569 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4570 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4571 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4572 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4573 * eshell/eshell.el (eshell-defgroup): Remove alias.
4574
c89926a5
CY
45752012-06-27 Chong Yidong <cyd@gnu.org>
4576
4577 * help.el (help-enable-auto-load): New variable.
4578
4579 * help-fns.el (help-fns--autoloaded-p): New function.
4580 (describe-function-1): Refer to a function as "autoloaded" if it
4581 was autoloaded at any time in the past. Perform autoloading if
4582 help-enable-auto-load is non-nil.
4583
cc06e7e7
EZ
45842012-06-26 Eli Zaretskii <eliz@gnu.org>
4585
4586 * makefile.w32-in (compile, compile-always): Depend on
4587 update-subdirs, not on subdirs.el. Otherwise, several different
4588 sub-targets of 'bootstrap' running in parallel could
4589 simultaneously write to subdirs.el, producing a garbled file.
4590
d2c32364
SS
45912012-06-26 Sam Steingold <sds@gnu.org>
4592
4593 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4594 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4595 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4596 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4597 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4598 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4599 * textmodes/tex-mode.el: Use it.
4600 Did not touch cedet and org because they are maintained elsewhere.
4601
5cf983b2
MR
46022012-06-26 Martin Rudalics <rudalics@gmx.at>
4603
4604 * calendar/calendar.el (calendar-exit): Don't try to delete or
4605 iconify last frame. See:
4606 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4607
8c4f2952
JD
46082012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4609
4610 * server.el (server-process-filter): Remember dir in the
4611 process's `server-client-directory' properties.
4612
772b2e2c
CY
46132012-06-24 Chong Yidong <cyd@gnu.org>
4614
4615 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4616 non-tag text.
4617
711b11e1
JB
46182012-06-23 Juanma Barranquero <lekktu@gmail.com>
4619
4620 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4621
dc5d230c
SM
46222012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4623
4624 * help-fns.el (describe-variable): Don't croak when doc is not found.
4625 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4626 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4627 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4628 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4629 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4630 ((lambda ..) ..).
4631 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4632
136e1c1d
CY
46332012-06-23 Chong Yidong <cyd@gnu.org>
4634
e8c1cabf
CY
4635 * info.el (Info-mouse-follow-link): Accept symbol values of
4636 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4637 (Info-fontify-node): Use Info-link-keymap for all navigation
4638 buttons, with link-args property to perform the desired action.
4639 (Info-link-keymap): Doc fix.
4640 (Info-next-link-keymap, Info-prev-link-keymap)
4641 (Info-up-link-keymap): Delete now-unused keymaps.
4642
0e9e6c6a
CY
46432012-06-23 Chong Yidong <cyd@gnu.org>
4644
05e89fea
CY
4645 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4646
0e9e6c6a
CY
4647 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4648 system abbrevs.
4649
4650 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4651
e33c6771
SM
46522012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4653
b68581e2
SM
4654 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4655 (bug#11719).
4656
e33c6771
SM
4657 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4658 the requote function doesn't work properly (bug#11714).
4659
7117e105
GM
46602012-06-23 Glenn Morris <rgm@gnu.org>
4661
4662 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4663
36cec983
SM
46642012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 Further GV/CL cleanups.
4667 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4668 gv-expander.
4669 (gv--defun-declaration): New function.
4670 (defun-declarations-alist): Use it.
4671 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4672 (gv-place): Autoload.
4673 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4674 original definition of dotimes and dolist.
4675 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4676 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4677 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4678 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4679 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4680 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4681 to the function's definition.
4682 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4683 * window.el:
4684 * files.el:
4685 * faces.el:
4686 * env.el: Don't use CL.
4687
d35af63c
PE
46882012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4689
4690 Support higher-resolution time stamps (Bug#9000).
4691
4692 * calendar/time-date.el (with-decoded-time-value): New arg
4693 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4694 (encode-time-value): New optional arg PICO. New type 3.
4695 (time-to-seconds) [!float-time]: Support the new picoseconds
4696 component if it's used.
4697 (seconds-to-time, time-subtract, time-add):
4698 Support ps-resolution time stamps as well.
4699
4700 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4701 (timerp): Timer vectors now have length 9, not 8.
4702 (timer--time): Support new-style (4-part) time stamps.
4703 (timer-next-integral-multiple-of-time): Time stamps now have
4704 picosecond resolution, so take a bit more care about rounding.
4705 (timer-relative-time, timer-inc-time): New optional arg psecs.
4706 (timer-set-time-with-usecs): Set psecs to 0.
4707 (timer--activate): Check psecs component, too.
4708
4709 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4710
ac77b21a
SM
47112012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4712
f143bfe3
SM
4713 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4714 Move the non-essential binding to the post/pre-command-hook where it is
4715 more obviously correct.
4716
ac77b21a
SM
4717 * subr.el (read-passwd): Don't use a history at all.
4718 * savehist.el (savehist-save): Remove password saved accidentally
4719 because of the above bug.
4720
76386c5a
BG
47212012-06-22 Bastien Guerry <bzg@gnu.org>
4722
4723 * files.el (toggle-read-only): Display a message telling whether
4724 the buffer is read-only or not (bug#11726).
4725
2ee3d7f0
SM
47262012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * emacs-lisp/gv.el: New file.
4729 * subr.el (push, pop): Extend to generalized variables.
4730 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4731 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4732 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4733 gv-define-simple-setter, and gv-define-expander.
4734 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4735 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4736 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4737 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4738 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4739 gv-letplace.
4740 (cl-defstruct): Don't define setf-method any more.
4741 * emacs-lisp/cl.el (flet): Don't autoload.
4742 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4743 (define-setf-expander, defsetf, define-modify-macro)
4744 (cl-struct-setf-expander): Move from cl-lib.el.
4745 * emacs-lisp/syntax.el:
4746 * emacs-lisp/ewoc.el:
4747 * emacs-lisp/smie.el:
4748 * emacs-lisp/cconv.el:
4749 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4750 (timer--time): Use gv-define-simple-setter.
4751 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4752 to avoid coding-system problems in subr.el. Adjust all users.
4753 (macroexp--maxsize, macroexp-small-p): New functions.
4754 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4755 * scroll-bar.el (scroll-bar-mode):
4756 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4757 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4758 * winner.el (winner-configuration, winner-make-point-alist)
4759 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4760 * files.el (locate-file-completion-table): Avoid list*.
4761
c5695d1d
CY
47622012-06-22 Chong Yidong <cyd@gnu.org>
4763
4764 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4765 (dired-create-files): Doc fix (Bug#11329).
4766 (dired-do-copy): Doc fix (Bug#11334).
4767 (dired-mark-read-string): Doc fix (Bug#11553).
4768
2ee3d7f0
SM
4769 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4770 Doc fix (Bug#11326).
c5695d1d
CY
4771 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4772 (dired-dwim-target): Doc fix.
4773
4774 * wdired.el (wdired-mode): Doc fix.
4775
89b5595a
GM
47762012-06-22 Glenn Morris <rgm@gnu.org>
4777
575db3f1
GM
4778 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4779 (pcmpl-rpm-cache-stamp-file): New constant.
4780 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4781 (pcmpl-rpm-packages): Optionally cache list of packages.
4782
a4c8dd51
GM
4783 * pcmpl-rpm.el (pcmpl-rpm): New group.
4784 (pcmpl-rpm-query-options): New option.
4785 (pcmpl-rpm-packages): No need to inline it.
4786 Use pcmpl-rpm-query-options.
4787
89b5595a
GM
4788 * calendar/calendar.el (calendar-in-read-only-buffer):
4789 Avoid some needless mode changes.
4790
e76f0800
CY
47912012-06-21 Chong Yidong <cyd@gnu.org>
4792
4793 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4794 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4795 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4796
297a8f1d
CY
47972012-06-20 Chong Yidong <cyd@gnu.org>
4798
4799 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4800
d34c18b1
DR
48012012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4802
4803 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4804 (bug#11201).
4805
32f7f28e
CY
48062012-06-20 Chong Yidong <cyd@gnu.org>
4807
4808 * term.el (term-window-width): Handle the case of a missing right
4809 fringe (Bug#8837).
4810 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4811 (term-mode): Use define-derived-mode. Minor cleanups.
4812 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4813 (term-move-columns, term-insert-char, term-emulate-terminal)
4814 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4815
493c6688
MA
48162012-06-20 Michael Albinus <michael.albinus@gmx.de>
4817
d34c18b1
DR
4818 * net/ange-ftp.el (ange-ftp-get-passwd):
4819 Bind `enable-recursive-minibuffers'.
493c6688
MA
4820 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4821
3f06ecf4
DR
48222012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4823
4824 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4825
68f12411
GM
48262012-06-19 Glenn Morris <rgm@gnu.org>
4827
4828 * progmodes/python.el (python-mode): Derive from prog-mode.
4829
b3820318
KG
48302012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4831
4832 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4833 (edt-user-menu-bar-update-buffers): New functions.
4834 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4835
c6bf3022
CY
48362012-06-19 Chong Yidong <cyd@gnu.org>
4837
4838 * subr.el (with-selected-window): Preserve the selected window's
4839 terminal's top-frame (Bug#4702).
4840
4841 * window.el (save-selected-window): Likewise.
4842
25f09295
SM
48432012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * progmodes/python.el (python-rx-constituents): Move backquote.
4846 (python-skeleton-define, python-define-auxiliary-skeleton):
4847 Use `declare'.
4848
6b11952a
MA
48492012-06-18 Michael Albinus <michael.albinus@gmx.de>
4850
4851 * minibuffer.el (read-file-name-default): Revert the patch from
4852 2012-06-17.
4853
ee4b1330
SM
48542012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4855
4856 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4857 (pcase--u1, pcase--q1): Don't use apply-partially.
4858
35647f79
GM
48592012-06-18 Glenn Morris <rgm@gnu.org>
4860
4861 * progmodes/python.el (python-proc, python-buffer)
4862 (python-send-receive, python-send-string): Fix obsolete versions.
4863
24b0cff0
MR
48642012-06-18 Martin Rudalics <rudalics@gmx.at>
4865
4866 * window.el (special-display-p): Completely remove stringp
4867 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4868
29855149
MA
48692012-06-17 Michael Albinus <michael.albinus@gmx.de>
4870
4871 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4872
4873 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4874
4875 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4876 * net/tramp-sh.el (tramp-maybe-open-connection):
4877 Throw if `non-essential' is non-nil.
4878
07463363
MR
48792012-06-17 Martin Rudalics <rudalics@gmx.at>
4880
4881 * window.el (special-display-p): Signal an error if BUFFER-NAME
4882 is not a string (Bug#11713).
4883
48d1354e
PE
48842012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4885
4886 * progmodes/python.el (python-info-beginning-of-backslash):
4887 Rename from python-info-beginning-of-backlash, as a spelling fix.
4888
eb4a8a9a
CY
48892012-06-17 Chong Yidong <cyd@gnu.org>
4890
4891 * term.el (term-emulate-terminal): If term-check-size is called,
4892 move point to the process mark without resetting point (Bug#4635).
4893
ddfbf826 48942012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
4895
4896 * international/mule-cmds.el (mule-menu-keymap)
4897 (set-language-environment, set-locale-environment): Doc tweaks.
4898
9b0e3eba
AA
48992012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4900
4901 * cus-face.el (custom-face-attributes): Add wave-style underline
4902 attribute.
4903 * faces.el (set-face-attribute): Update docstring to describe
4904 wave-style underline attribute.
4905
771e3eae
CY
49062012-06-16 Chong Yidong <cyd@gnu.org>
4907
4908 * term/xterm.el (terminal-init-xterm): Discard input before
4909 querying background mode (Bug#10959).
4910
7ae2ea10
SM
49112012-06-16 Stefan Merten <smerten@oekonux.de>
4912
4913 * textmodes/rst.el: Added and corrected some comments.
4914 (rst-re-alist-def): Improve symbol syntax.
4915 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
4916 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4917 (rst-official-version, rst-official-cvs-rev): Update version
4918 information.
7ae2ea10 4919
b6974efa
JB
49202012-06-15 Juanma Barranquero <lekktu@gmail.com>
4921
4922 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4923 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4924
8826d473
GM
49252012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4926
4927 * progmodes/python.el: New python.el merge.
4928 (python-guess-indent): Obsolete var.
4929 (python-indent-guess-indent-offset): New defcustom.
4930 (python-indent): Obsolete var.
4931 (python-indent-offset): New defcustom.
4932 (python-python-command, python-jython-command): Delete var.
4933 (python-shell-interpreter): New defcustom.
4934 (python-pdbtrack-do-tracking-p): Delete var.
4935 (python-pdbtrack-activate): New defcustom.
4936 (python-use-skeletons): Obsolete var.
4937 (python-skeleton-autoinsert): New defcustom.
4938 (inferior-python-filter-regexp, python-continuation-offset)
4939 (python-honour-comment-indentation, python-indent-string-contents)
4940 (python-jython-packages, python-mode-hook)
4941 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4942 (python-shell-prompt-alist)
4943 (python-source-modes): Delete defcustoms.
4944 (python-check-buffer-name, python-eldoc-setup-code)
4945 (python-eldoc-string-code, python-ffap-setup-code)
4946 (python-ffap-string-code, python-fill-comment-function)
4947 (python-fill-decorator-function, python-fill-paren-function)
4948 (python-fill-string-function, python-imenu-include-defun-type)
4949 (python-imenu-make-tree, python-imenu-subtree-root-label)
4950 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4951 (python-shell-compilation-regexp-alist)
4952 (python-shell-completion-module-string-code)
4953 (python-shell-completion-pdb-string-code)
4954 (python-shell-completion-setup-code)
4955 (python-shell-completion-string-code)
4956 (python-shell-enable-font-lock, python-shell-exec-path)
4957 (python-shell-extra-pythonpaths)
4958 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4959 (python-shell-process-environment)
4960 (python-shell-prompt-block-regexp)
4961 (python-shell-prompt-output-regexp)
4962 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4963 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4964 (python-shell-virtualenv-path): New defcustoms.
4965 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4966 (inferior-python-mode-syntax-table, python--prompt-regexp)
4967 (python-buffer, python-command python-python-command)
4968 (python-default-template, python-imports, python-indent-index)
4969 (python-indent-list, python-indent-list-length)
4970 (python-mode-running, python-pdbtrack-is-tracking-p)
4971 (python-preoutput-continuation, python-preoutput-leftover)
4972 (python-preoutput-result, python-preoutput-skip-next-prompt)
4973 (python-prev-dir/file, python-recursing)
4974 (python-saved-check-command, python-version-checked)
4975 (python-which-func-length-limit)
4976 (view-return-to-alist): Delete vars.
4977 (python-check-custom-command, python-dotty-syntax-table)
4978 (python-imenu-index-alist, python-indent-current-level)
4979 (python-indent-dedenters, python-indent-levels)
4980 (python-nav-beginning-of-defun-regexp)
4981 (python-nav-list-defun-positions-cache)
4982 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4983 (python-shell-internal-buffer)
4984 (python-skeleton-available): New vars.
4985 (def-python-skeleton): Delete macro.
4986 (python-skeleton-define): New macro.
4987 (python-define-auxiliary-skeleton, python-rx): New macros.
4988 (python-insert-class): Delete command.
4989 (python-skeleton-class): New command.
4990 (python-insert-def): Delete command.
4991 (python-skeleton-def): New command.
4992 (python-insert-for): Delete command.
4993 (python-skeleton-for): New command.
4994 (python-insert-if): Delete command.
4995 (python-skeleton-if): New command.
4996 (python-insert-try/except, python-insert-try/finally): Delete commands.
4997 (python-skeleton-try): New command.
4998 (python-insert-while): Delete command.
4999 (python-skeleton-while): New command.
5000 (python-backspace): Delete command.
5001 (python-indent-dedent-line-backspace): New command.
5002 (python-electric-colon): Delete command.
5003 (python-indent-electric-colon): New command.
5004 (python-guess-indent): Delete command.
5005 (python-indent-guess-indent-offset): New command.
5006 (python-shift-left): Delete command.
5007 (python-indent-shift-left): New command.
5008 (python-shift-right): Delete command.
5009 (python-indent-shift-right): New command.
5010 (python-find-function): Delete command.
5011 (python-nav-jump-to-defun): New command.
5012 (python-next-statement): Delete command.
5013 (python-nav-forward-sentence): New command.
5014 (python-previous-statement): Delete command.
5015 (python-nav-backward-sentence): New command.
5016 (python-fill-paragraph): Delete command.
5017 (python-fill-paragraph-function): New command.
5018 (python-send-buffer): Delete command.
5019 (python-shell-send-buffer): New command.
5020 (python-send-defun): Delete command.
5021 (python-shell-send-defun): New command.
5022 (python-send-region, python-send-region-and-go): Delete commands.
5023 (python-shell-send-region)
5024 (python-shell-switch-to-shell): New commands.
5025 (python-send-string): Delete command.
5026 (python-shell-send-string): New command.
5027 (python-switch-to-python): Delete command.
5028 (python-shell-switch-to-shell): New command.
5029 (python-describe-symbol): Delete command.
5030 (python-eldoc-at-point): New command.
5031 (python--set-prompt-regexp, python-args-to-list)
5032 (python-after-info-look, python-check-version)
5033 (python-check-comint-prompt, python-find-imports)
5034 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5035 (python-unload-function, python-expand-template)
5036 (python-maybe-jython, python-preoutput-filter)
5037 (python-pdbtrack-get-source-buffer)
5038 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5039 (python-pdbtrack-toggle-stack-tracking)
5040 (python-pdbtrack-track-stack-file, python-initial-text)
5041 (python-first-word, python-comment-line-p, python-send-command)
5042 (python-setup-brm, python-sentinel, python-set-proc)
5043 (python-skip-out, python-input-filter, python-outdent-p)
5044 (python-outline-level, python-backslash-continuation-line-p)
5045 (python-end-of-block, python-end-of-statement, python-mark-block)
5046 (python-beginning-of-block, python-beginning-of-statement)
5047 (python-blank-line-p, python-beginning-of-string)
5048 (python-open-block-statement-p): Delete functions.
5049 (python-indent-line, python-indent-line-1): Delete functions.
5050 (python-indent-line): New function.
5051 (python-indentation-levels): Delete function.
5052 (python-indent-calculate-levels): New function.
5053 (python-proc): Delete function.
5054 (python-shell-get-process): New function.
5055 (python-send-receive): Delete function.
5056 (python-shell-send-string-no-output): New function.
5057 (python-module-path): Delete function.
5058 (python-ffap-module-path): New function.
5059 (python-completion-at-point)
5060 (python-symbol-completions): Delete functions.
5061 (python-completion-complete-at-point): New function.
5062 (python-load-file): Delete function.
5063 (python-shell-send-file): New function.
5064 (python-calculate-indentation): Delete function.
5065 (python-indent-calculate-indentation): New function.
5066 (python-skip-comments/blanks): Delete function.
5067 (python-util-forward-comment): New function.
5068 (python-continuation-line-p): Delete function.
5069 (python-info-continuation-line-p): New function.
5070 (python-which-func, python-current-defun): Delete function.
5071 (python-info-current-defun): New function.
5072 (python-beginning-of-defun): Delete function.
5073 (python-nav-beginning-of-defun): New function.
5074 (python-close-block-statement-p)
5075 (python-block-end-p): Delete function.
5076 (python-info-closing-block): New function.
5077 (python-comint-output-filter-function)
5078 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5079 (python-fill-comment, python-fill-decorator, python-fill-paren)
5080 (python-fill-string, python-imenu-make-element-tree)
5081 (python-imenu-make-tree, python-imenu-tree-assoc)
5082 (python-indent-context, python-indent-dedent-line)
5083 (python-indent-line-function)
5084 (python-indent-post-self-insert-function)
5085 (python-indent-toggle-levels)
5086 (python-info-assignment-continuation-line-p)
5087 (python-info-beginning-of-backlash)
5088 (python-info-block-continuation-line-p)
5089 (python-info-closing-block-message)
5090 (python-info-line-ends-backslash-p)
5091 (python-info-looking-at-beginning-of-defun)
5092 (python-info-ppss-context, python-info-ppss-context-type)
5093 (python-nav-list-defun-positions, python-nav-read-defun)
5094 (python-nav-sentence-end, python-nav-sentence-start)
5095 (python-pdbtrack-comint-output-filter-function)
5096 (python-pdbtrack-set-tracked-buffer)
5097 (python-shell-calculate-exec-path)
5098 (python-shell-calculate-process-environment)
5099 (python-shell-completion--do-completion-at-point)
5100 (python-shell-completion--get-completions)
5101 (python-shell-completion-complete-at-point)
5102 (python-shell-completion-complete-or-indent)
5103 (python-shell-get-or-create-process)
5104 (python-shell-get-process-name)
5105 (python-shell-internal-get-or-create-process)
5106 (python-shell-internal-get-process-name)
5107 (python-shell-internal-send-string, python-shell-make-comint)
5108 (python-shell-parse-command, python-shell-send-setup-code)
5109 (python-skeleton-add-menu-items)
5110 (python-util-clone-local-variables, python-util-position)
5111 (run-python-internal, python-indentation-levels)
5112 (python-nav-beginning-of-defun)
5113 (python-completion-complete-at-point): New functions.
5114 (run-python): Change arguments. New API requirements.
5115
4302f5ba
SM
51162012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5117
f38ea36d
SM
5118 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5119 (bug#11649).
5120
5121 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5122 (macroexp--expand-all): Use it.
5123
4302f5ba
SM
5124 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5125 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5126 Use `cl-function' instead.
5127
33377562
JB
51282012-06-14 Juanma Barranquero <lekktu@gmail.com>
5129
5130 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5131 Suggested by Stefan Monnier while discussing bug#11657.
5132
54c5ba1a
SS
51332012-06-14 Sam Steingold <sds@gnu.org>
5134
5135 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5136
f9f1b1fe
AS
51372012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5138
5139 * play/doctor.el (doctor-doc): Remove parameter and use
5140 doctor-sent instead of sent.
5141 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5142
a81068ba
SM
51432012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5144
5a315f9c
SM
5145 * files.el: Require cl-lib.
5146 (file-name-non-special): Replace case -> cl-case.
5147
5148 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5149
a81068ba
SM
5150 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5151 mapping from #' to function*.
5152
8cca9703
CY
51532012-06-13 Chong Yidong <cyd@gnu.org>
5154
5155 * mouse.el (mouse-drag-track): Do not set the mark if the user
5156 releases the mouse without selecting anything (Bug#11588).
5157
a12ac9d7
SM
51582012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5159
ccf1dc18
SM
5160 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5161 as well (bug#11646).
5162
ef62b23d
SM
5163 * loadup.el: Count byte-code functions as well.
5164
c4c8444a
SM
5165 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5166 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5167
a12ac9d7
SM
5168 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5169 (bug#11649). Add cl-defun and cl-defmacro.
5170
87e6e64f
DA
51712012-06-13 Drew Adams <drew.adams@oracle.com>
5172
5173 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5174 Fix last change.
5175
682cefaf
MA
51762012-06-13 Michael Albinus <michael.albinus@gmx.de>
5177
5178 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5179 Otherwise, it blocks in batch mode.
5180
773e1f08
JB
51812012-06-13 Juanma Barranquero <lekktu@gmail.com>
5182
5183 * help-mode.el (bookmark-make-record-default): Declare.
5184
60057926
CY
51852012-06-13 Chong Yidong <cyd@gnu.org>
5186
5187 * emacs-lisp/package.el (list-packages): Compute a list of
5188 packages that are newly-available since the last list-packages
5189 invocation.
5190 (package-menu--new-package-list): New var.
5191 (package-menu--generate, package-menu--print-info)
5192 (package-menu--status-predicate, package-menu-mark-install):
5193 Handle new status label "new".
5194
ad4d226c
SM
51952012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5196
5197 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5198 conversion to backquotes.
5199
f1a4e679
CY
52002012-06-12 Chong Yidong <cyd@gnu.org>
5201
5202 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5203 Rename from gud-inhibit-global-bindings.
5204
5205 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5206
5207 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5208 hook from nxml-glyph-set-hook.
5209
5210 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5211 declaration.
5212
5213 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5214
5215 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5216 Convert to defcustom.
5217
0c9e42b5
DA
52182012-06-12 Drew Adams <drew.adams@oracle.com>
5219
5220 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5221 New functions.
5222 (help-mode): Use them.
5223
09e06855
GM
52242012-06-11 Glenn Morris <rgm@gnu.org>
5225
5226 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5227 Use preprocessor face for directives.
5228 (fortran-directive-re): Doc fix.
5229
71adb94b
SM
52302012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5231
2eb87922
SM
5232 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5233 conversion to backquotes (bug#11652).
5234
71adb94b
SM
5235 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5236 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5237 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5238 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5239 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5240 (cl-ninth, cl-tenth): Mark them as inlinable.
5241 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5242 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5243 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5244 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5245 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5246 (cl-list*, cl-adjoin): Don't put an autoload manually.
5247 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5248 (cl--compiler-macro-list*): Add autoload cookie.
5249 (cl--compiler-macro-cXXr): New function.
2eb87922 5250
71adb94b
SM
5251 * help-fns.el (help-fns--compiler-macro): New function extracted from
5252 describe-function-1; follow aliases and use `compiler-macro' property.
5253 (describe-function-1): Use it.
5254
a6674402
CY
52552012-06-11 Chong Yidong <cyd@gnu.org>
5256
5257 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5258 is uninstalled, if imagemagick is installed.
5259
bb3faf5b
SM
52602012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5261
5262 * emacs-lisp/cl-lib.el: Use lexical-binding.
5263 (cl-map-extents, cl-maclisp-member): Remove.
5264 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5265 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5266 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5267 * emacs-lisp/cl-extra.el: Use lexical-binding.
5268 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5269 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5270 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5271 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5272 * emacs-lisp/cl-seq.el: Use lexical-binding.
5273 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5274 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5275 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5276 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5277 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5278 CL's internals.
5279
2fe4b125
MA
52802012-06-11 Michael Albinus <michael.albinus@gmx.de>
5281
5282 Sync with Tramp 2.2.6-pre.
5283
5284 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5285 `print-length' and `print-level' to nil, in order to avoid
5286 truncation. Reported by Christopher Schmidt
5287 <christopher@ristopher.com>.
5288
5289 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5290
5291 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5292 New defmacro.
5293 (tramp-compat-copy-directory): Add optional argument
5294 COPY-CONTENTS. It is not handled yet.
5295
5296 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5297 (tramp-ftp-file-name-p): Simplify.
5298
5299 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5300 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5301 connection vector.
5302
5303 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5304 (tramp-methods): Do not use `tramp-password-end-of-line'.
5305 (tramp-completion-function-alist-putty): Handle UNIX case.
5306 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5307 (tramp-do-file-attributes-with-stat)
5308 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5309 gid as real numbers. They could run out of integer range on cygwin.
5310 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5311 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5312 (tramp-open-connection-setup-interactive-shell):
5313 Use `tramp-cleanup'. Move check for busyboxes ...
5314 (tramp-find-shell): ... here. Simplify implementation.
5315 Set "remote-shell" property also for alternative shells.
5316 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5317 If failing, a regular file would be written otherwise.
5318 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5319 (tramp-find-inline-encoding): Cache the coding commands in the
5320 process cache. Apply test command on the remote side, if defined.
5321 (tramp-find-inline-compress): Cache the compress commands in the
5322 process cache.
5323 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5324 when requested. Handle hops.
5325 (tramp-current-connection): New defvar.
87e6e64f
DA
5326 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5327 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5328 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5329 (tramp-get-inline-compress, tramp-get-inline-coding):
5330 Read connection properties from the process cache.
2fe4b125
MA
5331
5332 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5333 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5334 New defconsts.
2fe4b125
MA
5335 (tramp-smb-prompt): Extend for powershell prompt.
5336 (tramp-smb-file-name-handler-alist): Add handlers for
5337 `process-file', `shell-command' and `start-file-process'.
5338 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5339 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5340 (tramp-smb-file-name-p): Simplify.
5341 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5342 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5343 (tramp-smb-shell-quote-argument): New defuns.
5344 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5345 Implement using "tar". By this, time-stamps are preserved.
5346 (tramp-smb-handle-copy-file): Handle also the case of directories.
5347 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5348 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5349 Use `tramp-get-connection-buffer').
2fe4b125
MA
5350 (tramp-smb-handle-rename-file): Use "rename", when source and
5351 target are on the same share.
87e6e64f
DA
5352 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5353 Use `tramp-smb-server-version'.
2fe4b125
MA
5354 (tramp-smb-wait-for-output): Remove prompt.
5355
5356 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5357 (tramp-methods, tramp-rsh-end-of-line):
5358 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5359 (tramp-save-ad-hoc-proxies): New defcustom.
5360 (tramp-completion-function-alist): Adapt docstring.
5361 (tramp-default-password-end-of-line): Remove defcustom.
5362 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5363 (tramp-user-regexp, tramp-file-name-regexp-unified)
5364 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5365 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5366 (tramp-remote-file-name-spec-regexp): New defconst.
5367 (tramp-file-name-structure): Extend structure for hops.
5368 (tramp-get-method-parameter): Move up.
5369 (tramp-file-name-p, tramp-dissect-file-name)
5370 (with-parsed-tramp-file-name): Handle hops.
5371 (tramp-file-name-hop): New defun.
5372 (tramp-make-tramp-file-name): New optional arg HOP.
5373 (tramp-message-show-progress-reporter-message): New defvar.
5374 (tramp-with-progress-reporter): Use it. We cannot use
5375 `tramp-message-show-message' here, because this suppresses also
5376 error buffers.
5377 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5378 `tramp-message-show-message' is nil.
5379 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5380 (tramp-cleanup): New defun.
5381 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5382 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5383 an error unchanged.
5384 (tramp-completion-handle-file-name-all-completions): Handle hops.
5385 Fix an error when called from ido.
5386 (tramp-completion-dissect-file-name): Use better local variable
5387 name. Add hop to the vector.
5388 (tramp-handle-insert-file-contents): Use progress-reporter for the
5389 whole scenario.
5390 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5391 to `t'.
5392 (tramp-check-for-regexp): Simplify search.
5393 (tramp-enter-password): Remove it. Move implementation ...
5394 (tramp-action-password): ... here.
5395 (tramp-mode-string-to-int, tramp-local-host-p)
5396 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5397 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5398 Set tramp-autoload cookie.
2fe4b125
MA
5399
5400 * net/trampver.el: Update release number.
5401
54022012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5403 Michael Albinus <michael.albinus@gmx.de>
5404
5405 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5406 (tramp-parse-group, tramp-parse-file)
5407 (tramp-parse-shostkeys-sknownhosts): New defuns.
5408 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5409 (tramp-parse-shosts-group, tramp-parse-sconfig)
5410 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5411 (tramp-parse-sknownhosts, tramp-parse-hosts)
5412 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5413 Use them.
5414 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5415 (tramp-parse-putty-group): Don't narrow.
5416 (tramp-parse-putty): Make a loop.
5417 (tramp-file-name-handler): Catch the `suppress' signal.
5418
72834e10
CY
54192012-06-11 Chong Yidong <cyd@gnu.org>
5420
5421 * image.el (imagemagick-register-types): Put the ImageMagick entry
5422 at the end of image-type-file-name-regexps.
5423
a4712e11
JB
54242012-06-11 Johan Bockgård <bojohan@gnu.org>
5425
5426 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5427 (pcase, pcase-let*, pcase-dolist): Use them.
5428
82ad98e3
SM
54292012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * emacs-lisp/pcase.el (pcase--let*): New function.
5432 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5433 (pcase--expand): Use macroexp-let².
5434
f80efb86
SM
54352012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5436
5437 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5438 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5439 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5440 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5441 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5442 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5443
31ca4639 54442012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5445
31ca4639
CY
5446 * mail/rmail.el (rmail-yank-current-message): Leave point at
5447 correct position. (Bug#11660)
94f0aa34 5448
31ca4639 54492012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5450
31ca4639 5451 * allout-widgets.el: Fix code header.
9e1b8ec4 5452
31ca4639 54532012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5454
f80efb86
SM
5455 * cus-edit.el (customize-changed-options-previous-release):
5456 Bump to 24.1.
31ca4639 5457
642b6d30
AS
54582012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5459
5460 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5461
4f5d2ba1
CY
54622012-06-09 Chong Yidong <cyd@gnu.org>
5463
5464 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5465
e75852fd
MR
54662012-06-09 Martin Rudalics <rudalics@gmx.at>
5467
5468 * window.el (special-display-popup-frame): Don't use
5469 window--display-buffer (Bug#11651).
5470
1e48e282
EZ
54712012-06-09 Eli Zaretskii <eliz@gnu.org>
5472
8a26b487
EZ
5473 Fix parallel builds: make sure loaddefs.el is not being written
5474 while Lisp files are compiled.
5475 (compile): Don't depend on 'mh-autoloads'.
5476 (compile-CMD, compile-SH): Depend on 'autoloads'.
5477 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5478
1e48e282
EZ
5479 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5480
6175e34b
CY
54812012-06-09 Chong Yidong <cyd@gnu.org>
5482
5483 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5484 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5485 Doc fixes (Bug#11225).
5486
d9857e53
SM
54872012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5488
5489 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5490 a function if there's a clear indication that it has a compiler-macro.
5491 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5492 (macro-declarations-alist): Add arglist to declaration functions.
5493 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5494 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5495 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5496 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5497 Also add autoload to find the compiler macro.
5498 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5499 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5500 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5501 (cl--compiler-macro-get): New functions, replacing calls to
5502 cl-define-compiler-macro.
5503 (cl-typep) [compiler-macro]: Use macroexp-let².
5504
f81298f8 55052012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5506
5507 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5508 string properly, fixes Bug#11473.
5509
4b56d0fe
CY
55102012-06-08 Chong Yidong <cyd@gnu.org>
5511
5512 * faces.el (set-face-attribute): Doc fix.
5513 (modify-face): Don't use :bold and :italic.
5514 (error, warning, success): Tweak definitions.
5515
5516 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5517 (custom-modified, custom-set, custom-changed, custom-themed)
5518 (custom-saved, custom-button, custom-button-mouse)
5519 (custom-button-pressed, custom-state, custom-comment-tag)
5520 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5521 (custom-group-subtitle): Use new-style face specs.
5522 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5523 (custom-set-face, custom-changed-face, custom-saved-face)
5524 (custom-button-face, custom-button-pressed-face)
5525 (custom-documentation-face, custom-state-face)
5526 (custom-comment-face, custom-comment-tag-face)
5527 (custom-variable-tag-face, custom-variable-button-face)
5528 (custom-face-tag-face, custom-group-tag-face-1)
5529 (custom-group-tag-face): Remove obsolete face alias.
5530
5531 * epa.el (epa-validity-high, epa-validity-medium)
5532 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5533 (epa-field-name, epa-field-body):
5534 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5535 (font-lock-keyword-face, font-lock-builtin-face)
5536 (font-lock-function-name-face, font-lock-variable-name-face)
5537 (font-lock-type-face, font-lock-constant-face):
5538 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5539 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5540 * speedbar.el (speedbar-button-face, speedbar-file-face)
5541 (speedbar-directory-face, speedbar-tag-face)
5542 (speedbar-selected-face, speedbar-highlight-face)
5543 (speedbar-separator-face):
5544 * whitespace.el (whitespace-newline, whitespace-space)
5545 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5546 (whitespace-line, whitespace-space-before-tab)
5547 (whitespace-space-after-tab, whitespace-indentation)
5548 (whitespace-empty):
5549 * emulation/cua-base.el (cua-global-mark):
5550 * eshell/em-prompt.el (eshell-prompt):
5551 * net/newst-plainview.el (newsticker-new-item-face)
5552 (newsticker-old-item-face, newsticker-immortal-item-face)
5553 (newsticker-obsolete-item-face, newsticker-date-face)
5554 (newsticker-statistics-face, newsticker-default-face):
5555 * net/newst-reader.el (newsticker-feed-face)
5556 (newsticker-extra-face, newsticker-enclosure-face):
5557 * net/newst-treeview.el (newsticker-treeview-face)
5558 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5559 (newsticker-treeview-immortal-face)
5560 (newsticker-treeview-obsolete-face)
5561 (newsticker-treeview-selection-face):
5562 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5563 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5564 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5565 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5566 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5567 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5568 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5569 (mpuz-text):
5570 * progmodes/vera-mode.el (vera-font-lock-number)
5571 (vera-font-lock-function, vera-font-lock-interface):
5572 * textmodes/table.el (table-cell): Use new-style face specs, and
5573 don't use the old :bold and :italic attributes.
5574
5575 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5576 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5577 (ebrowse-member-class, ebrowse-progress): Likewise.
5578 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5579 (ebrowse-file-name-face, ebrowse-default-face)
5580 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5581 (ebrowse-progress-face): Remove obsolete faces.
5582
5583 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5584 Inherit from error and warning faces respectively.
5585
5586 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5587 Likewise.
f80efb86
SM
5588 (flyspell-incorrect-face, flyspell-duplicate-face):
5589 Remove obsolete aliases.
4b56d0fe 5590
03310646
MA
55912012-06-08 Michael Albinus <michael.albinus@gmx.de>
5592
5593 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5594 Avoid infloop.
5595
513749ee
SM
55962012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * startup.el (argv, argi): Make lexically scoped.
5599 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5600 * emacs-lisp/cl-macs.el: Use lexical-binding.
5601 Rename cl-bind-* to cl--bind-*.
5602 * files.el: Don't require `cl' since it doesn't use it.
5603 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5604
595ef4ad
JB
56052012-06-08 Juanma Barranquero <lekktu@gmail.com>
5606
5607 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5608 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5609 instead of calling external sort utility.
5610 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5611
e9f66fcb
EZ
56122012-06-08 Eli Zaretskii <eliz@gnu.org>
5613
5614 * descr-text.el (describe-char): Mention how to insert the
5615 character, if the current input method doesn't support it.
5616 See the discussion in this thread for the details:
5617 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5618
3d10db47
SS
56192012-06-08 Sam Steingold <sds@gnu.org>
5620
5621 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5622 XF86Back to previous-buffer.
5623 (minibuffer-local-map): Bind them to next-history-element and
5624 previous-history-element respectively.
5625 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5626 help-go-back respectively.
5627 * info.el (Info-mode-map): Bind them to Info-history-forward and
5628 Info-history-back respectively.
5629 These are the keys next to Up on the ThinkPad keyboard.
5630
de7e2b36
SM
56312012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5634 * emacs-lisp/cl-macs.el: Provide itself.
5635 (cl--labels-convert-cache): New var.
5636 (cl--labels-convert): New function.
5637 (cl-flet, cl-labels): New implementation with new semantics, relying on
5638 lexical-binding.
5639 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5640 (cl-closure-vars, cl--function-convert-cache)
5641 (cl--function-convert): Move from cl-macs.el.
5642 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5643 rename by removing the "cl-" prefix.
5644 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5645
6fa6c4ae
SM
56462012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5649 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5650 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5651 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5652 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5653 (cl-hash-table-count): Add old compatibility aliases.
5654
5655 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5656 Use macroexpand-all-environment instead.
5657 (cl--old-macroexpand): New var.
5658 (cl--sm-macroexpand): New function.
5659 (cl-symbol-macrolet): Use it during macro expansion.
5660 (cl--function-convert-cache): New var.
5661 (cl--function-convert): New function, extracted from
5662 cl-macroexpand-all.
5663 (cl-lexical-let): Use it.
5664
5665 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5666 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5667 (cl-member): Remove old alias.
5668
5669 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5670 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5671 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5672 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5673 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5674 (cl-macroexpand-cmacs): Remove var.
5675 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5676 Use macroexpand-all instead.
5677
4dd1c416
SM
56782012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5679
5680 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5681 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5682 (macroexp-copyable-p): New functions and macros.
5683 * emacs-lisp/edebug.el (edebug-unwrap):
5684 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5685 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5686 (pcase--let*): Remove.
5687 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5688 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5689 macroexp-const-p instead.
5690 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5691
5692 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5693 instead of "cl-" for internal definitions. Use macroexp-const-p.
5694 (cl-old-bc-file-form): Remove var.
5695 (cl-const-exprs-p): Remove fun.
5696 (cl-labels, cl-macrolet): Use backquote.
5697 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5698 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5699 (cl-define-setf-expander): Rename from cl-define-setf-method.
5700 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5701
5702 * international/mule-cmds.el: Don't require CL.
5703 (view-hello-file): Don't use `letf'.
5704
ed8bd4d7
SM
57052012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5706
7287f2f3
SM
5707 * tmm.el (tmm-prompt): Use string-prefix-p.
5708 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5709 (tmm-add-prompt): Use minibuffer-completion-help.
5710 (tmm-delete-map): Remove.
5711
ed8bd4d7
SM
5712 * subr.el (kbd): Make it its own function.
5713
7b4cdbf4
SM
57142012-06-07 Stefan Merten <smerten@oekonux.de>
5715
5716 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5717 Silence compiler warnings. Fix versions.
ed8bd4d7 5718 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5719 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5720 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5721 (rst-package-emacs-version-alist): Correct Emacs version to
5722 represent major merge with upstream.
ed8bd4d7 5723 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5724
2b48d721
GM
57252012-06-06 Glenn Morris <rgm@gnu.org>
5726
5727 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5728 Only print environment variables if set.
5729
fa779ab0
SM
57302012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5731
5732 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5733 (macroexp--cons): Rename from maybe-cons.
5734 (macroexp--accumulate): Rename from macroexp-accumulate.
5735 (macroexp--all-forms): Rename from macroexpand-all-forms.
5736 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5737 (macroexp--expand-all): Rename from macroexpand-all-1.
5738
628299e0
SS
57392012-06-06 Sam Steingold <sds@gnu.org>
5740
5741 * calendar/calendar.el (calendar-in-read-only-buffer):
5742 Call `special-mode' to enable the standard read-only keybindings.
5743
b7bb5838
SM
57442012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5745
5746 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5747 with "loading" messages (bug#11635).
5748
dfb308ba
MA
57492012-06-06 Michael Albinus <michael.albinus@gmx.de>
5750
5751 * files.el (enable-remote-dir-locals): New option.
5752 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5753
0372ee92
MA
5754 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5755 Ensure, that the temp directory is local.
5756
5757 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5758 `temporary-file-directory'.
5759
eed0bb91
MA
5760 * progmodes/python.el (python-send-region): Ensure, that the
5761 temporary file is created also in the remote case.
5762
7a58f64d
GM
57632012-06-06 Glenn Morris <rgm@gnu.org>
5764
f7dd4e98
GM
5765 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5766 (vc-rcs-update-changelog): Use it.
5767
090bd7cb 5768 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5769
7a58f64d
GM
5770 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5771 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5772 (vc-sccs-diff): Replace use of the external vcdiff script.
5773
daed4003
GM
57742012-06-05 Glenn Morris <rgm@gnu.org>
5775
5776 * ledit.el: Move to obsolete/.
5777
48c455c7
SS
57782012-06-05 Sam Steingold <sds@gnu.org>
5779
ed9265fc 5780 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5781 patch (Bug#11140).
5782
57a7d507
SM
57832012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5784
090bd7cb 5785 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5786
53aacf21
SM
5787 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5788 compiler-macro expansion.
5789
57a7d507
SM
5790 Add native compiler-macro support.
5791 * emacs-lisp/macroexp.el (macroexpand-all-1):
5792 Support compiler-macros directly. Properly follow aliases and apply
5793 the compiler macros more thoroughly.
5794 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5795 macroexpand now properly follows aliases.
5796 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5797 (cl-compiler-macroexpand): Use new prop.
5798 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5799
5800 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5801
51a5f9d8
MR
58022012-06-05 Martin Rudalics <rudalics@gmx.at>
5803
5804 * window.el (get-lru-window, get-mru-window, get-largest-window):
5805 New argument NOT-SELECTED to avoid picking the selected window.
5806 (window--display-buffer-1, window--display-buffer-2): Replace by
5807 new function window--display-buffer
5808 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5809 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5810 Use window--display-buffer.
51a5f9d8
MR
5811 (display-buffer-use-some-window): Remove temporary dedication
5812 hack by calling get-lru-window and get-largest-window with
5813 NOT-SELECTED argument non-nil. Call window--display-buffer.
5814
08f9f738
GM
58152012-06-05 Glenn Morris <rgm@gnu.org>
5816
5817 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5818 Replace external vcdiff script.
5819
e364a2b7
SM
58202012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5821
5822 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5823
041df390
CY
58242012-06-04 Chong Yidong <cyd@gnu.org>
5825
e364a2b7
SM
5826 * image.el (imagemagick-types-inhibit): Revert last change.
5827 Add INFO and M.
47b36b94 5828 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5829
7c1898a7
SM
58302012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * emacs-lisp/cl-lib.el: Rename from cl.el.
5833 * emacs-lisp/cl.el: New compatibility file.
5834 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5835 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5836 to obey the "cl-" prefix.
5837 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5838
0c3461de
GM
58392012-06-03 Glenn Morris <rgm@gnu.org>
5840
1e266c88
GM
5841 * emacs-lisp/authors.el (authors-aliases): Addition.
5842
0c3461de
GM
5843 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5844 Fix :version.
5845
d8a52e15
SM
58462012-06-03 Stefan Merten <smerten@oekonux.de>
5847
5848 * textmodes/rst.el: Add comments.
5849 (rst-transition, rst-adornment): New faces.
5850 (rst-adornment-faces-alist): Make default safe to reevaluate.
5851 Fixes
5852 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5853 Improve customization tags.
5854 (rst-define-level-faces): Clarify meaning.
5855
5205d6f6
CY
58562012-06-03 Chong Yidong <cyd@gnu.org>
5857
5858 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5859 (compilation-mode-line-run, compilation-mode-line-exit):
5860 New faces.
5205d6f6
CY
5861 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5862
757ee657
JD
58632012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5864
7c1898a7
SM
5865 * progmodes/which-func.el (which-func-update-ediff-windows):
5866 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5867
5f2c76c6
CY
58682012-06-03 Chong Yidong <cyd@gnu.org>
5869
5870 * bindings.el: Remove explicit help text from format-mode-line.
5871 It is now supplied by mode-line-default-help-echo.
5872 (mode-line-front-space, mode-line-end-spaces)
5873 (mode-line-misc-info): New variables.
5874 (mode-line-modes, mode-line-position): Move the default value to
5875 the variable definition.
5876 (mode-line-default-help-echo): New defcustom.
383f7350
CY
5877 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5878 (mode-line-modified-help-echo): New functions.
5879 (mode-line-mule-info, mode-line-modified): Use them.
5880 (mode-line-eol-desc, propertized-buffer-identification):
5881 Consistency fixes for help text.
cbe46e5f
CY
5882 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5883 set-buffer-file-coding-system (Bug#289).
5884 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 5885
f2d6a3df
SM
58862012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * simple.el (execute-extended-command): Set real-this-command
5889 (bug#11506).
5890
37269466
CY
58912012-06-02 Chong Yidong <cyd@gnu.org>
5892
5893 Remove incorrect uses of "modeline" in comments, docstrings, and
5894 function/variable names (Bug#10329).
5895
5896 * cus-edit.el (mode-line):
5897 * dframe.el (dframe-mouse-hscroll):
5898 * emacs-lisp/re-builder.el:
5899 * emacs-lisp/easy-mmode.el (define-minor-mode):
5900 * frame.el (set-frame-name):
5901 * help.el (lookup-minor-mode-from-indicator):
5902 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5903 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5904 (c-toggle-hungry-state):
5905 * progmodes/antlr-mode.el (antlr-language-alist):
5906 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5907 * progmodes/vhdl-mode.el (vhdl-mode):
5908 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5909 * term/ns-win.el (ns-face-at-pos):
5910 * term/sup-mouse.el (sup-mouse-report):
5911 * textmodes/flyspell.el (flyspell-mode-line-string):
5912 * textmodes/ispell.el (ispell-highlight-face):
5913 * textmodes/reftex-global.el:
5914 * vc/vc-arch.el (vc-arch-mode-line-string):
5915 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5916 * vc/vc-git.el (vc-git-mode-line-string):
5917 * vc/vc-hooks.el (vc-display-status)
5918 (vc-default-mode-line-string):
5919 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5920
5921 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5922
5923 * dired.el (dired-sort-set-mode-line): Rename from
5924 dired-sort-set-modeline. All callers changed.
5925
5926 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5927 eshell-status-in-modeline.
5928
5929 * foldout.el (foldout-mode-line-string): Rename from
5930 foldout-modeline-string. All callers changed.
5931 (foldout-update-mode-line): Rename from foldout-update-modeline.
5932
5933 * subr.el (redraw-modeline): Make into obsolete alias.
5934
5935 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5936 timeclock-modeline-display. Make old name an alias.
5937 (timeclock-update-mode-line): Likewise. All callers changed.
5938 (timeclock-mode-line-display): No need to check before using
5939 add-hook.
5940 (timeclock-relative, timeclock-day-over-hook)
5941 (timeclock-use-elapsed, timeclock-mode-string)
5942 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5943
5944 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5945 crisp-mode-modeline-string.
5946
5947 * play/solitaire.el (solitaire-build-mode-line): Rename from
5948 solitaire-build-modeline. All callers changed.
5949
5950 * play/zone.el (zone-hiding-mode-line): Rename from
5951 zone-hiding-modeline. All callers changed.
5952 (zone): Remove unusued `modeline-hidden-level' property.
5953
5954 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5955 xscheme-modeline-initialize. All callers changed.
5956
5957 * strokes.el (strokes-lighter): Rename from
5958 strokes-modeline-string.
5959
5960 * textmodes/sgml-mode.el (html-face-tag-alist)
5961 (html-tag-face-alist): Use mode-line face instead of obsolete
5962 alias modeline.
5963
42152ee4
SM
59642012-06-02 Stefan Merten <smerten@oekonux.de>
5965
5966 * textmodes/rst.el: Always require `cl'.
4cf9b38d 5967 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 5968
95f520b5
CY
59692012-06-02 Chong Yidong <cyd@gnu.org>
5970
5971 * image.el (imagemagick-enabled-types): Rename from
5972 imagemagick-types-enable. Add many more types.
5973 (imagemagick-types-inhibit): Change default to nil.
5974 (imagemagick-filter-types): Caller changed.
5975
4a5f187a
SM
59762012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5977
03fef3e6
SM
5978 * emacs-lisp/cl-macs.el: Use backquotes.
5979 (cl-transform-function-property): Use eval-and-compile rather than
5980 abusing `require'.
5981 (defstruct): Use declare-function instead of with-no-warnings.
5982
4a5f187a
SM
5983 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5984 (byte-compile-output-docform): Re-add the print-circle bindings.
5985 (byte-compile-fix-header): Use #$ just because it's shorter.
5986 (byte-compile-output-file-form): Remove defun/defmacro.
5987
bd56924f
MR
59882012-06-01 Martin Rudalics <rudalics@gmx.at>
5989
5990 * simple.el (choose-completion): Remove now obsolete binding for
5991 owindow.
5992
046e38ce
MA
59932012-06-01 Michael Albinus <michael.albinus@gmx.de>
5994
5995 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5996 in order to avoid "Stack overflow in regexp matcher".
5997
32d72c2f
GM
59982012-05-31 Glenn Morris <rgm@gnu.org>
5999
6000 * image.el: For clarity, call imagemagick-register-types at
6001 top-level, rather than relying on a custom :initialize.
6002 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6003 (imagemagick-filter-types): New function. (Bug#7406)
6004 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6005 If disabling support, remove elements altogether rather
6006 than using an impossible regexp.
6007 (imagemagick-types-inhibit): Give it the default init function.
6008
dd41169b
SM
60092012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6010
4a5f187a
SM
6011 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6012 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6013
efc00ab1 60142012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6015
6016 * desktop.el (desktop-read): Clear previous and next buffers for
6017 all windows and bury *Messages* buffer (bug#11556).
6018
500fcedc
SM
60192012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 Add `declare' for `defun'. Align `defmacro's with it.
6022 * emacs-lisp/easy-mmode.el (define-minor-mode)
6023 (define-globalized-minor-mode): Don't autoload the var definitions.
6024 * emacs-lisp/byte-run.el: Use lexical-binding.
6025 (defun-declarations-alist, macro-declarations-alist): New vars.
6026 (defmacro, defun): Use them.
6027 (make-obsolete, define-obsolete-function-alias)
6028 (make-obsolete-variable, define-obsolete-variable-alias):
6029 Use `declare'.
6030 (macro-declaration-function): Mark obsolete.
6031 * emacs-lisp/autoload.el: Use lexical-binding.
6032 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6033
6e8a1786
AM
60342012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6035
6036 * textmodes/ispell.el (ispell-with-no-warnings):
6037 Define as a macro.
500fcedc
SM
6038 (ispell-kill-ispell, ispell-change-dictionary):
6039 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6040 `interactive-p'.
6041
61b108cc
SM
60422012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6043
6044 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6045 (macro-declaration-function): Move var from C code.
6046 (macro-declaration-function): Define function with defalias.
6047 * emacs-lisp/macroexp.el (macroexpand-all-1):
6048 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6049 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6050 defun/defmacro any more.
6051 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6052 Provide fallback for unknown arglist.
6053 (byte-compile-arglist-warn): Change calling convention.
6054 (byte-compile-output-file-form): Move print-vars binding.
6055 (byte-compile-output-docform): Simplify accordingly.
6056 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6057 (byte-compile-defmacro-declaration): Remove.
6058 (byte-compile-file-form-defmumble): Generalize to defalias.
6059 (byte-compile-output-as-comment): Return byte-positions.
6060 Simplify callers accordingly.
6061 (byte-compile-lambda): Use `assert'.
6062 (byte-compile-defun, byte-compile-defmacro): Remove.
6063 (byte-compile-file-form-defalias):
6064 Use byte-compile-file-form-defmumble.
6065 (byte-compile-defalias-warn): Remove.
6066
6d3f7c2f
SM
60672012-05-29 Stefan Merten <smerten@oekonux.de>
6068
6069 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6070 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6071
6072 (rst-mode-abbrev-table): Merge definition.
6073 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6074 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6075
6dbaa1c7
UJ
60762012-05-29 Ulf Jasper <ulf.jasper@web.de>
6077
6078 * calendar/icalendar.el
6079 (icalendar-export-region): Export UID properly.
6080
d209e2fb 60812012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6082 * calendar/icalendar.el (icalendar-import-format):
6083 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6084 (icalendar-import-format-uid): New.
6085 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6086 Export UID.
6087
6876a58d
SM
60882012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6089
6090 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6091 different alternative patterns.
6092 (pcase-codegen): Be more careful to preserve identity.
6093 (pcase--u1): Don't forget to mark vars as used.
6094
6095 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6096 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6097 (byte-compile-from-buffer): ...rather than here.
6098
6099 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6100 functions from byte-compile-function-environment.
6101
46b7967e
TN
61022012-05-29 Troels Nielsen <bn.troels@gmail.com>
6103
6104 * window.el (window-deletable-p): Avoid deleting the root window
6105 of a frame with an active minibuffer.
6106
69d565e2
MR
61072012-05-29 Martin Rudalics <rudalics@gmx.at>
6108
6109 * simple.el (choose-completion): Use quit-window (Bug#11567).
6110
a149fa51
CY
61112012-05-29 Chong Yidong <cyd@gnu.org>
6112
6113 * whitespace.el (whitespace-cleanup): Fix usage of
6114 whitespace-empty-at-bob-regexp (Bug#11492).
6115
2b311310
AH
61162012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6117
6118 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6119 revert (Bug#11488).
6120
b9cb2387
JL
61212012-05-29 Juri Linkov <juri@jurta.org>
6122
6123 * isearch.el (isearch-mode-map): Bind `M-s _' to
6124 `isearch-toggle-symbol'. Bind `M-s c' to
6125 `isearch-toggle-case-fold'.
6126 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6127 (isearch-forward): Add `M-s _' to the docstring.
6128 (isearch-forward-symbol, isearch-toggle-case-fold)
6129 (isearch-symbol-regexp): New functions. (Bug#11381)
6130
d5e61c1c
JL
61312012-05-29 Juri Linkov <juri@jurta.org>
6132
6133 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6134 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6135 a function, call it to get the regexp.
6136 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6137 property `isearch-message-prefix' instead of the string "word ".
6138 (isearch-search-fun-default): For the case of `isearch-word',
6139 return a lambda that calls re-search-forward/re-search-backward
6140 with a regexp returned by `word-search-regexp' or by the function
6141 in `isearch-word'.
6142
8cbd80f7
JL
61432012-05-29 Juri Linkov <juri@jurta.org>
6144
6145 * isearch.el (isearch-search-fun-default): New function.
6146 (isearch-search-fun): Move default part to the new function
6147 `isearch-search-fun-default'.
6148 (isearch-search-fun-function): Set the default value to
6149 `isearch-search-fun-default'. (Bug#11381)
6150
6151 * comint.el (comint-history-isearch-end):
6152 Use `isearch-search-fun-default'.
6153 (comint-history-isearch-search): Use `isearch-search-fun-default'
6154 and remove spacial case for `isearch-word'.
6155 (comint-history-isearch-wrap): Remove spacial case for
6156 `isearch-word'.
6157
6158 * hexl.el (hexl-isearch-search-function):
6159 Use `isearch-search-fun-default'.
6160
6161 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6162 Use `word-search-regexp' for `isearch-word'.
6163
6164 * misearch.el (multi-isearch-search-fun):
6165 Use `isearch-search-fun-default'.
6166
6167 * simple.el (minibuffer-history-isearch-search):
6168 Use `isearch-search-fun-default' and remove spacial case for
6169 `isearch-word'.
6170 (minibuffer-history-isearch-wrap): Remove spacial case for
6171 `isearch-word'.
6172
6173 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6174 Remove spacial case for `isearch-word'.
6175 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6176
85c8c5b6
AM
61772012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6178
6179 Decrease XEmacs incompatibilities.
6180 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6181 Use `string-match'.
6182 (flyspell-delete-region-overlays): Use alternative definition for
6183 XEmacs.
6184 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6185 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6186 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6187 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6188 `define-obsolete-face-alias' under XEmacs, but old method.
6189
6190 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6191 `with-no-warnings' definition or Emacs alias.
6192 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6193 (ispell-word): Do not use `region-p' if XEmacs.
6194
8cab9efc
AM
61952012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6196
6197 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6198 Check for `ispell-dictionary-base-alist' instead of full
6199 `ispell-dictionary-alist'.
6200 (ispell-init-process): Show spellchecker when starting new Ispell
6201 process.
6202
fda91268
RZ
62032012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6204
6205 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6206 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6207
694ea8e3
JB
62082012-05-27 Juanma Barranquero <lekktu@gmail.com>
6209
6210 * version.el (motif-version-string, gtk-version-string)
6211 (ns-version-string): Declare.
6212
e4d4f539
JL
62132012-05-27 Juri Linkov <juri@jurta.org>
6214
6215 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6216 after the `eval-defun-1' specialcaseing
6217 like in `edebug-eval-defun' (bug#10181).
6218
6219 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6220 like in `eval-defun-1'.
6221
33017faf 62222012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6223
fda91268
RZ
6224 * mail/sendmail.el (mail-yank-region):
6225 Recognize rmail-yank-current-message in addition to insert-buffer.
6226 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6227 a *mail* buffer created through rmail-start-mail with sendmail as
6228 mail-user-agent.
6229
33017faf
GM
62302012-05-27 Chong Yidong <cyd@gnu.org>
6231
6232 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6233 Default to 256 (Bug#11267).
6234
6235 * help.el (describe-mode): Doc fix.
6236
04188bb9
GM
62372012-05-26 Glenn Morris <rgm@gnu.org>
6238
38264cc9
GM
6239 * w32-fns.el (w32-init-info): Remove.
6240 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6241
eb7afdad
GM
6242 * info.el (info-initialize): For self-contained NS builds, put the
6243 included info/ directory at the front. (Bug#2791)
6244
04188bb9
GM
6245 * paths.el (Info-default-directory-list): Make it a defcustom,
6246 mainly so that we can use custom-initialize-delay.
6247
a179e3f7
SM
62482012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6249
43416392
SM
6250 * subr.el (buffer-has-markers-at): Mark obsolete.
6251
a179e3f7 6252 * subr.el (lambda): Use declare.
43416392 6253
a179e3f7
SM
6254 * emacs-lisp/lisp-mode.el (lambda):
6255 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6256
34a008d9
AH
62572012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6258
6259 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6260
0a3b289f
GM
62612012-05-26 Glenn Morris <rgm@gnu.org>
6262
6263 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6264
758c81e8
GM
62652012-05-25 Glenn Morris <rgm@gnu.org>
6266
f9f334f0
GM
6267 * paths.el: Remove no-byte-compile.
6268 * loadup.el: No need to load paths.el uncompiled.
6269
87eb79c2
GM
6270 * image.el (imagemagick-types-inhibit): Doc fix.
6271
758c81e8
GM
6272 * version.el: Remove no-byte-compile and associated formatting.
6273 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6274 is ancient code from when there was an "inc-vers.el".
6275
e7e85dc0
SM
62762012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * progmodes/gdb-mi.el: Minor style changes.
6279 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6280 Turn into minor modes.
6281 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6282 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6283 (gdb-shell): Remove unneeded let-binding.
6284 (gdb-get-many-fields): Eliminate O(n²) behavior.
6285
f31237a4
EZ
62862012-05-25 Eli Zaretskii <eliz@gnu.org>
6287
6288 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6289 platforms that don't link in fontset.c.
6290
bc1b21bb
JL
62912012-05-25 Juri Linkov <juri@jurta.org>
6292
6293 Use the same diff color scheme as in modern VCSes (bug#10181).
6294
6295 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6296 to avoid confusion with `diff-added' that now uses green colors.
6297 (diff-removed): Use shades of red.
6298 (diff-added): Use shades of green.
6299 (diff-changed): Leave just the yellow color.
6300 (diff-use-changed-face): New variable.
6301 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6302 how to highlight context diff changes.
6303 (diff-refine-change): Use shades of yellow.
6304 (diff-refine-removed): New face that uses shades of red.
6305 (diff-refine-added): New face that uses shades of green.
6306 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6307 `diff-refine-removed' in the call to `smerge-refine-subst'
6308 depending on the value of `diff-use-changed-face'.
6309
6310 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6311 (smerge-other): Use shades of green.
6312 (smerge-base): Use shades of yellow.
6313 (smerge-refined-change): Empty face.
6314 (smerge-refined-removed): New face that uses shades of red.
6315 (smerge-refined-added): New face that uses shades of green.
6316 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6317 args `props-r' and `props-a', and use them. Doc fix.
6318 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6319 on its value use different faces `smerge-refined-change',
6320 `smerge-refined-removed', `smerge-refined-added' in the call to
6321 `smerge-refine-subst'.
6322
6323 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6324 Add face condition `min-colors 88' with shades of red.
6325 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6326 `min-colors 88' with shades of green.
6327 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6328 `min-colors 88' with shades of yellow.
6329
6df9112c
GM
63302012-05-24 Glenn Morris <rgm@gnu.org>
6331
ead5edc0
GM
6332 * paths.el (prune-directory-list, remote-shell-program): Move to...
6333 * files.el (prune-directory-list, remote-shell-program): ...here.
6334 For the latter, delay initialization, prefer ssh, just search PATH.
6335
f18b81e6
GM
6336 * paths.el (term-file-prefix): Move to faces.el (the only user).
6337 * faces.el (term-file-prefix): Move here, make it a defcustom.
6338
ee2f89a6
GM
6339 * paths.el (news-directory, news-path, news-inews-program):
6340 Move to gnus/nnspool.el.
61a583ca 6341
f8815e4c
GM
6342 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6343
c8f3b42c
GM
6344 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6345 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6346 Make the latter a defcustom, with a delayed initialization.
6347
6df9112c
GM
6348 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6349 These were deleted from Gnus itself late 2010.
6350
5dadff36
JB
63512012-05-22 Juanma Barranquero <lekktu@gmail.com>
6352
9e1701c6
JB
6353 * progmodes/which-func.el (which-func-ff-hook):
6354 Check against user-error, not error.
6355
bd7239f5 6356 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6357 cl-specs.el, which no longer exists.
6358
3290526d
GM
63592012-05-22 Glenn Morris <rgm@gnu.org>
6360
6361 * info.el (info-emacs-bug): New command.
6362 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6363 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6364
ff0c3cfb
GM
63652012-05-21 Glenn Morris <rgm@gnu.org>
6366
6367 * makefile.w32-in (update-subdirs-SH):
6368 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6369
5814f126
SM
63702012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6371
a52c0aa0
SM
6372 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6373
5814f126
SM
6374 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6375 Simplify Maven regexp, and make sure the file can't start with a space
6376 (bug#11517).
6377
b847032c
GM
63782012-05-21 Glenn Morris <rgm@gnu.org>
6379
6380 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6381 Scrap superfluous subshells.
6382
3858bfe7
SM
63832012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6386 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6387
d14b0029
JB
63882012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6389
6390 * calc/calc.el (calc-ensure-consistent-units): New variable.
6391
a52c0aa0
SM
6392 * calc/calc-units.el (math-consistent-units-p)
6393 (math-check-unit-consistency): New functions.
6394 (calc-quick-units, calc-convert-units):
6395 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6396 is non-nil.
d14b0029
JB
6397 (calc-extract-units): Fix typo.
6398
60c4db3a
SM
63992012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6400
77f3b62e
SM
6401 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6402
60c4db3a
SM
6403 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6404 (flyspell-default-deplacement-commands): Don't spell check after
6405 repeated window/frame switches (e.g. triggered by mouse-movement).
6406 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6407 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6408 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6409 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6410 Remove unused vars.
6411 (flyspell-get-casechars, flyspell-get-not-casechars):
6412 Simplify; Don't bother removing a ] just to add it back.
6413 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6414
d209e2fb 64152012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6416
6417 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6418 New functions.
bd7239f5 6419 (math-function-table): Add support for more C functions.
b1a10716 6420
3f1b25b5
AM
64212012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6422
090bd7cb
JB
6423 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6424 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6425 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6426
b581bb5c
SM
64272012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6428
6429 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6430 their respective macro declarations.
6431 * skeleton.el (define-skeleton):
6432 * progmodes/compile.el (define-compilation-mode):
6433 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6434 (define-ibuffer-filter):
6435 * emacs-lisp/generic.el (define-generic-mode):
6436 * emacs-lisp/easy-mmode.el (define-minor-mode)
6437 (define-globalized-minor-mode):
6438 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6439 * emacs-lisp/byte-run.el (defsubst):
6440 * custom.el (deftheme): Add doc-string metadata.
6441
70b8ef8f
SM
64422012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6443
6444 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6445
b1198e17
SM
64462012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6447
9abdc45d
SM
6448 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6449
b1198e17
SM
6450 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6451 * emacs-lisp/cl-macs.el: Idem.
6452 * emacs-lisp/cl-specs.el: Remove.
6453
4735906a
SM
64542012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6455
6456 Minor renaming of internal CL functions and variables.
6457 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6458 (cl--position): Rename from cl-position.
6459 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6460 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6461 (cl--random-state): Rename from *random-state*.
6462
ac348012
SM
64632012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6466 parens around the arg list (bug#11499).
6467
a0a79cde
JL
64682012-05-17 Juri Linkov <juri@jurta.org>
6469
6470 * isearch.el (word-search-regexp, word-search-backward)
6471 (word-search-forward, word-search-backward-lax)
6472 (word-search-forward-lax): Move functions from search.c
6473 (bug#10145, bug#11381).
6474
65034a51
AM
64752012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6476
090bd7cb
JB
6477 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6478 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6479 Delay for otherchars as for normal word components.
65034a51 6480
1a72a195
SM
64812012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6482
6483 * minibuffer.el (completion--sifn-requote): Fix last change.
6484 (minibuffer-local-must-match-filename-map):
6485 Move define-obsolete-variable-alias before its var.
6486
fdb058c2
SM
64872012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6488
c41045e6
SM
6489 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6490
036dfb8b
SM
6491 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6492 behavior.
6493 (completion--string-equal-p): New function.
6494 (completion--twq-all): Use it to get better assertion failure data.
6495
2473256d
SM
6496 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6497 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6498 (shell--requote-argument): New functions.
6499 (shell-completion-vars): Use them.
6500 (shell--parse-pcomplete-arguments): Rename from
6501 shell-parse-pcomplete-arguments.
6502 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6503 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6504 Obey comint-file-name-quote-list.
6505
fdb058c2
SM
6506 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6507 (smie-indent-keyword): Use it.
6508
51fa99f1
SM
65092012-05-14 Stefan Merten <smerten@oekonux.de>
6510
6511 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6512
e18afed7 65132012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6514
6515 * net/rlogin.el (rlogin-mode-map): Fix last change.
6516
e18afed7 65172012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6518
6519 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6520 the following \r\n using a single `process-send-string', since the
6521 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6522 with two `process-send-string's (Bug#11444).
8633b1f4 6523
e18afed7 65242012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6525
fdb058c2
SM
6526 * shell.el (shell-parse-pcomplete-arguments):
6527 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6528
2d21d7f6
WJ
65292012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6530
e18afed7 6531 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6532 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6533 (image-transform-width, image-transform-fit-width): New functions.
6534 (image-transform-properties): Use them.
6535 (image-transform-check-size): New function.
6536 (image-toggle-display-image): Use it (for testing).
6537 (image-transform-set-rotation): Reduce angle mod 360.
6538 Delete obsolete comment.
6539
7102e6d0
WJ
65402012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6541
6542 * image-mode.el: Fix scaling (bug#11399).
6543 (image-transform-resize): Doc fix.
6544 (image-transform-properties): Default scale is 1 and height should
6545 be an integer.
6546
06bc5e6e
SM
65472012-05-13 Johan Bockgård <bojohan@gnu.org>
6548
6549 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6550 than hard-coding `car', to fix misbehavior when moving forward.
6551
0ae03b6a
CY
65522012-05-13 Chong Yidong <cyd@gnu.org>
6553
6554 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6555 (tabulated-list-entries, tabulated-list-padding)
6556 (tabulated-list-sort-key): Make permanent-local.
6557
6558 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6559 (electric-buffer-list): Put electric buffer menu
6560 command descriptions in this docstring, instead of the docstring
6561 of electric-buffer-menu-mode. Code cleanups.
6562 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6563 Electric-buffer-menu-mode.
6564 (electric-buffer-update-highlight): Minor code cleanup.
6565
205a7391
MA
65662012-05-13 Michael Albinus <michael.albinus@gmx.de>
6567
6568 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6569 (Bug#11447)
6570
e5bd0a28
SM
65712012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 Move define-obsolete-variable-alias before the var's definition.
6574 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6575 * tooltip.el (tooltip-hook):
6576 * textmodes/reftex-toc.el (reftex-toc-map):
6577 * textmodes/reftex-sel.el (reftex-select-label-map)
6578 (reftex-select-bib-map):
6579 * textmodes/reftex-index.el (reftex-index-map)
6580 (reftex-index-phrases-map):
6581 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6582 * progmodes/meta-mode.el (meta-mode-map):
6583 * novice.el (disabled-command-hook):
6584 * loadhist.el (unload-hook-features-list):
6585 * frame.el (blink-cursor):
6586 * files.el (find-file-not-found-hooks, write-file-hooks)
6587 (write-contents-hooks):
6588 * emulation/tpu-edt.el (GOLD-map):
6589 * emacs-lock.el (emacs-lock-from-exiting):
6590 * emacs-lisp/generic.el (generic-font-lock-defaults):
6591 * emacs-lisp/chart.el (chart-map):
6592 * dos-fns.el (register-name-alist):
6593 * dired-x.el (dired-omit-files-p):
6594 * desktop.el (desktop-enable):
6595 * cus-edit.el (custom-mode-hook):
6596 * buff-menu.el (buffer-menu-mode-hook):
6597 * bookmark.el (bookmark-read-annotation-text-func)
6598 (bookmark-exit-hooks):
6599 * allout.el (allout-mode-deactivate-hook)
6600 (allout-exposure-change-hook, allout-structure-added-hook)
6601 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6602 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6603 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6604 comes before the corresponding variable's definition.
6605
ac59c2f6
CY
66062012-05-12 Chong Yidong <cyd@gnu.org>
6607
6608 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6609 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6610 (Buffer-menu-mode-map): Bind it.
6611 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6612
dee6c9a3
SM
66132012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6614
2171cea5
SM
6615 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6616 (prolog-upper-case-string, prolog-lower-case-string)
6617 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6618 (prolog-use-smie, prolog-smie-grammar): New vars.
6619 (prolog-smie-forward-token, prolog-smie-backward-token)
6620 (prolog-smie-rules): New funs.
6621 (prolog-comment-indent): Remove.
6622 (prolog-mode-variables): Use default comment indentation instead.
6623 Setup SMIE.
6624 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6625 (prolog-mode): Don't call them any more.
6626 (prolog-electric-colon, prolog-electric-dash)
6627 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6628
aa0382bd
SM
6629 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6630
dbacb4bd
SM
6631 * minibuffer.el (completion--twq-all): Again, allow case differences.
6632
13bdd94c
SM
6633 * term.el: Move keymap initialization code to be more idiomatic.
6634 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6635 (term-terminal-menu): Move initialization into declaration.
6636 (term-escape-char): Let the user set it in her .emacs.
6637
ff46c759
SM
6638 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6639 Provide SMIE-based indentation (not enabled by default yet).
6640 (sh-mode-map): Don't bind electric keys.
6641 Use electric-pair-mode instead of skeleton-pair.
6642 (sh-assignment-regexp): Fit within 80 columns.
6643 (sh-indent-supported): Specify actual shell name instead of boolean.
6644 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6645 (sh-maybe-here-document): Use it. Make obsolete.
6646 (sh-electric-here-document-mode) New minor mode.
6647 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6648 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6649 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6650 (sh-smie-rc-grammar, sh-use-smie): New vars.
6651 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6652 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6653 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6654 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6655 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6656 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6657 (sh-set-shell): Use smie-setup if requested.
6658
dee6c9a3
SM
6659 * term.el (term-set-escape-char): Properly set term-escape-char.
6660 See http://stackoverflow.com/questions/10524656.
6661
9f9aa044
CY
66622012-05-10 Chong Yidong <cyd@gnu.org>
6663
6664 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6665 Use url-generic-parse-url, and handle host names and Windows
6666 filenames properly.
6667 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6668 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6669 URL schemes to work on.
6670 (ffap--toggle-read-only): New function.
6671 (ffap-read-only, ffap-read-only-other-window)
6672 (ffap-read-only-other-frame): Use it.
6673 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6674 necessary for ffap-url-unwrap-remote.
6675
836d29b3
DA
66762012-05-10 Dave Abrahams <dave@boostpro.com>
6677
6678 * cus-start.el (create-lockfiles): Add it.
6679
00fd78ed
CY
66802012-05-09 Chong Yidong <cyd@gnu.org>
6681
6682 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6683 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6684
666b903b 66852012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6686
6687 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6688
666b903b 66892012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6690
6691 * ansi-color.el (ansi-color-process-output): Check for validity of
6692 comint-last-output-start before using it. This avoids a bad
6693 interaction with gdb-mi's input/output buffer.
6694
666b903b 66952012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6696
6697 * files.el (dir-locals-read-from-file):
6698 Mention dir-locals in any error message.
6699
666b903b 67002012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6701
6702 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6703 package (Bug#11410).
6704
f677562b
CY
6705 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6706 variables into description.
6707
666b903b 67082012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6709
6710 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6711 shell-delimiter-argument-list (bug#11348).
6712 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6713
b499d8d0
JB
67142012-05-09 Juanma Barranquero <lekktu@gmail.com>
6715
8f6b6da8
JB
6716 * textmodes/rst.el: Silence byte-compiler warnings.
6717 (rst-re-alist, rst-reset-section-caches): Move around.
6718 (rst-re): Use `characterp', not `char-valid-p'.
6719 (font-lock-beg, font-lock-end): Declare.
6720
4824146a
JB
6721 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6722 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6723
b499d8d0
JB
6724 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6725
ad89bb83
GM
67262012-05-08 Glenn Morris <rgm@gnu.org>
6727
6728 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6729
8bba5a75
SM
67302012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6731
49ed9c8e
SM
6732 * vc/log-edit.el: Add GNU coding standards highlighting.
6733 (log-edit-font-lock-gnu-style)
6734 (log-edit-font-lock-gnu-keywords): New vars.
6735 (log-edit-font-lock-keywords): New fun.
6736 (log-edit-mode): Don't fold case in font-lock.
6737 (log-edit-font-lock-keywords): Do not assume case-folding.
6738
07d00b56
SM
6739 * imenu.el: Misc cleanup. Make docstrings out of comments.
6740 Use lexical-binding.
6741 (imenu--index-alist, imenu--last-menubar-index-alist)
6742 (imenu-menubar-modified-tick): Use defvar-local.
6743 (imenu--split-menu): Remove unused var.
6744 (imenu--cleanup-seen): Declare as global.
6745 (imenu--cleanup): Use dolist.
6746
8bba5a75
SM
6747 * subr.el (defvar-local): Add debug spec and doc-string position.
6748
5075bdb5
GM
67492012-05-08 Glenn Morris <rgm@gnu.org>
6750
090bd7cb 6751 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6752 * language/english.el, language/georgian.el, language/greek.el:
6753 * language/japanese.el, language/khmer.el, language/korean.el:
6754 * language/lao.el, language/misc-lang.el, language/romanian.el:
6755 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6756 * language/thai.el, language/utf-8-lang.el:
6757 Remove no-byte-compile setting.
6758
5075bdb5
GM
6759 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6760
06f679a7
AH
67612012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6762
6763 * progmodes/make-mode.el (makefile-browse):
6764 Remove unnecessary interactive. (Bug#11324)
6765
03794570
GM
67662012-05-07 Glenn Morris <rgm@gnu.org>
6767
af8630f4
GM
6768 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6769
03794570
GM
6770 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6771
f0809a9d
SM
67722012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6773
28be5ce7
SM
6774 * loadup.el: Preload newcomment.el.
6775 * newcomment.el: Move autoload-only code to toplevel.
6776
f0809a9d
SM
6777 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6778 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6779 Handle new :right-align column property.
6780 (tabulated-list-print-col): Idem, plus use `display' text-property to
6781 try and preserve alignment for variable pitch fonts.
6782
1241b724
CY
67832012-05-07 Chong Yidong <cyd@gnu.org>
6784
6785 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6786 (tabulated-list-use-header-line): New var.
6787 (tabulated-list-init-header): Use it.
6788 (tabulated-list-print-fake-header): New function.
6789 (tabulated-list-print): Use it.
6790 (tabulated-list-sort-button-map): Add non-header-line commands.
6791 (tabulated-list-init-header): Add column name property to basic
6792 labels as well.
6793 (tabulated-list-col-sort): Handle non-header-line button case.
6794 (tabulated-list--sort-by-column-name): Fix a corner case.
6795
f0809a9d
SM
6796 * buff-menu.el (list-buffers--refresh):
6797 Handle Buffer-menu-use-header-line.
1241b724 6798
e5f9458f
CY
67992012-05-06 Chong Yidong <cyd@gnu.org>
6800
6801 * buff-menu.el: Convert to Tabulated List mode.
6802 (Buffer-menu-buffer+size-width): Make obsolete.
6803 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6804 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6805 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6806 documentation into docstring of buffer-menu.
6807 (Buffer-menu-toggle-files-only): Add an informative message.
6808 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6809 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6810 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6811 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6812 (Buffer-menu-execute, Buffer-menu-select)
6813 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6814 (Buffer-menu-bury): Use Tabulated List machinery.
6815 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6816 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6817 Delete.
e5f9458f
CY
6818 (list-buffers--refresh): New function.
6819 (list-buffers-noselect): Use it.
6820 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6821 (Buffer-menu--pretty-file-name): New helper functions.
6822
6823 * loadup.el: Preload tabulated-list.
6824
6825 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6826 tabulated-list-sort-column.
6827 (tabulated-list-init-header): Add the initial aligning space even
6828 if tabulated-list-padding is zero.
6829
e129292c
CS
68302012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6831
6832 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6833 whose cdr is not a cons cell correctly (bug#11038).
6834
6632d361
CY
68352012-05-06 Chong Yidong <cyd@gnu.org>
6836
e129292c
CS
6837 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6838 Accept additional plist in column descriptors.
6632d361
CY
6839 (tabulated-list-init-header): Obey it.
6840 (tabulated-list-get-entry): New function.
6841 (tabulated-list-put-tag): Use it. Use string-width instead of
6842 length.
6843 (tabulated-list--column-number): New function.
6844 (tabulated-list-print): Use it.
e129292c
CS
6845 (tabulated-list-print-col): New function.
6846 Set `tabulated-list-column-name' property on each column's text.
6632d361 6847 (tabulated-list-print-entry): Use it.
e129292c
CS
6848 (tabulated-list-delete-entry, tabulated-list-set-col):
6849 New functions.
6632d361
CY
6850 (tabulated-list-sort-column): New command (Bug#11337).
6851
3cc99f68
CY
6852 * buff-menu.el (list-buffers): Move C-x C-b binding from
6853 buff-menu.el to bindings.el.
6854
6855 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6856 :advertised-binding feature.
6857
52b61776
TN
68582012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6859
6860 * progmodes/compile.el (compilation-internal-error-properties):
6861 Calculate start position correctly when end-col is set but
6862 end-line is not (Bug#11382).
6863
ebfe2597
WJ
68642012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6865
6866 * man.el (Man-unindent): Use text-property-default-nonsticky to
6867 prevent untabify from inheriting face properties (Bug#11408).
6868
6d3f7c2f
SM
68692012-05-05 Stefan Merten <smerten@oekonux.de>
6870
6871 * textmodes/rst.el: Major merge with upstream development up to
6872 Docutils SVN r7399 / rst.el V1.2.1.
6873
6874 Clarify maintainership and authors.
6875
6876 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6877 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6878 (rst-official-version, rst-official-cvs-rev, rst-version)
6879 (rst-package-emacs-version-alist): New functions and variables
6880 for version information.
6881
6882 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6883 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6884 (rst-mode-syntax-table, rst-mode): New and corrected functions
6885 and variables representing reStructuredText features.
6886
6887 (rst-re): New function for reStructuredText regexes. Use in
6888 many places.
6889
6890 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6891 (rst-mode-map): Rebind keys.
6892
6893 (rst-mode-lazy, rst-font-lock-keywords)
6894 (rst-font-lock-extend-region)
6895 (rst-font-lock-extend-region-internal)
6896 (rst-font-lock-extend-region-extend)
6897 (rst-font-lock-find-unindented-line-limit)
6898 (rst-font-lock-find-unindented-line-match)
6899 (rst-adornment-level, rst-font-lock-adornment-level)
6900 (rst-font-lock-adornment-match)
6901 (rst-font-lock-handle-adornment-pre-match-form)
6902 (rst-font-lock-handle-adornment-matcher): Major revision of
6903 font-locking. Integrate with other code. Use `jit-lock-mode'.
6904
6905 (rst-preferred-adornments, rst-adjust-hook)
6906 (rst-new-adornment-down, rst-preferred-bullets)
6907 (rst-preferred-bullets, rst-indent, rst-indent-width)
6908 (rst-indent-field, rst-indent-literal-normal)
6909 (rst-indent-literal-minimized, rst-indent-comment): Change,
6910 extend and improve customization.
6911
6912 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6913 (rst-normalize-cursor-position, rst-get-decoration)
6914 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6915 (rst-rstrip, rst-toc-insert-find-delete-contents)
6916 (rst-shift-fill-region, rst-compute-bullet-tabs)
6917 (rst-debug-print-tabs, rst-debug-mark-found)
6918 (rst-shift-region-guts, rst-shift-region-right)
6919 (rst-shift-region-left, rst-use-char-classes)
6920 (rst-font-lock-keywords-function)
6921 (rst-font-lock-indentation-point)
6922 (rst-font-lock-find-unindented-line-begin)
6923 (rst-font-lock-find-unindented-line-end)
6924 (rst-font-lock-find-unindented-line)
6925 (rst-font-lock-adornment-point, rst-font-lock-level)
6926 (rst-adornment-level-alist): Remove functions and variables.
6927
6928 (rst-compare-adornments, rst-get-adornment-match)
6929 (rst-suggest-new-adornment, rst-get-adornments-around)
6930 (rst-adornment-complete-p, rst-get-next-adornment)
6931 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6932 (rst-straighten-adornments): Standardize function names to
6933 use "adornment" instead of "decoration". Correct callers.
6934 Similar standardizing in many places.
6935
6936 (rst-update-section, rst-adjust, rst-promote-region)
6937 (rst-enumerate-region, rst-bullet-list-region)
6938 (rst-repeat-last-character): Correct use of `interactive'.
6939
6940 (rst-classify-adornment, rst-find-all-adornments)
6941 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6942 (rst-find-leftmost-column, rst-repeat-last-character):
6943 Refactor functions.
6944
6945 (rst-find-title-line, rst-reset-section-caches)
6946 (rst-get-adornments-around, rst-adjust-adornment-work)
6947 (rst-arabic-to-roman, rst-roman-to-arabic)
6948 (rst-insert-list-pos, rst-insert-list-new-item)
6949 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6950 New functions.
6951
6952 (rst-all-sections, rst-section-hierarchy)
6953 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6954 New variables.
6955
6956 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6957 configuration instead of only buffer. Change where necessary.
6958
6959 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6960 (rst-shift-region, rst-adaptive-fill): New functions for
6961 indentation and filling.
6962
6963 (rst-comment-line-break, rst-comment-indent)
6964 (rst-comment-insert-comment, rst-comment-region)
6965 (rst-uncomment-region): New functions for handling comments.
6966
6967 (rst-compile): Quote shell arguments.
6968
6969 (rst-compile-pdf-preview, rst-compile-slides-preview):
6970 Delete temporary files after use.
6971
a43f98b3
GM
69722012-05-05 Glenn Morris <rgm@gnu.org>
6973
48176e8b
GM
6974 * calendar/cal-html.el: Optionally include holidays in the output.
6975 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6976 (cal-html-holidays): New option.
6977 (cal-html-css-default): Add holiday entry.
6978 (holiday-in-range): Autoload it.
6979 (cal-html-htmlify-entry): Add optional class argument.
6980 (cal-html-htmlify-list): Add optional holidays argument.
6981 (cal-html-insert-agenda-days): Include holidays in the output.
6982 (cal-html-one-month): Maybe include holidays.
6983
a43f98b3
GM
6984 * calendar/holidays.el (holiday-in-range):
6985 Move here from cal-tex-list-holidays.
6986 * calendar/cal-tex.el (cal-tex-list-holidays):
6987 Make it an obsolete alias for holiday-in-range. Update all callers.
6988
fef9d149 69892012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
6990
6991 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6992 Nextstep.
6993
248da2f4
RW
69942012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6995
6996 * files.el (file-auto-mode-skip): New var.
6997 (set-auto-mode-1): Use it.
6998
f95e9344
SM
69992012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7000
df96ab1e
SM
7001 * repeat.el: Use lexical-binding.
7002 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7003 (repeat-undo-count): Remove.
7004 (repeat):
7005 * progmodes/octave-mod.el (octave-abbrev-start):
7006 * progmodes/f90.el (f90-abbrev-start):
7007 * face-remap.el (text-scale-adjust):
7008 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7009
5342bb06
SM
7010 * emacs-lisp/pcase.el (pcase--let*): New function.
7011 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7012 a bit more.
7013 (pcase--split-pred): Be more clever about ruling out overlap between
7014 a predicate and some constant pattern.
7015 (pcase--q1): Use `null' instead of (eq foo nil).
7016
f95e9344
SM
7017 * subr.el (setq-local, defvar-local): New macros.
7018 (kbd): Redefine as an alias.
7019 (with-selected-window): Leave unrelated frames alone.
7020 (set-temporary-overlay-map): New function.
7021
71873e2b
SM
70222012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7023
7024 * subr.el (user-error): New function.
7025 * window.el (switch-to-buffer):
7026 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7027 (smerge-match-conflict):
7028 * simple.el (previous-matching-history-element)
7029 (next-matching-history-element, goto-history-element, undo-more)
7030 (undo-start):
7031 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7032 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7033 (next-file, tags-loop-scan, list-tags, complete-tag):
7034 * progmodes/compile.el (compilation-loop):
7035 * mouse.el (mouse-minibuffer-check):
7036 * man.el (Man-bgproc-sentinel, Man-goto-page):
7037 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7038 (Info-history-forward, Info-follow-reference, Info-menu)
7039 (Info-extract-menu-item, Info-extract-menu-counting)
7040 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7041 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7042 (Info-next-reference, Info-prev-reference, Info-index)
7043 (Info-index-next, Info-follow-nearest-node)
7044 (Info-copy-current-node-name):
7045 * imenu.el (imenu--make-index-alist)
7046 (imenu-default-create-index-function, imenu-add-to-menubar):
7047 * files.el (basic-save-buffer, recover-file):
7048 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7049 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7050 (checkdoc-message-text, checkdoc-defun):
7051 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7052 * cus-edit.el (customize-changed-options, customize-rogue)
7053 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7054 (custom-variable-mark-to-reset-standard)
7055 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7056 (custom-file):
7057 * completion.el (check-completion-length):
7058 * comint.el (comint-search-arg)
7059 (comint-previous-matching-input-string-position)
7060 (comint-previous-matching-input)
7061 (comint-replace-by-expanded-history-before-point, comint-send-input)
7062 (comint-copy-old-input, comint-backward-matching-input)
7063 (comint-goto-process-mark, comint-set-process-mark):
7064 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7065 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7066
8a61ee22
SM
70672012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7068
66408d1e
SM
7069 * dabbrev.el (dabbrev--ignore-case-p): New function.
7070 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7071 Use it.
7072
8a61ee22
SM
7073 * files.el (automount-dir-prefix): Mark as obsolete.
7074
3c74813a
GM
70752012-05-04 Glenn Morris <rgm@gnu.org>
7076
7077 * patcomp.el, play/bruce.el: Move to obsolete/.
7078
0bfcf5c5
PE
70792012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7080
7081 Fix minor Y10k bugs.
7082 * arc-mode.el (archive-unixdate):
7083 * autoinsert.el (auto-insert-alist):
7084 * calc/calc-forms.el (math-this-year):
7085 * emacs-lisp/copyright.el (copyright-current-year)
7086 (copyright-update-year, copyright):
7087 * tar-mode.el (tar-clip-time-string):
7088 * time.el (display-time-update):
7089 Don't assume years have 4 digits.
7090
78f3273a
CY
70912012-05-04 Chong Yidong <cyd@gnu.org>
7092
7093 * dos-w32.el (file-name-buffer-file-type-alist)
7094 (direct-print-region-use-command-dot-com):
7095 * ffap.el (ffap-menu-regexp):
7096 * find-file.el (ff-special-constructs):
7097 * follow.el (follow-debug):
7098 * forms.el (forms--debug):
7099 * iswitchb.el (iswitchb-all-frames):
7100 * ido.el (ido-all-frames):
7101 * emacs-lisp/timer.el (timer-max-repeats):
7102 * mail/feedmail.el (feedmail-mail-send-hook)
7103 (feedmail-mail-send-hook-queued):
7104 * mail/footnote.el (footnote-signature-separator):
7105 * mail/mailabbrev.el (mail-alias-separator-string)
7106 (mail-abbrev-mode-regexp):
7107 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7108 * progmodes/idlwave.el (idlwave-libinfo-file)
7109 (idlwave-default-completion-case-is-down)
7110 (idlwave-library-routines): Convert defvars to defcustoms.
7111
7112 * mail/rmail.el (rmail-decode-mime-charset):
7113 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7114 (idlwave-shell-fix-inserted-breaks)
7115 (idlwave-shell-activate-alt-keybindings)
7116 (idlwave-shell-use-breakpoint-glyph):
7117 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7118
f7ae6719
SM
71192012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7122
47086495
WS
71232012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7124
7125 * progmodes/verilog-mode.el (font-lock-keywords):
7126 Fix mis-highligting auto. Reported by Craig Barner.
7127 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7128 defines from global name space. Reported by Dan Dever.
47086495
WS
7129 (verilog-auto-reset, verilog-auto-reset-widths)
7130 (verilog-auto-tieoff): Support using unbased numbers for
7131 AUTORESET and AUTOTIEOFF.
7132 (verilog-submit-bug-report): Update variable list.
7133 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7134 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7135 (verilog-auto-template-lint): Fix hash error when linting modules
7136 with no used templates.
7137 (verilog-warn, verilog-warn-error)
7138 (verilog-warn-fatal): When non-interactive report multiple
7139 warnings before exiting. Suggested by Brad Dobbie.
7140 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7141 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7142 to report unused template errors. Reported by Brad Dobbie.
7143 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7144 nets, bug438. Reported by Vns Blore.
47086495
WS
7145 (verilog-auto-inout-module, verilog-auto-reg)
7146 (verilog-read-decls, verilog-read-sub-decls-sig)
7147 (verilog-signals-edit-wire-reg, verilog-signals-with):
7148 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7149 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7150 "reg" for backwards compatibility presuming Verilog 2001.
7151 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7152 (verilog-preprocess): Fix replication of preprocess output.
7153 Reported by Brad Dobbie.
7154 (verilog-auto-inst-interfaced-ports):
7155 Create verilog-auto-inst-interfaced-ports, bug429.
7156 Reported by Julian Gorfajn.
7157 (verilog-after-save-font-hook)
7158 (verilog-before-save-font-hook): New variable.
7159 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7160 (verilog-save-font-mods): Wrap disabling fontification, reported
7161 by David Rogoff.
7162 (verilog-do-indent, verilog-pretty-declarations-auto)
7163 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7164 Reported by Pierre-David Pfister.
7165 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7166 of class declarations, bug292. Reported by Kevin Heilman.
7167 (verilog-read-decls): Fix 'parameter type' not appearing in
7168 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7169 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7170 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7171 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7172 Reported by David Kravitz.
7173
71742012-05-03 Michael McNamara <mac@mail.brushroad.com>
7175
7176 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7177 assignment with tests in ifs and for loops.
7178 (verilog-extended-complete-re, verilog-complete-reg): Change so
7179 that DPI inport functions don't look like fuction declarations.
7180 (verilog-pretty-expr): Don't line up assignment
7181 operations to the test and increment in if and for loops
7182 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7183 that DPI inport functions don't look like fuction declarations.
47086495 7184
2e51d4b5
KH
71852012-05-03 Kenichi Handa <handa@m17n.org>
7186
7187 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7188 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7189 (Bug#11282).
7190
2bd785a2
SM
71912012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * emacs-lisp/bytecomp.el
7194 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7195 since cconv.el might have introduced :fun-body, internal-make-closure,
7196 and friends for bytecomp to handle (bug#11391).
7197 * custom.el (defcustom): Avoid ((λ ..) ..).
7198
99d27583
SM
71992012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7202
55a71479
JB
72032012-05-02 Juanma Barranquero <lekktu@gmail.com>
7204
7205 * notifications.el (dbus-debug):
7206 * term/linux.el (gpm-mouse-enable):
7207 * term/screen.el (xterm-register-default-colors): Declare.
7208
7b97c764
CY
72092012-05-02 Chong Yidong <cyd@gnu.org>
7210
2bc356d7
CY
7211 * cus-start.el (gc-cons-percentage, exec-suffixes)
7212 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7213 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7214 (make-cursor-line-fully-visible, void-text-area-pointer)
7215 (font-list-limit): Add customization data.
7216
7b97c764
CY
7217 * allout.el (allout-exposure-change-functions)
7218 (allout-structure-added-functions)
7219 (allout-structure-deleted-functions)
7220 (allout-structure-shifted-functions): Rename abnormal hooks from
7221 *-hook, and convert to defcustoms.
5d3385a0
JB
7222 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7223 Convert to defcustoms.
7b97c764
CY
7224 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7225
7226 * allout-widgets.el: Hook callers changed.
7227
90207a15 72282012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7229
7230 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7231 the yanked message in preference to the default value of
7232 buffer-file-coding-system.
7233
90207a15 72342012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7235
5d3385a0
JB
7236 * window.el (display-buffer--action-function-custom-type):
7237 Fix entry.
d9558cad 7238
90207a15 72392012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7240
7241 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7242
d80ac57b
GM
72432012-05-01 Glenn Morris <rgm@gnu.org>
7244
976f7668
GM
7245 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7246
beb83b5a
GM
7247 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7248
d80ac57b
GM
7249 * cus-edit.el (custom-variable-documentation): Simplify with format.
7250
b593d6a9 72512012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7252 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7253
7254 * simple.el (suggest-key-bindings, execute-extended-command):
7255 Move from keyboard.c.
7256
782fbf2a
CY
72572012-05-01 Chong Yidong <cyd@gnu.org>
7258
7259 * follow.el: Eliminate advice.
7260 (set-process-filter, process-filter, sit-for): Advice deleted.
7261 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7262 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7263 Vars deleted.
782fbf2a
CY
7264 (follow-auto): Use a :set function.
7265 (follow-mode): Rewritten. Don't advise process filters.
7266 (follow-switch-to-current-buffer-all, follow-scroll-up)
7267 (follow-scroll-down): Assume follow-mode is bound.
7268 (follow-comint-scroll-to-bottom)
7269 (follow-align-compilation-windows): New functions.
7270 (follow--window-sorter): New function.
7271 (follow-all-followers): Use it to explicitly sort windows by their
7272 positions; don't make assumptions about next-window order.
7273 (follow-windows-start-end, follow-delete-other-windows-and-split)
7274 (follow-calc-win-start): Doc fix.
7275 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7276 vertical-motion unnecessarily.
7277 (follow-adjust-window): New function.
7278 (follow-post-command-hook): Use it.
7279 (follow-call-set-process-filter, follow-call-process-filter)
7280 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7281 (follow-stop-intercept-process-output, follow-generic-filter):
7282 Functions deleted.
7283 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7284 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7285 New functions, replacing advice on scroll-bar-* commands.
87233a14 7286 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7287
7288 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7289 (comint-postoutput-scroll-to-bottom): Use it.
7290 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7291
290af740
GM
72922012-05-01 Glenn Morris <rgm@gnu.org>
7293
7294 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7295 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7296 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7297 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7298 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7299 Remove no-byte-compile setting.
7300
6eac8dc9
SM
73012012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7302
7303 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7304 all-completions code to not return a number in the last cdr.
7305
9cc7819c
LL
73062012-04-30 Leo Liu <sdl.web@gmail.com>
7307
7308 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7309 read-only error.
7310
c93b886f
CY
73112012-04-29 Chong Yidong <cyd@gnu.org>
7312
7313 * follow.el (follow-calc-win-end): Rewrite to handle partial
7314 screen lines correctly (Bug#8390).
7315 (follow-avoid-tail-recenter): Minor cleanup.
7316
8b6c19f4
SM
73172012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7318
7319 Avoid the obsolete `assoc' package.
7320 * speedbar.el (speedbar-refresh): Avoid adelete.
7321 (speedbar-file-lists): Simplify and avoid aput.
7322 * man.el (Man--sections, Man--refpages): New vars, replacing
7323 Man-sections-alist and Man-refpages-alist.
7324 (Man-build-section-alist, Man-build-references-alist):
7325 Use them; avoid aput.
7326 (Man--last-section, Man--last-refpage): New vars.
7327 (Man-follow-manual-reference): Use them.
7328 Use the `default' arg of completing-read.
7329 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7330
c5bb7569
CY
73312012-04-27 Chong Yidong <cyd@gnu.org>
7332
d1d2e2e8
CY
7333 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7334
15cd8efd
CY
7335 * startup.el (x-apply-session-resources): New function.
7336
7337 * term/ns-win.el (ns-initialize-window-system):
7338 * term/w32-win.el (w32-initialize-window-system):
7339 * term/x-win.el (x-initialize-window-system): Use it to properly
7340 set menu-bar-mode and other vars from X resources, even if the
7341 initial frame is not a window-system frame (Bug#2299).
7342
c5bb7569
CY
7343 * subr.el (read-key): Avoid running filter function when setting
7344 up temporary tool bar entries (Bug#9922).
7345
a8e7d6d7 73462012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7347
7348 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7349 (Bug#11344)
7350
a8e7d6d7 73512012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7352
7353 * select.el (xselect--encode-string): New function, split from
7354 xselect-convert-to-string.
7355 (xselect-convert-to-string): Use it.
7356 (xselect-convert-to-filename, xselect-convert-to-os)
7357 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7358 returned strings are properly encoded (Bug#11315).
7359
a8e7d6d7 73602012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7361
7362 * simple.el (delete-active-region): Move to killing custom group.
7363
a8e7d6d7 73642012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7365
7366 * progmodes/which-func.el (which-func-current): Quote %
7367 characters for mode-line processing.
7368
578c1d4b 73692012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7370
7371 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7372 reaching eob (Bug#11286).
7373
a8e7d6d7 73742012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7375
7376 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7377 (gdb): Make it buffer-local and init to zero.
7378 (gdb-control-commands-regexp): New variable.
7379 (gdb-send): Don't wrap in "-interpreter-exec console" if
7380 gdb-control-level is positive. Increment gdb-control-level
7381 whenever the command matches gdb-control-commands-regexp, and
7382 decrement it each time the command is "end". (Bug#11279)
7383
a8e7d6d7 73842012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7385
7386 * window.el (adjust-window-trailing-edge, enlarge-window)
7387 (shrink-window, window-resize):
7388 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7389 windows (Bug#11276).
7390
b3608390
CY
73912012-04-27 Chong Yidong <cyd@gnu.org>
7392
7393 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7394 fix "missing prefix" warning. All callers changed.
b3608390 7395
797e6e88
SM
73962012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7397
7398 * emacs-lisp/assoc.el: Move to obsolete/.
7399
e95a67dc
SM
74002012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7401
657c21e4 7402 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7403
7404 * term/ns-win.el (ns-define-service):
7405 * progmodes/pascal.el (pascal-goto-defun):
7406 * progmodes/js.el (js--read-tab):
7407 * progmodes/etags.el (tags-lazy-completion-table):
7408 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7409 * emacs-lisp/ewoc.el (ewoc--wrap):
7410 * emacs-lisp/assoc.el (aput, adelete, amake):
7411 * doc-view.el (doc-view-convert-current-doc):
7412 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7413
cb3e7ae0
CY
74142012-04-26 Chong Yidong <cyd@gnu.org>
7415
dce04f7f
CY
7416 * image.el (image-type-from-buffer): Only return supported image
7417 type (Bug#9045).
7418
cb3e7ae0
CY
7419 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7420 value, for symmetry with diff-end-of-hunk.
7421 (diff-split-hunk, diff-find-source-location)
7422 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7423 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7424 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7425 compute the relevant hunk or file properly (Bug#6005).
7426 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7427
0d42eb3e
SM
74282012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * vc/vc-mtn.el:
7431 * vc/vc-hg.el:
7432 * vc/vc-git.el:
7433 * vc/vc-dir.el:
7434 * vc/vc-cvs.el:
7435 * vc/vc-bzr.el:
7436 * vc/vc-arch.el:
7437 * vc/vc.el: Replace lexical-let by lexical-binding.
7438 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7439 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7440 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7441
f08ae1c9
CY
74422012-04-26 Chong Yidong <cyd@gnu.org>
7443
8b71081d
CY
7444 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7445 (diff-mode-shared-map): Bind it to / and [remap undo].
7446
f08ae1c9
CY
7447 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7448 (ediff-window-setup-function): Use it as the default, to set up
7449 windows based on whether the current frame is graphical (Bug#2138).
7450 (ediff-choose-window-setup-function-automatically): Make obsolete.
7451
7452 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7453
ef24141c
SM
74542012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7455
cc356a5d
SM
7456 * ffap.el: Remove old code for obsolete package.
7457 (ffap-complete-as-file-p): Remove.
7458
b4ff4f1f
SM
7459 Use completion-table-with-quoting for comint and pcomplete.
7460 * comint.el (comint--unquote&requote-argument)
7461 (comint--unquote-argument, comint--requote-argument): New functions.
7462 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7463 (comint-quote-filename): Use regexp-opt-charset.
7464 (comint--common-suffix, comint--common-quoted-suffix)
7465 (comint--table-subvert): Remove.
7466 (comint-unquote-function, comint-requote-function): New vars.
7467 (comint--complete-file-name-data): Use them with
7468 completion-table-with-quoting.
7469 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7470 * pcomplete.el (pcomplete-arg-quote-list)
7471 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7472 (pcomplete-unquote-argument-function): Default to non-nil.
7473 (pcomplete-unquote-argument): Simplify.
7474 (pcomplete--common-quoted-suffix): Remove.
7475 (pcomplete-requote-argument-function): New var.
7476 (pcomplete--common-suffix): New function.
7477 (pcomplete-completions-at-point): Use completion-table-with-quoting
7478 and completion-table-subvert.
7479
79c4eeb4
SM
7480 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7481 (minibuffer--double-dollars): Preserve properties.
7482 (completion--sifn-requote): New function.
7483 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7484
ef24141c
SM
7485 * minibuffer.el: Add support for completion of quoted/escaped data.
7486 (completion-table-with-quoting, completion-table-subvert): New funs.
7487 (completion--twq-try, completion--twq-all): New functions.
7488 (completion--nth-completion): New function.
7489 (completion-try-completion, completion-all-completions): Use it.
7490
784e7d6e
LL
74912012-04-25 Leo Liu <sdl.web@gmail.com>
7492
dd2ac746
SM
7493 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7494 Use compilation-message if available to find real filename.
784e7d6e 7495
07875ee7
CY
74962012-04-25 Chong Yidong <cyd@gnu.org>
7497
7498 * vc/diff-mode.el (diff-setup-whitespace): New function.
7499 (diff-mode): Use it.
7500
7501 * vc/diff.el (diff-sentinel):
7502 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7503 Whitespace mode variables based on diff style (Bug#8612).
7504
5055880d
LL
75052012-04-25 Leo Liu <sdl.web@gmail.com>
7506
daf75653
LL
7507 * progmodes/python.el (python-send-region): Add suffix .py to the
7508 temp file.
7509
5055880d
LL
7510 * files.el (auto-mode-alist): Use javascript-mode instead.
7511
db9b177b
AH
75122012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7513
ef24141c 7514 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7515
090bd7cb 7516 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7517 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7518 references, see Bug#9.
ef24141c 7519 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7520 when receiving a fault reply.
ef24141c 7521 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7522
090bd7cb 7523 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7524 (soap-inspect-simple-type): New function.
db9b177b 7525
090bd7cb 7526 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7527 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7528 (soap-decode-basic-type, soap-encode-basic-type):
7529 support unsignedInt and double basic types.
db9b177b 7530 (soap-resolve-references-for-simple-type)
ef24141c
SM
7531 (soap-parse-simple-type, soap-encode-simple-type): New function.
7532 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7533
090bd7cb 7534 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7535 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7536 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7537 the local name of "soapenc:Array".
7538 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7539 decoding integer, byte and anyURI xsd types.
7540
1fc6097b
CY
75412012-04-25 Chong Yidong <cyd@gnu.org>
7542
7543 * cus-edit.el (custom-buffer-create-internal): Update header text.
7544
afc6df87
EZ
75452012-04-25 Eli Zaretskii <eliz@gnu.org>
7546
7547 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7548 settings on 'system-type', not on 'window-system'. On MS-Windows,
7549 set interactive-mode on in GDB.
7550
dfbd787f
SM
75512012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7552
7553 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7554 (ruby-syntax-propertize-regexp): Remove.
7555 (ruby-syntax-propertize-function): Split regexp into chunks.
7556 Match following code directly.
7557
85222d44
DG
75582012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7559
51a8ea2a
DG
7560 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7561 (ruby-syntax-propertize-regexp): New function.
7562 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7563 by a special keyword.
7564
85222d44
DG
7565 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7566 (ruby-syntax-general-delimiters-goto-beg)
7567 (ruby-syntax-propertize-general-delimiters): New functions.
7568 (ruby-syntax-propertize-function): Use them to handle GDL.
7569 (ruby-font-lock-keywords): Move old handling of GDL...
7570 (ruby-font-lock-syntactic-keywords): .. to here.
7571 (ruby-calculate-indent): Adjust indentation for GDL.
7572
b613912b
MA
75732012-04-24 Michael Albinus <michael.albinus@gmx.de>
7574
b5380639
MA
7575 * notifications.el (top): Remove unneeded declarations.
7576 (notifications-specification-version): Change to "1.2".
e43042fe 7577 (notifications-interface, notifications-notify-method)
b613912b
MA
7578 (notifications-close-notification-method): Fix docstring.
7579 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7580 (notifications-notify): Add :action-items, :resident and
7581 :transient hints. Change "image_data" to "image-data" and
7582 "image_path" to "image-path".
b613912b
MA
7583 (notifications-get-capabilities): New defun.
7584
257440aa
LL
75852012-04-24 Leo Liu <sdl.web@gmail.com>
7586
7587 * progmodes/python.el: Move hideshow setup to the end.
7588
b1bac16e
MR
75892012-04-24 Martin Rudalics <rudalics@gmx.at>
7590
7591 * window.el (handle-select-window): Clear echo area since this is
7592 no more done by read_char (Bug#11304).
7593
d81bd059
SM
75942012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7597 and `/ M' to filter-derived-mode.
7598 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7599 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7600 (ibuffer-mark-by-mode): Use default rather than initial-input.
7601 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7602
c4cf6d91
IA
76032012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7604
7605 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7606 (ibuffer-filter-by-derived-mode): New filter.
7607 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7608
7511ded8
CY
76092012-04-23 Andreas Politz <politza@fh-trier.de>
7610
7611 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7612
775c916b
CY
76132012-04-23 Chong Yidong <cyd@gnu.org>
7614
7615 * cus-edit.el (customize-apropos, customize-apropos-options):
7616 Disable matching of non-option variables (Bug#11176).
7617 (customize-option, customize-option-other-window)
7618 (customize-changed-options): Doc fix.
7619 (customize-apropos-options, customize-apropos-faces)
7620 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7621
7622 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7623 Fix word list splitting (Bug#11132).
46c71e23
CY
7624 (apropos-symbol, apropos-keybinding, apropos-label)
7625 (apropos-property, apropos-function-button)
7626 (apropos-variable-button, apropos-misc-button): New faces.
7627 (apropos-symbol-face, apropos-keybinding-face)
7628 (apropos-label-face, apropos-property-face, apropos-match-face):
7629 Variables removed (Bug#8396).
7630 (apropos-library-button, apropos-format-plist, apropos-print)
7631 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7632
2df41f9c
MA
76332012-04-23 Michael Albinus <michael.albinus@gmx.de>
7634
7635 * net/xesam.el (xesam-mode-map): Use let-bound map in
7636 initialization. (Bug#11292)
7637
da00640a
AM
76382012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7639
7640 Preserve ispell session localwords when switching back to
7641 original buffer.
7642
090bd7cb
JB
7643 * textmodes/ispell.el (ispell-buffer-session-localwords):
7644 New buffer-local variable to hold buffer session localwords.
ed9265fc 7645 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7646 localwords.
7647 (ispell-command-loop, ispell-change-dictionary)
7648 (ispell-buffer-local-words): Preserve session localwords when
7649 needed.
7650
090bd7cb
JB
7651 * textmodes/flyspell.el (flyspell-process-localwords)
7652 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7653
f621ccf5
AM
76542012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7655
090bd7cb
JB
7656 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7657 using obsolete `translation-table-for-input'.
ef24141c
SM
7658 (ispell-word, ispell-process-line, ispell-complete-word):
7659 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7660
c2d1019e
CY
76612012-04-22 Chong Yidong <cyd@gnu.org>
7662
7663 * cus-edit.el (custom-variable-menu)
7664 (custom-variable-reset-saved, custom-face-menu)
7665 (custom-face-reset-saved): If there is no saved value, make the
7666 "reset-saved" operation bring back the default (Bug#9509).
7667 (custom-face-state): Properly detect themed faces.
7668
eeddc531
CY
7669 * faces.el (face-spec-set): Stop supporting deprecated form of
7670 third arg.
7671
dcbf5805
MA
76722012-04-22 Michael Albinus <michael.albinus@gmx.de>
7673
7674 Move functions from C to Lisp. Make non-blocking method calls
7675 the default. Implement further D-Bus standard interfaces.
7676
ef24141c
SM
7677 * net/dbus.el (dbus-message-internal): Declare function.
7678 Remove unneeded function declarations.
dcbf5805
MA
7679 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7680 (dbus-message-type-method-return, dbus-message-type-error)
7681 (dbus-message-type-signal): Declare variables. Remove local
7682 definitions.
7683 (dbus-interface-dbus, dbus-interface-peer)
7684 (dbus-interface-introspectable, dbus-interface-properties)
7685 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7686 Adapt docstring.
7687 (dbus-interface-objectmanager): New defconst.
7688 (dbus-call-method, dbus-call-method-asynchronously)
7689 (dbus-send-signal, dbus-method-return-internal)
7690 (dbus-method-error-internal, dbus-register-service)
7691 (dbus-register-signal, dbus-register-method): New defuns, moved
7692 from dbusbind.c
7693 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7694 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7695 New defuns.
dcbf5805
MA
7696 (dbus-call-method-non-blocking): Make it an obsolete function.
7697 (dbus-unregister-object, dbus-unregister-service)
7698 (dbus-handle-event, dbus-register-property)
7699 (dbus-property-handler): Obey the new structure of
7700 `bus-registered-objects'.
7701 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7702 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7703 Use `dbus-call-method'.
7704
cf20dee0
CY
77052012-04-22 Chong Yidong <cyd@gnu.org>
7706
7707 * cus-edit.el (custom-commands, custom-reset-menu)
7708 (Custom-reset-standard): Tweak labels.
7709 (custom-reset-button-menu): Change default to t.
7710 (custom-buffer-create-internal): For the custom-reset-button-menu
7711 case, put the revert button first.
7712 (custom-group-subtitle): New face.
7713 (custom-group-value-create): Align docstring to a specific column.
7714
7715 * wid-edit.el (widget-documentation-link-add): Don't handle
7716 indentation in this function.
7717 (widget-documentation-string-indent-to): New function.
7718 (widget-documentation-string-value-create): Use it.
7719
7720 * autorevert.el (auto-revert):
7721 * epg-config.el (epg):
7722 * ibuffer.el (ibuffer):
7723 * mpc.el (mpc):
7724 * ses.el (ses):
7725 * eshell/eshell.el (eshell):
7726 * net/ange-ftp.el (ange-ftp):
7727 * progmodes/ebnf2ps.el (postscript):
7728 * progmodes/flymake.el (flymake):
7729 * progmodes/prolog.el (prolog):
7730 * progmodes/verilog-mode.el (verilog-mode):
7731 * progmodes/which-func.el (which-func):
7732 * term/xterm.el (xterm):
7733 * textmodes/picture.el (picture):
7734 * textmodes/tildify.el (tildify):
7735 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7736 customization buffers.
7737
583e23bd
AM
77382012-04-22 Alan Mackenzie <acm@muc.de>
7739
7740 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7741 Adding a ) can hide the resulting (..) from searches. Fix it.
7742 Bound the backward search to the position of the existing (.
7743
7dd51bf1
JB
77442012-04-21 Juanma Barranquero <lekktu@gmail.com>
7745
7746 * progmodes/verilog-mode.el (verilog-mode): Check whether
7747 which-func-modes is t before adding verilog-mode.
7748 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7749
d64a438f
LL
77502012-04-21 Leo Liu <sdl.web@gmail.com>
7751
7dd51bf1 7752 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7753
081e8d65
MV
77542012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7755
7756 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7757 filling of the last column of a table (Bug#5635).
7758 (woman-find-next-control-line): New arg, specifying an additional
7759 regexp component for the control line.
7760 (woman2-roff-buffer): Use it.
7761 (woman-break-table): New function.
7762 (woman2-TS): Use it.
7763
77642012-04-21 Chong Yidong <cyd@gnu.org>
7765
7766 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7767 (woman-horizontal-escapes, woman-negative-vertical-space)
7768 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7769 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7770
ed571ccb
SM
77712012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7772
7773 * minibuffer.el (completion-file-name-table): Complete user names.
7774
39773899
LL
77752012-04-20 Leo Liu <sdl.web@gmail.com>
7776
7777 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7778 and pcase-let*.
7779
de6ff46d
CY
77802012-04-20 Chong Yidong <cyd@gnu.org>
7781
7782 * server.el (server-execute): Respect initial-buffer-choice if it
7783 is a string and there are no files to open (Bug#2825).
7784 (server-create-window-system-frame, server-create-tty-frame):
7785 Don't switch buffers here.
2d0e8e61
CY
7786 (server-process-filter): Only try to open a window system frame if
7787 compiled with graphical support (Bug#8314).
de6ff46d 7788
54071013
DN
77892012-04-20 Dan Nicolaescu <dann@gnu.org>
7790
7791 * battery.el (battery-echo-area-format): Display remaining time
7792 for sysfs backend too (Bug#11269).
7793 (battery-linux-sysfs): Fix conditional for the charge.
7794
f30d612a
CY
77952012-04-20 Chong Yidong <cyd@gnu.org>
7796
c07a4c0b 7797 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7798 (gdb-inferior-io--init-proc): New function.
7799 (gdb-init-1): Use it.
7800 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7801 responsible for allocating a new pty and hooking it to gdb when
7802 the old pty gets an EIO due to process exit.
7803 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7804 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7805 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7806
2116e93c
EZ
78072012-04-20 Eli Zaretskii <eliz@gnu.org>
7808
7809 * window.el (window-min-size, window-sizable, window-min-delta)
7810 (window-max-delta, window--resizable, window-resizable)
7811 (window-total-size, window-full-height-p, window-full-width-p)
7812 (window-in-direction, window--resize-mini-window, window-resize)
7813 (window--resize-child-windows-normal)
7814 (window--resize-child-windows, window--resize-siblings)
7815 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7816 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7817
c07a4c0b 78182012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7819
ef24141c
SM
7820 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7821 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7822 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7823 pty process (Bug#11273).
7824 (gdb-update): New arg to suppress talking to the gdb process.
7825 (gdb-done-or-error): Use it.
7826 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7827 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7828 sentinel not being called.
7829
7830 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7831
d02766ab
CY
7832 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7833
c07a4c0b 78342012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7835
7836 * net/network-stream.el (open-network-stream): Doc fix.
7837
c07a4c0b 78382012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7839
7840 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7841
c07a4c0b 78422012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7843
7844 Ensure searching for keywords is case sensitive.
7845
7846 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7847 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7848 (c-defun-name, c-mark-function, c-cpp-define-name)
7849 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7850 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7851
ef24141c
SM
7852 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7853 Bind case-fold-search to nil.
f0f6bc35 7854
c07a4c0b 78552012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7856
7857 * mail/sendmail.el (mail-bury): Call return action with the right
7858 Rmail buffer (Bug#11242).
7859
9a864fa2
CY
7860 * server.el (server-process-filter): Handle corner case where both
7861 tty and nowait options are present (Bug#11102).
7862
539aa513
EZ
78632012-04-20 Eli Zaretskii <eliz@gnu.org>
7864
7865 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7866 (top level): Put into the executable the ident-style '$Id:' tag on
7867 windows-nt as well.
539aa513 7868
cfc7d5da
SM
78692012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * electric.el (electric-indent-post-self-insert-function): Check that
7872 electric-indent-mode is enabled in current buffer.
7873
5b01685c
JB
78742012-04-19 Juanma Barranquero <lekktu@gmail.com>
7875
7876 * imenu.el (imenu-progress-message): Restore; it is "used" in
7877 erc/erc-imenu.el and net/snmp-mode.el.
7878
4d6769e1
JB
78792012-04-19 Juanma Barranquero <lekktu@gmail.com>
7880
7881 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7882 (mouse-avoidance-nudge-mouse): Remove unused binding.
7883
7884 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7885
7886 * descr-text.el (describe-char):
7887 * progmodes/python.el (python-describe-symbol):
7888 Don't call `toggle-read-only', set `buffer-read-only'.
7889
7890 * imenu.el (imenu-default-goto-function): Mark unused args.
7891 (imenu-progress-message): Remove obsolete macro; all callers changed.
7892
7893 * subr.el (keymap-canonicalize): Remove unused binding.
7894 (read-passwd): Mark unused arg.
7895
7896 * tutorial.el (tutorial--display-changes): Remove unused binding.
7897 (tutorial--save-tutorial-to): Remove unused variable.
7898
7899 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7900 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7901 (package-generate-autoloads, package-menu--generate)
7902 (package-menu--find-upgrades): Remove unused bindings.
7903
7904 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7905 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7906 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7907 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7908 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7909 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7910 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7911 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7912 (cua-delete-char-rectangle): Mark unused args.
7913 (cua-align-rectangle): Remove unused binding.
7914
7915 * mail/rmail.el (compilation--message->loc)
7916 (epa--find-coding-system-for-mime-charset): Declare.
7917
7918 * net/dbus.el (dbus-register-service): Declare.
7919 (dbus-name-owner-changed-handler): Remove unused binding.
7920
7921 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7922 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7923 (nxml-scan-backward-within): Mark unused arg.
7924 (nxml-dynamic-markup-word): Remove unused binding.
7925
7926 * mouse.el (mouse-menu-major-mode-map):
7927 * emacs-lisp/authors.el (authors-scan-change-log)
7928 (authors-add-to-author-list):
7929 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7930 * emacs-lisp/smie.el (smie-auto-fill):
7931 * mail/sendmail.el (mail-bury):
7932 * mail/unrmail.el (unrmail):
7933 * net/tls.el (open-tls-stream):
7934 * textmodes/picture.el (picture-mouse-set-point):
7935 Remove unused bindings.
7936
8c8fc5df
MA
79372012-04-19 Michael Albinus <michael.albinus@gmx.de>
7938
7939 * net/tramp.el (tramp-action-password): Let-bind
7940 `enable-recursive-minibuffers' to t.
7941
a77b0ac9
SS
79422012-04-18 Sam Steingold <sds@gnu.org>
7943
7944 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7945 instead of 'string to accommodate values like [f11].
7946 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7947 * progmodes/gdb-mi.el: Likewise.
7948
12a106a9
LL
79492012-04-18 Leo Liu <sdl.web@gmail.com>
7950
7951 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7952 current buffer.
7953 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7954 LOCAL is nil.
7955
bc6494ef
CY
79562012-04-18 Chong Yidong <cyd@gnu.org>
7957
7958 * simple.el (line-move): Use forward-line if in batch mode
7959 (Bug#11053).
7960
c09c46b2
CS
79612012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7962
7963 * files.el (after-find-file): Do not try to add a final newline if
7964 the buffer is read-only (Bug#11156).
7965
5f6530ea
RS
79662012-04-17 Richard Stallman <rms@gnu.org>
7967
7968 * mail/rmail.el (rmail-start-mail):
7969 Pass (rmail-mail-return...) for the return-action.
7970 Pass (rmail-yank-current-message...) for the yank-action.
7971 (rmail-yank-current-message): New function.
7972 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7973 (rmail-reply): Likewise.
7974 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7975
7976 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 7977 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
7978 buffer, not newbuf.
7979
197b6f3c
JB
79802012-04-17 Juanma Barranquero <lekktu@gmail.com>
7981
7982 * server.el (server-ensure-safe-dir): Simplify.
7983
2311d8e5 79842012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 7985
2311d8e5
GM
7986 * emacs-lisp/smie.el: Provide smarter auto-filling.
7987 (smie-auto-fill): New function.
7988 (smie-setup): Use it.
98fb480e 7989
2311d8e5
GM
7990 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7991
79922012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
7993
7994 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7995 (comment-indent): Use it.
7996
2311d8e5 79972012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
7998
7999 * ses.el: The overall change is to add cell renaming, that is
8000 setting fancy names for cell symbols other than name matching
8001 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8002 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8003 (ses-create-cell-variable): New defun.
2311d8e5 8004 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8005 (ses-relocate-formula): Relocate formulas only for cells the
8006 symbols of which are not renamed, i.e. symbols whose names do not
8007 match regexp "\\`[A-Z]+[0-9]+\\'".
8008 (ses-relocate-all): Relocate values only for cells the symbols of
8009 which are not renamed.
8010 (ses-load): Create cells variables as the (ses-cell ...) are read,
8011 in order to check row col consistency with cell symbol name only
8012 for cells that are not renamed.
8013 (ses-replace-name-in-formula): New defun.
8014 (ses-rename-cell): New defun.
4bdf2ad2 8015
fc72b15c
PO
80162012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8017
8018 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8019 New option (bug#11118).
8020 (perl-calculate-indent): Respect it.
8021
12e10e61
GM
80222012-04-17 Glenn Morris <rgm@gnu.org>
8023
8024 * dired-aux.el (dired-mark-read-string): Doc fix.
8025
30009afd
DA
80262012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8027
8028 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8029 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8030
41f03f4d
GM
80312012-04-17 Glenn Morris <rgm@gnu.org>
8032
8033 * mouse.el (mouse-drag-track):
8034 * speedbar.el (speedbar-frame-mode):
8035 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8036
f45f90f3
LL
80372012-04-16 Leo Liu <sdl.web@gmail.com>
8038
8039 * progmodes/python.el: Trivial cleanup.
8040
94ee8db5
GM
80412012-04-16 Glenn Morris <rgm@gnu.org>
8042
121b8917
GM
8043 * vc/vc.el (vc-string-prefix-p):
8044 * vc/pcvs-util.el (cvs-string-prefix-p):
8045 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8046 * mpc.el (mpc-string-prefix-p):
8047 Make all of these into obsolete aliases for string-prefix-p.
8048 Update callers.
8049 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8050
1197ecfa
GM
8051 * textmodes/two-column.el: Move custom options to the start.
8052 (frame-width): Remove compat definition.
8053 (2C-associate-buffer, 2C-dissociate):
8054 Use with-current-buffer rather than save-excursion.
8055 (2C-dissociate): Force a mode-line update.
8056 (2C-autoscroll): Use ignore-errors.
8057
099e7202
GM
8058 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8059 Autoload trivia.
8060
bf350d6a
GM
8061 * emacs-lisp/cl-extra.el (*random-state*):
8062 Remove unnecessary declaration.
8063
0e829eab
GM
8064 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8065
e3ad7552
GM
8066 * play/cookie1.el (cookie-snarf):
8067 Give an explicit error if input file cannot be read.
8068
68892d27
GM
8069 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8070
20f0c46d
GM
8071 * progmodes/perl-mode.el (c-macro-expand):
8072 Remove unnecessary autoload (it is in loaddefs.el).
8073
5a0978ce
GM
8074 * textmodes/picture.el (picture-desired-column)
8075 (picture-update-desired-column): Convert comments to doc-strings.
8076 (picture-substitute): Remove function.
8077 (picture-mode-map): Initialize in the defvar.
8078
6b955486
GM
8079 * woman.el: Remove eval-after-load for tar-mode.
8080 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8081 (woman-tar-extract-file): Autoload it.
8082
94ee8db5
GM
8083 * frame.el (automatic-hscrolling): Make this alias obsolete.
8084
177eca34
AM
80852012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8086
090bd7cb 8087 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8088 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8089 (ispell-dictionary-base-alist): Revert to original XEmacs
8090 friendly version for default. [:alpha:] will be added in
090bd7cb 8091 `ispell-set-spellchecker-params' if needed.
177eca34 8092
c505aaeb
CY
80932012-04-16 Chong Yidong <cyd@gnu.org>
8094
b19dd9d1 8095 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8096 (imagemagick-register-types): Use it.
8097 (imagemagick-types-inhibit): Add :set function. Allow new value
8098 of t to inhibit all types.
8099
8100 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8101 so we can preload it.
8102
8103 * loadup.el (fboundp): Preload regexp-opt, needed by
8104 imagemagick-register-types.
8105
60efac0f
CY
81062012-04-15 Chong Yidong <cyd@gnu.org>
8107
8108 * frame.el (scrolling): Remove nearly unused customization group.
8109
8110 * scroll-all.el (scroll-all-mode): Move to windows group.
8111
5dd1713e
CY
81122012-04-15 Chong Yidong <cyd@gnu.org>
8113
8114 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8115
e6fd457e
CY
81162012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8119 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8120
e153c136
GM
81212012-04-15 Glenn Morris <rgm@gnu.org>
8122
8123 * simple.el (process-file-side-effects): Doc fix.
8124
e6fd457e 81252012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8126
8127 * international/mule-cmds.el (set-language-environment): Doc fix.
8128
3603c3b1
JB
81292012-04-14 Juanma Barranquero <lekktu@gmail.com>
8130
8131 * server.el (server-auth-key, server-generate-key): Doc fixes.
8132 (server-get-auth-key): Doc fix. Use `string-match-p'.
8133 (server-start): Reflow docstring.
8134
e6de100c
LI
81352012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8136
8137 * server.el (server-generate-key): `called-interactively-p'
8138 requires a parameter.
8139
29734c21
MN
81402012-04-14 Michal Nazarewicz <mina86@mina86.com>
8141
8142 * server.el (server-auth-key): New variable.
75f1671a 8143 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8144 (server-start): Use the new variable and functions to allow
8145 setting a permanent server key (bug#9423).
8146
d65c9521
LL
81472012-04-14 Leo Liu <sdl.web@gmail.com>
8148
8149 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8150
5ae255c7
PE
81512012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8152
8153 Spelling fixes.
8154 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8155 Emacs uses American spelling.
8156
d5e6342e
JB
81572012-04-14 Juanma Barranquero <lekktu@gmail.com>
8158
8159 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8160 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8161 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8162 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8163
ab036cd7
SM
81642012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * progmodes/which-func.el (which-func-modes): Change default.
8167
35dc09a1 81682012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8169
8170 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8171 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8172
35dc09a1 81732012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8174
8175 * custom.el (custom-theme-set-variables): Doc fix.
8176
35dc09a1 81772012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8178
8179 * international/mule.el (set-auto-coding-for-load): Doc fix.
8180
35dc09a1 81812012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8182
35dc09a1
GM
8183 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8184 imenu work again for Objective C Mode. Correct the *-index values,
8185 these having been disturbed by a previous change in 2011-08.
57f845ee 8186
0de3da9f
AM
8187 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8188 Correct two search limits.
8189
35dc09a1 81902012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8191
8192 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8193
35dc09a1 81942012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8195
8196 * international/characters.el: Fix sorting.
8197
35dc09a1 81982012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8199
8200 * international/characters.el: Add more missing Latin case pairs.
8201
35dc09a1 82022012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8203
8204 * files.el (dir-locals-set-class-variables): Doc fix.
8205
35dc09a1 82062012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8207
3f1b5bf8
EZ
8208 * international/characters.el: Add set-case-syntax-pair call for
8209 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8210 counterpart. (Bug#11209)
8211
9f847f41
EZ
8212 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8213
35dc09a1 82142012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8215
8216 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8217
35dc09a1 82182012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8219
35dc09a1
GM
8220 * textmodes/ispell.el (ispell-dictionary-base-alist):
8221 Add data for Hebrew.
e2627d21 8222
35dc09a1 82232012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8224
35dc09a1
GM
8225 * net/rcirc.el (rcirc-cmd-quit):
8226 Revert 2012-03-18 change (Bug#11192).
5c14e333 8227
35dc09a1 82282012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8229
8230 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8231
35dc09a1 82322012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8233
4517fe3a
SM
8234 * minibuffer.el (completion-in-region-mode-map):
8235 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8236
b472a594
VD
82372012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8238
8239 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8240
09b95ce3
MY
82412012-04-13 Masatake YAMATO <yamato@redhat.com>
8242
8243 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8244 to allow `C-M-f' and `C-M-b' to move to the nearest path
8245 separator (bug#9511).
8246
4b63a9ca
LI
82472012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8248
8249 * avoid.el: Require cl when compiling. And also move the
8250 `provide' to the end.
8251
7b55b8bf
TV
82522012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8253
8254 * avoid.el (mouse-avoidance-banish-position): New variable.
8255 (mouse-avoidance-banish-destination): Use it (bug#10165).
8256
adedaa1f
LL
82572012-04-13 Leo Liu <sdl.web@gmail.com>
8258
8259 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8260
70e74021
KB
82612012-04-13 Ken Brown <kbrown@cornell.edu>
8262
8263 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8264 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8265 (browse-url-filename-alist): For the same reason, don't modify
8266 file:// URLs on Cygwin.
8267
e75e89ba
SM
82682012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8269
8270 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8271 the region on shift if the binding is already shifted (bug#11221).
8272
82f289a4
GM
82732012-04-12 Glenn Morris <rgm@gnu.org>
8274
8275 * mail/mailpost.el: Move to obsolete/.
8276
d333dc4c
DA
82772012-04-12 Drew Adams <drew.adams@oracle.com>
8278
8279 * imenu.el (imenu--generic-function): Ignore invisible definitions
8280 (bug#10123).
8281
0d15b5ba
VD
82822012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8283
8284 * hexl.el (hexl-bits): New variable.
8285 (hexl-options): Mention the variable in the doc string.
75f1671a 8286 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8287 (hexl-mode): Mention the new variable.
75f1671a
JB
8288 (hexl-mode, hexl-current-address, hexl-current-address):
8289 Use the displen.
0d15b5ba
VD
8290 (hexl-ascii-start-column): New function.
8291 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8292 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8293
64a440db
AM
82942012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8295
8296 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8297 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8298 the encoding, as expected by hunspell.
8299
6decb6c2
SM
83002012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8301
8302 * battery.el (battery--linux-sysfs-regexp): New const.
8303 (battery-status-function): Use it. Remove yeeloong special case.
8304 (battery-yeeloong-sysfs): Remove.
8305 (battery-echo-area-format): Remove yeeloong special case.
8306
088be6fb
SM
83072012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8308
6622e416
SM
8309 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8310 Reported by Noah Friedman.
8311
088be6fb
SM
8312 * subr.el (read-passwd): Use read-string.
8313
b49f886e
LMI
83142012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8315
8316 * vcursor.el (vcursor-move): Increase the priority of the overlay
8317 (bug#9663).
8318
a63067fc
DD
83192012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8320
8321 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8322 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8323
ac3cf14a
WS
83242012-04-11 William Stevenson <yhvh2000@gmail.com>
8325
8326 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8327 define-minor-mode (bug#10760).
8328
c4fc691b 83292012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8330
4d6769e1 8331 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8332 that directories matching `grep-find-ignored-files' won't be
8333 pruned (bug#10351).
8334
af23e2e5
CY
83352012-04-11 Chong Yidong <cyd@gnu.org>
8336
8337 * startup.el (command-line): Remove support for long-obsolete
8338 variable font-lock-face-attributes.
8339
ab7ce8c1
GM
83402012-04-11 Glenn Morris <rgm@gnu.org>
8341
8342 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8343
de8c03dc
SM
83442012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * window.el (window--state-get-1): Obey window-point-insertion-type.
8347
050cc68b
LB
83482012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8349
8350 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8351 to previous function when point is on the first character of a
75f1671a 8352 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8353
a38c310c
GM
83542012-04-11 Glenn Morris <rgm@gnu.org>
8355
effed0c2
GM
8356 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8357 not just file-errors.
8358
a38c310c
GM
8359 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8360 (vc-bzr-sha1): Use internal sha1.
8361
0221e323
SM
83622012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8365
43956923
SG
83662012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8367
8368 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8369 that start in the middle of the line (bug#10496).
8370
6a8c9eaf
DN
83712012-04-10 Dan Nicolaescu <dann@gnu.org>
8372
8373 * battery.el (battery-linux-proc-acpi): Only one battery is
8374 discharged at a time, but that seems to confuse battery.el when
8375 computing `rate-type' for the battery not being discharged
8376 (bug#10332).
8377
1930bf5d
SM
83782012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8379
2a718f6f
SM
8380 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8381
599430d0
SM
8382 * international/quail.el: Use dolist and simplify.
8383 (quail-define-package, quail-update-keyboard-layout)
8384 (quail-define-rules): Use dolist.
8385 (quail-insert-kbd-layout, quail-get-translation): CSE.
8386
a2754b6c
SM
8387 * tmm.el: Use dolist, remove left over hook.
8388 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8389 Use dolist.
8390 (calendar-load-hook): Don't mess with it.
8391
1930bf5d
SM
8392 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8393 Use derived-mode-p. Run the diff asynchronously.
8394
9f67961c
LMI
83952012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8396
8397 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8398
2a8ce227
JB
83992012-04-10 Juanma Barranquero <lekktu@gmail.com>
8400
8401 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8402 (list-dynamic-libraries--loaded): New function.
8403 (list-dynamic-libraries--refresh): Use it.
8404
8f33b5f8
NW
84052012-04-10 Nathan Weizenbaum <nweiz@google.com>
8406
1930bf5d
SM
8407 * progmodes/python.el (python-fill-paragraph):
8408 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8409 disabled (bug#7018).
8410
b12f0439
L
84112012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8412
1930bf5d 8413 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8414 DOS/MS Windows for the Baltic languages. There are still plenty
8415 of texts written in this encoding/codepage (bug#6519).
b12f0439 8416
57c3bd01
GM
84172012-04-10 Glenn Morris <rgm@gnu.org>
8418
8419 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8420 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8421
6c3eab30
FA
84222012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8423
1930bf5d 8424 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8425 next-line "n" and previous-line "p" in order to make recentf more
8426 consistent with ibuffer, dired or org-mode (bug#9387).
8427
24d78a88
LMI
84282012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8429
bc72b5d9
LMI
8430 * image.el (put-image): Return the overlay created instead of the
8431 optional input string (bug#7834). Note that this may break code
8432 that is (for some reason or other) depending on `put-image'
8433 returning the string.
8434
bd2dba5a
LMI
8435 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8436
74beb59f
LMI
8437 * simple.el (zap-to-char): Allow zapping using input methods
8438 (bug#1580).
8439
24d78a88
LMI
8440 * textmodes/fill.el (fill-region): Leave point and mark where they
8441 were before filling (bug#5399).
8442
263f20cd
GM
84432012-04-09 Glenn Morris <rgm@gnu.org>
8444
8445 * version.el (emacs-bzr-get-version):
8446 Handle lightweight checkouts of local branches.
8447
58d1f797
AS
84482012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8449
263f20cd 8450 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8451
b4d3bc10
CY
84522012-04-09 Chong Yidong <cyd@gnu.org>
8453
8454 * custom.el (custom-variable-p): Return nil for non-symbol
8455 arguments instead of signaling an error.
8456 (user-variable-p): Obsolete alias for custom-variable-p.
8457
8458 * apropos.el (apropos-variable):
8459 * files-x.el (read-file-local-variable):
8460 * simple.el (set-variable):
8461 * woman.el (woman-mini-help):
8462 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8463
fd06db5d
GM
84642012-04-09 Glenn Morris <rgm@gnu.org>
8465
e5fcdb5e
GM
8466 * startup.el (normal-top-level): Don't look for leim-list.el
8467 in places where it will not be found. (Bug#910)
8468
fd06db5d
GM
8469 * international/mule-cmds.el (set-default-coding-systems):
8470 * files.el (normal-mode):
8471 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8472 This function was removed with ucs-tables.el in 2008.
8473
b39bb7e1
EZ
84742012-04-08 Eli Zaretskii <eliz@gnu.org>
8475
8476 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8477 ispell-encoding8-command to "-i", without a trailing space.
8478 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8479 separate command-line arguments, to specify the encoding, since
8480 that's how hunspell expects it.
8481
5c5b8e23
GM
84822012-04-08 Glenn Morris <rgm@gnu.org>
8483
8484 * loadup.el: Load bindings before cus-start.
8485 This reduces somewhat the number of "rogue" settings in emacs -Q.
8486
a1ed8b05
GM
84872012-04-07 Glenn Morris <rgm@gnu.org>
8488
8489 * version.el (emacs-bzr-get-version): New function.
dfae128a 8490 (emacs-bzr-version): New variable.
a1ed8b05
GM
8491 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8492 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8493
b142f158
EZ
84942012-04-07 Eli Zaretskii <eliz@gnu.org>
8495
dfae128a
GM
8496 * international/uni-bidi.el, international/uni-category.el:
8497 * international/uni-combining.el, international/uni-decimal.el:
8498 * international/uni-decomposition.el, international/uni-digit.el:
8499 * international/uni-lowercase.el, international/uni-mirrored.el:
8500 * international/uni-name.el, international/uni-numeric.el:
8501 * international/uni-titlecase.el, international/uni-uppercase.el:
8502 Update for Unicode 6.1.
b142f158 8503
9078ead6
EZ
85042012-04-07 Eli Zaretskii <eliz@gnu.org>
8505
8506 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8507
f23d2c7d
LMI
85082012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8509
8510 * window.el (shrink-window): Mention the `window-min-height'
8511 variable in the doc string.
8512
0a0a3573
BG
85132012-04-05 Bastien Guerry <bzg@altern.org>
8514
8515 * color.el (color-lighten-name): Fix typo.
8516
e5248ac9
SM
85172012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * server.el (server--on-display-p): New function.
8520 (server--on-display-p): Use it.
8521
b4243e22
GV
85222012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8523
8524 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8525 (bug#11145).
8526
305d9f44
SM
85272012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 * comint.el (comint--common-quoted-suffix): Check string boundary
8530 before comparing (bug#11158).
8531 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8532
3d439cd1
CY
85332012-04-04 Chong Yidong <cyd@gnu.org>
8534
321cc491
CY
8535 * minibuffer.el (completion-extra-properties): Doc fix.
8536
3d439cd1
CY
8537 * subr.el (delayed-warnings-hook): Doc fix.
8538
2d562c0f
DU
85392012-04-04 Daiki Ueno <ueno@unixuser.org>
8540
8541 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8542 selection (Bug#11159).
8543 (epa-insert-keys): Inform that the default public key will be
8544 exported if no key is selected.
8545
4443f204
RS
85462012-04-04 Richard Stallman <rms@gnu.org>
8547
8548 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8549
529c06b6
CY
85502012-04-03 Chong Yidong <cyd@gnu.org>
8551
8552 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8553 mail-insert-file, not its obsolete alias mail-attach-file.
8554
66b907dc
MA
85552012-04-03 Michael Albinus <michael.albinus@gmx.de>
8556
8557 * notifications.el (notifications-notify): Fix docstring.
8558
c0ea195d
GM
85592012-04-02 Glenn Morris <rgm@gnu.org>
8560
8561 * emacs-lisp/authors.el (authors-aliases): Another addition.
8562
5ca64e00
MA
85632012-04-02 Michael Albinus <michael.albinus@gmx.de>
8564
8565 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8566 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8567 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8568
42ee526b
CY
85692012-04-01 Chong Yidong <cyd@gnu.org>
8570
8571 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8572 Handle root directory properly.
8573 (copy-directory): Caller changed.
8574
8575 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8576 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8577
0b021094
GM
85782012-03-31 Glenn Morris <rgm@gnu.org>
8579
40f86458
GM
8580 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8581
7019c177
GM
8582 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8583
a1daddd6
GM
8584 * calendar/calendar.el (calendar-window-list)
8585 (calendar-hide-window): Restore. (Bug#11140)
8586 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8587
0b021094
GM
8588 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8589
40311efc
TV
85902012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8591
8592 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8593 Check if file is a symlink (Bug#10489).
8594
8595 * files.el (copy-directory): Likewise.
8596
5319014e
CY
85972012-03-30 Chong Yidong <cyd@gnu.org>
8598
8599 * image.el (imagemagick-types-inhibit)
8600 (imagemagick-register-types): Doc fix.
8601
935d1290
AM
86022012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8603
090bd7cb 8604 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8605 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8606 and treats ~word as ordinary words in pipe mode.
935d1290 8607
61c6e8fd
GM
86082012-03-30 Glenn Morris <rgm@gnu.org>
8609
8610 * tutorial.el (help-with-tutorial): Ensure local variables don't
8611 happen to make the buffer read-only. (Bug#11127)
8612
81fdff00
SM
86132012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8614
8615 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8616 (perl-calculate-indent): Return `noindent' in strings.
8617
6e7a6ec0
SS
86182012-03-28 Sam Steingold <sds@gnu.org>
8619
8620 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8621 instead of the broken adhockery which does not prevent calendar
8622 buffers from being displayed at random after exit.
8623 (calendar-window-list, calendar-hide-window): Remove the broken
8624 adhockery.
8625
fee88ca0
GM
86262012-03-28 Glenn Morris <rgm@gnu.org>
8627
8628 * replace.el (query-replace-map): Doc fix.
8629
38de3354
AS
86302012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8631
8632 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8633 contents. (Bug#11109)
8634
b973155e
SM
86352012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8636
8637 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8638 (bug#11077).
8639 (avl-tree--check, avl-tree--check-node): New funs.
8640
dcb6e7b3
MR
86412012-03-27 Martin Rudalics <rudalics@gmx.at>
8642
8643 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8644 (switch-to-prev-buffer, switch-to-next-buffer):
8645 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8646 showing a buffer already is done on the same frame.
8647
b4fa35fa
GM
86482012-03-27 Glenn Morris <rgm@gnu.org>
8649
8650 * startup.el (mail-host-address): Doc fix.
8651
f9210e18
SM
86522012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8653
8654 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8655 than 197 variables.
8656
c0bf7753
AF
86572012-03-26 Ami Fischman <ami@fischman.org>
8658
8659 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8660
33da7b16
GM
86612012-03-26 Glenn Morris <rgm@gnu.org>
8662
02243d9d
GM
8663 * files.el (save-buffers-kill-emacs): Doc fix.
8664
33da7b16
GM
8665 * startup.el (normal-top-level, command-line, command-line-1):
8666 Give them doc strings.
8667
e5a69fd0
EZ
86682012-03-25 Eli Zaretskii <eliz@gnu.org>
8669
8670 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8671 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8672
9a69676a
CY
86732012-03-25 Chong Yidong <cyd@gnu.org>
8674
4125cb8b
CY
8675 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8676 theme if it was previously enabled before (Bug#11031).
8677
dd470960
CY
8678 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8679 spec with custom-face-get-current-spec if its :shown-value is not
8680 determined yet (Bug#9337).
4125cb8b 8681 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8682
9a69676a
CY
8683 * button.el (button-at): Minor addition to docstring.
8684
6e7e90fa
SL
86852012-03-24 Simon Leinen <simon.leinen@gmail.com>
8686
8687 * vc/vc.el (vc-merge): Fix a prompt.
8688
f06e2758
CY
86892012-03-24 Chong Yidong <cyd@gnu.org>
8690
8691 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8692 point (Bug#9623).
8693
6e7e90fa
SL
8694 * button.el (button-at): Minor addition to docstring.
8695
b9d0879b
SM
86962012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8697
8698 * newcomment.el (comment-choose-indent): No space after BOL.
8699
e71cebb3
SS
87002012-03-22 Sam Steingold <sds@gnu.org>
8701
8702 * window.el (switch-to-prev-buffer): Revert last patch because the
8703 bug turned out to be an advertised feature (Elisp manual 28.14).
8704
335aff35
GM
87052012-03-22 Glenn Morris <rgm@gnu.org>
8706
8707 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8708 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8709
c676576a
LMI
87102012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8711
8712 * net/network-stream.el (network-stream-open-starttls): Make error
8713 message under Windows be less misleading.
8714
126f3d39
LW
87152012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8716
8717 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8718 understands (bug#9942).
8719
64fee311
CY
87202012-03-22 Chong Yidong <cyd@gnu.org>
8721
8722 * simple.el (end-of-visible-line): Handle return value of
8723 next-single-property-change properly (Bug#9371).
8724
a640d29a
KH
87252012-03-22 Kenichi Handa <handa@m17n.org>
8726
8727 * international/quail.el (quail-insert-kbd-layout): Fix previous
8728 change. To avoid unwanted bidi reordering, use
8729 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8730
39675016
DG
87312012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8732
8733 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8734 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8735 (ruby-beginning-of-indent): Be more careful with the difference
8736 between word-boundary and symbol boundary.
8737 (ruby-mode-syntax-table): Make : a symbol constituent.
8738
0a6934fc 87392012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8740
3d008e4f
SM
8741 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8742
0a6934fc
SM
87432012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8744
af67c9d7
SM
8745 * progmodes/etags.el (tags-completion-at-point-function):
8746 Improve last fix.
8747
1acad97c
SM
8748 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8749
e298b5da
SS
87502012-03-21 Sam Steingold <sds@gnu.org>
8751
8752 * progmodes/etags.el (tags-completion-at-point-function):
8753 Avoid the error when point is inside the pattern.
8754
91d82a70
JY
87552012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8756
8757 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8758 line (Bug#10855).
8759
69188b79
CY
87602012-03-21 Drew Adams <drew.adams@oracle.com>
8761
8762 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8763
99fc91fe
AK
87642012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8765
8766 * ido.el (ido-set-current-directory, ido-read-internal)
8767 (ido-choose-completion-string, ido-completion-help): Handle nil
8768 value of ido-completion-buffer (Bug#11008).
8769
087bbb4c
SS
87702012-03-21 Sam Steingold <sds@gnu.org>
8771
8772 * window.el (switch-to-prev-buffer): Do not switch to a visible
8773 window previous buffer, just like with the frame previous buffers.
8774
fb5b8aca
CY
87752012-03-21 Chong Yidong <cyd@gnu.org>
8776
8777 * faces.el (make-face, make-empty-face, copy-face):
8778 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8779 Doc fixes.
8780
dc9924b8
SM
87812012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8782
8783 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8784 (widget-complete): Remove broken use of it.
8785
f0bcceb9
CY
87862012-03-20 Chong Yidong <cyd@gnu.org>
8787
dc9924b8
SM
8788 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8789 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8790 characters.
8791
ee52ebf3
TH
87922012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8793
8794 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8795 to draw rectangles, not squares. (Regression introduced by revno
8796 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8797
4c5779ab
CY
87982012-03-18 Chong Yidong <cyd@gnu.org>
8799
8800 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8801 it is not yet defined (for temacs).
8802
15360934
LL
88032012-03-18 Leo Liu <sdl.web@gmail.com>
8804
735135f9
PE
8805 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8806 prefix.
15360934 8807
d9a8eb66
EZ
88082012-03-17 Eli Zaretskii <eliz@gnu.org>
8809
8810 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8811 (ispell-choices-win-default-height, ispell-silently-savep)
8812 (ispell-dictionary-alist, ispell-encoding8-command)
8813 (ispell-check-version, ispell-aspell-find-dictionary)
8814 (ispell-valid-dictionary-list, ispell-words-keyword)
8815 (ispell-get-word, ispell-internal-change-dictionary)
8816 (ispell-region, ispell-skip-region-list)
8817 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8818 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8819 (ispell-message-text-end, ispell-message)
8820 (ispell-buffer-local-parsing): Doc fix.
8821
f02ff80d
J
88222012-03-13 Jambunathan K <kjambunathan@gmail.com>
8823
8824 * htmlfontify.el: Add support for code block fontification for ODT
8825 export (Bug #9914).
8826 (hfy-optimisations): Define new option
8827 `body-text-only'
8828 (hfy-fontify-buffer): Honor above setting.
8829 (hfy-begin-span, hfy-end-span): New routines factored out form
8830 `hfy-fontify-buffer'.
8831 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8832 that permit insertion of custom tags.
8833 (hfy-fontify-buffer): Use above handlers.
8834 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8835 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8836 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8837 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8838 bind a special variable `hfy-user-sheet-assoc'.
8839 (htmlfontify-string): New defun.
8840 (hfy-compile-face-map): Make sure that the last char in the
8841 buffer is correctly fontified.
8842 (hfy-face-resolve-face): Whitespace only change.
8843
9ac7a13f
EZ
88442012-03-17 Eli Zaretskii <eliz@gnu.org>
8845
8846 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8847 message more clear.
8848
e2b5bdd7
LL
88492012-03-16 Leo Liu <sdl.web@gmail.com>
8850
8851 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8852
2e492df3
AM
88532012-03-16 Alan Mackenzie <acm@muc.de>
8854
8855 Further optimise the handling of large macros.
8856
8857 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8858 limit to a call of `c-literal-limits'.
8859 (c-determine-+ve-limit): New function.
dc9924b8
SM
8860 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8861 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8862 In CASE 5B, restrict a search limit to 500.
8863 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8864
8865 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8866 Restrict macro bounds to +-500 from after-change's BEG END.
8867
50e94f0c
LL
88682012-03-16 Leo Liu <sdl.web@gmail.com>
8869
8870 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8871
6f09f6ed
AH
88722012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8873
8874 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 8875 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 8876
c7e73d51
GM
88772012-03-16 Glenn Morris <rgm@gnu.org>
8878
da986230
GM
8879 * view.el (view-buffer, view-buffer-other-window)
8880 (view-buffer-other-frame): Doc fixes re special mode-class.
8881
0835f01e
GM
8882 * subr.el (eval-after-load): If named feature is provided not from
8883 a file, run after-load forms. (Bug#10946)
8884
c7e73d51
GM
8885 * calendar/calendar.el (calendar-insert-at-column):
8886 Handle non-unit-width characters a bit better. (Bug#10978)
8887
3f2eafd1
CY
88882012-03-15 Chong Yidong <cyd@gnu.org>
8889
8890 * emacs-lisp/ring.el (ring-extend): New function.
8891 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8892
8893 * comint.el (comint-read-input-ring)
8894 (comint-add-to-input-history): Grow comint-input-ring lazily.
8895
103af3fe
SM
88962012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8897
663b1677
SM
8898 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8899 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8900
103af3fe
SM
8901 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8902 (imenu-add-to-menubar): Don't add a redundant index.
8903 (imenu-update-menubar): Handle a dynamically composed keymap.
8904
899cb7cb
KY
89052012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8906
8907 * mail/sendmail.el (mail-encode-header):
8908 Bind rfc2047-encode-encoded-words to nil.
8909
3809f91d
GM
89102012-03-13 Glenn Morris <rgm@gnu.org>
8911
8912 * calendar/calendar.el (calendar-string-spread):
8913 Handle non-unit-width characters a bit better. (Bug#10978)
8914
9e345a01
LL
89152012-03-13 Leo Liu <sdl.web@gmail.com>
8916
8917 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8918 directory and file as argument (Bug#10822).
8919
4a07df36
KS
89202012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8921
8922 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8923 For dynamically generated code, follow $PC.
8924 (gdb-disassembly-handler-custom): Handle no function name case.
8925
4aaa9356
TL
89262012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8927
8928 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8929 * emulation/ws-mode.el (ws-query-replace):
8930 * sort.el (sort-regexp-fields):
8931 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8932
225979da
SM
89332012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8934
8935 * dabbrev.el: Fix cycle completion order (bug#10963).
8936 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8937 (dabbrev-completion): Don't use an obarray; provide
8938 a cycle-sort-function.
8939
e2f1fdab
LL
89402012-03-12 Leo Liu <sdl.web@gmail.com>
8941
dc9924b8 8942 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
8943 (kill-do-not-save-duplicates): Doc fix.
8944
b19490ed
SM
89452012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8946
8947 * dabbrev.el: Fix cycle completion (bug#10963).
8948 Use lexical binding and wrap to 80 columns.
8949 (dabbrev-completion): Delay computing the list of completions.
8950
4b05d722
KH
89512012-03-12 Kenichi Handa <handa@m17n.org>
8952
8953 * international/quail.el (quail-insert-kbd-layout): Surround each
8954 row by LRO and PDF instead of inserting many LRMs. Pad the left
8955 and right of each non-spacing marks. Insert invisible space
8956 between lower and upper characters to prevent composition.
8957
dbbc2e69
SM
89582012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8959
8960 * minibuffer.el (minibuffer-complete): Don't get confused when the
8961 function is run twice via different commands (bug#10958).
8962 (complete-with-action): Fix docstring.
8963
292112ed
CY
89642012-03-12 Chong Yidong <cyd@gnu.org>
8965
5d1ac394
CY
8966 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8967 (nxml-completion-at-point-function): New function.
8968 (nxml-mode): Use it.
8969 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8970
292112ed
CY
8971 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8972 Load generated autoloads file before byte compiling (Bug#10970).
8973 (package--make-autoloads-and-compile): New helper fun.
8974
4098f8f7
CS
89752012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8976
8977 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8978
8f754691
MA
89792012-03-11 Michael Albinus <michael.albinus@gmx.de>
8980
8981 * autorevert.el (auto-revert-handler): Ensure, that
8982 file-readable-p is applied only for local files or in
8983 auto-revert-tail-mode.
8984
e29ab36b
AS
89852012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8986
dbbc2e69
SM
8987 * server.el (server-eval-at): Handle non-tcp connections.
8988 Decode result string.
ad0bf5b6 8989
e29ab36b
AS
8990 * server.el (server-msg-size): New constant.
8991 (server-reply-print): New function.
8992 (server-eval-and-print): Use it.
8993 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8994 Handle -print-nonl.
8995
de5939ba
CS
89962012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8997
8998 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8999 (Bug#10987).
9000
0c93eabf
CY
90012012-03-11 Chong Yidong <cyd@gnu.org>
9002
397a688f
CY
9003 * simple.el (goto-line): Doc fix (Bug#9938).
9004
2cc775f9
CY
9005 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9006
0c93eabf
CY
9007 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9008 when finished (Bug#10963).
9009
c491fa41
MR
90102012-03-11 Martin Rudalics <rudalics@gmx.at>
9011
9012 * window.el (split-window-below): Fix bug in case where
9013 split-window-keep-point is nil (Bug#10971).
9014
300e8fa5
JL
90152012-03-11 Juri Linkov <juri@jurta.org>
9016
9017 * replace.el (replace-highlight): Set isearch-word to nil
9018 unconditionally. (Bug#10887)
9019
dbf6c5a1
EZ
90202012-03-10 Eli Zaretskii <eliz@gnu.org>
9021
9022 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9023 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9024 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9025 (mairix-widget-create-query): Add usage information about mairix
9026 search forms: negating words, searching for substrings, etc.
9027
b9e501de
JP
90282012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9029
9030 * international/fontset.el (font-encoding-alist): Add an entry for
9031 ksx1001 (Bug#5667).
9032
92795c91
RS
90332012-03-10 Richard Stallman <rms@gnu.org>
9034
1694e6c1
RS
9035 * mail/sendmail.el (mail-encode-header):
9036 Set rfc2047-encode-encoded-words.
9037
607e8555
RS
9038 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9039
de3bc99a
RS
9040 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9041 view buffer means not swapped.
9042 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9043 (rmail-write-region-annotate): Error if real text has disappeared.
9044
92795c91
RS
9045 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9046
699bd04e
CY
90472012-03-10 Chong Yidong <cyd@gnu.org>
9048
9049 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9050 * emulation/cua-base.el (cua--init-keymaps):
9051 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9052
570a1714
MR
90532012-03-10 Martin Rudalics <rudalics@gmx.at>
9054
dbbc2e69
SM
9055 * speedbar.el (speedbar-unhighlight-one-tag-line):
9056 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9057
82dcf4e4
CY
90582012-03-10 Chong Yidong <cyd@gnu.org>
9059
7a2c7ca7
CY
9060 * minibuffer.el (completion-in-region, completion-help-at-point):
9061 Give the completion field overlay a high priority (Bug#6830).
9062
82dcf4e4
CY
9063 * dired.el (dired-goto-file): Recognize absolute file name
9064 listings (Bug#7126).
9065 (dired-goto-file-1): New helper function.
9066 (dired-toggle-read-only): Inhibit warnings.
9067
052e28ac
MA
90682012-03-09 Michael Albinus <michael.albinus@gmx.de>
9069
75f1671a 9070 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9071 there are no properties.
9072
95d5e396
LL
90732012-03-09 Leo Liu <sdl.web@gmail.com>
9074
9075 * savehist.el (savehist-printable): Stricter check for string
9076 value (Bug#10937).
9077
3f018d6d
EZ
90782012-03-09 Eli Zaretskii <eliz@gnu.org>
9079
dbbc2e69
SM
9080 * mail/smtpmail.el (smtpmail-send-it):
9081 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9082 valid mbox format.
9083
f7fd3d79
GM
90842012-03-09 Glenn Morris <rgm@gnu.org>
9085
9086 * files.el (dir-locals-find-file):
9087 Don't check result is regular, readable.
9088 (dir-locals-read-from-file): Demote errors.
9089
6ff6e72f
EZ
90902012-03-08 Eli Zaretskii <eliz@gnu.org>
9091
dbbc2e69
SM
9092 * international/quail.el (quail-insert-kbd-layout):
9093 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9094 layout cell, to prevent their reordering by bidi display engine.
9095 For details, see the discussion in
9096 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9097
9cec7834
AM
90982012-03-08 Alan Mackenzie <acm@muc.de>
9099
9100 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9101 the starting position; make it extend the marked region when
9102 invoked repeatedly - all under appropriate circumstances.
9103 Fixes bugs #5525, #10906.
9104
9a40b8d4
GM
91052012-03-08 Glenn Morris <rgm@gnu.org>
9106
9107 * files.el (locate-dominating-file, dir-locals-find-file):
9108 Undo 2012-03-06 change.
9109
7a08ed35
EZ
91102012-03-07 Eli Zaretskii <eliz@gnu.org>
9111
dbbc2e69
SM
9112 * international/quail.el (quail-help):
9113 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9114 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9115 for the reason.
9116
5aca4f71 91172012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9118
9119 Avoid superfluous registering of signals. (Bug#10807)
9120
9121 * notifications.el (notifications-on-action-object)
9122 (notifications-on-close-object): New defvars.
9123 (notifications-on-action-signal, notifications-on-closed-signal):
9124 Unregister the signal if not needed any longer.
9125 (notifications-notify): Register `notifications-action-signal' or
9126 `notifications-closed-signal', if :on-action or :on-close has been
9127 passed as argument.
9128
78e8b10a
CY
91292012-03-07 Chong Yidong <cyd@gnu.org>
9130
9131 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9132 non-X platforms.
9133
69481eb8
GM
91342012-03-06 Glenn Morris <rgm@gnu.org>
9135
9136 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9137 (x-disown-selection-internal, x-get-selection-internal):
9138 Doc fix (add arglist signatures). (Bug#10783)
9139
133b8e11
KS
91402012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9141
9142 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9143 Handle breakpoints with no "type".
9144
99a83064
GM
91452012-03-06 Glenn Morris <rgm@gnu.org>
9146
9147 * files.el (locate-dominating-file): Add optional predicate argument.
9148 (dir-locals-find-file): Make use of above change.
9149
17798e78
TTN
91502012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9151
9152 * info.el (Info-insert-dir): Also try "dir.gz".
9153
eb182446
GM
91542012-03-06 Glenn Morris <rgm@gnu.org>
9155
8f2114ee
GM
9156 * files.el (dir-locals-find-file):
9157 Ignore non-readable or non-regular files. (Bug#10928)
9158
eb182446
GM
9159 * files.el (locate-dominating-file): Doc fix.
9160
24679323
AS
91612012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9162
9163 * calendar/calendar.el (calendar-set-mode-line):
9164 `getenv' returns a string. (Bug#10951)
9165
01d972a9
LL
91662012-03-05 Leo Liu <sdl.web@gmail.com>
9167
109aa8a9
LL
9168 * simple.el (backward-delete-char-untabify): Constrain point to
9169 field (Bug#10939).
9170
01d972a9
LL
9171 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9172
10607bea
CY
91732012-03-05 Chong Yidong <cyd@gnu.org>
9174
9175 * simple.el (count-words): If called from Lisp, return the word
9176 count, for symmetry with `count-lines'. Arglist changed.
9177 (count-words--message): Args changed. Consolidate counting code
9178 from count-words and count-words-region.
9179 (count-words-region): Caller changed.
9180 (count-lines-region): Make it an obsolete alias.
9181
5dd11cfe
TH
91822012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9183
9184 * saveplace.el (save-place-to-alist)
9185 (save-place-ignore-files-regexp): Allow value nil to disable this
9186 feature.
9187
c349f4e6
CY
91882012-03-04 Chong Yidong <cyd@gnu.org>
9189
9190 * faces.el (face-spec-reset-face): For the default face, reset the
9191 attributes to default values (Bug#10748).
9192
e627be4c
LMI
91932012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9194
9195 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9196 previous patch: Check `message-send-mail-function', and not the
9197 default function (bug#10897).
9198
ebeabff4
MA
91992012-03-04 Michael Albinus <michael.albinus@gmx.de>
9200
a41a6cf4
MA
9201 * notifications.el (notifications-on-action-signal)
9202 (notifications-on-closed-signal): Check for unique service name of
9203 incoming event. Fix error in removing entry.
ebeabff4 9204 (top): Register for signals with wildcard service name.
a41a6cf4 9205 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9206
c1ca42b4
CY
92072012-03-04 Chong Yidong <cyd@gnu.org>
9208
dc9924b8 9209 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9210
ea16568d
GM
92112012-03-04 Glenn Morris <rgm@gnu.org>
9212
9213 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9214 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9215 (expand-abbrev, define-abbrev-table): Doc fixes.
9216
fbae4637
LMI
92172012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9218
9219 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9220 `message-default-send-mail-function' and not `send-mail-function'
9221 when doing the prompting for `sendmail-query-once' before sending
9222 in Message buffers (bug#10897).
9223
a1e7225c
LMI
9224 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9225 This is inconsistent with all the other stream functions, which leave
9226 the setting up to the higher levels (if so wanted) (bug#10931).
9227
56d093a9
AM
92282012-03-02 Alan Mackenzie <acm@muc.de>
9229
9230 Depessimize the handling of very large macros.
9231
9232 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9233 (c-macro-cache-syntactic): New variables to implement a one
9234 element macro cache.
9235 (c-invalidate-macro-cache): New function.
9236 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9237 Adapt to use the new cache.
9238 (c-state-safe-place): Use better the cache of safe positions.
9239 (c-state-semi-nonlit-pos-cache)
9240 (c-state-semi-nonlit-pos-cache-limit):
9241 New variables for...
9242 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9243 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9244 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9245 Use c-state-semi-safe-place.
56d093a9 9246
dbbc2e69
SM
9247 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9248 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9249
817e5c3d
MA
92502012-03-02 Michael Albinus <michael.albinus@gmx.de>
9251
dbbc2e69
SM
9252 * jka-compr.el (jka-compr-call-process):
9253 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9254 not remote.
9255
a032a702
MA
92562012-03-01 Michael Albinus <michael.albinus@gmx.de>
9257
9258 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9259 access of FILE2, if FILE1 does not exist.
9260
99a54f21
MA
9261 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9262 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9263
9264 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9265 Add "PAGER=" to `process-environment'.
9266
f6561e1f
MM
92672012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9268
9269 * progmodes/sql.el: Bug fix
9270 (sql-get-login-ext): Save login values in globals.
9271 (sql-get-login): Use new version of `sql-get-login-ext'.
9272 (sql-interactive-mode): Set global `sql-connection' to nil.
9273 (sql-connect): Set global values for connection.
9274 (sql-product-interactive): Save global values as buffer local.
9275
2d44d9cc
LL
92762012-02-29 Leo Liu <sdl.web@gmail.com>
9277
9278 * abbrev.el (define-abbrevs): Reset sys to nil.
9279
96b49301 92802012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9281
bf7f9bc5
JB
9282 * files.el (file-equal-p): Rename from `files-equal-p'.
9283 Return nil when one or both files don't exist.
96b49301 9284 (file-subdir-of-p): Now only top directory must exists,
9285 return nil if it doesn't.
bf7f9bc5
JB
9286 (copy-directory): No need to test with `file-subdir-of-p' after
9287 creating dir.
9288 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9289 to `file-equal-p'.
96b49301 9290
44e97401
GM
92912012-02-28 Glenn Morris <rgm@gnu.org>
9292
9293 * shell.el (shell-mode):
9294 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9295 * play/landmark.el (landmark-font-lock-face-O):
9296 * play/handwrite.el (handwrite):
9297 * play/gomoku.el (gomoku-O):
9298 * net/browse-url.el (browse-url-browser-display):
9299 * international/mule.el (define-charset):
9300 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9301 * filesets.el (filesets-find-file-delay):
9302 * eshell/em-xtra.el (eshell-xtra):
9303 * eshell/em-unix.el (eshell-grep):
9304 * emulation/viper.el (viper-mode):
9305 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9306 * emacs-lisp/easymenu.el (easy-menu-define):
9307 * calendar/timeclock.el (timeclock-use-display-time):
9308 * bs.el (bs-mode):
9309 * bookmark.el (bookmark-save-flag):
9310 Doc fix (standardize possessive apostrophe usage).
9311
c98c6276
CY
93122012-02-27 Chong Yidong <cyd@gnu.org>
9313
bf7f9bc5
JB
9314 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9315 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9316
c98c6276
CY
9317 * font-lock.el (font-lock-specified-p): Rename from
9318 font-lock-spec-present. Callers changed.
9319
9c62cd04 93202012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9321
bf7f9bc5
JB
9322 * emacs-lisp/package.el (package-compute-transaction):
9323 Handle holding a package version to t in package-load-list.
8ac9e529 9324
530739c9
MA
93252012-02-26 Michael Albinus <michael.albinus@gmx.de>
9326
9327 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9328 (tramp-get-inode, tramp-get-device): Use cached values.
9329
487915d7
AM
93302012-02-26 Alan Mackenzie <acm@muc.de>
9331
9332 Check there is a font-lock specification before doing initial
9333 fontification.
9334
9335 * font-core.el (font-lock-mode): Move the conditional from
9336 :after-hook to font-lock-initial-fontify.
9337 (font-lock-default-function): Move the check for a specification
9338 to font-lock-spec-present.
9339
dc9924b8 9340 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9341 (font-lock-spec-present): New function.
9342
4fd96557
JB
93432012-02-26 Jim Blandy <jimb@red-bean.com>
9344
9345 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9346 (gdb-send): Apply it to the operand of the '-interpreter-exec
9347 console' command, so that we can pass arguments with (say) quotes
9348 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9349
9a4888c0
CY
93502012-02-26 Chong Yidong <cyd@gnu.org>
9351
07498861
CY
9352 * help-fns.el (describe-function-1): Clarify description of
9353 remapping (Bug#10844).
9354
9a4888c0
CY
9355 * files.el (files-equal-p): Doc fix.
9356 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9357 and quit the loop once a mismatch is found.
9358
ea8fb88d
JB
93592012-02-25 Juanma Barranquero <lekktu@gmail.com>
9360
9361 * bs.el (bs--show-with-configuration): Don't throw an error
9362 if the window cannot be split; otherwise, subsequent calls to
9363 bs-show fail, restoring a stale window config. (Bug#10882)
9364
525795c1
JD
93652012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9366
9367 * term/ns-win.el (global-map): Bind ns-drag-file to
9368 ns-find-file (Bug#5855, Bug#10050).
9369
f008086f
AS
93702012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9371
9372 * calendar/parse-time.el (parse-time-string): Allow extractor to
9373 return nil.
9374
a3fcfa99
MA
93752012-02-25 Michael Albinus <michael.albinus@gmx.de>
9376
91027d08
JB
9377 * net/tramp.el (tramp-file-name-for-operation):
9378 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9379
9380 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9381 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9382 Add COPY-CONTENTS argument.
a3fcfa99 9383
67b0de11
CY
93842012-02-25 Chong Yidong <cyd@gnu.org>
9385
9386 Add custom groups for VC backends, for consistency with vc-bzr.
9387
9388 * vc/vc-arch.el (vc-arch):
9389 * vc/vc-cvs.el (vc-cvs):
9390 * vc/vc-git.el (vc-git):
9391 * vc/vc-hg.el (vc-hg):
9392 * vc/vc-mtn.el (vc-mtn):
9393 * vc/vc-rcs.el (vc-rcs):
9394 * vc/vc-sccs.el (vc-sccs):
9395 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9396 All relevant defcustoms reassigned.
9397
3c9dfce6
CY
93982012-02-25 Chong Yidong <cyd@gnu.org>
9399
1339bf43
CY
9400 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9401
3c9dfce6
CY
9402 * term/x-win.el (x-initialize-window-system): Reduce default for
9403 x-selection-timeout to 5 seconds (Bug#8869).
9404
25b2e303 94052012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9406
ec70a47d
GM
9407 * files.el (files-equal-p, file-subdir-of-p): New functions.
9408 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9409 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9410 * dired-aux.el (dired-copy-file-recursive): Same.
9411 (dired-create-files): Modify destination when source is equal to
9412 dest when copying files.
53a46cd0 9413 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9414
914260cd
MA
94152012-02-24 Michael Albinus <michael.albinus@gmx.de>
9416
9417 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9418 (Bug#10874)
9419
2cb228f7
AM
94202012-02-23 Alan Mackenzie <acm@muc.de>
9421
9422 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9423 parameter "after-hook:" to allow the expansion to run code after
9424 the execution of the mode hooks.
9425
9426 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9427 from font-lock-mode-internal.
2cb228f7 9428
91027d08 9429 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9430 :after-hook.
9431
8f0fde21
SM
94322012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9433
3e88618b
SM
9434 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9435 (completion--cache-all-sorted-completions): New function.
9436 (completion-all-sorted-completions): Use it.
9437 (completion--do-completion, minibuffer-force-complete):
9438 Use it to re-instate the flush hook.
9439
8f0fde21
SM
9440 * icomplete.el (icomplete-completions): Replace last fix with a better
9441 one (bug#10850).
9442
8e911f6f
DG
94432012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9444
9445 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9446 when it might call us back infinitely (bug#10797).
9447
49fe4321
GM
94482012-02-23 Glenn Morris <rgm@gnu.org>
9449
9450 * minibuffer.el (completion-category-overrides): Doc fix.
9451
b291b572
SM
94522012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9455 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9456
31a9ef2e
GM
94572012-02-23 Glenn Morris <rgm@gnu.org>
9458
5e6e6794 9459 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9460 (authors-obsolete-files-regexps, authors-ignored-files)
9461 (authors-ambiguous-files, authors-renamed-files-alist):
9462 Add more entries.
9463
0bd1e074
JL
94642012-02-23 Juri Linkov <juri@jurta.org>
9465
9466 * isearch.el (isearch-occur): Sync interactive spec with occur's
9467 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9468
b617673c
JL
9469 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9470
19e9789e
JL
94712012-02-22 Juri Linkov <juri@jurta.org>
9472
9473 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9474 (ucs-insert): Doc fix. Check for hex digits in the string.
9475 Don't display `nil' in the error message. (Bug#10857)
9476
f41ce09d
AM
94772012-02-22 Alan Mackenzie <acm@muc.de>
9478
7a71b18d 9479 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9480
ac2eceee
GM
94812012-02-22 Glenn Morris <rgm@gnu.org>
9482
9483 * ffap.el (ffap-c-path):
9484 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9485
abd1f678
CY
94862012-02-22 Chong Yidong <cyd@gnu.org>
9487
9488 * custom.el (load-theme): Doc fix.
9489
f25aef2e
GM
94902012-02-22 Glenn Morris <rgm@gnu.org>
9491
9492 * dired-x.el (dired-guess-shell-alist-default):
9493 Remove escape sequences from nroff output. (Bug#172)
9494
5f8dc2ca
GM
94952012-02-21 Glenn Morris <rgm@gnu.org>
9496
6ff86ec4
GM
9497 * vc/emerge.el (emerge-defvar-local):
9498 Set `permanent-local' property rather than unused `preserved'.
9499
be3223a3 9500 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9501 (picture-mode-map): Use it. (Bug#10860)
9502 (picture-mode): Doc fix.
9503
3fe58f4f
JB
95042012-02-21 Juanma Barranquero <lekktu@gmail.com>
9505
9506 * newcomment.el (uncomment-region-default): Remove unused binding.
9507
f9a998c3
GM
95082012-02-21 Glenn Morris <rgm@gnu.org>
9509
9510 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9511 (picture-self-insert, picture-tab-chars): Doc fix.
9512 (picture-mode-map): Fix C-a, C-e.
9513
c6029348
GM
95142012-02-20 Glenn Morris <rgm@gnu.org>
9515
9516 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9517
ab1ce9d7
LL
95182012-02-20 Leo Liu <sdl.web@gmail.com>
9519
9520 * icomplete.el (icomplete-completions): Check FROM arg before
9521 passing to substring (Bug#10850).
9522
0fd40f89
CY
95232012-02-19 Chong Yidong <cyd@gnu.org>
9524
9525 * comint.el: Require ansi-color.
9526 (comint-output-filter-functions): Add ansi-color-process-output.
9527
9528 * ansi-color.el: Don't set comint-output-filter-functions; it is
9529 now in the initial value defined in comint.el.
9530 (ansi-color-apply-face-function): New variable.
9531 (ansi-color-apply-on-region): Use it.
9532 (ansi-color-apply-overlay-face): New function.
9533
9534 * shell.el (shell): No need to require ansi-color.
9535 (shell-mode): Use ansi-color-apply-face-function to highlight
9536 color escapes using font-lock-face property (Bug#10835).
9537
20af2394
CY
95382012-02-19 Chong Yidong <cyd@gnu.org>
9539
9540 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9541 mode-line formats (Bug#10839).
9542
e23a3fbe
GM
95432012-02-18 Glenn Morris <rgm@gnu.org>
9544
b474519e
GM
9545 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9546
9547 * mail/undigest.el (unforward-rmail-message): Doc fix.
9548
e23a3fbe
GM
9549 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9550
57939ff4
EZ
95512012-02-18 Eli Zaretskii <eliz@gnu.org>
9552
9553 * international/characters.el (script-list): Sync with the latest
9554 Unicode Character Database.
9555
0c23686e
AS
95562012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9557
9558 * international/titdic-cnv.el: Remove duplicate coding tag.
9559 * language/cham.el: Likewise.
9560 * language/tai-viet.el: Likewise.
9561
6818b449
GM
95622012-02-18 Glenn Morris <rgm@gnu.org>
9563
9564 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9565 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9566 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9567 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9568 * calendar/holidays.el (holiday-bahai-holidays)
9569 (calendar-holidays, list-holidays):
9570 Use utf-8 Bahá'í in doc-strings, menus, etc.
9571
0311a3fc
TH
95722012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9573
9574 * saveplace.el (save-place-ignore-files-regexp): New variable
9575 allowing for excluding files from saving their location of point.
9576 The default value matches the temporary commit message editing
9577 files from Git, SVN, Bazaar, and Mercurial.
9578 (save-place-to-alist): Use it.
9579
d209e2fb 95802012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9581 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9582
9583 * newcomment.el (uncomment-region-default): Don't leave extra space
9584 when an arg is provided (bug#8150).
9585
ee0ce425
TZ
95862012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9587
eb864a71 9588 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9589
95ddf442
GM
95902012-02-17 Glenn Morris <rgm@gnu.org>
9591
9592 * net/socks.el: Require network-stream. (Bug#10599)
9593
48dd1e39 95942012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9595
9596 * international/charprop.el:
9597 * international/uni-name.el:
9598 * international/uni-old-name.el:
9599 * international/uni-comment.el: Regenerate.
9600
d68cd087
GM
96012012-02-16 Glenn Morris <rgm@gnu.org>
9602
9603 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9604 Interactively in calendar buffer, give an error if not on a date.
9605
13932042
GM
96062012-02-15 Glenn Morris <rgm@gnu.org>
9607
9608 * shell.el (shell-delimiter-argument-list):
9609 Revert 2011-02-17 change. (Bug#8027)
9610
c3a70e2b
CY
96112012-02-15 Chong Yidong <cyd@gnu.org>
9612
60236b0d
CY
9613 * minibuffer.el (completion-at-point-functions): Doc fix.
9614
c3a70e2b
CY
9615 * custom.el (defcustom): Doc fix; note use of defvar.
9616
9f26dc24
GM
96172012-02-15 Glenn Morris <rgm@gnu.org>
9618
9619 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9620 Doc fixes.
9621
6546b134
GM
96222012-02-14 Glenn Morris <rgm@gnu.org>
9623
9624 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9625
d29b2b4c
LI
96262012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9627
9628 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9629 way the ports list is computed.
835bdcba
LI
9630 (smtpmail-query-smtp-server): Prompt the user for a port number if
9631 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9632
08dcdbc9
TZ
96332012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9634
9635 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9636
2605051a
GM
96372012-02-13 Glenn Morris <rgm@gnu.org>
9638
9639 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9640
7ee99f32
TZ
96412012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9642
9643 * net/gnutls.el (gnutls-trustfiles): New variable.
9644 (gnutls-negotiate): Use it.
9645
5f0af64f
LI
96462012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9647
9648 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9649 does its stuff if Gnus is running.
9650
c14fcc95
AM
96512012-02-13 Alan Mackenzie <acm@muc.de>
9652
9653 Fix a loop in c-set-fl-decl-start.
9654
7a71b18d 9655 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9656 c-backward-syntactic-ws actually moves backwards.
9657
142b4d90
LL
96582012-02-13 Leo Liu <sdl.web@gmail.com>
9659
9660 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9661 beginning so that all \C-o chars are removed.
9662
fa9958a6
TZ
96632012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9664
dc9924b8 9665 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9666
0bc5886a
AM
96672012-02-12 Alan Mackenzie <acm@muc.de>
9668
9669 Fix infinite loop with long macros.
4d6769e1 9670 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9671
d4bd55e7
CY
96722012-02-12 Chong Yidong <cyd@gnu.org>
9673
9674 * window.el (display-buffer): Doc fix (Bug#10785).
9675
66f3fe22
GM
96762012-02-12 Glenn Morris <rgm@gnu.org>
9677
bd7da63e
GM
9678 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9679 (x-disown-selection-internal, x-get-selection-internal):
9680 Sync docs with the xselect.c versions.
9681
66f3fe22
GM
9682 * allout-widgets.el: Add missing license notice.
9683
3e0d2fa7
GM
96842012-02-11 Glenn Morris <rgm@gnu.org>
9685
cfecdf09
GM
9686 * select.el (x-get-selection-internal, x-own-selection-internal)
9687 (x-disown-selection-internal):
9688 * x-dnd.el (x-get-selection-internal): Update declarations.
9689
6d216d7f
GM
9690 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9691
2bed3f04
GM
9692 * window.el (window-sides-slots):
9693 * tool-bar.el (tool-bar-position):
9694 * term/xterm.el (xterm-extra-capabilities):
9695 * ses.el (ses-self-reference-early-detection):
9696 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9697 (verilog-auto-wire-type)
9698 (verilog-auto-delete-trailing-whitespace)
9699 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9700 (verilog-auto-tieoff-declaration):
9701 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9702 (sql-oracle-statement-starters, sql-oracle-scan-on):
9703 * progmodes/prolog.el (prolog-align-comments-flag)
9704 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9705 (prolog-left-indent-regexp, prolog-paren-indent-p)
9706 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9707 (prolog-types, prolog-mode-specificators)
9708 (prolog-determinism-specificators, prolog-directives)
9709 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9710 (prolog-electric-dot-flag)
9711 (prolog-electric-dot-full-predicate-template)
9712 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9713 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9714 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9715 (prolog-program-switches, prolog-prompt-regexp)
9716 (prolog-debug-on-string, prolog-debug-off-string)
9717 (prolog-trace-on-string, prolog-trace-off-string)
9718 (prolog-zip-on-string, prolog-zip-off-string)
9719 (prolog-use-standard-consult-compile-method-flag)
9720 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9721 (prolog-imenu-max-lines, prolog-info-predicate-index)
9722 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9723 (prolog-char-quote-workaround):
9724 * progmodes/cc-vars.el (c-defun-tactic):
9725 * net/tramp.el (tramp-encoding-command-interactive)
9726 (tramp-local-end-of-line):
9727 * net/soap-client.el (soap-client):
9728 * net/netrc.el (netrc-file):
9729 * net/gnutls.el (gnutls):
9730 * minibuffer.el (completion-category-overrides)
9731 (completion-cycle-threshold)
9732 (completion-pcm-complete-word-inserts-delimiters):
9733 * man.el (Man-name-local-regexp):
9734 * mail/feedmail.el (feedmail-display-full-frame):
9735 * international/characters.el (glyphless-char-display-control):
9736 * eshell/em-ls.el (eshell-ls-date-format):
9737 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9738 (lisp-lambda-list-keyword-parameter-indentation)
9739 (lisp-lambda-list-keyword-parameter-alignment):
9740 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9741 * dired-x.el (dired-omit-verbose):
9742 * cus-theme.el (custom-theme-allow-multiple-selections):
9743 * calc/calc.el (calc-highlight-selections-with-faces)
9744 (calc-lu-field-reference, calc-lu-power-reference)
9745 (calc-note-threshold):
9746 * battery.el (battery-mode-line-limit):
9747 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9748 (archive-7z-update):
9749 * allout.el (allout-prefixed-keybindings)
9750 (allout-unprefixed-keybindings)
9751 (allout-inhibit-auto-fill-on-headline)
9752 (allout-flattened-numbering-abbreviation):
9753 * allout-widgets.el (allout-widgets-auto-activation)
9754 (allout-widgets-icons-dark-subdir)
9755 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9756 (allout-widgets-theme-dark-background)
9757 (allout-widgets-theme-light-background)
9758 (allout-widgets-item-image-properties-emacs)
9759 (allout-widgets-item-image-properties-xemacs)
9760 (allout-widgets-run-unit-tests-on-load)
9761 (allout-widgets-time-decoration-activity)
9762 (allout-widgets-hook-error-post-time)
9763 (allout-widgets-track-decoration):
9764 Add missing :version tags to new defcustoms and defgroups.
9765
5fec1b8e
GM
9766 * progmodes/sql.el (sql-ansi-statement-starters)
9767 (sql-oracle-statement-starters): Add custom type.
9768
3e0d2fa7
GM
9769 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9770 (prolog-system-version): Give it a type.
9771
90b671e2
EZ
97722012-02-11 Eli Zaretskii <eliz@gnu.org>
9773
9774 * term/pc-win.el (x-select-text, x-selection-owner-p)
9775 (x-own-selection-internal, x-disown-selection-internal)
9776 (x-get-selection-internal): Sync doc strings and argument lists
9777 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9778
5eac0c02
LL
97792012-02-11 Leo Liu <sdl.web@gmail.com>
9780
9781 * progmodes/python.el (python-end-of-statement): Fix infinite
9782 loop. (Bug#10788)
9783
f82cb659
GM
97842012-02-10 Glenn Morris <rgm@gnu.org>
9785
9786 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9787 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9788
cc26d239
LI
97892012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9790
9791 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9792 about SMTP before checking the From header.
9793
91027d08 9794 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9795 into own function for reuse by emacsbug.el.
9796
1be3ca5a
LL
97972012-02-10 Leo Liu <sdl.web@gmail.com>
9798
9799 * subr.el (condition-case-unless-debug): Rename from
9800 condition-case-no-debug. All callers changed.
9801 (with-demoted-errors): Fix caller.
9802
9803 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9804 * nxml/rng-valid.el (rng-do-some-validation):
9805 * emacs-lisp/package.el (package-refresh-contents)
9806 (package-menu-execute):
9807 * desktop.el (desktop-create-buffer):
91027d08 9808 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9809
b011fbfe
GM
98102012-02-10 Glenn Morris <rgm@gnu.org>
9811
b2096d72
GM
9812 * textmodes/bibtex.el:
9813 Add missing :version tags for new/changed defcustoms.
9814
b011fbfe
GM
9815 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9816
4c7e65bf
LI
98172012-02-09 Lars Ingebrigtsen <larsi@rusty>
9818
9819 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9820 (smtpmail-via-smtp): Use it, or fall back on the From address.
9821 (smtpmail-send-it): Ditto.
9822
f3934f6f
SM
98232012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9824
9825 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9826 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9827 (byte-compile-tmp-var): New const.
9828 (byte-compile-defvar): Use it to minimize .elc size.
9829 Just use `defvar' rather than simulate it (bug#10761).
9830
a075a2c5
GM
98312012-02-09 Glenn Morris <rgm@gnu.org>
9832
cf3aa21b
GM
9833 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9834
354998cd
GM
9835 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9836 Add :version tags.
9837
dc9924b8
SM
9838 * progmodes/compile.el (compilation-error-screen-columns)
9839 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9840
dab3703d
GM
9841 * vc/log-view.el (log-view-toggle-entry-display):
9842 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9843
3f88cd72
GM
9844 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9845 (report-emacs-bug-can-use-xdg-email):
9846 (report-emacs-bug-insert-to-mailer): Doc fixes.
9847 (report-emacs-bug): Message fix.
9848
d95b247d
GM
9849 * net/browse-url.el (browse-url-can-use-xdg-open)
9850 (browse-url-xdg-open): Doc fixes.
9851
a075a2c5
GM
9852 * electric.el (electric-indent-mode, electric-pair-mode)
9853 (electric-layout-rules, electric-layout-mode): Doc fixes.
9854 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9855
ffb6157e
MR
98562012-02-08 Martin Rudalics <rudalics@gmx.at>
9857
9858 * server.el (server-unselect-display): Don't inadvertently kill
9859 the current buffer. (Bug#10729)
9860
e1ac4066
GM
98612012-02-08 Glenn Morris <rgm@gnu.org>
9862
34e8a2da
GM
9863 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9864 (sql-list-table): Doc fixes.
9865
b4ac6e8c
GM
9866 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9867 Comment out (does nothing).
9868
e1ac4066
GM
9869 * completion.el (dynamic-completion-mode):
9870 * dirtrack.el (dirtrack-debug-mode):
9871 * electric.el (electric-layout-mode):
9872 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9873 * face-remap.el (text-scale-mode, buffer-face-mode):
9874 * iimage.el (iimage-mode):
9875 * image-mode.el (image-transform-mode):
9876 * minibuffer.el (completion-in-region-mode):
9877 * scroll-lock.el (scroll-lock-mode):
9878 * simple.el (next-error-follow-minor-mode):
9879 * tar-mode.el (tar-subfile-mode):
9880 * tooltip.el (tooltip-mode):
9881 * vcursor.el (vcursor-use-vcursor-map):
9882 * wid-browse.el (widget-minor-mode):
9883 * emulation/tpu-edt.el (tpu-edt-mode):
9884 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9885 * international/iso-ascii.el (iso-ascii-mode):
9886 * language/thai-util.el (thai-word-mode):
9887 * mail/supercite.el (sc-minor-mode):
9888 * net/goto-addr.el (goto-address-mode):
9889 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9890 * progmodes/cwarn.el (cwarn-mode):
9891 * progmodes/flymake.el (flymake-mode):
9892 * progmodes/glasses.el (glasses-mode):
9893 * progmodes/hideshow.el (hs-minor-mode):
9894 * progmodes/pascal.el (pascal-outline-mode):
9895 * textmodes/enriched.el (enriched-mode):
9896 * vc/smerge-mode.el (smerge-mode):
9897 Doc fixes (minor mode argument).
9898
5e0d957f
EZ
98992012-02-07 Eli Zaretskii <eliz@gnu.org>
9900
9901 * ls-lisp.el (ls-lisp-sanitize): New function.
9902 (ls-lisp-insert-directory): Use it to fix or remove any elements
9903 in file-alist with missing attributes. (Bug#4673)
9904
98d7371e
AM
99052012-02-07 Alan Mackenzie <acm@muc.de>
9906
9907 Fix spurious recognition of c-in-knr-argdecl.
9908
9909 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9910 putative K&R region.
9911
667ced3a
AM
99122012-02-07 Alan Mackenzie <acm@muc.de>
9913
eb864a71
LM
9914 * progmodes/cc-engine.el (c-forward-objc-directive):
9915 Prevent looping in "#pragma mark @implementation".
667ced3a 9916
5b77774d
MA
99172012-02-07 Michael Albinus <michael.albinus@gmx.de>
9918
9919 * notifications.el (notifications-on-closed-signal): Make `reason'
9920 optional. (Bug#10744)
9921
af008560
GM
99222012-02-07 Glenn Morris <rgm@gnu.org>
9923
60d47423
GM
9924 * emacs-lisp/easy-mmode.el (define-minor-mode):
9925 Doc fixes for the macro and the mode it defines.
9926
dd605cc4
GM
9927 * image.el (imagemagick-types-inhibit): Doc fix.
9928
af008560
GM
9929 * cus-start.el (imagemagick-render-type): Add it.
9930
5cc59a37
LI
99312012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9932
4d6769e1
JB
9933 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9934 Set the default at load time, too, so that `font-lock-fontify-buffer'
9935 can be called without setting up the entire mode first. This fixes
9936 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 9937
9a6dd747
CY
99382012-02-06 Chong Yidong <cyd@gnu.org>
9939
2d16b285
CY
9940 * simple.el (list-processes--refresh): Delete exited processes
9941 (Bug#8094).
9942
171e9b6e
CY
9943 * comint.el (comint-next-prompt): next-single-char-property-change
9944 and prev-single-char-property-change never return nil (Bug#8657).
9945
9a6dd747
CY
9946 * custom.el (defcustom): Doc fix (Bug#9711).
9947
aa4589a7
CY
99482012-02-05 Chong Yidong <cyd@gnu.org>
9949
5c2a252f
CY
9950 * cus-edit.el (custom-variable-reset-backup): Quote the value
9951 before storing it in the customized-value property (Bug#6712).
4aab9006 9952 (custom-display): Add a customization type tag.
983b9602 9953 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 9954
aa4589a7
CY
9955 * wid-edit.el (widget-field-value-get): New optional arg to
9956 suppress trailing whitespace truncation.
9957 (character): Use it (Bug#2689).
9958
1ff980ae
AS
99592012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9960
9961 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9962 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9963
03988c98
CY
99642012-02-05 Chong Yidong <cyd@gnu.org>
9965
eeb6cc88
CY
9966 * cus-edit.el (custom-variable-value-create): For mismatched
9967 types, show the current value (Bug#7600).
9968
03988c98
CY
9969 * custom.el (defcustom): Doc fix.
9970
f8cdeef0
GM
99712012-02-05 Glenn Morris <rgm@gnu.org>
9972
9973 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9974
0696d255
JB
99752012-02-05 Juanma Barranquero <lekktu@gmail.com>
9976
9977 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9978 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9979 (pp-last-sexp): Use `looking-at-p'.
9980
34c99998
GM
99812012-02-04 Glenn Morris <rgm@gnu.org>
9982
8f05da42
GM
9983 * files.el (revert-buffer):
9984 Doc fix (mention revert-buffer-in-progress-p).
9985
f160676e
GM
9986 * emacs-lisp/ert-x.el (ert-simulate-command):
9987 Check deferred-action-list (which is obsolete) is bound.
9988
c7291ad9
GM
9989 * subr.el (with-wrapper-hook): Doc fixes.
9990
34c99998
GM
9991 * simple.el (filter-buffer-substring-functions)
9992 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9993
6283a7d3
LL
99942012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9995
9996 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9997 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9998
e96e3013
LL
99992012-02-04 Leo Liu <sdl.web@gmail.com>
10000
10001 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10002
8ded50f2
GM
100032012-02-04 Glenn Morris <rgm@gnu.org>
10004
82ff1d13
GM
10005 * image.el (image-extension-data): Add obsolete alias.
10006
987a0a16
GM
10007 * isearch.el (isearch-update): Doc fix.
10008
ea32ef46
GM
10009 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10010
8ded50f2
GM
10011 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10012
eea14f31
GM
100132012-02-03 Glenn Morris <rgm@gnu.org>
10014
10015 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10016 (image-animate-timeout): Doc fix.
10017
10018 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10019
12f381b7
GM
100202012-02-02 Glenn Morris <rgm@gnu.org>
10021
953cebf5
GM
10022 * server.el (server-auth-dir): Doc fix.
10023 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10024
12f381b7
GM
10025 * subr.el (run-mode-hooks): Doc fix.
10026
953a8c3b
JL
100272012-02-02 Juri Linkov <juri@jurta.org>
10028
10029 * image-mode.el (image-toggle-display-image): Remove tautological
10030 `major-mode' from the `derived-mode-p' test.
10031
c5d3843c
KH
100322012-02-02 Kenichi Handa <handa@m17n.org>
10033
9f6e692e 10034 * composite.el (compose-region): Cancel previous change.
c5d3843c 10035
159462d4 100362012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10037
10038 * composite.el (compose-region, compose-string): Signal error for
10039 a null string component (Bug#6988).
10040
9f562668
CY
100412012-02-01 Chong Yidong <cyd@gnu.org>
10042
e2cef717
CY
10043 * view.el (view-buffer-other-window, view-buffer-other-frame):
10044 Handle special modes like view-buffer (Bug#10650).
10045 (view-buffer): Simplify.
10046
9f562668
CY
10047 * frame.el (set-frame-font): Tweak meaning of third argument.
10048
9f6e692e
JB
10049 * dynamic-setting.el (font-setting-change-default-font):
10050 Use set-frame-font (Bug#9982).
9f562668 10051
781acb9f
GM
100522012-02-01 Glenn Morris <rgm@gnu.org>
10053
6035be52
GM
10054 * progmodes/compile.el (compilation-internal-error-properties):
10055 Respect compilation-first-column in the "*compilation*" buffer.
10056
781acb9f
GM
10057 * emacs-lisp/easy-mmode.el (define-minor-mode):
10058 Relax :variable's test for a named function.
10059
abbceb00
AM
100602012-01-31 Alan Mackenzie <acm@muc.de>
10061
10062 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10063 off by one error.
10064
fce3fdeb
CY
100652012-01-31 Chong Yidong <cyd@gnu.org>
10066
10067 * frame.el (set-frame-font): New arg ALL-FRAMES.
10068
10069 * menu-bar.el (menu-set-font): Use set-frame-font.
10070
10071 * faces.el (face-spec-reset-face): Don't apply unspecified
10072 attribute values to the default face.
10073
47893581
JB
100742012-01-31 Juanma Barranquero <lekktu@gmail.com>
10075
10076 * progmodes/cwarn.el (cwarn): Remove dead link.
10077 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10078 Remove * from defcustom docstrings.
10079 (turn-on-cwarn-mode): Make obsolete.
10080 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10081 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10082
e58e988a
GM
100832012-01-31 Glenn Morris <rgm@gnu.org>
10084
60dc2671 10085 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10086 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10087 Allow named functions to be used as the cdr of :variable.
e58e988a 10088
7a3f511d
GM
100892012-01-30 Glenn Morris <rgm@gnu.org>
10090
10091 * emacs-lisp/authors.el (authors-fixed-entries):
10092 Remove reference to deleted file rnewspost.el.
10093
cb882333
JB
100942012-01-29 Juanma Barranquero <lekktu@gmail.com>
10095
10096 * window.el (window-with-parameter): Remove unused variable `windows'.
10097 (window--side-check): Remove unused variable `code'.
10098 (window--resize-siblings): Remove unused variable `first'.
10099 (adjust-window-trailing-edge): Remove unused variable `failed'.
10100 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10101 Use `let', not `let*'.
10102 (balance-windows-2): Remove unused variable `found'.
10103 (window--state-put-2): Remove unused variable `splits'.
10104 (window-state-put): Remove unused variable `selected'.
10105 (same-window-p): Use `string-match-p'.
10106 (display-buffer-assq-regexp): Remove unused variable `value'.
10107 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10108 Mark argument ALIST as ignored.
10109 (pop-to-buffer): Remove unused variable `old-window'.
10110
907201af
EZ
101112012-01-29 Eli Zaretskii <eliz@gnu.org>
10112
10113 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10114 and .lzma compressed files.
10115
ea162670
CY
101162012-01-29 Chong Yidong <cyd@gnu.org>
10117
5b95ee8a
CY
10118 * frame.el (window-system-default-frame-alist): Doc fix.
10119
ea162670
CY
10120 * dynamic-setting.el (font-setting-change-default-font): Don't
10121 change the default face if SET-FONT argument is non-nil (Bug#9982).
10122
d6e6f4b1
SB
101232012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10124
10125 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10126
0f29fa41 101272012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10128
10129 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10130 breakpoints in files outside current directory (Bug#6098).
10131
db174434
CY
101322012-01-29 Chong Yidong <cyd@gnu.org>
10133
6b25e4e2
SE
10134 * progmodes/python.el: Require ansi-color at top-level.
10135
6df6ae42
JB
10136 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10137 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10138 (lisp-mode-abbrev-table): Add doc.
10139 (lisp-mode-variables): Don't set local-abbrev-table.
10140 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10141
e70ee681
RW
101422012-01-28 Roland Winkler <winkler@gnu.org>
10143
10144 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10145
ace88aa2
RW
101462012-01-28 Roland Winkler <winkler@gnu.org>
10147
10148 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10149 (bibtex-set-dialect): Use it. Either set global values of
10150 dialect-dependent variables or bind these variables buffer-locally
10151 (Bug#10254).
10152 (bibtex-mode): Call bibtex-set-dialect via
10153 hack-local-variables-hook.
eb864a71
LM
10154 (bibtex-dialect): Update docstring.
10155 Add safe-local-variable predicate.
ace88aa2
RW
10156 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10157 bibtex-set-dialect.
10158 (bibtex-mode-map): Define menu for each dialect.
10159 (bibtex-entry): Fix docstring.
10160
93376c5b
CY
101612012-01-28 Chong Yidong <cyd@gnu.org>
10162
10163 * eshell/esh-arg.el (eshell-quote-argument): New function.
10164
10165 * eshell/esh-ext.el (eshell-invoke-batch-file):
10166 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10167 first arg to eshell-parse-command (Bug#10523).
10168
4372494f
DA
101692012-01-28 Drew Adams <drew.adams@oracle.com>
10170
10171 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10172 `default-directory' is non-nil.
10173
4d4ec1f8
EZ
101742012-01-28 Eli Zaretskii <eliz@gnu.org>
10175
10176 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10177 line that displays system-configuration-options. (Bug#9924)
10178
7c188927
DA
101792012-01-28 Drew Adams <drew.adams@oracle.com>
10180
10181 * descr-text.el (describe-char): Show information about POS, in
10182 addition to information about the character at POS. Improve and
10183 update the doc string. Change "code point" to "code point in
10184 charset", to avoid confusion with the character's Unicode code
10185 point shown above that. (Bug#10129)
10186
e0da685a
EZ
101872012-01-28 Eli Zaretskii <eliz@gnu.org>
10188
10189 * descr-text.el (describe-char): Show the raw character, not only
10190 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10191 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10192 for the reasons.
10193
70550acf
PH
101942012-01-28 Phil Hagelberg <phil@hagelb.org>
10195
eb864a71
LM
10196 * emacs-lisp/package.el (package-install):
10197 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10198
0ce8e868
CY
101992012-01-28 Chong Yidong <cyd@gnu.org>
10200
cb882333
JB
10201 * emacs-lisp/package.el (package-maybe-load-descriptor):
10202 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10203 (package-maybe-load-descriptor): Use it.
10204 (package-download-transaction): Fully load required packages
10205 inside the loop, so that `require' calls work (Bug#10593).
10206 (package-install): No need to call package-initialize now.
10207
2e7f3bea
CY
102082012-01-28 Chong Yidong <cyd@gnu.org>
10209
6e9bad14
CY
10210 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10211
f823b8ca
CY
10212 * tooltip.el (tooltip-mode): Doc fix.
10213 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10214
2680c309
CY
10215 * frame.el (set-cursor-color): Doc fix (Bug#352).
10216
d7a9e63b
CY
10217 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10218 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10219
2e7f3bea
CY
10220 * cus-edit.el (custom-buffer-create-internal): Fix search button
10221 action (Bug#10542).
2ae01800 10222 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10223
fc4f7a23
EW
102242012-01-27 Eduard Wiebe <usenet@pusto.de>
10225
10226 * dired.el (dired-mark-files-regexp):
10227 Include any subdirectory components. (Bug#10445)
10228
7dd37071
ML
102292012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10230
10231 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10232 Handle [host]:port syntax. (Bug#10533)
10233
a268160b
AH
102342012-01-27 Alex Harsanyi <harsanyi@mac.com>
10235
10236 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10237
e43273ef
GM
102382012-01-26 Glenn Morris <rgm@gnu.org>
10239
10240 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10241 * term.el (term-raw-escape-map): Use Control-X-prefix.
10242 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10243
1edf595d
MR
102442012-01-25 Martin Rudalics <rudalics@gmx.at>
10245
10246 * window.el (window-state-get, window--state-get-1): Don't deal
10247 with fixed-sizeness of windows. Simplify code.
10248
fa8eafef
JC
102492012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10250
6df6ae42
JB
10251 * window.el (window--state-get-1, window--state-put-2):
10252 Don't save and restore the mark.
fa8eafef 10253
0b21c100
CY
102542012-01-25 Chong Yidong <cyd@gnu.org>
10255
10256 * custom.el (custom-variable-p): Doc fix.
10257
5ae1a6c8
GM
102582012-01-25 Glenn Morris <rgm@gnu.org>
10259
40047858
GM
10260 * dired.el (dired-goto-file): Handle some of the more common
10261 characters that `ls -b' escapes. (Bug#10596)
10262
5ddce96c
GM
10263 * progmodes/compile.el (compilation-next-error-function):
10264 Respect compilation-first-column in the "*compilation*" buffer.
10265 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10266
5ae1a6c8
GM
10267 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10268
b559f1a9
GM
102692012-01-24 Glenn Morris <rgm@gnu.org>
10270
10271 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10272
6725d21a
JD
102732012-01-24 Julien Danjou <julien@danjou.info>
10274
10275 * color.el (color-rgb-to-hsl): Fix value computing.
10276 (color-hue-to-rgb): New function.
10277 (color-hsl-to-rgb): New function.
10278 (color-clamp, color-saturate-hsl, color-saturate-name)
10279 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10280 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10281
70df4bbe
GM
102822012-01-24 Glenn Morris <rgm@gnu.org>
10283
10284 * vc/vc-rcs.el (vc-rcs-create-tag):
10285 * vc/vc-sccs.el (vc-sccs-create-tag):
10286 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10287
802a2ae2
ML
102882012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10289
10290 * eshell/esh-util.el (eshell-read-hosts-file):
10291 Skip comment lines. (Bug#10549)
10292
d7128bb1
ML
10293 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10294
d1a5c3b4
JB
102952012-01-23 Juanma Barranquero <lekktu@gmail.com>
10296
2724d9c7
JB
10297 * subr.el (display-delayed-warnings): Doc fix.
10298 (collapse-delayed-warnings): New function to collapse identical
10299 adjacent warnings.
10300 (delayed-warnings-hook): Add it.
d1a5c3b4 10301
a5509865
MA
103022012-01-22 Michael Albinus <michael.albinus@gmx.de>
10303
10304 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10305
a5509865
MA
10306 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10307 (tramp-default-user-alist): Don't add "pscp".
10308 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10309 property "login-as", if set. (Bug#10530)
10310
cc6d5805
MA
103112012-01-21 Michael Albinus <michael.albinus@gmx.de>
10312
10313 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10314 "plink1" and "psftp". (Bug#10530)
10315
103162012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10317
10318 * international/mule-cmds.el (prefer-coding-system): Show a
10319 warning message if the default value of file-name-coding-system
10320 was not changed.
10321
f0960428
JC
103222012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10323
cb882333
JB
10324 * windmove.el (windmove-reference-loc):
10325 Fix windmove-reference-loc miscalculation.
f0960428 10326
dd6f2a63
JB
103272012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10328
10329 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10330 default unit.
10331
7b447e9b
GM
103322012-01-21 Glenn Morris <rgm@gnu.org>
10333
117a9ea1
GM
10334 * international/mule.el (auto-coding-alist): Add .tbz.
10335
7b447e9b
GM
10336 * files.el (local-enable-local-variables): Doc fix.
10337 (inhibit-local-variables-regexps): Rename from
10338 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10339 Doc fix. Add some extensions from auto-coding-alist.
10340 (inhibit-local-variables-suffixes):
10341 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10342 (inhibit-local-variables-p):
10343 New function, extracted from set-auto-mode-1.
10344 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10345 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10346 (hack-local-variables): Doc fix. Make the mode-only case
10347 respect enable-local-variables and friends.
10348 Respect inhibit-local-variables-regexps for file-locals, but
10349 not for directory-locals.
10350 (set-visited-file-name):
10351 Take account of inhibit-local-variables-regexps.
10352 Whether it applies may change as the file name is changed.
10353 * jka-cmpr-hook.el (jka-compr-install):
10354 * jka-compr.el (jka-compr-uninstall):
10355 Update for inhibit-first-line-modes-suffixes name change.
10356
dd6e3cdd
MR
103572012-01-20 Martin Rudalics <rudalics@gmx.at>
10358
10359 * help-macro.el (make-help-screen): Temporarily restore original
10360 binding for minor-mode-map-alist (Bug#10454).
10361
0d0deb38
JD
103622012-01-19 Julien Danjou <julien@danjou.info>
10363
10364 * color.el (color-name-to-rgb): Use the white color to find the max
10365 color component value and return correctly computed values.
10366 (color-name-to-rgb): Add missing float conversion for max value.
10367
34a02f46
MR
103682012-01-19 Martin Rudalics <rudalics@gmx.at>
10369
10370 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10371 special state value for window-persistent-parameters.
10372 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10373 (window--state-put-2): Reset all window parameters to nil before
10374 assigning values of persistent parameters.
10375
606c44c4
AM
103762012-01-18 Alan Mackenzie <acm@muc.de>
10377
10378 Eliminate sluggishness and hangs in fontification of "semicolon
10379 deserts".
10380
cb882333
JB
10381 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10382 Change value 10000 -> 3000.
606c44c4
AM
10383 (c-state-safe-place): Reformulate so it doesn't stack up an
10384 infinite number of wrong entries in c-state-nonlit-pos-cache.
10385 (c-determine-limit-get-base, c-determine-limit): New functions to
10386 determine backward search limits disregarding literals.
10387 (c-find-decl-spots): Amend commenting.
10388 (c-cheap-inside-bracelist-p): New function which detects "={".
10389
10390 * progmodes/cc-fonts.el
10391 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10392 backward search.
10393 (c-font-lock-declarations): Fix an occurrence of point being
10394 undefined. Check additionally for point being in a bracelist or
10395 near a macro invocation without a semicolon so as to avoid a
10396 fruitless time consuming search for a declarator. Give a more
10397 precise search limit for declarators using the new
10398 c-determine-limit.
10399
f3860cea
GM
104002012-01-18 Glenn Morris <rgm@gnu.org>
10401
10402 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10403 (set-auto-mode): Doc fixes.
10404
1db03b16
GM
104052012-01-17 Glenn Morris <rgm@gnu.org>
10406
0e6038be
GM
10407 * isearch.el (search-nonincremental-instead): Fix doc typo.
10408
1db03b16
GM
10409 * dired.el (dired-insert-directory): Handle newlines in directory name.
10410 (dired-build-subdir-alist): Unescape newlines in directory name.
10411
4cb0aa75
MA
104122012-01-17 Michael Albinus <michael.albinus@gmx.de>
10413
10414 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10415 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10416 (tramp-action-terminal): Use it. (Bug#10530)
10417
1d00653d
SM
104182012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10421
6a6ee00d
MR
104222012-01-16 Martin Rudalics <rudalics@gmx.at>
10423
10424 * window.el (window-state-ignored-parameters): Remove variable.
10425 (window--state-get-1): Rename argument MARKERS to IGNORE.
10426 Handle persistent window parameters. Make copy of clone-of
10427 parameter only if requested. (Bug#10348)
10428 (window--state-put-2): Install a window parameter only if it has
10429 a non-nil value or an existing parameter shall be overwritten.
10430
97912def
MA
104312012-01-15 Michael Albinus <michael.albinus@gmx.de>
10432
10433 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10434
688070a5
EZ
104352012-01-14 Eli Zaretskii <eliz@gnu.org>
10436
10437 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10438 don't pass the (nil) value of `upnode' to string-match.
10439
301afadc
CY
104402012-01-14 Chong Yidong <cyd@gnu.org>
10441
10442 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10443 Fix values recognized by the cursorBlink resource.
301afadc 10444
9e5788aa
PE
104452012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10446
10447 * epg.el (epg--make-temp-file): Avoid permission race condition
10448 when running on old Emacs versions (bug#10403).
10449
3cdb7f5a
GM
104502012-01-14 Glenn Morris <rgm@gnu.org>
10451
10452 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10453
8c82b1b4
AM
104542012-01-13 Alan Mackenzie <acm@muc.de>
10455
10456 Fix filling for when filladapt mode is enabled.
10457
10458 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10459 c-mask-paragraph, pass in `fill-paragraph' rather than
10460 `fill-region-as-paragraph'. (This is a reversion of a previous
10461 change.)
eb864a71
LM
10462 * progmodes/cc-mode.el (c-basic-common-init):
10463 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10464
e517eda4
GM
104652012-01-13 Glenn Morris <rgm@gnu.org>
10466
1498536e
GM
10467 * dired.el (dired-switches-escape-p): New function.
10468 (dired-insert-directory): Use dired-switches-escape-p.
10469 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10470
e517eda4
GM
10471 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10472
328f984d
GM
104732012-01-12 Glenn Morris <rgm@gnu.org>
10474
10475 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10476 changes in adaptive-fill-regexp. (Bug#10276)
10477
2cc769a8
AM
104782012-01-11 Alan Mackenzie <acm@muc.de>
10479
10480 Fix Emacs bug #10463 - put `widen's around the critical spots.
10481
1d00653d 10482 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10483 widen around each invocation of c-state-pp-to-literal. Remove an
10484 unused let variable.
10485
e52c37fa
GM
104862012-01-11 Glenn Morris <rgm@gnu.org>
10487
10488 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10489 Doc fix.
e52c37fa 10490
96f8741e
CY
104912012-01-10 Chong Yidong <cyd@gnu.org>
10492
1d00653d
SM
10493 * net/network-stream.el (network-stream-open-starttls):
10494 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10495 response to the capability command.
10496
b09a806e
GM
104972012-01-10 Glenn Morris <rgm@gnu.org>
10498
10499 * mail/unrmail.el (unrmail): Tweak previous change.
10500
7655cb66
CY
105012012-01-09 Chong Yidong <cyd@gnu.org>
10502
10503 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10504
9d5a8f0b
AM
105052012-01-08 Alan Mackenzie <acm@muc.de>
10506
10507 Optimise font locking in long enum definitions.
10508
10509 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10510 arm to a cond form to handle enums.
10511 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10512 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10513
9a0115ab 105142012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10515
10516 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10517 (Bug#10401)
6bb72cbd 10518
f186bb95
LMI
105192012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10520
29232a68
LMI
10521 * faces.el (set-face-attribute): Clarify the meaning of the nil
10522 frame (bug#10294).
10523
4e5d086d
LMI
10524 * subr.el (with-selected-frame): Mention that the selected frame
10525 is restored (bug#9980).
10526
8e66aebe
LMI
10527 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10528 (bug#9759).
10529
cd394be1 10530 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10531 (password-read): Don't autoload unused function.
10532
adf4e762
JB
105332012-01-07 Juanma Barranquero <lekktu@gmail.com>
10534
10535 * progmodes/which-func.el (which-func-mode): Turn into a
10536 non-interactive function and mark as obsolete (bug#10428).
10537
89bd9ccd
CY
105382012-01-06 Chong Yidong <cyd@gnu.org>
10539
10540 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10541 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10542 functions, along with 1 and -1.
10543
4afee9d5
EZ
105442012-01-06 Eli Zaretskii <eliz@gnu.org>
10545
10546 * time.el (display-time-load-average)
10547 (display-time-default-load-average): Doc fixes. See the thread
10548 starting at
10549 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10550 for the details.
10551
536aea70
GM
105522012-01-06 Glenn Morris <rgm@gnu.org>
10553
665ae865
GM
10554 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10555 has no messages. (Bug#10377)
10556
c869783d
GM
10557 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10558 than Info-edit. (Bug#10385)
10559
2bb4227e
GM
10560 * time.el (display-time-load-average, display-time-next-load-average):
10561 Doc fixes.
10562
7d5944b9
GM
10563 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10564 local setting of buffer-read-only to the input buffer. (Bug#10419)
10565
536aea70
GM
10566 * calendar/calendar.el (calendar-mode):
10567 Locally set scroll-margin to 0. (Bug#10379)
10568
7dccca16
UM
105692012-01-06 Ulrich Mueller <ulm@gentoo.org>
10570
10571 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10572
afbb7930
GM
105732012-01-05 Glenn Morris <rgm@gnu.org>
10574
10575 * eshell/em-unix.el (diff-no-select): Autoload it.
10576 (eshell/diff): Use diff-no-select. (Bug#10420)
10577
04482335
CY
105782012-01-05 Chong Yidong <cyd@gnu.org>
10579
7baca3bc
CY
10580 * shell.el (shell-dynamic-complete-functions): Revert last change.
10581 (shell-command-completion-function): New function.
10582 (shell-completion-vars): Use it to implement
10583 shell-completion-execonly (Bug#10417).
10584
04482335
CY
10585 * custom.el (enable-theme): Don't set custom-safe-themes.
10586
1d00653d
SM
10587 * cus-theme.el (custom-theme-merge-theme):
10588 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10589
bb5aa5d6
MM
105902012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10591
10592 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10593 first prompt in `sql-interacive-mode'.
10594 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10595 keywords.
6df6ae42 10596 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10597 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10598 context of original buffer. Invoke `sql-login-hook'.
10599
a7183d7c
EZ
106002012-01-04 Eli Zaretskii <eliz@gnu.org>
10601
10602 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10603 letters in cite-prefix.
10604
a1eacd1e
LMI
106052012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10606
10607 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10608
787cdb34
CY
106092012-01-03 Chong Yidong <cyd@gnu.org>
10610
1d00653d
SM
10611 * shell.el (shell-dynamic-complete-functions):
10612 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10613 comint-filename-completion first (Bug#10417).
10614
30710442
RS
106152012-01-02 Richard Stallman <rms@gnu.org>
10616
10617 * battery.el (battery-status-function):
10618 Detect when to use battery-yeeloong-sysfs.
10619 (battery-echo-area-format): Add string for Yeeloong.
10620 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10621 (battery-yeeloong-sysfs): New function.
10622
f75bfc33
CY
106232012-01-02 Chong Yidong <cyd@gnu.org>
10624
10625 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10626 (dirtrack): Merge code for handling relative filenames in prompt
10627 from shell-dir-cookie-watcher.
10628 (dirtrack-debug-message): New arg to avoid excess format calls.
10629
10630 * shell.el (shell-dir-cookie-re): Variable deleted.
10631 (shell-dir-cookie-watcher): Function deleted.
10632 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10633 with dirtrack-mode.
10634
651e947e
EZ
106352012-01-01 Eli Zaretskii <eliz@gnu.org>
10636
1d00653d
SM
10637 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10638 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10639 libgnutls-26.dll.
10640
94d4c7dc
AS
106412011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10642
10643 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10644
8d43f3cd
EZ
106452011-12-31 Eli Zaretskii <eliz@gnu.org>
10646
10647 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10648 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10649
98c8795a
MA
106502011-12-29 Michael Albinus <michael.albinus@gmx.de>
10651
10652 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10653 also for alternative shells.
10654 (tramp-open-connection-setup-interactive-shell): Check, whether
10655 the shell is a busybox.
10656 (tramp-send-command): Don't suppress multiple prompts for
10657 busyboxes, it hurts.
10658
51281b32
CY
106592011-12-28 Chong Yidong <cyd@gnu.org>
10660
10661 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10662 (gdb-get-source-file): Move mode line update to
10663 gdb-get-source-file (Bug#10087).
10664
2170cb53
CY
106652011-12-25 Chong Yidong <cyd@gnu.org>
10666
10667 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10668 gud-gdb-marker-filter without taking it as an argument.
10669 (gud-gdb-run-command-fetch-lines): Caller changed.
10670 (gud-gdb-completion-function): New variable.
10671 (gud-gdb-completion-at-point): Use it.
10672 (gud-gdb-completions-1): Split from gud-gdb-completions.
10673
10674 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10675 function as separate arguments.
10676 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10677 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10678 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10679 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10680 (gdb-stopped, def-gdb-auto-update-trigger)
10681 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10682 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10683 Callers changed.
2170cb53
CY
10684 (gud-gdbmi-completions): New function.
10685 (gdb): Use it for generating the completion table.
10686
be8b11bb
AM
106872011-12-24 Alan Mackenzie <acm@muc.de>
10688
10689 Introduce a mechanism to widen the region used in context font
1d00653d 10690 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10691
1d00653d
SM
10692 * progmodes/cc-langs.el (c-before-font-lock-functions):
10693 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10694 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10695 functions to be run just before context (etc.) font locking.
10696
10697 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10698 New, functionality extracted from
be8b11bb 10699 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10700 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10701 (c-after-change): Set c-in-after-change-fontification.
10702 (c-set-fl-decl-start): Rejig its interface, so it can be called
10703 from both after-change and context fontifying.
b81d40f0
JB
10704 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10705 New functions.
10706 (c-standard-font-lock-fontify-region-function): New variable.
10707 (c-font-lock-fontify-region): New function.
be8b11bb 10708
341cf6ac
JL
107092011-12-24 Juri Linkov <juri@jurta.org>
10710
10711 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10712 (Bug#10348)
10713
bffcee0a
MA
107142011-12-23 Michael Albinus <michael.albinus@gmx.de>
10715
10716 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10717 existence of source file. (Bug#10325)
10718
cb5e207c
AM
107192011-12-23 Alan Mackenzie <acm@muc.de>
10720
10721 Fix unstable fontification inside templates.
10722
b81d40f0
JB
10723 * progmodes/cc-langs.el (c-before-font-lock-functions):
10724 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10725 additionally has c-set-fl-decl-start. The other languages (apart
10726 from AWK) have that as a single entry.
10727
b81d40f0
JB
10728 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10729 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10730 c-set-fl-decl-start.
10731
b81d40f0
JB
10732 * progmodes/cc-mode.el (c-common-init, c-after-change):
10733 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10734 (c-set-fl-decl-start): New function, extracted from
10735 c-font-lock-enclosing-decls and enhanced.
10736
60ff536c
JB
107372011-12-23 Juanma Barranquero <lekktu@gmail.com>
10738
10739 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10740
1c4757d6
JL
107412011-12-22 Juri Linkov <juri@jurta.org>
10742
10743 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10744
d031f2c7
CY
107452011-12-22 Chong Yidong <cyd@gnu.org>
10746
10747 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10748
bace743a
DA
107492011-12-21 Drew Adams <drew.adams@oracle.com>
10750
10751 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10752
728a1f2b
JC
107532011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10754
10755 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10756
0d373f73
TZ
107572011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10758
fec0aaa4
TZ
10759 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10760 highlighting and support. Fix up comments for capitalization.
10761 (cfengine-mode-debug): New var.
10762 (cfengine3-mode): Change the modeline indicator to "CFE3".
10763 (cfengine3-font-lock-keywords): Improve defun highlighting.
10764 (cfengine2-actions): Rename from `cfengine-actions'.
10765 (cfengine2-font-lock-keywords): Rename from
10766 `cfengine-font-lock-keywords'.
10767 (cfengine2-imenu-expression): Rename from
10768 `cfengine-imenu-expression'.
10769 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10770 (cfengine2-beginning-of-defun): Rename from
10771 `cfengine-beginning-of-defun'.
10772 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10773 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10774 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10775 modeline indicator to "CFE2".
10776 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10777 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10778
bc86f573
CY
107792011-12-21 Chong Yidong <cyd@gnu.org>
10780
10781 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10782 filename argument.
10783
d45ba96b
MR
107842011-12-20 Martin Rudalics <rudalics@gmx.at>
10785
10786 * window.el (window-normalize-buffer-to-display): Remove.
10787 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10788
a6198c90
CY
107892011-12-19 Chong Yidong <cyd@gnu.org>
10790
10791 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10792 Don't signal an error in a predicate function; return non-nil.
10793 (vc-dir-mark-file): Move the error here.
10794 (vc-dir-mark-unmark): If acting on the region, keep going if one
10795 of the entries cannot be marked/unmarked.
10796 (vc-dir-mark-all-files): If current entry is a directory, mark
10797 only child files, as documented.
10798
34c5fb55
VB
107992011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10800
10801 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10802 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10803 addition.
10804
c803b2b7
JD
108052011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10806
10807 * term/ns-win.el (ns-get-selection-internal)
10808 (ns-store-selection-internal): Declare.
1154d12e
JB
10809 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10810 Declare as obsolete.
10811 (ns-get-pasteboard, ns-paste-secondary):
10812 Use ns-get-selection-internal.
41e9b956 10813 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10814 Use ns-store-selection-internal.
c803b2b7 10815
9cff91f8 108162011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10817
10818 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10819 (vc-deduce-fileset): Doc fix.
99a289d9 10820
f16c898a
AS
108212011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10822
10823 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10824
763237c4
SS
108252011-12-13 Sam Steingold <sds@gnu.org>
10826
10827 * man.el (Man-getpage-in-background): When running under a
10828 window-system, ignore $MANWIDTH and $COLUMNS.
10829
5fc1c122
KH
108302011-12-15 Kenichi Handa <handa@m17n.org>
10831
10832 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10833 (setup-ethiopic-environment-internal): Comment out key-binding for
10834 ethio-toggle-punctuation.
10835
13d49cbb
AM
108362011-12-13 Alan Mackenzie <acm@muc.de>
10837
898169a2
AM
10838 Add the switch statement to AWK Mode.
10839
7a71b18d 10840 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10841 "default" to the keywords regexp.
10842
7a71b18d 10843 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10844 expression as the rest.
1d00653d
SM
10845 (c-nonlabel-token-key): Allow string literals for AWK.
10846 Refactor for the other modes.
898169a2 10847
13d49cbb 10848 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10849 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10850 routines. Limit backward searching in c-font-lock-enclosing.decl.
10851
10852 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10853 pp-state and literal type in addition to the limits.
1d00653d 10854 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10855 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10856 (c-slow-in-literal, c-fast-in-literal): Remove.
10857 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10858
10859 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10860 being in a literal. Add a limit for backward searching.
10861
10862 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10863 c-slow-in-literal.
10864
15e0efc7
SM
108652011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10866
10867 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10868
454592a6
MR
108692011-12-13 Martin Rudalics <rudalics@gmx.at>
10870
10871 * window.el (delete-other-windows): Use correct frame in call to
10872 window-with-parameter.
10873
87393f26
DP
108742011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10875
10876 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10877 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10878 (makefile-gmake-statements, makefile-makepp-statements):
10879 Use it and add new makepp keywords.
10880 (makefile-makepp-font-lock-keywords): Add new patterns.
10881 (makefile-match-function-end): Match new [...] and [[...]].
10882
11636b22
JB
108832011-12-11 Juanma Barranquero <lekktu@gmail.com>
10884
10885 * ses.el (ses-call-printer-return, ses-cell-property-get)
10886 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10887 (ses-create-cell-variable, ses-reset-header-string)
10888 (ses-cell-set-formula, ses-repair-cell-reference-all)
10889 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10890 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10891 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10892 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10893 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10894 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10895 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10896 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10897 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10898 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10899 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10900 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10901
cf018193
VB
109022011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10903
10904 * ses.el: The overall change is to add cell renaming, that is
10905 setting fancy names for cell symbols other than name matching
10906 "\\`[A-Z]+[0-9]+\\'" regexp .
10907 (ses-create-cell-variable): New defun.
10908 (ses-relocate-formula): Relocate formulas only for cells the
10909 symbols of which are not renamed, i.e. symbols whose names do not
10910 match regexp "\\`[A-Z]+[0-9]+\\'".
10911 (ses-relocate-all): Relocate values only for cells the symbols of
10912 which are not renamed.
10913 (ses-load): Create cells variables as the (ses-cell ...) are read,
10914 in order to check row col consistency with cell symbol name only
10915 for cells that are not renamed.
10916 (ses-replace-name-in-formula): New defun.
10917 (ses-rename-cell): New defun.
10918
ee957461
CY
109192011-12-11 Chong Yidong <cyd@gnu.org>
10920
10921 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10922 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10923
9a9e9ef0
MR
109242011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10925
10926 * window.el (other-window): Fix docstring.
10927
92a8eba5
EZ
109282011-12-10 Eli Zaretskii <eliz@gnu.org>
10929
10930 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
10931 `from' or `to' address before taking its substring.
10932 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
10933 encoded name is chopped in the middle of the encoded string, and
10934 thus displayed encoded.
10935
e152e577
JB
109362011-12-10 Juanma Barranquero <lekktu@gmail.com>
10937
10938 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10939
e5d84bfe
EZ
109402011-12-10 Eli Zaretskii <eliz@gnu.org>
10941
10942 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10943 to use texinfo-update-node and commands that call it if the
10944 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 10945 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
10946 (texinfo-all-menus-update, texinfo-master-menu)
10947 (texinfo-update-node, texinfo-every-node-update)
10948 (texinfo-multiple-files-update): Doc fix. Warn against updating
10949 all the @node lines.
10950 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
10951 argument is numeric. Explain better in the doc string what the
10952 function really does.
10953 (texinfo-insert-master-menu-list): Improve the error message
10954 displayed if there's no menu in the Top node.
10955 (Bug#2975) See also this thread:
e5d84bfe
EZ
10956 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10957
1d84e9bb
MG
109582011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10959
10960 * speedbar.el (speedbar-supported-extension-expressions):
10961 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10962
382c953b
JB
109632011-12-09 Juanma Barranquero <lekktu@gmail.com>
10964
10965 * printing.el (pr-mode-alist):
10966 * simple.el (filter-buffer-substring-functions)
10967 (completion-list-insert-choice-function):
10968 * window.el (window-with-parameter, window-atom-root)
10969 (window-sides-slots, window-size-fixed, window-min-delta)
10970 (window-max-delta, window--resize-mini-window)
10971 (window--resize-child-windows-normal, window-tree)
10972 (delete-other-windows, quit-window, split-window)
10973 (display-buffer-record-window, special-display-buffer-names)
10974 (special-display-regexps, special-display-popup-frame)
10975 (same-window-p, split-window-sensibly)
10976 (display-buffer-overriding-action, display-buffer-alist)
10977 (display-buffer-base-action, display-buffer, switch-to-buffer)
10978 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10979 (fit-window-to-buffer, recenter-positions)
10980 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10981 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10982 and remove unneeded backslashes in docstrings.
10983
39c9faef
SM
109842011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10985
98449af8
SM
10986 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10987
39c9faef
SM
10988 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10989 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10990 end in ".mk".
10991 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10992 when reading the makefile (bug#10116).
10993
86ed9fdc
SM
109942011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10997 (bug#10116).
10998
5580f89d
GM
109992011-12-06 Glenn Morris <rgm@gnu.org>
11000
11001 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11002
28d3917c
CY
110032011-12-06 Chong Yidong <cyd@gnu.org>
11004
11005 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11006
a98edce9
JB
110072011-12-06 Juanma Barranquero <lekktu@gmail.com>
11008
11009 * textmodes/table.el (table-shorten-cell): Fix typo.
11010
e65adfac
CG
110112011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11012
11013 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11014
71cc0b74
EZ
110152011-12-05 Eli Zaretskii <eliz@gnu.org>
11016
11017 * descr-text.el (describe-char): Fix display of strong
11018 right-to-left characters and directional embeddings and overrides.
11019
11020 * simple.el (what-cursor-position): Fix display of codepoints of
11021 strong right-to-left characters.
11022
315bc30d
CY
110232011-12-05 Chong Yidong <cyd@gnu.org>
11024
11025 * faces.el (read-color): Doc fix.
11026
58a70b94
GM
110272011-12-05 Glenn Morris <rgm@gnu.org>
11028
11029 * align.el (align--set-marker): Add doc-string.
11030 Don't try to move something that is not a marker. (Bug#10216)
11031
5158face
GM
110322011-12-04 Glenn Morris <rgm@gnu.org>
11033
11034 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11035 overly zealous deletion of trailing whitespace.
11036
520fca41
JB
110372011-12-04 Juanma Barranquero <lekktu@gmail.com>
11038
11039 * server.el (server-delete-client): On Windows, do not try to delete
11040 the only terminal.
11041 (server-process-filter): On Windows, treat requests for a tty frame as
11042 if they were for a GUI frame if the running server is in GUI mode.
11043
5e605a2e
GM
110442011-12-03 Glenn Morris <rgm@gnu.org>
11045
11046 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11047
5c3fe83f
SM
110482011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11049
6f5e57e7
SM
11050 * electric.el: Streamline electric-indent's hook.
11051 (electric-indent-chars): Revert to simple list.
11052 (electric-indent-functions): New var.
11053 (electric-indent-post-self-insert-function): Use it.
11054
5c3fe83f
SM
11055 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11056 there's no inferior buffer (bug#10196).
11057 (prolog-consult-compile): Don't use toggle-read-only.
11058
6bdac736
MA
110592011-12-02 Michael Albinus <michael.albinus@gmx.de>
11060
11061 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11062 interrupt. (Bug#10187)
11063
6131ba7f
SM
110642011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11065
99c79fee
SM
11066 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11067 (bug#9160).
11068
6131ba7f
SM
11069 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11070 (bug#10191).
11071
cb0a02ea
JL
110722011-12-02 Juri Linkov <juri@jurta.org>
11073
11074 * info.el (Info-search): Display "end of manual" when Isearch
11075 reaches the end of single-file Info manual. (Bug#9918)
11076
66e0570c
EZ
110772011-12-02 Eli Zaretskii <eliz@gnu.org>
11078
11079 * isearch.el (isearch-message-prefix): Run the input method part
11080 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11081
02b16839
JL
110822011-12-02 Juri Linkov <juri@jurta.org>
11083
11084 * isearch.el (isearch-occur): Use `word-search-regexp' for
11085 `isearch-word'.
11086 (isearch-search-and-update): Add condition for `isearch-word' and
11087 call `word-search-regexp'. (Bug#10145)
11088
0b950688
GM
110892011-12-01 Glenn Morris <rgm@gnu.org>
11090
11091 * eshell/em-hist.el (eshell-hist-initialize):
11092 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11093 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11094
9505c3c7
SM
110952011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11098
1bbe96b2 110992011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11100
a1beca85
SM
11101 * progmodes/verilog-mode.el (verilog-pretty-expr):
11102 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11103 verilog, such as += *= and the like.
11104 (verilog-assignment-operator-re): Regular expression to find the
11105 assigment operator in a verilog assignment.
11106 (verilog-assignment-operation-re): Regular expression to find an
11107 assignment statement for pretty-expr.
11108 (verilog-in-attribute-p): Query returns true if point is in an
11109 attribute context; used to skip these for expression line up from
11110 pretty-expr.
11111 (verilog-in-parameter-p): Query returns true if point is in an
11112 parameter definition context; used to skip these for expression
11113 line up from pretty-expr.
11114 (verilog-in-parenthesis-p): Query returns true if point is in a
11115 parenthetical expression, specifically ( ) but not [ ] or { };
11116 used by pretty-expr.
11117 (verilog-just-one-space): If there is no space, don't add one.
11118 (verilog-get-lineup-indent-2): Specifically skip just attribute
11119 contexts for expression lineup, rather than skipping all
11120 parenthetical expressions.
11121 (verilog-calculate-indent): Fix comment, and fix indent.
11122 (verilog-do-indent): Indent declarations in lists (suggested by
11123 Joachim Lechner).
11124 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11125 skeleton items.
11126 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11127 by Alain Mellan).
11128
1bbe96b2 111292011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11130
11131 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11132 parameters with embedded comments. Reported by Ray Stevens.
11133 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11134 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11135 Reported by Tim Holt.
11136 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11137 instantiated by upper module causing wrong expansion until AUTOed a
11138 second time. Reported by K C Buckenmaier.
11139 (verilog-diff-auto): Fix showing .* as a difference when
11140 `verilog-auto-star-save' off. Reported by Dan Dever.
11141 (verilog-auto-reset, verilog-read-always-signals)
11142 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11143 temporary signals in reset list if
11144 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11145 style to each signal's assignment type, bug381.
11146 Reported by Thomas Esposito.
6288f0ca
WS
11147 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11148 (verilog-uvm-statement-re): Support UVM indentation and
11149 highlighting, with old OVM keywords only.
a1beca85 11150 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11151 Support AUTOTIEOFF creating non-wire data types.
11152 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11153 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11154 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11155 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11156 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11157 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11158 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11159 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11160 non-numeric vector width. Reported by Alex Reed.
11161 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11162 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11163 (verilog-auto-delete-trailing-whitespace):
11164 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11165 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11166 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11167 Fix verilog-scan-cache corruption when running user AUTO expansion
11168 hooks that call indentation routines.
11169 (verilog-simplify-range-expression): Fix typo ignoring lower case
11170 identifiers.
11171 (verilog-delete-auto): Fix delete-autos to also remove user created
11172 automatics, as long as they start with AUTO.
11173 (verilog-batch-diff-auto, verilog-diff-auto)
11174 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11175 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11176 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11177 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11178 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11179 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11180 is disabled and its cache will get corrupt, causing AUTOS not to
11181 expand. Instead use only -quick functions.
11182 (verilog-scan-region): Fix scanning over escaped quotes.
11183 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11184 (verilog-re-search-backward-quick)
11185 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11186 related functions now ignore strings, to fix misparsing of strings
11187 with magic comments embedded in them.
a1beca85
SM
11188 (verilog-read-auto-template):
11189 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11190 Reported by Brad Dobbie.
11191 (verilog-read-auto-template):
11192 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11193 Reported by Brad Dobbie.
6288f0ca
WS
11194 (verilog-auto-inst, verilog-auto-inst-param)
11195 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11196 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11197 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11198 debugging templates without merge conflicts, bug357.
11199 Reported by Brad Dobbie.
11200 (verilog-read-auto-template):
11201 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11202 Reported by Brad Dobbie.
11203 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11204 abbrevs so user won't be asked to save.
11205 (verilog-read-auto-lisp-present): Fix to start at beginning of
11206 buffer in case called outside of verilog-auto.
11207 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11208 to "X-2". Reported by Matthew Myers.
11209 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11210 all inputs from module templates. Reported by Leith Johnson.
11211 (verilog-module-inside-filename-p): Fix locating programs as with
11212 modules.
11213 (verilog-auto-inst-port): Fix vl-width expressions when using
11214 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11215 (verilog-decls-get-regs, verilog-decls-get-signals,
11216 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11217 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11218 verilog-read-decls): Combine reg and wire structures into one var
11219 structure to represent SystemVerilog concepts.
11220 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11221 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11222 (verilog-auto-wire-type, verilog-insert-definition):
11223 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11224 SystemVerilog "logic" keyword instead of "wire"/"reg".
11225 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11226 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11227 ifdef or generate if so there's not a driver conflict).
11228 Reported by Matthew Myers.
11229 (verilog-auto-declare-nettype, verilog-insert-definition):
11230 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11231 `default_nettype none. Reported by Julian Gorfajn.
11232 (verilog-read-always-signals-recurse, verilog-read-decls)
11233 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11234 malformed end statement, bug325. Reported by Joshua Wise and
11235 Andrew Drake.
11236 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11237 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11238 when expanding .* in interfaces, bug320.
11239 Reported by Pierre-David Pfister.
6288f0ca 11240 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11241 name and open parenthesis, bug317.
11242 Reported by Pierre-David Pfister.
6288f0ca
WS
11243 (verilog-simplify-range-expression): Fix simplification of
11244 multiplications inside AUTOWIRE connections, bug303.
11245 (verilog-auto-inst-port): Support parameter expansion in
11246 multidimensional arrays.
11247 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11248 after "assert property". Reported by Julian Gorfajn.
11249 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11250 with multiplication, bug303.
11251 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11252 Reported by Jan Frode Lonnum.
11253
1bbe96b2
GM
112542011-11-30 Juanma Barranquero <lekktu@gmail.com>
11255
11256 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11257 (hfy-shell-file-name, hfy-shell):
11258 * international/fontset.el (x-decompose-font-name): Fix typos.
11259
112602011-11-29 Ken Brown <kbrown@cornell.edu>
11261
11262 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11263 (gdb-version): Remove defvar.
11264 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11265 (gdb-gud-context-command, gdb-non-stop-handler)
11266 (gdb-current-context-command, gdb-stopped): Use it.
11267 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11268 (gdb-non-stop-handler): Don't enable pretty-printing here.
11269 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11270 non-stop mode. Use the following.
11271 (gdb-check-target-async): New defun.
11272 (gud-watch, gdb-stopped): Fix whitespace.
11273 (gdb-get-source-file): Don't try to display the source file if
11274 `gdb-main-file' is nil.
11275
112762011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11277
11278 * align.el: Try to generate fewer markers (bug#10047).
11279 (align--set-marker): New macro.
11280 (align-region): Use it.
11281
c935221f
SM
112822011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11283
11284 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11285
e70b5064
CY
112862011-11-29 Chong Yidong <cyd@gnu.org>
11287
11288 * indent.el (indent-for-tab-command, indent-according-to-mode):
11289 Doc fix.
11290 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11291
f3af92b7
MA
112922011-11-29 Michael Albinus <michael.albinus@gmx.de>
11293
11294 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11295 aware of remote file names. (Bug#10124)
11296
ed472be9
CY
112972011-11-29 Chong Yidong <cyd@gnu.org>
11298
11299 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11300
24510c22
SM
113012011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * files.el (find-file): Don't use force-same-window (bug#10144).
11304 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11305 use pop-to-buffer if the selected window can't be used.
11306 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11307
c60c3703
EZ
113082011-11-28 Eli Zaretskii <eliz@gnu.org>
11309
11310 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11311 special-mode-map.
11312
e95def75
CY
113132011-11-28 Chong Yidong <cyd@gnu.org>
11314
11315 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11316
c3f1c606
NR
113172011-11-27 Nick Roberts <nickrob@snap.net.nz>
11318
11319 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11320 gdb-get-source-file-list on gdb-create-source-file-list.
11321
00db469c
EZ
113222011-11-26 Eli Zaretskii <eliz@gnu.org>
11323
11324 * whitespace.el (whitespace-newline): Use a different foreground
11325 color for 16-color light-background displays.
11326
4ad3bc2a
CY
113272011-11-24 Chong Yidong <cyd@gnu.org>
11328
11329 * window.el (display-buffer--special-action): Doc fix.
11330
e9fce1ac
JB
113312011-11-25 Juanma Barranquero <lekktu@gmail.com>
11332
11333 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11334 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11335 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11336 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11337 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11338 (avl-tree-stack-first):
11339 * emacs-lisp/cconv.el (cconv--analyse-use):
11340 * net/gnutls.el (gnutls-negotiate): Fix typos.
11341
cb825e5d
GM
113422011-11-24 Glenn Morris <rgm@gnu.org>
11343
3adbe224
GM
11344 * lpr.el (lpr-windows-system, lpr-lp-system):
11345 * mail/binhex.el (binhex-begin-line):
11346 * progmodes/grep.el (grep-history, grep-find-history):
11347 * textmodes/flyspell.el:
11348 * vc/pcvs-defs.el (cvs-global-menu):
11349 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11350 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11351 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11352
321decc8
GM
11353 * net/tls.el: Fix case of "GnuTLS".
11354
420b63ad
GM
11355 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11356
cb825e5d
GM
11357 * version.el (emacs-build-system): Give it a doc-string.
11358
a0649f08
JL
113592011-11-24 Juri Linkov <juri@jurta.org>
11360
11361 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11362
c0bc0fd4
GM
113632011-11-24 Glenn Morris <rgm@gnu.org>
11364
11365 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11366 if called on a non-mime message just toggle the headers. (Bug#8006)
11367
20db1522
JB
113682011-11-24 Juanma Barranquero <lekktu@gmail.com>
11369
11370 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11371 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11372 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11373 (allout-rebullet-heading, allout-open-sibtopic)
11374 (allout-toggle-current-subtree-encryption)
11375 (allout-toggle-subtree-encryption, allout-encrypt-string)
11376 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11377 (allout-distinctive-bullets-string, allout-auto-activation):
11378 * window.el (window-normalize-buffer-to-display):
11379 * progmodes/verilog-mode.el (verilog-batch-indent):
11380 * textmodes/bibtex.el (bibtex-field-braces-opt)
11381 (bibtex-field-strings-opt):
11382 * vc/cvs-status.el (cvs-tree-merge):
11383 Fix typos.
11384
7262a87c
MA
113852011-11-23 Michael Albinus <michael.albinus@gmx.de>
11386
11387 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11388 `non-essential' to t, in order to avoid remote connections.
11389
283430a1
EZ
113902011-11-23 Eli Zaretskii <eliz@gnu.org>
11391
a1beca85
SM
11392 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11393 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11394 case-insensitively.
11395
d2992a38
ML
113962011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11397
11398 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11399
50419064
GM
114002011-11-23 Glenn Morris <rgm@gnu.org>
11401
da94eca1
GM
11402 * paths.el (rmail-file-name): Reformat the doc-string so that it
11403 is picked up.
11404
9aac4de2
GM
11405 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11406 (rmail-auto-file): Ignore case in the "special" field names,
11407 as mail-fetch-field does for all others.
11408
8038d2d2
GM
11409 * mail/rmail.el (rmail-forward):
11410 * mail/rmailkwd.el (rmail-set-label):
11411 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11412 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11413
f3fe222a
GM
11414 * mail/rmail.el (rmail-current-message): Doc fix.
11415
50419064
GM
11416 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11417
28109f49
SM
114182011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11419
11420 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11421
394c65f1
GM
114222011-11-22 Glenn Morris <rgm@gnu.org>
11423
11424 * mail/rmailmm.el (test-rmail-mime-handler)
11425 (test-rmail-mime-bulk-handler)
11426 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11427
f2a0aa3a
JL
114282011-11-21 Juri Linkov <juri@jurta.org>
11429
1154d12e
JB
11430 * calc/calc.el (calc-read-key-sequence):
11431 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11432
9c34a344
LMI
114332011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11434
11435 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11436 Tell the caller that the next line needs recomputation, even
11437 though it doesn't start a sexp (bug#10094).
11438
f04a3be9
SM
114392011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11440
11441 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11442
7978747f
SM
114432011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11444
f04a3be9
SM
11445 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11446 Use force-same-window.
7978747f 11447
fe7a3057
JB
114482011-11-20 Juanma Barranquero <lekktu@gmail.com>
11449
11450 * descr-text.el (describe-char-unicode-data):
11451 * json.el (json-string-escape):
11452 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11453 (Footnote-unicode, Footnote-style-p):
11454 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11455
24901d61
CY
114562011-11-20 Chong Yidong <cyd@gnu.org>
11457
11458 * window.el (replace-buffer-in-windows): Restore interactive spec.
11459
bac7ff22
SM
114602011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11461
24f3d7b9
SM
11462 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11463
bac7ff22
SM
11464 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11465 (byte-compile-global-not-obsolete-vars): New var.
11466 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11467 Use it.
11468 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11469
cd1181db
JB
114702011-11-20 Juanma Barranquero <lekktu@gmail.com>
11471
11472 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11473 * progmodes/pascal.el (electric-pascal-equal):
11474 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11475 * xml.el (xml-substitute-special): Fix typos.
11476
7fb18e9e
GM
114772011-11-20 Glenn Morris <rgm@gnu.org>
11478
11479 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11480 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11481 Doc fixes.
11482 (rmail-decode-mime-charset): Mark as obsolete.
11483
11484 * mail/rmailsum.el (rmail-message-regexp-p-1):
11485 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11486 Before using mime functions, check they are set. (Bug#10077)
11487
d5a6b3ba
JL
114882011-11-19 Juri Linkov <juri@jurta.org>
11489
11490 * info.el (Info-finder-find-node): Use `package--builtins' instead
11491 of `package-alist'. Use node names formed by the pattern "Keyword "
11492 and the keyword name.
11493
e981b61f
AS
114942011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11495
1d00653d 11496 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11497
3ffbc301
JL
114982011-11-19 Juri Linkov <juri@jurta.org>
11499
11500 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11501 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11502 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11503 `old-history', `old-history-forward'. Add let-binding
11504 `window-selected'. Remove calls to `kill-buffer',
11505 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11506 before calling `Info-find-node', so `Info-find-node-2' will reread
11507 the Info file. Restore window positions only when `window-selected'
11508 is non-nil.
11509
30c62133
JL
115102011-11-19 Juri Linkov <juri@jurta.org>
11511
11512 * isearch.el (isearch-lazy-highlight-new-loop):
11513 Remove condition `(not isearch-error)'. (Bug#9918)
11514
11515 * misearch.el (multi-isearch-search-fun): Add condition
11516 `(not bound)' to ignore lazy-highlighting search.
11517 Add the search-failed message "end of multi" when the end of
11518 multi-sequence is reached. Uncapitalize the search-failed
11519 message "Repeat for next buffer".
11520
11521 * info.el (Info-search): Add the search-failed message
11522 "end of the manual" when the end of the manual is reached
11523 in Isearch mode.
11524
645ca9cf
JL
115252011-11-19 Juri Linkov <juri@jurta.org>
11526
11527 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11528 Use non-destructive `remove' instead of `delete' because
11529 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11530 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11531
df754f66
JL
115322011-11-19 Juri Linkov <juri@jurta.org>
11533
11534 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11535 to nil instead of binding `search-ring' and `regexp-search-ring'.
11536 (Bug#9185)
11537
0e23d96a
EZ
115382011-11-19 Eli Zaretskii <eliz@gnu.org>
11539
11540 * simple.el (line-move): Force movement by logical lines for any
11541 hscrolled window, not only when auto-hscroll-mode is on.
11542 (line-move-visual): Update doc string to that effect. (Bug#10076)
11543
8a6ccb66
AS
115442011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11545
11546 * language/european.el (macintosh): Define as alias for mac-roman.
11547
49ae5b39
EZ
115482011-11-19 Eli Zaretskii <eliz@gnu.org>
11549
11550 * mail/rmailmm.el (rmail-mime-display-header)
11551 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11552 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11553 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11554 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11555 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11556 of a raw aref.
11557 (rmail-mime-entity-segment): To get past the tagline, move forward
11558 2 more lines, to account for the 2 empty lines that precede and
11559 follow the line with the buttons.
11560 (rmail-mime-update-tagline): Move one more line, to get past the
11561 empty line that follows the buttons in the tagline. (Bug#9520)
11562
c56cad4a
MR
115632011-11-19 Martin Rudalics <rudalics@gmx.at>
11564
11565 * window.el (window-max-delta-1, window-min-delta-1)
11566 (window-min-size-1, window-state-get-1, window-state-put-1)
11567 (window-state-put-2): Use "window--" prefix.
11568
cbe71af3
SM
115692011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11570
2ad52c60
SM
11571 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11572 (smie-warning-count): New var.
11573 (smie-set-prec2tab): Use it.
11574 (smie-bnf->prec2): Improve warnings. Add docstring.
11575 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11576 (smie-bnf--set-class): New function.
11577 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11578 corner case.
11579
6944dbc1
SM
11580 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11581 (compilation-error-properties, compilation-move-to-column):
11582 Handle compilation-first-column while in the target buffer.
11583
c400c4d7
SM
11584 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11585 Don't hardcode point-min==1.
11586
6dbe3e96
SM
11587 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11588 (eshell-rewrite-for-command): Remove workaround.
11589 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11590 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11591 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11592
cbe71af3
SM
11593 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11594
a8e1496d
GM
115952011-11-17 Glenn Morris <rgm@gnu.org>
11596
11597 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11598 Ignore buffer-local generated-autoload-file if it is the same
11599 as the global value. (Bug#10049)
11600
df85d315
JB
116012011-11-17 Juanma Barranquero <lekktu@gmail.com>
11602
11603 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11604 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11605 (reftex-toc-previous-heading, reftex-toc-max-level)
11606 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11607 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11608 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11609 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11610 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11611 (reftex-toc-rename-label, reftex-toc-visit-location)
11612 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11613 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11614 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11615 leaving "*toc*" only for references to the buffer.
11616
a0c2d0ae
MR
116172011-11-17 Martin Rudalics <rudalics@gmx.at>
11618
11619 * window.el (window-resize, delete-window, split-window):
11620 Replace window-splits by window-combination-resize.
1d00653d 11621 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11622
35c0bac8
GM
116232011-11-17 Glenn Morris <rgm@gnu.org>
11624
11625 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11626 Make bash entry derive from sh entry, not shell entry.
11627
d0c8fc8a
MA
116282011-11-16 Michael Albinus <michael.albinus@gmx.de>
11629
7262a87c
MA
11630 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11631 local file name.
11632
7877f373
JB
116332011-11-16 Juanma Barranquero <lekktu@gmail.com>
11634
11635 * menu-bar.el (menu-bar-file-menu):
11636 * printing.el (pr-ps-utility):
11637 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11638 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11639 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11640 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11641 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11642 (icalendar--convert-cyclic-to-ical)
11643 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11644 (icalendar--convert-ical-to-diary)
11645 (icalendar--convert-recurring-to-diary)
11646 (icalendar--convert-non-recurring-all-day-to-diary)
11647 (icalendar-import-format-sample):
11648 * progmodes/idlw-shell.el (idlwave-shell-mode):
11649 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11650 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11651 (vhdl-ps-print-init): Fix typos.
11652
10649b82
KM
116532011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11654
9d0cfcd6
GM
11655 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11656 FSF and collapse date sequence, obscure author/maintainer email address
11657 better, remove extra version line, track relocation of author's webpage.
10649b82 11658
9d0cfcd6
GM
11659 * progmodes/python.el (python-pdbtrack-input-prompt)
11660 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11661 regular python pdb prompts. Adjustments shamelessly taken exactly as
11662 suggested in EmacsWiki page (tiny change):
11663 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11664
58179cce
JB
116652011-11-16 Juanma Barranquero <lekktu@gmail.com>
11666
11667 * expand.el (expand-pos, expand-index, expand-point):
11668 Remove redundant info from docstring.
11669 (expand-add-abbrevs): Doc fix.
11670 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11671 (expand-sample-perl-mode-expand-list): Fix typos.
11672
11673 * net/dbus.el (dbus-event-member-name):
11674 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11675 * term/pc-win.el (msdos-create-frame-with-faces):
11676 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11677
b6f67890
MR
116782011-11-16 Martin Rudalics <rudalics@gmx.at>
11679
11680 * window.el (split-window, window-state-get-1)
11681 (window-state-put-1, window-state-put-2): Rename occurrences of
11682 window-nest to window-combination-limit.
1d00653d 11683 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11684
ce7ddba0
CY
116852011-11-16 Chong Yidong <cyd@gnu.org>
11686
11687 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11688 regexp (Bug#10033).
11689
3ae704f4
SM
116902011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11691
11692 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11693 `completing-read' will remove *Completions* and will preserve
11694 current-buffer for us.
11695 (tmm-add-prompt): Users of *Completions* will always (re)set its
11696 major mode.
11697 (tmm-old-comp-map): Remove.
11698
6ad1cdde
GM
116992011-11-16 Glenn Morris <rgm@gnu.org>
11700
11701 * mail/rmailedit.el: Require rmailmm when compiling.
11702 (rmail-old-mime-state): New declaration.
11703 (rmail-edit-current-message): If editing a mime message,
11704 edit the "raw" message from the mbox buffer.
11705 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11706
d20faa20
GM
117072011-11-15 Glenn Morris <rgm@gnu.org>
11708
11709 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11710 which wasn't being used. Add optional arg to force given state.
11711 (rmail-mime): Add optional arg to force given state.
11712
c7015153
JB
117132011-11-15 Juanma Barranquero <lekktu@gmail.com>
11714
11715 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11716 * frame.el (display-mm-dimensions-alist):
11717 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11718 (outline-move-subtree-down):
11719 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11720 (newsticker--treeview-do-get-node):
11721 * net/quickurl.el (quickurl-list-buffer-name):
11722 * progmodes/dcl-mode.el (dcl-mode):
11723 * progmodes/gdb-mi.el (gdb-mapcar*):
11724 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11725
45261b50
GM
117262011-11-15 Glenn Morris <rgm@gnu.org>
11727
11728 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11729 in a boolean sense, so just make it a boolean, and fix the doc.
11730 (rmail-show-mime-function, rmail-mime-feature)
11731 (rmail-require-mime-maybe): Doc fixes.
11732 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11733
11734 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11735
0d26e0b6
JB
117362011-11-15 Juanma Barranquero <lekktu@gmail.com>
11737
11738 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11739 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11740 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11741 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11742
447f30f6
GM
117432011-11-15 Glenn Morris <rgm@gnu.org>
11744
672b871d
GM
11745 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11746 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11747 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11748 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11749 (rmail-mime, rmail-show-mime): Doc fixes.
11750
f6aa5bb1
GM
11751 * term/ns-win.el (mode-line-frame-identification):
11752 Leave it alone. (Bug#10051)
11753
947cd66b
GM
11754 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11755
447f30f6
GM
11756 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11757 Handle empty buffers. (Bug#9978)
11758
0b381c7e
JB
117592011-11-14 Juanma Barranquero <lekktu@gmail.com>
11760
11761 * international/mule.el (define-charset):
11762 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11763 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11764 * progmodes/verilog-mode.el (verilog-backward-token):
11765 * textmodes/ispell.el (lookup-words):
11766 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11767
71e027ac
GM
117682011-11-14 Glenn Morris <rgm@gnu.org>
11769
56632ce4
GM
11770 * progmodes/executable.el
11771 (executable-make-buffer-file-executable-if-script-p):
11772 Handle file-modes returning nil.
11773
40500957
GM
11774 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11775 message - not necessary, and causes problems. (Bug#9831)
11776
071c2340
GM
11777 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11778
d3cfca60
GM
11779 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11780
71e027ac
GM
11781 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11782 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11783 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11784
89d61221
MR
117852011-11-12 Martin Rudalics <rudalics@gmx.at>
11786
11787 * window.el (window-resize, delete-window): Use window-splits
11788 variable instead of function.
11789 (window-state-get-1, window-state-put-2, window-state-put):
11790 Don't deal with windows' splits status.
11791
98282f6f
GM
117922011-11-12 Glenn Morris <rgm@gnu.org>
11793
11794 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11795 (apropos-documentation): Doc fixes.
11796
40a8bdf6
JB
117972011-11-11 Juanma Barranquero <lekktu@gmail.com>
11798
11799 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11800 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11801
65bd19ff
SM
118022011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11803
11804 * electric.el (electric-indent-post-self-insert-function): Make it
11805 possible for a char to only indent in some circumstances.
11806 (electric-indent-mode): Simplify.
11807
54f9154c
MR
118082011-11-11 Martin Rudalics <rudalics@gmx.at>
11809
11810 * window.el (windows-with-parameter): Remove unused function.
11811 (windows-at-side): Rename to window-at-side-list.
11812 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11813 (window-side-check, window-size-ignore, window-size-fixed-1)
11814 (window-in-direction-2): Prefix with "window--".
11815 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11816
68cbc58b
GM
118172011-11-11 Glenn Morris <rgm@gnu.org>
11818
11819 * subr.el (eval-after-load): If FILE is already loaded,
11820 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11821
b2621720
GM
118222011-11-10 Glenn Morris <rgm@gnu.org>
11823
9a4de110
GM
11824 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11825 Call svn via vc-svn-command rather than vc-do-command.
11826 (vc-svn-command): Add --non-interactive. (Bug#9993)
11827 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11828
b2621720
GM
11829 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11830 Add toggle-read-only. (Bug#7292)
11831 * files.el (toggle-read-only): Mention that it should only
11832 be used interactively. (Bug#10006)
11833
1dce7193
SM
118342011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11835
d9ac1a1e
SM
11836 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11837 Adjust regexp for OCaml warnings.
11838
0c325082
SM
11839 * electric.el (electric-pair-post-self-insert-function): Let user
11840 turn it off buffer-locally (bug#9932).
11841
90132c14
SM
11842 * progmodes/python.el (python-beginning-of-statement):
11843 Rewrite (bug#2703).
11844
1dce7193
SM
11845 * progmodes/compile.el: Better handle TABs (bug#9749).
11846 (compilation-internal-error-properties)
11847 (compilation-next-error-function): Obey the target buffer's
11848 compilation-error-screen-columns.
11849
c4e7c63a
JB
118502011-11-09 Juanma Barranquero <lekktu@gmail.com>
11851
11852 * progmodes/meta-mode.el: Remove obsolete comments.
11853 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11854 Fix typos in docstrings.
11855
2cffd681
MR
118562011-11-09 Martin Rudalics <rudalics@gmx.at>
11857
11858 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11859 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11860 (window--resizable): New function. Make all callers of
11861 window-resizable call window--resizable instead.
11862 (window-resizable): Rewrite in terms of window--resizable.
11863
0edcba87
GM
118642011-11-08 Glenn Morris <rgm@gnu.org>
11865
11866 * progmodes/delphi.el (delphi-mode-syntax-table):
11867 Let define-derived-mode define a proper syntax table. (Bug#9994)
11868
4b0d61e3
SM
118692011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11870
11871 * window.el: Stay away from defsubst.
11872 (window-list-no-nils): Remove.
11873 (window-state-get-1, window-state-get): Use backquote instead.
11874
cd394be1 118752011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 11876
4b0d61e3 11877 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 11878 Fix incorrect use of default argument in `completing-read'.
11879
e1c2c6f2
MR
118802011-11-08 Martin Rudalics <rudalics@gmx.at>
11881
11882 * window.el (display-buffer-function, special-display-function):
11883 Mention display-buffer-record-window but do not mention
11884 help-setup parameter in doc-strings.
b3f4a882 11885 (window-min-delta): Fix doc-string typo.
e1c2c6f2 11886
105216ed
CY
118872011-11-08 Chong Yidong <cyd@gnu.org>
11888
11889 * window.el (window-total-height, window-total-width): Doc fix.
11890 (window-body-size): Move from C.
11891 (window-body-height, window-body-width): Move to C.
11892
0a9f9ab5
SM
118932011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * window.el: Make special-display like display-buffer-alist (bug#9532).
11896 (display-buffer--special-action): New function, morphed
11897 from display-buffer--special.
11898 (display-buffer): Use it to handle special-display-buffers at higher
11899 priority (just after display-buffer-alist).
11900 (display-buffer-fallback-action, display-buffer--other-frame-action)
11901 (pop-to-buffer-same-window): Remove display-buffer--special.
11902
a769dd15
GM
119032011-11-07 Glenn Morris <rgm@gnu.org>
11904
11905 * calendar/cal-menu.el (cal-menu-set-date-title):
11906 Do nothing if not in a calendar. (Bug#9976)
11907
05a61ee3
SM
119082011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11909
11910 * files.el (find-file): Always use selected-window.
11911
be7f5545
MR
119122011-11-07 Martin Rudalics <rudalics@gmx.at>
11913
11914 * window.el (window-combinations): Make WINDOW argument
11915 mandatory. Rewrite doc-string.
11916 (walk-window-subtree, window-atom-check, window-min-delta)
11917 (window-max-delta, window--resize-this-window)
11918 (window--resize-root-window-vertically, window-tree)
11919 (balance-windows, window-state-put): Rewrite doc-strings as to
11920 not mention the term "subwindow".
11921 (window--resize-subwindows-skip-p): Rename to
11922 window--resize-child-windows-skip-p.
11923 (window--resize-subwindows-normal): Rename to
11924 window--resize-child-windows-normal.
11925 (window--resize-subwindows): Rename to
11926 window--resize-child-windows.
11927 (window-or-subwindow-p): Rename to window--in-subtree-p.
11928
3c6702ef
ML
119292011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11930
11931 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11932 Ensure that mbox format messages end in two newlines (Bug#9974).
11933
49745b39
CY
119342011-11-06 Chong Yidong <cyd@gnu.org>
11935
11936 * window.el (window-combination-p): Function deleted; its
11937 side-effect is not used in any existing code.
11938 (window-combinations, window-combined-p): Call window-*-child
11939 directly.
11940
24300f5f
CY
119412011-11-05 Chong Yidong <cyd@gnu.org>
11942
11943 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
11944 (window-size-ignore, window-state-get): Callers changed.
11945 (window-normalize-window): Rename from window-normalize-any-window.
11946 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 11947 (window-normalize-live-window): Delete.
447f16b8
CY
11948 (window-combination-p, window-combined-p, window-combinations)
11949 (walk-window-subtree, window-atom-root, window-min-size)
11950 (window-sizable, window-sizable-p, window-size-fixed-p)
11951 (window-min-delta, window-max-delta, window-resizable)
11952 (window-resizable-p, window-full-height-p, window-full-width-p)
11953 (window-current-scroll-bars, window-point-1, set-window-point-1)
11954 (window-at-side-p, window-in-direction, window-resize)
11955 (adjust-window-trailing-edge, maximize-window, minimize-window)
11956 (window-deletable-p, delete-window, delete-other-windows)
11957 (record-window-buffer, unrecord-window-buffer)
11958 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11959 (quit-window, split-window, window-state-put)
11960 (set-window-text-height, fit-window-to-buffer)
11961 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 11962
89bd5ee1
EZ
119632011-11-04 Eli Zaretskii <eliz@gnu.org>
11964
53479029
EZ
11965 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11966 rfc2047-decode-string.
11967 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11968 warnings.
11969
89bd5ee1
EZ
11970 * window.el (window-body-height, window-body-width): Mention in
11971 the doc string that the return values are in frame's canonical
11972 units. (Bug#9949)
11973
bd17fdee
AM
119742011-11-03 Alan Mackenzie <acm@muc.de>
11975
11976 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11977 change in cc-engine.el.
11978
acc825c5
SM
119792011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11980
11981 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11982
1885e5b8
MR
119832011-11-02 Martin Rudalics <rudalics@gmx.at>
11984
11985 * window.el (quit-window): Call unrecord-window-buffer after
11986 showing another buffer in the window. (Bug#9937)
acc825c5 11987 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 11988
ebe06da9
JB
119892011-11-02 Juanma Barranquero <lekktu@gmail.com>
11990
11991 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11992 Accept status with more than 9 shelves. (Bug#9935)
11993 Reported by Colin D Bennett <colin@gibibit.com>.
11994
4ee88440
MR
119952011-11-01 Martin Rudalics <rudalics@gmx.at>
11996
11997 * help.el (with-help-window): Don't reference
11998 temp-buffer-show-specifiers in doc-string.
11999
08e1d82c
AS
120002011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12001
12002 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12003 menu-item.
12004
84bd6e9e
VJL
120052011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12006
12007 * whitespace.el: New version 13.2.2.
12008 (whitespace-newline-mode): Disable properly. Reported by Sarah
12009 <EmacsWiki>.
12010
dba0634a
UJ
120112011-10-30 Ulf Jasper <ulf.jasper@web.de>
12012
12013 * net/newst-treeview.el: Remove "Time-stamp".
12014 (newsticker--group-manage-orphan-feeds): Do not call
12015 newsticker--treeview-tree-update.
db22a3c2
JB
12016 (newsticker-treeview-update, newsticker-treeview):
12017 Call newsticker--treeview-tree-update if necessary.
dba0634a 12018
3d8daefe
MR
120192011-10-30 Martin Rudalics <rudalics@gmx.at>
12020
12021 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12022 (window-iso-combinations): Remove "iso-" infix.
12023 Suggested by Chong Yidong.
3d8daefe
MR
12024 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12025 (window-max-delta-1, window-resize, window--resize-siblings)
12026 (window--resize-this-window, adjust-window-trailing-edge)
12027 (split-window, balance-windows-1)
12028 (shrink-window-if-larger-than-buffer):
12029 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12030 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12031
1bc4c3ae
SM
120322011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12033
12034 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12035 in place (bug#9907).
12036 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12037 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12038 (eshell-structure-basic-command, eshell-rewrite-while-command)
12039 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12040 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12041 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12042 (eshell-do-pipelines-synchronously, eshell-eval-command):
12043 Use backquotes and prefer setq to set.
12044 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12045 (eshell-macrop): Use functionp.
c1e2f5fa 12046 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12047
30b65d9c
CY
120482011-10-30 Chong Yidong <cyd@gnu.org>
12049
12050 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12051 instead of set-mark (Bug#9810).
12052
2d197ffb
CY
120532011-10-30 Chong Yidong <cyd@gnu.org>
12054
12055 * window.el (split-window-below, split-window-right): Rename from
12056 split-window-above-each-other and split-window-side-by-side
12057 respectively. All callers changed.
12058 (split-window-sensibly, split-window-sensibly): Use them.
12059 (split-window-keep-point): Doc fix.
12060
12061 * isearch.el: Add isearch-scroll property to split-window-below
12062 and split-window-right.
12063
12064 * follow.el (follow-mode):
12065 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12066 * progmodes/ada-xref.el (ada-gdb-application):
12067 * emulation/vip.el (vip-buffer-in-two-windows):
12068 * image-dired.el (image-dired-dired-with-window-configuration):
12069 * dired-x.el (dired-do-find-marked-files):
12070 * dired.el (dired-pop-to-buffer):
12071 * bs.el (bs--show-with-configuration):
12072 * vc/emerge.el (emerge-setup-windows):
12073 * textmodes/two-column.el (2C-two-columns):
12074 * textmodes/reftex-toc.el (reftex-toc):
12075 * progmodes/gdb-mi.el (gdb-setup-windows):
12076 * progmodes/fortran.el (fortran-window-create):
12077 * net/newst-treeview.el (newsticker--treeview-window-init):
12078 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12079 * emulation/tpu-edt.el (tpu-gold-map):
12080 * emulation/crisp.el (crisp-mode-map):
12081 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12082
38bb2ca8
CY
120832011-10-29 Chong Yidong <cyd@gnu.org>
12084
aa4de341
CY
12085 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12086
e1eb5385
CY
12087 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12088
5d2ece3c
CY
12089 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12090 forged Ispell output (Bug#7904).
12091
38bb2ca8
CY
12092 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12093
d0af9f77
SM
120942011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12095
12096 * doc-view.el: Avoid ugly errors about not finding nil.
12097 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12098 (doc-view-dvipdf-program, doc-view-unoconv-program)
12099 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12100 Avoid nil or absolute file name as default value.
12101 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12102
52bedd34
AM
121032011-10-28 Alan Mackenzie <acm@muc.de>
12104
db22a3c2 12105 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12106
7e43cfa5
AM
121072011-10-28 Alan Mackenzie <acm@muc.de>
12108
12109 Amend the handling of c-beginning/end-of-defun in nested declaration
12110 scopes.
12111
52bedd34
AM
12112 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12113 cc-langs.el. Change it to a defcustom.
7e43cfa5 12114
52bedd34
AM
12115 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12116 cc-vars.el.
7e43cfa5 12117
d0af9f77
SM
12118 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12119 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12120
52bedd34 12121 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12122 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12123 (c-widen-to-enclosing-decl-scope): New function.
12124 (c-while-widening-to-decl-block): New macro.
12125 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12126 outward for defun boundaries, and correspondingly change symbol
12127 `respect-enclosure' to `go-outward'.
12128 (c-declaration-limits): Change algorithm to report only the "innermost"
12129 defun's boundaries.
12130
1a2ce9ee
DD
121312011-10-28 Deniz Dogan <deniz@dogan.se>
12132
12133 * net/rcirc.el (rcirc-mode): Use hard newlines.
12134
bc97a826
AM
121352011-10-28 Alan Mackenzie <acm@muc.de>
12136
12137 Amend to indent and fontify macros "which include their own semicolon"
12138 correctly, using the "virtual semicolon" mechanism.
12139
52bedd34 12140 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12141
d0af9f77 12142 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12143 Recode to scan one line at a time rather than having \n and \r
58179cce 12144 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12145 (c-forward-label): Amend for virtual semicolons.
58179cce 12146 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12147
52bedd34
AM
12148 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12149 of the new C macros.
bc97a826 12150
52bedd34 12151 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12152 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12153 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12154 (c-opt-cpp-macro-define): Make into a full language variable.
12155 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12156 AWK Mode (including \n, \r) removed, no longer needed.
12157
d0af9f77
SM
12158 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12159 Invoke c-make-macro-with-semi-re.
bc97a826 12160
52bedd34
AM
12161 * progmodes/cc-vars.el (c-macro-with-semi-re):
12162 (c-macro-names-with-semicolon): New variables.
58179cce 12163 (c-make-macro-with-semi-re): New function.
bc97a826 12164
7a6c0941
SM
121652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 * vc/log-edit.el: Fill empty field rather than adding new one.
12168 (log-edit-add-field): New function.
12169 (log-edit-insert-changelog): Use it.
12170
b0c4cdcf
ML
121712011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12172
12173 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12174
ee1f1da9
SM
121752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12176
12177 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12178 (gdb--check-interpreter): New function.
12179 (gdb): Use it.
12180
51bc5f8b
GM
121812011-10-27 Glenn Morris <rgm@gnu.org>
12182
416a2c45
GM
12183 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12184 (least-positive-float, least-negative-float)
12185 (least-positive-normalized-float, least-negative-normalized-float)
12186 (float-epsilon, float-negative-epsilon):
12187 Remove unnecessary declarations.
12188
12189 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12190 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12191 (least-positive-float, least-negative-float)
12192 (least-positive-normalized-float, least-negative-normalized-float)
12193 (float-epsilon, float-negative-epsilon): Add doc-strings,
12194 based on those in cl.texi.
12195
51bc5f8b
GM
12196 * files.el (set-visited-file-name): If the major-mode changed,
12197 reload the local variables. (Bug#9796)
12198
15de15c6
CY
121992011-10-27 Chong Yidong <cyd@gnu.org>
12200
12201 * subr.el (change-major-mode-after-body-hook): New hook.
12202 (run-mode-hooks): Run it.
12203
ee1f1da9
SM
12204 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12205 Use change-major-mode-before-body-hook.
15de15c6
CY
12206
12207 * simple.el (fundamental-mode):
12208 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12209 change introducing fundamental-mode-hook.
12210
5430d399
JB
122112011-10-26 Juanma Barranquero <lekktu@gmail.com>
12212
acc825c5 12213 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12214
ad74a69e
MA
122152011-10-26 Michael Albinus <michael.albinus@gmx.de>
12216
12217 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12218 tramp.el explicitly. (Bug#7583)
ad74a69e 12219
71d4c2a5
SM
122202011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12221
12222 * progmodes/octave-mod.el:
12223 * progmodes/octave-inf.el: Update maintainer.
12224
b1f6fa26
CY
122252011-10-26 Chong Yidong <cyd@gnu.org>
12226
12227 * subr.el (with-wrapper-hook): Rewrite doc.
12228
3f04efd6
MA
122292011-10-25 Michael Albinus <michael.albinus@gmx.de>
12230
12231 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12232 filenames "/method:foo:". (Bug#9793)
3f04efd6 12233
410488d3
SM
122342011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12237 (bug#9865).
12238
c1ebb47e
GM
122392011-10-24 Glenn Morris <rgm@gnu.org>
12240
12241 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12242
7f5c46c7
MA
122432011-10-24 Michael Albinus <michael.albinus@gmx.de>
12244
12245 * notifications.el: Add the requirement of a running D-Bus session
12246 bus to the Commentary.
12247
db2440b6
JL
122482011-10-24 Juri Linkov <juri@jurta.org>
12249
12250 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12251 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12252 (Bug#9364)
12253
feecf435
JL
122542011-10-24 Juri Linkov <juri@jurta.org>
12255
12256 * info.el (Info-following-node-name-re): Add newline to the list
12257 of allowed characters for leading space. (Bug#9824)
12258
a3839de2
SM
122592011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12260
acc825c5
SM
12261 * progmodes/octave-inf.el (inferior-octave-mode-map):
12262 Fix C-c C-h binding.
a3839de2
SM
12263 * progmodes/octave-mod.el (octave-help): Remove.
12264
09388e76
MA
122652011-10-23 Michael Albinus <michael.albinus@gmx.de>
12266
12267 Sync with Tramp 2.2.3.
12268
12269 * net/tramp-cache.el (top): Pacify byte-compiler using
12270 `init-file-user' and `site-run-file'.
12271
12272 * net/trampver.el: Update release number.
12273
86c60681
CY
122742011-10-23 Chong Yidong <cyd@gnu.org>
12275
12276 * files.el (toggle-read-only): Remove obsolete comment about
12277 version control.
12278
12279 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12280 for toggle-read-only. Note that this hasn't called vc-next-action
12281 since 2008-05-02, though it wasn't documented at the time.
12282
a3839de2
SM
12283 * vc/ediff-init.el (ediff-toggle-read-only-function):
12284 Use toggle-read-only.
86c60681 12285
cd5495ff
AM
122862011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12287
12288 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12289 of c-parse-state.
12290
00b77525 12291 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12292 correct faulty logical expression.
cd5495ff
AM
12293 (c-parse-state-state, c-record-parse-state-state):
12294 (c-replay-parse-state-state): New defvar/defuns.
12295 (c-debug-parse-state): Use new functions.
12296
42ee24ed
MR
122972011-10-22 Martin Rudalics <rudalics@gmx.at>
12298
12299 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12300 last fix. Use window-in-direction correctly.
42ee24ed 12301
a7dee7e7
CY
123022011-10-21 Chong Yidong <cyd@gnu.org>
12303
12304 * progmodes/idlwave.el (idlwave-mode):
12305 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12306 require-final-newline; that's done in prog-mode.
12307 Suggested by Stefan Monnier.
a7dee7e7 12308
e07b9a6d
MR
123092011-10-21 Martin Rudalics <rudalics@gmx.at>
12310
12311 * mouse.el (mouse-drag-window-above)
12312 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12313 (mouse-drag-mode-line-1, mouse-drag-header-line)
12314 (mouse-drag-vertical-line-rightward-window): Remove.
12315 (mouse-drag-line): New function.
12316 (mouse-drag-mode-line, mouse-drag-header-line)
12317 (mouse-drag-vertical-line): Call mouse-drag-line.
12318 * window.el (window-at-side-p, windows-at-side): New functions.
12319
7e1361d9
UM
123202011-10-21 Ulrich Mueller <ulm@gentoo.org>
12321
12322 * tar-mode.el (tar-grind-file-mode):
12323 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12324
30fcaf3a
CY
123252011-10-21 Chong Yidong <cyd@gnu.org>
12326
12327 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12328 * progmodes/vera-mode.el (vera-mode):
12329 Use mode-require-final-newline.
30fcaf3a 12330
516eddb0
GM
123312011-10-20 Glenn Morris <rgm@gnu.org>
12332
db22a3c2 12333 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12334
10d5f513
CS
123352011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12336
12337 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12338
ac6c8639
CY
123392011-10-20 Chong Yidong <cyd@gnu.org>
12340
12341 * emulation/cua-base.el (cua-mode):
12342 * mail/footnote.el (footnote-mode):
12343 * mail/mailabbrev.el (mail-abbrevs-mode):
12344 * net/xesam.el (xesam-minor-mode):
12345 * progmodes/bug-reference.el (bug-reference-mode):
12346 * progmodes/cap-words.el (capitalized-words-mode):
12347 * progmodes/compile.el (compilation-minor-mode)
12348 (compilation-shell-minor-mode):
12349 * progmodes/gud.el (gud-tooltip-mode):
12350 * progmodes/hideif.el (hide-ifdef-mode):
12351 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12352 * progmodes/subword.el (subword-mode):
12353 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12354 * progmodes/which-func.el (which-function-mode):
12355 * term/tvi970.el (tvi970-set-keypad-mode):
12356 * term/vt100.el (vt100-wide-mode):
12357 * textmodes/flyspell.el (flyspell-mode):
12358 * textmodes/ispell.el (ispell-minor-mode):
12359 * textmodes/nroff-mode.el (nroff-electric-mode):
12360 * textmodes/paragraphs.el (use-hard-newlines):
12361 * textmodes/refill.el (refill-mode):
12362 * textmodes/reftex.el (reftex-mode):
12363 * textmodes/rst.el (rst-minor-mode):
12364 * textmodes/sgml-mode.el (html-autoview-mode)
12365 (sgml-electric-tag-pair-mode):
12366 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12367 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12368 * emulation/crisp.el (crisp-mode):
12369 * emacs-lisp/eldoc.el (eldoc-mode):
12370 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12371 minor mode behavior.
12372
aa42ab43
JL
123732011-10-19 Juri Linkov <juri@jurta.org>
12374
12375 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12376 the list of hard-coded chars with escape-glyph face.
12377
89400f1d
SM
123782011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12381
305c07f6
MA
123822011-10-19 Michael Albinus <michael.albinus@gmx.de>
12383
12384 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12385 running process.
12386
13754b54
GM
123872011-10-19 Glenn Morris <rgm@gnu.org>
12388
12389 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12390 Ignore ignored files. (Bug#9726)
12391
06e21633
CY
123922011-10-19 Chong Yidong <cyd@gnu.org>
12393
12394 Doc fix for minor modes, stating that an omitted argument enables
12395 the mode unconditionally when called from Lisp.
12396
12397 * abbrev.el (abbrev-mode):
12398 * allout.el (allout-mode):
12399 * autoinsert.el (auto-insert-mode):
12400 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12401 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12402 (global-auto-revert-mode):
12403 * battery.el (display-battery-mode):
12404 * composite.el (global-auto-composition-mode)
12405 (auto-composition-mode):
12406 * delsel.el (delete-selection-mode):
12407 * desktop.el (desktop-save-mode):
12408 * dired-x.el (dired-omit-mode):
12409 * dirtrack.el (dirtrack-mode):
12410 * doc-view.el (doc-view-minor-mode):
12411 * double.el (double-mode):
12412 * electric.el (electric-indent-mode, electric-pair-mode):
12413 * emacs-lock.el (emacs-lock-mode):
12414 * epa-hook.el (auto-encryption-mode):
12415 * follow.el (follow-mode):
12416 * font-core.el (font-lock-mode):
12417 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12418 * help.el (temp-buffer-resize-mode):
12419 * hilit-chg.el (highlight-changes-mode)
12420 (highlight-changes-visible-mode):
12421 * hi-lock.el (hi-lock-mode):
12422 * hl-line.el (hl-line-mode, global-hl-line-mode):
12423 * icomplete.el (icomplete-mode):
12424 * ido.el (ido-everywhere):
12425 * image-file.el (auto-image-file-mode):
12426 * image-mode.el (image-minor-mode):
12427 * iswitchb.el (iswitchb-mode):
12428 * jka-cmpr-hook.el (auto-compression-mode):
12429 * linum.el (linum-mode):
12430 * longlines.el (longlines-mode):
12431 * master.el (master-mode):
12432 * mb-depth.el (minibuffer-depth-indicate-mode):
12433 * menu-bar.el (menu-bar-mode):
12434 * minibuf-eldef.el (minibuffer-electric-default-mode):
12435 * mouse-sel.el (mouse-sel-mode):
12436 * msb.el (msb-mode):
12437 * mwheel.el (mouse-wheel-mode):
12438 * outline.el (outline-minor-mode):
12439 * paren.el (show-paren-mode):
12440 * recentf.el (recentf-mode):
12441 * reveal.el (reveal-mode, global-reveal-mode):
12442 * rfn-eshadow.el (file-name-shadow-mode):
12443 * ruler-mode.el (ruler-mode):
12444 * savehist.el (savehist-mode):
12445 * scroll-all.el (scroll-all-mode):
12446 * scroll-bar.el (scroll-bar-mode):
12447 * server.el (server-mode):
12448 * shell.el (shell-dirtrack-mode):
12449 * simple.el (auto-fill-mode, transient-mark-mode)
12450 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12451 (line-number-mode, column-number-mode, size-indication-mode)
12452 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12453 * strokes.el (strokes-mode):
12454 * time.el (display-time-mode):
12455 * t-mouse.el (gpm-mouse-mode):
12456 * tool-bar.el (tool-bar-mode):
12457 * tooltip.el (tooltip-mode):
12458 * type-break.el (type-break-mode-line-message-mode)
12459 (type-break-query-mode):
12460 * view.el (view-mode):
12461 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12462 (global-whitespace-mode, global-whitespace-newline-mode):
12463 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12464
a3839de2
SM
12465 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12466 Fix autogenerated docstring.
06e21633 12467
5214e501
JL
124682011-10-19 Juri Linkov <juri@jurta.org>
12469
12470 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12471 by checking environment variables "DESKTOP_SESSION" and
12472 "XDG_CURRENT_DESKTOP". (Bug#9779)
12473
195f8db9
JL
124742011-10-19 Juri Linkov <juri@jurta.org>
12475
12476 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12477 (browse-url-chromium-program, browse-url-chromium-arguments):
12478 New defcustoms.
12479 (browse-url-default-browser): Check for `browse-url-chromium' and
12480 call `browse-url-chromium-program'.
12481 (browse-url-chromium): New command. (Bug#9779)
12482
343a34ff
JB
124832011-10-18 Juanma Barranquero <lekktu@gmail.com>
12484
12485 * facemenu.el (list-colors-duplicates): On Windows, detect more
12486 duplicates by assuming that only colors matching "^System" are
12487 special "system colors". (Bug#9722)
12488
6978a151
SM
124892011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12490
12491 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12492 to distinguish the author from the committer.
12493
6a80b297
MA
124942011-10-18 Michael Albinus <michael.albinus@gmx.de>
12495
12496 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12497
b31a5677
JK
124982011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12499
12500 * international/mule.el (sgml-html-meta-auto-coding-function):
12501 Add support for detecting encoding in HTML5 specified only as
12502 <meta charset="UTF-8">. Implementation just makes http-equiv and
12503 content-type parts from HTML4 encoding string optional. (Bug#9716)
12504
80c6d77f
GM
125052011-10-18 Glenn Morris <rgm@gnu.org>
12506
12507 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12508
08b0fee8
CY
125092011-10-18 Chong Yidong <cyd@gnu.org>
12510
12511 * faces.el (cursor): Doc fix.
12512
67e729a5
CY
125132011-10-17 Chong Yidong <cyd@gnu.org>
12514
12515 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12516
343a34ff 125172011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12518
12519 * dirtrack.el (dirtrack): Support shell buffers with path
12520 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12521
0bc06380
TZ
125222011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12523
12524 * json.el: Bump version to 1.3 and note change in History.
12525 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12526
8b79f3e0
SM
125272011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12528
5a7c536b
SM
12529 * comint.el (comint-insert-input, comint-send-input)
12530 (comint-get-old-input-default, comint-backward-matching-input)
12531 (comint-next-prompt): Use nil instead of `input' for field property of
12532 past user input (bug#114).
12533
96a8a0df
SM
12534 * minibuffer.el (completion--replace): Inherit surrounding properties
12535 (bug#114).
12536 (minibuffer-complete-and-exit): Use it.
12537
8b79f3e0
SM
12538 * comint.el (comint--table-subvert): Quote the all-completions output
12539 (bug#9160).
12540
b8f7ff0d
MR
125412011-10-17 Martin Rudalics <rudalics@gmx.at>
12542
8b79f3e0 12543 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12544
b8f7ff0d 12545 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12546 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12547 entries and separate them from frame entries.
12548
c235b555
GM
125492011-10-15 Glenn Morris <rgm@gnu.org>
12550
12551 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12552 Doc fixes.
12553
6bbfa6e1
CY
125542011-10-15 Chong Yidong <cyd@stupidchicken.com>
12555
8b79f3e0
SM
12556 * net/network-stream.el (network-stream-open-starttls):
12557 Improve detection of failure due to lack of TLS support.
ec5c990d 12558
6bbfa6e1
CY
12559 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12560 putting the input text in front and in bold.
12561
98488977
SM
125622011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12563
3d1337be
SM
12564 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12565
ee0b45e4
SM
12566 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12567 empty buffer.
12568
98488977
SM
12569 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12570 unread-command-events rather than pushing yet-another event.
12571
186f4720
EZ
125722011-10-14 Eli Zaretskii <eliz@gnu.org>
12573
12574 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12575 the explanation of the possible choices. Make the options passed
12576 to completing-read shorter.
12577
8b7a997c
AM
125782011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12579
12580 * textmodes/flyspell.el (flyspell-large-region): Make sure
12581 extended character mode is used if defined (Bug#1339).
12582
12587bbb
EZ
125832011-10-13 Eli Zaretskii <eliz@gnu.org>
12584
12585 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12586 character info for LRE, LRO, RLE, and RLO characters by appending
12587 an invisible PDF.
12587bbb 12588
bad41229
SM
125892011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12590
12591 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12592 even in case of error; add debug spec; simplify data flow.
12593 (with-timeout-handler): Remove.
12594
28dbc92f
MA
125952011-10-12 Michael Albinus <michael.albinus@gmx.de>
12596
12597 Fix Bug#6019, Bug#9315.
12598
12599 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12600 complete `buffer-file-name', the local file name part could look
12601 remotely (for example on VMS).
12602
12603 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12604 `tramp-run-real-handler'.
12605 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12606 already quoted by '"'.
12607
12608 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12609 Let `file-name-handler-alist' be nil, the local file name part
12610 could look remotely (for example on VMS).
12611
e1b0b23a
SM
126122011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12613
12614 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12615 from here...
12616 (flyspell-post-command-hook): ...to here.
12617
a120bde9
SM
126182011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12621 if not needed.
12622 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12623 using completion. Protect against "slow" callers.
12624 Remove the "message hack".
12625
7ce7717b
JL
126262011-10-11 Juri Linkov <juri@jurta.org>
12627
12628 * isearch.el (isearch-lazy-highlight-word): New variable.
12629 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12630 Use it. (Bug#9727)
12631
c02ee9d6
GM
126322011-10-11 Glenn Morris <rgm@gnu.org>
12633
12634 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12635 like f90-previous-statement does.
12636
93e616fd 126372011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12638
1f190e73 12639 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12640 only in interactive use, to avoid error.
12641
af7b6078
SM
126422011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12643
12644 * minibuffer.el (completion-file-name-table): Fix last change,
12645 i.e. ignore normal errors but not the other ones.
12646
0563dae9
MR
126472011-10-10 Martin Rudalics <rudalics@gmx.at>
12648
12649 * window.el (special-display-buffer-names)
12650 (special-display-regexps): Remove some remnants of earlier
12651 changes from doc-strings.
366ca7f3
MR
12652 (quit-windows-on): New function.
12653
12654 * vc/vc.el (vc-revert, vc-rollback):
12655 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12656 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12657 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12658
49677495
MR
126592011-10-09 Martin Rudalics <rudalics@gmx.at>
12660
12661 * window.el (frame-auto-hide-function): Add version tag.
12662 (Bug#9699)
12663
56f2d1e1
MA
126642011-10-09 Michael Albinus <michael.albinus@gmx.de>
12665
12666 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12667 condition.
12668
112a6592
LL
126692011-10-09 Leo Liu <sdl.web@gmail.com>
12670
12671 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12672 (Bug#9701)
12673
0812589b
GM
126742011-10-08 Glenn Morris <rgm@gnu.org>
12675
12676 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12677 before the first code statement zero indent. (Bug#9690)
12678
b2b0776e
CY
126792011-10-08 Chong Yidong <cyd@stupidchicken.com>
12680
12681 * simple.el (count-words-region): Always count in the region.
12682 Report the number of lines and characters too.
12683 (count-words): New command, which counts in the buffer if the
12684 region is inactive, as count-words-region used to.
12685 (count-words--message): New function. Handle plurals.
12686 (count-lines-region): Make it an alias for count-words-region.
12687
12688 * bindings.el (esc-map): Replace count-lines-region with
12689 count-words-region.
12690
c557cd6b
MR
126912011-10-08 Martin Rudalics <rudalics@gmx.at>
12692
12693 * window.el (window--delete): Delete dedicated frame
12694 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12695 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12696
61a57ef4 126972011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12698
3a7d293b 12699 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12700
c3833279
CY
127012011-10-07 Chong Yidong <cyd@stupidchicken.com>
12702
12703 * bindings.el ([M-left],[M-right]): Bind to left-word and
12704 right-word respectively.
12705
21ce8245
GM
127062011-10-07 Glenn Morris <rgm@gnu.org>
12707
12708 * cus-start.el (debug-on-quit): Fix custom type.
12709
6d823bb2
LMI
127102011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12711
0181e193
LMI
12712 * subr.el (define-key-after): Clarify that the function is not
12713 useful for non-menu keymaps.
12714
6d823bb2
LMI
12715 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12716
8e3459ce 127172011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12718
21ce8245 12719 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12720 in current minibuffer (Fix bug with recursive minibuffers).
12721
a1c2d21e
CY
127222011-10-06 Chong Yidong <cyd@stupidchicken.com>
12723
12724 * progmodes/gdb-mi.el (gdb): Doc fix.
12725
5a4cf282
MR
127262011-10-05 Martin Rudalics <rudalics@gmx.at>
12727
12728 * window.el (frame-auto-hide-function): New option replacing
12729 frame-auto-delete. Suggested by Stefan Monnier.
12730 (window--delete): Call frame-auto-hide-function instead of
12731 investigating frame-auto-delete.
c96111ea
MR
12732 (window-point-1, set-window-point-1): New functions.
12733 (window-in-direction, record-window-buffer, window-state-get-1)
12734 (display-buffer-record-window): Use window-point-1 instead of
12735 window-point.
12736 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12737
9854542e
SM
127382011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12739
12740 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12741
8943cfb0
GM
127422011-10-05 Glenn Morris <rgm@gnu.org>
12743
12744 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12745 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12746
647ab967
LL
127472011-10-05 Leo Liu <sdl.web@gmail.com>
12748
12749 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12750 works with buffer object.
12751
3ddfbced
SM
127522011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12753
12754 * mpc.el (mpc-tool-bar-map): Add labels.
12755
bdfa5dd2
GM
127562011-10-04 Glenn Morris <rgm@gnu.org>
12757
12758 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12759
0e2070b5
MR
127602011-10-04 Martin Rudalics <rudalics@gmx.at>
12761
12762 * window.el (window--delete): New function.
12763 (frame-auto-delete): Resuscitate option.
12764 (bury-buffer, replace-buffer-in-windows)
12765 (quit-window): Rewrite using window--delete.
12766 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12767 Pass display-buffer-mark-dedicated to window--display-buffer-2
12768 (Bug#9639).
12769
3dc61a09
SM
127702011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12771
915a9b64
SM
12772 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12773 returns a list (bug#9554). Add remote file name completion.
12774 * comint.el (comint--table-subvert): Curry and get quote&unquote
12775 functions as arguments.
12776 (comint--complete-file-name-data): Adjust call accordingly.
12777 * pcomplete.el (pcomplete--table-subvert): Remove.
12778 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12779
3dc61a09
SM
12780 * minibuffer.el (completion-table-case-fold): Use currying.
12781 (completion--styles-type, completion--cycling-threshold-type):
12782 New constants.
12783 (completion-styles, completion-category-overrides)
12784 (completion-cycle-threshold): Use them.
12785 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12786 completion-table-case-fold.
12787
8ea0a993
SB
127882011-10-03 Stephen Berman <stephen.berman@gmx.net>
12789
12790 * minibuffer.el (completion-category-overrides): Fix type of styles
12791 and add more user friendly tags (bug#9660).
12792
8c24b7f6
SM
127932011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12794
12795 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12796 (mule-input-method-string): New widget.
12797 (default-input-method, language-info-custom-alist): Use it.
12798
428fe61a
SM
127992011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12800
32c1fffd
SM
12801 * pcomplete.el: Require comint.
12802 (pcomplete--common-suffix): Remove.
12803 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12804 (pcomplete--table-subvert): Sync with comint--table-subvert.
12805 (pcomplete--entries): Use comint-completion-file-name-table.
12806 * comint.el (comint-unquote-filename): Simplify.
12807 (comint-completion-file-name-table): New function (bug#9616).
12808 (comint--complete-file-name-data): Use it.
12809
428fe61a
SM
12810 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12811 (pcmpl-gnu-tar-buffer): Remove.
12812 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12813 around. Make sure pcomplete-suffix-list is only changed temporarily.
12814 Don't look inside the tar's file if it's too large.
428fe61a 12815
04c52e2f
CY
128162011-10-01 Chong Yidong <cyd@stupidchicken.com>
12817
ce3cefcc
CY
12818 * cus-edit.el (custom-mode-map):
12819 * epa.el (epa-key-list-mode-map):
12820 * man.el (Man-mode-map):
12821 * startup.el (splash-screen-keymap):
12822 * simple.el (special-mode-map): Use scroll-up-command and
12823 scroll-down-command.
12824
12825 * progmodes/idlw-help.el (idlwave-help-mode-map):
12826 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12827 * net/newst-plainview.el (newsticker-mode-map):
12828 * emulation/ws-mode.el (wordstar-mode-map):
12829 * emulation/vi.el (vi-com-map):
12830 * calc/calc-graph.el (calc-graph-show-dumb):
12831 * term/sun.el (terminal-init-sun):
12832 * term/ns-win.el (global-map):
12833 * progmodes/grep.el (grep-mode-map):
12834 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12835 * mail/rmail.el (rmail-mode-map):
12836 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12837
04c52e2f
CY
12838 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12839 custom-safe-themes as special.
12840
79adf8c8
JD
128412011-10-01 Julien Danjou <julien@danjou.info>
12842
12843 * notifications.el (notifications-notify): Fix docstring.
12844
63bd50d3
PS
128452011-10-01 Per Starbäck <per@starback.se>
12846
12847 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12848
199e4c7e
MR
128492011-09-30 Martin Rudalics <rudalics@gmx.at>
12850
12851 * startup.el (command-line-1): Fix last fix by inserting
12852 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12853 (Bug#9605) and (Bug#9636)
199e4c7e 12854
fe5f08dd
EZ
128552011-09-29 Eli Zaretskii <eliz@gnu.org>
12856
12857 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12858 window is hscrolled, move by logical lines. (Bug#9607)
12859 (line-move-visual): Update the doc string to the above effect.
12860
b5516bbd
MR
128612011-09-29 Martin Rudalics <rudalics@gmx.at>
12862
ccee00c0
MR
12863 * window.el (display-buffer-record-window): When WINDOW is the
12864 selected window use `point' instead of `window-point'. (Bug#9626)
12865
b5516bbd
MR
12866 * startup.el (command-line-1): Use insert-before-markers when
12867 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12868
b5516bbd
MR
12869 * help.el (help-window): Remove variable.
12870
52aa0014
GM
128712011-09-29 Glenn Morris <rgm@gnu.org>
12872
12873 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12874
df9a7357
JB
128752011-09-29 Juanma Barranquero <lekktu@gmail.com>
12876
12877 * descr-text.el (describe-char-categories): Accept category
12878 descriptions more than one line long.
12879
a8406c20
SM
128802011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12881
88d9610c
SM
12882 * simple.el (delete-trailing-whitespace): Fix last change.
12883
a5daf810
SM
12884 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12885 Don't confuse "y => 3" as the beginning of a `y' operation.
12886
a8406c20
SM
12887 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12888 object has more than 4 slots (bug#9613).
12889
a239d4e9
JB
128902011-09-28 Juanma Barranquero <lekktu@gmail.com>
12891
12892 * subr.el (with-output-to-temp-buffer):
12893 * net/quickurl.el (quickurl, quickurl-browse-url):
12894 Fix typos in docstrings.
12895
693fbdb6
EZ
128962011-09-27 Eli Zaretskii <eliz@gnu.org>
12897
12898 * minibuffer.el (completion-styles)
12899 (completion-category-overrides): Cross reference each other in doc
12900 strings.
12901
8b457e28
GM
129022011-09-27 Glenn Morris <rgm@gnu.org>
12903
12904 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12905 to split-string. (Bug#9606)
12906
85a16208
LMI
129072011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12908
12909 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12910 (bug#9615).
12911
502f9ebd
CY
129122011-09-27 Chong Yidong <cyd@stupidchicken.com>
12913
12914 * emacs-lisp/package.el (list-packages): Fix echo area message.
12915
7690bdea
LL
129162011-09-27 Leo Liu <sdl.web@gmail.com>
12917
12918 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12919
e2ee6f30
MA
129202011-09-25 Michael Albinus <michael.albinus@gmx.de>
12921
12922 * net/dbus.el (dbus-unregister-object): Don't release services for
12923 registered signals. (Bug#9581)
12924
f3f98342
TZ
129252011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12926
12927 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12928 function that picks between cfengine 2 and 3 support
12929 automatically. Update docs accordingly.
12930
dd7aa8dd
KH
129312011-09-22 Kenichi Handa <handa@m17n.org>
12932
12933 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12934 ZERO.
12935 (indian-itrans-v5-table-for-tamil): New variable.
12936 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12937
3f2b07f8
KM
129382011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12939
12940 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12941 that's true if the current command involved collapsing of text.
12942 It's reset to false at the beginning of the next command.
12943 (allout-post-command-business): Move the cursor to the beginning
12944 of entry if the cursor is hidden and collapsing activity just
12945 happened.
12946
371d6a61
CY
129472011-09-24 Chong Yidong <cyd@stupidchicken.com>
12948
12949 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12950 tracking (Bug#9541).
12951
2ac2721a
UJ
129522011-09-24 Ulf Jasper <ulf.jasper@web.de>
12953
12954 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
12955 (newsticker-show-news): Automatically load html rendering package
12956 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12957 because w3m-fill-column is let-bound" and the error "Symbol's value
12958 as variable is void: w3m-fill-column".
2ac2721a 12959
fac7ae53
MA
129602011-09-24 Michael Albinus <michael.albinus@gmx.de>
12961
12962 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12963 Release services only if they are defined. (Bug#9581)
12964
e08b633b
RS
129652011-09-23 Richard Stallman <rms@gnu.org>
12966
e488d29c
RS
12967 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12968 distinguish start of paragraph from start of its text.
12969
19c38752
RS
12970 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12971
e08b633b
RS
12972 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12973 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12974 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12975
0a39f27e
AS
129762011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12977
12978 * international/mule-diag.el (mule-diag): Insert a newline after
12979 each fontset description.
12980
db4e950d
SM
129812011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12982
12983 * simple.el (delete-trailing-whitespace):
12984 Document last change; simplify.
12985
eca3f3ea
PW
129862011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12987
d68e189a
PW
12988 * simple.el (delete-trailing-whitespace): Also delete
12989 extra newlines at the end of the buffer.
12990
eca3f3ea
PW
12991 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12992 (picture-newline): Use forward-line so as to ignore fields.
12993
01c157cc
SM
129942011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12995
12996 * subr.el (with-wrapper-hook): Fix edebug spec.
12997
022de23e
LMI
129982011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12999
13000 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13001 (bug#4538).
13002
91683089
MA
130032011-09-23 Michael Albinus <michael.albinus@gmx.de>
13004
eca3f3ea
PW
13005 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13006 Fix nasty bug using wrong cached values.
91683089 13007
5bdd6fa4
AM
130082011-09-23 Alan Mackenzie <acm@muc.de>
13009
13010 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13011
97adfb97
CY
130122011-09-23 Chong Yidong <cyd@stupidchicken.com>
13013
13014 * window.el (pop-to-buffer): Ensure right window is selected if we
13015 chose another frame.
13016
d4ef2b50
EZ
130172011-09-22 Eli Zaretskii <eliz@gnu.org>
13018
13019 * simple.el (what-cursor-position): Use get-char-property-change
13020 and next-single-char-property-change, to be able to show display
13021 properties that come from overlays as well as text properties.
13022
72258fe5
CY
130232011-09-22 Chong Yidong <cyd@stupidchicken.com>
13024
13025 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13026
13027 * cmuscheme.el (run-scheme, switch-to-scheme):
13028 * cus-edit.el (customize-group, custom-buffer-create)
13029 (customize-browse):
13030 * info.el (info):
13031 * shell.el (shell):
13032 * mail/sendmail.el (mail):
13033 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13034
8f098516
RS
130352011-09-22 Richard Stallman <rms@gnu.org>
13036
13037 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13038 move back only to line beg, don't move back over blank lines.
13039
e74f1bb6
MA
130402011-09-22 Michael Albinus <michael.albinus@gmx.de>
13041
13042 * files.el (copy-directory): Set directory attributes only in case
13043 they could be retrieved from the source directory. (Bug#9565)
13044
bfeef8b6
DK
130452011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13046
13047 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13048 (hs-find-block-beginning, hs-hide-level-recursive):
13049 Ignore strings as well as comments. (Bug#9502)
13050
7e423bb8
AS
130512011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13052
13053 * progmodes/sql.el (sql-comint-postgres):
13054 Convert port number to a string. (Bug#9566)
13055
b4d72fcf
MR
130562011-09-22 Martin Rudalics <rudalics@gmx.at>
13057
13058 * window.el (quit-window): Undedicate window when switching to
13059 previous buffer. Reported by Thierry Volpiatto
13060 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13061 (special-display-popup-frame): When popping up a new frame reset
13062 its previous buffers to nil. Simplify code.
b4d72fcf 13063
a7b88dc6
MA
130642011-09-21 Michael Albinus <michael.albinus@gmx.de>
13065
13066 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13067 and process filter, as done also in `shell-command'.
13068
cf4eacfd
MR
130692011-09-21 Martin Rudalics <rudalics@gmx.at>
13070
eca3f3ea 13071 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13072 Call set-window-start with NOFORCE argument t.
13073 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13074 (quit-window): Reword doc-string. Handle new format of
13075 quit-restore parameter. Don't delete window if it has a
13076 previous buffer we can show instead of the present one.
13077 (display-buffer-record-window): Rewrite using a new format for
13078 the quit-restore window parameter
13079 (special-display-popup-frame, display-buffer-same-window)
13080 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13081 (display-buffer-pop-up-window, display-buffer-use-some-window):
13082 Adapt symbol passed to display-buffer-record-window.
13083 * help.el (help-window-setup): Handle new format of quit-restore
13084 parameter.
13085
8d28cb95
SM
130862011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13087
94ab793f
SM
13088 * faces.el (face-list): Fix docstring (bug#9564).
13089
8d28cb95
SM
13090 * window.el (display-buffer--action-function-custom-type):
13091 Don't include internal functions in the Custom interface.
13092
3820edeb
JL
130932011-09-20 Juri Linkov <juri@jurta.org>
13094
13095 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13096 (Info-forward-node, Info-backward-node, Info-next-preorder)
13097 (Info-last-preorder): Use it. (Bug#9528)
13098
5147931d
JL
130992011-09-20 Juri Linkov <juri@jurta.org>
13100
13101 * info.el (Info-last-preorder): Visit last menu item only when
13102 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13103
cf499a1a
JD
131042011-09-20 Julien Danjou <julien@danjou.info>
13105
13106 * password-cache.el (password-cache-remove): Remove entries even if the
13107 value is nil, so that password with a nil value (negative caching) is
13108 possible to invalidate.
13109
f84e2fe2
LM
131102011-09-20 Lawrence Mitchell <wence@gmx.li>
13111
13112 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13113 all whitespace around breakpoint. (Bug#9553)
13114 (f90-find-breakpoint): Only break at whitespace inside a comment.
13115
78054a46
SM
131162011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13117
13118 * minibuffer.el (completion-file-name-table): Keep track of errors.
13119 (completion-table-with-predicate): Handle the case where pred1 is nil.
13120 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13121
345083b2
SM
131222011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13123
e24e27be
SM
13124 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13125 (debugger-return-value): Signal an error if the debugging context does
13126 not await any return value.
13127
345083b2
SM
13128 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13129 * image-mode.el (image-toggle-display-text)
13130 (image-toggle-display-image): Stay away from evil `intangible'.
13131
08d355e3
LL
131322011-09-19 Leo Liu <sdl.web@gmail.com>
13133
13134 * replace.el (occur-revert-arguments): Make it permanent-local.
13135 (occur-mode): Don't call font-lock-defontify.
13136
f01da43f
CY
131372011-09-19 Chong Yidong <cyd@stupidchicken.com>
13138
13139 * net/ldap.el (ldap-search-internal): Don't push empty search
13140 result (Bug#9508).
13141
b6072fa6
SM
131422011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13143
13144 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13145
443d6696
MA
131462011-09-19 Michael Albinus <michael.albinus@gmx.de>
13147
13148 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13149 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13150
7cc6e154
JL
131512011-09-18 Juri Linkov <juri@jurta.org>
13152
13153 * buff-menu.el (Buffer-menu-mode-map):
13154 * dired.el (dired-mode-map):
13155 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13156 (lisp-interaction-mode-map):
13157 * emacs-lisp/package.el (package-menu-mode-map):
13158 * epa.el (epa-key-list-mode-map):
13159 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13160 (menu-bar-options-menu):
13161 * outline.el (outline-mode-menu-bar-map):
13162 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13163 * vc/vc-dir.el (vc-dir-menu-map):
13164 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13165 Capitalize non-function content words in menu item strings.
13166
13167 * dired.el (dired-mode-map): Add menu item for
13168 `image-dired-dired-toggle-marked-thumbs'.
13169
80302a81
JL
131702011-09-18 Juri Linkov <juri@jurta.org>
13171
13172 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13173 to `isearch-case-fold-search' and restore its original value
13174 after the `isearch-mode' call.
13175
46c5cf66
JL
131762011-09-18 Juri Linkov <juri@jurta.org>
13177
13178 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13179 because `zgrep' returns 1 for successful matches (bug#9226).
13180
d18b513b
JL
131812011-09-18 Juri Linkov <juri@jurta.org>
13182
13183 * info.el (Info-extract-menu-node-name): Check the second match
13184 for empty string (second test-case of bug#9528).
13185 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13186 intermediate nodes to the history (first test-case of bug#9528).
13187
72753f87
JL
131882011-09-18 Juri Linkov <juri@jurta.org>
13189
13190 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13191 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13192
c9384295
JL
131932011-09-18 Juri Linkov <juri@jurta.org>
13194
1154d12e
JB
13195 * info.el (Info-file-supports-index-cookies):
13196 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13197 outputs one more line for long file names (bug#4142).
c9384295 13198
d473dce8
CY
131992011-09-18 Chong Yidong <cyd@stupidchicken.com>
13200
13201 * newcomment.el (comment-normalize-vars): If prompting for
13202 comment-start, set comment-start-skip too (Bug#8424).
13203
2176854d
JB
132042011-09-18 Johan Bockgård <bojohan@gnu.org>
13205
13206 * icomplete.el: Fix previous fix of Bug#5849.
13207 (icomplete-mode): Don't set completion-show-inline-help.
13208 (icomplete-minibuffer-setup): Set completion-show-inline-help
13209 locally during icompletion.
13210
3aace4e4
CY
132112011-09-18 Chong Yidong <cyd@stupidchicken.com>
13212
c940224f
CY
13213 * woman.el (woman2-process-escapes): Don't delete unrecognized
13214 escapes (Bug#7843).
13215
3aace4e4
CY
13216 * files.el (inhibit-first-line-modes-regexps): Add image files.
13217 (hack-local-variables-prop-line): Return nil for malformed
13218 prop-lines (Bug#9044).
13219
710dec63
MA
132202011-09-18 Michael Albinus <michael.albinus@gmx.de>
13221
13222 * net/tramp.el (top): Don't require 'shell.
13223 (tramp-methods): Fix docstring.
13224 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13225 Return complete remote file name. Handle "smb" case.
13226 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13227 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13228
13229 * net/tramp-compat.el (top): Require 'shell.
13230
13231 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13232 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13233 `tramp-current-host'.
13234 (tramp-get-remote-tmpdir): Remove.
13235
13236 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13237 `tramp-tmpdir' entries.
13238 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13239 (tramp-smb-handle-file-attributes): Ignore errors.
13240 (tramp-smb-wait-for-output): Check also for process end.
13241
5d5ac8ec
LMI
132422011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13243
13244 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13245 when sending QUIT (bug#9312).
13246
8c0f49f0
CY
132472011-09-17 Chong Yidong <cyd@stupidchicken.com>
13248
13249 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13250 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13251 occur-mode-display-occurrence.
13252 (occur-edit-mode): Add usage message.
13253 (occur-cease-edit): New command.
13254 (occur-after-change-function): Use text properties to find the
13255 position of the prefix text.
13256 (occur-engine): Set stickiness of prefix text properties.
13257
8f1383f7
GM
132582011-09-17 Glenn Morris <rgm@gnu.org>
13259
13260 * progmodes/etags.el (complete-tag):
13261 Fix call to completion-in-region. (Bug#9526)
13262
744ba0e3
JL
132632011-09-17 Juri Linkov <juri@jurta.org>
13264
13265 * textmodes/ispell.el (ispell-word): Add to the error message
13266 the word, ispell program name and current dictionary (bug#9121).
13267 (ispell-tex-arg-end): Capitalize "error" in the error message.
13268
d9bbf400
AS
132692011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13270
13271 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13272 check. (Bug#4251)
13273
8da11505
JL
132742011-09-17 Juri Linkov <juri@jurta.org>
13275
13276 * window.el (window-safe-min-height, window-safe-min-width):
13277 Fix typos (followup to bug#9522).
13278
a91adc7e
SJ
132792011-09-17 Sven Joachim <svenjoac@gmx.de>
13280
13281 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13282
064f328a
EZ
132832011-09-16 Eli Zaretskii <eliz@gnu.org>
13284
13285 * simple.el (line-move): If goal-column is set, move by logical
13286 lines, not by display lines. (Bug#971)
13287 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13288 to reflect the above change.
13289
e69df516
SM
132902011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13291
13292 * image.el (imagemagick-register-types): Use regexp-opt.
13293
cbb0f9ab
CY
132942011-09-15 Chong Yidong <cyd@stupidchicken.com>
13295
13296 * window.el (display-buffer-base-action): Rename from
13297 display-buffer-default-action. Make default value empty.
13298 (display-buffer-overriding-action): Convert to defvar.
13299 (display-buffer-fallback-action): New var.
13300
25322144
CY
133012011-09-15 Chong Yidong <cyd@stupidchicken.com>
13302
13303 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13304 declaration.
13305 (package--add-to-archive-contents): If there is a duplicate entry
13306 with an older version, remove it.
13307 (package-menu-mark-delete, package-menu-mark-install)
13308 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13309 (package-menu-mark-obsolete-for-deletion):
13310 Use package-menu-get-status instead of a regexp search.
25322144
CY
13311 (package-menu-get-status): Use tabulated-list-entry.
13312 (package-menu-mark-upgrades): New command.
d770725a 13313 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13314 (package-menu-execute): Do installation before deletion.
13315 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13316 instead of checking major-mode.
13317 (package-menu--find-upgrades): New function.
13318
7520339c
LMI
133192011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13320
13321 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13322 passwords in the log buffer.
65a046c4
LMI
13323 (smtpmail-process-filter): Update the process marker so that the
13324 "broken by peer" status message is inserted in the right place.
7520339c 13325
d3c30954
SM
133262011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13327
3fe48822
SM
13328 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13329 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13330 bibtex-completion-at-point-function.
13331 (bibtex-completion-at-point-function): Use them.
13332
1b8b3954
SM
13333 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13334
d3c30954
SM
13335 * mpc.el (mpc-constraints-tag-lookup): New function.
13336 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13337 also to browser "album|playlist".
13338
72779976
JL
133392011-09-14 Juri Linkov <juri@jurta.org>
13340
13341 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13342 (isearch-edit-string): Use length of `isearch-string' when
13343 `isearch-fail-pos' returns nil.
13344 (isearch-message): Remove duplicate code and call
13345 `isearch-fail-pos' with arg `t'.
13346
a0bf2bcd
CY
133472011-09-14 Chong Yidong <cyd@stupidchicken.com>
13348
17bb0a2d
CY
13349 * replace.el (occur-mode-goto-occurrence): Don't force using other
13350 window (Bug#9499).
13351
a0bf2bcd
CY
13352 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13353
f678e0b6
MR
133542011-09-14 Martin Rudalics <rudalics@gmx.at>
13355
13356 * window.el (display-buffer-window): Remove.
13357 (display-buffer-record-window): Use help-setup window parameter
13358 instead of variable display-buffer-window.
13359 (display-buffer-function, special-display-buffer-names)
13360 (special-display-function): Mention help-setup parameter instead
13361 of display-buffer-window in doc-string.
d3c30954
SM
13362 * help.el (help-window-setup): New argument help-window.
13363 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13364 Reword some messages.
13365 (with-help-window): Pass window used for displaying the buffer
13366 to help-window-setup. Don't set display-buffer-window.
13367
8e39b2e8
GM
133682011-09-13 Glenn Morris <rgm@gnu.org>
13369
13370 * emacs-lisp/debug.el (debugger-make-xrefs):
13371 Preserve point. (Bug#9462)
13372
85e9c04b
CY
133732011-09-13 Chong Yidong <cyd@stupidchicken.com>
13374
13375 * window.el (window-deletable-p): Use next-frame.
13376
1b36ed6a
MR
133772011-09-13 Martin Rudalics <rudalics@gmx.at>
13378
13379 * window.el (window-auto-delete): Remove.
13380 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13381 dedication and previous buffers.
1b36ed6a
MR
13382 (switch-to-prev-buffer): Don't delete window.
13383 (delete-windows-on): Delete a window's frame if and only if the
13384 window is dedicated.
13385 (replace-buffer-in-windows): Delete buffer's window or frame if
13386 and only if window is dedicated.
13387 (quit-window): Handle quit-restore as before last change.
4d61f28d 13388 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13389
ef8ef9fb
CY
133902011-09-13 Chong Yidong <cyd@stupidchicken.com>
13391
13392 * window.el (window-deletable-p): Never delete the last frame on a
13393 given terminal.
13394
b2cba41e
GM
133952011-09-13 Glenn Morris <rgm@gnu.org>
13396
13397 * help.el (describe-key-briefly): Copy previous standard-output change.
13398
51553db6 133992011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13400
13401 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13402
b7556719
GM
134032011-09-13 Glenn Morris <rgm@gnu.org>
13404
13405 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13406 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13407
64b51947
CY
134082011-09-12 Chong Yidong <cyd@stupidchicken.com>
13409
13410 * dired-aux.el (dired-mark-read-string): Don't return default
13411 value on empty input (Bug#9361).
13412 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13413 Omit initial minibuffer contents.
13414 (dired-do-chmod): Signal an error on empty input.
13415 (dired-mark-read-string): Don't return default on empty input.
13416
13417 * files.el (file-modes-symbolic-to-number): Doc fix.
13418
393a301e
SM
134192011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13420
13421 * international/mule-cmds.el (ucs-completions): Remove.
13422 (read-char-by-name): Use complete-with-action instead; add metadata.
13423
fa5660f9
CY
134242011-09-11 Chong Yidong <cyd@stupidchicken.com>
13425
13426 * window.el (display-buffer--action-function-custom-type)
13427 (display-buffer--action-custom-type): New vars.
13428 (display-buffer-alist, display-buffer-default-action)
13429 (display-buffer-overriding-action): Add defcustom types.
13430
4a592f66
CY
13431 * frame.el (delete-other-frames): Doc fix (Bug#276).
13432
73d56dbd
LMI
134332011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13434
13435 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13436
37ac18a3
CY
134372011-09-11 Chong Yidong <cyd@stupidchicken.com>
13438
13439 Change modes that used same-window-* vars to use switch-to-buffer.
13440
13441 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13442 Use switch-to-buffer.
13443
13444 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13445 (customize-browse, custom-buffer-create-other-window):
13446 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13447
13448 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13449 (Info-prev, Info-up, Info-speedbar-goto-node)
13450 (info-display-manual): Use switch-to-buffer.
13451 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13452
13453 * mail/sendmail.el (mail): Use switch-to-buffer.
13454 (mail-recover): Use switch-to-buffer-other-window.
13455
13456 * cmuscheme.el (run-scheme, switch-to-scheme):
13457 * ielm.el (ielm):
13458 * shell.el (shell):
13459 * net/rlogin.el (rlogin):
13460 * net/telnet.el (telnet, rsh):
13461 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13462
10195bd6
AS
134632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13464
13465 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13466
b322f63a
LMI
134672011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13468
39d7fed6
LMI
13469 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13470 so don't mention it (bug#9301).
ba5a81f1 13471 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13472
ee0e9f11
LMI
13473 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13474 match `x', `w32' and `ns', like the manual says (bug#9029).
13475
0b1c89c1 13476 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13477 (process-kill-buffer-query-function): Mention the buffer name in
13478 the query.
0b1c89c1 13479
77549ea8
LMI
13480 * image-mode.el (image-next-line): The line parameter is mandatory
13481 (bug#9258).
13482
803ef892
LMI
13483 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13484 which can be useful (bug#9301).
13485
12980837
LMI
13486 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13487
91054f8f
LMI
13488 * subr.el (match-string): Mention that the current buffer should
13489 be the same as the search was done in (bug#9282).
13490
b322f63a
LMI
13491 * facemenu.el: Disable the remove-* commands if the mark isn't
13492 active (bug#9162).
13493
3199b96f
CY
134942011-09-10 Chong Yidong <cyd@stupidchicken.com>
13495
13496 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13497 of display-buffer.
13498 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13499
13500 * replace.el (occur-mode-goto-occurrence)
13501 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13502 and display-buffer.
13503
13504 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13505 display-buffer.
13506
13507 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13508 special-display and same-window variables.
13509 (mail-other-window): Use switch-to-buffer-other-window.
13510 (mail-other-frame): USe switch-to-buffer-other-frame.
13511
393a301e
SM
13512 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13513 Use display-buffer-other-frame.
3199b96f
CY
13514 (gdb-display-gdb-buffer): Use pop-to-buffer.
13515
13516 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13517
13518 * progmodes/python.el: Don't set same-window-buffer-names.
13519
13520 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13521
13522 * window.el (display-buffer-alist): Add *Python*.
13523
8319e0bf
CY
135242011-09-10 Chong Yidong <cyd@stupidchicken.com>
13525
13526 * window.el (display-buffer-alist): Add entry for buffers
13527 previously handled same-window-*.
13528 (display-buffer-alist, display-buffer-default-action)
13529 (display-buffer-overriding-action): Mark as risky.
13530 (display-buffer-alist): Document action function changes.
13531 (display-buffer--same-window-action)
13532 (display-buffer--other-frame-action): New variables.
13533 (switch-to-buffer, display-buffer-other-frame): Use them.
13534 (display-buffer): Rename reuse-frame entry to reusable-frames.
13535 (display-buffer-reuse-selected-window): Function deleted.
13536 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13537 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13538 (display-buffer-special): New function.
13539 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13540 display-buffer-reuse-or-pop-window. Split off special-display
13541 part into display-buffer-special.
13542 (display-buffer-use-some-window): Don't perform any special
13543 pop-up-frames handling.
13544 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13545 (display-buffer--maybe-same-window): Rename from
0d3ff375 13546 display-buffer-maybe-same-window.
8319e0bf 13547
919a69aa
CY
13548 * info.el: Don't set same-window-regexps.
13549 (info-setup): New function.
13550 (info-other-window, info): Call it.
13551
13552 * cus-edit.el: Don't set same-window-regexps.
13553 (customize-group): New argument.
13554 (customize-group-other-window): Use it.
13555 (customize-face, customize-face-other-window): Likewise.
13556 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13557
8319e0bf
CY
13558 * net/rlogin.el:
13559 * net/telnet.el:
13560 * progmodes/gud.el: Don't set same-window-regexps.
13561
13562 * cmuscheme.el:
13563 * ielm.el:
13564 * shell.el:
13565 * mail/sendmail.el:
13566 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13567
25173000
JL
135682011-09-10 Juri Linkov <juri@jurta.org>
13569
13570 * isearch.el (isearch-edit-string): Remove obsolete mention of
13571 `C-w' (`isearch-yank-word-or-char') from docstring.
13572 (isearch-query-replace): Fix typo in docstring (bug#9466).
13573
056e44ef
JL
135742011-09-10 Juri Linkov <juri@jurta.org>
13575
13576 * paren.el (show-paren-function): Don't show escaped parens.
13577 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13578
c3760c17
EZ
135792011-09-10 Eli Zaretskii <eliz@gnu.org>
13580
13581 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13582 (mm-default-file-encoding): Remove autoload forms, they are
13583 replaced with autoload cookies in mml.el and mm-encode.el.
13584 (mail-add-attachment): New command.
13585 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13586 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13587 the doc string.
13588 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13589
fece895e
RT
135902011-09-10 Reuben Thomas <rrt@sc3d.org>
13591
e69df516
SM
13592 * simple.el (count-words-region): Use buffer if there's no region
13593 (bug#9429).
fece895e 13594
5e68ce4a
JL
135952011-09-09 Juri Linkov <juri@jurta.org>
13596
13597 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13598 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13599 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13600
0a6b9622
AM
136012011-09-09 Alan Mackenzie <acm@muc.de>
13602
13603 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13604 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13605
14a29deb
EZ
136062011-09-09 Eli Zaretskii <eliz@gnu.org>
13607
13608 Fix for Savannah bug#9392.
13609 * simple.el (mail-encode-mml): New defvar.
13610
13611 * mail/rmail.el (mail-encode-mml): Add a defvar.
13612 (rmail-enable-mime-composing): Default to t.
13613 (rmail-forward): Use MIME method of forwarding only if both
13614 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13615 Set mail-encode-mml non-nil if the MIME method was used.
13616
13617 * mail/sendmail.el (mml-to-mime): Add autoload form.
13618 (mail-encode-mml): Add a defvar.
13619 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13620 to nil.
13621 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13622 message through mml-to-mime, and reset mail-encode-mml to nil.
13623
28c45130
GM
136242011-09-09 Glenn Morris <rgm@gnu.org>
13625
13626 * woman.el (woman-if-body): When processing an .el block,
13627 do not delete the next .el block as well. (Bug#9447)
69f4b618 13628 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13629
9b1c252e
MR
136302011-09-08 Martin Rudalics <rudalics@gmx.at>
13631
13632 * window.el (window-deletable-p): Make sure window is live before
13633 invoking window-prev-buffers.
13634
567457e3
LL
136352011-09-08 Leo Liu <sdl.web@gmail.com>
13636
13637 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13638
97f05794
JL
136392011-09-08 Juri Linkov <juri@jurta.org>
13640
13641 * progmodes/compile.el (compilation-environment): Make it
13642 a defcustom (bug#8340).
13643
8b0874b5
MR
136442011-09-08 Martin Rudalics <rudalics@gmx.at>
13645
13646 * window.el (frame-auto-delete): Rename to window-auto-delete.
13647 Make it control auto-deletion of windows and/or frames.
13648 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13649 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13650 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13651 Rewrite handling of case when window/frame can be deleted.
13652 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13653 argument t. (Bug#9456)
8b0874b5 13654
4feb6e73
CY
136552011-09-07 Chong Yidong <cyd@stupidchicken.com>
13656
13657 * help-mode.el (help-mode): Restore autoload.
13658
91ab9c13
JL
136592011-09-07 Juri Linkov <juri@jurta.org>
13660
13661 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13662 `compilation-environment'. Set buffer-local
13663 `compilation-environment' to `thisenv' later after (funcall mode).
13664 (Bug#8340)
13665
13666 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13667 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13668 instead of replacing its value. (Bug#8340)
13669
0527e251
JL
136702011-09-07 Juri Linkov <juri@jurta.org>
13671
13672 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13673 based on text properties put by `grep-filter' instead of matching
13674 escape sequences.
13675 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13676 to the value of `grep-error-screen-columns' (bug#9438).
13677
249f792c
JL
136782011-09-07 Juri Linkov <juri@jurta.org>
13679
13680 * simple.el (next-error-highlight, next-error-highlight-no-select):
13681 Doc fix (bug#9432).
13682
ff7271b9
OT
136832011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13684
13685 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13686 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13687
183fc730
LL
136882011-09-07 Leo Liu <sdl.web@gmail.com>
13689
13690 * net/rcirc.el (rcirc-mode): Conditionally initialize
13691 rcirc-input-ring.
13692
77694924
SM
136932011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13694
13695 * emacs-lisp/find-func.el (find-function-C-source): Only set
13696 find-function-C-source-directory after checking that we found a source
13697 file there (bug#9440).
13698
d809b8eb
AM
136992011-09-06 Alan Mackenzie <acm@muc.de>
13700
13701 * isearch.el (isearch-other-meta-char): Wherever a key list is
13702 unread, "unread" the prefix arg, too. This fixes bug #8901.
13703
453de99f
OG
137042011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13705
13706 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13707
90439906
JL
137082011-09-05 Juri Linkov <juri@jurta.org>
13709
13710 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13711
f62bd846
JL
137122011-09-05 Juri Linkov <juri@jurta.org>
13713
13714 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13715 keeping point where processing of grep matches begins, and
13716 continue to delete remaining escape sequences from the same point.
13717 (grep-filter): Make leading zero optional in "0?1;31m" because
13718 git-grep emits "\033[1;31m" escape sequences unlike expected
13719 "\033[01;31m" as GNU Grep does (bug#9408).
13720 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13721
045820ec
JL
137222011-09-05 Juri Linkov <juri@jurta.org>
13723
13724 * subr.el (y-or-n-p): Capitalize "yes".
13725
f5e29b9b
MA
137262011-09-04 Michael Albinus <michael.albinus@gmx.de>
13727
13728 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13729 `tramp-cache-unload-hook' where appropriate.
13730 (tramp-methods): Rename `tramp-remote-sh' to
13731 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13732 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13733
13734 * net/tramp-sh.el (top): Don't require 'shell.
13735 (tramp-methods): Add `tramp-remote-shell' and
13736 `tramp-remote-shell-args' entries.
13737 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13738 (tramp-sh-handle-shell-command): Remove.
13739 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13740 Use `tramp-remote-shell'.
13741
2784c434
CY
137422011-09-03 Chong Yidong <cyd@stupidchicken.com>
13743
393a301e 13744 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13745 (sendmail-query-once): Save directly to send-mail-function.
13746 Update message-send-mail-function too.
13747
13748 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13749
464cdf56
CS
137502011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13751
13752 * progmodes/python.el (python-mode-map): Use correct function to
13753 start python interpreter from menu-bar (as reported by Geert
13754 Kloosterman).
13755 (inferior-python-mode-map): Fix typo.
393a301e 13756 (python-shell-map): Remove.
464cdf56 13757
d37e5c87
DD
137582011-09-03 Deniz Dogan <deniz@dogan.se>
13759
13760 * net/rcirc.el (rcirc-print): Simplify code for
13761 rcirc-scroll-show-maximum-output. There is no need to walk
13762 through all windows to find the right one.
13763
f3ada0ee
CS
137642011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13765
13766 * help.el (help-return-method): Doc fix.
13767
1f3c99ca
MR
137682011-09-03 Martin Rudalics <rudalics@gmx.at>
13769
13770 * window.el (window-deletable-p): Don't return a non-nil value
13771 when there's a buffer that was shown in the window before.
13772 (Bug#9419)
393a301e
SM
13773 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13774 Set window's previous buffers to nil.
1f3c99ca 13775
a3cf097f
EZ
137762011-09-03 Eli Zaretskii <eliz@gnu.org>
13777
13778 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13779 newline before and after the tag line, so it doesn't interfere
13780 with determining the paragraph direction of bidirectional text.
13781
3d03de90
LL
137822011-09-03 Leo Liu <sdl.web@gmail.com>
13783
13784 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13785
c3313451
CY
137862011-09-02 Chong Yidong <cyd@stupidchicken.com>
13787
393a301e 13788 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13789 (pop-to-buffer): Change interactive spec. Pass second argument
13790 directly to display-buffer.
13791 (display-buffer): Fix interactive spec. Use functionp to
13792 distinguish between a function and a list of functions.
13793
13794 * abbrev.el (edit-abbrevs):
13795 * arc-mode.el (archive-extract):
13796 * autoinsert.el (auto-insert):
13797 * bookmark.el (bookmark-bmenu-list):
13798 * files.el (find-file):
13799 * view.el (view-buffer):
13800 * progmodes/compile.el (compilation-goto-locus):
13801 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13802
89894cd8
CY
138032011-09-02 Chong Yidong <cyd@stupidchicken.com>
13804
13805 * window.el (display-buffer-alist): Doc fix.
13806 (display-buffer): Add docstring. Don't treat
13807 display-buffer-default specially.
13808 (display-buffer-reuse-selected-window)
13809 (display-buffer-same-window, display-buffer-maybe-same-window)
13810 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13811 (display-buffer-pop-up-window)
13812 (display-buffer-reuse-or-pop-window)
13813 (display-buffer-use-some-window): New functions.
13814 (display-buffer-default-action): Use them.
393a301e 13815 (display-buffer-default): Delete.
89894cd8
CY
13816 (pop-to-buffer-1): Fix choice of actions.
13817
ae0bc9fb
SM
138182011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13819
13820 * minibuffer.el (completion--insert-strings): Don't get confused by
13821 completion entries that end with an LF char.
13822
e9d90883
EZ
138232011-09-01 Eli Zaretskii <eliz@gnu.org>
13824
13825 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13826
437014c8
CY
138272011-09-01 Chong Yidong <cyd@stupidchicken.com>
13828
13829 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13830 (display-buffer-same-window, display-buffer-other-window):
13831 New functions.
437014c8
CY
13832 (pop-to-buffer-1): New function. Use the above.
13833 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13834 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13835
13836 * view.el (view-buffer-other-window, view-buffer-other-frame):
13837 Just use pop-to-buffer.
13838
a5e063d5
TV
138392011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13840
13841 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13842
793d32bb
WH
138432011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13844
13845 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13846
d65e4c15
RS
138472011-08-31 Richard Stallman <rms@gnu.org>
13848
13849 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13850 of the separation of rmail-view-buffer from rmail-buffer.
13851 If you say no to "replace original", the decrypt is in the
13852 view buffer. If you say yes, the decrypt goes into the
13853 rmail buffer also.
13854
f818cd2a
MR
138552011-08-31 Martin Rudalics <rudalics@gmx.at>
13856
13857 * window.el (display-buffer-window): Rewrite doc-string.
13858 (display-buffer-record-window): New function.
13859 (display-buffer-macro-specifiers)
13860 (display-buffer-even-window-sizes, display-buffer-set-height)
13861 (display-buffer-set-width, display-buffer-in-window)
13862 (display-buffer-reuse-window, display-buffer-split-specifiers)
13863 (display-buffer-side-specifiers, display-buffer-split-window-1)
13864 (display-buffer-split-window, display-buffer-split-atom-window)
13865 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13866 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13867 (display-buffer-other-window-means-other-frame)
13868 (display-buffer-normalize-special)
13869 (display-buffer-normalize-default)
13870 (display-buffer-normalize-argument)
13871 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13872 (display-buffer-normalize-specifiers, display-buffer-frame)
13873 (display-buffer-same-window, display-buffer-same-frame)
13874 (display-buffer-other-window)
13875 (display-buffer-same-frame-other-window)
13876 (display-buffer-other-frame, pop-to-buffer-same-window)
13877 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13878 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13879 (switch-to-buffer-same-frame)
13880 (switch-to-buffer-other-window-same-frame)
13881 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13882 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13883 (display-buffer-alist-set): Remove.
13884 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
13885 (special-display-regexps, special-display-function):
13886 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
13887 parameter.
13888 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13889 (special-display-frame-alist, special-display-popup-frame)
13890 (same-window-buffer-names, same-window-regexps, same-window-p)
13891 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13892 (split-window-preferred-function, split-height-threshold)
13893 (split-width-threshold, window-splittable-p)
13894 (split-window-sensibly, window--try-to-split-window)
13895 (window--frame-usable-p, even-window-heights)
13896 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
13897 (window--display-buffer-2, display-buffer-other-frame):
13898 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
13899 (display-buffer-default, display-buffer-assq-regexp): New functions.
13900 (display-buffer-alist): Rewrite doc-string.
13901 (display-buffer-default-action)
13902 (display-buffer-overriding-action): New variables.
13903 (display-buffer, switch-to-buffer): Rewrite.
13904 (pop-to-buffer): Restore Emacs 23 behavior but use
13905 window-normalize-buffer-to-display.
13906 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13907 Restore Emacs 23 behavior but use
13908 window-normalize-buffer-to-switch-to.
13909 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
13910 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13911 Rewrite using Emacs 23 options.
f818cd2a 13912
5bc3b51d
MA
139132011-08-31 Michael Albinus <michael.albinus@gmx.de>
13914
13915 * net/tramp.el (tramp-root-regexp): Remove.
13916 (tramp-completion-file-name-regexp-unified)
13917 (tramp-completion-file-name-regexp-separate)
13918 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 13919 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
13920 (tramp-drop-volume-letter): Simplify definition.
13921 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 13922
b1a4f8e1
SM
139232011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13924
13925 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13926 (bug#9356).
13927
5664fa7b
RT
139282011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13929
b1a4f8e1 13930 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 13931
9a45d6c3
JL
139322011-08-29 Juri Linkov <juri@jurta.org>
13933
13934 * isearch.el (isearch-done): Don't display message "Mark saved"
13935 when arg `edit' is non-nil to prevent its flicker in the echo area.
13936
fb87e0fb
CY
139372011-08-28 Chong Yidong <cyd@stupidchicken.com>
13938
13939 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13940 obsolete packages for deletion.
13941
09ac1c2a
CS
139422011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13943
13944 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 13945 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
13946 view-mode from help-mode.
13947 (help-xref-override-view-map): Remove.
13948 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13949 view-mode is not used anymore.
13950
7a1ff57f
CY
139512011-08-28 Chong Yidong <cyd@stupidchicken.com>
13952
13953 * server.el (server-port): Doc fix.
13954
b9696605
CY
13955 * cus-theme.el (custom-theme-choose-mode): Inherit from
13956 special-mode (Bug#9124).
13957 (custom-theme-choose-mode-map): Add special-mode to parent.
13958
ef8cdf8c
AM
139592011-08-28 Alan Mackenzie <acm@muc.de>
13960
13961 * progmodes/cc-fonts.el
13962 (c-make-font-lock-BO-decl-search-function): New function.
13963 (c-basic-matchers-after - "Fontify the clauses after various
13964 keywords"): Extract the three keyword lists for the 3 erroneous
13965 constructs from the list of four, and use the new function above
13966 in place of an old one.
13967
27de4e20
DD
139682011-08-28 Deniz Dogan <deniz@dogan.se>
13969
13970 * net/rcirc.el (rcirc-insert-prev-input)
13971 (rcirc-insert-next-input): Remove unused argument.
13972
356a3681
SM
139732011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13974
13975 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13976
3fc9b218
AM
139772011-08-27 Alan Mackenzie <acm@muc.de>
13978
13979 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13980 handle function pointer parameters properly.
13981
538a061c
MR
139822011-08-27 Martin Rudalics <rudalics@gmx.at>
13983
13984 * window.el (display-buffer-reuse-window): Fix case where
13985 selected window was reused with non-nil OTHER-WINDOW argument.
13986 (Bug#9381)
13987
35b1c40c
DD
139882011-08-27 Deniz Dogan <deniz@dogan.se>
13989
13990 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13991 oftc's NickServ messages.
13992
2f6a3e79
GM
139932011-08-27 Glenn Morris <rgm@gnu.org>
13994
13995 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13996
7254299e
CY
139972011-08-26 Chong Yidong <cyd@stupidchicken.com>
13998
13999 * emacs-lisp/package.el (package-install): Call package-initialize
14000 if called interactively.
14001
f8ccf167
LL
140022011-08-26 Leo Liu <sdl.web@gmail.com>
14003
14004 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14005
3e8cd5ce
JL
140062011-08-25 Juri Linkov <juri@jurta.org>
14007
14008 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14009 `search-whitespace-regexp' (bug#9364).
14010
93eb7113
JL
140112011-08-25 Juri Linkov <juri@jurta.org>
14012
14013 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14014 `regexp-search-ring' to their global values to protect from
14015 updating by `read-from-minibuffer' (bug#9185).
14016
f65d1611
JL
140172011-08-25 Juri Linkov <juri@jurta.org>
14018
14019 * textmodes/ispell.el (ispell-command-loop): Add newline
14020 at the end of the "Use option `i'..." line.
14021
f1cf7a31
JL
140222011-08-25 Juri Linkov <juri@jurta.org>
14023
14024 * battery.el (display-battery-mode): If `battery-status-function'
14025 or `battery-mode-line-format' is nil, display the message and set
14026 `display-battery-mode' to nil (bug#9363).
14027
0c95fcf7
EZ
140282011-08-25 Eli Zaretskii <eliz@gnu.org>
14029
14030 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14031 bidi-string-mark-left-to-right; they are unnecessary now.
14032
a2ebe600
DD
140332011-08-25 Deniz Dogan <deniz@dogan.se>
14034
14035 * net/quickurl.el: Documentation typo fixes.
14036
e4ed06f1
CY
140372011-08-25 Chong Yidong <cyd@stupidchicken.com>
14038
14039 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14040
e5f1c99e
GM
140412011-08-25 Glenn Morris <rgm@gnu.org>
14042
b2948976
GM
14043 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14044
e5f1c99e
GM
14045 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14046 (smtpmail-via-smtp): Handle nil response from smtp.
14047
f22f4808
JL
140482011-08-24 Juri Linkov <juri@jurta.org>
14049
14050 * proced.el (proced-marked): Inherit from `error' instead of
14051 `font-lock-warning-face'.
14052
14053 * ibuffer.el (ibuffer-marked-face): Change default face from
14054 `font-lock-warning-face' to `warning'.
14055 (ibuffer-deletion-face): Change default face from
14056 `font-lock-type-face' to `error'.
14057
14058 * battery.el (battery-update): Use the face `error' instead of
14059 `font-lock-warning-face' (bug#6117).
14060
6a93965e
JL
140612011-08-24 Juri Linkov <juri@jurta.org>
14062
14063 * faces.el (success): Change face color from "Green3" to
14064 "ForestGreen" on light background (bug#9353).
14065
1ed43b09
CY
140662011-08-24 Chong Yidong <cyd@stupidchicken.com>
14067
5664fa7b
RT
14068 * window.el (quit-window): Rename from quit-restore-window.
14069 Use same arglist as old quit-window.
1ed43b09
CY
14070 (frame-auto-delete): Doc fix.
14071
14072 * view.el (view-mode-exit): Use quit-window.
14073
11dcdbb2
JL
140742011-08-24 Juri Linkov <juri@jurta.org>
14075
14076 * isearch.el (isearch-ring-adjust1): Start visiting previous
14077 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14078 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14079 for empty search string (when the last search string is reused
14080 automatically) to adjust the isearch ring to the last element and
14081 prepare the correct index for further M-p commands (bug#9185).
14082
de62b4df
KH
140832011-08-24 Kenichi Handa <handa@m17n.org>
14084
14085 * international/ucs-normalize.el: If decomposition property of
14086 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14087 nil.
14088 (nfd, nfkd): Likewise.
14089
963b492b
SM
140902011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14091
14092 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14093 from process filters aren't reliably transmitted to the surrounding
14094 accept-process-output.
14095 (mpc-proc-check): New function.
14096 (mpc-proc-sync): Use it (bug#8293)
14097
93b6b5e1
SM
140982011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14099
14100 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14101 Add compatibility functions (bug#9313).
14102
bca633fb
EZ
141032011-08-23 Eli Zaretskii <eliz@gnu.org>
14104
b177498a
EZ
14105 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14106
6df6ae42 14107 * international/uni-bidi.el: Regenerate.
bca633fb 14108
0902a04e
KH
141092011-08-23 Kenichi Handa <handa@m17n.org>
14110
14111 * international/charprop.el:
14112 * international/uni-bidi.el:
14113 * international/uni-category.el:
14114 * international/uni-combining.el:
14115 * international/uni-comment.el:
14116 * international/uni-decimal.el:
14117 * international/uni-decomposition.el:
14118 * international/uni-digit.el:
14119 * international/uni-lowercase.el:
14120 * international/uni-mirrored.el:
14121 * international/uni-name.el:
14122 * international/uni-numeric.el:
14123 * international/uni-old-name.el:
14124 * international/uni-titlecase.el:
14125 * international/uni-uppercase.el: Regenerate.
14126
3bbf23bc
MR
141272011-08-23 Martin Rudalics <rudalics@gmx.at>
14128
14129 * help.el (help-window-setup): Fix message displayed when other
14130 window is reused. (Bug#9341)
14131
b3fd59bd
SM
141322011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14133
1802e444
SM
14134 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14135 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14136
b3fd59bd
SM
14137 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14138 Mark obsolete.
14139 * shell.el (shell-parse-pcomplete-arguments): New function.
14140 (shell-completion-vars): Use it instead (bug#9160).
14141
4eb61348
SM
141422011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14143
867cab74
SM
14144 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14145 strings and comments (bug#9333).
14146
4eb61348
SM
14147 * emacs-lisp/debug.el (debug-arglist): New function.
14148 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14149 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14150
262a1439
JL
141512011-08-22 Juri Linkov <juri@jurta.org>
14152
56ee679c
JL
14153 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14154 Revert regexp that highlights output switches to its old
14155 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14156
262a1439
JL
14157 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14158 to check for empty output (bug#9226).
14159
f13f86fb
CY
141602011-08-22 Chong Yidong <cyd@stupidchicken.com>
14161
14162 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14163 symbol-constituent as the default, as that stops font-lock from
14164 working properly (Bug#8843).
14165
c65c9622
LMI
141662011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14167
14168 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14169 `coding-system-for-*' around the process open call to avoid
14170 auth-source side effects.
e7f2c178 14171 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14172 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14173 probe hangs.
c65c9622 14174
23a8a5ab
CY
141752011-08-21 Chong Yidong <cyd@stupidchicken.com>
14176
ff98b2dd
CY
14177 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14178
23a8a5ab
CY
14179 * emacs-lisp/find-func.el (find-function-noselect): New arg
14180 lisp-only.
14181
14182 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14183 signal an error for built-in functions (Bug#6664).
14184
f5e3c598
LMI
141852011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14186
14187 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14188 (smtpmail-try-auth-methods): Use it.
14189
a3f2468a
CY
141902011-08-21 Chong Yidong <cyd@stupidchicken.com>
14191
2c34e8da
CY
14192 * font-lock.el (font-lock-fontify-region)
14193 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14194 (font-lock-default-unfontify-buffer)
14195 (font-lock-default-fontify-region)
14196 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14197
b3fd59bd
SM
14198 * progmodes/compile.el (compilation-error-properties):
14199 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14200 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14201 `ant' regexp.
ee31aabc 14202
a3f2468a
CY
14203 * net/browse-url.el (browse-url-firefox): Don't call
14204 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14205
8e999f70
GM
142062011-08-20 Glenn Morris <rgm@gnu.org>
14207
c21a496a
GM
14208 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14209
59ee0542
GM
14210 * tutorial.el (tutorial--default-keys): Update some default bindings.
14211
8e999f70
GM
14212 * files.el (hack-local-variables): Fully ignore case for "mode:".
14213
e3715033
AM
142142011-08-20 Alan Mackenzie <acm@muc.de>
14215
14216 Resolve invalid use of a regexp in regexp-opt.
14217
4d61f28d
JB
14218 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14219 detection for a java annotation.
e3715033 14220
4d61f28d 14221 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14222 detection for a java annotation.
14223
4d61f28d
JB
14224 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14225 handling for java.
e3715033
AM
14226 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14227
04ed2e9c
CY
142282011-08-20 Chong Yidong <cyd@stupidchicken.com>
14229
14230 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14231 (Bug#9274).
14232
826cee64
AM
142332011-08-20 Alan Mackenzie <acm@muc.de>
14234
58179cce 14235 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14236 such a construct. Mainly for when jit-lock etc. starts a chunk
14237 here.
14238
58179cce 14239 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14240 variable.
58179cce 14241 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14242 c-make-font-lock-search-function.
14243 (c-make-font-lock-search-function): Use the above function.
14244 (c-make-font-lock-context-search-function): New function.
14245 (c-cpp-matchers): Enhance the preprocessor expression case with
14246 the above function
14247 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14248 which takes an expression.
14249
14250 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14251
13009bd8
MR
142522011-08-20 Martin Rudalics <rudalics@gmx.at>
14253
14254 * window.el (display-buffer-reuse-window)
14255 (display-buffer-pop-up-window): Don't reuse or split a side
14256 window.
14257
9234ff7f
GM
142582011-08-19 Glenn Morris <rgm@gnu.org>
14259
14260 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14261 Downcase "Mode:". (Bug#9331)
9234ff7f 14262
f635daa1
CY
142632011-08-18 Chong Yidong <cyd@stupidchicken.com>
14264
14265 * international/characters.el: Add L and R categories.
14266
14267 * subr.el (bidi-string-mark-left-to-right): Rename from
14268 string-mark-left-to-right. Use category search.
14269
14270 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14271
bc987f8b
JL
142722011-08-18 Juri Linkov <juri@jurta.org>
14273
14274 * faces.el (error, warning, success): New faces with definitions
14275 copied from old default values of `font-lock-warning-face',
14276 `compilation-warning', `compilation-info' (bug#6117).
14277
14278 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14279
14280 * progmodes/compile.el (compilation-error): Inherit from `error'.
14281 (compilation-warning): Inherit from `warning'.
14282 (compilation-info): Inherit from `success'.
14283
14284 * dired.el (dired-marked): Inherit from `warning'.
14285 (dired-flagged): Inherit from `error'.
14286
57173b96
LMI
142872011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14288
3e79eb87
LMI
14289 * mail/smtpmail.el (auth-source): Require to avoid problems with
14290 binding variables (bug#9298). Also clean up some unused
14291 autoloads.
14292
b3fd59bd
SM
14293 * net/network-stream.el (network-stream-open-starttls):
14294 Support using starttls.el without using gnutls-cli.
57173b96 14295
02b404de
JL
142962011-08-17 Juri Linkov <juri@jurta.org>
14297
14298 * progmodes/grep.el (rgrep): Handle the case when
14299 `grep-find-command' is a cons cell (bug#9278).
14300
8c9177f2
MR
143012011-08-17 Martin Rudalics <rudalics@gmx.at>
14302
14303 * window.el (display-buffer-pop-up-frame): Run frame creation
14304 function with BUFFER current (as special-display-popup-frame
14305 does). Reported by Drew Adams.
14306
3644a0ab
DU
143072011-08-17 Daiki Ueno <ueno@unixuser.org>
14308
14309 * epa-mail.el: Simplify GnuPG group expansion using
14310 epg-expand-group.
14311 (epa-mail-group-alist, epa-mail-group-modtime)
14312 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14313 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14314 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14315 Remove.
14316
5e617bc2 143172011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14318
14319 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14320
9c4aeabf
AM
143212011-08-16 Alan Mackenzie <acm@muc.de>
14322
14323 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14324 Correct, to avoid the inside of macros.
14325
3a99bf64
RS
143262011-08-16 Richard Stallman <rms@gnu.org>
14327
04963aa8
RS
14328 * epa-mail.el: Handle GnuPG group definitions.
14329 (epa-mail-group-alist, epa-mail-group-modtime)
14330 (epa-mail-gnupg-conf-file): New variables.
14331 (epa-mail-parse-groups, epa-mail-sync-groups)
14332 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14333 (epa-mail-expand-recipients): New functions.
14334 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14335
177549d0
RS
14336 * mail/rmail.el (rmail-epa-decrypt): New command.
14337
fe38beef
RS
14338 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14339 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14340 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14341 (epa-decrypt-armor-in-region): Make error message clearer.
14342
934eacb9
SM
143432011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14344
14345 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14346 and "a2b" to "ab" for `prefix'.
14347
d024fb4e
CY
143482011-08-14 Chong Yidong <cyd@stupidchicken.com>
14349
14350 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14351 filter groups.
de148fee
CY
14352 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14353 Fourquet (Bug#8804).
d024fb4e 14354
62f1ca49
JB
143552011-08-12 Juanma Barranquero <lekktu@gmail.com>
14356
14357 * startup.el (argi): Declare as global variable (bug#9275).
14358
9ccaaa4b
CY
143592011-08-12 Chong Yidong <cyd@stupidchicken.com>
14360
14361 * subr.el (string-mark-left-to-right): Search the entire string
14362 for RTL script, not just the terminating character. Doc fix.
14363
a3dae87a
SM
143642011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14365
6cd18349
SM
14366 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14367 New function.
14368 (js--regexp-literal, js-syntax-propertize-function): Remove.
14369 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14370 (js-mode-map): Don't rebind electric keys.
14371 (js-insert-and-indent): Remove.
14372 (js-mode): Setup electric-layout and electric-indent instead.
14373
a3dae87a
SM
14374 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14375
9d5cb631
DU
143762011-08-12 Daiki Ueno <ueno@unixuser.org>
14377
14378 * epa.el (epa-progress-callback-function): Fix the logic of
14379 displaying progress.
14380 * epa-file.el (epa-file-insert-file-contents): Make progress
14381 display more user-friendly.
14382 (epa-file-write-region): Ditto.
14383
3e26a4a2
CY
143842011-08-10 Chong Yidong <cyd@stupidchicken.com>
14385
14386 * subr.el (string-mark-left-to-right): New function.
14387
14388 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14389 Use string-mark-left-to-right.
14390 (list-buffers-noselect): Caller changed.
14391
a3dae87a
SM
14392 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14393 Use string-mark-left-to-right.
3e26a4a2
CY
14394 (tabulated-list-print): Recenter after moving point.
14395
ac8cf6e6
JL
143962011-08-10 Juri Linkov <juri@jurta.org>
14397
14398 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14399 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14400 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14401
8d96c9a4
CY
144022011-08-09 Chong Yidong <cyd@stupidchicken.com>
14403
14404 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14405 (Bug#7554).
14406
7be1c708 144072011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14408
14409 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14410 character. (Bug#6594)
14411
37e11a63
CY
144122011-08-08 Chong Yidong <cyd@stupidchicken.com>
14413
839dde57
CY
14414 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14415 (image-dired--with-db-file): New macro.
14416 (image-dired-write-tags, image-dired-remove-tag)
14417 (image-dired-create-gallery-lists, image-dired-write-comments)
14418 (image-dired-get-comment, image-dired-mark-tagged-files)
14419 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14420 (image-dired-gallery-generate): Use insert-file-contents.
14421
37e11a63
CY
14422 * time.el (display-time-world-list, display-time-world-display):
14423 * time-stamp.el (time-stamp-string):
14424 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14425 set-time-zone-rule (Bug#7337).
14426
0b4946c4
DU
144272011-08-08 Daiki Ueno <ueno@unixuser.org>
14428
14429 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14430 (epg-error-to-string, epg-errors-to-string): New function.
14431 (epg-wait-for-completion): Reverse errors list.
14432 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14433 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14434 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14435 (epg-sign-keys, epg-generate-key-from-file)
14436 (epg-generate-key-from-string): Format errors by using
14437 epg-errors-to-string (bug#9255).
14438 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14439
75bfc667
JL
144402011-08-07 Juri Linkov <juri@jurta.org>
14441
14442 * faces.el (list-faces-display): Remove extra angle bracket
14443 from `help-mode-map'.
14444
14445 * info.el (Info-history-toc-nodes): Doc fix.
14446
14447 * longlines.el (longlines-mode): Doc fix.
14448
673e08bb
SM
144492011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14450
4640dd88
SM
14451 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14452 of statements and in a few more cases (bug#9183).
14453
673e08bb
SM
14454 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14455 New functions.
14456 (cl-transform-lambda): Use them (bug#9239).
14457
89b3f019
MR
144582011-08-05 Martin Rudalics <rudalics@gmx.at>
14459
14460 * window.el (display-buffer-same-window)
14461 (display-buffer-same-frame, display-buffer-other-window)
14462 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14463 (pop-to-buffer-other-window)
14464 (pop-to-buffer-same-frame-other-window)
14465 (pop-to-buffer-other-frame): Make them defuns.
14466 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14467
640c8776
SM
144682011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14469
14470 * subr.el (make-composed-keymap): Move from C. Change calling
14471 convention, and improve docstring to bring attention to a subtle point.
14472 * minibuffer.el (completing-read-default): Adjust accordingly.
14473
63648a95
MA
144742011-08-03 Michael Albinus <michael.albinus@gmx.de>
14475
14476 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14477 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14478
14479 * net/trampver.el: Update release number.
14480
b796c9b7
SM
144812011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14482
14483 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14484 "in" (bug#9190).
14485
2239d7d5
LMI
144862011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14487
e07dd7c3
LMI
14488 * mail/sendmail.el (sendmail-query-once): Restore the current
14489 buffer after querying (bug#9074).
14490
0e6a2bd7
LMI
14491 * dired.el (dired-flagged): Use different faces for marked and
14492 flagged files (bug#6117).
14493
ce887515
LMI
14494 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14495 (bug#4433).
14496
92f2affc
LMI
14497 * ido.el (ido-mode): Switch off the message if called
14498 non-interactively.
14499
57d5aff0
LMI
14500 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14501 before 587, since it appears that that's more likely to work for
14502 more people.
14503
98cd6c18 14504 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14505 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14506 exist.
14507
b96dec83
LMI
14508 * info.el: Remove the `Info-beginning-of-buffer' function
14509 (bug#8325).
14510
b796c9b7
SM
14511 * net/network-stream.el (network-stream-open-starttls):
14512 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14513
d90e2ea0
MR
145142011-08-01 Martin Rudalics <rudalics@gmx.at>
14515
14516 * window.el (display-buffer-in-window): Don't set dedicated status
14517 of window here (Bug#9215).
14518 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14519 (display-buffer-pop-up-side-window)
b796c9b7 14520 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14521
cca09170
SM
145222011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14523
14524 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14525 before binding generated-autoload-file.
14526
027b979c
DD
145272011-08-01 Deniz Dogan <deniz@dogan.se>
14528
14529 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14530
3c7ee4f3
MA
145312011-07-30 Michael Albinus <michael.albinus@gmx.de>
14532
14533 Sync with Tramp 2.2.2.
14534
14535 * net/trampver.el: Update release number.
14536
2cc8e51a
JL
145372011-07-30 Juri Linkov <juri@jurta.org>
14538
14539 * dired-aux.el (dired-touch-initial): Remove function.
14540 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14541 current time, and `default' to the last modification time of the
14542 current marked file (bug#6887).
14543
a514d856
JM
145442011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14545
14546 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14547 numeric argument to read-number (bug#9163).
a514d856 14548
8a7eddd7
MA
145492011-07-27 Michael Albinus <michael.albinus@gmx.de>
14550
14551 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14552 connection process, it could be nil.
14553
1ddd96f5
LL
145542011-07-27 Leo Liu <sdl.web@gmail.com>
14555
14556 Simplify url handling in rcirc-mode.
14557
14558 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14559 (rcirc-browse-url-at-mouse): Remove.
14560 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14561
b248a85d
AM
145622011-07-26 Alan Mackenzie <acm@muc.de>
14563
14564 Fontify bitfield declarations properly.
14565
14566 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14567 (c-symbol-chars): Now exported as a lang variable.
14568 (c-not-primitive-type-keywords): New lang variable.
14569
14570 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14571 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14572 parsed as a bitfield declaration.
b248a85d 14573
b796c9b7
SM
14574 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14575 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14576 (c-punctuation-in): New function.
14577 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14578 declarations properly.
14579
68575ab0
UJ
145802011-07-26 Ulf Jasper <ulf.jasper@web.de>
14581
14582 * calendar/icalendar.el (icalendar--all-events): Take care of
14583 multiple vcalendars in a single file.
b796c9b7 14584 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14585
0f0a88b9
DD
145862011-07-25 Deniz Dogan <deniz@dogan.se>
14587
14588 * image.el (insert-image): Clarifying docstring.
14589
0b3f36df
MA
145902011-07-24 Michael Albinus <michael.albinus@gmx.de>
14591
14592 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14593 `tramp-send-command-and-check' if there is no error.
14594 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14595
a9901f61
AM
145962011-07-22 Alan Mackenzie <acm@muc.de>
14597
14598 Prevent cc-langs.elc being loaded at run time.
14599
14600 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14601 cc-langs.
14602
4d61f28d 14603 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14604 "(require 'cc-langs)". Quote a form so it will evaluate at
14605 (cc-mode's) compilation time.
14606
11d074b2
MA
146072011-07-22 Michael Albinus <michael.albinus@gmx.de>
14608
14609 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14610 loading. (Bug#9114)
14611
938b94c8
MR
146122011-07-21 Martin Rudalics <rudalics@gmx.at>
14613
14614 * window.el (display-buffer-pop-up-window)
14615 (display-buffer-pop-up-side-window)
14616 (display-buffer-in-side-window): Call display-buffer-set-height
14617 and display-buffer-set-width after setting the new window's
b796c9b7 14618 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14619
bfa4f190
SS
146202011-07-20 Sam Steingold <sds@gnu.org>
14621
14622 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14623 (etags-tags-included-tables): Call `convert-standard-filename' on
14624 the file names contained in TAGS so that windows Emacs can handle
14625 TAGS files created by cygwin ctags.
14626
8ca42262
LMI
146272011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14628
14629 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14630 which apparently didn't work.
14631
5db2afd2 146322011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14633
5db2afd2
RW
14634 * proced.el (proced-send-signal): For *Marked Processes* buffer
14635 put point at beginning of buffer.
14636
92e15d10
SB
146372011-07-19 Stephen Berman <stephen.berman@gmx.net>
14638
14639 * proced.el (proced-format): Make header lines align with the text
14640 (bug#1779).
14641
1bfd59e5
LMI
146422011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14643
14644 * view.el (view-buffer): Allow running in `special' modes if we're
14645 visiting a file (bug#8615).
14646
f5aae37c
MR
146472011-07-19 Martin Rudalics <rudalics@gmx.at>
14648
14649 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14650 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14651 New functions.
f5aae37c
MR
14652 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14653 more accurately.
14654
bf2c1571
AM
146552011-07-18 Alan Mackenzie <acm@muc.de>
14656
14657 Fontify declarators properly when, e.g., a jit-lock chunk begins
14658 inside a declaration.
14659
14660 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14661
b796c9b7
SM
14662 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14663 New function.
bf2c1571
AM
14664 (c-complex-decl-matchers): Insert reference to
14665 c-font-lock-enclosing-decls.
14666
14667 * progmodes/cc-engine.el (c-backward-single-comment):
14668 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14669 to nil around calls to (forward-comment -1).
14670
4e190b80
LMI
146712011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14672
12dc863d
LMI
14673 * image.el (put-image): Doc typo fix.
14674
a762e966
LMI
14675 * progmodes/etags.el (tags-search): Doc typo fix.
14676
4e190b80
LMI
14677 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14678 password if we get errors 550 to 554.
14679
f019fb21
LMI
146802011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14681
b796c9b7 14682 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14683
81746738
LMI
14684 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14685 indentation character (bug#6380).
14686
3ee3a1b5
LMI
14687 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14688
c82f64de
LMI
14689 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14690 to clarify what the problem is (bug#4291).
14691
f019fb21
LMI
14692 * simple.el (current-kill): Clarify what
14693 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14694 (auto-fill-mode): Document `auto-fill-function' in relation to
14695 `auto-fill-mode' (bug#2470).
f019fb21 14696
0794775d
LM
146972011-07-16 Lawrence Mitchell <wence@gmx.li>
14698
14699 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14700 method if slot is read-only (bug#9035).
14701
be39b8cc
MR
147022011-07-16 Martin Rudalics <rudalics@gmx.at>
14703
b796c9b7 14704 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14705 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14706 selected before, see discussion of (Bug#8615), (Bug#6954).
14707 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14708
6ccf7859
GM
147092011-07-15 Glenn Morris <rgm@gnu.org>
14710
14711 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14712 Respect help-form.
6ccf7859 14713
87e86684
LM
147142011-07-09 Lawrence Mitchell <wence@gmx.li>
14715
14716 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14717 (gnutls-negotiate): Use it.
14718
d6066239
LMI
147192011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14720
b796c9b7
SM
14721 * net/gnutls.el (gnutls-negotiate):
14722 Upcase `gnutls-algorithm-priority'.
d6066239 14723
bd23ebc0
GM
147242011-07-15 Glenn Morris <rgm@gnu.org>
14725
c65bca65
GM
14726 * jka-compr.el (jka-compr-verbose): Move from here...
14727 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14728 Add missing :version tag.
14729 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14730
478615cc
LMI
147312011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14732
7b41decb
LMI
14733 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14734 (gnutls-negotiate): Use it.
14735
dbc44fcd
LMI
14736 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14737
06789f97
LMI
14738 * info.el (Info-beginning-of-buffer): New command.
14739 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14740 announcing `b' as the key (bug#8325).
ab896c37 14741 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14742
c39da690
LMI
14743 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14744
3aa5f34b
LMI
14745 * international/mule-cmds.el
14746 (describe-specified-language-support): Make the error message
14747 clearer (bug#8905).
14748
4bf0979f
LMI
14749 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14750
478615cc
LMI
14751 * isearch.el (isearch-barrier): Add a doc string, since it's
14752 mentioned in a function doc string (bug#8678).
14753
75c68aa1
MR
147542011-07-15 Martin Rudalics <rudalics@gmx.at>
14755
14756 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14757 buffer argument (Bug#9083) and self-identifying label argument.
14758
a7c33da2
GM
147592011-07-15 Glenn Morris <rgm@gnu.org>
14760
14761 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14762
2f5c6024
LMI
147632011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14764
14765 * man.el (Man-fontify-manpage): Fix message when formatting the
14766 man page (bug#7929).
14767
0bb23927 147682011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14769
14770 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14771 argument LRM; if non-nil, append an invisible LRM character to the
14772 buffer name.
14773 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14774 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14775 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14776 paragraph direction.
cce4b0a7 14777
621ef9ab
LMI
147782011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14779
d1583c48
LMI
14780 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14781 the man page name (bug#7929).
14782
6a57fb5f
LMI
14783 * image.el (put-image): Mention the `put-image' overlay property
14784 (bug#7834).
14785
d7956b14
LMI
14786 * scroll-bar.el (set-scroll-bar-mode): Mention that
14787 `scroll-bar-mode' lists the values (bug#7772).
14788
5b2d4a66
LMI
14789 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14790 command (bug#7729).
14791
7509a874
LMI
14792 * rect.el (apply-on-rectangle): Return the point after the last
14793 operation.
14794 (string-rectangle): Go to the point after the last operation
14795 (bug#7522).
14796
4fe74b19
LMI
14797 * printing.el (pr-toggle-region): Clarify the documentation
14798 slightly (bug#7493).
14799
b796c9b7
SM
14800 * time.el (display-time-update):
14801 Allow `display-time-mail-function' to return nil (bug#7158).
14802 Fix suggested by Detlev Zundel.
ab283561 14803
fc233c9d
LMI
14804 * vc/diff.el (diff): Clarify the order the file names are read
14805 (bug#7111).
14806
43f5740b
LMI
14807 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14808 the doc string (bug#7015).
14809
f2182a76
LMI
14810 * font-lock.el (font-lock-maximum-decoration): Mention what
14811 numeric levels mean (bug#6935).
14812
621ef9ab
LMI
14813 * startup.el (initial-buffer-choice): Don't mention the `none'
14814 selection, which is against policy.
14815
adc47434
MR
148162011-07-14 Martin Rudalics <rudalics@gmx.at>
14817
b796c9b7
SM
14818 * window.el (display-buffer-normalize-special):
14819 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14820
7e5bfb8f
EZ
148212011-07-14 Eli Zaretskii <eliz@gnu.org>
14822
14823 * subr.el (version<, version<=, version=): Mention "-CVS" and
14824 "-12345" alpha version numbers.
14825
27fa387a
CY
148262011-07-14 Chong Yidong <cyd@stupidchicken.com>
14827
14828 * bindings.el: Add advertised binding for set-mark-command
14829 (Bug#5772).
14830
8bdfa064
CY
148312011-07-14 Chong Yidong <cyd@stupidchicken.com>
14832
14833 * bindings.el (mode-line-other-buffer):
14834 * bookmark.el (bookmark-bmenu-2-window):
14835 * bs.el (bs-cycle-next, bs-cycle-previous):
14836 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14837 switch-to-buffer.
14838
14839 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14840 Delete.
8bdfa064 14841
5eba16a3
JB
148422011-07-14 Juanma Barranquero <lekktu@gmail.com>
14843
14844 * follow.el (follow-debug-message, follow-redisplay):
14845 * jka-cmpr-hook.el (with-auto-compression-mode):
14846 Fix typos in docstrings.
14847
15853710
LMI
148482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14849
a28e4607
LMI
14850 * subr.el (with-silent-modifications): Clarify somewhat what the
14851 macro inhibits (bug#6525).
14852
15853710
LMI
14853 * simple.el (eval-expression): Note what it does if called
14854 interactively (bug#6495).
14855
bee0fcef
CY
148562011-07-13 Chong Yidong <cyd@stupidchicken.com>
14857
b796c9b7
SM
14858 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14859 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14860
14861 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14862 Remove switch-to-buffer.
14863
58274504
LMI
148642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14865
bd2fcc8d
LMI
14866 * files.el (make-directory): Clarify that an error will be raised
14867 if there's an error (bug#6397).
14868
0f04b32c
LMI
14869 * startup.el (initial-buffer-choice): Add `none' as a choice
14870 (bug#6234).
14871
465c5fc8
LMI
14872 * subr.el (add-hook): Clarify section about buffer-local hooks
14873 (bug#6218).
14874
58274504
LMI
14875 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14876
bead9a43
JB
148772011-07-13 Juanma Barranquero <lekktu@gmail.com>
14878
14879 * tabify.el (untabify): Preserve the current column so that point
14880 doesn't move (bug#6032).
14881
3af98a7b
LMI
148822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14883
b796c9b7
SM
14884 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14885 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 14886
6240145a
GM
148872011-07-13 Glenn Morris <rgm@gnu.org>
14888
14889 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14890 (dired-insert-directory): Give a message the first time
14891 if ls is found not to support --dired.
14892
1d8c2ccc
LMI
148932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14894
14895 * simple.el (toggle-truncate-lines): Clarify what is toggled
14896 (bug#5580). Text by Drew Adams.
14897
5fc4038e
CY
148982011-07-13 Chong Yidong <cyd@stupidchicken.com>
14899
14900 * simple.el (blink-matching-open): Make the error message from the
14901 last change less verbose.
14902
bf6012e5
DN
149032011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14904
14905 * font-lock.el (font-lock-comment-face): Use the high contrast
14906 "yellow" color for font-lock-comment-face on low color terminals
14907 using a dark background color (bug#4221).
14908
343c3b5a
LMI
149092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14910
7e9505c5
LMI
14911 * dired.el (dired-insert-set-properties): Make the doc string
14912 reflect what it does now (bug#5325).
14913
c26fdcf5
LMI
14914 * simple.el (blink-matching-open): Say that we were unable to find
14915 the match within the limit, if we're limited (bug#5122).
14916
bb388cc5
LMI
14917 * international/mule-cmds.el (prefer-coding-system): Add an
14918 example (bug#4869).
14919
343c3b5a
LMI
14920 * progmodes/etags.el (tags-search): Document `file-list-form'
14921 (bug#4731).
14922
2a517d45
LM
149232011-07-13 Lawrence Mitchell <wence@gmx.li>
14924
14925 * net/browse-url.el (browse-url-default-browser)
14926 (browse-url-browser-function): Make the default browser choice a
14927 bit more logical (bug#4300). Also clean up the doc string.
14928
b6c78ef2
JB
149292011-07-13 Juanma Barranquero <lekktu@gmail.com>
14930
14931 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14932 binary endings (bug#4440).
14933
1c4dd947
LMI
149342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14935
a2014063
LMI
14936 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14937 which can be pretty annoying (bug#8971).
14938
9c9c2d88
LMI
14939 * jka-compr.el (jka-compr-verbose): New variable, and use
14940 throughout (bug#8971).
14941
1c4dd947
LMI
14942 * info.el (Info-find-file): Fall back on the installation
14943 directory if we can't find the info node anywhere else.
14944
a1c9f41b
SO
149452011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14946
14947 * vc/vc.el (vc-revert-file):
14948 Don't set file time-stamp in the past. (Bug#5181)
14949
536f3d36
LMI
149502011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14951
7152b011
LMI
14952 * files.el (after-find-file): Give a better error message when
14953 trying to find a symlink that points to a file that doesn't exist
14954 (bug#4398).
14955
536f3d36
LMI
14956 * progmodes/cc-vars.el: Remove (probably) misleading comment
14957 (bug#4396).
14958
460c0fba
JB
149592011-07-12 Johan Bockgård <bojohan@gnu.org>
14960
14961 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14962
7a6bda45
CY
149632011-07-12 Chong Yidong <cyd@stupidchicken.com>
14964
14965 * mouse-sel.el: Hack restoring functionality, while keeping
14966 compatibility with 2010-07-03 changes to mouse selection.
14967 (mouse-sel-primary-overlay): New var.
14968 (mouse-sel-selection-alist): Use it.
14969 (mouse-sel-mode): Doc fix; remove points that are default features
14970 of mouse.el.
14971
c79598ef
JB
149722011-07-12 Johan Bockgård <bojohan@gnu.org>
14973
14974 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14975 Fix previous fix (bug#2490).
14976
ff8be6ef
RW
149772011-07-12 Roland Winkler <winkler@gnu.org>
14978
b796c9b7
SM
14979 * textmodes/bibtex.el (bibtex-initialize):
14980 Use pop-to-buffer-same-window.
ff8be6ef
RW
14981 (bibtex-search-entries): Fix interactive call.
14982
296ba3ee
LMI
149832011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14984
f5242a02 14985 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
14986 Fontise bytecomp Error lines more correctly (bug#2490).
14987 Fix suggested by Johan Bockgård.
f5242a02 14988
296ba3ee
LMI
14989 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14990
14991 * dired-x.el (dired-guess-default): Use `delete-dups'.
14992
f69fd0d2
CY
149932011-07-12 Chong Yidong <cyd@stupidchicken.com>
14994
14995 * dired.el (dired-mark-prompt):
14996 * dired-aux.el (dired-read-shell-command): Doc fix.
14997
eab5dc07
LMI
149982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14999
b796c9b7
SM
15000 * mail/sendmail.el (sendmail-query-once):
15001 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15002 emacs -Q.
15003
15004 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15005
eab5dc07
LMI
15006 * cus-edit.el (custom-file): Take an optional no-error variable.
15007 (customize-save-variable): Set the variable, and give a warning if
15008 running under "emacs -q".
15009
a1e65d42
JB
150102011-07-11 Juanma Barranquero <lekktu@gmail.com>
15011
15012 * loadhist.el (unload-feature-special-hooks):
15013 Add `auto-coding-functions', `fill-nobreak-predicate' and
15014 `find-directory-functions' (bug#5327).
15015
1d52da10
LMI
150162011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15017
be958f1d
LMI
15018 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15019
5bedb26c
LMI
15020 * cus-edit.el (custom-guess-name-alist): -alist variables should
15021 use the `alist' type (bug#3120). Suggested by Drew Adams.
15022
1d52da10
LMI
15023 * printing.el: Add documentation to all the `pr-toggle-' commands.
15024
cd394be1 150252011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15026
15027 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15028 backends where it makes sense (bug#2623).
15029
dcc88d8a
LMI
150302011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15031
c3de9feb
LMI
15032 * dired-x.el (dired-guess-default): Remove duplicate shell command
15033 entries (bug#2028).
8a93078b 15034 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15035 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15036
dcc88d8a
LMI
15037 * subr.el (remove-duplicates): New conveniency function.
15038
505e3645
LMI
150392011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15040
15041 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15042 (bug#1526).
15043
150442011-07-10 Martin Rudalics <rudalics@gmx.at>
15045
15046 * window.el (display-buffer-normalize-default): Don't invert
15047 meaning of even-window-heights. Reported by Eli Zaretskii
15048 <eliz@gnu.org>.
15049
455e4fa1
BR
150502011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15051
15052 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15053
8e0bc3e9
CY
150542011-07-10 Chong Yidong <cyd@stupidchicken.com>
15055
15056 * window.el (display-buffer): Fix arguments to
15057 display-buffer-reuse-window in last change.
15058
fa7c3228
CY
15059 * faces.el (link): Use a less saturated blue on light backgrounds.
15060
15061 * startup.el (fancy-startup-text, fancy-about-text)
15062 (fancy-startup-tail): Use font-lock faces, for background safety.
15063
c0a7f300
BN
150642011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15065
b796c9b7
SM
15066 * emulation/viper-cmd.el (viper-change-state-to-vi):
15067 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15068
4dc2a129
MR
150692011-07-09 Martin Rudalics <rudalics@gmx.at>
15070
15071 * window.el (display-buffer-default-specifiers): Remove.
15072 (display-buffer-macro-specifiers): Remove default specifiers.
15073 (display-buffer-alist): Default to nil.
b796c9b7 15074 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15075 (display-buffer-pop-up-window): Allow splitting internal
15076 windows. Check whether a live window was created.
15077 (display-buffer-other-window-means-other-frame)
15078 (display-buffer-normalize-arguments): Rename to
15079 display-buffer-normalize-argument and rewrite. Set the
15080 other-window specifier.
15081 (display-buffer-normalize-special): New function.
15082 (display-buffer-normalize-options): Rename to
15083 display-buffer-normalize-default and rewrite.
15084 (display-buffer-normalize-options-inhibit): Remove.
15085 (display-buffer-normalize-specifiers): Rewrite.
15086 (display-buffer): Process other-window specifier and call
15087 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15088 more faithfully.
b796c9b7 15089 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15090 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15091 (display-buffer-in-window, display-buffer-alist-set):
15092 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15093 <tassilo@member.fsf.org>.
15094
2d43b8c9
LL
150952011-07-09 Leo Liu <sdl.web@gmail.com>
15096
15097 * register.el (insert-register): Restore accidental change on
15098 2011-06-26. (Bug#9028)
15099
7f9b7c53
GM
151002011-07-09 Glenn Morris <rgm@gnu.org>
15101
15102 * subr.el (remq): Handle the empty list. (Bug#9024)
15103
f042cfd8
AS
151042011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15105
15106 * mail/sendmail.el (send-mail-function): No longer delay custom
15107 initialization.
15108 * custom.el (custom-initialize-delay): Doc fix.
15109
856b2f11
SM
151102011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15111
15112 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15113
afae1d68
MA
151142011-07-08 Michael Albinus <michael.albinus@gmx.de>
15115
15116 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15117 human-friendly prompt.
15118
0757af94
SM
151192011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15120
15121 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15122 provided by a particular plugin.
15123
d760b731
LMI
151242011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15125
15126 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15127 save customizations (with "emacs -Q"), just set the variable
15128 instead of erroring out.
15129
15130 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15131
cd79ce90
JL
151322011-07-08 Juri Linkov <juri@jurta.org>
15133
15134 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15135 (archive-zip-update-case): Use 7z if found by `executable-find'.
15136 The order of searching the available programs is the same as in
15137 `archive-zip-extract' (bug#8968).
15138
14cc04aa
CY
151392011-07-07 Chong Yidong <cyd@stupidchicken.com>
15140
15141 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15142 (menu-bar-options-menu): Tweak descriptions.
15143
0a1848ec
LMI
151442011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15145
15146 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15147 menu items into verb phrases (bug#1421). Also refill to fit under
15148 80 columns.
15149
f5bd0689
CY
151502011-07-07 Chong Yidong <cyd@stupidchicken.com>
15151
538e85c6
CY
15152 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15153 (Info-read-node-name): Doc fix (Bug#1084).
15154
f5bd0689
CY
15155 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15156 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15157 (end-of-sexp, beginning-of-sexp)
15158 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15159 (forward-symbol, forward-same-syntax, word-at-point)
15160 (sentence-at-point): Doc fix (Bug#1144).
15161
56ec5115
LMI
151622011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15163
f3f8e37f
LMI
15164 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15165 should cover it (bug#1281).
15166
0757af94 15167 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15168
e9fce1ac 15169 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15170 negotiation fails, then possibly try again with a non-encrypted
15171 connection (bug#9017).
15172
56ec5115
LMI
15173 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15174 be used.
15175
c2f9aec8
RS
151762011-07-07 Richard Stallman <rms@gnu.org>
15177
15178 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15179 property, and handle its changed format.
15180 Look for the correct line number.
15181 Use file's line contents (but not past first =) to find
15182 correct line in message.
15183
ef7b981d 151842011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15185
15186 * international/characters.el (build-unicode-category-table):
15187 Delete it.
0757af94 15188 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15189
0757af94 15190 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15191 to src/chartab.c.
15192 (get-char-code-property): Call unicode-property-table-internal to
15193 load a file. Call get-unicode-property-internal where necessary.
15194 (put-char-code-property): Call unicode-property-table-internal to
15195 load a file. Call put-unicode-property-internal where necessary.
15196 put-unicode-property-internal where necessary.
0757af94
SM
15197 (char-code-property-description):
15198 Call unicode-property-table-internal to load a file.
c805dec0
KH
15199
15200 * international/charprop.el:
15201 * international/uni-bidi.el:
15202 * international/uni-category.el:
15203 * international/uni-combining.el:
15204 * international/uni-comment.el:
15205 * international/uni-decimal.el:
15206 * international/uni-decomposition.el:
15207 * international/uni-digit.el:
15208 * international/uni-lowercase.el:
15209 * international/uni-mirrored.el:
15210 * international/uni-name.el:
15211 * international/uni-numeric.el:
15212 * international/uni-old-name.el:
15213 * international/uni-titlecase.el:
15214 * international/uni-uppercase.el: Regenerate.
15215
15216 * loadup.el: Load international/charprop.el before
15217 international/characters.
15218
e14b388a
CY
152192011-07-07 Chong Yidong <cyd@stupidchicken.com>
15220
15221 * window.el (next-buffer, previous-buffer): Signal an error if
15222 called from a minibuffer window.
15223
15224 * bindings.el: Revert 2011-07-04 change.
15225
354cf0ba
RS
152262011-07-06 Richard Stallman <rms@gnu.org>
15227
15228 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15229 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15230 Treat markers like ints.
15231 (rmail-mime-entity): Doc fix.
15232
a48868a7
LMI
152332011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15234
4906cd3d
LMI
15235 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15236 defcustom again for backwards compatibility.
15237
e0457abe
LMI
15238 * simple.el (shell-command-on-region): Fill.
15239
d67f7e1f
LMI
15240 * dired-aux.el (dired-kill-line): Add a doc string.
15241
fe204702
LMI
15242 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15243 to "\\sw\\|\\s_" (bug#358).
15244
a48868a7
LMI
15245 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15246 (dired-unmark-backward): Ditto.
15247 (dired-flag-backup-files): Ditto.
15248
15249 * dired-x.el (dired-mark-sexp): Ditto.
15250
aa8a705c
RS
152512011-07-06 Richard Stallman <rms@gnu.org>
15252
15253 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15254 (rmail-mime-entity): New arg TRUNCATED.
15255 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15256 New functions.
15257 (rmail-mime-save): Warn if entity is truncated.
15258 (rmail-mime-toggle-hidden): Likewise, for showing.
15259 (rmail-mime-process-multipart): Record when an entity is truncated.
15260
a9a936b9
RS
15261 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15262 if ENTITY is a string.
15263
1f2b92cb
LMI
152642011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15265
f4f73198 15266 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15267 of faces when `M-C-x'-ing their definitions (bug#8378).
15268 Also clean up the code slightly.
f4f73198 15269
12b16734 15270 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15271 because that makes the colors go away.
12b16734 15272
f0691d22
LMI
15273 * mail/sendmail.el (send-mail-function): Change the default to
15274 `sendmail-query-once'.
9e87df06 15275 (sendmail-query-once): Add an autoload cookie.
f0691d22 15276
1f2b92cb
LMI
15277 * net/network-stream.el (network-stream-open-starttls): Try using
15278 a plain connection even if the server offered STARTTLS, and we
15279 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15280 capability. This should make smtpmail.el work in slightly more
15281 configurations.
15282
1cdd2a1b
MA
152832011-07-06 Michael Albinus <michael.albinus@gmx.de>
15284
15285 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15286 New defun.
15287 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15288
fbcc67e2
MM
152892011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15290
15291 * progmodes/sql.el: Version 3.0
0757af94 15292 (sql-product-alist): Add product :completion-object,
fbcc67e2 15293 :completion-column, and :statement attributes.
0757af94 15294 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15295 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15296 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15297 ansi keywords.
15298 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15299 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15300 (sql-oracle-show-reserved-words): New function for development.
15301 (sql-product-font-lock): Simplify for source code buffers.
15302 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15303 New functions.
15304 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15305 (sql-mode-map): Add statement movement functions.
15306 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15307 New variable.
fbcc67e2
MM
15308 (sql-statement-regexp, sql-beginning-of-statement)
15309 (sql-end-of-statement, sql-signum): New functions.
0757af94 15310 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15311 (sql-show-sqli-buffer): Bug fix.
15312 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15313 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15314 with sql-interactive-mode.
15315 (sql-save-connection): Save buffer local settings.
0757af94 15316 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15317 (sql-product-interactive): Bug fix.
15318 (sql-preoutput-hold): New variable.
15319 (sql-interactive-remove-continuation-prompt): Bug fixes.
15320 (sql-debug-redirect): New variable.
15321 (sql-str-literal): New function.
15322 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15323 Redesign.
fbcc67e2
MM
15324 (sql-oracle-save-settings, sql-oracle-restore-settings)
15325 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15326 (sql-completion-object, sql-completion-column)
15327 (sql-completion-sqlbuf): New variables.
15328 (sql-build-completions-1, sql-build-completions)
15329 (sql-try-completion): New functions.
15330 (sql-read-table-name): Use them.
15331 (sql-contains-names): New buffer local variable.
15332 (sql-list-all, sql-list-table): Use it.
15333 (sql-oracle-completion-types): New variable.
15334 (sql-oracle-completion-object, sql-sqlite-completion-object)
15335 (sql-postgres-completion-object): New functions.
15336
d4eaeab1
GM
153372011-07-06 Glenn Morris <rgm@gnu.org>
15338
15339 * window.el (pop-to-buffer): Doc fix.
15340
322b7dab 153412011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15342
15343 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15344
322b7dab 153452011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15346
322b7dab 15347 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15348
322b7dab 15349 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15350
605dd5bf
CY
153512011-07-05 Chong Yidong <cyd@stupidchicken.com>
15352
15353 * button.el (button): Inherit from link face. Suggested by Dan
15354 Nicolaescu.
15355
7dbfa719
SM
153562011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15357
3db614b0
SM
15358 * progmodes/gdb-mi.el: Fit in 80 columns.
15359 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15360 switch-to-buffer.
15361
7dbfa719
SM
15362 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15363 if imenu is simply not configured (bug#8941).
15364
919d884a
KM
153652011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15366
15367 * allout.el (allout-post-undo-hook): New allout outline-change
15368 event hook to signal undo activity.
15369 (allout-post-command-business): Run allout-post-undo-hook if an
15370 undo just occurred.
7dbfa719
SM
15371 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15372 * allout-widgets.el (allout-widgets-after-undo-function):
15373 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15374 in the vicinity of an undo.
15375 (allout-widgets-mode): Include allout-widgets-after-undo-function
15376 on the new allout-post-undo-hook.
15377
450a0f09
SM
153782011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15379
15380 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15381 Let define-derived-mode define it.
15382 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15383 cycles of abbrev-table inheritance (bug#8998).
15384
2de69e00
RW
153852011-07-05 Roland Winkler <winkler@gnu.org>
15386
15387 * textmodes/bibtex.el: Add support for biblatex.
15388 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15389 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15390 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15391 (bibtex-entry-alist, bibtex-field-alist): New variables.
15392 (bibtex-entry-field-alist): Obsolete alias for
15393 bibtex-BibTeX-entry-alist.
15394 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15395 (bibtex-set-dialect): New command.
15396 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15397 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15398 Bind via bibtex-set-dialect.
2de69e00
RW
15399 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15400 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15401 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15402 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15403 Define via bibtex-set-dialect.
450a0f09
SM
15404 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15405 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15406 (bibtex-vec-push, bibtex-vec-incr): New functions.
15407 (bibtex-format-entry, bibtex-field-list)
15408 (bibtex-print-help-message, bibtex-validate)
15409 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15410
2dcdbdd9
SM
154112011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15412
15413 * progmodes/compile.el (compilation-goto-locus):
15414 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15415 * bs.el (bs-cycle-next, bs-cycle-previous):
15416 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15417 * bindings.el (mode-line-other-buffer):
15418 * autoinsert.el (auto-insert):
15419 * arc-mode.el (archive-extract):
15420 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15421
b27640fe
JB
154222011-07-05 Juanma Barranquero <lekktu@gmail.com>
15423
15424 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15425 Fix check of `emacs-lock-unlockable-modes'.
15426 Coerce true values of `emacs-lock--try-unlocking' to t.
15427
53bbe3ad
JB
154282011-07-05 Juanma Barranquero <lekktu@gmail.com>
15429
15430 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15431 * emacs-lock.el: New file.
15432
1d3cdbc7
JD
154332011-07-05 Julien Danjou <julien@danjou.info>
15434
15435 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15436 than `boundp' to check if face is set.
15437
9173deec
JB
154382011-07-05 Juanma Barranquero <lekktu@gmail.com>
15439
15440 * register.el (registerv-make):
15441 * window.el (window-min-height): Fix typos in docstrings.
15442
869795d6
JD
154432011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15444
9173deec 15445 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15446 Update doc string.
15447
b768cdcd
JB
154482011-07-04 Juanma Barranquero <lekktu@gmail.com>
15449
15450 * server.el (server-execute): Catch quit and call
15451 `server-return-error' to pass the error back to emacsclient and
15452 close the connection (bug#8942).
15453
13aa217b
KM
154542011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15455
15456 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15457 insecure exception for current topic. Also note that auto-saves
15458 are handled differently.
15459
5d3385a0 15460 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15461 State variables for tracking auto-save inhibition situation.
15462
15463 (allout-write-contents-hook-handler): Rename from
15464 'allout-write-file-hook-handler', and describe how it depends on
15465 write-contents-functions sensitivity to non-nil value to prevent
15466 file write.
15467
15468 (allout-auto-save-hook-handler): Remove. auto-save does not check
15469 this in individual buffers, only in the starting buffer, so this
15470 is not the right way for us to inhibit auto-save in a buffer
15471 according to its condition.
15472
15473 (allout-mode): Use new allout-write-contents-hook-handler, and
15474 only with write-contents-functions. Remove auto-save provisions -
15475 they're implemented elsewhere.
15476
15477 (allout-before-change-handler): If undo is in progress, note that
15478 for attention of allout-post-command-business.
15479
15480 (allout-post-command-business): If the command we're following was
15481 an undo, check for change in the status of encrypted items and
15482 adjust auto-save inhibitions accordingly.
15483
15484 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15485 according to whether there are or aren't any plain-text topics
15486 pending encryption.
15487
2dcdbdd9 15488 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15489 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15490 if there are plain-text topics pending encryption.
13aa217b
KM
15491
15492 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15493 buffer-saved-size and some allout state to not inhibit auto-saves
15494 if there are no longer any plain-text topics pending encryption.
15495
0757af94
SM
15496 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15497 No longer provide for exemption of the current topic.
13aa217b 15498
ac89b32c
JL
154992011-07-04 Juri Linkov <juri@jurta.org>
15500
15501 Add 7z operations to delete and save changed members (bug#8968).
15502 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15503 New defcustoms.
15504 (archive-7z-write-file-member): New function.
15505 (archive-7z-summarize): Fix the number of dashes in the
15506 listing output.
15507
8fa39615
SM
155082011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15509
15510 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15511 (bug#8958).
15512
2f11b3f1
CY
155132011-07-04 Chong Yidong <cyd@stupidchicken.com>
15514
d66fef2b
CY
15515 * bindings.el: Ignore next-buffer and previous-buffer in
15516 minibuffer-local-map.
15517
2f11b3f1
CY
15518 * font-lock.el (font-lock-builtin-face): Change light background
15519 color to dark slate blue (Bug#6693).
15520
f932a347
WD
155212011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15522
15523 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15524
c8af70e1
SM
155252011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15526
15527 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15528 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15529 Add switch-to-buffer.
15530
f158badc
LMI
155312011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15532
15533 * isearch.el (isearch-search-fun-function): Clarify further the
15534 meaning of the function returned.
15535
6d95bd46
MA
155362011-07-04 Michael Albinus <michael.albinus@gmx.de>
15537
15538 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15539
15540 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15541 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15542 Use it.
15543 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15544 `tramp-default-remote-path' does not exist.
15545 (tramp-send-command-and-read): New optional argument NOERROR.
15546 (tramp-open-connection-setup-interactive-shell)
15547 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15548 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15549 (tramp-process-sentinel): Flush also process' connection property.
15550 (tramp-sh-handle-start-file-process): Do not set process
15551 sentinel. It is done now ...
15552 (tramp-maybe-open-connection): ... here. (Bug#8929)
15553
909e6b67
MK
155542011-07-04 MON KEY <monkey@sandpframing.com>
15555
15556 * play/animate.el (animate-string): Doc fixes and allow changing
15557 the buffer name (bug#5417).
15558
155592011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15560
c8af70e1 15561 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15562
f34755dc
PE
155632011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15564
396cec72
PE
15565 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15566 This is simpler and helps future-proof the code.
15567 (timer-until): Use time-subtract and float-time.
08235028 15568 (timer--time-less-p): Use time-less-p.
f34755dc 15569
56e6cc31
JB
155702011-07-04 Juanma Barranquero <lekktu@gmail.com>
15571
3abb79e5
JB
15572 * type-break.el (timep): Use the value of `float-time' to avoid a
15573 byte-compiler warning.
15574
56e6cc31
JB
15575 * server.el (server-eval-and-print): Return any result, even nil.
15576
7b9430b4
PE
155772011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15578
15579 * type-break.el: Accept time formats that the builtins accept.
15580 (timep, type-break-time-difference): Accept any format that
15581 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15582 This is simpler and helps future-proof the code.
15583 (type-break-time-difference): Round rather than ignoring
15584 subseconds components.
15585
3034e9e7
LMI
155862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15587
15588 * info.el (Info-apropos-matches): Make non-interactive, since it
15589 doesn't seem to do anything useful as a command (bug#8829).
15590
1485f4c0
CY
155912011-07-03 Chong Yidong <cyd@stupidchicken.com>
15592
15593 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15594 Move from faces.el.
1485f4c0
CY
15595 (frame-default-terminal-background): New function.
15596
15597 * custom.el (custom-push-theme): Don't record faces in `changed'
15598 theme; this doesn't work correctly for per-frame face settings.
15599 (disable-theme): Use face-set-after-frame-default to reset faces.
15600 (custom--frame-color-default): New function.
15601
9fa3dd45
LMI
156022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15603
c8af70e1 15604 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15605 (bug#8769).
15606
6cbbc20c
KR
156072011-03-29 Kevin Ryde <user42@zip.com.au>
15608
15609 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15610 `perl-Test2' extend to match possible "fail #N" rep count
15611 (bug#8377).
15612
c7f98048
LMI
156132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15614
65676592
LMI
15615 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15616 `smtpmail-via-smtp' now returns the error instead of nil.
15617
c7f98048
LMI
15618 * isearch.el (isearch-search-fun-function): Clarify the doc string
15619 (bug#8101).
15620
56e6cc31 156212011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15622
15623 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15624 unnecessary spaces (bug#8987).
15625
2b216704
LMI
156262011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15627
15628 * net/network-stream.el (open-network-stream): Use the
15629 :end-of-capability command thoughout.
15630
156312011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15632
15633 * net/network-stream.el (open-network-stream): Add the
15634 :end-of-capability command parameter, used by pop3.el.
15635
36adf6ce
LMI
156362011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15637
1ca0da0e
LMI
15638 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15639
fc00f69c
LMI
15640 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15641 for list)" (bug#6475).
15642
28fd8759 15643 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15644 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15645 an error (bug#6297).
15646
0dd8b6da
LMI
15647 * man.el (Man-reference-regexp): Allow matching possible
15648 word-wrapped references (bug#6289).
15649
ce1438d6
LMI
15650 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15651 for consistency with the other vc buffers (bug#6197).
15652 (vc-checkin): Ditto.
15653
15654 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15655
36adf6ce
LMI
15656 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15657
e83cc1f7
LMI
156582011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15659
8a20ca4c
LMI
15660 * custom.el (defcustom): Clarify that :set is only used in the
15661 Customize user interface (bug#6089).
15662
83319045
LMI
15663 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15664 associated with a file, refuse to run instead of erroring out
15665 (bug#6084).
15666
a8392169
LMI
15667 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15668 the doc string, since it appears that using `fill-column' always
15669 controls the width (bug#7845).
15670
e83cc1f7
LMI
15671 * simple.el (shell-command-on-region): Say where the error output
15672 went if `shell-command-default-error-buffer' is set (bug#6857).
15673
e47ca23b
KM
156742011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15675
15676 * allout.el (allout-yank-processing): Adjust cursor position for
15677 backwards-deleted space.
15678
15679 (allout-rebullet-heading): Register changes with
15680 allout-exposure-changed-hook, so the modified topic is properly
15681 decorated.
15682
5cf56143
LMI
156832011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15684
08549772
LMI
15685 * minibuffer.el (completion-in-region): Document PREDICATE
15686 (bug#7136).
15687
48e96771
LMI
15688 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15689 of keyword/argument pairs (bug#6904).
15690
c8af70e1
SM
15691 * replace.el (multi-occur):
15692 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15693
e17d05e2
LMI
156942011-07-02 Drew Adams <drew.adams@oracle.com>
15695
15696 * dired.el (dired-mark-if): Make the message about whether it's
15697 marking or unmarking clearer (bug#8523).
15698
063b0e45
LMI
156992011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15700
15701 * disp-table.el (display-table-print-array): New function.
15702 (describe-display-table): Use it to print the vectors more pretty
15703 (Bug#8859).
15704
28545e04
MR
157052011-07-02 Martin Rudalics <rudalics@gmx.at>
15706
15707 * window.el (window-state-get-1): Don't assign clone numbers.
15708 Add clone-of item to list of window parameters.
15709 (window-state-put-2): Don't process clone numbers.
15710 (display-buffer-alist): Fix doc-string.
15711
3349e122
SM
157122011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15713
15714 * subr.el (remq): Don't allocate if it's not needed.
15715 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15716 (keymap--merge-bindings): New functions.
15717 (keymap-canonicalize): Use them to refine the canonicalization.
15718 * minibuffer.el (minibuffer-local-completion-map)
15719 (minibuffer-local-must-match-map): Move initialization from C.
15720 (minibuffer-local-filename-completion-map): Move initialization from C;
15721 don't inherit from anything here.
15722 (minibuffer-local-filename-must-match-map): Make obsolete.
15723 (completing-read-default): Use make-composed-keymap to combine
15724 minibuffer-local-filename-completion-map with either
15725 minibuffer-local-must-match-map or
15726 minibuffer-local-filename-completion-map.
15727
d224ac83
GM
157282011-07-01 Glenn Morris <rgm@gnu.org>
15729
3de63bf8
GM
15730 * type-break.el (type-break-time-sum): Use dolist.
15731
d224ac83
GM
15732 * textmodes/flyspell.el (flyspell-word-search-backward):
15733 Replace CL function.
15734
1a1e3f32
SM
157352011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15736
fe3f64d5
SM
15737 * mouse.el (mouse--strip-first-event): New function.
15738 (function-key-map): Use it to map fringe clicks to normal clicks
15739 by default.
15740
eb604e34
SM
15741 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15742 (vc-bzr-revision-completion-table): Add support for annotate and date.
15743
1a1e3f32
SM
15744 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15745 inherit from parent.
15746
5bd35902
LMI
157472011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15748
ace6c69c 15749 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15750 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15751
191e2bed
LMI
15752 * dired.el (dired-mode): Fix up the doc string as suggested by
15753 Drew Adams (bug#8817).
15754
5bd35902
LMI
15755 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15756 cookie, since the manual says that it should be possible to add
15757 this function to `find-file-hook' (bug#8709).
15758
eee8207a
TZ
157592011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15760
15761 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15762 here. Noted Ted Zlatanov as the maintainer.
15763 (cfengine-common-settings, cfengine-common-syntax): New functions
15764 to set up common things between `cfengine-mode' and
15765 `cfengine3-mode'.
15766 (cfengine3-mode): New mode.
15767 (cfengine3-defuns cfengine3-defuns-regex
15768 (cfengine3-class-selector-regex cfengine3-category-regex)
15769 (cfengine3-vartypes cfengine3-font-lock-keywords)
15770 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15771 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15772
36b148cf
MA
157732011-07-01 Michael Albinus <michael.albinus@gmx.de>
15774
15775 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15776
15777 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15778
0bf4ba9a
MR
157792011-07-01 Martin Rudalics <rudalics@gmx.at>
15780
15781 * window.el (same-window-buffer-names, same-window-regexps)
15782 (same-window-p, special-display-frame-alist)
15783 (special-display-popup-frame, special-display-function)
15784 (special-display-buffer-names, special-display-regexps)
15785 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15786 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15787 (split-window-preferred-function, split-height-threshold)
15788 (split-width-threshold, even-window-heights)
15789 (display-buffer-mark-dedicated, window-splittable-p)
15790 (split-window-sensibly, window-safely-shrinkable-p):
15791 Un-obsolete.
15792 (display-buffer): Don't spread args with function specifier
15793 because special-display-popup-frame won't like it.
15794
35837f51
PE
157952011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15796
d0672f86
PE
15797 Time-stamp simplifications and fixes.
15798 These improve accuracy slightly, and future-proof the code
15799 against some potential changes to current-time format.
15800
b9444d97
PE
15801 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15802 by using time-since and float-time.
15803
0ef923dc
PE
15804 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15805 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15806 + NNN microseconds".
15807
2f81380d
PE
15808 * type-break.el (type-break-time-sum): Rewrite using time-add.
15809
845b5c3e
PE
15810 * play/hanoi.el (hanoi-current-time-float): Remove.
15811 All uses replaced by float-time.
15812
ee6f1be0
PE
15813 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15814 This yields a more-accurate answer.
15815 (rng-time-to-float): Remove; no longer needed.
15816
fe955043
PE
15817 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15818
5777162a
PE
15819 * calendar/timeclock.el (timeclock-seconds-to-time):
15820 Defalias to seconds-to-time, since they're the same thing.
15821
3103f8b6 15822 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15823 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15824 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15825
0e61a35f
SM
158262011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15827
15828 * window.el (bury-buffer): Don't iconify the only frame.
15829 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15830 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15831
ddd63a1e
CY
158322011-07-01 Chong Yidong <cyd@stupidchicken.com>
15833
0e61a35f
SM
15834 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15835 Add mouse-yank-primary.
ddd63a1e 15836
055f4923
TZ
158372011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15838
15839 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15840
6a2fb145
SM
158412011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15842
15843 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15844 (find-library-name): Use it to find relative load names when provided
15845 absolute file name (bug#8803).
15846
fd4983f2
LMI
158472011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15848
887d14ad
LMI
15849 * textmodes/flyspell.el (flyspell-word): Consider words that
15850 differ only in case as potential doublons (bug#5687).
15851
c53dc7fc
LMI
15852 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15853 Remove two rather uninteresting debugging-like messages to make
15854 debbugs.el more silent.
15855
fd4983f2
LMI
15856 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15857 a password-like phrase.
15858
7a71b18d 158592011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15860
15861 * progmodes/cc-guess.el: New file.
15862
6a2fb145 15863 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15864
15865 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15866 derived from `c-basic-common-init'.
15867
15868 * progmodes/cc-mode.el (top-level): Require cc-guess.
15869 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15870
1fa280a3
LM
158712011-06-30 Lawrence Mitchell <wence@gmx.li>
15872
15873 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15874
e6597158
AM
158752011-06-30 Alan Mackenzie <acm@muc.de>
15876
1fa280a3
LM
15877 * progmodes/cc-engine.el (c-guess-continued-construct):
15878 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
15879 lock is disabled. Name this case as "CASE G".
15880
68ba37fb
KM
158812011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15882
15883 * allout.el (allout-yank-processing): Fix injection of extra space
15884 between bullet and non-whitespace character in first topic when
15885 pasting, ensuring that the actual spacing in the pasted topic
15886 following the bullet char is preserved. This extra space was
15887 causing pasted encrypted topics to get a decrypted status even
15888 when the content was actually still encrypted. Now the decryption
15889 status from before the paste is preserved.
15890
15891 (allout-flag-region): Set all allout overlays so they evaporate
15892 when reduced to zero length (evanescent), to prevent overlay
15893 leakage.
15894
887a0b34
GM
158952011-06-30 Glenn Morris <rgm@gnu.org>
15896
94b9acce
GM
15897 * w32-fns.el (w32-charset-info-alist): Declare.
15898
1d9b46d4
GM
15899 * find-dired.el (find-grep-options): Simplify.
15900
cc232200
GM
15901 * term/ns-win.el (ns-set-resource): Declare.
15902
28e77c46
GM
15903 * ses.el (row, col): Declare dynamic variables honestly.
15904
887a0b34
GM
15905 * textmodes/reftex-parse.el (index-tags): Declare.
15906
658d8eb8
CY
159072011-06-30 Chong Yidong <cyd@stupidchicken.com>
15908
15909 * cus-edit.el (customize-push-and-save): New function.
15910
15911 * files.el (hack-local-variables-confirm): Use it.
15912
1fa280a3
LM
15913 * custom.el (load-theme): New arg NO-CONFIRM.
15914 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
15915 (custom-enabled-themes): Doc fix.
15916
15917 * cus-theme.el (customize-create-theme)
15918 (custom-theme-merge-theme): Callers to load-theme changed.
15919
bb617717
LMI
159202011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15921
d61bdd5d
LMI
15922 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15923 short URLs have at least one dot in them (bug #7614).
15924
bb617717
LMI
15925 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15926 nil, because using a pty is apparently too slow (bug #895).
15927
2f31f37a
LMI
159282011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15929
15930 * mail/sendmail.el (sendmail-query-once): New function.
15931 (sendmail-query-once-function): New variable.
15932
3076b24e
GM
159332011-06-29 Glenn Morris <rgm@gnu.org>
15934
faf2a174
GM
15935 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15936
3076b24e
GM
15937 * ses.el (top-level): Require cl when compiling.
15938 (ses-set-localvars): Fix error statement.
15939 Call it at compile time to silence a storm of warnings.
15940
5386012d
MR
159412011-06-29 Martin Rudalics <rudalics@gmx.at>
15942
15943 * window.el (normalize-live-buffer): Rename to
15944 window-normalize-buffer.
15945 (normalize-live-frame): Rename to window-normalize-frame.
15946 (normalize-any-window): Rename to window-normalize-any-window.
15947 (normalize-live-window): Rename to window-normalize-live-window.
15948 (make-window-atom): Rename to window-make-atom.
15949 (window-resize-reset): Rename to window--resize-reset.
15950 (window-resize-reset-1): Rename to window--resize-reset-1.
15951 (resize-mini-window): Rename to window--resize-mini-window.
15952 (resize-subwindows-skip-p): Rename to
15953 window--resize-subwindows-skip-p.
15954 (resize-subwindows-normal): Rename to
15955 window--resize-subwindows-normal.
15956 (resize-subwindows): Rename to window--resize-subwindows.
15957 (resize-other-windows): Rename to window--resize-siblings.
15958 (resize-this-window): Rename to window--resize-this-window.
15959 (resize-root-window): Rename to window--resize-root-window.
15960 (resize-root-window-vertically): Rename to
15961 window--resize-root-window-vertically.
15962 (normalize-buffer-to-display): Rename to
15963 window-normalize-buffer-to-display.
15964 (normalize-buffer-to-switch-to): Rename to
15965 window-normalize-buffer-to-switch-to.
15966 Correspondingly update all callers of the functions listed
15967 above.
15968 (display-buffer-alist, display-buffer-normalize-arguments)
15969 (display-buffer-normalize-options, display-buffer)
15970 (display-buffer-alist-set): Use "function" instead of
15971 "fun-with-args".
15972
1176868d
CY
159732011-06-28 Chong Yidong <cyd@stupidchicken.com>
15974
15975 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15976 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15977 debbugs.gnu.org. Mention acknowledgment email.
15978
20a7a65f
LMI
159792011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15980
15981 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15982 buffer multibyteness, since it shouldn't matter.
15983
5f45cca5
MR
159842011-06-28 Martin Rudalics <rudalics@gmx.at>
15985
15986 * window.el (display-buffer-in-side-window): Handle dedicated
15987 windows as in display-buffer-reuse-window.
15988 (display-buffer-normalize-alist): Use value of override
15989 specifier.
15990 (display-buffer-normalize-specifiers): Use value of
15991 other-window-means-other-frame specifier.
15992 (display-buffer-alist): Rewrite some texts in widgets.
15993 (display-buffer): Spread arguments when calling function
15994 specified by fun-with-args.
15995
ad85fe1f
DD
159962011-06-28 Deniz Dogan <deniz@dogan.se>
15997
1fa280a3
LM
15998 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15999 Unnest `let'.
da68c4c8 16000
ad85fe1f
DD
16001 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16002 selectors (Bug#5732).
ec49bd31 16003 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16004
a08cc025
JA
160052011-06-27 Jari Aalto <jari.aalto@cante.net>
16006
16007 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16008 (eshell-ls-date-format): New defcustom.
16009 (eshell-ls-file): Use it.
16010
e2b551c5
SM
160112011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16012
16013 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16014
8982b231
KY
160152011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16016
16017 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16018 (ange-ftp-make-tmp-name): New arg.
16019 (ange-ftp-file-local-copy): Use it.
16020
36c9fa27
J
160212011-06-27 Jambunathan K <kjambunathan@gmail.com>
16022
16023 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16024 no-conversion (Bug#8870).
16025
d68443dc
MR
160262011-06-27 Martin Rudalics <rudalics@gmx.at>
16027
16028 * window.el (window-right, window-left, window-child)
16029 (window-child-count, window-last-child)
16030 (window-iso-combination-p, walk-window-tree-1)
16031 (window-atom-check-1, window-tree-1, delete-window)
16032 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16033 new naming conventions - window-vchild, window-hchild,
16034 window-next and window-prev are now called window-top-child,
16035 window-left-child, window-next-sibling and window-prev-sibling
16036 respectively.
d615d6d2
MR
16037 (resize-window-reset): Rename to window-resize-reset.
16038 (resize-window-reset-1): Rename to window-resize-reset-1.
16039 (resize-window): Rename to window-resize.
16040 (window-min-height, window-min-width)
16041 (resize-mini-window, resize-this-window, resize-root-window)
16042 (resize-root-window-vertically, adjust-window-trailing-edge)
16043 (enlarge-window, shrink-window, maximize-window)
16044 (minimize-window, delete-window, quit-restore-window)
16045 (split-window, balance-windows, balance-windows-area-adjust)
16046 (balance-windows-area, window-state-put-2)
16047 (display-buffer-even-window-sizes, display-buffer-set-height)
16048 (display-buffer-set-width, set-window-text-height)
16049 (fit-window-to-buffer): Rename all "resize-window" prefixed
16050 calls to use the "window-resize" prefix convention.
16051 (display-buffer-alist): Fix symbol for label specifier.
16052 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16053 corresponding specifier.
16054 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16055
b6458526
VB
160562011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16057
16058 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16059 convention.
16060 (ses-call-printer): Does not pass an empty string to formatter when the
16061 cell is empty to keep from barking printer Calc math-format-value.
16062
d31fd9ac
RS
160632011-06-27 Richard Stallman <rms@gnu.org>
16064
43d5bf84
RS
16065 * battery.el (battery-mode-line-limit): New variable.
16066 (battery-update): Handle it.
16067
d31fd9ac
RS
16068 * mail/rmailmm.el (rmail-mime-process-multipart):
16069 Handle truncated messages.
16070
819a6054
GM
160712011-06-27 Glenn Morris <rgm@gnu.org>
16072
16073 * progmodes/flymake.el (flymake-err-line-patterns):
16074 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16075
cedc73f2
VB
160762011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16077
819a6054 16078 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16079 (ses--clean-!, ses--clean-_): New functions.
16080 (ses-range): Add configurability of readout order, and conversion
16081 to Calc vector.
16082
5e5d49b6
VB
16083 * ses.el (ses-repair-cell-reference-all): New function.
16084 (ses-cell-symbol): Set macro as safe, so that it can be used in
16085 formulas.
16086
56e6cc31 16087 * ses.el: Update cycle detection algorithm.
90ca8b49 16088 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16089 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16090 (ses-set-localvars): New function.
16091 (ses-make-cell): Add property-list as a cell element.
16092 (ses-cell-property-get-fun, ses-cell-property-get)
16093 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16094 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16095 New functions.
90ca8b49
VB
16096 (ses-cell-property-set, ses-cell-property-pop)
16097 (ses-cell-property-get-handle): New macro.
16098 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16099 New aliases, used for code readability.
16100 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16101 cycle detection.
16102 (ses-self-reference-early-detection): New defcustom.
fac916bf 16103 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16104 (ses-mode): Use ses-set-localvars.
16105 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16106 before lauching the update processing.
16107 (ses-initialize-Dijkstra-attempt): New function.
16108 (ses-recalculate-cell): Update for cycle detection based on
16109 Dijkstra algorithm.
16110
2bb63e81
VB
16111 * ses.el: Fix commenting and indenting convention.
16112
c9d29fb8
SM
161132011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16114
16115 * bs.el (bs-cycle-next): Complete last change.
16116
d8e4b68b
JB
161172011-06-27 Drew Adams <drew.adams@oracle.com>
16118
16119 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16120
40098786
LMI
161212011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16122
c9d29fb8
SM
16123 * net/network-stream.el (network-stream-open-starttls):
16124 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16125 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16126
40098786
LMI
16127 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16128 to binary to possibly avoid line encoding issues on Windows (among
16129 other things).
16130
468d09d4
LMI
161312011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16132
16133 * net/network-stream.el (open-network-stream): Return an :error
16134 saying what the problem was, if possible.
16135
16136 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16137 server.
16138
16139 * net/network-stream.el (network-stream-open-starttls): If we
16140 wanted to use STARTTLS, and the server offered it, but we weren't
16141 able to because we had no STARTTLS support, then close the connection.
16142 (open-network-stream): Return an :error element, if present.
16143
16f07dd7
CY
161442011-06-26 Chong Yidong <cyd@stupidchicken.com>
16145
88821ca0
CY
16146 * hl-line.el (hl-line-sticky-flag): Doc fix.
16147 (global-hl-line-sticky-flag): New option (Bug#8323).
16148 (global-hl-line-highlight): Obey it.
16149
16f07dd7
CY
16150 * vc/vc.el (vc-revert-show-diff): Default to t.
16151
6b5ccddf
KM
161522011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16153
c9d29fb8
SM
16154 * allout-widgets.el (allout-widgets-post-command-business):
16155 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16156 undecorated when an isearch is continued past, and isearch
16157 automatically collapses them. This leads to "widget leaks", where
16158 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16159 hidden widgets can slow down cursor travel, substantially.
16160 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16161 so we're doing without this nicety.
16162
16163 (allout-widgets-tally-string): Don't try to do a hash-table-count
16164 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16165 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16166 *Messages* when allout-widgets-maintain-tally is t.
16167
355f2e07
MR
161682011-06-26 Martin Rudalics <rudalics@gmx.at>
16169
16170 * window.el (display-buffer-normalize-argument): Rename to
16171 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16172 LABEL argument. Respect special-display-function when popping up
16173 a new frame. Fix code searching for a window showing the buffer
16174 on another frame.
c9d29fb8
SM
16175 (display-buffer-normalize-specifiers):
16176 Call display-buffer-normalize-arguments.
355f2e07
MR
16177 (display-buffer-in-window): Don't undedicate the window if its
16178 buffer remains the same.
16179 Reported by Drew Adams <drew.adams@oracle.com>.
16180 (display-buffer-alist): Add choice for same-window macro
16181 specfier.
16182 (display-buffer): Mention special meaning of LABEL argument in
16183 doc-string. Fix quoting. Don't pop up a new frame even as
16184 fallback.
16185
7ca8fc42
JB
161862011-06-26 Juanma Barranquero <lekktu@gmail.com>
16187
16188 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16189 avoid deleting the current window in some cases (bug#8911).
16190
bc312254
AS
161912011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16192
16193 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16194 (Bug#8934)
16195
2db18f3f
LMI
161962011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16197
c9d29fb8
SM
16198 * net/network-stream.el (network-stream-open-starttls):
16199 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16200 (network-stream-open-tls): Ditto.
16201
6302e0d3
LL
162022011-06-26 Leo Liu <sdl.web@gmail.com>
16203
16204 * register.el (registerv): New struct.
16205 (registerv-make): New function.
c9d29fb8
SM
16206 (jump-to-register, describe-register-1, insert-register):
16207 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16208 struct. (Bug#8415)
16209
5fdd4046
CY
162102011-06-26 Chong Yidong <cyd@stupidchicken.com>
16211
2afef60a
CY
16212 * vc/vc.el (vc-revert-show-diff): New defcustom.
16213 (vc-diff-internal): New arg specifying diff buffer.
16214 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16215 reuse an existing *vc-diff* buffer (Bug#8927).
16216
5fdd4046
CY
16217 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16218
e93db24a
GM
162192011-06-26 Glenn Morris <rgm@gnu.org>
16220
16221 * progmodes/f90.el (f90-critical-indent): New option.
16222 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16223 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16224 (f90-mode): Doc fix.
16225 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16226 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16227 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16228 (f90-match-end): Handle block, critical.
16229
eefff499
GM
162302011-06-25 Glenn Morris <rgm@gnu.org>
16231
f6ba4cc9
GM
16232 * calendar/diary-lib.el (diary-included-files): Doc fix.
16233 (diary-include-files): New function, extracted from
16234 diary-include-other-diary-files and diary-mark-included-diary-files.
16235 (diary-include-other-diary-files, diary-mark-included-diary-files):
16236 Just call diary-include-files.
16237 (diary-mark-entries): Reset diary-included-files on first call.
16238
16712304
GM
16239 * calendar/diary-lib.el (diary-mark-entries)
16240 (diary-mark-included-diary-files):
16241 Visit included diary-files in temp buffers.
16242
5d8e0d43
GM
16243 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16244 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16245 (f90-start-block-re, f90-imenu-generic-expression)
16246 (f90-looking-at-program-block-start, f90-no-block-limit):
16247 Add support for submodules.
16248
ccf7a5d5
GM
16249 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16250 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16251
11fdef7d 162522011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16253
16254 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16255 buffer-file-type before setting its value, to avoid disastrous
eefff499 16256 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16257
74f53697
JB
162582011-06-25 Juanma Barranquero <lekktu@gmail.com>
16259
16260 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16261
16262 * ses.el (ses-unload-function):
16263 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16264
16265 * proced.el (proced-unload-function):
16266 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16267
18a4ce5e
AR
162682011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16269
16270 * server.el (server-create-window-system-frame): Add parameters arg.
16271 (server-process-filter): Doc fix. Handle frame-parameters.
16272
519d22cc
JB
162732011-06-25 Juanma Barranquero <lekktu@gmail.com>
16274
16275 Fix bug#8730, bug#8781.
16276
16277 * loadhist.el (unload--set-major-mode): New function.
16278 (unload-feature): Use it.
16279
16280 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16281 (python-unload-function): New function.
16282
c206f5b0
SM
162832011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16284
16285 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16286
f9ad64f3
GS
162872011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16288
16289 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16290 the candidates list.
16291
7d0da90e
JB
162922011-06-24 Juanma Barranquero <lekktu@gmail.com>
16293
16294 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16295
14b4e83d
RS
162962011-06-23 Richard Stallman <rms@gnu.org>
16297
16298 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16299 (rmail-variables): Set next-error-move-function.
16300 (rmail-what-message): Take argument POS.
16301 (rmail-next-error-move): New function.
16302
273d2baf
SM
163032011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16304
16305 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16306 messages for adjacent non-terminals.
16307
56c2cc9a
RS
163082011-06-23 Richard Stallman <rms@gnu.org>
16309
16310 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16311 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16312 (rmail-start-mail): Don't specify use of rmail-mail-return;
16313 that's done by mail-bury now.
16314 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16315
d59eb518
MA
163162011-06-23 Michael Albinus <michael.albinus@gmx.de>
16317
16318 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16319 SIZE is a number.
16320
02cfc6d6
MR
163212011-06-23 Martin Rudalics <rudalics@gmx.at>
16322
16323 * window.el (get-lru-window, get-mru-window)
16324 (get-largest-window): Never return a minibuffer window.
16325 (display-buffer-pop-up-window): Fix a bug that could lead to
16326 reusing the minibuffer window.
16327 (display-buffer): Pass original specifier argument to
16328 display-buffer-function instead of the normalized one.
16329 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16330
4e323265
LL
163312011-06-22 Leo Liu <sdl.web@gmail.com>
16332
16333 * minibuffer.el (completing-read-function)
16334 (completing-read-default): Move from minibuf.c
16335
7a70468f
RS
163362011-06-22 Richard Stallman <rms@gnu.org>
16337
50718fc2
RS
16338 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16339 to Rmail even if not started by a special Rmail command.
16340
7a70468f
RS
16341 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16342 Copy the buffer currently showing just one message.
16343
297dde5a
RW
163442011-06-22 Roland Winkler <winkler@gnu.org>
16345
16346 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16347 (bibtex-clean-entry): First delete the old key so that a
16348 customized algorithm for generating the new key does not get
16349 confused by the old key.
16350 (bibtex-url): Obey regexp of first step.
16351 (bibtex-search-entries): Do not use add-to-list with local
16352 list-var.
16353
97bb1093
LMI
163542011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16355
16356 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16357 stored a user name, then query for the password first, instead of
16358 waiting for SMTP to give an error message and the trying again.
16359
1c0f1a19
JD
163602011-06-22 Lawrence Mitchell <wence@gmx.li>
16361
16362 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16363 BUFFER in call-process.
16364
396f7c9d
LMI
163652011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16366
16367 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16368 QUIT twice.
ddb7ffee
LMI
16369 (smtpmail-try-auth-methods): Require user name and password from
16370 auth-source.
396f7c9d 16371
8998d1b3
MR
163722011-06-22 Martin Rudalics <rudalics@gmx.at>
16373
16374 * window.el (display-buffer-default-specifiers)
16375 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16376 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16377 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16378
16379 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16380 (special-display-frame-alist, special-display-popup-frame):
16381 Remove duplicate declarations. These are now in window.el.
16382
4ea31e07
LMI
163832011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16384
c9d29fb8
SM
16385 * mail/smtpmail.el (smtpmail-via-smtp):
16386 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16387 server supports it. SMTP servers that support STARTTLS commonly
16388 require it.
16389
16390 * net/network-stream.el (network-stream-open-starttls): Support
16391 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16392 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16393
95f41d9a
LMI
16394 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16395 upgrades with `open-network-stream', and rely solely on
16396 auth-source for all credentials. Big changes throughout the file,
16397 but in particular:
c9d29fb8
SM
16398 (smtpmail-auth-credentials): Remove.
16399 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16400 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16401 MAIL FROM, too.
95f41d9a 16402
c9d29fb8
SM
16403 * net/network-stream.el (network-stream-open-starttls):
16404 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16405 STARTTLS.
16406 (auth-source): Require.
16407 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16408 (network-stream-certificate): Change cert-cert to cert and
16409 cert-key to key.
4ea31e07 16410
065ec2c7
MA
164112011-06-21 Michael Albinus <michael.albinus@gmx.de>
16412
16413 * net/tramp-cache.el (top): Don't load the persistency file when
16414 "emacs -Q" has been called.
16415
cd93b359
DR
164162011-06-21 Tim Harper <timcharper@gmail.com>
16417
d8e4b68b
JB
16418 * term/ns-win.el (ns-initialize-window-system):
16419 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16420 resource to NO as it is not yet supported by the NS port.
16421
ae9c0411
JB
164222011-06-21 Juanma Barranquero <lekktu@gmail.com>
16423
16424 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16425 (list-dynamic-libraries): ...not here.
16426
7f3f739f
LL
164272011-06-21 Leo Liu <sdl.web@gmail.com>
16428
16429 * subr.el (sha1): Implement sha1 using secure-hash.
16430
327c8fb1
MR
164312011-06-21 Martin Rudalics <rudalics@gmx.at>
16432
16433 * window.el (display-buffer-alist): In default value do not
16434 enforce searching a window on any but the selected frame.
16435 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16436 (display-buffer-select-window): Remove function.
16437 (display-buffer-in-window): When a window on another frame gets
16438 reused, do not select it any more but just raise its frame if
16439 necessary (Bug#8851) and (Bug#8856).
16440 (display-buffer-normalize-options): Handle pop-up-frames related
16441 options more faithfully.
16442 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16443 window if it is on another frame.
c9d29fb8
SM
16444 (display-buffer-alist, display-buffer-default-specifiers):
16445 Don't make new frame unsplittable by default.
9e9de014
MR
16446 (display-buffer-normalize-argument): Fix doc-string typo and use
16447 'same-frame-other-window instead of 'other-window when associating
16448 with display-buffer-macro-specifiers.
327c8fb1 16449
7cf3f556
VB
164502011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16451
16452 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16453 New functions.
16454 (5x5-mode-map, 5x5-mode-menu): Bind them.
16455 (5x5-draw-grid): Tweak the solver's rendering.
16456
60a406cf
SM
164572011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16458
16459 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16460 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16461
d8e4b68b 164622011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16463
16464 * menu-bar.el: Use function variable instead of switch-to-buffer.
16465 (menu-bar-select-buffer-function): New variable.
60a406cf 16466 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16467
478d6f95
SM
164682011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16469
16470 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16471 variable's status.
16472
ca530739
JD
164732011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16474
16475 * x-dnd.el (x-dnd-version-from-flags)
16476 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16477 and long as number (Bug#8899).
16478 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16479
bcd70d97
SM
164802011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16481
60a406cf 16482 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16483 (completion-try-completion, completion-all-completions): Compute the
16484 metadata argument if it's missing; make it optional (bug#8795).
16485
60a406cf 16486 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16487 (widget-complete): Use new :completion-function property.
16488 (widget-completions-at-point): New function.
16489 (default): Use :completion-function instead of :complete.
60a406cf
SM
16490 (widget-default-completions): Rename from widget-default-complete;
16491 Rewrite.
bcd70d97
SM
16492 (widget-string-complete, widget-file-complete, widget-color-complete):
16493 Remove functions.
16494 (file, symbol, function, variable, coding-system, color):
16495 * international/mule-cmds.el (default-input-method, charset)
16496 (language-info-custom-alist):
16497 * cus-edit.el (face): Use new property :completions.
16498
16499 * progmodes/pascal.el (pascal-completions-at-point): New function.
16500 (pascal-mode): Use it.
16501 (pascal-mode-map): Use completion-at-point.
16502 (pascal-toggle-completions): Make obsolete.
16503 (pascal-complete-word, pascal-show-completions):
16504 * progmodes/octave-mod.el (octave-complete-symbol):
16505 Redefine as obsolete alias.
16506 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16507 Signal absence of completion info for old Octave,
16508 (inferior-octave-complete): Redefine as obsolete alias.
16509 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16510 (meta-completions-at-point): Rename from meta-complete-symbol and
16511 adapt it for use on completion-at-point-functions.
16512 (meta-common-mode): Use it.
16513 (meta-looking-at-backward, meta-match-buffer): Remove.
16514 (meta-complete-symbol): Redefine as obsolete alias.
16515 (meta-common-mode-map): Use completion-at-point.
16516 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16517 (makefile-mode-map): Use completion-at-point.
16518 (makefile-completions-at-point): Rename from makefile-complete and
16519 adapt it for use on completion-at-point-functions.
16520 (makefile-mode): Use it.
16521 (makefile-complete): Redefine as obsolete alias.
16522
aebf69c8
DD
165232011-06-20 Deniz Dogan <deniz@dogan.se>
16524
16525 * net/rcirc.el: Delete trailing whitespaces once and for all.
16526
bfbbb27d
DC
165272011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16528
16529 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16530
d264a46b
CY
165312011-06-19 Chong Yidong <cyd@stupidchicken.com>
16532
4ca009e5
CY
16533 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16534
d264a46b
CY
16535 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16536
fbf5b3ce
MR
165372011-06-19 Martin Rudalics <rudalics@gmx.at>
16538
16539 * window.el (display-buffer-other-window-means-other-frame):
16540 Call display-buffer-normalize-alist.
16541 (display-buffer-normalize-specifiers-1): Rename to
16542 display-buffer-normalize-argument. New argument other-frame.
16543 Rewrite.
16544 (display-buffer-normalize-specifiers-2): Rename to
16545 display-buffer-normalize-options.
16546 (display-buffer-normalize-alist-1): New function.
16547 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16548 display-buffer-normalize-alist.
16549 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16550 (display-buffer-normalize-options-inhibit): New variable.
16551 (display-buffer-normalize-specifiers): Rewrite calling
16552 display-buffer-normalize-alist,
16553 display-buffer-normalize-argument, and
16554 display-buffer-normalize-options. Don't call the latter if
16555 display-buffer-normalize-options-inhibit is non-nil.
16556 (frame-auto-delete): New option.
16557 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16558 (window-list-no-nils, window-state-ignored-parameters)
16559 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16560 (window-state-put-1, window-state-put-2, window-state-put):
16561 New functions.
9a028c23
MR
16562 (display-buffer-normalize-options): Move special-display-p group
16563 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16564
6d10d800
CY
165652011-06-18 Chong Yidong <cyd@stupidchicken.com>
16566
6420d28b
CY
16567 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16568 groups (Bug#8776).
16569 (rx-submatch-n): New function.
16570 (rx): Document it.
16571
ddb8b596
CY
16572 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16573 (Bug#8768).
16574
16575 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16576
77080289
CY
16577 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16578
61dfb316
CY
16579 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16580 anytime existing face settings are present (Bug#8889).
16581
6d10d800
CY
16582 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16583 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16584 Remove unused argument.
16585
be3fb2b8
MR
165862011-06-18 Martin Rudalics <rudalics@gmx.at>
16587
bcd70d97
SM
16588 * window.el (display-buffer-default-specifiers):
16589 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16590 pop-up-window-min-width, and another reuse-window specifier
16591 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16592 (display-buffer-normalize-specifiers-2):
16593 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16594 pop-up-windows is unset. Add a reuse-window specifier for the
16595 case popping up a new window fails.
16596 (special-display-popup-frame): Remove double quoting.
28dec25a 16597 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16598
1c6d8c76
SM
165992011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16600
16601 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16602 according to comint-completion-addsuffix.
16603
16604 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16605 (pcomplete-suffix-list): Mark as obsolete.
16606 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16607 pcomplete-seen in the closure.
16608 (pcomplete-comint-setup): Setup completion-at-point as well.
16609 (pcomplete--entries): New function.
16610 (pcomplete--env-regexp): New var.
16611 (pcomplete-entries): Rewrite to work with partial-completion and
16612 without relying on pcomplete-suffix-list.
16613 (pcomplete-pare-list): Remove, unused.
16614
25aef8b8
MR
166152011-06-17 Martin Rudalics <rudalics@gmx.at>
16616
16617 * window.el (display-buffer-alist): Set pop-up-window-min-height
16618 and pop-up-window-min-width in default value. Reported by
16619 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16620 other-window-means-other-frame.
16621 (display-buffer-macro-specifiers): Comment out entry for
16622 other-window specifier.
16623 (display-buffer-other-window-means-other-frame): New function.
16624 (display-buffer-normalize-specifiers-1): New arguments
16625 buffer-name and label. Treat other-window case specially.
16626 (display-buffer-normalize-specifiers-2): Treat other-window case
16627 specially.
16628 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16629 (display-buffer-normalize-specifiers):
16630 Call display-buffer-normalize-specifiers-3.
25aef8b8 16631
dbad4f69
MR
166322011-06-17 Martin Rudalics <rudalics@gmx.at>
16633
16634 * window.el (same-window-p): Fix two typos introduced when
16635 adding with-no-warnings.
d1067961
MR
16636 (display-buffer-normalize-specifiers-1): Don't check
16637 pop-up-frames for 'unset initialization.
16638 (display-buffer-normalize-specifiers-2): Major rewrite using
16639 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16640 (pop-up-frames, display-buffer-reuse-frames)
16641 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16642 Suggested by David Engster <deng@randomsample.de>.
16643 (even-window-heights): Initialize to 'unset.
16644 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16645 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16646 other window case.
dbad4f69 16647
9b9c9e3a
MR
166482011-06-16 Martin Rudalics <rudalics@gmx.at>
16649
bcd70d97
SM
16650 * window.el (display-buffer-normalize-specifiers-1):
16651 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16652 second argument of display-buffer (Bug#8865).
981d5c09
MR
16653 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16654 (switch-to-buffer-other-window-same-frame)
16655 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16656 Adams (Bug#8875).
9c2755e9
MR
16657 (display-buffer): Don't check noninteractive when calling
16658 display-buffer-pop-up-frame.
16659 (display-buffer-pop-up-frame): Never pop up a frame in
16660 noninteractive mode (Bug#8857).
67222e1d
MR
16661 (enlarge-window, shrink-window): Don't report an error when the
16662 window can't be resized as requested (Bug#8862).
9b9c9e3a 16663
2b75be67
SM
166642011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16665
9ffdd3ba
SM
16666 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16667
cb581a67
SM
16668 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16669
2b75be67
SM
16670 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16671
8c0e3589
AM
166722011-06-15 Alan Mackenzie <acm@muc.de>
16673
cb581a67
SM
16674 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16675 for declarators, disable knr checking to speed up for normal files.
16676 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16677
b96e6cde
LMI
166782011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16679
4bba86e6
LMI
16680 * net/network-stream.el (open-network-stream): Add the keyword
16681 :always-query-capabilities for the case where you want to force a
16682 `plain' network connection, but the protocol still requires the
16683 capabilitiy command (i.e., SMTP and EHLO).
16684
2b75be67 16685 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16686 consistency with other `-live-p' functions.
16687
efdcdbf8
SM
166882011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16689
16690 * window.el (same-window-buffer-names, same-window-regexps)
16691 (special-display-frame-alist, special-display-popup-frame)
16692 (special-display-function, special-display-buffer-names)
16693 (special-display-regexps, pop-up-frame-alist)
16694 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16695 (pop-up-windows, split-window-preferred-function)
16696 (split-height-threshold, split-width-threshold, even-window-heights)
16697 (display-buffer-mark-dedicated): Don't encourage the use of
16698 display-buffer-alist from Elisp code.
16699
c5cde042
DN
167002011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16701
16702 * progmodes/python.el (python-mode): Derive from prog-mode.
16703 * progmodes/ps-mode.el (ps-mode):
16704 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16705 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16706 * progmodes/ld-script.el (ld-script-mode): Likewise.
16707
baa1c9ab
MR
167082011-06-15 Martin Rudalics <rudalics@gmx.at>
16709
16710 * window.el (display-buffer-alist): Trim default value to avoid
16711 popping up a new frame (Bug#8857) or reusing an arbitrary window
16712 on another frame.
16713 (display-buffer): Do not fall back on popping up a new frame in
16714 batch mode (Bug#8857).
16715
c5dd5a51
CY
167162011-06-14 Chong Yidong <cyd@stupidchicken.com>
16717
16718 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16719 (custom-theme-summary): New function.
16720 (customize-themes): Use it.
16721
d647b7c4
GM
167222011-06-13 Glenn Morris <rgm@gnu.org>
16723
16724 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16725
9481c002
MR
167262011-06-13 Martin Rudalics <rudalics@gmx.at>
16727
357f93d2
MR
16728 * help.el (help-window): Remove variable.
16729 (help-window-point-marker, temp-buffer-max-height)
16730 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16731 (help-print-return-message): Don't set help-window.
16732 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16733 (help-window-setup-finish): Remove.
16734 (help-window-display-message, help-window-setup)
16735 (with-help-window): Major rewrite based on new
16736 display-buffer-window variable.
16737
16738 * help-mode.el (help-mode-finish): Remove help-window related
16739 code.
16740
16741 * view.el (view-exits-all-viewing-windows): Remove reference to
16742 view-return-to-alist in doc-string.
16743 (view-return-to-alist): Make obsolete.
16744 (view-buffer): Call pop-to-buffer-same-window and remove
16745 undo-window code.
16746 (view-buffer-other-window): Call pop-to-buffer-other-window and
16747 simplify code. Ignore second argument.
16748 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16749 simplify code. Ignore second argument.
16750 (view-return-to-alist-update): Make obsolete.
16751 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16752 Rewrite using quit-restore window parameters.
2b75be67
SM
16753 (view-mode-exit): Rename second argument to EXIT-ONLY.
16754 Rewrite using quit-restore-window.
357f93d2
MR
16755 (View-exit, View-exit-and-edit, View-leave, View-quit)
16756 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16757 appropriate arguments.
16758 (view-end-message): Use quit-restore window parameter.
16759
9481c002
MR
16760 * window.el (display-buffer-function): Rewrite doc-string.
16761 (display-buffer-window, display-buffer-alist): New variables.
16762 (display-buffer-split-specifiers)
16763 (display-buffer-side-specifiers)
16764 (display-buffer-macro-specifiers): New constants.
16765 (display-buffer-even-window-sizes, display-buffer-set-height)
16766 (display-buffer-set-width, display-buffer-select-window)
16767 (display-buffer-in-window, display-buffer-reuse-window)
16768 (display-buffer-split-window-1, display-buffer-split-window)
16769 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16770 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16771 (display-buffer-in-side-window, normalize-buffer-to-display)
16772 (display-buffer-normalize-specifiers-1)
16773 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16774 (display-buffer-normalize-specifiers, display-buffer-frame):
16775 New functions.
9481c002
MR
16776 (display-buffer): Major rewrite.
16777 (display-buffer-other-window, display-buffer-other-frame)
16778 (pop-to-buffer, switch-to-buffer-other-window)
16779 (switch-to-buffer-other-frame): Rewrite.
16780 (display-buffer-same-window, display-buffer-same-frame)
16781 (display-buffer-same-frame-other-window)
16782 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16783 (pop-to-buffer-other-window)
16784 (pop-to-buffer-same-frame-other-window)
16785 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16786 (switch-to-buffer-other-window-same-frame): New functions.
16787 (same-window-p, special-display-p): Rewrite disabling warnings.
16788 Make obsolete.
16789 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16790 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16791 Make obsolete
16792 (same-window-buffer-names, same-window-regexps)
16793 (special-display-frame-alist, special-display-popup-frame)
16794 (special-display-function, special-display-buffer-names)
16795 (special-display-regexps, pop-up-frame-alist)
16796 (pop-up-frame-function, split-window-preferred-function)
16797 (split-height-threshold, split-width-threshold)
16798 (even-window-heights): Make obsolete.
16799
9db51aca
GM
168002011-06-12 Glenn Morris <rgm@gnu.org>
16801
16802 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16803 Misc simplifications.
9db51aca 16804
39cffb44
MR
168052011-06-12 Martin Rudalics <rudalics@gmx.at>
16806
16807 * window.el (window-safely-shrinkable-p): Restore function which
16808 was inadvertently removed in change from 2011-06-11. Declare as
16809 obsolete.
16810
2b75be67
SM
16811 * calendar/calendar.el (calendar-generate-window):
16812 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16813 window-safely-shrinkable-p.
16814
a8955be7
GM
168152011-06-12 Glenn Morris <rgm@gnu.org>
16816
16817 * progmodes/fortran.el (fortran-mode-syntax-table):
16818 * progmodes/f90.el (f90-mode-syntax-table):
16819 Set % to punctuation. (Bug#8820)
16820 (f90-find-tag-default): Remove, no longer needed.
16821
f0d4059d
DC
168222011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16823
16824 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16825
1100a63c
CY
168262011-06-11 Chong Yidong <cyd@stupidchicken.com>
16827
16828 * image.el (image-animated-p): Return animation delay in seconds.
16829 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16830 (image-animate-timeout): Remove DELAY argument. Don't assume
16831 every subimage has the same delay; get it from image-animated-p.
16832 (image-animate): Caller changed.
16833
def722bf
MA
168342011-06-11 Michael Albinus <michael.albinus@gmx.de>
16835
16836 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16837 to ignored backtrace functions.
16838
0a2bb1a9
GM
168392011-06-11 Glenn Morris <rgm@gnu.org>
16840
16841 * calendar/appt.el (appt-disp-window-function): Doc fix.
16842 (appt-check): Handle overlapping appointments. (Bug#8337)
16843
6198ccd0
MR
168442011-06-11 Martin Rudalics <rudalics@gmx.at>
16845
16846 * window.el (window-tree-1, window-tree): New functions, moving
16847 the latter to window.el.
16848 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16849 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16850 (bw-refresh-edges): Remove.
16851 (balance-windows-1, balance-windows-2): New functions.
16852 (balance-windows): Rewrite in terms of window tree functions,
16853 balance-windows-1 and balance-windows-2.
16854 (bw-adjust-window): Remove.
16855 (balance-windows-area-adjust): New function with functionality of
16856 bw-adjust-window but using resize-window.
2b75be67
SM
16857 (set-window-text-height): Rewrite doc-string.
16858 Use normalize-live-window and resize-window.
16859 (enlarge-window-horizontally, shrink-window-horizontally):
16860 Rename argument to DELTA.
6198ccd0
MR
16861 (window-buffer-height): New function.
16862 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16863 Rewrite using new window resize routines.
2b75be67
SM
16864 (kill-buffer-and-window, mouse-autoselect-window-select):
16865 Use ignore-errors instead of condition-case.
6198ccd0
MR
16866 (quit-window): Call delete-frame instead of delete-windows-on
16867 for the only buffer on frame.
16868
9397e56f
MR
168692011-06-10 Martin Rudalics <rudalics@gmx.at>
16870
16871 * loadup.el (top-level): Load window before files for the sake
16872 of replace-buffer-in-windows.
16873
16874 * files.el (read-buffer-to-switch)
16875 (switch-to-buffer-other-window)
2b75be67
SM
16876 (switch-to-buffer-other-frame, display-buffer-other-frame):
16877 Move to window.el.
9397e56f
MR
16878
16879 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16880 (previous-buffer): Move to window.el.
16881
16882 * bindings.el (unbury-buffer): Move to window.el.
16883
16884 * window.el (delete-other-windows-vertically): Move after
16885 definition of delete-other-windows.
16886 (other-window, delete-windows-on, replace-buffer-in-windows):
16887 Move here from window.c.
16888 (record-window-buffer, unrecord-window-buffer)
16889 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16890 (switch-to-next-buffer): New functions.
16891 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16892 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
16893 (previous-buffer): Move here from simple.el.
16894 Call switch-to-prev-buffer.
9397e56f
MR
16895 (bury-buffer): Move here from buffer.c. Switch to previous
16896 buffer when window cannot be deleted.
16897 (unbury-buffer): Move here from bindings.el.
16898 (ctl-x-map): Move binding for other-window from window.c to
16899 here.
16900 (read-buffer-to-switch, switch-to-buffer-other-window)
16901 (switch-to-buffer-other-frame): Move here from files.el.
16902 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
16903 (switch-to-buffer): Move here from buffer.c.
16904 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 16905
562dd5e9
MR
169062011-06-10 Martin Rudalics <rudalics@gmx.at>
16907
16908 * window.el (window-min-height, window-min-width): Move here
16909 from window.c. Add defcustoms and rewrite doc-strings.
16910 (resize-mini-window, resize-window): New functions.
16911 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16912 Move here from window.c.
16913 (maximize-window, minimize-window): New functions.
16914 (delete-window, delete-other-windows, split-window): Move here
16915 from window.c.
16916 (window-split-min-size): New function.
16917 (split-window-keep-point): Mention split-window-above-each-other
16918 instead of split-window-vertically.
2b75be67 16919 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
16920 Rename split-window-vertically to split-window-above-each-other
16921 and provide defalias for old definition.
16922 (split-window-side-by-side, split-window-horizontally):
16923 Rename split-window-horizontally to split-window-side-by-side
16924 and provide defalias for the old definition.
562dd5e9
MR
16925 (ctl-x-map): Move bindings for delete-window,
16926 delete-other-windows and enlarge-window here from window.c.
16927 Replace bindings for split-window-vertically and
16928 split-window-horizontally by bindings for
16929 split-window-above-each-other and split-window-side-by-side.
16930
16931 * cus-start.el (all): Remove entries for window-min-height and
16932 window-min-width. Add entries for window-splits and
16933 window-nest.
16934
f0da764a
GM
169352011-06-09 Glenn Morris <rgm@gnu.org>
16936
80675c21
GM
16937 * calendar/appt.el (appt-mode-line): New function.
16938 (appt-check, appt-disp-window): Use it.
16939
f0da764a
GM
16940 * files.el (hack-one-local-variable-eval-safep):
16941 Allow minor-modes with explicit +/-1 arguments.
16942
59f623b7
TZ
169432011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16944
16945 * term/xterm.el (xterm): Add defgroup.
16946 (xterm-extra-capabilities): Add defcustom to supply known xterm
16947 capabilities, skip querying them, or query them (default).
16948 (terminal-init-xterm): Use it.
16949 (terminal-init-xterm-modify-other-keys): New function to set up
16950 modifyOtherKeys support to simplify `terminal-init-xterm'.
16951
9aab8e0d
MR
169522011-06-09 Martin Rudalics <rudalics@gmx.at>
16953
16954 * window.el (resize-window-reset, resize-window-reset-1)
16955 (resize-subwindows-skip-p, resize-subwindows-normal)
16956 (resize-subwindows, resize-other-windows, resize-this-window)
16957 (resize-root-window, resize-root-window-vertically)
16958 (window-deletable-p, window-or-subwindow-p)
16959 (frame-root-window-p): New functions.
16960
e8b08aee
GM
169612011-06-09 Glenn Morris <rgm@gnu.org>
16962
16963 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16964 (ange-ftp-get-files): Use it.
16965
254c37a5
AK
169662011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16967
16968 * mail/sendmail.el (mail-recover-1, mail-recover):
16969 * files.el (recover-file, recover-session):
16970 Handle dired-listing-switches not being just a single short option.
16971
35d7dbd3
GM
169722011-06-09 Glenn Morris <rgm@gnu.org>
16973
16974 * calendar/appt.el (appt-display-message, appt-disp-window):
16975 Handle lists of appointments.
16976
387522b2
MR
169772011-06-08 Martin Rudalics <rudalics@gmx.at>
16978
2b75be67
SM
16979 * window.el (one-window-p): Move down in code.
16980 Rewrite doc-string.
16981 (window-current-scroll-bars): Rewrite doc-string.
16982 Normalize live window argument.
387522b2
MR
16983 (walk-windows, get-window-with-predicate, count-windows):
16984 Rewrite doc-string. Use window-list-1.
16985 (window-in-direction-2, window-in-direction, get-mru-window):
16986 New functions.
16987
d8e4b68b 169882011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
16989
16990 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16991 Doc fix (Bug#8713).
16992
169932011-06-08 Chong Yidong <cyd@stupidchicken.com>
16994
16995 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16996
169972011-06-08 Juanma Barranquero <lekktu@gmail.com>
16998
16999 * loadhist.el (unload-feature-special-hooks):
17000 Add `comint-output-filter-functions'.
17001
0de12c52
IK
170022011-06-08 Ivan Kanis <gnu@kanis.fr>
17003
17004 * calendar/appt.el (appt-check): Move some initializations into the let.
17005
f3d1777e
MR
170062011-06-08 Martin Rudalics <rudalics@gmx.at>
17007
17008 * window.el (window-height): Defalias to window-total-height.
17009 (window-width): Defalias to window-body-width.
17010
18af70d0
CY
170112011-06-07 Chong Yidong <cyd@stupidchicken.com>
17012
17013 * image-mode.el (image-toggle-animation): New command.
17014 (image-mode-map): Bind it to RET.
17015 (image-mode): Update message.
17016 (image-toggle-display-image): Avoid a spurious cache flush.
17017 (image-transform-rotation): Doc fix.
17018 (image-transform-properties): Return quickly in the normal case.
17019 (image-animate-loop): Rename from image-animate-max-time.
17020
2b75be67 17021 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17022 (create-animated-image): Remove unnecessary function.
17023 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17024 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17025 (image-animate-timer): Use car-safe.
17026 (image-animate-timeout): Rename argument.
17027
190b47e6
MR
170282011-06-07 Martin Rudalics <rudalics@gmx.at>
17029
17030 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17031 window.c. Rename first argument to ALL-FRAMES.
17032 Rephrase doc-strings.
17033 (get-buffer-window-list): Rewrite using window-list-1.
17034 Rephrase doc-string.
a1511caf
MR
17035 (window-safe-min-height, window-safe-min-width): New constants.
17036 (window-size-ignore, window-min-size, window-min-size-1)
17037 (window-sizable, window-sizable-p, window-size-fixed-1)
17038 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17039 (window-max-delta-1, window-max-delta, window-resizable)
17040 (window-resizable-p, window-total-height, window-total-width)
17041 (window-body-width): New functions.
17042 (window-full-height-p, window-full-width-p): Rewrite using
17043 window-total-size.
17044 (window-body-height): Rewrite using window-body-size.
190b47e6 17045
85cc1f11
MR
170462011-06-06 Martin Rudalics <rudalics@gmx.at>
17047
17048 * window.el (window-right, window-left, window-child)
17049 (window-child-count, window-last-child, window-any-p)
17050 (normalize-live-buffer, normalize-live-frame)
17051 (normalize-any-window, normalize-live-window)
17052 (window-iso-combination-p, window-iso-combined-p)
17053 (window-iso-combinations)
17054 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17055 (windows-with-parameter, window-with-parameter)
17056 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17057 (window-atom-check, window-side-check, window-check):
17058 New functions.
85cc1f11
MR
17059 (ignore-window-parameters, window-sides, window-sides-vertical)
17060 (window-sides-slots): New variables.
17061 (window-size-fixed): Move down in code. Minor doc-string fix.
17062
e7156492
AS
170632011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17064
17065 * comint.el (comint-dynamic-complete-as-filename)
17066 (comint-dynamic-complete-filename): Correctly call
17067 completion-in-region.
17068
7e821d0d
DD
170692011-06-05 Deniz Dogan <deniz@dogan.se>
17070
17071 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17072 in last change.
17073
ac09b8a1
DD
170742011-06-05 Deniz Dogan <deniz@dogan.se>
17075
17076 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17077 (rcirc): Use it to prompt for encryption.
17078
34699b85
RW
170792011-06-05 Roland Winkler <winkler@gnu.org>
17080
17081 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17082 (bibtex-search-entries): New command bound to C-c C-a.
17083 (bibtex-display-entries): New function.
17084
004dedd3
RW
170852011-06-05 Roland Winkler <winkler@gnu.org>
17086
17087 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17088 (bibtex-insert-kill): After yanking insert newline if necessary.
17089 (bibtex-initialize): Call bibtex-string-files-init only once.
17090 (bibtex-mode): Do not call easy-menu-add.
17091 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17092 (bibtex-yank): Set arg properly if nil.
17093
022fe7ce
RW
170942011-06-05 Roland Winkler <winkler@gnu.org>
17095
2b75be67
SM
17096 * textmodes/bibtex.el (bibtex-search-entry-globally):
17097 New variable.
022fe7ce
RW
17098 (bibtex-search-entry): Use it.
17099
b7c3692a
RW
171002011-06-05 Roland Winkler <winkler@gnu.org>
17101
17102 * textmodes/bibtex.el (bibtex-entry-format): New option
17103 sort-fields.
17104 (bibtex-format-entry, bibtex-reformat): Honor this option.
17105 (bibtex-parse-entry): Return fields in proper order.
17106
8eda563d
JB
171072011-06-05 Juanma Barranquero <lekktu@gmail.com>
17108
17109 * doc-view.el (doc-view-remove-if): Move computation of result out
17110 of `dolist' to silence misleading lexical-binding warning.
17111
7dbe3dbc
CY
171122011-06-04 Chong Yidong <cyd@stupidchicken.com>
17113
17114 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17115 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17116
0c33dd17
MA
171172011-06-04 Michael Albinus <michael.albinus@gmx.de>
17118
17119 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17120 "SunOS 5.10".
17121
f8f91c2b
MA
171222011-06-04 Michael Albinus <michael.albinus@gmx.de>
17123
17124 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17125 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17126 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17127 (tramp-parse-putty):
17128 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17129 (tramp-completion-function-alist-ssh)
17130 (tramp-completion-function-alist-telnet)
17131 (tramp-completion-function-alist-su)
17132 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17133 cookie.
17134
17135 * net/tramp-ftp.el:
17136 * net/tramp-sh.el:
17137 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17138 load "tramp.el" `tramp-set-completion-function'.
17139
e17d9003
SM
171402011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17141
17142 * shell.el: Require and use pcomplete.
17143 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17144 (shell-completion-vars): Set pcomplete-default-completion-function.
17145
6c4cab03
DD
171462011-06-04 Deniz Dogan <deniz@dogan.se>
17147
17148 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17149 `memq' (Bug#8799).
17150
ea9fafe0
SM
171512011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17152
17153 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17154
b3e945d3
JB
171552011-06-02 Juanma Barranquero <lekktu@gmail.com>
17156
17157 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17158 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17159 * vc/log-view.el (log-view-beginning-of-defun):
17160 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17161 (smerge-refine-forward, smerge-refine-chopup-region):
17162 Silence warning for unused `dotimes' counter variables.
17163
7d520089
SM
171642011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17165
17166 * net/tramp.el (tramp-with-progress-reporter): Rename from
17167 with-progress-reporter. Use `declare'.
17168 * net/tramp-smb.el:
17169 * net/tramp-sh.el:
17170 * net/tramp-gvfs.el: Update all uses.
17171
a1c2400f
JB
171722011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17173
17174 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17175 buffer isn't killed before making it current.
17176
2403c841
SM
171772011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17178
17179 Silence various byte-compiler warnings.
17180 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17181 `access-type' and new obsolescence format.
17182 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17183 new format.
17184 (byte-compile-check-variable): New `access-type' argument.
17185 Only warn if the access-type is obsolete.
17186 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17187 (byte-compile-variable-set): Adjust callers.
17188 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17189 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17190 setting it as obsolete.
17191 * simple.el (minibuffer-completing-symbol):
17192 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17193 access as obsolete.
17194 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17195 obsolete yet.
17196 * international/quail.el (quail-mouse-choose-completion): Remove unused
17197 code referring to obsolete var.
17198 (quail-choose-completion-string): Remove.
17199 * server.el (server-clients-with, server-kill-buffer-query-function)
17200 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17201 * proced.el (proced-send-signal):
17202 * emacs-lisp/lisp.el (lisp-complete-symbol):
17203 Replace completion-annotate-function with completion-extra-properties.
17204
2462470b
SM
172052011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17206
fb5b2591
SM
17207 * simple.el (goto-line): Use read-number.
17208 (overriding-map-is-bound): Remove.
17209 (saved-overriding-map): Change default.
17210 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17211 Take the map as argument.
17212 (universal-argument, negative-argument, digit-argument): Use it.
17213 (restore-overriding-map): Adjust.
17214 (do-auto-fill): Use fill-forward-paragraph.
17215 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17216
fd6fa53f
SM
17217 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17218 (minibuffer-inactive-mode): New major mode.
17219 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17220 the *Messages* buffer" hack.
17221 (mouse-popup-menubar): Don't burp if the event is a normal key.
17222
2462470b
SM
17223 Miscellaneous tweaks.
17224 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17225 lexical scoping as in subr.el's dolist and dotimes.
17226 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17227 Silence compiler warning.
17228 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17229 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17230 * international/ccl.el (ccl-compile): Trivial simplification.
17231 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17232 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17233 `printflag' argument.
17234 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17235 Purecopy the whole obsolescence data.
17236
108bf785
LL
172372011-06-01 Leo Liu <sdl.web@gmail.com>
17238
17239 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17240 improve doc-string as suggested by Marco Pessotto
17241 <melmothx@gmail.com>.
17242 (rcirc-print): Fix last change.
17243
30a23501
SM
172442011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17245
17246 * minibuffer.el (complete-with-action): Return nil for the metadata and
17247 boundaries of non-functional tables.
17248 (completion-table-dynamic): Return nil for the metadata.
17249 (completion-table-with-terminator): Add default case, using
17250 complete-with-action.
17251 (completion--metadata): New function.
17252 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17253 to try and avoid pathological performance problems.
17254 (completion--embedded-envvar-table): Return `category' metadata.
17255
bcd54f83
LMI
172562011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17257
17258 * subr.el (process-alive-p): New tiny convenience function.
17259
e227544d
SM
172602011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17261
17262 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17263 content but also its previous major mode.
17264
e8296fdc
HE
172652011-05-31 Helmut Eller <eller.helmut@gmail.com>
17266
4d61f28d 17267 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17268 *Backtrace* buffer when we exit with C-M-c.
17269
620c53a6
SM
172702011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17271
17272 * minibuffer.el: Add metadata method to completion tables.
17273 (completion-category-overrides): New defcustom.
17274 (completion-metadata, completion--field-metadata)
17275 (completion-metadata-get, completion--styles)
17276 (completion--cycle-threshold): New functions.
17277 (completion-try-completion, completion-all-completions):
17278 Add `metadata' argument to choose completion-styles.
17279 (completion--do-completion): Use metadata to choose cycling.
17280 (completion-all-sorted-completions): Use metadata for sorting.
17281 Remove :completion-cycle-penalty which is not needed any more.
17282 (completion--try-word-completion): Add `metadata' argument.
17283 (minibuffer-completion-help): Check metadata for annotation function
17284 and sorting.
17285 (completion-file-name-table): Return `category' metadata.
17286 (minibuffer-completing-file-name): Make obsolete.
17287 * simple.el (minibuffer-completing-symbol): Make obsolete.
17288 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17289 completion-try-completion.
17290
1257e755
SM
172912011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17292
17293 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17294
3767e706
LL
172952011-05-30 Leo Liu <sdl.web@gmail.com>
17296
17297 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17298 (rcirc-print): Decode all incoming messages (bug#8744).
17299 (rcirc-decode-coding-system): Allow value nil for automatic coding
17300 system detection.
3767e706 17301
d1a5d56a
GM
173022011-06-01 Glenn Morris <rgm@gnu.org>
17303
17304 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17305
e8cbec34
CY
173062011-05-29 Chong Yidong <cyd@stupidchicken.com>
17307
17308 * image.el (image-animate-max-time): Allow nil and t values.
17309 Default to nil.
17310 (create-animated-image): Doc fix.
17311 (image-animate-start): Remove second arg; just use
17312 image-animate-max-time.
17313 (image-animate-timeout): Doc fix. Args changed.
17314
17315 * image-mode.el (image-toggle-display-image): Ensure that the
17316 image spec passed to the animate timer is the same object as in
58179cce 17317 the buffer's display property (Bug#6981).
e8cbec34
CY
17318 (image-transform-properties): Doc fix.
17319
17320 * image.el (image-animate-max-time): Default to nil.
17321
159daf87
MR
173222011-05-29 Martin Rudalics <rudalics@gmx.at>
17323
17324 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17325 entire buffer list (Bug#8184).
17326
d66c4c7c
CY
173272011-05-29 Chong Yidong <cyd@stupidchicken.com>
17328
17329 * image.el (imagemagick-types-inhibit)
17330 (imagemagick-register-types): Doc fix.
17331
80aec780
DD
173322011-05-29 Deniz Dogan <deniz@dogan.se>
17333
17334 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17335 default.
17336
1dd3c2d9
CY
173372011-05-29 Chong Yidong <cyd@stupidchicken.com>
17338
17339 * select.el: Don't perform clipboard-manager saving in hooks;
17340 leave the hooks empty.
17341
60e56523
LL
173422011-05-28 Leo Liu <sdl.web@gmail.com>
17343
17344 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17345 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17346 (occur-edit-mode): New major mode (Bug#8463).
17347 (occur-after-change-function): New function.
17348 (occur-engine): Give Occur tags a read-only property.
17349
2b1e1a22
KR
173502011-05-28 Kevin Ryde <user42@zip.com.au>
17351
17352 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17353
5d344e88
CY
173542011-05-28 Chong Yidong <cyd@stupidchicken.com>
17355
8e6ca83d
CY
17356 * bindings.el (help-echo): Make the initial non-indicator dash
17357 empty on graphical terminals (Bug#7295).
17358
5d344e88
CY
17359 * files.el (auto-mode-alist): Move config rule after the
17360 in-stripping one (Bug#8547).
17361
bfbbace7
CY
17362 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17363
fbeba6e2
CY
17364 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17365 setting (Bug#8740).
17366
60ed8c72
AA
173672011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17368
4ac619f0
AA
17369 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17370 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17371 (Bug#8539).
60ed8c72 17372
23db196e
CY
173732011-05-28 Chong Yidong <cyd@stupidchicken.com>
17374
17375 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17376
5012f24c
DK
173772011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17378
17379 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17380 (hs-hide-block-at-point, hs-find-block-beginning)
17381 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17382 (Bug#8279).
17383
6a639b16
GM
173842011-05-28 Glenn Morris <rgm@gnu.org>
17385
17386 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17387
d43eaf2c
CY
173882011-05-28 Chong Yidong <cyd@stupidchicken.com>
17389
5199bde1
CY
17390 * help-fns.el (describe-function-1): If the function is a derived
17391 major mode, print the parent mode.
17392
d43eaf2c
CY
17393 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17394 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17395
423428a8
SM
173962011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17397
0ff8e1ba 17398 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17399 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17400 * progmodes/etags.el (tags-completion-at-point-function):
17401 * info-look.el (info-lookup-completions-at-point): Mark as
17402 non-exclusive.
17403 (info-complete): Adjust accordingly.
17404
423428a8
SM
17405 * info-look.el: Convert to lexical-binding and completion-at-point.
17406 (info-lookup-completions-at-point): New function.
17407 (info-complete): Use it and completion-in-region.
17408
b74aa22b
DA
174092011-05-28 Drew Adams <drew.adams@oracle.com>
17410
17411 * isearch.el: Let M-e start with point at the first mismatched char.
17412 (isearch-fail-pos): New function.
17413 (isearch-edit-string): Use it.
17414
66e2e71d
DK
174152011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17416
17417 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17418
b1890b0f 174192011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17420
17421 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17422 traversal functions for avl-trees.
17423 (avl-tree--stack): New struct.
17424 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17425 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17426 (avl-tree--do-enter): Add optional `updatefun' arg.
17427 Change return value.
eb95d01d 17428 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17429 (avl-tree--do-delete): Add `test' and `nilflag' args.
17430 Change return value.
eb95d01d
TC
17431 (avl-tree-member): Add optional `nilflag'
17432 (avl-tree-member-p): New function.
17433 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17434 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17435 (avl-tree-stack-empty-p): New functions.
17436
3769ddcf
TC
17437 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17438 avl-tree--del-balance1 and make it work both ways.
17439 (avl-tree--del-balance2): Remove.
17440 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17441 make it work both ways.
17442 (avl-tree--enter-balance2): Remove.
17443 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17444 New macros.
17445 (avl-tree--mapc, avl-tree-map): Add direction argument.
17446
eb95d01d 174472011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17448
17449 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17450
a9f737ee
CY
174512011-05-27 Chong Yidong <cyd@stupidchicken.com>
17452
17453 * select.el: Support clipboard managers with built-in function
17454 x-clipboard-manager-save, via delete-frame-functions and
17455 kill-emacs-hook.
17456 (xselect-convert-to-targets): Add MULTIPLE target to list.
17457 (xselect-convert-to-save-targets): New function.
17458
c92a1e54
KH
174592011-05-27 Kenichi Handa <handa@m17n.org>
17460
17461 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17462 let-binding rfc2047-encode-encoded-words to nil.
17463
e145f188
GM
174642011-05-27 Glenn Morris <rgm@gnu.org>
17465
5ec8a862
GM
17466 * mail/emacsbug.el: Don't require url-util.
17467
4b29d9fb
GM
17468 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17469
e145f188
GM
17470 * files.el (set-auto-mode):
17471 Also respect mode: entries at the end of the file. (Bug#8586)
17472
7d15102b
GM
174732011-05-26 Glenn Morris <rgm@gnu.org>
17474
98f593b8
GM
17475 * files.el (hack-local-variables-prop-line, hack-local-variables):
17476 Downcase mode names, as seems to be traditional.
27b48e63 17477 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17478
7d15102b
GM
17479 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17480 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17481
51d5b4ec
JD
174822011-05-25 Julien Danjou <julien@danjou.info>
17483
17484 * textmodes/rst.el (rst-define-level-faces): Do not define face
17485 symbol if it is already defined.
17486
91513f63
VB
174872011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17488
17489 * play/5x5.el (5x5-new-game, 5x5-randomize):
17490 Reset 5x5-solver-output to nil when a new grid is cast.
17491 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17492 these debugging traces, as defmacro breaks the compiled code.
17493
4d90d6d0
DK
174942011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17495
17496 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17497
e1b90ef6
LL
174982011-05-24 Leo Liu <sdl.web@gmail.com>
17499
17500 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17501 (vc-bzr-sha1): Adapt.
17502
d8e4b68b 17503 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17504
17505 * bindings.el: Provide sha1 feature.
17506
db0406bb 175072011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17508
17509 * mail/sendmail.el: Require `rfc2047'.
17510 (mail-insert-from-field): Do not perform RFC2047 encoding.
17511 (mail-encode-header): New function.
17512 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17513 buffer to the return value of select-message-coding-system.
17514 Call mail-encode-header.
b8d747b9
KH
17515
17516 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17517
db0406bb 175182011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17519
4d90d6d0
DK
17520 * mail/supercite.el (sc-default-cite-frame):
17521 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17522
eb8a5e9b
GM
175232011-05-24 Glenn Morris <rgm@gnu.org>
17524
f8630703
GM
17525 * progmodes/python.el (brm-menu): Declare.
17526
8831bbed
GM
17527 * emulation/viper.el (viper-set-hooks): Declare.
17528
eb8a5e9b
GM
17529 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17530 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17531 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17532 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17533 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17534 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17535
a2a25d24
SM
175362011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17537
17538 Add an :exit-function for completion-at-point.
17539
17540 * minibuffer.el (completion--done): New fun.
17541 (completion--do-completion): Use it. New arg `expect-exact'.
17542 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17543 since completion--do-completion does it for us now.
17544 (minibuffer-force-complete): Use completion--done and
17545 completion--replace. Handle sole-completion case with more care.
17546 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17547 (completion-extra-properties): New var.
17548 (completion-annotate-function): Make obsolete.
17549 (minibuffer-completion-help): Adjust accordingly.
17550 Use completion-list-insert-choice-function.
17551 (completion-at-point, completion-help-at-point):
17552 Bind completion-extra-properties.
17553 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17554 * simple.el (completion-list-insert-choice-function): New var.
17555 (completion-setup-function): Preserve it.
17556 (choose-completion): Pay attention to it, shuffle the code a bit.
17557 (choose-completion-string): New arg `insert-function'.
17558
17559 * textmodes/bibtex.el: Convert to lexical binding.
17560 (bibtex-mode-map): Use completion-at-point.
17561 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17562 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17563 (bibtex-complete): Define as obsolete alias.
17564 (bibtex-complete-internal): Remove.
17565 (bibtex-format-entry): Remove unused sub-group in regexp.
17566 * shell.el (shell--command-completion-data)
17567 (shell-environment-variable-completion):
17568 * pcomplete.el (pcomplete-completions-at-point):
17569 * comint.el (comint--complete-file-name-data): Use :exit-function
17570 instead of completion-table-with-terminator so it also works for
17571 choose-completion.
17572
e44e373d
SM
175732011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17574
4f91a816
SM
17575 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17576
782fc819
SM
17577 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17578 (bug#8710).
17579
e44e373d
SM
17580 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17581
381987c3
KM
175822011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17583
17584 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17585 customization variable and implement: If non-nil, auto-fill will
17586 be inhibited while on topic's header line.
17587
b776bc70
VB
175882011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17589
17590 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17591 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17592 always have a solution in grid size = 5 cases.
17593 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17594 (5x5-solver-output, 5x5-log-buffer): New vars.
17595 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17596 Make these variables buffer local to achieve 5x5 multi-session-ness.
17597 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17598 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17599 (5x5-solve-suggest): New funs.
17600 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17601 randomize a grid so that we ensure that there is always a solution.
17602 (5x5-make-random-grid): Allow other movement than flipping.
17603
7de88b6e
KR
176042011-05-23 Kevin Ryde <user42@zip.com.au>
17605
17606 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17607 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17608 advice and passes PREDICATE.
17609
b1ef1257
SM
176102011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17611
bbca48fe
SM
17612 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17613 byte-compile-lambda if it's actually a lambda.
17614
b1ef1257
SM
17615 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17616 Fix function quoting. Use backquote better.
17617
92a9cc65
YS
176182011-05-22 Yuanle Song <sylecn@gmail.com>
17619
17620 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17621 matching (Bug#8516).
17622
f0fb8059
JA
176232011-01-22 Jari Aalto <jari.aalto@cante.net>
17624
17625 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17626 different face (Bug#8178).
17627
d5b44c93
CY
176282011-05-22 Chong Yidong <cyd@stupidchicken.com>
17629
17630 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17631 defface (Bug#8144).
17632
79106a44
SM
176332011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17634
9c848d8a
SM
17635 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17636 funcall as well (bug#8712). Warn when performing those conversions.
17637 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17638
79106a44
SM
17639 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17640
88dfa756
GM
176412011-05-22 Glenn Morris <rgm@gnu.org>
17642
17643 * files.el (hack-local-variables-prop-line): Small simplifications.
17644 (hack-local-variables, hack-local-variables-prop-line):
17645 If MODE-ONLY, return the mode, rather than just `t'.
17646
b7cf2c79
SM
176472011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17648
17649 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17650
3f1a8558
GM
176512011-05-21 Glenn Morris <rgm@gnu.org>
17652
7e4ccca3
GM
17653 * files.el (hack-local-variables-prop-line, hack-local-variables):
17654 If only interested in the mode, don't bother doing the other stuff.
17655
637d46ca
GM
17656 * image-mode.el (image-after-revert-hook):
17657 Redraw all frames on which the image is visible. (Bug#8567)
17658
973d955b
GM
17659 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17660
3f1a8558
GM
17661 * wid-edit.el (widget-checklist-match-inline):
17662 Fix 2011-04-19 change. (Bug#8649)
17663
96479927
SM
176642011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17665
1dcf791f
SM
17666 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17667 Also allow singlespace after single-letter capitals followed by a dot.
17668
96479927
SM
17669 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17670 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17671
35fd0881
N
176722011-05-20 Nix <nix@esperi.org.uk>
17673
17674 * files.el (basic-save-buffer-2):
17675 Fix handling of break-hardlink-on-save with non-existent files.
17676
82745640
DD
176772011-05-19 Deniz Dogan <deniz@dogan.se>
17678
17679 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17680 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17681
4a720484
GM
176822011-05-19 Glenn Morris <rgm@gnu.org>
17683
d1f21341
GM
17684 * progmodes/f90.el (f90-type-def-re):
17685 Handle "type, bind(c)". (Bug#8691)
17686
4a720484
GM
17687 * emacs-lisp/autoload.el (batch-update-autoloads):
17688 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17689
2fb0a219
MA
176902011-05-18 Michael Albinus <michael.albinus@gmx.de>
17691
17692 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17693 property for the correct connection in case of multihops.
17694
e565dd37
GM
176952011-05-18 Glenn Morris <rgm@gnu.org>
17696
c2571358 17697 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17698 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17699
e565dd37
GM
17700 Rationalize calendar handling of day and month abbrev-arrays.
17701 * calendar/calendar.el (calendar-customized-p): New function.
17702 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17703 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17704 Add :set function.
17705 (calendar-abbrev-length, calendar-day-abbrev-array)
17706 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17707 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17708 Elements may no longer be nil.
17709 (calendar-day-name, calendar-month-name):
17710 Update for changed nature of abbrev arrays.
17711 * calendar/diary-lib.el (diary-name-pattern):
17712 Update for changed nature of abbrev arrays.
17713 (diary-mark-entries-1): Update calendar-make-alist calls.
17714 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17715 * calendar/cal-html.el (cal-html-day-abbrev-array):
17716 Simply inherit from calendar-day-abbrev-array.
17717
1d99a745
SM
177182011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17719
17720 * progmodes/grep.el (grep-mode): Disable default
17721 compilation-directory-matcher setting (bug#8684).
17722
7c1d9aa0
MA
177232011-05-17 Michael Albinus <michael.albinus@gmx.de>
17724
17725 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17726 instead of "head" and "tail". There were problems with SunOS 5.9,
17727 and it performs better.
17728
3952e9d8
GM
177292011-05-17 Glenn Morris <rgm@gnu.org>
17730
2dd12e7f
GM
17731 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17732
e4157b9c
GM
17733 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17734 Replace obsolete function.
17735
8e249bbd
GM
17736 * shell.el (pcomplete-parse-arguments-function): Declare.
17737
3952e9d8
GM
17738 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17739 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17740 (appt-check): Doc fixes.
17741 (appt-disp-window-function, appt-delete-window-function):
17742 Remove needless special case in custom :type.
17743 (appt-display-count): Default to 0, not nil.
17744 (appt-check): Reset appt-display-count to 0, not nil.
17745
c71a0d48 177462011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17747
c71a0d48
GM
17748 * progmodes/python.el (python-font-lock-keywords):
17749 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17750
31d55be9
SM
177512011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17752
17753 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17754
3bfacb2f
KR
177552011-05-16 Kevin Ryde <user42@zip.com.au>
17756
17757 * info-look.el (makefile-automake-mode): New setups, looking in
17758 automake manual, then makefile-mode.
17759 (makefile-mode): Remove automake manual, have it just in
17760 makefile-automake-mode since there's various things different or
17761 not relevant to plain make.
17762 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17763 believe a hypothetical automake-mode would go to makefile-mode,
17764 not the other way around.
17765
c8e83751
CY
177662011-05-15 Chong Yidong <cyd@stupidchicken.com>
17767
5e9e35cd
CY
17768 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17769 hunk-end tags (Bug#8672).
17770
c8e83751
CY
17771 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17772 vc-annotate-show-diff-revision-at-line (Bug#8671).
17773
50b23e5a
GM
177742011-05-14 Glenn Morris <rgm@gnu.org>
17775
7210a739
GM
17776 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17777 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17778 (change-log-font-lock-keywords): Also handle multiple author lines
17779 with leading tabs. (Bug#8644)
7210a739 17780
4691905a
GM
17781 * calendar/appt.el (appt-check): Rename some local variables.
17782 Some simplification/reordering.
17783
50b23e5a
GM
17784 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17785 (feedmail-sendmail-f-doesnt-sell-me-out)
17786 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17787 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17788 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17789 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17790 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17791 (feedmail-binmail-gnulinuxish-template):
17792 Rename from feedmail-binmail-linuxish-template.
17793 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17794 Use insert-buffer-substring.
17795
215cda7c
BC
177962011-05-14 Bill Carpenter <bill@carpenter.org>
17797
17798 * mail/feedmail.el (feedmail-patch-level): Increase.
17799 (feedmail-debug): New custom group.
17800 (feedmail-confirm-outgoing-timeout)
17801 (feedmail-sendmail-f-doesnt-sell-me-out)
17802 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17803 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17804 (feedmail-sender-line, feedmail-from-line)
17805 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17806 (feedmail-spray-this-address)
215cda7c
BC
17807 (feedmail-spray-address-fiddle-plex-list)
17808 (feedmail-queue-use-send-time-for-date)
17809 (feedmail-queue-use-send-time-for-message-id)
17810 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17811 (feedmail-buffer-eating-function):
17812 Doc fixes.
17813 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17814 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17815 (feedmail-message-action-scroll-down): New functions.
17816 (feedmail-queue-directory, feedmail-queue-draft-directory):
17817 Use expand-file-name.
17818 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17819 Remove C-v help entry.
17820 (feedmail-queue-buffer-file-name): New variable.
17821 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17822 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17823 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17824 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17825 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17826 (feedmail-message-action-toggle-spray)
17827 (feedmail-run-the-queue-no-prompts)
17828 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17829 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17830 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17831 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17832 (feedmail-envelope-deducer, feedmail-fiddle-from)
17833 (feedmail-fiddle-sender, feedmail-default-date-generator)
17834 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17835 (feedmail-fiddle-spray-address)
17836 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17837 (feedmail-fiddle-list-of-fiddle-plexes)
17838 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17839 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17840 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17841 Change default. Doc fix.
17842 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17843 (feedmail-binmail-linuxish-template): New constant.
17844 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17845 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17846 (feedmail-send-it): Add debug call.
17847 Use feedmail-queue-buffer-file-name, and
17848 feedmail-send-it-immediately-wrapper.
17849 (feedmail-message-action-send): Add debug call.
17850 Use feedmail-send-it-immediately-wrapper.
17851 (feedmail-queue-express-to-queue): Add debug call.
17852 Run feedmail-queue-express-hook.
17853 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17854 (feedmail-message-action-help-blat):
17855 Rename from feedmail-queue-send-edit-prompt-help-first.
17856 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17857 Check line-endings. Handle errors better.
17858 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17859 Doc fix. Add debug call.
17860 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17861 Use feedmail-queue-send-edit-prompt-inner.
17862 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17863 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17864 from feedmail-queue-send-edit-prompt.
17865 (feedmail-queue-send-edit-prompt-help)
17866 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17867 (feedmail-tidy-up-slug): Add debug call.
17868 Respect feedmail-queue-slug-suspect-regexp.
17869 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17870 (feedmail-dump-message-to-queue): Add debug call.
17871 Expand queue-directory.
17872 (feedmail-dump-message-to-queue): Change message slightly.
17873 Use feedmail-say-chatter.
17874 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17875 (feedmail-send-it-immediately-wrapper): New function.
17876 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17877 Insert empty string rather than newline. Handle full-frame case.
17878 Use catch/throw. Use feedmail-say-chatter.
17879 (feedmail-fiddle-from): Try mail-host-address.
17880 (feedmail-default-message-id-generator): Doc fix.
17881 Bind system-time-locale. Handle missing end.
17882 (feedmail-fiddle-x-mailer): Add debug call.
17883 Handle feedmail-x-mailer-line being nil.
17884 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17885 Add debug call. Use buffer-substring-no-properties.
17886 (feedmail-say-debug, feedmail-say-chatter): New functions.
17887 (feedmail-find-eoh): Give an explicit error.
17888
42c7e61e
UJ
178892011-05-13 Ulf Jasper <ulf.jasper@web.de>
17890
c2571358 17891 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 17892 family from helvetica to sans.
c2571358 17893 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17894 etc/images/newsticker.
17895
c2571358 17896 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
17897 family from helvetica to sans.
17898
17899 * net/newst-plainview.el (newsticker-new-item-face)
17900 (newsticker-old-item-face, newsticker-immortal-item-face)
17901 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 17902 (newsticker-statistics-face): Change default family from
42c7e61e 17903 helvetica to sans.
c2571358 17904 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
17905 etc/images/newsticker.
17906
5d3385a0
JB
17907 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17908 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
17909 auto-marking.
17910
8497a297
DV
179112011-05-13 Didier Verna <didier@xemacs.org>
17912
17913 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
17914 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17915 TODO entries.
8497a297
DV
17916 (lisp-lambda-list-keyword-parameter-indentation)
17917 (lisp-lambda-list-keyword-parameter-alignment)
17918 (lisp-lambda-list-keyword-alignment): New customizable user options.
17919 (lisp-indent-defun-method): Improve docstring.
17920 (extended-loop-p): Fix comment.
17921 (lisp-indent-lambda-list-keywords-regexp): New variable.
17922 (lisp-indent-lambda-list): New function.
17923 (lisp-indent-259): Use it.
17924 (lisp-indent-defmethod): Support for more than one
17925 method qualifier and properly indent methods lambda-lists.
17926 (defgeneric): Provide a missing common-lisp-indent-function property.
17927
f278f87f
SM
179282011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17929
17930 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17931 bounds for the empty string (bug#8667).
17932
5233edd7
GM
179332011-05-13 Glenn Morris <rgm@gnu.org>
17934
5237a44f
GM
17935 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17936
8340026c 17937 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 17938 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 17939
5233edd7 17940 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 17941 (appt-time-msg-list): Doc fix.
a5464014 17942 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 17943
92d10796
AS
179442011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17945
17946 * progmodes/ld-script.el (ld-script-keywords)
17947 (ld-script-builtins): Update keywords list.
17948
914a0ae1
SM
179492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17950
c89be45f
SM
17951 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17952
914a0ae1
SM
17953 * shell.el (shell-completion-vars): New function.
17954 (shell-mode):
17955 * simple.el (read-shell-command): Use it.
17956 (blink-matching-open): No need for " [...]" in minibuffer-message.
17957
98dc3df3
GM
179582011-05-12 Glenn Morris <rgm@gnu.org>
17959
17960 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17961 (appt-check): Simplify.
17962
d2fc7e3d 179632011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 17964
4d61f28d 17965 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
17966 literal "/dev/null".
17967
d2fc7e3d 179682011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
17969
17970 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17971 Fix typo.
17972
d2fc7e3d 179732011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 17974
3f254caa
SM
17975 * progmodes/which-func.el (which-function):
17976 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
17977 which might not be defined (Bug#8260).
17978
d45885f7
GM
179792011-05-12 Glenn Morris <rgm@gnu.org>
17980
17981 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17982 Let byte-compile-initial-macro-environment always take precedence.
17983
488086f4
SM
179842011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17985
17986 * net/rcirc.el: Add support for SSL/TLS connections.
17987 (rcirc-server-alist): New field `encryption'.
17988 (rcirc): Check `encryption' settings.
17989 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17990 Merge make-local-variable into `set'.
17991 (rcirc--connection-open-p): New function.
17992 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17993 the process is not a network process (e.g. running gnutls-cli).
17994 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17995 Make rcirc-(en|de)code-coding-system local here.
17996 (rcirc-mode): Merge make-local-variable into `set'.
17997 (rcirc-parent-buffer): Make permanent buffer-local.
17998 (rcirc-multiline-minor-mode): Don't do it here.
17999 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18000 there's no server buffer.
18001
7d3b9d44
GM
180022011-05-11 Glenn Morris <rgm@gnu.org>
18003
f64049c6
GM
18004 * newcomment.el (comment-kill): Prefix "unused" local.
18005
93c9df73
GM
18006 * term/w32console.el (get-screen-color): Declare.
18007
7d3b9d44
GM
18008 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18009 Handle symbol elements of byte-compile-initial-macro-environment.
18010
9e2dd53f
LL
180112011-05-10 Leo Liu <sdl.web@gmail.com>
18012
488086f4
SM
18013 * bookmark.el (bookmark-bmenu-mode-map):
18014 Bind bookmark-bmenu-search to `/'.
8b340240 18015
9e2dd53f 18016 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18017 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18018 (Footnote-unicode): New function.
18019 (footnote-style-alist): Add unicode style to the list.
18020 (footnote-style): Doc fix.
9e2dd53f 18021
79b70037
GM
180222011-05-10 Jim Meyering <meyering@redhat.com>
18023
18024 Fix doubled-word typos.
18025 * international/quail.el (quail-insert-kbd-layout): and and -> and
18026 * kermit.el: and and -> and
18027 * net/ldap.el (ldap-search-internal): to to -> to
18028 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18029 * progmodes/js.el (js-mode): and and -> and
18030 * textmodes/artist.el (artist-move-to-xy): at at -> at
18031 (artist-draw-region-trim-line-endings): if if -> if
18032 And Safetyc -> Safety.
18033 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18034
b8f82dc1 180352011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18036 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18037
18038 * files.el (hack-one-local-variable-eval-safep):
18039 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18040
4f99f44b
GM
180412011-05-10 Glenn Morris <rgm@gnu.org>
18042
18043 * calendar/diary-lib.el (diary-list-entries-hook)
18044 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18045 (diary-nongregorian-marking-hook, diary-list-entries)
18046 (diary-include-other-diary-files, diary-mark-entries)
18047 (diary-mark-included-diary-files): Doc fixes.
18048
84f29e6b
JB
180492011-05-09 Juanma Barranquero <lekktu@gmail.com>
18050
18051 * misc.el: Require tabulated-list.el during compilation.
18052
9bedd73a
CY
180532011-05-09 Chong Yidong <cyd@stupidchicken.com>
18054
488086f4
SM
18055 * progmodes/compile.el (compilation-start):
18056 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18057 (compilation-filter-hook): Doc fix.
18058
797c735c
DD
180592011-05-09 Deniz Dogan <deniz@dogan.se>
18060
18061 * wdired.el: Remove outdated installation comment. Fix usage
18062 comment.
18063
5f4b1dfe
JB
180642011-05-09 Juanma Barranquero <lekktu@gmail.com>
18065
18066 * misc.el: Implement new command `list-dynamic-libraries'.
18067 (list-dynamic-libraries--loaded-only-p): New variable.
18068 (list-dynamic-libraries--refresh): New function.
18069 (list-dynamic-libraries): New command.
18070
4c44026c
CY
180712011-05-09 Chong Yidong <cyd@stupidchicken.com>
18072
488086f4
SM
18073 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18074 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18075 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18076 higher priority to avoid clobbering by gnu.
18077
027f966d
CY
180782011-05-08 Chong Yidong <cyd@stupidchicken.com>
18079
18080 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18081 if the face has existing theme settings (Bug#8454).
18082
085f5d7d
CY
180832011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18084
488086f4
SM
18085 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18086 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18087
2a86a00c
RS
18088 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18089 special file names `.' and `..' (Bug#8259).
18090
d9c54a06
CY
180912011-05-08 Chong Yidong <cyd@stupidchicken.com>
18092
488086f4
SM
18093 * progmodes/grep.el (grep-mode-font-lock-keywords):
18094 Remove buffer-changing entries.
d9c54a06
CY
18095 (grep-filter): New function.
18096 (grep-mode): Add it to compilation-filter-hook.
18097
18098 * progmodes/compile.el (compilation-filter-hook)
18099 (compilation-filter-start): New defvars.
18100 (compilation-filter): Call compilation-filter-hook prior to
18101 updating the process mark.
18102
c4662635
SM
181032011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18104
18105 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18106
b0512a1d
EZ
181072011-05-07 Eli Zaretskii <eliz@gnu.org>
18108
605c9376
EZ
18109 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18110 mailclient-send-it even if window-system is nil. (Bug#8595)
18111
c4662635
SM
18112 * term/w32console.el (terminal-init-w32console):
18113 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18114 background-mode. (Bug#8597)
18115
d1dc2cc2
SM
181162011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18117
18118 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18119 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18120 New functions.
18121 (defgeneric, eieio--defmethod): Use them.
18122 (eieio-defgeneric): Remove.
18123 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18124
915d1300
GM
181252011-05-07 Glenn Morris <rgm@gnu.org>
18126
a3961c3e
GM
18127 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18128 Use let rather than let*.
18129 (timeclock-find-discrep): Remove unused local.
18130
314347b9
GM
18131 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18132
915d1300
GM
18133 * calendar/appt.el (appt-time-msg-list): Doc fix.
18134
275b59b0
NF
181352011-05-06 Noah Friedman <friedman@splode.com>
18136
18137 * apropos.el (apropos-print-doc): Only use
18138 emacs-lisp-docstring-fill-column when it is bound to an integer,
18139 per that variable's documentation.
18140
6c19f744
SM
181412011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18142
18143 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18144 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18145
60f884b2
GM
181462011-05-06 Glenn Morris <rgm@gnu.org>
18147
5006e634
GM
18148 * calendar/appt.el (appt-message-warning-time): Doc fix.
18149 (appt-warning-time-regexp): New option.
18150 (appt-make-list): Respect appt-message-warning-time.
18151
548d0a63
GM
18152 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18153 New options.
18154 (diary-add-to-list): Strip comments from the displayed string.
18155 (diary-mode): Set comment-start and comment-end.
18156
60f884b2
GM
18157 * vc/diff-mode.el (smerge-refine-subst): Declare.
18158 (diff-refine-hunk): Don't require smerge-mode when compiling.
18159
989681bb
JB
181602011-05-06 Juanma Barranquero <lekktu@gmail.com>
18161
18162 * simple.el (list-processes): Return nil as the docstring says.
18163
a6bc05e1
MA
181642011-05-05 Michael Albinus <michael.albinus@gmx.de>
18165
18166 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18167 to "".
18168 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18169 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18170 determining of binary transfer. (Bug#7383)
18171
23c22e9a
MA
181722011-05-05 Michael Albinus <michael.albinus@gmx.de>
18173
c4662635
SM
18174 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18175 Fix port computation bug. (Bug#8618)
23c22e9a 18176
0bff894f
GM
181772011-05-05 Glenn Morris <rgm@gnu.org>
18178
b8296902
GM
18179 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18180
1f522ce8
GM
18181 * simple.el (shell-dynamic-complete-functions)
18182 (comint-dynamic-complete-functions): Declare.
18183
cf5bee67
GM
18184 * net/network-stream.el (gnutls-negotiate):
18185 * simple.el (tabulated-list-print): Fix declarations.
18186
18187 * progmodes/gud.el (syntax-symbol, syntax-point):
18188 Remove unnecessary and incorrect declarations.
18189
0bff894f
GM
18190 * emacs-lisp/check-declare.el (check-declare-scan):
18191 Handle byte-compile-initial-macro-environment in bytecomp.el
18192
9869b3ae
SM
181932011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18194
18195 Fix earlier half-done eieio-defmethod change (bug#8338).
18196 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18197 Streamline and change calling convention.
18198 (defmethod): Adjust accordingly and simplify.
18199 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18200 new eieio--defmethod.
18201 (slot-boundp): Minor CSE simplification.
18202
9c1d5ac5
MZ
182032011-05-05 Milan Zamazal <pdm@zamazal.org>
18204
18205 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18206 (glasses-make-readable): Use glasses-separate-capital-groups.
18207
455c834e
JB
182082011-05-05 Juanma Barranquero <lekktu@gmail.com>
18209
18210 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18211 (warning-series): Doc fix.
18212 (display-warning): Don't try to create the buffer if we just found it.
18213
9ed7c8cb
CY
182142011-05-04 Chong Yidong <cyd@stupidchicken.com>
18215
18216 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18217 (autoload-find-generated-file): New function.
18218 (generate-file-autoloads): Bind generated-autoload-file to
18219 buffer-file-name.
9869b3ae
SM
18220 (update-file-autoloads, update-directory-autoloads):
18221 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18222 output file (Bug#7989).
18223 (batch-update-autoloads): Doc fix.
18224
0898ca10
JB
182252011-05-04 Juanma Barranquero <lekktu@gmail.com>
18226
18227 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18228
31dfb76c
GM
182292011-05-04 Glenn Morris <rgm@gnu.org>
18230
f330b642
GM
18231 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18232 function, so it follows changes in calendar-date-style.
18233 (diary-fancy-date-matcher): New function.
18234 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18235 (diary-fancy-font-lock-fontify-region-function):
18236 Use diary-fancy-date-pattern as a function.
18237
31dfb76c
GM
18238 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18239 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18240
48e79d6a
TZ
182412011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18242
18243 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18244 instead of positional arguments. Allow :keylist and :crlfiles
18245 arguments.
18246 (open-gnutls-stream): Call it.
18247
18248 * net/network-stream.el (network-stream-open-starttls): Adjust to
18249 call `gnutls-negotiate' with :process and :hostname arguments.
18250
dd5a5ee0
SM
182512011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18252
ef80fc09
SM
18253 * minibuffer.el (completion--message): New function.
18254 (completion--do-completion, minibuffer-complete)
18255 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18256 (completion--do-completion): Don't ignore completion-auto-help when in
18257 icomplete-mode.
18258
dd5a5ee0
SM
18259 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18260 internal encoding (e.g. tibetan zero is not whitespace).
18261 (global-whitespace-mode): Prefer save-current-buffer.
18262 (whitespace-trailing-regexp): Remove useless save-match-data.
18263 (whitespace-empty-at-bob-regexp): Minor simplification.
18264
b7d22a83
CY
182652011-05-03 Chong Yidong <cyd@stupidchicken.com>
18266
18267 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18268
5192af46
AM
182692011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18270
18271 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18272 Use `concat' to create string for insertion.
5192af46 18273
5767d190
SM
182742011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18275
18276 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18277 Avoid open-line which runs post-self-insert-hook.
18278 (bibtex-fill-entry): Remove unused `end' var.
18279
bf242939
AM
182802011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18281
5767d190
SM
18282 * textmodes/ispell.el (ispell-add-per-file-word-list):
18283 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18284
25666126
LL
182852011-05-03 Leo Liu <sdl.web@gmail.com>
18286
18287 * isearch.el (isearch-yank-pop): New command.
5767d190 18288 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18289 (isearch-forward): Mention it.
18290
52d3c2d0
SM
182912011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18292
1bcace58
SM
18293 * simple.el (minibuffer-complete-shell-command): Remove.
18294 (minibuffer-local-shell-command-map): Use completion-at-point.
18295 (read-shell-command): Setup completion vars here instead.
18296 (read-expression-map): Bind TAB to symbol completion.
18297
52d3c2d0
SM
18298 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18299 error directly rather via storing it into `results'.
18300
35813471
LL
183012011-05-02 Leo Liu <sdl.web@gmail.com>
18302
18303 * vc/diff.el: Fix description.
18304
e793a940
LMI
183052011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18306
18307 * server.el (server-eval-at): New function.
18308
8de66e05
LMI
183092011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18310
18311 * net/network-stream.el (open-network-stream): Take a :nowait
18312 parameter and pass it on to `make-network-process'.
18313 (network-stream-open-plain): Ditto.
18314
dcb79f20
AS
183152011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18316
18317 * faces.el (face-spec-set-match-display): Don't match toolkit
18318 options on terminal frames.
18319
14a7fbd8
SM
183202011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18321
7eabc1be
SM
18322 * progmodes/pascal.el: Use lexical binding.
18323 (pascal-mode-map): Remove author preferences.
18324
14a7fbd8
SM
18325 * pcomplete.el (pcomplete-std-complete): Don't abuse
18326 completion-at-point.
18327
50f84510
JB
183282011-04-28 Juanma Barranquero <lekktu@gmail.com>
18329
6e087a44
JB
18330 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18331 removing code that has been dead since 1991 or so.
18332
50f84510
JB
18333 * startup.el (command-line): When warning about "_emacs", use a
18334 delayed warning to allow the user to filter it out.
18335
0ba690bd
DD
183362011-04-28 Deniz Dogan <deniz@dogan.se>
18337
18338 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18339 user has not joined.
18340
08abfaad
SM
183412011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18342
18343 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18344 aren't any completions at point.
18345
638f053a
JB
183462011-04-28 Juanma Barranquero <lekktu@gmail.com>
18347
18348 * subr.el (display-delayed-warnings): New function.
18349 (delayed-warnings-hook): New variable.
18350
8fff8daa
SM
183512011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18352
08abfaad
SM
18353 * minibuffer.el (completion-at-point, completion-help-at-point):
18354 Don't presume that a given completion-at-point-function will always
18355 use the same calling convention.
18356
8fff8daa
SM
18357 * pcomplete.el (pcomplete-completions-at-point):
18358 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18359 pcomplete-seen is non-nil.
18360 (pcomplete-comint-setup): Also recognize the new comint/shell
18361 completion functions.
18362 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18363 pcomplete-seen is non-nil.
18364
841a1577 183652011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18366
841a1577 18367 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18368 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18369 the first character in the entry. This allows for code to add its
211ec907
UJ
18370 own uid to the entry.
18371 (icalendar--convert-float-to-ical): Add export of
18372 `diary-float'-entries save for those with the optional DAY
18373 argument.
18374
2a782793
DC
183752011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18376
18377 * subr.el (shell-quote-argument): Use alternate escaping strategy
18378 when we spot a variable reference in a string.
18379
0438ce91
DC
183802011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18381
18382 * cus-start.el (all): Define customization for debug-on-event.
18383
841a1577 183842011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18385
18386 * subr.el (shell-quote-argument): Escape correctly under Windows.
18387
d090ed6c
SM
183882011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18389
18390 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18391
bfd31217
MA
183922011-04-25 Michael Albinus <michael.albinus@gmx.de>
18393
d090ed6c
SM
18394 * net/tramp.el (tramp-process-actions): Add POS argument.
18395 Delete region between POS and (pos).
bfd31217 18396
d090ed6c
SM
18397 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18398 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18399 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18400
18401 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18402 position in `tramp-process-actions' call.
18403
18404 * net/trampver.el: Update release number.
18405
e92f3bd3
SM
184062011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18407
850256b5
SM
18408 * custom.el (defcustom): Obey lexical-binding.
18409
e92f3bd3
SM
18410 Fix octave-inf completion problems reported by Alexander Klimov.
18411 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18412 Inherit from octave-mode-syntax-table.
18413 (inferior-octave-mode): Set info-lookup-mode.
18414 (inferior-octave-completion-at-point): New function.
18415 (inferior-octave-complete): Use it and completion-in-region.
18416 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18417 comint-filename-completion.
18418 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18419 symbol elements which shouldn't be word elements.
18420 (octave-font-lock-keywords, octave-beginning-of-defun)
18421 (octave-function-header-regexp): Adjust regexps accordingly.
18422 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18423
cd22b309
JB
184242011-04-25 Juanma Barranquero <lekktu@gmail.com>
18425
18426 * net/gnutls.el (gnutls-errorp): Declare before first use.
18427
8b492194
TZ
184282011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18429
18430 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18431 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18432 default trustfile exists before going to use it. Add missing
5a5fa834 18433 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18434 Reported by Claudio Bley <claudio.bley@gmail.com>.
18435 (open-gnutls-stream): Add usage example.
18436
18437 * net/network-stream.el (network-stream-open-starttls): Give host
18438 parameter to `gnutls-negotiate'.
18439 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18440 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18441
841a1577 184422011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18443
cd22b309
JB
18444 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18445 Use correct match group (bug#8438).
05842630 18446
3ba7869c
CY
184472011-04-24 Chong Yidong <cyd@stupidchicken.com>
18448
512e3ae1
CY
18449 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18450 (package-menu--generate): New arg specifying packages to show.
18451 (package-menu-refresh, package-menu-execute, list-packages):
18452 Callers changed.
18453 (package-show-package-list): New function, replacing deleted
18454 package--list-packages (renamed because it is non-internal).
18455
18456 * finder.el (finder-list-matches): Use package-show-package-list
18457 instead of deleted package--list-packages.
18458
e92f3bd3
SM
18459 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18460 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18461 (vc-annotate-mode-map): Bind it to RET.
18462
7031be6d
UR
184632011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18464
18465 * progmodes/etags.el (next-file): Don't use set-buffer to change
18466 buffers (Bug#8478).
18467
4ef177aa
CY
184682011-04-24 Chong Yidong <cyd@stupidchicken.com>
18469
c8d173eb
CY
18470 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18471
4ef177aa
CY
18472 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18473 (apropos-accumulator): Doc fix.
18474 (apropos-function, apropos-macro, apropos-command)
18475 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18476 (apropos-plist): Add face property.
18477 (apropos-symbols-internal): Fix indentation.
18478 (apropos-print): Simplify help, and recognize apropos-multi-type.
18479 (apropos-print-doc): Use button-type-get to extract the button's
18480 face property. Fill docstring (Bug#8352).
18481
4ffd0d6b 184822011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18483
18484 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18485
c6c32125 18486 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18487 (mpuz-mode-map): Use mapc.
c6c32125
JB
18488 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18489 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18490 Fix typos in docstrings.
18491
58d468b4
JB
18492 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18493 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18494
6470c3c6
JB
18495 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18496
4ffd0d6b 184972011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18498
18499 * minibuffer.el (completion--do-completion): Avoid the "Next char
18500 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18501
3ad8bad0
CY
18502 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18503 mouse-2 into unread-command-events, it is interpreted correctly.
18504
71d73c9c 18505 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18506 (image-toggle-display): Doc fix.
71d73c9c 18507
841a1577 185082011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18509
4ffd0d6b
GM
18510 * textmodes/page.el (what-page): Use line-number-at-pos to
18511 calculate line number (Bug#6825).
6e1dbaa9 18512
c2fb1b60
JB
185132011-04-22 Juanma Barranquero <lekktu@gmail.com>
18514
18515 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18516 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18517 Pass argument NO-DEFAULT to `find-tag-interactive'.
18518
e02f48d7
JB
185192011-04-22 Juanma Barranquero <lekktu@gmail.com>
18520
18521 Lexical-binding cleanup.
18522
18523 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18524 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18525 * progmodes/ada-prj.el (ada-prj-initialize-values)
18526 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18527 (ada-prj-show-value):
18528 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18529 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18530 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18531 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18532 * progmodes/bug-reference.el (bug-reference-push-button):
18533 * progmodes/fortran.el (fortran-line-length):
18534 * progmodes/glasses.el (glasses-change):
18535 * progmodes/octave-mod.el (octave-fill-paragraph):
18536 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18537 (python-pdbtrack-grub-for-buffer, python-sentinel):
18538 * progmodes/sql.el (sql-save-connection):
18539 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18540 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18541 Mark unused parameters.
18542
18543 * progmodes/compile.el (compilation--flush-directory-cache)
18544 (compilation--flush-parse, compile-internal): Mark unused parameters.
18545 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18546 (compilation-next-error-function): Remove unused variable `timestamp'.
18547
18548 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18549 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18550
18551 * progmodes/dcl-mode.el (dcl-end-of-command):
18552 Remove unused variable `start'.
18553 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18554 (dcl-option-value-basic, dcl-option-value-offset)
18555 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18556 Mark unused parameters.
18557 (dcl-save-local-variable): Remove unused variable `val'.
18558 (mode): Declare.
18559
18560 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18561 Mark unused parameters.
18562 (delphi-ignore-changes): Move before first use.
18563 (delphi-charset-token-at): Remove unused variable `start'.
18564 (delphi-else-start): Remove unused variable `if-count'.
18565 (delphi-comment-block-start, delphi-comment-block-end):
18566 Remove unused variable `kind'.
18567 (delphi-indent-line): Remove unused variable `new-point'.
18568
18569 * progmodes/ebrowse.el (ebrowse-files-list)
18570 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18571 Mark unused parameters. Don't quote `lambda'.
18572 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18573 Don't quote `lambda'.
18574 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18575 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18576 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18577 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18578 Use `ignore-errors'.
18579 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18580 (ebrowse-view/find-file-and-search-pattern)
18581 (ebrowse-view/find-member-declaration/definition):
18582 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18583 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18584 Rename parameter PREFIX-ARG to PREFIX.
18585 (ebrowse-tags-read-name): Remove unused variables `start' and
18586 `member-info'.
18587 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18588 to `tags-file'.
18589
18590 * progmodes/etags.el (local-find-tag-hook): Declare.
18591 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18592 Mark unused parameters.
18593
18594 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18595 (executable-interpret): Mark unused parameter.
18596
18597 * progmodes/flymake.el (flymake-process-sentinel)
18598 (flymake-after-change-function)
18599 (flymake-create-temp-with-folder-structure)
18600 (flymake-get-include-dirs-dot): Mark unused parameters.
18601 (flymake-safe-delete-directory): Remove unused variable `err'.
18602
18603 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18604 (speedbar-timer-fn, speedbar-line-text)
18605 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18606 (speedbar-center-buffer-smartly): Declare functions.
18607 (gdb-find-watch-expression): Remove unused variable `array'.
18608 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18609 (gdb-starting): Mark unused parameters.
18610 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18611 (gdb-table-string): Remove unused variable `res'.
18612 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18613 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18614 (gdb-display-buffer): Remove unused variable `cur-size'.
18615
18616 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18617 allow lexical-binding compilation.
18618 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18619 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18620 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18621 Mark unused parameters.
18622 (gud-gdb-marker-filter): Remove unused variable `match'.
18623 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18624 lambda expressions and funcall them, instead of using `fset'.
18625
18626 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18627 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18628
18629 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18630 variable `header-beg'; use `let'.
18631
18632 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18633 `restart', `last-sexp' and `at-do'.
18634
18635 * progmodes/js.el (js--debug): Mark unused parameter.
18636 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18637 (js--splice-into-items): Remove unused variable `item'.
18638 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18639
18640 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18641 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18642 (makefile-complete): Remove unused variable `try'.
18643 (makefile-fill-paragraph, makefile-match-function-end):
18644 Mark unused parameters.
18645
18646 * progmodes/octave-inf.el (inferior-octave-complete):
18647 Remove unused variable `proc'.
18648 (inferior-octave-output-digest): Mark unused parameter.
18649
18650 * progmodes/perl-mode.el (perl-calculate-indent):
18651 Remove unused variable `err'.
18652
18653 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18654 (prolog-indent-line): Mark unused parameters.
18655 (prolog-indent-line): Remove unused variable `beg'.
18656
18657 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18658 (reporter-dont-compact-list): Declare.
18659
18660 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18661 Remove unused variable `char'.
18662 (sh-debug): Mark unused parameter.
18663 (sh-get-indent-info): Remove unused variable `start'.
18664 (sh-calculate-indent): Remove unused variable `var'.
18665
18666 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18667 (simula-electric-keyword): Remove unused variable `null'.
18668 (simula-search-backward, simula-search-forward): Remove unused
18669 variables `begin' and `end'.
18670
18671 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18672 Remove unused variable `pos'.
18673 (vera-electric-tab, vera-comment-uncomment-region):
18674 Mark unused parameters.
18675 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18676
7ede3b65
CY
186772011-04-22 Chong Yidong <cyd@stupidchicken.com>
18678
18679 * emacs-lisp/package.el (package--builtins, package-alist)
18680 (package-load-descriptor, package-built-in-p, package-activate)
18681 (define-package, package-installed-p)
18682 (package-compute-transaction, package-buffer-info)
18683 (package--push): Doc fix. Distinguish more clearly between
18684 version strings and version lists.
18685
121656e9
JB
186862011-04-21 Juanma Barranquero <lekktu@gmail.com>
18687
18688 Lexical-binding cleanup.
18689
18690 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18691 (5x5-make-mutate-best):
18692 * play/fortune.el (fortune-in-buffer):
18693 * play/gomoku.el (gomoku-init-display):
18694 * play/solitaire.el (solitaire, solitaire-do-check):
18695 * play/tetris.el (tetris-default-update-speed-function):
18696 Mark unused parameters.
18697
18698 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18699 (bubbles--shift): Remove unused variable `char-org'.
18700 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18701 (bubbles--show-images): Remove unused variable `char'.
18702
18703 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18704 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18705 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18706 (decipher-analyze-buffer): Use ?\s.
18707 (decipher-make-checkpoint): Remove unused variable `mapping'.
18708
18709 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18710
18711 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18712 Remove unused variable `result'; use `let'.
18713
18714 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18715 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18716 (gametree-children-shown-p, gametree-compute-reduced-score):
18717 Use `ignore-errors'.
18718
18719 * play/handwrite.el (ps-lpr-switches): Declare.
18720 (handwrite): Remove unused variables `pmin' and `lastp'.
18721
18722 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18723
18724 * play/landmark.el (landmark-init-display)
18725 (landmark-update-naught-weights): Mark unused parameters.
18726 (landmark-y): Remove unused variable `noise'. Simplify.
18727 (landmark-human-plays): Remove unused variable `score'.
18728
18729 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18730 (mpuz-try-proposal): Remove unused variable `game'.
18731
18732 * play/zone.el (life-patterns): Declare.
18733
80f499c7
JB
187342011-04-20 Juanma Barranquero <lekktu@gmail.com>
18735
18736 * vc/vc.el (ediff-vc-internal): Declare function.
18737
024ff170
SM
187382011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18739
c0a193ea
SM
18740 * shell.el: Use lexical-binding and std completion UI.
18741 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18742 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18743 comint-preoutput-filter-functions rather than on
18744 comint-output-filter-functions.
18745 (shell-command-completion, shell--command-completion-data)
18746 (shell-filename-completion, shell-environment-variable-completion)
18747 (shell-c-a-p-replace-by-expanded-directory): New functions.
18748 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18749 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18750 (shell-dynamic-complete-environment-variable): Use them.
18751 (shell-dynamic-complete-as-environment-variable)
18752 (shell-dynamic-complete-as-command): Remove.
18753 (shell-match-partial-variable): Match past point.
18754 * comint.el: Clean up use of completion-at-point-functions.
18755 (comint-completion-at-point): New function.
18756 (comint-mode): Use it completion-at-point-functions.
18757 (comint-dynamic-complete): Make it obsolete.
18758 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18759 (comint-c-a-p-replace-by-expanded-history): New function.
18760 (comint-dynamic-complete-functions)
18761 (comint-replace-by-expanded-history): Use it.
18762 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18763 termination strings. Try harder to avoid second try-completion.
18764 (completion-in-region-mode-map): Disable bindings that don't work yet.
18765
2dbaa080
SM
18766 * comint.el: Use lexical-binding. Require CL.
18767 (comint-dynamic-complete-functions): Use comint-filename-completion.
18768 (comint-completion-addsuffix): Tweak custom type.
18769 (comint-filename-completion, comint--common-suffix)
18770 (comint--common-quoted-suffix, comint--table-subvert)
18771 (comint--complete-file-name-data): New functions.
18772 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18773 (comint-dynamic-list-filename-completions): Use them.
18774 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18775
2dbaa080
SM
18776 * minibuffer.el (completion-in-region-mode):
18777 Keep completion-in-region-mode--predicate global.
18778 (completion-in-region--postch):
18779 Assume completion-in-region-mode--predicate is not null.
18780
c79a6f38
SM
18781 * progmodes/flymake.el (flymake-start-syntax-check-process):
18782 Obey `dir'. Simplify.
18783
024ff170
SM
18784 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18785 we're in VC after all.
18786
1c6c854e
CS
187872011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18788
18789 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18790 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18791 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18792
bed7f140
SM
187932011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18794
332e62ab
SM
18795 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18796 add sanity check.
18797
bed7f140
SM
18798 * obsolete/erc-hecomplete.el: Make obsolete.
18799 * obsolete/: Standardize obsolescence info in the header.
18800
f195c582
GM
188012011-04-20 Glenn Morris <rgm@gnu.org>
18802
18803 * calendar/solar.el (solar-horizontal-coordinates):
18804 Use the longitude argument rather than `calendar-longitude'.
18805 (solar-date-next-longitude): Remove unused locals.
18806
cb79b8c0
VJL
188072011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18808
18809 * whitespace.el: New version 13.2.1.
18810
188112011-04-20 felix <EmacsWiki> (tiny change)
18812
d8e4b68b 18813 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18814 switching between major modes on a file.
18815
602ea69d
SM
188162011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18817
18818 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18819 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18820 multi-line comments as well.
18821
06b60517
JB
188222011-04-19 Juanma Barranquero <lekktu@gmail.com>
18823
18824 Lexical-binding cleanup.
18825
18826 * arc-mode.el (archive-mode-revert):
18827 * cmuscheme.el (scheme-interactively-start-process):
18828 * custom.el (custom-initialize-delay):
18829 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18830 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18831 * emacs-lock.el (emacs-lock-clear-sentinel):
18832 * ezimage.el (defezimage):
18833 * follow.el (follow-avoid-tail-recenter):
18834 * fringe.el (set-fringe-mode-1):
18835 * generic-x.el (bat-generic-mode-compile):
18836 * help-mode.el (help-info-variable, help-do-xref)
18837 (help-mode-revert-buffer):
18838 * help.el (view-emacs-todo):
18839 * iswitchb.el (iswitchb-completion-help):
18840 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18841 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18842 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18843 * locate.el (locate-update):
18844 * longlines.el (longlines-encode-region)
18845 (longlines-after-change-function):
18846 * outline.el (outline-isearch-open-invisible):
18847 * ps-def.el (declare-function, charset-dimension, char-width)
18848 (encode-char):
18849 * ps-mule.el (ps-mule-plot-string):
18850 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18851 (recentf-edit-list-select, recentf-edit-list-validate)
18852 (recentf-open-files-action):
18853 * rect.el (delete-whitespace-rectangle-line)
18854 (rectangle-number-line-callback):
18855 * register.el (window-configuration-to-register)
18856 (frame-configuration-to-register):
18857 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18858 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18859 (xselect-convert-to-targets, xselect-convert-to-delete)
18860 (xselect-convert-to-filename, xselect-convert-to-charpos)
18861 (xselect-convert-to-lineno, xselect-convert-to-colno)
18862 (xselect-convert-to-os, xselect-convert-to-host)
18863 (xselect-convert-to-user, xselect-convert-to-class)
18864 (xselect-convert-to-name, xselect-convert-to-integer)
18865 (xselect-convert-to-atom, xselect-convert-to-identity):
18866 * subr.el (declare, ignore, process-kill-without-query)
18867 (text-clone-maintain):
18868 * terminal.el (te-get-char, te-tic-sentinel):
18869 * tool-bar.el (tool-bar-make-keymap):
18870 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18871 * type-break.el (type-break-mode, type-break-noninteractive-query):
18872 * view.el (View-back-to-mark):
18873 * wid-browse.el (widget-browse-action, widget-browse-widget)
18874 (widget-browse-widgets, widget-browse-sexp):
18875 * widget.el (define-widget-keywords):
18876 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18877 Mark unused parameters.
18878
18879 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18880 (align-areas): Remove unused variable `look'.
18881 (align-region): Remove unused variables `real-end' and `pos-list'.
18882
18883 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18884
18885 * bindings.el (mode-line-modified, mode-line-remote):
18886 Mark unused parameters.
18887 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18888
18889 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18890 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18891
18892 * comint.el (comint-history-isearch-pop-state)
18893 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18894 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18895 (comint-substitute-in-file-name): Doc fix.
18896
18897 * completion.el (cmpl-statistics-block): Mark unused parameter.
18898 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18899 (save-completions-to-file, load-completions-from-file):
18900 Remove unused local variable `e'.
18901
18902 * composite.el (compose-chars): Remove unused variable `len'.
18903 (lgstring-insert-glyph): Remove unused variable `g'.
18904 (compose-glyph-string): Remove unused variables `ascent',
18905 `descent', `lbearing' and `rbearing'.
18906 (compose-glyph-string-relative): Remove unused variables
18907 `lbearing', `rbearing' and `wadjust'.
18908 (compose-gstring-for-graphic): Remove unused variables `header',
18909 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18910 (compose-gstring-for-terminal): Remove unused variables `header'
18911 and `nchars'. Use `let', not `let*'.
18912
18913 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18914 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18915 (Custom-buffer-done, custom-buffer-create-internal)
18916 (custom-browse-visibility-action, custom-browse-group-tag-action)
18917 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18918 (widget-magic-mouse-down-action, custom-toggle-parent)
18919 (custom-add-parent-links, custom-toggle-hide-variable)
18920 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18921 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18922 (custom-face-menu-create, custom-variable-menu-create, get)
18923 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18924 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18925 (customize-apropos): Remove unused variable `tests'.
18926 (custom-group-value-create): Remove unused variable `hidden-p'.
18927 (sort-fold-case): Declare.
18928
18929 * cus-theme.el (custom-reset-standard-faces-list)
18930 (custom-reset-standard-variables-list): Declare.
18931 (customize-create-theme, custom-theme-revert, custom-theme-write)
18932 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18933 Mark unused parameters.
18934
18935 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18936
18937 * delim-col.el (delimit-columns-max): Move defvar before first use.
18938
18939 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 18940 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
18941
18942 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18943 (auto-insert): Declare.
18944 (desktop-restore-file-buffer): Rename desktop-* parameters;
18945 mark unused ones.
18946 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18947 (desktop-buffer): Rename desktop-* parameters.
18948
18949 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18950 (dframe-reposition-frame-xemacs, dframe-help-echo)
18951 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18952 Mark unused parameters.
18953
18954 * dired-aux.el (backup-extract-version-start, overwrite-query)
18955 (overwrite-backup-query, rename-regexp-query)
18956 (rename-non-directory-query): Declare.
18957 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18958 (dired-add-entry): Remove unused variable `orig-file-name'.
18959 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18960 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18961 `dired-copy-preserve-time' directly.
18962 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18963 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18964
18965 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18966 (dired-virtual-revert, dired-make-relative-symlink):
18967 Mark unused parameters.
18968 (manual-program): Declare.
18969 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18970 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18971 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18972
18973 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18974
18975 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18976
18977 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18978 Declare.
18979
18980 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18981
18982 * electric.el (Electric-command-loop): Rename parameter
18983 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18984
18985 * expand.el (expand-in-literal): Remove unused variable `here'.
18986
18987 * facemenu.el (facemenu-add-new-color):
18988 Remove unused variable `docstring'.
18989
18990 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18991 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18992 (face-attr-construct): Mark unused parameter. Doc fix.
18993 (read-color): Remove unused variable `hex-string'.
18994
18995 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18996 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18997 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18998 (display-buffer-other-frame): Remove unused variable `old-window'.
18999 (kill-buffer-hook): Declare.
19000 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19001 Mark unused parameters.
19002 (after-find-file): Pass 1 to `auto-save-mode', not t.
19003
19004 * files-x.el (auto-insert): Declare.
19005 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19006
19007 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19008 variable `buf'. Mark unused parameter.
06b60517
JB
19009 (find-lisp-insert-directory): Mark unused parameter.
19010
19011 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19012 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19013 (format-common-tail): Remove, unused.
19014 (format-deannotate-region): Remove unused variable `loc'.
19015 (format-annotate-region): Remove unused variable `p'.
19016 (format-annotate-single-property-change): Remove unused variables
19017 `default' and `tail'.
19018
19019 * forms.el (read-file-filter): Declare.
19020 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19021
19022 * frame.el (frame-creation-function-alist): Mark unused parameter.
19023 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19024
19025 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19026 Remove unused parameters.
19027 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19028 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19029
19030 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19031 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19032 (hfy-prepare-tag-map): Mark unused parameters.
19033 (htmlfontify-buffer): Use `called-interactively-p'.
19034
19035 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19036 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19037 (ibuffer-do-occur): Mark unused parameters.
19038 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19039 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19040
19041 * ibuffer.el: Don't quote `lambda'.
19042 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19043 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19044 Mark unused parameters.
19045
19046 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19047 (ido-completing-read): Mark unused parameters.
19048 (ido-copy-current-word): Mark unused parameters;
19049 remove unused variable `name'.
19050 (ido-sort-merged-list): Remove unused parameter `dirs'.
19051
19052 * ielm.el (ielm-input-sender): Mark unused parameter.
19053 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19054 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19055 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19056 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19057 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19058
19059 * image-dired.el (image-dired-display-thumbs): Remove unused
19060 variables `curr-file' and `count'.
19061 (image-dired-remove-tag): Remove unused variable `start'.
19062 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19063 variable `curr-file'
19064 (image-dired-rotate-original): Remove unused variable `temp-file'.
19065 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19066 Remove unused variable `file'.
19067 (image-dired-gallery-generate): Remove unused variable `curr'.
19068 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19069
19070 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19071
19072 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19073
19074 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19075
19076 * isearch.el (minibuffer-history-symbol): Declare.
19077 (isearch-edit-string): Remove unused variable `err'.
19078 (isearch-message-prefix, isearch-message-suffix):
19079 Mark unused parameters.
19080
19081 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19082
19083 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19084
19085 * makesum.el (double-column): Remove unused variable `cnt'.
19086
19087 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19088 (ido-ignore-item-temp-list): Declare.
19089
19090 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19091 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19092 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19093 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19094 `mouse-col-delta'.
19095
19096 * mouse-sel.el (mouse-extend-internal):
19097 Remove unused variable `orig-window-frame'.
19098
19099 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19100 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19101 Move declarations before first use.
19102 (pcomplete-opt): Mark unused parameters; doc fix.
19103
19104 * proced.el (proced-revert): Mark unused parameter.
19105 (proced-send-signal): Remove unused variable `err'.
19106
19107 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19108 Rename parameter PREFIX-ARG to ARG.
19109 (ps-basic-plot-string, ps-basic-plot-whitespace):
19110 Mark unused parameters.
19111
19112 * replace.el (replace-count): Define.
19113 (occur-revert-function): Mark unused parameters.
19114 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19115 (isearch-case-fold-search, isearch-string): Declare.
19116 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19117 bind `case-fold-search'. Remove unused variables `beg' and `end',
19118 and simplify.
19119 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19120 COUNT and bind `replace-count'.
19121 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19122 to COUNT.
19123
19124 * savehist.el (print-readably, print-string-length): Declare.
19125
19126 * shadowfile.el (shadow-expand-cluster-in-file-name):
19127 Remove unused variable `cluster'.
19128 (shadow-copy-file): Remove unused variable `i'.
19129 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19130 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19131 (shadow-define-literal-group, shadow-define-regexp-group)
19132 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19133
19134 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19135 (shell): Use `called-interactively-p'.
19136 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19137
19138 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19139 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19140 (delete-backward-char): Remove unused variable `ocol'.
19141 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19142 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19143 (event-apply-hyper-modifier, event-apply-shift-modifier)
19144 (event-apply-control-modifier, event-apply-meta-modifier):
19145 Mark unused parameters.
19146 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19147 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19148
19149 * speedbar.el (speedbar-ignored-directory-expressions)
19150 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19151 (speedbar-find-file, speedbar-dir-follow)
19152 (speedbar-directory-buttons-follow, speedbar-tag-find)
19153 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19154 (speedbar-buffers-line-directory, speedbar-buffer-click):
19155 Mark unused parameters.
19156 (speedbar-tag-file): Remove unused variable `mode'.
19157 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19158
19159 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19160
19161 * talk.el (talk): Remove unused variable `display'.
19162
19163 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19164 (tar-write-region-annotate): Mark unused parameter.
19165
19166 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19167 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19168 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19169 warning by another.
19170
19171 * time-stamp.el (time-stamp-string-preprocess):
19172 Remove unused variable `require-padding'.
19173
19174 * tree-widget.el (widget-glyph-enable): Declare.
19175 (tree-widget-action): Mark unused parameter.
19176
19177 * w32-fns.el (x-get-selection): Mark unused parameter.
19178 (autoload-make-program, generated-autoload-file): Declare.
19179
19180 * wdired.el (wdired-revert): Mark unused parameters.
19181 (wdired-xcase-word): Remove unused variable `err'.
19182
19183 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19184 (whitespace-help-scroll): Remove unused variable `data-help'.
19185
19186 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19187 (widget-image-insert, widget-after-change, default)
19188 (widget-default-format-handler, widget-default-notify)
19189 (widget-default-prompt-value, widget-info-link-action)
19190 (widget-url-link-action, widget-function-link-action)
19191 (widget-variable-link-action, widget-file-link-action)
19192 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19193 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19194 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19195 (widget-insert-button-action, widget-delete-button-action, visibility)
19196 (widget-documentation-link-action, widget-documentation-string-action)
19197 (widget-const-prompt-value, widget-regexp-match, symbol)
19198 (widget-coding-system-prompt-value)
19199 (widget-key-sequence-value-to-external, sexp)
19200 (widget-sexp-value-to-internal, character, vector, cons)
19201 (widget-choice-prompt-value, widget-boolean-prompt-value)
19202 (widget-color--choose-action): Mark unused parameters.
19203 (widget-item-match-inline, widget-choice-match-inline)
19204 (widget-checklist-match, widget-checklist-match-inline)
19205 (widget-group-match): Rename parameter VALUES to VALS.
19206 (widget-field-value-set): Remove unused variable `size'.
19207 (widget-color-action): Remove unused variables `value' and `start'.
19208
19209 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19210 variable `dir'. Doc fix.
06b60517
JB
19211 (windmove-find-other-window): Don't pass it.
19212
19213 * window.el (count-windows): Mark unused parameter.
19214 (bw-adjust-window): Remove unused variable `err'.
19215
19216 * woman.el (woman-file-name): Remove unused variable `default'.
19217 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19218 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19219 (global-font-lock-mode): Declare.
19220 (woman-decode-region): Mark unused parameter.
19221 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19222
19223 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19224 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19225 (x-dnd-handle-moz-url): Remove unused variable `title'.
19226 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19227
19228 * xml.el (xml-parse-tag, xml-parse-attlist):
19229 Remove unused variable `pos'.
19230
bc4f7f3d
GM
192312011-04-19 Glenn Morris <rgm@gnu.org>
19232
19233 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19234 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19235 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19236 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19237 * calendar/cal-html.el (cal-html-insert-minical):
19238 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19239 (calendar-mark-date-pattern):
19240 Prefix "unused" locals.
19241
19242 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19243 optional argument `style'.
19244
19245 * calendar/appt.el (appt-make-list):
19246 * calendar/cal-china.el (calendar-chinese-date-string):
19247 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19248 (diary-hebrew-yahrzeit):
19249 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19250 * calendar/calendar.el (calendar-generate-window):
19251 * calendar/time-date.el (time-to-days):
19252 Remove unused local variables.
19253
16a43933
CY
192542011-04-18 Chong Yidong <cyd@stupidchicken.com>
19255
19256 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19257 glyphless-char-display table.
19258 (tabulated-list-glyphless-char-display): New var.
19259
7eed1860
SS
192602011-04-18 Sam Steingold <sds@gnu.org>
19261
19262 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19263 to acknowledgments.
19264
4d2d1ccd
GM
192652011-04-17 Glenn Morris <rgm@gnu.org>
19266
19267 * calendar/diary-lib.el (diary-sexp-entry):
19268 * calendar/holidays.el (holiday-sexp):
19269 Set debug-on-error rather than the removed stack-trace-on-error.
19270
239da61d
GM
192712011-04-16 Glenn Morris <rgm@gnu.org>
19272
19273 * progmodes/f90.el: Use lexical-binding.
19274 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19275
8b05752a
SM
192762011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19277
daca8ba5
SM
19278 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19279 (mail-mode): Setup mailalias completion here instead.
19280 * mail/mailalias.el: Use lexical-binding.
19281 (pattern, mailalias-done): Declare dynamic.
19282 (mail-completion-at-point-function): New function, from mail-complete.
19283 (mail-complete): Use it.
19284 (mail-completion-expand): New function.
19285 (mail-get-names): Use it.
19286 (mail-directory, mail-directory-process, mail-directory-stream):
19287 Don't use `pattern' for lexically bound arg.
19288
6f542485
SM
19289 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19290
037e7c3f
SM
19291 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19292 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19293 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19294
8b05752a
SM
19295 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19296 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19297 (byte-interactive-p): Define them again, for use when inlining
19298 old code.
19299
49093f60
JB
193002011-04-15 Juanma Barranquero <lekktu@gmail.com>
19301
19302 * loadup.el: Use `string-to-number', not `string-to-int'.
19303
b5b8e7de
SM
193042011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19305
19306 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19307 gud-gdb-complete-command.
19308 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19309 (gud-gdb-completion-at-point): New function.
19310 (gud-gdb-completions): Remove.
19311
f42efeb5
MA
193122011-04-14 Michael Albinus <michael.albinus@gmx.de>
19313
49093f60
JB
19314 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19315 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19316 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19317 whether `executable-find' is bound.
f42efeb5
MA
19318
19319 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19320
e240cc21
SM
193212011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19322
19323 * minibuffer.el (completion-in-region-mode-predicate)
19324 (completion-in-region-mode--predicate): New vars.
19325 (completion-in-region, completion-in-region--postch)
19326 (completion-in-region-mode): Use them.
19327 (completion--capf-wrapper): Also return the hook function.
19328 (completion-at-point, completion-help-at-point):
19329 Adjust and provide a predicate.
c2bd2ab0
SM
19330
19331 Preserve arg names for advice of subr and lexical functions (bug#8457).
19332 * help-fns.el (help-function-arglist): Consolidate the subr and
19333 new-byte-code cases. Add argument `preserve-names' to extract names
19334 from the docstring when needed.
19335 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19336 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19337 (ad-arglist): Use help-function-arglist's new arg.
19338 (ad-definition-type): Use cond.
19339
c183f693
JB
193402011-04-13 Juanma Barranquero <lekktu@gmail.com>
19341
06641a47
JB
19342 * autorevert.el (auto-revert-handler):
19343 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19344 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19345 Don't quote lambda.
19346
c183f693
JB
19347 * image-mode.el (image-transform-set-scale):
19348 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19349
1e3b6001
G
193502011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19351
19352 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19353 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19354 Upgrades via gnutls-cli are too slow to be done opportunistically.
19355
2d6af8dd
JB
193562011-04-12 Juanma Barranquero <lekktu@gmail.com>
19357
19358 * dframe.el (dframe-current-frame): Remove spurious quote.
19359
c0749a51
GM
193602011-04-12 Glenn Morris <rgm@gnu.org>
19361
088d0d61
GM
19362 * calendar/cal-tex.el (cal-tex-end-document):
19363 Try to automatically use latin1 input if needed.
19364
c0749a51
GM
19365 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19366 Don't try to cons a mark onto an empty element.
19367
5c90fde0
LL
193682011-04-11 Leo Liu <sdl.web@gmail.com>
19369
19370 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19371 buffers.
19372 (ido-kill-buffer-at-head): Support killing virtual buffers.
19373
369e974d
CY
193742011-04-10 Chong Yidong <cyd@stupidchicken.com>
19375
19376 * minibuffer.el (completion-show-inline-help): New var.
19377 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19378 (minibuffer-force-complete, minibuffer-complete-word):
19379 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19380
19381 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19382 to avoid interference from inline help (Bug#5849).
19383
37f1c930
LL
193842011-04-10 Leo Liu <sdl.web@gmail.com>
19385
099c39a4
JB
19386 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19387 Fix typo.
37f1c930 19388
a32d4040
CY
193892011-04-09 Chong Yidong <cyd@stupidchicken.com>
19390
19391 * image-mode.el (image-toggle-display-image): Signal an error if
19392 not in Image mode.
19393 (image-transform-mode, image-transform-resize)
19394 (image-transform-set-rotation): Doc fix.
daca8ba5 19395 (image-transform-set-resize): Delete.
a32d4040
CY
19396 (image-transform-set-scale, image-transform-fit-to-height)
19397 (image-transform-fit-to-width): Handle image-toggle-display-image
19398 and image-transform-resize directly.
19399
099c39a4 194002011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19401
19402 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19403 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19404 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19405 (doc-view-mode-map): Add bindings for the new functions.
19406
099c39a4 194072011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19408
4d61f28d 19409 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19410 Fix typo in docstring.
19411
3726838a
EZ
194122011-04-08 Eli Zaretskii <eliz@gnu.org>
19413
04f33f1e
EZ
19414 * files.el (file-size-human-readable): Produce one digit after
19415 decimal, like "ls -lh" does.
19416
19417 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19418 the file size representation.
19419
3726838a
EZ
19420 * simple.el (list-processes): If async subprocesses are not
19421 available, error out with a clear error message.
19422
cbb59342
CY
194232011-04-08 Chong Yidong <cyd@stupidchicken.com>
19424
19425 * help.el (help-form-show): New function, to be called from C.
19426 Put help-form output in a buffer named differently than *Help*.
19427
e3971c44
EZ
194282011-04-08 Eli Zaretskii <eliz@gnu.org>
19429
19430 * files.el (file-size-human-readable): New function.
19431
19432 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19433 computing the representation inline. Don't require `cl'.
19434
12544bbe
GM
194352011-04-08 Glenn Morris <rgm@gnu.org>
19436
a1de6c6a
GM
19437 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19438
3c4671f4
GM
19439 * net/browse-url.el (browse-url-firefox):
19440 Test system-type, not system-configuration.
19441
b605679c
GM
19442 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19443 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19444 Use log-edit-empty-buffer-p. (Bug#7598)
19445
56442f0c
GM
19446 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19447 (rlogin-mode-map): Initialize in the defvar.
19448 (rlogin): Use ignore-errors.
19449
12544bbe
GM
19450 * replace.el (occur-mode-map): Some fixes for menu items.
19451
eb237b0f
AH
194522011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19453
19454 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19455
7d668f2c
CY
194562011-04-06 Chong Yidong <cyd@stupidchicken.com>
19457
e67a13ab
CY
19458 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19459 issuing unused warnings.
19460
19461 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19462 macro directly.
19463
7d668f2c
CY
19464 * simple.el: Lisp reimplement of list-processes. Based on an
19465 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19466 (process-menu-mode): New major mode.
19467 (list-processes--refresh, list-processes):
19468 (process-menu-visit-buffer): New functions.
19469
19470 * files.el (save-buffers-kill-emacs): Don't assume any return
19471 value of list-processes, which is undocumented anyway.
19472
a83ec3c9
CY
194732011-04-06 Chong Yidong <cyd@stupidchicken.com>
19474
19475 * emacs-lisp/tabulated-list.el: New file.
19476
e91a96fe
CY
19477 * emacs-lisp/package.el: Use Tabulated List mode.
19478 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19479 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19480 table format using Tabulated List mode variables.
19481 (package--push): New macro, replacing package-list-maybe-add.
19482 (package-menu--generate): Use package--push. Renamed from
19483 package--generate-package-list.
19484 (package-menu-refresh, list-packages): Use it.
daca8ba5 19485 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19486 Return insertion data instead of inserting it directly.
099c39a4
JB
19487 (package-menu-describe-package, package-menu-execute):
19488 Use tabulated-list-get-id.
e91a96fe
CY
19489 (package-menu-mark-delete, package-menu-mark-install)
19490 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19491 (package-menu-mark-obsolete-for-deletion):
19492 Use tabulated-list-put-tag.
e91a96fe
CY
19493 (package--list-packages, package-menu-revert)
19494 (package-menu-get-package, package-menu-get-version)
19495 (package-menu-sort-by-column): Functions deleted.
19496 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19497 (package-menu--status-predicate, package-menu--version-predicate)
19498 (package-menu--name-predicate)
19499 (package-menu--description-predicate): Handle arguments in the
19500 Tabulated List format.
19501 (package-list-packages-no-fetch): Call list-packages.
19502
3e214b50
JB
195032011-04-06 Juanma Barranquero <lekktu@gmail.com>
19504
19505 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19506 (after-find-file): Don't bind it.
3e214b50
JB
19507 (revert-buffer-in-progress-p): New variable.
19508 (revert-buffer): Bind it.
19509 Pass nil for `after-find-file-from-revert-buffer'.
19510
19511 * saveplace.el (save-place-find-file-hook): Use new variable
19512 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19513
3f0f1700
GM
195142011-04-06 Glenn Morris <rgm@gnu.org>
19515
c0274801
GM
19516 * Makefile.in (AUTOGEN_VCS): New variable.
19517 (autoloads): Use $AUTOGEN_VCS.
19518
3f0f1700
GM
19519 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19520 * calendar/calendar.el (calendar-mode-map):
19521 Check for toolkit scroll bars. (Bug#8305)
19522
41ea9e48
CY
195232011-04-05 Chong Yidong <cyd@stupidchicken.com>
19524
19525 * minibuffer.el (completion-in-region--postch)
19526 (completion-in-region-mode): Remove unnecessary messages.
19527
6194c800
JB
195282011-04-05 Juanma Barranquero <lekktu@gmail.com>
19529
33256f14
JB
19530 * font-lock.el (font-lock-refresh-defaults):
19531 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19532 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19533
6194c800
JB
19534 * info.el (Info-directory-list, Info-read-node-name-2)
19535 (Info-split-parameter-string): Doc fixes.
19536 (Info-virtual-nodes): Reflow docstring.
19537 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19538 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19539 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19540 Fix typos in docstrings.
19541 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19542 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19543 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19544 (Info-restore-desktop-buffer): Mark unused parameters.
19545 (Info-directory-find-file, Info-directory-find-node)
19546 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19547 (Info-virtual-index-find-node, Info-apropos-find-file)
19548 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19549 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19550 (Info-virtual-index): Remove unused local variable `nodename'.
19551
b87a8200 195522011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19553
b87a8200
DD
19554 * net/rcirc.el: Update my e-mail address.
19555 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19556
3b2ff876
CY
195572011-04-05 Chong Yidong <cyd@stupidchicken.com>
19558
19559 * startup.el (command-line): Save the cursor's theme-face
19560 directly, instead of using face-override-spec.
19561
19562 * custom.el (load-theme): Minor optimization in assigning faces.
19563
8d17e7ca
JB
195642011-04-04 Juanma Barranquero <lekktu@gmail.com>
19565
19566 * help-fns.el (describe-variable): Complete all variables having
19567 documentation, including keywords.
19568 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19569
2fbc1934
JB
195702011-04-04 Juanma Barranquero <lekktu@gmail.com>
19571
19572 Convert to lexical-binding.
19573
19574 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19575 (bs--get-marked-string, bs--get-modified-string)
19576 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19577 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19578 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19579
19580 * ehelp.el (electric-help-execute-extended)
19581 (electric-help-ctrl-x-prefix):
19582 * hexl.el (hexl-revert-buffer-function):
19583 * linum.el (linum-after-change, linum-after-scroll):
19584 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19585
19586 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19587
74f50695
DU
195882011-04-04 Daiki Ueno <ueno@unixuser.org>
19589
19590 * epa-dired.el:
19591 * epa-mail.el:
19592 * epa-hook.el:
19593 * epa-file.el:
19594 * epa.el:
19595 * epg.el: Use lexical binding.
19596
c11325f7
CY
195972011-04-03 Chong Yidong <cyd@stupidchicken.com>
19598
0d9e9a12
CY
19599 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19600
c11325f7 19601 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19602 dictionary case for flyspell-mark-duplications-exceptions.
19603 Use regexp matching for languages.
c11325f7
CY
19604 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19605 default dictionary (Bug#7926).
19606
da91b5f2
CY
196072011-04-02 Chong Yidong <cyd@stupidchicken.com>
19608
099c39a4
JB
19609 * emacs-lisp/package.el (package--with-work-buffer):
19610 Recognize https URLs.
da91b5f2 19611
099c39a4
JB
19612 * net/network-stream.el: Move from gnus/proto-stream.el.
19613 Change prefix to network-stream throughout.
da91b5f2
CY
19614 (open-protocol-stream): Merge into open-network-stream, leaving
19615 open-protocol-stream as an alias. Handle nil BUFFER args.
19616
19617 * subr.el (open-network-stream): Move to net/network-stream.el.
19618
afa8e9f6
GM
196192011-04-02 Glenn Morris <rgm@gnu.org>
19620
1d2e369d
GM
19621 * find-dired.el (find-exec-terminator): New option.
19622 (find-ls-option): Test for -ls support.
19623 (find-ls-subdir-switches): Test for -b in find-ls-option.
19624 (find-dired, find-grep-dired): Doc fixes.
19625 (find-dired): Use find-exec-terminator.
19626
8abb7da8 19627 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19628 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19629 (find-name-arg): Remove purecopy.
8abb7da8 19630
f3ca7378
GM
19631 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19632 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19633 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19634 accordingly. Don't add the null-device if not needed.
19635
afa8e9f6
GM
19636 * files.el (save-some-buffers): Doc fix.
19637
35eae264
EZ
196382011-04-02 Eli Zaretskii <eliz@gnu.org>
19639
19640 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19641
26b51db5
JB
196422011-04-01 Juanma Barranquero <lekktu@gmail.com>
19643
19644 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19645 Use `dolist' rather than `mapcar'.
19646
7200d79c
SM
196472011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19648
03408648 19649 Add lexical binding.
7200d79c 19650
03408648
SM
19651 * subr.el (apply-partially): Use new closures rather than CL.
19652 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19653 (dolist, dotimes): Use slightly different expansion for lexical code.
19654 (functionp): Move to C.
19655 (letrec): New macro.
19656 (with-wrapper-hook): Use it and apply-partially instead of CL.
19657 (eval-after-load): Preserve lexical-binding.
19658 (save-window-excursion, with-output-to-temp-buffer): Turn them
19659 into macros.
7200d79c 19660
03408648
SM
19661 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19662
19663 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19664 than the arglist.
19665 (help-add-fundoc-usage): Don't add `Not documented'.
19666 (help-function-arglist): Handle closures, subroutines, and new
19667 byte-code-functions.
19668 (help-make-usage): Remove leading underscores.
19669 (describe-function-1): Handle closures.
19670 (describe-variable): Use special-variable-p for completion.
19671
19672 * files.el (lexical-binding): Declare safe.
f488fb65 19673
03408648
SM
19674 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19675 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19676 (pcase): Add `let' pattern.
19677 Change memoization so it actually works.
19678 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19679 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19680 <let>: New case.
f488fb65 19681
03408648
SM
19682 * emacs-lisp/macroexp.el: Use lexical binding.
19683 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19684 Don't convert ' to #' without checking that it's indeed quoting
19685 a lambda.
19686
19687 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19688 Use eval-sexp-add-defvars.
03408648
SM
19689 (eval-sexp-add-defvars): New fun.
19690
19691 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19692
19693 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19694 Don't autoload.
19695 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19696 than the internal `byte-compile-lambda'.
19697 (defmethod): Don't hide code under quotes.
19698 (eieio-defmethod): New `code' argument.
19699
19700 * emacs-lisp/eieio-comp.el: Remove.
19701
19702 * emacs-lisp/edebug.el (edebug-eval-defun)
19703 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19704 (edebug-toggle): Avoid `eval'.
19705
19706 * emacs-lisp/disass.el (disassemble-internal): Handle new
19707 `closure' objects.
19708 (disassemble-1): Handle new byte codes.
19709
19710 * emacs-lisp/cl.el (pushnew): Silence warning.
19711
19712 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19713 (cl-byte-compile-throw): Remove.
19714 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19715
19716 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19717 closures.
19718
19719 * emacs-lisp/cconv.el: New file.
19720
19721 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19722 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19723 (byte-compile-initial-macro-environment):
19724 Handle declare-function here.
19725 (byte-compile--lexical-environment): New var.
19726 (byte-stack-ref, byte-stack-set, byte-discardN)
19727 (byte-discardN-preserve-tos): New lap codes.
19728 (byte-interactive-p): Don't use any more.
19729 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19730 New macros.
19731 (byte-compile-lapcode): Use them and handle new lap codes.
19732 (byte-compile-obsolete): Remove.
19733 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19734 (byte-compile-arglist-warn): Check late def of inlinable funs.
19735 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19736 since they should have been expanded by now.
19737 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19738 (byte-compile-from-buffer): Remove unused second arg.
19739 (byte-compile-preprocess): New function.
19740 (byte-compile-toplevel-file-form): New function to distinguish
19741 file-form calls from outside from file-form calls from hunk-handlers.
19742 (byte-compile-file-form): Simplify.
19743 (byte-compile-file-form-defsubst): Remove.
19744 (byte-compile-file-form-defmumble): Simplify now that
19745 byte-compile-lambda always returns a byte-code-function.
19746 (byte-compile): Preprocess.
19747 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19748 Remove, not used any more.
19749 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19750 (byte-compile-make-args-desc): New funs.
19751 (byte-compile-lambda): Handle lexical functions. Always return
19752 a byte-code-function.
19753 (byte-compile-reserved-constants): New var, to make up room for
19754 closed-over variables.
19755 (byte-compile-constants-vector): Obey it.
19756 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19757 (byte-compile-macroexpand-declare-function): New function.
19758 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19759 byte-code-functions.
19760 (byte-compile-form): Check obsolescence here.
19761 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19762 (byte-compile-variable-ref): Remove.
19763 (byte-compile-dynamic-variable-op): New fun.
19764 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19765 (byte-compile-variable-set): New funs.
19766 (byte-compile-discard): Add 2 args.
19767 (byte-compile-stack-ref, byte-compile-stack-set)
19768 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19769 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19770 macroexpand-all instead.
19771 (byte-compile-quote-form): Remove.
19772 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19773 (byte-compile-bind, byte-compile-unbind): New funs.
19774 (byte-compile-let): Handle let* and lexical binding.
19775 (byte-compile-let*): Remove.
19776 (byte-compile-catch, byte-compile-unwind-protect)
19777 (byte-compile-track-mouse, byte-compile-condition-case):
19778 Handle a new :fun-body form, used for lexical scoping.
19779 (byte-compile-save-window-excursion)
19780 (byte-compile-with-output-to-temp-buffer): Remove.
19781 (byte-compile-defun): Simplify.
19782 (byte-compile-stack-adjustment): New fun.
19783 (byte-compile-out): Use it.
19784 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19785
19786 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19787 handler any more.
19788
19789 * emacs-lisp/byte-opt.el: Use lexical binding.
19790 (byte-inline-lapcode): Remove (to bytecomp).
19791 (byte-compile-inline-expand): Pay attention to inlining to/from
19792 lexically bound code.
19793 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19794 any more.
19795 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19796 any more and don't call compiler-macros.
19797 (byte-compile-splice-in-already-compiled-code): Remove.
19798 (byte-code): Don't inline any more.
19799 (disassemble-offset): Receive `bytes' as argument rather than via
19800 dynamic scoping.
19801 (byte-compile-tag-number): Declare before first use.
19802 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19803 `return' even if make-spliceable.
19804 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19805 obsolete interactive-p.
19806 (byte-optimize-lapcode): Optimize new lap-codes.
19807 Don't trip up on new form of `byte-constant' lap code.
19808
19809 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19810
19811 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19812
19813 * custom.el (custom-initialize-default, custom-declare-variable):
19814 Use `defvar'.
19815
19816 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19817 New variables.
19818 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19819 (COMPILE_FIRST): Add macroexp and cconv.
19820 * makefile.w32-in: Mirror changes in Makefile.in.
19821
19822 * vc/cvs-status.el:
19823 * vc/diff-mode.el:
19824 * vc/log-edit.el:
19825 * vc/log-view.el:
19826 * vc/smerge-mode.el:
19827 * textmodes/bibtex-style.el:
090bd7cb 19828 * textmodes/css-mode.el:
03408648
SM
19829 * startup.el:
19830 * uniquify.el:
da91b5f2
CY
19831 * minibuffer.el:
19832 * newcomment.el:
19833 * reveal.el:
19834 * server.el:
19835 * mpc.el:
19836 * emacs-lisp/smie.el:
19837 * doc-view.el:
19838 * dired.el:
03408648
SM
19839 * abbrev.el: Use lexical binding.
19840
0f0c1f27
EZ
198412011-04-01 Eli Zaretskii <eliz@gnu.org>
19842
19843 * info.el (info-display-manual): New function.
19844
c82b2579
SM
198452011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19846
19847 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19848
221ddf68
TH
198492011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19850
19851 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19852 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19853
cba6e77e
GM
198542011-03-31 Glenn Morris <rgm@gnu.org>
19855
e040639f
GM
19856 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19857
cba6e77e
GM
19858 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19859
6d0f1c9e
CS
198602011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19861
19862 * progmodes/python.el (python-default-interpreter)
19863 (python-python-command-args, python-jython-command-args)
19864 (python-which-shell, python-which-args, python-which-bufname)
19865 (python-file-queue, python-comint-output-filter-function)
19866 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19867 variables and functions.
19868
3e2d70fd
SM
198692011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19870
19871 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19872 (completion-in-region-mode): New minor mode.
19873 (completion-in-region): Use it.
19874 (completion-in-region--data, completion-in-region-mode-map): New vars.
19875 (completion-in-region--postch): New function.
19876 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19877 New vars.
19878 (completion--capf-wrapper): New function.
19879 (completion-at-point): Use it to track well-behavedness of
19880 hook functions.
19881 (completion-help-at-point): New command.
19882
f3e4086c
JM
198832011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19884
19885 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19886 syntax class to search for whitespace on a single line
19887 (Message-ID: <4D938140.4030905@redhat.com>).
19888
eb7ffc14
LL
198892011-03-30 Leo Liu <sdl.web@gmail.com>
19890
19891 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19892 New commands.
19893 (edit-abbrevs-map): Bind them here.
19894 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19895
d806ab68
KM
198962011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19897
19898 * allout.el (allout-hide-by-annotation, allout-flag-region):
19899 Reduce possibility of overlay leakage by making them volatile.
19900
19901 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19902 hash is not shared between buffers. Mode initialization is
19903 responsible for giving it a useful starting value.
19904 (allout-item-span): Reduce possibility of overlay leakage by
19905 making them volatile.
19906 (allout-widgets-count-buttons-in-region): Add diagnostic function
19907 for tracking down button overlay leaks.
19908
ea622834
LL
199092011-03-29 Leo Liu <sdl.web@gmail.com>
19910
19911 * ido.el (ido-read-internal): Use the default history var
19912 minibuffer-history if no HISTORY is specified.
19913
b62f8267
G
199142011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19915
03408648
SM
19916 * net/imap.el (imap-shell-open, imap-process-connection-type):
19917 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
19918 Kerberos, SSL, other subprocesses.
19919
947b6566
LL
199202011-03-28 Leo Liu <sdl.web@gmail.com>
19921
19922 * abbrev.el (abbrev-table-empty-p): New function.
19923 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19924 nonempty ones. (Bug#5937)
19925
5ffb62aa
JD
199262011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19927
19928 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19929
7a097943
LL
199302011-03-27 Leo Liu <sdl.web@gmail.com>
19931
19932 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19933 for foreground and background colors.
19934 (ansi-color-make-color-map): Adapt.
19935
c5b40130
LL
199362011-03-25 Leo Liu <sdl.web@gmail.com>
19937
1f48f7d2
LL
19938 * midnight.el (midnight-time-float): Remove. Note it calculates
19939 the microsecond component incorrectly and seconds-to-time does the
19940 same job.
625897ec 19941 Remove redundant (require 'timer).
1f48f7d2 19942
c5b40130
LL
19943 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19944 (ido-completions): Remove unused arguments. (Bug#8329)
19945
d86d2721
SM
199462011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19947
19948 * minibuffer.el (completion--flush-all-sorted-completions):
19949 Remove itself from hook.
19950 (completion-at-point): Let the functions perform the completion
19951 immediately and return nil or t.
19952 * comint.el (comint-dynamic-complete-functions): Now identical to
19953 completion-at-point-functions.
19954 (comint-dynamic-list-input-ring): Remove unused var `index'.
19955 (comint--match-partial-filename, comint--unquote&expand-filename):
19956 New funs, split from comint-match-partial-filename.
19957 (comint-dynamic-complete): Use completion-at-point.
19958 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19959
e8974c48
DA
199602011-03-24 Drew Adams <drew.adams@oracle.com>
19961
19962 * thingatpt.el: Support `defun'.
19963
def71b5e
LL
199642011-03-23 Leo Liu <sdl.web@gmail.com>
19965
cb5af48e
LL
19966 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19967
def71b5e
LL
19968 * help-mode.el (help-mode-finish): Tweak regexp.
19969
927c53e7
GM
199702011-03-23 Glenn Morris <rgm@gnu.org>
19971
18d05bed
GM
19972 * eshell/esh-opt.el (eshell-eval-using-options):
19973 Do not bind unused local variable `eshell-option-stub'.
19974
927c53e7
GM
19975 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19976
9d0da923
JB
199772011-03-22 Juanma Barranquero <lekktu@gmail.com>
19978
19979 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19980 keymap variable in `with-no-warnings' to avoid a warning when the
19981 keymap has been already `defconst'ed.
19982
4b978a67
LL
199832011-03-22 Leo Liu <sdl.web@gmail.com>
19984
19985 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19986 encode all chars in abbrevs; otherwise use emacs-mule or
19987 utf-8-emacs. (Bug#8308)
19988
5fd62452
JB
199892011-03-22 Juanma Barranquero <lekktu@gmail.com>
19990
0b1596c6
JB
19991 * simple.el (backward-delete-char-untabify):
19992 Avoid warning about using `delete-backward-char'.
19993
5fd62452
JB
19994 * image.el (image-type-file-name-regexps): Make it variable.
19995 `imagemagick-register-types' modifies it, and the user may want
19996 to add new extensions for known image types.
19997 (imagemagick-register-types): Throw error if not using ImageMagick.
19998
0b4e93f1
LL
199992011-03-22 Leo Liu <sdl.web@gmail.com>
20000
20001 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20002 located before rcirc-prompt-end-marker.
20003 (rcirc-complete): Error if point is not after rcirc prompt.
20004 Handle the case when table is nil.
9882e214 20005 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20006
fccee4ab
CY
200072011-03-22 Chong Yidong <cyd@stupidchicken.com>
20008
20009 * custom.el (custom--inhibit-theme-enable): Make it affect only
20010 custom-theme-set-variables and custom-theme-set-faces.
20011 (provide-theme): Ignore custom--inhibit-theme-enable.
20012 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20013 (custom-enabling-themes): Delete variable.
d86d2721
SM
20014 (enable-theme): Accept only loaded themes as arguments.
20015 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20016 (custom-enabled-themes): Forbid themes from setting this.
20017 Eliminate use of custom-enabling-themes.
20018 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20019
af896da6
LL
200202011-03-21 Leo Liu <sdl.web@gmail.com>
20021
20022 * ido.el (ido-read-internal): Add ido-selected to history instead
20023 of user input.
20024
78f64af0
SM
200252011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20026
20027 * subr.el (deferred-action-list, deferred-action-function):
20028 Mark obsolete.
20029
b16ac1ec
LL
200302011-03-21 Leo Liu <sdl.web@gmail.com>
20031
810f7698
LL
20032 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20033 change on 2011-02-13 (bug#8309).
20034
b16ac1ec
LL
20035 * minibuffer.el (read-file-name-function): Change default value.
20036 (read-file-name--defaults): Rename from read-file-name-defaults.
20037 (read-file-name-default): Rename from read-file-name.
20038 (read-file-name): Call read-file-name-function.
20039
4e05e67e
GM
200402011-03-21 Glenn Morris <rgm@gnu.org>
20041
20042 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20043 Doc fixes.
20044
4359915b
CY
200452011-03-21 Chong Yidong <cyd@stupidchicken.com>
20046
20047 * cus-theme.el: Add missing provide statement.
20048 (customize-create-theme): Extract theme value correctly.
20049 (custom-theme-visit-theme): Autoload.
20050 (customize-create-theme): Prompt before inserting default faces.
20051
1fe275ee
JB
200522011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20053
20054 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20055 units and musical notes.
20056
cd394be1 200572011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20058
20059 * ido.el (ido-read-internal): Use completing-read-default.
20060 (ido-completing-read): Fix compatibility with completing-read.
20061
7d476bde
CO
200622011-03-20 Christian Ohler <ohler@gnu.org>
20063
20064 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20065 (ert-delete-all-tests): Use `called-interactively-p' rather than
20066 `interactive-p'.
20067 (ert--make-xrefs-region): Respect END.
20068
fe0fb33e
CY
200692011-03-19 Chong Yidong <cyd@stupidchicken.com>
20070
ff854b0b
CY
20071 * dired-aux.el (dired-create-directory): Signal an error if the
20072 directory already exists (Bug#8246).
20073
fe0fb33e
CY
20074 * facemenu.el (list-colors-display): Call list-faces-display
20075 inside with-help-window.
20076 (list-colors-print): Use display property to align the final
20077 column, instead of checking window-width.
20078
576bce32
EZ
200792011-03-19 Eli Zaretskii <eliz@gnu.org>
20080
4d61f28d 20081 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20082 windows-nt systems.
20083 (emerge-protect-metachars): Quote correctly for ms-dos and
20084 windows-nt systems.
20085
89c41d68 200862011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20087
20088 * info.el (info-initialize): Replace all uses of `:' with
20089 path-separator for compatibility with non-Unix systems.
20090 Cache quoting of path-separator. (Bug#8258)
20091
b14e3e21 200922011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20093
20094 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20095 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20096 (mouse-avoidance-mode): Fix typos in docstrings.
20097
4525ce3e
CY
200982011-03-19 Chong Yidong <cyd@stupidchicken.com>
20099
20100 * startup.el (package-subdirectory-regexp): Move from package.el.
20101 Omit \\` and \\', and let callers add them.
20102
20103 * emacs-lisp/package.el (package-strip-version)
20104 (package-load-all-descriptors): Add \\` and \\' to
20105 package-subdirectory-regexp before using it.
20106 (package-untar-buffer): New arg DIR; ensure that file untars only
20107 into this expected directory. Remove superfluous delete-region.
20108 (package-unpack): Caller changed.
20109 (package-tar-file-info): Use package-subdirectory-regexp.
20110
a904a09a 201112011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20112
a904a09a
SM
20113 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20114 diff-mode-shared-map (bug#8284).
20115 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20116
201172011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20118
20119 * calendar/time-date.el (format-seconds): Use assoc instead of
20120 assoc-string, since assoc-string doesn't exist in XEmacs.
20121
171fc304
JB
201222011-03-17 Juanma Barranquero <lekktu@gmail.com>
20123
20124 * custom.el (custom-known-themes): Reflow docstring.
20125 (custom-theme-load-path): Fix typo in docstring.
20126 (load-theme): Fix typo in error message.
20127 (custom-available-themes, custom-variable-theme-value):
20128 Use `let', not `let*'.
20129
d71990a1
JB
201302011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20131
20132 * calc/README: Mention inclusion of musical notes.
20133
20134 * calc/calc-units.el (calc-lu-quant): Rename from
20135 `calc-logunits-quantity'.
20136 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20137 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20138 (calc-db): Rename from `calc-dblevel'.
20139 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20140 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20141 (calc-np): Rename from `calc-nplevel'.
20142 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20143 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20144 (calc-lu-plus): Rename from `calc-logunits-add'.
20145 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20146 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20147 (calc-lu-minus): Rename from `calc-logunits-sub'.
20148 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20149 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20150 (calc-lu-times): Rename from `calc-logunits-mul'.
20151 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20152 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20153 (calc-lu-divide): Rename from `calc-logunits-div'.
20154 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20155 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20156
20157 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20158 functions being autoloaded.
20159
20160 * calc/calc.el (calc-lu-power-reference): Rename from
20161 `calc-logunits-power-reference'.
20162 (calc-lu-field-reference): Rename from
20163 `calc-logunits-field-reference'.
20164
7a71b18d
GM
20165 * calc/calc-help.el (calc-l-prefix-help):
20166 Mention musical note functions.
d71990a1 20167
40c2934b
SM
201682011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20169
20170 * minibuffer.el (completion-all-sorted-completions):
20171 Use :completion-cycle-penalty text property if present.
20172
b0911414
KM
201732011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20174
20175 * allout.el (allout-yank-processing): Adjust for new rebulleting
20176 regime so bullet being yanked is used without prompting the user
20177 for a choice.
20178
8a05b668
JB
201792011-03-16 Juanma Barranquero <lekktu@gmail.com>
20180
20181 * startup.el (command-line): Warn the user that _emacs is deprecated.
20182
5ba5fb81
JB
201832011-03-16 Juanma Barranquero <lekktu@gmail.com>
20184
20185 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20186 (delphi-verbose, delphi-comment-face, delphi-string-face)
20187 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20188 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20189 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20190 (delphi-new-comment-line, delphi-font-lock-defaults)
20191 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20192 Fix typos in docstrings.
20193
2dab465b
KM
201942011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20195
5ba5fb81 20196 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20197 Invert the roles of character and string values for INSTEAD, so a
20198 string is used for the more common case of a defaulting prompt.
20199
0adf5618
SM
202002011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20201
20202 * progmodes/ruby-mode.el (ruby-backward-sexp):
20203 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20204 * play/gamegrid.el (gamegrid-make-face):
20205 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20206 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20207 * notifications.el (notifications-notify):
20208 * net/xesam.el (xesam-search-engines):
20209 * net/quickurl.el (quickurl-list-insert):
20210 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20211
d72700e5
CY
202122011-03-15 Chong Yidong <cyd@stupidchicken.com>
20213
20214 * startup.el (command-line): Update package subdirectory regexp.
20215
49c5410a
SM
202162011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20217
c6eee9aa
SM
20218 * allout.el (allout-abbreviate-flattened-numbering)
20219 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20220
49c5410a
SM
20221 * subr.el (read-char-choice): Only show the cursor after the prompt,
20222 not after the answer.
20223
047b2bb9
KR
202242011-03-15 Kevin Ryde <user42@zip.com.au>
20225
20226 * help-fns.el (variable-at-point): Skip leading quotes, if any
20227 (bug#8253).
20228
0a57d256
SM
202292011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20230
20231 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20232 warning message.
20233
77c992bc
MA
202342011-03-14 Michael Albinus <michael.albinus@gmx.de>
20235
20236 * shell.el (shell): When called interactively, offer to change the
20237 shell file name on remote hosts.
20238
eebc475d
TZ
202392011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20240
20241 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20242 integration for LDAP parameters. The host, base, user or binddn,
20243 and secret tokens can be specified in a netrc file, for instance.
20244 This is optional because an `auth-source' parameter must be
20245 specified in the search attributes.
20246
9d05d1ba
JB
202472011-03-13 Juanma Barranquero <lekktu@gmail.com>
20248
20249 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20250
09d9db2c
GM
202512011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20252
20253 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20254 into declaration. Remove redundant and harmful binding.
20255
202562011-03-12 Eli Zaretskii <eliz@gnu.org>
20257
20258 * files.el (file-ownership-preserved-p): Pass `integer' as an
20259 explicit 2nd argument to `file-attributes'. If the file's owner
20260 is the Administrators group on Windows, and the current user is
20261 Administrator, consider that a match.
20262
20263 * server.el (server-ensure-safe-dir): Consider server directory
20264 safe on MS-Windows if its owner is the Administrators group while
20265 the current Emacs user is Administrator. Use `=' to compare
20266 numerical UIDs, since they could be integers or floats.
20267
219bd536
JB
202682011-03-12 Juanma Barranquero <lekktu@gmail.com>
20269
20270 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20271
f3afd36b
MA
202722011-03-12 Michael Albinus <michael.albinus@gmx.de>
20273
20274 Sync with Tramp 2.2.1.
20275
20276 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20277
20278 * net/trampver.el: Update release number.
20279
3aaaa6f1
SM
202802011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20281
94642599
SM
20282 * progmodes/compile.el (compilation--previous-directory): Fix up
20283 various nil/dead-marker mismatches (bug#8014).
20284 (compilation-directory-properties, compilation-error-properties):
20285 Don't call it at a position past the one we're about to change.
20286
3aaaa6f1
SM
20287 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20288 Disable obsolescence warnings in the file that declares it.
20289
14239447
KM
202902011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20291
099c39a4
JB
20292 * allout-widgets.el (allout-widgets-tally):
20293 Initialize allout-widgets-tally as a hash table rather than nil to
20294 prevent mode-line redisplay warnings. Also, clarify the module
20295 description and fix a comment typo.
14239447 20296
135e287c
JB
202972011-03-11 Juanma Barranquero <lekktu@gmail.com>
20298
20299 * help-fns.el (describe-variable): Don't complete keywords.
20300 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20301
ffbf300e
CY
203022011-03-10 Chong Yidong <cyd@stupidchicken.com>
20303
ba08b241
CY
20304 * emacs-lisp/package.el (package-version-join): Impose a standard
20305 string representation for pre/alpha/beta version lists.
20306 (package-unpack-single): Standardize the directory name by passing
20307 it through package-version-join.
20308 (package-strip-rcs-id): Accept any version string that does not
20309 signal an error in version-to-list.
ffbf300e 20310
f346fd6b
MA
203112011-03-10 Michael Albinus <michael.albinus@gmx.de>
20312
20313 * simple.el (delete-trailing-whitespace): Return nil for the
20314 benefit of `write-file-functions'.
20315
ccb55d27
GM
203162011-03-10 Glenn Morris <rgm@gnu.org>
20317
5ceaac0c
GM
20318 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20319
02da65ff
GM
20320 * vc/vc-git.el (vc-git-program): New option.
20321 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20322 (vc-git--call): Use it.
20323
b2f603cc
GM
20324 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20325
5772caab
GM
20326 * cus-edit.el (Custom-newline): If no button at point, look
20327 for a subgroup button at start-of-line. (Bug#2298)
20328
ccb55d27
GM
20329 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20330
ec6ecaed
JD
203312011-03-10 Julien Danjou <julien@danjou.info>
20332
20333 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20334 `cursor-type' is nil.
20335
9d5aa01d
JB
203362011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20337
20338 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20339
b6a5875b
KM
203402011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20341
7a71b18d 20342 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20343 preserves the existing header prefix, rebulleting it if necessary,
20344 rather than replacing it. This is necessary for proper operation
20345 of cooperative addons like allout-widgets.
1154d12e
JB
20346 (allout-make-topic-prefix, allout-rebullet-heading):
20347 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20348 value as alternate bullet to be used, instead of prompting the user
20349 for a bullet character.
b6a5875b 20350
ee545c35
MA
203512011-03-09 Michael Albinus <michael.albinus@gmx.de>
20352
d86d2721
SM
20353 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20354 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20355 `tramp-default-port'.
20356
c47971d7
DD
203572011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20358
20359 * net/rcirc.el (rcirc-handler-001): Remove useless
20360 with-rcirc-process-buffer.
20361 (rcirc-check-auth-status): Swap arguments to string-match.
20362
13522cb4
GM
203632011-03-09 Glenn Morris <rgm@gnu.org>
20364
0be6f4f1
GM
20365 * shell.el (shell-mode):
20366 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20367
13522cb4
GM
20368 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20369 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20370
515de2e3
CY
203712011-03-08 Chong Yidong <cyd@stupidchicken.com>
20372
20373 * emacs-lisp/package.el (package-refresh-contents)
20374 (package-menu-execute): Use condition-case-no-debug.
20375
b511b994
MA
203762011-03-08 Michael Albinus <michael.albinus@gmx.de>
20377
20378 * simple.el (shell-command-to-string): Use `process-file'.
20379
20380 * emacs-lisp/package.el (package-tar-file-info): Handle also
20381 remote files.
20382
d86d2721
SM
20383 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20384 Use `equal' for upload base check.
b511b994 20385
25bbfb31
AM
203862011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20387
20388 * textmodes/texinfo.el (texinfo-environments):
20389 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20390
be996521
GM
203912011-03-08 Glenn Morris <rgm@gnu.org>
20392
e9c8529f
GM
20393 * cus-start.el (cursor-in-non-selected-windows):
20394 Fix :set quoting oddness. (Bug#8192)
20395
be996521
GM
20396 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20397 in some setf expressions. (Bug#2159)
20398
2bb5649e
CY
203992011-03-08 Chong Yidong <cyd@stupidchicken.com>
20400
20401 * custom.el (custom-available-themes): Return themes in
20402 alphabetical order.
20403
33383987 20404See ChangeLog.15 for earlier changes.
e3d51b27
MR
20405
20406;; Local Variables:
20407;; coding: utf-8
e3d51b27
MR
20408;; End:
20409
acaf905b 20410 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20411
20412 This file is part of GNU Emacs.
20413
20414 GNU Emacs is free software: you can redistribute it and/or modify
20415 it under the terms of the GNU General Public License as published by
20416 the Free Software Foundation, either version 3 of the License, or
20417 (at your option) any later version.
20418
20419 GNU Emacs is distributed in the hope that it will be useful,
20420 but WITHOUT ANY WARRANTY; without even the implied warranty of
20421 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20422 GNU General Public License for more details.
20423
20424 You should have received a copy of the GNU General Public License
20425 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.