* doc/lispref/keymaps.texi (Key Sequences): Avoid referring to Edit Macro mode.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
608d9d7c
CY
12012-10-23 Chong Yidong <cyd@gnu.org>
2
3 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4
4ff5b1b2
SM
52012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * subr.el (internal-temp-output-buffer-show): Rename from
8 temp-output-buffer-show, since previously compiled files expect this name.
9
ea1d4aac
GM
102012-10-23 Glenn Morris <rgm@gnu.org>
11
12 * image.el (image-type-from-file-name): If multiple types match,
13 return the first one that is supported. (Bug#9045)
14
eda82a31
GM
152012-10-22 Glenn Morris <rgm@gnu.org>
16
17 * image.el (imagemagick-enabled-types): Doc fix.
18
4f020bec
TA
192012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
20
21 * progmodes/which-func.el (which-func-current): The hash-table may have
22 an explicit nil (bug#12338).
23
c77d37e2
SM
242012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * electric.el (electric-pair-delete-selection-self-insert-function):
27 Rename to electric-pair-will-use-region, return a boolean.
28 (electric-pair-mode): Adjust accordingly. Don't require delsel.
29
30 * delsel.el (delete-selection-helper): Use a function instead of a hook.
31 (delete-selection-pre-hook): Use use-region-p.
32 (delete-selection-self-insert-function): Remove.
33 (self-insert-command): Obey self-insert-uses-region-functions.
34 (self-insert-iso): Revert to previous setting, since we don't actually
35 know what that command does.
36 (delete-selection-self-insert-hooks): Remove.
37
b1d39ccc
SL
382012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
39
40 * delsel.el (delete-selection-helper): New function, extracted from
41 delete-selection-pre-hook.
42 (delete-selection-pre-hook): Use it.
43 (delete-selection-self-insert-function): New function.
44 (delete-selection-self-insert-hooks): New hook.
45 (self-insert-command, self-insert-iso): Use it.
46 * electric.el (electric-pair-syntax): New function, extracted from
47 electric-pair-post-self-insert-function.
48 (electric-pair-post-self-insert-function): Use it.
49 (electric-pair-delete-selection-self-insert-function): New function.
50 (electric-pair-mode): Require delsel and setup
51 delete-selection-self-insert-hooks (bug#11520).
52
045ef729
CY
532012-10-20 Chong Yidong <cyd@gnu.org>
54
4c5d08a8
CY
55 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
56 no changes to show (Bug#12586).
57
045ef729
CY
58 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
59 list explicitly (Bug#12571).
60
3503c798 612012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 62
b1d39ccc
SL
63 * progmodes/flymake.el (flymake-create-temp-inplace):
64 Use file-truename.
79e1997a 65
2068905b
EZ
662012-10-20 Eli Zaretskii <eliz@gnu.org>
67
68 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
69
4c9e9550
JB
702012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
71
72 * calc/calc-units.el (math-extract-units): Properly extract powers
73 of units.
74
1a6e7e38
DC
752012-10-20 Daniel Colascione <dancol@dancol.org>
76
77 * frame.el (make-frame): Set x-display-name as we used to in order
78 to unbreak creating an X11 frame from an Emacs daemon started
79 without a display.
80
8e808318
SM
812012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
82
83 * minibuffer.el (minibuffer-force-complete): Make the next completion use
84 the same completion-field (bug@12221).
85
fb0104da
MR
862012-10-19 Martin Rudalics <rudalics@gmx.at>
87
88 * emacs-lisp/debug.el (debug): Record height of debugger window
89 also when debugger will be back (Bug#8789).
90
8c27235e
CY
912012-10-18 Chong Yidong <cyd@gnu.org>
92
93 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
94 Convert to defcustom.
95 (gdb-get-source-file): Don't bind pop-up-windows.
96
97 * progmodes/gud.el (gud-display-line): Don't specially re-use
98 other frames for the gdb-mi case (Bug#12648).
99
90eacf99
SM
1002012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
101
aaf0c300
SM
102 * emacs-lisp/advice.el: Clean up commentary a bit.
103 (ad-do-advised-functions, ad-with-originals): Use `declare'.
104 (byte-code-function-p): Never redefine.
105
90eacf99
SM
106 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
107
281c9d2b
GM
1082012-10-18 Glenn Morris <rgm@gnu.org>
109
40714e3d
GM
110 * dired.el (dired-sort-toggle): Some ls implementations only allow
111 a single option string. (Bug#12666)
112
281c9d2b
GM
113 * minibuffer.el (completion-cycle-threshold): Doc fix.
114
b278604e
KH
1152012-10-17 Kenichi Handa <handa@gnu.org>
116
90eacf99
SM
117 * international/mule.el (set-keyboard-coding-system):
118 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
119 Supply TERMINAL arg to set-input-meta-mode.
120
7ebc5f5a
MH
1212012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
122
123 * wdired.el (wdired-old-marks): New variable.
124 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
125 (wdired-do-renames): Move point with renamed file and don't lose
126 mark status (Bug#11795).
127
e5a94ec4
JL
1282012-10-16 Juri Linkov <juri@jurta.org>
129
130 * replace.el (query-replace-help): Mention multi-buffer replacement
131 keys in the Help message. (Bug#12655)
132
d18a0d24
CY
1332012-10-15 Chong Yidong <cyd@gnu.org>
134
135 * emacs-lisp/byte-run.el (defsubst): Doc fix.
136
8111f5e6
EZ
1372012-10-14 Eli Zaretskii <eliz@gnu.org>
138
7b9abf24
EZ
139 * window.el (display-buffer): Doc fix.
140
8111f5e6
EZ
141 * progmodes/compile.el (compilation-error-regexp-alist-alist):
142 Adjust the msft regexp to the output of Studio 2010, and move msft
143 before edg-1. See the discussion on emacs-devel,
144 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
145 for the details.
146
5046ef67
SM
1472012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
148
9760c73c
SM
149 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
150 (oset): Move uses of object-class-fast macro after its definition.
151
5046ef67
SM
152 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
153
0d11ff1c
CY
1542012-10-13 Chong Yidong <cyd@gnu.org>
155
156 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
157 enabled, re-enable it (Bug#11963).
158
88ded8ac
MR
1592012-10-13 Martin Rudalics <rudalics@gmx.at>
160
161 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
162 non-nil, restore window configuration (Bug#12623).
163
bd0ffffd
SM
1642012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
165
06485aa8
SM
166 * help-fns.el (describe-variable, describe-function-1):
167 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
168
bd0ffffd
SM
169 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
170
3a989246
GM
1712012-10-12 Glenn Morris <rgm@gnu.org>
172
173 * mail/rmailsum.el (rmail-header-summary):
174 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
175
55cd00c8
FEG
1762012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
177
bd0ffffd
SM
178 * progmodes/python.el (python-mode-map):
179 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
180 (python-nav--up-list): Fix behavior for blocks on the same level.
181
ac9fc2c7
SM
1822012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
183
d8cc4c00 184 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 185
5253a5fd
SM
186 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
187 changes to the format of load-history.
188
ac9fc2c7
SM
189 * international/mule-cmds.el (read-char-by-name): Move let-binding of
190 completion-ignore-case in case that var is buffer-local (bug#12615).
191
cde44a77
KH
1922012-10-11 Kenichi Handa <handa@gnu.org>
193
194 * international/eucjp-ms.el: Re-generated.
195
4ef4a10d
KH
1962012-10-10 Kenichi Handa <handa@gnu.org>
197
198 * select.el (xselect--encode-string): If a coding is specified for
199 selection, and that is compatible with COMPOUND_TEXT, use it.
200
9d7f027b
MR
2012012-10-10 Martin Rudalics <rudalics@gmx.at>
202
203 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
204 (switch-to-buffer):
205 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 206
238f3a58
SM
2072012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
210 Don't document nil as a useful value (bug#12583).
211
1d51f99c
MA
2122012-10-09 Michael Albinus <michael.albinus@gmx.de>
213
238f3a58
SM
214 * net/tramp.el (tramp-debug-message):
215 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
216 (with-tramp-progress-reporter): Rename from
217 `tramp-with-progress-reporter'.
238f3a58
SM
218 (with-tramp-file-property, with-tramp-connection-property):
219 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
220 `with-connection-property', respectively.
221
222 * net/tramp-cache.el: Remove `with-file-property' and
223 `with-connection-property'.
224
225 * net/tramp.el:
226 * net/tramp-gvfs.el:
227 * net/tramp-sh.el:
228 * net/tramp-smb.el: Adapt callees.
229
230 * net/trampver.el: Update release number.
231
26b77251
GM
2322012-10-09 Glenn Morris <rgm@gnu.org>
233
9a5f296f
GM
234 * w32-fns.el (set-message-beep):
235 * term/w32-win.el (set-message-beep): Update declarations.
236
94c66ce5
SM
2372012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
238
10766e9e
SM
239 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
240 (mode-line-widen, mode-line-input-method-map)
241 (mode-line-coding-system-map, mode-line-remote)
242 (mode-line-unbury-buffer, mode-line-bury-buffer)
243 (mode-line-next-buffer, mode-line-previous-buffer):
244 Replace save-selected-window+select-window => with-selected-window.
245
f754db08
SM
246 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
247 * progmodes/cc-vars.el (bq-process): Remove, unused.
248
94c66ce5
SM
249 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
250
a4ff7fe1
FEG
2512012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
252
253 Implemented `backward-up-list'-like navigation.
254 * progmodes/python.el (python-nav-up-list)
255 (python-nav-backward-up-list): New functions.
256 (python-mode-map): Define substitute key for backward-up-list to
257 python-nav-backward-up-list.
258
24517d82
FEG
2592012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
260
261 * progmodes/python.el (python-fill-paragraph): Rename from
262 python-fill-paragraph-function. Fixed fill-paragraph for
263 decorators (Bug#12605).
264
51867ae2
FEG
2652012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
266
267 * progmodes/python.el (python-shell-output-filter): Handle extra
268 carriage return in OSX (Bug#12409).
269
a5b773c4
FEG
2702012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
271
272 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 273 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
274 (python-syntax-propertize-function): Use it.
275 (python-shell-output-syntax-table): New var.
276 (inferior-python-mode): Prevent unbalanced parens/quotes from
277 previous output mess with current input context.
278
13373538
JB
2792012-10-08 Juanma Barranquero <lekktu@gmail.com>
280
281 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
282 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
283
775a132d
MA
2842012-10-08 Michael Albinus <michael.albinus@gmx.de>
285
286 * ffap.el (ffap-replace-file-component): Support Tramp file name
287 syntax, not only ange-ftp's one.
288
3ab44929
GM
2892012-10-08 Glenn Morris <rgm@gnu.org>
290
57f1dee4
GM
291 * cus-start.el (message-log-max): Set :version.
292
3ab44929
GM
293 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
294
6a088630
MR
2952012-10-08 Martin Rudalics <rudalics@gmx.at>
296
297 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
298 the minibuffer window (Bug#10851).
299
8dbce54c
FEG
3002012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
301
302 Enhancements on forward-sexp movement.
303 * progmodes/python.el (python-nav-beginning-of-statement)
304 (python-nav-end-of-statement): Return point-marker.
305 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
306 (python-info-current-symbol)
307 (python-info-statement-starts-block-p): Rename from
308 python-info-beginning-of-block-p.
309 (python-info-statement-ends-block-p): Rename from
310 python-info-end-of-block-p.
311 (python-info-beginning-of-statement-p)
312 (python-info-end-of-statement-p)
313 (python-info-beginning-of-block-p, python-info-end-of-block-p):
314 New functions.
315
5acd2b3e
SM
3162012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
317
318 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
319 frame-selected-windows.
320
e08348a0
DC
3212012-10-08 Daniel Colascione <dancol@dancol.org>
322
323 * battery.el (battery-status-function): Check for
324 w32-battery-status itself, not system-time windows-nt.
325
326 * frame.el: Require cl-lib.
327 (display-format-alist): New variable mapping frame types to
328 functions that initialize them.
329 (window-system-for-display): New function: interprets
330 display-format-alist.
331 (make-frame-on-display): Remove existing display-selection logic
332 and just forward to make-frame, which will now DTRT.
333 (make-frame): Restructure to use window-system-for-display to
334 figure out how to create a frame on a given display.
335 (display-mouse-p): Look for frame-type w32, not a particular
336 system-type.
337
338 * loadup.el: Load w32 lisp code when we have the w32 feature.
339
340 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
341 system-type windows-nt.
342
343 * server.el (server-create-window-system-frame): Look for window
344 type.
345 (server-proces-filter): Only force a window system when windows-nt
346 _and_ w32. Explain why.
347
348 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
349 of window systems we configure for the mode.
350
351 * startup.el (command-line): Mark window system is initialized
352 after we've done it.
353
354 * common-win.el (x-select-text): Look for w32, not windows-nt.
355
356 * ns-win.el: Require cl-lib. Add ourselves to
357 display-format-alist.
358 (ns-initialize-window-system): Assert we're not initialized twice.
359
360 * w32-win.el: Enable lexical binding; require cl-lib; add
361 ourselves to display-format-alist.
362 (w32-handle-dropped-file): Convert incoming dropped files from
363 Windows paths to Cygwin ones before passing them on to the rest of
364 Emacs.
365 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
366 (w32-initialize-window-system): Assert we're not initialized twice.
367
368 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
369 (x-initialize-window-system): Assert we're not initialized twice.
370
371 * w32-common-fns.el: New File.
372 (w32-version, w32-using-nt, w32-get-clipboard-data)
373 (w32-set-clipboard-data, x-set-selection, x-get-selection)
374 (w32-charset-info-alist, x-last-selected, text)
375 (x-get-selection-value, x-selection-value): Move here.
376
377 * w32-fns.el: Require w32-common-fns.
378 (w32-version, w32-using-nt, w32-get-clipboard-data)
379 (w32-set-clipboard-data, x-set-selection, x-get-selection)
380 (w32-charset-info-alist, x-last-selected, text)
381 (x-get-selection-value, x-selection-value): Move to
382 w32-common-fns.
383
384 * w32-vars.el:
385 (w32-allow-system-shell, w32-system-shells): Define only in
386 non-cygwin case.
387
795b1482
SM
3882012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
391 (read-passwd): Remove a few more potential sources of leaks.
392
f27c99dc
FEG
3932012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
394
395 * progmodes/python.el (inferior-python-mode)
795b1482 396 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
397 variables copied from parent buffer.
398
fcacb558
JD
3992012-10-07 Jan Djärv <jan.h.d@swipnet.se>
400
401 * term/ns-win.el (ns-read-file-name): Update declaration to match
402 nsfns.m.
403 (ns-respond-to-change-font): Change fontsize separatly so we are sure
404 it is set when font is acted upon.
405
be0d5bae
FEG
4062012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
407
408 Enhancements to indentation.
409 * progmodes/python.el (python-indent-context): Give priority to
410 inside-string context. Make comments indentation markers.
411 (python-indent-region): Do not mess with strings, unless it's the
412 enclosing set of quotes.
413
13af0d10
SM
4142012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
415
662a9d0e
SM
416 * window.el (internal--before-save-selected-window)
417 (internal--after-save-selected-window): New functions extracted from
418 save-selected-window. Make sure we return the `alist' we construct.
419 (save-selected-window): Use them.
420
421 * textmodes/tex-mode.el (tex-recenter-output-buffer):
422 Use with-selected-window.
423
13af0d10
SM
424 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
425 forms that define macros (bug#12593).
426
6aa75fb6
KH
4272012-10-07 Kenichi Handa <handa@gnu.org>
428
13af0d10
SM
429 * international/mule-conf.el (compound-text-with-extensions):
430 Add :mime-charset property as x-ctext.
6aa75fb6 431
78d876b9
SM
4322012-10-07 Stefan Merten <smerten@oekonux.de>
433
434 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
435 (rst-indent-literal-normal, rst-indent-literal-minimized)
436 (rst-indent-comment): Correct :version tag.
557337e9 437 (rst-official-cvs-rev): Correct version string.
78d876b9 438
99a1e701
GM
4392012-10-07 Glenn Morris <rgm@gnu.org>
440
441 * mail/rmailmm.el (rmail-mime-process-multipart):
442 Do not confuse a multipart message with an epilogue
443 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
444
08f18c3d
FEG
4452012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
446
447 Fix shell output retrieval and comint-prompt-regexp init.
448 * progmodes/python.el (inferior-python-mode):
449 (python-shell-make-comint): Fix initialization of
450 comint-prompt-regexp from copied file local variables.
451 (python-shell-fetched-lines): Remove var.
452 (python-shell-output-filter-in-progress): Rename from
453 python-shell-fetch-lines-in-progress.
454 (python-shell-output-filter-buffer): Rename from
455 python-shell-fetch-lines-string.
456 (python-shell-fetch-lines-filter): Delete function.
457 (python-shell-output-filter): New function.
458 (python-shell-send-string-no-output): Use them.
459
82ed3ab4
GM
4602012-10-07 Glenn Morris <rgm@gnu.org>
461
1595ecfa
GM
462 * hi-lock.el (hi-lock-process-phrase):
463 Try to make it less fragile. (Bug#7161)
464
82ed3ab4
GM
465 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
466
f1f4dba0
GM
4672012-10-06 Glenn Morris <rgm@gnu.org>
468
addc11ed 469 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
470 non-existent mode `help'.
471 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 472
460042b8
GM
473 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
474 (reftex-create-bibtex-footer): Fix custom types.
475
67667c70
GM
476 * progmodes/sh-script.el (sh-indent-after-continuation):
477 Add explicit :group.
478
18dec750
GM
479 * textmodes/rst.el (rst-preferred-decorations)
480 (rst-shift-basic-offset): Clarify obsolescence versions.
481
d1a1c7e6
GM
482 * profiler.el (profiler): Add missing group :version tag.
483 * avoid.el (mouse-avoidance-banish-position):
484 * proced.el (proced-renice-command):
485 * calc/calc.el (calc-ensure-consistent-units):
486 * calendar/icalendar.el (icalendar-import-format-uid):
487 * net/tramp.el (tramp-save-ad-hoc-proxies):
488 * progmodes/bug-reference.el (bug-reference-bug-regexp):
489 * progmodes/flymake.el (flymake-error-bitmap)
490 (flymake-warning-bitmap, flymake-fringe-indicator-position):
491 * progmodes/sh-script.el (sh-indent-after-continuation):
492 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
493 (verilog-before-save-font-hook, verilog-after-save-font-hook):
494 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
495 (vhdl-array-index-record-field-in-sensitivity-list)
496 (vhdl-indent-comment-like-next-code-line):
497 * textmodes/reftex-vars.el (reftex-ref-style-alist)
498 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
499 (reftex-cite-key-separator, reftex-create-bibtex-header)
500 (reftex-create-bibtex-footer):
501 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
502 (rst-indent-literal-normal, rst-indent-literal-minimized)
503 (rst-indent-comment): Add missing custom :version tags.
504
ef35abb4
GM
505 * calendar/timeclock.el (timeclock-modeline-display):
506 Add missing obsolete alias for renamed user option.
507
d1aae614
GM
508 * strokes.el (strokes-modeline-string):
509 * emulation/crisp.el (crisp-mode-modeline-string):
510 * eshell/esh-mode.el (eshell-status-in-modeline):
511 Aliases to defcustoms must come before the defcustom.
512
f1f4dba0
GM
513 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
514 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
515 (cal-tex-cursor-week-monday): Doc fixes.
516 (cal-tex-cursor-week2-summary): Doc fix.
517 Rename from cal-tex-cursor-week-at-a-glance.
518
519 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
520 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
521
522 * calendar/calendar.el (calendar-mode-map):
523 Add cal-tex-cursor-week2-summary.
524
d39109c3
SM
5252012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
526
685f87b0
SM
527 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
528
d39109c3
SM
529 * subr.el (read-passwd-map): New var.
530 (read-passwd): Use `read-string' again.
531 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
532
5694896d
J
5332012-10-06 Jambunathan K <kjambunathan@gmail.com>
534
535 * register.el (append-to-register, prepend-to-register):
536 Deactivate mark, as does `copy-to-register' (bug#12389).
537
9414dd8d
CY
5382012-10-06 Chong Yidong <cyd@gnu.org>
539
540 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
541
2b89bca4
KH
5422012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
543
544 * international/characters.el: Fix simple mistake ((car chars) ->
545 elt), delete duplicated code.
546
d5acb99a
GM
5472012-10-06 Glenn Morris <rgm@gnu.org>
548
549 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
550
123ec157
JS
5512012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
552
553 * color.el (color-hsl-to-rgb): Fix incorrect results for
554 small and large hue values. (Bug#12559)
555
7fa36ccb
FEG
5562012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
557
558 Enhancements to docstring formatting when filling paragraphs.
559 * progmodes/python.el (python-fill-docstring-style): Rename from
560 python-fill-string-style. Added new style.
561 (python-fill-string): Use new style. Better checks for
562 docstrings.
563
d8788e1e
GM
5642012-10-05 Glenn Morris <rgm@gnu.org>
565
204f3953
GM
566 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
567
d8788e1e
GM
568 * color.el (color-name-to-rgb, color-rgb-to-hex)
569 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
570 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
571 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
572 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
573
8d956cef
GM
574 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
575
e8757f09 5762012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
577
578 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
579 to get the correct size across symlinks.
580
e8757f09
GM
581 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
582
0e2ae83d
JL
5832012-10-04 Juri Linkov <juri@jurta.org>
584
585 * replace.el (query-replace-interactive): Declare obsolete.
586 (query-replace-read-from): Add the last incremental search string
587 to the list of default values accessible via M-n.
588 (map-query-replace-regexp): Use `read-regexp'.
589 (query-replace, query-replace-regexp, query-replace-regexp-eval)
590 (map-query-replace-regexp, replace-string, replace-regexp):
591 Fix docstrings to replace mentions of `query-replace-interactive'
592 with alternatives. (Bug#12526)
593
93cacb6d
JL
5942012-10-04 Juri Linkov <juri@jurta.org>
595
596 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
597 (dired-pop-to-buffer): Declare obsolete.
598 (dired-mark-pop-up): Doc fix.
599
fc345011
FEG
6002012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
601
602 Allow user to set docstring style for fill-paragraph.
603 * progmodes/python.el
604 (python-fill-comment-function, python-fill-string-function)
605 (python-fill-decorator-function, python-fill-paren-function):
606 Remove :safe for defcustoms.
607 (python-fill-string-style): New defcustom
5694896d 608 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
609 (python-fill-string): Honor python-fill-string-style settings.
610
6bab5d8b
MR
6112012-10-04 Martin Rudalics <rudalics@gmx.at>
612
613 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
614 after setting its buffer (Bug#10805).
615
a1a9f411
FEG
6162012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
617
618 Fix cornercase for string syntax.
619 * progmodes/python.el (python-syntax-propertize-function):
620 Simplify and enhance the regexp for unescaped quotes. Now it also
621 matches quotes in weird situations like the single quote in
622 "something\"'".
623 (python-syntax-stringify): Simplify num-quotes detecting code.
624
05e153a6
GM
6252012-10-03 Glenn Morris <rgm@gnu.org>
626
627 * help-macro.el (three-step-help):
628 Revert 2012-09-29 change. (Bug#12567)
629
2e566ecb
MR
6302012-10-03 Martin Rudalics <rudalics@gmx.at>
631
96ef9ccd
MR
632 * menu-bar.el (kill-this-buffer): Don't do anything when
633 `menu-frame' is not alive or visible (Bug#8184).
634
2e566ecb
MR
635 * emacs-lisp/debug.el (debug): When quitting the debugger window
636 restore current buffer (Bug#12502).
637
a96e1cb7
CY
6382012-10-02 Chong Yidong <cyd@gnu.org>
639
5694896d
J
640 * progmodes/hideif.el (hif-lookup, hif-defined):
641 Handle semantic-c-takeover-hideif.
a96e1cb7 642
b3ecad33
PE
6432012-10-02 Paul Eggert <eggert@cs.ucla.edu>
644
645 Change sampling interval units from ms to ns.
646 * profiler.el (profiler-sampling-interval): Change units
647 from ms to ns, multiplying the default by 1000000 so that
648 it remains 1 ms.
649 (profiler-report-cpu-line-format): Give enough room for
650 the maximum counters on 64-bit hosts.
651 (profiler-report-render-calltree-1): Call them "CPU samples",
652 not "Time (ms)", since they are not milliseconds now (and
653 never really were).
654
8cb51b66 6552012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 656
5694896d
J
657 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
658 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 659
fd795bf4
CY
6602012-10-02 Chong Yidong <cyd@gnu.org>
661
662 * emacs-lisp/eieio.el: Restore Version header.
663
fe0a74f9
SM
6642012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
665
6be9197e
SM
666 * vc/diff-mode.el (diff--auto-refine-data): New var.
667 (diff-hunk): Use it to delay refinement.
668 (diff-mode): Remove overlays when we turn off font-lock.
669
18486139
SM
670 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
671 (table-initialize-table-fixed-width-mode)
672 (table-set-table-fixed-width-mode): Remove functions.
673 (table-command-list): Move initialization into declaration.
674 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
675 (table-with-cache-buffer): Use `declare'.
676 (table-span-cell): Simplify via CSE.
677 (table-fixed-width-mode): Use define-minor-mode.
678 (table-call-interactively, table-funcall, table-apply): Remove.
679 (table-function): New function, to replace them.
680
d83ef976
SM
681 * bookmark.el (bookmark-search-pattern): Remove var.
682 (bookmark-read-search-input): Remove function.
683 (bookmark-bmenu-search): Reimplement using a minibuffer.
684
cd386662
SM
685 * faces.el (modeline): Remove obsolete face name.
686
fe0a74f9
SM
687 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
688 and give a non-nil default value.
689 (add-change-log-entry): Simplify accordingly.
690
9f7b98f8
DG
6912012-10-01 Dmitry Gutov <dgutov@yandex.ru>
692
693 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
694 (vc-git-log-edit-toggle-amend): New function.
695 (vc-git-log-edit-toggle-signoff): New function.
696 (vc-git-log-edit-mode): New major mode.
697 (vc-git-log-edit-mode-map): Keymap for it.
698 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
699
700 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
701 header names.
702 (log-edit-toggle-header): New function.
703 (log-edit-extract-headers): Accept function values in HEADERS alist.
704
62a81506
CY
7052012-10-01 David Engster <deng@randomsample.de>
706
707 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
708 from symbol property and change message to be more consistent with
709 Emacs proper.
710 (eieio-describe-generic): Add filename for each implementation.
711 Fix indices for generic and normal methods.
712 (eieio-method-def, eieio-class-def): New buttons.
713 (eieio-help-find-method-definition)
714 (eieio-help-find-class-definition): New functions.
715 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
716 class, constructor and method definitions.
717
718 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
719 information in symbol property.
720 (scoped-class): Remove.
721 (eieio-slot-name-index, call-next-method): Check if it is bound.
722
7232012-10-01 Leo P. White <lpw25@cam.ac.uk>
724
725 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
726 (eieio-custom-mode): New major mode.
727 (eieio-customize-object): Use it.
728
7292012-10-01 Eric Ludlam <zappo@gnu.org>
730
731 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
732 specifying the expected class, and whether subclassing is allowed.
733 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
734 (eieio-persistent-validate/fix-slot-value)
735 (eieio-persistent-slot-type-is-class-p): New functions.
736 (eieio-named::slot-missing): Doc fix.
62a81506
CY
737
738 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
739 Stop using unused publd variable.
740
741 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
742 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
743 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
744 (eieio-speedbar-handle-click): Do not specify a class for the
745 method. Fixes method invocation order problems with EDE.
746
375e49d4
SM
7472012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
750 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
751
16ce6ccd
KF
7522012-10-01 Karl Fogel <kfogel@red-bean.com>
753
754 * bookmark.el (bookmark-version-control): Give tags in the
755 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
756 (bookmark-write-file): Bind `print-circle' to `t' to allow
757 circular custom bookmark types. (Bug#12503)
16ce6ccd 758
19e54a4d
PE
7592012-10-01 Paul Eggert <eggert@cs.ucla.edu>
760
86ec63ba
PE
761 Revert the FOLLOW-SYMLINKS change for file-attributes.
762 * files.el (remote-file-name-inhibit-cache, after-find-file):
763 * time.el (display-time-file-nonempty-p): Undo last change.
764
19e54a4d
PE
765 * profiler.el (profiler-sampling-interval): Change default back to 1.
766 See Stefan Monnier in
767 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
768
0478776b
FEG
7692012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
770
771 Shell output catching a la gud-gdb.
772 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
773 (python-shell-fetch-lines-string, python-shell-fetched-lines):
774 New Vars.
0478776b
FEG
775 (python-shell-fetch-lines-filter): New function.
776 (python-shell-send-string-no-output): Use them.
777
c22bac2c
TM
7782012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
779
780 * profiler.el (profiler-sampling-interval): Rename from
781 profiler-sample-interval.
782 (profiler-sampling-interval): Default to 10.
783 (profiler-find-profile): New command (was profiler-find-log).
784 (profiler-find-profile-other-window): New command.
785 (profiler-find-profile-other-frame): New command.
786 (profiler-profile): Introduce API-level data structure.
787
e7a2937b
PE
7882012-09-30 Paul Eggert <eggert@cs.ucla.edu>
789
790 file-attributes has a new optional arg FOLLOW-SYMLINKS.
791 * files.el (remote-file-name-inhibit-cache):
792 * time.el (display-time-file-nonempty-p): Use it.
793 * files.el (after-find-file): Don't chase links before calling
794 file-exists-p, as file-exists-p already does the right thing.
795
4f595e15
RA
7962012-09-30 Ralf Angeli <angeli@caeruleus.net>
797
798 Merge from standalone RefTeX repository.
799
800 The following ChangeLog entries are shortened versions of the
801 original ones with file paths adapted. A not so strongly edited
802 version of the original ChangeLog can be found in the commit log.
803
804 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
805 (reftex-arg-cite): Use `reftex-cite-key-separator'.
806 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
807
808 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
809 that entries with whitespace at various places are found.
810 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
811 Include @String definitions in the resulting bib file. Add header
812 and footer defined in `reftex-create-bibtex-header' and
813 `reftex-create-bibtex-footer'.
814 (reftex-do-citation): Make it possible again to insert
815 non-existent entries. Save match data when asking for optional
816 arguments. Return all keys, not just the first one.
817 (reftex-all-used-citation-keys): Fix regexp to correctly extract
818 all citations in the same line.
819 (reftex-parse-bibtex-entry): Accept additional optional argument
820 `raw' and keep quotes or braces if it is non-nil. Match fields
821 containing hyphens besides word constituents.
822 (reftex-get-string-refs): New function.
823 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
824 and ask if it should be reread in case it did.
825 (reftex-pop-to-bibtex-entry)
826 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
827 entries with spaces or tabs in front of arguments.
828 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
829 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
830 Match entries containing numbers and symbol constituents.
831 (reftex-do-citation, reftex-figure-out-cite-format):
832 Use `reftex-cite-key-separator'.
4f595e15
RA
833
834 * textmodes/reftex-dcr.el: Move provide statement to end of file.
835 (reftex-mouse-view-crossref): Explain why point is set.
836
837 * textmodes/reftex-global.el: Whitespace changes.
838
839 * textmodes/reftex-index.el: Move provide statement to end of
840 file.
841 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
842 (reftex-index-visit-phrases-buffer): Set marker when visiting
843 buffer. This allows for returning from the phrases file to the
844 file one was just editing instead of the file where the last
845 phrases was added from.
846 (reftex-index-phrases-syntax-table): New variable. Give ?\"
847 punctuation syntax as it usually is not used as string quote in
848 TeX-related modes and may occur unmatched. The change also
849 prevents fontification of quoted content.
850 (reftex-index-phrases-mode): Use it.
851
375e49d4
SM
852 * textmodes/reftex-parse.el (reftex-parse-from-file):
853 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
854 (reftex-parse-from-file): Use beginning of match instead of end as
855 bound.
856
857 * textmodes/reftex-ref.el: Adapt creation of
858 `reftex-<package>-<macro>' functions to new structure of
859 `reftex-ref-style-alist'.
375e49d4
SM
860 (reftex-reference): Use `reftex-ref-style-list' function.
861 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
862 reference macro if `reftex-ref-macro-prompt' is non-nil.
863 (reftex-reference): Pass refstyle to `reftex-format-special'.
864 Determine reference macro by looking at
375e49d4
SM
865 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
866 Use only one special format function.
4f595e15
RA
867 (reftex-varioref-vref, reftex-fancyref-fref)
868 (reftex-fancyref-Fref): Remove definitions. The functions are now
869 generated from `reftex-ref-style-alist'.
870 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
871 Remove.
872 (reftex-format-special): New function.
873
874 * textmodes/reftex-sel.el
875 (reftex-select-cycle-ref-style-internal): Adapt to new structure
876 of `reftex-ref-style-alist'. Remove code for testing macro type.
877 (reftex-select-toggle-varioref)
878 (reftex-select-toggle-fancyref): Remove.
879 (reftex-select-cycle-ref-style-internal)
880 (reftex-select-cycle-ref-style-forward)
881 (reftex-select-cycle-ref-style-backward): New functions.
882 (reftex-select-label-map): Use `v' and `V' for general cycling
883 through reference styles. Add `p' for switching between number
884 and page reference types.
885
375e49d4
SM
886 * textmodes/reftex-toc.el (reftex-re-enlarge):
887 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
888 the horizontal version throws an error even if the parameter is 0.
889
890 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
891 (reftex-plug-into-AUCTeX): Doc fix.
892 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
893 string. Adapt to new name.
894 (reftex-ref-style-alist): Change structure so that it is not
895 possible to use multiple different package names within a style.
375e49d4
SM
896 Remove the symbols for symbols for macro type distinction.
897 Add characters for macro selection.
4f595e15
RA
898 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
899 (reftex-create-bibtex-footer): New variables.
900 (reftex-format-ref-function): Mention third argument of special
901 format function.
375e49d4
SM
902 (reftex-ref-style-alist, reftex-ref-style-default-list):
903 New variables.
4f595e15
RA
904 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
905 to new implementation. Mark as obsolete. Add compatibility code
906 for honoring the variable values in case they are set.
375e49d4
SM
907 (reftex-cite-format-builtin, reftex-bibliography-commands):
908 Add support for ConTeXt.
909 (reftex-format-ref-function, reftex-format-cite-function):
910 Fix custom type.
4f595e15
RA
911 (reftex-cite-key-separator): New variable.
912
913 * textmodes/reftex.el (reftex-syntax-table-for-bib)
914 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
915 `reftex-syntax-table' because parens have to retain their paren
916 syntax in order for parsing of BibTeX entries like @book(...) to
917 work.
918 (reftex-in-comment): Do not error out if `comment-start-skip' is
919 not set. Deal correctly with escaped comment characters.
375e49d4
SM
920 (reftex-tie-multifile-symbols): Add doc string.
921 Initialize `reftex-ref-style-list'.
4f595e15
RA
922 (reftex-untie-multifile-symbols): Add doc string.
923 (reftex-add-index-macros): Doc fix.
924 (reftex-ref-style-activate, reftex-ref-style-toggle)
925 (reftex-ref-style-list): New functions.
926 (reftex-mode-menu): Use them. Adapt to new structure of
927 `reftex-ref-style-alist'.
928 (reftex-select-with-char): Kill the RefTeX Select buffer when
929 done.
930 (reftex-remove-if): New function.
931 (reftex-erase-all-selection-and-index-buffers)
932 (reftex-mode-menu): Reference styles are now computed from
933 `reftex-ref-style-alist'. Fix typo.
934 (reftex-report-bug): New function.
935 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
936 algorithms with O(n log n). Introduce optional argument SORT (not
937 yet used).
938
440ba395
FEG
9392012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
940
941 Enhancements for triple-quote string syntax.
375e49d4
SM
942 * progmodes/python.el (python-syntax-propertize-function):
943 Match both quote cases in one regexp.
440ba395
FEG
944 (python-syntax-stringify): Handle matches properly.
945
4c478e6b
JL
9462012-09-30 Juri Linkov <juri@jurta.org>
947
948 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 949 to nil around the call to `insert' to prevent
4c478e6b
JL
950 directory time modification by lock_file. (Bug#2295)
951 * tar-mode.el (tar-summarize-buffer): Idem.
952
d80d54b2
JL
9532012-09-30 Juri Linkov <juri@jurta.org>
954
955 * facemenu.el (list-colors-sort): Add option "Luminance".
956 (list-colors-sort-key): Implement it.
957
958 * vc/diff-mode.el (diff-refine-removed):
959 * vc/ediff-init.el (ediff-fine-diff-A):
960 * vc/smerge-mode.el (smerge-refined-removed):
961 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
962
d7e642cc
JD
9632012-09-30 Jan Djärv <jan.h.d@swipnet.se>
964
965 * term/ns-win.el (x-file-dialog): New function.
966
ee41332b
JB
9672012-09-30 Juanma Barranquero <lekktu@gmail.com>
968
969 * ido.el (ido-max-directory-size): Default to nil; the current
970 default is small for POSIX systems, and impractical on Windows 7
971 now that lstat returns directory sizes for NTFS.
972
5938d519
MR
9732012-09-30 Martin Rudalics <rudalics@gmx.at>
974
975 In buffer display functions handle window-height/window-width
976 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
977 * window.el (window--display-buffer): New argument ALIST.
978 Obey window-height and window-width alist entries.
979 (window--try-to-split-window): New argument ALIST.
980 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
981 changed and window-combination-limit equals `window-size'.
982 (display-buffer-in-atom-window)
983 (display-buffer-in-major-side-window)
984 (display-buffer-in-side-window, display-buffer-same-window)
985 (display-buffer-reuse-window, display-buffer-pop-up-frame)
986 (display-buffer-pop-up-window, display-buffer-below-selected)
987 (display-buffer-at-bottom, display-buffer-in-previous-window)
988 (display-buffer-use-some-window): Adjust all callers of
989 window--display-buffer and window--try-to-split-window.
990 (fit-frame-to-buffer): New option.
991 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
992 is non-nil.
993 (display-buffer-in-major-side-window): Evaluate window-height /
994 window-width alist entries.
995
996 * help.el (temp-buffer-resize-frames)
997 (temp-buffer-resize-regexps): Remove options.
998 (temp-buffer-resize-mode): Adjust doc-string.
999 (resize-temp-buffer-window): Don't consult
1000 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1001 temp-buffer-resize-frames.
1002
375e49d4
SM
1003 * dired.el (dired-mark-pop-up):
1004 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1005 entry.
1006
c4c0c2df
CY
10072012-09-30 Chong Yidong <cyd@gnu.org>
1008
48de8b12
CY
1009 * server.el (server-host): Document the security implications.
1010 (server-auth-key): Doc fix.
1011
1012 * startup.el (initial-buffer-choice): Doc fix.
1013
1014 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1015
a97dc380
CY
1016 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1017 restriction change.
1018
d39d3c8e
CY
1019 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1020
c4c0c2df
CY
1021 * help-fns.el (help-fns--obsolete): Fix last change.
1022
98a5e33b
SM
10232012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1024
34cf6f39
SM
1025 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1026 (minor-mode-map-alist): Remove redundant code.
1027
e01c13fe
SM
1028 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1029 visited in a buffer.
1030 (cvs-insert-visited-file): New function.
1031 (find-file-hook): Use it.
1032
1033 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1034
02661b3a
SM
1035 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1036 chose face.
1037 (log-edit-empty-buffer-p): Don't require a space after a header.
1038
43711d4b
SM
1039 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1040
38a30d64
SM
1041 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1042
4ffb41a9
SM
1043 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1044 a proper minor-mode.
1045
98a5e33b
SM
1046 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1047
de82e29b
GM
10482012-09-29 Glenn Morris <rgm@gnu.org>
1049
5cc2e639
GM
1050 * winner.el (winner-mode): Remove variable (let define-minor-mode
1051 handle it).
1052 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1053 Doc fixes.
1054 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1055 (winner-mode): Use define-minor-mode.
1056
7bd302eb
GM
1057 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1058 the full definition in loaddefs, rather than duplicating it.
1059
2923922f 1060 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1061
0e3e4156
GM
1062 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1063 (inferior-lisp-program, inferior-lisp-load-command)
1064 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1065 No need to autoload defcustoms.
0e3e4156 1066
de82e29b
GM
1067 * hippie-exp.el (hippie-expand-try-functions-list)
1068 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1069 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1070 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1071 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1072 * progmodes/vhdl-mode.el (vhdl-line-expand):
1073 Explicitly load hippie-exp, so it does not get autoloaded
1074 while hippie-expand-try-functions-list is let-bound.
1075
e60b51ab
GM
10762012-09-28 Glenn Morris <rgm@gnu.org>
1077
277f0cfa
GM
1078 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1079
e60b51ab
GM
1080 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1081 Only "cl.el" counts as cl these days.
1082
53baf48a
JL
10832012-09-28 Juri Linkov <juri@jurta.org>
1084
1085 Display archive errors in the echo area instead of inserting
1086 to the file buffer.
1087
1088 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1089 to STDERR-TEST that can be a regexp matching a successful output.
1090 Create a temporary file and redirect stderr to it. Search for
1091 STDERR-TEST in the stderr output and display it in the echo area
1092 if no match is found.
1093 (archive-extract-by-file): New function like
1094 `archive-extract-by-stdout' but extracting archives to files
1095 and looking for successful matches in stdout. Function body is
1096 mostly copied from `archive-rar-extract'.
1097 (archive-rar-extract): Use `archive-extract-by-file'.
1098 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1099
9c1228c3
LL
11002012-09-28 Leo Liu <sdl.web@gmail.com>
1101
375e49d4
SM
1102 * pcomplete.el (pcomplete-show-completions):
1103 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1104
9c1228c3
LL
1105 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1106
7f457c06
SM
11072012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1108
3df749b0
SM
1109 * type-break.el: Use lexical-binding.
1110 (type-break-mode): Use define-minor-mode.
1111
7f457c06
SM
1112 * emacs-lisp/pcase.el (pcase--mark-used): New.
1113 (pcase--u1): Use it (bug#12512).
1114
1115 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1116 in load-history with the right file name.
1117
c00ebc98
TH
11182012-09-28 Tassilo Horn <tsdh@gnu.org>
1119
1120 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1121 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1122 (doc-view-get-bounding-box): Make bounding box slicing work for
1123 ODF and DVI documents.
1124
96fb7170
GM
11252012-09-28 Glenn Morris <rgm@gnu.org>
1126
1127 * type-break.el (type-break-mode, type-break-interval)
1128 (type-break-good-rest-interval, type-break-keystroke-threshold):
1129 No need to autoload.
1130 (type-break-good-rest-interval, type-break-keystroke-threshold):
1131 Add :set-after.
1132
5bc93c67
CY
11332012-09-28 Chong Yidong <cyd@gnu.org>
1134
1135 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1136 Add :version tag.
1137
9cad61d6
SM
11382012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1139
e28e67b3 1140 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1141
daee954c
GM
11422012-09-27 Glenn Morris <rgm@gnu.org>
1143
a88324d4
GM
1144 * faces.el (x-display-name): Declare (for without-x builds).
1145
8e5064e5
GM
1146 * linum.el (linum-format): Don't autoload it. Improve :type.
1147
cc1783c2
GM
1148 * progmodes/tcl.el: Don't require outline when compiling.
1149 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1150 * textmodes/sgml-mode.el: Don't require outline when compiling.
1151 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1152
48c339f2
GM
1153 * term.el (term-ansi-reset):
1154 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1155
daee954c
GM
1156 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1157 files for RCS and SCCS. (Bug#9781)
1158
b7f42161
CY
11592012-09-27 Chong Yidong <cyd@gnu.org>
1160
1161 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1162 change; value should be t.
1163
a2e770db
SM
11642012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1165
83600dc8
SM
1166 * image-mode.el: Use lexical-binding.
1167 (image-mode-winprops): Use t to stand for the window of
1168 a buffer that's not displayed.
1169 * doc-view.el (doc-view-new-window-function): Handle the new
1170 t in winprops.
1171 (doc-view-enlarge): Make it a real nop if the size is not changed.
1172 (doc-view-display): Handle the case where the buffer is not (yet?)
1173 displayed in any window.
1174 (doc-view-saved-settings): New var.
1175 (doc-view-mode): Use it.
1176 (doc-view-fallback-mode): Set it.
1177
a2e770db
SM
1178 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1179 Set lexical-binding.
1180 (minibuffer-eldef-shorten-default): New var.
1181 (minibuffer-default-in-prompt-regexps): Use it for new default.
1182 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1183
e3b60857
JB
11842012-09-26 Juanma Barranquero <lekktu@gmail.com>
1185
1186 * international/uni-bidi.el:
1187 * international/uni-category.el:
1188 * international/uni-name.el:
1189 * international/uni-numeric.el: Regenerate.
1190
3a880af4
SM
11912012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1192 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * profiler.el: New file.
1195
07b1a5fb
SM
11962012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1197
1198 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1199 (testcover-reinstrument): Simplify with CSE.
1200
42019c2e
JB
12012012-09-26 Juanma Barranquero <lekktu@gmail.com>
1202
1203 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1204
179f044b
WS
12052012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1206
1207 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1208 (verilog-auto-input, verilog-auto-insert-lisp)
1209 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1210 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1211 (verilog-auto-unused, verilog-auto-wire)
1212 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1213 newline. Reported by Andrew Jones.
1214 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1215 Reported by Brad Dobbie.
07b1a5fb
SM
1216 (verilog-batch-delete-trailing-whitespace):
1217 Create verilog-batch-delete-trailing-whitespace.
1218 Reported by Brad Dobbie.
179f044b
WS
1219 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1220 parameters from another module. Reported by Dan Katz.
1221 (verilog-auto, verilog-auto-assign-modport)
1222 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1223 AUTOINOUTMODPORT for UVM interface module shell generation.
1224 Reported by Brad Dobbie.
1225 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1226 standard behavior.
1227 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1228 Reported by Matt Martin.
1229
9c52dd5a
MR
12302012-09-25 Martin Rudalics <rudalics@gmx.at>
1231
1232 * window.el (window--resize-child-windows): When resizing child
1233 windows proportionally, process them in reverse order to
1234 preserve the "when splitting a window the new one gets the odd
1235 line" behavior.
1236 (window--resize-root-window-vertically): When resizing the
1237 minibuffer window try to affect only windows at the bottom of the
1238 frame. (Bug#12419)
1239
863666eb
CY
12402012-09-25 Chong Yidong <cyd@gnu.org>
1241
1242 * subr.el (declare): Doc fix.
1243
1244 * help-fns.el (help-fns--obsolete): Handle macros properly.
1245
59f7af81
CY
12462012-09-25 Chong Yidong <cyd@gnu.org>
1247
1248 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1249 this function obsolete.
1250
1251 * calendar/cal-x.el (calendar-two-frame-setup)
1252 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1253 * calendar/calendar.el (american-calendar, european-calendar)
1254 (calendar-for-loop):
1255 * comint.el (comint-dynamic-simple-complete)
1256 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1257 * desktop.el (desktop-load-default):
1258 * dired-x.el (dired-omit-here-always)
1259 (dired-hack-local-variables, dired-default-directory):
1260 * emacs-lisp/derived.el (derived-mode-class):
1261 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1262 * emacs-lock.el (toggle-emacs-lock):
1263 * epa.el (epa-display-verify-result):
1264 * epg.el (epg-sign-keys, epg-start-sign-keys)
1265 (epg-passphrase-callback-function):
1266 * eshell/esh-util.el (eshell-for):
1267 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1268 (eshell-add-to-window-buffer-names):
1269 * files.el (locate-file-completion):
1270 * imenu.el (imenu-example--create-c-index)
1271 (imenu-example--create-lisp-index)
1272 (imenu-example--lisp-extract-index-name)
1273 (imenu-example--name-and-position):
1274 * international/mule-cmds.el (princ-list):
1275 * international/mule-diag.el (decode-codepage-char):
1276 * international/mule-util.el (detect-coding-with-priority):
1277 * iswitchb.el (iswitchb-read-buffer):
1278 * mail/mailalias.el (mail-complete):
1279 * mail/sendmail.el (mail-sent-via):
1280 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1281 (mouse-major-mode-menu):
1282 * password-cache.el (password-read-and-add):
1283 * pcomplete.el (pcomplete-parse-comint-arguments):
1284 * progmodes/sh-script.el (sh-maybe-here-document):
1285 * replace.el (query-replace-regexp-eval):
1286 * savehist.el (savehist-load):
1287 * simple.el (choose-completion-delete-max-match):
1288 * term.el (term-dynamic-simple-complete):
1289 * vc/ediff-init.el (ediff-check-version):
1290 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1291 * vc/vc.el (vc-diff-switches-list):
1292 * view.el (view-return-to-alist-update): Likewise.
1293
1294 * subr.el (eval-next-after-load, makehash, insert-string)
1295 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1296 mark obsolete.
1297 (mode-line-inverse-video): Variable deleted.
1298
1299 * international/mule-util.el (string-to-sequence): Remove.
1300
1301 * calendar/calendar.el (calendar-version):
1302 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1303 (icalendar-convert-diary-to-ical):
1304 * cus-edit.el (custom-mode):
1305 * ansi-color.el (ansi-color-unfontify-region):
1306 * international/latin1-disp.el (latin1-char-displayable-p):
1307 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1308 * progmodes/which-func.el (which-func-update-1):
1309 Use define-obsolete-function-alias.
59f7af81
CY
1310
1311 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1312 * net/newst-treeview.el (newsticker-groups-filename):
1313 Fix incorrect obsolescence declaration.
59f7af81
CY
1314
1315 * allout.el (allout-passphrase-hint-string): Likewise.
1316 (allout-init): Use a declare form to mark obsolete.
1317
1318 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1319 this applies to functions.
1320
1321 * iswitchb.el (iswitchb-read-buffer): Move code of
1322 iswitchb-define-mode-map here, and delete that obsolete function.
1323
1324 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1325 font-lock-reference-face.
1326
cca96c97
GM
13272012-09-25 Glenn Morris <rgm@gnu.org>
1328
b06eeda8
GM
1329 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1330 Doc fixes.
1331
cca96c97
GM
1332 * eshell/em-term.el (eshell-term-name):
1333 Default to term-term-name. (Bug#12485)
1334
dc4f818b
FEG
13352012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1336
cca96c97
GM
1337 * progmodes/python.el (python-shell-send-buffer): Better handling
1338 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1339
289c24bd
GM
13402012-09-24 Glenn Morris <rgm@gnu.org>
1341
1342 * eshell/esh-cmd.el (eshell-find-alias-function):
1343 Tighten up file-name regexp. (Bug#12499)
1344
8fb8b88f
FEG
13452012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1346
1347 Enhancements for triple-quote string syntax.
1348 * progmodes/python.el (python-quote-syntax): Remove.
1349 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1350 (python-syntax-count-quotes, python-syntax-stringify):
1351 New functions.
8fb8b88f 1352
6c27f0f8
CY
13532012-09-24 Chong Yidong <cyd@gnu.org>
1354
a5f2b6ec
CY
1355 * mail/supercite.el (sc-version): Remove obsolete function.
1356 (sc-describe): Don't mark as obsolete, since it is bound.
1357 (sc-submit-bug-report): Remove.
1358
1359 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1360 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1361 (log-edit-require-final-newline)
1362 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1363
1364 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1365 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1366 * vc/vc.el (vc-checkout-carefully): Likewise.
1367
1368 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1369 (emerge-version): Remove.
1370
1371 * progmodes/compile.el (compile-internal): Remove.
1372 (compilation-parse-errors-function): Fix typo.
1373
1374 * international/mule.el (set-char-table-default): Remove.
1375 (set-coding-priority, make-coding-system, generic-char-p)
1376 (charset-list, charset-bytes, charset-id): Use declare to mark
1377 functions as obsolete.
1378
1379 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1380 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1381 * vc/vc-hooks.el (vc-default-registered): Don't use
1382 vc-master-templates.
1383
07b1a5fb
SM
1384 * font-lock.el (font-lock-reference-face):
1385 Use define-obsolete-variable-alias.
6c27f0f8
CY
1386
1387 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1388 * calendar/calendar.el (calendar-font-lock-keywords):
1389 * calendar/diary-lib.el (diary-font-lock-keywords)
1390 (diary-fancy-font-lock-keywords):
1391 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1392 * textmodes/reftex-index.el (reftex-insert-index):
1393 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1394 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1395 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1396 * progmodes/prolog.el (prolog-font-lock-keywords):
1397 * progmodes/idlwave.el (idlwave-idl-keywords):
1398 * progmodes/ada-mode.el (ada-font-lock-keywords):
1399 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1400
bcc0adbf
GM
14012012-09-24 Glenn Morris <rgm@gnu.org>
1402
1403 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1404
095bb823
FEG
14052012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1406
1407 * progmodes/python.el (python-indent-line): More consistent cursor
1408 movement behavior.
1409
70efc5c9
SM
14102012-09-23 Stefan Merten <smerten@oekonux.de>
1411
1412 * textmodes/rst.el: Fix compiler warning.
1413
2f438239
RW
14142012-09-23 Roland Winkler <winkler@gnu.org>
1415
07b1a5fb
SM
1416 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1417 Transcribe also LaTeX hyphenation.
2f438239
RW
1418 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1419 bibtex-reformat-previous-options.
1420
936ad041
RW
14212012-09-23 Roland Winkler <winkler@gnu.org>
1422
1423 * proced.el (proced-renice-command): New variable.
1424 (proced-marked-processes): New function.
1425 (proced-with-processes-buffer): New macro.
1426 (proced-send-signal): Use them.
1427 (proced-renice): New command bound to r.
1428
6fab0274
RW
14292012-09-23 Roland Winkler <winkler@gnu.org>
1430
1431 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1432 ibuffer-saved-filter-groups has one element, shortcut the call of
1433 completing-read. (Bug#12331)
1434
9a930676
CY
14352012-09-23 Chong Yidong <cyd@gnu.org>
1436
1437 * bindings.el (mode-line-toggle-read-only):
1438 * bs.el (bs-toggle-readonly):
1439 * buff-menu.el (Buffer-menu-toggle-read-only):
1440 * dired.el (dired-toggle-read-only):
1441 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1442
d07ff9db
CY
14432012-09-23 Chong Yidong <cyd@gnu.org>
1444
1445 * image.el (image-type-available-p): Adapt to init-image-library
1446 argument changes.
1447
51c4474e
JL
14482012-09-22 Juri Linkov <juri@jurta.org>
1449
1450 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1451 `dired-toggle-read-only'. (Bug#12462)
1452
43bf5e8e
MR
14532012-09-22 Martin Rudalics <rudalics@gmx.at>
1454
1455 * subr.el (temp-output-buffer-show): New function.
1456 (with-output-to-temp-buffer): Call temp-output-buffer-show
1457 instead of internal-temp-output-buffer-show.
1458
c88b867f
CY
14592012-09-22 Chong Yidong <cyd@gnu.org>
1460
3df47cd5
CY
1461 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1462 (Bug#12462).
1463
c88b867f
CY
1464 * repeat.el (repeat): Doc fix (Bug#12348).
1465
1466 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1467 (Bug#10909).
1468
1469 * simple.el (shell-command-on-region): Doc fix.
3171e303 1470 (read-only-mode): Doc fix.
c88b867f 1471
df9685f3
EZ
14722012-09-22 Eli Zaretskii <eliz@gnu.org>
1473
1474 * emacs-lisp/timer.el (run-with-idle-timer)
1475 (timer-activate-when-idle): Warn against reinvoking an idle timer
1476 from within its own timer action. (Bug#12447)
1477
8e17c9ba
MR
14782012-09-22 Martin Rudalics <rudalics@gmx.at>
1479
1480 * cus-start.el (window-combination-limit): Add new optional
1481 values.
1482 * window.el (temp-buffer-window-show)
1483 (window--try-to-split-window): Handle new values of
1484 window-combination-limit (Bug#1806).
1485 (split-window): Test window-combination-limit for t instead of
1486 non-nil.
1487 (display-buffer-at-bottom): New buffer display action function.
1488 * help.el (temp-buffer-resize-regexps): New option.
1489 (temp-buffer-resize-mode): Rewrite doc-string.
1490 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1491 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1492
48a24920
SM
14932012-09-22 Stefan Merten <smerten@oekonux.de>
1494
70efc5c9 1495 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1496 (rst-official-version)
1497 (rst-package-emacs-version-alist): Sync with official version
1498 V1.4.0.
1499 (rst-faces-defaults, rst-set-level-default)
1500 (rst-level-face-max, rst-level-face-base-color)
1501 (rst-level-face-base-light, rst-level-face-format-light)
1502 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1503 (rst-adornment-faces-alist): Match new setup.
1504 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1505 (rst-level-5, rst-level-6): New faces.
1506
82f8cd94
CY
15072012-09-22 Chong Yidong <cyd@gnu.org>
1508
1509 * simple.el (undo): Handle indirect buffers (Bug#8207).
1510
acfa068f 15112012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1512
1513 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1514 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1515 (ido-set-matches-1): Use it. (Bug#2042)
1516
acfa068f 15172012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1518
1519 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1520 Fix 2011-05-17 change. (Bug#12418)
1521
acfa068f 15222012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1523
1524 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1525
acfa068f 15262012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1527
1528 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1529 Be more robust about locating simple.el.
1530
acfa068f 15312012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1532
1533 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1534
acfa068f
CY
15352012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1536
1537 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1538
41a97e6f
JL
15392012-09-20 Juri Linkov <juri@jurta.org>
1540
eb2deaff
JL
1541 * replace.el (query-replace-read-from): Use `read-regexp' instead
1542 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1543 (occur-read-primary-args): Use `read-regexp' instead of
1544 `read-string'.
1545 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1546 `read-from-minibuffer'.
1547 * isearch.el (isearch-occur): Use `read-regexp' instead of
1548 `read-string'.
1549 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1550 `read-from-minibuffer'.
1551 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1552 of `read-string'. (Bug#7567)
1553
5825610b
JL
1554 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1555 and allow accepting a list of strings prepended to a list of
1556 standard default values. Doc fix. (Bug#12321)
1557
eebbf404
JL
1558 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1559
41a97e6f
JL
1560 * replace.el (read-regexp): Don't add ": " when PROMPT already
1561 ends with a colon and space. (Bug#12321)
1562
c9e452d3
TH
15632012-09-20 Tassilo Horn <tsdh@gnu.org>
1564
1565 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1566 error.
1567
ee97deee
SM
15682012-09-20 Stefan Merten <smerten@oekonux.de>
1569
70efc5c9 1570 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1571 Fixes feature request bug#11711.
1572 (rst-mode): Create `imenu-create-index-function'.
1573 (rst-get-stripped-line): Delete after refactoring.
1574 (rst-section-tree, rst-section-tree-rec)
1575 (rst-section-tree-point): Refactor and document properly.
1576 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1577 (rst-imenu-convert-cell, rst-imenu-create-index):
1578 New function.
ee97deee 1579
f490dab9
SM
15802012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1581
95b9712e
SM
1582 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1583 (macroexp--expand-all): Use it.
1584 (macroexp--funcall-and-return): Remove by folding it into its sole
1585 caller (macroexp--warn-and-return).
1586 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1587 Use macroexp--obsolete-warning.
1588
f490dab9
SM
1589 * calc/calc.el: Fix last change by removing the whole chunk, since it
1590 was only needed back when Calc was not bundled.
1591
96e8d411
MR
15922012-09-20 Martin Rudalics <rudalics@gmx.at>
1593
1594 * emacs-lisp/debug.el (debug): Restore assignment to
1595 debugger-old-buffer removed on 2012-09-08.
1596
0876a82d
JL
15972012-09-20 Juri Linkov <juri@jurta.org>
1598
1599 * dired-aux.el (dired-diff): Remove (require 'diff) since
1600 `diff-latest-backup-file' is now autoloaded.
1601
9f7c28f0
CY
16022012-09-20 Chong Yidong <cyd@gnu.org>
1603
1604 * vc/diff.el (diff-latest-backup-file): Autoload.
1605
7a04bee9
SM
16062012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1607
e6f0a80d
SM
1608 * calc/calc.el: Remove redundant autoload shape check.
1609 (sel-mode): Don't defvar.
1610 (calc-get-stack-element): Add `sel-mode' arg instead.
1611 (calc-top, calc-top-list): Pass it this additional argument.
1612 * calc/calc-store.el (calc-store-map):
1613 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1614 (calc-map-equation, calc-outer-product, calc-inner-product):
1615 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1616
7a04bee9
SM
1617 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1618
12734222
JL
16192012-09-19 Juri Linkov <juri@jurta.org>
1620
1621 * dired-aux.el (dired-diff): Add (require 'diff) because
1622 `diff-latest-backup-file' is not autoloaded.
1623 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1624 of `dired-get-filename' to t to not report error when there is
1625 no default file on the current line.
1626
46624b4f
SM
16272012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1628
ce97595b
SM
1629 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1630 macroexp--eval-if-compile.
1631 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1632 (macroexp--expand-all): Use them (bug#12371).
1633
46624b4f
SM
1634 * doc-view.el (doc-view-guess-paper-size)
1635 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1636
db8a5a18
TH
16372012-09-19 Tassilo Horn <tsdh@gnu.org>
1638
1639 New feature: set optimal slice from BoundingBox information.
1640 * doc-view.el (doc-view-mode-map): Add keybinding.
1641 (doc-view-menu): Add menu entry.
1642 (doc-view-set-slice): Adapt docstring.
1643 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1644 (doc-view-scale-bounding-box)
1645 (doc-view-set-slice-from-bounding-box): New functions.
1646 (doc-view-paper-sizes): New defvar.
1647
69f6644c
GM
16482012-09-19 Glenn Morris <rgm@gnu.org>
1649
35f5b19d
GM
1650 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1651 (byte-compile-log-warning): Autoload. (Bug#12371)
1652
69f6644c
GM
1653 * calendar/calendar.el (calendar-american-month-header)
1654 (calendar-european-month-header, calendar-iso-month-header)
1655 (calendar-month-header): New options.
1656 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1657 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1658
e543ae91
JD
16592012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1660
1661 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1662
2fd5e67d
JL
16632012-09-18 Juri Linkov <juri@jurta.org>
1664
1665 * dired-aux.el (dired-diff): Restore original functionality of
1666 getting the default value, but keep new feature of using the
1667 latest existing backup file (`diff-latest-backup-file').
1668
42917e79
JL
16692012-09-18 Juri Linkov <juri@jurta.org>
1670
1671 * dired.el (dired-mark): If the region is active in Transient Mark
1672 mode, mark all files in the active region. Doc fix.
1673 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1674 Doc fix. (Bug#10624)
1675
20f70ede
JL
16762012-09-18 Juri Linkov <juri@jurta.org>
1677
1678 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1679 attributes for M-n are pulled from the file at point.
1680 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1681 Suggested by Drew Adams. (Bug#10624)
1682
32fb8162
DG
16832012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1684
1685 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1686 whitespace after "end".
1687 (ruby-do-end-to-brace): Collapse block to one line if it fits
1688 within fill-column.
1689
37ab5092
MR
16902012-09-18 Martin Rudalics <rudalics@gmx.at>
1691
1692 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1693 value.
1694 (debug): Don't remove debugger window when debugger is expected
1695 to be back.
1696
ed1f0bd3
CY
16972012-09-18 Chong Yidong <cyd@gnu.org>
1698
1699 * custom.el (defface): Doc fix.
1700
1701 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1702
a11035b8
MB
17032012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1704
1705 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1706 to initialize query-on-exit; then test that instead (bug#12288).
1707
64f6a736
SM
17082012-09-17 Stefan Merten <smerten@oekonux.de>
1709
70efc5c9 1710 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1711 (rst-defcustom-testcover, rst-testcover-add-compose)
1712 (rst-testcover-add-1value): New functions.
1713 (rst-portable-mark-active-p): Replace by `use-region-p'.
1714 (rst-update-section, rst-classify-adornment)
1715 (rst-find-title-line): Mark `1value' forms.
1716 (rst-classify-adornment): Remove superfluous form.
1717 (rst-update-section, rst-get-adornments-around)
1718 (rst-adornment-complete-p, rst-get-next-adornment)
1719 (rst-adjust, rst-promote-region)
1720 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1721 (rst-find-pfx-in-region, rst-section-tree-rec)
1722 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1723 (rst-toc-node, rst-toc, rst-forward-section)
1724 (rst-iterate-leftmost-paragraphs)
1725 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1726 (rst-bullet-list-region)
1727 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1728 (rst-compile-find-conf, rst-compile)
1729 (rst-repeat-last-character): Fix style.
1730
580bd868
CY
17312012-09-17 Chong Yidong <cyd@gnu.org>
1732
1733 * comint.el (comint--complete-file-name-data): Don't add a space
1734 if the status is `sole'; that adds a gratuitous space in the
1735 completion-cycling case (Bug#12092).
1736
1737 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1738
69de3ec6
RS
17392012-09-17 Richard Stallman <rms@gnu.org>
1740
0dee970c
RS
1741 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1742 only in the mime-shown mode, not in raw mode.
1743 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1744 mime processing. (Bug#12305)
0dee970c 1745
6b250df6
GM
1746 * mail/rmail.el (rmail-retry-failure):
1747 Turn off mime processing first. (Bug#12037)
acb1c47b 1748
69de3ec6
RS
1749 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1750
d079ee5f
CY
17512012-09-17 Chong Yidong <cyd@gnu.org>
1752
1753 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1754 (shell-dynamic-complete-functions): Convert to defcustom.
1755 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1756
865fe16f
CY
1757 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1758 * comint.el (comint-prompt-read-only):
1759 * custom.el (defcustom):
1760 * hi-lock.el (hi-lock-mode):
1761 * ibuffer.el (ibuffer-formats):
1762 * ielm.el (ielm-prompt-read-only):
1763 * novice.el (disable-command):
1764 * saveplace.el (toggle-save-place):
1765 * speedbar.el (speedbar-supported-extension-expressions):
1766 * startup.el (auto-save-list-file-prefix, init-file-user)
1767 (after-init-hook, inhibit-startup-echo-area-message):
1768 * strokes.el (strokes-help):
1769 * time-stamp.el (time-stamp):
1770 * calendar/calendar.el (calendar, diary-file):
1771 * calendar/diary-lib.el (diary-mail-entries, diary)
1772 (diary-list-entries-hook):
1773 * calendar/holidays.el (holidays, calendar-holidays):
1774 * calendar/lunar.el (lunar-phases):
1775 * calendar/solar.el (sunrise-sunset):
1776 * emulation/edt.el (edt-load-keys):
1777 * emulation/viper.el (viper-mode):
1778 * eshell/em-alias.el (eshell-command-aliases-list):
1779 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1780 * international/ogonek.el (ogonek-information):
1781 * net/tramp-cmds.el (tramp-bug):
1782 * net/quickurl.el (quickurl-reread-hook-postfix):
1783 * play/decipher.el (decipher-font-lock-keywords):
1784 * progmodes/cc-styles.el (c-set-style):
1785 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1786 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1787 * progmodes/octave-mod.el (octave-mode):
1788 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1789 * progmodes/verilog-mode.el (verilog-read-defines):
1790 * textmodes/two-column.el (2C-mode): Likewise.
1791
48093eb9
KY
17922012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1793
1794 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1795 that holds many addresses.
1796
c584eaf9
CY
17972012-09-16 Chong Yidong <cyd@gnu.org>
1798
40d70ecb
CY
1799 * align.el (align-areas): Call the indication function with
1800 positions instead of markers for arguments (Bug#12343).
1801
1667e065
CY
1802 * files.el (parse-colon-path): Use split-string (Bug#12351).
1803
fdc2806d 1804 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1805 (display-buffer-function): Mark as obsolete.
fdc2806d 1806
f1be615c 1807 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1808 values similar to font-lock-keywords (Bug#12136).
1809 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1810 (compilation-error-regexp-alist): Doc fix.
1811
f40a9709
GM
18122012-09-15 Glenn Morris <rgm@gnu.org>
1813
72aa16e1
GM
1814 * version.el (emacs-bzr-version-bzr): New function.
1815 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1816
82375160
GM
1817 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1818 checkouts, check the parent dirstate matches the branch.
1819 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1820 empty string.
1821
f40a9709
GM
1822 * version.el (emacs-bzr-version): Doc fix.
1823 (emacs-bzr-version-dirstate): New function.
1824 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1825 is local try and check that it matches the branch. If not, just
1826 use dirstate information. (Bug#12441)
1827
cb26b7f5
JL
18282012-09-14 Juri Linkov <juri@jurta.org>
1829
1830 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1831 (Bug#12399)
1832
2de39f08
SM
18332012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1834
0fb3cb7c
SM
1835 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1836
2de39f08
SM
1837 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1838 Remove obsolete byte-compiler hack that tried to silence some warnings.
1839 (edebug-submit-bug-report): Remove.
1840 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1841 Remove aliases, use the un-prefixed name instead.
1842 (edebug-pop-to-buffer): Consider other frames.
1843 (edebug-original-read):: Make it more obvious that it's always defined.
1844 (edebug--make-form-data-entry, edebug--form-data-name)
1845 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1846 single-dashed name, and implement with cl-defstruct.
1847 (edebug-set-form-data-entry): Use the standard accessors.
1848 (edebug-make-top-form-data-entry): Use push.
1849 (edebug-no-match): Drop useless `funcall'.
1850 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1851 to functions.
1852 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1853 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1854 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1855 (easy-menu-define, with-custom-print): Remove redundant specs.
1856 (edebug-outside-overriding-local-map)
1857 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1858 (edebug--display): Bind unread-command-events directly to nil rather
1859 than binding it to unread-command-events and later setting it to nil.
1860 (edebug--display): Kill edebug-eval-buffer here...
1861 (edebug--recursive-edit): ...rather than here.
1862 Bind standard-output and standard-input.
1863 (edebug-eval): Check cl-macroexpand-all is fboundp.
1864 (edebug-temp-display-freq-count): Fix last change.
1865
1866 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1867 * subr.el (noreturn, 1value): Add `debug' spec.
1868 * emacs-lisp/advice.el: Require cl-lib.
1869 (ad-copy-tree): Remove, use copy-tree instead.
1870 (ad-dolist): Remove use dolist or cl-dolist instead.
1871 (ad-do-return): Remove, use cl-return instead.
1872 (defadvice): Add `debug' spec.
1873
5b68b333
JL
18742012-09-13 Juri Linkov <juri@jurta.org>
1875
1876 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1877 (Bug#12399)
1878
b9800ec4
GM
18792012-09-13 Glenn Morris <rgm@gnu.org>
1880
6a2e6868
GM
1881 * calc/calc.el (math-compose-expr):
1882 * calc/calc-ext.el (math-compose-expr):
1883 * progmodes/cc-defs.el (cl-macroexpand-all):
1884 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1885 (cl-macroexpand-all): Update declarations.
1886
b9800ec4
GM
1887 * vc/vc.el: No need to require ediff.
1888 (ediff-load-version-control): Declare.
1889 (ediff-vc-internal): Fix declaration.
1890 (vc-version-ediff): Require ediff.
1891
c18e885b
PE
18922012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1893
1894 Use a more backwards-compatible timer format (Bug#12430).
1895 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1896 being right after USECS, as that better supports old code that
1897 inadvisedly looked directly at the timer vector.
1898
d607d303
KH
18992012-09-13 Kenichi Handa <handa@gnu.org>
1900
1901 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1902 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1903 `coding-priority' property of these language environment.
1904
72eac303
PE
19052012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1906
1907 Fix glitches caused by addition of psec to timers (Bug#12430).
1908 * image.el (image-animate-timer):
1909 * time.el (display-time-world-timer):
1910 Use timer--function and timer--args rather than raw access to
1911 timer vector.
1912
2168fe4f
GM
19132012-09-13 Glenn Morris <rgm@gnu.org>
1914
1915 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1916 If not compiling a file, try using load-file-name.
1917
bd8d6108
SM
19182012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1919
c0c54fbd
SM
1920 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1921 Fix last change.
1922 (edebug-update-eval-list): Use `push'.
1923
bd8d6108
SM
1924 * emacs-lisp/edebug.el: Use lexical-binding.
1925 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1926 Mark unused args with underscore.
1927 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1928 (edebug-form-data): Use defvar-local.
1929 (edebug-make-before-and-after-form, edebug-make-after-form):
1930 Use backquote.
1931 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1932 Not dynamically scoped any more.
1933 (edebug--enter-trace): Add arguments `function' and `args'.
1934 Rename from edebug-enter-trace.
1935 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1936 (edebug--update-coverage): Add `after-index' and `value' args.
1937 Rename from edebug-update-coverage.
1938 (edebug-slow-after): Call it accordingly.
1939 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1940 edebug-recursive-edit.
1941 (edebug--display): Call it accordingly. Add args `value',
1942 `offset-index', and `arg-mode'. Rename from edebug-display.
1943 (edebug-debugger, edebug): Call it accordingly.
1944 (edebug-eval-display-list): Use dolist.
1945
a9f9d9de
JL
19462012-09-12 Juri Linkov <juri@jurta.org>
1947
1948 * info.el (Info-search): Don't check for isearch-mode and
1949 isearch-regexp before let-binding search-spaces-regexp to
1950 Info-search-whitespace-regexp.
1951 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1952 search-whitespace-regexp if isearch-lax-whitespace or
1953 isearch-regexp-lax-whitespace is non-nil.
1954 (Info-mode): Don't set local variable search-whitespace-regexp.
1955 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1956
bfeae2cf
SM
19572012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1958
1959 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1960 (debugger-env-macro): Remove support for unread-command-char.
1961
1962 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1963 the temporary map re-appearing on emulation-mode-map-alists.
1964
1965 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1966 since 22.1.
1967
1968 * ehelp.el (with-electric-help): Accept functions in
1969 electric-help-form-to-execute.
1970 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1971 And replace unread-command-char -> unread-command-events.
1972
fbbcaf1b
MA
19732012-09-12 Michael Albinus <michael.albinus@gmx.de>
1974
1975 Sync with Tramp 2.2.6.
1976
1977 * net/tramp.el (tramp-accept-process-output): Don't use
1978 JUST-THIS-ONE in the XEmacs case.
1979
1980 * net/trampver.el: Update release number.
1981
4dece104
MR
19822012-09-12 Martin Rudalics <rudalics@gmx.at>
1983
bfeae2cf
SM
1984 * emacs-lisp/debug.el (debugger-previous-window-height):
1985 New variable.
4dece104
MR
1986 (debug): When debugger-jumping-flag is non-nil try to restore
1987 height of debugger window. (Bug#8789)
1988
45b82ad0
SM
19892012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1990
60c49c0f
SM
1991 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1992 overriding-local-map and pre/post-command-hook here.
1993 (edebug-recursive-edit): Do it here instead (bug#12345).
1994 (edebug-outside-unread-command-char): Remove all uses of
1995 unread-command-char.
1996
45b82ad0
SM
1997 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1998 inhibit-debugger is bound instead.
1999
baa26ea0
BG
20002012-09-11 Bastien Guerry <bzg@gnu.org>
2001
2002 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2003 (Bug#12346)
baa26ea0 2004
04e8abfa
BG
20052012-09-11 Bastien Guerry <bzg@gnu.org>
2006
96d03571 2007 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2008 (Bug#12347)
96d03571
BG
2009
20102012-09-11 Bastien Guerry <bzg@gnu.org>
2011
fc0c31f8 2012 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2013
04e082b0
MM
20142012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2015
2016 * progmodes/sql.el: Version 3.1
2017 (sql-db2-escape-newlines): New variable.
2018 (sql-escape-newlines-filter): Use it.
2019
399a361b
JB
20202012-09-10 Juanma Barranquero <lekktu@gmail.com>
2021
2022 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2023
0780c517
DN
20242012-09-10 Dan Nicolaescu <dann@gnu.org>
2025
45b82ad0
SM
2026 * vc/diff-mode.el (diff-mode-menu):
2027 Bind diff-remove-trailing-whitespace.
0780c517 2028
9b851e25
SM
20292012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2032 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2033 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2034 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2035 (eval-defun-2): Remove bogus interactive spec.
2036 (lisp-indent-line): Remove redundant whole-exp code, now done in
2037 indent-according-to-mode.
2038 (save-match-data): Remove redundant indent data.
2039
2040 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2041 Use `declare'.
2042
3231d532
JL
20432012-09-09 Juri Linkov <juri@jurta.org>
2044
2045 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2046 (replace-lax-whitespace, query-replace-regexp)
2047 (query-replace-regexp-eval, replace-regexp): Doc fix.
2048 (perform-replace, replace-highlight): Let-bind
2049 isearch-lax-whitespace to replace-lax-whitespace and
2050 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2051
2052 * isearch.el (isearch-query-replace): Let-bind
2053 replace-lax-whitespace to isearch-lax-whitespace and
2054 replace-regexp-lax-whitespace to
2055 isearch-regexp-lax-whitespace. (Bug#10885)
2056
70fe8236
SM
20572012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2058
2059 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2060
8ed43f15
AM
20612012-09-09 Alan Mackenzie <acm@muc.de>
2062
70fe8236
SM
2063 * progmodes/cc-engine.el (c-state-cache-init):
2064 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2065 (c-record-parse-state-state):
2066 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2067
bfabf70a
AS
20682012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2069
2070 * register.el (register-separator): Rename from
2071 separator-register. All uses changed. Doc fix.
2072 (register): Fix version.
2073
011474aa
CY
20742012-09-09 Chong Yidong <cyd@gnu.org>
2075
2076 * replace.el (query-replace-map): Bind four new symbols for
2077 requesting window scrolling.
2078
2079 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2080 query-replace-map (Bug#8948).
2081
2082 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2083
2084 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2085 since they are now in query-replace-map.
2086
2087 * window.el (scroll-other-window-down): Make the arg optional.
2088
a8b7cd8d
CY
20892012-09-09 Chong Yidong <cyd@gnu.org>
2090
2091 * files.el (hack-local-variables-confirm): Use quit-window to kill
2092 the *Local Variables* buffer.
2093
c3268831
DG
20942012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2095
2096 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2097 not just expect to be at its beginning. Adjust callees.
2098 Succeed when do-end block has no space before the pipe character.
2099 (ruby-brace-to-do-end): When the original block is one-liner,
2100 convert to multiline. Reindent the result.
2101
0979429b
J
21022012-09-08 Jambunathan K <kjambunathan@gmail.com>
2103
2104 * register.el (register): New group.
27359e99 2105 (separator-register): New user option.
0979429b
J
2106 (increment-register): Route it to `append-to-register', if
2107 register contains text. Implication is that `C-x r +' can now be
2108 used for appending to a text register (bug#12217).
2109 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2110 `separator-register'.
0979429b 2111
ace2989a
AM
21122012-09-08 Alan Mackenzie <acm@muc.de>
2113
2114 AWK Mode: make auto-newline work when there's "==" in the pattern.
2115 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2116 correctly.
0979429b
J
2117 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2118 Test more rigorously for "=" token.
ace2989a 2119
616c6c36
DG
21202012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2121
0979429b
J
2122 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2123 Only fail when reached LIMIT.
616c6c36 2124
35d98877
CY
21252012-09-08 Chong Yidong <cyd@gnu.org>
2126
2127 * dired.el (dired-mode-map): Don't bind M-=.
2128
2129 * dired-aux.el (dired-diff): Use backup file as default.
2130
1715f2db
DA
21312012-09-08 Drew Adams <drew.adams@oracle.com>
2132
2133 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2134
6dcef6ec
CY
21352012-09-08 Chong Yidong <cyd@gnu.org>
2136
2137 * subr.el (syntax-after, syntax-class): Doc fix.
2138
fa2bcf43
MR
21392012-09-08 Martin Rudalics <rudalics@gmx.at>
2140
2141 * window.el (display-buffer-in-previous-window): New buffer
2142 display action function.
2143
2144 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2145 (debugger-previous-window): New variable.
2146 (debug): Rewrite using display-buffer-in-previous-window,
2147 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2148
daac280a
SM
21492012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2152
9dd40b00
MM
21532012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2154
daac280a
SM
2155 * progmodes/python.el (python-shell-send-string):
2156 When default-directory is remote, create temp file on remote
9dd40b00
MM
2157 filesystem.
2158 (python-shell-send-file): When file is remote, pass local view of
2159 file paths to remote Python interpreter. (Bug#12340)
2160
145823ec
CY
21612012-09-07 Chong Yidong <cyd@gnu.org>
2162
cee2e90d
CY
2163 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2164
0d7eb2ea
CY
2165 * files.el (after-find-file): Don't fail on a read-only buffer if
2166 require-final-newline is `visit' or `visit-save' (Bug#11156).
2167
145823ec
CY
2168 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2169
daac280a
SM
2170 * userlock.el (ask-user-about-supersession-threat):
2171 Use read-char-choice (Bug#12093).
145823ec 2172
74c582e6
CY
21732012-09-07 Chong Yidong <cyd@gnu.org>
2174
e5c2edf7
CY
2175 * subr.el (buffer-narrowed-p): New function.
2176
2177 * ses.el (ses-widen):
2178 * simple.el (count-words--buffer-message):
1f9f395d 2179 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2180
2181 * simple.el (count-words-region): Don't signal an error if there
2182 is a non-nil prefix arg and the mark is not set.
c640e87d 2183
74c582e6
CY
2184 * help.el (describe-key-briefly): Allow the message to be seen
2185 when invoked from the minibuffer (Bug#7014).
2186
d81ceaaf
DG
21872012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2188
2189 * progmodes/ruby-mode.el (ruby-end-of-defun)
2190 (ruby-beginning-of-defun): Simplify, allow indentation before
2191 block beginning and end keywords.
8f06acce
DG
2192 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2193 (ruby-end-of-defun): Expect that the point is at the beginning of
2194 the defun.
d81ceaaf 2195
d458ef98
SM
21962012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2197
2198 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2199 (bug#12367).
2200 (cl--make-usage-args): Strip _ from argument names.
2201
20367d28
RS
22022012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2203
2204 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2205 obsolete alias speedbar-key-map.
2206 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2207 (vhdl-index-menu-init): Don't use obsolete variable
2208 font-lock-maximum-size.
2209
3424a4f6
CY
22102012-09-06 Chong Yidong <cyd@gnu.org>
2211
2212 * frame.el (window-system-version): Mark as obsolete.
2213
fcbfbdea
CY
2214 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2215 of obsolete variable speedbar-key-map.
2216
826b3235
JL
22172012-09-06 Juri Linkov <juri@jurta.org>
2218
2219 * replace.el (replace-lax-whitespace): New defcustom.
2220 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2221 (replace-string, replace-regexp): Mention it in docstrings.
2222 (perform-replace, replace-highlight): Let-bind
2223 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2224 to the values of replace-lax-whitespace and regexp-flag.
2225 Don't let-bind search-whitespace-regexp. (Bug#10885)
2226
2227 * isearch.el (isearch-query-replace): Let-bind
2228 replace-lax-whitespace instead of let-binding
2229 replace-search-function and replace-re-search-function.
2230 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2231 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2232 (isearch-toggle-symbol): Set isearch-regexp to nil
2233 in isearch-word mode (like in isearch-toggle-word).
2234
1ec5e41d
JL
22352012-09-06 Juri Linkov <juri@jurta.org>
2236
2237 * replace.el (replace-search-function)
2238 (replace-re-search-function): Set default values to nil.
2239 (perform-replace): Let-bind isearch-related variables based on
2240 replace-related values, call `isearch-search-fun' and let-bind
2241 the result to `search-function'. Remove code that sets
2242 `search-function' and `search-string' separately for
2243 `delimited-flag'.
2244 (replace-highlight): Add new argument `delimited-flag' and
2245 rename other arguments to the names used in `perform-replace'.
2246 Let-bind `isearch-word' to the argument `delimited-flag'.
2247 (Bug#10885, bug#10887)
2248
0ba2d4b6
DG
22492012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2250
2251 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2252 ruby-beginning-of-indent, simplify, allow all keywords to have
2253 indentation before them.
2254 (ruby-beginning-of-indent): Adjust for above. Search until the
2255 found point is not inside a string or comment.
2256 (ruby-font-lock-keywords): Allow symbols to start with "@"
2257 character, give them higher priority than variables.
2258 (ruby-syntax-propertize-function)
2259 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2260 matchers. Expression expansions are not comments when inside a
2261 string, and there comment syntax status is irrelevant.
2262 (ruby-match-expression-expansion): New function. Check that
2263 expression expansion is inside a string, and it's not escaped.
2264 (ruby-font-lock-keywords): Use it.
2265
ef654460
MR
22662012-09-05 Martin Rudalics <rudalics@gmx.at>
2267
2268 * help.el (temp-buffer-max-height): New default value.
2269 (temp-buffer-resize-frames): New option.
2270 (resize-temp-buffer-window): Optionally resize frame.
2271
2272 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2273 (fit-frame-to-buffer): New function.
2274
7e570fbf 22752012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2276
2277 * emulation/cua-rect.el (cua--init-rectangles):
2278 * textmodes/picture.el (picture-mode-map):
2279 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2280 like forward-char and backward-char. (Bug#12317)
2281
7e570fbf 22822012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2283
2284 * progmodes/flymake.el (flymake-warning-re): New variable.
2285 (flymake-parse-line): Use it.
2286
7e570fbf 22872012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2288
2289 * calendar/holidays.el (holiday-christian-holidays):
2290 Rename an entry. (Bug#12289)
2291
7e570fbf 22922012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2293
2294 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2295 (bug#12222).
2296
972debf2
SM
22972012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * loadup.el: Load macroexp. Remove hack.
2300 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2301 (macroexp--expand-all): Use it to get better warnings.
2302 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2303 (internal-macroexpand-for-load): New functions.
2304 (macroexp--pending-eager-loads): New var.
2305 (emacs-startup-hook): New hack to replace one in loadup.el.
2306 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2307 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2308 (cl-psetf): Simplify.
2309 (cl-defstruct): Add indent rule.
2310
8ce192e3
LI
23112012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2312
2313 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2314 over `user-mail-address' for the SMTP MAIL FROM envelope.
2315 (smtpmail-via-smtp): Ditto.
2316
6578b4d8
DG
23172012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2318
2319 * progmodes/ruby-mode.el: Clean up keybindings.
2320 (ruby-mode-map): Don't bind ruby-electric-brace,
2321 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2322 backward-kill-word, reindent-then-newline-and-indent.
2323 (ruby-mark-defun): Remove.
2324 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2325 (ruby-mode): Set local beginning-of-defun-function and
2326 end-of-defun-function values.
2327
c5e28e39
MR
23282012-09-03 Martin Rudalics <rudalics@gmx.at>
2329
2330 * window.el (temp-buffer-window-setup-hook)
2331 (temp-buffer-window-show-hook): New hooks.
2332 (temp-buffer-window-setup, temp-buffer-window-show)
2333 (with-temp-buffer-window): New functions.
972debf2
SM
2334 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2335 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2336
2337 * help.el (temp-buffer-resize-mode): Fix doc-string.
2338 (resize-temp-buffer-window): New optional argument WINDOW.
2339
2340 * files.el (recover-file, save-buffers-kill-emacs):
2341 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2342
73406194
MA
23432012-09-02 Michael Albinus <michael.albinus@gmx.de>
2344
2345 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2346 remote definition of `default-directory', ensure we can connect.
2347
63dd1c6f
JL
23482012-09-02 Juri Linkov <juri@jurta.org>
2349
2350 Toggle whitespace matching mode with M-s SPC.
2351 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2352
2353 * isearch.el (search-whitespace-regexp): Doc fix.
2354 Remove cons cell customization.
2355 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2356 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2357 New variables.
2358 (isearch-forward, isearch-forward-regexp): Doc fix.
2359 (isearch-toggle-lax-whitespace): New command.
2360 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2361 (re-search-forward-lax-whitespace)
2362 (re-search-backward-lax-whitespace): New functions.
2363 (isearch-whitespace-regexp): Remove function.
2364 (isearch-query-replace): Let-bind replace-search-function and
2365 replace-re-search-function.
2366 (isearch-occur): Let-bind search-spaces-regexp according to the
2367 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2368 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2369 condition for C-q SPC.
2370 (isearch-search-fun-default): Use new functions mentioned above.
2371 (isearch-search-forward, isearch-search-backward): Remove functions.
2372 (isearch-search): Don't let-bind search-spaces-regexp.
2373 (isearch-lazy-highlight-space-regexp): Remove variable.
2374 (isearch-lazy-highlight-lax-whitespace)
2375 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2376 (isearch-lazy-highlight-new-loop): Use them.
2377 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2378
af7dda05
CY
23792012-09-02 Chong Yidong <cyd@gnu.org>
2380
2381 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2382
d67d3afd
GM
23832012-09-02 Glenn Morris <rgm@gnu.org>
2384
2385 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2386
69678719
GM
23872012-09-01 Glenn Morris <rgm@gnu.org>
2388
2389 * term.el: Tidy up menu definitions.
2390 (term-mode-map): Use easymenu for In/Out, Complete menus.
2391 (term-pager-break-map): Initialize in the defvar.
2392 (term-terminal-menu, term-signals-menu): Define with easymenu.
2393 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2394 (term-pager-menu): New, extracted from term-process-pager.
2395 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2396 (term-update-mode-line): Propertize line/char and page items.
2397 (term-process-pager): Move keymap initialization elsewhere.
2398
78dd6ab1
MR
23992012-09-01 Martin Rudalics <rudalics@gmx.at>
2400
2401 * window.el (switch-to-prev-buffer): Handle additional values of
2402 BURY-OR-KILL argument. Don't switch in minibuffer window.
2403 (switch-to-next-buffer): Don't switch in minibuffer window.
2404 (quit-restore-window): New function based on quit-window.
2405 Handle additional values of former KILL argument.
2406 (quit-window): Call quit-restore-window with appropriate
2407 interpretation of KILL argument.
2408 (display-buffer-below-selected): New buffer display action
2409 function.
2410
3d10e134
SM
24112012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * minibuffer.el (completion-at-point-functions): Complete docstring
2414 (bug#12254).
2415
0e23ef9d
PE
24162012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2417
2418 Better seed support for (random).
2419 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2420 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2421 * play/mpuz.el, play/tetris.el, play/zone.el:
2422 * calc/calc-comb.el (math-init-random-base):
2423 * play/blackbox.el (bb-init-board):
2424 * play/life.el (life):
2425 * server.el (server-use-tcp):
2426 * type-break.el (type-break):
2427 Remove unnecessary call to (random t).
2428 * net/sasl.el (sasl-unique-id-function):
2429 Change (random t) to (random), now that the latter is more random.
2430 * play/life.el (life-initialized): Remove no-longer-needed var.
2431
862382df
MR
24322012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2433
2434 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2435 Consider frame's buffer predicate when choosing the buffer.
2436 (Bug#12081)
2437
262a66e1
RS
24382012-08-30 Richard Stallman <rms@gnu.org>
2439
2440 * simple.el (special-mode-map): Delete binding for `z'.
2441
f17e1d00
AS
24422012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2443
2444 * progmodes/compile.el (compilation-always-kill): Doc fix.
2445
24777832
CY
24462012-08-30 Chong Yidong <cyd@gnu.org>
2447
2448 * window.el (display-buffer-reuse-frames): Make the obsolescence
2449 message more informative.
2450
69ba1f04
GM
24512012-08-30 Glenn Morris <rgm@gnu.org>
2452
2453 * paren.el (show-paren-delay):
2454 Add a :set function. Doc fix. (Bug#12297)
2455
f0019ede
MB
24562012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2457
2458 * progmodes/compile.el (compilation-always-kill): New var.
2459 (compilation-start): Use it.
2460
35e62fc9
SM
24612012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2462
af070a1c
SM
2463 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2464 * files.el (read-only-mode): Move to simple.el.
2465
35e62fc9
SM
2466 * files.el (read-only-mode): New minor mode.
2467 (toggle-read-only): Use it and mark obsolete.
2468 (find-file--read-only):
2469 * vc/vc.el (vc-next-action, vc-checkout):
2470 * vc/vc-cvs.el (vc-cvs-checkout):
2471 * obsolete/vc-mcvs.el (vc-mcvs-update):
2472 * ffap.el (ffap--toggle-read-only): Update callers.
2473
c2c43c23
MA
24742012-08-29 Michael Albinus <michael.albinus@gmx.de>
2475
2476 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2477 remote shell scripts.
2478 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2479
2480 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2481 "/usr/local/sbin".
2482
9fba804b
SM
24832012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2486
eada0861 24872012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2488
806f0cc7
LL
2489 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2490 completion-at-point. (Bug#12220)
2491
3bb213b9
LL
2492 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2493
22ab32ef
LL
2494 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2495
eada0861 24962012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2497
19c17fc1
CY
2498 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2499 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2500
eada0861 25012012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2502
2503 * progmodes/hideif.el (hif-compress-define-list):
2504 Fix typo. (Bug#11951)
2505
eada0861 25062012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2507
2508 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2509 buffer local setting.
2510
27d6c5a8
LL
2511 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2512 rcirc-encode-coding-system.
2513
eada0861 25142012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2515
2516 * net/rcirc.el (rcirc-split-message): New function.
2517 (rcirc-send-message): Use it. (Bug#12051)
2518
d44688e4
JL
25192012-08-28 Juri Linkov <juri@jurta.org>
2520
2521 * info.el (Info-fontify-node): Hide empty lines at the end of
2522 the node. (Bug#12272)
2523
34f10d41
MR
25242012-08-27 Drew Adams <drew.adams@oracle.com>
2525
2526 * dired.el (dired-pop-to-buffer): Make window start at beginning
2527 of buffer (Bug#12281).
2528
77f1f99c
CY
25292012-08-26 Chong Yidong <cyd@gnu.org>
2530
2531 * window.el (special-display-regexps, special-display-frame-alist)
2532 (special-display-buffer-names, special-display-function)
2533 (display-buffer-reuse-frames): Mark as obsolete.
2534
2535 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2536
2537 * help.el (help-print-return-message): Don't treat
2538 display-buffer-reuse-frames specially.
2539
d97af5a0
CY
25402012-08-26 Chong Yidong <cyd@gnu.org>
2541
9fba804b
SM
2542 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2543 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2544 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2545 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2546 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2547 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2548 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2549 the functions directly with gdb-display-buffer-other-frame-action.
2550 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2551 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2552 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2553 (gdb-display-registers-buffer): Define directly.
2554 (def-gdb-display-buffer): Macro deleted.
2555 (gdb-display-buffer): Remove second and third args, callers don't
2556 use them. Defer to the default display-buffer behavior, apart
2557 from making windows dedicated.
2558 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2559
2560 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2561
2562 * window.el (display-buffer-pop-up-frame): Handle a
2563 pop-up-frame-parameters alist entry.
2564 (display-buffer): Document it.
2565
dd7ffad6
CY
25662012-08-26 Chong Yidong <cyd@gnu.org>
2567
2568 * isearch.el (search-whitespace-regexp): Make string and nil
2569 values apply to both ordinary and regexp search. Allow a cons
2570 cell value to distinguish between the two.
2571 (isearch-whitespace-regexp, isearch-search-forward)
2572 (isearch-search-backward): New functions.
2573 (isearch-occur, isearch-search-fun-default, isearch-search)
2574 (isearch-lazy-highlight-new-loop): Use them.
2575 (isearch-forward, isearch-forward-regexp): Doc fix.
2576
4c47bd1e
CY
25772012-08-26 Chong Yidong <cyd@gnu.org>
2578
2579 * faces.el (help-argument-name): Always inherit from italic
2580 (Bug#12213).
2581
9aba119d
MR
25822012-08-25 Martin Rudalics <rudalics@gmx.at>
2583
2584 * window.el (window--even-window-heights): Even heights when
2585 WINDOW and the selected window form a vertical combination.
2586 (display-buffer-use-some-window): Provide that window used gets
2587 sized back by quit-window. (Bug#11880) and (Bug#12091)
2588
ca5256ad
PE
25892012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2590
2591 Fix file time stamp problem with bzr and CVS (Bug#12001).
2592 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2593 in the file's time stamp, since the version control system loses
2594 that information.
2595
d1c0d176
JL
25962012-08-22 Juri Linkov <juri@jurta.org>
2597
2598 * info.el (Info-fontify-node): Hide the suffix of the
2599 Info file name in the header line. (Bug#12187)
2600
141562ff
GM
26012012-08-22 Glenn Morris <rgm@gnu.org>
2602
2603 * calendar/cal-tex.el (cal-tex-weekly-common):
2604 Restore leading blank page.
2605
61a48e19 26062012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2607
2608 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2609 the region under `shift-select-mode'. (Bug#12231)
2610
26112012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2612
2613 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2614 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2615 gives details on why the space is never needed.
2616
ea95074e
MR
26172012-08-22 Martin Rudalics <rudalics@gmx.at>
2618
9fba804b
SM
2619 * window.el (walk-window-tree, window-with-parameter):
2620 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2621 should run on the minibuffer window.
2622 (window-at-side-list): Don't operate on minibuffer window.
2623 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2624 (window--size-ignore): Rename to window--size-ignore-p.
2625 Update callers.
caceae25
MR
2626 (display-buffer-in-atom-window, window--major-non-side-window)
2627 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2628 (delete-side-window, display-buffer-in-side-window):
2629 New functions.
caceae25
MR
2630 (window--side-check, window-deletable-p, delete-window)
2631 (delete-other-windows, split-window): Handle side windows and
2632 atomic windows appropriately.
2633 (window--display-buffer): Call display-buffer-record-window also
2634 when the window buffer did not change.
ea95074e 2635
80a51fa0
CS
26362012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2637
2638 * help-fns.el (help-fns--key-bindings):
2639 Abbreviate non-symbol remap targets. (Bug#12174)
2640
fbb6300b
MR
26412012-08-22 Martin Rudalics <rudalics@gmx.at>
2642
2643 * dired.el (dired-mark-remembered): Don't clobber point.
2644 (Bug#11795)
2645
2b2c0794
GM
26462012-08-22 Glenn Morris <rgm@gnu.org>
2647
2648 * progmodes/bug-reference.el (bug-reference): New custom group.
2649 (bug-reference-bug-regexp): Make it a defcustom.
2650
37219830
DU
26512012-08-22 Daiki Ueno <ueno@unixuser.org>
2652
2653 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2654 (js-paren-indent-offset, js-square-indent-offset)
2655 (js-curly-indent-offset): Add :safe (Bug#12257).
2656
94e0e559
EC
26572012-08-22 Edward O'Connor <hober0@gmail.com>
2658
2659 * json.el (json-key-format): Add error properties.
2660 (json-encode-key): New function.
2661 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2662 Use json-encode-key.
2663
da485f5e
GM
26642012-08-22 Glenn Morris <rgm@gnu.org>
2665
2666 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2667 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2668 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2669 Update for above change.
2670
c6cc78b8
AS
26712012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2672
2673 * cus-face.el (custom-face-attributes): Fix customize type for the
2674 :underline attribute. (Bug#11805)
2675
5481664a
MR
26762012-08-21 Martin Rudalics <rudalics@gmx.at>
2677
2678 * window.el (window-point-1, set-window-point-1): Remove.
2679 (window-in-direction, record-window-buffer)
2680 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2681 (window--state-get-1, display-buffer-record-window):
2682 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2683 window-point and set-window-point respectively.
2684
6d74698e
GM
26852012-08-21 Glenn Morris <rgm@gnu.org>
2686
b7fa2691
GM
2687 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2688 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2689 Use it.
2690
52f56d5a
GM
2691 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2692 (cal-tex-shortday): New function.
2693 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2694 (cal-tex-cursor-filofax-daily): Use the above.
2695
9f1ee09e
GM
2696 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2697 New functions.
2698 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2699 (cal-tex-cursor-filofax-week): Use them.
2700
79858159
GM
2701 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2702 New constants.
2703 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2704 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2705
d346b2b4
GM
2706 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2707 (cal-tex-end-document): Don't rely on buffer name.
2708
b2403709
GM
2709 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2710 Use cal-tex-vspace.
2711 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2712 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2713 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2714 Use cal-tex-arg.
b2403709 2715
1cebb5c0
GM
2716 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2717 (cal-tex-cursor-week, cal-tex-cursor-week2)
2718 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2719 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2720 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2721 (cal-tex-insert-preamble, cal-tex-b-document)
2722 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2723 Improve cal-tex-cmd usage.
2724
c68cd5d4
GM
2725 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2726 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2727 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2728 (cal-tex-weekly-paper): New function.
2729 (cal-tex-cursor-week, cal-tex-cursor-week2)
2730 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2731 (cal-tex-cursor-day): Use it.
2732
9dca4801
GM
2733 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2734 (cal-tex-cursor-filofax-week): Remove leading blank page.
2735
1941e134
GM
2736 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2737 Add autoload cookie. For now at least, don't use color, since
2738 no other cal-tex function does.
2739
6d74698e
GM
2740 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2741 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2742 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2743
64cde199
JL
27442012-08-21 Juri Linkov <juri@jurta.org>
2745
2746 * info.el (Info-file-attributes): New variable.
2747 (info-insert-file-contents): Add file attributes to
2748 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2749 `Info-toc-nodes' when previous modtime of the Info file is less
2750 than new modtime.
2751 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2752 of info.el. (Bug#12230)
2753
32757648
GM
27542012-08-20 Glenn Morris <rgm@gnu.org>
2755
2756 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2757 * calendar/holidays.el (calendar-holiday-list):
2758 Report errors with display-warning rather than beep'n'sleep.
2759
a32fbbcf
MA
27602012-08-20 Michael Albinus <michael.albinus@gmx.de>
2761
2762 * net/tramp.el (tramp-accept-process-output): Accept only output
2763 from PROC. Otherwise, process filters and sentinels might be
2764 confused. (Bug#12145)
2765
a05731a0
CY
27662012-08-20 Chong Yidong <cyd@gnu.org>
2767
2768 * descr-text.el (describe-text-properties-1): Use overlays-in to
2769 report on empty overlays (Bug#3322).
2770
36e8d1eb
GM
27712012-08-20 Glenn Morris <rgm@gnu.org>
2772
3d300447
GM
2773 * mail/rmailout.el (rmail-output-read-file-name):
2774 Trap and report errors in rmail-output-file-alist elements.
2775
36e8d1eb
GM
2776 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2777 since most non-font-lock faces are not also variables).
2778
b96e5814
ER
27792012-08-20 Edward Reingold <reingold@iit.edu>
2780
2781 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2782 New function. (Bug12160)
2783
7cef3569
GM
27842012-08-19 Glenn Morris <rgm@gnu.org>
2785
2786 * mail/rmailout.el (rmail-output-read-file-name):
2787 Fix previous change (when the alist is nil or does not match).
2788
17975d7f
CY
27892012-08-19 Chong Yidong <cyd@gnu.org>
2790
2791 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2792 (Bug#12228).
2793
2170b1bd
CY
27942012-08-18 Chong Yidong <cyd@gnu.org>
2795
2796 * simple.el (yank-handled-properties): New defcustom.
2797 (yank-excluded-properties): Add font-lock-face and category.
2798 (yank): Doc fix.
2799
9fba804b
SM
2800 * subr.el (remove-yank-excluded-properties):
2801 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2802 and category is now done this way, instead of being hard-coded.
2803 (insert-for-yank-1): Remove font-lock-face handling.
2804 (yank-handle-font-lock-face-property)
2805 (yank-handle-category-property): New function.
2806
ee218151
GM
28072012-08-17 Glenn Morris <rgm@gnu.org>
2808
2809 * mail/rmailout.el (rmail-output-read-file-name):
2810 Check rmail-output-file-alist against the full message body
2811 in the correct rmail buffer. (Bug#12214)
2812
4a6bc3fd
MA
28132012-08-17 Michael Albinus <michael.albinus@gmx.de>
2814
9fba804b
SM
2815 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2816 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2817
383dcbf9
CY
28182012-08-17 Chong Yidong <cyd@gnu.org>
2819
2820 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2821 font spec, set the font directly (Bug#3228).
2822
998c4a6a
MR
28232012-08-17 Martin Rudalics <rudalics@gmx.at>
2824
2825 * window.el (delete-window): Fix last fix.
2826
52162052
MR
28272012-08-16 Martin Rudalics <rudalics@gmx.at>
2828
2829 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2830 (window-child, window-child-count, window-last-child)
2831 (window-normalize-window, window-combined-p)
2832 (window-combinations, window-atom-root, window-min-size)
2833 (window-sizable, window-sizable-p, window-size-fixed-p)
2834 (window-min-delta, window-max-delta, window--resizable)
2835 (window--resizable-p, window-resizable, window-total-size)
2836 (window-full-height-p, window-full-width-p, window-body-size)
2837 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2838 (minimize-window, window-deletable-p, delete-window)
2839 (delete-other-windows, set-window-buffer-start-and-point)
2840 (next-buffer, previous-buffer, split-window, balance-windows-2)
2841 (set-window-text-height, window-buffer-height)
2842 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2843 (truncated-partial-width-window-p): Minor code adjustments.
2844 In doc-strings state whether the argument window has to denote a
85c2386b 2845 live, valid or any window.
52162052 2846
1c308380
PS
28472012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2848
2849 * progmodes/subword.el (subword-forward-function)
2850 (subword-backward-function, subword-forward-regexp)
2851 (subword-backward-regexp): New variables.
2852 (subword-forward, subword-forward-internal, subword-backward-internal):
2853 Use new variables, eg so that different "word" definitions
2854 can be easily used. (Bug#11411)
2855
94c9ece1
SM
28562012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2857
2858 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2859 for composite selectors.
2860 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2861 operation just because we can't find a previous revision.
2862
f2045622
CY
28632012-08-15 Chong Yidong <cyd@gnu.org>
2864
2865 * frame.el (set-frame-font): Accept font objects.
2866
582db660
SM
28672012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2868
2869 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2870
2f29c200
WJ
28712012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2872
456e62c2
WJ
2873 * man.el (Man-overstrike-face, Man-underline-face)
2874 (Man-reverse-face): Remove variables.
2875 (Man-overstrike, Man-underline, Man-reverse): New faces.
2876 (Man-fontify-manpage): Use them instead of the variables.
2877 (Man-cleanup-manpage): Comment change.
2878 (Man-ansi-color-map): New variable.
2879 (Man-fontify-manpage): Use it.
2880 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2881
2f29c200
WJ
2882 Implement ANSI SGR parameters 22-27 (bug#12146).
2883 * ansi-color.el (ansi-colors): Doc fix.
2884 (ansi-color-context, ansi-color-context-region): Doc fix.
2885 (ansi-color--find-face): New function.
2886 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2887 Rename the local variable `face' to `codes' since it is now a list of
2888 ansi codes. Doc fix.
2889 (ansi-color-get-face): Remove.
2890 (ansi-color-parse-sequence): New function, derived from
2891 ansi-color-get-face.
2892 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2893 codes 22-27.
2894
b4f5e9df
SM
28952012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * subr.el (read-passwd): Allow use from a minibuffer.
2898
ba025fbd
EZ
28992012-08-14 Eli Zaretskii <eliz@gnu.org>
2900
2901 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2902 inside comments and strings as identifiers.
2903
2904 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2905 expression to evaluate. This allows to evaluate expressions with
2906 embedded whitespace.
2907 (gud-tooltip-tips): Add a blank before the newline in the
2908 message-box text, for the benefit of message-box emulation on
2909 MS-Windows.
2910
2911 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2912 messages from GDB, pop them up in a tooltip to give feedback to
2913 user.
b4f5e9df
SM
2914 (gdb-tooltip-print-1): Quote the expression to evaluate.
2915 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2916 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2917 if the TTY name is nil or empty (which happens when communicating
2918 with the inferior via pipes, e.g. on MS-Windows).
2919 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2920 don't send that to the GUD buffer.
2921
c548f821
GM
29222012-08-14 Glenn Morris <rgm@gnu.org>
2923
2924 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2925 Optimize away setq-default with no args, as for setq. (Bug#12195)
2926
55802e4a
CY
29272012-08-14 Chong Yidong <cyd@gnu.org>
2928
4abcdac8
CY
2929 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2930
55802e4a
CY
2931 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2932 (Bug#12085).
2933
3c3cda1a
GM
29342012-08-14 Glenn Morris <rgm@gnu.org>
2935
2936 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2937
e1873bd0
MA
29382012-08-14 Michael Albinus <michael.albinus@gmx.de>
2939
2940 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2941 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2942 Use cached shell name.
2943
925411b4
FEG
29442012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2945
2946 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2947 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2948
e636fafe
DG
29492012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2950
2951 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2952 (ruby-percent-literal-beg-re): New constant.
2953 (ruby-syntax-general-delimiters-goto-beg): Rename to
2954 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2955 (ruby-syntax-propertize-general-delimiters): Rename to
2956 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2957 popular term. Adjust comments everywhere.
2958 (ruby-syntax-propertize-percent-literal): Only propertize when not
2959 inside a simple string or comment. When the literal is unclosed,
2960 leave the text after it unpropertized.
f063063a
DG
2961 (ruby-syntax-methods-before-regexp): New constant.
2962 (ruby-syntax-propertize-function): Use it to recognize regexps.
2963 Don't look at the text after regexp, just use the whitelist.
e636fafe 2964
e5b19827
AS
29652012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2966
2967 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2968 non-nil always load the compiled file if it exists. (Bug#12197)
2969
a9f6f311
CY
29702012-08-14 Chong Yidong <cyd@gnu.org>
2971
2972 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2973 (hi-lock-set-pattern): When deciding whether to use font lock or
2974 overlays, look at font-lock-mode instead of font-lock-fontified
2975 (Bug#12168).
2976 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2977 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2978
7d806b1e
DU
29792012-08-14 Daiki Ueno <ueno@unixuser.org>
2980
2981 * subr.el (internal--after-with-selected-window): Fix typo
2982 (Bug#12193).
2983
5beed586
FEG
29842012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2985
2986 Use `completion-table-dynamic' for completion functions.
2987 * progmodes/python.el
2988 (python-shell-completion--do-completion-at-point)
e636fafe
DG
2989 (python-shell-completion--get-completions):
2990 Remove functions.
5beed586
FEG
2991 (python-shell-completion-complete-at-point): New function.
2992 (python-completion-complete-at-point): Use it.
2993
92cb3b04
J
29942012-08-13 Jambunathan K <kjambunathan@gmail.com>
2995
2996 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2997 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2998
89660017
SM
29992012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3000
3c98c962
SM
3001 * subr.el (function-get): Refine `autoload' arg so it can also
3002 autoload functions for gv.el (bug#12191).
3003 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3004 autoloads macros.
3005
aa7c6dbe
SM
3006 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3007 Prefer pcase-let over destructuring-bind.
3008 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3009 Also, remove whitespace as we go, rather than after accumulating the
3010 various places.
3011
89660017
SM
3012 * subr.el (internal--before-with-selected-window)
3013 (internal--after-with-selected-window): Fix typo seleted->selected.
3014 (with-selected-window): Adjust callers.
3015 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3016
31cd32c9
BG
30172012-08-13 Bastien Guerry <bzg@gnu.org>
3018
0fcd3d9f 3019 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3020 enhancement. (Bug#12172)
3021
1b15d8ad
AS
30222012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3023
31e54db0
AS
3024 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3025 type 1-6.
3026 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3027 extended headers.
3028
1b15d8ad
AS
3029 * files.el (hack-local-variables-filter): Remove useless eval.
3030
35cb9c06
MR
30312012-08-13 Martin Rudalics <rudalics@gmx.at>
3032
3033 * subr.el (with-selected-window): Fix last change.
3034
1439443b
SM
30352012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3037 * subr.el (internal--before-with-seleted-window)
3038 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3039 (with-selected-window): Use them, to replace dependency on
3040 tty-top-frame.
1439443b 3041
0d9e2599
NN
30422012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3043
3044 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3045 binding for `newline'.
3046 (ruby-move-to-block): When moving backward, stop at block opening,
3047 not indentation.
3048 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3049 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3050 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3051 `ruby-toggle-block'.
3052
ba10c48c
SM
30532012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3054
3055 * ibuffer.el (ibuffer-do-toggle-read-only):
3056 * dired.el (dired-toggle-read-only):
3057 * buff-menu.el (Buffer-menu-toggle-read-only):
3058 * bindings.el (mode-line-toggle-read-only):
3059 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3060
9229c658
AS
30612012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3062
3063 * descr-text.el (describe-char): Put the overlays over the
3064 "displayed as" character.
3065
0fd09128
JB
30662012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3067
3068 * calc/calc-units.el (math-default-units-table): Give an
3069 initial value.
3070 (math-put-default-units): Add options to put composite units and
3071 unit systems in the default units table.
3072 (calc-convert-units): Send composite units to
3073 `math-put-default-units' when appropriate.
3074
9ff9402d 30752012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3076
fbb5e336
GM
3077 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3078
7aacaf15
GM
3079 * tutorial.el (help-with-tutorial):
3080 * emacs-lisp/copyright.el (copyright-update-directory):
3081 * emacs-lisp/autoload.el (autoload-find-generated-file)
3082 (autoload-find-file): Disable local eval: (for insurance).
3083
f40b9f10
GM
3084 * files.el (hack-local-variables-filter): If an eval: form is not
3085 known to be safe, and enable-local-variables is :safe, then ignore
3086 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3087 This is CVE-2012-3479.
f40b9f10 3088
daa9f1a6
SM
30892012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3092 (rx-form): Simplify.
3093
9cd80478
DG
30942012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3095
0d9e2599
NN
3096 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3097 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3098 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3099 (ruby-syntax-propertize-function): Adjust for changes in
3100 `ruby-syntax-propertize-heredoc'.
3101
31022012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3103
9cd80478
DG
3104 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3105 binding (use `M-;' instead).
9cd80478 3106 (ruby-singleton-class-p): New function.
0d9e2599 3107 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3108
d301b413
SM
31092012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3112
1530c98e
CY
31132012-08-10 Chong Yidong <cyd@gnu.org>
3114
3115 * progmodes/python.el (python-shell-get-process-name): Don't mess
3116 with same-window-buffer-names.
3117
3118 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3119 (eshell-remove-from-window-buffer-names): Make obsolete.
3120 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3121 (eshell): Just use pop-to-buffer-same-window instead.
3122
e1293765
CY
31232012-08-10 Chong Yidong <cyd@gnu.org>
3124
3125 * bindings.el: Bind M-= back to count-words-region.
3126
3127 * simple.el (count-words-region): Accept a prefix arg for acting
3128 on the entire buffer.
3129 (count-words--buffer-message): New helper function.
3130
e1894109
SM
31312012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3134 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3135 (event-start, event-end): Use posn-at-point to return a more
3136 informative posn.
3137 (posnp): New function.
3138 * mouse.el (popup-menu-normalize-position): Use it.
3139
c69f56a2
MY
31402012-08-10 Masatake YAMATO <yamato@redhat.com>
3141
3142 * mouse.el (popup-menu-normalize-position): New function.
3143 (popup-menu): Use `popup-menu-normalize-position' to normalize
3144 the form for POSITION argument.
3145
3146 * term/x-win.el (x-menu-bar-open):
3147 Use the value returend from (posn-at-point) as position
3148 passed to `popup-menu'.
3149
31673780
JB
31502012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3151
3152 * calc/calccomp.el (math-compose-expr): Add extra argument
3153 indicating that parentheses should be put around products in
3154 denominators. Give multiplication precedence over division during
3155 composition.
3156
dab7711b
CY
31572012-08-09 Chong Yidong <cyd@gnu.org>
3158
dee4ef93
CY
3159 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3160 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3161 (Man-untabify-command, manual-program): Convert to defcustom
3162 (Bug#10429).
3163
73e2bbc5
CY
3164 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3165
3e861c8a
CY
3166 * descr-text.el (describe-char): Don't insert extra newlines
3167 (Bug#10127).
3168
a9f5a649
CY
3169 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3170 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3171
dab7711b
CY
3172 * align.el (align-region): Delete temporary markers (Bug#10047).
3173 Plus some code cleanups.
3174
e0cc4efa
FEG
31752012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3176
3177 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3178 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3179 (python-shell-internal-last-output): Use make-local-variable
3180 instead of make-variable-buffer-local.
3181
489af14f
FEG
31822012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3183
3184 * progmodes/python.el: Enhancements to forward-sexp.
3185 (python-nav-forward-sexp): Rename from
3186 python-nav-forward-sexp-function.
c69f56a2
MY
3187 (python-nav--forward-sexp, python-nav--backward-sexp):
3188 New functions.
489af14f 3189
0fc50303
JB
31902012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3191
3192 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3193 modes and simplification modes.
3194
5d65606a
SM
31952012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * delsel.el (delete-selection-pre-hook): Don't propagate the
3198 file-supersession signals (bug#12161).
3199
4250fdf5
SM
32002012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3201
3202 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3203 (cl-map-extents): Add compatibility aliases (bug#12135).
3204
d9f9b465
MA
32052012-08-08 Michael Albinus <michael.albinus@gmx.de>
3206
3207 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3208 tests by `ignore-error'.
3209 (tramp-find-shell): Open also a new shell, when cache is already
3210 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3211
ce0fcefa
JL
32122012-08-08 Juri Linkov <juri@jurta.org>
3213
3214 * bookmark.el: Add `defaults' property to the bookmark record.
3215 (bookmark-current-buffer): Doc fix.
3216 (bookmark-make-record): Add `defaults' property with default values
3217 to the bookmark record.
3218 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3219 with `bookmark-insert-current-bookmark'.
3220 (bookmark-set): Get `defaults' property from the bookmark record
3221 and use it in `read-from-minibuffer'.
3222 (bookmark-insert-current-bookmark): Remove function.
3223
3224 * info.el (Info-bookmark-make-record): Add `defaults' property
3225 with values of canonical Info node name, the current Info file
3226 name and the current Info node name. (Bug#12107)
3227
53fa8652
JL
32282012-08-08 Juri Linkov <juri@jurta.org>
3229
3230 * files.el (basic-save-buffer): Use `buffer-name' as the default
3231 of `read-file-name' when buffer is not visiting a file (bug#12128).
3232
242c0a95
JL
32332012-08-08 Juri Linkov <juri@jurta.org>
3234
3235 * info.el (Info-isearch-search): Doc fix.
3236 (Info-search): Change search-failed message from "initial node" to
3237 "end of node" (bug#12078).
3238 (Info-isearch-search): Change `isearch-string-state' to
3239 `isearch--state-string'.
3240
32ac3a6b
GM
32412012-08-08 Glenn Morris <rgm@gnu.org>
3242
3243 * language/persian.el: Remove file.
f8c1afd5 3244 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3245 * loadup.el: Remove language/persian.
3246
2c2d9c9c
OF
32472012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3248
3249 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3250
2d79ec42
FEG
32512012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3252
3253 * progmodes/python.el Fixed defsubst warning.
3254 (python-syntax-context) Rename from python-info-ppss-context.
3255 (python-syntax-context-type): Rename from
3256 python-info-ppss-context-type.
3257 (python-syntax-comment-or-string-p): Rename from
3258 python-info-ppss-comment-or-string-p.
3259
2bd255dd
JB
32602012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3261
3262 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3263
c395097f
AS
32642012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3265
6125983e
AS
3266 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3267 a defcustom that is quoted with backquote.
3268
4250fdf5
SM
3269 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3270 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3271 (math-do-arg-check, math-define-function-body): Use backquote forms.
3272 * calc/calc-ext.el (math-defcache): Likewise.
3273 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3274 * allout.el (allout-new-exposure): Likewise.
3275 * calc/calcalg2.el (math-tracing-integral): Likewise.
3276 * info.el (Info-last-menu-item): Likewise.
3277 * emulation/vip.el (vip-loop): Likewise.
3278 * textmodes/artist.el (artist-funcall): Likewise.
3279 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3280 Construct menu-item directly.
3281
4250fdf5
SM
3282 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3283 Don't declare.
c395097f 3284
5fb50dd3
CY
32852012-08-07 Chong Yidong <cyd@gnu.org>
3286
3287 * simple.el (deactivate-mark): Preserve text properties when
3288 saving the primary selection (Bug#8384).
3289
54eea618
KR
32902012-08-07 Kevin Ryde <user42@zip.com.au>
3291
3292 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3293 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3294 and continue processing (Bug#12110).
3295
638eaeb9
SM
32962012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3297
3298 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3299 syntax-propertize-function (bug#10095).
3300
ea376861
SM
33012012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3302
f91b35be
SM
3303 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3304 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3305 describe-function-1.
3306 (describe-function-1): Use them. Move compiler macro after sig.
3307 (help-fns--compiler-macro): Use function-get. Assume we're already in
3308 standard-output. Adjust layout to new call order.
3309
ea376861
SM
3310 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3311 re-binding a symbol that has a symbol-macro (bug#12119).
3312
d5be7bd0
MB
33132012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3314
3315 * language/persian.el: New file. (Bug#11812)
3316 * loadup.el: Add language/persian.el.
3317
90749b53
CY
33182012-08-06 Chong Yidong <cyd@gnu.org>
3319
3320 * window.el (window--maybe-raise-frame): New function.
3321 (window--display-buffer): Split off from here.
3322 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3323 (display-buffer-pop-up-window, display-buffer-use-some-window):
3324 Obey an inhibit-switch-frame action alist entry.
3325 (display-buffer): Update doc.
3326
3327 * replace.el (occur-after-change-function): Avoid losing focus by
3328 using the inhibit-switch-frame display parameter (Bug#12139).
3329
ba7b0154
FEG
33302012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3331
3332 Make internal shell process buffer names start with space.
3333 * progmodes/python.el (python-shell-make-comint): Add optional
3334 argument INTERNAL.
3335 (run-python-internal): Use it.
3336 (python-shell-internal-get-or-create-process): Check for new
3337 internal buffer names.
3338
5eaeacb5
GM
33392012-08-06 Glenn Morris <rgm@gnu.org>
3340
e296d94b 3341 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3342 Do less getting and setting of environment variables.
3343
b7ccbdc2
CY
33442012-08-05 Chong Yidong <cyd@gnu.org>
3345
777fe95e
CY
3346 * proced.el (proced): Add substitution string to docstring to
3347 trigger autoloading of the proced library on C-h f (Bug#1768).
3348
4250fdf5
SM
3349 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3350 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3351
3352 * imenu.el (imenu-generic-expression): Move documentation here
3353 from imenu--generic-function.
3354 (imenu--generic-function): Refer to imenu-generic-expression.
3355
9e3b7800 33562012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3357
3358 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3359 indentation declaration.
3360 (viper-loop): Add indentation declaration (Bug#7025).
3361
e5d9c0d1
CY
33622012-08-05 Chong Yidong <cyd@gnu.org>
3363
f0422feb
CY
3364 * help-fns.el (describe-variable): Add hyperlink for
3365 directory-local variables files. Improve buffer-local and
3366 permanent-local reporting; suggested by MON KEY (Bug#6644).
3367
3368 * help-mode.el (help-dir-local-var-def): New button type.
3369
e5d9c0d1
CY
3370 * files.el (kill-buffer-hook): Provide a defvar.
3371
a4f2deaa
GM
33722012-08-05 Glenn Morris <rgm@gnu.org>
3373
3374 * eshell/esh-ext.el (eshell/addpath):
3375 Also update eshell-path-env. (Bug#12013)
3376
a9dd5754
CY
33772012-08-05 Chong Yidong <cyd@gnu.org>
3378
a4f2deaa 3379 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3380
d014c740
CY
3381 * fringe.el (fringe-styles): Add docstring.
3382 (fringe--check-mode): New function.
3383 (set-fringe-mode, set-fringe-style): Use it.
3384 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3385
a9dd5754
CY
3386 * files.el (set-auto-mode): Fix invalid setq call.
3387
7c2dc8bd
SM
33882012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3389
3390 * isearch.el: Misc simplification; use defstruct.
3391 (isearch-mode-map): Dense maps now work like sparse ones.
3392 (isearch--state): New defstruct.
3393 (isearch-string-state, isearch-message-state, isearch-point-state)
3394 (isearch-success-state, isearch-forward-state)
3395 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3396 (isearch-wrapped-state, isearch-barrier-state)
3397 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3398 replaced by defstruct's accessors.
3399 (isearch--set-state): Rename from isearch-top-state and change
3400 calling convention.
3401 (isearch-push-state): Use new isearch--get-state.
3402 (isearch-toggle-word): Disable regexp when enabling word.
3403 (isearch-message-prefix): Remove unused arg _c-q-hack.
3404 (isearch-message-suffix): Remove unused arg _ellipsis.
3405
7fcc0070
AS
34062012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3407
3408 * simple.el (list-processes--refresh): For a server use :host or
3409 :local as the address.
97ad0769 3410 (list-processes): Doc fix.
7fcc0070 3411
a11035b8 34122012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3413
3414 * lisp/mpc.el: Support password in host argument.
3415 (mpc--proc-connect): Parse and use new password element.
3416 Set mpc-proc variable instead of returning process.
3417 (mpc-proc): Adjust accordingly.
3418
6dad7178
EZ
34192012-08-03 Eli Zaretskii <eliz@gnu.org>
3420
18949c2f
EZ
3421 * whitespace.el (whitespace-display-mappings): Use Unicode
3422 codepoints, instead of emacs-mule codepoints. See
3423 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3424 for the details.
3425
6dad7178
EZ
3426 * files.el (file-truename): Don't skip symlink-chasing part on
3427 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3428 Windows into the loop that recursively chases symlinks.
3429 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3430 MS-DOS.
3431
385b0198
CY
34322012-08-03 Chong Yidong <cyd@gnu.org>
3433
6200f3c4
CY
3434 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3435
385b0198
CY
3436 * sort.el (sort-regexp-fields): Doc fix.
3437
b9e74744
TH
34382012-08-03 Tassilo Horn <tsdh@gnu.org>
3439
3440 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3441 labels regex position point at the expected place.
3442
41013cb4
MK
34432012-08-03 MON KEY <monkey@sandpframing.com>
3444
3445 * net/imap.el (imap-interactive-login, imap-authenticate)
3446 (imap-mailbox-lsub, imap-mailbox-list)
3447 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3448 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3449 (imap-parse-response): Doc fix.
3450
0ffee616
JT
34512012-08-03 João Távora <joaotavora@gmail.com>
3452
3453 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3454 if sexp scanning does not move point (Bug#5734).
3455
cfcc9cc8
TH
34562012-08-02 Tassilo Horn <tsdh@gnu.org>
3457
3458 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3459 Add listings, minted, and ctable packages.
3460 (reftex-label-alist-builtin): Move listings, minted, and ctable
3461 entries before LaTeX.
a01bbb84 3462 (reftex-label-alist): Docfix.
cfcc9cc8 3463
66ec2442
BG
34642012-08-02 Bastien Guerry <bzg@gnu.org>
3465
3466 * replace.el (occur): Fix docstring (bug#12122).
3467
837b365b
GM
34682012-08-02 Glenn Morris <rgm@gnu.org>
3469
3470 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3471
e098de97
PE
34722012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3473
3474 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3475 * international/mule-cmds.el: Create
3476 inactivate-current-input-method-function as an obsolete alias for
3477 deactivate-current-input-method-function. See Katsumi Yamaoka in
3478 <http://bugs.gnu.org/10150#46>.
3479
a0f95636
JB
34802012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3481
3482 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3483 of nested `if's.
3484
0d26d7c4
GM
34852012-08-01 Glenn Morris <rgm@gnu.org>
3486
3487 * progmodes/autoconf.el (autoconf-definition-regexp):
3488 Add AH_TEMPLATE, adjust submatch numbering.
3489 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3490 (autoconf-current-defun-function): Update for above change.
3491 (autoconf-current-defun-function): First skip to end of current word.
3492
b686ba06
RS
34932012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3494
3495 * calendar/cal-html.el (cal-html-insert-agenda-days):
3496 Fix typo. (Bug#12018)
3497
0d49da68
FEG
34982012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3499
3500 Shell processes: enhancements to startup and CEDET compatibility.
3501 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3502 (python-shell-make-comint): accept-process-output at startup.
3503 (run-python-internal): Set inferior-python-mode-hook to nil.
3504 (python-shell-internal-get-or-create-process): call sit-for.
3505 (python-preoutput-result): Add obsolete alias.
3506 (python-shell-internal-send-string): Use it.
3507 (python-shell-send-setup-code): Remove call to
3508 accept-process-output.
3509
f1a71c6e
AS
35102012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3511
3512 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3513 (Bug#12108)
3514
d2605269
JB
35152012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3516
3517 * calc-mode.el (calc-basic-simplification-mode): Rename from
3518 `calc-limited-simplification-mode'.
3519 (calc-alg-simplification-mode): New function.
fc0c31f8 3520 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3521
d2605269
JB
3522 * calc.el (calc-set-mode-line): Adjust mode line display for
3523 basic simplification mode.
3524
3525 * calc-help.el (calc-m-prefix-help): Update help message.
3526
3527 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3528 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3529
a3827a43
BG
35302012-07-31 Bastien Guerry <bzg@gnu.org>
3531
3532 * man.el (man): Fix comment. (bug#12101)
3533
502e3f89
MR
35342012-07-31 Martin Rudalics <rudalics@gmx.at>
3535
3536 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3537 Don't return a non-nil value when no suitable buffer was found.
3538
d7714961
FEG
35392012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3540
3541 * progmodes/python.el (run-python-internal): Disable font lock for
3542 internal shells.
3543
1f45e27e
SM
35442012-07-30 Stefan Merten <smerten@oekonux.de>
3545
70efc5c9 3546 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3547 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3548 (rst-official-version, rst-official-cvs-rev)
3549 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3550 (rst-mode-map): New key binding.
3551
0aee6912
PE
35522012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3553
3554 Update .PHONY listings in makefiles.
3555 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3556 autoloads, update-subdirs, updates, bzr-update, update-authors,
3557 compile-onefile, compile-calc, backup-compiled-files,
3558 compile-after-backup, compile-one-process, mh-autoloads,
3559 bootstrap-clean, distclean, maintainer-clean.
3560
9052f9f0
JB
35612012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3562
1823ac5a
JB
3563 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3564 (calc-set-mode-line): Don't display "AlgSimp ".
3565
3566 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3567 (calc-lim-simplify-mode): New function.
3568 (calc-set-simplify-mode): Default to 'alg.
3569 (calc-default-simplify-mode): Make algebraic simplifications
3570 the default.
3571
3572 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3573 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3574
8d7c7eed 3575 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3576 indicate new simplification modes.
3577
1823ac5a
JB
3578 * calc/README: Mention new default simplification mode.
3579
9052f9f0
JB
3580 * calc/calc.el (math-normalize-error): New variable.
3581 (math-normalize): Set `math-normalize-error' to t
3582 when there's an error.
3583
3584 * calc/calc-alg.el (math-simplify): Don't simplify when
3585 `math-normalize' returns an error.
3586
20ba0cb4
EZ
35872012-07-29 Eli Zaretskii <eliz@gnu.org>
3588
3589 * international/mule-cmds.el (set-locale-environment): Revert last
3590 change, since display-graphic-p returns nil when this function is
3591 called during startup. Instead...
3592
3593 * term/w32console.el (terminal-init-w32console): ...setup the
3594 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3595
a5dcc929
JL
35962012-07-29 Juri Linkov <juri@jurta.org>
3597
3598 * simple.el (goto-line): Don't display default line number in the
3599 prompt because it should be displayed by `read-number' (bug#9952).
3600 Add the current line number to the defaults of `goto-line' to
3601 allow its easier modification by users with `M-n' (bug#9201).
3602
3603 * subr.el (read-number): Support multiple default values like in
3604 other minibuffer reading functions. Replace `read' with
3605 `string-to-number' for consistency with `number-to-string'.
3606
72b255c7
PE
36072012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3608
3609 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3610 * emulation/viper-init.el (viper-deactivate-input-method-action):
3611 Rename from viper-inactivate-input-method-action.
3612 (viper-deactivate-input-method):
3613 Rename from viper-inactivate-input-method.
3614 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3615 * international/mule-cmds.el (deactivate-input-method):
3616 Rename from inactivate-input-method.
3617 Also run input-method-deactivate-hook.
3618 (deactivate-current-input-method-function):
3619 Rename from inactivate-current-input-method-function.
3620 (input-method-deactivate-hook): New hook.
3621 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3622 (inactivate-input-method): Mark obsolete.
3623
72b255c7
PE
3624 * international/quail.el (quail-activate):
3625 Also run quail-deactivate-hook.
3626 (quail-deactivate): Rename from quail-inactivate.
3627 * international/robin.el (robin-activate):
3628 Also run robin-deactivate-hook.
3629 (robin-deactivate): Rename from robin-inactivate.
3630
2549c068
CY
36312012-07-29 Chong Yidong <cyd@gnu.org>
3632
3633 * simple.el (indicate-copied-region): New function.
3634 (kill-ring-save): Split off from here.
3635
3636 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3637 (kill-rectangle): Set deactivate-mark to t on read-only error.
3638
3639 * register.el (copy-to-register, copy-rectangle-to-register):
3640 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3641 (append-to-register, prepend-to-register): Call indicate-copied-region.
3642
36432012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3644
3645 * simple.el (async-shell-command-buffer): New defcustom.
3646 (shell-command): Use it. (Bug#4719)
3647
01bd1b0d
EZ
36482012-07-28 Eli Zaretskii <eliz@gnu.org>
3649
3650 * international/mule-cmds.el (set-locale-environment): In a
3651 console session on MS-Windows, set up keyboard and terminal
3652 encoding from the OEM codepage, not the ANSI codepage.
3653 (Bug#12055)
3654
a55739d3
CY
36552012-07-28 Chong Yidong <cyd@gnu.org>
3656
3657 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3658 gdb-get-location.
3659
0e1a094f 36602012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3661
3662 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3663 the alist (bug#12029).
3664
20329d73
EZ
36652012-07-28 Eli Zaretskii <eliz@gnu.org>
3666
3667 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3668 (compile-always, compile-first)
3669 ($(lisp)/calendar/cal-loaddefs.el)
3670 ($(lisp)/calendar/diary-loaddefs.el)
3671 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3672 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3673 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3674 instead of on update-subdirs.
3675 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3676
345a2258
CY
36772012-07-28 Chong Yidong <cyd@gnu.org>
3678
1eee6341
CY
3679 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3680 directory if vc-deduce-backend returns nil (Bug#7350).
3681
345a2258
CY
3682 * simple.el (delete-trailing-lines): New option.
3683 (delete-trailing-whitespace): Obey it (Bug#11879).
3684
049a0936
DE
36852012-07-28 David Engster <deng@randomsample.de>
3686
3687 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3688 Explanation of new 'symbol-qnames feature in doc-strings.
3689 (xml-maybe-do-ns): Return expanded names as plain symbols if
3690 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3691 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3692
aa81af71
FEG
36932012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3694
3695 Consistent completion in inferior python with emacs -nw.
3696 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3697 binding in inferior-python-mode-map with "\t".
3698 (python-shell-completion-complete-at-point)
3699 (python-completion-complete-at-point): Remove interactive spec.
3700
e827b1eb
JB
37012012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3702
3703 * calc/calccomp.el (math-compose-expr): Undo previous change.
3704
a90dfb95
FEG
37052012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3706
4250fdf5 3707 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3708 run-python.
3709 (python-shell-make-comint): Fix pop-to-buffer call.
3710 (run-python): Autoload. New arg SHOW.
3711 (python-shell-get-or-create-process): Do not pop python process
3712 buffer.
3713
32770973 37142012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3715
3716 * notifications.el (notifications-on-action-signal)
3717 (notifications-on-closed-signal): Use also the bus address for the map.
3718 (notifications-notify, notifications-close-notification)
fc0c31f8 3719 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3720
86332df2
TH
37212012-07-27 Tassilo Horn <tsdh@gnu.org>
3722
4250fdf5
SM
3723 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3724 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3725 ctable macro.
3726 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3727 labels written in keyvals syntax.
3728
ca1302a4
JB
37292012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3730
3731 * calc/calccomp.el (math-compose-expr): Use parentheses when
3732 there is a product in the denominator of a fraction.
3733
f8b91036
EZ
37342012-07-26 Eli Zaretskii <eliz@gnu.org>
3735
3736 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3737 ($(lisp)/calendar/diary-loaddefs.el)
3738 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3739 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3740 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3741 rewritten while the autoload files are built at the same time,
3742 which needs to load subdirs.el.
3743
c8e5a42c
MR
37442012-07-26 Martin Rudalics <rudalics@gmx.at>
3745
3746 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3747 (mouse-drag-line): Don't exit tracking when a switch-frame or
3748 switch-window event occurs (Bug#12006).
3749
670d85ea
SM
37502012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * mouse.el (popup-menu): Fix last change.
3753
7abaf5cc
SM
37542012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 Autoload from Lisp with more care. Follow aliases when looking for
3757 function properties.
3758 * subr.el (autoloadp): New function.
3759 (symbol-file): Use it.
3760 (function-get): New function.
3761 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3762 autoload-do-load.
3763 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3764 (lisp-indent-function):
3765 * emacs-lisp/gv.el (gv-get):
3766 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3767 * emacs-lisp/byte-opt.el (byte-optimize-form):
3768 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3769 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3770 Use function-get.
3771 * emacs-lisp/cl.el: Don't propagate function properties any more.
3772
3773 * speedbar.el (speedbar-add-localized-speedbar-support):
3774 * emacs-lisp/disass.el (disassemble-internal):
3775 * desktop.el (desktop-load-file):
3776 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3777 (describe-function-1):
3778 * emacs-lisp/find-func.el (find-function-noselect):
3779 * emacs-lisp/elp.el (elp-instrument-function):
3780 * emacs-lisp/advice.el (ad-has-proper-definition):
3781 * apropos.el (apropos-safe-documentation, apropos-macrop):
3782 * emacs-lisp/debug.el (debug-on-entry):
3783 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3784 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3785 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3786
b1364986
AA
37872012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3788
3789 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3790 function, not an obsolete variable (Bug#12046).
3791
67ada220
AS
37922012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3793
3794 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3795
f08088e3
CS
37962012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3797
3798 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3799 window only if it is still live (Bug#12034).
3800
8137e7b3
MR
38012012-07-25 Martin Rudalics <rudalics@gmx.at>
3802
3803 * subr.el (redirect-frame-focus): Add advertised calling
3804 convention (Bug#12030).
3805
09ae5da1
PE
38062012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3807
3808 Prefer typical American spelling for "acknowledgment".
3809 * vc/add-log.el (change-log-acknowledgment): Rename from
3810 change-log-acknowledgement, with an alias for the old name.
3811
3cc5a3a8
JB
38122012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3813
3814 * calc-alg.el (math-simplify-divide): Don't cross multiply
3815 in an equation when the lhs is a variable.
3816
b7af7f62
JD
38172012-07-24 Julien Danjou <julien@danjou.info>
3818
3819 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3820 Remove, unused.
3821
ec1b09b1
EZ
38222012-07-23 Eli Zaretskii <eliz@gnu.org>
3823
3824 * startup.el (command-line): Don't display an empty user name in
3825 the error message about non-existent home directory, when
3826 init-file-user was set to an empty string. See
3827 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3828 for the details and context.
3829
b525fd8a
VB
38302012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3831
3832 * ses.el (ses-cell-formula-aset): New macro.
3833 (ses-cell-references-aset): New macro.
3834 (ses-cell-p): New function.
3835 (ses-rename-cell): Do no longer rely on complex operations like
3836 ses-cell-set-formula or ses-set-cell to change the cell and handle
3837 the undo at the same time, but rather use lower level new macros
3838 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3839 the undo directly. Refresh the mode line.
b525fd8a 3840
2c73e345
LL
38412012-07-21 Leo Liu <sdl.web@gmail.com>
3842
670d85ea
SM
3843 * progmodes/cc-cmds.el (c-defun-name):
3844 Use match-string-no-properties instead for consistency.
2c73e345 3845
542dfbde
LL
38462012-07-20 Leo Liu <sdl.web@gmail.com>
3847
3646bcd6
LL
3848 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3849 (Bug#7879)
3850
542dfbde
LL
3851 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3852
25721031
CY
38532012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3854
3855 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3856 * progmodes/bug-reference.el, misearch.el: Provide themselves
3857 (bug#11915).
3858
3859 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3860 of narrowed buffer (bug#11966).
3861
316e68a7
VB
38622012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3863
3864 * ses.el (ses-rename-cell): Set new name also in reference list of
3865 cells of which the renamed cell depends.
3866
bbf0e7d9
MY
38672012-07-20 Masatake YAMATO <yamato@redhat.com>
3868
3869 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3870 to check whether menu-bar is shown or not. If not shown,
3871 show the menu-bar as a popup menu instead of using tmm.
3872 * mouse.el (popup-menu): Accept `point' as `position' argument.
3873
c28662a8
DG
38742012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3875
3876 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3877 up inside string symbol literal (bug#11923).
3878
87ab808f
EZ
38792012-07-20 Eli Zaretskii <eliz@gnu.org>
3880
3881 * startup.el (fancy-startup-text): Read the whole tutorial, not
3882 just its first 256 bytes. Prevents gibberish in display of the
3883 tutorial title.
3884
89dea803
DA
38852012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3886
3887 Drop idle buffer compaction due to an absence of the
3888 proved efficiency.
3889 * compact.el: Remove.
3890
8a4e6db8
SS
38912012-07-19 Sam Steingold <sds@gnu.org>
3892
3893 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3894 vc-bzr-pull & vc-bzr-merge-branch.
3895 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3896 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3897 for consistency with compilation-error-regexp-alist.
3898 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3899 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3900 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3901 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3902
5db81e33
SM
39032012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * emacs-lisp/chart.el: Use lexical-binding.
3906 (chart-emacs-storage): Don't hardcode the list of entries.
3907
5b835e1d
DA
39082012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3909
3910 Next round of tweaks caused by Fgarbage_collect changes.
3911 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3912
9cd47b72
DA
39132012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3914
3915 Compact buffers when idle.
3916 * compact.el: New file.
3917
1d6fc0df
SM
39182012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3919
3920 * subr.el (eventp): Presume that if it looks vaguely like an event,
3921 it's an event (bug#10190).
3922
1d29cc7d
FEG
39232012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3924
3925 Enhancements to ppss related code (thanks Stefan).
3926 * progmodes/python.el (python-indent-context)
3927 (python-indent-calculate-indentation, python-indent-dedent-line)
3928 (python-indent-electric-colon, python-nav-forward-block)
3929 (python-mode-abbrev-table)
1d6fc0df 3930 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3931 for ppss context.
3932 (python-info-continuation-line-p): Cleanup.
3933 (python-info-ppss-context): Do not catch 'quote.
3934 (python-info-ppss-context-type)
3935 (python-info-ppss-comment-or-string-p): Simplify.
3936
d583cbe6
FEG
39372012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3938
3939 * progmodes/python.el: Enhancements to eldoc support.
3940 (python-info-current-symbol): New function.
3941 (python-eldoc-at-point): Use python-info-current-symbol.
3942 (python-info-current-defun): Fix cornercase on first defun scan.
3943 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3944 and signal error when no inferior python process is available.
3945
eceb6feb
DG
39462012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3947
3948 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3949 assume it's always t.
3950 (vc-git-registered): Remove caching, the function is only called
3951 once.
3952 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3953
4c8ff0fe
CY
39542012-07-18 Chong Yidong <cyd@gnu.org>
3955
19fb7186
CY
3956 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3957
9587c688
CY
3958 * simple.el (count-words): Report on narrowing (Bug#9959).
3959
0fe776a1
CY
3960 * bindings.el: Bind M-= to count-words.
3961
4c8ff0fe
CY
3962 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3963
7f5331cc
MY
39642012-07-18 Masatake YAMATO <yamato@redhat.com>
3965
3966 * progmodes/sh-script.el (sh-imenu-generic-expression):
3967 Capture a function with `function' keyword and without parentheses
3968 like "function FOO" (bug#11856).
3969
2dc2a609
TH
39702012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3971
3972 * window.el (split-window-sensibly): Make WINDOW argument
3973 optional.
3974
439f7677
CY
39752012-07-18 Chong Yidong <cyd@gnu.org>
3976
9aeb25a6
CY
3977 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3978
439f7677
CY
3979 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3980 and make C-x 8 RET exit isearch (Bug#11439).
3981
3982 * international/iso-transl.el: Move isearch-mode-map key
3983 definitions to isearch.el.
3984
12999ea8
SM
39852012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3988 (eieio-defclass): Use gv-define-setter when possible.
3989
3ab6e069
DA
39902012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3991
3992 Reflect recent changes in Fgarbage_collect.
3993 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3994 reflect new format of data returned by Fgarbage_collect.
3995
0a60bc10
FEG
39962012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3997
3998 New utility functions + python-info-ppss-context fix (Bug#11910).
3999 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4000 (python-info-ppss-comment-or-string-p): New functions.
4001 (python-info-ppss-context): Small fix for string check.
4002
6dafa0d5
JL
40032012-07-17 Juri Linkov <juri@jurta.org>
4004
4005 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4006 (dired-do-async-shell-command): Don't add `*' at the end of the
4007 command (Bug#11815).
4008 (dired-do-shell-command): Doc fix.
4009 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4010 Join the individual commands using either "&" or ";" as the
4011 separator depending on the values of these trailing characters.
4012 At the end re-add the trailing "&". (Bug#10598)
4013
4014 * simple.el (async-shell-command): Sync the interactive spec with
4015 `shell-command'. Doc fix.
4016 (shell-command): Doc fix.
4017
b19dd9d1
JL
40182012-07-17 Juri Linkov <juri@jurta.org>
4019
4020 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4021
bcdc27d7 40222012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4023
bcdc27d7 4024 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4025 * progmodes/python.el (python-nav-beginning-of-statement):
4026 Rename from python-nav-statement-start.
bcdc27d7
FEG
4027 (python-nav-end-of-statement): Rename from
4028 python-nav-statement-end.
4029 (python-nav-beginning-of-block): Rename from
4030 python-nav-block-start.
4031 (python-nav-end-of-block): Rename from python-nav-block-end.
4032
191da00e
FEG
40332012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4034
7f5331cc
MY
4035 * progmodes/python.el (python-shell-send-string-no-output):
4036 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4037 future interactions (Bug#11868).
4038
4dc7c8d5 40392012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4040
88ecaf8f
SM
4041 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4042
ef501ef0
SM
4043 * emacs-lisp/elint.el (elint-find-args-in-code):
4044 Use help-function-arglist, so as to handle lexical byte-code.
4045
aa7aaf8f
SM
4046 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4047 change (bug#11826).
4048
45fd731c
SM
40492012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4050
2143fa32
SM
4051 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4052 Avoid spuriously marking the buffer as modified because of c-is-sws.
4053
efc26dbe
SM
4054 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4055 as not-a-comment (bug#11946).
4056
f5695c9a
SM
4057 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4058 for uninterned vars.
4059
4060 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4061 Use read-event since we don't really want to read chars but bytes.
4062
45fd731c
SM
4063 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4064 $$..$$ but also $..$ using regexps (bug#11953).
4065 Use tex-verbatim for \url and \path.
4066 (tex-font-lock-keywords): Define as defconst like the others.
4067 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4068
ddfc8813
RK
40692012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4070
4071 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4072 alias for insert-char.
4073
758e556a
FEG
40742012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4075
4076 * progmodes/python.el: Simplified imenu implementation.
4077 (python-nav-jump-to-defun): Remove command.
4078 (python-mode-map): Use `imenu' instead.
4079 (python-nav-list-defun-positions-cache)
4080 (python-imenu-include-defun-type, python-imenu-make-tree)
4081 (python-imenu-subtree-root-label, python-imenu-index-alist):
4082 Remove vars.
4083 (python-nav-list-defun-positions, python-nav-read-defun)
4084 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4085 (python-imenu-make-tree, python-imenu-create-index):
4086 Remove functions.
758e556a
FEG
4087 (python-mode): Update to interact with imenu by setting
4088 `imenu-extract-index-name-function' only.
4089
032d23ab
FEG
40902012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4091
4092 * progmodes/python.el: Enhancements to navigation commands.
4093 (python-nav-backward-sentence)
4094 (python-nav-forward-sentence): Remove.
4095 (python-nav-backward-statement, python-nav-forward-statement)
4096 (python-nav-statement-start, python-nav-statement-end)
4097 (python-nav-backward-block, python-nav-forward-block)
4098 (python-nav-block-start, python-nav-block-end)
4099 (python-nav-forward-sexp-function)
4100 (python-info-current-line-comment-p)
4101 (python-info-current-line-empty-p): New functions.
4102 (python-indent-context): Use `python-nav-statement-start'.
4103
01795a1b
MA
41042012-07-16 Michael Albinus <michael.albinus@gmx.de>
4105
9328d9aa
MA
4106 * eshell/em-ls.el (eshell/ls): Use `apply'.
4107
4108 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4109 multi-hops, instead of Tramp internals.
4110
01795a1b
MA
4111 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4112
4113 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4114 when F1 and F2 are located on different hosts.
4115
63408057
CY
41162012-07-14 Chong Yidong <cyd@gnu.org>
4117
4118 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4119 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4120 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4121 (xterm-mouse--read-event-sequence-1000)
4122 (xterm-mouse--read-event-sequence-1006): New functions. For old
4123 mouse protocol, handle M-mouse-X events correctly.
4124 (xterm-mouse-event): New arg specifying mouse protocol.
4125 (turn-on-xterm-mouse-tracking-on-terminal)
4126 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4127 sequence to toggle extended coordinates on newer XTerms.
4128 This appears to be harmless on terminals which do not support this.
63408057 4129
cd276f6e
LL
41302012-07-14 Leo Liu <sdl.web@gmail.com>
4131
28ca98ac
LL
4132 Add fringe bitmap indicators for flymake. (Bug#11253)
4133 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4134 (flymake-make-overlay): New arg BITMAP.
4135 (flymake-error-bitmap, flymake-warning-bitmap)
4136 (flymake-fringe-indicator-position): New user variables.
4137
cd276f6e
LL
4138 * fringe.el: New bitmap exclamation-mark.
4139
04408072
JD
41402012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4141
4142 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4143 also (Bug#7879).
4144
b5cf7fc4
CY
41452012-07-14 Chong Yidong <cyd@gnu.org>
4146
4147 * electric.el (electric-pair-post-self-insert-function): Fix pair
4148 insertion in empty-region case (Bug#11520).
4149
be755c79
RT
41502012-07-14 Chong Yidong <cyd@gnu.org>
4151
45fd731c
SM
4152 * bindings.el: Consolidate ctl-x-r-map bindings.
4153 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4154
4155 * rect.el, register.el: Move bindings to bindings.el.
4156
41572012-07-14 Reuben Thomas <rrt@sc3d.org>
4158
4159 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4160
7f5b3198
AS
41612012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4162
4163 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4164
97662200
JB
41652012-07-13 Juanma Barranquero <lekktu@gmail.com>
4166
80185fed
JB
4167 * bindings.el (top): Use `mapc' instead of `mapcar'.
4168
97662200
JB
4169 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4170
2bb1ae55
MA
41712012-07-13 Michael Albinus <michael.albinus@gmx.de>
4172
4173 * progmodes/sql.el (sql-comint): Suppress the check for program on
4174 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4175 (Bug#11908)
4176
dea31bd3
CY
41772012-07-13 Chong Yidong <cyd@gnu.org>
4178
4179 * bindings.el: Assign a non-nil permanent-local property to
4180 per-buffer variables which lack a default value (Bug#11930).
4181
4182 * help-fns.el (describe-variable): In the "automatically becomes
4183 local" notice, take note of permanent-local variables.
4184
b68b3337
CY
41852012-07-13 Chong Yidong <cyd@gnu.org>
4186
4187 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4188 to allow printing the message when called from Lisp.
4189
4190 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4191 Remove toggle-read-only.
4192
4193 * bs.el (bs-toggle-readonly):
45fd731c
SM
4194 * buff-menu.el (Buffer-menu-toggle-read-only):
4195 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4196
4197 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4198 Remove with-no-warnings around toggle-read-only.
4199 (ffap-read-only, ffap-read-only-other-window)
4200 (ffap-read-only-other-frame): Callers changed.
4201
4202 * help-mode.el: Don't require view package.
4203 (help-mode-finish): Set buffer-read-only instead of calling
4204 toggle-read-only.
4205
4206 * bindings.el (mode-line-toggle-read-only):
4207 * dired.el (dired-toggle-read-only):
4208 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4209 with non-nil second arg.
4210
4211 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4212 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4213 directly.
4214
56bc1586
EZ
42152012-07-12 Eli Zaretskii <eliz@gnu.org>
4216
4217 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4218 not incf.
4219
a464a6c7
SM
42202012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4221
4222 More CL cleanups and reduction of use of cl.el.
4223 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4224 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4225 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4226 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4227 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4228 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4229 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4230 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4231 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4232 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4233 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4234 * eshell/em-cmpl.el, eshell/em-banner.el:
4235 * calendar/parse-time.el: Use cl-lib.
4236 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4237 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4238 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4239 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4240 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4241 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4242 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4243 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4244 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4245 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4246 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4247 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4248 `lambda' rather than with `quote'.
4249 (eshell-do-opt): Adjust accordingly.
4250 (eshell-process-option): Simplify.
4251 * eshell/esh-var.el:
4252 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4253 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4254 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4255 to `pcase--dontcare'.
4256 * emacs-lisp/cl.el (labels): Mark obsolete.
4257 (cl--letf, letf): Move to cl-lib.
4258 (cl--letf*, letf*): Remove.
4259 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4260 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4261 (cl-progv): Rewrite.
4262 (cl--letf, cl-letf): Move from cl.el.
4263 (cl-letf*): New macro.
4264 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4265
7ad4afe1
MA
42662012-07-11 Michael Albinus <michael.albinus@gmx.de>
4267
4268 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4269
9af57756
CY
42702012-07-11 Chong Yidong <cyd@gnu.org>
4271
4272 * vc/log-edit.el (log-edit-vc-backend): New variable.
4273 (log-edit): Doc fix.
4274
4275 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4276 argument of log-edit to set up all local variables.
4277 (vc-start-logentry): New optional arg specifying VC backend.
4278
4279 * vc/vc.el (vc-checkin): Use it.
4280 (vc-deduce-fileset): Handle Log Edit buffers.
4281 (vc-diff): Make first argument optional too.
4282
4283 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4284
8477cc7a
MA
42852012-07-10 Michael Albinus <michael.albinus@gmx.de>
4286
4287 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4288 command, just in case. The function is not needed anymore.
4289 (eshell-external-command): Do not call `eshell-remote-command'.
4290
19faa8e8
SM
42912012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4292
f58e0fd5
SM
4293 Reduce use of (require 'cl).
4294 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4295 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4296 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4297 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4298 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4299 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4300 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4301 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4302 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4303 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4304 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4305 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4306 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4307 (byte-compile-unfold-bcf, byte-compile-check-variable):
4308 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4309 (byte-compile-nilconstp):
4310 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4311 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4312
2519d43a
SM
4313 * emacs-lisp/gv.el (cond): Make it a valid place.
4314 (if): Simplify slightly.
4315
19faa8e8
SM
4316 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4317 (pcase--self-quoting-p): New function.
4318 (pcase--u1): Use it.
4319
c4907a5e
GM
43202012-07-10 Glenn Morris <rgm@gnu.org>
4321
4322 * emacs-lisp/authors.el (authors-fixed-entries):
4323 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4324
c4444d16
PE
43252012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4326
4327 Rename configure.in to configure.ac (Bug#11603).
4328 * emacs-lisp/authors.el (authors-canonical-file-name):
4329 * progmodes/autoconf.el (autoconf-mode):
4330 Prefer configure.ac to configure.in.
4331
d75be97d
CY
43322012-07-08 Chong Yidong <cyd@gnu.org>
4333
01ac65bd
CY
4334 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4335 Implement the mouse-1-click-follows-link handling properly.
4336
4337 * info.el (Info-link-keymap): Use follow-link mechanism for
4338 header-line links (Bug#374).
4339
d75be97d
CY
4340 * simple.el (deactivate-mark): Do not set the primary selection
4341 if another program has acquired it (Bug#11772).
4342
87a92845 43432012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4344
4345 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4346 (woman-decode-region): Replace escaped-escapes without destroying
4347 bold or underline (Bug#11552).
87a92845 4348 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4349
621b9d6c
CY
43502012-07-07 Chong Yidong <cyd@gnu.org>
4351
4352 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4353 (interprogram-cut-function, interprogram-paste-function):
4354 Mention that we typically mean the clipboard.
621b9d6c 4355
133a11fc
GM
43562012-07-06 Glenn Morris <rgm@gnu.org>
4357
0d27a45e
GM
4358 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4359
133a11fc
GM
4360 * files.el (toggle-read-only): Restrict message to interactive use.
4361
07b151f1
MA
43622012-07-06 Michael Albinus <michael.albinus@gmx.de>
4363
4364 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4365
4366 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4367
211b896b
GM
43682012-07-06 Glenn Morris <rgm@gnu.org>
4369
50394322
GM
4370 * Makefile.in (compile-one-process): Rename from "recompile".
4371
211b896b
GM
4372 * Makefile.in (bzr-update): "compile" is the same as "recompile
4373 autoloads", but parallelizable, so use that instead.
4374
4737eec9
DG
43752012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4376
4377 * window.el (quit-window): Always restore window height when
8137e7b3 4378 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4379
226c3633 43802012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4381
4382 * simple.el (kill-whole-line): Doc tweak.
4383
226c3633 43842012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4385
4386 * files.el (file-relative-name): Compare file names
4387 case-insensitively if on MS-Windows or MS-DOS, or if
4388 read-file-name-completion-ignore-case is non-nil. Don't use
4389 case-fold-search for this purpose. (Bug#11827)
4390
4dc7c8d5
SM
43912012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4392
4393 * calendar/cal-dst.el (calendar-current-time-zone):
4394 Return calendar-current-time-zone-cache if non-nil.
4395
43962012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 43972012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4398
19faa8e8
SM
4399 * calendar/cal-dst.el (calendar-current-time-zone):
4400 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4401
60198fc9
GM
44022012-07-06 Glenn Morris <rgm@gnu.org>
4403
4404 * Makefile.in (cvs-update): Remove old alias.
4405
957b3189
MA
44062012-07-05 Michael Albinus <michael.albinus@gmx.de>
4407
4408 Sync with Tramp 2.2.6-pre.
4409
4410 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4411 compatible declaration.
4412
19faa8e8
SM
4413 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4414 Protect `list-load-path-shadows' call.
957b3189
MA
4415
4416 * net/tramp-compat.el (top): Require packages, which aren't
4417 autoloaded anymore for XEmacs. Protect call of
4418 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4419 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4420 it hurts at least for SXEmacs.
4421 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4422 standard-value for `temporary-file-directory'.
4423
4424 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4425 Redirect stderr to /dev/null.
4426 (tramp-sh-handle-write-region): uid and gid can be floats.
4427 Reported by Russell Sim <russell.sim@gmail.com>.
4428 (tramp-sh-handle-vc-registered): Hide errors.
4429 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4430 and `start-file-process'.
4431 (tramp-maybe-open-connection): Check also whether `non-essential'
4432 is bound.
4433
566df3fc
CY
44342012-07-04 Chong Yidong <cyd@gnu.org>
4435
4436 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4437 (xml-parse-tag): Likewise, and avoid changing entity tables.
4438 (xml-syntax-table): Define from scratch, making sure not to give
4439 x2000 and other Unicode spaces whitespace syntax, since those are
4440 not spaces in XML.
4441 (xml-parse-fragment): Delete unused function.
4442 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4443 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4444 (xml-entity-ref, xml-pe-reference-re)
4445 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4446 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4447 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4448 (xml-entity-value-re): Use syntax references in regexps where
4449 possible; no need to define inside a let-binding.
4450 (xml-parse-dtd): Use xml-pe-reference-re.
4451 (xml-entity-or-char-ref-re): New defconst.
4452 (xml-parse-string, xml-substitute-special): Use it.
4453
30eabd7a
SM
44542012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4455
0781098a
SM
4456 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4457 (find-file--read-only): New function.
4458 (find-file-read-only, find-file-read-only-other-window)
4459 (find-file-read-only-other-frame): Use it.
4460 (insert-file-contents-literally): Don't `fset'.
4461 (get-free-disk-space): Use locate-dominating-file.
4462
b5771c0d
SM
4463 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4464 function is already compiled.
4465
30eabd7a
SM
4466 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4467
b4886f6e
MA
44682012-07-03 Michael Albinus <michael.albinus@gmx.de>
4469
4470 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4471 files on the same host.
4472
b9d82339
AS
44732012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4474
4475 * help-fns.el (describe-function-1): Only call
4476 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4477
a76e6535
CY
44782012-07-03 Chong Yidong <cyd@gnu.org>
4479
4480 * xml.el: Protect parser against XML bombs.
4481 (xml-entity-expansion-limit): New variable.
4482 (xml-parse-string, xml-substitute-special): Use it.
4483 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4484
b544fef2
GM
44852012-07-03 Glenn Morris <rgm@gnu.org>
4486
4487 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4488 Allow linking to specific messages in debbugs reports (eg 123#5).
4489
a7aef6f5
CY
44902012-07-02 Chong Yidong <cyd@gnu.org>
4491
4492 * xml.el: Fix entity and character reference expansion, allowing
4493 them to expand into markup as per XML spec.
4494 (xml-default-ns): New variable.
4495 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4496 (xml-parse-region): Make first two arguments optional.
4497 Discard text properties.
4498 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4499 All callers changed.
a7aef6f5
CY
4500 (xml-parse-tag): Call xml-parse-tag-1. For backward
4501 compatibility, this function should not modify buffer contents.
4502 (xml-parse-tag-1): Fix opening-tag regexp.
4503 (xml-parse-string): Rewrite, handling entity and character
4504 references properly.
4505 (xml--entity-replacement-text): Signal an error if a parameter
4506 entity is undefined.
4507
3df31c9f
SM
45082012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4509
2b5208f1
SM
4510 * comint.el (comint-output-filter): Filter out repeated prompts.
4511
3df31c9f
SM
4512 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4513 and file-name-absolute-p.
4514 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4515 internal calls.
4516
e3ac1281
PE
45172012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4518
4519 Spelling fixes.
4520 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4521 Rename from byte-compile--refiy-function. All uses changed.
4522
fbf2e7ad
CY
45232012-07-01 Chong Yidong <cyd@gnu.org>
4524
4525 * xml.el (xml--parse-buffer): New function. Move most of
4526 xml-parse-region here.
4527 (xml-parse-region): Copy region into a temporary buffer, since
4528 parameter entity substitution requires changing buffer contents.
4529 Use xml--parse-buffer.
4530 (xml-parse-file): Use xml--parse-buffer.
4531 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4532 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4533
9bf0aa15
GM
45342012-06-30 Glenn Morris <rgm@gnu.org>
4535
bbce2853
GM
4536 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4537
9bf0aa15
GM
4538 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4539 Remove outdated and unnecessary dbus declarations.
4540
0d23c240
EZ
45412012-06-30 Eli Zaretskii <eliz@gnu.org>
4542
4543 * emacs-lisp/timer.el (timer-until): Subtract results of
4544 float-time, instead of taking float-time of the result of
4545 time-subtract, since float-time signals an error for negative time
4546 arguments.
4547
b3218de1
CY
45482012-06-30 Chong Yidong <cyd@gnu.org>
4549
4550 * xml.el (xml-*-re): Convert defvars into defconsts, and
4551 eval-and-compile them so eval-and-compile works on derivatives.
4552 (xml--entity-replacement-text): Use eval-and-comple.
4553
a40c87a0
MA
45542012-06-30 Michael Albinus <michael.albinus@gmx.de>
4555
4556 * vc/vc-git.el (vc-git-registered): Use cache property
4557 `git-registered'.
4558 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4559 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4560 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4561
ac87de97
DG
45622012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4563
4564 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4565 removed (likely outside Emacs). (Bug#11757)
ac87de97 4566
ac10fe06
SM
45672012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4568
3df31c9f 4569 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4570
7f3fbd5d
CY
45712012-06-30 Chong Yidong <cyd@gnu.org>
4572
4573 * xml.el: Implement XML parameter entities.
4574 (xml-parameter-entity-alist): New variable.
4575 (xml-parse-region, xml-parse-fragment): Preserve previous values
4576 of xml-entity-alist and xml-parameter-entity-alist, so that
4577 repeated calls on different documents do not change them.
4578 (xml-parse-tag): Fix doctype regexp.
4579 (xml--entity-replacement-text): New function.
4580 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4581 properly requires url retrieval which is unimplemented.
4582 (xml-escape-string): Doc fix.
4583
3cfbebba
SM
45842012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4587
2af3565e
DA
45882012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4589
4590 * fringe.el (fringe-mode): Doc fix.
4591
929df0e7
MA
45922012-06-29 Michael Albinus <michael.albinus@gmx.de>
4593
4594 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4595 is non-nil.
4596 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4597 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4598
c8d3a25c 45992012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4600
c8d3a25c
GM
4601 * calendar/cal-dst.el (calendar-current-time-zone):
4602 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4603
c8d3a25c 46042012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4605
4606 * progmodes/which-func.el (which-func-format):
4607 Add mouse-face. (Bug#11698)
4608
c8d3a25c
GM
46092012-06-29 Leo Liu <sdl.web@gmail.com>
4610
4611 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4612
46132012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4614
4615 * minibuffer.el (minibuffer-confirm-exit-commands):
4616 Add completion-at-point (bug#11725).
4617
46182012-06-29 Glenn Morris <rgm@gnu.org>
4619
4620 * progmodes/f90.el (f90-font-lock-keywords-2):
4621 Add some preprocessor elements. (Bug#10499)
4622
46232012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4624
4625 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4626 Use syntax-propertize (bug#11739).
4627
2badeec4
JB
46282012-06-28 Juanma Barranquero <lekktu@gmail.com>
4629
4630 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4631
ae4969c2
JD
46322012-06-28 Julien Danjou <julien@danjou.info>
4633
4634 * term.el (term-handle-colors-array): Use a set of new faces to
4635 color the terminal. Also uses :inverse-video property.
4636 (term-default-fg-color): Set to nil by default, deprecate in favor
4637 of `term-face'.
4638 (term-default-bg-color): Set to nil by default, deprecate in favor
4639 of `term-face'.
4640 (term-current-face): Use `term-face' by default.
4641 (term-bold-attribute): Variable deleted.
4642
1c9bd870
GM
46432012-06-28 Glenn Morris <rgm@gnu.org>
4644
4645 * simple.el (completion-list-mode-finish):
4646 Don't use toggle-read-only. (Since completion-list-mode has
4647 a special mode-class, it wasn't doing anything extra anyway.)
4648
c207708c
SM
46492012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 Make inlining of other-mode interpreted functions work (bug#11799).
4652 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4653 (byte-compile): Use it to fix compilation of lexical-binding closures.
4654 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4655 function, if needed.
4656
3fd56834
SM
46572012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4658
04901786
SM
4659 * help-mode.el (help-make-xrefs): Don't just withstand
4660 cyclic-variable-indirection but any error in documentation-property.
4661
1ec4b7b2
SM
4662 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4663 memory use.
4664 * bindings.el (bindings--define-key): New function.
4665 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4666 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4667 * bindings.el: Use it to purecopy define-key bindings.
4668
e309e2a5
SM
4669 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4670
d5c6faf9
SM
4671 * emacs-lisp/cl.el (flet): Mark obsolete.
4672 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4673 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4674 * progmodes/js.el (js-c-fill-paragraph):
4675 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4676 (ebrowse-switch-member-buffer-to-derived-class):
4677 * play/5x5.el (5x5-solver): Use cl-flet.
4678
6e9590e2
SM
4679 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4680 (cl--symbol-function): New macro.
4681 (cl--letf, cl--letf*): Use it.
4682
3fd56834
SM
4683 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4684 Strip "toggle-" if any.
4685
35ff222c
GM
46862012-06-27 Glenn Morris <rgm@gnu.org>
4687
1ba6038a
GM
4688 * info.el (Info-default-directory-list): Move here from paths.el.
4689 * paths.el: Remove file, which is now empty.
4690 * loadup.el: No longer load "paths".
4691
0ea0e51b
GM
4692 * custom.el (custom-initialize-delay): Doc fix.
4693
35ff222c
GM
4694 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4695 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4696 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4697 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4698 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4699 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4700 * eshell/eshell.el (eshell-defgroup): Remove alias.
4701
c89926a5
CY
47022012-06-27 Chong Yidong <cyd@gnu.org>
4703
4704 * help.el (help-enable-auto-load): New variable.
4705
4706 * help-fns.el (help-fns--autoloaded-p): New function.
4707 (describe-function-1): Refer to a function as "autoloaded" if it
4708 was autoloaded at any time in the past. Perform autoloading if
4709 help-enable-auto-load is non-nil.
4710
cc06e7e7
EZ
47112012-06-26 Eli Zaretskii <eliz@gnu.org>
4712
4713 * makefile.w32-in (compile, compile-always): Depend on
4714 update-subdirs, not on subdirs.el. Otherwise, several different
4715 sub-targets of 'bootstrap' running in parallel could
4716 simultaneously write to subdirs.el, producing a garbled file.
4717
d2c32364
SS
47182012-06-26 Sam Steingold <sds@gnu.org>
4719
4720 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4721 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4722 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4723 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4724 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4725 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4726 * textmodes/tex-mode.el: Use it.
4727 Did not touch cedet and org because they are maintained elsewhere.
4728
5cf983b2
MR
47292012-06-26 Martin Rudalics <rudalics@gmx.at>
4730
4731 * calendar/calendar.el (calendar-exit): Don't try to delete or
4732 iconify last frame. See:
4733 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4734
8c4f2952
JD
47352012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4736
4737 * server.el (server-process-filter): Remember dir in the
4738 process's `server-client-directory' properties.
4739
772b2e2c
CY
47402012-06-24 Chong Yidong <cyd@gnu.org>
4741
4742 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4743 non-tag text.
4744
711b11e1
JB
47452012-06-23 Juanma Barranquero <lekktu@gmail.com>
4746
4747 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4748
dc5d230c
SM
47492012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4750
4751 * help-fns.el (describe-variable): Don't croak when doc is not found.
4752 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4753 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4754 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4755 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4756 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4757 ((lambda ..) ..).
4758 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4759
136e1c1d
CY
47602012-06-23 Chong Yidong <cyd@gnu.org>
4761
e8c1cabf
CY
4762 * info.el (Info-mouse-follow-link): Accept symbol values of
4763 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4764 (Info-fontify-node): Use Info-link-keymap for all navigation
4765 buttons, with link-args property to perform the desired action.
4766 (Info-link-keymap): Doc fix.
4767 (Info-next-link-keymap, Info-prev-link-keymap)
4768 (Info-up-link-keymap): Delete now-unused keymaps.
4769
0e9e6c6a
CY
47702012-06-23 Chong Yidong <cyd@gnu.org>
4771
05e89fea
CY
4772 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4773
0e9e6c6a
CY
4774 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4775 system abbrevs.
4776
4777 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4778
e33c6771
SM
47792012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4780
b68581e2
SM
4781 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4782 (bug#11719).
4783
e33c6771
SM
4784 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4785 the requote function doesn't work properly (bug#11714).
4786
7117e105
GM
47872012-06-23 Glenn Morris <rgm@gnu.org>
4788
4789 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4790
36cec983
SM
47912012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4792
4793 Further GV/CL cleanups.
4794 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4795 gv-expander.
4796 (gv--defun-declaration): New function.
4797 (defun-declarations-alist): Use it.
4798 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4799 (gv-place): Autoload.
4800 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4801 original definition of dotimes and dolist.
4802 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4803 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4804 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4805 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4806 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4807 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4808 to the function's definition.
4809 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4810 * window.el:
4811 * files.el:
4812 * faces.el:
4813 * env.el: Don't use CL.
4814
d35af63c
PE
48152012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4816
4817 Support higher-resolution time stamps (Bug#9000).
4818
4819 * calendar/time-date.el (with-decoded-time-value): New arg
4820 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4821 (encode-time-value): New optional arg PICO. New type 3.
4822 (time-to-seconds) [!float-time]: Support the new picoseconds
4823 component if it's used.
4824 (seconds-to-time, time-subtract, time-add):
4825 Support ps-resolution time stamps as well.
4826
4827 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4828 (timerp): Timer vectors now have length 9, not 8.
4829 (timer--time): Support new-style (4-part) time stamps.
4830 (timer-next-integral-multiple-of-time): Time stamps now have
4831 picosecond resolution, so take a bit more care about rounding.
4832 (timer-relative-time, timer-inc-time): New optional arg psecs.
4833 (timer-set-time-with-usecs): Set psecs to 0.
4834 (timer--activate): Check psecs component, too.
4835
4836 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4837
ac77b21a
SM
48382012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4839
f143bfe3
SM
4840 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4841 Move the non-essential binding to the post/pre-command-hook where it is
4842 more obviously correct.
4843
ac77b21a
SM
4844 * subr.el (read-passwd): Don't use a history at all.
4845 * savehist.el (savehist-save): Remove password saved accidentally
4846 because of the above bug.
4847
76386c5a
BG
48482012-06-22 Bastien Guerry <bzg@gnu.org>
4849
4850 * files.el (toggle-read-only): Display a message telling whether
4851 the buffer is read-only or not (bug#11726).
4852
2ee3d7f0
SM
48532012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * emacs-lisp/gv.el: New file.
4856 * subr.el (push, pop): Extend to generalized variables.
4857 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4858 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4859 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4860 gv-define-simple-setter, and gv-define-expander.
4861 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4862 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4863 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4864 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4865 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4866 gv-letplace.
4867 (cl-defstruct): Don't define setf-method any more.
4868 * emacs-lisp/cl.el (flet): Don't autoload.
4869 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4870 (define-setf-expander, defsetf, define-modify-macro)
4871 (cl-struct-setf-expander): Move from cl-lib.el.
4872 * emacs-lisp/syntax.el:
4873 * emacs-lisp/ewoc.el:
4874 * emacs-lisp/smie.el:
4875 * emacs-lisp/cconv.el:
4876 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4877 (timer--time): Use gv-define-simple-setter.
4878 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4879 to avoid coding-system problems in subr.el. Adjust all users.
4880 (macroexp--maxsize, macroexp-small-p): New functions.
4881 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4882 * scroll-bar.el (scroll-bar-mode):
4883 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4884 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4885 * winner.el (winner-configuration, winner-make-point-alist)
4886 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4887 * files.el (locate-file-completion-table): Avoid list*.
4888
c5695d1d
CY
48892012-06-22 Chong Yidong <cyd@gnu.org>
4890
4891 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4892 (dired-create-files): Doc fix (Bug#11329).
4893 (dired-do-copy): Doc fix (Bug#11334).
4894 (dired-mark-read-string): Doc fix (Bug#11553).
4895
2ee3d7f0
SM
4896 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4897 Doc fix (Bug#11326).
c5695d1d
CY
4898 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4899 (dired-dwim-target): Doc fix.
4900
4901 * wdired.el (wdired-mode): Doc fix.
4902
89b5595a
GM
49032012-06-22 Glenn Morris <rgm@gnu.org>
4904
575db3f1
GM
4905 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4906 (pcmpl-rpm-cache-stamp-file): New constant.
4907 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4908 (pcmpl-rpm-packages): Optionally cache list of packages.
4909
a4c8dd51
GM
4910 * pcmpl-rpm.el (pcmpl-rpm): New group.
4911 (pcmpl-rpm-query-options): New option.
4912 (pcmpl-rpm-packages): No need to inline it.
4913 Use pcmpl-rpm-query-options.
4914
89b5595a
GM
4915 * calendar/calendar.el (calendar-in-read-only-buffer):
4916 Avoid some needless mode changes.
4917
e76f0800
CY
49182012-06-21 Chong Yidong <cyd@gnu.org>
4919
4920 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4921 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4922 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4923
297a8f1d
CY
49242012-06-20 Chong Yidong <cyd@gnu.org>
4925
4926 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4927
d34c18b1
DR
49282012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4929
4930 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4931 (bug#11201).
4932
32f7f28e
CY
49332012-06-20 Chong Yidong <cyd@gnu.org>
4934
4935 * term.el (term-window-width): Handle the case of a missing right
4936 fringe (Bug#8837).
4937 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4938 (term-mode): Use define-derived-mode. Minor cleanups.
4939 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4940 (term-move-columns, term-insert-char, term-emulate-terminal)
4941 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4942
493c6688
MA
49432012-06-20 Michael Albinus <michael.albinus@gmx.de>
4944
d34c18b1
DR
4945 * net/ange-ftp.el (ange-ftp-get-passwd):
4946 Bind `enable-recursive-minibuffers'.
493c6688
MA
4947 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4948
3f06ecf4
DR
49492012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4950
4951 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4952
68f12411
GM
49532012-06-19 Glenn Morris <rgm@gnu.org>
4954
4955 * progmodes/python.el (python-mode): Derive from prog-mode.
4956
b3820318
KG
49572012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4958
4959 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4960 (edt-user-menu-bar-update-buffers): New functions.
4961 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4962
c6bf3022
CY
49632012-06-19 Chong Yidong <cyd@gnu.org>
4964
4965 * subr.el (with-selected-window): Preserve the selected window's
4966 terminal's top-frame (Bug#4702).
4967
4968 * window.el (save-selected-window): Likewise.
4969
25f09295
SM
49702012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * progmodes/python.el (python-rx-constituents): Move backquote.
4973 (python-skeleton-define, python-define-auxiliary-skeleton):
4974 Use `declare'.
4975
6b11952a
MA
49762012-06-18 Michael Albinus <michael.albinus@gmx.de>
4977
4978 * minibuffer.el (read-file-name-default): Revert the patch from
4979 2012-06-17.
4980
ee4b1330
SM
49812012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4982
4983 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4984 (pcase--u1, pcase--q1): Don't use apply-partially.
4985
35647f79
GM
49862012-06-18 Glenn Morris <rgm@gnu.org>
4987
4988 * progmodes/python.el (python-proc, python-buffer)
4989 (python-send-receive, python-send-string): Fix obsolete versions.
4990
24b0cff0
MR
49912012-06-18 Martin Rudalics <rudalics@gmx.at>
4992
4993 * window.el (special-display-p): Completely remove stringp
4994 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4995
29855149
MA
49962012-06-17 Michael Albinus <michael.albinus@gmx.de>
4997
4998 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4999
5000 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5001
5002 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5003 * net/tramp-sh.el (tramp-maybe-open-connection):
5004 Throw if `non-essential' is non-nil.
5005
07463363
MR
50062012-06-17 Martin Rudalics <rudalics@gmx.at>
5007
5008 * window.el (special-display-p): Signal an error if BUFFER-NAME
5009 is not a string (Bug#11713).
5010
48d1354e
PE
50112012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5012
5013 * progmodes/python.el (python-info-beginning-of-backslash):
5014 Rename from python-info-beginning-of-backlash, as a spelling fix.
5015
eb4a8a9a
CY
50162012-06-17 Chong Yidong <cyd@gnu.org>
5017
5018 * term.el (term-emulate-terminal): If term-check-size is called,
5019 move point to the process mark without resetting point (Bug#4635).
5020
ddfbf826 50212012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5022
5023 * international/mule-cmds.el (mule-menu-keymap)
5024 (set-language-environment, set-locale-environment): Doc tweaks.
5025
9b0e3eba
AA
50262012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5027
5028 * cus-face.el (custom-face-attributes): Add wave-style underline
5029 attribute.
5030 * faces.el (set-face-attribute): Update docstring to describe
5031 wave-style underline attribute.
5032
771e3eae
CY
50332012-06-16 Chong Yidong <cyd@gnu.org>
5034
5035 * term/xterm.el (terminal-init-xterm): Discard input before
5036 querying background mode (Bug#10959).
5037
7ae2ea10
SM
50382012-06-16 Stefan Merten <smerten@oekonux.de>
5039
5040 * textmodes/rst.el: Added and corrected some comments.
5041 (rst-re-alist-def): Improve symbol syntax.
5042 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5043 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5044 (rst-official-version, rst-official-cvs-rev): Update version
5045 information.
7ae2ea10 5046
b6974efa
JB
50472012-06-15 Juanma Barranquero <lekktu@gmail.com>
5048
5049 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5050 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5051
8826d473
GM
50522012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5053
5054 * progmodes/python.el: New python.el merge.
5055 (python-guess-indent): Obsolete var.
5056 (python-indent-guess-indent-offset): New defcustom.
5057 (python-indent): Obsolete var.
5058 (python-indent-offset): New defcustom.
5059 (python-python-command, python-jython-command): Delete var.
5060 (python-shell-interpreter): New defcustom.
5061 (python-pdbtrack-do-tracking-p): Delete var.
5062 (python-pdbtrack-activate): New defcustom.
5063 (python-use-skeletons): Obsolete var.
5064 (python-skeleton-autoinsert): New defcustom.
5065 (inferior-python-filter-regexp, python-continuation-offset)
5066 (python-honour-comment-indentation, python-indent-string-contents)
5067 (python-jython-packages, python-mode-hook)
5068 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5069 (python-shell-prompt-alist)
5070 (python-source-modes): Delete defcustoms.
5071 (python-check-buffer-name, python-eldoc-setup-code)
5072 (python-eldoc-string-code, python-ffap-setup-code)
5073 (python-ffap-string-code, python-fill-comment-function)
5074 (python-fill-decorator-function, python-fill-paren-function)
5075 (python-fill-string-function, python-imenu-include-defun-type)
5076 (python-imenu-make-tree, python-imenu-subtree-root-label)
5077 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5078 (python-shell-compilation-regexp-alist)
5079 (python-shell-completion-module-string-code)
5080 (python-shell-completion-pdb-string-code)
5081 (python-shell-completion-setup-code)
5082 (python-shell-completion-string-code)
5083 (python-shell-enable-font-lock, python-shell-exec-path)
5084 (python-shell-extra-pythonpaths)
5085 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5086 (python-shell-process-environment)
5087 (python-shell-prompt-block-regexp)
5088 (python-shell-prompt-output-regexp)
5089 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5090 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5091 (python-shell-virtualenv-path): New defcustoms.
5092 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5093 (inferior-python-mode-syntax-table, python--prompt-regexp)
5094 (python-buffer, python-command python-python-command)
5095 (python-default-template, python-imports, python-indent-index)
5096 (python-indent-list, python-indent-list-length)
5097 (python-mode-running, python-pdbtrack-is-tracking-p)
5098 (python-preoutput-continuation, python-preoutput-leftover)
5099 (python-preoutput-result, python-preoutput-skip-next-prompt)
5100 (python-prev-dir/file, python-recursing)
5101 (python-saved-check-command, python-version-checked)
5102 (python-which-func-length-limit)
5103 (view-return-to-alist): Delete vars.
5104 (python-check-custom-command, python-dotty-syntax-table)
5105 (python-imenu-index-alist, python-indent-current-level)
5106 (python-indent-dedenters, python-indent-levels)
5107 (python-nav-beginning-of-defun-regexp)
5108 (python-nav-list-defun-positions-cache)
5109 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5110 (python-shell-internal-buffer)
5111 (python-skeleton-available): New vars.
5112 (def-python-skeleton): Delete macro.
5113 (python-skeleton-define): New macro.
5114 (python-define-auxiliary-skeleton, python-rx): New macros.
5115 (python-insert-class): Delete command.
5116 (python-skeleton-class): New command.
5117 (python-insert-def): Delete command.
5118 (python-skeleton-def): New command.
5119 (python-insert-for): Delete command.
5120 (python-skeleton-for): New command.
5121 (python-insert-if): Delete command.
5122 (python-skeleton-if): New command.
5123 (python-insert-try/except, python-insert-try/finally): Delete commands.
5124 (python-skeleton-try): New command.
5125 (python-insert-while): Delete command.
5126 (python-skeleton-while): New command.
5127 (python-backspace): Delete command.
5128 (python-indent-dedent-line-backspace): New command.
5129 (python-electric-colon): Delete command.
5130 (python-indent-electric-colon): New command.
5131 (python-guess-indent): Delete command.
5132 (python-indent-guess-indent-offset): New command.
5133 (python-shift-left): Delete command.
5134 (python-indent-shift-left): New command.
5135 (python-shift-right): Delete command.
5136 (python-indent-shift-right): New command.
5137 (python-find-function): Delete command.
5138 (python-nav-jump-to-defun): New command.
5139 (python-next-statement): Delete command.
5140 (python-nav-forward-sentence): New command.
5141 (python-previous-statement): Delete command.
5142 (python-nav-backward-sentence): New command.
5143 (python-fill-paragraph): Delete command.
5144 (python-fill-paragraph-function): New command.
5145 (python-send-buffer): Delete command.
5146 (python-shell-send-buffer): New command.
5147 (python-send-defun): Delete command.
5148 (python-shell-send-defun): New command.
5149 (python-send-region, python-send-region-and-go): Delete commands.
5150 (python-shell-send-region)
5151 (python-shell-switch-to-shell): New commands.
5152 (python-send-string): Delete command.
5153 (python-shell-send-string): New command.
5154 (python-switch-to-python): Delete command.
5155 (python-shell-switch-to-shell): New command.
5156 (python-describe-symbol): Delete command.
5157 (python-eldoc-at-point): New command.
5158 (python--set-prompt-regexp, python-args-to-list)
5159 (python-after-info-look, python-check-version)
5160 (python-check-comint-prompt, python-find-imports)
5161 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5162 (python-unload-function, python-expand-template)
5163 (python-maybe-jython, python-preoutput-filter)
5164 (python-pdbtrack-get-source-buffer)
5165 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5166 (python-pdbtrack-toggle-stack-tracking)
5167 (python-pdbtrack-track-stack-file, python-initial-text)
5168 (python-first-word, python-comment-line-p, python-send-command)
5169 (python-setup-brm, python-sentinel, python-set-proc)
5170 (python-skip-out, python-input-filter, python-outdent-p)
5171 (python-outline-level, python-backslash-continuation-line-p)
5172 (python-end-of-block, python-end-of-statement, python-mark-block)
5173 (python-beginning-of-block, python-beginning-of-statement)
5174 (python-blank-line-p, python-beginning-of-string)
5175 (python-open-block-statement-p): Delete functions.
5176 (python-indent-line, python-indent-line-1): Delete functions.
5177 (python-indent-line): New function.
5178 (python-indentation-levels): Delete function.
5179 (python-indent-calculate-levels): New function.
5180 (python-proc): Delete function.
5181 (python-shell-get-process): New function.
5182 (python-send-receive): Delete function.
5183 (python-shell-send-string-no-output): New function.
5184 (python-module-path): Delete function.
5185 (python-ffap-module-path): New function.
5186 (python-completion-at-point)
5187 (python-symbol-completions): Delete functions.
5188 (python-completion-complete-at-point): New function.
5189 (python-load-file): Delete function.
5190 (python-shell-send-file): New function.
5191 (python-calculate-indentation): Delete function.
5192 (python-indent-calculate-indentation): New function.
5193 (python-skip-comments/blanks): Delete function.
5194 (python-util-forward-comment): New function.
5195 (python-continuation-line-p): Delete function.
5196 (python-info-continuation-line-p): New function.
5197 (python-which-func, python-current-defun): Delete function.
5198 (python-info-current-defun): New function.
5199 (python-beginning-of-defun): Delete function.
5200 (python-nav-beginning-of-defun): New function.
5201 (python-close-block-statement-p)
5202 (python-block-end-p): Delete function.
5203 (python-info-closing-block): New function.
5204 (python-comint-output-filter-function)
5205 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5206 (python-fill-comment, python-fill-decorator, python-fill-paren)
5207 (python-fill-string, python-imenu-make-element-tree)
5208 (python-imenu-make-tree, python-imenu-tree-assoc)
5209 (python-indent-context, python-indent-dedent-line)
5210 (python-indent-line-function)
5211 (python-indent-post-self-insert-function)
5212 (python-indent-toggle-levels)
5213 (python-info-assignment-continuation-line-p)
5214 (python-info-beginning-of-backlash)
5215 (python-info-block-continuation-line-p)
5216 (python-info-closing-block-message)
5217 (python-info-line-ends-backslash-p)
5218 (python-info-looking-at-beginning-of-defun)
5219 (python-info-ppss-context, python-info-ppss-context-type)
5220 (python-nav-list-defun-positions, python-nav-read-defun)
5221 (python-nav-sentence-end, python-nav-sentence-start)
5222 (python-pdbtrack-comint-output-filter-function)
5223 (python-pdbtrack-set-tracked-buffer)
5224 (python-shell-calculate-exec-path)
5225 (python-shell-calculate-process-environment)
5226 (python-shell-completion--do-completion-at-point)
5227 (python-shell-completion--get-completions)
5228 (python-shell-completion-complete-at-point)
5229 (python-shell-completion-complete-or-indent)
5230 (python-shell-get-or-create-process)
5231 (python-shell-get-process-name)
5232 (python-shell-internal-get-or-create-process)
5233 (python-shell-internal-get-process-name)
5234 (python-shell-internal-send-string, python-shell-make-comint)
5235 (python-shell-parse-command, python-shell-send-setup-code)
5236 (python-skeleton-add-menu-items)
5237 (python-util-clone-local-variables, python-util-position)
5238 (run-python-internal, python-indentation-levels)
5239 (python-nav-beginning-of-defun)
5240 (python-completion-complete-at-point): New functions.
5241 (run-python): Change arguments. New API requirements.
5242
4302f5ba
SM
52432012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5244
f38ea36d
SM
5245 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5246 (bug#11649).
5247
5248 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5249 (macroexp--expand-all): Use it.
5250
4302f5ba
SM
5251 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5252 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5253 Use `cl-function' instead.
5254
33377562
JB
52552012-06-14 Juanma Barranquero <lekktu@gmail.com>
5256
5257 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5258 Suggested by Stefan Monnier while discussing bug#11657.
5259
54c5ba1a
SS
52602012-06-14 Sam Steingold <sds@gnu.org>
5261
5262 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5263
f9f1b1fe
AS
52642012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5265
5266 * play/doctor.el (doctor-doc): Remove parameter and use
5267 doctor-sent instead of sent.
5268 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5269
a81068ba
SM
52702012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5271
5a315f9c
SM
5272 * files.el: Require cl-lib.
5273 (file-name-non-special): Replace case -> cl-case.
5274
5275 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5276
a81068ba
SM
5277 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5278 mapping from #' to function*.
5279
8cca9703
CY
52802012-06-13 Chong Yidong <cyd@gnu.org>
5281
5282 * mouse.el (mouse-drag-track): Do not set the mark if the user
5283 releases the mouse without selecting anything (Bug#11588).
5284
a12ac9d7
SM
52852012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5286
ccf1dc18
SM
5287 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5288 as well (bug#11646).
5289
ef62b23d
SM
5290 * loadup.el: Count byte-code functions as well.
5291
c4c8444a
SM
5292 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5293 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5294
a12ac9d7
SM
5295 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5296 (bug#11649). Add cl-defun and cl-defmacro.
5297
87e6e64f
DA
52982012-06-13 Drew Adams <drew.adams@oracle.com>
5299
5300 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5301 Fix last change.
5302
682cefaf
MA
53032012-06-13 Michael Albinus <michael.albinus@gmx.de>
5304
5305 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5306 Otherwise, it blocks in batch mode.
5307
773e1f08
JB
53082012-06-13 Juanma Barranquero <lekktu@gmail.com>
5309
5310 * help-mode.el (bookmark-make-record-default): Declare.
5311
60057926
CY
53122012-06-13 Chong Yidong <cyd@gnu.org>
5313
5314 * emacs-lisp/package.el (list-packages): Compute a list of
5315 packages that are newly-available since the last list-packages
5316 invocation.
5317 (package-menu--new-package-list): New var.
5318 (package-menu--generate, package-menu--print-info)
5319 (package-menu--status-predicate, package-menu-mark-install):
5320 Handle new status label "new".
5321
ad4d226c
SM
53222012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5323
5324 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5325 conversion to backquotes.
5326
f1a4e679
CY
53272012-06-12 Chong Yidong <cyd@gnu.org>
5328
5329 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5330 Rename from gud-inhibit-global-bindings.
5331
5332 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5333
5334 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5335 hook from nxml-glyph-set-hook.
5336
5337 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5338 declaration.
5339
5340 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5341
5342 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5343 Convert to defcustom.
5344
0c9e42b5
DA
53452012-06-12 Drew Adams <drew.adams@oracle.com>
5346
5347 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5348 New functions.
5349 (help-mode): Use them.
5350
09e06855
GM
53512012-06-11 Glenn Morris <rgm@gnu.org>
5352
5353 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5354 Use preprocessor face for directives.
5355 (fortran-directive-re): Doc fix.
5356
71adb94b
SM
53572012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5358
2eb87922
SM
5359 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5360 conversion to backquotes (bug#11652).
5361
71adb94b
SM
5362 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5363 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5364 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5365 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5366 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5367 (cl-ninth, cl-tenth): Mark them as inlinable.
5368 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5369 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5370 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5371 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5372 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5373 (cl-list*, cl-adjoin): Don't put an autoload manually.
5374 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5375 (cl--compiler-macro-list*): Add autoload cookie.
5376 (cl--compiler-macro-cXXr): New function.
2eb87922 5377
71adb94b
SM
5378 * help-fns.el (help-fns--compiler-macro): New function extracted from
5379 describe-function-1; follow aliases and use `compiler-macro' property.
5380 (describe-function-1): Use it.
5381
a6674402
CY
53822012-06-11 Chong Yidong <cyd@gnu.org>
5383
5384 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5385 is uninstalled, if imagemagick is installed.
5386
bb3faf5b
SM
53872012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * emacs-lisp/cl-lib.el: Use lexical-binding.
5390 (cl-map-extents, cl-maclisp-member): Remove.
5391 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5392 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5393 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5394 * emacs-lisp/cl-extra.el: Use lexical-binding.
5395 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5396 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5397 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5398 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5399 * emacs-lisp/cl-seq.el: Use lexical-binding.
5400 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5401 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5402 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5403 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5404 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5405 CL's internals.
5406
2fe4b125
MA
54072012-06-11 Michael Albinus <michael.albinus@gmx.de>
5408
5409 Sync with Tramp 2.2.6-pre.
5410
5411 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5412 `print-length' and `print-level' to nil, in order to avoid
5413 truncation. Reported by Christopher Schmidt
5414 <christopher@ristopher.com>.
5415
5416 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5417
5418 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5419 New defmacro.
5420 (tramp-compat-copy-directory): Add optional argument
5421 COPY-CONTENTS. It is not handled yet.
5422
5423 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5424 (tramp-ftp-file-name-p): Simplify.
5425
5426 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5427 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5428 connection vector.
5429
5430 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5431 (tramp-methods): Do not use `tramp-password-end-of-line'.
5432 (tramp-completion-function-alist-putty): Handle UNIX case.
5433 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5434 (tramp-do-file-attributes-with-stat)
5435 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5436 gid as real numbers. They could run out of integer range on cygwin.
5437 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5438 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5439 (tramp-open-connection-setup-interactive-shell):
5440 Use `tramp-cleanup'. Move check for busyboxes ...
5441 (tramp-find-shell): ... here. Simplify implementation.
5442 Set "remote-shell" property also for alternative shells.
5443 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5444 If failing, a regular file would be written otherwise.
5445 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5446 (tramp-find-inline-encoding): Cache the coding commands in the
5447 process cache. Apply test command on the remote side, if defined.
5448 (tramp-find-inline-compress): Cache the compress commands in the
5449 process cache.
5450 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5451 when requested. Handle hops.
5452 (tramp-current-connection): New defvar.
87e6e64f
DA
5453 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5454 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5455 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5456 (tramp-get-inline-compress, tramp-get-inline-coding):
5457 Read connection properties from the process cache.
2fe4b125
MA
5458
5459 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5460 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5461 New defconsts.
2fe4b125
MA
5462 (tramp-smb-prompt): Extend for powershell prompt.
5463 (tramp-smb-file-name-handler-alist): Add handlers for
5464 `process-file', `shell-command' and `start-file-process'.
5465 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5466 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5467 (tramp-smb-file-name-p): Simplify.
5468 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5469 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5470 (tramp-smb-shell-quote-argument): New defuns.
5471 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5472 Implement using "tar". By this, time-stamps are preserved.
5473 (tramp-smb-handle-copy-file): Handle also the case of directories.
5474 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5475 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5476 Use `tramp-get-connection-buffer').
2fe4b125
MA
5477 (tramp-smb-handle-rename-file): Use "rename", when source and
5478 target are on the same share.
87e6e64f
DA
5479 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5480 Use `tramp-smb-server-version'.
2fe4b125
MA
5481 (tramp-smb-wait-for-output): Remove prompt.
5482
5483 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5484 (tramp-methods, tramp-rsh-end-of-line):
5485 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5486 (tramp-save-ad-hoc-proxies): New defcustom.
5487 (tramp-completion-function-alist): Adapt docstring.
5488 (tramp-default-password-end-of-line): Remove defcustom.
5489 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5490 (tramp-user-regexp, tramp-file-name-regexp-unified)
5491 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5492 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5493 (tramp-remote-file-name-spec-regexp): New defconst.
5494 (tramp-file-name-structure): Extend structure for hops.
5495 (tramp-get-method-parameter): Move up.
5496 (tramp-file-name-p, tramp-dissect-file-name)
5497 (with-parsed-tramp-file-name): Handle hops.
5498 (tramp-file-name-hop): New defun.
5499 (tramp-make-tramp-file-name): New optional arg HOP.
5500 (tramp-message-show-progress-reporter-message): New defvar.
5501 (tramp-with-progress-reporter): Use it. We cannot use
5502 `tramp-message-show-message' here, because this suppresses also
5503 error buffers.
5504 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5505 `tramp-message-show-message' is nil.
5506 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5507 (tramp-cleanup): New defun.
5508 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5509 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5510 an error unchanged.
5511 (tramp-completion-handle-file-name-all-completions): Handle hops.
5512 Fix an error when called from ido.
5513 (tramp-completion-dissect-file-name): Use better local variable
5514 name. Add hop to the vector.
5515 (tramp-handle-insert-file-contents): Use progress-reporter for the
5516 whole scenario.
5517 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5518 to `t'.
5519 (tramp-check-for-regexp): Simplify search.
5520 (tramp-enter-password): Remove it. Move implementation ...
5521 (tramp-action-password): ... here.
5522 (tramp-mode-string-to-int, tramp-local-host-p)
5523 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5524 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5525 Set tramp-autoload cookie.
2fe4b125
MA
5526
5527 * net/trampver.el: Update release number.
5528
55292012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5530 Michael Albinus <michael.albinus@gmx.de>
5531
5532 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5533 (tramp-parse-group, tramp-parse-file)
5534 (tramp-parse-shostkeys-sknownhosts): New defuns.
5535 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5536 (tramp-parse-shosts-group, tramp-parse-sconfig)
5537 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5538 (tramp-parse-sknownhosts, tramp-parse-hosts)
5539 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5540 Use them.
5541 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5542 (tramp-parse-putty-group): Don't narrow.
5543 (tramp-parse-putty): Make a loop.
5544 (tramp-file-name-handler): Catch the `suppress' signal.
5545
72834e10
CY
55462012-06-11 Chong Yidong <cyd@gnu.org>
5547
5548 * image.el (imagemagick-register-types): Put the ImageMagick entry
5549 at the end of image-type-file-name-regexps.
5550
a4712e11
JB
55512012-06-11 Johan Bockgård <bojohan@gnu.org>
5552
5553 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5554 (pcase, pcase-let*, pcase-dolist): Use them.
5555
82ad98e3
SM
55562012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5557
5558 * emacs-lisp/pcase.el (pcase--let*): New function.
5559 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5560 (pcase--expand): Use macroexp-let².
5561
f80efb86
SM
55622012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5565 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5566 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5567 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5568 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5569 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5570
31ca4639 55712012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5572
31ca4639
CY
5573 * mail/rmail.el (rmail-yank-current-message): Leave point at
5574 correct position. (Bug#11660)
94f0aa34 5575
31ca4639 55762012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5577
31ca4639 5578 * allout-widgets.el: Fix code header.
9e1b8ec4 5579
31ca4639 55802012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5581
f80efb86
SM
5582 * cus-edit.el (customize-changed-options-previous-release):
5583 Bump to 24.1.
31ca4639 5584
642b6d30
AS
55852012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5586
5587 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5588
4f5d2ba1
CY
55892012-06-09 Chong Yidong <cyd@gnu.org>
5590
5591 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5592
e75852fd
MR
55932012-06-09 Martin Rudalics <rudalics@gmx.at>
5594
5595 * window.el (special-display-popup-frame): Don't use
5596 window--display-buffer (Bug#11651).
5597
1e48e282
EZ
55982012-06-09 Eli Zaretskii <eliz@gnu.org>
5599
8a26b487
EZ
5600 Fix parallel builds: make sure loaddefs.el is not being written
5601 while Lisp files are compiled.
5602 (compile): Don't depend on 'mh-autoloads'.
5603 (compile-CMD, compile-SH): Depend on 'autoloads'.
5604 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5605
1e48e282
EZ
5606 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5607
6175e34b
CY
56082012-06-09 Chong Yidong <cyd@gnu.org>
5609
5610 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5611 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5612 Doc fixes (Bug#11225).
5613
d9857e53
SM
56142012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5617 a function if there's a clear indication that it has a compiler-macro.
5618 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5619 (macro-declarations-alist): Add arglist to declaration functions.
5620 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5621 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5622 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5623 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5624 Also add autoload to find the compiler macro.
5625 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5626 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5627 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5628 (cl--compiler-macro-get): New functions, replacing calls to
5629 cl-define-compiler-macro.
5630 (cl-typep) [compiler-macro]: Use macroexp-let².
5631
f81298f8 56322012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5633
5634 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5635 string properly, fixes Bug#11473.
5636
4b56d0fe
CY
56372012-06-08 Chong Yidong <cyd@gnu.org>
5638
5639 * faces.el (set-face-attribute): Doc fix.
5640 (modify-face): Don't use :bold and :italic.
5641 (error, warning, success): Tweak definitions.
5642
5643 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5644 (custom-modified, custom-set, custom-changed, custom-themed)
5645 (custom-saved, custom-button, custom-button-mouse)
5646 (custom-button-pressed, custom-state, custom-comment-tag)
5647 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5648 (custom-group-subtitle): Use new-style face specs.
5649 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5650 (custom-set-face, custom-changed-face, custom-saved-face)
5651 (custom-button-face, custom-button-pressed-face)
5652 (custom-documentation-face, custom-state-face)
5653 (custom-comment-face, custom-comment-tag-face)
5654 (custom-variable-tag-face, custom-variable-button-face)
5655 (custom-face-tag-face, custom-group-tag-face-1)
5656 (custom-group-tag-face): Remove obsolete face alias.
5657
5658 * epa.el (epa-validity-high, epa-validity-medium)
5659 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5660 (epa-field-name, epa-field-body):
5661 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5662 (font-lock-keyword-face, font-lock-builtin-face)
5663 (font-lock-function-name-face, font-lock-variable-name-face)
5664 (font-lock-type-face, font-lock-constant-face):
5665 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5666 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5667 * speedbar.el (speedbar-button-face, speedbar-file-face)
5668 (speedbar-directory-face, speedbar-tag-face)
5669 (speedbar-selected-face, speedbar-highlight-face)
5670 (speedbar-separator-face):
5671 * whitespace.el (whitespace-newline, whitespace-space)
5672 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5673 (whitespace-line, whitespace-space-before-tab)
5674 (whitespace-space-after-tab, whitespace-indentation)
5675 (whitespace-empty):
5676 * emulation/cua-base.el (cua-global-mark):
5677 * eshell/em-prompt.el (eshell-prompt):
5678 * net/newst-plainview.el (newsticker-new-item-face)
5679 (newsticker-old-item-face, newsticker-immortal-item-face)
5680 (newsticker-obsolete-item-face, newsticker-date-face)
5681 (newsticker-statistics-face, newsticker-default-face):
5682 * net/newst-reader.el (newsticker-feed-face)
5683 (newsticker-extra-face, newsticker-enclosure-face):
5684 * net/newst-treeview.el (newsticker-treeview-face)
5685 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5686 (newsticker-treeview-immortal-face)
5687 (newsticker-treeview-obsolete-face)
5688 (newsticker-treeview-selection-face):
5689 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5690 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5691 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5692 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5693 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5694 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5695 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5696 (mpuz-text):
5697 * progmodes/vera-mode.el (vera-font-lock-number)
5698 (vera-font-lock-function, vera-font-lock-interface):
5699 * textmodes/table.el (table-cell): Use new-style face specs, and
5700 don't use the old :bold and :italic attributes.
5701
5702 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5703 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5704 (ebrowse-member-class, ebrowse-progress): Likewise.
5705 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5706 (ebrowse-file-name-face, ebrowse-default-face)
5707 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5708 (ebrowse-progress-face): Remove obsolete faces.
5709
5710 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5711 Inherit from error and warning faces respectively.
5712
5713 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5714 Likewise.
f80efb86
SM
5715 (flyspell-incorrect-face, flyspell-duplicate-face):
5716 Remove obsolete aliases.
4b56d0fe 5717
03310646
MA
57182012-06-08 Michael Albinus <michael.albinus@gmx.de>
5719
5720 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5721 Avoid infloop.
5722
513749ee
SM
57232012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5724
5725 * startup.el (argv, argi): Make lexically scoped.
5726 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5727 * emacs-lisp/cl-macs.el: Use lexical-binding.
5728 Rename cl-bind-* to cl--bind-*.
5729 * files.el: Don't require `cl' since it doesn't use it.
5730 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5731
595ef4ad
JB
57322012-06-08 Juanma Barranquero <lekktu@gmail.com>
5733
5734 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5735 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5736 instead of calling external sort utility.
5737 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5738
e9f66fcb
EZ
57392012-06-08 Eli Zaretskii <eliz@gnu.org>
5740
5741 * descr-text.el (describe-char): Mention how to insert the
5742 character, if the current input method doesn't support it.
5743 See the discussion in this thread for the details:
5744 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5745
3d10db47
SS
57462012-06-08 Sam Steingold <sds@gnu.org>
5747
5748 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5749 XF86Back to previous-buffer.
5750 (minibuffer-local-map): Bind them to next-history-element and
5751 previous-history-element respectively.
5752 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5753 help-go-back respectively.
5754 * info.el (Info-mode-map): Bind them to Info-history-forward and
5755 Info-history-back respectively.
5756 These are the keys next to Up on the ThinkPad keyboard.
5757
de7e2b36
SM
57582012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5759
5760 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5761 * emacs-lisp/cl-macs.el: Provide itself.
5762 (cl--labels-convert-cache): New var.
5763 (cl--labels-convert): New function.
5764 (cl-flet, cl-labels): New implementation with new semantics, relying on
5765 lexical-binding.
5766 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5767 (cl-closure-vars, cl--function-convert-cache)
5768 (cl--function-convert): Move from cl-macs.el.
5769 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5770 rename by removing the "cl-" prefix.
5771 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5772
6fa6c4ae
SM
57732012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5776 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5777 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5778 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5779 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5780 (cl-hash-table-count): Add old compatibility aliases.
5781
5782 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5783 Use macroexpand-all-environment instead.
5784 (cl--old-macroexpand): New var.
5785 (cl--sm-macroexpand): New function.
5786 (cl-symbol-macrolet): Use it during macro expansion.
5787 (cl--function-convert-cache): New var.
5788 (cl--function-convert): New function, extracted from
5789 cl-macroexpand-all.
5790 (cl-lexical-let): Use it.
5791
5792 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5793 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5794 (cl-member): Remove old alias.
5795
5796 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5797 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5798 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5799 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5800 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5801 (cl-macroexpand-cmacs): Remove var.
5802 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5803 Use macroexpand-all instead.
5804
4dd1c416
SM
58052012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5808 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5809 (macroexp-copyable-p): New functions and macros.
5810 * emacs-lisp/edebug.el (edebug-unwrap):
5811 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5812 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5813 (pcase--let*): Remove.
5814 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5815 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5816 macroexp-const-p instead.
5817 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5818
5819 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5820 instead of "cl-" for internal definitions. Use macroexp-const-p.
5821 (cl-old-bc-file-form): Remove var.
5822 (cl-const-exprs-p): Remove fun.
5823 (cl-labels, cl-macrolet): Use backquote.
5824 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5825 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5826 (cl-define-setf-expander): Rename from cl-define-setf-method.
5827 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5828
5829 * international/mule-cmds.el: Don't require CL.
5830 (view-hello-file): Don't use `letf'.
5831
ed8bd4d7
SM
58322012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5833
7287f2f3
SM
5834 * tmm.el (tmm-prompt): Use string-prefix-p.
5835 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5836 (tmm-add-prompt): Use minibuffer-completion-help.
5837 (tmm-delete-map): Remove.
5838
ed8bd4d7
SM
5839 * subr.el (kbd): Make it its own function.
5840
7b4cdbf4
SM
58412012-06-07 Stefan Merten <smerten@oekonux.de>
5842
5843 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5844 Silence compiler warnings. Fix versions.
ed8bd4d7 5845 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5846 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5847 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5848 (rst-package-emacs-version-alist): Correct Emacs version to
5849 represent major merge with upstream.
ed8bd4d7 5850 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5851
2b48d721
GM
58522012-06-06 Glenn Morris <rgm@gnu.org>
5853
5854 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5855 Only print environment variables if set.
5856
fa779ab0
SM
58572012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5860 (macroexp--cons): Rename from maybe-cons.
5861 (macroexp--accumulate): Rename from macroexp-accumulate.
5862 (macroexp--all-forms): Rename from macroexpand-all-forms.
5863 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5864 (macroexp--expand-all): Rename from macroexpand-all-1.
5865
628299e0
SS
58662012-06-06 Sam Steingold <sds@gnu.org>
5867
5868 * calendar/calendar.el (calendar-in-read-only-buffer):
5869 Call `special-mode' to enable the standard read-only keybindings.
5870
b7bb5838
SM
58712012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5872
5873 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5874 with "loading" messages (bug#11635).
5875
dfb308ba
MA
58762012-06-06 Michael Albinus <michael.albinus@gmx.de>
5877
5878 * files.el (enable-remote-dir-locals): New option.
5879 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5880
0372ee92
MA
5881 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5882 Ensure, that the temp directory is local.
5883
5884 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5885 `temporary-file-directory'.
5886
eed0bb91
MA
5887 * progmodes/python.el (python-send-region): Ensure, that the
5888 temporary file is created also in the remote case.
5889
7a58f64d
GM
58902012-06-06 Glenn Morris <rgm@gnu.org>
5891
f7dd4e98
GM
5892 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5893 (vc-rcs-update-changelog): Use it.
5894
090bd7cb 5895 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5896
7a58f64d
GM
5897 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5898 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5899 (vc-sccs-diff): Replace use of the external vcdiff script.
5900
daed4003
GM
59012012-06-05 Glenn Morris <rgm@gnu.org>
5902
5903 * ledit.el: Move to obsolete/.
5904
48c455c7
SS
59052012-06-05 Sam Steingold <sds@gnu.org>
5906
ed9265fc 5907 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5908 patch (Bug#11140).
5909
57a7d507
SM
59102012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5911
090bd7cb 5912 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5913
53aacf21
SM
5914 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5915 compiler-macro expansion.
5916
57a7d507
SM
5917 Add native compiler-macro support.
5918 * emacs-lisp/macroexp.el (macroexpand-all-1):
5919 Support compiler-macros directly. Properly follow aliases and apply
5920 the compiler macros more thoroughly.
5921 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5922 macroexpand now properly follows aliases.
5923 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5924 (cl-compiler-macroexpand): Use new prop.
5925 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5926
5927 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5928
51a5f9d8
MR
59292012-06-05 Martin Rudalics <rudalics@gmx.at>
5930
5931 * window.el (get-lru-window, get-mru-window, get-largest-window):
5932 New argument NOT-SELECTED to avoid picking the selected window.
5933 (window--display-buffer-1, window--display-buffer-2): Replace by
5934 new function window--display-buffer
5935 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5936 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5937 Use window--display-buffer.
51a5f9d8
MR
5938 (display-buffer-use-some-window): Remove temporary dedication
5939 hack by calling get-lru-window and get-largest-window with
5940 NOT-SELECTED argument non-nil. Call window--display-buffer.
5941
08f9f738
GM
59422012-06-05 Glenn Morris <rgm@gnu.org>
5943
5944 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5945 Replace external vcdiff script.
5946
e364a2b7
SM
59472012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5950
041df390
CY
59512012-06-04 Chong Yidong <cyd@gnu.org>
5952
e364a2b7
SM
5953 * image.el (imagemagick-types-inhibit): Revert last change.
5954 Add INFO and M.
47b36b94 5955 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5956
7c1898a7
SM
59572012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * emacs-lisp/cl-lib.el: Rename from cl.el.
5960 * emacs-lisp/cl.el: New compatibility file.
5961 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5962 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5963 to obey the "cl-" prefix.
5964 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5965
0c3461de
GM
59662012-06-03 Glenn Morris <rgm@gnu.org>
5967
1e266c88
GM
5968 * emacs-lisp/authors.el (authors-aliases): Addition.
5969
0c3461de
GM
5970 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5971 Fix :version.
5972
d8a52e15
SM
59732012-06-03 Stefan Merten <smerten@oekonux.de>
5974
5975 * textmodes/rst.el: Add comments.
5976 (rst-transition, rst-adornment): New faces.
5977 (rst-adornment-faces-alist): Make default safe to reevaluate.
5978 Fixes
5979 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5980 Improve customization tags.
5981 (rst-define-level-faces): Clarify meaning.
5982
5205d6f6
CY
59832012-06-03 Chong Yidong <cyd@gnu.org>
5984
5985 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
5986 (compilation-mode-line-run, compilation-mode-line-exit):
5987 New faces.
5205d6f6
CY
5988 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5989
757ee657
JD
59902012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5991
7c1898a7
SM
5992 * progmodes/which-func.el (which-func-update-ediff-windows):
5993 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 5994
5f2c76c6
CY
59952012-06-03 Chong Yidong <cyd@gnu.org>
5996
5997 * bindings.el: Remove explicit help text from format-mode-line.
5998 It is now supplied by mode-line-default-help-echo.
5999 (mode-line-front-space, mode-line-end-spaces)
6000 (mode-line-misc-info): New variables.
6001 (mode-line-modes, mode-line-position): Move the default value to
6002 the variable definition.
6003 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6004 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6005 (mode-line-modified-help-echo): New functions.
6006 (mode-line-mule-info, mode-line-modified): Use them.
6007 (mode-line-eol-desc, propertized-buffer-identification):
6008 Consistency fixes for help text.
cbe46e5f
CY
6009 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6010 set-buffer-file-coding-system (Bug#289).
6011 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6012
f2d6a3df
SM
60132012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 * simple.el (execute-extended-command): Set real-this-command
6016 (bug#11506).
6017
37269466
CY
60182012-06-02 Chong Yidong <cyd@gnu.org>
6019
6020 Remove incorrect uses of "modeline" in comments, docstrings, and
6021 function/variable names (Bug#10329).
6022
6023 * cus-edit.el (mode-line):
6024 * dframe.el (dframe-mouse-hscroll):
6025 * emacs-lisp/re-builder.el:
6026 * emacs-lisp/easy-mmode.el (define-minor-mode):
6027 * frame.el (set-frame-name):
6028 * help.el (lookup-minor-mode-from-indicator):
6029 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6030 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6031 (c-toggle-hungry-state):
6032 * progmodes/antlr-mode.el (antlr-language-alist):
6033 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6034 * progmodes/vhdl-mode.el (vhdl-mode):
6035 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6036 * term/ns-win.el (ns-face-at-pos):
6037 * term/sup-mouse.el (sup-mouse-report):
6038 * textmodes/flyspell.el (flyspell-mode-line-string):
6039 * textmodes/ispell.el (ispell-highlight-face):
6040 * textmodes/reftex-global.el:
6041 * vc/vc-arch.el (vc-arch-mode-line-string):
6042 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6043 * vc/vc-git.el (vc-git-mode-line-string):
6044 * vc/vc-hooks.el (vc-display-status)
6045 (vc-default-mode-line-string):
6046 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6047
6048 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6049
6050 * dired.el (dired-sort-set-mode-line): Rename from
6051 dired-sort-set-modeline. All callers changed.
6052
6053 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6054 eshell-status-in-modeline.
6055
6056 * foldout.el (foldout-mode-line-string): Rename from
6057 foldout-modeline-string. All callers changed.
6058 (foldout-update-mode-line): Rename from foldout-update-modeline.
6059
6060 * subr.el (redraw-modeline): Make into obsolete alias.
6061
6062 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6063 timeclock-modeline-display. Make old name an alias.
6064 (timeclock-update-mode-line): Likewise. All callers changed.
6065 (timeclock-mode-line-display): No need to check before using
6066 add-hook.
6067 (timeclock-relative, timeclock-day-over-hook)
6068 (timeclock-use-elapsed, timeclock-mode-string)
6069 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6070
6071 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6072 crisp-mode-modeline-string.
6073
6074 * play/solitaire.el (solitaire-build-mode-line): Rename from
6075 solitaire-build-modeline. All callers changed.
6076
6077 * play/zone.el (zone-hiding-mode-line): Rename from
6078 zone-hiding-modeline. All callers changed.
6079 (zone): Remove unusued `modeline-hidden-level' property.
6080
6081 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6082 xscheme-modeline-initialize. All callers changed.
6083
6084 * strokes.el (strokes-lighter): Rename from
6085 strokes-modeline-string.
6086
6087 * textmodes/sgml-mode.el (html-face-tag-alist)
6088 (html-tag-face-alist): Use mode-line face instead of obsolete
6089 alias modeline.
6090
42152ee4
SM
60912012-06-02 Stefan Merten <smerten@oekonux.de>
6092
6093 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6094 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6095
95f520b5
CY
60962012-06-02 Chong Yidong <cyd@gnu.org>
6097
6098 * image.el (imagemagick-enabled-types): Rename from
6099 imagemagick-types-enable. Add many more types.
6100 (imagemagick-types-inhibit): Change default to nil.
6101 (imagemagick-filter-types): Caller changed.
6102
4a5f187a
SM
61032012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6104
03fef3e6
SM
6105 * emacs-lisp/cl-macs.el: Use backquotes.
6106 (cl-transform-function-property): Use eval-and-compile rather than
6107 abusing `require'.
6108 (defstruct): Use declare-function instead of with-no-warnings.
6109
4a5f187a
SM
6110 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6111 (byte-compile-output-docform): Re-add the print-circle bindings.
6112 (byte-compile-fix-header): Use #$ just because it's shorter.
6113 (byte-compile-output-file-form): Remove defun/defmacro.
6114
bd56924f
MR
61152012-06-01 Martin Rudalics <rudalics@gmx.at>
6116
6117 * simple.el (choose-completion): Remove now obsolete binding for
6118 owindow.
6119
046e38ce
MA
61202012-06-01 Michael Albinus <michael.albinus@gmx.de>
6121
6122 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6123 in order to avoid "Stack overflow in regexp matcher".
6124
32d72c2f
GM
61252012-05-31 Glenn Morris <rgm@gnu.org>
6126
6127 * image.el: For clarity, call imagemagick-register-types at
6128 top-level, rather than relying on a custom :initialize.
6129 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6130 (imagemagick-filter-types): New function. (Bug#7406)
6131 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6132 If disabling support, remove elements altogether rather
6133 than using an impossible regexp.
6134 (imagemagick-types-inhibit): Give it the default init function.
6135
dd41169b
SM
61362012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6137
4a5f187a
SM
6138 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6139 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6140
efc00ab1 61412012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6142
6143 * desktop.el (desktop-read): Clear previous and next buffers for
6144 all windows and bury *Messages* buffer (bug#11556).
6145
500fcedc
SM
61462012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6147
6148 Add `declare' for `defun'. Align `defmacro's with it.
6149 * emacs-lisp/easy-mmode.el (define-minor-mode)
6150 (define-globalized-minor-mode): Don't autoload the var definitions.
6151 * emacs-lisp/byte-run.el: Use lexical-binding.
6152 (defun-declarations-alist, macro-declarations-alist): New vars.
6153 (defmacro, defun): Use them.
6154 (make-obsolete, define-obsolete-function-alias)
6155 (make-obsolete-variable, define-obsolete-variable-alias):
6156 Use `declare'.
6157 (macro-declaration-function): Mark obsolete.
6158 * emacs-lisp/autoload.el: Use lexical-binding.
6159 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6160
6e8a1786
AM
61612012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6162
6163 * textmodes/ispell.el (ispell-with-no-warnings):
6164 Define as a macro.
500fcedc
SM
6165 (ispell-kill-ispell, ispell-change-dictionary):
6166 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6167 `interactive-p'.
6168
61b108cc
SM
61692012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6170
6171 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6172 (macro-declaration-function): Move var from C code.
6173 (macro-declaration-function): Define function with defalias.
6174 * emacs-lisp/macroexp.el (macroexpand-all-1):
6175 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6176 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6177 defun/defmacro any more.
6178 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6179 Provide fallback for unknown arglist.
6180 (byte-compile-arglist-warn): Change calling convention.
6181 (byte-compile-output-file-form): Move print-vars binding.
6182 (byte-compile-output-docform): Simplify accordingly.
6183 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6184 (byte-compile-defmacro-declaration): Remove.
6185 (byte-compile-file-form-defmumble): Generalize to defalias.
6186 (byte-compile-output-as-comment): Return byte-positions.
6187 Simplify callers accordingly.
6188 (byte-compile-lambda): Use `assert'.
6189 (byte-compile-defun, byte-compile-defmacro): Remove.
6190 (byte-compile-file-form-defalias):
6191 Use byte-compile-file-form-defmumble.
6192 (byte-compile-defalias-warn): Remove.
6193
6d3f7c2f
SM
61942012-05-29 Stefan Merten <smerten@oekonux.de>
6195
6196 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6197 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6198
6199 (rst-mode-abbrev-table): Merge definition.
6200 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6201 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6202
6dbaa1c7
UJ
62032012-05-29 Ulf Jasper <ulf.jasper@web.de>
6204
6205 * calendar/icalendar.el
6206 (icalendar-export-region): Export UID properly.
6207
d209e2fb 62082012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6209 * calendar/icalendar.el (icalendar-import-format):
6210 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6211 (icalendar-import-format-uid): New.
6212 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6213 Export UID.
6214
6876a58d
SM
62152012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6216
6217 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6218 different alternative patterns.
6219 (pcase-codegen): Be more careful to preserve identity.
6220 (pcase--u1): Don't forget to mark vars as used.
6221
6222 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6223 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6224 (byte-compile-from-buffer): ...rather than here.
6225
6226 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6227 functions from byte-compile-function-environment.
6228
46b7967e
TN
62292012-05-29 Troels Nielsen <bn.troels@gmail.com>
6230
6231 * window.el (window-deletable-p): Avoid deleting the root window
6232 of a frame with an active minibuffer.
6233
69d565e2
MR
62342012-05-29 Martin Rudalics <rudalics@gmx.at>
6235
6236 * simple.el (choose-completion): Use quit-window (Bug#11567).
6237
a149fa51
CY
62382012-05-29 Chong Yidong <cyd@gnu.org>
6239
6240 * whitespace.el (whitespace-cleanup): Fix usage of
6241 whitespace-empty-at-bob-regexp (Bug#11492).
6242
2b311310
AH
62432012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6244
6245 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6246 revert (Bug#11488).
6247
b9cb2387
JL
62482012-05-29 Juri Linkov <juri@jurta.org>
6249
6250 * isearch.el (isearch-mode-map): Bind `M-s _' to
6251 `isearch-toggle-symbol'. Bind `M-s c' to
6252 `isearch-toggle-case-fold'.
6253 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6254 (isearch-forward): Add `M-s _' to the docstring.
6255 (isearch-forward-symbol, isearch-toggle-case-fold)
6256 (isearch-symbol-regexp): New functions. (Bug#11381)
6257
d5e61c1c
JL
62582012-05-29 Juri Linkov <juri@jurta.org>
6259
6260 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6261 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6262 a function, call it to get the regexp.
6263 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6264 property `isearch-message-prefix' instead of the string "word ".
6265 (isearch-search-fun-default): For the case of `isearch-word',
6266 return a lambda that calls re-search-forward/re-search-backward
6267 with a regexp returned by `word-search-regexp' or by the function
6268 in `isearch-word'.
6269
8cbd80f7
JL
62702012-05-29 Juri Linkov <juri@jurta.org>
6271
6272 * isearch.el (isearch-search-fun-default): New function.
6273 (isearch-search-fun): Move default part to the new function
6274 `isearch-search-fun-default'.
6275 (isearch-search-fun-function): Set the default value to
6276 `isearch-search-fun-default'. (Bug#11381)
6277
6278 * comint.el (comint-history-isearch-end):
6279 Use `isearch-search-fun-default'.
6280 (comint-history-isearch-search): Use `isearch-search-fun-default'
6281 and remove spacial case for `isearch-word'.
6282 (comint-history-isearch-wrap): Remove spacial case for
6283 `isearch-word'.
6284
6285 * hexl.el (hexl-isearch-search-function):
6286 Use `isearch-search-fun-default'.
6287
6288 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6289 Use `word-search-regexp' for `isearch-word'.
6290
6291 * misearch.el (multi-isearch-search-fun):
6292 Use `isearch-search-fun-default'.
6293
6294 * simple.el (minibuffer-history-isearch-search):
6295 Use `isearch-search-fun-default' and remove spacial case for
6296 `isearch-word'.
6297 (minibuffer-history-isearch-wrap): Remove spacial case for
6298 `isearch-word'.
6299
6300 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6301 Remove spacial case for `isearch-word'.
6302 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6303
85c8c5b6
AM
63042012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6305
6306 Decrease XEmacs incompatibilities.
6307 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6308 Use `string-match'.
6309 (flyspell-delete-region-overlays): Use alternative definition for
6310 XEmacs.
6311 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6312 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6313 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6314 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6315 `define-obsolete-face-alias' under XEmacs, but old method.
6316
6317 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6318 `with-no-warnings' definition or Emacs alias.
6319 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6320 (ispell-word): Do not use `region-p' if XEmacs.
6321
8cab9efc
AM
63222012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6323
6324 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6325 Check for `ispell-dictionary-base-alist' instead of full
6326 `ispell-dictionary-alist'.
6327 (ispell-init-process): Show spellchecker when starting new Ispell
6328 process.
6329
fda91268
RZ
63302012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6331
6332 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6333 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6334
694ea8e3
JB
63352012-05-27 Juanma Barranquero <lekktu@gmail.com>
6336
6337 * version.el (motif-version-string, gtk-version-string)
6338 (ns-version-string): Declare.
6339
e4d4f539
JL
63402012-05-27 Juri Linkov <juri@jurta.org>
6341
6342 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6343 after the `eval-defun-1' specialcaseing
6344 like in `edebug-eval-defun' (bug#10181).
6345
6346 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6347 like in `eval-defun-1'.
6348
33017faf 63492012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6350
fda91268
RZ
6351 * mail/sendmail.el (mail-yank-region):
6352 Recognize rmail-yank-current-message in addition to insert-buffer.
6353 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6354 a *mail* buffer created through rmail-start-mail with sendmail as
6355 mail-user-agent.
6356
33017faf
GM
63572012-05-27 Chong Yidong <cyd@gnu.org>
6358
6359 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6360 Default to 256 (Bug#11267).
6361
6362 * help.el (describe-mode): Doc fix.
6363
04188bb9
GM
63642012-05-26 Glenn Morris <rgm@gnu.org>
6365
38264cc9
GM
6366 * w32-fns.el (w32-init-info): Remove.
6367 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6368
eb7afdad
GM
6369 * info.el (info-initialize): For self-contained NS builds, put the
6370 included info/ directory at the front. (Bug#2791)
6371
04188bb9
GM
6372 * paths.el (Info-default-directory-list): Make it a defcustom,
6373 mainly so that we can use custom-initialize-delay.
6374
a179e3f7
SM
63752012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6376
43416392
SM
6377 * subr.el (buffer-has-markers-at): Mark obsolete.
6378
a179e3f7 6379 * subr.el (lambda): Use declare.
43416392 6380
a179e3f7
SM
6381 * emacs-lisp/lisp-mode.el (lambda):
6382 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6383
34a008d9
AH
63842012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6385
6386 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6387
0a3b289f
GM
63882012-05-26 Glenn Morris <rgm@gnu.org>
6389
6390 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6391
758c81e8
GM
63922012-05-25 Glenn Morris <rgm@gnu.org>
6393
f9f334f0
GM
6394 * paths.el: Remove no-byte-compile.
6395 * loadup.el: No need to load paths.el uncompiled.
6396
87eb79c2
GM
6397 * image.el (imagemagick-types-inhibit): Doc fix.
6398
758c81e8
GM
6399 * version.el: Remove no-byte-compile and associated formatting.
6400 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6401 is ancient code from when there was an "inc-vers.el".
6402
e7e85dc0
SM
64032012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * progmodes/gdb-mi.el: Minor style changes.
6406 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6407 Turn into minor modes.
6408 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6409 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6410 (gdb-shell): Remove unneeded let-binding.
6411 (gdb-get-many-fields): Eliminate O(n²) behavior.
6412
f31237a4
EZ
64132012-05-25 Eli Zaretskii <eliz@gnu.org>
6414
6415 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6416 platforms that don't link in fontset.c.
6417
bc1b21bb
JL
64182012-05-25 Juri Linkov <juri@jurta.org>
6419
6420 Use the same diff color scheme as in modern VCSes (bug#10181).
6421
6422 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6423 to avoid confusion with `diff-added' that now uses green colors.
6424 (diff-removed): Use shades of red.
6425 (diff-added): Use shades of green.
6426 (diff-changed): Leave just the yellow color.
6427 (diff-use-changed-face): New variable.
6428 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6429 how to highlight context diff changes.
6430 (diff-refine-change): Use shades of yellow.
6431 (diff-refine-removed): New face that uses shades of red.
6432 (diff-refine-added): New face that uses shades of green.
6433 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6434 `diff-refine-removed' in the call to `smerge-refine-subst'
6435 depending on the value of `diff-use-changed-face'.
6436
6437 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6438 (smerge-other): Use shades of green.
6439 (smerge-base): Use shades of yellow.
6440 (smerge-refined-change): Empty face.
6441 (smerge-refined-removed): New face that uses shades of red.
6442 (smerge-refined-added): New face that uses shades of green.
6443 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6444 args `props-r' and `props-a', and use them. Doc fix.
6445 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6446 on its value use different faces `smerge-refined-change',
6447 `smerge-refined-removed', `smerge-refined-added' in the call to
6448 `smerge-refine-subst'.
6449
6450 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6451 Add face condition `min-colors 88' with shades of red.
6452 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6453 `min-colors 88' with shades of green.
6454 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6455 `min-colors 88' with shades of yellow.
6456
6df9112c
GM
64572012-05-24 Glenn Morris <rgm@gnu.org>
6458
ead5edc0
GM
6459 * paths.el (prune-directory-list, remote-shell-program): Move to...
6460 * files.el (prune-directory-list, remote-shell-program): ...here.
6461 For the latter, delay initialization, prefer ssh, just search PATH.
6462
f18b81e6
GM
6463 * paths.el (term-file-prefix): Move to faces.el (the only user).
6464 * faces.el (term-file-prefix): Move here, make it a defcustom.
6465
ee2f89a6
GM
6466 * paths.el (news-directory, news-path, news-inews-program):
6467 Move to gnus/nnspool.el.
61a583ca 6468
f8815e4c
GM
6469 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6470
c8f3b42c
GM
6471 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6472 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6473 Make the latter a defcustom, with a delayed initialization.
6474
6df9112c
GM
6475 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6476 These were deleted from Gnus itself late 2010.
6477
5dadff36
JB
64782012-05-22 Juanma Barranquero <lekktu@gmail.com>
6479
9e1701c6
JB
6480 * progmodes/which-func.el (which-func-ff-hook):
6481 Check against user-error, not error.
6482
bd7239f5 6483 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6484 cl-specs.el, which no longer exists.
6485
3290526d
GM
64862012-05-22 Glenn Morris <rgm@gnu.org>
6487
6488 * info.el (info-emacs-bug): New command.
6489 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6490 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6491
ff0c3cfb
GM
64922012-05-21 Glenn Morris <rgm@gnu.org>
6493
6494 * makefile.w32-in (update-subdirs-SH):
6495 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6496
5814f126
SM
64972012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6498
a52c0aa0
SM
6499 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6500
5814f126
SM
6501 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6502 Simplify Maven regexp, and make sure the file can't start with a space
6503 (bug#11517).
6504
b847032c
GM
65052012-05-21 Glenn Morris <rgm@gnu.org>
6506
6507 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6508 Scrap superfluous subshells.
6509
3858bfe7
SM
65102012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6511
6512 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6513 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6514
d14b0029
JB
65152012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6516
6517 * calc/calc.el (calc-ensure-consistent-units): New variable.
6518
a52c0aa0
SM
6519 * calc/calc-units.el (math-consistent-units-p)
6520 (math-check-unit-consistency): New functions.
6521 (calc-quick-units, calc-convert-units):
6522 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6523 is non-nil.
d14b0029
JB
6524 (calc-extract-units): Fix typo.
6525
60c4db3a
SM
65262012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6527
77f3b62e
SM
6528 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6529
60c4db3a
SM
6530 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6531 (flyspell-default-deplacement-commands): Don't spell check after
6532 repeated window/frame switches (e.g. triggered by mouse-movement).
6533 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6534 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6535 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6536 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6537 Remove unused vars.
6538 (flyspell-get-casechars, flyspell-get-not-casechars):
6539 Simplify; Don't bother removing a ] just to add it back.
6540 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6541
d209e2fb 65422012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6543
6544 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6545 New functions.
bd7239f5 6546 (math-function-table): Add support for more C functions.
b1a10716 6547
3f1b25b5
AM
65482012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6549
090bd7cb
JB
6550 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6551 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6552 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6553
b581bb5c
SM
65542012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6555
6556 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6557 their respective macro declarations.
6558 * skeleton.el (define-skeleton):
6559 * progmodes/compile.el (define-compilation-mode):
6560 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6561 (define-ibuffer-filter):
6562 * emacs-lisp/generic.el (define-generic-mode):
6563 * emacs-lisp/easy-mmode.el (define-minor-mode)
6564 (define-globalized-minor-mode):
6565 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6566 * emacs-lisp/byte-run.el (defsubst):
6567 * custom.el (deftheme): Add doc-string metadata.
6568
70b8ef8f
SM
65692012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6570
6571 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6572
b1198e17
SM
65732012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6574
9abdc45d
SM
6575 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6576
b1198e17
SM
6577 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6578 * emacs-lisp/cl-macs.el: Idem.
6579 * emacs-lisp/cl-specs.el: Remove.
6580
4735906a
SM
65812012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6582
6583 Minor renaming of internal CL functions and variables.
6584 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6585 (cl--position): Rename from cl-position.
6586 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6587 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6588 (cl--random-state): Rename from *random-state*.
6589
ac348012
SM
65902012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6593 parens around the arg list (bug#11499).
6594
a0a79cde
JL
65952012-05-17 Juri Linkov <juri@jurta.org>
6596
6597 * isearch.el (word-search-regexp, word-search-backward)
6598 (word-search-forward, word-search-backward-lax)
6599 (word-search-forward-lax): Move functions from search.c
6600 (bug#10145, bug#11381).
6601
65034a51
AM
66022012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6603
090bd7cb
JB
6604 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6605 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6606 Delay for otherchars as for normal word components.
65034a51 6607
1a72a195
SM
66082012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6609
6610 * minibuffer.el (completion--sifn-requote): Fix last change.
6611 (minibuffer-local-must-match-filename-map):
6612 Move define-obsolete-variable-alias before its var.
6613
fdb058c2
SM
66142012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6615
c41045e6
SM
6616 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6617
036dfb8b
SM
6618 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6619 behavior.
6620 (completion--string-equal-p): New function.
6621 (completion--twq-all): Use it to get better assertion failure data.
6622
2473256d
SM
6623 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6624 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6625 (shell--requote-argument): New functions.
6626 (shell-completion-vars): Use them.
6627 (shell--parse-pcomplete-arguments): Rename from
6628 shell-parse-pcomplete-arguments.
6629 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6630 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6631 Obey comint-file-name-quote-list.
6632
fdb058c2
SM
6633 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6634 (smie-indent-keyword): Use it.
6635
51fa99f1
SM
66362012-05-14 Stefan Merten <smerten@oekonux.de>
6637
6638 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6639
e18afed7 66402012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6641
6642 * net/rlogin.el (rlogin-mode-map): Fix last change.
6643
e18afed7 66442012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6645
6646 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6647 the following \r\n using a single `process-send-string', since the
6648 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6649 with two `process-send-string's (Bug#11444).
8633b1f4 6650
e18afed7 66512012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6652
fdb058c2
SM
6653 * shell.el (shell-parse-pcomplete-arguments):
6654 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6655
2d21d7f6
WJ
66562012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6657
e18afed7 6658 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6659 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6660 (image-transform-width, image-transform-fit-width): New functions.
6661 (image-transform-properties): Use them.
6662 (image-transform-check-size): New function.
6663 (image-toggle-display-image): Use it (for testing).
6664 (image-transform-set-rotation): Reduce angle mod 360.
6665 Delete obsolete comment.
6666
7102e6d0
WJ
66672012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6668
6669 * image-mode.el: Fix scaling (bug#11399).
6670 (image-transform-resize): Doc fix.
6671 (image-transform-properties): Default scale is 1 and height should
6672 be an integer.
6673
06bc5e6e
SM
66742012-05-13 Johan Bockgård <bojohan@gnu.org>
6675
6676 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6677 than hard-coding `car', to fix misbehavior when moving forward.
6678
0ae03b6a
CY
66792012-05-13 Chong Yidong <cyd@gnu.org>
6680
6681 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6682 (tabulated-list-entries, tabulated-list-padding)
6683 (tabulated-list-sort-key): Make permanent-local.
6684
6685 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6686 (electric-buffer-list): Put electric buffer menu
6687 command descriptions in this docstring, instead of the docstring
6688 of electric-buffer-menu-mode. Code cleanups.
6689 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6690 Electric-buffer-menu-mode.
6691 (electric-buffer-update-highlight): Minor code cleanup.
6692
205a7391
MA
66932012-05-13 Michael Albinus <michael.albinus@gmx.de>
6694
6695 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6696 (Bug#11447)
6697
e5bd0a28
SM
66982012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 Move define-obsolete-variable-alias before the var's definition.
6701 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6702 * tooltip.el (tooltip-hook):
6703 * textmodes/reftex-toc.el (reftex-toc-map):
6704 * textmodes/reftex-sel.el (reftex-select-label-map)
6705 (reftex-select-bib-map):
6706 * textmodes/reftex-index.el (reftex-index-map)
6707 (reftex-index-phrases-map):
6708 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6709 * progmodes/meta-mode.el (meta-mode-map):
6710 * novice.el (disabled-command-hook):
6711 * loadhist.el (unload-hook-features-list):
6712 * frame.el (blink-cursor):
6713 * files.el (find-file-not-found-hooks, write-file-hooks)
6714 (write-contents-hooks):
6715 * emulation/tpu-edt.el (GOLD-map):
6716 * emacs-lock.el (emacs-lock-from-exiting):
6717 * emacs-lisp/generic.el (generic-font-lock-defaults):
6718 * emacs-lisp/chart.el (chart-map):
6719 * dos-fns.el (register-name-alist):
6720 * dired-x.el (dired-omit-files-p):
6721 * desktop.el (desktop-enable):
6722 * cus-edit.el (custom-mode-hook):
6723 * buff-menu.el (buffer-menu-mode-hook):
6724 * bookmark.el (bookmark-read-annotation-text-func)
6725 (bookmark-exit-hooks):
6726 * allout.el (allout-mode-deactivate-hook)
6727 (allout-exposure-change-hook, allout-structure-added-hook)
6728 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6729 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6730 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6731 comes before the corresponding variable's definition.
6732
ac59c2f6
CY
67332012-05-12 Chong Yidong <cyd@gnu.org>
6734
6735 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6736 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6737 (Buffer-menu-mode-map): Bind it.
6738 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6739
dee6c9a3
SM
67402012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6741
2171cea5
SM
6742 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6743 (prolog-upper-case-string, prolog-lower-case-string)
6744 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6745 (prolog-use-smie, prolog-smie-grammar): New vars.
6746 (prolog-smie-forward-token, prolog-smie-backward-token)
6747 (prolog-smie-rules): New funs.
6748 (prolog-comment-indent): Remove.
6749 (prolog-mode-variables): Use default comment indentation instead.
6750 Setup SMIE.
6751 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6752 (prolog-mode): Don't call them any more.
6753 (prolog-electric-colon, prolog-electric-dash)
6754 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6755
aa0382bd
SM
6756 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6757
dbacb4bd
SM
6758 * minibuffer.el (completion--twq-all): Again, allow case differences.
6759
13bdd94c
SM
6760 * term.el: Move keymap initialization code to be more idiomatic.
6761 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6762 (term-terminal-menu): Move initialization into declaration.
6763 (term-escape-char): Let the user set it in her .emacs.
6764
ff46c759
SM
6765 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6766 Provide SMIE-based indentation (not enabled by default yet).
6767 (sh-mode-map): Don't bind electric keys.
6768 Use electric-pair-mode instead of skeleton-pair.
6769 (sh-assignment-regexp): Fit within 80 columns.
6770 (sh-indent-supported): Specify actual shell name instead of boolean.
6771 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6772 (sh-maybe-here-document): Use it. Make obsolete.
6773 (sh-electric-here-document-mode) New minor mode.
6774 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6775 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6776 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6777 (sh-smie-rc-grammar, sh-use-smie): New vars.
6778 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6779 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6780 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6781 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6782 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6783 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6784 (sh-set-shell): Use smie-setup if requested.
6785
dee6c9a3
SM
6786 * term.el (term-set-escape-char): Properly set term-escape-char.
6787 See http://stackoverflow.com/questions/10524656.
6788
9f9aa044
CY
67892012-05-10 Chong Yidong <cyd@gnu.org>
6790
6791 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6792 Use url-generic-parse-url, and handle host names and Windows
6793 filenames properly.
6794 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6795 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6796 URL schemes to work on.
6797 (ffap--toggle-read-only): New function.
6798 (ffap-read-only, ffap-read-only-other-window)
6799 (ffap-read-only-other-frame): Use it.
6800 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6801 necessary for ffap-url-unwrap-remote.
6802
836d29b3
DA
68032012-05-10 Dave Abrahams <dave@boostpro.com>
6804
6805 * cus-start.el (create-lockfiles): Add it.
6806
00fd78ed
CY
68072012-05-09 Chong Yidong <cyd@gnu.org>
6808
6809 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6810 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6811
666b903b 68122012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6813
6814 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6815
666b903b 68162012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6817
6818 * ansi-color.el (ansi-color-process-output): Check for validity of
6819 comint-last-output-start before using it. This avoids a bad
6820 interaction with gdb-mi's input/output buffer.
6821
666b903b 68222012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6823
6824 * files.el (dir-locals-read-from-file):
6825 Mention dir-locals in any error message.
6826
666b903b 68272012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6828
6829 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6830 package (Bug#11410).
6831
f677562b
CY
6832 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6833 variables into description.
6834
666b903b 68352012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6836
6837 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6838 shell-delimiter-argument-list (bug#11348).
6839 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6840
b499d8d0
JB
68412012-05-09 Juanma Barranquero <lekktu@gmail.com>
6842
8f6b6da8
JB
6843 * textmodes/rst.el: Silence byte-compiler warnings.
6844 (rst-re-alist, rst-reset-section-caches): Move around.
6845 (rst-re): Use `characterp', not `char-valid-p'.
6846 (font-lock-beg, font-lock-end): Declare.
6847
4824146a
JB
6848 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6849 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6850
b499d8d0
JB
6851 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6852
ad89bb83
GM
68532012-05-08 Glenn Morris <rgm@gnu.org>
6854
6855 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6856
8bba5a75
SM
68572012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6858
49ed9c8e
SM
6859 * vc/log-edit.el: Add GNU coding standards highlighting.
6860 (log-edit-font-lock-gnu-style)
6861 (log-edit-font-lock-gnu-keywords): New vars.
6862 (log-edit-font-lock-keywords): New fun.
6863 (log-edit-mode): Don't fold case in font-lock.
6864 (log-edit-font-lock-keywords): Do not assume case-folding.
6865
07d00b56
SM
6866 * imenu.el: Misc cleanup. Make docstrings out of comments.
6867 Use lexical-binding.
6868 (imenu--index-alist, imenu--last-menubar-index-alist)
6869 (imenu-menubar-modified-tick): Use defvar-local.
6870 (imenu--split-menu): Remove unused var.
6871 (imenu--cleanup-seen): Declare as global.
6872 (imenu--cleanup): Use dolist.
6873
8bba5a75
SM
6874 * subr.el (defvar-local): Add debug spec and doc-string position.
6875
5075bdb5
GM
68762012-05-08 Glenn Morris <rgm@gnu.org>
6877
090bd7cb 6878 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6879 * language/english.el, language/georgian.el, language/greek.el:
6880 * language/japanese.el, language/khmer.el, language/korean.el:
6881 * language/lao.el, language/misc-lang.el, language/romanian.el:
6882 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6883 * language/thai.el, language/utf-8-lang.el:
6884 Remove no-byte-compile setting.
6885
5075bdb5
GM
6886 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6887
06f679a7
AH
68882012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6889
6890 * progmodes/make-mode.el (makefile-browse):
6891 Remove unnecessary interactive. (Bug#11324)
6892
03794570
GM
68932012-05-07 Glenn Morris <rgm@gnu.org>
6894
af8630f4
GM
6895 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6896
03794570
GM
6897 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6898
f0809a9d
SM
68992012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6900
28be5ce7
SM
6901 * loadup.el: Preload newcomment.el.
6902 * newcomment.el: Move autoload-only code to toplevel.
6903
f0809a9d
SM
6904 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6905 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6906 Handle new :right-align column property.
6907 (tabulated-list-print-col): Idem, plus use `display' text-property to
6908 try and preserve alignment for variable pitch fonts.
6909
1241b724
CY
69102012-05-07 Chong Yidong <cyd@gnu.org>
6911
6912 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6913 (tabulated-list-use-header-line): New var.
6914 (tabulated-list-init-header): Use it.
6915 (tabulated-list-print-fake-header): New function.
6916 (tabulated-list-print): Use it.
6917 (tabulated-list-sort-button-map): Add non-header-line commands.
6918 (tabulated-list-init-header): Add column name property to basic
6919 labels as well.
6920 (tabulated-list-col-sort): Handle non-header-line button case.
6921 (tabulated-list--sort-by-column-name): Fix a corner case.
6922
f0809a9d
SM
6923 * buff-menu.el (list-buffers--refresh):
6924 Handle Buffer-menu-use-header-line.
1241b724 6925
e5f9458f
CY
69262012-05-06 Chong Yidong <cyd@gnu.org>
6927
6928 * buff-menu.el: Convert to Tabulated List mode.
6929 (Buffer-menu-buffer+size-width): Make obsolete.
6930 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6931 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6932 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6933 documentation into docstring of buffer-menu.
6934 (Buffer-menu-toggle-files-only): Add an informative message.
6935 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6936 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6937 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6938 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6939 (Buffer-menu-execute, Buffer-menu-select)
6940 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6941 (Buffer-menu-bury): Use Tabulated List machinery.
6942 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6943 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6944 Delete.
e5f9458f
CY
6945 (list-buffers--refresh): New function.
6946 (list-buffers-noselect): Use it.
6947 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6948 (Buffer-menu--pretty-file-name): New helper functions.
6949
6950 * loadup.el: Preload tabulated-list.
6951
6952 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6953 tabulated-list-sort-column.
6954 (tabulated-list-init-header): Add the initial aligning space even
6955 if tabulated-list-padding is zero.
6956
e129292c
CS
69572012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6958
6959 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6960 whose cdr is not a cons cell correctly (bug#11038).
6961
6632d361
CY
69622012-05-06 Chong Yidong <cyd@gnu.org>
6963
e129292c
CS
6964 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6965 Accept additional plist in column descriptors.
6632d361
CY
6966 (tabulated-list-init-header): Obey it.
6967 (tabulated-list-get-entry): New function.
6968 (tabulated-list-put-tag): Use it. Use string-width instead of
6969 length.
6970 (tabulated-list--column-number): New function.
6971 (tabulated-list-print): Use it.
e129292c
CS
6972 (tabulated-list-print-col): New function.
6973 Set `tabulated-list-column-name' property on each column's text.
6632d361 6974 (tabulated-list-print-entry): Use it.
e129292c
CS
6975 (tabulated-list-delete-entry, tabulated-list-set-col):
6976 New functions.
6632d361
CY
6977 (tabulated-list-sort-column): New command (Bug#11337).
6978
3cc99f68
CY
6979 * buff-menu.el (list-buffers): Move C-x C-b binding from
6980 buff-menu.el to bindings.el.
6981
6982 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6983 :advertised-binding feature.
6984
52b61776
TN
69852012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6986
6987 * progmodes/compile.el (compilation-internal-error-properties):
6988 Calculate start position correctly when end-col is set but
6989 end-line is not (Bug#11382).
6990
ebfe2597
WJ
69912012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6992
6993 * man.el (Man-unindent): Use text-property-default-nonsticky to
6994 prevent untabify from inheriting face properties (Bug#11408).
6995
6d3f7c2f
SM
69962012-05-05 Stefan Merten <smerten@oekonux.de>
6997
6998 * textmodes/rst.el: Major merge with upstream development up to
6999 Docutils SVN r7399 / rst.el V1.2.1.
7000
7001 Clarify maintainership and authors.
7002
7003 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7004 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7005 (rst-official-version, rst-official-cvs-rev, rst-version)
7006 (rst-package-emacs-version-alist): New functions and variables
7007 for version information.
7008
7009 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7010 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7011 (rst-mode-syntax-table, rst-mode): New and corrected functions
7012 and variables representing reStructuredText features.
7013
7014 (rst-re): New function for reStructuredText regexes. Use in
7015 many places.
7016
7017 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7018 (rst-mode-map): Rebind keys.
7019
7020 (rst-mode-lazy, rst-font-lock-keywords)
7021 (rst-font-lock-extend-region)
7022 (rst-font-lock-extend-region-internal)
7023 (rst-font-lock-extend-region-extend)
7024 (rst-font-lock-find-unindented-line-limit)
7025 (rst-font-lock-find-unindented-line-match)
7026 (rst-adornment-level, rst-font-lock-adornment-level)
7027 (rst-font-lock-adornment-match)
7028 (rst-font-lock-handle-adornment-pre-match-form)
7029 (rst-font-lock-handle-adornment-matcher): Major revision of
7030 font-locking. Integrate with other code. Use `jit-lock-mode'.
7031
7032 (rst-preferred-adornments, rst-adjust-hook)
7033 (rst-new-adornment-down, rst-preferred-bullets)
7034 (rst-preferred-bullets, rst-indent, rst-indent-width)
7035 (rst-indent-field, rst-indent-literal-normal)
7036 (rst-indent-literal-minimized, rst-indent-comment): Change,
7037 extend and improve customization.
7038
7039 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7040 (rst-normalize-cursor-position, rst-get-decoration)
7041 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7042 (rst-rstrip, rst-toc-insert-find-delete-contents)
7043 (rst-shift-fill-region, rst-compute-bullet-tabs)
7044 (rst-debug-print-tabs, rst-debug-mark-found)
7045 (rst-shift-region-guts, rst-shift-region-right)
7046 (rst-shift-region-left, rst-use-char-classes)
7047 (rst-font-lock-keywords-function)
7048 (rst-font-lock-indentation-point)
7049 (rst-font-lock-find-unindented-line-begin)
7050 (rst-font-lock-find-unindented-line-end)
7051 (rst-font-lock-find-unindented-line)
7052 (rst-font-lock-adornment-point, rst-font-lock-level)
7053 (rst-adornment-level-alist): Remove functions and variables.
7054
7055 (rst-compare-adornments, rst-get-adornment-match)
7056 (rst-suggest-new-adornment, rst-get-adornments-around)
7057 (rst-adornment-complete-p, rst-get-next-adornment)
7058 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7059 (rst-straighten-adornments): Standardize function names to
7060 use "adornment" instead of "decoration". Correct callers.
7061 Similar standardizing in many places.
7062
7063 (rst-update-section, rst-adjust, rst-promote-region)
7064 (rst-enumerate-region, rst-bullet-list-region)
7065 (rst-repeat-last-character): Correct use of `interactive'.
7066
7067 (rst-classify-adornment, rst-find-all-adornments)
7068 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7069 (rst-find-leftmost-column, rst-repeat-last-character):
7070 Refactor functions.
7071
7072 (rst-find-title-line, rst-reset-section-caches)
7073 (rst-get-adornments-around, rst-adjust-adornment-work)
7074 (rst-arabic-to-roman, rst-roman-to-arabic)
7075 (rst-insert-list-pos, rst-insert-list-new-item)
7076 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7077 New functions.
7078
7079 (rst-all-sections, rst-section-hierarchy)
7080 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7081 New variables.
7082
7083 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7084 configuration instead of only buffer. Change where necessary.
7085
7086 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7087 (rst-shift-region, rst-adaptive-fill): New functions for
7088 indentation and filling.
7089
7090 (rst-comment-line-break, rst-comment-indent)
7091 (rst-comment-insert-comment, rst-comment-region)
7092 (rst-uncomment-region): New functions for handling comments.
7093
7094 (rst-compile): Quote shell arguments.
7095
7096 (rst-compile-pdf-preview, rst-compile-slides-preview):
7097 Delete temporary files after use.
7098
a43f98b3
GM
70992012-05-05 Glenn Morris <rgm@gnu.org>
7100
48176e8b
GM
7101 * calendar/cal-html.el: Optionally include holidays in the output.
7102 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7103 (cal-html-holidays): New option.
7104 (cal-html-css-default): Add holiday entry.
7105 (holiday-in-range): Autoload it.
7106 (cal-html-htmlify-entry): Add optional class argument.
7107 (cal-html-htmlify-list): Add optional holidays argument.
7108 (cal-html-insert-agenda-days): Include holidays in the output.
7109 (cal-html-one-month): Maybe include holidays.
7110
a43f98b3
GM
7111 * calendar/holidays.el (holiday-in-range):
7112 Move here from cal-tex-list-holidays.
7113 * calendar/cal-tex.el (cal-tex-list-holidays):
7114 Make it an obsolete alias for holiday-in-range. Update all callers.
7115
fef9d149 71162012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7117
7118 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7119 Nextstep.
7120
248da2f4
RW
71212012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7122
7123 * files.el (file-auto-mode-skip): New var.
7124 (set-auto-mode-1): Use it.
7125
f95e9344
SM
71262012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7127
df96ab1e
SM
7128 * repeat.el: Use lexical-binding.
7129 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7130 (repeat-undo-count): Remove.
7131 (repeat):
7132 * progmodes/octave-mod.el (octave-abbrev-start):
7133 * progmodes/f90.el (f90-abbrev-start):
7134 * face-remap.el (text-scale-adjust):
7135 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7136
5342bb06
SM
7137 * emacs-lisp/pcase.el (pcase--let*): New function.
7138 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7139 a bit more.
7140 (pcase--split-pred): Be more clever about ruling out overlap between
7141 a predicate and some constant pattern.
7142 (pcase--q1): Use `null' instead of (eq foo nil).
7143
f95e9344
SM
7144 * subr.el (setq-local, defvar-local): New macros.
7145 (kbd): Redefine as an alias.
7146 (with-selected-window): Leave unrelated frames alone.
7147 (set-temporary-overlay-map): New function.
7148
71873e2b
SM
71492012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7150
7151 * subr.el (user-error): New function.
7152 * window.el (switch-to-buffer):
7153 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7154 (smerge-match-conflict):
7155 * simple.el (previous-matching-history-element)
7156 (next-matching-history-element, goto-history-element, undo-more)
7157 (undo-start):
7158 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7159 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7160 (next-file, tags-loop-scan, list-tags, complete-tag):
7161 * progmodes/compile.el (compilation-loop):
7162 * mouse.el (mouse-minibuffer-check):
7163 * man.el (Man-bgproc-sentinel, Man-goto-page):
7164 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7165 (Info-history-forward, Info-follow-reference, Info-menu)
7166 (Info-extract-menu-item, Info-extract-menu-counting)
7167 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7168 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7169 (Info-next-reference, Info-prev-reference, Info-index)
7170 (Info-index-next, Info-follow-nearest-node)
7171 (Info-copy-current-node-name):
7172 * imenu.el (imenu--make-index-alist)
7173 (imenu-default-create-index-function, imenu-add-to-menubar):
7174 * files.el (basic-save-buffer, recover-file):
7175 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7176 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7177 (checkdoc-message-text, checkdoc-defun):
7178 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7179 * cus-edit.el (customize-changed-options, customize-rogue)
7180 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7181 (custom-variable-mark-to-reset-standard)
7182 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7183 (custom-file):
7184 * completion.el (check-completion-length):
7185 * comint.el (comint-search-arg)
7186 (comint-previous-matching-input-string-position)
7187 (comint-previous-matching-input)
7188 (comint-replace-by-expanded-history-before-point, comint-send-input)
7189 (comint-copy-old-input, comint-backward-matching-input)
7190 (comint-goto-process-mark, comint-set-process-mark):
7191 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7192 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7193
8a61ee22
SM
71942012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7195
66408d1e
SM
7196 * dabbrev.el (dabbrev--ignore-case-p): New function.
7197 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7198 Use it.
7199
8a61ee22
SM
7200 * files.el (automount-dir-prefix): Mark as obsolete.
7201
3c74813a
GM
72022012-05-04 Glenn Morris <rgm@gnu.org>
7203
7204 * patcomp.el, play/bruce.el: Move to obsolete/.
7205
0bfcf5c5
PE
72062012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7207
7208 Fix minor Y10k bugs.
7209 * arc-mode.el (archive-unixdate):
7210 * autoinsert.el (auto-insert-alist):
7211 * calc/calc-forms.el (math-this-year):
7212 * emacs-lisp/copyright.el (copyright-current-year)
7213 (copyright-update-year, copyright):
7214 * tar-mode.el (tar-clip-time-string):
7215 * time.el (display-time-update):
7216 Don't assume years have 4 digits.
7217
78f3273a
CY
72182012-05-04 Chong Yidong <cyd@gnu.org>
7219
7220 * dos-w32.el (file-name-buffer-file-type-alist)
7221 (direct-print-region-use-command-dot-com):
7222 * ffap.el (ffap-menu-regexp):
7223 * find-file.el (ff-special-constructs):
7224 * follow.el (follow-debug):
7225 * forms.el (forms--debug):
7226 * iswitchb.el (iswitchb-all-frames):
7227 * ido.el (ido-all-frames):
7228 * emacs-lisp/timer.el (timer-max-repeats):
7229 * mail/feedmail.el (feedmail-mail-send-hook)
7230 (feedmail-mail-send-hook-queued):
7231 * mail/footnote.el (footnote-signature-separator):
7232 * mail/mailabbrev.el (mail-alias-separator-string)
7233 (mail-abbrev-mode-regexp):
7234 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7235 * progmodes/idlwave.el (idlwave-libinfo-file)
7236 (idlwave-default-completion-case-is-down)
7237 (idlwave-library-routines): Convert defvars to defcustoms.
7238
7239 * mail/rmail.el (rmail-decode-mime-charset):
7240 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7241 (idlwave-shell-fix-inserted-breaks)
7242 (idlwave-shell-activate-alt-keybindings)
7243 (idlwave-shell-use-breakpoint-glyph):
7244 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7245
f7ae6719
SM
72462012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7249
47086495
WS
72502012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7251
7252 * progmodes/verilog-mode.el (font-lock-keywords):
7253 Fix mis-highligting auto. Reported by Craig Barner.
7254 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7255 defines from global name space. Reported by Dan Dever.
47086495
WS
7256 (verilog-auto-reset, verilog-auto-reset-widths)
7257 (verilog-auto-tieoff): Support using unbased numbers for
7258 AUTORESET and AUTOTIEOFF.
7259 (verilog-submit-bug-report): Update variable list.
7260 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7261 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7262 (verilog-auto-template-lint): Fix hash error when linting modules
7263 with no used templates.
7264 (verilog-warn, verilog-warn-error)
7265 (verilog-warn-fatal): When non-interactive report multiple
7266 warnings before exiting. Suggested by Brad Dobbie.
7267 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7268 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7269 to report unused template errors. Reported by Brad Dobbie.
7270 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7271 nets, bug438. Reported by Vns Blore.
47086495
WS
7272 (verilog-auto-inout-module, verilog-auto-reg)
7273 (verilog-read-decls, verilog-read-sub-decls-sig)
7274 (verilog-signals-edit-wire-reg, verilog-signals-with):
7275 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7276 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7277 "reg" for backwards compatibility presuming Verilog 2001.
7278 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7279 (verilog-preprocess): Fix replication of preprocess output.
7280 Reported by Brad Dobbie.
7281 (verilog-auto-inst-interfaced-ports):
7282 Create verilog-auto-inst-interfaced-ports, bug429.
7283 Reported by Julian Gorfajn.
7284 (verilog-after-save-font-hook)
7285 (verilog-before-save-font-hook): New variable.
7286 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7287 (verilog-save-font-mods): Wrap disabling fontification, reported
7288 by David Rogoff.
7289 (verilog-do-indent, verilog-pretty-declarations-auto)
7290 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7291 Reported by Pierre-David Pfister.
7292 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7293 of class declarations, bug292. Reported by Kevin Heilman.
7294 (verilog-read-decls): Fix 'parameter type' not appearing in
7295 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7296 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7297 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7298 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7299 Reported by David Kravitz.
7300
73012012-05-03 Michael McNamara <mac@mail.brushroad.com>
7302
7303 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7304 assignment with tests in ifs and for loops.
7305 (verilog-extended-complete-re, verilog-complete-reg): Change so
7306 that DPI inport functions don't look like fuction declarations.
7307 (verilog-pretty-expr): Don't line up assignment
7308 operations to the test and increment in if and for loops
7309 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7310 that DPI inport functions don't look like fuction declarations.
47086495 7311
2e51d4b5
KH
73122012-05-03 Kenichi Handa <handa@m17n.org>
7313
7314 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7315 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7316 (Bug#11282).
7317
2bd785a2
SM
73182012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7319
7320 * emacs-lisp/bytecomp.el
7321 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7322 since cconv.el might have introduced :fun-body, internal-make-closure,
7323 and friends for bytecomp to handle (bug#11391).
7324 * custom.el (defcustom): Avoid ((λ ..) ..).
7325
99d27583
SM
73262012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7329
55a71479
JB
73302012-05-02 Juanma Barranquero <lekktu@gmail.com>
7331
7332 * notifications.el (dbus-debug):
7333 * term/linux.el (gpm-mouse-enable):
7334 * term/screen.el (xterm-register-default-colors): Declare.
7335
7b97c764
CY
73362012-05-02 Chong Yidong <cyd@gnu.org>
7337
2bc356d7
CY
7338 * cus-start.el (gc-cons-percentage, exec-suffixes)
7339 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7340 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7341 (make-cursor-line-fully-visible, void-text-area-pointer)
7342 (font-list-limit): Add customization data.
7343
7b97c764
CY
7344 * allout.el (allout-exposure-change-functions)
7345 (allout-structure-added-functions)
7346 (allout-structure-deleted-functions)
7347 (allout-structure-shifted-functions): Rename abnormal hooks from
7348 *-hook, and convert to defcustoms.
5d3385a0
JB
7349 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7350 Convert to defcustoms.
7b97c764
CY
7351 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7352
7353 * allout-widgets.el: Hook callers changed.
7354
90207a15 73552012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7356
7357 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7358 the yanked message in preference to the default value of
7359 buffer-file-coding-system.
7360
90207a15 73612012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7362
5d3385a0
JB
7363 * window.el (display-buffer--action-function-custom-type):
7364 Fix entry.
d9558cad 7365
90207a15 73662012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7367
7368 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7369
d80ac57b
GM
73702012-05-01 Glenn Morris <rgm@gnu.org>
7371
976f7668
GM
7372 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7373
beb83b5a
GM
7374 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7375
d80ac57b
GM
7376 * cus-edit.el (custom-variable-documentation): Simplify with format.
7377
b593d6a9 73782012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7379 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7380
7381 * simple.el (suggest-key-bindings, execute-extended-command):
7382 Move from keyboard.c.
7383
782fbf2a
CY
73842012-05-01 Chong Yidong <cyd@gnu.org>
7385
7386 * follow.el: Eliminate advice.
7387 (set-process-filter, process-filter, sit-for): Advice deleted.
7388 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7389 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7390 Vars deleted.
782fbf2a
CY
7391 (follow-auto): Use a :set function.
7392 (follow-mode): Rewritten. Don't advise process filters.
7393 (follow-switch-to-current-buffer-all, follow-scroll-up)
7394 (follow-scroll-down): Assume follow-mode is bound.
7395 (follow-comint-scroll-to-bottom)
7396 (follow-align-compilation-windows): New functions.
7397 (follow--window-sorter): New function.
7398 (follow-all-followers): Use it to explicitly sort windows by their
7399 positions; don't make assumptions about next-window order.
7400 (follow-windows-start-end, follow-delete-other-windows-and-split)
7401 (follow-calc-win-start): Doc fix.
7402 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7403 vertical-motion unnecessarily.
7404 (follow-adjust-window): New function.
7405 (follow-post-command-hook): Use it.
7406 (follow-call-set-process-filter, follow-call-process-filter)
7407 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7408 (follow-stop-intercept-process-output, follow-generic-filter):
7409 Functions deleted.
7410 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7411 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7412 New functions, replacing advice on scroll-bar-* commands.
87233a14 7413 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7414
7415 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7416 (comint-postoutput-scroll-to-bottom): Use it.
7417 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7418
290af740
GM
74192012-05-01 Glenn Morris <rgm@gnu.org>
7420
7421 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7422 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7423 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7424 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7425 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7426 Remove no-byte-compile setting.
7427
6eac8dc9
SM
74282012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7429
7430 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7431 all-completions code to not return a number in the last cdr.
7432
9cc7819c
LL
74332012-04-30 Leo Liu <sdl.web@gmail.com>
7434
7435 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7436 read-only error.
7437
c93b886f
CY
74382012-04-29 Chong Yidong <cyd@gnu.org>
7439
7440 * follow.el (follow-calc-win-end): Rewrite to handle partial
7441 screen lines correctly (Bug#8390).
7442 (follow-avoid-tail-recenter): Minor cleanup.
7443
8b6c19f4
SM
74442012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7445
7446 Avoid the obsolete `assoc' package.
7447 * speedbar.el (speedbar-refresh): Avoid adelete.
7448 (speedbar-file-lists): Simplify and avoid aput.
7449 * man.el (Man--sections, Man--refpages): New vars, replacing
7450 Man-sections-alist and Man-refpages-alist.
7451 (Man-build-section-alist, Man-build-references-alist):
7452 Use them; avoid aput.
7453 (Man--last-section, Man--last-refpage): New vars.
7454 (Man-follow-manual-reference): Use them.
7455 Use the `default' arg of completing-read.
7456 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7457
c5bb7569
CY
74582012-04-27 Chong Yidong <cyd@gnu.org>
7459
d1d2e2e8
CY
7460 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7461
15cd8efd
CY
7462 * startup.el (x-apply-session-resources): New function.
7463
7464 * term/ns-win.el (ns-initialize-window-system):
7465 * term/w32-win.el (w32-initialize-window-system):
7466 * term/x-win.el (x-initialize-window-system): Use it to properly
7467 set menu-bar-mode and other vars from X resources, even if the
7468 initial frame is not a window-system frame (Bug#2299).
7469
c5bb7569
CY
7470 * subr.el (read-key): Avoid running filter function when setting
7471 up temporary tool bar entries (Bug#9922).
7472
a8e7d6d7 74732012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7474
7475 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7476 (Bug#11344)
7477
a8e7d6d7 74782012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7479
7480 * select.el (xselect--encode-string): New function, split from
7481 xselect-convert-to-string.
7482 (xselect-convert-to-string): Use it.
7483 (xselect-convert-to-filename, xselect-convert-to-os)
7484 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7485 returned strings are properly encoded (Bug#11315).
7486
a8e7d6d7 74872012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7488
7489 * simple.el (delete-active-region): Move to killing custom group.
7490
a8e7d6d7 74912012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7492
7493 * progmodes/which-func.el (which-func-current): Quote %
7494 characters for mode-line processing.
7495
578c1d4b 74962012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7497
7498 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7499 reaching eob (Bug#11286).
7500
a8e7d6d7 75012012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7502
7503 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7504 (gdb): Make it buffer-local and init to zero.
7505 (gdb-control-commands-regexp): New variable.
7506 (gdb-send): Don't wrap in "-interpreter-exec console" if
7507 gdb-control-level is positive. Increment gdb-control-level
7508 whenever the command matches gdb-control-commands-regexp, and
7509 decrement it each time the command is "end". (Bug#11279)
7510
a8e7d6d7 75112012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7512
7513 * window.el (adjust-window-trailing-edge, enlarge-window)
7514 (shrink-window, window-resize):
7515 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7516 windows (Bug#11276).
7517
b3608390
CY
75182012-04-27 Chong Yidong <cyd@gnu.org>
7519
7520 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7521 fix "missing prefix" warning. All callers changed.
b3608390 7522
797e6e88
SM
75232012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7524
7525 * emacs-lisp/assoc.el: Move to obsolete/.
7526
e95a67dc
SM
75272012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7528
657c21e4 7529 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7530
7531 * term/ns-win.el (ns-define-service):
7532 * progmodes/pascal.el (pascal-goto-defun):
7533 * progmodes/js.el (js--read-tab):
7534 * progmodes/etags.el (tags-lazy-completion-table):
7535 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7536 * emacs-lisp/ewoc.el (ewoc--wrap):
7537 * emacs-lisp/assoc.el (aput, adelete, amake):
7538 * doc-view.el (doc-view-convert-current-doc):
7539 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7540
cb3e7ae0
CY
75412012-04-26 Chong Yidong <cyd@gnu.org>
7542
dce04f7f
CY
7543 * image.el (image-type-from-buffer): Only return supported image
7544 type (Bug#9045).
7545
cb3e7ae0
CY
7546 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7547 value, for symmetry with diff-end-of-hunk.
7548 (diff-split-hunk, diff-find-source-location)
7549 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7550 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7551 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7552 compute the relevant hunk or file properly (Bug#6005).
7553 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7554
0d42eb3e
SM
75552012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7556
7557 * vc/vc-mtn.el:
7558 * vc/vc-hg.el:
7559 * vc/vc-git.el:
7560 * vc/vc-dir.el:
7561 * vc/vc-cvs.el:
7562 * vc/vc-bzr.el:
7563 * vc/vc-arch.el:
7564 * vc/vc.el: Replace lexical-let by lexical-binding.
7565 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7566 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7567 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7568
f08ae1c9
CY
75692012-04-26 Chong Yidong <cyd@gnu.org>
7570
8b71081d
CY
7571 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7572 (diff-mode-shared-map): Bind it to / and [remap undo].
7573
f08ae1c9
CY
7574 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7575 (ediff-window-setup-function): Use it as the default, to set up
7576 windows based on whether the current frame is graphical (Bug#2138).
7577 (ediff-choose-window-setup-function-automatically): Make obsolete.
7578
7579 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7580
ef24141c
SM
75812012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7582
cc356a5d
SM
7583 * ffap.el: Remove old code for obsolete package.
7584 (ffap-complete-as-file-p): Remove.
7585
b4ff4f1f
SM
7586 Use completion-table-with-quoting for comint and pcomplete.
7587 * comint.el (comint--unquote&requote-argument)
7588 (comint--unquote-argument, comint--requote-argument): New functions.
7589 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7590 (comint-quote-filename): Use regexp-opt-charset.
7591 (comint--common-suffix, comint--common-quoted-suffix)
7592 (comint--table-subvert): Remove.
7593 (comint-unquote-function, comint-requote-function): New vars.
7594 (comint--complete-file-name-data): Use them with
7595 completion-table-with-quoting.
7596 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7597 * pcomplete.el (pcomplete-arg-quote-list)
7598 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7599 (pcomplete-unquote-argument-function): Default to non-nil.
7600 (pcomplete-unquote-argument): Simplify.
7601 (pcomplete--common-quoted-suffix): Remove.
7602 (pcomplete-requote-argument-function): New var.
7603 (pcomplete--common-suffix): New function.
7604 (pcomplete-completions-at-point): Use completion-table-with-quoting
7605 and completion-table-subvert.
7606
79c4eeb4
SM
7607 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7608 (minibuffer--double-dollars): Preserve properties.
7609 (completion--sifn-requote): New function.
7610 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7611
ef24141c
SM
7612 * minibuffer.el: Add support for completion of quoted/escaped data.
7613 (completion-table-with-quoting, completion-table-subvert): New funs.
7614 (completion--twq-try, completion--twq-all): New functions.
7615 (completion--nth-completion): New function.
7616 (completion-try-completion, completion-all-completions): Use it.
7617
784e7d6e
LL
76182012-04-25 Leo Liu <sdl.web@gmail.com>
7619
dd2ac746
SM
7620 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7621 Use compilation-message if available to find real filename.
784e7d6e 7622
07875ee7
CY
76232012-04-25 Chong Yidong <cyd@gnu.org>
7624
7625 * vc/diff-mode.el (diff-setup-whitespace): New function.
7626 (diff-mode): Use it.
7627
7628 * vc/diff.el (diff-sentinel):
7629 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7630 Whitespace mode variables based on diff style (Bug#8612).
7631
5055880d
LL
76322012-04-25 Leo Liu <sdl.web@gmail.com>
7633
daf75653
LL
7634 * progmodes/python.el (python-send-region): Add suffix .py to the
7635 temp file.
7636
5055880d
LL
7637 * files.el (auto-mode-alist): Use javascript-mode instead.
7638
db9b177b
AH
76392012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7640
ef24141c 7641 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7642
090bd7cb 7643 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7644 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7645 references, see Bug#9.
ef24141c 7646 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7647 when receiving a fault reply.
ef24141c 7648 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7649
090bd7cb 7650 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7651 (soap-inspect-simple-type): New function.
db9b177b 7652
090bd7cb 7653 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7654 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7655 (soap-decode-basic-type, soap-encode-basic-type):
7656 support unsignedInt and double basic types.
db9b177b 7657 (soap-resolve-references-for-simple-type)
ef24141c
SM
7658 (soap-parse-simple-type, soap-encode-simple-type): New function.
7659 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7660
090bd7cb 7661 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7662 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7663 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7664 the local name of "soapenc:Array".
7665 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7666 decoding integer, byte and anyURI xsd types.
7667
1fc6097b
CY
76682012-04-25 Chong Yidong <cyd@gnu.org>
7669
7670 * cus-edit.el (custom-buffer-create-internal): Update header text.
7671
afc6df87
EZ
76722012-04-25 Eli Zaretskii <eliz@gnu.org>
7673
7674 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7675 settings on 'system-type', not on 'window-system'. On MS-Windows,
7676 set interactive-mode on in GDB.
7677
dfbd787f
SM
76782012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7681 (ruby-syntax-propertize-regexp): Remove.
7682 (ruby-syntax-propertize-function): Split regexp into chunks.
7683 Match following code directly.
7684
85222d44
DG
76852012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7686
51a8ea2a
DG
7687 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7688 (ruby-syntax-propertize-regexp): New function.
7689 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7690 by a special keyword.
7691
85222d44
DG
7692 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7693 (ruby-syntax-general-delimiters-goto-beg)
7694 (ruby-syntax-propertize-general-delimiters): New functions.
7695 (ruby-syntax-propertize-function): Use them to handle GDL.
7696 (ruby-font-lock-keywords): Move old handling of GDL...
7697 (ruby-font-lock-syntactic-keywords): .. to here.
7698 (ruby-calculate-indent): Adjust indentation for GDL.
7699
b613912b
MA
77002012-04-24 Michael Albinus <michael.albinus@gmx.de>
7701
b5380639
MA
7702 * notifications.el (top): Remove unneeded declarations.
7703 (notifications-specification-version): Change to "1.2".
e43042fe 7704 (notifications-interface, notifications-notify-method)
b613912b
MA
7705 (notifications-close-notification-method): Fix docstring.
7706 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7707 (notifications-notify): Add :action-items, :resident and
7708 :transient hints. Change "image_data" to "image-data" and
7709 "image_path" to "image-path".
b613912b
MA
7710 (notifications-get-capabilities): New defun.
7711
257440aa
LL
77122012-04-24 Leo Liu <sdl.web@gmail.com>
7713
7714 * progmodes/python.el: Move hideshow setup to the end.
7715
b1bac16e
MR
77162012-04-24 Martin Rudalics <rudalics@gmx.at>
7717
7718 * window.el (handle-select-window): Clear echo area since this is
7719 no more done by read_char (Bug#11304).
7720
d81bd059
SM
77212012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7724 and `/ M' to filter-derived-mode.
7725 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7726 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7727 (ibuffer-mark-by-mode): Use default rather than initial-input.
7728 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7729
c4cf6d91
IA
77302012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7731
7732 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7733 (ibuffer-filter-by-derived-mode): New filter.
7734 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7735
7511ded8
CY
77362012-04-23 Andreas Politz <politza@fh-trier.de>
7737
7738 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7739
775c916b
CY
77402012-04-23 Chong Yidong <cyd@gnu.org>
7741
7742 * cus-edit.el (customize-apropos, customize-apropos-options):
7743 Disable matching of non-option variables (Bug#11176).
7744 (customize-option, customize-option-other-window)
7745 (customize-changed-options): Doc fix.
7746 (customize-apropos-options, customize-apropos-faces)
7747 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7748
7749 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7750 Fix word list splitting (Bug#11132).
46c71e23
CY
7751 (apropos-symbol, apropos-keybinding, apropos-label)
7752 (apropos-property, apropos-function-button)
7753 (apropos-variable-button, apropos-misc-button): New faces.
7754 (apropos-symbol-face, apropos-keybinding-face)
7755 (apropos-label-face, apropos-property-face, apropos-match-face):
7756 Variables removed (Bug#8396).
7757 (apropos-library-button, apropos-format-plist, apropos-print)
7758 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7759
2df41f9c
MA
77602012-04-23 Michael Albinus <michael.albinus@gmx.de>
7761
7762 * net/xesam.el (xesam-mode-map): Use let-bound map in
7763 initialization. (Bug#11292)
7764
da00640a
AM
77652012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7766
7767 Preserve ispell session localwords when switching back to
7768 original buffer.
7769
090bd7cb
JB
7770 * textmodes/ispell.el (ispell-buffer-session-localwords):
7771 New buffer-local variable to hold buffer session localwords.
ed9265fc 7772 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7773 localwords.
7774 (ispell-command-loop, ispell-change-dictionary)
7775 (ispell-buffer-local-words): Preserve session localwords when
7776 needed.
7777
090bd7cb
JB
7778 * textmodes/flyspell.el (flyspell-process-localwords)
7779 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7780
f621ccf5
AM
77812012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7782
090bd7cb
JB
7783 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7784 using obsolete `translation-table-for-input'.
ef24141c
SM
7785 (ispell-word, ispell-process-line, ispell-complete-word):
7786 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7787
c2d1019e
CY
77882012-04-22 Chong Yidong <cyd@gnu.org>
7789
7790 * cus-edit.el (custom-variable-menu)
7791 (custom-variable-reset-saved, custom-face-menu)
7792 (custom-face-reset-saved): If there is no saved value, make the
7793 "reset-saved" operation bring back the default (Bug#9509).
7794 (custom-face-state): Properly detect themed faces.
7795
eeddc531
CY
7796 * faces.el (face-spec-set): Stop supporting deprecated form of
7797 third arg.
7798
dcbf5805
MA
77992012-04-22 Michael Albinus <michael.albinus@gmx.de>
7800
7801 Move functions from C to Lisp. Make non-blocking method calls
7802 the default. Implement further D-Bus standard interfaces.
7803
ef24141c
SM
7804 * net/dbus.el (dbus-message-internal): Declare function.
7805 Remove unneeded function declarations.
dcbf5805
MA
7806 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7807 (dbus-message-type-method-return, dbus-message-type-error)
7808 (dbus-message-type-signal): Declare variables. Remove local
7809 definitions.
7810 (dbus-interface-dbus, dbus-interface-peer)
7811 (dbus-interface-introspectable, dbus-interface-properties)
7812 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7813 Adapt docstring.
7814 (dbus-interface-objectmanager): New defconst.
7815 (dbus-call-method, dbus-call-method-asynchronously)
7816 (dbus-send-signal, dbus-method-return-internal)
7817 (dbus-method-error-internal, dbus-register-service)
7818 (dbus-register-signal, dbus-register-method): New defuns, moved
7819 from dbusbind.c
7820 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7821 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7822 New defuns.
dcbf5805
MA
7823 (dbus-call-method-non-blocking): Make it an obsolete function.
7824 (dbus-unregister-object, dbus-unregister-service)
7825 (dbus-handle-event, dbus-register-property)
7826 (dbus-property-handler): Obey the new structure of
7827 `bus-registered-objects'.
7828 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7829 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7830 Use `dbus-call-method'.
7831
cf20dee0
CY
78322012-04-22 Chong Yidong <cyd@gnu.org>
7833
7834 * cus-edit.el (custom-commands, custom-reset-menu)
7835 (Custom-reset-standard): Tweak labels.
7836 (custom-reset-button-menu): Change default to t.
7837 (custom-buffer-create-internal): For the custom-reset-button-menu
7838 case, put the revert button first.
7839 (custom-group-subtitle): New face.
7840 (custom-group-value-create): Align docstring to a specific column.
7841
7842 * wid-edit.el (widget-documentation-link-add): Don't handle
7843 indentation in this function.
7844 (widget-documentation-string-indent-to): New function.
7845 (widget-documentation-string-value-create): Use it.
7846
7847 * autorevert.el (auto-revert):
7848 * epg-config.el (epg):
7849 * ibuffer.el (ibuffer):
7850 * mpc.el (mpc):
7851 * ses.el (ses):
7852 * eshell/eshell.el (eshell):
7853 * net/ange-ftp.el (ange-ftp):
7854 * progmodes/ebnf2ps.el (postscript):
7855 * progmodes/flymake.el (flymake):
7856 * progmodes/prolog.el (prolog):
7857 * progmodes/verilog-mode.el (verilog-mode):
7858 * progmodes/which-func.el (which-func):
7859 * term/xterm.el (xterm):
7860 * textmodes/picture.el (picture):
7861 * textmodes/tildify.el (tildify):
7862 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7863 customization buffers.
7864
583e23bd
AM
78652012-04-22 Alan Mackenzie <acm@muc.de>
7866
7867 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7868 Adding a ) can hide the resulting (..) from searches. Fix it.
7869 Bound the backward search to the position of the existing (.
7870
7dd51bf1
JB
78712012-04-21 Juanma Barranquero <lekktu@gmail.com>
7872
7873 * progmodes/verilog-mode.el (verilog-mode): Check whether
7874 which-func-modes is t before adding verilog-mode.
7875 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7876
d64a438f
LL
78772012-04-21 Leo Liu <sdl.web@gmail.com>
7878
7dd51bf1 7879 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7880
081e8d65
MV
78812012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7882
7883 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7884 filling of the last column of a table (Bug#5635).
7885 (woman-find-next-control-line): New arg, specifying an additional
7886 regexp component for the control line.
7887 (woman2-roff-buffer): Use it.
7888 (woman-break-table): New function.
7889 (woman2-TS): Use it.
7890
78912012-04-21 Chong Yidong <cyd@gnu.org>
7892
7893 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7894 (woman-horizontal-escapes, woman-negative-vertical-space)
7895 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7896 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7897
ed571ccb
SM
78982012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * minibuffer.el (completion-file-name-table): Complete user names.
7901
39773899
LL
79022012-04-20 Leo Liu <sdl.web@gmail.com>
7903
7904 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7905 and pcase-let*.
7906
de6ff46d
CY
79072012-04-20 Chong Yidong <cyd@gnu.org>
7908
7909 * server.el (server-execute): Respect initial-buffer-choice if it
7910 is a string and there are no files to open (Bug#2825).
7911 (server-create-window-system-frame, server-create-tty-frame):
7912 Don't switch buffers here.
2d0e8e61
CY
7913 (server-process-filter): Only try to open a window system frame if
7914 compiled with graphical support (Bug#8314).
de6ff46d 7915
54071013
DN
79162012-04-20 Dan Nicolaescu <dann@gnu.org>
7917
7918 * battery.el (battery-echo-area-format): Display remaining time
7919 for sysfs backend too (Bug#11269).
7920 (battery-linux-sysfs): Fix conditional for the charge.
7921
f30d612a
CY
79222012-04-20 Chong Yidong <cyd@gnu.org>
7923
c07a4c0b 7924 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7925 (gdb-inferior-io--init-proc): New function.
7926 (gdb-init-1): Use it.
7927 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7928 responsible for allocating a new pty and hooking it to gdb when
7929 the old pty gets an EIO due to process exit.
7930 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7931 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7932 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7933
2116e93c
EZ
79342012-04-20 Eli Zaretskii <eliz@gnu.org>
7935
7936 * window.el (window-min-size, window-sizable, window-min-delta)
7937 (window-max-delta, window--resizable, window-resizable)
7938 (window-total-size, window-full-height-p, window-full-width-p)
7939 (window-in-direction, window--resize-mini-window, window-resize)
7940 (window--resize-child-windows-normal)
7941 (window--resize-child-windows, window--resize-siblings)
7942 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7943 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7944
c07a4c0b 79452012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7946
ef24141c
SM
7947 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7948 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7949 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7950 pty process (Bug#11273).
7951 (gdb-update): New arg to suppress talking to the gdb process.
7952 (gdb-done-or-error): Use it.
7953 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7954 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7955 sentinel not being called.
7956
7957 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7958
d02766ab
CY
7959 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7960
c07a4c0b 79612012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
7962
7963 * net/network-stream.el (open-network-stream): Doc fix.
7964
c07a4c0b 79652012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
7966
7967 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7968
c07a4c0b 79692012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
7970
7971 Ensure searching for keywords is case sensitive.
7972
7973 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7974 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7975 (c-defun-name, c-mark-function, c-cpp-define-name)
7976 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 7977 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 7978
ef24141c
SM
7979 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7980 Bind case-fold-search to nil.
f0f6bc35 7981
c07a4c0b 79822012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
7983
7984 * mail/sendmail.el (mail-bury): Call return action with the right
7985 Rmail buffer (Bug#11242).
7986
9a864fa2
CY
7987 * server.el (server-process-filter): Handle corner case where both
7988 tty and nowait options are present (Bug#11102).
7989
539aa513
EZ
79902012-04-20 Eli Zaretskii <eliz@gnu.org>
7991
7992 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
7993 (top level): Put into the executable the ident-style '$Id:' tag on
7994 windows-nt as well.
539aa513 7995
cfc7d5da
SM
79962012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7997
7998 * electric.el (electric-indent-post-self-insert-function): Check that
7999 electric-indent-mode is enabled in current buffer.
8000
5b01685c
JB
80012012-04-19 Juanma Barranquero <lekktu@gmail.com>
8002
8003 * imenu.el (imenu-progress-message): Restore; it is "used" in
8004 erc/erc-imenu.el and net/snmp-mode.el.
8005
4d6769e1
JB
80062012-04-19 Juanma Barranquero <lekktu@gmail.com>
8007
8008 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8009 (mouse-avoidance-nudge-mouse): Remove unused binding.
8010
8011 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8012
8013 * descr-text.el (describe-char):
8014 * progmodes/python.el (python-describe-symbol):
8015 Don't call `toggle-read-only', set `buffer-read-only'.
8016
8017 * imenu.el (imenu-default-goto-function): Mark unused args.
8018 (imenu-progress-message): Remove obsolete macro; all callers changed.
8019
8020 * subr.el (keymap-canonicalize): Remove unused binding.
8021 (read-passwd): Mark unused arg.
8022
8023 * tutorial.el (tutorial--display-changes): Remove unused binding.
8024 (tutorial--save-tutorial-to): Remove unused variable.
8025
8026 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8027 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8028 (package-generate-autoloads, package-menu--generate)
8029 (package-menu--find-upgrades): Remove unused bindings.
8030
8031 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8032 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8033 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8034 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8035 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8036 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8037 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8038 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8039 (cua-delete-char-rectangle): Mark unused args.
8040 (cua-align-rectangle): Remove unused binding.
8041
8042 * mail/rmail.el (compilation--message->loc)
8043 (epa--find-coding-system-for-mime-charset): Declare.
8044
8045 * net/dbus.el (dbus-register-service): Declare.
8046 (dbus-name-owner-changed-handler): Remove unused binding.
8047
8048 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8049 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8050 (nxml-scan-backward-within): Mark unused arg.
8051 (nxml-dynamic-markup-word): Remove unused binding.
8052
8053 * mouse.el (mouse-menu-major-mode-map):
8054 * emacs-lisp/authors.el (authors-scan-change-log)
8055 (authors-add-to-author-list):
8056 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8057 * emacs-lisp/smie.el (smie-auto-fill):
8058 * mail/sendmail.el (mail-bury):
8059 * mail/unrmail.el (unrmail):
8060 * net/tls.el (open-tls-stream):
8061 * textmodes/picture.el (picture-mouse-set-point):
8062 Remove unused bindings.
8063
8c8fc5df
MA
80642012-04-19 Michael Albinus <michael.albinus@gmx.de>
8065
8066 * net/tramp.el (tramp-action-password): Let-bind
8067 `enable-recursive-minibuffers' to t.
8068
a77b0ac9
SS
80692012-04-18 Sam Steingold <sds@gnu.org>
8070
8071 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8072 instead of 'string to accommodate values like [f11].
8073 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8074 * progmodes/gdb-mi.el: Likewise.
8075
12a106a9
LL
80762012-04-18 Leo Liu <sdl.web@gmail.com>
8077
8078 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8079 current buffer.
8080 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8081 LOCAL is nil.
8082
bc6494ef
CY
80832012-04-18 Chong Yidong <cyd@gnu.org>
8084
8085 * simple.el (line-move): Use forward-line if in batch mode
8086 (Bug#11053).
8087
c09c46b2
CS
80882012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8089
8090 * files.el (after-find-file): Do not try to add a final newline if
8091 the buffer is read-only (Bug#11156).
8092
5f6530ea
RS
80932012-04-17 Richard Stallman <rms@gnu.org>
8094
8095 * mail/rmail.el (rmail-start-mail):
8096 Pass (rmail-mail-return...) for the return-action.
8097 Pass (rmail-yank-current-message...) for the yank-action.
8098 (rmail-yank-current-message): New function.
8099 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8100 (rmail-reply): Likewise.
8101 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8102
8103 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8104 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8105 buffer, not newbuf.
8106
197b6f3c
JB
81072012-04-17 Juanma Barranquero <lekktu@gmail.com>
8108
8109 * server.el (server-ensure-safe-dir): Simplify.
8110
2311d8e5 81112012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8112
2311d8e5
GM
8113 * emacs-lisp/smie.el: Provide smarter auto-filling.
8114 (smie-auto-fill): New function.
8115 (smie-setup): Use it.
98fb480e 8116
2311d8e5
GM
8117 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8118
81192012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8120
8121 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8122 (comment-indent): Use it.
8123
2311d8e5 81242012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8125
8126 * ses.el: The overall change is to add cell renaming, that is
8127 setting fancy names for cell symbols other than name matching
8128 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8129 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8130 (ses-create-cell-variable): New defun.
2311d8e5 8131 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8132 (ses-relocate-formula): Relocate formulas only for cells the
8133 symbols of which are not renamed, i.e. symbols whose names do not
8134 match regexp "\\`[A-Z]+[0-9]+\\'".
8135 (ses-relocate-all): Relocate values only for cells the symbols of
8136 which are not renamed.
8137 (ses-load): Create cells variables as the (ses-cell ...) are read,
8138 in order to check row col consistency with cell symbol name only
8139 for cells that are not renamed.
8140 (ses-replace-name-in-formula): New defun.
8141 (ses-rename-cell): New defun.
4bdf2ad2 8142
fc72b15c
PO
81432012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8144
8145 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8146 New option (bug#11118).
8147 (perl-calculate-indent): Respect it.
8148
12e10e61
GM
81492012-04-17 Glenn Morris <rgm@gnu.org>
8150
8151 * dired-aux.el (dired-mark-read-string): Doc fix.
8152
30009afd
DA
81532012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8154
8155 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8156 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8157
41f03f4d
GM
81582012-04-17 Glenn Morris <rgm@gnu.org>
8159
8160 * mouse.el (mouse-drag-track):
8161 * speedbar.el (speedbar-frame-mode):
8162 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8163
f45f90f3
LL
81642012-04-16 Leo Liu <sdl.web@gmail.com>
8165
8166 * progmodes/python.el: Trivial cleanup.
8167
94ee8db5
GM
81682012-04-16 Glenn Morris <rgm@gnu.org>
8169
121b8917
GM
8170 * vc/vc.el (vc-string-prefix-p):
8171 * vc/pcvs-util.el (cvs-string-prefix-p):
8172 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8173 * mpc.el (mpc-string-prefix-p):
8174 Make all of these into obsolete aliases for string-prefix-p.
8175 Update callers.
8176 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8177
1197ecfa
GM
8178 * textmodes/two-column.el: Move custom options to the start.
8179 (frame-width): Remove compat definition.
8180 (2C-associate-buffer, 2C-dissociate):
8181 Use with-current-buffer rather than save-excursion.
8182 (2C-dissociate): Force a mode-line update.
8183 (2C-autoscroll): Use ignore-errors.
8184
099e7202
GM
8185 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8186 Autoload trivia.
8187
bf350d6a
GM
8188 * emacs-lisp/cl-extra.el (*random-state*):
8189 Remove unnecessary declaration.
8190
0e829eab
GM
8191 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8192
e3ad7552
GM
8193 * play/cookie1.el (cookie-snarf):
8194 Give an explicit error if input file cannot be read.
8195
68892d27
GM
8196 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8197
20f0c46d
GM
8198 * progmodes/perl-mode.el (c-macro-expand):
8199 Remove unnecessary autoload (it is in loaddefs.el).
8200
5a0978ce
GM
8201 * textmodes/picture.el (picture-desired-column)
8202 (picture-update-desired-column): Convert comments to doc-strings.
8203 (picture-substitute): Remove function.
8204 (picture-mode-map): Initialize in the defvar.
8205
6b955486
GM
8206 * woman.el: Remove eval-after-load for tar-mode.
8207 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8208 (woman-tar-extract-file): Autoload it.
8209
94ee8db5
GM
8210 * frame.el (automatic-hscrolling): Make this alias obsolete.
8211
177eca34
AM
82122012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8213
090bd7cb 8214 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8215 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8216 (ispell-dictionary-base-alist): Revert to original XEmacs
8217 friendly version for default. [:alpha:] will be added in
090bd7cb 8218 `ispell-set-spellchecker-params' if needed.
177eca34 8219
c505aaeb
CY
82202012-04-16 Chong Yidong <cyd@gnu.org>
8221
b19dd9d1 8222 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8223 (imagemagick-register-types): Use it.
8224 (imagemagick-types-inhibit): Add :set function. Allow new value
8225 of t to inhibit all types.
8226
8227 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8228 so we can preload it.
8229
8230 * loadup.el (fboundp): Preload regexp-opt, needed by
8231 imagemagick-register-types.
8232
60efac0f
CY
82332012-04-15 Chong Yidong <cyd@gnu.org>
8234
8235 * frame.el (scrolling): Remove nearly unused customization group.
8236
8237 * scroll-all.el (scroll-all-mode): Move to windows group.
8238
5dd1713e
CY
82392012-04-15 Chong Yidong <cyd@gnu.org>
8240
8241 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8242
e6fd457e
CY
82432012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8244
8245 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8246 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8247
e153c136
GM
82482012-04-15 Glenn Morris <rgm@gnu.org>
8249
8250 * simple.el (process-file-side-effects): Doc fix.
8251
e6fd457e 82522012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8253
8254 * international/mule-cmds.el (set-language-environment): Doc fix.
8255
3603c3b1
JB
82562012-04-14 Juanma Barranquero <lekktu@gmail.com>
8257
8258 * server.el (server-auth-key, server-generate-key): Doc fixes.
8259 (server-get-auth-key): Doc fix. Use `string-match-p'.
8260 (server-start): Reflow docstring.
8261
e6de100c
LI
82622012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8263
8264 * server.el (server-generate-key): `called-interactively-p'
8265 requires a parameter.
8266
29734c21
MN
82672012-04-14 Michal Nazarewicz <mina86@mina86.com>
8268
8269 * server.el (server-auth-key): New variable.
75f1671a 8270 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8271 (server-start): Use the new variable and functions to allow
8272 setting a permanent server key (bug#9423).
8273
d65c9521
LL
82742012-04-14 Leo Liu <sdl.web@gmail.com>
8275
8276 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8277
5ae255c7
PE
82782012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8279
8280 Spelling fixes.
8281 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8282 Emacs uses American spelling.
8283
d5e6342e
JB
82842012-04-14 Juanma Barranquero <lekktu@gmail.com>
8285
8286 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8287 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8288 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8289 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8290
ab036cd7
SM
82912012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * progmodes/which-func.el (which-func-modes): Change default.
8294
35dc09a1 82952012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8296
8297 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8298 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8299
35dc09a1 83002012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8301
8302 * custom.el (custom-theme-set-variables): Doc fix.
8303
35dc09a1 83042012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8305
8306 * international/mule.el (set-auto-coding-for-load): Doc fix.
8307
35dc09a1 83082012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8309
35dc09a1
GM
8310 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8311 imenu work again for Objective C Mode. Correct the *-index values,
8312 these having been disturbed by a previous change in 2011-08.
57f845ee 8313
0de3da9f
AM
8314 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8315 Correct two search limits.
8316
35dc09a1 83172012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8318
8319 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8320
35dc09a1 83212012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8322
8323 * international/characters.el: Fix sorting.
8324
35dc09a1 83252012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8326
8327 * international/characters.el: Add more missing Latin case pairs.
8328
35dc09a1 83292012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8330
8331 * files.el (dir-locals-set-class-variables): Doc fix.
8332
35dc09a1 83332012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8334
3f1b5bf8
EZ
8335 * international/characters.el: Add set-case-syntax-pair call for
8336 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8337 counterpart. (Bug#11209)
8338
9f847f41
EZ
8339 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8340
35dc09a1 83412012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8342
8343 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8344
35dc09a1 83452012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8346
35dc09a1
GM
8347 * textmodes/ispell.el (ispell-dictionary-base-alist):
8348 Add data for Hebrew.
e2627d21 8349
35dc09a1 83502012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8351
35dc09a1
GM
8352 * net/rcirc.el (rcirc-cmd-quit):
8353 Revert 2012-03-18 change (Bug#11192).
5c14e333 8354
35dc09a1 83552012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8356
8357 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8358
35dc09a1 83592012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8360
4517fe3a
SM
8361 * minibuffer.el (completion-in-region-mode-map):
8362 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8363
b472a594
VD
83642012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8365
8366 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8367
09b95ce3
MY
83682012-04-13 Masatake YAMATO <yamato@redhat.com>
8369
8370 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8371 to allow `C-M-f' and `C-M-b' to move to the nearest path
8372 separator (bug#9511).
8373
4b63a9ca
LI
83742012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8375
8376 * avoid.el: Require cl when compiling. And also move the
8377 `provide' to the end.
8378
7b55b8bf
TV
83792012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8380
8381 * avoid.el (mouse-avoidance-banish-position): New variable.
8382 (mouse-avoidance-banish-destination): Use it (bug#10165).
8383
adedaa1f
LL
83842012-04-13 Leo Liu <sdl.web@gmail.com>
8385
8386 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8387
70e74021
KB
83882012-04-13 Ken Brown <kbrown@cornell.edu>
8389
8390 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8391 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8392 (browse-url-filename-alist): For the same reason, don't modify
8393 file:// URLs on Cygwin.
8394
e75e89ba
SM
83952012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8396
8397 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8398 the region on shift if the binding is already shifted (bug#11221).
8399
82f289a4
GM
84002012-04-12 Glenn Morris <rgm@gnu.org>
8401
8402 * mail/mailpost.el: Move to obsolete/.
8403
d333dc4c
DA
84042012-04-12 Drew Adams <drew.adams@oracle.com>
8405
8406 * imenu.el (imenu--generic-function): Ignore invisible definitions
8407 (bug#10123).
8408
0d15b5ba
VD
84092012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8410
8411 * hexl.el (hexl-bits): New variable.
8412 (hexl-options): Mention the variable in the doc string.
75f1671a 8413 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8414 (hexl-mode): Mention the new variable.
75f1671a
JB
8415 (hexl-mode, hexl-current-address, hexl-current-address):
8416 Use the displen.
0d15b5ba
VD
8417 (hexl-ascii-start-column): New function.
8418 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8419 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8420
64a440db
AM
84212012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8422
8423 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8424 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8425 the encoding, as expected by hunspell.
8426
6decb6c2
SM
84272012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8428
8429 * battery.el (battery--linux-sysfs-regexp): New const.
8430 (battery-status-function): Use it. Remove yeeloong special case.
8431 (battery-yeeloong-sysfs): Remove.
8432 (battery-echo-area-format): Remove yeeloong special case.
8433
088be6fb
SM
84342012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8435
6622e416
SM
8436 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8437 Reported by Noah Friedman.
8438
088be6fb
SM
8439 * subr.el (read-passwd): Use read-string.
8440
b49f886e
LMI
84412012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8442
8443 * vcursor.el (vcursor-move): Increase the priority of the overlay
8444 (bug#9663).
8445
a63067fc
DD
84462012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8447
8448 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8449 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8450
ac3cf14a
WS
84512012-04-11 William Stevenson <yhvh2000@gmail.com>
8452
8453 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8454 define-minor-mode (bug#10760).
8455
c4fc691b 84562012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8457
4d6769e1 8458 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8459 that directories matching `grep-find-ignored-files' won't be
8460 pruned (bug#10351).
8461
af23e2e5
CY
84622012-04-11 Chong Yidong <cyd@gnu.org>
8463
8464 * startup.el (command-line): Remove support for long-obsolete
8465 variable font-lock-face-attributes.
8466
ab7ce8c1
GM
84672012-04-11 Glenn Morris <rgm@gnu.org>
8468
8469 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8470
de8c03dc
SM
84712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * window.el (window--state-get-1): Obey window-point-insertion-type.
8474
050cc68b
LB
84752012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8476
8477 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8478 to previous function when point is on the first character of a
75f1671a 8479 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8480
a38c310c
GM
84812012-04-11 Glenn Morris <rgm@gnu.org>
8482
effed0c2
GM
8483 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8484 not just file-errors.
8485
a38c310c
GM
8486 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8487 (vc-bzr-sha1): Use internal sha1.
8488
0221e323
SM
84892012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8490
8491 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8492
43956923
SG
84932012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8494
8495 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8496 that start in the middle of the line (bug#10496).
8497
6a8c9eaf
DN
84982012-04-10 Dan Nicolaescu <dann@gnu.org>
8499
8500 * battery.el (battery-linux-proc-acpi): Only one battery is
8501 discharged at a time, but that seems to confuse battery.el when
8502 computing `rate-type' for the battery not being discharged
8503 (bug#10332).
8504
1930bf5d
SM
85052012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8506
2a718f6f
SM
8507 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8508
599430d0
SM
8509 * international/quail.el: Use dolist and simplify.
8510 (quail-define-package, quail-update-keyboard-layout)
8511 (quail-define-rules): Use dolist.
8512 (quail-insert-kbd-layout, quail-get-translation): CSE.
8513
a2754b6c
SM
8514 * tmm.el: Use dolist, remove left over hook.
8515 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8516 Use dolist.
8517 (calendar-load-hook): Don't mess with it.
8518
1930bf5d
SM
8519 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8520 Use derived-mode-p. Run the diff asynchronously.
8521
9f67961c
LMI
85222012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8523
8524 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8525
2a8ce227
JB
85262012-04-10 Juanma Barranquero <lekktu@gmail.com>
8527
8528 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8529 (list-dynamic-libraries--loaded): New function.
8530 (list-dynamic-libraries--refresh): Use it.
8531
8f33b5f8
NW
85322012-04-10 Nathan Weizenbaum <nweiz@google.com>
8533
1930bf5d
SM
8534 * progmodes/python.el (python-fill-paragraph):
8535 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8536 disabled (bug#7018).
8537
b12f0439
L
85382012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8539
1930bf5d 8540 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8541 DOS/MS Windows for the Baltic languages. There are still plenty
8542 of texts written in this encoding/codepage (bug#6519).
b12f0439 8543
57c3bd01
GM
85442012-04-10 Glenn Morris <rgm@gnu.org>
8545
8546 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8547 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8548
6c3eab30
FA
85492012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8550
1930bf5d 8551 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8552 next-line "n" and previous-line "p" in order to make recentf more
8553 consistent with ibuffer, dired or org-mode (bug#9387).
8554
24d78a88
LMI
85552012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8556
bc72b5d9
LMI
8557 * image.el (put-image): Return the overlay created instead of the
8558 optional input string (bug#7834). Note that this may break code
8559 that is (for some reason or other) depending on `put-image'
8560 returning the string.
8561
bd2dba5a
LMI
8562 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8563
74beb59f
LMI
8564 * simple.el (zap-to-char): Allow zapping using input methods
8565 (bug#1580).
8566
24d78a88
LMI
8567 * textmodes/fill.el (fill-region): Leave point and mark where they
8568 were before filling (bug#5399).
8569
263f20cd
GM
85702012-04-09 Glenn Morris <rgm@gnu.org>
8571
8572 * version.el (emacs-bzr-get-version):
8573 Handle lightweight checkouts of local branches.
8574
58d1f797
AS
85752012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8576
263f20cd 8577 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8578
b4d3bc10
CY
85792012-04-09 Chong Yidong <cyd@gnu.org>
8580
8581 * custom.el (custom-variable-p): Return nil for non-symbol
8582 arguments instead of signaling an error.
8583 (user-variable-p): Obsolete alias for custom-variable-p.
8584
8585 * apropos.el (apropos-variable):
8586 * files-x.el (read-file-local-variable):
8587 * simple.el (set-variable):
8588 * woman.el (woman-mini-help):
8589 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8590
fd06db5d
GM
85912012-04-09 Glenn Morris <rgm@gnu.org>
8592
e5fcdb5e
GM
8593 * startup.el (normal-top-level): Don't look for leim-list.el
8594 in places where it will not be found. (Bug#910)
8595
fd06db5d
GM
8596 * international/mule-cmds.el (set-default-coding-systems):
8597 * files.el (normal-mode):
8598 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8599 This function was removed with ucs-tables.el in 2008.
8600
b39bb7e1
EZ
86012012-04-08 Eli Zaretskii <eliz@gnu.org>
8602
8603 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8604 ispell-encoding8-command to "-i", without a trailing space.
8605 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8606 separate command-line arguments, to specify the encoding, since
8607 that's how hunspell expects it.
8608
5c5b8e23
GM
86092012-04-08 Glenn Morris <rgm@gnu.org>
8610
8611 * loadup.el: Load bindings before cus-start.
8612 This reduces somewhat the number of "rogue" settings in emacs -Q.
8613
a1ed8b05
GM
86142012-04-07 Glenn Morris <rgm@gnu.org>
8615
8616 * version.el (emacs-bzr-get-version): New function.
dfae128a 8617 (emacs-bzr-version): New variable.
a1ed8b05
GM
8618 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8619 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8620
b142f158
EZ
86212012-04-07 Eli Zaretskii <eliz@gnu.org>
8622
dfae128a
GM
8623 * international/uni-bidi.el, international/uni-category.el:
8624 * international/uni-combining.el, international/uni-decimal.el:
8625 * international/uni-decomposition.el, international/uni-digit.el:
8626 * international/uni-lowercase.el, international/uni-mirrored.el:
8627 * international/uni-name.el, international/uni-numeric.el:
8628 * international/uni-titlecase.el, international/uni-uppercase.el:
8629 Update for Unicode 6.1.
b142f158 8630
9078ead6
EZ
86312012-04-07 Eli Zaretskii <eliz@gnu.org>
8632
8633 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8634
f23d2c7d
LMI
86352012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8636
8637 * window.el (shrink-window): Mention the `window-min-height'
8638 variable in the doc string.
8639
0a0a3573
BG
86402012-04-05 Bastien Guerry <bzg@altern.org>
8641
8642 * color.el (color-lighten-name): Fix typo.
8643
e5248ac9
SM
86442012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8645
8646 * server.el (server--on-display-p): New function.
8647 (server--on-display-p): Use it.
8648
b4243e22
GV
86492012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8650
8651 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8652 (bug#11145).
8653
305d9f44
SM
86542012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8655
8656 * comint.el (comint--common-quoted-suffix): Check string boundary
8657 before comparing (bug#11158).
8658 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8659
3d439cd1
CY
86602012-04-04 Chong Yidong <cyd@gnu.org>
8661
321cc491
CY
8662 * minibuffer.el (completion-extra-properties): Doc fix.
8663
3d439cd1
CY
8664 * subr.el (delayed-warnings-hook): Doc fix.
8665
2d562c0f
DU
86662012-04-04 Daiki Ueno <ueno@unixuser.org>
8667
8668 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8669 selection (Bug#11159).
8670 (epa-insert-keys): Inform that the default public key will be
8671 exported if no key is selected.
8672
4443f204
RS
86732012-04-04 Richard Stallman <rms@gnu.org>
8674
8675 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8676
529c06b6
CY
86772012-04-03 Chong Yidong <cyd@gnu.org>
8678
8679 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8680 mail-insert-file, not its obsolete alias mail-attach-file.
8681
66b907dc
MA
86822012-04-03 Michael Albinus <michael.albinus@gmx.de>
8683
8684 * notifications.el (notifications-notify): Fix docstring.
8685
c0ea195d
GM
86862012-04-02 Glenn Morris <rgm@gnu.org>
8687
8688 * emacs-lisp/authors.el (authors-aliases): Another addition.
8689
5ca64e00
MA
86902012-04-02 Michael Albinus <michael.albinus@gmx.de>
8691
8692 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8693 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8694 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8695
42ee526b
CY
86962012-04-01 Chong Yidong <cyd@gnu.org>
8697
8698 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8699 Handle root directory properly.
8700 (copy-directory): Caller changed.
8701
8702 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8703 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8704
0b021094
GM
87052012-03-31 Glenn Morris <rgm@gnu.org>
8706
40f86458
GM
8707 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8708
7019c177
GM
8709 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8710
a1daddd6
GM
8711 * calendar/calendar.el (calendar-window-list)
8712 (calendar-hide-window): Restore. (Bug#11140)
8713 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8714
0b021094
GM
8715 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8716
40311efc
TV
87172012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8718
8719 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8720 Check if file is a symlink (Bug#10489).
8721
8722 * files.el (copy-directory): Likewise.
8723
5319014e
CY
87242012-03-30 Chong Yidong <cyd@gnu.org>
8725
8726 * image.el (imagemagick-types-inhibit)
8727 (imagemagick-register-types): Doc fix.
8728
935d1290
AM
87292012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8730
090bd7cb 8731 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8732 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8733 and treats ~word as ordinary words in pipe mode.
935d1290 8734
61c6e8fd
GM
87352012-03-30 Glenn Morris <rgm@gnu.org>
8736
8737 * tutorial.el (help-with-tutorial): Ensure local variables don't
8738 happen to make the buffer read-only. (Bug#11127)
8739
81fdff00
SM
87402012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8743 (perl-calculate-indent): Return `noindent' in strings.
8744
6e7a6ec0
SS
87452012-03-28 Sam Steingold <sds@gnu.org>
8746
8747 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8748 instead of the broken adhockery which does not prevent calendar
8749 buffers from being displayed at random after exit.
8750 (calendar-window-list, calendar-hide-window): Remove the broken
8751 adhockery.
8752
fee88ca0
GM
87532012-03-28 Glenn Morris <rgm@gnu.org>
8754
8755 * replace.el (query-replace-map): Doc fix.
8756
38de3354
AS
87572012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8758
8759 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8760 contents. (Bug#11109)
8761
b973155e
SM
87622012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8763
8764 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8765 (bug#11077).
8766 (avl-tree--check, avl-tree--check-node): New funs.
8767
dcb6e7b3
MR
87682012-03-27 Martin Rudalics <rudalics@gmx.at>
8769
8770 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8771 (switch-to-prev-buffer, switch-to-next-buffer):
8772 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8773 showing a buffer already is done on the same frame.
8774
b4fa35fa
GM
87752012-03-27 Glenn Morris <rgm@gnu.org>
8776
8777 * startup.el (mail-host-address): Doc fix.
8778
f9210e18
SM
87792012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8780
8781 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8782 than 197 variables.
8783
c0bf7753
AF
87842012-03-26 Ami Fischman <ami@fischman.org>
8785
8786 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8787
33da7b16
GM
87882012-03-26 Glenn Morris <rgm@gnu.org>
8789
02243d9d
GM
8790 * files.el (save-buffers-kill-emacs): Doc fix.
8791
33da7b16
GM
8792 * startup.el (normal-top-level, command-line, command-line-1):
8793 Give them doc strings.
8794
e5a69fd0
EZ
87952012-03-25 Eli Zaretskii <eliz@gnu.org>
8796
8797 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8798 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8799
9a69676a
CY
88002012-03-25 Chong Yidong <cyd@gnu.org>
8801
4125cb8b
CY
8802 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8803 theme if it was previously enabled before (Bug#11031).
8804
dd470960
CY
8805 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8806 spec with custom-face-get-current-spec if its :shown-value is not
8807 determined yet (Bug#9337).
4125cb8b 8808 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8809
9a69676a
CY
8810 * button.el (button-at): Minor addition to docstring.
8811
6e7e90fa
SL
88122012-03-24 Simon Leinen <simon.leinen@gmail.com>
8813
8814 * vc/vc.el (vc-merge): Fix a prompt.
8815
f06e2758
CY
88162012-03-24 Chong Yidong <cyd@gnu.org>
8817
8818 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8819 point (Bug#9623).
8820
6e7e90fa
SL
8821 * button.el (button-at): Minor addition to docstring.
8822
b9d0879b
SM
88232012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8824
8825 * newcomment.el (comment-choose-indent): No space after BOL.
8826
e71cebb3
SS
88272012-03-22 Sam Steingold <sds@gnu.org>
8828
8829 * window.el (switch-to-prev-buffer): Revert last patch because the
8830 bug turned out to be an advertised feature (Elisp manual 28.14).
8831
335aff35
GM
88322012-03-22 Glenn Morris <rgm@gnu.org>
8833
8834 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8835 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8836
c676576a
LMI
88372012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8838
8839 * net/network-stream.el (network-stream-open-starttls): Make error
8840 message under Windows be less misleading.
8841
126f3d39
LW
88422012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8843
8844 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8845 understands (bug#9942).
8846
64fee311
CY
88472012-03-22 Chong Yidong <cyd@gnu.org>
8848
8849 * simple.el (end-of-visible-line): Handle return value of
8850 next-single-property-change properly (Bug#9371).
8851
a640d29a
KH
88522012-03-22 Kenichi Handa <handa@m17n.org>
8853
8854 * international/quail.el (quail-insert-kbd-layout): Fix previous
8855 change. To avoid unwanted bidi reordering, use
8856 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8857
39675016
DG
88582012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8859
8860 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8861 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8862 (ruby-beginning-of-indent): Be more careful with the difference
8863 between word-boundary and symbol boundary.
8864 (ruby-mode-syntax-table): Make : a symbol constituent.
8865
0a6934fc 88662012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8867
3d008e4f
SM
8868 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8869
0a6934fc
SM
88702012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8871
af67c9d7
SM
8872 * progmodes/etags.el (tags-completion-at-point-function):
8873 Improve last fix.
8874
1acad97c
SM
8875 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8876
e298b5da
SS
88772012-03-21 Sam Steingold <sds@gnu.org>
8878
8879 * progmodes/etags.el (tags-completion-at-point-function):
8880 Avoid the error when point is inside the pattern.
8881
91d82a70
JY
88822012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8883
8884 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8885 line (Bug#10855).
8886
69188b79
CY
88872012-03-21 Drew Adams <drew.adams@oracle.com>
8888
8889 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8890
99fc91fe
AK
88912012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8892
8893 * ido.el (ido-set-current-directory, ido-read-internal)
8894 (ido-choose-completion-string, ido-completion-help): Handle nil
8895 value of ido-completion-buffer (Bug#11008).
8896
087bbb4c
SS
88972012-03-21 Sam Steingold <sds@gnu.org>
8898
8899 * window.el (switch-to-prev-buffer): Do not switch to a visible
8900 window previous buffer, just like with the frame previous buffers.
8901
fb5b8aca
CY
89022012-03-21 Chong Yidong <cyd@gnu.org>
8903
8904 * faces.el (make-face, make-empty-face, copy-face):
8905 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8906 Doc fixes.
8907
dc9924b8
SM
89082012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8911 (widget-complete): Remove broken use of it.
8912
f0bcceb9
CY
89132012-03-20 Chong Yidong <cyd@gnu.org>
8914
dc9924b8
SM
8915 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8916 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8917 characters.
8918
ee52ebf3
TH
89192012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8920
8921 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8922 to draw rectangles, not squares. (Regression introduced by revno
8923 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8924
4c5779ab
CY
89252012-03-18 Chong Yidong <cyd@gnu.org>
8926
8927 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8928 it is not yet defined (for temacs).
8929
15360934
LL
89302012-03-18 Leo Liu <sdl.web@gmail.com>
8931
735135f9
PE
8932 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8933 prefix.
15360934 8934
d9a8eb66
EZ
89352012-03-17 Eli Zaretskii <eliz@gnu.org>
8936
8937 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8938 (ispell-choices-win-default-height, ispell-silently-savep)
8939 (ispell-dictionary-alist, ispell-encoding8-command)
8940 (ispell-check-version, ispell-aspell-find-dictionary)
8941 (ispell-valid-dictionary-list, ispell-words-keyword)
8942 (ispell-get-word, ispell-internal-change-dictionary)
8943 (ispell-region, ispell-skip-region-list)
8944 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8945 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8946 (ispell-message-text-end, ispell-message)
8947 (ispell-buffer-local-parsing): Doc fix.
8948
f02ff80d
J
89492012-03-13 Jambunathan K <kjambunathan@gmail.com>
8950
8951 * htmlfontify.el: Add support for code block fontification for ODT
8952 export (Bug #9914).
8953 (hfy-optimisations): Define new option
8954 `body-text-only'
8955 (hfy-fontify-buffer): Honor above setting.
8956 (hfy-begin-span, hfy-end-span): New routines factored out form
8957 `hfy-fontify-buffer'.
8958 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8959 that permit insertion of custom tags.
8960 (hfy-fontify-buffer): Use above handlers.
8961 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8962 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 8963 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 8964 over multiple runs. This is made possible by having the caller let
f02ff80d
J
8965 bind a special variable `hfy-user-sheet-assoc'.
8966 (htmlfontify-string): New defun.
8967 (hfy-compile-face-map): Make sure that the last char in the
8968 buffer is correctly fontified.
8969 (hfy-face-resolve-face): Whitespace only change.
8970
9ac7a13f
EZ
89712012-03-17 Eli Zaretskii <eliz@gnu.org>
8972
8973 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8974 message more clear.
8975
e2b5bdd7
LL
89762012-03-16 Leo Liu <sdl.web@gmail.com>
8977
8978 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8979
2e492df3
AM
89802012-03-16 Alan Mackenzie <acm@muc.de>
8981
8982 Further optimise the handling of large macros.
8983
8984 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8985 limit to a call of `c-literal-limits'.
8986 (c-determine-+ve-limit): New function.
dc9924b8
SM
8987 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8988 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
8989 In CASE 5B, restrict a search limit to 500.
8990 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8991
8992 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8993 Restrict macro bounds to +-500 from after-change's BEG END.
8994
50e94f0c
LL
89952012-03-16 Leo Liu <sdl.web@gmail.com>
8996
8997 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8998
6f09f6ed
AH
89992012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9000
9001 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9002 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9003
c7e73d51
GM
90042012-03-16 Glenn Morris <rgm@gnu.org>
9005
da986230
GM
9006 * view.el (view-buffer, view-buffer-other-window)
9007 (view-buffer-other-frame): Doc fixes re special mode-class.
9008
0835f01e
GM
9009 * subr.el (eval-after-load): If named feature is provided not from
9010 a file, run after-load forms. (Bug#10946)
9011
c7e73d51
GM
9012 * calendar/calendar.el (calendar-insert-at-column):
9013 Handle non-unit-width characters a bit better. (Bug#10978)
9014
3f2eafd1
CY
90152012-03-15 Chong Yidong <cyd@gnu.org>
9016
9017 * emacs-lisp/ring.el (ring-extend): New function.
9018 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9019
9020 * comint.el (comint-read-input-ring)
9021 (comint-add-to-input-history): Grow comint-input-ring lazily.
9022
103af3fe
SM
90232012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9024
663b1677
SM
9025 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9026 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9027
103af3fe
SM
9028 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9029 (imenu-add-to-menubar): Don't add a redundant index.
9030 (imenu-update-menubar): Handle a dynamically composed keymap.
9031
899cb7cb
KY
90322012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9033
9034 * mail/sendmail.el (mail-encode-header):
9035 Bind rfc2047-encode-encoded-words to nil.
9036
3809f91d
GM
90372012-03-13 Glenn Morris <rgm@gnu.org>
9038
9039 * calendar/calendar.el (calendar-string-spread):
9040 Handle non-unit-width characters a bit better. (Bug#10978)
9041
9e345a01
LL
90422012-03-13 Leo Liu <sdl.web@gmail.com>
9043
9044 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9045 directory and file as argument (Bug#10822).
9046
4a07df36
KS
90472012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9048
9049 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9050 For dynamically generated code, follow $PC.
9051 (gdb-disassembly-handler-custom): Handle no function name case.
9052
4aaa9356
TL
90532012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9054
9055 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9056 * emulation/ws-mode.el (ws-query-replace):
9057 * sort.el (sort-regexp-fields):
9058 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9059
225979da
SM
90602012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9061
9062 * dabbrev.el: Fix cycle completion order (bug#10963).
9063 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9064 (dabbrev-completion): Don't use an obarray; provide
9065 a cycle-sort-function.
9066
e2f1fdab
LL
90672012-03-12 Leo Liu <sdl.web@gmail.com>
9068
dc9924b8 9069 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9070 (kill-do-not-save-duplicates): Doc fix.
9071
b19490ed
SM
90722012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * dabbrev.el: Fix cycle completion (bug#10963).
9075 Use lexical binding and wrap to 80 columns.
9076 (dabbrev-completion): Delay computing the list of completions.
9077
4b05d722
KH
90782012-03-12 Kenichi Handa <handa@m17n.org>
9079
9080 * international/quail.el (quail-insert-kbd-layout): Surround each
9081 row by LRO and PDF instead of inserting many LRMs. Pad the left
9082 and right of each non-spacing marks. Insert invisible space
9083 between lower and upper characters to prevent composition.
9084
dbbc2e69
SM
90852012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9086
9087 * minibuffer.el (minibuffer-complete): Don't get confused when the
9088 function is run twice via different commands (bug#10958).
9089 (complete-with-action): Fix docstring.
9090
292112ed
CY
90912012-03-12 Chong Yidong <cyd@gnu.org>
9092
5d1ac394
CY
9093 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9094 (nxml-completion-at-point-function): New function.
9095 (nxml-mode): Use it.
9096 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9097
292112ed
CY
9098 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9099 Load generated autoloads file before byte compiling (Bug#10970).
9100 (package--make-autoloads-and-compile): New helper fun.
9101
4098f8f7
CS
91022012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9103
9104 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9105
8f754691
MA
91062012-03-11 Michael Albinus <michael.albinus@gmx.de>
9107
9108 * autorevert.el (auto-revert-handler): Ensure, that
9109 file-readable-p is applied only for local files or in
9110 auto-revert-tail-mode.
9111
e29ab36b
AS
91122012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9113
dbbc2e69
SM
9114 * server.el (server-eval-at): Handle non-tcp connections.
9115 Decode result string.
ad0bf5b6 9116
e29ab36b
AS
9117 * server.el (server-msg-size): New constant.
9118 (server-reply-print): New function.
9119 (server-eval-and-print): Use it.
9120 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9121 Handle -print-nonl.
9122
de5939ba
CS
91232012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9124
9125 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9126 (Bug#10987).
9127
0c93eabf
CY
91282012-03-11 Chong Yidong <cyd@gnu.org>
9129
397a688f
CY
9130 * simple.el (goto-line): Doc fix (Bug#9938).
9131
2cc775f9
CY
9132 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9133
0c93eabf
CY
9134 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9135 when finished (Bug#10963).
9136
c491fa41
MR
91372012-03-11 Martin Rudalics <rudalics@gmx.at>
9138
9139 * window.el (split-window-below): Fix bug in case where
9140 split-window-keep-point is nil (Bug#10971).
9141
300e8fa5
JL
91422012-03-11 Juri Linkov <juri@jurta.org>
9143
9144 * replace.el (replace-highlight): Set isearch-word to nil
9145 unconditionally. (Bug#10887)
9146
dbf6c5a1
EZ
91472012-03-10 Eli Zaretskii <eliz@gnu.org>
9148
9149 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9150 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9151 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9152 (mairix-widget-create-query): Add usage information about mairix
9153 search forms: negating words, searching for substrings, etc.
9154
b9e501de
JP
91552012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9156
9157 * international/fontset.el (font-encoding-alist): Add an entry for
9158 ksx1001 (Bug#5667).
9159
92795c91
RS
91602012-03-10 Richard Stallman <rms@gnu.org>
9161
1694e6c1
RS
9162 * mail/sendmail.el (mail-encode-header):
9163 Set rfc2047-encode-encoded-words.
9164
607e8555
RS
9165 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9166
de3bc99a
RS
9167 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9168 view buffer means not swapped.
9169 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9170 (rmail-write-region-annotate): Error if real text has disappeared.
9171
92795c91
RS
9172 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9173
699bd04e
CY
91742012-03-10 Chong Yidong <cyd@gnu.org>
9175
9176 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9177 * emulation/cua-base.el (cua--init-keymaps):
9178 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9179
570a1714
MR
91802012-03-10 Martin Rudalics <rudalics@gmx.at>
9181
dbbc2e69
SM
9182 * speedbar.el (speedbar-unhighlight-one-tag-line):
9183 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9184
82dcf4e4
CY
91852012-03-10 Chong Yidong <cyd@gnu.org>
9186
7a2c7ca7
CY
9187 * minibuffer.el (completion-in-region, completion-help-at-point):
9188 Give the completion field overlay a high priority (Bug#6830).
9189
82dcf4e4
CY
9190 * dired.el (dired-goto-file): Recognize absolute file name
9191 listings (Bug#7126).
9192 (dired-goto-file-1): New helper function.
9193 (dired-toggle-read-only): Inhibit warnings.
9194
052e28ac
MA
91952012-03-09 Michael Albinus <michael.albinus@gmx.de>
9196
75f1671a 9197 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9198 there are no properties.
9199
95d5e396
LL
92002012-03-09 Leo Liu <sdl.web@gmail.com>
9201
9202 * savehist.el (savehist-printable): Stricter check for string
9203 value (Bug#10937).
9204
3f018d6d
EZ
92052012-03-09 Eli Zaretskii <eliz@gnu.org>
9206
dbbc2e69
SM
9207 * mail/smtpmail.el (smtpmail-send-it):
9208 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9209 valid mbox format.
9210
f7fd3d79
GM
92112012-03-09 Glenn Morris <rgm@gnu.org>
9212
9213 * files.el (dir-locals-find-file):
9214 Don't check result is regular, readable.
9215 (dir-locals-read-from-file): Demote errors.
9216
6ff6e72f
EZ
92172012-03-08 Eli Zaretskii <eliz@gnu.org>
9218
dbbc2e69
SM
9219 * international/quail.el (quail-insert-kbd-layout):
9220 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9221 layout cell, to prevent their reordering by bidi display engine.
9222 For details, see the discussion in
9223 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9224
9cec7834
AM
92252012-03-08 Alan Mackenzie <acm@muc.de>
9226
9227 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9228 the starting position; make it extend the marked region when
9229 invoked repeatedly - all under appropriate circumstances.
9230 Fixes bugs #5525, #10906.
9231
9a40b8d4
GM
92322012-03-08 Glenn Morris <rgm@gnu.org>
9233
9234 * files.el (locate-dominating-file, dir-locals-find-file):
9235 Undo 2012-03-06 change.
9236
7a08ed35
EZ
92372012-03-07 Eli Zaretskii <eliz@gnu.org>
9238
dbbc2e69
SM
9239 * international/quail.el (quail-help):
9240 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9241 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9242 for the reason.
9243
5aca4f71 92442012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9245
9246 Avoid superfluous registering of signals. (Bug#10807)
9247
9248 * notifications.el (notifications-on-action-object)
9249 (notifications-on-close-object): New defvars.
9250 (notifications-on-action-signal, notifications-on-closed-signal):
9251 Unregister the signal if not needed any longer.
9252 (notifications-notify): Register `notifications-action-signal' or
9253 `notifications-closed-signal', if :on-action or :on-close has been
9254 passed as argument.
9255
78e8b10a
CY
92562012-03-07 Chong Yidong <cyd@gnu.org>
9257
9258 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9259 non-X platforms.
9260
69481eb8
GM
92612012-03-06 Glenn Morris <rgm@gnu.org>
9262
9263 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9264 (x-disown-selection-internal, x-get-selection-internal):
9265 Doc fix (add arglist signatures). (Bug#10783)
9266
133b8e11
KS
92672012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9268
9269 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9270 Handle breakpoints with no "type".
9271
99a83064
GM
92722012-03-06 Glenn Morris <rgm@gnu.org>
9273
9274 * files.el (locate-dominating-file): Add optional predicate argument.
9275 (dir-locals-find-file): Make use of above change.
9276
17798e78
TTN
92772012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9278
9279 * info.el (Info-insert-dir): Also try "dir.gz".
9280
eb182446
GM
92812012-03-06 Glenn Morris <rgm@gnu.org>
9282
8f2114ee
GM
9283 * files.el (dir-locals-find-file):
9284 Ignore non-readable or non-regular files. (Bug#10928)
9285
eb182446
GM
9286 * files.el (locate-dominating-file): Doc fix.
9287
24679323
AS
92882012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9289
9290 * calendar/calendar.el (calendar-set-mode-line):
9291 `getenv' returns a string. (Bug#10951)
9292
01d972a9
LL
92932012-03-05 Leo Liu <sdl.web@gmail.com>
9294
109aa8a9
LL
9295 * simple.el (backward-delete-char-untabify): Constrain point to
9296 field (Bug#10939).
9297
01d972a9
LL
9298 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9299
10607bea
CY
93002012-03-05 Chong Yidong <cyd@gnu.org>
9301
9302 * simple.el (count-words): If called from Lisp, return the word
9303 count, for symmetry with `count-lines'. Arglist changed.
9304 (count-words--message): Args changed. Consolidate counting code
9305 from count-words and count-words-region.
9306 (count-words-region): Caller changed.
9307 (count-lines-region): Make it an obsolete alias.
9308
5dd11cfe
TH
93092012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9310
9311 * saveplace.el (save-place-to-alist)
9312 (save-place-ignore-files-regexp): Allow value nil to disable this
9313 feature.
9314
c349f4e6
CY
93152012-03-04 Chong Yidong <cyd@gnu.org>
9316
9317 * faces.el (face-spec-reset-face): For the default face, reset the
9318 attributes to default values (Bug#10748).
9319
e627be4c
LMI
93202012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9321
9322 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9323 previous patch: Check `message-send-mail-function', and not the
9324 default function (bug#10897).
9325
ebeabff4
MA
93262012-03-04 Michael Albinus <michael.albinus@gmx.de>
9327
a41a6cf4
MA
9328 * notifications.el (notifications-on-action-signal)
9329 (notifications-on-closed-signal): Check for unique service name of
9330 incoming event. Fix error in removing entry.
ebeabff4 9331 (top): Register for signals with wildcard service name.
a41a6cf4 9332 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9333
c1ca42b4
CY
93342012-03-04 Chong Yidong <cyd@gnu.org>
9335
dc9924b8 9336 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9337
ea16568d
GM
93382012-03-04 Glenn Morris <rgm@gnu.org>
9339
9340 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9341 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9342 (expand-abbrev, define-abbrev-table): Doc fixes.
9343
fbae4637
LMI
93442012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9345
9346 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9347 `message-default-send-mail-function' and not `send-mail-function'
9348 when doing the prompting for `sendmail-query-once' before sending
9349 in Message buffers (bug#10897).
9350
a1e7225c
LMI
9351 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9352 This is inconsistent with all the other stream functions, which leave
9353 the setting up to the higher levels (if so wanted) (bug#10931).
9354
56d093a9
AM
93552012-03-02 Alan Mackenzie <acm@muc.de>
9356
9357 Depessimize the handling of very large macros.
9358
9359 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9360 (c-macro-cache-syntactic): New variables to implement a one
9361 element macro cache.
9362 (c-invalidate-macro-cache): New function.
9363 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9364 Adapt to use the new cache.
9365 (c-state-safe-place): Use better the cache of safe positions.
9366 (c-state-semi-nonlit-pos-cache)
9367 (c-state-semi-nonlit-pos-cache-limit):
9368 New variables for...
9369 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9370 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9371 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9372 Use c-state-semi-safe-place.
56d093a9 9373
dbbc2e69
SM
9374 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9375 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9376
817e5c3d
MA
93772012-03-02 Michael Albinus <michael.albinus@gmx.de>
9378
dbbc2e69
SM
9379 * jka-compr.el (jka-compr-call-process):
9380 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9381 not remote.
9382
a032a702
MA
93832012-03-01 Michael Albinus <michael.albinus@gmx.de>
9384
9385 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9386 access of FILE2, if FILE1 does not exist.
9387
99a54f21
MA
9388 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9389 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9390
9391 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9392 Add "PAGER=" to `process-environment'.
9393
f6561e1f
MM
93942012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9395
9396 * progmodes/sql.el: Bug fix
9397 (sql-get-login-ext): Save login values in globals.
9398 (sql-get-login): Use new version of `sql-get-login-ext'.
9399 (sql-interactive-mode): Set global `sql-connection' to nil.
9400 (sql-connect): Set global values for connection.
9401 (sql-product-interactive): Save global values as buffer local.
9402
2d44d9cc
LL
94032012-02-29 Leo Liu <sdl.web@gmail.com>
9404
9405 * abbrev.el (define-abbrevs): Reset sys to nil.
9406
96b49301 94072012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9408
bf7f9bc5
JB
9409 * files.el (file-equal-p): Rename from `files-equal-p'.
9410 Return nil when one or both files don't exist.
96b49301 9411 (file-subdir-of-p): Now only top directory must exists,
9412 return nil if it doesn't.
bf7f9bc5
JB
9413 (copy-directory): No need to test with `file-subdir-of-p' after
9414 creating dir.
9415 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9416 to `file-equal-p'.
96b49301 9417
44e97401
GM
94182012-02-28 Glenn Morris <rgm@gnu.org>
9419
9420 * shell.el (shell-mode):
9421 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9422 * play/landmark.el (landmark-font-lock-face-O):
9423 * play/handwrite.el (handwrite):
9424 * play/gomoku.el (gomoku-O):
9425 * net/browse-url.el (browse-url-browser-display):
9426 * international/mule.el (define-charset):
9427 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9428 * filesets.el (filesets-find-file-delay):
9429 * eshell/em-xtra.el (eshell-xtra):
9430 * eshell/em-unix.el (eshell-grep):
9431 * emulation/viper.el (viper-mode):
9432 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9433 * emacs-lisp/easymenu.el (easy-menu-define):
9434 * calendar/timeclock.el (timeclock-use-display-time):
9435 * bs.el (bs-mode):
9436 * bookmark.el (bookmark-save-flag):
9437 Doc fix (standardize possessive apostrophe usage).
9438
c98c6276
CY
94392012-02-27 Chong Yidong <cyd@gnu.org>
9440
bf7f9bc5
JB
9441 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9442 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9443
c98c6276
CY
9444 * font-lock.el (font-lock-specified-p): Rename from
9445 font-lock-spec-present. Callers changed.
9446
9c62cd04 94472012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9448
bf7f9bc5
JB
9449 * emacs-lisp/package.el (package-compute-transaction):
9450 Handle holding a package version to t in package-load-list.
8ac9e529 9451
530739c9
MA
94522012-02-26 Michael Albinus <michael.albinus@gmx.de>
9453
9454 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9455 (tramp-get-inode, tramp-get-device): Use cached values.
9456
487915d7
AM
94572012-02-26 Alan Mackenzie <acm@muc.de>
9458
9459 Check there is a font-lock specification before doing initial
9460 fontification.
9461
9462 * font-core.el (font-lock-mode): Move the conditional from
9463 :after-hook to font-lock-initial-fontify.
9464 (font-lock-default-function): Move the check for a specification
9465 to font-lock-spec-present.
9466
dc9924b8 9467 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9468 (font-lock-spec-present): New function.
9469
4fd96557
JB
94702012-02-26 Jim Blandy <jimb@red-bean.com>
9471
9472 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9473 (gdb-send): Apply it to the operand of the '-interpreter-exec
9474 console' command, so that we can pass arguments with (say) quotes
9475 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9476
9a4888c0
CY
94772012-02-26 Chong Yidong <cyd@gnu.org>
9478
07498861
CY
9479 * help-fns.el (describe-function-1): Clarify description of
9480 remapping (Bug#10844).
9481
9a4888c0
CY
9482 * files.el (files-equal-p): Doc fix.
9483 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9484 and quit the loop once a mismatch is found.
9485
ea8fb88d
JB
94862012-02-25 Juanma Barranquero <lekktu@gmail.com>
9487
9488 * bs.el (bs--show-with-configuration): Don't throw an error
9489 if the window cannot be split; otherwise, subsequent calls to
9490 bs-show fail, restoring a stale window config. (Bug#10882)
9491
525795c1
JD
94922012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9493
9494 * term/ns-win.el (global-map): Bind ns-drag-file to
9495 ns-find-file (Bug#5855, Bug#10050).
9496
f008086f
AS
94972012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9498
9499 * calendar/parse-time.el (parse-time-string): Allow extractor to
9500 return nil.
9501
a3fcfa99
MA
95022012-02-25 Michael Albinus <michael.albinus@gmx.de>
9503
91027d08
JB
9504 * net/tramp.el (tramp-file-name-for-operation):
9505 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9506
9507 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9508 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9509 Add COPY-CONTENTS argument.
a3fcfa99 9510
67b0de11
CY
95112012-02-25 Chong Yidong <cyd@gnu.org>
9512
9513 Add custom groups for VC backends, for consistency with vc-bzr.
9514
9515 * vc/vc-arch.el (vc-arch):
9516 * vc/vc-cvs.el (vc-cvs):
9517 * vc/vc-git.el (vc-git):
9518 * vc/vc-hg.el (vc-hg):
9519 * vc/vc-mtn.el (vc-mtn):
9520 * vc/vc-rcs.el (vc-rcs):
9521 * vc/vc-sccs.el (vc-sccs):
9522 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9523 All relevant defcustoms reassigned.
9524
3c9dfce6
CY
95252012-02-25 Chong Yidong <cyd@gnu.org>
9526
1339bf43
CY
9527 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9528
3c9dfce6
CY
9529 * term/x-win.el (x-initialize-window-system): Reduce default for
9530 x-selection-timeout to 5 seconds (Bug#8869).
9531
25b2e303 95322012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9533
ec70a47d
GM
9534 * files.el (files-equal-p, file-subdir-of-p): New functions.
9535 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9536 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9537 * dired-aux.el (dired-copy-file-recursive): Same.
9538 (dired-create-files): Modify destination when source is equal to
9539 dest when copying files.
53a46cd0 9540 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9541
914260cd
MA
95422012-02-24 Michael Albinus <michael.albinus@gmx.de>
9543
9544 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9545 (Bug#10874)
9546
2cb228f7
AM
95472012-02-23 Alan Mackenzie <acm@muc.de>
9548
9549 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9550 parameter "after-hook:" to allow the expansion to run code after
9551 the execution of the mode hooks.
9552
9553 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9554 from font-lock-mode-internal.
2cb228f7 9555
91027d08 9556 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9557 :after-hook.
9558
8f0fde21
SM
95592012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9560
3e88618b
SM
9561 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9562 (completion--cache-all-sorted-completions): New function.
9563 (completion-all-sorted-completions): Use it.
9564 (completion--do-completion, minibuffer-force-complete):
9565 Use it to re-instate the flush hook.
9566
8f0fde21
SM
9567 * icomplete.el (icomplete-completions): Replace last fix with a better
9568 one (bug#10850).
9569
8e911f6f
DG
95702012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9571
9572 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9573 when it might call us back infinitely (bug#10797).
9574
49fe4321
GM
95752012-02-23 Glenn Morris <rgm@gnu.org>
9576
9577 * minibuffer.el (completion-category-overrides): Doc fix.
9578
b291b572
SM
95792012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9580
9581 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9582 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9583
31a9ef2e
GM
95842012-02-23 Glenn Morris <rgm@gnu.org>
9585
5e6e6794 9586 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9587 (authors-obsolete-files-regexps, authors-ignored-files)
9588 (authors-ambiguous-files, authors-renamed-files-alist):
9589 Add more entries.
9590
0bd1e074
JL
95912012-02-23 Juri Linkov <juri@jurta.org>
9592
9593 * isearch.el (isearch-occur): Sync interactive spec with occur's
9594 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9595
b617673c
JL
9596 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9597
19e9789e
JL
95982012-02-22 Juri Linkov <juri@jurta.org>
9599
9600 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9601 (ucs-insert): Doc fix. Check for hex digits in the string.
9602 Don't display `nil' in the error message. (Bug#10857)
9603
f41ce09d
AM
96042012-02-22 Alan Mackenzie <acm@muc.de>
9605
7a71b18d 9606 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9607
ac2eceee
GM
96082012-02-22 Glenn Morris <rgm@gnu.org>
9609
9610 * ffap.el (ffap-c-path):
9611 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9612
abd1f678
CY
96132012-02-22 Chong Yidong <cyd@gnu.org>
9614
9615 * custom.el (load-theme): Doc fix.
9616
f25aef2e
GM
96172012-02-22 Glenn Morris <rgm@gnu.org>
9618
9619 * dired-x.el (dired-guess-shell-alist-default):
9620 Remove escape sequences from nroff output. (Bug#172)
9621
5f8dc2ca
GM
96222012-02-21 Glenn Morris <rgm@gnu.org>
9623
6ff86ec4
GM
9624 * vc/emerge.el (emerge-defvar-local):
9625 Set `permanent-local' property rather than unused `preserved'.
9626
be3223a3 9627 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9628 (picture-mode-map): Use it. (Bug#10860)
9629 (picture-mode): Doc fix.
9630
3fe58f4f
JB
96312012-02-21 Juanma Barranquero <lekktu@gmail.com>
9632
9633 * newcomment.el (uncomment-region-default): Remove unused binding.
9634
f9a998c3
GM
96352012-02-21 Glenn Morris <rgm@gnu.org>
9636
9637 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9638 (picture-self-insert, picture-tab-chars): Doc fix.
9639 (picture-mode-map): Fix C-a, C-e.
9640
c6029348
GM
96412012-02-20 Glenn Morris <rgm@gnu.org>
9642
9643 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9644
ab1ce9d7
LL
96452012-02-20 Leo Liu <sdl.web@gmail.com>
9646
9647 * icomplete.el (icomplete-completions): Check FROM arg before
9648 passing to substring (Bug#10850).
9649
0fd40f89
CY
96502012-02-19 Chong Yidong <cyd@gnu.org>
9651
9652 * comint.el: Require ansi-color.
9653 (comint-output-filter-functions): Add ansi-color-process-output.
9654
9655 * ansi-color.el: Don't set comint-output-filter-functions; it is
9656 now in the initial value defined in comint.el.
9657 (ansi-color-apply-face-function): New variable.
9658 (ansi-color-apply-on-region): Use it.
9659 (ansi-color-apply-overlay-face): New function.
9660
9661 * shell.el (shell): No need to require ansi-color.
9662 (shell-mode): Use ansi-color-apply-face-function to highlight
9663 color escapes using font-lock-face property (Bug#10835).
9664
20af2394
CY
96652012-02-19 Chong Yidong <cyd@gnu.org>
9666
9667 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9668 mode-line formats (Bug#10839).
9669
e23a3fbe
GM
96702012-02-18 Glenn Morris <rgm@gnu.org>
9671
b474519e
GM
9672 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9673
9674 * mail/undigest.el (unforward-rmail-message): Doc fix.
9675
e23a3fbe
GM
9676 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9677
57939ff4
EZ
96782012-02-18 Eli Zaretskii <eliz@gnu.org>
9679
9680 * international/characters.el (script-list): Sync with the latest
9681 Unicode Character Database.
9682
0c23686e
AS
96832012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9684
9685 * international/titdic-cnv.el: Remove duplicate coding tag.
9686 * language/cham.el: Likewise.
9687 * language/tai-viet.el: Likewise.
9688
6818b449
GM
96892012-02-18 Glenn Morris <rgm@gnu.org>
9690
9691 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9692 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9693 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9694 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9695 * calendar/holidays.el (holiday-bahai-holidays)
9696 (calendar-holidays, list-holidays):
9697 Use utf-8 Bahá'í in doc-strings, menus, etc.
9698
0311a3fc
TH
96992012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9700
9701 * saveplace.el (save-place-ignore-files-regexp): New variable
9702 allowing for excluding files from saving their location of point.
9703 The default value matches the temporary commit message editing
9704 files from Git, SVN, Bazaar, and Mercurial.
9705 (save-place-to-alist): Use it.
9706
d209e2fb 97072012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9708 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9709
9710 * newcomment.el (uncomment-region-default): Don't leave extra space
9711 when an arg is provided (bug#8150).
9712
ee0ce425
TZ
97132012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9714
eb864a71 9715 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9716
95ddf442
GM
97172012-02-17 Glenn Morris <rgm@gnu.org>
9718
9719 * net/socks.el: Require network-stream. (Bug#10599)
9720
48dd1e39 97212012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9722
9723 * international/charprop.el:
9724 * international/uni-name.el:
9725 * international/uni-old-name.el:
9726 * international/uni-comment.el: Regenerate.
9727
d68cd087
GM
97282012-02-16 Glenn Morris <rgm@gnu.org>
9729
9730 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9731 Interactively in calendar buffer, give an error if not on a date.
9732
13932042
GM
97332012-02-15 Glenn Morris <rgm@gnu.org>
9734
9735 * shell.el (shell-delimiter-argument-list):
9736 Revert 2011-02-17 change. (Bug#8027)
9737
c3a70e2b
CY
97382012-02-15 Chong Yidong <cyd@gnu.org>
9739
60236b0d
CY
9740 * minibuffer.el (completion-at-point-functions): Doc fix.
9741
c3a70e2b
CY
9742 * custom.el (defcustom): Doc fix; note use of defvar.
9743
9f26dc24
GM
97442012-02-15 Glenn Morris <rgm@gnu.org>
9745
9746 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9747 Doc fixes.
9748
6546b134
GM
97492012-02-14 Glenn Morris <rgm@gnu.org>
9750
9751 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9752
d29b2b4c
LI
97532012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9754
9755 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9756 way the ports list is computed.
835bdcba
LI
9757 (smtpmail-query-smtp-server): Prompt the user for a port number if
9758 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9759
08dcdbc9
TZ
97602012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9761
9762 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9763
2605051a
GM
97642012-02-13 Glenn Morris <rgm@gnu.org>
9765
9766 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9767
7ee99f32
TZ
97682012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9769
9770 * net/gnutls.el (gnutls-trustfiles): New variable.
9771 (gnutls-negotiate): Use it.
9772
5f0af64f
LI
97732012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9774
9775 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9776 does its stuff if Gnus is running.
9777
c14fcc95
AM
97782012-02-13 Alan Mackenzie <acm@muc.de>
9779
9780 Fix a loop in c-set-fl-decl-start.
9781
7a71b18d 9782 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9783 c-backward-syntactic-ws actually moves backwards.
9784
142b4d90
LL
97852012-02-13 Leo Liu <sdl.web@gmail.com>
9786
9787 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9788 beginning so that all \C-o chars are removed.
9789
fa9958a6
TZ
97902012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9791
dc9924b8 9792 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9793
0bc5886a
AM
97942012-02-12 Alan Mackenzie <acm@muc.de>
9795
9796 Fix infinite loop with long macros.
4d6769e1 9797 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9798
d4bd55e7
CY
97992012-02-12 Chong Yidong <cyd@gnu.org>
9800
9801 * window.el (display-buffer): Doc fix (Bug#10785).
9802
66f3fe22
GM
98032012-02-12 Glenn Morris <rgm@gnu.org>
9804
bd7da63e
GM
9805 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9806 (x-disown-selection-internal, x-get-selection-internal):
9807 Sync docs with the xselect.c versions.
9808
66f3fe22
GM
9809 * allout-widgets.el: Add missing license notice.
9810
3e0d2fa7
GM
98112012-02-11 Glenn Morris <rgm@gnu.org>
9812
cfecdf09
GM
9813 * select.el (x-get-selection-internal, x-own-selection-internal)
9814 (x-disown-selection-internal):
9815 * x-dnd.el (x-get-selection-internal): Update declarations.
9816
6d216d7f
GM
9817 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9818
2bed3f04
GM
9819 * window.el (window-sides-slots):
9820 * tool-bar.el (tool-bar-position):
9821 * term/xterm.el (xterm-extra-capabilities):
9822 * ses.el (ses-self-reference-early-detection):
9823 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9824 (verilog-auto-wire-type)
9825 (verilog-auto-delete-trailing-whitespace)
9826 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9827 (verilog-auto-tieoff-declaration):
9828 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9829 (sql-oracle-statement-starters, sql-oracle-scan-on):
9830 * progmodes/prolog.el (prolog-align-comments-flag)
9831 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9832 (prolog-left-indent-regexp, prolog-paren-indent-p)
9833 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9834 (prolog-types, prolog-mode-specificators)
9835 (prolog-determinism-specificators, prolog-directives)
9836 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9837 (prolog-electric-dot-flag)
9838 (prolog-electric-dot-full-predicate-template)
9839 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9840 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9841 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9842 (prolog-program-switches, prolog-prompt-regexp)
9843 (prolog-debug-on-string, prolog-debug-off-string)
9844 (prolog-trace-on-string, prolog-trace-off-string)
9845 (prolog-zip-on-string, prolog-zip-off-string)
9846 (prolog-use-standard-consult-compile-method-flag)
9847 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9848 (prolog-imenu-max-lines, prolog-info-predicate-index)
9849 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9850 (prolog-char-quote-workaround):
9851 * progmodes/cc-vars.el (c-defun-tactic):
9852 * net/tramp.el (tramp-encoding-command-interactive)
9853 (tramp-local-end-of-line):
9854 * net/soap-client.el (soap-client):
9855 * net/netrc.el (netrc-file):
9856 * net/gnutls.el (gnutls):
9857 * minibuffer.el (completion-category-overrides)
9858 (completion-cycle-threshold)
9859 (completion-pcm-complete-word-inserts-delimiters):
9860 * man.el (Man-name-local-regexp):
9861 * mail/feedmail.el (feedmail-display-full-frame):
9862 * international/characters.el (glyphless-char-display-control):
9863 * eshell/em-ls.el (eshell-ls-date-format):
9864 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9865 (lisp-lambda-list-keyword-parameter-indentation)
9866 (lisp-lambda-list-keyword-parameter-alignment):
9867 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9868 * dired-x.el (dired-omit-verbose):
9869 * cus-theme.el (custom-theme-allow-multiple-selections):
9870 * calc/calc.el (calc-highlight-selections-with-faces)
9871 (calc-lu-field-reference, calc-lu-power-reference)
9872 (calc-note-threshold):
9873 * battery.el (battery-mode-line-limit):
9874 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9875 (archive-7z-update):
9876 * allout.el (allout-prefixed-keybindings)
9877 (allout-unprefixed-keybindings)
9878 (allout-inhibit-auto-fill-on-headline)
9879 (allout-flattened-numbering-abbreviation):
9880 * allout-widgets.el (allout-widgets-auto-activation)
9881 (allout-widgets-icons-dark-subdir)
9882 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9883 (allout-widgets-theme-dark-background)
9884 (allout-widgets-theme-light-background)
9885 (allout-widgets-item-image-properties-emacs)
9886 (allout-widgets-item-image-properties-xemacs)
9887 (allout-widgets-run-unit-tests-on-load)
9888 (allout-widgets-time-decoration-activity)
9889 (allout-widgets-hook-error-post-time)
9890 (allout-widgets-track-decoration):
9891 Add missing :version tags to new defcustoms and defgroups.
9892
5fec1b8e
GM
9893 * progmodes/sql.el (sql-ansi-statement-starters)
9894 (sql-oracle-statement-starters): Add custom type.
9895
3e0d2fa7
GM
9896 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9897 (prolog-system-version): Give it a type.
9898
90b671e2
EZ
98992012-02-11 Eli Zaretskii <eliz@gnu.org>
9900
9901 * term/pc-win.el (x-select-text, x-selection-owner-p)
9902 (x-own-selection-internal, x-disown-selection-internal)
9903 (x-get-selection-internal): Sync doc strings and argument lists
9904 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9905
5eac0c02
LL
99062012-02-11 Leo Liu <sdl.web@gmail.com>
9907
9908 * progmodes/python.el (python-end-of-statement): Fix infinite
9909 loop. (Bug#10788)
9910
f82cb659
GM
99112012-02-10 Glenn Morris <rgm@gnu.org>
9912
9913 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9914 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9915
cc26d239
LI
99162012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9917
9918 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9919 about SMTP before checking the From header.
9920
91027d08 9921 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9922 into own function for reuse by emacsbug.el.
9923
1be3ca5a
LL
99242012-02-10 Leo Liu <sdl.web@gmail.com>
9925
9926 * subr.el (condition-case-unless-debug): Rename from
9927 condition-case-no-debug. All callers changed.
9928 (with-demoted-errors): Fix caller.
9929
9930 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9931 * nxml/rng-valid.el (rng-do-some-validation):
9932 * emacs-lisp/package.el (package-refresh-contents)
9933 (package-menu-execute):
9934 * desktop.el (desktop-create-buffer):
91027d08 9935 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9936
b011fbfe
GM
99372012-02-10 Glenn Morris <rgm@gnu.org>
9938
b2096d72
GM
9939 * textmodes/bibtex.el:
9940 Add missing :version tags for new/changed defcustoms.
9941
b011fbfe
GM
9942 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9943
4c7e65bf
LI
99442012-02-09 Lars Ingebrigtsen <larsi@rusty>
9945
9946 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9947 (smtpmail-via-smtp): Use it, or fall back on the From address.
9948 (smtpmail-send-it): Ditto.
9949
f3934f6f
SM
99502012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9951
9952 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9953 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9954 (byte-compile-tmp-var): New const.
9955 (byte-compile-defvar): Use it to minimize .elc size.
9956 Just use `defvar' rather than simulate it (bug#10761).
9957
a075a2c5
GM
99582012-02-09 Glenn Morris <rgm@gnu.org>
9959
cf3aa21b
GM
9960 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9961
354998cd
GM
9962 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9963 Add :version tags.
9964
dc9924b8
SM
9965 * progmodes/compile.el (compilation-error-screen-columns)
9966 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 9967
dab3703d
GM
9968 * vc/log-view.el (log-view-toggle-entry-display):
9969 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9970
3f88cd72
GM
9971 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9972 (report-emacs-bug-can-use-xdg-email):
9973 (report-emacs-bug-insert-to-mailer): Doc fixes.
9974 (report-emacs-bug): Message fix.
9975
d95b247d
GM
9976 * net/browse-url.el (browse-url-can-use-xdg-open)
9977 (browse-url-xdg-open): Doc fixes.
9978
a075a2c5
GM
9979 * electric.el (electric-indent-mode, electric-pair-mode)
9980 (electric-layout-rules, electric-layout-mode): Doc fixes.
9981 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9982
ffb6157e
MR
99832012-02-08 Martin Rudalics <rudalics@gmx.at>
9984
9985 * server.el (server-unselect-display): Don't inadvertently kill
9986 the current buffer. (Bug#10729)
9987
e1ac4066
GM
99882012-02-08 Glenn Morris <rgm@gnu.org>
9989
34e8a2da
GM
9990 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9991 (sql-list-table): Doc fixes.
9992
b4ac6e8c
GM
9993 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9994 Comment out (does nothing).
9995
e1ac4066
GM
9996 * completion.el (dynamic-completion-mode):
9997 * dirtrack.el (dirtrack-debug-mode):
9998 * electric.el (electric-layout-mode):
9999 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10000 * face-remap.el (text-scale-mode, buffer-face-mode):
10001 * iimage.el (iimage-mode):
10002 * image-mode.el (image-transform-mode):
10003 * minibuffer.el (completion-in-region-mode):
10004 * scroll-lock.el (scroll-lock-mode):
10005 * simple.el (next-error-follow-minor-mode):
10006 * tar-mode.el (tar-subfile-mode):
10007 * tooltip.el (tooltip-mode):
10008 * vcursor.el (vcursor-use-vcursor-map):
10009 * wid-browse.el (widget-minor-mode):
10010 * emulation/tpu-edt.el (tpu-edt-mode):
10011 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10012 * international/iso-ascii.el (iso-ascii-mode):
10013 * language/thai-util.el (thai-word-mode):
10014 * mail/supercite.el (sc-minor-mode):
10015 * net/goto-addr.el (goto-address-mode):
10016 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10017 * progmodes/cwarn.el (cwarn-mode):
10018 * progmodes/flymake.el (flymake-mode):
10019 * progmodes/glasses.el (glasses-mode):
10020 * progmodes/hideshow.el (hs-minor-mode):
10021 * progmodes/pascal.el (pascal-outline-mode):
10022 * textmodes/enriched.el (enriched-mode):
10023 * vc/smerge-mode.el (smerge-mode):
10024 Doc fixes (minor mode argument).
10025
5e0d957f
EZ
100262012-02-07 Eli Zaretskii <eliz@gnu.org>
10027
10028 * ls-lisp.el (ls-lisp-sanitize): New function.
10029 (ls-lisp-insert-directory): Use it to fix or remove any elements
10030 in file-alist with missing attributes. (Bug#4673)
10031
98d7371e
AM
100322012-02-07 Alan Mackenzie <acm@muc.de>
10033
10034 Fix spurious recognition of c-in-knr-argdecl.
10035
10036 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10037 putative K&R region.
10038
667ced3a
AM
100392012-02-07 Alan Mackenzie <acm@muc.de>
10040
eb864a71
LM
10041 * progmodes/cc-engine.el (c-forward-objc-directive):
10042 Prevent looping in "#pragma mark @implementation".
667ced3a 10043
5b77774d
MA
100442012-02-07 Michael Albinus <michael.albinus@gmx.de>
10045
10046 * notifications.el (notifications-on-closed-signal): Make `reason'
10047 optional. (Bug#10744)
10048
af008560
GM
100492012-02-07 Glenn Morris <rgm@gnu.org>
10050
60d47423
GM
10051 * emacs-lisp/easy-mmode.el (define-minor-mode):
10052 Doc fixes for the macro and the mode it defines.
10053
dd605cc4
GM
10054 * image.el (imagemagick-types-inhibit): Doc fix.
10055
af008560
GM
10056 * cus-start.el (imagemagick-render-type): Add it.
10057
5cc59a37
LI
100582012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10059
4d6769e1
JB
10060 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10061 Set the default at load time, too, so that `font-lock-fontify-buffer'
10062 can be called without setting up the entire mode first. This fixes
10063 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10064
9a6dd747
CY
100652012-02-06 Chong Yidong <cyd@gnu.org>
10066
2d16b285
CY
10067 * simple.el (list-processes--refresh): Delete exited processes
10068 (Bug#8094).
10069
171e9b6e
CY
10070 * comint.el (comint-next-prompt): next-single-char-property-change
10071 and prev-single-char-property-change never return nil (Bug#8657).
10072
9a6dd747
CY
10073 * custom.el (defcustom): Doc fix (Bug#9711).
10074
aa4589a7
CY
100752012-02-05 Chong Yidong <cyd@gnu.org>
10076
5c2a252f
CY
10077 * cus-edit.el (custom-variable-reset-backup): Quote the value
10078 before storing it in the customized-value property (Bug#6712).
4aab9006 10079 (custom-display): Add a customization type tag.
983b9602 10080 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10081
aa4589a7
CY
10082 * wid-edit.el (widget-field-value-get): New optional arg to
10083 suppress trailing whitespace truncation.
10084 (character): Use it (Bug#2689).
10085
1ff980ae
AS
100862012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10087
10088 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10089 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10090
03988c98
CY
100912012-02-05 Chong Yidong <cyd@gnu.org>
10092
eeb6cc88
CY
10093 * cus-edit.el (custom-variable-value-create): For mismatched
10094 types, show the current value (Bug#7600).
10095
03988c98
CY
10096 * custom.el (defcustom): Doc fix.
10097
f8cdeef0
GM
100982012-02-05 Glenn Morris <rgm@gnu.org>
10099
10100 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10101
0696d255
JB
101022012-02-05 Juanma Barranquero <lekktu@gmail.com>
10103
10104 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10105 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10106 (pp-last-sexp): Use `looking-at-p'.
10107
34c99998
GM
101082012-02-04 Glenn Morris <rgm@gnu.org>
10109
8f05da42
GM
10110 * files.el (revert-buffer):
10111 Doc fix (mention revert-buffer-in-progress-p).
10112
f160676e
GM
10113 * emacs-lisp/ert-x.el (ert-simulate-command):
10114 Check deferred-action-list (which is obsolete) is bound.
10115
c7291ad9
GM
10116 * subr.el (with-wrapper-hook): Doc fixes.
10117
34c99998
GM
10118 * simple.el (filter-buffer-substring-functions)
10119 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10120
6283a7d3
LL
101212012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10122
10123 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10124 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10125
e96e3013
LL
101262012-02-04 Leo Liu <sdl.web@gmail.com>
10127
10128 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10129
8ded50f2
GM
101302012-02-04 Glenn Morris <rgm@gnu.org>
10131
82ff1d13
GM
10132 * image.el (image-extension-data): Add obsolete alias.
10133
987a0a16
GM
10134 * isearch.el (isearch-update): Doc fix.
10135
ea32ef46
GM
10136 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10137
8ded50f2
GM
10138 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10139
eea14f31
GM
101402012-02-03 Glenn Morris <rgm@gnu.org>
10141
10142 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10143 (image-animate-timeout): Doc fix.
10144
10145 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10146
12f381b7
GM
101472012-02-02 Glenn Morris <rgm@gnu.org>
10148
953cebf5
GM
10149 * server.el (server-auth-dir): Doc fix.
10150 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10151
12f381b7
GM
10152 * subr.el (run-mode-hooks): Doc fix.
10153
953a8c3b
JL
101542012-02-02 Juri Linkov <juri@jurta.org>
10155
10156 * image-mode.el (image-toggle-display-image): Remove tautological
10157 `major-mode' from the `derived-mode-p' test.
10158
c5d3843c
KH
101592012-02-02 Kenichi Handa <handa@m17n.org>
10160
9f6e692e 10161 * composite.el (compose-region): Cancel previous change.
c5d3843c 10162
159462d4 101632012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10164
10165 * composite.el (compose-region, compose-string): Signal error for
10166 a null string component (Bug#6988).
10167
9f562668
CY
101682012-02-01 Chong Yidong <cyd@gnu.org>
10169
e2cef717
CY
10170 * view.el (view-buffer-other-window, view-buffer-other-frame):
10171 Handle special modes like view-buffer (Bug#10650).
10172 (view-buffer): Simplify.
10173
9f562668
CY
10174 * frame.el (set-frame-font): Tweak meaning of third argument.
10175
9f6e692e
JB
10176 * dynamic-setting.el (font-setting-change-default-font):
10177 Use set-frame-font (Bug#9982).
9f562668 10178
781acb9f
GM
101792012-02-01 Glenn Morris <rgm@gnu.org>
10180
6035be52
GM
10181 * progmodes/compile.el (compilation-internal-error-properties):
10182 Respect compilation-first-column in the "*compilation*" buffer.
10183
781acb9f
GM
10184 * emacs-lisp/easy-mmode.el (define-minor-mode):
10185 Relax :variable's test for a named function.
10186
abbceb00
AM
101872012-01-31 Alan Mackenzie <acm@muc.de>
10188
10189 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10190 off by one error.
10191
fce3fdeb
CY
101922012-01-31 Chong Yidong <cyd@gnu.org>
10193
10194 * frame.el (set-frame-font): New arg ALL-FRAMES.
10195
10196 * menu-bar.el (menu-set-font): Use set-frame-font.
10197
10198 * faces.el (face-spec-reset-face): Don't apply unspecified
10199 attribute values to the default face.
10200
47893581
JB
102012012-01-31 Juanma Barranquero <lekktu@gmail.com>
10202
10203 * progmodes/cwarn.el (cwarn): Remove dead link.
10204 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10205 Remove * from defcustom docstrings.
10206 (turn-on-cwarn-mode): Make obsolete.
10207 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10208 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10209
e58e988a
GM
102102012-01-31 Glenn Morris <rgm@gnu.org>
10211
60dc2671 10212 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10213 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10214 Allow named functions to be used as the cdr of :variable.
e58e988a 10215
7a3f511d
GM
102162012-01-30 Glenn Morris <rgm@gnu.org>
10217
10218 * emacs-lisp/authors.el (authors-fixed-entries):
10219 Remove reference to deleted file rnewspost.el.
10220
cb882333
JB
102212012-01-29 Juanma Barranquero <lekktu@gmail.com>
10222
10223 * window.el (window-with-parameter): Remove unused variable `windows'.
10224 (window--side-check): Remove unused variable `code'.
10225 (window--resize-siblings): Remove unused variable `first'.
10226 (adjust-window-trailing-edge): Remove unused variable `failed'.
10227 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10228 Use `let', not `let*'.
10229 (balance-windows-2): Remove unused variable `found'.
10230 (window--state-put-2): Remove unused variable `splits'.
10231 (window-state-put): Remove unused variable `selected'.
10232 (same-window-p): Use `string-match-p'.
10233 (display-buffer-assq-regexp): Remove unused variable `value'.
10234 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10235 Mark argument ALIST as ignored.
10236 (pop-to-buffer): Remove unused variable `old-window'.
10237
907201af
EZ
102382012-01-29 Eli Zaretskii <eliz@gnu.org>
10239
10240 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10241 and .lzma compressed files.
10242
ea162670
CY
102432012-01-29 Chong Yidong <cyd@gnu.org>
10244
5b95ee8a
CY
10245 * frame.el (window-system-default-frame-alist): Doc fix.
10246
ea162670
CY
10247 * dynamic-setting.el (font-setting-change-default-font): Don't
10248 change the default face if SET-FONT argument is non-nil (Bug#9982).
10249
d6e6f4b1
SB
102502012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10251
10252 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10253
0f29fa41 102542012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10255
10256 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10257 breakpoints in files outside current directory (Bug#6098).
10258
db174434
CY
102592012-01-29 Chong Yidong <cyd@gnu.org>
10260
6b25e4e2
SE
10261 * progmodes/python.el: Require ansi-color at top-level.
10262
6df6ae42
JB
10263 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10264 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10265 (lisp-mode-abbrev-table): Add doc.
10266 (lisp-mode-variables): Don't set local-abbrev-table.
10267 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10268
e70ee681
RW
102692012-01-28 Roland Winkler <winkler@gnu.org>
10270
10271 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10272
ace88aa2
RW
102732012-01-28 Roland Winkler <winkler@gnu.org>
10274
10275 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10276 (bibtex-set-dialect): Use it. Either set global values of
10277 dialect-dependent variables or bind these variables buffer-locally
10278 (Bug#10254).
10279 (bibtex-mode): Call bibtex-set-dialect via
10280 hack-local-variables-hook.
eb864a71
LM
10281 (bibtex-dialect): Update docstring.
10282 Add safe-local-variable predicate.
ace88aa2
RW
10283 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10284 bibtex-set-dialect.
10285 (bibtex-mode-map): Define menu for each dialect.
10286 (bibtex-entry): Fix docstring.
10287
93376c5b
CY
102882012-01-28 Chong Yidong <cyd@gnu.org>
10289
10290 * eshell/esh-arg.el (eshell-quote-argument): New function.
10291
10292 * eshell/esh-ext.el (eshell-invoke-batch-file):
10293 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10294 first arg to eshell-parse-command (Bug#10523).
10295
4372494f
DA
102962012-01-28 Drew Adams <drew.adams@oracle.com>
10297
10298 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10299 `default-directory' is non-nil.
10300
4d4ec1f8
EZ
103012012-01-28 Eli Zaretskii <eliz@gnu.org>
10302
10303 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10304 line that displays system-configuration-options. (Bug#9924)
10305
7c188927
DA
103062012-01-28 Drew Adams <drew.adams@oracle.com>
10307
10308 * descr-text.el (describe-char): Show information about POS, in
10309 addition to information about the character at POS. Improve and
10310 update the doc string. Change "code point" to "code point in
10311 charset", to avoid confusion with the character's Unicode code
10312 point shown above that. (Bug#10129)
10313
e0da685a
EZ
103142012-01-28 Eli Zaretskii <eliz@gnu.org>
10315
10316 * descr-text.el (describe-char): Show the raw character, not only
10317 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10318 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10319 for the reasons.
10320
70550acf
PH
103212012-01-28 Phil Hagelberg <phil@hagelb.org>
10322
eb864a71
LM
10323 * emacs-lisp/package.el (package-install):
10324 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10325
0ce8e868
CY
103262012-01-28 Chong Yidong <cyd@gnu.org>
10327
cb882333
JB
10328 * emacs-lisp/package.el (package-maybe-load-descriptor):
10329 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10330 (package-maybe-load-descriptor): Use it.
10331 (package-download-transaction): Fully load required packages
10332 inside the loop, so that `require' calls work (Bug#10593).
10333 (package-install): No need to call package-initialize now.
10334
2e7f3bea
CY
103352012-01-28 Chong Yidong <cyd@gnu.org>
10336
6e9bad14
CY
10337 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10338
f823b8ca
CY
10339 * tooltip.el (tooltip-mode): Doc fix.
10340 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10341
2680c309
CY
10342 * frame.el (set-cursor-color): Doc fix (Bug#352).
10343
d7a9e63b
CY
10344 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10345 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10346
2e7f3bea
CY
10347 * cus-edit.el (custom-buffer-create-internal): Fix search button
10348 action (Bug#10542).
2ae01800 10349 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10350
fc4f7a23
EW
103512012-01-27 Eduard Wiebe <usenet@pusto.de>
10352
10353 * dired.el (dired-mark-files-regexp):
10354 Include any subdirectory components. (Bug#10445)
10355
7dd37071
ML
103562012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10357
10358 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10359 Handle [host]:port syntax. (Bug#10533)
10360
a268160b
AH
103612012-01-27 Alex Harsanyi <harsanyi@mac.com>
10362
10363 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10364
e43273ef
GM
103652012-01-26 Glenn Morris <rgm@gnu.org>
10366
10367 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10368 * term.el (term-raw-escape-map): Use Control-X-prefix.
10369 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10370
1edf595d
MR
103712012-01-25 Martin Rudalics <rudalics@gmx.at>
10372
10373 * window.el (window-state-get, window--state-get-1): Don't deal
10374 with fixed-sizeness of windows. Simplify code.
10375
fa8eafef
JC
103762012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10377
6df6ae42
JB
10378 * window.el (window--state-get-1, window--state-put-2):
10379 Don't save and restore the mark.
fa8eafef 10380
0b21c100
CY
103812012-01-25 Chong Yidong <cyd@gnu.org>
10382
10383 * custom.el (custom-variable-p): Doc fix.
10384
5ae1a6c8
GM
103852012-01-25 Glenn Morris <rgm@gnu.org>
10386
40047858
GM
10387 * dired.el (dired-goto-file): Handle some of the more common
10388 characters that `ls -b' escapes. (Bug#10596)
10389
5ddce96c
GM
10390 * progmodes/compile.el (compilation-next-error-function):
10391 Respect compilation-first-column in the "*compilation*" buffer.
10392 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10393
5ae1a6c8
GM
10394 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10395
b559f1a9
GM
103962012-01-24 Glenn Morris <rgm@gnu.org>
10397
10398 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10399
6725d21a
JD
104002012-01-24 Julien Danjou <julien@danjou.info>
10401
10402 * color.el (color-rgb-to-hsl): Fix value computing.
10403 (color-hue-to-rgb): New function.
10404 (color-hsl-to-rgb): New function.
10405 (color-clamp, color-saturate-hsl, color-saturate-name)
10406 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10407 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10408
70df4bbe
GM
104092012-01-24 Glenn Morris <rgm@gnu.org>
10410
10411 * vc/vc-rcs.el (vc-rcs-create-tag):
10412 * vc/vc-sccs.el (vc-sccs-create-tag):
10413 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10414
802a2ae2
ML
104152012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10416
10417 * eshell/esh-util.el (eshell-read-hosts-file):
10418 Skip comment lines. (Bug#10549)
10419
d7128bb1
ML
10420 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10421
d1a5c3b4
JB
104222012-01-23 Juanma Barranquero <lekktu@gmail.com>
10423
2724d9c7
JB
10424 * subr.el (display-delayed-warnings): Doc fix.
10425 (collapse-delayed-warnings): New function to collapse identical
10426 adjacent warnings.
10427 (delayed-warnings-hook): Add it.
d1a5c3b4 10428
a5509865
MA
104292012-01-22 Michael Albinus <michael.albinus@gmx.de>
10430
10431 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10432
a5509865
MA
10433 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10434 (tramp-default-user-alist): Don't add "pscp".
10435 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10436 property "login-as", if set. (Bug#10530)
10437
cc6d5805
MA
104382012-01-21 Michael Albinus <michael.albinus@gmx.de>
10439
10440 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10441 "plink1" and "psftp". (Bug#10530)
10442
104432012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10444
10445 * international/mule-cmds.el (prefer-coding-system): Show a
10446 warning message if the default value of file-name-coding-system
10447 was not changed.
10448
f0960428
JC
104492012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10450
cb882333
JB
10451 * windmove.el (windmove-reference-loc):
10452 Fix windmove-reference-loc miscalculation.
f0960428 10453
dd6f2a63
JB
104542012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10455
10456 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10457 default unit.
10458
7b447e9b
GM
104592012-01-21 Glenn Morris <rgm@gnu.org>
10460
117a9ea1
GM
10461 * international/mule.el (auto-coding-alist): Add .tbz.
10462
7b447e9b
GM
10463 * files.el (local-enable-local-variables): Doc fix.
10464 (inhibit-local-variables-regexps): Rename from
10465 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10466 Doc fix. Add some extensions from auto-coding-alist.
10467 (inhibit-local-variables-suffixes):
10468 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10469 (inhibit-local-variables-p):
10470 New function, extracted from set-auto-mode-1.
10471 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10472 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10473 (hack-local-variables): Doc fix. Make the mode-only case
10474 respect enable-local-variables and friends.
10475 Respect inhibit-local-variables-regexps for file-locals, but
10476 not for directory-locals.
10477 (set-visited-file-name):
10478 Take account of inhibit-local-variables-regexps.
10479 Whether it applies may change as the file name is changed.
10480 * jka-cmpr-hook.el (jka-compr-install):
10481 * jka-compr.el (jka-compr-uninstall):
10482 Update for inhibit-first-line-modes-suffixes name change.
10483
dd6e3cdd
MR
104842012-01-20 Martin Rudalics <rudalics@gmx.at>
10485
10486 * help-macro.el (make-help-screen): Temporarily restore original
10487 binding for minor-mode-map-alist (Bug#10454).
10488
0d0deb38
JD
104892012-01-19 Julien Danjou <julien@danjou.info>
10490
10491 * color.el (color-name-to-rgb): Use the white color to find the max
10492 color component value and return correctly computed values.
10493 (color-name-to-rgb): Add missing float conversion for max value.
10494
34a02f46
MR
104952012-01-19 Martin Rudalics <rudalics@gmx.at>
10496
10497 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10498 special state value for window-persistent-parameters.
10499 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10500 (window--state-put-2): Reset all window parameters to nil before
10501 assigning values of persistent parameters.
10502
606c44c4
AM
105032012-01-18 Alan Mackenzie <acm@muc.de>
10504
10505 Eliminate sluggishness and hangs in fontification of "semicolon
10506 deserts".
10507
cb882333
JB
10508 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10509 Change value 10000 -> 3000.
606c44c4
AM
10510 (c-state-safe-place): Reformulate so it doesn't stack up an
10511 infinite number of wrong entries in c-state-nonlit-pos-cache.
10512 (c-determine-limit-get-base, c-determine-limit): New functions to
10513 determine backward search limits disregarding literals.
10514 (c-find-decl-spots): Amend commenting.
10515 (c-cheap-inside-bracelist-p): New function which detects "={".
10516
10517 * progmodes/cc-fonts.el
10518 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10519 backward search.
10520 (c-font-lock-declarations): Fix an occurrence of point being
10521 undefined. Check additionally for point being in a bracelist or
10522 near a macro invocation without a semicolon so as to avoid a
10523 fruitless time consuming search for a declarator. Give a more
10524 precise search limit for declarators using the new
10525 c-determine-limit.
10526
f3860cea
GM
105272012-01-18 Glenn Morris <rgm@gnu.org>
10528
10529 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10530 (set-auto-mode): Doc fixes.
10531
1db03b16
GM
105322012-01-17 Glenn Morris <rgm@gnu.org>
10533
0e6038be
GM
10534 * isearch.el (search-nonincremental-instead): Fix doc typo.
10535
1db03b16
GM
10536 * dired.el (dired-insert-directory): Handle newlines in directory name.
10537 (dired-build-subdir-alist): Unescape newlines in directory name.
10538
4cb0aa75
MA
105392012-01-17 Michael Albinus <michael.albinus@gmx.de>
10540
10541 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10542 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10543 (tramp-action-terminal): Use it. (Bug#10530)
10544
1d00653d
SM
105452012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10546
10547 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10548
6a6ee00d
MR
105492012-01-16 Martin Rudalics <rudalics@gmx.at>
10550
10551 * window.el (window-state-ignored-parameters): Remove variable.
10552 (window--state-get-1): Rename argument MARKERS to IGNORE.
10553 Handle persistent window parameters. Make copy of clone-of
10554 parameter only if requested. (Bug#10348)
10555 (window--state-put-2): Install a window parameter only if it has
10556 a non-nil value or an existing parameter shall be overwritten.
10557
97912def
MA
105582012-01-15 Michael Albinus <michael.albinus@gmx.de>
10559
10560 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10561
688070a5
EZ
105622012-01-14 Eli Zaretskii <eliz@gnu.org>
10563
10564 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10565 don't pass the (nil) value of `upnode' to string-match.
10566
301afadc
CY
105672012-01-14 Chong Yidong <cyd@gnu.org>
10568
10569 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10570 Fix values recognized by the cursorBlink resource.
301afadc 10571
9e5788aa
PE
105722012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10573
10574 * epg.el (epg--make-temp-file): Avoid permission race condition
10575 when running on old Emacs versions (bug#10403).
10576
3cdb7f5a
GM
105772012-01-14 Glenn Morris <rgm@gnu.org>
10578
10579 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10580
8c82b1b4
AM
105812012-01-13 Alan Mackenzie <acm@muc.de>
10582
10583 Fix filling for when filladapt mode is enabled.
10584
10585 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10586 c-mask-paragraph, pass in `fill-paragraph' rather than
10587 `fill-region-as-paragraph'. (This is a reversion of a previous
10588 change.)
eb864a71
LM
10589 * progmodes/cc-mode.el (c-basic-common-init):
10590 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10591
e517eda4
GM
105922012-01-13 Glenn Morris <rgm@gnu.org>
10593
1498536e
GM
10594 * dired.el (dired-switches-escape-p): New function.
10595 (dired-insert-directory): Use dired-switches-escape-p.
10596 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10597
e517eda4
GM
10598 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10599
328f984d
GM
106002012-01-12 Glenn Morris <rgm@gnu.org>
10601
10602 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10603 changes in adaptive-fill-regexp. (Bug#10276)
10604
2cc769a8
AM
106052012-01-11 Alan Mackenzie <acm@muc.de>
10606
10607 Fix Emacs bug #10463 - put `widen's around the critical spots.
10608
1d00653d 10609 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10610 widen around each invocation of c-state-pp-to-literal. Remove an
10611 unused let variable.
10612
e52c37fa
GM
106132012-01-11 Glenn Morris <rgm@gnu.org>
10614
10615 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10616 Doc fix.
e52c37fa 10617
96f8741e
CY
106182012-01-10 Chong Yidong <cyd@gnu.org>
10619
1d00653d
SM
10620 * net/network-stream.el (network-stream-open-starttls):
10621 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10622 response to the capability command.
10623
b09a806e
GM
106242012-01-10 Glenn Morris <rgm@gnu.org>
10625
10626 * mail/unrmail.el (unrmail): Tweak previous change.
10627
7655cb66
CY
106282012-01-09 Chong Yidong <cyd@gnu.org>
10629
10630 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10631
9d5a8f0b
AM
106322012-01-08 Alan Mackenzie <acm@muc.de>
10633
10634 Optimise font locking in long enum definitions.
10635
10636 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10637 arm to a cond form to handle enums.
10638 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10639 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10640
9a0115ab 106412012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10642
10643 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10644 (Bug#10401)
6bb72cbd 10645
f186bb95
LMI
106462012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10647
29232a68
LMI
10648 * faces.el (set-face-attribute): Clarify the meaning of the nil
10649 frame (bug#10294).
10650
4e5d086d
LMI
10651 * subr.el (with-selected-frame): Mention that the selected frame
10652 is restored (bug#9980).
10653
8e66aebe
LMI
10654 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10655 (bug#9759).
10656
cd394be1 10657 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10658 (password-read): Don't autoload unused function.
10659
adf4e762
JB
106602012-01-07 Juanma Barranquero <lekktu@gmail.com>
10661
10662 * progmodes/which-func.el (which-func-mode): Turn into a
10663 non-interactive function and mark as obsolete (bug#10428).
10664
89bd9ccd
CY
106652012-01-06 Chong Yidong <cyd@gnu.org>
10666
10667 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10668 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10669 functions, along with 1 and -1.
10670
4afee9d5
EZ
106712012-01-06 Eli Zaretskii <eliz@gnu.org>
10672
10673 * time.el (display-time-load-average)
10674 (display-time-default-load-average): Doc fixes. See the thread
10675 starting at
10676 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10677 for the details.
10678
536aea70
GM
106792012-01-06 Glenn Morris <rgm@gnu.org>
10680
665ae865
GM
10681 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10682 has no messages. (Bug#10377)
10683
c869783d
GM
10684 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10685 than Info-edit. (Bug#10385)
10686
2bb4227e
GM
10687 * time.el (display-time-load-average, display-time-next-load-average):
10688 Doc fixes.
10689
7d5944b9
GM
10690 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10691 local setting of buffer-read-only to the input buffer. (Bug#10419)
10692
536aea70
GM
10693 * calendar/calendar.el (calendar-mode):
10694 Locally set scroll-margin to 0. (Bug#10379)
10695
7dccca16
UM
106962012-01-06 Ulrich Mueller <ulm@gentoo.org>
10697
10698 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10699
afbb7930
GM
107002012-01-05 Glenn Morris <rgm@gnu.org>
10701
10702 * eshell/em-unix.el (diff-no-select): Autoload it.
10703 (eshell/diff): Use diff-no-select. (Bug#10420)
10704
04482335
CY
107052012-01-05 Chong Yidong <cyd@gnu.org>
10706
7baca3bc
CY
10707 * shell.el (shell-dynamic-complete-functions): Revert last change.
10708 (shell-command-completion-function): New function.
10709 (shell-completion-vars): Use it to implement
10710 shell-completion-execonly (Bug#10417).
10711
04482335
CY
10712 * custom.el (enable-theme): Don't set custom-safe-themes.
10713
1d00653d
SM
10714 * cus-theme.el (custom-theme-merge-theme):
10715 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10716
bb5aa5d6
MM
107172012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10718
10719 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10720 first prompt in `sql-interacive-mode'.
10721 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10722 keywords.
6df6ae42 10723 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10724 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10725 context of original buffer. Invoke `sql-login-hook'.
10726
a7183d7c
EZ
107272012-01-04 Eli Zaretskii <eliz@gnu.org>
10728
10729 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10730 letters in cite-prefix.
10731
a1eacd1e
LMI
107322012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10733
10734 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10735
787cdb34
CY
107362012-01-03 Chong Yidong <cyd@gnu.org>
10737
1d00653d
SM
10738 * shell.el (shell-dynamic-complete-functions):
10739 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10740 comint-filename-completion first (Bug#10417).
10741
30710442
RS
107422012-01-02 Richard Stallman <rms@gnu.org>
10743
10744 * battery.el (battery-status-function):
10745 Detect when to use battery-yeeloong-sysfs.
10746 (battery-echo-area-format): Add string for Yeeloong.
10747 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10748 (battery-yeeloong-sysfs): New function.
10749
f75bfc33
CY
107502012-01-02 Chong Yidong <cyd@gnu.org>
10751
10752 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10753 (dirtrack): Merge code for handling relative filenames in prompt
10754 from shell-dir-cookie-watcher.
10755 (dirtrack-debug-message): New arg to avoid excess format calls.
10756
10757 * shell.el (shell-dir-cookie-re): Variable deleted.
10758 (shell-dir-cookie-watcher): Function deleted.
10759 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10760 with dirtrack-mode.
10761
651e947e
EZ
107622012-01-01 Eli Zaretskii <eliz@gnu.org>
10763
1d00653d
SM
10764 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10765 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10766 libgnutls-26.dll.
10767
94d4c7dc
AS
107682011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10769
10770 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10771
8d43f3cd
EZ
107722011-12-31 Eli Zaretskii <eliz@gnu.org>
10773
10774 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10775 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10776
98c8795a
MA
107772011-12-29 Michael Albinus <michael.albinus@gmx.de>
10778
10779 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10780 also for alternative shells.
10781 (tramp-open-connection-setup-interactive-shell): Check, whether
10782 the shell is a busybox.
10783 (tramp-send-command): Don't suppress multiple prompts for
10784 busyboxes, it hurts.
10785
51281b32
CY
107862011-12-28 Chong Yidong <cyd@gnu.org>
10787
10788 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10789 (gdb-get-source-file): Move mode line update to
10790 gdb-get-source-file (Bug#10087).
10791
2170cb53
CY
107922011-12-25 Chong Yidong <cyd@gnu.org>
10793
10794 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10795 gud-gdb-marker-filter without taking it as an argument.
10796 (gud-gdb-run-command-fetch-lines): Caller changed.
10797 (gud-gdb-completion-function): New variable.
10798 (gud-gdb-completion-at-point): Use it.
10799 (gud-gdb-completions-1): Split from gud-gdb-completions.
10800
10801 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10802 function as separate arguments.
10803 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10804 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10805 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10806 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10807 (gdb-stopped, def-gdb-auto-update-trigger)
10808 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10809 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10810 Callers changed.
2170cb53
CY
10811 (gud-gdbmi-completions): New function.
10812 (gdb): Use it for generating the completion table.
10813
be8b11bb
AM
108142011-12-24 Alan Mackenzie <acm@muc.de>
10815
10816 Introduce a mechanism to widen the region used in context font
1d00653d 10817 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10818
1d00653d
SM
10819 * progmodes/cc-langs.el (c-before-font-lock-functions):
10820 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10821 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10822 functions to be run just before context (etc.) font locking.
10823
10824 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10825 New, functionality extracted from
be8b11bb 10826 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10827 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10828 (c-after-change): Set c-in-after-change-fontification.
10829 (c-set-fl-decl-start): Rejig its interface, so it can be called
10830 from both after-change and context fontifying.
b81d40f0
JB
10831 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10832 New functions.
10833 (c-standard-font-lock-fontify-region-function): New variable.
10834 (c-font-lock-fontify-region): New function.
be8b11bb 10835
341cf6ac
JL
108362011-12-24 Juri Linkov <juri@jurta.org>
10837
10838 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10839 (Bug#10348)
10840
bffcee0a
MA
108412011-12-23 Michael Albinus <michael.albinus@gmx.de>
10842
10843 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10844 existence of source file. (Bug#10325)
10845
cb5e207c
AM
108462011-12-23 Alan Mackenzie <acm@muc.de>
10847
10848 Fix unstable fontification inside templates.
10849
b81d40f0
JB
10850 * progmodes/cc-langs.el (c-before-font-lock-functions):
10851 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10852 additionally has c-set-fl-decl-start. The other languages (apart
10853 from AWK) have that as a single entry.
10854
b81d40f0
JB
10855 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10856 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10857 c-set-fl-decl-start.
10858
b81d40f0
JB
10859 * progmodes/cc-mode.el (c-common-init, c-after-change):
10860 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10861 (c-set-fl-decl-start): New function, extracted from
10862 c-font-lock-enclosing-decls and enhanced.
10863
60ff536c
JB
108642011-12-23 Juanma Barranquero <lekktu@gmail.com>
10865
10866 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10867
1c4757d6
JL
108682011-12-22 Juri Linkov <juri@jurta.org>
10869
10870 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10871
d031f2c7
CY
108722011-12-22 Chong Yidong <cyd@gnu.org>
10873
10874 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10875
bace743a
DA
108762011-12-21 Drew Adams <drew.adams@oracle.com>
10877
10878 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10879
728a1f2b
JC
108802011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10881
10882 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10883
0d373f73
TZ
108842011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10885
fec0aaa4
TZ
10886 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10887 highlighting and support. Fix up comments for capitalization.
10888 (cfengine-mode-debug): New var.
10889 (cfengine3-mode): Change the modeline indicator to "CFE3".
10890 (cfengine3-font-lock-keywords): Improve defun highlighting.
10891 (cfengine2-actions): Rename from `cfengine-actions'.
10892 (cfengine2-font-lock-keywords): Rename from
10893 `cfengine-font-lock-keywords'.
10894 (cfengine2-imenu-expression): Rename from
10895 `cfengine-imenu-expression'.
10896 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10897 (cfengine2-beginning-of-defun): Rename from
10898 `cfengine-beginning-of-defun'.
10899 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10900 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10901 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10902 modeline indicator to "CFE2".
10903 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10904 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10905
bc86f573
CY
109062011-12-21 Chong Yidong <cyd@gnu.org>
10907
10908 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10909 filename argument.
10910
d45ba96b
MR
109112011-12-20 Martin Rudalics <rudalics@gmx.at>
10912
10913 * window.el (window-normalize-buffer-to-display): Remove.
10914 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10915
a6198c90
CY
109162011-12-19 Chong Yidong <cyd@gnu.org>
10917
10918 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10919 Don't signal an error in a predicate function; return non-nil.
10920 (vc-dir-mark-file): Move the error here.
10921 (vc-dir-mark-unmark): If acting on the region, keep going if one
10922 of the entries cannot be marked/unmarked.
10923 (vc-dir-mark-all-files): If current entry is a directory, mark
10924 only child files, as documented.
10925
34c5fb55
VB
109262011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10927
10928 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10929 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10930 addition.
10931
c803b2b7
JD
109322011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10933
10934 * term/ns-win.el (ns-get-selection-internal)
10935 (ns-store-selection-internal): Declare.
1154d12e
JB
10936 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10937 Declare as obsolete.
10938 (ns-get-pasteboard, ns-paste-secondary):
10939 Use ns-get-selection-internal.
41e9b956 10940 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10941 Use ns-store-selection-internal.
c803b2b7 10942
9cff91f8 109432011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10944
10945 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10946 (vc-deduce-fileset): Doc fix.
99a289d9 10947
f16c898a
AS
109482011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10949
10950 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10951
763237c4
SS
109522011-12-13 Sam Steingold <sds@gnu.org>
10953
10954 * man.el (Man-getpage-in-background): When running under a
10955 window-system, ignore $MANWIDTH and $COLUMNS.
10956
5fc1c122
KH
109572011-12-15 Kenichi Handa <handa@m17n.org>
10958
10959 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10960 (setup-ethiopic-environment-internal): Comment out key-binding for
10961 ethio-toggle-punctuation.
10962
13d49cbb
AM
109632011-12-13 Alan Mackenzie <acm@muc.de>
10964
898169a2
AM
10965 Add the switch statement to AWK Mode.
10966
7a71b18d 10967 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
10968 "default" to the keywords regexp.
10969
7a71b18d 10970 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 10971 expression as the rest.
1d00653d
SM
10972 (c-nonlabel-token-key): Allow string literals for AWK.
10973 Refactor for the other modes.
898169a2 10974
13d49cbb 10975 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 10976 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
10977 routines. Limit backward searching in c-font-lock-enclosing.decl.
10978
10979 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10980 pp-state and literal type in addition to the limits.
1d00653d 10981 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 10982 (c-state-literal-at): Use the above new defun.
1d00653d
SM
10983 (c-slow-in-literal, c-fast-in-literal): Remove.
10984 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
10985
10986 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10987 being in a literal. Add a limit for backward searching.
10988
10989 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10990 c-slow-in-literal.
10991
15e0efc7
SM
109922011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10993
10994 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10995
454592a6
MR
109962011-12-13 Martin Rudalics <rudalics@gmx.at>
10997
10998 * window.el (delete-other-windows): Use correct frame in call to
10999 window-with-parameter.
11000
87393f26
DP
110012011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11002
11003 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11004 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11005 (makefile-gmake-statements, makefile-makepp-statements):
11006 Use it and add new makepp keywords.
11007 (makefile-makepp-font-lock-keywords): Add new patterns.
11008 (makefile-match-function-end): Match new [...] and [[...]].
11009
11636b22
JB
110102011-12-11 Juanma Barranquero <lekktu@gmail.com>
11011
11012 * ses.el (ses-call-printer-return, ses-cell-property-get)
11013 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11014 (ses-create-cell-variable, ses-reset-header-string)
11015 (ses-cell-set-formula, ses-repair-cell-reference-all)
11016 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11017 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11018 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11019 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11020 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11021 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11022 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11023 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11024 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11025 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11026 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11027 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11028
cf018193
VB
110292011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11030
11031 * ses.el: The overall change is to add cell renaming, that is
11032 setting fancy names for cell symbols other than name matching
11033 "\\`[A-Z]+[0-9]+\\'" regexp .
11034 (ses-create-cell-variable): New defun.
11035 (ses-relocate-formula): Relocate formulas only for cells the
11036 symbols of which are not renamed, i.e. symbols whose names do not
11037 match regexp "\\`[A-Z]+[0-9]+\\'".
11038 (ses-relocate-all): Relocate values only for cells the symbols of
11039 which are not renamed.
11040 (ses-load): Create cells variables as the (ses-cell ...) are read,
11041 in order to check row col consistency with cell symbol name only
11042 for cells that are not renamed.
11043 (ses-replace-name-in-formula): New defun.
11044 (ses-rename-cell): New defun.
11045
ee957461
CY
110462011-12-11 Chong Yidong <cyd@gnu.org>
11047
11048 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11049 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11050
9a9e9ef0
MR
110512011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11052
11053 * window.el (other-window): Fix docstring.
11054
92a8eba5
EZ
110552011-12-10 Eli Zaretskii <eliz@gnu.org>
11056
11057 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11058 `from' or `to' address before taking its substring.
11059 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11060 encoded name is chopped in the middle of the encoded string, and
11061 thus displayed encoded.
11062
e152e577
JB
110632011-12-10 Juanma Barranquero <lekktu@gmail.com>
11064
11065 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11066
e5d84bfe
EZ
110672011-12-10 Eli Zaretskii <eliz@gnu.org>
11068
11069 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11070 to use texinfo-update-node and commands that call it if the
11071 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11072 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11073 (texinfo-all-menus-update, texinfo-master-menu)
11074 (texinfo-update-node, texinfo-every-node-update)
11075 (texinfo-multiple-files-update): Doc fix. Warn against updating
11076 all the @node lines.
11077 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11078 argument is numeric. Explain better in the doc string what the
11079 function really does.
11080 (texinfo-insert-master-menu-list): Improve the error message
11081 displayed if there's no menu in the Top node.
11082 (Bug#2975) See also this thread:
e5d84bfe
EZ
11083 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11084
1d84e9bb
MG
110852011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11086
11087 * speedbar.el (speedbar-supported-extension-expressions):
11088 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11089
382c953b
JB
110902011-12-09 Juanma Barranquero <lekktu@gmail.com>
11091
11092 * printing.el (pr-mode-alist):
11093 * simple.el (filter-buffer-substring-functions)
11094 (completion-list-insert-choice-function):
11095 * window.el (window-with-parameter, window-atom-root)
11096 (window-sides-slots, window-size-fixed, window-min-delta)
11097 (window-max-delta, window--resize-mini-window)
11098 (window--resize-child-windows-normal, window-tree)
11099 (delete-other-windows, quit-window, split-window)
11100 (display-buffer-record-window, special-display-buffer-names)
11101 (special-display-regexps, special-display-popup-frame)
11102 (same-window-p, split-window-sensibly)
11103 (display-buffer-overriding-action, display-buffer-alist)
11104 (display-buffer-base-action, display-buffer, switch-to-buffer)
11105 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11106 (fit-window-to-buffer, recenter-positions)
11107 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11108 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11109 and remove unneeded backslashes in docstrings.
11110
39c9faef
SM
111112011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11112
98449af8
SM
11113 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11114
39c9faef
SM
11115 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11116 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11117 end in ".mk".
11118 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11119 when reading the makefile (bug#10116).
11120
86ed9fdc
SM
111212011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11122
11123 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11124 (bug#10116).
11125
5580f89d
GM
111262011-12-06 Glenn Morris <rgm@gnu.org>
11127
11128 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11129
28d3917c
CY
111302011-12-06 Chong Yidong <cyd@gnu.org>
11131
11132 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11133
a98edce9
JB
111342011-12-06 Juanma Barranquero <lekktu@gmail.com>
11135
11136 * textmodes/table.el (table-shorten-cell): Fix typo.
11137
e65adfac
CG
111382011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11139
11140 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11141
71cc0b74
EZ
111422011-12-05 Eli Zaretskii <eliz@gnu.org>
11143
11144 * descr-text.el (describe-char): Fix display of strong
11145 right-to-left characters and directional embeddings and overrides.
11146
11147 * simple.el (what-cursor-position): Fix display of codepoints of
11148 strong right-to-left characters.
11149
315bc30d
CY
111502011-12-05 Chong Yidong <cyd@gnu.org>
11151
11152 * faces.el (read-color): Doc fix.
11153
58a70b94
GM
111542011-12-05 Glenn Morris <rgm@gnu.org>
11155
11156 * align.el (align--set-marker): Add doc-string.
11157 Don't try to move something that is not a marker. (Bug#10216)
11158
5158face
GM
111592011-12-04 Glenn Morris <rgm@gnu.org>
11160
11161 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11162 overly zealous deletion of trailing whitespace.
11163
520fca41
JB
111642011-12-04 Juanma Barranquero <lekktu@gmail.com>
11165
11166 * server.el (server-delete-client): On Windows, do not try to delete
11167 the only terminal.
11168 (server-process-filter): On Windows, treat requests for a tty frame as
11169 if they were for a GUI frame if the running server is in GUI mode.
11170
5e605a2e
GM
111712011-12-03 Glenn Morris <rgm@gnu.org>
11172
11173 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11174
5c3fe83f
SM
111752011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11176
6f5e57e7
SM
11177 * electric.el: Streamline electric-indent's hook.
11178 (electric-indent-chars): Revert to simple list.
11179 (electric-indent-functions): New var.
11180 (electric-indent-post-self-insert-function): Use it.
11181
5c3fe83f
SM
11182 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11183 there's no inferior buffer (bug#10196).
11184 (prolog-consult-compile): Don't use toggle-read-only.
11185
6bdac736
MA
111862011-12-02 Michael Albinus <michael.albinus@gmx.de>
11187
11188 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11189 interrupt. (Bug#10187)
11190
6131ba7f
SM
111912011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11192
99c79fee
SM
11193 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11194 (bug#9160).
11195
6131ba7f
SM
11196 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11197 (bug#10191).
11198
cb0a02ea
JL
111992011-12-02 Juri Linkov <juri@jurta.org>
11200
11201 * info.el (Info-search): Display "end of manual" when Isearch
11202 reaches the end of single-file Info manual. (Bug#9918)
11203
66e0570c
EZ
112042011-12-02 Eli Zaretskii <eliz@gnu.org>
11205
11206 * isearch.el (isearch-message-prefix): Run the input method part
11207 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11208
02b16839
JL
112092011-12-02 Juri Linkov <juri@jurta.org>
11210
11211 * isearch.el (isearch-occur): Use `word-search-regexp' for
11212 `isearch-word'.
11213 (isearch-search-and-update): Add condition for `isearch-word' and
11214 call `word-search-regexp'. (Bug#10145)
11215
0b950688
GM
112162011-12-01 Glenn Morris <rgm@gnu.org>
11217
11218 * eshell/em-hist.el (eshell-hist-initialize):
11219 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11220 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11221
9505c3c7
SM
112222011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11223
11224 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11225
1bbe96b2 112262011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11227
a1beca85
SM
11228 * progmodes/verilog-mode.el (verilog-pretty-expr):
11229 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11230 verilog, such as += *= and the like.
11231 (verilog-assignment-operator-re): Regular expression to find the
11232 assigment operator in a verilog assignment.
11233 (verilog-assignment-operation-re): Regular expression to find an
11234 assignment statement for pretty-expr.
11235 (verilog-in-attribute-p): Query returns true if point is in an
11236 attribute context; used to skip these for expression line up from
11237 pretty-expr.
11238 (verilog-in-parameter-p): Query returns true if point is in an
11239 parameter definition context; used to skip these for expression
11240 line up from pretty-expr.
11241 (verilog-in-parenthesis-p): Query returns true if point is in a
11242 parenthetical expression, specifically ( ) but not [ ] or { };
11243 used by pretty-expr.
11244 (verilog-just-one-space): If there is no space, don't add one.
11245 (verilog-get-lineup-indent-2): Specifically skip just attribute
11246 contexts for expression lineup, rather than skipping all
11247 parenthetical expressions.
11248 (verilog-calculate-indent): Fix comment, and fix indent.
11249 (verilog-do-indent): Indent declarations in lists (suggested by
11250 Joachim Lechner).
11251 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11252 skeleton items.
11253 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11254 by Alain Mellan).
11255
1bbe96b2 112562011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11257
11258 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11259 parameters with embedded comments. Reported by Ray Stevens.
11260 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11261 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11262 Reported by Tim Holt.
11263 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11264 instantiated by upper module causing wrong expansion until AUTOed a
11265 second time. Reported by K C Buckenmaier.
11266 (verilog-diff-auto): Fix showing .* as a difference when
11267 `verilog-auto-star-save' off. Reported by Dan Dever.
11268 (verilog-auto-reset, verilog-read-always-signals)
11269 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11270 temporary signals in reset list if
11271 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11272 style to each signal's assignment type, bug381.
11273 Reported by Thomas Esposito.
6288f0ca
WS
11274 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11275 (verilog-uvm-statement-re): Support UVM indentation and
11276 highlighting, with old OVM keywords only.
a1beca85 11277 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11278 Support AUTOTIEOFF creating non-wire data types.
11279 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11280 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11281 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11282 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11283 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11284 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11285 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11286 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11287 non-numeric vector width. Reported by Alex Reed.
11288 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11289 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11290 (verilog-auto-delete-trailing-whitespace):
11291 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11292 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11293 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11294 Fix verilog-scan-cache corruption when running user AUTO expansion
11295 hooks that call indentation routines.
11296 (verilog-simplify-range-expression): Fix typo ignoring lower case
11297 identifiers.
11298 (verilog-delete-auto): Fix delete-autos to also remove user created
11299 automatics, as long as they start with AUTO.
11300 (verilog-batch-diff-auto, verilog-diff-auto)
11301 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11302 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11303 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11304 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11305 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11306 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11307 is disabled and its cache will get corrupt, causing AUTOS not to
11308 expand. Instead use only -quick functions.
11309 (verilog-scan-region): Fix scanning over escaped quotes.
11310 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11311 (verilog-re-search-backward-quick)
11312 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11313 related functions now ignore strings, to fix misparsing of strings
11314 with magic comments embedded in them.
a1beca85
SM
11315 (verilog-read-auto-template):
11316 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11317 Reported by Brad Dobbie.
11318 (verilog-read-auto-template):
11319 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11320 Reported by Brad Dobbie.
6288f0ca
WS
11321 (verilog-auto-inst, verilog-auto-inst-param)
11322 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11323 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11324 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11325 debugging templates without merge conflicts, bug357.
11326 Reported by Brad Dobbie.
11327 (verilog-read-auto-template):
11328 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11329 Reported by Brad Dobbie.
11330 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11331 abbrevs so user won't be asked to save.
11332 (verilog-read-auto-lisp-present): Fix to start at beginning of
11333 buffer in case called outside of verilog-auto.
11334 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11335 to "X-2". Reported by Matthew Myers.
11336 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11337 all inputs from module templates. Reported by Leith Johnson.
11338 (verilog-module-inside-filename-p): Fix locating programs as with
11339 modules.
11340 (verilog-auto-inst-port): Fix vl-width expressions when using
11341 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11342 (verilog-decls-get-regs, verilog-decls-get-signals,
11343 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11344 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11345 verilog-read-decls): Combine reg and wire structures into one var
11346 structure to represent SystemVerilog concepts.
11347 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11348 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11349 (verilog-auto-wire-type, verilog-insert-definition):
11350 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11351 SystemVerilog "logic" keyword instead of "wire"/"reg".
11352 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11353 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11354 ifdef or generate if so there's not a driver conflict).
11355 Reported by Matthew Myers.
11356 (verilog-auto-declare-nettype, verilog-insert-definition):
11357 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11358 `default_nettype none. Reported by Julian Gorfajn.
11359 (verilog-read-always-signals-recurse, verilog-read-decls)
11360 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11361 malformed end statement, bug325. Reported by Joshua Wise and
11362 Andrew Drake.
11363 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11364 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11365 when expanding .* in interfaces, bug320.
11366 Reported by Pierre-David Pfister.
6288f0ca 11367 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11368 name and open parenthesis, bug317.
11369 Reported by Pierre-David Pfister.
6288f0ca
WS
11370 (verilog-simplify-range-expression): Fix simplification of
11371 multiplications inside AUTOWIRE connections, bug303.
11372 (verilog-auto-inst-port): Support parameter expansion in
11373 multidimensional arrays.
11374 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11375 after "assert property". Reported by Julian Gorfajn.
11376 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11377 with multiplication, bug303.
11378 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11379 Reported by Jan Frode Lonnum.
11380
1bbe96b2
GM
113812011-11-30 Juanma Barranquero <lekktu@gmail.com>
11382
11383 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11384 (hfy-shell-file-name, hfy-shell):
11385 * international/fontset.el (x-decompose-font-name): Fix typos.
11386
113872011-11-29 Ken Brown <kbrown@cornell.edu>
11388
11389 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11390 (gdb-version): Remove defvar.
11391 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11392 (gdb-gud-context-command, gdb-non-stop-handler)
11393 (gdb-current-context-command, gdb-stopped): Use it.
11394 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11395 (gdb-non-stop-handler): Don't enable pretty-printing here.
11396 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11397 non-stop mode. Use the following.
11398 (gdb-check-target-async): New defun.
11399 (gud-watch, gdb-stopped): Fix whitespace.
11400 (gdb-get-source-file): Don't try to display the source file if
11401 `gdb-main-file' is nil.
11402
114032011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11404
11405 * align.el: Try to generate fewer markers (bug#10047).
11406 (align--set-marker): New macro.
11407 (align-region): Use it.
11408
c935221f
SM
114092011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11410
11411 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11412
e70b5064
CY
114132011-11-29 Chong Yidong <cyd@gnu.org>
11414
11415 * indent.el (indent-for-tab-command, indent-according-to-mode):
11416 Doc fix.
11417 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11418
f3af92b7
MA
114192011-11-29 Michael Albinus <michael.albinus@gmx.de>
11420
11421 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11422 aware of remote file names. (Bug#10124)
11423
ed472be9
CY
114242011-11-29 Chong Yidong <cyd@gnu.org>
11425
11426 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11427
24510c22
SM
114282011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11429
11430 * files.el (find-file): Don't use force-same-window (bug#10144).
11431 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11432 use pop-to-buffer if the selected window can't be used.
11433 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11434
c60c3703
EZ
114352011-11-28 Eli Zaretskii <eliz@gnu.org>
11436
11437 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11438 special-mode-map.
11439
e95def75
CY
114402011-11-28 Chong Yidong <cyd@gnu.org>
11441
11442 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11443
c3f1c606
NR
114442011-11-27 Nick Roberts <nickrob@snap.net.nz>
11445
11446 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11447 gdb-get-source-file-list on gdb-create-source-file-list.
11448
00db469c
EZ
114492011-11-26 Eli Zaretskii <eliz@gnu.org>
11450
11451 * whitespace.el (whitespace-newline): Use a different foreground
11452 color for 16-color light-background displays.
11453
4ad3bc2a
CY
114542011-11-24 Chong Yidong <cyd@gnu.org>
11455
11456 * window.el (display-buffer--special-action): Doc fix.
11457
e9fce1ac
JB
114582011-11-25 Juanma Barranquero <lekktu@gmail.com>
11459
11460 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11461 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11462 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11463 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11464 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11465 (avl-tree-stack-first):
11466 * emacs-lisp/cconv.el (cconv--analyse-use):
11467 * net/gnutls.el (gnutls-negotiate): Fix typos.
11468
cb825e5d
GM
114692011-11-24 Glenn Morris <rgm@gnu.org>
11470
3adbe224
GM
11471 * lpr.el (lpr-windows-system, lpr-lp-system):
11472 * mail/binhex.el (binhex-begin-line):
11473 * progmodes/grep.el (grep-history, grep-find-history):
11474 * textmodes/flyspell.el:
11475 * vc/pcvs-defs.el (cvs-global-menu):
11476 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11477 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11478 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11479
321decc8
GM
11480 * net/tls.el: Fix case of "GnuTLS".
11481
420b63ad
GM
11482 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11483
cb825e5d
GM
11484 * version.el (emacs-build-system): Give it a doc-string.
11485
a0649f08
JL
114862011-11-24 Juri Linkov <juri@jurta.org>
11487
11488 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11489
c0bc0fd4
GM
114902011-11-24 Glenn Morris <rgm@gnu.org>
11491
11492 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11493 if called on a non-mime message just toggle the headers. (Bug#8006)
11494
20db1522
JB
114952011-11-24 Juanma Barranquero <lekktu@gmail.com>
11496
11497 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11498 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11499 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11500 (allout-rebullet-heading, allout-open-sibtopic)
11501 (allout-toggle-current-subtree-encryption)
11502 (allout-toggle-subtree-encryption, allout-encrypt-string)
11503 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11504 (allout-distinctive-bullets-string, allout-auto-activation):
11505 * window.el (window-normalize-buffer-to-display):
11506 * progmodes/verilog-mode.el (verilog-batch-indent):
11507 * textmodes/bibtex.el (bibtex-field-braces-opt)
11508 (bibtex-field-strings-opt):
11509 * vc/cvs-status.el (cvs-tree-merge):
11510 Fix typos.
11511
7262a87c
MA
115122011-11-23 Michael Albinus <michael.albinus@gmx.de>
11513
11514 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11515 `non-essential' to t, in order to avoid remote connections.
11516
283430a1
EZ
115172011-11-23 Eli Zaretskii <eliz@gnu.org>
11518
a1beca85
SM
11519 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11520 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11521 case-insensitively.
11522
d2992a38
ML
115232011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11524
11525 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11526
50419064
GM
115272011-11-23 Glenn Morris <rgm@gnu.org>
11528
da94eca1
GM
11529 * paths.el (rmail-file-name): Reformat the doc-string so that it
11530 is picked up.
11531
9aac4de2
GM
11532 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11533 (rmail-auto-file): Ignore case in the "special" field names,
11534 as mail-fetch-field does for all others.
11535
8038d2d2
GM
11536 * mail/rmail.el (rmail-forward):
11537 * mail/rmailkwd.el (rmail-set-label):
11538 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11539 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11540
f3fe222a
GM
11541 * mail/rmail.el (rmail-current-message): Doc fix.
11542
50419064
GM
11543 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11544
28109f49
SM
115452011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11546
11547 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11548
394c65f1
GM
115492011-11-22 Glenn Morris <rgm@gnu.org>
11550
11551 * mail/rmailmm.el (test-rmail-mime-handler)
11552 (test-rmail-mime-bulk-handler)
11553 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11554
f2a0aa3a
JL
115552011-11-21 Juri Linkov <juri@jurta.org>
11556
1154d12e
JB
11557 * calc/calc.el (calc-read-key-sequence):
11558 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11559
9c34a344
LMI
115602011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11561
11562 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11563 Tell the caller that the next line needs recomputation, even
11564 though it doesn't start a sexp (bug#10094).
11565
f04a3be9
SM
115662011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11569
7978747f
SM
115702011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11571
f04a3be9
SM
11572 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11573 Use force-same-window.
7978747f 11574
fe7a3057
JB
115752011-11-20 Juanma Barranquero <lekktu@gmail.com>
11576
11577 * descr-text.el (describe-char-unicode-data):
11578 * json.el (json-string-escape):
11579 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11580 (Footnote-unicode, Footnote-style-p):
11581 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11582
24901d61
CY
115832011-11-20 Chong Yidong <cyd@gnu.org>
11584
11585 * window.el (replace-buffer-in-windows): Restore interactive spec.
11586
bac7ff22
SM
115872011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11588
24f3d7b9
SM
11589 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11590
bac7ff22
SM
11591 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11592 (byte-compile-global-not-obsolete-vars): New var.
11593 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11594 Use it.
11595 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11596
cd1181db
JB
115972011-11-20 Juanma Barranquero <lekktu@gmail.com>
11598
11599 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11600 * progmodes/pascal.el (electric-pascal-equal):
11601 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11602 * xml.el (xml-substitute-special): Fix typos.
11603
7fb18e9e
GM
116042011-11-20 Glenn Morris <rgm@gnu.org>
11605
11606 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11607 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11608 Doc fixes.
11609 (rmail-decode-mime-charset): Mark as obsolete.
11610
11611 * mail/rmailsum.el (rmail-message-regexp-p-1):
11612 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11613 Before using mime functions, check they are set. (Bug#10077)
11614
d5a6b3ba
JL
116152011-11-19 Juri Linkov <juri@jurta.org>
11616
11617 * info.el (Info-finder-find-node): Use `package--builtins' instead
11618 of `package-alist'. Use node names formed by the pattern "Keyword "
11619 and the keyword name.
11620
e981b61f
AS
116212011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11622
1d00653d 11623 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11624
3ffbc301
JL
116252011-11-19 Juri Linkov <juri@jurta.org>
11626
11627 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11628 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11629 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11630 `old-history', `old-history-forward'. Add let-binding
11631 `window-selected'. Remove calls to `kill-buffer',
11632 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11633 before calling `Info-find-node', so `Info-find-node-2' will reread
11634 the Info file. Restore window positions only when `window-selected'
11635 is non-nil.
11636
30c62133
JL
116372011-11-19 Juri Linkov <juri@jurta.org>
11638
11639 * isearch.el (isearch-lazy-highlight-new-loop):
11640 Remove condition `(not isearch-error)'. (Bug#9918)
11641
11642 * misearch.el (multi-isearch-search-fun): Add condition
11643 `(not bound)' to ignore lazy-highlighting search.
11644 Add the search-failed message "end of multi" when the end of
11645 multi-sequence is reached. Uncapitalize the search-failed
11646 message "Repeat for next buffer".
11647
11648 * info.el (Info-search): Add the search-failed message
11649 "end of the manual" when the end of the manual is reached
11650 in Isearch mode.
11651
645ca9cf
JL
116522011-11-19 Juri Linkov <juri@jurta.org>
11653
11654 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11655 Use non-destructive `remove' instead of `delete' because
11656 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11657 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11658
df754f66
JL
116592011-11-19 Juri Linkov <juri@jurta.org>
11660
11661 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11662 to nil instead of binding `search-ring' and `regexp-search-ring'.
11663 (Bug#9185)
11664
0e23d96a
EZ
116652011-11-19 Eli Zaretskii <eliz@gnu.org>
11666
11667 * simple.el (line-move): Force movement by logical lines for any
11668 hscrolled window, not only when auto-hscroll-mode is on.
11669 (line-move-visual): Update doc string to that effect. (Bug#10076)
11670
8a6ccb66
AS
116712011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11672
11673 * language/european.el (macintosh): Define as alias for mac-roman.
11674
49ae5b39
EZ
116752011-11-19 Eli Zaretskii <eliz@gnu.org>
11676
11677 * mail/rmailmm.el (rmail-mime-display-header)
11678 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11679 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11680 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11681 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11682 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11683 of a raw aref.
11684 (rmail-mime-entity-segment): To get past the tagline, move forward
11685 2 more lines, to account for the 2 empty lines that precede and
11686 follow the line with the buttons.
11687 (rmail-mime-update-tagline): Move one more line, to get past the
11688 empty line that follows the buttons in the tagline. (Bug#9520)
11689
c56cad4a
MR
116902011-11-19 Martin Rudalics <rudalics@gmx.at>
11691
11692 * window.el (window-max-delta-1, window-min-delta-1)
11693 (window-min-size-1, window-state-get-1, window-state-put-1)
11694 (window-state-put-2): Use "window--" prefix.
11695
cbe71af3
SM
116962011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11697
2ad52c60
SM
11698 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11699 (smie-warning-count): New var.
11700 (smie-set-prec2tab): Use it.
11701 (smie-bnf->prec2): Improve warnings. Add docstring.
11702 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11703 (smie-bnf--set-class): New function.
11704 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11705 corner case.
11706
6944dbc1
SM
11707 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11708 (compilation-error-properties, compilation-move-to-column):
11709 Handle compilation-first-column while in the target buffer.
11710
c400c4d7
SM
11711 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11712 Don't hardcode point-min==1.
11713
6dbe3e96
SM
11714 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11715 (eshell-rewrite-for-command): Remove workaround.
11716 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11717 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11718 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11719
cbe71af3
SM
11720 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11721
a8e1496d
GM
117222011-11-17 Glenn Morris <rgm@gnu.org>
11723
11724 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11725 Ignore buffer-local generated-autoload-file if it is the same
11726 as the global value. (Bug#10049)
11727
df85d315
JB
117282011-11-17 Juanma Barranquero <lekktu@gmail.com>
11729
11730 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11731 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11732 (reftex-toc-previous-heading, reftex-toc-max-level)
11733 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11734 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11735 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11736 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11737 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11738 (reftex-toc-rename-label, reftex-toc-visit-location)
11739 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11740 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11741 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11742 leaving "*toc*" only for references to the buffer.
11743
a0c2d0ae
MR
117442011-11-17 Martin Rudalics <rudalics@gmx.at>
11745
11746 * window.el (window-resize, delete-window, split-window):
11747 Replace window-splits by window-combination-resize.
1d00653d 11748 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11749
35c0bac8
GM
117502011-11-17 Glenn Morris <rgm@gnu.org>
11751
11752 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11753 Make bash entry derive from sh entry, not shell entry.
11754
d0c8fc8a
MA
117552011-11-16 Michael Albinus <michael.albinus@gmx.de>
11756
7262a87c
MA
11757 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11758 local file name.
11759
7877f373
JB
117602011-11-16 Juanma Barranquero <lekktu@gmail.com>
11761
11762 * menu-bar.el (menu-bar-file-menu):
11763 * printing.el (pr-ps-utility):
11764 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11765 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11766 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11767 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11768 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11769 (icalendar--convert-cyclic-to-ical)
11770 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11771 (icalendar--convert-ical-to-diary)
11772 (icalendar--convert-recurring-to-diary)
11773 (icalendar--convert-non-recurring-all-day-to-diary)
11774 (icalendar-import-format-sample):
11775 * progmodes/idlw-shell.el (idlwave-shell-mode):
11776 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11777 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11778 (vhdl-ps-print-init): Fix typos.
11779
10649b82
KM
117802011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11781
9d0cfcd6
GM
11782 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11783 FSF and collapse date sequence, obscure author/maintainer email address
11784 better, remove extra version line, track relocation of author's webpage.
10649b82 11785
9d0cfcd6
GM
11786 * progmodes/python.el (python-pdbtrack-input-prompt)
11787 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11788 regular python pdb prompts. Adjustments shamelessly taken exactly as
11789 suggested in EmacsWiki page (tiny change):
11790 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11791
58179cce
JB
117922011-11-16 Juanma Barranquero <lekktu@gmail.com>
11793
11794 * expand.el (expand-pos, expand-index, expand-point):
11795 Remove redundant info from docstring.
11796 (expand-add-abbrevs): Doc fix.
11797 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11798 (expand-sample-perl-mode-expand-list): Fix typos.
11799
11800 * net/dbus.el (dbus-event-member-name):
11801 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11802 * term/pc-win.el (msdos-create-frame-with-faces):
11803 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11804
b6f67890
MR
118052011-11-16 Martin Rudalics <rudalics@gmx.at>
11806
11807 * window.el (split-window, window-state-get-1)
11808 (window-state-put-1, window-state-put-2): Rename occurrences of
11809 window-nest to window-combination-limit.
1d00653d 11810 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11811
ce7ddba0
CY
118122011-11-16 Chong Yidong <cyd@gnu.org>
11813
11814 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11815 regexp (Bug#10033).
11816
3ae704f4
SM
118172011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11818
11819 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11820 `completing-read' will remove *Completions* and will preserve
11821 current-buffer for us.
11822 (tmm-add-prompt): Users of *Completions* will always (re)set its
11823 major mode.
11824 (tmm-old-comp-map): Remove.
11825
6ad1cdde
GM
118262011-11-16 Glenn Morris <rgm@gnu.org>
11827
11828 * mail/rmailedit.el: Require rmailmm when compiling.
11829 (rmail-old-mime-state): New declaration.
11830 (rmail-edit-current-message): If editing a mime message,
11831 edit the "raw" message from the mbox buffer.
11832 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11833
d20faa20
GM
118342011-11-15 Glenn Morris <rgm@gnu.org>
11835
11836 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11837 which wasn't being used. Add optional arg to force given state.
11838 (rmail-mime): Add optional arg to force given state.
11839
c7015153
JB
118402011-11-15 Juanma Barranquero <lekktu@gmail.com>
11841
11842 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11843 * frame.el (display-mm-dimensions-alist):
11844 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11845 (outline-move-subtree-down):
11846 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11847 (newsticker--treeview-do-get-node):
11848 * net/quickurl.el (quickurl-list-buffer-name):
11849 * progmodes/dcl-mode.el (dcl-mode):
11850 * progmodes/gdb-mi.el (gdb-mapcar*):
11851 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11852
45261b50
GM
118532011-11-15 Glenn Morris <rgm@gnu.org>
11854
11855 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11856 in a boolean sense, so just make it a boolean, and fix the doc.
11857 (rmail-show-mime-function, rmail-mime-feature)
11858 (rmail-require-mime-maybe): Doc fixes.
11859 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11860
11861 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11862
0d26e0b6
JB
118632011-11-15 Juanma Barranquero <lekktu@gmail.com>
11864
11865 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11866 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11867 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11868 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11869
447f30f6
GM
118702011-11-15 Glenn Morris <rgm@gnu.org>
11871
672b871d
GM
11872 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11873 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11874 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11875 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11876 (rmail-mime, rmail-show-mime): Doc fixes.
11877
f6aa5bb1
GM
11878 * term/ns-win.el (mode-line-frame-identification):
11879 Leave it alone. (Bug#10051)
11880
947cd66b
GM
11881 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11882
447f30f6
GM
11883 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11884 Handle empty buffers. (Bug#9978)
11885
0b381c7e
JB
118862011-11-14 Juanma Barranquero <lekktu@gmail.com>
11887
11888 * international/mule.el (define-charset):
11889 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11890 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11891 * progmodes/verilog-mode.el (verilog-backward-token):
11892 * textmodes/ispell.el (lookup-words):
11893 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11894
71e027ac
GM
118952011-11-14 Glenn Morris <rgm@gnu.org>
11896
56632ce4
GM
11897 * progmodes/executable.el
11898 (executable-make-buffer-file-executable-if-script-p):
11899 Handle file-modes returning nil.
11900
40500957
GM
11901 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11902 message - not necessary, and causes problems. (Bug#9831)
11903
071c2340
GM
11904 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11905
d3cfca60
GM
11906 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11907
71e027ac
GM
11908 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11909 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11910 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11911
89d61221
MR
119122011-11-12 Martin Rudalics <rudalics@gmx.at>
11913
11914 * window.el (window-resize, delete-window): Use window-splits
11915 variable instead of function.
11916 (window-state-get-1, window-state-put-2, window-state-put):
11917 Don't deal with windows' splits status.
11918
98282f6f
GM
119192011-11-12 Glenn Morris <rgm@gnu.org>
11920
11921 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11922 (apropos-documentation): Doc fixes.
11923
40a8bdf6
JB
119242011-11-11 Juanma Barranquero <lekktu@gmail.com>
11925
11926 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11927 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11928
65bd19ff
SM
119292011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11930
11931 * electric.el (electric-indent-post-self-insert-function): Make it
11932 possible for a char to only indent in some circumstances.
11933 (electric-indent-mode): Simplify.
11934
54f9154c
MR
119352011-11-11 Martin Rudalics <rudalics@gmx.at>
11936
11937 * window.el (windows-with-parameter): Remove unused function.
11938 (windows-at-side): Rename to window-at-side-list.
11939 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11940 (window-side-check, window-size-ignore, window-size-fixed-1)
11941 (window-in-direction-2): Prefix with "window--".
11942 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11943
68cbc58b
GM
119442011-11-11 Glenn Morris <rgm@gnu.org>
11945
11946 * subr.el (eval-after-load): If FILE is already loaded,
11947 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11948
b2621720
GM
119492011-11-10 Glenn Morris <rgm@gnu.org>
11950
9a4de110
GM
11951 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11952 Call svn via vc-svn-command rather than vc-do-command.
11953 (vc-svn-command): Add --non-interactive. (Bug#9993)
11954 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11955
b2621720
GM
11956 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11957 Add toggle-read-only. (Bug#7292)
11958 * files.el (toggle-read-only): Mention that it should only
11959 be used interactively. (Bug#10006)
11960
1dce7193
SM
119612011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11962
d9ac1a1e
SM
11963 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11964 Adjust regexp for OCaml warnings.
11965
0c325082
SM
11966 * electric.el (electric-pair-post-self-insert-function): Let user
11967 turn it off buffer-locally (bug#9932).
11968
90132c14
SM
11969 * progmodes/python.el (python-beginning-of-statement):
11970 Rewrite (bug#2703).
11971
1dce7193
SM
11972 * progmodes/compile.el: Better handle TABs (bug#9749).
11973 (compilation-internal-error-properties)
11974 (compilation-next-error-function): Obey the target buffer's
11975 compilation-error-screen-columns.
11976
c4e7c63a
JB
119772011-11-09 Juanma Barranquero <lekktu@gmail.com>
11978
11979 * progmodes/meta-mode.el: Remove obsolete comments.
11980 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11981 Fix typos in docstrings.
11982
2cffd681
MR
119832011-11-09 Martin Rudalics <rudalics@gmx.at>
11984
11985 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 11986 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
11987 (window--resizable): New function. Make all callers of
11988 window-resizable call window--resizable instead.
11989 (window-resizable): Rewrite in terms of window--resizable.
11990
0edcba87
GM
119912011-11-08 Glenn Morris <rgm@gnu.org>
11992
11993 * progmodes/delphi.el (delphi-mode-syntax-table):
11994 Let define-derived-mode define a proper syntax table. (Bug#9994)
11995
4b0d61e3
SM
119962011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11997
11998 * window.el: Stay away from defsubst.
11999 (window-list-no-nils): Remove.
12000 (window-state-get-1, window-state-get): Use backquote instead.
12001
cd394be1 120022011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12003
4b0d61e3 12004 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12005 Fix incorrect use of default argument in `completing-read'.
12006
e1c2c6f2
MR
120072011-11-08 Martin Rudalics <rudalics@gmx.at>
12008
12009 * window.el (display-buffer-function, special-display-function):
12010 Mention display-buffer-record-window but do not mention
12011 help-setup parameter in doc-strings.
b3f4a882 12012 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12013
105216ed
CY
120142011-11-08 Chong Yidong <cyd@gnu.org>
12015
12016 * window.el (window-total-height, window-total-width): Doc fix.
12017 (window-body-size): Move from C.
12018 (window-body-height, window-body-width): Move to C.
12019
0a9f9ab5
SM
120202011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12021
12022 * window.el: Make special-display like display-buffer-alist (bug#9532).
12023 (display-buffer--special-action): New function, morphed
12024 from display-buffer--special.
12025 (display-buffer): Use it to handle special-display-buffers at higher
12026 priority (just after display-buffer-alist).
12027 (display-buffer-fallback-action, display-buffer--other-frame-action)
12028 (pop-to-buffer-same-window): Remove display-buffer--special.
12029
a769dd15
GM
120302011-11-07 Glenn Morris <rgm@gnu.org>
12031
12032 * calendar/cal-menu.el (cal-menu-set-date-title):
12033 Do nothing if not in a calendar. (Bug#9976)
12034
05a61ee3
SM
120352011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12036
12037 * files.el (find-file): Always use selected-window.
12038
be7f5545
MR
120392011-11-07 Martin Rudalics <rudalics@gmx.at>
12040
12041 * window.el (window-combinations): Make WINDOW argument
12042 mandatory. Rewrite doc-string.
12043 (walk-window-subtree, window-atom-check, window-min-delta)
12044 (window-max-delta, window--resize-this-window)
12045 (window--resize-root-window-vertically, window-tree)
12046 (balance-windows, window-state-put): Rewrite doc-strings as to
12047 not mention the term "subwindow".
12048 (window--resize-subwindows-skip-p): Rename to
12049 window--resize-child-windows-skip-p.
12050 (window--resize-subwindows-normal): Rename to
12051 window--resize-child-windows-normal.
12052 (window--resize-subwindows): Rename to
12053 window--resize-child-windows.
12054 (window-or-subwindow-p): Rename to window--in-subtree-p.
12055
3c6702ef
ML
120562011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12057
12058 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12059 Ensure that mbox format messages end in two newlines (Bug#9974).
12060
49745b39
CY
120612011-11-06 Chong Yidong <cyd@gnu.org>
12062
12063 * window.el (window-combination-p): Function deleted; its
12064 side-effect is not used in any existing code.
12065 (window-combinations, window-combined-p): Call window-*-child
12066 directly.
12067
24300f5f
CY
120682011-11-05 Chong Yidong <cyd@gnu.org>
12069
12070 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12071 (window-size-ignore, window-state-get): Callers changed.
12072 (window-normalize-window): Rename from window-normalize-any-window.
12073 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12074 (window-normalize-live-window): Delete.
447f16b8
CY
12075 (window-combination-p, window-combined-p, window-combinations)
12076 (walk-window-subtree, window-atom-root, window-min-size)
12077 (window-sizable, window-sizable-p, window-size-fixed-p)
12078 (window-min-delta, window-max-delta, window-resizable)
12079 (window-resizable-p, window-full-height-p, window-full-width-p)
12080 (window-current-scroll-bars, window-point-1, set-window-point-1)
12081 (window-at-side-p, window-in-direction, window-resize)
12082 (adjust-window-trailing-edge, maximize-window, minimize-window)
12083 (window-deletable-p, delete-window, delete-other-windows)
12084 (record-window-buffer, unrecord-window-buffer)
12085 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12086 (quit-window, split-window, window-state-put)
12087 (set-window-text-height, fit-window-to-buffer)
12088 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12089
89bd5ee1
EZ
120902011-11-04 Eli Zaretskii <eliz@gnu.org>
12091
53479029
EZ
12092 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12093 rfc2047-decode-string.
12094 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12095 warnings.
12096
89bd5ee1
EZ
12097 * window.el (window-body-height, window-body-width): Mention in
12098 the doc string that the return values are in frame's canonical
12099 units. (Bug#9949)
12100
bd17fdee
AM
121012011-11-03 Alan Mackenzie <acm@muc.de>
12102
12103 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12104 change in cc-engine.el.
12105
acc825c5
SM
121062011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12107
12108 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12109
1885e5b8
MR
121102011-11-02 Martin Rudalics <rudalics@gmx.at>
12111
12112 * window.el (quit-window): Call unrecord-window-buffer after
12113 showing another buffer in the window. (Bug#9937)
acc825c5 12114 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12115
ebe06da9
JB
121162011-11-02 Juanma Barranquero <lekktu@gmail.com>
12117
12118 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12119 Accept status with more than 9 shelves. (Bug#9935)
12120 Reported by Colin D Bennett <colin@gibibit.com>.
12121
4ee88440
MR
121222011-11-01 Martin Rudalics <rudalics@gmx.at>
12123
12124 * help.el (with-help-window): Don't reference
12125 temp-buffer-show-specifiers in doc-string.
12126
08e1d82c
AS
121272011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12128
12129 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12130 menu-item.
12131
84bd6e9e
VJL
121322011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12133
12134 * whitespace.el: New version 13.2.2.
12135 (whitespace-newline-mode): Disable properly. Reported by Sarah
12136 <EmacsWiki>.
12137
dba0634a
UJ
121382011-10-30 Ulf Jasper <ulf.jasper@web.de>
12139
12140 * net/newst-treeview.el: Remove "Time-stamp".
12141 (newsticker--group-manage-orphan-feeds): Do not call
12142 newsticker--treeview-tree-update.
db22a3c2
JB
12143 (newsticker-treeview-update, newsticker-treeview):
12144 Call newsticker--treeview-tree-update if necessary.
dba0634a 12145
3d8daefe
MR
121462011-10-30 Martin Rudalics <rudalics@gmx.at>
12147
12148 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12149 (window-iso-combinations): Remove "iso-" infix.
12150 Suggested by Chong Yidong.
3d8daefe
MR
12151 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12152 (window-max-delta-1, window-resize, window--resize-siblings)
12153 (window--resize-this-window, adjust-window-trailing-edge)
12154 (split-window, balance-windows-1)
12155 (shrink-window-if-larger-than-buffer):
12156 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12157 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12158
1bc4c3ae
SM
121592011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12160
12161 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12162 in place (bug#9907).
12163 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12164 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12165 (eshell-structure-basic-command, eshell-rewrite-while-command)
12166 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12167 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12168 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12169 (eshell-do-pipelines-synchronously, eshell-eval-command):
12170 Use backquotes and prefer setq to set.
12171 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12172 (eshell-macrop): Use functionp.
c1e2f5fa 12173 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12174
30b65d9c
CY
121752011-10-30 Chong Yidong <cyd@gnu.org>
12176
12177 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12178 instead of set-mark (Bug#9810).
12179
2d197ffb
CY
121802011-10-30 Chong Yidong <cyd@gnu.org>
12181
12182 * window.el (split-window-below, split-window-right): Rename from
12183 split-window-above-each-other and split-window-side-by-side
12184 respectively. All callers changed.
12185 (split-window-sensibly, split-window-sensibly): Use them.
12186 (split-window-keep-point): Doc fix.
12187
12188 * isearch.el: Add isearch-scroll property to split-window-below
12189 and split-window-right.
12190
12191 * follow.el (follow-mode):
12192 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12193 * progmodes/ada-xref.el (ada-gdb-application):
12194 * emulation/vip.el (vip-buffer-in-two-windows):
12195 * image-dired.el (image-dired-dired-with-window-configuration):
12196 * dired-x.el (dired-do-find-marked-files):
12197 * dired.el (dired-pop-to-buffer):
12198 * bs.el (bs--show-with-configuration):
12199 * vc/emerge.el (emerge-setup-windows):
12200 * textmodes/two-column.el (2C-two-columns):
12201 * textmodes/reftex-toc.el (reftex-toc):
12202 * progmodes/gdb-mi.el (gdb-setup-windows):
12203 * progmodes/fortran.el (fortran-window-create):
12204 * net/newst-treeview.el (newsticker--treeview-window-init):
12205 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12206 * emulation/tpu-edt.el (tpu-gold-map):
12207 * emulation/crisp.el (crisp-mode-map):
12208 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12209
38bb2ca8
CY
122102011-10-29 Chong Yidong <cyd@gnu.org>
12211
aa4de341
CY
12212 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12213
e1eb5385
CY
12214 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12215
5d2ece3c
CY
12216 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12217 forged Ispell output (Bug#7904).
12218
38bb2ca8
CY
12219 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12220
d0af9f77
SM
122212011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12222
12223 * doc-view.el: Avoid ugly errors about not finding nil.
12224 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12225 (doc-view-dvipdf-program, doc-view-unoconv-program)
12226 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12227 Avoid nil or absolute file name as default value.
12228 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12229
52bedd34
AM
122302011-10-28 Alan Mackenzie <acm@muc.de>
12231
db22a3c2 12232 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12233
7e43cfa5
AM
122342011-10-28 Alan Mackenzie <acm@muc.de>
12235
12236 Amend the handling of c-beginning/end-of-defun in nested declaration
12237 scopes.
12238
52bedd34
AM
12239 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12240 cc-langs.el. Change it to a defcustom.
7e43cfa5 12241
52bedd34
AM
12242 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12243 cc-vars.el.
7e43cfa5 12244
d0af9f77
SM
12245 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12246 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12247
52bedd34 12248 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12249 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12250 (c-widen-to-enclosing-decl-scope): New function.
12251 (c-while-widening-to-decl-block): New macro.
12252 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12253 outward for defun boundaries, and correspondingly change symbol
12254 `respect-enclosure' to `go-outward'.
12255 (c-declaration-limits): Change algorithm to report only the "innermost"
12256 defun's boundaries.
12257
1a2ce9ee
DD
122582011-10-28 Deniz Dogan <deniz@dogan.se>
12259
12260 * net/rcirc.el (rcirc-mode): Use hard newlines.
12261
bc97a826
AM
122622011-10-28 Alan Mackenzie <acm@muc.de>
12263
12264 Amend to indent and fontify macros "which include their own semicolon"
12265 correctly, using the "virtual semicolon" mechanism.
12266
52bedd34 12267 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12268
d0af9f77 12269 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12270 Recode to scan one line at a time rather than having \n and \r
58179cce 12271 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12272 (c-forward-label): Amend for virtual semicolons.
58179cce 12273 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12274
52bedd34
AM
12275 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12276 of the new C macros.
bc97a826 12277
52bedd34 12278 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12279 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12280 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12281 (c-opt-cpp-macro-define): Make into a full language variable.
12282 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12283 AWK Mode (including \n, \r) removed, no longer needed.
12284
d0af9f77
SM
12285 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12286 Invoke c-make-macro-with-semi-re.
bc97a826 12287
52bedd34
AM
12288 * progmodes/cc-vars.el (c-macro-with-semi-re):
12289 (c-macro-names-with-semicolon): New variables.
58179cce 12290 (c-make-macro-with-semi-re): New function.
bc97a826 12291
7a6c0941
SM
122922011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12293
12294 * vc/log-edit.el: Fill empty field rather than adding new one.
12295 (log-edit-add-field): New function.
12296 (log-edit-insert-changelog): Use it.
12297
b0c4cdcf
ML
122982011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12299
12300 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12301
ee1f1da9
SM
123022011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12303
12304 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12305 (gdb--check-interpreter): New function.
12306 (gdb): Use it.
12307
51bc5f8b
GM
123082011-10-27 Glenn Morris <rgm@gnu.org>
12309
416a2c45
GM
12310 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12311 (least-positive-float, least-negative-float)
12312 (least-positive-normalized-float, least-negative-normalized-float)
12313 (float-epsilon, float-negative-epsilon):
12314 Remove unnecessary declarations.
12315
12316 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12317 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12318 (least-positive-float, least-negative-float)
12319 (least-positive-normalized-float, least-negative-normalized-float)
12320 (float-epsilon, float-negative-epsilon): Add doc-strings,
12321 based on those in cl.texi.
12322
51bc5f8b
GM
12323 * files.el (set-visited-file-name): If the major-mode changed,
12324 reload the local variables. (Bug#9796)
12325
15de15c6
CY
123262011-10-27 Chong Yidong <cyd@gnu.org>
12327
12328 * subr.el (change-major-mode-after-body-hook): New hook.
12329 (run-mode-hooks): Run it.
12330
ee1f1da9
SM
12331 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12332 Use change-major-mode-before-body-hook.
15de15c6
CY
12333
12334 * simple.el (fundamental-mode):
12335 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12336 change introducing fundamental-mode-hook.
12337
5430d399
JB
123382011-10-26 Juanma Barranquero <lekktu@gmail.com>
12339
acc825c5 12340 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12341
ad74a69e
MA
123422011-10-26 Michael Albinus <michael.albinus@gmx.de>
12343
12344 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12345 tramp.el explicitly. (Bug#7583)
ad74a69e 12346
71d4c2a5
SM
123472011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12348
12349 * progmodes/octave-mod.el:
12350 * progmodes/octave-inf.el: Update maintainer.
12351
b1f6fa26
CY
123522011-10-26 Chong Yidong <cyd@gnu.org>
12353
12354 * subr.el (with-wrapper-hook): Rewrite doc.
12355
3f04efd6
MA
123562011-10-25 Michael Albinus <michael.albinus@gmx.de>
12357
12358 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12359 filenames "/method:foo:". (Bug#9793)
3f04efd6 12360
410488d3
SM
123612011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12362
12363 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12364 (bug#9865).
12365
c1ebb47e
GM
123662011-10-24 Glenn Morris <rgm@gnu.org>
12367
12368 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12369
7f5c46c7
MA
123702011-10-24 Michael Albinus <michael.albinus@gmx.de>
12371
12372 * notifications.el: Add the requirement of a running D-Bus session
12373 bus to the Commentary.
12374
db2440b6
JL
123752011-10-24 Juri Linkov <juri@jurta.org>
12376
12377 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12378 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12379 (Bug#9364)
12380
feecf435
JL
123812011-10-24 Juri Linkov <juri@jurta.org>
12382
12383 * info.el (Info-following-node-name-re): Add newline to the list
12384 of allowed characters for leading space. (Bug#9824)
12385
a3839de2
SM
123862011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12387
acc825c5
SM
12388 * progmodes/octave-inf.el (inferior-octave-mode-map):
12389 Fix C-c C-h binding.
a3839de2
SM
12390 * progmodes/octave-mod.el (octave-help): Remove.
12391
09388e76
MA
123922011-10-23 Michael Albinus <michael.albinus@gmx.de>
12393
12394 Sync with Tramp 2.2.3.
12395
12396 * net/tramp-cache.el (top): Pacify byte-compiler using
12397 `init-file-user' and `site-run-file'.
12398
12399 * net/trampver.el: Update release number.
12400
86c60681
CY
124012011-10-23 Chong Yidong <cyd@gnu.org>
12402
12403 * files.el (toggle-read-only): Remove obsolete comment about
12404 version control.
12405
12406 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12407 for toggle-read-only. Note that this hasn't called vc-next-action
12408 since 2008-05-02, though it wasn't documented at the time.
12409
a3839de2
SM
12410 * vc/ediff-init.el (ediff-toggle-read-only-function):
12411 Use toggle-read-only.
86c60681 12412
cd5495ff
AM
124132011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12414
12415 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12416 of c-parse-state.
12417
00b77525 12418 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12419 correct faulty logical expression.
cd5495ff
AM
12420 (c-parse-state-state, c-record-parse-state-state):
12421 (c-replay-parse-state-state): New defvar/defuns.
12422 (c-debug-parse-state): Use new functions.
12423
42ee24ed
MR
124242011-10-22 Martin Rudalics <rudalics@gmx.at>
12425
12426 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12427 last fix. Use window-in-direction correctly.
42ee24ed 12428
a7dee7e7
CY
124292011-10-21 Chong Yidong <cyd@gnu.org>
12430
12431 * progmodes/idlwave.el (idlwave-mode):
12432 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12433 require-final-newline; that's done in prog-mode.
12434 Suggested by Stefan Monnier.
a7dee7e7 12435
e07b9a6d
MR
124362011-10-21 Martin Rudalics <rudalics@gmx.at>
12437
12438 * mouse.el (mouse-drag-window-above)
12439 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12440 (mouse-drag-mode-line-1, mouse-drag-header-line)
12441 (mouse-drag-vertical-line-rightward-window): Remove.
12442 (mouse-drag-line): New function.
12443 (mouse-drag-mode-line, mouse-drag-header-line)
12444 (mouse-drag-vertical-line): Call mouse-drag-line.
12445 * window.el (window-at-side-p, windows-at-side): New functions.
12446
7e1361d9
UM
124472011-10-21 Ulrich Mueller <ulm@gentoo.org>
12448
12449 * tar-mode.el (tar-grind-file-mode):
12450 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12451
30fcaf3a
CY
124522011-10-21 Chong Yidong <cyd@gnu.org>
12453
12454 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12455 * progmodes/vera-mode.el (vera-mode):
12456 Use mode-require-final-newline.
30fcaf3a 12457
516eddb0
GM
124582011-10-20 Glenn Morris <rgm@gnu.org>
12459
db22a3c2 12460 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12461
10d5f513
CS
124622011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12463
12464 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12465
ac6c8639
CY
124662011-10-20 Chong Yidong <cyd@gnu.org>
12467
12468 * emulation/cua-base.el (cua-mode):
12469 * mail/footnote.el (footnote-mode):
12470 * mail/mailabbrev.el (mail-abbrevs-mode):
12471 * net/xesam.el (xesam-minor-mode):
12472 * progmodes/bug-reference.el (bug-reference-mode):
12473 * progmodes/cap-words.el (capitalized-words-mode):
12474 * progmodes/compile.el (compilation-minor-mode)
12475 (compilation-shell-minor-mode):
12476 * progmodes/gud.el (gud-tooltip-mode):
12477 * progmodes/hideif.el (hide-ifdef-mode):
12478 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12479 * progmodes/subword.el (subword-mode):
12480 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12481 * progmodes/which-func.el (which-function-mode):
12482 * term/tvi970.el (tvi970-set-keypad-mode):
12483 * term/vt100.el (vt100-wide-mode):
12484 * textmodes/flyspell.el (flyspell-mode):
12485 * textmodes/ispell.el (ispell-minor-mode):
12486 * textmodes/nroff-mode.el (nroff-electric-mode):
12487 * textmodes/paragraphs.el (use-hard-newlines):
12488 * textmodes/refill.el (refill-mode):
12489 * textmodes/reftex.el (reftex-mode):
12490 * textmodes/rst.el (rst-minor-mode):
12491 * textmodes/sgml-mode.el (html-autoview-mode)
12492 (sgml-electric-tag-pair-mode):
12493 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12494 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12495 * emulation/crisp.el (crisp-mode):
12496 * emacs-lisp/eldoc.el (eldoc-mode):
12497 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12498 minor mode behavior.
12499
aa42ab43
JL
125002011-10-19 Juri Linkov <juri@jurta.org>
12501
12502 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12503 the list of hard-coded chars with escape-glyph face.
12504
89400f1d
SM
125052011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12506
12507 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12508
305c07f6
MA
125092011-10-19 Michael Albinus <michael.albinus@gmx.de>
12510
12511 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12512 running process.
12513
13754b54
GM
125142011-10-19 Glenn Morris <rgm@gnu.org>
12515
12516 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12517 Ignore ignored files. (Bug#9726)
12518
06e21633
CY
125192011-10-19 Chong Yidong <cyd@gnu.org>
12520
12521 Doc fix for minor modes, stating that an omitted argument enables
12522 the mode unconditionally when called from Lisp.
12523
12524 * abbrev.el (abbrev-mode):
12525 * allout.el (allout-mode):
12526 * autoinsert.el (auto-insert-mode):
12527 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12528 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12529 (global-auto-revert-mode):
12530 * battery.el (display-battery-mode):
12531 * composite.el (global-auto-composition-mode)
12532 (auto-composition-mode):
12533 * delsel.el (delete-selection-mode):
12534 * desktop.el (desktop-save-mode):
12535 * dired-x.el (dired-omit-mode):
12536 * dirtrack.el (dirtrack-mode):
12537 * doc-view.el (doc-view-minor-mode):
12538 * double.el (double-mode):
12539 * electric.el (electric-indent-mode, electric-pair-mode):
12540 * emacs-lock.el (emacs-lock-mode):
12541 * epa-hook.el (auto-encryption-mode):
12542 * follow.el (follow-mode):
12543 * font-core.el (font-lock-mode):
12544 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12545 * help.el (temp-buffer-resize-mode):
12546 * hilit-chg.el (highlight-changes-mode)
12547 (highlight-changes-visible-mode):
12548 * hi-lock.el (hi-lock-mode):
12549 * hl-line.el (hl-line-mode, global-hl-line-mode):
12550 * icomplete.el (icomplete-mode):
12551 * ido.el (ido-everywhere):
12552 * image-file.el (auto-image-file-mode):
12553 * image-mode.el (image-minor-mode):
12554 * iswitchb.el (iswitchb-mode):
12555 * jka-cmpr-hook.el (auto-compression-mode):
12556 * linum.el (linum-mode):
12557 * longlines.el (longlines-mode):
12558 * master.el (master-mode):
12559 * mb-depth.el (minibuffer-depth-indicate-mode):
12560 * menu-bar.el (menu-bar-mode):
12561 * minibuf-eldef.el (minibuffer-electric-default-mode):
12562 * mouse-sel.el (mouse-sel-mode):
12563 * msb.el (msb-mode):
12564 * mwheel.el (mouse-wheel-mode):
12565 * outline.el (outline-minor-mode):
12566 * paren.el (show-paren-mode):
12567 * recentf.el (recentf-mode):
12568 * reveal.el (reveal-mode, global-reveal-mode):
12569 * rfn-eshadow.el (file-name-shadow-mode):
12570 * ruler-mode.el (ruler-mode):
12571 * savehist.el (savehist-mode):
12572 * scroll-all.el (scroll-all-mode):
12573 * scroll-bar.el (scroll-bar-mode):
12574 * server.el (server-mode):
12575 * shell.el (shell-dirtrack-mode):
12576 * simple.el (auto-fill-mode, transient-mark-mode)
12577 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12578 (line-number-mode, column-number-mode, size-indication-mode)
12579 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12580 * strokes.el (strokes-mode):
12581 * time.el (display-time-mode):
12582 * t-mouse.el (gpm-mouse-mode):
12583 * tool-bar.el (tool-bar-mode):
12584 * tooltip.el (tooltip-mode):
12585 * type-break.el (type-break-mode-line-message-mode)
12586 (type-break-query-mode):
12587 * view.el (view-mode):
12588 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12589 (global-whitespace-mode, global-whitespace-newline-mode):
12590 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12591
a3839de2
SM
12592 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12593 Fix autogenerated docstring.
06e21633 12594
5214e501
JL
125952011-10-19 Juri Linkov <juri@jurta.org>
12596
12597 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12598 by checking environment variables "DESKTOP_SESSION" and
12599 "XDG_CURRENT_DESKTOP". (Bug#9779)
12600
195f8db9
JL
126012011-10-19 Juri Linkov <juri@jurta.org>
12602
12603 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12604 (browse-url-chromium-program, browse-url-chromium-arguments):
12605 New defcustoms.
12606 (browse-url-default-browser): Check for `browse-url-chromium' and
12607 call `browse-url-chromium-program'.
12608 (browse-url-chromium): New command. (Bug#9779)
12609
343a34ff
JB
126102011-10-18 Juanma Barranquero <lekktu@gmail.com>
12611
12612 * facemenu.el (list-colors-duplicates): On Windows, detect more
12613 duplicates by assuming that only colors matching "^System" are
12614 special "system colors". (Bug#9722)
12615
6978a151
SM
126162011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12617
12618 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12619 to distinguish the author from the committer.
12620
6a80b297
MA
126212011-10-18 Michael Albinus <michael.albinus@gmx.de>
12622
12623 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12624
b31a5677
JK
126252011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12626
12627 * international/mule.el (sgml-html-meta-auto-coding-function):
12628 Add support for detecting encoding in HTML5 specified only as
12629 <meta charset="UTF-8">. Implementation just makes http-equiv and
12630 content-type parts from HTML4 encoding string optional. (Bug#9716)
12631
80c6d77f
GM
126322011-10-18 Glenn Morris <rgm@gnu.org>
12633
12634 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12635
08b0fee8
CY
126362011-10-18 Chong Yidong <cyd@gnu.org>
12637
12638 * faces.el (cursor): Doc fix.
12639
67e729a5
CY
126402011-10-17 Chong Yidong <cyd@gnu.org>
12641
12642 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12643
343a34ff 126442011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12645
12646 * dirtrack.el (dirtrack): Support shell buffers with path
12647 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12648
0bc06380
TZ
126492011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12650
12651 * json.el: Bump version to 1.3 and note change in History.
12652 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12653
8b79f3e0
SM
126542011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12655
5a7c536b
SM
12656 * comint.el (comint-insert-input, comint-send-input)
12657 (comint-get-old-input-default, comint-backward-matching-input)
12658 (comint-next-prompt): Use nil instead of `input' for field property of
12659 past user input (bug#114).
12660
96a8a0df
SM
12661 * minibuffer.el (completion--replace): Inherit surrounding properties
12662 (bug#114).
12663 (minibuffer-complete-and-exit): Use it.
12664
8b79f3e0
SM
12665 * comint.el (comint--table-subvert): Quote the all-completions output
12666 (bug#9160).
12667
b8f7ff0d
MR
126682011-10-17 Martin Rudalics <rudalics@gmx.at>
12669
8b79f3e0 12670 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12671
b8f7ff0d 12672 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12673 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12674 entries and separate them from frame entries.
12675
c235b555
GM
126762011-10-15 Glenn Morris <rgm@gnu.org>
12677
12678 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12679 Doc fixes.
12680
6bbfa6e1
CY
126812011-10-15 Chong Yidong <cyd@stupidchicken.com>
12682
8b79f3e0
SM
12683 * net/network-stream.el (network-stream-open-starttls):
12684 Improve detection of failure due to lack of TLS support.
ec5c990d 12685
6bbfa6e1
CY
12686 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12687 putting the input text in front and in bold.
12688
98488977
SM
126892011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12690
3d1337be
SM
12691 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12692
ee0b45e4
SM
12693 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12694 empty buffer.
12695
98488977
SM
12696 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12697 unread-command-events rather than pushing yet-another event.
12698
186f4720
EZ
126992011-10-14 Eli Zaretskii <eliz@gnu.org>
12700
12701 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12702 the explanation of the possible choices. Make the options passed
12703 to completing-read shorter.
12704
8b7a997c
AM
127052011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12706
12707 * textmodes/flyspell.el (flyspell-large-region): Make sure
12708 extended character mode is used if defined (Bug#1339).
12709
12587bbb
EZ
127102011-10-13 Eli Zaretskii <eliz@gnu.org>
12711
12712 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12713 character info for LRE, LRO, RLE, and RLO characters by appending
12714 an invisible PDF.
12587bbb 12715
bad41229
SM
127162011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12717
12718 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12719 even in case of error; add debug spec; simplify data flow.
12720 (with-timeout-handler): Remove.
12721
28dbc92f
MA
127222011-10-12 Michael Albinus <michael.albinus@gmx.de>
12723
12724 Fix Bug#6019, Bug#9315.
12725
12726 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12727 complete `buffer-file-name', the local file name part could look
12728 remotely (for example on VMS).
12729
12730 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12731 `tramp-run-real-handler'.
12732 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12733 already quoted by '"'.
12734
12735 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12736 Let `file-name-handler-alist' be nil, the local file name part
12737 could look remotely (for example on VMS).
12738
e1b0b23a
SM
127392011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12740
12741 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12742 from here...
12743 (flyspell-post-command-hook): ...to here.
12744
a120bde9
SM
127452011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12746
12747 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12748 if not needed.
12749 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12750 using completion. Protect against "slow" callers.
12751 Remove the "message hack".
12752
7ce7717b
JL
127532011-10-11 Juri Linkov <juri@jurta.org>
12754
12755 * isearch.el (isearch-lazy-highlight-word): New variable.
12756 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12757 Use it. (Bug#9727)
12758
c02ee9d6
GM
127592011-10-11 Glenn Morris <rgm@gnu.org>
12760
12761 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12762 like f90-previous-statement does.
12763
93e616fd 127642011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12765
1f190e73 12766 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12767 only in interactive use, to avoid error.
12768
af7b6078
SM
127692011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * minibuffer.el (completion-file-name-table): Fix last change,
12772 i.e. ignore normal errors but not the other ones.
12773
0563dae9
MR
127742011-10-10 Martin Rudalics <rudalics@gmx.at>
12775
12776 * window.el (special-display-buffer-names)
12777 (special-display-regexps): Remove some remnants of earlier
12778 changes from doc-strings.
366ca7f3
MR
12779 (quit-windows-on): New function.
12780
12781 * vc/vc.el (vc-revert, vc-rollback):
12782 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12783 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12784 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12785
49677495
MR
127862011-10-09 Martin Rudalics <rudalics@gmx.at>
12787
12788 * window.el (frame-auto-hide-function): Add version tag.
12789 (Bug#9699)
12790
56f2d1e1
MA
127912011-10-09 Michael Albinus <michael.albinus@gmx.de>
12792
12793 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12794 condition.
12795
112a6592
LL
127962011-10-09 Leo Liu <sdl.web@gmail.com>
12797
12798 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12799 (Bug#9701)
12800
0812589b
GM
128012011-10-08 Glenn Morris <rgm@gnu.org>
12802
12803 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12804 before the first code statement zero indent. (Bug#9690)
12805
b2b0776e
CY
128062011-10-08 Chong Yidong <cyd@stupidchicken.com>
12807
12808 * simple.el (count-words-region): Always count in the region.
12809 Report the number of lines and characters too.
12810 (count-words): New command, which counts in the buffer if the
12811 region is inactive, as count-words-region used to.
12812 (count-words--message): New function. Handle plurals.
12813 (count-lines-region): Make it an alias for count-words-region.
12814
12815 * bindings.el (esc-map): Replace count-lines-region with
12816 count-words-region.
12817
c557cd6b
MR
128182011-10-08 Martin Rudalics <rudalics@gmx.at>
12819
12820 * window.el (window--delete): Delete dedicated frame
12821 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12822 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12823
61a57ef4 128242011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12825
3a7d293b 12826 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12827
c3833279
CY
128282011-10-07 Chong Yidong <cyd@stupidchicken.com>
12829
12830 * bindings.el ([M-left],[M-right]): Bind to left-word and
12831 right-word respectively.
12832
21ce8245
GM
128332011-10-07 Glenn Morris <rgm@gnu.org>
12834
12835 * cus-start.el (debug-on-quit): Fix custom type.
12836
6d823bb2
LMI
128372011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12838
0181e193
LMI
12839 * subr.el (define-key-after): Clarify that the function is not
12840 useful for non-menu keymaps.
12841
6d823bb2
LMI
12842 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12843
8e3459ce 128442011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12845
21ce8245 12846 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12847 in current minibuffer (Fix bug with recursive minibuffers).
12848
a1c2d21e
CY
128492011-10-06 Chong Yidong <cyd@stupidchicken.com>
12850
12851 * progmodes/gdb-mi.el (gdb): Doc fix.
12852
5a4cf282
MR
128532011-10-05 Martin Rudalics <rudalics@gmx.at>
12854
12855 * window.el (frame-auto-hide-function): New option replacing
12856 frame-auto-delete. Suggested by Stefan Monnier.
12857 (window--delete): Call frame-auto-hide-function instead of
12858 investigating frame-auto-delete.
c96111ea
MR
12859 (window-point-1, set-window-point-1): New functions.
12860 (window-in-direction, record-window-buffer, window-state-get-1)
12861 (display-buffer-record-window): Use window-point-1 instead of
12862 window-point.
12863 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12864
9854542e
SM
128652011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12866
12867 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12868
8943cfb0
GM
128692011-10-05 Glenn Morris <rgm@gnu.org>
12870
12871 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12872 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12873
647ab967
LL
128742011-10-05 Leo Liu <sdl.web@gmail.com>
12875
12876 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12877 works with buffer object.
12878
3ddfbced
SM
128792011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12880
12881 * mpc.el (mpc-tool-bar-map): Add labels.
12882
bdfa5dd2
GM
128832011-10-04 Glenn Morris <rgm@gnu.org>
12884
12885 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12886
0e2070b5
MR
128872011-10-04 Martin Rudalics <rudalics@gmx.at>
12888
12889 * window.el (window--delete): New function.
12890 (frame-auto-delete): Resuscitate option.
12891 (bury-buffer, replace-buffer-in-windows)
12892 (quit-window): Rewrite using window--delete.
12893 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12894 Pass display-buffer-mark-dedicated to window--display-buffer-2
12895 (Bug#9639).
12896
3dc61a09
SM
128972011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12898
915a9b64
SM
12899 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12900 returns a list (bug#9554). Add remote file name completion.
12901 * comint.el (comint--table-subvert): Curry and get quote&unquote
12902 functions as arguments.
12903 (comint--complete-file-name-data): Adjust call accordingly.
12904 * pcomplete.el (pcomplete--table-subvert): Remove.
12905 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12906
3dc61a09
SM
12907 * minibuffer.el (completion-table-case-fold): Use currying.
12908 (completion--styles-type, completion--cycling-threshold-type):
12909 New constants.
12910 (completion-styles, completion-category-overrides)
12911 (completion-cycle-threshold): Use them.
12912 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12913 completion-table-case-fold.
12914
8ea0a993
SB
129152011-10-03 Stephen Berman <stephen.berman@gmx.net>
12916
12917 * minibuffer.el (completion-category-overrides): Fix type of styles
12918 and add more user friendly tags (bug#9660).
12919
8c24b7f6
SM
129202011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12921
12922 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12923 (mule-input-method-string): New widget.
12924 (default-input-method, language-info-custom-alist): Use it.
12925
428fe61a
SM
129262011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12927
32c1fffd
SM
12928 * pcomplete.el: Require comint.
12929 (pcomplete--common-suffix): Remove.
12930 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12931 (pcomplete--table-subvert): Sync with comint--table-subvert.
12932 (pcomplete--entries): Use comint-completion-file-name-table.
12933 * comint.el (comint-unquote-filename): Simplify.
12934 (comint-completion-file-name-table): New function (bug#9616).
12935 (comint--complete-file-name-data): Use it.
12936
428fe61a
SM
12937 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12938 (pcmpl-gnu-tar-buffer): Remove.
12939 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12940 around. Make sure pcomplete-suffix-list is only changed temporarily.
12941 Don't look inside the tar's file if it's too large.
428fe61a 12942
04c52e2f
CY
129432011-10-01 Chong Yidong <cyd@stupidchicken.com>
12944
ce3cefcc
CY
12945 * cus-edit.el (custom-mode-map):
12946 * epa.el (epa-key-list-mode-map):
12947 * man.el (Man-mode-map):
12948 * startup.el (splash-screen-keymap):
12949 * simple.el (special-mode-map): Use scroll-up-command and
12950 scroll-down-command.
12951
12952 * progmodes/idlw-help.el (idlwave-help-mode-map):
12953 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12954 * net/newst-plainview.el (newsticker-mode-map):
12955 * emulation/ws-mode.el (wordstar-mode-map):
12956 * emulation/vi.el (vi-com-map):
12957 * calc/calc-graph.el (calc-graph-show-dumb):
12958 * term/sun.el (terminal-init-sun):
12959 * term/ns-win.el (global-map):
12960 * progmodes/grep.el (grep-mode-map):
12961 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12962 * mail/rmail.el (rmail-mode-map):
12963 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12964
04c52e2f
CY
12965 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12966 custom-safe-themes as special.
12967
79adf8c8
JD
129682011-10-01 Julien Danjou <julien@danjou.info>
12969
12970 * notifications.el (notifications-notify): Fix docstring.
12971
63bd50d3
PS
129722011-10-01 Per Starbäck <per@starback.se>
12973
12974 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12975
199e4c7e
MR
129762011-09-30 Martin Rudalics <rudalics@gmx.at>
12977
12978 * startup.el (command-line-1): Fix last fix by inserting
12979 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 12980 (Bug#9605) and (Bug#9636)
199e4c7e 12981
fe5f08dd
EZ
129822011-09-29 Eli Zaretskii <eliz@gnu.org>
12983
12984 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12985 window is hscrolled, move by logical lines. (Bug#9607)
12986 (line-move-visual): Update the doc string to the above effect.
12987
b5516bbd
MR
129882011-09-29 Martin Rudalics <rudalics@gmx.at>
12989
ccee00c0
MR
12990 * window.el (display-buffer-record-window): When WINDOW is the
12991 selected window use `point' instead of `window-point'. (Bug#9626)
12992
b5516bbd
MR
12993 * startup.el (command-line-1): Use insert-before-markers when
12994 inserting initial-scratch-message. (Bug#9605)
ccee00c0 12995
b5516bbd
MR
12996 * help.el (help-window): Remove variable.
12997
52aa0014
GM
129982011-09-29 Glenn Morris <rgm@gnu.org>
12999
13000 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13001
df9a7357
JB
130022011-09-29 Juanma Barranquero <lekktu@gmail.com>
13003
13004 * descr-text.el (describe-char-categories): Accept category
13005 descriptions more than one line long.
13006
a8406c20
SM
130072011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13008
88d9610c
SM
13009 * simple.el (delete-trailing-whitespace): Fix last change.
13010
a5daf810
SM
13011 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13012 Don't confuse "y => 3" as the beginning of a `y' operation.
13013
a8406c20
SM
13014 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13015 object has more than 4 slots (bug#9613).
13016
a239d4e9
JB
130172011-09-28 Juanma Barranquero <lekktu@gmail.com>
13018
13019 * subr.el (with-output-to-temp-buffer):
13020 * net/quickurl.el (quickurl, quickurl-browse-url):
13021 Fix typos in docstrings.
13022
693fbdb6
EZ
130232011-09-27 Eli Zaretskii <eliz@gnu.org>
13024
13025 * minibuffer.el (completion-styles)
13026 (completion-category-overrides): Cross reference each other in doc
13027 strings.
13028
8b457e28
GM
130292011-09-27 Glenn Morris <rgm@gnu.org>
13030
13031 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13032 to split-string. (Bug#9606)
13033
85a16208
LMI
130342011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13035
13036 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13037 (bug#9615).
13038
502f9ebd
CY
130392011-09-27 Chong Yidong <cyd@stupidchicken.com>
13040
13041 * emacs-lisp/package.el (list-packages): Fix echo area message.
13042
7690bdea
LL
130432011-09-27 Leo Liu <sdl.web@gmail.com>
13044
13045 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13046
e2ee6f30
MA
130472011-09-25 Michael Albinus <michael.albinus@gmx.de>
13048
13049 * net/dbus.el (dbus-unregister-object): Don't release services for
13050 registered signals. (Bug#9581)
13051
f3f98342
TZ
130522011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13053
13054 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13055 function that picks between cfengine 2 and 3 support
13056 automatically. Update docs accordingly.
13057
dd7aa8dd
KH
130582011-09-22 Kenichi Handa <handa@m17n.org>
13059
13060 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13061 ZERO.
13062 (indian-itrans-v5-table-for-tamil): New variable.
13063 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13064
3f2b07f8
KM
130652011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13066
13067 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13068 that's true if the current command involved collapsing of text.
13069 It's reset to false at the beginning of the next command.
13070 (allout-post-command-business): Move the cursor to the beginning
13071 of entry if the cursor is hidden and collapsing activity just
13072 happened.
13073
371d6a61
CY
130742011-09-24 Chong Yidong <cyd@stupidchicken.com>
13075
13076 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13077 tracking (Bug#9541).
13078
2ac2721a
UJ
130792011-09-24 Ulf Jasper <ulf.jasper@web.de>
13080
13081 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13082 (newsticker-show-news): Automatically load html rendering package
13083 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13084 because w3m-fill-column is let-bound" and the error "Symbol's value
13085 as variable is void: w3m-fill-column".
2ac2721a 13086
fac7ae53
MA
130872011-09-24 Michael Albinus <michael.albinus@gmx.de>
13088
13089 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13090 Release services only if they are defined. (Bug#9581)
13091
e08b633b
RS
130922011-09-23 Richard Stallman <rms@gnu.org>
13093
e488d29c
RS
13094 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13095 distinguish start of paragraph from start of its text.
13096
19c38752
RS
13097 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13098
e08b633b
RS
13099 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13100 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13101 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13102
0a39f27e
AS
131032011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13104
13105 * international/mule-diag.el (mule-diag): Insert a newline after
13106 each fontset description.
13107
db4e950d
SM
131082011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13109
13110 * simple.el (delete-trailing-whitespace):
13111 Document last change; simplify.
13112
eca3f3ea
PW
131132011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13114
d68e189a
PW
13115 * simple.el (delete-trailing-whitespace): Also delete
13116 extra newlines at the end of the buffer.
13117
eca3f3ea
PW
13118 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13119 (picture-newline): Use forward-line so as to ignore fields.
13120
01c157cc
SM
131212011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13122
13123 * subr.el (with-wrapper-hook): Fix edebug spec.
13124
022de23e
LMI
131252011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13126
13127 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13128 (bug#4538).
13129
91683089
MA
131302011-09-23 Michael Albinus <michael.albinus@gmx.de>
13131
eca3f3ea
PW
13132 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13133 Fix nasty bug using wrong cached values.
91683089 13134
5bdd6fa4
AM
131352011-09-23 Alan Mackenzie <acm@muc.de>
13136
13137 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13138
97adfb97
CY
131392011-09-23 Chong Yidong <cyd@stupidchicken.com>
13140
13141 * window.el (pop-to-buffer): Ensure right window is selected if we
13142 chose another frame.
13143
d4ef2b50
EZ
131442011-09-22 Eli Zaretskii <eliz@gnu.org>
13145
13146 * simple.el (what-cursor-position): Use get-char-property-change
13147 and next-single-char-property-change, to be able to show display
13148 properties that come from overlays as well as text properties.
13149
72258fe5
CY
131502011-09-22 Chong Yidong <cyd@stupidchicken.com>
13151
13152 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13153
13154 * cmuscheme.el (run-scheme, switch-to-scheme):
13155 * cus-edit.el (customize-group, custom-buffer-create)
13156 (customize-browse):
13157 * info.el (info):
13158 * shell.el (shell):
13159 * mail/sendmail.el (mail):
13160 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13161
8f098516
RS
131622011-09-22 Richard Stallman <rms@gnu.org>
13163
13164 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13165 move back only to line beg, don't move back over blank lines.
13166
e74f1bb6
MA
131672011-09-22 Michael Albinus <michael.albinus@gmx.de>
13168
13169 * files.el (copy-directory): Set directory attributes only in case
13170 they could be retrieved from the source directory. (Bug#9565)
13171
bfeef8b6
DK
131722011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13173
13174 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13175 (hs-find-block-beginning, hs-hide-level-recursive):
13176 Ignore strings as well as comments. (Bug#9502)
13177
7e423bb8
AS
131782011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13179
13180 * progmodes/sql.el (sql-comint-postgres):
13181 Convert port number to a string. (Bug#9566)
13182
b4d72fcf
MR
131832011-09-22 Martin Rudalics <rudalics@gmx.at>
13184
13185 * window.el (quit-window): Undedicate window when switching to
13186 previous buffer. Reported by Thierry Volpiatto
13187 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13188 (special-display-popup-frame): When popping up a new frame reset
13189 its previous buffers to nil. Simplify code.
b4d72fcf 13190
a7b88dc6
MA
131912011-09-21 Michael Albinus <michael.albinus@gmx.de>
13192
13193 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13194 and process filter, as done also in `shell-command'.
13195
cf4eacfd
MR
131962011-09-21 Martin Rudalics <rudalics@gmx.at>
13197
eca3f3ea 13198 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13199 Call set-window-start with NOFORCE argument t.
13200 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13201 (quit-window): Reword doc-string. Handle new format of
13202 quit-restore parameter. Don't delete window if it has a
13203 previous buffer we can show instead of the present one.
13204 (display-buffer-record-window): Rewrite using a new format for
13205 the quit-restore window parameter
13206 (special-display-popup-frame, display-buffer-same-window)
13207 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13208 (display-buffer-pop-up-window, display-buffer-use-some-window):
13209 Adapt symbol passed to display-buffer-record-window.
13210 * help.el (help-window-setup): Handle new format of quit-restore
13211 parameter.
13212
8d28cb95
SM
132132011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13214
94ab793f
SM
13215 * faces.el (face-list): Fix docstring (bug#9564).
13216
8d28cb95
SM
13217 * window.el (display-buffer--action-function-custom-type):
13218 Don't include internal functions in the Custom interface.
13219
3820edeb
JL
132202011-09-20 Juri Linkov <juri@jurta.org>
13221
13222 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13223 (Info-forward-node, Info-backward-node, Info-next-preorder)
13224 (Info-last-preorder): Use it. (Bug#9528)
13225
5147931d
JL
132262011-09-20 Juri Linkov <juri@jurta.org>
13227
13228 * info.el (Info-last-preorder): Visit last menu item only when
13229 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13230
cf499a1a
JD
132312011-09-20 Julien Danjou <julien@danjou.info>
13232
13233 * password-cache.el (password-cache-remove): Remove entries even if the
13234 value is nil, so that password with a nil value (negative caching) is
13235 possible to invalidate.
13236
f84e2fe2
LM
132372011-09-20 Lawrence Mitchell <wence@gmx.li>
13238
13239 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13240 all whitespace around breakpoint. (Bug#9553)
13241 (f90-find-breakpoint): Only break at whitespace inside a comment.
13242
78054a46
SM
132432011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13244
13245 * minibuffer.el (completion-file-name-table): Keep track of errors.
13246 (completion-table-with-predicate): Handle the case where pred1 is nil.
13247 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13248
345083b2
SM
132492011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13250
e24e27be
SM
13251 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13252 (debugger-return-value): Signal an error if the debugging context does
13253 not await any return value.
13254
345083b2
SM
13255 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13256 * image-mode.el (image-toggle-display-text)
13257 (image-toggle-display-image): Stay away from evil `intangible'.
13258
08d355e3
LL
132592011-09-19 Leo Liu <sdl.web@gmail.com>
13260
13261 * replace.el (occur-revert-arguments): Make it permanent-local.
13262 (occur-mode): Don't call font-lock-defontify.
13263
f01da43f
CY
132642011-09-19 Chong Yidong <cyd@stupidchicken.com>
13265
13266 * net/ldap.el (ldap-search-internal): Don't push empty search
13267 result (Bug#9508).
13268
b6072fa6
SM
132692011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13270
13271 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13272
443d6696
MA
132732011-09-19 Michael Albinus <michael.albinus@gmx.de>
13274
13275 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13276 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13277
7cc6e154
JL
132782011-09-18 Juri Linkov <juri@jurta.org>
13279
13280 * buff-menu.el (Buffer-menu-mode-map):
13281 * dired.el (dired-mode-map):
13282 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13283 (lisp-interaction-mode-map):
13284 * emacs-lisp/package.el (package-menu-mode-map):
13285 * epa.el (epa-key-list-mode-map):
13286 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13287 (menu-bar-options-menu):
13288 * outline.el (outline-mode-menu-bar-map):
13289 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13290 * vc/vc-dir.el (vc-dir-menu-map):
13291 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13292 Capitalize non-function content words in menu item strings.
13293
13294 * dired.el (dired-mode-map): Add menu item for
13295 `image-dired-dired-toggle-marked-thumbs'.
13296
80302a81
JL
132972011-09-18 Juri Linkov <juri@jurta.org>
13298
13299 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13300 to `isearch-case-fold-search' and restore its original value
13301 after the `isearch-mode' call.
13302
46c5cf66
JL
133032011-09-18 Juri Linkov <juri@jurta.org>
13304
13305 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13306 because `zgrep' returns 1 for successful matches (bug#9226).
13307
d18b513b
JL
133082011-09-18 Juri Linkov <juri@jurta.org>
13309
13310 * info.el (Info-extract-menu-node-name): Check the second match
13311 for empty string (second test-case of bug#9528).
13312 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13313 intermediate nodes to the history (first test-case of bug#9528).
13314
72753f87
JL
133152011-09-18 Juri Linkov <juri@jurta.org>
13316
13317 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13318 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13319
c9384295
JL
133202011-09-18 Juri Linkov <juri@jurta.org>
13321
1154d12e
JB
13322 * info.el (Info-file-supports-index-cookies):
13323 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13324 outputs one more line for long file names (bug#4142).
c9384295 13325
d473dce8
CY
133262011-09-18 Chong Yidong <cyd@stupidchicken.com>
13327
13328 * newcomment.el (comment-normalize-vars): If prompting for
13329 comment-start, set comment-start-skip too (Bug#8424).
13330
2176854d
JB
133312011-09-18 Johan Bockgård <bojohan@gnu.org>
13332
13333 * icomplete.el: Fix previous fix of Bug#5849.
13334 (icomplete-mode): Don't set completion-show-inline-help.
13335 (icomplete-minibuffer-setup): Set completion-show-inline-help
13336 locally during icompletion.
13337
3aace4e4
CY
133382011-09-18 Chong Yidong <cyd@stupidchicken.com>
13339
c940224f
CY
13340 * woman.el (woman2-process-escapes): Don't delete unrecognized
13341 escapes (Bug#7843).
13342
3aace4e4
CY
13343 * files.el (inhibit-first-line-modes-regexps): Add image files.
13344 (hack-local-variables-prop-line): Return nil for malformed
13345 prop-lines (Bug#9044).
13346
710dec63
MA
133472011-09-18 Michael Albinus <michael.albinus@gmx.de>
13348
13349 * net/tramp.el (top): Don't require 'shell.
13350 (tramp-methods): Fix docstring.
13351 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13352 Return complete remote file name. Handle "smb" case.
13353 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13354 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13355
13356 * net/tramp-compat.el (top): Require 'shell.
13357
13358 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13359 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13360 `tramp-current-host'.
13361 (tramp-get-remote-tmpdir): Remove.
13362
13363 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13364 `tramp-tmpdir' entries.
13365 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13366 (tramp-smb-handle-file-attributes): Ignore errors.
13367 (tramp-smb-wait-for-output): Check also for process end.
13368
5d5ac8ec
LMI
133692011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13370
13371 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13372 when sending QUIT (bug#9312).
13373
8c0f49f0
CY
133742011-09-17 Chong Yidong <cyd@stupidchicken.com>
13375
13376 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13377 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13378 occur-mode-display-occurrence.
13379 (occur-edit-mode): Add usage message.
13380 (occur-cease-edit): New command.
13381 (occur-after-change-function): Use text properties to find the
13382 position of the prefix text.
13383 (occur-engine): Set stickiness of prefix text properties.
13384
8f1383f7
GM
133852011-09-17 Glenn Morris <rgm@gnu.org>
13386
13387 * progmodes/etags.el (complete-tag):
13388 Fix call to completion-in-region. (Bug#9526)
13389
744ba0e3
JL
133902011-09-17 Juri Linkov <juri@jurta.org>
13391
13392 * textmodes/ispell.el (ispell-word): Add to the error message
13393 the word, ispell program name and current dictionary (bug#9121).
13394 (ispell-tex-arg-end): Capitalize "error" in the error message.
13395
d9bbf400
AS
133962011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13397
13398 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13399 check. (Bug#4251)
13400
8da11505
JL
134012011-09-17 Juri Linkov <juri@jurta.org>
13402
13403 * window.el (window-safe-min-height, window-safe-min-width):
13404 Fix typos (followup to bug#9522).
13405
a91adc7e
SJ
134062011-09-17 Sven Joachim <svenjoac@gmx.de>
13407
13408 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13409
064f328a
EZ
134102011-09-16 Eli Zaretskii <eliz@gnu.org>
13411
13412 * simple.el (line-move): If goal-column is set, move by logical
13413 lines, not by display lines. (Bug#971)
13414 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13415 to reflect the above change.
13416
e69df516
SM
134172011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13418
13419 * image.el (imagemagick-register-types): Use regexp-opt.
13420
cbb0f9ab
CY
134212011-09-15 Chong Yidong <cyd@stupidchicken.com>
13422
13423 * window.el (display-buffer-base-action): Rename from
13424 display-buffer-default-action. Make default value empty.
13425 (display-buffer-overriding-action): Convert to defvar.
13426 (display-buffer-fallback-action): New var.
13427
25322144
CY
134282011-09-15 Chong Yidong <cyd@stupidchicken.com>
13429
13430 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13431 declaration.
13432 (package--add-to-archive-contents): If there is a duplicate entry
13433 with an older version, remove it.
13434 (package-menu-mark-delete, package-menu-mark-install)
13435 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13436 (package-menu-mark-obsolete-for-deletion):
13437 Use package-menu-get-status instead of a regexp search.
25322144
CY
13438 (package-menu-get-status): Use tabulated-list-entry.
13439 (package-menu-mark-upgrades): New command.
d770725a 13440 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13441 (package-menu-execute): Do installation before deletion.
13442 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13443 instead of checking major-mode.
13444 (package-menu--find-upgrades): New function.
13445
7520339c
LMI
134462011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13447
13448 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13449 passwords in the log buffer.
65a046c4
LMI
13450 (smtpmail-process-filter): Update the process marker so that the
13451 "broken by peer" status message is inserted in the right place.
7520339c 13452
d3c30954
SM
134532011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13454
3fe48822
SM
13455 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13456 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13457 bibtex-completion-at-point-function.
13458 (bibtex-completion-at-point-function): Use them.
13459
1b8b3954
SM
13460 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13461
d3c30954
SM
13462 * mpc.el (mpc-constraints-tag-lookup): New function.
13463 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13464 also to browser "album|playlist".
13465
72779976
JL
134662011-09-14 Juri Linkov <juri@jurta.org>
13467
13468 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13469 (isearch-edit-string): Use length of `isearch-string' when
13470 `isearch-fail-pos' returns nil.
13471 (isearch-message): Remove duplicate code and call
13472 `isearch-fail-pos' with arg `t'.
13473
a0bf2bcd
CY
134742011-09-14 Chong Yidong <cyd@stupidchicken.com>
13475
17bb0a2d
CY
13476 * replace.el (occur-mode-goto-occurrence): Don't force using other
13477 window (Bug#9499).
13478
a0bf2bcd
CY
13479 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13480
f678e0b6
MR
134812011-09-14 Martin Rudalics <rudalics@gmx.at>
13482
13483 * window.el (display-buffer-window): Remove.
13484 (display-buffer-record-window): Use help-setup window parameter
13485 instead of variable display-buffer-window.
13486 (display-buffer-function, special-display-buffer-names)
13487 (special-display-function): Mention help-setup parameter instead
13488 of display-buffer-window in doc-string.
d3c30954
SM
13489 * help.el (help-window-setup): New argument help-window.
13490 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13491 Reword some messages.
13492 (with-help-window): Pass window used for displaying the buffer
13493 to help-window-setup. Don't set display-buffer-window.
13494
8e39b2e8
GM
134952011-09-13 Glenn Morris <rgm@gnu.org>
13496
13497 * emacs-lisp/debug.el (debugger-make-xrefs):
13498 Preserve point. (Bug#9462)
13499
85e9c04b
CY
135002011-09-13 Chong Yidong <cyd@stupidchicken.com>
13501
13502 * window.el (window-deletable-p): Use next-frame.
13503
1b36ed6a
MR
135042011-09-13 Martin Rudalics <rudalics@gmx.at>
13505
13506 * window.el (window-auto-delete): Remove.
13507 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13508 dedication and previous buffers.
1b36ed6a
MR
13509 (switch-to-prev-buffer): Don't delete window.
13510 (delete-windows-on): Delete a window's frame if and only if the
13511 window is dedicated.
13512 (replace-buffer-in-windows): Delete buffer's window or frame if
13513 and only if window is dedicated.
13514 (quit-window): Handle quit-restore as before last change.
4d61f28d 13515 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13516
ef8ef9fb
CY
135172011-09-13 Chong Yidong <cyd@stupidchicken.com>
13518
13519 * window.el (window-deletable-p): Never delete the last frame on a
13520 given terminal.
13521
b2cba41e
GM
135222011-09-13 Glenn Morris <rgm@gnu.org>
13523
13524 * help.el (describe-key-briefly): Copy previous standard-output change.
13525
51553db6 135262011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13527
13528 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13529
b7556719
GM
135302011-09-13 Glenn Morris <rgm@gnu.org>
13531
13532 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13533 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13534
64b51947
CY
135352011-09-12 Chong Yidong <cyd@stupidchicken.com>
13536
13537 * dired-aux.el (dired-mark-read-string): Don't return default
13538 value on empty input (Bug#9361).
13539 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13540 Omit initial minibuffer contents.
13541 (dired-do-chmod): Signal an error on empty input.
13542 (dired-mark-read-string): Don't return default on empty input.
13543
13544 * files.el (file-modes-symbolic-to-number): Doc fix.
13545
393a301e
SM
135462011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13547
13548 * international/mule-cmds.el (ucs-completions): Remove.
13549 (read-char-by-name): Use complete-with-action instead; add metadata.
13550
fa5660f9
CY
135512011-09-11 Chong Yidong <cyd@stupidchicken.com>
13552
13553 * window.el (display-buffer--action-function-custom-type)
13554 (display-buffer--action-custom-type): New vars.
13555 (display-buffer-alist, display-buffer-default-action)
13556 (display-buffer-overriding-action): Add defcustom types.
13557
4a592f66
CY
13558 * frame.el (delete-other-frames): Doc fix (Bug#276).
13559
73d56dbd
LMI
135602011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13561
13562 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13563
37ac18a3
CY
135642011-09-11 Chong Yidong <cyd@stupidchicken.com>
13565
13566 Change modes that used same-window-* vars to use switch-to-buffer.
13567
13568 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13569 Use switch-to-buffer.
13570
13571 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13572 (customize-browse, custom-buffer-create-other-window):
13573 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13574
13575 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13576 (Info-prev, Info-up, Info-speedbar-goto-node)
13577 (info-display-manual): Use switch-to-buffer.
13578 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13579
13580 * mail/sendmail.el (mail): Use switch-to-buffer.
13581 (mail-recover): Use switch-to-buffer-other-window.
13582
13583 * cmuscheme.el (run-scheme, switch-to-scheme):
13584 * ielm.el (ielm):
13585 * shell.el (shell):
13586 * net/rlogin.el (rlogin):
13587 * net/telnet.el (telnet, rsh):
13588 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13589
10195bd6
AS
135902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13591
13592 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13593
b322f63a
LMI
135942011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13595
39d7fed6
LMI
13596 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13597 so don't mention it (bug#9301).
ba5a81f1 13598 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13599
ee0e9f11
LMI
13600 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13601 match `x', `w32' and `ns', like the manual says (bug#9029).
13602
0b1c89c1 13603 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13604 (process-kill-buffer-query-function): Mention the buffer name in
13605 the query.
0b1c89c1 13606
77549ea8
LMI
13607 * image-mode.el (image-next-line): The line parameter is mandatory
13608 (bug#9258).
13609
803ef892
LMI
13610 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13611 which can be useful (bug#9301).
13612
12980837
LMI
13613 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13614
91054f8f
LMI
13615 * subr.el (match-string): Mention that the current buffer should
13616 be the same as the search was done in (bug#9282).
13617
b322f63a
LMI
13618 * facemenu.el: Disable the remove-* commands if the mark isn't
13619 active (bug#9162).
13620
3199b96f
CY
136212011-09-10 Chong Yidong <cyd@stupidchicken.com>
13622
13623 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13624 of display-buffer.
13625 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13626
13627 * replace.el (occur-mode-goto-occurrence)
13628 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13629 and display-buffer.
13630
13631 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13632 display-buffer.
13633
13634 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13635 special-display and same-window variables.
13636 (mail-other-window): Use switch-to-buffer-other-window.
13637 (mail-other-frame): USe switch-to-buffer-other-frame.
13638
393a301e
SM
13639 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13640 Use display-buffer-other-frame.
3199b96f
CY
13641 (gdb-display-gdb-buffer): Use pop-to-buffer.
13642
13643 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13644
13645 * progmodes/python.el: Don't set same-window-buffer-names.
13646
13647 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13648
13649 * window.el (display-buffer-alist): Add *Python*.
13650
8319e0bf
CY
136512011-09-10 Chong Yidong <cyd@stupidchicken.com>
13652
13653 * window.el (display-buffer-alist): Add entry for buffers
13654 previously handled same-window-*.
13655 (display-buffer-alist, display-buffer-default-action)
13656 (display-buffer-overriding-action): Mark as risky.
13657 (display-buffer-alist): Document action function changes.
13658 (display-buffer--same-window-action)
13659 (display-buffer--other-frame-action): New variables.
13660 (switch-to-buffer, display-buffer-other-frame): Use them.
13661 (display-buffer): Rename reuse-frame entry to reusable-frames.
13662 (display-buffer-reuse-selected-window): Function deleted.
13663 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13664 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13665 (display-buffer-special): New function.
13666 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13667 display-buffer-reuse-or-pop-window. Split off special-display
13668 part into display-buffer-special.
13669 (display-buffer-use-some-window): Don't perform any special
13670 pop-up-frames handling.
13671 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13672 (display-buffer--maybe-same-window): Rename from
0d3ff375 13673 display-buffer-maybe-same-window.
8319e0bf 13674
919a69aa
CY
13675 * info.el: Don't set same-window-regexps.
13676 (info-setup): New function.
13677 (info-other-window, info): Call it.
13678
13679 * cus-edit.el: Don't set same-window-regexps.
13680 (customize-group): New argument.
13681 (customize-group-other-window): Use it.
13682 (customize-face, customize-face-other-window): Likewise.
13683 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13684
8319e0bf
CY
13685 * net/rlogin.el:
13686 * net/telnet.el:
13687 * progmodes/gud.el: Don't set same-window-regexps.
13688
13689 * cmuscheme.el:
13690 * ielm.el:
13691 * shell.el:
13692 * mail/sendmail.el:
13693 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13694
25173000
JL
136952011-09-10 Juri Linkov <juri@jurta.org>
13696
13697 * isearch.el (isearch-edit-string): Remove obsolete mention of
13698 `C-w' (`isearch-yank-word-or-char') from docstring.
13699 (isearch-query-replace): Fix typo in docstring (bug#9466).
13700
056e44ef
JL
137012011-09-10 Juri Linkov <juri@jurta.org>
13702
13703 * paren.el (show-paren-function): Don't show escaped parens.
13704 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13705
c3760c17
EZ
137062011-09-10 Eli Zaretskii <eliz@gnu.org>
13707
13708 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13709 (mm-default-file-encoding): Remove autoload forms, they are
13710 replaced with autoload cookies in mml.el and mm-encode.el.
13711 (mail-add-attachment): New command.
13712 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13713 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13714 the doc string.
13715 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13716
fece895e
RT
137172011-09-10 Reuben Thomas <rrt@sc3d.org>
13718
e69df516
SM
13719 * simple.el (count-words-region): Use buffer if there's no region
13720 (bug#9429).
fece895e 13721
5e68ce4a
JL
137222011-09-09 Juri Linkov <juri@jurta.org>
13723
13724 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13725 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13726 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13727
0a6b9622
AM
137282011-09-09 Alan Mackenzie <acm@muc.de>
13729
13730 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13731 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13732
14a29deb
EZ
137332011-09-09 Eli Zaretskii <eliz@gnu.org>
13734
13735 Fix for Savannah bug#9392.
13736 * simple.el (mail-encode-mml): New defvar.
13737
13738 * mail/rmail.el (mail-encode-mml): Add a defvar.
13739 (rmail-enable-mime-composing): Default to t.
13740 (rmail-forward): Use MIME method of forwarding only if both
13741 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13742 Set mail-encode-mml non-nil if the MIME method was used.
13743
13744 * mail/sendmail.el (mml-to-mime): Add autoload form.
13745 (mail-encode-mml): Add a defvar.
13746 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13747 to nil.
13748 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13749 message through mml-to-mime, and reset mail-encode-mml to nil.
13750
28c45130
GM
137512011-09-09 Glenn Morris <rgm@gnu.org>
13752
13753 * woman.el (woman-if-body): When processing an .el block,
13754 do not delete the next .el block as well. (Bug#9447)
69f4b618 13755 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13756
9b1c252e
MR
137572011-09-08 Martin Rudalics <rudalics@gmx.at>
13758
13759 * window.el (window-deletable-p): Make sure window is live before
13760 invoking window-prev-buffers.
13761
567457e3
LL
137622011-09-08 Leo Liu <sdl.web@gmail.com>
13763
13764 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13765
97f05794
JL
137662011-09-08 Juri Linkov <juri@jurta.org>
13767
13768 * progmodes/compile.el (compilation-environment): Make it
13769 a defcustom (bug#8340).
13770
8b0874b5
MR
137712011-09-08 Martin Rudalics <rudalics@gmx.at>
13772
13773 * window.el (frame-auto-delete): Rename to window-auto-delete.
13774 Make it control auto-deletion of windows and/or frames.
13775 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13776 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13777 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13778 Rewrite handling of case when window/frame can be deleted.
13779 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13780 argument t. (Bug#9456)
8b0874b5 13781
4feb6e73
CY
137822011-09-07 Chong Yidong <cyd@stupidchicken.com>
13783
13784 * help-mode.el (help-mode): Restore autoload.
13785
91ab9c13
JL
137862011-09-07 Juri Linkov <juri@jurta.org>
13787
13788 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13789 `compilation-environment'. Set buffer-local
13790 `compilation-environment' to `thisenv' later after (funcall mode).
13791 (Bug#8340)
13792
13793 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13794 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13795 instead of replacing its value. (Bug#8340)
13796
0527e251
JL
137972011-09-07 Juri Linkov <juri@jurta.org>
13798
13799 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13800 based on text properties put by `grep-filter' instead of matching
13801 escape sequences.
13802 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13803 to the value of `grep-error-screen-columns' (bug#9438).
13804
249f792c
JL
138052011-09-07 Juri Linkov <juri@jurta.org>
13806
13807 * simple.el (next-error-highlight, next-error-highlight-no-select):
13808 Doc fix (bug#9432).
13809
ff7271b9
OT
138102011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13811
13812 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13813 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13814
183fc730
LL
138152011-09-07 Leo Liu <sdl.web@gmail.com>
13816
13817 * net/rcirc.el (rcirc-mode): Conditionally initialize
13818 rcirc-input-ring.
13819
77694924
SM
138202011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13821
13822 * emacs-lisp/find-func.el (find-function-C-source): Only set
13823 find-function-C-source-directory after checking that we found a source
13824 file there (bug#9440).
13825
d809b8eb
AM
138262011-09-06 Alan Mackenzie <acm@muc.de>
13827
13828 * isearch.el (isearch-other-meta-char): Wherever a key list is
13829 unread, "unread" the prefix arg, too. This fixes bug #8901.
13830
453de99f
OG
138312011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13832
13833 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13834
90439906
JL
138352011-09-05 Juri Linkov <juri@jurta.org>
13836
13837 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13838
f62bd846
JL
138392011-09-05 Juri Linkov <juri@jurta.org>
13840
13841 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13842 keeping point where processing of grep matches begins, and
13843 continue to delete remaining escape sequences from the same point.
13844 (grep-filter): Make leading zero optional in "0?1;31m" because
13845 git-grep emits "\033[1;31m" escape sequences unlike expected
13846 "\033[01;31m" as GNU Grep does (bug#9408).
13847 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13848
045820ec
JL
138492011-09-05 Juri Linkov <juri@jurta.org>
13850
13851 * subr.el (y-or-n-p): Capitalize "yes".
13852
f5e29b9b
MA
138532011-09-04 Michael Albinus <michael.albinus@gmx.de>
13854
13855 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13856 `tramp-cache-unload-hook' where appropriate.
13857 (tramp-methods): Rename `tramp-remote-sh' to
13858 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13859 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13860
13861 * net/tramp-sh.el (top): Don't require 'shell.
13862 (tramp-methods): Add `tramp-remote-shell' and
13863 `tramp-remote-shell-args' entries.
13864 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13865 (tramp-sh-handle-shell-command): Remove.
13866 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13867 Use `tramp-remote-shell'.
13868
2784c434
CY
138692011-09-03 Chong Yidong <cyd@stupidchicken.com>
13870
393a301e 13871 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13872 (sendmail-query-once): Save directly to send-mail-function.
13873 Update message-send-mail-function too.
13874
13875 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13876
464cdf56
CS
138772011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13878
13879 * progmodes/python.el (python-mode-map): Use correct function to
13880 start python interpreter from menu-bar (as reported by Geert
13881 Kloosterman).
13882 (inferior-python-mode-map): Fix typo.
393a301e 13883 (python-shell-map): Remove.
464cdf56 13884
d37e5c87
DD
138852011-09-03 Deniz Dogan <deniz@dogan.se>
13886
13887 * net/rcirc.el (rcirc-print): Simplify code for
13888 rcirc-scroll-show-maximum-output. There is no need to walk
13889 through all windows to find the right one.
13890
f3ada0ee
CS
138912011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13892
13893 * help.el (help-return-method): Doc fix.
13894
1f3c99ca
MR
138952011-09-03 Martin Rudalics <rudalics@gmx.at>
13896
13897 * window.el (window-deletable-p): Don't return a non-nil value
13898 when there's a buffer that was shown in the window before.
13899 (Bug#9419)
393a301e
SM
13900 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13901 Set window's previous buffers to nil.
1f3c99ca 13902
a3cf097f
EZ
139032011-09-03 Eli Zaretskii <eliz@gnu.org>
13904
13905 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13906 newline before and after the tag line, so it doesn't interfere
13907 with determining the paragraph direction of bidirectional text.
13908
3d03de90
LL
139092011-09-03 Leo Liu <sdl.web@gmail.com>
13910
13911 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13912
c3313451
CY
139132011-09-02 Chong Yidong <cyd@stupidchicken.com>
13914
393a301e 13915 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13916 (pop-to-buffer): Change interactive spec. Pass second argument
13917 directly to display-buffer.
13918 (display-buffer): Fix interactive spec. Use functionp to
13919 distinguish between a function and a list of functions.
13920
13921 * abbrev.el (edit-abbrevs):
13922 * arc-mode.el (archive-extract):
13923 * autoinsert.el (auto-insert):
13924 * bookmark.el (bookmark-bmenu-list):
13925 * files.el (find-file):
13926 * view.el (view-buffer):
13927 * progmodes/compile.el (compilation-goto-locus):
13928 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13929
89894cd8
CY
139302011-09-02 Chong Yidong <cyd@stupidchicken.com>
13931
13932 * window.el (display-buffer-alist): Doc fix.
13933 (display-buffer): Add docstring. Don't treat
13934 display-buffer-default specially.
13935 (display-buffer-reuse-selected-window)
13936 (display-buffer-same-window, display-buffer-maybe-same-window)
13937 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13938 (display-buffer-pop-up-window)
13939 (display-buffer-reuse-or-pop-window)
13940 (display-buffer-use-some-window): New functions.
13941 (display-buffer-default-action): Use them.
393a301e 13942 (display-buffer-default): Delete.
89894cd8
CY
13943 (pop-to-buffer-1): Fix choice of actions.
13944
ae0bc9fb
SM
139452011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13946
13947 * minibuffer.el (completion--insert-strings): Don't get confused by
13948 completion entries that end with an LF char.
13949
e9d90883
EZ
139502011-09-01 Eli Zaretskii <eliz@gnu.org>
13951
13952 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13953
437014c8
CY
139542011-09-01 Chong Yidong <cyd@stupidchicken.com>
13955
13956 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13957 (display-buffer-same-window, display-buffer-other-window):
13958 New functions.
437014c8
CY
13959 (pop-to-buffer-1): New function. Use the above.
13960 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 13961 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
13962
13963 * view.el (view-buffer-other-window, view-buffer-other-frame):
13964 Just use pop-to-buffer.
13965
a5e063d5
TV
139662011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13967
13968 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13969
793d32bb
WH
139702011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13971
13972 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13973
d65e4c15
RS
139742011-08-31 Richard Stallman <rms@gnu.org>
13975
13976 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13977 of the separation of rmail-view-buffer from rmail-buffer.
13978 If you say no to "replace original", the decrypt is in the
13979 view buffer. If you say yes, the decrypt goes into the
13980 rmail buffer also.
13981
f818cd2a
MR
139822011-08-31 Martin Rudalics <rudalics@gmx.at>
13983
13984 * window.el (display-buffer-window): Rewrite doc-string.
13985 (display-buffer-record-window): New function.
13986 (display-buffer-macro-specifiers)
13987 (display-buffer-even-window-sizes, display-buffer-set-height)
13988 (display-buffer-set-width, display-buffer-in-window)
13989 (display-buffer-reuse-window, display-buffer-split-specifiers)
13990 (display-buffer-side-specifiers, display-buffer-split-window-1)
13991 (display-buffer-split-window, display-buffer-split-atom-window)
13992 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13993 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13994 (display-buffer-other-window-means-other-frame)
13995 (display-buffer-normalize-special)
13996 (display-buffer-normalize-default)
13997 (display-buffer-normalize-argument)
13998 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13999 (display-buffer-normalize-specifiers, display-buffer-frame)
14000 (display-buffer-same-window, display-buffer-same-frame)
14001 (display-buffer-other-window)
14002 (display-buffer-same-frame-other-window)
14003 (display-buffer-other-frame, pop-to-buffer-same-window)
14004 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14005 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14006 (switch-to-buffer-same-frame)
14007 (switch-to-buffer-other-window-same-frame)
14008 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14009 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14010 (display-buffer-alist-set): Remove.
14011 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14012 (special-display-regexps, special-display-function):
14013 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14014 parameter.
14015 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14016 (special-display-frame-alist, special-display-popup-frame)
14017 (same-window-buffer-names, same-window-regexps, same-window-p)
14018 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14019 (split-window-preferred-function, split-height-threshold)
14020 (split-width-threshold, window-splittable-p)
14021 (split-window-sensibly, window--try-to-split-window)
14022 (window--frame-usable-p, even-window-heights)
14023 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14024 (window--display-buffer-2, display-buffer-other-frame):
14025 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14026 (display-buffer-default, display-buffer-assq-regexp): New functions.
14027 (display-buffer-alist): Rewrite doc-string.
14028 (display-buffer-default-action)
14029 (display-buffer-overriding-action): New variables.
14030 (display-buffer, switch-to-buffer): Rewrite.
14031 (pop-to-buffer): Restore Emacs 23 behavior but use
14032 window-normalize-buffer-to-display.
14033 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14034 Restore Emacs 23 behavior but use
14035 window-normalize-buffer-to-switch-to.
14036 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14037 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14038 Rewrite using Emacs 23 options.
f818cd2a 14039
5bc3b51d
MA
140402011-08-31 Michael Albinus <michael.albinus@gmx.de>
14041
14042 * net/tramp.el (tramp-root-regexp): Remove.
14043 (tramp-completion-file-name-regexp-unified)
14044 (tramp-completion-file-name-regexp-separate)
14045 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14046 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14047 (tramp-drop-volume-letter): Simplify definition.
14048 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14049
b1a4f8e1
SM
140502011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14051
14052 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14053 (bug#9356).
14054
5664fa7b
RT
140552011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14056
b1a4f8e1 14057 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14058
9a45d6c3
JL
140592011-08-29 Juri Linkov <juri@jurta.org>
14060
14061 * isearch.el (isearch-done): Don't display message "Mark saved"
14062 when arg `edit' is non-nil to prevent its flicker in the echo area.
14063
fb87e0fb
CY
140642011-08-28 Chong Yidong <cyd@stupidchicken.com>
14065
14066 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14067 obsolete packages for deletion.
14068
09ac1c2a
CS
140692011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14070
14071 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14072 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14073 view-mode from help-mode.
14074 (help-xref-override-view-map): Remove.
14075 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14076 view-mode is not used anymore.
14077
7a1ff57f
CY
140782011-08-28 Chong Yidong <cyd@stupidchicken.com>
14079
14080 * server.el (server-port): Doc fix.
14081
b9696605
CY
14082 * cus-theme.el (custom-theme-choose-mode): Inherit from
14083 special-mode (Bug#9124).
14084 (custom-theme-choose-mode-map): Add special-mode to parent.
14085
ef8cdf8c
AM
140862011-08-28 Alan Mackenzie <acm@muc.de>
14087
14088 * progmodes/cc-fonts.el
14089 (c-make-font-lock-BO-decl-search-function): New function.
14090 (c-basic-matchers-after - "Fontify the clauses after various
14091 keywords"): Extract the three keyword lists for the 3 erroneous
14092 constructs from the list of four, and use the new function above
14093 in place of an old one.
14094
27de4e20
DD
140952011-08-28 Deniz Dogan <deniz@dogan.se>
14096
14097 * net/rcirc.el (rcirc-insert-prev-input)
14098 (rcirc-insert-next-input): Remove unused argument.
14099
356a3681
SM
141002011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14101
14102 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14103
3fc9b218
AM
141042011-08-27 Alan Mackenzie <acm@muc.de>
14105
14106 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14107 handle function pointer parameters properly.
14108
538a061c
MR
141092011-08-27 Martin Rudalics <rudalics@gmx.at>
14110
14111 * window.el (display-buffer-reuse-window): Fix case where
14112 selected window was reused with non-nil OTHER-WINDOW argument.
14113 (Bug#9381)
14114
35b1c40c
DD
141152011-08-27 Deniz Dogan <deniz@dogan.se>
14116
14117 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14118 oftc's NickServ messages.
14119
2f6a3e79
GM
141202011-08-27 Glenn Morris <rgm@gnu.org>
14121
14122 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14123
7254299e
CY
141242011-08-26 Chong Yidong <cyd@stupidchicken.com>
14125
14126 * emacs-lisp/package.el (package-install): Call package-initialize
14127 if called interactively.
14128
f8ccf167
LL
141292011-08-26 Leo Liu <sdl.web@gmail.com>
14130
14131 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14132
3e8cd5ce
JL
141332011-08-25 Juri Linkov <juri@jurta.org>
14134
14135 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14136 `search-whitespace-regexp' (bug#9364).
14137
93eb7113
JL
141382011-08-25 Juri Linkov <juri@jurta.org>
14139
14140 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14141 `regexp-search-ring' to their global values to protect from
14142 updating by `read-from-minibuffer' (bug#9185).
14143
f65d1611
JL
141442011-08-25 Juri Linkov <juri@jurta.org>
14145
14146 * textmodes/ispell.el (ispell-command-loop): Add newline
14147 at the end of the "Use option `i'..." line.
14148
f1cf7a31
JL
141492011-08-25 Juri Linkov <juri@jurta.org>
14150
14151 * battery.el (display-battery-mode): If `battery-status-function'
14152 or `battery-mode-line-format' is nil, display the message and set
14153 `display-battery-mode' to nil (bug#9363).
14154
0c95fcf7
EZ
141552011-08-25 Eli Zaretskii <eliz@gnu.org>
14156
14157 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14158 bidi-string-mark-left-to-right; they are unnecessary now.
14159
a2ebe600
DD
141602011-08-25 Deniz Dogan <deniz@dogan.se>
14161
14162 * net/quickurl.el: Documentation typo fixes.
14163
e4ed06f1
CY
141642011-08-25 Chong Yidong <cyd@stupidchicken.com>
14165
14166 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14167
e5f1c99e
GM
141682011-08-25 Glenn Morris <rgm@gnu.org>
14169
b2948976
GM
14170 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14171
e5f1c99e
GM
14172 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14173 (smtpmail-via-smtp): Handle nil response from smtp.
14174
f22f4808
JL
141752011-08-24 Juri Linkov <juri@jurta.org>
14176
14177 * proced.el (proced-marked): Inherit from `error' instead of
14178 `font-lock-warning-face'.
14179
14180 * ibuffer.el (ibuffer-marked-face): Change default face from
14181 `font-lock-warning-face' to `warning'.
14182 (ibuffer-deletion-face): Change default face from
14183 `font-lock-type-face' to `error'.
14184
14185 * battery.el (battery-update): Use the face `error' instead of
14186 `font-lock-warning-face' (bug#6117).
14187
6a93965e
JL
141882011-08-24 Juri Linkov <juri@jurta.org>
14189
14190 * faces.el (success): Change face color from "Green3" to
14191 "ForestGreen" on light background (bug#9353).
14192
1ed43b09
CY
141932011-08-24 Chong Yidong <cyd@stupidchicken.com>
14194
5664fa7b
RT
14195 * window.el (quit-window): Rename from quit-restore-window.
14196 Use same arglist as old quit-window.
1ed43b09
CY
14197 (frame-auto-delete): Doc fix.
14198
14199 * view.el (view-mode-exit): Use quit-window.
14200
11dcdbb2
JL
142012011-08-24 Juri Linkov <juri@jurta.org>
14202
14203 * isearch.el (isearch-ring-adjust1): Start visiting previous
14204 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14205 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14206 for empty search string (when the last search string is reused
14207 automatically) to adjust the isearch ring to the last element and
14208 prepare the correct index for further M-p commands (bug#9185).
14209
de62b4df
KH
142102011-08-24 Kenichi Handa <handa@m17n.org>
14211
14212 * international/ucs-normalize.el: If decomposition property of
14213 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14214 nil.
14215 (nfd, nfkd): Likewise.
14216
963b492b
SM
142172011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14218
14219 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14220 from process filters aren't reliably transmitted to the surrounding
14221 accept-process-output.
14222 (mpc-proc-check): New function.
14223 (mpc-proc-sync): Use it (bug#8293)
14224
93b6b5e1
SM
142252011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14226
14227 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14228 Add compatibility functions (bug#9313).
14229
bca633fb
EZ
142302011-08-23 Eli Zaretskii <eliz@gnu.org>
14231
b177498a
EZ
14232 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14233
6df6ae42 14234 * international/uni-bidi.el: Regenerate.
bca633fb 14235
0902a04e
KH
142362011-08-23 Kenichi Handa <handa@m17n.org>
14237
14238 * international/charprop.el:
14239 * international/uni-bidi.el:
14240 * international/uni-category.el:
14241 * international/uni-combining.el:
14242 * international/uni-comment.el:
14243 * international/uni-decimal.el:
14244 * international/uni-decomposition.el:
14245 * international/uni-digit.el:
14246 * international/uni-lowercase.el:
14247 * international/uni-mirrored.el:
14248 * international/uni-name.el:
14249 * international/uni-numeric.el:
14250 * international/uni-old-name.el:
14251 * international/uni-titlecase.el:
14252 * international/uni-uppercase.el: Regenerate.
14253
3bbf23bc
MR
142542011-08-23 Martin Rudalics <rudalics@gmx.at>
14255
14256 * help.el (help-window-setup): Fix message displayed when other
14257 window is reused. (Bug#9341)
14258
b3fd59bd
SM
142592011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14260
1802e444
SM
14261 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14262 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14263
b3fd59bd
SM
14264 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14265 Mark obsolete.
14266 * shell.el (shell-parse-pcomplete-arguments): New function.
14267 (shell-completion-vars): Use it instead (bug#9160).
14268
4eb61348
SM
142692011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14270
867cab74
SM
14271 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14272 strings and comments (bug#9333).
14273
4eb61348
SM
14274 * emacs-lisp/debug.el (debug-arglist): New function.
14275 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14276 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14277
262a1439
JL
142782011-08-22 Juri Linkov <juri@jurta.org>
14279
56ee679c
JL
14280 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14281 Revert regexp that highlights output switches to its old
14282 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14283
262a1439
JL
14284 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14285 to check for empty output (bug#9226).
14286
f13f86fb
CY
142872011-08-22 Chong Yidong <cyd@stupidchicken.com>
14288
14289 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14290 symbol-constituent as the default, as that stops font-lock from
14291 working properly (Bug#8843).
14292
c65c9622
LMI
142932011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14294
14295 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14296 `coding-system-for-*' around the process open call to avoid
14297 auth-source side effects.
e7f2c178 14298 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14299 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14300 probe hangs.
c65c9622 14301
23a8a5ab
CY
143022011-08-21 Chong Yidong <cyd@stupidchicken.com>
14303
ff98b2dd
CY
14304 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14305
23a8a5ab
CY
14306 * emacs-lisp/find-func.el (find-function-noselect): New arg
14307 lisp-only.
14308
14309 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14310 signal an error for built-in functions (Bug#6664).
14311
f5e3c598
LMI
143122011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14313
14314 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14315 (smtpmail-try-auth-methods): Use it.
14316
a3f2468a
CY
143172011-08-21 Chong Yidong <cyd@stupidchicken.com>
14318
2c34e8da
CY
14319 * font-lock.el (font-lock-fontify-region)
14320 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14321 (font-lock-default-unfontify-buffer)
14322 (font-lock-default-fontify-region)
14323 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14324
b3fd59bd
SM
14325 * progmodes/compile.el (compilation-error-properties):
14326 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14327 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14328 `ant' regexp.
ee31aabc 14329
a3f2468a
CY
14330 * net/browse-url.el (browse-url-firefox): Don't call
14331 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14332
8e999f70
GM
143332011-08-20 Glenn Morris <rgm@gnu.org>
14334
c21a496a
GM
14335 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14336
59ee0542
GM
14337 * tutorial.el (tutorial--default-keys): Update some default bindings.
14338
8e999f70
GM
14339 * files.el (hack-local-variables): Fully ignore case for "mode:".
14340
e3715033
AM
143412011-08-20 Alan Mackenzie <acm@muc.de>
14342
14343 Resolve invalid use of a regexp in regexp-opt.
14344
4d61f28d
JB
14345 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14346 detection for a java annotation.
e3715033 14347
4d61f28d 14348 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14349 detection for a java annotation.
14350
4d61f28d
JB
14351 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14352 handling for java.
e3715033
AM
14353 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14354
04ed2e9c
CY
143552011-08-20 Chong Yidong <cyd@stupidchicken.com>
14356
14357 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14358 (Bug#9274).
14359
826cee64
AM
143602011-08-20 Alan Mackenzie <acm@muc.de>
14361
58179cce 14362 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14363 such a construct. Mainly for when jit-lock etc. starts a chunk
14364 here.
14365
58179cce 14366 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14367 variable.
58179cce 14368 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14369 c-make-font-lock-search-function.
14370 (c-make-font-lock-search-function): Use the above function.
14371 (c-make-font-lock-context-search-function): New function.
14372 (c-cpp-matchers): Enhance the preprocessor expression case with
14373 the above function
14374 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14375 which takes an expression.
14376
14377 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14378
13009bd8
MR
143792011-08-20 Martin Rudalics <rudalics@gmx.at>
14380
14381 * window.el (display-buffer-reuse-window)
14382 (display-buffer-pop-up-window): Don't reuse or split a side
14383 window.
14384
9234ff7f
GM
143852011-08-19 Glenn Morris <rgm@gnu.org>
14386
14387 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14388 Downcase "Mode:". (Bug#9331)
9234ff7f 14389
f635daa1
CY
143902011-08-18 Chong Yidong <cyd@stupidchicken.com>
14391
14392 * international/characters.el: Add L and R categories.
14393
14394 * subr.el (bidi-string-mark-left-to-right): Rename from
14395 string-mark-left-to-right. Use category search.
14396
14397 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14398
bc987f8b
JL
143992011-08-18 Juri Linkov <juri@jurta.org>
14400
14401 * faces.el (error, warning, success): New faces with definitions
14402 copied from old default values of `font-lock-warning-face',
14403 `compilation-warning', `compilation-info' (bug#6117).
14404
14405 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14406
14407 * progmodes/compile.el (compilation-error): Inherit from `error'.
14408 (compilation-warning): Inherit from `warning'.
14409 (compilation-info): Inherit from `success'.
14410
14411 * dired.el (dired-marked): Inherit from `warning'.
14412 (dired-flagged): Inherit from `error'.
14413
57173b96
LMI
144142011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14415
3e79eb87
LMI
14416 * mail/smtpmail.el (auth-source): Require to avoid problems with
14417 binding variables (bug#9298). Also clean up some unused
14418 autoloads.
14419
b3fd59bd
SM
14420 * net/network-stream.el (network-stream-open-starttls):
14421 Support using starttls.el without using gnutls-cli.
57173b96 14422
02b404de
JL
144232011-08-17 Juri Linkov <juri@jurta.org>
14424
14425 * progmodes/grep.el (rgrep): Handle the case when
14426 `grep-find-command' is a cons cell (bug#9278).
14427
8c9177f2
MR
144282011-08-17 Martin Rudalics <rudalics@gmx.at>
14429
14430 * window.el (display-buffer-pop-up-frame): Run frame creation
14431 function with BUFFER current (as special-display-popup-frame
14432 does). Reported by Drew Adams.
14433
3644a0ab
DU
144342011-08-17 Daiki Ueno <ueno@unixuser.org>
14435
14436 * epa-mail.el: Simplify GnuPG group expansion using
14437 epg-expand-group.
14438 (epa-mail-group-alist, epa-mail-group-modtime)
14439 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14440 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14441 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14442 Remove.
14443
5e617bc2 144442011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14445
14446 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14447
9c4aeabf
AM
144482011-08-16 Alan Mackenzie <acm@muc.de>
14449
14450 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14451 Correct, to avoid the inside of macros.
14452
3a99bf64
RS
144532011-08-16 Richard Stallman <rms@gnu.org>
14454
04963aa8
RS
14455 * epa-mail.el: Handle GnuPG group definitions.
14456 (epa-mail-group-alist, epa-mail-group-modtime)
14457 (epa-mail-gnupg-conf-file): New variables.
14458 (epa-mail-parse-groups, epa-mail-sync-groups)
14459 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14460 (epa-mail-expand-recipients): New functions.
14461 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14462
177549d0
RS
14463 * mail/rmail.el (rmail-epa-decrypt): New command.
14464
fe38beef
RS
14465 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14466 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14467 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14468 (epa-decrypt-armor-in-region): Make error message clearer.
14469
934eacb9
SM
144702011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14471
14472 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14473 and "a2b" to "ab" for `prefix'.
14474
d024fb4e
CY
144752011-08-14 Chong Yidong <cyd@stupidchicken.com>
14476
14477 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14478 filter groups.
de148fee
CY
14479 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14480 Fourquet (Bug#8804).
d024fb4e 14481
62f1ca49
JB
144822011-08-12 Juanma Barranquero <lekktu@gmail.com>
14483
14484 * startup.el (argi): Declare as global variable (bug#9275).
14485
9ccaaa4b
CY
144862011-08-12 Chong Yidong <cyd@stupidchicken.com>
14487
14488 * subr.el (string-mark-left-to-right): Search the entire string
14489 for RTL script, not just the terminating character. Doc fix.
14490
a3dae87a
SM
144912011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14492
6cd18349
SM
14493 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14494 New function.
14495 (js--regexp-literal, js-syntax-propertize-function): Remove.
14496 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14497 (js-mode-map): Don't rebind electric keys.
14498 (js-insert-and-indent): Remove.
14499 (js-mode): Setup electric-layout and electric-indent instead.
14500
a3dae87a
SM
14501 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14502
9d5cb631
DU
145032011-08-12 Daiki Ueno <ueno@unixuser.org>
14504
14505 * epa.el (epa-progress-callback-function): Fix the logic of
14506 displaying progress.
14507 * epa-file.el (epa-file-insert-file-contents): Make progress
14508 display more user-friendly.
14509 (epa-file-write-region): Ditto.
14510
3e26a4a2
CY
145112011-08-10 Chong Yidong <cyd@stupidchicken.com>
14512
14513 * subr.el (string-mark-left-to-right): New function.
14514
14515 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14516 Use string-mark-left-to-right.
14517 (list-buffers-noselect): Caller changed.
14518
a3dae87a
SM
14519 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14520 Use string-mark-left-to-right.
3e26a4a2
CY
14521 (tabulated-list-print): Recenter after moving point.
14522
ac8cf6e6
JL
145232011-08-10 Juri Linkov <juri@jurta.org>
14524
14525 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14526 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14527 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14528
8d96c9a4
CY
145292011-08-09 Chong Yidong <cyd@stupidchicken.com>
14530
14531 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14532 (Bug#7554).
14533
7be1c708 145342011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14535
14536 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14537 character. (Bug#6594)
14538
37e11a63
CY
145392011-08-08 Chong Yidong <cyd@stupidchicken.com>
14540
839dde57
CY
14541 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14542 (image-dired--with-db-file): New macro.
14543 (image-dired-write-tags, image-dired-remove-tag)
14544 (image-dired-create-gallery-lists, image-dired-write-comments)
14545 (image-dired-get-comment, image-dired-mark-tagged-files)
14546 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14547 (image-dired-gallery-generate): Use insert-file-contents.
14548
37e11a63
CY
14549 * time.el (display-time-world-list, display-time-world-display):
14550 * time-stamp.el (time-stamp-string):
14551 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14552 set-time-zone-rule (Bug#7337).
14553
0b4946c4
DU
145542011-08-08 Daiki Ueno <ueno@unixuser.org>
14555
14556 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14557 (epg-error-to-string, epg-errors-to-string): New function.
14558 (epg-wait-for-completion): Reverse errors list.
14559 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14560 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14561 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14562 (epg-sign-keys, epg-generate-key-from-file)
14563 (epg-generate-key-from-string): Format errors by using
14564 epg-errors-to-string (bug#9255).
14565 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14566
75bfc667
JL
145672011-08-07 Juri Linkov <juri@jurta.org>
14568
14569 * faces.el (list-faces-display): Remove extra angle bracket
14570 from `help-mode-map'.
14571
14572 * info.el (Info-history-toc-nodes): Doc fix.
14573
14574 * longlines.el (longlines-mode): Doc fix.
14575
673e08bb
SM
145762011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14577
4640dd88
SM
14578 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14579 of statements and in a few more cases (bug#9183).
14580
673e08bb
SM
14581 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14582 New functions.
14583 (cl-transform-lambda): Use them (bug#9239).
14584
89b3f019
MR
145852011-08-05 Martin Rudalics <rudalics@gmx.at>
14586
14587 * window.el (display-buffer-same-window)
14588 (display-buffer-same-frame, display-buffer-other-window)
14589 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14590 (pop-to-buffer-other-window)
14591 (pop-to-buffer-same-frame-other-window)
14592 (pop-to-buffer-other-frame): Make them defuns.
14593 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14594
640c8776
SM
145952011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14596
14597 * subr.el (make-composed-keymap): Move from C. Change calling
14598 convention, and improve docstring to bring attention to a subtle point.
14599 * minibuffer.el (completing-read-default): Adjust accordingly.
14600
63648a95
MA
146012011-08-03 Michael Albinus <michael.albinus@gmx.de>
14602
14603 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14604 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14605
14606 * net/trampver.el: Update release number.
14607
b796c9b7
SM
146082011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14609
14610 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14611 "in" (bug#9190).
14612
2239d7d5
LMI
146132011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14614
e07dd7c3
LMI
14615 * mail/sendmail.el (sendmail-query-once): Restore the current
14616 buffer after querying (bug#9074).
14617
0e6a2bd7
LMI
14618 * dired.el (dired-flagged): Use different faces for marked and
14619 flagged files (bug#6117).
14620
ce887515
LMI
14621 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14622 (bug#4433).
14623
92f2affc
LMI
14624 * ido.el (ido-mode): Switch off the message if called
14625 non-interactively.
14626
57d5aff0
LMI
14627 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14628 before 587, since it appears that that's more likely to work for
14629 more people.
14630
98cd6c18 14631 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14632 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14633 exist.
14634
b96dec83
LMI
14635 * info.el: Remove the `Info-beginning-of-buffer' function
14636 (bug#8325).
14637
b796c9b7
SM
14638 * net/network-stream.el (network-stream-open-starttls):
14639 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14640
d90e2ea0
MR
146412011-08-01 Martin Rudalics <rudalics@gmx.at>
14642
14643 * window.el (display-buffer-in-window): Don't set dedicated status
14644 of window here (Bug#9215).
14645 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14646 (display-buffer-pop-up-side-window)
b796c9b7 14647 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14648
cca09170
SM
146492011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14650
14651 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14652 before binding generated-autoload-file.
14653
027b979c
DD
146542011-08-01 Deniz Dogan <deniz@dogan.se>
14655
14656 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14657
3c7ee4f3
MA
146582011-07-30 Michael Albinus <michael.albinus@gmx.de>
14659
14660 Sync with Tramp 2.2.2.
14661
14662 * net/trampver.el: Update release number.
14663
2cc8e51a
JL
146642011-07-30 Juri Linkov <juri@jurta.org>
14665
14666 * dired-aux.el (dired-touch-initial): Remove function.
14667 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14668 current time, and `default' to the last modification time of the
14669 current marked file (bug#6887).
14670
a514d856
JM
146712011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14672
14673 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14674 numeric argument to read-number (bug#9163).
a514d856 14675
8a7eddd7
MA
146762011-07-27 Michael Albinus <michael.albinus@gmx.de>
14677
14678 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14679 connection process, it could be nil.
14680
1ddd96f5
LL
146812011-07-27 Leo Liu <sdl.web@gmail.com>
14682
14683 Simplify url handling in rcirc-mode.
14684
14685 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14686 (rcirc-browse-url-at-mouse): Remove.
14687 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14688
b248a85d
AM
146892011-07-26 Alan Mackenzie <acm@muc.de>
14690
14691 Fontify bitfield declarations properly.
14692
14693 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14694 (c-symbol-chars): Now exported as a lang variable.
14695 (c-not-primitive-type-keywords): New lang variable.
14696
14697 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14698 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14699 parsed as a bitfield declaration.
b248a85d 14700
b796c9b7
SM
14701 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14702 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14703 (c-punctuation-in): New function.
14704 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14705 declarations properly.
14706
68575ab0
UJ
147072011-07-26 Ulf Jasper <ulf.jasper@web.de>
14708
14709 * calendar/icalendar.el (icalendar--all-events): Take care of
14710 multiple vcalendars in a single file.
b796c9b7 14711 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14712
0f0a88b9
DD
147132011-07-25 Deniz Dogan <deniz@dogan.se>
14714
14715 * image.el (insert-image): Clarifying docstring.
14716
0b3f36df
MA
147172011-07-24 Michael Albinus <michael.albinus@gmx.de>
14718
14719 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14720 `tramp-send-command-and-check' if there is no error.
14721 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14722
a9901f61
AM
147232011-07-22 Alan Mackenzie <acm@muc.de>
14724
14725 Prevent cc-langs.elc being loaded at run time.
14726
14727 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14728 cc-langs.
14729
4d61f28d 14730 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14731 "(require 'cc-langs)". Quote a form so it will evaluate at
14732 (cc-mode's) compilation time.
14733
11d074b2
MA
147342011-07-22 Michael Albinus <michael.albinus@gmx.de>
14735
14736 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14737 loading. (Bug#9114)
14738
938b94c8
MR
147392011-07-21 Martin Rudalics <rudalics@gmx.at>
14740
14741 * window.el (display-buffer-pop-up-window)
14742 (display-buffer-pop-up-side-window)
14743 (display-buffer-in-side-window): Call display-buffer-set-height
14744 and display-buffer-set-width after setting the new window's
b796c9b7 14745 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14746
bfa4f190
SS
147472011-07-20 Sam Steingold <sds@gnu.org>
14748
14749 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14750 (etags-tags-included-tables): Call `convert-standard-filename' on
14751 the file names contained in TAGS so that windows Emacs can handle
14752 TAGS files created by cygwin ctags.
14753
8ca42262
LMI
147542011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14755
14756 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14757 which apparently didn't work.
14758
5db2afd2 147592011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14760
5db2afd2
RW
14761 * proced.el (proced-send-signal): For *Marked Processes* buffer
14762 put point at beginning of buffer.
14763
92e15d10
SB
147642011-07-19 Stephen Berman <stephen.berman@gmx.net>
14765
14766 * proced.el (proced-format): Make header lines align with the text
14767 (bug#1779).
14768
1bfd59e5
LMI
147692011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14770
14771 * view.el (view-buffer): Allow running in `special' modes if we're
14772 visiting a file (bug#8615).
14773
f5aae37c
MR
147742011-07-19 Martin Rudalics <rudalics@gmx.at>
14775
14776 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14777 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14778 New functions.
f5aae37c
MR
14779 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14780 more accurately.
14781
bf2c1571
AM
147822011-07-18 Alan Mackenzie <acm@muc.de>
14783
14784 Fontify declarators properly when, e.g., a jit-lock chunk begins
14785 inside a declaration.
14786
14787 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14788
b796c9b7
SM
14789 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14790 New function.
bf2c1571
AM
14791 (c-complex-decl-matchers): Insert reference to
14792 c-font-lock-enclosing-decls.
14793
14794 * progmodes/cc-engine.el (c-backward-single-comment):
14795 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14796 to nil around calls to (forward-comment -1).
14797
4e190b80
LMI
147982011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14799
12dc863d
LMI
14800 * image.el (put-image): Doc typo fix.
14801
a762e966
LMI
14802 * progmodes/etags.el (tags-search): Doc typo fix.
14803
4e190b80
LMI
14804 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14805 password if we get errors 550 to 554.
14806
f019fb21
LMI
148072011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14808
b796c9b7 14809 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14810
81746738
LMI
14811 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14812 indentation character (bug#6380).
14813
3ee3a1b5
LMI
14814 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14815
c82f64de
LMI
14816 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14817 to clarify what the problem is (bug#4291).
14818
f019fb21
LMI
14819 * simple.el (current-kill): Clarify what
14820 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14821 (auto-fill-mode): Document `auto-fill-function' in relation to
14822 `auto-fill-mode' (bug#2470).
f019fb21 14823
0794775d
LM
148242011-07-16 Lawrence Mitchell <wence@gmx.li>
14825
14826 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14827 method if slot is read-only (bug#9035).
14828
be39b8cc
MR
148292011-07-16 Martin Rudalics <rudalics@gmx.at>
14830
b796c9b7 14831 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14832 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14833 selected before, see discussion of (Bug#8615), (Bug#6954).
14834 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14835
6ccf7859
GM
148362011-07-15 Glenn Morris <rgm@gnu.org>
14837
14838 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14839 Respect help-form.
6ccf7859 14840
87e86684
LM
148412011-07-09 Lawrence Mitchell <wence@gmx.li>
14842
14843 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14844 (gnutls-negotiate): Use it.
14845
d6066239
LMI
148462011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14847
b796c9b7
SM
14848 * net/gnutls.el (gnutls-negotiate):
14849 Upcase `gnutls-algorithm-priority'.
d6066239 14850
bd23ebc0
GM
148512011-07-15 Glenn Morris <rgm@gnu.org>
14852
c65bca65
GM
14853 * jka-compr.el (jka-compr-verbose): Move from here...
14854 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14855 Add missing :version tag.
14856 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14857
478615cc
LMI
148582011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14859
7b41decb
LMI
14860 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14861 (gnutls-negotiate): Use it.
14862
dbc44fcd
LMI
14863 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14864
06789f97
LMI
14865 * info.el (Info-beginning-of-buffer): New command.
14866 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14867 announcing `b' as the key (bug#8325).
ab896c37 14868 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14869
c39da690
LMI
14870 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14871
3aa5f34b
LMI
14872 * international/mule-cmds.el
14873 (describe-specified-language-support): Make the error message
14874 clearer (bug#8905).
14875
4bf0979f
LMI
14876 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14877
478615cc
LMI
14878 * isearch.el (isearch-barrier): Add a doc string, since it's
14879 mentioned in a function doc string (bug#8678).
14880
75c68aa1
MR
148812011-07-15 Martin Rudalics <rudalics@gmx.at>
14882
14883 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14884 buffer argument (Bug#9083) and self-identifying label argument.
14885
a7c33da2
GM
148862011-07-15 Glenn Morris <rgm@gnu.org>
14887
14888 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14889
2f5c6024
LMI
148902011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14891
14892 * man.el (Man-fontify-manpage): Fix message when formatting the
14893 man page (bug#7929).
14894
0bb23927 148952011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14896
14897 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14898 argument LRM; if non-nil, append an invisible LRM character to the
14899 buffer name.
14900 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14901 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14902 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14903 paragraph direction.
cce4b0a7 14904
621ef9ab
LMI
149052011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14906
d1583c48
LMI
14907 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14908 the man page name (bug#7929).
14909
6a57fb5f
LMI
14910 * image.el (put-image): Mention the `put-image' overlay property
14911 (bug#7834).
14912
d7956b14
LMI
14913 * scroll-bar.el (set-scroll-bar-mode): Mention that
14914 `scroll-bar-mode' lists the values (bug#7772).
14915
5b2d4a66
LMI
14916 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14917 command (bug#7729).
14918
7509a874
LMI
14919 * rect.el (apply-on-rectangle): Return the point after the last
14920 operation.
14921 (string-rectangle): Go to the point after the last operation
14922 (bug#7522).
14923
4fe74b19
LMI
14924 * printing.el (pr-toggle-region): Clarify the documentation
14925 slightly (bug#7493).
14926
b796c9b7
SM
14927 * time.el (display-time-update):
14928 Allow `display-time-mail-function' to return nil (bug#7158).
14929 Fix suggested by Detlev Zundel.
ab283561 14930
fc233c9d
LMI
14931 * vc/diff.el (diff): Clarify the order the file names are read
14932 (bug#7111).
14933
43f5740b
LMI
14934 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14935 the doc string (bug#7015).
14936
f2182a76
LMI
14937 * font-lock.el (font-lock-maximum-decoration): Mention what
14938 numeric levels mean (bug#6935).
14939
621ef9ab
LMI
14940 * startup.el (initial-buffer-choice): Don't mention the `none'
14941 selection, which is against policy.
14942
adc47434
MR
149432011-07-14 Martin Rudalics <rudalics@gmx.at>
14944
b796c9b7
SM
14945 * window.el (display-buffer-normalize-special):
14946 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14947
7e5bfb8f
EZ
149482011-07-14 Eli Zaretskii <eliz@gnu.org>
14949
14950 * subr.el (version<, version<=, version=): Mention "-CVS" and
14951 "-12345" alpha version numbers.
14952
27fa387a
CY
149532011-07-14 Chong Yidong <cyd@stupidchicken.com>
14954
14955 * bindings.el: Add advertised binding for set-mark-command
14956 (Bug#5772).
14957
8bdfa064
CY
149582011-07-14 Chong Yidong <cyd@stupidchicken.com>
14959
14960 * bindings.el (mode-line-other-buffer):
14961 * bookmark.el (bookmark-bmenu-2-window):
14962 * bs.el (bs-cycle-next, bs-cycle-previous):
14963 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14964 switch-to-buffer.
14965
14966 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 14967 Delete.
8bdfa064 14968
5eba16a3
JB
149692011-07-14 Juanma Barranquero <lekktu@gmail.com>
14970
14971 * follow.el (follow-debug-message, follow-redisplay):
14972 * jka-cmpr-hook.el (with-auto-compression-mode):
14973 Fix typos in docstrings.
14974
15853710
LMI
149752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14976
a28e4607
LMI
14977 * subr.el (with-silent-modifications): Clarify somewhat what the
14978 macro inhibits (bug#6525).
14979
15853710
LMI
14980 * simple.el (eval-expression): Note what it does if called
14981 interactively (bug#6495).
14982
bee0fcef
CY
149832011-07-13 Chong Yidong <cyd@stupidchicken.com>
14984
b796c9b7
SM
14985 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14986 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
14987
14988 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14989 Remove switch-to-buffer.
14990
58274504
LMI
149912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14992
bd2fcc8d
LMI
14993 * files.el (make-directory): Clarify that an error will be raised
14994 if there's an error (bug#6397).
14995
0f04b32c
LMI
14996 * startup.el (initial-buffer-choice): Add `none' as a choice
14997 (bug#6234).
14998
465c5fc8
LMI
14999 * subr.el (add-hook): Clarify section about buffer-local hooks
15000 (bug#6218).
15001
58274504
LMI
15002 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15003
bead9a43
JB
150042011-07-13 Juanma Barranquero <lekktu@gmail.com>
15005
15006 * tabify.el (untabify): Preserve the current column so that point
15007 doesn't move (bug#6032).
15008
3af98a7b
LMI
150092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15010
b796c9b7
SM
15011 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15012 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15013
6240145a
GM
150142011-07-13 Glenn Morris <rgm@gnu.org>
15015
15016 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15017 (dired-insert-directory): Give a message the first time
15018 if ls is found not to support --dired.
15019
1d8c2ccc
LMI
150202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15021
15022 * simple.el (toggle-truncate-lines): Clarify what is toggled
15023 (bug#5580). Text by Drew Adams.
15024
5fc4038e
CY
150252011-07-13 Chong Yidong <cyd@stupidchicken.com>
15026
15027 * simple.el (blink-matching-open): Make the error message from the
15028 last change less verbose.
15029
bf6012e5
DN
150302011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15031
15032 * font-lock.el (font-lock-comment-face): Use the high contrast
15033 "yellow" color for font-lock-comment-face on low color terminals
15034 using a dark background color (bug#4221).
15035
343c3b5a
LMI
150362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15037
7e9505c5
LMI
15038 * dired.el (dired-insert-set-properties): Make the doc string
15039 reflect what it does now (bug#5325).
15040
c26fdcf5
LMI
15041 * simple.el (blink-matching-open): Say that we were unable to find
15042 the match within the limit, if we're limited (bug#5122).
15043
bb388cc5
LMI
15044 * international/mule-cmds.el (prefer-coding-system): Add an
15045 example (bug#4869).
15046
343c3b5a
LMI
15047 * progmodes/etags.el (tags-search): Document `file-list-form'
15048 (bug#4731).
15049
2a517d45
LM
150502011-07-13 Lawrence Mitchell <wence@gmx.li>
15051
15052 * net/browse-url.el (browse-url-default-browser)
15053 (browse-url-browser-function): Make the default browser choice a
15054 bit more logical (bug#4300). Also clean up the doc string.
15055
b6c78ef2
JB
150562011-07-13 Juanma Barranquero <lekktu@gmail.com>
15057
15058 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15059 binary endings (bug#4440).
15060
1c4dd947
LMI
150612011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15062
a2014063
LMI
15063 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15064 which can be pretty annoying (bug#8971).
15065
9c9c2d88
LMI
15066 * jka-compr.el (jka-compr-verbose): New variable, and use
15067 throughout (bug#8971).
15068
1c4dd947
LMI
15069 * info.el (Info-find-file): Fall back on the installation
15070 directory if we can't find the info node anywhere else.
15071
a1c9f41b
SO
150722011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15073
15074 * vc/vc.el (vc-revert-file):
15075 Don't set file time-stamp in the past. (Bug#5181)
15076
536f3d36
LMI
150772011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15078
7152b011
LMI
15079 * files.el (after-find-file): Give a better error message when
15080 trying to find a symlink that points to a file that doesn't exist
15081 (bug#4398).
15082
536f3d36
LMI
15083 * progmodes/cc-vars.el: Remove (probably) misleading comment
15084 (bug#4396).
15085
460c0fba
JB
150862011-07-12 Johan Bockgård <bojohan@gnu.org>
15087
15088 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15089
7a6bda45
CY
150902011-07-12 Chong Yidong <cyd@stupidchicken.com>
15091
15092 * mouse-sel.el: Hack restoring functionality, while keeping
15093 compatibility with 2010-07-03 changes to mouse selection.
15094 (mouse-sel-primary-overlay): New var.
15095 (mouse-sel-selection-alist): Use it.
15096 (mouse-sel-mode): Doc fix; remove points that are default features
15097 of mouse.el.
15098
c79598ef
JB
150992011-07-12 Johan Bockgård <bojohan@gnu.org>
15100
15101 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15102 Fix previous fix (bug#2490).
15103
ff8be6ef
RW
151042011-07-12 Roland Winkler <winkler@gnu.org>
15105
b796c9b7
SM
15106 * textmodes/bibtex.el (bibtex-initialize):
15107 Use pop-to-buffer-same-window.
ff8be6ef
RW
15108 (bibtex-search-entries): Fix interactive call.
15109
296ba3ee
LMI
151102011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15111
f5242a02 15112 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15113 Fontise bytecomp Error lines more correctly (bug#2490).
15114 Fix suggested by Johan Bockgård.
f5242a02 15115
296ba3ee
LMI
15116 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15117
15118 * dired-x.el (dired-guess-default): Use `delete-dups'.
15119
f69fd0d2
CY
151202011-07-12 Chong Yidong <cyd@stupidchicken.com>
15121
15122 * dired.el (dired-mark-prompt):
15123 * dired-aux.el (dired-read-shell-command): Doc fix.
15124
eab5dc07
LMI
151252011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15126
b796c9b7
SM
15127 * mail/sendmail.el (sendmail-query-once):
15128 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15129 emacs -Q.
15130
15131 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15132
eab5dc07
LMI
15133 * cus-edit.el (custom-file): Take an optional no-error variable.
15134 (customize-save-variable): Set the variable, and give a warning if
15135 running under "emacs -q".
15136
a1e65d42
JB
151372011-07-11 Juanma Barranquero <lekktu@gmail.com>
15138
15139 * loadhist.el (unload-feature-special-hooks):
15140 Add `auto-coding-functions', `fill-nobreak-predicate' and
15141 `find-directory-functions' (bug#5327).
15142
1d52da10
LMI
151432011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15144
be958f1d
LMI
15145 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15146
5bedb26c
LMI
15147 * cus-edit.el (custom-guess-name-alist): -alist variables should
15148 use the `alist' type (bug#3120). Suggested by Drew Adams.
15149
1d52da10
LMI
15150 * printing.el: Add documentation to all the `pr-toggle-' commands.
15151
cd394be1 151522011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15153
15154 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15155 backends where it makes sense (bug#2623).
15156
dcc88d8a
LMI
151572011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15158
c3de9feb
LMI
15159 * dired-x.el (dired-guess-default): Remove duplicate shell command
15160 entries (bug#2028).
8a93078b 15161 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15162 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15163
dcc88d8a
LMI
15164 * subr.el (remove-duplicates): New conveniency function.
15165
505e3645
LMI
151662011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15167
15168 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15169 (bug#1526).
15170
151712011-07-10 Martin Rudalics <rudalics@gmx.at>
15172
15173 * window.el (display-buffer-normalize-default): Don't invert
15174 meaning of even-window-heights. Reported by Eli Zaretskii
15175 <eliz@gnu.org>.
15176
455e4fa1
BR
151772011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15178
15179 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15180
8e0bc3e9
CY
151812011-07-10 Chong Yidong <cyd@stupidchicken.com>
15182
15183 * window.el (display-buffer): Fix arguments to
15184 display-buffer-reuse-window in last change.
15185
fa7c3228
CY
15186 * faces.el (link): Use a less saturated blue on light backgrounds.
15187
15188 * startup.el (fancy-startup-text, fancy-about-text)
15189 (fancy-startup-tail): Use font-lock faces, for background safety.
15190
c0a7f300
BN
151912011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15192
b796c9b7
SM
15193 * emulation/viper-cmd.el (viper-change-state-to-vi):
15194 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15195
4dc2a129
MR
151962011-07-09 Martin Rudalics <rudalics@gmx.at>
15197
15198 * window.el (display-buffer-default-specifiers): Remove.
15199 (display-buffer-macro-specifiers): Remove default specifiers.
15200 (display-buffer-alist): Default to nil.
b796c9b7 15201 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15202 (display-buffer-pop-up-window): Allow splitting internal
15203 windows. Check whether a live window was created.
15204 (display-buffer-other-window-means-other-frame)
15205 (display-buffer-normalize-arguments): Rename to
15206 display-buffer-normalize-argument and rewrite. Set the
15207 other-window specifier.
15208 (display-buffer-normalize-special): New function.
15209 (display-buffer-normalize-options): Rename to
15210 display-buffer-normalize-default and rewrite.
15211 (display-buffer-normalize-options-inhibit): Remove.
15212 (display-buffer-normalize-specifiers): Rewrite.
15213 (display-buffer): Process other-window specifier and call
15214 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15215 more faithfully.
b796c9b7 15216 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15217 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15218 (display-buffer-in-window, display-buffer-alist-set):
15219 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15220 <tassilo@member.fsf.org>.
15221
2d43b8c9
LL
152222011-07-09 Leo Liu <sdl.web@gmail.com>
15223
15224 * register.el (insert-register): Restore accidental change on
15225 2011-06-26. (Bug#9028)
15226
7f9b7c53
GM
152272011-07-09 Glenn Morris <rgm@gnu.org>
15228
15229 * subr.el (remq): Handle the empty list. (Bug#9024)
15230
f042cfd8
AS
152312011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15232
15233 * mail/sendmail.el (send-mail-function): No longer delay custom
15234 initialization.
15235 * custom.el (custom-initialize-delay): Doc fix.
15236
856b2f11
SM
152372011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15238
15239 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15240
afae1d68
MA
152412011-07-08 Michael Albinus <michael.albinus@gmx.de>
15242
15243 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15244 human-friendly prompt.
15245
0757af94
SM
152462011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15247
15248 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15249 provided by a particular plugin.
15250
d760b731
LMI
152512011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15252
15253 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15254 save customizations (with "emacs -Q"), just set the variable
15255 instead of erroring out.
15256
15257 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15258
cd79ce90
JL
152592011-07-08 Juri Linkov <juri@jurta.org>
15260
15261 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15262 (archive-zip-update-case): Use 7z if found by `executable-find'.
15263 The order of searching the available programs is the same as in
15264 `archive-zip-extract' (bug#8968).
15265
14cc04aa
CY
152662011-07-07 Chong Yidong <cyd@stupidchicken.com>
15267
15268 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15269 (menu-bar-options-menu): Tweak descriptions.
15270
0a1848ec
LMI
152712011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15272
15273 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15274 menu items into verb phrases (bug#1421). Also refill to fit under
15275 80 columns.
15276
f5bd0689
CY
152772011-07-07 Chong Yidong <cyd@stupidchicken.com>
15278
538e85c6
CY
15279 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15280 (Info-read-node-name): Doc fix (Bug#1084).
15281
f5bd0689
CY
15282 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15283 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15284 (end-of-sexp, beginning-of-sexp)
15285 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15286 (forward-symbol, forward-same-syntax, word-at-point)
15287 (sentence-at-point): Doc fix (Bug#1144).
15288
56ec5115
LMI
152892011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15290
f3f8e37f
LMI
15291 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15292 should cover it (bug#1281).
15293
0757af94 15294 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15295
e9fce1ac 15296 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15297 negotiation fails, then possibly try again with a non-encrypted
15298 connection (bug#9017).
15299
56ec5115
LMI
15300 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15301 be used.
15302
c2f9aec8
RS
153032011-07-07 Richard Stallman <rms@gnu.org>
15304
15305 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15306 property, and handle its changed format.
15307 Look for the correct line number.
15308 Use file's line contents (but not past first =) to find
15309 correct line in message.
15310
ef7b981d 153112011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15312
15313 * international/characters.el (build-unicode-category-table):
15314 Delete it.
0757af94 15315 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15316
0757af94 15317 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15318 to src/chartab.c.
15319 (get-char-code-property): Call unicode-property-table-internal to
15320 load a file. Call get-unicode-property-internal where necessary.
15321 (put-char-code-property): Call unicode-property-table-internal to
15322 load a file. Call put-unicode-property-internal where necessary.
15323 put-unicode-property-internal where necessary.
0757af94
SM
15324 (char-code-property-description):
15325 Call unicode-property-table-internal to load a file.
c805dec0
KH
15326
15327 * international/charprop.el:
15328 * international/uni-bidi.el:
15329 * international/uni-category.el:
15330 * international/uni-combining.el:
15331 * international/uni-comment.el:
15332 * international/uni-decimal.el:
15333 * international/uni-decomposition.el:
15334 * international/uni-digit.el:
15335 * international/uni-lowercase.el:
15336 * international/uni-mirrored.el:
15337 * international/uni-name.el:
15338 * international/uni-numeric.el:
15339 * international/uni-old-name.el:
15340 * international/uni-titlecase.el:
15341 * international/uni-uppercase.el: Regenerate.
15342
15343 * loadup.el: Load international/charprop.el before
15344 international/characters.
15345
e14b388a
CY
153462011-07-07 Chong Yidong <cyd@stupidchicken.com>
15347
15348 * window.el (next-buffer, previous-buffer): Signal an error if
15349 called from a minibuffer window.
15350
15351 * bindings.el: Revert 2011-07-04 change.
15352
354cf0ba
RS
153532011-07-06 Richard Stallman <rms@gnu.org>
15354
15355 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15356 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15357 Treat markers like ints.
15358 (rmail-mime-entity): Doc fix.
15359
a48868a7
LMI
153602011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15361
4906cd3d
LMI
15362 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15363 defcustom again for backwards compatibility.
15364
e0457abe
LMI
15365 * simple.el (shell-command-on-region): Fill.
15366
d67f7e1f
LMI
15367 * dired-aux.el (dired-kill-line): Add a doc string.
15368
fe204702
LMI
15369 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15370 to "\\sw\\|\\s_" (bug#358).
15371
a48868a7
LMI
15372 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15373 (dired-unmark-backward): Ditto.
15374 (dired-flag-backup-files): Ditto.
15375
15376 * dired-x.el (dired-mark-sexp): Ditto.
15377
aa8a705c
RS
153782011-07-06 Richard Stallman <rms@gnu.org>
15379
15380 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15381 (rmail-mime-entity): New arg TRUNCATED.
15382 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15383 New functions.
15384 (rmail-mime-save): Warn if entity is truncated.
15385 (rmail-mime-toggle-hidden): Likewise, for showing.
15386 (rmail-mime-process-multipart): Record when an entity is truncated.
15387
a9a936b9
RS
15388 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15389 if ENTITY is a string.
15390
1f2b92cb
LMI
153912011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15392
f4f73198 15393 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15394 of faces when `M-C-x'-ing their definitions (bug#8378).
15395 Also clean up the code slightly.
f4f73198 15396
12b16734 15397 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15398 because that makes the colors go away.
12b16734 15399
f0691d22
LMI
15400 * mail/sendmail.el (send-mail-function): Change the default to
15401 `sendmail-query-once'.
9e87df06 15402 (sendmail-query-once): Add an autoload cookie.
f0691d22 15403
1f2b92cb
LMI
15404 * net/network-stream.el (network-stream-open-starttls): Try using
15405 a plain connection even if the server offered STARTTLS, and we
15406 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15407 capability. This should make smtpmail.el work in slightly more
15408 configurations.
15409
1cdd2a1b
MA
154102011-07-06 Michael Albinus <michael.albinus@gmx.de>
15411
15412 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15413 New defun.
15414 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15415
fbcc67e2
MM
154162011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15417
15418 * progmodes/sql.el: Version 3.0
0757af94 15419 (sql-product-alist): Add product :completion-object,
fbcc67e2 15420 :completion-column, and :statement attributes.
0757af94 15421 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15422 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15423 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15424 ansi keywords.
15425 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15426 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15427 (sql-oracle-show-reserved-words): New function for development.
15428 (sql-product-font-lock): Simplify for source code buffers.
15429 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15430 New functions.
15431 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15432 (sql-mode-map): Add statement movement functions.
15433 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15434 New variable.
fbcc67e2
MM
15435 (sql-statement-regexp, sql-beginning-of-statement)
15436 (sql-end-of-statement, sql-signum): New functions.
0757af94 15437 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15438 (sql-show-sqli-buffer): Bug fix.
15439 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15440 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15441 with sql-interactive-mode.
15442 (sql-save-connection): Save buffer local settings.
0757af94 15443 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15444 (sql-product-interactive): Bug fix.
15445 (sql-preoutput-hold): New variable.
15446 (sql-interactive-remove-continuation-prompt): Bug fixes.
15447 (sql-debug-redirect): New variable.
15448 (sql-str-literal): New function.
15449 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15450 Redesign.
fbcc67e2
MM
15451 (sql-oracle-save-settings, sql-oracle-restore-settings)
15452 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15453 (sql-completion-object, sql-completion-column)
15454 (sql-completion-sqlbuf): New variables.
15455 (sql-build-completions-1, sql-build-completions)
15456 (sql-try-completion): New functions.
15457 (sql-read-table-name): Use them.
15458 (sql-contains-names): New buffer local variable.
15459 (sql-list-all, sql-list-table): Use it.
15460 (sql-oracle-completion-types): New variable.
15461 (sql-oracle-completion-object, sql-sqlite-completion-object)
15462 (sql-postgres-completion-object): New functions.
15463
d4eaeab1
GM
154642011-07-06 Glenn Morris <rgm@gnu.org>
15465
15466 * window.el (pop-to-buffer): Doc fix.
15467
322b7dab 154682011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15469
15470 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15471
322b7dab 154722011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15473
322b7dab 15474 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15475
322b7dab 15476 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15477
605dd5bf
CY
154782011-07-05 Chong Yidong <cyd@stupidchicken.com>
15479
15480 * button.el (button): Inherit from link face. Suggested by Dan
15481 Nicolaescu.
15482
7dbfa719
SM
154832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15484
3db614b0
SM
15485 * progmodes/gdb-mi.el: Fit in 80 columns.
15486 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15487 switch-to-buffer.
15488
7dbfa719
SM
15489 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15490 if imenu is simply not configured (bug#8941).
15491
919d884a
KM
154922011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15493
15494 * allout.el (allout-post-undo-hook): New allout outline-change
15495 event hook to signal undo activity.
15496 (allout-post-command-business): Run allout-post-undo-hook if an
15497 undo just occurred.
7dbfa719
SM
15498 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15499 * allout-widgets.el (allout-widgets-after-undo-function):
15500 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15501 in the vicinity of an undo.
15502 (allout-widgets-mode): Include allout-widgets-after-undo-function
15503 on the new allout-post-undo-hook.
15504
450a0f09
SM
155052011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15506
15507 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15508 Let define-derived-mode define it.
15509 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15510 cycles of abbrev-table inheritance (bug#8998).
15511
2de69e00
RW
155122011-07-05 Roland Winkler <winkler@gnu.org>
15513
15514 * textmodes/bibtex.el: Add support for biblatex.
15515 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15516 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15517 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15518 (bibtex-entry-alist, bibtex-field-alist): New variables.
15519 (bibtex-entry-field-alist): Obsolete alias for
15520 bibtex-BibTeX-entry-alist.
15521 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15522 (bibtex-set-dialect): New command.
15523 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15524 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15525 Bind via bibtex-set-dialect.
2de69e00
RW
15526 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15527 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15528 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15529 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15530 Define via bibtex-set-dialect.
450a0f09
SM
15531 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15532 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15533 (bibtex-vec-push, bibtex-vec-incr): New functions.
15534 (bibtex-format-entry, bibtex-field-list)
15535 (bibtex-print-help-message, bibtex-validate)
15536 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15537
2dcdbdd9
SM
155382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15539
15540 * progmodes/compile.el (compilation-goto-locus):
15541 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15542 * bs.el (bs-cycle-next, bs-cycle-previous):
15543 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15544 * bindings.el (mode-line-other-buffer):
15545 * autoinsert.el (auto-insert):
15546 * arc-mode.el (archive-extract):
15547 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15548
b27640fe
JB
155492011-07-05 Juanma Barranquero <lekktu@gmail.com>
15550
15551 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15552 Fix check of `emacs-lock-unlockable-modes'.
15553 Coerce true values of `emacs-lock--try-unlocking' to t.
15554
53bbe3ad
JB
155552011-07-05 Juanma Barranquero <lekktu@gmail.com>
15556
15557 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15558 * emacs-lock.el: New file.
15559
1d3cdbc7
JD
155602011-07-05 Julien Danjou <julien@danjou.info>
15561
15562 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15563 than `boundp' to check if face is set.
15564
9173deec
JB
155652011-07-05 Juanma Barranquero <lekktu@gmail.com>
15566
15567 * register.el (registerv-make):
15568 * window.el (window-min-height): Fix typos in docstrings.
15569
869795d6
JD
155702011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15571
9173deec 15572 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15573 Update doc string.
15574
b768cdcd
JB
155752011-07-04 Juanma Barranquero <lekktu@gmail.com>
15576
15577 * server.el (server-execute): Catch quit and call
15578 `server-return-error' to pass the error back to emacsclient and
15579 close the connection (bug#8942).
15580
13aa217b
KM
155812011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15582
15583 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15584 insecure exception for current topic. Also note that auto-saves
15585 are handled differently.
15586
5d3385a0 15587 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15588 State variables for tracking auto-save inhibition situation.
15589
15590 (allout-write-contents-hook-handler): Rename from
15591 'allout-write-file-hook-handler', and describe how it depends on
15592 write-contents-functions sensitivity to non-nil value to prevent
15593 file write.
15594
15595 (allout-auto-save-hook-handler): Remove. auto-save does not check
15596 this in individual buffers, only in the starting buffer, so this
15597 is not the right way for us to inhibit auto-save in a buffer
15598 according to its condition.
15599
15600 (allout-mode): Use new allout-write-contents-hook-handler, and
15601 only with write-contents-functions. Remove auto-save provisions -
15602 they're implemented elsewhere.
15603
15604 (allout-before-change-handler): If undo is in progress, note that
15605 for attention of allout-post-command-business.
15606
15607 (allout-post-command-business): If the command we're following was
15608 an undo, check for change in the status of encrypted items and
15609 adjust auto-save inhibitions accordingly.
15610
15611 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15612 according to whether there are or aren't any plain-text topics
15613 pending encryption.
15614
2dcdbdd9 15615 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15616 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15617 if there are plain-text topics pending encryption.
13aa217b
KM
15618
15619 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15620 buffer-saved-size and some allout state to not inhibit auto-saves
15621 if there are no longer any plain-text topics pending encryption.
15622
0757af94
SM
15623 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15624 No longer provide for exemption of the current topic.
13aa217b 15625
ac89b32c
JL
156262011-07-04 Juri Linkov <juri@jurta.org>
15627
15628 Add 7z operations to delete and save changed members (bug#8968).
15629 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15630 New defcustoms.
15631 (archive-7z-write-file-member): New function.
15632 (archive-7z-summarize): Fix the number of dashes in the
15633 listing output.
15634
8fa39615
SM
156352011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15636
15637 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15638 (bug#8958).
15639
2f11b3f1
CY
156402011-07-04 Chong Yidong <cyd@stupidchicken.com>
15641
d66fef2b
CY
15642 * bindings.el: Ignore next-buffer and previous-buffer in
15643 minibuffer-local-map.
15644
2f11b3f1
CY
15645 * font-lock.el (font-lock-builtin-face): Change light background
15646 color to dark slate blue (Bug#6693).
15647
f932a347
WD
156482011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15649
15650 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15651
c8af70e1
SM
156522011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15653
15654 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15655 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15656 Add switch-to-buffer.
15657
f158badc
LMI
156582011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15659
15660 * isearch.el (isearch-search-fun-function): Clarify further the
15661 meaning of the function returned.
15662
6d95bd46
MA
156632011-07-04 Michael Albinus <michael.albinus@gmx.de>
15664
15665 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15666
15667 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15668 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15669 Use it.
15670 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15671 `tramp-default-remote-path' does not exist.
15672 (tramp-send-command-and-read): New optional argument NOERROR.
15673 (tramp-open-connection-setup-interactive-shell)
15674 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15675 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15676 (tramp-process-sentinel): Flush also process' connection property.
15677 (tramp-sh-handle-start-file-process): Do not set process
15678 sentinel. It is done now ...
15679 (tramp-maybe-open-connection): ... here. (Bug#8929)
15680
909e6b67
MK
156812011-07-04 MON KEY <monkey@sandpframing.com>
15682
15683 * play/animate.el (animate-string): Doc fixes and allow changing
15684 the buffer name (bug#5417).
15685
156862011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15687
c8af70e1 15688 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15689
f34755dc
PE
156902011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15691
396cec72
PE
15692 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15693 This is simpler and helps future-proof the code.
15694 (timer-until): Use time-subtract and float-time.
08235028 15695 (timer--time-less-p): Use time-less-p.
f34755dc 15696
56e6cc31
JB
156972011-07-04 Juanma Barranquero <lekktu@gmail.com>
15698
3abb79e5
JB
15699 * type-break.el (timep): Use the value of `float-time' to avoid a
15700 byte-compiler warning.
15701
56e6cc31
JB
15702 * server.el (server-eval-and-print): Return any result, even nil.
15703
7b9430b4
PE
157042011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15705
15706 * type-break.el: Accept time formats that the builtins accept.
15707 (timep, type-break-time-difference): Accept any format that
15708 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15709 This is simpler and helps future-proof the code.
15710 (type-break-time-difference): Round rather than ignoring
15711 subseconds components.
15712
3034e9e7
LMI
157132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15714
15715 * info.el (Info-apropos-matches): Make non-interactive, since it
15716 doesn't seem to do anything useful as a command (bug#8829).
15717
1485f4c0
CY
157182011-07-03 Chong Yidong <cyd@stupidchicken.com>
15719
15720 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15721 Move from faces.el.
1485f4c0
CY
15722 (frame-default-terminal-background): New function.
15723
15724 * custom.el (custom-push-theme): Don't record faces in `changed'
15725 theme; this doesn't work correctly for per-frame face settings.
15726 (disable-theme): Use face-set-after-frame-default to reset faces.
15727 (custom--frame-color-default): New function.
15728
9fa3dd45
LMI
157292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15730
c8af70e1 15731 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15732 (bug#8769).
15733
6cbbc20c
KR
157342011-03-29 Kevin Ryde <user42@zip.com.au>
15735
15736 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15737 `perl-Test2' extend to match possible "fail #N" rep count
15738 (bug#8377).
15739
c7f98048
LMI
157402011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15741
65676592
LMI
15742 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15743 `smtpmail-via-smtp' now returns the error instead of nil.
15744
c7f98048
LMI
15745 * isearch.el (isearch-search-fun-function): Clarify the doc string
15746 (bug#8101).
15747
56e6cc31 157482011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15749
15750 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15751 unnecessary spaces (bug#8987).
15752
2b216704
LMI
157532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15754
15755 * net/network-stream.el (open-network-stream): Use the
15756 :end-of-capability command thoughout.
15757
157582011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15759
15760 * net/network-stream.el (open-network-stream): Add the
15761 :end-of-capability command parameter, used by pop3.el.
15762
36adf6ce
LMI
157632011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15764
1ca0da0e
LMI
15765 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15766
fc00f69c
LMI
15767 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15768 for list)" (bug#6475).
15769
28fd8759 15770 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15771 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15772 an error (bug#6297).
15773
0dd8b6da
LMI
15774 * man.el (Man-reference-regexp): Allow matching possible
15775 word-wrapped references (bug#6289).
15776
ce1438d6
LMI
15777 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15778 for consistency with the other vc buffers (bug#6197).
15779 (vc-checkin): Ditto.
15780
15781 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15782
36adf6ce
LMI
15783 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15784
e83cc1f7
LMI
157852011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15786
8a20ca4c
LMI
15787 * custom.el (defcustom): Clarify that :set is only used in the
15788 Customize user interface (bug#6089).
15789
83319045
LMI
15790 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15791 associated with a file, refuse to run instead of erroring out
15792 (bug#6084).
15793
a8392169
LMI
15794 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15795 the doc string, since it appears that using `fill-column' always
15796 controls the width (bug#7845).
15797
e83cc1f7
LMI
15798 * simple.el (shell-command-on-region): Say where the error output
15799 went if `shell-command-default-error-buffer' is set (bug#6857).
15800
e47ca23b
KM
158012011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15802
15803 * allout.el (allout-yank-processing): Adjust cursor position for
15804 backwards-deleted space.
15805
15806 (allout-rebullet-heading): Register changes with
15807 allout-exposure-changed-hook, so the modified topic is properly
15808 decorated.
15809
5cf56143
LMI
158102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15811
08549772
LMI
15812 * minibuffer.el (completion-in-region): Document PREDICATE
15813 (bug#7136).
15814
48e96771
LMI
15815 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15816 of keyword/argument pairs (bug#6904).
15817
c8af70e1
SM
15818 * replace.el (multi-occur):
15819 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15820
e17d05e2
LMI
158212011-07-02 Drew Adams <drew.adams@oracle.com>
15822
15823 * dired.el (dired-mark-if): Make the message about whether it's
15824 marking or unmarking clearer (bug#8523).
15825
063b0e45
LMI
158262011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15827
15828 * disp-table.el (display-table-print-array): New function.
15829 (describe-display-table): Use it to print the vectors more pretty
15830 (Bug#8859).
15831
28545e04
MR
158322011-07-02 Martin Rudalics <rudalics@gmx.at>
15833
15834 * window.el (window-state-get-1): Don't assign clone numbers.
15835 Add clone-of item to list of window parameters.
15836 (window-state-put-2): Don't process clone numbers.
15837 (display-buffer-alist): Fix doc-string.
15838
3349e122
SM
158392011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15840
15841 * subr.el (remq): Don't allocate if it's not needed.
15842 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15843 (keymap--merge-bindings): New functions.
15844 (keymap-canonicalize): Use them to refine the canonicalization.
15845 * minibuffer.el (minibuffer-local-completion-map)
15846 (minibuffer-local-must-match-map): Move initialization from C.
15847 (minibuffer-local-filename-completion-map): Move initialization from C;
15848 don't inherit from anything here.
15849 (minibuffer-local-filename-must-match-map): Make obsolete.
15850 (completing-read-default): Use make-composed-keymap to combine
15851 minibuffer-local-filename-completion-map with either
15852 minibuffer-local-must-match-map or
15853 minibuffer-local-filename-completion-map.
15854
d224ac83
GM
158552011-07-01 Glenn Morris <rgm@gnu.org>
15856
3de63bf8
GM
15857 * type-break.el (type-break-time-sum): Use dolist.
15858
d224ac83
GM
15859 * textmodes/flyspell.el (flyspell-word-search-backward):
15860 Replace CL function.
15861
1a1e3f32
SM
158622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15863
fe3f64d5
SM
15864 * mouse.el (mouse--strip-first-event): New function.
15865 (function-key-map): Use it to map fringe clicks to normal clicks
15866 by default.
15867
eb604e34
SM
15868 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15869 (vc-bzr-revision-completion-table): Add support for annotate and date.
15870
1a1e3f32
SM
15871 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15872 inherit from parent.
15873
5bd35902
LMI
158742011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15875
ace6c69c 15876 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15877 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15878
191e2bed
LMI
15879 * dired.el (dired-mode): Fix up the doc string as suggested by
15880 Drew Adams (bug#8817).
15881
5bd35902
LMI
15882 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15883 cookie, since the manual says that it should be possible to add
15884 this function to `find-file-hook' (bug#8709).
15885
eee8207a
TZ
158862011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15887
15888 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15889 here. Noted Ted Zlatanov as the maintainer.
15890 (cfengine-common-settings, cfengine-common-syntax): New functions
15891 to set up common things between `cfengine-mode' and
15892 `cfengine3-mode'.
15893 (cfengine3-mode): New mode.
15894 (cfengine3-defuns cfengine3-defuns-regex
15895 (cfengine3-class-selector-regex cfengine3-category-regex)
15896 (cfengine3-vartypes cfengine3-font-lock-keywords)
15897 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15898 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15899
36b148cf
MA
159002011-07-01 Michael Albinus <michael.albinus@gmx.de>
15901
15902 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15903
15904 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15905
0bf4ba9a
MR
159062011-07-01 Martin Rudalics <rudalics@gmx.at>
15907
15908 * window.el (same-window-buffer-names, same-window-regexps)
15909 (same-window-p, special-display-frame-alist)
15910 (special-display-popup-frame, special-display-function)
15911 (special-display-buffer-names, special-display-regexps)
15912 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15913 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15914 (split-window-preferred-function, split-height-threshold)
15915 (split-width-threshold, even-window-heights)
15916 (display-buffer-mark-dedicated, window-splittable-p)
15917 (split-window-sensibly, window-safely-shrinkable-p):
15918 Un-obsolete.
15919 (display-buffer): Don't spread args with function specifier
15920 because special-display-popup-frame won't like it.
15921
35837f51
PE
159222011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15923
d0672f86
PE
15924 Time-stamp simplifications and fixes.
15925 These improve accuracy slightly, and future-proof the code
15926 against some potential changes to current-time format.
15927
b9444d97
PE
15928 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15929 by using time-since and float-time.
15930
0ef923dc
PE
15931 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15932 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15933 + NNN microseconds".
15934
2f81380d
PE
15935 * type-break.el (type-break-time-sum): Rewrite using time-add.
15936
845b5c3e
PE
15937 * play/hanoi.el (hanoi-current-time-float): Remove.
15938 All uses replaced by float-time.
15939
ee6f1be0
PE
15940 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15941 This yields a more-accurate answer.
15942 (rng-time-to-float): Remove; no longer needed.
15943
fe955043
PE
15944 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15945
5777162a
PE
15946 * calendar/timeclock.el (timeclock-seconds-to-time):
15947 Defalias to seconds-to-time, since they're the same thing.
15948
3103f8b6 15949 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15950 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15951 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15952
0e61a35f
SM
159532011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15954
15955 * window.el (bury-buffer): Don't iconify the only frame.
15956 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15957 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15958
ddd63a1e
CY
159592011-07-01 Chong Yidong <cyd@stupidchicken.com>
15960
0e61a35f
SM
15961 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15962 Add mouse-yank-primary.
ddd63a1e 15963
055f4923
TZ
159642011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15965
15966 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15967
6a2fb145
SM
159682011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15969
15970 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15971 (find-library-name): Use it to find relative load names when provided
15972 absolute file name (bug#8803).
15973
fd4983f2
LMI
159742011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15975
887d14ad
LMI
15976 * textmodes/flyspell.el (flyspell-word): Consider words that
15977 differ only in case as potential doublons (bug#5687).
15978
c53dc7fc
LMI
15979 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15980 Remove two rather uninteresting debugging-like messages to make
15981 debbugs.el more silent.
15982
fd4983f2
LMI
15983 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15984 a password-like phrase.
15985
7a71b18d 159862011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
15987
15988 * progmodes/cc-guess.el: New file.
15989
6a2fb145 15990 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
15991
15992 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15993 derived from `c-basic-common-init'.
15994
15995 * progmodes/cc-mode.el (top-level): Require cc-guess.
15996 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15997
1fa280a3
LM
159982011-06-30 Lawrence Mitchell <wence@gmx.li>
15999
16000 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16001
e6597158
AM
160022011-06-30 Alan Mackenzie <acm@muc.de>
16003
1fa280a3
LM
16004 * progmodes/cc-engine.el (c-guess-continued-construct):
16005 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16006 lock is disabled. Name this case as "CASE G".
16007
68ba37fb
KM
160082011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16009
16010 * allout.el (allout-yank-processing): Fix injection of extra space
16011 between bullet and non-whitespace character in first topic when
16012 pasting, ensuring that the actual spacing in the pasted topic
16013 following the bullet char is preserved. This extra space was
16014 causing pasted encrypted topics to get a decrypted status even
16015 when the content was actually still encrypted. Now the decryption
16016 status from before the paste is preserved.
16017
16018 (allout-flag-region): Set all allout overlays so they evaporate
16019 when reduced to zero length (evanescent), to prevent overlay
16020 leakage.
16021
887a0b34
GM
160222011-06-30 Glenn Morris <rgm@gnu.org>
16023
94b9acce
GM
16024 * w32-fns.el (w32-charset-info-alist): Declare.
16025
1d9b46d4
GM
16026 * find-dired.el (find-grep-options): Simplify.
16027
cc232200
GM
16028 * term/ns-win.el (ns-set-resource): Declare.
16029
28e77c46
GM
16030 * ses.el (row, col): Declare dynamic variables honestly.
16031
887a0b34
GM
16032 * textmodes/reftex-parse.el (index-tags): Declare.
16033
658d8eb8
CY
160342011-06-30 Chong Yidong <cyd@stupidchicken.com>
16035
16036 * cus-edit.el (customize-push-and-save): New function.
16037
16038 * files.el (hack-local-variables-confirm): Use it.
16039
1fa280a3
LM
16040 * custom.el (load-theme): New arg NO-CONFIRM.
16041 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16042 (custom-enabled-themes): Doc fix.
16043
16044 * cus-theme.el (customize-create-theme)
16045 (custom-theme-merge-theme): Callers to load-theme changed.
16046
bb617717
LMI
160472011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16048
d61bdd5d
LMI
16049 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16050 short URLs have at least one dot in them (bug #7614).
16051
bb617717
LMI
16052 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16053 nil, because using a pty is apparently too slow (bug #895).
16054
2f31f37a
LMI
160552011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16056
16057 * mail/sendmail.el (sendmail-query-once): New function.
16058 (sendmail-query-once-function): New variable.
16059
3076b24e
GM
160602011-06-29 Glenn Morris <rgm@gnu.org>
16061
faf2a174
GM
16062 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16063
3076b24e
GM
16064 * ses.el (top-level): Require cl when compiling.
16065 (ses-set-localvars): Fix error statement.
16066 Call it at compile time to silence a storm of warnings.
16067
5386012d
MR
160682011-06-29 Martin Rudalics <rudalics@gmx.at>
16069
16070 * window.el (normalize-live-buffer): Rename to
16071 window-normalize-buffer.
16072 (normalize-live-frame): Rename to window-normalize-frame.
16073 (normalize-any-window): Rename to window-normalize-any-window.
16074 (normalize-live-window): Rename to window-normalize-live-window.
16075 (make-window-atom): Rename to window-make-atom.
16076 (window-resize-reset): Rename to window--resize-reset.
16077 (window-resize-reset-1): Rename to window--resize-reset-1.
16078 (resize-mini-window): Rename to window--resize-mini-window.
16079 (resize-subwindows-skip-p): Rename to
16080 window--resize-subwindows-skip-p.
16081 (resize-subwindows-normal): Rename to
16082 window--resize-subwindows-normal.
16083 (resize-subwindows): Rename to window--resize-subwindows.
16084 (resize-other-windows): Rename to window--resize-siblings.
16085 (resize-this-window): Rename to window--resize-this-window.
16086 (resize-root-window): Rename to window--resize-root-window.
16087 (resize-root-window-vertically): Rename to
16088 window--resize-root-window-vertically.
16089 (normalize-buffer-to-display): Rename to
16090 window-normalize-buffer-to-display.
16091 (normalize-buffer-to-switch-to): Rename to
16092 window-normalize-buffer-to-switch-to.
16093 Correspondingly update all callers of the functions listed
16094 above.
16095 (display-buffer-alist, display-buffer-normalize-arguments)
16096 (display-buffer-normalize-options, display-buffer)
16097 (display-buffer-alist-set): Use "function" instead of
16098 "fun-with-args".
16099
1176868d
CY
161002011-06-28 Chong Yidong <cyd@stupidchicken.com>
16101
16102 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16103 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16104 debbugs.gnu.org. Mention acknowledgment email.
16105
20a7a65f
LMI
161062011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16107
16108 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16109 buffer multibyteness, since it shouldn't matter.
16110
5f45cca5
MR
161112011-06-28 Martin Rudalics <rudalics@gmx.at>
16112
16113 * window.el (display-buffer-in-side-window): Handle dedicated
16114 windows as in display-buffer-reuse-window.
16115 (display-buffer-normalize-alist): Use value of override
16116 specifier.
16117 (display-buffer-normalize-specifiers): Use value of
16118 other-window-means-other-frame specifier.
16119 (display-buffer-alist): Rewrite some texts in widgets.
16120 (display-buffer): Spread arguments when calling function
16121 specified by fun-with-args.
16122
ad85fe1f
DD
161232011-06-28 Deniz Dogan <deniz@dogan.se>
16124
1fa280a3
LM
16125 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16126 Unnest `let'.
da68c4c8 16127
ad85fe1f
DD
16128 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16129 selectors (Bug#5732).
ec49bd31 16130 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16131
a08cc025
JA
161322011-06-27 Jari Aalto <jari.aalto@cante.net>
16133
16134 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16135 (eshell-ls-date-format): New defcustom.
16136 (eshell-ls-file): Use it.
16137
e2b551c5
SM
161382011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16139
16140 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16141
8982b231
KY
161422011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16143
16144 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16145 (ange-ftp-make-tmp-name): New arg.
16146 (ange-ftp-file-local-copy): Use it.
16147
36c9fa27
J
161482011-06-27 Jambunathan K <kjambunathan@gmail.com>
16149
16150 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16151 no-conversion (Bug#8870).
16152
d68443dc
MR
161532011-06-27 Martin Rudalics <rudalics@gmx.at>
16154
16155 * window.el (window-right, window-left, window-child)
16156 (window-child-count, window-last-child)
16157 (window-iso-combination-p, walk-window-tree-1)
16158 (window-atom-check-1, window-tree-1, delete-window)
16159 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16160 new naming conventions - window-vchild, window-hchild,
16161 window-next and window-prev are now called window-top-child,
16162 window-left-child, window-next-sibling and window-prev-sibling
16163 respectively.
d615d6d2
MR
16164 (resize-window-reset): Rename to window-resize-reset.
16165 (resize-window-reset-1): Rename to window-resize-reset-1.
16166 (resize-window): Rename to window-resize.
16167 (window-min-height, window-min-width)
16168 (resize-mini-window, resize-this-window, resize-root-window)
16169 (resize-root-window-vertically, adjust-window-trailing-edge)
16170 (enlarge-window, shrink-window, maximize-window)
16171 (minimize-window, delete-window, quit-restore-window)
16172 (split-window, balance-windows, balance-windows-area-adjust)
16173 (balance-windows-area, window-state-put-2)
16174 (display-buffer-even-window-sizes, display-buffer-set-height)
16175 (display-buffer-set-width, set-window-text-height)
16176 (fit-window-to-buffer): Rename all "resize-window" prefixed
16177 calls to use the "window-resize" prefix convention.
16178 (display-buffer-alist): Fix symbol for label specifier.
16179 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16180 corresponding specifier.
16181 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16182
b6458526
VB
161832011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16184
16185 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16186 convention.
16187 (ses-call-printer): Does not pass an empty string to formatter when the
16188 cell is empty to keep from barking printer Calc math-format-value.
16189
d31fd9ac
RS
161902011-06-27 Richard Stallman <rms@gnu.org>
16191
43d5bf84
RS
16192 * battery.el (battery-mode-line-limit): New variable.
16193 (battery-update): Handle it.
16194
d31fd9ac
RS
16195 * mail/rmailmm.el (rmail-mime-process-multipart):
16196 Handle truncated messages.
16197
819a6054
GM
161982011-06-27 Glenn Morris <rgm@gnu.org>
16199
16200 * progmodes/flymake.el (flymake-err-line-patterns):
16201 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16202
cedc73f2
VB
162032011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16204
819a6054 16205 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16206 (ses--clean-!, ses--clean-_): New functions.
16207 (ses-range): Add configurability of readout order, and conversion
16208 to Calc vector.
16209
5e5d49b6
VB
16210 * ses.el (ses-repair-cell-reference-all): New function.
16211 (ses-cell-symbol): Set macro as safe, so that it can be used in
16212 formulas.
16213
56e6cc31 16214 * ses.el: Update cycle detection algorithm.
90ca8b49 16215 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16216 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16217 (ses-set-localvars): New function.
16218 (ses-make-cell): Add property-list as a cell element.
16219 (ses-cell-property-get-fun, ses-cell-property-get)
16220 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16221 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16222 New functions.
90ca8b49
VB
16223 (ses-cell-property-set, ses-cell-property-pop)
16224 (ses-cell-property-get-handle): New macro.
16225 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16226 New aliases, used for code readability.
16227 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16228 cycle detection.
16229 (ses-self-reference-early-detection): New defcustom.
fac916bf 16230 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16231 (ses-mode): Use ses-set-localvars.
16232 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16233 before lauching the update processing.
16234 (ses-initialize-Dijkstra-attempt): New function.
16235 (ses-recalculate-cell): Update for cycle detection based on
16236 Dijkstra algorithm.
16237
2bb63e81
VB
16238 * ses.el: Fix commenting and indenting convention.
16239
c9d29fb8
SM
162402011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16241
16242 * bs.el (bs-cycle-next): Complete last change.
16243
d8e4b68b
JB
162442011-06-27 Drew Adams <drew.adams@oracle.com>
16245
16246 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16247
40098786
LMI
162482011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16249
c9d29fb8
SM
16250 * net/network-stream.el (network-stream-open-starttls):
16251 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16252 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16253
40098786
LMI
16254 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16255 to binary to possibly avoid line encoding issues on Windows (among
16256 other things).
16257
468d09d4
LMI
162582011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16259
16260 * net/network-stream.el (open-network-stream): Return an :error
16261 saying what the problem was, if possible.
16262
16263 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16264 server.
16265
16266 * net/network-stream.el (network-stream-open-starttls): If we
16267 wanted to use STARTTLS, and the server offered it, but we weren't
16268 able to because we had no STARTTLS support, then close the connection.
16269 (open-network-stream): Return an :error element, if present.
16270
16f07dd7
CY
162712011-06-26 Chong Yidong <cyd@stupidchicken.com>
16272
88821ca0
CY
16273 * hl-line.el (hl-line-sticky-flag): Doc fix.
16274 (global-hl-line-sticky-flag): New option (Bug#8323).
16275 (global-hl-line-highlight): Obey it.
16276
16f07dd7
CY
16277 * vc/vc.el (vc-revert-show-diff): Default to t.
16278
6b5ccddf
KM
162792011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16280
c9d29fb8
SM
16281 * allout-widgets.el (allout-widgets-post-command-business):
16282 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16283 undecorated when an isearch is continued past, and isearch
16284 automatically collapses them. This leads to "widget leaks", where
16285 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16286 hidden widgets can slow down cursor travel, substantially.
16287 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16288 so we're doing without this nicety.
16289
16290 (allout-widgets-tally-string): Don't try to do a hash-table-count
16291 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16292 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16293 *Messages* when allout-widgets-maintain-tally is t.
16294
355f2e07
MR
162952011-06-26 Martin Rudalics <rudalics@gmx.at>
16296
16297 * window.el (display-buffer-normalize-argument): Rename to
16298 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16299 LABEL argument. Respect special-display-function when popping up
16300 a new frame. Fix code searching for a window showing the buffer
16301 on another frame.
c9d29fb8
SM
16302 (display-buffer-normalize-specifiers):
16303 Call display-buffer-normalize-arguments.
355f2e07
MR
16304 (display-buffer-in-window): Don't undedicate the window if its
16305 buffer remains the same.
16306 Reported by Drew Adams <drew.adams@oracle.com>.
16307 (display-buffer-alist): Add choice for same-window macro
16308 specfier.
16309 (display-buffer): Mention special meaning of LABEL argument in
16310 doc-string. Fix quoting. Don't pop up a new frame even as
16311 fallback.
16312
7ca8fc42
JB
163132011-06-26 Juanma Barranquero <lekktu@gmail.com>
16314
16315 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16316 avoid deleting the current window in some cases (bug#8911).
16317
bc312254
AS
163182011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16319
16320 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16321 (Bug#8934)
16322
2db18f3f
LMI
163232011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16324
c9d29fb8
SM
16325 * net/network-stream.el (network-stream-open-starttls):
16326 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16327 (network-stream-open-tls): Ditto.
16328
6302e0d3
LL
163292011-06-26 Leo Liu <sdl.web@gmail.com>
16330
16331 * register.el (registerv): New struct.
16332 (registerv-make): New function.
c9d29fb8
SM
16333 (jump-to-register, describe-register-1, insert-register):
16334 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16335 struct. (Bug#8415)
16336
5fdd4046
CY
163372011-06-26 Chong Yidong <cyd@stupidchicken.com>
16338
2afef60a
CY
16339 * vc/vc.el (vc-revert-show-diff): New defcustom.
16340 (vc-diff-internal): New arg specifying diff buffer.
16341 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16342 reuse an existing *vc-diff* buffer (Bug#8927).
16343
5fdd4046
CY
16344 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16345
e93db24a
GM
163462011-06-26 Glenn Morris <rgm@gnu.org>
16347
16348 * progmodes/f90.el (f90-critical-indent): New option.
16349 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16350 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16351 (f90-mode): Doc fix.
16352 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16353 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16354 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16355 (f90-match-end): Handle block, critical.
16356
eefff499
GM
163572011-06-25 Glenn Morris <rgm@gnu.org>
16358
f6ba4cc9
GM
16359 * calendar/diary-lib.el (diary-included-files): Doc fix.
16360 (diary-include-files): New function, extracted from
16361 diary-include-other-diary-files and diary-mark-included-diary-files.
16362 (diary-include-other-diary-files, diary-mark-included-diary-files):
16363 Just call diary-include-files.
16364 (diary-mark-entries): Reset diary-included-files on first call.
16365
16712304
GM
16366 * calendar/diary-lib.el (diary-mark-entries)
16367 (diary-mark-included-diary-files):
16368 Visit included diary-files in temp buffers.
16369
5d8e0d43
GM
16370 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16371 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16372 (f90-start-block-re, f90-imenu-generic-expression)
16373 (f90-looking-at-program-block-start, f90-no-block-limit):
16374 Add support for submodules.
16375
ccf7a5d5
GM
16376 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16377 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16378
11fdef7d 163792011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16380
16381 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16382 buffer-file-type before setting its value, to avoid disastrous
eefff499 16383 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16384
74f53697
JB
163852011-06-25 Juanma Barranquero <lekktu@gmail.com>
16386
16387 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16388
16389 * ses.el (ses-unload-function):
16390 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16391
16392 * proced.el (proced-unload-function):
16393 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16394
18a4ce5e
AR
163952011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16396
16397 * server.el (server-create-window-system-frame): Add parameters arg.
16398 (server-process-filter): Doc fix. Handle frame-parameters.
16399
519d22cc
JB
164002011-06-25 Juanma Barranquero <lekktu@gmail.com>
16401
16402 Fix bug#8730, bug#8781.
16403
16404 * loadhist.el (unload--set-major-mode): New function.
16405 (unload-feature): Use it.
16406
16407 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16408 (python-unload-function): New function.
16409
c206f5b0
SM
164102011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16411
16412 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16413
f9ad64f3
GS
164142011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16415
16416 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16417 the candidates list.
16418
7d0da90e
JB
164192011-06-24 Juanma Barranquero <lekktu@gmail.com>
16420
16421 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16422
14b4e83d
RS
164232011-06-23 Richard Stallman <rms@gnu.org>
16424
16425 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16426 (rmail-variables): Set next-error-move-function.
16427 (rmail-what-message): Take argument POS.
16428 (rmail-next-error-move): New function.
16429
273d2baf
SM
164302011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16431
16432 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16433 messages for adjacent non-terminals.
16434
56c2cc9a
RS
164352011-06-23 Richard Stallman <rms@gnu.org>
16436
16437 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16438 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16439 (rmail-start-mail): Don't specify use of rmail-mail-return;
16440 that's done by mail-bury now.
16441 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16442
d59eb518
MA
164432011-06-23 Michael Albinus <michael.albinus@gmx.de>
16444
16445 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16446 SIZE is a number.
16447
02cfc6d6
MR
164482011-06-23 Martin Rudalics <rudalics@gmx.at>
16449
16450 * window.el (get-lru-window, get-mru-window)
16451 (get-largest-window): Never return a minibuffer window.
16452 (display-buffer-pop-up-window): Fix a bug that could lead to
16453 reusing the minibuffer window.
16454 (display-buffer): Pass original specifier argument to
16455 display-buffer-function instead of the normalized one.
16456 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16457
4e323265
LL
164582011-06-22 Leo Liu <sdl.web@gmail.com>
16459
16460 * minibuffer.el (completing-read-function)
1f9f395d 16461 (completing-read-default): Move from minibuf.c.
4e323265 16462
7a70468f
RS
164632011-06-22 Richard Stallman <rms@gnu.org>
16464
50718fc2
RS
16465 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16466 to Rmail even if not started by a special Rmail command.
16467
7a70468f
RS
16468 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16469 Copy the buffer currently showing just one message.
16470
297dde5a
RW
164712011-06-22 Roland Winkler <winkler@gnu.org>
16472
16473 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16474 (bibtex-clean-entry): First delete the old key so that a
16475 customized algorithm for generating the new key does not get
16476 confused by the old key.
16477 (bibtex-url): Obey regexp of first step.
16478 (bibtex-search-entries): Do not use add-to-list with local
16479 list-var.
16480
97bb1093
LMI
164812011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16482
16483 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16484 stored a user name, then query for the password first, instead of
16485 waiting for SMTP to give an error message and the trying again.
16486
1c0f1a19
JD
164872011-06-22 Lawrence Mitchell <wence@gmx.li>
16488
16489 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16490 BUFFER in call-process.
16491
396f7c9d
LMI
164922011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16493
16494 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16495 QUIT twice.
ddb7ffee
LMI
16496 (smtpmail-try-auth-methods): Require user name and password from
16497 auth-source.
396f7c9d 16498
8998d1b3
MR
164992011-06-22 Martin Rudalics <rudalics@gmx.at>
16500
16501 * window.el (display-buffer-default-specifiers)
16502 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16503 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16504 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16505
16506 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16507 (special-display-frame-alist, special-display-popup-frame):
16508 Remove duplicate declarations. These are now in window.el.
16509
4ea31e07
LMI
165102011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16511
c9d29fb8
SM
16512 * mail/smtpmail.el (smtpmail-via-smtp):
16513 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16514 server supports it. SMTP servers that support STARTTLS commonly
16515 require it.
16516
16517 * net/network-stream.el (network-stream-open-starttls): Support
16518 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16519 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16520
95f41d9a
LMI
16521 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16522 upgrades with `open-network-stream', and rely solely on
16523 auth-source for all credentials. Big changes throughout the file,
16524 but in particular:
c9d29fb8
SM
16525 (smtpmail-auth-credentials): Remove.
16526 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16527 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16528 MAIL FROM, too.
95f41d9a 16529
c9d29fb8
SM
16530 * net/network-stream.el (network-stream-open-starttls):
16531 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16532 STARTTLS.
16533 (auth-source): Require.
16534 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16535 (network-stream-certificate): Change cert-cert to cert and
16536 cert-key to key.
4ea31e07 16537
065ec2c7
MA
165382011-06-21 Michael Albinus <michael.albinus@gmx.de>
16539
16540 * net/tramp-cache.el (top): Don't load the persistency file when
16541 "emacs -Q" has been called.
16542
cd93b359
DR
165432011-06-21 Tim Harper <timcharper@gmail.com>
16544
d8e4b68b
JB
16545 * term/ns-win.el (ns-initialize-window-system):
16546 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16547 resource to NO as it is not yet supported by the NS port.
16548
ae9c0411
JB
165492011-06-21 Juanma Barranquero <lekktu@gmail.com>
16550
16551 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16552 (list-dynamic-libraries): ...not here.
16553
7f3f739f
LL
165542011-06-21 Leo Liu <sdl.web@gmail.com>
16555
16556 * subr.el (sha1): Implement sha1 using secure-hash.
16557
327c8fb1
MR
165582011-06-21 Martin Rudalics <rudalics@gmx.at>
16559
16560 * window.el (display-buffer-alist): In default value do not
16561 enforce searching a window on any but the selected frame.
16562 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16563 (display-buffer-select-window): Remove function.
16564 (display-buffer-in-window): When a window on another frame gets
16565 reused, do not select it any more but just raise its frame if
16566 necessary (Bug#8851) and (Bug#8856).
16567 (display-buffer-normalize-options): Handle pop-up-frames related
16568 options more faithfully.
16569 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16570 window if it is on another frame.
c9d29fb8
SM
16571 (display-buffer-alist, display-buffer-default-specifiers):
16572 Don't make new frame unsplittable by default.
9e9de014
MR
16573 (display-buffer-normalize-argument): Fix doc-string typo and use
16574 'same-frame-other-window instead of 'other-window when associating
16575 with display-buffer-macro-specifiers.
327c8fb1 16576
7cf3f556
VB
165772011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16578
16579 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16580 New functions.
16581 (5x5-mode-map, 5x5-mode-menu): Bind them.
16582 (5x5-draw-grid): Tweak the solver's rendering.
16583
60a406cf
SM
165842011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16585
16586 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16587 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16588
d8e4b68b 165892011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16590
16591 * menu-bar.el: Use function variable instead of switch-to-buffer.
16592 (menu-bar-select-buffer-function): New variable.
60a406cf 16593 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16594
478d6f95
SM
165952011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16596
16597 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16598 variable's status.
16599
ca530739
JD
166002011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16601
16602 * x-dnd.el (x-dnd-version-from-flags)
16603 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16604 and long as number (Bug#8899).
16605 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16606
bcd70d97
SM
166072011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16608
60a406cf 16609 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16610 (completion-try-completion, completion-all-completions): Compute the
16611 metadata argument if it's missing; make it optional (bug#8795).
16612
60a406cf 16613 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16614 (widget-complete): Use new :completion-function property.
16615 (widget-completions-at-point): New function.
16616 (default): Use :completion-function instead of :complete.
60a406cf
SM
16617 (widget-default-completions): Rename from widget-default-complete;
16618 Rewrite.
bcd70d97
SM
16619 (widget-string-complete, widget-file-complete, widget-color-complete):
16620 Remove functions.
16621 (file, symbol, function, variable, coding-system, color):
16622 * international/mule-cmds.el (default-input-method, charset)
16623 (language-info-custom-alist):
16624 * cus-edit.el (face): Use new property :completions.
16625
16626 * progmodes/pascal.el (pascal-completions-at-point): New function.
16627 (pascal-mode): Use it.
16628 (pascal-mode-map): Use completion-at-point.
16629 (pascal-toggle-completions): Make obsolete.
16630 (pascal-complete-word, pascal-show-completions):
16631 * progmodes/octave-mod.el (octave-complete-symbol):
16632 Redefine as obsolete alias.
16633 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16634 Signal absence of completion info for old Octave,
16635 (inferior-octave-complete): Redefine as obsolete alias.
16636 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16637 (meta-completions-at-point): Rename from meta-complete-symbol and
16638 adapt it for use on completion-at-point-functions.
16639 (meta-common-mode): Use it.
16640 (meta-looking-at-backward, meta-match-buffer): Remove.
16641 (meta-complete-symbol): Redefine as obsolete alias.
16642 (meta-common-mode-map): Use completion-at-point.
16643 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16644 (makefile-mode-map): Use completion-at-point.
16645 (makefile-completions-at-point): Rename from makefile-complete and
16646 adapt it for use on completion-at-point-functions.
16647 (makefile-mode): Use it.
16648 (makefile-complete): Redefine as obsolete alias.
16649
aebf69c8
DD
166502011-06-20 Deniz Dogan <deniz@dogan.se>
16651
16652 * net/rcirc.el: Delete trailing whitespaces once and for all.
16653
bfbbb27d
DC
166542011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16655
16656 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16657
d264a46b
CY
166582011-06-19 Chong Yidong <cyd@stupidchicken.com>
16659
4ca009e5
CY
16660 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16661
d264a46b
CY
16662 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16663
fbf5b3ce
MR
166642011-06-19 Martin Rudalics <rudalics@gmx.at>
16665
16666 * window.el (display-buffer-other-window-means-other-frame):
16667 Call display-buffer-normalize-alist.
16668 (display-buffer-normalize-specifiers-1): Rename to
16669 display-buffer-normalize-argument. New argument other-frame.
16670 Rewrite.
16671 (display-buffer-normalize-specifiers-2): Rename to
16672 display-buffer-normalize-options.
16673 (display-buffer-normalize-alist-1): New function.
16674 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16675 display-buffer-normalize-alist.
16676 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16677 (display-buffer-normalize-options-inhibit): New variable.
16678 (display-buffer-normalize-specifiers): Rewrite calling
16679 display-buffer-normalize-alist,
16680 display-buffer-normalize-argument, and
16681 display-buffer-normalize-options. Don't call the latter if
16682 display-buffer-normalize-options-inhibit is non-nil.
16683 (frame-auto-delete): New option.
16684 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16685 (window-list-no-nils, window-state-ignored-parameters)
16686 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16687 (window-state-put-1, window-state-put-2, window-state-put):
16688 New functions.
9a028c23
MR
16689 (display-buffer-normalize-options): Move special-display-p group
16690 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16691
6d10d800
CY
166922011-06-18 Chong Yidong <cyd@stupidchicken.com>
16693
6420d28b
CY
16694 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16695 groups (Bug#8776).
16696 (rx-submatch-n): New function.
16697 (rx): Document it.
16698
ddb8b596
CY
16699 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16700 (Bug#8768).
16701
16702 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16703
77080289
CY
16704 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16705
61dfb316
CY
16706 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16707 anytime existing face settings are present (Bug#8889).
16708
6d10d800
CY
16709 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16710 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16711 Remove unused argument.
16712
be3fb2b8
MR
167132011-06-18 Martin Rudalics <rudalics@gmx.at>
16714
bcd70d97
SM
16715 * window.el (display-buffer-default-specifiers):
16716 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16717 pop-up-window-min-width, and another reuse-window specifier
16718 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16719 (display-buffer-normalize-specifiers-2):
16720 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16721 pop-up-windows is unset. Add a reuse-window specifier for the
16722 case popping up a new window fails.
16723 (special-display-popup-frame): Remove double quoting.
28dec25a 16724 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16725
1c6d8c76
SM
167262011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16727
16728 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16729 according to comint-completion-addsuffix.
16730
16731 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16732 (pcomplete-suffix-list): Mark as obsolete.
16733 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16734 pcomplete-seen in the closure.
16735 (pcomplete-comint-setup): Setup completion-at-point as well.
16736 (pcomplete--entries): New function.
16737 (pcomplete--env-regexp): New var.
16738 (pcomplete-entries): Rewrite to work with partial-completion and
16739 without relying on pcomplete-suffix-list.
16740 (pcomplete-pare-list): Remove, unused.
16741
25aef8b8
MR
167422011-06-17 Martin Rudalics <rudalics@gmx.at>
16743
16744 * window.el (display-buffer-alist): Set pop-up-window-min-height
16745 and pop-up-window-min-width in default value. Reported by
16746 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16747 other-window-means-other-frame.
16748 (display-buffer-macro-specifiers): Comment out entry for
16749 other-window specifier.
16750 (display-buffer-other-window-means-other-frame): New function.
16751 (display-buffer-normalize-specifiers-1): New arguments
16752 buffer-name and label. Treat other-window case specially.
16753 (display-buffer-normalize-specifiers-2): Treat other-window case
16754 specially.
16755 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16756 (display-buffer-normalize-specifiers):
16757 Call display-buffer-normalize-specifiers-3.
25aef8b8 16758
dbad4f69
MR
167592011-06-17 Martin Rudalics <rudalics@gmx.at>
16760
16761 * window.el (same-window-p): Fix two typos introduced when
16762 adding with-no-warnings.
d1067961
MR
16763 (display-buffer-normalize-specifiers-1): Don't check
16764 pop-up-frames for 'unset initialization.
16765 (display-buffer-normalize-specifiers-2): Major rewrite using
16766 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16767 (pop-up-frames, display-buffer-reuse-frames)
16768 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16769 Suggested by David Engster <deng@randomsample.de>.
16770 (even-window-heights): Initialize to 'unset.
16771 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16772 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16773 other window case.
dbad4f69 16774
9b9c9e3a
MR
167752011-06-16 Martin Rudalics <rudalics@gmx.at>
16776
bcd70d97
SM
16777 * window.el (display-buffer-normalize-specifiers-1):
16778 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16779 second argument of display-buffer (Bug#8865).
981d5c09
MR
16780 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16781 (switch-to-buffer-other-window-same-frame)
16782 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16783 Adams (Bug#8875).
9c2755e9
MR
16784 (display-buffer): Don't check noninteractive when calling
16785 display-buffer-pop-up-frame.
16786 (display-buffer-pop-up-frame): Never pop up a frame in
16787 noninteractive mode (Bug#8857).
67222e1d
MR
16788 (enlarge-window, shrink-window): Don't report an error when the
16789 window can't be resized as requested (Bug#8862).
9b9c9e3a 16790
2b75be67
SM
167912011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16792
9ffdd3ba
SM
16793 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16794
cb581a67
SM
16795 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16796
2b75be67
SM
16797 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16798
8c0e3589
AM
167992011-06-15 Alan Mackenzie <acm@muc.de>
16800
cb581a67
SM
16801 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16802 for declarators, disable knr checking to speed up for normal files.
16803 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16804
b96e6cde
LMI
168052011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16806
4bba86e6
LMI
16807 * net/network-stream.el (open-network-stream): Add the keyword
16808 :always-query-capabilities for the case where you want to force a
16809 `plain' network connection, but the protocol still requires the
16810 capabilitiy command (i.e., SMTP and EHLO).
16811
2b75be67 16812 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16813 consistency with other `-live-p' functions.
16814
efdcdbf8
SM
168152011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16816
16817 * window.el (same-window-buffer-names, same-window-regexps)
16818 (special-display-frame-alist, special-display-popup-frame)
16819 (special-display-function, special-display-buffer-names)
16820 (special-display-regexps, pop-up-frame-alist)
16821 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16822 (pop-up-windows, split-window-preferred-function)
16823 (split-height-threshold, split-width-threshold, even-window-heights)
16824 (display-buffer-mark-dedicated): Don't encourage the use of
16825 display-buffer-alist from Elisp code.
16826
c5cde042
DN
168272011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16828
16829 * progmodes/python.el (python-mode): Derive from prog-mode.
16830 * progmodes/ps-mode.el (ps-mode):
16831 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16832 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16833 * progmodes/ld-script.el (ld-script-mode): Likewise.
16834
baa1c9ab
MR
168352011-06-15 Martin Rudalics <rudalics@gmx.at>
16836
16837 * window.el (display-buffer-alist): Trim default value to avoid
16838 popping up a new frame (Bug#8857) or reusing an arbitrary window
16839 on another frame.
16840 (display-buffer): Do not fall back on popping up a new frame in
16841 batch mode (Bug#8857).
16842
c5dd5a51
CY
168432011-06-14 Chong Yidong <cyd@stupidchicken.com>
16844
16845 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16846 (custom-theme-summary): New function.
16847 (customize-themes): Use it.
16848
d647b7c4
GM
168492011-06-13 Glenn Morris <rgm@gnu.org>
16850
16851 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16852
9481c002
MR
168532011-06-13 Martin Rudalics <rudalics@gmx.at>
16854
357f93d2
MR
16855 * help.el (help-window): Remove variable.
16856 (help-window-point-marker, temp-buffer-max-height)
16857 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16858 (help-print-return-message): Don't set help-window.
16859 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16860 (help-window-setup-finish): Remove.
16861 (help-window-display-message, help-window-setup)
16862 (with-help-window): Major rewrite based on new
16863 display-buffer-window variable.
16864
16865 * help-mode.el (help-mode-finish): Remove help-window related
16866 code.
16867
16868 * view.el (view-exits-all-viewing-windows): Remove reference to
16869 view-return-to-alist in doc-string.
16870 (view-return-to-alist): Make obsolete.
16871 (view-buffer): Call pop-to-buffer-same-window and remove
16872 undo-window code.
16873 (view-buffer-other-window): Call pop-to-buffer-other-window and
16874 simplify code. Ignore second argument.
16875 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16876 simplify code. Ignore second argument.
16877 (view-return-to-alist-update): Make obsolete.
16878 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16879 Rewrite using quit-restore window parameters.
2b75be67
SM
16880 (view-mode-exit): Rename second argument to EXIT-ONLY.
16881 Rewrite using quit-restore-window.
357f93d2
MR
16882 (View-exit, View-exit-and-edit, View-leave, View-quit)
16883 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16884 appropriate arguments.
16885 (view-end-message): Use quit-restore window parameter.
16886
9481c002
MR
16887 * window.el (display-buffer-function): Rewrite doc-string.
16888 (display-buffer-window, display-buffer-alist): New variables.
16889 (display-buffer-split-specifiers)
16890 (display-buffer-side-specifiers)
16891 (display-buffer-macro-specifiers): New constants.
16892 (display-buffer-even-window-sizes, display-buffer-set-height)
16893 (display-buffer-set-width, display-buffer-select-window)
16894 (display-buffer-in-window, display-buffer-reuse-window)
16895 (display-buffer-split-window-1, display-buffer-split-window)
16896 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16897 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16898 (display-buffer-in-side-window, normalize-buffer-to-display)
16899 (display-buffer-normalize-specifiers-1)
16900 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16901 (display-buffer-normalize-specifiers, display-buffer-frame):
16902 New functions.
9481c002
MR
16903 (display-buffer): Major rewrite.
16904 (display-buffer-other-window, display-buffer-other-frame)
16905 (pop-to-buffer, switch-to-buffer-other-window)
16906 (switch-to-buffer-other-frame): Rewrite.
16907 (display-buffer-same-window, display-buffer-same-frame)
16908 (display-buffer-same-frame-other-window)
16909 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16910 (pop-to-buffer-other-window)
16911 (pop-to-buffer-same-frame-other-window)
16912 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16913 (switch-to-buffer-other-window-same-frame): New functions.
16914 (same-window-p, special-display-p): Rewrite disabling warnings.
16915 Make obsolete.
16916 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16917 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16918 Make obsolete
16919 (same-window-buffer-names, same-window-regexps)
16920 (special-display-frame-alist, special-display-popup-frame)
16921 (special-display-function, special-display-buffer-names)
16922 (special-display-regexps, pop-up-frame-alist)
16923 (pop-up-frame-function, split-window-preferred-function)
16924 (split-height-threshold, split-width-threshold)
16925 (even-window-heights): Make obsolete.
16926
9db51aca
GM
169272011-06-12 Glenn Morris <rgm@gnu.org>
16928
16929 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16930 Misc simplifications.
9db51aca 16931
39cffb44
MR
169322011-06-12 Martin Rudalics <rudalics@gmx.at>
16933
16934 * window.el (window-safely-shrinkable-p): Restore function which
16935 was inadvertently removed in change from 2011-06-11. Declare as
16936 obsolete.
16937
2b75be67
SM
16938 * calendar/calendar.el (calendar-generate-window):
16939 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16940 window-safely-shrinkable-p.
16941
a8955be7
GM
169422011-06-12 Glenn Morris <rgm@gnu.org>
16943
16944 * progmodes/fortran.el (fortran-mode-syntax-table):
16945 * progmodes/f90.el (f90-mode-syntax-table):
16946 Set % to punctuation. (Bug#8820)
16947 (f90-find-tag-default): Remove, no longer needed.
16948
f0d4059d
DC
169492011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16950
16951 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16952
1100a63c
CY
169532011-06-11 Chong Yidong <cyd@stupidchicken.com>
16954
16955 * image.el (image-animated-p): Return animation delay in seconds.
16956 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16957 (image-animate-timeout): Remove DELAY argument. Don't assume
16958 every subimage has the same delay; get it from image-animated-p.
16959 (image-animate): Caller changed.
16960
def722bf
MA
169612011-06-11 Michael Albinus <michael.albinus@gmx.de>
16962
16963 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16964 to ignored backtrace functions.
16965
0a2bb1a9
GM
169662011-06-11 Glenn Morris <rgm@gnu.org>
16967
16968 * calendar/appt.el (appt-disp-window-function): Doc fix.
16969 (appt-check): Handle overlapping appointments. (Bug#8337)
16970
6198ccd0
MR
169712011-06-11 Martin Rudalics <rudalics@gmx.at>
16972
16973 * window.el (window-tree-1, window-tree): New functions, moving
16974 the latter to window.el.
16975 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16976 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16977 (bw-refresh-edges): Remove.
16978 (balance-windows-1, balance-windows-2): New functions.
16979 (balance-windows): Rewrite in terms of window tree functions,
16980 balance-windows-1 and balance-windows-2.
16981 (bw-adjust-window): Remove.
16982 (balance-windows-area-adjust): New function with functionality of
16983 bw-adjust-window but using resize-window.
2b75be67
SM
16984 (set-window-text-height): Rewrite doc-string.
16985 Use normalize-live-window and resize-window.
16986 (enlarge-window-horizontally, shrink-window-horizontally):
16987 Rename argument to DELTA.
6198ccd0
MR
16988 (window-buffer-height): New function.
16989 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16990 Rewrite using new window resize routines.
2b75be67
SM
16991 (kill-buffer-and-window, mouse-autoselect-window-select):
16992 Use ignore-errors instead of condition-case.
6198ccd0
MR
16993 (quit-window): Call delete-frame instead of delete-windows-on
16994 for the only buffer on frame.
16995
9397e56f
MR
169962011-06-10 Martin Rudalics <rudalics@gmx.at>
16997
16998 * loadup.el (top-level): Load window before files for the sake
16999 of replace-buffer-in-windows.
17000
17001 * files.el (read-buffer-to-switch)
17002 (switch-to-buffer-other-window)
2b75be67
SM
17003 (switch-to-buffer-other-frame, display-buffer-other-frame):
17004 Move to window.el.
9397e56f
MR
17005
17006 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17007 (previous-buffer): Move to window.el.
17008
17009 * bindings.el (unbury-buffer): Move to window.el.
17010
17011 * window.el (delete-other-windows-vertically): Move after
17012 definition of delete-other-windows.
17013 (other-window, delete-windows-on, replace-buffer-in-windows):
17014 Move here from window.c.
17015 (record-window-buffer, unrecord-window-buffer)
17016 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17017 (switch-to-next-buffer): New functions.
17018 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17019 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17020 (previous-buffer): Move here from simple.el.
17021 Call switch-to-prev-buffer.
9397e56f
MR
17022 (bury-buffer): Move here from buffer.c. Switch to previous
17023 buffer when window cannot be deleted.
17024 (unbury-buffer): Move here from bindings.el.
17025 (ctl-x-map): Move binding for other-window from window.c to
17026 here.
17027 (read-buffer-to-switch, switch-to-buffer-other-window)
17028 (switch-to-buffer-other-frame): Move here from files.el.
17029 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17030 (switch-to-buffer): Move here from buffer.c.
17031 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17032
562dd5e9
MR
170332011-06-10 Martin Rudalics <rudalics@gmx.at>
17034
17035 * window.el (window-min-height, window-min-width): Move here
17036 from window.c. Add defcustoms and rewrite doc-strings.
17037 (resize-mini-window, resize-window): New functions.
17038 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17039 Move here from window.c.
17040 (maximize-window, minimize-window): New functions.
17041 (delete-window, delete-other-windows, split-window): Move here
17042 from window.c.
17043 (window-split-min-size): New function.
17044 (split-window-keep-point): Mention split-window-above-each-other
17045 instead of split-window-vertically.
2b75be67 17046 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17047 Rename split-window-vertically to split-window-above-each-other
17048 and provide defalias for old definition.
17049 (split-window-side-by-side, split-window-horizontally):
17050 Rename split-window-horizontally to split-window-side-by-side
17051 and provide defalias for the old definition.
562dd5e9
MR
17052 (ctl-x-map): Move bindings for delete-window,
17053 delete-other-windows and enlarge-window here from window.c.
17054 Replace bindings for split-window-vertically and
17055 split-window-horizontally by bindings for
17056 split-window-above-each-other and split-window-side-by-side.
17057
17058 * cus-start.el (all): Remove entries for window-min-height and
17059 window-min-width. Add entries for window-splits and
17060 window-nest.
17061
f0da764a
GM
170622011-06-09 Glenn Morris <rgm@gnu.org>
17063
80675c21
GM
17064 * calendar/appt.el (appt-mode-line): New function.
17065 (appt-check, appt-disp-window): Use it.
17066
f0da764a
GM
17067 * files.el (hack-one-local-variable-eval-safep):
17068 Allow minor-modes with explicit +/-1 arguments.
17069
59f623b7
TZ
170702011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17071
17072 * term/xterm.el (xterm): Add defgroup.
17073 (xterm-extra-capabilities): Add defcustom to supply known xterm
17074 capabilities, skip querying them, or query them (default).
17075 (terminal-init-xterm): Use it.
17076 (terminal-init-xterm-modify-other-keys): New function to set up
17077 modifyOtherKeys support to simplify `terminal-init-xterm'.
17078
9aab8e0d
MR
170792011-06-09 Martin Rudalics <rudalics@gmx.at>
17080
17081 * window.el (resize-window-reset, resize-window-reset-1)
17082 (resize-subwindows-skip-p, resize-subwindows-normal)
17083 (resize-subwindows, resize-other-windows, resize-this-window)
17084 (resize-root-window, resize-root-window-vertically)
17085 (window-deletable-p, window-or-subwindow-p)
17086 (frame-root-window-p): New functions.
17087
e8b08aee
GM
170882011-06-09 Glenn Morris <rgm@gnu.org>
17089
17090 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17091 (ange-ftp-get-files): Use it.
17092
254c37a5
AK
170932011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17094
17095 * mail/sendmail.el (mail-recover-1, mail-recover):
17096 * files.el (recover-file, recover-session):
17097 Handle dired-listing-switches not being just a single short option.
17098
35d7dbd3
GM
170992011-06-09 Glenn Morris <rgm@gnu.org>
17100
17101 * calendar/appt.el (appt-display-message, appt-disp-window):
17102 Handle lists of appointments.
17103
387522b2
MR
171042011-06-08 Martin Rudalics <rudalics@gmx.at>
17105
2b75be67
SM
17106 * window.el (one-window-p): Move down in code.
17107 Rewrite doc-string.
17108 (window-current-scroll-bars): Rewrite doc-string.
17109 Normalize live window argument.
387522b2
MR
17110 (walk-windows, get-window-with-predicate, count-windows):
17111 Rewrite doc-string. Use window-list-1.
17112 (window-in-direction-2, window-in-direction, get-mru-window):
17113 New functions.
17114
d8e4b68b 171152011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17116
17117 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17118 Doc fix (Bug#8713).
17119
171202011-06-08 Chong Yidong <cyd@stupidchicken.com>
17121
17122 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17123
171242011-06-08 Juanma Barranquero <lekktu@gmail.com>
17125
17126 * loadhist.el (unload-feature-special-hooks):
17127 Add `comint-output-filter-functions'.
17128
0de12c52
IK
171292011-06-08 Ivan Kanis <gnu@kanis.fr>
17130
17131 * calendar/appt.el (appt-check): Move some initializations into the let.
17132
f3d1777e
MR
171332011-06-08 Martin Rudalics <rudalics@gmx.at>
17134
17135 * window.el (window-height): Defalias to window-total-height.
17136 (window-width): Defalias to window-body-width.
17137
18af70d0
CY
171382011-06-07 Chong Yidong <cyd@stupidchicken.com>
17139
17140 * image-mode.el (image-toggle-animation): New command.
17141 (image-mode-map): Bind it to RET.
17142 (image-mode): Update message.
17143 (image-toggle-display-image): Avoid a spurious cache flush.
17144 (image-transform-rotation): Doc fix.
17145 (image-transform-properties): Return quickly in the normal case.
17146 (image-animate-loop): Rename from image-animate-max-time.
17147
2b75be67 17148 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17149 (create-animated-image): Remove unnecessary function.
17150 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17151 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17152 (image-animate-timer): Use car-safe.
17153 (image-animate-timeout): Rename argument.
17154
190b47e6
MR
171552011-06-07 Martin Rudalics <rudalics@gmx.at>
17156
17157 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17158 window.c. Rename first argument to ALL-FRAMES.
17159 Rephrase doc-strings.
17160 (get-buffer-window-list): Rewrite using window-list-1.
17161 Rephrase doc-string.
a1511caf
MR
17162 (window-safe-min-height, window-safe-min-width): New constants.
17163 (window-size-ignore, window-min-size, window-min-size-1)
17164 (window-sizable, window-sizable-p, window-size-fixed-1)
17165 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17166 (window-max-delta-1, window-max-delta, window-resizable)
17167 (window-resizable-p, window-total-height, window-total-width)
17168 (window-body-width): New functions.
17169 (window-full-height-p, window-full-width-p): Rewrite using
17170 window-total-size.
17171 (window-body-height): Rewrite using window-body-size.
190b47e6 17172
85cc1f11
MR
171732011-06-06 Martin Rudalics <rudalics@gmx.at>
17174
17175 * window.el (window-right, window-left, window-child)
17176 (window-child-count, window-last-child, window-any-p)
17177 (normalize-live-buffer, normalize-live-frame)
17178 (normalize-any-window, normalize-live-window)
17179 (window-iso-combination-p, window-iso-combined-p)
17180 (window-iso-combinations)
17181 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17182 (windows-with-parameter, window-with-parameter)
17183 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17184 (window-atom-check, window-side-check, window-check):
17185 New functions.
85cc1f11
MR
17186 (ignore-window-parameters, window-sides, window-sides-vertical)
17187 (window-sides-slots): New variables.
17188 (window-size-fixed): Move down in code. Minor doc-string fix.
17189
e7156492
AS
171902011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17191
17192 * comint.el (comint-dynamic-complete-as-filename)
17193 (comint-dynamic-complete-filename): Correctly call
17194 completion-in-region.
17195
7e821d0d
DD
171962011-06-05 Deniz Dogan <deniz@dogan.se>
17197
17198 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17199 in last change.
17200
ac09b8a1
DD
172012011-06-05 Deniz Dogan <deniz@dogan.se>
17202
17203 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17204 (rcirc): Use it to prompt for encryption.
17205
34699b85
RW
172062011-06-05 Roland Winkler <winkler@gnu.org>
17207
17208 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17209 (bibtex-search-entries): New command bound to C-c C-a.
17210 (bibtex-display-entries): New function.
17211
004dedd3
RW
172122011-06-05 Roland Winkler <winkler@gnu.org>
17213
17214 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17215 (bibtex-insert-kill): After yanking insert newline if necessary.
17216 (bibtex-initialize): Call bibtex-string-files-init only once.
17217 (bibtex-mode): Do not call easy-menu-add.
17218 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17219 (bibtex-yank): Set arg properly if nil.
17220
022fe7ce
RW
172212011-06-05 Roland Winkler <winkler@gnu.org>
17222
2b75be67
SM
17223 * textmodes/bibtex.el (bibtex-search-entry-globally):
17224 New variable.
022fe7ce
RW
17225 (bibtex-search-entry): Use it.
17226
b7c3692a
RW
172272011-06-05 Roland Winkler <winkler@gnu.org>
17228
17229 * textmodes/bibtex.el (bibtex-entry-format): New option
17230 sort-fields.
17231 (bibtex-format-entry, bibtex-reformat): Honor this option.
17232 (bibtex-parse-entry): Return fields in proper order.
17233
8eda563d
JB
172342011-06-05 Juanma Barranquero <lekktu@gmail.com>
17235
17236 * doc-view.el (doc-view-remove-if): Move computation of result out
17237 of `dolist' to silence misleading lexical-binding warning.
17238
7dbe3dbc
CY
172392011-06-04 Chong Yidong <cyd@stupidchicken.com>
17240
17241 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17242 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17243
0c33dd17
MA
172442011-06-04 Michael Albinus <michael.albinus@gmx.de>
17245
17246 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17247 "SunOS 5.10".
17248
f8f91c2b
MA
172492011-06-04 Michael Albinus <michael.albinus@gmx.de>
17250
17251 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17252 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17253 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17254 (tramp-parse-putty):
17255 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17256 (tramp-completion-function-alist-ssh)
17257 (tramp-completion-function-alist-telnet)
17258 (tramp-completion-function-alist-su)
17259 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17260 cookie.
17261
17262 * net/tramp-ftp.el:
17263 * net/tramp-sh.el:
17264 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17265 load "tramp.el" `tramp-set-completion-function'.
17266
e17d9003
SM
172672011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17268
17269 * shell.el: Require and use pcomplete.
17270 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17271 (shell-completion-vars): Set pcomplete-default-completion-function.
17272
6c4cab03
DD
172732011-06-04 Deniz Dogan <deniz@dogan.se>
17274
17275 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17276 `memq' (Bug#8799).
17277
ea9fafe0
SM
172782011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17279
17280 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17281
b3e945d3
JB
172822011-06-02 Juanma Barranquero <lekktu@gmail.com>
17283
17284 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17285 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17286 * vc/log-view.el (log-view-beginning-of-defun):
17287 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17288 (smerge-refine-forward, smerge-refine-chopup-region):
17289 Silence warning for unused `dotimes' counter variables.
17290
7d520089
SM
172912011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17292
17293 * net/tramp.el (tramp-with-progress-reporter): Rename from
17294 with-progress-reporter. Use `declare'.
17295 * net/tramp-smb.el:
17296 * net/tramp-sh.el:
17297 * net/tramp-gvfs.el: Update all uses.
17298
a1c2400f
JB
172992011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17300
17301 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17302 buffer isn't killed before making it current.
17303
2403c841
SM
173042011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17305
17306 Silence various byte-compiler warnings.
17307 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17308 `access-type' and new obsolescence format.
17309 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17310 new format.
17311 (byte-compile-check-variable): New `access-type' argument.
17312 Only warn if the access-type is obsolete.
17313 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17314 (byte-compile-variable-set): Adjust callers.
17315 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17316 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17317 setting it as obsolete.
17318 * simple.el (minibuffer-completing-symbol):
17319 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17320 access as obsolete.
17321 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17322 obsolete yet.
17323 * international/quail.el (quail-mouse-choose-completion): Remove unused
17324 code referring to obsolete var.
17325 (quail-choose-completion-string): Remove.
17326 * server.el (server-clients-with, server-kill-buffer-query-function)
17327 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17328 * proced.el (proced-send-signal):
17329 * emacs-lisp/lisp.el (lisp-complete-symbol):
17330 Replace completion-annotate-function with completion-extra-properties.
17331
2462470b
SM
173322011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17333
fb5b2591
SM
17334 * simple.el (goto-line): Use read-number.
17335 (overriding-map-is-bound): Remove.
17336 (saved-overriding-map): Change default.
17337 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17338 Take the map as argument.
17339 (universal-argument, negative-argument, digit-argument): Use it.
17340 (restore-overriding-map): Adjust.
17341 (do-auto-fill): Use fill-forward-paragraph.
17342 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17343
fd6fa53f
SM
17344 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17345 (minibuffer-inactive-mode): New major mode.
17346 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17347 the *Messages* buffer" hack.
17348 (mouse-popup-menubar): Don't burp if the event is a normal key.
17349
2462470b
SM
17350 Miscellaneous tweaks.
17351 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17352 lexical scoping as in subr.el's dolist and dotimes.
17353 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17354 Silence compiler warning.
17355 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17356 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17357 * international/ccl.el (ccl-compile): Trivial simplification.
17358 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17359 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17360 `printflag' argument.
17361 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17362 Purecopy the whole obsolescence data.
17363
108bf785
LL
173642011-06-01 Leo Liu <sdl.web@gmail.com>
17365
17366 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17367 improve doc-string as suggested by Marco Pessotto
17368 <melmothx@gmail.com>.
17369 (rcirc-print): Fix last change.
17370
30a23501
SM
173712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17372
17373 * minibuffer.el (complete-with-action): Return nil for the metadata and
17374 boundaries of non-functional tables.
17375 (completion-table-dynamic): Return nil for the metadata.
17376 (completion-table-with-terminator): Add default case, using
17377 complete-with-action.
17378 (completion--metadata): New function.
17379 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17380 to try and avoid pathological performance problems.
17381 (completion--embedded-envvar-table): Return `category' metadata.
17382
bcd54f83
LMI
173832011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17384
17385 * subr.el (process-alive-p): New tiny convenience function.
17386
e227544d
SM
173872011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17388
17389 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17390 content but also its previous major mode.
17391
e8296fdc
HE
173922011-05-31 Helmut Eller <eller.helmut@gmail.com>
17393
4d61f28d 17394 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17395 *Backtrace* buffer when we exit with C-M-c.
17396
620c53a6
SM
173972011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17398
17399 * minibuffer.el: Add metadata method to completion tables.
17400 (completion-category-overrides): New defcustom.
17401 (completion-metadata, completion--field-metadata)
17402 (completion-metadata-get, completion--styles)
17403 (completion--cycle-threshold): New functions.
17404 (completion-try-completion, completion-all-completions):
17405 Add `metadata' argument to choose completion-styles.
17406 (completion--do-completion): Use metadata to choose cycling.
17407 (completion-all-sorted-completions): Use metadata for sorting.
17408 Remove :completion-cycle-penalty which is not needed any more.
17409 (completion--try-word-completion): Add `metadata' argument.
17410 (minibuffer-completion-help): Check metadata for annotation function
17411 and sorting.
17412 (completion-file-name-table): Return `category' metadata.
17413 (minibuffer-completing-file-name): Make obsolete.
17414 * simple.el (minibuffer-completing-symbol): Make obsolete.
17415 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17416 completion-try-completion.
17417
1257e755
SM
174182011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17419
17420 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17421
3767e706
LL
174222011-05-30 Leo Liu <sdl.web@gmail.com>
17423
17424 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17425 (rcirc-print): Decode all incoming messages (bug#8744).
17426 (rcirc-decode-coding-system): Allow value nil for automatic coding
17427 system detection.
3767e706 17428
d1a5d56a
GM
174292011-06-01 Glenn Morris <rgm@gnu.org>
17430
17431 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17432
e8cbec34
CY
174332011-05-29 Chong Yidong <cyd@stupidchicken.com>
17434
17435 * image.el (image-animate-max-time): Allow nil and t values.
17436 Default to nil.
17437 (create-animated-image): Doc fix.
17438 (image-animate-start): Remove second arg; just use
17439 image-animate-max-time.
17440 (image-animate-timeout): Doc fix. Args changed.
17441
17442 * image-mode.el (image-toggle-display-image): Ensure that the
17443 image spec passed to the animate timer is the same object as in
58179cce 17444 the buffer's display property (Bug#6981).
e8cbec34
CY
17445 (image-transform-properties): Doc fix.
17446
17447 * image.el (image-animate-max-time): Default to nil.
17448
159daf87
MR
174492011-05-29 Martin Rudalics <rudalics@gmx.at>
17450
17451 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17452 entire buffer list (Bug#8184).
17453
d66c4c7c
CY
174542011-05-29 Chong Yidong <cyd@stupidchicken.com>
17455
17456 * image.el (imagemagick-types-inhibit)
17457 (imagemagick-register-types): Doc fix.
17458
80aec780
DD
174592011-05-29 Deniz Dogan <deniz@dogan.se>
17460
17461 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17462 default.
17463
1dd3c2d9
CY
174642011-05-29 Chong Yidong <cyd@stupidchicken.com>
17465
17466 * select.el: Don't perform clipboard-manager saving in hooks;
17467 leave the hooks empty.
17468
60e56523
LL
174692011-05-28 Leo Liu <sdl.web@gmail.com>
17470
17471 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17472 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17473 (occur-edit-mode): New major mode (Bug#8463).
17474 (occur-after-change-function): New function.
17475 (occur-engine): Give Occur tags a read-only property.
17476
2b1e1a22
KR
174772011-05-28 Kevin Ryde <user42@zip.com.au>
17478
17479 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17480
5d344e88
CY
174812011-05-28 Chong Yidong <cyd@stupidchicken.com>
17482
8e6ca83d
CY
17483 * bindings.el (help-echo): Make the initial non-indicator dash
17484 empty on graphical terminals (Bug#7295).
17485
5d344e88
CY
17486 * files.el (auto-mode-alist): Move config rule after the
17487 in-stripping one (Bug#8547).
17488
bfbbace7
CY
17489 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17490
fbeba6e2
CY
17491 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17492 setting (Bug#8740).
17493
60ed8c72
AA
174942011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17495
4ac619f0
AA
17496 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17497 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17498 (Bug#8539).
60ed8c72 17499
23db196e
CY
175002011-05-28 Chong Yidong <cyd@stupidchicken.com>
17501
17502 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17503
5012f24c
DK
175042011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17505
17506 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17507 (hs-hide-block-at-point, hs-find-block-beginning)
17508 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17509 (Bug#8279).
17510
6a639b16
GM
175112011-05-28 Glenn Morris <rgm@gnu.org>
17512
17513 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17514
d43eaf2c
CY
175152011-05-28 Chong Yidong <cyd@stupidchicken.com>
17516
5199bde1
CY
17517 * help-fns.el (describe-function-1): If the function is a derived
17518 major mode, print the parent mode.
17519
d43eaf2c
CY
17520 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17521 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17522
423428a8
SM
175232011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17524
0ff8e1ba 17525 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17526 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17527 * progmodes/etags.el (tags-completion-at-point-function):
17528 * info-look.el (info-lookup-completions-at-point): Mark as
17529 non-exclusive.
17530 (info-complete): Adjust accordingly.
17531
423428a8
SM
17532 * info-look.el: Convert to lexical-binding and completion-at-point.
17533 (info-lookup-completions-at-point): New function.
17534 (info-complete): Use it and completion-in-region.
17535
b74aa22b
DA
175362011-05-28 Drew Adams <drew.adams@oracle.com>
17537
17538 * isearch.el: Let M-e start with point at the first mismatched char.
17539 (isearch-fail-pos): New function.
17540 (isearch-edit-string): Use it.
17541
66e2e71d
DK
175422011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17543
17544 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17545
b1890b0f 175462011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17547
17548 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17549 traversal functions for avl-trees.
17550 (avl-tree--stack): New struct.
17551 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17552 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17553 (avl-tree--do-enter): Add optional `updatefun' arg.
17554 Change return value.
eb95d01d 17555 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17556 (avl-tree--do-delete): Add `test' and `nilflag' args.
17557 Change return value.
eb95d01d
TC
17558 (avl-tree-member): Add optional `nilflag'
17559 (avl-tree-member-p): New function.
17560 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17561 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17562 (avl-tree-stack-empty-p): New functions.
17563
3769ddcf
TC
17564 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17565 avl-tree--del-balance1 and make it work both ways.
17566 (avl-tree--del-balance2): Remove.
17567 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17568 make it work both ways.
17569 (avl-tree--enter-balance2): Remove.
17570 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17571 New macros.
17572 (avl-tree--mapc, avl-tree-map): Add direction argument.
17573
eb95d01d 175742011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17575
17576 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17577
a9f737ee
CY
175782011-05-27 Chong Yidong <cyd@stupidchicken.com>
17579
17580 * select.el: Support clipboard managers with built-in function
17581 x-clipboard-manager-save, via delete-frame-functions and
17582 kill-emacs-hook.
17583 (xselect-convert-to-targets): Add MULTIPLE target to list.
17584 (xselect-convert-to-save-targets): New function.
17585
c92a1e54
KH
175862011-05-27 Kenichi Handa <handa@m17n.org>
17587
17588 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17589 let-binding rfc2047-encode-encoded-words to nil.
17590
e145f188
GM
175912011-05-27 Glenn Morris <rgm@gnu.org>
17592
5ec8a862
GM
17593 * mail/emacsbug.el: Don't require url-util.
17594
4b29d9fb
GM
17595 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17596
e145f188
GM
17597 * files.el (set-auto-mode):
17598 Also respect mode: entries at the end of the file. (Bug#8586)
17599
7d15102b
GM
176002011-05-26 Glenn Morris <rgm@gnu.org>
17601
98f593b8
GM
17602 * files.el (hack-local-variables-prop-line, hack-local-variables):
17603 Downcase mode names, as seems to be traditional.
27b48e63 17604 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17605
7d15102b
GM
17606 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17607 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17608
51d5b4ec
JD
176092011-05-25 Julien Danjou <julien@danjou.info>
17610
17611 * textmodes/rst.el (rst-define-level-faces): Do not define face
17612 symbol if it is already defined.
17613
91513f63
VB
176142011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17615
17616 * play/5x5.el (5x5-new-game, 5x5-randomize):
17617 Reset 5x5-solver-output to nil when a new grid is cast.
17618 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17619 these debugging traces, as defmacro breaks the compiled code.
17620
4d90d6d0
DK
176212011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17622
17623 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17624
e1b90ef6
LL
176252011-05-24 Leo Liu <sdl.web@gmail.com>
17626
17627 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17628 (vc-bzr-sha1): Adapt.
17629
d8e4b68b 17630 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17631
17632 * bindings.el: Provide sha1 feature.
17633
db0406bb 176342011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17635
17636 * mail/sendmail.el: Require `rfc2047'.
17637 (mail-insert-from-field): Do not perform RFC2047 encoding.
17638 (mail-encode-header): New function.
17639 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17640 buffer to the return value of select-message-coding-system.
17641 Call mail-encode-header.
b8d747b9
KH
17642
17643 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17644
db0406bb 176452011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17646
4d90d6d0
DK
17647 * mail/supercite.el (sc-default-cite-frame):
17648 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17649
eb8a5e9b
GM
176502011-05-24 Glenn Morris <rgm@gnu.org>
17651
f8630703
GM
17652 * progmodes/python.el (brm-menu): Declare.
17653
8831bbed
GM
17654 * emulation/viper.el (viper-set-hooks): Declare.
17655
eb8a5e9b
GM
17656 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17657 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17658 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17659 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17660 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17661 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17662
a2a25d24
SM
176632011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17664
17665 Add an :exit-function for completion-at-point.
17666
17667 * minibuffer.el (completion--done): New fun.
17668 (completion--do-completion): Use it. New arg `expect-exact'.
17669 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17670 since completion--do-completion does it for us now.
17671 (minibuffer-force-complete): Use completion--done and
17672 completion--replace. Handle sole-completion case with more care.
17673 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17674 (completion-extra-properties): New var.
17675 (completion-annotate-function): Make obsolete.
17676 (minibuffer-completion-help): Adjust accordingly.
17677 Use completion-list-insert-choice-function.
17678 (completion-at-point, completion-help-at-point):
17679 Bind completion-extra-properties.
17680 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17681 * simple.el (completion-list-insert-choice-function): New var.
17682 (completion-setup-function): Preserve it.
17683 (choose-completion): Pay attention to it, shuffle the code a bit.
17684 (choose-completion-string): New arg `insert-function'.
17685
17686 * textmodes/bibtex.el: Convert to lexical binding.
17687 (bibtex-mode-map): Use completion-at-point.
17688 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17689 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17690 (bibtex-complete): Define as obsolete alias.
17691 (bibtex-complete-internal): Remove.
17692 (bibtex-format-entry): Remove unused sub-group in regexp.
17693 * shell.el (shell--command-completion-data)
17694 (shell-environment-variable-completion):
17695 * pcomplete.el (pcomplete-completions-at-point):
17696 * comint.el (comint--complete-file-name-data): Use :exit-function
17697 instead of completion-table-with-terminator so it also works for
17698 choose-completion.
17699
e44e373d
SM
177002011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17701
4f91a816
SM
17702 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17703
782fc819
SM
17704 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17705 (bug#8710).
17706
e44e373d
SM
17707 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17708
381987c3
KM
177092011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17710
17711 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17712 customization variable and implement: If non-nil, auto-fill will
17713 be inhibited while on topic's header line.
17714
b776bc70
VB
177152011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17716
17717 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17718 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17719 always have a solution in grid size = 5 cases.
17720 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17721 (5x5-solver-output, 5x5-log-buffer): New vars.
17722 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17723 Make these variables buffer local to achieve 5x5 multi-session-ness.
17724 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17725 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17726 (5x5-solve-suggest): New funs.
17727 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17728 randomize a grid so that we ensure that there is always a solution.
17729 (5x5-make-random-grid): Allow other movement than flipping.
17730
7de88b6e
KR
177312011-05-23 Kevin Ryde <user42@zip.com.au>
17732
17733 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17734 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17735 advice and passes PREDICATE.
17736
b1ef1257
SM
177372011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17738
bbca48fe
SM
17739 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17740 byte-compile-lambda if it's actually a lambda.
17741
b1ef1257
SM
17742 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17743 Fix function quoting. Use backquote better.
17744
92a9cc65
YS
177452011-05-22 Yuanle Song <sylecn@gmail.com>
17746
17747 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17748 matching (Bug#8516).
17749
f0fb8059
JA
177502011-01-22 Jari Aalto <jari.aalto@cante.net>
17751
17752 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17753 different face (Bug#8178).
17754
d5b44c93
CY
177552011-05-22 Chong Yidong <cyd@stupidchicken.com>
17756
17757 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17758 defface (Bug#8144).
17759
79106a44
SM
177602011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17761
9c848d8a
SM
17762 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17763 funcall as well (bug#8712). Warn when performing those conversions.
17764 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17765
79106a44
SM
17766 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17767
88dfa756
GM
177682011-05-22 Glenn Morris <rgm@gnu.org>
17769
17770 * files.el (hack-local-variables-prop-line): Small simplifications.
17771 (hack-local-variables, hack-local-variables-prop-line):
17772 If MODE-ONLY, return the mode, rather than just `t'.
17773
b7cf2c79
SM
177742011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17775
17776 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17777
3f1a8558
GM
177782011-05-21 Glenn Morris <rgm@gnu.org>
17779
7e4ccca3
GM
17780 * files.el (hack-local-variables-prop-line, hack-local-variables):
17781 If only interested in the mode, don't bother doing the other stuff.
17782
637d46ca
GM
17783 * image-mode.el (image-after-revert-hook):
17784 Redraw all frames on which the image is visible. (Bug#8567)
17785
973d955b
GM
17786 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17787
3f1a8558
GM
17788 * wid-edit.el (widget-checklist-match-inline):
17789 Fix 2011-04-19 change. (Bug#8649)
17790
96479927
SM
177912011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17792
1dcf791f
SM
17793 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17794 Also allow singlespace after single-letter capitals followed by a dot.
17795
96479927
SM
17796 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17797 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17798
35fd0881
N
177992011-05-20 Nix <nix@esperi.org.uk>
17800
17801 * files.el (basic-save-buffer-2):
17802 Fix handling of break-hardlink-on-save with non-existent files.
17803
82745640
DD
178042011-05-19 Deniz Dogan <deniz@dogan.se>
17805
17806 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17807 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17808
4a720484
GM
178092011-05-19 Glenn Morris <rgm@gnu.org>
17810
d1f21341
GM
17811 * progmodes/f90.el (f90-type-def-re):
17812 Handle "type, bind(c)". (Bug#8691)
17813
4a720484
GM
17814 * emacs-lisp/autoload.el (batch-update-autoloads):
17815 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17816
2fb0a219
MA
178172011-05-18 Michael Albinus <michael.albinus@gmx.de>
17818
17819 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17820 property for the correct connection in case of multihops.
17821
e565dd37
GM
178222011-05-18 Glenn Morris <rgm@gnu.org>
17823
c2571358 17824 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17825 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17826
e565dd37
GM
17827 Rationalize calendar handling of day and month abbrev-arrays.
17828 * calendar/calendar.el (calendar-customized-p): New function.
17829 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17830 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17831 Add :set function.
17832 (calendar-abbrev-length, calendar-day-abbrev-array)
17833 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17834 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17835 Elements may no longer be nil.
17836 (calendar-day-name, calendar-month-name):
17837 Update for changed nature of abbrev arrays.
17838 * calendar/diary-lib.el (diary-name-pattern):
17839 Update for changed nature of abbrev arrays.
17840 (diary-mark-entries-1): Update calendar-make-alist calls.
17841 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17842 * calendar/cal-html.el (cal-html-day-abbrev-array):
17843 Simply inherit from calendar-day-abbrev-array.
17844
1d99a745
SM
178452011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17846
17847 * progmodes/grep.el (grep-mode): Disable default
17848 compilation-directory-matcher setting (bug#8684).
17849
7c1d9aa0
MA
178502011-05-17 Michael Albinus <michael.albinus@gmx.de>
17851
17852 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17853 instead of "head" and "tail". There were problems with SunOS 5.9,
17854 and it performs better.
17855
3952e9d8
GM
178562011-05-17 Glenn Morris <rgm@gnu.org>
17857
2dd12e7f
GM
17858 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17859
e4157b9c
GM
17860 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17861 Replace obsolete function.
17862
8e249bbd
GM
17863 * shell.el (pcomplete-parse-arguments-function): Declare.
17864
3952e9d8
GM
17865 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17866 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17867 (appt-check): Doc fixes.
17868 (appt-disp-window-function, appt-delete-window-function):
17869 Remove needless special case in custom :type.
17870 (appt-display-count): Default to 0, not nil.
17871 (appt-check): Reset appt-display-count to 0, not nil.
17872
c71a0d48 178732011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17874
c71a0d48
GM
17875 * progmodes/python.el (python-font-lock-keywords):
17876 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17877
31d55be9
SM
178782011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17879
17880 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17881
3bfacb2f
KR
178822011-05-16 Kevin Ryde <user42@zip.com.au>
17883
17884 * info-look.el (makefile-automake-mode): New setups, looking in
17885 automake manual, then makefile-mode.
17886 (makefile-mode): Remove automake manual, have it just in
17887 makefile-automake-mode since there's various things different or
17888 not relevant to plain make.
17889 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17890 believe a hypothetical automake-mode would go to makefile-mode,
17891 not the other way around.
17892
c8e83751
CY
178932011-05-15 Chong Yidong <cyd@stupidchicken.com>
17894
5e9e35cd
CY
17895 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17896 hunk-end tags (Bug#8672).
17897
c8e83751
CY
17898 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17899 vc-annotate-show-diff-revision-at-line (Bug#8671).
17900
50b23e5a
GM
179012011-05-14 Glenn Morris <rgm@gnu.org>
17902
7210a739
GM
17903 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17904 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17905 (change-log-font-lock-keywords): Also handle multiple author lines
17906 with leading tabs. (Bug#8644)
7210a739 17907
4691905a
GM
17908 * calendar/appt.el (appt-check): Rename some local variables.
17909 Some simplification/reordering.
17910
50b23e5a
GM
17911 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17912 (feedmail-sendmail-f-doesnt-sell-me-out)
17913 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17914 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17915 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17916 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17917 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17918 (feedmail-binmail-gnulinuxish-template):
17919 Rename from feedmail-binmail-linuxish-template.
17920 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17921 Use insert-buffer-substring.
17922
215cda7c
BC
179232011-05-14 Bill Carpenter <bill@carpenter.org>
17924
17925 * mail/feedmail.el (feedmail-patch-level): Increase.
17926 (feedmail-debug): New custom group.
17927 (feedmail-confirm-outgoing-timeout)
17928 (feedmail-sendmail-f-doesnt-sell-me-out)
17929 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17930 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17931 (feedmail-sender-line, feedmail-from-line)
17932 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17933 (feedmail-spray-this-address)
215cda7c
BC
17934 (feedmail-spray-address-fiddle-plex-list)
17935 (feedmail-queue-use-send-time-for-date)
17936 (feedmail-queue-use-send-time-for-message-id)
17937 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17938 (feedmail-buffer-eating-function):
17939 Doc fixes.
17940 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17941 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17942 (feedmail-message-action-scroll-down): New functions.
17943 (feedmail-queue-directory, feedmail-queue-draft-directory):
17944 Use expand-file-name.
17945 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17946 Remove C-v help entry.
17947 (feedmail-queue-buffer-file-name): New variable.
17948 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17949 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17950 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17951 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17952 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17953 (feedmail-message-action-toggle-spray)
17954 (feedmail-run-the-queue-no-prompts)
17955 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17956 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17957 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17958 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17959 (feedmail-envelope-deducer, feedmail-fiddle-from)
17960 (feedmail-fiddle-sender, feedmail-default-date-generator)
17961 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17962 (feedmail-fiddle-spray-address)
17963 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17964 (feedmail-fiddle-list-of-fiddle-plexes)
17965 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17966 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17967 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17968 Change default. Doc fix.
17969 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17970 (feedmail-binmail-linuxish-template): New constant.
17971 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17972 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17973 (feedmail-send-it): Add debug call.
17974 Use feedmail-queue-buffer-file-name, and
17975 feedmail-send-it-immediately-wrapper.
17976 (feedmail-message-action-send): Add debug call.
17977 Use feedmail-send-it-immediately-wrapper.
17978 (feedmail-queue-express-to-queue): Add debug call.
17979 Run feedmail-queue-express-hook.
17980 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17981 (feedmail-message-action-help-blat):
17982 Rename from feedmail-queue-send-edit-prompt-help-first.
17983 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17984 Check line-endings. Handle errors better.
17985 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17986 Doc fix. Add debug call.
17987 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17988 Use feedmail-queue-send-edit-prompt-inner.
17989 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17990 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17991 from feedmail-queue-send-edit-prompt.
17992 (feedmail-queue-send-edit-prompt-help)
17993 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17994 (feedmail-tidy-up-slug): Add debug call.
17995 Respect feedmail-queue-slug-suspect-regexp.
17996 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17997 (feedmail-dump-message-to-queue): Add debug call.
17998 Expand queue-directory.
17999 (feedmail-dump-message-to-queue): Change message slightly.
18000 Use feedmail-say-chatter.
18001 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18002 (feedmail-send-it-immediately-wrapper): New function.
18003 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18004 Insert empty string rather than newline. Handle full-frame case.
18005 Use catch/throw. Use feedmail-say-chatter.
18006 (feedmail-fiddle-from): Try mail-host-address.
18007 (feedmail-default-message-id-generator): Doc fix.
18008 Bind system-time-locale. Handle missing end.
18009 (feedmail-fiddle-x-mailer): Add debug call.
18010 Handle feedmail-x-mailer-line being nil.
18011 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18012 Add debug call. Use buffer-substring-no-properties.
18013 (feedmail-say-debug, feedmail-say-chatter): New functions.
18014 (feedmail-find-eoh): Give an explicit error.
18015
42c7e61e
UJ
180162011-05-13 Ulf Jasper <ulf.jasper@web.de>
18017
c2571358 18018 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18019 family from helvetica to sans.
c2571358 18020 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18021 etc/images/newsticker.
18022
c2571358 18023 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18024 family from helvetica to sans.
18025
18026 * net/newst-plainview.el (newsticker-new-item-face)
18027 (newsticker-old-item-face, newsticker-immortal-item-face)
18028 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18029 (newsticker-statistics-face): Change default family from
42c7e61e 18030 helvetica to sans.
c2571358 18031 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18032 etc/images/newsticker.
18033
5d3385a0
JB
18034 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18035 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18036 auto-marking.
18037
8497a297
DV
180382011-05-13 Didier Verna <didier@xemacs.org>
18039
18040 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18041 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18042 TODO entries.
8497a297
DV
18043 (lisp-lambda-list-keyword-parameter-indentation)
18044 (lisp-lambda-list-keyword-parameter-alignment)
18045 (lisp-lambda-list-keyword-alignment): New customizable user options.
18046 (lisp-indent-defun-method): Improve docstring.
18047 (extended-loop-p): Fix comment.
18048 (lisp-indent-lambda-list-keywords-regexp): New variable.
18049 (lisp-indent-lambda-list): New function.
18050 (lisp-indent-259): Use it.
18051 (lisp-indent-defmethod): Support for more than one
18052 method qualifier and properly indent methods lambda-lists.
18053 (defgeneric): Provide a missing common-lisp-indent-function property.
18054
f278f87f
SM
180552011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18056
18057 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18058 bounds for the empty string (bug#8667).
18059
5233edd7
GM
180602011-05-13 Glenn Morris <rgm@gnu.org>
18061
5237a44f
GM
18062 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18063
8340026c 18064 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18065 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18066
5233edd7 18067 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18068 (appt-time-msg-list): Doc fix.
a5464014 18069 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18070
92d10796
AS
180712011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18072
18073 * progmodes/ld-script.el (ld-script-keywords)
18074 (ld-script-builtins): Update keywords list.
18075
914a0ae1
SM
180762011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18077
c89be45f
SM
18078 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18079
914a0ae1
SM
18080 * shell.el (shell-completion-vars): New function.
18081 (shell-mode):
18082 * simple.el (read-shell-command): Use it.
18083 (blink-matching-open): No need for " [...]" in minibuffer-message.
18084
98dc3df3
GM
180852011-05-12 Glenn Morris <rgm@gnu.org>
18086
18087 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18088 (appt-check): Simplify.
18089
d2fc7e3d 180902011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18091
4d61f28d 18092 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18093 literal "/dev/null".
18094
d2fc7e3d 180952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18096
18097 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18098 Fix typo.
18099
d2fc7e3d 181002011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18101
3f254caa
SM
18102 * progmodes/which-func.el (which-function):
18103 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18104 which might not be defined (Bug#8260).
18105
d45885f7
GM
181062011-05-12 Glenn Morris <rgm@gnu.org>
18107
18108 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18109 Let byte-compile-initial-macro-environment always take precedence.
18110
488086f4
SM
181112011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18112
18113 * net/rcirc.el: Add support for SSL/TLS connections.
18114 (rcirc-server-alist): New field `encryption'.
18115 (rcirc): Check `encryption' settings.
18116 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18117 Merge make-local-variable into `set'.
18118 (rcirc--connection-open-p): New function.
18119 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18120 the process is not a network process (e.g. running gnutls-cli).
18121 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18122 Make rcirc-(en|de)code-coding-system local here.
18123 (rcirc-mode): Merge make-local-variable into `set'.
18124 (rcirc-parent-buffer): Make permanent buffer-local.
18125 (rcirc-multiline-minor-mode): Don't do it here.
18126 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18127 there's no server buffer.
18128
7d3b9d44
GM
181292011-05-11 Glenn Morris <rgm@gnu.org>
18130
f64049c6
GM
18131 * newcomment.el (comment-kill): Prefix "unused" local.
18132
93c9df73
GM
18133 * term/w32console.el (get-screen-color): Declare.
18134
7d3b9d44
GM
18135 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18136 Handle symbol elements of byte-compile-initial-macro-environment.
18137
9e2dd53f
LL
181382011-05-10 Leo Liu <sdl.web@gmail.com>
18139
488086f4
SM
18140 * bookmark.el (bookmark-bmenu-mode-map):
18141 Bind bookmark-bmenu-search to `/'.
8b340240 18142
9e2dd53f 18143 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18144 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18145 (Footnote-unicode): New function.
18146 (footnote-style-alist): Add unicode style to the list.
18147 (footnote-style): Doc fix.
9e2dd53f 18148
79b70037
GM
181492011-05-10 Jim Meyering <meyering@redhat.com>
18150
18151 Fix doubled-word typos.
18152 * international/quail.el (quail-insert-kbd-layout): and and -> and
18153 * kermit.el: and and -> and
18154 * net/ldap.el (ldap-search-internal): to to -> to
18155 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18156 * progmodes/js.el (js-mode): and and -> and
18157 * textmodes/artist.el (artist-move-to-xy): at at -> at
18158 (artist-draw-region-trim-line-endings): if if -> if
18159 And Safetyc -> Safety.
18160 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18161
b8f82dc1 181622011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18163 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18164
18165 * files.el (hack-one-local-variable-eval-safep):
18166 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18167
4f99f44b
GM
181682011-05-10 Glenn Morris <rgm@gnu.org>
18169
18170 * calendar/diary-lib.el (diary-list-entries-hook)
18171 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18172 (diary-nongregorian-marking-hook, diary-list-entries)
18173 (diary-include-other-diary-files, diary-mark-entries)
18174 (diary-mark-included-diary-files): Doc fixes.
18175
84f29e6b
JB
181762011-05-09 Juanma Barranquero <lekktu@gmail.com>
18177
18178 * misc.el: Require tabulated-list.el during compilation.
18179
9bedd73a
CY
181802011-05-09 Chong Yidong <cyd@stupidchicken.com>
18181
488086f4
SM
18182 * progmodes/compile.el (compilation-start):
18183 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18184 (compilation-filter-hook): Doc fix.
18185
797c735c
DD
181862011-05-09 Deniz Dogan <deniz@dogan.se>
18187
18188 * wdired.el: Remove outdated installation comment. Fix usage
18189 comment.
18190
5f4b1dfe
JB
181912011-05-09 Juanma Barranquero <lekktu@gmail.com>
18192
18193 * misc.el: Implement new command `list-dynamic-libraries'.
18194 (list-dynamic-libraries--loaded-only-p): New variable.
18195 (list-dynamic-libraries--refresh): New function.
18196 (list-dynamic-libraries): New command.
18197
4c44026c
CY
181982011-05-09 Chong Yidong <cyd@stupidchicken.com>
18199
488086f4
SM
18200 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18201 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18202 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18203 higher priority to avoid clobbering by gnu.
18204
027f966d
CY
182052011-05-08 Chong Yidong <cyd@stupidchicken.com>
18206
18207 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18208 if the face has existing theme settings (Bug#8454).
18209
085f5d7d
CY
182102011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18211
488086f4
SM
18212 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18213 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18214
2a86a00c
RS
18215 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18216 special file names `.' and `..' (Bug#8259).
18217
d9c54a06
CY
182182011-05-08 Chong Yidong <cyd@stupidchicken.com>
18219
488086f4
SM
18220 * progmodes/grep.el (grep-mode-font-lock-keywords):
18221 Remove buffer-changing entries.
d9c54a06
CY
18222 (grep-filter): New function.
18223 (grep-mode): Add it to compilation-filter-hook.
18224
18225 * progmodes/compile.el (compilation-filter-hook)
18226 (compilation-filter-start): New defvars.
18227 (compilation-filter): Call compilation-filter-hook prior to
18228 updating the process mark.
18229
c4662635
SM
182302011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18231
18232 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18233
b0512a1d
EZ
182342011-05-07 Eli Zaretskii <eliz@gnu.org>
18235
605c9376
EZ
18236 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18237 mailclient-send-it even if window-system is nil. (Bug#8595)
18238
c4662635
SM
18239 * term/w32console.el (terminal-init-w32console):
18240 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18241 background-mode. (Bug#8597)
18242
d1dc2cc2
SM
182432011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18244
18245 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18246 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18247 New functions.
18248 (defgeneric, eieio--defmethod): Use them.
18249 (eieio-defgeneric): Remove.
18250 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18251
915d1300
GM
182522011-05-07 Glenn Morris <rgm@gnu.org>
18253
a3961c3e
GM
18254 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18255 Use let rather than let*.
18256 (timeclock-find-discrep): Remove unused local.
18257
314347b9
GM
18258 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18259
915d1300
GM
18260 * calendar/appt.el (appt-time-msg-list): Doc fix.
18261
275b59b0
NF
182622011-05-06 Noah Friedman <friedman@splode.com>
18263
18264 * apropos.el (apropos-print-doc): Only use
18265 emacs-lisp-docstring-fill-column when it is bound to an integer,
18266 per that variable's documentation.
18267
6c19f744
SM
182682011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18269
18270 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18271 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18272
60f884b2
GM
182732011-05-06 Glenn Morris <rgm@gnu.org>
18274
5006e634
GM
18275 * calendar/appt.el (appt-message-warning-time): Doc fix.
18276 (appt-warning-time-regexp): New option.
18277 (appt-make-list): Respect appt-message-warning-time.
18278
548d0a63
GM
18279 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18280 New options.
18281 (diary-add-to-list): Strip comments from the displayed string.
18282 (diary-mode): Set comment-start and comment-end.
18283
60f884b2
GM
18284 * vc/diff-mode.el (smerge-refine-subst): Declare.
18285 (diff-refine-hunk): Don't require smerge-mode when compiling.
18286
989681bb
JB
182872011-05-06 Juanma Barranquero <lekktu@gmail.com>
18288
18289 * simple.el (list-processes): Return nil as the docstring says.
18290
a6bc05e1
MA
182912011-05-05 Michael Albinus <michael.albinus@gmx.de>
18292
18293 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18294 to "".
18295 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18296 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18297 determining of binary transfer. (Bug#7383)
18298
23c22e9a
MA
182992011-05-05 Michael Albinus <michael.albinus@gmx.de>
18300
c4662635
SM
18301 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18302 Fix port computation bug. (Bug#8618)
23c22e9a 18303
0bff894f
GM
183042011-05-05 Glenn Morris <rgm@gnu.org>
18305
b8296902
GM
18306 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18307
1f522ce8
GM
18308 * simple.el (shell-dynamic-complete-functions)
18309 (comint-dynamic-complete-functions): Declare.
18310
cf5bee67
GM
18311 * net/network-stream.el (gnutls-negotiate):
18312 * simple.el (tabulated-list-print): Fix declarations.
18313
18314 * progmodes/gud.el (syntax-symbol, syntax-point):
18315 Remove unnecessary and incorrect declarations.
18316
0bff894f 18317 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18318 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18319
9869b3ae
SM
183202011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18321
18322 Fix earlier half-done eieio-defmethod change (bug#8338).
18323 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18324 Streamline and change calling convention.
18325 (defmethod): Adjust accordingly and simplify.
18326 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18327 new eieio--defmethod.
18328 (slot-boundp): Minor CSE simplification.
18329
9c1d5ac5
MZ
183302011-05-05 Milan Zamazal <pdm@zamazal.org>
18331
18332 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18333 (glasses-make-readable): Use glasses-separate-capital-groups.
18334
455c834e
JB
183352011-05-05 Juanma Barranquero <lekktu@gmail.com>
18336
18337 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18338 (warning-series): Doc fix.
18339 (display-warning): Don't try to create the buffer if we just found it.
18340
9ed7c8cb
CY
183412011-05-04 Chong Yidong <cyd@stupidchicken.com>
18342
18343 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18344 (autoload-find-generated-file): New function.
18345 (generate-file-autoloads): Bind generated-autoload-file to
18346 buffer-file-name.
9869b3ae
SM
18347 (update-file-autoloads, update-directory-autoloads):
18348 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18349 output file (Bug#7989).
18350 (batch-update-autoloads): Doc fix.
18351
0898ca10
JB
183522011-05-04 Juanma Barranquero <lekktu@gmail.com>
18353
18354 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18355
31dfb76c
GM
183562011-05-04 Glenn Morris <rgm@gnu.org>
18357
f330b642
GM
18358 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18359 function, so it follows changes in calendar-date-style.
18360 (diary-fancy-date-matcher): New function.
18361 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18362 (diary-fancy-font-lock-fontify-region-function):
18363 Use diary-fancy-date-pattern as a function.
18364
31dfb76c
GM
18365 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18366 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18367
48e79d6a
TZ
183682011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18369
18370 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18371 instead of positional arguments. Allow :keylist and :crlfiles
18372 arguments.
18373 (open-gnutls-stream): Call it.
18374
18375 * net/network-stream.el (network-stream-open-starttls): Adjust to
18376 call `gnutls-negotiate' with :process and :hostname arguments.
18377
dd5a5ee0
SM
183782011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18379
ef80fc09
SM
18380 * minibuffer.el (completion--message): New function.
18381 (completion--do-completion, minibuffer-complete)
18382 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18383 (completion--do-completion): Don't ignore completion-auto-help when in
18384 icomplete-mode.
18385
dd5a5ee0
SM
18386 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18387 internal encoding (e.g. tibetan zero is not whitespace).
18388 (global-whitespace-mode): Prefer save-current-buffer.
18389 (whitespace-trailing-regexp): Remove useless save-match-data.
18390 (whitespace-empty-at-bob-regexp): Minor simplification.
18391
b7d22a83
CY
183922011-05-03 Chong Yidong <cyd@stupidchicken.com>
18393
18394 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18395
5192af46
AM
183962011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18397
18398 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18399 Use `concat' to create string for insertion.
5192af46 18400
5767d190
SM
184012011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18402
18403 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18404 Avoid open-line which runs post-self-insert-hook.
18405 (bibtex-fill-entry): Remove unused `end' var.
18406
bf242939
AM
184072011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18408
5767d190
SM
18409 * textmodes/ispell.el (ispell-add-per-file-word-list):
18410 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18411
25666126
LL
184122011-05-03 Leo Liu <sdl.web@gmail.com>
18413
18414 * isearch.el (isearch-yank-pop): New command.
5767d190 18415 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18416 (isearch-forward): Mention it.
18417
52d3c2d0
SM
184182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18419
1bcace58
SM
18420 * simple.el (minibuffer-complete-shell-command): Remove.
18421 (minibuffer-local-shell-command-map): Use completion-at-point.
18422 (read-shell-command): Setup completion vars here instead.
18423 (read-expression-map): Bind TAB to symbol completion.
18424
52d3c2d0
SM
18425 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18426 error directly rather via storing it into `results'.
18427
35813471
LL
184282011-05-02 Leo Liu <sdl.web@gmail.com>
18429
18430 * vc/diff.el: Fix description.
18431
e793a940
LMI
184322011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18433
18434 * server.el (server-eval-at): New function.
18435
8de66e05
LMI
184362011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18437
18438 * net/network-stream.el (open-network-stream): Take a :nowait
18439 parameter and pass it on to `make-network-process'.
18440 (network-stream-open-plain): Ditto.
18441
dcb79f20
AS
184422011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18443
18444 * faces.el (face-spec-set-match-display): Don't match toolkit
18445 options on terminal frames.
18446
14a7fbd8
SM
184472011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18448
7eabc1be
SM
18449 * progmodes/pascal.el: Use lexical binding.
18450 (pascal-mode-map): Remove author preferences.
18451
14a7fbd8
SM
18452 * pcomplete.el (pcomplete-std-complete): Don't abuse
18453 completion-at-point.
18454
50f84510
JB
184552011-04-28 Juanma Barranquero <lekktu@gmail.com>
18456
6e087a44
JB
18457 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18458 removing code that has been dead since 1991 or so.
18459
50f84510
JB
18460 * startup.el (command-line): When warning about "_emacs", use a
18461 delayed warning to allow the user to filter it out.
18462
0ba690bd
DD
184632011-04-28 Deniz Dogan <deniz@dogan.se>
18464
18465 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18466 user has not joined.
18467
08abfaad
SM
184682011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18469
18470 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18471 aren't any completions at point.
18472
638f053a
JB
184732011-04-28 Juanma Barranquero <lekktu@gmail.com>
18474
18475 * subr.el (display-delayed-warnings): New function.
18476 (delayed-warnings-hook): New variable.
18477
8fff8daa
SM
184782011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18479
08abfaad
SM
18480 * minibuffer.el (completion-at-point, completion-help-at-point):
18481 Don't presume that a given completion-at-point-function will always
18482 use the same calling convention.
18483
8fff8daa
SM
18484 * pcomplete.el (pcomplete-completions-at-point):
18485 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18486 pcomplete-seen is non-nil.
18487 (pcomplete-comint-setup): Also recognize the new comint/shell
18488 completion functions.
18489 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18490 pcomplete-seen is non-nil.
18491
841a1577 184922011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18493
841a1577 18494 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18495 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18496 the first character in the entry. This allows for code to add its
211ec907
UJ
18497 own uid to the entry.
18498 (icalendar--convert-float-to-ical): Add export of
18499 `diary-float'-entries save for those with the optional DAY
18500 argument.
18501
2a782793
DC
185022011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18503
18504 * subr.el (shell-quote-argument): Use alternate escaping strategy
18505 when we spot a variable reference in a string.
18506
0438ce91
DC
185072011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18508
18509 * cus-start.el (all): Define customization for debug-on-event.
18510
841a1577 185112011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18512
18513 * subr.el (shell-quote-argument): Escape correctly under Windows.
18514
d090ed6c
SM
185152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18516
18517 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18518
bfd31217
MA
185192011-04-25 Michael Albinus <michael.albinus@gmx.de>
18520
d090ed6c
SM
18521 * net/tramp.el (tramp-process-actions): Add POS argument.
18522 Delete region between POS and (pos).
bfd31217 18523
d090ed6c
SM
18524 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18525 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18526 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18527
18528 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18529 position in `tramp-process-actions' call.
18530
18531 * net/trampver.el: Update release number.
18532
e92f3bd3
SM
185332011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18534
850256b5
SM
18535 * custom.el (defcustom): Obey lexical-binding.
18536
e92f3bd3
SM
18537 Fix octave-inf completion problems reported by Alexander Klimov.
18538 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18539 Inherit from octave-mode-syntax-table.
18540 (inferior-octave-mode): Set info-lookup-mode.
18541 (inferior-octave-completion-at-point): New function.
18542 (inferior-octave-complete): Use it and completion-in-region.
18543 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18544 comint-filename-completion.
18545 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18546 symbol elements which shouldn't be word elements.
18547 (octave-font-lock-keywords, octave-beginning-of-defun)
18548 (octave-function-header-regexp): Adjust regexps accordingly.
18549 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18550
cd22b309
JB
185512011-04-25 Juanma Barranquero <lekktu@gmail.com>
18552
18553 * net/gnutls.el (gnutls-errorp): Declare before first use.
18554
8b492194
TZ
185552011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18556
18557 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18558 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18559 default trustfile exists before going to use it. Add missing
5a5fa834 18560 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18561 Reported by Claudio Bley <claudio.bley@gmail.com>.
18562 (open-gnutls-stream): Add usage example.
18563
18564 * net/network-stream.el (network-stream-open-starttls): Give host
18565 parameter to `gnutls-negotiate'.
18566 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18567 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18568
841a1577 185692011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18570
cd22b309
JB
18571 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18572 Use correct match group (bug#8438).
05842630 18573
3ba7869c
CY
185742011-04-24 Chong Yidong <cyd@stupidchicken.com>
18575
512e3ae1
CY
18576 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18577 (package-menu--generate): New arg specifying packages to show.
18578 (package-menu-refresh, package-menu-execute, list-packages):
18579 Callers changed.
18580 (package-show-package-list): New function, replacing deleted
18581 package--list-packages (renamed because it is non-internal).
18582
18583 * finder.el (finder-list-matches): Use package-show-package-list
18584 instead of deleted package--list-packages.
18585
e92f3bd3
SM
18586 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18587 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18588 (vc-annotate-mode-map): Bind it to RET.
18589
7031be6d
UR
185902011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18591
18592 * progmodes/etags.el (next-file): Don't use set-buffer to change
18593 buffers (Bug#8478).
18594
4ef177aa
CY
185952011-04-24 Chong Yidong <cyd@stupidchicken.com>
18596
c8d173eb
CY
18597 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18598
4ef177aa
CY
18599 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18600 (apropos-accumulator): Doc fix.
18601 (apropos-function, apropos-macro, apropos-command)
18602 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18603 (apropos-plist): Add face property.
18604 (apropos-symbols-internal): Fix indentation.
18605 (apropos-print): Simplify help, and recognize apropos-multi-type.
18606 (apropos-print-doc): Use button-type-get to extract the button's
18607 face property. Fill docstring (Bug#8352).
18608
4ffd0d6b 186092011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18610
18611 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18612
c6c32125 18613 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18614 (mpuz-mode-map): Use mapc.
c6c32125
JB
18615 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18616 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18617 Fix typos in docstrings.
18618
58d468b4
JB
18619 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18620 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18621
6470c3c6
JB
18622 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18623
4ffd0d6b 186242011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18625
18626 * minibuffer.el (completion--do-completion): Avoid the "Next char
18627 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18628
3ad8bad0
CY
18629 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18630 mouse-2 into unread-command-events, it is interpreted correctly.
18631
71d73c9c 18632 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18633 (image-toggle-display): Doc fix.
71d73c9c 18634
841a1577 186352011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18636
4ffd0d6b
GM
18637 * textmodes/page.el (what-page): Use line-number-at-pos to
18638 calculate line number (Bug#6825).
6e1dbaa9 18639
c2fb1b60
JB
186402011-04-22 Juanma Barranquero <lekktu@gmail.com>
18641
18642 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18643 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18644 Pass argument NO-DEFAULT to `find-tag-interactive'.
18645
e02f48d7
JB
186462011-04-22 Juanma Barranquero <lekktu@gmail.com>
18647
18648 Lexical-binding cleanup.
18649
18650 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18651 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18652 * progmodes/ada-prj.el (ada-prj-initialize-values)
18653 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18654 (ada-prj-show-value):
18655 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18656 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18657 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18658 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18659 * progmodes/bug-reference.el (bug-reference-push-button):
18660 * progmodes/fortran.el (fortran-line-length):
18661 * progmodes/glasses.el (glasses-change):
18662 * progmodes/octave-mod.el (octave-fill-paragraph):
18663 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18664 (python-pdbtrack-grub-for-buffer, python-sentinel):
18665 * progmodes/sql.el (sql-save-connection):
18666 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18667 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18668 Mark unused parameters.
18669
18670 * progmodes/compile.el (compilation--flush-directory-cache)
18671 (compilation--flush-parse, compile-internal): Mark unused parameters.
18672 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18673 (compilation-next-error-function): Remove unused variable `timestamp'.
18674
18675 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18676 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18677
18678 * progmodes/dcl-mode.el (dcl-end-of-command):
18679 Remove unused variable `start'.
18680 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18681 (dcl-option-value-basic, dcl-option-value-offset)
18682 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18683 Mark unused parameters.
18684 (dcl-save-local-variable): Remove unused variable `val'.
18685 (mode): Declare.
18686
18687 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18688 Mark unused parameters.
18689 (delphi-ignore-changes): Move before first use.
18690 (delphi-charset-token-at): Remove unused variable `start'.
18691 (delphi-else-start): Remove unused variable `if-count'.
18692 (delphi-comment-block-start, delphi-comment-block-end):
18693 Remove unused variable `kind'.
18694 (delphi-indent-line): Remove unused variable `new-point'.
18695
18696 * progmodes/ebrowse.el (ebrowse-files-list)
18697 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18698 Mark unused parameters. Don't quote `lambda'.
18699 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18700 Don't quote `lambda'.
18701 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18702 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18703 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18704 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18705 Use `ignore-errors'.
18706 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18707 (ebrowse-view/find-file-and-search-pattern)
18708 (ebrowse-view/find-member-declaration/definition):
18709 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18710 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18711 Rename parameter PREFIX-ARG to PREFIX.
18712 (ebrowse-tags-read-name): Remove unused variables `start' and
18713 `member-info'.
18714 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18715 to `tags-file'.
18716
18717 * progmodes/etags.el (local-find-tag-hook): Declare.
18718 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18719 Mark unused parameters.
18720
18721 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18722 (executable-interpret): Mark unused parameter.
18723
18724 * progmodes/flymake.el (flymake-process-sentinel)
18725 (flymake-after-change-function)
18726 (flymake-create-temp-with-folder-structure)
18727 (flymake-get-include-dirs-dot): Mark unused parameters.
18728 (flymake-safe-delete-directory): Remove unused variable `err'.
18729
18730 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18731 (speedbar-timer-fn, speedbar-line-text)
18732 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18733 (speedbar-center-buffer-smartly): Declare functions.
18734 (gdb-find-watch-expression): Remove unused variable `array'.
18735 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18736 (gdb-starting): Mark unused parameters.
18737 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18738 (gdb-table-string): Remove unused variable `res'.
18739 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18740 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18741 (gdb-display-buffer): Remove unused variable `cur-size'.
18742
18743 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18744 allow lexical-binding compilation.
18745 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18746 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18747 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18748 Mark unused parameters.
18749 (gud-gdb-marker-filter): Remove unused variable `match'.
18750 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18751 lambda expressions and funcall them, instead of using `fset'.
18752
18753 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18754 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18755
18756 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18757 variable `header-beg'; use `let'.
18758
18759 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18760 `restart', `last-sexp' and `at-do'.
18761
18762 * progmodes/js.el (js--debug): Mark unused parameter.
18763 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18764 (js--splice-into-items): Remove unused variable `item'.
18765 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18766
18767 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18768 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18769 (makefile-complete): Remove unused variable `try'.
18770 (makefile-fill-paragraph, makefile-match-function-end):
18771 Mark unused parameters.
18772
18773 * progmodes/octave-inf.el (inferior-octave-complete):
18774 Remove unused variable `proc'.
18775 (inferior-octave-output-digest): Mark unused parameter.
18776
18777 * progmodes/perl-mode.el (perl-calculate-indent):
18778 Remove unused variable `err'.
18779
18780 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18781 (prolog-indent-line): Mark unused parameters.
18782 (prolog-indent-line): Remove unused variable `beg'.
18783
18784 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18785 (reporter-dont-compact-list): Declare.
18786
18787 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18788 Remove unused variable `char'.
18789 (sh-debug): Mark unused parameter.
18790 (sh-get-indent-info): Remove unused variable `start'.
18791 (sh-calculate-indent): Remove unused variable `var'.
18792
18793 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18794 (simula-electric-keyword): Remove unused variable `null'.
18795 (simula-search-backward, simula-search-forward): Remove unused
18796 variables `begin' and `end'.
18797
18798 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18799 Remove unused variable `pos'.
18800 (vera-electric-tab, vera-comment-uncomment-region):
18801 Mark unused parameters.
18802 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18803
7ede3b65
CY
188042011-04-22 Chong Yidong <cyd@stupidchicken.com>
18805
18806 * emacs-lisp/package.el (package--builtins, package-alist)
18807 (package-load-descriptor, package-built-in-p, package-activate)
18808 (define-package, package-installed-p)
18809 (package-compute-transaction, package-buffer-info)
18810 (package--push): Doc fix. Distinguish more clearly between
18811 version strings and version lists.
18812
121656e9
JB
188132011-04-21 Juanma Barranquero <lekktu@gmail.com>
18814
18815 Lexical-binding cleanup.
18816
18817 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18818 (5x5-make-mutate-best):
18819 * play/fortune.el (fortune-in-buffer):
18820 * play/gomoku.el (gomoku-init-display):
18821 * play/solitaire.el (solitaire, solitaire-do-check):
18822 * play/tetris.el (tetris-default-update-speed-function):
18823 Mark unused parameters.
18824
18825 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18826 (bubbles--shift): Remove unused variable `char-org'.
18827 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18828 (bubbles--show-images): Remove unused variable `char'.
18829
18830 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18831 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18832 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18833 (decipher-analyze-buffer): Use ?\s.
18834 (decipher-make-checkpoint): Remove unused variable `mapping'.
18835
18836 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18837
18838 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18839 Remove unused variable `result'; use `let'.
18840
18841 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18842 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18843 (gametree-children-shown-p, gametree-compute-reduced-score):
18844 Use `ignore-errors'.
18845
18846 * play/handwrite.el (ps-lpr-switches): Declare.
18847 (handwrite): Remove unused variables `pmin' and `lastp'.
18848
18849 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18850
18851 * play/landmark.el (landmark-init-display)
18852 (landmark-update-naught-weights): Mark unused parameters.
18853 (landmark-y): Remove unused variable `noise'. Simplify.
18854 (landmark-human-plays): Remove unused variable `score'.
18855
18856 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18857 (mpuz-try-proposal): Remove unused variable `game'.
18858
18859 * play/zone.el (life-patterns): Declare.
18860
80f499c7
JB
188612011-04-20 Juanma Barranquero <lekktu@gmail.com>
18862
18863 * vc/vc.el (ediff-vc-internal): Declare function.
18864
024ff170
SM
188652011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18866
c0a193ea
SM
18867 * shell.el: Use lexical-binding and std completion UI.
18868 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18869 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18870 comint-preoutput-filter-functions rather than on
18871 comint-output-filter-functions.
18872 (shell-command-completion, shell--command-completion-data)
18873 (shell-filename-completion, shell-environment-variable-completion)
18874 (shell-c-a-p-replace-by-expanded-directory): New functions.
18875 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18876 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18877 (shell-dynamic-complete-environment-variable): Use them.
18878 (shell-dynamic-complete-as-environment-variable)
18879 (shell-dynamic-complete-as-command): Remove.
18880 (shell-match-partial-variable): Match past point.
18881 * comint.el: Clean up use of completion-at-point-functions.
18882 (comint-completion-at-point): New function.
18883 (comint-mode): Use it completion-at-point-functions.
18884 (comint-dynamic-complete): Make it obsolete.
18885 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18886 (comint-c-a-p-replace-by-expanded-history): New function.
18887 (comint-dynamic-complete-functions)
18888 (comint-replace-by-expanded-history): Use it.
18889 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18890 termination strings. Try harder to avoid second try-completion.
18891 (completion-in-region-mode-map): Disable bindings that don't work yet.
18892
2dbaa080
SM
18893 * comint.el: Use lexical-binding. Require CL.
18894 (comint-dynamic-complete-functions): Use comint-filename-completion.
18895 (comint-completion-addsuffix): Tweak custom type.
18896 (comint-filename-completion, comint--common-suffix)
18897 (comint--common-quoted-suffix, comint--table-subvert)
18898 (comint--complete-file-name-data): New functions.
18899 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18900 (comint-dynamic-list-filename-completions): Use them.
18901 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18902
2dbaa080
SM
18903 * minibuffer.el (completion-in-region-mode):
18904 Keep completion-in-region-mode--predicate global.
18905 (completion-in-region--postch):
18906 Assume completion-in-region-mode--predicate is not null.
18907
c79a6f38
SM
18908 * progmodes/flymake.el (flymake-start-syntax-check-process):
18909 Obey `dir'. Simplify.
18910
024ff170
SM
18911 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18912 we're in VC after all.
18913
1c6c854e
CS
189142011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18915
18916 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18917 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18918 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18919
bed7f140
SM
189202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18921
332e62ab
SM
18922 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18923 add sanity check.
18924
bed7f140
SM
18925 * obsolete/erc-hecomplete.el: Make obsolete.
18926 * obsolete/: Standardize obsolescence info in the header.
18927
f195c582
GM
189282011-04-20 Glenn Morris <rgm@gnu.org>
18929
18930 * calendar/solar.el (solar-horizontal-coordinates):
18931 Use the longitude argument rather than `calendar-longitude'.
18932 (solar-date-next-longitude): Remove unused locals.
18933
cb79b8c0
VJL
189342011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18935
18936 * whitespace.el: New version 13.2.1.
18937
189382011-04-20 felix <EmacsWiki> (tiny change)
18939
d8e4b68b 18940 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18941 switching between major modes on a file.
18942
602ea69d
SM
189432011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18944
18945 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18946 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18947 multi-line comments as well.
18948
06b60517
JB
189492011-04-19 Juanma Barranquero <lekktu@gmail.com>
18950
18951 Lexical-binding cleanup.
18952
18953 * arc-mode.el (archive-mode-revert):
18954 * cmuscheme.el (scheme-interactively-start-process):
18955 * custom.el (custom-initialize-delay):
18956 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18957 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18958 * emacs-lock.el (emacs-lock-clear-sentinel):
18959 * ezimage.el (defezimage):
18960 * follow.el (follow-avoid-tail-recenter):
18961 * fringe.el (set-fringe-mode-1):
18962 * generic-x.el (bat-generic-mode-compile):
18963 * help-mode.el (help-info-variable, help-do-xref)
18964 (help-mode-revert-buffer):
18965 * help.el (view-emacs-todo):
18966 * iswitchb.el (iswitchb-completion-help):
18967 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18968 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18969 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18970 * locate.el (locate-update):
18971 * longlines.el (longlines-encode-region)
18972 (longlines-after-change-function):
18973 * outline.el (outline-isearch-open-invisible):
18974 * ps-def.el (declare-function, charset-dimension, char-width)
18975 (encode-char):
18976 * ps-mule.el (ps-mule-plot-string):
18977 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18978 (recentf-edit-list-select, recentf-edit-list-validate)
18979 (recentf-open-files-action):
18980 * rect.el (delete-whitespace-rectangle-line)
18981 (rectangle-number-line-callback):
18982 * register.el (window-configuration-to-register)
18983 (frame-configuration-to-register):
18984 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18985 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18986 (xselect-convert-to-targets, xselect-convert-to-delete)
18987 (xselect-convert-to-filename, xselect-convert-to-charpos)
18988 (xselect-convert-to-lineno, xselect-convert-to-colno)
18989 (xselect-convert-to-os, xselect-convert-to-host)
18990 (xselect-convert-to-user, xselect-convert-to-class)
18991 (xselect-convert-to-name, xselect-convert-to-integer)
18992 (xselect-convert-to-atom, xselect-convert-to-identity):
18993 * subr.el (declare, ignore, process-kill-without-query)
18994 (text-clone-maintain):
18995 * terminal.el (te-get-char, te-tic-sentinel):
18996 * tool-bar.el (tool-bar-make-keymap):
18997 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18998 * type-break.el (type-break-mode, type-break-noninteractive-query):
18999 * view.el (View-back-to-mark):
19000 * wid-browse.el (widget-browse-action, widget-browse-widget)
19001 (widget-browse-widgets, widget-browse-sexp):
19002 * widget.el (define-widget-keywords):
19003 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19004 Mark unused parameters.
19005
19006 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19007 (align-areas): Remove unused variable `look'.
19008 (align-region): Remove unused variables `real-end' and `pos-list'.
19009
19010 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19011
19012 * bindings.el (mode-line-modified, mode-line-remote):
19013 Mark unused parameters.
19014 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19015
19016 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19017 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19018
19019 * comint.el (comint-history-isearch-pop-state)
19020 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19021 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19022 (comint-substitute-in-file-name): Doc fix.
19023
19024 * completion.el (cmpl-statistics-block): Mark unused parameter.
19025 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19026 (save-completions-to-file, load-completions-from-file):
19027 Remove unused local variable `e'.
19028
19029 * composite.el (compose-chars): Remove unused variable `len'.
19030 (lgstring-insert-glyph): Remove unused variable `g'.
19031 (compose-glyph-string): Remove unused variables `ascent',
19032 `descent', `lbearing' and `rbearing'.
19033 (compose-glyph-string-relative): Remove unused variables
19034 `lbearing', `rbearing' and `wadjust'.
19035 (compose-gstring-for-graphic): Remove unused variables `header',
19036 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19037 (compose-gstring-for-terminal): Remove unused variables `header'
19038 and `nchars'. Use `let', not `let*'.
19039
19040 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19041 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19042 (Custom-buffer-done, custom-buffer-create-internal)
19043 (custom-browse-visibility-action, custom-browse-group-tag-action)
19044 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19045 (widget-magic-mouse-down-action, custom-toggle-parent)
19046 (custom-add-parent-links, custom-toggle-hide-variable)
19047 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19048 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19049 (custom-face-menu-create, custom-variable-menu-create, get)
19050 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19051 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19052 (customize-apropos): Remove unused variable `tests'.
19053 (custom-group-value-create): Remove unused variable `hidden-p'.
19054 (sort-fold-case): Declare.
19055
19056 * cus-theme.el (custom-reset-standard-faces-list)
19057 (custom-reset-standard-variables-list): Declare.
19058 (customize-create-theme, custom-theme-revert, custom-theme-write)
19059 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19060 Mark unused parameters.
19061
19062 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19063
19064 * delim-col.el (delimit-columns-max): Move defvar before first use.
19065
19066 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19067 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19068
19069 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19070 (auto-insert): Declare.
19071 (desktop-restore-file-buffer): Rename desktop-* parameters;
19072 mark unused ones.
19073 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19074 (desktop-buffer): Rename desktop-* parameters.
19075
19076 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19077 (dframe-reposition-frame-xemacs, dframe-help-echo)
19078 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19079 Mark unused parameters.
19080
19081 * dired-aux.el (backup-extract-version-start, overwrite-query)
19082 (overwrite-backup-query, rename-regexp-query)
19083 (rename-non-directory-query): Declare.
19084 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19085 (dired-add-entry): Remove unused variable `orig-file-name'.
19086 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19087 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19088 `dired-copy-preserve-time' directly.
19089 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19090 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19091
19092 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19093 (dired-virtual-revert, dired-make-relative-symlink):
19094 Mark unused parameters.
19095 (manual-program): Declare.
19096 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19097 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19098 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19099
19100 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19101
19102 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19103
19104 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19105 Declare.
19106
19107 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19108
19109 * electric.el (Electric-command-loop): Rename parameter
19110 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19111
19112 * expand.el (expand-in-literal): Remove unused variable `here'.
19113
19114 * facemenu.el (facemenu-add-new-color):
19115 Remove unused variable `docstring'.
19116
19117 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19118 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19119 (face-attr-construct): Mark unused parameter. Doc fix.
19120 (read-color): Remove unused variable `hex-string'.
19121
19122 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19123 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19124 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19125 (display-buffer-other-frame): Remove unused variable `old-window'.
19126 (kill-buffer-hook): Declare.
19127 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19128 Mark unused parameters.
19129 (after-find-file): Pass 1 to `auto-save-mode', not t.
19130
19131 * files-x.el (auto-insert): Declare.
19132 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19133
19134 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19135 variable `buf'. Mark unused parameter.
06b60517
JB
19136 (find-lisp-insert-directory): Mark unused parameter.
19137
19138 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19139 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19140 (format-common-tail): Remove, unused.
19141 (format-deannotate-region): Remove unused variable `loc'.
19142 (format-annotate-region): Remove unused variable `p'.
19143 (format-annotate-single-property-change): Remove unused variables
19144 `default' and `tail'.
19145
19146 * forms.el (read-file-filter): Declare.
19147 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19148
19149 * frame.el (frame-creation-function-alist): Mark unused parameter.
19150 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19151
19152 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19153 Remove unused parameters.
19154 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19155 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19156
19157 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19158 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19159 (hfy-prepare-tag-map): Mark unused parameters.
19160 (htmlfontify-buffer): Use `called-interactively-p'.
19161
19162 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19163 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19164 (ibuffer-do-occur): Mark unused parameters.
19165 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19166 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19167
19168 * ibuffer.el: Don't quote `lambda'.
19169 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19170 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19171 Mark unused parameters.
19172
19173 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19174 (ido-completing-read): Mark unused parameters.
19175 (ido-copy-current-word): Mark unused parameters;
19176 remove unused variable `name'.
19177 (ido-sort-merged-list): Remove unused parameter `dirs'.
19178
19179 * ielm.el (ielm-input-sender): Mark unused parameter.
19180 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19181 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19182 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19183 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19184 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19185
19186 * image-dired.el (image-dired-display-thumbs): Remove unused
19187 variables `curr-file' and `count'.
19188 (image-dired-remove-tag): Remove unused variable `start'.
19189 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19190 variable `curr-file'
19191 (image-dired-rotate-original): Remove unused variable `temp-file'.
19192 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19193 Remove unused variable `file'.
19194 (image-dired-gallery-generate): Remove unused variable `curr'.
19195 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19196
19197 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19198
19199 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19200
19201 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19202
19203 * isearch.el (minibuffer-history-symbol): Declare.
19204 (isearch-edit-string): Remove unused variable `err'.
19205 (isearch-message-prefix, isearch-message-suffix):
19206 Mark unused parameters.
19207
19208 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19209
19210 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19211
19212 * makesum.el (double-column): Remove unused variable `cnt'.
19213
19214 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19215 (ido-ignore-item-temp-list): Declare.
19216
19217 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19218 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19219 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19220 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19221 `mouse-col-delta'.
19222
19223 * mouse-sel.el (mouse-extend-internal):
19224 Remove unused variable `orig-window-frame'.
19225
19226 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19227 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19228 Move declarations before first use.
19229 (pcomplete-opt): Mark unused parameters; doc fix.
19230
19231 * proced.el (proced-revert): Mark unused parameter.
19232 (proced-send-signal): Remove unused variable `err'.
19233
19234 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19235 Rename parameter PREFIX-ARG to ARG.
19236 (ps-basic-plot-string, ps-basic-plot-whitespace):
19237 Mark unused parameters.
19238
19239 * replace.el (replace-count): Define.
19240 (occur-revert-function): Mark unused parameters.
19241 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19242 (isearch-case-fold-search, isearch-string): Declare.
19243 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19244 bind `case-fold-search'. Remove unused variables `beg' and `end',
19245 and simplify.
19246 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19247 COUNT and bind `replace-count'.
19248 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19249 to COUNT.
19250
19251 * savehist.el (print-readably, print-string-length): Declare.
19252
19253 * shadowfile.el (shadow-expand-cluster-in-file-name):
19254 Remove unused variable `cluster'.
19255 (shadow-copy-file): Remove unused variable `i'.
19256 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19257 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19258 (shadow-define-literal-group, shadow-define-regexp-group)
19259 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19260
19261 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19262 (shell): Use `called-interactively-p'.
19263 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19264
19265 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19266 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19267 (delete-backward-char): Remove unused variable `ocol'.
19268 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19269 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19270 (event-apply-hyper-modifier, event-apply-shift-modifier)
19271 (event-apply-control-modifier, event-apply-meta-modifier):
19272 Mark unused parameters.
19273 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19274 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19275
19276 * speedbar.el (speedbar-ignored-directory-expressions)
19277 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19278 (speedbar-find-file, speedbar-dir-follow)
19279 (speedbar-directory-buttons-follow, speedbar-tag-find)
19280 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19281 (speedbar-buffers-line-directory, speedbar-buffer-click):
19282 Mark unused parameters.
19283 (speedbar-tag-file): Remove unused variable `mode'.
19284 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19285
19286 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19287
19288 * talk.el (talk): Remove unused variable `display'.
19289
19290 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19291 (tar-write-region-annotate): Mark unused parameter.
19292
19293 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19294 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19295 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19296 warning by another.
19297
19298 * time-stamp.el (time-stamp-string-preprocess):
19299 Remove unused variable `require-padding'.
19300
19301 * tree-widget.el (widget-glyph-enable): Declare.
19302 (tree-widget-action): Mark unused parameter.
19303
19304 * w32-fns.el (x-get-selection): Mark unused parameter.
19305 (autoload-make-program, generated-autoload-file): Declare.
19306
19307 * wdired.el (wdired-revert): Mark unused parameters.
19308 (wdired-xcase-word): Remove unused variable `err'.
19309
19310 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19311 (whitespace-help-scroll): Remove unused variable `data-help'.
19312
19313 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19314 (widget-image-insert, widget-after-change, default)
19315 (widget-default-format-handler, widget-default-notify)
19316 (widget-default-prompt-value, widget-info-link-action)
19317 (widget-url-link-action, widget-function-link-action)
19318 (widget-variable-link-action, widget-file-link-action)
19319 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19320 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19321 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19322 (widget-insert-button-action, widget-delete-button-action, visibility)
19323 (widget-documentation-link-action, widget-documentation-string-action)
19324 (widget-const-prompt-value, widget-regexp-match, symbol)
19325 (widget-coding-system-prompt-value)
19326 (widget-key-sequence-value-to-external, sexp)
19327 (widget-sexp-value-to-internal, character, vector, cons)
19328 (widget-choice-prompt-value, widget-boolean-prompt-value)
19329 (widget-color--choose-action): Mark unused parameters.
19330 (widget-item-match-inline, widget-choice-match-inline)
19331 (widget-checklist-match, widget-checklist-match-inline)
19332 (widget-group-match): Rename parameter VALUES to VALS.
19333 (widget-field-value-set): Remove unused variable `size'.
19334 (widget-color-action): Remove unused variables `value' and `start'.
19335
19336 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19337 variable `dir'. Doc fix.
06b60517
JB
19338 (windmove-find-other-window): Don't pass it.
19339
19340 * window.el (count-windows): Mark unused parameter.
19341 (bw-adjust-window): Remove unused variable `err'.
19342
19343 * woman.el (woman-file-name): Remove unused variable `default'.
19344 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19345 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19346 (global-font-lock-mode): Declare.
19347 (woman-decode-region): Mark unused parameter.
19348 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19349
19350 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19351 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19352 (x-dnd-handle-moz-url): Remove unused variable `title'.
19353 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19354
19355 * xml.el (xml-parse-tag, xml-parse-attlist):
19356 Remove unused variable `pos'.
19357
bc4f7f3d
GM
193582011-04-19 Glenn Morris <rgm@gnu.org>
19359
19360 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19361 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19362 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19363 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19364 * calendar/cal-html.el (cal-html-insert-minical):
19365 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19366 (calendar-mark-date-pattern):
19367 Prefix "unused" locals.
19368
19369 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19370 optional argument `style'.
19371
19372 * calendar/appt.el (appt-make-list):
19373 * calendar/cal-china.el (calendar-chinese-date-string):
19374 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19375 (diary-hebrew-yahrzeit):
19376 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19377 * calendar/calendar.el (calendar-generate-window):
19378 * calendar/time-date.el (time-to-days):
19379 Remove unused local variables.
19380
16a43933
CY
193812011-04-18 Chong Yidong <cyd@stupidchicken.com>
19382
19383 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19384 glyphless-char-display table.
19385 (tabulated-list-glyphless-char-display): New var.
19386
7eed1860
SS
193872011-04-18 Sam Steingold <sds@gnu.org>
19388
19389 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19390 to acknowledgments.
19391
4d2d1ccd
GM
193922011-04-17 Glenn Morris <rgm@gnu.org>
19393
19394 * calendar/diary-lib.el (diary-sexp-entry):
19395 * calendar/holidays.el (holiday-sexp):
19396 Set debug-on-error rather than the removed stack-trace-on-error.
19397
239da61d
GM
193982011-04-16 Glenn Morris <rgm@gnu.org>
19399
19400 * progmodes/f90.el: Use lexical-binding.
19401 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19402
8b05752a
SM
194032011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19404
daca8ba5
SM
19405 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19406 (mail-mode): Setup mailalias completion here instead.
19407 * mail/mailalias.el: Use lexical-binding.
19408 (pattern, mailalias-done): Declare dynamic.
19409 (mail-completion-at-point-function): New function, from mail-complete.
19410 (mail-complete): Use it.
19411 (mail-completion-expand): New function.
19412 (mail-get-names): Use it.
19413 (mail-directory, mail-directory-process, mail-directory-stream):
19414 Don't use `pattern' for lexically bound arg.
19415
6f542485
SM
19416 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19417
037e7c3f
SM
19418 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19419 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19420 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19421
8b05752a
SM
19422 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19423 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19424 (byte-interactive-p): Define them again, for use when inlining
19425 old code.
19426
49093f60
JB
194272011-04-15 Juanma Barranquero <lekktu@gmail.com>
19428
19429 * loadup.el: Use `string-to-number', not `string-to-int'.
19430
b5b8e7de
SM
194312011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19432
19433 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19434 gud-gdb-complete-command.
19435 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19436 (gud-gdb-completion-at-point): New function.
19437 (gud-gdb-completions): Remove.
19438
f42efeb5
MA
194392011-04-14 Michael Albinus <michael.albinus@gmx.de>
19440
49093f60
JB
19441 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19442 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19443 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19444 whether `executable-find' is bound.
f42efeb5
MA
19445
19446 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19447
e240cc21
SM
194482011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19449
19450 * minibuffer.el (completion-in-region-mode-predicate)
19451 (completion-in-region-mode--predicate): New vars.
19452 (completion-in-region, completion-in-region--postch)
19453 (completion-in-region-mode): Use them.
19454 (completion--capf-wrapper): Also return the hook function.
19455 (completion-at-point, completion-help-at-point):
19456 Adjust and provide a predicate.
c2bd2ab0
SM
19457
19458 Preserve arg names for advice of subr and lexical functions (bug#8457).
19459 * help-fns.el (help-function-arglist): Consolidate the subr and
19460 new-byte-code cases. Add argument `preserve-names' to extract names
19461 from the docstring when needed.
19462 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19463 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19464 (ad-arglist): Use help-function-arglist's new arg.
19465 (ad-definition-type): Use cond.
19466
c183f693
JB
194672011-04-13 Juanma Barranquero <lekktu@gmail.com>
19468
06641a47
JB
19469 * autorevert.el (auto-revert-handler):
19470 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19471 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19472 Don't quote lambda.
19473
c183f693
JB
19474 * image-mode.el (image-transform-set-scale):
19475 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19476
1e3b6001
G
194772011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19478
19479 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19480 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19481 Upgrades via gnutls-cli are too slow to be done opportunistically.
19482
2d6af8dd
JB
194832011-04-12 Juanma Barranquero <lekktu@gmail.com>
19484
19485 * dframe.el (dframe-current-frame): Remove spurious quote.
19486
c0749a51
GM
194872011-04-12 Glenn Morris <rgm@gnu.org>
19488
088d0d61
GM
19489 * calendar/cal-tex.el (cal-tex-end-document):
19490 Try to automatically use latin1 input if needed.
19491
c0749a51
GM
19492 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19493 Don't try to cons a mark onto an empty element.
19494
5c90fde0
LL
194952011-04-11 Leo Liu <sdl.web@gmail.com>
19496
19497 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19498 buffers.
19499 (ido-kill-buffer-at-head): Support killing virtual buffers.
19500
369e974d
CY
195012011-04-10 Chong Yidong <cyd@stupidchicken.com>
19502
19503 * minibuffer.el (completion-show-inline-help): New var.
19504 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19505 (minibuffer-force-complete, minibuffer-complete-word):
19506 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19507
19508 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19509 to avoid interference from inline help (Bug#5849).
19510
37f1c930
LL
195112011-04-10 Leo Liu <sdl.web@gmail.com>
19512
099c39a4
JB
19513 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19514 Fix typo.
37f1c930 19515
a32d4040
CY
195162011-04-09 Chong Yidong <cyd@stupidchicken.com>
19517
19518 * image-mode.el (image-toggle-display-image): Signal an error if
19519 not in Image mode.
19520 (image-transform-mode, image-transform-resize)
19521 (image-transform-set-rotation): Doc fix.
daca8ba5 19522 (image-transform-set-resize): Delete.
a32d4040
CY
19523 (image-transform-set-scale, image-transform-fit-to-height)
19524 (image-transform-fit-to-width): Handle image-toggle-display-image
19525 and image-transform-resize directly.
19526
099c39a4 195272011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19528
19529 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19530 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19531 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19532 (doc-view-mode-map): Add bindings for the new functions.
19533
099c39a4 195342011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19535
4d61f28d 19536 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19537 Fix typo in docstring.
19538
3726838a
EZ
195392011-04-08 Eli Zaretskii <eliz@gnu.org>
19540
04f33f1e
EZ
19541 * files.el (file-size-human-readable): Produce one digit after
19542 decimal, like "ls -lh" does.
19543
19544 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19545 the file size representation.
19546
3726838a
EZ
19547 * simple.el (list-processes): If async subprocesses are not
19548 available, error out with a clear error message.
19549
cbb59342
CY
195502011-04-08 Chong Yidong <cyd@stupidchicken.com>
19551
19552 * help.el (help-form-show): New function, to be called from C.
19553 Put help-form output in a buffer named differently than *Help*.
19554
e3971c44
EZ
195552011-04-08 Eli Zaretskii <eliz@gnu.org>
19556
19557 * files.el (file-size-human-readable): New function.
19558
19559 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19560 computing the representation inline. Don't require `cl'.
19561
12544bbe
GM
195622011-04-08 Glenn Morris <rgm@gnu.org>
19563
a1de6c6a
GM
19564 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19565
3c4671f4
GM
19566 * net/browse-url.el (browse-url-firefox):
19567 Test system-type, not system-configuration.
19568
b605679c
GM
19569 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19570 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19571 Use log-edit-empty-buffer-p. (Bug#7598)
19572
56442f0c
GM
19573 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19574 (rlogin-mode-map): Initialize in the defvar.
19575 (rlogin): Use ignore-errors.
19576
12544bbe
GM
19577 * replace.el (occur-mode-map): Some fixes for menu items.
19578
eb237b0f
AH
195792011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19580
19581 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19582
7d668f2c
CY
195832011-04-06 Chong Yidong <cyd@stupidchicken.com>
19584
e67a13ab
CY
19585 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19586 issuing unused warnings.
19587
19588 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19589 macro directly.
19590
7d668f2c
CY
19591 * simple.el: Lisp reimplement of list-processes. Based on an
19592 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19593 (process-menu-mode): New major mode.
19594 (list-processes--refresh, list-processes):
19595 (process-menu-visit-buffer): New functions.
19596
19597 * files.el (save-buffers-kill-emacs): Don't assume any return
19598 value of list-processes, which is undocumented anyway.
19599
a83ec3c9
CY
196002011-04-06 Chong Yidong <cyd@stupidchicken.com>
19601
19602 * emacs-lisp/tabulated-list.el: New file.
19603
e91a96fe
CY
19604 * emacs-lisp/package.el: Use Tabulated List mode.
19605 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19606 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19607 table format using Tabulated List mode variables.
19608 (package--push): New macro, replacing package-list-maybe-add.
19609 (package-menu--generate): Use package--push. Renamed from
19610 package--generate-package-list.
19611 (package-menu-refresh, list-packages): Use it.
daca8ba5 19612 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19613 Return insertion data instead of inserting it directly.
099c39a4
JB
19614 (package-menu-describe-package, package-menu-execute):
19615 Use tabulated-list-get-id.
e91a96fe
CY
19616 (package-menu-mark-delete, package-menu-mark-install)
19617 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19618 (package-menu-mark-obsolete-for-deletion):
19619 Use tabulated-list-put-tag.
e91a96fe
CY
19620 (package--list-packages, package-menu-revert)
19621 (package-menu-get-package, package-menu-get-version)
19622 (package-menu-sort-by-column): Functions deleted.
19623 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19624 (package-menu--status-predicate, package-menu--version-predicate)
19625 (package-menu--name-predicate)
19626 (package-menu--description-predicate): Handle arguments in the
19627 Tabulated List format.
19628 (package-list-packages-no-fetch): Call list-packages.
19629
3e214b50
JB
196302011-04-06 Juanma Barranquero <lekktu@gmail.com>
19631
19632 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19633 (after-find-file): Don't bind it.
3e214b50
JB
19634 (revert-buffer-in-progress-p): New variable.
19635 (revert-buffer): Bind it.
19636 Pass nil for `after-find-file-from-revert-buffer'.
19637
19638 * saveplace.el (save-place-find-file-hook): Use new variable
19639 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19640
3f0f1700
GM
196412011-04-06 Glenn Morris <rgm@gnu.org>
19642
c0274801
GM
19643 * Makefile.in (AUTOGEN_VCS): New variable.
19644 (autoloads): Use $AUTOGEN_VCS.
19645
3f0f1700
GM
19646 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19647 * calendar/calendar.el (calendar-mode-map):
19648 Check for toolkit scroll bars. (Bug#8305)
19649
41ea9e48
CY
196502011-04-05 Chong Yidong <cyd@stupidchicken.com>
19651
19652 * minibuffer.el (completion-in-region--postch)
19653 (completion-in-region-mode): Remove unnecessary messages.
19654
6194c800
JB
196552011-04-05 Juanma Barranquero <lekktu@gmail.com>
19656
33256f14
JB
19657 * font-lock.el (font-lock-refresh-defaults):
19658 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19659 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19660
6194c800
JB
19661 * info.el (Info-directory-list, Info-read-node-name-2)
19662 (Info-split-parameter-string): Doc fixes.
19663 (Info-virtual-nodes): Reflow docstring.
19664 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19665 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19666 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19667 Fix typos in docstrings.
19668 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19669 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19670 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19671 (Info-restore-desktop-buffer): Mark unused parameters.
19672 (Info-directory-find-file, Info-directory-find-node)
19673 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19674 (Info-virtual-index-find-node, Info-apropos-find-file)
19675 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19676 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19677 (Info-virtual-index): Remove unused local variable `nodename'.
19678
b87a8200 196792011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19680
b87a8200
DD
19681 * net/rcirc.el: Update my e-mail address.
19682 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19683
3b2ff876
CY
196842011-04-05 Chong Yidong <cyd@stupidchicken.com>
19685
19686 * startup.el (command-line): Save the cursor's theme-face
19687 directly, instead of using face-override-spec.
19688
19689 * custom.el (load-theme): Minor optimization in assigning faces.
19690
8d17e7ca
JB
196912011-04-04 Juanma Barranquero <lekktu@gmail.com>
19692
19693 * help-fns.el (describe-variable): Complete all variables having
19694 documentation, including keywords.
19695 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19696
2fbc1934
JB
196972011-04-04 Juanma Barranquero <lekktu@gmail.com>
19698
19699 Convert to lexical-binding.
19700
19701 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19702 (bs--get-marked-string, bs--get-modified-string)
19703 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19704 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19705 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19706
19707 * ehelp.el (electric-help-execute-extended)
19708 (electric-help-ctrl-x-prefix):
19709 * hexl.el (hexl-revert-buffer-function):
19710 * linum.el (linum-after-change, linum-after-scroll):
19711 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19712
19713 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19714
74f50695
DU
197152011-04-04 Daiki Ueno <ueno@unixuser.org>
19716
19717 * epa-dired.el:
19718 * epa-mail.el:
19719 * epa-hook.el:
19720 * epa-file.el:
19721 * epa.el:
19722 * epg.el: Use lexical binding.
19723
c11325f7
CY
197242011-04-03 Chong Yidong <cyd@stupidchicken.com>
19725
0d9e9a12
CY
19726 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19727
c11325f7 19728 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19729 dictionary case for flyspell-mark-duplications-exceptions.
19730 Use regexp matching for languages.
c11325f7
CY
19731 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19732 default dictionary (Bug#7926).
19733
da91b5f2
CY
197342011-04-02 Chong Yidong <cyd@stupidchicken.com>
19735
099c39a4
JB
19736 * emacs-lisp/package.el (package--with-work-buffer):
19737 Recognize https URLs.
da91b5f2 19738
099c39a4
JB
19739 * net/network-stream.el: Move from gnus/proto-stream.el.
19740 Change prefix to network-stream throughout.
da91b5f2
CY
19741 (open-protocol-stream): Merge into open-network-stream, leaving
19742 open-protocol-stream as an alias. Handle nil BUFFER args.
19743
19744 * subr.el (open-network-stream): Move to net/network-stream.el.
19745
afa8e9f6
GM
197462011-04-02 Glenn Morris <rgm@gnu.org>
19747
1d2e369d
GM
19748 * find-dired.el (find-exec-terminator): New option.
19749 (find-ls-option): Test for -ls support.
19750 (find-ls-subdir-switches): Test for -b in find-ls-option.
19751 (find-dired, find-grep-dired): Doc fixes.
19752 (find-dired): Use find-exec-terminator.
19753
8abb7da8 19754 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19755 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19756 (find-name-arg): Remove purecopy.
8abb7da8 19757
f3ca7378
GM
19758 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19759 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19760 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19761 accordingly. Don't add the null-device if not needed.
19762
afa8e9f6
GM
19763 * files.el (save-some-buffers): Doc fix.
19764
35eae264
EZ
197652011-04-02 Eli Zaretskii <eliz@gnu.org>
19766
19767 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19768
26b51db5
JB
197692011-04-01 Juanma Barranquero <lekktu@gmail.com>
19770
19771 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19772 Use `dolist' rather than `mapcar'.
19773
7200d79c
SM
197742011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19775
03408648 19776 Add lexical binding.
7200d79c 19777
03408648
SM
19778 * subr.el (apply-partially): Use new closures rather than CL.
19779 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19780 (dolist, dotimes): Use slightly different expansion for lexical code.
19781 (functionp): Move to C.
19782 (letrec): New macro.
19783 (with-wrapper-hook): Use it and apply-partially instead of CL.
19784 (eval-after-load): Preserve lexical-binding.
19785 (save-window-excursion, with-output-to-temp-buffer): Turn them
19786 into macros.
7200d79c 19787
03408648
SM
19788 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19789
19790 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19791 than the arglist.
19792 (help-add-fundoc-usage): Don't add `Not documented'.
19793 (help-function-arglist): Handle closures, subroutines, and new
19794 byte-code-functions.
19795 (help-make-usage): Remove leading underscores.
19796 (describe-function-1): Handle closures.
19797 (describe-variable): Use special-variable-p for completion.
19798
19799 * files.el (lexical-binding): Declare safe.
f488fb65 19800
03408648
SM
19801 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19802 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19803 (pcase): Add `let' pattern.
19804 Change memoization so it actually works.
19805 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19806 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19807 <let>: New case.
f488fb65 19808
03408648
SM
19809 * emacs-lisp/macroexp.el: Use lexical binding.
19810 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19811 Don't convert ' to #' without checking that it's indeed quoting
19812 a lambda.
19813
19814 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19815 Use eval-sexp-add-defvars.
03408648
SM
19816 (eval-sexp-add-defvars): New fun.
19817
19818 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19819
19820 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19821 Don't autoload.
19822 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19823 than the internal `byte-compile-lambda'.
19824 (defmethod): Don't hide code under quotes.
19825 (eieio-defmethod): New `code' argument.
19826
19827 * emacs-lisp/eieio-comp.el: Remove.
19828
19829 * emacs-lisp/edebug.el (edebug-eval-defun)
19830 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19831 (edebug-toggle): Avoid `eval'.
19832
19833 * emacs-lisp/disass.el (disassemble-internal): Handle new
19834 `closure' objects.
19835 (disassemble-1): Handle new byte codes.
19836
19837 * emacs-lisp/cl.el (pushnew): Silence warning.
19838
19839 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19840 (cl-byte-compile-throw): Remove.
19841 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19842
19843 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19844 closures.
19845
19846 * emacs-lisp/cconv.el: New file.
19847
19848 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19849 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19850 (byte-compile-initial-macro-environment):
19851 Handle declare-function here.
19852 (byte-compile--lexical-environment): New var.
19853 (byte-stack-ref, byte-stack-set, byte-discardN)
19854 (byte-discardN-preserve-tos): New lap codes.
19855 (byte-interactive-p): Don't use any more.
19856 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19857 New macros.
19858 (byte-compile-lapcode): Use them and handle new lap codes.
19859 (byte-compile-obsolete): Remove.
19860 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19861 (byte-compile-arglist-warn): Check late def of inlinable funs.
19862 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19863 since they should have been expanded by now.
19864 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19865 (byte-compile-from-buffer): Remove unused second arg.
19866 (byte-compile-preprocess): New function.
19867 (byte-compile-toplevel-file-form): New function to distinguish
19868 file-form calls from outside from file-form calls from hunk-handlers.
19869 (byte-compile-file-form): Simplify.
19870 (byte-compile-file-form-defsubst): Remove.
19871 (byte-compile-file-form-defmumble): Simplify now that
19872 byte-compile-lambda always returns a byte-code-function.
19873 (byte-compile): Preprocess.
19874 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19875 Remove, not used any more.
19876 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19877 (byte-compile-make-args-desc): New funs.
19878 (byte-compile-lambda): Handle lexical functions. Always return
19879 a byte-code-function.
19880 (byte-compile-reserved-constants): New var, to make up room for
19881 closed-over variables.
19882 (byte-compile-constants-vector): Obey it.
19883 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19884 (byte-compile-macroexpand-declare-function): New function.
19885 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19886 byte-code-functions.
19887 (byte-compile-form): Check obsolescence here.
19888 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19889 (byte-compile-variable-ref): Remove.
19890 (byte-compile-dynamic-variable-op): New fun.
19891 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19892 (byte-compile-variable-set): New funs.
19893 (byte-compile-discard): Add 2 args.
19894 (byte-compile-stack-ref, byte-compile-stack-set)
19895 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19896 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19897 macroexpand-all instead.
19898 (byte-compile-quote-form): Remove.
19899 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19900 (byte-compile-bind, byte-compile-unbind): New funs.
19901 (byte-compile-let): Handle let* and lexical binding.
19902 (byte-compile-let*): Remove.
19903 (byte-compile-catch, byte-compile-unwind-protect)
19904 (byte-compile-track-mouse, byte-compile-condition-case):
19905 Handle a new :fun-body form, used for lexical scoping.
19906 (byte-compile-save-window-excursion)
19907 (byte-compile-with-output-to-temp-buffer): Remove.
19908 (byte-compile-defun): Simplify.
19909 (byte-compile-stack-adjustment): New fun.
19910 (byte-compile-out): Use it.
19911 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19912
19913 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19914 handler any more.
19915
19916 * emacs-lisp/byte-opt.el: Use lexical binding.
19917 (byte-inline-lapcode): Remove (to bytecomp).
19918 (byte-compile-inline-expand): Pay attention to inlining to/from
19919 lexically bound code.
19920 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19921 any more.
19922 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19923 any more and don't call compiler-macros.
19924 (byte-compile-splice-in-already-compiled-code): Remove.
19925 (byte-code): Don't inline any more.
19926 (disassemble-offset): Receive `bytes' as argument rather than via
19927 dynamic scoping.
19928 (byte-compile-tag-number): Declare before first use.
19929 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19930 `return' even if make-spliceable.
19931 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19932 obsolete interactive-p.
19933 (byte-optimize-lapcode): Optimize new lap-codes.
19934 Don't trip up on new form of `byte-constant' lap code.
19935
19936 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19937
19938 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19939
19940 * custom.el (custom-initialize-default, custom-declare-variable):
19941 Use `defvar'.
19942
19943 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19944 New variables.
19945 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19946 (COMPILE_FIRST): Add macroexp and cconv.
19947 * makefile.w32-in: Mirror changes in Makefile.in.
19948
19949 * vc/cvs-status.el:
19950 * vc/diff-mode.el:
19951 * vc/log-edit.el:
19952 * vc/log-view.el:
19953 * vc/smerge-mode.el:
19954 * textmodes/bibtex-style.el:
090bd7cb 19955 * textmodes/css-mode.el:
03408648
SM
19956 * startup.el:
19957 * uniquify.el:
da91b5f2
CY
19958 * minibuffer.el:
19959 * newcomment.el:
19960 * reveal.el:
19961 * server.el:
19962 * mpc.el:
19963 * emacs-lisp/smie.el:
19964 * doc-view.el:
19965 * dired.el:
03408648
SM
19966 * abbrev.el: Use lexical binding.
19967
0f0c1f27
EZ
199682011-04-01 Eli Zaretskii <eliz@gnu.org>
19969
19970 * info.el (info-display-manual): New function.
19971
c82b2579
SM
199722011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19973
19974 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19975
221ddf68
TH
199762011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19977
19978 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 19979 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 19980
cba6e77e
GM
199812011-03-31 Glenn Morris <rgm@gnu.org>
19982
e040639f
GM
19983 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19984
cba6e77e
GM
19985 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19986
6d0f1c9e
CS
199872011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19988
19989 * progmodes/python.el (python-default-interpreter)
19990 (python-python-command-args, python-jython-command-args)
19991 (python-which-shell, python-which-args, python-which-bufname)
19992 (python-file-queue, python-comint-output-filter-function)
19993 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19994 variables and functions.
19995
3e2d70fd
SM
199962011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19997
19998 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19999 (completion-in-region-mode): New minor mode.
20000 (completion-in-region): Use it.
20001 (completion-in-region--data, completion-in-region-mode-map): New vars.
20002 (completion-in-region--postch): New function.
20003 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20004 New vars.
20005 (completion--capf-wrapper): New function.
20006 (completion-at-point): Use it to track well-behavedness of
20007 hook functions.
20008 (completion-help-at-point): New command.
20009
f3e4086c
JM
200102011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20011
20012 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20013 syntax class to search for whitespace on a single line
20014 (Message-ID: <4D938140.4030905@redhat.com>).
20015
eb7ffc14
LL
200162011-03-30 Leo Liu <sdl.web@gmail.com>
20017
20018 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20019 New commands.
20020 (edit-abbrevs-map): Bind them here.
20021 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20022
d806ab68
KM
200232011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20024
20025 * allout.el (allout-hide-by-annotation, allout-flag-region):
20026 Reduce possibility of overlay leakage by making them volatile.
20027
20028 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20029 hash is not shared between buffers. Mode initialization is
20030 responsible for giving it a useful starting value.
20031 (allout-item-span): Reduce possibility of overlay leakage by
20032 making them volatile.
20033 (allout-widgets-count-buttons-in-region): Add diagnostic function
20034 for tracking down button overlay leaks.
20035
ea622834
LL
200362011-03-29 Leo Liu <sdl.web@gmail.com>
20037
20038 * ido.el (ido-read-internal): Use the default history var
20039 minibuffer-history if no HISTORY is specified.
20040
b62f8267
G
200412011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20042
03408648
SM
20043 * net/imap.el (imap-shell-open, imap-process-connection-type):
20044 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20045 Kerberos, SSL, other subprocesses.
20046
947b6566
LL
200472011-03-28 Leo Liu <sdl.web@gmail.com>
20048
20049 * abbrev.el (abbrev-table-empty-p): New function.
20050 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20051 nonempty ones. (Bug#5937)
20052
5ffb62aa
JD
200532011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20054
20055 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20056
7a097943
LL
200572011-03-27 Leo Liu <sdl.web@gmail.com>
20058
20059 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20060 for foreground and background colors.
20061 (ansi-color-make-color-map): Adapt.
20062
c5b40130
LL
200632011-03-25 Leo Liu <sdl.web@gmail.com>
20064
1f48f7d2
LL
20065 * midnight.el (midnight-time-float): Remove. Note it calculates
20066 the microsecond component incorrectly and seconds-to-time does the
20067 same job.
625897ec 20068 Remove redundant (require 'timer).
1f48f7d2 20069
c5b40130
LL
20070 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20071 (ido-completions): Remove unused arguments. (Bug#8329)
20072
d86d2721
SM
200732011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20074
20075 * minibuffer.el (completion--flush-all-sorted-completions):
20076 Remove itself from hook.
20077 (completion-at-point): Let the functions perform the completion
20078 immediately and return nil or t.
20079 * comint.el (comint-dynamic-complete-functions): Now identical to
20080 completion-at-point-functions.
20081 (comint-dynamic-list-input-ring): Remove unused var `index'.
20082 (comint--match-partial-filename, comint--unquote&expand-filename):
20083 New funs, split from comint-match-partial-filename.
20084 (comint-dynamic-complete): Use completion-at-point.
20085 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20086
e8974c48
DA
200872011-03-24 Drew Adams <drew.adams@oracle.com>
20088
20089 * thingatpt.el: Support `defun'.
20090
def71b5e
LL
200912011-03-23 Leo Liu <sdl.web@gmail.com>
20092
cb5af48e
LL
20093 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20094
def71b5e
LL
20095 * help-mode.el (help-mode-finish): Tweak regexp.
20096
927c53e7
GM
200972011-03-23 Glenn Morris <rgm@gnu.org>
20098
18d05bed
GM
20099 * eshell/esh-opt.el (eshell-eval-using-options):
20100 Do not bind unused local variable `eshell-option-stub'.
20101
927c53e7
GM
20102 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20103
9d0da923
JB
201042011-03-22 Juanma Barranquero <lekktu@gmail.com>
20105
20106 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20107 keymap variable in `with-no-warnings' to avoid a warning when the
20108 keymap has been already `defconst'ed.
20109
4b978a67
LL
201102011-03-22 Leo Liu <sdl.web@gmail.com>
20111
20112 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20113 encode all chars in abbrevs; otherwise use emacs-mule or
20114 utf-8-emacs. (Bug#8308)
20115
5fd62452
JB
201162011-03-22 Juanma Barranquero <lekktu@gmail.com>
20117
0b1596c6
JB
20118 * simple.el (backward-delete-char-untabify):
20119 Avoid warning about using `delete-backward-char'.
20120
5fd62452
JB
20121 * image.el (image-type-file-name-regexps): Make it variable.
20122 `imagemagick-register-types' modifies it, and the user may want
20123 to add new extensions for known image types.
20124 (imagemagick-register-types): Throw error if not using ImageMagick.
20125
0b4e93f1
LL
201262011-03-22 Leo Liu <sdl.web@gmail.com>
20127
20128 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20129 located before rcirc-prompt-end-marker.
20130 (rcirc-complete): Error if point is not after rcirc prompt.
20131 Handle the case when table is nil.
9882e214 20132 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20133
fccee4ab
CY
201342011-03-22 Chong Yidong <cyd@stupidchicken.com>
20135
20136 * custom.el (custom--inhibit-theme-enable): Make it affect only
20137 custom-theme-set-variables and custom-theme-set-faces.
20138 (provide-theme): Ignore custom--inhibit-theme-enable.
20139 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20140 (custom-enabling-themes): Delete variable.
d86d2721
SM
20141 (enable-theme): Accept only loaded themes as arguments.
20142 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20143 (custom-enabled-themes): Forbid themes from setting this.
20144 Eliminate use of custom-enabling-themes.
20145 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20146
af896da6
LL
201472011-03-21 Leo Liu <sdl.web@gmail.com>
20148
20149 * ido.el (ido-read-internal): Add ido-selected to history instead
20150 of user input.
20151
78f64af0
SM
201522011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20153
20154 * subr.el (deferred-action-list, deferred-action-function):
20155 Mark obsolete.
20156
b16ac1ec
LL
201572011-03-21 Leo Liu <sdl.web@gmail.com>
20158
810f7698
LL
20159 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20160 change on 2011-02-13 (bug#8309).
20161
b16ac1ec
LL
20162 * minibuffer.el (read-file-name-function): Change default value.
20163 (read-file-name--defaults): Rename from read-file-name-defaults.
20164 (read-file-name-default): Rename from read-file-name.
20165 (read-file-name): Call read-file-name-function.
20166
4e05e67e
GM
201672011-03-21 Glenn Morris <rgm@gnu.org>
20168
20169 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20170 Doc fixes.
20171
4359915b
CY
201722011-03-21 Chong Yidong <cyd@stupidchicken.com>
20173
20174 * cus-theme.el: Add missing provide statement.
20175 (customize-create-theme): Extract theme value correctly.
20176 (custom-theme-visit-theme): Autoload.
20177 (customize-create-theme): Prompt before inserting default faces.
20178
1fe275ee
JB
201792011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20180
20181 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20182 units and musical notes.
20183
cd394be1 201842011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20185
20186 * ido.el (ido-read-internal): Use completing-read-default.
20187 (ido-completing-read): Fix compatibility with completing-read.
20188
7d476bde
CO
201892011-03-20 Christian Ohler <ohler@gnu.org>
20190
20191 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20192 (ert-delete-all-tests): Use `called-interactively-p' rather than
20193 `interactive-p'.
20194 (ert--make-xrefs-region): Respect END.
20195
fe0fb33e
CY
201962011-03-19 Chong Yidong <cyd@stupidchicken.com>
20197
ff854b0b
CY
20198 * dired-aux.el (dired-create-directory): Signal an error if the
20199 directory already exists (Bug#8246).
20200
fe0fb33e
CY
20201 * facemenu.el (list-colors-display): Call list-faces-display
20202 inside with-help-window.
20203 (list-colors-print): Use display property to align the final
20204 column, instead of checking window-width.
20205
576bce32
EZ
202062011-03-19 Eli Zaretskii <eliz@gnu.org>
20207
4d61f28d 20208 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20209 windows-nt systems.
20210 (emerge-protect-metachars): Quote correctly for ms-dos and
20211 windows-nt systems.
20212
89c41d68 202132011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20214
20215 * info.el (info-initialize): Replace all uses of `:' with
20216 path-separator for compatibility with non-Unix systems.
20217 Cache quoting of path-separator. (Bug#8258)
20218
b14e3e21 202192011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20220
20221 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20222 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20223 (mouse-avoidance-mode): Fix typos in docstrings.
20224
4525ce3e
CY
202252011-03-19 Chong Yidong <cyd@stupidchicken.com>
20226
20227 * startup.el (package-subdirectory-regexp): Move from package.el.
20228 Omit \\` and \\', and let callers add them.
20229
20230 * emacs-lisp/package.el (package-strip-version)
20231 (package-load-all-descriptors): Add \\` and \\' to
20232 package-subdirectory-regexp before using it.
20233 (package-untar-buffer): New arg DIR; ensure that file untars only
20234 into this expected directory. Remove superfluous delete-region.
20235 (package-unpack): Caller changed.
20236 (package-tar-file-info): Use package-subdirectory-regexp.
20237
a904a09a 202382011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20239
a904a09a
SM
20240 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20241 diff-mode-shared-map (bug#8284).
20242 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20243
202442011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20245
20246 * calendar/time-date.el (format-seconds): Use assoc instead of
20247 assoc-string, since assoc-string doesn't exist in XEmacs.
20248
171fc304
JB
202492011-03-17 Juanma Barranquero <lekktu@gmail.com>
20250
20251 * custom.el (custom-known-themes): Reflow docstring.
20252 (custom-theme-load-path): Fix typo in docstring.
20253 (load-theme): Fix typo in error message.
20254 (custom-available-themes, custom-variable-theme-value):
20255 Use `let', not `let*'.
20256
d71990a1
JB
202572011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20258
20259 * calc/README: Mention inclusion of musical notes.
20260
20261 * calc/calc-units.el (calc-lu-quant): Rename from
20262 `calc-logunits-quantity'.
20263 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20264 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20265 (calc-db): Rename from `calc-dblevel'.
20266 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20267 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20268 (calc-np): Rename from `calc-nplevel'.
20269 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20270 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20271 (calc-lu-plus): Rename from `calc-logunits-add'.
20272 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20273 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20274 (calc-lu-minus): Rename from `calc-logunits-sub'.
20275 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20276 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20277 (calc-lu-times): Rename from `calc-logunits-mul'.
20278 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20279 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20280 (calc-lu-divide): Rename from `calc-logunits-div'.
20281 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20282 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20283
20284 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20285 functions being autoloaded.
20286
20287 * calc/calc.el (calc-lu-power-reference): Rename from
20288 `calc-logunits-power-reference'.
20289 (calc-lu-field-reference): Rename from
20290 `calc-logunits-field-reference'.
20291
7a71b18d
GM
20292 * calc/calc-help.el (calc-l-prefix-help):
20293 Mention musical note functions.
d71990a1 20294
40c2934b
SM
202952011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20296
20297 * minibuffer.el (completion-all-sorted-completions):
20298 Use :completion-cycle-penalty text property if present.
20299
b0911414
KM
203002011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20301
20302 * allout.el (allout-yank-processing): Adjust for new rebulleting
20303 regime so bullet being yanked is used without prompting the user
20304 for a choice.
20305
8a05b668
JB
203062011-03-16 Juanma Barranquero <lekktu@gmail.com>
20307
20308 * startup.el (command-line): Warn the user that _emacs is deprecated.
20309
5ba5fb81
JB
203102011-03-16 Juanma Barranquero <lekktu@gmail.com>
20311
20312 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20313 (delphi-verbose, delphi-comment-face, delphi-string-face)
20314 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20315 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20316 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20317 (delphi-new-comment-line, delphi-font-lock-defaults)
20318 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20319 Fix typos in docstrings.
20320
2dab465b
KM
203212011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20322
5ba5fb81 20323 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20324 Invert the roles of character and string values for INSTEAD, so a
20325 string is used for the more common case of a defaulting prompt.
20326
0adf5618
SM
203272011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20328
20329 * progmodes/ruby-mode.el (ruby-backward-sexp):
20330 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20331 * play/gamegrid.el (gamegrid-make-face):
20332 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20333 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20334 * notifications.el (notifications-notify):
20335 * net/xesam.el (xesam-search-engines):
20336 * net/quickurl.el (quickurl-list-insert):
20337 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20338
d72700e5
CY
203392011-03-15 Chong Yidong <cyd@stupidchicken.com>
20340
20341 * startup.el (command-line): Update package subdirectory regexp.
20342
49c5410a
SM
203432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20344
c6eee9aa
SM
20345 * allout.el (allout-abbreviate-flattened-numbering)
20346 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20347
49c5410a
SM
20348 * subr.el (read-char-choice): Only show the cursor after the prompt,
20349 not after the answer.
20350
047b2bb9
KR
203512011-03-15 Kevin Ryde <user42@zip.com.au>
20352
20353 * help-fns.el (variable-at-point): Skip leading quotes, if any
20354 (bug#8253).
20355
0a57d256
SM
203562011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20357
20358 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20359 warning message.
20360
77c992bc
MA
203612011-03-14 Michael Albinus <michael.albinus@gmx.de>
20362
20363 * shell.el (shell): When called interactively, offer to change the
20364 shell file name on remote hosts.
20365
eebc475d
TZ
203662011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20367
20368 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20369 integration for LDAP parameters. The host, base, user or binddn,
20370 and secret tokens can be specified in a netrc file, for instance.
20371 This is optional because an `auth-source' parameter must be
20372 specified in the search attributes.
20373
9d05d1ba
JB
203742011-03-13 Juanma Barranquero <lekktu@gmail.com>
20375
20376 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20377
09d9db2c
GM
203782011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20379
20380 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20381 into declaration. Remove redundant and harmful binding.
20382
203832011-03-12 Eli Zaretskii <eliz@gnu.org>
20384
20385 * files.el (file-ownership-preserved-p): Pass `integer' as an
20386 explicit 2nd argument to `file-attributes'. If the file's owner
20387 is the Administrators group on Windows, and the current user is
20388 Administrator, consider that a match.
20389
20390 * server.el (server-ensure-safe-dir): Consider server directory
20391 safe on MS-Windows if its owner is the Administrators group while
20392 the current Emacs user is Administrator. Use `=' to compare
20393 numerical UIDs, since they could be integers or floats.
20394
219bd536
JB
203952011-03-12 Juanma Barranquero <lekktu@gmail.com>
20396
20397 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20398
f3afd36b
MA
203992011-03-12 Michael Albinus <michael.albinus@gmx.de>
20400
20401 Sync with Tramp 2.2.1.
20402
20403 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20404
20405 * net/trampver.el: Update release number.
20406
3aaaa6f1
SM
204072011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20408
94642599
SM
20409 * progmodes/compile.el (compilation--previous-directory): Fix up
20410 various nil/dead-marker mismatches (bug#8014).
20411 (compilation-directory-properties, compilation-error-properties):
20412 Don't call it at a position past the one we're about to change.
20413
3aaaa6f1
SM
20414 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20415 Disable obsolescence warnings in the file that declares it.
20416
14239447
KM
204172011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20418
099c39a4
JB
20419 * allout-widgets.el (allout-widgets-tally):
20420 Initialize allout-widgets-tally as a hash table rather than nil to
20421 prevent mode-line redisplay warnings. Also, clarify the module
20422 description and fix a comment typo.
14239447 20423
135e287c
JB
204242011-03-11 Juanma Barranquero <lekktu@gmail.com>
20425
20426 * help-fns.el (describe-variable): Don't complete keywords.
20427 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20428
ffbf300e
CY
204292011-03-10 Chong Yidong <cyd@stupidchicken.com>
20430
ba08b241
CY
20431 * emacs-lisp/package.el (package-version-join): Impose a standard
20432 string representation for pre/alpha/beta version lists.
20433 (package-unpack-single): Standardize the directory name by passing
20434 it through package-version-join.
20435 (package-strip-rcs-id): Accept any version string that does not
20436 signal an error in version-to-list.
ffbf300e 20437
f346fd6b
MA
204382011-03-10 Michael Albinus <michael.albinus@gmx.de>
20439
20440 * simple.el (delete-trailing-whitespace): Return nil for the
20441 benefit of `write-file-functions'.
20442
ccb55d27
GM
204432011-03-10 Glenn Morris <rgm@gnu.org>
20444
5ceaac0c
GM
20445 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20446
02da65ff
GM
20447 * vc/vc-git.el (vc-git-program): New option.
20448 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20449 (vc-git--call): Use it.
20450
b2f603cc
GM
20451 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20452
5772caab
GM
20453 * cus-edit.el (Custom-newline): If no button at point, look
20454 for a subgroup button at start-of-line. (Bug#2298)
20455
ccb55d27
GM
20456 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20457
ec6ecaed
JD
204582011-03-10 Julien Danjou <julien@danjou.info>
20459
20460 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20461 `cursor-type' is nil.
20462
9d5aa01d
JB
204632011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20464
20465 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20466
b6a5875b
KM
204672011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20468
7a71b18d 20469 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20470 preserves the existing header prefix, rebulleting it if necessary,
20471 rather than replacing it. This is necessary for proper operation
20472 of cooperative addons like allout-widgets.
1154d12e
JB
20473 (allout-make-topic-prefix, allout-rebullet-heading):
20474 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20475 value as alternate bullet to be used, instead of prompting the user
20476 for a bullet character.
b6a5875b 20477
ee545c35
MA
204782011-03-09 Michael Albinus <michael.albinus@gmx.de>
20479
d86d2721
SM
20480 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20481 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20482 `tramp-default-port'.
20483
c47971d7
DD
204842011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20485
20486 * net/rcirc.el (rcirc-handler-001): Remove useless
20487 with-rcirc-process-buffer.
20488 (rcirc-check-auth-status): Swap arguments to string-match.
20489
13522cb4
GM
204902011-03-09 Glenn Morris <rgm@gnu.org>
20491
0be6f4f1
GM
20492 * shell.el (shell-mode):
20493 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20494
13522cb4
GM
20495 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20496 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20497
515de2e3
CY
204982011-03-08 Chong Yidong <cyd@stupidchicken.com>
20499
20500 * emacs-lisp/package.el (package-refresh-contents)
20501 (package-menu-execute): Use condition-case-no-debug.
20502
b511b994
MA
205032011-03-08 Michael Albinus <michael.albinus@gmx.de>
20504
20505 * simple.el (shell-command-to-string): Use `process-file'.
20506
20507 * emacs-lisp/package.el (package-tar-file-info): Handle also
20508 remote files.
20509
d86d2721
SM
20510 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20511 Use `equal' for upload base check.
b511b994 20512
25bbfb31
AM
205132011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20514
20515 * textmodes/texinfo.el (texinfo-environments):
20516 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20517
be996521
GM
205182011-03-08 Glenn Morris <rgm@gnu.org>
20519
e9c8529f
GM
20520 * cus-start.el (cursor-in-non-selected-windows):
20521 Fix :set quoting oddness. (Bug#8192)
20522
be996521
GM
20523 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20524 in some setf expressions. (Bug#2159)
20525
2bb5649e
CY
205262011-03-08 Chong Yidong <cyd@stupidchicken.com>
20527
20528 * custom.el (custom-available-themes): Return themes in
20529 alphabetical order.
20530
33383987 20531See ChangeLog.15 for earlier changes.
e3d51b27
MR
20532
20533;; Local Variables:
20534;; coding: utf-8
e3d51b27
MR
20535;; End:
20536
acaf905b 20537 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20538
20539 This file is part of GNU Emacs.
20540
20541 GNU Emacs is free software: you can redistribute it and/or modify
20542 it under the terms of the GNU General Public License as published by
20543 the Free Software Foundation, either version 3 of the License, or
20544 (at your option) any later version.
20545
20546 GNU Emacs is distributed in the hope that it will be useful,
20547 but WITHOUT ANY WARRANTY; without even the implied warranty of
20548 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20549 GNU General Public License for more details.
20550
20551 You should have received a copy of the GNU General Public License
20552 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.